@srimandir/kundli-generator 5.30.21 → 5.30.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/KundliPage/sections/KundliTableSection/SampleReportsSection.d.ts +0 -1
- package/dist/components/ThreeSkuPlanBottomSheet/QuestionInput.d.ts +1 -0
- package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuPlanBottomSheet.types.d.ts +3 -0
- package/dist/{criticalCss-BLid95lh.js → criticalCss-66i_WtMP.js} +760 -797
- package/dist/criticalCss-66i_WtMP.js.map +1 -0
- package/dist/kundli-generator.js +1 -1
- package/dist/page-entry.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/criticalCss-BLid95lh.js.map +0 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { k as e, h as X, D as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { UserReviewsSection as
|
|
4
|
-
const
|
|
5
|
-
container:
|
|
6
|
-
main:
|
|
7
|
-
langDropdownWrap:
|
|
8
|
-
langTrigger:
|
|
9
|
-
langIcon:
|
|
10
|
-
langLabel:
|
|
11
|
-
langMenu:
|
|
12
|
-
langOption:
|
|
13
|
-
},
|
|
14
|
-
hero:
|
|
15
|
-
title:
|
|
16
|
-
subtitle:
|
|
17
|
-
topicTags:
|
|
18
|
-
tag:
|
|
19
|
-
},
|
|
1
|
+
import { k as e, h as X, D as ae, d as je, j as ce, c as De, u as ye, L as oe, S as we, l as ve, t as Ce, C as Ue, P as $e, F as Oe, U as Me, m as Ke, n as Be } from "./analytics-BDueklE6.js";
|
|
2
|
+
import { useRef as f, useState as I, useEffect as k, useCallback as W, useMemo as pe } from "react";
|
|
3
|
+
import { UserReviewsSection as Qe, FAQAccordion as qe, ContactUsSection as He, FooterShell as Ge, FooterCTAButton as We, CircularMarquee as ze, footerShellStyles as G } from "@srimandir/astrology-common";
|
|
4
|
+
const Ve = "_container_nm3gb_1", Ye = "_main_nm3gb_6", Xe = "_langDropdownWrap_nm3gb_12", Je = "_langTrigger_nm3gb_16", Ze = "_langIcon_nm3gb_28", en = "_langLabel_nm3gb_35", nn = "_langMenu_nm3gb_40", tn = "_langOption_nm3gb_46", Q = {
|
|
5
|
+
container: Ve,
|
|
6
|
+
main: Ye,
|
|
7
|
+
langDropdownWrap: Xe,
|
|
8
|
+
langTrigger: Je,
|
|
9
|
+
langIcon: Ze,
|
|
10
|
+
langLabel: en,
|
|
11
|
+
langMenu: nn,
|
|
12
|
+
langOption: tn
|
|
13
|
+
}, sn = "_hero_1vvjv_1", an = "_title_1vvjv_5", on = "_subtitle_1vvjv_10", ln = "_topicTags_1vvjv_23", rn = "_tag_1vvjv_27", te = {
|
|
14
|
+
hero: sn,
|
|
15
|
+
title: an,
|
|
16
|
+
subtitle: on,
|
|
17
|
+
topicTags: ln,
|
|
18
|
+
tag: rn
|
|
19
|
+
}, cn = [
|
|
20
20
|
"topicMarriage",
|
|
21
21
|
"topicRelationship",
|
|
22
22
|
"topicBusiness",
|
|
@@ -24,57 +24,57 @@ const We = "_container_nm3gb_1", ze = "_main_nm3gb_6", Ve = "_langDropdownWrap_n
|
|
|
24
24
|
"topicCareer",
|
|
25
25
|
"topicEducation",
|
|
26
26
|
"topicMoney"
|
|
27
|
-
],
|
|
28
|
-
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className:
|
|
29
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
30
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
31
|
-
] }),
|
|
32
|
-
section:
|
|
33
|
-
backgroundLayer:
|
|
34
|
-
backgroundImg:
|
|
35
|
-
inner:
|
|
36
|
-
content:
|
|
37
|
-
headline:
|
|
38
|
-
headlineLine:
|
|
39
|
-
headlinePill:
|
|
40
|
-
headlinePlain:
|
|
41
|
-
featureList:
|
|
42
|
-
featureItem:
|
|
43
|
-
featureIcon:
|
|
44
|
-
reportImage:
|
|
45
|
-
reportImg:
|
|
46
|
-
},
|
|
27
|
+
], ke = ({ t: n, className: s = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${te.hero} ${s}`, "aria-labelledby": "hero-title", children: [
|
|
28
|
+
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: te.title, children: n("heroTitle") }),
|
|
29
|
+
/* @__PURE__ */ e.jsx("p", { className: te.subtitle, children: n("heroSubtitle") }),
|
|
30
|
+
/* @__PURE__ */ e.jsx("div", { className: te.topicTags, role: "list", children: cn.map((t) => /* @__PURE__ */ e.jsx("span", { className: te.tag, role: "listitem", children: n(t) }, t)) })
|
|
31
|
+
] }), dn = "_section_1285h_1", un = "_backgroundLayer_1285h_9", pn = "_backgroundImg_1285h_16", mn = "_inner_1285h_23", hn = "_content_1285h_29", gn = "_headline_1285h_33", xn = "_headlineLine_1285h_38", fn = "_headlinePill_1285h_43", _n = "_headlinePlain_1285h_58", bn = "_featureList_1285h_69", jn = "_featureItem_1285h_76", yn = "_featureIcon_1285h_81", wn = "_reportImage_1285h_88", vn = "_reportImg_1285h_98", w = {
|
|
32
|
+
section: dn,
|
|
33
|
+
backgroundLayer: un,
|
|
34
|
+
backgroundImg: pn,
|
|
35
|
+
inner: mn,
|
|
36
|
+
content: hn,
|
|
37
|
+
headline: gn,
|
|
38
|
+
headlineLine: xn,
|
|
39
|
+
headlinePill: fn,
|
|
40
|
+
headlinePlain: _n,
|
|
41
|
+
featureList: bn,
|
|
42
|
+
featureItem: jn,
|
|
43
|
+
featureIcon: yn,
|
|
44
|
+
reportImage: wn,
|
|
45
|
+
reportImg: vn
|
|
46
|
+
}, Cn = "https://srm-cdn.a4b.io/yoda/1770363846052.svg", kn = "https://srm-cdn.a4b.io/yoda/1772696426944.webp", Nn = [
|
|
47
47
|
"premiumFeature1",
|
|
48
48
|
"premiumFeature2",
|
|
49
49
|
"premiumFeature3",
|
|
50
50
|
"premiumFeature4"
|
|
51
|
-
],
|
|
51
|
+
], Pn = "https://srm-cdn.a4b.io/yoda/1772696452070.webp", Ne = ({
|
|
52
52
|
t: n,
|
|
53
|
-
reportImageUrl:
|
|
53
|
+
reportImageUrl: s = Pn,
|
|
54
54
|
reportImagePriority: t,
|
|
55
55
|
backgroundImagePriority: o = !1,
|
|
56
|
-
analytics:
|
|
56
|
+
analytics: a,
|
|
57
57
|
className: l = ""
|
|
58
58
|
}) => {
|
|
59
|
-
const u = X()?.config.imageComponent ??
|
|
60
|
-
|
|
59
|
+
const u = X()?.config.imageComponent ?? ae, i = () => {
|
|
60
|
+
a?.trackBannerClicked?.();
|
|
61
61
|
};
|
|
62
62
|
return /* @__PURE__ */ e.jsxs(
|
|
63
63
|
"section",
|
|
64
64
|
{
|
|
65
|
-
className: `${
|
|
65
|
+
className: `${w.section} ${l}`,
|
|
66
66
|
"aria-labelledby": "premium-headline",
|
|
67
67
|
role: "button",
|
|
68
68
|
tabIndex: 0,
|
|
69
69
|
onClick: i,
|
|
70
70
|
"data-hero": !0,
|
|
71
71
|
children: [
|
|
72
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
72
|
+
/* @__PURE__ */ e.jsx("div", { className: w.backgroundLayer, "aria-hidden": !0, "data-background-layer": !0, children: /* @__PURE__ */ e.jsx(
|
|
73
73
|
u,
|
|
74
74
|
{
|
|
75
|
-
src:
|
|
75
|
+
src: kn,
|
|
76
76
|
alt: "",
|
|
77
|
-
className:
|
|
77
|
+
className: w.backgroundImg,
|
|
78
78
|
width: 412,
|
|
79
79
|
height: 215,
|
|
80
80
|
sizes: "(max-width: 768px) 412px, 412px",
|
|
@@ -83,43 +83,43 @@ const We = "_container_nm3gb_1", ze = "_main_nm3gb_6", Ve = "_langDropdownWrap_n
|
|
|
83
83
|
fetchPriority: "high"
|
|
84
84
|
}
|
|
85
85
|
) }),
|
|
86
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
87
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
88
|
-
/* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className:
|
|
89
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
90
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
91
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
86
|
+
/* @__PURE__ */ e.jsxs("div", { className: w.inner, children: [
|
|
87
|
+
/* @__PURE__ */ e.jsxs("div", { className: w.content, children: [
|
|
88
|
+
/* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: w.headline, children: [
|
|
89
|
+
/* @__PURE__ */ e.jsxs("span", { className: w.headlineLine, children: [
|
|
90
|
+
/* @__PURE__ */ e.jsx("span", { className: w.headlinePill, children: n("premiumHeadlinePill1") }),
|
|
91
|
+
/* @__PURE__ */ e.jsx("span", { className: w.headlinePlain, children: n("premiumHeadlinePlain1") })
|
|
92
92
|
] }),
|
|
93
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
94
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
95
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
93
|
+
/* @__PURE__ */ e.jsxs("span", { className: w.headlineLine, children: [
|
|
94
|
+
/* @__PURE__ */ e.jsx("span", { className: w.headlinePlain, children: n("premiumHeadlinePlain2") }),
|
|
95
|
+
/* @__PURE__ */ e.jsx("span", { className: w.headlinePill, children: n("premiumHeadlinePill2") })
|
|
96
96
|
] }),
|
|
97
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
98
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
99
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
97
|
+
/* @__PURE__ */ e.jsxs("span", { className: w.headlineLine, children: [
|
|
98
|
+
/* @__PURE__ */ e.jsx("span", { className: w.headlinePlain, children: n("and") }),
|
|
99
|
+
/* @__PURE__ */ e.jsx("span", { className: w.headlinePill, children: n("astrologyGuidance") })
|
|
100
100
|
] })
|
|
101
101
|
] }),
|
|
102
|
-
/* @__PURE__ */ e.jsx("ul", { className:
|
|
102
|
+
/* @__PURE__ */ e.jsx("ul", { className: w.featureList, children: Nn.map((h) => /* @__PURE__ */ e.jsxs("li", { className: w.featureItem, children: [
|
|
103
103
|
/* @__PURE__ */ e.jsx(
|
|
104
104
|
u,
|
|
105
105
|
{
|
|
106
|
-
src:
|
|
106
|
+
src: Cn,
|
|
107
107
|
alt: "",
|
|
108
|
-
className:
|
|
108
|
+
className: w.featureIcon,
|
|
109
109
|
width: 16,
|
|
110
110
|
height: 16,
|
|
111
111
|
loading: "lazy"
|
|
112
112
|
}
|
|
113
113
|
),
|
|
114
|
-
n(
|
|
115
|
-
] },
|
|
114
|
+
n(h)
|
|
115
|
+
] }, h)) })
|
|
116
116
|
] }),
|
|
117
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
117
|
+
/* @__PURE__ */ e.jsx("div", { className: w.reportImage, children: /* @__PURE__ */ e.jsx(
|
|
118
118
|
u,
|
|
119
119
|
{
|
|
120
|
-
src:
|
|
120
|
+
src: s,
|
|
121
121
|
alt: "",
|
|
122
|
-
className:
|
|
122
|
+
className: w.reportImg,
|
|
123
123
|
width: 120,
|
|
124
124
|
height: 160,
|
|
125
125
|
priority: t,
|
|
@@ -132,46 +132,46 @@ const We = "_container_nm3gb_1", ze = "_main_nm3gb_6", Ve = "_langDropdownWrap_n
|
|
|
132
132
|
]
|
|
133
133
|
}
|
|
134
134
|
);
|
|
135
|
-
},
|
|
136
|
-
section:
|
|
137
|
-
heading:
|
|
138
|
-
logoImg:
|
|
139
|
-
},
|
|
135
|
+
}, In = "_section_1kxsy_1", Ln = "_heading_1kxsy_6", Tn = "_logoImg_1kxsy_10", re = {
|
|
136
|
+
section: In,
|
|
137
|
+
heading: Ln,
|
|
138
|
+
logoImg: Tn
|
|
139
|
+
}, Fn = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", Pe = ({
|
|
140
140
|
t: n,
|
|
141
|
-
logoUrl:
|
|
141
|
+
logoUrl: s = Fn,
|
|
142
142
|
className: t = ""
|
|
143
143
|
}) => {
|
|
144
|
-
const
|
|
145
|
-
return /* @__PURE__ */ e.jsxs("section", { className: `${
|
|
146
|
-
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className:
|
|
144
|
+
const a = X()?.config.imageComponent ?? ae;
|
|
145
|
+
return /* @__PURE__ */ e.jsxs("section", { className: `${re.section} ${t}`, "aria-labelledby": "certified-heading", children: [
|
|
146
|
+
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: re.heading, children: n("certifiedBy") }),
|
|
147
147
|
/* @__PURE__ */ e.jsx(
|
|
148
|
-
|
|
148
|
+
a,
|
|
149
149
|
{
|
|
150
|
-
src:
|
|
150
|
+
src: s,
|
|
151
151
|
alt: "University Certification",
|
|
152
|
-
className:
|
|
152
|
+
className: re.logoImg,
|
|
153
153
|
width: 380,
|
|
154
154
|
height: 70,
|
|
155
155
|
loading: "lazy"
|
|
156
156
|
}
|
|
157
157
|
)
|
|
158
158
|
] });
|
|
159
|
-
}, Rn = "_section_1d9aa_1",
|
|
159
|
+
}, Rn = "_section_1d9aa_1", Sn = "_heading_1d9aa_6", En = "_subtitle_1d9aa_11", An = "_stepList_1d9aa_16", Dn = "_stepItem_1d9aa_20", Un = "_stepNumber_1d9aa_24", $n = "_stepText_1d9aa_30", On = "_step3Days_1d9aa_35", S = {
|
|
160
160
|
section: Rn,
|
|
161
|
-
heading:
|
|
162
|
-
subtitle:
|
|
163
|
-
stepList:
|
|
164
|
-
stepItem:
|
|
165
|
-
stepNumber:
|
|
166
|
-
stepText:
|
|
167
|
-
step3Days:
|
|
168
|
-
},
|
|
161
|
+
heading: Sn,
|
|
162
|
+
subtitle: En,
|
|
163
|
+
stepList: An,
|
|
164
|
+
stepItem: Dn,
|
|
165
|
+
stepNumber: Un,
|
|
166
|
+
stepText: $n,
|
|
167
|
+
step3Days: On
|
|
168
|
+
}, Mn = ["step1", "step2"], Ie = ({
|
|
169
169
|
t: n,
|
|
170
|
-
locale:
|
|
170
|
+
locale: s = "en",
|
|
171
171
|
isGlobal: t = !0,
|
|
172
172
|
className: o = ""
|
|
173
173
|
}) => {
|
|
174
|
-
const
|
|
174
|
+
const a = t ? "step3IntroGlobal" : "step3IntroDomestic";
|
|
175
175
|
return /* @__PURE__ */ e.jsxs(
|
|
176
176
|
"section",
|
|
177
177
|
{
|
|
@@ -181,16 +181,16 @@ const We = "_container_nm3gb_1", ze = "_main_nm3gb_6", Ve = "_langDropdownWrap_n
|
|
|
181
181
|
/* @__PURE__ */ e.jsx("p", { className: S.heading, children: n("yourThreeSteps") }),
|
|
182
182
|
/* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: S.subtitle, children: n("threeStepsSubtitle") }),
|
|
183
183
|
/* @__PURE__ */ e.jsxs("ol", { className: S.stepList, children: [
|
|
184
|
-
|
|
185
|
-
/* @__PURE__ */ e.jsx("span", { className: S.stepNumber, "aria-hidden": !0, children:
|
|
184
|
+
Mn.map((l, c) => /* @__PURE__ */ e.jsxs("li", { className: S.stepItem, children: [
|
|
185
|
+
/* @__PURE__ */ e.jsx("span", { className: S.stepNumber, "aria-hidden": !0, children: c + 1 }),
|
|
186
186
|
/* @__PURE__ */ e.jsx("span", { className: S.stepText, children: n(l) })
|
|
187
187
|
] }, l)),
|
|
188
188
|
/* @__PURE__ */ e.jsxs("li", { className: S.stepItem, children: [
|
|
189
189
|
/* @__PURE__ */ e.jsx("span", { className: S.stepNumber, "aria-hidden": !0, children: "3" }),
|
|
190
190
|
/* @__PURE__ */ e.jsxs("span", { className: S.stepText, children: [
|
|
191
|
-
n(
|
|
191
|
+
n(a),
|
|
192
192
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
193
|
-
|
|
193
|
+
s === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
194
194
|
"in ",
|
|
195
195
|
/* @__PURE__ */ e.jsx("strong", { className: S.step3Days, children: n("step3Days") })
|
|
196
196
|
] }) : /* @__PURE__ */ e.jsx("strong", { className: S.step3Days, children: n("step3Days") })
|
|
@@ -200,99 +200,99 @@ const We = "_container_nm3gb_1", ze = "_main_nm3gb_6", Ve = "_langDropdownWrap_n
|
|
|
200
200
|
]
|
|
201
201
|
}
|
|
202
202
|
);
|
|
203
|
-
},
|
|
204
|
-
section:
|
|
205
|
-
button:
|
|
206
|
-
},
|
|
207
|
-
backdrop:
|
|
208
|
-
modal:
|
|
209
|
-
header:
|
|
210
|
-
title:
|
|
211
|
-
closeBtn:
|
|
212
|
-
content:
|
|
213
|
-
pdfFrame:
|
|
214
|
-
pdfPages:
|
|
215
|
-
pdfError:
|
|
216
|
-
openInNewTab:
|
|
203
|
+
}, Kn = "_section_1jea1_1", Bn = "_button_1jea1_7", me = {
|
|
204
|
+
section: Kn,
|
|
205
|
+
button: Bn
|
|
206
|
+
}, Qn = "_backdrop_pekod_1", qn = "_modal_pekod_21", Hn = "_header_pekod_40", Gn = "_title_pekod_49", Wn = "_closeBtn_pekod_56", zn = "_content_pekod_76", Vn = "_pdfFrame_pekod_84", Yn = "_pdfPages_pekod_92", Xn = "_pdfError_pekod_97", Jn = "_openInNewTab_pekod_123", $ = {
|
|
207
|
+
backdrop: Qn,
|
|
208
|
+
modal: qn,
|
|
209
|
+
header: Hn,
|
|
210
|
+
title: Gn,
|
|
211
|
+
closeBtn: Wn,
|
|
212
|
+
content: zn,
|
|
213
|
+
pdfFrame: Vn,
|
|
214
|
+
pdfPages: Yn,
|
|
215
|
+
pdfError: Xn,
|
|
216
|
+
openInNewTab: Jn
|
|
217
217
|
};
|
|
218
|
-
function
|
|
218
|
+
function Zn(n) {
|
|
219
219
|
typeof n < "u" && n.GlobalWorkerOptions && (n.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${n.version}/build/pdf.worker.min.js`);
|
|
220
220
|
}
|
|
221
|
-
const
|
|
221
|
+
const Le = ({
|
|
222
222
|
isOpen: n,
|
|
223
|
-
onClose:
|
|
223
|
+
onClose: s,
|
|
224
224
|
title: t,
|
|
225
225
|
pdfUrl: o
|
|
226
226
|
}) => {
|
|
227
|
-
const
|
|
228
|
-
return
|
|
227
|
+
const a = f(null), [l, c] = I(!0), [u, i] = I(null), [h, _] = I(null);
|
|
228
|
+
return k(() => {
|
|
229
229
|
if (!n) return;
|
|
230
|
-
const
|
|
231
|
-
|
|
230
|
+
const r = (m) => {
|
|
231
|
+
m.key === "Escape" && s();
|
|
232
232
|
};
|
|
233
|
-
return document.addEventListener("keydown",
|
|
234
|
-
document.removeEventListener("keydown",
|
|
233
|
+
return document.addEventListener("keydown", r), document.body.style.overflow = "hidden", () => {
|
|
234
|
+
document.removeEventListener("keydown", r), document.body.style.overflow = "";
|
|
235
235
|
};
|
|
236
|
-
}, [n,
|
|
237
|
-
n && import("pdfjs-dist").then((
|
|
238
|
-
|
|
239
|
-
}).catch((
|
|
240
|
-
i("Failed to load PDF viewer"),
|
|
236
|
+
}, [n, s]), k(() => {
|
|
237
|
+
n && import("pdfjs-dist").then((r) => {
|
|
238
|
+
_(r);
|
|
239
|
+
}).catch((r) => {
|
|
240
|
+
i("Failed to load PDF viewer"), c(!1);
|
|
241
241
|
});
|
|
242
|
-
}, [n]),
|
|
243
|
-
if (!n || !o || !
|
|
244
|
-
|
|
242
|
+
}, [n]), k(() => {
|
|
243
|
+
if (!n || !o || !a.current || !h) return;
|
|
244
|
+
c(!0), i(null), a.current.innerHTML = "", (async () => {
|
|
245
245
|
try {
|
|
246
|
-
|
|
247
|
-
const
|
|
246
|
+
Zn(h);
|
|
247
|
+
const j = await h.getDocument({ url: o }).promise, N = a.current;
|
|
248
248
|
if (!N) return;
|
|
249
|
-
const
|
|
250
|
-
for (let
|
|
251
|
-
const
|
|
252
|
-
|
|
253
|
-
const
|
|
254
|
-
|
|
249
|
+
const C = N.clientWidth || 600, x = Math.min(C / 612, 2);
|
|
250
|
+
for (let p = 1; p <= j.numPages; p++) {
|
|
251
|
+
const b = await j.getPage(p), R = b.getViewport({ scale: x }), v = document.createElement("canvas");
|
|
252
|
+
v.height = R.height, v.width = R.width, v.style.display = "block", v.style.margin = "0 auto 1rem", v.style.maxWidth = "100%";
|
|
253
|
+
const P = v.getContext("2d");
|
|
254
|
+
P && await b.render({ canvasContext: P, viewport: R }).promise, N.appendChild(v);
|
|
255
255
|
}
|
|
256
|
-
} catch (
|
|
257
|
-
i(
|
|
256
|
+
} catch (m) {
|
|
257
|
+
i(m instanceof Error ? m.message : "Failed to load PDF");
|
|
258
258
|
} finally {
|
|
259
|
-
|
|
259
|
+
c(!1);
|
|
260
260
|
}
|
|
261
261
|
})();
|
|
262
|
-
}, [n, o,
|
|
262
|
+
}, [n, o, h]), n ? /* @__PURE__ */ e.jsx(
|
|
263
263
|
"div",
|
|
264
264
|
{
|
|
265
|
-
className:
|
|
266
|
-
onClick:
|
|
265
|
+
className: $.backdrop,
|
|
266
|
+
onClick: s,
|
|
267
267
|
role: "dialog",
|
|
268
268
|
"aria-modal": "true",
|
|
269
269
|
"aria-labelledby": "sample-report-modal-title",
|
|
270
270
|
children: /* @__PURE__ */ e.jsxs(
|
|
271
271
|
"div",
|
|
272
272
|
{
|
|
273
|
-
className:
|
|
274
|
-
onClick: (
|
|
273
|
+
className: $.modal,
|
|
274
|
+
onClick: (r) => r.stopPropagation(),
|
|
275
275
|
children: [
|
|
276
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
277
|
-
/* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className:
|
|
276
|
+
/* @__PURE__ */ e.jsxs("div", { className: $.header, children: [
|
|
277
|
+
/* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className: $.title, children: t }),
|
|
278
278
|
/* @__PURE__ */ e.jsx(
|
|
279
279
|
"button",
|
|
280
280
|
{
|
|
281
281
|
type: "button",
|
|
282
|
-
className:
|
|
283
|
-
onClick:
|
|
282
|
+
className: $.closeBtn,
|
|
283
|
+
onClick: s,
|
|
284
284
|
"aria-label": "Close",
|
|
285
285
|
children: "×"
|
|
286
286
|
}
|
|
287
287
|
)
|
|
288
288
|
] }),
|
|
289
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
290
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
291
|
-
u && /* @__PURE__ */ e.jsxs("div", { className:
|
|
289
|
+
/* @__PURE__ */ e.jsxs("div", { className: $.content, children: [
|
|
290
|
+
/* @__PURE__ */ e.jsxs("div", { className: $.pdfFrame, children: [
|
|
291
|
+
u && /* @__PURE__ */ e.jsxs("div", { className: $.pdfError, children: [
|
|
292
292
|
/* @__PURE__ */ e.jsx("span", { children: u }),
|
|
293
293
|
/* @__PURE__ */ e.jsx("a", { href: o, target: "_blank", rel: "noopener noreferrer", children: "Open in new tab instead" })
|
|
294
294
|
] }),
|
|
295
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
295
|
+
/* @__PURE__ */ e.jsx("div", { ref: a, className: $.pdfPages })
|
|
296
296
|
] }),
|
|
297
297
|
/* @__PURE__ */ e.jsx(
|
|
298
298
|
"a",
|
|
@@ -300,7 +300,7 @@ const le = ({
|
|
|
300
300
|
href: o,
|
|
301
301
|
target: "_blank",
|
|
302
302
|
rel: "noopener noreferrer",
|
|
303
|
-
className:
|
|
303
|
+
className: $.openInNewTab,
|
|
304
304
|
children: "Open in new tab"
|
|
305
305
|
}
|
|
306
306
|
)
|
|
@@ -310,497 +310,497 @@ const le = ({
|
|
|
310
310
|
)
|
|
311
311
|
}
|
|
312
312
|
) : null;
|
|
313
|
-
},
|
|
313
|
+
}, et = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", de = ({
|
|
314
314
|
t: n,
|
|
315
|
-
pdfUrl:
|
|
315
|
+
pdfUrl: s = et,
|
|
316
316
|
onClick: t,
|
|
317
317
|
analytics: o,
|
|
318
|
-
className:
|
|
318
|
+
className: a = ""
|
|
319
319
|
}) => {
|
|
320
|
-
const [l,
|
|
321
|
-
o?.trackViewSampleReportClicked?.(), t?.(),
|
|
322
|
-
},
|
|
323
|
-
o?.trackViewSampleReportClosed?.(),
|
|
320
|
+
const [l, c] = I(!1), u = n("viewSampleReport"), i = n("sampleReportModalTitle"), h = () => {
|
|
321
|
+
o?.trackViewSampleReportClicked?.(), t?.(), c(!0);
|
|
322
|
+
}, _ = () => {
|
|
323
|
+
o?.trackViewSampleReportClosed?.(), c(!1);
|
|
324
324
|
};
|
|
325
|
-
return /* @__PURE__ */ e.jsxs("section", { className: `${
|
|
326
|
-
/* @__PURE__ */ e.jsx("button", { type: "button", className:
|
|
325
|
+
return /* @__PURE__ */ e.jsxs("section", { className: `${me.section} ${a}`, children: [
|
|
326
|
+
/* @__PURE__ */ e.jsx("button", { type: "button", className: me.button, onClick: h, children: u }),
|
|
327
327
|
/* @__PURE__ */ e.jsx(
|
|
328
|
-
|
|
328
|
+
Le,
|
|
329
329
|
{
|
|
330
330
|
isOpen: l,
|
|
331
|
-
onClose:
|
|
331
|
+
onClose: _,
|
|
332
332
|
title: i,
|
|
333
|
-
pdfUrl:
|
|
333
|
+
pdfUrl: s
|
|
334
334
|
}
|
|
335
335
|
)
|
|
336
336
|
] });
|
|
337
|
-
},
|
|
338
|
-
section:
|
|
339
|
-
heading:
|
|
340
|
-
list:
|
|
341
|
-
item:
|
|
342
|
-
imageWrap:
|
|
343
|
-
image:
|
|
344
|
-
imagePlaceholder:
|
|
345
|
-
text:
|
|
346
|
-
itemTitle:
|
|
347
|
-
itemDesc:
|
|
348
|
-
},
|
|
337
|
+
}, nt = "_section_1ds1w_1", tt = "_heading_1ds1w_5", st = "_list_1ds1w_10", at = "_item_1ds1w_17", it = "_imageWrap_1ds1w_21", ot = "_image_1ds1w_21", lt = "_imagePlaceholder_1ds1w_30", rt = "_text_1ds1w_36", ct = "_itemTitle_1ds1w_40", dt = "_itemDesc_1ds1w_51", O = {
|
|
338
|
+
section: nt,
|
|
339
|
+
heading: tt,
|
|
340
|
+
list: st,
|
|
341
|
+
item: at,
|
|
342
|
+
imageWrap: it,
|
|
343
|
+
image: ot,
|
|
344
|
+
imagePlaceholder: lt,
|
|
345
|
+
text: rt,
|
|
346
|
+
itemTitle: ct,
|
|
347
|
+
itemDesc: dt
|
|
348
|
+
}, ut = [
|
|
349
349
|
{ titleKey: "findDasha", descKey: "findDashaDesc" },
|
|
350
350
|
{ titleKey: "findYoga", descKey: "findYogaDesc" },
|
|
351
351
|
{ titleKey: "findGemstone", descKey: "findGemstoneDesc" },
|
|
352
352
|
{ titleKey: "findPooja", descKey: "findPoojaDesc" },
|
|
353
353
|
{ titleKey: "findMonthly", descKey: "findMonthlyDesc" },
|
|
354
354
|
{ titleKey: "findStrength", descKey: "findStrengthDesc" }
|
|
355
|
-
],
|
|
355
|
+
], pt = [
|
|
356
356
|
"https://srm-cdn.a4b.io/yoda/1772619204758.webp",
|
|
357
357
|
"https://srm-cdn.a4b.io/yoda/1772619215121.webp",
|
|
358
358
|
"https://srm-cdn.a4b.io/yoda/1772619232241.webp",
|
|
359
359
|
"https://srm-cdn.a4b.io/yoda/1772619253699.webp",
|
|
360
360
|
"https://srm-cdn.a4b.io/yoda/1772619272322.webp",
|
|
361
361
|
"https://srm-cdn.a4b.io/yoda/1772619284662.webp"
|
|
362
|
-
],
|
|
362
|
+
], Te = ({
|
|
363
363
|
t: n,
|
|
364
|
-
imageUrls:
|
|
364
|
+
imageUrls: s = pt,
|
|
365
365
|
className: t = ""
|
|
366
366
|
}) => {
|
|
367
|
-
const
|
|
367
|
+
const a = X()?.config.imageComponent ?? ae;
|
|
368
368
|
return /* @__PURE__ */ e.jsxs(
|
|
369
369
|
"section",
|
|
370
370
|
{
|
|
371
|
-
className: `${
|
|
371
|
+
className: `${O.section} ${t}`,
|
|
372
372
|
"aria-labelledby": "find-heading",
|
|
373
373
|
children: [
|
|
374
|
-
/* @__PURE__ */ e.jsx("h2", { id: "find-heading", className:
|
|
375
|
-
/* @__PURE__ */ e.jsx("ul", { className:
|
|
376
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
377
|
-
|
|
374
|
+
/* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: O.heading, children: n("whatYoullFindTitle") }),
|
|
375
|
+
/* @__PURE__ */ e.jsx("ul", { className: O.list, children: ut.map((l, c) => /* @__PURE__ */ e.jsxs("li", { className: O.item, children: [
|
|
376
|
+
/* @__PURE__ */ e.jsx("div", { className: O.imageWrap, children: s[c] ? /* @__PURE__ */ e.jsx(
|
|
377
|
+
a,
|
|
378
378
|
{
|
|
379
|
-
src:
|
|
379
|
+
src: s[c],
|
|
380
380
|
alt: "",
|
|
381
|
-
className:
|
|
381
|
+
className: O.image,
|
|
382
382
|
width: 96,
|
|
383
383
|
height: 96,
|
|
384
384
|
loading: "lazy",
|
|
385
385
|
sizes: "96px"
|
|
386
386
|
}
|
|
387
|
-
) : /* @__PURE__ */ e.jsx("div", { className:
|
|
388
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
389
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
390
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
387
|
+
) : /* @__PURE__ */ e.jsx("div", { className: O.imagePlaceholder, "aria-hidden": !0 }) }),
|
|
388
|
+
/* @__PURE__ */ e.jsxs("div", { className: O.text, children: [
|
|
389
|
+
/* @__PURE__ */ e.jsx("h3", { className: O.itemTitle, children: n(l.titleKey) }),
|
|
390
|
+
/* @__PURE__ */ e.jsx("p", { className: O.itemDesc, children: n(l.descKey) })
|
|
391
391
|
] })
|
|
392
392
|
] }, l.titleKey)) })
|
|
393
393
|
]
|
|
394
394
|
}
|
|
395
395
|
);
|
|
396
|
-
},
|
|
397
|
-
section:
|
|
398
|
-
heading:
|
|
399
|
-
subtitle:
|
|
400
|
-
list:
|
|
401
|
-
item:
|
|
402
|
-
},
|
|
403
|
-
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className:
|
|
404
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
405
|
-
/* @__PURE__ */ e.jsx("ul", { className:
|
|
406
|
-
] }),
|
|
407
|
-
headingBold:
|
|
396
|
+
}, mt = "_section_75s76_1", ht = "_heading_75s76_6", gt = "_subtitle_75s76_11", xt = "_list_75s76_16", ft = "_item_75s76_20", se = {
|
|
397
|
+
section: mt,
|
|
398
|
+
heading: ht,
|
|
399
|
+
subtitle: gt,
|
|
400
|
+
list: xt,
|
|
401
|
+
item: ft
|
|
402
|
+
}, _t = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], Fe = ({ t: n, className: s = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${se.section} ${s}`, "aria-labelledby": "why-heading", children: [
|
|
403
|
+
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: se.heading, children: n("whyUsTitle") }),
|
|
404
|
+
/* @__PURE__ */ e.jsx("p", { className: se.subtitle, children: n("whyUsSubtitle") }),
|
|
405
|
+
/* @__PURE__ */ e.jsx("ul", { className: se.list, children: _t.map((t) => /* @__PURE__ */ e.jsx("li", { className: se.item, children: n(t) }, t)) })
|
|
406
|
+
] }), bt = "_headingBold_g8xg7_1", jt = {
|
|
407
|
+
headingBold: bt
|
|
408
408
|
}, Re = ({
|
|
409
409
|
t: n,
|
|
410
|
-
testimonials:
|
|
410
|
+
testimonials: s,
|
|
411
411
|
readMoreHref: t,
|
|
412
412
|
onReadMore: o,
|
|
413
|
-
className:
|
|
414
|
-
headingClassName: l =
|
|
413
|
+
className: a = "",
|
|
414
|
+
headingClassName: l = jt.headingBold
|
|
415
415
|
}) => /* @__PURE__ */ e.jsx(
|
|
416
|
-
|
|
416
|
+
Qe,
|
|
417
417
|
{
|
|
418
418
|
t: n,
|
|
419
|
-
testimonials:
|
|
419
|
+
testimonials: s,
|
|
420
420
|
readMoreHref: t,
|
|
421
421
|
onReadMore: o,
|
|
422
|
-
className:
|
|
422
|
+
className: a,
|
|
423
423
|
headingClassName: l
|
|
424
424
|
}
|
|
425
|
-
),
|
|
426
|
-
headingBold:
|
|
427
|
-
},
|
|
425
|
+
), yt = "_headingBold_g8xg7_1", wt = {
|
|
426
|
+
headingBold: yt
|
|
427
|
+
}, vt = [
|
|
428
428
|
{ qKey: "faqQ1", aKey: "faqA1" },
|
|
429
429
|
{ qKey: "faqQ3", aKey: "faqA3" }
|
|
430
|
-
],
|
|
430
|
+
], Se = ({
|
|
431
431
|
t: n,
|
|
432
|
-
className:
|
|
433
|
-
headingClassName: t =
|
|
432
|
+
className: s = "",
|
|
433
|
+
headingClassName: t = wt.headingBold
|
|
434
434
|
}) => {
|
|
435
|
-
const
|
|
435
|
+
const a = X()?.config.isGlobal ?? !0, l = (c) => c === "faqA1" ? a ? "faqA1Global" : "faqA1Domestic" : c;
|
|
436
436
|
return /* @__PURE__ */ e.jsx(
|
|
437
|
-
|
|
437
|
+
qe,
|
|
438
438
|
{
|
|
439
439
|
t: n,
|
|
440
|
-
items:
|
|
440
|
+
items: vt,
|
|
441
441
|
resolveAnswerKey: l,
|
|
442
442
|
defaultOpenIndex: 1,
|
|
443
|
-
className:
|
|
443
|
+
className: s,
|
|
444
444
|
headingClassName: t
|
|
445
445
|
}
|
|
446
446
|
);
|
|
447
|
-
},
|
|
447
|
+
}, he = "8296947757", ge = "08071174417", xe = "pujaseva@appsforbharat.com", Ee = ({
|
|
448
448
|
t: n,
|
|
449
|
-
whatsAppGlobal:
|
|
449
|
+
whatsAppGlobal: s,
|
|
450
450
|
whatsAppDomestic: t,
|
|
451
451
|
email: o,
|
|
452
|
-
brandName:
|
|
452
|
+
brandName: a,
|
|
453
453
|
className: l = ""
|
|
454
454
|
}) => {
|
|
455
|
-
const u = X()?.config.isGlobal ?? !0, i =
|
|
455
|
+
const u = X()?.config.isGlobal ?? !0, i = s ?? he, h = t ?? ge, _ = o ?? xe, r = u ? n("contactWhatsAppGlobal").replace(he, i) : n("contactWhatsAppDomestic").replace(ge, h), m = n("contactEmail").replace(xe, _);
|
|
456
456
|
return /* @__PURE__ */ e.jsx(
|
|
457
|
-
|
|
457
|
+
He,
|
|
458
458
|
{
|
|
459
459
|
title: n("contactTitle"),
|
|
460
|
-
brandName:
|
|
461
|
-
whatsAppLine:
|
|
462
|
-
emailLine:
|
|
460
|
+
brandName: a ?? n("contactBrandName"),
|
|
461
|
+
whatsAppLine: r,
|
|
462
|
+
emailLine: m,
|
|
463
463
|
className: l
|
|
464
464
|
}
|
|
465
465
|
);
|
|
466
|
-
},
|
|
467
|
-
const t = X()?.config.imageComponent ??
|
|
468
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
469
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
470
|
-
/* @__PURE__ */ e.jsx(t, { src:
|
|
466
|
+
}, Ct = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", kt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Nt = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Pt = ({ t: n }) => {
|
|
467
|
+
const t = X()?.config.imageComponent ?? ae;
|
|
468
|
+
return /* @__PURE__ */ e.jsxs("div", { className: G.marqueeContent, children: [
|
|
469
|
+
/* @__PURE__ */ e.jsxs("span", { className: G.badge, children: [
|
|
470
|
+
/* @__PURE__ */ e.jsx(t, { src: Ct, alt: "", className: G.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
471
471
|
n("ctaKundliCreated")
|
|
472
472
|
] }),
|
|
473
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
474
|
-
/* @__PURE__ */ e.jsx(t, { src:
|
|
473
|
+
/* @__PURE__ */ e.jsxs("span", { className: G.badge, children: [
|
|
474
|
+
/* @__PURE__ */ e.jsx(t, { src: kt, alt: "", className: G.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
475
475
|
n("ctaCertified")
|
|
476
476
|
] }),
|
|
477
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
478
|
-
/* @__PURE__ */ e.jsx(t, { src:
|
|
477
|
+
/* @__PURE__ */ e.jsxs("span", { className: G.badge, children: [
|
|
478
|
+
/* @__PURE__ */ e.jsx(t, { src: Nt, alt: "", className: G.badgeIcon, width: 16, height: 16, loading: "lazy" }),
|
|
479
479
|
n("ctaSecurePayment")
|
|
480
480
|
] })
|
|
481
481
|
] });
|
|
482
|
-
},
|
|
482
|
+
}, It = ({
|
|
483
483
|
t: n,
|
|
484
|
-
onCtaClick:
|
|
484
|
+
onCtaClick: s,
|
|
485
485
|
ctaHref: t,
|
|
486
486
|
className: o = ""
|
|
487
487
|
}) => {
|
|
488
|
-
const
|
|
488
|
+
const a = n("ctaButtonBefore").replace(/\s+in\s*$/i, "");
|
|
489
489
|
return /* @__PURE__ */ e.jsx(
|
|
490
|
-
|
|
490
|
+
Ge,
|
|
491
491
|
{
|
|
492
492
|
className: o,
|
|
493
|
-
marquee: /* @__PURE__ */ e.jsx(
|
|
494
|
-
children: /* @__PURE__ */ e.jsx(
|
|
493
|
+
marquee: /* @__PURE__ */ e.jsx(ze, { children: /* @__PURE__ */ e.jsx(Pt, { t: n }) }),
|
|
494
|
+
children: /* @__PURE__ */ e.jsx(We, { href: t, onClick: s, children: a })
|
|
495
495
|
}
|
|
496
496
|
);
|
|
497
|
-
},
|
|
498
|
-
function
|
|
497
|
+
}, Lt = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Tt = (n, s) => Ce[n]?.[s] ?? s, Ft = 112;
|
|
498
|
+
function M({
|
|
499
499
|
section: n,
|
|
500
|
-
children:
|
|
500
|
+
children: s,
|
|
501
501
|
onImpression: t
|
|
502
502
|
}) {
|
|
503
|
-
const o =
|
|
504
|
-
return
|
|
503
|
+
const o = f(null), a = f(!1);
|
|
504
|
+
return k(() => {
|
|
505
505
|
const l = o.current;
|
|
506
506
|
if (!l) return;
|
|
507
|
-
const
|
|
507
|
+
const c = new IntersectionObserver(
|
|
508
508
|
([u]) => {
|
|
509
|
-
!u?.isIntersecting ||
|
|
509
|
+
!u?.isIntersecting || a.current || (a.current = !0, t(n));
|
|
510
510
|
},
|
|
511
511
|
{
|
|
512
512
|
threshold: 0.1,
|
|
513
513
|
// Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
|
|
514
|
-
rootMargin: `0px 0px -${
|
|
514
|
+
rootMargin: `0px 0px -${Ft}px 0px`
|
|
515
515
|
}
|
|
516
516
|
);
|
|
517
|
-
return
|
|
518
|
-
}, [n, t]), /* @__PURE__ */ e.jsx("div", { ref: o, children:
|
|
517
|
+
return c.observe(l), () => c.disconnect();
|
|
518
|
+
}, [n, t]), /* @__PURE__ */ e.jsx("div", { ref: o, children: s });
|
|
519
519
|
}
|
|
520
520
|
function Rt({ className: n }) {
|
|
521
|
-
const { view:
|
|
522
|
-
return
|
|
521
|
+
const { view: s } = ce();
|
|
522
|
+
return s === "form" ? /* @__PURE__ */ e.jsx(De, {}) : /* @__PURE__ */ e.jsx(St, { className: n });
|
|
523
523
|
}
|
|
524
|
-
function
|
|
525
|
-
const
|
|
524
|
+
function St({ className: n }) {
|
|
525
|
+
const s = ye(), {
|
|
526
526
|
locale: t,
|
|
527
527
|
setLocale: o,
|
|
528
|
-
config:
|
|
528
|
+
config: a,
|
|
529
529
|
goToForm: l
|
|
530
|
-
} =
|
|
531
|
-
|
|
530
|
+
} = ce(), [c, u] = I(!1), i = f(null), h = f(a.locale), _ = f(
|
|
531
|
+
s?.locale
|
|
532
532
|
);
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
}, [
|
|
536
|
-
if (
|
|
537
|
-
const
|
|
538
|
-
|
|
539
|
-
}, [
|
|
540
|
-
if (!
|
|
541
|
-
const
|
|
542
|
-
i.current && !i.current.contains(
|
|
533
|
+
k(() => {
|
|
534
|
+
a.locale && h.current !== a.locale && o(a.locale), h.current = a.locale;
|
|
535
|
+
}, [a.locale, o]), k(() => {
|
|
536
|
+
if (a.locale) return;
|
|
537
|
+
const p = s?.locale;
|
|
538
|
+
p && _.current !== p && o(p), _.current = p;
|
|
539
|
+
}, [s?.locale, a.locale, o]), k(() => {
|
|
540
|
+
if (!c) return;
|
|
541
|
+
const p = (b) => {
|
|
542
|
+
i.current && !i.current.contains(b.target) && u(!1);
|
|
543
543
|
};
|
|
544
|
-
return document.addEventListener("mousedown",
|
|
545
|
-
}, [
|
|
546
|
-
const
|
|
544
|
+
return document.addEventListener("mousedown", p), () => document.removeEventListener("mousedown", p);
|
|
545
|
+
}, [c]);
|
|
546
|
+
const r = (p) => Tt(t, p), m = a.showLanguageSelector ?? !0, j = a.imageComponent ?? ae, N = m ? /* @__PURE__ */ e.jsxs("div", { className: Q.langDropdownWrap, ref: i, children: [
|
|
547
547
|
/* @__PURE__ */ e.jsxs(
|
|
548
548
|
"button",
|
|
549
549
|
{
|
|
550
550
|
type: "button",
|
|
551
|
-
className:
|
|
551
|
+
className: Q.langTrigger,
|
|
552
552
|
onClick: () => {
|
|
553
|
-
|
|
553
|
+
a.analytics?.trackLanguageClickedFe?.({ language: t }), u((p) => !p);
|
|
554
554
|
},
|
|
555
|
-
"aria-expanded":
|
|
555
|
+
"aria-expanded": c,
|
|
556
556
|
"aria-haspopup": "listbox",
|
|
557
557
|
id: "kundli-lang",
|
|
558
|
-
"aria-label":
|
|
558
|
+
"aria-label": r("language"),
|
|
559
559
|
children: [
|
|
560
560
|
/* @__PURE__ */ e.jsx(
|
|
561
|
-
|
|
561
|
+
j,
|
|
562
562
|
{
|
|
563
|
-
src:
|
|
563
|
+
src: Lt,
|
|
564
564
|
alt: "",
|
|
565
|
-
className:
|
|
565
|
+
className: Q.langIcon,
|
|
566
566
|
width: 16,
|
|
567
567
|
height: 16,
|
|
568
568
|
loading: "eager"
|
|
569
569
|
}
|
|
570
570
|
),
|
|
571
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
571
|
+
/* @__PURE__ */ e.jsx("span", { className: Q.langLabel, children: oe[t] })
|
|
572
572
|
]
|
|
573
573
|
}
|
|
574
574
|
),
|
|
575
|
-
|
|
575
|
+
c && /* @__PURE__ */ e.jsx(
|
|
576
576
|
"ul",
|
|
577
577
|
{
|
|
578
|
-
className:
|
|
578
|
+
className: Q.langMenu,
|
|
579
579
|
role: "listbox",
|
|
580
580
|
"aria-labelledby": "kundli-lang",
|
|
581
581
|
"aria-activedescendant": `kundli-lang-option-${t}`,
|
|
582
|
-
children:
|
|
582
|
+
children: we.map((p) => /* @__PURE__ */ e.jsx(
|
|
583
583
|
"li",
|
|
584
584
|
{
|
|
585
|
-
id: `kundli-lang-option-${
|
|
585
|
+
id: `kundli-lang-option-${p}`,
|
|
586
586
|
role: "option",
|
|
587
|
-
"aria-selected":
|
|
588
|
-
className:
|
|
587
|
+
"aria-selected": p === t,
|
|
588
|
+
className: Q.langOption,
|
|
589
589
|
onClick: () => {
|
|
590
|
-
|
|
590
|
+
a.analytics?.trackLanguageChangedFe?.({ newLanguage: p }), o(p), u(!1);
|
|
591
591
|
},
|
|
592
|
-
children:
|
|
592
|
+
children: oe[p]
|
|
593
593
|
},
|
|
594
|
-
|
|
594
|
+
p
|
|
595
595
|
))
|
|
596
596
|
}
|
|
597
597
|
)
|
|
598
|
-
] }) : null,
|
|
599
|
-
const
|
|
600
|
-
|
|
601
|
-
}, x =
|
|
602
|
-
(
|
|
603
|
-
|
|
604
|
-
section:
|
|
598
|
+
] }) : null, C = (p) => {
|
|
599
|
+
const b = p.currentTarget.innerText?.trim() ?? r("ctaButtonAfter");
|
|
600
|
+
a.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: b }), l(), a.onCtaClick?.();
|
|
601
|
+
}, x = W(
|
|
602
|
+
(p) => {
|
|
603
|
+
a.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
604
|
+
section: p,
|
|
605
605
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
606
606
|
});
|
|
607
607
|
},
|
|
608
|
-
[
|
|
608
|
+
[a.analytics]
|
|
609
609
|
);
|
|
610
|
-
return /* @__PURE__ */ e.jsxs("div", { className: `${
|
|
610
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${Q.container} ${n}`, children: [
|
|
611
611
|
/* @__PURE__ */ e.jsx(
|
|
612
|
-
|
|
612
|
+
ve,
|
|
613
613
|
{
|
|
614
|
-
t:
|
|
615
|
-
logoUrl:
|
|
614
|
+
t: r,
|
|
615
|
+
logoUrl: a.logoUrl,
|
|
616
616
|
languageSelector: N
|
|
617
617
|
}
|
|
618
618
|
),
|
|
619
|
-
/* @__PURE__ */ e.jsxs("main", { className:
|
|
619
|
+
/* @__PURE__ */ e.jsxs("main", { className: Q.main, children: [
|
|
620
620
|
/* @__PURE__ */ e.jsx(
|
|
621
|
-
|
|
621
|
+
M,
|
|
622
622
|
{
|
|
623
623
|
section: "hero",
|
|
624
624
|
onImpression: x,
|
|
625
|
-
children: /* @__PURE__ */ e.jsx(
|
|
625
|
+
children: /* @__PURE__ */ e.jsx(ke, { t: r })
|
|
626
626
|
}
|
|
627
627
|
),
|
|
628
628
|
/* @__PURE__ */ e.jsx(
|
|
629
|
-
|
|
629
|
+
M,
|
|
630
630
|
{
|
|
631
631
|
section: "premium_report_overview",
|
|
632
632
|
onImpression: x,
|
|
633
633
|
children: /* @__PURE__ */ e.jsx(
|
|
634
|
-
|
|
634
|
+
Ne,
|
|
635
635
|
{
|
|
636
|
-
t:
|
|
637
|
-
reportImageUrl:
|
|
638
|
-
reportImagePriority:
|
|
639
|
-
backgroundImagePriority:
|
|
640
|
-
analytics:
|
|
636
|
+
t: r,
|
|
637
|
+
reportImageUrl: a.reportImageUrl,
|
|
638
|
+
reportImagePriority: a.reportImagePriority,
|
|
639
|
+
backgroundImagePriority: a.backgroundImagePriority,
|
|
640
|
+
analytics: a.analytics
|
|
641
641
|
}
|
|
642
642
|
)
|
|
643
643
|
}
|
|
644
644
|
),
|
|
645
645
|
/* @__PURE__ */ e.jsx(
|
|
646
|
-
|
|
646
|
+
M,
|
|
647
647
|
{
|
|
648
648
|
section: "university_certification",
|
|
649
649
|
onImpression: x,
|
|
650
650
|
children: /* @__PURE__ */ e.jsx(
|
|
651
|
-
|
|
651
|
+
Pe,
|
|
652
652
|
{
|
|
653
|
-
t:
|
|
654
|
-
logoUrl:
|
|
653
|
+
t: r,
|
|
654
|
+
logoUrl: a.universityLogoUrls?.find((p) => !!p)
|
|
655
655
|
}
|
|
656
656
|
)
|
|
657
657
|
}
|
|
658
658
|
),
|
|
659
659
|
/* @__PURE__ */ e.jsx(
|
|
660
|
-
|
|
660
|
+
M,
|
|
661
661
|
{
|
|
662
662
|
section: "three_steps_process",
|
|
663
663
|
onImpression: x,
|
|
664
|
-
children: /* @__PURE__ */ e.jsx(
|
|
664
|
+
children: /* @__PURE__ */ e.jsx(Ie, { t: r, locale: t, isGlobal: a.isGlobal })
|
|
665
665
|
}
|
|
666
666
|
),
|
|
667
667
|
/* @__PURE__ */ e.jsx(
|
|
668
|
-
|
|
668
|
+
M,
|
|
669
669
|
{
|
|
670
670
|
section: "view_sample_report",
|
|
671
671
|
onImpression: x,
|
|
672
672
|
children: /* @__PURE__ */ e.jsx(
|
|
673
|
-
|
|
673
|
+
de,
|
|
674
674
|
{
|
|
675
|
-
t:
|
|
676
|
-
pdfUrl:
|
|
677
|
-
onClick:
|
|
678
|
-
analytics:
|
|
675
|
+
t: r,
|
|
676
|
+
pdfUrl: a.sampleReportHref,
|
|
677
|
+
onClick: a.onViewSampleReport,
|
|
678
|
+
analytics: a.analytics
|
|
679
679
|
}
|
|
680
680
|
)
|
|
681
681
|
}
|
|
682
682
|
),
|
|
683
683
|
/* @__PURE__ */ e.jsx(
|
|
684
|
-
|
|
684
|
+
M,
|
|
685
685
|
{
|
|
686
686
|
section: "what_youll_find",
|
|
687
687
|
onImpression: x,
|
|
688
|
-
children: /* @__PURE__ */ e.jsx(
|
|
688
|
+
children: /* @__PURE__ */ e.jsx(Te, { t: r })
|
|
689
689
|
}
|
|
690
690
|
),
|
|
691
691
|
/* @__PURE__ */ e.jsx(
|
|
692
|
-
|
|
692
|
+
M,
|
|
693
693
|
{
|
|
694
694
|
section: "why_us",
|
|
695
695
|
onImpression: x,
|
|
696
|
-
children: /* @__PURE__ */ e.jsx(
|
|
696
|
+
children: /* @__PURE__ */ e.jsx(Fe, { t: r })
|
|
697
697
|
}
|
|
698
698
|
),
|
|
699
699
|
/* @__PURE__ */ e.jsx(
|
|
700
|
-
|
|
700
|
+
M,
|
|
701
701
|
{
|
|
702
702
|
section: "feedback",
|
|
703
703
|
onImpression: x,
|
|
704
704
|
children: /* @__PURE__ */ e.jsx(
|
|
705
705
|
Re,
|
|
706
706
|
{
|
|
707
|
-
t:
|
|
708
|
-
readMoreHref:
|
|
709
|
-
onReadMore:
|
|
707
|
+
t: r,
|
|
708
|
+
readMoreHref: a.readMoreReviewsHref,
|
|
709
|
+
onReadMore: a.analytics?.trackReadMoreReviewsClicked ? () => a.analytics.trackReadMoreReviewsClicked() : void 0
|
|
710
710
|
}
|
|
711
711
|
)
|
|
712
712
|
}
|
|
713
713
|
),
|
|
714
714
|
/* @__PURE__ */ e.jsx(
|
|
715
|
-
|
|
715
|
+
M,
|
|
716
716
|
{
|
|
717
717
|
section: "faq",
|
|
718
718
|
onImpression: x,
|
|
719
|
-
children: /* @__PURE__ */ e.jsx(
|
|
719
|
+
children: /* @__PURE__ */ e.jsx(Se, { t: r })
|
|
720
720
|
}
|
|
721
721
|
),
|
|
722
722
|
/* @__PURE__ */ e.jsx(
|
|
723
|
-
|
|
723
|
+
M,
|
|
724
724
|
{
|
|
725
725
|
section: "contact_us",
|
|
726
726
|
onImpression: x,
|
|
727
|
-
children: /* @__PURE__ */ e.jsx(
|
|
727
|
+
children: /* @__PURE__ */ e.jsx(Ee, { t: r })
|
|
728
728
|
}
|
|
729
729
|
)
|
|
730
730
|
] }),
|
|
731
731
|
/* @__PURE__ */ e.jsx(
|
|
732
|
-
|
|
732
|
+
It,
|
|
733
733
|
{
|
|
734
|
-
t:
|
|
735
|
-
ctaHref:
|
|
736
|
-
onCtaClick:
|
|
734
|
+
t: r,
|
|
735
|
+
ctaHref: a.ctaHref,
|
|
736
|
+
onCtaClick: a.ctaHref ? void 0 : C
|
|
737
737
|
}
|
|
738
738
|
)
|
|
739
739
|
] });
|
|
740
740
|
}
|
|
741
|
-
const
|
|
741
|
+
const Et = ({
|
|
742
742
|
className: n = "",
|
|
743
|
-
locale:
|
|
743
|
+
locale: s,
|
|
744
744
|
showLanguageSelector: t = !0,
|
|
745
745
|
showSheet: o,
|
|
746
|
-
userId:
|
|
746
|
+
userId: a,
|
|
747
747
|
isGlobal: l,
|
|
748
|
-
atlasSearchLocalities:
|
|
748
|
+
atlasSearchLocalities: c,
|
|
749
749
|
logoUrl: u,
|
|
750
750
|
reportImageUrl: i,
|
|
751
|
-
universityLogoUrls:
|
|
752
|
-
sampleReportHref:
|
|
753
|
-
onViewSampleReport:
|
|
754
|
-
ctaHref:
|
|
755
|
-
onCtaClick:
|
|
751
|
+
universityLogoUrls: h,
|
|
752
|
+
sampleReportHref: _,
|
|
753
|
+
onViewSampleReport: r,
|
|
754
|
+
ctaHref: m,
|
|
755
|
+
onCtaClick: j,
|
|
756
756
|
readMoreReviewsHref: N,
|
|
757
|
-
onProceed:
|
|
757
|
+
onProceed: C,
|
|
758
758
|
onProceedGuidance: x,
|
|
759
|
-
proceedHref:
|
|
760
|
-
originalPriceLabel:
|
|
761
|
-
discountedPriceLabel:
|
|
762
|
-
discountPillLabel:
|
|
763
|
-
analytics:
|
|
764
|
-
onLocaleChange:
|
|
759
|
+
proceedHref: p,
|
|
760
|
+
originalPriceLabel: b,
|
|
761
|
+
discountedPriceLabel: R,
|
|
762
|
+
discountPillLabel: v,
|
|
763
|
+
analytics: P,
|
|
764
|
+
onLocaleChange: A
|
|
765
765
|
}) => /* @__PURE__ */ e.jsx(
|
|
766
|
-
|
|
766
|
+
je,
|
|
767
767
|
{
|
|
768
|
-
locale:
|
|
768
|
+
locale: s,
|
|
769
769
|
showLanguageSelector: t,
|
|
770
770
|
showSheet: o,
|
|
771
|
-
userId:
|
|
771
|
+
userId: a,
|
|
772
772
|
isGlobal: l,
|
|
773
|
-
atlasSearchLocalities:
|
|
773
|
+
atlasSearchLocalities: c,
|
|
774
774
|
logoUrl: u,
|
|
775
775
|
reportImageUrl: i,
|
|
776
|
-
universityLogoUrls:
|
|
777
|
-
sampleReportHref:
|
|
778
|
-
onViewSampleReport:
|
|
779
|
-
ctaHref:
|
|
780
|
-
onCtaClick:
|
|
776
|
+
universityLogoUrls: h,
|
|
777
|
+
sampleReportHref: _,
|
|
778
|
+
onViewSampleReport: r,
|
|
779
|
+
ctaHref: m,
|
|
780
|
+
onCtaClick: j,
|
|
781
781
|
readMoreReviewsHref: N,
|
|
782
|
-
onProceed:
|
|
782
|
+
onProceed: C,
|
|
783
783
|
onProceedGuidance: x,
|
|
784
|
-
proceedHref:
|
|
785
|
-
originalPriceLabel:
|
|
786
|
-
discountedPriceLabel:
|
|
787
|
-
discountPillLabel:
|
|
788
|
-
analytics:
|
|
789
|
-
onLocaleChange:
|
|
784
|
+
proceedHref: p,
|
|
785
|
+
originalPriceLabel: b,
|
|
786
|
+
discountedPriceLabel: R,
|
|
787
|
+
discountPillLabel: v,
|
|
788
|
+
analytics: P,
|
|
789
|
+
onLocaleChange: A,
|
|
790
790
|
children: /* @__PURE__ */ e.jsx(Rt, { className: n })
|
|
791
791
|
}
|
|
792
|
-
),
|
|
793
|
-
container:
|
|
794
|
-
main:
|
|
795
|
-
langDropdownWrap:
|
|
796
|
-
langTrigger:
|
|
797
|
-
langIcon:
|
|
798
|
-
langLabel:
|
|
799
|
-
langMenu:
|
|
800
|
-
langOption:
|
|
801
|
-
inlineFormWrap:
|
|
802
|
-
inlineProceedFooter:
|
|
803
|
-
},
|
|
792
|
+
), At = "_container_1b9qe_1", Dt = "_main_1b9qe_6", Ut = "_langDropdownWrap_1b9qe_12", $t = "_langTrigger_1b9qe_16", Ot = "_langIcon_1b9qe_28", Mt = "_langLabel_1b9qe_35", Kt = "_langMenu_1b9qe_40", Bt = "_langOption_1b9qe_46", Qt = "_inlineFormWrap_1b9qe_57", qt = "_inlineProceedFooter_1b9qe_74", K = {
|
|
793
|
+
container: At,
|
|
794
|
+
main: Dt,
|
|
795
|
+
langDropdownWrap: Ut,
|
|
796
|
+
langTrigger: $t,
|
|
797
|
+
langIcon: Ot,
|
|
798
|
+
langLabel: Mt,
|
|
799
|
+
langMenu: Kt,
|
|
800
|
+
langOption: Bt,
|
|
801
|
+
inlineFormWrap: Qt,
|
|
802
|
+
inlineProceedFooter: qt
|
|
803
|
+
}, Ae = [
|
|
804
804
|
{
|
|
805
805
|
id: "samiksha",
|
|
806
806
|
name: "Acharya Rama Sarma",
|
|
@@ -823,7 +823,7 @@ const Ft = ({
|
|
|
823
823
|
"Result-Oriented Spiritual Guidance"
|
|
824
824
|
]
|
|
825
825
|
}
|
|
826
|
-
],
|
|
826
|
+
], fe = {
|
|
827
827
|
en: {
|
|
828
828
|
planSheetTitle: "Choose your Kundli Plan",
|
|
829
829
|
planProceedToPayment: "Proceed to Payment",
|
|
@@ -890,7 +890,7 @@ const Ft = ({
|
|
|
890
890
|
planQuestionChip4: "क्या मेरी मौजूदा नौकरी मेरे लिए सही है?",
|
|
891
891
|
planAstrologerExp: "साल का अनुभव"
|
|
892
892
|
}
|
|
893
|
-
},
|
|
893
|
+
}, Ht = (n) => [
|
|
894
894
|
{
|
|
895
895
|
id: "kundli-report",
|
|
896
896
|
title: "planNameBasic",
|
|
@@ -928,22 +928,22 @@ const Ft = ({
|
|
|
928
928
|
{ text: "planFeatureRealTimeAnswers", included: !0 },
|
|
929
929
|
{ text: "planFeatureTailoredRemedies", included: !0 }
|
|
930
930
|
],
|
|
931
|
-
astrologers:
|
|
931
|
+
astrologers: Ae.filter(
|
|
932
932
|
(t) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(t.id)
|
|
933
933
|
)
|
|
934
934
|
}
|
|
935
|
-
],
|
|
935
|
+
], _e = [
|
|
936
936
|
"planQuestionChip1",
|
|
937
937
|
"planQuestionChip2",
|
|
938
938
|
"planQuestionChip3",
|
|
939
939
|
"planQuestionChip4"
|
|
940
940
|
];
|
|
941
|
-
|
|
941
|
+
Ae.slice(0, 3).map((n) => ({
|
|
942
942
|
id: n.id,
|
|
943
943
|
imageUrl: n.imageUrl,
|
|
944
944
|
name: n.name
|
|
945
945
|
}));
|
|
946
|
-
const
|
|
946
|
+
const Gt = 5e3, Wt = 84, zt = `
|
|
947
947
|
@keyframes three-sku-slide-up {
|
|
948
948
|
from { transform: translateY(100%); opacity: 0; }
|
|
949
949
|
to { transform: translateY(0); opacity: 1; }
|
|
@@ -953,19 +953,19 @@ const qt = 5e3, Ht = 84, Gt = `
|
|
|
953
953
|
60% { left: 125%; }
|
|
954
954
|
100% { left: 125%; }
|
|
955
955
|
}
|
|
956
|
-
`,
|
|
956
|
+
`, Vt = ({ title: n, onClose: s }) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 px-4 pt-3 pb-1 sticky top-0 bg-white z-[2]", children: [
|
|
957
957
|
/* @__PURE__ */ e.jsx(
|
|
958
958
|
"button",
|
|
959
959
|
{
|
|
960
960
|
type: "button",
|
|
961
|
-
onClick:
|
|
961
|
+
onClick: s,
|
|
962
962
|
"aria-label": "Go back",
|
|
963
963
|
className: "w-8 h-8 rounded-full bg-transparent border-0 flex items-center justify-center text-gray-700 hover:bg-gray-100",
|
|
964
|
-
children: /* @__PURE__ */ e.jsx(
|
|
964
|
+
children: /* @__PURE__ */ e.jsx(Ue, {})
|
|
965
965
|
}
|
|
966
966
|
),
|
|
967
967
|
/* @__PURE__ */ e.jsx("h2", { className: "flex-1 text-[16px] font-bold text-gray-900 m-0 pr-8", children: n })
|
|
968
|
-
] }),
|
|
968
|
+
] }), Yt = () => /* @__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" }) }), Xt = () => /* @__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" }) }), Jt = () => /* @__PURE__ */ e.jsxs(
|
|
969
969
|
"svg",
|
|
970
970
|
{
|
|
971
971
|
width: "14",
|
|
@@ -982,36 +982,37 @@ const qt = 5e3, Ht = 84, Gt = `
|
|
|
982
982
|
/* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
983
983
|
]
|
|
984
984
|
}
|
|
985
|
-
),
|
|
986
|
-
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 mt-[1px]", children: t.included ? /* @__PURE__ */ e.jsx(
|
|
987
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-[20px] text-gray-700", children:
|
|
988
|
-
] }, o)) }) }),
|
|
985
|
+
), Zt = ({ plan: n, t: s }) => /* @__PURE__ */ e.jsx("div", { className: "rounded-2xl border border-gray-200 bg-white px-4 py-3 shadow-[0_2px_8px_rgba(17,24,39,0.06)]", children: /* @__PURE__ */ e.jsx("ul", { className: "list-none m-0 p-0 flex flex-col gap-2", "aria-label": "Plan features", children: n.features.map((t, o) => /* @__PURE__ */ e.jsxs("li", { className: "flex items-start gap-3", children: [
|
|
986
|
+
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 mt-[1px]", children: t.included ? /* @__PURE__ */ e.jsx(Yt, {}) : /* @__PURE__ */ e.jsx(Xt, {}) }),
|
|
987
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-[20px] text-gray-700", children: s(t.text) })
|
|
988
|
+
] }, o)) }) }), es = ({
|
|
989
989
|
chipKeys: n,
|
|
990
|
-
t:
|
|
990
|
+
t: s,
|
|
991
991
|
onChipClick: t
|
|
992
992
|
}) => {
|
|
993
|
-
const o = Math.ceil(n.length / 2),
|
|
994
|
-
return /* @__PURE__ */ e.jsx("div", { className: "overflow-x-auto pb-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", children: /* @__PURE__ */ e.jsx("div", { className: "inline-flex flex-col gap-2", children:
|
|
993
|
+
const o = Math.ceil(n.length / 2), a = [n.slice(0, o), n.slice(o)];
|
|
994
|
+
return /* @__PURE__ */ e.jsx("div", { className: "overflow-x-auto pb-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", children: /* @__PURE__ */ e.jsx("div", { className: "inline-flex flex-col gap-2", children: a.map((l, c) => /* @__PURE__ */ e.jsx("div", { className: "flex gap-2", children: l.map((u) => /* @__PURE__ */ e.jsx(
|
|
995
995
|
"button",
|
|
996
996
|
{
|
|
997
997
|
type: "button",
|
|
998
998
|
className: "inline-flex w-auto px-3 py-2 rounded-full bg-[#F1F7FF] text-[#104DA6] text-[14px] font-medium cursor-pointer whitespace-nowrap active:opacity-70 transition-opacity",
|
|
999
999
|
onClick: () => t(u, n.indexOf(u)),
|
|
1000
|
-
children:
|
|
1000
|
+
children: s(u)
|
|
1001
1001
|
},
|
|
1002
1002
|
u
|
|
1003
|
-
)) },
|
|
1004
|
-
},
|
|
1003
|
+
)) }, c)) }) });
|
|
1004
|
+
}, ns = ({
|
|
1005
1005
|
textareaRef: n,
|
|
1006
|
-
value:
|
|
1006
|
+
value: s,
|
|
1007
1007
|
label: t,
|
|
1008
1008
|
placeholder: o,
|
|
1009
|
-
chipKeys:
|
|
1009
|
+
chipKeys: a,
|
|
1010
1010
|
t: l,
|
|
1011
|
-
onFocus:
|
|
1011
|
+
onFocus: c,
|
|
1012
1012
|
onClick: u,
|
|
1013
1013
|
onChange: i,
|
|
1014
|
-
onChipClick:
|
|
1014
|
+
onChipClick: h,
|
|
1015
|
+
onViewSample: _
|
|
1015
1016
|
}) => /* @__PURE__ */ e.jsxs("div", { className: "mt-4 flex flex-col gap-2", children: [
|
|
1016
1017
|
/* @__PURE__ */ e.jsx(
|
|
1017
1018
|
"div",
|
|
@@ -1022,9 +1023,28 @@ const qt = 5e3, Ht = 84, Gt = `
|
|
|
1022
1023
|
}
|
|
1023
1024
|
}
|
|
1024
1025
|
),
|
|
1025
|
-
/* @__PURE__ */ e.jsxs("
|
|
1026
|
-
|
|
1027
|
-
|
|
1026
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
1027
|
+
/* @__PURE__ */ e.jsxs("label", { className: "text-[14px] font-semibold text-gray-900", htmlFor: "kundli-question", children: [
|
|
1028
|
+
t,
|
|
1029
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[#e05c2a] ml-0.5", children: "*" })
|
|
1030
|
+
] }),
|
|
1031
|
+
_ && /* @__PURE__ */ e.jsxs(
|
|
1032
|
+
"button",
|
|
1033
|
+
{
|
|
1034
|
+
type: "button",
|
|
1035
|
+
onClick: _,
|
|
1036
|
+
className: "flex items-center gap-1 text-[13px] font-semibold text-[#e05c2a] underline underline-offset-2",
|
|
1037
|
+
children: [
|
|
1038
|
+
/* @__PURE__ */ e.jsxs("svg", { width: "13", height: "13", viewBox: "0 0 24 24", fill: "none", "aria-hidden": !0, children: [
|
|
1039
|
+
/* @__PURE__ */ e.jsx("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
1040
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "14 2 14 8 20 8", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
1041
|
+
/* @__PURE__ */ e.jsx("line", { x1: "16", y1: "13", x2: "8", y2: "13", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }),
|
|
1042
|
+
/* @__PURE__ */ e.jsx("line", { x1: "16", y1: "17", x2: "8", y2: "17", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" })
|
|
1043
|
+
] }),
|
|
1044
|
+
"View sample answer"
|
|
1045
|
+
]
|
|
1046
|
+
}
|
|
1047
|
+
)
|
|
1028
1048
|
] }),
|
|
1029
1049
|
/* @__PURE__ */ e.jsx(
|
|
1030
1050
|
"textarea",
|
|
@@ -1034,44 +1054,44 @@ const qt = 5e3, Ht = 84, Gt = `
|
|
|
1034
1054
|
className: "w-full resize-none overflow-y-auto border-[1.5px] border-[#F99724] rounded-[10px] p-4 text-left align-top text-[14px] text-gray-900 leading-5 box-border outline-none focus:border-[#e05c2a] focus:shadow-[0_0_0_3px_rgba(224,92,42,0.12)] placeholder:text-left placeholder:text-gray-400",
|
|
1035
1055
|
style: { height: "100px" },
|
|
1036
1056
|
placeholder: o,
|
|
1037
|
-
value:
|
|
1038
|
-
onFocus:
|
|
1057
|
+
value: s,
|
|
1058
|
+
onFocus: c,
|
|
1039
1059
|
onClick: u,
|
|
1040
1060
|
onChange: i
|
|
1041
1061
|
}
|
|
1042
1062
|
),
|
|
1043
|
-
/* @__PURE__ */ e.jsx(
|
|
1044
|
-
] }),
|
|
1045
|
-
card:
|
|
1046
|
-
top:
|
|
1047
|
-
avatar:
|
|
1048
|
-
avatarPlaceholder:
|
|
1049
|
-
basicInfo:
|
|
1050
|
-
name:
|
|
1051
|
-
exp:
|
|
1052
|
-
langs:
|
|
1053
|
-
divider:
|
|
1054
|
-
certList:
|
|
1055
|
-
certItem:
|
|
1056
|
-
bullet:
|
|
1057
|
-
},
|
|
1063
|
+
/* @__PURE__ */ e.jsx(es, { chipKeys: a, t: l, onChipClick: h })
|
|
1064
|
+
] }), ts = "_card_62fy9_1", ss = "_top_62fy9_15", as = "_avatar_62fy9_21", is = "_avatarPlaceholder_62fy9_38", os = "_basicInfo_62fy9_44", ls = "_name_62fy9_51", rs = "_exp_62fy9_61", cs = "_langs_62fy9_62", ds = "_divider_62fy9_69", us = "_certList_62fy9_75", ps = "_certItem_62fy9_81", ms = "_bullet_62fy9_90", E = {
|
|
1065
|
+
card: ts,
|
|
1066
|
+
top: ss,
|
|
1067
|
+
avatar: as,
|
|
1068
|
+
avatarPlaceholder: is,
|
|
1069
|
+
basicInfo: os,
|
|
1070
|
+
name: ls,
|
|
1071
|
+
exp: rs,
|
|
1072
|
+
langs: cs,
|
|
1073
|
+
divider: ds,
|
|
1074
|
+
certList: us,
|
|
1075
|
+
certItem: ps,
|
|
1076
|
+
bullet: ms
|
|
1077
|
+
}, hs = ({ astrologer: n, t: s }) => /* @__PURE__ */ e.jsxs("div", { className: E.card, children: [
|
|
1058
1078
|
/* @__PURE__ */ e.jsxs("div", { className: E.top, children: [
|
|
1059
|
-
/* @__PURE__ */ e.jsx("div", { className: E.avatar, "aria-hidden": !0, children: n.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: n.imageUrl, alt:
|
|
1079
|
+
/* @__PURE__ */ e.jsx("div", { className: E.avatar, "aria-hidden": !0, children: n.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: n.imageUrl, alt: s?.(n.name) ?? n.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: E.avatarPlaceholder, children: n.name.charAt(0) }) }),
|
|
1060
1080
|
/* @__PURE__ */ e.jsxs("div", { className: E.basicInfo, children: [
|
|
1061
|
-
/* @__PURE__ */ e.jsx("p", { className: E.name, children:
|
|
1062
|
-
/* @__PURE__ */ e.jsx("p", { className: E.exp, children:
|
|
1063
|
-
n.languages && n.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: E.langs, children: n.languages.map((t) =>
|
|
1081
|
+
/* @__PURE__ */ e.jsx("p", { className: E.name, children: s?.(n.name) ?? n.name }),
|
|
1082
|
+
/* @__PURE__ */ e.jsx("p", { className: E.exp, children: s?.(n.experience) ?? n.experience }),
|
|
1083
|
+
n.languages && n.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: E.langs, children: n.languages.map((t) => s?.(t) ?? t).join(" • ") })
|
|
1064
1084
|
] })
|
|
1065
1085
|
] }),
|
|
1066
1086
|
/* @__PURE__ */ e.jsx("div", { className: E.divider }),
|
|
1067
1087
|
/* @__PURE__ */ e.jsx("div", { className: E.certList, children: n.certifications.map((t, o) => /* @__PURE__ */ e.jsxs("p", { className: E.certItem, children: [
|
|
1068
1088
|
/* @__PURE__ */ e.jsx("span", { className: E.bullet, children: "✓" }),
|
|
1069
1089
|
" ",
|
|
1070
|
-
|
|
1090
|
+
s?.(t) ?? t
|
|
1071
1091
|
] }, o)) })
|
|
1072
|
-
] }),
|
|
1092
|
+
] }), gs = ({
|
|
1073
1093
|
astrologers: n,
|
|
1074
|
-
heading:
|
|
1094
|
+
heading: s,
|
|
1075
1095
|
t
|
|
1076
1096
|
}) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1077
1097
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1083,21 +1103,21 @@ const qt = 5e3, Ht = 84, Gt = `
|
|
|
1083
1103
|
}
|
|
1084
1104
|
}
|
|
1085
1105
|
),
|
|
1086
|
-
/* @__PURE__ */ e.jsx("p", { className: "m-0 mt-4 text-[14px] font-semibold text-[#1D2125]", children:
|
|
1106
|
+
/* @__PURE__ */ e.jsx("p", { className: "m-0 mt-4 text-[14px] font-semibold text-[#1D2125]", children: s }),
|
|
1087
1107
|
/* @__PURE__ */ e.jsx(
|
|
1088
1108
|
"div",
|
|
1089
1109
|
{
|
|
1090
1110
|
className: "flex overflow-x-auto gap-3 mt-3 pb-1 scroll-smooth [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
1091
1111
|
role: "list",
|
|
1092
|
-
children: n.map((o,
|
|
1112
|
+
children: n.map((o, a) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(hs, { astrologer: o, t }) }, a))
|
|
1093
1113
|
}
|
|
1094
1114
|
)
|
|
1095
|
-
] }),
|
|
1115
|
+
] }), xs = ({
|
|
1096
1116
|
plans: n,
|
|
1097
|
-
selectedId:
|
|
1117
|
+
selectedId: s,
|
|
1098
1118
|
t,
|
|
1099
1119
|
analytics: o,
|
|
1100
|
-
onSelectPlan:
|
|
1120
|
+
onSelectPlan: a
|
|
1101
1121
|
}) => (
|
|
1102
1122
|
/*
|
|
1103
1123
|
* pt-[18px] reserves space for the badge that floats above the card.
|
|
@@ -1108,7 +1128,7 @@ const qt = 5e3, Ht = 84, Gt = `
|
|
|
1108
1128
|
*/
|
|
1109
1129
|
/* @__PURE__ */ e.jsx("div", { className: "flex gap-2 pt-[18px] pb-3", role: "radiogroup", "aria-label": "Select plan", children: n.map((l) => /* @__PURE__ */ e.jsxs("div", { className: "flex-1 relative min-w-[106px]", children: [
|
|
1110
1130
|
l.badge && /* @__PURE__ */ e.jsxs("span", { className: "absolute -top-[18px] left-0 right-0 inline-flex items-center justify-center gap-1 whitespace-nowrap rounded-t-xl bg-[linear-gradient(180deg,#751139_0%,#D51F68_100%)] px-2 py-[6px] text-[11px] font-bold text-white z-10", children: [
|
|
1111
|
-
/* @__PURE__ */ e.jsx(
|
|
1131
|
+
/* @__PURE__ */ e.jsx(Jt, {}),
|
|
1112
1132
|
t(l.badge)
|
|
1113
1133
|
] }),
|
|
1114
1134
|
/* @__PURE__ */ e.jsxs(
|
|
@@ -1116,19 +1136,19 @@ const qt = 5e3, Ht = 84, Gt = `
|
|
|
1116
1136
|
{
|
|
1117
1137
|
type: "button",
|
|
1118
1138
|
role: "radio",
|
|
1119
|
-
"aria-checked": l.id ===
|
|
1139
|
+
"aria-checked": l.id === s,
|
|
1120
1140
|
className: [
|
|
1121
1141
|
"relative w-full flex flex-col items-center justify-center gap-1 px-1 pt-3 pb-6 min-h-[125px] rounded-xl border-[1.5px] cursor-pointer text-center outline-none transition-colors overflow-hidden",
|
|
1122
|
-
l.id ===
|
|
1142
|
+
l.id === s ? "border-[#e05c2a] bg-[#fff8f4]" : "border-gray-200 bg-white"
|
|
1123
1143
|
].join(" "),
|
|
1124
1144
|
onClick: () => {
|
|
1125
|
-
o?.trackPlanSelected?.({ planId: l.id, planName: l.title }),
|
|
1145
|
+
o?.trackPlanSelected?.({ planId: l.id, planName: l.title }), a(l);
|
|
1126
1146
|
},
|
|
1127
1147
|
children: [
|
|
1128
1148
|
/* @__PURE__ */ e.jsx(
|
|
1129
1149
|
"span",
|
|
1130
1150
|
{
|
|
1131
|
-
className: `text-[14px] leading-snug ${l.id ===
|
|
1151
|
+
className: `text-[14px] leading-snug ${l.id === s ? "font-bold text-gray-900" : "font-semibold text-gray-600"}`,
|
|
1132
1152
|
children: t(l.title)
|
|
1133
1153
|
}
|
|
1134
1154
|
),
|
|
@@ -1153,12 +1173,12 @@ const qt = 5e3, Ht = 84, Gt = `
|
|
|
1153
1173
|
}
|
|
1154
1174
|
)
|
|
1155
1175
|
] }, l.id)) })
|
|
1156
|
-
),
|
|
1176
|
+
), fs = ({
|
|
1157
1177
|
canProceed: n,
|
|
1158
|
-
label:
|
|
1178
|
+
label: s,
|
|
1159
1179
|
showDisabledHint: t,
|
|
1160
1180
|
hintText: o,
|
|
1161
|
-
onClick:
|
|
1181
|
+
onClick: a
|
|
1162
1182
|
}) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1163
1183
|
t && /* @__PURE__ */ e.jsx("p", { className: "m-0 mb-2 text-xs text-[#e05c2a] text-center", role: "alert", children: o }),
|
|
1164
1184
|
/* @__PURE__ */ e.jsxs(
|
|
@@ -1170,7 +1190,7 @@ const qt = 5e3, Ht = 84, Gt = `
|
|
|
1170
1190
|
].join(" "),
|
|
1171
1191
|
style: { fontFamily: "inherit" },
|
|
1172
1192
|
"aria-disabled": !n,
|
|
1173
|
-
onClick:
|
|
1193
|
+
onClick: a,
|
|
1174
1194
|
children: [
|
|
1175
1195
|
n && /* @__PURE__ */ e.jsx(
|
|
1176
1196
|
"span",
|
|
@@ -1185,123 +1205,127 @@ const qt = 5e3, Ht = 84, Gt = `
|
|
|
1185
1205
|
}
|
|
1186
1206
|
}
|
|
1187
1207
|
),
|
|
1188
|
-
/* @__PURE__ */ e.jsx("span", { className: "relative z-[1]", children:
|
|
1208
|
+
/* @__PURE__ */ e.jsx("span", { className: "relative z-[1]", children: s })
|
|
1189
1209
|
]
|
|
1190
1210
|
}
|
|
1191
1211
|
)
|
|
1192
|
-
] }),
|
|
1212
|
+
] }), _s = ({
|
|
1193
1213
|
isOpen: n,
|
|
1194
|
-
onClose:
|
|
1214
|
+
onClose: s,
|
|
1195
1215
|
selectedPlan: t,
|
|
1196
1216
|
onSelectPlan: o,
|
|
1197
|
-
plans:
|
|
1217
|
+
plans: a,
|
|
1198
1218
|
onProceed: l,
|
|
1199
|
-
locale:
|
|
1219
|
+
locale: c = "en",
|
|
1200
1220
|
t: u,
|
|
1201
1221
|
analytics: i,
|
|
1202
|
-
isGlobal:
|
|
1222
|
+
isGlobal: h = !0,
|
|
1223
|
+
oneQuestionSampleHref: _
|
|
1203
1224
|
}) => {
|
|
1204
|
-
const
|
|
1205
|
-
const g =
|
|
1206
|
-
g && (g.style.height = "auto", g.style.height = Math.max(100, Math.min(g.scrollHeight,
|
|
1225
|
+
const r = W((g) => (fe[c] ?? fe.en)[g] ?? u?.(g) ?? g, [c, u]), m = pe(() => a ?? Ht(h), [a, h]), j = t?.id || m.find((g) => g.badge)?.id || m[0]?.id || "", N = f(null), C = f(null), x = f(null), p = f(!1), [b, R] = I(""), [v, P] = I(!1), [A, q] = I("custom"), [H, J] = I(null), [z, Z] = I(!1), V = f(!1), y = f(null), L = pe(() => m.find((g) => g.id === j) ?? m[0], [m, j]), B = !!L?.supportsQuestion, T = !B || b.trim().length > 0, ie = W(() => {
|
|
1226
|
+
const g = y.current;
|
|
1227
|
+
g && (g.style.height = "auto", g.style.height = Math.max(100, Math.min(g.scrollHeight, Wt)) + "px");
|
|
1207
1228
|
}, []);
|
|
1208
|
-
|
|
1229
|
+
k(() => {
|
|
1209
1230
|
if (n) {
|
|
1210
1231
|
if (!t) {
|
|
1211
|
-
const g =
|
|
1232
|
+
const g = m.find((F) => F.badge) ?? m[0];
|
|
1212
1233
|
g && o(g);
|
|
1213
1234
|
}
|
|
1214
|
-
|
|
1235
|
+
p.current || (i?.trackPlanPageViewed?.(), p.current = !0);
|
|
1215
1236
|
} else
|
|
1216
|
-
|
|
1217
|
-
}, [n,
|
|
1237
|
+
p.current = !1;
|
|
1238
|
+
}, [n, m, t, o, i]), k(() => {
|
|
1218
1239
|
if (!n) return;
|
|
1219
1240
|
const g = document.body.style.overflow;
|
|
1220
1241
|
return document.body.style.overflow = "hidden", () => {
|
|
1221
1242
|
document.body.style.overflow = g;
|
|
1222
1243
|
};
|
|
1223
1244
|
}, [n]);
|
|
1224
|
-
const
|
|
1225
|
-
i?.trackPlanPageClosed?.(),
|
|
1226
|
-
},
|
|
1227
|
-
const
|
|
1228
|
-
if (
|
|
1229
|
-
const
|
|
1230
|
-
|
|
1245
|
+
const d = () => {
|
|
1246
|
+
i?.trackPlanPageClosed?.(), s();
|
|
1247
|
+
}, U = (g) => {
|
|
1248
|
+
const F = C.current, ne = x.current;
|
|
1249
|
+
if (F && ne) {
|
|
1250
|
+
const le = ne.getBoundingClientRect().top - F.getBoundingClientRect().top + F.scrollTop;
|
|
1251
|
+
F.scrollTo({ top: le, behavior: "smooth" });
|
|
1231
1252
|
}
|
|
1232
|
-
|
|
1253
|
+
V.current || (V.current = !0, i?.trackQuestionTextboxClicked?.({
|
|
1233
1254
|
entry_method: g,
|
|
1234
|
-
textbox_empty:
|
|
1255
|
+
textbox_empty: b.length === 0
|
|
1235
1256
|
}));
|
|
1236
|
-
},
|
|
1237
|
-
const
|
|
1238
|
-
|
|
1239
|
-
},
|
|
1240
|
-
const
|
|
1257
|
+
}, Y = (g) => {
|
|
1258
|
+
const F = g.target.value.slice(0, Gt);
|
|
1259
|
+
A === "chip" && F !== r(_e[H ?? 0]) && q("chip_edited"), R(F), ie(), z && Z(!1);
|
|
1260
|
+
}, ee = (g, F) => {
|
|
1261
|
+
const ne = r(g), le = b.length > 0 && A !== "chip";
|
|
1241
1262
|
i?.trackPreSuggestedQuestionSelected?.({
|
|
1242
|
-
question_text_loaded:
|
|
1243
|
-
chip_index:
|
|
1244
|
-
previous_chip_index:
|
|
1245
|
-
user_had_custom_text:
|
|
1246
|
-
}),
|
|
1247
|
-
},
|
|
1248
|
-
if (
|
|
1249
|
-
if (
|
|
1250
|
-
|
|
1263
|
+
question_text_loaded: ne,
|
|
1264
|
+
chip_index: F,
|
|
1265
|
+
previous_chip_index: H,
|
|
1266
|
+
user_had_custom_text: le
|
|
1267
|
+
}), R(ne), q("chip"), J(F), V.current = !1, setTimeout(ie, 0);
|
|
1268
|
+
}, ue = () => {
|
|
1269
|
+
if (L) {
|
|
1270
|
+
if (B && !b.trim()) {
|
|
1271
|
+
Z(!0);
|
|
1251
1272
|
return;
|
|
1252
1273
|
}
|
|
1253
1274
|
i?.trackPlanProceedClicked?.({
|
|
1254
|
-
planId:
|
|
1255
|
-
planName:
|
|
1256
|
-
price:
|
|
1257
|
-
currency:
|
|
1258
|
-
question_asked:
|
|
1259
|
-
question_text:
|
|
1260
|
-
question_source:
|
|
1261
|
-
}), l(
|
|
1275
|
+
planId: L.id,
|
|
1276
|
+
planName: L.title,
|
|
1277
|
+
price: L.price,
|
|
1278
|
+
currency: h ? "USD" : "INR",
|
|
1279
|
+
question_asked: B ? !0 : void 0,
|
|
1280
|
+
question_text: B ? b.trim() : void 0,
|
|
1281
|
+
question_source: B ? A : void 0
|
|
1282
|
+
}), l(L, B ? b.trim() : void 0), s();
|
|
1262
1283
|
}
|
|
1263
1284
|
};
|
|
1264
1285
|
return n ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1265
|
-
/* @__PURE__ */ e.jsx("style", { children:
|
|
1286
|
+
/* @__PURE__ */ e.jsx("style", { children: zt }),
|
|
1266
1287
|
/* @__PURE__ */ e.jsx(
|
|
1267
1288
|
"div",
|
|
1268
1289
|
{
|
|
1269
1290
|
className: "fixed inset-0 z-[1000] bg-black/55 flex items-stretch justify-center",
|
|
1270
1291
|
role: "dialog",
|
|
1271
1292
|
"aria-modal": "true",
|
|
1272
|
-
"aria-label":
|
|
1293
|
+
"aria-label": r("planSheetTitle"),
|
|
1273
1294
|
children: /* @__PURE__ */ e.jsxs(
|
|
1274
1295
|
"div",
|
|
1275
1296
|
{
|
|
1276
|
-
ref:
|
|
1297
|
+
ref: N,
|
|
1277
1298
|
className: "pt-3 w-full max-w-[480px] h-[100dvh] max-h-[100dvh] bg-white flex flex-col overflow-hidden",
|
|
1278
1299
|
style: { animation: "three-sku-slide-up 0.28s cubic-bezier(0.32, 0.72, 0, 1)" },
|
|
1279
1300
|
children: [
|
|
1280
|
-
/* @__PURE__ */ e.jsx(
|
|
1281
|
-
/* @__PURE__ */ e.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pt-4 pb-4", ref:
|
|
1282
|
-
/* @__PURE__ */ e.jsx("h3", { className: "m-0 mb-3 text-[16px] font-bold leading-snug text-[#CF6C09]", children:
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1301
|
+
/* @__PURE__ */ e.jsx(Vt, { title: r("planSheetTitle"), onClose: d }),
|
|
1302
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pt-4 pb-4", ref: C, children: [
|
|
1303
|
+
/* @__PURE__ */ e.jsx("h3", { className: "m-0 mb-3 text-[16px] font-bold leading-snug text-[#CF6C09]", children: r(L?.title ?? "") }),
|
|
1304
|
+
L && /* @__PURE__ */ e.jsx(Zt, { plan: L, t: r }),
|
|
1305
|
+
B && /* @__PURE__ */ e.jsx("div", { ref: x, children: /* @__PURE__ */ e.jsx(
|
|
1306
|
+
ns,
|
|
1286
1307
|
{
|
|
1287
|
-
textareaRef:
|
|
1288
|
-
value:
|
|
1289
|
-
label:
|
|
1290
|
-
placeholder:
|
|
1291
|
-
chipKeys:
|
|
1292
|
-
t:
|
|
1293
|
-
onFocus: () =>
|
|
1294
|
-
onClick: () =>
|
|
1295
|
-
onChange:
|
|
1296
|
-
onChipClick:
|
|
1308
|
+
textareaRef: y,
|
|
1309
|
+
value: b,
|
|
1310
|
+
label: r("planQuestionLabel"),
|
|
1311
|
+
placeholder: r("planQuestionPlaceholder"),
|
|
1312
|
+
chipKeys: _e,
|
|
1313
|
+
t: r,
|
|
1314
|
+
onFocus: () => U("keyboard_focus"),
|
|
1315
|
+
onClick: () => U("tap"),
|
|
1316
|
+
onChange: Y,
|
|
1317
|
+
onChipClick: ee,
|
|
1318
|
+
onViewSample: _ ? () => {
|
|
1319
|
+
i?.trackOneQuestionViewSampleReportClicked?.(), P(!0);
|
|
1320
|
+
} : void 0
|
|
1297
1321
|
}
|
|
1298
1322
|
) }),
|
|
1299
|
-
|
|
1300
|
-
|
|
1323
|
+
L?.astrologers && L.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
|
|
1324
|
+
gs,
|
|
1301
1325
|
{
|
|
1302
|
-
astrologers:
|
|
1303
|
-
heading:
|
|
1304
|
-
t:
|
|
1326
|
+
astrologers: L.astrologers,
|
|
1327
|
+
heading: r("planAstrologerHeading"),
|
|
1328
|
+
t: r
|
|
1305
1329
|
}
|
|
1306
1330
|
)
|
|
1307
1331
|
] }),
|
|
@@ -1312,23 +1336,23 @@ const qt = 5e3, Ht = 84, Gt = `
|
|
|
1312
1336
|
style: { paddingBottom: "calc(14px + env(safe-area-inset-bottom))" },
|
|
1313
1337
|
children: [
|
|
1314
1338
|
/* @__PURE__ */ e.jsx(
|
|
1315
|
-
|
|
1339
|
+
xs,
|
|
1316
1340
|
{
|
|
1317
|
-
plans:
|
|
1318
|
-
selectedId:
|
|
1319
|
-
t:
|
|
1341
|
+
plans: m,
|
|
1342
|
+
selectedId: j,
|
|
1343
|
+
t: r,
|
|
1320
1344
|
analytics: i,
|
|
1321
1345
|
onSelectPlan: o
|
|
1322
1346
|
}
|
|
1323
1347
|
),
|
|
1324
1348
|
/* @__PURE__ */ e.jsx(
|
|
1325
|
-
|
|
1349
|
+
fs,
|
|
1326
1350
|
{
|
|
1327
|
-
canProceed:
|
|
1328
|
-
label:
|
|
1329
|
-
showDisabledHint:
|
|
1330
|
-
hintText:
|
|
1331
|
-
onClick:
|
|
1351
|
+
canProceed: T,
|
|
1352
|
+
label: r("planProceedToPayment"),
|
|
1353
|
+
showDisabledHint: z,
|
|
1354
|
+
hintText: r("planQuestionHint"),
|
|
1355
|
+
onClick: ue
|
|
1332
1356
|
}
|
|
1333
1357
|
)
|
|
1334
1358
|
]
|
|
@@ -1338,12 +1362,37 @@ const qt = 5e3, Ht = 84, Gt = `
|
|
|
1338
1362
|
}
|
|
1339
1363
|
)
|
|
1340
1364
|
}
|
|
1365
|
+
),
|
|
1366
|
+
_ && /* @__PURE__ */ e.jsx(
|
|
1367
|
+
Le,
|
|
1368
|
+
{
|
|
1369
|
+
isOpen: v,
|
|
1370
|
+
onClose: () => P(!1),
|
|
1371
|
+
title: "1 Question Sample Answer",
|
|
1372
|
+
pdfUrl: _
|
|
1373
|
+
}
|
|
1341
1374
|
)
|
|
1342
1375
|
] }) : null;
|
|
1343
|
-
},
|
|
1376
|
+
}, bs = ({
|
|
1377
|
+
kundliReportSampleHref: n,
|
|
1378
|
+
analytics: s,
|
|
1379
|
+
s: t
|
|
1380
|
+
}) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1381
|
+
/* @__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: t.sampleReportsTitle }),
|
|
1382
|
+
/* @__PURE__ */ e.jsx(
|
|
1383
|
+
de,
|
|
1384
|
+
{
|
|
1385
|
+
t: () => t.sampleLabelKundliReport.replace(`
|
|
1386
|
+
`, " "),
|
|
1387
|
+
pdfUrl: n,
|
|
1388
|
+
analytics: s,
|
|
1389
|
+
onClick: () => s?.trackKundliViewSampleImageClicked?.()
|
|
1390
|
+
}
|
|
1391
|
+
)
|
|
1392
|
+
] }), js = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", ys = "https://srm-cdn.a4b.io/yoda/1781248337750.pdf", be = {
|
|
1344
1393
|
en: {
|
|
1345
1394
|
sectionTitle: "Kundli Packages for you",
|
|
1346
|
-
sampleReportsTitle: "View Sample
|
|
1395
|
+
sampleReportsTitle: "View Sample Report",
|
|
1347
1396
|
onlyFor: "Only for",
|
|
1348
1397
|
uniqueFeatures: "Unique Features",
|
|
1349
1398
|
popularBadge: "Popular",
|
|
@@ -1396,231 +1445,145 @@ call`
|
|
|
1396
1445
|
ज्योतिषी कॉल`
|
|
1397
1446
|
]
|
|
1398
1447
|
}
|
|
1399
|
-
},
|
|
1400
|
-
|
|
1401
|
-
{
|
|
1402
|
-
width: "20",
|
|
1403
|
-
height: "20",
|
|
1404
|
-
viewBox: "0 0 24 24",
|
|
1405
|
-
fill: "none",
|
|
1406
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1407
|
-
"aria-hidden": !0,
|
|
1408
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1409
|
-
"path",
|
|
1410
|
-
{
|
|
1411
|
-
d: "M8 4L16 12L8 20",
|
|
1412
|
-
stroke: "white",
|
|
1413
|
-
strokeWidth: "4",
|
|
1414
|
-
strokeLinecap: "round",
|
|
1415
|
-
strokeLinejoin: "round"
|
|
1416
|
-
}
|
|
1417
|
-
)
|
|
1418
|
-
}
|
|
1419
|
-
), ja = ({
|
|
1420
|
-
kundliReportSampleHref: n,
|
|
1421
|
-
oneQuestionSampleHref: a,
|
|
1422
|
-
analytics: t,
|
|
1423
|
-
s: o
|
|
1424
|
-
}) => {
|
|
1425
|
-
const [s, l] = L(!1), [r, u] = L(!1);
|
|
1426
|
-
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1427
|
-
/* @__PURE__ */ e.jsx("h3", { className: "mb-3 text-center text-[18px] font-bold leading-[1.1] text-[#f75e22] max-[380px]:text-[16px]", children: o.sampleReportsTitle }),
|
|
1428
|
-
/* @__PURE__ */ e.jsxs("div", { className: "grid grid-cols-2 gap-[10px]", children: [
|
|
1429
|
-
/* @__PURE__ */ e.jsxs(
|
|
1430
|
-
"button",
|
|
1431
|
-
{
|
|
1432
|
-
type: "button",
|
|
1433
|
-
onClick: () => {
|
|
1434
|
-
t?.trackKundliViewSampleImageClicked?.(), l(!0);
|
|
1435
|
-
},
|
|
1436
|
-
className: "justify-center items-center relative rounded-xl bg-[linear-gradient(180deg,#f97316_0%,#ea580c_100%)] p-5 pr-10 text-center text-[14px] font-semibold text-white shadow-[0_6px_14px_rgba(234,88,12,0.2)]",
|
|
1437
|
-
children: [
|
|
1438
|
-
o.sampleLabelKundliReport.split(`
|
|
1439
|
-
`).map((i, m) => /* @__PURE__ */ e.jsx("span", { className: m > 0 ? "block" : void 0, children: i }, m)),
|
|
1440
|
-
/* @__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(fe, {}) })
|
|
1441
|
-
]
|
|
1442
|
-
}
|
|
1443
|
-
),
|
|
1444
|
-
/* @__PURE__ */ e.jsxs(
|
|
1445
|
-
"button",
|
|
1446
|
-
{
|
|
1447
|
-
type: "button",
|
|
1448
|
-
onClick: () => {
|
|
1449
|
-
t?.trackOneQuestionViewSampleReportClicked?.(), u(!0);
|
|
1450
|
-
},
|
|
1451
|
-
className: "justify-center items-center relative rounded-xl bg-[linear-gradient(180deg,#f97316_0%,#ea580c_100%)] p-5 pr-10 text-center text-[14px] font-semibold text-white shadow-[0_6px_14px_rgba(234,88,12,0.2)]",
|
|
1452
|
-
children: [
|
|
1453
|
-
o.sampleLabelOneQuestion.split(`
|
|
1454
|
-
`).map((i, m) => /* @__PURE__ */ e.jsx("span", { className: m > 0 ? "block" : void 0, children: i }, m)),
|
|
1455
|
-
/* @__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(fe, {}) })
|
|
1456
|
-
]
|
|
1457
|
-
}
|
|
1458
|
-
)
|
|
1459
|
-
] }),
|
|
1460
|
-
/* @__PURE__ */ e.jsx(
|
|
1461
|
-
le,
|
|
1462
|
-
{
|
|
1463
|
-
isOpen: s,
|
|
1464
|
-
onClose: () => {
|
|
1465
|
-
t?.trackKundliViewSampleImageClosed?.(), l(!1);
|
|
1466
|
-
},
|
|
1467
|
-
title: o.sampleLabelKundliReport.replace(`
|
|
1468
|
-
`, " "),
|
|
1469
|
-
pdfUrl: n
|
|
1470
|
-
}
|
|
1471
|
-
),
|
|
1472
|
-
/* @__PURE__ */ e.jsx(
|
|
1473
|
-
le,
|
|
1474
|
-
{
|
|
1475
|
-
isOpen: r,
|
|
1476
|
-
onClose: () => {
|
|
1477
|
-
t?.trackOneQuestionViewSampleReportClosed?.(), u(!1);
|
|
1478
|
-
},
|
|
1479
|
-
title: o.sampleLabelOneQuestion.replace(`
|
|
1480
|
-
`, " "),
|
|
1481
|
-
pdfUrl: a
|
|
1482
|
-
}
|
|
1483
|
-
)
|
|
1484
|
-
] });
|
|
1485
|
-
}, ya = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", wa = (n, a) => we[n]?.[a] ?? a, va = 112;
|
|
1486
|
-
function A({
|
|
1448
|
+
}, ws = (n) => be[n] ?? be.en, vs = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Cs = (n, s) => Ce[n]?.[s] ?? s, ks = 112;
|
|
1449
|
+
function D({
|
|
1487
1450
|
section: n,
|
|
1488
|
-
children:
|
|
1451
|
+
children: s,
|
|
1489
1452
|
onImpression: t
|
|
1490
1453
|
}) {
|
|
1491
|
-
const o =
|
|
1492
|
-
return
|
|
1454
|
+
const o = f(null), a = f(!1);
|
|
1455
|
+
return k(() => {
|
|
1493
1456
|
const l = o.current;
|
|
1494
1457
|
if (!l) return;
|
|
1495
|
-
const
|
|
1458
|
+
const c = new IntersectionObserver(
|
|
1496
1459
|
([u]) => {
|
|
1497
|
-
!u?.isIntersecting ||
|
|
1460
|
+
!u?.isIntersecting || a.current || (a.current = !0, t(n));
|
|
1498
1461
|
},
|
|
1499
1462
|
{
|
|
1500
1463
|
threshold: 0.1,
|
|
1501
1464
|
// Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
|
|
1502
|
-
rootMargin: `0px 0px -${
|
|
1465
|
+
rootMargin: `0px 0px -${ks}px 0px`
|
|
1503
1466
|
}
|
|
1504
1467
|
);
|
|
1505
|
-
return
|
|
1506
|
-
}, [n, t]), /* @__PURE__ */ e.jsx("div", { ref: o, children:
|
|
1468
|
+
return c.observe(l), () => c.disconnect();
|
|
1469
|
+
}, [n, t]), /* @__PURE__ */ e.jsx("div", { ref: o, children: s });
|
|
1507
1470
|
}
|
|
1508
|
-
function
|
|
1471
|
+
function Ns({
|
|
1509
1472
|
className: n,
|
|
1510
|
-
showInlineForm:
|
|
1473
|
+
showInlineForm: s = !1,
|
|
1511
1474
|
enableThreeSkuFlow: t = !1,
|
|
1512
|
-
kundliReportSampleHref: o =
|
|
1513
|
-
oneQuestionSampleHref:
|
|
1475
|
+
kundliReportSampleHref: o = js,
|
|
1476
|
+
oneQuestionSampleHref: a = ys
|
|
1514
1477
|
}) {
|
|
1515
|
-
const l =
|
|
1516
|
-
locale:
|
|
1478
|
+
const l = ye(), {
|
|
1479
|
+
locale: c,
|
|
1517
1480
|
setLocale: u,
|
|
1518
1481
|
config: i,
|
|
1519
|
-
formValues:
|
|
1520
|
-
setFormValues:
|
|
1521
|
-
} =
|
|
1522
|
-
|
|
1523
|
-
}, []),
|
|
1524
|
-
if (!
|
|
1525
|
-
const
|
|
1526
|
-
...
|
|
1527
|
-
_selectedPlan:
|
|
1482
|
+
formValues: h,
|
|
1483
|
+
setFormValues: _
|
|
1484
|
+
} = ce(), [r, m] = I(!1), [j, N] = I(null), C = f(null), x = f(void 0), p = f(null), b = f(!1), R = W((d) => {
|
|
1485
|
+
C.current = d, m(!0);
|
|
1486
|
+
}, []), v = W(() => {
|
|
1487
|
+
if (!C.current || !j) return;
|
|
1488
|
+
const d = {
|
|
1489
|
+
...C.current,
|
|
1490
|
+
_selectedPlan: j,
|
|
1528
1491
|
...x.current !== void 0 ? { _question: x.current } : {}
|
|
1529
1492
|
};
|
|
1530
|
-
x.current = void 0,
|
|
1531
|
-
}, [
|
|
1493
|
+
x.current = void 0, j.id === $e && i.onProceedGuidance ? i.onProceedGuidance(d) : i.onProceed?.(d), m(!1), C.current = null;
|
|
1494
|
+
}, [j, i.onProceed, i.onProceedGuidance]), [P, A] = I(!1), [q, H] = I(
|
|
1532
1495
|
i.isGlobal ?? !0 ? "+1" : "+91"
|
|
1533
|
-
),
|
|
1496
|
+
), J = f(null), z = f(null), Z = f(i.locale), V = f(
|
|
1534
1497
|
l?.locale
|
|
1535
1498
|
);
|
|
1536
|
-
|
|
1537
|
-
i.locale &&
|
|
1538
|
-
}, [i.locale, u]),
|
|
1499
|
+
k(() => {
|
|
1500
|
+
i.locale && Z.current !== i.locale && u(i.locale), Z.current = i.locale;
|
|
1501
|
+
}, [i.locale, u]), k(() => {
|
|
1539
1502
|
if (i.locale) return;
|
|
1540
|
-
const
|
|
1541
|
-
|
|
1542
|
-
}, [l?.locale, i.locale, u]),
|
|
1503
|
+
const d = l?.locale;
|
|
1504
|
+
d && V.current !== d && u(d), V.current = d;
|
|
1505
|
+
}, [l?.locale, i.locale, u]), k(() => {
|
|
1543
1506
|
H(i.isGlobal ?? !0 ? "+1" : "+91");
|
|
1544
|
-
}, [i.isGlobal]),
|
|
1545
|
-
if (!
|
|
1546
|
-
const
|
|
1547
|
-
|
|
1507
|
+
}, [i.isGlobal]), k(() => {
|
|
1508
|
+
if (!P) return;
|
|
1509
|
+
const d = (U) => {
|
|
1510
|
+
z.current && !z.current.contains(U.target) && A(!1);
|
|
1548
1511
|
};
|
|
1549
|
-
return document.addEventListener("mousedown",
|
|
1550
|
-
}, [
|
|
1512
|
+
return document.addEventListener("mousedown", d), () => document.removeEventListener("mousedown", d);
|
|
1513
|
+
}, [P]), k(() => {
|
|
1551
1514
|
if (!t) return;
|
|
1552
|
-
const
|
|
1553
|
-
if (!
|
|
1554
|
-
const
|
|
1555
|
-
([
|
|
1556
|
-
|
|
1515
|
+
const d = p.current;
|
|
1516
|
+
if (!d) return;
|
|
1517
|
+
const U = new IntersectionObserver(
|
|
1518
|
+
([Y]) => {
|
|
1519
|
+
b.current || !Y?.isIntersecting || (Y.intersectionRatio ?? 0) < 0.5 || (b.current = !0, i.analytics?.trackComparisonTableImpression?.());
|
|
1557
1520
|
},
|
|
1558
1521
|
{ threshold: 0.5 }
|
|
1559
1522
|
);
|
|
1560
|
-
return
|
|
1523
|
+
return U.observe(d), () => U.disconnect();
|
|
1561
1524
|
}, [t, i.analytics]);
|
|
1562
|
-
const
|
|
1525
|
+
const y = (d) => Cs(c, d), B = i.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: K.langDropdownWrap, ref: z, children: [
|
|
1563
1526
|
/* @__PURE__ */ e.jsxs(
|
|
1564
1527
|
"button",
|
|
1565
1528
|
{
|
|
1566
1529
|
type: "button",
|
|
1567
|
-
className:
|
|
1530
|
+
className: K.langTrigger,
|
|
1568
1531
|
onClick: () => {
|
|
1569
|
-
i.analytics?.trackLanguageClickedFe?.({ language:
|
|
1532
|
+
i.analytics?.trackLanguageClickedFe?.({ language: c }), A((d) => !d);
|
|
1570
1533
|
},
|
|
1571
|
-
"aria-expanded":
|
|
1534
|
+
"aria-expanded": P,
|
|
1572
1535
|
"aria-haspopup": "listbox",
|
|
1573
1536
|
id: "kundli-lang",
|
|
1574
|
-
"aria-label":
|
|
1537
|
+
"aria-label": y("language"),
|
|
1575
1538
|
children: [
|
|
1576
1539
|
/* @__PURE__ */ e.jsx(
|
|
1577
1540
|
"img",
|
|
1578
1541
|
{
|
|
1579
|
-
src:
|
|
1542
|
+
src: vs,
|
|
1580
1543
|
alt: "",
|
|
1581
|
-
className:
|
|
1544
|
+
className: K.langIcon,
|
|
1582
1545
|
width: 16,
|
|
1583
1546
|
height: 16,
|
|
1584
1547
|
"aria-hidden": !0
|
|
1585
1548
|
}
|
|
1586
1549
|
),
|
|
1587
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1550
|
+
/* @__PURE__ */ e.jsx("span", { className: K.langLabel, children: oe[c] })
|
|
1588
1551
|
]
|
|
1589
1552
|
}
|
|
1590
1553
|
),
|
|
1591
|
-
|
|
1554
|
+
P && /* @__PURE__ */ e.jsx(
|
|
1592
1555
|
"ul",
|
|
1593
1556
|
{
|
|
1594
|
-
className:
|
|
1557
|
+
className: K.langMenu,
|
|
1595
1558
|
role: "listbox",
|
|
1596
1559
|
"aria-labelledby": "kundli-lang",
|
|
1597
|
-
"aria-activedescendant": `kundli-lang-option-${
|
|
1598
|
-
children:
|
|
1560
|
+
"aria-activedescendant": `kundli-lang-option-${c}`,
|
|
1561
|
+
children: we.map((d) => /* @__PURE__ */ e.jsx(
|
|
1599
1562
|
"li",
|
|
1600
1563
|
{
|
|
1601
|
-
id: `kundli-lang-option-${
|
|
1564
|
+
id: `kundli-lang-option-${d}`,
|
|
1602
1565
|
role: "option",
|
|
1603
|
-
"aria-selected":
|
|
1604
|
-
className:
|
|
1566
|
+
"aria-selected": d === c,
|
|
1567
|
+
className: K.langOption,
|
|
1605
1568
|
onClick: () => {
|
|
1606
|
-
i.analytics?.trackLanguageChangedFe?.({ newLanguage:
|
|
1569
|
+
i.analytics?.trackLanguageChangedFe?.({ newLanguage: d }), u(d), A(!1);
|
|
1607
1570
|
},
|
|
1608
|
-
children:
|
|
1571
|
+
children: oe[d]
|
|
1609
1572
|
},
|
|
1610
|
-
|
|
1573
|
+
d
|
|
1611
1574
|
))
|
|
1612
1575
|
}
|
|
1613
1576
|
)
|
|
1614
|
-
] }) : null, T =
|
|
1615
|
-
(
|
|
1577
|
+
] }) : null, T = W(
|
|
1578
|
+
(d) => {
|
|
1616
1579
|
i.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
1617
|
-
section:
|
|
1580
|
+
section: d,
|
|
1618
1581
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
1619
1582
|
});
|
|
1620
1583
|
},
|
|
1621
1584
|
[i.analytics]
|
|
1622
|
-
), ie =
|
|
1623
|
-
const
|
|
1585
|
+
), ie = W((d) => {
|
|
1586
|
+
const Y = {
|
|
1624
1587
|
fullName: "kundli-full-name",
|
|
1625
1588
|
phone: "kundli-phone",
|
|
1626
1589
|
email: "kundli-email",
|
|
@@ -1629,42 +1592,42 @@ function Ca({
|
|
|
1629
1592
|
birthPlace: "kundli-birth-place",
|
|
1630
1593
|
gender: "kundli-gender-male",
|
|
1631
1594
|
language_code: "kundli-report-lang-hi"
|
|
1632
|
-
}[
|
|
1633
|
-
if (
|
|
1634
|
-
const
|
|
1595
|
+
}[d] ?? "kundli-full-name", ee = document.getElementById(Y);
|
|
1596
|
+
if (ee) {
|
|
1597
|
+
const g = ee.getBoundingClientRect().top + window.scrollY - 120;
|
|
1635
1598
|
window.scrollTo({
|
|
1636
|
-
top:
|
|
1599
|
+
top: g,
|
|
1637
1600
|
behavior: "smooth"
|
|
1638
|
-
}), setTimeout(() =>
|
|
1601
|
+
}), setTimeout(() => ee.focus(), 500);
|
|
1639
1602
|
}
|
|
1640
1603
|
}, []);
|
|
1641
|
-
return /* @__PURE__ */ e.jsxs("div", { className: `${
|
|
1604
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${K.container} ${n}`, children: [
|
|
1642
1605
|
/* @__PURE__ */ e.jsx(
|
|
1643
|
-
|
|
1606
|
+
ve,
|
|
1644
1607
|
{
|
|
1645
|
-
t:
|
|
1608
|
+
t: y,
|
|
1646
1609
|
logoUrl: i.logoUrl,
|
|
1647
|
-
languageSelector:
|
|
1610
|
+
languageSelector: B
|
|
1648
1611
|
}
|
|
1649
1612
|
),
|
|
1650
|
-
/* @__PURE__ */ e.jsxs("main", { className:
|
|
1613
|
+
/* @__PURE__ */ e.jsxs("main", { className: K.main, children: [
|
|
1651
1614
|
/* @__PURE__ */ e.jsx(
|
|
1652
|
-
|
|
1615
|
+
D,
|
|
1653
1616
|
{
|
|
1654
1617
|
section: "hero",
|
|
1655
1618
|
onImpression: T,
|
|
1656
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1619
|
+
children: /* @__PURE__ */ e.jsx(ke, { t: y })
|
|
1657
1620
|
}
|
|
1658
1621
|
),
|
|
1659
1622
|
/* @__PURE__ */ e.jsx(
|
|
1660
|
-
|
|
1623
|
+
D,
|
|
1661
1624
|
{
|
|
1662
1625
|
section: "premium_report_overview",
|
|
1663
1626
|
onImpression: T,
|
|
1664
1627
|
children: /* @__PURE__ */ e.jsx(
|
|
1665
|
-
|
|
1628
|
+
Ne,
|
|
1666
1629
|
{
|
|
1667
|
-
t:
|
|
1630
|
+
t: y,
|
|
1668
1631
|
reportImageUrl: i.reportImageUrl,
|
|
1669
1632
|
analytics: i.analytics
|
|
1670
1633
|
}
|
|
@@ -1672,44 +1635,43 @@ function Ca({
|
|
|
1672
1635
|
}
|
|
1673
1636
|
),
|
|
1674
1637
|
/* @__PURE__ */ e.jsx(
|
|
1675
|
-
|
|
1638
|
+
D,
|
|
1676
1639
|
{
|
|
1677
1640
|
section: "university_certification",
|
|
1678
1641
|
onImpression: T,
|
|
1679
1642
|
children: /* @__PURE__ */ e.jsx(
|
|
1680
|
-
|
|
1643
|
+
Pe,
|
|
1681
1644
|
{
|
|
1682
|
-
t:
|
|
1683
|
-
logoUrl: i.universityLogoUrls?.find((
|
|
1645
|
+
t: y,
|
|
1646
|
+
logoUrl: i.universityLogoUrls?.find((d) => !!d)
|
|
1684
1647
|
}
|
|
1685
1648
|
)
|
|
1686
1649
|
}
|
|
1687
1650
|
),
|
|
1688
1651
|
/* @__PURE__ */ e.jsx(
|
|
1689
|
-
|
|
1652
|
+
D,
|
|
1690
1653
|
{
|
|
1691
1654
|
section: "three_steps_process",
|
|
1692
1655
|
onImpression: T,
|
|
1693
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1656
|
+
children: /* @__PURE__ */ e.jsx(Ie, { t: y, locale: c, isGlobal: i.isGlobal })
|
|
1694
1657
|
}
|
|
1695
1658
|
),
|
|
1696
1659
|
/* @__PURE__ */ e.jsx(
|
|
1697
|
-
|
|
1660
|
+
D,
|
|
1698
1661
|
{
|
|
1699
1662
|
section: "view_sample_report",
|
|
1700
1663
|
onImpression: T,
|
|
1701
1664
|
children: t ? /* @__PURE__ */ e.jsx("section", { className: "bg-white px-3", children: /* @__PURE__ */ e.jsx(
|
|
1702
|
-
|
|
1665
|
+
bs,
|
|
1703
1666
|
{
|
|
1704
1667
|
kundliReportSampleHref: o,
|
|
1705
|
-
oneQuestionSampleHref: s,
|
|
1706
1668
|
analytics: i.analytics,
|
|
1707
|
-
s:
|
|
1669
|
+
s: ws(c)
|
|
1708
1670
|
}
|
|
1709
1671
|
) }) : /* @__PURE__ */ e.jsx(
|
|
1710
|
-
|
|
1672
|
+
de,
|
|
1711
1673
|
{
|
|
1712
|
-
t:
|
|
1674
|
+
t: y,
|
|
1713
1675
|
pdfUrl: i.sampleReportHref,
|
|
1714
1676
|
onClick: i.onViewSampleReport,
|
|
1715
1677
|
analytics: i.analytics
|
|
@@ -1717,19 +1679,19 @@ function Ca({
|
|
|
1717
1679
|
)
|
|
1718
1680
|
}
|
|
1719
1681
|
),
|
|
1720
|
-
|
|
1721
|
-
|
|
1682
|
+
s && /* @__PURE__ */ e.jsx(
|
|
1683
|
+
D,
|
|
1722
1684
|
{
|
|
1723
1685
|
section: "inline_form",
|
|
1724
1686
|
onImpression: T,
|
|
1725
|
-
children: /* @__PURE__ */ e.jsxs("div", { className:
|
|
1726
|
-
/* @__PURE__ */ e.jsx(
|
|
1687
|
+
children: /* @__PURE__ */ e.jsxs("div", { className: K.inlineFormWrap, ref: J, children: [
|
|
1688
|
+
/* @__PURE__ */ e.jsx(Oe, { t: y, align: "center" }),
|
|
1727
1689
|
/* @__PURE__ */ e.jsx(
|
|
1728
|
-
|
|
1690
|
+
Me,
|
|
1729
1691
|
{
|
|
1730
|
-
t:
|
|
1731
|
-
values:
|
|
1732
|
-
onChange:
|
|
1692
|
+
t: y,
|
|
1693
|
+
values: h,
|
|
1694
|
+
onChange: _,
|
|
1733
1695
|
phoneIsdCode: q,
|
|
1734
1696
|
onPhoneIsdCodeChange: H,
|
|
1735
1697
|
showV1ExtraFields: !0,
|
|
@@ -1737,10 +1699,10 @@ function Ca({
|
|
|
1737
1699
|
}
|
|
1738
1700
|
),
|
|
1739
1701
|
/* @__PURE__ */ e.jsx(
|
|
1740
|
-
|
|
1702
|
+
Ke,
|
|
1741
1703
|
{
|
|
1742
|
-
t:
|
|
1743
|
-
values:
|
|
1704
|
+
t: y,
|
|
1705
|
+
values: h,
|
|
1744
1706
|
phoneIsdCode: q,
|
|
1745
1707
|
hideOriginalPrice: !0,
|
|
1746
1708
|
requireV1ExtraFields: !0,
|
|
@@ -1750,42 +1712,42 @@ function Ca({
|
|
|
1750
1712
|
originalPriceLabel: i.originalPriceLabel,
|
|
1751
1713
|
discountedPriceLabel: i.discountedPriceLabel,
|
|
1752
1714
|
analytics: i.analytics,
|
|
1753
|
-
className:
|
|
1715
|
+
className: K.inlineProceedFooter,
|
|
1754
1716
|
onProceedGuidance: i.onProceedGuidance,
|
|
1755
|
-
showPlanSheet:
|
|
1756
|
-
confirmPlan:
|
|
1757
|
-
planSheetOpen:
|
|
1758
|
-
selectedPlan:
|
|
1717
|
+
showPlanSheet: R,
|
|
1718
|
+
confirmPlan: v,
|
|
1719
|
+
planSheetOpen: r,
|
|
1720
|
+
selectedPlan: j
|
|
1759
1721
|
}
|
|
1760
1722
|
)
|
|
1761
1723
|
] })
|
|
1762
1724
|
}
|
|
1763
1725
|
),
|
|
1764
1726
|
/* @__PURE__ */ e.jsx(
|
|
1765
|
-
|
|
1727
|
+
D,
|
|
1766
1728
|
{
|
|
1767
1729
|
section: "what_youll_find",
|
|
1768
1730
|
onImpression: T,
|
|
1769
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1731
|
+
children: /* @__PURE__ */ e.jsx(Te, { t: y })
|
|
1770
1732
|
}
|
|
1771
1733
|
),
|
|
1772
1734
|
/* @__PURE__ */ e.jsx(
|
|
1773
|
-
|
|
1735
|
+
D,
|
|
1774
1736
|
{
|
|
1775
1737
|
section: "why_us",
|
|
1776
1738
|
onImpression: T,
|
|
1777
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1739
|
+
children: /* @__PURE__ */ e.jsx(Fe, { t: y })
|
|
1778
1740
|
}
|
|
1779
1741
|
),
|
|
1780
1742
|
/* @__PURE__ */ e.jsx(
|
|
1781
|
-
|
|
1743
|
+
D,
|
|
1782
1744
|
{
|
|
1783
1745
|
section: "feedback",
|
|
1784
1746
|
onImpression: T,
|
|
1785
1747
|
children: /* @__PURE__ */ e.jsx(
|
|
1786
1748
|
Re,
|
|
1787
1749
|
{
|
|
1788
|
-
t:
|
|
1750
|
+
t: y,
|
|
1789
1751
|
readMoreHref: i.readMoreReviewsHref,
|
|
1790
1752
|
onReadMore: i.analytics?.trackReadMoreReviewsClicked ? () => i.analytics.trackReadMoreReviewsClicked() : void 0
|
|
1791
1753
|
}
|
|
@@ -1793,126 +1755,127 @@ function Ca({
|
|
|
1793
1755
|
}
|
|
1794
1756
|
),
|
|
1795
1757
|
/* @__PURE__ */ e.jsx(
|
|
1796
|
-
|
|
1758
|
+
D,
|
|
1797
1759
|
{
|
|
1798
1760
|
section: "faq",
|
|
1799
1761
|
onImpression: T,
|
|
1800
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1762
|
+
children: /* @__PURE__ */ e.jsx(Se, { t: y })
|
|
1801
1763
|
}
|
|
1802
1764
|
),
|
|
1803
1765
|
/* @__PURE__ */ e.jsx(
|
|
1804
|
-
|
|
1766
|
+
D,
|
|
1805
1767
|
{
|
|
1806
1768
|
section: "contact_us",
|
|
1807
1769
|
onImpression: T,
|
|
1808
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1770
|
+
children: /* @__PURE__ */ e.jsx(Ee, { t: y })
|
|
1809
1771
|
}
|
|
1810
1772
|
)
|
|
1811
1773
|
] }),
|
|
1812
1774
|
t ? /* @__PURE__ */ e.jsx(
|
|
1813
|
-
|
|
1775
|
+
_s,
|
|
1814
1776
|
{
|
|
1815
|
-
isOpen:
|
|
1816
|
-
onClose: () =>
|
|
1817
|
-
selectedPlan:
|
|
1818
|
-
onSelectPlan: (
|
|
1777
|
+
isOpen: r,
|
|
1778
|
+
onClose: () => m(!1),
|
|
1779
|
+
selectedPlan: j,
|
|
1780
|
+
onSelectPlan: (d) => N(d),
|
|
1819
1781
|
isGlobal: i.isGlobal,
|
|
1820
|
-
locale:
|
|
1821
|
-
onProceed: (
|
|
1822
|
-
x.current =
|
|
1782
|
+
locale: c,
|
|
1783
|
+
onProceed: (d, U) => {
|
|
1784
|
+
x.current = U, v();
|
|
1823
1785
|
},
|
|
1824
|
-
t:
|
|
1825
|
-
analytics: i.analytics
|
|
1786
|
+
t: y,
|
|
1787
|
+
analytics: i.analytics,
|
|
1788
|
+
oneQuestionSampleHref: a
|
|
1826
1789
|
}
|
|
1827
1790
|
) : /* @__PURE__ */ e.jsx(
|
|
1828
|
-
|
|
1791
|
+
Be,
|
|
1829
1792
|
{
|
|
1830
|
-
isOpen:
|
|
1831
|
-
onClose: () =>
|
|
1832
|
-
selectedPlan:
|
|
1833
|
-
onSelectPlan: (
|
|
1793
|
+
isOpen: r,
|
|
1794
|
+
onClose: () => m(!1),
|
|
1795
|
+
selectedPlan: j,
|
|
1796
|
+
onSelectPlan: (d) => N(d),
|
|
1834
1797
|
onProceed: () => {
|
|
1835
|
-
|
|
1798
|
+
v();
|
|
1836
1799
|
},
|
|
1837
|
-
t:
|
|
1800
|
+
t: y,
|
|
1838
1801
|
analytics: i.analytics
|
|
1839
1802
|
}
|
|
1840
1803
|
)
|
|
1841
1804
|
] });
|
|
1842
1805
|
}
|
|
1843
|
-
const
|
|
1806
|
+
const Ps = ({
|
|
1844
1807
|
className: n = "",
|
|
1845
|
-
locale:
|
|
1808
|
+
locale: s,
|
|
1846
1809
|
showLanguageSelector: t = !0,
|
|
1847
1810
|
showSheet: o,
|
|
1848
|
-
userId:
|
|
1811
|
+
userId: a,
|
|
1849
1812
|
isGlobal: l,
|
|
1850
|
-
atlasSearchLocalities:
|
|
1813
|
+
atlasSearchLocalities: c,
|
|
1851
1814
|
enableThreeSkuFlow: u = !1,
|
|
1852
1815
|
kundliReportSampleHref: i,
|
|
1853
|
-
oneQuestionSampleHref:
|
|
1854
|
-
logoUrl:
|
|
1855
|
-
reportImageUrl:
|
|
1856
|
-
universityLogoUrls:
|
|
1857
|
-
sampleReportHref:
|
|
1816
|
+
oneQuestionSampleHref: h,
|
|
1817
|
+
logoUrl: _,
|
|
1818
|
+
reportImageUrl: r,
|
|
1819
|
+
universityLogoUrls: m,
|
|
1820
|
+
sampleReportHref: j,
|
|
1858
1821
|
onViewSampleReport: N,
|
|
1859
|
-
ctaHref:
|
|
1822
|
+
ctaHref: C,
|
|
1860
1823
|
onCtaClick: x,
|
|
1861
|
-
readMoreReviewsHref:
|
|
1862
|
-
onProceed:
|
|
1863
|
-
proceedHref:
|
|
1864
|
-
originalPriceLabel:
|
|
1865
|
-
discountedPriceLabel:
|
|
1866
|
-
discountPillLabel:
|
|
1824
|
+
readMoreReviewsHref: p,
|
|
1825
|
+
onProceed: b,
|
|
1826
|
+
proceedHref: R,
|
|
1827
|
+
originalPriceLabel: v,
|
|
1828
|
+
discountedPriceLabel: P,
|
|
1829
|
+
discountPillLabel: A,
|
|
1867
1830
|
analytics: q,
|
|
1868
1831
|
onProceedGuidance: H,
|
|
1869
|
-
onLocaleChange:
|
|
1832
|
+
onLocaleChange: J
|
|
1870
1833
|
}) => /* @__PURE__ */ e.jsx(
|
|
1871
|
-
|
|
1834
|
+
je,
|
|
1872
1835
|
{
|
|
1873
|
-
locale:
|
|
1836
|
+
locale: s,
|
|
1874
1837
|
showLanguageSelector: t,
|
|
1875
1838
|
showSheet: o,
|
|
1876
|
-
userId:
|
|
1839
|
+
userId: a,
|
|
1877
1840
|
isGlobal: l,
|
|
1878
1841
|
variant: "v1",
|
|
1879
|
-
atlasSearchLocalities:
|
|
1880
|
-
logoUrl:
|
|
1881
|
-
reportImageUrl:
|
|
1882
|
-
universityLogoUrls:
|
|
1883
|
-
sampleReportHref:
|
|
1842
|
+
atlasSearchLocalities: c,
|
|
1843
|
+
logoUrl: _,
|
|
1844
|
+
reportImageUrl: r,
|
|
1845
|
+
universityLogoUrls: m,
|
|
1846
|
+
sampleReportHref: j,
|
|
1884
1847
|
onViewSampleReport: N,
|
|
1885
|
-
ctaHref:
|
|
1848
|
+
ctaHref: C,
|
|
1886
1849
|
onCtaClick: x,
|
|
1887
|
-
readMoreReviewsHref:
|
|
1888
|
-
onProceed:
|
|
1850
|
+
readMoreReviewsHref: p,
|
|
1851
|
+
onProceed: b,
|
|
1889
1852
|
onProceedGuidance: H,
|
|
1890
|
-
proceedHref:
|
|
1891
|
-
originalPriceLabel:
|
|
1892
|
-
discountedPriceLabel:
|
|
1893
|
-
discountPillLabel:
|
|
1853
|
+
proceedHref: R,
|
|
1854
|
+
originalPriceLabel: v,
|
|
1855
|
+
discountedPriceLabel: P,
|
|
1856
|
+
discountPillLabel: A,
|
|
1894
1857
|
analytics: q,
|
|
1895
|
-
onLocaleChange:
|
|
1858
|
+
onLocaleChange: J,
|
|
1896
1859
|
children: /* @__PURE__ */ e.jsx(
|
|
1897
|
-
|
|
1860
|
+
Ns,
|
|
1898
1861
|
{
|
|
1899
1862
|
className: n,
|
|
1900
1863
|
showInlineForm: !0,
|
|
1901
1864
|
enableThreeSkuFlow: u,
|
|
1902
1865
|
kundliReportSampleHref: i,
|
|
1903
|
-
oneQuestionSampleHref:
|
|
1866
|
+
oneQuestionSampleHref: h
|
|
1904
1867
|
}
|
|
1905
1868
|
)
|
|
1906
1869
|
}
|
|
1907
|
-
),
|
|
1870
|
+
), Fs = ({ variant: n, ...s }) => {
|
|
1908
1871
|
const t = typeof window < "u" ? new URLSearchParams(window.location.search).get("variant") : null;
|
|
1909
|
-
return (n ?? (t === "v1" ? "v1" : void 0)) === "v1" ? /* @__PURE__ */ e.jsx(
|
|
1910
|
-
},
|
|
1872
|
+
return (n ?? (t === "v1" ? "v1" : void 0)) === "v1" ? /* @__PURE__ */ e.jsx(Ps, { ...s }) : /* @__PURE__ */ e.jsx(Et, { ...s });
|
|
1873
|
+
}, Rs = "[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}";
|
|
1911
1874
|
export {
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1875
|
+
Rs as K,
|
|
1876
|
+
kn as P,
|
|
1877
|
+
Fs as a,
|
|
1878
|
+
Et as b,
|
|
1879
|
+
Ps as c
|
|
1917
1880
|
};
|
|
1918
|
-
//# sourceMappingURL=criticalCss-
|
|
1881
|
+
//# sourceMappingURL=criticalCss-66i_WtMP.js.map
|