@srimandir/kundli-generator 5.21.0 → 5.21.1

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,106 +1,106 @@
1
- import Ge, { useContext as We, createContext as cr, useState as K, useRef as H, useEffect as Y, useMemo as Ue, useCallback as Te } from "react";
2
- import { FormSectionHeader as Dr, FooterCTAButton as Fr, FooterShell as Or, CircularMarquee as Mr, footerShellStyles as ke, PageHeader as $r } from "@srimandir/astrology-common";
3
- var Le = { exports: {} }, Ie = {};
4
- var ar;
1
+ import Ke, { useContext as We, createContext as cr, useState as V, useRef as q, useEffect as X, useMemo as Ge, useCallback as be } from "react";
2
+ import { FormSectionHeader as Dr, FooterCTAButton as Or, FooterShell as Fr, CircularMarquee as Mr, footerShellStyles as xe, PageHeader as $r } from "@srimandir/astrology-common";
3
+ var Ie = { exports: {} }, Re = {};
4
+ var nr;
5
5
  function Ur() {
6
- if (ar) return Ie;
7
- ar = 1;
8
- var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__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 x(j, A, E) {
10
- var c, N = {}, p = null, I = null;
11
- E !== void 0 && (p = "" + E), A.key !== void 0 && (p = "" + A.key), A.ref !== void 0 && (I = A.ref);
12
- for (c in A) m.call(A, c) && !S.hasOwnProperty(c) && (N[c] = A[c]);
13
- if (j && j.defaultProps) for (c in A = j.defaultProps, A) N[c] === void 0 && (N[c] = A[c]);
14
- return { $$typeof: o, type: j, key: p, ref: I, props: N, _owner: k.current };
6
+ if (nr) return Re;
7
+ nr = 1;
8
+ var t = Ke, o = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, x = { key: !0, ref: !0, __self: !0, __source: !0 };
9
+ function h(N, w, F) {
10
+ var c, S = {}, p = null, D = null;
11
+ F !== void 0 && (p = "" + F), w.key !== void 0 && (p = "" + w.key), w.ref !== void 0 && (D = w.ref);
12
+ for (c in w) u.call(w, c) && !x.hasOwnProperty(c) && (S[c] = w[c]);
13
+ if (N && N.defaultProps) for (c in w = N.defaultProps, w) S[c] === void 0 && (S[c] = w[c]);
14
+ return { $$typeof: o, type: N, key: p, ref: D, props: S, _owner: y.current };
15
15
  }
16
- return Ie.Fragment = d, Ie.jsx = x, Ie.jsxs = x, Ie;
16
+ return Re.Fragment = d, Re.jsx = h, Re.jsxs = h, Re;
17
17
  }
18
- var Be = {};
19
- var nr;
18
+ var Se = {};
19
+ var or;
20
20
  function Gr() {
21
- return nr || (nr = 1, process.env.NODE_ENV !== "production" && (function() {
22
- var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), k = /* @__PURE__ */ Symbol.for("react.strict_mode"), S = /* @__PURE__ */ Symbol.for("react.profiler"), x = /* @__PURE__ */ Symbol.for("react.provider"), j = /* @__PURE__ */ Symbol.for("react.context"), A = /* @__PURE__ */ Symbol.for("react.forward_ref"), E = /* @__PURE__ */ Symbol.for("react.suspense"), c = /* @__PURE__ */ Symbol.for("react.suspense_list"), N = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), I = /* @__PURE__ */ Symbol.for("react.offscreen"), g = Symbol.iterator, B = "@@iterator";
23
- function C(e) {
21
+ return or || (or = 1, process.env.NODE_ENV !== "production" && (function() {
22
+ var t = Ke, o = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.portal"), u = /* @__PURE__ */ Symbol.for("react.fragment"), y = /* @__PURE__ */ Symbol.for("react.strict_mode"), x = /* @__PURE__ */ Symbol.for("react.profiler"), h = /* @__PURE__ */ Symbol.for("react.provider"), N = /* @__PURE__ */ Symbol.for("react.context"), w = /* @__PURE__ */ Symbol.for("react.forward_ref"), F = /* @__PURE__ */ Symbol.for("react.suspense"), c = /* @__PURE__ */ Symbol.for("react.suspense_list"), S = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), D = /* @__PURE__ */ Symbol.for("react.offscreen"), k = Symbol.iterator, E = "@@iterator";
23
+ function A(e) {
24
24
  if (e === null || typeof e != "object")
25
25
  return null;
26
- var i = g && e[g] || e[B];
26
+ var i = k && e[k] || e[E];
27
27
  return typeof i == "function" ? i : null;
28
28
  }
29
- var b = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
30
- function h(e) {
29
+ var T = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
30
+ function g(e) {
31
31
  {
32
- for (var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0), u = 1; u < i; u++)
33
- l[u - 1] = arguments[u];
34
- U("error", e, l);
32
+ for (var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0), m = 1; m < i; m++)
33
+ l[m - 1] = arguments[m];
34
+ G("error", e, l);
35
35
  }
36
36
  }
37
- function U(e, i, l) {
37
+ function G(e, i, l) {
38
38
  {
39
- var u = b.ReactDebugCurrentFrame, P = u.getStackAddendum();
40
- P !== "" && (i += "%s", l = l.concat([P]));
41
- var R = l.map(function(v) {
39
+ var m = T.ReactDebugCurrentFrame, j = m.getStackAddendum();
40
+ j !== "" && (i += "%s", l = l.concat([j]));
41
+ var I = l.map(function(v) {
42
42
  return String(v);
43
43
  });
44
- R.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, R);
44
+ I.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, I);
45
45
  }
46
46
  }
47
- var w = !1, D = !1, G = !1, J = !1, re = !1, q;
48
- q = /* @__PURE__ */ Symbol.for("react.module.reference");
49
- function M(e) {
50
- return !!(typeof e == "string" || typeof e == "function" || e === m || e === S || re || e === k || e === E || e === c || J || e === I || w || D || G || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === N || e.$$typeof === x || e.$$typeof === j || e.$$typeof === A || // This needs to include all possible module reference object
47
+ var _ = !1, M = !1, O = !1, $ = !1, Z = !1, R;
48
+ R = /* @__PURE__ */ Symbol.for("react.module.reference");
49
+ function B(e) {
50
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === x || Z || e === y || e === F || e === c || $ || e === D || _ || M || O || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === S || e.$$typeof === h || e.$$typeof === N || e.$$typeof === w || // This needs to include all possible module reference object
51
51
  // types supported by any Flight configuration anywhere since
52
52
  // we don't know which Flight build this will end up being used
53
53
  // with.
54
- e.$$typeof === q || e.getModuleId !== void 0));
54
+ e.$$typeof === R || e.getModuleId !== void 0));
55
55
  }
56
- function se(e, i, l) {
57
- var u = e.displayName;
58
- if (u)
59
- return u;
60
- var P = i.displayName || i.name || "";
61
- return P !== "" ? l + "(" + P + ")" : l;
56
+ function z(e, i, l) {
57
+ var m = e.displayName;
58
+ if (m)
59
+ return m;
60
+ var j = i.displayName || i.name || "";
61
+ return j !== "" ? l + "(" + j + ")" : l;
62
62
  }
63
- function Q(e) {
63
+ function U(e) {
64
64
  return e.displayName || "Context";
65
65
  }
66
- function W(e) {
66
+ function C(e) {
67
67
  if (e == null)
68
68
  return null;
69
- if (typeof e.tag == "number" && h("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
69
+ if (typeof e.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
70
70
  return e.displayName || e.name || null;
71
71
  if (typeof e == "string")
72
72
  return e;
73
73
  switch (e) {
74
- case m:
74
+ case u:
75
75
  return "Fragment";
76
76
  case d:
77
77
  return "Portal";
78
- case S:
78
+ case x:
79
79
  return "Profiler";
80
- case k:
80
+ case y:
81
81
  return "StrictMode";
82
- case E:
82
+ case F:
83
83
  return "Suspense";
84
84
  case c:
85
85
  return "SuspenseList";
86
86
  }
87
87
  if (typeof e == "object")
88
88
  switch (e.$$typeof) {
89
- case j:
89
+ case N:
90
90
  var i = e;
91
- return Q(i) + ".Consumer";
92
- case x:
91
+ return U(i) + ".Consumer";
92
+ case h:
93
93
  var l = e;
94
- return Q(l._context) + ".Provider";
95
- case A:
96
- return se(e, e.render, "ForwardRef");
97
- case N:
98
- var u = e.displayName || null;
99
- return u !== null ? u : W(e.type) || "Memo";
94
+ return U(l._context) + ".Provider";
95
+ case w:
96
+ return z(e, e.render, "ForwardRef");
97
+ case S:
98
+ var m = e.displayName || null;
99
+ return m !== null ? m : C(e.type) || "Memo";
100
100
  case p: {
101
- var P = e, R = P._payload, v = P._init;
101
+ var j = e, I = j._payload, v = j._init;
102
102
  try {
103
- return W(v(R));
103
+ return C(v(I));
104
104
  } catch {
105
105
  return null;
106
106
  }
@@ -108,18 +108,18 @@ function Gr() {
108
108
  }
109
109
  return null;
110
110
  }
111
- var T = Object.assign, F = 0, X, te, ge, V, oe, ce, ae;
112
- function ie() {
111
+ var L = Object.assign, H = 0, J, ne, ge, Q, ie, ue, le;
112
+ function se() {
113
113
  }
114
- ie.__reactDisabledLog = !0;
114
+ se.__reactDisabledLog = !0;
115
115
  function fe() {
116
116
  {
117
- if (F === 0) {
118
- X = console.log, te = console.info, ge = console.warn, V = console.error, oe = console.group, ce = console.groupCollapsed, ae = console.groupEnd;
117
+ if (H === 0) {
118
+ J = console.log, ne = console.info, ge = console.warn, Q = console.error, ie = console.group, ue = console.groupCollapsed, le = console.groupEnd;
119
119
  var e = {
120
120
  configurable: !0,
121
121
  enumerable: !0,
122
- value: ie,
122
+ value: se,
123
123
  writable: !0
124
124
  };
125
125
  Object.defineProperties(console, {
@@ -132,77 +132,77 @@ function Gr() {
132
132
  groupEnd: e
133
133
  });
134
134
  }
135
- F++;
135
+ H++;
136
136
  }
137
137
  }
138
- function ne() {
138
+ function oe() {
139
139
  {
140
- if (F--, F === 0) {
140
+ if (H--, H === 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: T({}, e, {
148
- value: X
147
+ log: L({}, e, {
148
+ value: J
149
149
  }),
150
- info: T({}, e, {
151
- value: te
150
+ info: L({}, e, {
151
+ value: ne
152
152
  }),
153
- warn: T({}, e, {
153
+ warn: L({}, e, {
154
154
  value: ge
155
155
  }),
156
- error: T({}, e, {
157
- value: V
156
+ error: L({}, e, {
157
+ value: Q
158
158
  }),
159
- group: T({}, e, {
160
- value: oe
159
+ group: L({}, e, {
160
+ value: ie
161
161
  }),
162
- groupCollapsed: T({}, e, {
163
- value: ce
162
+ groupCollapsed: L({}, e, {
163
+ value: ue
164
164
  }),
165
- groupEnd: T({}, e, {
166
- value: ae
165
+ groupEnd: L({}, e, {
166
+ value: le
167
167
  })
168
168
  });
169
169
  }
170
- F < 0 && h("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
170
+ H < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
171
171
  }
172
172
  }
173
- var de = b.ReactCurrentDispatcher, _e;
174
- function z(e, i, l) {
173
+ var pe = T.ReactCurrentDispatcher, me;
174
+ function ee(e, i, l) {
175
175
  {
176
- if (_e === void 0)
176
+ if (me === void 0)
177
177
  try {
178
178
  throw Error();
179
- } catch (P) {
180
- var u = P.stack.trim().match(/\n( *(at )?)/);
181
- _e = u && u[1] || "";
179
+ } catch (j) {
180
+ var m = j.stack.trim().match(/\n( *(at )?)/);
181
+ me = m && m[1] || "";
182
182
  }
183
183
  return `
184
- ` + _e + e;
184
+ ` + me + e;
185
185
  }
186
186
  }
187
- var ye = !1, ue;
187
+ var ye = !1, ce;
188
188
  {
189
189
  var we = typeof WeakMap == "function" ? WeakMap : Map;
190
- ue = new we();
190
+ ce = new we();
191
191
  }
192
- function be(e, i) {
192
+ function _e(e, i) {
193
193
  if (!e || ye)
194
194
  return "";
195
195
  {
196
- var l = ue.get(e);
196
+ var l = ce.get(e);
197
197
  if (l !== void 0)
198
198
  return l;
199
199
  }
200
- var u;
200
+ var m;
201
201
  ye = !0;
202
- var P = Error.prepareStackTrace;
202
+ var j = Error.prepareStackTrace;
203
203
  Error.prepareStackTrace = void 0;
204
- var R;
205
- R = de.current, de.current = null, fe();
204
+ var I;
205
+ I = pe.current, pe.current = null, fe();
206
206
  try {
207
207
  if (i) {
208
208
  var v = function() {
@@ -215,117 +215,117 @@ function Gr() {
215
215
  }), typeof Reflect == "object" && Reflect.construct) {
216
216
  try {
217
217
  Reflect.construct(v, []);
218
- } catch (ee) {
219
- u = ee;
218
+ } catch (ae) {
219
+ m = ae;
220
220
  }
221
221
  Reflect.construct(e, [], v);
222
222
  } else {
223
223
  try {
224
224
  v.call();
225
- } catch (ee) {
226
- u = ee;
225
+ } catch (ae) {
226
+ m = ae;
227
227
  }
228
228
  e.call(v.prototype);
229
229
  }
230
230
  } else {
231
231
  try {
232
232
  throw Error();
233
- } catch (ee) {
234
- u = ee;
233
+ } catch (ae) {
234
+ m = ae;
235
235
  }
236
236
  e();
237
237
  }
238
- } catch (ee) {
239
- if (ee && u && typeof ee.stack == "string") {
240
- for (var _ = ee.stack.split(`
241
- `), Z = u.stack.split(`
242
- `), O = _.length - 1, $ = Z.length - 1; O >= 1 && $ >= 0 && _[O] !== Z[$]; )
243
- $--;
244
- for (; O >= 1 && $ >= 0; O--, $--)
245
- if (_[O] !== Z[$]) {
246
- if (O !== 1 || $ !== 1)
238
+ } catch (ae) {
239
+ if (ae && m && typeof ae.stack == "string") {
240
+ for (var b = ae.stack.split(`
241
+ `), re = m.stack.split(`
242
+ `), W = b.length - 1, Y = re.length - 1; W >= 1 && Y >= 0 && b[W] !== re[Y]; )
243
+ Y--;
244
+ for (; W >= 1 && Y >= 0; W--, Y--)
245
+ if (b[W] !== re[Y]) {
246
+ if (W !== 1 || Y !== 1)
247
247
  do
248
- if (O--, $--, $ < 0 || _[O] !== Z[$]) {
249
- var le = `
250
- ` + _[O].replace(" at new ", " at ");
251
- return e.displayName && le.includes("<anonymous>") && (le = le.replace("<anonymous>", e.displayName)), typeof e == "function" && ue.set(e, le), le;
248
+ if (W--, Y--, Y < 0 || b[W] !== re[Y]) {
249
+ var de = `
250
+ ` + b[W].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;
252
252
  }
253
- while (O >= 1 && $ >= 0);
253
+ while (W >= 1 && Y >= 0);
254
254
  break;
255
255
  }
256
256
  }
257
257
  } finally {
258
- ye = !1, de.current = R, ne(), Error.prepareStackTrace = P;
258
+ ye = !1, pe.current = I, oe(), Error.prepareStackTrace = j;
259
259
  }
260
- var Ce = e ? e.displayName || e.name : "", ve = Ce ? z(Ce) : "";
261
- return typeof e == "function" && ue.set(e, ve), ve;
260
+ var Ce = e ? e.displayName || e.name : "", ve = Ce ? ee(Ce) : "";
261
+ return typeof e == "function" && ce.set(e, ve), ve;
262
262
  }
263
- function xe(e, i, l) {
264
- return be(e, !1);
263
+ function Pe(e, i, l) {
264
+ return _e(e, !1);
265
265
  }
266
- function Pe(e) {
266
+ function ke(e) {
267
267
  var i = e.prototype;
268
268
  return !!(i && i.isReactComponent);
269
269
  }
270
- function y(e, i, l) {
270
+ function P(e, i, l) {
271
271
  if (e == null)
272
272
  return "";
273
273
  if (typeof e == "function")
274
- return be(e, Pe(e));
274
+ return _e(e, ke(e));
275
275
  if (typeof e == "string")
276
- return z(e);
276
+ return ee(e);
277
277
  switch (e) {
278
- case E:
279
- return z("Suspense");
278
+ case F:
279
+ return ee("Suspense");
280
280
  case c:
281
- return z("SuspenseList");
281
+ return ee("SuspenseList");
282
282
  }
283
283
  if (typeof e == "object")
284
284
  switch (e.$$typeof) {
285
- case A:
286
- return xe(e.render);
287
- case N:
288
- return y(e.type, i, l);
285
+ case w:
286
+ return Pe(e.render);
287
+ case S:
288
+ return P(e.type, i, l);
289
289
  case p: {
290
- var u = e, P = u._payload, R = u._init;
290
+ var m = e, j = m._payload, I = m._init;
291
291
  try {
292
- return y(R(P), i, l);
292
+ return P(I(j), i, l);
293
293
  } catch {
294
294
  }
295
295
  }
296
296
  }
297
297
  return "";
298
298
  }
299
- var pe = Object.prototype.hasOwnProperty, n = {}, s = b.ReactDebugCurrentFrame;
300
- function L(e) {
299
+ var n = Object.prototype.hasOwnProperty, s = {}, K = T.ReactDebugCurrentFrame;
300
+ function te(e) {
301
301
  if (e) {
302
- var i = e._owner, l = y(e.type, e._source, i ? i.type : null);
303
- s.setExtraStackFrame(l);
302
+ var i = e._owner, l = P(e.type, e._source, i ? i.type : null);
303
+ K.setExtraStackFrame(l);
304
304
  } else
305
- s.setExtraStackFrame(null);
305
+ K.setExtraStackFrame(null);
306
306
  }
307
- function me(e, i, l, u, P) {
307
+ function Te(e, i, l, m, j) {
308
308
  {
309
- var R = Function.call.bind(pe);
309
+ var I = Function.call.bind(n);
310
310
  for (var v in e)
311
- if (R(e, v)) {
312
- var _ = void 0;
311
+ if (I(e, v)) {
312
+ var b = void 0;
313
313
  try {
314
314
  if (typeof e[v] != "function") {
315
- var Z = Error((u || "React class") + ": " + l + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
- throw Z.name = "Invariant Violation", Z;
315
+ var re = Error((m || "React class") + ": " + l + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
+ throw re.name = "Invariant Violation", re;
317
317
  }
318
- _ = e[v](i, v, u, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
319
- } catch (O) {
320
- _ = O;
318
+ b = e[v](i, v, m, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
319
+ } catch (W) {
320
+ b = W;
321
321
  }
322
- _ && !(_ instanceof Error) && (L(P), h("%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, v, typeof _), L(null)), _ instanceof Error && !(_.message in n) && (n[_.message] = !0, L(P), h("Failed %s type: %s", l, _.message), L(null));
322
+ b && !(b instanceof Error) && (te(j), 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).", m || "React class", l, v, typeof b), te(null)), b instanceof Error && !(b.message in s) && (s[b.message] = !0, te(j), g("Failed %s type: %s", l, b.message), te(null));
323
323
  }
324
324
  }
325
325
  }
326
- var Se = Array.isArray;
327
- function Ee(e) {
328
- return Se(e);
326
+ var De = Array.isArray;
327
+ function Oe(e) {
328
+ return De(e);
329
329
  }
330
330
  function gr(e) {
331
331
  {
@@ -335,47 +335,47 @@ function Gr() {
335
335
  }
336
336
  function _r(e) {
337
337
  try {
338
- return He(e), !1;
338
+ return Ye(e), !1;
339
339
  } catch {
340
340
  return !0;
341
341
  }
342
342
  }
343
- function He(e) {
343
+ function Ye(e) {
344
344
  return "" + e;
345
345
  }
346
- function Ye(e) {
346
+ function qe(e) {
347
347
  if (_r(e))
348
- return h("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", gr(e)), He(e);
348
+ return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", gr(e)), Ye(e);
349
349
  }
350
- var qe = b.ReactCurrentOwner, br = {
350
+ var Ve = T.ReactCurrentOwner, br = {
351
351
  key: !0,
352
352
  ref: !0,
353
353
  __self: !0,
354
354
  __source: !0
355
- }, Ve, ze;
355
+ }, Je, ze;
356
356
  function yr(e) {
357
- if (pe.call(e, "ref")) {
357
+ if (n.call(e, "ref")) {
358
358
  var i = Object.getOwnPropertyDescriptor(e, "ref").get;
359
359
  if (i && i.isReactWarning)
360
360
  return !1;
361
361
  }
362
362
  return e.ref !== void 0;
363
363
  }
364
- function vr(e) {
365
- if (pe.call(e, "key")) {
364
+ function kr(e) {
365
+ if (n.call(e, "key")) {
366
366
  var i = Object.getOwnPropertyDescriptor(e, "key").get;
367
367
  if (i && i.isReactWarning)
368
368
  return !1;
369
369
  }
370
370
  return e.key !== void 0;
371
371
  }
372
- function kr(e, i) {
373
- typeof e.ref == "string" && qe.current;
372
+ function vr(e, i) {
373
+ typeof e.ref == "string" && Ve.current;
374
374
  }
375
- function wr(e, i) {
375
+ function xr(e, i) {
376
376
  {
377
377
  var l = function() {
378
- Ve || (Ve = !0, h("%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
+ Je || (Je = !0, g("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
379
379
  };
380
380
  l.isReactWarning = !0, Object.defineProperty(e, "key", {
381
381
  get: l,
@@ -383,10 +383,10 @@ function Gr() {
383
383
  });
384
384
  }
385
385
  }
386
- function xr(e, i) {
386
+ function wr(e, i) {
387
387
  {
388
388
  var l = function() {
389
- ze || (ze = !0, h("%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
+ ze || (ze = !0, g("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
390
390
  };
391
391
  l.isReactWarning = !0, Object.defineProperty(e, "ref", {
392
392
  get: l,
@@ -394,8 +394,8 @@ function Gr() {
394
394
  });
395
395
  }
396
396
  }
397
- var Pr = function(e, i, l, u, P, R, v) {
398
- var _ = {
397
+ var Pr = function(e, i, l, m, j, I, v) {
398
+ var b = {
399
399
  // This tag allows us to uniquely identify this as a React Element
400
400
  $$typeof: o,
401
401
  // Built-in properties that belong on the element
@@ -404,60 +404,60 @@ function Gr() {
404
404
  ref: l,
405
405
  props: v,
406
406
  // Record the component responsible for creating this element.
407
- _owner: R
407
+ _owner: I
408
408
  };
409
- return _._store = {}, Object.defineProperty(_._store, "validated", {
409
+ return b._store = {}, Object.defineProperty(b._store, "validated", {
410
410
  configurable: !1,
411
411
  enumerable: !1,
412
412
  writable: !0,
413
413
  value: !1
414
- }), Object.defineProperty(_, "_self", {
414
+ }), Object.defineProperty(b, "_self", {
415
415
  configurable: !1,
416
416
  enumerable: !1,
417
417
  writable: !1,
418
- value: u
419
- }), Object.defineProperty(_, "_source", {
418
+ value: m
419
+ }), Object.defineProperty(b, "_source", {
420
420
  configurable: !1,
421
421
  enumerable: !1,
422
422
  writable: !1,
423
- value: P
424
- }), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
423
+ value: j
424
+ }), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
425
425
  };
426
- function Ar(e, i, l, u, P) {
426
+ function Ar(e, i, l, m, j) {
427
427
  {
428
- var R, v = {}, _ = null, Z = null;
429
- l !== void 0 && (Ye(l), _ = "" + l), vr(i) && (Ye(i.key), _ = "" + i.key), yr(i) && (Z = i.ref, kr(i, P));
430
- for (R in i)
431
- pe.call(i, R) && !br.hasOwnProperty(R) && (v[R] = i[R]);
428
+ var I, v = {}, b = null, re = null;
429
+ l !== void 0 && (qe(l), b = "" + l), kr(i) && (qe(i.key), b = "" + i.key), yr(i) && (re = i.ref, vr(i, j));
430
+ for (I in i)
431
+ n.call(i, I) && !br.hasOwnProperty(I) && (v[I] = i[I]);
432
432
  if (e && e.defaultProps) {
433
- var O = e.defaultProps;
434
- for (R in O)
435
- v[R] === void 0 && (v[R] = O[R]);
433
+ var W = e.defaultProps;
434
+ for (I in W)
435
+ v[I] === void 0 && (v[I] = W[I]);
436
436
  }
437
- if (_ || Z) {
438
- var $ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
439
- _ && wr(v, $), Z && xr(v, $);
437
+ if (b || re) {
438
+ var Y = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
439
+ b && xr(v, Y), re && wr(v, Y);
440
440
  }
441
- return Pr(e, _, Z, P, u, qe.current, v);
441
+ return Pr(e, b, re, j, m, Ve.current, v);
442
442
  }
443
443
  }
444
- var Fe = b.ReactCurrentOwner, Je = b.ReactDebugCurrentFrame;
444
+ var Fe = T.ReactCurrentOwner, Qe = T.ReactDebugCurrentFrame;
445
445
  function Ae(e) {
446
446
  if (e) {
447
- var i = e._owner, l = y(e.type, e._source, i ? i.type : null);
448
- Je.setExtraStackFrame(l);
447
+ var i = e._owner, l = P(e.type, e._source, i ? i.type : null);
448
+ Qe.setExtraStackFrame(l);
449
449
  } else
450
- Je.setExtraStackFrame(null);
450
+ Qe.setExtraStackFrame(null);
451
451
  }
452
- var Oe;
453
- Oe = !1;
454
- function Me(e) {
452
+ var Me;
453
+ Me = !1;
454
+ function $e(e) {
455
455
  return typeof e == "object" && e !== null && e.$$typeof === o;
456
456
  }
457
- function Qe() {
457
+ function Xe() {
458
458
  {
459
459
  if (Fe.current) {
460
- var e = W(Fe.current.type);
460
+ var e = C(Fe.current.type);
461
461
  if (e)
462
462
  return `
463
463
 
@@ -469,10 +469,10 @@ Check the render method of \`` + e + "`.";
469
469
  function Cr(e) {
470
470
  return "";
471
471
  }
472
- var Xe = {};
472
+ var Ze = {};
473
473
  function jr(e) {
474
474
  {
475
- var i = Qe();
475
+ var i = Xe();
476
476
  if (!i) {
477
477
  var l = typeof e == "string" ? e : e.displayName || e.name;
478
478
  l && (i = `
@@ -482,35 +482,35 @@ Check the top-level render call using <` + l + ">.");
482
482
  return i;
483
483
  }
484
484
  }
485
- function Ze(e, i) {
485
+ function er(e, i) {
486
486
  {
487
487
  if (!e._store || e._store.validated || e.key != null)
488
488
  return;
489
489
  e._store.validated = !0;
490
490
  var l = jr(i);
491
- if (Xe[l])
491
+ if (Ze[l])
492
492
  return;
493
- Xe[l] = !0;
494
- var u = "";
495
- e && e._owner && e._owner !== Fe.current && (u = " It was passed a child from " + W(e._owner.type) + "."), Ae(e), h('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, u), Ae(null);
493
+ Ze[l] = !0;
494
+ var m = "";
495
+ e && e._owner && e._owner !== Fe.current && (m = " It was passed a child from " + C(e._owner.type) + "."), Ae(e), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, m), Ae(null);
496
496
  }
497
497
  }
498
- function er(e, i) {
498
+ function rr(e, i) {
499
499
  {
500
500
  if (typeof e != "object")
501
501
  return;
502
- if (Ee(e))
502
+ if (Oe(e))
503
503
  for (var l = 0; l < e.length; l++) {
504
- var u = e[l];
505
- Me(u) && Ze(u, i);
504
+ var m = e[l];
505
+ $e(m) && er(m, i);
506
506
  }
507
- else if (Me(e))
507
+ else if ($e(e))
508
508
  e._store && (e._store.validated = !0);
509
509
  else if (e) {
510
- var P = C(e);
511
- if (typeof P == "function" && P !== e.entries)
512
- for (var R = P.call(e), v; !(v = R.next()).done; )
513
- Me(v.value) && Ze(v.value, i);
510
+ var j = A(e);
511
+ if (typeof j == "function" && j !== e.entries)
512
+ for (var I = j.call(e), v; !(v = I.next()).done; )
513
+ $e(v.value) && er(v.value, i);
514
514
  }
515
515
  }
516
516
  }
@@ -522,96 +522,96 @@ Check the top-level render call using <` + l + ">.");
522
522
  var l;
523
523
  if (typeof i == "function")
524
524
  l = i.propTypes;
525
- else if (typeof i == "object" && (i.$$typeof === A || // Note: Memo only checks outer props here.
525
+ else if (typeof i == "object" && (i.$$typeof === w || // Note: Memo only checks outer props here.
526
526
  // Inner props are checked in the reconciler.
527
- i.$$typeof === N))
527
+ i.$$typeof === S))
528
528
  l = i.propTypes;
529
529
  else
530
530
  return;
531
531
  if (l) {
532
- var u = W(i);
533
- me(l, e.props, "prop", u, e);
534
- } else if (i.PropTypes !== void 0 && !Oe) {
535
- Oe = !0;
536
- var P = W(i);
537
- h("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", P || "Unknown");
532
+ var m = C(i);
533
+ Te(l, e.props, "prop", m, e);
534
+ } else if (i.PropTypes !== void 0 && !Me) {
535
+ Me = !0;
536
+ var j = C(i);
537
+ g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", j || "Unknown");
538
538
  }
539
- typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && h("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
539
+ typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
540
540
  }
541
541
  }
542
542
  function Tr(e) {
543
543
  {
544
544
  for (var i = Object.keys(e.props), l = 0; l < i.length; l++) {
545
- var u = i[l];
546
- if (u !== "children" && u !== "key") {
547
- Ae(e), h("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), Ae(null);
545
+ var m = i[l];
546
+ if (m !== "children" && m !== "key") {
547
+ Ae(e), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), Ae(null);
548
548
  break;
549
549
  }
550
550
  }
551
- e.ref !== null && (Ae(e), h("Invalid attribute `ref` supplied to `React.Fragment`."), Ae(null));
551
+ e.ref !== null && (Ae(e), g("Invalid attribute `ref` supplied to `React.Fragment`."), Ae(null));
552
552
  }
553
553
  }
554
- var rr = {};
555
- function tr(e, i, l, u, P, R) {
554
+ var tr = {};
555
+ function ar(e, i, l, m, j, I) {
556
556
  {
557
- var v = M(e);
557
+ var v = B(e);
558
558
  if (!v) {
559
- var _ = "";
560
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
561
- var Z = Cr();
562
- Z ? _ += Z : _ += Qe();
563
- var O;
564
- e === null ? O = "null" : Ee(e) ? O = "array" : e !== void 0 && e.$$typeof === o ? (O = "<" + (W(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : O = typeof e, h("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", O, _);
559
+ var b = "";
560
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (b += " 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 re = Cr();
562
+ re ? b += re : b += Xe();
563
+ var W;
564
+ e === null ? W = "null" : Oe(e) ? W = "array" : e !== void 0 && e.$$typeof === o ? (W = "<" + (C(e.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : W = 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", W, b);
565
565
  }
566
- var $ = Ar(e, i, l, P, R);
567
- if ($ == null)
568
- return $;
566
+ var Y = Ar(e, i, l, j, I);
567
+ if (Y == null)
568
+ return Y;
569
569
  if (v) {
570
- var le = i.children;
571
- if (le !== void 0)
572
- if (u)
573
- if (Ee(le)) {
574
- for (var Ce = 0; Ce < le.length; Ce++)
575
- er(le[Ce], e);
576
- Object.freeze && Object.freeze(le);
570
+ var de = i.children;
571
+ if (de !== void 0)
572
+ if (m)
573
+ if (Oe(de)) {
574
+ for (var Ce = 0; Ce < de.length; Ce++)
575
+ rr(de[Ce], e);
576
+ Object.freeze && Object.freeze(de);
577
577
  } else
578
- h("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
578
+ g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
579
579
  else
580
- er(le, e);
580
+ rr(de, e);
581
581
  }
582
- if (pe.call(i, "key")) {
583
- var ve = W(e), ee = Object.keys(i).filter(function(Lr) {
582
+ if (n.call(i, "key")) {
583
+ var ve = C(e), ae = Object.keys(i).filter(function(Lr) {
584
584
  return Lr !== "key";
585
- }), $e = ee.length > 0 ? "{key: someKey, " + ee.join(": ..., ") + ": ...}" : "{key: someKey}";
586
- if (!rr[ve + $e]) {
587
- var Br = ee.length > 0 ? "{" + ee.join(": ..., ") + ": ...}" : "{}";
588
- h(`A props object containing a "key" prop is being spread into JSX:
585
+ }), Ue = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
586
+ if (!tr[ve + Ue]) {
587
+ var Br = ae.length > 0 ? "{" + ae.join(": ..., ") + ": ...}" : "{}";
588
+ g(`A props object containing a "key" prop is being spread into JSX:
589
589
  let props = %s;
590
590
  <%s {...props} />
591
591
  React keys must be passed directly to JSX without using spread:
592
592
  let props = %s;
593
- <%s key={someKey} {...props} />`, $e, ve, Br, ve), rr[ve + $e] = !0;
593
+ <%s key={someKey} {...props} />`, Ue, ve, Br, ve), tr[ve + Ue] = !0;
594
594
  }
595
595
  }
596
- return e === m ? Tr($) : Nr($), $;
596
+ return e === u ? Tr(Y) : Nr(Y), Y;
597
597
  }
598
598
  }
599
599
  function Rr(e, i, l) {
600
- return tr(e, i, l, !0);
600
+ return ar(e, i, l, !0);
601
601
  }
602
602
  function Sr(e, i, l) {
603
- return tr(e, i, l, !1);
603
+ return ar(e, i, l, !1);
604
604
  }
605
605
  var Er = Sr, Ir = Rr;
606
- Be.Fragment = m, Be.jsx = Er, Be.jsxs = Ir;
607
- })()), Be;
606
+ Se.Fragment = u, Se.jsx = Er, Se.jsxs = Ir;
607
+ })()), Se;
608
608
  }
609
- var or;
610
- function Wr() {
611
- return or || (or = 1, process.env.NODE_ENV === "production" ? Le.exports = Ur() : Le.exports = Gr()), Le.exports;
609
+ var ir;
610
+ function Kr() {
611
+ return ir || (ir = 1, process.env.NODE_ENV === "production" ? Ie.exports = Ur() : Ie.exports = Gr()), Ie.exports;
612
612
  }
613
- var r = Wr();
614
- const dr = ["en", "hi"], ir = {
613
+ var r = Kr();
614
+ const dr = ["en", "hi"], lr = {
615
615
  en: "English",
616
616
  hi: "हिन्दी"
617
617
  }, ur = {
@@ -1050,31 +1050,31 @@ const dr = ["en", "hi"], ir = {
1050
1050
  locale: t,
1051
1051
  children: o
1052
1052
  }) => {
1053
- const m = { locale: t, t: (k) => ur[t]?.[k] ?? k };
1054
- return /* @__PURE__ */ r.jsx(mr.Provider, { value: m, children: o });
1053
+ const u = { locale: t, t: (y) => ur[t]?.[y] ?? y };
1054
+ return /* @__PURE__ */ r.jsx(mr.Provider, { value: u, children: o });
1055
1055
  };
1056
- function Kr() {
1056
+ function Wr() {
1057
1057
  return We(mr);
1058
1058
  }
1059
- const Hr = "_container_1e1th_1", Yr = "_main_1e1th_7", qr = "_kundliHeaderNoBorder_1e1th_12", Vr = "_headerSeparator_1e1th_16", zr = "_langDropdownWrap_1e1th_21", Jr = "_langTrigger_1e1th_25", Qr = "_langIcon_1e1th_37", Xr = "_langLabel_1e1th_44", Zr = "_langMenu_1e1th_49", et = "_langOption_1e1th_55", he = {
1059
+ const Hr = "_container_1e1th_1", Yr = "_main_1e1th_7", qr = "_kundliHeaderNoBorder_1e1th_12", Vr = "_headerSeparator_1e1th_16", Jr = "_langDropdownWrap_1e1th_21", zr = "_langTrigger_1e1th_25", Qr = "_langIcon_1e1th_37", Xr = "_langLabel_1e1th_44", Zr = "_langMenu_1e1th_49", et = "_langOption_1e1th_55", he = {
1060
1060
  container: Hr,
1061
1061
  main: Yr,
1062
1062
  kundliHeaderNoBorder: qr,
1063
1063
  headerSeparator: Vr,
1064
- langDropdownWrap: zr,
1065
- langTrigger: Jr,
1064
+ langDropdownWrap: Jr,
1065
+ langTrigger: zr,
1066
1066
  langIcon: Qr,
1067
1067
  langLabel: Xr,
1068
1068
  langMenu: Zr,
1069
1069
  langOption: et
1070
- }, De = (t) => {
1071
- const { priority: o, fetchPriority: d, width: m, height: k, ...S } = t;
1072
- return Ge.createElement("img", {
1073
- ...S,
1074
- width: m ?? 1,
1075
- height: k ?? 1,
1070
+ }, Le = (t) => {
1071
+ const { priority: o, fetchPriority: d, width: u, height: y, ...x } = t;
1072
+ return Ke.createElement("img", {
1073
+ ...x,
1074
+ width: u ?? 1,
1075
+ height: y ?? 1,
1076
1076
  decoding: "async",
1077
- loading: S.loading ?? (o ? "eager" : "lazy"),
1077
+ loading: x.loading ?? (o ? "eager" : "lazy"),
1078
1078
  ...d && { fetchPriority: d }
1079
1079
  });
1080
1080
  };
@@ -1119,7 +1119,7 @@ function at() {
1119
1119
  function nt(t) {
1120
1120
  tt(fr, t);
1121
1121
  }
1122
- const Ke = cr(null), ot = {
1122
+ const He = cr(null), ot = {
1123
1123
  fullName: "",
1124
1124
  phone: "",
1125
1125
  gender: "",
@@ -1128,149 +1128,147 @@ const Ke = cr(null), ot = {
1128
1128
  dateOfBirth: "",
1129
1129
  birthTime: "",
1130
1130
  birthTimeUnknown: !1,
1131
- birthPlace: "",
1132
- birthPlaceLat: void 0,
1133
- birthPlaceLng: void 0
1131
+ birthPlace: ""
1134
1132
  }, Bn = ({
1135
1133
  locale: t,
1136
1134
  showLanguageSelector: o = !0,
1137
1135
  showSheet: d,
1138
- userId: m,
1139
- isGlobal: k,
1140
- variant: S,
1141
- atlasSearchLocalities: x,
1142
- logoUrl: j,
1143
- reportImageUrl: A,
1144
- reportImagePriority: E,
1136
+ userId: u,
1137
+ isGlobal: y,
1138
+ variant: x,
1139
+ googleMapsApiKey: h,
1140
+ logoUrl: N,
1141
+ reportImageUrl: w,
1142
+ reportImagePriority: F,
1145
1143
  backgroundImagePriority: c,
1146
- universityLogoUrls: N,
1144
+ universityLogoUrls: S,
1147
1145
  sampleReportHref: p,
1148
- onViewSampleReport: I,
1149
- ctaHref: g,
1150
- onCtaClick: B,
1151
- onBack: C,
1152
- readMoreReviewsHref: b,
1153
- onProceed: h,
1154
- proceedHref: U,
1155
- originalPriceLabel: w,
1156
- discountedPriceLabel: D,
1157
- discountPillLabel: G,
1158
- analytics: J,
1159
- onProceedGuidance: re,
1160
- onLocaleChange: q,
1161
- imageComponent: M = De,
1162
- children: se
1146
+ onViewSampleReport: D,
1147
+ ctaHref: k,
1148
+ onCtaClick: E,
1149
+ onBack: A,
1150
+ readMoreReviewsHref: T,
1151
+ onProceed: g,
1152
+ proceedHref: G,
1153
+ originalPriceLabel: _,
1154
+ discountedPriceLabel: M,
1155
+ discountPillLabel: O,
1156
+ analytics: $,
1157
+ onProceedGuidance: Z,
1158
+ onLocaleChange: R,
1159
+ imageComponent: B = Le,
1160
+ children: z
1163
1161
  }) => {
1164
- const [Q, W] = K("landing"), [T, F] = K(t ?? "en"), [X, te] = K(ot), ge = H(!0);
1165
- Y(() => {
1166
- const ie = at();
1167
- ie && F(ie);
1168
- }, []), Y(() => {
1169
- nt(T);
1170
- }, [T]), Y(() => {
1162
+ const [U, C] = V("landing"), [L, H] = V(t ?? "en"), [J, ne] = V(ot), ge = q(!0);
1163
+ X(() => {
1164
+ const se = at();
1165
+ se && H(se);
1166
+ }, []), X(() => {
1167
+ nt(L);
1168
+ }, [L]), X(() => {
1171
1169
  if (ge.current) {
1172
1170
  ge.current = !1;
1173
1171
  return;
1174
1172
  }
1175
- q?.(T);
1176
- }, [T, q]);
1177
- const V = Ue(
1173
+ R?.(L);
1174
+ }, [L, R]);
1175
+ const Q = Ge(
1178
1176
  () => ({
1179
1177
  locale: t,
1180
1178
  showLanguageSelector: o,
1181
1179
  showSheet: d,
1182
- userId: m,
1183
- isGlobal: k,
1184
- variant: S,
1185
- atlasSearchLocalities: x,
1186
- logoUrl: j,
1187
- reportImageUrl: A,
1188
- reportImagePriority: E,
1180
+ userId: u,
1181
+ isGlobal: y,
1182
+ variant: x,
1183
+ googleMapsApiKey: h,
1184
+ logoUrl: N,
1185
+ reportImageUrl: w,
1186
+ reportImagePriority: F,
1189
1187
  backgroundImagePriority: c,
1190
- universityLogoUrls: N,
1188
+ universityLogoUrls: S,
1191
1189
  sampleReportHref: p,
1192
- onViewSampleReport: I,
1193
- ctaHref: g,
1194
- onCtaClick: B,
1195
- onBack: C,
1196
- readMoreReviewsHref: b,
1197
- onProceed: h,
1198
- proceedHref: U,
1199
- originalPriceLabel: w,
1200
- discountedPriceLabel: D,
1201
- discountPillLabel: G,
1202
- analytics: J,
1203
- onProceedGuidance: re,
1204
- onLocaleChange: q,
1205
- imageComponent: M
1190
+ onViewSampleReport: D,
1191
+ ctaHref: k,
1192
+ onCtaClick: E,
1193
+ onBack: A,
1194
+ readMoreReviewsHref: T,
1195
+ onProceed: g,
1196
+ proceedHref: G,
1197
+ originalPriceLabel: _,
1198
+ discountedPriceLabel: M,
1199
+ discountPillLabel: O,
1200
+ analytics: $,
1201
+ onProceedGuidance: Z,
1202
+ onLocaleChange: R,
1203
+ imageComponent: B
1206
1204
  }),
1207
1205
  [
1208
1206
  t,
1209
1207
  o,
1210
1208
  d,
1211
- m,
1212
- k,
1213
- S,
1209
+ u,
1210
+ y,
1214
1211
  x,
1215
- j,
1216
- A,
1217
- E,
1218
- c,
1219
- N,
1220
- p,
1221
- I,
1222
- g,
1223
- B,
1224
- C,
1225
- b,
1226
1212
  h,
1227
- U,
1213
+ N,
1228
1214
  w,
1215
+ F,
1216
+ c,
1217
+ S,
1218
+ p,
1229
1219
  D,
1220
+ k,
1221
+ E,
1222
+ A,
1223
+ T,
1224
+ g,
1230
1225
  G,
1231
- J,
1232
- re,
1233
- q,
1234
- M
1226
+ _,
1227
+ M,
1228
+ O,
1229
+ $,
1230
+ Z,
1231
+ R,
1232
+ B
1235
1233
  ]
1236
- ), oe = Te(() => {
1237
- W("form");
1238
- }, [V.analytics]), ce = Te(() => {
1239
- W("landing"), V.onBack?.();
1240
- }, [V.onBack]), ae = Ue(
1234
+ ), ie = be(() => {
1235
+ C("form");
1236
+ }, [Q.analytics]), ue = be(() => {
1237
+ C("landing"), Q.onBack?.();
1238
+ }, [Q.onBack]), le = Ge(
1241
1239
  () => ({
1242
- view: Q,
1243
- locale: T,
1244
- setLocale: F,
1245
- config: V,
1246
- formValues: X,
1247
- setFormValues: te,
1248
- goToForm: oe,
1249
- goToPage: ce,
1250
- onProceed: V.onProceed,
1251
- onProceedGuidance: V.onProceedGuidance
1240
+ view: U,
1241
+ locale: L,
1242
+ setLocale: H,
1243
+ config: Q,
1244
+ formValues: J,
1245
+ setFormValues: ne,
1246
+ goToForm: ie,
1247
+ goToPage: ue,
1248
+ onProceed: Q.onProceed,
1249
+ onProceedGuidance: Q.onProceedGuidance
1252
1250
  }),
1253
- [Q, T, V, X, oe, ce]
1251
+ [U, L, Q, J, ie, ue]
1254
1252
  );
1255
- return /* @__PURE__ */ r.jsx(Ke.Provider, { value: ae, children: se });
1253
+ return /* @__PURE__ */ r.jsx(He.Provider, { value: le, children: z });
1256
1254
  };
1257
- function Re() {
1258
- return We(Ke);
1255
+ function Ne() {
1256
+ return We(He);
1259
1257
  }
1260
1258
  function Ln() {
1261
- const t = We(Ke);
1259
+ const t = We(He);
1262
1260
  if (!t)
1263
1261
  throw new Error("useKundliContextOrThrow must be used within KundliProvider");
1264
1262
  return t;
1265
1263
  }
1266
- const it = "_header_19172_1", lt = "_centered_19172_8", lr = {
1264
+ const it = "_header_19172_1", lt = "_centered_19172_8", sr = {
1267
1265
  header: it,
1268
1266
  centered: lt
1269
1267
  }, st = ({
1270
1268
  t,
1271
1269
  onBack: o,
1272
1270
  className: d = "",
1273
- align: m = "left"
1271
+ align: u = "left"
1274
1272
  }) => /* @__PURE__ */ r.jsx(
1275
1273
  Dr,
1276
1274
  {
@@ -1278,9 +1276,9 @@ const it = "_header_19172_1", lt = "_centered_19172_8", lr = {
1278
1276
  subtitle: t("formSubtitle"),
1279
1277
  onBack: o,
1280
1278
  backAriaLabel: t("back"),
1281
- className: `${lr.header} ${m === "center" ? lr.centered : ""} ${d}`
1279
+ className: `${sr.header} ${u === "center" ? sr.centered : ""} ${d}`
1282
1280
  }
1283
- ), ct = "_wrap_119w3_1", dt = "_card_119w3_5", ut = "_cardInner_119w3_12", mt = "_field_119w3_44", ft = "_labelRow_119w3_48", pt = "_label_119w3_48", ht = "_req_119w3_57", gt = "_help_119w3_61", _t = "_choiceRow_119w3_68", bt = "_choiceBtn_119w3_74", yt = "_choiceBtnActive_119w3_99", vt = "_infoBtn_119w3_105", kt = "_infoImg_119w3_122", wt = "_infoWrap_119w3_128", xt = "_tooltip_119w3_134", Pt = "_tooltipArrow_119w3_150", At = "_inputWrap_119w3_161", Ct = "_isdWrap_119w3_165", jt = "_phoneInputGroup_119w3_169", Nt = "_isdSelectWrap_119w3_178", Tt = "_isdSelectTrigger_119w3_197", Rt = "_isdDropdown_119w3_214", St = "_isdSearchWrap_119w3_229", Et = "_isdSearchInput_119w3_237", It = "_isdOption_119w3_255", Bt = "_isdOptionActive_119w3_275", Lt = "_isdCountryName_119w3_281", Dt = "_isdCountryCode_119w3_288", Ft = "_isdNoResult_119w3_295", Ot = "_suggestions_119w3_302", Mt = "_suggestionItem_119w3_315", $t = "_suggestionMain_119w3_333", Ut = "_suggestionSecondary_119w3_339", Gt = "_suggestionsHint_119w3_344", Wt = "_fieldError_119w3_359", Kt = "_timePopover_119w3_366", Ht = "_timePickerRow_119w3_382", Yt = "_timePickerSelect_119w3_388", qt = "_timePickerColon_119w3_404", Vt = "_meridiemToggle_119w3_412", zt = "_meridiemBtn_119w3_421", Jt = "_meridiemActive_119w3_436", Qt = "_timePopoverActions_119w3_441", Xt = "_timePopoverBtn_119w3_447", Zt = "_timePopoverOk_119w3_466", ea = "_input_119w3_161", ra = "_phoneInput_119w3_169", ta = "_iconBtn_119w3_519", aa = "_iconBtnInteractive_119w3_525", na = "_iconImg_119w3_544", oa = "_checkboxRow_119w3_550", ia = "_checkbox_119w3_550", la = "_checkboxText_119w3_588", a = {
1281
+ ), ct = "_wrap_kiw0x_1", dt = "_card_kiw0x_5", ut = "_cardInner_kiw0x_12", mt = "_field_kiw0x_44", ft = "_labelRow_kiw0x_48", pt = "_label_kiw0x_48", ht = "_req_kiw0x_57", gt = "_help_kiw0x_61", _t = "_choiceRow_kiw0x_68", bt = "_choiceBtn_kiw0x_74", yt = "_choiceBtnActive_kiw0x_99", kt = "_infoBtn_kiw0x_105", vt = "_infoImg_kiw0x_122", xt = "_infoWrap_kiw0x_128", wt = "_tooltip_kiw0x_134", Pt = "_tooltipArrow_kiw0x_150", At = "_inputWrap_kiw0x_161", Ct = "_isdWrap_kiw0x_165", jt = "_phoneInputGroup_kiw0x_169", Nt = "_isdSelectWrap_kiw0x_178", Tt = "_isdSelectTrigger_kiw0x_197", Rt = "_isdDropdown_kiw0x_214", St = "_isdSearchWrap_kiw0x_229", Et = "_isdSearchInput_kiw0x_237", It = "_isdOption_kiw0x_255", Bt = "_isdOptionActive_kiw0x_275", Lt = "_isdCountryName_kiw0x_281", Dt = "_isdCountryCode_kiw0x_288", Ot = "_isdNoResult_kiw0x_295", Ft = "_suggestions_kiw0x_302", Mt = "_suggestionItem_kiw0x_315", $t = "_suggestionMain_kiw0x_333", Ut = "_suggestionSecondary_kiw0x_339", Gt = "_suggestionsHint_kiw0x_344", Kt = "_timePopover_kiw0x_359", Wt = "_timePickerRow_kiw0x_375", Ht = "_timePickerSelect_kiw0x_381", Yt = "_timePickerColon_kiw0x_397", qt = "_meridiemToggle_kiw0x_405", Vt = "_meridiemBtn_kiw0x_414", Jt = "_meridiemActive_kiw0x_429", zt = "_timePopoverActions_kiw0x_434", Qt = "_timePopoverBtn_kiw0x_440", Xt = "_timePopoverOk_kiw0x_459", Zt = "_input_kiw0x_161", ea = "_phoneInput_kiw0x_169", ra = "_iconBtn_kiw0x_512", ta = "_iconBtnInteractive_kiw0x_518", aa = "_iconImg_kiw0x_537", na = "_checkboxRow_kiw0x_543", oa = "_checkbox_kiw0x_543", ia = "_checkboxText_kiw0x_581", a = {
1284
1282
  wrap: ct,
1285
1283
  card: dt,
1286
1284
  cardInner: ut,
@@ -1292,10 +1290,10 @@ const it = "_header_19172_1", lt = "_centered_19172_8", lr = {
1292
1290
  choiceRow: _t,
1293
1291
  choiceBtn: bt,
1294
1292
  choiceBtnActive: yt,
1295
- infoBtn: vt,
1296
- infoImg: kt,
1297
- infoWrap: wt,
1298
- tooltip: xt,
1293
+ infoBtn: kt,
1294
+ infoImg: vt,
1295
+ infoWrap: xt,
1296
+ tooltip: wt,
1299
1297
  tooltipArrow: Pt,
1300
1298
  inputWrap: At,
1301
1299
  isdWrap: Ct,
@@ -1309,79 +1307,165 @@ const it = "_header_19172_1", lt = "_centered_19172_8", lr = {
1309
1307
  isdOptionActive: Bt,
1310
1308
  isdCountryName: Lt,
1311
1309
  isdCountryCode: Dt,
1312
- isdNoResult: Ft,
1313
- suggestions: Ot,
1310
+ isdNoResult: Ot,
1311
+ suggestions: Ft,
1314
1312
  suggestionItem: Mt,
1315
1313
  suggestionMain: $t,
1316
1314
  suggestionSecondary: Ut,
1317
1315
  suggestionsHint: Gt,
1318
- fieldError: Wt,
1319
1316
  timePopover: Kt,
1320
- timePickerRow: Ht,
1321
- timePickerSelect: Yt,
1322
- timePickerColon: qt,
1323
- meridiemToggle: Vt,
1324
- meridiemBtn: zt,
1317
+ timePickerRow: Wt,
1318
+ timePickerSelect: Ht,
1319
+ timePickerColon: Yt,
1320
+ meridiemToggle: qt,
1321
+ meridiemBtn: Vt,
1325
1322
  meridiemActive: Jt,
1326
- timePopoverActions: Qt,
1327
- timePopoverBtn: Xt,
1328
- timePopoverOk: Zt,
1329
- input: ea,
1330
- phoneInput: ra,
1331
- iconBtn: ta,
1332
- iconBtnInteractive: aa,
1333
- iconImg: na,
1334
- checkboxRow: oa,
1335
- checkbox: ia,
1336
- checkboxText: la
1337
- }, sr = (t) => typeof t == "number" && Number.isFinite(t), sa = (t) => {
1338
- const o = typeof t?.limit == "number" && t.limit > 0 ? Math.min(t.limit, 20) : 8, d = typeof t?.offset == "number" && t.offset >= 0 ? t.offset : 0;
1339
- return {
1340
- limit: o,
1341
- offset: d,
1342
- restrictCountry: t?.restrictCountry
1343
- };
1344
- }, ca = (t) => {
1345
- const { searchLocalities: o, restrictCountry: d } = t, [m, k] = K([]), [S, x] = K(!1), [j, A] = K(null), E = H(0);
1346
- Y(() => {
1347
- A(null);
1348
- }, [o]);
1349
- const c = Te(
1350
- async (p) => {
1351
- if (!p || p.length < 2 || !o) {
1352
- k([]);
1323
+ timePopoverActions: zt,
1324
+ timePopoverBtn: Qt,
1325
+ timePopoverOk: Xt,
1326
+ input: Zt,
1327
+ phoneInput: ea,
1328
+ iconBtn: ra,
1329
+ iconBtnInteractive: ta,
1330
+ iconImg: aa,
1331
+ checkboxRow: na,
1332
+ checkbox: oa,
1333
+ checkboxText: ia
1334
+ };
1335
+ let Be = null;
1336
+ const la = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Be || (Be = new Promise((d, u) => {
1337
+ const y = document.querySelector(
1338
+ 'script[data-google-maps-places="true"]'
1339
+ );
1340
+ if (y) {
1341
+ y.addEventListener("load", () => d()), y.addEventListener(
1342
+ "error",
1343
+ () => u(new Error("Failed to load Google Maps API"))
1344
+ );
1345
+ return;
1346
+ }
1347
+ const x = document.createElement("script"), h = new URL("https://maps.googleapis.com/maps/api/js");
1348
+ h.searchParams.set("key", t), h.searchParams.set("libraries", "places"), h.searchParams.set("loading", "async"), o && h.searchParams.set("language", o), x.src = h.toString(), x.async = !0, x.defer = !0, x.setAttribute("data-google-maps-places", "true"), x.onload = () => {
1349
+ const N = Date.now(), w = () => {
1350
+ if (window.google?.maps?.places) {
1351
+ d();
1352
+ return;
1353
+ }
1354
+ if (Date.now() - N > 2e3) {
1355
+ u(
1356
+ new Error(
1357
+ "Google Maps loaded but Places library is unavailable. Check API key restrictions / enabled APIs."
1358
+ )
1359
+ );
1353
1360
  return;
1354
1361
  }
1355
- const I = ++E.current;
1356
- x(!0), A(null);
1362
+ window.setTimeout(w, 50);
1363
+ };
1364
+ w();
1365
+ }, x.onerror = () => u(new Error("Failed to load Google Maps API")), document.head.appendChild(x);
1366
+ }), Be), sa = (t) => {
1367
+ const { apiKey: o, language: d = "en", restrictCountry: u, deferLoad: y = !1 } = t, [x, h] = V(!1), [N, w] = V([]), [F, c] = V(!1), [S, p] = V(null), [D, k] = V(!y), E = q(null), A = q(null), T = q(null), g = be(() => {
1368
+ y && k(!0);
1369
+ }, [y]);
1370
+ X(() => {
1371
+ if (!o || !D) {
1372
+ h(!1), p(null);
1373
+ return;
1374
+ }
1375
+ la(o, d).then(() => {
1376
+ E.current = new google.maps.places.AutocompleteService();
1377
+ const O = document.createElement("div");
1378
+ A.current = new google.maps.places.PlacesService(O), T.current = new google.maps.places.AutocompleteSessionToken(), h(!0), p(null);
1379
+ }).catch((O) => {
1380
+ h(!1), p(O?.message || "Failed to load location service");
1381
+ });
1382
+ }, [o, d, D]);
1383
+ const G = be(
1384
+ async (O) => {
1385
+ if (!O || O.length < 2 || !E.current) {
1386
+ w([]);
1387
+ return;
1388
+ }
1389
+ c(!0);
1357
1390
  try {
1358
- const g = sa({ restrictCountry: d }), B = await o(p, g);
1359
- if (I !== E.current) return;
1360
- const C = (B || []).filter(
1361
- (b) => !!b?.id && !!b?.description && sr(b?.lat) && sr(b?.lng)
1362
- ).map((b) => ({
1363
- id: b.id,
1364
- description: b.description,
1365
- secondary_text: b.secondaryText,
1366
- lat: b.lat,
1367
- lng: b.lng
1368
- }));
1369
- k(C);
1370
- } catch (g) {
1371
- if (I !== E.current) return;
1372
- k([]), A(g?.message || "Failed to fetch locations");
1391
+ const $ = {
1392
+ input: O,
1393
+ types: ["(cities)"],
1394
+ sessionToken: T.current ?? void 0
1395
+ };
1396
+ u && ($.componentRestrictions = { country: u });
1397
+ const Z = await new Promise((R, B) => {
1398
+ E.current.getPlacePredictions(
1399
+ $,
1400
+ (z, U) => {
1401
+ U === google.maps.places.PlacesServiceStatus.OK && z ? R(z) : U === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? R([]) : B(new Error(`Places API error: ${U}`));
1402
+ }
1403
+ );
1404
+ });
1405
+ w(
1406
+ Z.map((R) => ({
1407
+ place_id: R.place_id,
1408
+ description: R.description,
1409
+ structured_formatting: {
1410
+ main_text: R.structured_formatting?.main_text || R.description,
1411
+ secondary_text: R.structured_formatting?.secondary_text || ""
1412
+ }
1413
+ }))
1414
+ );
1415
+ } catch {
1416
+ w([]);
1373
1417
  } finally {
1374
- I === E.current && x(!1);
1418
+ c(!1);
1419
+ }
1420
+ },
1421
+ [u]
1422
+ ), _ = be(
1423
+ async (O) => {
1424
+ if (!A.current) return null;
1425
+ try {
1426
+ const $ = await new Promise(
1427
+ (C, L) => {
1428
+ A.current.getDetails(
1429
+ {
1430
+ placeId: O,
1431
+ fields: ["geometry", "address_components", "formatted_address"],
1432
+ sessionToken: T.current ?? void 0
1433
+ },
1434
+ (H, J) => {
1435
+ J === google.maps.places.PlacesServiceStatus.OK && H ? C(H) : L(new Error(`Place details error: ${J}`));
1436
+ }
1437
+ );
1438
+ }
1439
+ );
1440
+ T.current = new google.maps.places.AutocompleteSessionToken();
1441
+ const Z = $.geometry?.location?.lat() || 0, R = $.geometry?.location?.lng() || 0;
1442
+ let B = "", z = "", U = "";
1443
+ return $.address_components?.forEach((C) => {
1444
+ C.types.includes("locality") && (B = C.long_name), C.types.includes("administrative_area_level_1") && (z = C.long_name), C.types.includes("country") && (U = C.long_name);
1445
+ }), {
1446
+ display_name: $.formatted_address || "",
1447
+ lat: Z,
1448
+ lng: R,
1449
+ city: B,
1450
+ state: z,
1451
+ country: U
1452
+ };
1453
+ } catch {
1454
+ return null;
1375
1455
  }
1376
1456
  },
1377
- [d, o]
1378
- ), N = Te(() => k([]), []);
1457
+ []
1458
+ ), M = be(() => w([]), []);
1379
1459
  return {
1380
- predictions: m,
1381
- isSearching: S,
1382
- loadError: j,
1383
- searchPlaces: c,
1384
- clearPredictions: N
1460
+ isLoaded: x,
1461
+ predictions: N,
1462
+ isSearching: F,
1463
+ loadError: S,
1464
+ searchPlaces: G,
1465
+ getPlaceDetails: _,
1466
+ clearPredictions: M,
1467
+ triggerLoad: g
1468
+ // Call this to start loading Google Maps when deferred
1385
1469
  };
1386
1470
  }, je = {
1387
1471
  time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
@@ -1460,19 +1544,21 @@ const it = "_header_19172_1", lt = "_centered_19172_8", lr = {
1460
1544
  { code: "+977", country: "Nepal" }
1461
1545
  ];
1462
1546
  pr.map((t) => t.code);
1463
- const da = ({
1547
+ const ca = {}, da = ({
1464
1548
  t,
1465
1549
  values: o,
1466
1550
  onChange: d,
1467
- phoneIsdCode: m,
1468
- onPhoneIsdCodeChange: k,
1469
- showV1ExtraFields: S = !1,
1470
- analytics: x,
1471
- atlasSearchLocalities: j,
1472
- className: A = ""
1551
+ phoneIsdCode: u,
1552
+ onPhoneIsdCodeChange: y,
1553
+ showV1ExtraFields: x = !1,
1554
+ analytics: h,
1555
+ googleMapsApiKey: N,
1556
+ className: w = ""
1473
1557
  }) => {
1474
- const E = Re(), c = E?.config?.analytics ?? x, N = E?.config.isGlobal ?? !0, p = E?.config?.atlasSearchLocalities, [I, g] = K(!1), [B, C] = K(""), b = H(null), h = H(null), U = H({}), w = (n) => d({ ...o, ...n }), D = (n, s) => {
1475
- s.trim() && !U.current[n] && (U.current[n] = !0, {
1558
+ const F = Ne(), c = F?.config?.analytics ?? h, S = F?.config.isGlobal ?? !0;
1559
+ F?.config?.variant;
1560
+ const p = F?.config?.googleMapsApiKey, [D, k] = V(!1), [E, A] = V(""), T = q(null), g = q(null), G = q({}), _ = (n) => d({ ...o, ...n }), M = (n, s) => {
1561
+ s.trim() && !G.current[n] && (G.current[n] = !0, {
1476
1562
  fullName: () => c?.trackNameSectionFilled?.(),
1477
1563
  phone: () => c?.trackPhoneSectionFilled?.(),
1478
1564
  email: () => c?.trackEmailSectionFilled?.(),
@@ -1480,85 +1566,86 @@ const da = ({
1480
1566
  birthTime: () => c?.trackTimeFilled?.(),
1481
1567
  birthPlace: () => c?.trackPlaceOfBirthChosen?.()
1482
1568
  }[n]?.());
1483
- }, G = (n) => n.replace(/\D/g, "").slice(0, 10), J = B.trim().toLowerCase(), re = pr.filter((n) => J ? n.country.toLowerCase().includes(J) || n.code.includes(J) : !0), q = H(null);
1484
- H(null);
1485
- const M = H(null), se = H(0), Q = H(null), [W, T] = K(!1), [F, X] = K({ hour12: 12, minute: "00", meridiem: "AM" }), te = (n) => String(n).padStart(2, "0"), ge = (n) => {
1569
+ }, O = (n) => n.replace(/\D/g, "").slice(0, 10), $ = E.trim().toLowerCase(), Z = pr.filter((n) => $ ? n.country.toLowerCase().includes($) || n.code.includes($) : !0), R = q(null);
1570
+ q(null);
1571
+ const B = q(null), z = q(0), U = q(null), [C, L] = V(!1), [H, J] = V({ hour12: 12, minute: "00", meridiem: "AM" }), ne = (n) => String(n).padStart(2, "0"), ge = (n) => {
1486
1572
  const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
1487
1573
  if (!s) return n;
1488
- const L = Number(s[1]), me = s[2], Se = L >= 12 ? "PM" : "AM";
1489
- return `${L % 12 === 0 ? 12 : L % 12}:${me} ${Se}`;
1490
- }, V = (n) => {
1574
+ const K = Number(s[1]), te = s[2], Te = K >= 12 ? "PM" : "AM";
1575
+ return `${K % 12 === 0 ? 12 : K % 12}:${te} ${Te}`;
1576
+ }, Q = (n) => {
1491
1577
  const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
1492
1578
  if (!s) return { hour12: 12, minute: "00", meridiem: "AM" };
1493
- const L = Number(s[1]), me = s[2], Se = L >= 12 ? "PM" : "AM";
1494
- return { hour12: L % 12 === 0 ? 12 : L % 12, minute: me, meridiem: Se };
1495
- }, oe = (n) => {
1496
- const s = Math.min(12, Math.max(1, n.hour12)), L = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
1497
- let me = s % 12;
1498
- return n.meridiem === "PM" && (me += 12), `${te(me)}:${L}`;
1499
- }, ce = H(null), [ae, ie] = K(!1), [fe, ne] = K(
1579
+ const K = Number(s[1]), te = s[2], Te = K >= 12 ? "PM" : "AM";
1580
+ return { hour12: K % 12 === 0 ? 12 : K % 12, minute: te, meridiem: Te };
1581
+ }, ie = (n) => {
1582
+ const s = Math.min(12, Math.max(1, n.hour12)), K = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
1583
+ let te = s % 12;
1584
+ return n.meridiem === "PM" && (te += 12), `${ne(te)}:${K}`;
1585
+ }, ue = q(null), [le, se] = V(!1), [fe, oe] = V(
1500
1586
  null
1501
- ), de = (o.birthPlace ?? "").trim(), _e = N ? void 0 : "in", z = j ?? p, ye = Number.isFinite(o.birthPlaceLat) && Number.isFinite(o.birthPlaceLng), ue = de.length > 0 && !ye && !ae, {
1502
- predictions: we,
1503
- isSearching: be,
1504
- loadError: xe,
1587
+ ), pe = N ?? p ?? ca?.VITE_GOOGLE_MAPS_API_KEY, me = (o.birthPlace ?? "").trim(), ee = S ? void 0 : "in", ye = "en", {
1588
+ predictions: ce,
1589
+ isSearching: we,
1590
+ loadError: _e,
1505
1591
  searchPlaces: Pe,
1506
- clearPredictions: y
1507
- } = ca({
1508
- searchLocalities: z,
1509
- restrictCountry: _e
1592
+ clearPredictions: ke
1593
+ } = sa({
1594
+ apiKey: pe,
1595
+ language: ye,
1596
+ restrictCountry: ee
1510
1597
  });
1511
- Y(() => {
1598
+ X(() => {
1512
1599
  const n = (s) => {
1513
- ce.current && (ce.current.contains(s.target) || ie(!1));
1600
+ ue.current && (ue.current.contains(s.target) || se(!1));
1514
1601
  };
1515
1602
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1516
- }, []), Y(() => {
1603
+ }, []), X(() => {
1517
1604
  const n = (s) => {
1518
- b.current && (b.current.contains(s.target) || (g(!1), C("")));
1605
+ T.current && (T.current.contains(s.target) || (k(!1), A("")));
1519
1606
  };
1520
1607
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1521
- }, []), Y(() => {
1522
- if (!I) return;
1608
+ }, []), X(() => {
1609
+ if (!D) return;
1523
1610
  const n = window.setTimeout(() => {
1524
- h.current?.focus();
1611
+ g.current?.focus();
1525
1612
  }, 0);
1526
1613
  return () => window.clearTimeout(n);
1527
- }, [I]), Y(() => {
1528
- if (!ae) return;
1529
- if (de.length < 2) {
1530
- y();
1614
+ }, [D]), X(() => {
1615
+ if (!le) return;
1616
+ if (me.length < 2) {
1617
+ ke();
1531
1618
  return;
1532
1619
  }
1533
1620
  const n = window.setTimeout(async () => {
1534
- await Pe(de);
1621
+ await Pe(me);
1535
1622
  }, 250);
1536
1623
  return () => window.clearTimeout(n);
1537
- }, [y, ae, de, Pe]);
1538
- const pe = (n) => {
1624
+ }, [ke, le, me, Pe]);
1625
+ const P = (n) => {
1539
1626
  const s = n.current;
1540
1627
  if (!(!s || s.disabled)) {
1541
- if (document.activeElement === s && M.current === s && Date.now() - se.current < 6e4) {
1628
+ if (document.activeElement === s && B.current === s && Date.now() - z.current < 6e4) {
1542
1629
  s.blur();
1543
1630
  return;
1544
1631
  }
1545
1632
  if (typeof s.showPicker == "function") {
1546
- s.showPicker(), M.current = s, se.current = Date.now();
1633
+ s.showPicker(), B.current = s, z.current = Date.now();
1547
1634
  return;
1548
1635
  }
1549
- s.focus(), M.current = s, se.current = Date.now();
1636
+ s.focus(), B.current = s, z.current = Date.now();
1550
1637
  }
1551
1638
  };
1552
- return Y(() => {
1639
+ return X(() => {
1553
1640
  const n = (s) => {
1554
- Q.current && (Q.current.contains(s.target) || T(!1));
1641
+ U.current && (U.current.contains(s.target) || L(!1));
1555
1642
  };
1556
1643
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1557
- }, []), Y(() => {
1558
- const n = (L) => {
1559
- L.target?.closest?.("[data-info-tooltip]") == null && ne(null);
1560
- }, s = (L) => {
1561
- L.key === "Escape" && ne(null);
1644
+ }, []), X(() => {
1645
+ const n = (K) => {
1646
+ K.target?.closest?.("[data-info-tooltip]") == null && oe(null);
1647
+ }, s = (K) => {
1648
+ K.key === "Escape" && oe(null);
1562
1649
  };
1563
1650
  return document.addEventListener("mousedown", n), document.addEventListener("keydown", s), () => {
1564
1651
  document.removeEventListener("mousedown", n), document.removeEventListener("keydown", s);
@@ -1566,7 +1653,7 @@ const da = ({
1566
1653
  }, []), /* @__PURE__ */ r.jsx(
1567
1654
  "section",
1568
1655
  {
1569
- className: `${a.wrap} ${A}`,
1656
+ className: `${a.wrap} ${w}`,
1570
1657
  "aria-label": t("formTitle"),
1571
1658
  children: /* @__PURE__ */ r.jsx("div", { className: a.card, children: /* @__PURE__ */ r.jsxs("div", { className: a.cardInner, children: [
1572
1659
  /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
@@ -1584,7 +1671,7 @@ const da = ({
1584
1671
  onFocus: () => c?.trackNameSectionClicked?.(),
1585
1672
  onChange: (n) => {
1586
1673
  const s = n.target.value;
1587
- w({ fullName: s }), D("fullName", s);
1674
+ _({ fullName: s }), M("fullName", s);
1588
1675
  },
1589
1676
  placeholder: t("formFullNamePlaceholder"),
1590
1677
  autoComplete: "name"
@@ -1594,9 +1681,9 @@ const da = ({
1594
1681
  /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1595
1682
  /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-phone", children: [
1596
1683
  t("formPhone"),
1597
- !N && /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
1684
+ !S && /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
1598
1685
  ] }) }),
1599
- /* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref: b, children: [
1686
+ /* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref: T, children: [
1600
1687
  /* @__PURE__ */ r.jsxs("div", { className: a.phoneInputGroup, children: [
1601
1688
  /* @__PURE__ */ r.jsx("div", { className: a.isdSelectWrap, children: /* @__PURE__ */ r.jsx(
1602
1689
  "button",
@@ -1604,11 +1691,11 @@ const da = ({
1604
1691
  type: "button",
1605
1692
  className: a.isdSelectTrigger,
1606
1693
  "aria-haspopup": "listbox",
1607
- "aria-expanded": I,
1694
+ "aria-expanded": D,
1608
1695
  onClick: () => {
1609
- g((n) => !n), C("");
1696
+ k((n) => !n), A("");
1610
1697
  },
1611
- children: m
1698
+ children: u
1612
1699
  }
1613
1700
  ) }),
1614
1701
  /* @__PURE__ */ r.jsx(
@@ -1621,19 +1708,19 @@ const da = ({
1621
1708
  onFocus: () => c?.trackPhoneSectionClicked?.(),
1622
1709
  onChange: (n) => {
1623
1710
  const s = n.target.value;
1624
- w({ phone: G(s) }), D("phone", G(s));
1711
+ _({ phone: O(s) }), M("phone", O(s));
1625
1712
  },
1626
1713
  placeholder: t("formPhonePlaceholder"),
1627
1714
  autoComplete: "tel",
1628
1715
  inputMode: "numeric",
1629
1716
  pattern: "[0-9]{10}",
1630
1717
  maxLength: 10,
1631
- required: !N,
1632
- "aria-required": !N
1718
+ required: !S,
1719
+ "aria-required": !S
1633
1720
  }
1634
1721
  )
1635
1722
  ] }),
1636
- I && /* @__PURE__ */ r.jsxs(
1723
+ D && /* @__PURE__ */ r.jsxs(
1637
1724
  "div",
1638
1725
  {
1639
1726
  className: a.isdDropdown,
@@ -1643,24 +1730,24 @@ const da = ({
1643
1730
  /* @__PURE__ */ r.jsx("div", { className: a.isdSearchWrap, children: /* @__PURE__ */ r.jsx(
1644
1731
  "input",
1645
1732
  {
1646
- ref: h,
1733
+ ref: g,
1647
1734
  type: "text",
1648
- value: B,
1649
- onChange: (n) => C(n.target.value),
1735
+ value: E,
1736
+ onChange: (n) => A(n.target.value),
1650
1737
  placeholder: "Search country",
1651
1738
  className: a.isdSearchInput,
1652
1739
  "aria-label": "Search country"
1653
1740
  }
1654
1741
  ) }),
1655
- re.length > 0 ? re.map((n) => /* @__PURE__ */ r.jsxs(
1742
+ Z.length > 0 ? Z.map((n) => /* @__PURE__ */ r.jsxs(
1656
1743
  "button",
1657
1744
  {
1658
1745
  type: "button",
1659
1746
  role: "option",
1660
- "aria-selected": n.code === m,
1661
- className: `${a.isdOption} ${n.code === m ? a.isdOptionActive : ""}`,
1747
+ "aria-selected": n.code === u,
1748
+ className: `${a.isdOption} ${n.code === u ? a.isdOptionActive : ""}`,
1662
1749
  onClick: () => {
1663
- k(n.code), g(!1), C("");
1750
+ y(n.code), k(!1), A("");
1664
1751
  },
1665
1752
  children: [
1666
1753
  /* @__PURE__ */ r.jsx("span", { className: a.isdCountryName, children: n.country }),
@@ -1674,7 +1761,7 @@ const da = ({
1674
1761
  )
1675
1762
  ] }) })
1676
1763
  ] }),
1677
- S && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1764
+ x && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1678
1765
  /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
1679
1766
  t("formGender"),
1680
1767
  /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
@@ -1693,7 +1780,7 @@ const da = ({
1693
1780
  type: "button",
1694
1781
  className: `${a.choiceBtn} ${o.gender === "male" ? a.choiceBtnActive : ""}`,
1695
1782
  onClick: () => {
1696
- w({ gender: "male" }), c?.trackGenderSelected?.({
1783
+ _({ gender: "male" }), c?.trackGenderSelected?.({
1697
1784
  gender: "male"
1698
1785
  });
1699
1786
  },
@@ -1709,7 +1796,7 @@ const da = ({
1709
1796
  type: "button",
1710
1797
  className: `${a.choiceBtn} ${o.gender === "female" ? a.choiceBtnActive : ""}`,
1711
1798
  onClick: () => {
1712
- w({ gender: "female" }), c?.trackGenderSelected?.({
1799
+ _({ gender: "female" }), c?.trackGenderSelected?.({
1713
1800
  gender: "female"
1714
1801
  });
1715
1802
  },
@@ -1722,7 +1809,7 @@ const da = ({
1722
1809
  }
1723
1810
  )
1724
1811
  ] }),
1725
- N && /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1812
+ S && /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1726
1813
  /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-email", children: [
1727
1814
  t("formEmail"),
1728
1815
  /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
@@ -1735,7 +1822,7 @@ const da = ({
1735
1822
  className: a.input,
1736
1823
  type: "email",
1737
1824
  value: o.email,
1738
- onChange: (n) => w({ email: n.target.value }),
1825
+ onChange: (n) => _({ email: n.target.value }),
1739
1826
  placeholder: t("formEmailPlaceholder"),
1740
1827
  autoComplete: "email",
1741
1828
  required: !0,
@@ -1758,7 +1845,7 @@ const da = ({
1758
1845
  "aria-label": t("info"),
1759
1846
  "aria-expanded": fe === "dob",
1760
1847
  onClick: () => {
1761
- ne((n) => n === "dob" ? null : "dob"), c?.trackInfoIconClicked?.({ fieldName: "dob" });
1848
+ oe((n) => n === "dob" ? null : "dob"), c?.trackInfoIconClicked?.({ fieldName: "dob" });
1762
1849
  },
1763
1850
  children: /* @__PURE__ */ r.jsx(
1764
1851
  "img",
@@ -1784,20 +1871,20 @@ const da = ({
1784
1871
  id: "kundli-dob",
1785
1872
  className: a.input,
1786
1873
  type: "date",
1787
- ref: q,
1874
+ ref: R,
1788
1875
  value: o.dateOfBirth,
1789
1876
  max: (() => {
1790
1877
  const n = /* @__PURE__ */ new Date();
1791
- return `${n.getFullYear()}-${te(n.getMonth() + 1)}-${te(n.getDate())}`;
1878
+ return `${n.getFullYear()}-${ne(n.getMonth() + 1)}-${ne(n.getDate())}`;
1792
1879
  })(),
1793
1880
  onChange: (n) => {
1794
- const s = n.target.value, L = /* @__PURE__ */ new Date(), me = `${L.getFullYear()}-${te(L.getMonth() + 1)}-${te(L.getDate())}`;
1795
- s && s > me || (w({ dateOfBirth: s }), D("dateOfBirth", s), M.current = null);
1881
+ const s = n.target.value, K = /* @__PURE__ */ new Date(), te = `${K.getFullYear()}-${ne(K.getMonth() + 1)}-${ne(K.getDate())}`;
1882
+ s && s > te || (_({ dateOfBirth: s }), M("dateOfBirth", s), B.current = null);
1796
1883
  },
1797
1884
  onFocus: () => c?.trackDobClicked?.(),
1798
- onClick: () => pe(q),
1885
+ onClick: () => P(R),
1799
1886
  onBlur: () => {
1800
- M.current === q.current && (M.current = null);
1887
+ B.current === R.current && (B.current = null);
1801
1888
  }
1802
1889
  }
1803
1890
  ),
@@ -1809,7 +1896,7 @@ const da = ({
1809
1896
  "aria-label": "Open date picker",
1810
1897
  onMouseDown: (n) => n.preventDefault(),
1811
1898
  onClick: (n) => {
1812
- n.preventDefault(), n.stopPropagation(), pe(q);
1899
+ n.preventDefault(), n.stopPropagation(), P(R);
1813
1900
  },
1814
1901
  children: /* @__PURE__ */ r.jsx(
1815
1902
  "img",
@@ -1839,7 +1926,7 @@ const da = ({
1839
1926
  "aria-label": t("info"),
1840
1927
  "aria-expanded": fe === "time",
1841
1928
  onClick: () => {
1842
- c?.trackInfoIconClicked?.({ fieldName: "time" }), ne((n) => n === "time" ? null : "time");
1929
+ c?.trackInfoIconClicked?.({ fieldName: "time" }), oe((n) => n === "time" ? null : "time");
1843
1930
  },
1844
1931
  children: /* @__PURE__ */ r.jsx(
1845
1932
  "img",
@@ -1858,7 +1945,7 @@ const da = ({
1858
1945
  ] })
1859
1946
  ] })
1860
1947
  ] }),
1861
- /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: Q, children: [
1948
+ /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: U, children: [
1862
1949
  /* @__PURE__ */ r.jsx(
1863
1950
  "input",
1864
1951
  {
@@ -1870,12 +1957,12 @@ const da = ({
1870
1957
  onFocus: () => c?.trackTimeClicked?.(),
1871
1958
  onChange: (n) => {
1872
1959
  const s = n.target.value;
1873
- w({ birthTime: s }), D("birthTime", s);
1960
+ _({ birthTime: s }), M("birthTime", s);
1874
1961
  },
1875
1962
  disabled: o.birthTimeUnknown,
1876
1963
  placeholder: "HH:MM AM",
1877
1964
  onClick: () => {
1878
- o.birthTimeUnknown || (X(V(o.birthTime || "12:00")), T((n) => !n));
1965
+ o.birthTimeUnknown || (J(Q(o.birthTime || "12:00")), L((n) => !n));
1879
1966
  }
1880
1967
  }
1881
1968
  ),
@@ -1888,7 +1975,7 @@ const da = ({
1888
1975
  disabled: o.birthTimeUnknown,
1889
1976
  onMouseDown: (n) => n.preventDefault(),
1890
1977
  onClick: (n) => {
1891
- n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (X(V(o.birthTime || "12:00")), T((s) => !s));
1978
+ n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (J(Q(o.birthTime || "12:00")), L((s) => !s));
1892
1979
  },
1893
1980
  children: /* @__PURE__ */ r.jsx(
1894
1981
  "img",
@@ -1901,7 +1988,7 @@ const da = ({
1901
1988
  )
1902
1989
  }
1903
1990
  ),
1904
- W && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
1991
+ C && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
1905
1992
  "div",
1906
1993
  {
1907
1994
  className: a.timePopover,
@@ -1913,8 +2000,8 @@ const da = ({
1913
2000
  "select",
1914
2001
  {
1915
2002
  className: a.timePickerSelect,
1916
- value: F.hour12,
1917
- onChange: (n) => X((s) => ({
2003
+ value: H.hour12,
2004
+ onChange: (n) => J((s) => ({
1918
2005
  ...s,
1919
2006
  hour12: Number(n.target.value)
1920
2007
  })),
@@ -1927,10 +2014,10 @@ const da = ({
1927
2014
  "select",
1928
2015
  {
1929
2016
  className: a.timePickerSelect,
1930
- value: F.minute,
1931
- onChange: (n) => X((s) => ({ ...s, minute: n.target.value })),
2017
+ value: H.minute,
2018
+ onChange: (n) => J((s) => ({ ...s, minute: n.target.value })),
1932
2019
  "aria-label": "Minute",
1933
- children: Array.from({ length: 60 }, (n, s) => te(s)).map(
2020
+ children: Array.from({ length: 60 }, (n, s) => ne(s)).map(
1934
2021
  (n) => /* @__PURE__ */ r.jsx("option", { value: n, children: n }, n)
1935
2022
  )
1936
2023
  }
@@ -1940,8 +2027,8 @@ const da = ({
1940
2027
  "button",
1941
2028
  {
1942
2029
  type: "button",
1943
- className: `${a.meridiemBtn} ${F.meridiem === "AM" ? a.meridiemActive : ""}`,
1944
- onClick: () => X((n) => ({ ...n, meridiem: "AM" })),
2030
+ className: `${a.meridiemBtn} ${H.meridiem === "AM" ? a.meridiemActive : ""}`,
2031
+ onClick: () => J((n) => ({ ...n, meridiem: "AM" })),
1945
2032
  children: "AM"
1946
2033
  }
1947
2034
  ),
@@ -1949,8 +2036,8 @@ const da = ({
1949
2036
  "button",
1950
2037
  {
1951
2038
  type: "button",
1952
- className: `${a.meridiemBtn} ${F.meridiem === "PM" ? a.meridiemActive : ""}`,
1953
- onClick: () => X((n) => ({ ...n, meridiem: "PM" })),
2039
+ className: `${a.meridiemBtn} ${H.meridiem === "PM" ? a.meridiemActive : ""}`,
2040
+ onClick: () => J((n) => ({ ...n, meridiem: "PM" })),
1954
2041
  children: "PM"
1955
2042
  }
1956
2043
  )
@@ -1962,7 +2049,7 @@ const da = ({
1962
2049
  {
1963
2050
  type: "button",
1964
2051
  className: a.timePopoverBtn,
1965
- onClick: () => T(!1),
2052
+ onClick: () => L(!1),
1966
2053
  children: "Cancel"
1967
2054
  }
1968
2055
  ),
@@ -1972,8 +2059,8 @@ const da = ({
1972
2059
  type: "button",
1973
2060
  className: `${a.timePopoverBtn} ${a.timePopoverOk}`,
1974
2061
  onClick: () => {
1975
- const n = oe(F);
1976
- w({ birthTime: n }), D("birthTime", n), T(!1);
2062
+ const n = ie(H);
2063
+ _({ birthTime: n }), M("birthTime", n), L(!1);
1977
2064
  },
1978
2065
  "aria-label": "OK",
1979
2066
  children: /* @__PURE__ */ r.jsx(
@@ -2013,7 +2100,7 @@ const da = ({
2013
2100
  type: "checkbox",
2014
2101
  checked: o.birthTimeUnknown,
2015
2102
  onChange: (n) => {
2016
- c?.trackTimeCheckboxClicked?.(), w({
2103
+ c?.trackTimeCheckboxClicked?.(), _({
2017
2104
  birthTimeUnknown: n.target.checked,
2018
2105
  birthTime: n.target.checked ? "" : o.birthTime
2019
2106
  });
@@ -2051,7 +2138,7 @@ const da = ({
2051
2138
  onClick: () => {
2052
2139
  c?.trackInfoIconClicked?.({
2053
2140
  fieldName: "birthPlace"
2054
- }), ne((n) => n === "place" ? null : "place");
2141
+ }), oe((n) => n === "place" ? null : "place");
2055
2142
  },
2056
2143
  children: /* @__PURE__ */ r.jsx(
2057
2144
  "img",
@@ -2070,7 +2157,7 @@ const da = ({
2070
2157
  ] })
2071
2158
  ] })
2072
2159
  ] }),
2073
- /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: ce, children: [
2160
+ /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: ue, children: [
2074
2161
  /* @__PURE__ */ r.jsx(
2075
2162
  "input",
2076
2163
  {
@@ -2080,14 +2167,10 @@ const da = ({
2080
2167
  value: o.birthPlace,
2081
2168
  onChange: (n) => {
2082
2169
  const s = n.target.value;
2083
- w({
2084
- birthPlace: s,
2085
- birthPlaceLat: void 0,
2086
- birthPlaceLng: void 0
2087
- }), D("birthPlace", s), ie(!0);
2170
+ _({ birthPlace: s }), M("birthPlace", s), se(!0);
2088
2171
  },
2089
2172
  onFocus: () => {
2090
- c?.trackPlaceOfBirthClicked?.(), ie(!0);
2173
+ c?.trackPlaceOfBirthClicked?.(), se(!0);
2091
2174
  },
2092
2175
  placeholder: t("formBirthPlacePlaceholder"),
2093
2176
  autoComplete: "address-level2"
@@ -2102,31 +2185,26 @@ const da = ({
2102
2185
  "aria-hidden": !0
2103
2186
  }
2104
2187
  ) }),
2105
- ae && we.length > 0 && /* @__PURE__ */ r.jsx("div", { className: a.suggestions, role: "listbox", children: we.slice(0, 8).map((n) => /* @__PURE__ */ r.jsxs(
2188
+ le && ce.length > 0 && /* @__PURE__ */ r.jsx("div", { className: a.suggestions, role: "listbox", children: ce.slice(0, 8).map((n) => /* @__PURE__ */ r.jsxs(
2106
2189
  "button",
2107
2190
  {
2108
2191
  type: "button",
2109
2192
  className: a.suggestionItem,
2110
2193
  onClick: () => {
2111
- w({
2112
- birthPlace: n.description,
2113
- birthPlaceLat: n.lat,
2114
- birthPlaceLng: n.lng
2115
- }), y(), ie(!1);
2194
+ _({ birthPlace: n.description }), ke(), se(!1);
2116
2195
  },
2117
2196
  children: [
2118
- /* @__PURE__ */ r.jsx("span", { className: a.suggestionMain, children: n.description }),
2119
- !!n.secondary_text && /* @__PURE__ */ r.jsx("span", { className: a.suggestionSecondary, children: n.secondary_text })
2197
+ /* @__PURE__ */ r.jsx("span", { className: a.suggestionMain, children: n.structured_formatting?.main_text ?? n.description }),
2198
+ n.structured_formatting?.secondary_text && /* @__PURE__ */ r.jsx("span", { className: a.suggestionSecondary, children: n.structured_formatting.secondary_text })
2120
2199
  ]
2121
2200
  },
2122
- n.id
2201
+ n.place_id
2123
2202
  )) }),
2124
- ae && !!z && be && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: "Loading…" }),
2125
- ae && !!z && !be && !!xe && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: xe })
2126
- ] }),
2127
- ue && /* @__PURE__ */ r.jsx("p", { className: a.fieldError, children: "Please select a place from the dropdown list." })
2203
+ le && pe && we && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: "Loading…" }),
2204
+ le && pe && !we && !!_e && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: _e })
2205
+ ] })
2128
2206
  ] }),
2129
- S && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
2207
+ x && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
2130
2208
  /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
2131
2209
  t("formReportLanguage"),
2132
2210
  /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
@@ -2145,7 +2223,7 @@ const da = ({
2145
2223
  type: "button",
2146
2224
  className: `${a.choiceBtn} ${o.language_code === "hi" ? a.choiceBtnActive : ""}`,
2147
2225
  onClick: () => {
2148
- w({ language_code: "hi" }), c?.trackLanguageOfReportSelected?.({
2226
+ _({ language_code: "hi" }), c?.trackLanguageOfReportSelected?.({
2149
2227
  language: "hi"
2150
2228
  });
2151
2229
  },
@@ -2161,7 +2239,7 @@ const da = ({
2161
2239
  type: "button",
2162
2240
  className: `${a.choiceBtn} ${o.language_code === "en" ? a.choiceBtnActive : ""}`,
2163
2241
  onClick: () => {
2164
- w({ language_code: "en" }), c?.trackLanguageOfReportSelected?.({
2242
+ _({ language_code: "en" }), c?.trackLanguageOfReportSelected?.({
2165
2243
  language: "en"
2166
2244
  });
2167
2245
  },
@@ -2177,7 +2255,7 @@ const da = ({
2177
2255
  type: "button",
2178
2256
  className: `${a.choiceBtn} ${o.language_code === "te" ? a.choiceBtnActive : ""}`,
2179
2257
  onClick: () => {
2180
- w({ language_code: "te" }), c?.trackLanguageOfReportSelected?.({
2258
+ _({ language_code: "te" }), c?.trackLanguageOfReportSelected?.({
2181
2259
  language: "te"
2182
2260
  });
2183
2261
  },
@@ -2193,7 +2271,7 @@ const da = ({
2193
2271
  type: "button",
2194
2272
  className: `${a.choiceBtn} ${o.language_code === "ta" ? a.choiceBtnActive : ""}`,
2195
2273
  onClick: () => {
2196
- w({ language_code: "ta" }), c?.trackLanguageOfReportSelected?.({
2274
+ _({ language_code: "ta" }), c?.trackLanguageOfReportSelected?.({
2197
2275
  language: "ta"
2198
2276
  });
2199
2277
  },
@@ -2209,7 +2287,7 @@ const da = ({
2209
2287
  type: "button",
2210
2288
  className: `${a.choiceBtn} ${o.language_code === "kn" ? a.choiceBtnActive : ""}`,
2211
2289
  onClick: () => {
2212
- w({ language_code: "kn" }), c?.trackLanguageOfReportSelected?.({
2290
+ _({ language_code: "kn" }), c?.trackLanguageOfReportSelected?.({
2213
2291
  language: "kn"
2214
2292
  });
2215
2293
  },
@@ -2225,7 +2303,7 @@ const da = ({
2225
2303
  type: "button",
2226
2304
  className: `${a.choiceBtn} ${o.language_code === "gu" ? a.choiceBtnActive : ""}`,
2227
2305
  onClick: () => {
2228
- w({ language_code: "gu" }), c?.trackLanguageOfReportSelected?.({
2306
+ _({ language_code: "gu" }), c?.trackLanguageOfReportSelected?.({
2229
2307
  language: "gu"
2230
2308
  });
2231
2309
  },
@@ -2241,7 +2319,7 @@ const da = ({
2241
2319
  type: "button",
2242
2320
  className: `${a.choiceBtn} ${o.language_code === "mr" ? a.choiceBtnActive : ""}`,
2243
2321
  onClick: () => {
2244
- w({ language_code: "mr" }), c?.trackLanguageOfReportSelected?.({
2322
+ _({ language_code: "mr" }), c?.trackLanguageOfReportSelected?.({
2245
2323
  language: "mr"
2246
2324
  });
2247
2325
  },
@@ -2257,21 +2335,21 @@ const da = ({
2257
2335
  ] }) })
2258
2336
  }
2259
2337
  );
2260
- }, ua = "_ctaButton_rhimw_2", ma = "_ctaFilled_rhimw_21", fa = "_ctaFilledContent_rhimw_52", pa = "_chevronRight_rhimw_61", Ne = {
2338
+ }, ua = "_ctaButton_rhimw_2", ma = "_ctaFilled_rhimw_21", fa = "_ctaFilledContent_rhimw_52", pa = "_chevronRight_rhimw_61", Ee = {
2261
2339
  ctaButton: ua,
2262
2340
  ctaFilled: ma,
2263
2341
  ctaFilledContent: fa,
2264
2342
  chevronRight: pa
2265
2343
  }, hr = "kundli-report-astrologer", ha = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", ga = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", _a = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", ba = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", ya = ({ t }) => {
2266
- const d = Re()?.config.imageComponent ?? De;
2267
- return /* @__PURE__ */ r.jsxs("div", { className: ke.marqueeContent, children: [
2268
- /* @__PURE__ */ r.jsxs("span", { className: ke.badge, children: [
2344
+ const d = Ne()?.config.imageComponent ?? Le;
2345
+ return /* @__PURE__ */ r.jsxs("div", { className: xe.marqueeContent, children: [
2346
+ /* @__PURE__ */ r.jsxs("span", { className: xe.badge, children: [
2269
2347
  /* @__PURE__ */ r.jsx(
2270
2348
  d,
2271
2349
  {
2272
2350
  src: ha,
2273
2351
  alt: "",
2274
- className: ke.badgeIcon,
2352
+ className: xe.badgeIcon,
2275
2353
  width: 16,
2276
2354
  height: 16,
2277
2355
  loading: "lazy"
@@ -2279,13 +2357,13 @@ const da = ({
2279
2357
  ),
2280
2358
  t("ctaKundliCreated")
2281
2359
  ] }),
2282
- /* @__PURE__ */ r.jsxs("span", { className: ke.badge, children: [
2360
+ /* @__PURE__ */ r.jsxs("span", { className: xe.badge, children: [
2283
2361
  /* @__PURE__ */ r.jsx(
2284
2362
  d,
2285
2363
  {
2286
2364
  src: ga,
2287
2365
  alt: "",
2288
- className: ke.badgeIcon,
2366
+ className: xe.badgeIcon,
2289
2367
  width: 16,
2290
2368
  height: 16,
2291
2369
  loading: "lazy"
@@ -2293,13 +2371,13 @@ const da = ({
2293
2371
  ),
2294
2372
  t("ctaCertified")
2295
2373
  ] }),
2296
- /* @__PURE__ */ r.jsxs("span", { className: ke.badge, children: [
2374
+ /* @__PURE__ */ r.jsxs("span", { className: xe.badge, children: [
2297
2375
  /* @__PURE__ */ r.jsx(
2298
2376
  d,
2299
2377
  {
2300
2378
  src: _a,
2301
2379
  alt: "",
2302
- className: ke.badgeIcon,
2380
+ className: xe.badgeIcon,
2303
2381
  width: 16,
2304
2382
  height: 16,
2305
2383
  loading: "lazy"
@@ -2308,81 +2386,69 @@ const da = ({
2308
2386
  t("ctaSecurePayment")
2309
2387
  ] })
2310
2388
  ] });
2311
- }, va = (t) => /.+@.+\..+/.test(t), ka = (t) => /^\d{10}$/.test(t), wa = (t, o, d) => {
2389
+ }, ka = (t) => /.+@.+\..+/.test(t), va = (t) => /^\d{10}$/.test(t), xa = (t, o, d) => {
2312
2390
  if (!t.fullName.trim()) return "fullName";
2313
2391
  if (o) {
2314
- if (!va(t.email.trim())) return "email";
2315
- } else if (!ka((t.phone ?? "").trim())) return "phone";
2392
+ if (!ka(t.email.trim())) return "email";
2393
+ } else if (!va((t.phone ?? "").trim())) return "phone";
2316
2394
  if (!t.dateOfBirth) return "dateOfBirth";
2317
2395
  if (!t.birthPlace.trim()) return "birthPlace";
2318
- if (!Number.isFinite(t.birthPlaceLat) || !Number.isFinite(t.birthPlaceLng))
2319
- return "birthPlaceCoordinates";
2320
2396
  if (d) {
2321
2397
  if (!t.gender) return "gender";
2322
2398
  if (!t.language_code) return "language_code";
2323
2399
  }
2324
2400
  return !t.birthTimeUnknown && !t.birthTime ? "birthTime" : null;
2325
- }, xa = ({
2401
+ }, wa = ({
2326
2402
  t,
2327
2403
  values: o,
2328
2404
  phoneIsdCode: d,
2329
- hideOriginalPrice: m = !1,
2330
- requireV1ExtraFields: k = !1,
2331
- onValidationFailed: S,
2332
- onProceed: x,
2333
- onProceedGuidance: j,
2334
- href: A,
2335
- analytics: E,
2405
+ hideOriginalPrice: u = !1,
2406
+ requireV1ExtraFields: y = !1,
2407
+ onValidationFailed: x,
2408
+ onProceed: h,
2409
+ onProceedGuidance: N,
2410
+ href: w,
2411
+ analytics: F,
2336
2412
  className: c = "",
2337
- discountedPriceLabel: N,
2413
+ discountedPriceLabel: S,
2338
2414
  showPlanSheet: p,
2339
- confirmPlan: I,
2340
- planSheetOpen: g,
2341
- selectedPlan: B
2415
+ confirmPlan: D,
2416
+ planSheetOpen: k,
2417
+ selectedPlan: E
2342
2418
  }) => {
2343
- const C = Re(), b = C?.config.isGlobal ?? !0, h = C?.config?.variant, [U, w] = K(!1), D = Ue(
2344
- () => wa(o, b, k),
2345
- [o, b, k]
2346
- ), G = D === null, J = h === "v1" && C?.config?.showSheet;
2347
- Y(() => {
2348
- if (!U) return;
2349
- const Q = window.setTimeout(() => {
2350
- w(!1);
2351
- }, 2200);
2352
- return () => window.clearTimeout(Q);
2353
- }, [U]);
2354
- const re = b ? N ?? t("formDiscountedPrice") : J ? "" : "₹499", q = C?.config.imageComponent ?? De, M = (Q) => {
2355
- if (Q.preventDefault(), console.log("Proceed button clicked with values:", h, G, h === "v1" && !G), h === "v1" && !G && E?.trackKundliDetailedClicked?.(), !G) {
2356
- D && (S?.(
2357
- D === "birthPlaceCoordinates" ? "birthPlace" : D
2358
- ), D === "birthPlaceCoordinates" && w(!0));
2419
+ const A = Ne(), T = A?.config.isGlobal ?? !0, g = A?.config?.variant, G = Ge(
2420
+ () => xa(o, T, y),
2421
+ [o, T, y]
2422
+ ), _ = G === null, M = g === "v1" && A?.config?.showSheet, O = T ? S ?? t("formDiscountedPrice") : M ? "" : "₹499", $ = A?.config.imageComponent ?? Le, Z = (B) => {
2423
+ if (B.preventDefault(), !_) {
2424
+ G && x?.(G);
2359
2425
  return;
2360
2426
  }
2361
- const W = !!j && h === "v1" && B?.id === hr, T = (o.phone ?? "").trim(), F = {
2427
+ const z = !!N && g === "v1" && E?.id === hr, U = (o.phone ?? "").trim(), C = {
2362
2428
  ...o,
2363
- phone: T && `${d}-${T}`
2429
+ phone: U && `${d}-${U}`
2364
2430
  };
2365
- if (J) {
2366
- g ? I?.() : p?.(F);
2431
+ if (M) {
2432
+ k ? D?.() : p?.(C);
2367
2433
  return;
2368
2434
  }
2369
- E?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), W ? j(F) : x?.(F);
2370
- }, se = /* @__PURE__ */ r.jsx(
2371
- Fr,
2435
+ F?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), z ? N(C) : h?.(C);
2436
+ }, R = /* @__PURE__ */ r.jsx(
2437
+ Or,
2372
2438
  {
2373
- href: A,
2374
- disabled: h === "v1" ? !1 : !G,
2375
- onClick: M,
2439
+ href: w,
2440
+ disabled: g === "v1" ? !1 : !_,
2441
+ onClick: Z,
2376
2442
  "aria-label": t("formPriceAria"),
2377
- className: h === "v1" && G ? Ne.ctaFilled : h === "v1" ? Ne.ctaButton : void 0,
2378
- children: h === "v1" ? G ? /* @__PURE__ */ r.jsxs("span", { className: Ne.ctaFilledContent, children: [
2379
- J ? t("selectPackage") : g && B ? `${t("proceedWithPlan")}${B.price}` : `${t("formProceed")} ${re}`,
2443
+ className: g === "v1" && _ ? Ee.ctaFilled : g === "v1" ? Ee.ctaButton : void 0,
2444
+ children: g === "v1" ? _ ? /* @__PURE__ */ r.jsxs("span", { className: Ee.ctaFilledContent, children: [
2445
+ M ? t("selectPackage") : k && E ? `${t("proceedWithPlan")}${E.price}` : `${t("formProceed")} ${O}`,
2380
2446
  /* @__PURE__ */ r.jsx(
2381
- q,
2447
+ $,
2382
2448
  {
2383
2449
  src: ba,
2384
2450
  alt: "",
2385
- className: Ne.chevronRight,
2451
+ className: Ee.chevronRight,
2386
2452
  width: 20,
2387
2453
  height: 20,
2388
2454
  loading: "lazy"
@@ -2391,37 +2457,34 @@ const da = ({
2391
2457
  ] }) : t("formCtaDefault") : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
2392
2458
  t("formProceed"),
2393
2459
  " ",
2394
- re
2460
+ O
2395
2461
  ] })
2396
2462
  }
2397
2463
  );
2398
- return /* @__PURE__ */ r.jsxs(
2399
- Or,
2464
+ return /* @__PURE__ */ r.jsx(
2465
+ Fr,
2400
2466
  {
2401
- className: `${Ne.footerContainer} ${c}`,
2467
+ className: `${Ee.footerContainer} ${c}`,
2402
2468
  marquee: /* @__PURE__ */ r.jsx(Mr, { children: /* @__PURE__ */ r.jsx(ya, { t }) }),
2403
- children: [
2404
- U && /* @__PURE__ */ r.jsx("div", { className: Ne.validationToast, role: "alert", "aria-live": "assertive", children: t("formFillAllFields") }),
2405
- se
2406
- ]
2469
+ children: R
2407
2470
  }
2408
2471
  );
2409
2472
  }, Pa = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Aa = ({
2410
2473
  t,
2411
2474
  languageSelector: o,
2412
2475
  logoUrl: d = Pa,
2413
- className: m = ""
2476
+ className: u = ""
2414
2477
  }) => {
2415
- const k = Re(), S = k?.config.isGlobal ?? !0, x = o != null && !S;
2478
+ const y = Ne(), x = y?.config.isGlobal ?? !0, h = o != null && !x;
2416
2479
  return /* @__PURE__ */ r.jsx(
2417
2480
  $r,
2418
2481
  {
2419
2482
  t,
2420
2483
  logoUrl: d,
2421
- imageComponent: k?.config.imageComponent,
2484
+ imageComponent: y?.config.imageComponent,
2422
2485
  languageSelector: o,
2423
- showLanguageSelector: x,
2424
- className: m
2486
+ showLanguageSelector: h,
2487
+ className: u
2425
2488
  }
2426
2489
  );
2427
2490
  }, Ca = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
@@ -2444,7 +2507,7 @@ const da = ({
2444
2507
  ) }), Na = () => /* @__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" }) }), Ta = () => /* @__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: [
2445
2508
  /* @__PURE__ */ r.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
2446
2509
  /* @__PURE__ */ r.jsx("polyline", { points: "17 6 23 6 23 12" })
2447
- ] }), Ra = "_overlay_18irl_2", Sa = "_sheet_18irl_12", Ea = "_header_18irl_36", Ia = "_backBtn_18irl_48", Ba = "_title_18irl_66", La = "_plansContainer_18irl_78", Da = "_planCard_18irl_87", Fa = "_withBadgeSpacing_18irl_101", Oa = "_planCardSelected_18irl_105", Ma = "_planCardPopular_18irl_110", $a = "_popularBadge_18irl_119", Ua = "_planCardInner_18irl_137", Ga = "_planTitleRow_18irl_148", Wa = "_planTitle_18irl_148", Ka = "_radioCircle_18irl_163", Ha = "_radioChecked_18irl_176", Ya = "_radioInner_18irl_181", qa = "_priceRow_18irl_189", Va = "_price_18irl_189", za = "_originalPrice_18irl_202", Ja = "_savingsBadge_18irl_209", Qa = "_featureList_18irl_219", Xa = "_featureItem_18irl_228", Za = "_featureIcon_18irl_234", en = "_featureText_18irl_240", rn = "_astrologerHeading_18irl_251", tn = "_astrologerList_18irl_258", an = "_astrologerCard_18irl_274", nn = "_astrologerAvatar_18irl_290", on = "_astrologerAvatarPlaceholder_18irl_307", ln = "_astrologerTop_18irl_313", sn = "_astrologerBasicInfo_18irl_319", cn = "_astrologerName_18irl_326", dn = "_astrologerExp_18irl_335", un = "_astrologerDivider_18irl_341", mn = "_planDivider_18irl_347", fn = "_astrologerCertList_18irl_354", pn = "_astrologerCertItem_18irl_360", hn = "_bullet_18irl_368", gn = "_footer_18irl_373", _n = "_proceedBtn_18irl_383", f = {
2510
+ ] }), Ra = "_overlay_18irl_2", Sa = "_sheet_18irl_12", Ea = "_header_18irl_36", Ia = "_backBtn_18irl_48", Ba = "_title_18irl_66", La = "_plansContainer_18irl_78", Da = "_planCard_18irl_87", Oa = "_withBadgeSpacing_18irl_101", Fa = "_planCardSelected_18irl_105", Ma = "_planCardPopular_18irl_110", $a = "_popularBadge_18irl_119", Ua = "_planCardInner_18irl_137", Ga = "_planTitleRow_18irl_148", Ka = "_planTitle_18irl_148", Wa = "_radioCircle_18irl_163", Ha = "_radioChecked_18irl_176", Ya = "_radioInner_18irl_181", qa = "_priceRow_18irl_189", Va = "_price_18irl_189", Ja = "_originalPrice_18irl_202", za = "_savingsBadge_18irl_209", Qa = "_featureList_18irl_219", Xa = "_featureItem_18irl_228", Za = "_featureIcon_18irl_234", en = "_featureText_18irl_240", rn = "_astrologerHeading_18irl_251", tn = "_astrologerList_18irl_258", an = "_astrologerCard_18irl_274", nn = "_astrologerAvatar_18irl_290", on = "_astrologerAvatarPlaceholder_18irl_307", ln = "_astrologerTop_18irl_313", sn = "_astrologerBasicInfo_18irl_319", cn = "_astrologerName_18irl_326", dn = "_astrologerExp_18irl_335", un = "_astrologerDivider_18irl_341", mn = "_planDivider_18irl_347", fn = "_astrologerCertList_18irl_354", pn = "_astrologerCertItem_18irl_360", hn = "_bullet_18irl_368", gn = "_footer_18irl_373", _n = "_proceedBtn_18irl_383", f = {
2448
2511
  overlay: Ra,
2449
2512
  sheet: Sa,
2450
2513
  header: Ea,
@@ -2452,20 +2515,20 @@ const da = ({
2452
2515
  title: Ba,
2453
2516
  plansContainer: La,
2454
2517
  planCard: Da,
2455
- withBadgeSpacing: Fa,
2456
- planCardSelected: Oa,
2518
+ withBadgeSpacing: Oa,
2519
+ planCardSelected: Fa,
2457
2520
  planCardPopular: Ma,
2458
2521
  popularBadge: $a,
2459
2522
  planCardInner: Ua,
2460
2523
  planTitleRow: Ga,
2461
- planTitle: Wa,
2462
- radioCircle: Ka,
2524
+ planTitle: Ka,
2525
+ radioCircle: Wa,
2463
2526
  radioChecked: Ha,
2464
2527
  radioInner: Ya,
2465
2528
  priceRow: qa,
2466
2529
  price: Va,
2467
- originalPrice: za,
2468
- savingsBadge: Ja,
2530
+ originalPrice: Ja,
2531
+ savingsBadge: za,
2469
2532
  featureList: Qa,
2470
2533
  featureItem: Xa,
2471
2534
  featureIcon: Za,
@@ -2498,7 +2561,7 @@ const da = ({
2498
2561
  }
2499
2562
  ),
2500
2563
  /* @__PURE__ */ r.jsx("h2", { className: f.title, children: t })
2501
- ] }), yn = ({ features: t, t: o }) => /* @__PURE__ */ r.jsx("ul", { className: f.featureList, "aria-label": "Plan features", children: t.map((d, m) => /* @__PURE__ */ r.jsxs("li", { className: f.featureItem, children: [
2564
+ ] }), yn = ({ features: t, t: o }) => /* @__PURE__ */ r.jsx("ul", { className: f.featureList, "aria-label": "Plan features", children: t.map((d, u) => /* @__PURE__ */ r.jsxs("li", { className: f.featureItem, children: [
2502
2565
  /* @__PURE__ */ r.jsx("span", { className: f.featureIcon, children: d.included ? /* @__PURE__ */ r.jsx(Ca, {}) : /* @__PURE__ */ r.jsx(ja, {}) }),
2503
2566
  /* @__PURE__ */ r.jsx(
2504
2567
  "span",
@@ -2507,7 +2570,7 @@ const da = ({
2507
2570
  children: o?.(d.text) ?? d.text
2508
2571
  }
2509
2572
  )
2510
- ] }, m)) }), vn = ({ astrologer: t, t: o }) => /* @__PURE__ */ r.jsxs("div", { className: f.astrologerCard, children: [
2573
+ ] }, u)) }), kn = ({ astrologer: t, t: o }) => /* @__PURE__ */ r.jsxs("div", { className: f.astrologerCard, children: [
2511
2574
  /* @__PURE__ */ r.jsxs("div", { className: f.astrologerTop, children: [
2512
2575
  /* @__PURE__ */ r.jsx("div", { className: f.astrologerAvatar, "aria-hidden": !0, children: t.imageUrl ? /* @__PURE__ */ r.jsx("img", { src: t.imageUrl, alt: o?.(t.name) ?? t.name, width: 40, height: 40 }) : /* @__PURE__ */ r.jsx("span", { className: f.astrologerAvatarPlaceholder, children: t.name.charAt(0) }) }),
2513
2576
  /* @__PURE__ */ r.jsxs("div", { className: f.astrologerBasicInfo, children: [
@@ -2516,17 +2579,17 @@ const da = ({
2516
2579
  ] })
2517
2580
  ] }),
2518
2581
  /* @__PURE__ */ r.jsx("div", { className: f.astrologerDivider }),
2519
- /* @__PURE__ */ r.jsx("div", { className: f.astrologerCertList, children: t.certifications.map((d, m) => /* @__PURE__ */ r.jsxs("p", { className: f.astrologerCertItem, children: [
2582
+ /* @__PURE__ */ r.jsx("div", { className: f.astrologerCertList, children: t.certifications.map((d, u) => /* @__PURE__ */ r.jsxs("p", { className: f.astrologerCertItem, children: [
2520
2583
  /* @__PURE__ */ r.jsx("span", { className: f.bullet, children: "•" }),
2521
2584
  " ",
2522
2585
  o?.(d) ?? d
2523
- ] }, m)) })
2524
- ] }), kn = ({ label: t }) => /* @__PURE__ */ r.jsxs("div", { className: f.popularBadge, "aria-label": t, children: [
2586
+ ] }, u)) })
2587
+ ] }), vn = ({ label: t }) => /* @__PURE__ */ r.jsxs("div", { className: f.popularBadge, "aria-label": t, children: [
2525
2588
  /* @__PURE__ */ r.jsx(Ta, {}),
2526
2589
  /* @__PURE__ */ r.jsx("span", { children: t })
2527
- ] }), wn = ({ plan: t, isSelected: o, onSelect: d, t: m }) => {
2528
- const k = () => d(t.id), S = (x) => {
2529
- (x.key === " " || x.key === "Enter") && (x.preventDefault(), d(t.id));
2590
+ ] }), xn = ({ plan: t, isSelected: o, onSelect: d, t: u }) => {
2591
+ const y = () => d(t.id), x = (h) => {
2592
+ (h.key === " " || h.key === "Enter") && (h.preventDefault(), d(t.id));
2530
2593
  };
2531
2594
  return /* @__PURE__ */ r.jsxs(
2532
2595
  "div",
@@ -2536,17 +2599,17 @@ const da = ({
2536
2599
  o ? f.planCardSelected : "",
2537
2600
  o && f.planCardPopular
2538
2601
  ].filter(Boolean).join(" "),
2539
- onClick: k,
2602
+ onClick: y,
2540
2603
  role: "radio",
2541
2604
  "aria-checked": o,
2542
2605
  tabIndex: 0,
2543
- onKeyDown: S,
2606
+ onKeyDown: x,
2544
2607
  "data-plan-id": t.id,
2545
2608
  children: [
2546
- t.badge && /* @__PURE__ */ r.jsx(kn, { label: m?.(t.badge) ?? t.badge }),
2609
+ t.badge && /* @__PURE__ */ r.jsx(vn, { label: u?.(t.badge) ?? t.badge }),
2547
2610
  /* @__PURE__ */ r.jsxs("div", { className: f.planCardInner, children: [
2548
2611
  /* @__PURE__ */ r.jsxs("div", { className: `${f.planTitleRow} ${t.badge ? f.withBadgeSpacing : ""}`, children: [
2549
- /* @__PURE__ */ r.jsx("span", { className: f.planTitle, children: m?.(t.title) ?? t.title }),
2612
+ /* @__PURE__ */ r.jsx("span", { className: f.planTitle, children: u?.(t.title) ?? t.title }),
2550
2613
  /* @__PURE__ */ r.jsx(
2551
2614
  "span",
2552
2615
  {
@@ -2559,19 +2622,19 @@ const da = ({
2559
2622
  /* @__PURE__ */ r.jsxs("div", { className: f.priceRow, children: [
2560
2623
  /* @__PURE__ */ r.jsx("span", { className: f.price, children: t.price }),
2561
2624
  t.originalPrice && /* @__PURE__ */ r.jsx("span", { className: f.originalPrice, children: t.originalPrice }),
2562
- t.savingsLabel && /* @__PURE__ */ r.jsx("span", { className: f.savingsBadge, children: m?.(t.savingsLabel, { percent: 25 }) ?? t.savingsLabel })
2625
+ t.savingsLabel && /* @__PURE__ */ r.jsx("span", { className: f.savingsBadge, children: u?.(t.savingsLabel, { percent: 25 }) ?? t.savingsLabel })
2563
2626
  ] }),
2564
- /* @__PURE__ */ r.jsx(yn, { features: t.features, t: m }),
2627
+ /* @__PURE__ */ r.jsx(yn, { features: t.features, t: u }),
2565
2628
  t.astrologers && /* @__PURE__ */ r.jsx("div", { className: f.planDivider }),
2566
2629
  t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
2567
- /* @__PURE__ */ r.jsx("p", { className: f.astrologerHeading, children: m?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
2568
- /* @__PURE__ */ r.jsx("div", { className: f.astrologerList, role: "list", children: t.astrologers.map((x, j) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(vn, { astrologer: x, t: m }) }, j)) })
2630
+ /* @__PURE__ */ r.jsx("p", { className: f.astrologerHeading, children: u?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
2631
+ /* @__PURE__ */ r.jsx("div", { className: f.astrologerList, role: "list", children: t.astrologers.map((h, N) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(kn, { astrologer: h, t: u }) }, N)) })
2569
2632
  ] })
2570
2633
  ] })
2571
2634
  ]
2572
2635
  }
2573
2636
  );
2574
- }, xn = [
2637
+ }, wn = [
2575
2638
  {
2576
2639
  id: "jyoti",
2577
2640
  name: "planAstrologerNameJyoti",
@@ -2625,7 +2688,7 @@ const da = ({
2625
2688
  { text: "planFeatureRealTimeAnswers", included: !0 },
2626
2689
  { text: "planFeatureTailoredRemedies", included: !0 }
2627
2690
  ],
2628
- astrologers: xn.filter(
2691
+ astrologers: wn.filter(
2629
2692
  (o) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(o.id)
2630
2693
  )
2631
2694
  }
@@ -2633,31 +2696,31 @@ const da = ({
2633
2696
  isOpen: t,
2634
2697
  onClose: o,
2635
2698
  selectedPlan: d,
2636
- onSelectPlan: m,
2637
- plans: k,
2638
- onProceed: S,
2639
- t: x,
2640
- analytics: j
2699
+ onSelectPlan: u,
2700
+ plans: y,
2701
+ onProceed: x,
2702
+ t: h,
2703
+ analytics: N
2641
2704
  }) => {
2642
- const E = Re()?.config.isGlobal ?? !0, c = k ?? Pn(E), N = d?.id || c.find((C) => C.badge)?.id || c[0]?.id || "", p = H(null), I = H(null), g = H(!1);
2643
- Y(() => {
2705
+ const F = Ne()?.config.isGlobal ?? !0, c = y ?? Pn(F), S = d?.id || c.find((A) => A.badge)?.id || c[0]?.id || "", p = q(null), D = q(null), k = q(!1);
2706
+ X(() => {
2644
2707
  if (t) {
2645
2708
  if (!d) {
2646
- const C = c.find((b) => b.badge) ?? c[0];
2647
- C && m(C);
2709
+ const A = c.find((T) => T.badge) ?? c[0];
2710
+ A && u(A);
2648
2711
  }
2649
- g.current || (j?.trackPlanPageViewed?.(), g.current = !0);
2712
+ k.current || (N?.trackPlanPageViewed?.(), k.current = !0);
2650
2713
  } else
2651
- g.current = !1;
2652
- }, [t, c, d, m, j]);
2653
- const B = () => {
2654
- j?.trackPlanPageClosed?.(), o();
2714
+ k.current = !1;
2715
+ }, [t, c, d, u, N]);
2716
+ const E = () => {
2717
+ N?.trackPlanPageClosed?.(), o();
2655
2718
  };
2656
- return Y(() => {
2719
+ return X(() => {
2657
2720
  if (!t) return;
2658
- const C = document.body.style.overflow;
2721
+ const A = document.body.style.overflow;
2659
2722
  return document.body.style.overflow = "hidden", () => {
2660
- document.body.style.overflow = C;
2723
+ document.body.style.overflow = A;
2661
2724
  };
2662
2725
  }, [t]), t ? /* @__PURE__ */ r.jsx(
2663
2726
  "div",
@@ -2665,7 +2728,7 @@ const da = ({
2665
2728
  className: f.overlay,
2666
2729
  role: "dialog",
2667
2730
  "aria-modal": "true",
2668
- "aria-label": x?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2731
+ "aria-label": h?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2669
2732
  children: /* @__PURE__ */ r.jsxs(
2670
2733
  "div",
2671
2734
  {
@@ -2675,32 +2738,32 @@ const da = ({
2675
2738
  /* @__PURE__ */ r.jsx(
2676
2739
  bn,
2677
2740
  {
2678
- title: x?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2679
- onBack: B
2741
+ title: h?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2742
+ onBack: E
2680
2743
  }
2681
2744
  ),
2682
2745
  /* @__PURE__ */ r.jsx(
2683
2746
  "div",
2684
2747
  {
2685
- ref: I,
2748
+ ref: D,
2686
2749
  className: f.plansContainer,
2687
2750
  role: "radiogroup",
2688
2751
  "aria-label": "Kundli plans",
2689
- children: c.map((C) => /* @__PURE__ */ r.jsx(
2690
- wn,
2752
+ children: c.map((A) => /* @__PURE__ */ r.jsx(
2753
+ xn,
2691
2754
  {
2692
- plan: C,
2693
- isSelected: C.id === N,
2694
- t: x,
2695
- onSelect: (b) => {
2696
- const h = c.find((U) => U.id === b);
2697
- h && (j?.trackPlanSelected?.({
2698
- planId: h.id,
2699
- planName: h.title
2700
- }), m(h));
2755
+ plan: A,
2756
+ isSelected: A.id === S,
2757
+ t: h,
2758
+ onSelect: (T) => {
2759
+ const g = c.find((G) => G.id === T);
2760
+ g && (N?.trackPlanSelected?.({
2761
+ planId: g.id,
2762
+ planName: g.title
2763
+ }), u(g));
2701
2764
  }
2702
2765
  },
2703
- C.id
2766
+ A.id
2704
2767
  ))
2705
2768
  }
2706
2769
  ),
@@ -2710,12 +2773,12 @@ const da = ({
2710
2773
  className: f.proceedBtn,
2711
2774
  disabled: !d,
2712
2775
  onClick: () => {
2713
- d && (j?.trackPlanProceedClicked?.({
2776
+ d && (N?.trackPlanProceedClicked?.({
2714
2777
  planId: d.id,
2715
2778
  planName: d.title
2716
- }), S(d), o());
2779
+ }), x(d), o());
2717
2780
  },
2718
- children: d ? x?.("planProceedToPayment") ?? d.price + "Proceed to Payment" : "Select a plan"
2781
+ children: d ? h?.("planProceedToPayment") ?? d.price + "Proceed to Payment" : "Select a plan"
2719
2782
  }
2720
2783
  ) })
2721
2784
  ]
@@ -2732,80 +2795,78 @@ const da = ({
2732
2795
  dateOfBirth: "",
2733
2796
  birthTime: "",
2734
2797
  birthTimeUnknown: !1,
2735
- birthPlace: "",
2736
- birthPlaceLat: void 0,
2737
- birthPlaceLng: void 0
2798
+ birthPlace: ""
2738
2799
  }, Dn = ({
2739
2800
  className: t = "",
2740
2801
  locale: o,
2741
2802
  showLanguageSelector: d = !0,
2742
- onBack: m,
2743
- initialValues: k,
2744
- onProceed: S,
2745
- onProceedGuidance: x,
2746
- proceedHref: j,
2747
- originalPriceLabel: A,
2748
- discountedPriceLabel: E,
2749
- atlasSearchLocalities: c,
2750
- analytics: N
2803
+ onBack: u,
2804
+ initialValues: y,
2805
+ onProceed: x,
2806
+ onProceedGuidance: h,
2807
+ proceedHref: N,
2808
+ originalPriceLabel: w,
2809
+ discountedPriceLabel: F,
2810
+ googleMapsApiKey: c = "",
2811
+ analytics: S
2751
2812
  }) => {
2752
- const p = Re(), I = Kr(), g = p !== null, B = g ? p.locale : o, C = B ?? I?.locale ?? "en", [b, h] = K(C), U = g ? p.locale : b, w = g ? p.setLocale : h, [D, G] = K(!1), J = H(null), re = H(B), q = H(
2753
- I?.locale
2813
+ const p = Ne(), D = Wr(), k = p !== null, E = k ? p.locale : o, A = E ?? D?.locale ?? "en", [T, g] = V(A), G = k ? p.locale : T, _ = k ? p.setLocale : g, [M, O] = V(!1), $ = q(null), Z = q(E), R = q(
2814
+ D?.locale
2754
2815
  );
2755
- Y(() => {
2816
+ X(() => {
2756
2817
  window.scrollTo({ top: 0, left: 0, behavior: "auto" });
2757
2818
  }, []);
2758
- const M = (y) => jn(U, y);
2759
- Y(() => {
2760
- B && re.current !== B && w(B), re.current = B;
2761
- }, [B, w]), Y(() => {
2762
- if (B) return;
2763
- const y = I?.locale;
2764
- y && q.current !== y && w(y), q.current = y;
2765
- }, [I?.locale, B, w]);
2766
- const [se, Q] = K({
2819
+ const B = (P) => jn(G, P);
2820
+ X(() => {
2821
+ E && Z.current !== E && _(E), Z.current = E;
2822
+ }, [E, _]), X(() => {
2823
+ if (E) return;
2824
+ const P = D?.locale;
2825
+ P && R.current !== P && _(P), R.current = P;
2826
+ }, [D?.locale, E, _]);
2827
+ const [z, U] = V({
2767
2828
  ...Nn,
2768
- ...k,
2769
- phone: k?.phone ?? ""
2770
- }), W = g ? p?.config.isGlobal ?? !0 : !0, [T, F] = K(
2771
- W ? "+1" : "+91"
2829
+ ...y,
2830
+ phone: y?.phone ?? ""
2831
+ }), C = k ? p?.config.isGlobal ?? !0 : !0, [L, H] = V(
2832
+ C ? "+1" : "+91"
2772
2833
  );
2773
- Y(() => {
2774
- F(W ? "+1" : "+91");
2775
- }, [W]);
2776
- const X = g ? p.formValues : se, te = g ? p.setFormValues : Q, ge = g ? p.goToPage : m, V = g ? p.onProceed : S, oe = g ? p.onProceedGuidance : x, ce = g ? p.config.proceedHref : j, ae = g ? p.config.originalPriceLabel : A, ie = g ? p.config.discountedPriceLabel : E, fe = g ? p.config.showLanguageSelector ?? !0 : d, ne = (g ? p?.config?.analytics : N) ?? N;
2777
- Y(() => {
2778
- if (!D) return;
2779
- const y = (pe) => {
2780
- J.current && !J.current.contains(pe.target) && G(!1);
2834
+ X(() => {
2835
+ H(C ? "+1" : "+91");
2836
+ }, [C]);
2837
+ const J = k ? p.formValues : z, ne = k ? p.setFormValues : U, ge = k ? p.goToPage : u, Q = k ? p.onProceed : x, ie = k ? p.onProceedGuidance : h, ue = k ? p.config.proceedHref : N, le = k ? p.config.originalPriceLabel : w, se = k ? p.config.discountedPriceLabel : F, fe = k ? p.config.showLanguageSelector ?? !0 : d, oe = (k ? p?.config?.analytics : S) ?? S;
2838
+ X(() => {
2839
+ if (!M) return;
2840
+ const P = (n) => {
2841
+ $.current && !$.current.contains(n.target) && O(!1);
2781
2842
  };
2782
- return document.addEventListener("mousedown", y), () => document.removeEventListener("mousedown", y);
2783
- }, [D]);
2784
- const [de, _e] = K(!1), [z, ye] = K(null), ue = H(null), we = Te((y) => {
2785
- ue.current = y, _e(!0);
2786
- }, []), be = Te(() => {
2787
- if (ne?.trackPlanProceedClicked?.({
2788
- planId: z.id,
2789
- planName: z.title
2790
- }), !ue.current || !z) return;
2791
- const y = { ...ue.current, _selectedPlan: z };
2792
- z.id === hr && oe ? oe(y) : V?.(y), _e(!1), ue.current = null;
2793
- }, [z, V, oe]), xe = p?.config.imageComponent ?? De, Pe = fe ? /* @__PURE__ */ r.jsxs("div", { className: he.langDropdownWrap, ref: J, children: [
2843
+ return document.addEventListener("mousedown", P), () => document.removeEventListener("mousedown", P);
2844
+ }, [M]);
2845
+ const [pe, me] = V(!1), [ee, ye] = V(null), ce = q(null), we = be((P) => {
2846
+ ce.current = P, me(!0);
2847
+ }, []), _e = be(() => {
2848
+ if (oe?.trackPlanProceedClicked?.({
2849
+ planId: ee.id,
2850
+ planName: ee.title
2851
+ }), !ce.current || !ee) return;
2852
+ const P = { ...ce.current, _selectedPlan: ee };
2853
+ ee.id === hr && ie ? ie(P) : Q?.(P), me(!1), ce.current = null;
2854
+ }, [ee, Q, ie]), Pe = p?.config.imageComponent ?? Le, ke = fe ? /* @__PURE__ */ r.jsxs("div", { className: he.langDropdownWrap, ref: $, children: [
2794
2855
  /* @__PURE__ */ r.jsxs(
2795
2856
  "button",
2796
2857
  {
2797
2858
  type: "button",
2798
2859
  className: he.langTrigger,
2799
2860
  onClick: () => {
2800
- ne?.trackLanguageClickedFe?.({ language: U }), G((y) => !y);
2861
+ oe?.trackLanguageClickedFe?.({ language: G }), O((P) => !P);
2801
2862
  },
2802
- "aria-expanded": D,
2863
+ "aria-expanded": M,
2803
2864
  "aria-haspopup": "listbox",
2804
2865
  id: "kundli-form-lang",
2805
- "aria-label": M("language"),
2866
+ "aria-label": B("language"),
2806
2867
  children: [
2807
2868
  /* @__PURE__ */ r.jsx(
2808
- xe,
2869
+ Pe,
2809
2870
  {
2810
2871
  src: Cn,
2811
2872
  alt: "",
@@ -2815,30 +2876,30 @@ const da = ({
2815
2876
  loading: "eager"
2816
2877
  }
2817
2878
  ),
2818
- /* @__PURE__ */ r.jsx("span", { className: he.langLabel, children: ir[U] })
2879
+ /* @__PURE__ */ r.jsx("span", { className: he.langLabel, children: lr[G] })
2819
2880
  ]
2820
2881
  }
2821
2882
  ),
2822
- D && /* @__PURE__ */ r.jsx(
2883
+ M && /* @__PURE__ */ r.jsx(
2823
2884
  "ul",
2824
2885
  {
2825
2886
  className: he.langMenu,
2826
2887
  role: "listbox",
2827
2888
  "aria-labelledby": "kundli-form-lang",
2828
- "aria-activedescendant": `kundli-form-lang-option-${U}`,
2829
- children: dr.map((y) => /* @__PURE__ */ r.jsx(
2889
+ "aria-activedescendant": `kundli-form-lang-option-${G}`,
2890
+ children: dr.map((P) => /* @__PURE__ */ r.jsx(
2830
2891
  "li",
2831
2892
  {
2832
- id: `kundli-form-lang-option-${y}`,
2893
+ id: `kundli-form-lang-option-${P}`,
2833
2894
  role: "option",
2834
- "aria-selected": y === U,
2895
+ "aria-selected": P === G,
2835
2896
  className: he.langOption,
2836
2897
  onClick: () => {
2837
- ne?.trackLanguageChangedFe?.({ newLanguage: y }), w(y), G(!1);
2898
+ oe?.trackLanguageChangedFe?.({ newLanguage: P }), _(P), O(!1);
2838
2899
  },
2839
- children: ir[y]
2900
+ children: lr[P]
2840
2901
  },
2841
- y
2902
+ P
2842
2903
  ))
2843
2904
  }
2844
2905
  )
@@ -2847,61 +2908,61 @@ const da = ({
2847
2908
  /* @__PURE__ */ r.jsx(
2848
2909
  Aa,
2849
2910
  {
2850
- t: M,
2851
- logoUrl: g ? p.config.logoUrl : void 0,
2852
- languageSelector: Pe,
2911
+ t: B,
2912
+ logoUrl: k ? p.config.logoUrl : void 0,
2913
+ languageSelector: ke,
2853
2914
  className: he.kundliHeaderNoBorder
2854
2915
  }
2855
2916
  ),
2856
2917
  /* @__PURE__ */ r.jsx("div", { className: he.headerSeparator, "aria-hidden": !0 }),
2857
2918
  /* @__PURE__ */ r.jsxs("main", { className: he.main, children: [
2858
- /* @__PURE__ */ r.jsx(st, { t: M, onBack: ge }),
2919
+ /* @__PURE__ */ r.jsx(st, { t: B, onBack: ge }),
2859
2920
  /* @__PURE__ */ r.jsx(
2860
2921
  da,
2861
2922
  {
2862
- t: M,
2863
- values: X,
2864
- onChange: te,
2865
- atlasSearchLocalities: c,
2866
- phoneIsdCode: T,
2867
- onPhoneIsdCodeChange: F
2923
+ t: B,
2924
+ values: J,
2925
+ onChange: ne,
2926
+ googleMapsApiKey: c,
2927
+ phoneIsdCode: L,
2928
+ onPhoneIsdCodeChange: H
2868
2929
  }
2869
2930
  )
2870
2931
  ] }),
2871
2932
  /* @__PURE__ */ r.jsx(
2872
- xa,
2933
+ wa,
2873
2934
  {
2874
- t: M,
2875
- values: X,
2876
- phoneIsdCode: T,
2877
- onProceed: V,
2878
- onProceedGuidance: oe,
2879
- href: ce,
2880
- originalPriceLabel: ae,
2881
- discountedPriceLabel: ie,
2882
- analytics: ne,
2935
+ t: B,
2936
+ values: J,
2937
+ phoneIsdCode: L,
2938
+ onProceed: Q,
2939
+ onProceedGuidance: ie,
2940
+ href: ue,
2941
+ originalPriceLabel: le,
2942
+ discountedPriceLabel: se,
2943
+ analytics: oe,
2883
2944
  showPlanSheet: we,
2884
- confirmPlan: be,
2885
- planSheetOpen: de,
2886
- selectedPlan: z
2945
+ confirmPlan: _e,
2946
+ planSheetOpen: pe,
2947
+ selectedPlan: ee
2887
2948
  }
2888
2949
  ),
2889
2950
  p?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
2890
2951
  An,
2891
2952
  {
2892
- isOpen: de,
2893
- onClose: () => _e(!1),
2894
- selectedPlan: z,
2953
+ isOpen: pe,
2954
+ onClose: () => me(!1),
2955
+ selectedPlan: ee,
2895
2956
  onSelectPlan: ye,
2896
- onProceed: (y) => {
2897
- be?.(y);
2957
+ onProceed: (P) => {
2958
+ _e?.(P);
2898
2959
  },
2899
- t: M,
2900
- analytics: ne
2960
+ t: B,
2961
+ analytics: oe
2901
2962
  }
2902
2963
  )
2903
2964
  ] });
2904
- }, Fn = {
2965
+ }, On = {
2905
2966
  banner_clicked_fe: "banner_clicked_fe",
2906
2967
  primary_cta_clicked_fe: "primary_cta_clicked_fe",
2907
2968
  language_changed_fe: "language_changed_fe",
@@ -2941,31 +3002,31 @@ const da = ({
2941
3002
  kundli_form_view: "kundli_form_view"
2942
3003
  };
2943
3004
  export {
2944
- De as D,
3005
+ Le as D,
2945
3006
  st as F,
2946
3007
  Sn as I,
2947
- Fn as K,
2948
- ir as L,
3008
+ On as K,
3009
+ lr as L,
2949
3010
  hr as P,
2950
3011
  dr as S,
2951
3012
  da as U,
2952
3013
  fr as a,
2953
- Ke as b,
3014
+ He as b,
2954
3015
  Dn as c,
2955
3016
  Bn as d,
2956
3017
  at as e,
2957
3018
  nt as f,
2958
3019
  rt as g,
2959
- Re as h,
3020
+ Ne as h,
2960
3021
  In as i,
2961
3022
  Ln as j,
2962
3023
  r as k,
2963
3024
  Aa as l,
2964
- xa as m,
3025
+ wa as m,
2965
3026
  An as n,
2966
3027
  En as r,
2967
3028
  tt as s,
2968
3029
  ur as t,
2969
- Kr as u
3030
+ Wr as u
2970
3031
  };
2971
- //# sourceMappingURL=analytics-DwdBIhfn.js.map
3032
+ //# sourceMappingURL=analytics-CFSBD_1m.js.map