@srimandir/kundli-generator 5.30.8 → 5.30.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,29 +5,29 @@ 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, w = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, I = { key: !0, ref: !0, __self: !0, __source: !0 };
9
- function x(R, P, L) {
10
- var d, j = {}, p = null, S = null;
11
- L !== void 0 && (p = "" + L), P.key !== void 0 && (p = "" + P.key), P.ref !== void 0 && (S = P.ref);
12
- for (d in P) m.call(P, d) && !I.hasOwnProperty(d) && (j[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, 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
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: p, ref: S, props: j, _owner: w.current };
14
+ return { $$typeof: o, type: R, key: h, ref: S, props: j, _owner: k.current };
15
15
  }
16
- return Se.Fragment = c, Se.jsx = x, Se.jsxs = x, Se;
16
+ return Se.Fragment = c, Se.jsx = w, Se.jsxs = w, Se;
17
17
  }
18
18
  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"), w = /* @__PURE__ */ Symbol.for("react.strict_mode"), I = /* @__PURE__ */ Symbol.for("react.profiler"), x = /* @__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"), p = /* @__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"), 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";
23
23
  function C(e) {
24
24
  if (e === null || typeof e != "object")
25
25
  return null;
26
26
  var i = g && e[g] || e[E];
27
27
  return typeof i == "function" ? i : null;
28
28
  }
29
- var h = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
30
- function k(e) {
29
+ var p = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
30
+ function v(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,7 +36,7 @@ function Hr() {
36
36
  }
37
37
  function $(e, i, l) {
38
38
  {
39
- var u = h.ReactDebugCurrentFrame, A = u.getStackAddendum();
39
+ var u = p.ReactDebugCurrentFrame, A = u.getStackAddendum();
40
40
  A !== "" && (i += "%s", l = l.concat([A]));
41
41
  var T = l.map(function(y) {
42
42
  return String(y);
@@ -47,7 +47,7 @@ function Hr() {
47
47
  var b = !1, F = !1, q = !1, X = !1, Z = !1, U;
48
48
  U = /* @__PURE__ */ Symbol.for("react.module.reference");
49
49
  function Y(e) {
50
- return !!(typeof e == "string" || typeof e == "function" || e === m || e === I || Z || e === w || e === L || e === d || X || e === S || b || F || q || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === j || e.$$typeof === x || e.$$typeof === R || e.$$typeof === P || // This needs to include all possible module reference object
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
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.
@@ -63,10 +63,10 @@ function Hr() {
63
63
  function ce(e) {
64
64
  return e.displayName || "Context";
65
65
  }
66
- function B(e) {
66
+ function I(e) {
67
67
  if (e == null)
68
68
  return null;
69
- if (typeof e.tag == "number" && k("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" && v("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,9 +75,9 @@ function Hr() {
75
75
  return "Fragment";
76
76
  case c:
77
77
  return "Portal";
78
- case I:
78
+ case B:
79
79
  return "Profiler";
80
- case w:
80
+ case k:
81
81
  return "StrictMode";
82
82
  case L:
83
83
  return "Suspense";
@@ -89,18 +89,18 @@ function Hr() {
89
89
  case R:
90
90
  var i = e;
91
91
  return ce(i) + ".Consumer";
92
- case x:
92
+ case w:
93
93
  var l = e;
94
94
  return ce(l._context) + ".Provider";
95
95
  case P:
96
96
  return oe(e, e.render, "ForwardRef");
97
97
  case j:
98
98
  var u = e.displayName || null;
99
- return u !== null ? u : B(e.type) || "Memo";
100
- case p: {
99
+ return u !== null ? u : I(e.type) || "Memo";
100
+ case h: {
101
101
  var A = e, T = A._payload, y = A._init;
102
102
  try {
103
- return B(y(T));
103
+ return I(y(T));
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, z, he, me, V, ee, re, de;
111
+ var N = Object.assign, W = 0, J, pe, me, V, ee, re, de;
112
112
  function te() {
113
113
  }
114
114
  te.__reactDisabledLog = !0;
115
- function pe() {
115
+ function he() {
116
116
  {
117
117
  if (W === 0) {
118
- z = console.log, he = console.info, me = console.warn, V = console.error, ee = console.group, re = console.groupCollapsed, de = console.groupEnd;
118
+ J = 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,
@@ -145,10 +145,10 @@ function Hr() {
145
145
  };
146
146
  Object.defineProperties(console, {
147
147
  log: N({}, e, {
148
- value: z
148
+ value: J
149
149
  }),
150
150
  info: N({}, e, {
151
- value: he
151
+ value: pe
152
152
  }),
153
153
  warn: N({}, e, {
154
154
  value: me
@@ -167,11 +167,11 @@ function Hr() {
167
167
  })
168
168
  });
169
169
  }
170
- W < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
170
+ W < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
171
171
  }
172
172
  }
173
- var ge = h.ReactCurrentDispatcher, ue;
174
- function J(e, i, l) {
173
+ var ge = p.ReactCurrentDispatcher, ue;
174
+ function z(e, i, l) {
175
175
  {
176
176
  if (ue === void 0)
177
177
  try {
@@ -202,7 +202,7 @@ function Hr() {
202
202
  var A = Error.prepareStackTrace;
203
203
  Error.prepareStackTrace = void 0;
204
204
  var T;
205
- T = ge.current, ge.current = null, pe();
205
+ T = ge.current, ge.current = null, he();
206
206
  try {
207
207
  if (i) {
208
208
  var y = function() {
@@ -257,7 +257,7 @@ function Hr() {
257
257
  } finally {
258
258
  be = !1, ge.current = T, ie(), Error.prepareStackTrace = A;
259
259
  }
260
- var Ae = e ? e.displayName || e.name : "", ve = Ae ? J(Ae) : "";
260
+ var Ae = e ? e.displayName || e.name : "", ve = Ae ? z(Ae) : "";
261
261
  return typeof e == "function" && le.set(e, ve), ve;
262
262
  }
263
263
  function xe(e, i, l) {
@@ -267,39 +267,39 @@ function Hr() {
267
267
  var i = e.prototype;
268
268
  return !!(i && i.isReactComponent);
269
269
  }
270
- function v(e, i, l) {
270
+ function x(e, i, l) {
271
271
  if (e == null)
272
272
  return "";
273
273
  if (typeof e == "function")
274
274
  return _e(e, ye(e));
275
275
  if (typeof e == "string")
276
- return J(e);
276
+ return z(e);
277
277
  switch (e) {
278
278
  case L:
279
- return J("Suspense");
279
+ return z("Suspense");
280
280
  case d:
281
- return J("SuspenseList");
281
+ return z("SuspenseList");
282
282
  }
283
283
  if (typeof e == "object")
284
284
  switch (e.$$typeof) {
285
285
  case P:
286
286
  return xe(e.render);
287
287
  case j:
288
- return v(e.type, i, l);
289
- case p: {
288
+ return x(e.type, i, l);
289
+ case h: {
290
290
  var u = e, A = u._payload, T = u._init;
291
291
  try {
292
- return v(T(A), i, l);
292
+ return x(T(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 = h.ReactDebugCurrentFrame;
299
+ var n = Object.prototype.hasOwnProperty, s = {}, D = p.ReactDebugCurrentFrame;
300
300
  function ae(e) {
301
301
  if (e) {
302
- var i = e._owner, l = v(e.type, e._source, i ? i.type : null);
302
+ var i = e._owner, l = x(e.type, e._source, i ? i.type : null);
303
303
  D.setExtraStackFrame(l);
304
304
  } else
305
305
  D.setExtraStackFrame(null);
@@ -319,7 +319,7 @@ function Hr() {
319
319
  } catch (O) {
320
320
  _ = O;
321
321
  }
322
- _ && !(_ instanceof Error) && (ae(A), k("%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), k("Failed %s type: %s", l, _.message), ae(null));
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));
323
323
  }
324
324
  }
325
325
  }
@@ -345,9 +345,9 @@ function Hr() {
345
345
  }
346
346
  function qe(e) {
347
347
  if (vr(e))
348
- return k("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 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);
349
349
  }
350
- var Ve = h.ReactCurrentOwner, kr = {
350
+ var Ve = p.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, k("%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, v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
379
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, k("%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, v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
390
390
  };
391
391
  l.isReactWarning = !0, Object.defineProperty(e, "ref", {
392
392
  get: l,
@@ -441,10 +441,10 @@ function Hr() {
441
441
  return jr(e, _, Q, A, u, Ve.current, y);
442
442
  }
443
443
  }
444
- var Fe = h.ReactCurrentOwner, Qe = h.ReactDebugCurrentFrame;
444
+ var Fe = p.ReactCurrentOwner, Qe = p.ReactDebugCurrentFrame;
445
445
  function Pe(e) {
446
446
  if (e) {
447
- var i = e._owner, l = v(e.type, e._source, i ? i.type : null);
447
+ var i = e._owner, l = x(e.type, e._source, i ? i.type : null);
448
448
  Qe.setExtraStackFrame(l);
449
449
  } else
450
450
  Qe.setExtraStackFrame(null);
@@ -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 = I(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), k('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 " + 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);
496
496
  }
497
497
  }
498
498
  function rr(e, i) {
@@ -529,14 +529,14 @@ 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 = I(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);
537
- k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", A || "Unknown");
536
+ var A = I(i);
537
+ v("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 && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
539
+ typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
540
540
  }
541
541
  }
542
542
  function Er(e) {
@@ -544,11 +544,11 @@ 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), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), Pe(null);
547
+ Pe(e), v("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), k("Invalid attribute `ref` supplied to `React.Fragment`."), Pe(null));
551
+ e.ref !== null && (Pe(e), v("Invalid attribute `ref` supplied to `React.Fragment`."), Pe(null));
552
552
  }
553
553
  }
554
554
  var tr = {};
@@ -561,7 +561,7 @@ Check the top-level render call using <` + l + ">.");
561
561
  var Q = Tr();
562
562
  Q ? _ += Q : _ += Xe();
563
563
  var O;
564
- e === null ? O = "null" : De(e) ? O = "array" : e !== void 0 && e.$$typeof === o ? (O = "<" + (B(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : O = typeof e, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", 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, _);
565
565
  }
566
566
  var M = Nr(e, i, l, A, T);
567
567
  if (M == null)
@@ -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
- k("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
+ v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
579
579
  else
580
580
  rr(se, e);
581
581
  }
582
582
  if (n.call(i, "key")) {
583
- var ve = B(e), ne = Object.keys(i).filter(function(Or) {
583
+ var ve = I(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
- k(`A props object containing a "key" prop is being spread into JSX:
588
+ v(`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:
@@ -1046,15 +1046,15 @@ const mr = ["en", "hi"], lr = {
1046
1046
  astrologyGuidance: "ज्योतिष से सलाह",
1047
1047
  selectPackage: "पैकेज चुनें"
1048
1048
  }
1049
- }, pr = ur(null), Dn = ({
1049
+ }, hr = ur(null), Dn = ({
1050
1050
  locale: t,
1051
1051
  children: o
1052
1052
  }) => {
1053
- const m = { locale: t, t: (w) => fr[t]?.[w] ?? w };
1054
- return /* @__PURE__ */ r.jsx(pr.Provider, { value: m, children: o });
1053
+ const m = { locale: t, t: (k) => fr[t]?.[k] ?? k };
1054
+ return /* @__PURE__ */ r.jsx(hr.Provider, { value: m, children: o });
1055
1055
  };
1056
1056
  function qr() {
1057
- return We(pr);
1057
+ return We(hr);
1058
1058
  }
1059
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 = {
1060
1060
  container: Vr,
@@ -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
  }, Be = (t) => {
1071
- const { priority: o, fetchPriority: c, width: m, height: w, ...I } = t;
1071
+ const { priority: o, fetchPriority: c, width: m, height: k, ...B } = t;
1072
1072
  return Ge.createElement("img", {
1073
- ...I,
1073
+ ...B,
1074
1074
  width: m ?? 1,
1075
- height: w ?? 1,
1075
+ height: k ?? 1,
1076
1076
  decoding: "async",
1077
- loading: I.loading ?? (o ? "eager" : "lazy"),
1077
+ loading: B.loading ?? (o ? "eager" : "lazy"),
1078
1078
  ...c && { fetchPriority: c }
1079
1079
  });
1080
1080
  };
@@ -1111,13 +1111,13 @@ function On() {
1111
1111
  return !1;
1112
1112
  }
1113
1113
  }
1114
- const hr = "kundli_language";
1114
+ const pr = "kundli_language";
1115
1115
  function it() {
1116
- const t = nt(hr);
1116
+ const t = nt(pr);
1117
1117
  return t && mr.includes(t) ? t : null;
1118
1118
  }
1119
1119
  function lt(t) {
1120
- ot(hr, t);
1120
+ ot(pr, t);
1121
1121
  }
1122
1122
  const Ke = ur(null), st = {
1123
1123
  fullName: "",
@@ -1136,21 +1136,21 @@ const Ke = ur(null), st = {
1136
1136
  showLanguageSelector: o = !0,
1137
1137
  showSheet: c,
1138
1138
  userId: m,
1139
- isGlobal: w,
1140
- variant: I,
1141
- atlasSearchLocalities: x,
1139
+ isGlobal: k,
1140
+ variant: B,
1141
+ atlasSearchLocalities: w,
1142
1142
  logoUrl: R,
1143
1143
  reportImageUrl: P,
1144
1144
  reportImagePriority: L,
1145
1145
  backgroundImagePriority: d,
1146
1146
  universityLogoUrls: j,
1147
- sampleReportHref: p,
1147
+ sampleReportHref: h,
1148
1148
  onViewSampleReport: S,
1149
1149
  ctaHref: g,
1150
1150
  onCtaClick: E,
1151
1151
  onBack: C,
1152
- readMoreReviewsHref: h,
1153
- onProceed: k,
1152
+ readMoreReviewsHref: p,
1153
+ onProceed: v,
1154
1154
  proceedHref: $,
1155
1155
  originalPriceLabel: b,
1156
1156
  discountedPriceLabel: F,
@@ -1161,7 +1161,7 @@ const Ke = ur(null), st = {
1161
1161
  imageComponent: Y = Be,
1162
1162
  children: oe
1163
1163
  }) => {
1164
- const [ce, B] = G("landing"), [N, W] = G(t ?? "en"), [z, he] = G(st), me = K(!0);
1164
+ const [ce, I] = G("landing"), [N, W] = G(t ?? "en"), [J, pe] = G(st), me = K(!0);
1165
1165
  H(() => {
1166
1166
  const te = it();
1167
1167
  te && W(te);
@@ -1180,21 +1180,21 @@ const Ke = ur(null), st = {
1180
1180
  showLanguageSelector: o,
1181
1181
  showSheet: c,
1182
1182
  userId: m,
1183
- isGlobal: w,
1184
- variant: I,
1185
- atlasSearchLocalities: x,
1183
+ isGlobal: k,
1184
+ variant: B,
1185
+ atlasSearchLocalities: w,
1186
1186
  logoUrl: R,
1187
1187
  reportImageUrl: P,
1188
1188
  reportImagePriority: L,
1189
1189
  backgroundImagePriority: d,
1190
1190
  universityLogoUrls: j,
1191
- sampleReportHref: p,
1191
+ sampleReportHref: h,
1192
1192
  onViewSampleReport: S,
1193
1193
  ctaHref: g,
1194
1194
  onCtaClick: E,
1195
1195
  onBack: C,
1196
- readMoreReviewsHref: h,
1197
- onProceed: k,
1196
+ readMoreReviewsHref: p,
1197
+ onProceed: v,
1198
1198
  proceedHref: $,
1199
1199
  originalPriceLabel: b,
1200
1200
  discountedPriceLabel: F,
@@ -1209,21 +1209,21 @@ const Ke = ur(null), st = {
1209
1209
  o,
1210
1210
  c,
1211
1211
  m,
1212
+ k,
1213
+ B,
1212
1214
  w,
1213
- I,
1214
- x,
1215
1215
  R,
1216
1216
  P,
1217
1217
  L,
1218
1218
  d,
1219
1219
  j,
1220
- p,
1220
+ h,
1221
1221
  S,
1222
1222
  g,
1223
1223
  E,
1224
1224
  C,
1225
- h,
1226
- k,
1225
+ p,
1226
+ v,
1227
1227
  $,
1228
1228
  b,
1229
1229
  F,
@@ -1234,23 +1234,23 @@ const Ke = ur(null), st = {
1234
1234
  Y
1235
1235
  ]
1236
1236
  ), ee = Ne(() => {
1237
- B("form");
1237
+ I("form");
1238
1238
  }, [V.analytics]), re = Ne(() => {
1239
- B("landing"), V.onBack?.();
1239
+ I("landing"), V.onBack?.();
1240
1240
  }, [V.onBack]), de = Ue(
1241
1241
  () => ({
1242
1242
  view: ce,
1243
1243
  locale: N,
1244
1244
  setLocale: W,
1245
1245
  config: V,
1246
- formValues: z,
1247
- setFormValues: he,
1246
+ formValues: J,
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, z, ee, re]
1253
+ [ce, N, V, J, ee, re]
1254
1254
  );
1255
1255
  return /* @__PURE__ */ r.jsx(Ke.Provider, { value: de, children: oe });
1256
1256
  };
@@ -1280,11 +1280,11 @@ 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", pt = "_cardInner_119w3_12", ht = "_field_119w3_44", gt = "_labelRow_119w3_48", _t = "_label_119w3_48", bt = "_req_119w3_57", yt = "_help_119w3_61", vt = "_choiceRow_119w3_68", kt = "_choiceBtn_119w3_74", wt = "_choiceBtnActive_119w3_99", xt = "_infoBtn_119w3_105", Pt = "_infoImg_119w3_122", At = "_infoWrap_119w3_128", Ct = "_tooltip_119w3_134", jt = "_tooltipArrow_119w3_150", Nt = "_inputWrap_119w3_161", Tt = "_isdWrap_119w3_165", Rt = "_phoneInputGroup_119w3_169", St = "_isdSelectWrap_119w3_178", Et = "_isdSelectTrigger_119w3_197", It = "_isdDropdown_119w3_214", Bt = "_isdSearchWrap_119w3_229", Lt = "_isdSearchInput_119w3_237", Dt = "_isdOption_119w3_255", Ft = "_isdOptionActive_119w3_275", Ot = "_isdCountryName_119w3_281", Mt = "_isdCountryCode_119w3_288", $t = "_isdNoResult_119w3_295", Ut = "_suggestions_119w3_302", Gt = "_suggestionItem_119w3_315", Wt = "_suggestionMain_119w3_333", Kt = "_suggestionSecondary_119w3_339", Ht = "_suggestionsHint_119w3_344", Yt = "_fieldError_119w3_359", qt = "_timePopover_119w3_366", Vt = "_timePickerRow_119w3_382", zt = "_timePickerSelect_119w3_388", Jt = "_timePickerColon_119w3_404", Qt = "_meridiemToggle_119w3_412", Xt = "_meridiemBtn_119w3_421", Zt = "_meridiemActive_119w3_436", ea = "_timePopoverActions_119w3_441", ra = "_timePopoverBtn_119w3_447", ta = "_timePopoverOk_119w3_466", aa = "_input_119w3_161", na = "_phoneInput_119w3_169", oa = "_iconBtn_119w3_519", ia = "_iconBtnInteractive_119w3_525", la = "_iconImg_119w3_544", sa = "_checkboxRow_119w3_550", ca = "_checkbox_119w3_550", da = "_checkboxText_119w3_588", a = {
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 = {
1284
1284
  wrap: mt,
1285
1285
  card: ft,
1286
- cardInner: pt,
1287
- field: ht,
1286
+ cardInner: ht,
1287
+ field: pt,
1288
1288
  labelRow: gt,
1289
1289
  label: _t,
1290
1290
  req: bt,
@@ -1342,43 +1342,43 @@ 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, w] = G([]), [I, x] = G(!1), [R, P] = G(null), L = K(0);
1345
+ const { searchLocalities: o, restrictCountry: c } = t, [m, k] = G([]), [B, w] = G(!1), [R, P] = G(null), L = K(0);
1346
1346
  H(() => {
1347
1347
  P(null);
1348
1348
  }, [o]);
1349
1349
  const d = Ne(
1350
- async (p) => {
1351
- if (!p || p.length < 2 || !o) {
1352
- w([]);
1350
+ async (h) => {
1351
+ if (!h || h.length < 2 || !o) {
1352
+ k([]);
1353
1353
  return;
1354
1354
  }
1355
1355
  const S = ++L.current;
1356
- x(!0), P(null);
1356
+ w(!0), P(null);
1357
1357
  try {
1358
- const g = ua({ restrictCountry: c }), E = await o(p, g);
1358
+ const g = ua({ restrictCountry: c }), E = await o(h, g);
1359
1359
  if (S !== L.current) return;
1360
1360
  const C = (E || []).filter(
1361
- (h) => !!h?.id && !!h?.description && cr(h?.lat) && cr(h?.lng)
1362
- ).map((h) => ({
1363
- id: h.id,
1364
- description: h.description,
1365
- secondary_text: h.secondaryText,
1366
- lat: h.lat,
1367
- lng: h.lng
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
1368
1368
  }));
1369
- w(C);
1369
+ k(C);
1370
1370
  } catch (g) {
1371
1371
  if (S !== L.current) return;
1372
- w([]), P(g?.message || "Failed to fetch locations");
1372
+ k([]), P(g?.message || "Failed to fetch locations");
1373
1373
  } finally {
1374
- S === L.current && x(!1);
1374
+ S === L.current && w(!1);
1375
1375
  }
1376
1376
  },
1377
1377
  [c, o]
1378
- ), j = Ne(() => w([]), []);
1378
+ ), j = Ne(() => k([]), []);
1379
1379
  return {
1380
1380
  predictions: m,
1381
- isSearching: I,
1381
+ isSearching: B,
1382
1382
  loadError: R,
1383
1383
  searchPlaces: d,
1384
1384
  clearPredictions: j
@@ -1460,20 +1460,20 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
1460
1460
  { code: "+977", country: "Nepal" }
1461
1461
  ];
1462
1462
  gr.map((t) => t.code);
1463
- const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r), fa = (t) => He(t).length === _r, pa = (t, o, c) => fa(t) ? c.phone ? { shouldTrack: !1 } : (c.phone = !0, { shouldTrack: !0, fullPhone: `${o}-${He(t)}` }) : (c.phone = !1, { shouldTrack: !1 }), ha = ({
1463
+ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r), fa = (t) => He(t).length === _r, ha = (t, o, c) => fa(t) ? c.phone ? { shouldTrack: !1 } : (c.phone = !0, { shouldTrack: !0, fullPhone: `${o}-${He(t)}` }) : (c.phone = !1, { shouldTrack: !1 }), pa = ({
1464
1464
  t,
1465
1465
  values: o,
1466
1466
  onChange: c,
1467
1467
  phoneIsdCode: m,
1468
- onPhoneIsdCodeChange: w,
1469
- showV1ExtraFields: I = !1,
1470
- analytics: x,
1468
+ onPhoneIsdCodeChange: k,
1469
+ showV1ExtraFields: B = !1,
1470
+ analytics: w,
1471
1471
  atlasSearchLocalities: R,
1472
1472
  className: P = ""
1473
1473
  }) => {
1474
- const L = Te(), d = L?.config?.analytics ?? x, j = L?.config.isGlobal ?? !0, p = L?.config?.atlasSearchLocalities, [S, g] = G(!1), [E, C] = G(""), h = K(null), k = K(null), $ = K({}), b = (n) => c({ ...o, ...n }), F = (n, s) => {
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) => {
1475
1475
  if (n === "phone") {
1476
- const D = pa(s, m, $.current);
1476
+ const D = ha(s, m, $.current);
1477
1477
  D.shouldTrack && d?.trackPhoneSectionFilled?.({ phone: D.fullPhone });
1478
1478
  return;
1479
1479
  }
@@ -1486,7 +1486,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1486
1486
  }[n]?.());
1487
1487
  }, q = E.trim().toLowerCase(), X = gr.filter((n) => q ? n.country.toLowerCase().includes(q) || n.code.includes(q) : !0), Z = K(null);
1488
1488
  K(null);
1489
- const U = K(null), Y = K(0), oe = K(null), [ce, B] = G(!1), [N, W] = G({ hour12: 12, minute: "00", meridiem: "AM" }), z = (n) => String(n).padStart(2, "0"), he = (n) => {
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) => {
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), `${z(ae)}:${D}`;
1503
- }, ee = K(null), [re, de] = G(!1), [te, pe] = G(
1502
+ return n.meridiem === "PM" && (ae += 12), `${J(ae)}:${D}`;
1503
+ }, ee = K(null), [re, de] = G(!1), [te, he] = G(
1504
1504
  null
1505
- ), ie = (o.birthPlace ?? "").trim(), ge = j ? void 0 : "in", ue = R ?? p, J = Number.isFinite(o.birthPlaceLat) && Number.isFinite(o.birthPlaceLng), be = ie.length > 0 && !J && !re, {
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, {
1506
1506
  predictions: le,
1507
1507
  isSearching: we,
1508
1508
  loadError: _e,
@@ -1519,13 +1519,13 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1519
1519
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1520
1520
  }, []), H(() => {
1521
1521
  const n = (s) => {
1522
- h.current && (h.current.contains(s.target) || (g(!1), C("")));
1522
+ p.current && (p.current.contains(s.target) || (g(!1), C("")));
1523
1523
  };
1524
1524
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1525
1525
  }, []), H(() => {
1526
1526
  if (!S) return;
1527
1527
  const n = window.setTimeout(() => {
1528
- k.current?.focus();
1528
+ v.current?.focus();
1529
1529
  }, 0);
1530
1530
  return () => window.clearTimeout(n);
1531
1531
  }, [S]), H(() => {
@@ -1539,7 +1539,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1539
1539
  }, 250);
1540
1540
  return () => window.clearTimeout(n);
1541
1541
  }, [ye, re, ie, xe]);
1542
- const v = (n) => {
1542
+ const x = (n) => {
1543
1543
  const s = n.current;
1544
1544
  if (!(!s || s.disabled)) {
1545
1545
  if (document.activeElement === s && U.current === s && Date.now() - Y.current < 6e4) {
@@ -1555,14 +1555,14 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1555
1555
  };
1556
1556
  return H(() => {
1557
1557
  const n = (s) => {
1558
- oe.current && (oe.current.contains(s.target) || B(!1));
1558
+ oe.current && (oe.current.contains(s.target) || I(!1));
1559
1559
  };
1560
1560
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1561
1561
  }, []), H(() => {
1562
1562
  const n = (D) => {
1563
- D.target?.closest?.("[data-info-tooltip]") == null && pe(null);
1563
+ D.target?.closest?.("[data-info-tooltip]") == null && he(null);
1564
1564
  }, s = (D) => {
1565
- D.key === "Escape" && pe(null);
1565
+ D.key === "Escape" && he(null);
1566
1566
  };
1567
1567
  return document.addEventListener("mousedown", n), document.addEventListener("keydown", s), () => {
1568
1568
  document.removeEventListener("mousedown", n), document.removeEventListener("keydown", s);
@@ -1600,7 +1600,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1600
1600
  t("formPhone"),
1601
1601
  !j && /* @__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: h, children: [
1603
+ /* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref: p, 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",
@@ -1647,7 +1647,7 @@ 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: k,
1650
+ ref: v,
1651
1651
  type: "text",
1652
1652
  value: E,
1653
1653
  onChange: (n) => C(n.target.value),
@@ -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
- w(n.code), g(!1), C("");
1667
+ k(n.code), g(!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
- I && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1681
+ B && /* @__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: "*" })
@@ -1762,7 +1762,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1762
1762
  "aria-label": t("info"),
1763
1763
  "aria-expanded": te === "dob",
1764
1764
  onClick: () => {
1765
- pe((n) => n === "dob" ? null : "dob"), d?.trackInfoIconClicked?.({ fieldName: "dob" });
1765
+ he((n) => n === "dob" ? null : "dob"), d?.trackInfoIconClicked?.({ fieldName: "dob" });
1766
1766
  },
1767
1767
  children: /* @__PURE__ */ r.jsx(
1768
1768
  "img",
@@ -1792,14 +1792,14 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1792
1792
  value: o.dateOfBirth,
1793
1793
  max: (() => {
1794
1794
  const n = /* @__PURE__ */ new Date();
1795
- return `${n.getFullYear()}-${z(n.getMonth() + 1)}-${z(n.getDate())}`;
1795
+ return `${n.getFullYear()}-${J(n.getMonth() + 1)}-${J(n.getDate())}`;
1796
1796
  })(),
1797
1797
  onChange: (n) => {
1798
- const s = n.target.value, D = /* @__PURE__ */ new Date(), ae = `${D.getFullYear()}-${z(D.getMonth() + 1)}-${z(D.getDate())}`;
1798
+ const s = n.target.value, D = /* @__PURE__ */ new Date(), ae = `${D.getFullYear()}-${J(D.getMonth() + 1)}-${J(D.getDate())}`;
1799
1799
  s && s > ae || (b({ dateOfBirth: s }), F("dateOfBirth", s), U.current = null);
1800
1800
  },
1801
1801
  onFocus: () => d?.trackDobClicked?.(),
1802
- onClick: () => v(Z),
1802
+ onClick: () => x(Z),
1803
1803
  onBlur: () => {
1804
1804
  U.current === Z.current && (U.current = null);
1805
1805
  }
@@ -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(), v(Z);
1816
+ n.preventDefault(), n.stopPropagation(), x(Z);
1817
1817
  },
1818
1818
  children: /* @__PURE__ */ r.jsx(
1819
1819
  "img",
@@ -1843,7 +1843,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1843
1843
  "aria-label": t("info"),
1844
1844
  "aria-expanded": te === "time",
1845
1845
  onClick: () => {
1846
- d?.trackInfoIconClicked?.({ fieldName: "time" }), pe((n) => n === "time" ? null : "time");
1846
+ d?.trackInfoIconClicked?.({ fieldName: "time" }), he((n) => n === "time" ? null : "time");
1847
1847
  },
1848
1848
  children: /* @__PURE__ */ r.jsx(
1849
1849
  "img",
@@ -1869,7 +1869,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1869
1869
  id: "kundli-birth-time",
1870
1870
  className: a.input,
1871
1871
  type: "text",
1872
- value: o.birthTime ? he(o.birthTime) : "",
1872
+ value: o.birthTime ? pe(o.birthTime) : "",
1873
1873
  readOnly: !0,
1874
1874
  onFocus: () => d?.trackTimeClicked?.(),
1875
1875
  onChange: (n) => {
@@ -1879,7 +1879,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1879
1879
  disabled: o.birthTimeUnknown,
1880
1880
  placeholder: "HH:MM AM",
1881
1881
  onClick: () => {
1882
- o.birthTimeUnknown || (W(me(o.birthTime || "12:00")), B((n) => !n));
1882
+ o.birthTimeUnknown || (W(me(o.birthTime || "12:00")), I((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")), B((s) => !s));
1895
+ n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (W(me(o.birthTime || "12:00")), I((s) => !s));
1896
1896
  },
1897
1897
  children: /* @__PURE__ */ r.jsx(
1898
1898
  "img",
@@ -1934,7 +1934,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1934
1934
  value: N.minute,
1935
1935
  onChange: (n) => W((s) => ({ ...s, minute: n.target.value })),
1936
1936
  "aria-label": "Minute",
1937
- children: Array.from({ length: 60 }, (n, s) => z(s)).map(
1937
+ children: Array.from({ length: 60 }, (n, s) => J(s)).map(
1938
1938
  (n) => /* @__PURE__ */ r.jsx("option", { value: n, children: n }, n)
1939
1939
  )
1940
1940
  }
@@ -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: () => B(!1),
1969
+ onClick: () => I(!1),
1970
1970
  children: "Cancel"
1971
1971
  }
1972
1972
  ),
@@ -1977,7 +1977,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1977
1977
  className: `${a.timePopoverBtn} ${a.timePopoverOk}`,
1978
1978
  onClick: () => {
1979
1979
  const n = V(N);
1980
- b({ birthTime: n }), F("birthTime", n), B(!1);
1980
+ b({ birthTime: n }), F("birthTime", n), I(!1);
1981
1981
  },
1982
1982
  "aria-label": "OK",
1983
1983
  children: /* @__PURE__ */ r.jsx(
@@ -2055,7 +2055,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2055
2055
  onClick: () => {
2056
2056
  d?.trackInfoIconClicked?.({
2057
2057
  fieldName: "birthPlace"
2058
- }), pe((n) => n === "place" ? null : "place");
2058
+ }), he((n) => n === "place" ? null : "place");
2059
2059
  },
2060
2060
  children: /* @__PURE__ */ r.jsx(
2061
2061
  "img",
@@ -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
- I && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
2133
+ B && /* @__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: "*" })
@@ -2331,54 +2331,54 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2331
2331
  values: o,
2332
2332
  phoneIsdCode: c,
2333
2333
  requireV1ExtraFields: m = !1,
2334
- onValidationFailed: w,
2335
- onProceed: I,
2336
- onProceedGuidance: x,
2334
+ onValidationFailed: k,
2335
+ onProceed: B,
2336
+ onProceedGuidance: w,
2337
2337
  href: R,
2338
2338
  analytics: P,
2339
2339
  className: L = "",
2340
2340
  discountedPriceLabel: d,
2341
2341
  showPlanSheet: j,
2342
- confirmPlan: p,
2342
+ confirmPlan: h,
2343
2343
  planSheetOpen: S,
2344
2344
  selectedPlan: g
2345
2345
  }) => {
2346
- const E = Te(), C = E?.config.isGlobal ?? !0, h = E?.config?.variant, [k, $] = G(!1), b = Ue(
2346
+ const E = Te(), C = E?.config.isGlobal ?? !0, p = E?.config?.variant, [v, $] = G(!1), b = Ue(
2347
2347
  () => ja(o, C, m),
2348
2348
  [o, C, m]
2349
- ), F = b === null, q = h === "v1" && E?.config?.showSheet;
2349
+ ), F = b === null, q = p === "v1" && E?.config?.showSheet;
2350
2350
  H(() => {
2351
- if (!k) return;
2351
+ if (!v) return;
2352
2352
  const oe = window.setTimeout(() => {
2353
2353
  $(!1);
2354
2354
  }, 2200);
2355
2355
  return () => window.clearTimeout(oe);
2356
- }, [k]);
2356
+ }, [v]);
2357
2357
  const X = C ? d ?? t("formDiscountedPrice") : q ? "" : "₹499", Z = E?.config.imageComponent ?? Be, U = (oe) => {
2358
- if (oe.preventDefault(), h === "v1" && !F && P?.trackKundliDetailedClicked?.(), !F) {
2359
- b && (w?.(
2358
+ if (oe.preventDefault(), p === "v1" && !F && P?.trackKundliDetailedClicked?.(), !F) {
2359
+ b && (k?.(
2360
2360
  b === "birthPlaceCoordinates" ? "birthPlace" : b
2361
2361
  ), b === "birthPlaceCoordinates" && $(!0));
2362
2362
  return;
2363
2363
  }
2364
- const ce = !!x && h === "v1" && g?.id === br, B = (o.phone ?? "").trim(), N = {
2364
+ const ce = !!w && p === "v1" && g?.id === br, I = (o.phone ?? "").trim(), N = {
2365
2365
  ...o,
2366
- phone: B && `${c}-${B}`
2366
+ phone: I && `${c}-${I}`
2367
2367
  };
2368
2368
  if (q) {
2369
- S ? p?.() : j?.(N);
2369
+ S ? h?.() : j?.(N);
2370
2370
  return;
2371
2371
  }
2372
- P?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), ce ? x(N) : I?.(N);
2372
+ P?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), ce ? w(N) : B?.(N);
2373
2373
  }, Y = /* @__PURE__ */ r.jsx(
2374
2374
  $r,
2375
2375
  {
2376
2376
  href: R,
2377
- disabled: h === "v1" ? !1 : !F,
2377
+ disabled: p === "v1" ? !1 : !F,
2378
2378
  onClick: U,
2379
2379
  "aria-label": t("formPriceAria"),
2380
- className: h === "v1" && F ? je.ctaFilled : h === "v1" ? je.ctaButton : void 0,
2381
- children: h === "v1" ? F ? /* @__PURE__ */ r.jsxs("span", { className: je.ctaFilledContent, children: [
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
2382
  q ? t("selectPackage") : S && g ? `${t("proceedWithPlan")}${g.price}` : `${t("formProceed")} ${X}`,
2383
2383
  /* @__PURE__ */ r.jsx(
2384
2384
  Z,
@@ -2404,7 +2404,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2404
2404
  className: `${je.footerContainer} ${L}`,
2405
2405
  marquee: /* @__PURE__ */ r.jsx(Gr, { children: /* @__PURE__ */ r.jsx(Pa, { t }) }),
2406
2406
  children: [
2407
- k && /* @__PURE__ */ r.jsx("div", { className: je.validationToast, role: "alert", "aria-live": "assertive", children: t("formFillAllFields") }),
2407
+ v && /* @__PURE__ */ r.jsx("div", { className: je.validationToast, role: "alert", "aria-live": "assertive", children: t("formFillAllFields") }),
2408
2408
  Y
2409
2409
  ]
2410
2410
  }
@@ -2415,15 +2415,15 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2415
2415
  logoUrl: c = Ta,
2416
2416
  className: m = ""
2417
2417
  }) => {
2418
- const w = Te(), I = w?.config.isGlobal ?? !0, x = o != null && !I;
2418
+ const k = Te(), B = k?.config.isGlobal ?? !0, w = o != null && !B;
2419
2419
  return /* @__PURE__ */ r.jsx(
2420
2420
  Wr,
2421
2421
  {
2422
2422
  t,
2423
2423
  logoUrl: c,
2424
- imageComponent: w?.config.imageComponent,
2424
+ imageComponent: k?.config.imageComponent,
2425
2425
  languageSelector: o,
2426
- showLanguageSelector: x,
2426
+ showLanguageSelector: w,
2427
2427
  className: m
2428
2428
  }
2429
2429
  );
@@ -2447,7 +2447,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
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
2448
  /* @__PURE__ */ r.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
2449
2449
  /* @__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", pn = "_astrologerName_18irl_326", hn = "_astrologerExp_18irl_335", gn = "_astrologerDivider_18irl_341", _n = "_planDivider_18irl_347", bn = "_astrologerCertList_18irl_354", yn = "_astrologerCertItem_18irl_360", vn = "_bullet_18irl_368", kn = "_footer_18irl_373", wn = "_proceedBtn_18irl_383", f = {
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
2451
  overlay: La,
2452
2452
  sheet: Da,
2453
2453
  header: Fa,
@@ -2480,8 +2480,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2480
2480
  astrologerAvatarPlaceholder: un,
2481
2481
  astrologerTop: mn,
2482
2482
  astrologerBasicInfo: fn,
2483
- astrologerName: pn,
2484
- astrologerExp: hn,
2483
+ astrologerName: hn,
2484
+ astrologerExp: pn,
2485
2485
  astrologerDivider: gn,
2486
2486
  planDivider: _n,
2487
2487
  astrologerCertList: bn,
@@ -2528,8 +2528,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2528
2528
  /* @__PURE__ */ r.jsx(Ba, {}),
2529
2529
  /* @__PURE__ */ r.jsx("span", { children: t })
2530
2530
  ] }), jn = ({ plan: t, isSelected: o, onSelect: c, t: m }) => {
2531
- const w = () => c(t.id), I = (x) => {
2532
- (x.key === " " || x.key === "Enter") && (x.preventDefault(), c(t.id));
2531
+ const k = () => c(t.id), B = (w) => {
2532
+ (w.key === " " || w.key === "Enter") && (w.preventDefault(), c(t.id));
2533
2533
  };
2534
2534
  return /* @__PURE__ */ r.jsxs(
2535
2535
  "div",
@@ -2539,11 +2539,11 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2539
2539
  o ? f.planCardSelected : "",
2540
2540
  o && f.planCardPopular
2541
2541
  ].filter(Boolean).join(" "),
2542
- onClick: w,
2542
+ onClick: k,
2543
2543
  role: "radio",
2544
2544
  "aria-checked": o,
2545
2545
  tabIndex: 0,
2546
- onKeyDown: I,
2546
+ onKeyDown: B,
2547
2547
  "data-plan-id": t.id,
2548
2548
  children: [
2549
2549
  t.badge && /* @__PURE__ */ r.jsx(Cn, { label: m?.(t.badge) ?? t.badge }),
@@ -2568,7 +2568,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2568
2568
  t.astrologers && /* @__PURE__ */ r.jsx("div", { className: f.planDivider }),
2569
2569
  t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
2570
2570
  /* @__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((x, R) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(An, { astrologer: x, t: m }) }, R)) })
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
2572
  ] })
2573
2573
  ] })
2574
2574
  ]
@@ -2637,16 +2637,16 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2637
2637
  onClose: o,
2638
2638
  selectedPlan: c,
2639
2639
  onSelectPlan: m,
2640
- plans: w,
2641
- onProceed: I,
2642
- t: x,
2640
+ plans: k,
2641
+ onProceed: B,
2642
+ t: w,
2643
2643
  analytics: R
2644
2644
  }) => {
2645
- const L = Te()?.config.isGlobal ?? !0, d = w ?? Tn(L), j = c?.id || d.find((C) => C.badge)?.id || d[0]?.id || "", p = K(null), S = K(null), g = K(!1);
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
2646
  H(() => {
2647
2647
  if (t) {
2648
2648
  if (!c) {
2649
- const C = d.find((h) => h.badge) ?? d[0];
2649
+ const C = d.find((p) => p.badge) ?? d[0];
2650
2650
  C && m(C);
2651
2651
  }
2652
2652
  g.current || (R?.trackPlanPageViewed?.(), g.current = !0);
@@ -2668,17 +2668,17 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2668
2668
  className: f.overlay,
2669
2669
  role: "dialog",
2670
2670
  "aria-modal": "true",
2671
- "aria-label": x?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2671
+ "aria-label": w?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2672
2672
  children: /* @__PURE__ */ r.jsxs(
2673
2673
  "div",
2674
2674
  {
2675
- ref: p,
2675
+ ref: h,
2676
2676
  className: f.sheet,
2677
2677
  children: [
2678
2678
  /* @__PURE__ */ r.jsx(
2679
2679
  xn,
2680
2680
  {
2681
- title: x?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2681
+ title: w?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2682
2682
  onBack: E
2683
2683
  }
2684
2684
  ),
@@ -2694,13 +2694,13 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2694
2694
  {
2695
2695
  plan: C,
2696
2696
  isSelected: C.id === j,
2697
- t: x,
2698
- onSelect: (h) => {
2699
- const k = d.find(($) => $.id === h);
2700
- k && (R?.trackPlanSelected?.({
2701
- planId: k.id,
2702
- planName: k.title
2703
- }), m(k));
2697
+ 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));
2704
2704
  }
2705
2705
  },
2706
2706
  C.id
@@ -2716,9 +2716,9 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2716
2716
  c && (R?.trackPlanProceedClicked?.({
2717
2717
  planId: c.id,
2718
2718
  planName: c.title
2719
- }), I(c), o());
2719
+ }), B(c), o());
2720
2720
  },
2721
- children: c ? x?.("planProceedToPayment") ?? c.price + "Proceed to Payment" : "Select a plan"
2721
+ children: c ? w?.("planProceedToPayment") ?? c.price + "Proceed to Payment" : "Select a plan"
2722
2722
  }
2723
2723
  ) })
2724
2724
  ]
@@ -2743,64 +2743,67 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2743
2743
  locale: o,
2744
2744
  showLanguageSelector: c = !0,
2745
2745
  onBack: m,
2746
- initialValues: w,
2747
- onProceed: I,
2748
- onProceedGuidance: x,
2746
+ initialValues: k,
2747
+ onProceed: B,
2748
+ onProceedGuidance: w,
2749
2749
  proceedHref: R,
2750
2750
  originalPriceLabel: P,
2751
2751
  discountedPriceLabel: L,
2752
2752
  atlasSearchLocalities: d,
2753
2753
  analytics: j
2754
2754
  }) => {
2755
- const p = Te(), S = qr(), g = p !== null, E = g ? p.locale : o, C = E ?? S?.locale ?? "en", [h, k] = G(C), $ = g ? p.locale : h, b = g ? p.setLocale : k, [F, q] = G(!1), X = K(null), Z = K(E), U = K(
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
2756
  S?.locale
2757
2757
  );
2758
2758
  H(() => {
2759
2759
  window.scrollTo({ top: 0, left: 0, behavior: "auto" });
2760
2760
  }, []);
2761
- const Y = (v) => En($, v);
2761
+ const Y = (x) => En($, x);
2762
2762
  H(() => {
2763
2763
  E && Z.current !== E && b(E), Z.current = E;
2764
2764
  }, [E, b]), H(() => {
2765
2765
  if (E) return;
2766
- const v = S?.locale;
2767
- v && U.current !== v && b(v), U.current = v;
2766
+ const x = S?.locale;
2767
+ x && U.current !== x && b(x), U.current = x;
2768
2768
  }, [S?.locale, E, b]);
2769
2769
  const [oe, ce] = G({
2770
2770
  ...In,
2771
- ...w,
2772
- phone: w?.phone ?? ""
2773
- }), B = g ? p?.config.isGlobal ?? !0 : !0, [N, W] = G(
2774
- B ? "+1" : "+91"
2771
+ ...k,
2772
+ phone: k?.phone ?? ""
2773
+ }), I = g ? h?.config.isGlobal ?? !0 : !0, [N, W] = G(
2774
+ I ? "+1" : "+91"
2775
2775
  );
2776
2776
  H(() => {
2777
- W(B ? "+1" : "+91");
2778
- }, [B]);
2779
- const z = g ? p.formValues : oe, he = g ? p.setFormValues : ce, me = g ? p.goToPage : m, V = g ? p.onProceed : I, ee = g ? p.onProceedGuidance : x, re = g ? p.config.proceedHref : R, de = g ? p.config.originalPriceLabel : P, te = g ? p.config.discountedPriceLabel : L, pe = g ? p.config.showLanguageSelector ?? !0 : c, ie = (g ? p?.config?.analytics : j) ?? j;
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
2780
  H(() => {
2781
2781
  if (!F) return;
2782
- const v = (n) => {
2782
+ const x = (n) => {
2783
2783
  X.current && !X.current.contains(n.target) && q(!1);
2784
2784
  };
2785
- return document.addEventListener("mousedown", v), () => document.removeEventListener("mousedown", v);
2785
+ return document.addEventListener("mousedown", x), () => document.removeEventListener("mousedown", x);
2786
2786
  }, [F]);
2787
- const [ge, ue] = G(!1), [J, be] = G(null), le = K(null), we = Ne((v) => {
2788
- le.current = v, ue(!0);
2787
+ const [ge, ue] = G(!1), [z, be] = G(null), le = K(null), we = Ne((x) => {
2788
+ le.current = x, ue(!0);
2789
2789
  }, []), _e = Ne(() => {
2790
- if (ie?.trackPlanProceedClicked?.({
2791
- planId: J.id,
2792
- planName: J.title
2793
- }), !le.current || !J) return;
2794
- const v = { ...le.current, _selectedPlan: J };
2795
- J.id === br && ee ? ee(v) : V?.(v), ue(!1), le.current = null;
2796
- }, [J, V, ee]), xe = p?.config.imageComponent ?? Be, ye = pe ? /* @__PURE__ */ r.jsxs("div", { className: fe.langDropdownWrap, ref: X, children: [
2790
+ if (!le.current || !z) return;
2791
+ ie?.trackPlanProceedClicked?.({
2792
+ planId: z.id,
2793
+ planName: z.title,
2794
+ price: z.price,
2795
+ currency: I ? "USD" : "INR"
2796
+ });
2797
+ const x = { ...le.current, _selectedPlan: z };
2798
+ 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: [
2797
2800
  /* @__PURE__ */ r.jsxs(
2798
2801
  "button",
2799
2802
  {
2800
2803
  type: "button",
2801
2804
  className: fe.langTrigger,
2802
2805
  onClick: () => {
2803
- ie?.trackLanguageClickedFe?.({ language: $ }), q((v) => !v);
2806
+ ie?.trackLanguageClickedFe?.({ language: $ }), q((x) => !x);
2804
2807
  },
2805
2808
  "aria-expanded": F,
2806
2809
  "aria-haspopup": "listbox",
@@ -2829,19 +2832,19 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2829
2832
  role: "listbox",
2830
2833
  "aria-labelledby": "kundli-form-lang",
2831
2834
  "aria-activedescendant": `kundli-form-lang-option-${$}`,
2832
- children: mr.map((v) => /* @__PURE__ */ r.jsx(
2835
+ children: mr.map((x) => /* @__PURE__ */ r.jsx(
2833
2836
  "li",
2834
2837
  {
2835
- id: `kundli-form-lang-option-${v}`,
2838
+ id: `kundli-form-lang-option-${x}`,
2836
2839
  role: "option",
2837
- "aria-selected": v === $,
2840
+ "aria-selected": x === $,
2838
2841
  className: fe.langOption,
2839
2842
  onClick: () => {
2840
- ie?.trackLanguageChangedFe?.({ newLanguage: v }), b(v), q(!1);
2843
+ ie?.trackLanguageChangedFe?.({ newLanguage: x }), b(x), q(!1);
2841
2844
  },
2842
- children: lr[v]
2845
+ children: lr[x]
2843
2846
  },
2844
- v
2847
+ x
2845
2848
  ))
2846
2849
  }
2847
2850
  )
@@ -2851,7 +2854,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2851
2854
  Ra,
2852
2855
  {
2853
2856
  t: Y,
2854
- logoUrl: g ? p.config.logoUrl : void 0,
2857
+ logoUrl: g ? h.config.logoUrl : void 0,
2855
2858
  languageSelector: ye,
2856
2859
  className: fe.kundliHeaderNoBorder
2857
2860
  }
@@ -2860,11 +2863,11 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2860
2863
  /* @__PURE__ */ r.jsxs("main", { className: fe.main, children: [
2861
2864
  /* @__PURE__ */ r.jsx(ut, { t: Y, onBack: me }),
2862
2865
  /* @__PURE__ */ r.jsx(
2863
- ha,
2866
+ pa,
2864
2867
  {
2865
2868
  t: Y,
2866
- values: z,
2867
- onChange: he,
2869
+ values: J,
2870
+ onChange: pe,
2868
2871
  atlasSearchLocalities: d,
2869
2872
  phoneIsdCode: N,
2870
2873
  onPhoneIsdCodeChange: W
@@ -2875,7 +2878,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2875
2878
  Na,
2876
2879
  {
2877
2880
  t: Y,
2878
- values: z,
2881
+ values: J,
2879
2882
  phoneIsdCode: N,
2880
2883
  onProceed: V,
2881
2884
  onProceedGuidance: ee,
@@ -2886,18 +2889,18 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2886
2889
  showPlanSheet: we,
2887
2890
  confirmPlan: _e,
2888
2891
  planSheetOpen: ge,
2889
- selectedPlan: J
2892
+ selectedPlan: z
2890
2893
  }
2891
2894
  ),
2892
- p?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
2895
+ h?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
2893
2896
  Rn,
2894
2897
  {
2895
2898
  isOpen: ge,
2896
2899
  onClose: () => ue(!1),
2897
- selectedPlan: J,
2900
+ selectedPlan: z,
2898
2901
  onSelectPlan: be,
2899
- onProceed: (v) => {
2900
- _e?.(v);
2902
+ onProceed: () => {
2903
+ _e?.();
2901
2904
  },
2902
2905
  t: Y,
2903
2906
  analytics: ie
@@ -2938,16 +2941,6 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2938
2941
  kundli_plan_proceed_clicked: "kundli_plan_proceed_clicked",
2939
2942
  /** Plan sheet closed without proceeding */
2940
2943
  kundli_plan_page_closed: "kundli_plan_page_closed",
2941
- /** 3-SKU experiment: comparison table enters viewport */
2942
- comparison_table_impression: "comparison_table_impression",
2943
- /** 3-SKU experiment: plan card changed */
2944
- plan_changed: "plan_changed",
2945
- /** 3-SKU experiment: first focus/tap on question textbox */
2946
- question_textbox_clicked: "question_textbox_clicked",
2947
- /** 3-SKU experiment: suggested question chip selection */
2948
- pre_suggested_question_selected: "pre_suggested_question_selected",
2949
- /** 3-SKU experiment: proceed from selected plan */
2950
- plan_proceed_clicked: "plan_proceed_clicked",
2951
2944
  /** Legacy / alias: when landing page is viewed */
2952
2945
  kundli_page_view: "kundli_page_view",
2953
2946
  /** Legacy / alias: when L1 form page is viewed (same as l1_page_opened) */
@@ -2962,8 +2955,8 @@ export {
2962
2955
  lr as L,
2963
2956
  br as P,
2964
2957
  mr as S,
2965
- ha as U,
2966
- hr as a,
2958
+ pa as U,
2959
+ pr as a,
2967
2960
  Ke as b,
2968
2961
  Un as c,
2969
2962
  Mn as d,
@@ -2982,4 +2975,4 @@ export {
2982
2975
  fr as t,
2983
2976
  qr as u
2984
2977
  };
2985
- //# sourceMappingURL=analytics-diKNl1eC.js.map
2978
+ //# sourceMappingURL=analytics-Bvz01vIv.js.map