@srimandir/kundli-generator 5.30.3 → 5.30.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,21 +1,21 @@
1
1
  import "./styles.js";
2
- import { k as e, C as ee, c as te, u as ae, h as ne, L as z, S as le, l as se, F as re, U as ie, P as oe, t as ce } from "./analytics-DL-R30Zw.js";
3
- import { D as lt, I as st, K as rt, a as it, b as ot, j as ct, g as dt, d as ut, i as pt, r as xt, s as ht, e as mt, f as gt } from "./analytics-DL-R30Zw.js";
4
- import { H as de } from "./criticalCss-DGh12F0K.js";
5
- import { K as bt, a as jt, b as _t, c as wt, P as vt } from "./criticalCss-DGh12F0K.js";
6
- import { useCallback as T, useMemo as M, useRef as j, useState as P, useEffect as S } from "react";
7
- const ue = "_container_27slp_5", pe = "_main_27slp_10", xe = "_langDropdownWrap_27slp_16", he = "_langTrigger_27slp_20", me = "_langIcon_27slp_32", ge = "_langLabel_27slp_39", fe = "_langMenu_27slp_44", be = "_langOption_27slp_50", je = "_inlineFormWrap_27slp_61", _e = "_inlineProceedFooter_27slp_78", y = {
8
- container: ue,
9
- main: pe,
10
- langDropdownWrap: xe,
11
- langTrigger: he,
12
- langIcon: me,
13
- langLabel: ge,
14
- langMenu: fe,
15
- langOption: be,
16
- inlineFormWrap: je,
17
- inlineProceedFooter: _e
18
- }, O = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", we = [
2
+ import { k as e, C as ee, c as te, u as ae, h as ne, L as M, S as se, l as re, F as le, U as ie, P as oe, t as ce } from "./analytics-DL-R30Zw.js";
3
+ import { D as pt, I as xt, K as ht, a as mt, b as gt, j as ft, g as bt, d as jt, i as _t, r as vt, s as wt, e as yt, f as Nt } from "./analytics-DL-R30Zw.js";
4
+ import { H as de, b as ue, U as pe, T as xe, W as he, c as me, F as ge, d as fe, C as be } from "./criticalCss-fMFN3vjg.js";
5
+ import { K as kt, a as Ct, e as Lt, f as Ft, P as St } from "./criticalCss-fMFN3vjg.js";
6
+ import { useCallback as E, useMemo as O, useRef as _, useState as P, useEffect as R } from "react";
7
+ const je = "_container_27slp_5", _e = "_main_27slp_10", ve = "_langDropdownWrap_27slp_16", we = "_langTrigger_27slp_20", ye = "_langIcon_27slp_32", Ne = "_langLabel_27slp_39", Pe = "_langMenu_27slp_44", ke = "_langOption_27slp_50", Ce = "_inlineFormWrap_27slp_61", Le = "_inlineProceedFooter_27slp_78", y = {
8
+ container: je,
9
+ main: _e,
10
+ langDropdownWrap: ve,
11
+ langTrigger: we,
12
+ langIcon: ye,
13
+ langLabel: Ne,
14
+ langMenu: Pe,
15
+ langOption: ke,
16
+ inlineFormWrap: Ce,
17
+ inlineProceedFooter: Le
18
+ }, z = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", Fe = [
19
19
  { label: `Personalised
20
20
  Report`, values: ["check", "check", "check"] },
21
21
  { label: `Remedies:
@@ -29,7 +29,7 @@ manager`, values: ["cross", "cross", "check"] },
29
29
  { label: `30-min
30
30
  astrologer
31
31
  call`, values: ["cross", "cross", "check"] }
32
- ], ve = () => /* @__PURE__ */ e.jsx("span", { className: "inline-flex h-6 w-6 items-center justify-center rounded-full bg-[#14946b] font-bold text-white", children: "✓" }), ye = () => /* @__PURE__ */ e.jsx("span", { className: "inline-flex h-6 w-6 items-center justify-center rounded-full bg-[#e23f4e] font-bold text-white", children: "✕" }), Ne = () => /* @__PURE__ */ e.jsxs(
32
+ ], Se = () => /* @__PURE__ */ e.jsx("span", { className: "inline-flex h-6 w-6 items-center justify-center rounded-full bg-[#14946b] font-bold text-white", children: "✓" }), Re = () => /* @__PURE__ */ e.jsx("span", { className: "inline-flex h-6 w-6 items-center justify-center rounded-full bg-[#e23f4e] font-bold text-white", children: "✕" }), Ie = () => /* @__PURE__ */ e.jsxs(
33
33
  "svg",
34
34
  {
35
35
  width: "14",
@@ -66,14 +66,14 @@ call`, values: ["cross", "cross", "check"] }
66
66
  }
67
67
  )
68
68
  }
69
- ), Pe = ({
70
- isGlobal: a = !1,
71
- kundliReportSampleHref: i = O,
72
- oneQuestionSampleHref: s = O,
73
- className: c = ""
69
+ ), Te = ({
70
+ isGlobal: n = !1,
71
+ kundliReportSampleHref: i = z,
72
+ oneQuestionSampleHref: r = z,
73
+ className: d = ""
74
74
  }) => {
75
- const n = a ? ["$25", "$31", "$41"] : ["₹499", "₹749", "₹999"];
76
- return /* @__PURE__ */ e.jsxs("section", { className: `bg-white px-3 py-4 ${c}`, children: [
75
+ const a = n ? ["$25", "$31", "$41"] : ["₹499", "₹749", "₹999"];
76
+ return /* @__PURE__ */ e.jsxs("section", { className: `bg-white px-3 py-4 ${d}`, children: [
77
77
  /* @__PURE__ */ e.jsx("h2", { className: "mb-3 text-center text-[18px] leading-6 text-[#f75e22] max-[380px]:text-[16px]", children: "Kundli Packages for you" }),
78
78
  /* @__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: [
79
79
  /* @__PURE__ */ e.jsxs("colgroup", { children: [
@@ -91,34 +91,34 @@ call`, values: ["cross", "cross", "check"] }
91
91
  ] }),
92
92
  /* @__PURE__ */ e.jsxs("th", { className: "relative h-[84px] box-border rounded-tr-[12px] align-middle border-b border-[#e5ccb9] bg-[#fff8f1] px-1 pt-6 pb-2 text-center text-[11px] font-bold text-[#9a3f1b]", children: [
93
93
  /* @__PURE__ */ e.jsxs("div", { className: "absolute left-0 right-0 -top-[16px] z-2 flex items-center justify-center gap-1 whitespace-nowrap rounded-t-[12px] bg-[linear-gradient(180deg,#751139_0%,#D51F68_100%)] px-3 py-[6px] text-[11px] font-bold text-white shadow-[0_-4px_10px_rgba(187,42,93,0.2)]", children: [
94
- /* @__PURE__ */ e.jsx(Ne, {}),
94
+ /* @__PURE__ */ e.jsx(Ie, {}),
95
95
  /* @__PURE__ */ e.jsx("span", { children: "Popular" })
96
96
  ] }),
97
97
  "Report + 30 min consultation"
98
98
  ] })
99
99
  ] }) }),
100
100
  /* @__PURE__ */ e.jsxs("tbody", { children: [
101
- we.map((d) => /* @__PURE__ */ e.jsxs("tr", { children: [
102
- /* @__PURE__ */ e.jsx("td", { className: "h-[64px] box-border border-r border-b border-[#e5ccb9] py-1 pl-2 text-left text-[11px] font-semibold text-[#7b3f17] align-middle leading-tight", children: d.label.split(`
103
- `).map((u) => /* @__PURE__ */ e.jsx("div", { children: u }, u)) }),
104
- d.values.map((u, _) => /* @__PURE__ */ e.jsx(
101
+ Fe.map((u) => /* @__PURE__ */ e.jsxs("tr", { children: [
102
+ /* @__PURE__ */ e.jsx("td", { className: "h-[64px] box-border border-r border-b border-[#e5ccb9] py-1 pl-2 text-left text-[11px] font-semibold text-[#7b3f17] align-middle leading-tight", children: u.label.split(`
103
+ `).map((p) => /* @__PURE__ */ e.jsx("div", { children: p }, p)) }),
104
+ u.values.map((p, v) => /* @__PURE__ */ e.jsx(
105
105
  "td",
106
106
  {
107
- className: `h-[64px] box-border bg-white py-1 text-center border-b border-[#e5ccb9] align-middle ${_ !== 2 ? "border-r border-[#e5ccb9]" : ""}`,
108
- children: /* @__PURE__ */ e.jsx("div", { className: "flex items-center justify-center", children: u === "check" ? /* @__PURE__ */ e.jsx(ve, {}) : /* @__PURE__ */ e.jsx(ye, {}) })
107
+ className: `h-[64px] box-border bg-white py-1 text-center border-b border-[#e5ccb9] align-middle ${v !== 2 ? "border-r border-[#e5ccb9]" : ""}`,
108
+ children: /* @__PURE__ */ e.jsx("div", { className: "flex items-center justify-center", children: p === "check" ? /* @__PURE__ */ e.jsx(Se, {}) : /* @__PURE__ */ e.jsx(Re, {}) })
109
109
  },
110
- `${d.label}-${_}`
110
+ `${u.label}-${v}`
111
111
  ))
112
- ] }, d.label)),
112
+ ] }, u.label)),
113
113
  /* @__PURE__ */ e.jsxs("tr", { className: "bg-[#fff8ef]", children: [
114
114
  /* @__PURE__ */ e.jsx("td", { className: "h-[64px] box-border border-r border-[#e5ccb9] py-1 pl-2 text-left text-[12px] font-semibold text-[#7b3f17] rounded-bl-[12px] align-middle", children: "Only for" }),
115
- n.map((d, u) => /* @__PURE__ */ e.jsx(
115
+ a.map((u, p) => /* @__PURE__ */ e.jsx(
116
116
  "td",
117
117
  {
118
- className: `h-[64px] box-border bg-[#fff8ef] py-1 text-center align-middle ${u !== 2 ? "border-r border-[#e5ccb9]" : ""} ${u === 2 ? "rounded-br-[12px]" : ""}`,
119
- children: /* @__PURE__ */ e.jsx("span", { className: "text-[16px] text-[#9a3f1b] max-[380px]:text-[16px]", children: d })
118
+ className: `h-[64px] box-border bg-[#fff8ef] py-1 text-center align-middle ${p !== 2 ? "border-r border-[#e5ccb9]" : ""} ${p === 2 ? "rounded-br-[12px]" : ""}`,
119
+ children: /* @__PURE__ */ e.jsx("span", { className: "text-[16px] text-[#9a3f1b] max-[380px]:text-[16px]", children: u })
120
120
  },
121
- d
121
+ u
122
122
  ))
123
123
  ] })
124
124
  ] })
@@ -141,7 +141,7 @@ call`, values: ["cross", "cross", "check"] }
141
141
  /* @__PURE__ */ e.jsxs(
142
142
  "a",
143
143
  {
144
- href: s,
144
+ href: r,
145
145
  target: "_blank",
146
146
  rel: "noopener noreferrer",
147
147
  className: "relative rounded-xl bg-[linear-gradient(180deg,#f97316_0%,#ea580c_100%)] p-5 pr-10 text-center text-[14px] font-semibold text-white no-underline shadow-[0_6px_14px_rgba(234,88,12,0.2)]",
@@ -153,35 +153,35 @@ call`, values: ["cross", "cross", "check"] }
153
153
  )
154
154
  ] })
155
155
  ] });
156
- }, ke = "_card_1gz82_1", Ce = "_top_1gz82_15", Le = "_avatar_1gz82_21", Fe = "_avatarPlaceholder_1gz82_38", Se = "_basicInfo_1gz82_44", Ie = "_name_1gz82_51", Re = "_exp_1gz82_61", Ae = "_langs_1gz82_62", Te = "_divider_1gz82_69", Ee = "_certList_1gz82_75", Qe = "_certItem_1gz82_81", Ue = "_bullet_1gz82_90", g = {
157
- card: ke,
158
- top: Ce,
159
- avatar: Le,
160
- avatarPlaceholder: Fe,
161
- basicInfo: Se,
162
- name: Ie,
163
- exp: Re,
164
- langs: Ae,
165
- divider: Te,
166
- certList: Ee,
167
- certItem: Qe,
168
- bullet: Ue
169
- }, De = ({ astrologer: a, t: i }) => /* @__PURE__ */ e.jsxs("div", { className: g.card, children: [
170
- /* @__PURE__ */ e.jsxs("div", { className: g.top, children: [
171
- /* @__PURE__ */ e.jsx("div", { className: g.avatar, "aria-hidden": !0, children: a.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: a.imageUrl, alt: i?.(a.name) ?? a.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: g.avatarPlaceholder, children: a.name.charAt(0) }) }),
172
- /* @__PURE__ */ e.jsxs("div", { className: g.basicInfo, children: [
173
- /* @__PURE__ */ e.jsx("p", { className: g.name, children: i?.(a.name) ?? a.name }),
174
- /* @__PURE__ */ e.jsx("p", { className: g.exp, children: i?.(a.experience) ?? a.experience }),
175
- a.languages && a.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: g.langs, children: a.languages.map((s) => i?.(s) ?? s).join(" • ") })
156
+ }, Ae = "_card_1gz82_1", Ee = "_top_1gz82_15", Qe = "_avatar_1gz82_21", Ue = "_avatarPlaceholder_1gz82_38", De = "_basicInfo_1gz82_44", He = "_name_1gz82_51", Ke = "_exp_1gz82_61", Ge = "_langs_1gz82_62", Me = "_divider_1gz82_69", Oe = "_certList_1gz82_75", ze = "_certItem_1gz82_81", Be = "_bullet_1gz82_90", f = {
157
+ card: Ae,
158
+ top: Ee,
159
+ avatar: Qe,
160
+ avatarPlaceholder: Ue,
161
+ basicInfo: De,
162
+ name: He,
163
+ exp: Ke,
164
+ langs: Ge,
165
+ divider: Me,
166
+ certList: Oe,
167
+ certItem: ze,
168
+ bullet: Be
169
+ }, $e = ({ astrologer: n, t: i }) => /* @__PURE__ */ e.jsxs("div", { className: f.card, children: [
170
+ /* @__PURE__ */ e.jsxs("div", { className: f.top, children: [
171
+ /* @__PURE__ */ e.jsx("div", { className: f.avatar, "aria-hidden": !0, children: n.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: n.imageUrl, alt: i?.(n.name) ?? n.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: f.avatarPlaceholder, children: n.name.charAt(0) }) }),
172
+ /* @__PURE__ */ e.jsxs("div", { className: f.basicInfo, children: [
173
+ /* @__PURE__ */ e.jsx("p", { className: f.name, children: i?.(n.name) ?? n.name }),
174
+ /* @__PURE__ */ e.jsx("p", { className: f.exp, children: i?.(n.experience) ?? n.experience }),
175
+ n.languages && n.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: f.langs, children: n.languages.map((r) => i?.(r) ?? r).join(" • ") })
176
176
  ] })
177
177
  ] }),
178
- /* @__PURE__ */ e.jsx("div", { className: g.divider }),
179
- /* @__PURE__ */ e.jsx("div", { className: g.certList, children: a.certifications.map((s, c) => /* @__PURE__ */ e.jsxs("p", { className: g.certItem, children: [
180
- /* @__PURE__ */ e.jsx("span", { className: g.bullet, children: "✓" }),
178
+ /* @__PURE__ */ e.jsx("div", { className: f.divider }),
179
+ /* @__PURE__ */ e.jsx("div", { className: f.certList, children: n.certifications.map((r, d) => /* @__PURE__ */ e.jsxs("p", { className: f.certItem, children: [
180
+ /* @__PURE__ */ e.jsx("span", { className: f.bullet, children: "✓" }),
181
181
  " ",
182
- i?.(s) ?? s
183
- ] }, c)) })
184
- ] }), W = [
182
+ i?.(r) ?? r
183
+ ] }, d)) })
184
+ ] }), V = [
185
185
  {
186
186
  id: "jyoti",
187
187
  name: "Astro Sadhana",
@@ -278,11 +278,11 @@ call`, values: ["cross", "cross", "check"] }
278
278
  planQuestionChip4: "क्या मेरा मौजूदा रिश्ता मेरे लिए सही है?",
279
279
  planAstrologerExp: "साल का अनुभव"
280
280
  }
281
- }, Ke = (a) => [
281
+ }, qe = (n) => [
282
282
  {
283
283
  id: "kundli-report",
284
284
  title: "planNameBasic",
285
- price: a ? "$25" : "₹499",
285
+ price: n ? "$25" : "₹499",
286
286
  features: [
287
287
  { text: "planFeatureDetailedInsights", included: !0 },
288
288
  { text: "planFeaturePracticalRemedies", included: !0 },
@@ -294,7 +294,7 @@ call`, values: ["cross", "cross", "check"] }
294
294
  {
295
295
  id: "kundli-report-question",
296
296
  title: "planNameQuestion",
297
- price: a ? "$31" : "₹749",
297
+ price: n ? "$31" : "₹749",
298
298
  supportsQuestion: !0,
299
299
  features: [
300
300
  { text: "planFeatureIncludesPremium", included: !0 },
@@ -306,8 +306,8 @@ call`, values: ["cross", "cross", "check"] }
306
306
  {
307
307
  id: "kundli-report-astrologer",
308
308
  title: "planNameGuidance",
309
- price: a ? "$41" : "₹999",
310
- originalPrice: a ? "$25+$25" : "₹499+₹850",
309
+ price: n ? "$41" : "₹999",
310
+ originalPrice: n ? "$25+$25" : "₹499+₹850",
311
311
  savingsLabel: "planSaveLabel",
312
312
  badge: "planMostPopular",
313
313
  features: [
@@ -316,8 +316,8 @@ call`, values: ["cross", "cross", "check"] }
316
316
  { text: "planFeatureRealTimeAnswers", included: !0 },
317
317
  { text: "planFeatureTailoredRemedies", included: !0 }
318
318
  ],
319
- astrologers: W.filter(
320
- (s) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(s.id)
319
+ astrologers: V.filter(
320
+ (r) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(r.id)
321
321
  )
322
322
  }
323
323
  ], q = [
@@ -325,11 +325,11 @@ call`, values: ["cross", "cross", "check"] }
325
325
  "planQuestionChip2",
326
326
  "planQuestionChip3",
327
327
  "planQuestionChip4"
328
- ], He = W.slice(0, 3).map((a) => ({
329
- id: a.id,
330
- imageUrl: a.imageUrl,
331
- name: a.name
332
- })), V = 5e3, Ge = 84, ze = () => /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx("path", { d: "M8 1.5C11.5901 1.5 14.5 4.40986 14.5 8C14.5 11.5901 11.5901 14.5 8 14.5C4.40986 14.5 1.5 11.5901 1.5 8C1.5 4.40986 4.40986 1.5 8 1.5ZM11.71 5.6709C11.5284 5.46331 11.2128 5.44187 11.0049 5.62305L6.75 9.33594L4.99609 7.80469C4.78809 7.62318 4.47163 7.64562 4.29004 7.85352C4.10887 8.06152 4.13011 8.37711 4.33789 8.55859L6.42188 10.377C6.61019 10.5409 6.89091 10.5411 7.0791 10.377L11.6621 6.37695C11.8699 6.1954 11.8913 5.87889 11.71 5.6709Z", fill: "#159169" }) }), Me = () => /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx("path", { d: "M8 1.38086C11.6558 1.38086 14.619 4.34424 14.6191 8C14.6191 11.6559 11.6559 14.6191 8 14.6191C4.34424 14.619 1.38086 11.6558 1.38086 8C1.38101 4.34433 4.34433 1.38101 8 1.38086ZM11.1055 4.89648C10.8637 4.65473 10.4712 4.65473 10.2295 4.89648L8 7.125L5.77148 4.89648C5.52973 4.65473 5.13824 4.65473 4.89648 4.89648C4.65473 5.13824 4.65473 5.52973 4.89648 5.77148L7.125 8L4.89648 10.2295C4.65473 10.4712 4.65473 10.8637 4.89648 11.1055C5.13819 11.3464 5.52994 11.3467 5.77148 11.1055L8 8.87598L10.2295 11.1055C10.4713 11.3467 10.8639 11.347 11.1055 11.1055C11.347 10.8639 11.3467 10.4713 11.1055 10.2295L8.87598 8L11.1055 5.77148C11.3467 5.52994 11.3464 5.13819 11.1055 4.89648Z", fill: "#D93640" }) }), Oe = () => /* @__PURE__ */ e.jsxs(
328
+ ], We = V.slice(0, 3).map((n) => ({
329
+ id: n.id,
330
+ imageUrl: n.imageUrl,
331
+ name: n.name
332
+ })), W = 5e3, Ve = 84, Ye = () => /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx("path", { d: "M8 1.5C11.5901 1.5 14.5 4.40986 14.5 8C14.5 11.5901 11.5901 14.5 8 14.5C4.40986 14.5 1.5 11.5901 1.5 8C1.5 4.40986 4.40986 1.5 8 1.5ZM11.71 5.6709C11.5284 5.46331 11.2128 5.44187 11.0049 5.62305L6.75 9.33594L4.99609 7.80469C4.78809 7.62318 4.47163 7.64562 4.29004 7.85352C4.10887 8.06152 4.13011 8.37711 4.33789 8.55859L6.42188 10.377C6.61019 10.5409 6.89091 10.5411 7.0791 10.377L11.6621 6.37695C11.8699 6.1954 11.8913 5.87889 11.71 5.6709Z", fill: "#159169" }) }), Xe = () => /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx("path", { d: "M8 1.38086C11.6558 1.38086 14.619 4.34424 14.6191 8C14.6191 11.6559 11.6559 14.6191 8 14.6191C4.34424 14.619 1.38086 11.6558 1.38086 8C1.38101 4.34433 4.34433 1.38101 8 1.38086ZM11.1055 4.89648C10.8637 4.65473 10.4712 4.65473 10.2295 4.89648L8 7.125L5.77148 4.89648C5.52973 4.65473 5.13824 4.65473 4.89648 4.89648C4.65473 5.13824 4.65473 5.52973 4.89648 5.77148L7.125 8L4.89648 10.2295C4.65473 10.4712 4.65473 10.8637 4.89648 11.1055C5.13819 11.3464 5.52994 11.3467 5.77148 11.1055L8 8.87598L10.2295 11.1055C10.4713 11.3467 10.8639 11.347 11.1055 11.1055C11.347 10.8639 11.3467 10.4713 11.1055 10.2295L8.87598 8L11.1055 5.77148C11.3467 5.52994 11.3464 5.13819 11.1055 4.89648Z", fill: "#D93640" }) }), Ze = () => /* @__PURE__ */ e.jsxs(
333
333
  "svg",
334
334
  {
335
335
  width: "14",
@@ -346,74 +346,74 @@ call`, values: ["cross", "cross", "check"] }
346
346
  /* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
347
347
  ]
348
348
  }
349
- ), Be = ({
350
- isOpen: a,
349
+ ), Je = ({
350
+ isOpen: n,
351
351
  onClose: i,
352
- selectedPlan: s,
353
- onSelectPlan: c,
354
- plans: n,
355
- onProceed: d,
356
- locale: u = "en",
357
- t: _,
358
- analytics: x,
359
- isGlobal: f = !0
352
+ selectedPlan: r,
353
+ onSelectPlan: d,
354
+ plans: a,
355
+ onProceed: u,
356
+ locale: p = "en",
357
+ t: v,
358
+ analytics: h,
359
+ isGlobal: b = !0
360
360
  }) => {
361
- const r = T((t) => ($[u] ?? $.en)[t] ?? _?.(t) ?? t, [u, _]), o = M(() => n ?? Ke(f), [n, f]), m = s?.id || o.find((t) => t.badge)?.id || o[0]?.id || "", I = j(null), E = j(null), L = j(!1), [b, k] = P(""), [C, Q] = P("custom"), [F, U] = P(null), [R, w] = P(!1), D = j(!1), K = j(null), h = M(() => o.find((t) => t.id === m) ?? o[0], [o, m]), v = !!h?.supportsQuestion, l = !v || b.trim().length > 0, N = T(() => {
362
- const t = K.current;
363
- t && (t.style.height = "auto", t.style.height = Math.min(t.scrollHeight, Ge) + "px");
361
+ const l = E((t) => ($[p] ?? $.en)[t] ?? v?.(t) ?? t, [p, v]), c = O(() => a ?? qe(b), [a, b]), g = r?.id || c.find((t) => t.badge)?.id || c[0]?.id || "", I = _(null), L = _(null), F = _(!1), [j, k] = P(""), [C, Q] = P("custom"), [S, U] = P(null), [T, o] = P(!1), D = _(!1), H = _(null), m = O(() => c.find((t) => t.id === g) ?? c[0], [c, g]), w = !!m?.supportsQuestion, s = !w || j.trim().length > 0, N = E(() => {
362
+ const t = H.current;
363
+ t && (t.style.height = "auto", t.style.height = Math.min(t.scrollHeight, Ve) + "px");
364
364
  }, []);
365
- S(() => {
366
- if (a) {
367
- if (!s) {
368
- const t = o.find((p) => p.badge) ?? o[0];
369
- t && c(t);
365
+ R(() => {
366
+ if (n) {
367
+ if (!r) {
368
+ const t = c.find((x) => x.badge) ?? c[0];
369
+ t && d(t);
370
370
  }
371
- L.current || (x?.trackPlanPageViewed?.(), L.current = !0);
371
+ F.current || (h?.trackPlanPageViewed?.(), F.current = !0);
372
372
  } else
373
- L.current = !1;
374
- }, [a, o, s, c, x]);
373
+ F.current = !1;
374
+ }, [n, c, r, d, h]);
375
375
  const A = () => {
376
- x?.trackPlanPageClosed?.(), i();
376
+ h?.trackPlanPageClosed?.(), i();
377
377
  };
378
- S(() => {
379
- if (!a) return;
378
+ R(() => {
379
+ if (!n) return;
380
380
  const t = document.body.style.overflow;
381
381
  return document.body.style.overflow = "hidden", () => {
382
382
  document.body.style.overflow = t;
383
383
  };
384
- }, [a]);
385
- const H = (t) => {
386
- D.current || (D.current = !0, x?.trackQuestionTextboxClicked?.({
384
+ }, [n]);
385
+ const K = (t) => {
386
+ D.current || (D.current = !0, h?.trackQuestionTextboxClicked?.({
387
387
  entry_method: t,
388
- textbox_empty: b.length === 0
388
+ textbox_empty: j.length === 0
389
389
  }));
390
390
  }, Y = (t) => {
391
- const p = t.target.value.slice(0, V);
392
- C === "chip" && p !== r(q[F ?? 0]) && Q("chip_edited"), k(p), N(), R && w(!1);
393
- }, X = (t, p) => {
394
- const G = r(t), J = b.length > 0 && C !== "chip";
395
- x?.trackPreSuggestedQuestionSelected?.({
391
+ const x = t.target.value.slice(0, W);
392
+ C === "chip" && x !== l(q[S ?? 0]) && Q("chip_edited"), k(x), N(), T && o(!1);
393
+ }, X = (t, x) => {
394
+ const G = l(t), J = j.length > 0 && C !== "chip";
395
+ h?.trackPreSuggestedQuestionSelected?.({
396
396
  question_text_loaded: G,
397
- chip_index: p,
398
- previous_chip_index: F,
397
+ chip_index: x,
398
+ previous_chip_index: S,
399
399
  user_had_custom_text: J
400
- }), k(G), Q("chip"), U(p), D.current = !1, setTimeout(N, 0);
400
+ }), k(G), Q("chip"), U(x), D.current = !1, setTimeout(N, 0);
401
401
  }, Z = () => {
402
- if (h) {
403
- if (v && !b.trim()) {
404
- w(!0);
402
+ if (m) {
403
+ if (w && !j.trim()) {
404
+ o(!0);
405
405
  return;
406
406
  }
407
- x?.trackPlanProceedClicked?.({
408
- planId: h.id,
409
- planName: h.title,
410
- question_asked: v ? !0 : void 0,
411
- question_text: v ? b.trim() : void 0,
412
- question_source: v ? C : void 0
413
- }), d(h, v ? b.trim() : void 0), i();
407
+ h?.trackPlanProceedClicked?.({
408
+ planId: m.id,
409
+ planName: m.title,
410
+ question_asked: w ? !0 : void 0,
411
+ question_text: w ? j.trim() : void 0,
412
+ question_source: w ? C : void 0
413
+ }), u(m, w ? j.trim() : void 0), i();
414
414
  }
415
415
  };
416
- return a ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
416
+ return n ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
417
417
  /* @__PURE__ */ e.jsx("style", { children: `
418
418
  @keyframes three-sku-slide-up {
419
419
  from { transform: translateY(100%); opacity: 0; }
@@ -431,7 +431,7 @@ call`, values: ["cross", "cross", "check"] }
431
431
  className: "fixed inset-0 z-[1000] flex items-end justify-center",
432
432
  role: "dialog",
433
433
  "aria-modal": "true",
434
- "aria-label": r("planSheetTitle"),
434
+ "aria-label": l("planSheetTitle"),
435
435
  children: /* @__PURE__ */ e.jsxs(
436
436
  "div",
437
437
  {
@@ -450,17 +450,17 @@ call`, values: ["cross", "cross", "check"] }
450
450
  children: /* @__PURE__ */ e.jsx(ee, {})
451
451
  }
452
452
  ),
453
- /* @__PURE__ */ e.jsx("h2", { className: "flex-1 text-[22px] text-gray-900 m-0 pr-8", children: r("planSheetTitle") })
453
+ /* @__PURE__ */ e.jsx("h2", { className: "flex-1 text-[22px] text-gray-900 m-0 pr-8", children: l("planSheetTitle") })
454
454
  ] }),
455
- /* @__PURE__ */ e.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pt-4 pb-4", ref: E, children: [
456
- /* @__PURE__ */ e.jsx("h3", { className: "m-0 mb-5 text-[22px] leading-snug text-gray-900", children: r(h?.title ?? "") }),
457
- /* @__PURE__ */ e.jsx("div", { className: "rounded-2xl border border-gray-200 bg-white px-4 py-3 shadow-[0_2px_8px_rgba(17,24,39,0.06)]", children: h && /* @__PURE__ */ e.jsx("ul", { className: "list-none m-0 p-0 flex flex-col gap-2", "aria-label": "Plan features", children: h.features.map((t, p) => /* @__PURE__ */ e.jsxs("li", { className: "flex items-start gap-3", children: [
458
- /* @__PURE__ */ e.jsx("span", { className: "shrink-0 mt-[1px]", children: t.included ? /* @__PURE__ */ e.jsx(ze, {}) : /* @__PURE__ */ e.jsx(Me, {}) }),
459
- /* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-[1.4] text-gray-700", children: r(t.text) })
460
- ] }, p)) }) }),
461
- v && /* @__PURE__ */ e.jsxs("div", { className: "mt-4 flex flex-col gap-2", children: [
455
+ /* @__PURE__ */ e.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pt-4 pb-4", ref: L, children: [
456
+ /* @__PURE__ */ e.jsx("h3", { className: "m-0 mb-5 text-[22px] leading-snug text-gray-900", children: l(m?.title ?? "") }),
457
+ /* @__PURE__ */ e.jsx("div", { className: "rounded-2xl border border-gray-200 bg-white px-4 py-3 shadow-[0_2px_8px_rgba(17,24,39,0.06)]", children: m && /* @__PURE__ */ e.jsx("ul", { className: "list-none m-0 p-0 flex flex-col gap-2", "aria-label": "Plan features", children: m.features.map((t, x) => /* @__PURE__ */ e.jsxs("li", { className: "flex items-start gap-3", children: [
458
+ /* @__PURE__ */ e.jsx("span", { className: "shrink-0 mt-[1px]", children: t.included ? /* @__PURE__ */ e.jsx(Ye, {}) : /* @__PURE__ */ e.jsx(Xe, {}) }),
459
+ /* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-[1.4] text-gray-700", children: l(t.text) })
460
+ ] }, x)) }) }),
461
+ w && /* @__PURE__ */ e.jsxs("div", { className: "mt-4 flex flex-col gap-2", children: [
462
462
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-3", children: [
463
- /* @__PURE__ */ e.jsx("div", { className: "flex -space-x-2", "aria-hidden": !0, children: He.map((t) => /* @__PURE__ */ e.jsx(
463
+ /* @__PURE__ */ e.jsx("div", { className: "flex -space-x-2", "aria-hidden": !0, children: We.map((t) => /* @__PURE__ */ e.jsx(
464
464
  "span",
465
465
  {
466
466
  className: "inline-flex h-8 w-8 items-center justify-center overflow-hidden rounded-full border-2 border-white bg-gray-100",
@@ -472,48 +472,48 @@ call`, values: ["cross", "cross", "check"] }
472
472
  className: "h-full w-full object-cover",
473
473
  loading: "lazy"
474
474
  }
475
- ) : /* @__PURE__ */ e.jsx("span", { className: "text-[10px] font-semibold text-gray-600", children: r(t.name).slice(0, 1) })
475
+ ) : /* @__PURE__ */ e.jsx("span", { className: "text-[10px] font-semibold text-gray-600", children: l(t.name).slice(0, 1) })
476
476
  },
477
477
  t.id
478
478
  )) }),
479
- /* @__PURE__ */ e.jsx("p", { className: "m-0 text-[14px] font-semibold text-gray-900", children: r("planQuestionHeader") })
479
+ /* @__PURE__ */ e.jsx("p", { className: "m-0 text-[14px] font-semibold text-gray-900", children: l("planQuestionHeader") })
480
480
  ] }),
481
481
  /* @__PURE__ */ e.jsxs("label", { className: "text-[14px] font-semibold text-gray-900", htmlFor: "kundli-question", children: [
482
- r("planQuestionLabel"),
482
+ l("planQuestionLabel"),
483
483
  /* @__PURE__ */ e.jsx("span", { className: "text-[#e05c2a] ml-0.5", children: "*" })
484
484
  ] }),
485
485
  /* @__PURE__ */ e.jsx(
486
486
  "textarea",
487
487
  {
488
488
  id: "kundli-question",
489
- ref: K,
489
+ ref: H,
490
490
  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",
491
- placeholder: r("planQuestionPlaceholder"),
492
- value: b,
493
- onFocus: () => H("keyboard_focus"),
494
- onClick: () => H("tap"),
491
+ placeholder: l("planQuestionPlaceholder"),
492
+ value: j,
493
+ onFocus: () => K("keyboard_focus"),
494
+ onClick: () => K("tap"),
495
495
  onChange: Y,
496
496
  rows: 1
497
497
  }
498
498
  ),
499
499
  /* @__PURE__ */ e.jsx("div", { className: "flex justify-end", children: /* @__PURE__ */ e.jsxs("span", { className: "text-[11px] text-gray-400", children: [
500
- b.length,
500
+ j.length,
501
501
  "/",
502
- V
502
+ W
503
503
  ] }) }),
504
- /* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-2 gap-2", children: q.map((t, p) => /* @__PURE__ */ e.jsx(
504
+ /* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-2 gap-2", children: q.map((t, x) => /* @__PURE__ */ e.jsx(
505
505
  "button",
506
506
  {
507
507
  type: "button",
508
508
  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",
509
509
  style: { fontFamily: "inherit" },
510
- onClick: () => X(t, p),
511
- children: r(t)
510
+ onClick: () => X(t, x),
511
+ children: l(t)
512
512
  },
513
513
  t
514
514
  )) })
515
515
  ] }),
516
- h?.astrologers && h.astrologers.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
516
+ m?.astrologers && m.astrologers.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
517
517
  /* @__PURE__ */ e.jsx(
518
518
  "div",
519
519
  {
@@ -523,13 +523,13 @@ call`, values: ["cross", "cross", "check"] }
523
523
  }
524
524
  }
525
525
  ),
526
- /* @__PURE__ */ e.jsx("p", { className: "m-0 mt-4 text-sm font-semibold text-gray-500", children: r("planAstrologerHeading") }),
526
+ /* @__PURE__ */ e.jsx("p", { className: "m-0 mt-4 text-sm font-semibold text-gray-500", children: l("planAstrologerHeading") }),
527
527
  /* @__PURE__ */ e.jsx(
528
528
  "div",
529
529
  {
530
530
  className: "flex overflow-x-auto gap-3 mt-3 pb-1 scroll-smooth [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
531
531
  role: "list",
532
- children: h.astrologers.map((t, p) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(De, { astrologer: t, t: r }) }, p))
532
+ children: m.astrologers.map((t, x) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx($e, { astrologer: t, t: l }) }, x))
533
533
  }
534
534
  )
535
535
  ] })
@@ -540,43 +540,43 @@ call`, values: ["cross", "cross", "check"] }
540
540
  className: "px-4 pt-3.5 bg-white border-t border-gray-100 sticky bottom-0 z-[5]",
541
541
  style: { paddingBottom: "calc(14px + env(safe-area-inset-bottom))" },
542
542
  children: [
543
- /* @__PURE__ */ e.jsx("div", { className: "flex gap-2 pb-3", role: "radiogroup", "aria-label": "Select plan", children: o.map((t) => /* @__PURE__ */ e.jsxs(
543
+ /* @__PURE__ */ e.jsx("div", { className: "flex gap-2 pb-3", role: "radiogroup", "aria-label": "Select plan", children: c.map((t) => /* @__PURE__ */ e.jsxs(
544
544
  "button",
545
545
  {
546
546
  type: "button",
547
547
  role: "radio",
548
- "aria-checked": t.id === m,
548
+ "aria-checked": t.id === g,
549
549
  className: [
550
550
  "flex-1 relative 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",
551
- t.id === m ? "border-[#e05c2a] bg-[#fff8f4]" : "border-gray-200 bg-white"
551
+ t.id === g ? "border-[#e05c2a] bg-[#fff8f4]" : "border-gray-200 bg-white"
552
552
  ].join(" "),
553
553
  onClick: () => {
554
- x?.trackPlanSelected?.({ planId: t.id, planName: t.title }), c(t);
554
+ h?.trackPlanSelected?.({ planId: t.id, planName: t.title }), d(t);
555
555
  },
556
556
  children: [
557
557
  t.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: [
558
- /* @__PURE__ */ e.jsx(Oe, {}),
559
- r(t.badge)
558
+ /* @__PURE__ */ e.jsx(Ze, {}),
559
+ l(t.badge)
560
560
  ] }),
561
- /* @__PURE__ */ e.jsx("span", { className: `text-[14px] leading-snug ${t.id === m ? "font-bold text-gray-900" : "font-semibold text-gray-600"}`, children: r(t.title) }),
561
+ /* @__PURE__ */ e.jsx("span", { className: `text-[14px] leading-snug ${t.id === g ? "font-bold text-gray-900" : "font-semibold text-gray-600"}`, children: l(t.title) }),
562
562
  /* @__PURE__ */ e.jsx("span", { className: "text-[15px] font-extrabold text-[#e05c2a] leading-tight", children: t.price })
563
563
  ]
564
564
  },
565
565
  t.id
566
566
  )) }),
567
- R && /* @__PURE__ */ e.jsx("p", { className: "m-0 mb-2 text-xs text-[#e05c2a] text-center", role: "alert", children: r("planQuestionHint") }),
567
+ T && /* @__PURE__ */ e.jsx("p", { className: "m-0 mb-2 text-xs text-[#e05c2a] text-center", role: "alert", children: l("planQuestionHint") }),
568
568
  /* @__PURE__ */ e.jsxs(
569
569
  "button",
570
570
  {
571
571
  className: [
572
572
  "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",
573
- l ? "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"
573
+ s ? "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"
574
574
  ].join(" "),
575
575
  style: { fontFamily: "inherit" },
576
- "aria-disabled": !l,
576
+ "aria-disabled": !s,
577
577
  onClick: Z,
578
578
  children: [
579
- l && /* @__PURE__ */ e.jsx(
579
+ s && /* @__PURE__ */ e.jsx(
580
580
  "span",
581
581
  {
582
582
  className: "absolute top-0 w-1/2 h-full pointer-events-none",
@@ -589,7 +589,7 @@ call`, values: ["cross", "cross", "check"] }
589
589
  }
590
590
  }
591
591
  ),
592
- /* @__PURE__ */ e.jsx("span", { className: "relative z-[1]", children: r("planProceedToPayment") })
592
+ /* @__PURE__ */ e.jsx("span", { className: "relative z-[1]", children: l("planProceedToPayment") })
593
593
  ]
594
594
  }
595
595
  )
@@ -602,63 +602,63 @@ call`, values: ["cross", "cross", "check"] }
602
602
  }
603
603
  )
604
604
  ] }) : null;
605
- }, $e = "kundli-report-astrologer", qe = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Ve = (a, i) => ce[a]?.[i] ?? i;
606
- function We({ className: a }) {
607
- return /* @__PURE__ */ e.jsx(Ye, { className: a });
605
+ }, et = "kundli-report-astrologer", tt = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", at = (n, i) => ce[n]?.[i] ?? i;
606
+ function nt({ className: n }) {
607
+ return /* @__PURE__ */ e.jsx(st, { className: n });
608
608
  }
609
- function Ye({ className: a }) {
609
+ function st({ className: n }) {
610
610
  const i = ae(), {
611
- locale: s,
612
- setLocale: c,
613
- config: n,
614
- formValues: d,
615
- setFormValues: u
616
- } = ne(), [_, x] = P(!1), [f, r] = P(null), o = j(null), m = j(void 0), I = T((l) => {
617
- o.current = l, x(!0);
618
- }, []), E = T(() => {
619
- if (!o.current || !f) return;
620
- const l = {
621
- ...o.current,
622
- _selectedPlan: f,
623
- ...m.current !== void 0 ? { _question: m.current } : {}
611
+ locale: r,
612
+ setLocale: d,
613
+ config: a,
614
+ formValues: u,
615
+ setFormValues: p
616
+ } = ne(), [v, h] = P(!1), [b, l] = P(null), c = _(null), g = _(void 0), I = E((s) => {
617
+ c.current = s, h(!0);
618
+ }, []), L = E(() => {
619
+ if (!c.current || !b) return;
620
+ const s = {
621
+ ...c.current,
622
+ _selectedPlan: b,
623
+ ...g.current !== void 0 ? { _question: g.current } : {}
624
624
  };
625
- m.current = void 0, f.id === $e && n.onProceedGuidance ? n.onProceedGuidance(l) : n.onProceed?.(l), x(!1), o.current = null;
626
- }, [f, n.onProceed, n.onProceedGuidance]), [L, b] = P(
627
- n.isGlobal ?? !0 ? "+1" : "+91"
628
- ), [k, C] = P(!1), Q = j(null), F = j(null), U = j(n.locale), R = j(i?.locale);
629
- S(() => {
630
- n.locale && U.current !== n.locale && c(n.locale), U.current = n.locale;
631
- }, [n.locale, c]), S(() => {
632
- if (n.locale) return;
633
- const l = i?.locale;
634
- l && R.current !== l && c(l), R.current = l;
635
- }, [i?.locale, n.locale, c]), S(() => {
636
- b(n.isGlobal ?? !0 ? "+1" : "+91");
637
- }, [n.isGlobal]), S(() => {
625
+ g.current = void 0, b.id === et && a.onProceedGuidance ? a.onProceedGuidance(s) : a.onProceed?.(s), h(!1), c.current = null;
626
+ }, [b, a.onProceed, a.onProceedGuidance]), [F, j] = P(
627
+ a.isGlobal ?? !0 ? "+1" : "+91"
628
+ ), [k, C] = P(!1), Q = _(null), S = _(null), U = _(a.locale), T = _(i?.locale);
629
+ R(() => {
630
+ a.locale && U.current !== a.locale && d(a.locale), U.current = a.locale;
631
+ }, [a.locale, d]), R(() => {
632
+ if (a.locale) return;
633
+ const s = i?.locale;
634
+ s && T.current !== s && d(s), T.current = s;
635
+ }, [i?.locale, a.locale, d]), R(() => {
636
+ j(a.isGlobal ?? !0 ? "+1" : "+91");
637
+ }, [a.isGlobal]), R(() => {
638
638
  if (!k) return;
639
- const l = (N) => {
640
- F.current && !F.current.contains(N.target) && C(!1);
639
+ const s = (N) => {
640
+ S.current && !S.current.contains(N.target) && C(!1);
641
641
  };
642
- return document.addEventListener("mousedown", l), () => document.removeEventListener("mousedown", l);
642
+ return document.addEventListener("mousedown", s), () => document.removeEventListener("mousedown", s);
643
643
  }, [k]);
644
- const w = (l) => Ve(s, l), K = n.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: y.langDropdownWrap, ref: F, children: [
644
+ const o = (s) => at(r, s), H = a.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: y.langDropdownWrap, ref: S, children: [
645
645
  /* @__PURE__ */ e.jsxs(
646
646
  "button",
647
647
  {
648
648
  type: "button",
649
649
  className: y.langTrigger,
650
650
  onClick: () => {
651
- n.analytics?.trackLanguageClickedFe?.({ language: s }), C((l) => !l);
651
+ a.analytics?.trackLanguageClickedFe?.({ language: r }), C((s) => !s);
652
652
  },
653
653
  "aria-expanded": k,
654
654
  "aria-haspopup": "listbox",
655
655
  id: "kundli-lang",
656
- "aria-label": w("language"),
656
+ "aria-label": o("language"),
657
657
  children: [
658
658
  /* @__PURE__ */ e.jsx(
659
659
  "img",
660
660
  {
661
- src: qe,
661
+ src: tt,
662
662
  alt: "",
663
663
  className: y.langIcon,
664
664
  width: 16,
@@ -666,7 +666,7 @@ function Ye({ className: a }) {
666
666
  "aria-hidden": !0
667
667
  }
668
668
  ),
669
- /* @__PURE__ */ e.jsx("span", { className: y.langLabel, children: z[s] })
669
+ /* @__PURE__ */ e.jsx("span", { className: y.langLabel, children: M[r] })
670
670
  ]
671
671
  }
672
672
  ),
@@ -676,24 +676,24 @@ function Ye({ className: a }) {
676
676
  className: y.langMenu,
677
677
  role: "listbox",
678
678
  "aria-labelledby": "kundli-lang",
679
- "aria-activedescendant": `kundli-lang-option-${s}`,
680
- children: le.map((l) => /* @__PURE__ */ e.jsx(
679
+ "aria-activedescendant": `kundli-lang-option-${r}`,
680
+ children: se.map((s) => /* @__PURE__ */ e.jsx(
681
681
  "li",
682
682
  {
683
- id: `kundli-lang-option-${l}`,
683
+ id: `kundli-lang-option-${s}`,
684
684
  role: "option",
685
- "aria-selected": l === s,
685
+ "aria-selected": s === r,
686
686
  className: y.langOption,
687
687
  onClick: () => {
688
- n.analytics?.trackLanguageChangedFe?.({ newLanguage: l }), c(l), C(!1);
688
+ a.analytics?.trackLanguageChangedFe?.({ newLanguage: s }), d(s), C(!1);
689
689
  },
690
- children: z[l]
690
+ children: M[s]
691
691
  },
692
- l
692
+ s
693
693
  ))
694
694
  }
695
695
  )
696
- ] }) : null, h = T((l) => {
696
+ ] }) : null, m = E((s) => {
697
697
  const N = {
698
698
  fullName: "kundli-full-name",
699
699
  phone: "kundli-phone",
@@ -703,147 +703,176 @@ function Ye({ className: a }) {
703
703
  birthPlace: "kundli-birth-place",
704
704
  gender: "kundli-gender-male",
705
705
  language_code: "kundli-report-lang-hi"
706
- }, A = document.getElementById(N[l] ?? "kundli-full-name");
706
+ }, A = document.getElementById(N[s] ?? "kundli-full-name");
707
707
  if (A) {
708
- const H = A.getBoundingClientRect().top + window.scrollY - 120;
709
- window.scrollTo({ top: H, behavior: "smooth" }), setTimeout(() => A.focus(), 500);
708
+ const K = A.getBoundingClientRect().top + window.scrollY - 120;
709
+ window.scrollTo({ top: K, behavior: "smooth" }), setTimeout(() => A.focus(), 500);
710
710
  }
711
- }, []), v = n;
712
- return /* @__PURE__ */ e.jsxs("div", { className: `${y.container} ${a}`, children: [
711
+ }, []), w = a;
712
+ return /* @__PURE__ */ e.jsxs("div", { className: `${y.container} ${n}`, children: [
713
713
  /* @__PURE__ */ e.jsx(
714
- se,
714
+ re,
715
715
  {
716
- t: w,
717
- logoUrl: n.logoUrl,
718
- languageSelector: K
716
+ t: o,
717
+ logoUrl: a.logoUrl,
718
+ languageSelector: H
719
719
  }
720
720
  ),
721
721
  /* @__PURE__ */ e.jsxs("main", { className: y.main, children: [
722
- /* @__PURE__ */ e.jsx(de, { t: w }),
722
+ /* @__PURE__ */ e.jsx(de, { t: o }),
723
723
  /* @__PURE__ */ e.jsx(
724
- Pe,
724
+ Te,
725
725
  {
726
- isGlobal: n.isGlobal,
727
- kundliReportSampleHref: v.kundliReportSampleHref,
728
- oneQuestionSampleHref: v.oneQuestionSampleHref
726
+ isGlobal: a.isGlobal,
727
+ kundliReportSampleHref: w.kundliReportSampleHref,
728
+ oneQuestionSampleHref: w.oneQuestionSampleHref
729
729
  }
730
730
  ),
731
+ /* @__PURE__ */ e.jsx(
732
+ ue,
733
+ {
734
+ t: o,
735
+ reportImageUrl: a.reportImageUrl,
736
+ analytics: a.analytics
737
+ }
738
+ ),
739
+ /* @__PURE__ */ e.jsx(
740
+ pe,
741
+ {
742
+ t: o,
743
+ logoUrl: a.universityLogoUrls?.find((s) => !!s)
744
+ }
745
+ ),
746
+ /* @__PURE__ */ e.jsx(xe, { t: o, locale: r, isGlobal: a.isGlobal }),
731
747
  /* @__PURE__ */ e.jsxs("div", { className: y.inlineFormWrap, ref: Q, children: [
732
- /* @__PURE__ */ e.jsx(re, { t: w, align: "center" }),
748
+ /* @__PURE__ */ e.jsx(le, { t: o, align: "center" }),
733
749
  /* @__PURE__ */ e.jsx(
734
750
  ie,
735
751
  {
736
- t: w,
737
- values: d,
738
- onChange: u,
739
- phoneIsdCode: L,
740
- onPhoneIsdCodeChange: b,
752
+ t: o,
753
+ values: u,
754
+ onChange: p,
755
+ phoneIsdCode: F,
756
+ onPhoneIsdCodeChange: j,
741
757
  showV1ExtraFields: !0,
742
- analytics: n.analytics
758
+ analytics: a.analytics
743
759
  }
744
760
  ),
745
761
  /* @__PURE__ */ e.jsx(
746
762
  oe,
747
763
  {
748
- t: w,
749
- values: d,
750
- phoneIsdCode: L,
764
+ t: o,
765
+ values: u,
766
+ phoneIsdCode: F,
751
767
  hideOriginalPrice: !0,
752
768
  requireV1ExtraFields: !0,
753
- onValidationFailed: h,
754
- onProceed: n.onProceed,
755
- href: n.proceedHref,
756
- originalPriceLabel: n.originalPriceLabel,
757
- discountedPriceLabel: n.discountedPriceLabel,
758
- analytics: n.analytics,
769
+ onValidationFailed: m,
770
+ onProceed: a.onProceed,
771
+ href: a.proceedHref,
772
+ originalPriceLabel: a.originalPriceLabel,
773
+ discountedPriceLabel: a.discountedPriceLabel,
774
+ analytics: a.analytics,
759
775
  className: y.inlineProceedFooter,
760
- onProceedGuidance: n.onProceedGuidance,
776
+ onProceedGuidance: a.onProceedGuidance,
761
777
  showPlanSheet: I,
762
- confirmPlan: E,
763
- planSheetOpen: _,
764
- selectedPlan: f
778
+ confirmPlan: L,
779
+ planSheetOpen: v,
780
+ selectedPlan: b
765
781
  }
766
782
  )
767
- ] })
783
+ ] }),
784
+ /* @__PURE__ */ e.jsx(he, { t: o }),
785
+ /* @__PURE__ */ e.jsx(me, { t: o }),
786
+ /* @__PURE__ */ e.jsx(
787
+ ge,
788
+ {
789
+ t: o,
790
+ readMoreHref: a.readMoreReviewsHref,
791
+ onReadMore: a.analytics?.trackReadMoreReviewsClicked ? () => a.analytics.trackReadMoreReviewsClicked() : void 0
792
+ }
793
+ ),
794
+ /* @__PURE__ */ e.jsx(fe, { t: o }),
795
+ /* @__PURE__ */ e.jsx(be, { t: o })
768
796
  ] }),
769
797
  /* @__PURE__ */ e.jsx(
770
- Be,
798
+ Je,
771
799
  {
772
- isOpen: _,
773
- onClose: () => x(!1),
774
- selectedPlan: f,
775
- onSelectPlan: r,
776
- isGlobal: n.isGlobal,
777
- locale: s,
778
- onProceed: (l, N) => {
779
- m.current = N, E();
800
+ isOpen: v,
801
+ onClose: () => h(!1),
802
+ selectedPlan: b,
803
+ onSelectPlan: l,
804
+ isGlobal: a.isGlobal,
805
+ locale: r,
806
+ onProceed: (s, N) => {
807
+ g.current = N, L();
780
808
  },
781
- t: w,
782
- analytics: n.analytics
809
+ t: o,
810
+ analytics: a.analytics
783
811
  }
784
812
  )
785
813
  ] });
786
814
  }
787
- const tt = ({
788
- className: a = "",
815
+ const ct = ({
816
+ className: n = "",
789
817
  locale: i,
790
- userId: s,
791
- isGlobal: c,
792
- atlasSearchLocalities: n,
793
- kundliReportSampleHref: d,
794
- oneQuestionSampleHref: u,
795
- onProceed: _,
796
- onProceedGuidance: x,
797
- proceedHref: f,
798
- originalPriceLabel: r,
799
- discountedPriceLabel: o,
800
- analytics: m,
801
- onLocaleChange: I
818
+ userId: r,
819
+ isGlobal: d,
820
+ atlasSearchLocalities: a,
821
+ showLanguageSelector: u = !0,
822
+ kundliReportSampleHref: p,
823
+ oneQuestionSampleHref: v,
824
+ onProceed: h,
825
+ onProceedGuidance: b,
826
+ proceedHref: l,
827
+ originalPriceLabel: c,
828
+ discountedPriceLabel: g,
829
+ analytics: I,
830
+ onLocaleChange: L
802
831
  }) => /* @__PURE__ */ e.jsx(
803
832
  te,
804
833
  {
805
834
  locale: i,
806
- showLanguageSelector: !1,
835
+ showLanguageSelector: u,
807
836
  showSheet: !0,
808
- userId: s,
809
- isGlobal: c,
837
+ userId: r,
838
+ isGlobal: d,
810
839
  variant: "v1",
811
- atlasSearchLocalities: n,
812
- onProceed: _,
813
- onProceedGuidance: x,
814
- proceedHref: f,
815
- originalPriceLabel: r,
816
- discountedPriceLabel: o,
817
- analytics: m,
818
- onLocaleChange: I,
819
- kundliReportSampleHref: d,
820
- oneQuestionSampleHref: u,
821
- children: /* @__PURE__ */ e.jsx(We, { className: a })
840
+ atlasSearchLocalities: a,
841
+ onProceed: h,
842
+ onProceedGuidance: b,
843
+ proceedHref: l,
844
+ originalPriceLabel: c,
845
+ discountedPriceLabel: g,
846
+ analytics: I,
847
+ onLocaleChange: L,
848
+ kundliReportSampleHref: p,
849
+ oneQuestionSampleHref: v,
850
+ children: /* @__PURE__ */ e.jsx(nt, { className: n })
822
851
  }
823
852
  );
824
853
  export {
825
- lt as DefaultKundliImage,
826
- st as I18nProvider,
827
- rt as KUNDLI_ANALYTICS_EVENT_NAMES,
828
- bt as KUNDLI_CRITICAL_CSS,
829
- it as KUNDLI_LANGUAGE_STORAGE_KEY,
830
- ot as KundliContext,
831
- ct as KundliForm,
832
- jt as KundliPage,
833
- _t as KundliPageBase,
834
- wt as KundliPageV1,
854
+ pt as DefaultKundliImage,
855
+ xt as I18nProvider,
856
+ ht as KUNDLI_ANALYTICS_EVENT_NAMES,
857
+ kt as KUNDLI_CRITICAL_CSS,
858
+ mt as KUNDLI_LANGUAGE_STORAGE_KEY,
859
+ gt as KundliContext,
860
+ ft as KundliForm,
861
+ Ct as KundliPage,
862
+ Lt as KundliPageBase,
863
+ Ft as KundliPageV1,
835
864
  te as KundliProvider,
836
- tt as KundliThreeSkuPage,
837
- vt as PREMIUM_REPORT_BACKGROUND_IMAGE_URL,
838
- le as SUPPORTED_LOCALES,
839
- dt as getItem,
840
- ut as getStoredKundliLocale,
841
- pt as isLocalStorageAvailable,
842
- xt as removeItem,
843
- ht as setItem,
844
- mt as setStoredKundliLocale,
865
+ ct as KundliThreeSkuPage,
866
+ St as PREMIUM_REPORT_BACKGROUND_IMAGE_URL,
867
+ se as SUPPORTED_LOCALES,
868
+ bt as getItem,
869
+ jt as getStoredKundliLocale,
870
+ _t as isLocalStorageAvailable,
871
+ vt as removeItem,
872
+ wt as setItem,
873
+ yt as setStoredKundliLocale,
845
874
  ae as useI18n,
846
- gt as useKundliContext,
875
+ Nt as useKundliContext,
847
876
  ne as useKundliContextOrThrow
848
877
  };
849
878
  //# sourceMappingURL=kundli-generator.js.map