@srimandir/kundli-generator 3.0.77 → 3.0.78
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-yrF6SyTI.js +2610 -0
- package/dist/analytics-yrF6SyTI.js.map +1 -0
- package/dist/analytics.d.ts +97 -20
- package/dist/components/KundliForm/KundliForm.d.ts +2 -0
- package/dist/components/KundliForm/sections/FormHeader/FormHeader.d.ts +1 -0
- package/dist/components/KundliForm/sections/ProceedFooter/ProceedFooter.d.ts +4 -0
- package/dist/components/KundliForm/sections/UserInfoFormSection/UserInfoFormSection.d.ts +3 -0
- package/dist/components/KundliForm/sections/UserInfoFormSection/constants.d.ts +215 -0
- package/dist/components/KundliPage/KundliContext.d.ts +4 -0
- package/dist/components/KundliPage/KundliPage.d.ts +2 -0
- package/dist/components/KundliPage/KundliPageV1.d.ts +46 -0
- package/dist/components/KundliPage/KundliPageVariant.d.ts +5 -0
- package/dist/components/KundliPage/index.d.ts +4 -2
- package/dist/criticalCss-BJ9Nfrmv.js +1168 -0
- package/dist/criticalCss-BJ9Nfrmv.js.map +1 -0
- package/dist/form-entry.js +1 -1
- package/dist/i18n/translations.d.ts +0 -14
- package/dist/index.d.ts +1 -0
- package/dist/kundli-generator.js +17 -15
- package/dist/page-entry.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/dist/analytics-Du6zZXW9.js +0 -2144
- package/dist/analytics-Du6zZXW9.js.map +0 -1
- package/dist/criticalCss-BEe0O4RS.js +0 -788
- package/dist/criticalCss-BEe0O4RS.js.map +0 -1
|
@@ -0,0 +1,1168 @@
|
|
|
1
|
+
import { k as e, h as R, D as U, d as Q, j as B, c as pe, u as J, L as A, S as X, l as Z, t as ee, F as ge, U as he, P as _e } from "./analytics-yrF6SyTI.js";
|
|
2
|
+
import { useRef as I, useState as $, useEffect as k, useCallback as O } from "react";
|
|
3
|
+
import { UserReviewsSection as xe, FAQAccordion as fe, ContactUsSection as be, FooterShell as je, FooterCTAButton as ye, CircularMarquee as ve, footerShellStyles as F } from "@srimandir/astrology-common";
|
|
4
|
+
const we = "_container_nm3gb_1", Ie = "_main_nm3gb_6", ke = "_langDropdownWrap_nm3gb_12", Ne = "_langTrigger_nm3gb_16", Ce = "_langIcon_nm3gb_28", Le = "_langLabel_nm3gb_35", Pe = "_langMenu_nm3gb_40", Te = "_langOption_nm3gb_46", E = {
|
|
5
|
+
container: we,
|
|
6
|
+
main: Ie,
|
|
7
|
+
langDropdownWrap: ke,
|
|
8
|
+
langTrigger: Ne,
|
|
9
|
+
langIcon: Ce,
|
|
10
|
+
langLabel: Le,
|
|
11
|
+
langMenu: Pe,
|
|
12
|
+
langOption: Te
|
|
13
|
+
}, Se = "_hero_1vvjv_1", Ee = "_title_1vvjv_5", Fe = "_subtitle_1vvjv_10", $e = "_topicTags_1vvjv_23", Re = "_tag_1vvjv_27", D = {
|
|
14
|
+
hero: Se,
|
|
15
|
+
title: Ee,
|
|
16
|
+
subtitle: Fe,
|
|
17
|
+
topicTags: $e,
|
|
18
|
+
tag: Re
|
|
19
|
+
}, De = [
|
|
20
|
+
"topicMarriage",
|
|
21
|
+
"topicRelationship",
|
|
22
|
+
"topicBusiness",
|
|
23
|
+
"topicHealth",
|
|
24
|
+
"topicCareer",
|
|
25
|
+
"topicEducation",
|
|
26
|
+
"topicMoney"
|
|
27
|
+
], ne = ({ t: n, className: o = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${D.hero} ${o}`, "aria-labelledby": "hero-title", children: [
|
|
28
|
+
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: D.title, children: n("heroTitle") }),
|
|
29
|
+
/* @__PURE__ */ e.jsx("p", { className: D.subtitle, children: n("heroSubtitle") }),
|
|
30
|
+
/* @__PURE__ */ e.jsx("div", { className: D.topicTags, role: "list", children: De.map((a) => /* @__PURE__ */ e.jsx("span", { className: D.tag, role: "listitem", children: n(a) }, a)) })
|
|
31
|
+
] }), Me = "_section_1sbjm_1", Ue = "_backgroundLayer_1sbjm_9", Oe = "_backgroundImg_1sbjm_16", Ae = "_inner_1sbjm_23", Ke = "_content_1sbjm_29", Be = "_headline_1sbjm_33", We = "_headlineLine_1sbjm_38", Ge = "_headlinePill_1sbjm_43", He = "_headlinePlain_1sbjm_58", qe = "_featureList_1sbjm_69", Ve = "_featureItem_1sbjm_76", Ye = "_featureIcon_1sbjm_81", ze = "_reportImage_1sbjm_88", Qe = "_reportImg_1sbjm_98", f = {
|
|
32
|
+
section: Me,
|
|
33
|
+
backgroundLayer: Ue,
|
|
34
|
+
backgroundImg: Oe,
|
|
35
|
+
inner: Ae,
|
|
36
|
+
content: Ke,
|
|
37
|
+
headline: Be,
|
|
38
|
+
headlineLine: We,
|
|
39
|
+
headlinePill: Ge,
|
|
40
|
+
headlinePlain: He,
|
|
41
|
+
featureList: qe,
|
|
42
|
+
featureItem: Ve,
|
|
43
|
+
featureIcon: Ye,
|
|
44
|
+
reportImage: ze,
|
|
45
|
+
reportImg: Qe
|
|
46
|
+
}, Je = "https://srm-cdn.a4b.io/yoda/1770363846052.svg", Xe = "https://srm-cdn.a4b.io/yoda/1772696426944.webp", Ze = [
|
|
47
|
+
"premiumFeature1",
|
|
48
|
+
"premiumFeature2",
|
|
49
|
+
"premiumFeature3",
|
|
50
|
+
"premiumFeature4"
|
|
51
|
+
], en = "https://srm-cdn.a4b.io/yoda/1772696452070.webp", te = ({
|
|
52
|
+
t: n,
|
|
53
|
+
reportImageUrl: o = en,
|
|
54
|
+
reportImagePriority: a,
|
|
55
|
+
backgroundImagePriority: i = !1,
|
|
56
|
+
analytics: t,
|
|
57
|
+
className: s = ""
|
|
58
|
+
}) => {
|
|
59
|
+
const r = R(), u = r?.config.imageComponent ?? U, p = r?.config?.variant, g = () => {
|
|
60
|
+
t?.trackBannerClicked?.(p ? { variant: p } : void 0);
|
|
61
|
+
};
|
|
62
|
+
return /* @__PURE__ */ e.jsxs(
|
|
63
|
+
"section",
|
|
64
|
+
{
|
|
65
|
+
className: `${f.section} ${s}`,
|
|
66
|
+
"aria-labelledby": "premium-headline",
|
|
67
|
+
role: "button",
|
|
68
|
+
tabIndex: 0,
|
|
69
|
+
onClick: g,
|
|
70
|
+
"data-hero": !0,
|
|
71
|
+
children: [
|
|
72
|
+
/* @__PURE__ */ e.jsx("div", { className: f.backgroundLayer, "aria-hidden": !0, "data-background-layer": !0, children: /* @__PURE__ */ e.jsx(
|
|
73
|
+
u,
|
|
74
|
+
{
|
|
75
|
+
src: Xe,
|
|
76
|
+
alt: "",
|
|
77
|
+
className: f.backgroundImg,
|
|
78
|
+
width: 412,
|
|
79
|
+
height: 215,
|
|
80
|
+
sizes: "(max-width: 768px) 412px, 412px",
|
|
81
|
+
loading: "eager",
|
|
82
|
+
priority: i,
|
|
83
|
+
fetchPriority: "high"
|
|
84
|
+
}
|
|
85
|
+
) }),
|
|
86
|
+
/* @__PURE__ */ e.jsxs("div", { className: f.inner, children: [
|
|
87
|
+
/* @__PURE__ */ e.jsxs("div", { className: f.content, children: [
|
|
88
|
+
/* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: f.headline, children: [
|
|
89
|
+
/* @__PURE__ */ e.jsxs("span", { className: f.headlineLine, children: [
|
|
90
|
+
/* @__PURE__ */ e.jsx("span", { className: f.headlinePill, children: n("premiumHeadlinePill1") }),
|
|
91
|
+
/* @__PURE__ */ e.jsx("span", { className: f.headlinePlain, children: n("premiumHeadlinePlain1") })
|
|
92
|
+
] }),
|
|
93
|
+
/* @__PURE__ */ e.jsxs("span", { className: f.headlineLine, children: [
|
|
94
|
+
/* @__PURE__ */ e.jsx("span", { className: f.headlinePlain, children: n("premiumHeadlinePlain2") }),
|
|
95
|
+
/* @__PURE__ */ e.jsx("span", { className: f.headlinePill, children: n("premiumHeadlinePill2") })
|
|
96
|
+
] })
|
|
97
|
+
] }),
|
|
98
|
+
/* @__PURE__ */ e.jsx("ul", { className: f.featureList, children: Ze.map((_) => /* @__PURE__ */ e.jsxs("li", { className: f.featureItem, children: [
|
|
99
|
+
/* @__PURE__ */ e.jsx(
|
|
100
|
+
u,
|
|
101
|
+
{
|
|
102
|
+
src: Je,
|
|
103
|
+
alt: "",
|
|
104
|
+
className: f.featureIcon,
|
|
105
|
+
width: 16,
|
|
106
|
+
height: 16,
|
|
107
|
+
loading: "lazy"
|
|
108
|
+
}
|
|
109
|
+
),
|
|
110
|
+
n(_)
|
|
111
|
+
] }, _)) })
|
|
112
|
+
] }),
|
|
113
|
+
/* @__PURE__ */ e.jsx("div", { className: f.reportImage, children: /* @__PURE__ */ e.jsx(
|
|
114
|
+
u,
|
|
115
|
+
{
|
|
116
|
+
src: o,
|
|
117
|
+
alt: "",
|
|
118
|
+
className: f.reportImg,
|
|
119
|
+
width: 120,
|
|
120
|
+
height: 160,
|
|
121
|
+
priority: a,
|
|
122
|
+
fetchPriority: a ? "high" : void 0,
|
|
123
|
+
loading: a ? "eager" : "lazy",
|
|
124
|
+
sizes: "120px"
|
|
125
|
+
}
|
|
126
|
+
) })
|
|
127
|
+
] })
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
);
|
|
131
|
+
}, nn = "_section_1kxsy_1", tn = "_heading_1kxsy_6", sn = "_logoImg_1kxsy_10", K = {
|
|
132
|
+
section: nn,
|
|
133
|
+
heading: tn,
|
|
134
|
+
logoImg: sn
|
|
135
|
+
}, an = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", se = ({
|
|
136
|
+
t: n,
|
|
137
|
+
logoUrl: o = an,
|
|
138
|
+
className: a = ""
|
|
139
|
+
}) => {
|
|
140
|
+
const t = R()?.config.imageComponent ?? U;
|
|
141
|
+
return /* @__PURE__ */ e.jsxs("section", { className: `${K.section} ${a}`, "aria-labelledby": "certified-heading", children: [
|
|
142
|
+
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: K.heading, children: n("certifiedBy") }),
|
|
143
|
+
/* @__PURE__ */ e.jsx(
|
|
144
|
+
t,
|
|
145
|
+
{
|
|
146
|
+
src: o,
|
|
147
|
+
alt: "University Certification",
|
|
148
|
+
className: K.logoImg,
|
|
149
|
+
width: 380,
|
|
150
|
+
height: 70,
|
|
151
|
+
loading: "lazy"
|
|
152
|
+
}
|
|
153
|
+
)
|
|
154
|
+
] });
|
|
155
|
+
}, on = "_section_1d9aa_1", rn = "_heading_1d9aa_6", ln = "_subtitle_1d9aa_11", cn = "_stepList_1d9aa_16", dn = "_stepItem_1d9aa_20", mn = "_stepNumber_1d9aa_24", un = "_stepText_1d9aa_30", pn = "_step3Days_1d9aa_35", w = {
|
|
156
|
+
section: on,
|
|
157
|
+
heading: rn,
|
|
158
|
+
subtitle: ln,
|
|
159
|
+
stepList: cn,
|
|
160
|
+
stepItem: dn,
|
|
161
|
+
stepNumber: mn,
|
|
162
|
+
stepText: un,
|
|
163
|
+
step3Days: pn
|
|
164
|
+
}, gn = ["step1", "step2"], ae = ({
|
|
165
|
+
t: n,
|
|
166
|
+
locale: o = "en",
|
|
167
|
+
isGlobal: a = !0,
|
|
168
|
+
className: i = ""
|
|
169
|
+
}) => {
|
|
170
|
+
const t = a ? "step3IntroGlobal" : "step3IntroDomestic";
|
|
171
|
+
return /* @__PURE__ */ e.jsxs(
|
|
172
|
+
"section",
|
|
173
|
+
{
|
|
174
|
+
className: `${w.section} ${i}`,
|
|
175
|
+
"aria-labelledby": "steps-heading",
|
|
176
|
+
children: [
|
|
177
|
+
/* @__PURE__ */ e.jsx("p", { className: w.heading, children: n("yourThreeSteps") }),
|
|
178
|
+
/* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: w.subtitle, children: n("threeStepsSubtitle") }),
|
|
179
|
+
/* @__PURE__ */ e.jsxs("ol", { className: w.stepList, children: [
|
|
180
|
+
gn.map((s, r) => /* @__PURE__ */ e.jsxs("li", { className: w.stepItem, children: [
|
|
181
|
+
/* @__PURE__ */ e.jsx("span", { className: w.stepNumber, "aria-hidden": !0, children: r + 1 }),
|
|
182
|
+
/* @__PURE__ */ e.jsx("span", { className: w.stepText, children: n(s) })
|
|
183
|
+
] }, s)),
|
|
184
|
+
/* @__PURE__ */ e.jsxs("li", { className: w.stepItem, children: [
|
|
185
|
+
/* @__PURE__ */ e.jsx("span", { className: w.stepNumber, "aria-hidden": !0, children: "3" }),
|
|
186
|
+
/* @__PURE__ */ e.jsxs("span", { className: w.stepText, children: [
|
|
187
|
+
n(t),
|
|
188
|
+
/* @__PURE__ */ e.jsx("br", {}),
|
|
189
|
+
o === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
190
|
+
"in ",
|
|
191
|
+
/* @__PURE__ */ e.jsx("strong", { className: w.step3Days, children: n("step3Days") })
|
|
192
|
+
] }) : /* @__PURE__ */ e.jsx("strong", { className: w.step3Days, children: n("step3Days") })
|
|
193
|
+
] })
|
|
194
|
+
] })
|
|
195
|
+
] })
|
|
196
|
+
]
|
|
197
|
+
}
|
|
198
|
+
);
|
|
199
|
+
}, hn = "_section_1jea1_1", _n = "_button_1jea1_7", q = {
|
|
200
|
+
section: hn,
|
|
201
|
+
button: _n
|
|
202
|
+
}, xn = "_backdrop_pekod_1", fn = "_modal_pekod_21", bn = "_header_pekod_40", jn = "_title_pekod_49", yn = "_closeBtn_pekod_56", vn = "_content_pekod_76", wn = "_pdfFrame_pekod_84", In = "_pdfPages_pekod_92", kn = "_pdfError_pekod_97", Nn = "_openInNewTab_pekod_123", L = {
|
|
203
|
+
backdrop: xn,
|
|
204
|
+
modal: fn,
|
|
205
|
+
header: bn,
|
|
206
|
+
title: jn,
|
|
207
|
+
closeBtn: yn,
|
|
208
|
+
content: vn,
|
|
209
|
+
pdfFrame: wn,
|
|
210
|
+
pdfPages: In,
|
|
211
|
+
pdfError: kn,
|
|
212
|
+
openInNewTab: Nn
|
|
213
|
+
};
|
|
214
|
+
function Cn(n) {
|
|
215
|
+
typeof n < "u" && n.GlobalWorkerOptions && (n.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${n.version}/build/pdf.worker.min.js`);
|
|
216
|
+
}
|
|
217
|
+
const Ln = ({
|
|
218
|
+
isOpen: n,
|
|
219
|
+
onClose: o,
|
|
220
|
+
title: a,
|
|
221
|
+
pdfUrl: i
|
|
222
|
+
}) => {
|
|
223
|
+
const t = I(null), [s, r] = $(!0), [u, p] = $(null), [g, _] = $(null);
|
|
224
|
+
return k(() => {
|
|
225
|
+
if (!n) return;
|
|
226
|
+
const l = (h) => {
|
|
227
|
+
h.key === "Escape" && o();
|
|
228
|
+
};
|
|
229
|
+
return document.addEventListener("keydown", l), document.body.style.overflow = "hidden", () => {
|
|
230
|
+
document.removeEventListener("keydown", l), document.body.style.overflow = "";
|
|
231
|
+
};
|
|
232
|
+
}, [n, o]), k(() => {
|
|
233
|
+
n && import("pdfjs-dist").then((l) => {
|
|
234
|
+
_(l);
|
|
235
|
+
}).catch((l) => {
|
|
236
|
+
p("Failed to load PDF viewer"), r(!1);
|
|
237
|
+
});
|
|
238
|
+
}, [n]), k(() => {
|
|
239
|
+
if (!n || !i || !t.current || !g) return;
|
|
240
|
+
r(!0), p(null), t.current.innerHTML = "", (async () => {
|
|
241
|
+
try {
|
|
242
|
+
Cn(g);
|
|
243
|
+
const j = await g.getDocument({ url: i }).promise, y = t.current;
|
|
244
|
+
if (!y) return;
|
|
245
|
+
const C = y.clientWidth || 600, d = Math.min(C / 612, 2);
|
|
246
|
+
for (let c = 1; c <= j.numPages; c++) {
|
|
247
|
+
const v = await j.getPage(c), x = v.getViewport({ scale: d }), b = document.createElement("canvas");
|
|
248
|
+
b.height = x.height, b.width = x.width, b.style.display = "block", b.style.margin = "0 auto 1rem", b.style.maxWidth = "100%";
|
|
249
|
+
const m = b.getContext("2d");
|
|
250
|
+
m && await v.render({ canvasContext: m, viewport: x }).promise, y.appendChild(b);
|
|
251
|
+
}
|
|
252
|
+
} catch (h) {
|
|
253
|
+
p(h instanceof Error ? h.message : "Failed to load PDF");
|
|
254
|
+
} finally {
|
|
255
|
+
r(!1);
|
|
256
|
+
}
|
|
257
|
+
})();
|
|
258
|
+
}, [n, i, g]), n ? /* @__PURE__ */ e.jsx(
|
|
259
|
+
"div",
|
|
260
|
+
{
|
|
261
|
+
className: L.backdrop,
|
|
262
|
+
onClick: o,
|
|
263
|
+
role: "dialog",
|
|
264
|
+
"aria-modal": "true",
|
|
265
|
+
"aria-labelledby": "sample-report-modal-title",
|
|
266
|
+
children: /* @__PURE__ */ e.jsxs(
|
|
267
|
+
"div",
|
|
268
|
+
{
|
|
269
|
+
className: L.modal,
|
|
270
|
+
onClick: (l) => l.stopPropagation(),
|
|
271
|
+
children: [
|
|
272
|
+
/* @__PURE__ */ e.jsxs("div", { className: L.header, children: [
|
|
273
|
+
/* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className: L.title, children: a }),
|
|
274
|
+
/* @__PURE__ */ e.jsx(
|
|
275
|
+
"button",
|
|
276
|
+
{
|
|
277
|
+
type: "button",
|
|
278
|
+
className: L.closeBtn,
|
|
279
|
+
onClick: o,
|
|
280
|
+
"aria-label": "Close",
|
|
281
|
+
children: "×"
|
|
282
|
+
}
|
|
283
|
+
)
|
|
284
|
+
] }),
|
|
285
|
+
/* @__PURE__ */ e.jsxs("div", { className: L.content, children: [
|
|
286
|
+
/* @__PURE__ */ e.jsxs("div", { className: L.pdfFrame, children: [
|
|
287
|
+
u && /* @__PURE__ */ e.jsxs("div", { className: L.pdfError, children: [
|
|
288
|
+
/* @__PURE__ */ e.jsx("span", { children: u }),
|
|
289
|
+
/* @__PURE__ */ e.jsx("a", { href: i, target: "_blank", rel: "noopener noreferrer", children: "Open in new tab instead" })
|
|
290
|
+
] }),
|
|
291
|
+
/* @__PURE__ */ e.jsx("div", { ref: t, className: L.pdfPages })
|
|
292
|
+
] }),
|
|
293
|
+
/* @__PURE__ */ e.jsx(
|
|
294
|
+
"a",
|
|
295
|
+
{
|
|
296
|
+
href: i,
|
|
297
|
+
target: "_blank",
|
|
298
|
+
rel: "noopener noreferrer",
|
|
299
|
+
className: L.openInNewTab,
|
|
300
|
+
children: "Open in new tab"
|
|
301
|
+
}
|
|
302
|
+
)
|
|
303
|
+
] })
|
|
304
|
+
]
|
|
305
|
+
}
|
|
306
|
+
)
|
|
307
|
+
}
|
|
308
|
+
) : null;
|
|
309
|
+
}, Pn = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", oe = ({
|
|
310
|
+
t: n,
|
|
311
|
+
pdfUrl: o = Pn,
|
|
312
|
+
onClick: a,
|
|
313
|
+
analytics: i,
|
|
314
|
+
className: t = ""
|
|
315
|
+
}) => {
|
|
316
|
+
const r = R()?.config?.variant, [u, p] = $(!1), g = n("viewSampleReport"), _ = n("sampleReportModalTitle"), l = () => {
|
|
317
|
+
i?.trackViewSampleReportClicked?.(r ? { variant: r } : void 0), a?.(), p(!0);
|
|
318
|
+
}, h = () => {
|
|
319
|
+
i?.trackViewSampleReportClosed?.(r ? { variant: r } : void 0), p(!1);
|
|
320
|
+
};
|
|
321
|
+
return /* @__PURE__ */ e.jsxs("section", { className: `${q.section} ${t}`, children: [
|
|
322
|
+
/* @__PURE__ */ e.jsx("button", { type: "button", className: q.button, onClick: l, children: g }),
|
|
323
|
+
/* @__PURE__ */ e.jsx(
|
|
324
|
+
Ln,
|
|
325
|
+
{
|
|
326
|
+
isOpen: u,
|
|
327
|
+
onClose: h,
|
|
328
|
+
title: _,
|
|
329
|
+
pdfUrl: o
|
|
330
|
+
}
|
|
331
|
+
)
|
|
332
|
+
] });
|
|
333
|
+
}, Tn = "_section_1ds1w_1", Sn = "_heading_1ds1w_5", En = "_list_1ds1w_10", Fn = "_item_1ds1w_17", $n = "_imageWrap_1ds1w_21", Rn = "_image_1ds1w_21", Dn = "_imagePlaceholder_1ds1w_30", Mn = "_text_1ds1w_36", Un = "_itemTitle_1ds1w_40", On = "_itemDesc_1ds1w_51", P = {
|
|
334
|
+
section: Tn,
|
|
335
|
+
heading: Sn,
|
|
336
|
+
list: En,
|
|
337
|
+
item: Fn,
|
|
338
|
+
imageWrap: $n,
|
|
339
|
+
image: Rn,
|
|
340
|
+
imagePlaceholder: Dn,
|
|
341
|
+
text: Mn,
|
|
342
|
+
itemTitle: Un,
|
|
343
|
+
itemDesc: On
|
|
344
|
+
}, An = [
|
|
345
|
+
{ titleKey: "findDasha", descKey: "findDashaDesc" },
|
|
346
|
+
{ titleKey: "findYoga", descKey: "findYogaDesc" },
|
|
347
|
+
{ titleKey: "findGemstone", descKey: "findGemstoneDesc" },
|
|
348
|
+
{ titleKey: "findPooja", descKey: "findPoojaDesc" },
|
|
349
|
+
{ titleKey: "findMonthly", descKey: "findMonthlyDesc" },
|
|
350
|
+
{ titleKey: "findStrength", descKey: "findStrengthDesc" }
|
|
351
|
+
], Kn = [
|
|
352
|
+
"https://srm-cdn.a4b.io/yoda/1772619204758.webp",
|
|
353
|
+
"https://srm-cdn.a4b.io/yoda/1772619215121.webp",
|
|
354
|
+
"https://srm-cdn.a4b.io/yoda/1772619232241.webp",
|
|
355
|
+
"https://srm-cdn.a4b.io/yoda/1772619253699.webp",
|
|
356
|
+
"https://srm-cdn.a4b.io/yoda/1772619272322.webp",
|
|
357
|
+
"https://srm-cdn.a4b.io/yoda/1772619284662.webp"
|
|
358
|
+
], ie = ({
|
|
359
|
+
t: n,
|
|
360
|
+
imageUrls: o = Kn,
|
|
361
|
+
className: a = ""
|
|
362
|
+
}) => {
|
|
363
|
+
const t = R()?.config.imageComponent ?? U;
|
|
364
|
+
return /* @__PURE__ */ e.jsxs(
|
|
365
|
+
"section",
|
|
366
|
+
{
|
|
367
|
+
className: `${P.section} ${a}`,
|
|
368
|
+
"aria-labelledby": "find-heading",
|
|
369
|
+
children: [
|
|
370
|
+
/* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: P.heading, children: n("whatYoullFindTitle") }),
|
|
371
|
+
/* @__PURE__ */ e.jsx("ul", { className: P.list, children: An.map((s, r) => /* @__PURE__ */ e.jsxs("li", { className: P.item, children: [
|
|
372
|
+
/* @__PURE__ */ e.jsx("div", { className: P.imageWrap, children: o[r] ? /* @__PURE__ */ e.jsx(
|
|
373
|
+
t,
|
|
374
|
+
{
|
|
375
|
+
src: o[r],
|
|
376
|
+
alt: "",
|
|
377
|
+
className: P.image,
|
|
378
|
+
width: 96,
|
|
379
|
+
height: 96,
|
|
380
|
+
loading: "lazy",
|
|
381
|
+
sizes: "96px"
|
|
382
|
+
}
|
|
383
|
+
) : /* @__PURE__ */ e.jsx("div", { className: P.imagePlaceholder, "aria-hidden": !0 }) }),
|
|
384
|
+
/* @__PURE__ */ e.jsxs("div", { className: P.text, children: [
|
|
385
|
+
/* @__PURE__ */ e.jsx("h3", { className: P.itemTitle, children: n(s.titleKey) }),
|
|
386
|
+
/* @__PURE__ */ e.jsx("p", { className: P.itemDesc, children: n(s.descKey) })
|
|
387
|
+
] })
|
|
388
|
+
] }, s.titleKey)) })
|
|
389
|
+
]
|
|
390
|
+
}
|
|
391
|
+
);
|
|
392
|
+
}, Bn = "_section_75s76_1", Wn = "_heading_75s76_6", Gn = "_subtitle_75s76_11", Hn = "_list_75s76_16", qn = "_item_75s76_20", M = {
|
|
393
|
+
section: Bn,
|
|
394
|
+
heading: Wn,
|
|
395
|
+
subtitle: Gn,
|
|
396
|
+
list: Hn,
|
|
397
|
+
item: qn
|
|
398
|
+
}, Vn = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], re = ({ t: n, className: o = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${M.section} ${o}`, "aria-labelledby": "why-heading", children: [
|
|
399
|
+
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: M.heading, children: n("whyUsTitle") }),
|
|
400
|
+
/* @__PURE__ */ e.jsx("p", { className: M.subtitle, children: n("whyUsSubtitle") }),
|
|
401
|
+
/* @__PURE__ */ e.jsx("ul", { className: M.list, children: Vn.map((a) => /* @__PURE__ */ e.jsx("li", { className: M.item, children: n(a) }, a)) })
|
|
402
|
+
] }), Yn = "_headingBold_g8xg7_1", zn = {
|
|
403
|
+
headingBold: Yn
|
|
404
|
+
}, le = ({
|
|
405
|
+
t: n,
|
|
406
|
+
testimonials: o,
|
|
407
|
+
readMoreHref: a,
|
|
408
|
+
onReadMore: i,
|
|
409
|
+
className: t = "",
|
|
410
|
+
headingClassName: s = zn.headingBold
|
|
411
|
+
}) => /* @__PURE__ */ e.jsx(
|
|
412
|
+
xe,
|
|
413
|
+
{
|
|
414
|
+
t: n,
|
|
415
|
+
testimonials: o,
|
|
416
|
+
readMoreHref: a,
|
|
417
|
+
onReadMore: i,
|
|
418
|
+
className: t,
|
|
419
|
+
headingClassName: s
|
|
420
|
+
}
|
|
421
|
+
), Qn = "_headingBold_g8xg7_1", Jn = {
|
|
422
|
+
headingBold: Qn
|
|
423
|
+
}, Xn = [
|
|
424
|
+
{ qKey: "faqQ1", aKey: "faqA1" },
|
|
425
|
+
{ qKey: "faqQ3", aKey: "faqA3" }
|
|
426
|
+
], ce = ({
|
|
427
|
+
t: n,
|
|
428
|
+
className: o = "",
|
|
429
|
+
headingClassName: a = Jn.headingBold
|
|
430
|
+
}) => {
|
|
431
|
+
const t = R()?.config.isGlobal ?? !0, s = (r) => r === "faqA1" ? t ? "faqA1Global" : "faqA1Domestic" : r;
|
|
432
|
+
return /* @__PURE__ */ e.jsx(
|
|
433
|
+
fe,
|
|
434
|
+
{
|
|
435
|
+
t: n,
|
|
436
|
+
items: Xn,
|
|
437
|
+
resolveAnswerKey: s,
|
|
438
|
+
defaultOpenIndex: 1,
|
|
439
|
+
className: o,
|
|
440
|
+
headingClassName: a
|
|
441
|
+
}
|
|
442
|
+
);
|
|
443
|
+
}, V = "8296947757", Y = "08071174417", z = "pujaseva@appsforbharat.com", de = ({
|
|
444
|
+
t: n,
|
|
445
|
+
whatsAppGlobal: o,
|
|
446
|
+
whatsAppDomestic: a,
|
|
447
|
+
email: i,
|
|
448
|
+
brandName: t,
|
|
449
|
+
className: s = ""
|
|
450
|
+
}) => {
|
|
451
|
+
const u = R()?.config.isGlobal ?? !0, p = o ?? V, g = a ?? Y, _ = i ?? z, l = u ? n("contactWhatsAppGlobal").replace(V, p) : n("contactWhatsAppDomestic").replace(Y, g), h = n("contactEmail").replace(z, _);
|
|
452
|
+
return /* @__PURE__ */ e.jsx(
|
|
453
|
+
be,
|
|
454
|
+
{
|
|
455
|
+
title: n("contactTitle"),
|
|
456
|
+
brandName: t ?? n("contactBrandName"),
|
|
457
|
+
whatsAppLine: l,
|
|
458
|
+
emailLine: h,
|
|
459
|
+
className: s
|
|
460
|
+
}
|
|
461
|
+
);
|
|
462
|
+
}, Zn = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", et = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", nt = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", tt = ({ t: n }) => {
|
|
463
|
+
const a = R()?.config.imageComponent ?? U;
|
|
464
|
+
return /* @__PURE__ */ e.jsxs("div", { className: F.marqueeContent, children: [
|
|
465
|
+
/* @__PURE__ */ e.jsxs("span", { className: F.badge, children: [
|
|
466
|
+
/* @__PURE__ */ e.jsx(a, { src: Zn, alt: "", className: F.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
467
|
+
n("ctaKundliCreated")
|
|
468
|
+
] }),
|
|
469
|
+
/* @__PURE__ */ e.jsxs("span", { className: F.badge, children: [
|
|
470
|
+
/* @__PURE__ */ e.jsx(a, { src: et, alt: "", className: F.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
471
|
+
n("ctaCertified")
|
|
472
|
+
] }),
|
|
473
|
+
/* @__PURE__ */ e.jsxs("span", { className: F.badge, children: [
|
|
474
|
+
/* @__PURE__ */ e.jsx(a, { src: nt, alt: "", className: F.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
475
|
+
n("ctaSecurePayment")
|
|
476
|
+
] })
|
|
477
|
+
] });
|
|
478
|
+
}, st = ({
|
|
479
|
+
t: n,
|
|
480
|
+
onCtaClick: o,
|
|
481
|
+
ctaHref: a,
|
|
482
|
+
className: i = ""
|
|
483
|
+
}) => {
|
|
484
|
+
const t = n("ctaButtonBefore").replace(/\s+in\s*$/i, "");
|
|
485
|
+
return /* @__PURE__ */ e.jsx(
|
|
486
|
+
je,
|
|
487
|
+
{
|
|
488
|
+
className: i,
|
|
489
|
+
marquee: /* @__PURE__ */ e.jsx(ve, { children: /* @__PURE__ */ e.jsx(tt, { t: n }) }),
|
|
490
|
+
children: /* @__PURE__ */ e.jsx(ye, { href: a, onClick: o, children: t })
|
|
491
|
+
}
|
|
492
|
+
);
|
|
493
|
+
}, at = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", ot = (n, o) => ee[n]?.[o] ?? o, it = 112;
|
|
494
|
+
function T({
|
|
495
|
+
section: n,
|
|
496
|
+
children: o,
|
|
497
|
+
onImpression: a
|
|
498
|
+
}) {
|
|
499
|
+
const i = I(null), t = I(!1);
|
|
500
|
+
return k(() => {
|
|
501
|
+
const s = i.current;
|
|
502
|
+
if (!s) return;
|
|
503
|
+
const r = new IntersectionObserver(
|
|
504
|
+
([u]) => {
|
|
505
|
+
!u?.isIntersecting || t.current || (t.current = !0, a(n));
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
threshold: 0.1,
|
|
509
|
+
// Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
|
|
510
|
+
rootMargin: `0px 0px -${it}px 0px`
|
|
511
|
+
}
|
|
512
|
+
);
|
|
513
|
+
return r.observe(s), () => r.disconnect();
|
|
514
|
+
}, [n, a]), /* @__PURE__ */ e.jsx("div", { ref: i, children: o });
|
|
515
|
+
}
|
|
516
|
+
function rt({ className: n }) {
|
|
517
|
+
const { view: o } = B();
|
|
518
|
+
return o === "form" ? /* @__PURE__ */ e.jsx(pe, {}) : /* @__PURE__ */ e.jsx(lt, { className: n });
|
|
519
|
+
}
|
|
520
|
+
function lt({ className: n }) {
|
|
521
|
+
const o = J(), {
|
|
522
|
+
locale: a,
|
|
523
|
+
setLocale: i,
|
|
524
|
+
config: t,
|
|
525
|
+
goToForm: s
|
|
526
|
+
} = B(), [r, u] = $(!1), p = I(null), g = I(t.locale), _ = I(
|
|
527
|
+
o?.locale
|
|
528
|
+
);
|
|
529
|
+
k(() => {
|
|
530
|
+
t.locale && g.current !== t.locale && i(t.locale), g.current = t.locale;
|
|
531
|
+
}, [t.locale, i]), k(() => {
|
|
532
|
+
if (t.locale) return;
|
|
533
|
+
const c = o?.locale;
|
|
534
|
+
c && _.current !== c && i(c), _.current = c;
|
|
535
|
+
}, [o?.locale, t.locale, i]), k(() => {
|
|
536
|
+
if (!r) return;
|
|
537
|
+
const c = (v) => {
|
|
538
|
+
p.current && !p.current.contains(v.target) && u(!1);
|
|
539
|
+
};
|
|
540
|
+
return document.addEventListener("mousedown", c), () => document.removeEventListener("mousedown", c);
|
|
541
|
+
}, [r]);
|
|
542
|
+
const l = (c) => ot(a, c), h = t.showLanguageSelector ?? !0, j = t.imageComponent ?? U, y = h ? /* @__PURE__ */ e.jsxs("div", { className: E.langDropdownWrap, ref: p, children: [
|
|
543
|
+
/* @__PURE__ */ e.jsxs(
|
|
544
|
+
"button",
|
|
545
|
+
{
|
|
546
|
+
type: "button",
|
|
547
|
+
className: E.langTrigger,
|
|
548
|
+
onClick: () => {
|
|
549
|
+
t.analytics?.trackLanguageClickedFe?.({ language: a, ...t.variant && { variant: t.variant } }), u((c) => !c);
|
|
550
|
+
},
|
|
551
|
+
"aria-expanded": r,
|
|
552
|
+
"aria-haspopup": "listbox",
|
|
553
|
+
id: "kundli-lang",
|
|
554
|
+
"aria-label": l("language"),
|
|
555
|
+
children: [
|
|
556
|
+
/* @__PURE__ */ e.jsx(
|
|
557
|
+
j,
|
|
558
|
+
{
|
|
559
|
+
src: at,
|
|
560
|
+
alt: "",
|
|
561
|
+
className: E.langIcon,
|
|
562
|
+
width: 16,
|
|
563
|
+
height: 16,
|
|
564
|
+
loading: "eager"
|
|
565
|
+
}
|
|
566
|
+
),
|
|
567
|
+
/* @__PURE__ */ e.jsx("span", { className: E.langLabel, children: A[a] })
|
|
568
|
+
]
|
|
569
|
+
}
|
|
570
|
+
),
|
|
571
|
+
r && /* @__PURE__ */ e.jsx(
|
|
572
|
+
"ul",
|
|
573
|
+
{
|
|
574
|
+
className: E.langMenu,
|
|
575
|
+
role: "listbox",
|
|
576
|
+
"aria-labelledby": "kundli-lang",
|
|
577
|
+
"aria-activedescendant": `kundli-lang-option-${a}`,
|
|
578
|
+
children: X.map((c) => /* @__PURE__ */ e.jsx(
|
|
579
|
+
"li",
|
|
580
|
+
{
|
|
581
|
+
id: `kundli-lang-option-${c}`,
|
|
582
|
+
role: "option",
|
|
583
|
+
"aria-selected": c === a,
|
|
584
|
+
className: E.langOption,
|
|
585
|
+
onClick: () => {
|
|
586
|
+
t.analytics?.trackLanguageChangedFe?.({ newLanguage: c, ...t.variant && { variant: t.variant } }), i(c), u(!1);
|
|
587
|
+
},
|
|
588
|
+
children: A[c]
|
|
589
|
+
},
|
|
590
|
+
c
|
|
591
|
+
))
|
|
592
|
+
}
|
|
593
|
+
)
|
|
594
|
+
] }) : null, C = (c) => {
|
|
595
|
+
const v = c.currentTarget.innerText?.trim() ?? l("ctaButtonAfter");
|
|
596
|
+
t.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: v, ...t.variant && { variant: t.variant } }), s(), t.onCtaClick?.();
|
|
597
|
+
}, d = O(
|
|
598
|
+
(c) => {
|
|
599
|
+
t.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
600
|
+
section: c,
|
|
601
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
602
|
+
...t.variant && { variant: t.variant }
|
|
603
|
+
});
|
|
604
|
+
},
|
|
605
|
+
[t.analytics, t.variant]
|
|
606
|
+
);
|
|
607
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${E.container} ${n}`, children: [
|
|
608
|
+
/* @__PURE__ */ e.jsx(
|
|
609
|
+
Z,
|
|
610
|
+
{
|
|
611
|
+
t: l,
|
|
612
|
+
logoUrl: t.logoUrl,
|
|
613
|
+
languageSelector: y
|
|
614
|
+
}
|
|
615
|
+
),
|
|
616
|
+
/* @__PURE__ */ e.jsxs("main", { className: E.main, children: [
|
|
617
|
+
/* @__PURE__ */ e.jsx(
|
|
618
|
+
T,
|
|
619
|
+
{
|
|
620
|
+
section: "hero",
|
|
621
|
+
onImpression: d,
|
|
622
|
+
children: /* @__PURE__ */ e.jsx(ne, { t: l })
|
|
623
|
+
}
|
|
624
|
+
),
|
|
625
|
+
/* @__PURE__ */ e.jsx(
|
|
626
|
+
T,
|
|
627
|
+
{
|
|
628
|
+
section: "premium_report_overview",
|
|
629
|
+
onImpression: d,
|
|
630
|
+
children: /* @__PURE__ */ e.jsx(
|
|
631
|
+
te,
|
|
632
|
+
{
|
|
633
|
+
t: l,
|
|
634
|
+
reportImageUrl: t.reportImageUrl,
|
|
635
|
+
reportImagePriority: t.reportImagePriority,
|
|
636
|
+
backgroundImagePriority: t.backgroundImagePriority,
|
|
637
|
+
analytics: t.analytics
|
|
638
|
+
}
|
|
639
|
+
)
|
|
640
|
+
}
|
|
641
|
+
),
|
|
642
|
+
/* @__PURE__ */ e.jsx(
|
|
643
|
+
T,
|
|
644
|
+
{
|
|
645
|
+
section: "university_certification",
|
|
646
|
+
onImpression: d,
|
|
647
|
+
children: /* @__PURE__ */ e.jsx(
|
|
648
|
+
se,
|
|
649
|
+
{
|
|
650
|
+
t: l,
|
|
651
|
+
logoUrl: t.universityLogoUrls?.find((c) => !!c)
|
|
652
|
+
}
|
|
653
|
+
)
|
|
654
|
+
}
|
|
655
|
+
),
|
|
656
|
+
/* @__PURE__ */ e.jsx(
|
|
657
|
+
T,
|
|
658
|
+
{
|
|
659
|
+
section: "three_steps_process",
|
|
660
|
+
onImpression: d,
|
|
661
|
+
children: /* @__PURE__ */ e.jsx(ae, { t: l, locale: a, isGlobal: t.isGlobal })
|
|
662
|
+
}
|
|
663
|
+
),
|
|
664
|
+
/* @__PURE__ */ e.jsx(
|
|
665
|
+
T,
|
|
666
|
+
{
|
|
667
|
+
section: "view_sample_report",
|
|
668
|
+
onImpression: d,
|
|
669
|
+
children: /* @__PURE__ */ e.jsx(
|
|
670
|
+
oe,
|
|
671
|
+
{
|
|
672
|
+
t: l,
|
|
673
|
+
pdfUrl: t.sampleReportHref,
|
|
674
|
+
onClick: t.onViewSampleReport,
|
|
675
|
+
analytics: t.analytics
|
|
676
|
+
}
|
|
677
|
+
)
|
|
678
|
+
}
|
|
679
|
+
),
|
|
680
|
+
/* @__PURE__ */ e.jsx(
|
|
681
|
+
T,
|
|
682
|
+
{
|
|
683
|
+
section: "what_youll_find",
|
|
684
|
+
onImpression: d,
|
|
685
|
+
children: /* @__PURE__ */ e.jsx(ie, { t: l })
|
|
686
|
+
}
|
|
687
|
+
),
|
|
688
|
+
/* @__PURE__ */ e.jsx(
|
|
689
|
+
T,
|
|
690
|
+
{
|
|
691
|
+
section: "why_us",
|
|
692
|
+
onImpression: d,
|
|
693
|
+
children: /* @__PURE__ */ e.jsx(re, { t: l })
|
|
694
|
+
}
|
|
695
|
+
),
|
|
696
|
+
/* @__PURE__ */ e.jsx(
|
|
697
|
+
T,
|
|
698
|
+
{
|
|
699
|
+
section: "feedback",
|
|
700
|
+
onImpression: d,
|
|
701
|
+
children: /* @__PURE__ */ e.jsx(
|
|
702
|
+
le,
|
|
703
|
+
{
|
|
704
|
+
t: l,
|
|
705
|
+
readMoreHref: t.readMoreReviewsHref,
|
|
706
|
+
onReadMore: t.analytics?.trackReadMoreReviewsClicked ? () => t.analytics.trackReadMoreReviewsClicked(t.variant ? { variant: t.variant } : void 0) : void 0
|
|
707
|
+
}
|
|
708
|
+
)
|
|
709
|
+
}
|
|
710
|
+
),
|
|
711
|
+
/* @__PURE__ */ e.jsx(
|
|
712
|
+
T,
|
|
713
|
+
{
|
|
714
|
+
section: "faq",
|
|
715
|
+
onImpression: d,
|
|
716
|
+
children: /* @__PURE__ */ e.jsx(ce, { t: l })
|
|
717
|
+
}
|
|
718
|
+
),
|
|
719
|
+
/* @__PURE__ */ e.jsx(
|
|
720
|
+
T,
|
|
721
|
+
{
|
|
722
|
+
section: "contact_us",
|
|
723
|
+
onImpression: d,
|
|
724
|
+
children: /* @__PURE__ */ e.jsx(de, { t: l })
|
|
725
|
+
}
|
|
726
|
+
)
|
|
727
|
+
] }),
|
|
728
|
+
/* @__PURE__ */ e.jsx(
|
|
729
|
+
st,
|
|
730
|
+
{
|
|
731
|
+
t: l,
|
|
732
|
+
ctaHref: t.ctaHref,
|
|
733
|
+
onCtaClick: t.ctaHref ? void 0 : C
|
|
734
|
+
}
|
|
735
|
+
)
|
|
736
|
+
] });
|
|
737
|
+
}
|
|
738
|
+
const ct = ({
|
|
739
|
+
className: n = "",
|
|
740
|
+
locale: o,
|
|
741
|
+
showLanguageSelector: a = !0,
|
|
742
|
+
userId: i,
|
|
743
|
+
isGlobal: t,
|
|
744
|
+
googleMapsApiKey: s,
|
|
745
|
+
logoUrl: r,
|
|
746
|
+
reportImageUrl: u,
|
|
747
|
+
universityLogoUrls: p,
|
|
748
|
+
sampleReportHref: g,
|
|
749
|
+
onViewSampleReport: _,
|
|
750
|
+
ctaHref: l,
|
|
751
|
+
onCtaClick: h,
|
|
752
|
+
readMoreReviewsHref: j,
|
|
753
|
+
onProceed: y,
|
|
754
|
+
proceedHref: C,
|
|
755
|
+
originalPriceLabel: d,
|
|
756
|
+
discountedPriceLabel: c,
|
|
757
|
+
discountPillLabel: v,
|
|
758
|
+
analytics: x,
|
|
759
|
+
onLocaleChange: b
|
|
760
|
+
}) => /* @__PURE__ */ e.jsx(
|
|
761
|
+
Q,
|
|
762
|
+
{
|
|
763
|
+
locale: o,
|
|
764
|
+
showLanguageSelector: a,
|
|
765
|
+
userId: i,
|
|
766
|
+
isGlobal: t,
|
|
767
|
+
googleMapsApiKey: s,
|
|
768
|
+
logoUrl: r,
|
|
769
|
+
reportImageUrl: u,
|
|
770
|
+
universityLogoUrls: p,
|
|
771
|
+
sampleReportHref: g,
|
|
772
|
+
onViewSampleReport: _,
|
|
773
|
+
ctaHref: l,
|
|
774
|
+
onCtaClick: h,
|
|
775
|
+
readMoreReviewsHref: j,
|
|
776
|
+
onProceed: y,
|
|
777
|
+
proceedHref: C,
|
|
778
|
+
originalPriceLabel: d,
|
|
779
|
+
discountedPriceLabel: c,
|
|
780
|
+
discountPillLabel: v,
|
|
781
|
+
analytics: x,
|
|
782
|
+
onLocaleChange: b,
|
|
783
|
+
children: /* @__PURE__ */ e.jsx(rt, { className: n })
|
|
784
|
+
}
|
|
785
|
+
), dt = "_container_1b9qe_1", mt = "_main_1b9qe_6", ut = "_langDropdownWrap_1b9qe_12", pt = "_langTrigger_1b9qe_16", gt = "_langIcon_1b9qe_28", ht = "_langLabel_1b9qe_35", _t = "_langMenu_1b9qe_40", xt = "_langOption_1b9qe_46", ft = "_inlineFormWrap_1b9qe_57", bt = "_inlineProceedFooter_1b9qe_74", S = {
|
|
786
|
+
container: dt,
|
|
787
|
+
main: mt,
|
|
788
|
+
langDropdownWrap: ut,
|
|
789
|
+
langTrigger: pt,
|
|
790
|
+
langIcon: gt,
|
|
791
|
+
langLabel: ht,
|
|
792
|
+
langMenu: _t,
|
|
793
|
+
langOption: xt,
|
|
794
|
+
inlineFormWrap: ft,
|
|
795
|
+
inlineProceedFooter: bt
|
|
796
|
+
}, jt = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", yt = (n, o) => ee[n]?.[o] ?? o, vt = (n) => n < 0.5 ? 4 * n * n * n : 1 - Math.pow(-2 * n + 2, 3) / 2, wt = (n, o = 900) => {
|
|
797
|
+
if (typeof window > "u") return Promise.resolve();
|
|
798
|
+
const a = window.matchMedia?.("(prefers-reduced-motion: reduce)")?.matches, i = window.scrollY, t = Math.max(0, document.documentElement.scrollHeight - window.innerHeight), s = Math.min(Math.max(0, n), t), r = s - i;
|
|
799
|
+
if (a || Math.abs(r) < 2)
|
|
800
|
+
return window.scrollTo({ top: s, behavior: "auto" }), Promise.resolve();
|
|
801
|
+
const u = performance.now();
|
|
802
|
+
return new Promise((p) => {
|
|
803
|
+
const g = (_) => {
|
|
804
|
+
const l = _ - u, h = Math.min(1, l / o), j = vt(h);
|
|
805
|
+
if (window.scrollTo({ top: i + r * j, behavior: "auto" }), h < 1) {
|
|
806
|
+
window.requestAnimationFrame(g);
|
|
807
|
+
return;
|
|
808
|
+
}
|
|
809
|
+
p();
|
|
810
|
+
};
|
|
811
|
+
window.requestAnimationFrame(g);
|
|
812
|
+
});
|
|
813
|
+
}, It = 112;
|
|
814
|
+
function N({
|
|
815
|
+
section: n,
|
|
816
|
+
children: o,
|
|
817
|
+
onImpression: a
|
|
818
|
+
}) {
|
|
819
|
+
const i = I(null), t = I(!1);
|
|
820
|
+
return k(() => {
|
|
821
|
+
const s = i.current;
|
|
822
|
+
if (!s) return;
|
|
823
|
+
const r = new IntersectionObserver(
|
|
824
|
+
([u]) => {
|
|
825
|
+
!u?.isIntersecting || t.current || (t.current = !0, a(n));
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
threshold: 0.1,
|
|
829
|
+
// Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
|
|
830
|
+
rootMargin: `0px 0px -${It}px 0px`
|
|
831
|
+
}
|
|
832
|
+
);
|
|
833
|
+
return r.observe(s), () => r.disconnect();
|
|
834
|
+
}, [n, a]), /* @__PURE__ */ e.jsx("div", { ref: i, children: o });
|
|
835
|
+
}
|
|
836
|
+
function kt({ className: n }) {
|
|
837
|
+
return /* @__PURE__ */ e.jsx(Nt, { className: n, showInlineForm: !0 });
|
|
838
|
+
}
|
|
839
|
+
function Nt({
|
|
840
|
+
className: n,
|
|
841
|
+
showInlineForm: o = !1
|
|
842
|
+
}) {
|
|
843
|
+
const a = J(), {
|
|
844
|
+
locale: i,
|
|
845
|
+
setLocale: t,
|
|
846
|
+
config: s,
|
|
847
|
+
formValues: r,
|
|
848
|
+
setFormValues: u
|
|
849
|
+
} = B(), [p, g] = $(!1), [_, l] = $(
|
|
850
|
+
s.isGlobal ?? !0 ? "+1" : "+91"
|
|
851
|
+
), h = I(null), j = I(null), y = I(s.locale), C = I(
|
|
852
|
+
a?.locale
|
|
853
|
+
);
|
|
854
|
+
k(() => {
|
|
855
|
+
s.locale && y.current !== s.locale && t(s.locale), y.current = s.locale;
|
|
856
|
+
}, [s.locale, t]), k(() => {
|
|
857
|
+
if (s.locale) return;
|
|
858
|
+
const m = a?.locale;
|
|
859
|
+
m && C.current !== m && t(m), C.current = m;
|
|
860
|
+
}, [a?.locale, s.locale, t]), k(() => {
|
|
861
|
+
l(s.isGlobal ?? !0 ? "+1" : "+91");
|
|
862
|
+
}, [s.isGlobal]), k(() => {
|
|
863
|
+
if (!p) return;
|
|
864
|
+
const m = (W) => {
|
|
865
|
+
j.current && !j.current.contains(W.target) && g(!1);
|
|
866
|
+
};
|
|
867
|
+
return document.addEventListener("mousedown", m), () => document.removeEventListener("mousedown", m);
|
|
868
|
+
}, [p]);
|
|
869
|
+
const d = (m) => yt(i, m), v = s.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: S.langDropdownWrap, ref: j, children: [
|
|
870
|
+
/* @__PURE__ */ e.jsxs(
|
|
871
|
+
"button",
|
|
872
|
+
{
|
|
873
|
+
type: "button",
|
|
874
|
+
className: S.langTrigger,
|
|
875
|
+
onClick: () => {
|
|
876
|
+
s.analytics?.trackLanguageClickedFe?.({ language: i, variant: "v1" }), g((m) => !m);
|
|
877
|
+
},
|
|
878
|
+
"aria-expanded": p,
|
|
879
|
+
"aria-haspopup": "listbox",
|
|
880
|
+
id: "kundli-lang",
|
|
881
|
+
"aria-label": d("language"),
|
|
882
|
+
children: [
|
|
883
|
+
/* @__PURE__ */ e.jsx(
|
|
884
|
+
"img",
|
|
885
|
+
{
|
|
886
|
+
src: jt,
|
|
887
|
+
alt: "",
|
|
888
|
+
className: S.langIcon,
|
|
889
|
+
width: 16,
|
|
890
|
+
height: 16,
|
|
891
|
+
"aria-hidden": !0
|
|
892
|
+
}
|
|
893
|
+
),
|
|
894
|
+
/* @__PURE__ */ e.jsx("span", { className: S.langLabel, children: A[i] })
|
|
895
|
+
]
|
|
896
|
+
}
|
|
897
|
+
),
|
|
898
|
+
p && /* @__PURE__ */ e.jsx(
|
|
899
|
+
"ul",
|
|
900
|
+
{
|
|
901
|
+
className: S.langMenu,
|
|
902
|
+
role: "listbox",
|
|
903
|
+
"aria-labelledby": "kundli-lang",
|
|
904
|
+
"aria-activedescendant": `kundli-lang-option-${i}`,
|
|
905
|
+
children: X.map((m) => /* @__PURE__ */ e.jsx(
|
|
906
|
+
"li",
|
|
907
|
+
{
|
|
908
|
+
id: `kundli-lang-option-${m}`,
|
|
909
|
+
role: "option",
|
|
910
|
+
"aria-selected": m === i,
|
|
911
|
+
className: S.langOption,
|
|
912
|
+
onClick: () => {
|
|
913
|
+
s.analytics?.trackLanguageChangedFe?.({ newLanguage: m, variant: "v1" }), t(m), g(!1);
|
|
914
|
+
},
|
|
915
|
+
children: A[m]
|
|
916
|
+
},
|
|
917
|
+
m
|
|
918
|
+
))
|
|
919
|
+
}
|
|
920
|
+
)
|
|
921
|
+
] }) : null, x = O(
|
|
922
|
+
(m) => {
|
|
923
|
+
s.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
924
|
+
section: m,
|
|
925
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
926
|
+
variant: "v1"
|
|
927
|
+
});
|
|
928
|
+
},
|
|
929
|
+
[s.analytics]
|
|
930
|
+
), b = O((m) => {
|
|
931
|
+
const me = {
|
|
932
|
+
fullName: "kundli-full-name",
|
|
933
|
+
phone: "kundli-phone",
|
|
934
|
+
email: "kundli-email",
|
|
935
|
+
dateOfBirth: "kundli-dob",
|
|
936
|
+
birthTime: "kundli-birth-time",
|
|
937
|
+
birthPlace: "kundli-birth-place",
|
|
938
|
+
gender: "kundli-gender-male",
|
|
939
|
+
language_code: "kundli-report-lang-hi"
|
|
940
|
+
}[m] ?? "kundli-full-name", G = document.getElementById(me), H = G ?? h.current;
|
|
941
|
+
if (!H) return;
|
|
942
|
+
const ue = H.getBoundingClientRect().top + window.scrollY - 96;
|
|
943
|
+
wt(ue, 950).then(() => {
|
|
944
|
+
G?.focus();
|
|
945
|
+
});
|
|
946
|
+
}, []);
|
|
947
|
+
return O(() => {
|
|
948
|
+
b("fullName");
|
|
949
|
+
}, [b]), /* @__PURE__ */ e.jsxs("div", { className: `${S.container} ${n}`, children: [
|
|
950
|
+
/* @__PURE__ */ e.jsx(
|
|
951
|
+
Z,
|
|
952
|
+
{
|
|
953
|
+
t: d,
|
|
954
|
+
logoUrl: s.logoUrl,
|
|
955
|
+
languageSelector: v
|
|
956
|
+
}
|
|
957
|
+
),
|
|
958
|
+
/* @__PURE__ */ e.jsxs("main", { className: S.main, children: [
|
|
959
|
+
/* @__PURE__ */ e.jsx(
|
|
960
|
+
N,
|
|
961
|
+
{
|
|
962
|
+
section: "hero",
|
|
963
|
+
onImpression: x,
|
|
964
|
+
children: /* @__PURE__ */ e.jsx(ne, { t: d })
|
|
965
|
+
}
|
|
966
|
+
),
|
|
967
|
+
/* @__PURE__ */ e.jsx(
|
|
968
|
+
N,
|
|
969
|
+
{
|
|
970
|
+
section: "premium_report_overview",
|
|
971
|
+
onImpression: x,
|
|
972
|
+
children: /* @__PURE__ */ e.jsx(
|
|
973
|
+
te,
|
|
974
|
+
{
|
|
975
|
+
t: d,
|
|
976
|
+
reportImageUrl: s.reportImageUrl,
|
|
977
|
+
analytics: s.analytics
|
|
978
|
+
}
|
|
979
|
+
)
|
|
980
|
+
}
|
|
981
|
+
),
|
|
982
|
+
/* @__PURE__ */ e.jsx(
|
|
983
|
+
N,
|
|
984
|
+
{
|
|
985
|
+
section: "university_certification",
|
|
986
|
+
onImpression: x,
|
|
987
|
+
children: /* @__PURE__ */ e.jsx(
|
|
988
|
+
se,
|
|
989
|
+
{
|
|
990
|
+
t: d,
|
|
991
|
+
logoUrl: s.universityLogoUrls?.find((m) => !!m)
|
|
992
|
+
}
|
|
993
|
+
)
|
|
994
|
+
}
|
|
995
|
+
),
|
|
996
|
+
/* @__PURE__ */ e.jsx(
|
|
997
|
+
N,
|
|
998
|
+
{
|
|
999
|
+
section: "three_steps_process",
|
|
1000
|
+
onImpression: x,
|
|
1001
|
+
children: /* @__PURE__ */ e.jsx(ae, { t: d, locale: i, isGlobal: s.isGlobal })
|
|
1002
|
+
}
|
|
1003
|
+
),
|
|
1004
|
+
/* @__PURE__ */ e.jsx(
|
|
1005
|
+
N,
|
|
1006
|
+
{
|
|
1007
|
+
section: "view_sample_report",
|
|
1008
|
+
onImpression: x,
|
|
1009
|
+
children: /* @__PURE__ */ e.jsx(
|
|
1010
|
+
oe,
|
|
1011
|
+
{
|
|
1012
|
+
t: d,
|
|
1013
|
+
pdfUrl: s.sampleReportHref,
|
|
1014
|
+
onClick: s.onViewSampleReport,
|
|
1015
|
+
analytics: s.analytics
|
|
1016
|
+
}
|
|
1017
|
+
)
|
|
1018
|
+
}
|
|
1019
|
+
),
|
|
1020
|
+
o && /* @__PURE__ */ e.jsx(
|
|
1021
|
+
N,
|
|
1022
|
+
{
|
|
1023
|
+
section: "inline_form",
|
|
1024
|
+
onImpression: x,
|
|
1025
|
+
children: /* @__PURE__ */ e.jsxs("div", { className: S.inlineFormWrap, ref: h, children: [
|
|
1026
|
+
/* @__PURE__ */ e.jsx(ge, { t: d, align: "center" }),
|
|
1027
|
+
/* @__PURE__ */ e.jsx(
|
|
1028
|
+
he,
|
|
1029
|
+
{
|
|
1030
|
+
t: d,
|
|
1031
|
+
values: r,
|
|
1032
|
+
onChange: u,
|
|
1033
|
+
phoneIsdCode: _,
|
|
1034
|
+
onPhoneIsdCodeChange: l,
|
|
1035
|
+
showV1ExtraFields: !0
|
|
1036
|
+
}
|
|
1037
|
+
),
|
|
1038
|
+
/* @__PURE__ */ e.jsx(
|
|
1039
|
+
_e,
|
|
1040
|
+
{
|
|
1041
|
+
t: d,
|
|
1042
|
+
values: r,
|
|
1043
|
+
phoneIsdCode: _,
|
|
1044
|
+
hideOriginalPrice: !0,
|
|
1045
|
+
requireV1ExtraFields: !0,
|
|
1046
|
+
onValidationFailed: b,
|
|
1047
|
+
onProceed: s.onProceed,
|
|
1048
|
+
href: s.proceedHref,
|
|
1049
|
+
originalPriceLabel: s.originalPriceLabel,
|
|
1050
|
+
discountedPriceLabel: s.discountedPriceLabel,
|
|
1051
|
+
discountPillLabel: s.discountPillLabel,
|
|
1052
|
+
analytics: s.analytics,
|
|
1053
|
+
className: S.inlineProceedFooter
|
|
1054
|
+
}
|
|
1055
|
+
)
|
|
1056
|
+
] })
|
|
1057
|
+
}
|
|
1058
|
+
),
|
|
1059
|
+
/* @__PURE__ */ e.jsx(
|
|
1060
|
+
N,
|
|
1061
|
+
{
|
|
1062
|
+
section: "what_youll_find",
|
|
1063
|
+
onImpression: x,
|
|
1064
|
+
children: /* @__PURE__ */ e.jsx(ie, { t: d })
|
|
1065
|
+
}
|
|
1066
|
+
),
|
|
1067
|
+
/* @__PURE__ */ e.jsx(
|
|
1068
|
+
N,
|
|
1069
|
+
{
|
|
1070
|
+
section: "why_us",
|
|
1071
|
+
onImpression: x,
|
|
1072
|
+
children: /* @__PURE__ */ e.jsx(re, { t: d })
|
|
1073
|
+
}
|
|
1074
|
+
),
|
|
1075
|
+
/* @__PURE__ */ e.jsx(
|
|
1076
|
+
N,
|
|
1077
|
+
{
|
|
1078
|
+
section: "feedback",
|
|
1079
|
+
onImpression: x,
|
|
1080
|
+
children: /* @__PURE__ */ e.jsx(
|
|
1081
|
+
le,
|
|
1082
|
+
{
|
|
1083
|
+
t: d,
|
|
1084
|
+
readMoreHref: s.readMoreReviewsHref,
|
|
1085
|
+
onReadMore: s.analytics?.trackReadMoreReviewsClicked ? () => s.analytics.trackReadMoreReviewsClicked({ variant: "v1" }) : void 0
|
|
1086
|
+
}
|
|
1087
|
+
)
|
|
1088
|
+
}
|
|
1089
|
+
),
|
|
1090
|
+
/* @__PURE__ */ e.jsx(
|
|
1091
|
+
N,
|
|
1092
|
+
{
|
|
1093
|
+
section: "faq",
|
|
1094
|
+
onImpression: x,
|
|
1095
|
+
children: /* @__PURE__ */ e.jsx(ce, { t: d })
|
|
1096
|
+
}
|
|
1097
|
+
),
|
|
1098
|
+
/* @__PURE__ */ e.jsx(
|
|
1099
|
+
N,
|
|
1100
|
+
{
|
|
1101
|
+
section: "contact_us",
|
|
1102
|
+
onImpression: x,
|
|
1103
|
+
children: /* @__PURE__ */ e.jsx(de, { t: d })
|
|
1104
|
+
}
|
|
1105
|
+
)
|
|
1106
|
+
] })
|
|
1107
|
+
] });
|
|
1108
|
+
}
|
|
1109
|
+
const Ct = ({
|
|
1110
|
+
className: n = "",
|
|
1111
|
+
locale: o,
|
|
1112
|
+
showLanguageSelector: a = !0,
|
|
1113
|
+
userId: i,
|
|
1114
|
+
isGlobal: t,
|
|
1115
|
+
googleMapsApiKey: s,
|
|
1116
|
+
logoUrl: r,
|
|
1117
|
+
reportImageUrl: u,
|
|
1118
|
+
universityLogoUrls: p,
|
|
1119
|
+
sampleReportHref: g,
|
|
1120
|
+
onViewSampleReport: _,
|
|
1121
|
+
ctaHref: l,
|
|
1122
|
+
onCtaClick: h,
|
|
1123
|
+
readMoreReviewsHref: j,
|
|
1124
|
+
onProceed: y,
|
|
1125
|
+
proceedHref: C,
|
|
1126
|
+
originalPriceLabel: d,
|
|
1127
|
+
discountedPriceLabel: c,
|
|
1128
|
+
discountPillLabel: v,
|
|
1129
|
+
analytics: x,
|
|
1130
|
+
onLocaleChange: b
|
|
1131
|
+
}) => /* @__PURE__ */ e.jsx(
|
|
1132
|
+
Q,
|
|
1133
|
+
{
|
|
1134
|
+
locale: o,
|
|
1135
|
+
showLanguageSelector: a,
|
|
1136
|
+
userId: i,
|
|
1137
|
+
isGlobal: t,
|
|
1138
|
+
variant: "v1",
|
|
1139
|
+
googleMapsApiKey: s,
|
|
1140
|
+
logoUrl: r,
|
|
1141
|
+
reportImageUrl: u,
|
|
1142
|
+
universityLogoUrls: p,
|
|
1143
|
+
sampleReportHref: g,
|
|
1144
|
+
onViewSampleReport: _,
|
|
1145
|
+
ctaHref: l,
|
|
1146
|
+
onCtaClick: h,
|
|
1147
|
+
readMoreReviewsHref: j,
|
|
1148
|
+
onProceed: y,
|
|
1149
|
+
proceedHref: C,
|
|
1150
|
+
originalPriceLabel: d,
|
|
1151
|
+
discountedPriceLabel: c,
|
|
1152
|
+
discountPillLabel: v,
|
|
1153
|
+
analytics: x,
|
|
1154
|
+
onLocaleChange: b,
|
|
1155
|
+
children: /* @__PURE__ */ e.jsx(kt, { className: n })
|
|
1156
|
+
}
|
|
1157
|
+
), Et = ({ variant: n, ...o }) => {
|
|
1158
|
+
const a = typeof window < "u" ? new URLSearchParams(window.location.search).get("variant") : null;
|
|
1159
|
+
return (n ?? (a === "v1" ? "v1" : void 0)) === "v1" ? /* @__PURE__ */ e.jsx(Ct, { ...o }) : /* @__PURE__ */ e.jsx(ct, { ...o });
|
|
1160
|
+
}, Ft = "[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}";
|
|
1161
|
+
export {
|
|
1162
|
+
Ft as K,
|
|
1163
|
+
Xe as P,
|
|
1164
|
+
Et as a,
|
|
1165
|
+
ct as b,
|
|
1166
|
+
Ct as c
|
|
1167
|
+
};
|
|
1168
|
+
//# sourceMappingURL=criticalCss-BJ9Nfrmv.js.map
|