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