@srimandir/kundli-generator 7.1.0 → 7.3.0

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.
Files changed (45) hide show
  1. package/dist/{analytics-hg37leiF.js → analytics-CmNHIxia.js} +697 -678
  2. package/dist/analytics-CmNHIxia.js.map +1 -0
  3. package/dist/analytics.d.ts +37 -1
  4. package/dist/components/KundliForm/sections/ProceedFooter/ProceedFooter.d.ts +1 -0
  5. package/dist/components/KundliForm/sections/UserInfoFormSection/useAtlasPlacesAutocomplete.d.ts +5 -5
  6. package/dist/components/KundliForm/sections/UserInfoFormSection/useGooglePlacesAutocomplete.d.ts +8 -8
  7. package/dist/components/KundliPage/KundliContext.d.ts +5 -0
  8. package/dist/components/KundliPage/KundliPage.d.ts +12 -0
  9. package/dist/components/KundliPage/KundliPageV1.d.ts +13 -0
  10. package/dist/components/KundliPage/sections/KundliTableSection/KundliTableSection.constants.d.ts +32 -0
  11. package/dist/components/KundliPage/sections/KundliTableSection/SampleReportsSection.d.ts +10 -0
  12. package/dist/components/KundliPage/sections/KundliTableSection/index.d.ts +3 -0
  13. package/dist/components/KundliPage/sections/PremiumReportOverview/PremiumReportOverview.d.ts +6 -0
  14. package/dist/components/KundliPage/sections/UtmBannerSection/UtmBannerSection.d.ts +8 -0
  15. package/dist/components/KundliPage/sections/UtmBannerSection/index.d.ts +2 -0
  16. package/dist/components/KundliPage/sections/index.d.ts +1 -0
  17. package/dist/components/KundliPlanBottomSheet/types.d.ts +1 -0
  18. package/dist/components/ThreeSkuPlanBottomSheet/AstrologerSection.d.ts +8 -0
  19. package/dist/components/ThreeSkuPlanBottomSheet/PlanFeatureList.d.ts +7 -0
  20. package/dist/components/ThreeSkuPlanBottomSheet/PlanSelectorStrip.d.ts +11 -0
  21. package/dist/components/ThreeSkuPlanBottomSheet/ProceedButton.d.ts +9 -0
  22. package/dist/components/ThreeSkuPlanBottomSheet/QuestionChips.d.ts +7 -0
  23. package/dist/components/ThreeSkuPlanBottomSheet/QuestionInput.d.ts +15 -0
  24. package/dist/components/ThreeSkuPlanBottomSheet/SheetHeader.d.ts +6 -0
  25. package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuAstrologerCard.d.ts +6 -0
  26. package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuAstrologerProfiles.d.ts +15 -0
  27. package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuPlanBottomSheet.d.ts +3 -0
  28. package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuPlanBottomSheet.icons.d.ts +3 -0
  29. package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuPlanBottomSheet.types.d.ts +51 -0
  30. package/dist/components/ThreeSkuPlanBottomSheet/constants.d.ts +87 -0
  31. package/dist/components/ThreeSkuPlanBottomSheet/index.d.ts +4 -0
  32. package/dist/criticalCss-xbBx1kzM.js +1922 -0
  33. package/dist/criticalCss-xbBx1kzM.js.map +1 -0
  34. package/dist/form-entry.js +1 -1
  35. package/dist/index.d.ts +1 -0
  36. package/dist/kundli-generator.js +58 -23
  37. package/dist/kundli-generator.js.map +1 -1
  38. package/dist/page-entry.js +2 -2
  39. package/dist/style.css +1 -1
  40. package/dist/utils/keyframeStyles.d.ts +10 -0
  41. package/dist/utils/utmBanner.d.ts +23 -0
  42. package/package.json +2 -2
  43. package/dist/analytics-hg37leiF.js.map +0 -1
  44. package/dist/criticalCss-VFyqntMr.js +0 -1200
  45. package/dist/criticalCss-VFyqntMr.js.map +0 -1
@@ -0,0 +1,1922 @@
1
+ import { k as e, f as Z, D as se, c as je, h as de, j as De, u as ye, L as ie, S as we, l as ve, t as Ce, C as Ue, P as $e, F as Be, U as qe, m as Oe, n as Me } from "./analytics-CmNHIxia.js";
2
+ import { useRef as b, useState as R, useEffect as P, useCallback as X, useMemo as pe } from "react";
3
+ import { UserReviewsSection as Ke, FAQAccordion as Qe, ContactUsSection as He, FooterShell as Ge, FooterCTAButton as ze, CircularMarquee as We, footerShellStyles as Y } from "@srimandir/astrology-common";
4
+ const Ve = "_container_nm3gb_1", Ye = "_main_nm3gb_6", Xe = "_langDropdownWrap_nm3gb_12", Je = "_langTrigger_nm3gb_16", Ze = "_langIcon_nm3gb_28", en = "_langLabel_nm3gb_35", nn = "_langMenu_nm3gb_40", tn = "_langOption_nm3gb_46", z = {
5
+ container: Ve,
6
+ main: Ye,
7
+ langDropdownWrap: Xe,
8
+ langTrigger: Je,
9
+ langIcon: Ze,
10
+ langLabel: en,
11
+ langMenu: nn,
12
+ langOption: tn
13
+ }, an = "_hero_1vvjv_1", sn = "_title_1vvjv_5", on = "_subtitle_1vvjv_10", ln = "_topicTags_1vvjv_23", rn = "_tag_1vvjv_27", te = {
14
+ hero: an,
15
+ title: sn,
16
+ subtitle: on,
17
+ topicTags: ln,
18
+ tag: rn
19
+ }, cn = [
20
+ "topicMarriage",
21
+ "topicRelationship",
22
+ "topicBusiness",
23
+ "topicHealth",
24
+ "topicCareer",
25
+ "topicEducation",
26
+ "topicMoney"
27
+ ], ke = ({ t: n, className: a = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${te.hero} ${a}`, "aria-labelledby": "hero-title", children: [
28
+ /* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: te.title, children: n("heroTitle") }),
29
+ /* @__PURE__ */ e.jsx("p", { className: te.subtitle, children: n("heroSubtitle") }),
30
+ /* @__PURE__ */ e.jsx("div", { className: te.topicTags, role: "list", children: cn.map((t) => /* @__PURE__ */ e.jsx("span", { className: te.tag, role: "listitem", children: n(t) }, t)) })
31
+ ] }), dn = "_section_iqucz_1", un = "_utmBanner_iqucz_9", pn = "_utmBannerImg_iqucz_13", mn = "_backgroundLayer_iqucz_18", hn = "_backgroundImg_iqucz_25", gn = "_inner_iqucz_32", xn = "_content_iqucz_38", fn = "_headline_iqucz_42", _n = "_headlineLine_iqucz_47", bn = "_headlinePill_iqucz_52", jn = "_headlinePlain_iqucz_67", yn = "_featureList_iqucz_78", wn = "_featureItem_iqucz_85", vn = "_featureIcon_iqucz_90", Cn = "_reportImage_iqucz_97", kn = "_reportImg_iqucz_107", _ = {
32
+ section: dn,
33
+ utmBanner: un,
34
+ utmBannerImg: pn,
35
+ backgroundLayer: mn,
36
+ backgroundImg: hn,
37
+ inner: gn,
38
+ content: xn,
39
+ headline: fn,
40
+ headlineLine: _n,
41
+ headlinePill: bn,
42
+ headlinePlain: jn,
43
+ featureList: yn,
44
+ featureItem: wn,
45
+ featureIcon: vn,
46
+ reportImage: Cn,
47
+ reportImg: kn
48
+ }, Nn = "https://srm-cdn.a4b.io/yoda/1770363846052.svg", Pn = "https://srm-cdn.a4b.io/yoda/1772696426944.webp", In = [
49
+ "premiumFeature1",
50
+ "premiumFeature2",
51
+ "premiumFeature3",
52
+ "premiumFeature4"
53
+ ], Ln = "https://srm-cdn.a4b.io/yoda/1772696452070.webp", Ne = ({
54
+ t: n,
55
+ reportImageUrl: a = Ln,
56
+ reportImagePriority: t,
57
+ backgroundImagePriority: o = !1,
58
+ analytics: s,
59
+ utmBannerImageUrl: l,
60
+ utmBannerAltText: r = "",
61
+ className: m = ""
62
+ }) => {
63
+ const h = Z()?.config.imageComponent ?? se;
64
+ if (l)
65
+ return /* @__PURE__ */ e.jsx(
66
+ "section",
67
+ {
68
+ className: `${_.utmBanner} ${m}`,
69
+ "aria-label": r,
70
+ children: /* @__PURE__ */ e.jsx(
71
+ h,
72
+ {
73
+ src: l,
74
+ alt: r,
75
+ className: _.utmBannerImg,
76
+ priority: !0,
77
+ fetchPriority: "high",
78
+ loading: "eager",
79
+ sizes: "100vw"
80
+ }
81
+ )
82
+ }
83
+ );
84
+ const f = () => {
85
+ s?.trackBannerClicked?.();
86
+ };
87
+ return /* @__PURE__ */ e.jsxs(
88
+ "section",
89
+ {
90
+ className: `${_.section} ${m}`,
91
+ "aria-labelledby": "premium-headline",
92
+ role: "button",
93
+ tabIndex: 0,
94
+ onClick: f,
95
+ "data-hero": !0,
96
+ children: [
97
+ /* @__PURE__ */ e.jsx("div", { className: _.backgroundLayer, "aria-hidden": !0, "data-background-layer": !0, children: /* @__PURE__ */ e.jsx(
98
+ h,
99
+ {
100
+ src: Pn,
101
+ alt: "",
102
+ className: _.backgroundImg,
103
+ width: 412,
104
+ height: 215,
105
+ sizes: "(max-width: 768px) 412px, 412px",
106
+ loading: "eager",
107
+ priority: o,
108
+ fetchPriority: "high"
109
+ }
110
+ ) }),
111
+ /* @__PURE__ */ e.jsxs("div", { className: _.inner, children: [
112
+ /* @__PURE__ */ e.jsxs("div", { className: _.content, children: [
113
+ /* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: _.headline, children: [
114
+ /* @__PURE__ */ e.jsxs("span", { className: _.headlineLine, children: [
115
+ /* @__PURE__ */ e.jsx("span", { className: _.headlinePill, children: n("premiumHeadlinePill1") }),
116
+ /* @__PURE__ */ e.jsx("span", { className: _.headlinePlain, children: n("premiumHeadlinePlain1") })
117
+ ] }),
118
+ /* @__PURE__ */ e.jsxs("span", { className: _.headlineLine, children: [
119
+ /* @__PURE__ */ e.jsx("span", { className: _.headlinePlain, children: n("premiumHeadlinePlain2") }),
120
+ /* @__PURE__ */ e.jsx("span", { className: _.headlinePill, children: n("premiumHeadlinePill2") })
121
+ ] }),
122
+ /* @__PURE__ */ e.jsxs("span", { className: _.headlineLine, children: [
123
+ /* @__PURE__ */ e.jsx("span", { className: _.headlinePlain, children: n("and") }),
124
+ /* @__PURE__ */ e.jsx("span", { className: _.headlinePill, children: n("astrologyGuidance") })
125
+ ] })
126
+ ] }),
127
+ /* @__PURE__ */ e.jsx("ul", { className: _.featureList, children: In.map((p) => /* @__PURE__ */ e.jsxs("li", { className: _.featureItem, children: [
128
+ /* @__PURE__ */ e.jsx(
129
+ h,
130
+ {
131
+ src: Nn,
132
+ alt: "",
133
+ className: _.featureIcon,
134
+ width: 16,
135
+ height: 16,
136
+ loading: "lazy"
137
+ }
138
+ ),
139
+ n(p)
140
+ ] }, p)) })
141
+ ] }),
142
+ /* @__PURE__ */ e.jsx("div", { className: _.reportImage, children: /* @__PURE__ */ e.jsx(
143
+ h,
144
+ {
145
+ src: a,
146
+ alt: "",
147
+ className: _.reportImg,
148
+ width: 120,
149
+ height: 160,
150
+ priority: t,
151
+ fetchPriority: t ? "high" : void 0,
152
+ loading: t ? "eager" : "lazy",
153
+ sizes: "120px"
154
+ }
155
+ ) })
156
+ ] })
157
+ ]
158
+ }
159
+ );
160
+ }, Tn = "_section_1kxsy_1", Fn = "_heading_1kxsy_6", Rn = "_logoImg_1kxsy_10", ce = {
161
+ section: Tn,
162
+ heading: Fn,
163
+ logoImg: Rn
164
+ }, Sn = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", Pe = ({
165
+ t: n,
166
+ logoUrl: a = Sn,
167
+ className: t = ""
168
+ }) => {
169
+ const s = Z()?.config.imageComponent ?? se;
170
+ return /* @__PURE__ */ e.jsxs("section", { className: `${ce.section} ${t}`, "aria-labelledby": "certified-heading", children: [
171
+ /* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: ce.heading, children: n("certifiedBy") }),
172
+ /* @__PURE__ */ e.jsx(
173
+ s,
174
+ {
175
+ src: a,
176
+ alt: "University Certification",
177
+ className: ce.logoImg,
178
+ width: 380,
179
+ height: 70,
180
+ loading: "lazy"
181
+ }
182
+ )
183
+ ] });
184
+ }, En = "_section_1d9aa_1", An = "_heading_1d9aa_6", Dn = "_subtitle_1d9aa_11", Un = "_stepList_1d9aa_16", $n = "_stepItem_1d9aa_20", Bn = "_stepNumber_1d9aa_24", qn = "_stepText_1d9aa_30", On = "_step3Days_1d9aa_35", S = {
185
+ section: En,
186
+ heading: An,
187
+ subtitle: Dn,
188
+ stepList: Un,
189
+ stepItem: $n,
190
+ stepNumber: Bn,
191
+ stepText: qn,
192
+ step3Days: On
193
+ }, Mn = ["step1", "step2"], Ie = ({
194
+ t: n,
195
+ locale: a = "en",
196
+ isGlobal: t = !0,
197
+ className: o = ""
198
+ }) => {
199
+ const s = t ? "step3IntroGlobal" : "step3IntroDomestic";
200
+ return /* @__PURE__ */ e.jsxs(
201
+ "section",
202
+ {
203
+ className: `${S.section} ${o}`,
204
+ "aria-labelledby": "steps-heading",
205
+ children: [
206
+ /* @__PURE__ */ e.jsx("p", { className: S.heading, children: n("yourThreeSteps") }),
207
+ /* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: S.subtitle, children: n("threeStepsSubtitle") }),
208
+ /* @__PURE__ */ e.jsxs("ol", { className: S.stepList, children: [
209
+ Mn.map((l, r) => /* @__PURE__ */ e.jsxs("li", { className: S.stepItem, children: [
210
+ /* @__PURE__ */ e.jsx("span", { className: S.stepNumber, "aria-hidden": !0, children: r + 1 }),
211
+ /* @__PURE__ */ e.jsx("span", { className: S.stepText, children: n(l) })
212
+ ] }, l)),
213
+ /* @__PURE__ */ e.jsxs("li", { className: S.stepItem, children: [
214
+ /* @__PURE__ */ e.jsx("span", { className: S.stepNumber, "aria-hidden": !0, children: "3" }),
215
+ /* @__PURE__ */ e.jsxs("span", { className: S.stepText, children: [
216
+ n(s),
217
+ /* @__PURE__ */ e.jsx("br", {}),
218
+ a === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
219
+ "in ",
220
+ /* @__PURE__ */ e.jsx("strong", { className: S.step3Days, children: n("step3Days") })
221
+ ] }) : /* @__PURE__ */ e.jsx("strong", { className: S.step3Days, children: n("step3Days") })
222
+ ] })
223
+ ] })
224
+ ] })
225
+ ]
226
+ }
227
+ );
228
+ }, Kn = "_section_1jea1_1", Qn = "_button_1jea1_7", me = {
229
+ section: Kn,
230
+ button: Qn
231
+ }, Hn = "_backdrop_pekod_1", Gn = "_modal_pekod_21", zn = "_header_pekod_40", Wn = "_title_pekod_49", Vn = "_closeBtn_pekod_56", Yn = "_content_pekod_76", Xn = "_pdfFrame_pekod_84", Jn = "_pdfPages_pekod_92", Zn = "_pdfError_pekod_97", et = "_openInNewTab_pekod_123", U = {
232
+ backdrop: Hn,
233
+ modal: Gn,
234
+ header: zn,
235
+ title: Wn,
236
+ closeBtn: Vn,
237
+ content: Yn,
238
+ pdfFrame: Xn,
239
+ pdfPages: Jn,
240
+ pdfError: Zn,
241
+ openInNewTab: et
242
+ };
243
+ function nt(n) {
244
+ typeof n < "u" && n.GlobalWorkerOptions && (n.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${n.version}/build/pdf.worker.min.js`);
245
+ }
246
+ const Le = ({
247
+ isOpen: n,
248
+ onClose: a,
249
+ title: t,
250
+ pdfUrl: o
251
+ }) => {
252
+ const s = b(null), [l, r] = R(!0), [m, i] = R(null), [h, f] = R(null);
253
+ return P(() => {
254
+ if (!n) return;
255
+ const p = (d) => {
256
+ d.key === "Escape" && a();
257
+ };
258
+ return document.addEventListener("keydown", p), document.body.style.overflow = "hidden", () => {
259
+ document.removeEventListener("keydown", p), document.body.style.overflow = "";
260
+ };
261
+ }, [n, a]), P(() => {
262
+ n && import("pdfjs-dist").then((p) => {
263
+ f(p);
264
+ }).catch((p) => {
265
+ i("Failed to load PDF viewer"), r(!1);
266
+ });
267
+ }, [n]), P(() => {
268
+ if (!n || !o || !s.current || !h) return;
269
+ r(!0), i(null), s.current.innerHTML = "", (async () => {
270
+ try {
271
+ nt(h);
272
+ const j = await h.getDocument({ url: o }).promise, I = s.current;
273
+ if (!I) return;
274
+ const C = I.clientWidth || 600, k = Math.min(C / 612, 2);
275
+ for (let g = 1; g <= j.numPages; g++) {
276
+ const c = await j.getPage(g), v = c.getViewport({ scale: k }), w = document.createElement("canvas");
277
+ w.height = v.height, w.width = v.width, w.style.display = "block", w.style.margin = "0 auto 1rem", w.style.maxWidth = "100%";
278
+ const L = w.getContext("2d");
279
+ L && await c.render({ canvasContext: L, viewport: v }).promise, I.appendChild(w);
280
+ }
281
+ } catch (d) {
282
+ i(d instanceof Error ? d.message : "Failed to load PDF");
283
+ } finally {
284
+ r(!1);
285
+ }
286
+ })();
287
+ }, [n, o, h]), n ? /* @__PURE__ */ e.jsx(
288
+ "div",
289
+ {
290
+ className: U.backdrop,
291
+ onClick: a,
292
+ role: "dialog",
293
+ "aria-modal": "true",
294
+ "aria-labelledby": "sample-report-modal-title",
295
+ children: /* @__PURE__ */ e.jsxs(
296
+ "div",
297
+ {
298
+ className: U.modal,
299
+ onClick: (p) => p.stopPropagation(),
300
+ children: [
301
+ /* @__PURE__ */ e.jsxs("div", { className: U.header, children: [
302
+ /* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className: U.title, children: t }),
303
+ /* @__PURE__ */ e.jsx(
304
+ "button",
305
+ {
306
+ type: "button",
307
+ className: U.closeBtn,
308
+ onClick: a,
309
+ "aria-label": "Close",
310
+ children: "×"
311
+ }
312
+ )
313
+ ] }),
314
+ /* @__PURE__ */ e.jsxs("div", { className: U.content, children: [
315
+ /* @__PURE__ */ e.jsxs("div", { className: U.pdfFrame, children: [
316
+ m && /* @__PURE__ */ e.jsxs("div", { className: U.pdfError, children: [
317
+ /* @__PURE__ */ e.jsx("span", { children: m }),
318
+ /* @__PURE__ */ e.jsx("a", { href: o, target: "_blank", rel: "noopener noreferrer", children: "Open in new tab instead" })
319
+ ] }),
320
+ /* @__PURE__ */ e.jsx("div", { ref: s, className: U.pdfPages })
321
+ ] }),
322
+ /* @__PURE__ */ e.jsx(
323
+ "a",
324
+ {
325
+ href: o,
326
+ target: "_blank",
327
+ rel: "noopener noreferrer",
328
+ className: U.openInNewTab,
329
+ children: "Open in new tab"
330
+ }
331
+ )
332
+ ] })
333
+ ]
334
+ }
335
+ )
336
+ }
337
+ ) : null;
338
+ }, tt = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", ue = ({
339
+ t: n,
340
+ pdfUrl: a = tt,
341
+ onClick: t,
342
+ analytics: o,
343
+ className: s = ""
344
+ }) => {
345
+ const [l, r] = R(!1), m = n("viewSampleReport"), i = n("sampleReportModalTitle"), h = () => {
346
+ o?.trackViewSampleReportClicked?.(), t?.(), r(!0);
347
+ }, f = () => {
348
+ o?.trackViewSampleReportClosed?.(), r(!1);
349
+ };
350
+ return /* @__PURE__ */ e.jsxs("section", { className: `${me.section} ${s}`, children: [
351
+ /* @__PURE__ */ e.jsx("button", { type: "button", className: me.button, onClick: h, children: m }),
352
+ /* @__PURE__ */ e.jsx(
353
+ Le,
354
+ {
355
+ isOpen: l,
356
+ onClose: f,
357
+ title: i,
358
+ pdfUrl: a
359
+ }
360
+ )
361
+ ] });
362
+ }, at = "_section_1ds1w_1", st = "_heading_1ds1w_5", it = "_list_1ds1w_10", ot = "_item_1ds1w_17", lt = "_imageWrap_1ds1w_21", rt = "_image_1ds1w_21", ct = "_imagePlaceholder_1ds1w_30", dt = "_text_1ds1w_36", ut = "_itemTitle_1ds1w_40", pt = "_itemDesc_1ds1w_51", $ = {
363
+ section: at,
364
+ heading: st,
365
+ list: it,
366
+ item: ot,
367
+ imageWrap: lt,
368
+ image: rt,
369
+ imagePlaceholder: ct,
370
+ text: dt,
371
+ itemTitle: ut,
372
+ itemDesc: pt
373
+ }, mt = [
374
+ { titleKey: "findDasha", descKey: "findDashaDesc" },
375
+ { titleKey: "findYoga", descKey: "findYogaDesc" },
376
+ { titleKey: "findGemstone", descKey: "findGemstoneDesc" },
377
+ { titleKey: "findPooja", descKey: "findPoojaDesc" },
378
+ { titleKey: "findMonthly", descKey: "findMonthlyDesc" },
379
+ { titleKey: "findStrength", descKey: "findStrengthDesc" }
380
+ ], ht = [
381
+ "https://srm-cdn.a4b.io/yoda/1772619204758.webp",
382
+ "https://srm-cdn.a4b.io/yoda/1772619215121.webp",
383
+ "https://srm-cdn.a4b.io/yoda/1772619232241.webp",
384
+ "https://srm-cdn.a4b.io/yoda/1772619253699.webp",
385
+ "https://srm-cdn.a4b.io/yoda/1772619272322.webp",
386
+ "https://srm-cdn.a4b.io/yoda/1772619284662.webp"
387
+ ], Te = ({
388
+ t: n,
389
+ imageUrls: a = ht,
390
+ className: t = ""
391
+ }) => {
392
+ const s = Z()?.config.imageComponent ?? se;
393
+ return /* @__PURE__ */ e.jsxs(
394
+ "section",
395
+ {
396
+ className: `${$.section} ${t}`,
397
+ "aria-labelledby": "find-heading",
398
+ children: [
399
+ /* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: $.heading, children: n("whatYoullFindTitle") }),
400
+ /* @__PURE__ */ e.jsx("ul", { className: $.list, children: mt.map((l, r) => /* @__PURE__ */ e.jsxs("li", { className: $.item, children: [
401
+ /* @__PURE__ */ e.jsx("div", { className: $.imageWrap, children: a[r] ? /* @__PURE__ */ e.jsx(
402
+ s,
403
+ {
404
+ src: a[r],
405
+ alt: "",
406
+ className: $.image,
407
+ width: 96,
408
+ height: 96,
409
+ loading: "lazy",
410
+ sizes: "96px"
411
+ }
412
+ ) : /* @__PURE__ */ e.jsx("div", { className: $.imagePlaceholder, "aria-hidden": !0 }) }),
413
+ /* @__PURE__ */ e.jsxs("div", { className: $.text, children: [
414
+ /* @__PURE__ */ e.jsx("h3", { className: $.itemTitle, children: n(l.titleKey) }),
415
+ /* @__PURE__ */ e.jsx("p", { className: $.itemDesc, children: n(l.descKey) })
416
+ ] })
417
+ ] }, l.titleKey)) })
418
+ ]
419
+ }
420
+ );
421
+ }, gt = "_section_75s76_1", xt = "_heading_75s76_6", ft = "_subtitle_75s76_11", _t = "_list_75s76_16", bt = "_item_75s76_20", ae = {
422
+ section: gt,
423
+ heading: xt,
424
+ subtitle: ft,
425
+ list: _t,
426
+ item: bt
427
+ }, jt = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], Fe = ({ t: n, className: a = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${ae.section} ${a}`, "aria-labelledby": "why-heading", children: [
428
+ /* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: ae.heading, children: n("whyUsTitle") }),
429
+ /* @__PURE__ */ e.jsx("p", { className: ae.subtitle, children: n("whyUsSubtitle") }),
430
+ /* @__PURE__ */ e.jsx("ul", { className: ae.list, children: jt.map((t) => /* @__PURE__ */ e.jsx("li", { className: ae.item, children: n(t) }, t)) })
431
+ ] }), yt = "_headingBold_g8xg7_1", wt = {
432
+ headingBold: yt
433
+ }, Re = ({
434
+ t: n,
435
+ testimonials: a,
436
+ readMoreHref: t,
437
+ onReadMore: o,
438
+ className: s = "",
439
+ headingClassName: l = wt.headingBold
440
+ }) => /* @__PURE__ */ e.jsx(
441
+ Ke,
442
+ {
443
+ t: n,
444
+ testimonials: a,
445
+ readMoreHref: t,
446
+ onReadMore: o,
447
+ className: s,
448
+ headingClassName: l
449
+ }
450
+ ), vt = "_headingBold_g8xg7_1", Ct = {
451
+ headingBold: vt
452
+ }, kt = [
453
+ { qKey: "faqQ1", aKey: "faqA1" },
454
+ { qKey: "faqQ3", aKey: "faqA3" }
455
+ ], Se = ({
456
+ t: n,
457
+ className: a = "",
458
+ headingClassName: t = Ct.headingBold
459
+ }) => {
460
+ const s = Z()?.config.isGlobal ?? !0, l = (r) => r === "faqA1" ? s ? "faqA1Global" : "faqA1Domestic" : r;
461
+ return /* @__PURE__ */ e.jsx(
462
+ Qe,
463
+ {
464
+ t: n,
465
+ items: kt,
466
+ resolveAnswerKey: l,
467
+ defaultOpenIndex: 1,
468
+ className: a,
469
+ headingClassName: t
470
+ }
471
+ );
472
+ }, he = "8296947757", ge = "08071174417", xe = "pujaseva@appsforbharat.com", Ee = ({
473
+ t: n,
474
+ whatsAppGlobal: a,
475
+ whatsAppDomestic: t,
476
+ email: o,
477
+ brandName: s,
478
+ className: l = ""
479
+ }) => {
480
+ const m = Z()?.config.isGlobal ?? !0, i = a ?? he, h = t ?? ge, f = o ?? xe, p = m ? n("contactWhatsAppGlobal").replace(he, i) : n("contactWhatsAppDomestic").replace(ge, h), d = n("contactEmail").replace(xe, f);
481
+ return /* @__PURE__ */ e.jsx(
482
+ He,
483
+ {
484
+ title: n("contactTitle"),
485
+ brandName: s ?? n("contactBrandName"),
486
+ whatsAppLine: p,
487
+ emailLine: d,
488
+ className: l
489
+ }
490
+ );
491
+ }, Nt = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", Pt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", It = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Lt = ({ t: n }) => {
492
+ const t = Z()?.config.imageComponent ?? se;
493
+ return /* @__PURE__ */ e.jsxs("div", { className: Y.marqueeContent, children: [
494
+ /* @__PURE__ */ e.jsxs("span", { className: Y.badge, children: [
495
+ /* @__PURE__ */ e.jsx(t, { src: Nt, alt: "", className: Y.badgeIcon, width: 16, height: 16, loading: "lazy" }),
496
+ n("ctaKundliCreated")
497
+ ] }),
498
+ /* @__PURE__ */ e.jsxs("span", { className: Y.badge, children: [
499
+ /* @__PURE__ */ e.jsx(t, { src: Pt, alt: "", className: Y.badgeIcon, width: 16, height: 16, loading: "lazy" }),
500
+ n("ctaCertified")
501
+ ] }),
502
+ /* @__PURE__ */ e.jsxs("span", { className: Y.badge, children: [
503
+ /* @__PURE__ */ e.jsx(t, { src: It, alt: "", className: Y.badgeIcon, width: 16, height: 16, loading: "lazy" }),
504
+ n("ctaSecurePayment")
505
+ ] })
506
+ ] });
507
+ }, Tt = ({
508
+ t: n,
509
+ onCtaClick: a,
510
+ ctaHref: t,
511
+ className: o = ""
512
+ }) => {
513
+ const s = n("ctaButtonBefore").replace(/\s+in\s*$/i, "");
514
+ return /* @__PURE__ */ e.jsx(
515
+ Ge,
516
+ {
517
+ className: o,
518
+ marquee: /* @__PURE__ */ e.jsx(We, { children: /* @__PURE__ */ e.jsx(Lt, { t: n }) }),
519
+ children: /* @__PURE__ */ e.jsx(ze, { href: t, onClick: a, children: s })
520
+ }
521
+ );
522
+ }, Ft = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Rt = (n, a) => Ce[n]?.[a] ?? a, St = 112;
523
+ function B({
524
+ section: n,
525
+ children: a,
526
+ onImpression: t
527
+ }) {
528
+ const o = b(null), s = b(!1);
529
+ return P(() => {
530
+ const l = o.current;
531
+ if (!l) return;
532
+ const r = new IntersectionObserver(
533
+ ([m]) => {
534
+ !m?.isIntersecting || s.current || (s.current = !0, t(n));
535
+ },
536
+ {
537
+ threshold: 0.1,
538
+ // Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
539
+ rootMargin: `0px 0px -${St}px 0px`
540
+ }
541
+ );
542
+ return r.observe(l), () => r.disconnect();
543
+ }, [n, t]), /* @__PURE__ */ e.jsx("div", { ref: o, children: a });
544
+ }
545
+ function Et({ className: n }) {
546
+ const { view: a } = de();
547
+ return a === "form" ? /* @__PURE__ */ e.jsx(De, {}) : /* @__PURE__ */ e.jsx(At, { className: n });
548
+ }
549
+ function At({ className: n }) {
550
+ const a = ye(), {
551
+ locale: t,
552
+ setLocale: o,
553
+ config: s,
554
+ goToForm: l
555
+ } = de(), r = s.resolvedUtmBannerImageUrl || void 0, [m, i] = R(!1), h = b(null), f = b(s.locale), p = b(
556
+ a?.locale
557
+ );
558
+ P(() => {
559
+ s.locale && f.current !== s.locale && o(s.locale), f.current = s.locale;
560
+ }, [s.locale, o]), P(() => {
561
+ if (s.locale) return;
562
+ const c = a?.locale;
563
+ c && p.current !== c && o(c), p.current = c;
564
+ }, [a?.locale, s.locale, o]), P(() => {
565
+ if (!m) return;
566
+ const c = (v) => {
567
+ h.current && !h.current.contains(v.target) && i(!1);
568
+ };
569
+ return document.addEventListener("mousedown", c), () => document.removeEventListener("mousedown", c);
570
+ }, [m]);
571
+ const d = (c) => Rt(t, c), j = s.showLanguageSelector ?? !0, I = s.imageComponent ?? se, C = j ? /* @__PURE__ */ e.jsxs("div", { className: z.langDropdownWrap, ref: h, children: [
572
+ /* @__PURE__ */ e.jsxs(
573
+ "button",
574
+ {
575
+ type: "button",
576
+ className: z.langTrigger,
577
+ onClick: () => {
578
+ s.analytics?.trackLanguageClickedFe?.({ language: t }), i((c) => !c);
579
+ },
580
+ "aria-expanded": m,
581
+ "aria-haspopup": "listbox",
582
+ id: "kundli-lang",
583
+ "aria-label": d("language"),
584
+ children: [
585
+ /* @__PURE__ */ e.jsx(
586
+ I,
587
+ {
588
+ src: Ft,
589
+ alt: "",
590
+ className: z.langIcon,
591
+ width: 16,
592
+ height: 16,
593
+ loading: "eager"
594
+ }
595
+ ),
596
+ /* @__PURE__ */ e.jsx("span", { className: z.langLabel, children: ie[t] })
597
+ ]
598
+ }
599
+ ),
600
+ m && /* @__PURE__ */ e.jsx(
601
+ "ul",
602
+ {
603
+ className: z.langMenu,
604
+ role: "listbox",
605
+ "aria-labelledby": "kundli-lang",
606
+ "aria-activedescendant": `kundli-lang-option-${t}`,
607
+ children: we.map((c) => /* @__PURE__ */ e.jsx(
608
+ "li",
609
+ {
610
+ id: `kundli-lang-option-${c}`,
611
+ role: "option",
612
+ "aria-selected": c === t,
613
+ className: z.langOption,
614
+ onClick: () => {
615
+ s.analytics?.trackLanguageChangedFe?.({ newLanguage: c }), o(c), i(!1);
616
+ },
617
+ children: ie[c]
618
+ },
619
+ c
620
+ ))
621
+ }
622
+ )
623
+ ] }) : null, k = (c) => {
624
+ const v = c.currentTarget.innerText?.trim() ?? d("ctaButtonAfter");
625
+ s.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: v }), l(), s.onCtaClick?.();
626
+ }, g = X(
627
+ (c) => {
628
+ s.analytics?.trackDetailedKundliReportImpressionFe?.({
629
+ section: c,
630
+ timestamp: (/* @__PURE__ */ new Date()).toISOString()
631
+ });
632
+ },
633
+ [s.analytics]
634
+ );
635
+ return /* @__PURE__ */ e.jsxs("div", { className: `${z.container} ${n}`, children: [
636
+ /* @__PURE__ */ e.jsx(
637
+ ve,
638
+ {
639
+ t: d,
640
+ logoUrl: s.logoUrl,
641
+ languageSelector: C
642
+ }
643
+ ),
644
+ /* @__PURE__ */ e.jsxs("main", { className: z.main, children: [
645
+ /* @__PURE__ */ e.jsx(
646
+ B,
647
+ {
648
+ section: "hero",
649
+ onImpression: g,
650
+ children: /* @__PURE__ */ e.jsx(ke, { t: d })
651
+ }
652
+ ),
653
+ /* @__PURE__ */ e.jsx(
654
+ B,
655
+ {
656
+ section: "premium_report_overview",
657
+ onImpression: g,
658
+ children: /* @__PURE__ */ e.jsx(
659
+ Ne,
660
+ {
661
+ t: d,
662
+ reportImageUrl: s.reportImageUrl,
663
+ reportImagePriority: s.reportImagePriority,
664
+ backgroundImagePriority: s.backgroundImagePriority,
665
+ analytics: s.analytics,
666
+ utmBannerImageUrl: r,
667
+ utmBannerAltText: ""
668
+ }
669
+ )
670
+ }
671
+ ),
672
+ /* @__PURE__ */ e.jsx(
673
+ B,
674
+ {
675
+ section: "university_certification",
676
+ onImpression: g,
677
+ children: /* @__PURE__ */ e.jsx(
678
+ Pe,
679
+ {
680
+ t: d,
681
+ logoUrl: s.universityLogoUrls?.find((c) => !!c)
682
+ }
683
+ )
684
+ }
685
+ ),
686
+ /* @__PURE__ */ e.jsx(
687
+ B,
688
+ {
689
+ section: "three_steps_process",
690
+ onImpression: g,
691
+ children: /* @__PURE__ */ e.jsx(Ie, { t: d, locale: t, isGlobal: s.isGlobal })
692
+ }
693
+ ),
694
+ /* @__PURE__ */ e.jsx(
695
+ B,
696
+ {
697
+ section: "view_sample_report",
698
+ onImpression: g,
699
+ children: /* @__PURE__ */ e.jsx(
700
+ ue,
701
+ {
702
+ t: d,
703
+ pdfUrl: s.sampleReportHref,
704
+ onClick: s.onViewSampleReport,
705
+ analytics: s.analytics
706
+ }
707
+ )
708
+ }
709
+ ),
710
+ /* @__PURE__ */ e.jsx(
711
+ B,
712
+ {
713
+ section: "what_youll_find",
714
+ onImpression: g,
715
+ children: /* @__PURE__ */ e.jsx(Te, { t: d })
716
+ }
717
+ ),
718
+ /* @__PURE__ */ e.jsx(
719
+ B,
720
+ {
721
+ section: "why_us",
722
+ onImpression: g,
723
+ children: /* @__PURE__ */ e.jsx(Fe, { t: d })
724
+ }
725
+ ),
726
+ /* @__PURE__ */ e.jsx(
727
+ B,
728
+ {
729
+ section: "feedback",
730
+ onImpression: g,
731
+ children: /* @__PURE__ */ e.jsx(
732
+ Re,
733
+ {
734
+ t: d,
735
+ readMoreHref: s.readMoreReviewsHref,
736
+ onReadMore: s.analytics?.trackReadMoreReviewsClicked ? () => s.analytics.trackReadMoreReviewsClicked() : void 0
737
+ }
738
+ )
739
+ }
740
+ ),
741
+ /* @__PURE__ */ e.jsx(
742
+ B,
743
+ {
744
+ section: "faq",
745
+ onImpression: g,
746
+ children: /* @__PURE__ */ e.jsx(Se, { t: d })
747
+ }
748
+ ),
749
+ /* @__PURE__ */ e.jsx(
750
+ B,
751
+ {
752
+ section: "contact_us",
753
+ onImpression: g,
754
+ children: /* @__PURE__ */ e.jsx(Ee, { t: d })
755
+ }
756
+ )
757
+ ] }),
758
+ /* @__PURE__ */ e.jsx(
759
+ Tt,
760
+ {
761
+ t: d,
762
+ ctaHref: s.ctaHref,
763
+ onCtaClick: s.ctaHref ? void 0 : k
764
+ }
765
+ )
766
+ ] });
767
+ }
768
+ const Dt = ({
769
+ className: n = "",
770
+ locale: a,
771
+ showLanguageSelector: t = !0,
772
+ showSheet: o,
773
+ userId: s,
774
+ isGlobal: l,
775
+ googleMapsApiKey: r,
776
+ atlasSearchLocalities: m,
777
+ googleMapsAutocompleteEnabled: i,
778
+ logoUrl: h,
779
+ reportImageUrl: f,
780
+ universityLogoUrls: p,
781
+ sampleReportHref: d,
782
+ onViewSampleReport: j,
783
+ ctaHref: I,
784
+ onCtaClick: C,
785
+ readMoreReviewsHref: k,
786
+ onProceed: g,
787
+ onProceedGuidance: c,
788
+ proceedHref: v,
789
+ originalPriceLabel: w,
790
+ discountedPriceLabel: L,
791
+ discountPillLabel: A,
792
+ analytics: O,
793
+ onLocaleChange: M,
794
+ resolvedUtmBannerImageUrl: W
795
+ }) => /* @__PURE__ */ e.jsx(
796
+ je,
797
+ {
798
+ locale: a,
799
+ showLanguageSelector: t,
800
+ showSheet: o,
801
+ userId: s,
802
+ isGlobal: l,
803
+ googleMapsApiKey: r,
804
+ atlasSearchLocalities: m,
805
+ googleMapsAutocompleteEnabled: i,
806
+ logoUrl: h,
807
+ reportImageUrl: f,
808
+ universityLogoUrls: p,
809
+ sampleReportHref: d,
810
+ onViewSampleReport: j,
811
+ ctaHref: I,
812
+ onCtaClick: C,
813
+ readMoreReviewsHref: k,
814
+ onProceed: g,
815
+ onProceedGuidance: c,
816
+ proceedHref: v,
817
+ originalPriceLabel: w,
818
+ discountedPriceLabel: L,
819
+ discountPillLabel: A,
820
+ analytics: O,
821
+ onLocaleChange: M,
822
+ resolvedUtmBannerImageUrl: W,
823
+ children: /* @__PURE__ */ e.jsx(Et, { className: n })
824
+ }
825
+ ), Ut = "_container_1b9qe_1", $t = "_main_1b9qe_6", Bt = "_langDropdownWrap_1b9qe_12", qt = "_langTrigger_1b9qe_16", Ot = "_langIcon_1b9qe_28", Mt = "_langLabel_1b9qe_35", Kt = "_langMenu_1b9qe_40", Qt = "_langOption_1b9qe_46", Ht = "_inlineFormWrap_1b9qe_57", Gt = "_inlineProceedFooter_1b9qe_74", q = {
826
+ container: Ut,
827
+ main: $t,
828
+ langDropdownWrap: Bt,
829
+ langTrigger: qt,
830
+ langIcon: Ot,
831
+ langLabel: Mt,
832
+ langMenu: Kt,
833
+ langOption: Qt,
834
+ inlineFormWrap: Ht,
835
+ inlineProceedFooter: Gt
836
+ }, Ae = [
837
+ {
838
+ id: "samiksha",
839
+ name: "Acharya Rama Sarma",
840
+ imageUrl: "https://srm-cdn.a4b.io/yoda/1781527417602.webp",
841
+ experience: "21+ Years of experience",
842
+ languages: ["Hindi", "English", "Telugu"],
843
+ certifications: [
844
+ "Certified Jyotish Acharya",
845
+ "Guaranteed accurate solutions"
846
+ ]
847
+ },
848
+ {
849
+ id: "jyoti",
850
+ name: "Astro Neeraj",
851
+ imageUrl: "https://srm-cdn.a4b.io/yoda/1781527490353.webp",
852
+ experience: "21+ Years of experience",
853
+ languages: ["Hindi", "English"],
854
+ certifications: [
855
+ "21+ Years Vedic Astrology",
856
+ "Result-Oriented Spiritual Guidance"
857
+ ]
858
+ }
859
+ ], fe = {
860
+ en: {
861
+ planSheetTitle: "Choose your Kundli Plan",
862
+ planProceedToPayment: "Proceed to Payment",
863
+ planAstrologerHeading: "Top astrologers who will consult you",
864
+ planMostPopular: "Most popular",
865
+ planNew: "New",
866
+ planLimitedTimeCombo: "Limited-Time Combo",
867
+ planNameBasic: "Kundli Report",
868
+ planNameQuestion: "Kundli + 1 Question",
869
+ planNameGuidance: "Kundli + Consultation",
870
+ planSaveLabel: "Save ~25%",
871
+ planFeatureDetailedInsights: "Detailed insights on love, marriage, career, health & finances",
872
+ planFeaturePracticalRemedies: "Practical remedies like gemstones, rudraksha & mantras",
873
+ planFeatureClearLanguage: "Clear, easy-to-understand language by expert astrologers",
874
+ planFeatureAstrologyConsultant: "Astrology consultant",
875
+ planFeaturePersonalizedReading: "Personalized reading",
876
+ planFeatureIncludesPremium: "Includes everything in the Premium Personalized Kundli",
877
+ planFeatureExpertAnswers: "PLUS: Personalized answer, remedies and timelines from an expert astrologer",
878
+ planFeatureFollowUpQuestions: "Go deeper into asking follow up questions",
879
+ planFeatureNoConsultation: "No personal consultation call",
880
+ planFeaturePlusConsultation: "PLUS: A 30-minute private consultation with an expert astrologer",
881
+ planFeatureRealTimeAnswers: "Get real-time answers & guidance for your biggest life concerns",
882
+ planFeatureTailoredRemedies: "Remedies & timelines tailored to your unique birth chart",
883
+ planQuestionLabel: "Ask your Question",
884
+ planQuestionHeader: "Ask our top astrologers",
885
+ planQuestionPlaceholder: "Ask follow up question",
886
+ planQuestionHint: "Please enter your question to continue.",
887
+ planQuestionChip1: "When will I get married?",
888
+ planQuestionChip2: "When will I grow in my career?",
889
+ planQuestionChip3: "Are there any doshas which is affecting me?",
890
+ planQuestionChip4: "Is my current job right for me?",
891
+ planAstrologerExp: "{{years}} Years of experience"
892
+ },
893
+ hi: {
894
+ planSheetTitle: "अपनी कुंडली प्लान चुनें",
895
+ planProceedToPayment: "पेमेंट करें",
896
+ planAstrologerHeading: "हम आपके लिए नीचे दिए गए टॉप ज्योतिषियों में से एक को चुनेंगे",
897
+ planMostPopular: "सबसे लोकप्रिय",
898
+ planNew: "नया",
899
+ planLimitedTimeCombo: "सीमित समय ऑफर",
900
+ planNameBasic: "कुंडली रिपोर्ट",
901
+ planNameQuestion: "कुंडली + 1 सवाल",
902
+ planNameGuidance: "कुंडली रिपोर्ट + ज्योतिषी से बात",
903
+ planSaveLabel: "~25% बचाएं",
904
+ planFeatureDetailedInsights: "प्यार, विवाह, करियर, स्वास्थ्य और वित्त पर गहरी जानकारी",
905
+ planFeaturePracticalRemedies: "रत्न, रुद्राक्ष और मंत्रों जैसे व्यावहारिक उपाय",
906
+ planFeatureClearLanguage: "विशेषज्ञ ज्योतिषियों द्वारा स्पष्ट और आसान भाषा में",
907
+ planFeatureAstrologyConsultant: "ज्योतिषी से बात नहीं होगी",
908
+ planFeaturePersonalizedReading: "आपके लिए खास रीडिंग",
909
+ planFeatureIncludesPremium: "प्रीमियम कुंडली रिपोर्ट में जो कुछ भी है, सब मिलेगा",
910
+ planFeatureExpertAnswers: "PLUS: विशेषज्ञ ज्योतिषी से व्यक्तिगत जवाब, उपाय और समयरेखा पाएं",
911
+ planFeatureFollowUpQuestions: "आगे के सवाल पूछने की सुविधा",
912
+ planFeatureNoConsultation: "कोई व्यक्तिगत परामर्श कॉल नहीं",
913
+ planFeaturePlusConsultation: "साथ ही: एक अनुभवी ज्योतिषी से 30 मिनट की प्राइवेट बात",
914
+ planFeatureRealTimeAnswers: "अपनी सबसे बड़ी परेशानियों का सीधा जवाब और सही सलाह पाएं",
915
+ planFeatureTailoredRemedies: "आपकी कुंडली के हिसाब से उपाय और सही समय की जानकारी",
916
+ planQuestionLabel: "अपना सवाल पूछें",
917
+ planQuestionHeader: "अपने सवाल हमारे टॉप ज्योतिषियों से पूछें",
918
+ planQuestionPlaceholder: "फॉलो अप सवाल लिखें",
919
+ planQuestionHint: "जारी रखने के लिए अपना सवाल लिखें।",
920
+ planQuestionChip1: "मेरी शादी कब होगी?",
921
+ planQuestionChip2: "मेरा करियर कब बेहतर होगा?",
922
+ planQuestionChip3: "क्या कोई दोष है जो मुझे प्रभावित कर रहा है?",
923
+ planQuestionChip4: "क्या मेरी मौजूदा नौकरी मेरे लिए सही है?",
924
+ planAstrologerExp: "साल का अनुभव"
925
+ }
926
+ }, zt = (n) => [
927
+ {
928
+ id: "kundli-report",
929
+ title: "planNameBasic",
930
+ price: n ? "$25" : "₹499",
931
+ features: [
932
+ { text: "planFeatureDetailedInsights", included: !0 },
933
+ { text: "planFeaturePracticalRemedies", included: !0 },
934
+ { text: "planFeatureClearLanguage", included: !0 },
935
+ { text: "planFeatureAstrologyConsultant", included: !1 },
936
+ { text: "planFeaturePersonalizedReading", included: !1 }
937
+ ]
938
+ },
939
+ {
940
+ id: "kundli-report-question",
941
+ title: "planNameQuestion",
942
+ price: n ? "$31" : "₹899",
943
+ supportsQuestion: !0,
944
+ newBadge: "planLimitedTimeCombo",
945
+ features: [
946
+ { text: "planFeatureIncludesPremium", included: !0 },
947
+ { text: "planFeatureExpertAnswers", included: !0 },
948
+ { text: "planFeatureNoConsultation", included: !1 }
949
+ ]
950
+ },
951
+ {
952
+ id: "kundli-report-astrologer",
953
+ title: "planNameGuidance",
954
+ price: n ? "$41" : "₹999",
955
+ originalPrice: n ? "$25+$25" : "₹499+₹850",
956
+ savingsLabel: "planSaveLabel",
957
+ badge: "planMostPopular",
958
+ features: [
959
+ { text: "planFeatureIncludesPremium", included: !0 },
960
+ { text: "planFeaturePlusConsultation", included: !0 },
961
+ { text: "planFeatureRealTimeAnswers", included: !0 },
962
+ { text: "planFeatureTailoredRemedies", included: !0 }
963
+ ],
964
+ astrologers: Ae.filter(
965
+ (t) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(t.id)
966
+ )
967
+ }
968
+ ], _e = [
969
+ "planQuestionChip1",
970
+ "planQuestionChip2",
971
+ "planQuestionChip3",
972
+ "planQuestionChip4"
973
+ ];
974
+ Ae.slice(0, 3).map((n) => ({
975
+ id: n.id,
976
+ imageUrl: n.imageUrl,
977
+ name: n.name
978
+ }));
979
+ const Wt = 5e3, Vt = 84, Yt = `
980
+ @keyframes three-sku-slide-up {
981
+ from { transform: translateY(100%); opacity: 0; }
982
+ to { transform: translateY(0); opacity: 1; }
983
+ }
984
+ @keyframes three-sku-shimmer {
985
+ 0% { left: -75%; }
986
+ 60% { left: 125%; }
987
+ 100% { left: 125%; }
988
+ }
989
+ `, Xt = ({ title: n, onClose: a }) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 px-4 pt-3 pb-1 sticky top-0 bg-white z-[2]", children: [
990
+ /* @__PURE__ */ e.jsx(
991
+ "button",
992
+ {
993
+ type: "button",
994
+ onClick: a,
995
+ "aria-label": "Go back",
996
+ className: "w-8 h-8 rounded-full bg-transparent border-0 flex items-center justify-center text-gray-700 hover:bg-gray-100",
997
+ children: /* @__PURE__ */ e.jsx(Ue, {})
998
+ }
999
+ ),
1000
+ /* @__PURE__ */ e.jsx("h2", { className: "flex-1 text-[16px] font-bold text-gray-900 m-0 pr-8", children: n })
1001
+ ] }), Jt = () => /* @__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" }) }), Zt = () => /* @__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" }) }), ea = () => /* @__PURE__ */ e.jsxs(
1002
+ "svg",
1003
+ {
1004
+ width: "14",
1005
+ height: "14",
1006
+ viewBox: "0 0 24 24",
1007
+ fill: "none",
1008
+ stroke: "currentColor",
1009
+ strokeWidth: "2.5",
1010
+ strokeLinecap: "round",
1011
+ strokeLinejoin: "round",
1012
+ "aria-hidden": !0,
1013
+ children: [
1014
+ /* @__PURE__ */ e.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
1015
+ /* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
1016
+ ]
1017
+ }
1018
+ ), na = ({ plan: n, t: a }) => /* @__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: /* @__PURE__ */ e.jsx("ul", { className: "list-none m-0 p-0 flex flex-col gap-2", "aria-label": "Plan features", children: n.features.map((t, o) => /* @__PURE__ */ e.jsxs("li", { className: "flex items-start gap-3", children: [
1019
+ /* @__PURE__ */ e.jsx("span", { className: "shrink-0 mt-[1px]", children: t.included ? /* @__PURE__ */ e.jsx(Jt, {}) : /* @__PURE__ */ e.jsx(Zt, {}) }),
1020
+ /* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-[20px] text-gray-700", children: a(t.text) })
1021
+ ] }, o)) }) }), ta = ({
1022
+ chipKeys: n,
1023
+ t: a,
1024
+ onChipClick: t
1025
+ }) => {
1026
+ const o = Math.ceil(n.length / 2), s = [n.slice(0, o), n.slice(o)];
1027
+ 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: s.map((l, r) => /* @__PURE__ */ e.jsx("div", { className: "flex gap-2", children: l.map((m) => /* @__PURE__ */ e.jsx(
1028
+ "button",
1029
+ {
1030
+ type: "button",
1031
+ className: "inline-flex w-auto px-3 py-2 rounded-full bg-[#F1F7FF] text-[#104DA6] text-[14px] font-medium cursor-pointer whitespace-nowrap active:opacity-70 transition-opacity",
1032
+ onClick: () => t(m, n.indexOf(m)),
1033
+ children: a(m)
1034
+ },
1035
+ m
1036
+ )) }, r)) }) });
1037
+ }, aa = ({
1038
+ textareaRef: n,
1039
+ value: a,
1040
+ label: t,
1041
+ placeholder: o,
1042
+ chipKeys: s,
1043
+ t: l,
1044
+ onFocus: r,
1045
+ onClick: m,
1046
+ onChange: i,
1047
+ onChipClick: h,
1048
+ onViewSample: f
1049
+ }) => /* @__PURE__ */ e.jsxs("div", { className: "mt-4 flex flex-col gap-2", children: [
1050
+ /* @__PURE__ */ e.jsx(
1051
+ "div",
1052
+ {
1053
+ className: "w-full h-px mb-2",
1054
+ style: {
1055
+ backgroundImage: "repeating-linear-gradient(to right, #D1D5DB, #D1D5DB 4px, transparent 4px, transparent 8px)"
1056
+ }
1057
+ }
1058
+ ),
1059
+ /* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between", children: [
1060
+ /* @__PURE__ */ e.jsxs("label", { className: "text-[14px] font-semibold text-gray-900", htmlFor: "kundli-question", children: [
1061
+ t,
1062
+ /* @__PURE__ */ e.jsx("span", { className: "text-[#e05c2a] ml-0.5", children: "*" })
1063
+ ] }),
1064
+ f && /* @__PURE__ */ e.jsxs(
1065
+ "button",
1066
+ {
1067
+ type: "button",
1068
+ onClick: f,
1069
+ className: "flex items-center gap-1 text-[13px] font-semibold text-[#e05c2a] underline underline-offset-2",
1070
+ children: [
1071
+ /* @__PURE__ */ e.jsxs("svg", { width: "13", height: "13", viewBox: "0 0 24 24", fill: "none", "aria-hidden": !0, children: [
1072
+ /* @__PURE__ */ e.jsx("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
1073
+ /* @__PURE__ */ e.jsx("polyline", { points: "14 2 14 8 20 8", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
1074
+ /* @__PURE__ */ e.jsx("line", { x1: "16", y1: "13", x2: "8", y2: "13", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }),
1075
+ /* @__PURE__ */ e.jsx("line", { x1: "16", y1: "17", x2: "8", y2: "17", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" })
1076
+ ] }),
1077
+ "View sample answer"
1078
+ ]
1079
+ }
1080
+ )
1081
+ ] }),
1082
+ /* @__PURE__ */ e.jsx(
1083
+ "textarea",
1084
+ {
1085
+ id: "kundli-question",
1086
+ ref: n,
1087
+ className: "w-full resize-none overflow-y-auto border-[1.5px] border-[#F99724] rounded-[10px] p-4 text-left align-top 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",
1088
+ style: { height: "100px" },
1089
+ placeholder: o,
1090
+ value: a,
1091
+ onFocus: r,
1092
+ onClick: m,
1093
+ onChange: i
1094
+ }
1095
+ ),
1096
+ /* @__PURE__ */ e.jsx(ta, { chipKeys: s, t: l, onChipClick: h })
1097
+ ] }), sa = "_card_62fy9_1", ia = "_top_62fy9_15", oa = "_avatar_62fy9_21", la = "_avatarPlaceholder_62fy9_38", ra = "_basicInfo_62fy9_44", ca = "_name_62fy9_51", da = "_exp_62fy9_61", ua = "_langs_62fy9_62", pa = "_divider_62fy9_69", ma = "_certList_62fy9_75", ha = "_certItem_62fy9_81", ga = "_bullet_62fy9_90", E = {
1098
+ card: sa,
1099
+ top: ia,
1100
+ avatar: oa,
1101
+ avatarPlaceholder: la,
1102
+ basicInfo: ra,
1103
+ name: ca,
1104
+ exp: da,
1105
+ langs: ua,
1106
+ divider: pa,
1107
+ certList: ma,
1108
+ certItem: ha,
1109
+ bullet: ga
1110
+ }, xa = ({ astrologer: n, t: a }) => /* @__PURE__ */ e.jsxs("div", { className: E.card, children: [
1111
+ /* @__PURE__ */ e.jsxs("div", { className: E.top, children: [
1112
+ /* @__PURE__ */ e.jsx("div", { className: E.avatar, "aria-hidden": !0, children: n.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: n.imageUrl, alt: a?.(n.name) ?? n.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: E.avatarPlaceholder, children: n.name.charAt(0) }) }),
1113
+ /* @__PURE__ */ e.jsxs("div", { className: E.basicInfo, children: [
1114
+ /* @__PURE__ */ e.jsx("p", { className: E.name, children: a?.(n.name) ?? n.name }),
1115
+ /* @__PURE__ */ e.jsx("p", { className: E.exp, children: a?.(n.experience) ?? n.experience }),
1116
+ n.languages && n.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: E.langs, children: n.languages.map((t) => a?.(t) ?? t).join(" • ") })
1117
+ ] })
1118
+ ] }),
1119
+ /* @__PURE__ */ e.jsx("div", { className: E.divider }),
1120
+ /* @__PURE__ */ e.jsx("div", { className: E.certList, children: n.certifications.map((t, o) => /* @__PURE__ */ e.jsxs("p", { className: E.certItem, children: [
1121
+ /* @__PURE__ */ e.jsx("span", { className: E.bullet, children: "✓" }),
1122
+ " ",
1123
+ a?.(t) ?? t
1124
+ ] }, o)) })
1125
+ ] }), fa = ({
1126
+ astrologers: n,
1127
+ heading: a,
1128
+ t
1129
+ }) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1130
+ /* @__PURE__ */ e.jsx(
1131
+ "div",
1132
+ {
1133
+ className: "w-full h-px my-3",
1134
+ style: {
1135
+ backgroundImage: "repeating-linear-gradient(to right, #D1D5DB, #D1D5DB 4px, transparent 4px, transparent 8px)"
1136
+ }
1137
+ }
1138
+ ),
1139
+ /* @__PURE__ */ e.jsx("p", { className: "m-0 mt-4 text-[14px] font-semibold text-[#1D2125]", children: a }),
1140
+ /* @__PURE__ */ e.jsx(
1141
+ "div",
1142
+ {
1143
+ className: "flex overflow-x-auto gap-3 mt-3 pb-1 scroll-smooth [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
1144
+ role: "list",
1145
+ children: n.map((o, s) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(xa, { astrologer: o, t }) }, s))
1146
+ }
1147
+ )
1148
+ ] }), _a = ({
1149
+ plans: n,
1150
+ selectedId: a,
1151
+ t,
1152
+ analytics: o,
1153
+ onSelectPlan: s
1154
+ }) => (
1155
+ /*
1156
+ * pt-[18px] reserves space for the badge that floats above the card.
1157
+ * Each card wrapper is `relative overflow-visible` so the badge can
1158
+ * sit above the card boundary without being clipped by the sheet's
1159
+ * overflow-hidden (the badge's nearest `overflow-hidden` ancestor is
1160
+ * now the sticky footer, not the sheet, which doesn't clip it).
1161
+ */
1162
+ /* @__PURE__ */ e.jsx("div", { className: "flex gap-2 pt-[18px] pb-3", role: "radiogroup", "aria-label": "Select plan", children: n.map((l) => /* @__PURE__ */ e.jsxs("div", { className: "flex-1 relative min-w-[106px]", children: [
1163
+ 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: [
1164
+ /* @__PURE__ */ e.jsx(ea, {}),
1165
+ t(l.badge)
1166
+ ] }),
1167
+ /* @__PURE__ */ e.jsxs(
1168
+ "button",
1169
+ {
1170
+ type: "button",
1171
+ role: "radio",
1172
+ "aria-checked": l.id === a,
1173
+ className: [
1174
+ "relative w-full flex flex-col items-center justify-center gap-1 px-1 pt-3 pb-6 min-h-[125px] rounded-xl border-[1.5px] cursor-pointer text-center outline-none transition-colors overflow-hidden",
1175
+ l.id === a ? "border-[#e05c2a] bg-[#fff8f4]" : "border-gray-200 bg-white"
1176
+ ].join(" "),
1177
+ onClick: () => {
1178
+ o?.trackPlanSelected?.({ planId: l.id, planName: l.title }), s(l);
1179
+ },
1180
+ children: [
1181
+ /* @__PURE__ */ e.jsx(
1182
+ "span",
1183
+ {
1184
+ className: `text-[14px] leading-snug ${l.id === a ? "font-bold text-gray-900" : "font-semibold text-gray-600"}`,
1185
+ children: t(l.title)
1186
+ }
1187
+ ),
1188
+ /* @__PURE__ */ e.jsx("span", { className: "text-[15px] font-bold text-[#1D2125] leading-tight", children: l.price }),
1189
+ l.newBadge && /* @__PURE__ */ e.jsxs(
1190
+ "span",
1191
+ {
1192
+ className: "absolute bottom-[6px] left-0 right-0 inline-flex items-center justify-center gap-[3px] text-[10px] font-bold leading-tight",
1193
+ style: {
1194
+ background: "linear-gradient(90deg, #793F15 0%, #E1561F 100%)",
1195
+ WebkitBackgroundClip: "text",
1196
+ WebkitTextFillColor: "transparent",
1197
+ backgroundClip: "text"
1198
+ },
1199
+ children: [
1200
+ "⏳ ",
1201
+ t(l.newBadge)
1202
+ ]
1203
+ }
1204
+ )
1205
+ ]
1206
+ }
1207
+ )
1208
+ ] }, l.id)) })
1209
+ ), ba = ({
1210
+ canProceed: n,
1211
+ label: a,
1212
+ showDisabledHint: t,
1213
+ hintText: o,
1214
+ onClick: s
1215
+ }) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1216
+ t && /* @__PURE__ */ e.jsx("p", { className: "m-0 mb-2 text-xs text-[#e05c2a] text-center", role: "alert", children: o }),
1217
+ /* @__PURE__ */ e.jsxs(
1218
+ "button",
1219
+ {
1220
+ className: [
1221
+ "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",
1222
+ n ? "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"
1223
+ ].join(" "),
1224
+ style: { fontFamily: "inherit" },
1225
+ "aria-disabled": !n,
1226
+ onClick: s,
1227
+ children: [
1228
+ n && /* @__PURE__ */ e.jsx(
1229
+ "span",
1230
+ {
1231
+ className: "absolute top-0 w-1/2 h-full pointer-events-none",
1232
+ "aria-hidden": "true",
1233
+ style: {
1234
+ background: "linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%)",
1235
+ transform: "skewX(-20deg)",
1236
+ animation: "three-sku-shimmer 3s ease-in-out infinite",
1237
+ left: "-75%"
1238
+ }
1239
+ }
1240
+ ),
1241
+ /* @__PURE__ */ e.jsx("span", { className: "relative z-[1]", children: a })
1242
+ ]
1243
+ }
1244
+ )
1245
+ ] }), ja = ({
1246
+ isOpen: n,
1247
+ onClose: a,
1248
+ selectedPlan: t,
1249
+ onSelectPlan: o,
1250
+ plans: s,
1251
+ onProceed: l,
1252
+ locale: r = "en",
1253
+ t: m,
1254
+ analytics: i,
1255
+ isGlobal: h = !0,
1256
+ oneQuestionSampleHref: f
1257
+ }) => {
1258
+ const p = X((x) => (fe[r] ?? fe.en)[x] ?? m?.(x) ?? x, [r, m]), d = pe(() => s ?? zt(h), [s, h]), j = t?.id || d.find((x) => x.badge)?.id || d[0]?.id || "", I = b(null), C = b(null), k = b(null), g = b(!1), [c, v] = R(""), [w, L] = R(!1), [A, O] = R("custom"), [M, W] = R(null), [H, V] = R(!1), G = b(!1), y = b(null), T = pe(() => d.find((x) => x.id === j) ?? d[0], [d, j]), K = !!T?.supportsQuestion, oe = !K || c.trim().length > 0, F = X(() => {
1259
+ const x = y.current;
1260
+ x && (x.style.height = "auto", x.style.height = Math.max(100, Math.min(x.scrollHeight, Vt)) + "px");
1261
+ }, []);
1262
+ P(() => {
1263
+ if (n) {
1264
+ if (!t) {
1265
+ const x = d.find((N) => N.badge) ?? d[0];
1266
+ x && o(x);
1267
+ }
1268
+ g.current || (i?.trackPlanPageViewed?.(), g.current = !0);
1269
+ } else
1270
+ g.current = !1;
1271
+ }, [n, d, t, o, i]), P(() => {
1272
+ if (!n) return;
1273
+ const x = document.body.style.overflow;
1274
+ return document.body.style.overflow = "hidden", () => {
1275
+ document.body.style.overflow = x;
1276
+ };
1277
+ }, [n]);
1278
+ const le = () => {
1279
+ i?.trackPlanPageClosed?.(), a();
1280
+ }, u = (x) => {
1281
+ const N = C.current, ne = k.current;
1282
+ if (N && ne) {
1283
+ const re = ne.getBoundingClientRect().top - N.getBoundingClientRect().top + N.scrollTop;
1284
+ N.scrollTo({ top: re, behavior: "smooth" });
1285
+ }
1286
+ G.current || (G.current = !0, i?.trackQuestionTextboxClicked?.({
1287
+ entry_method: x,
1288
+ textbox_empty: c.length === 0
1289
+ }));
1290
+ }, Q = (x) => {
1291
+ const N = x.target.value.slice(0, Wt);
1292
+ A === "chip" && N !== p(_e[M ?? 0]) && O("chip_edited"), v(N), F(), H && V(!1);
1293
+ }, J = (x, N) => {
1294
+ const ne = p(x), re = c.length > 0 && A !== "chip";
1295
+ i?.trackPreSuggestedQuestionSelected?.({
1296
+ question_text_loaded: ne,
1297
+ chip_index: N,
1298
+ previous_chip_index: M,
1299
+ user_had_custom_text: re
1300
+ }), v(ne), O("chip"), W(N), G.current = !1, setTimeout(F, 0);
1301
+ }, ee = () => {
1302
+ if (T) {
1303
+ if (K && !c.trim()) {
1304
+ V(!0);
1305
+ return;
1306
+ }
1307
+ i?.trackPlanProceedClicked?.({
1308
+ planId: T.id,
1309
+ planName: T.title,
1310
+ price: T.price,
1311
+ currency: h ? "USD" : "INR",
1312
+ question_asked: K ? !0 : void 0,
1313
+ question_text: K ? c.trim() : void 0,
1314
+ question_source: K ? A : void 0
1315
+ }), l(T, K ? c.trim() : void 0), a();
1316
+ }
1317
+ };
1318
+ return n ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1319
+ /* @__PURE__ */ e.jsx("style", { children: Yt }),
1320
+ /* @__PURE__ */ e.jsx(
1321
+ "div",
1322
+ {
1323
+ className: "fixed inset-0 z-[1000] bg-black/55 flex items-stretch justify-center",
1324
+ role: "dialog",
1325
+ "aria-modal": "true",
1326
+ "aria-label": p("planSheetTitle"),
1327
+ children: /* @__PURE__ */ e.jsxs(
1328
+ "div",
1329
+ {
1330
+ ref: I,
1331
+ className: "pt-3 w-full max-w-[480px] h-[100dvh] max-h-[100dvh] bg-white flex flex-col overflow-hidden",
1332
+ style: { animation: "three-sku-slide-up 0.28s cubic-bezier(0.32, 0.72, 0, 1)" },
1333
+ children: [
1334
+ /* @__PURE__ */ e.jsx(Xt, { title: p("planSheetTitle"), onClose: le }),
1335
+ /* @__PURE__ */ e.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pt-4 pb-4", ref: C, children: [
1336
+ /* @__PURE__ */ e.jsx("h3", { className: "m-0 mb-3 text-[16px] font-bold leading-snug text-[#CF6C09]", children: p(T?.title ?? "") }),
1337
+ T && /* @__PURE__ */ e.jsx(na, { plan: T, t: p }),
1338
+ K && /* @__PURE__ */ e.jsx("div", { ref: k, children: /* @__PURE__ */ e.jsx(
1339
+ aa,
1340
+ {
1341
+ textareaRef: y,
1342
+ value: c,
1343
+ label: p("planQuestionLabel"),
1344
+ placeholder: p("planQuestionPlaceholder"),
1345
+ chipKeys: _e,
1346
+ t: p,
1347
+ onFocus: () => u("keyboard_focus"),
1348
+ onClick: () => u("tap"),
1349
+ onChange: Q,
1350
+ onChipClick: J,
1351
+ onViewSample: f ? () => {
1352
+ i?.trackOneQuestionViewSampleReportClicked?.(), L(!0);
1353
+ } : void 0
1354
+ }
1355
+ ) }),
1356
+ T?.astrologers && T.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
1357
+ fa,
1358
+ {
1359
+ astrologers: T.astrologers,
1360
+ heading: p("planAstrologerHeading"),
1361
+ t: p
1362
+ }
1363
+ )
1364
+ ] }),
1365
+ /* @__PURE__ */ e.jsxs(
1366
+ "div",
1367
+ {
1368
+ className: "px-4 pt-3.5 bg-white border-t border-gray-100 sticky bottom-0 z-[5] overflow-visible",
1369
+ style: { paddingBottom: "calc(14px + env(safe-area-inset-bottom))" },
1370
+ children: [
1371
+ /* @__PURE__ */ e.jsx(
1372
+ _a,
1373
+ {
1374
+ plans: d,
1375
+ selectedId: j,
1376
+ t: p,
1377
+ analytics: i,
1378
+ onSelectPlan: o
1379
+ }
1380
+ ),
1381
+ /* @__PURE__ */ e.jsx(
1382
+ ba,
1383
+ {
1384
+ canProceed: oe,
1385
+ label: p("planProceedToPayment"),
1386
+ showDisabledHint: H,
1387
+ hintText: p("planQuestionHint"),
1388
+ onClick: ee
1389
+ }
1390
+ )
1391
+ ]
1392
+ }
1393
+ )
1394
+ ]
1395
+ }
1396
+ )
1397
+ }
1398
+ ),
1399
+ f && /* @__PURE__ */ e.jsx(
1400
+ Le,
1401
+ {
1402
+ isOpen: w,
1403
+ onClose: () => L(!1),
1404
+ title: "1 Question Sample Answer",
1405
+ pdfUrl: f
1406
+ }
1407
+ )
1408
+ ] }) : null;
1409
+ }, ya = ({
1410
+ kundliReportSampleHref: n,
1411
+ analytics: a,
1412
+ s: t
1413
+ }) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1414
+ /* @__PURE__ */ e.jsx("h3", { className: "mt-5 mb-3 text-center text-[18px] font-bold leading-[1.1] text-[#f75e22] max-[380px]:text-[16px]", children: t.sampleReportsTitle }),
1415
+ /* @__PURE__ */ e.jsx(
1416
+ ue,
1417
+ {
1418
+ t: () => t.sampleLabelKundliReport.replace(`
1419
+ `, " "),
1420
+ pdfUrl: n,
1421
+ analytics: a,
1422
+ onClick: () => a?.trackKundliViewSampleImageClicked?.()
1423
+ }
1424
+ )
1425
+ ] }), wa = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", va = "https://srm-cdn.a4b.io/yoda/1781248337750.pdf", be = {
1426
+ en: {
1427
+ sectionTitle: "Kundli Packages for you",
1428
+ sampleReportsTitle: "View Sample Report",
1429
+ onlyFor: "Only for",
1430
+ uniqueFeatures: "Unique Features",
1431
+ popularBadge: "Popular",
1432
+ columnKundliReport: "Kundli Report",
1433
+ columnReportPlusQuestion: "Report + 1 Question",
1434
+ columnReportPlusQuestionSubtext: "(Answered by Astrologer)",
1435
+ columnReportPlusConsultation: "Report + 30 min consultation",
1436
+ sampleLabelKundliReport: "200+ page Kundli Report",
1437
+ sampleLabelOneQuestion: "1 Question Sample Report",
1438
+ rowLabels: [
1439
+ `Personalised
1440
+ Report`,
1441
+ `Remedies:
1442
+ gemstone,
1443
+ pujas`,
1444
+ `Detailed
1445
+ question to
1446
+ expert`,
1447
+ `Relationship
1448
+ manager`,
1449
+ `30-min
1450
+ astrologer
1451
+ call`
1452
+ ]
1453
+ },
1454
+ hi: {
1455
+ sectionTitle: "आपके लिए कुंडली पैकेज",
1456
+ sampleReportsTitle: "सैम्पल रिपोर्ट देखें",
1457
+ onlyFor: "कीमत",
1458
+ uniqueFeatures: "खास सुविधाएं",
1459
+ popularBadge: "लोकप्रिय",
1460
+ columnKundliReport: "कुंडली रिपोर्ट",
1461
+ columnReportPlusQuestion: "रिपोर्ट + 1 सवाल",
1462
+ columnReportPlusQuestionSubtext: "(ज्योतिषी से जवाब)",
1463
+ columnReportPlusConsultation: "रिपोर्ट + 30 मिनट परामर्श",
1464
+ sampleLabelKundliReport: `200+ पेज की
1465
+ कुंडली रिपोर्ट`,
1466
+ sampleLabelOneQuestion: `1 सवाल वाली
1467
+ सैम्पल रिपोर्ट`,
1468
+ rowLabels: [
1469
+ `व्यक्तिगत
1470
+ रिपोर्ट`,
1471
+ `उपाय: रत्न,
1472
+ पूजा`,
1473
+ `विशेषज्ञ से
1474
+ विस्तृत सवाल`,
1475
+ `रिलेशनशिप
1476
+ मैनेजर`,
1477
+ `30 मिनट
1478
+ ज्योतिषी कॉल`
1479
+ ]
1480
+ }
1481
+ }, Ca = (n) => be[n] ?? be.en, ka = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Na = (n, a) => Ce[n]?.[a] ?? a, Pa = 112;
1482
+ function D({
1483
+ section: n,
1484
+ children: a,
1485
+ onImpression: t
1486
+ }) {
1487
+ const o = b(null), s = b(!1);
1488
+ return P(() => {
1489
+ const l = o.current;
1490
+ if (!l) return;
1491
+ const r = new IntersectionObserver(
1492
+ ([m]) => {
1493
+ !m?.isIntersecting || s.current || (s.current = !0, t(n));
1494
+ },
1495
+ {
1496
+ threshold: 0.1,
1497
+ // Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
1498
+ rootMargin: `0px 0px -${Pa}px 0px`
1499
+ }
1500
+ );
1501
+ return r.observe(l), () => r.disconnect();
1502
+ }, [n, t]), /* @__PURE__ */ e.jsx("div", { ref: o, children: a });
1503
+ }
1504
+ function Ia({
1505
+ className: n,
1506
+ showInlineForm: a = !1,
1507
+ enableThreeSkuFlow: t = !1,
1508
+ kundliReportSampleHref: o = wa,
1509
+ oneQuestionSampleHref: s = va
1510
+ }) {
1511
+ const l = ye(), {
1512
+ locale: r,
1513
+ setLocale: m,
1514
+ config: i,
1515
+ formValues: h,
1516
+ setFormValues: f
1517
+ } = de(), [p, d] = R(!1), [j, I] = R(null), C = b(null), k = b(void 0), g = b(null), c = b(!1), v = X((u) => {
1518
+ C.current = u, d(!0);
1519
+ }, []), w = X(() => {
1520
+ if (!C.current || !j) return;
1521
+ const u = {
1522
+ ...C.current,
1523
+ _selectedPlan: j,
1524
+ ...k.current !== void 0 ? { _question: k.current } : {}
1525
+ };
1526
+ k.current = void 0, j.id === $e && i.onProceedGuidance ? i.onProceedGuidance(u) : i.onProceed?.(u), d(!1), C.current = null;
1527
+ }, [j, i.onProceed, i.onProceedGuidance]), [L, A] = R(!1), [O, M] = R(
1528
+ i.isGlobal ?? !0 ? "+1" : "+91"
1529
+ ), W = b(null), H = b(null), V = b(i.locale), G = b(
1530
+ l?.locale
1531
+ );
1532
+ P(() => {
1533
+ i.locale && V.current !== i.locale && m(i.locale), V.current = i.locale;
1534
+ }, [i.locale, m]), P(() => {
1535
+ if (i.locale) return;
1536
+ const u = l?.locale;
1537
+ u && G.current !== u && m(u), G.current = u;
1538
+ }, [l?.locale, i.locale, m]), P(() => {
1539
+ M(i.isGlobal ?? !0 ? "+1" : "+91");
1540
+ }, [i.isGlobal]), P(() => {
1541
+ if (!L) return;
1542
+ const u = (Q) => {
1543
+ H.current && !H.current.contains(Q.target) && A(!1);
1544
+ };
1545
+ return document.addEventListener("mousedown", u), () => document.removeEventListener("mousedown", u);
1546
+ }, [L]), P(() => {
1547
+ if (!t) return;
1548
+ const u = g.current;
1549
+ if (!u) return;
1550
+ const Q = new IntersectionObserver(
1551
+ ([J]) => {
1552
+ c.current || !J?.isIntersecting || (J.intersectionRatio ?? 0) < 0.5 || (c.current = !0, i.analytics?.trackComparisonTableImpression?.());
1553
+ },
1554
+ { threshold: 0.5 }
1555
+ );
1556
+ return Q.observe(u), () => Q.disconnect();
1557
+ }, [t, i.analytics]);
1558
+ const y = (u) => Na(r, u), T = i.showLanguageSelector ?? !0, K = i.resolvedUtmBannerImageUrl || void 0, oe = T ? /* @__PURE__ */ e.jsxs("div", { className: q.langDropdownWrap, ref: H, children: [
1559
+ /* @__PURE__ */ e.jsxs(
1560
+ "button",
1561
+ {
1562
+ type: "button",
1563
+ className: q.langTrigger,
1564
+ onClick: () => {
1565
+ i.analytics?.trackLanguageClickedFe?.({ language: r }), A((u) => !u);
1566
+ },
1567
+ "aria-expanded": L,
1568
+ "aria-haspopup": "listbox",
1569
+ id: "kundli-lang",
1570
+ "aria-label": y("language"),
1571
+ children: [
1572
+ /* @__PURE__ */ e.jsx(
1573
+ "img",
1574
+ {
1575
+ src: ka,
1576
+ alt: "",
1577
+ className: q.langIcon,
1578
+ width: 16,
1579
+ height: 16,
1580
+ "aria-hidden": !0
1581
+ }
1582
+ ),
1583
+ /* @__PURE__ */ e.jsx("span", { className: q.langLabel, children: ie[r] })
1584
+ ]
1585
+ }
1586
+ ),
1587
+ L && /* @__PURE__ */ e.jsx(
1588
+ "ul",
1589
+ {
1590
+ className: q.langMenu,
1591
+ role: "listbox",
1592
+ "aria-labelledby": "kundli-lang",
1593
+ "aria-activedescendant": `kundli-lang-option-${r}`,
1594
+ children: we.map((u) => /* @__PURE__ */ e.jsx(
1595
+ "li",
1596
+ {
1597
+ id: `kundli-lang-option-${u}`,
1598
+ role: "option",
1599
+ "aria-selected": u === r,
1600
+ className: q.langOption,
1601
+ onClick: () => {
1602
+ i.analytics?.trackLanguageChangedFe?.({ newLanguage: u }), m(u), A(!1);
1603
+ },
1604
+ children: ie[u]
1605
+ },
1606
+ u
1607
+ ))
1608
+ }
1609
+ )
1610
+ ] }) : null, F = X(
1611
+ (u) => {
1612
+ i.analytics?.trackDetailedKundliReportImpressionFe?.({
1613
+ section: u,
1614
+ timestamp: (/* @__PURE__ */ new Date()).toISOString()
1615
+ });
1616
+ },
1617
+ [i.analytics]
1618
+ ), le = X((u) => {
1619
+ const J = {
1620
+ fullName: "kundli-full-name",
1621
+ phone: "kundli-phone",
1622
+ email: "kundli-email",
1623
+ dateOfBirth: "kundli-dob",
1624
+ birthTime: "kundli-birth-time",
1625
+ birthPlace: "kundli-birth-place",
1626
+ gender: "kundli-gender-male",
1627
+ language_code: "kundli-report-lang-hi"
1628
+ }[u] ?? "kundli-full-name", ee = document.getElementById(J);
1629
+ if (ee) {
1630
+ const N = ee.getBoundingClientRect().top + window.scrollY - 120;
1631
+ window.scrollTo({
1632
+ top: N,
1633
+ behavior: "smooth"
1634
+ }), setTimeout(() => ee.focus(), 500);
1635
+ }
1636
+ }, []);
1637
+ return /* @__PURE__ */ e.jsxs("div", { className: `${q.container} ${n}`, children: [
1638
+ /* @__PURE__ */ e.jsx(
1639
+ ve,
1640
+ {
1641
+ t: y,
1642
+ logoUrl: i.logoUrl,
1643
+ languageSelector: oe
1644
+ }
1645
+ ),
1646
+ /* @__PURE__ */ e.jsxs("main", { className: q.main, children: [
1647
+ /* @__PURE__ */ e.jsx(
1648
+ D,
1649
+ {
1650
+ section: "hero",
1651
+ onImpression: F,
1652
+ children: /* @__PURE__ */ e.jsx(ke, { t: y })
1653
+ }
1654
+ ),
1655
+ /* @__PURE__ */ e.jsx(
1656
+ D,
1657
+ {
1658
+ section: "premium_report_overview",
1659
+ onImpression: F,
1660
+ children: /* @__PURE__ */ e.jsx(
1661
+ Ne,
1662
+ {
1663
+ t: y,
1664
+ reportImageUrl: i.reportImageUrl,
1665
+ analytics: i.analytics,
1666
+ utmBannerImageUrl: K,
1667
+ utmBannerAltText: ""
1668
+ }
1669
+ )
1670
+ }
1671
+ ),
1672
+ /* @__PURE__ */ e.jsx(
1673
+ D,
1674
+ {
1675
+ section: "university_certification",
1676
+ onImpression: F,
1677
+ children: /* @__PURE__ */ e.jsx(
1678
+ Pe,
1679
+ {
1680
+ t: y,
1681
+ logoUrl: i.universityLogoUrls?.find((u) => !!u)
1682
+ }
1683
+ )
1684
+ }
1685
+ ),
1686
+ /* @__PURE__ */ e.jsx(
1687
+ D,
1688
+ {
1689
+ section: "three_steps_process",
1690
+ onImpression: F,
1691
+ children: /* @__PURE__ */ e.jsx(Ie, { t: y, locale: r, isGlobal: i.isGlobal })
1692
+ }
1693
+ ),
1694
+ /* @__PURE__ */ e.jsx(
1695
+ D,
1696
+ {
1697
+ section: "view_sample_report",
1698
+ onImpression: F,
1699
+ children: t ? /* @__PURE__ */ e.jsx("section", { className: "bg-white px-3", children: /* @__PURE__ */ e.jsx(
1700
+ ya,
1701
+ {
1702
+ kundliReportSampleHref: o,
1703
+ analytics: i.analytics,
1704
+ s: Ca(r)
1705
+ }
1706
+ ) }) : /* @__PURE__ */ e.jsx(
1707
+ ue,
1708
+ {
1709
+ t: y,
1710
+ pdfUrl: i.sampleReportHref,
1711
+ onClick: i.onViewSampleReport,
1712
+ analytics: i.analytics
1713
+ }
1714
+ )
1715
+ }
1716
+ ),
1717
+ a && /* @__PURE__ */ e.jsx(
1718
+ D,
1719
+ {
1720
+ section: "inline_form",
1721
+ onImpression: F,
1722
+ children: /* @__PURE__ */ e.jsxs("div", { className: q.inlineFormWrap, ref: W, children: [
1723
+ /* @__PURE__ */ e.jsx(Be, { t: y, align: "center" }),
1724
+ /* @__PURE__ */ e.jsx(
1725
+ qe,
1726
+ {
1727
+ t: y,
1728
+ values: h,
1729
+ onChange: f,
1730
+ phoneIsdCode: O,
1731
+ onPhoneIsdCodeChange: M,
1732
+ showV1ExtraFields: !0,
1733
+ analytics: i.analytics
1734
+ }
1735
+ ),
1736
+ /* @__PURE__ */ e.jsx(
1737
+ Oe,
1738
+ {
1739
+ t: y,
1740
+ values: h,
1741
+ phoneIsdCode: O,
1742
+ hideOriginalPrice: !0,
1743
+ requireV1ExtraFields: !0,
1744
+ onValidationFailed: le,
1745
+ onProceed: i.onProceed,
1746
+ href: i.proceedHref,
1747
+ originalPriceLabel: i.originalPriceLabel,
1748
+ discountedPriceLabel: i.discountedPriceLabel,
1749
+ analytics: i.analytics,
1750
+ className: q.inlineProceedFooter,
1751
+ onProceedGuidance: i.onProceedGuidance,
1752
+ showPlanSheet: v,
1753
+ confirmPlan: w,
1754
+ planSheetOpen: p,
1755
+ selectedPlan: j
1756
+ }
1757
+ )
1758
+ ] })
1759
+ }
1760
+ ),
1761
+ /* @__PURE__ */ e.jsx(
1762
+ D,
1763
+ {
1764
+ section: "what_youll_find",
1765
+ onImpression: F,
1766
+ children: /* @__PURE__ */ e.jsx(Te, { t: y })
1767
+ }
1768
+ ),
1769
+ /* @__PURE__ */ e.jsx(
1770
+ D,
1771
+ {
1772
+ section: "why_us",
1773
+ onImpression: F,
1774
+ children: /* @__PURE__ */ e.jsx(Fe, { t: y })
1775
+ }
1776
+ ),
1777
+ /* @__PURE__ */ e.jsx(
1778
+ D,
1779
+ {
1780
+ section: "feedback",
1781
+ onImpression: F,
1782
+ children: /* @__PURE__ */ e.jsx(
1783
+ Re,
1784
+ {
1785
+ t: y,
1786
+ readMoreHref: i.readMoreReviewsHref,
1787
+ onReadMore: i.analytics?.trackReadMoreReviewsClicked ? () => i.analytics.trackReadMoreReviewsClicked() : void 0
1788
+ }
1789
+ )
1790
+ }
1791
+ ),
1792
+ /* @__PURE__ */ e.jsx(
1793
+ D,
1794
+ {
1795
+ section: "faq",
1796
+ onImpression: F,
1797
+ children: /* @__PURE__ */ e.jsx(Se, { t: y })
1798
+ }
1799
+ ),
1800
+ /* @__PURE__ */ e.jsx(
1801
+ D,
1802
+ {
1803
+ section: "contact_us",
1804
+ onImpression: F,
1805
+ children: /* @__PURE__ */ e.jsx(Ee, { t: y })
1806
+ }
1807
+ )
1808
+ ] }),
1809
+ t ? /* @__PURE__ */ e.jsx(
1810
+ ja,
1811
+ {
1812
+ isOpen: p,
1813
+ onClose: () => d(!1),
1814
+ selectedPlan: j,
1815
+ onSelectPlan: (u) => I(u),
1816
+ isGlobal: i.isGlobal,
1817
+ locale: r,
1818
+ onProceed: (u, Q) => {
1819
+ k.current = Q, w();
1820
+ },
1821
+ t: y,
1822
+ analytics: i.analytics,
1823
+ oneQuestionSampleHref: s
1824
+ }
1825
+ ) : /* @__PURE__ */ e.jsx(
1826
+ Me,
1827
+ {
1828
+ isOpen: p,
1829
+ onClose: () => d(!1),
1830
+ selectedPlan: j,
1831
+ onSelectPlan: (u) => I(u),
1832
+ onProceed: () => {
1833
+ w();
1834
+ },
1835
+ t: y,
1836
+ analytics: i.analytics
1837
+ }
1838
+ )
1839
+ ] });
1840
+ }
1841
+ const La = ({
1842
+ className: n = "",
1843
+ locale: a,
1844
+ showLanguageSelector: t = !0,
1845
+ showSheet: o,
1846
+ userId: s,
1847
+ isGlobal: l,
1848
+ googleMapsApiKey: r,
1849
+ atlasSearchLocalities: m,
1850
+ googleMapsAutocompleteEnabled: i,
1851
+ enableThreeSkuFlow: h = !1,
1852
+ kundliReportSampleHref: f,
1853
+ oneQuestionSampleHref: p,
1854
+ logoUrl: d,
1855
+ reportImageUrl: j,
1856
+ universityLogoUrls: I,
1857
+ sampleReportHref: C,
1858
+ onViewSampleReport: k,
1859
+ ctaHref: g,
1860
+ onCtaClick: c,
1861
+ readMoreReviewsHref: v,
1862
+ onProceed: w,
1863
+ proceedHref: L,
1864
+ originalPriceLabel: A,
1865
+ discountedPriceLabel: O,
1866
+ discountPillLabel: M,
1867
+ analytics: W,
1868
+ onProceedGuidance: H,
1869
+ onLocaleChange: V,
1870
+ resolvedUtmBannerImageUrl: G
1871
+ }) => /* @__PURE__ */ e.jsx(
1872
+ je,
1873
+ {
1874
+ locale: a,
1875
+ showLanguageSelector: t,
1876
+ showSheet: o,
1877
+ userId: s,
1878
+ isGlobal: l,
1879
+ variant: "v1",
1880
+ googleMapsApiKey: r,
1881
+ atlasSearchLocalities: m,
1882
+ googleMapsAutocompleteEnabled: i,
1883
+ logoUrl: d,
1884
+ reportImageUrl: j,
1885
+ universityLogoUrls: I,
1886
+ sampleReportHref: C,
1887
+ onViewSampleReport: k,
1888
+ ctaHref: g,
1889
+ onCtaClick: c,
1890
+ readMoreReviewsHref: v,
1891
+ onProceed: w,
1892
+ onProceedGuidance: H,
1893
+ proceedHref: L,
1894
+ originalPriceLabel: A,
1895
+ discountedPriceLabel: O,
1896
+ discountPillLabel: M,
1897
+ analytics: W,
1898
+ onLocaleChange: V,
1899
+ resolvedUtmBannerImageUrl: G,
1900
+ children: /* @__PURE__ */ e.jsx(
1901
+ Ia,
1902
+ {
1903
+ className: n,
1904
+ showInlineForm: !0,
1905
+ enableThreeSkuFlow: h,
1906
+ kundliReportSampleHref: f,
1907
+ oneQuestionSampleHref: p
1908
+ }
1909
+ )
1910
+ }
1911
+ ), Sa = ({ variant: n, ...a }) => {
1912
+ const t = typeof window < "u" ? new URLSearchParams(window.location.search).get("variant") : null;
1913
+ return (n ?? (t === "v1" ? "v1" : void 0)) === "v1" ? /* @__PURE__ */ e.jsx(La, { ...a }) : /* @__PURE__ */ e.jsx(Dt, { ...a });
1914
+ }, Ea = "[data-hero]{min-height:200px}[data-background-layer]{position:absolute;inset:0;z-index:0;overflow:hidden}[data-form-container]{min-height:400px}@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:600;font-display:swap}@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700;font-display:swap}img{max-width:100%;height:auto}.kundli-page-root{contain:layout}";
1915
+ export {
1916
+ Ea as K,
1917
+ Pn as P,
1918
+ Sa as a,
1919
+ Dt as b,
1920
+ La as c
1921
+ };
1922
+ //# sourceMappingURL=criticalCss-xbBx1kzM.js.map