@srimandir/kundli-generator 5.30.28 → 5.30.30

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 K, useRef as Y, useEffect as q, useMemo as Ue, useCallback as Ne } from "react";
1
+ import Ge, { useContext as We, createContext as ur, useState as H, useRef as q, useEffect as V, 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, S = { key: !0, ref: !0, __self: !0, __source: !0 };
9
- function w(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]);
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, R = { key: !0, ref: !0, __self: !0, __source: !0 };
9
+ function w(N, P, I) {
10
+ var d, T = {}, p = null, S = null;
11
+ I !== void 0 && (p = "" + I), P.key !== void 0 && (p = "" + P.key), P.ref !== void 0 && (S = P.ref);
12
+ for (d in P) m.call(P, d) && !R.hasOwnProperty(d) && (T[d] = P[d]);
13
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: k.current };
14
+ return { $$typeof: o, type: N, key: p, ref: S, props: T, _owner: k.current };
15
15
  }
16
16
  return Se.Fragment = c, Se.jsx = w, Se.jsxs = w, Se;
17
17
  }
@@ -19,11 +19,11 @@ 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"), S = /* @__PURE__ */ Symbol.for("react.profiler"), w = /* @__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";
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"), R = /* @__PURE__ */ Symbol.for("react.profiler"), w = /* @__PURE__ */ Symbol.for("react.provider"), N = /* @__PURE__ */ Symbol.for("react.context"), P = /* @__PURE__ */ Symbol.for("react.forward_ref"), I = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), T = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), S = /* @__PURE__ */ Symbol.for("react.offscreen"), h = Symbol.iterator, E = "@@iterator";
23
23
  function C(e) {
24
24
  if (e === null || typeof e != "object")
25
25
  return null;
26
- var i = h && e[h] || e[I];
26
+ var i = h && e[h] || e[E];
27
27
  return typeof i == "function" ? i : null;
28
28
  }
29
29
  var b = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -44,16 +44,16 @@ function Hr() {
44
44
  j.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, j);
45
45
  }
46
46
  }
47
- var v = !1, F = !1, H = !1, J = !1, Q = !1, G;
47
+ var v = !1, B = !1, Y = !1, Q = !1, X = !1, G;
48
48
  G = /* @__PURE__ */ Symbol.for("react.module.reference");
49
- function V(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 || H || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === T || e.$$typeof === w || e.$$typeof === N || e.$$typeof === P || // This needs to include all possible module reference object
49
+ function z(e) {
50
+ return !!(typeof e == "string" || typeof e == "function" || e === m || e === R || X || e === k || e === I || e === d || Q || e === S || v || B || Y || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === T || e.$$typeof === w || e.$$typeof === N || 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
54
  e.$$typeof === G || e.getModuleId !== void 0));
55
55
  }
56
- function ne(e, i, l) {
56
+ function ie(e, i, l) {
57
57
  var u = e.displayName;
58
58
  if (u)
59
59
  return u;
@@ -63,7 +63,7 @@ function Hr() {
63
63
  function oe(e) {
64
64
  return e.displayName || "Context";
65
65
  }
66
- function B(e) {
66
+ function D(e) {
67
67
  if (e == null)
68
68
  return null;
69
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")
@@ -75,11 +75,11 @@ function Hr() {
75
75
  return "Fragment";
76
76
  case c:
77
77
  return "Portal";
78
- case S:
78
+ case R:
79
79
  return "Profiler";
80
80
  case k:
81
81
  return "StrictMode";
82
- case L:
82
+ case I:
83
83
  return "Suspense";
84
84
  case d:
85
85
  return "SuspenseList";
@@ -93,14 +93,14 @@ function Hr() {
93
93
  var l = e;
94
94
  return oe(l._context) + ".Provider";
95
95
  case P:
96
- return ne(e, e.render, "ForwardRef");
96
+ return ie(e, e.render, "ForwardRef");
97
97
  case T:
98
98
  var u = e.displayName || null;
99
- return u !== null ? u : B(e.type) || "Memo";
99
+ return u !== null ? u : D(e.type) || "Memo";
100
100
  case p: {
101
101
  var A = e, j = A._payload, y = A._init;
102
102
  try {
103
- return B(y(j));
103
+ return D(y(j));
104
104
  } catch {
105
105
  return null;
106
106
  }
@@ -108,18 +108,18 @@ function Hr() {
108
108
  }
109
109
  return null;
110
110
  }
111
- var O = Object.assign, R = 0, X, pe, he, ue, W, ee, ie;
112
- function ae() {
111
+ var F = Object.assign, O = 0, W, he, me, fe, re, K, le;
112
+ function te() {
113
113
  }
114
- ae.__reactDisabledLog = !0;
115
- function le() {
114
+ te.__reactDisabledLog = !0;
115
+ function de() {
116
116
  {
117
- if (R === 0) {
118
- X = console.log, pe = console.info, he = console.warn, ue = console.error, W = console.group, ee = console.groupCollapsed, ie = console.groupEnd;
117
+ if (O === 0) {
118
+ W = console.log, he = console.info, me = console.warn, fe = console.error, re = console.group, K = console.groupCollapsed, le = console.groupEnd;
119
119
  var e = {
120
120
  configurable: !0,
121
121
  enumerable: !0,
122
- value: ae,
122
+ value: te,
123
123
  writable: !0
124
124
  };
125
125
  Object.defineProperties(console, {
@@ -132,68 +132,68 @@ function Hr() {
132
132
  groupEnd: e
133
133
  });
134
134
  }
135
- R++;
135
+ O++;
136
136
  }
137
137
  }
138
- function se() {
138
+ function Z() {
139
139
  {
140
- if (R--, R === 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: O({}, e, {
148
- value: X
149
- }),
150
- info: O({}, e, {
151
- value: pe
147
+ log: F({}, e, {
148
+ value: W
152
149
  }),
153
- warn: O({}, e, {
150
+ info: F({}, e, {
154
151
  value: he
155
152
  }),
156
- error: O({}, e, {
157
- value: ue
153
+ warn: F({}, e, {
154
+ value: me
158
155
  }),
159
- group: O({}, e, {
160
- value: W
156
+ error: F({}, e, {
157
+ value: fe
161
158
  }),
162
- groupCollapsed: O({}, e, {
163
- value: ee
159
+ group: F({}, e, {
160
+ value: re
164
161
  }),
165
- groupEnd: O({}, e, {
166
- value: ie
162
+ groupCollapsed: F({}, e, {
163
+ value: K
164
+ }),
165
+ groupEnd: F({}, e, {
166
+ value: le
167
167
  })
168
168
  });
169
169
  }
170
- R < 0 && g("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 = b.ReactCurrentDispatcher, me;
174
- function z(e, i, l) {
173
+ var ge = b.ReactCurrentDispatcher, ue;
174
+ function J(e, i, l) {
175
175
  {
176
- if (me === void 0)
176
+ if (ue === void 0)
177
177
  try {
178
178
  throw Error();
179
179
  } catch (A) {
180
180
  var u = A.stack.trim().match(/\n( *(at )?)/);
181
- me = u && u[1] || "";
181
+ ue = u && u[1] || "";
182
182
  }
183
183
  return `
184
- ` + me + e;
184
+ ` + ue + e;
185
185
  }
186
186
  }
187
- var be = !1, ce;
187
+ var be = !1, se;
188
188
  {
189
189
  var we = typeof WeakMap == "function" ? WeakMap : Map;
190
- ce = new we();
190
+ se = new we();
191
191
  }
192
192
  function _e(e, i) {
193
193
  if (!e || be)
194
194
  return "";
195
195
  {
196
- var l = ce.get(e);
196
+ var l = se.get(e);
197
197
  if (l !== void 0)
198
198
  return l;
199
199
  }
@@ -202,7 +202,7 @@ function Hr() {
202
202
  var A = Error.prepareStackTrace;
203
203
  Error.prepareStackTrace = void 0;
204
204
  var j;
205
- j = ge.current, ge.current = null, le();
205
+ j = ge.current, ge.current = null, de();
206
206
  try {
207
207
  if (i) {
208
208
  var y = function() {
@@ -215,50 +215,50 @@ function Hr() {
215
215
  }), typeof Reflect == "object" && Reflect.construct) {
216
216
  try {
217
217
  Reflect.construct(y, []);
218
- } catch (te) {
219
- u = te;
218
+ } catch (ne) {
219
+ u = ne;
220
220
  }
221
221
  Reflect.construct(e, [], y);
222
222
  } else {
223
223
  try {
224
224
  y.call();
225
- } catch (te) {
226
- u = te;
225
+ } catch (ne) {
226
+ u = ne;
227
227
  }
228
228
  e.call(y.prototype);
229
229
  }
230
230
  } else {
231
231
  try {
232
232
  throw Error();
233
- } catch (te) {
234
- u = te;
233
+ } catch (ne) {
234
+ u = ne;
235
235
  }
236
236
  e();
237
237
  }
238
- } catch (te) {
239
- if (te && u && typeof te.stack == "string") {
240
- for (var _ = te.stack.split(`
241
- `), Z = u.stack.split(`
242
- `), M = _.length - 1, U = Z.length - 1; M >= 1 && U >= 0 && _[M] !== Z[U]; )
238
+ } catch (ne) {
239
+ if (ne && u && typeof ne.stack == "string") {
240
+ for (var _ = ne.stack.split(`
241
+ `), ee = u.stack.split(`
242
+ `), M = _.length - 1, U = ee.length - 1; M >= 1 && U >= 0 && _[M] !== ee[U]; )
243
243
  U--;
244
244
  for (; M >= 1 && U >= 0; M--, U--)
245
- if (_[M] !== Z[U]) {
245
+ if (_[M] !== ee[U]) {
246
246
  if (M !== 1 || U !== 1)
247
247
  do
248
- if (M--, U--, U < 0 || _[M] !== Z[U]) {
249
- var de = `
248
+ if (M--, U--, U < 0 || _[M] !== ee[U]) {
249
+ var ce = `
250
250
  ` + _[M].replace(" at new ", " at ");
251
- return e.displayName && de.includes("<anonymous>") && (de = de.replace("<anonymous>", e.displayName)), typeof e == "function" && ce.set(e, de), de;
251
+ return e.displayName && ce.includes("<anonymous>") && (ce = ce.replace("<anonymous>", e.displayName)), typeof e == "function" && se.set(e, ce), ce;
252
252
  }
253
253
  while (M >= 1 && U >= 0);
254
254
  break;
255
255
  }
256
256
  }
257
257
  } finally {
258
- be = !1, ge.current = j, se(), Error.prepareStackTrace = A;
258
+ be = !1, ge.current = j, Z(), Error.prepareStackTrace = A;
259
259
  }
260
- var Ae = e ? e.displayName || e.name : "", ve = Ae ? z(Ae) : "";
261
- return typeof e == "function" && ce.set(e, ve), ve;
260
+ var Ae = e ? e.displayName || e.name : "", ve = Ae ? J(Ae) : "";
261
+ return typeof e == "function" && se.set(e, ve), ve;
262
262
  }
263
263
  function xe(e, i, l) {
264
264
  return _e(e, !1);
@@ -273,12 +273,12 @@ function Hr() {
273
273
  if (typeof e == "function")
274
274
  return _e(e, ye(e));
275
275
  if (typeof e == "string")
276
- return z(e);
276
+ return J(e);
277
277
  switch (e) {
278
- case L:
279
- return z("Suspense");
278
+ case I:
279
+ return J("Suspense");
280
280
  case d:
281
- return z("SuspenseList");
281
+ return J("SuspenseList");
282
282
  }
283
283
  if (typeof e == "object")
284
284
  switch (e.$$typeof) {
@@ -296,13 +296,13 @@ function Hr() {
296
296
  }
297
297
  return "";
298
298
  }
299
- var n = Object.prototype.hasOwnProperty, s = {}, D = b.ReactDebugCurrentFrame;
300
- function re(e) {
299
+ var n = Object.prototype.hasOwnProperty, s = {}, L = b.ReactDebugCurrentFrame;
300
+ function ae(e) {
301
301
  if (e) {
302
302
  var i = e._owner, l = x(e.type, e._source, i ? i.type : null);
303
- D.setExtraStackFrame(l);
303
+ L.setExtraStackFrame(l);
304
304
  } else
305
- D.setExtraStackFrame(null);
305
+ L.setExtraStackFrame(null);
306
306
  }
307
307
  function Re(e, i, l, u, A) {
308
308
  {
@@ -312,14 +312,14 @@ function Hr() {
312
312
  var _ = void 0;
313
313
  try {
314
314
  if (typeof e[y] != "function") {
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;
315
+ var ee = 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 ee.name = "Invariant Violation", ee;
317
317
  }
318
318
  _ = e[y](i, y, u, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
319
319
  } catch (M) {
320
320
  _ = M;
321
321
  }
322
- _ && !(_ instanceof Error) && (re(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 _), re(null)), _ instanceof Error && !(_.message in s) && (s[_.message] = !0, re(A), g("Failed %s type: %s", l, _.message), re(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
  }
@@ -425,8 +425,8 @@ function Hr() {
425
425
  };
426
426
  function Nr(e, i, l, u, A) {
427
427
  {
428
- var j, 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));
428
+ var j, y = {}, _ = null, ee = null;
429
+ l !== void 0 && (qe(l), _ = "" + l), xr(i) && (qe(i.key), _ = "" + i.key), wr(i) && (ee = i.ref, Pr(i, A));
430
430
  for (j in i)
431
431
  n.call(i, j) && !kr.hasOwnProperty(j) && (y[j] = i[j]);
432
432
  if (e && e.defaultProps) {
@@ -434,11 +434,11 @@ function Hr() {
434
434
  for (j in M)
435
435
  y[j] === void 0 && (y[j] = M[j]);
436
436
  }
437
- if (_ || Z) {
437
+ if (_ || ee) {
438
438
  var U = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
439
- _ && Ar(y, U), Z && Cr(y, U);
439
+ _ && Ar(y, U), ee && Cr(y, U);
440
440
  }
441
- return jr(e, _, Z, A, u, Ve.current, y);
441
+ return jr(e, _, ee, A, u, Ve.current, y);
442
442
  }
443
443
  }
444
444
  var Fe = b.ReactCurrentOwner, Qe = b.ReactDebugCurrentFrame;
@@ -457,7 +457,7 @@ function Hr() {
457
457
  function Xe() {
458
458
  {
459
459
  if (Fe.current) {
460
- var e = B(Fe.current.type);
460
+ var e = D(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 " + 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);
495
+ e && e._owner && e._owner !== Fe.current && (u = " It was passed a child from " + D(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) {
@@ -529,11 +529,11 @@ Check the top-level render call using <` + l + ">.");
529
529
  else
530
530
  return;
531
531
  if (l) {
532
- var u = B(i);
532
+ var u = D(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 = B(i);
536
+ var A = D(i);
537
537
  g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", A || "Unknown");
538
538
  }
539
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.");
@@ -554,37 +554,37 @@ Check the top-level render call using <` + l + ">.");
554
554
  var tr = {};
555
555
  function ar(e, i, l, u, A, j) {
556
556
  {
557
- var y = V(e);
557
+ var y = z(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 Z = Tr();
562
- Z ? _ += Z : _ += Xe();
561
+ var ee = Tr();
562
+ ee ? _ += ee : _ += Xe();
563
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, _);
564
+ e === null ? M = "null" : De(e) ? M = "array" : e !== void 0 && e.$$typeof === o ? (M = "<" + (D(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
566
  var U = Nr(e, i, l, A, j);
567
567
  if (U == null)
568
568
  return U;
569
569
  if (y) {
570
- var de = i.children;
571
- if (de !== void 0)
570
+ var ce = i.children;
571
+ if (ce !== void 0)
572
572
  if (u)
573
- if (De(de)) {
574
- for (var Ae = 0; Ae < de.length; Ae++)
575
- rr(de[Ae], e);
576
- Object.freeze && Object.freeze(de);
573
+ if (De(ce)) {
574
+ for (var Ae = 0; Ae < ce.length; Ae++)
575
+ rr(ce[Ae], e);
576
+ Object.freeze && Object.freeze(ce);
577
577
  } else
578
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
- rr(de, e);
580
+ rr(ce, e);
581
581
  }
582
582
  if (n.call(i, "key")) {
583
- var ve = B(e), te = Object.keys(i).filter(function(Or) {
583
+ var ve = D(e), ne = Object.keys(i).filter(function(Or) {
584
584
  return Or !== "key";
585
- }), $e = te.length > 0 ? "{key: someKey, " + te.join(": ..., ") + ": ...}" : "{key: someKey}";
585
+ }), $e = ne.length > 0 ? "{key: someKey, " + ne.join(": ..., ") + ": ...}" : "{key: someKey}";
586
586
  if (!tr[ve + $e]) {
587
- var Fr = te.length > 0 ? "{" + te.join(": ..., ") + ": ...}" : "{}";
587
+ var Fr = ne.length > 0 ? "{" + ne.join(": ..., ") + ": ...}" : "{}";
588
588
  g(`A props object containing a "key" prop is being spread into JSX:
589
589
  let props = %s;
590
590
  <%s {...props} />
@@ -1056,7 +1056,7 @@ const mr = ["en", "hi"], lr = {
1056
1056
  function qr() {
1057
1057
  return We(pr);
1058
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", fe = {
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", pe = {
1060
1060
  container: Vr,
1061
1061
  main: zr,
1062
1062
  kundliHeaderNoBorder: Jr,
@@ -1068,13 +1068,13 @@ const Vr = "_container_1e1th_1", zr = "_main_1e1th_7", Jr = "_kundliHeaderNoBord
1068
1068
  langMenu: tt,
1069
1069
  langOption: at
1070
1070
  }, Le = (t) => {
1071
- const { priority: o, fetchPriority: c, width: m, height: k, ...S } = t;
1071
+ const { priority: o, fetchPriority: c, width: m, height: k, ...R } = t;
1072
1072
  return Ge.createElement("img", {
1073
- ...S,
1073
+ ...R,
1074
1074
  width: m ?? 1,
1075
1075
  height: k ?? 1,
1076
1076
  decoding: "async",
1077
- loading: S.loading ?? (o ? "eager" : "lazy"),
1077
+ loading: R.loading ?? (o ? "eager" : "lazy"),
1078
1078
  ...c && { fetchPriority: c }
1079
1079
  });
1080
1080
  };
@@ -1137,74 +1137,76 @@ const Ke = ur(null), st = {
1137
1137
  showSheet: c,
1138
1138
  userId: m,
1139
1139
  isGlobal: k,
1140
- variant: S,
1140
+ variant: R,
1141
1141
  atlasSearchLocalities: w,
1142
1142
  logoUrl: N,
1143
1143
  reportImageUrl: P,
1144
- reportImagePriority: L,
1144
+ reportImagePriority: I,
1145
1145
  backgroundImagePriority: d,
1146
1146
  universityLogoUrls: T,
1147
1147
  sampleReportHref: p,
1148
- onViewSampleReport: E,
1148
+ onViewSampleReport: S,
1149
1149
  ctaHref: h,
1150
- onCtaClick: I,
1150
+ onCtaClick: E,
1151
1151
  onBack: C,
1152
1152
  readMoreReviewsHref: b,
1153
1153
  onProceed: g,
1154
1154
  proceedHref: $,
1155
1155
  originalPriceLabel: v,
1156
- discountedPriceLabel: F,
1157
- discountPillLabel: H,
1158
- analytics: J,
1159
- onProceedGuidance: Q,
1156
+ discountedPriceLabel: B,
1157
+ discountPillLabel: Y,
1158
+ analytics: Q,
1159
+ onProceedGuidance: X,
1160
1160
  onLocaleChange: G,
1161
- imageComponent: V = Le,
1162
- utmBannerImageUrls: ne,
1163
- children: oe
1161
+ imageComponent: z = Le,
1162
+ utmBannerImageUrls: ie,
1163
+ resolvedUtmBannerImageUrl: oe,
1164
+ children: D
1164
1165
  }) => {
1165
- const [B, O] = K("landing"), [R, X] = K(t ?? "en"), [pe, he] = K(st), ue = Y(!0);
1166
- q(() => {
1167
- const le = it();
1168
- le && X(le);
1169
- }, []), q(() => {
1170
- lt(R);
1171
- }, [R]), q(() => {
1172
- if (ue.current) {
1173
- ue.current = !1;
1166
+ const [F, O] = H("landing"), [W, he] = H(t ?? "en"), [me, fe] = H(st), re = q(!0);
1167
+ V(() => {
1168
+ const Z = it();
1169
+ Z && he(Z);
1170
+ }, []), V(() => {
1171
+ lt(W);
1172
+ }, [W]), V(() => {
1173
+ if (re.current) {
1174
+ re.current = !1;
1174
1175
  return;
1175
1176
  }
1176
- G?.(R);
1177
- }, [R, G]);
1178
- const W = Ue(
1177
+ G?.(W);
1178
+ }, [W, G]);
1179
+ const K = Ue(
1179
1180
  () => ({
1180
1181
  locale: t,
1181
1182
  showLanguageSelector: o,
1182
1183
  showSheet: c,
1183
1184
  userId: m,
1184
1185
  isGlobal: k,
1185
- variant: S,
1186
+ variant: R,
1186
1187
  atlasSearchLocalities: w,
1187
1188
  logoUrl: N,
1188
1189
  reportImageUrl: P,
1189
- reportImagePriority: L,
1190
+ reportImagePriority: I,
1190
1191
  backgroundImagePriority: d,
1191
1192
  universityLogoUrls: T,
1192
1193
  sampleReportHref: p,
1193
- onViewSampleReport: E,
1194
+ onViewSampleReport: S,
1194
1195
  ctaHref: h,
1195
- onCtaClick: I,
1196
+ onCtaClick: E,
1196
1197
  onBack: C,
1197
1198
  readMoreReviewsHref: b,
1198
1199
  onProceed: g,
1199
1200
  proceedHref: $,
1200
1201
  originalPriceLabel: v,
1201
- discountedPriceLabel: F,
1202
- discountPillLabel: H,
1203
- analytics: J,
1204
- onProceedGuidance: Q,
1202
+ discountedPriceLabel: B,
1203
+ discountPillLabel: Y,
1204
+ analytics: Q,
1205
+ onProceedGuidance: X,
1205
1206
  onLocaleChange: G,
1206
- imageComponent: V,
1207
- utmBannerImageUrls: ne
1207
+ imageComponent: z,
1208
+ utmBannerImageUrls: ie,
1209
+ resolvedUtmBannerImageUrl: oe
1208
1210
  }),
1209
1211
  [
1210
1212
  t,
@@ -1212,50 +1214,51 @@ const Ke = ur(null), st = {
1212
1214
  c,
1213
1215
  m,
1214
1216
  k,
1215
- S,
1217
+ R,
1216
1218
  w,
1217
1219
  N,
1218
1220
  P,
1219
- L,
1221
+ I,
1220
1222
  d,
1221
1223
  T,
1222
1224
  p,
1223
- E,
1225
+ S,
1224
1226
  h,
1225
- I,
1227
+ E,
1226
1228
  C,
1227
1229
  b,
1228
1230
  g,
1229
1231
  $,
1230
1232
  v,
1231
- F,
1232
- H,
1233
- J,
1233
+ B,
1234
+ Y,
1234
1235
  Q,
1236
+ X,
1235
1237
  G,
1236
- V,
1237
- ne
1238
+ z,
1239
+ ie,
1240
+ oe
1238
1241
  ]
1239
- ), ee = Ne(() => {
1242
+ ), le = Ne(() => {
1240
1243
  O("form");
1241
- }, [W.analytics]), ie = Ne(() => {
1242
- O("landing"), W.onBack?.();
1243
- }, [W.onBack]), ae = Ue(
1244
+ }, [K.analytics]), te = Ne(() => {
1245
+ O("landing"), K.onBack?.();
1246
+ }, [K.onBack]), de = Ue(
1244
1247
  () => ({
1245
- view: B,
1246
- locale: R,
1247
- setLocale: X,
1248
- config: W,
1249
- formValues: pe,
1250
- setFormValues: he,
1251
- goToForm: ee,
1252
- goToPage: ie,
1253
- onProceed: W.onProceed,
1254
- onProceedGuidance: W.onProceedGuidance
1248
+ view: F,
1249
+ locale: W,
1250
+ setLocale: he,
1251
+ config: K,
1252
+ formValues: me,
1253
+ setFormValues: fe,
1254
+ goToForm: le,
1255
+ goToPage: te,
1256
+ onProceed: K.onProceed,
1257
+ onProceedGuidance: K.onProceedGuidance
1255
1258
  }),
1256
- [B, R, W, pe, ee, ie]
1259
+ [F, W, K, me, le, te]
1257
1260
  );
1258
- return /* @__PURE__ */ r.jsx(Ke.Provider, { value: ae, children: oe });
1261
+ return /* @__PURE__ */ r.jsx(Ke.Provider, { value: de, children: D });
1259
1262
  };
1260
1263
  function Te() {
1261
1264
  return We(Ke);
@@ -1345,8 +1348,8 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
1345
1348
  restrictCountry: t?.restrictCountry
1346
1349
  };
1347
1350
  }, ma = (t) => {
1348
- const { searchLocalities: o, restrictCountry: c } = t, [m, k] = K([]), [S, w] = K(!1), [N, P] = K(null), L = Y(0);
1349
- q(() => {
1351
+ const { searchLocalities: o, restrictCountry: c } = t, [m, k] = H([]), [R, w] = H(!1), [N, P] = H(null), I = q(0);
1352
+ V(() => {
1350
1353
  P(null);
1351
1354
  }, [o]);
1352
1355
  const d = Ne(
@@ -1355,12 +1358,12 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
1355
1358
  k([]);
1356
1359
  return;
1357
1360
  }
1358
- const E = ++L.current;
1361
+ const S = ++I.current;
1359
1362
  w(!0), P(null);
1360
1363
  try {
1361
- const h = ua({ restrictCountry: c }), I = await o(p, h);
1362
- if (E !== L.current) return;
1363
- const C = (I || []).filter(
1364
+ const h = ua({ restrictCountry: c }), E = await o(p, h);
1365
+ if (S !== I.current) return;
1366
+ const C = (E || []).filter(
1364
1367
  (b) => !!b?.id && !!b?.description && cr(b?.lat) && cr(b?.lng)
1365
1368
  ).map((b) => ({
1366
1369
  id: b.id,
@@ -1371,17 +1374,17 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
1371
1374
  }));
1372
1375
  k(C);
1373
1376
  } catch (h) {
1374
- if (E !== L.current) return;
1377
+ if (S !== I.current) return;
1375
1378
  k([]), P(h?.message || "Failed to fetch locations");
1376
1379
  } finally {
1377
- E === L.current && w(!1);
1380
+ S === I.current && w(!1);
1378
1381
  }
1379
1382
  },
1380
1383
  [c, o]
1381
1384
  ), T = Ne(() => k([]), []);
1382
1385
  return {
1383
1386
  predictions: m,
1384
- isSearching: S,
1387
+ isSearching: R,
1385
1388
  loadError: N,
1386
1389
  searchPlaces: d,
1387
1390
  clearPredictions: T
@@ -1469,15 +1472,15 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1469
1472
  onChange: c,
1470
1473
  phoneIsdCode: m,
1471
1474
  onPhoneIsdCodeChange: k,
1472
- showV1ExtraFields: S = !1,
1475
+ showV1ExtraFields: R = !1,
1473
1476
  analytics: w,
1474
1477
  atlasSearchLocalities: N,
1475
1478
  className: P = ""
1476
1479
  }) => {
1477
- const L = Te(), d = L?.config?.analytics ?? w, T = L?.config.isGlobal ?? !0, p = L?.config?.atlasSearchLocalities, [E, h] = K(!1), [I, C] = K(""), b = Y(null), g = Y(null), $ = Y({}), v = (n) => c({ ...o, ...n }), F = (n, s) => {
1480
+ const I = Te(), d = I?.config?.analytics ?? w, T = I?.config.isGlobal ?? !0, p = I?.config?.atlasSearchLocalities, [S, h] = H(!1), [E, C] = H(""), b = q(null), g = q(null), $ = q({}), v = (n) => c({ ...o, ...n }), B = (n, s) => {
1478
1481
  if (n === "phone") {
1479
- const D = pa(s, m, $.current);
1480
- D.shouldTrack && d?.trackPhoneSectionFilled?.({ phone: D.fullPhone });
1482
+ const L = pa(s, m, $.current);
1483
+ L.shouldTrack && d?.trackPhoneSectionFilled?.({ phone: L.fullPhone });
1481
1484
  return;
1482
1485
  }
1483
1486
  s.trim() && !$.current[n] && ($.current[n] = !0, {
@@ -1487,85 +1490,85 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1487
1490
  birthTime: () => d?.trackTimeFilled?.(),
1488
1491
  birthPlace: () => d?.trackPlaceOfBirthChosen?.()
1489
1492
  }[n]?.());
1490
- }, H = I.trim().toLowerCase(), J = gr.filter((n) => H ? n.country.toLowerCase().includes(H) || n.code.includes(H) : !0), Q = Y(null);
1491
- Y(null);
1492
- const G = Y(null), V = Y(0), ne = Y(null), [oe, B] = K(!1), [O, R] = K({ hour12: 12, minute: "00", meridiem: "AM" }), X = (n) => String(n).padStart(2, "0"), pe = (n) => {
1493
+ }, Y = E.trim().toLowerCase(), Q = gr.filter((n) => Y ? n.country.toLowerCase().includes(Y) || n.code.includes(Y) : !0), X = q(null);
1494
+ q(null);
1495
+ const G = q(null), z = q(0), ie = q(null), [oe, D] = H(!1), [F, O] = H({ hour12: 12, minute: "00", meridiem: "AM" }), W = (n) => String(n).padStart(2, "0"), he = (n) => {
1493
1496
  const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
1494
1497
  if (!s) return n;
1495
- const D = Number(s[1]), re = s[2], Re = D >= 12 ? "PM" : "AM";
1496
- return `${D % 12 === 0 ? 12 : D % 12}:${re} ${Re}`;
1497
- }, he = (n) => {
1498
+ const L = Number(s[1]), ae = s[2], Re = L >= 12 ? "PM" : "AM";
1499
+ return `${L % 12 === 0 ? 12 : L % 12}:${ae} ${Re}`;
1500
+ }, me = (n) => {
1498
1501
  const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
1499
1502
  if (!s) return { hour12: 12, minute: "00", meridiem: "AM" };
1500
- const D = Number(s[1]), re = s[2], Re = D >= 12 ? "PM" : "AM";
1501
- return { hour12: D % 12 === 0 ? 12 : D % 12, minute: re, meridiem: Re };
1502
- }, ue = (n) => {
1503
- const s = Math.min(12, Math.max(1, n.hour12)), D = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
1504
- let re = s % 12;
1505
- return n.meridiem === "PM" && (re += 12), `${X(re)}:${D}`;
1506
- }, W = Y(null), [ee, ie] = K(!1), [ae, le] = K(
1503
+ const L = Number(s[1]), ae = s[2], Re = L >= 12 ? "PM" : "AM";
1504
+ return { hour12: L % 12 === 0 ? 12 : L % 12, minute: ae, meridiem: Re };
1505
+ }, fe = (n) => {
1506
+ const s = Math.min(12, Math.max(1, n.hour12)), L = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
1507
+ let ae = s % 12;
1508
+ return n.meridiem === "PM" && (ae += 12), `${W(ae)}:${L}`;
1509
+ }, re = q(null), [K, le] = H(!1), [te, de] = H(
1507
1510
  null
1508
- ), se = (o.birthPlace ?? "").trim(), ge = T ? void 0 : "in", me = N ?? p, z = Number.isFinite(o.birthPlaceLat) && Number.isFinite(o.birthPlaceLng), be = se.length > 0 && !z && !ee, {
1509
- predictions: ce,
1511
+ ), Z = (o.birthPlace ?? "").trim(), ge = T ? void 0 : "in", ue = N ?? p, J = Number.isFinite(o.birthPlaceLat) && Number.isFinite(o.birthPlaceLng), be = Z.length > 0 && !J && !K, {
1512
+ predictions: se,
1510
1513
  isSearching: we,
1511
1514
  loadError: _e,
1512
1515
  searchPlaces: xe,
1513
1516
  clearPredictions: ye
1514
1517
  } = ma({
1515
- searchLocalities: me,
1518
+ searchLocalities: ue,
1516
1519
  restrictCountry: ge
1517
1520
  });
1518
- q(() => {
1521
+ V(() => {
1519
1522
  const n = (s) => {
1520
- W.current && (W.current.contains(s.target) || ie(!1));
1523
+ re.current && (re.current.contains(s.target) || le(!1));
1521
1524
  };
1522
1525
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1523
- }, []), q(() => {
1526
+ }, []), V(() => {
1524
1527
  const n = (s) => {
1525
1528
  b.current && (b.current.contains(s.target) || (h(!1), C("")));
1526
1529
  };
1527
1530
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1528
- }, []), q(() => {
1529
- if (!E) return;
1531
+ }, []), V(() => {
1532
+ if (!S) return;
1530
1533
  const n = window.setTimeout(() => {
1531
1534
  g.current?.focus();
1532
1535
  }, 0);
1533
1536
  return () => window.clearTimeout(n);
1534
- }, [E]), q(() => {
1535
- if (!ee) return;
1536
- if (se.length < 2) {
1537
+ }, [S]), V(() => {
1538
+ if (!K) return;
1539
+ if (Z.length < 2) {
1537
1540
  ye();
1538
1541
  return;
1539
1542
  }
1540
1543
  const n = window.setTimeout(async () => {
1541
- await xe(se);
1544
+ await xe(Z);
1542
1545
  }, 250);
1543
1546
  return () => window.clearTimeout(n);
1544
- }, [ye, ee, se, xe]);
1547
+ }, [ye, K, Z, xe]);
1545
1548
  const x = (n) => {
1546
1549
  const s = n.current;
1547
1550
  if (!(!s || s.disabled)) {
1548
- if (document.activeElement === s && G.current === s && Date.now() - V.current < 6e4) {
1551
+ if (document.activeElement === s && G.current === s && Date.now() - z.current < 6e4) {
1549
1552
  s.blur();
1550
1553
  return;
1551
1554
  }
1552
1555
  if (typeof s.showPicker == "function") {
1553
- s.showPicker(), G.current = s, V.current = Date.now();
1556
+ s.showPicker(), G.current = s, z.current = Date.now();
1554
1557
  return;
1555
1558
  }
1556
- s.focus(), G.current = s, V.current = Date.now();
1559
+ s.focus(), G.current = s, z.current = Date.now();
1557
1560
  }
1558
1561
  };
1559
- return q(() => {
1562
+ return V(() => {
1560
1563
  const n = (s) => {
1561
- ne.current && (ne.current.contains(s.target) || B(!1));
1564
+ ie.current && (ie.current.contains(s.target) || D(!1));
1562
1565
  };
1563
1566
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1564
- }, []), q(() => {
1565
- const n = (D) => {
1566
- D.target?.closest?.("[data-info-tooltip]") == null && le(null);
1567
- }, s = (D) => {
1568
- D.key === "Escape" && le(null);
1567
+ }, []), V(() => {
1568
+ const n = (L) => {
1569
+ L.target?.closest?.("[data-info-tooltip]") == null && de(null);
1570
+ }, s = (L) => {
1571
+ L.key === "Escape" && de(null);
1569
1572
  };
1570
1573
  return document.addEventListener("mousedown", n), document.addEventListener("keydown", s), () => {
1571
1574
  document.removeEventListener("mousedown", n), document.removeEventListener("keydown", s);
@@ -1591,7 +1594,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1591
1594
  onFocus: () => d?.trackNameSectionClicked?.(),
1592
1595
  onChange: (n) => {
1593
1596
  const s = n.target.value;
1594
- v({ fullName: s }), F("fullName", s);
1597
+ v({ fullName: s }), B("fullName", s);
1595
1598
  },
1596
1599
  placeholder: t("formFullNamePlaceholder"),
1597
1600
  autoComplete: "name"
@@ -1611,7 +1614,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1611
1614
  type: "button",
1612
1615
  className: a.isdSelectTrigger,
1613
1616
  "aria-haspopup": "listbox",
1614
- "aria-expanded": E,
1617
+ "aria-expanded": S,
1615
1618
  onClick: () => {
1616
1619
  h((n) => !n), C("");
1617
1620
  },
@@ -1628,7 +1631,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1628
1631
  onFocus: () => d?.trackPhoneSectionClicked?.(),
1629
1632
  onChange: (n) => {
1630
1633
  const s = n.target.value;
1631
- v({ phone: dr(s) }), F("phone", dr(s));
1634
+ v({ phone: dr(s) }), B("phone", dr(s));
1632
1635
  },
1633
1636
  placeholder: t("formPhonePlaceholder"),
1634
1637
  autoComplete: "tel",
@@ -1640,7 +1643,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1640
1643
  }
1641
1644
  )
1642
1645
  ] }),
1643
- E && /* @__PURE__ */ r.jsxs(
1646
+ S && /* @__PURE__ */ r.jsxs(
1644
1647
  "div",
1645
1648
  {
1646
1649
  className: a.isdDropdown,
@@ -1652,14 +1655,14 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1652
1655
  {
1653
1656
  ref: g,
1654
1657
  type: "text",
1655
- value: I,
1658
+ value: E,
1656
1659
  onChange: (n) => C(n.target.value),
1657
1660
  placeholder: "Search country",
1658
1661
  className: a.isdSearchInput,
1659
1662
  "aria-label": "Search country"
1660
1663
  }
1661
1664
  ) }),
1662
- J.length > 0 ? J.map((n) => /* @__PURE__ */ r.jsxs(
1665
+ Q.length > 0 ? Q.map((n) => /* @__PURE__ */ r.jsxs(
1663
1666
  "button",
1664
1667
  {
1665
1668
  type: "button",
@@ -1681,7 +1684,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1681
1684
  )
1682
1685
  ] }) })
1683
1686
  ] }),
1684
- S && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1687
+ R && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1685
1688
  /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
1686
1689
  t("formGender"),
1687
1690
  /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
@@ -1745,7 +1748,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1745
1748
  onFocus: () => d?.trackEmailSectionClicked?.(),
1746
1749
  onChange: (n) => {
1747
1750
  const s = n.target.value;
1748
- v({ email: s }), F("email", s);
1751
+ v({ email: s }), B("email", s);
1749
1752
  },
1750
1753
  placeholder: t("formEmailPlaceholder"),
1751
1754
  autoComplete: "email",
@@ -1767,9 +1770,9 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1767
1770
  type: "button",
1768
1771
  className: a.infoBtn,
1769
1772
  "aria-label": t("info"),
1770
- "aria-expanded": ae === "dob",
1773
+ "aria-expanded": te === "dob",
1771
1774
  onClick: () => {
1772
- le((n) => n === "dob" ? null : "dob"), d?.trackInfoIconClicked?.({ fieldName: "dob" });
1775
+ de((n) => n === "dob" ? null : "dob"), d?.trackInfoIconClicked?.({ fieldName: "dob" });
1773
1776
  },
1774
1777
  children: /* @__PURE__ */ r.jsx(
1775
1778
  "img",
@@ -1782,7 +1785,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1782
1785
  )
1783
1786
  }
1784
1787
  ),
1785
- ae === "dob" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
1788
+ te === "dob" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
1786
1789
  t("formDobInfo"),
1787
1790
  /* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
1788
1791
  ] })
@@ -1795,20 +1798,20 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1795
1798
  id: "kundli-dob",
1796
1799
  className: a.input,
1797
1800
  type: "date",
1798
- ref: Q,
1801
+ ref: X,
1799
1802
  value: o.dateOfBirth,
1800
1803
  max: (() => {
1801
1804
  const n = /* @__PURE__ */ new Date();
1802
- return `${n.getFullYear()}-${X(n.getMonth() + 1)}-${X(n.getDate())}`;
1805
+ return `${n.getFullYear()}-${W(n.getMonth() + 1)}-${W(n.getDate())}`;
1803
1806
  })(),
1804
1807
  onChange: (n) => {
1805
- const s = n.target.value, D = /* @__PURE__ */ new Date(), re = `${D.getFullYear()}-${X(D.getMonth() + 1)}-${X(D.getDate())}`;
1806
- s && s > re || (v({ dateOfBirth: s }), F("dateOfBirth", s), G.current = null);
1808
+ const s = n.target.value, L = /* @__PURE__ */ new Date(), ae = `${L.getFullYear()}-${W(L.getMonth() + 1)}-${W(L.getDate())}`;
1809
+ s && s > ae || (v({ dateOfBirth: s }), B("dateOfBirth", s), G.current = null);
1807
1810
  },
1808
1811
  onFocus: () => d?.trackDobClicked?.(),
1809
- onClick: () => x(Q),
1812
+ onClick: () => x(X),
1810
1813
  onBlur: () => {
1811
- G.current === Q.current && (G.current = null);
1814
+ G.current === X.current && (G.current = null);
1812
1815
  }
1813
1816
  }
1814
1817
  ),
@@ -1820,7 +1823,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1820
1823
  "aria-label": "Open date picker",
1821
1824
  onMouseDown: (n) => n.preventDefault(),
1822
1825
  onClick: (n) => {
1823
- n.preventDefault(), n.stopPropagation(), x(Q);
1826
+ n.preventDefault(), n.stopPropagation(), x(X);
1824
1827
  },
1825
1828
  children: /* @__PURE__ */ r.jsx(
1826
1829
  "img",
@@ -1848,9 +1851,9 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1848
1851
  type: "button",
1849
1852
  className: a.infoBtn,
1850
1853
  "aria-label": t("info"),
1851
- "aria-expanded": ae === "time",
1854
+ "aria-expanded": te === "time",
1852
1855
  onClick: () => {
1853
- d?.trackInfoIconClicked?.({ fieldName: "time" }), le((n) => n === "time" ? null : "time");
1856
+ d?.trackInfoIconClicked?.({ fieldName: "time" }), de((n) => n === "time" ? null : "time");
1854
1857
  },
1855
1858
  children: /* @__PURE__ */ r.jsx(
1856
1859
  "img",
@@ -1863,30 +1866,30 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1863
1866
  )
1864
1867
  }
1865
1868
  ),
1866
- ae === "time" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
1869
+ te === "time" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
1867
1870
  t("formBirthTimeInfo"),
1868
1871
  /* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
1869
1872
  ] })
1870
1873
  ] })
1871
1874
  ] }),
1872
- /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: ne, children: [
1875
+ /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: ie, children: [
1873
1876
  /* @__PURE__ */ r.jsx(
1874
1877
  "input",
1875
1878
  {
1876
1879
  id: "kundli-birth-time",
1877
1880
  className: a.input,
1878
1881
  type: "text",
1879
- value: o.birthTime ? pe(o.birthTime) : "",
1882
+ value: o.birthTime ? he(o.birthTime) : "",
1880
1883
  readOnly: !0,
1881
1884
  onFocus: () => d?.trackTimeClicked?.(),
1882
1885
  onChange: (n) => {
1883
1886
  const s = n.target.value;
1884
- v({ birthTime: s }), F("birthTime", s);
1887
+ v({ birthTime: s }), B("birthTime", s);
1885
1888
  },
1886
1889
  disabled: o.birthTimeUnknown,
1887
1890
  placeholder: "HH:MM AM",
1888
1891
  onClick: () => {
1889
- o.birthTimeUnknown || (R(he(o.birthTime || "12:00")), B((n) => !n));
1892
+ o.birthTimeUnknown || (O(me(o.birthTime || "12:00")), D((n) => !n));
1890
1893
  }
1891
1894
  }
1892
1895
  ),
@@ -1899,7 +1902,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1899
1902
  disabled: o.birthTimeUnknown,
1900
1903
  onMouseDown: (n) => n.preventDefault(),
1901
1904
  onClick: (n) => {
1902
- n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (R(he(o.birthTime || "12:00")), B((s) => !s));
1905
+ n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (O(me(o.birthTime || "12:00")), D((s) => !s));
1903
1906
  },
1904
1907
  children: /* @__PURE__ */ r.jsx(
1905
1908
  "img",
@@ -1924,8 +1927,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1924
1927
  "select",
1925
1928
  {
1926
1929
  className: a.timePickerSelect,
1927
- value: O.hour12,
1928
- onChange: (n) => R((s) => ({
1930
+ value: F.hour12,
1931
+ onChange: (n) => O((s) => ({
1929
1932
  ...s,
1930
1933
  hour12: Number(n.target.value)
1931
1934
  })),
@@ -1938,10 +1941,10 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1938
1941
  "select",
1939
1942
  {
1940
1943
  className: a.timePickerSelect,
1941
- value: O.minute,
1942
- onChange: (n) => R((s) => ({ ...s, minute: n.target.value })),
1944
+ value: F.minute,
1945
+ onChange: (n) => O((s) => ({ ...s, minute: n.target.value })),
1943
1946
  "aria-label": "Minute",
1944
- children: Array.from({ length: 60 }, (n, s) => X(s)).map(
1947
+ children: Array.from({ length: 60 }, (n, s) => W(s)).map(
1945
1948
  (n) => /* @__PURE__ */ r.jsx("option", { value: n, children: n }, n)
1946
1949
  )
1947
1950
  }
@@ -1951,8 +1954,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1951
1954
  "button",
1952
1955
  {
1953
1956
  type: "button",
1954
- className: `${a.meridiemBtn} ${O.meridiem === "AM" ? a.meridiemActive : ""}`,
1955
- onClick: () => R((n) => ({ ...n, meridiem: "AM" })),
1957
+ className: `${a.meridiemBtn} ${F.meridiem === "AM" ? a.meridiemActive : ""}`,
1958
+ onClick: () => O((n) => ({ ...n, meridiem: "AM" })),
1956
1959
  children: "AM"
1957
1960
  }
1958
1961
  ),
@@ -1960,8 +1963,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1960
1963
  "button",
1961
1964
  {
1962
1965
  type: "button",
1963
- className: `${a.meridiemBtn} ${O.meridiem === "PM" ? a.meridiemActive : ""}`,
1964
- onClick: () => R((n) => ({ ...n, meridiem: "PM" })),
1966
+ className: `${a.meridiemBtn} ${F.meridiem === "PM" ? a.meridiemActive : ""}`,
1967
+ onClick: () => O((n) => ({ ...n, meridiem: "PM" })),
1965
1968
  children: "PM"
1966
1969
  }
1967
1970
  )
@@ -1973,7 +1976,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1973
1976
  {
1974
1977
  type: "button",
1975
1978
  className: a.timePopoverBtn,
1976
- onClick: () => B(!1),
1979
+ onClick: () => D(!1),
1977
1980
  children: "Cancel"
1978
1981
  }
1979
1982
  ),
@@ -1983,8 +1986,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1983
1986
  type: "button",
1984
1987
  className: `${a.timePopoverBtn} ${a.timePopoverOk}`,
1985
1988
  onClick: () => {
1986
- const n = ue(O);
1987
- v({ birthTime: n }), F("birthTime", n), B(!1);
1989
+ const n = fe(F);
1990
+ v({ birthTime: n }), B("birthTime", n), D(!1);
1988
1991
  },
1989
1992
  "aria-label": "OK",
1990
1993
  children: /* @__PURE__ */ r.jsx(
@@ -2058,11 +2061,11 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2058
2061
  type: "button",
2059
2062
  className: a.infoBtn,
2060
2063
  "aria-label": t("info"),
2061
- "aria-expanded": ae === "place",
2064
+ "aria-expanded": te === "place",
2062
2065
  onClick: () => {
2063
2066
  d?.trackInfoIconClicked?.({
2064
2067
  fieldName: "birthPlace"
2065
- }), le((n) => n === "place" ? null : "place");
2068
+ }), de((n) => n === "place" ? null : "place");
2066
2069
  },
2067
2070
  children: /* @__PURE__ */ r.jsx(
2068
2071
  "img",
@@ -2075,13 +2078,13 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2075
2078
  )
2076
2079
  }
2077
2080
  ),
2078
- ae === "place" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
2081
+ te === "place" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
2079
2082
  t("formBirthPlaceInfo"),
2080
2083
  /* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
2081
2084
  ] })
2082
2085
  ] })
2083
2086
  ] }),
2084
- /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: W, children: [
2087
+ /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: re, children: [
2085
2088
  /* @__PURE__ */ r.jsx(
2086
2089
  "input",
2087
2090
  {
@@ -2095,10 +2098,10 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2095
2098
  birthPlace: s,
2096
2099
  birthPlaceLat: void 0,
2097
2100
  birthPlaceLng: void 0
2098
- }), F("birthPlace", s), ie(!0);
2101
+ }), B("birthPlace", s), le(!0);
2099
2102
  },
2100
2103
  onFocus: () => {
2101
- d?.trackPlaceOfBirthClicked?.(), ie(!0);
2104
+ d?.trackPlaceOfBirthClicked?.(), le(!0);
2102
2105
  },
2103
2106
  placeholder: t("formBirthPlacePlaceholder"),
2104
2107
  autoComplete: "address-level2"
@@ -2113,7 +2116,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2113
2116
  "aria-hidden": !0
2114
2117
  }
2115
2118
  ) }),
2116
- ee && ce.length > 0 && /* @__PURE__ */ r.jsx("div", { className: a.suggestions, role: "listbox", children: ce.slice(0, 8).map((n) => /* @__PURE__ */ r.jsxs(
2119
+ K && se.length > 0 && /* @__PURE__ */ r.jsx("div", { className: a.suggestions, role: "listbox", children: se.slice(0, 8).map((n) => /* @__PURE__ */ r.jsxs(
2117
2120
  "button",
2118
2121
  {
2119
2122
  type: "button",
@@ -2123,7 +2126,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2123
2126
  birthPlace: n.description,
2124
2127
  birthPlaceLat: n.lat,
2125
2128
  birthPlaceLng: n.lng
2126
- }), ye(), ie(!1);
2129
+ }), ye(), le(!1);
2127
2130
  },
2128
2131
  children: [
2129
2132
  /* @__PURE__ */ r.jsx("span", { className: a.suggestionMain, children: n.description }),
@@ -2132,12 +2135,12 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2132
2135
  },
2133
2136
  n.id
2134
2137
  )) }),
2135
- ee && !!me && we && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: "Loading…" }),
2136
- ee && !!me && !we && !!_e && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: _e })
2138
+ K && !!ue && we && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: "Loading…" }),
2139
+ K && !!ue && !we && !!_e && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: _e })
2137
2140
  ] }),
2138
2141
  be && /* @__PURE__ */ r.jsx("p", { className: a.fieldError, children: "Please select a place from the dropdown list." })
2139
2142
  ] }),
2140
- S && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
2143
+ R && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
2141
2144
  /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
2142
2145
  t("formReportLanguage"),
2143
2146
  /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
@@ -2339,55 +2342,55 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2339
2342
  phoneIsdCode: c,
2340
2343
  requireV1ExtraFields: m = !1,
2341
2344
  onValidationFailed: k,
2342
- onProceed: S,
2345
+ onProceed: R,
2343
2346
  onProceedGuidance: w,
2344
2347
  href: N,
2345
2348
  analytics: P,
2346
- className: L = "",
2349
+ className: I = "",
2347
2350
  discountedPriceLabel: d,
2348
2351
  discountPillLabel: T,
2349
2352
  showPlanSheet: p,
2350
- confirmPlan: E,
2353
+ confirmPlan: S,
2351
2354
  planSheetOpen: h,
2352
- selectedPlan: I
2355
+ selectedPlan: E
2353
2356
  }) => {
2354
- const C = Te(), b = C?.config.isGlobal ?? !0, g = C?.config?.variant, [$, v] = K(!1), F = Ue(
2357
+ const C = Te(), b = C?.config.isGlobal ?? !0, g = C?.config?.variant, [$, v] = H(!1), B = Ue(
2355
2358
  () => ja(o, b, m),
2356
2359
  [o, b, m]
2357
- ), H = F === null, J = g === "v1" && C?.config?.showSheet;
2358
- q(() => {
2360
+ ), Y = B === null, Q = g === "v1" && C?.config?.showSheet;
2361
+ V(() => {
2359
2362
  if (!$) return;
2360
2363
  const oe = window.setTimeout(() => {
2361
2364
  v(!1);
2362
2365
  }, 2200);
2363
2366
  return () => window.clearTimeout(oe);
2364
2367
  }, [$]);
2365
- const Q = b ? d ?? t("formDiscountedPrice") : J ? "" : "₹499", G = C?.config.imageComponent ?? Le, V = (oe) => {
2366
- if (oe.preventDefault(), g === "v1" && !H && P?.trackKundliDetailedClicked?.(), !H) {
2367
- F && (k?.(
2368
- F === "birthPlaceCoordinates" ? "birthPlace" : F
2369
- ), F === "birthPlaceCoordinates" && v(!0));
2368
+ const X = b ? d ?? t("formDiscountedPrice") : Q ? "" : "₹499", G = C?.config.imageComponent ?? Le, z = (oe) => {
2369
+ if (oe.preventDefault(), g === "v1" && !Y && P?.trackKundliDetailedClicked?.(), !Y) {
2370
+ B && (k?.(
2371
+ B === "birthPlaceCoordinates" ? "birthPlace" : B
2372
+ ), B === "birthPlaceCoordinates" && v(!0));
2370
2373
  return;
2371
2374
  }
2372
- const B = !!w && g === "v1" && I?.id === br, O = (o.phone ?? "").trim(), R = {
2375
+ const D = !!w && g === "v1" && E?.id === br, F = (o.phone ?? "").trim(), O = {
2373
2376
  ...o,
2374
- phone: O && `${c}-${O}`
2377
+ phone: F && `${c}-${F}`
2375
2378
  };
2376
- if (J) {
2377
- h ? E?.() : p?.(R);
2379
+ if (Q) {
2380
+ h ? S?.() : p?.(O);
2378
2381
  return;
2379
2382
  }
2380
- P?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), B ? w(R) : S?.(R);
2381
- }, ne = /* @__PURE__ */ r.jsx(
2383
+ P?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), D ? w(O) : R?.(O);
2384
+ }, ie = /* @__PURE__ */ r.jsx(
2382
2385
  $r,
2383
2386
  {
2384
2387
  href: N,
2385
- disabled: g === "v1" ? !1 : !H,
2386
- onClick: V,
2388
+ disabled: g === "v1" ? !1 : !Y,
2389
+ onClick: z,
2387
2390
  "aria-label": t("formPriceAria"),
2388
- className: g === "v1" && H ? je.ctaFilled : g === "v1" ? je.ctaButton : void 0,
2389
- children: g === "v1" ? H ? /* @__PURE__ */ r.jsxs("span", { className: je.ctaFilledContent, children: [
2390
- J ? t("selectPackage") : h && I ? `${t("proceedWithPlan")}${I.price}` : `${t("formProceed")} ${Q}`,
2391
+ className: g === "v1" && Y ? je.ctaFilled : g === "v1" ? je.ctaButton : void 0,
2392
+ children: g === "v1" ? Y ? /* @__PURE__ */ r.jsxs("span", { className: je.ctaFilledContent, children: [
2393
+ Q ? t("selectPackage") : h && E ? `${t("proceedWithPlan")}${E.price}` : `${t("formProceed")} ${X}`,
2391
2394
  /* @__PURE__ */ r.jsx(
2392
2395
  G,
2393
2396
  {
@@ -2402,18 +2405,18 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2402
2405
  ] }) : t("formCtaDefault") : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
2403
2406
  t("formProceed"),
2404
2407
  " ",
2405
- Q
2408
+ X
2406
2409
  ] })
2407
2410
  }
2408
2411
  );
2409
2412
  return /* @__PURE__ */ r.jsxs(
2410
2413
  Ur,
2411
2414
  {
2412
- className: `${je.footerContainer} ${L}`,
2415
+ className: `${je.footerContainer} ${I}`,
2413
2416
  marquee: /* @__PURE__ */ r.jsx(Gr, { children: /* @__PURE__ */ r.jsx(Pa, { t }) }),
2414
2417
  children: [
2415
2418
  $ && /* @__PURE__ */ r.jsx("div", { className: je.validationToast, role: "alert", "aria-live": "assertive", children: t("formFillAllFields") }),
2416
- ne
2419
+ ie
2417
2420
  ]
2418
2421
  }
2419
2422
  );
@@ -2423,7 +2426,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2423
2426
  logoUrl: c = Ta,
2424
2427
  className: m = ""
2425
2428
  }) => {
2426
- const k = Te(), S = k?.config.isGlobal ?? !0, w = o != null && !S;
2429
+ const k = Te(), R = k?.config.isGlobal ?? !0, w = o != null && !R;
2427
2430
  return /* @__PURE__ */ r.jsx(
2428
2431
  Wr,
2429
2432
  {
@@ -2536,7 +2539,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2536
2539
  /* @__PURE__ */ r.jsx(La, {}),
2537
2540
  /* @__PURE__ */ r.jsx("span", { children: t })
2538
2541
  ] }), jn = ({ plan: t, isSelected: o, onSelect: c, t: m }) => {
2539
- const k = () => c(t.id), S = (w) => {
2542
+ const k = () => c(t.id), R = (w) => {
2540
2543
  (w.key === " " || w.key === "Enter") && (w.preventDefault(), c(t.id));
2541
2544
  };
2542
2545
  return /* @__PURE__ */ r.jsxs(
@@ -2551,7 +2554,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2551
2554
  role: "radio",
2552
2555
  "aria-checked": o,
2553
2556
  tabIndex: 0,
2554
- onKeyDown: S,
2557
+ onKeyDown: R,
2555
2558
  "data-plan-id": t.id,
2556
2559
  children: [
2557
2560
  t.badge && /* @__PURE__ */ r.jsx(Cn, { label: m?.(t.badge) ?? t.badge }),
@@ -2646,12 +2649,12 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2646
2649
  selectedPlan: c,
2647
2650
  onSelectPlan: m,
2648
2651
  plans: k,
2649
- onProceed: S,
2652
+ onProceed: R,
2650
2653
  t: w,
2651
2654
  analytics: N
2652
2655
  }) => {
2653
- const L = Te()?.config.isGlobal ?? !0, d = k ?? Tn(L), T = c?.id || d.find((C) => C.badge)?.id || d[0]?.id || "", p = Y(null), E = Y(null), h = Y(!1);
2654
- q(() => {
2656
+ const I = Te()?.config.isGlobal ?? !0, d = k ?? Tn(I), T = c?.id || d.find((C) => C.badge)?.id || d[0]?.id || "", p = q(null), S = q(null), h = q(!1);
2657
+ V(() => {
2655
2658
  if (t) {
2656
2659
  if (!c) {
2657
2660
  const C = d.find((b) => b.badge) ?? d[0];
@@ -2661,10 +2664,10 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2661
2664
  } else
2662
2665
  h.current = !1;
2663
2666
  }, [t, d, c, m, N]);
2664
- const I = () => {
2667
+ const E = () => {
2665
2668
  N?.trackPlanPageClosed?.(), o();
2666
2669
  };
2667
- return q(() => {
2670
+ return V(() => {
2668
2671
  if (!t) return;
2669
2672
  const C = document.body.style.overflow;
2670
2673
  return document.body.style.overflow = "hidden", () => {
@@ -2687,13 +2690,13 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2687
2690
  xn,
2688
2691
  {
2689
2692
  title: w?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2690
- onBack: I
2693
+ onBack: E
2691
2694
  }
2692
2695
  ),
2693
2696
  /* @__PURE__ */ r.jsx(
2694
2697
  "div",
2695
2698
  {
2696
- ref: E,
2699
+ ref: S,
2697
2700
  className: f.plansContainer,
2698
2701
  role: "radiogroup",
2699
2702
  "aria-label": "Kundli plans",
@@ -2724,7 +2727,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2724
2727
  c && (N?.trackPlanProceedClicked?.({
2725
2728
  planId: c.id,
2726
2729
  planName: c.title
2727
- }), S(c), o());
2730
+ }), R(c), o());
2728
2731
  },
2729
2732
  children: c ? w?.("planProceedToPayment") ?? c.price + "Proceed to Payment" : "Select a plan"
2730
2733
  }
@@ -2752,91 +2755,91 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2752
2755
  showLanguageSelector: c = !0,
2753
2756
  onBack: m,
2754
2757
  initialValues: k,
2755
- onProceed: S,
2758
+ onProceed: R,
2756
2759
  onProceedGuidance: w,
2757
2760
  proceedHref: N,
2758
2761
  originalPriceLabel: P,
2759
- discountedPriceLabel: L,
2762
+ discountedPriceLabel: I,
2760
2763
  atlasSearchLocalities: d,
2761
2764
  analytics: T
2762
2765
  }) => {
2763
- const p = Te(), E = qr(), h = p !== null, I = h ? p.locale : o, C = I ?? E?.locale ?? "en", [b, g] = K(C), $ = h ? p.locale : b, v = h ? p.setLocale : g, [F, H] = K(!1), J = Y(null), Q = Y(I), G = Y(
2764
- E?.locale
2766
+ const p = Te(), S = qr(), h = p !== null, E = h ? p.locale : o, C = E ?? S?.locale ?? "en", [b, g] = H(C), $ = h ? p.locale : b, v = h ? p.setLocale : g, [B, Y] = H(!1), Q = q(null), X = q(E), G = q(
2767
+ S?.locale
2765
2768
  );
2766
- q(() => {
2769
+ V(() => {
2767
2770
  window.scrollTo({ top: 0, left: 0, behavior: "auto" });
2768
2771
  }, []);
2769
- const V = (x) => En($, x);
2770
- q(() => {
2771
- I && Q.current !== I && v(I), Q.current = I;
2772
- }, [I, v]), q(() => {
2773
- if (I) return;
2774
- const x = E?.locale;
2772
+ const z = (x) => En($, x);
2773
+ V(() => {
2774
+ E && X.current !== E && v(E), X.current = E;
2775
+ }, [E, v]), V(() => {
2776
+ if (E) return;
2777
+ const x = S?.locale;
2775
2778
  x && G.current !== x && v(x), G.current = x;
2776
- }, [E?.locale, I, v]);
2777
- const [ne, oe] = K({
2779
+ }, [S?.locale, E, v]);
2780
+ const [ie, oe] = H({
2778
2781
  ...In,
2779
2782
  ...k,
2780
2783
  phone: k?.phone ?? ""
2781
- }), B = h ? p?.config.isGlobal ?? !0 : !0, [O, R] = K(
2782
- B ? "+1" : "+91"
2784
+ }), D = h ? p?.config.isGlobal ?? !0 : !0, [F, O] = H(
2785
+ D ? "+1" : "+91"
2783
2786
  );
2784
- q(() => {
2785
- R(B ? "+1" : "+91");
2786
- }, [B]);
2787
- const X = h ? p.formValues : ne, pe = h ? p.setFormValues : oe, he = h ? p.goToPage : m, ue = h ? p.onProceed : S, W = h ? p.onProceedGuidance : w, ee = h ? p.config.proceedHref : N, ie = h ? p.config.originalPriceLabel : P, ae = h ? p.config.discountedPriceLabel : L, le = h ? p.config.showLanguageSelector ?? !0 : c, se = (h ? p?.config?.analytics : T) ?? T;
2788
- q(() => {
2789
- if (!F) return;
2787
+ V(() => {
2788
+ O(D ? "+1" : "+91");
2789
+ }, [D]);
2790
+ const W = h ? p.formValues : ie, he = h ? p.setFormValues : oe, me = h ? p.goToPage : m, fe = h ? p.onProceed : R, re = h ? p.onProceedGuidance : w, K = h ? p.config.proceedHref : N, le = h ? p.config.originalPriceLabel : P, te = h ? p.config.discountedPriceLabel : I, de = h ? p.config.showLanguageSelector ?? !0 : c, Z = (h ? p?.config?.analytics : T) ?? T;
2791
+ V(() => {
2792
+ if (!B) return;
2790
2793
  const x = (n) => {
2791
- J.current && !J.current.contains(n.target) && H(!1);
2794
+ Q.current && !Q.current.contains(n.target) && Y(!1);
2792
2795
  };
2793
2796
  return document.addEventListener("mousedown", x), () => document.removeEventListener("mousedown", x);
2794
- }, [F]);
2795
- const [ge, me] = K(!1), [z, be] = K(null), ce = Y(null), we = Ne((x) => {
2796
- ce.current = x, me(!0);
2797
+ }, [B]);
2798
+ const [ge, ue] = H(!1), [J, be] = H(null), se = q(null), we = Ne((x) => {
2799
+ se.current = x, ue(!0);
2797
2800
  }, []), _e = Ne(() => {
2798
- if (!ce.current || !z) return;
2799
- se?.trackPlanProceedClicked?.({
2800
- planId: z.id,
2801
- planName: z.title,
2802
- price: z.price,
2803
- currency: B ? "USD" : "INR"
2801
+ if (!se.current || !J) return;
2802
+ Z?.trackPlanProceedClicked?.({
2803
+ planId: J.id,
2804
+ planName: J.title,
2805
+ price: J.price,
2806
+ currency: D ? "USD" : "INR"
2804
2807
  });
2805
- const x = { ...ce.current, _selectedPlan: z };
2806
- z.id === br && W ? W(x) : ue?.(x), me(!1), ce.current = null;
2807
- }, [z, ue, W]), xe = p?.config.imageComponent ?? Le, ye = le ? /* @__PURE__ */ r.jsxs("div", { className: fe.langDropdownWrap, ref: J, children: [
2808
+ const x = { ...se.current, _selectedPlan: J };
2809
+ J.id === br && re ? re(x) : fe?.(x), ue(!1), se.current = null;
2810
+ }, [J, fe, re]), xe = p?.config.imageComponent ?? Le, ye = de ? /* @__PURE__ */ r.jsxs("div", { className: pe.langDropdownWrap, ref: Q, children: [
2808
2811
  /* @__PURE__ */ r.jsxs(
2809
2812
  "button",
2810
2813
  {
2811
2814
  type: "button",
2812
- className: fe.langTrigger,
2815
+ className: pe.langTrigger,
2813
2816
  onClick: () => {
2814
- se?.trackLanguageClickedFe?.({ language: $ }), H((x) => !x);
2817
+ Z?.trackLanguageClickedFe?.({ language: $ }), Y((x) => !x);
2815
2818
  },
2816
- "aria-expanded": F,
2819
+ "aria-expanded": B,
2817
2820
  "aria-haspopup": "listbox",
2818
2821
  id: "kundli-form-lang",
2819
- "aria-label": V("language"),
2822
+ "aria-label": z("language"),
2820
2823
  children: [
2821
2824
  /* @__PURE__ */ r.jsx(
2822
2825
  xe,
2823
2826
  {
2824
2827
  src: Sn,
2825
2828
  alt: "",
2826
- className: fe.langIcon,
2829
+ className: pe.langIcon,
2827
2830
  width: 16,
2828
2831
  height: 16,
2829
2832
  loading: "eager"
2830
2833
  }
2831
2834
  ),
2832
- /* @__PURE__ */ r.jsx("span", { className: fe.langLabel, children: lr[$] })
2835
+ /* @__PURE__ */ r.jsx("span", { className: pe.langLabel, children: lr[$] })
2833
2836
  ]
2834
2837
  }
2835
2838
  ),
2836
- F && /* @__PURE__ */ r.jsx(
2839
+ B && /* @__PURE__ */ r.jsx(
2837
2840
  "ul",
2838
2841
  {
2839
- className: fe.langMenu,
2842
+ className: pe.langMenu,
2840
2843
  role: "listbox",
2841
2844
  "aria-labelledby": "kundli-form-lang",
2842
2845
  "aria-activedescendant": `kundli-form-lang-option-${$}`,
@@ -2846,9 +2849,9 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2846
2849
  id: `kundli-form-lang-option-${x}`,
2847
2850
  role: "option",
2848
2851
  "aria-selected": x === $,
2849
- className: fe.langOption,
2852
+ className: pe.langOption,
2850
2853
  onClick: () => {
2851
- se?.trackLanguageChangedFe?.({ newLanguage: x }), v(x), H(!1);
2854
+ Z?.trackLanguageChangedFe?.({ newLanguage: x }), v(x), Y(!1);
2852
2855
  },
2853
2856
  children: lr[x]
2854
2857
  },
@@ -2857,61 +2860,61 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2857
2860
  }
2858
2861
  )
2859
2862
  ] }) : null;
2860
- return /* @__PURE__ */ r.jsxs("div", { className: `${fe.container} ${t}`, children: [
2863
+ return /* @__PURE__ */ r.jsxs("div", { className: `${pe.container} ${t}`, children: [
2861
2864
  /* @__PURE__ */ r.jsx(
2862
2865
  Ra,
2863
2866
  {
2864
- t: V,
2867
+ t: z,
2865
2868
  logoUrl: h ? p.config.logoUrl : void 0,
2866
2869
  languageSelector: ye,
2867
- className: fe.kundliHeaderNoBorder
2870
+ className: pe.kundliHeaderNoBorder
2868
2871
  }
2869
2872
  ),
2870
- /* @__PURE__ */ r.jsx("div", { className: fe.headerSeparator, "aria-hidden": !0 }),
2871
- /* @__PURE__ */ r.jsxs("main", { className: fe.main, children: [
2872
- /* @__PURE__ */ r.jsx(ut, { t: V, onBack: he }),
2873
+ /* @__PURE__ */ r.jsx("div", { className: pe.headerSeparator, "aria-hidden": !0 }),
2874
+ /* @__PURE__ */ r.jsxs("main", { className: pe.main, children: [
2875
+ /* @__PURE__ */ r.jsx(ut, { t: z, onBack: me }),
2873
2876
  /* @__PURE__ */ r.jsx(
2874
2877
  ha,
2875
2878
  {
2876
- t: V,
2877
- values: X,
2878
- onChange: pe,
2879
+ t: z,
2880
+ values: W,
2881
+ onChange: he,
2879
2882
  atlasSearchLocalities: d,
2880
- phoneIsdCode: O,
2881
- onPhoneIsdCodeChange: R
2883
+ phoneIsdCode: F,
2884
+ onPhoneIsdCodeChange: O
2882
2885
  }
2883
2886
  )
2884
2887
  ] }),
2885
2888
  /* @__PURE__ */ r.jsx(
2886
2889
  Na,
2887
2890
  {
2888
- t: V,
2889
- values: X,
2890
- phoneIsdCode: O,
2891
- onProceed: ue,
2892
- onProceedGuidance: W,
2893
- href: ee,
2894
- originalPriceLabel: ie,
2895
- discountedPriceLabel: ae,
2896
- analytics: se,
2891
+ t: z,
2892
+ values: W,
2893
+ phoneIsdCode: F,
2894
+ onProceed: fe,
2895
+ onProceedGuidance: re,
2896
+ href: K,
2897
+ originalPriceLabel: le,
2898
+ discountedPriceLabel: te,
2899
+ analytics: Z,
2897
2900
  showPlanSheet: we,
2898
2901
  confirmPlan: _e,
2899
2902
  planSheetOpen: ge,
2900
- selectedPlan: z
2903
+ selectedPlan: J
2901
2904
  }
2902
2905
  ),
2903
2906
  p?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
2904
2907
  Rn,
2905
2908
  {
2906
2909
  isOpen: ge,
2907
- onClose: () => me(!1),
2908
- selectedPlan: z,
2910
+ onClose: () => ue(!1),
2911
+ selectedPlan: J,
2909
2912
  onSelectPlan: be,
2910
2913
  onProceed: () => {
2911
2914
  _e?.();
2912
2915
  },
2913
- t: V,
2914
- analytics: se
2916
+ t: z,
2917
+ analytics: Z
2915
2918
  }
2916
2919
  )
2917
2920
  ] });
@@ -2989,4 +2992,4 @@ export {
2989
2992
  fr as t,
2990
2993
  qr as u
2991
2994
  };
2992
- //# sourceMappingURL=analytics-BYwBuNln.js.map
2995
+ //# sourceMappingURL=analytics-BMER7yJn.js.map