@srimandir/kundli-generator 8.0.2 → 8.0.4
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-AI15hzcE.js → analytics-UE1GTXAs.js} +1158 -1152
- package/dist/{analytics-AI15hzcE.js.map → analytics-UE1GTXAs.js.map} +1 -1
- package/dist/components/KundliPlanBottomSheet/ConsultationSlotFields.d.ts +20 -0
- package/dist/{criticalCss-CKMR1Lnj.js → criticalCss-B4SmBsDx.js} +204 -216
- package/dist/criticalCss-B4SmBsDx.js.map +1 -0
- package/dist/form-entry.js +1 -1
- package/dist/kundli-generator.js +2 -2
- package/dist/page-entry.js +2 -2
- package/package.json +2 -2
- package/dist/criticalCss-CKMR1Lnj.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as e, h as ae, D as
|
|
2
|
-
import { useRef as
|
|
1
|
+
import { m as e, h as ae, D as ie, d as Ce, j as ge, c as Oe, u as Ne, L as ce, S as Pe, n as Ie, t as Le, o as qe, k as Ke, P as Qe, F as He, U as Ge, p as We, q as ze } from "./analytics-UE1GTXAs.js";
|
|
2
|
+
import { useRef as b, useState as I, useEffect as N, useCallback as ne, useMemo as fe } from "react";
|
|
3
3
|
import { UserReviewsSection as Ve, FAQAccordion as Ye, ContactUsSection as Xe, FooterShell as Je, FooterCTAButton as Ze, CircularMarquee as en, footerShellStyles as ee } from "@srimandir/astrology-common";
|
|
4
|
-
const nn = "_hero_1vvjv_1", tn = "_title_1vvjv_5", an = "_subtitle_1vvjv_10", sn = "_topicTags_1vvjv_23", on = "_tag_1vvjv_27",
|
|
4
|
+
const nn = "_hero_1vvjv_1", tn = "_title_1vvjv_5", an = "_subtitle_1vvjv_10", sn = "_topicTags_1vvjv_23", on = "_tag_1vvjv_27", se = {
|
|
5
5
|
hero: nn,
|
|
6
6
|
title: tn,
|
|
7
7
|
subtitle: an,
|
|
@@ -15,10 +15,10 @@ const nn = "_hero_1vvjv_1", tn = "_title_1vvjv_5", an = "_subtitle_1vvjv_10", sn
|
|
|
15
15
|
"topicCareer",
|
|
16
16
|
"topicEducation",
|
|
17
17
|
"topicMoney"
|
|
18
|
-
],
|
|
19
|
-
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className:
|
|
20
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
21
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
18
|
+
], Te = ({ t: n, className: a = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${se.hero} ${a}`, "aria-labelledby": "hero-title", children: [
|
|
19
|
+
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: se.title, children: n("heroTitle") }),
|
|
20
|
+
/* @__PURE__ */ e.jsx("p", { className: se.subtitle, children: n("heroSubtitle") }),
|
|
21
|
+
/* @__PURE__ */ e.jsx("div", { className: se.topicTags, role: "list", children: ln.map((t) => /* @__PURE__ */ e.jsx("span", { className: se.tag, role: "listitem", children: n(t) }, t)) })
|
|
22
22
|
] }), rn = "_section_iqucz_1", cn = "_utmBanner_iqucz_9", dn = "_utmBannerImg_iqucz_13", un = "_backgroundLayer_iqucz_18", pn = "_backgroundImg_iqucz_25", mn = "_inner_iqucz_32", hn = "_content_iqucz_38", gn = "_headline_iqucz_42", xn = "_headlineLine_iqucz_47", fn = "_headlinePill_iqucz_52", _n = "_headlinePlain_iqucz_67", bn = "_featureList_iqucz_78", jn = "_featureItem_iqucz_85", yn = "_featureIcon_iqucz_90", vn = "_reportImage_iqucz_97", wn = "_reportImg_iqucz_107", w = {
|
|
23
23
|
section: rn,
|
|
24
24
|
utmBanner: cn,
|
|
@@ -41,7 +41,7 @@ const nn = "_hero_1vvjv_1", tn = "_title_1vvjv_5", an = "_subtitle_1vvjv_10", sn
|
|
|
41
41
|
"premiumFeature2",
|
|
42
42
|
"premiumFeature3",
|
|
43
43
|
"premiumFeature4"
|
|
44
|
-
], Pn = "https://srm-cdn.a4b.io/yoda/1772696452070.webp",
|
|
44
|
+
], Pn = "https://srm-cdn.a4b.io/yoda/1772696452070.webp", Se = ({
|
|
45
45
|
t: n,
|
|
46
46
|
reportImageUrl: a = Pn,
|
|
47
47
|
reportImagePriority: t,
|
|
@@ -51,7 +51,7 @@ const nn = "_hero_1vvjv_1", tn = "_title_1vvjv_5", an = "_subtitle_1vvjv_10", sn
|
|
|
51
51
|
utmBannerAltText: u = "",
|
|
52
52
|
className: d = ""
|
|
53
53
|
}) => {
|
|
54
|
-
const s = ae()?.config.imageComponent ??
|
|
54
|
+
const s = ae()?.config.imageComponent ?? ie;
|
|
55
55
|
if (r)
|
|
56
56
|
return /* @__PURE__ */ e.jsx(
|
|
57
57
|
"section",
|
|
@@ -115,7 +115,7 @@ const nn = "_hero_1vvjv_1", tn = "_title_1vvjv_5", an = "_subtitle_1vvjv_10", sn
|
|
|
115
115
|
/* @__PURE__ */ e.jsx("span", { className: w.headlinePill, children: n("astrologyGuidance") })
|
|
116
116
|
] })
|
|
117
117
|
] }),
|
|
118
|
-
/* @__PURE__ */ e.jsx("ul", { className: w.featureList, children: Nn.map((
|
|
118
|
+
/* @__PURE__ */ e.jsx("ul", { className: w.featureList, children: Nn.map((j) => /* @__PURE__ */ e.jsxs("li", { className: w.featureItem, children: [
|
|
119
119
|
/* @__PURE__ */ e.jsx(
|
|
120
120
|
s,
|
|
121
121
|
{
|
|
@@ -127,8 +127,8 @@ const nn = "_hero_1vvjv_1", tn = "_title_1vvjv_5", an = "_subtitle_1vvjv_10", sn
|
|
|
127
127
|
loading: "lazy"
|
|
128
128
|
}
|
|
129
129
|
),
|
|
130
|
-
n(
|
|
131
|
-
] },
|
|
130
|
+
n(j)
|
|
131
|
+
] }, j)) })
|
|
132
132
|
] }),
|
|
133
133
|
/* @__PURE__ */ e.jsx("div", { className: w.reportImage, children: /* @__PURE__ */ e.jsx(
|
|
134
134
|
s,
|
|
@@ -148,16 +148,16 @@ const nn = "_hero_1vvjv_1", tn = "_title_1vvjv_5", an = "_subtitle_1vvjv_10", sn
|
|
|
148
148
|
]
|
|
149
149
|
}
|
|
150
150
|
);
|
|
151
|
-
}, In = "_section_1kxsy_1", Ln = "_heading_1kxsy_6",
|
|
151
|
+
}, In = "_section_1kxsy_1", Ln = "_heading_1kxsy_6", Tn = "_logoImg_1kxsy_10", he = {
|
|
152
152
|
section: In,
|
|
153
153
|
heading: Ln,
|
|
154
|
-
logoImg:
|
|
155
|
-
},
|
|
154
|
+
logoImg: Tn
|
|
155
|
+
}, Sn = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", Re = ({
|
|
156
156
|
t: n,
|
|
157
|
-
logoUrl: a =
|
|
157
|
+
logoUrl: a = Sn,
|
|
158
158
|
className: t = ""
|
|
159
159
|
}) => {
|
|
160
|
-
const o = ae()?.config.imageComponent ??
|
|
160
|
+
const o = ae()?.config.imageComponent ?? ie;
|
|
161
161
|
return /* @__PURE__ */ e.jsxs("section", { className: `${he.section} ${t}`, "aria-labelledby": "certified-heading", children: [
|
|
162
162
|
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: he.heading, children: n("certifiedBy") }),
|
|
163
163
|
/* @__PURE__ */ e.jsx(
|
|
@@ -240,19 +240,19 @@ const Ee = ({
|
|
|
240
240
|
title: t,
|
|
241
241
|
pdfUrl: i
|
|
242
242
|
}) => {
|
|
243
|
-
const o =
|
|
243
|
+
const o = b(null), [r, u] = I(!0), [d, m] = I(null), [s, g] = I(null);
|
|
244
244
|
return N(() => {
|
|
245
245
|
if (!n) return;
|
|
246
|
-
const
|
|
246
|
+
const j = (c) => {
|
|
247
247
|
c.key === "Escape" && a();
|
|
248
248
|
};
|
|
249
|
-
return document.addEventListener("keydown",
|
|
250
|
-
document.removeEventListener("keydown",
|
|
249
|
+
return document.addEventListener("keydown", j), document.body.style.overflow = "hidden", () => {
|
|
250
|
+
document.removeEventListener("keydown", j), document.body.style.overflow = "";
|
|
251
251
|
};
|
|
252
252
|
}, [n, a]), N(() => {
|
|
253
|
-
n && import("pdfjs-dist").then((
|
|
254
|
-
g(
|
|
255
|
-
}).catch((
|
|
253
|
+
n && import("pdfjs-dist").then((j) => {
|
|
254
|
+
g(j);
|
|
255
|
+
}).catch((j) => {
|
|
256
256
|
m("Failed to load PDF viewer"), u(!1);
|
|
257
257
|
});
|
|
258
258
|
}, [n]), N(() => {
|
|
@@ -262,12 +262,12 @@ const Ee = ({
|
|
|
262
262
|
Zn(s);
|
|
263
263
|
const v = await s.getDocument({ url: i }).promise, k = o.current;
|
|
264
264
|
if (!k) return;
|
|
265
|
-
const C = k.clientWidth || 600,
|
|
266
|
-
for (let
|
|
267
|
-
const p = await v.getPage(
|
|
268
|
-
P.height =
|
|
265
|
+
const C = k.clientWidth || 600, T = Math.min(C / 612, 2);
|
|
266
|
+
for (let x = 1; x <= v.numPages; x++) {
|
|
267
|
+
const p = await v.getPage(x), f = p.getViewport({ scale: T }), P = document.createElement("canvas");
|
|
268
|
+
P.height = f.height, P.width = f.width, P.style.display = "block", P.style.margin = "0 auto 1rem", P.style.maxWidth = "100%";
|
|
269
269
|
const A = P.getContext("2d");
|
|
270
|
-
A && await p.render({ canvasContext: A, viewport:
|
|
270
|
+
A && await p.render({ canvasContext: A, viewport: f }).promise, k.appendChild(P);
|
|
271
271
|
}
|
|
272
272
|
} catch (c) {
|
|
273
273
|
m(c instanceof Error ? c.message : "Failed to load PDF");
|
|
@@ -287,7 +287,7 @@ const Ee = ({
|
|
|
287
287
|
"div",
|
|
288
288
|
{
|
|
289
289
|
className: O.modal,
|
|
290
|
-
onClick: (
|
|
290
|
+
onClick: (j) => j.stopPropagation(),
|
|
291
291
|
children: [
|
|
292
292
|
/* @__PURE__ */ e.jsxs("div", { className: O.header, children: [
|
|
293
293
|
/* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className: O.title, children: t }),
|
|
@@ -380,7 +380,7 @@ const Ee = ({
|
|
|
380
380
|
imageUrls: a = pt,
|
|
381
381
|
className: t = ""
|
|
382
382
|
}) => {
|
|
383
|
-
const o = ae()?.config.imageComponent ??
|
|
383
|
+
const o = ae()?.config.imageComponent ?? ie;
|
|
384
384
|
return /* @__PURE__ */ e.jsxs(
|
|
385
385
|
"section",
|
|
386
386
|
{
|
|
@@ -409,16 +409,16 @@ const Ee = ({
|
|
|
409
409
|
]
|
|
410
410
|
}
|
|
411
411
|
);
|
|
412
|
-
}, mt = "_section_75s76_1", ht = "_heading_75s76_6", gt = "_subtitle_75s76_11", xt = "_list_75s76_16", ft = "_item_75s76_20",
|
|
412
|
+
}, mt = "_section_75s76_1", ht = "_heading_75s76_6", gt = "_subtitle_75s76_11", xt = "_list_75s76_16", ft = "_item_75s76_20", oe = {
|
|
413
413
|
section: mt,
|
|
414
414
|
heading: ht,
|
|
415
415
|
subtitle: gt,
|
|
416
416
|
list: xt,
|
|
417
417
|
item: ft
|
|
418
|
-
}, _t = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], De = ({ t: n, className: a = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${
|
|
419
|
-
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className:
|
|
420
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
421
|
-
/* @__PURE__ */ e.jsx("ul", { className:
|
|
418
|
+
}, _t = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], De = ({ t: n, className: a = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${oe.section} ${a}`, "aria-labelledby": "why-heading", children: [
|
|
419
|
+
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: oe.heading, children: n("whyUsTitle") }),
|
|
420
|
+
/* @__PURE__ */ e.jsx("p", { className: oe.subtitle, children: n("whyUsSubtitle") }),
|
|
421
|
+
/* @__PURE__ */ e.jsx("ul", { className: oe.list, children: _t.map((t) => /* @__PURE__ */ e.jsx("li", { className: oe.item, children: n(t) }, t)) })
|
|
422
422
|
] }), bt = "_headingBold_g8xg7_1", jt = {
|
|
423
423
|
headingBold: bt
|
|
424
424
|
}, Ue = ({
|
|
@@ -468,19 +468,19 @@ const Ee = ({
|
|
|
468
468
|
brandName: o,
|
|
469
469
|
className: r = ""
|
|
470
470
|
}) => {
|
|
471
|
-
const d = ae()?.config.isGlobal ?? !0, m = a ?? be, s = t ?? je, g = i ?? ye,
|
|
471
|
+
const d = ae()?.config.isGlobal ?? !0, m = a ?? be, s = t ?? je, g = i ?? ye, j = d ? n("contactWhatsAppGlobal").replace(be, m) : n("contactWhatsAppDomestic").replace(je, s), c = n("contactEmail").replace(ye, g);
|
|
472
472
|
return /* @__PURE__ */ e.jsx(
|
|
473
473
|
Xe,
|
|
474
474
|
{
|
|
475
475
|
title: n("contactTitle"),
|
|
476
476
|
brandName: o ?? n("contactBrandName"),
|
|
477
|
-
whatsAppLine:
|
|
477
|
+
whatsAppLine: j,
|
|
478
478
|
emailLine: c,
|
|
479
479
|
className: r
|
|
480
480
|
}
|
|
481
481
|
);
|
|
482
482
|
}, kt = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", Ct = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Nt = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Pt = ({ t: n }) => {
|
|
483
|
-
const t = ae()?.config.imageComponent ??
|
|
483
|
+
const t = ae()?.config.imageComponent ?? ie;
|
|
484
484
|
return /* @__PURE__ */ e.jsxs("div", { className: ee.marqueeContent, children: [
|
|
485
485
|
/* @__PURE__ */ e.jsxs("span", { className: ee.badge, children: [
|
|
486
486
|
/* @__PURE__ */ e.jsx(t, { src: kt, alt: "", className: ee.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
@@ -510,10 +510,10 @@ const Ee = ({
|
|
|
510
510
|
children: /* @__PURE__ */ e.jsx(Ze, { href: t, onClick: a, children: o })
|
|
511
511
|
}
|
|
512
512
|
);
|
|
513
|
-
}, Lt = "_container_nm3gb_1",
|
|
513
|
+
}, Lt = "_container_nm3gb_1", Tt = "_main_nm3gb_6", St = "_langDropdownWrap_nm3gb_12", Rt = "_langTrigger_nm3gb_16", Ft = "_langIcon_nm3gb_28", Et = "_langLabel_nm3gb_35", At = "_langMenu_nm3gb_40", Dt = "_langOption_nm3gb_46", z = {
|
|
514
514
|
container: Lt,
|
|
515
|
-
main:
|
|
516
|
-
langDropdownWrap:
|
|
515
|
+
main: Tt,
|
|
516
|
+
langDropdownWrap: St,
|
|
517
517
|
langTrigger: Rt,
|
|
518
518
|
langIcon: Ft,
|
|
519
519
|
langLabel: Et,
|
|
@@ -535,7 +535,7 @@ const Ee = ({
|
|
|
535
535
|
onClick: () => a?.trackKundliViewSampleImageClicked?.()
|
|
536
536
|
}
|
|
537
537
|
)
|
|
538
|
-
] }),
|
|
538
|
+
] }), de = {
|
|
539
539
|
en: "https://srm-cdn.a4b.io/yoda/1773317492292.pdf",
|
|
540
540
|
hi: "https://srm-sbox-cdn.a4b.io/aiguruji/kundali-report/kundali-id/8f8a59b9-90cf-48ac-a9de-3277cd3967ac/report.pdf",
|
|
541
541
|
gu: "https://srm-sbox-cdn.a4b.io/aiguruji/kundali-report/kundali-id/7718085b-c611-4033-b59a-0207487a746b/report.pdf",
|
|
@@ -605,7 +605,7 @@ function K({
|
|
|
605
605
|
children: a,
|
|
606
606
|
onImpression: t
|
|
607
607
|
}) {
|
|
608
|
-
const i =
|
|
608
|
+
const i = b(null), o = b(!1);
|
|
609
609
|
return N(() => {
|
|
610
610
|
const r = i.current;
|
|
611
611
|
if (!r) return;
|
|
@@ -627,7 +627,7 @@ function Kt({ className: n }) {
|
|
|
627
627
|
return a === "form" ? /* @__PURE__ */ e.jsx(Oe, {}) : /* @__PURE__ */ e.jsx(Qt, { className: n });
|
|
628
628
|
}
|
|
629
629
|
function Qt({ className: n }) {
|
|
630
|
-
const a = Ne(), { locale: t, setLocale: i, config: o, goToForm: r } = ge(), u = o.resolvedUtmBannerImageUrl || void 0, [d, m] = I(!1), s =
|
|
630
|
+
const a = Ne(), { locale: t, setLocale: i, config: o, goToForm: r } = ge(), u = o.resolvedUtmBannerImageUrl || void 0, [d, m] = I(!1), s = b(null), g = b(o.locale), j = b(
|
|
631
631
|
a?.locale
|
|
632
632
|
);
|
|
633
633
|
N(() => {
|
|
@@ -635,20 +635,20 @@ function Qt({ className: n }) {
|
|
|
635
635
|
}, [o.locale, i]), N(() => {
|
|
636
636
|
if (o.locale) return;
|
|
637
637
|
const p = a?.locale;
|
|
638
|
-
p &&
|
|
638
|
+
p && j.current !== p && i(p), j.current = p;
|
|
639
639
|
}, [a?.locale, o.locale, i]), N(() => {
|
|
640
640
|
if (!d) return;
|
|
641
|
-
const p = (
|
|
642
|
-
s.current && !s.current.contains(
|
|
641
|
+
const p = (f) => {
|
|
642
|
+
s.current && !s.current.contains(f.target) && m(!1);
|
|
643
643
|
};
|
|
644
644
|
return document.addEventListener("mousedown", p), () => document.removeEventListener("mousedown", p);
|
|
645
645
|
}, [d]);
|
|
646
|
-
const c = (p) => Ot(t, p), v = o.showLanguageSelector ?? !0, k = o.imageComponent ??
|
|
646
|
+
const c = (p) => Ot(t, p), v = o.showLanguageSelector ?? !0, k = o.imageComponent ?? ie, C = v ? /* @__PURE__ */ e.jsxs("div", { className: z.langDropdownWrap, ref: s, children: [
|
|
647
647
|
/* @__PURE__ */ e.jsxs(
|
|
648
648
|
"button",
|
|
649
649
|
{
|
|
650
650
|
type: "button",
|
|
651
|
-
className:
|
|
651
|
+
className: z.langTrigger,
|
|
652
652
|
onClick: () => {
|
|
653
653
|
o.analytics?.trackLanguageClickedFe?.({ language: t }), m((p) => !p);
|
|
654
654
|
},
|
|
@@ -662,20 +662,20 @@ function Qt({ className: n }) {
|
|
|
662
662
|
{
|
|
663
663
|
src: Mt,
|
|
664
664
|
alt: "",
|
|
665
|
-
className:
|
|
665
|
+
className: z.langIcon,
|
|
666
666
|
width: 16,
|
|
667
667
|
height: 16,
|
|
668
668
|
loading: "eager"
|
|
669
669
|
}
|
|
670
670
|
),
|
|
671
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
671
|
+
/* @__PURE__ */ e.jsx("span", { className: z.langLabel, children: ce[t] })
|
|
672
672
|
]
|
|
673
673
|
}
|
|
674
674
|
),
|
|
675
675
|
d && /* @__PURE__ */ e.jsx(
|
|
676
676
|
"ul",
|
|
677
677
|
{
|
|
678
|
-
className:
|
|
678
|
+
className: z.langMenu,
|
|
679
679
|
role: "listbox",
|
|
680
680
|
"aria-labelledby": "kundli-lang",
|
|
681
681
|
"aria-activedescendant": `kundli-lang-option-${t}`,
|
|
@@ -685,22 +685,22 @@ function Qt({ className: n }) {
|
|
|
685
685
|
id: `kundli-lang-option-${p}`,
|
|
686
686
|
role: "option",
|
|
687
687
|
"aria-selected": p === t,
|
|
688
|
-
className:
|
|
688
|
+
className: z.langOption,
|
|
689
689
|
onClick: () => {
|
|
690
690
|
o.analytics?.trackLanguageChangedFe?.({
|
|
691
691
|
newLanguage: p
|
|
692
692
|
}), i(p), m(!1);
|
|
693
693
|
},
|
|
694
|
-
children:
|
|
694
|
+
children: ce[p]
|
|
695
695
|
},
|
|
696
696
|
p
|
|
697
697
|
))
|
|
698
698
|
}
|
|
699
699
|
)
|
|
700
|
-
] }) : null,
|
|
701
|
-
const
|
|
702
|
-
o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText:
|
|
703
|
-
},
|
|
700
|
+
] }) : null, T = (p) => {
|
|
701
|
+
const f = p.currentTarget.innerText?.trim() ?? c("ctaButtonAfter");
|
|
702
|
+
o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: f }), r(), o.onCtaClick?.();
|
|
703
|
+
}, x = ne(
|
|
704
704
|
(p) => {
|
|
705
705
|
o.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
706
706
|
section: p,
|
|
@@ -709,7 +709,7 @@ function Qt({ className: n }) {
|
|
|
709
709
|
},
|
|
710
710
|
[o.analytics]
|
|
711
711
|
);
|
|
712
|
-
return /* @__PURE__ */ e.jsxs("div", { className: `${
|
|
712
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${z.container} ${n}`, children: [
|
|
713
713
|
/* @__PURE__ */ e.jsx(
|
|
714
714
|
Ie,
|
|
715
715
|
{
|
|
@@ -718,22 +718,22 @@ function Qt({ className: n }) {
|
|
|
718
718
|
languageSelector: C
|
|
719
719
|
}
|
|
720
720
|
),
|
|
721
|
-
/* @__PURE__ */ e.jsxs("main", { className:
|
|
721
|
+
/* @__PURE__ */ e.jsxs("main", { className: z.main, children: [
|
|
722
722
|
/* @__PURE__ */ e.jsx(
|
|
723
723
|
K,
|
|
724
724
|
{
|
|
725
725
|
section: "hero",
|
|
726
|
-
onImpression:
|
|
727
|
-
children: /* @__PURE__ */ e.jsx(
|
|
726
|
+
onImpression: x,
|
|
727
|
+
children: /* @__PURE__ */ e.jsx(Te, { t: c })
|
|
728
728
|
}
|
|
729
729
|
),
|
|
730
730
|
/* @__PURE__ */ e.jsx(
|
|
731
731
|
K,
|
|
732
732
|
{
|
|
733
733
|
section: "premium_report_overview",
|
|
734
|
-
onImpression:
|
|
734
|
+
onImpression: x,
|
|
735
735
|
children: /* @__PURE__ */ e.jsx(
|
|
736
|
-
|
|
736
|
+
Se,
|
|
737
737
|
{
|
|
738
738
|
t: c,
|
|
739
739
|
reportImageUrl: o.reportImageUrl,
|
|
@@ -750,7 +750,7 @@ function Qt({ className: n }) {
|
|
|
750
750
|
K,
|
|
751
751
|
{
|
|
752
752
|
section: "university_certification",
|
|
753
|
-
onImpression:
|
|
753
|
+
onImpression: x,
|
|
754
754
|
children: /* @__PURE__ */ e.jsx(
|
|
755
755
|
Re,
|
|
756
756
|
{
|
|
@@ -766,7 +766,7 @@ function Qt({ className: n }) {
|
|
|
766
766
|
K,
|
|
767
767
|
{
|
|
768
768
|
section: "three_steps_process",
|
|
769
|
-
onImpression:
|
|
769
|
+
onImpression: x,
|
|
770
770
|
children: /* @__PURE__ */ e.jsx(Fe, { t: c, locale: t, isGlobal: o.isGlobal })
|
|
771
771
|
}
|
|
772
772
|
),
|
|
@@ -774,12 +774,12 @@ function Qt({ className: n }) {
|
|
|
774
774
|
K,
|
|
775
775
|
{
|
|
776
776
|
section: "view_sample_report",
|
|
777
|
-
onImpression:
|
|
777
|
+
onImpression: x,
|
|
778
778
|
children: /* @__PURE__ */ e.jsx(
|
|
779
779
|
xe,
|
|
780
780
|
{
|
|
781
781
|
t: c,
|
|
782
|
-
pdfUrl: o.sampleReportHref ??
|
|
782
|
+
pdfUrl: o.sampleReportHref ?? de[t] ?? de.en,
|
|
783
783
|
onClick: o.onViewSampleReport,
|
|
784
784
|
analytics: o.analytics
|
|
785
785
|
}
|
|
@@ -790,7 +790,7 @@ function Qt({ className: n }) {
|
|
|
790
790
|
K,
|
|
791
791
|
{
|
|
792
792
|
section: "what_youll_find",
|
|
793
|
-
onImpression:
|
|
793
|
+
onImpression: x,
|
|
794
794
|
children: /* @__PURE__ */ e.jsx(Ae, { t: c })
|
|
795
795
|
}
|
|
796
796
|
),
|
|
@@ -798,7 +798,7 @@ function Qt({ className: n }) {
|
|
|
798
798
|
K,
|
|
799
799
|
{
|
|
800
800
|
section: "why_us",
|
|
801
|
-
onImpression:
|
|
801
|
+
onImpression: x,
|
|
802
802
|
children: /* @__PURE__ */ e.jsx(De, { t: c })
|
|
803
803
|
}
|
|
804
804
|
),
|
|
@@ -806,7 +806,7 @@ function Qt({ className: n }) {
|
|
|
806
806
|
K,
|
|
807
807
|
{
|
|
808
808
|
section: "feedback",
|
|
809
|
-
onImpression:
|
|
809
|
+
onImpression: x,
|
|
810
810
|
children: /* @__PURE__ */ e.jsx(
|
|
811
811
|
Ue,
|
|
812
812
|
{
|
|
@@ -821,7 +821,7 @@ function Qt({ className: n }) {
|
|
|
821
821
|
K,
|
|
822
822
|
{
|
|
823
823
|
section: "faq",
|
|
824
|
-
onImpression:
|
|
824
|
+
onImpression: x,
|
|
825
825
|
children: /* @__PURE__ */ e.jsx($e, { t: c })
|
|
826
826
|
}
|
|
827
827
|
),
|
|
@@ -829,7 +829,7 @@ function Qt({ className: n }) {
|
|
|
829
829
|
K,
|
|
830
830
|
{
|
|
831
831
|
section: "contact_us",
|
|
832
|
-
onImpression:
|
|
832
|
+
onImpression: x,
|
|
833
833
|
children: /* @__PURE__ */ e.jsx(Be, { t: c })
|
|
834
834
|
}
|
|
835
835
|
)
|
|
@@ -839,7 +839,7 @@ function Qt({ className: n }) {
|
|
|
839
839
|
{
|
|
840
840
|
t: c,
|
|
841
841
|
ctaHref: o.ctaHref,
|
|
842
|
-
onCtaClick: o.ctaHref ? void 0 :
|
|
842
|
+
onCtaClick: o.ctaHref ? void 0 : T
|
|
843
843
|
}
|
|
844
844
|
)
|
|
845
845
|
] });
|
|
@@ -856,15 +856,15 @@ const Ht = ({
|
|
|
856
856
|
googleMapsAutocompleteEnabled: m,
|
|
857
857
|
logoUrl: s,
|
|
858
858
|
reportImageUrl: g,
|
|
859
|
-
universityLogoUrls:
|
|
859
|
+
universityLogoUrls: j,
|
|
860
860
|
sampleReportHref: c,
|
|
861
861
|
onViewSampleReport: v,
|
|
862
862
|
ctaHref: k,
|
|
863
863
|
onCtaClick: C,
|
|
864
|
-
readMoreReviewsHref:
|
|
865
|
-
onProceed:
|
|
864
|
+
readMoreReviewsHref: T,
|
|
865
|
+
onProceed: x,
|
|
866
866
|
onProceedGuidance: p,
|
|
867
|
-
proceedHref:
|
|
867
|
+
proceedHref: f,
|
|
868
868
|
originalPriceLabel: P,
|
|
869
869
|
discountedPriceLabel: A,
|
|
870
870
|
discountPillLabel: H,
|
|
@@ -884,15 +884,15 @@ const Ht = ({
|
|
|
884
884
|
googleMapsAutocompleteEnabled: m,
|
|
885
885
|
logoUrl: s,
|
|
886
886
|
reportImageUrl: g,
|
|
887
|
-
universityLogoUrls:
|
|
887
|
+
universityLogoUrls: j,
|
|
888
888
|
sampleReportHref: c,
|
|
889
889
|
onViewSampleReport: v,
|
|
890
890
|
ctaHref: k,
|
|
891
891
|
onCtaClick: C,
|
|
892
|
-
readMoreReviewsHref:
|
|
893
|
-
onProceed:
|
|
892
|
+
readMoreReviewsHref: T,
|
|
893
|
+
onProceed: x,
|
|
894
894
|
onProceedGuidance: p,
|
|
895
|
-
proceedHref:
|
|
895
|
+
proceedHref: f,
|
|
896
896
|
originalPriceLabel: P,
|
|
897
897
|
discountedPriceLabel: A,
|
|
898
898
|
discountPillLabel: H,
|
|
@@ -1361,10 +1361,10 @@ const aa = 5e3, sa = 84, oa = `
|
|
|
1361
1361
|
analytics: m,
|
|
1362
1362
|
isGlobal: s = !0,
|
|
1363
1363
|
oneQuestionSampleHref: g,
|
|
1364
|
-
reportLanguage:
|
|
1364
|
+
reportLanguage: j
|
|
1365
1365
|
}) => {
|
|
1366
|
-
const c = ne((h) => (we[u] ?? we.en)[h] ?? d?.(h) ?? h, [u, d]), v = fe(() => o ?? ta(s), [o, s]), k = t?.id || v.find((h) => h.badge)?.id || v[0]?.id || "", C =
|
|
1367
|
-
const h =
|
|
1366
|
+
const c = ne((h) => (we[u] ?? we.en)[h] ?? d?.(h) ?? h, [u, d]), v = fe(() => o ?? ta(s), [o, s]), k = t?.id || v.find((h) => h.badge)?.id || v[0]?.id || "", C = b(null), T = b(null), x = b(null), p = b(!1), [f, P] = I(""), [A, H] = I(!1), [D, U] = I("custom"), [B, V] = I(null), [Y, W] = I(!1), G = b(!1), X = b(null), [te, J] = I(!1), y = fe(() => v.find((h) => h.id === k) ?? v[0], [v, k]), _ = !!y?.supportsQuestion, ue = !!(y?.astrologers && y.astrologers.length > 0), pe = !_ || f.trim().length > 0, le = ne(() => {
|
|
1367
|
+
const h = X.current;
|
|
1368
1368
|
h && (h.style.height = "auto", h.style.height = Math.max(100, Math.min(h.scrollHeight, sa)) + "px");
|
|
1369
1369
|
}, []);
|
|
1370
1370
|
N(() => {
|
|
@@ -1383,58 +1383,46 @@ const aa = 5e3, sa = 84, oa = `
|
|
|
1383
1383
|
document.body.style.overflow = h;
|
|
1384
1384
|
};
|
|
1385
1385
|
}, [n]);
|
|
1386
|
-
const
|
|
1386
|
+
const S = () => {
|
|
1387
1387
|
m?.trackPlanPageClosed?.(), a();
|
|
1388
|
-
},
|
|
1389
|
-
const L =
|
|
1388
|
+
}, re = (h) => {
|
|
1389
|
+
const L = T.current, Z = x.current;
|
|
1390
1390
|
if (L && Z) {
|
|
1391
1391
|
const me = Z.getBoundingClientRect().top - L.getBoundingClientRect().top + L.scrollTop;
|
|
1392
1392
|
L.scrollTo({ top: me, behavior: "smooth" });
|
|
1393
1393
|
}
|
|
1394
1394
|
G.current || (G.current = !0, m?.trackQuestionTextboxClicked?.({
|
|
1395
1395
|
entry_method: h,
|
|
1396
|
-
textbox_empty:
|
|
1396
|
+
textbox_empty: f.length === 0
|
|
1397
1397
|
}));
|
|
1398
1398
|
}, l = (h) => {
|
|
1399
1399
|
const L = h.target.value.slice(0, aa);
|
|
1400
|
-
D === "chip" && L !== c(ke[B ?? 0]) && U("chip_edited"), P(L),
|
|
1400
|
+
D === "chip" && L !== c(ke[B ?? 0]) && U("chip_edited"), P(L), le(), Y && W(!1);
|
|
1401
1401
|
}, R = (h, L) => {
|
|
1402
|
-
const Z = c(h), me =
|
|
1402
|
+
const Z = c(h), me = f.length > 0 && D !== "chip";
|
|
1403
1403
|
m?.trackPreSuggestedQuestionSelected?.({
|
|
1404
1404
|
question_text_loaded: Z,
|
|
1405
1405
|
chip_index: L,
|
|
1406
1406
|
previous_chip_index: B,
|
|
1407
1407
|
user_had_custom_text: me
|
|
1408
|
-
}), P(Z), U("chip"),
|
|
1408
|
+
}), P(Z), U("chip"), V(L), G.current = !1, setTimeout(le, 0);
|
|
1409
1409
|
}, M = () => {
|
|
1410
|
-
if (
|
|
1411
|
-
if (
|
|
1410
|
+
if (y) {
|
|
1411
|
+
if (_ && !f.trim()) {
|
|
1412
1412
|
W(!0);
|
|
1413
1413
|
return;
|
|
1414
1414
|
}
|
|
1415
|
-
if (se) {
|
|
1416
|
-
m?.trackSelectConsultationSlotClicked?.({
|
|
1417
|
-
planId: x.id,
|
|
1418
|
-
planName: x.title
|
|
1419
|
-
}), m?.trackPlanProceedClicked?.({
|
|
1420
|
-
planId: x.id,
|
|
1421
|
-
planName: x.title,
|
|
1422
|
-
cta_type: "confirm_consultation_slot",
|
|
1423
|
-
next_step: "slot_selection"
|
|
1424
|
-
}), z(!0);
|
|
1425
|
-
return;
|
|
1426
|
-
}
|
|
1427
1415
|
m?.trackPlanProceedClicked?.({
|
|
1428
|
-
planId:
|
|
1429
|
-
planName:
|
|
1430
|
-
price:
|
|
1416
|
+
planId: y.id,
|
|
1417
|
+
planName: y.title,
|
|
1418
|
+
price: y.price,
|
|
1431
1419
|
currency: s ? "USD" : "INR",
|
|
1432
|
-
question_asked:
|
|
1433
|
-
question_text:
|
|
1434
|
-
question_source:
|
|
1420
|
+
question_asked: _ ? !0 : void 0,
|
|
1421
|
+
question_text: _ ? f.trim() : void 0,
|
|
1422
|
+
question_source: _ ? D : void 0,
|
|
1435
1423
|
cta_type: "proceed",
|
|
1436
1424
|
next_step: "payment"
|
|
1437
|
-
}), r(
|
|
1425
|
+
}), r(y, _ ? f.trim() : void 0), a();
|
|
1438
1426
|
}
|
|
1439
1427
|
};
|
|
1440
1428
|
return n ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
@@ -1453,21 +1441,21 @@ const aa = 5e3, sa = 84, oa = `
|
|
|
1453
1441
|
className: "pt-3 w-full max-w-[480px] h-[100dvh] max-h-[100dvh] bg-white flex flex-col overflow-hidden",
|
|
1454
1442
|
style: { animation: "three-sku-slide-up 0.28s cubic-bezier(0.32, 0.72, 0, 1)" },
|
|
1455
1443
|
children: [
|
|
1456
|
-
/* @__PURE__ */ e.jsx(ia, { title: c("planSheetTitle"), onClose:
|
|
1457
|
-
/* @__PURE__ */ e.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pt-4 pb-4", ref:
|
|
1458
|
-
/* @__PURE__ */ e.jsx("h3", { className: "m-0 mb-3 text-[16px] font-bold leading-snug text-[#CF6C09]", children: c(
|
|
1459
|
-
|
|
1460
|
-
|
|
1444
|
+
/* @__PURE__ */ e.jsx(ia, { title: c("planSheetTitle"), onClose: S }),
|
|
1445
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pt-4 pb-4", ref: T, children: [
|
|
1446
|
+
/* @__PURE__ */ e.jsx("h3", { className: "m-0 mb-3 text-[16px] font-bold leading-snug text-[#CF6C09]", children: c(y?.title ?? "") }),
|
|
1447
|
+
y && /* @__PURE__ */ e.jsx(da, { plan: y, t: c }),
|
|
1448
|
+
_ && /* @__PURE__ */ e.jsx("div", { ref: x, children: /* @__PURE__ */ e.jsx(
|
|
1461
1449
|
pa,
|
|
1462
1450
|
{
|
|
1463
|
-
textareaRef:
|
|
1464
|
-
value:
|
|
1451
|
+
textareaRef: X,
|
|
1452
|
+
value: f,
|
|
1465
1453
|
label: c("planQuestionLabel"),
|
|
1466
1454
|
placeholder: c("planQuestionPlaceholder"),
|
|
1467
1455
|
chipKeys: ke,
|
|
1468
1456
|
t: c,
|
|
1469
|
-
onFocus: () =>
|
|
1470
|
-
onClick: () =>
|
|
1457
|
+
onFocus: () => re("keyboard_focus"),
|
|
1458
|
+
onClick: () => re("tap"),
|
|
1471
1459
|
onChange: l,
|
|
1472
1460
|
onChipClick: R,
|
|
1473
1461
|
onViewSample: g ? () => {
|
|
@@ -1475,10 +1463,10 @@ const aa = 5e3, sa = 84, oa = `
|
|
|
1475
1463
|
} : void 0
|
|
1476
1464
|
}
|
|
1477
1465
|
) }),
|
|
1478
|
-
|
|
1466
|
+
y?.astrologers && y.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
|
|
1479
1467
|
Na,
|
|
1480
1468
|
{
|
|
1481
|
-
astrologers:
|
|
1469
|
+
astrologers: y.astrologers,
|
|
1482
1470
|
heading: c("planAstrologerHeading"),
|
|
1483
1471
|
t: c
|
|
1484
1472
|
}
|
|
@@ -1504,8 +1492,8 @@ const aa = 5e3, sa = 84, oa = `
|
|
|
1504
1492
|
Ia,
|
|
1505
1493
|
{
|
|
1506
1494
|
canProceed: pe,
|
|
1507
|
-
label: c(
|
|
1508
|
-
showDisabledHint:
|
|
1495
|
+
label: c("planProceedToPayment"),
|
|
1496
|
+
showDisabledHint: Y,
|
|
1509
1497
|
hintText: c("planQuestionHint"),
|
|
1510
1498
|
onClick: M
|
|
1511
1499
|
}
|
|
@@ -1518,24 +1506,24 @@ const aa = 5e3, sa = 84, oa = `
|
|
|
1518
1506
|
)
|
|
1519
1507
|
}
|
|
1520
1508
|
),
|
|
1521
|
-
|
|
1509
|
+
ue && y?.astrologers && /* @__PURE__ */ e.jsx(
|
|
1522
1510
|
Ke,
|
|
1523
1511
|
{
|
|
1524
1512
|
isOpen: te,
|
|
1525
|
-
onClose: () =>
|
|
1526
|
-
astrologers:
|
|
1513
|
+
onClose: () => J(!1),
|
|
1514
|
+
astrologers: y.astrologers,
|
|
1527
1515
|
t: c,
|
|
1528
1516
|
analytics: m,
|
|
1529
|
-
reportLanguage:
|
|
1517
|
+
reportLanguage: j,
|
|
1530
1518
|
onProceed: (h) => {
|
|
1531
1519
|
m?.trackPlanProceedClicked?.({
|
|
1532
|
-
planId:
|
|
1533
|
-
planName:
|
|
1534
|
-
price:
|
|
1520
|
+
planId: y.id,
|
|
1521
|
+
planName: y.title,
|
|
1522
|
+
price: y.price,
|
|
1535
1523
|
currency: s ? "USD" : "INR",
|
|
1536
1524
|
cta_type: "proceed",
|
|
1537
1525
|
next_step: "payment"
|
|
1538
|
-
}), r(
|
|
1526
|
+
}), r(y, void 0, h), J(!1), a();
|
|
1539
1527
|
}
|
|
1540
1528
|
}
|
|
1541
1529
|
),
|
|
@@ -1549,13 +1537,13 @@ const aa = 5e3, sa = 84, oa = `
|
|
|
1549
1537
|
}
|
|
1550
1538
|
)
|
|
1551
1539
|
] }) : null;
|
|
1552
|
-
},
|
|
1540
|
+
}, Ta = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Sa = (n, a) => Le[n]?.[a] ?? a, Ra = 112;
|
|
1553
1541
|
function $({
|
|
1554
1542
|
section: n,
|
|
1555
1543
|
children: a,
|
|
1556
1544
|
onImpression: t
|
|
1557
1545
|
}) {
|
|
1558
|
-
const i =
|
|
1546
|
+
const i = b(null), o = b(!1);
|
|
1559
1547
|
return N(() => {
|
|
1560
1548
|
const r = i.current;
|
|
1561
1549
|
if (!r) return;
|
|
@@ -1580,50 +1568,50 @@ function Fa({
|
|
|
1580
1568
|
kundliReportSampleHref: o,
|
|
1581
1569
|
oneQuestionSampleHref: r = $t
|
|
1582
1570
|
}) {
|
|
1583
|
-
const u = Ne(), { locale: d, setLocale: m, config: s, formValues: g, setFormValues:
|
|
1584
|
-
|
|
1571
|
+
const u = Ne(), { locale: d, setLocale: m, config: s, formValues: g, setFormValues: j } = ge(), c = o ?? de[d] ?? de.en, [v, k] = I(!1), [C, T] = I(null), x = b(null), p = b(void 0), f = b(void 0), P = b(null), A = b(!1), H = ne((l) => {
|
|
1572
|
+
x.current = l, k(!0);
|
|
1585
1573
|
}, []), D = ne(() => {
|
|
1586
|
-
if (!
|
|
1574
|
+
if (!x.current || !C) return;
|
|
1587
1575
|
const l = {
|
|
1588
|
-
...
|
|
1576
|
+
...x.current,
|
|
1589
1577
|
_selectedPlan: C,
|
|
1590
1578
|
...p.current !== void 0 ? { _question: p.current } : {},
|
|
1591
|
-
...
|
|
1579
|
+
...f.current !== void 0 ? { _consultationSlot: f.current } : {}
|
|
1592
1580
|
};
|
|
1593
|
-
p.current = void 0,
|
|
1594
|
-
}, [C, s.onProceed, s.onProceedGuidance]), [U, B] = I(!1), [
|
|
1581
|
+
p.current = void 0, f.current = void 0, C.id === Qe && s.onProceedGuidance ? s.onProceedGuidance(l) : s.onProceed?.(l), k(!1), x.current = null;
|
|
1582
|
+
}, [C, s.onProceed, s.onProceedGuidance]), [U, B] = I(!1), [V, Y] = I(
|
|
1595
1583
|
s.isGlobal ?? !0 ? "+1" : "+91"
|
|
1596
|
-
), W =
|
|
1584
|
+
), W = b(null), G = b(null), X = b(s.locale), te = b(
|
|
1597
1585
|
u?.locale
|
|
1598
1586
|
);
|
|
1599
1587
|
N(() => {
|
|
1600
|
-
s.locale &&
|
|
1588
|
+
s.locale && X.current !== s.locale && m(s.locale), X.current = s.locale;
|
|
1601
1589
|
}, [s.locale, m]), N(() => {
|
|
1602
1590
|
if (s.locale) return;
|
|
1603
1591
|
const l = u?.locale;
|
|
1604
1592
|
l && te.current !== l && m(l), te.current = l;
|
|
1605
1593
|
}, [u?.locale, s.locale, m]), N(() => {
|
|
1606
|
-
|
|
1594
|
+
Y(s.isGlobal ?? !0 ? "+1" : "+91");
|
|
1607
1595
|
}, [s.isGlobal]);
|
|
1608
|
-
const
|
|
1596
|
+
const J = b(!1);
|
|
1609
1597
|
N(() => {
|
|
1610
|
-
if (
|
|
1598
|
+
if (J.current || !a || s.autoOpenPlanSheet) return;
|
|
1611
1599
|
const l = s.initialFormValues;
|
|
1612
1600
|
if (!(!!l && (!!l.fullName || !!l.phone || !!l.email || !!l.gender || !!l.language_code || !!l.dateOfBirth || !!l.birthTime || !!l.birthPlace))) return;
|
|
1613
|
-
|
|
1601
|
+
J.current = !0;
|
|
1614
1602
|
const M = requestAnimationFrame(() => {
|
|
1615
1603
|
W.current?.scrollIntoView({ behavior: "smooth", block: "start" });
|
|
1616
1604
|
});
|
|
1617
1605
|
return () => cancelAnimationFrame(M);
|
|
1618
1606
|
}, [a, s.autoOpenPlanSheet, s.initialFormValues]);
|
|
1619
|
-
const
|
|
1607
|
+
const y = b(!1);
|
|
1620
1608
|
N(() => {
|
|
1621
|
-
if (
|
|
1622
|
-
|
|
1609
|
+
if (y.current || !s.autoOpenPlanSheet) return;
|
|
1610
|
+
y.current = !0, W.current?.scrollIntoView({ behavior: "auto", block: "start" });
|
|
1623
1611
|
const l = (g.phone ?? "").trim();
|
|
1624
1612
|
H({
|
|
1625
1613
|
...g,
|
|
1626
|
-
phone: l && `${
|
|
1614
|
+
phone: l && `${V}-${l}`
|
|
1627
1615
|
});
|
|
1628
1616
|
}, [s.autoOpenPlanSheet]), N(() => {
|
|
1629
1617
|
if (!U) return;
|
|
@@ -1643,7 +1631,7 @@ function Fa({
|
|
|
1643
1631
|
);
|
|
1644
1632
|
return R.observe(l), () => R.disconnect();
|
|
1645
1633
|
}, [t, s.analytics]);
|
|
1646
|
-
const
|
|
1634
|
+
const _ = (l) => Sa(d, l), ue = s.showLanguageSelector ?? !0, pe = s.resolvedUtmBannerImageUrl || void 0, le = ue ? /* @__PURE__ */ e.jsxs("div", { className: Q.langDropdownWrap, ref: G, children: [
|
|
1647
1635
|
/* @__PURE__ */ e.jsxs(
|
|
1648
1636
|
"button",
|
|
1649
1637
|
{
|
|
@@ -1655,12 +1643,12 @@ function Fa({
|
|
|
1655
1643
|
"aria-expanded": U,
|
|
1656
1644
|
"aria-haspopup": "listbox",
|
|
1657
1645
|
id: "kundli-lang",
|
|
1658
|
-
"aria-label":
|
|
1646
|
+
"aria-label": _("language"),
|
|
1659
1647
|
children: [
|
|
1660
1648
|
/* @__PURE__ */ e.jsx(
|
|
1661
1649
|
"img",
|
|
1662
1650
|
{
|
|
1663
|
-
src:
|
|
1651
|
+
src: Ta,
|
|
1664
1652
|
alt: "",
|
|
1665
1653
|
className: Q.langIcon,
|
|
1666
1654
|
width: 16,
|
|
@@ -1668,7 +1656,7 @@ function Fa({
|
|
|
1668
1656
|
"aria-hidden": !0
|
|
1669
1657
|
}
|
|
1670
1658
|
),
|
|
1671
|
-
/* @__PURE__ */ e.jsx("span", { className: Q.langLabel, children:
|
|
1659
|
+
/* @__PURE__ */ e.jsx("span", { className: Q.langLabel, children: ce[d] })
|
|
1672
1660
|
]
|
|
1673
1661
|
}
|
|
1674
1662
|
),
|
|
@@ -1691,13 +1679,13 @@ function Fa({
|
|
|
1691
1679
|
newLanguage: l
|
|
1692
1680
|
}), m(l), B(!1);
|
|
1693
1681
|
},
|
|
1694
|
-
children:
|
|
1682
|
+
children: ce[l]
|
|
1695
1683
|
},
|
|
1696
1684
|
l
|
|
1697
1685
|
))
|
|
1698
1686
|
}
|
|
1699
1687
|
)
|
|
1700
|
-
] }) : null,
|
|
1688
|
+
] }) : null, S = ne(
|
|
1701
1689
|
(l) => {
|
|
1702
1690
|
s.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
1703
1691
|
section: l,
|
|
@@ -1705,7 +1693,7 @@ function Fa({
|
|
|
1705
1693
|
});
|
|
1706
1694
|
},
|
|
1707
1695
|
[s.analytics]
|
|
1708
|
-
),
|
|
1696
|
+
), re = ne((l) => {
|
|
1709
1697
|
const M = {
|
|
1710
1698
|
fullName: "kundli-full-name",
|
|
1711
1699
|
phone: "kundli-phone",
|
|
@@ -1728,9 +1716,9 @@ function Fa({
|
|
|
1728
1716
|
/* @__PURE__ */ e.jsx(
|
|
1729
1717
|
Ie,
|
|
1730
1718
|
{
|
|
1731
|
-
t:
|
|
1719
|
+
t: _,
|
|
1732
1720
|
logoUrl: s.logoUrl,
|
|
1733
|
-
languageSelector:
|
|
1721
|
+
languageSelector: le
|
|
1734
1722
|
}
|
|
1735
1723
|
),
|
|
1736
1724
|
/* @__PURE__ */ e.jsxs("main", { className: Q.main, children: [
|
|
@@ -1738,19 +1726,19 @@ function Fa({
|
|
|
1738
1726
|
$,
|
|
1739
1727
|
{
|
|
1740
1728
|
section: "hero",
|
|
1741
|
-
onImpression:
|
|
1742
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1729
|
+
onImpression: S,
|
|
1730
|
+
children: /* @__PURE__ */ e.jsx(Te, { t: _ })
|
|
1743
1731
|
}
|
|
1744
1732
|
),
|
|
1745
1733
|
/* @__PURE__ */ e.jsx(
|
|
1746
1734
|
$,
|
|
1747
1735
|
{
|
|
1748
1736
|
section: "premium_report_overview",
|
|
1749
|
-
onImpression:
|
|
1737
|
+
onImpression: S,
|
|
1750
1738
|
children: /* @__PURE__ */ e.jsx(
|
|
1751
|
-
|
|
1739
|
+
Se,
|
|
1752
1740
|
{
|
|
1753
|
-
t:
|
|
1741
|
+
t: _,
|
|
1754
1742
|
reportImageUrl: s.reportImageUrl,
|
|
1755
1743
|
analytics: s.analytics,
|
|
1756
1744
|
utmBannerImageUrl: pe,
|
|
@@ -1763,11 +1751,11 @@ function Fa({
|
|
|
1763
1751
|
$,
|
|
1764
1752
|
{
|
|
1765
1753
|
section: "university_certification",
|
|
1766
|
-
onImpression:
|
|
1754
|
+
onImpression: S,
|
|
1767
1755
|
children: /* @__PURE__ */ e.jsx(
|
|
1768
1756
|
Re,
|
|
1769
1757
|
{
|
|
1770
|
-
t:
|
|
1758
|
+
t: _,
|
|
1771
1759
|
logoUrl: s.universityLogoUrls?.find(
|
|
1772
1760
|
(l) => !!l
|
|
1773
1761
|
)
|
|
@@ -1779,15 +1767,15 @@ function Fa({
|
|
|
1779
1767
|
$,
|
|
1780
1768
|
{
|
|
1781
1769
|
section: "three_steps_process",
|
|
1782
|
-
onImpression:
|
|
1783
|
-
children: /* @__PURE__ */ e.jsx(Fe, { t:
|
|
1770
|
+
onImpression: S,
|
|
1771
|
+
children: /* @__PURE__ */ e.jsx(Fe, { t: _, locale: d, isGlobal: s.isGlobal })
|
|
1784
1772
|
}
|
|
1785
1773
|
),
|
|
1786
1774
|
/* @__PURE__ */ e.jsx(
|
|
1787
1775
|
$,
|
|
1788
1776
|
{
|
|
1789
1777
|
section: "view_sample_report",
|
|
1790
|
-
onImpression:
|
|
1778
|
+
onImpression: S,
|
|
1791
1779
|
children: t ? /* @__PURE__ */ e.jsx("section", { className: "bg-white px-3", children: /* @__PURE__ */ e.jsx(
|
|
1792
1780
|
Ut,
|
|
1793
1781
|
{
|
|
@@ -1798,7 +1786,7 @@ function Fa({
|
|
|
1798
1786
|
) }) : /* @__PURE__ */ e.jsx(
|
|
1799
1787
|
xe,
|
|
1800
1788
|
{
|
|
1801
|
-
t:
|
|
1789
|
+
t: _,
|
|
1802
1790
|
pdfUrl: s.sampleReportHref ?? c,
|
|
1803
1791
|
onClick: s.onViewSampleReport,
|
|
1804
1792
|
analytics: s.analytics
|
|
@@ -1810,17 +1798,17 @@ function Fa({
|
|
|
1810
1798
|
$,
|
|
1811
1799
|
{
|
|
1812
1800
|
section: "inline_form",
|
|
1813
|
-
onImpression:
|
|
1801
|
+
onImpression: S,
|
|
1814
1802
|
children: /* @__PURE__ */ e.jsxs("div", { className: Q.inlineFormWrap, ref: W, children: [
|
|
1815
|
-
/* @__PURE__ */ e.jsx(He, { t:
|
|
1803
|
+
/* @__PURE__ */ e.jsx(He, { t: _, align: "center" }),
|
|
1816
1804
|
/* @__PURE__ */ e.jsx(
|
|
1817
1805
|
Ge,
|
|
1818
1806
|
{
|
|
1819
|
-
t:
|
|
1807
|
+
t: _,
|
|
1820
1808
|
values: g,
|
|
1821
|
-
onChange:
|
|
1822
|
-
phoneIsdCode:
|
|
1823
|
-
onPhoneIsdCodeChange:
|
|
1809
|
+
onChange: j,
|
|
1810
|
+
phoneIsdCode: V,
|
|
1811
|
+
onPhoneIsdCodeChange: Y,
|
|
1824
1812
|
showV1ExtraFields: !0,
|
|
1825
1813
|
analytics: s.analytics
|
|
1826
1814
|
}
|
|
@@ -1828,12 +1816,12 @@ function Fa({
|
|
|
1828
1816
|
/* @__PURE__ */ e.jsx(
|
|
1829
1817
|
We,
|
|
1830
1818
|
{
|
|
1831
|
-
t:
|
|
1819
|
+
t: _,
|
|
1832
1820
|
values: g,
|
|
1833
|
-
phoneIsdCode:
|
|
1821
|
+
phoneIsdCode: V,
|
|
1834
1822
|
hideOriginalPrice: !0,
|
|
1835
1823
|
requireV1ExtraFields: !0,
|
|
1836
|
-
onValidationFailed:
|
|
1824
|
+
onValidationFailed: re,
|
|
1837
1825
|
onProceed: s.onProceed,
|
|
1838
1826
|
href: s.proceedHref,
|
|
1839
1827
|
originalPriceLabel: s.originalPriceLabel,
|
|
@@ -1854,27 +1842,27 @@ function Fa({
|
|
|
1854
1842
|
$,
|
|
1855
1843
|
{
|
|
1856
1844
|
section: "what_youll_find",
|
|
1857
|
-
onImpression:
|
|
1858
|
-
children: /* @__PURE__ */ e.jsx(Ae, { t:
|
|
1845
|
+
onImpression: S,
|
|
1846
|
+
children: /* @__PURE__ */ e.jsx(Ae, { t: _ })
|
|
1859
1847
|
}
|
|
1860
1848
|
),
|
|
1861
1849
|
/* @__PURE__ */ e.jsx(
|
|
1862
1850
|
$,
|
|
1863
1851
|
{
|
|
1864
1852
|
section: "why_us",
|
|
1865
|
-
onImpression:
|
|
1866
|
-
children: /* @__PURE__ */ e.jsx(De, { t:
|
|
1853
|
+
onImpression: S,
|
|
1854
|
+
children: /* @__PURE__ */ e.jsx(De, { t: _ })
|
|
1867
1855
|
}
|
|
1868
1856
|
),
|
|
1869
1857
|
/* @__PURE__ */ e.jsx(
|
|
1870
1858
|
$,
|
|
1871
1859
|
{
|
|
1872
1860
|
section: "feedback",
|
|
1873
|
-
onImpression:
|
|
1861
|
+
onImpression: S,
|
|
1874
1862
|
children: /* @__PURE__ */ e.jsx(
|
|
1875
1863
|
Ue,
|
|
1876
1864
|
{
|
|
1877
|
-
t:
|
|
1865
|
+
t: _,
|
|
1878
1866
|
readMoreHref: s.readMoreReviewsHref,
|
|
1879
1867
|
onReadMore: s.analytics?.trackReadMoreReviewsClicked ? () => s.analytics.trackReadMoreReviewsClicked() : void 0
|
|
1880
1868
|
}
|
|
@@ -1885,16 +1873,16 @@ function Fa({
|
|
|
1885
1873
|
$,
|
|
1886
1874
|
{
|
|
1887
1875
|
section: "faq",
|
|
1888
|
-
onImpression:
|
|
1889
|
-
children: /* @__PURE__ */ e.jsx($e, { t:
|
|
1876
|
+
onImpression: S,
|
|
1877
|
+
children: /* @__PURE__ */ e.jsx($e, { t: _ })
|
|
1890
1878
|
}
|
|
1891
1879
|
),
|
|
1892
1880
|
/* @__PURE__ */ e.jsx(
|
|
1893
1881
|
$,
|
|
1894
1882
|
{
|
|
1895
1883
|
section: "contact_us",
|
|
1896
|
-
onImpression:
|
|
1897
|
-
children: /* @__PURE__ */ e.jsx(Be, { t:
|
|
1884
|
+
onImpression: S,
|
|
1885
|
+
children: /* @__PURE__ */ e.jsx(Be, { t: _ })
|
|
1898
1886
|
}
|
|
1899
1887
|
)
|
|
1900
1888
|
] }),
|
|
@@ -1904,13 +1892,13 @@ function Fa({
|
|
|
1904
1892
|
isOpen: v,
|
|
1905
1893
|
onClose: () => k(!1),
|
|
1906
1894
|
selectedPlan: C,
|
|
1907
|
-
onSelectPlan: (l) =>
|
|
1895
|
+
onSelectPlan: (l) => T(l),
|
|
1908
1896
|
isGlobal: s.isGlobal,
|
|
1909
1897
|
locale: d,
|
|
1910
1898
|
onProceed: (l, R, M) => {
|
|
1911
|
-
p.current = R,
|
|
1899
|
+
p.current = R, f.current = M, D();
|
|
1912
1900
|
},
|
|
1913
|
-
t:
|
|
1901
|
+
t: _,
|
|
1914
1902
|
analytics: s.analytics,
|
|
1915
1903
|
oneQuestionSampleHref: r,
|
|
1916
1904
|
reportLanguage: g.language_code
|
|
@@ -1921,11 +1909,11 @@ function Fa({
|
|
|
1921
1909
|
isOpen: v,
|
|
1922
1910
|
onClose: () => k(!1),
|
|
1923
1911
|
selectedPlan: C,
|
|
1924
|
-
onSelectPlan: (l) =>
|
|
1912
|
+
onSelectPlan: (l) => T(l),
|
|
1925
1913
|
onProceed: (l, R) => {
|
|
1926
|
-
|
|
1914
|
+
f.current = R, D();
|
|
1927
1915
|
},
|
|
1928
|
-
t:
|
|
1916
|
+
t: _,
|
|
1929
1917
|
analytics: s.analytics,
|
|
1930
1918
|
enableConsultationScheduling: i
|
|
1931
1919
|
}
|
|
@@ -1944,28 +1932,28 @@ const Ea = ({
|
|
|
1944
1932
|
googleMapsApiKey: m,
|
|
1945
1933
|
atlasSearchLocalities: s,
|
|
1946
1934
|
googleMapsAutocompleteEnabled: g,
|
|
1947
|
-
enableThreeSkuFlow:
|
|
1935
|
+
enableThreeSkuFlow: j = !1,
|
|
1948
1936
|
enableConsultationScheduling: c = !1,
|
|
1949
1937
|
fetchConsultationSlots: v,
|
|
1950
1938
|
kundliReportSampleHref: k,
|
|
1951
1939
|
oneQuestionSampleHref: C,
|
|
1952
|
-
logoUrl:
|
|
1953
|
-
reportImageUrl:
|
|
1940
|
+
logoUrl: T,
|
|
1941
|
+
reportImageUrl: x,
|
|
1954
1942
|
universityLogoUrls: p,
|
|
1955
|
-
sampleReportHref:
|
|
1943
|
+
sampleReportHref: f,
|
|
1956
1944
|
onViewSampleReport: P,
|
|
1957
1945
|
ctaHref: A,
|
|
1958
1946
|
onCtaClick: H,
|
|
1959
1947
|
readMoreReviewsHref: D,
|
|
1960
1948
|
onProceed: U,
|
|
1961
1949
|
proceedHref: B,
|
|
1962
|
-
originalPriceLabel:
|
|
1963
|
-
discountedPriceLabel:
|
|
1950
|
+
originalPriceLabel: V,
|
|
1951
|
+
discountedPriceLabel: Y,
|
|
1964
1952
|
discountPillLabel: W,
|
|
1965
1953
|
analytics: G,
|
|
1966
|
-
onProceedGuidance:
|
|
1954
|
+
onProceedGuidance: X,
|
|
1967
1955
|
onLocaleChange: te,
|
|
1968
|
-
resolvedUtmBannerImageUrl:
|
|
1956
|
+
resolvedUtmBannerImageUrl: J
|
|
1969
1957
|
}) => /* @__PURE__ */ e.jsx(
|
|
1970
1958
|
Ce,
|
|
1971
1959
|
{
|
|
@@ -1982,29 +1970,29 @@ const Ea = ({
|
|
|
1982
1970
|
googleMapsAutocompleteEnabled: g,
|
|
1983
1971
|
enableConsultationScheduling: c,
|
|
1984
1972
|
fetchConsultationSlots: v,
|
|
1985
|
-
logoUrl:
|
|
1986
|
-
reportImageUrl:
|
|
1973
|
+
logoUrl: T,
|
|
1974
|
+
reportImageUrl: x,
|
|
1987
1975
|
universityLogoUrls: p,
|
|
1988
|
-
sampleReportHref:
|
|
1976
|
+
sampleReportHref: f,
|
|
1989
1977
|
onViewSampleReport: P,
|
|
1990
1978
|
ctaHref: A,
|
|
1991
1979
|
onCtaClick: H,
|
|
1992
1980
|
readMoreReviewsHref: D,
|
|
1993
1981
|
onProceed: U,
|
|
1994
|
-
onProceedGuidance:
|
|
1982
|
+
onProceedGuidance: X,
|
|
1995
1983
|
proceedHref: B,
|
|
1996
|
-
originalPriceLabel:
|
|
1997
|
-
discountedPriceLabel:
|
|
1984
|
+
originalPriceLabel: V,
|
|
1985
|
+
discountedPriceLabel: Y,
|
|
1998
1986
|
discountPillLabel: W,
|
|
1999
1987
|
analytics: G,
|
|
2000
1988
|
onLocaleChange: te,
|
|
2001
|
-
resolvedUtmBannerImageUrl:
|
|
1989
|
+
resolvedUtmBannerImageUrl: J,
|
|
2002
1990
|
children: /* @__PURE__ */ e.jsx(
|
|
2003
1991
|
Fa,
|
|
2004
1992
|
{
|
|
2005
1993
|
className: n,
|
|
2006
1994
|
showInlineForm: !0,
|
|
2007
|
-
enableThreeSkuFlow:
|
|
1995
|
+
enableThreeSkuFlow: j,
|
|
2008
1996
|
enableConsultationScheduling: c,
|
|
2009
1997
|
kundliReportSampleHref: k,
|
|
2010
1998
|
oneQuestionSampleHref: C
|
|
@@ -2022,4 +2010,4 @@ export {
|
|
|
2022
2010
|
Ht as b,
|
|
2023
2011
|
Ea as c
|
|
2024
2012
|
};
|
|
2025
|
-
//# sourceMappingURL=criticalCss-
|
|
2013
|
+
//# sourceMappingURL=criticalCss-B4SmBsDx.js.map
|