@srimandir/kundli-generator 7.5.6 → 7.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/KundliPage/KundliPage.d.ts +4 -0
- package/dist/components/KundliPage/KundliPageV1.d.ts +4 -0
- package/dist/{criticalCss-xjrhFW6_.js → criticalCss-5f00WNFD.js} +461 -442
- package/dist/criticalCss-5f00WNFD.js.map +1 -0
- package/dist/kundli-generator.js +1 -1
- package/dist/page-entry.js +1 -1
- package/package.json +2 -2
- package/dist/criticalCss-xjrhFW6_.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { k as e, h as Z, D as ae, d as je, j as de, c as De, u as ye, L as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { UserReviewsSection as Ke, FAQAccordion as Qe, ContactUsSection as He, FooterShell as Ge, FooterCTAButton as ze, CircularMarquee as We, footerShellStyles as
|
|
1
|
+
import { k as e, h as Z, D as ae, d as je, j as de, c as De, u as ye, L as ie, S as we, l as ve, t as Ce, C as Ue, P as $e, F as Be, U as Oe, m as qe, n as Me } from "./analytics-BZyas-wq.js";
|
|
2
|
+
import { useRef as _, useState as R, useEffect as N, useCallback as X, useMemo as pe } from "react";
|
|
3
|
+
import { UserReviewsSection as Ke, FAQAccordion as Qe, ContactUsSection as He, FooterShell as Ge, FooterCTAButton as ze, CircularMarquee as We, footerShellStyles as Y } from "@srimandir/astrology-common";
|
|
4
4
|
const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je = "_topicTags_1vvjv_23", Ze = "_tag_1vvjv_27", ne = {
|
|
5
5
|
hero: Ve,
|
|
6
6
|
title: Ye,
|
|
@@ -15,10 +15,10 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
|
|
|
15
15
|
"topicCareer",
|
|
16
16
|
"topicEducation",
|
|
17
17
|
"topicMoney"
|
|
18
|
-
], ke = ({ t: n, className:
|
|
18
|
+
], ke = ({ t: n, className: t = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${ne.hero} ${t}`, "aria-labelledby": "hero-title", children: [
|
|
19
19
|
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: ne.title, children: n("heroTitle") }),
|
|
20
20
|
/* @__PURE__ */ e.jsx("p", { className: ne.subtitle, children: n("heroSubtitle") }),
|
|
21
|
-
/* @__PURE__ */ e.jsx("div", { className: ne.topicTags, role: "list", children: en.map((
|
|
21
|
+
/* @__PURE__ */ e.jsx("div", { className: ne.topicTags, role: "list", children: en.map((a) => /* @__PURE__ */ e.jsx("span", { className: ne.tag, role: "listitem", children: n(a) }, a)) })
|
|
22
22
|
] }), nn = "_section_iqucz_1", tn = "_utmBanner_iqucz_9", an = "_utmBannerImg_iqucz_13", sn = "_backgroundLayer_iqucz_18", on = "_backgroundImg_iqucz_25", ln = "_inner_iqucz_32", rn = "_content_iqucz_38", cn = "_headline_iqucz_42", dn = "_headlineLine_iqucz_47", un = "_headlinePill_iqucz_52", pn = "_headlinePlain_iqucz_67", mn = "_featureList_iqucz_78", hn = "_featureItem_iqucz_85", gn = "_featureIcon_iqucz_90", xn = "_reportImage_iqucz_97", fn = "_reportImg_iqucz_107", j = {
|
|
23
23
|
section: nn,
|
|
24
24
|
utmBanner: tn,
|
|
@@ -43,8 +43,8 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
|
|
|
43
43
|
"premiumFeature4"
|
|
44
44
|
], yn = "https://srm-cdn.a4b.io/yoda/1772696452070.webp", Ne = ({
|
|
45
45
|
t: n,
|
|
46
|
-
reportImageUrl:
|
|
47
|
-
reportImagePriority:
|
|
46
|
+
reportImageUrl: t = yn,
|
|
47
|
+
reportImagePriority: a,
|
|
48
48
|
backgroundImagePriority: o = !1,
|
|
49
49
|
analytics: s,
|
|
50
50
|
utmBannerImageUrl: l,
|
|
@@ -72,7 +72,7 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
|
|
|
72
72
|
)
|
|
73
73
|
}
|
|
74
74
|
);
|
|
75
|
-
const
|
|
75
|
+
const b = () => {
|
|
76
76
|
s?.trackBannerClicked?.();
|
|
77
77
|
};
|
|
78
78
|
return /* @__PURE__ */ e.jsxs(
|
|
@@ -82,7 +82,7 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
|
|
|
82
82
|
"aria-labelledby": "premium-headline",
|
|
83
83
|
role: "button",
|
|
84
84
|
tabIndex: 0,
|
|
85
|
-
onClick:
|
|
85
|
+
onClick: b,
|
|
86
86
|
"data-hero": !0,
|
|
87
87
|
children: [
|
|
88
88
|
/* @__PURE__ */ e.jsx("div", { className: j.backgroundLayer, "aria-hidden": !0, "data-background-layer": !0, children: /* @__PURE__ */ e.jsx(
|
|
@@ -133,14 +133,14 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
|
|
|
133
133
|
/* @__PURE__ */ e.jsx("div", { className: j.reportImage, children: /* @__PURE__ */ e.jsx(
|
|
134
134
|
h,
|
|
135
135
|
{
|
|
136
|
-
src:
|
|
136
|
+
src: t,
|
|
137
137
|
alt: "",
|
|
138
138
|
className: j.reportImg,
|
|
139
139
|
width: 120,
|
|
140
140
|
height: 160,
|
|
141
|
-
priority:
|
|
142
|
-
fetchPriority:
|
|
143
|
-
loading:
|
|
141
|
+
priority: a,
|
|
142
|
+
fetchPriority: a ? "high" : void 0,
|
|
143
|
+
loading: a ? "eager" : "lazy",
|
|
144
144
|
sizes: "120px"
|
|
145
145
|
}
|
|
146
146
|
) })
|
|
@@ -154,16 +154,16 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
|
|
|
154
154
|
logoImg: Cn
|
|
155
155
|
}, kn = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", Pe = ({
|
|
156
156
|
t: n,
|
|
157
|
-
logoUrl:
|
|
158
|
-
className:
|
|
157
|
+
logoUrl: t = kn,
|
|
158
|
+
className: a = ""
|
|
159
159
|
}) => {
|
|
160
160
|
const s = Z()?.config.imageComponent ?? ae;
|
|
161
|
-
return /* @__PURE__ */ e.jsxs("section", { className: `${ce.section} ${
|
|
161
|
+
return /* @__PURE__ */ e.jsxs("section", { className: `${ce.section} ${a}`, "aria-labelledby": "certified-heading", children: [
|
|
162
162
|
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: ce.heading, children: n("certifiedBy") }),
|
|
163
163
|
/* @__PURE__ */ e.jsx(
|
|
164
164
|
s,
|
|
165
165
|
{
|
|
166
|
-
src:
|
|
166
|
+
src: t,
|
|
167
167
|
alt: "University Certification",
|
|
168
168
|
className: ce.logoImg,
|
|
169
169
|
width: 380,
|
|
@@ -172,7 +172,7 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
|
|
|
172
172
|
}
|
|
173
173
|
)
|
|
174
174
|
] });
|
|
175
|
-
}, Nn = "_section_1d9aa_1", Pn = "_heading_1d9aa_6", In = "_subtitle_1d9aa_11", Ln = "_stepList_1d9aa_16", Tn = "_stepItem_1d9aa_20", Fn = "_stepNumber_1d9aa_24", Rn = "_stepText_1d9aa_30", Sn = "_step3Days_1d9aa_35",
|
|
175
|
+
}, Nn = "_section_1d9aa_1", Pn = "_heading_1d9aa_6", In = "_subtitle_1d9aa_11", Ln = "_stepList_1d9aa_16", Tn = "_stepItem_1d9aa_20", Fn = "_stepNumber_1d9aa_24", Rn = "_stepText_1d9aa_30", Sn = "_step3Days_1d9aa_35", S = {
|
|
176
176
|
section: Nn,
|
|
177
177
|
heading: Pn,
|
|
178
178
|
subtitle: In,
|
|
@@ -183,33 +183,33 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
|
|
|
183
183
|
step3Days: Sn
|
|
184
184
|
}, En = ["step1", "step2"], Ie = ({
|
|
185
185
|
t: n,
|
|
186
|
-
locale:
|
|
187
|
-
isGlobal:
|
|
186
|
+
locale: t = "en",
|
|
187
|
+
isGlobal: a = !0,
|
|
188
188
|
className: o = ""
|
|
189
189
|
}) => {
|
|
190
|
-
const s =
|
|
190
|
+
const s = a ? "step3IntroGlobal" : "step3IntroDomestic";
|
|
191
191
|
return /* @__PURE__ */ e.jsxs(
|
|
192
192
|
"section",
|
|
193
193
|
{
|
|
194
|
-
className: `${
|
|
194
|
+
className: `${S.section} ${o}`,
|
|
195
195
|
"aria-labelledby": "steps-heading",
|
|
196
196
|
children: [
|
|
197
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
198
|
-
/* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className:
|
|
199
|
-
/* @__PURE__ */ e.jsxs("ol", { className:
|
|
200
|
-
En.map((l, c) => /* @__PURE__ */ e.jsxs("li", { className:
|
|
201
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
202
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
197
|
+
/* @__PURE__ */ e.jsx("p", { className: S.heading, children: n("yourThreeSteps") }),
|
|
198
|
+
/* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: S.subtitle, children: n("threeStepsSubtitle") }),
|
|
199
|
+
/* @__PURE__ */ e.jsxs("ol", { className: S.stepList, children: [
|
|
200
|
+
En.map((l, c) => /* @__PURE__ */ e.jsxs("li", { className: S.stepItem, children: [
|
|
201
|
+
/* @__PURE__ */ e.jsx("span", { className: S.stepNumber, "aria-hidden": !0, children: c + 1 }),
|
|
202
|
+
/* @__PURE__ */ e.jsx("span", { className: S.stepText, children: n(l) })
|
|
203
203
|
] }, l)),
|
|
204
|
-
/* @__PURE__ */ e.jsxs("li", { className:
|
|
205
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
206
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
204
|
+
/* @__PURE__ */ e.jsxs("li", { className: S.stepItem, children: [
|
|
205
|
+
/* @__PURE__ */ e.jsx("span", { className: S.stepNumber, "aria-hidden": !0, children: "3" }),
|
|
206
|
+
/* @__PURE__ */ e.jsxs("span", { className: S.stepText, children: [
|
|
207
207
|
n(s),
|
|
208
208
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
209
|
-
|
|
209
|
+
t === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
210
210
|
"in ",
|
|
211
|
-
/* @__PURE__ */ e.jsx("strong", { className:
|
|
212
|
-
] }) : /* @__PURE__ */ e.jsx("strong", { className:
|
|
211
|
+
/* @__PURE__ */ e.jsx("strong", { className: S.step3Days, children: n("step3Days") })
|
|
212
|
+
] }) : /* @__PURE__ */ e.jsx("strong", { className: S.step3Days, children: n("step3Days") })
|
|
213
213
|
] })
|
|
214
214
|
] })
|
|
215
215
|
] })
|
|
@@ -219,7 +219,7 @@ const Ve = "_hero_1vvjv_1", Ye = "_title_1vvjv_5", Xe = "_subtitle_1vvjv_10", Je
|
|
|
219
219
|
}, An = "_section_1jea1_1", Dn = "_button_1jea1_7", me = {
|
|
220
220
|
section: An,
|
|
221
221
|
button: Dn
|
|
222
|
-
}, Un = "_backdrop_pekod_1", $n = "_modal_pekod_21", Bn = "_header_pekod_40", On = "_title_pekod_49", qn = "_closeBtn_pekod_56", Mn = "_content_pekod_76", Kn = "_pdfFrame_pekod_84", Qn = "_pdfPages_pekod_92", Hn = "_pdfError_pekod_97", Gn = "_openInNewTab_pekod_123",
|
|
222
|
+
}, Un = "_backdrop_pekod_1", $n = "_modal_pekod_21", Bn = "_header_pekod_40", On = "_title_pekod_49", qn = "_closeBtn_pekod_56", Mn = "_content_pekod_76", Kn = "_pdfFrame_pekod_84", Qn = "_pdfPages_pekod_92", Hn = "_pdfError_pekod_97", Gn = "_openInNewTab_pekod_123", O = {
|
|
223
223
|
backdrop: Un,
|
|
224
224
|
modal: $n,
|
|
225
225
|
header: Bn,
|
|
@@ -236,38 +236,38 @@ function zn(n) {
|
|
|
236
236
|
}
|
|
237
237
|
const Le = ({
|
|
238
238
|
isOpen: n,
|
|
239
|
-
onClose:
|
|
240
|
-
title:
|
|
239
|
+
onClose: t,
|
|
240
|
+
title: a,
|
|
241
241
|
pdfUrl: o
|
|
242
242
|
}) => {
|
|
243
|
-
const s =
|
|
244
|
-
return
|
|
243
|
+
const s = _(null), [l, c] = R(!0), [m, i] = R(null), [h, b] = R(null);
|
|
244
|
+
return N(() => {
|
|
245
245
|
if (!n) return;
|
|
246
246
|
const p = (u) => {
|
|
247
|
-
u.key === "Escape" &&
|
|
247
|
+
u.key === "Escape" && t();
|
|
248
248
|
};
|
|
249
249
|
return document.addEventListener("keydown", p), document.body.style.overflow = "hidden", () => {
|
|
250
250
|
document.removeEventListener("keydown", p), document.body.style.overflow = "";
|
|
251
251
|
};
|
|
252
|
-
}, [n,
|
|
252
|
+
}, [n, t]), N(() => {
|
|
253
253
|
n && import("pdfjs-dist").then((p) => {
|
|
254
|
-
|
|
254
|
+
b(p);
|
|
255
255
|
}).catch((p) => {
|
|
256
256
|
i("Failed to load PDF viewer"), c(!1);
|
|
257
257
|
});
|
|
258
|
-
}, [n]),
|
|
258
|
+
}, [n]), N(() => {
|
|
259
259
|
if (!n || !o || !s.current || !h) return;
|
|
260
260
|
c(!0), i(null), s.current.innerHTML = "", (async () => {
|
|
261
261
|
try {
|
|
262
262
|
zn(h);
|
|
263
|
-
const y = await h.getDocument({ url: o }).promise,
|
|
264
|
-
if (!
|
|
265
|
-
const
|
|
263
|
+
const y = await h.getDocument({ url: o }).promise, L = s.current;
|
|
264
|
+
if (!L) return;
|
|
265
|
+
const P = L.clientWidth || 600, I = Math.min(P / 612, 2);
|
|
266
266
|
for (let f = 1; f <= y.numPages; f++) {
|
|
267
|
-
const d = await y.getPage(f),
|
|
268
|
-
|
|
269
|
-
const
|
|
270
|
-
|
|
267
|
+
const d = await y.getPage(f), w = d.getViewport({ scale: I }), v = document.createElement("canvas");
|
|
268
|
+
v.height = w.height, v.width = w.width, v.style.display = "block", v.style.margin = "0 auto 1rem", v.style.maxWidth = "100%";
|
|
269
|
+
const T = v.getContext("2d");
|
|
270
|
+
T && await d.render({ canvasContext: T, viewport: w }).promise, L.appendChild(v);
|
|
271
271
|
}
|
|
272
272
|
} catch (u) {
|
|
273
273
|
i(u instanceof Error ? u.message : "Failed to load PDF");
|
|
@@ -278,37 +278,37 @@ const Le = ({
|
|
|
278
278
|
}, [n, o, h]), n ? /* @__PURE__ */ e.jsx(
|
|
279
279
|
"div",
|
|
280
280
|
{
|
|
281
|
-
className:
|
|
282
|
-
onClick:
|
|
281
|
+
className: O.backdrop,
|
|
282
|
+
onClick: t,
|
|
283
283
|
role: "dialog",
|
|
284
284
|
"aria-modal": "true",
|
|
285
285
|
"aria-labelledby": "sample-report-modal-title",
|
|
286
286
|
children: /* @__PURE__ */ e.jsxs(
|
|
287
287
|
"div",
|
|
288
288
|
{
|
|
289
|
-
className:
|
|
289
|
+
className: O.modal,
|
|
290
290
|
onClick: (p) => p.stopPropagation(),
|
|
291
291
|
children: [
|
|
292
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
293
|
-
/* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className:
|
|
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
294
|
/* @__PURE__ */ e.jsx(
|
|
295
295
|
"button",
|
|
296
296
|
{
|
|
297
297
|
type: "button",
|
|
298
|
-
className:
|
|
299
|
-
onClick:
|
|
298
|
+
className: O.closeBtn,
|
|
299
|
+
onClick: t,
|
|
300
300
|
"aria-label": "Close",
|
|
301
301
|
children: "×"
|
|
302
302
|
}
|
|
303
303
|
)
|
|
304
304
|
] }),
|
|
305
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
306
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
307
|
-
m && /* @__PURE__ */ e.jsxs("div", { className:
|
|
305
|
+
/* @__PURE__ */ e.jsxs("div", { className: O.content, children: [
|
|
306
|
+
/* @__PURE__ */ e.jsxs("div", { className: O.pdfFrame, children: [
|
|
307
|
+
m && /* @__PURE__ */ e.jsxs("div", { className: O.pdfError, children: [
|
|
308
308
|
/* @__PURE__ */ e.jsx("span", { children: m }),
|
|
309
309
|
/* @__PURE__ */ e.jsx("a", { href: o, target: "_blank", rel: "noopener noreferrer", children: "Open in new tab instead" })
|
|
310
310
|
] }),
|
|
311
|
-
/* @__PURE__ */ e.jsx("div", { ref: s, className:
|
|
311
|
+
/* @__PURE__ */ e.jsx("div", { ref: s, className: O.pdfPages })
|
|
312
312
|
] }),
|
|
313
313
|
/* @__PURE__ */ e.jsx(
|
|
314
314
|
"a",
|
|
@@ -316,7 +316,7 @@ const Le = ({
|
|
|
316
316
|
href: o,
|
|
317
317
|
target: "_blank",
|
|
318
318
|
rel: "noopener noreferrer",
|
|
319
|
-
className:
|
|
319
|
+
className: O.openInNewTab,
|
|
320
320
|
children: "Open in new tab"
|
|
321
321
|
}
|
|
322
322
|
)
|
|
@@ -328,14 +328,14 @@ const Le = ({
|
|
|
328
328
|
) : null;
|
|
329
329
|
}, Wn = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", ue = ({
|
|
330
330
|
t: n,
|
|
331
|
-
pdfUrl:
|
|
332
|
-
onClick:
|
|
331
|
+
pdfUrl: t = Wn,
|
|
332
|
+
onClick: a,
|
|
333
333
|
analytics: o,
|
|
334
334
|
className: s = ""
|
|
335
335
|
}) => {
|
|
336
|
-
const [l, c] =
|
|
337
|
-
o?.trackViewSampleReportClicked?.(),
|
|
338
|
-
},
|
|
336
|
+
const [l, c] = R(!1), m = n("viewSampleReport"), i = n("sampleReportModalTitle"), h = () => {
|
|
337
|
+
o?.trackViewSampleReportClicked?.(), a?.(), c(!0);
|
|
338
|
+
}, b = () => {
|
|
339
339
|
o?.trackViewSampleReportClosed?.(), c(!1);
|
|
340
340
|
};
|
|
341
341
|
return /* @__PURE__ */ e.jsxs("section", { className: `${me.section} ${s}`, children: [
|
|
@@ -344,13 +344,13 @@ const Le = ({
|
|
|
344
344
|
Le,
|
|
345
345
|
{
|
|
346
346
|
isOpen: l,
|
|
347
|
-
onClose:
|
|
347
|
+
onClose: b,
|
|
348
348
|
title: i,
|
|
349
|
-
pdfUrl:
|
|
349
|
+
pdfUrl: t
|
|
350
350
|
}
|
|
351
351
|
)
|
|
352
352
|
] });
|
|
353
|
-
}, Vn = "_section_1ds1w_1", Yn = "_heading_1ds1w_5", Xn = "_list_1ds1w_10", Jn = "_item_1ds1w_17", Zn = "_imageWrap_1ds1w_21", et = "_image_1ds1w_21", nt = "_imagePlaceholder_1ds1w_30", tt = "_text_1ds1w_36", at = "_itemTitle_1ds1w_40", st = "_itemDesc_1ds1w_51",
|
|
353
|
+
}, Vn = "_section_1ds1w_1", Yn = "_heading_1ds1w_5", Xn = "_list_1ds1w_10", Jn = "_item_1ds1w_17", Zn = "_imageWrap_1ds1w_21", et = "_image_1ds1w_21", nt = "_imagePlaceholder_1ds1w_30", tt = "_text_1ds1w_36", at = "_itemTitle_1ds1w_40", st = "_itemDesc_1ds1w_51", q = {
|
|
354
354
|
section: Vn,
|
|
355
355
|
heading: Yn,
|
|
356
356
|
list: Xn,
|
|
@@ -377,33 +377,33 @@ const Le = ({
|
|
|
377
377
|
"https://srm-cdn.a4b.io/yoda/1772619284662.webp"
|
|
378
378
|
], Te = ({
|
|
379
379
|
t: n,
|
|
380
|
-
imageUrls:
|
|
381
|
-
className:
|
|
380
|
+
imageUrls: t = ot,
|
|
381
|
+
className: a = ""
|
|
382
382
|
}) => {
|
|
383
383
|
const s = Z()?.config.imageComponent ?? ae;
|
|
384
384
|
return /* @__PURE__ */ e.jsxs(
|
|
385
385
|
"section",
|
|
386
386
|
{
|
|
387
|
-
className: `${
|
|
387
|
+
className: `${q.section} ${a}`,
|
|
388
388
|
"aria-labelledby": "find-heading",
|
|
389
389
|
children: [
|
|
390
|
-
/* @__PURE__ */ e.jsx("h2", { id: "find-heading", className:
|
|
391
|
-
/* @__PURE__ */ e.jsx("ul", { className:
|
|
392
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
390
|
+
/* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: q.heading, children: n("whatYoullFindTitle") }),
|
|
391
|
+
/* @__PURE__ */ e.jsx("ul", { className: q.list, children: it.map((l, c) => /* @__PURE__ */ e.jsxs("li", { className: q.item, children: [
|
|
392
|
+
/* @__PURE__ */ e.jsx("div", { className: q.imageWrap, children: t[c] ? /* @__PURE__ */ e.jsx(
|
|
393
393
|
s,
|
|
394
394
|
{
|
|
395
|
-
src:
|
|
395
|
+
src: t[c],
|
|
396
396
|
alt: "",
|
|
397
|
-
className:
|
|
397
|
+
className: q.image,
|
|
398
398
|
width: 96,
|
|
399
399
|
height: 96,
|
|
400
400
|
loading: "lazy",
|
|
401
401
|
sizes: "96px"
|
|
402
402
|
}
|
|
403
|
-
) : /* @__PURE__ */ e.jsx("div", { className:
|
|
404
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
405
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
406
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
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(l.titleKey) }),
|
|
406
|
+
/* @__PURE__ */ e.jsx("p", { className: q.itemDesc, children: n(l.descKey) })
|
|
407
407
|
] })
|
|
408
408
|
] }, l.titleKey)) })
|
|
409
409
|
]
|
|
@@ -415,16 +415,16 @@ const Le = ({
|
|
|
415
415
|
subtitle: ct,
|
|
416
416
|
list: dt,
|
|
417
417
|
item: ut
|
|
418
|
-
}, pt = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], Fe = ({ t: n, className:
|
|
418
|
+
}, pt = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], Fe = ({ t: n, className: t = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${te.section} ${t}`, "aria-labelledby": "why-heading", children: [
|
|
419
419
|
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: te.heading, children: n("whyUsTitle") }),
|
|
420
420
|
/* @__PURE__ */ e.jsx("p", { className: te.subtitle, children: n("whyUsSubtitle") }),
|
|
421
|
-
/* @__PURE__ */ e.jsx("ul", { className: te.list, children: pt.map((
|
|
421
|
+
/* @__PURE__ */ e.jsx("ul", { className: te.list, children: pt.map((a) => /* @__PURE__ */ e.jsx("li", { className: te.item, children: n(a) }, a)) })
|
|
422
422
|
] }), mt = "_headingBold_g8xg7_1", ht = {
|
|
423
423
|
headingBold: mt
|
|
424
424
|
}, Re = ({
|
|
425
425
|
t: n,
|
|
426
|
-
testimonials:
|
|
427
|
-
readMoreHref:
|
|
426
|
+
testimonials: t,
|
|
427
|
+
readMoreHref: a,
|
|
428
428
|
onReadMore: o,
|
|
429
429
|
className: s = "",
|
|
430
430
|
headingClassName: l = ht.headingBold
|
|
@@ -432,8 +432,8 @@ const Le = ({
|
|
|
432
432
|
Ke,
|
|
433
433
|
{
|
|
434
434
|
t: n,
|
|
435
|
-
testimonials:
|
|
436
|
-
readMoreHref:
|
|
435
|
+
testimonials: t,
|
|
436
|
+
readMoreHref: a,
|
|
437
437
|
onReadMore: o,
|
|
438
438
|
className: s,
|
|
439
439
|
headingClassName: l
|
|
@@ -445,8 +445,8 @@ const Le = ({
|
|
|
445
445
|
{ qKey: "faqQ3", aKey: "faqA3" }
|
|
446
446
|
], Se = ({
|
|
447
447
|
t: n,
|
|
448
|
-
className:
|
|
449
|
-
headingClassName:
|
|
448
|
+
className: t = "",
|
|
449
|
+
headingClassName: a = xt.headingBold
|
|
450
450
|
}) => {
|
|
451
451
|
const s = Z()?.config.isGlobal ?? !0, l = (c) => c === "faqA1" ? s ? "faqA1Global" : "faqA1Domestic" : c;
|
|
452
452
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -456,19 +456,19 @@ const Le = ({
|
|
|
456
456
|
items: ft,
|
|
457
457
|
resolveAnswerKey: l,
|
|
458
458
|
defaultOpenIndex: 1,
|
|
459
|
-
className:
|
|
460
|
-
headingClassName:
|
|
459
|
+
className: t,
|
|
460
|
+
headingClassName: a
|
|
461
461
|
}
|
|
462
462
|
);
|
|
463
463
|
}, he = "8296947757", ge = "08071174417", xe = "pujaseva@appsforbharat.com", Ee = ({
|
|
464
464
|
t: n,
|
|
465
|
-
whatsAppGlobal:
|
|
466
|
-
whatsAppDomestic:
|
|
465
|
+
whatsAppGlobal: t,
|
|
466
|
+
whatsAppDomestic: a,
|
|
467
467
|
email: o,
|
|
468
468
|
brandName: s,
|
|
469
469
|
className: l = ""
|
|
470
470
|
}) => {
|
|
471
|
-
const m = Z()?.config.isGlobal ?? !0, i =
|
|
471
|
+
const m = Z()?.config.isGlobal ?? !0, i = t ?? he, h = a ?? ge, b = o ?? xe, p = m ? n("contactWhatsAppGlobal").replace(he, i) : n("contactWhatsAppDomestic").replace(ge, h), u = n("contactEmail").replace(xe, b);
|
|
472
472
|
return /* @__PURE__ */ e.jsx(
|
|
473
473
|
He,
|
|
474
474
|
{
|
|
@@ -480,25 +480,25 @@ const Le = ({
|
|
|
480
480
|
}
|
|
481
481
|
);
|
|
482
482
|
}, _t = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", bt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", jt = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", yt = ({ t: n }) => {
|
|
483
|
-
const
|
|
484
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
485
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
486
|
-
/* @__PURE__ */ e.jsx(
|
|
483
|
+
const a = Z()?.config.imageComponent ?? ae;
|
|
484
|
+
return /* @__PURE__ */ e.jsxs("div", { className: Y.marqueeContent, children: [
|
|
485
|
+
/* @__PURE__ */ e.jsxs("span", { className: Y.badge, children: [
|
|
486
|
+
/* @__PURE__ */ e.jsx(a, { src: _t, alt: "", className: Y.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
487
487
|
n("ctaKundliCreated")
|
|
488
488
|
] }),
|
|
489
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
490
|
-
/* @__PURE__ */ e.jsx(
|
|
489
|
+
/* @__PURE__ */ e.jsxs("span", { className: Y.badge, children: [
|
|
490
|
+
/* @__PURE__ */ e.jsx(a, { src: bt, alt: "", className: Y.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
491
491
|
n("ctaCertified")
|
|
492
492
|
] }),
|
|
493
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
494
|
-
/* @__PURE__ */ e.jsx(
|
|
493
|
+
/* @__PURE__ */ e.jsxs("span", { className: Y.badge, children: [
|
|
494
|
+
/* @__PURE__ */ e.jsx(a, { src: jt, alt: "", className: Y.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
495
495
|
n("ctaSecurePayment")
|
|
496
496
|
] })
|
|
497
497
|
] });
|
|
498
498
|
}, wt = ({
|
|
499
499
|
t: n,
|
|
500
|
-
onCtaClick:
|
|
501
|
-
ctaHref:
|
|
500
|
+
onCtaClick: t,
|
|
501
|
+
ctaHref: a,
|
|
502
502
|
className: o = ""
|
|
503
503
|
}) => {
|
|
504
504
|
const s = n("ctaButtonBefore").replace(/\s+in\s*$/i, "");
|
|
@@ -507,7 +507,7 @@ const Le = ({
|
|
|
507
507
|
{
|
|
508
508
|
className: o,
|
|
509
509
|
marquee: /* @__PURE__ */ e.jsx(We, { children: /* @__PURE__ */ e.jsx(yt, { t: n }) }),
|
|
510
|
-
children: /* @__PURE__ */ e.jsx(ze, { href:
|
|
510
|
+
children: /* @__PURE__ */ e.jsx(ze, { href: a, onClick: t, children: s })
|
|
511
511
|
}
|
|
512
512
|
);
|
|
513
513
|
}, vt = "_container_nm3gb_1", Ct = "_main_nm3gb_6", kt = "_langDropdownWrap_nm3gb_12", Nt = "_langTrigger_nm3gb_16", Pt = "_langIcon_nm3gb_28", It = "_langLabel_nm3gb_35", Lt = "_langMenu_nm3gb_40", Tt = "_langOption_nm3gb_46", W = {
|
|
@@ -519,19 +519,19 @@ const Le = ({
|
|
|
519
519
|
langLabel: It,
|
|
520
520
|
langMenu: Lt,
|
|
521
521
|
langOption: Tt
|
|
522
|
-
}, Ft = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Rt = (n,
|
|
523
|
-
function
|
|
522
|
+
}, Ft = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Rt = (n, t) => Ce[n]?.[t] ?? t, St = 112;
|
|
523
|
+
function M({
|
|
524
524
|
section: n,
|
|
525
|
-
children:
|
|
526
|
-
onImpression:
|
|
525
|
+
children: t,
|
|
526
|
+
onImpression: a
|
|
527
527
|
}) {
|
|
528
|
-
const o =
|
|
529
|
-
return
|
|
528
|
+
const o = _(null), s = _(!1);
|
|
529
|
+
return N(() => {
|
|
530
530
|
const l = o.current;
|
|
531
531
|
if (!l) return;
|
|
532
532
|
const c = new IntersectionObserver(
|
|
533
533
|
([m]) => {
|
|
534
|
-
!m?.isIntersecting || s.current || (s.current = !0,
|
|
534
|
+
!m?.isIntersecting || s.current || (s.current = !0, a(n));
|
|
535
535
|
},
|
|
536
536
|
{
|
|
537
537
|
threshold: 0.1,
|
|
@@ -540,42 +540,42 @@ function B({
|
|
|
540
540
|
}
|
|
541
541
|
);
|
|
542
542
|
return c.observe(l), () => c.disconnect();
|
|
543
|
-
}, [n,
|
|
543
|
+
}, [n, a]), /* @__PURE__ */ e.jsx("div", { ref: o, children: t });
|
|
544
544
|
}
|
|
545
545
|
function Et({ className: n }) {
|
|
546
|
-
const { view:
|
|
547
|
-
return
|
|
546
|
+
const { view: t } = de();
|
|
547
|
+
return t === "form" ? /* @__PURE__ */ e.jsx(De, {}) : /* @__PURE__ */ e.jsx(At, { className: n });
|
|
548
548
|
}
|
|
549
549
|
function At({ className: n }) {
|
|
550
|
-
const
|
|
551
|
-
locale:
|
|
550
|
+
const t = ye(), {
|
|
551
|
+
locale: a,
|
|
552
552
|
setLocale: o,
|
|
553
553
|
config: s,
|
|
554
554
|
goToForm: l
|
|
555
|
-
} = de(), c = s.resolvedUtmBannerImageUrl || void 0, [m, i] =
|
|
556
|
-
|
|
555
|
+
} = de(), c = s.resolvedUtmBannerImageUrl || void 0, [m, i] = R(!1), h = _(null), b = _(s.locale), p = _(
|
|
556
|
+
t?.locale
|
|
557
557
|
);
|
|
558
|
-
|
|
559
|
-
s.locale &&
|
|
560
|
-
}, [s.locale, o]),
|
|
558
|
+
N(() => {
|
|
559
|
+
s.locale && b.current !== s.locale && o(s.locale), b.current = s.locale;
|
|
560
|
+
}, [s.locale, o]), N(() => {
|
|
561
561
|
if (s.locale) return;
|
|
562
|
-
const d =
|
|
562
|
+
const d = t?.locale;
|
|
563
563
|
d && p.current !== d && o(d), p.current = d;
|
|
564
|
-
}, [
|
|
564
|
+
}, [t?.locale, s.locale, o]), N(() => {
|
|
565
565
|
if (!m) return;
|
|
566
|
-
const d = (
|
|
567
|
-
h.current && !h.current.contains(
|
|
566
|
+
const d = (w) => {
|
|
567
|
+
h.current && !h.current.contains(w.target) && i(!1);
|
|
568
568
|
};
|
|
569
569
|
return document.addEventListener("mousedown", d), () => document.removeEventListener("mousedown", d);
|
|
570
570
|
}, [m]);
|
|
571
|
-
const u = (d) => Rt(
|
|
571
|
+
const u = (d) => Rt(a, d), y = s.showLanguageSelector ?? !0, L = s.imageComponent ?? ae, P = y ? /* @__PURE__ */ e.jsxs("div", { className: W.langDropdownWrap, ref: h, children: [
|
|
572
572
|
/* @__PURE__ */ e.jsxs(
|
|
573
573
|
"button",
|
|
574
574
|
{
|
|
575
575
|
type: "button",
|
|
576
576
|
className: W.langTrigger,
|
|
577
577
|
onClick: () => {
|
|
578
|
-
s.analytics?.trackLanguageClickedFe?.({ language:
|
|
578
|
+
s.analytics?.trackLanguageClickedFe?.({ language: a }), i((d) => !d);
|
|
579
579
|
},
|
|
580
580
|
"aria-expanded": m,
|
|
581
581
|
"aria-haspopup": "listbox",
|
|
@@ -583,7 +583,7 @@ function At({ className: n }) {
|
|
|
583
583
|
"aria-label": u("language"),
|
|
584
584
|
children: [
|
|
585
585
|
/* @__PURE__ */ e.jsx(
|
|
586
|
-
|
|
586
|
+
L,
|
|
587
587
|
{
|
|
588
588
|
src: Ft,
|
|
589
589
|
alt: "",
|
|
@@ -593,7 +593,7 @@ function At({ className: n }) {
|
|
|
593
593
|
loading: "eager"
|
|
594
594
|
}
|
|
595
595
|
),
|
|
596
|
-
/* @__PURE__ */ e.jsx("span", { className: W.langLabel, children:
|
|
596
|
+
/* @__PURE__ */ e.jsx("span", { className: W.langLabel, children: ie[a] })
|
|
597
597
|
]
|
|
598
598
|
}
|
|
599
599
|
),
|
|
@@ -603,27 +603,27 @@ function At({ className: n }) {
|
|
|
603
603
|
className: W.langMenu,
|
|
604
604
|
role: "listbox",
|
|
605
605
|
"aria-labelledby": "kundli-lang",
|
|
606
|
-
"aria-activedescendant": `kundli-lang-option-${
|
|
606
|
+
"aria-activedescendant": `kundli-lang-option-${a}`,
|
|
607
607
|
children: we.map((d) => /* @__PURE__ */ e.jsx(
|
|
608
608
|
"li",
|
|
609
609
|
{
|
|
610
610
|
id: `kundli-lang-option-${d}`,
|
|
611
611
|
role: "option",
|
|
612
|
-
"aria-selected": d ===
|
|
612
|
+
"aria-selected": d === a,
|
|
613
613
|
className: W.langOption,
|
|
614
614
|
onClick: () => {
|
|
615
615
|
s.analytics?.trackLanguageChangedFe?.({ newLanguage: d }), o(d), i(!1);
|
|
616
616
|
},
|
|
617
|
-
children:
|
|
617
|
+
children: ie[d]
|
|
618
618
|
},
|
|
619
619
|
d
|
|
620
620
|
))
|
|
621
621
|
}
|
|
622
622
|
)
|
|
623
|
-
] }) : null,
|
|
624
|
-
const
|
|
625
|
-
s.analytics?.trackPrimaryCtaClickedFe?.({ ctaText:
|
|
626
|
-
}, f =
|
|
623
|
+
] }) : null, I = (d) => {
|
|
624
|
+
const w = d.currentTarget.innerText?.trim() ?? u("ctaButtonAfter");
|
|
625
|
+
s.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: w }), l(), s.onCtaClick?.();
|
|
626
|
+
}, f = X(
|
|
627
627
|
(d) => {
|
|
628
628
|
s.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
629
629
|
section: d,
|
|
@@ -638,12 +638,12 @@ function At({ className: n }) {
|
|
|
638
638
|
{
|
|
639
639
|
t: u,
|
|
640
640
|
logoUrl: s.logoUrl,
|
|
641
|
-
languageSelector:
|
|
641
|
+
languageSelector: P
|
|
642
642
|
}
|
|
643
643
|
),
|
|
644
644
|
/* @__PURE__ */ e.jsxs("main", { className: W.main, children: [
|
|
645
645
|
/* @__PURE__ */ e.jsx(
|
|
646
|
-
|
|
646
|
+
M,
|
|
647
647
|
{
|
|
648
648
|
section: "hero",
|
|
649
649
|
onImpression: f,
|
|
@@ -651,7 +651,7 @@ function At({ className: n }) {
|
|
|
651
651
|
}
|
|
652
652
|
),
|
|
653
653
|
/* @__PURE__ */ e.jsx(
|
|
654
|
-
|
|
654
|
+
M,
|
|
655
655
|
{
|
|
656
656
|
section: "premium_report_overview",
|
|
657
657
|
onImpression: f,
|
|
@@ -670,7 +670,7 @@ function At({ className: n }) {
|
|
|
670
670
|
}
|
|
671
671
|
),
|
|
672
672
|
/* @__PURE__ */ e.jsx(
|
|
673
|
-
|
|
673
|
+
M,
|
|
674
674
|
{
|
|
675
675
|
section: "university_certification",
|
|
676
676
|
onImpression: f,
|
|
@@ -684,15 +684,15 @@ function At({ className: n }) {
|
|
|
684
684
|
}
|
|
685
685
|
),
|
|
686
686
|
/* @__PURE__ */ e.jsx(
|
|
687
|
-
|
|
687
|
+
M,
|
|
688
688
|
{
|
|
689
689
|
section: "three_steps_process",
|
|
690
690
|
onImpression: f,
|
|
691
|
-
children: /* @__PURE__ */ e.jsx(Ie, { t: u, locale:
|
|
691
|
+
children: /* @__PURE__ */ e.jsx(Ie, { t: u, locale: a, isGlobal: s.isGlobal })
|
|
692
692
|
}
|
|
693
693
|
),
|
|
694
694
|
/* @__PURE__ */ e.jsx(
|
|
695
|
-
|
|
695
|
+
M,
|
|
696
696
|
{
|
|
697
697
|
section: "view_sample_report",
|
|
698
698
|
onImpression: f,
|
|
@@ -708,7 +708,7 @@ function At({ className: n }) {
|
|
|
708
708
|
}
|
|
709
709
|
),
|
|
710
710
|
/* @__PURE__ */ e.jsx(
|
|
711
|
-
|
|
711
|
+
M,
|
|
712
712
|
{
|
|
713
713
|
section: "what_youll_find",
|
|
714
714
|
onImpression: f,
|
|
@@ -716,7 +716,7 @@ function At({ className: n }) {
|
|
|
716
716
|
}
|
|
717
717
|
),
|
|
718
718
|
/* @__PURE__ */ e.jsx(
|
|
719
|
-
|
|
719
|
+
M,
|
|
720
720
|
{
|
|
721
721
|
section: "why_us",
|
|
722
722
|
onImpression: f,
|
|
@@ -724,7 +724,7 @@ function At({ className: n }) {
|
|
|
724
724
|
}
|
|
725
725
|
),
|
|
726
726
|
/* @__PURE__ */ e.jsx(
|
|
727
|
-
|
|
727
|
+
M,
|
|
728
728
|
{
|
|
729
729
|
section: "feedback",
|
|
730
730
|
onImpression: f,
|
|
@@ -739,7 +739,7 @@ function At({ className: n }) {
|
|
|
739
739
|
}
|
|
740
740
|
),
|
|
741
741
|
/* @__PURE__ */ e.jsx(
|
|
742
|
-
|
|
742
|
+
M,
|
|
743
743
|
{
|
|
744
744
|
section: "faq",
|
|
745
745
|
onImpression: f,
|
|
@@ -747,7 +747,7 @@ function At({ className: n }) {
|
|
|
747
747
|
}
|
|
748
748
|
),
|
|
749
749
|
/* @__PURE__ */ e.jsx(
|
|
750
|
-
|
|
750
|
+
M,
|
|
751
751
|
{
|
|
752
752
|
section: "contact_us",
|
|
753
753
|
onImpression: f,
|
|
@@ -760,15 +760,15 @@ function At({ className: n }) {
|
|
|
760
760
|
{
|
|
761
761
|
t: u,
|
|
762
762
|
ctaHref: s.ctaHref,
|
|
763
|
-
onCtaClick: s.ctaHref ? void 0 :
|
|
763
|
+
onCtaClick: s.ctaHref ? void 0 : I
|
|
764
764
|
}
|
|
765
765
|
)
|
|
766
766
|
] });
|
|
767
767
|
}
|
|
768
768
|
const Dt = ({
|
|
769
769
|
className: n = "",
|
|
770
|
-
locale:
|
|
771
|
-
showLanguageSelector:
|
|
770
|
+
locale: t,
|
|
771
|
+
showLanguageSelector: a = !0,
|
|
772
772
|
showSheet: o,
|
|
773
773
|
userId: s,
|
|
774
774
|
isGlobal: l,
|
|
@@ -776,27 +776,29 @@ const Dt = ({
|
|
|
776
776
|
atlasSearchLocalities: m,
|
|
777
777
|
googleMapsAutocompleteEnabled: i,
|
|
778
778
|
logoUrl: h,
|
|
779
|
-
reportImageUrl:
|
|
779
|
+
reportImageUrl: b,
|
|
780
780
|
universityLogoUrls: p,
|
|
781
781
|
sampleReportHref: u,
|
|
782
782
|
onViewSampleReport: y,
|
|
783
|
-
ctaHref:
|
|
784
|
-
onCtaClick:
|
|
785
|
-
readMoreReviewsHref:
|
|
783
|
+
ctaHref: L,
|
|
784
|
+
onCtaClick: P,
|
|
785
|
+
readMoreReviewsHref: I,
|
|
786
786
|
onProceed: f,
|
|
787
787
|
onProceedGuidance: d,
|
|
788
|
-
proceedHref:
|
|
789
|
-
originalPriceLabel:
|
|
790
|
-
discountedPriceLabel:
|
|
791
|
-
discountPillLabel:
|
|
792
|
-
analytics:
|
|
793
|
-
onLocaleChange:
|
|
794
|
-
resolvedUtmBannerImageUrl:
|
|
788
|
+
proceedHref: w,
|
|
789
|
+
originalPriceLabel: v,
|
|
790
|
+
discountedPriceLabel: T,
|
|
791
|
+
discountPillLabel: A,
|
|
792
|
+
analytics: D,
|
|
793
|
+
onLocaleChange: Q,
|
|
794
|
+
resolvedUtmBannerImageUrl: G,
|
|
795
|
+
initialFormValues: $,
|
|
796
|
+
autoOpenPlanSheet: H
|
|
795
797
|
}) => /* @__PURE__ */ e.jsx(
|
|
796
798
|
je,
|
|
797
799
|
{
|
|
798
|
-
locale:
|
|
799
|
-
showLanguageSelector:
|
|
800
|
+
locale: t,
|
|
801
|
+
showLanguageSelector: a,
|
|
800
802
|
showSheet: o,
|
|
801
803
|
userId: s,
|
|
802
804
|
isGlobal: l,
|
|
@@ -804,25 +806,27 @@ const Dt = ({
|
|
|
804
806
|
atlasSearchLocalities: m,
|
|
805
807
|
googleMapsAutocompleteEnabled: i,
|
|
806
808
|
logoUrl: h,
|
|
807
|
-
reportImageUrl:
|
|
809
|
+
reportImageUrl: b,
|
|
808
810
|
universityLogoUrls: p,
|
|
809
811
|
sampleReportHref: u,
|
|
810
812
|
onViewSampleReport: y,
|
|
811
|
-
ctaHref:
|
|
812
|
-
onCtaClick:
|
|
813
|
-
readMoreReviewsHref:
|
|
813
|
+
ctaHref: L,
|
|
814
|
+
onCtaClick: P,
|
|
815
|
+
readMoreReviewsHref: I,
|
|
814
816
|
onProceed: f,
|
|
815
817
|
onProceedGuidance: d,
|
|
816
|
-
proceedHref:
|
|
817
|
-
originalPriceLabel:
|
|
818
|
-
discountedPriceLabel:
|
|
819
|
-
discountPillLabel:
|
|
820
|
-
analytics:
|
|
821
|
-
onLocaleChange:
|
|
822
|
-
resolvedUtmBannerImageUrl:
|
|
818
|
+
proceedHref: w,
|
|
819
|
+
originalPriceLabel: v,
|
|
820
|
+
discountedPriceLabel: T,
|
|
821
|
+
discountPillLabel: A,
|
|
822
|
+
analytics: D,
|
|
823
|
+
onLocaleChange: Q,
|
|
824
|
+
resolvedUtmBannerImageUrl: G,
|
|
825
|
+
initialFormValues: $,
|
|
826
|
+
autoOpenPlanSheet: H,
|
|
823
827
|
children: /* @__PURE__ */ e.jsx(Et, { className: n })
|
|
824
828
|
}
|
|
825
|
-
), Ut = "_container_1b9qe_1", $t = "_main_1b9qe_6", Bt = "_langDropdownWrap_1b9qe_12", Ot = "_langTrigger_1b9qe_16", qt = "_langIcon_1b9qe_28", Mt = "_langLabel_1b9qe_35", Kt = "_langMenu_1b9qe_40", Qt = "_langOption_1b9qe_46", Ht = "_inlineFormWrap_1b9qe_57", Gt = "_inlineProceedFooter_1b9qe_74",
|
|
829
|
+
), Ut = "_container_1b9qe_1", $t = "_main_1b9qe_6", Bt = "_langDropdownWrap_1b9qe_12", Ot = "_langTrigger_1b9qe_16", qt = "_langIcon_1b9qe_28", Mt = "_langLabel_1b9qe_35", Kt = "_langMenu_1b9qe_40", Qt = "_langOption_1b9qe_46", Ht = "_inlineFormWrap_1b9qe_57", Gt = "_inlineProceedFooter_1b9qe_74", K = {
|
|
826
830
|
container: Ut,
|
|
827
831
|
main: $t,
|
|
828
832
|
langDropdownWrap: Bt,
|
|
@@ -962,7 +966,7 @@ const Dt = ({
|
|
|
962
966
|
{ text: "planFeatureTailoredRemedies", included: !0 }
|
|
963
967
|
],
|
|
964
968
|
astrologers: Ae.filter(
|
|
965
|
-
(
|
|
969
|
+
(a) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(a.id)
|
|
966
970
|
)
|
|
967
971
|
}
|
|
968
972
|
], _e = [
|
|
@@ -986,12 +990,12 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
986
990
|
60% { left: 125%; }
|
|
987
991
|
100% { left: 125%; }
|
|
988
992
|
}
|
|
989
|
-
`, Xt = ({ title: n, onClose:
|
|
993
|
+
`, Xt = ({ 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: [
|
|
990
994
|
/* @__PURE__ */ e.jsx(
|
|
991
995
|
"button",
|
|
992
996
|
{
|
|
993
997
|
type: "button",
|
|
994
|
-
onClick:
|
|
998
|
+
onClick: t,
|
|
995
999
|
"aria-label": "Go back",
|
|
996
1000
|
className: "w-8 h-8 rounded-full bg-transparent border-0 flex items-center justify-center text-gray-700 hover:bg-gray-100",
|
|
997
1001
|
children: /* @__PURE__ */ e.jsx(Ue, {})
|
|
@@ -1015,13 +1019,13 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1015
1019
|
/* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
1016
1020
|
]
|
|
1017
1021
|
}
|
|
1018
|
-
), na = ({ plan: n, t
|
|
1019
|
-
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 mt-[1px]", children:
|
|
1020
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-[20px] text-gray-700", children: a
|
|
1022
|
+
), na = ({ 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, o) => /* @__PURE__ */ e.jsxs("li", { className: "flex items-start gap-3", children: [
|
|
1023
|
+
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 mt-[1px]", children: a.included ? /* @__PURE__ */ e.jsx(Jt, {}) : /* @__PURE__ */ e.jsx(Zt, {}) }),
|
|
1024
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-[20px] text-gray-700", children: t(a.text) })
|
|
1021
1025
|
] }, o)) }) }), ta = ({
|
|
1022
1026
|
chipKeys: n,
|
|
1023
|
-
t
|
|
1024
|
-
onChipClick:
|
|
1027
|
+
t,
|
|
1028
|
+
onChipClick: a
|
|
1025
1029
|
}) => {
|
|
1026
1030
|
const o = Math.ceil(n.length / 2), s = [n.slice(0, o), n.slice(o)];
|
|
1027
1031
|
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: s.map((l, c) => /* @__PURE__ */ e.jsx("div", { className: "flex gap-2", children: l.map((m) => /* @__PURE__ */ e.jsx(
|
|
@@ -1029,15 +1033,15 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1029
1033
|
{
|
|
1030
1034
|
type: "button",
|
|
1031
1035
|
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",
|
|
1032
|
-
onClick: () =>
|
|
1033
|
-
children:
|
|
1036
|
+
onClick: () => a(m, n.indexOf(m)),
|
|
1037
|
+
children: t(m)
|
|
1034
1038
|
},
|
|
1035
1039
|
m
|
|
1036
1040
|
)) }, c)) }) });
|
|
1037
1041
|
}, aa = ({
|
|
1038
1042
|
textareaRef: n,
|
|
1039
|
-
value:
|
|
1040
|
-
label:
|
|
1043
|
+
value: t,
|
|
1044
|
+
label: a,
|
|
1041
1045
|
placeholder: o,
|
|
1042
1046
|
chipKeys: s,
|
|
1043
1047
|
t: l,
|
|
@@ -1045,7 +1049,7 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1045
1049
|
onClick: m,
|
|
1046
1050
|
onChange: i,
|
|
1047
1051
|
onChipClick: h,
|
|
1048
|
-
onViewSample:
|
|
1052
|
+
onViewSample: b
|
|
1049
1053
|
}) => /* @__PURE__ */ e.jsxs("div", { className: "mt-4 flex flex-col gap-2", children: [
|
|
1050
1054
|
/* @__PURE__ */ e.jsx(
|
|
1051
1055
|
"div",
|
|
@@ -1058,14 +1062,14 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1058
1062
|
),
|
|
1059
1063
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
1060
1064
|
/* @__PURE__ */ e.jsxs("label", { className: "text-[14px] font-semibold text-gray-900", htmlFor: "kundli-question", children: [
|
|
1061
|
-
|
|
1065
|
+
a,
|
|
1062
1066
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#e05c2a] ml-0.5", children: "*" })
|
|
1063
1067
|
] }),
|
|
1064
|
-
|
|
1068
|
+
b && /* @__PURE__ */ e.jsxs(
|
|
1065
1069
|
"button",
|
|
1066
1070
|
{
|
|
1067
1071
|
type: "button",
|
|
1068
|
-
onClick:
|
|
1072
|
+
onClick: b,
|
|
1069
1073
|
className: "flex items-center gap-1 text-[13px] font-semibold text-[#e05c2a] underline underline-offset-2",
|
|
1070
1074
|
children: [
|
|
1071
1075
|
/* @__PURE__ */ e.jsxs("svg", { width: "13", height: "13", viewBox: "0 0 24 24", fill: "none", "aria-hidden": !0, children: [
|
|
@@ -1087,14 +1091,14 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1087
1091
|
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",
|
|
1088
1092
|
style: { height: "100px" },
|
|
1089
1093
|
placeholder: o,
|
|
1090
|
-
value:
|
|
1094
|
+
value: t,
|
|
1091
1095
|
onFocus: c,
|
|
1092
1096
|
onClick: m,
|
|
1093
1097
|
onChange: i
|
|
1094
1098
|
}
|
|
1095
1099
|
),
|
|
1096
1100
|
/* @__PURE__ */ e.jsx(ta, { chipKeys: s, t: l, onChipClick: h })
|
|
1097
|
-
] }), sa = "_card_62fy9_1", ia = "_top_62fy9_15", oa = "_avatar_62fy9_21", la = "_avatarPlaceholder_62fy9_38", ra = "_basicInfo_62fy9_44", ca = "_name_62fy9_51", da = "_exp_62fy9_61", ua = "_langs_62fy9_62", pa = "_divider_62fy9_69", ma = "_certList_62fy9_75", ha = "_certItem_62fy9_81", ga = "_bullet_62fy9_90",
|
|
1101
|
+
] }), sa = "_card_62fy9_1", ia = "_top_62fy9_15", oa = "_avatar_62fy9_21", la = "_avatarPlaceholder_62fy9_38", ra = "_basicInfo_62fy9_44", ca = "_name_62fy9_51", da = "_exp_62fy9_61", ua = "_langs_62fy9_62", pa = "_divider_62fy9_69", ma = "_certList_62fy9_75", ha = "_certItem_62fy9_81", ga = "_bullet_62fy9_90", E = {
|
|
1098
1102
|
card: sa,
|
|
1099
1103
|
top: ia,
|
|
1100
1104
|
avatar: oa,
|
|
@@ -1107,25 +1111,25 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1107
1111
|
certList: ma,
|
|
1108
1112
|
certItem: ha,
|
|
1109
1113
|
bullet: ga
|
|
1110
|
-
}, xa = ({ astrologer: n, t
|
|
1111
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1112
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1113
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1114
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1115
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1116
|
-
n.languages && n.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className:
|
|
1114
|
+
}, xa = ({ astrologer: n, t }) => /* @__PURE__ */ e.jsxs("div", { className: E.card, children: [
|
|
1115
|
+
/* @__PURE__ */ e.jsxs("div", { className: E.top, children: [
|
|
1116
|
+
/* @__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) }) }),
|
|
1117
|
+
/* @__PURE__ */ e.jsxs("div", { className: E.basicInfo, children: [
|
|
1118
|
+
/* @__PURE__ */ e.jsx("p", { className: E.name, children: t?.(n.name) ?? n.name }),
|
|
1119
|
+
/* @__PURE__ */ e.jsx("p", { className: E.exp, children: t?.(n.experience) ?? n.experience }),
|
|
1120
|
+
n.languages && n.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: E.langs, children: n.languages.map((a) => t?.(a) ?? a).join(" • ") })
|
|
1117
1121
|
] })
|
|
1118
1122
|
] }),
|
|
1119
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1120
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1121
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1123
|
+
/* @__PURE__ */ e.jsx("div", { className: E.divider }),
|
|
1124
|
+
/* @__PURE__ */ e.jsx("div", { className: E.certList, children: n.certifications.map((a, o) => /* @__PURE__ */ e.jsxs("p", { className: E.certItem, children: [
|
|
1125
|
+
/* @__PURE__ */ e.jsx("span", { className: E.bullet, children: "✓" }),
|
|
1122
1126
|
" ",
|
|
1123
|
-
|
|
1127
|
+
t?.(a) ?? a
|
|
1124
1128
|
] }, o)) })
|
|
1125
1129
|
] }), fa = ({
|
|
1126
1130
|
astrologers: n,
|
|
1127
|
-
heading:
|
|
1128
|
-
t
|
|
1131
|
+
heading: t,
|
|
1132
|
+
t: a
|
|
1129
1133
|
}) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1130
1134
|
/* @__PURE__ */ e.jsx(
|
|
1131
1135
|
"div",
|
|
@@ -1136,19 +1140,19 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1136
1140
|
}
|
|
1137
1141
|
}
|
|
1138
1142
|
),
|
|
1139
|
-
/* @__PURE__ */ e.jsx("p", { className: "m-0 mt-4 text-[14px] font-semibold text-[#1D2125]", children:
|
|
1143
|
+
/* @__PURE__ */ e.jsx("p", { className: "m-0 mt-4 text-[14px] font-semibold text-[#1D2125]", children: t }),
|
|
1140
1144
|
/* @__PURE__ */ e.jsx(
|
|
1141
1145
|
"div",
|
|
1142
1146
|
{
|
|
1143
1147
|
className: "flex overflow-x-auto gap-3 mt-3 pb-1 scroll-smooth [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
1144
1148
|
role: "list",
|
|
1145
|
-
children: n.map((o, s) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(xa, { astrologer: o, t }) }, s))
|
|
1149
|
+
children: n.map((o, s) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(xa, { astrologer: o, t: a }) }, s))
|
|
1146
1150
|
}
|
|
1147
1151
|
)
|
|
1148
1152
|
] }), _a = ({
|
|
1149
1153
|
plans: n,
|
|
1150
|
-
selectedId:
|
|
1151
|
-
t,
|
|
1154
|
+
selectedId: t,
|
|
1155
|
+
t: a,
|
|
1152
1156
|
analytics: o,
|
|
1153
1157
|
onSelectPlan: s
|
|
1154
1158
|
}) => (
|
|
@@ -1162,17 +1166,17 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1162
1166
|
/* @__PURE__ */ e.jsx("div", { className: "flex gap-2 pt-[18px] pb-3", role: "radiogroup", "aria-label": "Select plan", children: n.map((l) => /* @__PURE__ */ e.jsxs("div", { className: "flex-1 relative min-w-[106px]", children: [
|
|
1163
1167
|
l.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: [
|
|
1164
1168
|
/* @__PURE__ */ e.jsx(ea, {}),
|
|
1165
|
-
|
|
1169
|
+
a(l.badge)
|
|
1166
1170
|
] }),
|
|
1167
1171
|
/* @__PURE__ */ e.jsxs(
|
|
1168
1172
|
"button",
|
|
1169
1173
|
{
|
|
1170
1174
|
type: "button",
|
|
1171
1175
|
role: "radio",
|
|
1172
|
-
"aria-checked": l.id ===
|
|
1176
|
+
"aria-checked": l.id === t,
|
|
1173
1177
|
className: [
|
|
1174
1178
|
"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",
|
|
1175
|
-
l.id ===
|
|
1179
|
+
l.id === t ? "border-[#e05c2a] bg-[#fff8f4]" : "border-gray-200 bg-white"
|
|
1176
1180
|
].join(" "),
|
|
1177
1181
|
onClick: () => {
|
|
1178
1182
|
o?.trackPlanSelected?.({ planId: l.id, planName: l.title }), s(l);
|
|
@@ -1181,8 +1185,8 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1181
1185
|
/* @__PURE__ */ e.jsx(
|
|
1182
1186
|
"span",
|
|
1183
1187
|
{
|
|
1184
|
-
className: `text-[14px] leading-snug ${l.id ===
|
|
1185
|
-
children:
|
|
1188
|
+
className: `text-[14px] leading-snug ${l.id === t ? "font-bold text-gray-900" : "font-semibold text-gray-600"}`,
|
|
1189
|
+
children: a(l.title)
|
|
1186
1190
|
}
|
|
1187
1191
|
),
|
|
1188
1192
|
/* @__PURE__ */ e.jsx("span", { className: "text-[15px] font-bold text-[#1D2125] leading-tight", children: l.price }),
|
|
@@ -1198,7 +1202,7 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1198
1202
|
},
|
|
1199
1203
|
children: [
|
|
1200
1204
|
"⏳ ",
|
|
1201
|
-
|
|
1205
|
+
a(l.newBadge)
|
|
1202
1206
|
]
|
|
1203
1207
|
}
|
|
1204
1208
|
)
|
|
@@ -1208,12 +1212,12 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1208
1212
|
] }, l.id)) })
|
|
1209
1213
|
), ba = ({
|
|
1210
1214
|
canProceed: n,
|
|
1211
|
-
label:
|
|
1212
|
-
showDisabledHint:
|
|
1215
|
+
label: t,
|
|
1216
|
+
showDisabledHint: a,
|
|
1213
1217
|
hintText: o,
|
|
1214
1218
|
onClick: s
|
|
1215
1219
|
}) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1216
|
-
|
|
1220
|
+
a && /* @__PURE__ */ e.jsx("p", { className: "m-0 mb-2 text-xs text-[#e05c2a] text-center", role: "alert", children: o }),
|
|
1217
1221
|
/* @__PURE__ */ e.jsxs(
|
|
1218
1222
|
"button",
|
|
1219
1223
|
{
|
|
@@ -1238,14 +1242,14 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1238
1242
|
}
|
|
1239
1243
|
}
|
|
1240
1244
|
),
|
|
1241
|
-
/* @__PURE__ */ e.jsx("span", { className: "relative z-[1]", children:
|
|
1245
|
+
/* @__PURE__ */ e.jsx("span", { className: "relative z-[1]", children: t })
|
|
1242
1246
|
]
|
|
1243
1247
|
}
|
|
1244
1248
|
)
|
|
1245
1249
|
] }), ja = ({
|
|
1246
1250
|
isOpen: n,
|
|
1247
|
-
onClose:
|
|
1248
|
-
selectedPlan:
|
|
1251
|
+
onClose: t,
|
|
1252
|
+
selectedPlan: a,
|
|
1249
1253
|
onSelectPlan: o,
|
|
1250
1254
|
plans: s,
|
|
1251
1255
|
onProceed: l,
|
|
@@ -1253,66 +1257,66 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1253
1257
|
t: m,
|
|
1254
1258
|
analytics: i,
|
|
1255
1259
|
isGlobal: h = !0,
|
|
1256
|
-
oneQuestionSampleHref:
|
|
1260
|
+
oneQuestionSampleHref: b
|
|
1257
1261
|
}) => {
|
|
1258
|
-
const p =
|
|
1259
|
-
const
|
|
1260
|
-
|
|
1262
|
+
const p = X((g) => (fe[c] ?? fe.en)[g] ?? m?.(g) ?? g, [c, m]), u = pe(() => s ?? zt(h), [s, h]), y = a?.id || u.find((g) => g.badge)?.id || u[0]?.id || "", L = _(null), P = _(null), I = _(null), f = _(!1), [d, w] = R(""), [v, T] = R(!1), [A, D] = R("custom"), [Q, G] = R(null), [$, H] = R(!1), z = _(!1), V = _(null), C = pe(() => u.find((g) => g.id === y) ?? u[0], [u, y]), x = !!C?.supportsQuestion, oe = !x || d.trim().length > 0, se = X(() => {
|
|
1263
|
+
const g = V.current;
|
|
1264
|
+
g && (g.style.height = "auto", g.style.height = Math.max(100, Math.min(g.scrollHeight, Vt)) + "px");
|
|
1261
1265
|
}, []);
|
|
1262
|
-
|
|
1266
|
+
N(() => {
|
|
1263
1267
|
if (n) {
|
|
1264
|
-
if (!
|
|
1265
|
-
const
|
|
1266
|
-
|
|
1268
|
+
if (!a) {
|
|
1269
|
+
const g = u.find((k) => k.badge) ?? u[0];
|
|
1270
|
+
g && o(g);
|
|
1267
1271
|
}
|
|
1268
1272
|
f.current || (i?.trackPlanPageViewed?.(), f.current = !0);
|
|
1269
1273
|
} else
|
|
1270
1274
|
f.current = !1;
|
|
1271
|
-
}, [n, u,
|
|
1275
|
+
}, [n, u, a, o, i]), N(() => {
|
|
1272
1276
|
if (!n) return;
|
|
1273
|
-
const
|
|
1277
|
+
const g = document.body.style.overflow;
|
|
1274
1278
|
return document.body.style.overflow = "hidden", () => {
|
|
1275
|
-
document.body.style.overflow =
|
|
1279
|
+
document.body.style.overflow = g;
|
|
1276
1280
|
};
|
|
1277
1281
|
}, [n]);
|
|
1278
|
-
const
|
|
1279
|
-
i?.trackPlanPageClosed?.(),
|
|
1280
|
-
},
|
|
1281
|
-
const
|
|
1282
|
-
if (
|
|
1283
|
-
const
|
|
1284
|
-
|
|
1282
|
+
const le = () => {
|
|
1283
|
+
i?.trackPlanPageClosed?.(), t();
|
|
1284
|
+
}, F = (g) => {
|
|
1285
|
+
const k = P.current, J = I.current;
|
|
1286
|
+
if (k && J) {
|
|
1287
|
+
const ee = J.getBoundingClientRect().top - k.getBoundingClientRect().top + k.scrollTop;
|
|
1288
|
+
k.scrollTo({ top: ee, behavior: "smooth" });
|
|
1285
1289
|
}
|
|
1286
|
-
|
|
1287
|
-
entry_method:
|
|
1290
|
+
z.current || (z.current = !0, i?.trackQuestionTextboxClicked?.({
|
|
1291
|
+
entry_method: g,
|
|
1288
1292
|
textbox_empty: d.length === 0
|
|
1289
1293
|
}));
|
|
1290
|
-
},
|
|
1291
|
-
const
|
|
1292
|
-
|
|
1293
|
-
},
|
|
1294
|
-
const
|
|
1294
|
+
}, re = (g) => {
|
|
1295
|
+
const k = g.target.value.slice(0, Wt);
|
|
1296
|
+
A === "chip" && k !== p(_e[Q ?? 0]) && D("chip_edited"), w(k), se(), $ && H(!1);
|
|
1297
|
+
}, r = (g, k) => {
|
|
1298
|
+
const J = p(g), ee = d.length > 0 && A !== "chip";
|
|
1295
1299
|
i?.trackPreSuggestedQuestionSelected?.({
|
|
1296
|
-
question_text_loaded:
|
|
1297
|
-
chip_index:
|
|
1298
|
-
previous_chip_index:
|
|
1299
|
-
user_had_custom_text:
|
|
1300
|
-
}),
|
|
1301
|
-
},
|
|
1302
|
-
if (
|
|
1303
|
-
if (
|
|
1304
|
-
|
|
1300
|
+
question_text_loaded: J,
|
|
1301
|
+
chip_index: k,
|
|
1302
|
+
previous_chip_index: Q,
|
|
1303
|
+
user_had_custom_text: ee
|
|
1304
|
+
}), w(J), D("chip"), G(k), z.current = !1, setTimeout(se, 0);
|
|
1305
|
+
}, B = () => {
|
|
1306
|
+
if (C) {
|
|
1307
|
+
if (x && !d.trim()) {
|
|
1308
|
+
H(!0);
|
|
1305
1309
|
return;
|
|
1306
1310
|
}
|
|
1307
1311
|
i?.trackPlanProceedClicked?.({
|
|
1308
|
-
planId:
|
|
1309
|
-
planName:
|
|
1310
|
-
price:
|
|
1312
|
+
planId: C.id,
|
|
1313
|
+
planName: C.title,
|
|
1314
|
+
price: C.price,
|
|
1311
1315
|
currency: h ? "USD" : "INR",
|
|
1312
|
-
question_asked:
|
|
1313
|
-
question_text:
|
|
1314
|
-
question_source:
|
|
1315
|
-
}), l(
|
|
1316
|
+
question_asked: x ? !0 : void 0,
|
|
1317
|
+
question_text: x ? d.trim() : void 0,
|
|
1318
|
+
question_source: x ? A : void 0
|
|
1319
|
+
}), l(C, x ? d.trim() : void 0), t();
|
|
1316
1320
|
}
|
|
1317
1321
|
};
|
|
1318
1322
|
return n ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
@@ -1327,36 +1331,36 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1327
1331
|
children: /* @__PURE__ */ e.jsxs(
|
|
1328
1332
|
"div",
|
|
1329
1333
|
{
|
|
1330
|
-
ref:
|
|
1334
|
+
ref: L,
|
|
1331
1335
|
className: "pt-3 w-full max-w-[480px] h-[100dvh] max-h-[100dvh] bg-white flex flex-col overflow-hidden",
|
|
1332
1336
|
style: { animation: "three-sku-slide-up 0.28s cubic-bezier(0.32, 0.72, 0, 1)" },
|
|
1333
1337
|
children: [
|
|
1334
|
-
/* @__PURE__ */ e.jsx(Xt, { title: p("planSheetTitle"), onClose:
|
|
1335
|
-
/* @__PURE__ */ e.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pt-4 pb-4", ref:
|
|
1336
|
-
/* @__PURE__ */ e.jsx("h3", { className: "m-0 mb-3 text-[16px] font-bold leading-snug text-[#CF6C09]", children: p(
|
|
1337
|
-
|
|
1338
|
-
|
|
1338
|
+
/* @__PURE__ */ e.jsx(Xt, { title: p("planSheetTitle"), onClose: le }),
|
|
1339
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pt-4 pb-4", ref: P, children: [
|
|
1340
|
+
/* @__PURE__ */ e.jsx("h3", { className: "m-0 mb-3 text-[16px] font-bold leading-snug text-[#CF6C09]", children: p(C?.title ?? "") }),
|
|
1341
|
+
C && /* @__PURE__ */ e.jsx(na, { plan: C, t: p }),
|
|
1342
|
+
x && /* @__PURE__ */ e.jsx("div", { ref: I, children: /* @__PURE__ */ e.jsx(
|
|
1339
1343
|
aa,
|
|
1340
1344
|
{
|
|
1341
|
-
textareaRef:
|
|
1345
|
+
textareaRef: V,
|
|
1342
1346
|
value: d,
|
|
1343
1347
|
label: p("planQuestionLabel"),
|
|
1344
1348
|
placeholder: p("planQuestionPlaceholder"),
|
|
1345
1349
|
chipKeys: _e,
|
|
1346
1350
|
t: p,
|
|
1347
|
-
onFocus: () =>
|
|
1348
|
-
onClick: () =>
|
|
1349
|
-
onChange:
|
|
1350
|
-
onChipClick:
|
|
1351
|
-
onViewSample:
|
|
1352
|
-
i?.trackOneQuestionViewSampleReportClicked?.(),
|
|
1351
|
+
onFocus: () => F("keyboard_focus"),
|
|
1352
|
+
onClick: () => F("tap"),
|
|
1353
|
+
onChange: re,
|
|
1354
|
+
onChipClick: r,
|
|
1355
|
+
onViewSample: b ? () => {
|
|
1356
|
+
i?.trackOneQuestionViewSampleReportClicked?.(), T(!0);
|
|
1353
1357
|
} : void 0
|
|
1354
1358
|
}
|
|
1355
1359
|
) }),
|
|
1356
|
-
|
|
1360
|
+
C?.astrologers && C.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
|
|
1357
1361
|
fa,
|
|
1358
1362
|
{
|
|
1359
|
-
astrologers:
|
|
1363
|
+
astrologers: C.astrologers,
|
|
1360
1364
|
heading: p("planAstrologerHeading"),
|
|
1361
1365
|
t: p
|
|
1362
1366
|
}
|
|
@@ -1381,11 +1385,11 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1381
1385
|
/* @__PURE__ */ e.jsx(
|
|
1382
1386
|
ba,
|
|
1383
1387
|
{
|
|
1384
|
-
canProceed:
|
|
1388
|
+
canProceed: oe,
|
|
1385
1389
|
label: p("planProceedToPayment"),
|
|
1386
|
-
showDisabledHint:
|
|
1390
|
+
showDisabledHint: $,
|
|
1387
1391
|
hintText: p("planQuestionHint"),
|
|
1388
|
-
onClick:
|
|
1392
|
+
onClick: B
|
|
1389
1393
|
}
|
|
1390
1394
|
)
|
|
1391
1395
|
]
|
|
@@ -1396,30 +1400,30 @@ const Wt = 5e3, Vt = 84, Yt = `
|
|
|
1396
1400
|
)
|
|
1397
1401
|
}
|
|
1398
1402
|
),
|
|
1399
|
-
|
|
1403
|
+
b && /* @__PURE__ */ e.jsx(
|
|
1400
1404
|
Le,
|
|
1401
1405
|
{
|
|
1402
|
-
isOpen:
|
|
1403
|
-
onClose: () =>
|
|
1406
|
+
isOpen: v,
|
|
1407
|
+
onClose: () => T(!1),
|
|
1404
1408
|
title: "1 Question Sample Answer",
|
|
1405
|
-
pdfUrl:
|
|
1409
|
+
pdfUrl: b
|
|
1406
1410
|
}
|
|
1407
1411
|
)
|
|
1408
1412
|
] }) : null;
|
|
1409
1413
|
}, ya = ({
|
|
1410
1414
|
kundliReportSampleHref: n,
|
|
1411
|
-
analytics:
|
|
1412
|
-
s:
|
|
1415
|
+
analytics: t,
|
|
1416
|
+
s: a
|
|
1413
1417
|
}) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1414
|
-
/* @__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:
|
|
1418
|
+
/* @__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 }),
|
|
1415
1419
|
/* @__PURE__ */ e.jsx(
|
|
1416
1420
|
ue,
|
|
1417
1421
|
{
|
|
1418
|
-
t: () =>
|
|
1422
|
+
t: () => a.sampleLabelKundliReport.replace(`
|
|
1419
1423
|
`, " "),
|
|
1420
1424
|
pdfUrl: n,
|
|
1421
|
-
analytics:
|
|
1422
|
-
onClick: () =>
|
|
1425
|
+
analytics: t,
|
|
1426
|
+
onClick: () => t?.trackKundliViewSampleImageClicked?.()
|
|
1423
1427
|
}
|
|
1424
1428
|
)
|
|
1425
1429
|
] }), wa = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", va = "https://srm-cdn.a4b.io/yoda/1781248337750.pdf", be = {
|
|
@@ -1478,19 +1482,19 @@ call`
|
|
|
1478
1482
|
ज्योतिषी कॉल`
|
|
1479
1483
|
]
|
|
1480
1484
|
}
|
|
1481
|
-
}, Ca = (n) => be[n] ?? be.en, ka = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Na = (n,
|
|
1482
|
-
function
|
|
1485
|
+
}, Ca = (n) => be[n] ?? be.en, ka = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Na = (n, t) => Ce[n]?.[t] ?? t, Pa = 112;
|
|
1486
|
+
function U({
|
|
1483
1487
|
section: n,
|
|
1484
|
-
children:
|
|
1485
|
-
onImpression:
|
|
1488
|
+
children: t,
|
|
1489
|
+
onImpression: a
|
|
1486
1490
|
}) {
|
|
1487
|
-
const o =
|
|
1488
|
-
return
|
|
1491
|
+
const o = _(null), s = _(!1);
|
|
1492
|
+
return N(() => {
|
|
1489
1493
|
const l = o.current;
|
|
1490
1494
|
if (!l) return;
|
|
1491
1495
|
const c = new IntersectionObserver(
|
|
1492
1496
|
([m]) => {
|
|
1493
|
-
!m?.isIntersecting || s.current || (s.current = !0,
|
|
1497
|
+
!m?.isIntersecting || s.current || (s.current = !0, a(n));
|
|
1494
1498
|
},
|
|
1495
1499
|
{
|
|
1496
1500
|
threshold: 0.1,
|
|
@@ -1499,12 +1503,12 @@ function A({
|
|
|
1499
1503
|
}
|
|
1500
1504
|
);
|
|
1501
1505
|
return c.observe(l), () => c.disconnect();
|
|
1502
|
-
}, [n,
|
|
1506
|
+
}, [n, a]), /* @__PURE__ */ e.jsx("div", { ref: o, children: t });
|
|
1503
1507
|
}
|
|
1504
1508
|
function Ia({
|
|
1505
1509
|
className: n,
|
|
1506
|
-
showInlineForm:
|
|
1507
|
-
enableThreeSkuFlow:
|
|
1510
|
+
showInlineForm: t = !1,
|
|
1511
|
+
enableThreeSkuFlow: a = !1,
|
|
1508
1512
|
kundliReportSampleHref: o = wa,
|
|
1509
1513
|
oneQuestionSampleHref: s = va
|
|
1510
1514
|
}) {
|
|
@@ -1513,92 +1517,103 @@ function Ia({
|
|
|
1513
1517
|
setLocale: m,
|
|
1514
1518
|
config: i,
|
|
1515
1519
|
formValues: h,
|
|
1516
|
-
setFormValues:
|
|
1517
|
-
} = de(), [p, u] =
|
|
1518
|
-
|
|
1519
|
-
}, []),
|
|
1520
|
-
if (!
|
|
1520
|
+
setFormValues: b
|
|
1521
|
+
} = de(), [p, u] = R(!1), [y, L] = R(null), P = _(null), I = _(void 0), f = _(null), d = _(!1), w = X((r) => {
|
|
1522
|
+
P.current = r, u(!0);
|
|
1523
|
+
}, []), v = X(() => {
|
|
1524
|
+
if (!P.current || !y) return;
|
|
1521
1525
|
const r = {
|
|
1522
|
-
...
|
|
1526
|
+
...P.current,
|
|
1523
1527
|
_selectedPlan: y,
|
|
1524
|
-
...
|
|
1528
|
+
...I.current !== void 0 ? { _question: I.current } : {}
|
|
1525
1529
|
};
|
|
1526
|
-
|
|
1527
|
-
}, [y, i.onProceed, i.onProceedGuidance]), [
|
|
1530
|
+
I.current = void 0, y.id === $e && i.onProceedGuidance ? i.onProceedGuidance(r) : i.onProceed?.(r), u(!1), P.current = null;
|
|
1531
|
+
}, [y, i.onProceed, i.onProceedGuidance]), [T, A] = R(!1), [D, Q] = R(
|
|
1528
1532
|
i.isGlobal ?? !0 ? "+1" : "+91"
|
|
1529
|
-
),
|
|
1533
|
+
), G = _(null), $ = _(null), H = _(i.locale), z = _(
|
|
1530
1534
|
l?.locale
|
|
1531
1535
|
);
|
|
1532
|
-
|
|
1533
|
-
i.locale &&
|
|
1534
|
-
}, [i.locale, m]),
|
|
1536
|
+
N(() => {
|
|
1537
|
+
i.locale && H.current !== i.locale && m(i.locale), H.current = i.locale;
|
|
1538
|
+
}, [i.locale, m]), N(() => {
|
|
1535
1539
|
if (i.locale) return;
|
|
1536
1540
|
const r = l?.locale;
|
|
1537
|
-
r &&
|
|
1538
|
-
}, [l?.locale, i.locale, m]),
|
|
1539
|
-
|
|
1541
|
+
r && z.current !== r && m(r), z.current = r;
|
|
1542
|
+
}, [l?.locale, i.locale, m]), N(() => {
|
|
1543
|
+
Q(i.isGlobal ?? !0 ? "+1" : "+91");
|
|
1540
1544
|
}, [i.isGlobal]);
|
|
1541
|
-
const
|
|
1542
|
-
|
|
1543
|
-
if (
|
|
1545
|
+
const V = _(!1);
|
|
1546
|
+
N(() => {
|
|
1547
|
+
if (V.current || !t || i.autoOpenPlanSheet) return;
|
|
1544
1548
|
const r = i.initialFormValues;
|
|
1545
1549
|
if (!(!!r && (!!r.fullName || !!r.phone || !!r.email || !!r.gender || !!r.language_code || !!r.dateOfBirth || !!r.birthTime || !!r.birthPlace))) return;
|
|
1546
|
-
|
|
1547
|
-
const
|
|
1548
|
-
|
|
1550
|
+
V.current = !0;
|
|
1551
|
+
const g = requestAnimationFrame(() => {
|
|
1552
|
+
G.current?.scrollIntoView({ behavior: "smooth", block: "start" });
|
|
1549
1553
|
});
|
|
1550
|
-
return () => cancelAnimationFrame(
|
|
1551
|
-
}, [
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1554
|
+
return () => cancelAnimationFrame(g);
|
|
1555
|
+
}, [t, i.autoOpenPlanSheet, i.initialFormValues]);
|
|
1556
|
+
const C = _(!1);
|
|
1557
|
+
N(() => {
|
|
1558
|
+
if (C.current || !t || !i.autoOpenPlanSheet)
|
|
1559
|
+
return;
|
|
1560
|
+
C.current = !0;
|
|
1561
|
+
const r = (h.phone ?? "").trim();
|
|
1562
|
+
w({
|
|
1563
|
+
...h,
|
|
1564
|
+
phone: r && `${D}-${r}`
|
|
1565
|
+
});
|
|
1566
|
+
}, [t, i.autoOpenPlanSheet, h, D, w]), N(() => {
|
|
1567
|
+
if (!T) return;
|
|
1568
|
+
const r = (B) => {
|
|
1569
|
+
$.current && !$.current.contains(B.target) && A(!1);
|
|
1555
1570
|
};
|
|
1556
1571
|
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
1557
|
-
}, [
|
|
1558
|
-
if (!
|
|
1572
|
+
}, [T]), N(() => {
|
|
1573
|
+
if (!a) return;
|
|
1559
1574
|
const r = f.current;
|
|
1560
1575
|
if (!r) return;
|
|
1561
|
-
const
|
|
1562
|
-
([
|
|
1563
|
-
d.current || !
|
|
1576
|
+
const B = new IntersectionObserver(
|
|
1577
|
+
([g]) => {
|
|
1578
|
+
d.current || !g?.isIntersecting || (g.intersectionRatio ?? 0) < 0.5 || (d.current = !0, i.analytics?.trackComparisonTableImpression?.());
|
|
1564
1579
|
},
|
|
1565
1580
|
{ threshold: 0.5 }
|
|
1566
1581
|
);
|
|
1567
|
-
return
|
|
1568
|
-
}, [
|
|
1569
|
-
const
|
|
1582
|
+
return B.observe(r), () => B.disconnect();
|
|
1583
|
+
}, [a, i.analytics]);
|
|
1584
|
+
const x = (r) => Na(c, r), oe = i.showLanguageSelector ?? !0, se = i.resolvedUtmBannerImageUrl || void 0, le = oe ? /* @__PURE__ */ e.jsxs("div", { className: K.langDropdownWrap, ref: $, children: [
|
|
1570
1585
|
/* @__PURE__ */ e.jsxs(
|
|
1571
1586
|
"button",
|
|
1572
1587
|
{
|
|
1573
1588
|
type: "button",
|
|
1574
|
-
className:
|
|
1589
|
+
className: K.langTrigger,
|
|
1575
1590
|
onClick: () => {
|
|
1576
|
-
i.analytics?.trackLanguageClickedFe?.({ language: c }),
|
|
1591
|
+
i.analytics?.trackLanguageClickedFe?.({ language: c }), A((r) => !r);
|
|
1577
1592
|
},
|
|
1578
|
-
"aria-expanded":
|
|
1593
|
+
"aria-expanded": T,
|
|
1579
1594
|
"aria-haspopup": "listbox",
|
|
1580
1595
|
id: "kundli-lang",
|
|
1581
|
-
"aria-label":
|
|
1596
|
+
"aria-label": x("language"),
|
|
1582
1597
|
children: [
|
|
1583
1598
|
/* @__PURE__ */ e.jsx(
|
|
1584
1599
|
"img",
|
|
1585
1600
|
{
|
|
1586
1601
|
src: ka,
|
|
1587
1602
|
alt: "",
|
|
1588
|
-
className:
|
|
1603
|
+
className: K.langIcon,
|
|
1589
1604
|
width: 16,
|
|
1590
1605
|
height: 16,
|
|
1591
1606
|
"aria-hidden": !0
|
|
1592
1607
|
}
|
|
1593
1608
|
),
|
|
1594
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1609
|
+
/* @__PURE__ */ e.jsx("span", { className: K.langLabel, children: ie[c] })
|
|
1595
1610
|
]
|
|
1596
1611
|
}
|
|
1597
1612
|
),
|
|
1598
|
-
|
|
1613
|
+
T && /* @__PURE__ */ e.jsx(
|
|
1599
1614
|
"ul",
|
|
1600
1615
|
{
|
|
1601
|
-
className:
|
|
1616
|
+
className: K.langMenu,
|
|
1602
1617
|
role: "listbox",
|
|
1603
1618
|
"aria-labelledby": "kundli-lang",
|
|
1604
1619
|
"aria-activedescendant": `kundli-lang-option-${c}`,
|
|
@@ -1608,17 +1623,17 @@ function Ia({
|
|
|
1608
1623
|
id: `kundli-lang-option-${r}`,
|
|
1609
1624
|
role: "option",
|
|
1610
1625
|
"aria-selected": r === c,
|
|
1611
|
-
className:
|
|
1626
|
+
className: K.langOption,
|
|
1612
1627
|
onClick: () => {
|
|
1613
|
-
i.analytics?.trackLanguageChangedFe?.({ newLanguage: r }), m(r),
|
|
1628
|
+
i.analytics?.trackLanguageChangedFe?.({ newLanguage: r }), m(r), A(!1);
|
|
1614
1629
|
},
|
|
1615
|
-
children:
|
|
1630
|
+
children: ie[r]
|
|
1616
1631
|
},
|
|
1617
1632
|
r
|
|
1618
1633
|
))
|
|
1619
1634
|
}
|
|
1620
1635
|
)
|
|
1621
|
-
] }) : null, F =
|
|
1636
|
+
] }) : null, F = X(
|
|
1622
1637
|
(r) => {
|
|
1623
1638
|
i.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
1624
1639
|
section: r,
|
|
@@ -1626,8 +1641,8 @@ function Ia({
|
|
|
1626
1641
|
});
|
|
1627
1642
|
},
|
|
1628
1643
|
[i.analytics]
|
|
1629
|
-
),
|
|
1630
|
-
const
|
|
1644
|
+
), re = X((r) => {
|
|
1645
|
+
const g = {
|
|
1631
1646
|
fullName: "kundli-full-name",
|
|
1632
1647
|
phone: "kundli-phone",
|
|
1633
1648
|
email: "kundli-email",
|
|
@@ -1636,78 +1651,78 @@ function Ia({
|
|
|
1636
1651
|
birthPlace: "kundli-birth-place",
|
|
1637
1652
|
gender: "kundli-gender-male",
|
|
1638
1653
|
language_code: "kundli-report-lang-hi"
|
|
1639
|
-
}[r] ?? "kundli-full-name",
|
|
1640
|
-
if (
|
|
1641
|
-
const
|
|
1654
|
+
}[r] ?? "kundli-full-name", k = document.getElementById(g);
|
|
1655
|
+
if (k) {
|
|
1656
|
+
const ee = k.getBoundingClientRect().top + window.scrollY - 120;
|
|
1642
1657
|
window.scrollTo({
|
|
1643
|
-
top:
|
|
1658
|
+
top: ee,
|
|
1644
1659
|
behavior: "smooth"
|
|
1645
|
-
}), setTimeout(() =>
|
|
1660
|
+
}), setTimeout(() => k.focus(), 500);
|
|
1646
1661
|
}
|
|
1647
1662
|
}, []);
|
|
1648
|
-
return /* @__PURE__ */ e.jsxs("div", { className: `${
|
|
1663
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${K.container} ${n}`, children: [
|
|
1649
1664
|
/* @__PURE__ */ e.jsx(
|
|
1650
1665
|
ve,
|
|
1651
1666
|
{
|
|
1652
|
-
t:
|
|
1667
|
+
t: x,
|
|
1653
1668
|
logoUrl: i.logoUrl,
|
|
1654
|
-
languageSelector:
|
|
1669
|
+
languageSelector: le
|
|
1655
1670
|
}
|
|
1656
1671
|
),
|
|
1657
|
-
/* @__PURE__ */ e.jsxs("main", { className:
|
|
1672
|
+
/* @__PURE__ */ e.jsxs("main", { className: K.main, children: [
|
|
1658
1673
|
/* @__PURE__ */ e.jsx(
|
|
1659
|
-
|
|
1674
|
+
U,
|
|
1660
1675
|
{
|
|
1661
1676
|
section: "hero",
|
|
1662
1677
|
onImpression: F,
|
|
1663
|
-
children: /* @__PURE__ */ e.jsx(ke, { t:
|
|
1678
|
+
children: /* @__PURE__ */ e.jsx(ke, { t: x })
|
|
1664
1679
|
}
|
|
1665
1680
|
),
|
|
1666
1681
|
/* @__PURE__ */ e.jsx(
|
|
1667
|
-
|
|
1682
|
+
U,
|
|
1668
1683
|
{
|
|
1669
1684
|
section: "premium_report_overview",
|
|
1670
1685
|
onImpression: F,
|
|
1671
1686
|
children: /* @__PURE__ */ e.jsx(
|
|
1672
1687
|
Ne,
|
|
1673
1688
|
{
|
|
1674
|
-
t:
|
|
1689
|
+
t: x,
|
|
1675
1690
|
reportImageUrl: i.reportImageUrl,
|
|
1676
1691
|
analytics: i.analytics,
|
|
1677
|
-
utmBannerImageUrl:
|
|
1692
|
+
utmBannerImageUrl: se,
|
|
1678
1693
|
utmBannerAltText: ""
|
|
1679
1694
|
}
|
|
1680
1695
|
)
|
|
1681
1696
|
}
|
|
1682
1697
|
),
|
|
1683
1698
|
/* @__PURE__ */ e.jsx(
|
|
1684
|
-
|
|
1699
|
+
U,
|
|
1685
1700
|
{
|
|
1686
1701
|
section: "university_certification",
|
|
1687
1702
|
onImpression: F,
|
|
1688
1703
|
children: /* @__PURE__ */ e.jsx(
|
|
1689
1704
|
Pe,
|
|
1690
1705
|
{
|
|
1691
|
-
t:
|
|
1706
|
+
t: x,
|
|
1692
1707
|
logoUrl: i.universityLogoUrls?.find((r) => !!r)
|
|
1693
1708
|
}
|
|
1694
1709
|
)
|
|
1695
1710
|
}
|
|
1696
1711
|
),
|
|
1697
1712
|
/* @__PURE__ */ e.jsx(
|
|
1698
|
-
|
|
1713
|
+
U,
|
|
1699
1714
|
{
|
|
1700
1715
|
section: "three_steps_process",
|
|
1701
1716
|
onImpression: F,
|
|
1702
|
-
children: /* @__PURE__ */ e.jsx(Ie, { t:
|
|
1717
|
+
children: /* @__PURE__ */ e.jsx(Ie, { t: x, locale: c, isGlobal: i.isGlobal })
|
|
1703
1718
|
}
|
|
1704
1719
|
),
|
|
1705
1720
|
/* @__PURE__ */ e.jsx(
|
|
1706
|
-
|
|
1721
|
+
U,
|
|
1707
1722
|
{
|
|
1708
1723
|
section: "view_sample_report",
|
|
1709
1724
|
onImpression: F,
|
|
1710
|
-
children:
|
|
1725
|
+
children: a ? /* @__PURE__ */ e.jsx("section", { className: "bg-white px-3", children: /* @__PURE__ */ e.jsx(
|
|
1711
1726
|
ya,
|
|
1712
1727
|
{
|
|
1713
1728
|
kundliReportSampleHref: o,
|
|
@@ -1717,7 +1732,7 @@ function Ia({
|
|
|
1717
1732
|
) }) : /* @__PURE__ */ e.jsx(
|
|
1718
1733
|
ue,
|
|
1719
1734
|
{
|
|
1720
|
-
t:
|
|
1735
|
+
t: x,
|
|
1721
1736
|
pdfUrl: i.sampleReportHref,
|
|
1722
1737
|
onClick: i.onViewSampleReport,
|
|
1723
1738
|
analytics: i.analytics
|
|
@@ -1725,21 +1740,21 @@ function Ia({
|
|
|
1725
1740
|
)
|
|
1726
1741
|
}
|
|
1727
1742
|
),
|
|
1728
|
-
|
|
1729
|
-
|
|
1743
|
+
t && /* @__PURE__ */ e.jsx(
|
|
1744
|
+
U,
|
|
1730
1745
|
{
|
|
1731
1746
|
section: "inline_form",
|
|
1732
1747
|
onImpression: F,
|
|
1733
|
-
children: /* @__PURE__ */ e.jsxs("div", { className:
|
|
1734
|
-
/* @__PURE__ */ e.jsx(Be, { t:
|
|
1748
|
+
children: /* @__PURE__ */ e.jsxs("div", { className: K.inlineFormWrap, ref: G, children: [
|
|
1749
|
+
/* @__PURE__ */ e.jsx(Be, { t: x, align: "center" }),
|
|
1735
1750
|
/* @__PURE__ */ e.jsx(
|
|
1736
1751
|
Oe,
|
|
1737
1752
|
{
|
|
1738
|
-
t:
|
|
1753
|
+
t: x,
|
|
1739
1754
|
values: h,
|
|
1740
|
-
onChange:
|
|
1741
|
-
phoneIsdCode:
|
|
1742
|
-
onPhoneIsdCodeChange:
|
|
1755
|
+
onChange: b,
|
|
1756
|
+
phoneIsdCode: D,
|
|
1757
|
+
onPhoneIsdCodeChange: Q,
|
|
1743
1758
|
showV1ExtraFields: !0,
|
|
1744
1759
|
analytics: i.analytics
|
|
1745
1760
|
}
|
|
@@ -1747,21 +1762,21 @@ function Ia({
|
|
|
1747
1762
|
/* @__PURE__ */ e.jsx(
|
|
1748
1763
|
qe,
|
|
1749
1764
|
{
|
|
1750
|
-
t:
|
|
1765
|
+
t: x,
|
|
1751
1766
|
values: h,
|
|
1752
|
-
phoneIsdCode:
|
|
1767
|
+
phoneIsdCode: D,
|
|
1753
1768
|
hideOriginalPrice: !0,
|
|
1754
1769
|
requireV1ExtraFields: !0,
|
|
1755
|
-
onValidationFailed:
|
|
1770
|
+
onValidationFailed: re,
|
|
1756
1771
|
onProceed: i.onProceed,
|
|
1757
1772
|
href: i.proceedHref,
|
|
1758
1773
|
originalPriceLabel: i.originalPriceLabel,
|
|
1759
1774
|
discountedPriceLabel: i.discountedPriceLabel,
|
|
1760
1775
|
analytics: i.analytics,
|
|
1761
|
-
className:
|
|
1776
|
+
className: K.inlineProceedFooter,
|
|
1762
1777
|
onProceedGuidance: i.onProceedGuidance,
|
|
1763
|
-
showPlanSheet:
|
|
1764
|
-
confirmPlan:
|
|
1778
|
+
showPlanSheet: w,
|
|
1779
|
+
confirmPlan: v,
|
|
1765
1780
|
planSheetOpen: p,
|
|
1766
1781
|
selectedPlan: y
|
|
1767
1782
|
}
|
|
@@ -1770,30 +1785,30 @@ function Ia({
|
|
|
1770
1785
|
}
|
|
1771
1786
|
),
|
|
1772
1787
|
/* @__PURE__ */ e.jsx(
|
|
1773
|
-
|
|
1788
|
+
U,
|
|
1774
1789
|
{
|
|
1775
1790
|
section: "what_youll_find",
|
|
1776
1791
|
onImpression: F,
|
|
1777
|
-
children: /* @__PURE__ */ e.jsx(Te, { t:
|
|
1792
|
+
children: /* @__PURE__ */ e.jsx(Te, { t: x })
|
|
1778
1793
|
}
|
|
1779
1794
|
),
|
|
1780
1795
|
/* @__PURE__ */ e.jsx(
|
|
1781
|
-
|
|
1796
|
+
U,
|
|
1782
1797
|
{
|
|
1783
1798
|
section: "why_us",
|
|
1784
1799
|
onImpression: F,
|
|
1785
|
-
children: /* @__PURE__ */ e.jsx(Fe, { t:
|
|
1800
|
+
children: /* @__PURE__ */ e.jsx(Fe, { t: x })
|
|
1786
1801
|
}
|
|
1787
1802
|
),
|
|
1788
1803
|
/* @__PURE__ */ e.jsx(
|
|
1789
|
-
|
|
1804
|
+
U,
|
|
1790
1805
|
{
|
|
1791
1806
|
section: "feedback",
|
|
1792
1807
|
onImpression: F,
|
|
1793
1808
|
children: /* @__PURE__ */ e.jsx(
|
|
1794
1809
|
Re,
|
|
1795
1810
|
{
|
|
1796
|
-
t:
|
|
1811
|
+
t: x,
|
|
1797
1812
|
readMoreHref: i.readMoreReviewsHref,
|
|
1798
1813
|
onReadMore: i.analytics?.trackReadMoreReviewsClicked ? () => i.analytics.trackReadMoreReviewsClicked() : void 0
|
|
1799
1814
|
}
|
|
@@ -1801,35 +1816,35 @@ function Ia({
|
|
|
1801
1816
|
}
|
|
1802
1817
|
),
|
|
1803
1818
|
/* @__PURE__ */ e.jsx(
|
|
1804
|
-
|
|
1819
|
+
U,
|
|
1805
1820
|
{
|
|
1806
1821
|
section: "faq",
|
|
1807
1822
|
onImpression: F,
|
|
1808
|
-
children: /* @__PURE__ */ e.jsx(Se, { t:
|
|
1823
|
+
children: /* @__PURE__ */ e.jsx(Se, { t: x })
|
|
1809
1824
|
}
|
|
1810
1825
|
),
|
|
1811
1826
|
/* @__PURE__ */ e.jsx(
|
|
1812
|
-
|
|
1827
|
+
U,
|
|
1813
1828
|
{
|
|
1814
1829
|
section: "contact_us",
|
|
1815
1830
|
onImpression: F,
|
|
1816
|
-
children: /* @__PURE__ */ e.jsx(Ee, { t:
|
|
1831
|
+
children: /* @__PURE__ */ e.jsx(Ee, { t: x })
|
|
1817
1832
|
}
|
|
1818
1833
|
)
|
|
1819
1834
|
] }),
|
|
1820
|
-
|
|
1835
|
+
a ? /* @__PURE__ */ e.jsx(
|
|
1821
1836
|
ja,
|
|
1822
1837
|
{
|
|
1823
1838
|
isOpen: p,
|
|
1824
1839
|
onClose: () => u(!1),
|
|
1825
1840
|
selectedPlan: y,
|
|
1826
|
-
onSelectPlan: (r) =>
|
|
1841
|
+
onSelectPlan: (r) => L(r),
|
|
1827
1842
|
isGlobal: i.isGlobal,
|
|
1828
1843
|
locale: c,
|
|
1829
|
-
onProceed: (r,
|
|
1830
|
-
|
|
1844
|
+
onProceed: (r, B) => {
|
|
1845
|
+
I.current = B, v();
|
|
1831
1846
|
},
|
|
1832
|
-
t:
|
|
1847
|
+
t: x,
|
|
1833
1848
|
analytics: i.analytics,
|
|
1834
1849
|
oneQuestionSampleHref: s
|
|
1835
1850
|
}
|
|
@@ -1839,11 +1854,11 @@ function Ia({
|
|
|
1839
1854
|
isOpen: p,
|
|
1840
1855
|
onClose: () => u(!1),
|
|
1841
1856
|
selectedPlan: y,
|
|
1842
|
-
onSelectPlan: (r) =>
|
|
1857
|
+
onSelectPlan: (r) => L(r),
|
|
1843
1858
|
onProceed: () => {
|
|
1844
|
-
|
|
1859
|
+
v();
|
|
1845
1860
|
},
|
|
1846
|
-
t:
|
|
1861
|
+
t: x,
|
|
1847
1862
|
analytics: i.analytics
|
|
1848
1863
|
}
|
|
1849
1864
|
)
|
|
@@ -1851,8 +1866,8 @@ function Ia({
|
|
|
1851
1866
|
}
|
|
1852
1867
|
const La = ({
|
|
1853
1868
|
className: n = "",
|
|
1854
|
-
locale:
|
|
1855
|
-
showLanguageSelector:
|
|
1869
|
+
locale: t,
|
|
1870
|
+
showLanguageSelector: a = !0,
|
|
1856
1871
|
showSheet: o,
|
|
1857
1872
|
userId: s,
|
|
1858
1873
|
isGlobal: l,
|
|
@@ -1860,30 +1875,32 @@ const La = ({
|
|
|
1860
1875
|
atlasSearchLocalities: m,
|
|
1861
1876
|
googleMapsAutocompleteEnabled: i,
|
|
1862
1877
|
enableThreeSkuFlow: h = !1,
|
|
1863
|
-
kundliReportSampleHref:
|
|
1878
|
+
kundliReportSampleHref: b,
|
|
1864
1879
|
oneQuestionSampleHref: p,
|
|
1865
1880
|
logoUrl: u,
|
|
1866
1881
|
reportImageUrl: y,
|
|
1867
|
-
universityLogoUrls:
|
|
1868
|
-
sampleReportHref:
|
|
1869
|
-
onViewSampleReport:
|
|
1882
|
+
universityLogoUrls: L,
|
|
1883
|
+
sampleReportHref: P,
|
|
1884
|
+
onViewSampleReport: I,
|
|
1870
1885
|
ctaHref: f,
|
|
1871
1886
|
onCtaClick: d,
|
|
1872
|
-
readMoreReviewsHref:
|
|
1873
|
-
onProceed:
|
|
1874
|
-
proceedHref:
|
|
1875
|
-
originalPriceLabel:
|
|
1876
|
-
discountedPriceLabel:
|
|
1877
|
-
discountPillLabel:
|
|
1878
|
-
analytics:
|
|
1879
|
-
onProceedGuidance:
|
|
1880
|
-
onLocaleChange:
|
|
1881
|
-
resolvedUtmBannerImageUrl:
|
|
1887
|
+
readMoreReviewsHref: w,
|
|
1888
|
+
onProceed: v,
|
|
1889
|
+
proceedHref: T,
|
|
1890
|
+
originalPriceLabel: A,
|
|
1891
|
+
discountedPriceLabel: D,
|
|
1892
|
+
discountPillLabel: Q,
|
|
1893
|
+
analytics: G,
|
|
1894
|
+
onProceedGuidance: $,
|
|
1895
|
+
onLocaleChange: H,
|
|
1896
|
+
resolvedUtmBannerImageUrl: z,
|
|
1897
|
+
initialFormValues: V,
|
|
1898
|
+
autoOpenPlanSheet: C
|
|
1882
1899
|
}) => /* @__PURE__ */ e.jsx(
|
|
1883
1900
|
je,
|
|
1884
1901
|
{
|
|
1885
|
-
locale:
|
|
1886
|
-
showLanguageSelector:
|
|
1902
|
+
locale: t,
|
|
1903
|
+
showLanguageSelector: a,
|
|
1887
1904
|
showSheet: o,
|
|
1888
1905
|
userId: s,
|
|
1889
1906
|
isGlobal: l,
|
|
@@ -1893,35 +1910,37 @@ const La = ({
|
|
|
1893
1910
|
googleMapsAutocompleteEnabled: i,
|
|
1894
1911
|
logoUrl: u,
|
|
1895
1912
|
reportImageUrl: y,
|
|
1896
|
-
universityLogoUrls:
|
|
1897
|
-
sampleReportHref:
|
|
1898
|
-
onViewSampleReport:
|
|
1913
|
+
universityLogoUrls: L,
|
|
1914
|
+
sampleReportHref: P,
|
|
1915
|
+
onViewSampleReport: I,
|
|
1899
1916
|
ctaHref: f,
|
|
1900
1917
|
onCtaClick: d,
|
|
1901
|
-
readMoreReviewsHref:
|
|
1902
|
-
onProceed:
|
|
1903
|
-
onProceedGuidance:
|
|
1904
|
-
proceedHref:
|
|
1905
|
-
originalPriceLabel:
|
|
1906
|
-
discountedPriceLabel:
|
|
1907
|
-
discountPillLabel:
|
|
1908
|
-
analytics:
|
|
1909
|
-
onLocaleChange:
|
|
1910
|
-
resolvedUtmBannerImageUrl:
|
|
1918
|
+
readMoreReviewsHref: w,
|
|
1919
|
+
onProceed: v,
|
|
1920
|
+
onProceedGuidance: $,
|
|
1921
|
+
proceedHref: T,
|
|
1922
|
+
originalPriceLabel: A,
|
|
1923
|
+
discountedPriceLabel: D,
|
|
1924
|
+
discountPillLabel: Q,
|
|
1925
|
+
analytics: G,
|
|
1926
|
+
onLocaleChange: H,
|
|
1927
|
+
resolvedUtmBannerImageUrl: z,
|
|
1928
|
+
initialFormValues: V,
|
|
1929
|
+
autoOpenPlanSheet: C,
|
|
1911
1930
|
children: /* @__PURE__ */ e.jsx(
|
|
1912
1931
|
Ia,
|
|
1913
1932
|
{
|
|
1914
1933
|
className: n,
|
|
1915
1934
|
showInlineForm: !0,
|
|
1916
1935
|
enableThreeSkuFlow: h,
|
|
1917
|
-
kundliReportSampleHref:
|
|
1936
|
+
kundliReportSampleHref: b,
|
|
1918
1937
|
oneQuestionSampleHref: p
|
|
1919
1938
|
}
|
|
1920
1939
|
)
|
|
1921
1940
|
}
|
|
1922
|
-
), Sa = ({ variant: n, ...
|
|
1923
|
-
const
|
|
1924
|
-
return (n ?? (
|
|
1941
|
+
), Sa = ({ variant: n, ...t }) => {
|
|
1942
|
+
const a = typeof window < "u" ? new URLSearchParams(window.location.search).get("variant") : null;
|
|
1943
|
+
return (n ?? (a === "v1" ? "v1" : void 0)) === "v1" ? /* @__PURE__ */ e.jsx(La, { ...t }) : /* @__PURE__ */ e.jsx(Dt, { ...t });
|
|
1925
1944
|
}, Ea = "[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}";
|
|
1926
1945
|
export {
|
|
1927
1946
|
Ea as K,
|
|
@@ -1930,4 +1949,4 @@ export {
|
|
|
1930
1949
|
Dt as b,
|
|
1931
1950
|
La as c
|
|
1932
1951
|
};
|
|
1933
|
-
//# sourceMappingURL=criticalCss-
|
|
1952
|
+
//# sourceMappingURL=criticalCss-5f00WNFD.js.map
|