@srimandir/kundli-matching-generator 6.6.8 → 7.0.1
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/{criticalCss-muYZZvnD.js → criticalCss-C2t1JWCr.js} +456 -452
- package/dist/criticalCss-C2t1JWCr.js.map +1 -0
- package/dist/kundli-matching-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-muYZZvnD.js.map +0 -1
|
@@ -1,38 +1,39 @@
|
|
|
1
1
|
import { j as e, u as re, D as ne, b as ie, c as ce, I as q, L as Y, S as oe, a as le, t as de } from "./image-L58ynFKN.js";
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { PageHeader as
|
|
4
|
-
|
|
2
|
+
import { useRef as b, useState as B, useEffect as v, useMemo as me, useCallback as z } from "react";
|
|
3
|
+
import { PageHeader as he, FAQAccordion as pe, FooterShell as _e, CircularMarquee as ue, FooterCTAButton as ge, footerShellStyles as M } from "@srimandir/astrology-common";
|
|
4
|
+
import { createPortal as xe } from "react-dom";
|
|
5
|
+
const fe = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", je = ({
|
|
5
6
|
t: s,
|
|
6
7
|
languageSelector: r,
|
|
7
|
-
logoUrl: n =
|
|
8
|
+
logoUrl: n = fe,
|
|
8
9
|
className: t = "",
|
|
9
10
|
isGlobal: i = !0,
|
|
10
|
-
imageComponent:
|
|
11
|
+
imageComponent: m
|
|
11
12
|
}) => {
|
|
12
13
|
const d = r != null && !i;
|
|
13
14
|
return /* @__PURE__ */ e.jsx(
|
|
14
|
-
|
|
15
|
+
he,
|
|
15
16
|
{
|
|
16
17
|
t: s,
|
|
17
18
|
logoUrl: n,
|
|
18
|
-
imageComponent:
|
|
19
|
+
imageComponent: m,
|
|
19
20
|
languageSelector: r,
|
|
20
21
|
showLanguageSelector: d,
|
|
21
22
|
className: t
|
|
22
23
|
}
|
|
23
24
|
);
|
|
24
|
-
},
|
|
25
|
-
hero:
|
|
26
|
-
title:
|
|
27
|
-
subtitle:
|
|
28
|
-
badges:
|
|
29
|
-
badge:
|
|
30
|
-
separator:
|
|
31
|
-
badgeIcon:
|
|
32
|
-
heroImageWrapper:
|
|
33
|
-
circularBg:
|
|
34
|
-
heroImage:
|
|
35
|
-
},
|
|
25
|
+
}, Ne = "_hero_m5psy_1", be = "_title_m5psy_6", ve = "_subtitle_m5psy_20", ye = "_badges_m5psy_32", Ie = "_badge_m5psy_32", we = "_separator_m5psy_50", ke = "_badgeIcon_m5psy_61", Ce = "_heroImageWrapper_m5psy_65", Te = "_circularBg_m5psy_75", Pe = "_heroImage_m5psy_65", w = {
|
|
26
|
+
hero: Ne,
|
|
27
|
+
title: be,
|
|
28
|
+
subtitle: ve,
|
|
29
|
+
badges: ye,
|
|
30
|
+
badge: Ie,
|
|
31
|
+
separator: we,
|
|
32
|
+
badgeIcon: ke,
|
|
33
|
+
heroImageWrapper: Ce,
|
|
34
|
+
circularBg: Te,
|
|
35
|
+
heroImage: Pe
|
|
36
|
+
}, Le = "https://srm-cdn.a4b.io/yoda/1774510977826.svg", Be = "https://srm-cdn.a4b.io/yoda/1774510988512.svg", Se = "https://srm-cdn.a4b.io/yoda/1774510999104.svg", Re = "https://srm-cdn.a4b.io/yoda/1774511140028.png", De = "https://srm-cdn.a4b.io/yoda/1774511296258.webp", $e = ({
|
|
36
37
|
t: s,
|
|
37
38
|
className: r = "",
|
|
38
39
|
heroImagePriority: n = !0
|
|
@@ -43,17 +44,17 @@ const xe = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", be = ({
|
|
|
43
44
|
/* @__PURE__ */ e.jsx("p", { className: w.subtitle, dangerouslySetInnerHTML: { __html: s("heroSubtitle") } }),
|
|
44
45
|
/* @__PURE__ */ e.jsxs("div", { className: w.badges, children: [
|
|
45
46
|
/* @__PURE__ */ e.jsxs("div", { className: w.badge, children: [
|
|
46
|
-
/* @__PURE__ */ e.jsx(i, { src:
|
|
47
|
+
/* @__PURE__ */ e.jsx(i, { src: Le, alt: "", className: w.badgeIcon, width: 24, height: 24, loading: "eager" }),
|
|
47
48
|
/* @__PURE__ */ e.jsx("span", { children: s("badge1") })
|
|
48
49
|
] }),
|
|
49
50
|
/* @__PURE__ */ e.jsx("div", { className: w.separator, children: "|" }),
|
|
50
51
|
/* @__PURE__ */ e.jsxs("div", { className: w.badge, children: [
|
|
51
|
-
/* @__PURE__ */ e.jsx(i, { src:
|
|
52
|
+
/* @__PURE__ */ e.jsx(i, { src: Be, alt: "", className: w.badgeIcon, width: 24, height: 24, loading: "eager" }),
|
|
52
53
|
/* @__PURE__ */ e.jsx("span", { children: s("badge2") })
|
|
53
54
|
] }),
|
|
54
55
|
/* @__PURE__ */ e.jsx("div", { className: w.separator, children: "|" }),
|
|
55
56
|
/* @__PURE__ */ e.jsxs("div", { className: w.badge, children: [
|
|
56
|
-
/* @__PURE__ */ e.jsx(i, { src:
|
|
57
|
+
/* @__PURE__ */ e.jsx(i, { src: Se, alt: "", className: w.badgeIcon, width: 24, height: 24, loading: "eager" }),
|
|
57
58
|
/* @__PURE__ */ e.jsx("span", { children: s("badge3") })
|
|
58
59
|
] })
|
|
59
60
|
] }),
|
|
@@ -61,7 +62,7 @@ const xe = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", be = ({
|
|
|
61
62
|
/* @__PURE__ */ e.jsx(
|
|
62
63
|
i,
|
|
63
64
|
{
|
|
64
|
-
src:
|
|
65
|
+
src: Re,
|
|
65
66
|
alt: "",
|
|
66
67
|
className: w.circularBg,
|
|
67
68
|
"aria-hidden": "true",
|
|
@@ -73,7 +74,7 @@ const xe = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", be = ({
|
|
|
73
74
|
/* @__PURE__ */ e.jsx(
|
|
74
75
|
i,
|
|
75
76
|
{
|
|
76
|
-
src:
|
|
77
|
+
src: De,
|
|
77
78
|
alt: s("heroImageAlt"),
|
|
78
79
|
className: w.heroImage,
|
|
79
80
|
priority: n,
|
|
@@ -85,14 +86,14 @@ const xe = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", be = ({
|
|
|
85
86
|
)
|
|
86
87
|
] })
|
|
87
88
|
] });
|
|
88
|
-
},
|
|
89
|
-
features:
|
|
90
|
-
heading:
|
|
91
|
-
cardsWrapper:
|
|
92
|
-
card:
|
|
93
|
-
cardTitle:
|
|
94
|
-
cardDescription:
|
|
95
|
-
},
|
|
89
|
+
}, Ae = "_features_7holm_1", Oe = "_heading_7holm_6", Ee = "_cardsWrapper_7holm_18", Me = "_card_7holm_18", We = "_cardTitle_7holm_45", Ue = "_cardDescription_7holm_58", A = {
|
|
90
|
+
features: Ae,
|
|
91
|
+
heading: Oe,
|
|
92
|
+
cardsWrapper: Ee,
|
|
93
|
+
card: Me,
|
|
94
|
+
cardTitle: We,
|
|
95
|
+
cardDescription: Ue
|
|
96
|
+
}, Fe = ({ t: s, className: r = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${A.features} ${r}`, children: [
|
|
96
97
|
/* @__PURE__ */ e.jsx("h2", { className: A.heading, children: s("featuresHeading") }),
|
|
97
98
|
/* @__PURE__ */ e.jsxs("div", { className: A.cardsWrapper, children: [
|
|
98
99
|
/* @__PURE__ */ e.jsxs("div", { className: A.card, children: [
|
|
@@ -104,23 +105,23 @@ const xe = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", be = ({
|
|
|
104
105
|
/* @__PURE__ */ e.jsx("p", { className: A.cardDescription, children: s("feature2Description") })
|
|
105
106
|
] })
|
|
106
107
|
] })
|
|
107
|
-
] }),
|
|
108
|
-
section:
|
|
108
|
+
] }), He = "_section_e1rdc_1", Ke = "_heading_e1rdc_6", Ve = "_subtitle_e1rdc_11", Ge = "_stepsWrapper_e1rdc_15", qe = "_stepRow_e1rdc_19", Ye = "_iconColumn_e1rdc_26", ze = "_stepIcon_e1rdc_31", Qe = "_connector_e1rdc_36", Je = "_contentColumn_e1rdc_43", Xe = "_stepTitle_e1rdc_47", Ze = "_stepDescription_e1rdc_53", C = {
|
|
109
|
+
section: He,
|
|
109
110
|
heading: Ke,
|
|
110
|
-
subtitle:
|
|
111
|
-
stepsWrapper:
|
|
112
|
-
stepRow:
|
|
113
|
-
iconColumn:
|
|
114
|
-
stepIcon:
|
|
115
|
-
connector:
|
|
116
|
-
contentColumn:
|
|
117
|
-
stepTitle:
|
|
118
|
-
stepDescription:
|
|
119
|
-
},
|
|
111
|
+
subtitle: Ve,
|
|
112
|
+
stepsWrapper: Ge,
|
|
113
|
+
stepRow: qe,
|
|
114
|
+
iconColumn: Ye,
|
|
115
|
+
stepIcon: ze,
|
|
116
|
+
connector: Qe,
|
|
117
|
+
contentColumn: Je,
|
|
118
|
+
stepTitle: Xe,
|
|
119
|
+
stepDescription: Ze
|
|
120
|
+
}, es = {
|
|
120
121
|
step1: "https://srm-cdn.a4b.io/yoda/1774547132475.svg",
|
|
121
122
|
step2: "https://srm-cdn.a4b.io/yoda/1774547166950.svg",
|
|
122
123
|
step3: "https://srm-cdn.a4b.io/yoda/1774547202216.svg"
|
|
123
|
-
},
|
|
124
|
+
}, ss = ({
|
|
124
125
|
t: s,
|
|
125
126
|
className: r = ""
|
|
126
127
|
}) => {
|
|
@@ -142,7 +143,7 @@ const xe = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", be = ({
|
|
|
142
143
|
/* @__PURE__ */ e.jsx(
|
|
143
144
|
"img",
|
|
144
145
|
{
|
|
145
|
-
src:
|
|
146
|
+
src: es[t.iconKey],
|
|
146
147
|
alt: "",
|
|
147
148
|
className: C.stepIcon,
|
|
148
149
|
width: 24,
|
|
@@ -159,78 +160,78 @@ const xe = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", be = ({
|
|
|
159
160
|
]
|
|
160
161
|
}
|
|
161
162
|
);
|
|
162
|
-
},
|
|
163
|
-
sneakPeek:
|
|
164
|
-
badge:
|
|
165
|
-
starIcon:
|
|
166
|
-
heading:
|
|
167
|
-
subheading:
|
|
168
|
-
carouselWrapper:
|
|
169
|
-
carousel:
|
|
170
|
-
card:
|
|
171
|
-
cardHeader:
|
|
172
|
-
cardNumber:
|
|
163
|
+
}, as = "_sneakPeek_1svtd_1", ts = "_badge_1svtd_6", rs = "_starIcon_1svtd_22", ns = "_heading_1svtd_26", is = "_subheading_1svtd_38", cs = "_carouselWrapper_1svtd_50", os = "_carousel_1svtd_50", ls = "_card_1svtd_71", ds = "_cardHeader_1svtd_88", ms = "_cardNumber_1svtd_94", hs = "_headerText_1svtd_110", ps = "_cardTitle_1svtd_115", _s = "_cardDescription_1svtd_127", us = "_cardBody_1svtd_134", gs = "_reportHeader_1svtd_147", xs = "_reportBrand_1svtd_155", fs = "_reportLabel_1svtd_159", js = "_coupleInfo_1svtd_163", Ns = "_personInfo_1svtd_169", bs = "_name_1svtd_178", vs = "_value_1svtd_188", ys = "_separator_1svtd_194", Is = "_chevronIcon_1svtd_199", ws = "_scoreSection_1svtd_204", ks = "_scoreLabel_1svtd_208", Cs = "_scoreValue_1svtd_213", Ts = "_matchBadge_1svtd_223", Ps = "_reportTitle_1svtd_233", Ls = "_gridContainer_1svtd_240", Bs = "_gridItem_1svtd_247", Ss = "_moreText_1svtd_258", Rs = "_doshaLabel_1svtd_267", Ds = "_doshaTitle_1svtd_274", $s = "_remedyHeading_1svtd_281", As = "_remedyItem_1svtd_288", Os = "_remedyIcon_1svtd_295", Es = "_remedyDetail_1svtd_299", Ms = "_predictionGrid_1svtd_306", Ws = "_predictionItem_1svtd_313", Us = "_predictionIcon_1svtd_326", Fs = "_predictionLabel_1svtd_333", Hs = "_cardIndicator_1svtd_347", Ks = "_buttonContainer_1svtd_355", a = {
|
|
164
|
+
sneakPeek: as,
|
|
165
|
+
badge: ts,
|
|
166
|
+
starIcon: rs,
|
|
167
|
+
heading: ns,
|
|
168
|
+
subheading: is,
|
|
169
|
+
carouselWrapper: cs,
|
|
170
|
+
carousel: os,
|
|
171
|
+
card: ls,
|
|
172
|
+
cardHeader: ds,
|
|
173
|
+
cardNumber: ms,
|
|
173
174
|
headerText: hs,
|
|
174
|
-
cardTitle:
|
|
175
|
-
cardDescription:
|
|
176
|
-
cardBody:
|
|
177
|
-
reportHeader:
|
|
178
|
-
reportBrand:
|
|
179
|
-
reportLabel:
|
|
180
|
-
coupleInfo:
|
|
181
|
-
personInfo:
|
|
182
|
-
name:
|
|
183
|
-
value:
|
|
184
|
-
separator:
|
|
185
|
-
chevronIcon:
|
|
186
|
-
scoreSection:
|
|
187
|
-
scoreLabel:
|
|
188
|
-
scoreValue:
|
|
189
|
-
matchBadge:
|
|
190
|
-
reportTitle:
|
|
191
|
-
gridContainer:
|
|
192
|
-
gridItem:
|
|
193
|
-
moreText:
|
|
194
|
-
doshaLabel:
|
|
195
|
-
doshaTitle:
|
|
196
|
-
remedyHeading:
|
|
197
|
-
remedyItem:
|
|
198
|
-
remedyIcon:
|
|
199
|
-
remedyDetail:
|
|
200
|
-
predictionGrid:
|
|
201
|
-
predictionItem:
|
|
202
|
-
predictionIcon:
|
|
203
|
-
predictionLabel:
|
|
204
|
-
cardIndicator:
|
|
175
|
+
cardTitle: ps,
|
|
176
|
+
cardDescription: _s,
|
|
177
|
+
cardBody: us,
|
|
178
|
+
reportHeader: gs,
|
|
179
|
+
reportBrand: xs,
|
|
180
|
+
reportLabel: fs,
|
|
181
|
+
coupleInfo: js,
|
|
182
|
+
personInfo: Ns,
|
|
183
|
+
name: bs,
|
|
184
|
+
value: vs,
|
|
185
|
+
separator: ys,
|
|
186
|
+
chevronIcon: Is,
|
|
187
|
+
scoreSection: ws,
|
|
188
|
+
scoreLabel: ks,
|
|
189
|
+
scoreValue: Cs,
|
|
190
|
+
matchBadge: Ts,
|
|
191
|
+
reportTitle: Ps,
|
|
192
|
+
gridContainer: Ls,
|
|
193
|
+
gridItem: Bs,
|
|
194
|
+
moreText: Ss,
|
|
195
|
+
doshaLabel: Rs,
|
|
196
|
+
doshaTitle: Ds,
|
|
197
|
+
remedyHeading: $s,
|
|
198
|
+
remedyItem: As,
|
|
199
|
+
remedyIcon: Os,
|
|
200
|
+
remedyDetail: Es,
|
|
201
|
+
predictionGrid: Ms,
|
|
202
|
+
predictionItem: Ws,
|
|
203
|
+
predictionIcon: Us,
|
|
204
|
+
predictionLabel: Fs,
|
|
205
|
+
cardIndicator: Hs,
|
|
205
206
|
buttonContainer: Ks
|
|
206
|
-
},
|
|
207
|
-
button:
|
|
208
|
-
},
|
|
209
|
-
backdrop:
|
|
210
|
-
modal:
|
|
211
|
-
header:
|
|
212
|
-
title:
|
|
213
|
-
closeBtn:
|
|
214
|
-
content:
|
|
215
|
-
pdfFrame:
|
|
216
|
-
pdfPages:
|
|
217
|
-
pdfError:
|
|
218
|
-
openInNewTab:
|
|
207
|
+
}, Vs = "_button_pj3n5_1", Gs = {
|
|
208
|
+
button: Vs
|
|
209
|
+
}, qs = "_backdrop_pekod_1", Ys = "_modal_pekod_21", zs = "_header_pekod_40", Qs = "_title_pekod_49", Js = "_closeBtn_pekod_56", Xs = "_content_pekod_76", Zs = "_pdfFrame_pekod_84", ea = "_pdfPages_pekod_92", sa = "_pdfError_pekod_97", aa = "_openInNewTab_pekod_123", L = {
|
|
210
|
+
backdrop: qs,
|
|
211
|
+
modal: Ys,
|
|
212
|
+
header: zs,
|
|
213
|
+
title: Qs,
|
|
214
|
+
closeBtn: Js,
|
|
215
|
+
content: Xs,
|
|
216
|
+
pdfFrame: Zs,
|
|
217
|
+
pdfPages: ea,
|
|
218
|
+
pdfError: sa,
|
|
219
|
+
openInNewTab: aa
|
|
219
220
|
};
|
|
220
|
-
function
|
|
221
|
+
function ta(s) {
|
|
221
222
|
typeof s < "u" && s.GlobalWorkerOptions && (s.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${s.version}/build/pdf.worker.min.js`);
|
|
222
223
|
}
|
|
223
|
-
const
|
|
224
|
+
const ra = ({
|
|
224
225
|
isOpen: s,
|
|
225
226
|
onClose: r,
|
|
226
227
|
title: n,
|
|
227
228
|
pdfUrl: t
|
|
228
229
|
}) => {
|
|
229
|
-
const i =
|
|
230
|
+
const i = b(null), [m, d] = B(!0), [h, u] = B(null), [N, y] = B(null);
|
|
230
231
|
return v(() => {
|
|
231
232
|
if (!s) return;
|
|
232
|
-
const p = (
|
|
233
|
-
|
|
233
|
+
const p = (g) => {
|
|
234
|
+
g.key === "Escape" && r();
|
|
234
235
|
};
|
|
235
236
|
return document.addEventListener("keydown", p), document.body.style.overflow = "hidden", () => {
|
|
236
237
|
document.removeEventListener("keydown", p), document.body.style.overflow = "";
|
|
@@ -242,26 +243,26 @@ const ta = ({
|
|
|
242
243
|
u("Failed to load PDF viewer"), d(!1);
|
|
243
244
|
});
|
|
244
245
|
}, [s]), v(() => {
|
|
245
|
-
if (!s || !t || !i.current || !
|
|
246
|
+
if (!s || !t || !i.current || !N) return;
|
|
246
247
|
d(!0), u(null), i.current.innerHTML = "", (async () => {
|
|
247
248
|
try {
|
|
248
|
-
|
|
249
|
-
const k = await
|
|
249
|
+
ta(N);
|
|
250
|
+
const k = await N.getDocument({ url: t }).promise, I = i.current;
|
|
250
251
|
if (!I) return;
|
|
251
252
|
const T = I.clientWidth || 600, P = Math.min(T / 612, 2);
|
|
252
253
|
for (let S = 1; S <= k.numPages; S++) {
|
|
253
|
-
const E = await k.getPage(S),
|
|
254
|
-
l.height =
|
|
255
|
-
const
|
|
256
|
-
|
|
254
|
+
const E = await k.getPage(S), x = E.getViewport({ scale: P }), l = document.createElement("canvas");
|
|
255
|
+
l.height = x.height, l.width = x.width, l.style.display = "block", l.style.margin = "0 auto 1rem", l.style.maxWidth = "100%";
|
|
256
|
+
const j = l.getContext("2d");
|
|
257
|
+
j && await E.render({ canvasContext: j, viewport: x }).promise, I.appendChild(l);
|
|
257
258
|
}
|
|
258
|
-
} catch (
|
|
259
|
-
u(
|
|
259
|
+
} catch (g) {
|
|
260
|
+
u(g instanceof Error ? g.message : "Failed to load PDF");
|
|
260
261
|
} finally {
|
|
261
262
|
d(!1);
|
|
262
263
|
}
|
|
263
264
|
})();
|
|
264
|
-
}, [s, t,
|
|
265
|
+
}, [s, t, N]), s ? /* @__PURE__ */ e.jsx(
|
|
265
266
|
"div",
|
|
266
267
|
{
|
|
267
268
|
className: L.backdrop,
|
|
@@ -290,8 +291,8 @@ const ta = ({
|
|
|
290
291
|
] }),
|
|
291
292
|
/* @__PURE__ */ e.jsxs("div", { className: L.content, children: [
|
|
292
293
|
/* @__PURE__ */ e.jsxs("div", { className: L.pdfFrame, children: [
|
|
293
|
-
|
|
294
|
-
/* @__PURE__ */ e.jsx("span", { children:
|
|
294
|
+
h && /* @__PURE__ */ e.jsxs("div", { className: L.pdfError, children: [
|
|
295
|
+
/* @__PURE__ */ e.jsx("span", { children: h }),
|
|
295
296
|
/* @__PURE__ */ e.jsx("a", { href: t, target: "_blank", rel: "noopener noreferrer", children: "Open in new tab instead" })
|
|
296
297
|
] }),
|
|
297
298
|
/* @__PURE__ */ e.jsx("div", { ref: i, className: L.pdfPages })
|
|
@@ -312,43 +313,43 @@ const ta = ({
|
|
|
312
313
|
)
|
|
313
314
|
}
|
|
314
315
|
) : null;
|
|
315
|
-
},
|
|
316
|
+
}, na = "https://srm-cdn.a4b.io/yoda/1774960543820.pdf", ia = ({
|
|
316
317
|
t: s,
|
|
317
|
-
pdfUrl: r =
|
|
318
|
+
pdfUrl: r = na,
|
|
318
319
|
analytics: n,
|
|
319
320
|
className: t = ""
|
|
320
321
|
}) => {
|
|
321
|
-
const [i,
|
|
322
|
-
n?.trackViewSampleReportClicked?.(),
|
|
323
|
-
},
|
|
324
|
-
n?.trackViewSampleReportClosed?.(),
|
|
322
|
+
const [i, m] = B(!1), d = s("viewSampleReport"), h = s("sampleReportModalTitle"), u = () => {
|
|
323
|
+
n?.trackViewSampleReportClicked?.(), m(!0);
|
|
324
|
+
}, N = () => {
|
|
325
|
+
n?.trackViewSampleReportClosed?.(), m(!1);
|
|
325
326
|
};
|
|
326
327
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
327
|
-
/* @__PURE__ */ e.jsx("button", { type: "button", className: `${
|
|
328
|
+
/* @__PURE__ */ e.jsx("button", { type: "button", className: `${Gs.button} ${t}`, onClick: u, children: d }),
|
|
328
329
|
/* @__PURE__ */ e.jsx(
|
|
329
|
-
|
|
330
|
+
ra,
|
|
330
331
|
{
|
|
331
332
|
isOpen: i,
|
|
332
|
-
onClose:
|
|
333
|
-
title:
|
|
333
|
+
onClose: N,
|
|
334
|
+
title: h,
|
|
334
335
|
pdfUrl: r
|
|
335
336
|
}
|
|
336
337
|
)
|
|
337
338
|
] });
|
|
338
|
-
}, Q = "https://srm-cdn.a4b.io/yoda/1774515475813.svg",
|
|
339
|
-
function
|
|
339
|
+
}, Q = "https://srm-cdn.a4b.io/yoda/1774515475813.svg", ca = "https://srm-cdn.a4b.io/yoda/1774518174890.svg", oa = "https://srm-cdn.a4b.io/yoda/1774517877564.svg", la = "https://srm-cdn.a4b.io/yoda/1774517897009.svg", da = "https://srm-cdn.a4b.io/yoda/1774517906228.svg", ma = "https://srm-cdn.a4b.io/yoda/1774517914948.svg", ha = "https://srm-cdn.a4b.io/yoda/1774517924467.svg";
|
|
340
|
+
function K({
|
|
340
341
|
cardNumber: s,
|
|
341
342
|
cardTitle: r,
|
|
342
343
|
analytics: n,
|
|
343
344
|
children: t
|
|
344
345
|
}) {
|
|
345
|
-
const i =
|
|
346
|
+
const i = b(null), m = b(!1);
|
|
346
347
|
return v(() => {
|
|
347
348
|
const d = i.current;
|
|
348
349
|
if (!d) return;
|
|
349
|
-
const
|
|
350
|
+
const h = new IntersectionObserver(
|
|
350
351
|
([u]) => {
|
|
351
|
-
!u?.isIntersecting ||
|
|
352
|
+
!u?.isIntersecting || m.current || (m.current = !0, n?.trackSneakPeekCardViewed?.({
|
|
352
353
|
cardNumber: s,
|
|
353
354
|
cardTitle: r
|
|
354
355
|
}));
|
|
@@ -356,10 +357,10 @@ function H({
|
|
|
356
357
|
{ threshold: 0.5 }
|
|
357
358
|
// Card must be 50% visible
|
|
358
359
|
);
|
|
359
|
-
return
|
|
360
|
+
return h.observe(d), () => h.disconnect();
|
|
360
361
|
}, [s, r, n]), /* @__PURE__ */ e.jsx("div", { ref: i, children: t });
|
|
361
362
|
}
|
|
362
|
-
const
|
|
363
|
+
const pa = ({
|
|
363
364
|
t: s,
|
|
364
365
|
analytics: r,
|
|
365
366
|
className: n = ""
|
|
@@ -391,7 +392,7 @@ const ma = ({
|
|
|
391
392
|
/* @__PURE__ */ e.jsx("p", { className: a.subheading, children: s("sneakPeekSubheading") }),
|
|
392
393
|
/* @__PURE__ */ e.jsx("div", { className: a.carouselWrapper, children: /* @__PURE__ */ e.jsxs("div", { className: a.carousel, children: [
|
|
393
394
|
/* @__PURE__ */ e.jsx(
|
|
394
|
-
|
|
395
|
+
K,
|
|
395
396
|
{
|
|
396
397
|
cardNumber: 1,
|
|
397
398
|
cardTitle: s("sneakPeek1Title"),
|
|
@@ -431,7 +432,7 @@ const ma = ({
|
|
|
431
432
|
/* @__PURE__ */ e.jsx("div", { className: a.chevronIcon, children: /* @__PURE__ */ e.jsx(
|
|
432
433
|
"img",
|
|
433
434
|
{
|
|
434
|
-
src:
|
|
435
|
+
src: ca,
|
|
435
436
|
alt: "",
|
|
436
437
|
style: { width: "90%", margin: "auto" }
|
|
437
438
|
}
|
|
@@ -450,7 +451,7 @@ const ma = ({
|
|
|
450
451
|
}
|
|
451
452
|
),
|
|
452
453
|
/* @__PURE__ */ e.jsx(
|
|
453
|
-
|
|
454
|
+
K,
|
|
454
455
|
{
|
|
455
456
|
cardNumber: 2,
|
|
456
457
|
cardTitle: s("sneakPeek2Title"),
|
|
@@ -484,7 +485,7 @@ const ma = ({
|
|
|
484
485
|
}
|
|
485
486
|
),
|
|
486
487
|
/* @__PURE__ */ e.jsx(
|
|
487
|
-
|
|
488
|
+
K,
|
|
488
489
|
{
|
|
489
490
|
cardNumber: 3,
|
|
490
491
|
cardTitle: s("sneakPeek3Title"),
|
|
@@ -535,7 +536,7 @@ const ma = ({
|
|
|
535
536
|
}
|
|
536
537
|
),
|
|
537
538
|
/* @__PURE__ */ e.jsx(
|
|
538
|
-
|
|
539
|
+
K,
|
|
539
540
|
{
|
|
540
541
|
cardNumber: 4,
|
|
541
542
|
cardTitle: s("sneakPeek4Title"),
|
|
@@ -559,7 +560,7 @@ const ma = ({
|
|
|
559
560
|
/* @__PURE__ */ e.jsx(
|
|
560
561
|
"img",
|
|
561
562
|
{
|
|
562
|
-
src:
|
|
563
|
+
src: oa,
|
|
563
564
|
alt: "",
|
|
564
565
|
className: a.predictionIcon
|
|
565
566
|
}
|
|
@@ -570,7 +571,7 @@ const ma = ({
|
|
|
570
571
|
/* @__PURE__ */ e.jsx(
|
|
571
572
|
"img",
|
|
572
573
|
{
|
|
573
|
-
src:
|
|
574
|
+
src: la,
|
|
574
575
|
alt: "",
|
|
575
576
|
className: a.predictionIcon
|
|
576
577
|
}
|
|
@@ -581,7 +582,7 @@ const ma = ({
|
|
|
581
582
|
/* @__PURE__ */ e.jsx(
|
|
582
583
|
"img",
|
|
583
584
|
{
|
|
584
|
-
src:
|
|
585
|
+
src: da,
|
|
585
586
|
alt: "",
|
|
586
587
|
className: a.predictionIcon
|
|
587
588
|
}
|
|
@@ -592,7 +593,7 @@ const ma = ({
|
|
|
592
593
|
/* @__PURE__ */ e.jsx(
|
|
593
594
|
"img",
|
|
594
595
|
{
|
|
595
|
-
src:
|
|
596
|
+
src: ma,
|
|
596
597
|
alt: "",
|
|
597
598
|
className: a.predictionIcon
|
|
598
599
|
}
|
|
@@ -617,36 +618,36 @@ const ma = ({
|
|
|
617
618
|
}
|
|
618
619
|
)
|
|
619
620
|
] }) }),
|
|
620
|
-
/* @__PURE__ */ e.jsx("div", { className: a.buttonContainer, children: /* @__PURE__ */ e.jsx(
|
|
621
|
-
] }),
|
|
622
|
-
testimonials:
|
|
623
|
-
heading:
|
|
624
|
-
subheading:
|
|
625
|
-
carouselWrapper:
|
|
626
|
-
carousel:
|
|
627
|
-
card:
|
|
628
|
-
cardActive:
|
|
629
|
-
cardContent:
|
|
630
|
-
header:
|
|
631
|
-
headerInfo:
|
|
632
|
-
avatar:
|
|
633
|
-
name:
|
|
634
|
-
rating:
|
|
635
|
-
starFilled:
|
|
636
|
-
starEmpty:
|
|
637
|
-
review:
|
|
638
|
-
statsBar:
|
|
639
|
-
stat:
|
|
640
|
-
statValue:
|
|
641
|
-
statLabel:
|
|
642
|
-
statDivider:
|
|
643
|
-
},
|
|
621
|
+
/* @__PURE__ */ e.jsx("div", { className: a.buttonContainer, children: /* @__PURE__ */ e.jsx(ia, { t: s, analytics: r }) })
|
|
622
|
+
] }), _a = "_testimonials_dcl7t_2", ua = "_heading_dcl7t_7", ga = "_subheading_dcl7t_20", xa = "_carouselWrapper_dcl7t_36", fa = "_carousel_dcl7t_36", ja = "_card_dcl7t_59", Na = "_cardActive_dcl7t_72", ba = "_cardContent_dcl7t_77", va = "_header_dcl7t_92", ya = "_headerInfo_dcl7t_99", Ia = "_avatar_dcl7t_105", wa = "_name_dcl7t_113", ka = "_rating_dcl7t_120", Ca = "_starFilled_dcl7t_124", Ta = "_starEmpty_dcl7t_129", Pa = "_review_dcl7t_134", La = "_statsBar_dcl7t_143", Ba = "_stat_dcl7t_143", Sa = "_statValue_dcl7t_164", Ra = "_statLabel_dcl7t_185", Da = "_statDivider_dcl7t_197", _ = {
|
|
623
|
+
testimonials: _a,
|
|
624
|
+
heading: ua,
|
|
625
|
+
subheading: ga,
|
|
626
|
+
carouselWrapper: xa,
|
|
627
|
+
carousel: fa,
|
|
628
|
+
card: ja,
|
|
629
|
+
cardActive: Na,
|
|
630
|
+
cardContent: ba,
|
|
631
|
+
header: va,
|
|
632
|
+
headerInfo: ya,
|
|
633
|
+
avatar: Ia,
|
|
634
|
+
name: wa,
|
|
635
|
+
rating: ka,
|
|
636
|
+
starFilled: Ca,
|
|
637
|
+
starEmpty: Ta,
|
|
638
|
+
review: Pa,
|
|
639
|
+
statsBar: La,
|
|
640
|
+
stat: Ba,
|
|
641
|
+
statValue: Sa,
|
|
642
|
+
statLabel: Ra,
|
|
643
|
+
statDivider: Da
|
|
644
|
+
}, $a = 3e4, Aa = ({
|
|
644
645
|
t: s,
|
|
645
646
|
testimonials: r,
|
|
646
647
|
className: n = "",
|
|
647
648
|
analytics: t
|
|
648
649
|
}) => {
|
|
649
|
-
const i =
|
|
650
|
+
const i = b(null), [m, d] = B(0), [h, u] = B(!1), N = b(null), y = b(!1), p = b(-1), g = r || [
|
|
650
651
|
{
|
|
651
652
|
name: s("testimonial1Name"),
|
|
652
653
|
avatarUrl: s("testimonial1Avatar"),
|
|
@@ -695,13 +696,13 @@ const ma = ({
|
|
|
695
696
|
rating: 5,
|
|
696
697
|
review: s("testimonial8Review")
|
|
697
698
|
}
|
|
698
|
-
], k = [...
|
|
699
|
+
], k = [...g, ...g, ...g], I = g.length, T = I, P = (x, l = !0) => {
|
|
699
700
|
if (!i.current) return;
|
|
700
701
|
y.current = !0;
|
|
701
|
-
const
|
|
702
|
+
const j = i.current, W = j.children[0];
|
|
702
703
|
if (!W) return;
|
|
703
|
-
const F = W.offsetWidth, D =
|
|
704
|
-
|
|
704
|
+
const F = W.offsetWidth, D = x * (F + 16);
|
|
705
|
+
j.scrollTo({
|
|
705
706
|
left: D,
|
|
706
707
|
behavior: l ? "smooth" : "auto"
|
|
707
708
|
}), setTimeout(() => {
|
|
@@ -709,57 +710,57 @@ const ma = ({
|
|
|
709
710
|
}, l ? 700 : 50);
|
|
710
711
|
};
|
|
711
712
|
v(() => {
|
|
712
|
-
const
|
|
713
|
+
const x = setTimeout(() => {
|
|
713
714
|
d(T), P(T, !1);
|
|
714
715
|
}, 50);
|
|
715
|
-
return () => clearTimeout(
|
|
716
|
+
return () => clearTimeout(x);
|
|
716
717
|
}, [T]), v(() => () => {
|
|
717
|
-
|
|
718
|
+
N.current && clearTimeout(N.current);
|
|
718
719
|
}, []), v(() => {
|
|
719
|
-
if (
|
|
720
|
-
const
|
|
720
|
+
if (h) return;
|
|
721
|
+
const x = setInterval(() => {
|
|
721
722
|
d((l) => l + 1);
|
|
722
|
-
},
|
|
723
|
-
return () => clearInterval(
|
|
724
|
-
}, [
|
|
725
|
-
if (!i.current ||
|
|
726
|
-
P(
|
|
727
|
-
const
|
|
723
|
+
}, $a);
|
|
724
|
+
return () => clearInterval(x);
|
|
725
|
+
}, [h]), v(() => {
|
|
726
|
+
if (!i.current || m === 0) return;
|
|
727
|
+
P(m, !0);
|
|
728
|
+
const x = setTimeout(() => {
|
|
728
729
|
if (i.current) {
|
|
729
|
-
if (
|
|
730
|
-
const l =
|
|
730
|
+
if (m >= I * 2) {
|
|
731
|
+
const l = m - I;
|
|
731
732
|
d(l), P(l, !1);
|
|
732
|
-
} else if (
|
|
733
|
-
const l =
|
|
733
|
+
} else if (m < I) {
|
|
734
|
+
const l = m + I;
|
|
734
735
|
d(l), P(l, !1);
|
|
735
736
|
}
|
|
736
737
|
}
|
|
737
738
|
}, 700);
|
|
738
|
-
return () => clearTimeout(
|
|
739
|
-
}, [
|
|
739
|
+
return () => clearTimeout(x);
|
|
740
|
+
}, [m, I]);
|
|
740
741
|
const S = () => {
|
|
741
|
-
!i.current || y.current || (
|
|
742
|
+
!i.current || y.current || (N.current && clearTimeout(N.current), N.current = setTimeout(() => {
|
|
742
743
|
if (!i.current || y.current) return;
|
|
743
|
-
const
|
|
744
|
-
if (!
|
|
745
|
-
const W =
|
|
746
|
-
if (R !==
|
|
744
|
+
const x = i.current, l = x.scrollLeft, j = x.children[0];
|
|
745
|
+
if (!j) return;
|
|
746
|
+
const W = j.offsetWidth, R = Math.round(l / (W + 16));
|
|
747
|
+
if (R !== m && R >= 0 && R < k.length) {
|
|
747
748
|
d(R);
|
|
748
749
|
const D = R % I;
|
|
749
750
|
p.current !== D && t?.trackTestimonialScrolled && (p.current = D, t.trackTestimonialScrolled({
|
|
750
751
|
reviewIndex: D,
|
|
751
|
-
reviewerName:
|
|
752
|
+
reviewerName: g[D]?.name || "",
|
|
752
753
|
isManualScroll: !0
|
|
753
754
|
}));
|
|
754
755
|
}
|
|
755
756
|
}, 100));
|
|
756
|
-
}, E = (
|
|
757
|
+
}, E = (x) => Array.from({ length: 5 }, (l, j) => /* @__PURE__ */ e.jsx(
|
|
757
758
|
"span",
|
|
758
759
|
{
|
|
759
|
-
className:
|
|
760
|
+
className: j < x ? _.starFilled : _.starEmpty,
|
|
760
761
|
children: "★"
|
|
761
762
|
},
|
|
762
|
-
|
|
763
|
+
j
|
|
763
764
|
));
|
|
764
765
|
return /* @__PURE__ */ e.jsxs("section", { className: `${_.testimonials} ${n}`, children: [
|
|
765
766
|
/* @__PURE__ */ e.jsx("h2", { className: _.heading, children: s("testimonialsHeading") }),
|
|
@@ -778,28 +779,28 @@ const ma = ({
|
|
|
778
779
|
ref: i,
|
|
779
780
|
className: _.carousel,
|
|
780
781
|
onScroll: S,
|
|
781
|
-
children: k.map((
|
|
782
|
-
const
|
|
782
|
+
children: k.map((x, l) => {
|
|
783
|
+
const j = l === m;
|
|
783
784
|
return /* @__PURE__ */ e.jsx(
|
|
784
785
|
"div",
|
|
785
786
|
{
|
|
786
|
-
className: `${_.card} ${
|
|
787
|
+
className: `${_.card} ${j ? _.cardActive : ""}`,
|
|
787
788
|
children: /* @__PURE__ */ e.jsxs("div", { className: _.cardContent, children: [
|
|
788
789
|
/* @__PURE__ */ e.jsxs("div", { className: _.header, children: [
|
|
789
790
|
/* @__PURE__ */ e.jsx(
|
|
790
791
|
"img",
|
|
791
792
|
{
|
|
792
|
-
src:
|
|
793
|
-
alt:
|
|
793
|
+
src: x.avatarUrl,
|
|
794
|
+
alt: x.name,
|
|
794
795
|
className: _.avatar
|
|
795
796
|
}
|
|
796
797
|
),
|
|
797
798
|
/* @__PURE__ */ e.jsxs("div", { className: _.headerInfo, children: [
|
|
798
|
-
/* @__PURE__ */ e.jsx("h3", { className: _.name, children:
|
|
799
|
-
/* @__PURE__ */ e.jsx("div", { className: _.rating, children: E(
|
|
799
|
+
/* @__PURE__ */ e.jsx("h3", { className: _.name, children: x.name }),
|
|
800
|
+
/* @__PURE__ */ e.jsx("div", { className: _.rating, children: E(x.rating) })
|
|
800
801
|
] })
|
|
801
802
|
] }),
|
|
802
|
-
/* @__PURE__ */ e.jsx("p", { className: _.review, children:
|
|
803
|
+
/* @__PURE__ */ e.jsx("p", { className: _.review, children: x.review })
|
|
803
804
|
] })
|
|
804
805
|
},
|
|
805
806
|
l
|
|
@@ -826,55 +827,55 @@ const ma = ({
|
|
|
826
827
|
] })
|
|
827
828
|
] })
|
|
828
829
|
] });
|
|
829
|
-
},
|
|
830
|
-
benefits:
|
|
831
|
-
heading:
|
|
832
|
-
subheading:
|
|
833
|
-
grid:
|
|
834
|
-
card:
|
|
835
|
-
icon:
|
|
836
|
-
cardTitle:
|
|
830
|
+
}, Oa = "_benefits_1w6i0_1", Ea = "_heading_1w6i0_6", Ma = "_subheading_1w6i0_19", Wa = "_grid_1w6i0_36", Ua = "_card_1w6i0_54", Fa = "_icon_1w6i0_76", Ha = "_cardTitle_1w6i0_86", Ka = "_cardDescription_1w6i0_100", Va = "_cardRed_1w6i0_113", Ga = "_cardBlue_1w6i0_117", qa = "_cardPurple_1w6i0_121", Ya = "_cardOrange_1w6i0_125", f = {
|
|
831
|
+
benefits: Oa,
|
|
832
|
+
heading: Ea,
|
|
833
|
+
subheading: Ma,
|
|
834
|
+
grid: Wa,
|
|
835
|
+
card: Ua,
|
|
836
|
+
icon: Fa,
|
|
837
|
+
cardTitle: Ha,
|
|
837
838
|
cardDescription: Ka,
|
|
838
|
-
cardRed:
|
|
839
|
-
cardBlue:
|
|
840
|
-
cardPurple:
|
|
841
|
-
cardOrange:
|
|
842
|
-
}, V = "https://srm-cdn.a4b.io/yoda/1774526823534.svg",
|
|
839
|
+
cardRed: Va,
|
|
840
|
+
cardBlue: Ga,
|
|
841
|
+
cardPurple: qa,
|
|
842
|
+
cardOrange: Ya
|
|
843
|
+
}, V = "https://srm-cdn.a4b.io/yoda/1774526823534.svg", za = ({
|
|
843
844
|
t: s,
|
|
844
845
|
className: r = ""
|
|
845
|
-
}) => /* @__PURE__ */ e.jsxs("section", { className: `${
|
|
846
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
847
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
848
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
849
|
-
/* @__PURE__ */ e.jsxs("div", { className: `${
|
|
850
|
-
/* @__PURE__ */ e.jsx("img", { src: V, alt: "", className:
|
|
851
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
852
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
846
|
+
}) => /* @__PURE__ */ e.jsxs("section", { className: `${f.benefits} ${r}`, children: [
|
|
847
|
+
/* @__PURE__ */ e.jsx("h2", { className: f.heading, children: s("benefitsHeading") }),
|
|
848
|
+
/* @__PURE__ */ e.jsx("p", { className: f.subheading, children: s("benefitsSubheading") }),
|
|
849
|
+
/* @__PURE__ */ e.jsxs("div", { className: f.grid, children: [
|
|
850
|
+
/* @__PURE__ */ e.jsxs("div", { className: `${f.card} ${f.cardRed}`, children: [
|
|
851
|
+
/* @__PURE__ */ e.jsx("img", { src: V, alt: "", className: f.icon, width: 20, height: 20 }),
|
|
852
|
+
/* @__PURE__ */ e.jsx("h3", { className: f.cardTitle, children: s("benefit1Title") }),
|
|
853
|
+
/* @__PURE__ */ e.jsx("p", { className: f.cardDescription, children: s("benefit1Description") })
|
|
853
854
|
] }),
|
|
854
|
-
/* @__PURE__ */ e.jsxs("div", { className: `${
|
|
855
|
-
/* @__PURE__ */ e.jsx("img", { src: V, alt: "", className:
|
|
856
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
857
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
855
|
+
/* @__PURE__ */ e.jsxs("div", { className: `${f.card} ${f.cardBlue}`, children: [
|
|
856
|
+
/* @__PURE__ */ e.jsx("img", { src: V, alt: "", className: f.icon, width: 20, height: 20 }),
|
|
857
|
+
/* @__PURE__ */ e.jsx("h3", { className: f.cardTitle, children: s("benefit2Title") }),
|
|
858
|
+
/* @__PURE__ */ e.jsx("p", { className: f.cardDescription, children: s("benefit2Description") })
|
|
858
859
|
] }),
|
|
859
|
-
/* @__PURE__ */ e.jsxs("div", { className: `${
|
|
860
|
-
/* @__PURE__ */ e.jsx("img", { src: V, alt: "", className:
|
|
861
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
862
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
860
|
+
/* @__PURE__ */ e.jsxs("div", { className: `${f.card} ${f.cardPurple}`, children: [
|
|
861
|
+
/* @__PURE__ */ e.jsx("img", { src: V, alt: "", className: f.icon, width: 20, height: 20 }),
|
|
862
|
+
/* @__PURE__ */ e.jsx("h3", { className: f.cardTitle, children: s("benefit3Title") }),
|
|
863
|
+
/* @__PURE__ */ e.jsx("p", { className: f.cardDescription, children: s("benefit3Description") })
|
|
863
864
|
] }),
|
|
864
|
-
/* @__PURE__ */ e.jsxs("div", { className: `${
|
|
865
|
-
/* @__PURE__ */ e.jsx("img", { src: V, alt: "", className:
|
|
866
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
867
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
865
|
+
/* @__PURE__ */ e.jsxs("div", { className: `${f.card} ${f.cardOrange}`, children: [
|
|
866
|
+
/* @__PURE__ */ e.jsx("img", { src: V, alt: "", className: f.icon, width: 20, height: 20 }),
|
|
867
|
+
/* @__PURE__ */ e.jsx("h3", { className: f.cardTitle, children: s("benefit4Title") }),
|
|
868
|
+
/* @__PURE__ */ e.jsx("p", { className: f.cardDescription, children: s("benefit4Description") })
|
|
868
869
|
] })
|
|
869
870
|
] })
|
|
870
|
-
] }),
|
|
871
|
-
section:
|
|
872
|
-
heading:
|
|
873
|
-
subtitle:
|
|
874
|
-
list:
|
|
875
|
-
item:
|
|
876
|
-
starIcon:
|
|
877
|
-
},
|
|
871
|
+
] }), Qa = "_section_tlutk_1", Ja = "_heading_tlutk_6", Xa = "_subtitle_tlutk_11", Za = "_list_tlutk_15", et = "_item_tlutk_19", st = "_starIcon_tlutk_23", U = {
|
|
872
|
+
section: Qa,
|
|
873
|
+
heading: Ja,
|
|
874
|
+
subtitle: Xa,
|
|
875
|
+
list: Za,
|
|
876
|
+
item: et,
|
|
877
|
+
starIcon: st
|
|
878
|
+
}, at = "https://srm-cdn.a4b.io/yoda/1774547096025.svg", tt = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], rt = ({
|
|
878
879
|
t: s,
|
|
879
880
|
className: r = ""
|
|
880
881
|
}) => /* @__PURE__ */ e.jsxs(
|
|
@@ -885,11 +886,11 @@ const ma = ({
|
|
|
885
886
|
children: [
|
|
886
887
|
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: U.heading, children: s("whyUsTitle") }),
|
|
887
888
|
/* @__PURE__ */ e.jsx("p", { className: U.subtitle, children: s("whyUsSubtitle") }),
|
|
888
|
-
/* @__PURE__ */ e.jsx("ul", { className: U.list, children:
|
|
889
|
+
/* @__PURE__ */ e.jsx("ul", { className: U.list, children: tt.map((n) => /* @__PURE__ */ e.jsxs("li", { className: U.item, children: [
|
|
889
890
|
/* @__PURE__ */ e.jsx(
|
|
890
891
|
"img",
|
|
891
892
|
{
|
|
892
|
-
src:
|
|
893
|
+
src: at,
|
|
893
894
|
alt: "",
|
|
894
895
|
className: U.starIcon,
|
|
895
896
|
width: 16,
|
|
@@ -901,15 +902,15 @@ const ma = ({
|
|
|
901
902
|
] }, n)) })
|
|
902
903
|
]
|
|
903
904
|
}
|
|
904
|
-
),
|
|
905
|
-
section:
|
|
906
|
-
headingBold:
|
|
907
|
-
},
|
|
905
|
+
), nt = "_section_tvhc5_1", it = "_headingBold_tvhc5_5", J = {
|
|
906
|
+
section: nt,
|
|
907
|
+
headingBold: it
|
|
908
|
+
}, ct = [
|
|
908
909
|
{ qKey: "faqQ1", aKey: "faqA1" },
|
|
909
910
|
{ qKey: "faqQ2", aKey: "faqA2" },
|
|
910
911
|
{ qKey: "faqQ3", aKey: "faqA3" },
|
|
911
912
|
{ qKey: "faqQ4", aKey: "faqA4" }
|
|
912
|
-
],
|
|
913
|
+
], ot = ({
|
|
913
914
|
t: s,
|
|
914
915
|
className: r = "",
|
|
915
916
|
headingClassName: n = J.headingBold
|
|
@@ -917,17 +918,17 @@ const ma = ({
|
|
|
917
918
|
pe,
|
|
918
919
|
{
|
|
919
920
|
t: s,
|
|
920
|
-
items:
|
|
921
|
+
items: ct,
|
|
921
922
|
defaultOpenIndex: 2,
|
|
922
923
|
className: r,
|
|
923
924
|
headingClassName: n
|
|
924
925
|
}
|
|
925
|
-
) }),
|
|
926
|
-
ctaIncomplete:
|
|
927
|
-
ctaCompleted:
|
|
928
|
-
ctaWithArrow:
|
|
926
|
+
) }), lt = "_ctaIncomplete_s0fgg_1", dt = "_ctaCompleted_s0fgg_19", mt = "_ctaWithArrow_s0fgg_45", ht = "_chevronRight_s0fgg_54", G = {
|
|
927
|
+
ctaIncomplete: lt,
|
|
928
|
+
ctaCompleted: dt,
|
|
929
|
+
ctaWithArrow: mt,
|
|
929
930
|
chevronRight: ht
|
|
930
|
-
},
|
|
931
|
+
}, pt = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", _t = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", ut = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", gt = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", xt = ({ t: s }) => /* @__PURE__ */ e.jsxs(
|
|
931
932
|
"div",
|
|
932
933
|
{
|
|
933
934
|
className: M.marqueeContent,
|
|
@@ -936,7 +937,7 @@ const ma = ({
|
|
|
936
937
|
/* @__PURE__ */ e.jsx(
|
|
937
938
|
"img",
|
|
938
939
|
{
|
|
939
|
-
src:
|
|
940
|
+
src: pt,
|
|
940
941
|
alt: "",
|
|
941
942
|
className: M.badgeIcon,
|
|
942
943
|
width: 16,
|
|
@@ -950,7 +951,7 @@ const ma = ({
|
|
|
950
951
|
/* @__PURE__ */ e.jsx(
|
|
951
952
|
"img",
|
|
952
953
|
{
|
|
953
|
-
src:
|
|
954
|
+
src: _t,
|
|
954
955
|
alt: "",
|
|
955
956
|
className: M.badgeIcon,
|
|
956
957
|
width: 16,
|
|
@@ -964,7 +965,7 @@ const ma = ({
|
|
|
964
965
|
/* @__PURE__ */ e.jsx(
|
|
965
966
|
"img",
|
|
966
967
|
{
|
|
967
|
-
src:
|
|
968
|
+
src: ut,
|
|
968
969
|
alt: "",
|
|
969
970
|
className: M.badgeIcon,
|
|
970
971
|
width: 16,
|
|
@@ -976,22 +977,22 @@ const ma = ({
|
|
|
976
977
|
] })
|
|
977
978
|
]
|
|
978
979
|
}
|
|
979
|
-
),
|
|
980
|
+
), ft = (s) => /.+@.+\..+/.test(s), jt = (s) => /^\d{10}$/.test(s), Nt = (s, r = !1) => !s.boy.fullName || s.boy.fullName.trim() === "" ? "boy.fullName" : !s.boy.dateOfBirth || s.boy.dateOfBirth.trim() === "" ? "boy.dateOfBirth" : !s.boy.birthTimeUnknown && (!s.boy.birthTime || s.boy.birthTime.trim() === "") ? "boy.birthTime" : !s.boy.birthPlace || s.boy.birthPlace.trim() === "" ? "boy.birthPlace" : !s.girl.fullName || s.girl.fullName.trim() === "" ? "girl.fullName" : !s.girl.dateOfBirth || s.girl.dateOfBirth.trim() === "" ? "girl.dateOfBirth" : !s.girl.birthTimeUnknown && (!s.girl.birthTime || s.girl.birthTime.trim() === "") ? "girl.birthTime" : !s.girl.birthPlace || s.girl.birthPlace.trim() === "" ? "girl.birthPlace" : !r && (!s.phone || !jt(s.phone)) ? "phone" : r && (!s.email || !ft(s.email)) ? "email" : !s.reportLanguage || s.reportLanguage.trim() === "" ? "reportLanguage" : null, bt = ({
|
|
980
981
|
t: s,
|
|
981
982
|
values: r,
|
|
982
983
|
onProceed: n,
|
|
983
984
|
isGlobal: t = !1,
|
|
984
985
|
analytics: i,
|
|
985
|
-
className:
|
|
986
|
+
className: m = ""
|
|
986
987
|
}) => {
|
|
987
|
-
const d =
|
|
988
|
-
() =>
|
|
988
|
+
const d = me(
|
|
989
|
+
() => Nt(r, t),
|
|
989
990
|
[r, t]
|
|
990
|
-
),
|
|
991
|
-
if (
|
|
992
|
-
ctaText: s(
|
|
993
|
-
isFormComplete:
|
|
994
|
-
}), !
|
|
991
|
+
), h = d === null, u = (N) => {
|
|
992
|
+
if (N.preventDefault(), i?.trackKundliMatchingL0CtaClick?.({
|
|
993
|
+
ctaText: s(h ? "ctaButtonSelectPlan" : "ctaButton"),
|
|
994
|
+
isFormComplete: h
|
|
995
|
+
}), !h) {
|
|
995
996
|
if (d) {
|
|
996
997
|
const p = {
|
|
997
998
|
"boy.fullName": "boy-full-name",
|
|
@@ -1005,26 +1006,26 @@ const ma = ({
|
|
|
1005
1006
|
phone: "kundli-matching-phone",
|
|
1006
1007
|
email: "kundli-matching-email",
|
|
1007
1008
|
reportLanguage: "language-selector"
|
|
1008
|
-
}[d],
|
|
1009
|
-
|
|
1009
|
+
}[d], g = document.getElementById(p);
|
|
1010
|
+
g && (g.scrollIntoView({ behavior: "smooth", block: "center" }), (g.tagName === "INPUT" || g.tagName === "TEXTAREA") && setTimeout(() => g.focus(), 500));
|
|
1010
1011
|
}
|
|
1011
1012
|
return;
|
|
1012
1013
|
}
|
|
1013
1014
|
n();
|
|
1014
1015
|
};
|
|
1015
|
-
return /* @__PURE__ */ e.jsxs(_e, { className:
|
|
1016
|
-
/* @__PURE__ */ e.jsx(ue, { children: /* @__PURE__ */ e.jsx(
|
|
1016
|
+
return /* @__PURE__ */ e.jsxs(_e, { className: m, children: [
|
|
1017
|
+
/* @__PURE__ */ e.jsx(ue, { children: /* @__PURE__ */ e.jsx(xt, { t: s }) }),
|
|
1017
1018
|
/* @__PURE__ */ e.jsx(
|
|
1018
1019
|
ge,
|
|
1019
1020
|
{
|
|
1020
1021
|
onClick: u,
|
|
1021
|
-
className:
|
|
1022
|
-
children:
|
|
1022
|
+
className: h ? G.ctaCompleted : G.ctaIncomplete,
|
|
1023
|
+
children: h ? /* @__PURE__ */ e.jsxs("span", { className: G.ctaWithArrow, children: [
|
|
1023
1024
|
s("ctaButtonSelectPlan"),
|
|
1024
1025
|
/* @__PURE__ */ e.jsx(
|
|
1025
1026
|
"img",
|
|
1026
1027
|
{
|
|
1027
|
-
src:
|
|
1028
|
+
src: gt,
|
|
1028
1029
|
alt: "",
|
|
1029
1030
|
className: G.chevronRight,
|
|
1030
1031
|
width: 20,
|
|
@@ -1036,7 +1037,7 @@ const ma = ({
|
|
|
1036
1037
|
}
|
|
1037
1038
|
)
|
|
1038
1039
|
] });
|
|
1039
|
-
},
|
|
1040
|
+
}, vt = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
1040
1041
|
"path",
|
|
1041
1042
|
{
|
|
1042
1043
|
d: "M3.5 8.5l2.5 2.5 6-6",
|
|
@@ -1045,7 +1046,7 @@ const ma = ({
|
|
|
1045
1046
|
strokeLinecap: "round",
|
|
1046
1047
|
strokeLinejoin: "round"
|
|
1047
1048
|
}
|
|
1048
|
-
) }),
|
|
1049
|
+
) }), yt = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
1049
1050
|
"path",
|
|
1050
1051
|
{
|
|
1051
1052
|
d: "M4.5 4.5l7 7M11.5 4.5l-7 7",
|
|
@@ -1053,52 +1054,52 @@ const ma = ({
|
|
|
1053
1054
|
strokeWidth: "1.8",
|
|
1054
1055
|
strokeLinecap: "round"
|
|
1055
1056
|
}
|
|
1056
|
-
) }),
|
|
1057
|
+
) }), It = () => /* @__PURE__ */ e.jsx("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx("path", { d: "M15 18l-6-6 6-6" }) }), wt = () => /* @__PURE__ */ e.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: [
|
|
1057
1058
|
/* @__PURE__ */ e.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
|
|
1058
1059
|
/* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
1059
|
-
] }),
|
|
1060
|
-
overlay:
|
|
1061
|
-
sheet:
|
|
1062
|
-
header:
|
|
1063
|
-
backBtn:
|
|
1064
|
-
title:
|
|
1065
|
-
plansContainer:
|
|
1066
|
-
planCard:
|
|
1067
|
-
withBadgeSpacing:
|
|
1068
|
-
planCardSelected:
|
|
1069
|
-
planCardPopular:
|
|
1070
|
-
popularBadge:
|
|
1071
|
-
planCardInner:
|
|
1072
|
-
planTitleRow:
|
|
1073
|
-
planTitle:
|
|
1074
|
-
radioCircle:
|
|
1075
|
-
radioChecked:
|
|
1076
|
-
radioInner:
|
|
1077
|
-
priceRow:
|
|
1060
|
+
] }), kt = "_overlay_im136_3", Ct = "_sheet_im136_13", Tt = "_header_im136_57", Pt = "_backBtn_im136_69", Lt = "_title_im136_87", Bt = "_plansContainer_im136_99", St = "_planCard_im136_108", Rt = "_withBadgeSpacing_im136_122", Dt = "_planCardSelected_im136_126", $t = "_planCardPopular_im136_131", At = "_popularBadge_im136_140", Ot = "_planCardInner_im136_158", Et = "_planTitleRow_im136_163", Mt = "_planTitle_im136_163", Wt = "_radioCircle_im136_178", Ut = "_radioChecked_im136_191", Ft = "_radioInner_im136_196", Ht = "_priceRow_im136_204", Kt = "_price_im136_204", Vt = "_originalPrice_im136_217", Gt = "_savingsBadge_im136_224", qt = "_featureList_im136_234", Yt = "_featureItem_im136_243", zt = "_featureIcon_im136_249", Qt = "_featureText_im136_255", Jt = "_astrologerHeading_im136_262", Xt = "_astrologerList_im136_269", Zt = "_astrologerCard_im136_283", er = "_astrologerAvatar_im136_297", sr = "_astrologerAvatarPlaceholder_im136_314", ar = "_astrologerTop_im136_320", tr = "_astrologerBasicInfo_im136_326", rr = "_astrologerName_im136_333", nr = "_astrologerExp_im136_342", ir = "_astrologerDivider_im136_348", cr = "_planDivider_im136_354", or = "_astrologerCertList_im136_361", lr = "_astrologerCertItem_im136_367", dr = "_bullet_im136_375", mr = "_footer_im136_380", hr = "_proceedBtn_im136_390", o = {
|
|
1061
|
+
overlay: kt,
|
|
1062
|
+
sheet: Ct,
|
|
1063
|
+
header: Tt,
|
|
1064
|
+
backBtn: Pt,
|
|
1065
|
+
title: Lt,
|
|
1066
|
+
plansContainer: Bt,
|
|
1067
|
+
planCard: St,
|
|
1068
|
+
withBadgeSpacing: Rt,
|
|
1069
|
+
planCardSelected: Dt,
|
|
1070
|
+
planCardPopular: $t,
|
|
1071
|
+
popularBadge: At,
|
|
1072
|
+
planCardInner: Ot,
|
|
1073
|
+
planTitleRow: Et,
|
|
1074
|
+
planTitle: Mt,
|
|
1075
|
+
radioCircle: Wt,
|
|
1076
|
+
radioChecked: Ut,
|
|
1077
|
+
radioInner: Ft,
|
|
1078
|
+
priceRow: Ht,
|
|
1078
1079
|
price: Kt,
|
|
1079
|
-
originalPrice:
|
|
1080
|
-
savingsBadge:
|
|
1081
|
-
featureList:
|
|
1082
|
-
featureItem:
|
|
1083
|
-
featureIcon:
|
|
1084
|
-
featureText:
|
|
1085
|
-
astrologerHeading:
|
|
1086
|
-
astrologerList:
|
|
1087
|
-
astrologerCard:
|
|
1088
|
-
astrologerAvatar:
|
|
1089
|
-
astrologerAvatarPlaceholder:
|
|
1090
|
-
astrologerTop:
|
|
1091
|
-
astrologerBasicInfo:
|
|
1092
|
-
astrologerName:
|
|
1093
|
-
astrologerExp:
|
|
1094
|
-
astrologerDivider:
|
|
1095
|
-
planDivider:
|
|
1096
|
-
astrologerCertList:
|
|
1097
|
-
astrologerCertItem:
|
|
1098
|
-
bullet:
|
|
1099
|
-
footer:
|
|
1080
|
+
originalPrice: Vt,
|
|
1081
|
+
savingsBadge: Gt,
|
|
1082
|
+
featureList: qt,
|
|
1083
|
+
featureItem: Yt,
|
|
1084
|
+
featureIcon: zt,
|
|
1085
|
+
featureText: Qt,
|
|
1086
|
+
astrologerHeading: Jt,
|
|
1087
|
+
astrologerList: Xt,
|
|
1088
|
+
astrologerCard: Zt,
|
|
1089
|
+
astrologerAvatar: er,
|
|
1090
|
+
astrologerAvatarPlaceholder: sr,
|
|
1091
|
+
astrologerTop: ar,
|
|
1092
|
+
astrologerBasicInfo: tr,
|
|
1093
|
+
astrologerName: rr,
|
|
1094
|
+
astrologerExp: nr,
|
|
1095
|
+
astrologerDivider: ir,
|
|
1096
|
+
planDivider: cr,
|
|
1097
|
+
astrologerCertList: or,
|
|
1098
|
+
astrologerCertItem: lr,
|
|
1099
|
+
bullet: dr,
|
|
1100
|
+
footer: mr,
|
|
1100
1101
|
proceedBtn: hr
|
|
1101
|
-
},
|
|
1102
|
+
}, pr = ({ title: s, onBack: r }) => /* @__PURE__ */ e.jsxs("div", { className: o.header, children: [
|
|
1102
1103
|
/* @__PURE__ */ e.jsx(
|
|
1103
1104
|
"button",
|
|
1104
1105
|
{
|
|
@@ -1106,14 +1107,14 @@ const ma = ({
|
|
|
1106
1107
|
onClick: r,
|
|
1107
1108
|
"aria-label": "Go back",
|
|
1108
1109
|
type: "button",
|
|
1109
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1110
|
+
children: /* @__PURE__ */ e.jsx(It, {})
|
|
1110
1111
|
}
|
|
1111
1112
|
),
|
|
1112
1113
|
/* @__PURE__ */ e.jsx("h2", { className: o.title, children: s })
|
|
1113
|
-
] }),
|
|
1114
|
-
/* @__PURE__ */ e.jsx("span", { className: o.featureIcon, children: n.included ? /* @__PURE__ */ e.jsx(
|
|
1114
|
+
] }), _r = ({ features: s, t: r }) => /* @__PURE__ */ e.jsx("ul", { className: o.featureList, "aria-label": "Plan features", children: s.map((n, t) => /* @__PURE__ */ e.jsxs("li", { className: o.featureItem, children: [
|
|
1115
|
+
/* @__PURE__ */ e.jsx("span", { className: o.featureIcon, children: n.included ? /* @__PURE__ */ e.jsx(vt, {}) : /* @__PURE__ */ e.jsx(yt, {}) }),
|
|
1115
1116
|
/* @__PURE__ */ e.jsx("span", { className: o.featureText, children: r?.(n.text) ?? n.text })
|
|
1116
|
-
] }, t)) }),
|
|
1117
|
+
] }, t)) }), ur = ({ astrologer: s }) => /* @__PURE__ */ e.jsxs("div", { className: o.astrologerCard, children: [
|
|
1117
1118
|
/* @__PURE__ */ e.jsxs("div", { className: o.astrologerTop, children: [
|
|
1118
1119
|
/* @__PURE__ */ e.jsx("div", { className: o.astrologerAvatar, "aria-hidden": !0, children: s.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: s.imageUrl, alt: s.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: o.astrologerAvatarPlaceholder, children: s.name.charAt(0) }) }),
|
|
1119
1120
|
/* @__PURE__ */ e.jsxs("div", { className: o.astrologerBasicInfo, children: [
|
|
@@ -1127,11 +1128,11 @@ const ma = ({
|
|
|
1127
1128
|
" ",
|
|
1128
1129
|
r
|
|
1129
1130
|
] }, n)) })
|
|
1130
|
-
] }),
|
|
1131
|
-
/* @__PURE__ */ e.jsx(
|
|
1131
|
+
] }), gr = ({ label: s }) => /* @__PURE__ */ e.jsxs("div", { className: o.popularBadge, "aria-label": s, children: [
|
|
1132
|
+
/* @__PURE__ */ e.jsx(wt, {}),
|
|
1132
1133
|
/* @__PURE__ */ e.jsx("span", { children: s })
|
|
1133
|
-
] }),
|
|
1134
|
-
const i = () => n(s.id),
|
|
1134
|
+
] }), xr = ({ plan: s, isSelected: r, onSelect: n, t }) => {
|
|
1135
|
+
const i = () => n(s.id), m = (d) => {
|
|
1135
1136
|
(d.key === " " || d.key === "Enter") && (d.preventDefault(), n(s.id));
|
|
1136
1137
|
};
|
|
1137
1138
|
return /* @__PURE__ */ e.jsxs(
|
|
@@ -1146,10 +1147,10 @@ const ma = ({
|
|
|
1146
1147
|
role: "radio",
|
|
1147
1148
|
"aria-checked": r,
|
|
1148
1149
|
tabIndex: 0,
|
|
1149
|
-
onKeyDown:
|
|
1150
|
+
onKeyDown: m,
|
|
1150
1151
|
"data-plan-id": s.id,
|
|
1151
1152
|
children: [
|
|
1152
|
-
s.badge && /* @__PURE__ */ e.jsx(
|
|
1153
|
+
s.badge && /* @__PURE__ */ e.jsx(gr, { label: s.badge }),
|
|
1153
1154
|
/* @__PURE__ */ e.jsxs("div", { className: o.planCardInner, children: [
|
|
1154
1155
|
/* @__PURE__ */ e.jsxs("div", { className: `${o.planTitleRow} ${s.badge ? o.withBadgeSpacing : ""}`, children: [
|
|
1155
1156
|
/* @__PURE__ */ e.jsx("span", { className: o.planTitle, children: s.title }),
|
|
@@ -1167,17 +1168,17 @@ const ma = ({
|
|
|
1167
1168
|
s.originalPrice && /* @__PURE__ */ e.jsx("span", { className: o.originalPrice, children: s.originalPrice }),
|
|
1168
1169
|
s.savingsLabel && /* @__PURE__ */ e.jsx("span", { className: o.savingsBadge, children: s.savingsLabel })
|
|
1169
1170
|
] }),
|
|
1170
|
-
/* @__PURE__ */ e.jsx(
|
|
1171
|
+
/* @__PURE__ */ e.jsx(_r, { features: s.features, t }),
|
|
1171
1172
|
s.astrologers && /* @__PURE__ */ e.jsx("div", { className: o.planDivider }),
|
|
1172
1173
|
s.astrologers && s.astrologers.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1173
1174
|
/* @__PURE__ */ e.jsx("p", { className: o.astrologerHeading, children: "We will assign you a top astrologer from below" }),
|
|
1174
|
-
/* @__PURE__ */ e.jsx("div", { className: o.astrologerList, role: "list", children: s.astrologers.map((d,
|
|
1175
|
+
/* @__PURE__ */ e.jsx("div", { className: o.astrologerList, role: "list", children: s.astrologers.map((d, h) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(ur, { astrologer: d, t }) }, h)) })
|
|
1175
1176
|
] })
|
|
1176
1177
|
] })
|
|
1177
1178
|
]
|
|
1178
1179
|
}
|
|
1179
1180
|
);
|
|
1180
|
-
},
|
|
1181
|
+
}, fr = [
|
|
1181
1182
|
{
|
|
1182
1183
|
id: "jyoti",
|
|
1183
1184
|
name: "Jyoti Acharya Neeraj",
|
|
@@ -1208,7 +1209,7 @@ const ma = ({
|
|
|
1208
1209
|
"Mantra & Rudraksha Specialist"
|
|
1209
1210
|
]
|
|
1210
1211
|
}
|
|
1211
|
-
],
|
|
1212
|
+
], jr = (s = !1) => [
|
|
1212
1213
|
{
|
|
1213
1214
|
id: "matching-report",
|
|
1214
1215
|
title: "Kundli Matching Report",
|
|
@@ -1236,106 +1237,109 @@ const ma = ({
|
|
|
1236
1237
|
{ text: "Discuss doshas, future possibilities, family concerns, and compatibility", included: !0 },
|
|
1237
1238
|
{ text: "Get direct answers, custom remedies & real-time clarity", included: !0 }
|
|
1238
1239
|
],
|
|
1239
|
-
astrologers:
|
|
1240
|
+
astrologers: fr
|
|
1240
1241
|
}
|
|
1241
|
-
],
|
|
1242
|
+
], Nr = ({
|
|
1242
1243
|
isOpen: s,
|
|
1243
1244
|
onClose: r,
|
|
1244
1245
|
selectedPlan: n,
|
|
1245
1246
|
onSelectPlan: t,
|
|
1246
1247
|
plans: i,
|
|
1247
|
-
onProceed:
|
|
1248
|
+
onProceed: m,
|
|
1248
1249
|
isGlobal: d = !1,
|
|
1249
|
-
t:
|
|
1250
|
+
t: h
|
|
1250
1251
|
}) => {
|
|
1251
|
-
const u = i ??
|
|
1252
|
+
const u = i ?? jr(d), N = n?.id || u.find((p) => p.badge)?.id || u[0]?.id || "", y = b(null);
|
|
1252
1253
|
return v(() => {
|
|
1253
1254
|
if (s && !n) {
|
|
1254
|
-
const p = u.find((
|
|
1255
|
+
const p = u.find((g) => g.badge) ?? u[0];
|
|
1255
1256
|
p && t(p);
|
|
1256
1257
|
}
|
|
1257
1258
|
}, [s, u, n, t]), v(() => {
|
|
1258
1259
|
if (!s) return;
|
|
1259
|
-
const p = document.body.style.overflow;
|
|
1260
|
-
return document.body.style.overflow = "hidden", () => {
|
|
1261
|
-
document.body.style.overflow = p;
|
|
1260
|
+
const p = document.body.style.overflow, g = document.documentElement.style.overflow;
|
|
1261
|
+
return document.body.style.overflow = "hidden", document.documentElement.style.overflow = "hidden", () => {
|
|
1262
|
+
document.body.style.overflow = p, document.documentElement.style.overflow = g;
|
|
1262
1263
|
};
|
|
1263
|
-
}, [s]), s ?
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
/* @__PURE__ */ e.
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
),
|
|
1278
|
-
/* @__PURE__ */ e.jsx("div", { className: o.plansContainer, role: "radiogroup", "aria-label": "Kundli matching plans", children: u.map((p) => /* @__PURE__ */ e.jsx(
|
|
1279
|
-
gr,
|
|
1280
|
-
{
|
|
1281
|
-
plan: p,
|
|
1282
|
-
isSelected: p.id === j,
|
|
1283
|
-
t: m,
|
|
1284
|
-
onSelect: (x) => {
|
|
1285
|
-
const k = u.find((I) => I.id === x);
|
|
1286
|
-
k && t(k);
|
|
1264
|
+
}, [s]), s ? xe(
|
|
1265
|
+
/* @__PURE__ */ e.jsx(
|
|
1266
|
+
"div",
|
|
1267
|
+
{
|
|
1268
|
+
className: o.overlay,
|
|
1269
|
+
role: "dialog",
|
|
1270
|
+
"aria-modal": "true",
|
|
1271
|
+
"aria-label": h?.("Choose Your Kundli Plan") ?? "Choose Your Kundli Plan",
|
|
1272
|
+
children: /* @__PURE__ */ e.jsxs("div", { ref: y, className: o.sheet, children: [
|
|
1273
|
+
/* @__PURE__ */ e.jsx(
|
|
1274
|
+
pr,
|
|
1275
|
+
{
|
|
1276
|
+
title: h?.("Choose Your Kundli Plan") ?? "Choose Your Kundli Plan",
|
|
1277
|
+
onBack: r
|
|
1287
1278
|
}
|
|
1288
|
-
|
|
1289
|
-
p.
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1279
|
+
),
|
|
1280
|
+
/* @__PURE__ */ e.jsx("div", { className: o.plansContainer, role: "radiogroup", "aria-label": "Kundli matching plans", children: u.map((p) => /* @__PURE__ */ e.jsx(
|
|
1281
|
+
xr,
|
|
1282
|
+
{
|
|
1283
|
+
plan: p,
|
|
1284
|
+
isSelected: p.id === N,
|
|
1285
|
+
t: h,
|
|
1286
|
+
onSelect: (g) => {
|
|
1287
|
+
const k = u.find((I) => I.id === g);
|
|
1288
|
+
k && t(k);
|
|
1289
|
+
}
|
|
1298
1290
|
},
|
|
1299
|
-
|
|
1300
|
-
}
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1291
|
+
p.id
|
|
1292
|
+
)) }),
|
|
1293
|
+
/* @__PURE__ */ e.jsx("div", { className: o.footer, children: /* @__PURE__ */ e.jsx(
|
|
1294
|
+
"button",
|
|
1295
|
+
{
|
|
1296
|
+
className: o.proceedBtn,
|
|
1297
|
+
disabled: !n,
|
|
1298
|
+
onClick: () => {
|
|
1299
|
+
n && (m(n), r());
|
|
1300
|
+
},
|
|
1301
|
+
children: n ? "Proceed to Payment" : "Select a plan"
|
|
1302
|
+
}
|
|
1303
|
+
) })
|
|
1304
|
+
] })
|
|
1305
|
+
}
|
|
1306
|
+
),
|
|
1307
|
+
document.body
|
|
1304
1308
|
) : null;
|
|
1305
|
-
},
|
|
1309
|
+
}, br = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", vr = 120, yr = (s, r) => de[s]?.[r] ?? r, Ir = (s, r) => s && q.includes(s) ? s : r ? "+1" : "+91";
|
|
1306
1310
|
function O({
|
|
1307
1311
|
section: s,
|
|
1308
1312
|
onImpression: r,
|
|
1309
1313
|
children: n
|
|
1310
1314
|
}) {
|
|
1311
|
-
const t =
|
|
1315
|
+
const t = b(null), i = b(!1);
|
|
1312
1316
|
return v(() => {
|
|
1313
|
-
const
|
|
1314
|
-
if (!
|
|
1317
|
+
const m = t.current;
|
|
1318
|
+
if (!m) return;
|
|
1315
1319
|
const d = new IntersectionObserver(
|
|
1316
|
-
([
|
|
1317
|
-
!
|
|
1320
|
+
([h]) => {
|
|
1321
|
+
!h?.isIntersecting || i.current || (i.current = !0, r(s));
|
|
1318
1322
|
},
|
|
1319
1323
|
{
|
|
1320
1324
|
threshold: 0.1,
|
|
1321
1325
|
// Shrink bottom of viewport by CTA footer height
|
|
1322
|
-
rootMargin: `0px 0px -${
|
|
1326
|
+
rootMargin: `0px 0px -${vr}px 0px`
|
|
1323
1327
|
}
|
|
1324
1328
|
);
|
|
1325
|
-
return d.observe(
|
|
1329
|
+
return d.observe(m), () => d.disconnect();
|
|
1326
1330
|
}, [s, r]), /* @__PURE__ */ e.jsx("div", { ref: t, children: n });
|
|
1327
1331
|
}
|
|
1328
|
-
const
|
|
1332
|
+
const Lr = ({
|
|
1329
1333
|
className: s = "",
|
|
1330
1334
|
locale: r,
|
|
1331
1335
|
showLanguageSelector: n = !0,
|
|
1332
1336
|
isGlobal: t = !1,
|
|
1333
1337
|
analytics: i,
|
|
1334
|
-
googleMapsApiKey:
|
|
1338
|
+
googleMapsApiKey: m,
|
|
1335
1339
|
plans: d,
|
|
1336
|
-
onProceed:
|
|
1340
|
+
onProceed: h,
|
|
1337
1341
|
onLocaleChange: u,
|
|
1338
|
-
initialFormValues:
|
|
1342
|
+
initialFormValues: N,
|
|
1339
1343
|
autoOpenPlanSheet: y
|
|
1340
1344
|
}) => /* @__PURE__ */ e.jsx(
|
|
1341
1345
|
ie,
|
|
@@ -1343,26 +1347,26 @@ const Tr = ({
|
|
|
1343
1347
|
locale: r,
|
|
1344
1348
|
showLanguageSelector: n,
|
|
1345
1349
|
isGlobal: t,
|
|
1346
|
-
googleMapsApiKey:
|
|
1350
|
+
googleMapsApiKey: m,
|
|
1347
1351
|
plans: d,
|
|
1348
|
-
onProceed:
|
|
1352
|
+
onProceed: h,
|
|
1349
1353
|
analytics: i,
|
|
1350
1354
|
onLocaleChange: u,
|
|
1351
|
-
initialFormValues:
|
|
1355
|
+
initialFormValues: N,
|
|
1352
1356
|
autoOpenPlanSheet: y,
|
|
1353
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1357
|
+
children: /* @__PURE__ */ e.jsx(wr, { className: s })
|
|
1354
1358
|
}
|
|
1355
1359
|
);
|
|
1356
|
-
function
|
|
1357
|
-
const { locale: r, setLocale: n, config: t, formValues: i, setFormValues:
|
|
1360
|
+
function wr({ className: s }) {
|
|
1361
|
+
const { locale: r, setLocale: n, config: t, formValues: i, setFormValues: m } = ce(), [d, h] = B(!1), [u, N] = B(
|
|
1358
1362
|
null
|
|
1359
1363
|
), [y, p] = B(
|
|
1360
|
-
() =>
|
|
1361
|
-
),
|
|
1364
|
+
() => Ir(i.phoneCountryCode, t.isGlobal ?? !1)
|
|
1365
|
+
), g = b(
|
|
1362
1366
|
!!(i.phoneCountryCode && q.includes(i.phoneCountryCode))
|
|
1363
|
-
), k =
|
|
1367
|
+
), k = b(!1), I = z((c) => {
|
|
1364
1368
|
k.current = !0, p(c);
|
|
1365
|
-
}, []), [T, P] = B(!1), S =
|
|
1369
|
+
}, []), [T, P] = B(!1), S = b(null), E = b(!1), x = b(null), l = (c) => yr(r, c), j = z((c) => {
|
|
1366
1370
|
({
|
|
1367
1371
|
hero: () => t.analytics?.trackHeroSectionViewed?.(),
|
|
1368
1372
|
features: () => t.analytics?.trackFeaturesSectionViewed?.(),
|
|
@@ -1384,41 +1388,41 @@ function Ir({ className: s }) {
|
|
|
1384
1388
|
}, [T]), v(() => {
|
|
1385
1389
|
t.analytics?.trackKundliMatchingPageView?.();
|
|
1386
1390
|
}, [t.analytics]);
|
|
1387
|
-
const F =
|
|
1391
|
+
const F = b(!0);
|
|
1388
1392
|
v(() => {
|
|
1389
1393
|
if (F.current) {
|
|
1390
1394
|
F.current = !1;
|
|
1391
1395
|
return;
|
|
1392
1396
|
}
|
|
1393
|
-
|
|
1397
|
+
g.current || k.current || p(t.isGlobal ? "+1" : "+91");
|
|
1394
1398
|
}, [t.isGlobal]), v(() => {
|
|
1395
1399
|
if (k.current) return;
|
|
1396
1400
|
const c = i.phoneCountryCode;
|
|
1397
|
-
c && q.includes(c) && c !== y && (
|
|
1401
|
+
c && q.includes(c) && c !== y && (g.current = !0, p(c));
|
|
1398
1402
|
}, [i.phoneCountryCode]);
|
|
1399
|
-
const R =
|
|
1403
|
+
const R = b(!1);
|
|
1400
1404
|
v(() => {
|
|
1401
|
-
R.current || !t.autoOpenPlanSheet || (R.current = !0,
|
|
1405
|
+
R.current || !t.autoOpenPlanSheet || (R.current = !0, h(!0), t.analytics?.trackPlanPageViewed?.());
|
|
1402
1406
|
}, [t.autoOpenPlanSheet, t.analytics]);
|
|
1403
|
-
const D =
|
|
1407
|
+
const D = b(!1);
|
|
1404
1408
|
v(() => {
|
|
1405
1409
|
if (D.current || t.autoOpenPlanSheet) return;
|
|
1406
1410
|
const c = t.initialFormValues;
|
|
1407
1411
|
if (!(!!c && (!!c.boy?.fullName || !!c.boy?.dateOfBirth || !!c.boy?.birthTime || !!c.boy?.birthPlace || !!c.girl?.fullName || !!c.girl?.dateOfBirth || !!c.girl?.birthTime || !!c.girl?.birthPlace || !!c.phone || !!c.email || !!c.reportLanguage))) return;
|
|
1408
1412
|
D.current = !0;
|
|
1409
|
-
const
|
|
1410
|
-
|
|
1413
|
+
const H = requestAnimationFrame(() => {
|
|
1414
|
+
x.current?.scrollIntoView({ behavior: "smooth", block: "start" });
|
|
1411
1415
|
});
|
|
1412
|
-
return () => cancelAnimationFrame(
|
|
1416
|
+
return () => cancelAnimationFrame(H);
|
|
1413
1417
|
}, [t.autoOpenPlanSheet, t.initialFormValues]);
|
|
1414
1418
|
const X = (c) => {
|
|
1415
|
-
|
|
1419
|
+
m(($) => ({ ...$, ...c }));
|
|
1416
1420
|
}, Z = () => {
|
|
1417
1421
|
t.analytics?.trackPrimaryCtaClickedL1?.({
|
|
1418
1422
|
avenue: "kundli_matching_form"
|
|
1419
|
-
}), E.current = !1,
|
|
1423
|
+
}), E.current = !1, h(!0), t.analytics?.trackPlanPageViewed?.();
|
|
1420
1424
|
}, ee = (c) => {
|
|
1421
|
-
|
|
1425
|
+
N(c), t.analytics?.trackPlanSelected?.({
|
|
1422
1426
|
planId: c.id,
|
|
1423
1427
|
planName: c.title
|
|
1424
1428
|
});
|
|
@@ -1431,13 +1435,13 @@ function Ir({ className: s }) {
|
|
|
1431
1435
|
planName: c.title,
|
|
1432
1436
|
price: c.price
|
|
1433
1437
|
});
|
|
1434
|
-
const $ = (i.phone ?? "").trim(),
|
|
1438
|
+
const $ = (i.phone ?? "").trim(), H = {
|
|
1435
1439
|
...i,
|
|
1436
1440
|
phone: $ && `${y}-${$}`
|
|
1437
1441
|
};
|
|
1438
|
-
t.onProceed ? t.onProceed(
|
|
1442
|
+
t.onProceed ? t.onProceed(H, c) : console.log("Proceeding to payment:", { formValues: H, plan: c });
|
|
1439
1443
|
}, ae = () => {
|
|
1440
|
-
E.current || t.analytics?.trackPlanPageClosed?.(),
|
|
1444
|
+
E.current || t.analytics?.trackPlanPageClosed?.(), h(!1);
|
|
1441
1445
|
}, te = W ? /* @__PURE__ */ e.jsxs("div", { className: "relative", ref: S, children: [
|
|
1442
1446
|
/* @__PURE__ */ e.jsxs(
|
|
1443
1447
|
"button",
|
|
@@ -1457,7 +1461,7 @@ function Ir({ className: s }) {
|
|
|
1457
1461
|
/* @__PURE__ */ e.jsx(
|
|
1458
1462
|
"img",
|
|
1459
1463
|
{
|
|
1460
|
-
src:
|
|
1464
|
+
src: br,
|
|
1461
1465
|
alt: "",
|
|
1462
1466
|
width: 16,
|
|
1463
1467
|
height: 16,
|
|
@@ -1495,19 +1499,19 @@ function Ir({ className: s }) {
|
|
|
1495
1499
|
] }) : null;
|
|
1496
1500
|
return /* @__PURE__ */ e.jsxs("div", { className: `kundli-matching-page-root ${s}`, children: [
|
|
1497
1501
|
/* @__PURE__ */ e.jsx(
|
|
1498
|
-
|
|
1502
|
+
je,
|
|
1499
1503
|
{
|
|
1500
1504
|
t: l,
|
|
1501
1505
|
languageSelector: te,
|
|
1502
1506
|
isGlobal: t.isGlobal
|
|
1503
1507
|
}
|
|
1504
1508
|
),
|
|
1505
|
-
/* @__PURE__ */ e.jsx(O, { section: "hero", onImpression:
|
|
1506
|
-
/* @__PURE__ */ e.jsx(O, { section: "features", onImpression:
|
|
1507
|
-
/* @__PURE__ */ e.jsx(O, { section: "sneakPeek", onImpression:
|
|
1508
|
-
/* @__PURE__ */ e.jsx(O, { section: "testimonials", onImpression:
|
|
1509
|
-
/* @__PURE__ */ e.jsx(O, { section: "benefits", onImpression:
|
|
1510
|
-
/* @__PURE__ */ e.jsx(O, { section: "form", onImpression:
|
|
1509
|
+
/* @__PURE__ */ e.jsx(O, { section: "hero", onImpression: j, children: /* @__PURE__ */ e.jsx($e, { t: l }) }),
|
|
1510
|
+
/* @__PURE__ */ e.jsx(O, { section: "features", onImpression: j, children: /* @__PURE__ */ e.jsx(Fe, { t: l }) }),
|
|
1511
|
+
/* @__PURE__ */ e.jsx(O, { section: "sneakPeek", onImpression: j, children: /* @__PURE__ */ e.jsx(pa, { t: l, analytics: t.analytics }) }),
|
|
1512
|
+
/* @__PURE__ */ e.jsx(O, { section: "testimonials", onImpression: j, children: /* @__PURE__ */ e.jsx(Aa, { t: l, analytics: t.analytics }) }),
|
|
1513
|
+
/* @__PURE__ */ e.jsx(O, { section: "benefits", onImpression: j, children: /* @__PURE__ */ e.jsx(za, { t: l }) }),
|
|
1514
|
+
/* @__PURE__ */ e.jsx(O, { section: "form", onImpression: j, children: /* @__PURE__ */ e.jsx("div", { ref: x, children: /* @__PURE__ */ e.jsx(
|
|
1511
1515
|
le,
|
|
1512
1516
|
{
|
|
1513
1517
|
t: l,
|
|
@@ -1520,11 +1524,11 @@ function Ir({ className: s }) {
|
|
|
1520
1524
|
onPhoneIsdCodeChange: I
|
|
1521
1525
|
}
|
|
1522
1526
|
) }) }),
|
|
1523
|
-
/* @__PURE__ */ e.jsx(O, { section: "howItWorks", onImpression:
|
|
1524
|
-
/* @__PURE__ */ e.jsx(O, { section: "whyUs", onImpression:
|
|
1525
|
-
/* @__PURE__ */ e.jsx(O, { section: "faq", onImpression:
|
|
1527
|
+
/* @__PURE__ */ e.jsx(O, { section: "howItWorks", onImpression: j, children: /* @__PURE__ */ e.jsx(ss, { t: l }) }),
|
|
1528
|
+
/* @__PURE__ */ e.jsx(O, { section: "whyUs", onImpression: j, children: /* @__PURE__ */ e.jsx(rt, { t: l }) }),
|
|
1529
|
+
/* @__PURE__ */ e.jsx(O, { section: "faq", onImpression: j, children: /* @__PURE__ */ e.jsx(ot, { t: l }) }),
|
|
1526
1530
|
/* @__PURE__ */ e.jsx(
|
|
1527
|
-
|
|
1531
|
+
bt,
|
|
1528
1532
|
{
|
|
1529
1533
|
t: l,
|
|
1530
1534
|
values: i,
|
|
@@ -1534,7 +1538,7 @@ function Ir({ className: s }) {
|
|
|
1534
1538
|
}
|
|
1535
1539
|
),
|
|
1536
1540
|
/* @__PURE__ */ e.jsx(
|
|
1537
|
-
|
|
1541
|
+
Nr,
|
|
1538
1542
|
{
|
|
1539
1543
|
isOpen: d,
|
|
1540
1544
|
onClose: ae,
|
|
@@ -1548,21 +1552,21 @@ function Ir({ className: s }) {
|
|
|
1548
1552
|
)
|
|
1549
1553
|
] });
|
|
1550
1554
|
}
|
|
1551
|
-
const
|
|
1555
|
+
const Br = "[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-matching-page-root{contain:layout}";
|
|
1552
1556
|
export {
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1557
|
+
za as B,
|
|
1558
|
+
ot as F,
|
|
1559
|
+
De as H,
|
|
1560
|
+
Br as K,
|
|
1561
|
+
bt as P,
|
|
1562
|
+
pa as S,
|
|
1563
|
+
Aa as T,
|
|
1564
|
+
ia as V,
|
|
1565
|
+
rt as W,
|
|
1566
|
+
Lr as a,
|
|
1567
|
+
Fe as b,
|
|
1568
|
+
$e as c,
|
|
1569
|
+
ss as d,
|
|
1570
|
+
je as e
|
|
1567
1571
|
};
|
|
1568
|
-
//# sourceMappingURL=criticalCss-
|
|
1572
|
+
//# sourceMappingURL=criticalCss-C2t1JWCr.js.map
|