@srimandir/kundli-generator 5.25.0 → 5.26.3

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