@srimandir/kundli-generator 5.30.5 → 5.30.6

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,7 +1,7 @@
1
- import { k as e, h as V, D as J, d as ge, j as ie, c as Re, u as fe, L as ne, S as be, l as _e, t as je, C as Ee, P as Ae, F as $e, U as De, m as Ue, n as Me } from "./analytics-Deq0Kl4U.js";
2
- import { useRef as j, useState as T, useEffect as L, useCallback as H, useMemo as le } from "react";
3
- import { UserReviewsSection as Oe, FAQAccordion as Ke, ContactUsSection as Ge, FooterShell as He, FooterCTAButton as Qe, CircularMarquee as Be, footerShellStyles as B } from "@srimandir/astrology-common";
4
- const qe = "_container_nm3gb_1", ze = "_main_nm3gb_6", We = "_langDropdownWrap_nm3gb_12", Ve = "_langTrigger_nm3gb_16", Ye = "_langIcon_nm3gb_28", Xe = "_langLabel_nm3gb_35", Je = "_langMenu_nm3gb_40", Ze = "_langOption_nm3gb_46", G = {
1
+ import { k as e, h as W, D as X, d as ge, j as ie, c as Re, u as fe, L as ne, S as be, l as _e, t as je, C as Ee, P as Ae, F as $e, U as De, m as Ue, n as Me } from "./analytics-Deq0Kl4U.js";
2
+ import { useRef as j, useState as T, useEffect as L, useCallback as G, useMemo as le } from "react";
3
+ import { UserReviewsSection as Ke, FAQAccordion as Oe, ContactUsSection as Qe, FooterShell as He, FooterCTAButton as Be, CircularMarquee as Ge, footerShellStyles as B } from "@srimandir/astrology-common";
4
+ const qe = "_container_nm3gb_1", ze = "_main_nm3gb_6", We = "_langDropdownWrap_nm3gb_12", Ve = "_langTrigger_nm3gb_16", Ye = "_langIcon_nm3gb_28", Xe = "_langLabel_nm3gb_35", Je = "_langMenu_nm3gb_40", Ze = "_langOption_nm3gb_46", Q = {
5
5
  container: qe,
6
6
  main: ze,
7
7
  langDropdownWrap: We,
@@ -10,7 +10,7 @@ const qe = "_container_nm3gb_1", ze = "_main_nm3gb_6", We = "_langDropdownWrap_n
10
10
  langLabel: Xe,
11
11
  langMenu: Je,
12
12
  langOption: Ze
13
- }, et = "_hero_1vvjv_1", tt = "_title_1vvjv_5", nt = "_subtitle_1vvjv_10", at = "_topicTags_1vvjv_23", st = "_tag_1vvjv_27", Y = {
13
+ }, et = "_hero_1vvjv_1", tt = "_title_1vvjv_5", nt = "_subtitle_1vvjv_10", at = "_topicTags_1vvjv_23", st = "_tag_1vvjv_27", V = {
14
14
  hero: et,
15
15
  title: tt,
16
16
  subtitle: nt,
@@ -24,10 +24,10 @@ const qe = "_container_nm3gb_1", ze = "_main_nm3gb_6", We = "_langDropdownWrap_n
24
24
  "topicCareer",
25
25
  "topicEducation",
26
26
  "topicMoney"
27
- ], ye = ({ t, className: i = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${Y.hero} ${i}`, "aria-labelledby": "hero-title", children: [
28
- /* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: Y.title, children: t("heroTitle") }),
29
- /* @__PURE__ */ e.jsx("p", { className: Y.subtitle, children: t("heroSubtitle") }),
30
- /* @__PURE__ */ e.jsx("div", { className: Y.topicTags, role: "list", children: it.map((s) => /* @__PURE__ */ e.jsx("span", { className: Y.tag, role: "listitem", children: t(s) }, s)) })
27
+ ], ye = ({ t, className: i = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${V.hero} ${i}`, "aria-labelledby": "hero-title", children: [
28
+ /* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: V.title, children: t("heroTitle") }),
29
+ /* @__PURE__ */ e.jsx("p", { className: V.subtitle, children: t("heroSubtitle") }),
30
+ /* @__PURE__ */ e.jsx("div", { className: V.topicTags, role: "list", children: it.map((s) => /* @__PURE__ */ e.jsx("span", { className: V.tag, role: "listitem", children: t(s) }, s)) })
31
31
  ] }), lt = "_section_1285h_1", rt = "_backgroundLayer_1285h_9", ot = "_backgroundImg_1285h_16", ct = "_inner_1285h_23", dt = "_content_1285h_29", pt = "_headline_1285h_33", ut = "_headlineLine_1285h_38", ht = "_headlinePill_1285h_43", mt = "_headlinePlain_1285h_58", xt = "_featureList_1285h_69", gt = "_featureItem_1285h_76", ft = "_featureIcon_1285h_81", bt = "_reportImage_1285h_88", _t = "_reportImg_1285h_98", _ = {
32
32
  section: lt,
33
33
  backgroundLayer: rt,
@@ -56,7 +56,7 @@ const qe = "_container_nm3gb_1", ze = "_main_nm3gb_6", We = "_langDropdownWrap_n
56
56
  analytics: n,
57
57
  className: c = ""
58
58
  }) => {
59
- const h = V()?.config.imageComponent ?? J, a = () => {
59
+ const h = W()?.config.imageComponent ?? X, a = () => {
60
60
  n?.trackBannerClicked?.();
61
61
  };
62
62
  return /* @__PURE__ */ e.jsxs(
@@ -141,7 +141,7 @@ const qe = "_container_nm3gb_1", ze = "_main_nm3gb_6", We = "_langDropdownWrap_n
141
141
  logoUrl: i = Pt,
142
142
  className: s = ""
143
143
  }) => {
144
- const n = V()?.config.imageComponent ?? J;
144
+ const n = W()?.config.imageComponent ?? X;
145
145
  return /* @__PURE__ */ e.jsxs("section", { className: `${se.section} ${s}`, "aria-labelledby": "certified-heading", children: [
146
146
  /* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: se.heading, children: t("certifiedBy") }),
147
147
  /* @__PURE__ */ e.jsx(
@@ -203,14 +203,14 @@ const qe = "_container_nm3gb_1", ze = "_main_nm3gb_6", We = "_langDropdownWrap_n
203
203
  }, Dt = "_section_1jea1_1", Ut = "_button_1jea1_7", re = {
204
204
  section: Dt,
205
205
  button: Ut
206
- }, Mt = "_backdrop_pekod_1", Ot = "_modal_pekod_21", Kt = "_header_pekod_40", Gt = "_title_pekod_49", Ht = "_closeBtn_pekod_56", Qt = "_content_pekod_76", Bt = "_pdfFrame_pekod_84", qt = "_pdfPages_pekod_92", zt = "_pdfError_pekod_97", Wt = "_openInNewTab_pekod_123", $ = {
206
+ }, Mt = "_backdrop_pekod_1", Kt = "_modal_pekod_21", Ot = "_header_pekod_40", Qt = "_title_pekod_49", Ht = "_closeBtn_pekod_56", Bt = "_content_pekod_76", Gt = "_pdfFrame_pekod_84", qt = "_pdfPages_pekod_92", zt = "_pdfError_pekod_97", Wt = "_openInNewTab_pekod_123", $ = {
207
207
  backdrop: Mt,
208
- modal: Ot,
209
- header: Kt,
210
- title: Gt,
208
+ modal: Kt,
209
+ header: Ot,
210
+ title: Qt,
211
211
  closeBtn: Ht,
212
- content: Qt,
213
- pdfFrame: Bt,
212
+ content: Bt,
213
+ pdfFrame: Gt,
214
214
  pdfPages: qt,
215
215
  pdfError: zt,
216
216
  openInNewTab: Wt
@@ -364,7 +364,7 @@ const Yt = ({
364
364
  imageUrls: i = dn,
365
365
  className: s = ""
366
366
  }) => {
367
- const n = V()?.config.imageComponent ?? J;
367
+ const n = W()?.config.imageComponent ?? X;
368
368
  return /* @__PURE__ */ e.jsxs(
369
369
  "section",
370
370
  {
@@ -393,16 +393,16 @@ const Yt = ({
393
393
  ]
394
394
  }
395
395
  );
396
- }, pn = "_section_75s76_1", un = "_heading_75s76_6", hn = "_subtitle_75s76_11", mn = "_list_75s76_16", xn = "_item_75s76_20", X = {
396
+ }, pn = "_section_75s76_1", un = "_heading_75s76_6", hn = "_subtitle_75s76_11", mn = "_list_75s76_16", xn = "_item_75s76_20", Y = {
397
397
  section: pn,
398
398
  heading: un,
399
399
  subtitle: hn,
400
400
  list: mn,
401
401
  item: xn
402
- }, gn = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], Pe = ({ t, className: i = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${X.section} ${i}`, "aria-labelledby": "why-heading", children: [
403
- /* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: X.heading, children: t("whyUsTitle") }),
404
- /* @__PURE__ */ e.jsx("p", { className: X.subtitle, children: t("whyUsSubtitle") }),
405
- /* @__PURE__ */ e.jsx("ul", { className: X.list, children: gn.map((s) => /* @__PURE__ */ e.jsx("li", { className: X.item, children: t(s) }, s)) })
402
+ }, gn = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], Pe = ({ t, className: i = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${Y.section} ${i}`, "aria-labelledby": "why-heading", children: [
403
+ /* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: Y.heading, children: t("whyUsTitle") }),
404
+ /* @__PURE__ */ e.jsx("p", { className: Y.subtitle, children: t("whyUsSubtitle") }),
405
+ /* @__PURE__ */ e.jsx("ul", { className: Y.list, children: gn.map((s) => /* @__PURE__ */ e.jsx("li", { className: Y.item, children: t(s) }, s)) })
406
406
  ] }), fn = "_headingBold_g8xg7_1", bn = {
407
407
  headingBold: fn
408
408
  }, Ie = ({
@@ -413,7 +413,7 @@ const Yt = ({
413
413
  className: n = "",
414
414
  headingClassName: c = bn.headingBold
415
415
  }) => /* @__PURE__ */ e.jsx(
416
- Oe,
416
+ Ke,
417
417
  {
418
418
  t,
419
419
  testimonials: i,
@@ -432,9 +432,9 @@ const Yt = ({
432
432
  className: i = "",
433
433
  headingClassName: s = jn.headingBold
434
434
  }) => {
435
- const n = V()?.config.isGlobal ?? !0, c = (r) => r === "faqA1" ? n ? "faqA1Global" : "faqA1Domestic" : r;
435
+ const n = W()?.config.isGlobal ?? !0, c = (r) => r === "faqA1" ? n ? "faqA1Global" : "faqA1Domestic" : r;
436
436
  return /* @__PURE__ */ e.jsx(
437
- Ke,
437
+ Oe,
438
438
  {
439
439
  t,
440
440
  items: yn,
@@ -452,9 +452,9 @@ const Yt = ({
452
452
  brandName: n,
453
453
  className: c = ""
454
454
  }) => {
455
- const h = V()?.config.isGlobal ?? !0, a = i ?? oe, f = s ?? ce, m = o ?? de, d = h ? t("contactWhatsAppGlobal").replace(oe, a) : t("contactWhatsAppDomestic").replace(ce, f), b = t("contactEmail").replace(de, m);
455
+ const h = W()?.config.isGlobal ?? !0, a = i ?? oe, f = s ?? ce, m = o ?? de, d = h ? t("contactWhatsAppGlobal").replace(oe, a) : t("contactWhatsAppDomestic").replace(ce, f), b = t("contactEmail").replace(de, m);
456
456
  return /* @__PURE__ */ e.jsx(
457
- Ge,
457
+ Qe,
458
458
  {
459
459
  title: t("contactTitle"),
460
460
  brandName: n ?? t("contactBrandName"),
@@ -464,7 +464,7 @@ const Yt = ({
464
464
  }
465
465
  );
466
466
  }, wn = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", vn = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Nn = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", kn = ({ t }) => {
467
- const s = V()?.config.imageComponent ?? J;
467
+ const s = W()?.config.imageComponent ?? X;
468
468
  return /* @__PURE__ */ e.jsxs("div", { className: B.marqueeContent, children: [
469
469
  /* @__PURE__ */ e.jsxs("span", { className: B.badge, children: [
470
470
  /* @__PURE__ */ e.jsx(s, { src: wn, alt: "", className: B.badgeIcon, width: 16, height: 16, loading: "lazy" }),
@@ -490,8 +490,8 @@ const Yt = ({
490
490
  He,
491
491
  {
492
492
  className: o,
493
- marquee: /* @__PURE__ */ e.jsx(Be, { children: /* @__PURE__ */ e.jsx(kn, { t }) }),
494
- children: /* @__PURE__ */ e.jsx(Qe, { href: s, onClick: i, children: n })
493
+ marquee: /* @__PURE__ */ e.jsx(Ge, { children: /* @__PURE__ */ e.jsx(kn, { t }) }),
494
+ children: /* @__PURE__ */ e.jsx(Be, { href: s, onClick: i, children: n })
495
495
  }
496
496
  );
497
497
  }, Pn = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", In = (t, i) => je[t]?.[i] ?? i, Ln = 112;
@@ -543,12 +543,12 @@ function Tn({ className: t }) {
543
543
  };
544
544
  return document.addEventListener("mousedown", p), () => document.removeEventListener("mousedown", p);
545
545
  }, [r]);
546
- const d = (p) => In(s, p), b = n.showLanguageSelector ?? !0, y = n.imageComponent ?? J, P = b ? /* @__PURE__ */ e.jsxs("div", { className: G.langDropdownWrap, ref: a, children: [
546
+ const d = (p) => In(s, p), b = n.showLanguageSelector ?? !0, y = n.imageComponent ?? X, P = b ? /* @__PURE__ */ e.jsxs("div", { className: Q.langDropdownWrap, ref: a, children: [
547
547
  /* @__PURE__ */ e.jsxs(
548
548
  "button",
549
549
  {
550
550
  type: "button",
551
- className: G.langTrigger,
551
+ className: Q.langTrigger,
552
552
  onClick: () => {
553
553
  n.analytics?.trackLanguageClickedFe?.({ language: s }), h((p) => !p);
554
554
  },
@@ -562,20 +562,20 @@ function Tn({ className: t }) {
562
562
  {
563
563
  src: Pn,
564
564
  alt: "",
565
- className: G.langIcon,
565
+ className: Q.langIcon,
566
566
  width: 16,
567
567
  height: 16,
568
568
  loading: "eager"
569
569
  }
570
570
  ),
571
- /* @__PURE__ */ e.jsx("span", { className: G.langLabel, children: ne[s] })
571
+ /* @__PURE__ */ e.jsx("span", { className: Q.langLabel, children: ne[s] })
572
572
  ]
573
573
  }
574
574
  ),
575
575
  r && /* @__PURE__ */ e.jsx(
576
576
  "ul",
577
577
  {
578
- className: G.langMenu,
578
+ className: Q.langMenu,
579
579
  role: "listbox",
580
580
  "aria-labelledby": "kundli-lang",
581
581
  "aria-activedescendant": `kundli-lang-option-${s}`,
@@ -585,7 +585,7 @@ function Tn({ className: t }) {
585
585
  id: `kundli-lang-option-${p}`,
586
586
  role: "option",
587
587
  "aria-selected": p === s,
588
- className: G.langOption,
588
+ className: Q.langOption,
589
589
  onClick: () => {
590
590
  n.analytics?.trackLanguageChangedFe?.({ newLanguage: p }), o(p), h(!1);
591
591
  },
@@ -598,7 +598,7 @@ function Tn({ className: t }) {
598
598
  ] }) : null, N = (p) => {
599
599
  const w = p.currentTarget.innerText?.trim() ?? d("ctaButtonAfter");
600
600
  n.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: w }), c(), n.onCtaClick?.();
601
- }, x = H(
601
+ }, x = G(
602
602
  (p) => {
603
603
  n.analytics?.trackDetailedKundliReportImpressionFe?.({
604
604
  section: p,
@@ -607,7 +607,7 @@ function Tn({ className: t }) {
607
607
  },
608
608
  [n.analytics]
609
609
  );
610
- return /* @__PURE__ */ e.jsxs("div", { className: `${G.container} ${t}`, children: [
610
+ return /* @__PURE__ */ e.jsxs("div", { className: `${Q.container} ${t}`, children: [
611
611
  /* @__PURE__ */ e.jsx(
612
612
  _e,
613
613
  {
@@ -616,7 +616,7 @@ function Tn({ className: t }) {
616
616
  languageSelector: P
617
617
  }
618
618
  ),
619
- /* @__PURE__ */ e.jsxs("main", { className: G.main, children: [
619
+ /* @__PURE__ */ e.jsxs("main", { className: Q.main, children: [
620
620
  /* @__PURE__ */ e.jsx(
621
621
  U,
622
622
  {
@@ -761,7 +761,7 @@ const Sn = ({
761
761
  discountedPriceLabel: k,
762
762
  discountPillLabel: v,
763
763
  analytics: E,
764
- onLocaleChange: O
764
+ onLocaleChange: K
765
765
  }) => /* @__PURE__ */ e.jsx(
766
766
  ge,
767
767
  {
@@ -786,10 +786,10 @@ const Sn = ({
786
786
  discountedPriceLabel: k,
787
787
  discountPillLabel: v,
788
788
  analytics: E,
789
- onLocaleChange: O,
789
+ onLocaleChange: K,
790
790
  children: /* @__PURE__ */ e.jsx(Fn, { className: t })
791
791
  }
792
- ), Rn = "_container_1b9qe_1", En = "_main_1b9qe_6", An = "_langDropdownWrap_1b9qe_12", $n = "_langTrigger_1b9qe_16", Dn = "_langIcon_1b9qe_28", Un = "_langLabel_1b9qe_35", Mn = "_langMenu_1b9qe_40", On = "_langOption_1b9qe_46", Kn = "_inlineFormWrap_1b9qe_57", Gn = "_inlineProceedFooter_1b9qe_74", M = {
792
+ ), Rn = "_container_1b9qe_1", En = "_main_1b9qe_6", An = "_langDropdownWrap_1b9qe_12", $n = "_langTrigger_1b9qe_16", Dn = "_langIcon_1b9qe_28", Un = "_langLabel_1b9qe_35", Mn = "_langMenu_1b9qe_40", Kn = "_langOption_1b9qe_46", On = "_inlineFormWrap_1b9qe_57", Qn = "_inlineProceedFooter_1b9qe_74", M = {
793
793
  container: Rn,
794
794
  main: En,
795
795
  langDropdownWrap: An,
@@ -797,13 +797,13 @@ const Sn = ({
797
797
  langIcon: Dn,
798
798
  langLabel: Un,
799
799
  langMenu: Mn,
800
- langOption: On,
801
- inlineFormWrap: Kn,
802
- inlineProceedFooter: Gn
803
- }, Hn = "_card_1gz82_1", Qn = "_top_1gz82_15", Bn = "_avatar_1gz82_21", qn = "_avatarPlaceholder_1gz82_38", zn = "_basicInfo_1gz82_44", Wn = "_name_1gz82_51", Vn = "_exp_1gz82_61", Yn = "_langs_1gz82_62", Xn = "_divider_1gz82_69", Jn = "_certList_1gz82_75", Zn = "_certItem_1gz82_81", ea = "_bullet_1gz82_90", R = {
800
+ langOption: Kn,
801
+ inlineFormWrap: On,
802
+ inlineProceedFooter: Qn
803
+ }, Hn = "_card_1gz82_1", Bn = "_top_1gz82_15", Gn = "_avatar_1gz82_21", qn = "_avatarPlaceholder_1gz82_38", zn = "_basicInfo_1gz82_44", Wn = "_name_1gz82_51", Vn = "_exp_1gz82_61", Yn = "_langs_1gz82_62", Xn = "_divider_1gz82_69", Jn = "_certList_1gz82_75", Zn = "_certItem_1gz82_81", ea = "_bullet_1gz82_90", R = {
804
804
  card: Hn,
805
- top: Qn,
806
- avatar: Bn,
805
+ top: Bn,
806
+ avatar: Gn,
807
807
  avatarPlaceholder: qn,
808
808
  basicInfo: zn,
809
809
  name: Wn,
@@ -1005,8 +1005,8 @@ const Sn = ({
1005
1005
  analytics: a,
1006
1006
  isGlobal: f = !0
1007
1007
  }) => {
1008
- const m = H((l) => (pe[r] ?? pe.en)[l] ?? h?.(l) ?? l, [r, h]), d = le(() => n ?? na(f), [n, f]), b = s?.id || d.find((l) => l.badge)?.id || d[0]?.id || "", y = j(null), P = j(null), N = j(!1), [x, p] = T(""), [w, k] = T("custom"), [v, E] = T(null), [O, q] = T(!1), K = j(!1), Q = j(null), I = le(() => d.find((l) => l.id === b) ?? d[0], [d, b]), g = !!I?.supportsQuestion, Z = !g || x.trim().length > 0, ee = H(() => {
1009
- const l = Q.current;
1008
+ const m = G((l) => (pe[r] ?? pe.en)[l] ?? h?.(l) ?? l, [r, h]), d = le(() => n ?? na(f), [n, f]), b = s?.id || d.find((l) => l.badge)?.id || d[0]?.id || "", y = j(null), P = j(null), N = j(!1), [x, p] = T(""), [w, k] = T("custom"), [v, E] = T(null), [K, q] = T(!1), O = j(!1), H = j(null), I = le(() => d.find((l) => l.id === b) ?? d[0], [d, b]), g = !!I?.supportsQuestion, J = !g || x.trim().length > 0, Z = G(() => {
1009
+ const l = H.current;
1010
1010
  l && (l.style.height = "auto", l.style.height = Math.min(l.scrollHeight, sa) + "px");
1011
1011
  }, []);
1012
1012
  L(() => {
@@ -1029,22 +1029,22 @@ const Sn = ({
1029
1029
  document.body.style.overflow = l;
1030
1030
  };
1031
1031
  }, [t]);
1032
- const z = (l) => {
1033
- K.current || (K.current = !0, a?.trackQuestionTextboxClicked?.({
1032
+ const ee = (l) => {
1033
+ O.current || (O.current = !0, a?.trackQuestionTextboxClicked?.({
1034
1034
  entry_method: l,
1035
1035
  textbox_empty: x.length === 0
1036
1036
  }));
1037
1037
  }, u = (l) => {
1038
1038
  const C = l.target.value.slice(0, he);
1039
- w === "chip" && C !== m(ue[v ?? 0]) && k("chip_edited"), p(C), ee(), O && q(!1);
1040
- }, W = (l, C) => {
1039
+ w === "chip" && C !== m(ue[v ?? 0]) && k("chip_edited"), p(C), Z(), K && q(!1);
1040
+ }, z = (l, C) => {
1041
1041
  const te = m(l), Se = x.length > 0 && w !== "chip";
1042
1042
  a?.trackPreSuggestedQuestionSelected?.({
1043
1043
  question_text_loaded: te,
1044
1044
  chip_index: C,
1045
1045
  previous_chip_index: v,
1046
1046
  user_had_custom_text: Se
1047
- }), p(te), k("chip"), E(C), K.current = !1, setTimeout(ee, 0);
1047
+ }), p(te), k("chip"), E(C), O.current = !1, setTimeout(Z, 0);
1048
1048
  }, ae = () => {
1049
1049
  if (I) {
1050
1050
  if (g && !x.trim()) {
@@ -1133,12 +1133,12 @@ const Sn = ({
1133
1133
  "textarea",
1134
1134
  {
1135
1135
  id: "kundli-question",
1136
- ref: Q,
1136
+ ref: H,
1137
1137
  className: "w-full min-h-[44px] max-h-[84px] resize-none overflow-y-auto border-[1.5px] border-[#F99724] rounded-[10px] px-4 py-3 text-left text-[14px] text-gray-900 leading-5 box-border outline-none focus:border-[#e05c2a] focus:shadow-[0_0_0_3px_rgba(224,92,42,0.12)] placeholder:text-left placeholder:text-gray-400",
1138
1138
  placeholder: m("planQuestionPlaceholder"),
1139
1139
  value: x,
1140
- onFocus: () => z("keyboard_focus"),
1141
- onClick: () => z("tap"),
1140
+ onFocus: () => ee("keyboard_focus"),
1141
+ onClick: () => ee("tap"),
1142
1142
  onChange: u,
1143
1143
  rows: 1
1144
1144
  }
@@ -1154,7 +1154,7 @@ const Sn = ({
1154
1154
  type: "button",
1155
1155
  className: "px-3 py-2 rounded-full bg-[#F1F7FF] text-[#104DA6] text-sm font-medium cursor-pointer text-left leading-snug active:opacity-70 transition-opacity",
1156
1156
  style: { fontFamily: "inherit" },
1157
- onClick: () => W(l, C),
1157
+ onClick: () => z(l, C),
1158
1158
  children: m(l)
1159
1159
  },
1160
1160
  l
@@ -1211,19 +1211,19 @@ const Sn = ({
1211
1211
  },
1212
1212
  l.id
1213
1213
  )) }),
1214
- O && /* @__PURE__ */ e.jsx("p", { className: "m-0 mb-2 text-xs text-[#e05c2a] text-center", role: "alert", children: m("planQuestionHint") }),
1214
+ K && /* @__PURE__ */ e.jsx("p", { className: "m-0 mb-2 text-xs text-[#e05c2a] text-center", role: "alert", children: m("planQuestionHint") }),
1215
1215
  /* @__PURE__ */ e.jsxs(
1216
1216
  "button",
1217
1217
  {
1218
1218
  className: [
1219
1219
  "relative overflow-hidden w-full h-[50px] rounded-[14px] border-0 text-white text-[17px] font-bold cursor-pointer flex items-center justify-center transition-all duration-200",
1220
- Z ? "bg-gradient-to-b from-[#F97316] to-[#EA580C] shadow-[0_6px_14px_rgba(234,88,12,0.25)] hover:from-[#fb923c] hover:to-[#f97316] active:scale-[0.98] active:shadow-[0_3px_8px_rgba(234,88,12,0.2)]" : "bg-gray-300 text-gray-400 shadow-none cursor-not-allowed"
1220
+ J ? "bg-gradient-to-b from-[#F97316] to-[#EA580C] shadow-[0_6px_14px_rgba(234,88,12,0.25)] hover:from-[#fb923c] hover:to-[#f97316] active:scale-[0.98] active:shadow-[0_3px_8px_rgba(234,88,12,0.2)]" : "bg-gray-300 text-gray-400 shadow-none cursor-not-allowed"
1221
1221
  ].join(" "),
1222
1222
  style: { fontFamily: "inherit" },
1223
- "aria-disabled": !Z,
1223
+ "aria-disabled": !J,
1224
1224
  onClick: ae,
1225
1225
  children: [
1226
- Z && /* @__PURE__ */ e.jsx(
1226
+ J && /* @__PURE__ */ e.jsx(
1227
1227
  "span",
1228
1228
  {
1229
1229
  className: "absolute top-0 w-1/2 h-full pointer-events-none",
@@ -1423,9 +1423,9 @@ function fa({
1423
1423
  config: a,
1424
1424
  formValues: f,
1425
1425
  setFormValues: m
1426
- } = ie(), [d, b] = T(!1), [y, P] = T(null), N = j(null), x = j(void 0), p = H((u) => {
1426
+ } = ie(), [d, b] = T(!1), [y, P] = T(null), N = j(null), x = j(void 0), p = G((u) => {
1427
1427
  N.current = u, b(!0);
1428
- }, []), w = H(() => {
1428
+ }, []), w = G(() => {
1429
1429
  if (!N.current || !y) return;
1430
1430
  const u = {
1431
1431
  ...N.current,
@@ -1433,29 +1433,27 @@ function fa({
1433
1433
  ...x.current !== void 0 ? { _question: x.current } : {}
1434
1434
  };
1435
1435
  x.current = void 0, y.id === Ae && a.onProceedGuidance ? a.onProceedGuidance(u) : a.onProceed?.(u), b(!1), N.current = null;
1436
- }, [y, a.onProceed, a.onProceedGuidance]), [k, v] = T(!1), [E, O] = T(
1436
+ }, [y, a.onProceed, a.onProceedGuidance]), [k, v] = T(!1), [E, K] = T(
1437
1437
  a.isGlobal ?? !0 ? "+1" : "+91"
1438
- ), q = j(null), K = j(null), Q = j(a.locale), I = j(
1438
+ ), q = j(null), O = j(null), H = j(a.locale), I = j(
1439
1439
  c?.locale
1440
1440
  );
1441
1441
  L(() => {
1442
- a.locale && Q.current !== a.locale && h(a.locale), Q.current = a.locale;
1442
+ a.locale && H.current !== a.locale && h(a.locale), H.current = a.locale;
1443
1443
  }, [a.locale, h]), L(() => {
1444
1444
  if (a.locale) return;
1445
1445
  const u = c?.locale;
1446
1446
  u && I.current !== u && h(u), I.current = u;
1447
1447
  }, [c?.locale, a.locale, h]), L(() => {
1448
- O(a.isGlobal ?? !0 ? "+1" : "+91");
1448
+ K(a.isGlobal ?? !0 ? "+1" : "+91");
1449
1449
  }, [a.isGlobal]), L(() => {
1450
1450
  if (!k) return;
1451
- const u = (W) => {
1452
- K.current && !K.current.contains(W.target) && v(!1);
1451
+ const u = (z) => {
1452
+ O.current && !O.current.contains(z.target) && v(!1);
1453
1453
  };
1454
1454
  return document.addEventListener("mousedown", u), () => document.removeEventListener("mousedown", u);
1455
1455
  }, [k]);
1456
- const g = (u) => xa(r, u);
1457
- r === "hi" ? INLINE_FORM_IMAGE_URL_HI : INLINE_FORM_IMAGE_URL;
1458
- const ee = a.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: M.langDropdownWrap, ref: K, children: [
1456
+ const g = (u) => xa(r, u), Z = a.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: M.langDropdownWrap, ref: O, children: [
1459
1457
  /* @__PURE__ */ e.jsxs(
1460
1458
  "button",
1461
1459
  {
@@ -1507,7 +1505,7 @@ function fa({
1507
1505
  ))
1508
1506
  }
1509
1507
  )
1510
- ] }) : null, F = H(
1508
+ ] }) : null, F = G(
1511
1509
  (u) => {
1512
1510
  a.analytics?.trackDetailedKundliReportImpressionFe?.({
1513
1511
  section: u,
@@ -1515,7 +1513,7 @@ function fa({
1515
1513
  });
1516
1514
  },
1517
1515
  [a.analytics]
1518
- ), z = H((u) => {
1516
+ ), ee = G((u) => {
1519
1517
  const ae = {
1520
1518
  fullName: "kundli-full-name",
1521
1519
  phone: "kundli-phone",
@@ -1534,15 +1532,13 @@ function fa({
1534
1532
  }), setTimeout(() => l.focus(), 500);
1535
1533
  }
1536
1534
  }, []);
1537
- return H(() => {
1538
- z("fullName");
1539
- }, [z]), /* @__PURE__ */ e.jsxs("div", { className: `${M.container} ${t}`, children: [
1535
+ return /* @__PURE__ */ e.jsxs("div", { className: `${M.container} ${t}`, children: [
1540
1536
  /* @__PURE__ */ e.jsx(
1541
1537
  _e,
1542
1538
  {
1543
1539
  t: g,
1544
1540
  logoUrl: a.logoUrl,
1545
- languageSelector: ee
1541
+ languageSelector: Z
1546
1542
  }
1547
1543
  ),
1548
1544
  /* @__PURE__ */ e.jsxs("main", { className: M.main, children: [
@@ -1628,7 +1624,7 @@ function fa({
1628
1624
  values: f,
1629
1625
  onChange: m,
1630
1626
  phoneIsdCode: E,
1631
- onPhoneIsdCodeChange: O,
1627
+ onPhoneIsdCodeChange: K,
1632
1628
  showV1ExtraFields: !0,
1633
1629
  analytics: a.analytics
1634
1630
  }
@@ -1641,12 +1637,11 @@ function fa({
1641
1637
  phoneIsdCode: E,
1642
1638
  hideOriginalPrice: !0,
1643
1639
  requireV1ExtraFields: !0,
1644
- onValidationFailed: z,
1640
+ onValidationFailed: ee,
1645
1641
  onProceed: a.onProceed,
1646
1642
  href: a.proceedHref,
1647
1643
  originalPriceLabel: a.originalPriceLabel,
1648
1644
  discountedPriceLabel: a.discountedPriceLabel,
1649
- discountPillLabel: a.discountPillLabel,
1650
1645
  analytics: a.analytics,
1651
1646
  className: M.inlineProceedFooter,
1652
1647
  onProceedGuidance: a.onProceedGuidance,
@@ -1716,8 +1711,8 @@ function fa({
1716
1711
  onSelectPlan: (u) => P(u),
1717
1712
  isGlobal: a.isGlobal,
1718
1713
  locale: r,
1719
- onProceed: (u, W) => {
1720
- x.current = W, w();
1714
+ onProceed: (u, z) => {
1715
+ x.current = z, w();
1721
1716
  },
1722
1717
  t: g,
1723
1718
  analytics: a.analytics
@@ -1761,10 +1756,10 @@ const ba = ({
1761
1756
  proceedHref: k,
1762
1757
  originalPriceLabel: v,
1763
1758
  discountedPriceLabel: E,
1764
- discountPillLabel: O,
1759
+ discountPillLabel: K,
1765
1760
  analytics: q,
1766
- onProceedGuidance: K,
1767
- onLocaleChange: Q
1761
+ onProceedGuidance: O,
1762
+ onLocaleChange: H
1768
1763
  }) => /* @__PURE__ */ e.jsx(
1769
1764
  ge,
1770
1765
  {
@@ -1784,13 +1779,13 @@ const ba = ({
1784
1779
  onCtaClick: x,
1785
1780
  readMoreReviewsHref: p,
1786
1781
  onProceed: w,
1787
- onProceedGuidance: K,
1782
+ onProceedGuidance: O,
1788
1783
  proceedHref: k,
1789
1784
  originalPriceLabel: v,
1790
1785
  discountedPriceLabel: E,
1791
- discountPillLabel: O,
1786
+ discountPillLabel: K,
1792
1787
  analytics: q,
1793
- onLocaleChange: Q,
1788
+ onLocaleChange: H,
1794
1789
  children: /* @__PURE__ */ e.jsx(
1795
1790
  fa,
1796
1791
  {
@@ -1813,4 +1808,4 @@ export {
1813
1808
  Sn as b,
1814
1809
  ba as c
1815
1810
  };
1816
- //# sourceMappingURL=criticalCss-DouEZN-7.js.map
1811
+ //# sourceMappingURL=criticalCss-BM5loZ7C.js.map