@srimandir/astro-consultation 1.2.3 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/astro-consultation.js +512 -490
- package/dist/astro-consultation.js.map +1 -1
- package/dist/astro-consultation.umd.cjs +1 -1
- package/dist/astro-consultation.umd.cjs.map +1 -1
- package/dist/components/ConsultationSlotSheet/ConsultationSlotSheet.d.ts +22 -3
- package/dist/components/UnscheduledAstrologerList/UnscheduledAstrologerList.d.ts +10 -0
- package/dist/style.css +1 -1
- package/package.json +4 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as e, jsxs as t, Fragment as
|
|
2
|
-
import { useEffect as
|
|
3
|
-
import { BottomSheet as
|
|
4
|
-
import { ConsultationSlotSelector as
|
|
5
|
-
const
|
|
1
|
+
import { jsx as e, jsxs as t, Fragment as z } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect as X } from "react";
|
|
3
|
+
import { BottomSheet as e1 } from "@srimandir/common";
|
|
4
|
+
import { ConsultationSlotSelector as t1, AstrologerList as a1 } from "@srimandir/astrology-common";
|
|
5
|
+
const o1 = (a) => {
|
|
6
6
|
switch (a?.toUpperCase()) {
|
|
7
7
|
case "INR":
|
|
8
8
|
return "₹";
|
|
@@ -11,9 +11,9 @@ const O = (a) => {
|
|
|
11
11
|
default:
|
|
12
12
|
return "$";
|
|
13
13
|
}
|
|
14
|
-
},
|
|
14
|
+
}, n1 = ({
|
|
15
15
|
size: a = 14,
|
|
16
|
-
className:
|
|
16
|
+
className: n
|
|
17
17
|
}) => /* @__PURE__ */ e(
|
|
18
18
|
"svg",
|
|
19
19
|
{
|
|
@@ -23,7 +23,7 @@ const O = (a) => {
|
|
|
23
23
|
fill: "none",
|
|
24
24
|
"aria-hidden": "true",
|
|
25
25
|
focusable: "false",
|
|
26
|
-
className:
|
|
26
|
+
className: n,
|
|
27
27
|
children: /* @__PURE__ */ e(
|
|
28
28
|
"path",
|
|
29
29
|
{
|
|
@@ -35,82 +35,82 @@ const O = (a) => {
|
|
|
35
35
|
}
|
|
36
36
|
)
|
|
37
37
|
}
|
|
38
|
-
),
|
|
39
|
-
plate:
|
|
40
|
-
ribbon:
|
|
41
|
-
card:
|
|
42
|
-
topSection:
|
|
43
|
-
photoWrap:
|
|
44
|
-
photo:
|
|
45
|
-
photoFallback:
|
|
46
|
-
ratingBadge:
|
|
47
|
-
ratingStar:
|
|
48
|
-
details:
|
|
49
|
-
identity:
|
|
50
|
-
name:
|
|
51
|
-
experience:
|
|
52
|
-
languages:
|
|
53
|
-
tagsRow:
|
|
54
|
-
tag:
|
|
55
|
-
divider:
|
|
56
|
-
bottomSection:
|
|
57
|
-
priceArea:
|
|
58
|
-
discountRow:
|
|
59
|
-
mrp:
|
|
60
|
-
discount:
|
|
61
|
-
price:
|
|
62
|
-
actionArea:
|
|
63
|
-
ctaBtn:
|
|
64
|
-
},
|
|
38
|
+
), l1 = "_plate_1xb7t_9", i1 = "_ribbon_1xb7t_17", s1 = "_card_1xb7t_30", c1 = "_topSection_1xb7t_45", r1 = "_photoWrap_1xb7t_56", d1 = "_photo_1xb7t_56", C1 = "_photoFallback_1xb7t_73", h1 = "_ratingBadge_1xb7t_87", _1 = "_ratingStar_1xb7t_105", p1 = "_details_1xb7t_110", u1 = "_identity_1xb7t_118", m1 = "_name_1xb7t_125", g1 = "_experience_1xb7t_134", L1 = "_languages_1xb7t_142", v1 = "_tagsRow_1xb7t_153", b1 = "_tag_1xb7t_153", f1 = "_divider_1xb7t_174", k1 = "_bottomSection_1xb7t_183", N1 = "_priceArea_1xb7t_190", x1 = "_discountRow_1xb7t_197", w1 = "_mrp_1xb7t_203", S1 = "_discount_1xb7t_197", B1 = "_price_1xb7t_190", R1 = "_actionArea_1xb7t_227", y1 = "_ctaBtn_1xb7t_231", i = {
|
|
39
|
+
plate: l1,
|
|
40
|
+
ribbon: i1,
|
|
41
|
+
card: s1,
|
|
42
|
+
topSection: c1,
|
|
43
|
+
photoWrap: r1,
|
|
44
|
+
photo: d1,
|
|
45
|
+
photoFallback: C1,
|
|
46
|
+
ratingBadge: h1,
|
|
47
|
+
ratingStar: _1,
|
|
48
|
+
details: p1,
|
|
49
|
+
identity: u1,
|
|
50
|
+
name: m1,
|
|
51
|
+
experience: g1,
|
|
52
|
+
languages: L1,
|
|
53
|
+
tagsRow: v1,
|
|
54
|
+
tag: b1,
|
|
55
|
+
divider: f1,
|
|
56
|
+
bottomSection: k1,
|
|
57
|
+
priceArea: N1,
|
|
58
|
+
discountRow: x1,
|
|
59
|
+
mrp: w1,
|
|
60
|
+
discount: S1,
|
|
61
|
+
price: B1,
|
|
62
|
+
actionArea: R1,
|
|
63
|
+
ctaBtn: y1
|
|
64
|
+
}, U = (...a) => a.filter(Boolean).join(" "), $1 = (a) => a.toFixed(1), q7 = ({
|
|
65
65
|
astrologer: a,
|
|
66
|
-
pricing:
|
|
67
|
-
currencySymbol:
|
|
68
|
-
onSelectSlot:
|
|
66
|
+
pricing: n,
|
|
67
|
+
currencySymbol: g,
|
|
68
|
+
onSelectSlot: L,
|
|
69
69
|
disabled: c = !1,
|
|
70
70
|
ctaLabel: u,
|
|
71
|
-
t:
|
|
72
|
-
className:
|
|
73
|
-
innerRef:
|
|
71
|
+
t: p,
|
|
72
|
+
className: m = "",
|
|
73
|
+
innerRef: h
|
|
74
74
|
}) => {
|
|
75
75
|
const {
|
|
76
|
-
name:
|
|
77
|
-
photoUrl:
|
|
78
|
-
languages:
|
|
79
|
-
specialties:
|
|
80
|
-
experienceYears:
|
|
81
|
-
rating:
|
|
76
|
+
name: b,
|
|
77
|
+
photoUrl: r,
|
|
78
|
+
languages: _,
|
|
79
|
+
specialties: N,
|
|
80
|
+
experienceYears: v,
|
|
81
|
+
rating: l,
|
|
82
82
|
isPreviouslyConsulted: k = !1
|
|
83
|
-
} = a,
|
|
83
|
+
} = a, B = g ?? o1(n?.currencyCode), q = typeof l == "number" && l > 0, R = typeof v == "number" && v > 0, y = _?.length ? _.join(", ") : "", $ = N?.filter(Boolean) ?? [], S = /* @__PURE__ */ t(z, { children: [
|
|
84
84
|
/* @__PURE__ */ t("div", { className: i.topSection, children: [
|
|
85
85
|
/* @__PURE__ */ t("div", { className: i.photoWrap, children: [
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
/* @__PURE__ */ e(
|
|
86
|
+
r ? /* @__PURE__ */ e("img", { className: i.photo, src: r, alt: b, loading: "lazy" }) : /* @__PURE__ */ e("div", { className: i.photoFallback, "aria-hidden": "true", children: b?.trim().charAt(0).toUpperCase() || "?" }),
|
|
87
|
+
q && /* @__PURE__ */ t("span", { className: i.ratingBadge, children: [
|
|
88
|
+
$1(l),
|
|
89
|
+
/* @__PURE__ */ e(n1, { className: i.ratingStar })
|
|
90
90
|
] })
|
|
91
91
|
] }),
|
|
92
92
|
/* @__PURE__ */ t("div", { className: i.details, children: [
|
|
93
93
|
/* @__PURE__ */ t("div", { className: i.identity, children: [
|
|
94
|
-
/* @__PURE__ */ e("p", { className: i.name, children:
|
|
95
|
-
|
|
94
|
+
/* @__PURE__ */ e("p", { className: i.name, children: b }),
|
|
95
|
+
R && /* @__PURE__ */ e("p", { className: i.experience, children: p?.("consultationYearsOfExperience", { count: v }) ?? `${v}+ years of experience` }),
|
|
96
96
|
y && /* @__PURE__ */ e("p", { className: i.languages, children: y })
|
|
97
97
|
] }),
|
|
98
|
-
$.length > 0 && /* @__PURE__ */ e("div", { className: i.tagsRow, children: $.map((
|
|
98
|
+
$.length > 0 && /* @__PURE__ */ e("div", { className: i.tagsRow, children: $.map((M) => /* @__PURE__ */ e("span", { className: i.tag, children: M }, M)) })
|
|
99
99
|
] })
|
|
100
100
|
] }),
|
|
101
101
|
/* @__PURE__ */ e("hr", { className: i.divider }),
|
|
102
102
|
/* @__PURE__ */ t("div", { className: i.bottomSection, children: [
|
|
103
|
-
|
|
104
|
-
(
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
103
|
+
n && /* @__PURE__ */ t("div", { className: i.priceArea, children: [
|
|
104
|
+
(n.mrp != null || n.discountPercent != null) && /* @__PURE__ */ t("div", { className: i.discountRow, children: [
|
|
105
|
+
n.mrp != null && /* @__PURE__ */ t("span", { className: i.mrp, children: [
|
|
106
|
+
B,
|
|
107
|
+
n.mrp
|
|
108
108
|
] }),
|
|
109
|
-
|
|
109
|
+
n.discountPercent != null && /* @__PURE__ */ e("span", { className: i.discount, children: p?.("consultationPercentOff", { percent: n.discountPercent }) ?? `${n.discountPercent}% Off` })
|
|
110
110
|
] }),
|
|
111
111
|
/* @__PURE__ */ t("span", { className: i.price, children: [
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
B,
|
|
113
|
+
n.price
|
|
114
114
|
] })
|
|
115
115
|
] }),
|
|
116
116
|
/* @__PURE__ */ e("div", { className: i.actionArea, children: /* @__PURE__ */ e(
|
|
@@ -119,17 +119,17 @@ const O = (a) => {
|
|
|
119
119
|
type: "button",
|
|
120
120
|
className: i.ctaBtn,
|
|
121
121
|
disabled: c,
|
|
122
|
-
onClick: () =>
|
|
123
|
-
children: u ??
|
|
122
|
+
onClick: () => L?.(a),
|
|
123
|
+
children: u ?? p?.("consultationSelectSlot") ?? "Select Slot"
|
|
124
124
|
}
|
|
125
125
|
) })
|
|
126
126
|
] })
|
|
127
127
|
] });
|
|
128
|
-
return k ? /* @__PURE__ */ t("div", { ref:
|
|
129
|
-
/* @__PURE__ */ e("div", { className: i.card, children:
|
|
130
|
-
/* @__PURE__ */ e("div", { className: i.ribbon, children:
|
|
131
|
-
] }) : /* @__PURE__ */ e("div", { ref:
|
|
132
|
-
},
|
|
128
|
+
return k ? /* @__PURE__ */ t("div", { ref: h, className: U(i.plate, m), children: [
|
|
129
|
+
/* @__PURE__ */ e("div", { className: i.card, children: S }),
|
|
130
|
+
/* @__PURE__ */ e("div", { className: i.ribbon, children: p?.("consultationPreviouslyConsulted") ?? "Previously Consulted" })
|
|
131
|
+
] }) : /* @__PURE__ */ e("div", { ref: h, className: U(i.card, m), children: S });
|
|
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" }),
|
|
@@ -154,24 +154,24 @@ const O = (a) => {
|
|
|
154
154
|
}
|
|
155
155
|
),
|
|
156
156
|
/* @__PURE__ */ e("path", { d: "M13.5184 9.1166H10.0042V4.802", stroke: "#D93640", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
157
|
-
] }),
|
|
158
|
-
root:
|
|
159
|
-
badge:
|
|
160
|
-
message:
|
|
161
|
-
},
|
|
157
|
+
] }), q1 = "_root_snrbj_6", I1 = "_badge_snrbj_15", T1 = "_message_snrbj_26", j = {
|
|
158
|
+
root: q1,
|
|
159
|
+
badge: I1,
|
|
160
|
+
message: T1
|
|
161
|
+
}, Z1 = (...a) => a.filter(Boolean).join(" "), F1 = ({
|
|
162
162
|
message: a,
|
|
163
|
-
t:
|
|
164
|
-
className:
|
|
165
|
-
}) => /* @__PURE__ */ t("div", { className:
|
|
166
|
-
/* @__PURE__ */ e("span", { className:
|
|
167
|
-
/* @__PURE__ */ e("p", { className:
|
|
168
|
-
] }),
|
|
163
|
+
t: n,
|
|
164
|
+
className: g = ""
|
|
165
|
+
}) => /* @__PURE__ */ t("div", { className: Z1(j.root, g), role: "alert", children: [
|
|
166
|
+
/* @__PURE__ */ e("span", { className: j.badge, children: /* @__PURE__ */ e(M1, {}) }),
|
|
167
|
+
/* @__PURE__ */ e("p", { className: j.message, children: a ?? n?.("consultationSlotUnavailable") ?? "यह समय स्लॉट अब उपलब्ध नहीं है, कृपया कोई अन्य स्लॉट चुनें" })
|
|
168
|
+
] }), j1 = () => /* @__PURE__ */ e("svg", { width: "12", height: "12", viewBox: "0 0 9.38 8.94", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
169
169
|
"path",
|
|
170
170
|
{
|
|
171
171
|
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",
|
|
172
172
|
fill: "#FFC627"
|
|
173
173
|
}
|
|
174
|
-
) }),
|
|
174
|
+
) }), A1 = () => /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 23.9 23.9", fill: "none", "aria-hidden": "true", children: [
|
|
175
175
|
/* @__PURE__ */ e("circle", { cx: "11.6667", cy: "11.6667", r: "5.83333", fill: "white" }),
|
|
176
176
|
/* @__PURE__ */ e(
|
|
177
177
|
"path",
|
|
@@ -180,154 +180,174 @@ const O = (a) => {
|
|
|
180
180
|
fill: "#1A6EE5"
|
|
181
181
|
}
|
|
182
182
|
)
|
|
183
|
-
] }),
|
|
184
|
-
iconBadge:
|
|
185
|
-
header:
|
|
186
|
-
headerNoIcon:
|
|
187
|
-
title:
|
|
188
|
-
headerDivider:
|
|
189
|
-
bodyInner:
|
|
190
|
-
astrologerRow:
|
|
191
|
-
avatar:
|
|
192
|
-
avatarInner:
|
|
193
|
-
avatarFill:
|
|
194
|
-
photo:
|
|
195
|
-
photoFallback:
|
|
196
|
-
verifiedBadge:
|
|
197
|
-
astrologerMeta:
|
|
198
|
-
astrologerName:
|
|
199
|
-
astrologerSubRow:
|
|
200
|
-
rating:
|
|
201
|
-
metaDot:
|
|
202
|
-
experience:
|
|
203
|
-
languages:
|
|
204
|
-
phoneSection:
|
|
205
|
-
footerInner:
|
|
206
|
-
ctaBtn:
|
|
207
|
-
errorNotice:
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
183
|
+
] }), D1 = "_iconBadge_mbenq_15", P1 = "_header_mbenq_52", V1 = "_headerNoIcon_mbenq_59", W1 = "_title_mbenq_63", E1 = "_headerDivider_mbenq_71", H1 = "_bodyInner_mbenq_80", U1 = "_astrologerRow_mbenq_85", Y1 = "_avatar_mbenq_93", z1 = "_avatarInner_mbenq_93", O1 = "_avatarFill_mbenq_112", G1 = "_photo_mbenq_118", J1 = "_photoFallback_mbenq_126", K1 = "_verifiedBadge_mbenq_137", Q1 = "_astrologerMeta_mbenq_143", X1 = "_astrologerName_mbenq_151", e5 = "_astrologerSubRow_mbenq_162", t5 = "_rating_mbenq_168", a5 = "_metaDot_mbenq_178", o5 = "_experience_mbenq_186", n5 = "_languages_mbenq_193", l5 = "_phoneSection_mbenq_202", i5 = "_footerInner_mbenq_207", s5 = "_ctaBtn_mbenq_212", c5 = "_errorNotice_mbenq_235", r5 = "_inlineRoot_mbenq_240", d = {
|
|
184
|
+
iconBadge: D1,
|
|
185
|
+
header: P1,
|
|
186
|
+
headerNoIcon: V1,
|
|
187
|
+
title: W1,
|
|
188
|
+
headerDivider: E1,
|
|
189
|
+
bodyInner: H1,
|
|
190
|
+
astrologerRow: U1,
|
|
191
|
+
avatar: Y1,
|
|
192
|
+
avatarInner: z1,
|
|
193
|
+
avatarFill: O1,
|
|
194
|
+
photo: G1,
|
|
195
|
+
photoFallback: J1,
|
|
196
|
+
verifiedBadge: K1,
|
|
197
|
+
astrologerMeta: Q1,
|
|
198
|
+
astrologerName: X1,
|
|
199
|
+
astrologerSubRow: e5,
|
|
200
|
+
rating: t5,
|
|
201
|
+
metaDot: a5,
|
|
202
|
+
experience: o5,
|
|
203
|
+
languages: n5,
|
|
204
|
+
phoneSection: l5,
|
|
205
|
+
footerInner: i5,
|
|
206
|
+
ctaBtn: s5,
|
|
207
|
+
errorNotice: c5,
|
|
208
|
+
inlineRoot: r5
|
|
209
|
+
}, I7 = ({
|
|
210
|
+
isOpen: a = !0,
|
|
211
|
+
onClose: n = () => {
|
|
212
|
+
},
|
|
213
|
+
inline: g = !1,
|
|
214
|
+
hideHeader: L = !1,
|
|
215
|
+
days: c,
|
|
216
|
+
loading: u = !1,
|
|
217
|
+
error: p = !1,
|
|
218
|
+
onRetry: m,
|
|
219
|
+
selectedDate: h,
|
|
220
|
+
onDateSelect: b,
|
|
221
|
+
selectedPeriod: r,
|
|
222
|
+
onPeriodSelect: _,
|
|
223
|
+
selectedSlotStart: N,
|
|
224
|
+
onSlotSelect: v,
|
|
225
|
+
astrologer: l,
|
|
226
|
+
astrologers: k,
|
|
227
|
+
selectedAstrologerId: B,
|
|
228
|
+
onAstrologerSelect: q,
|
|
229
|
+
phoneNumberSection: R,
|
|
230
|
+
title: y,
|
|
231
|
+
heading: $,
|
|
225
232
|
iconUrl: S,
|
|
226
233
|
icon: M,
|
|
227
|
-
ctaLabel:
|
|
228
|
-
onCtaClick:
|
|
229
|
-
ctaDisabled:
|
|
230
|
-
isProcessing:
|
|
231
|
-
errorMessage:
|
|
232
|
-
isGlobal:
|
|
234
|
+
ctaLabel: G,
|
|
235
|
+
onCtaClick: J,
|
|
236
|
+
ctaDisabled: K = !1,
|
|
237
|
+
isProcessing: A = !1,
|
|
238
|
+
errorMessage: D,
|
|
239
|
+
isGlobal: Q = !0,
|
|
233
240
|
t: x,
|
|
234
|
-
className:
|
|
241
|
+
className: P = ""
|
|
235
242
|
}) => {
|
|
236
|
-
const
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
243
|
+
const I = M ?? (S ? /* @__PURE__ */ e("img", { src: S, alt: "" }) : null), V = y ?? x?.("consultationSheetTitle") ?? "Schedule your call", T = l?.languages?.length ? l.languages.join(", ") : "", Z = typeof l?.rating == "number" && l.rating > 0, F = typeof l?.experienceYears == "number", W = !L && /* @__PURE__ */ t(z, { children: [
|
|
244
|
+
I && /* @__PURE__ */ e("div", { className: d.iconBadge, children: I }),
|
|
245
|
+
/* @__PURE__ */ e(
|
|
246
|
+
"div",
|
|
247
|
+
{
|
|
248
|
+
className: [d.header, !I && d.headerNoIcon].filter(Boolean).join(" "),
|
|
249
|
+
children: /* @__PURE__ */ e("p", { className: d.title, children: V })
|
|
250
|
+
}
|
|
251
|
+
),
|
|
252
|
+
/* @__PURE__ */ e("hr", { className: d.headerDivider })
|
|
253
|
+
] }), E = /* @__PURE__ */ t("div", { className: d.footerInner, children: [
|
|
254
|
+
/* @__PURE__ */ e(
|
|
255
|
+
"button",
|
|
256
|
+
{
|
|
257
|
+
type: "button",
|
|
258
|
+
className: d.ctaBtn,
|
|
259
|
+
disabled: K || A,
|
|
260
|
+
onClick: J,
|
|
261
|
+
children: A ? x?.("consultationScheduling") ?? "Scheduling…" : G ?? x?.("consultationScheduleCall") ?? "Schedule call"
|
|
262
|
+
}
|
|
263
|
+
),
|
|
264
|
+
D && /* @__PURE__ */ e(
|
|
265
|
+
F1,
|
|
266
|
+
{
|
|
267
|
+
message: D,
|
|
268
|
+
t: x,
|
|
269
|
+
className: d.errorNotice
|
|
270
|
+
}
|
|
271
|
+
)
|
|
272
|
+
] }), H = /* @__PURE__ */ t("div", { className: d.bodyInner, children: [
|
|
273
|
+
l && /* @__PURE__ */ t("div", { className: d.astrologerRow, children: [
|
|
274
|
+
/* @__PURE__ */ t("div", { className: d.avatar, children: [
|
|
275
|
+
/* @__PURE__ */ t("div", { className: d.avatarInner, children: [
|
|
276
|
+
/* @__PURE__ */ e("div", { className: d.avatarFill }),
|
|
277
|
+
l.photoUrl ? /* @__PURE__ */ e(
|
|
278
|
+
"img",
|
|
279
|
+
{
|
|
280
|
+
className: d.photo,
|
|
281
|
+
src: l.photoUrl,
|
|
282
|
+
alt: l.name
|
|
283
|
+
}
|
|
284
|
+
) : /* @__PURE__ */ e("div", { className: d.photoFallback, "aria-hidden": "true", children: l.name?.trim().charAt(0).toUpperCase() || "?" })
|
|
285
|
+
] }),
|
|
286
|
+
/* @__PURE__ */ e("span", { className: d.verifiedBadge, children: /* @__PURE__ */ e(A1, {}) })
|
|
274
287
|
] }),
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
"img",
|
|
282
|
-
{
|
|
283
|
-
className: d.photo,
|
|
284
|
-
src: _.photoUrl,
|
|
285
|
-
alt: _.name
|
|
286
|
-
}
|
|
287
|
-
) : /* @__PURE__ */ e("div", { className: d.photoFallback, "aria-hidden": "true", children: _.name?.trim().charAt(0).toUpperCase() || "?" })
|
|
288
|
-
] }),
|
|
289
|
-
/* @__PURE__ */ e("span", { className: d.verifiedBadge, children: /* @__PURE__ */ e(y1, {}) })
|
|
288
|
+
/* @__PURE__ */ t("div", { className: d.astrologerMeta, children: [
|
|
289
|
+
/* @__PURE__ */ e("p", { className: d.astrologerName, children: l.name }),
|
|
290
|
+
(Z || F || T) && /* @__PURE__ */ t("div", { className: d.astrologerSubRow, children: [
|
|
291
|
+
Z && /* @__PURE__ */ t("span", { className: d.rating, children: [
|
|
292
|
+
l.rating.toFixed(1),
|
|
293
|
+
/* @__PURE__ */ e(j1, {})
|
|
290
294
|
] }),
|
|
291
|
-
/* @__PURE__ */
|
|
292
|
-
|
|
293
|
-
(F || D || Z) && /* @__PURE__ */ t("div", { className: d.astrologerSubRow, children: [
|
|
294
|
-
F && /* @__PURE__ */ t("span", { className: d.rating, children: [
|
|
295
|
-
_.rating.toFixed(1),
|
|
296
|
-
/* @__PURE__ */ e(R1, {})
|
|
297
|
-
] }),
|
|
298
|
-
F && D && /* @__PURE__ */ e("span", { className: d.metaDot }),
|
|
299
|
-
D && /* @__PURE__ */ e("span", { className: d.experience, children: x?.("consultationYearsExperience", { count: _.experienceYears }) ?? `${_.experienceYears} years of experience` })
|
|
300
|
-
] }),
|
|
301
|
-
Z && /* @__PURE__ */ e("p", { className: d.languages, children: Z })
|
|
302
|
-
] })
|
|
295
|
+
Z && F && /* @__PURE__ */ e("span", { className: d.metaDot }),
|
|
296
|
+
F && /* @__PURE__ */ e("span", { className: d.experience, children: x?.("consultationYearsExperience", { count: l.experienceYears }) ?? `${l.experienceYears} years of experience` })
|
|
303
297
|
] }),
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
298
|
+
T && /* @__PURE__ */ e("p", { className: d.languages, children: T })
|
|
299
|
+
] })
|
|
300
|
+
] }),
|
|
301
|
+
R && /* @__PURE__ */ e("div", { className: d.phoneSection, children: R }),
|
|
302
|
+
/* @__PURE__ */ e(
|
|
303
|
+
t1,
|
|
304
|
+
{
|
|
305
|
+
days: c,
|
|
306
|
+
loading: u,
|
|
307
|
+
error: p,
|
|
308
|
+
onRetry: m,
|
|
309
|
+
selectedDate: h,
|
|
310
|
+
onDateSelect: b,
|
|
311
|
+
selectedPeriod: r,
|
|
312
|
+
onPeriodSelect: _,
|
|
313
|
+
selectedSlotStart: N,
|
|
314
|
+
onSlotSelect: v,
|
|
315
|
+
heading: $ ?? x?.("consultationSelectTimeSlot") ?? "Select a time slot.",
|
|
316
|
+
showAstrologyProfilesSection: !!k,
|
|
317
|
+
astrologyProfilesSection: k ? /* @__PURE__ */ e(
|
|
318
|
+
a1,
|
|
307
319
|
{
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
onRetry: u,
|
|
312
|
-
selectedDate: r,
|
|
313
|
-
onDateSelect: p,
|
|
314
|
-
selectedPeriod: n,
|
|
315
|
-
onPeriodSelect: L,
|
|
316
|
-
selectedSlotStart: b,
|
|
317
|
-
onSlotSelect: h,
|
|
318
|
-
heading: k ?? x?.("consultationSelectTimeSlot") ?? "Select a time slot.",
|
|
319
|
-
showAstrologyProfilesSection: !1,
|
|
320
|
-
hideLanguageSelector: !0,
|
|
321
|
-
showPhoneNumberSection: !1,
|
|
322
|
-
reportReadyNote: null,
|
|
323
|
-
isGlobal: P,
|
|
320
|
+
astrologers: k,
|
|
321
|
+
selectedAstrologerId: B,
|
|
322
|
+
onAstrologerSelect: q,
|
|
324
323
|
t: x
|
|
325
324
|
}
|
|
326
|
-
)
|
|
327
|
-
|
|
325
|
+
) : void 0,
|
|
326
|
+
hideLanguageSelector: !0,
|
|
327
|
+
showPhoneNumberSection: !1,
|
|
328
|
+
reportReadyNote: null,
|
|
329
|
+
isGlobal: Q,
|
|
330
|
+
t: x
|
|
331
|
+
}
|
|
332
|
+
)
|
|
333
|
+
] });
|
|
334
|
+
return g ? /* @__PURE__ */ t("div", { className: [d.inlineRoot, P].filter(Boolean).join(" "), children: [
|
|
335
|
+
W,
|
|
336
|
+
H,
|
|
337
|
+
E
|
|
338
|
+
] }) : /* @__PURE__ */ e(
|
|
339
|
+
e1,
|
|
340
|
+
{
|
|
341
|
+
isOpen: a,
|
|
342
|
+
onClose: n,
|
|
343
|
+
ariaLabel: V,
|
|
344
|
+
className: P,
|
|
345
|
+
header: W,
|
|
346
|
+
footer: E,
|
|
347
|
+
children: H
|
|
328
348
|
}
|
|
329
349
|
);
|
|
330
|
-
},
|
|
350
|
+
}, d5 = () => /* @__PURE__ */ e("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
331
351
|
"path",
|
|
332
352
|
{
|
|
333
353
|
d: "M12.5 15.833 6.667 10 12.5 4.167",
|
|
@@ -336,7 +356,7 @@ const O = (a) => {
|
|
|
336
356
|
strokeLinecap: "round",
|
|
337
357
|
strokeLinejoin: "round"
|
|
338
358
|
}
|
|
339
|
-
) }),
|
|
359
|
+
) }), C5 = () => /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
340
360
|
"path",
|
|
341
361
|
{
|
|
342
362
|
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",
|
|
@@ -345,7 +365,7 @@ const O = (a) => {
|
|
|
345
365
|
strokeWidth: "1",
|
|
346
366
|
strokeLinejoin: "round"
|
|
347
367
|
}
|
|
348
|
-
) }),
|
|
368
|
+
) }), h5 = () => /* @__PURE__ */ t("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: [
|
|
349
369
|
/* @__PURE__ */ e(
|
|
350
370
|
"path",
|
|
351
371
|
{
|
|
@@ -373,7 +393,7 @@ const O = (a) => {
|
|
|
373
393
|
strokeLinecap: "round"
|
|
374
394
|
}
|
|
375
395
|
)
|
|
376
|
-
] }),
|
|
396
|
+
] }), _5 = () => /* @__PURE__ */ e("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
377
397
|
"path",
|
|
378
398
|
{
|
|
379
399
|
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",
|
|
@@ -382,104 +402,104 @@ const O = (a) => {
|
|
|
382
402
|
strokeLinecap: "round",
|
|
383
403
|
strokeLinejoin: "round"
|
|
384
404
|
}
|
|
385
|
-
) }),
|
|
386
|
-
root:
|
|
387
|
-
header:
|
|
388
|
-
backBtn:
|
|
389
|
-
headerTitle:
|
|
390
|
-
helpBtn:
|
|
391
|
-
hero:
|
|
392
|
-
tick:
|
|
393
|
-
heroTitle:
|
|
394
|
-
statRow:
|
|
395
|
-
stat:
|
|
396
|
-
statLabel:
|
|
397
|
-
statValue:
|
|
398
|
-
statDivider:
|
|
399
|
-
body:
|
|
400
|
-
section:
|
|
401
|
-
bookedHeading:
|
|
402
|
-
bookedTitle:
|
|
403
|
-
bookedSubtitle:
|
|
404
|
-
astrologerCard:
|
|
405
|
-
astrologerRow:
|
|
406
|
-
photo:
|
|
407
|
-
photoFallback:
|
|
408
|
-
astrologerMeta:
|
|
409
|
-
astrologerName:
|
|
410
|
-
astrologerSubRow:
|
|
411
|
-
languages:
|
|
412
|
-
metaDivider:
|
|
413
|
-
rating:
|
|
414
|
-
slotPill:
|
|
415
|
-
slotPillText:
|
|
416
|
-
failedCard:
|
|
417
|
-
failedTitle:
|
|
418
|
-
failedSubtitle:
|
|
419
|
-
ctaBtn:
|
|
420
|
-
footnote:
|
|
421
|
-
skeleton:
|
|
422
|
-
skeletonLine:
|
|
423
|
-
skeletonCta:
|
|
424
|
-
},
|
|
405
|
+
) }), p5 = "_root_io71q_3", u5 = "_header_io71q_14", m5 = "_backBtn_io71q_21", g5 = "_headerTitle_io71q_34", L5 = "_helpBtn_io71q_41", v5 = "_hero_io71q_58", b5 = "_tick_io71q_70", f5 = "_heroTitle_io71q_84", k5 = "_statRow_io71q_95", N5 = "_stat_io71q_95", x5 = "_statLabel_io71q_118", w5 = "_statValue_io71q_126", S5 = "_statDivider_io71q_137", B5 = "_body_io71q_145", R5 = "_section_io71q_149", y5 = "_bookedHeading_io71q_157", $5 = "_bookedTitle_io71q_165", M5 = "_bookedSubtitle_io71q_173", q5 = "_astrologerCard_io71q_180", I5 = "_astrologerRow_io71q_193", T5 = "_photo_io71q_199", Z5 = "_photoFallback_io71q_208", F5 = "_astrologerMeta_io71q_222", j5 = "_astrologerName_io71q_230", A5 = "_astrologerSubRow_io71q_239", D5 = "_languages_io71q_245", P5 = "_metaDivider_io71q_251", V5 = "_rating_io71q_257", W5 = "_slotPill_io71q_267", E5 = "_slotPillText_io71q_280", H5 = "_failedCard_io71q_289", U5 = "_failedTitle_io71q_302", Y5 = "_failedSubtitle_io71q_310", z5 = "_ctaBtn_io71q_318", O5 = "_footnote_io71q_345", G5 = "_skeleton_io71q_356", J5 = "_skeletonLine_io71q_363", K5 = "_skeletonCta_io71q_373", o = {
|
|
406
|
+
root: p5,
|
|
407
|
+
header: u5,
|
|
408
|
+
backBtn: m5,
|
|
409
|
+
headerTitle: g5,
|
|
410
|
+
helpBtn: L5,
|
|
411
|
+
hero: v5,
|
|
412
|
+
tick: b5,
|
|
413
|
+
heroTitle: f5,
|
|
414
|
+
statRow: k5,
|
|
415
|
+
stat: N5,
|
|
416
|
+
statLabel: x5,
|
|
417
|
+
statValue: w5,
|
|
418
|
+
statDivider: S5,
|
|
419
|
+
body: B5,
|
|
420
|
+
section: R5,
|
|
421
|
+
bookedHeading: y5,
|
|
422
|
+
bookedTitle: $5,
|
|
423
|
+
bookedSubtitle: M5,
|
|
424
|
+
astrologerCard: q5,
|
|
425
|
+
astrologerRow: I5,
|
|
426
|
+
photo: T5,
|
|
427
|
+
photoFallback: Z5,
|
|
428
|
+
astrologerMeta: F5,
|
|
429
|
+
astrologerName: j5,
|
|
430
|
+
astrologerSubRow: A5,
|
|
431
|
+
languages: D5,
|
|
432
|
+
metaDivider: P5,
|
|
433
|
+
rating: V5,
|
|
434
|
+
slotPill: W5,
|
|
435
|
+
slotPillText: E5,
|
|
436
|
+
failedCard: H5,
|
|
437
|
+
failedTitle: U5,
|
|
438
|
+
failedSubtitle: Y5,
|
|
439
|
+
ctaBtn: z5,
|
|
440
|
+
footnote: O5,
|
|
441
|
+
skeleton: G5,
|
|
442
|
+
skeletonLine: J5,
|
|
443
|
+
skeletonCta: K5
|
|
444
|
+
}, Q5 = (...a) => a.filter(Boolean).join(" "), T7 = ({
|
|
425
445
|
status: a,
|
|
426
|
-
amount:
|
|
427
|
-
currencySymbol:
|
|
428
|
-
bookingId:
|
|
446
|
+
amount: n,
|
|
447
|
+
currencySymbol: g = "₹",
|
|
448
|
+
bookingId: L,
|
|
429
449
|
astrologer: c,
|
|
430
450
|
slotLabel: u,
|
|
431
|
-
isLoading:
|
|
432
|
-
onBack:
|
|
433
|
-
onHelp:
|
|
434
|
-
onJoinCall:
|
|
435
|
-
onBookSlotAgain:
|
|
436
|
-
t:
|
|
437
|
-
className:
|
|
451
|
+
isLoading: p = !1,
|
|
452
|
+
onBack: m,
|
|
453
|
+
onHelp: h,
|
|
454
|
+
onJoinCall: b,
|
|
455
|
+
onBookSlotAgain: r,
|
|
456
|
+
t: _,
|
|
457
|
+
className: N = ""
|
|
438
458
|
}) => {
|
|
439
|
-
const
|
|
440
|
-
return /* @__PURE__ */ t("div", { className:
|
|
459
|
+
const v = a === "booked", l = c.languages?.length ? c.languages.join(", ") : "", k = typeof c.rating == "number" && c.rating > 0;
|
|
460
|
+
return /* @__PURE__ */ t("div", { className: Q5(o.root, N), "data-testid": "payment-result", children: [
|
|
441
461
|
/* @__PURE__ */ t("div", { className: o.header, children: [
|
|
442
|
-
|
|
462
|
+
m && /* @__PURE__ */ e(
|
|
443
463
|
"button",
|
|
444
464
|
{
|
|
445
465
|
type: "button",
|
|
446
466
|
className: o.backBtn,
|
|
447
|
-
onClick:
|
|
448
|
-
"aria-label":
|
|
449
|
-
children: /* @__PURE__ */ e(
|
|
467
|
+
onClick: m,
|
|
468
|
+
"aria-label": _?.("back") ?? "Back",
|
|
469
|
+
children: /* @__PURE__ */ e(d5, {})
|
|
450
470
|
}
|
|
451
471
|
),
|
|
452
|
-
/* @__PURE__ */ e("span", { className: o.headerTitle, children:
|
|
453
|
-
|
|
472
|
+
/* @__PURE__ */ e("span", { className: o.headerTitle, children: _?.("bookingConfirmationTitle") ?? "Booking Confirmation" }),
|
|
473
|
+
h && /* @__PURE__ */ e("button", { type: "button", className: o.helpBtn, onClick: h, children: _?.("help") ?? "Help" })
|
|
454
474
|
] }),
|
|
455
475
|
/* @__PURE__ */ t("div", { className: o.hero, children: [
|
|
456
476
|
/* @__PURE__ */ e("div", { className: o.tick, "aria-hidden": "true", children: "✓" }),
|
|
457
|
-
/* @__PURE__ */ e("p", { className: o.heroTitle, children:
|
|
477
|
+
/* @__PURE__ */ e("p", { className: o.heroTitle, children: _?.("paymentSuccessful") ?? "Payment Successful 🎉" }),
|
|
458
478
|
/* @__PURE__ */ t("div", { className: o.statRow, children: [
|
|
459
479
|
/* @__PURE__ */ t("div", { className: o.stat, children: [
|
|
460
|
-
/* @__PURE__ */ e("span", { className: o.statLabel, children:
|
|
480
|
+
/* @__PURE__ */ e("span", { className: o.statLabel, children: _?.("paid") ?? "Paid" }),
|
|
461
481
|
/* @__PURE__ */ t("span", { className: o.statValue, children: [
|
|
462
|
-
|
|
463
|
-
|
|
482
|
+
g,
|
|
483
|
+
n
|
|
464
484
|
] })
|
|
465
485
|
] }),
|
|
466
486
|
/* @__PURE__ */ e("div", { className: o.statDivider }),
|
|
467
487
|
/* @__PURE__ */ t("div", { className: o.stat, children: [
|
|
468
|
-
/* @__PURE__ */ e("span", { className: o.statLabel, children:
|
|
469
|
-
/* @__PURE__ */ e("span", { className: o.statValue, children:
|
|
488
|
+
/* @__PURE__ */ e("span", { className: o.statLabel, children: _?.("booking") ?? "Booking" }),
|
|
489
|
+
/* @__PURE__ */ e("span", { className: o.statValue, children: L || "-" })
|
|
470
490
|
] })
|
|
471
491
|
] })
|
|
472
492
|
] }),
|
|
473
493
|
/* @__PURE__ */ t("div", { className: o.body, children: [
|
|
474
|
-
|
|
494
|
+
p && /* @__PURE__ */ t("div", { className: o.skeleton, "aria-busy": "true", "aria-live": "polite", children: [
|
|
475
495
|
/* @__PURE__ */ e("div", { className: o.skeletonLine, style: { width: "60%" } }),
|
|
476
496
|
/* @__PURE__ */ e("div", { className: o.skeletonLine, style: { width: "85%" } }),
|
|
477
497
|
/* @__PURE__ */ e("div", { className: o.skeletonCta })
|
|
478
498
|
] }),
|
|
479
|
-
!
|
|
499
|
+
!p && v && /* @__PURE__ */ t("div", { className: o.section, children: [
|
|
480
500
|
/* @__PURE__ */ t("div", { className: o.bookedHeading, children: [
|
|
481
|
-
/* @__PURE__ */ e("p", { className: o.bookedTitle, children:
|
|
482
|
-
/* @__PURE__ */ e("p", { className: o.bookedSubtitle, children:
|
|
501
|
+
/* @__PURE__ */ e("p", { className: o.bookedTitle, children: _?.("consultationSlotBookedTitle") ?? "Consultation Slot Booked!" }),
|
|
502
|
+
/* @__PURE__ */ e("p", { className: o.bookedSubtitle, children: _?.("consultationSlotBookedSubtitle") ?? "Your 30 minutes call with our Certified Vedic Astrologer is booked" })
|
|
483
503
|
] }),
|
|
484
504
|
/* @__PURE__ */ t("div", { className: o.astrologerCard, children: [
|
|
485
505
|
/* @__PURE__ */ t("div", { className: o.astrologerRow, children: [
|
|
@@ -493,66 +513,66 @@ const O = (a) => {
|
|
|
493
513
|
) : /* @__PURE__ */ e("div", { className: o.photoFallback, "aria-hidden": "true", children: c.name?.trim().charAt(0).toUpperCase() || "?" }),
|
|
494
514
|
/* @__PURE__ */ t("div", { className: o.astrologerMeta, children: [
|
|
495
515
|
/* @__PURE__ */ e("p", { className: o.astrologerName, children: c.name }),
|
|
496
|
-
(
|
|
497
|
-
|
|
498
|
-
|
|
516
|
+
(l || k) && /* @__PURE__ */ t("div", { className: o.astrologerSubRow, children: [
|
|
517
|
+
l && /* @__PURE__ */ e("span", { className: o.languages, children: l }),
|
|
518
|
+
l && k && /* @__PURE__ */ e("span", { className: o.metaDivider }),
|
|
499
519
|
k && /* @__PURE__ */ t("span", { className: o.rating, children: [
|
|
500
520
|
c.rating.toFixed(1),
|
|
501
|
-
/* @__PURE__ */ e(
|
|
521
|
+
/* @__PURE__ */ e(C5, {})
|
|
502
522
|
] })
|
|
503
523
|
] })
|
|
504
524
|
] })
|
|
505
525
|
] }),
|
|
506
526
|
u && /* @__PURE__ */ t("div", { className: o.slotPill, children: [
|
|
507
|
-
/* @__PURE__ */ e(
|
|
527
|
+
/* @__PURE__ */ e(h5, {}),
|
|
508
528
|
/* @__PURE__ */ e("span", { className: o.slotPillText, children: u })
|
|
509
529
|
] })
|
|
510
530
|
] }),
|
|
511
|
-
|
|
531
|
+
b && /* @__PURE__ */ t(
|
|
512
532
|
"button",
|
|
513
533
|
{
|
|
514
534
|
type: "button",
|
|
515
535
|
className: o.ctaBtn,
|
|
516
|
-
onClick:
|
|
536
|
+
onClick: b,
|
|
517
537
|
children: [
|
|
518
|
-
/* @__PURE__ */ e(
|
|
519
|
-
|
|
538
|
+
/* @__PURE__ */ e(_5, {}),
|
|
539
|
+
_?.("joinCall") ?? "Join Call"
|
|
520
540
|
]
|
|
521
541
|
}
|
|
522
542
|
),
|
|
523
|
-
/* @__PURE__ */ e("p", { className: o.footnote, children:
|
|
543
|
+
/* @__PURE__ */ e("p", { className: o.footnote, children: _?.("consultationWhatsappUpdate") ?? "All updates will be sent to your WhatsApp" })
|
|
524
544
|
] }),
|
|
525
|
-
!
|
|
545
|
+
!p && !v && /* @__PURE__ */ t("div", { className: o.section, children: [
|
|
526
546
|
/* @__PURE__ */ t("div", { className: o.failedCard, children: [
|
|
527
|
-
/* @__PURE__ */ e("p", { className: o.failedTitle, children:
|
|
528
|
-
/* @__PURE__ */ e("p", { className: o.failedSubtitle, children:
|
|
547
|
+
/* @__PURE__ */ e("p", { className: o.failedTitle, children: _?.("consultationSlotFailedTitle") ?? "Consultation Slot Failed!" }),
|
|
548
|
+
/* @__PURE__ */ e("p", { className: o.failedSubtitle, children: _?.("consultationSlotFailedSubtitle") ?? "We ran into some problem while booking your slot. Please schedule your slot again" })
|
|
529
549
|
] }),
|
|
530
|
-
|
|
550
|
+
r && /* @__PURE__ */ e(
|
|
531
551
|
"button",
|
|
532
552
|
{
|
|
533
553
|
type: "button",
|
|
534
554
|
className: o.ctaBtn,
|
|
535
|
-
onClick:
|
|
536
|
-
children:
|
|
555
|
+
onClick: r,
|
|
556
|
+
children: _?.("consultationBookSlotAgain") ?? "Book slot again →"
|
|
537
557
|
}
|
|
538
558
|
),
|
|
539
|
-
/* @__PURE__ */ e("p", { className: o.footnote, children:
|
|
559
|
+
/* @__PURE__ */ e("p", { className: o.footnote, children: _?.("consultationWhatsappUpdate") ?? "All updates will be sent to your WhatsApp" })
|
|
540
560
|
] })
|
|
541
561
|
] })
|
|
542
562
|
] });
|
|
543
|
-
},
|
|
563
|
+
}, X5 = () => /* @__PURE__ */ e("svg", { width: "24", height: "24", viewBox: "0 0 20.5 20.5", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
544
564
|
"path",
|
|
545
565
|
{
|
|
546
566
|
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",
|
|
547
567
|
fill: "currentColor"
|
|
548
568
|
}
|
|
549
|
-
) }),
|
|
569
|
+
) }), e2 = () => /* @__PURE__ */ e("svg", { width: "12", height: "12", viewBox: "0 0 9.38 8.94", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
550
570
|
"path",
|
|
551
571
|
{
|
|
552
572
|
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",
|
|
553
573
|
fill: "#FFC627"
|
|
554
574
|
}
|
|
555
|
-
) }),
|
|
575
|
+
) }), t2 = () => /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 23.9 23.9", fill: "none", "aria-hidden": "true", children: [
|
|
556
576
|
/* @__PURE__ */ e("circle", { cx: "11.6667", cy: "11.6667", r: "5.83333", fill: "white" }),
|
|
557
577
|
/* @__PURE__ */ e(
|
|
558
578
|
"path",
|
|
@@ -561,47 +581,47 @@ const O = (a) => {
|
|
|
561
581
|
fill: "#1A6EE5"
|
|
562
582
|
}
|
|
563
583
|
)
|
|
564
|
-
] }),
|
|
565
|
-
card:
|
|
566
|
-
scheduleSection:
|
|
567
|
-
sectionLabel:
|
|
568
|
-
timeRow:
|
|
569
|
-
timeIcon:
|
|
570
|
-
timeText:
|
|
571
|
-
dateLabel:
|
|
572
|
-
timeRangeLabel:
|
|
573
|
-
astrologerSection:
|
|
574
|
-
astrologerRow:
|
|
575
|
-
avatar:
|
|
576
|
-
avatarInner:
|
|
577
|
-
avatarFill:
|
|
578
|
-
photo:
|
|
579
|
-
photoFallback:
|
|
580
|
-
verifiedBadge:
|
|
581
|
-
astrologerMeta:
|
|
582
|
-
astrologerName:
|
|
583
|
-
astrologerSubRow:
|
|
584
|
-
rating:
|
|
585
|
-
metaDot:
|
|
586
|
-
experience:
|
|
587
|
-
languages:
|
|
588
|
-
},
|
|
584
|
+
] }), a2 = "_card_k2n64_3", o2 = "_scheduleSection_k2n64_13", n2 = "_sectionLabel_k2n64_21", l2 = "_timeRow_k2n64_30", i2 = "_timeIcon_k2n64_36", s2 = "_timeText_k2n64_43", c2 = "_dateLabel_k2n64_51", r2 = "_timeRangeLabel_k2n64_60", d2 = "_astrologerSection_k2n64_69", C2 = "_astrologerRow_k2n64_76", h2 = "_avatar_k2n64_84", _2 = "_avatarInner_k2n64_84", p2 = "_avatarFill_k2n64_103", u2 = "_photo_k2n64_109", m2 = "_photoFallback_k2n64_117", g2 = "_verifiedBadge_k2n64_128", L2 = "_astrologerMeta_k2n64_134", v2 = "_astrologerName_k2n64_142", b2 = "_astrologerSubRow_k2n64_153", f2 = "_rating_k2n64_159", k2 = "_metaDot_k2n64_169", N2 = "_experience_k2n64_177", x2 = "_languages_k2n64_184", C = {
|
|
585
|
+
card: a2,
|
|
586
|
+
scheduleSection: o2,
|
|
587
|
+
sectionLabel: n2,
|
|
588
|
+
timeRow: l2,
|
|
589
|
+
timeIcon: i2,
|
|
590
|
+
timeText: s2,
|
|
591
|
+
dateLabel: c2,
|
|
592
|
+
timeRangeLabel: r2,
|
|
593
|
+
astrologerSection: d2,
|
|
594
|
+
astrologerRow: C2,
|
|
595
|
+
avatar: h2,
|
|
596
|
+
avatarInner: _2,
|
|
597
|
+
avatarFill: p2,
|
|
598
|
+
photo: u2,
|
|
599
|
+
photoFallback: m2,
|
|
600
|
+
verifiedBadge: g2,
|
|
601
|
+
astrologerMeta: L2,
|
|
602
|
+
astrologerName: v2,
|
|
603
|
+
astrologerSubRow: b2,
|
|
604
|
+
rating: f2,
|
|
605
|
+
metaDot: k2,
|
|
606
|
+
experience: N2,
|
|
607
|
+
languages: x2
|
|
608
|
+
}, w2 = (...a) => a.filter(Boolean).join(" "), O = ({
|
|
589
609
|
astrologer: a,
|
|
590
|
-
dateLabel:
|
|
591
|
-
timeRangeLabel:
|
|
592
|
-
astrologerFooter:
|
|
610
|
+
dateLabel: n,
|
|
611
|
+
timeRangeLabel: g,
|
|
612
|
+
astrologerFooter: L,
|
|
593
613
|
t: c,
|
|
594
614
|
className: u = ""
|
|
595
615
|
}) => {
|
|
596
|
-
const
|
|
597
|
-
return /* @__PURE__ */ t("div", { className:
|
|
616
|
+
const p = a.languages?.length ? a.languages.join(", ") : "", m = typeof a.rating == "number" && a.rating > 0, h = typeof a.experienceYears == "number";
|
|
617
|
+
return /* @__PURE__ */ t("div", { className: w2(C.card, u), children: [
|
|
598
618
|
/* @__PURE__ */ t("div", { className: C.scheduleSection, children: [
|
|
599
619
|
/* @__PURE__ */ e("p", { className: C.sectionLabel, children: c?.("consultationCallTimeLabel") ?? "Call time" }),
|
|
600
620
|
/* @__PURE__ */ t("div", { className: C.timeRow, children: [
|
|
601
|
-
/* @__PURE__ */ e("span", { className: C.timeIcon, children: /* @__PURE__ */ e(
|
|
621
|
+
/* @__PURE__ */ e("span", { className: C.timeIcon, children: /* @__PURE__ */ e(X5, {}) }),
|
|
602
622
|
/* @__PURE__ */ t("div", { className: C.timeText, children: [
|
|
603
|
-
/* @__PURE__ */ e("p", { className: C.dateLabel, children:
|
|
604
|
-
/* @__PURE__ */ e("p", { className: C.timeRangeLabel, children:
|
|
623
|
+
/* @__PURE__ */ e("p", { className: C.dateLabel, children: n }),
|
|
624
|
+
/* @__PURE__ */ e("p", { className: C.timeRangeLabel, children: g })
|
|
605
625
|
] })
|
|
606
626
|
] })
|
|
607
627
|
] }),
|
|
@@ -613,25 +633,25 @@ const O = (a) => {
|
|
|
613
633
|
/* @__PURE__ */ e("div", { className: C.avatarFill }),
|
|
614
634
|
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() || "?" })
|
|
615
635
|
] }),
|
|
616
|
-
/* @__PURE__ */ e("span", { className: C.verifiedBadge, children: /* @__PURE__ */ e(
|
|
636
|
+
/* @__PURE__ */ e("span", { className: C.verifiedBadge, children: /* @__PURE__ */ e(t2, {}) })
|
|
617
637
|
] }),
|
|
618
638
|
/* @__PURE__ */ t("div", { className: C.astrologerMeta, children: [
|
|
619
639
|
/* @__PURE__ */ e("p", { className: C.astrologerName, children: a.name }),
|
|
620
|
-
(
|
|
621
|
-
|
|
640
|
+
(m || h || p) && /* @__PURE__ */ t("div", { className: C.astrologerSubRow, children: [
|
|
641
|
+
m && /* @__PURE__ */ t("span", { className: C.rating, children: [
|
|
622
642
|
a.rating.toFixed(1),
|
|
623
|
-
/* @__PURE__ */ e(
|
|
643
|
+
/* @__PURE__ */ e(e2, {})
|
|
624
644
|
] }),
|
|
625
|
-
|
|
626
|
-
|
|
645
|
+
m && h && /* @__PURE__ */ e("span", { className: C.metaDot }),
|
|
646
|
+
h && /* @__PURE__ */ e("span", { className: C.experience, children: c?.("consultationYearsExperience", { count: a.experienceYears }) ?? `${a.experienceYears} years of experience` })
|
|
627
647
|
] }),
|
|
628
|
-
|
|
648
|
+
p && /* @__PURE__ */ e("p", { className: C.languages, children: p })
|
|
629
649
|
] })
|
|
630
650
|
] }),
|
|
631
|
-
|
|
651
|
+
L
|
|
632
652
|
] })
|
|
633
653
|
] });
|
|
634
|
-
},
|
|
654
|
+
}, S2 = () => /* @__PURE__ */ t("svg", { width: "204", height: "80.4", viewBox: "0 0 204 80.4", fill: "none", "aria-hidden": "true", children: [
|
|
635
655
|
/* @__PURE__ */ t("g", { clipPath: "url(#success-hero-clip-1)", children: [
|
|
636
656
|
/* @__PURE__ */ e(
|
|
637
657
|
"path",
|
|
@@ -751,7 +771,7 @@ const O = (a) => {
|
|
|
751
771
|
/* @__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)" }) }),
|
|
752
772
|
/* @__PURE__ */ e("clipPath", { id: "success-hero-clip-2", children: /* @__PURE__ */ e("rect", { width: "48", height: "48", fill: "white", transform: "translate(74.3086 18.4561)" }) })
|
|
753
773
|
] })
|
|
754
|
-
] }),
|
|
774
|
+
] }), B2 = () => /* @__PURE__ */ e("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
755
775
|
"path",
|
|
756
776
|
{
|
|
757
777
|
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",
|
|
@@ -759,63 +779,63 @@ const O = (a) => {
|
|
|
759
779
|
strokeWidth: "2",
|
|
760
780
|
strokeLinecap: "round"
|
|
761
781
|
}
|
|
762
|
-
) }),
|
|
763
|
-
backdrop:
|
|
764
|
-
root:
|
|
765
|
-
header:
|
|
766
|
-
title:
|
|
767
|
-
footer:
|
|
768
|
-
footerIcon:
|
|
769
|
-
footerText:
|
|
770
|
-
},
|
|
782
|
+
) }), R2 = "_backdrop_gppaz_2", y2 = "_root_gppaz_32", $2 = "_header_gppaz_48", M2 = "_title_gppaz_56", q2 = "_footer_gppaz_68", I2 = "_footerIcon_gppaz_75", T2 = "_footerText_gppaz_82", w = {
|
|
783
|
+
backdrop: R2,
|
|
784
|
+
root: y2,
|
|
785
|
+
header: $2,
|
|
786
|
+
title: M2,
|
|
787
|
+
footer: q2,
|
|
788
|
+
footerIcon: I2,
|
|
789
|
+
footerText: T2
|
|
790
|
+
}, Z2 = (...a) => a.filter(Boolean).join(" "), Z7 = ({
|
|
771
791
|
isOpen: a,
|
|
772
|
-
onClose:
|
|
773
|
-
astrologer:
|
|
774
|
-
dateLabel:
|
|
792
|
+
onClose: n,
|
|
793
|
+
astrologer: g,
|
|
794
|
+
dateLabel: L,
|
|
775
795
|
timeRangeLabel: c,
|
|
776
796
|
t: u,
|
|
777
|
-
className:
|
|
797
|
+
className: p = ""
|
|
778
798
|
}) => {
|
|
779
|
-
if (
|
|
799
|
+
if (X(() => {
|
|
780
800
|
if (!a) return;
|
|
781
|
-
const
|
|
782
|
-
|
|
801
|
+
const h = (b) => {
|
|
802
|
+
b.key === "Escape" && n();
|
|
783
803
|
};
|
|
784
|
-
return document.addEventListener("keydown",
|
|
785
|
-
document.removeEventListener("keydown",
|
|
804
|
+
return document.addEventListener("keydown", h), document.body.style.overflow = "hidden", () => {
|
|
805
|
+
document.removeEventListener("keydown", h), document.body.style.overflow = "";
|
|
786
806
|
};
|
|
787
|
-
}, [a,
|
|
788
|
-
const
|
|
807
|
+
}, [a, n]), !a) return null;
|
|
808
|
+
const m = u?.("consultationCallBookedTitle") ?? "Your call has been booked with our Vedic astrologer";
|
|
789
809
|
return /* @__PURE__ */ e(
|
|
790
810
|
"div",
|
|
791
811
|
{
|
|
792
812
|
className: w.backdrop,
|
|
793
|
-
onClick:
|
|
813
|
+
onClick: n,
|
|
794
814
|
role: "dialog",
|
|
795
815
|
"aria-modal": "true",
|
|
796
|
-
"aria-label":
|
|
797
|
-
children: /* @__PURE__ */ t("div", { className:
|
|
816
|
+
"aria-label": m,
|
|
817
|
+
children: /* @__PURE__ */ t("div", { className: Z2(w.root, p), onClick: (h) => h.stopPropagation(), children: [
|
|
798
818
|
/* @__PURE__ */ t("div", { className: w.header, children: [
|
|
799
|
-
/* @__PURE__ */ e(
|
|
800
|
-
/* @__PURE__ */ e("p", { className: w.title, children:
|
|
819
|
+
/* @__PURE__ */ e(S2, {}),
|
|
820
|
+
/* @__PURE__ */ e("p", { className: w.title, children: m })
|
|
801
821
|
] }),
|
|
802
822
|
/* @__PURE__ */ e(
|
|
803
|
-
|
|
823
|
+
O,
|
|
804
824
|
{
|
|
805
|
-
astrologer:
|
|
806
|
-
dateLabel:
|
|
825
|
+
astrologer: g,
|
|
826
|
+
dateLabel: L,
|
|
807
827
|
timeRangeLabel: c,
|
|
808
828
|
t: u
|
|
809
829
|
}
|
|
810
830
|
),
|
|
811
831
|
/* @__PURE__ */ t("div", { className: w.footer, children: [
|
|
812
|
-
/* @__PURE__ */ e("span", { className: w.footerIcon, children: /* @__PURE__ */ e(
|
|
832
|
+
/* @__PURE__ */ e("span", { className: w.footerIcon, children: /* @__PURE__ */ e(B2, {}) }),
|
|
813
833
|
/* @__PURE__ */ e("p", { className: w.footerText, children: u?.("consultationWhatsappUpdate") ?? "All updates will be sent to your WhatsApp" })
|
|
814
834
|
] })
|
|
815
835
|
] })
|
|
816
836
|
}
|
|
817
837
|
);
|
|
818
|
-
},
|
|
838
|
+
}, F2 = () => /* @__PURE__ */ t("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: [
|
|
819
839
|
/* @__PURE__ */ e("circle", { cx: "7", cy: "7", r: "7", fill: "#159169" }),
|
|
820
840
|
/* @__PURE__ */ e(
|
|
821
841
|
"path",
|
|
@@ -824,7 +844,7 @@ const O = (a) => {
|
|
|
824
844
|
fill: "white"
|
|
825
845
|
}
|
|
826
846
|
)
|
|
827
|
-
] }),
|
|
847
|
+
] }), j2 = () => /* @__PURE__ */ t("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: [
|
|
828
848
|
/* @__PURE__ */ e(
|
|
829
849
|
"path",
|
|
830
850
|
{
|
|
@@ -837,7 +857,7 @@ const O = (a) => {
|
|
|
837
857
|
}
|
|
838
858
|
),
|
|
839
859
|
/* @__PURE__ */ e("path", { d: "M7 14H9", stroke: "#22272B", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
840
|
-
] }),
|
|
860
|
+
] }), A2 = () => /* @__PURE__ */ e("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
841
861
|
"path",
|
|
842
862
|
{
|
|
843
863
|
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",
|
|
@@ -846,7 +866,7 @@ const O = (a) => {
|
|
|
846
866
|
strokeLinecap: "round",
|
|
847
867
|
strokeLinejoin: "round"
|
|
848
868
|
}
|
|
849
|
-
) }),
|
|
869
|
+
) }), D2 = () => /* @__PURE__ */ t("svg", { width: "127", height: "127", viewBox: "0 0 127.081 126.889", fill: "none", "aria-hidden": "true", children: [
|
|
850
870
|
/* @__PURE__ */ t("g", { opacity: "0.3", fill: "url(#consultation-booked-blob-gradient)", children: [
|
|
851
871
|
/* @__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" }),
|
|
852
872
|
/* @__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" }),
|
|
@@ -891,63 +911,63 @@ const O = (a) => {
|
|
|
891
911
|
]
|
|
892
912
|
}
|
|
893
913
|
) })
|
|
894
|
-
] }),
|
|
895
|
-
root:
|
|
896
|
-
blob:
|
|
897
|
-
header:
|
|
898
|
-
headerIcon:
|
|
899
|
-
headerText:
|
|
900
|
-
cardWrap:
|
|
901
|
-
card:
|
|
902
|
-
ctaBtn:
|
|
903
|
-
reminder:
|
|
904
|
-
reminderIcon:
|
|
905
|
-
reminderText:
|
|
906
|
-
},
|
|
914
|
+
] }), P2 = "_root_1jqpk_2", V2 = "_blob_1jqpk_16", W2 = "_header_1jqpk_28", E2 = "_headerIcon_1jqpk_39", H2 = "_headerText_1jqpk_45", U2 = "_cardWrap_1jqpk_56", Y2 = "_card_1jqpk_56", z2 = "_ctaBtn_1jqpk_70", O2 = "_reminder_1jqpk_97", G2 = "_reminderIcon_1jqpk_108", J2 = "_reminderText_1jqpk_114", f = {
|
|
915
|
+
root: P2,
|
|
916
|
+
blob: V2,
|
|
917
|
+
header: W2,
|
|
918
|
+
headerIcon: E2,
|
|
919
|
+
headerText: H2,
|
|
920
|
+
cardWrap: U2,
|
|
921
|
+
card: Y2,
|
|
922
|
+
ctaBtn: z2,
|
|
923
|
+
reminder: O2,
|
|
924
|
+
reminderIcon: G2,
|
|
925
|
+
reminderText: J2
|
|
926
|
+
}, K2 = (...a) => a.filter(Boolean).join(" "), F7 = ({
|
|
907
927
|
astrologer: a,
|
|
908
|
-
dateLabel:
|
|
909
|
-
timeRangeLabel:
|
|
910
|
-
onJoinCall:
|
|
928
|
+
dateLabel: n,
|
|
929
|
+
timeRangeLabel: g,
|
|
930
|
+
onJoinCall: L,
|
|
911
931
|
reminderMinutesBefore: c = 15,
|
|
912
932
|
t: u,
|
|
913
|
-
className:
|
|
914
|
-
}) => /* @__PURE__ */ t("div", { className:
|
|
915
|
-
/* @__PURE__ */ e("span", { className:
|
|
916
|
-
/* @__PURE__ */ t("div", { className:
|
|
917
|
-
/* @__PURE__ */ e("span", { className:
|
|
918
|
-
/* @__PURE__ */ e("p", { className:
|
|
933
|
+
className: p = ""
|
|
934
|
+
}) => /* @__PURE__ */ t("div", { className: K2(f.root, p), children: [
|
|
935
|
+
/* @__PURE__ */ e("span", { className: f.blob, "aria-hidden": "true", children: /* @__PURE__ */ e(D2, {}) }),
|
|
936
|
+
/* @__PURE__ */ t("div", { className: f.header, children: [
|
|
937
|
+
/* @__PURE__ */ e("span", { className: f.headerIcon, children: /* @__PURE__ */ e(F2, {}) }),
|
|
938
|
+
/* @__PURE__ */ e("p", { className: f.headerText, children: u?.("consultationCallDetailsHeading") ?? "Your astrology call details:" })
|
|
919
939
|
] }),
|
|
920
|
-
/* @__PURE__ */ e("div", { className:
|
|
921
|
-
|
|
940
|
+
/* @__PURE__ */ e("div", { className: f.cardWrap, children: /* @__PURE__ */ e(
|
|
941
|
+
O,
|
|
922
942
|
{
|
|
923
|
-
className:
|
|
943
|
+
className: f.card,
|
|
924
944
|
astrologer: a,
|
|
925
|
-
dateLabel:
|
|
926
|
-
timeRangeLabel:
|
|
945
|
+
dateLabel: n,
|
|
946
|
+
timeRangeLabel: g,
|
|
927
947
|
t: u,
|
|
928
|
-
astrologerFooter:
|
|
929
|
-
/* @__PURE__ */ e(
|
|
948
|
+
astrologerFooter: L && /* @__PURE__ */ t("button", { type: "button", className: f.ctaBtn, onClick: L, children: [
|
|
949
|
+
/* @__PURE__ */ e(A2, {}),
|
|
930
950
|
u?.("consultationJoinCall") ?? "Join Call"
|
|
931
951
|
] })
|
|
932
952
|
}
|
|
933
953
|
) }),
|
|
934
|
-
/* @__PURE__ */ t("div", { className:
|
|
935
|
-
/* @__PURE__ */ e("span", { className:
|
|
936
|
-
/* @__PURE__ */ e("p", { className:
|
|
954
|
+
/* @__PURE__ */ t("div", { className: f.reminder, children: [
|
|
955
|
+
/* @__PURE__ */ e("span", { className: f.reminderIcon, children: /* @__PURE__ */ e(j2, {}) }),
|
|
956
|
+
/* @__PURE__ */ e("p", { className: f.reminderText, children: u?.("consultationCallReminderNote", { minutes: c }) ?? `You will receive a notification ${c} minutes before the call` })
|
|
937
957
|
] })
|
|
938
|
-
] }),
|
|
958
|
+
] }), Q2 = () => /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 13 13", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
939
959
|
"path",
|
|
940
960
|
{
|
|
941
961
|
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",
|
|
942
962
|
fill: "#159169"
|
|
943
963
|
}
|
|
944
|
-
) }),
|
|
964
|
+
) }), X2 = () => /* @__PURE__ */ e("svg", { width: "12", height: "12", viewBox: "0 0 9.38 8.94", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
945
965
|
"path",
|
|
946
966
|
{
|
|
947
967
|
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",
|
|
948
968
|
fill: "#FFC627"
|
|
949
969
|
}
|
|
950
|
-
) }),
|
|
970
|
+
) }), e7 = () => /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 23.9 23.9", fill: "none", "aria-hidden": "true", children: [
|
|
951
971
|
/* @__PURE__ */ e("circle", { cx: "11.6667", cy: "11.6667", r: "5.83333", fill: "white" }),
|
|
952
972
|
/* @__PURE__ */ e(
|
|
953
973
|
"path",
|
|
@@ -956,7 +976,7 @@ const O = (a) => {
|
|
|
956
976
|
fill: "#1A6EE5"
|
|
957
977
|
}
|
|
958
978
|
)
|
|
959
|
-
] }),
|
|
979
|
+
] }), t7 = () => /* @__PURE__ */ e("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
960
980
|
"path",
|
|
961
981
|
{
|
|
962
982
|
d: "M3.75 9H14.25M14.25 9L9.75 4.5M14.25 9L9.75 13.5",
|
|
@@ -965,48 +985,50 @@ const O = (a) => {
|
|
|
965
985
|
strokeLinecap: "round",
|
|
966
986
|
strokeLinejoin: "round"
|
|
967
987
|
}
|
|
968
|
-
) }),
|
|
969
|
-
root:
|
|
970
|
-
card:
|
|
971
|
-
header:
|
|
972
|
-
title:
|
|
973
|
-
includedTag:
|
|
974
|
-
includedIcon:
|
|
975
|
-
includedText:
|
|
976
|
-
scrollRow:
|
|
977
|
-
astrologerCard:
|
|
978
|
-
astrologerCardSelected:
|
|
979
|
-
ribbon:
|
|
980
|
-
avatar:
|
|
981
|
-
avatarInner:
|
|
982
|
-
avatarFill:
|
|
983
|
-
photo:
|
|
984
|
-
photoFallback:
|
|
985
|
-
verifiedBadge:
|
|
986
|
-
meta:
|
|
987
|
-
name:
|
|
988
|
-
subRow:
|
|
989
|
-
rating:
|
|
990
|
-
dot:
|
|
991
|
-
experience:
|
|
992
|
-
languages:
|
|
993
|
-
footer:
|
|
994
|
-
ctaBtn:
|
|
995
|
-
},
|
|
988
|
+
) }), a7 = "_root_97nv9_5", o7 = "_card_97nv9_17", n7 = "_header_97nv9_32", l7 = "_title_97nv9_40", i7 = "_includedTag_97nv9_49", s7 = "_includedIcon_97nv9_58", c7 = "_includedText_97nv9_65", r7 = "_scrollRow_97nv9_74", d7 = "_astrologerCard_97nv9_89", C7 = "_astrologerCardSelected_97nv9_105", h7 = "_ribbon_97nv9_113", _7 = "_avatar_97nv9_133", p7 = "_avatarInner_97nv9_133", u7 = "_avatarFill_97nv9_152", m7 = "_photo_97nv9_158", g7 = "_photoFallback_97nv9_166", L7 = "_verifiedBadge_97nv9_177", v7 = "_meta_97nv9_183", b7 = "_name_97nv9_191", f7 = "_subRow_97nv9_202", k7 = "_rating_97nv9_208", N7 = "_dot_97nv9_218", x7 = "_experience_97nv9_226", w7 = "_languages_97nv9_233", S7 = "_footer_97nv9_242", B7 = "_ctaBtn_97nv9_250", s = {
|
|
989
|
+
root: a7,
|
|
990
|
+
card: o7,
|
|
991
|
+
header: n7,
|
|
992
|
+
title: l7,
|
|
993
|
+
includedTag: i7,
|
|
994
|
+
includedIcon: s7,
|
|
995
|
+
includedText: c7,
|
|
996
|
+
scrollRow: r7,
|
|
997
|
+
astrologerCard: d7,
|
|
998
|
+
astrologerCardSelected: C7,
|
|
999
|
+
ribbon: h7,
|
|
1000
|
+
avatar: _7,
|
|
1001
|
+
avatarInner: p7,
|
|
1002
|
+
avatarFill: u7,
|
|
1003
|
+
photo: m7,
|
|
1004
|
+
photoFallback: g7,
|
|
1005
|
+
verifiedBadge: L7,
|
|
1006
|
+
meta: v7,
|
|
1007
|
+
name: b7,
|
|
1008
|
+
subRow: f7,
|
|
1009
|
+
rating: k7,
|
|
1010
|
+
dot: N7,
|
|
1011
|
+
experience: x7,
|
|
1012
|
+
languages: w7,
|
|
1013
|
+
footer: S7,
|
|
1014
|
+
ctaBtn: B7
|
|
1015
|
+
}, Y = (...a) => a.filter(Boolean).join(" "), j7 = ({
|
|
996
1016
|
astrologers: a,
|
|
997
|
-
selectedAstrologerId:
|
|
998
|
-
onSelectAstrologer:
|
|
999
|
-
onScheduleCall:
|
|
1017
|
+
selectedAstrologerId: n,
|
|
1018
|
+
onSelectAstrologer: g,
|
|
1019
|
+
onScheduleCall: L,
|
|
1000
1020
|
ctaDisabled: c = !1,
|
|
1001
1021
|
ctaLabel: u,
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1022
|
+
hideHeader: p = !1,
|
|
1023
|
+
hideFooter: m = !1,
|
|
1024
|
+
t: h,
|
|
1025
|
+
className: b = ""
|
|
1026
|
+
}) => /* @__PURE__ */ e("div", { className: Y(s.root, b), children: /* @__PURE__ */ t("div", { className: s.card, children: [
|
|
1027
|
+
!p && /* @__PURE__ */ t("div", { className: s.header, children: [
|
|
1028
|
+
/* @__PURE__ */ e("p", { className: s.title, children: h?.("consultationScheduleCallTitle") ?? "Schedule your astrology call" }),
|
|
1007
1029
|
/* @__PURE__ */ t("span", { className: s.includedTag, children: [
|
|
1008
|
-
/* @__PURE__ */ e("span", { className: s.includedIcon, children: /* @__PURE__ */ e(
|
|
1009
|
-
/* @__PURE__ */ e("span", { className: s.includedText, children:
|
|
1030
|
+
/* @__PURE__ */ e("span", { className: s.includedIcon, children: /* @__PURE__ */ e(Q2, {}) }),
|
|
1031
|
+
/* @__PURE__ */ e("span", { className: s.includedText, children: h?.("consultationIncludedInPackage") ?? "Included in your package" })
|
|
1010
1032
|
] })
|
|
1011
1033
|
] }),
|
|
1012
1034
|
/* @__PURE__ */ e(
|
|
@@ -1014,68 +1036,68 @@ const O = (a) => {
|
|
|
1014
1036
|
{
|
|
1015
1037
|
className: s.scrollRow,
|
|
1016
1038
|
role: "radiogroup",
|
|
1017
|
-
"aria-label":
|
|
1018
|
-
children: a.map((
|
|
1019
|
-
const
|
|
1039
|
+
"aria-label": h?.("consultationScheduleCallTitle") ?? "Schedule your astrology call",
|
|
1040
|
+
children: a.map((r) => {
|
|
1041
|
+
const _ = r.id === n, N = r.languages?.length ? r.languages.join(", ") : "", v = typeof r.rating == "number" && r.rating > 0, l = typeof r.experienceYears == "number";
|
|
1020
1042
|
return /* @__PURE__ */ t(
|
|
1021
1043
|
"button",
|
|
1022
1044
|
{
|
|
1023
1045
|
type: "button",
|
|
1024
1046
|
role: "radio",
|
|
1025
|
-
"aria-checked":
|
|
1026
|
-
className:
|
|
1027
|
-
onClick: () =>
|
|
1047
|
+
"aria-checked": _,
|
|
1048
|
+
className: Y(s.astrologerCard, _ && s.astrologerCardSelected),
|
|
1049
|
+
onClick: () => g?.(r),
|
|
1028
1050
|
children: [
|
|
1029
|
-
|
|
1051
|
+
r.isRecommended && /* @__PURE__ */ e("span", { className: s.ribbon, children: h?.("consultationRecommended") ?? "Recommended" }),
|
|
1030
1052
|
/* @__PURE__ */ t("span", { className: s.avatar, children: [
|
|
1031
1053
|
/* @__PURE__ */ t("span", { className: s.avatarInner, children: [
|
|
1032
1054
|
/* @__PURE__ */ e("span", { className: s.avatarFill }),
|
|
1033
|
-
|
|
1055
|
+
r.photoUrl ? /* @__PURE__ */ e("img", { className: s.photo, src: r.photoUrl, alt: r.name }) : /* @__PURE__ */ e("span", { className: s.photoFallback, "aria-hidden": "true", children: r.name?.trim().charAt(0).toUpperCase() || "?" })
|
|
1034
1056
|
] }),
|
|
1035
|
-
/* @__PURE__ */ e("span", { className: s.verifiedBadge, children: /* @__PURE__ */ e(
|
|
1057
|
+
/* @__PURE__ */ e("span", { className: s.verifiedBadge, children: /* @__PURE__ */ e(e7, {}) })
|
|
1036
1058
|
] }),
|
|
1037
1059
|
/* @__PURE__ */ t("span", { className: s.meta, children: [
|
|
1038
|
-
/* @__PURE__ */ e("p", { className: s.name, children:
|
|
1039
|
-
(
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
/* @__PURE__ */ e(
|
|
1060
|
+
/* @__PURE__ */ e("p", { className: s.name, children: r.name }),
|
|
1061
|
+
(v || l) && /* @__PURE__ */ t("span", { className: s.subRow, children: [
|
|
1062
|
+
v && /* @__PURE__ */ t("span", { className: s.rating, children: [
|
|
1063
|
+
r.rating.toFixed(1),
|
|
1064
|
+
/* @__PURE__ */ e(X2, {})
|
|
1043
1065
|
] }),
|
|
1044
|
-
|
|
1045
|
-
|
|
1066
|
+
v && l && /* @__PURE__ */ e("span", { className: s.dot }),
|
|
1067
|
+
l && /* @__PURE__ */ e("span", { className: s.experience, children: h?.("consultationYearsExperience", { count: r.experienceYears }) ?? `${r.experienceYears} years of experience` })
|
|
1046
1068
|
] }),
|
|
1047
|
-
|
|
1069
|
+
N && /* @__PURE__ */ e("p", { className: s.languages, children: N })
|
|
1048
1070
|
] })
|
|
1049
1071
|
]
|
|
1050
1072
|
},
|
|
1051
|
-
|
|
1073
|
+
r.id
|
|
1052
1074
|
);
|
|
1053
1075
|
})
|
|
1054
1076
|
}
|
|
1055
1077
|
),
|
|
1056
|
-
/* @__PURE__ */ e("div", { className: s.footer, children: /* @__PURE__ */ t(
|
|
1078
|
+
!m && /* @__PURE__ */ e("div", { className: s.footer, children: /* @__PURE__ */ t(
|
|
1057
1079
|
"button",
|
|
1058
1080
|
{
|
|
1059
1081
|
type: "button",
|
|
1060
1082
|
className: s.ctaBtn,
|
|
1061
1083
|
disabled: c,
|
|
1062
|
-
onClick:
|
|
1084
|
+
onClick: L,
|
|
1063
1085
|
children: [
|
|
1064
|
-
u ??
|
|
1065
|
-
/* @__PURE__ */ e(
|
|
1086
|
+
u ?? h?.("consultationScheduleCall") ?? "Schedule your call",
|
|
1087
|
+
/* @__PURE__ */ e(t7, {})
|
|
1066
1088
|
]
|
|
1067
1089
|
}
|
|
1068
1090
|
) })
|
|
1069
1091
|
] }) });
|
|
1070
1092
|
export {
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1093
|
+
Z7 as AstroConsultationSuccessModal,
|
|
1094
|
+
q7 as AstrologerCard,
|
|
1095
|
+
F7 as ConsultationBookedSection,
|
|
1096
|
+
O as ConsultationDetailsCard,
|
|
1097
|
+
I7 as ConsultationSlotSheet,
|
|
1098
|
+
T7 as PaymentResult,
|
|
1099
|
+
F1 as SlotUnavailableNotice,
|
|
1100
|
+
j7 as UnscheduledAstrologerList,
|
|
1101
|
+
o1 as getAstrologerPriceSymbol
|
|
1080
1102
|
};
|
|
1081
1103
|
//# sourceMappingURL=astro-consultation.js.map
|