@srimandir/kundli-generator 7.5.3 → 7.5.5

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,25 +1,25 @@
1
- import Ze, { useContext as er, createContext as _r, useState as U, useRef as F, useEffect as J, useMemo as Xe, useCallback as we } from "react";
2
- import { FormSectionHeader as $r, FooterCTAButton as Ur, FooterShell as Gr, CircularMarquee as Kr, footerShellStyles as je, PageHeader as Wr } from "@srimandir/astrology-common";
3
- var We = { exports: {} }, Fe = {};
1
+ import Ze, { useContext as er, createContext as _r, useState as U, useRef as O, useEffect as z, useMemo as Xe, useCallback as we } from "react";
2
+ import { FormSectionHeader as $r, FooterCTAButton as Ur, FooterShell as Gr, CircularMarquee as Kr, footerShellStyles as Te, PageHeader as Wr } from "@srimandir/astrology-common";
3
+ var We = { exports: {} }, Me = {};
4
4
  var dr;
5
5
  function Hr() {
6
- if (dr) return Fe;
6
+ if (dr) return Me;
7
7
  dr = 1;
8
- var t = Ze, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, b = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, x = { key: !0, ref: !0, __self: !0, __source: !0 };
9
- function g(T, v, O) {
10
- var P, E = {}, u = null, I = null;
11
- O !== void 0 && (u = "" + O), v.key !== void 0 && (u = "" + v.key), v.ref !== void 0 && (I = v.ref);
12
- for (P in v) d.call(v, P) && !x.hasOwnProperty(P) && (E[P] = v[P]);
13
- if (T && T.defaultProps) for (P in v = T.defaultProps, v) E[P] === void 0 && (E[P] = v[P]);
8
+ var t = Ze, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, b = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, w = { key: !0, ref: !0, __self: !0, __source: !0 };
9
+ function g(T, v, F) {
10
+ var x, E = {}, u = null, I = null;
11
+ F !== void 0 && (u = "" + F), v.key !== void 0 && (u = "" + v.key), v.ref !== void 0 && (I = v.ref);
12
+ for (x in v) d.call(v, x) && !w.hasOwnProperty(x) && (E[x] = v[x]);
13
+ if (T && T.defaultProps) for (x in v = T.defaultProps, v) E[x] === void 0 && (E[x] = v[x]);
14
14
  return { $$typeof: o, type: T, key: u, ref: I, props: E, _owner: b.current };
15
15
  }
16
- return Fe.Fragment = c, Fe.jsx = g, Fe.jsxs = g, Fe;
16
+ return Me.Fragment = c, Me.jsx = g, Me.jsxs = g, Me;
17
17
  }
18
- var Me = {};
18
+ var $e = {};
19
19
  var ur;
20
20
  function Yr() {
21
21
  return ur || (ur = 1, process.env.NODE_ENV !== "production" && (function() {
22
- var t = Ze, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), b = /* @__PURE__ */ Symbol.for("react.strict_mode"), x = /* @__PURE__ */ Symbol.for("react.profiler"), g = /* @__PURE__ */ Symbol.for("react.provider"), T = /* @__PURE__ */ Symbol.for("react.context"), v = /* @__PURE__ */ Symbol.for("react.forward_ref"), O = /* @__PURE__ */ Symbol.for("react.suspense"), P = /* @__PURE__ */ Symbol.for("react.suspense_list"), E = /* @__PURE__ */ Symbol.for("react.memo"), u = /* @__PURE__ */ Symbol.for("react.lazy"), I = /* @__PURE__ */ Symbol.for("react.offscreen"), h = Symbol.iterator, M = "@@iterator";
22
+ var t = Ze, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), b = /* @__PURE__ */ Symbol.for("react.strict_mode"), w = /* @__PURE__ */ Symbol.for("react.profiler"), g = /* @__PURE__ */ Symbol.for("react.provider"), T = /* @__PURE__ */ Symbol.for("react.context"), v = /* @__PURE__ */ Symbol.for("react.forward_ref"), F = /* @__PURE__ */ Symbol.for("react.suspense"), x = /* @__PURE__ */ Symbol.for("react.suspense_list"), E = /* @__PURE__ */ Symbol.for("react.memo"), u = /* @__PURE__ */ Symbol.for("react.lazy"), I = /* @__PURE__ */ Symbol.for("react.offscreen"), h = Symbol.iterator, M = "@@iterator";
23
23
  function f(e) {
24
24
  if (e === null || typeof e != "object")
25
25
  return null;
@@ -31,10 +31,10 @@ function Yr() {
31
31
  {
32
32
  for (var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0), p = 1; p < i; p++)
33
33
  l[p - 1] = arguments[p];
34
- Q("error", e, l);
34
+ Z("error", e, l);
35
35
  }
36
36
  }
37
- function Q(e, i, l) {
37
+ function Z(e, i, l) {
38
38
  {
39
39
  var p = m.ReactDebugCurrentFrame, N = p.getStackAddendum();
40
40
  N !== "" && (i += "%s", l = l.concat([N]));
@@ -44,16 +44,16 @@ function Yr() {
44
44
  L.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, L);
45
45
  }
46
46
  }
47
- var V = !1, W = !1, B = !1, $ = !1, A = !1, S;
47
+ var q = !1, W = !1, B = !1, $ = !1, A = !1, S;
48
48
  S = /* @__PURE__ */ Symbol.for("react.module.reference");
49
- function re(e) {
50
- return !!(typeof e == "string" || typeof e == "function" || e === d || e === x || A || e === b || e === O || e === P || $ || e === I || V || W || B || typeof e == "object" && e !== null && (e.$$typeof === u || e.$$typeof === E || e.$$typeof === g || e.$$typeof === T || e.$$typeof === v || // This needs to include all possible module reference object
49
+ function ee(e) {
50
+ return !!(typeof e == "string" || typeof e == "function" || e === d || e === w || A || e === b || e === F || e === x || $ || e === I || q || W || B || typeof e == "object" && e !== null && (e.$$typeof === u || e.$$typeof === E || e.$$typeof === g || e.$$typeof === T || e.$$typeof === v || // This needs to include all possible module reference object
51
51
  // types supported by any Flight configuration anywhere since
52
52
  // we don't know which Flight build this will end up being used
53
53
  // with.
54
54
  e.$$typeof === S || e.getModuleId !== void 0));
55
55
  }
56
- function z(e, i, l) {
56
+ function V(e, i, l) {
57
57
  var p = e.displayName;
58
58
  if (p)
59
59
  return p;
@@ -75,13 +75,13 @@ function Yr() {
75
75
  return "Fragment";
76
76
  case c:
77
77
  return "Portal";
78
- case x:
78
+ case w:
79
79
  return "Profiler";
80
80
  case b:
81
81
  return "StrictMode";
82
- case O:
82
+ case F:
83
83
  return "Suspense";
84
- case P:
84
+ case x:
85
85
  return "SuspenseList";
86
86
  }
87
87
  if (typeof e == "object")
@@ -93,7 +93,7 @@ function Yr() {
93
93
  var l = e;
94
94
  return D(l._context) + ".Provider";
95
95
  case v:
96
- return z(e, e.render, "ForwardRef");
96
+ return V(e, e.render, "ForwardRef");
97
97
  case E:
98
98
  var p = e.displayName || null;
99
99
  return p !== null ? p : j(e.type) || "Memo";
@@ -108,18 +108,18 @@ function Yr() {
108
108
  }
109
109
  return null;
110
110
  }
111
- var G = Object.assign, H = 0, te, ge, X, Z, ie, ae, pe;
112
- function _e() {
111
+ var G = Object.assign, H = 0, J, xe, re, Q, ae, oe, _e;
112
+ function de() {
113
113
  }
114
- _e.__reactDisabledLog = !0;
114
+ de.__reactDisabledLog = !0;
115
115
  function ue() {
116
116
  {
117
117
  if (H === 0) {
118
- te = console.log, ge = console.info, X = console.warn, Z = console.error, ie = console.group, ae = console.groupCollapsed, pe = console.groupEnd;
118
+ J = console.log, xe = console.info, re = console.warn, Q = console.error, ae = console.group, oe = console.groupCollapsed, _e = console.groupEnd;
119
119
  var e = {
120
120
  configurable: !0,
121
121
  enumerable: !0,
122
- value: _e,
122
+ value: de,
123
123
  writable: !0
124
124
  };
125
125
  Object.defineProperties(console, {
@@ -145,64 +145,64 @@ function Yr() {
145
145
  };
146
146
  Object.defineProperties(console, {
147
147
  log: G({}, e, {
148
- value: te
148
+ value: J
149
149
  }),
150
150
  info: G({}, e, {
151
- value: ge
151
+ value: xe
152
152
  }),
153
153
  warn: G({}, e, {
154
- value: X
154
+ value: re
155
155
  }),
156
156
  error: G({}, e, {
157
- value: Z
157
+ value: Q
158
158
  }),
159
159
  group: G({}, e, {
160
- value: ie
160
+ value: ae
161
161
  }),
162
162
  groupCollapsed: G({}, e, {
163
- value: ae
163
+ value: oe
164
164
  }),
165
165
  groupEnd: G({}, e, {
166
- value: pe
166
+ value: _e
167
167
  })
168
168
  });
169
169
  }
170
170
  H < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
171
171
  }
172
172
  }
173
- var se = m.ReactCurrentDispatcher, ee;
174
- function le(e, i, l) {
173
+ var ie = m.ReactCurrentDispatcher, fe;
174
+ function X(e, i, l) {
175
175
  {
176
- if (ee === void 0)
176
+ if (fe === void 0)
177
177
  try {
178
178
  throw Error();
179
179
  } catch (N) {
180
180
  var p = N.stack.trim().match(/\n( *(at )?)/);
181
- ee = p && p[1] || "";
181
+ fe = p && p[1] || "";
182
182
  }
183
183
  return `
184
- ` + ee + e;
184
+ ` + fe + e;
185
185
  }
186
186
  }
187
- var ce = !1, Y;
187
+ var me = !1, se;
188
188
  {
189
- var Te = typeof WeakMap == "function" ? WeakMap : Map;
190
- Y = new Te();
189
+ var le = typeof WeakMap == "function" ? WeakMap : Map;
190
+ se = new le();
191
191
  }
192
- function ye(e, i) {
193
- if (!e || ce)
192
+ function Ce(e, i) {
193
+ if (!e || me)
194
194
  return "";
195
195
  {
196
- var l = Y.get(e);
196
+ var l = se.get(e);
197
197
  if (l !== void 0)
198
198
  return l;
199
199
  }
200
200
  var p;
201
- ce = !0;
201
+ me = !0;
202
202
  var N = Error.prepareStackTrace;
203
203
  Error.prepareStackTrace = void 0;
204
204
  var L;
205
- L = se.current, se.current = null, ue();
205
+ L = ie.current, ie.current = null, ue();
206
206
  try {
207
207
  if (i) {
208
208
  var C = function() {
@@ -215,116 +215,116 @@ function Yr() {
215
215
  }), typeof Reflect == "object" && Reflect.construct) {
216
216
  try {
217
217
  Reflect.construct(C, []);
218
- } catch (de) {
219
- p = de;
218
+ } catch (ce) {
219
+ p = ce;
220
220
  }
221
221
  Reflect.construct(e, [], C);
222
222
  } else {
223
223
  try {
224
224
  C.call();
225
- } catch (de) {
226
- p = de;
225
+ } catch (ce) {
226
+ p = ce;
227
227
  }
228
228
  e.call(C.prototype);
229
229
  }
230
230
  } else {
231
231
  try {
232
232
  throw Error();
233
- } catch (de) {
234
- p = de;
233
+ } catch (ce) {
234
+ p = ce;
235
235
  }
236
236
  e();
237
237
  }
238
- } catch (de) {
239
- if (de && p && typeof de.stack == "string") {
240
- for (var w = de.stack.split(`
241
- `), oe = p.stack.split(`
242
- `), K = w.length - 1, q = oe.length - 1; K >= 1 && q >= 0 && w[K] !== oe[q]; )
243
- q--;
244
- for (; K >= 1 && q >= 0; K--, q--)
245
- if (w[K] !== oe[q]) {
246
- if (K !== 1 || q !== 1)
238
+ } catch (ce) {
239
+ if (ce && p && typeof ce.stack == "string") {
240
+ for (var k = ce.stack.split(`
241
+ `), ne = p.stack.split(`
242
+ `), K = k.length - 1, Y = ne.length - 1; K >= 1 && Y >= 0 && k[K] !== ne[Y]; )
243
+ Y--;
244
+ for (; K >= 1 && Y >= 0; K--, Y--)
245
+ if (k[K] !== ne[Y]) {
246
+ if (K !== 1 || Y !== 1)
247
247
  do
248
- if (K--, q--, q < 0 || w[K] !== oe[q]) {
249
- var fe = `
250
- ` + w[K].replace(" at new ", " at ");
251
- return e.displayName && fe.includes("<anonymous>") && (fe = fe.replace("<anonymous>", e.displayName)), typeof e == "function" && Y.set(e, fe), fe;
248
+ if (K--, Y--, Y < 0 || k[K] !== ne[Y]) {
249
+ var he = `
250
+ ` + k[K].replace(" at new ", " at ");
251
+ return e.displayName && he.includes("<anonymous>") && (he = he.replace("<anonymous>", e.displayName)), typeof e == "function" && se.set(e, he), he;
252
252
  }
253
- while (K >= 1 && q >= 0);
253
+ while (K >= 1 && Y >= 0);
254
254
  break;
255
255
  }
256
256
  }
257
257
  } finally {
258
- ce = !1, se.current = L, be(), Error.prepareStackTrace = N;
258
+ me = !1, ie.current = L, be(), Error.prepareStackTrace = N;
259
259
  }
260
- var Re = e ? e.displayName || e.name : "", Ce = Re ? le(Re) : "";
261
- return typeof e == "function" && Y.set(e, Ce), Ce;
260
+ var Ee = e ? e.displayName || e.name : "", je = Ee ? X(Ee) : "";
261
+ return typeof e == "function" && se.set(e, je), je;
262
262
  }
263
- function ne(e, i, l) {
264
- return ye(e, !1);
263
+ function te(e, i, l) {
264
+ return Ce(e, !1);
265
265
  }
266
266
  function Pe(e) {
267
267
  var i = e.prototype;
268
268
  return !!(i && i.isReactComponent);
269
269
  }
270
- function ve(e, i, l) {
270
+ function ye(e, i, l) {
271
271
  if (e == null)
272
272
  return "";
273
273
  if (typeof e == "function")
274
- return ye(e, Pe(e));
274
+ return Ce(e, Pe(e));
275
275
  if (typeof e == "string")
276
- return le(e);
276
+ return X(e);
277
277
  switch (e) {
278
- case O:
279
- return le("Suspense");
280
- case P:
281
- return le("SuspenseList");
278
+ case F:
279
+ return X("Suspense");
280
+ case x:
281
+ return X("SuspenseList");
282
282
  }
283
283
  if (typeof e == "object")
284
284
  switch (e.$$typeof) {
285
285
  case v:
286
- return ne(e.render);
286
+ return te(e.render);
287
287
  case E:
288
- return ve(e.type, i, l);
288
+ return ye(e.type, i, l);
289
289
  case u: {
290
290
  var p = e, N = p._payload, L = p._init;
291
291
  try {
292
- return ve(L(N), i, l);
292
+ return ye(L(N), i, l);
293
293
  } catch {
294
294
  }
295
295
  }
296
296
  }
297
297
  return "";
298
298
  }
299
- var Ae = Object.prototype.hasOwnProperty, he = {}, k = m.ReactDebugCurrentFrame;
300
- function xe(e) {
299
+ var Ae = Object.prototype.hasOwnProperty, ge = {}, ve = m.ReactDebugCurrentFrame;
300
+ function P(e) {
301
301
  if (e) {
302
- var i = e._owner, l = ve(e.type, e._source, i ? i.type : null);
303
- k.setExtraStackFrame(l);
302
+ var i = e._owner, l = ye(e.type, e._source, i ? i.type : null);
303
+ ve.setExtraStackFrame(l);
304
304
  } else
305
- k.setExtraStackFrame(null);
305
+ ve.setExtraStackFrame(null);
306
306
  }
307
- function Ue(e, i, l, p, N) {
307
+ function Ne(e, i, l, p, N) {
308
308
  {
309
309
  var L = Function.call.bind(Ae);
310
310
  for (var C in e)
311
311
  if (L(e, C)) {
312
- var w = void 0;
312
+ var k = void 0;
313
313
  try {
314
314
  if (typeof e[C] != "function") {
315
- var oe = Error((p || "React class") + ": " + l + " type `" + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[C] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
- throw oe.name = "Invariant Violation", oe;
315
+ var ne = Error((p || "React class") + ": " + l + " type `" + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[C] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
+ throw ne.name = "Invariant Violation", ne;
317
317
  }
318
- w = e[C](i, C, p, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
318
+ k = e[C](i, C, p, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
319
319
  } catch (K) {
320
- w = K;
320
+ k = K;
321
321
  }
322
- w && !(w instanceof Error) && (xe(N), y("%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).", p || "React class", l, C, typeof w), xe(null)), w instanceof Error && !(w.message in he) && (he[w.message] = !0, xe(N), y("Failed %s type: %s", l, w.message), xe(null));
322
+ k && !(k instanceof Error) && (P(N), y("%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).", p || "React class", l, C, typeof k), P(null)), k instanceof Error && !(k.message in ge) && (ge[k.message] = !0, P(N), y("Failed %s type: %s", l, k.message), P(null));
323
323
  }
324
324
  }
325
325
  }
326
326
  var Ge = Array.isArray;
327
- function Ne(e) {
327
+ function Se(e) {
328
328
  return Ge(e);
329
329
  }
330
330
  function Ke(e) {
@@ -333,27 +333,27 @@ function Yr() {
333
333
  return l;
334
334
  }
335
335
  }
336
- function Le(e) {
336
+ function Be(e) {
337
337
  try {
338
- return Be(e), !1;
338
+ return De(e), !1;
339
339
  } catch {
340
340
  return !0;
341
341
  }
342
342
  }
343
- function Be(e) {
343
+ function De(e) {
344
344
  return "" + e;
345
345
  }
346
- function De(e) {
347
- if (Le(e))
348
- return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ke(e)), Be(e);
346
+ function Oe(e) {
347
+ if (Be(e))
348
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ke(e)), De(e);
349
349
  }
350
350
  var a = m.ReactCurrentOwner, s = {
351
351
  key: !0,
352
352
  ref: !0,
353
353
  __self: !0,
354
354
  __source: !0
355
- }, R, me;
356
- function Oe(e) {
355
+ }, R, pe;
356
+ function Fe(e) {
357
357
  if (Ae.call(e, "ref")) {
358
358
  var i = Object.getOwnPropertyDescriptor(e, "ref").get;
359
359
  if (i && i.isReactWarning)
@@ -386,7 +386,7 @@ function Yr() {
386
386
  function jr(e, i) {
387
387
  {
388
388
  var l = function() {
389
- me || (me = !0, y("%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
+ pe || (pe = !0, y("%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,
@@ -395,7 +395,7 @@ function Yr() {
395
395
  }
396
396
  }
397
397
  var Tr = function(e, i, l, p, N, L, C) {
398
- var w = {
398
+ var k = {
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
@@ -406,27 +406,27 @@ function Yr() {
406
406
  // Record the component responsible for creating this element.
407
407
  _owner: L
408
408
  };
409
- return w._store = {}, Object.defineProperty(w._store, "validated", {
409
+ return k._store = {}, Object.defineProperty(k._store, "validated", {
410
410
  configurable: !1,
411
411
  enumerable: !1,
412
412
  writable: !0,
413
413
  value: !1
414
- }), Object.defineProperty(w, "_self", {
414
+ }), Object.defineProperty(k, "_self", {
415
415
  configurable: !1,
416
416
  enumerable: !1,
417
417
  writable: !1,
418
418
  value: p
419
- }), Object.defineProperty(w, "_source", {
419
+ }), Object.defineProperty(k, "_source", {
420
420
  configurable: !1,
421
421
  enumerable: !1,
422
422
  writable: !1,
423
423
  value: N
424
- }), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
424
+ }), Object.freeze && (Object.freeze(k.props), Object.freeze(k)), k;
425
425
  };
426
426
  function Nr(e, i, l, p, N) {
427
427
  {
428
- var L, C = {}, w = null, oe = null;
429
- l !== void 0 && (De(l), w = "" + l), qe(i) && (De(i.key), w = "" + i.key), Oe(i) && (oe = i.ref, Ar(i, N));
428
+ var L, C = {}, k = null, ne = null;
429
+ l !== void 0 && (Oe(l), k = "" + l), qe(i) && (Oe(i.key), k = "" + i.key), Fe(i) && (ne = i.ref, Ar(i, N));
430
430
  for (L in i)
431
431
  Ae.call(i, L) && !s.hasOwnProperty(L) && (C[L] = i[L]);
432
432
  if (e && e.defaultProps) {
@@ -434,17 +434,17 @@ function Yr() {
434
434
  for (L in K)
435
435
  C[L] === void 0 && (C[L] = K[L]);
436
436
  }
437
- if (w || oe) {
438
- var q = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
439
- w && Cr(C, q), oe && jr(C, q);
437
+ if (k || ne) {
438
+ var Y = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
439
+ k && Cr(C, Y), ne && jr(C, Y);
440
440
  }
441
- return Tr(e, w, oe, N, p, a.current, C);
441
+ return Tr(e, k, ne, N, p, a.current, C);
442
442
  }
443
443
  }
444
444
  var Ve = m.ReactCurrentOwner, ar = m.ReactDebugCurrentFrame;
445
- function Se(e) {
445
+ function Re(e) {
446
446
  if (e) {
447
- var i = e._owner, l = ve(e.type, e._source, i ? i.type : null);
447
+ var i = e._owner, l = ye(e.type, e._source, i ? i.type : null);
448
448
  ar.setExtraStackFrame(l);
449
449
  } else
450
450
  ar.setExtraStackFrame(null);
@@ -492,14 +492,14 @@ Check the top-level render call using <` + l + ">.");
492
492
  return;
493
493
  or[l] = !0;
494
494
  var p = "";
495
- e && e._owner && e._owner !== Ve.current && (p = " It was passed a child from " + j(e._owner.type) + "."), Se(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, p), Se(null);
495
+ e && e._owner && e._owner !== Ve.current && (p = " It was passed a child from " + j(e._owner.type) + "."), Re(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, p), Re(null);
496
496
  }
497
497
  }
498
498
  function sr(e, i) {
499
499
  {
500
500
  if (typeof e != "object")
501
501
  return;
502
- if (Ne(e))
502
+ if (Se(e))
503
503
  for (var l = 0; l < e.length; l++) {
504
504
  var p = e[l];
505
505
  Je(p) && ir(p, i);
@@ -530,7 +530,7 @@ Check the top-level render call using <` + l + ">.");
530
530
  return;
531
531
  if (l) {
532
532
  var p = j(i);
533
- Ue(l, e.props, "prop", p, e);
533
+ Ne(l, e.props, "prop", p, e);
534
534
  } else if (i.PropTypes !== void 0 && !ze) {
535
535
  ze = !0;
536
536
  var N = j(i);
@@ -544,56 +544,56 @@ Check the top-level render call using <` + l + ">.");
544
544
  for (var i = Object.keys(e.props), l = 0; l < i.length; l++) {
545
545
  var p = i[l];
546
546
  if (p !== "children" && p !== "key") {
547
- Se(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), Se(null);
547
+ Re(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), Re(null);
548
548
  break;
549
549
  }
550
550
  }
551
- e.ref !== null && (Se(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), Se(null));
551
+ e.ref !== null && (Re(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), Re(null));
552
552
  }
553
553
  }
554
554
  var lr = {};
555
555
  function cr(e, i, l, p, N, L) {
556
556
  {
557
- var C = re(e);
557
+ var C = ee(e);
558
558
  if (!C) {
559
- var w = "";
560
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (w += " 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 oe = Sr();
562
- oe ? w += oe : w += nr();
559
+ var k = "";
560
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (k += " 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 ne = Sr();
562
+ ne ? k += ne : k += nr();
563
563
  var K;
564
- e === null ? K = "null" : Ne(e) ? K = "array" : e !== void 0 && e.$$typeof === o ? (K = "<" + (j(e.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : K = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", K, w);
564
+ e === null ? K = "null" : Se(e) ? K = "array" : e !== void 0 && e.$$typeof === o ? (K = "<" + (j(e.type) || "Unknown") + " />", k = " Did you accidentally export a JSX literal instead of a component?") : K = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", K, k);
565
565
  }
566
- var q = Nr(e, i, l, N, L);
567
- if (q == null)
568
- return q;
566
+ var Y = Nr(e, i, l, N, L);
567
+ if (Y == null)
568
+ return Y;
569
569
  if (C) {
570
- var fe = i.children;
571
- if (fe !== void 0)
570
+ var he = i.children;
571
+ if (he !== void 0)
572
572
  if (p)
573
- if (Ne(fe)) {
574
- for (var Re = 0; Re < fe.length; Re++)
575
- sr(fe[Re], e);
576
- Object.freeze && Object.freeze(fe);
573
+ if (Se(he)) {
574
+ for (var Ee = 0; Ee < he.length; Ee++)
575
+ sr(he[Ee], e);
576
+ Object.freeze && Object.freeze(he);
577
577
  } else
578
578
  y("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
- sr(fe, e);
580
+ sr(he, e);
581
581
  }
582
582
  if (Ae.call(i, "key")) {
583
- var Ce = j(e), de = Object.keys(i).filter(function(Mr) {
583
+ var je = j(e), ce = Object.keys(i).filter(function(Mr) {
584
584
  return Mr !== "key";
585
- }), Qe = de.length > 0 ? "{key: someKey, " + de.join(": ..., ") + ": ...}" : "{key: someKey}";
586
- if (!lr[Ce + Qe]) {
587
- var Fr = de.length > 0 ? "{" + de.join(": ..., ") + ": ...}" : "{}";
585
+ }), Qe = ce.length > 0 ? "{key: someKey, " + ce.join(": ..., ") + ": ...}" : "{key: someKey}";
586
+ if (!lr[je + Qe]) {
587
+ var Fr = ce.length > 0 ? "{" + ce.join(": ..., ") + ": ...}" : "{}";
588
588
  y(`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} />`, Qe, Ce, Fr, Ce), lr[Ce + Qe] = !0;
593
+ <%s key={someKey} {...props} />`, Qe, je, Fr, je), lr[je + Qe] = !0;
594
594
  }
595
595
  }
596
- return e === d ? Ir(q) : Er(q), q;
596
+ return e === d ? Ir(Y) : Er(Y), Y;
597
597
  }
598
598
  }
599
599
  function Lr(e, i, l) {
@@ -603,8 +603,8 @@ React keys must be passed directly to JSX without using spread:
603
603
  return cr(e, i, l, !1);
604
604
  }
605
605
  var Dr = Br, Or = Lr;
606
- Me.Fragment = d, Me.jsx = Dr, Me.jsxs = Or;
607
- })()), Me;
606
+ $e.Fragment = d, $e.jsx = Dr, $e.jsxs = Or;
607
+ })()), $e;
608
608
  }
609
609
  var mr;
610
610
  function qr() {
@@ -1057,7 +1057,7 @@ const Vr = "_container_1e1th_1", zr = "_main_1e1th_7", Jr = "_kundliHeaderNoBord
1057
1057
  astrologyGuidance: "ज्योतिष से सलाह",
1058
1058
  selectPackage: "पैकेज चुनें"
1059
1059
  }
1060
- }, vr = _r(null), Mn = ({
1060
+ }, vr = _r(null), Un = ({
1061
1061
  locale: t,
1062
1062
  children: o
1063
1063
  }) => {
@@ -1068,13 +1068,13 @@ function nt() {
1068
1068
  return er(vr);
1069
1069
  }
1070
1070
  const Ye = (t) => {
1071
- const { priority: o, fetchPriority: c, width: d, height: b, ...x } = t;
1071
+ const { priority: o, fetchPriority: c, width: d, height: b, ...w } = t;
1072
1072
  return Ze.createElement("img", {
1073
- ...x,
1073
+ ...w,
1074
1074
  width: d ?? 1,
1075
1075
  height: b ?? 1,
1076
1076
  decoding: "async",
1077
- loading: x.loading ?? (o ? "eager" : "lazy"),
1077
+ loading: w.loading ?? (o ? "eager" : "lazy"),
1078
1078
  ...c && { fetchPriority: c }
1079
1079
  });
1080
1080
  };
@@ -1094,14 +1094,14 @@ function it(t, o) {
1094
1094
  } catch {
1095
1095
  }
1096
1096
  }
1097
- function $n(t) {
1097
+ function Gn(t) {
1098
1098
  if (!(typeof window > "u" || !window.localStorage))
1099
1099
  try {
1100
1100
  window.localStorage.removeItem(t);
1101
1101
  } catch {
1102
1102
  }
1103
1103
  }
1104
- function Un() {
1104
+ function Kn() {
1105
1105
  if (typeof window > "u" || !window.localStorage)
1106
1106
  return !1;
1107
1107
  try {
@@ -1122,6 +1122,7 @@ function lt(t) {
1122
1122
  const rr = _r(null), ct = {
1123
1123
  fullName: "",
1124
1124
  phone: "",
1125
+ phoneCountryCode: "",
1125
1126
  gender: "",
1126
1127
  email: "",
1127
1128
  language_code: "",
@@ -1129,18 +1130,18 @@ const rr = _r(null), ct = {
1129
1130
  birthTime: "",
1130
1131
  birthTimeUnknown: !1,
1131
1132
  birthPlace: ""
1132
- }, Gn = ({
1133
+ }, Wn = ({
1133
1134
  locale: t,
1134
1135
  showLanguageSelector: o = !0,
1135
1136
  showSheet: c,
1136
1137
  userId: d,
1137
1138
  isGlobal: b,
1138
- variant: x,
1139
+ variant: w,
1139
1140
  initialFormValues: g,
1140
1141
  autoOpenPlanSheet: T,
1141
1142
  googleMapsApiKey: v,
1142
- atlasSearchLocalities: O,
1143
- googleMapsAutocompleteEnabled: P,
1143
+ atlasSearchLocalities: F,
1144
+ googleMapsAutocompleteEnabled: x,
1144
1145
  logoUrl: E,
1145
1146
  reportImageUrl: u,
1146
1147
  reportImagePriority: I,
@@ -1149,37 +1150,37 @@ const rr = _r(null), ct = {
1149
1150
  sampleReportHref: f,
1150
1151
  onViewSampleReport: m,
1151
1152
  ctaHref: y,
1152
- onCtaClick: Q,
1153
- onBack: V,
1153
+ onCtaClick: Z,
1154
+ onBack: q,
1154
1155
  readMoreReviewsHref: W,
1155
1156
  onProceed: B,
1156
1157
  proceedHref: $,
1157
1158
  originalPriceLabel: A,
1158
1159
  discountedPriceLabel: S,
1159
- discountPillLabel: re,
1160
- analytics: z,
1160
+ discountPillLabel: ee,
1161
+ analytics: V,
1161
1162
  onProceedGuidance: D,
1162
1163
  onLocaleChange: j,
1163
1164
  imageComponent: G = Ye,
1164
1165
  resolvedUtmBannerImageUrl: H,
1165
- children: te
1166
+ children: J
1166
1167
  }) => {
1167
- const [ge, X] = U("landing"), [Z, ie] = U(t ?? "en"), [ae, pe] = U({
1168
+ const [xe, re] = U("landing"), [Q, ae] = U(t ?? "en"), [oe, _e] = U({
1168
1169
  ...ct,
1169
1170
  ...g
1170
- }), _e = F(!0);
1171
- J(() => {
1172
- const le = st();
1173
- le && ie(le);
1174
- }, []), J(() => {
1175
- lt(Z);
1176
- }, [Z]), J(() => {
1177
- if (_e.current) {
1178
- _e.current = !1;
1171
+ }), de = O(!0);
1172
+ z(() => {
1173
+ const X = st();
1174
+ X && ae(X);
1175
+ }, []), z(() => {
1176
+ lt(Q);
1177
+ }, [Q]), z(() => {
1178
+ if (de.current) {
1179
+ de.current = !1;
1179
1180
  return;
1180
1181
  }
1181
- j?.(Z);
1182
- }, [Z, j]);
1182
+ j?.(Q);
1183
+ }, [Q, j]);
1183
1184
  const ue = Xe(
1184
1185
  () => ({
1185
1186
  locale: t,
@@ -1187,12 +1188,12 @@ const rr = _r(null), ct = {
1187
1188
  showSheet: c,
1188
1189
  userId: d,
1189
1190
  isGlobal: b,
1190
- variant: x,
1191
+ variant: w,
1191
1192
  initialFormValues: g,
1192
1193
  autoOpenPlanSheet: T,
1193
1194
  googleMapsApiKey: v,
1194
- atlasSearchLocalities: O,
1195
- googleMapsAutocompleteEnabled: P,
1195
+ atlasSearchLocalities: F,
1196
+ googleMapsAutocompleteEnabled: x,
1196
1197
  logoUrl: E,
1197
1198
  reportImageUrl: u,
1198
1199
  reportImagePriority: I,
@@ -1201,15 +1202,15 @@ const rr = _r(null), ct = {
1201
1202
  sampleReportHref: f,
1202
1203
  onViewSampleReport: m,
1203
1204
  ctaHref: y,
1204
- onCtaClick: Q,
1205
- onBack: V,
1205
+ onCtaClick: Z,
1206
+ onBack: q,
1206
1207
  readMoreReviewsHref: W,
1207
1208
  onProceed: B,
1208
1209
  proceedHref: $,
1209
1210
  originalPriceLabel: A,
1210
1211
  discountedPriceLabel: S,
1211
- discountPillLabel: re,
1212
- analytics: z,
1212
+ discountPillLabel: ee,
1213
+ analytics: V,
1213
1214
  onProceedGuidance: D,
1214
1215
  onLocaleChange: j,
1215
1216
  imageComponent: G,
@@ -1221,12 +1222,12 @@ const rr = _r(null), ct = {
1221
1222
  c,
1222
1223
  d,
1223
1224
  b,
1224
- x,
1225
+ w,
1225
1226
  g,
1226
1227
  T,
1227
1228
  v,
1228
- O,
1229
- P,
1229
+ F,
1230
+ x,
1230
1231
  E,
1231
1232
  u,
1232
1233
  I,
@@ -1235,45 +1236,45 @@ const rr = _r(null), ct = {
1235
1236
  f,
1236
1237
  m,
1237
1238
  y,
1238
- Q,
1239
- V,
1239
+ Z,
1240
+ q,
1240
1241
  W,
1241
1242
  B,
1242
1243
  $,
1243
1244
  A,
1244
1245
  S,
1245
- re,
1246
- z,
1246
+ ee,
1247
+ V,
1247
1248
  D,
1248
1249
  j,
1249
1250
  G,
1250
1251
  H
1251
1252
  ]
1252
1253
  ), be = we(() => {
1253
- X("form");
1254
- }, [ue.analytics]), se = we(() => {
1255
- X("landing"), ue.onBack?.();
1256
- }, [ue.onBack]), ee = Xe(
1254
+ re("form");
1255
+ }, [ue.analytics]), ie = we(() => {
1256
+ re("landing"), ue.onBack?.();
1257
+ }, [ue.onBack]), fe = Xe(
1257
1258
  () => ({
1258
- view: ge,
1259
- locale: Z,
1260
- setLocale: ie,
1259
+ view: xe,
1260
+ locale: Q,
1261
+ setLocale: ae,
1261
1262
  config: ue,
1262
- formValues: ae,
1263
- setFormValues: pe,
1263
+ formValues: oe,
1264
+ setFormValues: _e,
1264
1265
  goToForm: be,
1265
- goToPage: se,
1266
+ goToPage: ie,
1266
1267
  onProceed: ue.onProceed,
1267
1268
  onProceedGuidance: ue.onProceedGuidance
1268
1269
  }),
1269
- [ge, Z, ue, ae, be, se]
1270
+ [xe, Q, ue, oe, be, ie]
1270
1271
  );
1271
- return /* @__PURE__ */ r.jsx(rr.Provider, { value: ee, children: te });
1272
+ return /* @__PURE__ */ r.jsx(rr.Provider, { value: fe, children: J });
1272
1273
  };
1273
- function Ie() {
1274
+ function Le() {
1274
1275
  return er(rr);
1275
1276
  }
1276
- function Kn() {
1277
+ function Hn() {
1277
1278
  const t = er(rr);
1278
1279
  if (!t)
1279
1280
  throw new Error("useKundliContextOrThrow must be used within KundliProvider");
@@ -1362,8 +1363,8 @@ const ua = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1362
1363
  );
1363
1364
  return;
1364
1365
  }
1365
- const x = document.createElement("script"), g = new URL("https://maps.googleapis.com/maps/api/js");
1366
- g.searchParams.set("key", t), g.searchParams.set("libraries", "places"), g.searchParams.set("loading", "async"), o && g.searchParams.set("language", o), x.src = g.toString(), x.async = !0, x.defer = !0, x.setAttribute("data-google-maps-places", "true"), x.onload = () => {
1366
+ const w = document.createElement("script"), g = new URL("https://maps.googleapis.com/maps/api/js");
1367
+ g.searchParams.set("key", t), g.searchParams.set("libraries", "places"), g.searchParams.set("loading", "async"), o && g.searchParams.set("language", o), w.src = g.toString(), w.async = !0, w.defer = !0, w.setAttribute("data-google-maps-places", "true"), w.onload = () => {
1367
1368
  const T = Date.now(), v = () => {
1368
1369
  if (window.google?.maps?.places) {
1369
1370
  c();
@@ -1380,12 +1381,12 @@ const ua = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1380
1381
  window.setTimeout(v, 50);
1381
1382
  };
1382
1383
  v();
1383
- }, x.onerror = () => d(new Error("Failed to load Google Maps API")), document.head.appendChild(x);
1384
+ }, w.onerror = () => d(new Error("Failed to load Google Maps API")), document.head.appendChild(w);
1384
1385
  }), He), ma = (t) => {
1385
- const { apiKey: o, language: c = "en", restrictCountry: d, deferLoad: b = !1 } = t, [x, g] = U(!1), [T, v] = U([]), [O, P] = U(!1), [E, u] = U(null), [I, h] = U(!b), M = F(null), f = F(null), m = F(null), y = we(() => {
1386
+ const { apiKey: o, language: c = "en", restrictCountry: d, deferLoad: b = !1 } = t, [w, g] = U(!1), [T, v] = U([]), [F, x] = U(!1), [E, u] = U(null), [I, h] = U(!b), M = O(null), f = O(null), m = O(null), y = we(() => {
1386
1387
  b && h(!0);
1387
1388
  }, [b]);
1388
- J(() => {
1389
+ z(() => {
1389
1390
  if (!o || !I) {
1390
1391
  g(!1), u(null);
1391
1392
  return;
@@ -1398,13 +1399,13 @@ const ua = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1398
1399
  g(!1), u(B?.message || "Failed to load location service");
1399
1400
  });
1400
1401
  }, [o, c, I]);
1401
- const Q = we(
1402
+ const Z = we(
1402
1403
  async (B) => {
1403
1404
  if (!B || B.length < 2 || !M.current) {
1404
1405
  v([]);
1405
1406
  return;
1406
1407
  }
1407
- P(!0);
1408
+ x(!0);
1408
1409
  try {
1409
1410
  const $ = {
1410
1411
  input: B,
@@ -1412,11 +1413,11 @@ const ua = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1412
1413
  sessionToken: m.current ?? void 0
1413
1414
  };
1414
1415
  d && ($.componentRestrictions = { country: d });
1415
- const A = await new Promise((S, re) => {
1416
+ const A = await new Promise((S, ee) => {
1416
1417
  M.current.getPlacePredictions(
1417
1418
  $,
1418
- (z, D) => {
1419
- D === google.maps.places.PlacesServiceStatus.OK && z ? S(z) : D === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? S([]) : re(new Error(`Places API error: ${D}`));
1419
+ (V, D) => {
1420
+ D === google.maps.places.PlacesServiceStatus.OK && V ? S(V) : D === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? S([]) : ee(new Error(`Places API error: ${D}`));
1420
1421
  }
1421
1422
  );
1422
1423
  });
@@ -1433,11 +1434,11 @@ const ua = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1433
1434
  } catch {
1434
1435
  v([]);
1435
1436
  } finally {
1436
- P(!1);
1437
+ x(!1);
1437
1438
  }
1438
1439
  },
1439
1440
  [d]
1440
- ), V = we(
1441
+ ), q = we(
1441
1442
  async (B) => {
1442
1443
  if (!f.current) return null;
1443
1444
  try {
@@ -1449,23 +1450,23 @@ const ua = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1449
1450
  fields: ["geometry", "address_components", "formatted_address"],
1450
1451
  sessionToken: m.current ?? void 0
1451
1452
  },
1452
- (H, te) => {
1453
- te === google.maps.places.PlacesServiceStatus.OK && H ? j(H) : G(new Error(`Place details error: ${te}`));
1453
+ (H, J) => {
1454
+ J === google.maps.places.PlacesServiceStatus.OK && H ? j(H) : G(new Error(`Place details error: ${J}`));
1454
1455
  }
1455
1456
  );
1456
1457
  }
1457
1458
  );
1458
1459
  m.current = new google.maps.places.AutocompleteSessionToken();
1459
1460
  const A = $.geometry?.location?.lat() || 0, S = $.geometry?.location?.lng() || 0;
1460
- let re = "", z = "", D = "";
1461
+ let ee = "", V = "", D = "";
1461
1462
  return $.address_components?.forEach((j) => {
1462
- j.types.includes("locality") && (re = j.long_name), j.types.includes("administrative_area_level_1") && (z = j.long_name), j.types.includes("country") && (D = j.long_name);
1463
+ j.types.includes("locality") && (ee = j.long_name), j.types.includes("administrative_area_level_1") && (V = j.long_name), j.types.includes("country") && (D = j.long_name);
1463
1464
  }), {
1464
1465
  display_name: $.formatted_address || "",
1465
1466
  lat: A,
1466
1467
  lng: S,
1467
- city: re,
1468
- state: z,
1468
+ city: ee,
1469
+ state: V,
1469
1470
  country: D
1470
1471
  };
1471
1472
  } catch {
@@ -1475,12 +1476,12 @@ const ua = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1475
1476
  []
1476
1477
  ), W = we(() => v([]), []);
1477
1478
  return {
1478
- isLoaded: x,
1479
+ isLoaded: w,
1479
1480
  predictions: T,
1480
- isSearching: O,
1481
+ isSearching: F,
1481
1482
  loadError: E,
1482
- searchPlaces: Q,
1483
- getPlaceDetails: V,
1483
+ searchPlaces: Z,
1484
+ getPlaceDetails: q,
1484
1485
  clearPredictions: W,
1485
1486
  triggerLoad: y
1486
1487
  // Call this to start loading Google Maps when deferred
@@ -1493,21 +1494,21 @@ const ua = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1493
1494
  restrictCountry: t?.restrictCountry
1494
1495
  };
1495
1496
  }, pa = (t) => {
1496
- const { searchLocalities: o, restrictCountry: c } = t, [d, b] = U([]), [x, g] = U(!1), [T, v] = U(null), O = F(0);
1497
- J(() => {
1497
+ const { searchLocalities: o, restrictCountry: c } = t, [d, b] = U([]), [w, g] = U(!1), [T, v] = U(null), F = O(0);
1498
+ z(() => {
1498
1499
  v(null);
1499
1500
  }, [o]);
1500
- const P = we(
1501
+ const x = we(
1501
1502
  async (u) => {
1502
1503
  if (!u || u.length < 2 || !o) {
1503
1504
  b([]);
1504
1505
  return;
1505
1506
  }
1506
- const I = ++O.current;
1507
+ const I = ++F.current;
1507
1508
  g(!0), v(null);
1508
1509
  try {
1509
1510
  const h = fa({ restrictCountry: c }), M = await o(u, h);
1510
- if (I !== O.current) return;
1511
+ if (I !== F.current) return;
1511
1512
  const f = (M || []).filter(
1512
1513
  (m) => !!m?.id && !!m?.description && hr(m?.lat) && hr(m?.lng)
1513
1514
  ).map((m) => ({
@@ -1519,22 +1520,22 @@ const ua = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1519
1520
  }));
1520
1521
  b(f);
1521
1522
  } catch (h) {
1522
- if (I !== O.current) return;
1523
+ if (I !== F.current) return;
1523
1524
  b([]), v(h?.message || "Failed to fetch locations");
1524
1525
  } finally {
1525
- I === O.current && g(!1);
1526
+ I === F.current && g(!1);
1526
1527
  }
1527
1528
  },
1528
1529
  [c, o]
1529
1530
  ), E = we(() => b([]), []);
1530
1531
  return {
1531
1532
  predictions: d,
1532
- isSearching: x,
1533
+ isSearching: w,
1533
1534
  loadError: T,
1534
- searchPlaces: P,
1535
+ searchPlaces: x,
1535
1536
  clearPredictions: E
1536
1537
  };
1537
- }, Ee = {
1538
+ }, Ie = {
1538
1539
  time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
1539
1540
  location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
1540
1541
  date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
@@ -1609,24 +1610,22 @@ const ua = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1609
1610
  { code: "+975", country: "Bhutan" },
1610
1611
  { code: "+976", country: "Mongolia" },
1611
1612
  { code: "+977", country: "Nepal" }
1612
- ];
1613
- wr.map((t) => t.code);
1614
- const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr), ha = (t) => tr(t).length === xr, ga = (t, o, c) => ha(t) ? c.phone ? { shouldTrack: !1 } : (c.phone = !0, { shouldTrack: !0, fullPhone: `${o}-${tr(t)}` }) : (c.phone = !1, { shouldTrack: !1 }), _a = {}, ba = ({
1613
+ ], ha = wr.map((t) => t.code), xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr), ga = (t) => tr(t).length === xr, _a = (t, o, c) => ga(t) ? c.phone ? { shouldTrack: !1 } : (c.phone = !0, { shouldTrack: !0, fullPhone: `${o}-${tr(t)}` }) : (c.phone = !1, { shouldTrack: !1 }), ba = {}, ya = ({
1615
1614
  t,
1616
1615
  values: o,
1617
1616
  onChange: c,
1618
1617
  phoneIsdCode: d,
1619
1618
  onPhoneIsdCodeChange: b,
1620
- showV1ExtraFields: x = !1,
1619
+ showV1ExtraFields: w = !1,
1621
1620
  analytics: g,
1622
1621
  googleMapsApiKey: T,
1623
1622
  atlasSearchLocalities: v,
1624
- googleMapsAutocompleteEnabled: O,
1625
- className: P = ""
1623
+ googleMapsAutocompleteEnabled: F,
1624
+ className: x = ""
1626
1625
  }) => {
1627
- const E = Ie(), u = E?.config?.analytics ?? g, I = E?.config.isGlobal ?? !0, h = E?.config?.googleMapsApiKey, M = E?.config?.atlasSearchLocalities, f = E?.config?.googleMapsAutocompleteEnabled, [m, y] = U(!1), [Q, V] = U(""), W = F(null), B = F(null), $ = F({}), A = (a) => c({ ...o, ...a }), S = (a, s) => {
1626
+ const E = Le(), u = E?.config?.analytics ?? g, I = E?.config.isGlobal ?? !0, h = E?.config?.googleMapsApiKey, M = E?.config?.atlasSearchLocalities, f = E?.config?.googleMapsAutocompleteEnabled, [m, y] = U(!1), [Z, q] = U(""), W = O(null), B = O(null), $ = O({}), A = (a) => c({ ...o, ...a }), S = (a, s) => {
1628
1627
  if (a === "phone") {
1629
- const R = ga(s, d, $.current);
1628
+ const R = _a(s, d, $.current);
1630
1629
  R.shouldTrack && u?.trackPhoneSectionFilled?.({ phone: R.fullPhone });
1631
1630
  return;
1632
1631
  }
@@ -1636,82 +1635,82 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
1636
1635
  birthTime: () => u?.trackTimeFilled?.(),
1637
1636
  birthPlace: () => u?.trackPlaceOfBirthChosen?.()
1638
1637
  }[a]?.());
1639
- }, re = (a) => {
1638
+ }, ee = (a) => {
1640
1639
  const s = a.target.value;
1641
1640
  s.trim() && u?.trackEmailSectionFilled?.({ email: s });
1642
- }, z = Q.trim().toLowerCase(), D = wr.filter((a) => z ? a.country.toLowerCase().includes(z) || a.code.includes(z) : !0), j = F(null);
1643
- F(null);
1644
- const G = F(null), H = F(0), te = F(null), [ge, X] = U(!1), [Z, ie] = U({ hour12: 12, minute: "00", meridiem: "AM" }), ae = (a) => String(a).padStart(2, "0"), pe = (a) => {
1641
+ }, V = Z.trim().toLowerCase(), D = wr.filter((a) => V ? a.country.toLowerCase().includes(V) || a.code.includes(V) : !0), j = O(null);
1642
+ O(null);
1643
+ const G = O(null), H = O(0), J = O(null), [xe, re] = U(!1), [Q, ae] = U({ hour12: 12, minute: "00", meridiem: "AM" }), oe = (a) => String(a).padStart(2, "0"), _e = (a) => {
1645
1644
  const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
1646
1645
  if (!s) return a;
1647
- const R = Number(s[1]), me = s[2], Oe = R >= 12 ? "PM" : "AM";
1648
- return `${R % 12 === 0 ? 12 : R % 12}:${me} ${Oe}`;
1649
- }, _e = (a) => {
1646
+ const R = Number(s[1]), pe = s[2], Fe = R >= 12 ? "PM" : "AM";
1647
+ return `${R % 12 === 0 ? 12 : R % 12}:${pe} ${Fe}`;
1648
+ }, de = (a) => {
1650
1649
  const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
1651
1650
  if (!s) return { hour12: 12, minute: "00", meridiem: "AM" };
1652
- const R = Number(s[1]), me = s[2], Oe = R >= 12 ? "PM" : "AM";
1653
- return { hour12: R % 12 === 0 ? 12 : R % 12, minute: me, meridiem: Oe };
1651
+ const R = Number(s[1]), pe = s[2], Fe = R >= 12 ? "PM" : "AM";
1652
+ return { hour12: R % 12 === 0 ? 12 : R % 12, minute: pe, meridiem: Fe };
1654
1653
  }, ue = (a) => {
1655
1654
  const s = Math.min(12, Math.max(1, a.hour12)), R = /^([0-5]\d)$/.test(a.minute) ? a.minute : "00";
1656
- let me = s % 12;
1657
- return a.meridiem === "PM" && (me += 12), `${ae(me)}:${R}`;
1658
- }, be = F(null), [se, ee] = U(!1), le = F(o.birthPlace ?? ""), [ce, Y] = U(
1655
+ let pe = s % 12;
1656
+ return a.meridiem === "PM" && (pe += 12), `${oe(pe)}:${R}`;
1657
+ }, be = O(null), [ie, fe] = U(!1), X = O(o.birthPlace ?? ""), [me, se] = U(
1659
1658
  null
1660
- ), Te = T ?? h ?? _a?.VITE_GOOGLE_MAPS_API_KEY, ye = v ?? M, ne = O ?? f ?? !0, Pe = (o.birthPlace ?? "").trim(), ve = I ? void 0 : "in", he = ma({
1661
- apiKey: ne ? Te : void 0,
1659
+ ), le = T ?? h ?? ba?.VITE_GOOGLE_MAPS_API_KEY, Ce = v ?? M, te = F ?? f ?? !0, Pe = (o.birthPlace ?? "").trim(), ye = I ? void 0 : "in", ge = ma({
1660
+ apiKey: te ? le : void 0,
1662
1661
  language: "en",
1663
- restrictCountry: ve
1664
- }), k = pa({
1665
- searchLocalities: ne ? void 0 : ye,
1666
- restrictCountry: ve
1667
- }), xe = ne ? he.predictions.map((a) => ({
1662
+ restrictCountry: ye
1663
+ }), ve = pa({
1664
+ searchLocalities: te ? void 0 : Ce,
1665
+ restrictCountry: ye
1666
+ }), P = te ? ge.predictions.map((a) => ({
1668
1667
  id: a.place_id,
1669
1668
  description: a.description,
1670
1669
  secondaryText: a.structured_formatting?.secondary_text,
1671
1670
  lat: void 0,
1672
1671
  lng: void 0
1673
- })) : k.predictions.map((a) => ({
1672
+ })) : ve.predictions.map((a) => ({
1674
1673
  id: a.id,
1675
1674
  description: a.description,
1676
1675
  secondaryText: a.secondary_text,
1677
1676
  lat: a.lat,
1678
1677
  lng: a.lng
1679
- })), Ue = ne ? he.isSearching : k.isSearching, Ge = ne ? he.loadError : k.loadError, Ne = ne ? !!Te : !!ye, Ke = ne ? he.searchPlaces : k.searchPlaces, Le = ne ? he.clearPredictions : k.clearPredictions, Be = F(() => {
1678
+ })), Ne = te ? ge.isSearching : ve.isSearching, Ge = te ? ge.loadError : ve.loadError, Se = te ? !!le : !!Ce, Ke = te ? ge.searchPlaces : ve.searchPlaces, Be = te ? ge.clearPredictions : ve.clearPredictions, De = O(() => {
1680
1679
  });
1681
- Be.current = () => {
1682
- (o.birthPlace ?? "") !== le.current && A({
1680
+ De.current = () => {
1681
+ (o.birthPlace ?? "") !== X.current && A({
1683
1682
  birthPlace: "",
1684
1683
  birthPlaceLat: void 0,
1685
1684
  birthPlaceLng: void 0
1686
- }), ee(!1);
1687
- }, J(() => {
1685
+ }), fe(!1);
1686
+ }, z(() => {
1688
1687
  const a = (s) => {
1689
- be.current && (be.current.contains(s.target) || Be.current());
1688
+ be.current && (be.current.contains(s.target) || De.current());
1690
1689
  };
1691
1690
  return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
1692
- }, []), J(() => {
1691
+ }, []), z(() => {
1693
1692
  const a = (s) => {
1694
- W.current && (W.current.contains(s.target) || (y(!1), V("")));
1693
+ W.current && (W.current.contains(s.target) || (y(!1), q("")));
1695
1694
  };
1696
1695
  return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
1697
- }, []), J(() => {
1696
+ }, []), z(() => {
1698
1697
  if (!m) return;
1699
1698
  const a = window.setTimeout(() => {
1700
1699
  B.current?.focus();
1701
1700
  }, 0);
1702
1701
  return () => window.clearTimeout(a);
1703
- }, [m]), J(() => {
1704
- if (!se) return;
1702
+ }, [m]), z(() => {
1703
+ if (!ie) return;
1705
1704
  if (Pe.length < 2) {
1706
- Le();
1705
+ Be();
1707
1706
  return;
1708
1707
  }
1709
1708
  const a = window.setTimeout(async () => {
1710
1709
  await Ke(Pe);
1711
1710
  }, 250);
1712
1711
  return () => window.clearTimeout(a);
1713
- }, [Le, se, Pe, Ke]);
1714
- const De = (a) => {
1712
+ }, [Be, ie, Pe, Ke]);
1713
+ const Oe = (a) => {
1715
1714
  const s = a.current;
1716
1715
  if (!(!s || s.disabled)) {
1717
1716
  if (document.activeElement === s && G.current === s && Date.now() - H.current < 6e4) {
@@ -1725,16 +1724,16 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
1725
1724
  s.focus(), G.current = s, H.current = Date.now();
1726
1725
  }
1727
1726
  };
1728
- return J(() => {
1727
+ return z(() => {
1729
1728
  const a = (s) => {
1730
- te.current && (te.current.contains(s.target) || X(!1));
1729
+ J.current && (J.current.contains(s.target) || re(!1));
1731
1730
  };
1732
1731
  return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
1733
- }, []), J(() => {
1732
+ }, []), z(() => {
1734
1733
  const a = (R) => {
1735
- R.target?.closest?.("[data-info-tooltip]") == null && Y(null);
1734
+ R.target?.closest?.("[data-info-tooltip]") == null && se(null);
1736
1735
  }, s = (R) => {
1737
- R.key === "Escape" && Y(null);
1736
+ R.key === "Escape" && se(null);
1738
1737
  };
1739
1738
  return document.addEventListener("mousedown", a), document.addEventListener("keydown", s), () => {
1740
1739
  document.removeEventListener("mousedown", a), document.removeEventListener("keydown", s);
@@ -1742,7 +1741,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
1742
1741
  }, []), /* @__PURE__ */ r.jsx(
1743
1742
  "section",
1744
1743
  {
1745
- className: `${n.wrap} ${P}`,
1744
+ className: `${n.wrap} ${x}`,
1746
1745
  "aria-label": t("formTitle"),
1747
1746
  children: /* @__PURE__ */ r.jsx("div", { className: n.card, children: /* @__PURE__ */ r.jsxs("div", { className: n.cardInner, children: [
1748
1747
  /* @__PURE__ */ r.jsxs("div", { className: n.field, children: [
@@ -1782,7 +1781,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
1782
1781
  "aria-haspopup": "listbox",
1783
1782
  "aria-expanded": m,
1784
1783
  onClick: () => {
1785
- y((a) => !a), V("");
1784
+ y((a) => !a), q("");
1786
1785
  },
1787
1786
  children: d
1788
1787
  }
@@ -1821,8 +1820,8 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
1821
1820
  {
1822
1821
  ref: B,
1823
1822
  type: "text",
1824
- value: Q,
1825
- onChange: (a) => V(a.target.value),
1823
+ value: Z,
1824
+ onChange: (a) => q(a.target.value),
1826
1825
  placeholder: "Search country",
1827
1826
  className: n.isdSearchInput,
1828
1827
  "aria-label": "Search country"
@@ -1836,7 +1835,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
1836
1835
  "aria-selected": a.code === d,
1837
1836
  className: `${n.isdOption} ${a.code === d ? n.isdOptionActive : ""}`,
1838
1837
  onClick: () => {
1839
- b(a.code), y(!1), V("");
1838
+ b(a.code), y(!1), q("");
1840
1839
  },
1841
1840
  children: [
1842
1841
  /* @__PURE__ */ r.jsx("span", { className: n.isdCountryName, children: a.country }),
@@ -1850,7 +1849,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
1850
1849
  )
1851
1850
  ] }) })
1852
1851
  ] }),
1853
- x && /* @__PURE__ */ r.jsxs("div", { className: n.field, children: [
1852
+ w && /* @__PURE__ */ r.jsxs("div", { className: n.field, children: [
1854
1853
  /* @__PURE__ */ r.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: n.label, children: [
1855
1854
  t("formGender"),
1856
1855
  /* @__PURE__ */ r.jsx("span", { className: n.req, children: "*" })
@@ -1915,7 +1914,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
1915
1914
  onChange: (a) => {
1916
1915
  A({ email: a.target.value });
1917
1916
  },
1918
- onBlur: re,
1917
+ onBlur: ee,
1919
1918
  placeholder: t("formEmailPlaceholder"),
1920
1919
  autoComplete: "email",
1921
1920
  required: !0,
@@ -1936,22 +1935,22 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
1936
1935
  type: "button",
1937
1936
  className: n.infoBtn,
1938
1937
  "aria-label": t("info"),
1939
- "aria-expanded": ce === "dob",
1938
+ "aria-expanded": me === "dob",
1940
1939
  onClick: () => {
1941
- Y((a) => a === "dob" ? null : "dob"), u?.trackInfoIconClicked?.({ fieldName: "dob" });
1940
+ se((a) => a === "dob" ? null : "dob"), u?.trackInfoIconClicked?.({ fieldName: "dob" });
1942
1941
  },
1943
1942
  children: /* @__PURE__ */ r.jsx(
1944
1943
  "img",
1945
1944
  {
1946
1945
  className: n.infoImg,
1947
- src: Ee.info,
1946
+ src: Ie.info,
1948
1947
  alt: "",
1949
1948
  "aria-hidden": !0
1950
1949
  }
1951
1950
  )
1952
1951
  }
1953
1952
  ),
1954
- ce === "dob" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
1953
+ me === "dob" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
1955
1954
  t("formDobInfo"),
1956
1955
  /* @__PURE__ */ r.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
1957
1956
  ] })
@@ -1968,14 +1967,14 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
1968
1967
  value: o.dateOfBirth,
1969
1968
  max: (() => {
1970
1969
  const a = /* @__PURE__ */ new Date();
1971
- return `${a.getFullYear()}-${ae(a.getMonth() + 1)}-${ae(a.getDate())}`;
1970
+ return `${a.getFullYear()}-${oe(a.getMonth() + 1)}-${oe(a.getDate())}`;
1972
1971
  })(),
1973
1972
  onChange: (a) => {
1974
- const s = a.target.value, R = /* @__PURE__ */ new Date(), me = `${R.getFullYear()}-${ae(R.getMonth() + 1)}-${ae(R.getDate())}`;
1975
- s && s > me || (A({ dateOfBirth: s }), S("dateOfBirth", s), G.current = null);
1973
+ const s = a.target.value, R = /* @__PURE__ */ new Date(), pe = `${R.getFullYear()}-${oe(R.getMonth() + 1)}-${oe(R.getDate())}`;
1974
+ s && s > pe || (A({ dateOfBirth: s }), S("dateOfBirth", s), G.current = null);
1976
1975
  },
1977
1976
  onFocus: () => u?.trackDobClicked?.(),
1978
- onClick: () => De(j),
1977
+ onClick: () => Oe(j),
1979
1978
  onBlur: () => {
1980
1979
  G.current === j.current && (G.current = null);
1981
1980
  }
@@ -1989,13 +1988,13 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
1989
1988
  "aria-label": "Open date picker",
1990
1989
  onMouseDown: (a) => a.preventDefault(),
1991
1990
  onClick: (a) => {
1992
- a.preventDefault(), a.stopPropagation(), De(j);
1991
+ a.preventDefault(), a.stopPropagation(), Oe(j);
1993
1992
  },
1994
1993
  children: /* @__PURE__ */ r.jsx(
1995
1994
  "img",
1996
1995
  {
1997
1996
  className: n.iconImg,
1998
- src: Ee.date,
1997
+ src: Ie.date,
1999
1998
  alt: "",
2000
1999
  "aria-hidden": !0
2001
2000
  }
@@ -2017,35 +2016,35 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2017
2016
  type: "button",
2018
2017
  className: n.infoBtn,
2019
2018
  "aria-label": t("info"),
2020
- "aria-expanded": ce === "time",
2019
+ "aria-expanded": me === "time",
2021
2020
  onClick: () => {
2022
- u?.trackInfoIconClicked?.({ fieldName: "time" }), Y((a) => a === "time" ? null : "time");
2021
+ u?.trackInfoIconClicked?.({ fieldName: "time" }), se((a) => a === "time" ? null : "time");
2023
2022
  },
2024
2023
  children: /* @__PURE__ */ r.jsx(
2025
2024
  "img",
2026
2025
  {
2027
2026
  className: n.infoImg,
2028
- src: Ee.info,
2027
+ src: Ie.info,
2029
2028
  alt: "",
2030
2029
  "aria-hidden": !0
2031
2030
  }
2032
2031
  )
2033
2032
  }
2034
2033
  ),
2035
- ce === "time" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
2034
+ me === "time" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
2036
2035
  t("formBirthTimeInfo"),
2037
2036
  /* @__PURE__ */ r.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
2038
2037
  ] })
2039
2038
  ] })
2040
2039
  ] }),
2041
- /* @__PURE__ */ r.jsxs("div", { className: n.inputWrap, ref: te, children: [
2040
+ /* @__PURE__ */ r.jsxs("div", { className: n.inputWrap, ref: J, children: [
2042
2041
  /* @__PURE__ */ r.jsx(
2043
2042
  "input",
2044
2043
  {
2045
2044
  id: "kundli-birth-time",
2046
2045
  className: n.input,
2047
2046
  type: "text",
2048
- value: o.birthTime ? pe(o.birthTime) : "",
2047
+ value: o.birthTime ? _e(o.birthTime) : "",
2049
2048
  readOnly: !0,
2050
2049
  onFocus: () => u?.trackTimeClicked?.(),
2051
2050
  onChange: (a) => {
@@ -2055,7 +2054,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2055
2054
  disabled: o.birthTimeUnknown,
2056
2055
  placeholder: "HH:MM AM",
2057
2056
  onClick: () => {
2058
- o.birthTimeUnknown || (ie(_e(o.birthTime || "12:00")), X((a) => !a));
2057
+ o.birthTimeUnknown || (ae(de(o.birthTime || "12:00")), re((a) => !a));
2059
2058
  }
2060
2059
  }
2061
2060
  ),
@@ -2068,20 +2067,20 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2068
2067
  disabled: o.birthTimeUnknown,
2069
2068
  onMouseDown: (a) => a.preventDefault(),
2070
2069
  onClick: (a) => {
2071
- a.preventDefault(), a.stopPropagation(), !o.birthTimeUnknown && (ie(_e(o.birthTime || "12:00")), X((s) => !s));
2070
+ a.preventDefault(), a.stopPropagation(), !o.birthTimeUnknown && (ae(de(o.birthTime || "12:00")), re((s) => !s));
2072
2071
  },
2073
2072
  children: /* @__PURE__ */ r.jsx(
2074
2073
  "img",
2075
2074
  {
2076
2075
  className: n.iconImg,
2077
- src: Ee.time,
2076
+ src: Ie.time,
2078
2077
  alt: "",
2079
2078
  "aria-hidden": !0
2080
2079
  }
2081
2080
  )
2082
2081
  }
2083
2082
  ),
2084
- ge && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
2083
+ xe && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
2085
2084
  "div",
2086
2085
  {
2087
2086
  className: n.timePopover,
@@ -2093,8 +2092,8 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2093
2092
  "select",
2094
2093
  {
2095
2094
  className: n.timePickerSelect,
2096
- value: Z.hour12,
2097
- onChange: (a) => ie((s) => ({
2095
+ value: Q.hour12,
2096
+ onChange: (a) => ae((s) => ({
2098
2097
  ...s,
2099
2098
  hour12: Number(a.target.value)
2100
2099
  })),
@@ -2107,10 +2106,10 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2107
2106
  "select",
2108
2107
  {
2109
2108
  className: n.timePickerSelect,
2110
- value: Z.minute,
2111
- onChange: (a) => ie((s) => ({ ...s, minute: a.target.value })),
2109
+ value: Q.minute,
2110
+ onChange: (a) => ae((s) => ({ ...s, minute: a.target.value })),
2112
2111
  "aria-label": "Minute",
2113
- children: Array.from({ length: 60 }, (a, s) => ae(s)).map(
2112
+ children: Array.from({ length: 60 }, (a, s) => oe(s)).map(
2114
2113
  (a) => /* @__PURE__ */ r.jsx("option", { value: a, children: a }, a)
2115
2114
  )
2116
2115
  }
@@ -2120,8 +2119,8 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2120
2119
  "button",
2121
2120
  {
2122
2121
  type: "button",
2123
- className: `${n.meridiemBtn} ${Z.meridiem === "AM" ? n.meridiemActive : ""}`,
2124
- onClick: () => ie((a) => ({ ...a, meridiem: "AM" })),
2122
+ className: `${n.meridiemBtn} ${Q.meridiem === "AM" ? n.meridiemActive : ""}`,
2123
+ onClick: () => ae((a) => ({ ...a, meridiem: "AM" })),
2125
2124
  children: "AM"
2126
2125
  }
2127
2126
  ),
@@ -2129,8 +2128,8 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2129
2128
  "button",
2130
2129
  {
2131
2130
  type: "button",
2132
- className: `${n.meridiemBtn} ${Z.meridiem === "PM" ? n.meridiemActive : ""}`,
2133
- onClick: () => ie((a) => ({ ...a, meridiem: "PM" })),
2131
+ className: `${n.meridiemBtn} ${Q.meridiem === "PM" ? n.meridiemActive : ""}`,
2132
+ onClick: () => ae((a) => ({ ...a, meridiem: "PM" })),
2134
2133
  children: "PM"
2135
2134
  }
2136
2135
  )
@@ -2142,7 +2141,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2142
2141
  {
2143
2142
  type: "button",
2144
2143
  className: n.timePopoverBtn,
2145
- onClick: () => X(!1),
2144
+ onClick: () => re(!1),
2146
2145
  children: "Cancel"
2147
2146
  }
2148
2147
  ),
@@ -2152,8 +2151,8 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2152
2151
  type: "button",
2153
2152
  className: `${n.timePopoverBtn} ${n.timePopoverOk}`,
2154
2153
  onClick: () => {
2155
- const a = ue(Z);
2156
- A({ birthTime: a }), S("birthTime", a), X(!1);
2154
+ const a = ue(Q);
2155
+ A({ birthTime: a }), S("birthTime", a), re(!1);
2157
2156
  },
2158
2157
  "aria-label": "OK",
2159
2158
  children: /* @__PURE__ */ r.jsx(
@@ -2227,24 +2226,24 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2227
2226
  type: "button",
2228
2227
  className: n.infoBtn,
2229
2228
  "aria-label": t("info"),
2230
- "aria-expanded": ce === "place",
2229
+ "aria-expanded": me === "place",
2231
2230
  onClick: () => {
2232
2231
  u?.trackInfoIconClicked?.({
2233
2232
  fieldName: "birthPlace"
2234
- }), Y((a) => a === "place" ? null : "place");
2233
+ }), se((a) => a === "place" ? null : "place");
2235
2234
  },
2236
2235
  children: /* @__PURE__ */ r.jsx(
2237
2236
  "img",
2238
2237
  {
2239
2238
  className: n.infoImg,
2240
- src: Ee.info,
2239
+ src: Ie.info,
2241
2240
  alt: "",
2242
2241
  "aria-hidden": !0
2243
2242
  }
2244
2243
  )
2245
2244
  }
2246
2245
  ),
2247
- ce === "place" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
2246
+ me === "place" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
2248
2247
  t("formBirthPlaceInfo"),
2249
2248
  /* @__PURE__ */ r.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
2250
2249
  ] })
@@ -2264,10 +2263,10 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2264
2263
  birthPlace: s,
2265
2264
  birthPlaceLat: void 0,
2266
2265
  birthPlaceLng: void 0
2267
- }), S("birthPlace", s), ee(!0);
2266
+ }), S("birthPlace", s), fe(!0);
2268
2267
  },
2269
2268
  onFocus: () => {
2270
- u?.trackPlaceOfBirthClicked?.(), ee(!0);
2269
+ u?.trackPlaceOfBirthClicked?.(), fe(!0);
2271
2270
  },
2272
2271
  placeholder: t("formBirthPlacePlaceholder"),
2273
2272
  autoComplete: "address-level2"
@@ -2277,27 +2276,27 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2277
2276
  "img",
2278
2277
  {
2279
2278
  className: n.iconImg,
2280
- src: Ee.location,
2279
+ src: Ie.location,
2281
2280
  alt: "",
2282
2281
  "aria-hidden": !0
2283
2282
  }
2284
2283
  ) }),
2285
- se && xe.length > 0 && /* @__PURE__ */ r.jsx("div", { className: n.suggestions, role: "listbox", children: xe.slice(0, 8).map((a) => /* @__PURE__ */ r.jsxs(
2284
+ ie && P.length > 0 && /* @__PURE__ */ r.jsx("div", { className: n.suggestions, role: "listbox", children: P.slice(0, 8).map((a) => /* @__PURE__ */ r.jsxs(
2286
2285
  "button",
2287
2286
  {
2288
2287
  type: "button",
2289
2288
  className: n.suggestionItem,
2290
2289
  onClick: async () => {
2291
2290
  const s = a.description;
2292
- if (le.current = s, A({
2291
+ if (X.current = s, A({
2293
2292
  birthPlace: s,
2294
2293
  birthPlaceLat: a.lat,
2295
2294
  birthPlaceLng: a.lng
2296
- }), Le(), ee(!1), ne) {
2297
- const R = await he.getPlaceDetails(
2295
+ }), Be(), fe(!1), te) {
2296
+ const R = await ge.getPlaceDetails(
2298
2297
  a.id
2299
2298
  );
2300
- R && (le.current = s, c({
2299
+ R && (X.current = s, c({
2301
2300
  ...o,
2302
2301
  birthPlace: s,
2303
2302
  birthPlaceLat: R.lat,
@@ -2312,11 +2311,11 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2312
2311
  },
2313
2312
  a.id
2314
2313
  )) }),
2315
- se && Ne && Ue && /* @__PURE__ */ r.jsx("div", { className: n.suggestionsHint, children: "Loading…" }),
2316
- se && Ne && !Ue && !!Ge && /* @__PURE__ */ r.jsx("div", { className: n.suggestionsHint, children: Ge })
2314
+ ie && Se && Ne && /* @__PURE__ */ r.jsx("div", { className: n.suggestionsHint, children: "Loading…" }),
2315
+ ie && Se && !Ne && !!Ge && /* @__PURE__ */ r.jsx("div", { className: n.suggestionsHint, children: Ge })
2317
2316
  ] })
2318
2317
  ] }),
2319
- x && /* @__PURE__ */ r.jsxs("div", { className: n.field, children: [
2318
+ w && /* @__PURE__ */ r.jsxs("div", { className: n.field, children: [
2320
2319
  /* @__PURE__ */ r.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: n.label, children: [
2321
2320
  t("formReportLanguage"),
2322
2321
  /* @__PURE__ */ r.jsx("span", { className: n.req, children: "*" })
@@ -2447,21 +2446,21 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2447
2446
  ] }) })
2448
2447
  }
2449
2448
  );
2450
- }, ya = "_ctaButton_rhimw_2", va = "_ctaFilled_rhimw_21", ka = "_ctaFilledContent_rhimw_52", wa = "_chevronRight_rhimw_61", $e = {
2451
- ctaButton: ya,
2452
- ctaFilled: va,
2453
- ctaFilledContent: ka,
2454
- chevronRight: wa
2455
- }, Pr = "kundli-report-astrologer", xa = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", Pa = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Aa = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Ca = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", ja = ({ t }) => {
2456
- const c = Ie()?.config.imageComponent ?? Ye;
2457
- return /* @__PURE__ */ r.jsxs("div", { className: je.marqueeContent, children: [
2458
- /* @__PURE__ */ r.jsxs("span", { className: je.badge, children: [
2449
+ }, va = "_ctaButton_rhimw_2", ka = "_ctaFilled_rhimw_21", wa = "_ctaFilledContent_rhimw_52", xa = "_chevronRight_rhimw_61", Ue = {
2450
+ ctaButton: va,
2451
+ ctaFilled: ka,
2452
+ ctaFilledContent: wa,
2453
+ chevronRight: xa
2454
+ }, Pr = "kundli-report-astrologer", Pa = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", Aa = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Ca = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", ja = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", Ta = ({ t }) => {
2455
+ const c = Le()?.config.imageComponent ?? Ye;
2456
+ return /* @__PURE__ */ r.jsxs("div", { className: Te.marqueeContent, children: [
2457
+ /* @__PURE__ */ r.jsxs("span", { className: Te.badge, children: [
2459
2458
  /* @__PURE__ */ r.jsx(
2460
2459
  c,
2461
2460
  {
2462
- src: xa,
2461
+ src: Pa,
2463
2462
  alt: "",
2464
- className: je.badgeIcon,
2463
+ className: Te.badgeIcon,
2465
2464
  width: 16,
2466
2465
  height: 16,
2467
2466
  loading: "lazy"
@@ -2469,13 +2468,13 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2469
2468
  ),
2470
2469
  t("ctaKundliCreated")
2471
2470
  ] }),
2472
- /* @__PURE__ */ r.jsxs("span", { className: je.badge, children: [
2471
+ /* @__PURE__ */ r.jsxs("span", { className: Te.badge, children: [
2473
2472
  /* @__PURE__ */ r.jsx(
2474
2473
  c,
2475
2474
  {
2476
- src: Pa,
2475
+ src: Aa,
2477
2476
  alt: "",
2478
- className: je.badgeIcon,
2477
+ className: Te.badgeIcon,
2479
2478
  width: 16,
2480
2479
  height: 16,
2481
2480
  loading: "lazy"
@@ -2483,13 +2482,13 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2483
2482
  ),
2484
2483
  t("ctaCertified")
2485
2484
  ] }),
2486
- /* @__PURE__ */ r.jsxs("span", { className: je.badge, children: [
2485
+ /* @__PURE__ */ r.jsxs("span", { className: Te.badge, children: [
2487
2486
  /* @__PURE__ */ r.jsx(
2488
2487
  c,
2489
2488
  {
2490
- src: Aa,
2489
+ src: Ca,
2491
2490
  alt: "",
2492
- className: je.badgeIcon,
2491
+ className: Te.badgeIcon,
2493
2492
  width: 16,
2494
2493
  height: 16,
2495
2494
  loading: "lazy"
@@ -2498,11 +2497,11 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2498
2497
  t("ctaSecurePayment")
2499
2498
  ] })
2500
2499
  ] });
2501
- }, Ta = (t) => /.+@.+\..+/.test(t), Na = (t) => /^\d{10}$/.test(t), Sa = (t, o, c) => {
2500
+ }, Na = (t) => /.+@.+\..+/.test(t), Sa = (t) => /^\d{10}$/.test(t), Ra = (t, o, c) => {
2502
2501
  if (!t.fullName.trim()) return "fullName";
2503
2502
  if (o) {
2504
- if (!Ta(t.email.trim())) return "email";
2505
- } else if (!Na((t.phone ?? "").trim())) return "phone";
2503
+ if (!Na(t.email.trim())) return "email";
2504
+ } else if (!Sa((t.phone ?? "").trim())) return "phone";
2506
2505
  if (!t.dateOfBirth) return "dateOfBirth";
2507
2506
  if (!t.birthPlace.trim()) return "birthPlace";
2508
2507
  if (c) {
@@ -2510,33 +2509,33 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2510
2509
  if (!t.language_code) return "language_code";
2511
2510
  }
2512
2511
  return !t.birthTimeUnknown && !t.birthTime ? "birthTime" : null;
2513
- }, Ra = ({
2512
+ }, Ea = ({
2514
2513
  t,
2515
2514
  values: o,
2516
2515
  phoneIsdCode: c,
2517
2516
  requireV1ExtraFields: d = !1,
2518
2517
  onValidationFailed: b,
2519
- onProceed: x,
2518
+ onProceed: w,
2520
2519
  onProceedGuidance: g,
2521
2520
  href: T,
2522
2521
  analytics: v,
2523
- className: O = "",
2524
- discountedPriceLabel: P,
2522
+ className: F = "",
2523
+ discountedPriceLabel: x,
2525
2524
  discountPillLabel: E,
2526
2525
  showPlanSheet: u,
2527
2526
  confirmPlan: I,
2528
2527
  planSheetOpen: h,
2529
2528
  selectedPlan: M
2530
2529
  }) => {
2531
- const f = Ie(), m = f?.config.isGlobal ?? !0, y = f?.config?.variant, Q = Xe(
2532
- () => Sa(o, m, d),
2530
+ const f = Le(), m = f?.config.isGlobal ?? !0, y = f?.config?.variant, Z = Xe(
2531
+ () => Ra(o, m, d),
2533
2532
  [o, m, d]
2534
- ), V = Q === null, W = y === "v1" && f?.config?.showSheet, B = m ? P ?? t("formDiscountedPrice") : W ? "" : "₹499", $ = f?.config.imageComponent ?? Ye, A = (re) => {
2535
- if (re.preventDefault(), y === "v1" && !V && v?.trackKundliDetailedClicked?.(), !V) {
2536
- Q && b?.(Q);
2533
+ ), q = Z === null, W = y === "v1" && f?.config?.showSheet, B = m ? x ?? t("formDiscountedPrice") : W ? "" : "₹499", $ = f?.config.imageComponent ?? Ye, A = (ee) => {
2534
+ if (ee.preventDefault(), y === "v1" && !q && v?.trackKundliDetailedClicked?.(), !q) {
2535
+ Z && b?.(Z);
2537
2536
  return;
2538
2537
  }
2539
- const z = !!g && y === "v1" && M?.id === Pr, D = (o.phone ?? "").trim(), j = {
2538
+ const V = !!g && y === "v1" && M?.id === Pr, D = (o.phone ?? "").trim(), j = {
2540
2539
  ...o,
2541
2540
  phone: D && `${c}-${D}`
2542
2541
  };
@@ -2544,23 +2543,23 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2544
2543
  h ? I?.() : u?.(j);
2545
2544
  return;
2546
2545
  }
2547
- v?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), z ? g(j) : x?.(j);
2546
+ v?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), V ? g(j) : w?.(j);
2548
2547
  }, S = /* @__PURE__ */ r.jsx(
2549
2548
  Ur,
2550
2549
  {
2551
2550
  href: T,
2552
- disabled: y === "v1" ? !1 : !V,
2551
+ disabled: y === "v1" ? !1 : !q,
2553
2552
  onClick: A,
2554
2553
  "aria-label": t("formPriceAria"),
2555
- className: y === "v1" && V ? $e.ctaFilled : y === "v1" ? $e.ctaButton : void 0,
2556
- children: y === "v1" ? V ? /* @__PURE__ */ r.jsxs("span", { className: $e.ctaFilledContent, children: [
2554
+ className: y === "v1" && q ? Ue.ctaFilled : y === "v1" ? Ue.ctaButton : void 0,
2555
+ children: y === "v1" ? q ? /* @__PURE__ */ r.jsxs("span", { className: Ue.ctaFilledContent, children: [
2557
2556
  W ? t("selectPackage") : h && M ? `${t("proceedWithPlan")}${M.price}` : `${t("formProceed")} ${B}`,
2558
2557
  /* @__PURE__ */ r.jsx(
2559
2558
  $,
2560
2559
  {
2561
- src: Ca,
2560
+ src: ja,
2562
2561
  alt: "",
2563
- className: $e.chevronRight,
2562
+ className: Ue.chevronRight,
2564
2563
  width: 20,
2565
2564
  height: 20,
2566
2565
  loading: "lazy"
@@ -2576,18 +2575,18 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2576
2575
  return /* @__PURE__ */ r.jsx(
2577
2576
  Gr,
2578
2577
  {
2579
- className: `${$e.footerContainer} ${O}`,
2580
- marquee: /* @__PURE__ */ r.jsx(Kr, { children: /* @__PURE__ */ r.jsx(ja, { t }) }),
2578
+ className: `${Ue.footerContainer} ${F}`,
2579
+ marquee: /* @__PURE__ */ r.jsx(Kr, { children: /* @__PURE__ */ r.jsx(Ta, { t }) }),
2581
2580
  children: S
2582
2581
  }
2583
2582
  );
2584
- }, Ea = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Ia = ({
2583
+ }, Ia = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", La = ({
2585
2584
  t,
2586
2585
  languageSelector: o,
2587
- logoUrl: c = Ea,
2586
+ logoUrl: c = Ia,
2588
2587
  className: d = ""
2589
2588
  }) => {
2590
- const b = Ie(), x = b?.config.isGlobal ?? !0, g = o != null && !x;
2589
+ const b = Le(), w = b?.config.isGlobal ?? !0, g = o != null && !w;
2591
2590
  return /* @__PURE__ */ r.jsx(
2592
2591
  Wr,
2593
2592
  {
@@ -2599,7 +2598,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2599
2598
  className: d
2600
2599
  }
2601
2600
  );
2602
- }, La = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
2601
+ }, Ba = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
2603
2602
  "path",
2604
2603
  {
2605
2604
  d: "M3.5 8.5l2.5 2.5 6-6",
@@ -2608,7 +2607,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2608
2607
  strokeLinecap: "round",
2609
2608
  strokeLinejoin: "round"
2610
2609
  }
2611
- ) }), Ba = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
2610
+ ) }), Da = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
2612
2611
  "path",
2613
2612
  {
2614
2613
  d: "M4.5 4.5l7 7M11.5 4.5l-7 7",
@@ -2616,52 +2615,52 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2616
2615
  strokeWidth: "1.8",
2617
2616
  strokeLinecap: "round"
2618
2617
  }
2619
- ) }), Da = () => /* @__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" }) }), Oa = () => /* @__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: [
2618
+ ) }), Oa = () => /* @__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" }) }), Fa = () => /* @__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: [
2620
2619
  /* @__PURE__ */ r.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
2621
2620
  /* @__PURE__ */ r.jsx("polyline", { points: "17 6 23 6 23 12" })
2622
- ] }), Fa = "_overlay_18irl_2", Ma = "_sheet_18irl_12", $a = "_header_18irl_36", Ua = "_backBtn_18irl_48", Ga = "_title_18irl_66", Ka = "_plansContainer_18irl_78", Wa = "_planCard_18irl_87", Ha = "_withBadgeSpacing_18irl_101", Ya = "_planCardSelected_18irl_105", qa = "_planCardPopular_18irl_110", Va = "_popularBadge_18irl_119", za = "_planCardInner_18irl_137", Ja = "_planTitleRow_18irl_148", Qa = "_planTitle_18irl_148", Xa = "_radioCircle_18irl_163", Za = "_radioChecked_18irl_176", en = "_radioInner_18irl_181", rn = "_priceRow_18irl_189", tn = "_price_18irl_189", an = "_originalPrice_18irl_202", nn = "_savingsBadge_18irl_209", on = "_featureList_18irl_219", sn = "_featureItem_18irl_228", ln = "_featureIcon_18irl_234", cn = "_featureText_18irl_240", dn = "_astrologerHeading_18irl_251", un = "_astrologerList_18irl_258", mn = "_astrologerCard_18irl_274", fn = "_astrologerAvatar_18irl_290", pn = "_astrologerAvatarPlaceholder_18irl_307", hn = "_astrologerTop_18irl_313", gn = "_astrologerBasicInfo_18irl_319", _n = "_astrologerName_18irl_326", bn = "_astrologerExp_18irl_335", yn = "_astrologerDivider_18irl_341", vn = "_planDivider_18irl_347", kn = "_astrologerCertList_18irl_354", wn = "_astrologerCertItem_18irl_360", xn = "_bullet_18irl_368", Pn = "_footer_18irl_373", An = "_proceedBtn_18irl_383", _ = {
2623
- overlay: Fa,
2624
- sheet: Ma,
2625
- header: $a,
2626
- backBtn: Ua,
2627
- title: Ga,
2628
- plansContainer: Ka,
2629
- planCard: Wa,
2630
- withBadgeSpacing: Ha,
2631
- planCardSelected: Ya,
2632
- planCardPopular: qa,
2633
- popularBadge: Va,
2634
- planCardInner: za,
2635
- planTitleRow: Ja,
2636
- planTitle: Qa,
2637
- radioCircle: Xa,
2638
- radioChecked: Za,
2639
- radioInner: en,
2640
- priceRow: rn,
2641
- price: tn,
2642
- originalPrice: an,
2643
- savingsBadge: nn,
2644
- featureList: on,
2645
- featureItem: sn,
2646
- featureIcon: ln,
2647
- featureText: cn,
2648
- astrologerHeading: dn,
2649
- astrologerList: un,
2650
- astrologerCard: mn,
2651
- astrologerAvatar: fn,
2652
- astrologerAvatarPlaceholder: pn,
2653
- astrologerTop: hn,
2654
- astrologerBasicInfo: gn,
2655
- astrologerName: _n,
2656
- astrologerExp: bn,
2657
- astrologerDivider: yn,
2658
- planDivider: vn,
2659
- astrologerCertList: kn,
2660
- astrologerCertItem: wn,
2661
- bullet: xn,
2662
- footer: Pn,
2663
- proceedBtn: An
2664
- }, Cn = ({ title: t, onBack: o }) => /* @__PURE__ */ r.jsxs("div", { className: _.header, children: [
2621
+ ] }), Ma = "_overlay_18irl_2", $a = "_sheet_18irl_12", Ua = "_header_18irl_36", Ga = "_backBtn_18irl_48", Ka = "_title_18irl_66", Wa = "_plansContainer_18irl_78", Ha = "_planCard_18irl_87", Ya = "_withBadgeSpacing_18irl_101", qa = "_planCardSelected_18irl_105", Va = "_planCardPopular_18irl_110", za = "_popularBadge_18irl_119", Ja = "_planCardInner_18irl_137", Qa = "_planTitleRow_18irl_148", Xa = "_planTitle_18irl_148", Za = "_radioCircle_18irl_163", en = "_radioChecked_18irl_176", rn = "_radioInner_18irl_181", tn = "_priceRow_18irl_189", an = "_price_18irl_189", nn = "_originalPrice_18irl_202", on = "_savingsBadge_18irl_209", sn = "_featureList_18irl_219", ln = "_featureItem_18irl_228", cn = "_featureIcon_18irl_234", dn = "_featureText_18irl_240", un = "_astrologerHeading_18irl_251", mn = "_astrologerList_18irl_258", fn = "_astrologerCard_18irl_274", pn = "_astrologerAvatar_18irl_290", hn = "_astrologerAvatarPlaceholder_18irl_307", gn = "_astrologerTop_18irl_313", _n = "_astrologerBasicInfo_18irl_319", bn = "_astrologerName_18irl_326", yn = "_astrologerExp_18irl_335", vn = "_astrologerDivider_18irl_341", kn = "_planDivider_18irl_347", wn = "_astrologerCertList_18irl_354", xn = "_astrologerCertItem_18irl_360", Pn = "_bullet_18irl_368", An = "_footer_18irl_373", Cn = "_proceedBtn_18irl_383", _ = {
2622
+ overlay: Ma,
2623
+ sheet: $a,
2624
+ header: Ua,
2625
+ backBtn: Ga,
2626
+ title: Ka,
2627
+ plansContainer: Wa,
2628
+ planCard: Ha,
2629
+ withBadgeSpacing: Ya,
2630
+ planCardSelected: qa,
2631
+ planCardPopular: Va,
2632
+ popularBadge: za,
2633
+ planCardInner: Ja,
2634
+ planTitleRow: Qa,
2635
+ planTitle: Xa,
2636
+ radioCircle: Za,
2637
+ radioChecked: en,
2638
+ radioInner: rn,
2639
+ priceRow: tn,
2640
+ price: an,
2641
+ originalPrice: nn,
2642
+ savingsBadge: on,
2643
+ featureList: sn,
2644
+ featureItem: ln,
2645
+ featureIcon: cn,
2646
+ featureText: dn,
2647
+ astrologerHeading: un,
2648
+ astrologerList: mn,
2649
+ astrologerCard: fn,
2650
+ astrologerAvatar: pn,
2651
+ astrologerAvatarPlaceholder: hn,
2652
+ astrologerTop: gn,
2653
+ astrologerBasicInfo: _n,
2654
+ astrologerName: bn,
2655
+ astrologerExp: yn,
2656
+ astrologerDivider: vn,
2657
+ planDivider: kn,
2658
+ astrologerCertList: wn,
2659
+ astrologerCertItem: xn,
2660
+ bullet: Pn,
2661
+ footer: An,
2662
+ proceedBtn: Cn
2663
+ }, jn = ({ title: t, onBack: o }) => /* @__PURE__ */ r.jsxs("div", { className: _.header, children: [
2665
2664
  /* @__PURE__ */ r.jsx(
2666
2665
  "button",
2667
2666
  {
@@ -2669,12 +2668,12 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2669
2668
  onClick: o,
2670
2669
  "aria-label": "Go back",
2671
2670
  type: "button",
2672
- children: /* @__PURE__ */ r.jsx(Da, {})
2671
+ children: /* @__PURE__ */ r.jsx(Oa, {})
2673
2672
  }
2674
2673
  ),
2675
2674
  /* @__PURE__ */ r.jsx("h2", { className: _.title, children: t })
2676
- ] }), jn = ({ features: t, t: o }) => /* @__PURE__ */ r.jsx("ul", { className: _.featureList, "aria-label": "Plan features", children: t.map((c, d) => /* @__PURE__ */ r.jsxs("li", { className: _.featureItem, children: [
2677
- /* @__PURE__ */ r.jsx("span", { className: _.featureIcon, children: c.included ? /* @__PURE__ */ r.jsx(La, {}) : /* @__PURE__ */ r.jsx(Ba, {}) }),
2675
+ ] }), Tn = ({ features: t, t: o }) => /* @__PURE__ */ r.jsx("ul", { className: _.featureList, "aria-label": "Plan features", children: t.map((c, d) => /* @__PURE__ */ r.jsxs("li", { className: _.featureItem, children: [
2676
+ /* @__PURE__ */ r.jsx("span", { className: _.featureIcon, children: c.included ? /* @__PURE__ */ r.jsx(Ba, {}) : /* @__PURE__ */ r.jsx(Da, {}) }),
2678
2677
  /* @__PURE__ */ r.jsx(
2679
2678
  "span",
2680
2679
  {
@@ -2682,7 +2681,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2682
2681
  children: o?.(c.text) ?? c.text
2683
2682
  }
2684
2683
  )
2685
- ] }, d)) }), Tn = ({ astrologer: t, t: o }) => /* @__PURE__ */ r.jsxs("div", { className: _.astrologerCard, children: [
2684
+ ] }, d)) }), Nn = ({ astrologer: t, t: o }) => /* @__PURE__ */ r.jsxs("div", { className: _.astrologerCard, children: [
2686
2685
  /* @__PURE__ */ r.jsxs("div", { className: _.astrologerTop, children: [
2687
2686
  /* @__PURE__ */ r.jsx("div", { className: _.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: _.astrologerAvatarPlaceholder, children: t.name.charAt(0) }) }),
2688
2687
  /* @__PURE__ */ r.jsxs("div", { className: _.astrologerBasicInfo, children: [
@@ -2696,11 +2695,11 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2696
2695
  " ",
2697
2696
  o?.(c) ?? c
2698
2697
  ] }, d)) })
2699
- ] }), Nn = ({ label: t }) => /* @__PURE__ */ r.jsxs("div", { className: _.popularBadge, "aria-label": t, children: [
2700
- /* @__PURE__ */ r.jsx(Oa, {}),
2698
+ ] }), Sn = ({ label: t }) => /* @__PURE__ */ r.jsxs("div", { className: _.popularBadge, "aria-label": t, children: [
2699
+ /* @__PURE__ */ r.jsx(Fa, {}),
2701
2700
  /* @__PURE__ */ r.jsx("span", { children: t })
2702
- ] }), Sn = ({ plan: t, isSelected: o, onSelect: c, t: d }) => {
2703
- const b = () => c(t.id), x = (g) => {
2701
+ ] }), Rn = ({ plan: t, isSelected: o, onSelect: c, t: d }) => {
2702
+ const b = () => c(t.id), w = (g) => {
2704
2703
  (g.key === " " || g.key === "Enter") && (g.preventDefault(), c(t.id));
2705
2704
  };
2706
2705
  return /* @__PURE__ */ r.jsxs(
@@ -2715,10 +2714,10 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2715
2714
  role: "radio",
2716
2715
  "aria-checked": o,
2717
2716
  tabIndex: 0,
2718
- onKeyDown: x,
2717
+ onKeyDown: w,
2719
2718
  "data-plan-id": t.id,
2720
2719
  children: [
2721
- t.badge && /* @__PURE__ */ r.jsx(Nn, { label: d?.(t.badge) ?? t.badge }),
2720
+ t.badge && /* @__PURE__ */ r.jsx(Sn, { label: d?.(t.badge) ?? t.badge }),
2722
2721
  /* @__PURE__ */ r.jsxs("div", { className: _.planCardInner, children: [
2723
2722
  /* @__PURE__ */ r.jsxs("div", { className: `${_.planTitleRow} ${t.badge ? _.withBadgeSpacing : ""}`, children: [
2724
2723
  /* @__PURE__ */ r.jsx("span", { className: _.planTitle, children: d?.(t.title) ?? t.title }),
@@ -2736,17 +2735,17 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2736
2735
  t.originalPrice && /* @__PURE__ */ r.jsx("span", { className: _.originalPrice, children: t.originalPrice }),
2737
2736
  t.savingsLabel && /* @__PURE__ */ r.jsx("span", { className: _.savingsBadge, children: d?.(t.savingsLabel, { percent: 25 }) ?? t.savingsLabel })
2738
2737
  ] }),
2739
- /* @__PURE__ */ r.jsx(jn, { features: t.features, t: d }),
2738
+ /* @__PURE__ */ r.jsx(Tn, { features: t.features, t: d }),
2740
2739
  t.astrologers && /* @__PURE__ */ r.jsx("div", { className: _.planDivider }),
2741
2740
  t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
2742
2741
  /* @__PURE__ */ r.jsx("p", { className: _.astrologerHeading, children: d?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
2743
- /* @__PURE__ */ r.jsx("div", { className: _.astrologerList, role: "list", children: t.astrologers.map((g, T) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(Tn, { astrologer: g, t: d }) }, T)) })
2742
+ /* @__PURE__ */ r.jsx("div", { className: _.astrologerList, role: "list", children: t.astrologers.map((g, T) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(Nn, { astrologer: g, t: d }) }, T)) })
2744
2743
  ] })
2745
2744
  ] })
2746
2745
  ]
2747
2746
  }
2748
2747
  );
2749
- }, Rn = [
2748
+ }, En = [
2750
2749
  {
2751
2750
  id: "jyoti",
2752
2751
  name: "planAstrologerNameJyoti",
@@ -2774,7 +2773,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2774
2773
  experience: "planAstrologerExpNeeraj",
2775
2774
  certifications: ["planAstrologerCertBhuCertified", "planAstrologerCertMantraRudraksha"]
2776
2775
  }
2777
- ], En = (t) => [
2776
+ ], In = (t) => [
2778
2777
  {
2779
2778
  id: "kundli-report",
2780
2779
  title: "planNameBasic",
@@ -2800,35 +2799,35 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2800
2799
  { text: "planFeatureRealTimeAnswers", included: !0 },
2801
2800
  { text: "planFeatureTailoredRemedies", included: !0 }
2802
2801
  ],
2803
- astrologers: Rn.filter(
2802
+ astrologers: En.filter(
2804
2803
  (o) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(o.id)
2805
2804
  )
2806
2805
  }
2807
- ], In = ({
2806
+ ], Ln = ({
2808
2807
  isOpen: t,
2809
2808
  onClose: o,
2810
2809
  selectedPlan: c,
2811
2810
  onSelectPlan: d,
2812
2811
  plans: b,
2813
- onProceed: x,
2812
+ onProceed: w,
2814
2813
  t: g,
2815
2814
  analytics: T
2816
2815
  }) => {
2817
- const O = Ie()?.config.isGlobal ?? !0, P = b ?? En(O), E = c?.id || P.find((f) => f.badge)?.id || P[0]?.id || "", u = F(null), I = F(null), h = F(!1);
2818
- J(() => {
2816
+ const F = Le()?.config.isGlobal ?? !0, x = b ?? In(F), E = c?.id || x.find((f) => f.badge)?.id || x[0]?.id || "", u = O(null), I = O(null), h = O(!1);
2817
+ z(() => {
2819
2818
  if (t) {
2820
2819
  if (!c) {
2821
- const f = P.find((m) => m.badge) ?? P[0];
2820
+ const f = x.find((m) => m.badge) ?? x[0];
2822
2821
  f && d(f);
2823
2822
  }
2824
2823
  h.current || (T?.trackPlanPageViewed?.(), h.current = !0);
2825
2824
  } else
2826
2825
  h.current = !1;
2827
- }, [t, P, c, d, T]);
2826
+ }, [t, x, c, d, T]);
2828
2827
  const M = () => {
2829
2828
  T?.trackPlanPageClosed?.(), o();
2830
2829
  };
2831
- return J(() => {
2830
+ return z(() => {
2832
2831
  if (!t) return;
2833
2832
  const f = document.body.style.overflow;
2834
2833
  return document.body.style.overflow = "hidden", () => {
@@ -2848,7 +2847,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2848
2847
  className: _.sheet,
2849
2848
  children: [
2850
2849
  /* @__PURE__ */ r.jsx(
2851
- Cn,
2850
+ jn,
2852
2851
  {
2853
2852
  title: g?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2854
2853
  onBack: M
@@ -2861,14 +2860,14 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2861
2860
  className: _.plansContainer,
2862
2861
  role: "radiogroup",
2863
2862
  "aria-label": "Kundli plans",
2864
- children: P.map((f) => /* @__PURE__ */ r.jsx(
2865
- Sn,
2863
+ children: x.map((f) => /* @__PURE__ */ r.jsx(
2864
+ Rn,
2866
2865
  {
2867
2866
  plan: f,
2868
2867
  isSelected: f.id === E,
2869
2868
  t: g,
2870
2869
  onSelect: (m) => {
2871
- const y = P.find((Q) => Q.id === m);
2870
+ const y = x.find((Z) => Z.id === m);
2872
2871
  y && (T?.trackPlanSelected?.({
2873
2872
  planId: y.id,
2874
2873
  planName: y.title
@@ -2888,7 +2887,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2888
2887
  c && (T?.trackPlanProceedClicked?.({
2889
2888
  planId: c.id,
2890
2889
  planName: c.title
2891
- }), x(c), o());
2890
+ }), w(c), o());
2892
2891
  },
2893
2892
  children: c ? g?.("planProceedToPayment") ?? c.price + "Proceed to Payment" : "Select a plan"
2894
2893
  }
@@ -2898,9 +2897,10 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2898
2897
  )
2899
2898
  }
2900
2899
  ) : null;
2901
- }, Ln = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Bn = (t, o) => yr[t]?.[o] ?? o, Dn = {
2900
+ }, Bn = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Dn = (t, o) => yr[t]?.[o] ?? o, On = (t, o) => t && ha.includes(t) ? t : o ? "+1" : "+91", Fn = {
2902
2901
  fullName: "",
2903
2902
  phone: "",
2903
+ phoneCountryCode: "",
2904
2904
  gender: "",
2905
2905
  email: "",
2906
2906
  language_code: "",
@@ -2908,85 +2908,89 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2908
2908
  birthTime: "",
2909
2909
  birthTimeUnknown: !1,
2910
2910
  birthPlace: ""
2911
- }, Wn = ({
2911
+ }, Yn = ({
2912
2912
  className: t = "",
2913
2913
  locale: o,
2914
2914
  showLanguageSelector: c = !0,
2915
2915
  onBack: d,
2916
2916
  initialValues: b,
2917
- onProceed: x,
2917
+ onProceed: w,
2918
2918
  onProceedGuidance: g,
2919
2919
  proceedHref: T,
2920
2920
  originalPriceLabel: v,
2921
- discountedPriceLabel: O,
2922
- googleMapsApiKey: P = "",
2921
+ discountedPriceLabel: F,
2922
+ googleMapsApiKey: x = "",
2923
2923
  atlasSearchLocalities: E,
2924
2924
  googleMapsAutocompleteEnabled: u,
2925
2925
  analytics: I
2926
2926
  }) => {
2927
- const h = Ie(), M = nt(), f = h !== null, m = f ? h.locale : o, y = m ?? M?.locale ?? "en", [Q, V] = U(y), W = f ? h.locale : Q, B = f ? h.setLocale : V, [$, A] = U(!1), S = F(null), re = F(m), z = F(
2927
+ const h = Le(), M = nt(), f = h !== null, m = f ? h.locale : o, y = m ?? M?.locale ?? "en", [Z, q] = U(y), W = f ? h.locale : Z, B = f ? h.setLocale : q, [$, A] = U(!1), S = O(null), ee = O(m), V = O(
2928
2928
  M?.locale
2929
2929
  );
2930
- J(() => {
2930
+ z(() => {
2931
2931
  window.scrollTo({ top: 0, left: 0, behavior: "auto" });
2932
2932
  }, []);
2933
- const D = (k) => Bn(W, k);
2934
- J(() => {
2935
- m && re.current !== m && B(m), re.current = m;
2936
- }, [m, B]), J(() => {
2933
+ const D = (P) => Dn(W, P);
2934
+ z(() => {
2935
+ m && ee.current !== m && B(m), ee.current = m;
2936
+ }, [m, B]), z(() => {
2937
2937
  if (m) return;
2938
- const k = M?.locale;
2939
- k && z.current !== k && B(k), z.current = k;
2938
+ const P = M?.locale;
2939
+ P && V.current !== P && B(P), V.current = P;
2940
2940
  }, [M?.locale, m, B]);
2941
2941
  const [j, G] = U({
2942
- ...Dn,
2942
+ ...Fn,
2943
2943
  ...b,
2944
2944
  phone: b?.phone ?? ""
2945
- }), H = f ? h?.config.isGlobal ?? !0 : !0, [te, ge] = U(
2946
- H ? "+1" : "+91"
2947
- );
2948
- J(() => {
2949
- ge(H ? "+1" : "+91");
2945
+ }), H = f ? h?.config.isGlobal ?? !0 : !0, J = f ? h.formValues : j, xe = f ? h.setFormValues : G, [re, Q] = U(
2946
+ () => On(J.phoneCountryCode, H)
2947
+ ), ae = O(!0);
2948
+ z(() => {
2949
+ if (ae.current) {
2950
+ ae.current = !1;
2951
+ return;
2952
+ }
2953
+ Q(H ? "+1" : "+91");
2950
2954
  }, [H]);
2951
- const X = f ? h.formValues : j, Z = f ? h.setFormValues : G, ie = f ? h.goToPage : d, ae = f ? h.onProceed : x, pe = f ? h.onProceedGuidance : g, _e = f ? h.config.proceedHref : T, ue = f ? h.config.originalPriceLabel : v, be = f ? h.config.discountedPriceLabel : O, se = f ? h.config.showLanguageSelector ?? !0 : c, ee = (f ? h?.config?.analytics : I) ?? I;
2952
- J(() => {
2955
+ const oe = f ? h.goToPage : d, _e = f ? h.onProceed : w, de = f ? h.onProceedGuidance : g, ue = f ? h.config.proceedHref : T, be = f ? h.config.originalPriceLabel : v, ie = f ? h.config.discountedPriceLabel : F, fe = f ? h.config.showLanguageSelector ?? !0 : c, X = (f ? h?.config?.analytics : I) ?? I;
2956
+ z(() => {
2953
2957
  if (!$) return;
2954
- const k = (xe) => {
2955
- S.current && !S.current.contains(xe.target) && A(!1);
2958
+ const P = (Ne) => {
2959
+ S.current && !S.current.contains(Ne.target) && A(!1);
2956
2960
  };
2957
- return document.addEventListener("mousedown", k), () => document.removeEventListener("mousedown", k);
2961
+ return document.addEventListener("mousedown", P), () => document.removeEventListener("mousedown", P);
2958
2962
  }, [$]);
2959
- const [le, ce] = U(!1), [Y, Te] = U(null), ye = F(null), ne = we((k) => {
2960
- ye.current = k, ce(!0);
2961
- }, []), Pe = F(!1);
2962
- J(() => {
2963
- if (Pe.current || !f || !h?.config.autoOpenPlanSheet || h?.config.variant !== "v1")
2963
+ const [me, se] = U(!1), [le, Ce] = U(null), te = O(null), Pe = we((P) => {
2964
+ te.current = P, se(!0);
2965
+ }, []), ye = O(!1);
2966
+ z(() => {
2967
+ if (ye.current || !f || !h?.config.autoOpenPlanSheet || h?.config.variant !== "v1")
2964
2968
  return;
2965
- Pe.current = !0;
2966
- const k = (X.phone ?? "").trim();
2967
- ne({
2968
- ...X,
2969
- phone: k && `${te}-${k}`
2969
+ ye.current = !0;
2970
+ const P = (J.phone ?? "").trim();
2971
+ Pe({
2972
+ ...J,
2973
+ phone: P && `${re}-${P}`
2970
2974
  });
2971
- }, [f, h?.config.autoOpenPlanSheet, h?.config.variant, X, te, ne]);
2972
- const ve = we(() => {
2973
- if (!ye.current || !Y) return;
2974
- ee?.trackPlanProceedClicked?.({
2975
- planId: Y.id,
2976
- planName: Y.title,
2977
- price: Y.price,
2975
+ }, [f, h?.config.autoOpenPlanSheet, h?.config.variant, J, re, Pe]);
2976
+ const Ae = we(() => {
2977
+ if (!te.current || !le) return;
2978
+ X?.trackPlanProceedClicked?.({
2979
+ planId: le.id,
2980
+ planName: le.title,
2981
+ price: le.price,
2978
2982
  currency: H ? "USD" : "INR"
2979
2983
  });
2980
- const k = { ...ye.current, _selectedPlan: Y };
2981
- Y.id === Pr && pe ? pe(k) : ae?.(k), ce(!1), ye.current = null;
2982
- }, [Y, ae, pe]), Ae = h?.config.imageComponent ?? Ye, he = se ? /* @__PURE__ */ r.jsxs("div", { className: ke.langDropdownWrap, ref: S, children: [
2984
+ const P = { ...te.current, _selectedPlan: le };
2985
+ le.id === Pr && de ? de(P) : _e?.(P), se(!1), te.current = null;
2986
+ }, [le, _e, de]), ge = h?.config.imageComponent ?? Ye, ve = fe ? /* @__PURE__ */ r.jsxs("div", { className: ke.langDropdownWrap, ref: S, children: [
2983
2987
  /* @__PURE__ */ r.jsxs(
2984
2988
  "button",
2985
2989
  {
2986
2990
  type: "button",
2987
2991
  className: ke.langTrigger,
2988
2992
  onClick: () => {
2989
- ee?.trackLanguageClickedFe?.({ language: W }), A((k) => !k);
2993
+ X?.trackLanguageClickedFe?.({ language: W }), A((P) => !P);
2990
2994
  },
2991
2995
  "aria-expanded": $,
2992
2996
  "aria-haspopup": "listbox",
@@ -2994,9 +2998,9 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
2994
2998
  "aria-label": D("language"),
2995
2999
  children: [
2996
3000
  /* @__PURE__ */ r.jsx(
2997
- Ae,
3001
+ ge,
2998
3002
  {
2999
- src: Ln,
3003
+ src: Bn,
3000
3004
  alt: "",
3001
3005
  className: ke.langIcon,
3002
3006
  width: 16,
@@ -3015,86 +3019,86 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
3015
3019
  role: "listbox",
3016
3020
  "aria-labelledby": "kundli-form-lang",
3017
3021
  "aria-activedescendant": `kundli-form-lang-option-${W}`,
3018
- children: br.map((k) => /* @__PURE__ */ r.jsx(
3022
+ children: br.map((P) => /* @__PURE__ */ r.jsx(
3019
3023
  "li",
3020
3024
  {
3021
- id: `kundli-form-lang-option-${k}`,
3025
+ id: `kundli-form-lang-option-${P}`,
3022
3026
  role: "option",
3023
- "aria-selected": k === W,
3027
+ "aria-selected": P === W,
3024
3028
  className: ke.langOption,
3025
3029
  onClick: () => {
3026
- ee?.trackLanguageChangedFe?.({ newLanguage: k }), B(k), A(!1);
3030
+ X?.trackLanguageChangedFe?.({ newLanguage: P }), B(P), A(!1);
3027
3031
  },
3028
- children: fr[k]
3032
+ children: fr[P]
3029
3033
  },
3030
- k
3034
+ P
3031
3035
  ))
3032
3036
  }
3033
3037
  )
3034
3038
  ] }) : null;
3035
3039
  return /* @__PURE__ */ r.jsxs("div", { className: `${ke.container} ${t}`, children: [
3036
3040
  /* @__PURE__ */ r.jsx(
3037
- Ia,
3041
+ La,
3038
3042
  {
3039
3043
  t: D,
3040
3044
  logoUrl: f ? h.config.logoUrl : void 0,
3041
- languageSelector: he,
3045
+ languageSelector: ve,
3042
3046
  className: ke.kundliHeaderNoBorder
3043
3047
  }
3044
3048
  ),
3045
3049
  /* @__PURE__ */ r.jsx("div", { className: ke.headerSeparator, "aria-hidden": !0 }),
3046
3050
  /* @__PURE__ */ r.jsxs("main", { className: ke.main, children: [
3047
- /* @__PURE__ */ r.jsx(mt, { t: D, onBack: ie }),
3051
+ /* @__PURE__ */ r.jsx(mt, { t: D, onBack: oe }),
3048
3052
  /* @__PURE__ */ r.jsx(
3049
- ba,
3053
+ ya,
3050
3054
  {
3051
3055
  t: D,
3052
- values: X,
3053
- onChange: Z,
3054
- googleMapsApiKey: P,
3056
+ values: J,
3057
+ onChange: xe,
3058
+ googleMapsApiKey: x,
3055
3059
  atlasSearchLocalities: E,
3056
3060
  googleMapsAutocompleteEnabled: u,
3057
- phoneIsdCode: te,
3058
- onPhoneIsdCodeChange: ge,
3061
+ phoneIsdCode: re,
3062
+ onPhoneIsdCodeChange: Q,
3059
3063
  showV1ExtraFields: f ? h?.config.variant === "v1" : !1,
3060
- analytics: ee
3064
+ analytics: X
3061
3065
  }
3062
3066
  )
3063
3067
  ] }),
3064
3068
  /* @__PURE__ */ r.jsx(
3065
- Ra,
3069
+ Ea,
3066
3070
  {
3067
3071
  t: D,
3068
- values: X,
3069
- phoneIsdCode: te,
3070
- onProceed: ae,
3071
- onProceedGuidance: pe,
3072
- href: _e,
3073
- originalPriceLabel: ue,
3074
- discountedPriceLabel: be,
3075
- analytics: ee,
3076
- showPlanSheet: ne,
3077
- confirmPlan: ve,
3078
- planSheetOpen: le,
3079
- selectedPlan: Y
3072
+ values: J,
3073
+ phoneIsdCode: re,
3074
+ onProceed: _e,
3075
+ onProceedGuidance: de,
3076
+ href: ue,
3077
+ originalPriceLabel: be,
3078
+ discountedPriceLabel: ie,
3079
+ analytics: X,
3080
+ showPlanSheet: Pe,
3081
+ confirmPlan: Ae,
3082
+ planSheetOpen: me,
3083
+ selectedPlan: le
3080
3084
  }
3081
3085
  ),
3082
3086
  h?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
3083
- In,
3087
+ Ln,
3084
3088
  {
3085
- isOpen: le,
3086
- onClose: () => ce(!1),
3087
- selectedPlan: Y,
3088
- onSelectPlan: Te,
3089
+ isOpen: me,
3090
+ onClose: () => se(!1),
3091
+ selectedPlan: le,
3092
+ onSelectPlan: Ce,
3089
3093
  onProceed: () => {
3090
- ve?.();
3094
+ Ae?.();
3091
3095
  },
3092
3096
  t: D,
3093
- analytics: ee
3097
+ analytics: X
3094
3098
  }
3095
3099
  )
3096
3100
  ] });
3097
- }, Hn = {
3101
+ }, qn = {
3098
3102
  banner_clicked_fe: "banner_clicked_fe",
3099
3103
  primary_cta_clicked_fe: "primary_cta_clicked_fe",
3100
3104
  language_changed_fe: "language_changed_fe",
@@ -3140,32 +3144,32 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
3140
3144
  kundli_view_sample_image_closed: "kundli_view_sample_image_closed"
3141
3145
  };
3142
3146
  export {
3143
- Da as C,
3147
+ Oa as C,
3144
3148
  Ye as D,
3145
3149
  mt as F,
3146
- Mn as I,
3147
- Hn as K,
3150
+ Un as I,
3151
+ qn as K,
3148
3152
  fr as L,
3149
3153
  Pr as P,
3150
3154
  br as S,
3151
- ba as U,
3155
+ ya as U,
3152
3156
  kr as a,
3153
3157
  rr as b,
3154
- Wn as c,
3155
- Gn as d,
3158
+ Yn as c,
3159
+ Wn as d,
3156
3160
  st as e,
3157
3161
  lt as f,
3158
3162
  ot as g,
3159
- Ie as h,
3160
- Un as i,
3161
- Kn as j,
3163
+ Le as h,
3164
+ Kn as i,
3165
+ Hn as j,
3162
3166
  r as k,
3163
- Ia as l,
3164
- Ra as m,
3165
- In as n,
3166
- $n as r,
3167
+ La as l,
3168
+ Ea as m,
3169
+ Ln as n,
3170
+ Gn as r,
3167
3171
  it as s,
3168
3172
  yr as t,
3169
3173
  nt as u
3170
3174
  };
3171
- //# sourceMappingURL=analytics-Fyq-Amgh.js.map
3175
+ //# sourceMappingURL=analytics-C6U9JxHz.js.map