@srimandir/kundli-generator 3.0.10

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 (58) hide show
  1. package/dist/analytics.d.ts +77 -0
  2. package/dist/components/FooterShell/FooterCTAButton.d.ts +14 -0
  3. package/dist/components/FooterShell/FooterShell.d.ts +8 -0
  4. package/dist/components/FooterShell/index.d.ts +5 -0
  5. package/dist/components/KundliForm/KundliForm.d.ts +35 -0
  6. package/dist/components/KundliForm/index.d.ts +2 -0
  7. package/dist/components/KundliForm/sections/FormHeader/FormHeader.d.ts +6 -0
  8. package/dist/components/KundliForm/sections/FormHeader/index.d.ts +2 -0
  9. package/dist/components/KundliForm/sections/ProceedFooter/ProceedFooter.d.ts +14 -0
  10. package/dist/components/KundliForm/sections/ProceedFooter/index.d.ts +2 -0
  11. package/dist/components/KundliForm/sections/UserInfoFormSection/UserInfoFormSection.d.ts +12 -0
  12. package/dist/components/KundliForm/sections/UserInfoFormSection/googlePlacesAutocomplete.d.ts +21 -0
  13. package/dist/components/KundliForm/sections/UserInfoFormSection/index.d.ts +2 -0
  14. package/dist/components/KundliForm/sections/UserInfoFormSection/useGooglePlacesAutocomplete.d.ts +29 -0
  15. package/dist/components/KundliForm/sections/index.d.ts +3 -0
  16. package/dist/components/KundliPage/KundliContext.d.ts +49 -0
  17. package/dist/components/KundliPage/KundliPage.d.ts +44 -0
  18. package/dist/components/KundliPage/index.d.ts +2 -0
  19. package/dist/components/KundliPage/sections/CTAFooter/CTAFooter.d.ts +11 -0
  20. package/dist/components/KundliPage/sections/CTAFooter/index.d.ts +2 -0
  21. package/dist/components/KundliPage/sections/ContactUsSection/ContactUsSection.d.ts +13 -0
  22. package/dist/components/KundliPage/sections/ContactUsSection/index.d.ts +2 -0
  23. package/dist/components/KundliPage/sections/FAQSection/FAQSection.d.ts +5 -0
  24. package/dist/components/KundliPage/sections/FAQSection/index.d.ts +2 -0
  25. package/dist/components/KundliPage/sections/FeedbackSection/FeedbackSection.d.ts +14 -0
  26. package/dist/components/KundliPage/sections/FeedbackSection/index.d.ts +2 -0
  27. package/dist/components/KundliPage/sections/HeroSection/HeroSection.d.ts +5 -0
  28. package/dist/components/KundliPage/sections/HeroSection/index.d.ts +2 -0
  29. package/dist/components/KundliPage/sections/KundliHeader/KundliHeader.d.ts +11 -0
  30. package/dist/components/KundliPage/sections/KundliHeader/index.d.ts +2 -0
  31. package/dist/components/KundliPage/sections/PremiumReportOverview/PremiumReportOverview.d.ts +10 -0
  32. package/dist/components/KundliPage/sections/PremiumReportOverview/index.d.ts +2 -0
  33. package/dist/components/KundliPage/sections/ThreeStepsProcess/ThreeStepsProcess.d.ts +8 -0
  34. package/dist/components/KundliPage/sections/ThreeStepsProcess/index.d.ts +2 -0
  35. package/dist/components/KundliPage/sections/UniversityCertification/UniversityCertification.d.ts +7 -0
  36. package/dist/components/KundliPage/sections/UniversityCertification/index.d.ts +2 -0
  37. package/dist/components/KundliPage/sections/ViewSampleReportButton/SampleReportModal.d.ts +8 -0
  38. package/dist/components/KundliPage/sections/ViewSampleReportButton/ViewSampleReportButton.d.ts +14 -0
  39. package/dist/components/KundliPage/sections/ViewSampleReportButton/index.d.ts +2 -0
  40. package/dist/components/KundliPage/sections/WhatYoullFindSection/WhatYoullFindSection.d.ts +7 -0
  41. package/dist/components/KundliPage/sections/WhatYoullFindSection/index.d.ts +2 -0
  42. package/dist/components/KundliPage/sections/WhyUsSection/WhyUsSection.d.ts +5 -0
  43. package/dist/components/KundliPage/sections/WhyUsSection/index.d.ts +2 -0
  44. package/dist/components/KundliPage/sections/index.d.ts +12 -0
  45. package/dist/dev/main.d.ts +1 -0
  46. package/dist/i18n/I18nContext.d.ts +12 -0
  47. package/dist/i18n/index.d.ts +2 -0
  48. package/dist/i18n/translations.d.ts +4 -0
  49. package/dist/index.d.ts +9 -0
  50. package/dist/kundli-generator.js +3102 -0
  51. package/dist/kundli-generator.js.map +1 -0
  52. package/dist/kundli-generator.umd.cjs +16 -0
  53. package/dist/kundli-generator.umd.cjs.map +1 -0
  54. package/dist/style.css +1 -0
  55. package/dist/utils/index.d.ts +2 -0
  56. package/dist/utils/localeStorage.d.ts +10 -0
  57. package/dist/utils/storage.d.ts +7 -0
  58. package/package.json +65 -0
@@ -0,0 +1,3102 @@
1
+ import jt, { createContext as Nt, useContext as Ve, useState as K, useRef as q, useEffect as G, useMemo as Fe, useCallback as Te } from "react";
2
+ import * as Ye from "pdfjs-dist";
3
+ var Oe = { exports: {} }, Ie = {};
4
+ var pt;
5
+ function rn() {
6
+ if (pt) return Ie;
7
+ pt = 1;
8
+ var n = jt, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, o = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
9
+ function f(u, c, b) {
10
+ var p, _ = {}, x = null, T = null;
11
+ b !== void 0 && (x = "" + b), c.key !== void 0 && (x = "" + c.key), c.ref !== void 0 && (T = c.ref);
12
+ for (p in c) d.call(c, p) && !h.hasOwnProperty(p) && (_[p] = c[p]);
13
+ if (u && u.defaultProps) for (p in c = u.defaultProps, c) _[p] === void 0 && (_[p] = c[p]);
14
+ return { $$typeof: r, type: u, key: x, ref: T, props: _, _owner: o.current };
15
+ }
16
+ return Ie.Fragment = l, Ie.jsx = f, Ie.jsxs = f, Ie;
17
+ }
18
+ var Ce = {};
19
+ var ht;
20
+ function on() {
21
+ return ht || (ht = 1, process.env.NODE_ENV !== "production" && (function() {
22
+ var n = jt, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), h = /* @__PURE__ */ Symbol.for("react.profiler"), f = /* @__PURE__ */ Symbol.for("react.provider"), u = /* @__PURE__ */ Symbol.for("react.context"), c = /* @__PURE__ */ Symbol.for("react.forward_ref"), b = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.suspense_list"), _ = /* @__PURE__ */ Symbol.for("react.memo"), x = /* @__PURE__ */ Symbol.for("react.lazy"), T = /* @__PURE__ */ Symbol.for("react.offscreen"), j = Symbol.iterator, y = "@@iterator";
23
+ function w(t) {
24
+ if (t === null || typeof t != "object")
25
+ return null;
26
+ var i = j && t[j] || t[y];
27
+ return typeof i == "function" ? i : null;
28
+ }
29
+ var S = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
30
+ function v(t) {
31
+ {
32
+ for (var i = arguments.length, m = new Array(i > 1 ? i - 1 : 0), k = 1; k < i; k++)
33
+ m[k - 1] = arguments[k];
34
+ A("error", t, m);
35
+ }
36
+ }
37
+ function A(t, i, m) {
38
+ {
39
+ var k = S.ReactDebugCurrentFrame, E = k.getStackAddendum();
40
+ E !== "" && (i += "%s", m = m.concat([E]));
41
+ var C = m.map(function(P) {
42
+ return String(P);
43
+ });
44
+ C.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, C);
45
+ }
46
+ }
47
+ var M = !1, I = !1, z = !1, D = !1, Y = !1, O;
48
+ O = /* @__PURE__ */ Symbol.for("react.module.reference");
49
+ function H(t) {
50
+ return !!(typeof t == "string" || typeof t == "function" || t === d || t === h || Y || t === o || t === b || t === p || D || t === T || M || I || z || typeof t == "object" && t !== null && (t.$$typeof === x || t.$$typeof === _ || t.$$typeof === f || t.$$typeof === u || t.$$typeof === c || // This needs to include all possible module reference object
51
+ // types supported by any Flight configuration anywhere since
52
+ // we don't know which Flight build this will end up being used
53
+ // with.
54
+ t.$$typeof === O || t.getModuleId !== void 0));
55
+ }
56
+ function X(t, i, m) {
57
+ var k = t.displayName;
58
+ if (k)
59
+ return k;
60
+ var E = i.displayName || i.name || "";
61
+ return E !== "" ? m + "(" + E + ")" : m;
62
+ }
63
+ function B(t) {
64
+ return t.displayName || "Context";
65
+ }
66
+ function U(t) {
67
+ if (t == null)
68
+ return null;
69
+ if (typeof t.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
70
+ return t.displayName || t.name || null;
71
+ if (typeof t == "string")
72
+ return t;
73
+ switch (t) {
74
+ case d:
75
+ return "Fragment";
76
+ case l:
77
+ return "Portal";
78
+ case h:
79
+ return "Profiler";
80
+ case o:
81
+ return "StrictMode";
82
+ case b:
83
+ return "Suspense";
84
+ case p:
85
+ return "SuspenseList";
86
+ }
87
+ if (typeof t == "object")
88
+ switch (t.$$typeof) {
89
+ case u:
90
+ var i = t;
91
+ return B(i) + ".Consumer";
92
+ case f:
93
+ var m = t;
94
+ return B(m._context) + ".Provider";
95
+ case c:
96
+ return X(t, t.render, "ForwardRef");
97
+ case _:
98
+ var k = t.displayName || null;
99
+ return k !== null ? k : U(t.type) || "Memo";
100
+ case x: {
101
+ var E = t, C = E._payload, P = E._init;
102
+ try {
103
+ return U(P(C));
104
+ } catch {
105
+ return null;
106
+ }
107
+ }
108
+ }
109
+ return null;
110
+ }
111
+ var V = Object.assign, ee = 0, ue, xe, he, fe, ge, _e, ie;
112
+ function be() {
113
+ }
114
+ be.__reactDisabledLog = !0;
115
+ function a() {
116
+ {
117
+ if (ee === 0) {
118
+ ue = console.log, xe = console.info, he = console.warn, fe = console.error, ge = console.group, _e = console.groupCollapsed, ie = console.groupEnd;
119
+ var t = {
120
+ configurable: !0,
121
+ enumerable: !0,
122
+ value: be,
123
+ writable: !0
124
+ };
125
+ Object.defineProperties(console, {
126
+ info: t,
127
+ log: t,
128
+ warn: t,
129
+ error: t,
130
+ group: t,
131
+ groupCollapsed: t,
132
+ groupEnd: t
133
+ });
134
+ }
135
+ ee++;
136
+ }
137
+ }
138
+ function g() {
139
+ {
140
+ if (ee--, ee === 0) {
141
+ var t = {
142
+ configurable: !0,
143
+ enumerable: !0,
144
+ writable: !0
145
+ };
146
+ Object.defineProperties(console, {
147
+ log: V({}, t, {
148
+ value: ue
149
+ }),
150
+ info: V({}, t, {
151
+ value: xe
152
+ }),
153
+ warn: V({}, t, {
154
+ value: he
155
+ }),
156
+ error: V({}, t, {
157
+ value: fe
158
+ }),
159
+ group: V({}, t, {
160
+ value: ge
161
+ }),
162
+ groupCollapsed: V({}, t, {
163
+ value: _e
164
+ }),
165
+ groupEnd: V({}, t, {
166
+ value: ie
167
+ })
168
+ });
169
+ }
170
+ ee < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
171
+ }
172
+ }
173
+ var $ = S.ReactCurrentDispatcher, te;
174
+ function me(t, i, m) {
175
+ {
176
+ if (te === void 0)
177
+ try {
178
+ throw Error();
179
+ } catch (E) {
180
+ var k = E.stack.trim().match(/\n( *(at )?)/);
181
+ te = k && k[1] || "";
182
+ }
183
+ return `
184
+ ` + te + t;
185
+ }
186
+ }
187
+ var Ae = !1, Le;
188
+ {
189
+ var Rt = typeof WeakMap == "function" ? WeakMap : Map;
190
+ Le = new Rt();
191
+ }
192
+ function Xe(t, i) {
193
+ if (!t || Ae)
194
+ return "";
195
+ {
196
+ var m = Le.get(t);
197
+ if (m !== void 0)
198
+ return m;
199
+ }
200
+ var k;
201
+ Ae = !0;
202
+ var E = Error.prepareStackTrace;
203
+ Error.prepareStackTrace = void 0;
204
+ var C;
205
+ C = $.current, $.current = null, a();
206
+ try {
207
+ if (i) {
208
+ var P = function() {
209
+ throw Error();
210
+ };
211
+ if (Object.defineProperty(P.prototype, "props", {
212
+ set: function() {
213
+ throw Error();
214
+ }
215
+ }), typeof Reflect == "object" && Reflect.construct) {
216
+ try {
217
+ Reflect.construct(P, []);
218
+ } catch (Z) {
219
+ k = Z;
220
+ }
221
+ Reflect.construct(t, [], P);
222
+ } else {
223
+ try {
224
+ P.call();
225
+ } catch (Z) {
226
+ k = Z;
227
+ }
228
+ t.call(P.prototype);
229
+ }
230
+ } else {
231
+ try {
232
+ throw Error();
233
+ } catch (Z) {
234
+ k = Z;
235
+ }
236
+ t();
237
+ }
238
+ } catch (Z) {
239
+ if (Z && k && typeof Z.stack == "string") {
240
+ for (var N = Z.stack.split(`
241
+ `), Q = k.stack.split(`
242
+ `), F = N.length - 1, W = Q.length - 1; F >= 1 && W >= 0 && N[F] !== Q[W]; )
243
+ W--;
244
+ for (; F >= 1 && W >= 0; F--, W--)
245
+ if (N[F] !== Q[W]) {
246
+ if (F !== 1 || W !== 1)
247
+ do
248
+ if (F--, W--, W < 0 || N[F] !== Q[W]) {
249
+ var ne = `
250
+ ` + N[F].replace(" at new ", " at ");
251
+ return t.displayName && ne.includes("<anonymous>") && (ne = ne.replace("<anonymous>", t.displayName)), typeof t == "function" && Le.set(t, ne), ne;
252
+ }
253
+ while (F >= 1 && W >= 0);
254
+ break;
255
+ }
256
+ }
257
+ } finally {
258
+ Ae = !1, $.current = C, g(), Error.prepareStackTrace = E;
259
+ }
260
+ var je = t ? t.displayName || t.name : "", ye = je ? me(je) : "";
261
+ return typeof t == "function" && Le.set(t, ye), ye;
262
+ }
263
+ function Lt(t, i, m) {
264
+ return Xe(t, !1);
265
+ }
266
+ function $t(t) {
267
+ var i = t.prototype;
268
+ return !!(i && i.isReactComponent);
269
+ }
270
+ function $e(t, i, m) {
271
+ if (t == null)
272
+ return "";
273
+ if (typeof t == "function")
274
+ return Xe(t, $t(t));
275
+ if (typeof t == "string")
276
+ return me(t);
277
+ switch (t) {
278
+ case b:
279
+ return me("Suspense");
280
+ case p:
281
+ return me("SuspenseList");
282
+ }
283
+ if (typeof t == "object")
284
+ switch (t.$$typeof) {
285
+ case c:
286
+ return Lt(t.render);
287
+ case _:
288
+ return $e(t.type, i, m);
289
+ case x: {
290
+ var k = t, E = k._payload, C = k._init;
291
+ try {
292
+ return $e(C(E), i, m);
293
+ } catch {
294
+ }
295
+ }
296
+ }
297
+ return "";
298
+ }
299
+ var Ee = Object.prototype.hasOwnProperty, Ze = {}, et = S.ReactDebugCurrentFrame;
300
+ function De(t) {
301
+ if (t) {
302
+ var i = t._owner, m = $e(t.type, t._source, i ? i.type : null);
303
+ et.setExtraStackFrame(m);
304
+ } else
305
+ et.setExtraStackFrame(null);
306
+ }
307
+ function Dt(t, i, m, k, E) {
308
+ {
309
+ var C = Function.call.bind(Ee);
310
+ for (var P in t)
311
+ if (C(t, P)) {
312
+ var N = void 0;
313
+ try {
314
+ if (typeof t[P] != "function") {
315
+ var Q = Error((k || "React class") + ": " + m + " type `" + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[P] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
+ throw Q.name = "Invariant Violation", Q;
317
+ }
318
+ N = t[P](i, P, k, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
319
+ } catch (F) {
320
+ N = F;
321
+ }
322
+ N && !(N instanceof Error) && (De(E), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", k || "React class", m, P, typeof N), De(null)), N instanceof Error && !(N.message in Ze) && (Ze[N.message] = !0, De(E), v("Failed %s type: %s", m, N.message), De(null));
323
+ }
324
+ }
325
+ }
326
+ var Ot = Array.isArray;
327
+ function Ue(t) {
328
+ return Ot(t);
329
+ }
330
+ function Bt(t) {
331
+ {
332
+ var i = typeof Symbol == "function" && Symbol.toStringTag, m = i && t[Symbol.toStringTag] || t.constructor.name || "Object";
333
+ return m;
334
+ }
335
+ }
336
+ function Ft(t) {
337
+ try {
338
+ return tt(t), !1;
339
+ } catch {
340
+ return !0;
341
+ }
342
+ }
343
+ function tt(t) {
344
+ return "" + t;
345
+ }
346
+ function nt(t) {
347
+ if (Ft(t))
348
+ return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Bt(t)), tt(t);
349
+ }
350
+ var at = S.ReactCurrentOwner, Mt = {
351
+ key: !0,
352
+ ref: !0,
353
+ __self: !0,
354
+ __source: !0
355
+ }, rt, it;
356
+ function Ut(t) {
357
+ if (Ee.call(t, "ref")) {
358
+ var i = Object.getOwnPropertyDescriptor(t, "ref").get;
359
+ if (i && i.isReactWarning)
360
+ return !1;
361
+ }
362
+ return t.ref !== void 0;
363
+ }
364
+ function Wt(t) {
365
+ if (Ee.call(t, "key")) {
366
+ var i = Object.getOwnPropertyDescriptor(t, "key").get;
367
+ if (i && i.isReactWarning)
368
+ return !1;
369
+ }
370
+ return t.key !== void 0;
371
+ }
372
+ function qt(t, i) {
373
+ typeof t.ref == "string" && at.current;
374
+ }
375
+ function Kt(t, i) {
376
+ {
377
+ var m = function() {
378
+ rt || (rt = !0, v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
379
+ };
380
+ m.isReactWarning = !0, Object.defineProperty(t, "key", {
381
+ get: m,
382
+ configurable: !0
383
+ });
384
+ }
385
+ }
386
+ function Gt(t, i) {
387
+ {
388
+ var m = function() {
389
+ it || (it = !0, v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
390
+ };
391
+ m.isReactWarning = !0, Object.defineProperty(t, "ref", {
392
+ get: m,
393
+ configurable: !0
394
+ });
395
+ }
396
+ }
397
+ var Ht = function(t, i, m, k, E, C, P) {
398
+ var N = {
399
+ // This tag allows us to uniquely identify this as a React Element
400
+ $$typeof: r,
401
+ // Built-in properties that belong on the element
402
+ type: t,
403
+ key: i,
404
+ ref: m,
405
+ props: P,
406
+ // Record the component responsible for creating this element.
407
+ _owner: C
408
+ };
409
+ return N._store = {}, Object.defineProperty(N._store, "validated", {
410
+ configurable: !1,
411
+ enumerable: !1,
412
+ writable: !0,
413
+ value: !1
414
+ }), Object.defineProperty(N, "_self", {
415
+ configurable: !1,
416
+ enumerable: !1,
417
+ writable: !1,
418
+ value: k
419
+ }), Object.defineProperty(N, "_source", {
420
+ configurable: !1,
421
+ enumerable: !1,
422
+ writable: !1,
423
+ value: E
424
+ }), Object.freeze && (Object.freeze(N.props), Object.freeze(N)), N;
425
+ };
426
+ function Yt(t, i, m, k, E) {
427
+ {
428
+ var C, P = {}, N = null, Q = null;
429
+ m !== void 0 && (nt(m), N = "" + m), Wt(i) && (nt(i.key), N = "" + i.key), Ut(i) && (Q = i.ref, qt(i, E));
430
+ for (C in i)
431
+ Ee.call(i, C) && !Mt.hasOwnProperty(C) && (P[C] = i[C]);
432
+ if (t && t.defaultProps) {
433
+ var F = t.defaultProps;
434
+ for (C in F)
435
+ P[C] === void 0 && (P[C] = F[C]);
436
+ }
437
+ if (N || Q) {
438
+ var W = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
439
+ N && Kt(P, W), Q && Gt(P, W);
440
+ }
441
+ return Ht(t, N, Q, E, k, at.current, P);
442
+ }
443
+ }
444
+ var We = S.ReactCurrentOwner, ot = S.ReactDebugCurrentFrame;
445
+ function we(t) {
446
+ if (t) {
447
+ var i = t._owner, m = $e(t.type, t._source, i ? i.type : null);
448
+ ot.setExtraStackFrame(m);
449
+ } else
450
+ ot.setExtraStackFrame(null);
451
+ }
452
+ var qe;
453
+ qe = !1;
454
+ function Ke(t) {
455
+ return typeof t == "object" && t !== null && t.$$typeof === r;
456
+ }
457
+ function st() {
458
+ {
459
+ if (We.current) {
460
+ var t = U(We.current.type);
461
+ if (t)
462
+ return `
463
+
464
+ Check the render method of \`` + t + "`.";
465
+ }
466
+ return "";
467
+ }
468
+ }
469
+ function Vt(t) {
470
+ return "";
471
+ }
472
+ var ct = {};
473
+ function zt(t) {
474
+ {
475
+ var i = st();
476
+ if (!i) {
477
+ var m = typeof t == "string" ? t : t.displayName || t.name;
478
+ m && (i = `
479
+
480
+ Check the top-level render call using <` + m + ">.");
481
+ }
482
+ return i;
483
+ }
484
+ }
485
+ function lt(t, i) {
486
+ {
487
+ if (!t._store || t._store.validated || t.key != null)
488
+ return;
489
+ t._store.validated = !0;
490
+ var m = zt(i);
491
+ if (ct[m])
492
+ return;
493
+ ct[m] = !0;
494
+ var k = "";
495
+ t && t._owner && t._owner !== We.current && (k = " It was passed a child from " + U(t._owner.type) + "."), we(t), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, k), we(null);
496
+ }
497
+ }
498
+ function dt(t, i) {
499
+ {
500
+ if (typeof t != "object")
501
+ return;
502
+ if (Ue(t))
503
+ for (var m = 0; m < t.length; m++) {
504
+ var k = t[m];
505
+ Ke(k) && lt(k, i);
506
+ }
507
+ else if (Ke(t))
508
+ t._store && (t._store.validated = !0);
509
+ else if (t) {
510
+ var E = w(t);
511
+ if (typeof E == "function" && E !== t.entries)
512
+ for (var C = E.call(t), P; !(P = C.next()).done; )
513
+ Ke(P.value) && lt(P.value, i);
514
+ }
515
+ }
516
+ }
517
+ function Qt(t) {
518
+ {
519
+ var i = t.type;
520
+ if (i == null || typeof i == "string")
521
+ return;
522
+ var m;
523
+ if (typeof i == "function")
524
+ m = i.propTypes;
525
+ else if (typeof i == "object" && (i.$$typeof === c || // Note: Memo only checks outer props here.
526
+ // Inner props are checked in the reconciler.
527
+ i.$$typeof === _))
528
+ m = i.propTypes;
529
+ else
530
+ return;
531
+ if (m) {
532
+ var k = U(i);
533
+ Dt(m, t.props, "prop", k, t);
534
+ } else if (i.PropTypes !== void 0 && !qe) {
535
+ qe = !0;
536
+ var E = U(i);
537
+ v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", E || "Unknown");
538
+ }
539
+ typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
540
+ }
541
+ }
542
+ function Jt(t) {
543
+ {
544
+ for (var i = Object.keys(t.props), m = 0; m < i.length; m++) {
545
+ var k = i[m];
546
+ if (k !== "children" && k !== "key") {
547
+ we(t), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", k), we(null);
548
+ break;
549
+ }
550
+ }
551
+ t.ref !== null && (we(t), v("Invalid attribute `ref` supplied to `React.Fragment`."), we(null));
552
+ }
553
+ }
554
+ var ut = {};
555
+ function mt(t, i, m, k, E, C) {
556
+ {
557
+ var P = H(t);
558
+ if (!P) {
559
+ var N = "";
560
+ (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (N += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
561
+ var Q = Vt();
562
+ Q ? N += Q : N += st();
563
+ var F;
564
+ t === null ? F = "null" : Ue(t) ? F = "array" : t !== void 0 && t.$$typeof === r ? (F = "<" + (U(t.type) || "Unknown") + " />", N = " Did you accidentally export a JSX literal instead of a component?") : F = typeof t, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", F, N);
565
+ }
566
+ var W = Yt(t, i, m, E, C);
567
+ if (W == null)
568
+ return W;
569
+ if (P) {
570
+ var ne = i.children;
571
+ if (ne !== void 0)
572
+ if (k)
573
+ if (Ue(ne)) {
574
+ for (var je = 0; je < ne.length; je++)
575
+ dt(ne[je], t);
576
+ Object.freeze && Object.freeze(ne);
577
+ } else
578
+ v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
579
+ else
580
+ dt(ne, t);
581
+ }
582
+ if (Ee.call(i, "key")) {
583
+ var ye = U(t), Z = Object.keys(i).filter(function(an) {
584
+ return an !== "key";
585
+ }), Ge = Z.length > 0 ? "{key: someKey, " + Z.join(": ..., ") + ": ...}" : "{key: someKey}";
586
+ if (!ut[ye + Ge]) {
587
+ var nn = Z.length > 0 ? "{" + Z.join(": ..., ") + ": ...}" : "{}";
588
+ v(`A props object containing a "key" prop is being spread into JSX:
589
+ let props = %s;
590
+ <%s {...props} />
591
+ React keys must be passed directly to JSX without using spread:
592
+ let props = %s;
593
+ <%s key={someKey} {...props} />`, Ge, ye, nn, ye), ut[ye + Ge] = !0;
594
+ }
595
+ }
596
+ return t === d ? Jt(W) : Qt(W), W;
597
+ }
598
+ }
599
+ function Xt(t, i, m) {
600
+ return mt(t, i, m, !0);
601
+ }
602
+ function Zt(t, i, m) {
603
+ return mt(t, i, m, !1);
604
+ }
605
+ var en = Zt, tn = Xt;
606
+ Ce.Fragment = d, Ce.jsx = en, Ce.jsxs = tn;
607
+ })()), Ce;
608
+ }
609
+ var ft;
610
+ function sn() {
611
+ return ft || (ft = 1, process.env.NODE_ENV === "production" ? Oe.exports = rn() : Oe.exports = on()), Oe.exports;
612
+ }
613
+ var e = sn();
614
+ const cn = "_container_nm3gb_1", ln = "_main_nm3gb_6", dn = "_langDropdownWrap_nm3gb_12", un = "_langTrigger_nm3gb_16", mn = "_langIcon_nm3gb_28", pn = "_langLabel_nm3gb_35", hn = "_langMenu_nm3gb_40", fn = "_langOption_nm3gb_46", pe = {
615
+ container: cn,
616
+ main: ln,
617
+ langDropdownWrap: dn,
618
+ langTrigger: un,
619
+ langIcon: mn,
620
+ langLabel: pn,
621
+ langMenu: hn,
622
+ langOption: fn
623
+ }, ze = ["en", "hi"], Me = {
624
+ en: "English",
625
+ hi: "हिन्दी"
626
+ }, Qe = {
627
+ en: {
628
+ kundli: "Kundli",
629
+ birthChart: "Birth Chart",
630
+ details: "Details",
631
+ name: "Name",
632
+ birthDate: "Birth Date",
633
+ guest: "Guest",
634
+ description: "Your birth chart reveals planetary positions at the time of your birth and their influence on your life.",
635
+ lagna: "Lagna",
636
+ rashi: "Rashi",
637
+ nakshatra: "Nakshatra",
638
+ // Premium Kundli landing
639
+ language: "Language",
640
+ sriMandir: "Sri Mandir",
641
+ ratingText: "4.9/5 on Google PlayStore",
642
+ heroTitle: "Get Your Premium Personalised Kundli Report",
643
+ heroSubtitle: "This premium personalised kundli report helps you find answers to major life issues.",
644
+ topicMarriage: "Marriage",
645
+ topicRelationship: "Relationship",
646
+ topicBusiness: "Business",
647
+ topicHealth: "Health",
648
+ topicCareer: "Career",
649
+ topicEducation: "Education",
650
+ topicMoney: "Money",
651
+ premiumHeadline: "200+ Pages Premium Personalised Kundli Report",
652
+ premiumHeadlinePill1: "200+ Pages",
653
+ premiumHeadlinePlain1: "Premium",
654
+ premiumHeadlinePlain2: "Personalised",
655
+ premiumHeadlinePill2: "Kundli Report",
656
+ premiumFeature1: "Vedic Birth Chart",
657
+ premiumFeature2: "Destiny Insights",
658
+ premiumFeature3: "Major Life Issues",
659
+ premiumFeature4: "Practical Remedies",
660
+ certifiedBy: "Certified by BHU and VHU Astrologers",
661
+ yourThreeSteps: "Your 3 steps",
662
+ threeStepsSubtitle: "Premium Personalised Kundli report",
663
+ step1: "Enter your information",
664
+ step2: "Your horoscope will be created by experts",
665
+ step3Intro: "You'll receive your Kundli report on your Whatsapp",
666
+ step3IntroGlobal: "You'll receive your Kundli report on your email",
667
+ step3IntroDomestic: "You'll receive your Kundli report on your Whatsapp",
668
+ step3Days: "2 days",
669
+ viewSampleReport: "View Sample Kundli Report",
670
+ sampleReportModalTitle: "Sample Kundli Report",
671
+ whatYoullFindTitle: "What will you find in your Kundli report?",
672
+ findDasha: "Analysis of flaws and periods.",
673
+ findDashaDesc: "Identify major flaws, period durations, and simple remedies.",
674
+ findYoga: "All yoga reports.",
675
+ findYogaDesc: "Discover the yogas in your kundli report that affect wealth, career, and relationships.",
676
+ findGemstone: "Gemstone recommendations.",
677
+ findGemstoneDesc: "Personalised gemstone guidance based on your kundli report.",
678
+ findPooja: "Puja recommendations.",
679
+ findPoojaDesc: "Suggestions for pujas and rituals to balance planetary influences.",
680
+ findMonthly: "Monthly predictions (1 year).",
681
+ findMonthlyDesc: "Month-by-month guidance for the coming year.",
682
+ findStrength: "Strength graph.",
683
+ findStrengthDesc: "Visual charts showing the strength and influence of the planets.",
684
+ whyUsTitle: "Why us?",
685
+ whyUsSubtitle: "Fill out the form to get started and unlock your fortune!",
686
+ whyUs1: "3,00,000+ kundli reports created",
687
+ whyUs2: "1,000+ partnered Top Astrologers",
688
+ whyUs3: "500+ temple partnerships you can trust",
689
+ whyUs4: "Personalised section-wise life analysis",
690
+ feedbackTitle: "Feedback from our users",
691
+ feedbackTrust: "Trusted by over 5 crore users worldwide",
692
+ feedbackRating: "4.9",
693
+ feedbackTestimonial1: "Detailed kundli report mila, life mein clarity mili.",
694
+ feedbackTestimonial2: "Career aur marriage dono pe clear guidance mila.",
695
+ feedbackTestimonial3: "Clear direction mila next steps ke liye.",
696
+ feedbackTestimonial4: "Doubts kaafi had tak clear ho gaye report se.",
697
+ feedbackTestimonial5: "Future planning ke liye useful insights mile.",
698
+ feedbackTestimonial6: "Har important area cover kiya gaya properly.",
699
+ feedbackTestimonial7: "Kaafi deep analysis hai, superficial nahi.",
700
+ feedbackTestimonial8: "Kundli insights ne future decisions clear kiye.",
701
+ feedbackTestimonial9: "I had seen many generic astrology reports before, but this Kundli report felt different. It described my life problems, thinking pattern, and situations from the past few years very accurately. While reading, it felt as if someone had already understood my condition. What stood out most was the clear and easy language, which made it feel trustworthy.",
702
+ feedbackTestimonial10: "I took this Kundli report just out of curiosity, but after reading it I was genuinely surprised. It accurately described obstacles in my work, mental confusion, and difficulty in making decisions. It felt as if my real-life situation had been deeply understood before writing the report. Many things became clearer after reading it.",
703
+ feedbackTestimonial11: "This was a very detailed Kundli report. It talked about my nature, mindset, and the problems I have been going through. Some points matched so closely that it was genuinely surprising to read. It didn't feel like general information, but something truly connected to my own life.",
704
+ feedbackTestimonial12: "Honestly, I didn't expect much, but after reading the report my perspective changed. It explained my personality, career ups and downs, and inner confusions very accurately. Many parts matched my current situation perfectly. By the end, it truly felt like this report was made specifically for me.",
705
+ feedbackTestimonial13: "I ordered the Kundli report mainly because my family insisted, but after reading it I was surprised myself. Many things about my nature, past experiences, and current struggles were absolutely accurate. It felt as if someone had carefully understood my life before writing it. Because of this, trust in the report came naturally.",
706
+ feedbackTestimonial14: "Simple language mein detailed analysis diya hai.",
707
+ feedbackTestimonial15: "Timing aur dasha explanation helpful thi.",
708
+ feedbackAuthor1: "Aarav",
709
+ feedbackAuthor2: "Vivaan",
710
+ feedbackAuthor3: "Arjun",
711
+ feedbackAuthor4: "Kabir",
712
+ feedbackAuthor5: "Rohan",
713
+ feedbackAuthor6: "Ishaan",
714
+ feedbackAuthor7: "Krish",
715
+ feedbackAuthor8: "Rahul",
716
+ feedbackAuthor9: "Ananya",
717
+ feedbackAuthor10: "Aadhya",
718
+ feedbackAuthor11: "Kavya",
719
+ feedbackAuthor12: "Diya",
720
+ feedbackAuthor13: "Meera",
721
+ feedbackAuthor14: "Pooja",
722
+ feedbackAuthor15: "Nisha",
723
+ feedbackAuthor1AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639271096.png",
724
+ feedbackAuthor2AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639330970.png",
725
+ feedbackAuthor3AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639345411.png",
726
+ feedbackAuthor4AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639358174.png",
727
+ feedbackAuthor5AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639369712.png",
728
+ feedbackAuthor6AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639381899.png",
729
+ feedbackAuthor7AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639442858.png",
730
+ feedbackAuthor8AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639454626.png",
731
+ feedbackAuthor9AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639254172.png",
732
+ feedbackAuthor10AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639293055.png",
733
+ feedbackAuthor11AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639306698.png",
734
+ feedbackAuthor12AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639319028.png",
735
+ feedbackAuthor13AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639402894.png",
736
+ feedbackAuthor14AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639416587.png",
737
+ feedbackAuthor15AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639427379.png",
738
+ readMoreReviews: "Read More Reviews",
739
+ readLess: "Read Less",
740
+ faqTitle: "Frequently Asked Questions",
741
+ faqQ1: "How will I receive my kundli report?",
742
+ faqQ2: "Is Premium personalised kundli available in any other language?",
743
+ faqQ3: "What if I don't know my birth time?",
744
+ faqA1Global: "You will receive your premium personalised kundli report on your shared email ID within 2 days.",
745
+ faqA1Domestic: "You will receive your premium personalised kundli report on your shared WhatsApp number within 2 days.",
746
+ faqA2: "Yes, we provide report in Hindi and English languages",
747
+ faqA3: "Accurate birth time helps to create more accurate report. However we are still able to prepare 80% accurate report if you don't know your exact time of birth",
748
+ contactTitle: "Contact Us",
749
+ contactBrandName: "Sri Mandir",
750
+ contactWhatsAppGlobal: "Whatsapp: 8296947757",
751
+ contactWhatsAppDomestic: "Whatsapp: 08071174417",
752
+ contactEmail: "Email: pujaseva@appsforbharat.com",
753
+ ctaKundliCreated: "3L+ Kundli Reports Created.",
754
+ ctaCertified: "BHU Certified Astrologer.",
755
+ ctaSecurePayment: "Secure Payment.",
756
+ ctaButton: "Get My Detailed Kundli in $300 $25",
757
+ ctaButtonStruck: "$100",
758
+ ctaButtonBefore: "Get My Detailed Kundli in ",
759
+ ctaButtonAfter: "$25",
760
+ // Kundli form (from incoming branch)
761
+ back: "Back",
762
+ info: "Info",
763
+ formTitle: "Enter your information",
764
+ formSubtitle: "Fill out the form below to get started and unlock your fortune!",
765
+ formFullName: "Enter your full name",
766
+ formFullNamePlaceholder: "Full name",
767
+ formPhone: "Enter your phone number",
768
+ formPhonePlaceholder: "Phone number",
769
+ formEmail: "Enter your email address",
770
+ formEmailHelp: "Your kundli report will be sent to your email",
771
+ formEmailPlaceholder: "Email address",
772
+ formDob: "Enter your date of birth",
773
+ formDobInfo: "This helps us calculate exact planetary position in your birth chart",
774
+ formBirthTime: "Enter your birth time",
775
+ formBirthTimeInfo: "This helps us calculate exact planetary position in your birth chart",
776
+ formBirthTimeUnknownLine1: "Don't know your exact birth time?",
777
+ formBirthTimeUnknownLine2: "We can analyze with 80% accuracy",
778
+ formBirthPlace: "Enter your birth place",
779
+ formBirthPlaceInfo: "This helps us calculate exact planetary position in your birth chart",
780
+ formBirthPlacePlaceholder: "City, State",
781
+ formOfferEnding: "The offer is ending soon",
782
+ formDiscountPill: "75% discount",
783
+ formProceed: "Proceed to payment ",
784
+ formOriginalPrice: "$100",
785
+ formDiscountedPrice: "$25",
786
+ formPriceAria: "Price"
787
+ },
788
+ hi: {
789
+ kundli: "कुंडली",
790
+ birthChart: "जन्म कुंडली",
791
+ details: "विवरण",
792
+ name: "नाम",
793
+ birthDate: "जन्म तिथि",
794
+ guest: "अतिथि",
795
+ description: "आपकी जन्म कुंडली आपके जन्म के समय ग्रहों की स्थिति और आपके जीवन पर उनके प्रभाव को दर्शाती है।",
796
+ lagna: "लग्न",
797
+ rashi: "राशि",
798
+ nakshatra: "नक्षत्र",
799
+ language: "भाषा",
800
+ sriMandir: "श्री मंदिर",
801
+ ratingText: "4.9/5 (8 लाख Google Playstore)",
802
+ heroTitle: "अपनी प्रीमियम व्यक्तिगत कुंडली रिपोर्ट प्राप्त करें",
803
+ heroSubtitle: "यह प्रीमियम व्यक्तिगत कुंडली रिपोर्ट आपको प्रमुख जीवन मुद्दों के जवाब खोजने में मदद करती है।",
804
+ topicMarriage: "विवाह",
805
+ topicRelationship: "रिश्ता",
806
+ topicBusiness: "व्यवसाय",
807
+ topicHealth: "स्वास्थ्य",
808
+ topicCareer: "करियर",
809
+ topicEducation: "शिक्षा",
810
+ topicMoney: "पैसा",
811
+ premiumHeadline: "200+ पृष्ठ प्रीमियम व्यक्तिगत कुंडली रिपोर्ट",
812
+ premiumHeadlinePill1: "200+ पृष्ठ",
813
+ premiumHeadlinePlain1: "प्रीमियम",
814
+ premiumHeadlinePlain2: "व्यक्तिगत",
815
+ premiumHeadlinePill2: "कुंडली रिपोर्ट",
816
+ premiumFeature1: "वैदिक जन्म कुंडली",
817
+ premiumFeature2: "भाग्य जानकारी",
818
+ premiumFeature3: "प्रमुख जीवन मुद्दे",
819
+ premiumFeature4: "व्यावहारिक उपाय",
820
+ certifiedBy: "BHU और VHU ज्योतिषियों द्वारा प्रमाणित",
821
+ yourThreeSteps: "आपके 3 कदम",
822
+ threeStepsSubtitle: "प्रीमियम व्यक्तिगत कुंडली रिपोर्ट",
823
+ step1: "अपनी जानकारी दर्ज करें",
824
+ step2: "आपकी कुंडली विशेषज्ञों द्वारा बनाई जाएगी",
825
+ step3Intro: "आपको व्हाट्सएप पर अपनी कुंडली रिपोर्ट मिलेगी",
826
+ step3IntroGlobal: "आपको अपने ईमेल पर अपनी कुंडली रिपोर्ट मिलेगी",
827
+ step3IntroDomestic: "आपको व्हाट्सएप पर अपनी कुंडली रिपोर्ट मिलेगी",
828
+ step3Days: "2 दिनों में",
829
+ viewSampleReport: "नमूना कुंडली रिपोर्ट देखें",
830
+ sampleReportModalTitle: "नमूना कुंडली रिपोर्ट",
831
+ whatYoullFindTitle: "आपकी कुंडली रिपोर्ट में क्या मिलेगा?",
832
+ findDasha: "दोष और दशा का विश्लेषण",
833
+ findDashaDesc: "मुख्य दोष, दशा काल और सरल उपायों की पहचान करें",
834
+ findYoga: "सभी योग रिपोर्ट्स",
835
+ findYogaDesc: "अपनी कुंडली रिपोर्ट में उन योगों को जानें जो धन, करियर और संबंधों को प्रभावित करते हैं",
836
+ findGemstone: "रत्न सिफारिशें",
837
+ findGemstoneDesc: "आपकी कुंडली रिपोर्ट के आधार पर पर्सनलाइज्ड रत्न मार्गदर्शन",
838
+ findPooja: "पूजा सिफारिशें",
839
+ findPoojaDesc: "ग्रहों के प्रभाव को संतुलित करने के लिए पूजा और अनुष्ठान सुझाव",
840
+ findMonthly: "मासिक भविष्यवाणियाँ (1 वर्ष)",
841
+ findMonthlyDesc: "आने वाले वर्ष के लिए महीने-दर-महीने मार्गदर्शन",
842
+ findStrength: "भावबल ग्राफ",
843
+ findStrengthDesc: "ग्रहों की ताकत और प्रभाव दिखाने वाले दृश्य चार्ट",
844
+ whyUsTitle: "क्यों हम?",
845
+ whyUsSubtitle: "शुरू करने के लिए फॉर्म भरें और अपना भाग्य खोलें!",
846
+ whyUs1: "3,00,000+ कुंडली रिपोर्ट बनाई गई",
847
+ whyUs2: "1,000+ शीर्ष ज्योतिषी भागीदार",
848
+ whyUs3: "500+ मंदिर भागीदारी",
849
+ whyUs4: "व्यक्तिगत खंडवार जीवन विश्लेषण",
850
+ feedbackTitle: "हमारे उपयोगकर्ताओं की प्रतिक्रिया",
851
+ feedbackTrust: "दुनिया भर में 5 करोड़ से अधिक उपयोगकर्ताओं द्वारा विश्वसनीय",
852
+ feedbackRating: "4.9",
853
+ feedbackTestimonial1: "डिटेल्ड कुंडली रिपोर्ट मिली, जीवन में काफी क्लैरिटी आई।",
854
+ feedbackTestimonial2: "करियर और शादी दोनों पर साफ मार्गदर्शन मिला।",
855
+ feedbackTestimonial3: "आगे क्या करना है, उसकी साफ दिशा मिली।",
856
+ feedbackTestimonial4: "रिपोर्ट से ज़्यादातर डाउट्स क्लियर हो गए।",
857
+ feedbackTestimonial5: "फ्यूचर प्लानिंग के लिए अच्छे सुझाव मिले।",
858
+ feedbackTestimonial6: "सभी ज़रूरी चीज़ें अच्छे से कवर की गई हैं।",
859
+ feedbackTestimonial7: "एनालिसिस काफी डीप है, ऊपर-ऊपर का नहीं।",
860
+ feedbackTestimonial8: "कुंडली के सुझावों से फ्यूचर डिसीजन क्लियर हुए।",
861
+ feedbackTestimonial9: "मैंने पहले भी कई सामान्य ज्योतिष रिपोर्ट देखी थीं, लेकिन यह कुंडली रिपोर्ट अलग लगी। इसमें मेरी ज़िंदगी की परेशानियों, सोचने के तरीके और पिछले कुछ सालों की स्थितियों को बहुत सही तरीके से बताया गया था। कई बातें पढ़कर ऐसा लगा जैसे किसी ने मेरी हालत को पहले से समझ लिया हो। सबसे खास बात यह थी कि सब कुछ साफ़ और समझने वाली भाषा में लिखा था, जिससे भरोसा और बढ़ गया।",
862
+ feedbackTestimonial10: "मैंने यह कुंडली रिपोर्ट सिर्फ़ जिज्ञासा में ली थी, लेकिन पढ़ने के बाद सच में हैरान रह गया। मेरे काम में रुकावट, मन का असमंजस और फैसले लेने की परेशानी जैसी बातें बिल्कुल सही बताई गई थीं। ऐसा लगा जैसे मेरी ज़िंदगी की असली स्थिति को ठीक से समझकर लिखा गया हो। रिपोर्ट पढ़कर कई चीज़ें साफ़ समझ में आने लगीं।",
863
+ feedbackTestimonial11: "बहुत ही विस्तार से बनी हुई कुंडली रिपोर्ट थी। इसमें मेरे स्वभाव, सोच और जिन समस्याओं से मैं गुजर रहा था, उन सबका ज़िक्र था। कुछ बातें इतनी मिलती-जुलती थीं कि पढ़कर सच में आश्चर्य हुआ। यह सिर्फ़ सामान्य जानकारी नहीं थी, बल्कि मेरी अपनी ज़िंदगी से जुड़ी हुई लगी।",
864
+ feedbackTestimonial12: "सच कहूँ तो मुझे ज़्यादा उम्मीद नहीं थी, लेकिन रिपोर्ट पढ़ने के बाद नज़रिया बदल गया। इसमें मेरे व्यक्तित्व, काम के उतार-चढ़ाव और मन की उलझनों को बहुत सही तरीके से समझाया गया था। कई हिस्से ऐसे थे जो मेरी वर्तमान स्थिति से बिल्कुल मेल खाते थे। पूरा पढ़ने के बाद लगा कि यह रिपोर्ट सच में मेरे लिए ही बनाई गई है।",
865
+ feedbackTestimonial13: "मैंने कुंडली रिपोर्ट घरवालों के कहने पर ली थी, लेकिन पढ़ने के बाद खुद हैरान रह गया। मेरे स्वभाव, पिछले अनुभवों और चल रही परेशानियों के बारे में कई बातें बिल्कुल सही निकलीं। ऐसा लगा जैसे किसी ने मेरी ज़िंदगी को ध्यान से समझकर लिखा हो। इस वजह से रिपोर्ट पर भरोसा अपने-आप बन गया।",
866
+ feedbackTestimonial14: "आसान भाषा में पूरा डिटेल्ड एनालिसिस दिया है।",
867
+ feedbackTestimonial15: "दशा और टाइमिंग की जानकारी बहुत काम की थी।",
868
+ feedbackAuthor1: "आरव",
869
+ feedbackAuthor2: "विवान",
870
+ feedbackAuthor3: "अर्जुन",
871
+ feedbackAuthor4: "कबीर",
872
+ feedbackAuthor5: "रोहन",
873
+ feedbackAuthor6: "ईशान",
874
+ feedbackAuthor7: "कृष",
875
+ feedbackAuthor8: "राहुल",
876
+ feedbackAuthor9: "अनन्या",
877
+ feedbackAuthor10: "आध्या",
878
+ feedbackAuthor11: "काव्या",
879
+ feedbackAuthor12: "दिया",
880
+ feedbackAuthor13: "मीरा",
881
+ feedbackAuthor14: "पूजा",
882
+ feedbackAuthor15: "निशा",
883
+ feedbackAuthor1AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639271096.png",
884
+ feedbackAuthor2AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639330970.png",
885
+ feedbackAuthor3AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639345411.png",
886
+ feedbackAuthor4AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639358174.png",
887
+ feedbackAuthor5AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639369712.png",
888
+ feedbackAuthor6AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639381899.png",
889
+ feedbackAuthor7AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639442858.png",
890
+ feedbackAuthor8AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639454626.png",
891
+ feedbackAuthor9AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639254172.png",
892
+ feedbackAuthor10AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639293055.png",
893
+ feedbackAuthor11AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639306698.png",
894
+ feedbackAuthor12AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639319028.png",
895
+ feedbackAuthor13AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639402894.png",
896
+ feedbackAuthor14AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639416587.png",
897
+ feedbackAuthor15AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639427379.png",
898
+ readMoreReviews: "और समीक्षाएं पढ़ें",
899
+ readLess: "कम पढ़ें",
900
+ faqTitle: "अक्सर पूछे जाने वाले प्रश्न",
901
+ faqQ1: "मुझे अपनी कुंडली रिपोर्ट कैसे मिलेगी?",
902
+ faqQ2: "क्या प्रीमियम पर्सनलाइज्ड कुंडली किसी और भाषा में उपलब्ध है?",
903
+ faqQ3: "अगर मुझे अपने जन्म का समय नहीं पता हो तो?",
904
+ faqA1Global: "आपको 2 दिनों के भीतर आपके साझा किए गए ईमेल आईडी पर आपकी प्रीमियम पर्सनलाइज्ड कुंडली रिपोर्ट मिल जाएगी।",
905
+ faqA1Domestic: "आपको 2 दिनों के भीतर आपके साझा किए गए व्हाट्सऐप नंबर पर आपकी प्रीमियम पर्सनलाइज्ड कुंडली रिपोर्ट मिल जाएगी।",
906
+ faqA2: "हाँ, हम रिपोर्ट हिंदी और अंग्रेज़ी भाषाओं में प्रदान करते हैं।",
907
+ faqA3: "सही जन्म समय से रिपोर्ट और अधिक सटीक बनती है। फिर भी, बिना सटीक समय के हम लगभग 80% सटीक रिपोर्ट तैयार कर सकते हैं।",
908
+ contactTitle: "संपर्क करें",
909
+ contactBrandName: "श्री मंदिर",
910
+ contactWhatsAppGlobal: "व्हाट्सएप: 8296947757",
911
+ contactWhatsAppDomestic: "व्हाट्सएप: 08071174417",
912
+ contactEmail: "ईमेल: pujaseva@appsforbharat.com",
913
+ ctaKundliCreated: "3L+ कुंडली रिपोर्ट बनाई।",
914
+ ctaCertified: "BHU प्रमाणित ज्योतिषी।",
915
+ ctaSecurePayment: "सुरक्षित भुगतान।",
916
+ ctaButton: "$300 $25 में मेरी विस्तृत कुंडली प्राप्त करें",
917
+ ctaButtonStruck: "$100",
918
+ ctaButtonBefore: "मेरा विस्तृत कुंडली प्राप्त करें ",
919
+ ctaButtonAfter: "$25 में मेरी विस्तृत कुंडली प्राप्त करें",
920
+ // Kundli form (from incoming branch)
921
+ back: "वापस",
922
+ info: "जानकारी",
923
+ formTitle: "अपनी जानकारी दर्ज करें",
924
+ formSubtitle: "शुरू करने के लिए नीचे दिया गया फॉर्म भरें और अपना भाग्य खोलें!",
925
+ formFullName: "अपना पूरा नाम दर्ज करें",
926
+ formFullNamePlaceholder: "पूरा नाम",
927
+ formPhone: "अपना फोन नंबर दर्ज करें",
928
+ formPhonePlaceholder: "फोन नंबर",
929
+ formEmail: "अपना ईमेल पता दर्ज करें",
930
+ formEmailHelp: "आपकी कुंडली रिपोर्ट आपके ईमेल पर भेजी जाएगी",
931
+ formEmailPlaceholder: "ईमेल पता",
932
+ formDob: "अपनी जन्म तिथि दर्ज करें",
933
+ formDobInfo: "यह आपके जन्म कुंडली में ग्रहों की सटीक स्थिति की गणना करने में हमारी सहायता करता है।",
934
+ formBirthTime: "अपना जन्म समय दर्ज करें",
935
+ formBirthTimeInfo: "यह आपके जन्म कुंडली में ग्रहों की सटीक स्थिति की गणना करने में हमारी सहायता करता है।",
936
+ formBirthTimeUnknownLine1: "क्या आपको अपना सटीक जन्म समय नहीं पता?",
937
+ formBirthTimeUnknownLine2: "हम 80% सटीकता के साथ विश्लेषण कर सकते हैं",
938
+ formBirthPlace: "अपना जन्म स्थान दर्ज करें",
939
+ formBirthPlaceInfo: "यह आपके जन्म कुंडली में ग्रहों की सटीक स्थिति की गणना करने में हमारी सहायता करता है।",
940
+ formBirthPlacePlaceholder: "शहर, राज्य",
941
+ formOfferEnding: "ऑफर जल्द खत्म हो रहा है",
942
+ formDiscountPill: "75% छूट",
943
+ formProceed: "भुगतान के लिए आगे बढ़ें",
944
+ formOriginalPrice: "$100",
945
+ formDiscountedPrice: "$25",
946
+ formPriceAria: "कीमत"
947
+ }
948
+ }, Pt = Nt(null), bo = ({
949
+ locale: n,
950
+ children: r
951
+ }) => {
952
+ const d = { locale: n, t: (o) => Qe[n]?.[o] ?? o };
953
+ return /* @__PURE__ */ e.jsx(Pt.Provider, { value: d, children: r });
954
+ };
955
+ function Tt() {
956
+ return Ve(Pt);
957
+ }
958
+ const gn = "_container_1e1th_1", _n = "_main_1e1th_7", bn = "_kundliHeaderNoBorder_1e1th_12", yn = "_headerSeparator_1e1th_16", vn = "_langDropdownWrap_1e1th_21", kn = "_langTrigger_1e1th_25", xn = "_langIcon_1e1th_37", wn = "_langLabel_1e1th_44", jn = "_langMenu_1e1th_49", Nn = "_langOption_1e1th_55", oe = {
959
+ container: gn,
960
+ main: _n,
961
+ kundliHeaderNoBorder: bn,
962
+ headerSeparator: yn,
963
+ langDropdownWrap: vn,
964
+ langTrigger: kn,
965
+ langIcon: xn,
966
+ langLabel: wn,
967
+ langMenu: jn,
968
+ langOption: Nn
969
+ };
970
+ function Pn(n) {
971
+ if (typeof window > "u" || !window.localStorage)
972
+ return null;
973
+ try {
974
+ return window.localStorage.getItem(n);
975
+ } catch {
976
+ return null;
977
+ }
978
+ }
979
+ function Tn(n, r) {
980
+ if (!(typeof window > "u" || !window.localStorage))
981
+ try {
982
+ window.localStorage.setItem(n, r);
983
+ } catch {
984
+ }
985
+ }
986
+ function yo(n) {
987
+ if (!(typeof window > "u" || !window.localStorage))
988
+ try {
989
+ window.localStorage.removeItem(n);
990
+ } catch {
991
+ }
992
+ }
993
+ function vo() {
994
+ if (typeof window > "u" || !window.localStorage)
995
+ return !1;
996
+ try {
997
+ const n = "__kundli_storage_test__";
998
+ return window.localStorage.setItem(n, "1"), window.localStorage.removeItem(n), !0;
999
+ } catch {
1000
+ return !1;
1001
+ }
1002
+ }
1003
+ const At = "kundli_language";
1004
+ function An() {
1005
+ const n = Pn(At);
1006
+ return n && ze.includes(n) ? n : null;
1007
+ }
1008
+ function En(n) {
1009
+ Tn(At, n);
1010
+ }
1011
+ const Je = Nt(null), In = {
1012
+ fullName: "",
1013
+ phone: "",
1014
+ email: "",
1015
+ dateOfBirth: "",
1016
+ birthTime: "",
1017
+ birthTimeUnknown: !1,
1018
+ birthPlace: ""
1019
+ }, Cn = ({
1020
+ locale: n,
1021
+ showLanguageSelector: r = !0,
1022
+ userId: l,
1023
+ isGlobal: d,
1024
+ logoUrl: o,
1025
+ reportImageUrl: h,
1026
+ universityLogoUrls: f,
1027
+ sampleReportHref: u,
1028
+ onViewSampleReport: c,
1029
+ ctaHref: b,
1030
+ onCtaClick: p,
1031
+ onBack: _,
1032
+ readMoreReviewsHref: x,
1033
+ onProceed: T,
1034
+ proceedHref: j,
1035
+ originalPriceLabel: y,
1036
+ discountedPriceLabel: w,
1037
+ discountPillLabel: S,
1038
+ analytics: v,
1039
+ onLocaleChange: A,
1040
+ children: M
1041
+ }) => {
1042
+ const [I, z] = K("landing"), [D, Y] = K(n ?? "en"), [O, H] = K(In), X = q(!0);
1043
+ G(() => {
1044
+ const ue = An();
1045
+ ue && Y(ue);
1046
+ }, []), G(() => {
1047
+ En(D);
1048
+ }, [D]), G(() => {
1049
+ if (X.current) {
1050
+ X.current = !1;
1051
+ return;
1052
+ }
1053
+ A?.(D);
1054
+ }, [D, A]);
1055
+ const B = Fe(
1056
+ () => ({
1057
+ locale: n,
1058
+ showLanguageSelector: r,
1059
+ userId: l,
1060
+ isGlobal: d,
1061
+ logoUrl: o,
1062
+ reportImageUrl: h,
1063
+ universityLogoUrls: f,
1064
+ sampleReportHref: u,
1065
+ onViewSampleReport: c,
1066
+ ctaHref: b,
1067
+ onCtaClick: p,
1068
+ onBack: _,
1069
+ readMoreReviewsHref: x,
1070
+ onProceed: T,
1071
+ proceedHref: j,
1072
+ originalPriceLabel: y,
1073
+ discountedPriceLabel: w,
1074
+ discountPillLabel: S,
1075
+ analytics: v,
1076
+ onLocaleChange: A
1077
+ }),
1078
+ [
1079
+ n,
1080
+ r,
1081
+ l,
1082
+ d,
1083
+ o,
1084
+ h,
1085
+ f,
1086
+ u,
1087
+ c,
1088
+ b,
1089
+ p,
1090
+ _,
1091
+ x,
1092
+ T,
1093
+ j,
1094
+ y,
1095
+ w,
1096
+ S,
1097
+ v,
1098
+ A
1099
+ ]
1100
+ ), U = Te(() => {
1101
+ z("form");
1102
+ }, [B.analytics]), V = Te(() => {
1103
+ z("landing"), B.onBack?.();
1104
+ }, [B.onBack]), ee = Fe(
1105
+ () => ({
1106
+ view: I,
1107
+ locale: D,
1108
+ setLocale: Y,
1109
+ config: B,
1110
+ formValues: O,
1111
+ setFormValues: H,
1112
+ goToForm: U,
1113
+ goToPage: V,
1114
+ onProceed: B.onProceed
1115
+ }),
1116
+ [I, D, B, O, U, V]
1117
+ );
1118
+ return /* @__PURE__ */ e.jsx(Je.Provider, { value: ee, children: M });
1119
+ };
1120
+ function ke() {
1121
+ return Ve(Je);
1122
+ }
1123
+ function Et() {
1124
+ const n = Ve(Je);
1125
+ if (!n)
1126
+ throw new Error("useKundliContextOrThrow must be used within KundliProvider");
1127
+ return n;
1128
+ }
1129
+ const Sn = "_header_1414z_1", Rn = "_left_1414z_7", Ln = "_backBtn_1414z_11", $n = "_titleWrap_1414z_21", Dn = "_title_1414z_21", On = "_subtitle_1414z_32", Bn = "_backIcon_1414z_38", ve = {
1130
+ header: Sn,
1131
+ left: Rn,
1132
+ backBtn: Ln,
1133
+ titleWrap: $n,
1134
+ title: Dn,
1135
+ subtitle: On,
1136
+ backIcon: Bn
1137
+ }, Fn = () => /* @__PURE__ */ e.jsx(
1138
+ "svg",
1139
+ {
1140
+ className: ve.backIcon,
1141
+ viewBox: "0 0 24 24",
1142
+ fill: "none",
1143
+ xmlns: "http://www.w3.org/2000/svg",
1144
+ "aria-hidden": !0,
1145
+ children: /* @__PURE__ */ e.jsx(
1146
+ "path",
1147
+ {
1148
+ d: "M15 18l-6-6 6-6",
1149
+ stroke: "currentColor",
1150
+ strokeWidth: "2",
1151
+ strokeLinecap: "round",
1152
+ strokeLinejoin: "round"
1153
+ }
1154
+ )
1155
+ }
1156
+ ), Mn = ({
1157
+ t: n,
1158
+ onBack: r,
1159
+ className: l = ""
1160
+ }) => /* @__PURE__ */ e.jsx("header", { className: `${ve.header} ${l}`, children: /* @__PURE__ */ e.jsxs("div", { className: ve.left, children: [
1161
+ /* @__PURE__ */ e.jsx(
1162
+ "button",
1163
+ {
1164
+ type: "button",
1165
+ className: ve.backBtn,
1166
+ onClick: r,
1167
+ "aria-label": n("back"),
1168
+ children: /* @__PURE__ */ e.jsx(Fn, {})
1169
+ }
1170
+ ),
1171
+ /* @__PURE__ */ e.jsxs("div", { className: ve.titleWrap, children: [
1172
+ /* @__PURE__ */ e.jsx("h1", { className: ve.title, children: n("formTitle") }),
1173
+ /* @__PURE__ */ e.jsx("p", { className: ve.subtitle, children: n("formSubtitle") })
1174
+ ] })
1175
+ ] }) }), Un = "_wrap_1wp0p_1", Wn = "_card_1wp0p_5", qn = "_cardInner_1wp0p_12", Kn = "_field_1wp0p_16", Gn = "_labelRow_1wp0p_20", Hn = "_label_1wp0p_20", Yn = "_req_1wp0p_29", Vn = "_help_1wp0p_33", zn = "_infoBtn_1wp0p_40", Qn = "_infoImg_1wp0p_57", Jn = "_infoWrap_1wp0p_63", Xn = "_tooltip_1wp0p_69", Zn = "_tooltipArrow_1wp0p_85", ea = "_inputWrap_1wp0p_96", ta = "_suggestions_1wp0p_100", na = "_suggestionItem_1wp0p_113", aa = "_suggestionMain_1wp0p_131", ra = "_suggestionSecondary_1wp0p_137", ia = "_suggestionsHint_1wp0p_142", oa = "_timePopover_1wp0p_157", sa = "_timePickerRow_1wp0p_173", ca = "_timePickerSelect_1wp0p_179", la = "_timePickerColon_1wp0p_195", da = "_meridiemToggle_1wp0p_203", ua = "_meridiemBtn_1wp0p_212", ma = "_meridiemActive_1wp0p_227", pa = "_timePopoverActions_1wp0p_232", ha = "_timePopoverBtn_1wp0p_238", fa = "_timePopoverOk_1wp0p_257", ga = "_input_1wp0p_96", _a = "_iconBtn_1wp0p_301", ba = "_iconBtnInteractive_1wp0p_307", ya = "_iconImg_1wp0p_326", va = "_checkboxRow_1wp0p_332", ka = "_checkbox_1wp0p_332", xa = "_checkboxText_1wp0p_370", s = {
1176
+ wrap: Un,
1177
+ card: Wn,
1178
+ cardInner: qn,
1179
+ field: Kn,
1180
+ labelRow: Gn,
1181
+ label: Hn,
1182
+ req: Yn,
1183
+ help: Vn,
1184
+ infoBtn: zn,
1185
+ infoImg: Qn,
1186
+ infoWrap: Jn,
1187
+ tooltip: Xn,
1188
+ tooltipArrow: Zn,
1189
+ inputWrap: ea,
1190
+ suggestions: ta,
1191
+ suggestionItem: na,
1192
+ suggestionMain: aa,
1193
+ suggestionSecondary: ra,
1194
+ suggestionsHint: ia,
1195
+ timePopover: oa,
1196
+ timePickerRow: sa,
1197
+ timePickerSelect: ca,
1198
+ timePickerColon: la,
1199
+ meridiemToggle: da,
1200
+ meridiemBtn: ua,
1201
+ meridiemActive: ma,
1202
+ timePopoverActions: pa,
1203
+ timePopoverBtn: ha,
1204
+ timePopoverOk: fa,
1205
+ input: ga,
1206
+ iconBtn: _a,
1207
+ iconBtnInteractive: ba,
1208
+ iconImg: ya,
1209
+ checkboxRow: va,
1210
+ checkbox: ka,
1211
+ checkboxText: xa
1212
+ };
1213
+ let Be = null;
1214
+ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Be || (Be = new Promise((l, d) => {
1215
+ const o = document.querySelector(
1216
+ 'script[data-google-maps-places="true"]'
1217
+ );
1218
+ if (o) {
1219
+ o.addEventListener("load", () => l()), o.addEventListener(
1220
+ "error",
1221
+ () => d(new Error("Failed to load Google Maps API"))
1222
+ );
1223
+ return;
1224
+ }
1225
+ const h = document.createElement("script"), f = new URL("https://maps.googleapis.com/maps/api/js");
1226
+ f.searchParams.set("key", n), f.searchParams.set("libraries", "places"), f.searchParams.set("loading", "async"), r && f.searchParams.set("language", r), h.src = f.toString(), h.async = !0, h.defer = !0, h.setAttribute("data-google-maps-places", "true"), h.onload = () => {
1227
+ const u = Date.now(), c = () => {
1228
+ if (window.google?.maps?.places) {
1229
+ l();
1230
+ return;
1231
+ }
1232
+ if (Date.now() - u > 2e3) {
1233
+ d(
1234
+ new Error(
1235
+ "Google Maps loaded but Places library is unavailable. Check API key restrictions / enabled APIs."
1236
+ )
1237
+ );
1238
+ return;
1239
+ }
1240
+ window.setTimeout(c, 50);
1241
+ };
1242
+ c();
1243
+ }, h.onerror = () => d(new Error("Failed to load Google Maps API")), document.head.appendChild(h);
1244
+ }), Be), ja = (n) => {
1245
+ const { apiKey: r, language: l = "en", restrictCountry: d } = n, [o, h] = K(!1), [f, u] = K([]), [c, b] = K(!1), [p, _] = K(null), x = q(null), T = q(null), j = q(null);
1246
+ G(() => {
1247
+ if (!r) {
1248
+ h(!1), _(null);
1249
+ return;
1250
+ }
1251
+ wa(r, l).then(() => {
1252
+ x.current = new google.maps.places.AutocompleteService();
1253
+ const v = document.createElement("div");
1254
+ T.current = new google.maps.places.PlacesService(v), j.current = new google.maps.places.AutocompleteSessionToken(), h(!0), _(null);
1255
+ }).catch((v) => {
1256
+ h(!1), _(v?.message || "Failed to load location service");
1257
+ });
1258
+ }, [r, l]);
1259
+ const y = Te(
1260
+ async (v) => {
1261
+ if (!v || v.length < 2 || !x.current) {
1262
+ u([]);
1263
+ return;
1264
+ }
1265
+ b(!0);
1266
+ try {
1267
+ const A = {
1268
+ input: v,
1269
+ types: ["(cities)"],
1270
+ sessionToken: j.current ?? void 0
1271
+ };
1272
+ d && (A.componentRestrictions = { country: d });
1273
+ const M = await new Promise((I, z) => {
1274
+ x.current.getPlacePredictions(
1275
+ A,
1276
+ (D, Y) => {
1277
+ Y === google.maps.places.PlacesServiceStatus.OK && D ? I(D) : Y === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? I([]) : z(new Error(`Places API error: ${Y}`));
1278
+ }
1279
+ );
1280
+ });
1281
+ u(
1282
+ M.map((I) => ({
1283
+ place_id: I.place_id,
1284
+ description: I.description,
1285
+ structured_formatting: {
1286
+ main_text: I.structured_formatting?.main_text || I.description,
1287
+ secondary_text: I.structured_formatting?.secondary_text || ""
1288
+ }
1289
+ }))
1290
+ );
1291
+ } catch {
1292
+ u([]);
1293
+ } finally {
1294
+ b(!1);
1295
+ }
1296
+ },
1297
+ [d]
1298
+ ), w = Te(
1299
+ async (v) => {
1300
+ if (!T.current) return null;
1301
+ try {
1302
+ const A = await new Promise(
1303
+ (O, H) => {
1304
+ T.current.getDetails(
1305
+ {
1306
+ placeId: v,
1307
+ fields: ["geometry", "address_components", "formatted_address"],
1308
+ sessionToken: j.current ?? void 0
1309
+ },
1310
+ (X, B) => {
1311
+ B === google.maps.places.PlacesServiceStatus.OK && X ? O(X) : H(new Error(`Place details error: ${B}`));
1312
+ }
1313
+ );
1314
+ }
1315
+ );
1316
+ j.current = new google.maps.places.AutocompleteSessionToken();
1317
+ const M = A.geometry?.location?.lat() || 0, I = A.geometry?.location?.lng() || 0;
1318
+ let z = "", D = "", Y = "";
1319
+ return A.address_components?.forEach((O) => {
1320
+ O.types.includes("locality") && (z = O.long_name), O.types.includes("administrative_area_level_1") && (D = O.long_name), O.types.includes("country") && (Y = O.long_name);
1321
+ }), {
1322
+ display_name: A.formatted_address || "",
1323
+ lat: M,
1324
+ lng: I,
1325
+ city: z,
1326
+ state: D,
1327
+ country: Y
1328
+ };
1329
+ } catch {
1330
+ return null;
1331
+ }
1332
+ },
1333
+ []
1334
+ ), S = Te(() => u([]), []);
1335
+ return {
1336
+ isLoaded: o,
1337
+ predictions: f,
1338
+ isSearching: c,
1339
+ loadError: p,
1340
+ searchPlaces: y,
1341
+ getPlaceDetails: w,
1342
+ clearPredictions: S
1343
+ };
1344
+ }, Na = {}, Ne = {
1345
+ time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
1346
+ location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
1347
+ date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
1348
+ info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
1349
+ }, Pa = ({
1350
+ t: n,
1351
+ values: r,
1352
+ onChange: l,
1353
+ analytics: d,
1354
+ googleMapsApiKey: o,
1355
+ className: h = ""
1356
+ }) => {
1357
+ const f = ke(), u = f?.config?.analytics ?? d, c = f?.config.isGlobal ?? !0, b = q({}), p = (a) => l({ ...r, ...a }), _ = (a, g) => {
1358
+ g.trim() && !b.current[a] && (b.current[a] = !0, {
1359
+ fullName: () => u?.trackNameSectionFilled?.(),
1360
+ phone: () => u?.trackPhoneSectionFilled?.(),
1361
+ email: () => u?.trackEmailSectionFilled?.(),
1362
+ dateOfBirth: () => u?.trackDobFilled?.(),
1363
+ birthTime: () => u?.trackTimeFilled?.(),
1364
+ birthPlace: () => u?.trackPlaceOfBirthChosen?.()
1365
+ }[a]?.());
1366
+ }, x = (a) => a.replace(/\D/g, "").slice(0, 10), T = q(null);
1367
+ q(null);
1368
+ const j = q(null), y = q(0), w = q(null), [S, v] = K(!1), [A, M] = K({ hour12: 12, minute: "00", meridiem: "AM" }), I = (a) => String(a).padStart(2, "0"), z = (a) => {
1369
+ const g = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
1370
+ if (!g) return a;
1371
+ const $ = Number(g[1]), te = g[2], me = $ >= 12 ? "PM" : "AM";
1372
+ return `${$ % 12 === 0 ? 12 : $ % 12}:${te} ${me}`;
1373
+ }, D = (a) => {
1374
+ const g = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
1375
+ if (!g) return { hour12: 12, minute: "00", meridiem: "AM" };
1376
+ const $ = Number(g[1]), te = g[2], me = $ >= 12 ? "PM" : "AM";
1377
+ return { hour12: $ % 12 === 0 ? 12 : $ % 12, minute: te, meridiem: me };
1378
+ }, Y = (a) => {
1379
+ const g = Math.min(12, Math.max(1, a.hour12)), $ = /^([0-5]\d)$/.test(a.minute) ? a.minute : "00";
1380
+ let te = g % 12;
1381
+ return a.meridiem === "PM" && (te += 12), `${I(te)}:${$}`;
1382
+ }, O = q(null), [H, X] = K(!1), [B, U] = K(
1383
+ null
1384
+ ), V = o ?? Na?.VITE_GOOGLE_MAPS_API_KEY, ee = (r.birthPlace ?? "").trim(), ue = c ? void 0 : "in", xe = "en", {
1385
+ predictions: he,
1386
+ isSearching: fe,
1387
+ loadError: ge,
1388
+ searchPlaces: _e,
1389
+ clearPredictions: ie
1390
+ } = ja({
1391
+ apiKey: V,
1392
+ language: xe,
1393
+ restrictCountry: ue
1394
+ });
1395
+ G(() => {
1396
+ const a = (g) => {
1397
+ O.current && (O.current.contains(g.target) || X(!1));
1398
+ };
1399
+ return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
1400
+ }, []), G(() => {
1401
+ if (!H) return;
1402
+ if (ee.length < 2) {
1403
+ ie();
1404
+ return;
1405
+ }
1406
+ const a = window.setTimeout(async () => {
1407
+ await _e(ee);
1408
+ }, 250);
1409
+ return () => window.clearTimeout(a);
1410
+ }, [ie, H, ee, _e]);
1411
+ const be = (a) => {
1412
+ const g = a.current;
1413
+ if (!(!g || g.disabled)) {
1414
+ if (document.activeElement === g && j.current === g && Date.now() - y.current < 6e4) {
1415
+ g.blur();
1416
+ return;
1417
+ }
1418
+ if (typeof g.showPicker == "function") {
1419
+ g.showPicker(), j.current = g, y.current = Date.now();
1420
+ return;
1421
+ }
1422
+ g.focus(), j.current = g, y.current = Date.now();
1423
+ }
1424
+ };
1425
+ return G(() => {
1426
+ const a = (g) => {
1427
+ w.current && (w.current.contains(g.target) || v(!1));
1428
+ };
1429
+ return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
1430
+ }, []), G(() => {
1431
+ const a = ($) => {
1432
+ $.target?.closest?.("[data-info-tooltip]") == null && U(null);
1433
+ }, g = ($) => {
1434
+ $.key === "Escape" && U(null);
1435
+ };
1436
+ return document.addEventListener("mousedown", a), document.addEventListener("keydown", g), () => {
1437
+ document.removeEventListener("mousedown", a), document.removeEventListener("keydown", g);
1438
+ };
1439
+ }, []), /* @__PURE__ */ e.jsx(
1440
+ "section",
1441
+ {
1442
+ className: `${s.wrap} ${h}`,
1443
+ "aria-label": n("formTitle"),
1444
+ children: /* @__PURE__ */ e.jsx("div", { className: s.card, children: /* @__PURE__ */ e.jsxs("div", { className: s.cardInner, children: [
1445
+ /* @__PURE__ */ e.jsxs("div", { className: s.field, children: [
1446
+ /* @__PURE__ */ e.jsx("div", { className: s.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: s.label, htmlFor: "kundli-full-name", children: [
1447
+ n("formFullName"),
1448
+ /* @__PURE__ */ e.jsx("span", { className: s.req, children: "*" })
1449
+ ] }) }),
1450
+ /* @__PURE__ */ e.jsx("div", { className: s.inputWrap, children: /* @__PURE__ */ e.jsx(
1451
+ "input",
1452
+ {
1453
+ id: "kundli-full-name",
1454
+ className: s.input,
1455
+ type: "text",
1456
+ value: r.fullName,
1457
+ onFocus: () => u?.trackNameSectionClicked?.(),
1458
+ onChange: (a) => {
1459
+ const g = a.target.value;
1460
+ p({ fullName: g }), _("fullName", g);
1461
+ },
1462
+ placeholder: n("formFullNamePlaceholder"),
1463
+ autoComplete: "name"
1464
+ }
1465
+ ) })
1466
+ ] }),
1467
+ /* @__PURE__ */ e.jsxs("div", { className: s.field, children: [
1468
+ /* @__PURE__ */ e.jsx("div", { className: s.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: s.label, htmlFor: "kundli-phone", children: [
1469
+ n("formPhone"),
1470
+ !c && /* @__PURE__ */ e.jsx("span", { className: s.req, children: "*" })
1471
+ ] }) }),
1472
+ /* @__PURE__ */ e.jsx("div", { className: s.inputWrap, children: /* @__PURE__ */ e.jsx(
1473
+ "input",
1474
+ {
1475
+ id: "kundli-phone",
1476
+ className: s.input,
1477
+ type: "tel",
1478
+ value: r.phone ?? "",
1479
+ onFocus: () => u?.trackPhoneSectionClicked?.(),
1480
+ onChange: (a) => {
1481
+ const g = a.target.value;
1482
+ p({ phone: x(g) }), _("phone", x(g));
1483
+ },
1484
+ placeholder: n("formPhonePlaceholder"),
1485
+ autoComplete: "tel",
1486
+ inputMode: "numeric",
1487
+ pattern: "[0-9]{10}",
1488
+ maxLength: 10,
1489
+ required: !c,
1490
+ "aria-required": !c
1491
+ }
1492
+ ) })
1493
+ ] }),
1494
+ c && /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: s.field, children: [
1495
+ /* @__PURE__ */ e.jsx("div", { className: s.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: s.label, htmlFor: "kundli-email", children: [
1496
+ n("formEmail"),
1497
+ /* @__PURE__ */ e.jsx("span", { className: s.req, children: "*" })
1498
+ ] }) }),
1499
+ /* @__PURE__ */ e.jsx("div", { className: s.help, children: n("formEmailHelp") }),
1500
+ /* @__PURE__ */ e.jsx("div", { className: s.inputWrap, children: /* @__PURE__ */ e.jsx(
1501
+ "input",
1502
+ {
1503
+ id: "kundli-email",
1504
+ className: s.input,
1505
+ type: "email",
1506
+ value: r.email,
1507
+ onChange: (a) => p({ email: a.target.value }),
1508
+ placeholder: n("formEmailPlaceholder"),
1509
+ autoComplete: "email",
1510
+ required: !0,
1511
+ "aria-required": !0
1512
+ }
1513
+ ) })
1514
+ ] }) }),
1515
+ /* @__PURE__ */ e.jsxs("div", { className: s.field, children: [
1516
+ /* @__PURE__ */ e.jsxs("div", { className: s.labelRow, children: [
1517
+ /* @__PURE__ */ e.jsxs("label", { className: s.label, htmlFor: "kundli-dob", children: [
1518
+ n("formDob"),
1519
+ /* @__PURE__ */ e.jsx("span", { className: s.req, children: "*" })
1520
+ ] }),
1521
+ /* @__PURE__ */ e.jsxs("div", { className: s.infoWrap, "data-info-tooltip": !0, children: [
1522
+ /* @__PURE__ */ e.jsx(
1523
+ "button",
1524
+ {
1525
+ type: "button",
1526
+ className: s.infoBtn,
1527
+ "aria-label": n("info"),
1528
+ "aria-expanded": B === "dob",
1529
+ onClick: () => {
1530
+ U((a) => a === "dob" ? null : "dob"), u?.trackInfoIconClicked?.({ fieldName: "dob" });
1531
+ },
1532
+ children: /* @__PURE__ */ e.jsx(
1533
+ "img",
1534
+ {
1535
+ className: s.infoImg,
1536
+ src: Ne.info,
1537
+ alt: "",
1538
+ "aria-hidden": !0
1539
+ }
1540
+ )
1541
+ }
1542
+ ),
1543
+ B === "dob" && /* @__PURE__ */ e.jsxs("div", { className: s.tooltip, role: "tooltip", children: [
1544
+ n("formDobInfo"),
1545
+ /* @__PURE__ */ e.jsx("span", { className: s.tooltipArrow, "aria-hidden": !0 })
1546
+ ] })
1547
+ ] })
1548
+ ] }),
1549
+ /* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, children: [
1550
+ /* @__PURE__ */ e.jsx(
1551
+ "input",
1552
+ {
1553
+ id: "kundli-dob",
1554
+ className: s.input,
1555
+ type: "date",
1556
+ ref: T,
1557
+ value: r.dateOfBirth,
1558
+ max: (() => {
1559
+ const a = /* @__PURE__ */ new Date();
1560
+ return `${a.getFullYear()}-${I(a.getMonth() + 1)}-${I(a.getDate())}`;
1561
+ })(),
1562
+ onChange: (a) => {
1563
+ const g = a.target.value, $ = /* @__PURE__ */ new Date(), te = `${$.getFullYear()}-${I($.getMonth() + 1)}-${I($.getDate())}`;
1564
+ g && g > te || (p({ dateOfBirth: g }), _("dateOfBirth", g), j.current = null);
1565
+ },
1566
+ onFocus: () => u?.trackDobClicked?.(),
1567
+ onClick: () => be(T),
1568
+ onBlur: () => {
1569
+ j.current === T.current && (j.current = null);
1570
+ }
1571
+ }
1572
+ ),
1573
+ /* @__PURE__ */ e.jsx(
1574
+ "button",
1575
+ {
1576
+ type: "button",
1577
+ className: `${s.iconBtn} ${s.iconBtnInteractive}`,
1578
+ "aria-label": "Open date picker",
1579
+ onMouseDown: (a) => a.preventDefault(),
1580
+ onClick: (a) => {
1581
+ a.preventDefault(), a.stopPropagation(), be(T);
1582
+ },
1583
+ children: /* @__PURE__ */ e.jsx(
1584
+ "img",
1585
+ {
1586
+ className: s.iconImg,
1587
+ src: Ne.date,
1588
+ alt: "",
1589
+ "aria-hidden": !0
1590
+ }
1591
+ )
1592
+ }
1593
+ )
1594
+ ] })
1595
+ ] }),
1596
+ /* @__PURE__ */ e.jsxs("div", { className: s.field, children: [
1597
+ /* @__PURE__ */ e.jsxs("div", { className: s.labelRow, children: [
1598
+ /* @__PURE__ */ e.jsxs("label", { className: s.label, htmlFor: "kundli-birth-time", children: [
1599
+ n("formBirthTime"),
1600
+ /* @__PURE__ */ e.jsx("span", { className: s.req, children: "*" })
1601
+ ] }),
1602
+ /* @__PURE__ */ e.jsxs("div", { className: s.infoWrap, "data-info-tooltip": !0, children: [
1603
+ /* @__PURE__ */ e.jsx(
1604
+ "button",
1605
+ {
1606
+ type: "button",
1607
+ className: s.infoBtn,
1608
+ "aria-label": n("info"),
1609
+ "aria-expanded": B === "time",
1610
+ onClick: () => {
1611
+ u?.trackInfoIconClicked?.({ fieldName: "time" }), U((a) => a === "time" ? null : "time");
1612
+ },
1613
+ children: /* @__PURE__ */ e.jsx(
1614
+ "img",
1615
+ {
1616
+ className: s.infoImg,
1617
+ src: Ne.info,
1618
+ alt: "",
1619
+ "aria-hidden": !0
1620
+ }
1621
+ )
1622
+ }
1623
+ ),
1624
+ B === "time" && /* @__PURE__ */ e.jsxs("div", { className: s.tooltip, role: "tooltip", children: [
1625
+ n("formBirthTimeInfo"),
1626
+ /* @__PURE__ */ e.jsx("span", { className: s.tooltipArrow, "aria-hidden": !0 })
1627
+ ] })
1628
+ ] })
1629
+ ] }),
1630
+ /* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref: w, children: [
1631
+ /* @__PURE__ */ e.jsx(
1632
+ "input",
1633
+ {
1634
+ id: "kundli-birth-time",
1635
+ className: s.input,
1636
+ type: "text",
1637
+ value: r.birthTime ? z(r.birthTime) : "",
1638
+ readOnly: !0,
1639
+ onFocus: () => u?.trackTimeClicked?.(),
1640
+ onChange: (a) => {
1641
+ const g = a.target.value;
1642
+ p({ birthTime: g }), _("birthTime", g);
1643
+ },
1644
+ disabled: r.birthTimeUnknown,
1645
+ placeholder: "HH:MM AM",
1646
+ onClick: () => {
1647
+ r.birthTimeUnknown || (M(D(r.birthTime || "12:00")), v((a) => !a));
1648
+ }
1649
+ }
1650
+ ),
1651
+ /* @__PURE__ */ e.jsx(
1652
+ "button",
1653
+ {
1654
+ type: "button",
1655
+ className: `${s.iconBtn} ${s.iconBtnInteractive}`,
1656
+ "aria-label": "Open time picker",
1657
+ disabled: r.birthTimeUnknown,
1658
+ onMouseDown: (a) => a.preventDefault(),
1659
+ onClick: (a) => {
1660
+ a.preventDefault(), a.stopPropagation(), !r.birthTimeUnknown && (M(D(r.birthTime || "12:00")), v((g) => !g));
1661
+ },
1662
+ children: /* @__PURE__ */ e.jsx(
1663
+ "img",
1664
+ {
1665
+ className: s.iconImg,
1666
+ src: Ne.time,
1667
+ alt: "",
1668
+ "aria-hidden": !0
1669
+ }
1670
+ )
1671
+ }
1672
+ ),
1673
+ S && !r.birthTimeUnknown && /* @__PURE__ */ e.jsxs(
1674
+ "div",
1675
+ {
1676
+ className: s.timePopover,
1677
+ role: "dialog",
1678
+ "aria-label": "Select time",
1679
+ children: [
1680
+ /* @__PURE__ */ e.jsxs("div", { className: s.timePickerRow, children: [
1681
+ /* @__PURE__ */ e.jsx(
1682
+ "select",
1683
+ {
1684
+ className: s.timePickerSelect,
1685
+ value: A.hour12,
1686
+ onChange: (a) => M((g) => ({
1687
+ ...g,
1688
+ hour12: Number(a.target.value)
1689
+ })),
1690
+ "aria-label": "Hour",
1691
+ children: Array.from({ length: 12 }, (a, g) => g + 1).map((a) => /* @__PURE__ */ e.jsx("option", { value: a, children: a }, a))
1692
+ }
1693
+ ),
1694
+ /* @__PURE__ */ e.jsx("span", { className: s.timePickerColon, children: ":" }),
1695
+ /* @__PURE__ */ e.jsx(
1696
+ "select",
1697
+ {
1698
+ className: s.timePickerSelect,
1699
+ value: A.minute,
1700
+ onChange: (a) => M((g) => ({ ...g, minute: a.target.value })),
1701
+ "aria-label": "Minute",
1702
+ children: Array.from({ length: 60 }, (a, g) => I(g)).map(
1703
+ (a) => /* @__PURE__ */ e.jsx("option", { value: a, children: a }, a)
1704
+ )
1705
+ }
1706
+ ),
1707
+ /* @__PURE__ */ e.jsxs("div", { className: s.meridiemToggle, "aria-label": "AM/PM", children: [
1708
+ /* @__PURE__ */ e.jsx(
1709
+ "button",
1710
+ {
1711
+ type: "button",
1712
+ className: `${s.meridiemBtn} ${A.meridiem === "AM" ? s.meridiemActive : ""}`,
1713
+ onClick: () => M((a) => ({ ...a, meridiem: "AM" })),
1714
+ children: "AM"
1715
+ }
1716
+ ),
1717
+ /* @__PURE__ */ e.jsx(
1718
+ "button",
1719
+ {
1720
+ type: "button",
1721
+ className: `${s.meridiemBtn} ${A.meridiem === "PM" ? s.meridiemActive : ""}`,
1722
+ onClick: () => M((a) => ({ ...a, meridiem: "PM" })),
1723
+ children: "PM"
1724
+ }
1725
+ )
1726
+ ] })
1727
+ ] }),
1728
+ /* @__PURE__ */ e.jsxs("div", { className: s.timePopoverActions, children: [
1729
+ /* @__PURE__ */ e.jsx(
1730
+ "button",
1731
+ {
1732
+ type: "button",
1733
+ className: s.timePopoverBtn,
1734
+ onClick: () => v(!1),
1735
+ children: "Cancel"
1736
+ }
1737
+ ),
1738
+ /* @__PURE__ */ e.jsx(
1739
+ "button",
1740
+ {
1741
+ type: "button",
1742
+ className: `${s.timePopoverBtn} ${s.timePopoverOk}`,
1743
+ onClick: () => {
1744
+ const a = Y(A);
1745
+ p({ birthTime: a }), _("birthTime", a), v(!1);
1746
+ },
1747
+ "aria-label": "OK",
1748
+ children: /* @__PURE__ */ e.jsx(
1749
+ "svg",
1750
+ {
1751
+ width: "18",
1752
+ height: "18",
1753
+ viewBox: "0 0 24 24",
1754
+ fill: "none",
1755
+ xmlns: "http://www.w3.org/2000/svg",
1756
+ "aria-hidden": !0,
1757
+ children: /* @__PURE__ */ e.jsx(
1758
+ "path",
1759
+ {
1760
+ d: "M20 6L9 17l-5-5",
1761
+ stroke: "currentColor",
1762
+ strokeWidth: "2",
1763
+ strokeLinecap: "round",
1764
+ strokeLinejoin: "round"
1765
+ }
1766
+ )
1767
+ }
1768
+ )
1769
+ }
1770
+ )
1771
+ ] })
1772
+ ]
1773
+ }
1774
+ )
1775
+ ] }),
1776
+ /* @__PURE__ */ e.jsxs("div", { className: s.checkboxRow, children: [
1777
+ /* @__PURE__ */ e.jsx(
1778
+ "input",
1779
+ {
1780
+ id: "kundli-time-unknown",
1781
+ className: s.checkbox,
1782
+ type: "checkbox",
1783
+ checked: r.birthTimeUnknown,
1784
+ onChange: (a) => {
1785
+ u?.trackTimeCheckboxClicked?.(), p({
1786
+ birthTimeUnknown: a.target.checked,
1787
+ birthTime: a.target.checked ? "" : r.birthTime
1788
+ });
1789
+ }
1790
+ }
1791
+ ),
1792
+ /* @__PURE__ */ e.jsxs(
1793
+ "label",
1794
+ {
1795
+ className: s.checkboxText,
1796
+ htmlFor: "kundli-time-unknown",
1797
+ children: [
1798
+ n("formBirthTimeUnknownLine1"),
1799
+ /* @__PURE__ */ e.jsx("br", {}),
1800
+ n("formBirthTimeUnknownLine2")
1801
+ ]
1802
+ }
1803
+ )
1804
+ ] })
1805
+ ] }),
1806
+ /* @__PURE__ */ e.jsxs("div", { className: s.field, children: [
1807
+ /* @__PURE__ */ e.jsxs("div", { className: s.labelRow, children: [
1808
+ /* @__PURE__ */ e.jsxs("label", { className: s.label, htmlFor: "kundli-birth-place", children: [
1809
+ n("formBirthPlace"),
1810
+ /* @__PURE__ */ e.jsx("span", { className: s.req, children: "*" })
1811
+ ] }),
1812
+ /* @__PURE__ */ e.jsxs("div", { className: s.infoWrap, "data-info-tooltip": !0, children: [
1813
+ /* @__PURE__ */ e.jsx(
1814
+ "button",
1815
+ {
1816
+ type: "button",
1817
+ className: s.infoBtn,
1818
+ "aria-label": n("info"),
1819
+ "aria-expanded": B === "place",
1820
+ onClick: () => {
1821
+ u?.trackInfoIconClicked?.({ fieldName: "birthPlace" }), U((a) => a === "place" ? null : "place");
1822
+ },
1823
+ children: /* @__PURE__ */ e.jsx(
1824
+ "img",
1825
+ {
1826
+ className: s.infoImg,
1827
+ src: Ne.info,
1828
+ alt: "",
1829
+ "aria-hidden": !0
1830
+ }
1831
+ )
1832
+ }
1833
+ ),
1834
+ B === "place" && /* @__PURE__ */ e.jsxs("div", { className: s.tooltip, role: "tooltip", children: [
1835
+ n("formBirthPlaceInfo"),
1836
+ /* @__PURE__ */ e.jsx("span", { className: s.tooltipArrow, "aria-hidden": !0 })
1837
+ ] })
1838
+ ] })
1839
+ ] }),
1840
+ /* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref: O, children: [
1841
+ /* @__PURE__ */ e.jsx(
1842
+ "input",
1843
+ {
1844
+ id: "kundli-birth-place",
1845
+ className: s.input,
1846
+ type: "text",
1847
+ value: r.birthPlace,
1848
+ onChange: (a) => {
1849
+ const g = a.target.value;
1850
+ p({ birthPlace: g }), _("birthPlace", g), X(!0);
1851
+ },
1852
+ onFocus: () => {
1853
+ u?.trackPlaceOfBirthClicked?.(), X(!0);
1854
+ },
1855
+ placeholder: n("formBirthPlacePlaceholder"),
1856
+ autoComplete: "address-level2"
1857
+ }
1858
+ ),
1859
+ /* @__PURE__ */ e.jsx("span", { className: s.iconBtn, "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
1860
+ "img",
1861
+ {
1862
+ className: s.iconImg,
1863
+ src: Ne.location,
1864
+ alt: "",
1865
+ "aria-hidden": !0
1866
+ }
1867
+ ) }),
1868
+ H && he.length > 0 && /* @__PURE__ */ e.jsx("div", { className: s.suggestions, role: "listbox", children: he.slice(0, 8).map((a) => /* @__PURE__ */ e.jsxs(
1869
+ "button",
1870
+ {
1871
+ type: "button",
1872
+ className: s.suggestionItem,
1873
+ onClick: () => {
1874
+ p({ birthPlace: a.description }), ie(), X(!1);
1875
+ },
1876
+ children: [
1877
+ /* @__PURE__ */ e.jsx("span", { className: s.suggestionMain, children: a.structured_formatting?.main_text ?? a.description }),
1878
+ a.structured_formatting?.secondary_text && /* @__PURE__ */ e.jsx("span", { className: s.suggestionSecondary, children: a.structured_formatting.secondary_text })
1879
+ ]
1880
+ },
1881
+ a.place_id
1882
+ )) }),
1883
+ H && V && fe && /* @__PURE__ */ e.jsx("div", { className: s.suggestionsHint, children: "Loading…" }),
1884
+ H && V && !fe && !!ge && /* @__PURE__ */ e.jsx("div", { className: s.suggestionsHint, children: ge })
1885
+ ] })
1886
+ ] })
1887
+ ] }) })
1888
+ }
1889
+ );
1890
+ }, Ta = "_footer_1s4w3_1", Aa = "_inner_1s4w3_9", Ea = "_badges_1s4w3_13", Ia = "_marqueeTrack_1s4w3_20", Ca = "_marqueeContent_1s4w3_26", Sa = "_badge_1s4w3_13", Ra = "_badgeIcon_1s4w3_49", La = "_ctaWrap_1s4w3_53", $a = "_ctaStruck_1s4w3_57", Da = "_ctaButton_1s4w3_63", Oa = "_offerRow_1s4w3_83", Ba = "_pill_1s4w3_90", L = {
1891
+ footer: Ta,
1892
+ inner: Aa,
1893
+ badges: Ea,
1894
+ marqueeTrack: Ia,
1895
+ marqueeContent: Ca,
1896
+ badge: Sa,
1897
+ badgeIcon: Ra,
1898
+ ctaWrap: La,
1899
+ ctaStruck: $a,
1900
+ ctaButton: Da,
1901
+ offerRow: Oa,
1902
+ pill: Ba
1903
+ }, It = ({
1904
+ marquee: n,
1905
+ children: r,
1906
+ className: l = ""
1907
+ }) => /* @__PURE__ */ e.jsx("footer", { className: `${L.footer} ${l}`, role: "contentinfo", children: /* @__PURE__ */ e.jsxs("div", { className: L.inner, children: [
1908
+ n != null && /* @__PURE__ */ e.jsx("div", { className: L.badges, "aria-hidden": !0, children: n }),
1909
+ /* @__PURE__ */ e.jsx("div", { className: L.ctaWrap, children: r })
1910
+ ] }) }), Ct = ({
1911
+ children: n,
1912
+ href: r,
1913
+ disabled: l = !1,
1914
+ onClick: d,
1915
+ className: o = "",
1916
+ "aria-label": h
1917
+ }) => {
1918
+ const f = `${L.ctaButton} ${o}`.trim(), u = h != null ? { "aria-label": h } : {};
1919
+ return r != null ? /* @__PURE__ */ e.jsx(
1920
+ "a",
1921
+ {
1922
+ href: r,
1923
+ className: f,
1924
+ target: "_blank",
1925
+ rel: "noopener noreferrer",
1926
+ "aria-disabled": l,
1927
+ onClick: (c) => l && c.preventDefault(),
1928
+ ...u,
1929
+ children: n
1930
+ }
1931
+ ) : /* @__PURE__ */ e.jsx(
1932
+ "button",
1933
+ {
1934
+ type: "button",
1935
+ className: f,
1936
+ disabled: l,
1937
+ onClick: d,
1938
+ ...u,
1939
+ children: n
1940
+ }
1941
+ );
1942
+ }, Fa = (n) => /.+@.+\..+/.test(n), Ma = (n) => /^\d{10}$/.test(n), Ua = ({
1943
+ t: n,
1944
+ values: r,
1945
+ onProceed: l,
1946
+ href: d,
1947
+ analytics: o,
1948
+ className: h = "",
1949
+ originalPriceLabel: f,
1950
+ discountedPriceLabel: u,
1951
+ discountPillLabel: c
1952
+ }) => {
1953
+ const p = ke()?.config.isGlobal ?? !0, _ = Fe(() => {
1954
+ if (!r.fullName.trim()) return !1;
1955
+ if (p) {
1956
+ if (!Fa(r.email.trim())) return !1;
1957
+ } else if (!Ma((r.phone ?? "").trim())) return !1;
1958
+ return !(!r.dateOfBirth || !r.birthPlace.trim() || !r.birthTimeUnknown && !r.birthTime);
1959
+ }, [p, r]), x = p ? f ?? n("formOriginalPrice") : "₹1999", T = p ? u ?? n("formDiscountedPrice") : "₹499", j = c ?? n("formDiscountPill"), y = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1960
+ n("formProceed"),
1961
+ /* @__PURE__ */ e.jsx("span", { className: L.ctaStruck, children: x }),
1962
+ " ",
1963
+ T
1964
+ ] }), w = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1965
+ /* @__PURE__ */ e.jsxs("div", { className: L.offerRow, children: [
1966
+ /* @__PURE__ */ e.jsx("span", { children: n("formOfferEnding") }),
1967
+ /* @__PURE__ */ e.jsx("span", { className: L.pill, children: j })
1968
+ ] }),
1969
+ /* @__PURE__ */ e.jsx(
1970
+ Ct,
1971
+ {
1972
+ href: d,
1973
+ disabled: !_,
1974
+ onClick: () => {
1975
+ o?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), l?.(r);
1976
+ },
1977
+ "aria-label": n("formPriceAria"),
1978
+ children: y
1979
+ }
1980
+ )
1981
+ ] });
1982
+ return /* @__PURE__ */ e.jsx(It, { className: h, children: w });
1983
+ }, Wa = "_header_dbx4y_1", qa = "_brand_dbx4y_7", Ka = "_logo_dbx4y_11", Ga = "_logoImg_dbx4y_15", Ha = "_logoPlaceholder_dbx4y_21", Ya = "_brandText_dbx4y_29", Va = "_brandName_dbx4y_33", za = "_rating_dbx4y_38", Qa = "_stars_dbx4y_44", Ja = "_langSlot_dbx4y_49", se = {
1984
+ header: Wa,
1985
+ brand: qa,
1986
+ logo: Ka,
1987
+ logoImg: Ga,
1988
+ logoPlaceholder: Ha,
1989
+ brandText: Ya,
1990
+ brandName: Va,
1991
+ rating: za,
1992
+ stars: Qa,
1993
+ langSlot: Ja
1994
+ }, Xa = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", St = ({
1995
+ t: n,
1996
+ languageSelector: r,
1997
+ logoUrl: l = Xa,
1998
+ className: d = ""
1999
+ }) => {
2000
+ const h = ke()?.config.isGlobal ?? !0, f = r && !h;
2001
+ return /* @__PURE__ */ e.jsxs("header", { className: `${se.header} ${d}`, children: [
2002
+ /* @__PURE__ */ e.jsxs("div", { className: se.brand, children: [
2003
+ /* @__PURE__ */ e.jsx("div", { className: se.logo, children: l ? /* @__PURE__ */ e.jsx("img", { src: l, alt: n("sriMandir"), className: se.logoImg }) : /* @__PURE__ */ e.jsx("div", { className: se.logoPlaceholder, "aria-hidden": !0 }) }),
2004
+ /* @__PURE__ */ e.jsxs("div", { className: se.brandText, children: [
2005
+ /* @__PURE__ */ e.jsx("span", { className: se.brandName, children: n("sriMandir") }),
2006
+ /* @__PURE__ */ e.jsxs("span", { className: se.rating, children: [
2007
+ /* @__PURE__ */ e.jsx("span", { className: se.stars, "aria-hidden": !0, children: "★" }),
2008
+ n("ratingText")
2009
+ ] })
2010
+ ] })
2011
+ ] }),
2012
+ f && /* @__PURE__ */ e.jsx("div", { className: se.langSlot, children: r })
2013
+ ] });
2014
+ }, Za = "_hero_okj8x_1", er = "_title_okj8x_5", tr = "_subtitle_okj8x_10", nr = "_topicTags_okj8x_23", ar = "_tag_okj8x_27", Se = {
2015
+ hero: Za,
2016
+ title: er,
2017
+ subtitle: tr,
2018
+ topicTags: nr,
2019
+ tag: ar
2020
+ }, rr = [
2021
+ "topicMarriage",
2022
+ "topicRelationship",
2023
+ "topicBusiness",
2024
+ "topicHealth",
2025
+ "topicCareer",
2026
+ "topicEducation",
2027
+ "topicMoney"
2028
+ ], ir = ({ t: n, className: r = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${Se.hero} ${r}`, "aria-labelledby": "hero-title", children: [
2029
+ /* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: Se.title, children: n("heroTitle") }),
2030
+ /* @__PURE__ */ e.jsx("p", { className: Se.subtitle, children: n("heroSubtitle") }),
2031
+ /* @__PURE__ */ e.jsx("div", { className: Se.topicTags, role: "list", children: rr.map((l) => /* @__PURE__ */ e.jsx("span", { className: Se.tag, role: "listitem", children: n(l) }, l)) })
2032
+ ] }), or = "_section_j2cgl_1", sr = "_inner_j2cgl_9", cr = "_content_j2cgl_14", lr = "_headline_j2cgl_18", dr = "_headlineLine_j2cgl_23", ur = "_headlinePill_j2cgl_28", mr = "_headlinePlain_j2cgl_43", pr = "_featureList_j2cgl_54", hr = "_featureItem_j2cgl_61", fr = "_featureIcon_j2cgl_66", gr = "_reportImage_j2cgl_73", _r = "_reportImg_j2cgl_83", J = {
2033
+ section: or,
2034
+ inner: sr,
2035
+ content: cr,
2036
+ headline: lr,
2037
+ headlineLine: dr,
2038
+ headlinePill: ur,
2039
+ headlinePlain: mr,
2040
+ featureList: pr,
2041
+ featureItem: hr,
2042
+ featureIcon: fr,
2043
+ reportImage: gr,
2044
+ reportImg: _r
2045
+ }, br = "https://srm-cdn.a4b.io/yoda/1770363846052.svg", yr = [
2046
+ "premiumFeature1",
2047
+ "premiumFeature2",
2048
+ "premiumFeature3",
2049
+ "premiumFeature4"
2050
+ ], vr = "https://srm-cdn.a4b.io/yoda/1770710060606.png", kr = ({
2051
+ t: n,
2052
+ reportImageUrl: r = vr,
2053
+ analytics: l,
2054
+ className: d = ""
2055
+ }) => {
2056
+ const o = () => {
2057
+ l?.trackBannerClicked?.();
2058
+ };
2059
+ return /* @__PURE__ */ e.jsx(
2060
+ "section",
2061
+ {
2062
+ className: `${J.section} ${d}`,
2063
+ "aria-labelledby": "premium-headline",
2064
+ role: "button",
2065
+ tabIndex: 0,
2066
+ onClick: o,
2067
+ children: /* @__PURE__ */ e.jsxs("div", { className: J.inner, children: [
2068
+ /* @__PURE__ */ e.jsxs("div", { className: J.content, children: [
2069
+ /* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: J.headline, children: [
2070
+ /* @__PURE__ */ e.jsxs("span", { className: J.headlineLine, children: [
2071
+ /* @__PURE__ */ e.jsx("span", { className: J.headlinePill, children: n("premiumHeadlinePill1") }),
2072
+ /* @__PURE__ */ e.jsx("span", { className: J.headlinePlain, children: n("premiumHeadlinePlain1") })
2073
+ ] }),
2074
+ /* @__PURE__ */ e.jsxs("span", { className: J.headlineLine, children: [
2075
+ /* @__PURE__ */ e.jsx("span", { className: J.headlinePlain, children: n("premiumHeadlinePlain2") }),
2076
+ /* @__PURE__ */ e.jsx("span", { className: J.headlinePill, children: n("premiumHeadlinePill2") })
2077
+ ] })
2078
+ ] }),
2079
+ /* @__PURE__ */ e.jsx("ul", { className: J.featureList, children: yr.map((h) => /* @__PURE__ */ e.jsxs("li", { className: J.featureItem, children: [
2080
+ /* @__PURE__ */ e.jsx(
2081
+ "img",
2082
+ {
2083
+ src: br,
2084
+ alt: "",
2085
+ className: J.featureIcon,
2086
+ width: 16,
2087
+ height: 16,
2088
+ "aria-hidden": !0
2089
+ }
2090
+ ),
2091
+ n(h)
2092
+ ] }, h)) })
2093
+ ] }),
2094
+ /* @__PURE__ */ e.jsx("div", { className: J.reportImage, children: /* @__PURE__ */ e.jsx("img", { src: r, alt: "", className: J.reportImg }) })
2095
+ ] })
2096
+ }
2097
+ );
2098
+ }, xr = "_section_1g93x_1", wr = "_heading_1g93x_6", jr = "_logoImg_1g93x_10", He = {
2099
+ section: xr,
2100
+ heading: wr,
2101
+ logoImg: jr
2102
+ }, Nr = "https://srm-cdn.a4b.io/yoda/1770365699409.png", Pr = ({
2103
+ t: n,
2104
+ logoUrl: r = Nr,
2105
+ className: l = ""
2106
+ }) => /* @__PURE__ */ e.jsxs("section", { className: `${He.section} ${l}`, "aria-labelledby": "certified-heading", children: [
2107
+ /* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: He.heading, children: n("certifiedBy") }),
2108
+ /* @__PURE__ */ e.jsx("img", { src: r, alt: "University Certification", className: He.logoImg })
2109
+ ] }), Tr = "_section_fw00n_1", Ar = "_heading_fw00n_6", Er = "_subtitle_fw00n_12", Ir = "_stepList_fw00n_17", Cr = "_stepItem_fw00n_21", Sr = "_stepNumber_fw00n_25", Rr = "_stepText_fw00n_31", Lr = "_step3Days_fw00n_36", ae = {
2110
+ section: Tr,
2111
+ heading: Ar,
2112
+ subtitle: Er,
2113
+ stepList: Ir,
2114
+ stepItem: Cr,
2115
+ stepNumber: Sr,
2116
+ stepText: Rr,
2117
+ step3Days: Lr
2118
+ }, $r = ["step1", "step2"], Dr = ({
2119
+ t: n,
2120
+ locale: r = "en",
2121
+ isGlobal: l = !0,
2122
+ className: d = ""
2123
+ }) => {
2124
+ const o = l ? "step3IntroGlobal" : "step3IntroDomestic";
2125
+ return /* @__PURE__ */ e.jsxs(
2126
+ "section",
2127
+ {
2128
+ className: `${ae.section} ${d}`,
2129
+ "aria-labelledby": "steps-heading",
2130
+ children: [
2131
+ /* @__PURE__ */ e.jsx("p", { className: ae.heading, children: n("yourThreeSteps") }),
2132
+ /* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: ae.subtitle, children: n("threeStepsSubtitle") }),
2133
+ /* @__PURE__ */ e.jsxs("ol", { className: ae.stepList, children: [
2134
+ $r.map((h, f) => /* @__PURE__ */ e.jsxs("li", { className: ae.stepItem, children: [
2135
+ /* @__PURE__ */ e.jsx("span", { className: ae.stepNumber, "aria-hidden": !0, children: f + 1 }),
2136
+ /* @__PURE__ */ e.jsx("span", { className: ae.stepText, children: n(h) })
2137
+ ] }, h)),
2138
+ /* @__PURE__ */ e.jsxs("li", { className: ae.stepItem, children: [
2139
+ /* @__PURE__ */ e.jsx("span", { className: ae.stepNumber, "aria-hidden": !0, children: "3" }),
2140
+ /* @__PURE__ */ e.jsxs("span", { className: ae.stepText, children: [
2141
+ n(o),
2142
+ /* @__PURE__ */ e.jsx("br", {}),
2143
+ r === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2144
+ "in ",
2145
+ /* @__PURE__ */ e.jsx("strong", { className: ae.step3Days, children: n("step3Days") })
2146
+ ] }) : /* @__PURE__ */ e.jsx("strong", { className: ae.step3Days, children: n("step3Days") })
2147
+ ] })
2148
+ ] })
2149
+ ] })
2150
+ ]
2151
+ }
2152
+ );
2153
+ }, Or = "_section_uboy6_1", Br = "_button_uboy6_7", gt = {
2154
+ section: Or,
2155
+ button: Br
2156
+ }, Fr = "_backdrop_pekod_1", Mr = "_modal_pekod_21", Ur = "_header_pekod_40", Wr = "_title_pekod_49", qr = "_closeBtn_pekod_56", Kr = "_content_pekod_76", Gr = "_pdfFrame_pekod_84", Hr = "_pdfPages_pekod_92", Yr = "_pdfError_pekod_97", Vr = "_openInNewTab_pekod_123", ce = {
2157
+ backdrop: Fr,
2158
+ modal: Mr,
2159
+ header: Ur,
2160
+ title: Wr,
2161
+ closeBtn: qr,
2162
+ content: Kr,
2163
+ pdfFrame: Gr,
2164
+ pdfPages: Hr,
2165
+ pdfError: Yr,
2166
+ openInNewTab: Vr
2167
+ };
2168
+ Ye.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${Ye.version}/build/pdf.worker.min.js`;
2169
+ const zr = ({
2170
+ isOpen: n,
2171
+ onClose: r,
2172
+ title: l,
2173
+ pdfUrl: d
2174
+ }) => {
2175
+ const o = q(null), [h, f] = K(!0), [u, c] = K(null);
2176
+ return G(() => {
2177
+ if (!n) return;
2178
+ const b = (p) => {
2179
+ p.key === "Escape" && r();
2180
+ };
2181
+ return document.addEventListener("keydown", b), document.body.style.overflow = "hidden", () => {
2182
+ document.removeEventListener("keydown", b), document.body.style.overflow = "";
2183
+ };
2184
+ }, [n, r]), G(() => {
2185
+ if (!n || !d || !o.current) return;
2186
+ f(!0), c(null), o.current.innerHTML = "", (async () => {
2187
+ try {
2188
+ const _ = await Ye.getDocument({ url: d }).promise, x = o.current;
2189
+ if (!x) return;
2190
+ const T = x.clientWidth || 600, j = Math.min(T / 612, 2);
2191
+ for (let y = 1; y <= _.numPages; y++) {
2192
+ const w = await _.getPage(y), S = w.getViewport({ scale: j }), v = document.createElement("canvas");
2193
+ v.height = S.height, v.width = S.width, v.style.display = "block", v.style.margin = "0 auto 1rem", v.style.maxWidth = "100%";
2194
+ const A = v.getContext("2d");
2195
+ A && await w.render({ canvasContext: A, viewport: S }).promise, x.appendChild(v);
2196
+ }
2197
+ } catch (p) {
2198
+ c(p instanceof Error ? p.message : "Failed to load PDF");
2199
+ } finally {
2200
+ f(!1);
2201
+ }
2202
+ })();
2203
+ }, [n, d]), n ? /* @__PURE__ */ e.jsx(
2204
+ "div",
2205
+ {
2206
+ className: ce.backdrop,
2207
+ onClick: r,
2208
+ role: "dialog",
2209
+ "aria-modal": "true",
2210
+ "aria-labelledby": "sample-report-modal-title",
2211
+ children: /* @__PURE__ */ e.jsxs(
2212
+ "div",
2213
+ {
2214
+ className: ce.modal,
2215
+ onClick: (b) => b.stopPropagation(),
2216
+ children: [
2217
+ /* @__PURE__ */ e.jsxs("div", { className: ce.header, children: [
2218
+ /* @__PURE__ */ e.jsx("h2", { id: "sample-report-modal-title", className: ce.title, children: l }),
2219
+ /* @__PURE__ */ e.jsx(
2220
+ "button",
2221
+ {
2222
+ type: "button",
2223
+ className: ce.closeBtn,
2224
+ onClick: r,
2225
+ "aria-label": "Close",
2226
+ children: "×"
2227
+ }
2228
+ )
2229
+ ] }),
2230
+ /* @__PURE__ */ e.jsxs("div", { className: ce.content, children: [
2231
+ /* @__PURE__ */ e.jsxs("div", { className: ce.pdfFrame, children: [
2232
+ u && /* @__PURE__ */ e.jsxs("div", { className: ce.pdfError, children: [
2233
+ /* @__PURE__ */ e.jsx("span", { children: u }),
2234
+ /* @__PURE__ */ e.jsx("a", { href: d, target: "_blank", rel: "noopener noreferrer", children: "Open in new tab instead" })
2235
+ ] }),
2236
+ /* @__PURE__ */ e.jsx("div", { ref: o, className: ce.pdfPages })
2237
+ ] }),
2238
+ /* @__PURE__ */ e.jsx(
2239
+ "a",
2240
+ {
2241
+ href: d,
2242
+ target: "_blank",
2243
+ rel: "noopener noreferrer",
2244
+ className: ce.openInNewTab,
2245
+ children: "Open in new tab"
2246
+ }
2247
+ )
2248
+ ] })
2249
+ ]
2250
+ }
2251
+ )
2252
+ }
2253
+ ) : null;
2254
+ }, Qr = "https://srm-cdn.a4b.io/yoda/1770890856496.pdf", Jr = ({
2255
+ t: n,
2256
+ pdfUrl: r = Qr,
2257
+ onClick: l,
2258
+ analytics: d,
2259
+ className: o = ""
2260
+ }) => {
2261
+ const [h, f] = K(!1), u = n("viewSampleReport"), c = n("sampleReportModalTitle"), b = () => {
2262
+ d?.trackViewSampleReportClicked?.(), l?.(), f(!0);
2263
+ }, p = () => {
2264
+ d?.trackViewSampleReportClosed?.(), f(!1);
2265
+ };
2266
+ return /* @__PURE__ */ e.jsxs("section", { className: `${gt.section} ${o}`, children: [
2267
+ /* @__PURE__ */ e.jsx("button", { type: "button", className: gt.button, onClick: b, children: u }),
2268
+ /* @__PURE__ */ e.jsx(
2269
+ zr,
2270
+ {
2271
+ isOpen: h,
2272
+ onClose: p,
2273
+ title: c,
2274
+ pdfUrl: r
2275
+ }
2276
+ )
2277
+ ] });
2278
+ }, Xr = "_section_g1kup_1", Zr = "_heading_g1kup_5", ei = "_list_g1kup_10", ti = "_item_g1kup_17", ni = "_imageWrap_g1kup_21", ai = "_image_g1kup_21", ri = "_imagePlaceholder_g1kup_30", ii = "_text_g1kup_36", oi = "_itemTitle_g1kup_40", si = "_itemDesc_g1kup_51", le = {
2279
+ section: Xr,
2280
+ heading: Zr,
2281
+ list: ei,
2282
+ item: ti,
2283
+ imageWrap: ni,
2284
+ image: ai,
2285
+ imagePlaceholder: ri,
2286
+ text: ii,
2287
+ itemTitle: oi,
2288
+ itemDesc: si
2289
+ }, ci = [
2290
+ { titleKey: "findDasha", descKey: "findDashaDesc" },
2291
+ { titleKey: "findYoga", descKey: "findYogaDesc" },
2292
+ { titleKey: "findGemstone", descKey: "findGemstoneDesc" },
2293
+ { titleKey: "findPooja", descKey: "findPoojaDesc" },
2294
+ { titleKey: "findMonthly", descKey: "findMonthlyDesc" },
2295
+ { titleKey: "findStrength", descKey: "findStrengthDesc" }
2296
+ ], li = [
2297
+ "https://srm-cdn.a4b.io/yoda/1770639688505.png",
2298
+ "https://srm-cdn.a4b.io/yoda/1770639714646.png",
2299
+ "https://srm-cdn.a4b.io/yoda/1770639727335.png",
2300
+ "https://srm-cdn.a4b.io/yoda/1770639739387.png",
2301
+ "https://srm-cdn.a4b.io/yoda/1770639749920.png",
2302
+ "https://srm-cdn.a4b.io/yoda/1770639760835.png"
2303
+ ], di = ({
2304
+ t: n,
2305
+ imageUrls: r = li,
2306
+ className: l = ""
2307
+ }) => /* @__PURE__ */ e.jsxs(
2308
+ "section",
2309
+ {
2310
+ className: `${le.section} ${l}`,
2311
+ "aria-labelledby": "find-heading",
2312
+ children: [
2313
+ /* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: le.heading, children: n("whatYoullFindTitle") }),
2314
+ /* @__PURE__ */ e.jsx("ul", { className: le.list, children: ci.map((d, o) => /* @__PURE__ */ e.jsxs("li", { className: le.item, children: [
2315
+ /* @__PURE__ */ e.jsx("div", { className: le.imageWrap, children: r[o] ? /* @__PURE__ */ e.jsx("img", { src: r[o], alt: "", className: le.image }) : /* @__PURE__ */ e.jsx("div", { className: le.imagePlaceholder, "aria-hidden": !0 }) }),
2316
+ /* @__PURE__ */ e.jsxs("div", { className: le.text, children: [
2317
+ /* @__PURE__ */ e.jsx("h3", { className: le.itemTitle, children: n(d.titleKey) }),
2318
+ /* @__PURE__ */ e.jsx("p", { className: le.itemDesc, children: n(d.descKey) })
2319
+ ] })
2320
+ ] }, d.titleKey)) })
2321
+ ]
2322
+ }
2323
+ ), ui = "_section_1poer_1", mi = "_heading_1poer_6", pi = "_subtitle_1poer_11", hi = "_list_1poer_16", fi = "_item_1poer_20", Re = {
2324
+ section: ui,
2325
+ heading: mi,
2326
+ subtitle: pi,
2327
+ list: hi,
2328
+ item: fi
2329
+ }, gi = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], _i = ({ t: n, className: r = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${Re.section} ${r}`, "aria-labelledby": "why-heading", children: [
2330
+ /* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: Re.heading, children: n("whyUsTitle") }),
2331
+ /* @__PURE__ */ e.jsx("p", { className: Re.subtitle, children: n("whyUsSubtitle") }),
2332
+ /* @__PURE__ */ e.jsx("ul", { className: Re.list, children: gi.map((l) => /* @__PURE__ */ e.jsx("li", { className: Re.item, children: n(l) }, l)) })
2333
+ ] }), bi = "_section_3cm7k_1", yi = "_heading_3cm7k_5", vi = "_trustLine_3cm7k_10", ki = "_star_3cm7k_15", xi = "_ratingNum_3cm7k_20", wi = "_trustText_3cm7k_24", ji = "_cardList_3cm7k_28", Ni = "_card_3cm7k_28", Pi = "_quote_3cm7k_37", Ti = "_author_3cm7k_42", Ai = "_avatar_3cm7k_46", Ei = "_avatarPlaceholder_3cm7k_50", Ii = "_authorInfo_3cm7k_55", Ci = "_authorName_3cm7k_59", Si = "_stars_3cm7k_64", Ri = "_readMoreWrap_3cm7k_69", Li = "_toggleBtn_3cm7k_73", $i = "_readMore_3cm7k_69", Di = "_arrow_3cm7k_93", Oi = "_dot_3cm7k_97", R = {
2334
+ section: bi,
2335
+ heading: yi,
2336
+ trustLine: vi,
2337
+ star: ki,
2338
+ ratingNum: xi,
2339
+ trustText: wi,
2340
+ cardList: ji,
2341
+ card: Ni,
2342
+ quote: Pi,
2343
+ author: Ti,
2344
+ avatar: Ai,
2345
+ avatarPlaceholder: Ei,
2346
+ authorInfo: Ii,
2347
+ authorName: Ci,
2348
+ stars: Si,
2349
+ readMoreWrap: Ri,
2350
+ toggleBtn: Li,
2351
+ readMore: $i,
2352
+ arrow: Di,
2353
+ dot: Oi
2354
+ }, _t = 3, Bi = (n) => {
2355
+ const l = /* @__PURE__ */ new Map();
2356
+ for (let c = 1; c <= 15; c += 1) {
2357
+ const b = `feedbackTestimonial${c}`, p = n(b);
2358
+ if (!p || p === b) continue;
2359
+ const _ = `feedbackAuthor${c}`, x = (() => {
2360
+ const y = n(_);
2361
+ return y && y !== _ ? y : n("guest");
2362
+ })(), T = `feedbackAuthor${c}AvatarUrl`, j = (() => {
2363
+ const y = n(T);
2364
+ return y && y !== T ? y : void 0;
2365
+ })();
2366
+ l.set(c, {
2367
+ quote: p,
2368
+ authorName: x,
2369
+ authorAvatarUrl: j,
2370
+ rating: 5
2371
+ });
2372
+ }
2373
+ const d = [], o = [];
2374
+ for (let c = 1; c <= 15; c += 1)
2375
+ c >= 9 ? o.push(c) : d.push(c);
2376
+ const h = [];
2377
+ let f = 0, u = 0;
2378
+ for (; f < d.length || u < o.length; ) {
2379
+ if (u < o.length) {
2380
+ const c = o[u++], b = l.get(c);
2381
+ b && h.push(b);
2382
+ }
2383
+ if (f < d.length) {
2384
+ const c = d[f++], b = l.get(c);
2385
+ b && h.push(b);
2386
+ }
2387
+ }
2388
+ return h;
2389
+ }, Fi = ({
2390
+ t: n,
2391
+ testimonials: r,
2392
+ readMoreHref: l,
2393
+ onReadMore: d,
2394
+ className: o = ""
2395
+ }) => {
2396
+ const h = r ?? Fe(() => Bi(n), [n]), [f, u] = K(!1), c = h.length > _t, b = c && !f ? h.slice(0, _t) : h;
2397
+ return /* @__PURE__ */ e.jsxs(
2398
+ "section",
2399
+ {
2400
+ className: `${R.section} ${o}`,
2401
+ "aria-labelledby": "feedback-heading",
2402
+ children: [
2403
+ /* @__PURE__ */ e.jsx("h2", { id: "feedback-heading", className: R.heading, children: n("feedbackTitle") }),
2404
+ /* @__PURE__ */ e.jsxs("p", { className: R.trustLine, children: [
2405
+ /* @__PURE__ */ e.jsx("span", { className: R.star, "aria-hidden": !0, children: "★" }),
2406
+ /* @__PURE__ */ e.jsx("span", { className: R.ratingNum, children: n("feedbackRating") }),
2407
+ /* @__PURE__ */ e.jsx("span", { className: R.dot, "aria-hidden": !0 }),
2408
+ /* @__PURE__ */ e.jsx("span", { className: R.trustText, children: n("feedbackTrust") })
2409
+ ] }),
2410
+ /* @__PURE__ */ e.jsx("ul", { className: R.cardList, children: b.map((p, _) => /* @__PURE__ */ e.jsxs("li", { className: R.card, children: [
2411
+ /* @__PURE__ */ e.jsx("p", { className: R.quote, children: p.quote }),
2412
+ /* @__PURE__ */ e.jsxs("div", { className: R.author, children: [
2413
+ p.authorAvatarUrl ? /* @__PURE__ */ e.jsx(
2414
+ "img",
2415
+ {
2416
+ src: p.authorAvatarUrl,
2417
+ alt: "",
2418
+ className: R.avatar,
2419
+ width: 40,
2420
+ height: 40
2421
+ }
2422
+ ) : /* @__PURE__ */ e.jsx("div", { className: R.avatarPlaceholder, "aria-hidden": !0 }),
2423
+ /* @__PURE__ */ e.jsxs("div", { className: R.authorInfo, children: [
2424
+ /* @__PURE__ */ e.jsx("span", { className: R.authorName, children: p.authorName }),
2425
+ /* @__PURE__ */ e.jsx("span", { className: R.stars, "aria-hidden": !0, children: "★".repeat(p.rating ?? 5) })
2426
+ ] })
2427
+ ] })
2428
+ ] }, _)) }),
2429
+ c && /* @__PURE__ */ e.jsx("div", { className: R.readMoreWrap, children: /* @__PURE__ */ e.jsxs(
2430
+ "button",
2431
+ {
2432
+ type: "button",
2433
+ className: R.toggleBtn,
2434
+ onClick: () => u((p) => !p),
2435
+ "aria-expanded": f,
2436
+ children: [
2437
+ n(f ? "readLess" : "readMoreReviews"),
2438
+ /* @__PURE__ */ e.jsx("span", { className: R.arrow, "aria-hidden": !0, children: "›" })
2439
+ ]
2440
+ }
2441
+ ) }),
2442
+ (l || d) && !c && /* @__PURE__ */ e.jsx("div", { className: R.readMoreWrap, children: l ? /* @__PURE__ */ e.jsxs(
2443
+ "a",
2444
+ {
2445
+ href: l,
2446
+ className: R.readMore,
2447
+ target: "_blank",
2448
+ rel: "noopener noreferrer",
2449
+ children: [
2450
+ n("readMoreReviews"),
2451
+ /* @__PURE__ */ e.jsx("span", { className: R.arrow, "aria-hidden": !0, children: "›" })
2452
+ ]
2453
+ }
2454
+ ) : /* @__PURE__ */ e.jsxs(
2455
+ "button",
2456
+ {
2457
+ type: "button",
2458
+ className: R.readMore,
2459
+ onClick: () => d?.(),
2460
+ children: [
2461
+ n("readMoreReviews"),
2462
+ /* @__PURE__ */ e.jsx("span", { className: R.arrow, "aria-hidden": !0, children: "›" })
2463
+ ]
2464
+ }
2465
+ ) })
2466
+ ]
2467
+ }
2468
+ );
2469
+ }, Mi = "_section_1scfq_1", Ui = "_heading_1scfq_6", Wi = "_accordion_1scfq_11", qi = "_item_1scfq_15", Ki = "_itemOpen_1scfq_21", Gi = "_question_1scfq_25", Hi = "_chevron_1scfq_40", Yi = "_chevronOpen_1scfq_47", Vi = "_answerWrap_1scfq_51", zi = "_answerOpen_1scfq_56", Qi = "_answer_1scfq_51", re = {
2470
+ section: Mi,
2471
+ heading: Ui,
2472
+ accordion: Wi,
2473
+ item: qi,
2474
+ itemOpen: Ki,
2475
+ question: Gi,
2476
+ chevron: Hi,
2477
+ chevronOpen: Yi,
2478
+ answerWrap: Vi,
2479
+ answerOpen: zi,
2480
+ answer: Qi
2481
+ }, Ji = [
2482
+ { qKey: "faqQ1", aKey: "faqA1" },
2483
+ { qKey: "faqQ3", aKey: "faqA3" }
2484
+ ], Xi = ({
2485
+ t: n,
2486
+ className: r = ""
2487
+ }) => {
2488
+ const d = ke()?.config.isGlobal ?? !0, [o, h] = K(1), f = (u) => u === "faqA1" ? d ? "faqA1Global" : "faqA1Domestic" : u;
2489
+ return /* @__PURE__ */ e.jsxs(
2490
+ "section",
2491
+ {
2492
+ className: `${re.section} ${r}`,
2493
+ "aria-labelledby": "faq-heading",
2494
+ children: [
2495
+ /* @__PURE__ */ e.jsx("h2", { id: "faq-heading", className: re.heading, children: n("faqTitle") }),
2496
+ /* @__PURE__ */ e.jsx("div", { className: re.accordion, role: "list", children: Ji.map((u, c) => {
2497
+ const b = o === c;
2498
+ return /* @__PURE__ */ e.jsxs(
2499
+ "div",
2500
+ {
2501
+ className: `${re.item} ${b ? re.itemOpen : ""}`,
2502
+ role: "listitem",
2503
+ children: [
2504
+ /* @__PURE__ */ e.jsxs(
2505
+ "button",
2506
+ {
2507
+ type: "button",
2508
+ className: re.question,
2509
+ onClick: () => h(b ? -1 : c),
2510
+ "aria-expanded": b,
2511
+ "aria-controls": `faq-answer-${c}`,
2512
+ id: `faq-question-${c}`,
2513
+ children: [
2514
+ /* @__PURE__ */ e.jsx("span", { children: n(u.qKey) }),
2515
+ /* @__PURE__ */ e.jsx(
2516
+ "span",
2517
+ {
2518
+ className: `${re.chevron} ${b ? re.chevronOpen : ""}`,
2519
+ "aria-hidden": !0,
2520
+ children: /* @__PURE__ */ e.jsx(
2521
+ "svg",
2522
+ {
2523
+ width: "16",
2524
+ height: "16",
2525
+ viewBox: "0 0 20 20",
2526
+ fill: "none",
2527
+ "aria-hidden": !0,
2528
+ focusable: "false",
2529
+ children: /* @__PURE__ */ e.jsx(
2530
+ "path",
2531
+ {
2532
+ d: "M5.8 8.3a1 1 0 0 1 1.4 0L10 11.09l2.8-2.8a1 1 0 1 1 1.4 1.42l-3.5 3.5a1 1 0 0 1-1.4 0l-3.5-3.5A1 1 0 0 1 5.8 8.3z",
2533
+ fill: "currentColor"
2534
+ }
2535
+ )
2536
+ }
2537
+ )
2538
+ }
2539
+ )
2540
+ ]
2541
+ }
2542
+ ),
2543
+ /* @__PURE__ */ e.jsx(
2544
+ "div",
2545
+ {
2546
+ id: `faq-answer-${c}`,
2547
+ role: "region",
2548
+ "aria-labelledby": `faq-question-${c}`,
2549
+ className: `${re.answerWrap} ${b ? re.answerOpen : ""}`,
2550
+ hidden: !b,
2551
+ children: u.aKey && /* @__PURE__ */ e.jsx("p", { className: re.answer, children: n(f(u.aKey)) })
2552
+ }
2553
+ )
2554
+ ]
2555
+ },
2556
+ u.qKey
2557
+ );
2558
+ }) })
2559
+ ]
2560
+ }
2561
+ );
2562
+ }, Zi = "_section_aphm8_1", eo = "_heading_aphm8_6", to = "_content_aphm8_11", no = "_line_aphm8_16", ao = "_brandName_aphm8_20", Pe = {
2563
+ section: Zi,
2564
+ heading: eo,
2565
+ content: to,
2566
+ line: no,
2567
+ brandName: ao
2568
+ }, bt = "8296947757", yt = "08071174417", vt = "pujaseva@appsforbharat.com", ro = ({
2569
+ t: n,
2570
+ whatsAppGlobal: r,
2571
+ whatsAppDomestic: l,
2572
+ email: d,
2573
+ brandName: o,
2574
+ className: h = ""
2575
+ }) => {
2576
+ const u = ke()?.config.isGlobal ?? !0, c = r ?? bt, b = l ?? yt, p = d ?? vt, _ = u ? n("contactWhatsAppGlobal").replace(bt, c) : n("contactWhatsAppDomestic").replace(yt, b);
2577
+ return /* @__PURE__ */ e.jsxs("section", { className: `${Pe.section} ${h}`, "aria-labelledby": "contact-heading", children: [
2578
+ /* @__PURE__ */ e.jsx("h2", { id: "contact-heading", className: Pe.heading, children: n("contactTitle") }),
2579
+ /* @__PURE__ */ e.jsxs("div", { className: Pe.content, children: [
2580
+ /* @__PURE__ */ e.jsx("p", { className: Pe.brandName, children: o ?? n("contactBrandName") }),
2581
+ /* @__PURE__ */ e.jsx("p", { className: Pe.line, children: _ }),
2582
+ /* @__PURE__ */ e.jsx("p", { className: Pe.line, children: n("contactEmail").replace(vt, p) })
2583
+ ] })
2584
+ ] });
2585
+ }, kt = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", xt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", wt = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", io = ({ t: n }) => /* @__PURE__ */ e.jsxs("div", { className: L.marqueeTrack, children: [
2586
+ /* @__PURE__ */ e.jsxs("div", { className: L.marqueeContent, children: [
2587
+ /* @__PURE__ */ e.jsxs("span", { className: L.badge, children: [
2588
+ /* @__PURE__ */ e.jsx("img", { src: kt, alt: "", className: L.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
2589
+ n("ctaKundliCreated")
2590
+ ] }),
2591
+ /* @__PURE__ */ e.jsxs("span", { className: L.badge, children: [
2592
+ /* @__PURE__ */ e.jsx("img", { src: xt, alt: "", className: L.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
2593
+ n("ctaCertified")
2594
+ ] }),
2595
+ /* @__PURE__ */ e.jsxs("span", { className: L.badge, children: [
2596
+ /* @__PURE__ */ e.jsx("img", { src: wt, alt: "", className: L.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
2597
+ n("ctaSecurePayment")
2598
+ ] })
2599
+ ] }),
2600
+ /* @__PURE__ */ e.jsxs("div", { className: L.marqueeContent, "aria-hidden": !0, children: [
2601
+ /* @__PURE__ */ e.jsxs("span", { className: L.badge, children: [
2602
+ /* @__PURE__ */ e.jsx("img", { src: kt, alt: "", className: L.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
2603
+ n("ctaKundliCreated")
2604
+ ] }),
2605
+ /* @__PURE__ */ e.jsxs("span", { className: L.badge, children: [
2606
+ /* @__PURE__ */ e.jsx("img", { src: xt, alt: "", className: L.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
2607
+ n("ctaCertified")
2608
+ ] }),
2609
+ /* @__PURE__ */ e.jsxs("span", { className: L.badge, children: [
2610
+ /* @__PURE__ */ e.jsx("img", { src: wt, alt: "", className: L.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
2611
+ n("ctaSecurePayment")
2612
+ ] })
2613
+ ] })
2614
+ ] }), oo = ({
2615
+ t: n,
2616
+ onCtaClick: r,
2617
+ ctaHref: l,
2618
+ className: d = ""
2619
+ }) => {
2620
+ const o = ke(), h = o?.config.isGlobal ?? !0, f = h ? o?.config.originalPriceLabel ?? n("ctaButtonStruck") : "₹1999", u = h ? o?.config.discountedPriceLabel ?? n("ctaButtonAfter") : "₹499", c = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2621
+ n("ctaButtonBefore"),
2622
+ /* @__PURE__ */ e.jsx("span", { className: L.ctaStruck, children: f }),
2623
+ " ",
2624
+ u
2625
+ ] });
2626
+ return /* @__PURE__ */ e.jsx(
2627
+ It,
2628
+ {
2629
+ className: d,
2630
+ marquee: /* @__PURE__ */ e.jsx(io, { t: n }),
2631
+ children: /* @__PURE__ */ e.jsx(Ct, { href: l, onClick: r, children: c })
2632
+ }
2633
+ );
2634
+ }, so = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", co = (n, r) => Qe[n]?.[r] ?? r, lo = {
2635
+ fullName: "",
2636
+ phone: "",
2637
+ email: "",
2638
+ dateOfBirth: "",
2639
+ birthTime: "",
2640
+ birthTimeUnknown: !1,
2641
+ birthPlace: ""
2642
+ }, uo = ({
2643
+ className: n = "",
2644
+ locale: r,
2645
+ showLanguageSelector: l = !0,
2646
+ onBack: d,
2647
+ initialValues: o,
2648
+ onProceed: h,
2649
+ proceedHref: f,
2650
+ originalPriceLabel: u,
2651
+ discountedPriceLabel: c,
2652
+ discountPillLabel: b,
2653
+ googleMapsApiKey: p = "",
2654
+ analytics: _
2655
+ }) => {
2656
+ const x = ke(), T = Tt(), j = x !== null, y = j ? x.locale : r, w = y ?? T?.locale ?? "en", [S, v] = K(w), A = j ? x.locale : S, M = j ? x.setLocale : v, [I, z] = K(!1), D = q(null), Y = q(y), O = q(
2657
+ T?.locale
2658
+ );
2659
+ G(() => {
2660
+ window.scrollTo({ top: 0, left: 0, behavior: "auto" });
2661
+ }, []);
2662
+ const H = (a) => co(A, a);
2663
+ G(() => {
2664
+ y && Y.current !== y && M(y), Y.current = y;
2665
+ }, [y, M]), G(() => {
2666
+ if (y) return;
2667
+ const a = T?.locale;
2668
+ a && O.current !== a && M(a), O.current = a;
2669
+ }, [T?.locale, y, M]);
2670
+ const [X, B] = K({
2671
+ ...lo,
2672
+ ...o,
2673
+ phone: o?.phone ?? ""
2674
+ }), U = j ? x.formValues : X, V = j ? x.setFormValues : B, ee = j ? x.goToPage : d, ue = j ? x.onProceed : h, xe = j ? x.config.proceedHref : f, he = j ? x.config.originalPriceLabel : u, fe = j ? x.config.discountedPriceLabel : c, ge = j ? x.config.discountPillLabel : b, _e = j ? x.config.showLanguageSelector ?? !0 : l, ie = (j ? x?.config?.analytics : _) ?? _;
2675
+ G(() => {
2676
+ if (!I) return;
2677
+ const a = (g) => {
2678
+ D.current && !D.current.contains(g.target) && z(!1);
2679
+ };
2680
+ return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
2681
+ }, [I]);
2682
+ const be = _e ? /* @__PURE__ */ e.jsxs("div", { className: oe.langDropdownWrap, ref: D, children: [
2683
+ /* @__PURE__ */ e.jsxs(
2684
+ "button",
2685
+ {
2686
+ type: "button",
2687
+ className: oe.langTrigger,
2688
+ onClick: () => {
2689
+ ie?.trackLanguageClickedFe?.({ language: A }), z((a) => !a);
2690
+ },
2691
+ "aria-expanded": I,
2692
+ "aria-haspopup": "listbox",
2693
+ id: "kundli-form-lang",
2694
+ "aria-label": H("language"),
2695
+ children: [
2696
+ /* @__PURE__ */ e.jsx(
2697
+ "img",
2698
+ {
2699
+ src: so,
2700
+ alt: "",
2701
+ className: oe.langIcon,
2702
+ width: 16,
2703
+ height: 16,
2704
+ "aria-hidden": !0
2705
+ }
2706
+ ),
2707
+ /* @__PURE__ */ e.jsx("span", { className: oe.langLabel, children: Me[A] })
2708
+ ]
2709
+ }
2710
+ ),
2711
+ I && /* @__PURE__ */ e.jsx(
2712
+ "ul",
2713
+ {
2714
+ className: oe.langMenu,
2715
+ role: "listbox",
2716
+ "aria-labelledby": "kundli-form-lang",
2717
+ "aria-activedescendant": `kundli-form-lang-option-${A}`,
2718
+ children: ze.map((a) => /* @__PURE__ */ e.jsx(
2719
+ "li",
2720
+ {
2721
+ id: `kundli-form-lang-option-${a}`,
2722
+ role: "option",
2723
+ "aria-selected": a === A,
2724
+ className: oe.langOption,
2725
+ onClick: () => {
2726
+ ie?.trackLanguageChangedFe?.({ newLanguage: a }), M(a), z(!1);
2727
+ },
2728
+ children: Me[a]
2729
+ },
2730
+ a
2731
+ ))
2732
+ }
2733
+ )
2734
+ ] }) : null;
2735
+ return /* @__PURE__ */ e.jsxs("div", { className: `${oe.container} ${n}`, children: [
2736
+ /* @__PURE__ */ e.jsx(
2737
+ St,
2738
+ {
2739
+ t: H,
2740
+ logoUrl: j ? x.config.logoUrl : void 0,
2741
+ languageSelector: be,
2742
+ className: oe.kundliHeaderNoBorder
2743
+ }
2744
+ ),
2745
+ /* @__PURE__ */ e.jsx("div", { className: oe.headerSeparator, "aria-hidden": !0 }),
2746
+ /* @__PURE__ */ e.jsxs("main", { className: oe.main, children: [
2747
+ /* @__PURE__ */ e.jsx(Mn, { t: H, onBack: ee }),
2748
+ /* @__PURE__ */ e.jsx(
2749
+ Pa,
2750
+ {
2751
+ t: H,
2752
+ values: U,
2753
+ onChange: V,
2754
+ googleMapsApiKey: p
2755
+ }
2756
+ )
2757
+ ] }),
2758
+ /* @__PURE__ */ e.jsx(
2759
+ Ua,
2760
+ {
2761
+ t: H,
2762
+ values: U,
2763
+ onProceed: ue,
2764
+ href: xe,
2765
+ originalPriceLabel: he,
2766
+ discountedPriceLabel: fe,
2767
+ discountPillLabel: ge,
2768
+ analytics: ie
2769
+ }
2770
+ )
2771
+ ] });
2772
+ }, mo = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", po = (n, r) => Qe[n]?.[r] ?? r, ho = 112;
2773
+ function de({
2774
+ section: n,
2775
+ children: r,
2776
+ onImpression: l
2777
+ }) {
2778
+ const d = q(null), o = q(!1);
2779
+ return G(() => {
2780
+ const h = d.current;
2781
+ if (!h) return;
2782
+ const f = new IntersectionObserver(
2783
+ ([u]) => {
2784
+ !u?.isIntersecting || o.current || (o.current = !0, l(n));
2785
+ },
2786
+ {
2787
+ threshold: 0.1,
2788
+ // Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
2789
+ rootMargin: `0px 0px -${ho}px 0px`
2790
+ }
2791
+ );
2792
+ return f.observe(h), () => f.disconnect();
2793
+ }, [n, l]), /* @__PURE__ */ e.jsx("div", { ref: d, children: r });
2794
+ }
2795
+ function fo({ className: n }) {
2796
+ const { view: r } = Et();
2797
+ return r === "form" ? /* @__PURE__ */ e.jsx(uo, {}) : /* @__PURE__ */ e.jsx(go, { className: n });
2798
+ }
2799
+ function go({ className: n }) {
2800
+ const r = Tt(), {
2801
+ locale: l,
2802
+ setLocale: d,
2803
+ config: o,
2804
+ goToForm: h
2805
+ } = Et(), [f, u] = K(!1), c = q(null), b = q(o.locale), p = q(
2806
+ r?.locale
2807
+ );
2808
+ G(() => {
2809
+ o.locale && b.current !== o.locale && d(o.locale), b.current = o.locale;
2810
+ }, [o.locale, d]), G(() => {
2811
+ if (o.locale) return;
2812
+ const w = r?.locale;
2813
+ w && p.current !== w && d(w), p.current = w;
2814
+ }, [r?.locale, o.locale, d]), G(() => {
2815
+ if (!f) return;
2816
+ const w = (S) => {
2817
+ c.current && !c.current.contains(S.target) && u(!1);
2818
+ };
2819
+ return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
2820
+ }, [f]);
2821
+ const _ = (w) => po(l, w), T = o.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: pe.langDropdownWrap, ref: c, children: [
2822
+ /* @__PURE__ */ e.jsxs(
2823
+ "button",
2824
+ {
2825
+ type: "button",
2826
+ className: pe.langTrigger,
2827
+ onClick: () => {
2828
+ o.analytics?.trackLanguageClickedFe?.({ language: l }), u((w) => !w);
2829
+ },
2830
+ "aria-expanded": f,
2831
+ "aria-haspopup": "listbox",
2832
+ id: "kundli-lang",
2833
+ "aria-label": _("language"),
2834
+ children: [
2835
+ /* @__PURE__ */ e.jsx(
2836
+ "img",
2837
+ {
2838
+ src: mo,
2839
+ alt: "",
2840
+ className: pe.langIcon,
2841
+ width: 16,
2842
+ height: 16,
2843
+ "aria-hidden": !0
2844
+ }
2845
+ ),
2846
+ /* @__PURE__ */ e.jsx("span", { className: pe.langLabel, children: Me[l] })
2847
+ ]
2848
+ }
2849
+ ),
2850
+ f && /* @__PURE__ */ e.jsx(
2851
+ "ul",
2852
+ {
2853
+ className: pe.langMenu,
2854
+ role: "listbox",
2855
+ "aria-labelledby": "kundli-lang",
2856
+ "aria-activedescendant": `kundli-lang-option-${l}`,
2857
+ children: ze.map((w) => /* @__PURE__ */ e.jsx(
2858
+ "li",
2859
+ {
2860
+ id: `kundli-lang-option-${w}`,
2861
+ role: "option",
2862
+ "aria-selected": w === l,
2863
+ className: pe.langOption,
2864
+ onClick: () => {
2865
+ o.analytics?.trackLanguageChangedFe?.({ newLanguage: w }), d(w), u(!1);
2866
+ },
2867
+ children: Me[w]
2868
+ },
2869
+ w
2870
+ ))
2871
+ }
2872
+ )
2873
+ ] }) : null, j = (w) => {
2874
+ const S = w.currentTarget.innerText?.trim() ?? _("ctaButtonAfter");
2875
+ o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: S }), h(), o.onCtaClick?.();
2876
+ }, y = Te(
2877
+ (w) => {
2878
+ o.analytics?.trackDetailedKundliReportImpressionFe?.({
2879
+ section: w,
2880
+ timestamp: (/* @__PURE__ */ new Date()).toISOString()
2881
+ });
2882
+ },
2883
+ [o.analytics]
2884
+ );
2885
+ return /* @__PURE__ */ e.jsxs("div", { className: `${pe.container} ${n}`, children: [
2886
+ /* @__PURE__ */ e.jsx(
2887
+ St,
2888
+ {
2889
+ t: _,
2890
+ logoUrl: o.logoUrl,
2891
+ languageSelector: T
2892
+ }
2893
+ ),
2894
+ /* @__PURE__ */ e.jsxs("main", { className: pe.main, children: [
2895
+ /* @__PURE__ */ e.jsx(
2896
+ de,
2897
+ {
2898
+ section: "hero",
2899
+ onImpression: y,
2900
+ children: /* @__PURE__ */ e.jsx(ir, { t: _ })
2901
+ }
2902
+ ),
2903
+ /* @__PURE__ */ e.jsx(
2904
+ de,
2905
+ {
2906
+ section: "premium_report_overview",
2907
+ onImpression: y,
2908
+ children: /* @__PURE__ */ e.jsx(
2909
+ kr,
2910
+ {
2911
+ t: _,
2912
+ reportImageUrl: o.reportImageUrl,
2913
+ analytics: o.analytics
2914
+ }
2915
+ )
2916
+ }
2917
+ ),
2918
+ /* @__PURE__ */ e.jsx(
2919
+ de,
2920
+ {
2921
+ section: "university_certification",
2922
+ onImpression: y,
2923
+ children: /* @__PURE__ */ e.jsx(
2924
+ Pr,
2925
+ {
2926
+ t: _,
2927
+ logoUrl: o.universityLogoUrls?.find((w) => !!w)
2928
+ }
2929
+ )
2930
+ }
2931
+ ),
2932
+ /* @__PURE__ */ e.jsx(
2933
+ de,
2934
+ {
2935
+ section: "three_steps_process",
2936
+ onImpression: y,
2937
+ children: /* @__PURE__ */ e.jsx(Dr, { t: _, locale: l, isGlobal: o.isGlobal })
2938
+ }
2939
+ ),
2940
+ /* @__PURE__ */ e.jsx(
2941
+ de,
2942
+ {
2943
+ section: "view_sample_report",
2944
+ onImpression: y,
2945
+ children: /* @__PURE__ */ e.jsx(
2946
+ Jr,
2947
+ {
2948
+ t: _,
2949
+ pdfUrl: o.sampleReportHref,
2950
+ onClick: o.onViewSampleReport,
2951
+ analytics: o.analytics
2952
+ }
2953
+ )
2954
+ }
2955
+ ),
2956
+ /* @__PURE__ */ e.jsx(
2957
+ de,
2958
+ {
2959
+ section: "what_youll_find",
2960
+ onImpression: y,
2961
+ children: /* @__PURE__ */ e.jsx(di, { t: _ })
2962
+ }
2963
+ ),
2964
+ /* @__PURE__ */ e.jsx(
2965
+ de,
2966
+ {
2967
+ section: "why_us",
2968
+ onImpression: y,
2969
+ children: /* @__PURE__ */ e.jsx(_i, { t: _ })
2970
+ }
2971
+ ),
2972
+ /* @__PURE__ */ e.jsx(
2973
+ de,
2974
+ {
2975
+ section: "feedback",
2976
+ onImpression: y,
2977
+ children: /* @__PURE__ */ e.jsx(Fi, { t: _, readMoreHref: o.readMoreReviewsHref })
2978
+ }
2979
+ ),
2980
+ /* @__PURE__ */ e.jsx(
2981
+ de,
2982
+ {
2983
+ section: "faq",
2984
+ onImpression: y,
2985
+ children: /* @__PURE__ */ e.jsx(Xi, { t: _ })
2986
+ }
2987
+ ),
2988
+ /* @__PURE__ */ e.jsx(
2989
+ de,
2990
+ {
2991
+ section: "contact_us",
2992
+ onImpression: y,
2993
+ children: /* @__PURE__ */ e.jsx(ro, { t: _ })
2994
+ }
2995
+ )
2996
+ ] }),
2997
+ /* @__PURE__ */ e.jsx(
2998
+ oo,
2999
+ {
3000
+ t: _,
3001
+ ctaHref: o.ctaHref,
3002
+ onCtaClick: o.ctaHref ? void 0 : j
3003
+ }
3004
+ )
3005
+ ] });
3006
+ }
3007
+ const ko = ({
3008
+ className: n = "",
3009
+ locale: r,
3010
+ showLanguageSelector: l = !0,
3011
+ userId: d,
3012
+ isGlobal: o,
3013
+ logoUrl: h,
3014
+ reportImageUrl: f,
3015
+ universityLogoUrls: u,
3016
+ sampleReportHref: c,
3017
+ onViewSampleReport: b,
3018
+ ctaHref: p,
3019
+ onCtaClick: _,
3020
+ readMoreReviewsHref: x,
3021
+ onProceed: T,
3022
+ proceedHref: j,
3023
+ originalPriceLabel: y,
3024
+ discountedPriceLabel: w,
3025
+ discountPillLabel: S,
3026
+ analytics: v,
3027
+ onLocaleChange: A
3028
+ }) => /* @__PURE__ */ e.jsx(
3029
+ Cn,
3030
+ {
3031
+ locale: r,
3032
+ showLanguageSelector: l,
3033
+ userId: d,
3034
+ isGlobal: o,
3035
+ logoUrl: h,
3036
+ reportImageUrl: f,
3037
+ universityLogoUrls: u,
3038
+ sampleReportHref: c,
3039
+ onViewSampleReport: b,
3040
+ ctaHref: p,
3041
+ onCtaClick: _,
3042
+ readMoreReviewsHref: x,
3043
+ onProceed: T,
3044
+ proceedHref: j,
3045
+ originalPriceLabel: y,
3046
+ discountedPriceLabel: w,
3047
+ discountPillLabel: S,
3048
+ analytics: v,
3049
+ onLocaleChange: A,
3050
+ children: /* @__PURE__ */ e.jsx(fo, { className: n })
3051
+ }
3052
+ ), xo = {
3053
+ banner_clicked_fe: "banner_clicked_fe",
3054
+ primary_cta_clicked_fe: "primary_cta_clicked_fe",
3055
+ language_changed_fe: "language_changed_fe",
3056
+ language_clicked_fe: "language_clicked_fe",
3057
+ retry_payment: "retry_payment",
3058
+ detailed_kundli_report_impression_fe: "detailed_kundli_report_impression_fe",
3059
+ payment_partner_page_opened: "payment_partner_page_opened",
3060
+ view_sample_report_clicked: "view_sample_report_clicked",
3061
+ view_sample_report_closed: "view_sample_report_closed",
3062
+ info_icon_clicked: "info_icon_clicked",
3063
+ name_section_clicked: "name_section_clicked",
3064
+ name_section_filled: "name_section_filled",
3065
+ phone_section_clicked: "phone_section_clicked",
3066
+ phone_section_filled: "phone_section_filled",
3067
+ email_section_clicked: "email_section_clicked",
3068
+ email_section_filled: "email_section_filled",
3069
+ dob_clicked: "dob_clicked",
3070
+ dob_filled: "dob_filled",
3071
+ time_clicked: "time_clicked",
3072
+ time_filled: "time_filled",
3073
+ time_checkbox_clicked: "time_checkbox_clicked",
3074
+ place_of_birth_clicked: "place_of_birth_clicked",
3075
+ place_of_birth_chosen: "place_of_birth_chosen",
3076
+ language_of_report_clicked: "language_of_report_clicked",
3077
+ primary_cta_clicked_l1: "primary_cta_clicked_l1",
3078
+ /** Legacy / alias: when landing page is viewed */
3079
+ kundli_page_view: "kundli_page_view",
3080
+ /** Legacy / alias: when L1 form page is viewed (same as l1_page_opened) */
3081
+ kundli_form_view: "kundli_form_view"
3082
+ };
3083
+ export {
3084
+ bo as I18nProvider,
3085
+ xo as KUNDLI_ANALYTICS_EVENT_NAMES,
3086
+ At as KUNDLI_LANGUAGE_STORAGE_KEY,
3087
+ Je as KundliContext,
3088
+ uo as KundliForm,
3089
+ ko as KundliPage,
3090
+ Cn as KundliProvider,
3091
+ ze as SUPPORTED_LOCALES,
3092
+ Pn as getItem,
3093
+ An as getStoredKundliLocale,
3094
+ vo as isLocalStorageAvailable,
3095
+ yo as removeItem,
3096
+ Tn as setItem,
3097
+ En as setStoredKundliLocale,
3098
+ Tt as useI18n,
3099
+ ke as useKundliContext,
3100
+ Et as useKundliContextOrThrow
3101
+ };
3102
+ //# sourceMappingURL=kundli-generator.js.map