@srimandir/kundli-generator 5.30.13 → 5.30.15

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,4 +1,4 @@
1
- import { k as e, h as X, D as ne, d as _e, j as le, c as Ae, u as je, L as se, S as ye, l as we, t as ve, C as De, P as $e, F as Ue, U as Me, m as Oe, n as Qe } from "./analytics-B_K8hMeg.js";
1
+ import { k as e, h as X, D as ne, d as _e, j as ie, c as Ae, u as je, L as se, S as ye, l as we, t as ve, C as De, P as $e, F as Ue, U as Me, m as Oe, n as Qe } from "./analytics-B_K8hMeg.js";
2
2
  import { useRef as b, useState as S, useEffect as I, useCallback as z, useMemo as ce } from "react";
3
3
  import { UserReviewsSection as Be, FAQAccordion as Ke, ContactUsSection as He, FooterShell as Ge, FooterCTAButton as qe, CircularMarquee as We, footerShellStyles as W } from "@srimandir/astrology-common";
4
4
  const ze = "_container_nm3gb_1", Ve = "_main_nm3gb_6", Ye = "_langDropdownWrap_nm3gb_12", Xe = "_langTrigger_nm3gb_16", Je = "_langIcon_nm3gb_28", Ze = "_langLabel_nm3gb_35", et = "_langMenu_nm3gb_40", tt = "_langOption_nm3gb_46", K = {
@@ -16,7 +16,7 @@ const ze = "_container_nm3gb_1", Ve = "_main_nm3gb_6", Ye = "_langDropdownWrap_n
16
16
  subtitle: at,
17
17
  topicTags: ot,
18
18
  tag: rt
19
- }, it = [
19
+ }, lt = [
20
20
  "topicMarriage",
21
21
  "topicRelationship",
22
22
  "topicBusiness",
@@ -27,9 +27,9 @@ const ze = "_container_nm3gb_1", Ve = "_main_nm3gb_6", Ye = "_langDropdownWrap_n
27
27
  ], Ne = ({ t, className: n = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${Z.hero} ${n}`, "aria-labelledby": "hero-title", children: [
28
28
  /* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: Z.title, children: t("heroTitle") }),
29
29
  /* @__PURE__ */ e.jsx("p", { className: Z.subtitle, children: t("heroSubtitle") }),
30
- /* @__PURE__ */ e.jsx("div", { className: Z.topicTags, role: "list", children: it.map((s) => /* @__PURE__ */ e.jsx("span", { className: Z.tag, role: "listitem", children: t(s) }, s)) })
31
- ] }), lt = "_section_1285h_1", ct = "_backgroundLayer_1285h_9", dt = "_backgroundImg_1285h_16", pt = "_inner_1285h_23", ut = "_content_1285h_29", ht = "_headline_1285h_33", mt = "_headlineLine_1285h_38", xt = "_headlinePill_1285h_43", gt = "_headlinePlain_1285h_58", ft = "_featureList_1285h_69", bt = "_featureItem_1285h_76", _t = "_featureIcon_1285h_81", jt = "_reportImage_1285h_88", yt = "_reportImg_1285h_98", _ = {
32
- section: lt,
30
+ /* @__PURE__ */ e.jsx("div", { className: Z.topicTags, role: "list", children: lt.map((s) => /* @__PURE__ */ e.jsx("span", { className: Z.tag, role: "listitem", children: t(s) }, s)) })
31
+ ] }), it = "_section_1285h_1", ct = "_backgroundLayer_1285h_9", dt = "_backgroundImg_1285h_16", pt = "_inner_1285h_23", ut = "_content_1285h_29", ht = "_headline_1285h_33", mt = "_headlineLine_1285h_38", xt = "_headlinePill_1285h_43", gt = "_headlinePlain_1285h_58", ft = "_featureList_1285h_69", bt = "_featureItem_1285h_76", _t = "_featureIcon_1285h_81", jt = "_reportImage_1285h_88", yt = "_reportImg_1285h_98", _ = {
32
+ section: it,
33
33
  backgroundLayer: ct,
34
34
  backgroundImg: dt,
35
35
  inner: pt,
@@ -54,7 +54,7 @@ const ze = "_container_nm3gb_1", Ve = "_main_nm3gb_6", Ye = "_langDropdownWrap_n
54
54
  reportImagePriority: s,
55
55
  backgroundImagePriority: r = !1,
56
56
  analytics: a,
57
- className: i = ""
57
+ className: l = ""
58
58
  }) => {
59
59
  const u = X()?.config.imageComponent ?? ne, o = () => {
60
60
  a?.trackBannerClicked?.();
@@ -62,7 +62,7 @@ const ze = "_container_nm3gb_1", Ve = "_main_nm3gb_6", Ye = "_langDropdownWrap_n
62
62
  return /* @__PURE__ */ e.jsxs(
63
63
  "section",
64
64
  {
65
- className: `${_.section} ${i}`,
65
+ className: `${_.section} ${l}`,
66
66
  "aria-labelledby": "premium-headline",
67
67
  role: "button",
68
68
  tabIndex: 0,
@@ -132,7 +132,7 @@ const ze = "_container_nm3gb_1", Ve = "_main_nm3gb_6", Ye = "_langDropdownWrap_n
132
132
  ]
133
133
  }
134
134
  );
135
- }, Ct = "_section_1kxsy_1", Pt = "_heading_1kxsy_6", It = "_logoImg_1kxsy_10", ie = {
135
+ }, Ct = "_section_1kxsy_1", Pt = "_heading_1kxsy_6", It = "_logoImg_1kxsy_10", le = {
136
136
  section: Ct,
137
137
  heading: Pt,
138
138
  logoImg: It
@@ -142,14 +142,14 @@ const ze = "_container_nm3gb_1", Ve = "_main_nm3gb_6", Ye = "_langDropdownWrap_n
142
142
  className: s = ""
143
143
  }) => {
144
144
  const a = X()?.config.imageComponent ?? ne;
145
- return /* @__PURE__ */ e.jsxs("section", { className: `${ie.section} ${s}`, "aria-labelledby": "certified-heading", children: [
146
- /* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: ie.heading, children: t("certifiedBy") }),
145
+ return /* @__PURE__ */ e.jsxs("section", { className: `${le.section} ${s}`, "aria-labelledby": "certified-heading", children: [
146
+ /* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: le.heading, children: t("certifiedBy") }),
147
147
  /* @__PURE__ */ e.jsx(
148
148
  a,
149
149
  {
150
150
  src: n,
151
151
  alt: "University Certification",
152
- className: ie.logoImg,
152
+ className: le.logoImg,
153
153
  width: 380,
154
154
  height: 70,
155
155
  loading: "lazy"
@@ -181,10 +181,10 @@ const ze = "_container_nm3gb_1", Ve = "_main_nm3gb_6", Ye = "_langDropdownWrap_n
181
181
  /* @__PURE__ */ e.jsx("p", { className: R.heading, children: t("yourThreeSteps") }),
182
182
  /* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: R.subtitle, children: t("threeStepsSubtitle") }),
183
183
  /* @__PURE__ */ e.jsxs("ol", { className: R.stepList, children: [
184
- Ut.map((i, l) => /* @__PURE__ */ e.jsxs("li", { className: R.stepItem, children: [
185
- /* @__PURE__ */ e.jsx("span", { className: R.stepNumber, "aria-hidden": !0, children: l + 1 }),
186
- /* @__PURE__ */ e.jsx("span", { className: R.stepText, children: t(i) })
187
- ] }, i)),
184
+ Ut.map((l, i) => /* @__PURE__ */ e.jsxs("li", { className: R.stepItem, children: [
185
+ /* @__PURE__ */ e.jsx("span", { className: R.stepNumber, "aria-hidden": !0, children: i + 1 }),
186
+ /* @__PURE__ */ e.jsx("span", { className: R.stepText, children: t(l) })
187
+ ] }, l)),
188
188
  /* @__PURE__ */ e.jsxs("li", { className: R.stepItem, children: [
189
189
  /* @__PURE__ */ e.jsx("span", { className: R.stepNumber, "aria-hidden": !0, children: "3" }),
190
190
  /* @__PURE__ */ e.jsxs("span", { className: R.stepText, children: [
@@ -224,7 +224,7 @@ const Jt = ({
224
224
  title: s,
225
225
  pdfUrl: r
226
226
  }) => {
227
- const a = b(null), [i, l] = S(!0), [u, o] = S(null), [x, h] = S(null);
227
+ const a = b(null), [l, i] = S(!0), [u, o] = S(null), [x, h] = S(null);
228
228
  return I(() => {
229
229
  if (!t) return;
230
230
  const c = (f) => {
@@ -237,11 +237,11 @@ const Jt = ({
237
237
  t && import("pdfjs-dist").then((c) => {
238
238
  h(c);
239
239
  }).catch((c) => {
240
- o("Failed to load PDF viewer"), l(!1);
240
+ o("Failed to load PDF viewer"), i(!1);
241
241
  });
242
242
  }, [t]), I(() => {
243
243
  if (!t || !r || !a.current || !x) return;
244
- l(!0), o(null), a.current.innerHTML = "", (async () => {
244
+ i(!0), o(null), a.current.innerHTML = "", (async () => {
245
245
  try {
246
246
  Xt(x);
247
247
  const y = await x.getDocument({ url: r }).promise, k = a.current;
@@ -256,7 +256,7 @@ const Jt = ({
256
256
  } catch (f) {
257
257
  o(f instanceof Error ? f.message : "Failed to load PDF");
258
258
  } finally {
259
- l(!1);
259
+ i(!1);
260
260
  }
261
261
  })();
262
262
  }, [t, r, x]), t ? /* @__PURE__ */ e.jsx(
@@ -317,17 +317,17 @@ const Jt = ({
317
317
  analytics: r,
318
318
  className: a = ""
319
319
  }) => {
320
- const [i, l] = S(!1), u = t("viewSampleReport"), o = t("sampleReportModalTitle"), x = () => {
321
- r?.trackViewSampleReportClicked?.(), s?.(), l(!0);
320
+ const [l, i] = S(!1), u = t("viewSampleReport"), o = t("sampleReportModalTitle"), x = () => {
321
+ r?.trackViewSampleReportClicked?.(), s?.(), i(!0);
322
322
  }, h = () => {
323
- r?.trackViewSampleReportClosed?.(), l(!1);
323
+ r?.trackViewSampleReportClosed?.(), i(!1);
324
324
  };
325
325
  return /* @__PURE__ */ e.jsxs("section", { className: `${de.section} ${a}`, children: [
326
326
  /* @__PURE__ */ e.jsx("button", { type: "button", className: de.button, onClick: x, children: u }),
327
327
  /* @__PURE__ */ e.jsx(
328
328
  Jt,
329
329
  {
330
- isOpen: i,
330
+ isOpen: l,
331
331
  onClose: h,
332
332
  title: o,
333
333
  pdfUrl: n
@@ -372,11 +372,11 @@ const Jt = ({
372
372
  "aria-labelledby": "find-heading",
373
373
  children: [
374
374
  /* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: U.heading, children: t("whatYoullFindTitle") }),
375
- /* @__PURE__ */ e.jsx("ul", { className: U.list, children: pn.map((i, l) => /* @__PURE__ */ e.jsxs("li", { className: U.item, children: [
376
- /* @__PURE__ */ e.jsx("div", { className: U.imageWrap, children: n[l] ? /* @__PURE__ */ e.jsx(
375
+ /* @__PURE__ */ e.jsx("ul", { className: U.list, children: pn.map((l, i) => /* @__PURE__ */ e.jsxs("li", { className: U.item, children: [
376
+ /* @__PURE__ */ e.jsx("div", { className: U.imageWrap, children: n[i] ? /* @__PURE__ */ e.jsx(
377
377
  a,
378
378
  {
379
- src: n[l],
379
+ src: n[i],
380
380
  alt: "",
381
381
  className: U.image,
382
382
  width: 96,
@@ -386,10 +386,10 @@ const Jt = ({
386
386
  }
387
387
  ) : /* @__PURE__ */ e.jsx("div", { className: U.imagePlaceholder, "aria-hidden": !0 }) }),
388
388
  /* @__PURE__ */ e.jsxs("div", { className: U.text, children: [
389
- /* @__PURE__ */ e.jsx("h3", { className: U.itemTitle, children: t(i.titleKey) }),
390
- /* @__PURE__ */ e.jsx("p", { className: U.itemDesc, children: t(i.descKey) })
389
+ /* @__PURE__ */ e.jsx("h3", { className: U.itemTitle, children: t(l.titleKey) }),
390
+ /* @__PURE__ */ e.jsx("p", { className: U.itemDesc, children: t(l.descKey) })
391
391
  ] })
392
- ] }, i.titleKey)) })
392
+ ] }, l.titleKey)) })
393
393
  ]
394
394
  }
395
395
  );
@@ -411,7 +411,7 @@ const Jt = ({
411
411
  readMoreHref: s,
412
412
  onReadMore: r,
413
413
  className: a = "",
414
- headingClassName: i = jn.headingBold
414
+ headingClassName: l = jn.headingBold
415
415
  }) => /* @__PURE__ */ e.jsx(
416
416
  Be,
417
417
  {
@@ -420,7 +420,7 @@ const Jt = ({
420
420
  readMoreHref: s,
421
421
  onReadMore: r,
422
422
  className: a,
423
- headingClassName: i
423
+ headingClassName: l
424
424
  }
425
425
  ), yn = "_headingBold_g8xg7_1", wn = {
426
426
  headingBold: yn
@@ -432,13 +432,13 @@ const Jt = ({
432
432
  className: n = "",
433
433
  headingClassName: s = wn.headingBold
434
434
  }) => {
435
- const a = X()?.config.isGlobal ?? !0, i = (l) => l === "faqA1" ? a ? "faqA1Global" : "faqA1Domestic" : l;
435
+ const a = X()?.config.isGlobal ?? !0, l = (i) => i === "faqA1" ? a ? "faqA1Global" : "faqA1Domestic" : i;
436
436
  return /* @__PURE__ */ e.jsx(
437
437
  Ke,
438
438
  {
439
439
  t,
440
440
  items: vn,
441
- resolveAnswerKey: i,
441
+ resolveAnswerKey: l,
442
442
  defaultOpenIndex: 1,
443
443
  className: n,
444
444
  headingClassName: s
@@ -450,7 +450,7 @@ const Jt = ({
450
450
  whatsAppDomestic: s,
451
451
  email: r,
452
452
  brandName: a,
453
- className: i = ""
453
+ className: l = ""
454
454
  }) => {
455
455
  const u = X()?.config.isGlobal ?? !0, o = n ?? pe, x = s ?? ue, h = r ?? he, c = u ? t("contactWhatsAppGlobal").replace(pe, o) : t("contactWhatsAppDomestic").replace(ue, x), f = t("contactEmail").replace(he, h);
456
456
  return /* @__PURE__ */ e.jsx(
@@ -460,7 +460,7 @@ const Jt = ({
460
460
  brandName: a ?? t("contactBrandName"),
461
461
  whatsAppLine: c,
462
462
  emailLine: f,
463
- className: i
463
+ className: l
464
464
  }
465
465
  );
466
466
  }, Nn = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", kn = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Cn = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Pn = ({ t }) => {
@@ -502,9 +502,9 @@ function M({
502
502
  }) {
503
503
  const r = b(null), a = b(!1);
504
504
  return I(() => {
505
- const i = r.current;
506
- if (!i) return;
507
- const l = new IntersectionObserver(
505
+ const l = r.current;
506
+ if (!l) return;
507
+ const i = new IntersectionObserver(
508
508
  ([u]) => {
509
509
  !u?.isIntersecting || a.current || (a.current = !0, s(t));
510
510
  },
@@ -514,11 +514,11 @@ function M({
514
514
  rootMargin: `0px 0px -${Fn}px 0px`
515
515
  }
516
516
  );
517
- return l.observe(i), () => l.disconnect();
517
+ return i.observe(l), () => i.disconnect();
518
518
  }, [t, s]), /* @__PURE__ */ e.jsx("div", { ref: r, children: n });
519
519
  }
520
520
  function Sn({ className: t }) {
521
- const { view: n } = le();
521
+ const { view: n } = ie();
522
522
  return n === "form" ? /* @__PURE__ */ e.jsx(Ae, {}) : /* @__PURE__ */ e.jsx(Rn, { className: t });
523
523
  }
524
524
  function Rn({ className: t }) {
@@ -526,8 +526,8 @@ function Rn({ className: t }) {
526
526
  locale: s,
527
527
  setLocale: r,
528
528
  config: a,
529
- goToForm: i
530
- } = le(), [l, u] = S(!1), o = b(null), x = b(a.locale), h = b(
529
+ goToForm: l
530
+ } = ie(), [i, u] = S(!1), o = b(null), x = b(a.locale), h = b(
531
531
  n?.locale
532
532
  );
533
533
  I(() => {
@@ -537,12 +537,12 @@ function Rn({ className: t }) {
537
537
  const d = n?.locale;
538
538
  d && h.current !== d && r(d), h.current = d;
539
539
  }, [n?.locale, a.locale, r]), I(() => {
540
- if (!l) return;
540
+ if (!i) return;
541
541
  const d = (N) => {
542
542
  o.current && !o.current.contains(N.target) && u(!1);
543
543
  };
544
544
  return document.addEventListener("mousedown", d), () => document.removeEventListener("mousedown", d);
545
- }, [l]);
545
+ }, [i]);
546
546
  const c = (d) => Tn(s, d), f = a.showLanguageSelector ?? !0, y = a.imageComponent ?? ne, k = f ? /* @__PURE__ */ e.jsxs("div", { className: K.langDropdownWrap, ref: o, children: [
547
547
  /* @__PURE__ */ e.jsxs(
548
548
  "button",
@@ -552,7 +552,7 @@ function Rn({ className: t }) {
552
552
  onClick: () => {
553
553
  a.analytics?.trackLanguageClickedFe?.({ language: s }), u((d) => !d);
554
554
  },
555
- "aria-expanded": l,
555
+ "aria-expanded": i,
556
556
  "aria-haspopup": "listbox",
557
557
  id: "kundli-lang",
558
558
  "aria-label": c("language"),
@@ -572,7 +572,7 @@ function Rn({ className: t }) {
572
572
  ]
573
573
  }
574
574
  ),
575
- l && /* @__PURE__ */ e.jsx(
575
+ i && /* @__PURE__ */ e.jsx(
576
576
  "ul",
577
577
  {
578
578
  className: K.langMenu,
@@ -597,7 +597,7 @@ function Rn({ className: t }) {
597
597
  )
598
598
  ] }) : null, C = (d) => {
599
599
  const N = d.currentTarget.innerText?.trim() ?? c("ctaButtonAfter");
600
- a.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: N }), i(), a.onCtaClick?.();
600
+ a.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: N }), l(), a.onCtaClick?.();
601
601
  }, g = z(
602
602
  (d) => {
603
603
  a.analytics?.trackDetailedKundliReportImpressionFe?.({
@@ -744,8 +744,8 @@ const En = ({
744
744
  showLanguageSelector: s = !0,
745
745
  showSheet: r,
746
746
  userId: a,
747
- isGlobal: i,
748
- atlasSearchLocalities: l,
747
+ isGlobal: l,
748
+ atlasSearchLocalities: i,
749
749
  logoUrl: u,
750
750
  reportImageUrl: o,
751
751
  universityLogoUrls: x,
@@ -769,8 +769,8 @@ const En = ({
769
769
  showLanguageSelector: s,
770
770
  showSheet: r,
771
771
  userId: a,
772
- isGlobal: i,
773
- atlasSearchLocalities: l,
772
+ isGlobal: l,
773
+ atlasSearchLocalities: i,
774
774
  logoUrl: u,
775
775
  reportImageUrl: o,
776
776
  universityLogoUrls: x,
@@ -987,7 +987,7 @@ const qn = 5e3, Wn = 84, zn = `
987
987
  onChipClick: s
988
988
  }) => {
989
989
  const r = Math.ceil(t.length / 2), a = [t.slice(0, r), t.slice(r)];
990
- return /* @__PURE__ */ e.jsx("div", { className: "overflow-x-auto pb-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", children: /* @__PURE__ */ e.jsx("div", { className: "inline-flex flex-col gap-2", children: a.map((i, l) => /* @__PURE__ */ e.jsx("div", { className: "flex gap-2", children: i.map((u) => /* @__PURE__ */ e.jsx(
990
+ return /* @__PURE__ */ e.jsx("div", { className: "overflow-x-auto pb-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", children: /* @__PURE__ */ e.jsx("div", { className: "inline-flex flex-col gap-2", children: a.map((l, i) => /* @__PURE__ */ e.jsx("div", { className: "flex gap-2", children: l.map((u) => /* @__PURE__ */ e.jsx(
991
991
  "button",
992
992
  {
993
993
  type: "button",
@@ -996,15 +996,15 @@ const qn = 5e3, Wn = 84, zn = `
996
996
  children: n(u)
997
997
  },
998
998
  u
999
- )) }, l)) }) });
999
+ )) }, i)) }) });
1000
1000
  }, ts = ({
1001
1001
  textareaRef: t,
1002
1002
  value: n,
1003
1003
  label: s,
1004
1004
  placeholder: r,
1005
1005
  chipKeys: a,
1006
- t: i,
1007
- onFocus: l,
1006
+ t: l,
1007
+ onFocus: i,
1008
1008
  onClick: u,
1009
1009
  onChange: o,
1010
1010
  onChipClick: x
@@ -1031,20 +1031,20 @@ const qn = 5e3, Wn = 84, zn = `
1031
1031
  style: { height: "100px" },
1032
1032
  placeholder: r,
1033
1033
  value: n,
1034
- onFocus: l,
1034
+ onFocus: i,
1035
1035
  onClick: u,
1036
1036
  onChange: o
1037
1037
  }
1038
1038
  ),
1039
- /* @__PURE__ */ e.jsx(es, { chipKeys: a, t: i, onChipClick: x })
1040
- ] }), ns = "_card_62fy9_1", ss = "_top_62fy9_15", as = "_avatar_62fy9_21", os = "_avatarPlaceholder_62fy9_38", rs = "_basicInfo_62fy9_44", is = "_name_62fy9_51", ls = "_exp_62fy9_61", cs = "_langs_62fy9_62", ds = "_divider_62fy9_69", ps = "_certList_62fy9_75", us = "_certItem_62fy9_81", hs = "_bullet_62fy9_90", E = {
1039
+ /* @__PURE__ */ e.jsx(es, { chipKeys: a, t: l, onChipClick: x })
1040
+ ] }), ns = "_card_62fy9_1", ss = "_top_62fy9_15", as = "_avatar_62fy9_21", os = "_avatarPlaceholder_62fy9_38", rs = "_basicInfo_62fy9_44", ls = "_name_62fy9_51", is = "_exp_62fy9_61", cs = "_langs_62fy9_62", ds = "_divider_62fy9_69", ps = "_certList_62fy9_75", us = "_certItem_62fy9_81", hs = "_bullet_62fy9_90", E = {
1041
1041
  card: ns,
1042
1042
  top: ss,
1043
1043
  avatar: as,
1044
1044
  avatarPlaceholder: os,
1045
1045
  basicInfo: rs,
1046
- name: is,
1047
- exp: ls,
1046
+ name: ls,
1047
+ exp: is,
1048
1048
  langs: cs,
1049
1049
  divider: ds,
1050
1050
  certList: ps,
@@ -1094,36 +1094,46 @@ const qn = 5e3, Wn = 84, zn = `
1094
1094
  t: s,
1095
1095
  analytics: r,
1096
1096
  onSelectPlan: a
1097
- }) => /* @__PURE__ */ e.jsx("div", { className: "flex gap-2 pt-4 pb-3 overflow-visible", role: "radiogroup", "aria-label": "Select plan", children: t.map((i) => /* @__PURE__ */ e.jsxs(
1098
- "button",
1099
- {
1100
- type: "button",
1101
- role: "radio",
1102
- "aria-checked": i.id === n,
1103
- className: [
1104
- "flex-1 relative overflow-visible flex flex-col items-center justify-center gap-1 px-1 py-3 min-h-[125px] min-w-[106px] rounded-xl border-[1.5px] cursor-pointer text-center outline-none transition-colors",
1105
- i.id === n ? "border-[#e05c2a] bg-[#fff8f4]" : "border-gray-200 bg-white"
1106
- ].join(" "),
1107
- onClick: () => {
1108
- r?.trackPlanSelected?.({ planId: i.id, planName: i.title }), a(i);
1109
- },
1110
- children: [
1111
- i.badge && /* @__PURE__ */ e.jsxs("span", { className: "absolute -top-[14px] left-0 right-0 inline-flex items-center justify-center gap-1 whitespace-nowrap rounded-t-xl bg-[linear-gradient(180deg,#751139_0%,#D51F68_100%)] px-2 py-[6px] text-[11px] font-bold text-white", children: [
1112
- /* @__PURE__ */ e.jsx(Jn, {}),
1113
- s(i.badge)
1114
- ] }),
1115
- /* @__PURE__ */ e.jsx(
1116
- "span",
1117
- {
1118
- className: `text-[14px] leading-snug ${i.id === n ? "font-bold text-gray-900" : "font-semibold text-gray-600"}`,
1119
- children: s(i.title)
1120
- }
1121
- ),
1122
- /* @__PURE__ */ e.jsx("span", { className: "text-[15px] font-bold text-[#1D2125] leading-tight", children: i.price })
1123
- ]
1124
- },
1125
- i.id
1126
- )) }), fs = ({
1097
+ }) => (
1098
+ /*
1099
+ * pt-[18px] reserves space for the badge that floats above the card.
1100
+ * Each card wrapper is `relative overflow-visible` so the badge can
1101
+ * sit above the card boundary without being clipped by the sheet's
1102
+ * overflow-hidden (the badge's nearest `overflow-hidden` ancestor is
1103
+ * now the sticky footer, not the sheet, which doesn't clip it).
1104
+ */
1105
+ /* @__PURE__ */ e.jsx("div", { className: "flex gap-2 pt-[18px] pb-3", role: "radiogroup", "aria-label": "Select plan", children: t.map((l) => /* @__PURE__ */ e.jsxs("div", { className: "flex-1 relative min-w-[106px]", children: [
1106
+ l.badge && /* @__PURE__ */ e.jsxs("span", { className: "absolute -top-[18px] left-0 right-0 inline-flex items-center justify-center gap-1 whitespace-nowrap rounded-t-xl bg-[linear-gradient(180deg,#751139_0%,#D51F68_100%)] px-2 py-[6px] text-[11px] font-bold text-white z-10", children: [
1107
+ /* @__PURE__ */ e.jsx(Jn, {}),
1108
+ s(l.badge)
1109
+ ] }),
1110
+ /* @__PURE__ */ e.jsxs(
1111
+ "button",
1112
+ {
1113
+ type: "button",
1114
+ role: "radio",
1115
+ "aria-checked": l.id === n,
1116
+ className: [
1117
+ "w-full flex flex-col items-center justify-center gap-1 px-1 py-3 min-h-[125px] rounded-xl border-[1.5px] cursor-pointer text-center outline-none transition-colors overflow-hidden",
1118
+ l.id === n ? "border-[#e05c2a] bg-[#fff8f4]" : "border-gray-200 bg-white"
1119
+ ].join(" "),
1120
+ onClick: () => {
1121
+ r?.trackPlanSelected?.({ planId: l.id, planName: l.title }), a(l);
1122
+ },
1123
+ children: [
1124
+ /* @__PURE__ */ e.jsx(
1125
+ "span",
1126
+ {
1127
+ className: `text-[14px] leading-snug ${l.id === n ? "font-bold text-gray-900" : "font-semibold text-gray-600"}`,
1128
+ children: s(l.title)
1129
+ }
1130
+ ),
1131
+ /* @__PURE__ */ e.jsx("span", { className: "text-[15px] font-bold text-[#1D2125] leading-tight", children: l.price })
1132
+ ]
1133
+ }
1134
+ )
1135
+ ] }, l.id)) })
1136
+ ), fs = ({
1127
1137
  canProceed: t,
1128
1138
  label: n,
1129
1139
  showDisabledHint: s,
@@ -1165,13 +1175,13 @@ const qn = 5e3, Wn = 84, zn = `
1165
1175
  selectedPlan: s,
1166
1176
  onSelectPlan: r,
1167
1177
  plans: a,
1168
- onProceed: i,
1169
- locale: l = "en",
1178
+ onProceed: l,
1179
+ locale: i = "en",
1170
1180
  t: u,
1171
1181
  analytics: o,
1172
1182
  isGlobal: x = !0
1173
1183
  }) => {
1174
- const h = z((m) => (me[l] ?? me.en)[m] ?? u?.(m) ?? m, [l, u]), c = ce(() => a ?? Gn(x), [a, x]), f = s?.id || c.find((m) => m.badge)?.id || c[0]?.id || "", y = b(null), k = b(null), C = b(null), g = b(!1), [d, N] = S(""), [F, w] = S("custom"), [L, Q] = S(null), [H, G] = S(!1), q = b(!1), V = b(null), P = ce(() => c.find((m) => m.id === f) ?? c[0], [c, f]), D = !!P?.supportsQuestion, j = !D || d.trim().length > 0, ae = z(() => {
1184
+ const h = z((m) => (me[i] ?? me.en)[m] ?? u?.(m) ?? m, [i, u]), c = ce(() => a ?? Gn(x), [a, x]), f = s?.id || c.find((m) => m.badge)?.id || c[0]?.id || "", y = b(null), k = b(null), C = b(null), g = b(!1), [d, N] = S(""), [F, w] = S("custom"), [L, Q] = S(null), [H, G] = S(!1), q = b(!1), V = b(null), P = ce(() => c.find((m) => m.id === f) ?? c[0], [c, f]), D = !!P?.supportsQuestion, j = !D || d.trim().length > 0, ae = z(() => {
1175
1185
  const m = V.current;
1176
1186
  m && (m.style.height = "auto", m.style.height = Math.max(100, Math.min(m.scrollHeight, Wn)) + "px");
1177
1187
  }, []);
@@ -1228,7 +1238,7 @@ const qn = 5e3, Wn = 84, zn = `
1228
1238
  question_asked: D ? !0 : void 0,
1229
1239
  question_text: D ? d.trim() : void 0,
1230
1240
  question_source: D ? F : void 0
1231
- }), i(P, D ? d.trim() : void 0), n();
1241
+ }), l(P, D ? d.trim() : void 0), n();
1232
1242
  }
1233
1243
  };
1234
1244
  return t ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
@@ -1278,7 +1288,7 @@ const qn = 5e3, Wn = 84, zn = `
1278
1288
  /* @__PURE__ */ e.jsxs(
1279
1289
  "div",
1280
1290
  {
1281
- className: "px-4 pt-3.5 bg-white border-t border-gray-100 sticky bottom-0 z-[5]",
1291
+ className: "px-4 pt-3.5 bg-white border-t border-gray-100 sticky bottom-0 z-[5] overflow-visible",
1282
1292
  style: { paddingBottom: "calc(14px + env(safe-area-inset-bottom))" },
1283
1293
  children: [
1284
1294
  /* @__PURE__ */ e.jsx(
@@ -1452,7 +1462,7 @@ call`, values: ["cross", "cross", "check"] }
1452
1462
  }) => {
1453
1463
  const a = t ? fe.global : fe.domestic;
1454
1464
  return /* @__PURE__ */ e.jsxs("section", { className: `bg-white px-3 py-4 ${r}`, children: [
1455
- /* @__PURE__ */ e.jsx("h2", { className: "mb-3 text-center text-[18px] leading-6 text-[#f75e22] max-[380px]:text-[16px]", children: ys }),
1465
+ /* @__PURE__ */ e.jsx("h2", { className: "mb-3 font-bold text-center text-[18px] leading-6 text-[#f75e22] max-[380px]:text-[16px]", children: ys }),
1456
1466
  /* @__PURE__ */ e.jsx("div", { className: "relative mt-5 rounded-[14px] border-[1.5px] border-[#e5ccb9] shadow-[0_4px_16px_rgba(111,58,17,0.08)]", children: /* @__PURE__ */ e.jsxs("table", { className: "w-full table-fixed border-collapse", children: [
1457
1467
  /* @__PURE__ */ e.jsxs("colgroup", { children: [
1458
1468
  /* @__PURE__ */ e.jsx("col", { className: "w-1/4" }),
@@ -1479,9 +1489,9 @@ function A({
1479
1489
  }) {
1480
1490
  const r = b(null), a = b(!1);
1481
1491
  return I(() => {
1482
- const i = r.current;
1483
- if (!i) return;
1484
- const l = new IntersectionObserver(
1492
+ const l = r.current;
1493
+ if (!l) return;
1494
+ const i = new IntersectionObserver(
1485
1495
  ([u]) => {
1486
1496
  !u?.isIntersecting || a.current || (a.current = !0, s(t));
1487
1497
  },
@@ -1491,7 +1501,7 @@ function A({
1491
1501
  rootMargin: `0px 0px -${As}px 0px`
1492
1502
  }
1493
1503
  );
1494
- return l.observe(i), () => l.disconnect();
1504
+ return i.observe(l), () => i.disconnect();
1495
1505
  }, [t, s]), /* @__PURE__ */ e.jsx("div", { ref: r, children: n });
1496
1506
  }
1497
1507
  function Ds({
@@ -1501,13 +1511,13 @@ function Ds({
1501
1511
  kundliReportSampleHref: r,
1502
1512
  oneQuestionSampleHref: a
1503
1513
  }) {
1504
- const i = je(), {
1505
- locale: l,
1514
+ const l = je(), {
1515
+ locale: i,
1506
1516
  setLocale: u,
1507
1517
  config: o,
1508
1518
  formValues: x,
1509
1519
  setFormValues: h
1510
- } = le(), [c, f] = S(!1), [y, k] = S(null), C = b(null), g = b(void 0), d = b(null), N = b(!1), F = z((p) => {
1520
+ } = ie(), [c, f] = S(!1), [y, k] = S(null), C = b(null), g = b(void 0), d = b(null), N = b(!1), F = z((p) => {
1511
1521
  C.current = p, f(!0);
1512
1522
  }, []), w = z(() => {
1513
1523
  if (!C.current || !y) return;
@@ -1520,15 +1530,15 @@ function Ds({
1520
1530
  }, [y, o.onProceed, o.onProceedGuidance]), [L, Q] = S(!1), [H, G] = S(
1521
1531
  o.isGlobal ?? !0 ? "+1" : "+91"
1522
1532
  ), q = b(null), V = b(null), P = b(o.locale), D = b(
1523
- i?.locale
1533
+ l?.locale
1524
1534
  );
1525
1535
  I(() => {
1526
1536
  o.locale && P.current !== o.locale && u(o.locale), P.current = o.locale;
1527
1537
  }, [o.locale, u]), I(() => {
1528
1538
  if (o.locale) return;
1529
- const p = i?.locale;
1539
+ const p = l?.locale;
1530
1540
  p && D.current !== p && u(p), D.current = p;
1531
- }, [i?.locale, o.locale, u]), I(() => {
1541
+ }, [l?.locale, o.locale, u]), I(() => {
1532
1542
  G(o.isGlobal ?? !0 ? "+1" : "+91");
1533
1543
  }, [o.isGlobal]), I(() => {
1534
1544
  if (!L) return;
@@ -1548,14 +1558,14 @@ function Ds({
1548
1558
  );
1549
1559
  return B.observe(p), () => B.disconnect();
1550
1560
  }, [s, o.analytics]);
1551
- const j = (p) => Es(l, p), oe = o.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: O.langDropdownWrap, ref: V, children: [
1561
+ const j = (p) => Es(i, p), oe = o.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: O.langDropdownWrap, ref: V, children: [
1552
1562
  /* @__PURE__ */ e.jsxs(
1553
1563
  "button",
1554
1564
  {
1555
1565
  type: "button",
1556
1566
  className: O.langTrigger,
1557
1567
  onClick: () => {
1558
- o.analytics?.trackLanguageClickedFe?.({ language: l }), Q((p) => !p);
1568
+ o.analytics?.trackLanguageClickedFe?.({ language: i }), Q((p) => !p);
1559
1569
  },
1560
1570
  "aria-expanded": L,
1561
1571
  "aria-haspopup": "listbox",
@@ -1573,7 +1583,7 @@ function Ds({
1573
1583
  "aria-hidden": !0
1574
1584
  }
1575
1585
  ),
1576
- /* @__PURE__ */ e.jsx("span", { className: O.langLabel, children: se[l] })
1586
+ /* @__PURE__ */ e.jsx("span", { className: O.langLabel, children: se[i] })
1577
1587
  ]
1578
1588
  }
1579
1589
  ),
@@ -1583,13 +1593,13 @@ function Ds({
1583
1593
  className: O.langMenu,
1584
1594
  role: "listbox",
1585
1595
  "aria-labelledby": "kundli-lang",
1586
- "aria-activedescendant": `kundli-lang-option-${l}`,
1596
+ "aria-activedescendant": `kundli-lang-option-${i}`,
1587
1597
  children: ye.map((p) => /* @__PURE__ */ e.jsx(
1588
1598
  "li",
1589
1599
  {
1590
1600
  id: `kundli-lang-option-${p}`,
1591
1601
  role: "option",
1592
- "aria-selected": p === l,
1602
+ "aria-selected": p === i,
1593
1603
  className: O.langOption,
1594
1604
  onClick: () => {
1595
1605
  o.analytics?.trackLanguageChangedFe?.({ newLanguage: p }), u(p), Q(!1);
@@ -1679,7 +1689,7 @@ function Ds({
1679
1689
  {
1680
1690
  section: "three_steps_process",
1681
1691
  onImpression: T,
1682
- children: /* @__PURE__ */ e.jsx(Pe, { t: j, locale: l, isGlobal: o.isGlobal })
1692
+ children: /* @__PURE__ */ e.jsx(Pe, { t: j, locale: i, isGlobal: o.isGlobal })
1683
1693
  }
1684
1694
  ),
1685
1695
  /* @__PURE__ */ e.jsx(
@@ -1805,7 +1815,7 @@ function Ds({
1805
1815
  selectedPlan: y,
1806
1816
  onSelectPlan: (p) => k(p),
1807
1817
  isGlobal: o.isGlobal,
1808
- locale: l,
1818
+ locale: i,
1809
1819
  onProceed: (p, B) => {
1810
1820
  g.current = B, w();
1811
1821
  },
@@ -1834,8 +1844,8 @@ const $s = ({
1834
1844
  showLanguageSelector: s = !0,
1835
1845
  showSheet: r,
1836
1846
  userId: a,
1837
- isGlobal: i,
1838
- atlasSearchLocalities: l,
1847
+ isGlobal: l,
1848
+ atlasSearchLocalities: i,
1839
1849
  enableThreeSkuFlow: u = !1,
1840
1850
  kundliReportSampleHref: o,
1841
1851
  oneQuestionSampleHref: x,
@@ -1862,9 +1872,9 @@ const $s = ({
1862
1872
  showLanguageSelector: s,
1863
1873
  showSheet: r,
1864
1874
  userId: a,
1865
- isGlobal: i,
1875
+ isGlobal: l,
1866
1876
  variant: "v1",
1867
- atlasSearchLocalities: l,
1877
+ atlasSearchLocalities: i,
1868
1878
  logoUrl: h,
1869
1879
  reportImageUrl: c,
1870
1880
  universityLogoUrls: f,
@@ -1903,4 +1913,4 @@ export {
1903
1913
  En as b,
1904
1914
  $s as c
1905
1915
  };
1906
- //# sourceMappingURL=criticalCss-8EUr27sU.js.map
1916
+ //# sourceMappingURL=criticalCss-oJIi5QxU.js.map