@srimandir/kundli-generator 7.5.11 → 7.5.13

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