@srimandir/kundli-generator 9.4.2 → 9.4.3
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/analytics-C7U4tH2y.js +3908 -0
- package/dist/analytics-C7U4tH2y.js.map +1 -0
- package/dist/analytics.d.ts +144 -0
- package/dist/components/KundliForm/KundliForm.d.ts +9 -1
- package/dist/components/KundliForm/sections/UserInfoFormSection/UserInfoFormSection.d.ts +5 -1
- package/dist/components/KundliForm/sections/UserInfoFormSection/useAtlasPlacesAutocomplete.d.ts +22 -0
- package/dist/components/KundliForm/sections/UserInfoFormSection/useGooglePlacesAutocomplete.d.ts +29 -8
- package/dist/components/KundliPage/KundliContext.d.ts +24 -1
- package/dist/components/KundliPage/KundliPage.d.ts +17 -1
- package/dist/components/KundliPage/KundliPageV1.d.ts +22 -1
- package/dist/components/KundliPage/KundliPageVariant.d.ts +5 -0
- package/dist/components/KundliPage/sections/UtmBannerSection/UtmBannerSection.d.ts +8 -0
- package/dist/components/KundliPage/sections/UtmBannerSection/index.d.ts +2 -0
- package/dist/components/KundliPage/sections/index.d.ts +1 -0
- package/dist/components/KundliPlanBottomSheet/ConsultationSlotModal.d.ts +28 -0
- package/dist/components/KundliPlanBottomSheet/KundliPlanBottomSheet.d.ts +14 -3
- package/dist/components/KundliPlanBottomSheet/PlanIcons.d.ts +10 -0
- package/dist/components/KundliPlanBottomSheet/consultationSlotDefaults.d.ts +44 -0
- package/dist/components/KundliPlanBottomSheet/index.d.ts +4 -1
- package/dist/components/KundliPlanBottomSheet/types.d.ts +46 -0
- package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuPlanBottomSheet.types.d.ts +11 -1
- package/dist/components/ThreeSkuPlanBottomSheet/constants.d.ts +26 -0
- package/dist/criticalCss-DTGMtg9k.js +2017 -0
- package/dist/criticalCss-DTGMtg9k.js.map +1 -0
- package/dist/form-entry.js +1 -1
- package/dist/i18n/I18nContext.d.ts +7 -1
- package/dist/index.d.ts +2 -0
- package/dist/kundli-generator.js +29 -27
- package/dist/page-entry.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/analytics-qrcpYMLy.js +0 -2994
- package/dist/analytics-qrcpYMLy.js.map +0 -1
- package/dist/criticalCss-Bj5LpOlA.js +0 -1914
- package/dist/criticalCss-Bj5LpOlA.js.map +0 -1
|
@@ -0,0 +1,2017 @@
|
|
|
1
|
+
import { l as e, h as te, D as re, d as Ce, j as he, c as Me, u as ke, L as ce, S as Ne, m as Pe, t as Ie, n as Oe, C as qe, P as Ke, F as Qe, U as He, o as Ge, p as We } from "./analytics-C7U4tH2y.js";
|
|
2
|
+
import { useRef as _, useState as I, useEffect as k, useCallback as Z, useMemo as xe } from "react";
|
|
3
|
+
import { UserReviewsSection as ze, FAQAccordion as Ve, ContactUsSection as Ye, FooterShell as Xe, FooterCTAButton as Je, CircularMarquee as Ze, footerShellStyles as J } from "@srimandir/astrology-common";
|
|
4
|
+
const en = "_hero_1vvjv_1", nn = "_title_1vvjv_5", tn = "_subtitle_1vvjv_10", an = "_topicTags_1vvjv_23", sn = "_tag_1vvjv_27", ie = {
|
|
5
|
+
hero: en,
|
|
6
|
+
title: nn,
|
|
7
|
+
subtitle: tn,
|
|
8
|
+
topicTags: an,
|
|
9
|
+
tag: sn
|
|
10
|
+
}, on = [
|
|
11
|
+
"topicMarriage",
|
|
12
|
+
"topicRelationship",
|
|
13
|
+
"topicBusiness",
|
|
14
|
+
"topicHealth",
|
|
15
|
+
"topicCareer",
|
|
16
|
+
"topicEducation",
|
|
17
|
+
"topicMoney"
|
|
18
|
+
], Le = ({ t: n, className: t = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${ie.hero} ${t}`, "aria-labelledby": "hero-title", children: [
|
|
19
|
+
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: ie.title, children: n("heroTitle") }),
|
|
20
|
+
/* @__PURE__ */ e.jsx("p", { className: ie.subtitle, children: n("heroSubtitle") }),
|
|
21
|
+
/* @__PURE__ */ e.jsx("div", { className: ie.topicTags, role: "list", children: on.map((a) => /* @__PURE__ */ e.jsx("span", { className: ie.tag, role: "listitem", children: n(a) }, a)) })
|
|
22
|
+
] }), ln = "_section_iqucz_1", rn = "_utmBanner_iqucz_9", cn = "_utmBannerImg_iqucz_13", dn = "_backgroundLayer_iqucz_18", un = "_backgroundImg_iqucz_25", pn = "_inner_iqucz_32", mn = "_content_iqucz_38", hn = "_headline_iqucz_42", gn = "_headlineLine_iqucz_47", xn = "_headlinePill_iqucz_52", fn = "_headlinePlain_iqucz_67", _n = "_featureList_iqucz_78", bn = "_featureItem_iqucz_85", jn = "_featureIcon_iqucz_90", yn = "_reportImage_iqucz_97", vn = "_reportImg_iqucz_107", y = {
|
|
23
|
+
section: ln,
|
|
24
|
+
utmBanner: rn,
|
|
25
|
+
utmBannerImg: cn,
|
|
26
|
+
backgroundLayer: dn,
|
|
27
|
+
backgroundImg: un,
|
|
28
|
+
inner: pn,
|
|
29
|
+
content: mn,
|
|
30
|
+
headline: hn,
|
|
31
|
+
headlineLine: gn,
|
|
32
|
+
headlinePill: xn,
|
|
33
|
+
headlinePlain: fn,
|
|
34
|
+
featureList: _n,
|
|
35
|
+
featureItem: bn,
|
|
36
|
+
featureIcon: jn,
|
|
37
|
+
reportImage: yn,
|
|
38
|
+
reportImg: vn
|
|
39
|
+
}, wn = "https://srm-cdn.a4b.io/yoda/1770363846052.svg", Cn = "https://srm-cdn.a4b.io/yoda/1772696426944.webp", kn = [
|
|
40
|
+
"premiumFeature1",
|
|
41
|
+
"premiumFeature2",
|
|
42
|
+
"premiumFeature3",
|
|
43
|
+
"premiumFeature4"
|
|
44
|
+
], Nn = "https://srm-cdn.a4b.io/yoda/1772696452070.webp", Te = ({
|
|
45
|
+
t: n,
|
|
46
|
+
reportImageUrl: t = Nn,
|
|
47
|
+
reportImagePriority: a,
|
|
48
|
+
backgroundImagePriority: i = !1,
|
|
49
|
+
analytics: o,
|
|
50
|
+
utmBannerImageUrl: r,
|
|
51
|
+
utmBannerAltText: u = "",
|
|
52
|
+
className: p = ""
|
|
53
|
+
}) => {
|
|
54
|
+
const s = te()?.config.imageComponent ?? re;
|
|
55
|
+
if (r)
|
|
56
|
+
return /* @__PURE__ */ e.jsx(
|
|
57
|
+
"section",
|
|
58
|
+
{
|
|
59
|
+
className: `${y.utmBanner} ${p}`,
|
|
60
|
+
"aria-label": u,
|
|
61
|
+
children: /* @__PURE__ */ e.jsx(
|
|
62
|
+
s,
|
|
63
|
+
{
|
|
64
|
+
src: r,
|
|
65
|
+
alt: u,
|
|
66
|
+
className: y.utmBannerImg,
|
|
67
|
+
priority: !0,
|
|
68
|
+
fetchPriority: "high",
|
|
69
|
+
loading: "eager",
|
|
70
|
+
sizes: "100vw"
|
|
71
|
+
}
|
|
72
|
+
)
|
|
73
|
+
}
|
|
74
|
+
);
|
|
75
|
+
const g = () => {
|
|
76
|
+
o?.trackBannerClicked?.();
|
|
77
|
+
};
|
|
78
|
+
return /* @__PURE__ */ e.jsxs(
|
|
79
|
+
"section",
|
|
80
|
+
{
|
|
81
|
+
className: `${y.section} ${p}`,
|
|
82
|
+
"aria-labelledby": "premium-headline",
|
|
83
|
+
role: "button",
|
|
84
|
+
tabIndex: 0,
|
|
85
|
+
onClick: g,
|
|
86
|
+
"data-hero": !0,
|
|
87
|
+
children: [
|
|
88
|
+
/* @__PURE__ */ e.jsx("div", { className: y.backgroundLayer, "aria-hidden": !0, "data-background-layer": !0, children: /* @__PURE__ */ e.jsx(
|
|
89
|
+
s,
|
|
90
|
+
{
|
|
91
|
+
src: Cn,
|
|
92
|
+
alt: "",
|
|
93
|
+
className: y.backgroundImg,
|
|
94
|
+
width: 412,
|
|
95
|
+
height: 215,
|
|
96
|
+
sizes: "(max-width: 768px) 412px, 412px",
|
|
97
|
+
loading: "eager",
|
|
98
|
+
priority: i,
|
|
99
|
+
fetchPriority: "high"
|
|
100
|
+
}
|
|
101
|
+
) }),
|
|
102
|
+
/* @__PURE__ */ e.jsxs("div", { className: y.inner, children: [
|
|
103
|
+
/* @__PURE__ */ e.jsxs("div", { className: y.content, children: [
|
|
104
|
+
/* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: y.headline, children: [
|
|
105
|
+
/* @__PURE__ */ e.jsxs("span", { className: y.headlineLine, children: [
|
|
106
|
+
/* @__PURE__ */ e.jsx("span", { className: y.headlinePill, children: n("premiumHeadlinePill1") }),
|
|
107
|
+
/* @__PURE__ */ e.jsx("span", { className: y.headlinePlain, children: n("premiumHeadlinePlain1") })
|
|
108
|
+
] }),
|
|
109
|
+
/* @__PURE__ */ e.jsxs("span", { className: y.headlineLine, children: [
|
|
110
|
+
/* @__PURE__ */ e.jsx("span", { className: y.headlinePlain, children: n("premiumHeadlinePlain2") }),
|
|
111
|
+
/* @__PURE__ */ e.jsx("span", { className: y.headlinePill, children: n("premiumHeadlinePill2") })
|
|
112
|
+
] }),
|
|
113
|
+
/* @__PURE__ */ e.jsxs("span", { className: y.headlineLine, children: [
|
|
114
|
+
/* @__PURE__ */ e.jsx("span", { className: y.headlinePlain, children: n("and") }),
|
|
115
|
+
/* @__PURE__ */ e.jsx("span", { className: y.headlinePill, children: n("astrologyGuidance") })
|
|
116
|
+
] })
|
|
117
|
+
] }),
|
|
118
|
+
/* @__PURE__ */ e.jsx("ul", { className: y.featureList, children: kn.map((b) => /* @__PURE__ */ e.jsxs("li", { className: y.featureItem, children: [
|
|
119
|
+
/* @__PURE__ */ e.jsx(
|
|
120
|
+
s,
|
|
121
|
+
{
|
|
122
|
+
src: wn,
|
|
123
|
+
alt: "",
|
|
124
|
+
className: y.featureIcon,
|
|
125
|
+
width: 16,
|
|
126
|
+
height: 16,
|
|
127
|
+
loading: "lazy"
|
|
128
|
+
}
|
|
129
|
+
),
|
|
130
|
+
n(b)
|
|
131
|
+
] }, b)) })
|
|
132
|
+
] }),
|
|
133
|
+
/* @__PURE__ */ e.jsx("div", { className: y.reportImage, children: /* @__PURE__ */ e.jsx(
|
|
134
|
+
s,
|
|
135
|
+
{
|
|
136
|
+
src: t,
|
|
137
|
+
alt: "",
|
|
138
|
+
className: y.reportImg,
|
|
139
|
+
width: 120,
|
|
140
|
+
height: 160,
|
|
141
|
+
priority: a,
|
|
142
|
+
fetchPriority: a ? "high" : void 0,
|
|
143
|
+
loading: a ? "eager" : "lazy",
|
|
144
|
+
sizes: "120px"
|
|
145
|
+
}
|
|
146
|
+
) })
|
|
147
|
+
] })
|
|
148
|
+
]
|
|
149
|
+
}
|
|
150
|
+
);
|
|
151
|
+
}, Pn = "_section_1kxsy_1", In = "_heading_1kxsy_6", Ln = "_logoImg_1kxsy_10", me = {
|
|
152
|
+
section: Pn,
|
|
153
|
+
heading: In,
|
|
154
|
+
logoImg: Ln
|
|
155
|
+
}, Tn = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", Se = ({
|
|
156
|
+
t: n,
|
|
157
|
+
logoUrl: t = Tn,
|
|
158
|
+
className: a = ""
|
|
159
|
+
}) => {
|
|
160
|
+
const o = te()?.config.imageComponent ?? re;
|
|
161
|
+
return /* @__PURE__ */ e.jsxs("section", { className: `${me.section} ${a}`, "aria-labelledby": "certified-heading", children: [
|
|
162
|
+
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: me.heading, children: n("certifiedBy") }),
|
|
163
|
+
/* @__PURE__ */ e.jsx(
|
|
164
|
+
o,
|
|
165
|
+
{
|
|
166
|
+
src: t,
|
|
167
|
+
alt: "University Certification",
|
|
168
|
+
className: me.logoImg,
|
|
169
|
+
width: 380,
|
|
170
|
+
height: 70,
|
|
171
|
+
loading: "lazy"
|
|
172
|
+
}
|
|
173
|
+
)
|
|
174
|
+
] });
|
|
175
|
+
}, Sn = "_section_1d9aa_1", Fn = "_heading_1d9aa_6", Rn = "_subtitle_1d9aa_11", En = "_stepList_1d9aa_16", An = "_stepItem_1d9aa_20", Dn = "_stepNumber_1d9aa_24", Un = "_stepText_1d9aa_30", $n = "_step3Days_1d9aa_35", R = {
|
|
176
|
+
section: Sn,
|
|
177
|
+
heading: Fn,
|
|
178
|
+
subtitle: Rn,
|
|
179
|
+
stepList: En,
|
|
180
|
+
stepItem: An,
|
|
181
|
+
stepNumber: Dn,
|
|
182
|
+
stepText: Un,
|
|
183
|
+
step3Days: $n
|
|
184
|
+
}, Bn = ["step1", "step2"], Fe = ({
|
|
185
|
+
t: n,
|
|
186
|
+
locale: t = "en",
|
|
187
|
+
isGlobal: a = !0,
|
|
188
|
+
className: i = ""
|
|
189
|
+
}) => {
|
|
190
|
+
const o = a ? "step3IntroGlobal" : "step3IntroDomestic";
|
|
191
|
+
return /* @__PURE__ */ e.jsxs(
|
|
192
|
+
"section",
|
|
193
|
+
{
|
|
194
|
+
className: `${R.section} ${i}`,
|
|
195
|
+
"aria-labelledby": "steps-heading",
|
|
196
|
+
children: [
|
|
197
|
+
/* @__PURE__ */ e.jsx("p", { className: R.heading, children: n("yourThreeSteps") }),
|
|
198
|
+
/* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: R.subtitle, children: n("threeStepsSubtitle") }),
|
|
199
|
+
/* @__PURE__ */ e.jsxs("ol", { className: R.stepList, children: [
|
|
200
|
+
Bn.map((r, u) => /* @__PURE__ */ e.jsxs("li", { className: R.stepItem, children: [
|
|
201
|
+
/* @__PURE__ */ e.jsx("span", { className: R.stepNumber, "aria-hidden": !0, children: u + 1 }),
|
|
202
|
+
/* @__PURE__ */ e.jsx("span", { className: R.stepText, children: n(r) })
|
|
203
|
+
] }, r)),
|
|
204
|
+
/* @__PURE__ */ e.jsxs("li", { className: R.stepItem, children: [
|
|
205
|
+
/* @__PURE__ */ e.jsx("span", { className: R.stepNumber, "aria-hidden": !0, children: "3" }),
|
|
206
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.stepText, children: [
|
|
207
|
+
n(o),
|
|
208
|
+
/* @__PURE__ */ e.jsx("br", {}),
|
|
209
|
+
t === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
210
|
+
"in ",
|
|
211
|
+
/* @__PURE__ */ e.jsx("strong", { className: R.step3Days, children: n("step3Days") })
|
|
212
|
+
] }) : /* @__PURE__ */ e.jsx("strong", { className: R.step3Days, children: n("step3Days") })
|
|
213
|
+
] })
|
|
214
|
+
] })
|
|
215
|
+
] })
|
|
216
|
+
]
|
|
217
|
+
}
|
|
218
|
+
);
|
|
219
|
+
}, Mn = "_section_1jea1_1", On = "_button_1jea1_7", fe = {
|
|
220
|
+
section: Mn,
|
|
221
|
+
button: On
|
|
222
|
+
}, qn = "_backdrop_pekod_1", Kn = "_modal_pekod_21", Qn = "_header_pekod_40", Hn = "_title_pekod_49", Gn = "_closeBtn_pekod_56", Wn = "_content_pekod_76", zn = "_pdfFrame_pekod_84", Vn = "_pdfPages_pekod_92", Yn = "_pdfError_pekod_97", Xn = "_openInNewTab_pekod_123", O = {
|
|
223
|
+
backdrop: qn,
|
|
224
|
+
modal: Kn,
|
|
225
|
+
header: Qn,
|
|
226
|
+
title: Hn,
|
|
227
|
+
closeBtn: Gn,
|
|
228
|
+
content: Wn,
|
|
229
|
+
pdfFrame: zn,
|
|
230
|
+
pdfPages: Vn,
|
|
231
|
+
pdfError: Yn,
|
|
232
|
+
openInNewTab: Xn
|
|
233
|
+
};
|
|
234
|
+
function Jn(n) {
|
|
235
|
+
typeof n < "u" && n.GlobalWorkerOptions && (n.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${n.version}/build/pdf.worker.min.js`);
|
|
236
|
+
}
|
|
237
|
+
const Re = ({
|
|
238
|
+
isOpen: n,
|
|
239
|
+
onClose: t,
|
|
240
|
+
title: a,
|
|
241
|
+
pdfUrl: i
|
|
242
|
+
}) => {
|
|
243
|
+
const o = _(null), [r, u] = I(!0), [p, h] = I(null), [s, g] = I(null);
|
|
244
|
+
return k(() => {
|
|
245
|
+
if (!n) return;
|
|
246
|
+
const b = (c) => {
|
|
247
|
+
c.key === "Escape" && t();
|
|
248
|
+
};
|
|
249
|
+
return document.addEventListener("keydown", b), document.body.style.overflow = "hidden", () => {
|
|
250
|
+
document.removeEventListener("keydown", b), document.body.style.overflow = "";
|
|
251
|
+
};
|
|
252
|
+
}, [n, t]), k(() => {
|
|
253
|
+
n && import("pdfjs-dist").then((b) => {
|
|
254
|
+
g(b);
|
|
255
|
+
}).catch((b) => {
|
|
256
|
+
h("Failed to load PDF viewer"), u(!1);
|
|
257
|
+
});
|
|
258
|
+
}, [n]), k(() => {
|
|
259
|
+
if (!n || !i || !o.current || !s) return;
|
|
260
|
+
u(!0), h(null), o.current.innerHTML = "", (async () => {
|
|
261
|
+
try {
|
|
262
|
+
Jn(s);
|
|
263
|
+
const j = await s.getDocument({ url: i }).promise, v = o.current;
|
|
264
|
+
if (!v) return;
|
|
265
|
+
const T = v.clientWidth || 600, N = Math.min(T / 612, 2);
|
|
266
|
+
for (let x = 1; x <= j.numPages; x++) {
|
|
267
|
+
const m = await j.getPage(x), w = m.getViewport({ scale: N }), C = document.createElement("canvas");
|
|
268
|
+
C.height = w.height, C.width = w.width, C.style.display = "block", C.style.margin = "0 auto 1rem", C.style.maxWidth = "100%";
|
|
269
|
+
const A = C.getContext("2d");
|
|
270
|
+
A && await m.render({ canvasContext: A, viewport: w }).promise, v.appendChild(C);
|
|
271
|
+
}
|
|
272
|
+
} catch (c) {
|
|
273
|
+
h(c instanceof Error ? c.message : "Failed to load PDF");
|
|
274
|
+
} finally {
|
|
275
|
+
u(!1);
|
|
276
|
+
}
|
|
277
|
+
})();
|
|
278
|
+
}, [n, i, s]), n ? /* @__PURE__ */ e.jsx(
|
|
279
|
+
"div",
|
|
280
|
+
{
|
|
281
|
+
className: O.backdrop,
|
|
282
|
+
onClick: t,
|
|
283
|
+
role: "dialog",
|
|
284
|
+
"aria-modal": "true",
|
|
285
|
+
"aria-labelledby": "sample-report-modal-title",
|
|
286
|
+
children: /* @__PURE__ */ e.jsxs(
|
|
287
|
+
"div",
|
|
288
|
+
{
|
|
289
|
+
className: O.modal,
|
|
290
|
+
onClick: (b) => b.stopPropagation(),
|
|
291
|
+
children: [
|
|
292
|
+
/* @__PURE__ */ e.jsxs("div", { className: O.header, children: [
|
|
293
|
+
/* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className: O.title, children: a }),
|
|
294
|
+
/* @__PURE__ */ e.jsx(
|
|
295
|
+
"button",
|
|
296
|
+
{
|
|
297
|
+
type: "button",
|
|
298
|
+
className: O.closeBtn,
|
|
299
|
+
onClick: t,
|
|
300
|
+
"aria-label": "Close",
|
|
301
|
+
children: "×"
|
|
302
|
+
}
|
|
303
|
+
)
|
|
304
|
+
] }),
|
|
305
|
+
/* @__PURE__ */ e.jsxs("div", { className: O.content, children: [
|
|
306
|
+
/* @__PURE__ */ e.jsxs("div", { className: O.pdfFrame, children: [
|
|
307
|
+
p && /* @__PURE__ */ e.jsxs("div", { className: O.pdfError, children: [
|
|
308
|
+
/* @__PURE__ */ e.jsx("span", { children: p }),
|
|
309
|
+
/* @__PURE__ */ e.jsx("a", { href: i, target: "_blank", rel: "noopener noreferrer", children: "Open in new tab instead" })
|
|
310
|
+
] }),
|
|
311
|
+
/* @__PURE__ */ e.jsx("div", { ref: o, className: O.pdfPages })
|
|
312
|
+
] }),
|
|
313
|
+
/* @__PURE__ */ e.jsx(
|
|
314
|
+
"a",
|
|
315
|
+
{
|
|
316
|
+
href: i,
|
|
317
|
+
target: "_blank",
|
|
318
|
+
rel: "noopener noreferrer",
|
|
319
|
+
className: O.openInNewTab,
|
|
320
|
+
children: "Open in new tab"
|
|
321
|
+
}
|
|
322
|
+
)
|
|
323
|
+
] })
|
|
324
|
+
]
|
|
325
|
+
}
|
|
326
|
+
)
|
|
327
|
+
}
|
|
328
|
+
) : null;
|
|
329
|
+
}, Zn = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", ge = ({
|
|
330
|
+
t: n,
|
|
331
|
+
pdfUrl: t = Zn,
|
|
332
|
+
onClick: a,
|
|
333
|
+
analytics: i,
|
|
334
|
+
className: o = ""
|
|
335
|
+
}) => {
|
|
336
|
+
const [r, u] = I(!1), p = n("viewSampleReport"), h = n("sampleReportModalTitle"), s = () => {
|
|
337
|
+
i?.trackViewSampleReportClicked?.(), a?.(), u(!0);
|
|
338
|
+
}, g = () => {
|
|
339
|
+
i?.trackViewSampleReportClosed?.(), u(!1);
|
|
340
|
+
};
|
|
341
|
+
return /* @__PURE__ */ e.jsxs("section", { className: `${fe.section} ${o}`, children: [
|
|
342
|
+
/* @__PURE__ */ e.jsx("button", { type: "button", className: fe.button, onClick: s, children: p }),
|
|
343
|
+
/* @__PURE__ */ e.jsx(
|
|
344
|
+
Re,
|
|
345
|
+
{
|
|
346
|
+
isOpen: r,
|
|
347
|
+
onClose: g,
|
|
348
|
+
title: h,
|
|
349
|
+
pdfUrl: t
|
|
350
|
+
}
|
|
351
|
+
)
|
|
352
|
+
] });
|
|
353
|
+
}, et = "_section_1ds1w_1", nt = "_heading_1ds1w_5", tt = "_list_1ds1w_10", at = "_item_1ds1w_17", st = "_imageWrap_1ds1w_21", ot = "_image_1ds1w_21", it = "_imagePlaceholder_1ds1w_30", lt = "_text_1ds1w_36", rt = "_itemTitle_1ds1w_40", ct = "_itemDesc_1ds1w_51", q = {
|
|
354
|
+
section: et,
|
|
355
|
+
heading: nt,
|
|
356
|
+
list: tt,
|
|
357
|
+
item: at,
|
|
358
|
+
imageWrap: st,
|
|
359
|
+
image: ot,
|
|
360
|
+
imagePlaceholder: it,
|
|
361
|
+
text: lt,
|
|
362
|
+
itemTitle: rt,
|
|
363
|
+
itemDesc: ct
|
|
364
|
+
}, dt = [
|
|
365
|
+
{ titleKey: "findDasha", descKey: "findDashaDesc" },
|
|
366
|
+
{ titleKey: "findYoga", descKey: "findYogaDesc" },
|
|
367
|
+
{ titleKey: "findGemstone", descKey: "findGemstoneDesc" },
|
|
368
|
+
{ titleKey: "findPooja", descKey: "findPoojaDesc" },
|
|
369
|
+
{ titleKey: "findMonthly", descKey: "findMonthlyDesc" },
|
|
370
|
+
{ titleKey: "findStrength", descKey: "findStrengthDesc" }
|
|
371
|
+
], ut = [
|
|
372
|
+
"https://srm-cdn.a4b.io/yoda/1772619204758.webp",
|
|
373
|
+
"https://srm-cdn.a4b.io/yoda/1772619215121.webp",
|
|
374
|
+
"https://srm-cdn.a4b.io/yoda/1772619232241.webp",
|
|
375
|
+
"https://srm-cdn.a4b.io/yoda/1772619253699.webp",
|
|
376
|
+
"https://srm-cdn.a4b.io/yoda/1772619272322.webp",
|
|
377
|
+
"https://srm-cdn.a4b.io/yoda/1772619284662.webp"
|
|
378
|
+
], Ee = ({
|
|
379
|
+
t: n,
|
|
380
|
+
imageUrls: t = ut,
|
|
381
|
+
className: a = ""
|
|
382
|
+
}) => {
|
|
383
|
+
const o = te()?.config.imageComponent ?? re;
|
|
384
|
+
return /* @__PURE__ */ e.jsxs(
|
|
385
|
+
"section",
|
|
386
|
+
{
|
|
387
|
+
className: `${q.section} ${a}`,
|
|
388
|
+
"aria-labelledby": "find-heading",
|
|
389
|
+
children: [
|
|
390
|
+
/* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: q.heading, children: n("whatYoullFindTitle") }),
|
|
391
|
+
/* @__PURE__ */ e.jsx("ul", { className: q.list, children: dt.map((r, u) => /* @__PURE__ */ e.jsxs("li", { className: q.item, children: [
|
|
392
|
+
/* @__PURE__ */ e.jsx("div", { className: q.imageWrap, children: t[u] ? /* @__PURE__ */ e.jsx(
|
|
393
|
+
o,
|
|
394
|
+
{
|
|
395
|
+
src: t[u],
|
|
396
|
+
alt: "",
|
|
397
|
+
className: q.image,
|
|
398
|
+
width: 96,
|
|
399
|
+
height: 96,
|
|
400
|
+
loading: "lazy",
|
|
401
|
+
sizes: "96px"
|
|
402
|
+
}
|
|
403
|
+
) : /* @__PURE__ */ e.jsx("div", { className: q.imagePlaceholder, "aria-hidden": !0 }) }),
|
|
404
|
+
/* @__PURE__ */ e.jsxs("div", { className: q.text, children: [
|
|
405
|
+
/* @__PURE__ */ e.jsx("h3", { className: q.itemTitle, children: n(r.titleKey) }),
|
|
406
|
+
/* @__PURE__ */ e.jsx("p", { className: q.itemDesc, children: n(r.descKey) })
|
|
407
|
+
] })
|
|
408
|
+
] }, r.titleKey)) })
|
|
409
|
+
]
|
|
410
|
+
}
|
|
411
|
+
);
|
|
412
|
+
}, pt = "_section_75s76_1", mt = "_heading_75s76_6", ht = "_subtitle_75s76_11", gt = "_list_75s76_16", xt = "_item_75s76_20", le = {
|
|
413
|
+
section: pt,
|
|
414
|
+
heading: mt,
|
|
415
|
+
subtitle: ht,
|
|
416
|
+
list: gt,
|
|
417
|
+
item: xt
|
|
418
|
+
}, ft = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], Ae = ({ t: n, className: t = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${le.section} ${t}`, "aria-labelledby": "why-heading", children: [
|
|
419
|
+
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: le.heading, children: n("whyUsTitle") }),
|
|
420
|
+
/* @__PURE__ */ e.jsx("p", { className: le.subtitle, children: n("whyUsSubtitle") }),
|
|
421
|
+
/* @__PURE__ */ e.jsx("ul", { className: le.list, children: ft.map((a) => /* @__PURE__ */ e.jsx("li", { className: le.item, children: n(a) }, a)) })
|
|
422
|
+
] }), _t = "_headingBold_g8xg7_1", bt = {
|
|
423
|
+
headingBold: _t
|
|
424
|
+
}, De = ({
|
|
425
|
+
t: n,
|
|
426
|
+
testimonials: t,
|
|
427
|
+
readMoreHref: a,
|
|
428
|
+
onReadMore: i,
|
|
429
|
+
className: o = "",
|
|
430
|
+
headingClassName: r = bt.headingBold
|
|
431
|
+
}) => /* @__PURE__ */ e.jsx(
|
|
432
|
+
ze,
|
|
433
|
+
{
|
|
434
|
+
t: n,
|
|
435
|
+
testimonials: t,
|
|
436
|
+
readMoreHref: a,
|
|
437
|
+
onReadMore: i,
|
|
438
|
+
className: o,
|
|
439
|
+
headingClassName: r
|
|
440
|
+
}
|
|
441
|
+
), jt = "_headingBold_g8xg7_1", yt = {
|
|
442
|
+
headingBold: jt
|
|
443
|
+
}, vt = [
|
|
444
|
+
{ qKey: "faqQ1", aKey: "faqA1" },
|
|
445
|
+
{ qKey: "faqQ3", aKey: "faqA3" }
|
|
446
|
+
], Ue = ({
|
|
447
|
+
t: n,
|
|
448
|
+
className: t = "",
|
|
449
|
+
headingClassName: a = yt.headingBold
|
|
450
|
+
}) => {
|
|
451
|
+
const o = te()?.config.isGlobal ?? !0, r = (u) => u === "faqA1" ? o ? "faqA1Global" : "faqA1Domestic" : u;
|
|
452
|
+
return /* @__PURE__ */ e.jsx(
|
|
453
|
+
Ve,
|
|
454
|
+
{
|
|
455
|
+
t: n,
|
|
456
|
+
items: vt,
|
|
457
|
+
resolveAnswerKey: r,
|
|
458
|
+
defaultOpenIndex: 1,
|
|
459
|
+
className: t,
|
|
460
|
+
headingClassName: a
|
|
461
|
+
}
|
|
462
|
+
);
|
|
463
|
+
}, _e = "8296947757", be = "08071174417", je = "pujaseva@appsforbharat.com", $e = ({
|
|
464
|
+
t: n,
|
|
465
|
+
whatsAppGlobal: t,
|
|
466
|
+
whatsAppDomestic: a,
|
|
467
|
+
email: i,
|
|
468
|
+
brandName: o,
|
|
469
|
+
className: r = ""
|
|
470
|
+
}) => {
|
|
471
|
+
const p = te()?.config.isGlobal ?? !0, h = t ?? _e, s = a ?? be, g = i ?? je, b = p ? n("contactWhatsAppGlobal").replace(_e, h) : n("contactWhatsAppDomestic").replace(be, s), c = n("contactEmail").replace(je, g);
|
|
472
|
+
return /* @__PURE__ */ e.jsx(
|
|
473
|
+
Ye,
|
|
474
|
+
{
|
|
475
|
+
title: n("contactTitle"),
|
|
476
|
+
brandName: o ?? n("contactBrandName"),
|
|
477
|
+
whatsAppLine: b,
|
|
478
|
+
emailLine: c,
|
|
479
|
+
className: r
|
|
480
|
+
}
|
|
481
|
+
);
|
|
482
|
+
}, wt = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", Ct = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", kt = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Nt = ({ t: n }) => {
|
|
483
|
+
const a = te()?.config.imageComponent ?? re;
|
|
484
|
+
return /* @__PURE__ */ e.jsxs("div", { className: J.marqueeContent, children: [
|
|
485
|
+
/* @__PURE__ */ e.jsxs("span", { className: J.badge, children: [
|
|
486
|
+
/* @__PURE__ */ e.jsx(a, { src: wt, alt: "", className: J.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
487
|
+
n("ctaKundliCreated")
|
|
488
|
+
] }),
|
|
489
|
+
/* @__PURE__ */ e.jsxs("span", { className: J.badge, children: [
|
|
490
|
+
/* @__PURE__ */ e.jsx(a, { src: Ct, alt: "", className: J.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
491
|
+
n("ctaCertified")
|
|
492
|
+
] }),
|
|
493
|
+
/* @__PURE__ */ e.jsxs("span", { className: J.badge, children: [
|
|
494
|
+
/* @__PURE__ */ e.jsx(a, { src: kt, alt: "", className: J.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
495
|
+
n("ctaSecurePayment")
|
|
496
|
+
] })
|
|
497
|
+
] });
|
|
498
|
+
}, Pt = ({
|
|
499
|
+
t: n,
|
|
500
|
+
onCtaClick: t,
|
|
501
|
+
ctaHref: a,
|
|
502
|
+
className: i = ""
|
|
503
|
+
}) => {
|
|
504
|
+
const o = n("ctaButtonBefore").replace(/\s+in\s*$/i, "");
|
|
505
|
+
return /* @__PURE__ */ e.jsx(
|
|
506
|
+
Xe,
|
|
507
|
+
{
|
|
508
|
+
className: i,
|
|
509
|
+
marquee: /* @__PURE__ */ e.jsx(Ze, { children: /* @__PURE__ */ e.jsx(Nt, { t: n }) }),
|
|
510
|
+
children: /* @__PURE__ */ e.jsx(Je, { href: a, onClick: t, children: o })
|
|
511
|
+
}
|
|
512
|
+
);
|
|
513
|
+
}, It = "_container_nm3gb_1", Lt = "_main_nm3gb_6", Tt = "_langDropdownWrap_nm3gb_12", St = "_langTrigger_nm3gb_16", Ft = "_langIcon_nm3gb_28", Rt = "_langLabel_nm3gb_35", Et = "_langMenu_nm3gb_40", At = "_langOption_nm3gb_46", Y = {
|
|
514
|
+
container: It,
|
|
515
|
+
main: Lt,
|
|
516
|
+
langDropdownWrap: Tt,
|
|
517
|
+
langTrigger: St,
|
|
518
|
+
langIcon: Ft,
|
|
519
|
+
langLabel: Rt,
|
|
520
|
+
langMenu: Et,
|
|
521
|
+
langOption: At
|
|
522
|
+
}, Dt = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Ut = (n, t) => Ie[n]?.[t] ?? t, $t = 112;
|
|
523
|
+
function K({
|
|
524
|
+
section: n,
|
|
525
|
+
children: t,
|
|
526
|
+
onImpression: a
|
|
527
|
+
}) {
|
|
528
|
+
const i = _(null), o = _(!1);
|
|
529
|
+
return k(() => {
|
|
530
|
+
const r = i.current;
|
|
531
|
+
if (!r) return;
|
|
532
|
+
const u = new IntersectionObserver(
|
|
533
|
+
([p]) => {
|
|
534
|
+
!p?.isIntersecting || o.current || (o.current = !0, a(n));
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
threshold: 0.1,
|
|
538
|
+
// Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
|
|
539
|
+
rootMargin: `0px 0px -${$t}px 0px`
|
|
540
|
+
}
|
|
541
|
+
);
|
|
542
|
+
return u.observe(r), () => u.disconnect();
|
|
543
|
+
}, [n, a]), /* @__PURE__ */ e.jsx("div", { ref: i, children: t });
|
|
544
|
+
}
|
|
545
|
+
function Bt({ className: n }) {
|
|
546
|
+
const { view: t } = he();
|
|
547
|
+
return t === "form" ? /* @__PURE__ */ e.jsx(Me, {}) : /* @__PURE__ */ e.jsx(Mt, { className: n });
|
|
548
|
+
}
|
|
549
|
+
function Mt({ className: n }) {
|
|
550
|
+
const t = ke(), { locale: a, setLocale: i, config: o, goToForm: r } = he(), u = o.resolvedUtmBannerImageUrl || void 0, [p, h] = I(!1), s = _(null), g = _(o.locale), b = _(
|
|
551
|
+
t?.locale
|
|
552
|
+
);
|
|
553
|
+
k(() => {
|
|
554
|
+
o.locale && g.current !== o.locale && i(o.locale), g.current = o.locale;
|
|
555
|
+
}, [o.locale, i]), k(() => {
|
|
556
|
+
if (o.locale) return;
|
|
557
|
+
const m = t?.locale;
|
|
558
|
+
m && b.current !== m && i(m), b.current = m;
|
|
559
|
+
}, [t?.locale, o.locale, i]), k(() => {
|
|
560
|
+
if (!p) return;
|
|
561
|
+
const m = (w) => {
|
|
562
|
+
s.current && !s.current.contains(w.target) && h(!1);
|
|
563
|
+
};
|
|
564
|
+
return document.addEventListener("mousedown", m), () => document.removeEventListener("mousedown", m);
|
|
565
|
+
}, [p]);
|
|
566
|
+
const c = (m) => Ut(a, m), j = o.showLanguageSelector ?? !0, v = o.imageComponent ?? re, T = j ? /* @__PURE__ */ e.jsxs("div", { className: Y.langDropdownWrap, ref: s, children: [
|
|
567
|
+
/* @__PURE__ */ e.jsxs(
|
|
568
|
+
"button",
|
|
569
|
+
{
|
|
570
|
+
type: "button",
|
|
571
|
+
className: Y.langTrigger,
|
|
572
|
+
onClick: () => {
|
|
573
|
+
o.analytics?.trackLanguageClickedFe?.({ language: a }), h((m) => !m);
|
|
574
|
+
},
|
|
575
|
+
"aria-expanded": p,
|
|
576
|
+
"aria-haspopup": "listbox",
|
|
577
|
+
id: "kundli-lang",
|
|
578
|
+
"aria-label": c("language"),
|
|
579
|
+
children: [
|
|
580
|
+
/* @__PURE__ */ e.jsx(
|
|
581
|
+
v,
|
|
582
|
+
{
|
|
583
|
+
src: Dt,
|
|
584
|
+
alt: "",
|
|
585
|
+
className: Y.langIcon,
|
|
586
|
+
width: 16,
|
|
587
|
+
height: 16,
|
|
588
|
+
loading: "eager"
|
|
589
|
+
}
|
|
590
|
+
),
|
|
591
|
+
/* @__PURE__ */ e.jsx("span", { className: Y.langLabel, children: ce[a] })
|
|
592
|
+
]
|
|
593
|
+
}
|
|
594
|
+
),
|
|
595
|
+
p && /* @__PURE__ */ e.jsx(
|
|
596
|
+
"ul",
|
|
597
|
+
{
|
|
598
|
+
className: Y.langMenu,
|
|
599
|
+
role: "listbox",
|
|
600
|
+
"aria-labelledby": "kundli-lang",
|
|
601
|
+
"aria-activedescendant": `kundli-lang-option-${a}`,
|
|
602
|
+
children: Ne.map((m) => /* @__PURE__ */ e.jsx(
|
|
603
|
+
"li",
|
|
604
|
+
{
|
|
605
|
+
id: `kundli-lang-option-${m}`,
|
|
606
|
+
role: "option",
|
|
607
|
+
"aria-selected": m === a,
|
|
608
|
+
className: Y.langOption,
|
|
609
|
+
onClick: () => {
|
|
610
|
+
o.analytics?.trackLanguageChangedFe?.({
|
|
611
|
+
newLanguage: m
|
|
612
|
+
}), i(m), h(!1);
|
|
613
|
+
},
|
|
614
|
+
children: ce[m]
|
|
615
|
+
},
|
|
616
|
+
m
|
|
617
|
+
))
|
|
618
|
+
}
|
|
619
|
+
)
|
|
620
|
+
] }) : null, N = (m) => {
|
|
621
|
+
const w = m.currentTarget.innerText?.trim() ?? c("ctaButtonAfter");
|
|
622
|
+
o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: w }), r(), o.onCtaClick?.();
|
|
623
|
+
}, x = Z(
|
|
624
|
+
(m) => {
|
|
625
|
+
o.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
626
|
+
section: m,
|
|
627
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
628
|
+
});
|
|
629
|
+
},
|
|
630
|
+
[o.analytics]
|
|
631
|
+
);
|
|
632
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${Y.container} ${n}`, children: [
|
|
633
|
+
/* @__PURE__ */ e.jsx(
|
|
634
|
+
Pe,
|
|
635
|
+
{
|
|
636
|
+
t: c,
|
|
637
|
+
logoUrl: o.logoUrl,
|
|
638
|
+
languageSelector: T
|
|
639
|
+
}
|
|
640
|
+
),
|
|
641
|
+
/* @__PURE__ */ e.jsxs("main", { className: Y.main, children: [
|
|
642
|
+
/* @__PURE__ */ e.jsx(
|
|
643
|
+
K,
|
|
644
|
+
{
|
|
645
|
+
section: "hero",
|
|
646
|
+
onImpression: x,
|
|
647
|
+
children: /* @__PURE__ */ e.jsx(Le, { t: c })
|
|
648
|
+
}
|
|
649
|
+
),
|
|
650
|
+
/* @__PURE__ */ e.jsx(
|
|
651
|
+
K,
|
|
652
|
+
{
|
|
653
|
+
section: "premium_report_overview",
|
|
654
|
+
onImpression: x,
|
|
655
|
+
children: /* @__PURE__ */ e.jsx(
|
|
656
|
+
Te,
|
|
657
|
+
{
|
|
658
|
+
t: c,
|
|
659
|
+
reportImageUrl: o.reportImageUrl,
|
|
660
|
+
reportImagePriority: o.reportImagePriority,
|
|
661
|
+
backgroundImagePriority: o.backgroundImagePriority,
|
|
662
|
+
analytics: o.analytics,
|
|
663
|
+
utmBannerImageUrl: u,
|
|
664
|
+
utmBannerAltText: ""
|
|
665
|
+
}
|
|
666
|
+
)
|
|
667
|
+
}
|
|
668
|
+
),
|
|
669
|
+
/* @__PURE__ */ e.jsx(
|
|
670
|
+
K,
|
|
671
|
+
{
|
|
672
|
+
section: "university_certification",
|
|
673
|
+
onImpression: x,
|
|
674
|
+
children: /* @__PURE__ */ e.jsx(
|
|
675
|
+
Se,
|
|
676
|
+
{
|
|
677
|
+
t: c,
|
|
678
|
+
logoUrl: o.universityLogoUrls?.find(
|
|
679
|
+
(m) => !!m
|
|
680
|
+
)
|
|
681
|
+
}
|
|
682
|
+
)
|
|
683
|
+
}
|
|
684
|
+
),
|
|
685
|
+
/* @__PURE__ */ e.jsx(
|
|
686
|
+
K,
|
|
687
|
+
{
|
|
688
|
+
section: "three_steps_process",
|
|
689
|
+
onImpression: x,
|
|
690
|
+
children: /* @__PURE__ */ e.jsx(Fe, { t: c, locale: a, isGlobal: o.isGlobal })
|
|
691
|
+
}
|
|
692
|
+
),
|
|
693
|
+
/* @__PURE__ */ e.jsx(
|
|
694
|
+
K,
|
|
695
|
+
{
|
|
696
|
+
section: "view_sample_report",
|
|
697
|
+
onImpression: x,
|
|
698
|
+
children: /* @__PURE__ */ e.jsx(
|
|
699
|
+
ge,
|
|
700
|
+
{
|
|
701
|
+
t: c,
|
|
702
|
+
pdfUrl: o.sampleReportHref,
|
|
703
|
+
onClick: o.onViewSampleReport,
|
|
704
|
+
analytics: o.analytics
|
|
705
|
+
}
|
|
706
|
+
)
|
|
707
|
+
}
|
|
708
|
+
),
|
|
709
|
+
/* @__PURE__ */ e.jsx(
|
|
710
|
+
K,
|
|
711
|
+
{
|
|
712
|
+
section: "what_youll_find",
|
|
713
|
+
onImpression: x,
|
|
714
|
+
children: /* @__PURE__ */ e.jsx(Ee, { t: c })
|
|
715
|
+
}
|
|
716
|
+
),
|
|
717
|
+
/* @__PURE__ */ e.jsx(
|
|
718
|
+
K,
|
|
719
|
+
{
|
|
720
|
+
section: "why_us",
|
|
721
|
+
onImpression: x,
|
|
722
|
+
children: /* @__PURE__ */ e.jsx(Ae, { t: c })
|
|
723
|
+
}
|
|
724
|
+
),
|
|
725
|
+
/* @__PURE__ */ e.jsx(
|
|
726
|
+
K,
|
|
727
|
+
{
|
|
728
|
+
section: "feedback",
|
|
729
|
+
onImpression: x,
|
|
730
|
+
children: /* @__PURE__ */ e.jsx(
|
|
731
|
+
De,
|
|
732
|
+
{
|
|
733
|
+
t: c,
|
|
734
|
+
readMoreHref: o.readMoreReviewsHref,
|
|
735
|
+
onReadMore: o.analytics?.trackReadMoreReviewsClicked ? () => o.analytics.trackReadMoreReviewsClicked() : void 0
|
|
736
|
+
}
|
|
737
|
+
)
|
|
738
|
+
}
|
|
739
|
+
),
|
|
740
|
+
/* @__PURE__ */ e.jsx(
|
|
741
|
+
K,
|
|
742
|
+
{
|
|
743
|
+
section: "faq",
|
|
744
|
+
onImpression: x,
|
|
745
|
+
children: /* @__PURE__ */ e.jsx(Ue, { t: c })
|
|
746
|
+
}
|
|
747
|
+
),
|
|
748
|
+
/* @__PURE__ */ e.jsx(
|
|
749
|
+
K,
|
|
750
|
+
{
|
|
751
|
+
section: "contact_us",
|
|
752
|
+
onImpression: x,
|
|
753
|
+
children: /* @__PURE__ */ e.jsx($e, { t: c })
|
|
754
|
+
}
|
|
755
|
+
)
|
|
756
|
+
] }),
|
|
757
|
+
/* @__PURE__ */ e.jsx(
|
|
758
|
+
Pt,
|
|
759
|
+
{
|
|
760
|
+
t: c,
|
|
761
|
+
ctaHref: o.ctaHref,
|
|
762
|
+
onCtaClick: o.ctaHref ? void 0 : N
|
|
763
|
+
}
|
|
764
|
+
)
|
|
765
|
+
] });
|
|
766
|
+
}
|
|
767
|
+
const Ot = ({
|
|
768
|
+
className: n = "",
|
|
769
|
+
locale: t,
|
|
770
|
+
showLanguageSelector: a = !0,
|
|
771
|
+
showSheet: i,
|
|
772
|
+
userId: o,
|
|
773
|
+
isGlobal: r,
|
|
774
|
+
googleMapsApiKey: u,
|
|
775
|
+
atlasSearchLocalities: p,
|
|
776
|
+
googleMapsAutocompleteEnabled: h,
|
|
777
|
+
logoUrl: s,
|
|
778
|
+
reportImageUrl: g,
|
|
779
|
+
universityLogoUrls: b,
|
|
780
|
+
sampleReportHref: c,
|
|
781
|
+
onViewSampleReport: j,
|
|
782
|
+
ctaHref: v,
|
|
783
|
+
onCtaClick: T,
|
|
784
|
+
readMoreReviewsHref: N,
|
|
785
|
+
onProceed: x,
|
|
786
|
+
onProceedGuidance: m,
|
|
787
|
+
proceedHref: w,
|
|
788
|
+
originalPriceLabel: C,
|
|
789
|
+
discountedPriceLabel: A,
|
|
790
|
+
discountPillLabel: U,
|
|
791
|
+
analytics: S,
|
|
792
|
+
onLocaleChange: $,
|
|
793
|
+
resolvedUtmBannerImageUrl: B
|
|
794
|
+
}) => /* @__PURE__ */ e.jsx(
|
|
795
|
+
Ce,
|
|
796
|
+
{
|
|
797
|
+
locale: t,
|
|
798
|
+
showLanguageSelector: a,
|
|
799
|
+
showSheet: i,
|
|
800
|
+
userId: o,
|
|
801
|
+
isGlobal: r,
|
|
802
|
+
googleMapsApiKey: u,
|
|
803
|
+
atlasSearchLocalities: p,
|
|
804
|
+
googleMapsAutocompleteEnabled: h,
|
|
805
|
+
logoUrl: s,
|
|
806
|
+
reportImageUrl: g,
|
|
807
|
+
universityLogoUrls: b,
|
|
808
|
+
sampleReportHref: c,
|
|
809
|
+
onViewSampleReport: j,
|
|
810
|
+
ctaHref: v,
|
|
811
|
+
onCtaClick: T,
|
|
812
|
+
readMoreReviewsHref: N,
|
|
813
|
+
onProceed: x,
|
|
814
|
+
onProceedGuidance: m,
|
|
815
|
+
proceedHref: w,
|
|
816
|
+
originalPriceLabel: C,
|
|
817
|
+
discountedPriceLabel: A,
|
|
818
|
+
discountPillLabel: U,
|
|
819
|
+
analytics: S,
|
|
820
|
+
onLocaleChange: $,
|
|
821
|
+
resolvedUtmBannerImageUrl: B,
|
|
822
|
+
children: /* @__PURE__ */ e.jsx(Bt, { className: n })
|
|
823
|
+
}
|
|
824
|
+
), qt = "_container_1b9qe_1", Kt = "_main_1b9qe_6", Qt = "_langDropdownWrap_1b9qe_12", Ht = "_langTrigger_1b9qe_16", Gt = "_langIcon_1b9qe_28", Wt = "_langLabel_1b9qe_35", zt = "_langMenu_1b9qe_40", Vt = "_langOption_1b9qe_46", Yt = "_inlineFormWrap_1b9qe_57", Xt = "_inlineProceedFooter_1b9qe_74", Q = {
|
|
825
|
+
container: qt,
|
|
826
|
+
main: Kt,
|
|
827
|
+
langDropdownWrap: Qt,
|
|
828
|
+
langTrigger: Ht,
|
|
829
|
+
langIcon: Gt,
|
|
830
|
+
langLabel: Wt,
|
|
831
|
+
langMenu: zt,
|
|
832
|
+
langOption: Vt,
|
|
833
|
+
inlineFormWrap: Yt,
|
|
834
|
+
inlineProceedFooter: Xt
|
|
835
|
+
}, Be = [
|
|
836
|
+
{
|
|
837
|
+
id: "samiksha",
|
|
838
|
+
name: "Acharya Rama Sarma",
|
|
839
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1781527417602.webp",
|
|
840
|
+
experience: "21+ Years of experience",
|
|
841
|
+
languages: ["Hindi", "English", "Telugu"],
|
|
842
|
+
certifications: [
|
|
843
|
+
"Certified Jyotish Acharya",
|
|
844
|
+
"Guaranteed accurate solutions"
|
|
845
|
+
]
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
id: "jyoti",
|
|
849
|
+
name: "Astro Neeraj",
|
|
850
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1781527490353.webp",
|
|
851
|
+
experience: "21+ Years of experience",
|
|
852
|
+
languages: ["Hindi", "English"],
|
|
853
|
+
certifications: [
|
|
854
|
+
"21+ Years Vedic Astrology",
|
|
855
|
+
"Result-Oriented Spiritual Guidance"
|
|
856
|
+
]
|
|
857
|
+
}
|
|
858
|
+
], ye = {
|
|
859
|
+
en: {
|
|
860
|
+
planSheetTitle: "Choose your Kundli Plan",
|
|
861
|
+
planProceedToPayment: "Proceed to Payment",
|
|
862
|
+
planSelectConsultationSlot: "Select consultation slot →",
|
|
863
|
+
planAstrologerHeading: "Top astrologers who will consult you",
|
|
864
|
+
planMostPopular: "Most popular",
|
|
865
|
+
planNew: "New",
|
|
866
|
+
planLimitedTimeCombo: "Limited-Time Combo",
|
|
867
|
+
planNameBasic: "Kundli Report",
|
|
868
|
+
planNameQuestion: "Kundli + 1 Question",
|
|
869
|
+
planNameGuidance: "Kundli + Consultation",
|
|
870
|
+
planSaveLabel: "Save ~25%",
|
|
871
|
+
planFeatureDetailedInsights: "Detailed insights on love, marriage, career, health & finances",
|
|
872
|
+
planFeaturePracticalRemedies: "Practical remedies like gemstones, rudraksha & mantras",
|
|
873
|
+
planFeatureClearLanguage: "Clear, easy-to-understand language by expert astrologers",
|
|
874
|
+
planFeatureAstrologyConsultant: "Astrology consultant",
|
|
875
|
+
planFeaturePersonalizedReading: "Personalized reading",
|
|
876
|
+
planFeatureIncludesPremium: "Includes everything in the Premium Personalized Kundli",
|
|
877
|
+
planFeatureExpertAnswers: "PLUS: Personalized answer, remedies and timelines from an expert astrologer",
|
|
878
|
+
planFeatureFollowUpQuestions: "Go deeper into asking follow up questions",
|
|
879
|
+
planFeatureNoConsultation: "No personal consultation call",
|
|
880
|
+
planFeaturePlusConsultation: "PLUS: A 30-minute private consultation with an expert astrologer",
|
|
881
|
+
planFeatureRealTimeAnswers: "Get real-time answers & guidance for your biggest life concerns",
|
|
882
|
+
planFeatureTailoredRemedies: "Remedies & timelines tailored to your unique birth chart",
|
|
883
|
+
planQuestionLabel: "Ask your Question",
|
|
884
|
+
planQuestionHeader: "Ask our top astrologers",
|
|
885
|
+
planQuestionPlaceholder: "Ask follow up question",
|
|
886
|
+
planQuestionHint: "Please enter your question to continue.",
|
|
887
|
+
planQuestionChip1: "When will I get married?",
|
|
888
|
+
planQuestionChip2: "When will I grow in my career?",
|
|
889
|
+
planQuestionChip3: "Are there any doshas which is affecting me?",
|
|
890
|
+
planQuestionChip4: "Is my current job right for me?",
|
|
891
|
+
planAstrologerExp: "{{years}} Years of experience",
|
|
892
|
+
// Consultation Slot Modal
|
|
893
|
+
planConsultationSlotTitle: "Select consultation slot",
|
|
894
|
+
planConsultationTrustLabel: "3,750+ people have booked consultation",
|
|
895
|
+
planSelectSlotHeading: "Select consultation slot",
|
|
896
|
+
planGuidanceHeading: "What would you like guidance on?",
|
|
897
|
+
planPeriodMorning: "Morning",
|
|
898
|
+
planPeriodAfternoon: "Afternoon",
|
|
899
|
+
planPeriodEvening: "Evening",
|
|
900
|
+
planPeriodEveningNight: "Evening/Night",
|
|
901
|
+
planTopicCareerWork: "Career & work",
|
|
902
|
+
planTopicHealthWellbeing: "Health & wellbeing",
|
|
903
|
+
planTopicLoveMarriage: "Love & marriage",
|
|
904
|
+
planTopicMoneyFinance: "Money & finance"
|
|
905
|
+
},
|
|
906
|
+
hi: {
|
|
907
|
+
planSheetTitle: "अपनी कुंडली प्लान चुनें",
|
|
908
|
+
planProceedToPayment: "पेमेंट करें",
|
|
909
|
+
planSelectConsultationSlot: "परामर्श स्लॉट चुनें →",
|
|
910
|
+
planAstrologerHeading: "हम आपके लिए नीचे दिए गए टॉप ज्योतिषियों में से एक को चुनेंगे",
|
|
911
|
+
planMostPopular: "सबसे लोकप्रिय",
|
|
912
|
+
planNew: "नया",
|
|
913
|
+
planLimitedTimeCombo: "सीमित समय ऑफर",
|
|
914
|
+
planNameBasic: "कुंडली रिपोर्ट",
|
|
915
|
+
planNameQuestion: "कुंडली + 1 सवाल",
|
|
916
|
+
planNameGuidance: "कुंडली रिपोर्ट + ज्योतिषी से बात",
|
|
917
|
+
planSaveLabel: "~25% बचाएं",
|
|
918
|
+
planFeatureDetailedInsights: "प्यार, विवाह, करियर, स्वास्थ्य और वित्त पर गहरी जानकारी",
|
|
919
|
+
planFeaturePracticalRemedies: "रत्न, रुद्राक्ष और मंत्रों जैसे व्यावहारिक उपाय",
|
|
920
|
+
planFeatureClearLanguage: "विशेषज्ञ ज्योतिषियों द्वारा स्पष्ट और आसान भाषा में",
|
|
921
|
+
planFeatureAstrologyConsultant: "ज्योतिषी से बात नहीं होगी",
|
|
922
|
+
planFeaturePersonalizedReading: "आपके लिए खास रीडिंग",
|
|
923
|
+
planFeatureIncludesPremium: "प्रीमियम कुंडली रिपोर्ट में जो कुछ भी है, सब मिलेगा",
|
|
924
|
+
planFeatureExpertAnswers: "PLUS: विशेषज्ञ ज्योतिषी से व्यक्तिगत जवाब, उपाय और समयरेखा पाएं",
|
|
925
|
+
planFeatureFollowUpQuestions: "आगे के सवाल पूछने की सुविधा",
|
|
926
|
+
planFeatureNoConsultation: "कोई व्यक्तिगत परामर्श कॉल नहीं",
|
|
927
|
+
planFeaturePlusConsultation: "साथ ही: एक अनुभवी ज्योतिषी से 30 मिनट की प्राइवेट बात",
|
|
928
|
+
planFeatureRealTimeAnswers: "अपनी सबसे बड़ी परेशानियों का सीधा जवाब और सही सलाह पाएं",
|
|
929
|
+
planFeatureTailoredRemedies: "आपकी कुंडली के हिसाब से उपाय और सही समय की जानकारी",
|
|
930
|
+
planQuestionLabel: "अपना सवाल पूछें",
|
|
931
|
+
planQuestionHeader: "अपने सवाल हमारे टॉप ज्योतिषियों से पूछें",
|
|
932
|
+
planQuestionPlaceholder: "फॉलो अप सवाल लिखें",
|
|
933
|
+
planQuestionHint: "जारी रखने के लिए अपना सवाल लिखें।",
|
|
934
|
+
planQuestionChip1: "मेरी शादी कब होगी?",
|
|
935
|
+
planQuestionChip2: "मेरा करियर कब बेहतर होगा?",
|
|
936
|
+
planQuestionChip3: "क्या कोई दोष है जो मुझे प्रभावित कर रहा है?",
|
|
937
|
+
planQuestionChip4: "क्या मेरी मौजूदा नौकरी मेरे लिए सही है?",
|
|
938
|
+
planAstrologerExp: "साल का अनुभव",
|
|
939
|
+
// Consultation Slot Modal
|
|
940
|
+
planConsultationSlotTitle: "परामर्श स्लॉट चुनें",
|
|
941
|
+
planConsultationTrustLabel: "3,750+ लोगों ने परामर्श बुक किया है",
|
|
942
|
+
planSelectSlotHeading: "परामर्श स्लॉट चुनें",
|
|
943
|
+
planGuidanceHeading: "आप किस बारे में सलाह चाहते हैं?",
|
|
944
|
+
planPeriodMorning: "सुबह",
|
|
945
|
+
planPeriodAfternoon: "दोपहर",
|
|
946
|
+
planPeriodEvening: "शाम",
|
|
947
|
+
planPeriodEveningNight: "शाम/रात",
|
|
948
|
+
planTopicCareerWork: "करियर और काम",
|
|
949
|
+
planTopicHealthWellbeing: "सेहत और खुशहाली",
|
|
950
|
+
planTopicLoveMarriage: "प्यार और शादी",
|
|
951
|
+
planTopicMoneyFinance: "पैसा और वित्त"
|
|
952
|
+
}
|
|
953
|
+
}, Jt = (n) => [
|
|
954
|
+
{
|
|
955
|
+
id: "kundli-report",
|
|
956
|
+
title: "planNameBasic",
|
|
957
|
+
price: n ? "$25" : "₹499",
|
|
958
|
+
features: [
|
|
959
|
+
{ text: "planFeatureDetailedInsights", included: !0 },
|
|
960
|
+
{ text: "planFeaturePracticalRemedies", included: !0 },
|
|
961
|
+
{ text: "planFeatureClearLanguage", included: !0 },
|
|
962
|
+
{ text: "planFeatureAstrologyConsultant", included: !1 },
|
|
963
|
+
{ text: "planFeaturePersonalizedReading", included: !1 }
|
|
964
|
+
]
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
id: "kundli-report-question",
|
|
968
|
+
title: "planNameQuestion",
|
|
969
|
+
price: n ? "$31" : "₹899",
|
|
970
|
+
supportsQuestion: !0,
|
|
971
|
+
newBadge: "planLimitedTimeCombo",
|
|
972
|
+
features: [
|
|
973
|
+
{ text: "planFeatureIncludesPremium", included: !0 },
|
|
974
|
+
{ text: "planFeatureExpertAnswers", included: !0 },
|
|
975
|
+
{ text: "planFeatureNoConsultation", included: !1 }
|
|
976
|
+
]
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
id: "kundli-report-astrologer",
|
|
980
|
+
title: "planNameGuidance",
|
|
981
|
+
price: n ? "$41" : "₹999",
|
|
982
|
+
originalPrice: n ? "$25+$25" : "₹499+₹850",
|
|
983
|
+
savingsLabel: "planSaveLabel",
|
|
984
|
+
badge: "planMostPopular",
|
|
985
|
+
features: [
|
|
986
|
+
{ text: "planFeatureIncludesPremium", included: !0 },
|
|
987
|
+
{ text: "planFeaturePlusConsultation", included: !0 },
|
|
988
|
+
{ text: "planFeatureRealTimeAnswers", included: !0 },
|
|
989
|
+
{ text: "planFeatureTailoredRemedies", included: !0 }
|
|
990
|
+
],
|
|
991
|
+
astrologers: Be.filter(
|
|
992
|
+
(a) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(a.id)
|
|
993
|
+
)
|
|
994
|
+
}
|
|
995
|
+
], ve = [
|
|
996
|
+
"planQuestionChip1",
|
|
997
|
+
"planQuestionChip2",
|
|
998
|
+
"planQuestionChip3",
|
|
999
|
+
"planQuestionChip4"
|
|
1000
|
+
];
|
|
1001
|
+
Be.slice(0, 3).map((n) => ({
|
|
1002
|
+
id: n.id,
|
|
1003
|
+
imageUrl: n.imageUrl,
|
|
1004
|
+
name: n.name
|
|
1005
|
+
}));
|
|
1006
|
+
const Zt = 5e3, ea = 84, na = `
|
|
1007
|
+
@keyframes three-sku-slide-up {
|
|
1008
|
+
from { transform: translateY(100%); opacity: 0; }
|
|
1009
|
+
to { transform: translateY(0); opacity: 1; }
|
|
1010
|
+
}
|
|
1011
|
+
@keyframes three-sku-shimmer {
|
|
1012
|
+
0% { left: -75%; }
|
|
1013
|
+
60% { left: 125%; }
|
|
1014
|
+
100% { left: 125%; }
|
|
1015
|
+
}
|
|
1016
|
+
`, ta = ({ title: n, onClose: t }) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 px-4 pt-3 pb-1 sticky top-0 bg-white z-[2]", children: [
|
|
1017
|
+
/* @__PURE__ */ e.jsx(
|
|
1018
|
+
"button",
|
|
1019
|
+
{
|
|
1020
|
+
type: "button",
|
|
1021
|
+
onClick: t,
|
|
1022
|
+
"aria-label": "Go back",
|
|
1023
|
+
className: "w-8 h-8 rounded-full bg-transparent border-0 flex items-center justify-center text-gray-700 hover:bg-gray-100",
|
|
1024
|
+
children: /* @__PURE__ */ e.jsx(Oe, {})
|
|
1025
|
+
}
|
|
1026
|
+
),
|
|
1027
|
+
/* @__PURE__ */ e.jsx("h2", { className: "flex-1 text-[16px] font-bold text-gray-900 m-0 pr-8", children: n })
|
|
1028
|
+
] }), aa = () => /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx("path", { d: "M8 1.5C11.5901 1.5 14.5 4.40986 14.5 8C14.5 11.5901 11.5901 14.5 8 14.5C4.40986 14.5 1.5 11.5901 1.5 8C1.5 4.40986 4.40986 1.5 8 1.5ZM11.71 5.6709C11.5284 5.46331 11.2128 5.44187 11.0049 5.62305L6.75 9.33594L4.99609 7.80469C4.78809 7.62318 4.47163 7.64562 4.29004 7.85352C4.10887 8.06152 4.13011 8.37711 4.33789 8.55859L6.42188 10.377C6.61019 10.5409 6.89091 10.5411 7.0791 10.377L11.6621 6.37695C11.8699 6.1954 11.8913 5.87889 11.71 5.6709Z", fill: "#159169" }) }), sa = () => /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx("path", { d: "M8 1.38086C11.6558 1.38086 14.619 4.34424 14.6191 8C14.6191 11.6559 11.6559 14.6191 8 14.6191C4.34424 14.619 1.38086 11.6558 1.38086 8C1.38101 4.34433 4.34433 1.38101 8 1.38086ZM11.1055 4.89648C10.8637 4.65473 10.4712 4.65473 10.2295 4.89648L8 7.125L5.77148 4.89648C5.52973 4.65473 5.13824 4.65473 4.89648 4.89648C4.65473 5.13824 4.65473 5.52973 4.89648 5.77148L7.125 8L4.89648 10.2295C4.65473 10.4712 4.65473 10.8637 4.89648 11.1055C5.13819 11.3464 5.52994 11.3467 5.77148 11.1055L8 8.87598L10.2295 11.1055C10.4713 11.3467 10.8639 11.347 11.1055 11.1055C11.347 10.8639 11.3467 10.4713 11.1055 10.2295L8.87598 8L11.1055 5.77148C11.3467 5.52994 11.3464 5.13819 11.1055 4.89648Z", fill: "#D93640" }) }), oa = () => /* @__PURE__ */ e.jsxs(
|
|
1029
|
+
"svg",
|
|
1030
|
+
{
|
|
1031
|
+
width: "14",
|
|
1032
|
+
height: "14",
|
|
1033
|
+
viewBox: "0 0 24 24",
|
|
1034
|
+
fill: "none",
|
|
1035
|
+
stroke: "currentColor",
|
|
1036
|
+
strokeWidth: "2.5",
|
|
1037
|
+
strokeLinecap: "round",
|
|
1038
|
+
strokeLinejoin: "round",
|
|
1039
|
+
"aria-hidden": !0,
|
|
1040
|
+
children: [
|
|
1041
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
|
|
1042
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
1043
|
+
]
|
|
1044
|
+
}
|
|
1045
|
+
), ia = ({ plan: n, t }) => /* @__PURE__ */ e.jsx("div", { className: "rounded-2xl border border-gray-200 bg-white px-4 py-3 shadow-[0_2px_8px_rgba(17,24,39,0.06)]", children: /* @__PURE__ */ e.jsx("ul", { className: "list-none m-0 p-0 flex flex-col gap-2", "aria-label": "Plan features", children: n.features.map((a, i) => /* @__PURE__ */ e.jsxs("li", { className: "flex items-start gap-3", children: [
|
|
1046
|
+
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 mt-[1px]", children: a.included ? /* @__PURE__ */ e.jsx(aa, {}) : /* @__PURE__ */ e.jsx(sa, {}) }),
|
|
1047
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-[20px] text-gray-700", children: t(a.text) })
|
|
1048
|
+
] }, i)) }) }), la = ({
|
|
1049
|
+
chipKeys: n,
|
|
1050
|
+
t,
|
|
1051
|
+
onChipClick: a
|
|
1052
|
+
}) => {
|
|
1053
|
+
const i = Math.ceil(n.length / 2), o = [n.slice(0, i), n.slice(i)];
|
|
1054
|
+
return /* @__PURE__ */ e.jsx("div", { className: "overflow-x-auto pb-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", children: /* @__PURE__ */ e.jsx("div", { className: "inline-flex flex-col gap-2", children: o.map((r, u) => /* @__PURE__ */ e.jsx("div", { className: "flex gap-2", children: r.map((p) => /* @__PURE__ */ e.jsx(
|
|
1055
|
+
"button",
|
|
1056
|
+
{
|
|
1057
|
+
type: "button",
|
|
1058
|
+
className: "inline-flex w-auto px-3 py-2 rounded-full bg-[#F1F7FF] text-[#104DA6] text-[14px] font-medium cursor-pointer whitespace-nowrap active:opacity-70 transition-opacity",
|
|
1059
|
+
onClick: () => a(p, n.indexOf(p)),
|
|
1060
|
+
children: t(p)
|
|
1061
|
+
},
|
|
1062
|
+
p
|
|
1063
|
+
)) }, u)) }) });
|
|
1064
|
+
}, ra = ({
|
|
1065
|
+
textareaRef: n,
|
|
1066
|
+
value: t,
|
|
1067
|
+
label: a,
|
|
1068
|
+
placeholder: i,
|
|
1069
|
+
chipKeys: o,
|
|
1070
|
+
t: r,
|
|
1071
|
+
onFocus: u,
|
|
1072
|
+
onClick: p,
|
|
1073
|
+
onChange: h,
|
|
1074
|
+
onChipClick: s,
|
|
1075
|
+
onViewSample: g
|
|
1076
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: "mt-4 flex flex-col gap-2", children: [
|
|
1077
|
+
/* @__PURE__ */ e.jsx(
|
|
1078
|
+
"div",
|
|
1079
|
+
{
|
|
1080
|
+
className: "w-full h-px mb-2",
|
|
1081
|
+
style: {
|
|
1082
|
+
backgroundImage: "repeating-linear-gradient(to right, #D1D5DB, #D1D5DB 4px, transparent 4px, transparent 8px)"
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
),
|
|
1086
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
1087
|
+
/* @__PURE__ */ e.jsxs("label", { className: "text-[14px] font-semibold text-gray-900", htmlFor: "kundli-question", children: [
|
|
1088
|
+
a,
|
|
1089
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[#e05c2a] ml-0.5", children: "*" })
|
|
1090
|
+
] }),
|
|
1091
|
+
g && /* @__PURE__ */ e.jsxs(
|
|
1092
|
+
"button",
|
|
1093
|
+
{
|
|
1094
|
+
type: "button",
|
|
1095
|
+
onClick: g,
|
|
1096
|
+
className: "flex items-center gap-1 text-[13px] font-semibold text-[#e05c2a] underline underline-offset-2",
|
|
1097
|
+
children: [
|
|
1098
|
+
/* @__PURE__ */ e.jsxs("svg", { width: "13", height: "13", viewBox: "0 0 24 24", fill: "none", "aria-hidden": !0, children: [
|
|
1099
|
+
/* @__PURE__ */ e.jsx("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
1100
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "14 2 14 8 20 8", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
1101
|
+
/* @__PURE__ */ e.jsx("line", { x1: "16", y1: "13", x2: "8", y2: "13", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }),
|
|
1102
|
+
/* @__PURE__ */ e.jsx("line", { x1: "16", y1: "17", x2: "8", y2: "17", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" })
|
|
1103
|
+
] }),
|
|
1104
|
+
"View sample answer"
|
|
1105
|
+
]
|
|
1106
|
+
}
|
|
1107
|
+
)
|
|
1108
|
+
] }),
|
|
1109
|
+
/* @__PURE__ */ e.jsx(
|
|
1110
|
+
"textarea",
|
|
1111
|
+
{
|
|
1112
|
+
id: "kundli-question",
|
|
1113
|
+
ref: n,
|
|
1114
|
+
className: "w-full resize-none overflow-y-auto border-[1.5px] border-[#F99724] rounded-[10px] p-4 text-left align-top text-[14px] text-gray-900 leading-5 box-border outline-none focus:border-[#e05c2a] focus:shadow-[0_0_0_3px_rgba(224,92,42,0.12)] placeholder:text-left placeholder:text-gray-400",
|
|
1115
|
+
style: { height: "100px" },
|
|
1116
|
+
placeholder: i,
|
|
1117
|
+
value: t,
|
|
1118
|
+
onFocus: u,
|
|
1119
|
+
onClick: p,
|
|
1120
|
+
onChange: h
|
|
1121
|
+
}
|
|
1122
|
+
),
|
|
1123
|
+
/* @__PURE__ */ e.jsx(la, { chipKeys: o, t: r, onChipClick: s })
|
|
1124
|
+
] }), ca = "_card_62fy9_1", da = "_top_62fy9_15", ua = "_avatar_62fy9_21", pa = "_avatarPlaceholder_62fy9_38", ma = "_basicInfo_62fy9_44", ha = "_name_62fy9_51", ga = "_exp_62fy9_61", xa = "_langs_62fy9_62", fa = "_divider_62fy9_69", _a = "_certList_62fy9_75", ba = "_certItem_62fy9_81", ja = "_bullet_62fy9_90", E = {
|
|
1125
|
+
card: ca,
|
|
1126
|
+
top: da,
|
|
1127
|
+
avatar: ua,
|
|
1128
|
+
avatarPlaceholder: pa,
|
|
1129
|
+
basicInfo: ma,
|
|
1130
|
+
name: ha,
|
|
1131
|
+
exp: ga,
|
|
1132
|
+
langs: xa,
|
|
1133
|
+
divider: fa,
|
|
1134
|
+
certList: _a,
|
|
1135
|
+
certItem: ba,
|
|
1136
|
+
bullet: ja
|
|
1137
|
+
}, ya = ({ astrologer: n, t }) => /* @__PURE__ */ e.jsxs("div", { className: E.card, children: [
|
|
1138
|
+
/* @__PURE__ */ e.jsxs("div", { className: E.top, children: [
|
|
1139
|
+
/* @__PURE__ */ e.jsx("div", { className: E.avatar, "aria-hidden": !0, children: n.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: n.imageUrl, alt: t?.(n.name) ?? n.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: E.avatarPlaceholder, children: n.name.charAt(0) }) }),
|
|
1140
|
+
/* @__PURE__ */ e.jsxs("div", { className: E.basicInfo, children: [
|
|
1141
|
+
/* @__PURE__ */ e.jsx("p", { className: E.name, children: t?.(n.name) ?? n.name }),
|
|
1142
|
+
/* @__PURE__ */ e.jsx("p", { className: E.exp, children: t?.(n.experience) ?? n.experience }),
|
|
1143
|
+
n.languages && n.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: E.langs, children: n.languages.map((a) => t?.(a) ?? a).join(" • ") })
|
|
1144
|
+
] })
|
|
1145
|
+
] }),
|
|
1146
|
+
/* @__PURE__ */ e.jsx("div", { className: E.divider }),
|
|
1147
|
+
/* @__PURE__ */ e.jsx("div", { className: E.certList, children: n.certifications.map((a, i) => /* @__PURE__ */ e.jsxs("p", { className: E.certItem, children: [
|
|
1148
|
+
/* @__PURE__ */ e.jsx("span", { className: E.bullet, children: "✓" }),
|
|
1149
|
+
" ",
|
|
1150
|
+
t?.(a) ?? a
|
|
1151
|
+
] }, i)) })
|
|
1152
|
+
] }), va = ({
|
|
1153
|
+
astrologers: n,
|
|
1154
|
+
heading: t,
|
|
1155
|
+
t: a
|
|
1156
|
+
}) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1157
|
+
/* @__PURE__ */ e.jsx(
|
|
1158
|
+
"div",
|
|
1159
|
+
{
|
|
1160
|
+
className: "w-full h-px my-3",
|
|
1161
|
+
style: {
|
|
1162
|
+
backgroundImage: "repeating-linear-gradient(to right, #D1D5DB, #D1D5DB 4px, transparent 4px, transparent 8px)"
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
),
|
|
1166
|
+
/* @__PURE__ */ e.jsx("p", { className: "m-0 mt-4 text-[14px] font-semibold text-[#1D2125]", children: t }),
|
|
1167
|
+
/* @__PURE__ */ e.jsx(
|
|
1168
|
+
"div",
|
|
1169
|
+
{
|
|
1170
|
+
className: "flex overflow-x-auto gap-3 mt-3 pb-1 scroll-smooth [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
1171
|
+
role: "list",
|
|
1172
|
+
children: n.map((i, o) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(ya, { astrologer: i, t: a }) }, o))
|
|
1173
|
+
}
|
|
1174
|
+
)
|
|
1175
|
+
] }), wa = ({
|
|
1176
|
+
plans: n,
|
|
1177
|
+
selectedId: t,
|
|
1178
|
+
t: a,
|
|
1179
|
+
analytics: i,
|
|
1180
|
+
onSelectPlan: o
|
|
1181
|
+
}) => (
|
|
1182
|
+
/*
|
|
1183
|
+
* pt-[18px] reserves space for the badge that floats above the card.
|
|
1184
|
+
* Each card wrapper is `relative overflow-visible` so the badge can
|
|
1185
|
+
* sit above the card boundary without being clipped by the sheet's
|
|
1186
|
+
* overflow-hidden (the badge's nearest `overflow-hidden` ancestor is
|
|
1187
|
+
* now the sticky footer, not the sheet, which doesn't clip it).
|
|
1188
|
+
*/
|
|
1189
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex gap-2 pt-[18px] pb-3", role: "radiogroup", "aria-label": "Select plan", children: n.map((r) => /* @__PURE__ */ e.jsxs("div", { className: "flex-1 relative min-w-[106px]", children: [
|
|
1190
|
+
r.badge && /* @__PURE__ */ e.jsxs("span", { className: "absolute -top-[18px] left-0 right-0 inline-flex items-center justify-center gap-1 whitespace-nowrap rounded-t-xl bg-[linear-gradient(180deg,#751139_0%,#D51F68_100%)] px-2 py-[6px] text-[11px] font-bold text-white z-10", children: [
|
|
1191
|
+
/* @__PURE__ */ e.jsx(oa, {}),
|
|
1192
|
+
a(r.badge)
|
|
1193
|
+
] }),
|
|
1194
|
+
/* @__PURE__ */ e.jsxs(
|
|
1195
|
+
"button",
|
|
1196
|
+
{
|
|
1197
|
+
type: "button",
|
|
1198
|
+
role: "radio",
|
|
1199
|
+
"aria-checked": r.id === t,
|
|
1200
|
+
className: [
|
|
1201
|
+
"relative w-full flex flex-col items-center justify-center gap-1 px-1 pt-3 pb-6 min-h-[125px] rounded-xl border-[1.5px] cursor-pointer text-center outline-none transition-colors overflow-hidden",
|
|
1202
|
+
r.id === t ? "border-[#e05c2a] bg-[#fff8f4]" : "border-gray-200 bg-white"
|
|
1203
|
+
].join(" "),
|
|
1204
|
+
onClick: () => {
|
|
1205
|
+
i?.trackPlanSelected?.({ planId: r.id, planName: r.title }), o(r);
|
|
1206
|
+
},
|
|
1207
|
+
children: [
|
|
1208
|
+
/* @__PURE__ */ e.jsx(
|
|
1209
|
+
"span",
|
|
1210
|
+
{
|
|
1211
|
+
className: `text-[14px] leading-snug ${r.id === t ? "font-bold text-gray-900" : "font-semibold text-gray-600"}`,
|
|
1212
|
+
children: a(r.title)
|
|
1213
|
+
}
|
|
1214
|
+
),
|
|
1215
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[15px] font-bold text-[#1D2125] leading-tight", children: r.price }),
|
|
1216
|
+
r.newBadge && /* @__PURE__ */ e.jsxs(
|
|
1217
|
+
"span",
|
|
1218
|
+
{
|
|
1219
|
+
className: "absolute bottom-[6px] left-0 right-0 inline-flex items-center justify-center gap-[3px] text-[10px] font-bold leading-tight",
|
|
1220
|
+
style: {
|
|
1221
|
+
background: "linear-gradient(90deg, #793F15 0%, #E1561F 100%)",
|
|
1222
|
+
WebkitBackgroundClip: "text",
|
|
1223
|
+
WebkitTextFillColor: "transparent",
|
|
1224
|
+
backgroundClip: "text"
|
|
1225
|
+
},
|
|
1226
|
+
children: [
|
|
1227
|
+
"⏳ ",
|
|
1228
|
+
a(r.newBadge)
|
|
1229
|
+
]
|
|
1230
|
+
}
|
|
1231
|
+
)
|
|
1232
|
+
]
|
|
1233
|
+
}
|
|
1234
|
+
)
|
|
1235
|
+
] }, r.id)) })
|
|
1236
|
+
), Ca = ({
|
|
1237
|
+
canProceed: n,
|
|
1238
|
+
label: t,
|
|
1239
|
+
showDisabledHint: a,
|
|
1240
|
+
hintText: i,
|
|
1241
|
+
onClick: o
|
|
1242
|
+
}) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1243
|
+
a && /* @__PURE__ */ e.jsx("p", { className: "m-0 mb-2 text-xs text-[#e05c2a] text-center", role: "alert", children: i }),
|
|
1244
|
+
/* @__PURE__ */ e.jsxs(
|
|
1245
|
+
"button",
|
|
1246
|
+
{
|
|
1247
|
+
className: [
|
|
1248
|
+
"relative overflow-hidden w-full h-[50px] rounded-[14px] border-0 text-white text-[17px] font-bold cursor-pointer flex items-center justify-center transition-all duration-200",
|
|
1249
|
+
n ? "bg-gradient-to-b from-[#F97316] to-[#EA580C] shadow-[0_6px_14px_rgba(234,88,12,0.25)] hover:from-[#fb923c] hover:to-[#f97316] active:scale-[0.98] active:shadow-[0_3px_8px_rgba(234,88,12,0.2)]" : "bg-gray-300 text-gray-400 shadow-none cursor-not-allowed"
|
|
1250
|
+
].join(" "),
|
|
1251
|
+
style: { fontFamily: "inherit" },
|
|
1252
|
+
"aria-disabled": !n,
|
|
1253
|
+
onClick: o,
|
|
1254
|
+
children: [
|
|
1255
|
+
n && /* @__PURE__ */ e.jsx(
|
|
1256
|
+
"span",
|
|
1257
|
+
{
|
|
1258
|
+
className: "absolute top-0 w-1/2 h-full pointer-events-none",
|
|
1259
|
+
"aria-hidden": "true",
|
|
1260
|
+
style: {
|
|
1261
|
+
background: "linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%)",
|
|
1262
|
+
transform: "skewX(-20deg)",
|
|
1263
|
+
animation: "three-sku-shimmer 3s ease-in-out infinite",
|
|
1264
|
+
left: "-75%"
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
),
|
|
1268
|
+
/* @__PURE__ */ e.jsx("span", { className: "relative z-[1]", children: t })
|
|
1269
|
+
]
|
|
1270
|
+
}
|
|
1271
|
+
)
|
|
1272
|
+
] }), ka = ({
|
|
1273
|
+
isOpen: n,
|
|
1274
|
+
onClose: t,
|
|
1275
|
+
selectedPlan: a,
|
|
1276
|
+
onSelectPlan: i,
|
|
1277
|
+
plans: o,
|
|
1278
|
+
onProceed: r,
|
|
1279
|
+
locale: u = "en",
|
|
1280
|
+
t: p,
|
|
1281
|
+
analytics: h,
|
|
1282
|
+
isGlobal: s = !0,
|
|
1283
|
+
oneQuestionSampleHref: g,
|
|
1284
|
+
reportLanguage: b
|
|
1285
|
+
}) => {
|
|
1286
|
+
const c = Z((f) => (ye[u] ?? ye.en)[f] ?? p?.(f) ?? f, [u, p]), j = xe(() => o ?? Jt(s), [o, s]), v = a?.id || j.find((f) => f.badge)?.id || j[0]?.id || "", T = _(null), N = _(null), x = _(null), m = _(!1), [w, C] = I(""), [A, U] = I(!1), [S, $] = I("custom"), [B, ee] = I(null), [G, W] = I(!1), z = _(!1), X = _(null), [ne, V] = I(!1), d = xe(() => j.find((f) => f.id === v) ?? j[0], [j, v]), H = !!d?.supportsQuestion, ae = !!(d?.astrologers && d.astrologers.length > 0), de = !H || w.trim().length > 0, L = Z(() => {
|
|
1287
|
+
const f = X.current;
|
|
1288
|
+
f && (f.style.height = "auto", f.style.height = Math.max(100, Math.min(f.scrollHeight, ea)) + "px");
|
|
1289
|
+
}, []);
|
|
1290
|
+
k(() => {
|
|
1291
|
+
if (n) {
|
|
1292
|
+
if (!a) {
|
|
1293
|
+
const f = j.find((P) => P.badge) ?? j[0];
|
|
1294
|
+
f && i(f);
|
|
1295
|
+
}
|
|
1296
|
+
m.current || (h?.trackPlanPageViewed?.(), m.current = !0);
|
|
1297
|
+
} else
|
|
1298
|
+
m.current = !1;
|
|
1299
|
+
}, [n, j, a, i, h]), k(() => {
|
|
1300
|
+
if (!n) return;
|
|
1301
|
+
const f = document.body.style.overflow;
|
|
1302
|
+
return document.body.style.overflow = "hidden", () => {
|
|
1303
|
+
document.body.style.overflow = f;
|
|
1304
|
+
};
|
|
1305
|
+
}, [n]);
|
|
1306
|
+
const ue = () => {
|
|
1307
|
+
h?.trackPlanPageClosed?.(), t();
|
|
1308
|
+
}, l = (f) => {
|
|
1309
|
+
const P = N.current, oe = x.current;
|
|
1310
|
+
if (P && oe) {
|
|
1311
|
+
const pe = oe.getBoundingClientRect().top - P.getBoundingClientRect().top + P.scrollTop;
|
|
1312
|
+
P.scrollTo({ top: pe, behavior: "smooth" });
|
|
1313
|
+
}
|
|
1314
|
+
z.current || (z.current = !0, h?.trackQuestionTextboxClicked?.({
|
|
1315
|
+
entry_method: f,
|
|
1316
|
+
textbox_empty: w.length === 0
|
|
1317
|
+
}));
|
|
1318
|
+
}, F = (f) => {
|
|
1319
|
+
const P = f.target.value.slice(0, Zt);
|
|
1320
|
+
S === "chip" && P !== c(ve[B ?? 0]) && $("chip_edited"), C(P), L(), G && W(!1);
|
|
1321
|
+
}, M = (f, P) => {
|
|
1322
|
+
const oe = c(f), pe = w.length > 0 && S !== "chip";
|
|
1323
|
+
h?.trackPreSuggestedQuestionSelected?.({
|
|
1324
|
+
question_text_loaded: oe,
|
|
1325
|
+
chip_index: P,
|
|
1326
|
+
previous_chip_index: B,
|
|
1327
|
+
user_had_custom_text: pe
|
|
1328
|
+
}), C(oe), $("chip"), ee(P), z.current = !1, setTimeout(L, 0);
|
|
1329
|
+
}, se = () => {
|
|
1330
|
+
if (d) {
|
|
1331
|
+
if (H && !w.trim()) {
|
|
1332
|
+
W(!0);
|
|
1333
|
+
return;
|
|
1334
|
+
}
|
|
1335
|
+
if (ae) {
|
|
1336
|
+
h?.trackSelectConsultationSlotClicked?.({
|
|
1337
|
+
planId: d.id,
|
|
1338
|
+
planName: d.title
|
|
1339
|
+
}), h?.trackPlanProceedClicked?.({
|
|
1340
|
+
planId: d.id,
|
|
1341
|
+
planName: d.title,
|
|
1342
|
+
cta_type: "confirm_consultation_slot",
|
|
1343
|
+
next_step: "slot_selection"
|
|
1344
|
+
}), V(!0);
|
|
1345
|
+
return;
|
|
1346
|
+
}
|
|
1347
|
+
h?.trackPlanProceedClicked?.({
|
|
1348
|
+
planId: d.id,
|
|
1349
|
+
planName: d.title,
|
|
1350
|
+
price: d.price,
|
|
1351
|
+
currency: s ? "USD" : "INR",
|
|
1352
|
+
question_asked: H ? !0 : void 0,
|
|
1353
|
+
question_text: H ? w.trim() : void 0,
|
|
1354
|
+
question_source: H ? S : void 0,
|
|
1355
|
+
cta_type: "proceed",
|
|
1356
|
+
next_step: "payment"
|
|
1357
|
+
}), r(d, H ? w.trim() : void 0), t();
|
|
1358
|
+
}
|
|
1359
|
+
};
|
|
1360
|
+
return n ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1361
|
+
/* @__PURE__ */ e.jsx("style", { children: na }),
|
|
1362
|
+
/* @__PURE__ */ e.jsx(
|
|
1363
|
+
"div",
|
|
1364
|
+
{
|
|
1365
|
+
className: "fixed inset-0 z-[1000] bg-black/55 flex items-stretch justify-center",
|
|
1366
|
+
role: "dialog",
|
|
1367
|
+
"aria-modal": "true",
|
|
1368
|
+
"aria-label": c("planSheetTitle"),
|
|
1369
|
+
children: /* @__PURE__ */ e.jsxs(
|
|
1370
|
+
"div",
|
|
1371
|
+
{
|
|
1372
|
+
ref: T,
|
|
1373
|
+
className: "pt-3 w-full max-w-[480px] h-[100dvh] max-h-[100dvh] bg-white flex flex-col overflow-hidden",
|
|
1374
|
+
style: { animation: "three-sku-slide-up 0.28s cubic-bezier(0.32, 0.72, 0, 1)" },
|
|
1375
|
+
children: [
|
|
1376
|
+
/* @__PURE__ */ e.jsx(ta, { title: c("planSheetTitle"), onClose: ue }),
|
|
1377
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pt-4 pb-4", ref: N, children: [
|
|
1378
|
+
/* @__PURE__ */ e.jsx("h3", { className: "m-0 mb-3 text-[16px] font-bold leading-snug text-[#CF6C09]", children: c(d?.title ?? "") }),
|
|
1379
|
+
d && /* @__PURE__ */ e.jsx(ia, { plan: d, t: c }),
|
|
1380
|
+
H && /* @__PURE__ */ e.jsx("div", { ref: x, children: /* @__PURE__ */ e.jsx(
|
|
1381
|
+
ra,
|
|
1382
|
+
{
|
|
1383
|
+
textareaRef: X,
|
|
1384
|
+
value: w,
|
|
1385
|
+
label: c("planQuestionLabel"),
|
|
1386
|
+
placeholder: c("planQuestionPlaceholder"),
|
|
1387
|
+
chipKeys: ve,
|
|
1388
|
+
t: c,
|
|
1389
|
+
onFocus: () => l("keyboard_focus"),
|
|
1390
|
+
onClick: () => l("tap"),
|
|
1391
|
+
onChange: F,
|
|
1392
|
+
onChipClick: M,
|
|
1393
|
+
onViewSample: g ? () => {
|
|
1394
|
+
h?.trackOneQuestionViewSampleReportClicked?.(), U(!0);
|
|
1395
|
+
} : void 0
|
|
1396
|
+
}
|
|
1397
|
+
) }),
|
|
1398
|
+
d?.astrologers && d.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
|
|
1399
|
+
va,
|
|
1400
|
+
{
|
|
1401
|
+
astrologers: d.astrologers,
|
|
1402
|
+
heading: c("planAstrologerHeading"),
|
|
1403
|
+
t: c
|
|
1404
|
+
}
|
|
1405
|
+
)
|
|
1406
|
+
] }),
|
|
1407
|
+
/* @__PURE__ */ e.jsxs(
|
|
1408
|
+
"div",
|
|
1409
|
+
{
|
|
1410
|
+
className: "px-4 pt-3.5 bg-white border-t border-gray-100 sticky bottom-0 z-[5] overflow-visible",
|
|
1411
|
+
style: { paddingBottom: "calc(14px + env(safe-area-inset-bottom))" },
|
|
1412
|
+
children: [
|
|
1413
|
+
/* @__PURE__ */ e.jsx(
|
|
1414
|
+
wa,
|
|
1415
|
+
{
|
|
1416
|
+
plans: j,
|
|
1417
|
+
selectedId: v,
|
|
1418
|
+
t: c,
|
|
1419
|
+
analytics: h,
|
|
1420
|
+
onSelectPlan: i
|
|
1421
|
+
}
|
|
1422
|
+
),
|
|
1423
|
+
/* @__PURE__ */ e.jsx(
|
|
1424
|
+
Ca,
|
|
1425
|
+
{
|
|
1426
|
+
canProceed: de,
|
|
1427
|
+
label: c(ae ? "planSelectConsultationSlot" : "planProceedToPayment"),
|
|
1428
|
+
showDisabledHint: G,
|
|
1429
|
+
hintText: c("planQuestionHint"),
|
|
1430
|
+
onClick: se
|
|
1431
|
+
}
|
|
1432
|
+
)
|
|
1433
|
+
]
|
|
1434
|
+
}
|
|
1435
|
+
)
|
|
1436
|
+
]
|
|
1437
|
+
}
|
|
1438
|
+
)
|
|
1439
|
+
}
|
|
1440
|
+
),
|
|
1441
|
+
ae && d?.astrologers && /* @__PURE__ */ e.jsx(
|
|
1442
|
+
qe,
|
|
1443
|
+
{
|
|
1444
|
+
isOpen: ne,
|
|
1445
|
+
onClose: () => V(!1),
|
|
1446
|
+
astrologers: d.astrologers,
|
|
1447
|
+
t: c,
|
|
1448
|
+
analytics: h,
|
|
1449
|
+
reportLanguage: b,
|
|
1450
|
+
onProceed: (f) => {
|
|
1451
|
+
h?.trackPlanProceedClicked?.({
|
|
1452
|
+
planId: d.id,
|
|
1453
|
+
planName: d.title,
|
|
1454
|
+
price: d.price,
|
|
1455
|
+
currency: s ? "USD" : "INR",
|
|
1456
|
+
cta_type: "proceed",
|
|
1457
|
+
next_step: "payment"
|
|
1458
|
+
}), r(d, void 0, f), V(!1), t();
|
|
1459
|
+
}
|
|
1460
|
+
}
|
|
1461
|
+
),
|
|
1462
|
+
g && /* @__PURE__ */ e.jsx(
|
|
1463
|
+
Re,
|
|
1464
|
+
{
|
|
1465
|
+
isOpen: A,
|
|
1466
|
+
onClose: () => U(!1),
|
|
1467
|
+
title: "1 Question Sample Answer",
|
|
1468
|
+
pdfUrl: g
|
|
1469
|
+
}
|
|
1470
|
+
)
|
|
1471
|
+
] }) : null;
|
|
1472
|
+
}, Na = ({
|
|
1473
|
+
kundliReportSampleHref: n,
|
|
1474
|
+
analytics: t,
|
|
1475
|
+
s: a
|
|
1476
|
+
}) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1477
|
+
/* @__PURE__ */ e.jsx("h3", { className: "mt-5 mb-3 text-center text-[18px] font-bold leading-[1.1] text-[#f75e22] max-[380px]:text-[16px]", children: a.sampleReportsTitle }),
|
|
1478
|
+
/* @__PURE__ */ e.jsx(
|
|
1479
|
+
ge,
|
|
1480
|
+
{
|
|
1481
|
+
t: () => a.sampleLabelKundliReport.replace(`
|
|
1482
|
+
`, " "),
|
|
1483
|
+
pdfUrl: n,
|
|
1484
|
+
analytics: t,
|
|
1485
|
+
onClick: () => t?.trackKundliViewSampleImageClicked?.()
|
|
1486
|
+
}
|
|
1487
|
+
)
|
|
1488
|
+
] }), Pa = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", Ia = "https://srm-cdn.a4b.io/yoda/1781248337750.pdf", we = {
|
|
1489
|
+
en: {
|
|
1490
|
+
sectionTitle: "Kundli Packages for you",
|
|
1491
|
+
sampleReportsTitle: "View Sample Report",
|
|
1492
|
+
onlyFor: "Only for",
|
|
1493
|
+
uniqueFeatures: "Unique Features",
|
|
1494
|
+
popularBadge: "Popular",
|
|
1495
|
+
columnKundliReport: "Kundli Report",
|
|
1496
|
+
columnReportPlusQuestion: "Report + 1 Question",
|
|
1497
|
+
columnReportPlusQuestionSubtext: "(Answered by Astrologer)",
|
|
1498
|
+
columnReportPlusConsultation: "Report + 30 min consultation",
|
|
1499
|
+
sampleLabelKundliReport: "200+ page Kundli Report",
|
|
1500
|
+
sampleLabelOneQuestion: "1 Question Sample Report",
|
|
1501
|
+
rowLabels: [
|
|
1502
|
+
`Personalised
|
|
1503
|
+
Report`,
|
|
1504
|
+
`Remedies:
|
|
1505
|
+
gemstone,
|
|
1506
|
+
pujas`,
|
|
1507
|
+
`Detailed
|
|
1508
|
+
question to
|
|
1509
|
+
expert`,
|
|
1510
|
+
`Relationship
|
|
1511
|
+
manager`,
|
|
1512
|
+
`30-min
|
|
1513
|
+
astrologer
|
|
1514
|
+
call`
|
|
1515
|
+
]
|
|
1516
|
+
},
|
|
1517
|
+
hi: {
|
|
1518
|
+
sectionTitle: "आपके लिए कुंडली पैकेज",
|
|
1519
|
+
sampleReportsTitle: "सैम्पल रिपोर्ट देखें",
|
|
1520
|
+
onlyFor: "कीमत",
|
|
1521
|
+
uniqueFeatures: "खास सुविधाएं",
|
|
1522
|
+
popularBadge: "लोकप्रिय",
|
|
1523
|
+
columnKundliReport: "कुंडली रिपोर्ट",
|
|
1524
|
+
columnReportPlusQuestion: "रिपोर्ट + 1 सवाल",
|
|
1525
|
+
columnReportPlusQuestionSubtext: "(ज्योतिषी से जवाब)",
|
|
1526
|
+
columnReportPlusConsultation: "रिपोर्ट + 30 मिनट परामर्श",
|
|
1527
|
+
sampleLabelKundliReport: `200+ पेज की
|
|
1528
|
+
कुंडली रिपोर्ट`,
|
|
1529
|
+
sampleLabelOneQuestion: `1 सवाल वाली
|
|
1530
|
+
सैम्पल रिपोर्ट`,
|
|
1531
|
+
rowLabels: [
|
|
1532
|
+
`व्यक्तिगत
|
|
1533
|
+
रिपोर्ट`,
|
|
1534
|
+
`उपाय: रत्न,
|
|
1535
|
+
पूजा`,
|
|
1536
|
+
`विशेषज्ञ से
|
|
1537
|
+
विस्तृत सवाल`,
|
|
1538
|
+
`रिलेशनशिप
|
|
1539
|
+
मैनेजर`,
|
|
1540
|
+
`30 मिनट
|
|
1541
|
+
ज्योतिषी कॉल`
|
|
1542
|
+
]
|
|
1543
|
+
}
|
|
1544
|
+
}, La = (n) => we[n] ?? we.en, Ta = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Sa = (n, t) => Ie[n]?.[t] ?? t, Fa = 112;
|
|
1545
|
+
function D({
|
|
1546
|
+
section: n,
|
|
1547
|
+
children: t,
|
|
1548
|
+
onImpression: a
|
|
1549
|
+
}) {
|
|
1550
|
+
const i = _(null), o = _(!1);
|
|
1551
|
+
return k(() => {
|
|
1552
|
+
const r = i.current;
|
|
1553
|
+
if (!r) return;
|
|
1554
|
+
const u = new IntersectionObserver(
|
|
1555
|
+
([p]) => {
|
|
1556
|
+
!p?.isIntersecting || o.current || (o.current = !0, a(n));
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
threshold: 0.1,
|
|
1560
|
+
// Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
|
|
1561
|
+
rootMargin: `0px 0px -${Fa}px 0px`
|
|
1562
|
+
}
|
|
1563
|
+
);
|
|
1564
|
+
return u.observe(r), () => u.disconnect();
|
|
1565
|
+
}, [n, a]), /* @__PURE__ */ e.jsx("div", { ref: i, children: t });
|
|
1566
|
+
}
|
|
1567
|
+
function Ra({
|
|
1568
|
+
className: n,
|
|
1569
|
+
showInlineForm: t = !1,
|
|
1570
|
+
enableThreeSkuFlow: a = !1,
|
|
1571
|
+
enableConsultationScheduling: i = !1,
|
|
1572
|
+
kundliReportSampleHref: o = Pa,
|
|
1573
|
+
oneQuestionSampleHref: r = Ia
|
|
1574
|
+
}) {
|
|
1575
|
+
const u = ke(), { locale: p, setLocale: h, config: s, formValues: g, setFormValues: b } = he(), [c, j] = I(!1), [v, T] = I(null), N = _(null), x = _(void 0), m = _(void 0), w = _(null), C = _(!1), A = Z((l) => {
|
|
1576
|
+
N.current = l, j(!0);
|
|
1577
|
+
}, []), U = Z(() => {
|
|
1578
|
+
if (!N.current || !v) return;
|
|
1579
|
+
const l = {
|
|
1580
|
+
...N.current,
|
|
1581
|
+
_selectedPlan: v,
|
|
1582
|
+
...x.current !== void 0 ? { _question: x.current } : {},
|
|
1583
|
+
...m.current !== void 0 ? { _consultationSlot: m.current } : {}
|
|
1584
|
+
};
|
|
1585
|
+
x.current = void 0, m.current = void 0, v.id === Ke && s.onProceedGuidance ? s.onProceedGuidance(l) : s.onProceed?.(l), j(!1), N.current = null;
|
|
1586
|
+
}, [v, s.onProceed, s.onProceedGuidance]), [S, $] = I(!1), [B, ee] = I(
|
|
1587
|
+
s.isGlobal ?? !0 ? "+1" : "+91"
|
|
1588
|
+
), G = _(null), W = _(null), z = _(s.locale), X = _(
|
|
1589
|
+
u?.locale
|
|
1590
|
+
);
|
|
1591
|
+
k(() => {
|
|
1592
|
+
s.locale && z.current !== s.locale && h(s.locale), z.current = s.locale;
|
|
1593
|
+
}, [s.locale, h]), k(() => {
|
|
1594
|
+
if (s.locale) return;
|
|
1595
|
+
const l = u?.locale;
|
|
1596
|
+
l && X.current !== l && h(l), X.current = l;
|
|
1597
|
+
}, [u?.locale, s.locale, h]), k(() => {
|
|
1598
|
+
ee(s.isGlobal ?? !0 ? "+1" : "+91");
|
|
1599
|
+
}, [s.isGlobal]);
|
|
1600
|
+
const ne = _(!1);
|
|
1601
|
+
k(() => {
|
|
1602
|
+
if (ne.current || !t || s.autoOpenPlanSheet) return;
|
|
1603
|
+
const l = s.initialFormValues;
|
|
1604
|
+
if (!(!!l && (!!l.fullName || !!l.phone || !!l.email || !!l.gender || !!l.language_code || !!l.dateOfBirth || !!l.birthTime || !!l.birthPlace))) return;
|
|
1605
|
+
ne.current = !0;
|
|
1606
|
+
const M = requestAnimationFrame(() => {
|
|
1607
|
+
G.current?.scrollIntoView({ behavior: "smooth", block: "start" });
|
|
1608
|
+
});
|
|
1609
|
+
return () => cancelAnimationFrame(M);
|
|
1610
|
+
}, [t, s.autoOpenPlanSheet, s.initialFormValues]);
|
|
1611
|
+
const V = _(!1);
|
|
1612
|
+
k(() => {
|
|
1613
|
+
if (V.current || !s.autoOpenPlanSheet) return;
|
|
1614
|
+
V.current = !0, G.current?.scrollIntoView({ behavior: "auto", block: "start" });
|
|
1615
|
+
const l = (g.phone ?? "").trim();
|
|
1616
|
+
A({
|
|
1617
|
+
...g,
|
|
1618
|
+
phone: l && `${B}-${l}`
|
|
1619
|
+
});
|
|
1620
|
+
}, [s.autoOpenPlanSheet]), k(() => {
|
|
1621
|
+
if (!S) return;
|
|
1622
|
+
const l = (F) => {
|
|
1623
|
+
W.current && !W.current.contains(F.target) && $(!1);
|
|
1624
|
+
};
|
|
1625
|
+
return document.addEventListener("mousedown", l), () => document.removeEventListener("mousedown", l);
|
|
1626
|
+
}, [S]), k(() => {
|
|
1627
|
+
if (!a) return;
|
|
1628
|
+
const l = w.current;
|
|
1629
|
+
if (!l) return;
|
|
1630
|
+
const F = new IntersectionObserver(
|
|
1631
|
+
([M]) => {
|
|
1632
|
+
C.current || !M?.isIntersecting || (M.intersectionRatio ?? 0) < 0.5 || (C.current = !0, s.analytics?.trackComparisonTableImpression?.());
|
|
1633
|
+
},
|
|
1634
|
+
{ threshold: 0.5 }
|
|
1635
|
+
);
|
|
1636
|
+
return F.observe(l), () => F.disconnect();
|
|
1637
|
+
}, [a, s.analytics]);
|
|
1638
|
+
const d = (l) => Sa(p, l), H = s.showLanguageSelector ?? !0, ae = s.resolvedUtmBannerImageUrl || void 0, de = H ? /* @__PURE__ */ e.jsxs("div", { className: Q.langDropdownWrap, ref: W, children: [
|
|
1639
|
+
/* @__PURE__ */ e.jsxs(
|
|
1640
|
+
"button",
|
|
1641
|
+
{
|
|
1642
|
+
type: "button",
|
|
1643
|
+
className: Q.langTrigger,
|
|
1644
|
+
onClick: () => {
|
|
1645
|
+
s.analytics?.trackLanguageClickedFe?.({ language: p }), $((l) => !l);
|
|
1646
|
+
},
|
|
1647
|
+
"aria-expanded": S,
|
|
1648
|
+
"aria-haspopup": "listbox",
|
|
1649
|
+
id: "kundli-lang",
|
|
1650
|
+
"aria-label": d("language"),
|
|
1651
|
+
children: [
|
|
1652
|
+
/* @__PURE__ */ e.jsx(
|
|
1653
|
+
"img",
|
|
1654
|
+
{
|
|
1655
|
+
src: Ta,
|
|
1656
|
+
alt: "",
|
|
1657
|
+
className: Q.langIcon,
|
|
1658
|
+
width: 16,
|
|
1659
|
+
height: 16,
|
|
1660
|
+
"aria-hidden": !0
|
|
1661
|
+
}
|
|
1662
|
+
),
|
|
1663
|
+
/* @__PURE__ */ e.jsx("span", { className: Q.langLabel, children: ce[p] })
|
|
1664
|
+
]
|
|
1665
|
+
}
|
|
1666
|
+
),
|
|
1667
|
+
S && /* @__PURE__ */ e.jsx(
|
|
1668
|
+
"ul",
|
|
1669
|
+
{
|
|
1670
|
+
className: Q.langMenu,
|
|
1671
|
+
role: "listbox",
|
|
1672
|
+
"aria-labelledby": "kundli-lang",
|
|
1673
|
+
"aria-activedescendant": `kundli-lang-option-${p}`,
|
|
1674
|
+
children: Ne.map((l) => /* @__PURE__ */ e.jsx(
|
|
1675
|
+
"li",
|
|
1676
|
+
{
|
|
1677
|
+
id: `kundli-lang-option-${l}`,
|
|
1678
|
+
role: "option",
|
|
1679
|
+
"aria-selected": l === p,
|
|
1680
|
+
className: Q.langOption,
|
|
1681
|
+
onClick: () => {
|
|
1682
|
+
s.analytics?.trackLanguageChangedFe?.({
|
|
1683
|
+
newLanguage: l
|
|
1684
|
+
}), h(l), $(!1);
|
|
1685
|
+
},
|
|
1686
|
+
children: ce[l]
|
|
1687
|
+
},
|
|
1688
|
+
l
|
|
1689
|
+
))
|
|
1690
|
+
}
|
|
1691
|
+
)
|
|
1692
|
+
] }) : null, L = Z(
|
|
1693
|
+
(l) => {
|
|
1694
|
+
s.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
1695
|
+
section: l,
|
|
1696
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
1697
|
+
});
|
|
1698
|
+
},
|
|
1699
|
+
[s.analytics]
|
|
1700
|
+
), ue = Z((l) => {
|
|
1701
|
+
const M = {
|
|
1702
|
+
fullName: "kundli-full-name",
|
|
1703
|
+
phone: "kundli-phone",
|
|
1704
|
+
email: "kundli-email",
|
|
1705
|
+
dateOfBirth: "kundli-dob",
|
|
1706
|
+
birthTime: "kundli-birth-time",
|
|
1707
|
+
birthPlace: "kundli-birth-place",
|
|
1708
|
+
gender: "kundli-gender-male",
|
|
1709
|
+
language_code: "kundli-report-lang-hi"
|
|
1710
|
+
}[l] ?? "kundli-full-name", se = document.getElementById(M);
|
|
1711
|
+
if (se) {
|
|
1712
|
+
const P = se.getBoundingClientRect().top + window.scrollY - 120;
|
|
1713
|
+
window.scrollTo({
|
|
1714
|
+
top: P,
|
|
1715
|
+
behavior: "smooth"
|
|
1716
|
+
}), setTimeout(() => se.focus(), 500);
|
|
1717
|
+
}
|
|
1718
|
+
}, []);
|
|
1719
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${Q.container} ${n}`, children: [
|
|
1720
|
+
/* @__PURE__ */ e.jsx(
|
|
1721
|
+
Pe,
|
|
1722
|
+
{
|
|
1723
|
+
t: d,
|
|
1724
|
+
logoUrl: s.logoUrl,
|
|
1725
|
+
languageSelector: de
|
|
1726
|
+
}
|
|
1727
|
+
),
|
|
1728
|
+
/* @__PURE__ */ e.jsxs("main", { className: Q.main, children: [
|
|
1729
|
+
/* @__PURE__ */ e.jsx(
|
|
1730
|
+
D,
|
|
1731
|
+
{
|
|
1732
|
+
section: "hero",
|
|
1733
|
+
onImpression: L,
|
|
1734
|
+
children: /* @__PURE__ */ e.jsx(Le, { t: d })
|
|
1735
|
+
}
|
|
1736
|
+
),
|
|
1737
|
+
/* @__PURE__ */ e.jsx(
|
|
1738
|
+
D,
|
|
1739
|
+
{
|
|
1740
|
+
section: "premium_report_overview",
|
|
1741
|
+
onImpression: L,
|
|
1742
|
+
children: /* @__PURE__ */ e.jsx(
|
|
1743
|
+
Te,
|
|
1744
|
+
{
|
|
1745
|
+
t: d,
|
|
1746
|
+
reportImageUrl: s.reportImageUrl,
|
|
1747
|
+
analytics: s.analytics,
|
|
1748
|
+
utmBannerImageUrl: ae,
|
|
1749
|
+
utmBannerAltText: ""
|
|
1750
|
+
}
|
|
1751
|
+
)
|
|
1752
|
+
}
|
|
1753
|
+
),
|
|
1754
|
+
/* @__PURE__ */ e.jsx(
|
|
1755
|
+
D,
|
|
1756
|
+
{
|
|
1757
|
+
section: "university_certification",
|
|
1758
|
+
onImpression: L,
|
|
1759
|
+
children: /* @__PURE__ */ e.jsx(
|
|
1760
|
+
Se,
|
|
1761
|
+
{
|
|
1762
|
+
t: d,
|
|
1763
|
+
logoUrl: s.universityLogoUrls?.find(
|
|
1764
|
+
(l) => !!l
|
|
1765
|
+
)
|
|
1766
|
+
}
|
|
1767
|
+
)
|
|
1768
|
+
}
|
|
1769
|
+
),
|
|
1770
|
+
/* @__PURE__ */ e.jsx(
|
|
1771
|
+
D,
|
|
1772
|
+
{
|
|
1773
|
+
section: "three_steps_process",
|
|
1774
|
+
onImpression: L,
|
|
1775
|
+
children: /* @__PURE__ */ e.jsx(Fe, { t: d, locale: p, isGlobal: s.isGlobal })
|
|
1776
|
+
}
|
|
1777
|
+
),
|
|
1778
|
+
/* @__PURE__ */ e.jsx(
|
|
1779
|
+
D,
|
|
1780
|
+
{
|
|
1781
|
+
section: "view_sample_report",
|
|
1782
|
+
onImpression: L,
|
|
1783
|
+
children: a ? /* @__PURE__ */ e.jsx("section", { className: "bg-white px-3", children: /* @__PURE__ */ e.jsx(
|
|
1784
|
+
Na,
|
|
1785
|
+
{
|
|
1786
|
+
kundliReportSampleHref: o,
|
|
1787
|
+
analytics: s.analytics,
|
|
1788
|
+
s: La(p)
|
|
1789
|
+
}
|
|
1790
|
+
) }) : /* @__PURE__ */ e.jsx(
|
|
1791
|
+
ge,
|
|
1792
|
+
{
|
|
1793
|
+
t: d,
|
|
1794
|
+
pdfUrl: s.sampleReportHref,
|
|
1795
|
+
onClick: s.onViewSampleReport,
|
|
1796
|
+
analytics: s.analytics
|
|
1797
|
+
}
|
|
1798
|
+
)
|
|
1799
|
+
}
|
|
1800
|
+
),
|
|
1801
|
+
t && /* @__PURE__ */ e.jsx(
|
|
1802
|
+
D,
|
|
1803
|
+
{
|
|
1804
|
+
section: "inline_form",
|
|
1805
|
+
onImpression: L,
|
|
1806
|
+
children: /* @__PURE__ */ e.jsxs("div", { className: Q.inlineFormWrap, ref: G, children: [
|
|
1807
|
+
/* @__PURE__ */ e.jsx(Qe, { t: d, align: "center" }),
|
|
1808
|
+
/* @__PURE__ */ e.jsx(
|
|
1809
|
+
He,
|
|
1810
|
+
{
|
|
1811
|
+
t: d,
|
|
1812
|
+
values: g,
|
|
1813
|
+
onChange: b,
|
|
1814
|
+
phoneIsdCode: B,
|
|
1815
|
+
onPhoneIsdCodeChange: ee,
|
|
1816
|
+
showV1ExtraFields: !0,
|
|
1817
|
+
analytics: s.analytics
|
|
1818
|
+
}
|
|
1819
|
+
),
|
|
1820
|
+
/* @__PURE__ */ e.jsx(
|
|
1821
|
+
Ge,
|
|
1822
|
+
{
|
|
1823
|
+
t: d,
|
|
1824
|
+
values: g,
|
|
1825
|
+
phoneIsdCode: B,
|
|
1826
|
+
hideOriginalPrice: !0,
|
|
1827
|
+
requireV1ExtraFields: !0,
|
|
1828
|
+
onValidationFailed: ue,
|
|
1829
|
+
onProceed: s.onProceed,
|
|
1830
|
+
href: s.proceedHref,
|
|
1831
|
+
originalPriceLabel: s.originalPriceLabel,
|
|
1832
|
+
discountedPriceLabel: s.discountedPriceLabel,
|
|
1833
|
+
analytics: s.analytics,
|
|
1834
|
+
className: Q.inlineProceedFooter,
|
|
1835
|
+
onProceedGuidance: s.onProceedGuidance,
|
|
1836
|
+
showPlanSheet: A,
|
|
1837
|
+
confirmPlan: U,
|
|
1838
|
+
planSheetOpen: c,
|
|
1839
|
+
selectedPlan: v
|
|
1840
|
+
}
|
|
1841
|
+
)
|
|
1842
|
+
] })
|
|
1843
|
+
}
|
|
1844
|
+
),
|
|
1845
|
+
/* @__PURE__ */ e.jsx(
|
|
1846
|
+
D,
|
|
1847
|
+
{
|
|
1848
|
+
section: "what_youll_find",
|
|
1849
|
+
onImpression: L,
|
|
1850
|
+
children: /* @__PURE__ */ e.jsx(Ee, { t: d })
|
|
1851
|
+
}
|
|
1852
|
+
),
|
|
1853
|
+
/* @__PURE__ */ e.jsx(
|
|
1854
|
+
D,
|
|
1855
|
+
{
|
|
1856
|
+
section: "why_us",
|
|
1857
|
+
onImpression: L,
|
|
1858
|
+
children: /* @__PURE__ */ e.jsx(Ae, { t: d })
|
|
1859
|
+
}
|
|
1860
|
+
),
|
|
1861
|
+
/* @__PURE__ */ e.jsx(
|
|
1862
|
+
D,
|
|
1863
|
+
{
|
|
1864
|
+
section: "feedback",
|
|
1865
|
+
onImpression: L,
|
|
1866
|
+
children: /* @__PURE__ */ e.jsx(
|
|
1867
|
+
De,
|
|
1868
|
+
{
|
|
1869
|
+
t: d,
|
|
1870
|
+
readMoreHref: s.readMoreReviewsHref,
|
|
1871
|
+
onReadMore: s.analytics?.trackReadMoreReviewsClicked ? () => s.analytics.trackReadMoreReviewsClicked() : void 0
|
|
1872
|
+
}
|
|
1873
|
+
)
|
|
1874
|
+
}
|
|
1875
|
+
),
|
|
1876
|
+
/* @__PURE__ */ e.jsx(
|
|
1877
|
+
D,
|
|
1878
|
+
{
|
|
1879
|
+
section: "faq",
|
|
1880
|
+
onImpression: L,
|
|
1881
|
+
children: /* @__PURE__ */ e.jsx(Ue, { t: d })
|
|
1882
|
+
}
|
|
1883
|
+
),
|
|
1884
|
+
/* @__PURE__ */ e.jsx(
|
|
1885
|
+
D,
|
|
1886
|
+
{
|
|
1887
|
+
section: "contact_us",
|
|
1888
|
+
onImpression: L,
|
|
1889
|
+
children: /* @__PURE__ */ e.jsx($e, { t: d })
|
|
1890
|
+
}
|
|
1891
|
+
)
|
|
1892
|
+
] }),
|
|
1893
|
+
a ? /* @__PURE__ */ e.jsx(
|
|
1894
|
+
ka,
|
|
1895
|
+
{
|
|
1896
|
+
isOpen: c,
|
|
1897
|
+
onClose: () => j(!1),
|
|
1898
|
+
selectedPlan: v,
|
|
1899
|
+
onSelectPlan: (l) => T(l),
|
|
1900
|
+
isGlobal: s.isGlobal,
|
|
1901
|
+
locale: p,
|
|
1902
|
+
onProceed: (l, F, M) => {
|
|
1903
|
+
x.current = F, m.current = M, U();
|
|
1904
|
+
},
|
|
1905
|
+
t: d,
|
|
1906
|
+
analytics: s.analytics,
|
|
1907
|
+
oneQuestionSampleHref: r,
|
|
1908
|
+
reportLanguage: g.language_code
|
|
1909
|
+
}
|
|
1910
|
+
) : /* @__PURE__ */ e.jsx(
|
|
1911
|
+
We,
|
|
1912
|
+
{
|
|
1913
|
+
isOpen: c,
|
|
1914
|
+
onClose: () => j(!1),
|
|
1915
|
+
selectedPlan: v,
|
|
1916
|
+
onSelectPlan: (l) => T(l),
|
|
1917
|
+
onProceed: (l, F) => {
|
|
1918
|
+
m.current = F, U();
|
|
1919
|
+
},
|
|
1920
|
+
t: d,
|
|
1921
|
+
analytics: s.analytics,
|
|
1922
|
+
enableConsultationScheduling: i
|
|
1923
|
+
}
|
|
1924
|
+
)
|
|
1925
|
+
] });
|
|
1926
|
+
}
|
|
1927
|
+
const Ea = ({
|
|
1928
|
+
className: n = "",
|
|
1929
|
+
locale: t,
|
|
1930
|
+
showLanguageSelector: a = !0,
|
|
1931
|
+
showSheet: i,
|
|
1932
|
+
userId: o,
|
|
1933
|
+
isGlobal: r,
|
|
1934
|
+
initialFormValues: u,
|
|
1935
|
+
autoOpenPlanSheet: p,
|
|
1936
|
+
googleMapsApiKey: h,
|
|
1937
|
+
atlasSearchLocalities: s,
|
|
1938
|
+
googleMapsAutocompleteEnabled: g,
|
|
1939
|
+
enableThreeSkuFlow: b = !1,
|
|
1940
|
+
enableConsultationScheduling: c = !1,
|
|
1941
|
+
fetchConsultationSlots: j,
|
|
1942
|
+
kundliReportSampleHref: v,
|
|
1943
|
+
oneQuestionSampleHref: T,
|
|
1944
|
+
logoUrl: N,
|
|
1945
|
+
reportImageUrl: x,
|
|
1946
|
+
universityLogoUrls: m,
|
|
1947
|
+
sampleReportHref: w,
|
|
1948
|
+
onViewSampleReport: C,
|
|
1949
|
+
ctaHref: A,
|
|
1950
|
+
onCtaClick: U,
|
|
1951
|
+
readMoreReviewsHref: S,
|
|
1952
|
+
onProceed: $,
|
|
1953
|
+
proceedHref: B,
|
|
1954
|
+
originalPriceLabel: ee,
|
|
1955
|
+
discountedPriceLabel: G,
|
|
1956
|
+
discountPillLabel: W,
|
|
1957
|
+
analytics: z,
|
|
1958
|
+
onProceedGuidance: X,
|
|
1959
|
+
onLocaleChange: ne,
|
|
1960
|
+
resolvedUtmBannerImageUrl: V
|
|
1961
|
+
}) => /* @__PURE__ */ e.jsx(
|
|
1962
|
+
Ce,
|
|
1963
|
+
{
|
|
1964
|
+
locale: t,
|
|
1965
|
+
showLanguageSelector: a,
|
|
1966
|
+
showSheet: i,
|
|
1967
|
+
userId: o,
|
|
1968
|
+
isGlobal: r,
|
|
1969
|
+
variant: "v1",
|
|
1970
|
+
initialFormValues: u,
|
|
1971
|
+
autoOpenPlanSheet: p,
|
|
1972
|
+
googleMapsApiKey: h,
|
|
1973
|
+
atlasSearchLocalities: s,
|
|
1974
|
+
googleMapsAutocompleteEnabled: g,
|
|
1975
|
+
enableConsultationScheduling: c,
|
|
1976
|
+
fetchConsultationSlots: j,
|
|
1977
|
+
logoUrl: N,
|
|
1978
|
+
reportImageUrl: x,
|
|
1979
|
+
universityLogoUrls: m,
|
|
1980
|
+
sampleReportHref: w,
|
|
1981
|
+
onViewSampleReport: C,
|
|
1982
|
+
ctaHref: A,
|
|
1983
|
+
onCtaClick: U,
|
|
1984
|
+
readMoreReviewsHref: S,
|
|
1985
|
+
onProceed: $,
|
|
1986
|
+
onProceedGuidance: X,
|
|
1987
|
+
proceedHref: B,
|
|
1988
|
+
originalPriceLabel: ee,
|
|
1989
|
+
discountedPriceLabel: G,
|
|
1990
|
+
discountPillLabel: W,
|
|
1991
|
+
analytics: z,
|
|
1992
|
+
onLocaleChange: ne,
|
|
1993
|
+
resolvedUtmBannerImageUrl: V,
|
|
1994
|
+
children: /* @__PURE__ */ e.jsx(
|
|
1995
|
+
Ra,
|
|
1996
|
+
{
|
|
1997
|
+
className: n,
|
|
1998
|
+
showInlineForm: !0,
|
|
1999
|
+
enableThreeSkuFlow: b,
|
|
2000
|
+
enableConsultationScheduling: c,
|
|
2001
|
+
kundliReportSampleHref: v,
|
|
2002
|
+
oneQuestionSampleHref: T
|
|
2003
|
+
}
|
|
2004
|
+
)
|
|
2005
|
+
}
|
|
2006
|
+
), $a = ({ variant: n, ...t }) => {
|
|
2007
|
+
const a = typeof window < "u" ? new URLSearchParams(window.location.search).get("variant") : null;
|
|
2008
|
+
return (n ?? (a === "v1" ? "v1" : void 0)) === "v1" ? /* @__PURE__ */ e.jsx(Ea, { ...t }) : /* @__PURE__ */ e.jsx(Ot, { ...t });
|
|
2009
|
+
}, Ba = "[data-hero]{min-height:200px}[data-background-layer]{position:absolute;inset:0;z-index:0;overflow:hidden}[data-form-container]{min-height:400px}@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:600;font-display:swap}@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700;font-display:swap}img{max-width:100%;height:auto}.kundli-page-root{contain:layout}";
|
|
2010
|
+
export {
|
|
2011
|
+
Ba as K,
|
|
2012
|
+
Cn as P,
|
|
2013
|
+
$a as a,
|
|
2014
|
+
Ot as b,
|
|
2015
|
+
Ea as c
|
|
2016
|
+
};
|
|
2017
|
+
//# sourceMappingURL=criticalCss-DTGMtg9k.js.map
|