@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
@@ -1,1200 +0,0 @@
1
- import { k as e, h as A, D as B, d as ne, j as Y, c as be, u as se, L as H, S as te, l as ae, t as oe, P as je, F as ye, U as we, m as Ie, n as ve } from "./analytics-hg37leiF.js";
2
- import { useRef as y, useState as F, useEffect as k, useCallback as K } from "react";
3
- import { UserReviewsSection as ke, FAQAccordion as Ne, ContactUsSection as Pe, FooterShell as Ce, FooterCTAButton as Le, CircularMarquee as Te, footerShellStyles as O } from "@srimandir/astrology-common";
4
- const Se = "_container_nm3gb_1", Re = "_main_nm3gb_6", $e = "_langDropdownWrap_nm3gb_12", Ee = "_langTrigger_nm3gb_16", Fe = "_langIcon_nm3gb_28", De = "_langLabel_nm3gb_35", Oe = "_langMenu_nm3gb_40", Ue = "_langOption_nm3gb_46", D = {
5
- container: Se,
6
- main: Re,
7
- langDropdownWrap: $e,
8
- langTrigger: Ee,
9
- langIcon: Fe,
10
- langLabel: De,
11
- langMenu: Oe,
12
- langOption: Ue
13
- }, Ke = "_hero_1vvjv_1", Ae = "_title_1vvjv_5", Me = "_subtitle_1vvjv_10", Ge = "_topicTags_1vvjv_23", Be = "_tag_1vvjv_27", M = {
14
- hero: Ke,
15
- title: Ae,
16
- subtitle: Me,
17
- topicTags: Ge,
18
- tag: Be
19
- }, We = [
20
- "topicMarriage",
21
- "topicRelationship",
22
- "topicBusiness",
23
- "topicHealth",
24
- "topicCareer",
25
- "topicEducation",
26
- "topicMoney"
27
- ], ie = ({ t: n, className: o = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${M.hero} ${o}`, "aria-labelledby": "hero-title", children: [
28
- /* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: M.title, children: n("heroTitle") }),
29
- /* @__PURE__ */ e.jsx("p", { className: M.subtitle, children: n("heroSubtitle") }),
30
- /* @__PURE__ */ e.jsx("div", { className: M.topicTags, role: "list", children: We.map((a) => /* @__PURE__ */ e.jsx("span", { className: M.tag, role: "listitem", children: n(a) }, a)) })
31
- ] }), He = "_section_1285h_1", qe = "_backgroundLayer_1285h_9", Ve = "_backgroundImg_1285h_16", ze = "_inner_1285h_23", Ye = "_content_1285h_29", Qe = "_headline_1285h_33", Je = "_headlineLine_1285h_38", Xe = "_headlinePill_1285h_43", Ze = "_headlinePlain_1285h_58", en = "_featureList_1285h_69", nn = "_featureItem_1285h_76", sn = "_featureIcon_1285h_81", tn = "_reportImage_1285h_88", an = "_reportImg_1285h_98", _ = {
32
- section: He,
33
- backgroundLayer: qe,
34
- backgroundImg: Ve,
35
- inner: ze,
36
- content: Ye,
37
- headline: Qe,
38
- headlineLine: Je,
39
- headlinePill: Xe,
40
- headlinePlain: Ze,
41
- featureList: en,
42
- featureItem: nn,
43
- featureIcon: sn,
44
- reportImage: tn,
45
- reportImg: an
46
- }, on = "https://srm-cdn.a4b.io/yoda/1770363846052.svg", ln = "https://srm-cdn.a4b.io/yoda/1772696426944.webp", rn = [
47
- "premiumFeature1",
48
- "premiumFeature2",
49
- "premiumFeature3",
50
- "premiumFeature4"
51
- ], cn = "https://srm-cdn.a4b.io/yoda/1772696452070.webp", le = ({
52
- t: n,
53
- reportImageUrl: o = cn,
54
- reportImagePriority: a,
55
- backgroundImagePriority: i = !1,
56
- analytics: t,
57
- className: s = ""
58
- }) => {
59
- const m = A()?.config.imageComponent ?? B, u = () => {
60
- t?.trackBannerClicked?.();
61
- };
62
- return /* @__PURE__ */ e.jsxs(
63
- "section",
64
- {
65
- className: `${_.section} ${s}`,
66
- "aria-labelledby": "premium-headline",
67
- role: "button",
68
- tabIndex: 0,
69
- onClick: u,
70
- "data-hero": !0,
71
- children: [
72
- /* @__PURE__ */ e.jsx("div", { className: _.backgroundLayer, "aria-hidden": !0, "data-background-layer": !0, children: /* @__PURE__ */ e.jsx(
73
- m,
74
- {
75
- src: ln,
76
- alt: "",
77
- className: _.backgroundImg,
78
- width: 412,
79
- height: 215,
80
- sizes: "(max-width: 768px) 412px, 412px",
81
- loading: "eager",
82
- priority: i,
83
- fetchPriority: "high"
84
- }
85
- ) }),
86
- /* @__PURE__ */ e.jsxs("div", { className: _.inner, children: [
87
- /* @__PURE__ */ e.jsxs("div", { className: _.content, children: [
88
- /* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: _.headline, children: [
89
- /* @__PURE__ */ e.jsxs("span", { className: _.headlineLine, children: [
90
- /* @__PURE__ */ e.jsx("span", { className: _.headlinePill, children: n("premiumHeadlinePill1") }),
91
- /* @__PURE__ */ e.jsx("span", { className: _.headlinePlain, children: n("premiumHeadlinePlain1") })
92
- ] }),
93
- /* @__PURE__ */ e.jsxs("span", { className: _.headlineLine, children: [
94
- /* @__PURE__ */ e.jsx("span", { className: _.headlinePlain, children: n("premiumHeadlinePlain2") }),
95
- /* @__PURE__ */ e.jsx("span", { className: _.headlinePill, children: n("premiumHeadlinePill2") })
96
- ] }),
97
- /* @__PURE__ */ e.jsxs("span", { className: _.headlineLine, children: [
98
- /* @__PURE__ */ e.jsx("span", { className: _.headlinePlain, children: n("and") }),
99
- /* @__PURE__ */ e.jsx("span", { className: _.headlinePill, children: n("astrologyGuidance") })
100
- ] })
101
- ] }),
102
- /* @__PURE__ */ e.jsx("ul", { className: _.featureList, children: rn.map((h) => /* @__PURE__ */ e.jsxs("li", { className: _.featureItem, children: [
103
- /* @__PURE__ */ e.jsx(
104
- m,
105
- {
106
- src: on,
107
- alt: "",
108
- className: _.featureIcon,
109
- width: 16,
110
- height: 16,
111
- loading: "lazy"
112
- }
113
- ),
114
- n(h)
115
- ] }, h)) })
116
- ] }),
117
- /* @__PURE__ */ e.jsx("div", { className: _.reportImage, children: /* @__PURE__ */ e.jsx(
118
- m,
119
- {
120
- src: o,
121
- alt: "",
122
- className: _.reportImg,
123
- width: 120,
124
- height: 160,
125
- priority: a,
126
- fetchPriority: a ? "high" : void 0,
127
- loading: a ? "eager" : "lazy",
128
- sizes: "120px"
129
- }
130
- ) })
131
- ] })
132
- ]
133
- }
134
- );
135
- }, dn = "_section_1kxsy_1", mn = "_heading_1kxsy_6", hn = "_logoImg_1kxsy_10", z = {
136
- section: dn,
137
- heading: mn,
138
- logoImg: hn
139
- }, un = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", re = ({
140
- t: n,
141
- logoUrl: o = un,
142
- className: a = ""
143
- }) => {
144
- const t = A()?.config.imageComponent ?? B;
145
- return /* @__PURE__ */ e.jsxs("section", { className: `${z.section} ${a}`, "aria-labelledby": "certified-heading", children: [
146
- /* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: z.heading, children: n("certifiedBy") }),
147
- /* @__PURE__ */ e.jsx(
148
- t,
149
- {
150
- src: o,
151
- alt: "University Certification",
152
- className: z.logoImg,
153
- width: 380,
154
- height: 70,
155
- loading: "lazy"
156
- }
157
- )
158
- ] });
159
- }, pn = "_section_1d9aa_1", gn = "_heading_1d9aa_6", _n = "_subtitle_1d9aa_11", xn = "_stepList_1d9aa_16", fn = "_stepItem_1d9aa_20", bn = "_stepNumber_1d9aa_24", jn = "_stepText_1d9aa_30", yn = "_step3Days_1d9aa_35", v = {
160
- section: pn,
161
- heading: gn,
162
- subtitle: _n,
163
- stepList: xn,
164
- stepItem: fn,
165
- stepNumber: bn,
166
- stepText: jn,
167
- step3Days: yn
168
- }, wn = ["step1", "step2"], ce = ({
169
- t: n,
170
- locale: o = "en",
171
- isGlobal: a = !0,
172
- className: i = ""
173
- }) => {
174
- const t = a ? "step3IntroGlobal" : "step3IntroDomestic";
175
- return /* @__PURE__ */ e.jsxs(
176
- "section",
177
- {
178
- className: `${v.section} ${i}`,
179
- "aria-labelledby": "steps-heading",
180
- children: [
181
- /* @__PURE__ */ e.jsx("p", { className: v.heading, children: n("yourThreeSteps") }),
182
- /* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: v.subtitle, children: n("threeStepsSubtitle") }),
183
- /* @__PURE__ */ e.jsxs("ol", { className: v.stepList, children: [
184
- wn.map((s, r) => /* @__PURE__ */ e.jsxs("li", { className: v.stepItem, children: [
185
- /* @__PURE__ */ e.jsx("span", { className: v.stepNumber, "aria-hidden": !0, children: r + 1 }),
186
- /* @__PURE__ */ e.jsx("span", { className: v.stepText, children: n(s) })
187
- ] }, s)),
188
- /* @__PURE__ */ e.jsxs("li", { className: v.stepItem, children: [
189
- /* @__PURE__ */ e.jsx("span", { className: v.stepNumber, "aria-hidden": !0, children: "3" }),
190
- /* @__PURE__ */ e.jsxs("span", { className: v.stepText, children: [
191
- n(t),
192
- /* @__PURE__ */ e.jsx("br", {}),
193
- o === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
194
- "in ",
195
- /* @__PURE__ */ e.jsx("strong", { className: v.step3Days, children: n("step3Days") })
196
- ] }) : /* @__PURE__ */ e.jsx("strong", { className: v.step3Days, children: n("step3Days") })
197
- ] })
198
- ] })
199
- ] })
200
- ]
201
- }
202
- );
203
- }, In = "_section_1jea1_1", vn = "_button_1jea1_7", J = {
204
- section: In,
205
- button: vn
206
- }, kn = "_backdrop_pekod_1", Nn = "_modal_pekod_21", Pn = "_header_pekod_40", Cn = "_title_pekod_49", Ln = "_closeBtn_pekod_56", Tn = "_content_pekod_76", Sn = "_pdfFrame_pekod_84", Rn = "_pdfPages_pekod_92", $n = "_pdfError_pekod_97", En = "_openInNewTab_pekod_123", L = {
207
- backdrop: kn,
208
- modal: Nn,
209
- header: Pn,
210
- title: Cn,
211
- closeBtn: Ln,
212
- content: Tn,
213
- pdfFrame: Sn,
214
- pdfPages: Rn,
215
- pdfError: $n,
216
- openInNewTab: En
217
- };
218
- function Fn(n) {
219
- typeof n < "u" && n.GlobalWorkerOptions && (n.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${n.version}/build/pdf.worker.min.js`);
220
- }
221
- const Dn = ({
222
- isOpen: n,
223
- onClose: o,
224
- title: a,
225
- pdfUrl: i
226
- }) => {
227
- const t = y(null), [s, r] = F(!0), [m, u] = F(null), [h, x] = F(null);
228
- return k(() => {
229
- if (!n) return;
230
- const c = (f) => {
231
- f.key === "Escape" && o();
232
- };
233
- return document.addEventListener("keydown", c), document.body.style.overflow = "hidden", () => {
234
- document.removeEventListener("keydown", c), document.body.style.overflow = "";
235
- };
236
- }, [n, o]), k(() => {
237
- n && import("pdfjs-dist").then((c) => {
238
- x(c);
239
- }).catch((c) => {
240
- u("Failed to load PDF viewer"), r(!1);
241
- });
242
- }, [n]), k(() => {
243
- if (!n || !i || !t.current || !h) return;
244
- r(!0), u(null), t.current.innerHTML = "", (async () => {
245
- try {
246
- Fn(h);
247
- const C = await h.getDocument({ url: i }).promise, w = t.current;
248
- if (!w) return;
249
- const I = w.clientWidth || 600, p = Math.min(I / 612, 2);
250
- for (let l = 1; l <= C.numPages; l++) {
251
- const j = await C.getPage(l), $ = j.getViewport({ scale: p }), b = document.createElement("canvas");
252
- b.height = $.height, b.width = $.width, b.style.display = "block", b.style.margin = "0 auto 1rem", b.style.maxWidth = "100%";
253
- const E = b.getContext("2d");
254
- E && await j.render({ canvasContext: E, viewport: $ }).promise, w.appendChild(b);
255
- }
256
- } catch (f) {
257
- u(f instanceof Error ? f.message : "Failed to load PDF");
258
- } finally {
259
- r(!1);
260
- }
261
- })();
262
- }, [n, i, h]), n ? /* @__PURE__ */ e.jsx(
263
- "div",
264
- {
265
- className: L.backdrop,
266
- onClick: o,
267
- role: "dialog",
268
- "aria-modal": "true",
269
- "aria-labelledby": "sample-report-modal-title",
270
- children: /* @__PURE__ */ e.jsxs(
271
- "div",
272
- {
273
- className: L.modal,
274
- onClick: (c) => c.stopPropagation(),
275
- children: [
276
- /* @__PURE__ */ e.jsxs("div", { className: L.header, children: [
277
- /* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className: L.title, children: a }),
278
- /* @__PURE__ */ e.jsx(
279
- "button",
280
- {
281
- type: "button",
282
- className: L.closeBtn,
283
- onClick: o,
284
- "aria-label": "Close",
285
- children: "×"
286
- }
287
- )
288
- ] }),
289
- /* @__PURE__ */ e.jsxs("div", { className: L.content, children: [
290
- /* @__PURE__ */ e.jsxs("div", { className: L.pdfFrame, children: [
291
- m && /* @__PURE__ */ e.jsxs("div", { className: L.pdfError, children: [
292
- /* @__PURE__ */ e.jsx("span", { children: m }),
293
- /* @__PURE__ */ e.jsx("a", { href: i, target: "_blank", rel: "noopener noreferrer", children: "Open in new tab instead" })
294
- ] }),
295
- /* @__PURE__ */ e.jsx("div", { ref: t, className: L.pdfPages })
296
- ] }),
297
- /* @__PURE__ */ e.jsx(
298
- "a",
299
- {
300
- href: i,
301
- target: "_blank",
302
- rel: "noopener noreferrer",
303
- className: L.openInNewTab,
304
- children: "Open in new tab"
305
- }
306
- )
307
- ] })
308
- ]
309
- }
310
- )
311
- }
312
- ) : null;
313
- }, On = "https://srm-cdn.a4b.io/yoda/1773317492292.pdf", de = ({
314
- t: n,
315
- pdfUrl: o = On,
316
- onClick: a,
317
- analytics: i,
318
- className: t = ""
319
- }) => {
320
- const [s, r] = F(!1), m = n("viewSampleReport"), u = n("sampleReportModalTitle"), h = () => {
321
- i?.trackViewSampleReportClicked?.(), a?.(), r(!0);
322
- }, x = () => {
323
- i?.trackViewSampleReportClosed?.(), r(!1);
324
- };
325
- return /* @__PURE__ */ e.jsxs("section", { className: `${J.section} ${t}`, children: [
326
- /* @__PURE__ */ e.jsx("button", { type: "button", className: J.button, onClick: h, children: m }),
327
- /* @__PURE__ */ e.jsx(
328
- Dn,
329
- {
330
- isOpen: s,
331
- onClose: x,
332
- title: u,
333
- pdfUrl: o
334
- }
335
- )
336
- ] });
337
- }, Un = "_section_1ds1w_1", Kn = "_heading_1ds1w_5", An = "_list_1ds1w_10", Mn = "_item_1ds1w_17", Gn = "_imageWrap_1ds1w_21", Bn = "_image_1ds1w_21", Wn = "_imagePlaceholder_1ds1w_30", Hn = "_text_1ds1w_36", qn = "_itemTitle_1ds1w_40", Vn = "_itemDesc_1ds1w_51", T = {
338
- section: Un,
339
- heading: Kn,
340
- list: An,
341
- item: Mn,
342
- imageWrap: Gn,
343
- image: Bn,
344
- imagePlaceholder: Wn,
345
- text: Hn,
346
- itemTitle: qn,
347
- itemDesc: Vn
348
- }, zn = [
349
- { titleKey: "findDasha", descKey: "findDashaDesc" },
350
- { titleKey: "findYoga", descKey: "findYogaDesc" },
351
- { titleKey: "findGemstone", descKey: "findGemstoneDesc" },
352
- { titleKey: "findPooja", descKey: "findPoojaDesc" },
353
- { titleKey: "findMonthly", descKey: "findMonthlyDesc" },
354
- { titleKey: "findStrength", descKey: "findStrengthDesc" }
355
- ], Yn = [
356
- "https://srm-cdn.a4b.io/yoda/1772619204758.webp",
357
- "https://srm-cdn.a4b.io/yoda/1772619215121.webp",
358
- "https://srm-cdn.a4b.io/yoda/1772619232241.webp",
359
- "https://srm-cdn.a4b.io/yoda/1772619253699.webp",
360
- "https://srm-cdn.a4b.io/yoda/1772619272322.webp",
361
- "https://srm-cdn.a4b.io/yoda/1772619284662.webp"
362
- ], me = ({
363
- t: n,
364
- imageUrls: o = Yn,
365
- className: a = ""
366
- }) => {
367
- const t = A()?.config.imageComponent ?? B;
368
- return /* @__PURE__ */ e.jsxs(
369
- "section",
370
- {
371
- className: `${T.section} ${a}`,
372
- "aria-labelledby": "find-heading",
373
- children: [
374
- /* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: T.heading, children: n("whatYoullFindTitle") }),
375
- /* @__PURE__ */ e.jsx("ul", { className: T.list, children: zn.map((s, r) => /* @__PURE__ */ e.jsxs("li", { className: T.item, children: [
376
- /* @__PURE__ */ e.jsx("div", { className: T.imageWrap, children: o[r] ? /* @__PURE__ */ e.jsx(
377
- t,
378
- {
379
- src: o[r],
380
- alt: "",
381
- className: T.image,
382
- width: 96,
383
- height: 96,
384
- loading: "lazy",
385
- sizes: "96px"
386
- }
387
- ) : /* @__PURE__ */ e.jsx("div", { className: T.imagePlaceholder, "aria-hidden": !0 }) }),
388
- /* @__PURE__ */ e.jsxs("div", { className: T.text, children: [
389
- /* @__PURE__ */ e.jsx("h3", { className: T.itemTitle, children: n(s.titleKey) }),
390
- /* @__PURE__ */ e.jsx("p", { className: T.itemDesc, children: n(s.descKey) })
391
- ] })
392
- ] }, s.titleKey)) })
393
- ]
394
- }
395
- );
396
- }, Qn = "_section_75s76_1", Jn = "_heading_75s76_6", Xn = "_subtitle_75s76_11", Zn = "_list_75s76_16", es = "_item_75s76_20", G = {
397
- section: Qn,
398
- heading: Jn,
399
- subtitle: Xn,
400
- list: Zn,
401
- item: es
402
- }, ns = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], he = ({ t: n, className: o = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${G.section} ${o}`, "aria-labelledby": "why-heading", children: [
403
- /* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: G.heading, children: n("whyUsTitle") }),
404
- /* @__PURE__ */ e.jsx("p", { className: G.subtitle, children: n("whyUsSubtitle") }),
405
- /* @__PURE__ */ e.jsx("ul", { className: G.list, children: ns.map((a) => /* @__PURE__ */ e.jsx("li", { className: G.item, children: n(a) }, a)) })
406
- ] }), ss = "_headingBold_g8xg7_1", ts = {
407
- headingBold: ss
408
- }, ue = ({
409
- t: n,
410
- testimonials: o,
411
- readMoreHref: a,
412
- onReadMore: i,
413
- className: t = "",
414
- headingClassName: s = ts.headingBold
415
- }) => /* @__PURE__ */ e.jsx(
416
- ke,
417
- {
418
- t: n,
419
- testimonials: o,
420
- readMoreHref: a,
421
- onReadMore: i,
422
- className: t,
423
- headingClassName: s
424
- }
425
- ), as = "_headingBold_g8xg7_1", os = {
426
- headingBold: as
427
- }, is = [
428
- { qKey: "faqQ1", aKey: "faqA1" },
429
- { qKey: "faqQ3", aKey: "faqA3" }
430
- ], pe = ({
431
- t: n,
432
- className: o = "",
433
- headingClassName: a = os.headingBold
434
- }) => {
435
- const t = A()?.config.isGlobal ?? !0, s = (r) => r === "faqA1" ? t ? "faqA1Global" : "faqA1Domestic" : r;
436
- return /* @__PURE__ */ e.jsx(
437
- Ne,
438
- {
439
- t: n,
440
- items: is,
441
- resolveAnswerKey: s,
442
- defaultOpenIndex: 1,
443
- className: o,
444
- headingClassName: a
445
- }
446
- );
447
- }, X = "8296947757", Z = "08071174417", ee = "pujaseva@appsforbharat.com", ge = ({
448
- t: n,
449
- whatsAppGlobal: o,
450
- whatsAppDomestic: a,
451
- email: i,
452
- brandName: t,
453
- className: s = ""
454
- }) => {
455
- const m = A()?.config.isGlobal ?? !0, u = o ?? X, h = a ?? Z, x = i ?? ee, c = m ? n("contactWhatsAppGlobal").replace(X, u) : n("contactWhatsAppDomestic").replace(Z, h), f = n("contactEmail").replace(ee, x);
456
- return /* @__PURE__ */ e.jsx(
457
- Pe,
458
- {
459
- title: n("contactTitle"),
460
- brandName: t ?? n("contactBrandName"),
461
- whatsAppLine: c,
462
- emailLine: f,
463
- className: s
464
- }
465
- );
466
- }, ls = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", rs = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", cs = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", ds = ({ t: n }) => {
467
- const a = A()?.config.imageComponent ?? B;
468
- return /* @__PURE__ */ e.jsxs("div", { className: O.marqueeContent, children: [
469
- /* @__PURE__ */ e.jsxs("span", { className: O.badge, children: [
470
- /* @__PURE__ */ e.jsx(a, { src: ls, alt: "", className: O.badgeIcon, width: 16, height: 16, loading: "lazy" }),
471
- n("ctaKundliCreated")
472
- ] }),
473
- /* @__PURE__ */ e.jsxs("span", { className: O.badge, children: [
474
- /* @__PURE__ */ e.jsx(a, { src: rs, alt: "", className: O.badgeIcon, width: 16, height: 16, loading: "lazy" }),
475
- n("ctaCertified")
476
- ] }),
477
- /* @__PURE__ */ e.jsxs("span", { className: O.badge, children: [
478
- /* @__PURE__ */ e.jsx(a, { src: cs, alt: "", className: O.badgeIcon, width: 16, height: 16, loading: "lazy" }),
479
- n("ctaSecurePayment")
480
- ] })
481
- ] });
482
- }, ms = ({
483
- t: n,
484
- onCtaClick: o,
485
- ctaHref: a,
486
- className: i = ""
487
- }) => {
488
- const t = n("ctaButtonBefore").replace(/\s+in\s*$/i, "");
489
- return /* @__PURE__ */ e.jsx(
490
- Ce,
491
- {
492
- className: i,
493
- marquee: /* @__PURE__ */ e.jsx(Te, { children: /* @__PURE__ */ e.jsx(ds, { t: n }) }),
494
- children: /* @__PURE__ */ e.jsx(Le, { href: a, onClick: o, children: t })
495
- }
496
- );
497
- }, hs = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", us = (n, o) => oe[n]?.[o] ?? o, ps = 112;
498
- function S({
499
- section: n,
500
- children: o,
501
- onImpression: a
502
- }) {
503
- const i = y(null), t = y(!1);
504
- return k(() => {
505
- const s = i.current;
506
- if (!s) return;
507
- const r = new IntersectionObserver(
508
- ([m]) => {
509
- !m?.isIntersecting || t.current || (t.current = !0, a(n));
510
- },
511
- {
512
- threshold: 0.1,
513
- // Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
514
- rootMargin: `0px 0px -${ps}px 0px`
515
- }
516
- );
517
- return r.observe(s), () => r.disconnect();
518
- }, [n, a]), /* @__PURE__ */ e.jsx("div", { ref: i, children: o });
519
- }
520
- function gs({ className: n }) {
521
- const { view: o } = Y();
522
- return o === "form" ? /* @__PURE__ */ e.jsx(be, {}) : /* @__PURE__ */ e.jsx(_s, { className: n });
523
- }
524
- function _s({ className: n }) {
525
- const o = se(), {
526
- locale: a,
527
- setLocale: i,
528
- config: t,
529
- goToForm: s
530
- } = Y(), [r, m] = F(!1), u = y(null), h = y(t.locale), x = y(
531
- o?.locale
532
- );
533
- k(() => {
534
- t.locale && h.current !== t.locale && i(t.locale), h.current = t.locale;
535
- }, [t.locale, i]), k(() => {
536
- if (t.locale) return;
537
- const l = o?.locale;
538
- l && x.current !== l && i(l), x.current = l;
539
- }, [o?.locale, t.locale, i]), k(() => {
540
- if (!r) return;
541
- const l = (j) => {
542
- u.current && !u.current.contains(j.target) && m(!1);
543
- };
544
- return document.addEventListener("mousedown", l), () => document.removeEventListener("mousedown", l);
545
- }, [r]);
546
- const c = (l) => us(a, l), f = t.showLanguageSelector ?? !0, C = t.imageComponent ?? B, w = f ? /* @__PURE__ */ e.jsxs("div", { className: D.langDropdownWrap, ref: u, children: [
547
- /* @__PURE__ */ e.jsxs(
548
- "button",
549
- {
550
- type: "button",
551
- className: D.langTrigger,
552
- onClick: () => {
553
- t.analytics?.trackLanguageClickedFe?.({ language: a }), m((l) => !l);
554
- },
555
- "aria-expanded": r,
556
- "aria-haspopup": "listbox",
557
- id: "kundli-lang",
558
- "aria-label": c("language"),
559
- children: [
560
- /* @__PURE__ */ e.jsx(
561
- C,
562
- {
563
- src: hs,
564
- alt: "",
565
- className: D.langIcon,
566
- width: 16,
567
- height: 16,
568
- loading: "eager"
569
- }
570
- ),
571
- /* @__PURE__ */ e.jsx("span", { className: D.langLabel, children: H[a] })
572
- ]
573
- }
574
- ),
575
- r && /* @__PURE__ */ e.jsx(
576
- "ul",
577
- {
578
- className: D.langMenu,
579
- role: "listbox",
580
- "aria-labelledby": "kundli-lang",
581
- "aria-activedescendant": `kundli-lang-option-${a}`,
582
- children: te.map((l) => /* @__PURE__ */ e.jsx(
583
- "li",
584
- {
585
- id: `kundli-lang-option-${l}`,
586
- role: "option",
587
- "aria-selected": l === a,
588
- className: D.langOption,
589
- onClick: () => {
590
- t.analytics?.trackLanguageChangedFe?.({ newLanguage: l }), i(l), m(!1);
591
- },
592
- children: H[l]
593
- },
594
- l
595
- ))
596
- }
597
- )
598
- ] }) : null, I = (l) => {
599
- const j = l.currentTarget.innerText?.trim() ?? c("ctaButtonAfter");
600
- t.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: j }), s(), t.onCtaClick?.();
601
- }, p = K(
602
- (l) => {
603
- t.analytics?.trackDetailedKundliReportImpressionFe?.({
604
- section: l,
605
- timestamp: (/* @__PURE__ */ new Date()).toISOString()
606
- });
607
- },
608
- [t.analytics]
609
- );
610
- return /* @__PURE__ */ e.jsxs("div", { className: `${D.container} ${n}`, children: [
611
- /* @__PURE__ */ e.jsx(
612
- ae,
613
- {
614
- t: c,
615
- logoUrl: t.logoUrl,
616
- languageSelector: w
617
- }
618
- ),
619
- /* @__PURE__ */ e.jsxs("main", { className: D.main, children: [
620
- /* @__PURE__ */ e.jsx(
621
- S,
622
- {
623
- section: "hero",
624
- onImpression: p,
625
- children: /* @__PURE__ */ e.jsx(ie, { t: c })
626
- }
627
- ),
628
- /* @__PURE__ */ e.jsx(
629
- S,
630
- {
631
- section: "premium_report_overview",
632
- onImpression: p,
633
- children: /* @__PURE__ */ e.jsx(
634
- le,
635
- {
636
- t: c,
637
- reportImageUrl: t.reportImageUrl,
638
- reportImagePriority: t.reportImagePriority,
639
- backgroundImagePriority: t.backgroundImagePriority,
640
- analytics: t.analytics
641
- }
642
- )
643
- }
644
- ),
645
- /* @__PURE__ */ e.jsx(
646
- S,
647
- {
648
- section: "university_certification",
649
- onImpression: p,
650
- children: /* @__PURE__ */ e.jsx(
651
- re,
652
- {
653
- t: c,
654
- logoUrl: t.universityLogoUrls?.find((l) => !!l)
655
- }
656
- )
657
- }
658
- ),
659
- /* @__PURE__ */ e.jsx(
660
- S,
661
- {
662
- section: "three_steps_process",
663
- onImpression: p,
664
- children: /* @__PURE__ */ e.jsx(ce, { t: c, locale: a, isGlobal: t.isGlobal })
665
- }
666
- ),
667
- /* @__PURE__ */ e.jsx(
668
- S,
669
- {
670
- section: "view_sample_report",
671
- onImpression: p,
672
- children: /* @__PURE__ */ e.jsx(
673
- de,
674
- {
675
- t: c,
676
- pdfUrl: t.sampleReportHref,
677
- onClick: t.onViewSampleReport,
678
- analytics: t.analytics
679
- }
680
- )
681
- }
682
- ),
683
- /* @__PURE__ */ e.jsx(
684
- S,
685
- {
686
- section: "what_youll_find",
687
- onImpression: p,
688
- children: /* @__PURE__ */ e.jsx(me, { t: c })
689
- }
690
- ),
691
- /* @__PURE__ */ e.jsx(
692
- S,
693
- {
694
- section: "why_us",
695
- onImpression: p,
696
- children: /* @__PURE__ */ e.jsx(he, { t: c })
697
- }
698
- ),
699
- /* @__PURE__ */ e.jsx(
700
- S,
701
- {
702
- section: "feedback",
703
- onImpression: p,
704
- children: /* @__PURE__ */ e.jsx(
705
- ue,
706
- {
707
- t: c,
708
- readMoreHref: t.readMoreReviewsHref,
709
- onReadMore: t.analytics?.trackReadMoreReviewsClicked ? () => t.analytics.trackReadMoreReviewsClicked() : void 0
710
- }
711
- )
712
- }
713
- ),
714
- /* @__PURE__ */ e.jsx(
715
- S,
716
- {
717
- section: "faq",
718
- onImpression: p,
719
- children: /* @__PURE__ */ e.jsx(pe, { t: c })
720
- }
721
- ),
722
- /* @__PURE__ */ e.jsx(
723
- S,
724
- {
725
- section: "contact_us",
726
- onImpression: p,
727
- children: /* @__PURE__ */ e.jsx(ge, { t: c })
728
- }
729
- )
730
- ] }),
731
- /* @__PURE__ */ e.jsx(
732
- ms,
733
- {
734
- t: c,
735
- ctaHref: t.ctaHref,
736
- onCtaClick: t.ctaHref ? void 0 : I
737
- }
738
- )
739
- ] });
740
- }
741
- const xs = ({
742
- className: n = "",
743
- locale: o,
744
- showLanguageSelector: a = !0,
745
- showSheet: i,
746
- userId: t,
747
- isGlobal: s,
748
- googleMapsApiKey: r,
749
- atlasSearchLocalities: m,
750
- googleMapsAutocompleteEnabled: u,
751
- logoUrl: h,
752
- reportImageUrl: x,
753
- universityLogoUrls: c,
754
- sampleReportHref: f,
755
- onViewSampleReport: C,
756
- ctaHref: w,
757
- onCtaClick: I,
758
- readMoreReviewsHref: p,
759
- onProceed: l,
760
- onProceedGuidance: j,
761
- proceedHref: $,
762
- originalPriceLabel: b,
763
- discountedPriceLabel: E,
764
- discountPillLabel: U,
765
- analytics: g,
766
- onLocaleChange: W
767
- }) => /* @__PURE__ */ e.jsx(
768
- ne,
769
- {
770
- locale: o,
771
- showLanguageSelector: a,
772
- showSheet: i,
773
- userId: t,
774
- isGlobal: s,
775
- googleMapsApiKey: r,
776
- atlasSearchLocalities: m,
777
- googleMapsAutocompleteEnabled: u,
778
- logoUrl: h,
779
- reportImageUrl: x,
780
- universityLogoUrls: c,
781
- sampleReportHref: f,
782
- onViewSampleReport: C,
783
- ctaHref: w,
784
- onCtaClick: I,
785
- readMoreReviewsHref: p,
786
- onProceed: l,
787
- onProceedGuidance: j,
788
- proceedHref: $,
789
- originalPriceLabel: b,
790
- discountedPriceLabel: E,
791
- discountPillLabel: U,
792
- analytics: g,
793
- onLocaleChange: W,
794
- children: /* @__PURE__ */ e.jsx(gs, { className: n })
795
- }
796
- ), fs = "_container_1b9qe_1", bs = "_main_1b9qe_6", js = "_langDropdownWrap_1b9qe_12", ys = "_langTrigger_1b9qe_16", ws = "_langIcon_1b9qe_28", Is = "_langLabel_1b9qe_35", vs = "_langMenu_1b9qe_40", ks = "_langOption_1b9qe_46", Ns = "_inlineFormWrap_1b9qe_57", Ps = "_inlineProceedFooter_1b9qe_74", R = {
797
- container: fs,
798
- main: bs,
799
- langDropdownWrap: js,
800
- langTrigger: ys,
801
- langIcon: ws,
802
- langLabel: Is,
803
- langMenu: vs,
804
- langOption: ks,
805
- inlineFormWrap: Ns,
806
- inlineProceedFooter: Ps
807
- }, Cs = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Ls = (n, o) => oe[n]?.[o] ?? o, Ts = 112;
808
- function P({
809
- section: n,
810
- children: o,
811
- onImpression: a
812
- }) {
813
- const i = y(null), t = y(!1);
814
- return k(() => {
815
- const s = i.current;
816
- if (!s) return;
817
- const r = new IntersectionObserver(
818
- ([m]) => {
819
- !m?.isIntersecting || t.current || (t.current = !0, a(n));
820
- },
821
- {
822
- threshold: 0.1,
823
- // Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
824
- rootMargin: `0px 0px -${Ts}px 0px`
825
- }
826
- );
827
- return r.observe(s), () => r.disconnect();
828
- }, [n, a]), /* @__PURE__ */ e.jsx("div", { ref: i, children: o });
829
- }
830
- function Ss({ className: n }) {
831
- return /* @__PURE__ */ e.jsx(Rs, { className: n, showInlineForm: !0 });
832
- }
833
- function Rs({
834
- className: n,
835
- showInlineForm: o = !1
836
- }) {
837
- const a = se(), {
838
- locale: i,
839
- setLocale: t,
840
- config: s,
841
- formValues: r,
842
- setFormValues: m
843
- } = Y(), [u, h] = F(!1), [x, c] = F(null), f = y(null), C = K((d) => {
844
- f.current = d, h(!0);
845
- }, []), w = K(() => {
846
- if (!f.current || !x) return;
847
- const d = {
848
- ...f.current,
849
- _selectedPlan: x
850
- };
851
- x.id === je && s.onProceedGuidance ? s.onProceedGuidance(d) : s.onProceed?.(d), h(!1), f.current = null;
852
- }, [x, s.onProceed, s.onProceedGuidance]), [I, p] = F(!1), [l, j] = F(
853
- s.isGlobal ?? !0 ? "+1" : "+91"
854
- ), $ = y(null), b = y(null), E = y(s.locale), U = y(
855
- a?.locale
856
- );
857
- k(() => {
858
- s.locale && E.current !== s.locale && t(s.locale), E.current = s.locale;
859
- }, [s.locale, t]), k(() => {
860
- if (s.locale) return;
861
- const d = a?.locale;
862
- d && U.current !== d && t(d), U.current = d;
863
- }, [a?.locale, s.locale, t]), k(() => {
864
- j(s.isGlobal ?? !0 ? "+1" : "+91");
865
- }, [s.isGlobal]), k(() => {
866
- if (!I) return;
867
- const d = (Q) => {
868
- b.current && !b.current.contains(Q.target) && p(!1);
869
- };
870
- return document.addEventListener("mousedown", d), () => document.removeEventListener("mousedown", d);
871
- }, [I]);
872
- const g = (d) => Ls(i, d), _e = s.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: R.langDropdownWrap, ref: b, children: [
873
- /* @__PURE__ */ e.jsxs(
874
- "button",
875
- {
876
- type: "button",
877
- className: R.langTrigger,
878
- onClick: () => {
879
- s.analytics?.trackLanguageClickedFe?.({ language: i }), p((d) => !d);
880
- },
881
- "aria-expanded": I,
882
- "aria-haspopup": "listbox",
883
- id: "kundli-lang",
884
- "aria-label": g("language"),
885
- children: [
886
- /* @__PURE__ */ e.jsx(
887
- "img",
888
- {
889
- src: Cs,
890
- alt: "",
891
- className: R.langIcon,
892
- width: 16,
893
- height: 16,
894
- "aria-hidden": !0
895
- }
896
- ),
897
- /* @__PURE__ */ e.jsx("span", { className: R.langLabel, children: H[i] })
898
- ]
899
- }
900
- ),
901
- I && /* @__PURE__ */ e.jsx(
902
- "ul",
903
- {
904
- className: R.langMenu,
905
- role: "listbox",
906
- "aria-labelledby": "kundli-lang",
907
- "aria-activedescendant": `kundli-lang-option-${i}`,
908
- children: te.map((d) => /* @__PURE__ */ e.jsx(
909
- "li",
910
- {
911
- id: `kundli-lang-option-${d}`,
912
- role: "option",
913
- "aria-selected": d === i,
914
- className: R.langOption,
915
- onClick: () => {
916
- s.analytics?.trackLanguageChangedFe?.({ newLanguage: d }), t(d), p(!1);
917
- },
918
- children: H[d]
919
- },
920
- d
921
- ))
922
- }
923
- )
924
- ] }) : null, N = K(
925
- (d) => {
926
- s.analytics?.trackDetailedKundliReportImpressionFe?.({
927
- section: d,
928
- timestamp: (/* @__PURE__ */ new Date()).toISOString()
929
- });
930
- },
931
- [s.analytics]
932
- ), q = K((d) => {
933
- const xe = {
934
- fullName: "kundli-full-name",
935
- phone: "kundli-phone",
936
- email: "kundli-email",
937
- dateOfBirth: "kundli-dob",
938
- birthTime: "kundli-birth-time",
939
- birthPlace: "kundli-birth-place",
940
- gender: "kundli-gender-male",
941
- language_code: "kundli-report-lang-hi"
942
- }[d] ?? "kundli-full-name", V = document.getElementById(xe);
943
- if (V) {
944
- const fe = V.getBoundingClientRect().top + window.scrollY - 120;
945
- window.scrollTo({
946
- top: fe,
947
- behavior: "smooth"
948
- }), setTimeout(() => V.focus(), 500);
949
- }
950
- }, []);
951
- return K(() => {
952
- q("fullName");
953
- }, [q]), /* @__PURE__ */ e.jsxs("div", { className: `${R.container} ${n}`, children: [
954
- /* @__PURE__ */ e.jsx(
955
- ae,
956
- {
957
- t: g,
958
- logoUrl: s.logoUrl,
959
- languageSelector: _e
960
- }
961
- ),
962
- /* @__PURE__ */ e.jsxs("main", { className: R.main, children: [
963
- /* @__PURE__ */ e.jsx(
964
- P,
965
- {
966
- section: "hero",
967
- onImpression: N,
968
- children: /* @__PURE__ */ e.jsx(ie, { t: g })
969
- }
970
- ),
971
- /* @__PURE__ */ e.jsx(
972
- P,
973
- {
974
- section: "premium_report_overview",
975
- onImpression: N,
976
- children: /* @__PURE__ */ e.jsx(
977
- le,
978
- {
979
- t: g,
980
- reportImageUrl: s.reportImageUrl,
981
- analytics: s.analytics
982
- }
983
- )
984
- }
985
- ),
986
- /* @__PURE__ */ e.jsx(
987
- P,
988
- {
989
- section: "university_certification",
990
- onImpression: N,
991
- children: /* @__PURE__ */ e.jsx(
992
- re,
993
- {
994
- t: g,
995
- logoUrl: s.universityLogoUrls?.find((d) => !!d)
996
- }
997
- )
998
- }
999
- ),
1000
- /* @__PURE__ */ e.jsx(
1001
- P,
1002
- {
1003
- section: "three_steps_process",
1004
- onImpression: N,
1005
- children: /* @__PURE__ */ e.jsx(ce, { t: g, locale: i, isGlobal: s.isGlobal })
1006
- }
1007
- ),
1008
- /* @__PURE__ */ e.jsx(
1009
- P,
1010
- {
1011
- section: "view_sample_report",
1012
- onImpression: N,
1013
- children: /* @__PURE__ */ e.jsx(
1014
- de,
1015
- {
1016
- t: g,
1017
- pdfUrl: s.sampleReportHref,
1018
- onClick: s.onViewSampleReport,
1019
- analytics: s.analytics
1020
- }
1021
- )
1022
- }
1023
- ),
1024
- o && /* @__PURE__ */ e.jsx(
1025
- P,
1026
- {
1027
- section: "inline_form",
1028
- onImpression: N,
1029
- children: /* @__PURE__ */ e.jsxs("div", { className: R.inlineFormWrap, ref: $, children: [
1030
- /* @__PURE__ */ e.jsx(ye, { t: g, align: "center" }),
1031
- /* @__PURE__ */ e.jsx(
1032
- we,
1033
- {
1034
- t: g,
1035
- values: r,
1036
- onChange: m,
1037
- phoneIsdCode: l,
1038
- onPhoneIsdCodeChange: j,
1039
- showV1ExtraFields: !0,
1040
- analytics: s.analytics
1041
- }
1042
- ),
1043
- /* @__PURE__ */ e.jsx(
1044
- Ie,
1045
- {
1046
- t: g,
1047
- values: r,
1048
- phoneIsdCode: l,
1049
- hideOriginalPrice: !0,
1050
- requireV1ExtraFields: !0,
1051
- onValidationFailed: q,
1052
- onProceed: s.onProceed,
1053
- href: s.proceedHref,
1054
- originalPriceLabel: s.originalPriceLabel,
1055
- discountedPriceLabel: s.discountedPriceLabel,
1056
- discountPillLabel: s.discountPillLabel,
1057
- analytics: s.analytics,
1058
- className: R.inlineProceedFooter,
1059
- onProceedGuidance: s.onProceedGuidance,
1060
- showPlanSheet: C,
1061
- confirmPlan: w,
1062
- planSheetOpen: u,
1063
- selectedPlan: x
1064
- }
1065
- )
1066
- ] })
1067
- }
1068
- ),
1069
- /* @__PURE__ */ e.jsx(
1070
- P,
1071
- {
1072
- section: "what_youll_find",
1073
- onImpression: N,
1074
- children: /* @__PURE__ */ e.jsx(me, { t: g })
1075
- }
1076
- ),
1077
- /* @__PURE__ */ e.jsx(
1078
- P,
1079
- {
1080
- section: "why_us",
1081
- onImpression: N,
1082
- children: /* @__PURE__ */ e.jsx(he, { t: g })
1083
- }
1084
- ),
1085
- /* @__PURE__ */ e.jsx(
1086
- P,
1087
- {
1088
- section: "feedback",
1089
- onImpression: N,
1090
- children: /* @__PURE__ */ e.jsx(
1091
- ue,
1092
- {
1093
- t: g,
1094
- readMoreHref: s.readMoreReviewsHref,
1095
- onReadMore: s.analytics?.trackReadMoreReviewsClicked ? () => s.analytics.trackReadMoreReviewsClicked() : void 0
1096
- }
1097
- )
1098
- }
1099
- ),
1100
- /* @__PURE__ */ e.jsx(
1101
- P,
1102
- {
1103
- section: "faq",
1104
- onImpression: N,
1105
- children: /* @__PURE__ */ e.jsx(pe, { t: g })
1106
- }
1107
- ),
1108
- /* @__PURE__ */ e.jsx(
1109
- P,
1110
- {
1111
- section: "contact_us",
1112
- onImpression: N,
1113
- children: /* @__PURE__ */ e.jsx(ge, { t: g })
1114
- }
1115
- )
1116
- ] }),
1117
- /* @__PURE__ */ e.jsx(
1118
- ve,
1119
- {
1120
- isOpen: u,
1121
- onClose: () => h(!1),
1122
- selectedPlan: x,
1123
- onSelectPlan: c,
1124
- onProceed: (d) => {
1125
- w?.(d);
1126
- },
1127
- t: g,
1128
- analytics: s.analytics
1129
- }
1130
- )
1131
- ] });
1132
- }
1133
- const $s = ({
1134
- className: n = "",
1135
- locale: o,
1136
- showLanguageSelector: a = !0,
1137
- showSheet: i,
1138
- userId: t,
1139
- isGlobal: s,
1140
- googleMapsApiKey: r,
1141
- atlasSearchLocalities: m,
1142
- googleMapsAutocompleteEnabled: u,
1143
- logoUrl: h,
1144
- reportImageUrl: x,
1145
- universityLogoUrls: c,
1146
- sampleReportHref: f,
1147
- onViewSampleReport: C,
1148
- ctaHref: w,
1149
- onCtaClick: I,
1150
- readMoreReviewsHref: p,
1151
- onProceed: l,
1152
- proceedHref: j,
1153
- originalPriceLabel: $,
1154
- discountedPriceLabel: b,
1155
- discountPillLabel: E,
1156
- analytics: U,
1157
- onProceedGuidance: g,
1158
- onLocaleChange: W
1159
- }) => /* @__PURE__ */ e.jsx(
1160
- ne,
1161
- {
1162
- locale: o,
1163
- showLanguageSelector: a,
1164
- showSheet: i,
1165
- userId: t,
1166
- isGlobal: s,
1167
- variant: "v1",
1168
- googleMapsApiKey: r,
1169
- atlasSearchLocalities: m,
1170
- googleMapsAutocompleteEnabled: u,
1171
- logoUrl: h,
1172
- reportImageUrl: x,
1173
- universityLogoUrls: c,
1174
- sampleReportHref: f,
1175
- onViewSampleReport: C,
1176
- ctaHref: w,
1177
- onCtaClick: I,
1178
- readMoreReviewsHref: p,
1179
- onProceed: l,
1180
- onProceedGuidance: g,
1181
- proceedHref: j,
1182
- originalPriceLabel: $,
1183
- discountedPriceLabel: b,
1184
- discountPillLabel: E,
1185
- analytics: U,
1186
- onLocaleChange: W,
1187
- children: /* @__PURE__ */ e.jsx(Ss, { className: n })
1188
- }
1189
- ), Us = ({ variant: n, ...o }) => {
1190
- const a = typeof window < "u" ? new URLSearchParams(window.location.search).get("variant") : null;
1191
- return (n ?? (a === "v1" ? "v1" : void 0)) === "v1" ? /* @__PURE__ */ e.jsx($s, { ...o }) : /* @__PURE__ */ e.jsx(xs, { ...o });
1192
- }, Ks = "[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}";
1193
- export {
1194
- Ks as K,
1195
- ln as P,
1196
- Us as a,
1197
- xs as b,
1198
- $s as c
1199
- };
1200
- //# sourceMappingURL=criticalCss-VFyqntMr.js.map