@srimandir/kundli-generator 3.0.59 → 3.0.61

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,69 +1,69 @@
1
- import Ie, { useContext as De, createContext as it, useState as V, useRef as Z, useEffect as re, useMemo as Ne, useCallback as be } from "react";
2
- import { FormSectionHeader as Dt, FooterCTAButton as Ot, FooterShell as Lt, footerShellStyles as G, PageHeader as Bt } from "@srimandir/astrology-common";
3
- var Pe = { exports: {} }, _e = {};
1
+ import De, { useContext as Oe, createContext as rt, useState as G, useRef as X, useEffect as te, useMemo as Ie, useCallback as be } from "react";
2
+ import { FormSectionHeader as Ct, FooterCTAButton as Nt, FooterShell as It, CircularMarquee as Dt, footerShellStyles as fe, PageHeader as Ot } from "@srimandir/astrology-common";
3
+ var xe = { exports: {} }, _e = {};
4
4
  var Xe;
5
- function Ft() {
5
+ function Lt() {
6
6
  if (Xe) return _e;
7
7
  Xe = 1;
8
- var i = Ie, s = /* @__PURE__ */ Symbol.for("react.element"), P = /* @__PURE__ */ Symbol.for("react.fragment"), b = Object.prototype.hasOwnProperty, p = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
9
- function y(h, u, N) {
10
- var x, v = {}, d = null, $ = null;
11
- N !== void 0 && (d = "" + N), u.key !== void 0 && (d = "" + u.key), u.ref !== void 0 && ($ = u.ref);
12
- for (x in u) b.call(u, x) && !k.hasOwnProperty(x) && (v[x] = u[x]);
13
- if (h && h.defaultProps) for (x in u = h.defaultProps, u) v[x] === void 0 && (v[x] = u[x]);
14
- return { $$typeof: s, type: h, key: d, ref: $, props: v, _owner: p.current };
8
+ var o = De, s = /* @__PURE__ */ Symbol.for("react.element"), p = /* @__PURE__ */ Symbol.for("react.fragment"), v = Object.prototype.hasOwnProperty, g = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
9
+ function w(h, d, N) {
10
+ var x, _ = {}, u = null, $ = null;
11
+ N !== void 0 && (u = "" + N), d.key !== void 0 && (u = "" + d.key), d.ref !== void 0 && ($ = d.ref);
12
+ for (x in d) v.call(d, x) && !y.hasOwnProperty(x) && (_[x] = d[x]);
13
+ if (h && h.defaultProps) for (x in d = h.defaultProps, d) _[x] === void 0 && (_[x] = d[x]);
14
+ return { $$typeof: s, type: h, key: u, ref: $, props: _, _owner: g.current };
15
15
  }
16
- return _e.Fragment = P, _e.jsx = y, _e.jsxs = y, _e;
16
+ return _e.Fragment = p, _e.jsx = w, _e.jsxs = w, _e;
17
17
  }
18
18
  var ke = {};
19
19
  var Ze;
20
- function Ut() {
20
+ function Bt() {
21
21
  return Ze || (Ze = 1, process.env.NODE_ENV !== "production" && (function() {
22
- var i = Ie, s = /* @__PURE__ */ Symbol.for("react.element"), P = /* @__PURE__ */ Symbol.for("react.portal"), b = /* @__PURE__ */ Symbol.for("react.fragment"), p = /* @__PURE__ */ Symbol.for("react.strict_mode"), k = /* @__PURE__ */ Symbol.for("react.profiler"), y = /* @__PURE__ */ Symbol.for("react.provider"), h = /* @__PURE__ */ Symbol.for("react.context"), u = /* @__PURE__ */ Symbol.for("react.forward_ref"), N = /* @__PURE__ */ Symbol.for("react.suspense"), x = /* @__PURE__ */ Symbol.for("react.suspense_list"), v = /* @__PURE__ */ Symbol.for("react.memo"), d = /* @__PURE__ */ Symbol.for("react.lazy"), $ = /* @__PURE__ */ Symbol.for("react.offscreen"), T = Symbol.iterator, A = "@@iterator";
23
- function z(e) {
22
+ var o = De, s = /* @__PURE__ */ Symbol.for("react.element"), p = /* @__PURE__ */ Symbol.for("react.portal"), v = /* @__PURE__ */ Symbol.for("react.fragment"), g = /* @__PURE__ */ Symbol.for("react.strict_mode"), y = /* @__PURE__ */ Symbol.for("react.profiler"), w = /* @__PURE__ */ Symbol.for("react.provider"), h = /* @__PURE__ */ Symbol.for("react.context"), d = /* @__PURE__ */ Symbol.for("react.forward_ref"), N = /* @__PURE__ */ Symbol.for("react.suspense"), x = /* @__PURE__ */ Symbol.for("react.suspense_list"), _ = /* @__PURE__ */ Symbol.for("react.memo"), u = /* @__PURE__ */ Symbol.for("react.lazy"), $ = /* @__PURE__ */ Symbol.for("react.offscreen"), T = Symbol.iterator, A = "@@iterator";
23
+ function V(e) {
24
24
  if (e === null || typeof e != "object")
25
25
  return null;
26
26
  var a = T && e[T] || e[A];
27
27
  return typeof a == "function" ? a : null;
28
28
  }
29
- var L = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
29
+ var L = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
30
30
  function j(e) {
31
31
  {
32
- for (var a = arguments.length, o = new Array(a > 1 ? a - 1 : 0), c = 1; c < a; c++)
33
- o[c - 1] = arguments[c];
34
- K("error", e, o);
32
+ for (var a = arguments.length, i = new Array(a > 1 ? a - 1 : 0), c = 1; c < a; c++)
33
+ i[c - 1] = arguments[c];
34
+ W("error", e, i);
35
35
  }
36
36
  }
37
- function K(e, a, o) {
37
+ function W(e, a, i) {
38
38
  {
39
- var c = L.ReactDebugCurrentFrame, g = c.getStackAddendum();
40
- g !== "" && (a += "%s", o = o.concat([g]));
41
- var w = o.map(function(m) {
39
+ var c = L.ReactDebugCurrentFrame, b = c.getStackAddendum();
40
+ b !== "" && (a += "%s", i = i.concat([b]));
41
+ var P = i.map(function(m) {
42
42
  return String(m);
43
43
  });
44
- w.unshift("Warning: " + a), Function.prototype.apply.call(console[e], console, w);
44
+ P.unshift("Warning: " + a), Function.prototype.apply.call(console[e], console, P);
45
45
  }
46
46
  }
47
- var W = !1, B = !1, E = !1, H = !1, J = !1, I;
47
+ var K = !1, B = !1, E = !1, H = !1, z = !1, I;
48
48
  I = /* @__PURE__ */ Symbol.for("react.module.reference");
49
49
  function S(e) {
50
- return !!(typeof e == "string" || typeof e == "function" || e === b || e === k || J || e === p || e === N || e === x || H || e === $ || W || B || E || typeof e == "object" && e !== null && (e.$$typeof === d || e.$$typeof === v || e.$$typeof === y || e.$$typeof === h || e.$$typeof === u || // This needs to include all possible module reference object
50
+ return !!(typeof e == "string" || typeof e == "function" || e === v || e === y || z || e === g || e === N || e === x || H || e === $ || K || B || E || typeof e == "object" && e !== null && (e.$$typeof === u || e.$$typeof === _ || e.$$typeof === w || e.$$typeof === h || e.$$typeof === d || // 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 === I || e.getModuleId !== void 0));
55
55
  }
56
- function Y(e, a, o) {
56
+ function Y(e, a, i) {
57
57
  var c = e.displayName;
58
58
  if (c)
59
59
  return c;
60
- var g = a.displayName || a.name || "";
61
- return g !== "" ? o + "(" + g + ")" : o;
60
+ var b = a.displayName || a.name || "";
61
+ return b !== "" ? i + "(" + b + ")" : i;
62
62
  }
63
63
  function M(e) {
64
64
  return e.displayName || "Context";
65
65
  }
66
- function _(e) {
66
+ function k(e) {
67
67
  if (e == null)
68
68
  return null;
69
69
  if (typeof e.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
@@ -71,13 +71,13 @@ function Ut() {
71
71
  if (typeof e == "string")
72
72
  return e;
73
73
  switch (e) {
74
- case b:
74
+ case v:
75
75
  return "Fragment";
76
- case P:
76
+ case p:
77
77
  return "Portal";
78
- case k:
78
+ case y:
79
79
  return "Profiler";
80
- case p:
80
+ case g:
81
81
  return "StrictMode";
82
82
  case N:
83
83
  return "Suspense";
@@ -89,18 +89,18 @@ function Ut() {
89
89
  case h:
90
90
  var a = e;
91
91
  return M(a) + ".Consumer";
92
- case y:
93
- var o = e;
94
- return M(o._context) + ".Provider";
95
- case u:
92
+ case w:
93
+ var i = e;
94
+ return M(i._context) + ".Provider";
95
+ case d:
96
96
  return Y(e, e.render, "ForwardRef");
97
- case v:
97
+ case _:
98
98
  var c = e.displayName || null;
99
- return c !== null ? c : _(e.type) || "Memo";
100
- case d: {
101
- var g = e, w = g._payload, m = g._init;
99
+ return c !== null ? c : k(e.type) || "Memo";
100
+ case u: {
101
+ var b = e, P = b._payload, m = b._init;
102
102
  try {
103
- return _(m(w));
103
+ return k(m(P));
104
104
  } catch {
105
105
  return null;
106
106
  }
@@ -108,18 +108,18 @@ function Ut() {
108
108
  }
109
109
  return null;
110
110
  }
111
- var F = Object.assign, D = 0, Q, ie, se, ae, de, oe, ue;
112
- function le() {
111
+ var F = Object.assign, D = 0, J, ne, ie, re, ce, oe, ue;
112
+ function se() {
113
113
  }
114
- le.__reactDisabledLog = !0;
114
+ se.__reactDisabledLog = !0;
115
115
  function C() {
116
116
  {
117
117
  if (D === 0) {
118
- Q = console.log, ie = console.info, se = console.warn, ae = console.error, de = console.group, oe = console.groupCollapsed, ue = console.groupEnd;
118
+ J = console.log, ne = console.info, ie = console.warn, re = console.error, ce = console.group, oe = console.groupCollapsed, ue = console.groupEnd;
119
119
  var e = {
120
120
  configurable: !0,
121
121
  enumerable: !0,
122
- value: le,
122
+ value: se,
123
123
  writable: !0
124
124
  };
125
125
  Object.defineProperties(console, {
@@ -145,19 +145,19 @@ function Ut() {
145
145
  };
146
146
  Object.defineProperties(console, {
147
147
  log: F({}, e, {
148
- value: Q
148
+ value: J
149
149
  }),
150
150
  info: F({}, e, {
151
- value: ie
151
+ value: ne
152
152
  }),
153
153
  warn: F({}, e, {
154
- value: se
154
+ value: ie
155
155
  }),
156
156
  error: F({}, e, {
157
- value: ae
157
+ value: re
158
158
  }),
159
159
  group: F({}, e, {
160
- value: de
160
+ value: ce
161
161
  }),
162
162
  groupCollapsed: F({}, e, {
163
163
  value: oe
@@ -171,38 +171,38 @@ function Ut() {
171
171
  }
172
172
  }
173
173
  var r = L.ReactCurrentDispatcher, l;
174
- function R(e, a, o) {
174
+ function R(e, a, i) {
175
175
  {
176
176
  if (l === void 0)
177
177
  try {
178
178
  throw Error();
179
- } catch (g) {
180
- var c = g.stack.trim().match(/\n( *(at )?)/);
179
+ } catch (b) {
180
+ var c = b.stack.trim().match(/\n( *(at )?)/);
181
181
  l = c && c[1] || "";
182
182
  }
183
183
  return `
184
184
  ` + l + e;
185
185
  }
186
186
  }
187
- var ee = !1, ce;
187
+ var Z = !1, le;
188
188
  {
189
- var Ae = typeof WeakMap == "function" ? WeakMap : Map;
190
- ce = new Ae();
189
+ var Ee = typeof WeakMap == "function" ? WeakMap : Map;
190
+ le = new Ee();
191
191
  }
192
192
  function Be(e, a) {
193
- if (!e || ee)
193
+ if (!e || Z)
194
194
  return "";
195
195
  {
196
- var o = ce.get(e);
197
- if (o !== void 0)
198
- return o;
196
+ var i = le.get(e);
197
+ if (i !== void 0)
198
+ return i;
199
199
  }
200
200
  var c;
201
- ee = !0;
202
- var g = Error.prepareStackTrace;
201
+ Z = !0;
202
+ var b = Error.prepareStackTrace;
203
203
  Error.prepareStackTrace = void 0;
204
- var w;
205
- w = r.current, r.current = null, C();
204
+ var P;
205
+ P = r.current, r.current = null, C();
206
206
  try {
207
207
  if (a) {
208
208
  var m = function() {
@@ -215,29 +215,29 @@ function Ut() {
215
215
  }), typeof Reflect == "object" && Reflect.construct) {
216
216
  try {
217
217
  Reflect.construct(m, []);
218
- } catch (X) {
219
- c = X;
218
+ } catch (Q) {
219
+ c = Q;
220
220
  }
221
221
  Reflect.construct(e, [], m);
222
222
  } else {
223
223
  try {
224
224
  m.call();
225
- } catch (X) {
226
- c = X;
225
+ } catch (Q) {
226
+ c = Q;
227
227
  }
228
228
  e.call(m.prototype);
229
229
  }
230
230
  } else {
231
231
  try {
232
232
  throw Error();
233
- } catch (X) {
234
- c = X;
233
+ } catch (Q) {
234
+ c = Q;
235
235
  }
236
236
  e();
237
237
  }
238
- } catch (X) {
239
- if (X && c && typeof X.stack == "string") {
240
- for (var f = X.stack.split(`
238
+ } catch (Q) {
239
+ if (Q && c && typeof Q.stack == "string") {
240
+ for (var f = Q.stack.split(`
241
241
  `), q = c.stack.split(`
242
242
  `), O = f.length - 1, U = q.length - 1; O >= 1 && U >= 0 && f[O] !== q[U]; )
243
243
  U--;
@@ -246,32 +246,32 @@ function Ut() {
246
246
  if (O !== 1 || U !== 1)
247
247
  do
248
248
  if (O--, U--, U < 0 || f[O] !== q[U]) {
249
- var te = `
249
+ var ee = `
250
250
  ` + f[O].replace(" at new ", " at ");
251
- return e.displayName && te.includes("<anonymous>") && (te = te.replace("<anonymous>", e.displayName)), typeof e == "function" && ce.set(e, te), te;
251
+ return e.displayName && ee.includes("<anonymous>") && (ee = ee.replace("<anonymous>", e.displayName)), typeof e == "function" && le.set(e, ee), ee;
252
252
  }
253
253
  while (O >= 1 && U >= 0);
254
254
  break;
255
255
  }
256
256
  }
257
257
  } finally {
258
- ee = !1, r.current = w, me(), Error.prepareStackTrace = g;
258
+ Z = !1, r.current = P, me(), Error.prepareStackTrace = b;
259
259
  }
260
- var pe = e ? e.displayName || e.name : "", fe = pe ? R(pe) : "";
261
- return typeof e == "function" && ce.set(e, fe), fe;
260
+ var pe = e ? e.displayName || e.name : "", de = pe ? R(pe) : "";
261
+ return typeof e == "function" && le.set(e, de), de;
262
262
  }
263
- function dt(e, a, o) {
263
+ function st(e, a, i) {
264
264
  return Be(e, !1);
265
265
  }
266
- function ut(e) {
266
+ function lt(e) {
267
267
  var a = e.prototype;
268
268
  return !!(a && a.isReactComponent);
269
269
  }
270
- function ye(e, a, o) {
270
+ function we(e, a, i) {
271
271
  if (e == null)
272
272
  return "";
273
273
  if (typeof e == "function")
274
- return Be(e, ut(e));
274
+ return Be(e, lt(e));
275
275
  if (typeof e == "string")
276
276
  return R(e);
277
277
  switch (e) {
@@ -282,14 +282,14 @@ function Ut() {
282
282
  }
283
283
  if (typeof e == "object")
284
284
  switch (e.$$typeof) {
285
- case u:
286
- return dt(e.render);
287
- case v:
288
- return ye(e.type, a, o);
289
- case d: {
290
- var c = e, g = c._payload, w = c._init;
285
+ case d:
286
+ return st(e.render);
287
+ case _:
288
+ return we(e.type, a, i);
289
+ case u: {
290
+ var c = e, b = c._payload, P = c._init;
291
291
  try {
292
- return ye(w(g), a, o);
292
+ return we(P(b), a, i);
293
293
  } catch {
294
294
  }
295
295
  }
@@ -297,43 +297,43 @@ function Ut() {
297
297
  return "";
298
298
  }
299
299
  var ve = Object.prototype.hasOwnProperty, Fe = {}, Ue = L.ReactDebugCurrentFrame;
300
- function we(e) {
300
+ function Pe(e) {
301
301
  if (e) {
302
- var a = e._owner, o = ye(e.type, e._source, a ? a.type : null);
303
- Ue.setExtraStackFrame(o);
302
+ var a = e._owner, i = we(e.type, e._source, a ? a.type : null);
303
+ Ue.setExtraStackFrame(i);
304
304
  } else
305
305
  Ue.setExtraStackFrame(null);
306
306
  }
307
- function ft(e, a, o, c, g) {
307
+ function ct(e, a, i, c, b) {
308
308
  {
309
- var w = Function.call.bind(ve);
309
+ var P = Function.call.bind(ve);
310
310
  for (var m in e)
311
- if (w(e, m)) {
311
+ if (P(e, m)) {
312
312
  var f = void 0;
313
313
  try {
314
314
  if (typeof e[m] != "function") {
315
- var q = Error((c || "React class") + ": " + o + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
315
+ var q = Error((c || "React class") + ": " + i + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
316
  throw q.name = "Invariant Violation", q;
317
317
  }
318
- f = e[m](a, m, c, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
318
+ f = e[m](a, m, c, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
319
319
  } catch (O) {
320
320
  f = O;
321
321
  }
322
- f && !(f instanceof Error) && (we(g), j("%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).", c || "React class", o, m, typeof f), we(null)), f instanceof Error && !(f.message in Fe) && (Fe[f.message] = !0, we(g), j("Failed %s type: %s", o, f.message), we(null));
322
+ f && !(f instanceof Error) && (Pe(b), j("%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).", c || "React class", i, m, typeof f), Pe(null)), f instanceof Error && !(f.message in Fe) && (Fe[f.message] = !0, Pe(b), j("Failed %s type: %s", i, f.message), Pe(null));
323
323
  }
324
324
  }
325
325
  }
326
- var mt = Array.isArray;
327
- function Ee(e) {
328
- return mt(e);
326
+ var ut = Array.isArray;
327
+ function je(e) {
328
+ return ut(e);
329
329
  }
330
- function ht(e) {
330
+ function dt(e) {
331
331
  {
332
- var a = typeof Symbol == "function" && Symbol.toStringTag, o = a && e[Symbol.toStringTag] || e.constructor.name || "Object";
333
- return o;
332
+ var a = typeof Symbol == "function" && Symbol.toStringTag, i = a && e[Symbol.toStringTag] || e.constructor.name || "Object";
333
+ return i;
334
334
  }
335
335
  }
336
- function pt(e) {
336
+ function ft(e) {
337
337
  try {
338
338
  return Me(e), !1;
339
339
  } catch {
@@ -344,16 +344,16 @@ function Ut() {
344
344
  return "" + e;
345
345
  }
346
346
  function $e(e) {
347
- if (pt(e))
348
- return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ht(e)), Me(e);
347
+ if (ft(e))
348
+ return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", dt(e)), Me(e);
349
349
  }
350
- var Ke = L.ReactCurrentOwner, gt = {
350
+ var We = L.ReactCurrentOwner, mt = {
351
351
  key: !0,
352
352
  ref: !0,
353
353
  __self: !0,
354
354
  __source: !0
355
- }, We, Ye;
356
- function bt(e) {
355
+ }, Ke, Ye;
356
+ function ht(e) {
357
357
  if (ve.call(e, "ref")) {
358
358
  var a = Object.getOwnPropertyDescriptor(e, "ref").get;
359
359
  if (a && a.isReactWarning)
@@ -361,7 +361,7 @@ function Ut() {
361
361
  }
362
362
  return e.ref !== void 0;
363
363
  }
364
- function vt(e) {
364
+ function pt(e) {
365
365
  if (ve.call(e, "key")) {
366
366
  var a = Object.getOwnPropertyDescriptor(e, "key").get;
367
367
  if (a && a.isReactWarning)
@@ -369,42 +369,42 @@ function Ut() {
369
369
  }
370
370
  return e.key !== void 0;
371
371
  }
372
- function _t(e, a) {
373
- typeof e.ref == "string" && Ke.current;
372
+ function gt(e, a) {
373
+ typeof e.ref == "string" && We.current;
374
374
  }
375
- function kt(e, a) {
375
+ function bt(e, a) {
376
376
  {
377
- var o = function() {
378
- We || (We = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a));
377
+ var i = function() {
378
+ Ke || (Ke = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a));
379
379
  };
380
- o.isReactWarning = !0, Object.defineProperty(e, "key", {
381
- get: o,
380
+ i.isReactWarning = !0, Object.defineProperty(e, "key", {
381
+ get: i,
382
382
  configurable: !0
383
383
  });
384
384
  }
385
385
  }
386
- function yt(e, a) {
386
+ function vt(e, a) {
387
387
  {
388
- var o = function() {
388
+ var i = function() {
389
389
  Ye || (Ye = !0, j("%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)", a));
390
390
  };
391
- o.isReactWarning = !0, Object.defineProperty(e, "ref", {
392
- get: o,
391
+ i.isReactWarning = !0, Object.defineProperty(e, "ref", {
392
+ get: i,
393
393
  configurable: !0
394
394
  });
395
395
  }
396
396
  }
397
- var wt = function(e, a, o, c, g, w, m) {
397
+ var _t = function(e, a, i, c, b, P, m) {
398
398
  var f = {
399
399
  // This tag allows us to uniquely identify this as a React Element
400
400
  $$typeof: s,
401
401
  // Built-in properties that belong on the element
402
402
  type: e,
403
403
  key: a,
404
- ref: o,
404
+ ref: i,
405
405
  props: m,
406
406
  // Record the component responsible for creating this element.
407
- _owner: w
407
+ _owner: P
408
408
  };
409
409
  return f._store = {}, Object.defineProperty(f._store, "validated", {
410
410
  configurable: !1,
@@ -420,44 +420,44 @@ function Ut() {
420
420
  configurable: !1,
421
421
  enumerable: !1,
422
422
  writable: !1,
423
- value: g
423
+ value: b
424
424
  }), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
425
425
  };
426
- function Pt(e, a, o, c, g) {
426
+ function kt(e, a, i, c, b) {
427
427
  {
428
- var w, m = {}, f = null, q = null;
429
- o !== void 0 && ($e(o), f = "" + o), vt(a) && ($e(a.key), f = "" + a.key), bt(a) && (q = a.ref, _t(a, g));
430
- for (w in a)
431
- ve.call(a, w) && !gt.hasOwnProperty(w) && (m[w] = a[w]);
428
+ var P, m = {}, f = null, q = null;
429
+ i !== void 0 && ($e(i), f = "" + i), pt(a) && ($e(a.key), f = "" + a.key), ht(a) && (q = a.ref, gt(a, b));
430
+ for (P in a)
431
+ ve.call(a, P) && !mt.hasOwnProperty(P) && (m[P] = a[P]);
432
432
  if (e && e.defaultProps) {
433
433
  var O = e.defaultProps;
434
- for (w in O)
435
- m[w] === void 0 && (m[w] = O[w]);
434
+ for (P in O)
435
+ m[P] === void 0 && (m[P] = O[P]);
436
436
  }
437
437
  if (f || q) {
438
438
  var U = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
439
- f && kt(m, U), q && yt(m, U);
439
+ f && bt(m, U), q && vt(m, U);
440
440
  }
441
- return wt(e, f, q, g, c, Ke.current, m);
441
+ return _t(e, f, q, b, c, We.current, m);
442
442
  }
443
443
  }
444
- var je = L.ReactCurrentOwner, He = L.ReactDebugCurrentFrame;
444
+ var Se = L.ReactCurrentOwner, He = L.ReactDebugCurrentFrame;
445
445
  function he(e) {
446
446
  if (e) {
447
- var a = e._owner, o = ye(e.type, e._source, a ? a.type : null);
448
- He.setExtraStackFrame(o);
447
+ var a = e._owner, i = we(e.type, e._source, a ? a.type : null);
448
+ He.setExtraStackFrame(i);
449
449
  } else
450
450
  He.setExtraStackFrame(null);
451
451
  }
452
- var Se;
453
- Se = !1;
454
- function Re(e) {
452
+ var Re;
453
+ Re = !1;
454
+ function Ce(e) {
455
455
  return typeof e == "object" && e !== null && e.$$typeof === s;
456
456
  }
457
457
  function qe() {
458
458
  {
459
- if (je.current) {
460
- var e = _(je.current.type);
459
+ if (Se.current) {
460
+ var e = k(Se.current.type);
461
461
  if (e)
462
462
  return `
463
463
 
@@ -466,18 +466,18 @@ Check the render method of \`` + e + "`.";
466
466
  return "";
467
467
  }
468
468
  }
469
- function xt(e) {
469
+ function yt(e) {
470
470
  return "";
471
471
  }
472
472
  var Ge = {};
473
- function Tt(e) {
473
+ function wt(e) {
474
474
  {
475
475
  var a = qe();
476
476
  if (!a) {
477
- var o = typeof e == "string" ? e : e.displayName || e.name;
478
- o && (a = `
477
+ var i = typeof e == "string" ? e : e.displayName || e.name;
478
+ i && (a = `
479
479
 
480
- Check the top-level render call using <` + o + ">.");
480
+ Check the top-level render call using <` + i + ">.");
481
481
  }
482
482
  return a;
483
483
  }
@@ -487,62 +487,62 @@ Check the top-level render call using <` + o + ">.");
487
487
  if (!e._store || e._store.validated || e.key != null)
488
488
  return;
489
489
  e._store.validated = !0;
490
- var o = Tt(a);
491
- if (Ge[o])
490
+ var i = wt(a);
491
+ if (Ge[i])
492
492
  return;
493
- Ge[o] = !0;
493
+ Ge[i] = !0;
494
494
  var c = "";
495
- e && e._owner && e._owner !== je.current && (c = " It was passed a child from " + _(e._owner.type) + "."), he(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, c), he(null);
495
+ e && e._owner && e._owner !== Se.current && (c = " It was passed a child from " + k(e._owner.type) + "."), he(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, c), he(null);
496
496
  }
497
497
  }
498
498
  function ze(e, a) {
499
499
  {
500
500
  if (typeof e != "object")
501
501
  return;
502
- if (Ee(e))
503
- for (var o = 0; o < e.length; o++) {
504
- var c = e[o];
505
- Re(c) && Ve(c, a);
502
+ if (je(e))
503
+ for (var i = 0; i < e.length; i++) {
504
+ var c = e[i];
505
+ Ce(c) && Ve(c, a);
506
506
  }
507
- else if (Re(e))
507
+ else if (Ce(e))
508
508
  e._store && (e._store.validated = !0);
509
509
  else if (e) {
510
- var g = z(e);
511
- if (typeof g == "function" && g !== e.entries)
512
- for (var w = g.call(e), m; !(m = w.next()).done; )
513
- Re(m.value) && Ve(m.value, a);
510
+ var b = V(e);
511
+ if (typeof b == "function" && b !== e.entries)
512
+ for (var P = b.call(e), m; !(m = P.next()).done; )
513
+ Ce(m.value) && Ve(m.value, a);
514
514
  }
515
515
  }
516
516
  }
517
- function At(e) {
517
+ function Pt(e) {
518
518
  {
519
519
  var a = e.type;
520
520
  if (a == null || typeof a == "string")
521
521
  return;
522
- var o;
522
+ var i;
523
523
  if (typeof a == "function")
524
- o = a.propTypes;
525
- else if (typeof a == "object" && (a.$$typeof === u || // Note: Memo only checks outer props here.
524
+ i = a.propTypes;
525
+ else if (typeof a == "object" && (a.$$typeof === d || // Note: Memo only checks outer props here.
526
526
  // Inner props are checked in the reconciler.
527
- a.$$typeof === v))
528
- o = a.propTypes;
527
+ a.$$typeof === _))
528
+ i = a.propTypes;
529
529
  else
530
530
  return;
531
- if (o) {
532
- var c = _(a);
533
- ft(o, e.props, "prop", c, e);
534
- } else if (a.PropTypes !== void 0 && !Se) {
535
- Se = !0;
536
- var g = _(a);
537
- j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", g || "Unknown");
531
+ if (i) {
532
+ var c = k(a);
533
+ ct(i, e.props, "prop", c, e);
534
+ } else if (a.PropTypes !== void 0 && !Re) {
535
+ Re = !0;
536
+ var b = k(a);
537
+ j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", b || "Unknown");
538
538
  }
539
539
  typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
540
540
  }
541
541
  }
542
- function Et(e) {
542
+ function xt(e) {
543
543
  {
544
- for (var a = Object.keys(e.props), o = 0; o < a.length; o++) {
545
- var c = a[o];
544
+ for (var a = Object.keys(e.props), i = 0; i < a.length; i++) {
545
+ var c = a[i];
546
546
  if (c !== "children" && c !== "key") {
547
547
  he(e), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), he(null);
548
548
  break;
@@ -552,66 +552,66 @@ Check the top-level render call using <` + o + ">.");
552
552
  }
553
553
  }
554
554
  var Je = {};
555
- function Qe(e, a, o, c, g, w) {
555
+ function Qe(e, a, i, c, b, P) {
556
556
  {
557
557
  var m = S(e);
558
558
  if (!m) {
559
559
  var f = "";
560
560
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
561
- var q = xt();
561
+ var q = yt();
562
562
  q ? f += q : f += qe();
563
563
  var O;
564
- e === null ? O = "null" : Ee(e) ? O = "array" : e !== void 0 && e.$$typeof === s ? (O = "<" + (_(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : O = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", O, f);
564
+ e === null ? O = "null" : je(e) ? O = "array" : e !== void 0 && e.$$typeof === s ? (O = "<" + (k(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : O = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", O, f);
565
565
  }
566
- var U = Pt(e, a, o, g, w);
566
+ var U = kt(e, a, i, b, P);
567
567
  if (U == null)
568
568
  return U;
569
569
  if (m) {
570
- var te = a.children;
571
- if (te !== void 0)
570
+ var ee = a.children;
571
+ if (ee !== void 0)
572
572
  if (c)
573
- if (Ee(te)) {
574
- for (var pe = 0; pe < te.length; pe++)
575
- ze(te[pe], e);
576
- Object.freeze && Object.freeze(te);
573
+ if (je(ee)) {
574
+ for (var pe = 0; pe < ee.length; pe++)
575
+ ze(ee[pe], e);
576
+ Object.freeze && Object.freeze(ee);
577
577
  } else
578
578
  j("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
- ze(te, e);
580
+ ze(ee, e);
581
581
  }
582
582
  if (ve.call(a, "key")) {
583
- var fe = _(e), X = Object.keys(a).filter(function(It) {
584
- return It !== "key";
585
- }), Ce = X.length > 0 ? "{key: someKey, " + X.join(": ..., ") + ": ...}" : "{key: someKey}";
586
- if (!Je[fe + Ce]) {
587
- var Nt = X.length > 0 ? "{" + X.join(": ..., ") + ": ...}" : "{}";
583
+ var de = k(e), Q = Object.keys(a).filter(function(Rt) {
584
+ return Rt !== "key";
585
+ }), Ne = Q.length > 0 ? "{key: someKey, " + Q.join(": ..., ") + ": ...}" : "{key: someKey}";
586
+ if (!Je[de + Ne]) {
587
+ var St = Q.length > 0 ? "{" + Q.join(": ..., ") + ": ...}" : "{}";
588
588
  j(`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} />`, Ce, fe, Nt, fe), Je[fe + Ce] = !0;
593
+ <%s key={someKey} {...props} />`, Ne, de, St, de), Je[de + Ne] = !0;
594
594
  }
595
595
  }
596
- return e === b ? Et(U) : At(U), U;
596
+ return e === v ? xt(U) : Pt(U), U;
597
597
  }
598
598
  }
599
- function jt(e, a, o) {
600
- return Qe(e, a, o, !0);
599
+ function Tt(e, a, i) {
600
+ return Qe(e, a, i, !0);
601
601
  }
602
- function St(e, a, o) {
603
- return Qe(e, a, o, !1);
602
+ function At(e, a, i) {
603
+ return Qe(e, a, i, !1);
604
604
  }
605
- var Rt = St, Ct = jt;
606
- ke.Fragment = b, ke.jsx = Rt, ke.jsxs = Ct;
605
+ var Et = At, jt = Tt;
606
+ ke.Fragment = v, ke.jsx = Et, ke.jsxs = jt;
607
607
  })()), ke;
608
608
  }
609
609
  var et;
610
- function Mt() {
611
- return et || (et = 1, process.env.NODE_ENV === "production" ? Pe.exports = Ft() : Pe.exports = Ut()), Pe.exports;
610
+ function Ft() {
611
+ return et || (et = 1, process.env.NODE_ENV === "production" ? xe.exports = Lt() : xe.exports = Bt()), xe.exports;
612
612
  }
613
- var t = Mt();
614
- const $t = {
613
+ var t = Ft();
614
+ const Ut = {
615
615
  kundli: "Kundli",
616
616
  birthChart: "Birth Chart",
617
617
  details: "Details",
@@ -771,7 +771,7 @@ const $t = {
771
771
  formOriginalPrice: "$100",
772
772
  formDiscountedPrice: "$25",
773
773
  formPriceAria: "Price"
774
- }, Kt = {
774
+ }, Mt = {
775
775
  kundli: "कुंडली",
776
776
  birthChart: "जन्म कुंडली",
777
777
  details: "विवरण",
@@ -930,86 +930,86 @@ const $t = {
930
930
  formOriginalPrice: "$100",
931
931
  formDiscountedPrice: "$25",
932
932
  formPriceAria: "कीमत"
933
- }, ot = ["en", "hi"], tt = {
933
+ }, at = ["en", "hi"], tt = {
934
934
  en: "English",
935
935
  hi: "हिन्दी"
936
- }, st = {
937
- en: $t,
938
- hi: Kt
939
- }, lt = it(null), ia = ({
940
- locale: i,
936
+ }, nt = {
937
+ en: Ut,
938
+ hi: Mt
939
+ }, ot = rt(null), ia = ({
940
+ locale: o,
941
941
  children: s
942
942
  }) => {
943
- const b = { locale: i, t: (p) => st[i]?.[p] ?? p };
944
- return /* @__PURE__ */ t.jsx(lt.Provider, { value: b, children: s });
943
+ const v = { locale: o, t: (g) => nt[o]?.[g] ?? g };
944
+ return /* @__PURE__ */ t.jsx(ot.Provider, { value: v, children: s });
945
945
  };
946
- function Wt() {
947
- return De(lt);
946
+ function $t() {
947
+ return Oe(ot);
948
948
  }
949
- const Yt = "_container_1e1th_1", Ht = "_main_1e1th_7", qt = "_kundliHeaderNoBorder_1e1th_12", Gt = "_headerSeparator_1e1th_16", Vt = "_langDropdownWrap_1e1th_21", zt = "_langTrigger_1e1th_25", Jt = "_langIcon_1e1th_37", Qt = "_langLabel_1e1th_44", Xt = "_langMenu_1e1th_49", Zt = "_langOption_1e1th_55", ne = {
950
- container: Yt,
951
- main: Ht,
952
- kundliHeaderNoBorder: qt,
953
- headerSeparator: Gt,
954
- langDropdownWrap: Vt,
955
- langTrigger: zt,
956
- langIcon: Jt,
957
- langLabel: Qt,
958
- langMenu: Xt,
959
- langOption: Zt
960
- }, Oe = (i) => {
961
- const { priority: s, fetchPriority: P, width: b, height: p, ...k } = i;
962
- return Ie.createElement("img", {
963
- ...k,
964
- width: b ?? 1,
965
- height: p ?? 1,
949
+ const Wt = "_container_1e1th_1", Kt = "_main_1e1th_7", Yt = "_kundliHeaderNoBorder_1e1th_12", Ht = "_headerSeparator_1e1th_16", qt = "_langDropdownWrap_1e1th_21", Gt = "_langTrigger_1e1th_25", Vt = "_langIcon_1e1th_37", zt = "_langLabel_1e1th_44", Jt = "_langMenu_1e1th_49", Qt = "_langOption_1e1th_55", ae = {
950
+ container: Wt,
951
+ main: Kt,
952
+ kundliHeaderNoBorder: Yt,
953
+ headerSeparator: Ht,
954
+ langDropdownWrap: qt,
955
+ langTrigger: Gt,
956
+ langIcon: Vt,
957
+ langLabel: zt,
958
+ langMenu: Jt,
959
+ langOption: Qt
960
+ }, Ae = (o) => {
961
+ const { priority: s, fetchPriority: p, width: v, height: g, ...y } = o;
962
+ return De.createElement("img", {
963
+ ...y,
964
+ width: v ?? 1,
965
+ height: g ?? 1,
966
966
  decoding: "async",
967
- loading: k.loading ?? (s ? "eager" : "lazy"),
968
- ...P && { fetchPriority: P }
967
+ loading: y.loading ?? (s ? "eager" : "lazy"),
968
+ ...p && { fetchPriority: p }
969
969
  });
970
970
  };
971
- function er(i) {
971
+ function Xt(o) {
972
972
  if (typeof window > "u" || !window.localStorage)
973
973
  return null;
974
974
  try {
975
- return window.localStorage.getItem(i);
975
+ return window.localStorage.getItem(o);
976
976
  } catch {
977
977
  return null;
978
978
  }
979
979
  }
980
- function tr(i, s) {
980
+ function Zt(o, s) {
981
981
  if (!(typeof window > "u" || !window.localStorage))
982
982
  try {
983
- window.localStorage.setItem(i, s);
983
+ window.localStorage.setItem(o, s);
984
984
  } catch {
985
985
  }
986
986
  }
987
- function oa(i) {
987
+ function sa(o) {
988
988
  if (!(typeof window > "u" || !window.localStorage))
989
989
  try {
990
- window.localStorage.removeItem(i);
990
+ window.localStorage.removeItem(o);
991
991
  } catch {
992
992
  }
993
993
  }
994
- function sa() {
994
+ function la() {
995
995
  if (typeof window > "u" || !window.localStorage)
996
996
  return !1;
997
997
  try {
998
- const i = "__kundli_storage_test__";
999
- return window.localStorage.setItem(i, "1"), window.localStorage.removeItem(i), !0;
998
+ const o = "__kundli_storage_test__";
999
+ return window.localStorage.setItem(o, "1"), window.localStorage.removeItem(o), !0;
1000
1000
  } catch {
1001
1001
  return !1;
1002
1002
  }
1003
1003
  }
1004
- const ct = "kundli_language";
1005
- function rr() {
1006
- const i = er(ct);
1007
- return i && ot.includes(i) ? i : null;
1004
+ const it = "kundli_language";
1005
+ function er() {
1006
+ const o = Xt(it);
1007
+ return o && at.includes(o) ? o : null;
1008
1008
  }
1009
- function ar(i) {
1010
- tr(ct, i);
1009
+ function tr(o) {
1010
+ Zt(it, o);
1011
1011
  }
1012
- const Le = it(null), nr = {
1012
+ const Le = rt(null), rr = {
1013
1013
  fullName: "",
1014
1014
  phone: "",
1015
1015
  email: "",
@@ -1017,230 +1017,230 @@ const Le = it(null), nr = {
1017
1017
  birthTime: "",
1018
1018
  birthTimeUnknown: !1,
1019
1019
  birthPlace: ""
1020
- }, la = ({
1021
- locale: i,
1020
+ }, ca = ({
1021
+ locale: o,
1022
1022
  showLanguageSelector: s = !0,
1023
- userId: P,
1024
- isGlobal: b,
1025
- logoUrl: p,
1026
- reportImageUrl: k,
1027
- reportImagePriority: y,
1023
+ userId: p,
1024
+ isGlobal: v,
1025
+ logoUrl: g,
1026
+ reportImageUrl: y,
1027
+ reportImagePriority: w,
1028
1028
  backgroundImagePriority: h,
1029
- universityLogoUrls: u,
1029
+ universityLogoUrls: d,
1030
1030
  sampleReportHref: N,
1031
1031
  onViewSampleReport: x,
1032
- ctaHref: v,
1033
- onCtaClick: d,
1032
+ ctaHref: _,
1033
+ onCtaClick: u,
1034
1034
  onBack: $,
1035
1035
  readMoreReviewsHref: T,
1036
1036
  onProceed: A,
1037
- proceedHref: z,
1037
+ proceedHref: V,
1038
1038
  originalPriceLabel: L,
1039
1039
  discountedPriceLabel: j,
1040
- discountPillLabel: K,
1041
- analytics: W,
1040
+ discountPillLabel: W,
1041
+ analytics: K,
1042
1042
  onLocaleChange: B,
1043
- imageComponent: E = Oe,
1043
+ imageComponent: E = Ae,
1044
1044
  children: H
1045
1045
  }) => {
1046
- const [J, I] = V("landing"), [S, Y] = V(i ?? "en"), [M, _] = V(nr), F = Z(!0);
1047
- re(() => {
1048
- const ae = rr();
1049
- ae && Y(ae);
1050
- }, []), re(() => {
1051
- ar(S);
1052
- }, [S]), re(() => {
1046
+ const [z, I] = G("landing"), [S, Y] = G(o ?? "en"), [M, k] = G(rr), F = X(!0);
1047
+ te(() => {
1048
+ const re = er();
1049
+ re && Y(re);
1050
+ }, []), te(() => {
1051
+ tr(S);
1052
+ }, [S]), te(() => {
1053
1053
  if (F.current) {
1054
1054
  F.current = !1;
1055
1055
  return;
1056
1056
  }
1057
1057
  B?.(S);
1058
1058
  }, [S, B]);
1059
- const D = Ne(
1059
+ const D = Ie(
1060
1060
  () => ({
1061
- locale: i,
1061
+ locale: o,
1062
1062
  showLanguageSelector: s,
1063
- userId: P,
1064
- isGlobal: b,
1065
- logoUrl: p,
1066
- reportImageUrl: k,
1067
- reportImagePriority: y,
1063
+ userId: p,
1064
+ isGlobal: v,
1065
+ logoUrl: g,
1066
+ reportImageUrl: y,
1067
+ reportImagePriority: w,
1068
1068
  backgroundImagePriority: h,
1069
- universityLogoUrls: u,
1069
+ universityLogoUrls: d,
1070
1070
  sampleReportHref: N,
1071
1071
  onViewSampleReport: x,
1072
- ctaHref: v,
1073
- onCtaClick: d,
1072
+ ctaHref: _,
1073
+ onCtaClick: u,
1074
1074
  onBack: $,
1075
1075
  readMoreReviewsHref: T,
1076
1076
  onProceed: A,
1077
- proceedHref: z,
1077
+ proceedHref: V,
1078
1078
  originalPriceLabel: L,
1079
1079
  discountedPriceLabel: j,
1080
- discountPillLabel: K,
1081
- analytics: W,
1080
+ discountPillLabel: W,
1081
+ analytics: K,
1082
1082
  onLocaleChange: B,
1083
1083
  imageComponent: E
1084
1084
  }),
1085
1085
  [
1086
- i,
1086
+ o,
1087
1087
  s,
1088
- P,
1089
- b,
1090
1088
  p,
1091
- k,
1089
+ v,
1090
+ g,
1092
1091
  y,
1092
+ w,
1093
1093
  h,
1094
- u,
1094
+ d,
1095
1095
  N,
1096
1096
  x,
1097
- v,
1098
- d,
1097
+ _,
1098
+ u,
1099
1099
  $,
1100
1100
  T,
1101
1101
  A,
1102
- z,
1102
+ V,
1103
1103
  L,
1104
1104
  j,
1105
- K,
1106
1105
  W,
1106
+ K,
1107
1107
  B,
1108
1108
  E
1109
1109
  ]
1110
- ), Q = be(() => {
1110
+ ), J = be(() => {
1111
1111
  I("form");
1112
- }, [D.analytics]), ie = be(() => {
1112
+ }, [D.analytics]), ne = be(() => {
1113
1113
  I("landing"), D.onBack?.();
1114
- }, [D.onBack]), se = Ne(
1114
+ }, [D.onBack]), ie = Ie(
1115
1115
  () => ({
1116
- view: J,
1116
+ view: z,
1117
1117
  locale: S,
1118
1118
  setLocale: Y,
1119
1119
  config: D,
1120
1120
  formValues: M,
1121
- setFormValues: _,
1122
- goToForm: Q,
1123
- goToPage: ie,
1121
+ setFormValues: k,
1122
+ goToForm: J,
1123
+ goToPage: ne,
1124
1124
  onProceed: D.onProceed
1125
1125
  }),
1126
- [J, S, D, M, Q, ie]
1126
+ [z, S, D, M, J, ne]
1127
1127
  );
1128
- return /* @__PURE__ */ t.jsx(Le.Provider, { value: se, children: H });
1128
+ return /* @__PURE__ */ t.jsx(Le.Provider, { value: ie, children: H });
1129
1129
  };
1130
- function Te() {
1131
- return De(Le);
1130
+ function ye() {
1131
+ return Oe(Le);
1132
1132
  }
1133
- function ca() {
1134
- const i = De(Le);
1135
- if (!i)
1133
+ function ua() {
1134
+ const o = Oe(Le);
1135
+ if (!o)
1136
1136
  throw new Error("useKundliContextOrThrow must be used within KundliProvider");
1137
- return i;
1137
+ return o;
1138
1138
  }
1139
- const ir = "_header_dbx4p_1", or = {
1140
- header: ir
1141
- }, sr = ({
1142
- t: i,
1139
+ const ar = "_header_dbx4p_1", nr = {
1140
+ header: ar
1141
+ }, or = ({
1142
+ t: o,
1143
1143
  onBack: s,
1144
- className: P = ""
1144
+ className: p = ""
1145
1145
  }) => /* @__PURE__ */ t.jsx(
1146
- Dt,
1146
+ Ct,
1147
1147
  {
1148
- title: i("formTitle"),
1149
- subtitle: i("formSubtitle"),
1148
+ title: o("formTitle"),
1149
+ subtitle: o("formSubtitle"),
1150
1150
  onBack: s,
1151
- backAriaLabel: i("back"),
1152
- className: `${or.header} ${P}`
1151
+ backAriaLabel: o("back"),
1152
+ className: `${nr.header} ${p}`
1153
1153
  }
1154
- ), lr = "_wrap_16uvk_1", cr = "_card_16uvk_5", dr = "_cardInner_16uvk_12", ur = "_field_16uvk_16", fr = "_labelRow_16uvk_20", mr = "_label_16uvk_20", hr = "_req_16uvk_29", pr = "_help_16uvk_33", gr = "_infoBtn_16uvk_40", br = "_infoImg_16uvk_57", vr = "_infoWrap_16uvk_63", _r = "_tooltip_16uvk_69", kr = "_tooltipArrow_16uvk_85", yr = "_inputWrap_16uvk_96", wr = "_suggestions_16uvk_100", Pr = "_suggestionItem_16uvk_113", xr = "_suggestionMain_16uvk_131", Tr = "_suggestionSecondary_16uvk_137", Ar = "_suggestionsHint_16uvk_142", Er = "_timePopover_16uvk_157", jr = "_timePickerRow_16uvk_173", Sr = "_timePickerSelect_16uvk_179", Rr = "_timePickerColon_16uvk_195", Cr = "_meridiemToggle_16uvk_203", Nr = "_meridiemBtn_16uvk_212", Ir = "_meridiemActive_16uvk_227", Dr = "_timePopoverActions_16uvk_232", Or = "_timePopoverBtn_16uvk_238", Lr = "_timePopoverOk_16uvk_257", Br = "_input_16uvk_96", Fr = "_iconBtn_16uvk_301", Ur = "_iconBtnInteractive_16uvk_307", Mr = "_iconImg_16uvk_326", $r = "_checkboxRow_16uvk_332", Kr = "_checkbox_16uvk_332", Wr = "_checkboxText_16uvk_370", n = {
1155
- wrap: lr,
1156
- card: cr,
1157
- cardInner: dr,
1158
- field: ur,
1159
- labelRow: fr,
1160
- label: mr,
1161
- req: hr,
1162
- help: pr,
1163
- infoBtn: gr,
1164
- infoImg: br,
1165
- infoWrap: vr,
1166
- tooltip: _r,
1167
- tooltipArrow: kr,
1168
- inputWrap: yr,
1169
- suggestions: wr,
1170
- suggestionItem: Pr,
1171
- suggestionMain: xr,
1172
- suggestionSecondary: Tr,
1173
- suggestionsHint: Ar,
1174
- timePopover: Er,
1175
- timePickerRow: jr,
1176
- timePickerSelect: Sr,
1177
- timePickerColon: Rr,
1178
- meridiemToggle: Cr,
1179
- meridiemBtn: Nr,
1180
- meridiemActive: Ir,
1181
- timePopoverActions: Dr,
1182
- timePopoverBtn: Or,
1183
- timePopoverOk: Lr,
1184
- input: Br,
1185
- iconBtn: Fr,
1186
- iconBtnInteractive: Ur,
1187
- iconImg: Mr,
1188
- checkboxRow: $r,
1189
- checkbox: Kr,
1190
- checkboxText: Wr
1154
+ ), ir = "_wrap_16uvk_1", sr = "_card_16uvk_5", lr = "_cardInner_16uvk_12", cr = "_field_16uvk_16", ur = "_labelRow_16uvk_20", dr = "_label_16uvk_20", fr = "_req_16uvk_29", mr = "_help_16uvk_33", hr = "_infoBtn_16uvk_40", pr = "_infoImg_16uvk_57", gr = "_infoWrap_16uvk_63", br = "_tooltip_16uvk_69", vr = "_tooltipArrow_16uvk_85", _r = "_inputWrap_16uvk_96", kr = "_suggestions_16uvk_100", yr = "_suggestionItem_16uvk_113", wr = "_suggestionMain_16uvk_131", Pr = "_suggestionSecondary_16uvk_137", xr = "_suggestionsHint_16uvk_142", Tr = "_timePopover_16uvk_157", Ar = "_timePickerRow_16uvk_173", Er = "_timePickerSelect_16uvk_179", jr = "_timePickerColon_16uvk_195", Sr = "_meridiemToggle_16uvk_203", Rr = "_meridiemBtn_16uvk_212", Cr = "_meridiemActive_16uvk_227", Nr = "_timePopoverActions_16uvk_232", Ir = "_timePopoverBtn_16uvk_238", Dr = "_timePopoverOk_16uvk_257", Or = "_input_16uvk_96", Lr = "_iconBtn_16uvk_301", Br = "_iconBtnInteractive_16uvk_307", Fr = "_iconImg_16uvk_326", Ur = "_checkboxRow_16uvk_332", Mr = "_checkbox_16uvk_332", $r = "_checkboxText_16uvk_370", n = {
1155
+ wrap: ir,
1156
+ card: sr,
1157
+ cardInner: lr,
1158
+ field: cr,
1159
+ labelRow: ur,
1160
+ label: dr,
1161
+ req: fr,
1162
+ help: mr,
1163
+ infoBtn: hr,
1164
+ infoImg: pr,
1165
+ infoWrap: gr,
1166
+ tooltip: br,
1167
+ tooltipArrow: vr,
1168
+ inputWrap: _r,
1169
+ suggestions: kr,
1170
+ suggestionItem: yr,
1171
+ suggestionMain: wr,
1172
+ suggestionSecondary: Pr,
1173
+ suggestionsHint: xr,
1174
+ timePopover: Tr,
1175
+ timePickerRow: Ar,
1176
+ timePickerSelect: Er,
1177
+ timePickerColon: jr,
1178
+ meridiemToggle: Sr,
1179
+ meridiemBtn: Rr,
1180
+ meridiemActive: Cr,
1181
+ timePopoverActions: Nr,
1182
+ timePopoverBtn: Ir,
1183
+ timePopoverOk: Dr,
1184
+ input: Or,
1185
+ iconBtn: Lr,
1186
+ iconBtnInteractive: Br,
1187
+ iconImg: Fr,
1188
+ checkboxRow: Ur,
1189
+ checkbox: Mr,
1190
+ checkboxText: $r
1191
1191
  };
1192
- let xe = null;
1193
- const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : xe || (xe = new Promise((P, b) => {
1194
- const p = document.querySelector(
1192
+ let Te = null;
1193
+ const Wr = (o, s) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Te || (Te = new Promise((p, v) => {
1194
+ const g = document.querySelector(
1195
1195
  'script[data-google-maps-places="true"]'
1196
1196
  );
1197
- if (p) {
1198
- p.addEventListener("load", () => P()), p.addEventListener(
1197
+ if (g) {
1198
+ g.addEventListener("load", () => p()), g.addEventListener(
1199
1199
  "error",
1200
- () => b(new Error("Failed to load Google Maps API"))
1200
+ () => v(new Error("Failed to load Google Maps API"))
1201
1201
  );
1202
1202
  return;
1203
1203
  }
1204
- const k = document.createElement("script"), y = new URL("https://maps.googleapis.com/maps/api/js");
1205
- y.searchParams.set("key", i), y.searchParams.set("libraries", "places"), y.searchParams.set("loading", "async"), s && y.searchParams.set("language", s), k.src = y.toString(), k.async = !0, k.defer = !0, k.setAttribute("data-google-maps-places", "true"), k.onload = () => {
1206
- const h = Date.now(), u = () => {
1204
+ const y = document.createElement("script"), w = new URL("https://maps.googleapis.com/maps/api/js");
1205
+ w.searchParams.set("key", o), w.searchParams.set("libraries", "places"), w.searchParams.set("loading", "async"), s && w.searchParams.set("language", s), y.src = w.toString(), y.async = !0, y.defer = !0, y.setAttribute("data-google-maps-places", "true"), y.onload = () => {
1206
+ const h = Date.now(), d = () => {
1207
1207
  if (window.google?.maps?.places) {
1208
- P();
1208
+ p();
1209
1209
  return;
1210
1210
  }
1211
1211
  if (Date.now() - h > 2e3) {
1212
- b(
1212
+ v(
1213
1213
  new Error(
1214
1214
  "Google Maps loaded but Places library is unavailable. Check API key restrictions / enabled APIs."
1215
1215
  )
1216
1216
  );
1217
1217
  return;
1218
1218
  }
1219
- window.setTimeout(u, 50);
1219
+ window.setTimeout(d, 50);
1220
1220
  };
1221
- u();
1222
- }, k.onerror = () => b(new Error("Failed to load Google Maps API")), document.head.appendChild(k);
1223
- }), xe), Hr = (i) => {
1224
- const { apiKey: s, language: P = "en", restrictCountry: b, deferLoad: p = !1 } = i, [k, y] = V(!1), [h, u] = V([]), [N, x] = V(!1), [v, d] = V(null), [$, T] = V(!p), A = Z(null), z = Z(null), L = Z(null), j = be(() => {
1225
- p && T(!0);
1226
- }, [p]);
1227
- re(() => {
1221
+ d();
1222
+ }, y.onerror = () => v(new Error("Failed to load Google Maps API")), document.head.appendChild(y);
1223
+ }), Te), Kr = (o) => {
1224
+ const { apiKey: s, language: p = "en", restrictCountry: v, deferLoad: g = !1 } = o, [y, w] = G(!1), [h, d] = G([]), [N, x] = G(!1), [_, u] = G(null), [$, T] = G(!g), A = X(null), V = X(null), L = X(null), j = be(() => {
1225
+ g && T(!0);
1226
+ }, [g]);
1227
+ te(() => {
1228
1228
  if (!s || !$) {
1229
- y(!1), d(null);
1229
+ w(!1), u(null);
1230
1230
  return;
1231
1231
  }
1232
- Yr(s, P).then(() => {
1232
+ Wr(s, p).then(() => {
1233
1233
  A.current = new google.maps.places.AutocompleteService();
1234
1234
  const E = document.createElement("div");
1235
- z.current = new google.maps.places.PlacesService(E), L.current = new google.maps.places.AutocompleteSessionToken(), y(!0), d(null);
1235
+ V.current = new google.maps.places.PlacesService(E), L.current = new google.maps.places.AutocompleteSessionToken(), w(!0), u(null);
1236
1236
  }).catch((E) => {
1237
- y(!1), d(E?.message || "Failed to load location service");
1237
+ w(!1), u(E?.message || "Failed to load location service");
1238
1238
  });
1239
- }, [s, P, $]);
1240
- const K = be(
1239
+ }, [s, p, $]);
1240
+ const W = be(
1241
1241
  async (E) => {
1242
1242
  if (!E || E.length < 2 || !A.current) {
1243
- u([]);
1243
+ d([]);
1244
1244
  return;
1245
1245
  }
1246
1246
  x(!0);
@@ -1250,8 +1250,8 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1250
1250
  types: ["(cities)"],
1251
1251
  sessionToken: L.current ?? void 0
1252
1252
  };
1253
- b && (H.componentRestrictions = { country: b });
1254
- const J = await new Promise((I, S) => {
1253
+ v && (H.componentRestrictions = { country: v });
1254
+ const z = await new Promise((I, S) => {
1255
1255
  A.current.getPlacePredictions(
1256
1256
  H,
1257
1257
  (Y, M) => {
@@ -1259,8 +1259,8 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1259
1259
  }
1260
1260
  );
1261
1261
  });
1262
- u(
1263
- J.map((I) => ({
1262
+ d(
1263
+ z.map((I) => ({
1264
1264
  place_id: I.place_id,
1265
1265
  description: I.description,
1266
1266
  structured_formatting: {
@@ -1270,38 +1270,38 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1270
1270
  }))
1271
1271
  );
1272
1272
  } catch {
1273
- u([]);
1273
+ d([]);
1274
1274
  } finally {
1275
1275
  x(!1);
1276
1276
  }
1277
1277
  },
1278
- [b]
1279
- ), W = be(
1278
+ [v]
1279
+ ), K = be(
1280
1280
  async (E) => {
1281
- if (!z.current) return null;
1281
+ if (!V.current) return null;
1282
1282
  try {
1283
1283
  const H = await new Promise(
1284
- (_, F) => {
1285
- z.current.getDetails(
1284
+ (k, F) => {
1285
+ V.current.getDetails(
1286
1286
  {
1287
1287
  placeId: E,
1288
1288
  fields: ["geometry", "address_components", "formatted_address"],
1289
1289
  sessionToken: L.current ?? void 0
1290
1290
  },
1291
- (D, Q) => {
1292
- Q === google.maps.places.PlacesServiceStatus.OK && D ? _(D) : F(new Error(`Place details error: ${Q}`));
1291
+ (D, J) => {
1292
+ J === google.maps.places.PlacesServiceStatus.OK && D ? k(D) : F(new Error(`Place details error: ${J}`));
1293
1293
  }
1294
1294
  );
1295
1295
  }
1296
1296
  );
1297
1297
  L.current = new google.maps.places.AutocompleteSessionToken();
1298
- const J = H.geometry?.location?.lat() || 0, I = H.geometry?.location?.lng() || 0;
1298
+ const z = H.geometry?.location?.lat() || 0, I = H.geometry?.location?.lng() || 0;
1299
1299
  let S = "", Y = "", M = "";
1300
- return H.address_components?.forEach((_) => {
1301
- _.types.includes("locality") && (S = _.long_name), _.types.includes("administrative_area_level_1") && (Y = _.long_name), _.types.includes("country") && (M = _.long_name);
1300
+ return H.address_components?.forEach((k) => {
1301
+ k.types.includes("locality") && (S = k.long_name), k.types.includes("administrative_area_level_1") && (Y = k.long_name), k.types.includes("country") && (M = k.long_name);
1302
1302
  }), {
1303
1303
  display_name: H.formatted_address || "",
1304
- lat: J,
1304
+ lat: z,
1305
1305
  lng: I,
1306
1306
  city: S,
1307
1307
  state: Y,
@@ -1312,32 +1312,32 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1312
1312
  }
1313
1313
  },
1314
1314
  []
1315
- ), B = be(() => u([]), []);
1315
+ ), B = be(() => d([]), []);
1316
1316
  return {
1317
- isLoaded: k,
1317
+ isLoaded: y,
1318
1318
  predictions: h,
1319
1319
  isSearching: N,
1320
- loadError: v,
1321
- searchPlaces: K,
1322
- getPlaceDetails: W,
1320
+ loadError: _,
1321
+ searchPlaces: W,
1322
+ getPlaceDetails: K,
1323
1323
  clearPredictions: B,
1324
1324
  triggerLoad: j
1325
1325
  // Call this to start loading Google Maps when deferred
1326
1326
  };
1327
- }, qr = {}, ge = {
1327
+ }, Yr = {}, ge = {
1328
1328
  time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
1329
1329
  location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
1330
1330
  date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
1331
1331
  info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
1332
- }, Gr = ({
1333
- t: i,
1332
+ }, Hr = ({
1333
+ t: o,
1334
1334
  values: s,
1335
- onChange: P,
1336
- analytics: b,
1337
- googleMapsApiKey: p,
1338
- className: k = ""
1335
+ onChange: p,
1336
+ analytics: v,
1337
+ googleMapsApiKey: g,
1338
+ className: y = ""
1339
1339
  }) => {
1340
- const y = Te(), h = y?.config?.analytics ?? b, u = y?.config.isGlobal ?? !0, N = y?.config.imageComponent ?? Oe, x = Z({}), v = (r) => P({ ...s, ...r }), d = (r, l) => {
1340
+ const w = ye(), h = w?.config?.analytics ?? v, d = w?.config.isGlobal ?? !0, N = w?.config.imageComponent ?? Ae, x = X({}), _ = (r) => p({ ...s, ...r }), u = (r, l) => {
1341
1341
  l.trim() && !x.current[r] && (x.current[r] = !0, {
1342
1342
  fullName: () => h?.trackNameSectionFilled?.(),
1343
1343
  phone: () => h?.trackPhoneSectionFilled?.(),
@@ -1346,74 +1346,74 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1346
1346
  birthTime: () => h?.trackTimeFilled?.(),
1347
1347
  birthPlace: () => h?.trackPlaceOfBirthChosen?.()
1348
1348
  }[r]?.());
1349
- }, $ = (r) => r.replace(/\D/g, "").slice(0, 10), T = Z(null);
1350
- Z(null);
1351
- const A = Z(null), z = Z(0), L = Z(null), [j, K] = V(!1), [W, B] = V({ hour12: 12, minute: "00", meridiem: "AM" }), E = (r) => String(r).padStart(2, "0"), H = (r) => {
1349
+ }, $ = (r) => r.replace(/\D/g, "").slice(0, 10), T = X(null);
1350
+ X(null);
1351
+ const A = X(null), V = X(0), L = X(null), [j, W] = G(!1), [K, B] = G({ hour12: 12, minute: "00", meridiem: "AM" }), E = (r) => String(r).padStart(2, "0"), H = (r) => {
1352
1352
  const l = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
1353
1353
  if (!l) return r;
1354
- const R = Number(l[1]), ee = l[2], ce = R >= 12 ? "PM" : "AM";
1355
- return `${R % 12 === 0 ? 12 : R % 12}:${ee} ${ce}`;
1356
- }, J = (r) => {
1354
+ const R = Number(l[1]), Z = l[2], le = R >= 12 ? "PM" : "AM";
1355
+ return `${R % 12 === 0 ? 12 : R % 12}:${Z} ${le}`;
1356
+ }, z = (r) => {
1357
1357
  const l = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
1358
1358
  if (!l) return { hour12: 12, minute: "00", meridiem: "AM" };
1359
- const R = Number(l[1]), ee = l[2], ce = R >= 12 ? "PM" : "AM";
1360
- return { hour12: R % 12 === 0 ? 12 : R % 12, minute: ee, meridiem: ce };
1359
+ const R = Number(l[1]), Z = l[2], le = R >= 12 ? "PM" : "AM";
1360
+ return { hour12: R % 12 === 0 ? 12 : R % 12, minute: Z, meridiem: le };
1361
1361
  }, I = (r) => {
1362
1362
  const l = Math.min(12, Math.max(1, r.hour12)), R = /^([0-5]\d)$/.test(r.minute) ? r.minute : "00";
1363
- let ee = l % 12;
1364
- return r.meridiem === "PM" && (ee += 12), `${E(ee)}:${R}`;
1365
- }, S = Z(null), [Y, M] = V(!1), [_, F] = V(
1363
+ let Z = l % 12;
1364
+ return r.meridiem === "PM" && (Z += 12), `${E(Z)}:${R}`;
1365
+ }, S = X(null), [Y, M] = G(!1), [k, F] = G(
1366
1366
  null
1367
- ), D = p ?? qr?.VITE_GOOGLE_MAPS_API_KEY, Q = (s.birthPlace ?? "").trim(), ie = u ? void 0 : "in", se = "en", {
1368
- predictions: ae,
1369
- isSearching: de,
1367
+ ), D = g ?? Yr?.VITE_GOOGLE_MAPS_API_KEY, J = (s.birthPlace ?? "").trim(), ne = d ? void 0 : "in", ie = "en", {
1368
+ predictions: re,
1369
+ isSearching: ce,
1370
1370
  loadError: oe,
1371
1371
  searchPlaces: ue,
1372
- clearPredictions: le,
1372
+ clearPredictions: se,
1373
1373
  triggerLoad: C
1374
- } = Hr({
1374
+ } = Kr({
1375
1375
  apiKey: D,
1376
- language: se,
1377
- restrictCountry: ie,
1376
+ language: ie,
1377
+ restrictCountry: ne,
1378
1378
  deferLoad: !0
1379
1379
  // Defer loading until user focuses on input
1380
1380
  });
1381
- re(() => {
1381
+ te(() => {
1382
1382
  const r = (l) => {
1383
1383
  S.current && (S.current.contains(l.target) || M(!1));
1384
1384
  };
1385
1385
  return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
1386
- }, []), re(() => {
1386
+ }, []), te(() => {
1387
1387
  if (!Y) return;
1388
- if (Q.length < 2) {
1389
- le();
1388
+ if (J.length < 2) {
1389
+ se();
1390
1390
  return;
1391
1391
  }
1392
1392
  const r = window.setTimeout(async () => {
1393
- await ue(Q);
1393
+ await ue(J);
1394
1394
  }, 250);
1395
1395
  return () => window.clearTimeout(r);
1396
- }, [le, Y, Q, ue]);
1396
+ }, [se, Y, J, ue]);
1397
1397
  const me = (r) => {
1398
1398
  const l = r.current;
1399
1399
  if (!(!l || l.disabled)) {
1400
- if (document.activeElement === l && A.current === l && Date.now() - z.current < 6e4) {
1400
+ if (document.activeElement === l && A.current === l && Date.now() - V.current < 6e4) {
1401
1401
  l.blur();
1402
1402
  return;
1403
1403
  }
1404
1404
  if (typeof l.showPicker == "function") {
1405
- l.showPicker(), A.current = l, z.current = Date.now();
1405
+ l.showPicker(), A.current = l, V.current = Date.now();
1406
1406
  return;
1407
1407
  }
1408
- l.focus(), A.current = l, z.current = Date.now();
1408
+ l.focus(), A.current = l, V.current = Date.now();
1409
1409
  }
1410
1410
  };
1411
- return re(() => {
1411
+ return te(() => {
1412
1412
  const r = (l) => {
1413
- L.current && (L.current.contains(l.target) || K(!1));
1413
+ L.current && (L.current.contains(l.target) || W(!1));
1414
1414
  };
1415
1415
  return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
1416
- }, []), re(() => {
1416
+ }, []), te(() => {
1417
1417
  const r = (R) => {
1418
1418
  R.target?.closest?.("[data-info-tooltip]") == null && F(null);
1419
1419
  }, l = (R) => {
@@ -1425,12 +1425,12 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1425
1425
  }, []), /* @__PURE__ */ t.jsx(
1426
1426
  "section",
1427
1427
  {
1428
- className: `${n.wrap} ${k}`,
1429
- "aria-label": i("formTitle"),
1428
+ className: `${n.wrap} ${y}`,
1429
+ "aria-label": o("formTitle"),
1430
1430
  children: /* @__PURE__ */ t.jsx("div", { className: n.card, children: /* @__PURE__ */ t.jsxs("div", { className: n.cardInner, children: [
1431
1431
  /* @__PURE__ */ t.jsxs("div", { className: n.field, children: [
1432
1432
  /* @__PURE__ */ t.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ t.jsxs("label", { className: n.label, htmlFor: "kundli-full-name", children: [
1433
- i("formFullName"),
1433
+ o("formFullName"),
1434
1434
  /* @__PURE__ */ t.jsx("span", { className: n.req, children: "*" })
1435
1435
  ] }) }),
1436
1436
  /* @__PURE__ */ t.jsx("div", { className: n.inputWrap, children: /* @__PURE__ */ t.jsx(
@@ -1443,17 +1443,17 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1443
1443
  onFocus: () => h?.trackNameSectionClicked?.(),
1444
1444
  onChange: (r) => {
1445
1445
  const l = r.target.value;
1446
- v({ fullName: l }), d("fullName", l);
1446
+ _({ fullName: l }), u("fullName", l);
1447
1447
  },
1448
- placeholder: i("formFullNamePlaceholder"),
1448
+ placeholder: o("formFullNamePlaceholder"),
1449
1449
  autoComplete: "name"
1450
1450
  }
1451
1451
  ) })
1452
1452
  ] }),
1453
1453
  /* @__PURE__ */ t.jsxs("div", { className: n.field, children: [
1454
1454
  /* @__PURE__ */ t.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ t.jsxs("label", { className: n.label, htmlFor: "kundli-phone", children: [
1455
- i("formPhone"),
1456
- !u && /* @__PURE__ */ t.jsx("span", { className: n.req, children: "*" })
1455
+ o("formPhone"),
1456
+ !d && /* @__PURE__ */ t.jsx("span", { className: n.req, children: "*" })
1457
1457
  ] }) }),
1458
1458
  /* @__PURE__ */ t.jsx("div", { className: n.inputWrap, children: /* @__PURE__ */ t.jsx(
1459
1459
  "input",
@@ -1465,24 +1465,24 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1465
1465
  onFocus: () => h?.trackPhoneSectionClicked?.(),
1466
1466
  onChange: (r) => {
1467
1467
  const l = r.target.value;
1468
- v({ phone: $(l) }), d("phone", $(l));
1468
+ _({ phone: $(l) }), u("phone", $(l));
1469
1469
  },
1470
- placeholder: i("formPhonePlaceholder"),
1470
+ placeholder: o("formPhonePlaceholder"),
1471
1471
  autoComplete: "tel",
1472
1472
  inputMode: "numeric",
1473
1473
  pattern: "[0-9]{10}",
1474
1474
  maxLength: 10,
1475
- required: !u,
1476
- "aria-required": !u
1475
+ required: !d,
1476
+ "aria-required": !d
1477
1477
  }
1478
1478
  ) })
1479
1479
  ] }),
1480
- u && /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsxs("div", { className: n.field, children: [
1480
+ d && /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsxs("div", { className: n.field, children: [
1481
1481
  /* @__PURE__ */ t.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ t.jsxs("label", { className: n.label, htmlFor: "kundli-email", children: [
1482
- i("formEmail"),
1482
+ o("formEmail"),
1483
1483
  /* @__PURE__ */ t.jsx("span", { className: n.req, children: "*" })
1484
1484
  ] }) }),
1485
- /* @__PURE__ */ t.jsx("div", { className: n.help, children: i("formEmailHelp") }),
1485
+ /* @__PURE__ */ t.jsx("div", { className: n.help, children: o("formEmailHelp") }),
1486
1486
  /* @__PURE__ */ t.jsx("div", { className: n.inputWrap, children: /* @__PURE__ */ t.jsx(
1487
1487
  "input",
1488
1488
  {
@@ -1490,8 +1490,8 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1490
1490
  className: n.input,
1491
1491
  type: "email",
1492
1492
  value: s.email,
1493
- onChange: (r) => v({ email: r.target.value }),
1494
- placeholder: i("formEmailPlaceholder"),
1493
+ onChange: (r) => _({ email: r.target.value }),
1494
+ placeholder: o("formEmailPlaceholder"),
1495
1495
  autoComplete: "email",
1496
1496
  required: !0,
1497
1497
  "aria-required": !0
@@ -1501,7 +1501,7 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1501
1501
  /* @__PURE__ */ t.jsxs("div", { className: n.field, children: [
1502
1502
  /* @__PURE__ */ t.jsxs("div", { className: n.labelRow, children: [
1503
1503
  /* @__PURE__ */ t.jsxs("label", { className: n.label, htmlFor: "kundli-dob", children: [
1504
- i("formDob"),
1504
+ o("formDob"),
1505
1505
  /* @__PURE__ */ t.jsx("span", { className: n.req, children: "*" })
1506
1506
  ] }),
1507
1507
  /* @__PURE__ */ t.jsxs("div", { className: n.infoWrap, "data-info-tooltip": !0, children: [
@@ -1510,8 +1510,8 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1510
1510
  {
1511
1511
  type: "button",
1512
1512
  className: n.infoBtn,
1513
- "aria-label": i("info"),
1514
- "aria-expanded": _ === "dob",
1513
+ "aria-label": o("info"),
1514
+ "aria-expanded": k === "dob",
1515
1515
  onClick: () => {
1516
1516
  F((r) => r === "dob" ? null : "dob"), h?.trackInfoIconClicked?.({ fieldName: "dob" });
1517
1517
  },
@@ -1528,8 +1528,8 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1528
1528
  )
1529
1529
  }
1530
1530
  ),
1531
- _ === "dob" && /* @__PURE__ */ t.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
1532
- i("formDobInfo"),
1531
+ k === "dob" && /* @__PURE__ */ t.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
1532
+ o("formDobInfo"),
1533
1533
  /* @__PURE__ */ t.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
1534
1534
  ] })
1535
1535
  ] })
@@ -1548,8 +1548,8 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1548
1548
  return `${r.getFullYear()}-${E(r.getMonth() + 1)}-${E(r.getDate())}`;
1549
1549
  })(),
1550
1550
  onChange: (r) => {
1551
- const l = r.target.value, R = /* @__PURE__ */ new Date(), ee = `${R.getFullYear()}-${E(R.getMonth() + 1)}-${E(R.getDate())}`;
1552
- l && l > ee || (v({ dateOfBirth: l }), d("dateOfBirth", l), A.current = null);
1551
+ const l = r.target.value, R = /* @__PURE__ */ new Date(), Z = `${R.getFullYear()}-${E(R.getMonth() + 1)}-${E(R.getDate())}`;
1552
+ l && l > Z || (_({ dateOfBirth: l }), u("dateOfBirth", l), A.current = null);
1553
1553
  },
1554
1554
  onFocus: () => h?.trackDobClicked?.(),
1555
1555
  onClick: () => me(T),
@@ -1586,7 +1586,7 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1586
1586
  /* @__PURE__ */ t.jsxs("div", { className: n.field, children: [
1587
1587
  /* @__PURE__ */ t.jsxs("div", { className: n.labelRow, children: [
1588
1588
  /* @__PURE__ */ t.jsxs("label", { className: n.label, htmlFor: "kundli-birth-time", children: [
1589
- i("formBirthTime"),
1589
+ o("formBirthTime"),
1590
1590
  /* @__PURE__ */ t.jsx("span", { className: n.req, children: "*" })
1591
1591
  ] }),
1592
1592
  /* @__PURE__ */ t.jsxs("div", { className: n.infoWrap, "data-info-tooltip": !0, children: [
@@ -1595,8 +1595,8 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1595
1595
  {
1596
1596
  type: "button",
1597
1597
  className: n.infoBtn,
1598
- "aria-label": i("info"),
1599
- "aria-expanded": _ === "time",
1598
+ "aria-label": o("info"),
1599
+ "aria-expanded": k === "time",
1600
1600
  onClick: () => {
1601
1601
  h?.trackInfoIconClicked?.({ fieldName: "time" }), F((r) => r === "time" ? null : "time");
1602
1602
  },
@@ -1613,8 +1613,8 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1613
1613
  )
1614
1614
  }
1615
1615
  ),
1616
- _ === "time" && /* @__PURE__ */ t.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
1617
- i("formBirthTimeInfo"),
1616
+ k === "time" && /* @__PURE__ */ t.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
1617
+ o("formBirthTimeInfo"),
1618
1618
  /* @__PURE__ */ t.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
1619
1619
  ] })
1620
1620
  ] })
@@ -1631,12 +1631,12 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1631
1631
  onFocus: () => h?.trackTimeClicked?.(),
1632
1632
  onChange: (r) => {
1633
1633
  const l = r.target.value;
1634
- v({ birthTime: l }), d("birthTime", l);
1634
+ _({ birthTime: l }), u("birthTime", l);
1635
1635
  },
1636
1636
  disabled: s.birthTimeUnknown,
1637
1637
  placeholder: "HH:MM AM",
1638
1638
  onClick: () => {
1639
- s.birthTimeUnknown || (B(J(s.birthTime || "12:00")), K((r) => !r));
1639
+ s.birthTimeUnknown || (B(z(s.birthTime || "12:00")), W((r) => !r));
1640
1640
  }
1641
1641
  }
1642
1642
  ),
@@ -1649,7 +1649,7 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1649
1649
  disabled: s.birthTimeUnknown,
1650
1650
  onMouseDown: (r) => r.preventDefault(),
1651
1651
  onClick: (r) => {
1652
- r.preventDefault(), r.stopPropagation(), !s.birthTimeUnknown && (B(J(s.birthTime || "12:00")), K((l) => !l));
1652
+ r.preventDefault(), r.stopPropagation(), !s.birthTimeUnknown && (B(z(s.birthTime || "12:00")), W((l) => !l));
1653
1653
  },
1654
1654
  children: /* @__PURE__ */ t.jsx(
1655
1655
  N,
@@ -1676,7 +1676,7 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1676
1676
  "select",
1677
1677
  {
1678
1678
  className: n.timePickerSelect,
1679
- value: W.hour12,
1679
+ value: K.hour12,
1680
1680
  onChange: (r) => B((l) => ({
1681
1681
  ...l,
1682
1682
  hour12: Number(r.target.value)
@@ -1690,7 +1690,7 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1690
1690
  "select",
1691
1691
  {
1692
1692
  className: n.timePickerSelect,
1693
- value: W.minute,
1693
+ value: K.minute,
1694
1694
  onChange: (r) => B((l) => ({ ...l, minute: r.target.value })),
1695
1695
  "aria-label": "Minute",
1696
1696
  children: Array.from({ length: 60 }, (r, l) => E(l)).map(
@@ -1703,7 +1703,7 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1703
1703
  "button",
1704
1704
  {
1705
1705
  type: "button",
1706
- className: `${n.meridiemBtn} ${W.meridiem === "AM" ? n.meridiemActive : ""}`,
1706
+ className: `${n.meridiemBtn} ${K.meridiem === "AM" ? n.meridiemActive : ""}`,
1707
1707
  onClick: () => B((r) => ({ ...r, meridiem: "AM" })),
1708
1708
  children: "AM"
1709
1709
  }
@@ -1712,7 +1712,7 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1712
1712
  "button",
1713
1713
  {
1714
1714
  type: "button",
1715
- className: `${n.meridiemBtn} ${W.meridiem === "PM" ? n.meridiemActive : ""}`,
1715
+ className: `${n.meridiemBtn} ${K.meridiem === "PM" ? n.meridiemActive : ""}`,
1716
1716
  onClick: () => B((r) => ({ ...r, meridiem: "PM" })),
1717
1717
  children: "PM"
1718
1718
  }
@@ -1725,7 +1725,7 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1725
1725
  {
1726
1726
  type: "button",
1727
1727
  className: n.timePopoverBtn,
1728
- onClick: () => K(!1),
1728
+ onClick: () => W(!1),
1729
1729
  children: "Cancel"
1730
1730
  }
1731
1731
  ),
@@ -1735,8 +1735,8 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1735
1735
  type: "button",
1736
1736
  className: `${n.timePopoverBtn} ${n.timePopoverOk}`,
1737
1737
  onClick: () => {
1738
- const r = I(W);
1739
- v({ birthTime: r }), d("birthTime", r), K(!1);
1738
+ const r = I(K);
1739
+ _({ birthTime: r }), u("birthTime", r), W(!1);
1740
1740
  },
1741
1741
  "aria-label": "OK",
1742
1742
  children: /* @__PURE__ */ t.jsx(
@@ -1776,7 +1776,7 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1776
1776
  type: "checkbox",
1777
1777
  checked: s.birthTimeUnknown,
1778
1778
  onChange: (r) => {
1779
- h?.trackTimeCheckboxClicked?.(), v({
1779
+ h?.trackTimeCheckboxClicked?.(), _({
1780
1780
  birthTimeUnknown: r.target.checked,
1781
1781
  birthTime: r.target.checked ? "" : s.birthTime
1782
1782
  });
@@ -1789,9 +1789,9 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1789
1789
  className: n.checkboxText,
1790
1790
  htmlFor: "kundli-time-unknown",
1791
1791
  children: [
1792
- i("formBirthTimeUnknownLine1"),
1792
+ o("formBirthTimeUnknownLine1"),
1793
1793
  /* @__PURE__ */ t.jsx("br", {}),
1794
- i("formBirthTimeUnknownLine2")
1794
+ o("formBirthTimeUnknownLine2")
1795
1795
  ]
1796
1796
  }
1797
1797
  )
@@ -1800,7 +1800,7 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1800
1800
  /* @__PURE__ */ t.jsxs("div", { className: n.field, children: [
1801
1801
  /* @__PURE__ */ t.jsxs("div", { className: n.labelRow, children: [
1802
1802
  /* @__PURE__ */ t.jsxs("label", { className: n.label, htmlFor: "kundli-birth-place", children: [
1803
- i("formBirthPlace"),
1803
+ o("formBirthPlace"),
1804
1804
  /* @__PURE__ */ t.jsx("span", { className: n.req, children: "*" })
1805
1805
  ] }),
1806
1806
  /* @__PURE__ */ t.jsxs("div", { className: n.infoWrap, "data-info-tooltip": !0, children: [
@@ -1809,8 +1809,8 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1809
1809
  {
1810
1810
  type: "button",
1811
1811
  className: n.infoBtn,
1812
- "aria-label": i("info"),
1813
- "aria-expanded": _ === "place",
1812
+ "aria-label": o("info"),
1813
+ "aria-expanded": k === "place",
1814
1814
  onClick: () => {
1815
1815
  h?.trackInfoIconClicked?.({ fieldName: "birthPlace" }), F((r) => r === "place" ? null : "place");
1816
1816
  },
@@ -1827,8 +1827,8 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1827
1827
  )
1828
1828
  }
1829
1829
  ),
1830
- _ === "place" && /* @__PURE__ */ t.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
1831
- i("formBirthPlaceInfo"),
1830
+ k === "place" && /* @__PURE__ */ t.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
1831
+ o("formBirthPlaceInfo"),
1832
1832
  /* @__PURE__ */ t.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
1833
1833
  ] })
1834
1834
  ] })
@@ -1843,12 +1843,12 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1843
1843
  value: s.birthPlace,
1844
1844
  onChange: (r) => {
1845
1845
  const l = r.target.value;
1846
- v({ birthPlace: l }), d("birthPlace", l), M(!0);
1846
+ _({ birthPlace: l }), u("birthPlace", l), M(!0);
1847
1847
  },
1848
1848
  onFocus: () => {
1849
1849
  h?.trackPlaceOfBirthClicked?.(), M(!0), C();
1850
1850
  },
1851
- placeholder: i("formBirthPlacePlaceholder"),
1851
+ placeholder: o("formBirthPlacePlaceholder"),
1852
1852
  autoComplete: "address-level2"
1853
1853
  }
1854
1854
  ),
@@ -1863,13 +1863,13 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1863
1863
  loading: "lazy"
1864
1864
  }
1865
1865
  ) }),
1866
- Y && ae.length > 0 && /* @__PURE__ */ t.jsx("div", { className: n.suggestions, role: "listbox", children: ae.slice(0, 8).map((r) => /* @__PURE__ */ t.jsxs(
1866
+ Y && re.length > 0 && /* @__PURE__ */ t.jsx("div", { className: n.suggestions, role: "listbox", children: re.slice(0, 8).map((r) => /* @__PURE__ */ t.jsxs(
1867
1867
  "button",
1868
1868
  {
1869
1869
  type: "button",
1870
1870
  className: n.suggestionItem,
1871
1871
  onClick: () => {
1872
- v({ birthPlace: r.description }), le(), M(!1);
1872
+ _({ birthPlace: r.description }), se(), M(!1);
1873
1873
  },
1874
1874
  children: [
1875
1875
  /* @__PURE__ */ t.jsx("span", { className: n.suggestionMain, children: r.structured_formatting?.main_text ?? r.description }),
@@ -1878,92 +1878,79 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1878
1878
  },
1879
1879
  r.place_id
1880
1880
  )) }),
1881
- Y && D && de && /* @__PURE__ */ t.jsx("div", { className: n.suggestionsHint, children: "Loading…" }),
1882
- Y && D && !de && !!oe && /* @__PURE__ */ t.jsx("div", { className: n.suggestionsHint, children: oe })
1881
+ Y && D && ce && /* @__PURE__ */ t.jsx("div", { className: n.suggestionsHint, children: "Loading…" }),
1882
+ Y && D && !ce && !!oe && /* @__PURE__ */ t.jsx("div", { className: n.suggestionsHint, children: oe })
1883
1883
  ] })
1884
1884
  ] })
1885
1885
  ] }) })
1886
1886
  }
1887
1887
  );
1888
- }, rt = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", at = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", nt = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Vr = ({ t: i }) => /* @__PURE__ */ t.jsxs("div", { className: G.marqueeTrack, children: [
1889
- /* @__PURE__ */ t.jsxs("div", { className: G.marqueeContent, children: [
1890
- /* @__PURE__ */ t.jsxs("span", { className: G.badge, children: [
1891
- /* @__PURE__ */ t.jsx("img", { src: rt, alt: "", className: G.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
1892
- i("ctaKundliCreated")
1888
+ }, qr = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", Gr = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Vr = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", zr = ({ t: o }) => {
1889
+ const p = ye()?.config.imageComponent ?? Ae;
1890
+ return /* @__PURE__ */ t.jsxs("div", { className: fe.marqueeContent, children: [
1891
+ /* @__PURE__ */ t.jsxs("span", { className: fe.badge, children: [
1892
+ /* @__PURE__ */ t.jsx(p, { src: qr, alt: "", className: fe.badgeIcon, width: 16, height: 16, loading: "lazy" }),
1893
+ o("ctaKundliCreated")
1893
1894
  ] }),
1894
- /* @__PURE__ */ t.jsxs("span", { className: G.badge, children: [
1895
- /* @__PURE__ */ t.jsx("img", { src: at, alt: "", className: G.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
1896
- i("ctaCertified")
1895
+ /* @__PURE__ */ t.jsxs("span", { className: fe.badge, children: [
1896
+ /* @__PURE__ */ t.jsx(p, { src: Gr, alt: "", className: fe.badgeIcon, width: 16, height: 16, loading: "lazy" }),
1897
+ o("ctaCertified")
1897
1898
  ] }),
1898
- /* @__PURE__ */ t.jsxs("span", { className: G.badge, children: [
1899
- /* @__PURE__ */ t.jsx("img", { src: nt, alt: "", className: G.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
1900
- i("ctaSecurePayment")
1899
+ /* @__PURE__ */ t.jsxs("span", { className: fe.badge, children: [
1900
+ /* @__PURE__ */ t.jsx(p, { src: Vr, alt: "", className: fe.badgeIcon, width: 16, height: 16, loading: "lazy" }),
1901
+ o("ctaSecurePayment")
1901
1902
  ] })
1902
- ] }),
1903
- /* @__PURE__ */ t.jsxs("div", { className: G.marqueeContent, "aria-hidden": !0, children: [
1904
- /* @__PURE__ */ t.jsxs("span", { className: G.badge, children: [
1905
- /* @__PURE__ */ t.jsx("img", { src: rt, alt: "", className: G.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
1906
- i("ctaKundliCreated")
1907
- ] }),
1908
- /* @__PURE__ */ t.jsxs("span", { className: G.badge, children: [
1909
- /* @__PURE__ */ t.jsx("img", { src: at, alt: "", className: G.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
1910
- i("ctaCertified")
1911
- ] }),
1912
- /* @__PURE__ */ t.jsxs("span", { className: G.badge, children: [
1913
- /* @__PURE__ */ t.jsx("img", { src: nt, alt: "", className: G.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
1914
- i("ctaSecurePayment")
1915
- ] })
1916
- ] })
1917
- ] }), zr = (i) => /.+@.+\..+/.test(i), Jr = (i) => /^\d{10}$/.test(i), Qr = ({
1918
- t: i,
1903
+ ] });
1904
+ }, Jr = (o) => /.+@.+\..+/.test(o), Qr = (o) => /^\d{10}$/.test(o), Xr = ({
1905
+ t: o,
1919
1906
  values: s,
1920
- onProceed: P,
1921
- href: b,
1922
- analytics: p,
1923
- className: k = "",
1924
- discountedPriceLabel: y
1907
+ onProceed: p,
1908
+ href: v,
1909
+ analytics: g,
1910
+ className: y = "",
1911
+ discountedPriceLabel: w
1925
1912
  }) => {
1926
- const u = Te()?.config.isGlobal ?? !0, N = Ne(() => {
1913
+ const d = ye()?.config.isGlobal ?? !0, N = Ie(() => {
1927
1914
  if (!s.fullName.trim()) return !1;
1928
- if (u) {
1929
- if (!zr(s.email.trim())) return !1;
1930
- } else if (!Jr((s.phone ?? "").trim())) return !1;
1915
+ if (d) {
1916
+ if (!Jr(s.email.trim())) return !1;
1917
+ } else if (!Qr((s.phone ?? "").trim())) return !1;
1931
1918
  return !(!s.dateOfBirth || !s.birthPlace.trim() || !s.birthTimeUnknown && !s.birthTime);
1932
- }, [u, s]), x = u ? y ?? i("formDiscountedPrice") : "₹499", v = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1933
- i("formProceed"),
1919
+ }, [d, s]), x = d ? w ?? o("formDiscountedPrice") : "₹499", _ = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1920
+ o("formProceed"),
1934
1921
  x
1935
- ] }), d = /* @__PURE__ */ t.jsx(
1936
- Ot,
1922
+ ] }), u = /* @__PURE__ */ t.jsx(
1923
+ Nt,
1937
1924
  {
1938
- href: b,
1925
+ href: v,
1939
1926
  disabled: !N,
1940
1927
  onClick: () => {
1941
- p?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), P?.(s);
1928
+ g?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), p?.(s);
1942
1929
  },
1943
- "aria-label": i("formPriceAria"),
1944
- children: v
1930
+ "aria-label": o("formPriceAria"),
1931
+ children: _
1945
1932
  }
1946
1933
  );
1947
- return /* @__PURE__ */ t.jsx(Lt, { className: k, marquee: /* @__PURE__ */ t.jsx(Vr, { t: i }), children: d });
1948
- }, Xr = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Zr = ({
1949
- t: i,
1934
+ return /* @__PURE__ */ t.jsx(It, { className: y, marquee: /* @__PURE__ */ t.jsx(Dt, { children: /* @__PURE__ */ t.jsx(zr, { t: o }) }), children: u });
1935
+ }, Zr = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", ea = ({
1936
+ t: o,
1950
1937
  languageSelector: s,
1951
- logoUrl: P = Xr,
1952
- className: b = ""
1938
+ logoUrl: p = Zr,
1939
+ className: v = ""
1953
1940
  }) => {
1954
- const p = Te(), k = p?.config.isGlobal ?? !0, y = s != null && !k;
1941
+ const g = ye(), y = g?.config.isGlobal ?? !0, w = s != null && !y;
1955
1942
  return /* @__PURE__ */ t.jsx(
1956
- Bt,
1943
+ Ot,
1957
1944
  {
1958
- t: i,
1959
- logoUrl: P,
1960
- imageComponent: p?.config.imageComponent,
1945
+ t: o,
1946
+ logoUrl: p,
1947
+ imageComponent: g?.config.imageComponent,
1961
1948
  languageSelector: s,
1962
- showLanguageSelector: y,
1963
- className: b
1949
+ showLanguageSelector: w,
1950
+ className: v
1964
1951
  }
1965
1952
  );
1966
- }, ea = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", ta = (i, s) => st[i]?.[s] ?? s, ra = {
1953
+ }, ta = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", ra = (o, s) => nt[o]?.[s] ?? s, aa = {
1967
1954
  fullName: "",
1968
1955
  phone: "",
1969
1956
  email: "",
@@ -1972,53 +1959,53 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1972
1959
  birthTimeUnknown: !1,
1973
1960
  birthPlace: ""
1974
1961
  }, da = ({
1975
- className: i = "",
1962
+ className: o = "",
1976
1963
  locale: s,
1977
- showLanguageSelector: P = !0,
1978
- onBack: b,
1979
- initialValues: p,
1980
- onProceed: k,
1981
- proceedHref: y,
1964
+ showLanguageSelector: p = !0,
1965
+ onBack: v,
1966
+ initialValues: g,
1967
+ onProceed: y,
1968
+ proceedHref: w,
1982
1969
  originalPriceLabel: h,
1983
- discountedPriceLabel: u,
1970
+ discountedPriceLabel: d,
1984
1971
  discountPillLabel: N,
1985
1972
  googleMapsApiKey: x = "",
1986
- analytics: v
1973
+ analytics: _
1987
1974
  }) => {
1988
- const d = Te(), $ = Wt(), T = d !== null, A = T ? d.locale : s, z = A ?? $?.locale ?? "en", [L, j] = V(z), K = T ? d.locale : L, W = T ? d.setLocale : j, [B, E] = V(!1), H = Z(null), J = Z(A), I = Z(
1975
+ const u = ye(), $ = $t(), T = u !== null, A = T ? u.locale : s, V = A ?? $?.locale ?? "en", [L, j] = G(V), W = T ? u.locale : L, K = T ? u.setLocale : j, [B, E] = G(!1), H = X(null), z = X(A), I = X(
1989
1976
  $?.locale
1990
1977
  );
1991
- re(() => {
1978
+ te(() => {
1992
1979
  window.scrollTo({ top: 0, left: 0, behavior: "auto" });
1993
1980
  }, []);
1994
- const S = (C) => ta(K, C);
1995
- re(() => {
1996
- A && J.current !== A && W(A), J.current = A;
1997
- }, [A, W]), re(() => {
1981
+ const S = (C) => ra(W, C);
1982
+ te(() => {
1983
+ A && z.current !== A && K(A), z.current = A;
1984
+ }, [A, K]), te(() => {
1998
1985
  if (A) return;
1999
1986
  const C = $?.locale;
2000
- C && I.current !== C && W(C), I.current = C;
2001
- }, [$?.locale, A, W]);
2002
- const [Y, M] = V({
2003
- ...ra,
2004
- ...p,
2005
- phone: p?.phone ?? ""
2006
- }), _ = T ? d.formValues : Y, F = T ? d.setFormValues : M, D = T ? d.goToPage : b, Q = T ? d.onProceed : k, ie = T ? d.config.proceedHref : y, se = T ? d.config.originalPriceLabel : h, ae = T ? d.config.discountedPriceLabel : u, de = T ? d.config.showLanguageSelector ?? !0 : P, oe = (T ? d?.config?.analytics : v) ?? v;
2007
- re(() => {
1987
+ C && I.current !== C && K(C), I.current = C;
1988
+ }, [$?.locale, A, K]);
1989
+ const [Y, M] = G({
1990
+ ...aa,
1991
+ ...g,
1992
+ phone: g?.phone ?? ""
1993
+ }), k = T ? u.formValues : Y, F = T ? u.setFormValues : M, D = T ? u.goToPage : v, J = T ? u.onProceed : y, ne = T ? u.config.proceedHref : w, ie = T ? u.config.originalPriceLabel : h, re = T ? u.config.discountedPriceLabel : d, ce = T ? u.config.showLanguageSelector ?? !0 : p, oe = (T ? u?.config?.analytics : _) ?? _;
1994
+ te(() => {
2008
1995
  if (!B) return;
2009
1996
  const C = (me) => {
2010
1997
  H.current && !H.current.contains(me.target) && E(!1);
2011
1998
  };
2012
1999
  return document.addEventListener("mousedown", C), () => document.removeEventListener("mousedown", C);
2013
2000
  }, [B]);
2014
- const ue = d?.config.imageComponent ?? Oe, le = de ? /* @__PURE__ */ t.jsxs("div", { className: ne.langDropdownWrap, ref: H, children: [
2001
+ const ue = u?.config.imageComponent ?? Ae, se = ce ? /* @__PURE__ */ t.jsxs("div", { className: ae.langDropdownWrap, ref: H, children: [
2015
2002
  /* @__PURE__ */ t.jsxs(
2016
2003
  "button",
2017
2004
  {
2018
2005
  type: "button",
2019
- className: ne.langTrigger,
2006
+ className: ae.langTrigger,
2020
2007
  onClick: () => {
2021
- oe?.trackLanguageClickedFe?.({ language: K }), E((C) => !C);
2008
+ oe?.trackLanguageClickedFe?.({ language: W }), E((C) => !C);
2022
2009
  },
2023
2010
  "aria-expanded": B,
2024
2011
  "aria-haspopup": "listbox",
@@ -2028,34 +2015,34 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
2028
2015
  /* @__PURE__ */ t.jsx(
2029
2016
  ue,
2030
2017
  {
2031
- src: ea,
2018
+ src: ta,
2032
2019
  alt: "",
2033
- className: ne.langIcon,
2020
+ className: ae.langIcon,
2034
2021
  width: 16,
2035
2022
  height: 16,
2036
2023
  loading: "eager"
2037
2024
  }
2038
2025
  ),
2039
- /* @__PURE__ */ t.jsx("span", { className: ne.langLabel, children: tt[K] })
2026
+ /* @__PURE__ */ t.jsx("span", { className: ae.langLabel, children: tt[W] })
2040
2027
  ]
2041
2028
  }
2042
2029
  ),
2043
2030
  B && /* @__PURE__ */ t.jsx(
2044
2031
  "ul",
2045
2032
  {
2046
- className: ne.langMenu,
2033
+ className: ae.langMenu,
2047
2034
  role: "listbox",
2048
2035
  "aria-labelledby": "kundli-form-lang",
2049
- "aria-activedescendant": `kundli-form-lang-option-${K}`,
2050
- children: ot.map((C) => /* @__PURE__ */ t.jsx(
2036
+ "aria-activedescendant": `kundli-form-lang-option-${W}`,
2037
+ children: at.map((C) => /* @__PURE__ */ t.jsx(
2051
2038
  "li",
2052
2039
  {
2053
2040
  id: `kundli-form-lang-option-${C}`,
2054
2041
  role: "option",
2055
- "aria-selected": C === K,
2056
- className: ne.langOption,
2042
+ "aria-selected": C === W,
2043
+ className: ae.langOption,
2057
2044
  onClick: () => {
2058
- oe?.trackLanguageChangedFe?.({ newLanguage: C }), W(C), E(!1);
2045
+ oe?.trackLanguageChangedFe?.({ newLanguage: C }), K(C), E(!1);
2059
2046
  },
2060
2047
  children: tt[C]
2061
2048
  },
@@ -2064,43 +2051,43 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
2064
2051
  }
2065
2052
  )
2066
2053
  ] }) : null;
2067
- return /* @__PURE__ */ t.jsxs("div", { className: `${ne.container} ${i}`, children: [
2054
+ return /* @__PURE__ */ t.jsxs("div", { className: `${ae.container} ${o}`, children: [
2068
2055
  /* @__PURE__ */ t.jsx(
2069
- Zr,
2056
+ ea,
2070
2057
  {
2071
2058
  t: S,
2072
- logoUrl: T ? d.config.logoUrl : void 0,
2073
- languageSelector: le,
2074
- className: ne.kundliHeaderNoBorder
2059
+ logoUrl: T ? u.config.logoUrl : void 0,
2060
+ languageSelector: se,
2061
+ className: ae.kundliHeaderNoBorder
2075
2062
  }
2076
2063
  ),
2077
- /* @__PURE__ */ t.jsx("div", { className: ne.headerSeparator, "aria-hidden": !0 }),
2078
- /* @__PURE__ */ t.jsxs("main", { className: ne.main, children: [
2079
- /* @__PURE__ */ t.jsx(sr, { t: S, onBack: D }),
2064
+ /* @__PURE__ */ t.jsx("div", { className: ae.headerSeparator, "aria-hidden": !0 }),
2065
+ /* @__PURE__ */ t.jsxs("main", { className: ae.main, children: [
2066
+ /* @__PURE__ */ t.jsx(or, { t: S, onBack: D }),
2080
2067
  /* @__PURE__ */ t.jsx(
2081
- Gr,
2068
+ Hr,
2082
2069
  {
2083
2070
  t: S,
2084
- values: _,
2071
+ values: k,
2085
2072
  onChange: F,
2086
2073
  googleMapsApiKey: x
2087
2074
  }
2088
2075
  )
2089
2076
  ] }),
2090
2077
  /* @__PURE__ */ t.jsx(
2091
- Qr,
2078
+ Xr,
2092
2079
  {
2093
2080
  t: S,
2094
- values: _,
2095
- onProceed: Q,
2096
- href: ie,
2097
- originalPriceLabel: se,
2098
- discountedPriceLabel: ae,
2081
+ values: k,
2082
+ onProceed: J,
2083
+ href: ne,
2084
+ originalPriceLabel: ie,
2085
+ discountedPriceLabel: re,
2099
2086
  analytics: oe
2100
2087
  }
2101
2088
  )
2102
2089
  ] });
2103
- }, ua = {
2090
+ }, fa = {
2104
2091
  banner_clicked_fe: "banner_clicked_fe",
2105
2092
  primary_cta_clicked_fe: "primary_cta_clicked_fe",
2106
2093
  language_changed_fe: "language_changed_fe",
@@ -2132,26 +2119,26 @@ const Yr = (i, s) => typeof window > "u" || window.google?.maps?.places ? Promis
2132
2119
  kundli_form_view: "kundli_form_view"
2133
2120
  };
2134
2121
  export {
2135
- Oe as D,
2122
+ Ae as D,
2136
2123
  ia as I,
2137
- ua as K,
2124
+ fa as K,
2138
2125
  tt as L,
2139
- ot as S,
2140
- ct as a,
2126
+ at as S,
2127
+ it as a,
2141
2128
  Le as b,
2142
2129
  da as c,
2143
- la as d,
2144
- rr as e,
2145
- ar as f,
2146
- er as g,
2147
- Te as h,
2148
- sa as i,
2149
- ca as j,
2130
+ ca as d,
2131
+ er as e,
2132
+ tr as f,
2133
+ Xt as g,
2134
+ ye as h,
2135
+ la as i,
2136
+ ua as j,
2150
2137
  t as k,
2151
- Zr as l,
2152
- oa as r,
2153
- tr as s,
2154
- st as t,
2155
- Wt as u
2138
+ ea as l,
2139
+ sa as r,
2140
+ Zt as s,
2141
+ nt as t,
2142
+ $t as u
2156
2143
  };
2157
- //# sourceMappingURL=analytics-CACsBjro.js.map
2144
+ //# sourceMappingURL=analytics-Du6zZXW9.js.map