@srimandir/kundli-generator 5.30.11 → 5.30.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- import Ge, { useContext as We, createContext as ur, useState as G, useRef as K, useEffect as H, useMemo as Ue, useCallback as Ne } from "react";
1
+ import Ge, { useContext as We, createContext as ur, useState as W, useRef as H, useEffect as Y, useMemo as Ue, useCallback as Ne } from "react";
2
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
3
  var Ie = { exports: {} }, Se = {};
4
4
  var nr;
5
5
  function Kr() {
6
6
  if (nr) return Se;
7
7
  nr = 1;
8
- var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, k = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, B = { key: !0, ref: !0, __self: !0, __source: !0 };
9
- function w(R, P, L) {
10
- var d, j = {}, h = null, S = null;
11
- L !== void 0 && (h = "" + L), P.key !== void 0 && (h = "" + P.key), P.ref !== void 0 && (S = P.ref);
12
- for (d in P) m.call(P, d) && !B.hasOwnProperty(d) && (j[d] = P[d]);
13
- if (R && R.defaultProps) for (d in P = R.defaultProps, P) j[d] === void 0 && (j[d] = P[d]);
14
- return { $$typeof: o, type: R, key: h, ref: S, props: j, _owner: k.current };
8
+ var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, k = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
9
+ function w(T, P, L) {
10
+ var d, R = {}, h = null, E = null;
11
+ L !== void 0 && (h = "" + L), P.key !== void 0 && (h = "" + P.key), P.ref !== void 0 && (E = P.ref);
12
+ for (d in P) m.call(P, d) && !S.hasOwnProperty(d) && (R[d] = P[d]);
13
+ if (T && T.defaultProps) for (d in P = T.defaultProps, P) R[d] === void 0 && (R[d] = P[d]);
14
+ return { $$typeof: o, type: T, key: h, ref: E, props: R, _owner: k.current };
15
15
  }
16
16
  return Se.Fragment = c, Se.jsx = w, Se.jsxs = w, Se;
17
17
  }
@@ -19,15 +19,15 @@ var Ee = {};
19
19
  var or;
20
20
  function Hr() {
21
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"), k = /* @__PURE__ */ Symbol.for("react.strict_mode"), B = /* @__PURE__ */ Symbol.for("react.profiler"), w = /* @__PURE__ */ Symbol.for("react.provider"), R = /* @__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"), j = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), S = /* @__PURE__ */ Symbol.for("react.offscreen"), g = Symbol.iterator, E = "@@iterator";
22
+ var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), k = /* @__PURE__ */ Symbol.for("react.strict_mode"), S = /* @__PURE__ */ Symbol.for("react.profiler"), w = /* @__PURE__ */ Symbol.for("react.provider"), T = /* @__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"), R = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), E = /* @__PURE__ */ Symbol.for("react.offscreen"), p = Symbol.iterator, I = "@@iterator";
23
23
  function C(e) {
24
24
  if (e === null || typeof e != "object")
25
25
  return null;
26
- var i = g && e[g] || e[E];
26
+ var i = p && e[p] || e[I];
27
27
  return typeof i == "function" ? i : null;
28
28
  }
29
- var p = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
30
- function v(e) {
29
+ var b = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
30
+ function g(e) {
31
31
  {
32
32
  for (var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0), u = 1; u < i; u++)
33
33
  l[u - 1] = arguments[u];
@@ -36,37 +36,37 @@ function Hr() {
36
36
  }
37
37
  function $(e, i, l) {
38
38
  {
39
- var u = p.ReactDebugCurrentFrame, A = u.getStackAddendum();
39
+ var u = b.ReactDebugCurrentFrame, A = u.getStackAddendum();
40
40
  A !== "" && (i += "%s", l = l.concat([A]));
41
- var T = l.map(function(y) {
41
+ var N = l.map(function(y) {
42
42
  return String(y);
43
43
  });
44
- T.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, T);
44
+ N.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, N);
45
45
  }
46
46
  }
47
- var b = !1, F = !1, q = !1, X = !1, Z = !1, U;
48
- U = /* @__PURE__ */ Symbol.for("react.module.reference");
49
- function Y(e) {
50
- return !!(typeof e == "string" || typeof e == "function" || e === m || e === B || Z || e === k || e === L || e === d || X || e === S || b || F || q || typeof e == "object" && e !== null && (e.$$typeof === h || e.$$typeof === j || e.$$typeof === w || e.$$typeof === R || e.$$typeof === P || // This needs to include all possible module reference object
47
+ var v = !1, F = !1, K = !1, J = !1, Q = !1, G;
48
+ G = /* @__PURE__ */ Symbol.for("react.module.reference");
49
+ function q(e) {
50
+ return !!(typeof e == "string" || typeof e == "function" || e === m || e === S || Q || e === k || e === L || e === d || J || e === E || v || F || K || typeof e == "object" && e !== null && (e.$$typeof === h || e.$$typeof === R || e.$$typeof === w || e.$$typeof === T || e.$$typeof === P || // This needs to include all possible module reference object
51
51
  // types supported by any Flight configuration anywhere since
52
52
  // we don't know which Flight build this will end up being used
53
53
  // with.
54
- e.$$typeof === U || e.getModuleId !== void 0));
54
+ e.$$typeof === G || e.getModuleId !== void 0));
55
55
  }
56
- function oe(e, i, l) {
56
+ function ce(e, i, l) {
57
57
  var u = e.displayName;
58
58
  if (u)
59
59
  return u;
60
60
  var A = i.displayName || i.name || "";
61
61
  return A !== "" ? l + "(" + A + ")" : l;
62
62
  }
63
- function ce(e) {
63
+ function oe(e) {
64
64
  return e.displayName || "Context";
65
65
  }
66
- function I(e) {
66
+ function B(e) {
67
67
  if (e == null)
68
68
  return null;
69
- if (typeof e.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
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
70
  return e.displayName || e.name || null;
71
71
  if (typeof e == "string")
72
72
  return e;
@@ -75,7 +75,7 @@ function Hr() {
75
75
  return "Fragment";
76
76
  case c:
77
77
  return "Portal";
78
- case B:
78
+ case S:
79
79
  return "Profiler";
80
80
  case k:
81
81
  return "StrictMode";
@@ -86,21 +86,21 @@ function Hr() {
86
86
  }
87
87
  if (typeof e == "object")
88
88
  switch (e.$$typeof) {
89
- case R:
89
+ case T:
90
90
  var i = e;
91
- return ce(i) + ".Consumer";
91
+ return oe(i) + ".Consumer";
92
92
  case w:
93
93
  var l = e;
94
- return ce(l._context) + ".Provider";
94
+ return oe(l._context) + ".Provider";
95
95
  case P:
96
- return oe(e, e.render, "ForwardRef");
97
- case j:
96
+ return ce(e, e.render, "ForwardRef");
97
+ case R:
98
98
  var u = e.displayName || null;
99
- return u !== null ? u : I(e.type) || "Memo";
99
+ return u !== null ? u : B(e.type) || "Memo";
100
100
  case h: {
101
- var A = e, T = A._payload, y = A._init;
101
+ var A = e, N = A._payload, y = A._init;
102
102
  try {
103
- return I(y(T));
103
+ return B(y(N));
104
104
  } catch {
105
105
  return null;
106
106
  }
@@ -108,14 +108,14 @@ function Hr() {
108
108
  }
109
109
  return null;
110
110
  }
111
- var N = Object.assign, W = 0, J, pe, me, V, ee, re, de;
111
+ var j = Object.assign, O = 0, X, pe, me, V, ee, re, de;
112
112
  function te() {
113
113
  }
114
114
  te.__reactDisabledLog = !0;
115
115
  function he() {
116
116
  {
117
- if (W === 0) {
118
- J = console.log, pe = console.info, me = console.warn, V = console.error, ee = console.group, re = console.groupCollapsed, de = console.groupEnd;
117
+ if (O === 0) {
118
+ X = console.log, pe = console.info, me = console.warn, V = console.error, ee = console.group, re = console.groupCollapsed, de = console.groupEnd;
119
119
  var e = {
120
120
  configurable: !0,
121
121
  enumerable: !0,
@@ -132,45 +132,45 @@ function Hr() {
132
132
  groupEnd: e
133
133
  });
134
134
  }
135
- W++;
135
+ O++;
136
136
  }
137
137
  }
138
138
  function ie() {
139
139
  {
140
- if (W--, W === 0) {
140
+ if (O--, O === 0) {
141
141
  var e = {
142
142
  configurable: !0,
143
143
  enumerable: !0,
144
144
  writable: !0
145
145
  };
146
146
  Object.defineProperties(console, {
147
- log: N({}, e, {
148
- value: J
147
+ log: j({}, e, {
148
+ value: X
149
149
  }),
150
- info: N({}, e, {
150
+ info: j({}, e, {
151
151
  value: pe
152
152
  }),
153
- warn: N({}, e, {
153
+ warn: j({}, e, {
154
154
  value: me
155
155
  }),
156
- error: N({}, e, {
156
+ error: j({}, e, {
157
157
  value: V
158
158
  }),
159
- group: N({}, e, {
159
+ group: j({}, e, {
160
160
  value: ee
161
161
  }),
162
- groupCollapsed: N({}, e, {
162
+ groupCollapsed: j({}, e, {
163
163
  value: re
164
164
  }),
165
- groupEnd: N({}, e, {
165
+ groupEnd: j({}, e, {
166
166
  value: de
167
167
  })
168
168
  });
169
169
  }
170
- W < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
170
+ O < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
171
171
  }
172
172
  }
173
- var ge = p.ReactCurrentDispatcher, ue;
173
+ var ge = b.ReactCurrentDispatcher, ue;
174
174
  function z(e, i, l) {
175
175
  {
176
176
  if (ue === void 0)
@@ -201,8 +201,8 @@ function Hr() {
201
201
  be = !0;
202
202
  var A = Error.prepareStackTrace;
203
203
  Error.prepareStackTrace = void 0;
204
- var T;
205
- T = ge.current, ge.current = null, he();
204
+ var N;
205
+ N = ge.current, ge.current = null, he();
206
206
  try {
207
207
  if (i) {
208
208
  var y = function() {
@@ -238,24 +238,24 @@ function Hr() {
238
238
  } catch (ne) {
239
239
  if (ne && u && typeof ne.stack == "string") {
240
240
  for (var _ = ne.stack.split(`
241
- `), Q = u.stack.split(`
242
- `), O = _.length - 1, M = Q.length - 1; O >= 1 && M >= 0 && _[O] !== Q[M]; )
243
- M--;
244
- for (; O >= 1 && M >= 0; O--, M--)
245
- if (_[O] !== Q[M]) {
246
- if (O !== 1 || M !== 1)
241
+ `), Z = u.stack.split(`
242
+ `), M = _.length - 1, U = Z.length - 1; M >= 1 && U >= 0 && _[M] !== Z[U]; )
243
+ U--;
244
+ for (; M >= 1 && U >= 0; M--, U--)
245
+ if (_[M] !== Z[U]) {
246
+ if (M !== 1 || U !== 1)
247
247
  do
248
- if (O--, M--, M < 0 || _[O] !== Q[M]) {
248
+ if (M--, U--, U < 0 || _[M] !== Z[U]) {
249
249
  var se = `
250
- ` + _[O].replace(" at new ", " at ");
250
+ ` + _[M].replace(" at new ", " at ");
251
251
  return e.displayName && se.includes("<anonymous>") && (se = se.replace("<anonymous>", e.displayName)), typeof e == "function" && le.set(e, se), se;
252
252
  }
253
- while (O >= 1 && M >= 0);
253
+ while (M >= 1 && U >= 0);
254
254
  break;
255
255
  }
256
256
  }
257
257
  } finally {
258
- be = !1, ge.current = T, ie(), Error.prepareStackTrace = A;
258
+ be = !1, ge.current = N, ie(), Error.prepareStackTrace = A;
259
259
  }
260
260
  var Ae = e ? e.displayName || e.name : "", ve = Ae ? z(Ae) : "";
261
261
  return typeof e == "function" && le.set(e, ve), ve;
@@ -284,19 +284,19 @@ function Hr() {
284
284
  switch (e.$$typeof) {
285
285
  case P:
286
286
  return xe(e.render);
287
- case j:
287
+ case R:
288
288
  return x(e.type, i, l);
289
289
  case h: {
290
- var u = e, A = u._payload, T = u._init;
290
+ var u = e, A = u._payload, N = u._init;
291
291
  try {
292
- return x(T(A), i, l);
292
+ return x(N(A), i, l);
293
293
  } catch {
294
294
  }
295
295
  }
296
296
  }
297
297
  return "";
298
298
  }
299
- var n = Object.prototype.hasOwnProperty, s = {}, D = p.ReactDebugCurrentFrame;
299
+ var n = Object.prototype.hasOwnProperty, s = {}, D = b.ReactDebugCurrentFrame;
300
300
  function ae(e) {
301
301
  if (e) {
302
302
  var i = e._owner, l = x(e.type, e._source, i ? i.type : null);
@@ -306,26 +306,26 @@ function Hr() {
306
306
  }
307
307
  function Re(e, i, l, u, A) {
308
308
  {
309
- var T = Function.call.bind(n);
309
+ var N = Function.call.bind(n);
310
310
  for (var y in e)
311
- if (T(e, y)) {
311
+ if (N(e, y)) {
312
312
  var _ = void 0;
313
313
  try {
314
314
  if (typeof e[y] != "function") {
315
- var Q = 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 Q.name = "Invariant Violation", Q;
315
+ var Z = 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 Z.name = "Invariant Violation", Z;
317
317
  }
318
318
  _ = e[y](i, y, u, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
319
- } catch (O) {
320
- _ = O;
319
+ } catch (M) {
320
+ _ = M;
321
321
  }
322
- _ && !(_ instanceof Error) && (ae(A), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", l, y, typeof _), ae(null)), _ instanceof Error && !(_.message in s) && (s[_.message] = !0, ae(A), v("Failed %s type: %s", l, _.message), ae(null));
322
+ _ && !(_ instanceof Error) && (ae(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 _), ae(null)), _ instanceof Error && !(_.message in s) && (s[_.message] = !0, ae(A), g("Failed %s type: %s", l, _.message), ae(null));
323
323
  }
324
324
  }
325
325
  }
326
- var Le = Array.isArray;
326
+ var Be = Array.isArray;
327
327
  function De(e) {
328
- return Le(e);
328
+ return Be(e);
329
329
  }
330
330
  function yr(e) {
331
331
  {
@@ -345,9 +345,9 @@ function Hr() {
345
345
  }
346
346
  function qe(e) {
347
347
  if (vr(e))
348
- return v("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);
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
349
  }
350
- var Ve = p.ReactCurrentOwner, kr = {
350
+ var Ve = b.ReactCurrentOwner, kr = {
351
351
  key: !0,
352
352
  ref: !0,
353
353
  __self: !0,
@@ -375,7 +375,7 @@ function Hr() {
375
375
  function Ar(e, i) {
376
376
  {
377
377
  var l = function() {
378
- ze || (ze = !0, v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
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
379
  };
380
380
  l.isReactWarning = !0, Object.defineProperty(e, "key", {
381
381
  get: l,
@@ -386,7 +386,7 @@ function Hr() {
386
386
  function Cr(e, i) {
387
387
  {
388
388
  var l = function() {
389
- Je || (Je = !0, v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
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
390
  };
391
391
  l.isReactWarning = !0, Object.defineProperty(e, "ref", {
392
392
  get: l,
@@ -394,7 +394,7 @@ function Hr() {
394
394
  });
395
395
  }
396
396
  }
397
- var jr = function(e, i, l, u, A, T, y) {
397
+ var jr = function(e, i, l, u, A, N, y) {
398
398
  var _ = {
399
399
  // This tag allows us to uniquely identify this as a React Element
400
400
  $$typeof: o,
@@ -404,7 +404,7 @@ function Hr() {
404
404
  ref: l,
405
405
  props: y,
406
406
  // Record the component responsible for creating this element.
407
- _owner: T
407
+ _owner: N
408
408
  };
409
409
  return _._store = {}, Object.defineProperty(_._store, "validated", {
410
410
  configurable: !1,
@@ -425,23 +425,23 @@ function Hr() {
425
425
  };
426
426
  function Nr(e, i, l, u, A) {
427
427
  {
428
- var T, y = {}, _ = null, Q = null;
429
- l !== void 0 && (qe(l), _ = "" + l), xr(i) && (qe(i.key), _ = "" + i.key), wr(i) && (Q = i.ref, Pr(i, A));
430
- for (T in i)
431
- n.call(i, T) && !kr.hasOwnProperty(T) && (y[T] = i[T]);
428
+ var N, y = {}, _ = null, Z = null;
429
+ l !== void 0 && (qe(l), _ = "" + l), xr(i) && (qe(i.key), _ = "" + i.key), wr(i) && (Z = i.ref, Pr(i, A));
430
+ for (N in i)
431
+ n.call(i, N) && !kr.hasOwnProperty(N) && (y[N] = i[N]);
432
432
  if (e && e.defaultProps) {
433
- var O = e.defaultProps;
434
- for (T in O)
435
- y[T] === void 0 && (y[T] = O[T]);
433
+ var M = e.defaultProps;
434
+ for (N in M)
435
+ y[N] === void 0 && (y[N] = M[N]);
436
436
  }
437
- if (_ || Q) {
438
- var M = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
439
- _ && Ar(y, M), Q && Cr(y, M);
437
+ if (_ || Z) {
438
+ var U = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
439
+ _ && Ar(y, U), Z && Cr(y, U);
440
440
  }
441
- return jr(e, _, Q, A, u, Ve.current, y);
441
+ return jr(e, _, Z, A, u, Ve.current, y);
442
442
  }
443
443
  }
444
- var Fe = p.ReactCurrentOwner, Qe = p.ReactDebugCurrentFrame;
444
+ var Fe = b.ReactCurrentOwner, Qe = b.ReactDebugCurrentFrame;
445
445
  function Pe(e) {
446
446
  if (e) {
447
447
  var i = e._owner, l = x(e.type, e._source, i ? i.type : null);
@@ -457,7 +457,7 @@ function Hr() {
457
457
  function Xe() {
458
458
  {
459
459
  if (Fe.current) {
460
- var e = I(Fe.current.type);
460
+ var e = B(Fe.current.type);
461
461
  if (e)
462
462
  return `
463
463
 
@@ -492,7 +492,7 @@ Check the top-level render call using <` + l + ">.");
492
492
  return;
493
493
  Ze[l] = !0;
494
494
  var u = "";
495
- e && e._owner && e._owner !== Fe.current && (u = " It was passed a child from " + I(e._owner.type) + "."), Pe(e), v('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), Pe(null);
495
+ e && e._owner && e._owner !== Fe.current && (u = " It was passed a child from " + B(e._owner.type) + "."), Pe(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), Pe(null);
496
496
  }
497
497
  }
498
498
  function rr(e, i) {
@@ -509,7 +509,7 @@ Check the top-level render call using <` + l + ">.");
509
509
  else if (e) {
510
510
  var A = C(e);
511
511
  if (typeof A == "function" && A !== e.entries)
512
- for (var T = A.call(e), y; !(y = T.next()).done; )
512
+ for (var N = A.call(e), y; !(y = N.next()).done; )
513
513
  Me(y.value) && er(y.value, i);
514
514
  }
515
515
  }
@@ -524,19 +524,19 @@ Check the top-level render call using <` + l + ">.");
524
524
  l = i.propTypes;
525
525
  else if (typeof i == "object" && (i.$$typeof === P || // Note: Memo only checks outer props here.
526
526
  // Inner props are checked in the reconciler.
527
- i.$$typeof === j))
527
+ i.$$typeof === R))
528
528
  l = i.propTypes;
529
529
  else
530
530
  return;
531
531
  if (l) {
532
- var u = I(i);
532
+ var u = B(i);
533
533
  Re(l, e.props, "prop", u, e);
534
534
  } else if (i.PropTypes !== void 0 && !Oe) {
535
535
  Oe = !0;
536
- var A = I(i);
537
- v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", A || "Unknown");
536
+ var A = B(i);
537
+ g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", A || "Unknown");
538
538
  }
539
- typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
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
540
  }
541
541
  }
542
542
  function Er(e) {
@@ -544,28 +544,28 @@ Check the top-level render call using <` + l + ">.");
544
544
  for (var i = Object.keys(e.props), l = 0; l < i.length; l++) {
545
545
  var u = i[l];
546
546
  if (u !== "children" && u !== "key") {
547
- Pe(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), Pe(null);
547
+ Pe(e), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), Pe(null);
548
548
  break;
549
549
  }
550
550
  }
551
- e.ref !== null && (Pe(e), v("Invalid attribute `ref` supplied to `React.Fragment`."), Pe(null));
551
+ e.ref !== null && (Pe(e), g("Invalid attribute `ref` supplied to `React.Fragment`."), Pe(null));
552
552
  }
553
553
  }
554
554
  var tr = {};
555
- function ar(e, i, l, u, A, T) {
555
+ function ar(e, i, l, u, A, N) {
556
556
  {
557
- var y = Y(e);
557
+ var y = q(e);
558
558
  if (!y) {
559
559
  var _ = "";
560
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 Q = Tr();
562
- Q ? _ += Q : _ += Xe();
563
- var O;
564
- e === null ? O = "null" : De(e) ? O = "array" : e !== void 0 && e.$$typeof === o ? (O = "<" + (I(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : O = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", O, _);
561
+ var Z = Tr();
562
+ Z ? _ += Z : _ += Xe();
563
+ var M;
564
+ e === null ? M = "null" : De(e) ? M = "array" : e !== void 0 && e.$$typeof === o ? (M = "<" + (B(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : M = 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", M, _);
565
565
  }
566
- var M = Nr(e, i, l, A, T);
567
- if (M == null)
568
- return M;
566
+ var U = Nr(e, i, l, A, N);
567
+ if (U == null)
568
+ return U;
569
569
  if (y) {
570
570
  var se = i.children;
571
571
  if (se !== void 0)
@@ -575,17 +575,17 @@ Check the top-level render call using <` + l + ">.");
575
575
  rr(se[Ae], e);
576
576
  Object.freeze && Object.freeze(se);
577
577
  } else
578
- v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
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
579
  else
580
580
  rr(se, e);
581
581
  }
582
582
  if (n.call(i, "key")) {
583
- var ve = I(e), ne = Object.keys(i).filter(function(Or) {
583
+ var ve = B(e), ne = Object.keys(i).filter(function(Or) {
584
584
  return Or !== "key";
585
585
  }), $e = ne.length > 0 ? "{key: someKey, " + ne.join(": ..., ") + ": ...}" : "{key: someKey}";
586
586
  if (!tr[ve + $e]) {
587
587
  var Fr = ne.length > 0 ? "{" + ne.join(": ..., ") + ": ...}" : "{}";
588
- v(`A props object containing a "key" prop is being spread into JSX:
588
+ g(`A props object containing a "key" prop is being spread into JSX:
589
589
  let props = %s;
590
590
  <%s {...props} />
591
591
  React keys must be passed directly to JSX without using spread:
@@ -593,17 +593,17 @@ React keys must be passed directly to JSX without using spread:
593
593
  <%s key={someKey} {...props} />`, $e, ve, Fr, ve), tr[ve + $e] = !0;
594
594
  }
595
595
  }
596
- return e === m ? Er(M) : Sr(M), M;
596
+ return e === m ? Er(U) : Sr(U), U;
597
597
  }
598
598
  }
599
599
  function Ir(e, i, l) {
600
600
  return ar(e, i, l, !0);
601
601
  }
602
- function Br(e, i, l) {
602
+ function Lr(e, i, l) {
603
603
  return ar(e, i, l, !1);
604
604
  }
605
- var Lr = Br, Dr = Ir;
606
- Ee.Fragment = m, Ee.jsx = Lr, Ee.jsxs = Dr;
605
+ var Br = Lr, Dr = Ir;
606
+ Ee.Fragment = m, Ee.jsx = Br, Ee.jsxs = Dr;
607
607
  })()), Ee;
608
608
  }
609
609
  var ir;
@@ -1067,14 +1067,14 @@ const Vr = "_container_1e1th_1", zr = "_main_1e1th_7", Jr = "_kundliHeaderNoBord
1067
1067
  langLabel: rt,
1068
1068
  langMenu: tt,
1069
1069
  langOption: at
1070
- }, Be = (t) => {
1071
- const { priority: o, fetchPriority: c, width: m, height: k, ...B } = t;
1070
+ }, Le = (t) => {
1071
+ const { priority: o, fetchPriority: c, width: m, height: k, ...S } = t;
1072
1072
  return Ge.createElement("img", {
1073
- ...B,
1073
+ ...S,
1074
1074
  width: m ?? 1,
1075
1075
  height: k ?? 1,
1076
1076
  decoding: "async",
1077
- loading: B.loading ?? (o ? "eager" : "lazy"),
1077
+ loading: S.loading ?? (o ? "eager" : "lazy"),
1078
1078
  ...c && { fetchPriority: c }
1079
1079
  });
1080
1080
  };
@@ -1137,43 +1137,43 @@ const Ke = ur(null), st = {
1137
1137
  showSheet: c,
1138
1138
  userId: m,
1139
1139
  isGlobal: k,
1140
- variant: B,
1140
+ variant: S,
1141
1141
  atlasSearchLocalities: w,
1142
- logoUrl: R,
1142
+ logoUrl: T,
1143
1143
  reportImageUrl: P,
1144
1144
  reportImagePriority: L,
1145
1145
  backgroundImagePriority: d,
1146
- universityLogoUrls: j,
1146
+ universityLogoUrls: R,
1147
1147
  sampleReportHref: h,
1148
- onViewSampleReport: S,
1149
- ctaHref: g,
1150
- onCtaClick: E,
1148
+ onViewSampleReport: E,
1149
+ ctaHref: p,
1150
+ onCtaClick: I,
1151
1151
  onBack: C,
1152
- readMoreReviewsHref: p,
1153
- onProceed: v,
1152
+ readMoreReviewsHref: b,
1153
+ onProceed: g,
1154
1154
  proceedHref: $,
1155
- originalPriceLabel: b,
1155
+ originalPriceLabel: v,
1156
1156
  discountedPriceLabel: F,
1157
- discountPillLabel: q,
1158
- analytics: X,
1159
- onProceedGuidance: Z,
1160
- onLocaleChange: U,
1161
- imageComponent: Y = Be,
1162
- children: oe
1157
+ discountPillLabel: K,
1158
+ analytics: J,
1159
+ onProceedGuidance: Q,
1160
+ onLocaleChange: G,
1161
+ imageComponent: q = Le,
1162
+ children: ce
1163
1163
  }) => {
1164
- const [ce, I] = G("landing"), [N, W] = G(t ?? "en"), [J, pe] = G(st), me = K(!0);
1165
- H(() => {
1164
+ const [oe, B] = W("landing"), [j, O] = W(t ?? "en"), [X, pe] = W(st), me = H(!0);
1165
+ Y(() => {
1166
1166
  const te = it();
1167
- te && W(te);
1168
- }, []), H(() => {
1169
- lt(N);
1170
- }, [N]), H(() => {
1167
+ te && O(te);
1168
+ }, []), Y(() => {
1169
+ lt(j);
1170
+ }, [j]), Y(() => {
1171
1171
  if (me.current) {
1172
1172
  me.current = !1;
1173
1173
  return;
1174
1174
  }
1175
- U?.(N);
1176
- }, [N, U]);
1175
+ G?.(j);
1176
+ }, [j, G]);
1177
1177
  const V = Ue(
1178
1178
  () => ({
1179
1179
  locale: t,
@@ -1181,28 +1181,28 @@ const Ke = ur(null), st = {
1181
1181
  showSheet: c,
1182
1182
  userId: m,
1183
1183
  isGlobal: k,
1184
- variant: B,
1184
+ variant: S,
1185
1185
  atlasSearchLocalities: w,
1186
- logoUrl: R,
1186
+ logoUrl: T,
1187
1187
  reportImageUrl: P,
1188
1188
  reportImagePriority: L,
1189
1189
  backgroundImagePriority: d,
1190
- universityLogoUrls: j,
1190
+ universityLogoUrls: R,
1191
1191
  sampleReportHref: h,
1192
- onViewSampleReport: S,
1193
- ctaHref: g,
1194
- onCtaClick: E,
1192
+ onViewSampleReport: E,
1193
+ ctaHref: p,
1194
+ onCtaClick: I,
1195
1195
  onBack: C,
1196
- readMoreReviewsHref: p,
1197
- onProceed: v,
1196
+ readMoreReviewsHref: b,
1197
+ onProceed: g,
1198
1198
  proceedHref: $,
1199
- originalPriceLabel: b,
1199
+ originalPriceLabel: v,
1200
1200
  discountedPriceLabel: F,
1201
- discountPillLabel: q,
1202
- analytics: X,
1203
- onProceedGuidance: Z,
1204
- onLocaleChange: U,
1205
- imageComponent: Y
1201
+ discountPillLabel: K,
1202
+ analytics: J,
1203
+ onProceedGuidance: Q,
1204
+ onLocaleChange: G,
1205
+ imageComponent: q
1206
1206
  }),
1207
1207
  [
1208
1208
  t,
@@ -1210,49 +1210,49 @@ const Ke = ur(null), st = {
1210
1210
  c,
1211
1211
  m,
1212
1212
  k,
1213
- B,
1213
+ S,
1214
1214
  w,
1215
- R,
1215
+ T,
1216
1216
  P,
1217
1217
  L,
1218
1218
  d,
1219
- j,
1219
+ R,
1220
1220
  h,
1221
- S,
1222
- g,
1223
1221
  E,
1224
- C,
1225
1222
  p,
1226
- v,
1227
- $,
1223
+ I,
1224
+ C,
1228
1225
  b,
1226
+ g,
1227
+ $,
1228
+ v,
1229
1229
  F,
1230
- q,
1231
- X,
1232
- Z,
1233
- U,
1234
- Y
1230
+ K,
1231
+ J,
1232
+ Q,
1233
+ G,
1234
+ q
1235
1235
  ]
1236
1236
  ), ee = Ne(() => {
1237
- I("form");
1237
+ B("form");
1238
1238
  }, [V.analytics]), re = Ne(() => {
1239
- I("landing"), V.onBack?.();
1239
+ B("landing"), V.onBack?.();
1240
1240
  }, [V.onBack]), de = Ue(
1241
1241
  () => ({
1242
- view: ce,
1243
- locale: N,
1244
- setLocale: W,
1242
+ view: oe,
1243
+ locale: j,
1244
+ setLocale: O,
1245
1245
  config: V,
1246
- formValues: J,
1246
+ formValues: X,
1247
1247
  setFormValues: pe,
1248
1248
  goToForm: ee,
1249
1249
  goToPage: re,
1250
1250
  onProceed: V.onProceed,
1251
1251
  onProceedGuidance: V.onProceedGuidance
1252
1252
  }),
1253
- [ce, N, V, J, ee, re]
1253
+ [oe, j, V, X, ee, re]
1254
1254
  );
1255
- return /* @__PURE__ */ r.jsx(Ke.Provider, { value: de, children: oe });
1255
+ return /* @__PURE__ */ r.jsx(Ke.Provider, { value: de, children: ce });
1256
1256
  };
1257
1257
  function Te() {
1258
1258
  return We(Ke);
@@ -1280,7 +1280,7 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
1280
1280
  backAriaLabel: t("back"),
1281
1281
  className: `${sr.header} ${m === "center" ? sr.centered : ""} ${c}`
1282
1282
  }
1283
- ), mt = "_wrap_119w3_1", ft = "_card_119w3_5", ht = "_cardInner_119w3_12", pt = "_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 = {
1283
+ ), mt = "_wrap_119w3_1", ft = "_card_119w3_5", ht = "_cardInner_119w3_12", pt = "_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", Lt = "_isdSearchWrap_119w3_229", Bt = "_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 = {
1284
1284
  wrap: mt,
1285
1285
  card: ft,
1286
1286
  cardInner: ht,
@@ -1303,8 +1303,8 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
1303
1303
  isdSelectWrap: St,
1304
1304
  isdSelectTrigger: Et,
1305
1305
  isdDropdown: It,
1306
- isdSearchWrap: Bt,
1307
- isdSearchInput: Lt,
1306
+ isdSearchWrap: Lt,
1307
+ isdSearchInput: Bt,
1308
1308
  isdOption: Dt,
1309
1309
  isdOptionActive: Ft,
1310
1310
  isdCountryName: Ot,
@@ -1342,8 +1342,8 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
1342
1342
  restrictCountry: t?.restrictCountry
1343
1343
  };
1344
1344
  }, ma = (t) => {
1345
- const { searchLocalities: o, restrictCountry: c } = t, [m, k] = G([]), [B, w] = G(!1), [R, P] = G(null), L = K(0);
1346
- H(() => {
1345
+ const { searchLocalities: o, restrictCountry: c } = t, [m, k] = W([]), [S, w] = W(!1), [T, P] = W(null), L = H(0);
1346
+ Y(() => {
1347
1347
  P(null);
1348
1348
  }, [o]);
1349
1349
  const d = Ne(
@@ -1352,36 +1352,36 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
1352
1352
  k([]);
1353
1353
  return;
1354
1354
  }
1355
- const S = ++L.current;
1355
+ const E = ++L.current;
1356
1356
  w(!0), P(null);
1357
1357
  try {
1358
- const g = ua({ restrictCountry: c }), E = await o(h, g);
1359
- if (S !== L.current) return;
1360
- const C = (E || []).filter(
1361
- (p) => !!p?.id && !!p?.description && cr(p?.lat) && cr(p?.lng)
1362
- ).map((p) => ({
1363
- id: p.id,
1364
- description: p.description,
1365
- secondary_text: p.secondaryText,
1366
- lat: p.lat,
1367
- lng: p.lng
1358
+ const p = ua({ restrictCountry: c }), I = await o(h, p);
1359
+ if (E !== L.current) return;
1360
+ const C = (I || []).filter(
1361
+ (b) => !!b?.id && !!b?.description && cr(b?.lat) && cr(b?.lng)
1362
+ ).map((b) => ({
1363
+ id: b.id,
1364
+ description: b.description,
1365
+ secondary_text: b.secondaryText,
1366
+ lat: b.lat,
1367
+ lng: b.lng
1368
1368
  }));
1369
1369
  k(C);
1370
- } catch (g) {
1371
- if (S !== L.current) return;
1372
- k([]), P(g?.message || "Failed to fetch locations");
1370
+ } catch (p) {
1371
+ if (E !== L.current) return;
1372
+ k([]), P(p?.message || "Failed to fetch locations");
1373
1373
  } finally {
1374
- S === L.current && w(!1);
1374
+ E === L.current && w(!1);
1375
1375
  }
1376
1376
  },
1377
1377
  [c, o]
1378
- ), j = Ne(() => k([]), []);
1378
+ ), R = Ne(() => k([]), []);
1379
1379
  return {
1380
1380
  predictions: m,
1381
- isSearching: B,
1382
- loadError: R,
1381
+ isSearching: S,
1382
+ loadError: T,
1383
1383
  searchPlaces: d,
1384
- clearPredictions: j
1384
+ clearPredictions: R
1385
1385
  };
1386
1386
  }, Ce = {
1387
1387
  time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
@@ -1466,12 +1466,12 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1466
1466
  onChange: c,
1467
1467
  phoneIsdCode: m,
1468
1468
  onPhoneIsdCodeChange: k,
1469
- showV1ExtraFields: B = !1,
1469
+ showV1ExtraFields: S = !1,
1470
1470
  analytics: w,
1471
- atlasSearchLocalities: R,
1471
+ atlasSearchLocalities: T,
1472
1472
  className: P = ""
1473
1473
  }) => {
1474
- const L = Te(), d = L?.config?.analytics ?? w, j = L?.config.isGlobal ?? !0, h = L?.config?.atlasSearchLocalities, [S, g] = G(!1), [E, C] = G(""), p = K(null), v = K(null), $ = K({}), b = (n) => c({ ...o, ...n }), F = (n, s) => {
1474
+ const L = Te(), d = L?.config?.analytics ?? w, R = L?.config.isGlobal ?? !0, h = L?.config?.atlasSearchLocalities, [E, p] = W(!1), [I, C] = W(""), b = H(null), g = H(null), $ = H({}), v = (n) => c({ ...o, ...n }), F = (n, s) => {
1475
1475
  if (n === "phone") {
1476
1476
  const D = ha(s, m, $.current);
1477
1477
  D.shouldTrack && d?.trackPhoneSectionFilled?.({ phone: D.fullPhone });
@@ -1484,9 +1484,9 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1484
1484
  birthTime: () => d?.trackTimeFilled?.(),
1485
1485
  birthPlace: () => d?.trackPlaceOfBirthChosen?.()
1486
1486
  }[n]?.());
1487
- }, q = E.trim().toLowerCase(), X = gr.filter((n) => q ? n.country.toLowerCase().includes(q) || n.code.includes(q) : !0), Z = K(null);
1488
- K(null);
1489
- const U = K(null), Y = K(0), oe = K(null), [ce, I] = G(!1), [N, W] = G({ hour12: 12, minute: "00", meridiem: "AM" }), J = (n) => String(n).padStart(2, "0"), pe = (n) => {
1487
+ }, K = I.trim().toLowerCase(), J = gr.filter((n) => K ? n.country.toLowerCase().includes(K) || n.code.includes(K) : !0), Q = H(null);
1488
+ H(null);
1489
+ const G = H(null), q = H(0), ce = H(null), [oe, B] = W(!1), [j, O] = W({ hour12: 12, minute: "00", meridiem: "AM" }), X = (n) => String(n).padStart(2, "0"), pe = (n) => {
1490
1490
  const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
1491
1491
  if (!s) return n;
1492
1492
  const D = Number(s[1]), ae = s[2], Re = D >= 12 ? "PM" : "AM";
@@ -1499,10 +1499,10 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1499
1499
  }, V = (n) => {
1500
1500
  const s = Math.min(12, Math.max(1, n.hour12)), D = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
1501
1501
  let ae = s % 12;
1502
- return n.meridiem === "PM" && (ae += 12), `${J(ae)}:${D}`;
1503
- }, ee = K(null), [re, de] = G(!1), [te, he] = G(
1502
+ return n.meridiem === "PM" && (ae += 12), `${X(ae)}:${D}`;
1503
+ }, ee = H(null), [re, de] = W(!1), [te, he] = W(
1504
1504
  null
1505
- ), ie = (o.birthPlace ?? "").trim(), ge = j ? void 0 : "in", ue = R ?? h, z = Number.isFinite(o.birthPlaceLat) && Number.isFinite(o.birthPlaceLng), be = ie.length > 0 && !z && !re, {
1505
+ ), ie = (o.birthPlace ?? "").trim(), ge = R ? void 0 : "in", ue = T ?? h, z = Number.isFinite(o.birthPlaceLat) && Number.isFinite(o.birthPlaceLng), be = ie.length > 0 && !z && !re, {
1506
1506
  predictions: le,
1507
1507
  isSearching: we,
1508
1508
  loadError: _e,
@@ -1512,23 +1512,23 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1512
1512
  searchLocalities: ue,
1513
1513
  restrictCountry: ge
1514
1514
  });
1515
- H(() => {
1515
+ Y(() => {
1516
1516
  const n = (s) => {
1517
1517
  ee.current && (ee.current.contains(s.target) || de(!1));
1518
1518
  };
1519
1519
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1520
- }, []), H(() => {
1520
+ }, []), Y(() => {
1521
1521
  const n = (s) => {
1522
- p.current && (p.current.contains(s.target) || (g(!1), C("")));
1522
+ b.current && (b.current.contains(s.target) || (p(!1), C("")));
1523
1523
  };
1524
1524
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1525
- }, []), H(() => {
1526
- if (!S) return;
1525
+ }, []), Y(() => {
1526
+ if (!E) return;
1527
1527
  const n = window.setTimeout(() => {
1528
- v.current?.focus();
1528
+ g.current?.focus();
1529
1529
  }, 0);
1530
1530
  return () => window.clearTimeout(n);
1531
- }, [S]), H(() => {
1531
+ }, [E]), Y(() => {
1532
1532
  if (!re) return;
1533
1533
  if (ie.length < 2) {
1534
1534
  ye();
@@ -1542,23 +1542,23 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1542
1542
  const x = (n) => {
1543
1543
  const s = n.current;
1544
1544
  if (!(!s || s.disabled)) {
1545
- if (document.activeElement === s && U.current === s && Date.now() - Y.current < 6e4) {
1545
+ if (document.activeElement === s && G.current === s && Date.now() - q.current < 6e4) {
1546
1546
  s.blur();
1547
1547
  return;
1548
1548
  }
1549
1549
  if (typeof s.showPicker == "function") {
1550
- s.showPicker(), U.current = s, Y.current = Date.now();
1550
+ s.showPicker(), G.current = s, q.current = Date.now();
1551
1551
  return;
1552
1552
  }
1553
- s.focus(), U.current = s, Y.current = Date.now();
1553
+ s.focus(), G.current = s, q.current = Date.now();
1554
1554
  }
1555
1555
  };
1556
- return H(() => {
1556
+ return Y(() => {
1557
1557
  const n = (s) => {
1558
- oe.current && (oe.current.contains(s.target) || I(!1));
1558
+ ce.current && (ce.current.contains(s.target) || B(!1));
1559
1559
  };
1560
1560
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1561
- }, []), H(() => {
1561
+ }, []), Y(() => {
1562
1562
  const n = (D) => {
1563
1563
  D.target?.closest?.("[data-info-tooltip]") == null && he(null);
1564
1564
  }, s = (D) => {
@@ -1588,7 +1588,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1588
1588
  onFocus: () => d?.trackNameSectionClicked?.(),
1589
1589
  onChange: (n) => {
1590
1590
  const s = n.target.value;
1591
- b({ fullName: s }), F("fullName", s);
1591
+ v({ fullName: s }), F("fullName", s);
1592
1592
  },
1593
1593
  placeholder: t("formFullNamePlaceholder"),
1594
1594
  autoComplete: "name"
@@ -1598,9 +1598,9 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1598
1598
  /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1599
1599
  /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-phone", children: [
1600
1600
  t("formPhone"),
1601
- !j && /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
1601
+ !R && /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
1602
1602
  ] }) }),
1603
- /* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref: p, children: [
1603
+ /* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref: b, children: [
1604
1604
  /* @__PURE__ */ r.jsxs("div", { className: a.phoneInputGroup, children: [
1605
1605
  /* @__PURE__ */ r.jsx("div", { className: a.isdSelectWrap, children: /* @__PURE__ */ r.jsx(
1606
1606
  "button",
@@ -1608,9 +1608,9 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1608
1608
  type: "button",
1609
1609
  className: a.isdSelectTrigger,
1610
1610
  "aria-haspopup": "listbox",
1611
- "aria-expanded": S,
1611
+ "aria-expanded": E,
1612
1612
  onClick: () => {
1613
- g((n) => !n), C("");
1613
+ p((n) => !n), C("");
1614
1614
  },
1615
1615
  children: m
1616
1616
  }
@@ -1625,19 +1625,19 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1625
1625
  onFocus: () => d?.trackPhoneSectionClicked?.(),
1626
1626
  onChange: (n) => {
1627
1627
  const s = n.target.value;
1628
- b({ phone: dr(s) }), F("phone", dr(s));
1628
+ v({ phone: dr(s) }), F("phone", dr(s));
1629
1629
  },
1630
1630
  placeholder: t("formPhonePlaceholder"),
1631
1631
  autoComplete: "tel",
1632
1632
  inputMode: "numeric",
1633
1633
  pattern: "[0-9]{10}",
1634
1634
  maxLength: 10,
1635
- required: !j,
1636
- "aria-required": !j
1635
+ required: !R,
1636
+ "aria-required": !R
1637
1637
  }
1638
1638
  )
1639
1639
  ] }),
1640
- S && /* @__PURE__ */ r.jsxs(
1640
+ E && /* @__PURE__ */ r.jsxs(
1641
1641
  "div",
1642
1642
  {
1643
1643
  className: a.isdDropdown,
@@ -1647,16 +1647,16 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1647
1647
  /* @__PURE__ */ r.jsx("div", { className: a.isdSearchWrap, children: /* @__PURE__ */ r.jsx(
1648
1648
  "input",
1649
1649
  {
1650
- ref: v,
1650
+ ref: g,
1651
1651
  type: "text",
1652
- value: E,
1652
+ value: I,
1653
1653
  onChange: (n) => C(n.target.value),
1654
1654
  placeholder: "Search country",
1655
1655
  className: a.isdSearchInput,
1656
1656
  "aria-label": "Search country"
1657
1657
  }
1658
1658
  ) }),
1659
- X.length > 0 ? X.map((n) => /* @__PURE__ */ r.jsxs(
1659
+ J.length > 0 ? J.map((n) => /* @__PURE__ */ r.jsxs(
1660
1660
  "button",
1661
1661
  {
1662
1662
  type: "button",
@@ -1664,7 +1664,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1664
1664
  "aria-selected": n.code === m,
1665
1665
  className: `${a.isdOption} ${n.code === m ? a.isdOptionActive : ""}`,
1666
1666
  onClick: () => {
1667
- k(n.code), g(!1), C("");
1667
+ k(n.code), p(!1), C("");
1668
1668
  },
1669
1669
  children: [
1670
1670
  /* @__PURE__ */ r.jsx("span", { className: a.isdCountryName, children: n.country }),
@@ -1678,7 +1678,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1678
1678
  )
1679
1679
  ] }) })
1680
1680
  ] }),
1681
- B && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1681
+ S && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1682
1682
  /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
1683
1683
  t("formGender"),
1684
1684
  /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
@@ -1697,7 +1697,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1697
1697
  type: "button",
1698
1698
  className: `${a.choiceBtn} ${o.gender === "male" ? a.choiceBtnActive : ""}`,
1699
1699
  onClick: () => {
1700
- b({ gender: "male" }), d?.trackGenderSelected?.({
1700
+ v({ gender: "male" }), d?.trackGenderSelected?.({
1701
1701
  gender: "male"
1702
1702
  });
1703
1703
  },
@@ -1713,7 +1713,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1713
1713
  type: "button",
1714
1714
  className: `${a.choiceBtn} ${o.gender === "female" ? a.choiceBtnActive : ""}`,
1715
1715
  onClick: () => {
1716
- b({ gender: "female" }), d?.trackGenderSelected?.({
1716
+ v({ gender: "female" }), d?.trackGenderSelected?.({
1717
1717
  gender: "female"
1718
1718
  });
1719
1719
  },
@@ -1726,7 +1726,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1726
1726
  }
1727
1727
  )
1728
1728
  ] }),
1729
- j && /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1729
+ R && /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1730
1730
  /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-email", children: [
1731
1731
  t("formEmail"),
1732
1732
  /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
@@ -1739,7 +1739,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1739
1739
  className: a.input,
1740
1740
  type: "email",
1741
1741
  value: o.email,
1742
- onChange: (n) => b({ email: n.target.value }),
1742
+ onChange: (n) => v({ email: n.target.value }),
1743
1743
  placeholder: t("formEmailPlaceholder"),
1744
1744
  autoComplete: "email",
1745
1745
  required: !0,
@@ -1788,20 +1788,20 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1788
1788
  id: "kundli-dob",
1789
1789
  className: a.input,
1790
1790
  type: "date",
1791
- ref: Z,
1791
+ ref: Q,
1792
1792
  value: o.dateOfBirth,
1793
1793
  max: (() => {
1794
1794
  const n = /* @__PURE__ */ new Date();
1795
- return `${n.getFullYear()}-${J(n.getMonth() + 1)}-${J(n.getDate())}`;
1795
+ return `${n.getFullYear()}-${X(n.getMonth() + 1)}-${X(n.getDate())}`;
1796
1796
  })(),
1797
1797
  onChange: (n) => {
1798
- const s = n.target.value, D = /* @__PURE__ */ new Date(), ae = `${D.getFullYear()}-${J(D.getMonth() + 1)}-${J(D.getDate())}`;
1799
- s && s > ae || (b({ dateOfBirth: s }), F("dateOfBirth", s), U.current = null);
1798
+ const s = n.target.value, D = /* @__PURE__ */ new Date(), ae = `${D.getFullYear()}-${X(D.getMonth() + 1)}-${X(D.getDate())}`;
1799
+ s && s > ae || (v({ dateOfBirth: s }), F("dateOfBirth", s), G.current = null);
1800
1800
  },
1801
1801
  onFocus: () => d?.trackDobClicked?.(),
1802
- onClick: () => x(Z),
1802
+ onClick: () => x(Q),
1803
1803
  onBlur: () => {
1804
- U.current === Z.current && (U.current = null);
1804
+ G.current === Q.current && (G.current = null);
1805
1805
  }
1806
1806
  }
1807
1807
  ),
@@ -1813,7 +1813,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1813
1813
  "aria-label": "Open date picker",
1814
1814
  onMouseDown: (n) => n.preventDefault(),
1815
1815
  onClick: (n) => {
1816
- n.preventDefault(), n.stopPropagation(), x(Z);
1816
+ n.preventDefault(), n.stopPropagation(), x(Q);
1817
1817
  },
1818
1818
  children: /* @__PURE__ */ r.jsx(
1819
1819
  "img",
@@ -1862,7 +1862,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1862
1862
  ] })
1863
1863
  ] })
1864
1864
  ] }),
1865
- /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: oe, children: [
1865
+ /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: ce, children: [
1866
1866
  /* @__PURE__ */ r.jsx(
1867
1867
  "input",
1868
1868
  {
@@ -1874,12 +1874,12 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1874
1874
  onFocus: () => d?.trackTimeClicked?.(),
1875
1875
  onChange: (n) => {
1876
1876
  const s = n.target.value;
1877
- b({ birthTime: s }), F("birthTime", s);
1877
+ v({ birthTime: s }), F("birthTime", s);
1878
1878
  },
1879
1879
  disabled: o.birthTimeUnknown,
1880
1880
  placeholder: "HH:MM AM",
1881
1881
  onClick: () => {
1882
- o.birthTimeUnknown || (W(me(o.birthTime || "12:00")), I((n) => !n));
1882
+ o.birthTimeUnknown || (O(me(o.birthTime || "12:00")), B((n) => !n));
1883
1883
  }
1884
1884
  }
1885
1885
  ),
@@ -1892,7 +1892,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1892
1892
  disabled: o.birthTimeUnknown,
1893
1893
  onMouseDown: (n) => n.preventDefault(),
1894
1894
  onClick: (n) => {
1895
- n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (W(me(o.birthTime || "12:00")), I((s) => !s));
1895
+ n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (O(me(o.birthTime || "12:00")), B((s) => !s));
1896
1896
  },
1897
1897
  children: /* @__PURE__ */ r.jsx(
1898
1898
  "img",
@@ -1905,7 +1905,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1905
1905
  )
1906
1906
  }
1907
1907
  ),
1908
- ce && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
1908
+ oe && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
1909
1909
  "div",
1910
1910
  {
1911
1911
  className: a.timePopover,
@@ -1917,8 +1917,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1917
1917
  "select",
1918
1918
  {
1919
1919
  className: a.timePickerSelect,
1920
- value: N.hour12,
1921
- onChange: (n) => W((s) => ({
1920
+ value: j.hour12,
1921
+ onChange: (n) => O((s) => ({
1922
1922
  ...s,
1923
1923
  hour12: Number(n.target.value)
1924
1924
  })),
@@ -1931,10 +1931,10 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1931
1931
  "select",
1932
1932
  {
1933
1933
  className: a.timePickerSelect,
1934
- value: N.minute,
1935
- onChange: (n) => W((s) => ({ ...s, minute: n.target.value })),
1934
+ value: j.minute,
1935
+ onChange: (n) => O((s) => ({ ...s, minute: n.target.value })),
1936
1936
  "aria-label": "Minute",
1937
- children: Array.from({ length: 60 }, (n, s) => J(s)).map(
1937
+ children: Array.from({ length: 60 }, (n, s) => X(s)).map(
1938
1938
  (n) => /* @__PURE__ */ r.jsx("option", { value: n, children: n }, n)
1939
1939
  )
1940
1940
  }
@@ -1944,8 +1944,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1944
1944
  "button",
1945
1945
  {
1946
1946
  type: "button",
1947
- className: `${a.meridiemBtn} ${N.meridiem === "AM" ? a.meridiemActive : ""}`,
1948
- onClick: () => W((n) => ({ ...n, meridiem: "AM" })),
1947
+ className: `${a.meridiemBtn} ${j.meridiem === "AM" ? a.meridiemActive : ""}`,
1948
+ onClick: () => O((n) => ({ ...n, meridiem: "AM" })),
1949
1949
  children: "AM"
1950
1950
  }
1951
1951
  ),
@@ -1953,8 +1953,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1953
1953
  "button",
1954
1954
  {
1955
1955
  type: "button",
1956
- className: `${a.meridiemBtn} ${N.meridiem === "PM" ? a.meridiemActive : ""}`,
1957
- onClick: () => W((n) => ({ ...n, meridiem: "PM" })),
1956
+ className: `${a.meridiemBtn} ${j.meridiem === "PM" ? a.meridiemActive : ""}`,
1957
+ onClick: () => O((n) => ({ ...n, meridiem: "PM" })),
1958
1958
  children: "PM"
1959
1959
  }
1960
1960
  )
@@ -1966,7 +1966,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1966
1966
  {
1967
1967
  type: "button",
1968
1968
  className: a.timePopoverBtn,
1969
- onClick: () => I(!1),
1969
+ onClick: () => B(!1),
1970
1970
  children: "Cancel"
1971
1971
  }
1972
1972
  ),
@@ -1976,8 +1976,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1976
1976
  type: "button",
1977
1977
  className: `${a.timePopoverBtn} ${a.timePopoverOk}`,
1978
1978
  onClick: () => {
1979
- const n = V(N);
1980
- b({ birthTime: n }), F("birthTime", n), I(!1);
1979
+ const n = V(j);
1980
+ v({ birthTime: n }), F("birthTime", n), B(!1);
1981
1981
  },
1982
1982
  "aria-label": "OK",
1983
1983
  children: /* @__PURE__ */ r.jsx(
@@ -2017,7 +2017,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2017
2017
  type: "checkbox",
2018
2018
  checked: o.birthTimeUnknown,
2019
2019
  onChange: (n) => {
2020
- d?.trackTimeCheckboxClicked?.(), b({
2020
+ d?.trackTimeCheckboxClicked?.(), v({
2021
2021
  birthTimeUnknown: n.target.checked,
2022
2022
  birthTime: n.target.checked ? "" : o.birthTime
2023
2023
  });
@@ -2084,7 +2084,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2084
2084
  value: o.birthPlace,
2085
2085
  onChange: (n) => {
2086
2086
  const s = n.target.value;
2087
- b({
2087
+ v({
2088
2088
  birthPlace: s,
2089
2089
  birthPlaceLat: void 0,
2090
2090
  birthPlaceLng: void 0
@@ -2112,7 +2112,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2112
2112
  type: "button",
2113
2113
  className: a.suggestionItem,
2114
2114
  onClick: () => {
2115
- b({
2115
+ v({
2116
2116
  birthPlace: n.description,
2117
2117
  birthPlaceLat: n.lat,
2118
2118
  birthPlaceLng: n.lng
@@ -2130,7 +2130,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2130
2130
  ] }),
2131
2131
  be && /* @__PURE__ */ r.jsx("p", { className: a.fieldError, children: "Please select a place from the dropdown list." })
2132
2132
  ] }),
2133
- B && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
2133
+ S && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
2134
2134
  /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
2135
2135
  t("formReportLanguage"),
2136
2136
  /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
@@ -2149,7 +2149,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2149
2149
  type: "button",
2150
2150
  className: `${a.choiceBtn} ${o.language_code === "hi" ? a.choiceBtnActive : ""}`,
2151
2151
  onClick: () => {
2152
- b({ language_code: "hi" }), d?.trackLanguageOfReportSelected?.({
2152
+ v({ language_code: "hi" }), d?.trackLanguageOfReportSelected?.({
2153
2153
  language: "hi"
2154
2154
  });
2155
2155
  },
@@ -2165,7 +2165,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2165
2165
  type: "button",
2166
2166
  className: `${a.choiceBtn} ${o.language_code === "en" ? a.choiceBtnActive : ""}`,
2167
2167
  onClick: () => {
2168
- b({ language_code: "en" }), d?.trackLanguageOfReportSelected?.({
2168
+ v({ language_code: "en" }), d?.trackLanguageOfReportSelected?.({
2169
2169
  language: "en"
2170
2170
  });
2171
2171
  },
@@ -2181,7 +2181,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2181
2181
  type: "button",
2182
2182
  className: `${a.choiceBtn} ${o.language_code === "te" ? a.choiceBtnActive : ""}`,
2183
2183
  onClick: () => {
2184
- b({ language_code: "te" }), d?.trackLanguageOfReportSelected?.({
2184
+ v({ language_code: "te" }), d?.trackLanguageOfReportSelected?.({
2185
2185
  language: "te"
2186
2186
  });
2187
2187
  },
@@ -2197,7 +2197,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2197
2197
  type: "button",
2198
2198
  className: `${a.choiceBtn} ${o.language_code === "ta" ? a.choiceBtnActive : ""}`,
2199
2199
  onClick: () => {
2200
- b({ language_code: "ta" }), d?.trackLanguageOfReportSelected?.({
2200
+ v({ language_code: "ta" }), d?.trackLanguageOfReportSelected?.({
2201
2201
  language: "ta"
2202
2202
  });
2203
2203
  },
@@ -2213,7 +2213,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2213
2213
  type: "button",
2214
2214
  className: `${a.choiceBtn} ${o.language_code === "kn" ? a.choiceBtnActive : ""}`,
2215
2215
  onClick: () => {
2216
- b({ language_code: "kn" }), d?.trackLanguageOfReportSelected?.({
2216
+ v({ language_code: "kn" }), d?.trackLanguageOfReportSelected?.({
2217
2217
  language: "kn"
2218
2218
  });
2219
2219
  },
@@ -2229,7 +2229,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2229
2229
  type: "button",
2230
2230
  className: `${a.choiceBtn} ${o.language_code === "gu" ? a.choiceBtnActive : ""}`,
2231
2231
  onClick: () => {
2232
- b({ language_code: "gu" }), d?.trackLanguageOfReportSelected?.({
2232
+ v({ language_code: "gu" }), d?.trackLanguageOfReportSelected?.({
2233
2233
  language: "gu"
2234
2234
  });
2235
2235
  },
@@ -2245,7 +2245,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2245
2245
  type: "button",
2246
2246
  className: `${a.choiceBtn} ${o.language_code === "mr" ? a.choiceBtnActive : ""}`,
2247
2247
  onClick: () => {
2248
- b({ language_code: "mr" }), d?.trackLanguageOfReportSelected?.({
2248
+ v({ language_code: "mr" }), d?.trackLanguageOfReportSelected?.({
2249
2249
  language: "mr"
2250
2250
  });
2251
2251
  },
@@ -2267,7 +2267,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2267
2267
  ctaFilledContent: ba,
2268
2268
  chevronRight: ya
2269
2269
  }, 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 }) => {
2270
- const c = Te()?.config.imageComponent ?? Be;
2270
+ const c = Te()?.config.imageComponent ?? Le;
2271
2271
  return /* @__PURE__ */ r.jsxs("div", { className: ke.marqueeContent, children: [
2272
2272
  /* @__PURE__ */ r.jsxs("span", { className: ke.badge, children: [
2273
2273
  /* @__PURE__ */ r.jsx(
@@ -2332,56 +2332,57 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2332
2332
  phoneIsdCode: c,
2333
2333
  requireV1ExtraFields: m = !1,
2334
2334
  onValidationFailed: k,
2335
- onProceed: B,
2335
+ onProceed: S,
2336
2336
  onProceedGuidance: w,
2337
- href: R,
2337
+ href: T,
2338
2338
  analytics: P,
2339
2339
  className: L = "",
2340
2340
  discountedPriceLabel: d,
2341
- showPlanSheet: j,
2342
- confirmPlan: h,
2343
- planSheetOpen: S,
2344
- selectedPlan: g
2341
+ discountPillLabel: R,
2342
+ showPlanSheet: h,
2343
+ confirmPlan: E,
2344
+ planSheetOpen: p,
2345
+ selectedPlan: I
2345
2346
  }) => {
2346
- const E = Te(), C = E?.config.isGlobal ?? !0, p = E?.config?.variant, [v, $] = G(!1), b = Ue(
2347
- () => ja(o, C, m),
2348
- [o, C, m]
2349
- ), F = b === null, q = p === "v1" && E?.config?.showSheet;
2350
- H(() => {
2351
- if (!v) return;
2347
+ const C = Te(), b = C?.config.isGlobal ?? !0, g = C?.config?.variant, [$, v] = W(!1), F = Ue(
2348
+ () => ja(o, b, m),
2349
+ [o, b, m]
2350
+ ), K = F === null, J = g === "v1" && C?.config?.showSheet;
2351
+ Y(() => {
2352
+ if (!$) return;
2352
2353
  const oe = window.setTimeout(() => {
2353
- $(!1);
2354
+ v(!1);
2354
2355
  }, 2200);
2355
2356
  return () => window.clearTimeout(oe);
2356
- }, [v]);
2357
- const X = C ? d ?? t("formDiscountedPrice") : q ? "" : "₹499", Z = E?.config.imageComponent ?? Be, U = (oe) => {
2358
- if (oe.preventDefault(), p === "v1" && !F && P?.trackKundliDetailedClicked?.(), !F) {
2359
- b && (k?.(
2360
- b === "birthPlaceCoordinates" ? "birthPlace" : b
2361
- ), b === "birthPlaceCoordinates" && $(!0));
2357
+ }, [$]);
2358
+ const Q = b ? d ?? t("formDiscountedPrice") : J ? "" : "₹499", G = C?.config.imageComponent ?? Le, q = (oe) => {
2359
+ if (oe.preventDefault(), g === "v1" && !K && P?.trackKundliDetailedClicked?.(), !K) {
2360
+ F && (k?.(
2361
+ F === "birthPlaceCoordinates" ? "birthPlace" : F
2362
+ ), F === "birthPlaceCoordinates" && v(!0));
2362
2363
  return;
2363
2364
  }
2364
- const ce = !!w && p === "v1" && g?.id === br, I = (o.phone ?? "").trim(), N = {
2365
+ const B = !!w && g === "v1" && I?.id === br, j = (o.phone ?? "").trim(), O = {
2365
2366
  ...o,
2366
- phone: I && `${c}-${I}`
2367
+ phone: j && `${c}-${j}`
2367
2368
  };
2368
- if (q) {
2369
- S ? h?.() : j?.(N);
2369
+ if (J) {
2370
+ p ? E?.() : h?.(O);
2370
2371
  return;
2371
2372
  }
2372
- P?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), ce ? w(N) : B?.(N);
2373
- }, Y = /* @__PURE__ */ r.jsx(
2373
+ P?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), B ? w(O) : S?.(O);
2374
+ }, ce = /* @__PURE__ */ r.jsx(
2374
2375
  $r,
2375
2376
  {
2376
- href: R,
2377
- disabled: p === "v1" ? !1 : !F,
2378
- onClick: U,
2377
+ href: T,
2378
+ disabled: g === "v1" ? !1 : !K,
2379
+ onClick: q,
2379
2380
  "aria-label": t("formPriceAria"),
2380
- className: p === "v1" && F ? je.ctaFilled : p === "v1" ? je.ctaButton : void 0,
2381
- children: p === "v1" ? F ? /* @__PURE__ */ r.jsxs("span", { className: je.ctaFilledContent, children: [
2382
- q ? t("selectPackage") : S && g ? `${t("proceedWithPlan")}${g.price}` : `${t("formProceed")} ${X}`,
2381
+ className: g === "v1" && K ? je.ctaFilled : g === "v1" ? je.ctaButton : void 0,
2382
+ children: g === "v1" ? K ? /* @__PURE__ */ r.jsxs("span", { className: je.ctaFilledContent, children: [
2383
+ J ? t("selectPackage") : p && I ? `${t("proceedWithPlan")}${I.price}` : `${t("formProceed")} ${Q}`,
2383
2384
  /* @__PURE__ */ r.jsx(
2384
- Z,
2385
+ G,
2385
2386
  {
2386
2387
  src: xa,
2387
2388
  alt: "",
@@ -2394,7 +2395,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2394
2395
  ] }) : t("formCtaDefault") : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
2395
2396
  t("formProceed"),
2396
2397
  " ",
2397
- X
2398
+ Q
2398
2399
  ] })
2399
2400
  }
2400
2401
  );
@@ -2404,8 +2405,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2404
2405
  className: `${je.footerContainer} ${L}`,
2405
2406
  marquee: /* @__PURE__ */ r.jsx(Gr, { children: /* @__PURE__ */ r.jsx(Pa, { t }) }),
2406
2407
  children: [
2407
- v && /* @__PURE__ */ r.jsx("div", { className: je.validationToast, role: "alert", "aria-live": "assertive", children: t("formFillAllFields") }),
2408
- Y
2408
+ $ && /* @__PURE__ */ r.jsx("div", { className: je.validationToast, role: "alert", "aria-live": "assertive", children: t("formFillAllFields") }),
2409
+ ce
2409
2410
  ]
2410
2411
  }
2411
2412
  );
@@ -2415,7 +2416,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2415
2416
  logoUrl: c = Ta,
2416
2417
  className: m = ""
2417
2418
  }) => {
2418
- const k = Te(), B = k?.config.isGlobal ?? !0, w = o != null && !B;
2419
+ const k = Te(), S = k?.config.isGlobal ?? !0, w = o != null && !S;
2419
2420
  return /* @__PURE__ */ r.jsx(
2420
2421
  Wr,
2421
2422
  {
@@ -2444,11 +2445,11 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2444
2445
  strokeWidth: "1.8",
2445
2446
  strokeLinecap: "round"
2446
2447
  }
2447
- ) }), 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: [
2448
+ ) }), 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" }) }), La = () => /* @__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: [
2448
2449
  /* @__PURE__ */ r.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
2449
2450
  /* @__PURE__ */ r.jsx("polyline", { points: "17 6 23 6 23 12" })
2450
- ] }), 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", hn = "_astrologerName_18irl_326", pn = "_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 = {
2451
- overlay: La,
2451
+ ] }), Ba = "_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", hn = "_astrologerName_18irl_326", pn = "_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 = {
2452
+ overlay: Ba,
2452
2453
  sheet: Da,
2453
2454
  header: Fa,
2454
2455
  backBtn: Oa,
@@ -2525,10 +2526,10 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2525
2526
  o?.(c) ?? c
2526
2527
  ] }, m)) })
2527
2528
  ] }), Cn = ({ label: t }) => /* @__PURE__ */ r.jsxs("div", { className: f.popularBadge, "aria-label": t, children: [
2528
- /* @__PURE__ */ r.jsx(Ba, {}),
2529
+ /* @__PURE__ */ r.jsx(La, {}),
2529
2530
  /* @__PURE__ */ r.jsx("span", { children: t })
2530
2531
  ] }), jn = ({ plan: t, isSelected: o, onSelect: c, t: m }) => {
2531
- const k = () => c(t.id), B = (w) => {
2532
+ const k = () => c(t.id), S = (w) => {
2532
2533
  (w.key === " " || w.key === "Enter") && (w.preventDefault(), c(t.id));
2533
2534
  };
2534
2535
  return /* @__PURE__ */ r.jsxs(
@@ -2543,7 +2544,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2543
2544
  role: "radio",
2544
2545
  "aria-checked": o,
2545
2546
  tabIndex: 0,
2546
- onKeyDown: B,
2547
+ onKeyDown: S,
2547
2548
  "data-plan-id": t.id,
2548
2549
  children: [
2549
2550
  t.badge && /* @__PURE__ */ r.jsx(Cn, { label: m?.(t.badge) ?? t.badge }),
@@ -2568,7 +2569,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2568
2569
  t.astrologers && /* @__PURE__ */ r.jsx("div", { className: f.planDivider }),
2569
2570
  t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
2570
2571
  /* @__PURE__ */ r.jsx("p", { className: f.astrologerHeading, children: m?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
2571
- /* @__PURE__ */ r.jsx("div", { className: f.astrologerList, role: "list", children: t.astrologers.map((w, R) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(An, { astrologer: w, t: m }) }, R)) })
2572
+ /* @__PURE__ */ r.jsx("div", { className: f.astrologerList, role: "list", children: t.astrologers.map((w, T) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(An, { astrologer: w, t: m }) }, T)) })
2572
2573
  ] })
2573
2574
  ] })
2574
2575
  ]
@@ -2638,25 +2639,25 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2638
2639
  selectedPlan: c,
2639
2640
  onSelectPlan: m,
2640
2641
  plans: k,
2641
- onProceed: B,
2642
+ onProceed: S,
2642
2643
  t: w,
2643
- analytics: R
2644
+ analytics: T
2644
2645
  }) => {
2645
- const L = Te()?.config.isGlobal ?? !0, d = k ?? Tn(L), j = c?.id || d.find((C) => C.badge)?.id || d[0]?.id || "", h = K(null), S = K(null), g = K(!1);
2646
- H(() => {
2646
+ const L = Te()?.config.isGlobal ?? !0, d = k ?? Tn(L), R = c?.id || d.find((C) => C.badge)?.id || d[0]?.id || "", h = H(null), E = H(null), p = H(!1);
2647
+ Y(() => {
2647
2648
  if (t) {
2648
2649
  if (!c) {
2649
- const C = d.find((p) => p.badge) ?? d[0];
2650
+ const C = d.find((b) => b.badge) ?? d[0];
2650
2651
  C && m(C);
2651
2652
  }
2652
- g.current || (R?.trackPlanPageViewed?.(), g.current = !0);
2653
+ p.current || (T?.trackPlanPageViewed?.(), p.current = !0);
2653
2654
  } else
2654
- g.current = !1;
2655
- }, [t, d, c, m, R]);
2656
- const E = () => {
2657
- R?.trackPlanPageClosed?.(), o();
2655
+ p.current = !1;
2656
+ }, [t, d, c, m, T]);
2657
+ const I = () => {
2658
+ T?.trackPlanPageClosed?.(), o();
2658
2659
  };
2659
- return H(() => {
2660
+ return Y(() => {
2660
2661
  if (!t) return;
2661
2662
  const C = document.body.style.overflow;
2662
2663
  return document.body.style.overflow = "hidden", () => {
@@ -2679,13 +2680,13 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2679
2680
  xn,
2680
2681
  {
2681
2682
  title: w?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2682
- onBack: E
2683
+ onBack: I
2683
2684
  }
2684
2685
  ),
2685
2686
  /* @__PURE__ */ r.jsx(
2686
2687
  "div",
2687
2688
  {
2688
- ref: S,
2689
+ ref: E,
2689
2690
  className: f.plansContainer,
2690
2691
  role: "radiogroup",
2691
2692
  "aria-label": "Kundli plans",
@@ -2693,14 +2694,14 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2693
2694
  jn,
2694
2695
  {
2695
2696
  plan: C,
2696
- isSelected: C.id === j,
2697
+ isSelected: C.id === R,
2697
2698
  t: w,
2698
- onSelect: (p) => {
2699
- const v = d.find(($) => $.id === p);
2700
- v && (R?.trackPlanSelected?.({
2701
- planId: v.id,
2702
- planName: v.title
2703
- }), m(v));
2699
+ onSelect: (b) => {
2700
+ const g = d.find(($) => $.id === b);
2701
+ g && (T?.trackPlanSelected?.({
2702
+ planId: g.id,
2703
+ planName: g.title
2704
+ }), m(g));
2704
2705
  }
2705
2706
  },
2706
2707
  C.id
@@ -2713,10 +2714,10 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2713
2714
  className: f.proceedBtn,
2714
2715
  disabled: !c,
2715
2716
  onClick: () => {
2716
- c && (R?.trackPlanProceedClicked?.({
2717
+ c && (T?.trackPlanProceedClicked?.({
2717
2718
  planId: c.id,
2718
2719
  planName: c.title
2719
- }), B(c), o());
2720
+ }), S(c), o());
2720
2721
  },
2721
2722
  children: c ? w?.("planProceedToPayment") ?? c.price + "Proceed to Payment" : "Select a plan"
2722
2723
  }
@@ -2744,47 +2745,47 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2744
2745
  showLanguageSelector: c = !0,
2745
2746
  onBack: m,
2746
2747
  initialValues: k,
2747
- onProceed: B,
2748
+ onProceed: S,
2748
2749
  onProceedGuidance: w,
2749
- proceedHref: R,
2750
+ proceedHref: T,
2750
2751
  originalPriceLabel: P,
2751
2752
  discountedPriceLabel: L,
2752
2753
  atlasSearchLocalities: d,
2753
- analytics: j
2754
+ analytics: R
2754
2755
  }) => {
2755
- const h = Te(), S = qr(), g = h !== null, E = g ? h.locale : o, C = E ?? S?.locale ?? "en", [p, v] = G(C), $ = g ? h.locale : p, b = g ? h.setLocale : v, [F, q] = G(!1), X = K(null), Z = K(E), U = K(
2756
- S?.locale
2756
+ const h = Te(), E = qr(), p = h !== null, I = p ? h.locale : o, C = I ?? E?.locale ?? "en", [b, g] = W(C), $ = p ? h.locale : b, v = p ? h.setLocale : g, [F, K] = W(!1), J = H(null), Q = H(I), G = H(
2757
+ E?.locale
2757
2758
  );
2758
- H(() => {
2759
+ Y(() => {
2759
2760
  window.scrollTo({ top: 0, left: 0, behavior: "auto" });
2760
2761
  }, []);
2761
- const Y = (x) => En($, x);
2762
- H(() => {
2763
- E && Z.current !== E && b(E), Z.current = E;
2764
- }, [E, b]), H(() => {
2765
- if (E) return;
2766
- const x = S?.locale;
2767
- x && U.current !== x && b(x), U.current = x;
2768
- }, [S?.locale, E, b]);
2769
- const [oe, ce] = G({
2762
+ const q = (x) => En($, x);
2763
+ Y(() => {
2764
+ I && Q.current !== I && v(I), Q.current = I;
2765
+ }, [I, v]), Y(() => {
2766
+ if (I) return;
2767
+ const x = E?.locale;
2768
+ x && G.current !== x && v(x), G.current = x;
2769
+ }, [E?.locale, I, v]);
2770
+ const [ce, oe] = W({
2770
2771
  ...In,
2771
2772
  ...k,
2772
2773
  phone: k?.phone ?? ""
2773
- }), I = g ? h?.config.isGlobal ?? !0 : !0, [N, W] = G(
2774
- I ? "+1" : "+91"
2774
+ }), B = p ? h?.config.isGlobal ?? !0 : !0, [j, O] = W(
2775
+ B ? "+1" : "+91"
2775
2776
  );
2776
- H(() => {
2777
- W(I ? "+1" : "+91");
2778
- }, [I]);
2779
- const J = g ? h.formValues : oe, pe = g ? h.setFormValues : ce, me = g ? h.goToPage : m, V = g ? h.onProceed : B, ee = g ? h.onProceedGuidance : w, re = g ? h.config.proceedHref : R, de = g ? h.config.originalPriceLabel : P, te = g ? h.config.discountedPriceLabel : L, he = g ? h.config.showLanguageSelector ?? !0 : c, ie = (g ? h?.config?.analytics : j) ?? j;
2780
- H(() => {
2777
+ Y(() => {
2778
+ O(B ? "+1" : "+91");
2779
+ }, [B]);
2780
+ const X = p ? h.formValues : ce, pe = p ? h.setFormValues : oe, me = p ? h.goToPage : m, V = p ? h.onProceed : S, ee = p ? h.onProceedGuidance : w, re = p ? h.config.proceedHref : T, de = p ? h.config.originalPriceLabel : P, te = p ? h.config.discountedPriceLabel : L, he = p ? h.config.showLanguageSelector ?? !0 : c, ie = (p ? h?.config?.analytics : R) ?? R;
2781
+ Y(() => {
2781
2782
  if (!F) return;
2782
2783
  const x = (n) => {
2783
- X.current && !X.current.contains(n.target) && q(!1);
2784
+ J.current && !J.current.contains(n.target) && K(!1);
2784
2785
  };
2785
2786
  return document.addEventListener("mousedown", x), () => document.removeEventListener("mousedown", x);
2786
2787
  }, [F]);
2787
- const [ge, ue] = G(!1), [z, be] = G(null), le = K(null), we = Ne((x) => {
2788
+ const [ge, ue] = W(!1), [z, be] = W(null), le = H(null), we = Ne((x) => {
2788
2789
  le.current = x, ue(!0);
2789
2790
  }, []), _e = Ne(() => {
2790
2791
  if (!le.current || !z) return;
@@ -2792,23 +2793,23 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2792
2793
  planId: z.id,
2793
2794
  planName: z.title,
2794
2795
  price: z.price,
2795
- currency: I ? "USD" : "INR"
2796
+ currency: B ? "USD" : "INR"
2796
2797
  });
2797
2798
  const x = { ...le.current, _selectedPlan: z };
2798
2799
  z.id === br && ee ? ee(x) : V?.(x), ue(!1), le.current = null;
2799
- }, [z, V, ee]), xe = h?.config.imageComponent ?? Be, ye = he ? /* @__PURE__ */ r.jsxs("div", { className: fe.langDropdownWrap, ref: X, children: [
2800
+ }, [z, V, ee]), xe = h?.config.imageComponent ?? Le, ye = he ? /* @__PURE__ */ r.jsxs("div", { className: fe.langDropdownWrap, ref: J, children: [
2800
2801
  /* @__PURE__ */ r.jsxs(
2801
2802
  "button",
2802
2803
  {
2803
2804
  type: "button",
2804
2805
  className: fe.langTrigger,
2805
2806
  onClick: () => {
2806
- ie?.trackLanguageClickedFe?.({ language: $ }), q((x) => !x);
2807
+ ie?.trackLanguageClickedFe?.({ language: $ }), K((x) => !x);
2807
2808
  },
2808
2809
  "aria-expanded": F,
2809
2810
  "aria-haspopup": "listbox",
2810
2811
  id: "kundli-form-lang",
2811
- "aria-label": Y("language"),
2812
+ "aria-label": q("language"),
2812
2813
  children: [
2813
2814
  /* @__PURE__ */ r.jsx(
2814
2815
  xe,
@@ -2840,7 +2841,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2840
2841
  "aria-selected": x === $,
2841
2842
  className: fe.langOption,
2842
2843
  onClick: () => {
2843
- ie?.trackLanguageChangedFe?.({ newLanguage: x }), b(x), q(!1);
2844
+ ie?.trackLanguageChangedFe?.({ newLanguage: x }), v(x), K(!1);
2844
2845
  },
2845
2846
  children: lr[x]
2846
2847
  },
@@ -2853,33 +2854,33 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2853
2854
  /* @__PURE__ */ r.jsx(
2854
2855
  Ra,
2855
2856
  {
2856
- t: Y,
2857
- logoUrl: g ? h.config.logoUrl : void 0,
2857
+ t: q,
2858
+ logoUrl: p ? h.config.logoUrl : void 0,
2858
2859
  languageSelector: ye,
2859
2860
  className: fe.kundliHeaderNoBorder
2860
2861
  }
2861
2862
  ),
2862
2863
  /* @__PURE__ */ r.jsx("div", { className: fe.headerSeparator, "aria-hidden": !0 }),
2863
2864
  /* @__PURE__ */ r.jsxs("main", { className: fe.main, children: [
2864
- /* @__PURE__ */ r.jsx(ut, { t: Y, onBack: me }),
2865
+ /* @__PURE__ */ r.jsx(ut, { t: q, onBack: me }),
2865
2866
  /* @__PURE__ */ r.jsx(
2866
2867
  pa,
2867
2868
  {
2868
- t: Y,
2869
- values: J,
2869
+ t: q,
2870
+ values: X,
2870
2871
  onChange: pe,
2871
2872
  atlasSearchLocalities: d,
2872
- phoneIsdCode: N,
2873
- onPhoneIsdCodeChange: W
2873
+ phoneIsdCode: j,
2874
+ onPhoneIsdCodeChange: O
2874
2875
  }
2875
2876
  )
2876
2877
  ] }),
2877
2878
  /* @__PURE__ */ r.jsx(
2878
2879
  Na,
2879
2880
  {
2880
- t: Y,
2881
- values: J,
2882
- phoneIsdCode: N,
2881
+ t: q,
2882
+ values: X,
2883
+ phoneIsdCode: j,
2883
2884
  onProceed: V,
2884
2885
  onProceedGuidance: ee,
2885
2886
  href: re,
@@ -2902,7 +2903,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2902
2903
  onProceed: () => {
2903
2904
  _e?.();
2904
2905
  },
2905
- t: Y,
2906
+ t: q,
2906
2907
  analytics: ie
2907
2908
  }
2908
2909
  )
@@ -2948,7 +2949,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2948
2949
  };
2949
2950
  export {
2950
2951
  Ia as C,
2951
- Be as D,
2952
+ Le as D,
2952
2953
  ut as F,
2953
2954
  Dn as I,
2954
2955
  Gn as K,
@@ -2975,4 +2976,4 @@ export {
2975
2976
  fr as t,
2976
2977
  qr as u
2977
2978
  };
2978
- //# sourceMappingURL=analytics-Bvz01vIv.js.map
2979
+ //# sourceMappingURL=analytics-B_K8hMeg.js.map