@srimandir/kundli-generator 9.4.0 → 9.4.2

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 (35) hide show
  1. package/dist/analytics-qrcpYMLy.js +2994 -0
  2. package/dist/analytics-qrcpYMLy.js.map +1 -0
  3. package/dist/analytics.d.ts +0 -144
  4. package/dist/components/KundliForm/KundliForm.d.ts +1 -9
  5. package/dist/components/KundliForm/sections/UserInfoFormSection/UserInfoFormSection.d.ts +1 -5
  6. package/dist/components/KundliForm/sections/UserInfoFormSection/useGooglePlacesAutocomplete.d.ts +8 -29
  7. package/dist/components/KundliPage/KundliContext.d.ts +1 -24
  8. package/dist/components/KundliPage/KundliPage.d.ts +1 -17
  9. package/dist/components/KundliPage/KundliPageV1.d.ts +1 -22
  10. package/dist/components/KundliPage/KundliPageVariant.d.ts +0 -5
  11. package/dist/components/KundliPage/sections/index.d.ts +0 -1
  12. package/dist/components/KundliPlanBottomSheet/KundliPlanBottomSheet.d.ts +3 -14
  13. package/dist/components/KundliPlanBottomSheet/PlanIcons.d.ts +0 -10
  14. package/dist/components/KundliPlanBottomSheet/index.d.ts +1 -4
  15. package/dist/components/KundliPlanBottomSheet/types.d.ts +0 -46
  16. package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuPlanBottomSheet.types.d.ts +1 -11
  17. package/dist/components/ThreeSkuPlanBottomSheet/constants.d.ts +0 -26
  18. package/dist/criticalCss-Bj5LpOlA.js +1914 -0
  19. package/dist/criticalCss-Bj5LpOlA.js.map +1 -0
  20. package/dist/form-entry.js +1 -1
  21. package/dist/i18n/I18nContext.d.ts +1 -7
  22. package/dist/index.d.ts +0 -2
  23. package/dist/kundli-generator.js +27 -29
  24. package/dist/page-entry.js +2 -2
  25. package/dist/style.css +1 -1
  26. package/package.json +2 -2
  27. package/dist/analytics-C7H9-2dZ.js +0 -3908
  28. package/dist/analytics-C7H9-2dZ.js.map +0 -1
  29. package/dist/components/KundliForm/sections/UserInfoFormSection/useAtlasPlacesAutocomplete.d.ts +0 -22
  30. package/dist/components/KundliPage/sections/UtmBannerSection/UtmBannerSection.d.ts +0 -8
  31. package/dist/components/KundliPage/sections/UtmBannerSection/index.d.ts +0 -2
  32. package/dist/components/KundliPlanBottomSheet/ConsultationSlotModal.d.ts +0 -28
  33. package/dist/components/KundliPlanBottomSheet/consultationSlotDefaults.d.ts +0 -44
  34. package/dist/criticalCss-C-F4ZKYw.js +0 -2017
  35. package/dist/criticalCss-C-F4ZKYw.js.map +0 -1
@@ -0,0 +1,2994 @@
1
+ import Ge, { useContext as We, createContext as ur, useState as W, useRef as H, useEffect as Y, useMemo as Ue, useCallback as Te } from "react";
2
+ import { FormSectionHeader as Mr, FooterCTAButton as $r, FooterShell as Ur, CircularMarquee as Gr, footerShellStyles as ke, PageHeader as Wr } from "@srimandir/astrology-common";
3
+ var Le = { exports: {} }, Ie = {};
4
+ var nr;
5
+ function Kr() {
6
+ if (nr) return Ie;
7
+ nr = 1;
8
+ var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, w = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
9
+ function x(N, P, L) {
10
+ var d, T = {}, p = null, E = null;
11
+ L !== void 0 && (p = "" + L), P.key !== void 0 && (p = "" + P.key), P.ref !== void 0 && (E = P.ref);
12
+ for (d in P) m.call(P, d) && !S.hasOwnProperty(d) && (T[d] = P[d]);
13
+ if (N && N.defaultProps) for (d in P = N.defaultProps, P) T[d] === void 0 && (T[d] = P[d]);
14
+ return { $$typeof: o, type: N, key: p, ref: E, props: T, _owner: w.current };
15
+ }
16
+ return Ie.Fragment = c, Ie.jsx = x, Ie.jsxs = x, Ie;
17
+ }
18
+ var Be = {};
19
+ var or;
20
+ function Hr() {
21
+ return or || (or = 1, process.env.NODE_ENV !== "production" && (function() {
22
+ var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), w = /* @__PURE__ */ Symbol.for("react.strict_mode"), S = /* @__PURE__ */ Symbol.for("react.profiler"), x = /* @__PURE__ */ Symbol.for("react.provider"), N = /* @__PURE__ */ Symbol.for("react.context"), P = /* @__PURE__ */ Symbol.for("react.forward_ref"), L = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), T = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), E = /* @__PURE__ */ Symbol.for("react.offscreen"), h = Symbol.iterator, I = "@@iterator";
23
+ function C(e) {
24
+ if (e === null || typeof e != "object")
25
+ return null;
26
+ var i = h && e[h] || e[I];
27
+ return typeof i == "function" ? i : null;
28
+ }
29
+ var b = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
30
+ function g(e) {
31
+ {
32
+ for (var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0), u = 1; u < i; u++)
33
+ l[u - 1] = arguments[u];
34
+ M("error", e, l);
35
+ }
36
+ }
37
+ function M(e, i, l) {
38
+ {
39
+ var u = b.ReactDebugCurrentFrame, A = u.getStackAddendum();
40
+ A !== "" && (i += "%s", l = l.concat([A]));
41
+ var j = l.map(function(y) {
42
+ return String(y);
43
+ });
44
+ j.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, j);
45
+ }
46
+ }
47
+ var v = !1, F = !1, z = !1, J = !1, ae = !1, q;
48
+ q = /* @__PURE__ */ Symbol.for("react.module.reference");
49
+ function $(e) {
50
+ return !!(typeof e == "string" || typeof e == "function" || e === m || e === S || ae || e === w || e === L || e === d || J || e === E || v || F || z || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === T || e.$$typeof === x || e.$$typeof === N || e.$$typeof === P || // 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
+ e.$$typeof === q || e.getModuleId !== void 0));
55
+ }
56
+ function ie(e, i, l) {
57
+ var u = e.displayName;
58
+ if (u)
59
+ return u;
60
+ var A = i.displayName || i.name || "";
61
+ return A !== "" ? l + "(" + A + ")" : l;
62
+ }
63
+ function Z(e) {
64
+ return e.displayName || "Context";
65
+ }
66
+ function U(e) {
67
+ if (e == null)
68
+ return null;
69
+ if (typeof e.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
70
+ return e.displayName || e.name || null;
71
+ if (typeof e == "string")
72
+ return e;
73
+ switch (e) {
74
+ case m:
75
+ return "Fragment";
76
+ case c:
77
+ return "Portal";
78
+ case S:
79
+ return "Profiler";
80
+ case w:
81
+ return "StrictMode";
82
+ case L:
83
+ return "Suspense";
84
+ case d:
85
+ return "SuspenseList";
86
+ }
87
+ if (typeof e == "object")
88
+ switch (e.$$typeof) {
89
+ case N:
90
+ var i = e;
91
+ return Z(i) + ".Consumer";
92
+ case x:
93
+ var l = e;
94
+ return Z(l._context) + ".Provider";
95
+ case P:
96
+ return ie(e, e.render, "ForwardRef");
97
+ case T:
98
+ var u = e.displayName || null;
99
+ return u !== null ? u : U(e.type) || "Memo";
100
+ case p: {
101
+ var A = e, j = A._payload, y = A._init;
102
+ try {
103
+ return U(y(j));
104
+ } catch {
105
+ return null;
106
+ }
107
+ }
108
+ }
109
+ return null;
110
+ }
111
+ var D = Object.assign, B = 0, Q, ee, _e, le, V, ce, re;
112
+ function de() {
113
+ }
114
+ de.__reactDisabledLog = !0;
115
+ function ne() {
116
+ {
117
+ if (B === 0) {
118
+ Q = console.log, ee = console.info, _e = console.warn, le = console.error, V = console.group, ce = console.groupCollapsed, re = console.groupEnd;
119
+ var e = {
120
+ configurable: !0,
121
+ enumerable: !0,
122
+ value: de,
123
+ writable: !0
124
+ };
125
+ Object.defineProperties(console, {
126
+ info: e,
127
+ log: e,
128
+ warn: e,
129
+ error: e,
130
+ group: e,
131
+ groupCollapsed: e,
132
+ groupEnd: e
133
+ });
134
+ }
135
+ B++;
136
+ }
137
+ }
138
+ function oe() {
139
+ {
140
+ if (B--, B === 0) {
141
+ var e = {
142
+ configurable: !0,
143
+ enumerable: !0,
144
+ writable: !0
145
+ };
146
+ Object.defineProperties(console, {
147
+ log: D({}, e, {
148
+ value: Q
149
+ }),
150
+ info: D({}, e, {
151
+ value: ee
152
+ }),
153
+ warn: D({}, e, {
154
+ value: _e
155
+ }),
156
+ error: D({}, e, {
157
+ value: le
158
+ }),
159
+ group: D({}, e, {
160
+ value: V
161
+ }),
162
+ groupCollapsed: D({}, e, {
163
+ value: ce
164
+ }),
165
+ groupEnd: D({}, e, {
166
+ value: re
167
+ })
168
+ });
169
+ }
170
+ B < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
171
+ }
172
+ }
173
+ var ue = b.ReactCurrentDispatcher, ge;
174
+ function K(e, i, l) {
175
+ {
176
+ if (ge === void 0)
177
+ try {
178
+ throw Error();
179
+ } catch (A) {
180
+ var u = A.stack.trim().match(/\n( *(at )?)/);
181
+ ge = u && u[1] || "";
182
+ }
183
+ return `
184
+ ` + ge + e;
185
+ }
186
+ }
187
+ var ye = !1, me;
188
+ {
189
+ var we = typeof WeakMap == "function" ? WeakMap : Map;
190
+ me = new we();
191
+ }
192
+ function be(e, i) {
193
+ if (!e || ye)
194
+ return "";
195
+ {
196
+ var l = me.get(e);
197
+ if (l !== void 0)
198
+ return l;
199
+ }
200
+ var u;
201
+ ye = !0;
202
+ var A = Error.prepareStackTrace;
203
+ Error.prepareStackTrace = void 0;
204
+ var j;
205
+ j = ue.current, ue.current = null, ne();
206
+ try {
207
+ if (i) {
208
+ var y = function() {
209
+ throw Error();
210
+ };
211
+ if (Object.defineProperty(y.prototype, "props", {
212
+ set: function() {
213
+ throw Error();
214
+ }
215
+ }), typeof Reflect == "object" && Reflect.construct) {
216
+ try {
217
+ Reflect.construct(y, []);
218
+ } catch (te) {
219
+ u = te;
220
+ }
221
+ Reflect.construct(e, [], y);
222
+ } else {
223
+ try {
224
+ y.call();
225
+ } catch (te) {
226
+ u = te;
227
+ }
228
+ e.call(y.prototype);
229
+ }
230
+ } else {
231
+ try {
232
+ throw Error();
233
+ } catch (te) {
234
+ u = te;
235
+ }
236
+ e();
237
+ }
238
+ } catch (te) {
239
+ if (te && u && typeof te.stack == "string") {
240
+ for (var _ = te.stack.split(`
241
+ `), X = u.stack.split(`
242
+ `), O = _.length - 1, G = X.length - 1; O >= 1 && G >= 0 && _[O] !== X[G]; )
243
+ G--;
244
+ for (; O >= 1 && G >= 0; O--, G--)
245
+ if (_[O] !== X[G]) {
246
+ if (O !== 1 || G !== 1)
247
+ do
248
+ if (O--, G--, G < 0 || _[O] !== X[G]) {
249
+ var se = `
250
+ ` + _[O].replace(" at new ", " at ");
251
+ return e.displayName && se.includes("<anonymous>") && (se = se.replace("<anonymous>", e.displayName)), typeof e == "function" && me.set(e, se), se;
252
+ }
253
+ while (O >= 1 && G >= 0);
254
+ break;
255
+ }
256
+ }
257
+ } finally {
258
+ ye = !1, ue.current = j, oe(), Error.prepareStackTrace = A;
259
+ }
260
+ var Ce = e ? e.displayName || e.name : "", ve = Ce ? K(Ce) : "";
261
+ return typeof e == "function" && me.set(e, ve), ve;
262
+ }
263
+ function xe(e, i, l) {
264
+ return be(e, !1);
265
+ }
266
+ function Pe(e) {
267
+ var i = e.prototype;
268
+ return !!(i && i.isReactComponent);
269
+ }
270
+ function k(e, i, l) {
271
+ if (e == null)
272
+ return "";
273
+ if (typeof e == "function")
274
+ return be(e, Pe(e));
275
+ if (typeof e == "string")
276
+ return K(e);
277
+ switch (e) {
278
+ case L:
279
+ return K("Suspense");
280
+ case d:
281
+ return K("SuspenseList");
282
+ }
283
+ if (typeof e == "object")
284
+ switch (e.$$typeof) {
285
+ case P:
286
+ return xe(e.render);
287
+ case T:
288
+ return k(e.type, i, l);
289
+ case p: {
290
+ var u = e, A = u._payload, j = u._init;
291
+ try {
292
+ return k(j(A), i, l);
293
+ } catch {
294
+ }
295
+ }
296
+ }
297
+ return "";
298
+ }
299
+ var pe = Object.prototype.hasOwnProperty, n = {}, s = b.ReactDebugCurrentFrame;
300
+ function R(e) {
301
+ if (e) {
302
+ var i = e._owner, l = k(e.type, e._source, i ? i.type : null);
303
+ s.setExtraStackFrame(l);
304
+ } else
305
+ s.setExtraStackFrame(null);
306
+ }
307
+ function fe(e, i, l, u, A) {
308
+ {
309
+ var j = Function.call.bind(pe);
310
+ for (var y in e)
311
+ if (j(e, y)) {
312
+ var _ = void 0;
313
+ try {
314
+ if (typeof e[y] != "function") {
315
+ var X = Error((u || "React class") + ": " + l + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
+ throw X.name = "Invariant Violation", X;
317
+ }
318
+ _ = e[y](i, y, u, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
319
+ } catch (O) {
320
+ _ = O;
321
+ }
322
+ _ && !(_ instanceof Error) && (R(A), g("%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).", u || "React class", l, y, typeof _), R(null)), _ instanceof Error && !(_.message in n) && (n[_.message] = !0, R(A), g("Failed %s type: %s", l, _.message), R(null));
323
+ }
324
+ }
325
+ }
326
+ var Se = Array.isArray;
327
+ function Ee(e) {
328
+ return Se(e);
329
+ }
330
+ function yr(e) {
331
+ {
332
+ var i = typeof Symbol == "function" && Symbol.toStringTag, l = i && e[Symbol.toStringTag] || e.constructor.name || "Object";
333
+ return l;
334
+ }
335
+ }
336
+ function vr(e) {
337
+ try {
338
+ return Ye(e), !1;
339
+ } catch {
340
+ return !0;
341
+ }
342
+ }
343
+ function Ye(e) {
344
+ return "" + e;
345
+ }
346
+ function qe(e) {
347
+ if (vr(e))
348
+ return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", yr(e)), Ye(e);
349
+ }
350
+ var Ve = b.ReactCurrentOwner, kr = {
351
+ key: !0,
352
+ ref: !0,
353
+ __self: !0,
354
+ __source: !0
355
+ }, ze, Je;
356
+ function wr(e) {
357
+ if (pe.call(e, "ref")) {
358
+ var i = Object.getOwnPropertyDescriptor(e, "ref").get;
359
+ if (i && i.isReactWarning)
360
+ return !1;
361
+ }
362
+ return e.ref !== void 0;
363
+ }
364
+ function xr(e) {
365
+ if (pe.call(e, "key")) {
366
+ var i = Object.getOwnPropertyDescriptor(e, "key").get;
367
+ if (i && i.isReactWarning)
368
+ return !1;
369
+ }
370
+ return e.key !== void 0;
371
+ }
372
+ function Pr(e, i) {
373
+ typeof e.ref == "string" && Ve.current;
374
+ }
375
+ function Ar(e, i) {
376
+ {
377
+ var l = function() {
378
+ ze || (ze = !0, g("%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
+ l.isReactWarning = !0, Object.defineProperty(e, "key", {
381
+ get: l,
382
+ configurable: !0
383
+ });
384
+ }
385
+ }
386
+ function Cr(e, i) {
387
+ {
388
+ var l = function() {
389
+ Je || (Je = !0, g("%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
+ l.isReactWarning = !0, Object.defineProperty(e, "ref", {
392
+ get: l,
393
+ configurable: !0
394
+ });
395
+ }
396
+ }
397
+ var jr = function(e, i, l, u, A, j, y) {
398
+ var _ = {
399
+ // This tag allows us to uniquely identify this as a React Element
400
+ $$typeof: o,
401
+ // Built-in properties that belong on the element
402
+ type: e,
403
+ key: i,
404
+ ref: l,
405
+ props: y,
406
+ // Record the component responsible for creating this element.
407
+ _owner: j
408
+ };
409
+ return _._store = {}, Object.defineProperty(_._store, "validated", {
410
+ configurable: !1,
411
+ enumerable: !1,
412
+ writable: !0,
413
+ value: !1
414
+ }), Object.defineProperty(_, "_self", {
415
+ configurable: !1,
416
+ enumerable: !1,
417
+ writable: !1,
418
+ value: u
419
+ }), Object.defineProperty(_, "_source", {
420
+ configurable: !1,
421
+ enumerable: !1,
422
+ writable: !1,
423
+ value: A
424
+ }), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
425
+ };
426
+ function Nr(e, i, l, u, A) {
427
+ {
428
+ var j, y = {}, _ = null, X = null;
429
+ l !== void 0 && (qe(l), _ = "" + l), xr(i) && (qe(i.key), _ = "" + i.key), wr(i) && (X = i.ref, Pr(i, A));
430
+ for (j in i)
431
+ pe.call(i, j) && !kr.hasOwnProperty(j) && (y[j] = i[j]);
432
+ if (e && e.defaultProps) {
433
+ var O = e.defaultProps;
434
+ for (j in O)
435
+ y[j] === void 0 && (y[j] = O[j]);
436
+ }
437
+ if (_ || X) {
438
+ var G = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
439
+ _ && Ar(y, G), X && Cr(y, G);
440
+ }
441
+ return jr(e, _, X, A, u, Ve.current, y);
442
+ }
443
+ }
444
+ var Fe = b.ReactCurrentOwner, Qe = b.ReactDebugCurrentFrame;
445
+ function Ae(e) {
446
+ if (e) {
447
+ var i = e._owner, l = k(e.type, e._source, i ? i.type : null);
448
+ Qe.setExtraStackFrame(l);
449
+ } else
450
+ Qe.setExtraStackFrame(null);
451
+ }
452
+ var Oe;
453
+ Oe = !1;
454
+ function Me(e) {
455
+ return typeof e == "object" && e !== null && e.$$typeof === o;
456
+ }
457
+ function Xe() {
458
+ {
459
+ if (Fe.current) {
460
+ var e = U(Fe.current.type);
461
+ if (e)
462
+ return `
463
+
464
+ Check the render method of \`` + e + "`.";
465
+ }
466
+ return "";
467
+ }
468
+ }
469
+ function Tr(e) {
470
+ return "";
471
+ }
472
+ var Ze = {};
473
+ function Rr(e) {
474
+ {
475
+ var i = Xe();
476
+ if (!i) {
477
+ var l = typeof e == "string" ? e : e.displayName || e.name;
478
+ l && (i = `
479
+
480
+ Check the top-level render call using <` + l + ">.");
481
+ }
482
+ return i;
483
+ }
484
+ }
485
+ function er(e, i) {
486
+ {
487
+ if (!e._store || e._store.validated || e.key != null)
488
+ return;
489
+ e._store.validated = !0;
490
+ var l = Rr(i);
491
+ if (Ze[l])
492
+ return;
493
+ Ze[l] = !0;
494
+ var u = "";
495
+ e && e._owner && e._owner !== Fe.current && (u = " It was passed a child from " + U(e._owner.type) + "."), Ae(e), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, u), Ae(null);
496
+ }
497
+ }
498
+ function rr(e, i) {
499
+ {
500
+ if (typeof e != "object")
501
+ return;
502
+ if (Ee(e))
503
+ for (var l = 0; l < e.length; l++) {
504
+ var u = e[l];
505
+ Me(u) && er(u, i);
506
+ }
507
+ else if (Me(e))
508
+ e._store && (e._store.validated = !0);
509
+ else if (e) {
510
+ var A = C(e);
511
+ if (typeof A == "function" && A !== e.entries)
512
+ for (var j = A.call(e), y; !(y = j.next()).done; )
513
+ Me(y.value) && er(y.value, i);
514
+ }
515
+ }
516
+ }
517
+ function Sr(e) {
518
+ {
519
+ var i = e.type;
520
+ if (i == null || typeof i == "string")
521
+ return;
522
+ var l;
523
+ if (typeof i == "function")
524
+ l = i.propTypes;
525
+ else if (typeof i == "object" && (i.$$typeof === P || // Note: Memo only checks outer props here.
526
+ // Inner props are checked in the reconciler.
527
+ i.$$typeof === T))
528
+ l = i.propTypes;
529
+ else
530
+ return;
531
+ if (l) {
532
+ var u = U(i);
533
+ fe(l, e.props, "prop", u, e);
534
+ } else if (i.PropTypes !== void 0 && !Oe) {
535
+ Oe = !0;
536
+ var A = U(i);
537
+ g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", A || "Unknown");
538
+ }
539
+ typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
540
+ }
541
+ }
542
+ function Er(e) {
543
+ {
544
+ for (var i = Object.keys(e.props), l = 0; l < i.length; l++) {
545
+ var u = i[l];
546
+ if (u !== "children" && u !== "key") {
547
+ Ae(e), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), Ae(null);
548
+ break;
549
+ }
550
+ }
551
+ e.ref !== null && (Ae(e), g("Invalid attribute `ref` supplied to `React.Fragment`."), Ae(null));
552
+ }
553
+ }
554
+ var tr = {};
555
+ function ar(e, i, l, u, A, j) {
556
+ {
557
+ var y = $(e);
558
+ if (!y) {
559
+ var _ = "";
560
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " 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 X = Tr();
562
+ X ? _ += X : _ += Xe();
563
+ var O;
564
+ e === null ? O = "null" : Ee(e) ? O = "array" : e !== void 0 && e.$$typeof === o ? (O = "<" + (U(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : O = typeof e, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", O, _);
565
+ }
566
+ var G = Nr(e, i, l, A, j);
567
+ if (G == null)
568
+ return G;
569
+ if (y) {
570
+ var se = i.children;
571
+ if (se !== void 0)
572
+ if (u)
573
+ if (Ee(se)) {
574
+ for (var Ce = 0; Ce < se.length; Ce++)
575
+ rr(se[Ce], e);
576
+ Object.freeze && Object.freeze(se);
577
+ } else
578
+ g("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
+ rr(se, e);
581
+ }
582
+ if (pe.call(i, "key")) {
583
+ var ve = U(e), te = Object.keys(i).filter(function(Or) {
584
+ return Or !== "key";
585
+ }), $e = te.length > 0 ? "{key: someKey, " + te.join(": ..., ") + ": ...}" : "{key: someKey}";
586
+ if (!tr[ve + $e]) {
587
+ var Fr = te.length > 0 ? "{" + te.join(": ..., ") + ": ...}" : "{}";
588
+ g(`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} />`, $e, ve, Fr, ve), tr[ve + $e] = !0;
594
+ }
595
+ }
596
+ return e === m ? Er(G) : Sr(G), G;
597
+ }
598
+ }
599
+ function Ir(e, i, l) {
600
+ return ar(e, i, l, !0);
601
+ }
602
+ function Br(e, i, l) {
603
+ return ar(e, i, l, !1);
604
+ }
605
+ var Lr = Br, Dr = Ir;
606
+ Be.Fragment = m, Be.jsx = Lr, Be.jsxs = Dr;
607
+ })()), Be;
608
+ }
609
+ var ir;
610
+ function Yr() {
611
+ return ir || (ir = 1, process.env.NODE_ENV === "production" ? Le.exports = Kr() : Le.exports = Hr()), Le.exports;
612
+ }
613
+ var r = Yr();
614
+ const mr = ["en", "hi"], lr = {
615
+ en: "English",
616
+ hi: "हिन्दी"
617
+ }, fr = {
618
+ en: {
619
+ kundli: "Kundli",
620
+ birthChart: "Birth Chart",
621
+ details: "Details",
622
+ name: "Name",
623
+ birthDate: "Birth Date",
624
+ guest: "Guest",
625
+ description: "Your birth chart reveals planetary positions at the time of your birth and their influence on your life.",
626
+ lagna: "Lagna",
627
+ rashi: "Rashi",
628
+ nakshatra: "Nakshatra",
629
+ // Premium Kundli landing
630
+ language: "Language",
631
+ sriMandir: "Sri Mandir",
632
+ ratingText: "4.9/5 on Google PlayStore",
633
+ heroTitle: "Get Your Premium Personalised Kundli Report",
634
+ heroSubtitle: "This premium personalised kundli report helps you find answers to major life issues.",
635
+ topicMarriage: "Marriage",
636
+ topicRelationship: "Relationship",
637
+ topicBusiness: "Business",
638
+ topicHealth: "Health",
639
+ topicCareer: "Career",
640
+ topicEducation: "Education",
641
+ topicMoney: "Money",
642
+ premiumHeadline: "200+ Pages Premium Personalised Kundli Report",
643
+ premiumHeadlinePill1: "200+ Pages",
644
+ premiumHeadlinePlain1: "Premium",
645
+ premiumHeadlinePlain2: "Personalised",
646
+ premiumHeadlinePill2: "Kundli Report",
647
+ premiumFeature1: "Vedic Birth Chart",
648
+ premiumFeature2: "Destiny Insights",
649
+ premiumFeature3: "Major Life Issues",
650
+ premiumFeature4: "Practical Remedies",
651
+ certifiedBy: "Certified by BHU and VHU Astrologers",
652
+ yourThreeSteps: "Your 3 steps",
653
+ threeStepsSubtitle: "Premium Personalised Kundli report",
654
+ step1: "Enter your information",
655
+ step2: "Your horoscope will be created by experts",
656
+ step3Intro: "You'll receive your Kundli report on your Whatsapp",
657
+ step3IntroGlobal: "You'll receive your Kundli report on your email",
658
+ step3IntroDomestic: "You'll receive your Kundli report on your Whatsapp",
659
+ step3Days: "2 days",
660
+ viewSampleReport: "View Sample Kundli Report",
661
+ sampleReportModalTitle: "Sample Kundli Report",
662
+ whatYoullFindTitle: "What will you find in your Kundli report?",
663
+ findDasha: "Analysis of flaws and periods.",
664
+ findDashaDesc: "Identify major flaws, period durations, and simple remedies.",
665
+ findYoga: "All yoga reports.",
666
+ findYogaDesc: "Discover the yogas in your kundli report that affect wealth, career, and relationships.",
667
+ findGemstone: "Gemstone recommendations.",
668
+ findGemstoneDesc: "Personalised gemstone guidance based on your kundli report.",
669
+ findPooja: "Puja recommendations.",
670
+ findPoojaDesc: "Suggestions for pujas and rituals to balance planetary influences.",
671
+ findMonthly: "Monthly predictions (1 year).",
672
+ findMonthlyDesc: "Month-by-month guidance for the coming year.",
673
+ findStrength: "Strength graph.",
674
+ findStrengthDesc: "Visual charts showing the strength and influence of the planets.",
675
+ whyUsTitle: "Why us?",
676
+ whyUsSubtitle: "Fill out the form to get started and unlock your fortune!",
677
+ whyUs1: "3,00,000+ kundli reports created",
678
+ whyUs2: "1,000+ partnered Top Astrologers",
679
+ whyUs3: "500+ temple partnerships you can trust",
680
+ whyUs4: "Personalised section-wise life analysis",
681
+ feedbackTitle: "Feedback from our users",
682
+ feedbackTrust: "Trusted by over 5 crore users worldwide",
683
+ feedbackRating: "4.9",
684
+ feedbackTestimonial1: "Detailed kundli report mila, life mein clarity mili.",
685
+ feedbackTestimonial2: "Career aur marriage dono pe clear guidance mila.",
686
+ feedbackTestimonial3: "Clear direction mila next steps ke liye.",
687
+ feedbackTestimonial4: "Doubts kaafi had tak clear ho gaye report se.",
688
+ feedbackTestimonial5: "Future planning ke liye useful insights mile.",
689
+ feedbackTestimonial6: "Har important area cover kiya gaya properly.",
690
+ feedbackTestimonial7: "Kaafi deep analysis hai, superficial nahi.",
691
+ feedbackTestimonial8: "Kundli insights ne future decisions clear kiye.",
692
+ 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.",
693
+ 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.",
694
+ 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.",
695
+ 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.",
696
+ 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.",
697
+ feedbackTestimonial14: "Simple language mein detailed analysis diya hai.",
698
+ feedbackTestimonial15: "Timing aur dasha explanation helpful thi.",
699
+ feedbackAuthor1: "Aarav",
700
+ feedbackAuthor2: "Vivaan",
701
+ feedbackAuthor3: "Arjun",
702
+ feedbackAuthor4: "Kabir",
703
+ feedbackAuthor5: "Rohan",
704
+ feedbackAuthor6: "Ishaan",
705
+ feedbackAuthor7: "Krish",
706
+ feedbackAuthor8: "Rahul",
707
+ feedbackAuthor9: "Ananya",
708
+ feedbackAuthor10: "Aadhya",
709
+ feedbackAuthor11: "Kavya",
710
+ feedbackAuthor12: "Diya",
711
+ feedbackAuthor13: "Meera",
712
+ feedbackAuthor14: "Pooja",
713
+ feedbackAuthor15: "Nisha",
714
+ feedbackAuthor1AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639271096.png",
715
+ feedbackAuthor2AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639330970.png",
716
+ feedbackAuthor3AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639345411.png",
717
+ feedbackAuthor4AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639358174.png",
718
+ feedbackAuthor5AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639369712.png",
719
+ feedbackAuthor6AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639381899.png",
720
+ feedbackAuthor7AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639442858.png",
721
+ feedbackAuthor8AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639454626.png",
722
+ feedbackAuthor9AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639254172.png",
723
+ feedbackAuthor10AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639293055.png",
724
+ feedbackAuthor11AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639306698.png",
725
+ feedbackAuthor12AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639319028.png",
726
+ feedbackAuthor13AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639402894.png",
727
+ feedbackAuthor14AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639416587.png",
728
+ feedbackAuthor15AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639427379.png",
729
+ readMoreReviews: "Read More Reviews",
730
+ readLess: "Read Less",
731
+ faqTitle: "Frequently Asked Questions",
732
+ faqQ1: "How will I receive my kundli report?",
733
+ faqQ2: "Is Premium personalised kundli available in any other language?",
734
+ faqQ3: "What if I don't know my birth time?",
735
+ faqA1Global: "You will receive your premium personalised kundli report on your shared email ID within 2 days.",
736
+ faqA1Domestic: "You will receive your premium personalised kundli report on your shared WhatsApp number within 2 days.",
737
+ faqA2: "Yes, we provide report in Hindi and English languages",
738
+ 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",
739
+ contactTitle: "Contact Us",
740
+ contactBrandName: "Sri Mandir",
741
+ contactWhatsAppGlobal: "Whatsapp: 8296947757",
742
+ contactWhatsAppDomestic: "Whatsapp: 08071174417",
743
+ contactEmail: "Email: pujaseva@appsforbharat.com",
744
+ ctaKundliCreated: "3L+ Kundli Reports Created.",
745
+ ctaCertified: "BHU Certified Astrologer.",
746
+ ctaSecurePayment: "Secure Payment.",
747
+ ctaButton: "Get My Detailed Kundli in $300 $25",
748
+ ctaButtonStruck: "$100",
749
+ ctaButtonBefore: "Get My Detailed Kundli in ",
750
+ ctaButtonAfter: "$25",
751
+ // Kundli form (from incoming branch)
752
+ back: "Back",
753
+ info: "Info",
754
+ formTitle: "Enter your information",
755
+ formSubtitle: "Fill out the form below to get started and unlock your fortune!",
756
+ formFullName: "Enter your full name",
757
+ formFullNamePlaceholder: "Full name",
758
+ formPhone: "Enter your phone number",
759
+ formPhonePlaceholder: "Phone number",
760
+ formGurujiTitle: "FREE 1:1 Astrologer Consultation",
761
+ formGurujiSubtitle: "Get explanation of your premium personalised by a certified astrologer",
762
+ formGender: "Your Gender",
763
+ formGenderMale: "Male",
764
+ formGenderFemale: "Female",
765
+ formEmail: "Enter your email address",
766
+ formEmailHelp: "Your kundli report will be sent to your email",
767
+ formEmailPlaceholder: "Email address",
768
+ formDob: "Enter your date of birth",
769
+ formDobInfo: "This helps us calculate exact planetary position in your birth chart",
770
+ formBirthTime: "Enter your birth time",
771
+ formBirthTimeInfo: "This helps us calculate exact planetary position in your birth chart",
772
+ formBirthTimeUnknownLine1: "Don't know your exact birth time?",
773
+ formBirthTimeUnknownLine2: "We can analyze with 80% accuracy",
774
+ formBirthPlace: "Enter your birth place",
775
+ formBirthPlaceInfo: "This helps us calculate exact planetary position in your birth chart",
776
+ formBirthPlacePlaceholder: "City, State",
777
+ formReportLanguage: "Report Language",
778
+ formReportLanguageHindi: "Hindi",
779
+ formReportLanguageEnglish: "English",
780
+ formReportLanguageTelugu: "Telugu",
781
+ formReportLanguageTamil: "Tamil",
782
+ formReportLanguageKannada: "Kannada",
783
+ formReportLanguageGujarati: "Gujarati",
784
+ formReportLanguageMarathi: "Marathi",
785
+ formOfferEnding: "The offer is ending soon",
786
+ formDiscountPill: "75% discount",
787
+ formCtaDefault: "Get my detailed Kundli",
788
+ formProceed: "Proceed to payment ",
789
+ formOriginalPrice: "$100",
790
+ formDiscountedPrice: "$25",
791
+ formPriceAria: "Price",
792
+ proceedWithPlan: "Proceed with plan ",
793
+ // Kundli Plan Bottom Sheet
794
+ planSheetTitle: "Choose Your Kundli Plan",
795
+ planProceedToPayment: "Proceed to Payment",
796
+ planMostPopular: "Most popular",
797
+ planAstrologerHeading: "We will assign you a top astrologer from below",
798
+ planNameBasic: "Kundli Report",
799
+ planNameGuidance: "Kundli Report + Astrologer Guidance",
800
+ planSaveLabel: "Save ~25%",
801
+ // Plan Features
802
+ planFeatureDetailedInsights: "Detailed insights on love, marriage, career, health & finances",
803
+ planFeaturePracticalRemedies: "Practical remedies like gemstones, rudraksha & mantras",
804
+ planFeatureClearLanguage: "Written in clear, easy-to-understand language by expert astrologers",
805
+ planFeatureAstrologyConsultant: "Astrology consultant",
806
+ planFeaturePersonalizedReading: "Personalized reading",
807
+ planFeatureIncludesPremium: "Includes everything in the Premium Personalized Kundli",
808
+ planFeaturePlusConsultation: "PLUS: A 30-minute private consultation with an expert astrologer",
809
+ planFeatureRealTimeAnswers: "Get real-time answers & guidance for your biggest life concerns",
810
+ planFeatureTailoredRemedies: "Remedies & timelines tailored to your unique birth chart",
811
+ // Astrologer Card
812
+ planAstrologerExp: "{{years}} Years of experience",
813
+ planAstrologerCertCertifiedJyotish: "Certified Jyotish Acharya",
814
+ planAstrologerCertAccurateSolutions: "Guaranteed accurate solutions",
815
+ planAstrologerCertVedicAstrology: "12+ Years Vedic Astrology",
816
+ planAstrologerCertResultOriented: "Result-Oriented Solutions",
817
+ planAstrologerCertBhuCertified: "BHU Certified Vedic Astrologer",
818
+ planAstrologerCertMantraRudraksha: "Mantra & Rudraksha Specialist",
819
+ planAstrologerCertKundliBhavfal: "Kundli Report & Bhavfal Specialist",
820
+ planAstrologerCertAccurateKundliMatching: "Accurate Kundli Matching",
821
+ //astro name
822
+ planAstrologerNameJyoti: "Jyoti Acharya Neeraj",
823
+ planAstrologerExpJyoti: "18+ Years of experience",
824
+ planAstrologerNameSamiksha: "Ashwini",
825
+ planAstrologerExpSamiksha: "12+ Years of experience",
826
+ planAstrologerNameNeeraj: "Meenakshi",
827
+ planAstrologerExpNeeraj: "12+ Years of experience",
828
+ planAstrologerNameAshwini: "Astro Ashwini",
829
+ planAstrologerExpAshwini: "16 Years of experience",
830
+ and: "And",
831
+ astrologyGuidance: "Astrology Guidance",
832
+ selectPackage: "Select Package"
833
+ },
834
+ hi: {
835
+ kundli: "कुंडली",
836
+ birthChart: "जन्म कुंडली",
837
+ details: "विवरण",
838
+ name: "नाम",
839
+ birthDate: "जन्म तिथि",
840
+ guest: "अतिथि",
841
+ description: "आपकी जन्म कुंडली आपके जन्म के समय ग्रहों की स्थिति और आपके जीवन पर उनके प्रभाव को दर्शाती है।",
842
+ lagna: "लग्न",
843
+ rashi: "राशि",
844
+ nakshatra: "नक्षत्र",
845
+ language: "भाषा",
846
+ sriMandir: "श्री मंदिर",
847
+ ratingText: "4.9/5 (8 लाख Google Playstore)",
848
+ heroTitle: "अपनी प्रीमियम व्यक्तिगत कुंडली रिपोर्ट प्राप्त करें",
849
+ heroSubtitle: "यह प्रीमियम व्यक्तिगत कुंडली रिपोर्ट आपको प्रमुख जीवन मुद्दों के जवाब खोजने में मदद करती है।",
850
+ topicMarriage: "विवाह",
851
+ topicRelationship: "रिश्ता",
852
+ topicBusiness: "व्यवसाय",
853
+ topicHealth: "स्वास्थ्य",
854
+ topicCareer: "करियर",
855
+ topicEducation: "शिक्षा",
856
+ topicMoney: "पैसा",
857
+ premiumHeadline: "200+ पृष्ठ प्रीमियम व्यक्तिगत कुंडली रिपोर्ट",
858
+ premiumHeadlinePill1: "200+ पृष्ठ",
859
+ premiumHeadlinePlain1: "प्रीमियम",
860
+ premiumHeadlinePlain2: "व्यक्तिगत",
861
+ premiumHeadlinePill2: "कुंडली रिपोर्ट",
862
+ premiumFeature1: "वैदिक जन्म कुंडली",
863
+ premiumFeature2: "भाग्य जानकारी",
864
+ premiumFeature3: "प्रमुख जीवन मुद्दे",
865
+ premiumFeature4: "व्यावहारिक उपाय",
866
+ certifiedBy: "BHU और VHU ज्योतिषियों द्वारा प्रमाणित",
867
+ yourThreeSteps: "आपके 3 कदम",
868
+ threeStepsSubtitle: "प्रीमियम व्यक्तिगत कुंडली रिपोर्ट",
869
+ step1: "अपनी जानकारी दर्ज करें",
870
+ step2: "आपकी कुंडली विशेषज्ञों द्वारा बनाई जाएगी",
871
+ step3Intro: "आपको व्हाट्सएप पर अपनी कुंडली रिपोर्ट मिलेगी",
872
+ step3IntroGlobal: "आपको अपने ईमेल पर अपनी कुंडली रिपोर्ट मिलेगी",
873
+ step3IntroDomestic: "आपको व्हाट्सएप पर अपनी कुंडली रिपोर्ट मिलेगी",
874
+ step3Days: "2 दिनों में",
875
+ viewSampleReport: "नमूना कुंडली रिपोर्ट देखें",
876
+ sampleReportModalTitle: "नमूना कुंडली रिपोर्ट",
877
+ whatYoullFindTitle: "आपकी कुंडली रिपोर्ट में क्या मिलेगा?",
878
+ findDasha: "दोष और दशा का विश्लेषण",
879
+ findDashaDesc: "मुख्य दोष, दशा काल और सरल उपायों की पहचान करें",
880
+ findYoga: "सभी योग रिपोर्ट्स",
881
+ findYogaDesc: "अपनी कुंडली रिपोर्ट में उन योगों को जानें जो धन, करियर और संबंधों को प्रभावित करते हैं",
882
+ findGemstone: "रत्न सिफारिशें",
883
+ findGemstoneDesc: "आपकी कुंडली रिपोर्ट के आधार पर पर्सनलाइज्ड रत्न मार्गदर्शन",
884
+ findPooja: "पूजा सिफारिशें",
885
+ findPoojaDesc: "ग्रहों के प्रभाव को संतुलित करने के लिए पूजा और अनुष्ठान सुझाव",
886
+ findMonthly: "मासिक भविष्यवाणियाँ (1 वर्ष)",
887
+ findMonthlyDesc: "आने वाले वर्ष के लिए महीने-दर-महीने मार्गदर्शन",
888
+ findStrength: "भावबल ग्राफ",
889
+ findStrengthDesc: "ग्रहों की ताकत और प्रभाव दिखाने वाले दृश्य चार्ट",
890
+ whyUsTitle: "क्यों हम?",
891
+ whyUsSubtitle: "शुरू करने के लिए फॉर्म भरें और अपना भाग्य खोलें!",
892
+ whyUs1: "3,00,000+ कुंडली रिपोर्ट बनाई गई",
893
+ whyUs2: "1,000+ शीर्ष ज्योतिषी भागीदार",
894
+ whyUs3: "500+ मंदिर भागीदारी",
895
+ whyUs4: "व्यक्तिगत खंडवार जीवन विश्लेषण",
896
+ feedbackTitle: "हमारे उपयोगकर्ताओं की प्रतिक्रिया",
897
+ feedbackTrust: "दुनिया भर में 5 करोड़ से अधिक उपयोगकर्ताओं द्वारा विश्वसनीय",
898
+ feedbackRating: "4.9",
899
+ feedbackTestimonial1: "डिटेल्ड कुंडली रिपोर्ट मिली, जीवन में काफी क्लैरिटी आई।",
900
+ feedbackTestimonial2: "करियर और शादी दोनों पर साफ मार्गदर्शन मिला।",
901
+ feedbackTestimonial3: "आगे क्या करना है, उसकी साफ दिशा मिली।",
902
+ feedbackTestimonial4: "रिपोर्ट से ज़्यादातर डाउट्स क्लियर हो गए।",
903
+ feedbackTestimonial5: "फ्यूचर प्लानिंग के लिए अच्छे सुझाव मिले।",
904
+ feedbackTestimonial6: "सभी ज़रूरी चीज़ें अच्छे से कवर की गई हैं।",
905
+ feedbackTestimonial7: "एनालिसिस काफी डीप है, ऊपर-ऊपर का नहीं।",
906
+ feedbackTestimonial8: "कुंडली के सुझावों से फ्यूचर डिसीजन क्लियर हुए।",
907
+ feedbackTestimonial9: "मैंने पहले भी कई सामान्य ज्योतिष रिपोर्ट देखी थीं, लेकिन यह कुंडली रिपोर्ट अलग लगी। इसमें मेरी ज़िंदगी की परेशानियों, सोचने के तरीके और पिछले कुछ सालों की स्थितियों को बहुत सही तरीके से बताया गया था। कई बातें पढ़कर ऐसा लगा जैसे किसी ने मेरी हालत को पहले से समझ लिया हो। सबसे खास बात यह थी कि सब कुछ साफ़ और समझने वाली भाषा में लिखा था, जिससे भरोसा और बढ़ गया।",
908
+ feedbackTestimonial10: "मैंने यह कुंडली रिपोर्ट सिर्फ़ जिज्ञासा में ली थी, लेकिन पढ़ने के बाद सच में हैरान रह गया। मेरे काम में रुकावट, मन का असमंजस और फैसले लेने की परेशानी जैसी बातें बिल्कुल सही बताई गई थीं। ऐसा लगा जैसे मेरी ज़िंदगी की असली स्थिति को ठीक से समझकर लिखा गया हो। रिपोर्ट पढ़कर कई चीज़ें साफ़ समझ में आने लगीं।",
909
+ feedbackTestimonial11: "बहुत ही विस्तार से बनी हुई कुंडली रिपोर्ट थी। इसमें मेरे स्वभाव, सोच और जिन समस्याओं से मैं गुजर रहा था, उन सबका ज़िक्र था। कुछ बातें इतनी मिलती-जुलती थीं कि पढ़कर सच में आश्चर्य हुआ। यह सिर्फ़ सामान्य जानकारी नहीं थी, बल्कि मेरी अपनी ज़िंदगी से जुड़ी हुई लगी।",
910
+ feedbackTestimonial12: "सच कहूँ तो मुझे ज़्यादा उम्मीद नहीं थी, लेकिन रिपोर्ट पढ़ने के बाद नज़रिया बदल गया। इसमें मेरे व्यक्तित्व, काम के उतार-चढ़ाव और मन की उलझनों को बहुत सही तरीके से समझाया गया था। कई हिस्से ऐसे थे जो मेरी वर्तमान स्थिति से बिल्कुल मेल खाते थे। पूरा पढ़ने के बाद लगा कि यह रिपोर्ट सच में मेरे लिए ही बनाई गई है।",
911
+ feedbackTestimonial13: "मैंने कुंडली रिपोर्ट घरवालों के कहने पर ली थी, लेकिन पढ़ने के बाद खुद हैरान रह गया। मेरे स्वभाव, पिछले अनुभवों और चल रही परेशानियों के बारे में कई बातें बिल्कुल सही निकलीं। ऐसा लगा जैसे किसी ने मेरी ज़िंदगी को ध्यान से समझकर लिखा हो। इस वजह से रिपोर्ट पर भरोसा अपने-आप बन गया।",
912
+ feedbackTestimonial14: "आसान भाषा में पूरा डिटेल्ड एनालिसिस दिया है।",
913
+ feedbackTestimonial15: "दशा और टाइमिंग की जानकारी बहुत काम की थी।",
914
+ feedbackAuthor1: "आरव",
915
+ feedbackAuthor2: "विवान",
916
+ feedbackAuthor3: "अर्जुन",
917
+ feedbackAuthor4: "कबीर",
918
+ feedbackAuthor5: "रोहन",
919
+ feedbackAuthor6: "ईशान",
920
+ feedbackAuthor7: "कृष",
921
+ feedbackAuthor8: "राहुल",
922
+ feedbackAuthor9: "अनन्या",
923
+ feedbackAuthor10: "आध्या",
924
+ feedbackAuthor11: "काव्या",
925
+ feedbackAuthor12: "दिया",
926
+ feedbackAuthor13: "मीरा",
927
+ feedbackAuthor14: "पूजा",
928
+ feedbackAuthor15: "निशा",
929
+ feedbackAuthor1AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639271096.png",
930
+ feedbackAuthor2AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639330970.png",
931
+ feedbackAuthor3AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639345411.png",
932
+ feedbackAuthor4AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639358174.png",
933
+ feedbackAuthor5AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639369712.png",
934
+ feedbackAuthor6AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639381899.png",
935
+ feedbackAuthor7AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639442858.png",
936
+ feedbackAuthor8AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639454626.png",
937
+ feedbackAuthor9AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639254172.png",
938
+ feedbackAuthor10AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639293055.png",
939
+ feedbackAuthor11AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639306698.png",
940
+ feedbackAuthor12AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639319028.png",
941
+ feedbackAuthor13AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639402894.png",
942
+ feedbackAuthor14AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639416587.png",
943
+ feedbackAuthor15AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639427379.png",
944
+ readMoreReviews: "और समीक्षाएं पढ़ें",
945
+ readLess: "कम पढ़ें",
946
+ faqTitle: "अक्सर पूछे जाने वाले प्रश्न",
947
+ faqQ1: "मुझे अपनी कुंडली रिपोर्ट कैसे मिलेगी?",
948
+ faqQ2: "क्या प्रीमियम पर्सनलाइज्ड कुंडली किसी और भाषा में उपलब्ध है?",
949
+ faqQ3: "अगर मुझे अपने जन्म का समय नहीं पता हो तो?",
950
+ faqA1Global: "आपको 2 दिनों के भीतर आपके साझा किए गए ईमेल आईडी पर आपकी प्रीमियम पर्सनलाइज्ड कुंडली रिपोर्ट मिल जाएगी।",
951
+ faqA1Domestic: "आपको 2 दिनों के भीतर आपके साझा किए गए व्हाट्सऐप नंबर पर आपकी प्रीमियम पर्सनलाइज्ड कुंडली रिपोर्ट मिल जाएगी।",
952
+ faqA2: "हाँ, हम रिपोर्ट हिंदी और अंग्रेज़ी भाषाओं में प्रदान करते हैं।",
953
+ faqA3: "सही जन्म समय से रिपोर्ट और अधिक सटीक बनती है। फिर भी, बिना सटीक समय के हम लगभग 80% सटीक रिपोर्ट तैयार कर सकते हैं।",
954
+ contactTitle: "संपर्क करें",
955
+ contactBrandName: "श्री मंदिर",
956
+ contactWhatsAppGlobal: "व्हाट्सएप: 8296947757",
957
+ contactWhatsAppDomestic: "व्हाट्सएप: 08071174417",
958
+ contactEmail: "ईमेल: pujaseva@appsforbharat.com",
959
+ ctaKundliCreated: "3L+ कुंडली रिपोर्ट बनाई।",
960
+ ctaCertified: "BHU प्रमाणित ज्योतिषी।",
961
+ ctaSecurePayment: "सुरक्षित भुगतान।",
962
+ ctaButton: "$300 $25 में मेरी विस्तृत कुंडली प्राप्त करें",
963
+ ctaButtonStruck: "$100",
964
+ ctaButtonBefore: "मेरा विस्तृत कुंडली प्राप्त करें ",
965
+ ctaButtonAfter: "$25 में मेरी विस्तृत कुंडली प्राप्त करें",
966
+ // Kundli form (from incoming branch)
967
+ back: "वापस",
968
+ info: "जानकारी",
969
+ formTitle: "अपनी जानकारी दर्ज करें",
970
+ formSubtitle: "शुरू करने के लिए नीचे दिया गया फॉर्म भरें और अपना भाग्य खोलें!",
971
+ formFullName: "अपना पूरा नाम दर्ज करें",
972
+ formFullNamePlaceholder: "पूरा नाम",
973
+ formPhone: "अपना फोन नंबर दर्ज करें",
974
+ formPhonePlaceholder: "फोन नंबर",
975
+ formGurujiTitle: "मुफ्त 1:1 ज्योतिषी परामर्श",
976
+ formGurujiSubtitle: "एक प्रमाणित ज्योतिषी द्वारा आपके लिए व्यक्तिगत रूप से तैयार की गई व्याख्या प्राप्त करें",
977
+ formGender: "आपका लिंग",
978
+ formGenderMale: "पुरुष",
979
+ formGenderFemale: "महिला",
980
+ formEmail: "अपना ईमेल पता दर्ज करें",
981
+ formEmailHelp: "आपकी कुंडली रिपोर्ट आपके ईमेल पर भेजी जाएगी",
982
+ formEmailPlaceholder: "ईमेल पता",
983
+ formDob: "अपनी जन्म तिथि दर्ज करें",
984
+ formDobInfo: "यह आपके जन्म कुंडली में ग्रहों की सटीक स्थिति की गणना करने में हमारी सहायता करता है।",
985
+ formBirthTime: "अपना जन्म समय दर्ज करें",
986
+ formBirthTimeInfo: "यह आपके जन्म कुंडली में ग्रहों की सटीक स्थिति की गणना करने में हमारी सहायता करता है।",
987
+ formBirthTimeUnknownLine1: "क्या आपको अपना सटीक जन्म समय नहीं पता?",
988
+ formBirthTimeUnknownLine2: "हम 80% सटीकता के साथ विश्लेषण कर सकते हैं",
989
+ formBirthPlace: "अपना जन्म स्थान दर्ज करें",
990
+ formBirthPlaceInfo: "यह आपके जन्म कुंडली में ग्रहों की सटीक स्थिति की गणना करने में हमारी सहायता करता है।",
991
+ formBirthPlacePlaceholder: "शहर, राज्य",
992
+ formReportLanguage: "रिपोर्ट भाषा",
993
+ formReportLanguageHindi: "हिंदी",
994
+ formReportLanguageEnglish: "अंग्रेज़ी",
995
+ formReportLanguageTelugu: "तेलुगु",
996
+ formReportLanguageTamil: "तमिल",
997
+ formReportLanguageKannada: "कन्नड़",
998
+ formReportLanguageGujarati: "गुजराती",
999
+ formReportLanguageMarathi: "मराठी",
1000
+ formOfferEnding: "ऑफर जल्द खत्म हो रहा है",
1001
+ formDiscountPill: "75% छूट",
1002
+ formCtaDefault: "मेरी विस्तृत कुंडली प्राप्त करें",
1003
+ formProceed: "भुगतान के लिए आगे बढ़ें",
1004
+ formOriginalPrice: "$100",
1005
+ formDiscountedPrice: "$25",
1006
+ formPriceAria: "कीमत",
1007
+ proceedWithPlan: "योजना के साथ आगे बढ़ें ",
1008
+ // Kundli Plan Bottom Sheet
1009
+ planSheetTitle: "अपना कुंडली प्लान चुनें",
1010
+ planProceedToPayment: "पेमेंट के लिए आगे बढ़ें",
1011
+ planMostPopular: "सबसे लोकप्रिय",
1012
+ planAstrologerHeading: "हम आपके लिए नीचे दिए गए टॉप ज्योतिषियों में से एक को चुनेंगे",
1013
+ planNameBasic: "कुंडली रिपोर्ट",
1014
+ planNameGuidance: "कुंडली रिपोर्ट + ज्योतिषी से बात",
1015
+ planSaveLabel: "~25% बचाएं",
1016
+ // Plan Features
1017
+ planFeatureDetailedInsights: "प्यार, शादी, करियर, सेहत और पैसों के बारे में पूरी जानकारी",
1018
+ planFeaturePracticalRemedies: "रत्न, रुद्राक्ष और मंत्र जैसे आसान उपाय",
1019
+ planFeatureClearLanguage: "ज्योतिषियों द्वारा आसान भाषा में लिखी गई",
1020
+ planFeatureAstrologyConsultant: "ज्योतिषी से बात नहीं होगी",
1021
+ planFeaturePersonalizedReading: "आपके लिए खास रीडिंग",
1022
+ planFeatureIncludesPremium: "प्रीमियम कुंडली रिपोर्ट में जो कुछ भी है, सब मिलेगा",
1023
+ planFeaturePlusConsultation: "साथ ही: एक अनुभवी ज्योतिषी से 30 मिनट की प्राइवेट बात",
1024
+ planFeatureRealTimeAnswers: "अपनी सबसे बड़ी परेशानियों का सीधा जवाब और सही सलाह पाएं",
1025
+ planFeatureTailoredRemedies: "आपकी कुंडली के हिसाब से उपाय और सही समय की जानकारी",
1026
+ // Astrologer Card
1027
+ planAstrologerExp: "साल का अनुभव",
1028
+ planAstrologerCertCertifiedJyotish: "प्रमाणित ज्योतिष आचार्य",
1029
+ planAstrologerCertAccurateSolutions: "सटीक समाधान की गारंटी",
1030
+ planAstrologerCertVedicAstrology: "12+ साल का वैदिक ज्योतिष",
1031
+ planAstrologerCertResultOriented: "नतीजों पर आधारित समाधान",
1032
+ planAstrologerCertBhuCertified: "BHU से प्रमाणित वैदिक ज्योतिषी",
1033
+ planAstrologerCertMantraRudraksha: "मंत्र और रुद्राक्ष विशेषज्ञ",
1034
+ planAstrologerCertKundliBhavfal: "कुंडली रिपोर्ट और भावफल विशेषज्ञ",
1035
+ planAstrologerCertAccurateKundliMatching: "महर्षि पराशर ज्योतिष विद्यालय से प्रशिक्षित",
1036
+ //astro name
1037
+ planAstrologerNameJyoti: "ज्योतिष आचार्य नीरज",
1038
+ planAstrologerExpJyoti: "18+ साल का अनुभव",
1039
+ planAstrologerNameSamiksha: "अश्विनी",
1040
+ planAstrologerExpSamiksha: "12+ साल का अनुभव",
1041
+ planAstrologerNameNeeraj: "मीनाक्षी",
1042
+ planAstrologerExpNeeraj: "12+ साल का अनुभव",
1043
+ planAstrologerNameAshwini: "ज्योतिष अश्विनी",
1044
+ planAstrologerExpAshwini: "16 साल का अनुभव",
1045
+ and: "और",
1046
+ astrologyGuidance: "ज्योतिष से सलाह",
1047
+ selectPackage: "पैकेज चुनें"
1048
+ }
1049
+ }, pr = ur(null), Dn = ({
1050
+ locale: t,
1051
+ children: o
1052
+ }) => {
1053
+ const m = { locale: t, t: (w) => fr[t]?.[w] ?? w };
1054
+ return /* @__PURE__ */ r.jsx(pr.Provider, { value: m, children: o });
1055
+ };
1056
+ function qr() {
1057
+ return We(pr);
1058
+ }
1059
+ const Vr = "_container_1e1th_1", zr = "_main_1e1th_7", Jr = "_kundliHeaderNoBorder_1e1th_12", Qr = "_headerSeparator_1e1th_16", Xr = "_langDropdownWrap_1e1th_21", Zr = "_langTrigger_1e1th_25", et = "_langIcon_1e1th_37", rt = "_langLabel_1e1th_44", tt = "_langMenu_1e1th_49", at = "_langOption_1e1th_55", he = {
1060
+ container: Vr,
1061
+ main: zr,
1062
+ kundliHeaderNoBorder: Jr,
1063
+ headerSeparator: Qr,
1064
+ langDropdownWrap: Xr,
1065
+ langTrigger: Zr,
1066
+ langIcon: et,
1067
+ langLabel: rt,
1068
+ langMenu: tt,
1069
+ langOption: at
1070
+ }, De = (t) => {
1071
+ const { priority: o, fetchPriority: c, width: m, height: w, ...S } = t;
1072
+ return Ge.createElement("img", {
1073
+ ...S,
1074
+ width: m ?? 1,
1075
+ height: w ?? 1,
1076
+ decoding: "async",
1077
+ loading: S.loading ?? (o ? "eager" : "lazy"),
1078
+ ...c && { fetchPriority: c }
1079
+ });
1080
+ };
1081
+ function nt(t) {
1082
+ if (typeof window > "u" || !window.localStorage)
1083
+ return null;
1084
+ try {
1085
+ return window.localStorage.getItem(t);
1086
+ } catch {
1087
+ return null;
1088
+ }
1089
+ }
1090
+ function ot(t, o) {
1091
+ if (!(typeof window > "u" || !window.localStorage))
1092
+ try {
1093
+ window.localStorage.setItem(t, o);
1094
+ } catch {
1095
+ }
1096
+ }
1097
+ function Fn(t) {
1098
+ if (!(typeof window > "u" || !window.localStorage))
1099
+ try {
1100
+ window.localStorage.removeItem(t);
1101
+ } catch {
1102
+ }
1103
+ }
1104
+ function On() {
1105
+ if (typeof window > "u" || !window.localStorage)
1106
+ return !1;
1107
+ try {
1108
+ const t = "__kundli_storage_test__";
1109
+ return window.localStorage.setItem(t, "1"), window.localStorage.removeItem(t), !0;
1110
+ } catch {
1111
+ return !1;
1112
+ }
1113
+ }
1114
+ const hr = "kundli_language";
1115
+ function it() {
1116
+ const t = nt(hr);
1117
+ return t && mr.includes(t) ? t : null;
1118
+ }
1119
+ function lt(t) {
1120
+ ot(hr, t);
1121
+ }
1122
+ const Ke = ur(null), st = {
1123
+ fullName: "",
1124
+ phone: "",
1125
+ gender: "",
1126
+ email: "",
1127
+ language_code: "",
1128
+ dateOfBirth: "",
1129
+ birthTime: "",
1130
+ birthTimeUnknown: !1,
1131
+ birthPlace: "",
1132
+ birthPlaceLat: void 0,
1133
+ birthPlaceLng: void 0
1134
+ }, Mn = ({
1135
+ locale: t,
1136
+ showLanguageSelector: o = !0,
1137
+ showSheet: c,
1138
+ userId: m,
1139
+ isGlobal: w,
1140
+ variant: S,
1141
+ atlasSearchLocalities: x,
1142
+ logoUrl: N,
1143
+ reportImageUrl: P,
1144
+ reportImagePriority: L,
1145
+ backgroundImagePriority: d,
1146
+ universityLogoUrls: T,
1147
+ sampleReportHref: p,
1148
+ onViewSampleReport: E,
1149
+ ctaHref: h,
1150
+ onCtaClick: I,
1151
+ onBack: C,
1152
+ readMoreReviewsHref: b,
1153
+ onProceed: g,
1154
+ proceedHref: M,
1155
+ originalPriceLabel: v,
1156
+ discountedPriceLabel: F,
1157
+ discountPillLabel: z,
1158
+ analytics: J,
1159
+ onProceedGuidance: ae,
1160
+ onLocaleChange: q,
1161
+ imageComponent: $ = De,
1162
+ resolvedUtmBannerImageUrl: ie,
1163
+ children: Z
1164
+ }) => {
1165
+ const [U, D] = W("landing"), [B, Q] = W(t ?? "en"), [ee, _e] = W(st), le = H(!0);
1166
+ Y(() => {
1167
+ const ne = it();
1168
+ ne && Q(ne);
1169
+ }, []), Y(() => {
1170
+ lt(B);
1171
+ }, [B]), Y(() => {
1172
+ if (le.current) {
1173
+ le.current = !1;
1174
+ return;
1175
+ }
1176
+ q?.(B);
1177
+ }, [B, q]);
1178
+ const V = Ue(
1179
+ () => ({
1180
+ locale: t,
1181
+ showLanguageSelector: o,
1182
+ showSheet: c,
1183
+ userId: m,
1184
+ isGlobal: w,
1185
+ variant: S,
1186
+ atlasSearchLocalities: x,
1187
+ logoUrl: N,
1188
+ reportImageUrl: P,
1189
+ reportImagePriority: L,
1190
+ backgroundImagePriority: d,
1191
+ universityLogoUrls: T,
1192
+ sampleReportHref: p,
1193
+ onViewSampleReport: E,
1194
+ ctaHref: h,
1195
+ onCtaClick: I,
1196
+ onBack: C,
1197
+ readMoreReviewsHref: b,
1198
+ onProceed: g,
1199
+ proceedHref: M,
1200
+ originalPriceLabel: v,
1201
+ discountedPriceLabel: F,
1202
+ discountPillLabel: z,
1203
+ analytics: J,
1204
+ onProceedGuidance: ae,
1205
+ onLocaleChange: q,
1206
+ imageComponent: $,
1207
+ resolvedUtmBannerImageUrl: ie
1208
+ }),
1209
+ [
1210
+ t,
1211
+ o,
1212
+ c,
1213
+ m,
1214
+ w,
1215
+ S,
1216
+ x,
1217
+ N,
1218
+ P,
1219
+ L,
1220
+ d,
1221
+ T,
1222
+ p,
1223
+ E,
1224
+ h,
1225
+ I,
1226
+ C,
1227
+ b,
1228
+ g,
1229
+ M,
1230
+ v,
1231
+ F,
1232
+ z,
1233
+ J,
1234
+ ae,
1235
+ q,
1236
+ $,
1237
+ ie
1238
+ ]
1239
+ ), ce = Te(() => {
1240
+ D("form");
1241
+ }, [V.analytics]), re = Te(() => {
1242
+ D("landing"), V.onBack?.();
1243
+ }, [V.onBack]), de = Ue(
1244
+ () => ({
1245
+ view: U,
1246
+ locale: B,
1247
+ setLocale: Q,
1248
+ config: V,
1249
+ formValues: ee,
1250
+ setFormValues: _e,
1251
+ goToForm: ce,
1252
+ goToPage: re,
1253
+ onProceed: V.onProceed,
1254
+ onProceedGuidance: V.onProceedGuidance
1255
+ }),
1256
+ [U, B, V, ee, ce, re]
1257
+ );
1258
+ return /* @__PURE__ */ r.jsx(Ke.Provider, { value: de, children: Z });
1259
+ };
1260
+ function Re() {
1261
+ return We(Ke);
1262
+ }
1263
+ function $n() {
1264
+ const t = We(Ke);
1265
+ if (!t)
1266
+ throw new Error("useKundliContextOrThrow must be used within KundliProvider");
1267
+ return t;
1268
+ }
1269
+ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
1270
+ header: ct,
1271
+ centered: dt
1272
+ }, ut = ({
1273
+ t,
1274
+ onBack: o,
1275
+ className: c = "",
1276
+ align: m = "left"
1277
+ }) => /* @__PURE__ */ r.jsx(
1278
+ Mr,
1279
+ {
1280
+ title: t("formTitle"),
1281
+ subtitle: t("formSubtitle"),
1282
+ onBack: o,
1283
+ backAriaLabel: t("back"),
1284
+ className: `${sr.header} ${m === "center" ? sr.centered : ""} ${c}`
1285
+ }
1286
+ ), mt = "_wrap_119w3_1", ft = "_card_119w3_5", pt = "_cardInner_119w3_12", ht = "_field_119w3_44", gt = "_labelRow_119w3_48", _t = "_label_119w3_48", bt = "_req_119w3_57", yt = "_help_119w3_61", vt = "_choiceRow_119w3_68", kt = "_choiceBtn_119w3_74", wt = "_choiceBtnActive_119w3_99", xt = "_infoBtn_119w3_105", Pt = "_infoImg_119w3_122", At = "_infoWrap_119w3_128", Ct = "_tooltip_119w3_134", jt = "_tooltipArrow_119w3_150", Nt = "_inputWrap_119w3_161", Tt = "_isdWrap_119w3_165", Rt = "_phoneInputGroup_119w3_169", St = "_isdSelectWrap_119w3_178", Et = "_isdSelectTrigger_119w3_197", It = "_isdDropdown_119w3_214", Bt = "_isdSearchWrap_119w3_229", Lt = "_isdSearchInput_119w3_237", Dt = "_isdOption_119w3_255", Ft = "_isdOptionActive_119w3_275", Ot = "_isdCountryName_119w3_281", Mt = "_isdCountryCode_119w3_288", $t = "_isdNoResult_119w3_295", Ut = "_suggestions_119w3_302", Gt = "_suggestionItem_119w3_315", Wt = "_suggestionMain_119w3_333", Kt = "_suggestionSecondary_119w3_339", Ht = "_suggestionsHint_119w3_344", Yt = "_fieldError_119w3_359", qt = "_timePopover_119w3_366", Vt = "_timePickerRow_119w3_382", zt = "_timePickerSelect_119w3_388", Jt = "_timePickerColon_119w3_404", Qt = "_meridiemToggle_119w3_412", Xt = "_meridiemBtn_119w3_421", Zt = "_meridiemActive_119w3_436", ea = "_timePopoverActions_119w3_441", ra = "_timePopoverBtn_119w3_447", ta = "_timePopoverOk_119w3_466", aa = "_input_119w3_161", na = "_phoneInput_119w3_169", oa = "_iconBtn_119w3_519", ia = "_iconBtnInteractive_119w3_525", la = "_iconImg_119w3_544", sa = "_checkboxRow_119w3_550", ca = "_checkbox_119w3_550", da = "_checkboxText_119w3_588", a = {
1287
+ wrap: mt,
1288
+ card: ft,
1289
+ cardInner: pt,
1290
+ field: ht,
1291
+ labelRow: gt,
1292
+ label: _t,
1293
+ req: bt,
1294
+ help: yt,
1295
+ choiceRow: vt,
1296
+ choiceBtn: kt,
1297
+ choiceBtnActive: wt,
1298
+ infoBtn: xt,
1299
+ infoImg: Pt,
1300
+ infoWrap: At,
1301
+ tooltip: Ct,
1302
+ tooltipArrow: jt,
1303
+ inputWrap: Nt,
1304
+ isdWrap: Tt,
1305
+ phoneInputGroup: Rt,
1306
+ isdSelectWrap: St,
1307
+ isdSelectTrigger: Et,
1308
+ isdDropdown: It,
1309
+ isdSearchWrap: Bt,
1310
+ isdSearchInput: Lt,
1311
+ isdOption: Dt,
1312
+ isdOptionActive: Ft,
1313
+ isdCountryName: Ot,
1314
+ isdCountryCode: Mt,
1315
+ isdNoResult: $t,
1316
+ suggestions: Ut,
1317
+ suggestionItem: Gt,
1318
+ suggestionMain: Wt,
1319
+ suggestionSecondary: Kt,
1320
+ suggestionsHint: Ht,
1321
+ fieldError: Yt,
1322
+ timePopover: qt,
1323
+ timePickerRow: Vt,
1324
+ timePickerSelect: zt,
1325
+ timePickerColon: Jt,
1326
+ meridiemToggle: Qt,
1327
+ meridiemBtn: Xt,
1328
+ meridiemActive: Zt,
1329
+ timePopoverActions: ea,
1330
+ timePopoverBtn: ra,
1331
+ timePopoverOk: ta,
1332
+ input: aa,
1333
+ phoneInput: na,
1334
+ iconBtn: oa,
1335
+ iconBtnInteractive: ia,
1336
+ iconImg: la,
1337
+ checkboxRow: sa,
1338
+ checkbox: ca,
1339
+ checkboxText: da
1340
+ }, cr = (t) => typeof t == "number" && Number.isFinite(t), ua = (t) => {
1341
+ const o = typeof t?.limit == "number" && t.limit > 0 ? Math.min(t.limit, 20) : 8, c = typeof t?.offset == "number" && t.offset >= 0 ? t.offset : 0;
1342
+ return {
1343
+ limit: o,
1344
+ offset: c,
1345
+ restrictCountry: t?.restrictCountry
1346
+ };
1347
+ }, ma = (t) => {
1348
+ const { searchLocalities: o, restrictCountry: c } = t, [m, w] = W([]), [S, x] = W(!1), [N, P] = W(null), L = H(0);
1349
+ Y(() => {
1350
+ P(null);
1351
+ }, [o]);
1352
+ const d = Te(
1353
+ async (p) => {
1354
+ if (!p || p.length < 2 || !o) {
1355
+ w([]);
1356
+ return;
1357
+ }
1358
+ const E = ++L.current;
1359
+ x(!0), P(null);
1360
+ try {
1361
+ const h = ua({ restrictCountry: c }), I = await o(p, h);
1362
+ if (E !== L.current) return;
1363
+ const C = (I || []).filter(
1364
+ (b) => !!b?.id && !!b?.description && cr(b?.lat) && cr(b?.lng)
1365
+ ).map((b) => ({
1366
+ id: b.id,
1367
+ description: b.description,
1368
+ secondary_text: b.secondaryText,
1369
+ lat: b.lat,
1370
+ lng: b.lng
1371
+ }));
1372
+ w(C);
1373
+ } catch (h) {
1374
+ if (E !== L.current) return;
1375
+ w([]), P(h?.message || "Failed to fetch locations");
1376
+ } finally {
1377
+ E === L.current && x(!1);
1378
+ }
1379
+ },
1380
+ [c, o]
1381
+ ), T = Te(() => w([]), []);
1382
+ return {
1383
+ predictions: m,
1384
+ isSearching: S,
1385
+ loadError: N,
1386
+ searchPlaces: d,
1387
+ clearPredictions: T
1388
+ };
1389
+ }, je = {
1390
+ time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
1391
+ location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
1392
+ date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
1393
+ info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
1394
+ }, gr = [
1395
+ { code: "+1", country: "USA / Canada" },
1396
+ { code: "+7", country: "Russia / Kazakhstan" },
1397
+ { code: "+20", country: "Egypt" },
1398
+ { code: "+27", country: "South Africa" },
1399
+ { code: "+30", country: "Greece" },
1400
+ { code: "+31", country: "Netherlands" },
1401
+ { code: "+32", country: "Belgium" },
1402
+ { code: "+33", country: "France" },
1403
+ { code: "+34", country: "Spain" },
1404
+ { code: "+36", country: "Hungary" },
1405
+ { code: "+39", country: "Italy" },
1406
+ { code: "+40", country: "Romania" },
1407
+ { code: "+41", country: "Switzerland" },
1408
+ { code: "+43", country: "Austria" },
1409
+ { code: "+44", country: "United Kingdom" },
1410
+ { code: "+45", country: "Denmark" },
1411
+ { code: "+46", country: "Sweden" },
1412
+ { code: "+47", country: "Norway" },
1413
+ { code: "+48", country: "Poland" },
1414
+ { code: "+49", country: "Germany" },
1415
+ { code: "+51", country: "Peru" },
1416
+ { code: "+52", country: "Mexico" },
1417
+ { code: "+53", country: "Cuba" },
1418
+ { code: "+54", country: "Argentina" },
1419
+ { code: "+55", country: "Brazil" },
1420
+ { code: "+56", country: "Chile" },
1421
+ { code: "+57", country: "Colombia" },
1422
+ { code: "+60", country: "Malaysia" },
1423
+ { code: "+61", country: "Australia" },
1424
+ { code: "+62", country: "Indonesia" },
1425
+ { code: "+63", country: "Philippines" },
1426
+ { code: "+64", country: "New Zealand" },
1427
+ { code: "+65", country: "Singapore" },
1428
+ { code: "+66", country: "Thailand" },
1429
+ { code: "+81", country: "Japan" },
1430
+ { code: "+82", country: "South Korea" },
1431
+ { code: "+84", country: "Vietnam" },
1432
+ { code: "+86", country: "China" },
1433
+ { code: "+90", country: "Turkey" },
1434
+ { code: "+91", country: "India" },
1435
+ { code: "+92", country: "Pakistan" },
1436
+ { code: "+93", country: "Afghanistan" },
1437
+ { code: "+94", country: "Sri Lanka" },
1438
+ { code: "+95", country: "Myanmar" },
1439
+ { code: "+98", country: "Iran" },
1440
+ { code: "+211", country: "South Sudan" },
1441
+ { code: "+212", country: "Morocco" },
1442
+ { code: "+213", country: "Algeria" },
1443
+ { code: "+216", country: "Tunisia" },
1444
+ { code: "+218", country: "Libya" },
1445
+ { code: "+220", country: "Gambia" },
1446
+ { code: "+221", country: "Senegal" },
1447
+ { code: "+234", country: "Nigeria" },
1448
+ { code: "+254", country: "Kenya" },
1449
+ { code: "+255", country: "Tanzania" },
1450
+ { code: "+256", country: "Uganda" },
1451
+ { code: "+260", country: "Zambia" },
1452
+ { code: "+263", country: "Zimbabwe" },
1453
+ { code: "+264", country: "Namibia" },
1454
+ { code: "+265", country: "Malawi" },
1455
+ { code: "+880", country: "Bangladesh" },
1456
+ { code: "+886", country: "Taiwan" },
1457
+ { code: "+971", country: "United Arab Emirates" },
1458
+ { code: "+972", country: "Israel" },
1459
+ { code: "+973", country: "Bahrain" },
1460
+ { code: "+974", country: "Qatar" },
1461
+ { code: "+975", country: "Bhutan" },
1462
+ { code: "+976", country: "Mongolia" },
1463
+ { code: "+977", country: "Nepal" }
1464
+ ];
1465
+ gr.map((t) => t.code);
1466
+ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r), fa = (t) => He(t).length === _r, pa = (t, o, c) => fa(t) ? c.phone ? { shouldTrack: !1 } : (c.phone = !0, { shouldTrack: !0, fullPhone: `${o}-${He(t)}` }) : (c.phone = !1, { shouldTrack: !1 }), ha = ({
1467
+ t,
1468
+ values: o,
1469
+ onChange: c,
1470
+ phoneIsdCode: m,
1471
+ onPhoneIsdCodeChange: w,
1472
+ showV1ExtraFields: S = !1,
1473
+ analytics: x,
1474
+ atlasSearchLocalities: N,
1475
+ className: P = ""
1476
+ }) => {
1477
+ const L = Re(), d = L?.config?.analytics ?? x, T = L?.config.isGlobal ?? !0, p = L?.config?.atlasSearchLocalities, [E, h] = W(!1), [I, C] = W(""), b = H(null), g = H(null), M = H({}), v = (n) => c({ ...o, ...n }), F = (n, s) => {
1478
+ if (n === "phone") {
1479
+ const R = pa(s, m, M.current);
1480
+ R.shouldTrack && d?.trackPhoneSectionFilled?.({ phone: R.fullPhone });
1481
+ return;
1482
+ }
1483
+ s.trim() && !M.current[n] && (M.current[n] = !0, {
1484
+ fullName: () => d?.trackNameSectionFilled?.(),
1485
+ dateOfBirth: () => d?.trackDobFilled?.(),
1486
+ birthTime: () => d?.trackTimeFilled?.(),
1487
+ birthPlace: () => d?.trackPlaceOfBirthChosen?.()
1488
+ }[n]?.());
1489
+ }, z = (n) => {
1490
+ const s = n.target.value;
1491
+ s.trim() && d?.trackEmailSectionFilled?.({ email: s });
1492
+ }, J = I.trim().toLowerCase(), ae = gr.filter((n) => J ? n.country.toLowerCase().includes(J) || n.code.includes(J) : !0), q = H(null);
1493
+ H(null);
1494
+ const $ = H(null), ie = H(0), Z = H(null), [U, D] = W(!1), [B, Q] = W({ hour12: 12, minute: "00", meridiem: "AM" }), ee = (n) => String(n).padStart(2, "0"), _e = (n) => {
1495
+ const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
1496
+ if (!s) return n;
1497
+ const R = Number(s[1]), fe = s[2], Se = R >= 12 ? "PM" : "AM";
1498
+ return `${R % 12 === 0 ? 12 : R % 12}:${fe} ${Se}`;
1499
+ }, le = (n) => {
1500
+ const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
1501
+ if (!s) return { hour12: 12, minute: "00", meridiem: "AM" };
1502
+ const R = Number(s[1]), fe = s[2], Se = R >= 12 ? "PM" : "AM";
1503
+ return { hour12: R % 12 === 0 ? 12 : R % 12, minute: fe, meridiem: Se };
1504
+ }, V = (n) => {
1505
+ const s = Math.min(12, Math.max(1, n.hour12)), R = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
1506
+ let fe = s % 12;
1507
+ return n.meridiem === "PM" && (fe += 12), `${ee(fe)}:${R}`;
1508
+ }, ce = H(null), [re, de] = W(!1), [ne, oe] = W(
1509
+ null
1510
+ ), ue = (o.birthPlace ?? "").trim(), ge = T ? void 0 : "in", K = N ?? p, ye = Number.isFinite(o.birthPlaceLat) && Number.isFinite(o.birthPlaceLng), me = ue.length > 0 && !ye && !re, {
1511
+ predictions: we,
1512
+ isSearching: be,
1513
+ loadError: xe,
1514
+ searchPlaces: Pe,
1515
+ clearPredictions: k
1516
+ } = ma({
1517
+ searchLocalities: K,
1518
+ restrictCountry: ge
1519
+ });
1520
+ Y(() => {
1521
+ const n = (s) => {
1522
+ ce.current && (ce.current.contains(s.target) || de(!1));
1523
+ };
1524
+ return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1525
+ }, []), Y(() => {
1526
+ const n = (s) => {
1527
+ b.current && (b.current.contains(s.target) || (h(!1), C("")));
1528
+ };
1529
+ return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1530
+ }, []), Y(() => {
1531
+ if (!E) return;
1532
+ const n = window.setTimeout(() => {
1533
+ g.current?.focus();
1534
+ }, 0);
1535
+ return () => window.clearTimeout(n);
1536
+ }, [E]), Y(() => {
1537
+ if (!re) return;
1538
+ if (ue.length < 2) {
1539
+ k();
1540
+ return;
1541
+ }
1542
+ const n = window.setTimeout(async () => {
1543
+ await Pe(ue);
1544
+ }, 250);
1545
+ return () => window.clearTimeout(n);
1546
+ }, [k, re, ue, Pe]);
1547
+ const pe = (n) => {
1548
+ const s = n.current;
1549
+ if (!(!s || s.disabled)) {
1550
+ if (document.activeElement === s && $.current === s && Date.now() - ie.current < 6e4) {
1551
+ s.blur();
1552
+ return;
1553
+ }
1554
+ if (typeof s.showPicker == "function") {
1555
+ s.showPicker(), $.current = s, ie.current = Date.now();
1556
+ return;
1557
+ }
1558
+ s.focus(), $.current = s, ie.current = Date.now();
1559
+ }
1560
+ };
1561
+ return Y(() => {
1562
+ const n = (s) => {
1563
+ Z.current && (Z.current.contains(s.target) || D(!1));
1564
+ };
1565
+ return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1566
+ }, []), Y(() => {
1567
+ const n = (R) => {
1568
+ R.target?.closest?.("[data-info-tooltip]") == null && oe(null);
1569
+ }, s = (R) => {
1570
+ R.key === "Escape" && oe(null);
1571
+ };
1572
+ return document.addEventListener("mousedown", n), document.addEventListener("keydown", s), () => {
1573
+ document.removeEventListener("mousedown", n), document.removeEventListener("keydown", s);
1574
+ };
1575
+ }, []), /* @__PURE__ */ r.jsx(
1576
+ "section",
1577
+ {
1578
+ className: `${a.wrap} ${P}`,
1579
+ "aria-label": t("formTitle"),
1580
+ children: /* @__PURE__ */ r.jsx("div", { className: a.card, children: /* @__PURE__ */ r.jsxs("div", { className: a.cardInner, children: [
1581
+ /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1582
+ /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-full-name", children: [
1583
+ t("formFullName"),
1584
+ /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
1585
+ ] }) }),
1586
+ /* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsx(
1587
+ "input",
1588
+ {
1589
+ id: "kundli-full-name",
1590
+ className: a.input,
1591
+ type: "text",
1592
+ value: o.fullName,
1593
+ onFocus: () => d?.trackNameSectionClicked?.(),
1594
+ onChange: (n) => {
1595
+ const s = n.target.value;
1596
+ v({ fullName: s }), F("fullName", s);
1597
+ },
1598
+ placeholder: t("formFullNamePlaceholder"),
1599
+ autoComplete: "name"
1600
+ }
1601
+ ) })
1602
+ ] }),
1603
+ /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1604
+ /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-phone", children: [
1605
+ t("formPhone"),
1606
+ !T && /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
1607
+ ] }) }),
1608
+ /* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref: b, children: [
1609
+ /* @__PURE__ */ r.jsxs("div", { className: a.phoneInputGroup, children: [
1610
+ /* @__PURE__ */ r.jsx("div", { className: a.isdSelectWrap, children: /* @__PURE__ */ r.jsx(
1611
+ "button",
1612
+ {
1613
+ type: "button",
1614
+ className: a.isdSelectTrigger,
1615
+ "aria-haspopup": "listbox",
1616
+ "aria-expanded": E,
1617
+ onClick: () => {
1618
+ h((n) => !n), C("");
1619
+ },
1620
+ children: m
1621
+ }
1622
+ ) }),
1623
+ /* @__PURE__ */ r.jsx(
1624
+ "input",
1625
+ {
1626
+ id: "kundli-phone",
1627
+ className: `${a.input} ${a.phoneInput}`,
1628
+ type: "tel",
1629
+ value: o.phone ?? "",
1630
+ onFocus: () => d?.trackPhoneSectionClicked?.(),
1631
+ onChange: (n) => {
1632
+ const s = n.target.value;
1633
+ v({ phone: dr(s) }), F("phone", dr(s));
1634
+ },
1635
+ placeholder: t("formPhonePlaceholder"),
1636
+ autoComplete: "tel",
1637
+ inputMode: "numeric",
1638
+ pattern: "[0-9]{10}",
1639
+ maxLength: 10,
1640
+ required: !T,
1641
+ "aria-required": !T
1642
+ }
1643
+ )
1644
+ ] }),
1645
+ E && /* @__PURE__ */ r.jsxs(
1646
+ "div",
1647
+ {
1648
+ className: a.isdDropdown,
1649
+ role: "listbox",
1650
+ "aria-label": "ISD code options",
1651
+ children: [
1652
+ /* @__PURE__ */ r.jsx("div", { className: a.isdSearchWrap, children: /* @__PURE__ */ r.jsx(
1653
+ "input",
1654
+ {
1655
+ ref: g,
1656
+ type: "text",
1657
+ value: I,
1658
+ onChange: (n) => C(n.target.value),
1659
+ placeholder: "Search country",
1660
+ className: a.isdSearchInput,
1661
+ "aria-label": "Search country"
1662
+ }
1663
+ ) }),
1664
+ ae.length > 0 ? ae.map((n) => /* @__PURE__ */ r.jsxs(
1665
+ "button",
1666
+ {
1667
+ type: "button",
1668
+ role: "option",
1669
+ "aria-selected": n.code === m,
1670
+ className: `${a.isdOption} ${n.code === m ? a.isdOptionActive : ""}`,
1671
+ onClick: () => {
1672
+ w(n.code), h(!1), C("");
1673
+ },
1674
+ children: [
1675
+ /* @__PURE__ */ r.jsx("span", { className: a.isdCountryName, children: n.country }),
1676
+ /* @__PURE__ */ r.jsx("span", { className: a.isdCountryCode, children: n.code })
1677
+ ]
1678
+ },
1679
+ `${n.code}-${n.country}`
1680
+ )) : /* @__PURE__ */ r.jsx("div", { className: a.isdNoResult, children: "No country found" })
1681
+ ]
1682
+ }
1683
+ )
1684
+ ] }) })
1685
+ ] }),
1686
+ S && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1687
+ /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
1688
+ t("formGender"),
1689
+ /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
1690
+ ] }) }),
1691
+ /* @__PURE__ */ r.jsxs(
1692
+ "div",
1693
+ {
1694
+ className: a.choiceRow,
1695
+ role: "radiogroup",
1696
+ "aria-label": t("formGender"),
1697
+ children: [
1698
+ /* @__PURE__ */ r.jsx(
1699
+ "button",
1700
+ {
1701
+ id: "kundli-gender-male",
1702
+ type: "button",
1703
+ className: `${a.choiceBtn} ${o.gender === "male" ? a.choiceBtnActive : ""}`,
1704
+ onClick: () => {
1705
+ v({ gender: "male" }), d?.trackGenderSelected?.({
1706
+ gender: "male"
1707
+ });
1708
+ },
1709
+ role: "radio",
1710
+ "aria-checked": o.gender === "male",
1711
+ children: t("formGenderMale")
1712
+ }
1713
+ ),
1714
+ /* @__PURE__ */ r.jsx(
1715
+ "button",
1716
+ {
1717
+ id: "kundli-gender-female",
1718
+ type: "button",
1719
+ className: `${a.choiceBtn} ${o.gender === "female" ? a.choiceBtnActive : ""}`,
1720
+ onClick: () => {
1721
+ v({ gender: "female" }), d?.trackGenderSelected?.({
1722
+ gender: "female"
1723
+ });
1724
+ },
1725
+ role: "radio",
1726
+ "aria-checked": o.gender === "female",
1727
+ children: t("formGenderFemale")
1728
+ }
1729
+ )
1730
+ ]
1731
+ }
1732
+ )
1733
+ ] }),
1734
+ T && /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1735
+ /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-email", children: [
1736
+ t("formEmail"),
1737
+ /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
1738
+ ] }) }),
1739
+ /* @__PURE__ */ r.jsx("div", { className: a.help, children: t("formEmailHelp") }),
1740
+ /* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsx(
1741
+ "input",
1742
+ {
1743
+ id: "kundli-email",
1744
+ className: a.input,
1745
+ type: "email",
1746
+ value: o.email,
1747
+ onFocus: () => d?.trackEmailSectionClicked?.(),
1748
+ onChange: (n) => {
1749
+ v({ email: n.target.value });
1750
+ },
1751
+ onBlur: z,
1752
+ placeholder: t("formEmailPlaceholder"),
1753
+ autoComplete: "email",
1754
+ required: !0,
1755
+ "aria-required": !0
1756
+ }
1757
+ ) })
1758
+ ] }) }),
1759
+ /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1760
+ /* @__PURE__ */ r.jsxs("div", { className: a.labelRow, children: [
1761
+ /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-dob", children: [
1762
+ t("formDob"),
1763
+ /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
1764
+ ] }),
1765
+ /* @__PURE__ */ r.jsxs("div", { className: a.infoWrap, "data-info-tooltip": !0, children: [
1766
+ /* @__PURE__ */ r.jsx(
1767
+ "button",
1768
+ {
1769
+ type: "button",
1770
+ className: a.infoBtn,
1771
+ "aria-label": t("info"),
1772
+ "aria-expanded": ne === "dob",
1773
+ onClick: () => {
1774
+ oe((n) => n === "dob" ? null : "dob"), d?.trackInfoIconClicked?.({ fieldName: "dob" });
1775
+ },
1776
+ children: /* @__PURE__ */ r.jsx(
1777
+ "img",
1778
+ {
1779
+ className: a.infoImg,
1780
+ src: je.info,
1781
+ alt: "",
1782
+ "aria-hidden": !0
1783
+ }
1784
+ )
1785
+ }
1786
+ ),
1787
+ ne === "dob" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
1788
+ t("formDobInfo"),
1789
+ /* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
1790
+ ] })
1791
+ ] })
1792
+ ] }),
1793
+ /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, children: [
1794
+ /* @__PURE__ */ r.jsx(
1795
+ "input",
1796
+ {
1797
+ id: "kundli-dob",
1798
+ className: a.input,
1799
+ type: "date",
1800
+ ref: q,
1801
+ value: o.dateOfBirth,
1802
+ max: (() => {
1803
+ const n = /* @__PURE__ */ new Date();
1804
+ return `${n.getFullYear()}-${ee(n.getMonth() + 1)}-${ee(n.getDate())}`;
1805
+ })(),
1806
+ onChange: (n) => {
1807
+ const s = n.target.value, R = /* @__PURE__ */ new Date(), fe = `${R.getFullYear()}-${ee(R.getMonth() + 1)}-${ee(R.getDate())}`;
1808
+ s && s > fe || (v({ dateOfBirth: s }), F("dateOfBirth", s), $.current = null);
1809
+ },
1810
+ onFocus: () => d?.trackDobClicked?.(),
1811
+ onClick: () => pe(q),
1812
+ onBlur: () => {
1813
+ $.current === q.current && ($.current = null);
1814
+ }
1815
+ }
1816
+ ),
1817
+ /* @__PURE__ */ r.jsx(
1818
+ "button",
1819
+ {
1820
+ type: "button",
1821
+ className: `${a.iconBtn} ${a.iconBtnInteractive}`,
1822
+ "aria-label": "Open date picker",
1823
+ onMouseDown: (n) => n.preventDefault(),
1824
+ onClick: (n) => {
1825
+ n.preventDefault(), n.stopPropagation(), pe(q);
1826
+ },
1827
+ children: /* @__PURE__ */ r.jsx(
1828
+ "img",
1829
+ {
1830
+ className: a.iconImg,
1831
+ src: je.date,
1832
+ alt: "",
1833
+ "aria-hidden": !0
1834
+ }
1835
+ )
1836
+ }
1837
+ )
1838
+ ] })
1839
+ ] }),
1840
+ /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1841
+ /* @__PURE__ */ r.jsxs("div", { className: a.labelRow, children: [
1842
+ /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-birth-time", children: [
1843
+ t("formBirthTime"),
1844
+ /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
1845
+ ] }),
1846
+ /* @__PURE__ */ r.jsxs("div", { className: a.infoWrap, "data-info-tooltip": !0, children: [
1847
+ /* @__PURE__ */ r.jsx(
1848
+ "button",
1849
+ {
1850
+ type: "button",
1851
+ className: a.infoBtn,
1852
+ "aria-label": t("info"),
1853
+ "aria-expanded": ne === "time",
1854
+ onClick: () => {
1855
+ d?.trackInfoIconClicked?.({ fieldName: "time" }), oe((n) => n === "time" ? null : "time");
1856
+ },
1857
+ children: /* @__PURE__ */ r.jsx(
1858
+ "img",
1859
+ {
1860
+ className: a.infoImg,
1861
+ src: je.info,
1862
+ alt: "",
1863
+ "aria-hidden": !0
1864
+ }
1865
+ )
1866
+ }
1867
+ ),
1868
+ ne === "time" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
1869
+ t("formBirthTimeInfo"),
1870
+ /* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
1871
+ ] })
1872
+ ] })
1873
+ ] }),
1874
+ /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: Z, children: [
1875
+ /* @__PURE__ */ r.jsx(
1876
+ "input",
1877
+ {
1878
+ id: "kundli-birth-time",
1879
+ className: a.input,
1880
+ type: "text",
1881
+ value: o.birthTime ? _e(o.birthTime) : "",
1882
+ readOnly: !0,
1883
+ onFocus: () => d?.trackTimeClicked?.(),
1884
+ onChange: (n) => {
1885
+ const s = n.target.value;
1886
+ v({ birthTime: s }), F("birthTime", s);
1887
+ },
1888
+ disabled: o.birthTimeUnknown,
1889
+ placeholder: "HH:MM AM",
1890
+ onClick: () => {
1891
+ o.birthTimeUnknown || (Q(le(o.birthTime || "12:00")), D((n) => !n));
1892
+ }
1893
+ }
1894
+ ),
1895
+ /* @__PURE__ */ r.jsx(
1896
+ "button",
1897
+ {
1898
+ type: "button",
1899
+ className: `${a.iconBtn} ${a.iconBtnInteractive}`,
1900
+ "aria-label": "Open time picker",
1901
+ disabled: o.birthTimeUnknown,
1902
+ onMouseDown: (n) => n.preventDefault(),
1903
+ onClick: (n) => {
1904
+ n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (Q(le(o.birthTime || "12:00")), D((s) => !s));
1905
+ },
1906
+ children: /* @__PURE__ */ r.jsx(
1907
+ "img",
1908
+ {
1909
+ className: a.iconImg,
1910
+ src: je.time,
1911
+ alt: "",
1912
+ "aria-hidden": !0
1913
+ }
1914
+ )
1915
+ }
1916
+ ),
1917
+ U && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
1918
+ "div",
1919
+ {
1920
+ className: a.timePopover,
1921
+ role: "dialog",
1922
+ "aria-label": "Select time",
1923
+ children: [
1924
+ /* @__PURE__ */ r.jsxs("div", { className: a.timePickerRow, children: [
1925
+ /* @__PURE__ */ r.jsx(
1926
+ "select",
1927
+ {
1928
+ className: a.timePickerSelect,
1929
+ value: B.hour12,
1930
+ onChange: (n) => Q((s) => ({
1931
+ ...s,
1932
+ hour12: Number(n.target.value)
1933
+ })),
1934
+ "aria-label": "Hour",
1935
+ children: Array.from({ length: 12 }, (n, s) => s + 1).map((n) => /* @__PURE__ */ r.jsx("option", { value: n, children: n }, n))
1936
+ }
1937
+ ),
1938
+ /* @__PURE__ */ r.jsx("span", { className: a.timePickerColon, children: ":" }),
1939
+ /* @__PURE__ */ r.jsx(
1940
+ "select",
1941
+ {
1942
+ className: a.timePickerSelect,
1943
+ value: B.minute,
1944
+ onChange: (n) => Q((s) => ({ ...s, minute: n.target.value })),
1945
+ "aria-label": "Minute",
1946
+ children: Array.from({ length: 60 }, (n, s) => ee(s)).map(
1947
+ (n) => /* @__PURE__ */ r.jsx("option", { value: n, children: n }, n)
1948
+ )
1949
+ }
1950
+ ),
1951
+ /* @__PURE__ */ r.jsxs("div", { className: a.meridiemToggle, "aria-label": "AM/PM", children: [
1952
+ /* @__PURE__ */ r.jsx(
1953
+ "button",
1954
+ {
1955
+ type: "button",
1956
+ className: `${a.meridiemBtn} ${B.meridiem === "AM" ? a.meridiemActive : ""}`,
1957
+ onClick: () => Q((n) => ({ ...n, meridiem: "AM" })),
1958
+ children: "AM"
1959
+ }
1960
+ ),
1961
+ /* @__PURE__ */ r.jsx(
1962
+ "button",
1963
+ {
1964
+ type: "button",
1965
+ className: `${a.meridiemBtn} ${B.meridiem === "PM" ? a.meridiemActive : ""}`,
1966
+ onClick: () => Q((n) => ({ ...n, meridiem: "PM" })),
1967
+ children: "PM"
1968
+ }
1969
+ )
1970
+ ] })
1971
+ ] }),
1972
+ /* @__PURE__ */ r.jsxs("div", { className: a.timePopoverActions, children: [
1973
+ /* @__PURE__ */ r.jsx(
1974
+ "button",
1975
+ {
1976
+ type: "button",
1977
+ className: a.timePopoverBtn,
1978
+ onClick: () => D(!1),
1979
+ children: "Cancel"
1980
+ }
1981
+ ),
1982
+ /* @__PURE__ */ r.jsx(
1983
+ "button",
1984
+ {
1985
+ type: "button",
1986
+ className: `${a.timePopoverBtn} ${a.timePopoverOk}`,
1987
+ onClick: () => {
1988
+ const n = V(B);
1989
+ v({ birthTime: n }), F("birthTime", n), D(!1);
1990
+ },
1991
+ "aria-label": "OK",
1992
+ children: /* @__PURE__ */ r.jsx(
1993
+ "svg",
1994
+ {
1995
+ width: "18",
1996
+ height: "18",
1997
+ viewBox: "0 0 24 24",
1998
+ fill: "none",
1999
+ xmlns: "http://www.w3.org/2000/svg",
2000
+ "aria-hidden": !0,
2001
+ children: /* @__PURE__ */ r.jsx(
2002
+ "path",
2003
+ {
2004
+ d: "M20 6L9 17l-5-5",
2005
+ stroke: "currentColor",
2006
+ strokeWidth: "2",
2007
+ strokeLinecap: "round",
2008
+ strokeLinejoin: "round"
2009
+ }
2010
+ )
2011
+ }
2012
+ )
2013
+ }
2014
+ )
2015
+ ] })
2016
+ ]
2017
+ }
2018
+ )
2019
+ ] }),
2020
+ /* @__PURE__ */ r.jsxs("div", { className: a.checkboxRow, children: [
2021
+ /* @__PURE__ */ r.jsx(
2022
+ "input",
2023
+ {
2024
+ id: "kundli-time-unknown",
2025
+ className: a.checkbox,
2026
+ type: "checkbox",
2027
+ checked: o.birthTimeUnknown,
2028
+ onChange: (n) => {
2029
+ d?.trackTimeCheckboxClicked?.(), v({
2030
+ birthTimeUnknown: n.target.checked,
2031
+ birthTime: n.target.checked ? "" : o.birthTime
2032
+ });
2033
+ }
2034
+ }
2035
+ ),
2036
+ /* @__PURE__ */ r.jsxs(
2037
+ "label",
2038
+ {
2039
+ className: a.checkboxText,
2040
+ htmlFor: "kundli-time-unknown",
2041
+ children: [
2042
+ t("formBirthTimeUnknownLine1"),
2043
+ /* @__PURE__ */ r.jsx("br", {}),
2044
+ t("formBirthTimeUnknownLine2")
2045
+ ]
2046
+ }
2047
+ )
2048
+ ] })
2049
+ ] }),
2050
+ /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
2051
+ /* @__PURE__ */ r.jsxs("div", { className: a.labelRow, children: [
2052
+ /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-birth-place", children: [
2053
+ t("formBirthPlace"),
2054
+ /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
2055
+ ] }),
2056
+ /* @__PURE__ */ r.jsxs("div", { className: a.infoWrap, "data-info-tooltip": !0, children: [
2057
+ /* @__PURE__ */ r.jsx(
2058
+ "button",
2059
+ {
2060
+ type: "button",
2061
+ className: a.infoBtn,
2062
+ "aria-label": t("info"),
2063
+ "aria-expanded": ne === "place",
2064
+ onClick: () => {
2065
+ d?.trackInfoIconClicked?.({
2066
+ fieldName: "birthPlace"
2067
+ }), oe((n) => n === "place" ? null : "place");
2068
+ },
2069
+ children: /* @__PURE__ */ r.jsx(
2070
+ "img",
2071
+ {
2072
+ className: a.infoImg,
2073
+ src: je.info,
2074
+ alt: "",
2075
+ "aria-hidden": !0
2076
+ }
2077
+ )
2078
+ }
2079
+ ),
2080
+ ne === "place" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
2081
+ t("formBirthPlaceInfo"),
2082
+ /* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
2083
+ ] })
2084
+ ] })
2085
+ ] }),
2086
+ /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: ce, children: [
2087
+ /* @__PURE__ */ r.jsx(
2088
+ "input",
2089
+ {
2090
+ id: "kundli-birth-place",
2091
+ className: a.input,
2092
+ type: "text",
2093
+ value: o.birthPlace,
2094
+ onChange: (n) => {
2095
+ const s = n.target.value;
2096
+ v({
2097
+ birthPlace: s,
2098
+ birthPlaceLat: void 0,
2099
+ birthPlaceLng: void 0
2100
+ }), F("birthPlace", s), de(!0);
2101
+ },
2102
+ onFocus: () => {
2103
+ d?.trackPlaceOfBirthClicked?.(), de(!0);
2104
+ },
2105
+ placeholder: t("formBirthPlacePlaceholder"),
2106
+ autoComplete: "address-level2"
2107
+ }
2108
+ ),
2109
+ /* @__PURE__ */ r.jsx("span", { className: a.iconBtn, "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
2110
+ "img",
2111
+ {
2112
+ className: a.iconImg,
2113
+ src: je.location,
2114
+ alt: "",
2115
+ "aria-hidden": !0
2116
+ }
2117
+ ) }),
2118
+ re && we.length > 0 && /* @__PURE__ */ r.jsx("div", { className: a.suggestions, role: "listbox", children: we.slice(0, 8).map((n) => /* @__PURE__ */ r.jsxs(
2119
+ "button",
2120
+ {
2121
+ type: "button",
2122
+ className: a.suggestionItem,
2123
+ onClick: () => {
2124
+ v({
2125
+ birthPlace: n.description,
2126
+ birthPlaceLat: n.lat,
2127
+ birthPlaceLng: n.lng
2128
+ }), k(), de(!1);
2129
+ },
2130
+ children: [
2131
+ /* @__PURE__ */ r.jsx("span", { className: a.suggestionMain, children: n.description }),
2132
+ !!n.secondary_text && /* @__PURE__ */ r.jsx("span", { className: a.suggestionSecondary, children: n.secondary_text })
2133
+ ]
2134
+ },
2135
+ n.id
2136
+ )) }),
2137
+ re && !!K && be && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: "Loading…" }),
2138
+ re && !!K && !be && !!xe && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: xe })
2139
+ ] }),
2140
+ me && /* @__PURE__ */ r.jsx("p", { className: a.fieldError, children: "Please select a place from the dropdown list." })
2141
+ ] }),
2142
+ S && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
2143
+ /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
2144
+ t("formReportLanguage"),
2145
+ /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
2146
+ ] }) }),
2147
+ /* @__PURE__ */ r.jsxs(
2148
+ "div",
2149
+ {
2150
+ className: a.choiceRow,
2151
+ role: "radiogroup",
2152
+ "aria-label": t("formReportLanguage"),
2153
+ children: [
2154
+ /* @__PURE__ */ r.jsx(
2155
+ "button",
2156
+ {
2157
+ id: "kundli-report-lang-hi",
2158
+ type: "button",
2159
+ className: `${a.choiceBtn} ${o.language_code === "hi" ? a.choiceBtnActive : ""}`,
2160
+ onClick: () => {
2161
+ v({ language_code: "hi" }), d?.trackLanguageOfReportSelected?.({
2162
+ language: "hi"
2163
+ });
2164
+ },
2165
+ role: "radio",
2166
+ "aria-checked": o.language_code === "hi",
2167
+ children: t("formReportLanguageHindi")
2168
+ }
2169
+ ),
2170
+ /* @__PURE__ */ r.jsx(
2171
+ "button",
2172
+ {
2173
+ id: "kundli-report-lang-en",
2174
+ type: "button",
2175
+ className: `${a.choiceBtn} ${o.language_code === "en" ? a.choiceBtnActive : ""}`,
2176
+ onClick: () => {
2177
+ v({ language_code: "en" }), d?.trackLanguageOfReportSelected?.({
2178
+ language: "en"
2179
+ });
2180
+ },
2181
+ role: "radio",
2182
+ "aria-checked": o.language_code === "en",
2183
+ children: t("formReportLanguageEnglish")
2184
+ }
2185
+ ),
2186
+ /* @__PURE__ */ r.jsx(
2187
+ "button",
2188
+ {
2189
+ id: "kundli-report-lang-te",
2190
+ type: "button",
2191
+ className: `${a.choiceBtn} ${o.language_code === "te" ? a.choiceBtnActive : ""}`,
2192
+ onClick: () => {
2193
+ v({ language_code: "te" }), d?.trackLanguageOfReportSelected?.({
2194
+ language: "te"
2195
+ });
2196
+ },
2197
+ role: "radio",
2198
+ "aria-checked": o.language_code === "te",
2199
+ children: t("formReportLanguageTelugu")
2200
+ }
2201
+ ),
2202
+ /* @__PURE__ */ r.jsx(
2203
+ "button",
2204
+ {
2205
+ id: "kundli-report-lang-ta",
2206
+ type: "button",
2207
+ className: `${a.choiceBtn} ${o.language_code === "ta" ? a.choiceBtnActive : ""}`,
2208
+ onClick: () => {
2209
+ v({ language_code: "ta" }), d?.trackLanguageOfReportSelected?.({
2210
+ language: "ta"
2211
+ });
2212
+ },
2213
+ role: "radio",
2214
+ "aria-checked": o.language_code === "ta",
2215
+ children: t("formReportLanguageTamil")
2216
+ }
2217
+ ),
2218
+ /* @__PURE__ */ r.jsx(
2219
+ "button",
2220
+ {
2221
+ id: "kundli-report-lang-kn",
2222
+ type: "button",
2223
+ className: `${a.choiceBtn} ${o.language_code === "kn" ? a.choiceBtnActive : ""}`,
2224
+ onClick: () => {
2225
+ v({ language_code: "kn" }), d?.trackLanguageOfReportSelected?.({
2226
+ language: "kn"
2227
+ });
2228
+ },
2229
+ role: "radio",
2230
+ "aria-checked": o.language_code === "kn",
2231
+ children: t("formReportLanguageKannada")
2232
+ }
2233
+ ),
2234
+ /* @__PURE__ */ r.jsx(
2235
+ "button",
2236
+ {
2237
+ id: "kundli-report-lang-gu",
2238
+ type: "button",
2239
+ className: `${a.choiceBtn} ${o.language_code === "gu" ? a.choiceBtnActive : ""}`,
2240
+ onClick: () => {
2241
+ v({ language_code: "gu" }), d?.trackLanguageOfReportSelected?.({
2242
+ language: "gu"
2243
+ });
2244
+ },
2245
+ role: "radio",
2246
+ "aria-checked": o.language_code === "gu",
2247
+ children: t("formReportLanguageGujarati")
2248
+ }
2249
+ ),
2250
+ /* @__PURE__ */ r.jsx(
2251
+ "button",
2252
+ {
2253
+ id: "kundli-report-lang-mr",
2254
+ type: "button",
2255
+ className: `${a.choiceBtn} ${o.language_code === "mr" ? a.choiceBtnActive : ""}`,
2256
+ onClick: () => {
2257
+ v({ language_code: "mr" }), d?.trackLanguageOfReportSelected?.({
2258
+ language: "mr"
2259
+ });
2260
+ },
2261
+ role: "radio",
2262
+ "aria-checked": o.language_code === "mr",
2263
+ children: t("formReportLanguageMarathi")
2264
+ }
2265
+ )
2266
+ ]
2267
+ }
2268
+ )
2269
+ ] })
2270
+ ] }) })
2271
+ }
2272
+ );
2273
+ }, ga = "_ctaButton_rhimw_2", _a = "_ctaFilled_rhimw_21", ba = "_ctaFilledContent_rhimw_52", ya = "_chevronRight_rhimw_61", Ne = {
2274
+ ctaButton: ga,
2275
+ ctaFilled: _a,
2276
+ ctaFilledContent: ba,
2277
+ chevronRight: ya
2278
+ }, br = "kundli-report-astrologer", va = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", ka = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", wa = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", xa = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", Pa = ({ t }) => {
2279
+ const c = Re()?.config.imageComponent ?? De;
2280
+ return /* @__PURE__ */ r.jsxs("div", { className: ke.marqueeContent, children: [
2281
+ /* @__PURE__ */ r.jsxs("span", { className: ke.badge, children: [
2282
+ /* @__PURE__ */ r.jsx(
2283
+ c,
2284
+ {
2285
+ src: va,
2286
+ alt: "",
2287
+ className: ke.badgeIcon,
2288
+ width: 16,
2289
+ height: 16,
2290
+ loading: "lazy"
2291
+ }
2292
+ ),
2293
+ t("ctaKundliCreated")
2294
+ ] }),
2295
+ /* @__PURE__ */ r.jsxs("span", { className: ke.badge, children: [
2296
+ /* @__PURE__ */ r.jsx(
2297
+ c,
2298
+ {
2299
+ src: ka,
2300
+ alt: "",
2301
+ className: ke.badgeIcon,
2302
+ width: 16,
2303
+ height: 16,
2304
+ loading: "lazy"
2305
+ }
2306
+ ),
2307
+ t("ctaCertified")
2308
+ ] }),
2309
+ /* @__PURE__ */ r.jsxs("span", { className: ke.badge, children: [
2310
+ /* @__PURE__ */ r.jsx(
2311
+ c,
2312
+ {
2313
+ src: wa,
2314
+ alt: "",
2315
+ className: ke.badgeIcon,
2316
+ width: 16,
2317
+ height: 16,
2318
+ loading: "lazy"
2319
+ }
2320
+ ),
2321
+ t("ctaSecurePayment")
2322
+ ] })
2323
+ ] });
2324
+ }, Aa = (t) => /.+@.+\..+/.test(t), Ca = (t) => /^\d{10}$/.test(t), ja = (t, o, c) => {
2325
+ if (!t.fullName.trim()) return "fullName";
2326
+ if (o) {
2327
+ if (!Aa(t.email.trim())) return "email";
2328
+ } else if (!Ca((t.phone ?? "").trim())) return "phone";
2329
+ if (!t.dateOfBirth) return "dateOfBirth";
2330
+ if (!t.birthPlace.trim()) return "birthPlace";
2331
+ if (!Number.isFinite(t.birthPlaceLat) || !Number.isFinite(t.birthPlaceLng))
2332
+ return "birthPlaceCoordinates";
2333
+ if (c) {
2334
+ if (!t.gender) return "gender";
2335
+ if (!t.language_code) return "language_code";
2336
+ }
2337
+ return !t.birthTimeUnknown && !t.birthTime ? "birthTime" : null;
2338
+ }, Na = ({
2339
+ t,
2340
+ values: o,
2341
+ phoneIsdCode: c,
2342
+ requireV1ExtraFields: m = !1,
2343
+ onValidationFailed: w,
2344
+ onProceed: S,
2345
+ onProceedGuidance: x,
2346
+ href: N,
2347
+ analytics: P,
2348
+ className: L = "",
2349
+ discountedPriceLabel: d,
2350
+ discountPillLabel: T,
2351
+ showPlanSheet: p,
2352
+ confirmPlan: E,
2353
+ planSheetOpen: h,
2354
+ selectedPlan: I
2355
+ }) => {
2356
+ const C = Re(), b = C?.config.isGlobal ?? !0, g = C?.config?.variant, [M, v] = W(!1), F = Ue(
2357
+ () => ja(o, b, m),
2358
+ [o, b, m]
2359
+ ), z = F === null, J = g === "v1" && C?.config?.showSheet;
2360
+ Y(() => {
2361
+ if (!M) return;
2362
+ const Z = window.setTimeout(() => {
2363
+ v(!1);
2364
+ }, 2200);
2365
+ return () => window.clearTimeout(Z);
2366
+ }, [M]);
2367
+ const ae = b ? d ?? t("formDiscountedPrice") : J ? "" : "₹499", q = C?.config.imageComponent ?? De, $ = (Z) => {
2368
+ if (Z.preventDefault(), g === "v1" && !z && P?.trackKundliDetailedClicked?.(), !z) {
2369
+ F && (w?.(
2370
+ F === "birthPlaceCoordinates" ? "birthPlace" : F
2371
+ ), F === "birthPlaceCoordinates" && v(!0));
2372
+ return;
2373
+ }
2374
+ const U = !!x && g === "v1" && I?.id === br, D = (o.phone ?? "").trim(), B = {
2375
+ ...o,
2376
+ phone: D && `${c}-${D}`
2377
+ };
2378
+ if (J) {
2379
+ h ? E?.() : p?.(B);
2380
+ return;
2381
+ }
2382
+ P?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), U ? x(B) : S?.(B);
2383
+ }, ie = /* @__PURE__ */ r.jsx(
2384
+ $r,
2385
+ {
2386
+ href: N,
2387
+ disabled: g === "v1" ? !1 : !z,
2388
+ onClick: $,
2389
+ "aria-label": t("formPriceAria"),
2390
+ className: g === "v1" && z ? Ne.ctaFilled : g === "v1" ? Ne.ctaButton : void 0,
2391
+ children: g === "v1" ? z ? /* @__PURE__ */ r.jsxs("span", { className: Ne.ctaFilledContent, children: [
2392
+ J ? t("selectPackage") : h && I ? `${t("proceedWithPlan")}${I.price}` : `${t("formProceed")} ${ae}`,
2393
+ /* @__PURE__ */ r.jsx(
2394
+ q,
2395
+ {
2396
+ src: xa,
2397
+ alt: "",
2398
+ className: Ne.chevronRight,
2399
+ width: 20,
2400
+ height: 20,
2401
+ loading: "lazy"
2402
+ }
2403
+ )
2404
+ ] }) : t("formCtaDefault") : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
2405
+ t("formProceed"),
2406
+ " ",
2407
+ ae
2408
+ ] })
2409
+ }
2410
+ );
2411
+ return /* @__PURE__ */ r.jsxs(
2412
+ Ur,
2413
+ {
2414
+ className: `${Ne.footerContainer} ${L}`,
2415
+ marquee: /* @__PURE__ */ r.jsx(Gr, { children: /* @__PURE__ */ r.jsx(Pa, { t }) }),
2416
+ children: [
2417
+ M && /* @__PURE__ */ r.jsx("div", { className: Ne.validationToast, role: "alert", "aria-live": "assertive", children: t("formFillAllFields") }),
2418
+ ie
2419
+ ]
2420
+ }
2421
+ );
2422
+ }, Ta = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Ra = ({
2423
+ t,
2424
+ languageSelector: o,
2425
+ logoUrl: c = Ta,
2426
+ className: m = ""
2427
+ }) => {
2428
+ const w = Re(), S = w?.config.isGlobal ?? !0, x = o != null && !S;
2429
+ return /* @__PURE__ */ r.jsx(
2430
+ Wr,
2431
+ {
2432
+ t,
2433
+ logoUrl: c,
2434
+ imageComponent: w?.config.imageComponent,
2435
+ languageSelector: o,
2436
+ showLanguageSelector: x,
2437
+ className: m
2438
+ }
2439
+ );
2440
+ }, Sa = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
2441
+ "path",
2442
+ {
2443
+ d: "M3.5 8.5l2.5 2.5 6-6",
2444
+ stroke: "#22c55e",
2445
+ strokeWidth: "1.8",
2446
+ strokeLinecap: "round",
2447
+ strokeLinejoin: "round"
2448
+ }
2449
+ ) }), Ea = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
2450
+ "path",
2451
+ {
2452
+ d: "M4.5 4.5l7 7M11.5 4.5l-7 7",
2453
+ stroke: "#ef4444",
2454
+ strokeWidth: "1.8",
2455
+ strokeLinecap: "round"
2456
+ }
2457
+ ) }), Ia = () => /* @__PURE__ */ r.jsx("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx("path", { d: "M15 18l-6-6 6-6" }) }), Ba = () => /* @__PURE__ */ r.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: [
2458
+ /* @__PURE__ */ r.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
2459
+ /* @__PURE__ */ r.jsx("polyline", { points: "17 6 23 6 23 12" })
2460
+ ] }), La = "_overlay_18irl_2", Da = "_sheet_18irl_12", Fa = "_header_18irl_36", Oa = "_backBtn_18irl_48", Ma = "_title_18irl_66", $a = "_plansContainer_18irl_78", Ua = "_planCard_18irl_87", Ga = "_withBadgeSpacing_18irl_101", Wa = "_planCardSelected_18irl_105", Ka = "_planCardPopular_18irl_110", Ha = "_popularBadge_18irl_119", Ya = "_planCardInner_18irl_137", qa = "_planTitleRow_18irl_148", Va = "_planTitle_18irl_148", za = "_radioCircle_18irl_163", Ja = "_radioChecked_18irl_176", Qa = "_radioInner_18irl_181", Xa = "_priceRow_18irl_189", Za = "_price_18irl_189", en = "_originalPrice_18irl_202", rn = "_savingsBadge_18irl_209", tn = "_featureList_18irl_219", an = "_featureItem_18irl_228", nn = "_featureIcon_18irl_234", on = "_featureText_18irl_240", ln = "_astrologerHeading_18irl_251", sn = "_astrologerList_18irl_258", cn = "_astrologerCard_18irl_274", dn = "_astrologerAvatar_18irl_290", un = "_astrologerAvatarPlaceholder_18irl_307", mn = "_astrologerTop_18irl_313", fn = "_astrologerBasicInfo_18irl_319", pn = "_astrologerName_18irl_326", hn = "_astrologerExp_18irl_335", gn = "_astrologerDivider_18irl_341", _n = "_planDivider_18irl_347", bn = "_astrologerCertList_18irl_354", yn = "_astrologerCertItem_18irl_360", vn = "_bullet_18irl_368", kn = "_footer_18irl_373", wn = "_proceedBtn_18irl_383", f = {
2461
+ overlay: La,
2462
+ sheet: Da,
2463
+ header: Fa,
2464
+ backBtn: Oa,
2465
+ title: Ma,
2466
+ plansContainer: $a,
2467
+ planCard: Ua,
2468
+ withBadgeSpacing: Ga,
2469
+ planCardSelected: Wa,
2470
+ planCardPopular: Ka,
2471
+ popularBadge: Ha,
2472
+ planCardInner: Ya,
2473
+ planTitleRow: qa,
2474
+ planTitle: Va,
2475
+ radioCircle: za,
2476
+ radioChecked: Ja,
2477
+ radioInner: Qa,
2478
+ priceRow: Xa,
2479
+ price: Za,
2480
+ originalPrice: en,
2481
+ savingsBadge: rn,
2482
+ featureList: tn,
2483
+ featureItem: an,
2484
+ featureIcon: nn,
2485
+ featureText: on,
2486
+ astrologerHeading: ln,
2487
+ astrologerList: sn,
2488
+ astrologerCard: cn,
2489
+ astrologerAvatar: dn,
2490
+ astrologerAvatarPlaceholder: un,
2491
+ astrologerTop: mn,
2492
+ astrologerBasicInfo: fn,
2493
+ astrologerName: pn,
2494
+ astrologerExp: hn,
2495
+ astrologerDivider: gn,
2496
+ planDivider: _n,
2497
+ astrologerCertList: bn,
2498
+ astrologerCertItem: yn,
2499
+ bullet: vn,
2500
+ footer: kn,
2501
+ proceedBtn: wn
2502
+ }, xn = ({ title: t, onBack: o }) => /* @__PURE__ */ r.jsxs("div", { className: f.header, children: [
2503
+ /* @__PURE__ */ r.jsx(
2504
+ "button",
2505
+ {
2506
+ className: f.backBtn,
2507
+ onClick: o,
2508
+ "aria-label": "Go back",
2509
+ type: "button",
2510
+ children: /* @__PURE__ */ r.jsx(Ia, {})
2511
+ }
2512
+ ),
2513
+ /* @__PURE__ */ r.jsx("h2", { className: f.title, children: t })
2514
+ ] }), Pn = ({ features: t, t: o }) => /* @__PURE__ */ r.jsx("ul", { className: f.featureList, "aria-label": "Plan features", children: t.map((c, m) => /* @__PURE__ */ r.jsxs("li", { className: f.featureItem, children: [
2515
+ /* @__PURE__ */ r.jsx("span", { className: f.featureIcon, children: c.included ? /* @__PURE__ */ r.jsx(Sa, {}) : /* @__PURE__ */ r.jsx(Ea, {}) }),
2516
+ /* @__PURE__ */ r.jsx(
2517
+ "span",
2518
+ {
2519
+ className: `${f.featureText} `,
2520
+ children: o?.(c.text) ?? c.text
2521
+ }
2522
+ )
2523
+ ] }, m)) }), An = ({ astrologer: t, t: o }) => /* @__PURE__ */ r.jsxs("div", { className: f.astrologerCard, children: [
2524
+ /* @__PURE__ */ r.jsxs("div", { className: f.astrologerTop, children: [
2525
+ /* @__PURE__ */ r.jsx("div", { className: f.astrologerAvatar, "aria-hidden": !0, children: t.imageUrl ? /* @__PURE__ */ r.jsx("img", { src: t.imageUrl, alt: o?.(t.name) ?? t.name, width: 40, height: 40 }) : /* @__PURE__ */ r.jsx("span", { className: f.astrologerAvatarPlaceholder, children: t.name.charAt(0) }) }),
2526
+ /* @__PURE__ */ r.jsxs("div", { className: f.astrologerBasicInfo, children: [
2527
+ /* @__PURE__ */ r.jsx("p", { className: f.astrologerName, children: o?.(t.name) ?? t.name }),
2528
+ /* @__PURE__ */ r.jsx("p", { className: f.astrologerExp, children: o?.(t.experience) ?? t.experience })
2529
+ ] })
2530
+ ] }),
2531
+ /* @__PURE__ */ r.jsx("div", { className: f.astrologerDivider }),
2532
+ /* @__PURE__ */ r.jsx("div", { className: f.astrologerCertList, children: t.certifications.map((c, m) => /* @__PURE__ */ r.jsxs("p", { className: f.astrologerCertItem, children: [
2533
+ /* @__PURE__ */ r.jsx("span", { className: f.bullet, children: "•" }),
2534
+ " ",
2535
+ o?.(c) ?? c
2536
+ ] }, m)) })
2537
+ ] }), Cn = ({ label: t }) => /* @__PURE__ */ r.jsxs("div", { className: f.popularBadge, "aria-label": t, children: [
2538
+ /* @__PURE__ */ r.jsx(Ba, {}),
2539
+ /* @__PURE__ */ r.jsx("span", { children: t })
2540
+ ] }), jn = ({ plan: t, isSelected: o, onSelect: c, t: m }) => {
2541
+ const w = () => c(t.id), S = (x) => {
2542
+ (x.key === " " || x.key === "Enter") && (x.preventDefault(), c(t.id));
2543
+ };
2544
+ return /* @__PURE__ */ r.jsxs(
2545
+ "div",
2546
+ {
2547
+ className: [
2548
+ f.planCard,
2549
+ o ? f.planCardSelected : "",
2550
+ o && f.planCardPopular
2551
+ ].filter(Boolean).join(" "),
2552
+ onClick: w,
2553
+ role: "radio",
2554
+ "aria-checked": o,
2555
+ tabIndex: 0,
2556
+ onKeyDown: S,
2557
+ "data-plan-id": t.id,
2558
+ children: [
2559
+ t.badge && /* @__PURE__ */ r.jsx(Cn, { label: m?.(t.badge) ?? t.badge }),
2560
+ /* @__PURE__ */ r.jsxs("div", { className: f.planCardInner, children: [
2561
+ /* @__PURE__ */ r.jsxs("div", { className: `${f.planTitleRow} ${t.badge ? f.withBadgeSpacing : ""}`, children: [
2562
+ /* @__PURE__ */ r.jsx("span", { className: f.planTitle, children: m?.(t.title) ?? t.title }),
2563
+ /* @__PURE__ */ r.jsx(
2564
+ "span",
2565
+ {
2566
+ className: `${f.radioCircle} ${o ? f.radioChecked : ""}`,
2567
+ "aria-hidden": !0,
2568
+ children: o && /* @__PURE__ */ r.jsx("span", { className: f.radioInner })
2569
+ }
2570
+ )
2571
+ ] }),
2572
+ /* @__PURE__ */ r.jsxs("div", { className: f.priceRow, children: [
2573
+ /* @__PURE__ */ r.jsx("span", { className: f.price, children: t.price }),
2574
+ t.originalPrice && /* @__PURE__ */ r.jsx("span", { className: f.originalPrice, children: t.originalPrice }),
2575
+ t.savingsLabel && /* @__PURE__ */ r.jsx("span", { className: f.savingsBadge, children: m?.(t.savingsLabel, { percent: 25 }) ?? t.savingsLabel })
2576
+ ] }),
2577
+ /* @__PURE__ */ r.jsx(Pn, { features: t.features, t: m }),
2578
+ t.astrologers && /* @__PURE__ */ r.jsx("div", { className: f.planDivider }),
2579
+ t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
2580
+ /* @__PURE__ */ r.jsx("p", { className: f.astrologerHeading, children: m?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
2581
+ /* @__PURE__ */ r.jsx("div", { className: f.astrologerList, role: "list", children: t.astrologers.map((x, N) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(An, { astrologer: x, t: m }) }, N)) })
2582
+ ] })
2583
+ ] })
2584
+ ]
2585
+ }
2586
+ );
2587
+ }, Nn = [
2588
+ {
2589
+ id: "jyoti",
2590
+ name: "planAstrologerNameJyoti",
2591
+ imageUrl: "https://srm-cdn.a4b.io/yoda/1773992823100.webp",
2592
+ experience: "planAstrologerExpJyoti",
2593
+ certifications: [
2594
+ "planAstrologerCertCertifiedJyotish",
2595
+ "planAstrologerCertAccurateSolutions"
2596
+ ]
2597
+ },
2598
+ {
2599
+ id: "samiksha",
2600
+ name: "planAstrologerNameSamiksha",
2601
+ imageUrl: "https://srm-cdn.a4b.io/yoda/1773992841106.webp",
2602
+ experience: "planAstrologerExpSamiksha",
2603
+ certifications: [
2604
+ "planAstrologerCertVedicAstrology",
2605
+ "planAstrologerCertResultOriented"
2606
+ ]
2607
+ },
2608
+ {
2609
+ id: "neeraj",
2610
+ name: "planAstrologerNameNeeraj",
2611
+ imageUrl: "https://srm-cdn.a4b.io/yoda/1773992858276.webp",
2612
+ experience: "planAstrologerExpNeeraj",
2613
+ certifications: ["planAstrologerCertBhuCertified", "planAstrologerCertMantraRudraksha"]
2614
+ }
2615
+ ], Tn = (t) => [
2616
+ {
2617
+ id: "kundli-report",
2618
+ title: "planNameBasic",
2619
+ price: t ? "$25" : "₹499",
2620
+ features: [
2621
+ { text: "planFeatureDetailedInsights", included: !0 },
2622
+ { text: "planFeaturePracticalRemedies", included: !0 },
2623
+ { text: "planFeatureClearLanguage", included: !0 },
2624
+ { text: "planFeatureAstrologyConsultant", included: !1 },
2625
+ { text: "planFeaturePersonalizedReading", included: !1 }
2626
+ ]
2627
+ },
2628
+ {
2629
+ id: "kundli-report-astrologer",
2630
+ title: "planNameGuidance",
2631
+ price: t ? "$41" : "₹999",
2632
+ originalPrice: t ? "$25+$25" : "₹499+₹850",
2633
+ savingsLabel: "planSaveLabel",
2634
+ badge: "planMostPopular",
2635
+ features: [
2636
+ { text: "planFeatureIncludesPremium", included: !0 },
2637
+ { text: "planFeaturePlusConsultation", included: !0 },
2638
+ { text: "planFeatureRealTimeAnswers", included: !0 },
2639
+ { text: "planFeatureTailoredRemedies", included: !0 }
2640
+ ],
2641
+ astrologers: Nn.filter(
2642
+ (o) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(o.id)
2643
+ )
2644
+ }
2645
+ ], Rn = ({
2646
+ isOpen: t,
2647
+ onClose: o,
2648
+ selectedPlan: c,
2649
+ onSelectPlan: m,
2650
+ plans: w,
2651
+ onProceed: S,
2652
+ t: x,
2653
+ analytics: N
2654
+ }) => {
2655
+ const L = Re()?.config.isGlobal ?? !0, d = w ?? Tn(L), T = c?.id || d.find((C) => C.badge)?.id || d[0]?.id || "", p = H(null), E = H(null), h = H(!1);
2656
+ Y(() => {
2657
+ if (t) {
2658
+ if (!c) {
2659
+ const C = d.find((b) => b.badge) ?? d[0];
2660
+ C && m(C);
2661
+ }
2662
+ h.current || (N?.trackPlanPageViewed?.(), h.current = !0);
2663
+ } else
2664
+ h.current = !1;
2665
+ }, [t, d, c, m, N]);
2666
+ const I = () => {
2667
+ N?.trackPlanPageClosed?.(), o();
2668
+ };
2669
+ return Y(() => {
2670
+ if (!t) return;
2671
+ const C = document.body.style.overflow;
2672
+ return document.body.style.overflow = "hidden", () => {
2673
+ document.body.style.overflow = C;
2674
+ };
2675
+ }, [t]), t ? /* @__PURE__ */ r.jsx(
2676
+ "div",
2677
+ {
2678
+ className: f.overlay,
2679
+ role: "dialog",
2680
+ "aria-modal": "true",
2681
+ "aria-label": x?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2682
+ children: /* @__PURE__ */ r.jsxs(
2683
+ "div",
2684
+ {
2685
+ ref: p,
2686
+ className: f.sheet,
2687
+ children: [
2688
+ /* @__PURE__ */ r.jsx(
2689
+ xn,
2690
+ {
2691
+ title: x?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2692
+ onBack: I
2693
+ }
2694
+ ),
2695
+ /* @__PURE__ */ r.jsx(
2696
+ "div",
2697
+ {
2698
+ ref: E,
2699
+ className: f.plansContainer,
2700
+ role: "radiogroup",
2701
+ "aria-label": "Kundli plans",
2702
+ children: d.map((C) => /* @__PURE__ */ r.jsx(
2703
+ jn,
2704
+ {
2705
+ plan: C,
2706
+ isSelected: C.id === T,
2707
+ t: x,
2708
+ onSelect: (b) => {
2709
+ const g = d.find((M) => M.id === b);
2710
+ g && (N?.trackPlanSelected?.({
2711
+ planId: g.id,
2712
+ planName: g.title
2713
+ }), m(g));
2714
+ }
2715
+ },
2716
+ C.id
2717
+ ))
2718
+ }
2719
+ ),
2720
+ /* @__PURE__ */ r.jsx("div", { className: f.footer, children: /* @__PURE__ */ r.jsx(
2721
+ "button",
2722
+ {
2723
+ className: f.proceedBtn,
2724
+ disabled: !c,
2725
+ onClick: () => {
2726
+ c && (N?.trackPlanProceedClicked?.({
2727
+ planId: c.id,
2728
+ planName: c.title
2729
+ }), S(c), o());
2730
+ },
2731
+ children: c ? x?.("planProceedToPayment") ?? c.price + "Proceed to Payment" : "Select a plan"
2732
+ }
2733
+ ) })
2734
+ ]
2735
+ }
2736
+ )
2737
+ }
2738
+ ) : null;
2739
+ }, Sn = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", En = (t, o) => fr[t]?.[o] ?? o, In = {
2740
+ fullName: "",
2741
+ phone: "",
2742
+ gender: "",
2743
+ email: "",
2744
+ language_code: "",
2745
+ dateOfBirth: "",
2746
+ birthTime: "",
2747
+ birthTimeUnknown: !1,
2748
+ birthPlace: "",
2749
+ birthPlaceLat: void 0,
2750
+ birthPlaceLng: void 0
2751
+ }, Un = ({
2752
+ className: t = "",
2753
+ locale: o,
2754
+ showLanguageSelector: c = !0,
2755
+ onBack: m,
2756
+ initialValues: w,
2757
+ onProceed: S,
2758
+ onProceedGuidance: x,
2759
+ proceedHref: N,
2760
+ originalPriceLabel: P,
2761
+ discountedPriceLabel: L,
2762
+ atlasSearchLocalities: d,
2763
+ analytics: T
2764
+ }) => {
2765
+ const p = Re(), E = qr(), h = p !== null, I = h ? p.locale : o, C = I ?? E?.locale ?? "en", [b, g] = W(C), M = h ? p.locale : b, v = h ? p.setLocale : g, [F, z] = W(!1), J = H(null), ae = H(I), q = H(
2766
+ E?.locale
2767
+ );
2768
+ Y(() => {
2769
+ window.scrollTo({ top: 0, left: 0, behavior: "auto" });
2770
+ }, []);
2771
+ const $ = (k) => En(M, k);
2772
+ Y(() => {
2773
+ I && ae.current !== I && v(I), ae.current = I;
2774
+ }, [I, v]), Y(() => {
2775
+ if (I) return;
2776
+ const k = E?.locale;
2777
+ k && q.current !== k && v(k), q.current = k;
2778
+ }, [E?.locale, I, v]);
2779
+ const [ie, Z] = W({
2780
+ ...In,
2781
+ ...w,
2782
+ phone: w?.phone ?? ""
2783
+ }), U = h ? p?.config.isGlobal ?? !0 : !0, [D, B] = W(
2784
+ U ? "+1" : "+91"
2785
+ );
2786
+ Y(() => {
2787
+ B(U ? "+1" : "+91");
2788
+ }, [U]);
2789
+ const Q = h ? p.formValues : ie, ee = h ? p.setFormValues : Z, _e = h ? p.goToPage : m, le = h ? p.onProceed : S, V = h ? p.onProceedGuidance : x, ce = h ? p.config.proceedHref : N, re = h ? p.config.originalPriceLabel : P, de = h ? p.config.discountedPriceLabel : L, ne = h ? p.config.showLanguageSelector ?? !0 : c, oe = (h ? p?.config?.analytics : T) ?? T;
2790
+ Y(() => {
2791
+ if (!F) return;
2792
+ const k = (pe) => {
2793
+ J.current && !J.current.contains(pe.target) && z(!1);
2794
+ };
2795
+ return document.addEventListener("mousedown", k), () => document.removeEventListener("mousedown", k);
2796
+ }, [F]);
2797
+ const [ue, ge] = W(!1), [K, ye] = W(null), me = H(null), we = Te((k) => {
2798
+ me.current = k, ge(!0);
2799
+ }, []), be = Te(() => {
2800
+ if (!me.current || !K) return;
2801
+ oe?.trackPlanProceedClicked?.({
2802
+ planId: K.id,
2803
+ planName: K.title,
2804
+ price: K.price,
2805
+ currency: U ? "USD" : "INR"
2806
+ });
2807
+ const k = { ...me.current, _selectedPlan: K };
2808
+ K.id === br && V ? V(k) : le?.(k), ge(!1), me.current = null;
2809
+ }, [K, le, V]), xe = p?.config.imageComponent ?? De, Pe = ne ? /* @__PURE__ */ r.jsxs("div", { className: he.langDropdownWrap, ref: J, children: [
2810
+ /* @__PURE__ */ r.jsxs(
2811
+ "button",
2812
+ {
2813
+ type: "button",
2814
+ className: he.langTrigger,
2815
+ onClick: () => {
2816
+ oe?.trackLanguageClickedFe?.({ language: M }), z((k) => !k);
2817
+ },
2818
+ "aria-expanded": F,
2819
+ "aria-haspopup": "listbox",
2820
+ id: "kundli-form-lang",
2821
+ "aria-label": $("language"),
2822
+ children: [
2823
+ /* @__PURE__ */ r.jsx(
2824
+ xe,
2825
+ {
2826
+ src: Sn,
2827
+ alt: "",
2828
+ className: he.langIcon,
2829
+ width: 16,
2830
+ height: 16,
2831
+ loading: "eager"
2832
+ }
2833
+ ),
2834
+ /* @__PURE__ */ r.jsx("span", { className: he.langLabel, children: lr[M] })
2835
+ ]
2836
+ }
2837
+ ),
2838
+ F && /* @__PURE__ */ r.jsx(
2839
+ "ul",
2840
+ {
2841
+ className: he.langMenu,
2842
+ role: "listbox",
2843
+ "aria-labelledby": "kundli-form-lang",
2844
+ "aria-activedescendant": `kundli-form-lang-option-${M}`,
2845
+ children: mr.map((k) => /* @__PURE__ */ r.jsx(
2846
+ "li",
2847
+ {
2848
+ id: `kundli-form-lang-option-${k}`,
2849
+ role: "option",
2850
+ "aria-selected": k === M,
2851
+ className: he.langOption,
2852
+ onClick: () => {
2853
+ oe?.trackLanguageChangedFe?.({ newLanguage: k }), v(k), z(!1);
2854
+ },
2855
+ children: lr[k]
2856
+ },
2857
+ k
2858
+ ))
2859
+ }
2860
+ )
2861
+ ] }) : null;
2862
+ return /* @__PURE__ */ r.jsxs("div", { className: `${he.container} ${t}`, children: [
2863
+ /* @__PURE__ */ r.jsx(
2864
+ Ra,
2865
+ {
2866
+ t: $,
2867
+ logoUrl: h ? p.config.logoUrl : void 0,
2868
+ languageSelector: Pe,
2869
+ className: he.kundliHeaderNoBorder
2870
+ }
2871
+ ),
2872
+ /* @__PURE__ */ r.jsx("div", { className: he.headerSeparator, "aria-hidden": !0 }),
2873
+ /* @__PURE__ */ r.jsxs("main", { className: he.main, children: [
2874
+ /* @__PURE__ */ r.jsx(ut, { t: $, onBack: _e }),
2875
+ /* @__PURE__ */ r.jsx(
2876
+ ha,
2877
+ {
2878
+ t: $,
2879
+ values: Q,
2880
+ onChange: ee,
2881
+ atlasSearchLocalities: d,
2882
+ phoneIsdCode: D,
2883
+ onPhoneIsdCodeChange: B
2884
+ }
2885
+ )
2886
+ ] }),
2887
+ /* @__PURE__ */ r.jsx(
2888
+ Na,
2889
+ {
2890
+ t: $,
2891
+ values: Q,
2892
+ phoneIsdCode: D,
2893
+ onProceed: le,
2894
+ onProceedGuidance: V,
2895
+ href: ce,
2896
+ originalPriceLabel: re,
2897
+ discountedPriceLabel: de,
2898
+ analytics: oe,
2899
+ showPlanSheet: we,
2900
+ confirmPlan: be,
2901
+ planSheetOpen: ue,
2902
+ selectedPlan: K
2903
+ }
2904
+ ),
2905
+ p?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
2906
+ Rn,
2907
+ {
2908
+ isOpen: ue,
2909
+ onClose: () => ge(!1),
2910
+ selectedPlan: K,
2911
+ onSelectPlan: ye,
2912
+ onProceed: () => {
2913
+ be?.();
2914
+ },
2915
+ t: $,
2916
+ analytics: oe
2917
+ }
2918
+ )
2919
+ ] });
2920
+ }, Gn = {
2921
+ banner_clicked_fe: "banner_clicked_fe",
2922
+ primary_cta_clicked_fe: "primary_cta_clicked_fe",
2923
+ language_changed_fe: "language_changed_fe",
2924
+ language_clicked_fe: "language_clicked_fe",
2925
+ retry_payment: "retry_payment",
2926
+ detailed_kundli_report_impression_fe: "detailed_kundli_report_impression_fe",
2927
+ payment_partner_page_opened: "payment_partner_page_opened",
2928
+ view_sample_report_clicked: "view_sample_report_clicked",
2929
+ view_sample_report_closed: "view_sample_report_closed",
2930
+ info_icon_clicked: "info_icon_clicked",
2931
+ name_section_clicked: "name_section_clicked",
2932
+ name_section_filled: "name_section_filled",
2933
+ phone_section_clicked: "phone_section_clicked",
2934
+ phone_section_filled: "phone_section_filled",
2935
+ email_section_clicked: "email_section_clicked",
2936
+ email_section_filled: "email_section_filled",
2937
+ dob_clicked: "dob_clicked",
2938
+ dob_filled: "dob_filled",
2939
+ time_clicked: "time_clicked",
2940
+ time_filled: "time_filled",
2941
+ time_checkbox_clicked: "time_checkbox_clicked",
2942
+ place_of_birth_clicked: "place_of_birth_clicked",
2943
+ place_of_birth_chosen: "place_of_birth_chosen",
2944
+ language_of_report_clicked: "language_of_report_clicked",
2945
+ primary_cta_clicked_l1: "primary_cta_clicked_l1",
2946
+ /** Plan Selection Page / Bottom Sheet viewed */
2947
+ kundli_plan_page_viewed: "kundli_plan_page_viewed",
2948
+ /** Plan selected (card clicked) */
2949
+ kundli_plan_selected: "kundli_plan_selected",
2950
+ /** Proceed to payment clicked on plan sheet */
2951
+ kundli_plan_proceed_clicked: "kundli_plan_proceed_clicked",
2952
+ /** Plan sheet closed without proceeding */
2953
+ kundli_plan_page_closed: "kundli_plan_page_closed",
2954
+ /** Legacy / alias: when landing page is viewed */
2955
+ kundli_page_view: "kundli_page_view",
2956
+ /** Legacy / alias: when L1 form page is viewed (same as l1_page_opened) */
2957
+ kundli_form_view: "kundli_form_view",
2958
+ /** 3-SKU: sample report viewed for the 1-question plan */
2959
+ one_question_view_sample_report_clicked: "1_question_view_sample_report_clicked",
2960
+ one_question_view_sample_report_closed: "1_question_view_sample_report_closed",
2961
+ /** Sample image modal events */
2962
+ kundli_view_sample_image_clicked: "kundli_view_sample_image_clicked",
2963
+ kundli_view_sample_image_closed: "kundli_view_sample_image_closed"
2964
+ };
2965
+ export {
2966
+ Ia as C,
2967
+ De as D,
2968
+ ut as F,
2969
+ Dn as I,
2970
+ Gn as K,
2971
+ lr as L,
2972
+ br as P,
2973
+ mr as S,
2974
+ ha as U,
2975
+ hr as a,
2976
+ Ke as b,
2977
+ Mn as c,
2978
+ it as d,
2979
+ lt as e,
2980
+ Re as f,
2981
+ nt as g,
2982
+ $n as h,
2983
+ On as i,
2984
+ Un as j,
2985
+ r as k,
2986
+ Ra as l,
2987
+ Na as m,
2988
+ Rn as n,
2989
+ Fn as r,
2990
+ ot as s,
2991
+ fr as t,
2992
+ qr as u
2993
+ };
2994
+ //# sourceMappingURL=analytics-qrcpYMLy.js.map