@srimandir/kundli-generator 4.4.2 → 4.4.4

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,5 +1,5 @@
1
- import { k as e, h as A, D as G, d as ee, j as z, c as fe, u as ne, L as W, S as se, l as te, t as ae, P as be, F as je, U as ye, m as we, n as Ie } from "./analytics-CbJos3T3.js";
2
- import { useRef as y, useState as F, useEffect as v, useCallback as K } from "react";
1
+ import { k as e, h as A, D as B, d as ee, j as z, c as fe, u as ne, L as W, S as se, l as te, t as ae, P as be, F as je, U as ye, m as we, n as Ie } from "./analytics-By4_O_h0.js";
2
+ import { useRef as y, useState as F, useEffect as k, useCallback as K } from "react";
3
3
  import { UserReviewsSection as ve, FAQAccordion as ke, ContactUsSection as Ne, FooterShell as Pe, FooterCTAButton as Ce, CircularMarquee as Le, footerShellStyles as O } from "@srimandir/astrology-common";
4
4
  const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_nm3gb_12", $e = "_langTrigger_nm3gb_16", Ee = "_langIcon_nm3gb_28", Fe = "_langLabel_nm3gb_35", De = "_langMenu_nm3gb_40", Oe = "_langOption_nm3gb_46", D = {
5
5
  container: Te,
@@ -10,13 +10,13 @@ const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_n
10
10
  langLabel: Fe,
11
11
  langMenu: De,
12
12
  langOption: Oe
13
- }, Ue = "_hero_1vvjv_1", Ke = "_title_1vvjv_5", Ae = "_subtitle_1vvjv_10", Me = "_topicTags_1vvjv_23", Be = "_tag_1vvjv_27", M = {
13
+ }, Ue = "_hero_1vvjv_1", Ke = "_title_1vvjv_5", Ae = "_subtitle_1vvjv_10", Me = "_topicTags_1vvjv_23", Ge = "_tag_1vvjv_27", M = {
14
14
  hero: Ue,
15
15
  title: Ke,
16
16
  subtitle: Ae,
17
17
  topicTags: Me,
18
- tag: Be
19
- }, Ge = [
18
+ tag: Ge
19
+ }, Be = [
20
20
  "topicMarriage",
21
21
  "topicRelationship",
22
22
  "topicBusiness",
@@ -27,8 +27,8 @@ const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_n
27
27
  ], oe = ({ t: n, className: o = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${M.hero} ${o}`, "aria-labelledby": "hero-title", children: [
28
28
  /* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: M.title, children: n("heroTitle") }),
29
29
  /* @__PURE__ */ e.jsx("p", { className: M.subtitle, children: n("heroSubtitle") }),
30
- /* @__PURE__ */ e.jsx("div", { className: M.topicTags, role: "list", children: Ge.map((a) => /* @__PURE__ */ e.jsx("span", { className: M.tag, role: "listitem", children: n(a) }, a)) })
31
- ] }), We = "_section_1sbjm_1", He = "_backgroundLayer_1sbjm_9", qe = "_backgroundImg_1sbjm_16", Ve = "_inner_1sbjm_23", ze = "_content_1sbjm_29", Ye = "_headline_1sbjm_33", Qe = "_headlineLine_1sbjm_38", Je = "_headlinePill_1sbjm_43", Xe = "_headlinePlain_1sbjm_58", Ze = "_featureList_1sbjm_69", en = "_featureItem_1sbjm_76", nn = "_featureIcon_1sbjm_81", sn = "_reportImage_1sbjm_88", tn = "_reportImg_1sbjm_98", x = {
30
+ /* @__PURE__ */ e.jsx("div", { className: M.topicTags, role: "list", children: Be.map((a) => /* @__PURE__ */ e.jsx("span", { className: M.tag, role: "listitem", children: n(a) }, a)) })
31
+ ] }), We = "_section_1285h_1", He = "_backgroundLayer_1285h_9", qe = "_backgroundImg_1285h_16", Ve = "_inner_1285h_23", ze = "_content_1285h_29", Ye = "_headline_1285h_33", Qe = "_headlineLine_1285h_38", Je = "_headlinePill_1285h_43", Xe = "_headlinePlain_1285h_58", Ze = "_featureList_1285h_69", en = "_featureItem_1285h_76", nn = "_featureIcon_1285h_81", sn = "_reportImage_1285h_88", tn = "_reportImg_1285h_98", g = {
32
32
  section: We,
33
33
  backgroundLayer: He,
34
34
  backgroundImg: qe,
@@ -56,25 +56,25 @@ const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_n
56
56
  analytics: t,
57
57
  className: s = ""
58
58
  }) => {
59
- const m = A()?.config.imageComponent ?? G, p = () => {
59
+ const m = A()?.config.imageComponent ?? B, u = () => {
60
60
  t?.trackBannerClicked?.();
61
61
  };
62
62
  return /* @__PURE__ */ e.jsxs(
63
63
  "section",
64
64
  {
65
- className: `${x.section} ${s}`,
65
+ className: `${g.section} ${s}`,
66
66
  "aria-labelledby": "premium-headline",
67
67
  role: "button",
68
68
  tabIndex: 0,
69
- onClick: p,
69
+ onClick: u,
70
70
  "data-hero": !0,
71
71
  children: [
72
- /* @__PURE__ */ e.jsx("div", { className: x.backgroundLayer, "aria-hidden": !0, "data-background-layer": !0, children: /* @__PURE__ */ e.jsx(
72
+ /* @__PURE__ */ e.jsx("div", { className: g.backgroundLayer, "aria-hidden": !0, "data-background-layer": !0, children: /* @__PURE__ */ e.jsx(
73
73
  m,
74
74
  {
75
75
  src: on,
76
76
  alt: "",
77
- className: x.backgroundImg,
77
+ className: g.backgroundImg,
78
78
  width: 412,
79
79
  height: 215,
80
80
  sizes: "(max-width: 768px) 412px, 412px",
@@ -83,39 +83,43 @@ const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_n
83
83
  fetchPriority: "high"
84
84
  }
85
85
  ) }),
86
- /* @__PURE__ */ e.jsxs("div", { className: x.inner, children: [
87
- /* @__PURE__ */ e.jsxs("div", { className: x.content, children: [
88
- /* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: x.headline, children: [
89
- /* @__PURE__ */ e.jsxs("span", { className: x.headlineLine, children: [
90
- /* @__PURE__ */ e.jsx("span", { className: x.headlinePill, children: n("premiumHeadlinePill1") }),
91
- /* @__PURE__ */ e.jsx("span", { className: x.headlinePlain, children: n("premiumHeadlinePlain1") })
86
+ /* @__PURE__ */ e.jsxs("div", { className: g.inner, children: [
87
+ /* @__PURE__ */ e.jsxs("div", { className: g.content, children: [
88
+ /* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: g.headline, children: [
89
+ /* @__PURE__ */ e.jsxs("span", { className: g.headlineLine, children: [
90
+ /* @__PURE__ */ e.jsx("span", { className: g.headlinePill, children: n("premiumHeadlinePill1") }),
91
+ /* @__PURE__ */ e.jsx("span", { className: g.headlinePlain, children: n("premiumHeadlinePlain1") })
92
92
  ] }),
93
- /* @__PURE__ */ e.jsxs("span", { className: x.headlineLine, children: [
94
- /* @__PURE__ */ e.jsx("span", { className: x.headlinePlain, children: n("premiumHeadlinePlain2") }),
95
- /* @__PURE__ */ e.jsx("span", { className: x.headlinePill, children: n("premiumHeadlinePill2") })
93
+ /* @__PURE__ */ e.jsxs("span", { className: g.headlineLine, children: [
94
+ /* @__PURE__ */ e.jsx("span", { className: g.headlinePlain, children: n("premiumHeadlinePlain2") }),
95
+ /* @__PURE__ */ e.jsx("span", { className: g.headlinePill, children: n("premiumHeadlinePill2") })
96
+ ] }),
97
+ /* @__PURE__ */ e.jsxs("span", { className: g.headlineLine, children: [
98
+ /* @__PURE__ */ e.jsx("span", { className: g.headlinePlain, children: n("and") }),
99
+ /* @__PURE__ */ e.jsx("span", { className: g.headlinePill, children: n("astrologyGuidance") })
96
100
  ] })
97
101
  ] }),
98
- /* @__PURE__ */ e.jsx("ul", { className: x.featureList, children: ln.map((u) => /* @__PURE__ */ e.jsxs("li", { className: x.featureItem, children: [
102
+ /* @__PURE__ */ e.jsx("ul", { className: g.featureList, children: ln.map((h) => /* @__PURE__ */ e.jsxs("li", { className: g.featureItem, children: [
99
103
  /* @__PURE__ */ e.jsx(
100
104
  m,
101
105
  {
102
106
  src: an,
103
107
  alt: "",
104
- className: x.featureIcon,
108
+ className: g.featureIcon,
105
109
  width: 16,
106
110
  height: 16,
107
111
  loading: "lazy"
108
112
  }
109
113
  ),
110
- n(u)
111
- ] }, u)) })
114
+ n(h)
115
+ ] }, h)) })
112
116
  ] }),
113
- /* @__PURE__ */ e.jsx("div", { className: x.reportImage, children: /* @__PURE__ */ e.jsx(
117
+ /* @__PURE__ */ e.jsx("div", { className: g.reportImage, children: /* @__PURE__ */ e.jsx(
114
118
  m,
115
119
  {
116
120
  src: o,
117
121
  alt: "",
118
- className: x.reportImg,
122
+ className: g.reportImg,
119
123
  width: 120,
120
124
  height: 160,
121
125
  priority: a,
@@ -132,12 +136,12 @@ const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_n
132
136
  section: cn,
133
137
  heading: dn,
134
138
  logoImg: mn
135
- }, un = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", le = ({
139
+ }, hn = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", le = ({
136
140
  t: n,
137
- logoUrl: o = un,
141
+ logoUrl: o = hn,
138
142
  className: a = ""
139
143
  }) => {
140
- const t = A()?.config.imageComponent ?? G;
144
+ const t = A()?.config.imageComponent ?? B;
141
145
  return /* @__PURE__ */ e.jsxs("section", { className: `${V.section} ${a}`, "aria-labelledby": "certified-heading", children: [
142
146
  /* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: V.heading, children: n("certifiedBy") }),
143
147
  /* @__PURE__ */ e.jsx(
@@ -152,10 +156,10 @@ const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_n
152
156
  }
153
157
  )
154
158
  ] });
155
- }, pn = "_section_1d9aa_1", gn = "_heading_1d9aa_6", hn = "_subtitle_1d9aa_11", _n = "_stepList_1d9aa_16", xn = "_stepItem_1d9aa_20", fn = "_stepNumber_1d9aa_24", bn = "_stepText_1d9aa_30", jn = "_step3Days_1d9aa_35", I = {
156
- section: pn,
157
- heading: gn,
158
- subtitle: hn,
159
+ }, un = "_section_1d9aa_1", pn = "_heading_1d9aa_6", gn = "_subtitle_1d9aa_11", _n = "_stepList_1d9aa_16", xn = "_stepItem_1d9aa_20", fn = "_stepNumber_1d9aa_24", bn = "_stepText_1d9aa_30", jn = "_step3Days_1d9aa_35", v = {
160
+ section: un,
161
+ heading: pn,
162
+ subtitle: gn,
159
163
  stepList: _n,
160
164
  stepItem: xn,
161
165
  stepNumber: fn,
@@ -171,25 +175,25 @@ const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_n
171
175
  return /* @__PURE__ */ e.jsxs(
172
176
  "section",
173
177
  {
174
- className: `${I.section} ${i}`,
178
+ className: `${v.section} ${i}`,
175
179
  "aria-labelledby": "steps-heading",
176
180
  children: [
177
- /* @__PURE__ */ e.jsx("p", { className: I.heading, children: n("yourThreeSteps") }),
178
- /* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: I.subtitle, children: n("threeStepsSubtitle") }),
179
- /* @__PURE__ */ e.jsxs("ol", { className: I.stepList, children: [
180
- yn.map((s, r) => /* @__PURE__ */ e.jsxs("li", { className: I.stepItem, children: [
181
- /* @__PURE__ */ e.jsx("span", { className: I.stepNumber, "aria-hidden": !0, children: r + 1 }),
182
- /* @__PURE__ */ e.jsx("span", { className: I.stepText, children: n(s) })
181
+ /* @__PURE__ */ e.jsx("p", { className: v.heading, children: n("yourThreeSteps") }),
182
+ /* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: v.subtitle, children: n("threeStepsSubtitle") }),
183
+ /* @__PURE__ */ e.jsxs("ol", { className: v.stepList, children: [
184
+ yn.map((s, r) => /* @__PURE__ */ e.jsxs("li", { className: v.stepItem, children: [
185
+ /* @__PURE__ */ e.jsx("span", { className: v.stepNumber, "aria-hidden": !0, children: r + 1 }),
186
+ /* @__PURE__ */ e.jsx("span", { className: v.stepText, children: n(s) })
183
187
  ] }, s)),
184
- /* @__PURE__ */ e.jsxs("li", { className: I.stepItem, children: [
185
- /* @__PURE__ */ e.jsx("span", { className: I.stepNumber, "aria-hidden": !0, children: "3" }),
186
- /* @__PURE__ */ e.jsxs("span", { className: I.stepText, children: [
188
+ /* @__PURE__ */ e.jsxs("li", { className: v.stepItem, children: [
189
+ /* @__PURE__ */ e.jsx("span", { className: v.stepNumber, "aria-hidden": !0, children: "3" }),
190
+ /* @__PURE__ */ e.jsxs("span", { className: v.stepText, children: [
187
191
  n(t),
188
192
  /* @__PURE__ */ e.jsx("br", {}),
189
193
  o === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
190
194
  "in ",
191
- /* @__PURE__ */ e.jsx("strong", { className: I.step3Days, children: n("step3Days") })
192
- ] }) : /* @__PURE__ */ e.jsx("strong", { className: I.step3Days, children: n("step3Days") })
195
+ /* @__PURE__ */ e.jsx("strong", { className: v.step3Days, children: n("step3Days") })
196
+ ] }) : /* @__PURE__ */ e.jsx("strong", { className: v.step3Days, children: n("step3Days") })
193
197
  ] })
194
198
  ] })
195
199
  ] })
@@ -220,42 +224,42 @@ const Fn = ({
220
224
  title: a,
221
225
  pdfUrl: i
222
226
  }) => {
223
- const t = y(null), [s, r] = F(!0), [m, p] = F(null), [u, h] = F(null);
224
- return v(() => {
227
+ const t = y(null), [s, r] = F(!0), [m, u] = F(null), [h, _] = F(null);
228
+ return k(() => {
225
229
  if (!n) return;
226
- const c = (_) => {
227
- _.key === "Escape" && o();
230
+ const c = (x) => {
231
+ x.key === "Escape" && o();
228
232
  };
229
233
  return document.addEventListener("keydown", c), document.body.style.overflow = "hidden", () => {
230
234
  document.removeEventListener("keydown", c), document.body.style.overflow = "";
231
235
  };
232
- }, [n, o]), v(() => {
236
+ }, [n, o]), k(() => {
233
237
  n && import("pdfjs-dist").then((c) => {
234
- h(c);
238
+ _(c);
235
239
  }).catch((c) => {
236
- p("Failed to load PDF viewer"), r(!1);
240
+ u("Failed to load PDF viewer"), r(!1);
237
241
  });
238
- }, [n]), v(() => {
239
- if (!n || !i || !t.current || !u) return;
240
- r(!0), p(null), t.current.innerHTML = "", (async () => {
242
+ }, [n]), k(() => {
243
+ if (!n || !i || !t.current || !h) return;
244
+ r(!0), u(null), t.current.innerHTML = "", (async () => {
241
245
  try {
242
- En(u);
243
- const C = await u.getDocument({ url: i }).promise, k = t.current;
244
- if (!k) return;
245
- const w = k.clientWidth || 600, g = Math.min(w / 612, 2);
246
+ En(h);
247
+ const C = await h.getDocument({ url: i }).promise, w = t.current;
248
+ if (!w) return;
249
+ const I = w.clientWidth || 600, p = Math.min(I / 612, 2);
246
250
  for (let l = 1; l <= C.numPages; l++) {
247
- const j = await C.getPage(l), $ = j.getViewport({ scale: g }), b = document.createElement("canvas");
251
+ const j = await C.getPage(l), $ = j.getViewport({ scale: p }), b = document.createElement("canvas");
248
252
  b.height = $.height, b.width = $.width, b.style.display = "block", b.style.margin = "0 auto 1rem", b.style.maxWidth = "100%";
249
253
  const E = b.getContext("2d");
250
- E && await j.render({ canvasContext: E, viewport: $ }).promise, k.appendChild(b);
254
+ E && await j.render({ canvasContext: E, viewport: $ }).promise, w.appendChild(b);
251
255
  }
252
- } catch (_) {
253
- p(_ instanceof Error ? _.message : "Failed to load PDF");
256
+ } catch (x) {
257
+ u(x instanceof Error ? x.message : "Failed to load PDF");
254
258
  } finally {
255
259
  r(!1);
256
260
  }
257
261
  })();
258
- }, [n, i, u]), n ? /* @__PURE__ */ e.jsx(
262
+ }, [n, i, h]), n ? /* @__PURE__ */ e.jsx(
259
263
  "div",
260
264
  {
261
265
  className: L.backdrop,
@@ -313,31 +317,31 @@ const Fn = ({
313
317
  analytics: i,
314
318
  className: t = ""
315
319
  }) => {
316
- const [s, r] = F(!1), m = n("viewSampleReport"), p = n("sampleReportModalTitle"), u = () => {
320
+ const [s, r] = F(!1), m = n("viewSampleReport"), u = n("sampleReportModalTitle"), h = () => {
317
321
  i?.trackViewSampleReportClicked?.(), a?.(), r(!0);
318
- }, h = () => {
322
+ }, _ = () => {
319
323
  i?.trackViewSampleReportClosed?.(), r(!1);
320
324
  };
321
325
  return /* @__PURE__ */ e.jsxs("section", { className: `${Q.section} ${t}`, children: [
322
- /* @__PURE__ */ e.jsx("button", { type: "button", className: Q.button, onClick: u, children: m }),
326
+ /* @__PURE__ */ e.jsx("button", { type: "button", className: Q.button, onClick: h, children: m }),
323
327
  /* @__PURE__ */ e.jsx(
324
328
  Fn,
325
329
  {
326
330
  isOpen: s,
327
- onClose: h,
328
- title: p,
331
+ onClose: _,
332
+ title: u,
329
333
  pdfUrl: o
330
334
  }
331
335
  )
332
336
  ] });
333
- }, On = "_section_1ds1w_1", Un = "_heading_1ds1w_5", Kn = "_list_1ds1w_10", An = "_item_1ds1w_17", Mn = "_imageWrap_1ds1w_21", Bn = "_image_1ds1w_21", Gn = "_imagePlaceholder_1ds1w_30", Wn = "_text_1ds1w_36", Hn = "_itemTitle_1ds1w_40", qn = "_itemDesc_1ds1w_51", T = {
337
+ }, On = "_section_1ds1w_1", Un = "_heading_1ds1w_5", Kn = "_list_1ds1w_10", An = "_item_1ds1w_17", Mn = "_imageWrap_1ds1w_21", Gn = "_image_1ds1w_21", Bn = "_imagePlaceholder_1ds1w_30", Wn = "_text_1ds1w_36", Hn = "_itemTitle_1ds1w_40", qn = "_itemDesc_1ds1w_51", T = {
334
338
  section: On,
335
339
  heading: Un,
336
340
  list: Kn,
337
341
  item: An,
338
342
  imageWrap: Mn,
339
- image: Bn,
340
- imagePlaceholder: Gn,
343
+ image: Gn,
344
+ imagePlaceholder: Bn,
341
345
  text: Wn,
342
346
  itemTitle: Hn,
343
347
  itemDesc: qn
@@ -360,7 +364,7 @@ const Fn = ({
360
364
  imageUrls: o = zn,
361
365
  className: a = ""
362
366
  }) => {
363
- const t = A()?.config.imageComponent ?? G;
367
+ const t = A()?.config.imageComponent ?? B;
364
368
  return /* @__PURE__ */ e.jsxs(
365
369
  "section",
366
370
  {
@@ -389,19 +393,19 @@ const Fn = ({
389
393
  ]
390
394
  }
391
395
  );
392
- }, Yn = "_section_75s76_1", Qn = "_heading_75s76_6", Jn = "_subtitle_75s76_11", Xn = "_list_75s76_16", Zn = "_item_75s76_20", B = {
396
+ }, Yn = "_section_75s76_1", Qn = "_heading_75s76_6", Jn = "_subtitle_75s76_11", Xn = "_list_75s76_16", Zn = "_item_75s76_20", G = {
393
397
  section: Yn,
394
398
  heading: Qn,
395
399
  subtitle: Jn,
396
400
  list: Xn,
397
401
  item: Zn
398
- }, es = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], me = ({ t: n, className: o = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${B.section} ${o}`, "aria-labelledby": "why-heading", children: [
399
- /* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: B.heading, children: n("whyUsTitle") }),
400
- /* @__PURE__ */ e.jsx("p", { className: B.subtitle, children: n("whyUsSubtitle") }),
401
- /* @__PURE__ */ e.jsx("ul", { className: B.list, children: es.map((a) => /* @__PURE__ */ e.jsx("li", { className: B.item, children: n(a) }, a)) })
402
+ }, es = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], me = ({ t: n, className: o = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${G.section} ${o}`, "aria-labelledby": "why-heading", children: [
403
+ /* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: G.heading, children: n("whyUsTitle") }),
404
+ /* @__PURE__ */ e.jsx("p", { className: G.subtitle, children: n("whyUsSubtitle") }),
405
+ /* @__PURE__ */ e.jsx("ul", { className: G.list, children: es.map((a) => /* @__PURE__ */ e.jsx("li", { className: G.item, children: n(a) }, a)) })
402
406
  ] }), ns = "_headingBold_g8xg7_1", ss = {
403
407
  headingBold: ns
404
- }, ue = ({
408
+ }, he = ({
405
409
  t: n,
406
410
  testimonials: o,
407
411
  readMoreHref: a,
@@ -423,7 +427,7 @@ const Fn = ({
423
427
  }, os = [
424
428
  { qKey: "faqQ1", aKey: "faqA1" },
425
429
  { qKey: "faqQ3", aKey: "faqA3" }
426
- ], pe = ({
430
+ ], ue = ({
427
431
  t: n,
428
432
  className: o = "",
429
433
  headingClassName: a = as.headingBold
@@ -440,7 +444,7 @@ const Fn = ({
440
444
  headingClassName: a
441
445
  }
442
446
  );
443
- }, J = "8296947757", X = "08071174417", Z = "pujaseva@appsforbharat.com", ge = ({
447
+ }, J = "8296947757", X = "08071174417", Z = "pujaseva@appsforbharat.com", pe = ({
444
448
  t: n,
445
449
  whatsAppGlobal: o,
446
450
  whatsAppDomestic: a,
@@ -448,19 +452,19 @@ const Fn = ({
448
452
  brandName: t,
449
453
  className: s = ""
450
454
  }) => {
451
- const m = A()?.config.isGlobal ?? !0, p = o ?? J, u = a ?? X, h = i ?? Z, c = m ? n("contactWhatsAppGlobal").replace(J, p) : n("contactWhatsAppDomestic").replace(X, u), _ = n("contactEmail").replace(Z, h);
455
+ const m = A()?.config.isGlobal ?? !0, u = o ?? J, h = a ?? X, _ = i ?? Z, c = m ? n("contactWhatsAppGlobal").replace(J, u) : n("contactWhatsAppDomestic").replace(X, h), x = n("contactEmail").replace(Z, _);
452
456
  return /* @__PURE__ */ e.jsx(
453
457
  Ne,
454
458
  {
455
459
  title: n("contactTitle"),
456
460
  brandName: t ?? n("contactBrandName"),
457
461
  whatsAppLine: c,
458
- emailLine: _,
462
+ emailLine: x,
459
463
  className: s
460
464
  }
461
465
  );
462
466
  }, is = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", ls = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", rs = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", cs = ({ t: n }) => {
463
- const a = A()?.config.imageComponent ?? G;
467
+ const a = A()?.config.imageComponent ?? B;
464
468
  return /* @__PURE__ */ e.jsxs("div", { className: O.marqueeContent, children: [
465
469
  /* @__PURE__ */ e.jsxs("span", { className: O.badge, children: [
466
470
  /* @__PURE__ */ e.jsx(a, { src: is, alt: "", className: O.badgeIcon, width: 16, height: 16, loading: "lazy" }),
@@ -490,14 +494,14 @@ const Fn = ({
490
494
  children: /* @__PURE__ */ e.jsx(Ce, { href: a, onClick: o, children: t })
491
495
  }
492
496
  );
493
- }, ms = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", us = (n, o) => ae[n]?.[o] ?? o, ps = 112;
497
+ }, ms = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", hs = (n, o) => ae[n]?.[o] ?? o, us = 112;
494
498
  function S({
495
499
  section: n,
496
500
  children: o,
497
501
  onImpression: a
498
502
  }) {
499
503
  const i = y(null), t = y(!1);
500
- return v(() => {
504
+ return k(() => {
501
505
  const s = i.current;
502
506
  if (!s) return;
503
507
  const r = new IntersectionObserver(
@@ -507,39 +511,39 @@ function S({
507
511
  {
508
512
  threshold: 0.1,
509
513
  // Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
510
- rootMargin: `0px 0px -${ps}px 0px`
514
+ rootMargin: `0px 0px -${us}px 0px`
511
515
  }
512
516
  );
513
517
  return r.observe(s), () => r.disconnect();
514
518
  }, [n, a]), /* @__PURE__ */ e.jsx("div", { ref: i, children: o });
515
519
  }
516
- function gs({ className: n }) {
520
+ function ps({ className: n }) {
517
521
  const { view: o } = z();
518
- return o === "form" ? /* @__PURE__ */ e.jsx(fe, {}) : /* @__PURE__ */ e.jsx(hs, { className: n });
522
+ return o === "form" ? /* @__PURE__ */ e.jsx(fe, {}) : /* @__PURE__ */ e.jsx(gs, { className: n });
519
523
  }
520
- function hs({ className: n }) {
524
+ function gs({ className: n }) {
521
525
  const o = ne(), {
522
526
  locale: a,
523
527
  setLocale: i,
524
528
  config: t,
525
529
  goToForm: s
526
- } = z(), [r, m] = F(!1), p = y(null), u = y(t.locale), h = y(
530
+ } = z(), [r, m] = F(!1), u = y(null), h = y(t.locale), _ = y(
527
531
  o?.locale
528
532
  );
529
- v(() => {
530
- t.locale && u.current !== t.locale && i(t.locale), u.current = t.locale;
531
- }, [t.locale, i]), v(() => {
533
+ k(() => {
534
+ t.locale && h.current !== t.locale && i(t.locale), h.current = t.locale;
535
+ }, [t.locale, i]), k(() => {
532
536
  if (t.locale) return;
533
537
  const l = o?.locale;
534
- l && h.current !== l && i(l), h.current = l;
535
- }, [o?.locale, t.locale, i]), v(() => {
538
+ l && _.current !== l && i(l), _.current = l;
539
+ }, [o?.locale, t.locale, i]), k(() => {
536
540
  if (!r) return;
537
541
  const l = (j) => {
538
- p.current && !p.current.contains(j.target) && m(!1);
542
+ u.current && !u.current.contains(j.target) && m(!1);
539
543
  };
540
544
  return document.addEventListener("mousedown", l), () => document.removeEventListener("mousedown", l);
541
545
  }, [r]);
542
- const c = (l) => us(a, l), _ = t.showLanguageSelector ?? !0, C = t.imageComponent ?? G, k = _ ? /* @__PURE__ */ e.jsxs("div", { className: D.langDropdownWrap, ref: p, children: [
546
+ const c = (l) => hs(a, l), x = t.showLanguageSelector ?? !0, C = t.imageComponent ?? B, w = x ? /* @__PURE__ */ e.jsxs("div", { className: D.langDropdownWrap, ref: u, children: [
543
547
  /* @__PURE__ */ e.jsxs(
544
548
  "button",
545
549
  {
@@ -591,10 +595,10 @@ function hs({ className: n }) {
591
595
  ))
592
596
  }
593
597
  )
594
- ] }) : null, w = (l) => {
598
+ ] }) : null, I = (l) => {
595
599
  const j = l.currentTarget.innerText?.trim() ?? c("ctaButtonAfter");
596
600
  t.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: j }), s(), t.onCtaClick?.();
597
- }, g = K(
601
+ }, p = K(
598
602
  (l) => {
599
603
  t.analytics?.trackDetailedKundliReportImpressionFe?.({
600
604
  section: l,
@@ -609,7 +613,7 @@ function hs({ className: n }) {
609
613
  {
610
614
  t: c,
611
615
  logoUrl: t.logoUrl,
612
- languageSelector: k
616
+ languageSelector: w
613
617
  }
614
618
  ),
615
619
  /* @__PURE__ */ e.jsxs("main", { className: D.main, children: [
@@ -617,7 +621,7 @@ function hs({ className: n }) {
617
621
  S,
618
622
  {
619
623
  section: "hero",
620
- onImpression: g,
624
+ onImpression: p,
621
625
  children: /* @__PURE__ */ e.jsx(oe, { t: c })
622
626
  }
623
627
  ),
@@ -625,7 +629,7 @@ function hs({ className: n }) {
625
629
  S,
626
630
  {
627
631
  section: "premium_report_overview",
628
- onImpression: g,
632
+ onImpression: p,
629
633
  children: /* @__PURE__ */ e.jsx(
630
634
  ie,
631
635
  {
@@ -642,7 +646,7 @@ function hs({ className: n }) {
642
646
  S,
643
647
  {
644
648
  section: "university_certification",
645
- onImpression: g,
649
+ onImpression: p,
646
650
  children: /* @__PURE__ */ e.jsx(
647
651
  le,
648
652
  {
@@ -656,7 +660,7 @@ function hs({ className: n }) {
656
660
  S,
657
661
  {
658
662
  section: "three_steps_process",
659
- onImpression: g,
663
+ onImpression: p,
660
664
  children: /* @__PURE__ */ e.jsx(re, { t: c, locale: a, isGlobal: t.isGlobal })
661
665
  }
662
666
  ),
@@ -664,7 +668,7 @@ function hs({ className: n }) {
664
668
  S,
665
669
  {
666
670
  section: "view_sample_report",
667
- onImpression: g,
671
+ onImpression: p,
668
672
  children: /* @__PURE__ */ e.jsx(
669
673
  ce,
670
674
  {
@@ -680,7 +684,7 @@ function hs({ className: n }) {
680
684
  S,
681
685
  {
682
686
  section: "what_youll_find",
683
- onImpression: g,
687
+ onImpression: p,
684
688
  children: /* @__PURE__ */ e.jsx(de, { t: c })
685
689
  }
686
690
  ),
@@ -688,7 +692,7 @@ function hs({ className: n }) {
688
692
  S,
689
693
  {
690
694
  section: "why_us",
691
- onImpression: g,
695
+ onImpression: p,
692
696
  children: /* @__PURE__ */ e.jsx(me, { t: c })
693
697
  }
694
698
  ),
@@ -696,9 +700,9 @@ function hs({ className: n }) {
696
700
  S,
697
701
  {
698
702
  section: "feedback",
699
- onImpression: g,
703
+ onImpression: p,
700
704
  children: /* @__PURE__ */ e.jsx(
701
- ue,
705
+ he,
702
706
  {
703
707
  t: c,
704
708
  readMoreHref: t.readMoreReviewsHref,
@@ -711,16 +715,16 @@ function hs({ className: n }) {
711
715
  S,
712
716
  {
713
717
  section: "faq",
714
- onImpression: g,
715
- children: /* @__PURE__ */ e.jsx(pe, { t: c })
718
+ onImpression: p,
719
+ children: /* @__PURE__ */ e.jsx(ue, { t: c })
716
720
  }
717
721
  ),
718
722
  /* @__PURE__ */ e.jsx(
719
723
  S,
720
724
  {
721
725
  section: "contact_us",
722
- onImpression: g,
723
- children: /* @__PURE__ */ e.jsx(ge, { t: c })
726
+ onImpression: p,
727
+ children: /* @__PURE__ */ e.jsx(pe, { t: c })
724
728
  }
725
729
  )
726
730
  ] }),
@@ -729,7 +733,7 @@ function hs({ className: n }) {
729
733
  {
730
734
  t: c,
731
735
  ctaHref: t.ctaHref,
732
- onCtaClick: t.ctaHref ? void 0 : w
736
+ onCtaClick: t.ctaHref ? void 0 : I
733
737
  }
734
738
  )
735
739
  ] });
@@ -743,15 +747,15 @@ const _s = ({
743
747
  isGlobal: s,
744
748
  googleMapsApiKey: r,
745
749
  logoUrl: m,
746
- reportImageUrl: p,
747
- universityLogoUrls: u,
748
- sampleReportHref: h,
750
+ reportImageUrl: u,
751
+ universityLogoUrls: h,
752
+ sampleReportHref: _,
749
753
  onViewSampleReport: c,
750
- ctaHref: _,
754
+ ctaHref: x,
751
755
  onCtaClick: C,
752
- readMoreReviewsHref: k,
753
- onProceed: w,
754
- onProceedGuidance: g,
756
+ readMoreReviewsHref: w,
757
+ onProceed: I,
758
+ onProceedGuidance: p,
755
759
  proceedHref: l,
756
760
  originalPriceLabel: j,
757
761
  discountedPriceLabel: $,
@@ -768,22 +772,22 @@ const _s = ({
768
772
  isGlobal: s,
769
773
  googleMapsApiKey: r,
770
774
  logoUrl: m,
771
- reportImageUrl: p,
772
- universityLogoUrls: u,
773
- sampleReportHref: h,
775
+ reportImageUrl: u,
776
+ universityLogoUrls: h,
777
+ sampleReportHref: _,
774
778
  onViewSampleReport: c,
775
- ctaHref: _,
779
+ ctaHref: x,
776
780
  onCtaClick: C,
777
- readMoreReviewsHref: k,
778
- onProceed: w,
779
- onProceedGuidance: g,
781
+ readMoreReviewsHref: w,
782
+ onProceed: I,
783
+ onProceedGuidance: p,
780
784
  proceedHref: l,
781
785
  originalPriceLabel: j,
782
786
  discountedPriceLabel: $,
783
787
  discountPillLabel: b,
784
788
  analytics: E,
785
789
  onLocaleChange: U,
786
- children: /* @__PURE__ */ e.jsx(gs, { className: n })
790
+ children: /* @__PURE__ */ e.jsx(ps, { className: n })
787
791
  }
788
792
  ), xs = "_container_1b9qe_1", fs = "_main_1b9qe_6", bs = "_langDropdownWrap_1b9qe_12", js = "_langTrigger_1b9qe_16", ys = "_langIcon_1b9qe_28", ws = "_langLabel_1b9qe_35", Is = "_langMenu_1b9qe_40", vs = "_langOption_1b9qe_46", ks = "_inlineFormWrap_1b9qe_57", Ns = "_inlineProceedFooter_1b9qe_74", R = {
789
793
  container: xs,
@@ -803,7 +807,7 @@ function P({
803
807
  onImpression: a
804
808
  }) {
805
809
  const i = y(null), t = y(!1);
806
- return v(() => {
810
+ return k(() => {
807
811
  const s = i.current;
808
812
  if (!s) return;
809
813
  const r = new IntersectionObserver(
@@ -832,45 +836,45 @@ function Ss({
832
836
  config: s,
833
837
  formValues: r,
834
838
  setFormValues: m
835
- } = z(), [p, u] = F(!1), [h, c] = F(null), _ = y(null), C = K((d) => {
836
- _.current = d, u(!0);
837
- }, []), k = K(() => {
838
- if (!_.current || !h) return;
839
+ } = z(), [u, h] = F(!1), [_, c] = F(null), x = y(null), C = K((d) => {
840
+ x.current = d, h(!0);
841
+ }, []), w = K(() => {
842
+ if (!x.current || !_) return;
839
843
  const d = {
840
- ..._.current,
841
- _selectedPlan: h
844
+ ...x.current,
845
+ _selectedPlan: _
842
846
  };
843
- h.id === be && s.onProceedGuidance ? s.onProceedGuidance(d) : s.onProceed?.(d), u(!1), _.current = null;
844
- }, [h, s.onProceed, s.onProceedGuidance]), [w, g] = F(!1), [l, j] = F(
847
+ _.id === be && s.onProceedGuidance ? s.onProceedGuidance(d) : s.onProceed?.(d), h(!1), x.current = null;
848
+ }, [_, s.onProceed, s.onProceedGuidance]), [I, p] = F(!1), [l, j] = F(
845
849
  s.isGlobal ?? !0 ? "+1" : "+91"
846
850
  ), $ = y(null), b = y(null), E = y(s.locale), U = y(
847
851
  a?.locale
848
852
  );
849
- v(() => {
853
+ k(() => {
850
854
  s.locale && E.current !== s.locale && t(s.locale), E.current = s.locale;
851
- }, [s.locale, t]), v(() => {
855
+ }, [s.locale, t]), k(() => {
852
856
  if (s.locale) return;
853
857
  const d = a?.locale;
854
858
  d && U.current !== d && t(d), U.current = d;
855
- }, [a?.locale, s.locale, t]), v(() => {
859
+ }, [a?.locale, s.locale, t]), k(() => {
856
860
  j(s.isGlobal ?? !0 ? "+1" : "+91");
857
- }, [s.isGlobal]), v(() => {
858
- if (!w) return;
861
+ }, [s.isGlobal]), k(() => {
862
+ if (!I) return;
859
863
  const d = (Y) => {
860
- b.current && !b.current.contains(Y.target) && g(!1);
864
+ b.current && !b.current.contains(Y.target) && p(!1);
861
865
  };
862
866
  return document.addEventListener("mousedown", d), () => document.removeEventListener("mousedown", d);
863
- }, [w]);
864
- const f = (d) => Cs(i, d), he = s.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: R.langDropdownWrap, ref: b, children: [
867
+ }, [I]);
868
+ const f = (d) => Cs(i, d), ge = s.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: R.langDropdownWrap, ref: b, children: [
865
869
  /* @__PURE__ */ e.jsxs(
866
870
  "button",
867
871
  {
868
872
  type: "button",
869
873
  className: R.langTrigger,
870
874
  onClick: () => {
871
- s.analytics?.trackLanguageClickedFe?.({ language: i }), g((d) => !d);
875
+ s.analytics?.trackLanguageClickedFe?.({ language: i }), p((d) => !d);
872
876
  },
873
- "aria-expanded": w,
877
+ "aria-expanded": I,
874
878
  "aria-haspopup": "listbox",
875
879
  id: "kundli-lang",
876
880
  "aria-label": f("language"),
@@ -890,7 +894,7 @@ function Ss({
890
894
  ]
891
895
  }
892
896
  ),
893
- w && /* @__PURE__ */ e.jsx(
897
+ I && /* @__PURE__ */ e.jsx(
894
898
  "ul",
895
899
  {
896
900
  className: R.langMenu,
@@ -905,7 +909,7 @@ function Ss({
905
909
  "aria-selected": d === i,
906
910
  className: R.langOption,
907
911
  onClick: () => {
908
- s.analytics?.trackLanguageChangedFe?.({ newLanguage: d }), t(d), g(!1);
912
+ s.analytics?.trackLanguageChangedFe?.({ newLanguage: d }), t(d), p(!1);
909
913
  },
910
914
  children: W[d]
911
915
  },
@@ -948,7 +952,7 @@ function Ss({
948
952
  {
949
953
  t: f,
950
954
  logoUrl: s.logoUrl,
951
- languageSelector: he
955
+ languageSelector: ge
952
956
  }
953
957
  ),
954
958
  /* @__PURE__ */ e.jsxs("main", { className: R.main, children: [
@@ -1050,9 +1054,9 @@ function Ss({
1050
1054
  className: R.inlineProceedFooter,
1051
1055
  onProceedGuidance: s.onProceedGuidance,
1052
1056
  showPlanSheet: C,
1053
- confirmPlan: k,
1054
- planSheetOpen: p,
1055
- selectedPlan: h
1057
+ confirmPlan: w,
1058
+ planSheetOpen: u,
1059
+ selectedPlan: _
1056
1060
  }
1057
1061
  )
1058
1062
  ] })
@@ -1080,7 +1084,7 @@ function Ss({
1080
1084
  section: "feedback",
1081
1085
  onImpression: N,
1082
1086
  children: /* @__PURE__ */ e.jsx(
1083
- ue,
1087
+ he,
1084
1088
  {
1085
1089
  t: f,
1086
1090
  readMoreHref: s.readMoreReviewsHref,
@@ -1094,7 +1098,7 @@ function Ss({
1094
1098
  {
1095
1099
  section: "faq",
1096
1100
  onImpression: N,
1097
- children: /* @__PURE__ */ e.jsx(pe, { t: f })
1101
+ children: /* @__PURE__ */ e.jsx(ue, { t: f })
1098
1102
  }
1099
1103
  ),
1100
1104
  /* @__PURE__ */ e.jsx(
@@ -1102,17 +1106,20 @@ function Ss({
1102
1106
  {
1103
1107
  section: "contact_us",
1104
1108
  onImpression: N,
1105
- children: /* @__PURE__ */ e.jsx(ge, { t: f })
1109
+ children: /* @__PURE__ */ e.jsx(pe, { t: f })
1106
1110
  }
1107
1111
  )
1108
1112
  ] }),
1109
1113
  /* @__PURE__ */ e.jsx(
1110
1114
  Ie,
1111
1115
  {
1112
- isOpen: p,
1113
- onClose: () => u(!1),
1114
- selectedPlan: h,
1116
+ isOpen: u,
1117
+ onClose: () => h(!1),
1118
+ selectedPlan: _,
1115
1119
  onSelectPlan: c,
1120
+ onProceed: (d) => {
1121
+ w?.(d);
1122
+ },
1116
1123
  t: f,
1117
1124
  analytics: s.analytics
1118
1125
  }
@@ -1128,15 +1135,15 @@ const Rs = ({
1128
1135
  isGlobal: s,
1129
1136
  googleMapsApiKey: r,
1130
1137
  logoUrl: m,
1131
- reportImageUrl: p,
1132
- universityLogoUrls: u,
1133
- sampleReportHref: h,
1138
+ reportImageUrl: u,
1139
+ universityLogoUrls: h,
1140
+ sampleReportHref: _,
1134
1141
  onViewSampleReport: c,
1135
- ctaHref: _,
1142
+ ctaHref: x,
1136
1143
  onCtaClick: C,
1137
- readMoreReviewsHref: k,
1138
- onProceed: w,
1139
- proceedHref: g,
1144
+ readMoreReviewsHref: w,
1145
+ onProceed: I,
1146
+ proceedHref: p,
1140
1147
  originalPriceLabel: l,
1141
1148
  discountedPriceLabel: j,
1142
1149
  discountPillLabel: $,
@@ -1154,16 +1161,16 @@ const Rs = ({
1154
1161
  variant: "v1",
1155
1162
  googleMapsApiKey: r,
1156
1163
  logoUrl: m,
1157
- reportImageUrl: p,
1158
- universityLogoUrls: u,
1159
- sampleReportHref: h,
1164
+ reportImageUrl: u,
1165
+ universityLogoUrls: h,
1166
+ sampleReportHref: _,
1160
1167
  onViewSampleReport: c,
1161
- ctaHref: _,
1168
+ ctaHref: x,
1162
1169
  onCtaClick: C,
1163
- readMoreReviewsHref: k,
1164
- onProceed: w,
1170
+ readMoreReviewsHref: w,
1171
+ onProceed: I,
1165
1172
  onProceedGuidance: E,
1166
- proceedHref: g,
1173
+ proceedHref: p,
1167
1174
  originalPriceLabel: l,
1168
1175
  discountedPriceLabel: j,
1169
1176
  discountPillLabel: $,
@@ -1182,4 +1189,4 @@ export {
1182
1189
  _s as b,
1183
1190
  Rs as c
1184
1191
  };
1185
- //# sourceMappingURL=criticalCss-Ckf2vupR.js.map
1192
+ //# sourceMappingURL=criticalCss-Dgw7wQ4e.js.map