@srimandir/kundli-matching-generator 7.0.0 → 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.
|
@@ -1,30 +1,30 @@
|
|
|
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
|
|
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
4
|
import { createPortal as xe } from "react-dom";
|
|
5
|
-
const
|
|
5
|
+
const fe = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", je = ({
|
|
6
6
|
t: s,
|
|
7
7
|
languageSelector: r,
|
|
8
|
-
logoUrl: n =
|
|
8
|
+
logoUrl: n = fe,
|
|
9
9
|
className: t = "",
|
|
10
10
|
isGlobal: i = !0,
|
|
11
|
-
imageComponent:
|
|
11
|
+
imageComponent: m
|
|
12
12
|
}) => {
|
|
13
13
|
const d = r != null && !i;
|
|
14
14
|
return /* @__PURE__ */ e.jsx(
|
|
15
|
-
|
|
15
|
+
he,
|
|
16
16
|
{
|
|
17
17
|
t: s,
|
|
18
18
|
logoUrl: n,
|
|
19
|
-
imageComponent:
|
|
19
|
+
imageComponent: m,
|
|
20
20
|
languageSelector: r,
|
|
21
21
|
showLanguageSelector: d,
|
|
22
22
|
className: t
|
|
23
23
|
}
|
|
24
24
|
);
|
|
25
|
-
},
|
|
26
|
-
hero:
|
|
27
|
-
title:
|
|
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
28
|
subtitle: ve,
|
|
29
29
|
badges: ye,
|
|
30
30
|
badge: Ie,
|
|
@@ -160,7 +160,7 @@ const be = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", fe = ({
|
|
|
160
160
|
]
|
|
161
161
|
}
|
|
162
162
|
);
|
|
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",
|
|
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
164
|
sneakPeek: as,
|
|
165
165
|
badge: ts,
|
|
166
166
|
starIcon: rs,
|
|
@@ -170,17 +170,17 @@ const be = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", fe = ({
|
|
|
170
170
|
carousel: os,
|
|
171
171
|
card: ls,
|
|
172
172
|
cardHeader: ds,
|
|
173
|
-
cardNumber:
|
|
174
|
-
headerText:
|
|
173
|
+
cardNumber: ms,
|
|
174
|
+
headerText: hs,
|
|
175
175
|
cardTitle: ps,
|
|
176
176
|
cardDescription: _s,
|
|
177
177
|
cardBody: us,
|
|
178
178
|
reportHeader: gs,
|
|
179
179
|
reportBrand: xs,
|
|
180
|
-
reportLabel:
|
|
181
|
-
coupleInfo:
|
|
182
|
-
personInfo:
|
|
183
|
-
name:
|
|
180
|
+
reportLabel: fs,
|
|
181
|
+
coupleInfo: js,
|
|
182
|
+
personInfo: Ns,
|
|
183
|
+
name: bs,
|
|
184
184
|
value: vs,
|
|
185
185
|
separator: ys,
|
|
186
186
|
chevronIcon: Is,
|
|
@@ -227,7 +227,7 @@ const ra = ({
|
|
|
227
227
|
title: n,
|
|
228
228
|
pdfUrl: t
|
|
229
229
|
}) => {
|
|
230
|
-
const i =
|
|
230
|
+
const i = b(null), [m, d] = B(!0), [h, u] = B(null), [N, y] = B(null);
|
|
231
231
|
return v(() => {
|
|
232
232
|
if (!s) return;
|
|
233
233
|
const p = (g) => {
|
|
@@ -243,18 +243,18 @@ const ra = ({
|
|
|
243
243
|
u("Failed to load PDF viewer"), d(!1);
|
|
244
244
|
});
|
|
245
245
|
}, [s]), v(() => {
|
|
246
|
-
if (!s || !t || !i.current || !
|
|
246
|
+
if (!s || !t || !i.current || !N) return;
|
|
247
247
|
d(!0), u(null), i.current.innerHTML = "", (async () => {
|
|
248
248
|
try {
|
|
249
|
-
ta(
|
|
250
|
-
const k = await
|
|
249
|
+
ta(N);
|
|
250
|
+
const k = await N.getDocument({ url: t }).promise, I = i.current;
|
|
251
251
|
if (!I) return;
|
|
252
252
|
const T = I.clientWidth || 600, P = Math.min(T / 612, 2);
|
|
253
253
|
for (let S = 1; S <= k.numPages; S++) {
|
|
254
254
|
const E = await k.getPage(S), x = E.getViewport({ scale: P }), l = document.createElement("canvas");
|
|
255
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
|
|
257
|
-
|
|
256
|
+
const j = l.getContext("2d");
|
|
257
|
+
j && await E.render({ canvasContext: j, viewport: x }).promise, I.appendChild(l);
|
|
258
258
|
}
|
|
259
259
|
} catch (g) {
|
|
260
260
|
u(g instanceof Error ? g.message : "Failed to load PDF");
|
|
@@ -262,7 +262,7 @@ const ra = ({
|
|
|
262
262
|
d(!1);
|
|
263
263
|
}
|
|
264
264
|
})();
|
|
265
|
-
}, [s, t,
|
|
265
|
+
}, [s, t, N]), s ? /* @__PURE__ */ e.jsx(
|
|
266
266
|
"div",
|
|
267
267
|
{
|
|
268
268
|
className: L.backdrop,
|
|
@@ -291,8 +291,8 @@ const ra = ({
|
|
|
291
291
|
] }),
|
|
292
292
|
/* @__PURE__ */ e.jsxs("div", { className: L.content, children: [
|
|
293
293
|
/* @__PURE__ */ e.jsxs("div", { className: L.pdfFrame, children: [
|
|
294
|
-
|
|
295
|
-
/* @__PURE__ */ e.jsx("span", { children:
|
|
294
|
+
h && /* @__PURE__ */ e.jsxs("div", { className: L.pdfError, children: [
|
|
295
|
+
/* @__PURE__ */ e.jsx("span", { children: h }),
|
|
296
296
|
/* @__PURE__ */ e.jsx("a", { href: t, target: "_blank", rel: "noopener noreferrer", children: "Open in new tab instead" })
|
|
297
297
|
] }),
|
|
298
298
|
/* @__PURE__ */ e.jsx("div", { ref: i, className: L.pdfPages })
|
|
@@ -319,10 +319,10 @@ const ra = ({
|
|
|
319
319
|
analytics: n,
|
|
320
320
|
className: t = ""
|
|
321
321
|
}) => {
|
|
322
|
-
const [i,
|
|
323
|
-
n?.trackViewSampleReportClicked?.(),
|
|
324
|
-
},
|
|
325
|
-
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);
|
|
326
326
|
};
|
|
327
327
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
328
328
|
/* @__PURE__ */ e.jsx("button", { type: "button", className: `${Gs.button} ${t}`, onClick: u, children: d }),
|
|
@@ -330,26 +330,26 @@ const ra = ({
|
|
|
330
330
|
ra,
|
|
331
331
|
{
|
|
332
332
|
isOpen: i,
|
|
333
|
-
onClose:
|
|
334
|
-
title:
|
|
333
|
+
onClose: N,
|
|
334
|
+
title: h,
|
|
335
335
|
pdfUrl: r
|
|
336
336
|
}
|
|
337
337
|
)
|
|
338
338
|
] });
|
|
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",
|
|
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
340
|
function K({
|
|
341
341
|
cardNumber: s,
|
|
342
342
|
cardTitle: r,
|
|
343
343
|
analytics: n,
|
|
344
344
|
children: t
|
|
345
345
|
}) {
|
|
346
|
-
const i =
|
|
346
|
+
const i = b(null), m = b(!1);
|
|
347
347
|
return v(() => {
|
|
348
348
|
const d = i.current;
|
|
349
349
|
if (!d) return;
|
|
350
|
-
const
|
|
350
|
+
const h = new IntersectionObserver(
|
|
351
351
|
([u]) => {
|
|
352
|
-
!u?.isIntersecting ||
|
|
352
|
+
!u?.isIntersecting || m.current || (m.current = !0, n?.trackSneakPeekCardViewed?.({
|
|
353
353
|
cardNumber: s,
|
|
354
354
|
cardTitle: r
|
|
355
355
|
}));
|
|
@@ -357,7 +357,7 @@ function K({
|
|
|
357
357
|
{ threshold: 0.5 }
|
|
358
358
|
// Card must be 50% visible
|
|
359
359
|
);
|
|
360
|
-
return
|
|
360
|
+
return h.observe(d), () => h.disconnect();
|
|
361
361
|
}, [s, r, n]), /* @__PURE__ */ e.jsx("div", { ref: i, children: t });
|
|
362
362
|
}
|
|
363
363
|
const pa = ({
|
|
@@ -593,7 +593,7 @@ const pa = ({
|
|
|
593
593
|
/* @__PURE__ */ e.jsx(
|
|
594
594
|
"img",
|
|
595
595
|
{
|
|
596
|
-
src:
|
|
596
|
+
src: ma,
|
|
597
597
|
alt: "",
|
|
598
598
|
className: a.predictionIcon
|
|
599
599
|
}
|
|
@@ -604,7 +604,7 @@ const pa = ({
|
|
|
604
604
|
/* @__PURE__ */ e.jsx(
|
|
605
605
|
"img",
|
|
606
606
|
{
|
|
607
|
-
src:
|
|
607
|
+
src: ha,
|
|
608
608
|
alt: "",
|
|
609
609
|
className: a.predictionIcon
|
|
610
610
|
}
|
|
@@ -619,15 +619,15 @@ const pa = ({
|
|
|
619
619
|
)
|
|
620
620
|
] }) }),
|
|
621
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",
|
|
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
623
|
testimonials: _a,
|
|
624
624
|
heading: ua,
|
|
625
625
|
subheading: ga,
|
|
626
626
|
carouselWrapper: xa,
|
|
627
|
-
carousel:
|
|
628
|
-
card:
|
|
629
|
-
cardActive:
|
|
630
|
-
cardContent:
|
|
627
|
+
carousel: fa,
|
|
628
|
+
card: ja,
|
|
629
|
+
cardActive: Na,
|
|
630
|
+
cardContent: ba,
|
|
631
631
|
header: va,
|
|
632
632
|
headerInfo: ya,
|
|
633
633
|
avatar: Ia,
|
|
@@ -647,7 +647,7 @@ const pa = ({
|
|
|
647
647
|
className: n = "",
|
|
648
648
|
analytics: t
|
|
649
649
|
}) => {
|
|
650
|
-
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 || [
|
|
651
651
|
{
|
|
652
652
|
name: s("testimonial1Name"),
|
|
653
653
|
avatarUrl: s("testimonial1Avatar"),
|
|
@@ -699,10 +699,10 @@ const pa = ({
|
|
|
699
699
|
], k = [...g, ...g, ...g], I = g.length, T = I, P = (x, l = !0) => {
|
|
700
700
|
if (!i.current) return;
|
|
701
701
|
y.current = !0;
|
|
702
|
-
const
|
|
702
|
+
const j = i.current, W = j.children[0];
|
|
703
703
|
if (!W) return;
|
|
704
704
|
const F = W.offsetWidth, D = x * (F + 16);
|
|
705
|
-
|
|
705
|
+
j.scrollTo({
|
|
706
706
|
left: D,
|
|
707
707
|
behavior: l ? "smooth" : "auto"
|
|
708
708
|
}), setTimeout(() => {
|
|
@@ -715,36 +715,36 @@ const pa = ({
|
|
|
715
715
|
}, 50);
|
|
716
716
|
return () => clearTimeout(x);
|
|
717
717
|
}, [T]), v(() => () => {
|
|
718
|
-
|
|
718
|
+
N.current && clearTimeout(N.current);
|
|
719
719
|
}, []), v(() => {
|
|
720
|
-
if (
|
|
720
|
+
if (h) return;
|
|
721
721
|
const x = setInterval(() => {
|
|
722
722
|
d((l) => l + 1);
|
|
723
723
|
}, $a);
|
|
724
724
|
return () => clearInterval(x);
|
|
725
|
-
}, [
|
|
726
|
-
if (!i.current ||
|
|
727
|
-
P(
|
|
725
|
+
}, [h]), v(() => {
|
|
726
|
+
if (!i.current || m === 0) return;
|
|
727
|
+
P(m, !0);
|
|
728
728
|
const x = setTimeout(() => {
|
|
729
729
|
if (i.current) {
|
|
730
|
-
if (
|
|
731
|
-
const l =
|
|
730
|
+
if (m >= I * 2) {
|
|
731
|
+
const l = m - I;
|
|
732
732
|
d(l), P(l, !1);
|
|
733
|
-
} else if (
|
|
734
|
-
const l =
|
|
733
|
+
} else if (m < I) {
|
|
734
|
+
const l = m + I;
|
|
735
735
|
d(l), P(l, !1);
|
|
736
736
|
}
|
|
737
737
|
}
|
|
738
738
|
}, 700);
|
|
739
739
|
return () => clearTimeout(x);
|
|
740
|
-
}, [
|
|
740
|
+
}, [m, I]);
|
|
741
741
|
const S = () => {
|
|
742
|
-
!i.current || y.current || (
|
|
742
|
+
!i.current || y.current || (N.current && clearTimeout(N.current), N.current = setTimeout(() => {
|
|
743
743
|
if (!i.current || y.current) return;
|
|
744
|
-
const x = i.current, l = x.scrollLeft,
|
|
745
|
-
if (!
|
|
746
|
-
const W =
|
|
747
|
-
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) {
|
|
748
748
|
d(R);
|
|
749
749
|
const D = R % I;
|
|
750
750
|
p.current !== D && t?.trackTestimonialScrolled && (p.current = D, t.trackTestimonialScrolled({
|
|
@@ -754,13 +754,13 @@ const pa = ({
|
|
|
754
754
|
}));
|
|
755
755
|
}
|
|
756
756
|
}, 100));
|
|
757
|
-
}, E = (x) => Array.from({ length: 5 }, (l,
|
|
757
|
+
}, E = (x) => Array.from({ length: 5 }, (l, j) => /* @__PURE__ */ e.jsx(
|
|
758
758
|
"span",
|
|
759
759
|
{
|
|
760
|
-
className:
|
|
760
|
+
className: j < x ? _.starFilled : _.starEmpty,
|
|
761
761
|
children: "★"
|
|
762
762
|
},
|
|
763
|
-
|
|
763
|
+
j
|
|
764
764
|
));
|
|
765
765
|
return /* @__PURE__ */ e.jsxs("section", { className: `${_.testimonials} ${n}`, children: [
|
|
766
766
|
/* @__PURE__ */ e.jsx("h2", { className: _.heading, children: s("testimonialsHeading") }),
|
|
@@ -780,11 +780,11 @@ const pa = ({
|
|
|
780
780
|
className: _.carousel,
|
|
781
781
|
onScroll: S,
|
|
782
782
|
children: k.map((x, l) => {
|
|
783
|
-
const
|
|
783
|
+
const j = l === m;
|
|
784
784
|
return /* @__PURE__ */ e.jsx(
|
|
785
785
|
"div",
|
|
786
786
|
{
|
|
787
|
-
className: `${_.card} ${
|
|
787
|
+
className: `${_.card} ${j ? _.cardActive : ""}`,
|
|
788
788
|
children: /* @__PURE__ */ e.jsxs("div", { className: _.cardContent, children: [
|
|
789
789
|
/* @__PURE__ */ e.jsxs("div", { className: _.header, children: [
|
|
790
790
|
/* @__PURE__ */ e.jsx(
|
|
@@ -827,7 +827,7 @@ const pa = ({
|
|
|
827
827
|
] })
|
|
828
828
|
] })
|
|
829
829
|
] });
|
|
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",
|
|
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
831
|
benefits: Oa,
|
|
832
832
|
heading: Ea,
|
|
833
833
|
subheading: Ma,
|
|
@@ -843,29 +843,29 @@ const pa = ({
|
|
|
843
843
|
}, V = "https://srm-cdn.a4b.io/yoda/1774526823534.svg", za = ({
|
|
844
844
|
t: s,
|
|
845
845
|
className: r = ""
|
|
846
|
-
}) => /* @__PURE__ */ e.jsxs("section", { className: `${
|
|
847
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
848
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
849
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
850
|
-
/* @__PURE__ */ e.jsxs("div", { className: `${
|
|
851
|
-
/* @__PURE__ */ e.jsx("img", { src: V, alt: "", className:
|
|
852
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
853
|
-
/* @__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") })
|
|
854
854
|
] }),
|
|
855
|
-
/* @__PURE__ */ e.jsxs("div", { className: `${
|
|
856
|
-
/* @__PURE__ */ e.jsx("img", { src: V, alt: "", className:
|
|
857
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
858
|
-
/* @__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") })
|
|
859
859
|
] }),
|
|
860
|
-
/* @__PURE__ */ e.jsxs("div", { className: `${
|
|
861
|
-
/* @__PURE__ */ e.jsx("img", { src: V, alt: "", className:
|
|
862
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
863
|
-
/* @__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") })
|
|
864
864
|
] }),
|
|
865
|
-
/* @__PURE__ */ e.jsxs("div", { className: `${
|
|
866
|
-
/* @__PURE__ */ e.jsx("img", { src: V, alt: "", className:
|
|
867
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
868
|
-
/* @__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") })
|
|
869
869
|
] })
|
|
870
870
|
] })
|
|
871
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 = {
|
|
@@ -923,11 +923,11 @@ const pa = ({
|
|
|
923
923
|
className: r,
|
|
924
924
|
headingClassName: n
|
|
925
925
|
}
|
|
926
|
-
) }), lt = "_ctaIncomplete_s0fgg_1", dt = "_ctaCompleted_s0fgg_19",
|
|
926
|
+
) }), lt = "_ctaIncomplete_s0fgg_1", dt = "_ctaCompleted_s0fgg_19", mt = "_ctaWithArrow_s0fgg_45", ht = "_chevronRight_s0fgg_54", G = {
|
|
927
927
|
ctaIncomplete: lt,
|
|
928
928
|
ctaCompleted: dt,
|
|
929
|
-
ctaWithArrow:
|
|
930
|
-
chevronRight:
|
|
929
|
+
ctaWithArrow: mt,
|
|
930
|
+
chevronRight: ht
|
|
931
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(
|
|
932
932
|
"div",
|
|
933
933
|
{
|
|
@@ -977,22 +977,22 @@ const pa = ({
|
|
|
977
977
|
] })
|
|
978
978
|
]
|
|
979
979
|
}
|
|
980
|
-
),
|
|
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 = ({
|
|
981
981
|
t: s,
|
|
982
982
|
values: r,
|
|
983
983
|
onProceed: n,
|
|
984
984
|
isGlobal: t = !1,
|
|
985
985
|
analytics: i,
|
|
986
|
-
className:
|
|
986
|
+
className: m = ""
|
|
987
987
|
}) => {
|
|
988
|
-
const d =
|
|
989
|
-
() =>
|
|
988
|
+
const d = me(
|
|
989
|
+
() => Nt(r, t),
|
|
990
990
|
[r, t]
|
|
991
|
-
),
|
|
992
|
-
if (
|
|
993
|
-
ctaText: s(
|
|
994
|
-
isFormComplete:
|
|
995
|
-
}), !
|
|
991
|
+
), h = d === null, u = (N) => {
|
|
992
|
+
if (N.preventDefault(), i?.trackKundliMatchingL0CtaClick?.({
|
|
993
|
+
ctaText: s(h ? "ctaButtonSelectPlan" : "ctaButton"),
|
|
994
|
+
isFormComplete: h
|
|
995
|
+
}), !h) {
|
|
996
996
|
if (d) {
|
|
997
997
|
const p = {
|
|
998
998
|
"boy.fullName": "boy-full-name",
|
|
@@ -1013,14 +1013,14 @@ const pa = ({
|
|
|
1013
1013
|
}
|
|
1014
1014
|
n();
|
|
1015
1015
|
};
|
|
1016
|
-
return /* @__PURE__ */ e.jsxs(_e, { className:
|
|
1016
|
+
return /* @__PURE__ */ e.jsxs(_e, { className: m, children: [
|
|
1017
1017
|
/* @__PURE__ */ e.jsx(ue, { children: /* @__PURE__ */ e.jsx(xt, { t: s }) }),
|
|
1018
1018
|
/* @__PURE__ */ e.jsx(
|
|
1019
1019
|
ge,
|
|
1020
1020
|
{
|
|
1021
1021
|
onClick: u,
|
|
1022
|
-
className:
|
|
1023
|
-
children:
|
|
1022
|
+
className: h ? G.ctaCompleted : G.ctaIncomplete,
|
|
1023
|
+
children: h ? /* @__PURE__ */ e.jsxs("span", { className: G.ctaWithArrow, children: [
|
|
1024
1024
|
s("ctaButtonSelectPlan"),
|
|
1025
1025
|
/* @__PURE__ */ e.jsx(
|
|
1026
1026
|
"img",
|
|
@@ -1057,7 +1057,7 @@ const pa = ({
|
|
|
1057
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: [
|
|
1058
1058
|
/* @__PURE__ */ e.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
|
|
1059
1059
|
/* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
1060
|
-
] }), kt = "
|
|
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
1061
|
overlay: kt,
|
|
1062
1062
|
sheet: Ct,
|
|
1063
1063
|
header: Tt,
|
|
@@ -1097,8 +1097,8 @@ const pa = ({
|
|
|
1097
1097
|
astrologerCertList: or,
|
|
1098
1098
|
astrologerCertItem: lr,
|
|
1099
1099
|
bullet: dr,
|
|
1100
|
-
footer:
|
|
1101
|
-
proceedBtn:
|
|
1100
|
+
footer: mr,
|
|
1101
|
+
proceedBtn: hr
|
|
1102
1102
|
}, pr = ({ title: s, onBack: r }) => /* @__PURE__ */ e.jsxs("div", { className: o.header, children: [
|
|
1103
1103
|
/* @__PURE__ */ e.jsx(
|
|
1104
1104
|
"button",
|
|
@@ -1132,7 +1132,7 @@ const pa = ({
|
|
|
1132
1132
|
/* @__PURE__ */ e.jsx(wt, {}),
|
|
1133
1133
|
/* @__PURE__ */ e.jsx("span", { children: s })
|
|
1134
1134
|
] }), xr = ({ plan: s, isSelected: r, onSelect: n, t }) => {
|
|
1135
|
-
const i = () => n(s.id),
|
|
1135
|
+
const i = () => n(s.id), m = (d) => {
|
|
1136
1136
|
(d.key === " " || d.key === "Enter") && (d.preventDefault(), n(s.id));
|
|
1137
1137
|
};
|
|
1138
1138
|
return /* @__PURE__ */ e.jsxs(
|
|
@@ -1147,7 +1147,7 @@ const pa = ({
|
|
|
1147
1147
|
role: "radio",
|
|
1148
1148
|
"aria-checked": r,
|
|
1149
1149
|
tabIndex: 0,
|
|
1150
|
-
onKeyDown:
|
|
1150
|
+
onKeyDown: m,
|
|
1151
1151
|
"data-plan-id": s.id,
|
|
1152
1152
|
children: [
|
|
1153
1153
|
s.badge && /* @__PURE__ */ e.jsx(gr, { label: s.badge }),
|
|
@@ -1172,13 +1172,13 @@ const pa = ({
|
|
|
1172
1172
|
s.astrologers && /* @__PURE__ */ e.jsx("div", { className: o.planDivider }),
|
|
1173
1173
|
s.astrologers && s.astrologers.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1174
1174
|
/* @__PURE__ */ e.jsx("p", { className: o.astrologerHeading, children: "We will assign you a top astrologer from below" }),
|
|
1175
|
-
/* @__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)) })
|
|
1176
1176
|
] })
|
|
1177
1177
|
] })
|
|
1178
1178
|
]
|
|
1179
1179
|
}
|
|
1180
1180
|
);
|
|
1181
|
-
},
|
|
1181
|
+
}, fr = [
|
|
1182
1182
|
{
|
|
1183
1183
|
id: "jyoti",
|
|
1184
1184
|
name: "Jyoti Acharya Neeraj",
|
|
@@ -1209,7 +1209,7 @@ const pa = ({
|
|
|
1209
1209
|
"Mantra & Rudraksha Specialist"
|
|
1210
1210
|
]
|
|
1211
1211
|
}
|
|
1212
|
-
],
|
|
1212
|
+
], jr = (s = !1) => [
|
|
1213
1213
|
{
|
|
1214
1214
|
id: "matching-report",
|
|
1215
1215
|
title: "Kundli Matching Report",
|
|
@@ -1237,19 +1237,19 @@ const pa = ({
|
|
|
1237
1237
|
{ text: "Discuss doshas, future possibilities, family concerns, and compatibility", included: !0 },
|
|
1238
1238
|
{ text: "Get direct answers, custom remedies & real-time clarity", included: !0 }
|
|
1239
1239
|
],
|
|
1240
|
-
astrologers:
|
|
1240
|
+
astrologers: fr
|
|
1241
1241
|
}
|
|
1242
|
-
],
|
|
1242
|
+
], Nr = ({
|
|
1243
1243
|
isOpen: s,
|
|
1244
1244
|
onClose: r,
|
|
1245
1245
|
selectedPlan: n,
|
|
1246
1246
|
onSelectPlan: t,
|
|
1247
1247
|
plans: i,
|
|
1248
|
-
onProceed:
|
|
1248
|
+
onProceed: m,
|
|
1249
1249
|
isGlobal: d = !1,
|
|
1250
|
-
t:
|
|
1250
|
+
t: h
|
|
1251
1251
|
}) => {
|
|
1252
|
-
const u = i ??
|
|
1252
|
+
const u = i ?? jr(d), N = n?.id || u.find((p) => p.badge)?.id || u[0]?.id || "", y = b(null);
|
|
1253
1253
|
return v(() => {
|
|
1254
1254
|
if (s && !n) {
|
|
1255
1255
|
const p = u.find((g) => g.badge) ?? u[0];
|
|
@@ -1268,12 +1268,12 @@ const pa = ({
|
|
|
1268
1268
|
className: o.overlay,
|
|
1269
1269
|
role: "dialog",
|
|
1270
1270
|
"aria-modal": "true",
|
|
1271
|
-
"aria-label":
|
|
1271
|
+
"aria-label": h?.("Choose Your Kundli Plan") ?? "Choose Your Kundli Plan",
|
|
1272
1272
|
children: /* @__PURE__ */ e.jsxs("div", { ref: y, className: o.sheet, children: [
|
|
1273
1273
|
/* @__PURE__ */ e.jsx(
|
|
1274
1274
|
pr,
|
|
1275
1275
|
{
|
|
1276
|
-
title:
|
|
1276
|
+
title: h?.("Choose Your Kundli Plan") ?? "Choose Your Kundli Plan",
|
|
1277
1277
|
onBack: r
|
|
1278
1278
|
}
|
|
1279
1279
|
),
|
|
@@ -1281,8 +1281,8 @@ const pa = ({
|
|
|
1281
1281
|
xr,
|
|
1282
1282
|
{
|
|
1283
1283
|
plan: p,
|
|
1284
|
-
isSelected: p.id ===
|
|
1285
|
-
t:
|
|
1284
|
+
isSelected: p.id === N,
|
|
1285
|
+
t: h,
|
|
1286
1286
|
onSelect: (g) => {
|
|
1287
1287
|
const k = u.find((I) => I.id === g);
|
|
1288
1288
|
k && t(k);
|
|
@@ -1296,7 +1296,7 @@ const pa = ({
|
|
|
1296
1296
|
className: o.proceedBtn,
|
|
1297
1297
|
disabled: !n,
|
|
1298
1298
|
onClick: () => {
|
|
1299
|
-
n && (
|
|
1299
|
+
n && (m(n), r());
|
|
1300
1300
|
},
|
|
1301
1301
|
children: n ? "Proceed to Payment" : "Select a plan"
|
|
1302
1302
|
}
|
|
@@ -1306,19 +1306,19 @@ const pa = ({
|
|
|
1306
1306
|
),
|
|
1307
1307
|
document.body
|
|
1308
1308
|
) : null;
|
|
1309
|
-
},
|
|
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";
|
|
1310
1310
|
function O({
|
|
1311
1311
|
section: s,
|
|
1312
1312
|
onImpression: r,
|
|
1313
1313
|
children: n
|
|
1314
1314
|
}) {
|
|
1315
|
-
const t =
|
|
1315
|
+
const t = b(null), i = b(!1);
|
|
1316
1316
|
return v(() => {
|
|
1317
|
-
const
|
|
1318
|
-
if (!
|
|
1317
|
+
const m = t.current;
|
|
1318
|
+
if (!m) return;
|
|
1319
1319
|
const d = new IntersectionObserver(
|
|
1320
|
-
([
|
|
1321
|
-
!
|
|
1320
|
+
([h]) => {
|
|
1321
|
+
!h?.isIntersecting || i.current || (i.current = !0, r(s));
|
|
1322
1322
|
},
|
|
1323
1323
|
{
|
|
1324
1324
|
threshold: 0.1,
|
|
@@ -1326,7 +1326,7 @@ function O({
|
|
|
1326
1326
|
rootMargin: `0px 0px -${vr}px 0px`
|
|
1327
1327
|
}
|
|
1328
1328
|
);
|
|
1329
|
-
return d.observe(
|
|
1329
|
+
return d.observe(m), () => d.disconnect();
|
|
1330
1330
|
}, [s, r]), /* @__PURE__ */ e.jsx("div", { ref: t, children: n });
|
|
1331
1331
|
}
|
|
1332
1332
|
const Lr = ({
|
|
@@ -1335,11 +1335,11 @@ const Lr = ({
|
|
|
1335
1335
|
showLanguageSelector: n = !0,
|
|
1336
1336
|
isGlobal: t = !1,
|
|
1337
1337
|
analytics: i,
|
|
1338
|
-
googleMapsApiKey:
|
|
1338
|
+
googleMapsApiKey: m,
|
|
1339
1339
|
plans: d,
|
|
1340
|
-
onProceed:
|
|
1340
|
+
onProceed: h,
|
|
1341
1341
|
onLocaleChange: u,
|
|
1342
|
-
initialFormValues:
|
|
1342
|
+
initialFormValues: N,
|
|
1343
1343
|
autoOpenPlanSheet: y
|
|
1344
1344
|
}) => /* @__PURE__ */ e.jsx(
|
|
1345
1345
|
ie,
|
|
@@ -1347,26 +1347,26 @@ const Lr = ({
|
|
|
1347
1347
|
locale: r,
|
|
1348
1348
|
showLanguageSelector: n,
|
|
1349
1349
|
isGlobal: t,
|
|
1350
|
-
googleMapsApiKey:
|
|
1350
|
+
googleMapsApiKey: m,
|
|
1351
1351
|
plans: d,
|
|
1352
|
-
onProceed:
|
|
1352
|
+
onProceed: h,
|
|
1353
1353
|
analytics: i,
|
|
1354
1354
|
onLocaleChange: u,
|
|
1355
|
-
initialFormValues:
|
|
1355
|
+
initialFormValues: N,
|
|
1356
1356
|
autoOpenPlanSheet: y,
|
|
1357
1357
|
children: /* @__PURE__ */ e.jsx(wr, { className: s })
|
|
1358
1358
|
}
|
|
1359
1359
|
);
|
|
1360
1360
|
function wr({ className: s }) {
|
|
1361
|
-
const { locale: r, setLocale: n, config: t, formValues: i, setFormValues:
|
|
1361
|
+
const { locale: r, setLocale: n, config: t, formValues: i, setFormValues: m } = ce(), [d, h] = B(!1), [u, N] = B(
|
|
1362
1362
|
null
|
|
1363
1363
|
), [y, p] = B(
|
|
1364
1364
|
() => Ir(i.phoneCountryCode, t.isGlobal ?? !1)
|
|
1365
|
-
), g =
|
|
1365
|
+
), g = b(
|
|
1366
1366
|
!!(i.phoneCountryCode && q.includes(i.phoneCountryCode))
|
|
1367
|
-
), k =
|
|
1367
|
+
), k = b(!1), I = z((c) => {
|
|
1368
1368
|
k.current = !0, p(c);
|
|
1369
|
-
}, []), [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) => {
|
|
1370
1370
|
({
|
|
1371
1371
|
hero: () => t.analytics?.trackHeroSectionViewed?.(),
|
|
1372
1372
|
features: () => t.analytics?.trackFeaturesSectionViewed?.(),
|
|
@@ -1388,7 +1388,7 @@ function wr({ className: s }) {
|
|
|
1388
1388
|
}, [T]), v(() => {
|
|
1389
1389
|
t.analytics?.trackKundliMatchingPageView?.();
|
|
1390
1390
|
}, [t.analytics]);
|
|
1391
|
-
const F =
|
|
1391
|
+
const F = b(!0);
|
|
1392
1392
|
v(() => {
|
|
1393
1393
|
if (F.current) {
|
|
1394
1394
|
F.current = !1;
|
|
@@ -1400,11 +1400,11 @@ function wr({ className: s }) {
|
|
|
1400
1400
|
const c = i.phoneCountryCode;
|
|
1401
1401
|
c && q.includes(c) && c !== y && (g.current = !0, p(c));
|
|
1402
1402
|
}, [i.phoneCountryCode]);
|
|
1403
|
-
const R =
|
|
1403
|
+
const R = b(!1);
|
|
1404
1404
|
v(() => {
|
|
1405
|
-
R.current || !t.autoOpenPlanSheet || (R.current = !0,
|
|
1405
|
+
R.current || !t.autoOpenPlanSheet || (R.current = !0, h(!0), t.analytics?.trackPlanPageViewed?.());
|
|
1406
1406
|
}, [t.autoOpenPlanSheet, t.analytics]);
|
|
1407
|
-
const D =
|
|
1407
|
+
const D = b(!1);
|
|
1408
1408
|
v(() => {
|
|
1409
1409
|
if (D.current || t.autoOpenPlanSheet) return;
|
|
1410
1410
|
const c = t.initialFormValues;
|
|
@@ -1416,13 +1416,13 @@ function wr({ className: s }) {
|
|
|
1416
1416
|
return () => cancelAnimationFrame(H);
|
|
1417
1417
|
}, [t.autoOpenPlanSheet, t.initialFormValues]);
|
|
1418
1418
|
const X = (c) => {
|
|
1419
|
-
|
|
1419
|
+
m(($) => ({ ...$, ...c }));
|
|
1420
1420
|
}, Z = () => {
|
|
1421
1421
|
t.analytics?.trackPrimaryCtaClickedL1?.({
|
|
1422
1422
|
avenue: "kundli_matching_form"
|
|
1423
|
-
}), E.current = !1,
|
|
1423
|
+
}), E.current = !1, h(!0), t.analytics?.trackPlanPageViewed?.();
|
|
1424
1424
|
}, ee = (c) => {
|
|
1425
|
-
|
|
1425
|
+
N(c), t.analytics?.trackPlanSelected?.({
|
|
1426
1426
|
planId: c.id,
|
|
1427
1427
|
planName: c.title
|
|
1428
1428
|
});
|
|
@@ -1441,7 +1441,7 @@ function wr({ className: s }) {
|
|
|
1441
1441
|
};
|
|
1442
1442
|
t.onProceed ? t.onProceed(H, c) : console.log("Proceeding to payment:", { formValues: H, plan: c });
|
|
1443
1443
|
}, ae = () => {
|
|
1444
|
-
E.current || t.analytics?.trackPlanPageClosed?.(),
|
|
1444
|
+
E.current || t.analytics?.trackPlanPageClosed?.(), h(!1);
|
|
1445
1445
|
}, te = W ? /* @__PURE__ */ e.jsxs("div", { className: "relative", ref: S, children: [
|
|
1446
1446
|
/* @__PURE__ */ e.jsxs(
|
|
1447
1447
|
"button",
|
|
@@ -1461,7 +1461,7 @@ function wr({ className: s }) {
|
|
|
1461
1461
|
/* @__PURE__ */ e.jsx(
|
|
1462
1462
|
"img",
|
|
1463
1463
|
{
|
|
1464
|
-
src:
|
|
1464
|
+
src: br,
|
|
1465
1465
|
alt: "",
|
|
1466
1466
|
width: 16,
|
|
1467
1467
|
height: 16,
|
|
@@ -1499,19 +1499,19 @@ function wr({ className: s }) {
|
|
|
1499
1499
|
] }) : null;
|
|
1500
1500
|
return /* @__PURE__ */ e.jsxs("div", { className: `kundli-matching-page-root ${s}`, children: [
|
|
1501
1501
|
/* @__PURE__ */ e.jsx(
|
|
1502
|
-
|
|
1502
|
+
je,
|
|
1503
1503
|
{
|
|
1504
1504
|
t: l,
|
|
1505
1505
|
languageSelector: te,
|
|
1506
1506
|
isGlobal: t.isGlobal
|
|
1507
1507
|
}
|
|
1508
1508
|
),
|
|
1509
|
-
/* @__PURE__ */ e.jsx(O, { section: "hero", onImpression:
|
|
1510
|
-
/* @__PURE__ */ e.jsx(O, { section: "features", onImpression:
|
|
1511
|
-
/* @__PURE__ */ e.jsx(O, { section: "sneakPeek", onImpression:
|
|
1512
|
-
/* @__PURE__ */ e.jsx(O, { section: "testimonials", onImpression:
|
|
1513
|
-
/* @__PURE__ */ e.jsx(O, { section: "benefits", onImpression:
|
|
1514
|
-
/* @__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(
|
|
1515
1515
|
le,
|
|
1516
1516
|
{
|
|
1517
1517
|
t: l,
|
|
@@ -1524,11 +1524,11 @@ function wr({ className: s }) {
|
|
|
1524
1524
|
onPhoneIsdCodeChange: I
|
|
1525
1525
|
}
|
|
1526
1526
|
) }) }),
|
|
1527
|
-
/* @__PURE__ */ e.jsx(O, { section: "howItWorks", onImpression:
|
|
1528
|
-
/* @__PURE__ */ e.jsx(O, { section: "whyUs", onImpression:
|
|
1529
|
-
/* @__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 }) }),
|
|
1530
1530
|
/* @__PURE__ */ e.jsx(
|
|
1531
|
-
|
|
1531
|
+
bt,
|
|
1532
1532
|
{
|
|
1533
1533
|
t: l,
|
|
1534
1534
|
values: i,
|
|
@@ -1538,7 +1538,7 @@ function wr({ className: s }) {
|
|
|
1538
1538
|
}
|
|
1539
1539
|
),
|
|
1540
1540
|
/* @__PURE__ */ e.jsx(
|
|
1541
|
-
|
|
1541
|
+
Nr,
|
|
1542
1542
|
{
|
|
1543
1543
|
isOpen: d,
|
|
1544
1544
|
onClose: ae,
|
|
@@ -1558,7 +1558,7 @@ export {
|
|
|
1558
1558
|
ot as F,
|
|
1559
1559
|
De as H,
|
|
1560
1560
|
Br as K,
|
|
1561
|
-
|
|
1561
|
+
bt as P,
|
|
1562
1562
|
pa as S,
|
|
1563
1563
|
Aa as T,
|
|
1564
1564
|
ia as V,
|
|
@@ -1567,6 +1567,6 @@ export {
|
|
|
1567
1567
|
Fe as b,
|
|
1568
1568
|
$e as c,
|
|
1569
1569
|
ss as d,
|
|
1570
|
-
|
|
1570
|
+
je as e
|
|
1571
1571
|
};
|
|
1572
|
-
//# sourceMappingURL=criticalCss-
|
|
1572
|
+
//# sourceMappingURL=criticalCss-C2t1JWCr.js.map
|