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