@srimandir/kundli-generator 7.5.8 → 7.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import er, { useContext as rr, createContext as br, useState as K, useRef as B, useEffect as V, useMemo as Xe, useCallback as ye } from "react";
1
+ import er, { useContext as rr, createContext as br, useState as U, useRef as B, useEffect as V, useMemo as Xe, useCallback as ke } from "react";
2
2
  import { FormSectionHeader as Ur, FooterCTAButton as Gr, FooterShell as Kr, CircularMarquee as Wr, footerShellStyles as Ne, PageHeader as Hr } from "@srimandir/astrology-common";
3
3
  var We = { exports: {} }, Ue = {};
4
4
  var ur;
@@ -46,7 +46,7 @@ function qr() {
46
46
  }
47
47
  var z = !1, H = !1, D = !1, $ = !1, C = !1, S;
48
48
  S = /* @__PURE__ */ Symbol.for("react.module.reference");
49
- function te(e) {
49
+ function re(e) {
50
50
  return !!(typeof e == "string" || typeof e == "function" || e === d || e === x || C || e === y || e === F || e === P || $ || e === I || z || H || D || typeof e == "object" && e !== null && (e.$$typeof === u || e.$$typeof === E || e.$$typeof === g || e.$$typeof === T || e.$$typeof === k || // 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
@@ -108,18 +108,18 @@ function qr() {
108
108
  }
109
109
  return null;
110
110
  }
111
- var U = Object.assign, Y = 0, G, Ce, Z, ne, Q, ae, xe;
112
- function ve() {
111
+ var K = Object.assign, Y = 0, G, Pe, Z, Q, ae, te, Ae;
112
+ function _e() {
113
113
  }
114
- ve.__reactDisabledLog = !0;
115
- function Ae() {
114
+ _e.__reactDisabledLog = !0;
115
+ function le() {
116
116
  {
117
117
  if (Y === 0) {
118
- G = console.log, Ce = console.info, Z = console.warn, ne = console.error, Q = console.group, ae = console.groupCollapsed, xe = console.groupEnd;
118
+ G = console.log, Pe = console.info, Z = console.warn, Q = console.error, ae = console.group, te = console.groupCollapsed, Ae = console.groupEnd;
119
119
  var e = {
120
120
  configurable: !0,
121
121
  enumerable: !0,
122
- value: ve,
122
+ value: _e,
123
123
  writable: !0
124
124
  };
125
125
  Object.defineProperties(console, {
@@ -135,7 +135,7 @@ function qr() {
135
135
  Y++;
136
136
  }
137
137
  }
138
- function ee() {
138
+ function ue() {
139
139
  {
140
140
  if (Y--, Y === 0) {
141
141
  var e = {
@@ -144,65 +144,65 @@ function qr() {
144
144
  writable: !0
145
145
  };
146
146
  Object.defineProperties(console, {
147
- log: U({}, e, {
147
+ log: K({}, e, {
148
148
  value: G
149
149
  }),
150
- info: U({}, e, {
151
- value: Ce
150
+ info: K({}, e, {
151
+ value: Pe
152
152
  }),
153
- warn: U({}, e, {
153
+ warn: K({}, e, {
154
154
  value: Z
155
155
  }),
156
- error: U({}, e, {
157
- value: ne
158
- }),
159
- group: U({}, e, {
156
+ error: K({}, e, {
160
157
  value: Q
161
158
  }),
162
- groupCollapsed: U({}, e, {
159
+ group: K({}, e, {
163
160
  value: ae
164
161
  }),
165
- groupEnd: U({}, e, {
166
- value: xe
162
+ groupCollapsed: K({}, e, {
163
+ value: te
164
+ }),
165
+ groupEnd: K({}, e, {
166
+ value: Ae
167
167
  })
168
168
  });
169
169
  }
170
170
  Y < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
171
171
  }
172
172
  }
173
- var re = f.ReactCurrentDispatcher, de;
174
- function me(e, i, l) {
173
+ var ee = f.ReactCurrentDispatcher, me;
174
+ function ce(e, i, l) {
175
175
  {
176
- if (de === void 0)
176
+ if (me === void 0)
177
177
  try {
178
178
  throw Error();
179
179
  } catch (N) {
180
180
  var p = N.stack.trim().match(/\n( *(at )?)/);
181
- de = p && p[1] || "";
181
+ me = p && p[1] || "";
182
182
  }
183
183
  return `
184
- ` + de + e;
184
+ ` + me + e;
185
185
  }
186
186
  }
187
- var oe = !1, fe;
187
+ var fe = !1, pe;
188
188
  {
189
- var ge = typeof WeakMap == "function" ? WeakMap : Map;
190
- fe = new ge();
189
+ var be = typeof WeakMap == "function" ? WeakMap : Map;
190
+ pe = new be();
191
191
  }
192
192
  function je(e, i) {
193
- if (!e || oe)
193
+ if (!e || fe)
194
194
  return "";
195
195
  {
196
- var l = fe.get(e);
196
+ var l = pe.get(e);
197
197
  if (l !== void 0)
198
198
  return l;
199
199
  }
200
200
  var p;
201
- oe = !0;
201
+ fe = !0;
202
202
  var N = Error.prepareStackTrace;
203
203
  Error.prepareStackTrace = void 0;
204
204
  var L;
205
- L = re.current, re.current = null, Ae();
205
+ L = ee.current, ee.current = null, le();
206
206
  try {
207
207
  if (i) {
208
208
  var A = function() {
@@ -215,111 +215,111 @@ function qr() {
215
215
  }), typeof Reflect == "object" && Reflect.construct) {
216
216
  try {
217
217
  Reflect.construct(A, []);
218
- } catch (ce) {
219
- p = ce;
218
+ } catch (se) {
219
+ p = se;
220
220
  }
221
221
  Reflect.construct(e, [], A);
222
222
  } else {
223
223
  try {
224
224
  A.call();
225
- } catch (ce) {
226
- p = ce;
225
+ } catch (se) {
226
+ p = se;
227
227
  }
228
228
  e.call(A.prototype);
229
229
  }
230
230
  } else {
231
231
  try {
232
232
  throw Error();
233
- } catch (ce) {
234
- p = ce;
233
+ } catch (se) {
234
+ p = se;
235
235
  }
236
236
  e();
237
237
  }
238
- } catch (ce) {
239
- if (ce && p && typeof ce.stack == "string") {
240
- for (var w = ce.stack.split(`
241
- `), le = p.stack.split(`
242
- `), W = w.length - 1, q = le.length - 1; W >= 1 && q >= 0 && w[W] !== le[q]; )
238
+ } catch (se) {
239
+ if (se && p && typeof se.stack == "string") {
240
+ for (var w = se.stack.split(`
241
+ `), ie = p.stack.split(`
242
+ `), W = w.length - 1, q = ie.length - 1; W >= 1 && q >= 0 && w[W] !== ie[q]; )
243
243
  q--;
244
244
  for (; W >= 1 && q >= 0; W--, q--)
245
- if (w[W] !== le[q]) {
245
+ if (w[W] !== ie[q]) {
246
246
  if (W !== 1 || q !== 1)
247
247
  do
248
- if (W--, q--, q < 0 || w[W] !== le[q]) {
249
- var he = `
248
+ if (W--, q--, q < 0 || w[W] !== ie[q]) {
249
+ var ge = `
250
250
  ` + w[W].replace(" at new ", " at ");
251
- return e.displayName && he.includes("<anonymous>") && (he = he.replace("<anonymous>", e.displayName)), typeof e == "function" && fe.set(e, he), he;
251
+ return e.displayName && ge.includes("<anonymous>") && (ge = ge.replace("<anonymous>", e.displayName)), typeof e == "function" && pe.set(e, ge), ge;
252
252
  }
253
253
  while (W >= 1 && q >= 0);
254
254
  break;
255
255
  }
256
256
  }
257
257
  } finally {
258
- oe = !1, re.current = L, ee(), Error.prepareStackTrace = N;
258
+ fe = !1, ee.current = L, ue(), Error.prepareStackTrace = N;
259
259
  }
260
- var Le = e ? e.displayName || e.name : "", Te = Le ? me(Le) : "";
261
- return typeof e == "function" && fe.set(e, Te), Te;
260
+ var Le = e ? e.displayName || e.name : "", Te = Le ? ce(Le) : "";
261
+ return typeof e == "function" && pe.set(e, Te), Te;
262
262
  }
263
- function ie(e, i, l) {
263
+ function ne(e, i, l) {
264
264
  return je(e, !1);
265
265
  }
266
- function se(e) {
266
+ function oe(e) {
267
267
  var i = e.prototype;
268
268
  return !!(i && i.isReactComponent);
269
269
  }
270
- function Pe(e, i, l) {
270
+ function Ce(e, i, l) {
271
271
  if (e == null)
272
272
  return "";
273
273
  if (typeof e == "function")
274
- return je(e, se(e));
274
+ return je(e, oe(e));
275
275
  if (typeof e == "string")
276
- return me(e);
276
+ return ce(e);
277
277
  switch (e) {
278
278
  case F:
279
- return me("Suspense");
279
+ return ce("Suspense");
280
280
  case P:
281
- return me("SuspenseList");
281
+ return ce("SuspenseList");
282
282
  }
283
283
  if (typeof e == "object")
284
284
  switch (e.$$typeof) {
285
285
  case k:
286
- return ie(e.render);
286
+ return ne(e.render);
287
287
  case E:
288
- return Pe(e.type, i, l);
288
+ return Ce(e.type, i, l);
289
289
  case u: {
290
290
  var p = e, N = p._payload, L = p._init;
291
291
  try {
292
- return Pe(L(N), i, l);
292
+ return Ce(L(N), i, l);
293
293
  } catch {
294
294
  }
295
295
  }
296
296
  }
297
297
  return "";
298
298
  }
299
- var _e = Object.prototype.hasOwnProperty, ue = {}, be = f.ReactDebugCurrentFrame;
300
- function ke(e) {
299
+ var ye = Object.prototype.hasOwnProperty, de = {}, ve = f.ReactDebugCurrentFrame;
300
+ function we(e) {
301
301
  if (e) {
302
- var i = e._owner, l = Pe(e.type, e._source, i ? i.type : null);
303
- be.setExtraStackFrame(l);
302
+ var i = e._owner, l = Ce(e.type, e._source, i ? i.type : null);
303
+ ve.setExtraStackFrame(l);
304
304
  } else
305
- be.setExtraStackFrame(null);
305
+ ve.setExtraStackFrame(null);
306
306
  }
307
307
  function Se(e, i, l, p, N) {
308
308
  {
309
- var L = Function.call.bind(_e);
309
+ var L = Function.call.bind(ye);
310
310
  for (var A in e)
311
311
  if (L(e, A)) {
312
312
  var w = void 0;
313
313
  try {
314
314
  if (typeof e[A] != "function") {
315
- var le = Error((p || "React class") + ": " + l + " type `" + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[A] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
- throw le.name = "Invariant Violation", le;
315
+ var ie = Error((p || "React class") + ": " + l + " type `" + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[A] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
+ throw ie.name = "Invariant Violation", ie;
317
317
  }
318
318
  w = e[A](i, A, p, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
319
319
  } catch (W) {
320
320
  w = W;
321
321
  }
322
- w && !(w instanceof Error) && (ke(N), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", l, A, typeof w), ke(null)), w instanceof Error && !(w.message in ue) && (ue[w.message] = !0, ke(N), v("Failed %s type: %s", l, w.message), ke(null));
322
+ w && !(w instanceof Error) && (we(N), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", l, A, typeof w), we(null)), w instanceof Error && !(w.message in de) && (de[w.message] = !0, we(N), v("Failed %s type: %s", l, w.message), we(null));
323
323
  }
324
324
  }
325
325
  }
@@ -352,9 +352,9 @@ function qr() {
352
352
  ref: !0,
353
353
  __self: !0,
354
354
  __source: !0
355
- }, R, pe;
355
+ }, R, he;
356
356
  function $e(e) {
357
- if (_e.call(e, "ref")) {
357
+ if (ye.call(e, "ref")) {
358
358
  var i = Object.getOwnPropertyDescriptor(e, "ref").get;
359
359
  if (i && i.isReactWarning)
360
360
  return !1;
@@ -362,7 +362,7 @@ function qr() {
362
362
  return e.ref !== void 0;
363
363
  }
364
364
  function qe(e) {
365
- if (_e.call(e, "key")) {
365
+ if (ye.call(e, "key")) {
366
366
  var i = Object.getOwnPropertyDescriptor(e, "key").get;
367
367
  if (i && i.isReactWarning)
368
368
  return !1;
@@ -386,7 +386,7 @@ function qr() {
386
386
  function Tr(e, i) {
387
387
  {
388
388
  var l = function() {
389
- pe || (pe = !0, v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
389
+ he || (he = !0, v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
390
390
  };
391
391
  l.isReactWarning = !0, Object.defineProperty(e, "ref", {
392
392
  get: l,
@@ -425,26 +425,26 @@ function qr() {
425
425
  };
426
426
  function Sr(e, i, l, p, N) {
427
427
  {
428
- var L, A = {}, w = null, le = null;
429
- l !== void 0 && (Me(l), w = "" + l), qe(i) && (Me(i.key), w = "" + i.key), $e(i) && (le = i.ref, Ar(i, N));
428
+ var L, A = {}, w = null, ie = null;
429
+ l !== void 0 && (Me(l), w = "" + l), qe(i) && (Me(i.key), w = "" + i.key), $e(i) && (ie = i.ref, Ar(i, N));
430
430
  for (L in i)
431
- _e.call(i, L) && !s.hasOwnProperty(L) && (A[L] = i[L]);
431
+ ye.call(i, L) && !s.hasOwnProperty(L) && (A[L] = i[L]);
432
432
  if (e && e.defaultProps) {
433
433
  var W = e.defaultProps;
434
434
  for (L in W)
435
435
  A[L] === void 0 && (A[L] = W[L]);
436
436
  }
437
- if (w || le) {
437
+ if (w || ie) {
438
438
  var q = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
439
- w && jr(A, q), le && Tr(A, q);
439
+ w && jr(A, q), ie && Tr(A, q);
440
440
  }
441
- return Nr(e, w, le, N, p, a.current, A);
441
+ return Nr(e, w, ie, N, p, a.current, A);
442
442
  }
443
443
  }
444
444
  var Ve = f.ReactCurrentOwner, nr = f.ReactDebugCurrentFrame;
445
445
  function Ie(e) {
446
446
  if (e) {
447
- var i = e._owner, l = Pe(e.type, e._source, i ? i.type : null);
447
+ var i = e._owner, l = Ce(e.type, e._source, i ? i.type : null);
448
448
  nr.setExtraStackFrame(l);
449
449
  } else
450
450
  nr.setExtraStackFrame(null);
@@ -554,12 +554,12 @@ Check the top-level render call using <` + l + ">.");
554
554
  var cr = {};
555
555
  function dr(e, i, l, p, N, L) {
556
556
  {
557
- var A = te(e);
557
+ var A = re(e);
558
558
  if (!A) {
559
559
  var w = "";
560
560
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
561
- var le = Rr();
562
- le ? w += le : w += or();
561
+ var ie = Rr();
562
+ ie ? w += ie : w += or();
563
563
  var W;
564
564
  e === null ? W = "null" : _(e) ? W = "array" : e !== void 0 && e.$$typeof === o ? (W = "<" + (j(e.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : W = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", W, w);
565
565
  }
@@ -567,24 +567,24 @@ Check the top-level render call using <` + l + ">.");
567
567
  if (q == null)
568
568
  return q;
569
569
  if (A) {
570
- var he = i.children;
571
- if (he !== void 0)
570
+ var ge = i.children;
571
+ if (ge !== void 0)
572
572
  if (p)
573
- if (_(he)) {
574
- for (var Le = 0; Le < he.length; Le++)
575
- lr(he[Le], e);
576
- Object.freeze && Object.freeze(he);
573
+ if (_(ge)) {
574
+ for (var Le = 0; Le < ge.length; Le++)
575
+ lr(ge[Le], e);
576
+ Object.freeze && Object.freeze(ge);
577
577
  } else
578
578
  v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
579
579
  else
580
- lr(he, e);
580
+ lr(ge, e);
581
581
  }
582
- if (_e.call(i, "key")) {
583
- var Te = j(e), ce = Object.keys(i).filter(function($r) {
582
+ if (ye.call(i, "key")) {
583
+ var Te = j(e), se = Object.keys(i).filter(function($r) {
584
584
  return $r !== "key";
585
- }), Qe = ce.length > 0 ? "{key: someKey, " + ce.join(": ..., ") + ": ...}" : "{key: someKey}";
585
+ }), Qe = se.length > 0 ? "{key: someKey, " + se.join(": ..., ") + ": ...}" : "{key: someKey}";
586
586
  if (!cr[Te + Qe]) {
587
- var Mr = ce.length > 0 ? "{" + ce.join(": ..., ") + ": ...}" : "{}";
587
+ var Mr = se.length > 0 ? "{" + se.join(": ..., ") + ": ...}" : "{}";
588
588
  v(`A props object containing a "key" prop is being spread into JSX:
589
589
  let props = %s;
590
590
  <%s {...props} />
@@ -611,7 +611,7 @@ function Vr() {
611
611
  return fr || (fr = 1, process.env.NODE_ENV === "production" ? We.exports = Yr() : We.exports = qr()), We.exports;
612
612
  }
613
613
  var r = Vr();
614
- const zr = "_container_1e1th_1", Jr = "_main_1e1th_7", Qr = "_kundliHeaderNoBorder_1e1th_12", Xr = "_headerSeparator_1e1th_16", Zr = "_langDropdownWrap_1e1th_21", et = "_langTrigger_1e1th_25", rt = "_langIcon_1e1th_37", tt = "_langLabel_1e1th_44", at = "_langMenu_1e1th_49", nt = "_langOption_1e1th_55", we = {
614
+ const zr = "_container_1e1th_1", Jr = "_main_1e1th_7", Qr = "_kundliHeaderNoBorder_1e1th_12", Xr = "_headerSeparator_1e1th_16", Zr = "_langDropdownWrap_1e1th_21", et = "_langTrigger_1e1th_25", rt = "_langIcon_1e1th_37", tt = "_langLabel_1e1th_44", at = "_langMenu_1e1th_49", nt = "_langOption_1e1th_55", xe = {
615
615
  container: zr,
616
616
  main: Jr,
617
617
  kundliHeaderNoBorder: Qr,
@@ -1139,50 +1139,49 @@ const tr = br(null), dt = {
1139
1139
  variant: x,
1140
1140
  initialFormValues: g,
1141
1141
  autoOpenPlanSheet: T,
1142
- initialView: k = "landing",
1143
- googleMapsApiKey: F,
1144
- atlasSearchLocalities: P,
1145
- googleMapsAutocompleteEnabled: E,
1146
- logoUrl: u,
1147
- reportImageUrl: I,
1148
- reportImagePriority: h,
1149
- backgroundImagePriority: M,
1150
- universityLogoUrls: m,
1151
- sampleReportHref: f,
1152
- onViewSampleReport: v,
1153
- ctaHref: X,
1154
- onCtaClick: z,
1155
- onBack: H,
1156
- readMoreReviewsHref: D,
1157
- onProceed: $,
1158
- proceedHref: C,
1159
- originalPriceLabel: S,
1160
- discountedPriceLabel: te,
1161
- discountPillLabel: J,
1162
- analytics: O,
1163
- onProceedGuidance: j,
1164
- onLocaleChange: U,
1165
- imageComponent: Y = Ye,
1166
- resolvedUtmBannerImageUrl: G,
1167
- children: Ce
1142
+ googleMapsApiKey: k,
1143
+ atlasSearchLocalities: F,
1144
+ googleMapsAutocompleteEnabled: P,
1145
+ logoUrl: E,
1146
+ reportImageUrl: u,
1147
+ reportImagePriority: I,
1148
+ backgroundImagePriority: h,
1149
+ universityLogoUrls: M,
1150
+ sampleReportHref: m,
1151
+ onViewSampleReport: f,
1152
+ ctaHref: v,
1153
+ onCtaClick: X,
1154
+ onBack: z,
1155
+ readMoreReviewsHref: H,
1156
+ onProceed: D,
1157
+ proceedHref: $,
1158
+ originalPriceLabel: C,
1159
+ discountedPriceLabel: S,
1160
+ discountPillLabel: re,
1161
+ analytics: J,
1162
+ onProceedGuidance: O,
1163
+ onLocaleChange: j,
1164
+ imageComponent: K = Ye,
1165
+ resolvedUtmBannerImageUrl: Y,
1166
+ children: G
1168
1167
  }) => {
1169
- const [Z, ne] = K(k), [Q, ae] = K(t ?? "en"), [xe, ve] = K({
1168
+ const [Pe, Z] = U("landing"), [Q, ae] = U(t ?? "en"), [te, Ae] = U({
1170
1169
  ...dt,
1171
1170
  ...g
1172
- }), Ae = B(!0);
1171
+ }), _e = B(!0);
1173
1172
  V(() => {
1174
- const oe = lt();
1175
- oe && ae(oe);
1173
+ const ce = lt();
1174
+ ce && ae(ce);
1176
1175
  }, []), V(() => {
1177
1176
  ct(Q);
1178
1177
  }, [Q]), V(() => {
1179
- if (Ae.current) {
1180
- Ae.current = !1;
1178
+ if (_e.current) {
1179
+ _e.current = !1;
1181
1180
  return;
1182
1181
  }
1183
- U?.(Q);
1184
- }, [Q, U]);
1185
- const ee = Xe(
1182
+ j?.(Q);
1183
+ }, [Q, j]);
1184
+ const le = Xe(
1186
1185
  () => ({
1187
1186
  locale: t,
1188
1187
  showLanguageSelector: o,
@@ -1192,30 +1191,30 @@ const tr = br(null), dt = {
1192
1191
  variant: x,
1193
1192
  initialFormValues: g,
1194
1193
  autoOpenPlanSheet: T,
1195
- googleMapsApiKey: F,
1196
- atlasSearchLocalities: P,
1197
- googleMapsAutocompleteEnabled: E,
1198
- logoUrl: u,
1199
- reportImageUrl: I,
1200
- reportImagePriority: h,
1201
- backgroundImagePriority: M,
1202
- universityLogoUrls: m,
1203
- sampleReportHref: f,
1204
- onViewSampleReport: v,
1205
- ctaHref: X,
1206
- onCtaClick: z,
1207
- onBack: H,
1208
- readMoreReviewsHref: D,
1209
- onProceed: $,
1210
- proceedHref: C,
1211
- originalPriceLabel: S,
1212
- discountedPriceLabel: te,
1213
- discountPillLabel: J,
1214
- analytics: O,
1215
- onProceedGuidance: j,
1216
- onLocaleChange: U,
1217
- imageComponent: Y,
1218
- resolvedUtmBannerImageUrl: G
1194
+ googleMapsApiKey: k,
1195
+ atlasSearchLocalities: F,
1196
+ googleMapsAutocompleteEnabled: P,
1197
+ logoUrl: E,
1198
+ reportImageUrl: u,
1199
+ reportImagePriority: I,
1200
+ backgroundImagePriority: h,
1201
+ universityLogoUrls: M,
1202
+ sampleReportHref: m,
1203
+ onViewSampleReport: f,
1204
+ ctaHref: v,
1205
+ onCtaClick: X,
1206
+ onBack: z,
1207
+ readMoreReviewsHref: H,
1208
+ onProceed: D,
1209
+ proceedHref: $,
1210
+ originalPriceLabel: C,
1211
+ discountedPriceLabel: S,
1212
+ discountPillLabel: re,
1213
+ analytics: J,
1214
+ onProceedGuidance: O,
1215
+ onLocaleChange: j,
1216
+ imageComponent: K,
1217
+ resolvedUtmBannerImageUrl: Y
1219
1218
  }),
1220
1219
  [
1221
1220
  t,
@@ -1226,6 +1225,7 @@ const tr = br(null), dt = {
1226
1225
  x,
1227
1226
  g,
1228
1227
  T,
1228
+ k,
1229
1229
  F,
1230
1230
  P,
1231
1231
  E,
@@ -1243,34 +1243,33 @@ const tr = br(null), dt = {
1243
1243
  $,
1244
1244
  C,
1245
1245
  S,
1246
- te,
1246
+ re,
1247
1247
  J,
1248
1248
  O,
1249
1249
  j,
1250
- U,
1251
- Y,
1252
- G
1250
+ K,
1251
+ Y
1253
1252
  ]
1254
- ), re = ye(() => {
1255
- ne("form");
1256
- }, [ee.analytics]), de = ye(() => {
1257
- ne("landing"), ee.onBack?.();
1258
- }, [ee.onBack]), me = Xe(
1253
+ ), ue = ke(() => {
1254
+ Z("form");
1255
+ }, [le.analytics]), ee = ke(() => {
1256
+ Z("landing"), le.onBack?.();
1257
+ }, [le.onBack]), me = Xe(
1259
1258
  () => ({
1260
- view: Z,
1259
+ view: Pe,
1261
1260
  locale: Q,
1262
1261
  setLocale: ae,
1263
- config: ee,
1264
- formValues: xe,
1265
- setFormValues: ve,
1266
- goToForm: re,
1267
- goToPage: de,
1268
- onProceed: ee.onProceed,
1269
- onProceedGuidance: ee.onProceedGuidance
1262
+ config: le,
1263
+ formValues: te,
1264
+ setFormValues: Ae,
1265
+ goToForm: ue,
1266
+ goToPage: ee,
1267
+ onProceed: le.onProceed,
1268
+ onProceedGuidance: le.onProceedGuidance
1270
1269
  }),
1271
- [Z, Q, ee, xe, re, de]
1270
+ [Pe, Q, le, te, ue, ee]
1272
1271
  );
1273
- return /* @__PURE__ */ r.jsx(tr.Provider, { value: me, children: Ce });
1272
+ return /* @__PURE__ */ r.jsx(tr.Provider, { value: me, children: G });
1274
1273
  };
1275
1274
  function De() {
1276
1275
  return rr(tr);
@@ -1384,7 +1383,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1384
1383
  k();
1385
1384
  }, x.onerror = () => d(new Error("Failed to load Google Maps API")), document.head.appendChild(x);
1386
1385
  }), He), fa = (t) => {
1387
- const { apiKey: o, language: c = "en", restrictCountry: d, deferLoad: y = !1 } = t, [x, g] = K(!1), [T, k] = K([]), [F, P] = K(!1), [E, u] = K(null), [I, h] = K(!y), M = B(null), m = B(null), f = B(null), v = ye(() => {
1386
+ const { apiKey: o, language: c = "en", restrictCountry: d, deferLoad: y = !1 } = t, [x, g] = U(!1), [T, k] = U([]), [F, P] = U(!1), [E, u] = U(null), [I, h] = U(!y), M = B(null), m = B(null), f = B(null), v = ke(() => {
1388
1387
  y && h(!0);
1389
1388
  }, [y]);
1390
1389
  V(() => {
@@ -1400,7 +1399,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1400
1399
  g(!1), u(D?.message || "Failed to load location service");
1401
1400
  });
1402
1401
  }, [o, c, I]);
1403
- const X = ye(
1402
+ const X = ke(
1404
1403
  async (D) => {
1405
1404
  if (!D || D.length < 2 || !M.current) {
1406
1405
  k([]);
@@ -1414,11 +1413,11 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1414
1413
  sessionToken: f.current ?? void 0
1415
1414
  };
1416
1415
  d && ($.componentRestrictions = { country: d });
1417
- const C = await new Promise((S, te) => {
1416
+ const C = await new Promise((S, re) => {
1418
1417
  M.current.getPlacePredictions(
1419
1418
  $,
1420
1419
  (J, O) => {
1421
- O === google.maps.places.PlacesServiceStatus.OK && J ? S(J) : O === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? S([]) : te(new Error(`Places API error: ${O}`));
1420
+ O === google.maps.places.PlacesServiceStatus.OK && J ? S(J) : O === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? S([]) : re(new Error(`Places API error: ${O}`));
1422
1421
  }
1423
1422
  );
1424
1423
  });
@@ -1439,12 +1438,12 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1439
1438
  }
1440
1439
  },
1441
1440
  [d]
1442
- ), z = ye(
1441
+ ), z = ke(
1443
1442
  async (D) => {
1444
1443
  if (!m.current) return null;
1445
1444
  try {
1446
1445
  const $ = await new Promise(
1447
- (j, U) => {
1446
+ (j, K) => {
1448
1447
  m.current.getDetails(
1449
1448
  {
1450
1449
  placeId: D,
@@ -1452,21 +1451,21 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1452
1451
  sessionToken: f.current ?? void 0
1453
1452
  },
1454
1453
  (Y, G) => {
1455
- G === google.maps.places.PlacesServiceStatus.OK && Y ? j(Y) : U(new Error(`Place details error: ${G}`));
1454
+ G === google.maps.places.PlacesServiceStatus.OK && Y ? j(Y) : K(new Error(`Place details error: ${G}`));
1456
1455
  }
1457
1456
  );
1458
1457
  }
1459
1458
  );
1460
1459
  f.current = new google.maps.places.AutocompleteSessionToken();
1461
1460
  const C = $.geometry?.location?.lat() || 0, S = $.geometry?.location?.lng() || 0;
1462
- let te = "", J = "", O = "";
1461
+ let re = "", J = "", O = "";
1463
1462
  return $.address_components?.forEach((j) => {
1464
- j.types.includes("locality") && (te = j.long_name), j.types.includes("administrative_area_level_1") && (J = j.long_name), j.types.includes("country") && (O = j.long_name);
1463
+ j.types.includes("locality") && (re = j.long_name), j.types.includes("administrative_area_level_1") && (J = j.long_name), j.types.includes("country") && (O = j.long_name);
1465
1464
  }), {
1466
1465
  display_name: $.formatted_address || "",
1467
1466
  lat: C,
1468
1467
  lng: S,
1469
- city: te,
1468
+ city: re,
1470
1469
  state: J,
1471
1470
  country: O
1472
1471
  };
@@ -1475,7 +1474,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1475
1474
  }
1476
1475
  },
1477
1476
  []
1478
- ), H = ye(() => k([]), []);
1477
+ ), H = ke(() => k([]), []);
1479
1478
  return {
1480
1479
  isLoaded: x,
1481
1480
  predictions: T,
@@ -1495,11 +1494,11 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1495
1494
  restrictCountry: t?.restrictCountry
1496
1495
  };
1497
1496
  }, ha = (t) => {
1498
- const { searchLocalities: o, restrictCountry: c } = t, [d, y] = K([]), [x, g] = K(!1), [T, k] = K(null), F = B(0);
1497
+ const { searchLocalities: o, restrictCountry: c } = t, [d, y] = U([]), [x, g] = U(!1), [T, k] = U(null), F = B(0);
1499
1498
  V(() => {
1500
1499
  k(null);
1501
1500
  }, [o]);
1502
- const P = ye(
1501
+ const P = ke(
1503
1502
  async (u) => {
1504
1503
  if (!u || u.length < 2 || !o) {
1505
1504
  y([]);
@@ -1528,7 +1527,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1528
1527
  }
1529
1528
  },
1530
1529
  [c, o]
1531
- ), E = ye(() => y([]), []);
1530
+ ), E = ke(() => y([]), []);
1532
1531
  return {
1533
1532
  predictions: d,
1534
1533
  isSearching: x,
@@ -1624,7 +1623,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1624
1623
  googleMapsAutocompleteEnabled: F,
1625
1624
  className: P = ""
1626
1625
  }) => {
1627
- const E = De(), u = E?.config?.analytics ?? g, I = E?.config.isGlobal ?? !0, h = E?.config?.googleMapsApiKey, M = E?.config?.atlasSearchLocalities, m = E?.config?.googleMapsAutocompleteEnabled, [f, v] = K(!1), [X, z] = K(""), H = B(null), D = B(null), $ = B({}), C = (a) => c({ ...o, ...a }), S = (a, s) => {
1626
+ const E = De(), u = E?.config?.analytics ?? g, I = E?.config.isGlobal ?? !0, h = E?.config?.googleMapsApiKey, M = E?.config?.atlasSearchLocalities, m = E?.config?.googleMapsAutocompleteEnabled, [f, v] = U(!1), [X, z] = U(""), H = B(null), D = B(null), $ = B({}), C = (a) => c({ ...o, ...a }), S = (a, s) => {
1628
1627
  if (a === "phone") {
1629
1628
  const R = _a(s, d, $.current);
1630
1629
  R.shouldTrack && u?.trackPhoneSectionFilled?.({ phone: R.fullPhone });
@@ -1636,57 +1635,57 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1636
1635
  birthTime: () => u?.trackTimeFilled?.(),
1637
1636
  birthPlace: () => u?.trackPlaceOfBirthChosen?.()
1638
1637
  }[a]?.());
1639
- }, te = (a) => {
1638
+ }, re = (a) => {
1640
1639
  const s = a.target.value;
1641
1640
  s.trim() && u?.trackEmailSectionFilled?.({ email: s });
1642
1641
  }, J = X.trim().toLowerCase(), O = xr.filter((a) => J ? a.country.toLowerCase().includes(J) || a.code.includes(J) : !0), j = B(null);
1643
1642
  B(null);
1644
- const U = B(null), Y = B(0), G = B(null), [Ce, Z] = K(!1), [ne, Q] = K({ hour12: 12, minute: "00", meridiem: "AM" }), ae = (a) => String(a).padStart(2, "0"), xe = (a) => {
1643
+ const K = B(null), Y = B(0), G = B(null), [Pe, Z] = U(!1), [Q, ae] = U({ hour12: 12, minute: "00", meridiem: "AM" }), te = (a) => String(a).padStart(2, "0"), Ae = (a) => {
1645
1644
  const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
1646
1645
  if (!s) return a;
1647
- const R = Number(s[1]), pe = s[2], $e = R >= 12 ? "PM" : "AM";
1648
- return `${R % 12 === 0 ? 12 : R % 12}:${pe} ${$e}`;
1649
- }, ve = (a) => {
1646
+ const R = Number(s[1]), he = s[2], $e = R >= 12 ? "PM" : "AM";
1647
+ return `${R % 12 === 0 ? 12 : R % 12}:${he} ${$e}`;
1648
+ }, _e = (a) => {
1650
1649
  const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
1651
1650
  if (!s) return { hour12: 12, minute: "00", meridiem: "AM" };
1652
- const R = Number(s[1]), pe = s[2], $e = R >= 12 ? "PM" : "AM";
1653
- return { hour12: R % 12 === 0 ? 12 : R % 12, minute: pe, meridiem: $e };
1654
- }, Ae = (a) => {
1651
+ const R = Number(s[1]), he = s[2], $e = R >= 12 ? "PM" : "AM";
1652
+ return { hour12: R % 12 === 0 ? 12 : R % 12, minute: he, meridiem: $e };
1653
+ }, le = (a) => {
1655
1654
  const s = Math.min(12, Math.max(1, a.hour12)), R = /^([0-5]\d)$/.test(a.minute) ? a.minute : "00";
1656
- let pe = s % 12;
1657
- return a.meridiem === "PM" && (pe += 12), `${ae(pe)}:${R}`;
1658
- }, ee = B(null), [re, de] = K(!1), me = B(o.birthPlace ?? ""), [oe, fe] = K(
1655
+ let he = s % 12;
1656
+ return a.meridiem === "PM" && (he += 12), `${te(he)}:${R}`;
1657
+ }, ue = B(null), [ee, me] = U(!1), ce = B(o.birthPlace ?? ""), [fe, pe] = U(
1659
1658
  null
1660
- ), ge = T ?? h ?? ba?.VITE_GOOGLE_MAPS_API_KEY, je = k ?? M, ie = F ?? m ?? !0, se = (o.birthPlace ?? "").trim(), Pe = I ? void 0 : "in", ue = fa({
1661
- apiKey: ie ? ge : void 0,
1659
+ ), be = T ?? h ?? ba?.VITE_GOOGLE_MAPS_API_KEY, je = k ?? M, ne = F ?? m ?? !0, oe = (o.birthPlace ?? "").trim(), Ce = I ? void 0 : "in", de = fa({
1660
+ apiKey: ne ? be : void 0,
1662
1661
  language: "en",
1663
- restrictCountry: Pe
1664
- }), be = ha({
1665
- searchLocalities: ie ? void 0 : je,
1666
- restrictCountry: Pe
1667
- }), ke = ie ? ue.predictions.map((a) => ({
1662
+ restrictCountry: Ce
1663
+ }), ve = ha({
1664
+ searchLocalities: ne ? void 0 : je,
1665
+ restrictCountry: Ce
1666
+ }), we = ne ? de.predictions.map((a) => ({
1668
1667
  id: a.place_id,
1669
1668
  description: a.description,
1670
1669
  secondaryText: a.structured_formatting?.secondary_text,
1671
1670
  lat: void 0,
1672
1671
  lng: void 0
1673
- })) : be.predictions.map((a) => ({
1672
+ })) : ve.predictions.map((a) => ({
1674
1673
  id: a.id,
1675
1674
  description: a.description,
1676
1675
  secondaryText: a.secondary_text,
1677
1676
  lat: a.lat,
1678
1677
  lng: a.lng
1679
- })), Se = ie ? ue.isSearching : be.isSearching, Re = ie ? ue.loadError : be.loadError, _ = ie ? !!ge : !!je, Ee = ie ? ue.searchPlaces : be.searchPlaces, Oe = ie ? ue.clearPredictions : be.clearPredictions, Fe = B(() => {
1678
+ })), Se = ne ? de.isSearching : ve.isSearching, Re = ne ? de.loadError : ve.loadError, _ = ne ? !!be : !!je, Ee = ne ? de.searchPlaces : ve.searchPlaces, Oe = ne ? de.clearPredictions : ve.clearPredictions, Fe = B(() => {
1680
1679
  });
1681
1680
  Fe.current = () => {
1682
- (o.birthPlace ?? "") !== me.current && C({
1681
+ (o.birthPlace ?? "") !== ce.current && C({
1683
1682
  birthPlace: "",
1684
1683
  birthPlaceLat: void 0,
1685
1684
  birthPlaceLng: void 0
1686
- }), de(!1);
1685
+ }), me(!1);
1687
1686
  }, V(() => {
1688
1687
  const a = (s) => {
1689
- ee.current && (ee.current.contains(s.target) || Fe.current());
1688
+ ue.current && (ue.current.contains(s.target) || Fe.current());
1690
1689
  };
1691
1690
  return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
1692
1691
  }, []), V(() => {
@@ -1701,28 +1700,28 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1701
1700
  }, 0);
1702
1701
  return () => window.clearTimeout(a);
1703
1702
  }, [f]), V(() => {
1704
- if (!re) return;
1705
- if (se.length < 2) {
1703
+ if (!ee) return;
1704
+ if (oe.length < 2) {
1706
1705
  Oe();
1707
1706
  return;
1708
1707
  }
1709
1708
  const a = window.setTimeout(async () => {
1710
- await Ee(se);
1709
+ await Ee(oe);
1711
1710
  }, 250);
1712
1711
  return () => window.clearTimeout(a);
1713
- }, [Oe, re, se, Ee]);
1712
+ }, [Oe, ee, oe, Ee]);
1714
1713
  const Me = (a) => {
1715
1714
  const s = a.current;
1716
1715
  if (!(!s || s.disabled)) {
1717
- if (document.activeElement === s && U.current === s && Date.now() - Y.current < 6e4) {
1716
+ if (document.activeElement === s && K.current === s && Date.now() - Y.current < 6e4) {
1718
1717
  s.blur();
1719
1718
  return;
1720
1719
  }
1721
1720
  if (typeof s.showPicker == "function") {
1722
- s.showPicker(), U.current = s, Y.current = Date.now();
1721
+ s.showPicker(), K.current = s, Y.current = Date.now();
1723
1722
  return;
1724
1723
  }
1725
- s.focus(), U.current = s, Y.current = Date.now();
1724
+ s.focus(), K.current = s, Y.current = Date.now();
1726
1725
  }
1727
1726
  };
1728
1727
  return V(() => {
@@ -1732,9 +1731,9 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1732
1731
  return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
1733
1732
  }, []), V(() => {
1734
1733
  const a = (R) => {
1735
- R.target?.closest?.("[data-info-tooltip]") == null && fe(null);
1734
+ R.target?.closest?.("[data-info-tooltip]") == null && pe(null);
1736
1735
  }, s = (R) => {
1737
- R.key === "Escape" && fe(null);
1736
+ R.key === "Escape" && pe(null);
1738
1737
  };
1739
1738
  return document.addEventListener("mousedown", a), document.addEventListener("keydown", s), () => {
1740
1739
  document.removeEventListener("mousedown", a), document.removeEventListener("keydown", s);
@@ -1915,7 +1914,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1915
1914
  onChange: (a) => {
1916
1915
  C({ email: a.target.value });
1917
1916
  },
1918
- onBlur: te,
1917
+ onBlur: re,
1919
1918
  placeholder: t("formEmailPlaceholder"),
1920
1919
  autoComplete: "email",
1921
1920
  required: !0,
@@ -1936,9 +1935,9 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1936
1935
  type: "button",
1937
1936
  className: n.infoBtn,
1938
1937
  "aria-label": t("info"),
1939
- "aria-expanded": oe === "dob",
1938
+ "aria-expanded": fe === "dob",
1940
1939
  onClick: () => {
1941
- fe((a) => a === "dob" ? null : "dob"), u?.trackInfoIconClicked?.({ fieldName: "dob" });
1940
+ pe((a) => a === "dob" ? null : "dob"), u?.trackInfoIconClicked?.({ fieldName: "dob" });
1942
1941
  },
1943
1942
  children: /* @__PURE__ */ r.jsx(
1944
1943
  "img",
@@ -1951,7 +1950,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1951
1950
  )
1952
1951
  }
1953
1952
  ),
1954
- oe === "dob" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
1953
+ fe === "dob" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
1955
1954
  t("formDobInfo"),
1956
1955
  /* @__PURE__ */ r.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
1957
1956
  ] })
@@ -1968,16 +1967,16 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1968
1967
  value: o.dateOfBirth,
1969
1968
  max: (() => {
1970
1969
  const a = /* @__PURE__ */ new Date();
1971
- return `${a.getFullYear()}-${ae(a.getMonth() + 1)}-${ae(a.getDate())}`;
1970
+ return `${a.getFullYear()}-${te(a.getMonth() + 1)}-${te(a.getDate())}`;
1972
1971
  })(),
1973
1972
  onChange: (a) => {
1974
- const s = a.target.value, R = /* @__PURE__ */ new Date(), pe = `${R.getFullYear()}-${ae(R.getMonth() + 1)}-${ae(R.getDate())}`;
1975
- s && s > pe || (C({ dateOfBirth: s }), S("dateOfBirth", s), U.current = null);
1973
+ const s = a.target.value, R = /* @__PURE__ */ new Date(), he = `${R.getFullYear()}-${te(R.getMonth() + 1)}-${te(R.getDate())}`;
1974
+ s && s > he || (C({ dateOfBirth: s }), S("dateOfBirth", s), K.current = null);
1976
1975
  },
1977
1976
  onFocus: () => u?.trackDobClicked?.(),
1978
1977
  onClick: () => Me(j),
1979
1978
  onBlur: () => {
1980
- U.current === j.current && (U.current = null);
1979
+ K.current === j.current && (K.current = null);
1981
1980
  }
1982
1981
  }
1983
1982
  ),
@@ -2017,9 +2016,9 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2017
2016
  type: "button",
2018
2017
  className: n.infoBtn,
2019
2018
  "aria-label": t("info"),
2020
- "aria-expanded": oe === "time",
2019
+ "aria-expanded": fe === "time",
2021
2020
  onClick: () => {
2022
- u?.trackInfoIconClicked?.({ fieldName: "time" }), fe((a) => a === "time" ? null : "time");
2021
+ u?.trackInfoIconClicked?.({ fieldName: "time" }), pe((a) => a === "time" ? null : "time");
2023
2022
  },
2024
2023
  children: /* @__PURE__ */ r.jsx(
2025
2024
  "img",
@@ -2032,7 +2031,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2032
2031
  )
2033
2032
  }
2034
2033
  ),
2035
- oe === "time" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
2034
+ fe === "time" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
2036
2035
  t("formBirthTimeInfo"),
2037
2036
  /* @__PURE__ */ r.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
2038
2037
  ] })
@@ -2045,7 +2044,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2045
2044
  id: "kundli-birth-time",
2046
2045
  className: n.input,
2047
2046
  type: "text",
2048
- value: o.birthTime ? xe(o.birthTime) : "",
2047
+ value: o.birthTime ? Ae(o.birthTime) : "",
2049
2048
  readOnly: !0,
2050
2049
  onFocus: () => u?.trackTimeClicked?.(),
2051
2050
  onChange: (a) => {
@@ -2055,7 +2054,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2055
2054
  disabled: o.birthTimeUnknown,
2056
2055
  placeholder: "HH:MM AM",
2057
2056
  onClick: () => {
2058
- o.birthTimeUnknown || (Q(ve(o.birthTime || "12:00")), Z((a) => !a));
2057
+ o.birthTimeUnknown || (ae(_e(o.birthTime || "12:00")), Z((a) => !a));
2059
2058
  }
2060
2059
  }
2061
2060
  ),
@@ -2068,7 +2067,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2068
2067
  disabled: o.birthTimeUnknown,
2069
2068
  onMouseDown: (a) => a.preventDefault(),
2070
2069
  onClick: (a) => {
2071
- a.preventDefault(), a.stopPropagation(), !o.birthTimeUnknown && (Q(ve(o.birthTime || "12:00")), Z((s) => !s));
2070
+ a.preventDefault(), a.stopPropagation(), !o.birthTimeUnknown && (ae(_e(o.birthTime || "12:00")), Z((s) => !s));
2072
2071
  },
2073
2072
  children: /* @__PURE__ */ r.jsx(
2074
2073
  "img",
@@ -2081,7 +2080,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2081
2080
  )
2082
2081
  }
2083
2082
  ),
2084
- Ce && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
2083
+ Pe && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
2085
2084
  "div",
2086
2085
  {
2087
2086
  className: n.timePopover,
@@ -2093,8 +2092,8 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2093
2092
  "select",
2094
2093
  {
2095
2094
  className: n.timePickerSelect,
2096
- value: ne.hour12,
2097
- onChange: (a) => Q((s) => ({
2095
+ value: Q.hour12,
2096
+ onChange: (a) => ae((s) => ({
2098
2097
  ...s,
2099
2098
  hour12: Number(a.target.value)
2100
2099
  })),
@@ -2107,10 +2106,10 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2107
2106
  "select",
2108
2107
  {
2109
2108
  className: n.timePickerSelect,
2110
- value: ne.minute,
2111
- onChange: (a) => Q((s) => ({ ...s, minute: a.target.value })),
2109
+ value: Q.minute,
2110
+ onChange: (a) => ae((s) => ({ ...s, minute: a.target.value })),
2112
2111
  "aria-label": "Minute",
2113
- children: Array.from({ length: 60 }, (a, s) => ae(s)).map(
2112
+ children: Array.from({ length: 60 }, (a, s) => te(s)).map(
2114
2113
  (a) => /* @__PURE__ */ r.jsx("option", { value: a, children: a }, a)
2115
2114
  )
2116
2115
  }
@@ -2120,8 +2119,8 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2120
2119
  "button",
2121
2120
  {
2122
2121
  type: "button",
2123
- className: `${n.meridiemBtn} ${ne.meridiem === "AM" ? n.meridiemActive : ""}`,
2124
- onClick: () => Q((a) => ({ ...a, meridiem: "AM" })),
2122
+ className: `${n.meridiemBtn} ${Q.meridiem === "AM" ? n.meridiemActive : ""}`,
2123
+ onClick: () => ae((a) => ({ ...a, meridiem: "AM" })),
2125
2124
  children: "AM"
2126
2125
  }
2127
2126
  ),
@@ -2129,8 +2128,8 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2129
2128
  "button",
2130
2129
  {
2131
2130
  type: "button",
2132
- className: `${n.meridiemBtn} ${ne.meridiem === "PM" ? n.meridiemActive : ""}`,
2133
- onClick: () => Q((a) => ({ ...a, meridiem: "PM" })),
2131
+ className: `${n.meridiemBtn} ${Q.meridiem === "PM" ? n.meridiemActive : ""}`,
2132
+ onClick: () => ae((a) => ({ ...a, meridiem: "PM" })),
2134
2133
  children: "PM"
2135
2134
  }
2136
2135
  )
@@ -2152,7 +2151,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2152
2151
  type: "button",
2153
2152
  className: `${n.timePopoverBtn} ${n.timePopoverOk}`,
2154
2153
  onClick: () => {
2155
- const a = Ae(ne);
2154
+ const a = le(Q);
2156
2155
  C({ birthTime: a }), S("birthTime", a), Z(!1);
2157
2156
  },
2158
2157
  "aria-label": "OK",
@@ -2227,11 +2226,11 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2227
2226
  type: "button",
2228
2227
  className: n.infoBtn,
2229
2228
  "aria-label": t("info"),
2230
- "aria-expanded": oe === "place",
2229
+ "aria-expanded": fe === "place",
2231
2230
  onClick: () => {
2232
2231
  u?.trackInfoIconClicked?.({
2233
2232
  fieldName: "birthPlace"
2234
- }), fe((a) => a === "place" ? null : "place");
2233
+ }), pe((a) => a === "place" ? null : "place");
2235
2234
  },
2236
2235
  children: /* @__PURE__ */ r.jsx(
2237
2236
  "img",
@@ -2244,13 +2243,13 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2244
2243
  )
2245
2244
  }
2246
2245
  ),
2247
- oe === "place" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
2246
+ fe === "place" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
2248
2247
  t("formBirthPlaceInfo"),
2249
2248
  /* @__PURE__ */ r.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
2250
2249
  ] })
2251
2250
  ] })
2252
2251
  ] }),
2253
- /* @__PURE__ */ r.jsxs("div", { className: n.inputWrap, ref: ee, children: [
2252
+ /* @__PURE__ */ r.jsxs("div", { className: n.inputWrap, ref: ue, children: [
2254
2253
  /* @__PURE__ */ r.jsx(
2255
2254
  "input",
2256
2255
  {
@@ -2264,10 +2263,10 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2264
2263
  birthPlace: s,
2265
2264
  birthPlaceLat: void 0,
2266
2265
  birthPlaceLng: void 0
2267
- }), S("birthPlace", s), de(!0);
2266
+ }), S("birthPlace", s), me(!0);
2268
2267
  },
2269
2268
  onFocus: () => {
2270
- u?.trackPlaceOfBirthClicked?.(), de(!0);
2269
+ u?.trackPlaceOfBirthClicked?.(), me(!0);
2271
2270
  },
2272
2271
  placeholder: t("formBirthPlacePlaceholder"),
2273
2272
  autoComplete: "address-level2"
@@ -2282,22 +2281,22 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2282
2281
  "aria-hidden": !0
2283
2282
  }
2284
2283
  ) }),
2285
- re && ke.length > 0 && /* @__PURE__ */ r.jsx("div", { className: n.suggestions, role: "listbox", children: ke.slice(0, 8).map((a) => /* @__PURE__ */ r.jsxs(
2284
+ ee && we.length > 0 && /* @__PURE__ */ r.jsx("div", { className: n.suggestions, role: "listbox", children: we.slice(0, 8).map((a) => /* @__PURE__ */ r.jsxs(
2286
2285
  "button",
2287
2286
  {
2288
2287
  type: "button",
2289
2288
  className: n.suggestionItem,
2290
2289
  onClick: async () => {
2291
2290
  const s = a.description;
2292
- if (me.current = s, C({
2291
+ if (ce.current = s, C({
2293
2292
  birthPlace: s,
2294
2293
  birthPlaceLat: a.lat,
2295
2294
  birthPlaceLng: a.lng
2296
- }), Oe(), de(!1), ie) {
2297
- const R = await ue.getPlaceDetails(
2295
+ }), Oe(), me(!1), ne) {
2296
+ const R = await de.getPlaceDetails(
2298
2297
  a.id
2299
2298
  );
2300
- R && (me.current = s, c({
2299
+ R && (ce.current = s, c({
2301
2300
  ...o,
2302
2301
  birthPlace: s,
2303
2302
  birthPlaceLat: R.lat,
@@ -2312,8 +2311,8 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2312
2311
  },
2313
2312
  a.id
2314
2313
  )) }),
2315
- re && _ && Se && /* @__PURE__ */ r.jsx("div", { className: n.suggestionsHint, children: "Loading…" }),
2316
- re && _ && !Se && !!Re && /* @__PURE__ */ r.jsx("div", { className: n.suggestionsHint, children: Re })
2314
+ ee && _ && Se && /* @__PURE__ */ r.jsx("div", { className: n.suggestionsHint, children: "Loading…" }),
2315
+ ee && _ && !Se && !!Re && /* @__PURE__ */ r.jsx("div", { className: n.suggestionsHint, children: Re })
2317
2316
  ] })
2318
2317
  ] }),
2319
2318
  x && /* @__PURE__ */ r.jsxs("div", { className: n.field, children: [
@@ -2531,8 +2530,8 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2531
2530
  const m = De(), f = m?.config.isGlobal ?? !0, v = m?.config?.variant, X = Xe(
2532
2531
  () => Ra(o, f, d),
2533
2532
  [o, f, d]
2534
- ), z = X === null, H = v === "v1" && m?.config?.showSheet, D = f ? P ?? t("formDiscountedPrice") : H ? "" : "₹499", $ = m?.config.imageComponent ?? Ye, C = (te) => {
2535
- if (te.preventDefault(), v === "v1" && !z && k?.trackKundliDetailedClicked?.(), !z) {
2533
+ ), z = X === null, H = v === "v1" && m?.config?.showSheet, D = f ? P ?? t("formDiscountedPrice") : H ? "" : "₹499", $ = m?.config.imageComponent ?? Ye, C = (re) => {
2534
+ if (re.preventDefault(), v === "v1" && !z && k?.trackKundliDetailedClicked?.(), !z) {
2536
2535
  X && y?.(X);
2537
2536
  return;
2538
2537
  }
@@ -2925,7 +2924,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2925
2924
  googleMapsAutocompleteEnabled: u,
2926
2925
  analytics: I
2927
2926
  }) => {
2928
- const h = De(), M = ot(), m = h !== null, f = m ? h.locale : o, v = f ?? M?.locale ?? "en", [X, z] = K(v), H = m ? h.locale : X, D = m ? h.setLocale : z, [$, C] = K(!1), S = B(null), te = B(f), J = B(
2927
+ const h = De(), M = ot(), m = h !== null, f = m ? h.locale : o, v = f ?? M?.locale ?? "en", [X, z] = U(v), H = m ? h.locale : X, D = m ? h.setLocale : z, [$, C] = U(!1), S = B(null), re = B(f), J = B(
2929
2928
  M?.locale
2930
2929
  );
2931
2930
  V(() => {
@@ -2933,35 +2932,35 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2933
2932
  }, []);
2934
2933
  const O = (_) => Dn(H, _);
2935
2934
  V(() => {
2936
- f && te.current !== f && D(f), te.current = f;
2935
+ f && re.current !== f && D(f), re.current = f;
2937
2936
  }, [f, D]), V(() => {
2938
2937
  if (f) return;
2939
2938
  const _ = M?.locale;
2940
2939
  _ && J.current !== _ && D(_), J.current = _;
2941
2940
  }, [M?.locale, f, D]);
2942
- const [j, U] = K({
2941
+ const [j, K] = U({
2943
2942
  ...Fn,
2944
2943
  ...y,
2945
2944
  phone: y?.phone ?? ""
2946
- }), Y = m ? h?.config.isGlobal ?? !0 : !0, G = m ? h.formValues : j, Ce = m ? h.setFormValues : U, [Z, ne] = K(
2945
+ }), Y = m ? h?.config.isGlobal ?? !0 : !0, G = m ? h.formValues : j, Pe = m ? h.setFormValues : K, [Z, Q] = U(
2947
2946
  () => On(G.phoneCountryCode, Y)
2948
- ), Q = B(
2947
+ ), ae = B(
2949
2948
  !!(G.phoneCountryCode && Ze.includes(G.phoneCountryCode))
2950
- ), ae = B(!1), xe = ye((_) => {
2951
- ae.current = !0, ne(_);
2952
- }, []), ve = B(!0);
2949
+ ), te = B(!1), Ae = ke((_) => {
2950
+ te.current = !0, Q(_);
2951
+ }, []), _e = B(!0);
2953
2952
  V(() => {
2954
- if (ve.current) {
2955
- ve.current = !1;
2953
+ if (_e.current) {
2954
+ _e.current = !1;
2956
2955
  return;
2957
2956
  }
2958
- Q.current || ae.current || ne(Y ? "+1" : "+91");
2957
+ ae.current || te.current || Q(Y ? "+1" : "+91");
2959
2958
  }, [Y]), V(() => {
2960
- if (!m || ae.current) return;
2959
+ if (!m || te.current) return;
2961
2960
  const _ = G.phoneCountryCode;
2962
- _ && Ze.includes(_) && _ !== Z && (Q.current = !0, ne(_));
2961
+ _ && Ze.includes(_) && _ !== Z && (ae.current = !0, Q(_));
2963
2962
  }, [m, G.phoneCountryCode]);
2964
- const Ae = m ? h.goToPage : d, ee = m ? h.onProceed : x, re = m ? h.onProceedGuidance : g, de = m ? h.config.proceedHref : T, me = m ? h.config.originalPriceLabel : k, oe = m ? h.config.discountedPriceLabel : F, fe = m ? h.config.showLanguageSelector ?? !0 : c, ge = (m ? h?.config?.analytics : I) ?? I;
2963
+ const le = m ? h.goToPage : d, ue = m ? h.onProceed : x, ee = m ? h.onProceedGuidance : g, me = m ? h.config.proceedHref : T, ce = m ? h.config.originalPriceLabel : k, fe = m ? h.config.discountedPriceLabel : F, pe = m ? h.config.showLanguageSelector ?? !0 : c, be = (m ? h?.config?.analytics : I) ?? I;
2965
2964
  V(() => {
2966
2965
  if (!$) return;
2967
2966
  const _ = (Ee) => {
@@ -2969,37 +2968,37 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2969
2968
  };
2970
2969
  return document.addEventListener("mousedown", _), () => document.removeEventListener("mousedown", _);
2971
2970
  }, [$]);
2972
- const [je, ie] = K(!1), [se, Pe] = K(null), _e = B(null), ue = ye((_) => {
2973
- _e.current = _, ie(!0);
2974
- }, []), be = B(!1);
2971
+ const [je, ne] = U(!1), [oe, Ce] = U(null), ye = B(null), de = ke((_) => {
2972
+ ye.current = _, ne(!0);
2973
+ }, []), ve = B(!1);
2975
2974
  V(() => {
2976
- if (be.current || !m || !h?.config.autoOpenPlanSheet || h?.config.variant !== "v1")
2975
+ if (ve.current || !m || !h?.config.autoOpenPlanSheet || h?.config.variant !== "v1")
2977
2976
  return;
2978
- be.current = !0;
2977
+ ve.current = !0;
2979
2978
  const _ = (G.phone ?? "").trim();
2980
- ue({
2979
+ de({
2981
2980
  ...G,
2982
2981
  phone: _ && `${Z}-${_}`
2983
2982
  });
2984
- }, [m, h?.config.autoOpenPlanSheet, h?.config.variant, G, Z, ue]);
2985
- const ke = ye(() => {
2986
- if (!_e.current || !se) return;
2987
- ge?.trackPlanProceedClicked?.({
2988
- planId: se.id,
2989
- planName: se.title,
2990
- price: se.price,
2983
+ }, [m, h?.config.autoOpenPlanSheet, h?.config.variant, G, Z, de]);
2984
+ const we = ke(() => {
2985
+ if (!ye.current || !oe) return;
2986
+ be?.trackPlanProceedClicked?.({
2987
+ planId: oe.id,
2988
+ planName: oe.title,
2989
+ price: oe.price,
2991
2990
  currency: Y ? "USD" : "INR"
2992
2991
  });
2993
- const _ = { ..._e.current, _selectedPlan: se };
2994
- se.id === Cr && re ? re(_) : ee?.(_), ie(!1), _e.current = null;
2995
- }, [se, ee, re]), Se = h?.config.imageComponent ?? Ye, Re = fe ? /* @__PURE__ */ r.jsxs("div", { className: we.langDropdownWrap, ref: S, children: [
2992
+ const _ = { ...ye.current, _selectedPlan: oe };
2993
+ oe.id === Cr && ee ? ee(_) : ue?.(_), ne(!1), ye.current = null;
2994
+ }, [oe, ue, ee]), Se = h?.config.imageComponent ?? Ye, Re = pe ? /* @__PURE__ */ r.jsxs("div", { className: xe.langDropdownWrap, ref: S, children: [
2996
2995
  /* @__PURE__ */ r.jsxs(
2997
2996
  "button",
2998
2997
  {
2999
2998
  type: "button",
3000
- className: we.langTrigger,
2999
+ className: xe.langTrigger,
3001
3000
  onClick: () => {
3002
- ge?.trackLanguageClickedFe?.({ language: H }), C((_) => !_);
3001
+ be?.trackLanguageClickedFe?.({ language: H }), C((_) => !_);
3003
3002
  },
3004
3003
  "aria-expanded": $,
3005
3004
  "aria-haspopup": "listbox",
@@ -3011,20 +3010,20 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
3011
3010
  {
3012
3011
  src: Bn,
3013
3012
  alt: "",
3014
- className: we.langIcon,
3013
+ className: xe.langIcon,
3015
3014
  width: 16,
3016
3015
  height: 16,
3017
3016
  loading: "eager"
3018
3017
  }
3019
3018
  ),
3020
- /* @__PURE__ */ r.jsx("span", { className: we.langLabel, children: pr[H] })
3019
+ /* @__PURE__ */ r.jsx("span", { className: xe.langLabel, children: pr[H] })
3021
3020
  ]
3022
3021
  }
3023
3022
  ),
3024
3023
  $ && /* @__PURE__ */ r.jsx(
3025
3024
  "ul",
3026
3025
  {
3027
- className: we.langMenu,
3026
+ className: xe.langMenu,
3028
3027
  role: "listbox",
3029
3028
  "aria-labelledby": "kundli-form-lang",
3030
3029
  "aria-activedescendant": `kundli-form-lang-option-${H}`,
@@ -3034,9 +3033,9 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
3034
3033
  id: `kundli-form-lang-option-${_}`,
3035
3034
  role: "option",
3036
3035
  "aria-selected": _ === H,
3037
- className: we.langOption,
3036
+ className: xe.langOption,
3038
3037
  onClick: () => {
3039
- ge?.trackLanguageChangedFe?.({ newLanguage: _ }), D(_), C(!1);
3038
+ be?.trackLanguageChangedFe?.({ newLanguage: _ }), D(_), C(!1);
3040
3039
  },
3041
3040
  children: pr[_]
3042
3041
  },
@@ -3045,32 +3044,32 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
3045
3044
  }
3046
3045
  )
3047
3046
  ] }) : null;
3048
- return /* @__PURE__ */ r.jsxs("div", { className: `${we.container} ${t}`, children: [
3047
+ return /* @__PURE__ */ r.jsxs("div", { className: `${xe.container} ${t}`, children: [
3049
3048
  /* @__PURE__ */ r.jsx(
3050
3049
  La,
3051
3050
  {
3052
3051
  t: O,
3053
3052
  logoUrl: m ? h.config.logoUrl : void 0,
3054
3053
  languageSelector: Re,
3055
- className: we.kundliHeaderNoBorder
3054
+ className: xe.kundliHeaderNoBorder
3056
3055
  }
3057
3056
  ),
3058
- /* @__PURE__ */ r.jsx("div", { className: we.headerSeparator, "aria-hidden": !0 }),
3059
- /* @__PURE__ */ r.jsxs("main", { className: we.main, children: [
3060
- /* @__PURE__ */ r.jsx(ft, { t: O, onBack: Ae }),
3057
+ /* @__PURE__ */ r.jsx("div", { className: xe.headerSeparator, "aria-hidden": !0 }),
3058
+ /* @__PURE__ */ r.jsxs("main", { className: xe.main, children: [
3059
+ /* @__PURE__ */ r.jsx(ft, { t: O, onBack: le }),
3061
3060
  /* @__PURE__ */ r.jsx(
3062
3061
  ya,
3063
3062
  {
3064
3063
  t: O,
3065
3064
  values: G,
3066
- onChange: Ce,
3065
+ onChange: Pe,
3067
3066
  googleMapsApiKey: P,
3068
3067
  atlasSearchLocalities: E,
3069
3068
  googleMapsAutocompleteEnabled: u,
3070
3069
  phoneIsdCode: Z,
3071
- onPhoneIsdCodeChange: xe,
3070
+ onPhoneIsdCodeChange: Ae,
3072
3071
  showV1ExtraFields: m ? h?.config.variant === "v1" : !1,
3073
- analytics: ge
3072
+ analytics: be
3074
3073
  }
3075
3074
  )
3076
3075
  ] }),
@@ -3080,30 +3079,30 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
3080
3079
  t: O,
3081
3080
  values: G,
3082
3081
  phoneIsdCode: Z,
3083
- onProceed: ee,
3084
- onProceedGuidance: re,
3085
- href: de,
3086
- originalPriceLabel: me,
3087
- discountedPriceLabel: oe,
3088
- analytics: ge,
3089
- showPlanSheet: ue,
3090
- confirmPlan: ke,
3082
+ onProceed: ue,
3083
+ onProceedGuidance: ee,
3084
+ href: me,
3085
+ originalPriceLabel: ce,
3086
+ discountedPriceLabel: fe,
3087
+ analytics: be,
3088
+ showPlanSheet: de,
3089
+ confirmPlan: we,
3091
3090
  planSheetOpen: je,
3092
- selectedPlan: se
3091
+ selectedPlan: oe
3093
3092
  }
3094
3093
  ),
3095
3094
  h?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
3096
3095
  Ln,
3097
3096
  {
3098
3097
  isOpen: je,
3099
- onClose: () => ie(!1),
3100
- selectedPlan: se,
3101
- onSelectPlan: Pe,
3098
+ onClose: () => ne(!1),
3099
+ selectedPlan: oe,
3100
+ onSelectPlan: Ce,
3102
3101
  onProceed: () => {
3103
- ke?.();
3102
+ we?.();
3104
3103
  },
3105
3104
  t: O,
3106
- analytics: ge
3105
+ analytics: be
3107
3106
  }
3108
3107
  )
3109
3108
  ] });
@@ -3181,4 +3180,4 @@ export {
3181
3180
  vr as t,
3182
3181
  ot as u
3183
3182
  };
3184
- //# sourceMappingURL=analytics-DOC6EHFq.js.map
3183
+ //# sourceMappingURL=analytics-BZyas-wq.js.map