kundli-generator 1.1.2 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/kundli-generator.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import vt, { createContext as xt, useContext as Ge, useState as K, useEffect as
|
|
1
|
+
import vt, { createContext as xt, useContext as Ge, useState as K, useRef as W, useEffect as J, useMemo as Fe, useCallback as Pe } from "react";
|
|
2
2
|
var De = { exports: {} }, Ee = {};
|
|
3
3
|
var ut;
|
|
4
4
|
function Zt() {
|
|
@@ -25,7 +25,7 @@ function en() {
|
|
|
25
25
|
var i = j && t[j] || t[x];
|
|
26
26
|
return typeof i == "function" ? i : null;
|
|
27
27
|
}
|
|
28
|
-
var
|
|
28
|
+
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
29
29
|
function w(t) {
|
|
30
30
|
{
|
|
31
31
|
for (var i = arguments.length, u = new Array(i > 1 ? i - 1 : 0), b = 1; b < i; b++)
|
|
@@ -35,34 +35,34 @@ function en() {
|
|
|
35
35
|
}
|
|
36
36
|
function E(t, i, u) {
|
|
37
37
|
{
|
|
38
|
-
var b =
|
|
38
|
+
var b = O.ReactDebugCurrentFrame, A = b.getStackAddendum();
|
|
39
39
|
A !== "" && (i += "%s", u = u.concat([A]));
|
|
40
|
-
var
|
|
40
|
+
var S = u.map(function(P) {
|
|
41
41
|
return String(P);
|
|
42
42
|
});
|
|
43
|
-
|
|
43
|
+
S.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, S);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
var
|
|
47
|
-
|
|
46
|
+
var F = !1, C = !1, G = !1, q = !1, V = !1, L;
|
|
47
|
+
L = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
48
48
|
function H(t) {
|
|
49
|
-
return !!(typeof t == "string" || typeof t == "function" || t === d || t === f || V || t === o || t === v || t === _ ||
|
|
49
|
+
return !!(typeof t == "string" || typeof t == "function" || t === d || t === f || V || t === o || t === v || t === _ || q || t === T || F || C || G || typeof t == "object" && t !== null && (t.$$typeof === k || t.$$typeof === g || t.$$typeof === p || t.$$typeof === m || t.$$typeof === l || // This needs to include all possible module reference object
|
|
50
50
|
// types supported by any Flight configuration anywhere since
|
|
51
51
|
// we don't know which Flight build this will end up being used
|
|
52
52
|
// with.
|
|
53
|
-
t.$$typeof ===
|
|
53
|
+
t.$$typeof === L || t.getModuleId !== void 0));
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function X(t, i, u) {
|
|
56
56
|
var b = t.displayName;
|
|
57
57
|
if (b)
|
|
58
58
|
return b;
|
|
59
59
|
var A = i.displayName || i.name || "";
|
|
60
60
|
return A !== "" ? u + "(" + A + ")" : u;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function D(t) {
|
|
63
63
|
return t.displayName || "Context";
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function M(t) {
|
|
66
66
|
if (t == null)
|
|
67
67
|
return null;
|
|
68
68
|
if (typeof t.tag == "number" && w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
@@ -87,19 +87,19 @@ function en() {
|
|
|
87
87
|
switch (t.$$typeof) {
|
|
88
88
|
case m:
|
|
89
89
|
var i = t;
|
|
90
|
-
return
|
|
90
|
+
return D(i) + ".Consumer";
|
|
91
91
|
case p:
|
|
92
92
|
var u = t;
|
|
93
|
-
return
|
|
93
|
+
return D(u._context) + ".Provider";
|
|
94
94
|
case l:
|
|
95
|
-
return
|
|
95
|
+
return X(t, t.render, "ForwardRef");
|
|
96
96
|
case g:
|
|
97
97
|
var b = t.displayName || null;
|
|
98
|
-
return b !== null ? b :
|
|
98
|
+
return b !== null ? b : M(t.type) || "Memo";
|
|
99
99
|
case k: {
|
|
100
|
-
var A = t,
|
|
100
|
+
var A = t, S = A._payload, P = A._init;
|
|
101
101
|
try {
|
|
102
|
-
return
|
|
102
|
+
return M(P(S));
|
|
103
103
|
} catch {
|
|
104
104
|
return null;
|
|
105
105
|
}
|
|
@@ -107,13 +107,13 @@ function en() {
|
|
|
107
107
|
}
|
|
108
108
|
return null;
|
|
109
109
|
}
|
|
110
|
-
var
|
|
110
|
+
var Y = Object.assign, ee = 0, xe, ye, me, he, fe, pe, ie;
|
|
111
111
|
function _e() {
|
|
112
112
|
}
|
|
113
113
|
_e.__reactDisabledLog = !0;
|
|
114
114
|
function a() {
|
|
115
115
|
{
|
|
116
|
-
if (
|
|
116
|
+
if (ee === 0) {
|
|
117
117
|
xe = console.log, ye = console.info, me = console.warn, he = console.error, fe = console.group, pe = console.groupCollapsed, ie = console.groupEnd;
|
|
118
118
|
var t = {
|
|
119
119
|
configurable: !0,
|
|
@@ -131,56 +131,56 @@ function en() {
|
|
|
131
131
|
groupEnd: t
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
|
-
|
|
134
|
+
ee++;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
function h() {
|
|
138
138
|
{
|
|
139
|
-
if (
|
|
139
|
+
if (ee--, ee === 0) {
|
|
140
140
|
var t = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
143
143
|
writable: !0
|
|
144
144
|
};
|
|
145
145
|
Object.defineProperties(console, {
|
|
146
|
-
log:
|
|
146
|
+
log: Y({}, t, {
|
|
147
147
|
value: xe
|
|
148
148
|
}),
|
|
149
|
-
info:
|
|
149
|
+
info: Y({}, t, {
|
|
150
150
|
value: ye
|
|
151
151
|
}),
|
|
152
|
-
warn:
|
|
152
|
+
warn: Y({}, t, {
|
|
153
153
|
value: me
|
|
154
154
|
}),
|
|
155
|
-
error:
|
|
155
|
+
error: Y({}, t, {
|
|
156
156
|
value: he
|
|
157
157
|
}),
|
|
158
|
-
group:
|
|
158
|
+
group: Y({}, t, {
|
|
159
159
|
value: fe
|
|
160
160
|
}),
|
|
161
|
-
groupCollapsed:
|
|
161
|
+
groupCollapsed: Y({}, t, {
|
|
162
162
|
value: pe
|
|
163
163
|
}),
|
|
164
|
-
groupEnd:
|
|
164
|
+
groupEnd: Y({}, t, {
|
|
165
165
|
value: ie
|
|
166
166
|
})
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
|
-
|
|
169
|
+
ee < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
var
|
|
172
|
+
var $ = O.ReactCurrentDispatcher, te;
|
|
173
173
|
function de(t, i, u) {
|
|
174
174
|
{
|
|
175
|
-
if (
|
|
175
|
+
if (te === void 0)
|
|
176
176
|
try {
|
|
177
177
|
throw Error();
|
|
178
178
|
} catch (A) {
|
|
179
179
|
var b = A.stack.trim().match(/\n( *(at )?)/);
|
|
180
|
-
|
|
180
|
+
te = b && b[1] || "";
|
|
181
181
|
}
|
|
182
182
|
return `
|
|
183
|
-
` +
|
|
183
|
+
` + te + t;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
var Te = !1, $e;
|
|
@@ -200,8 +200,8 @@ function en() {
|
|
|
200
200
|
Te = !0;
|
|
201
201
|
var A = Error.prepareStackTrace;
|
|
202
202
|
Error.prepareStackTrace = void 0;
|
|
203
|
-
var
|
|
204
|
-
|
|
203
|
+
var S;
|
|
204
|
+
S = $.current, $.current = null, a();
|
|
205
205
|
try {
|
|
206
206
|
if (i) {
|
|
207
207
|
var P = function() {
|
|
@@ -237,24 +237,24 @@ function en() {
|
|
|
237
237
|
} catch (Z) {
|
|
238
238
|
if (Z && b && typeof Z.stack == "string") {
|
|
239
239
|
for (var N = Z.stack.split(`
|
|
240
|
-
`),
|
|
241
|
-
`),
|
|
242
|
-
|
|
243
|
-
for (;
|
|
244
|
-
if (N[
|
|
245
|
-
if (
|
|
240
|
+
`), z = b.stack.split(`
|
|
241
|
+
`), B = N.length - 1, U = z.length - 1; B >= 1 && U >= 0 && N[B] !== z[U]; )
|
|
242
|
+
U--;
|
|
243
|
+
for (; B >= 1 && U >= 0; B--, U--)
|
|
244
|
+
if (N[B] !== z[U]) {
|
|
245
|
+
if (B !== 1 || U !== 1)
|
|
246
246
|
do
|
|
247
|
-
if (
|
|
248
|
-
var
|
|
249
|
-
` + N[
|
|
250
|
-
return t.displayName &&
|
|
247
|
+
if (B--, U--, U < 0 || N[B] !== z[U]) {
|
|
248
|
+
var ne = `
|
|
249
|
+
` + N[B].replace(" at new ", " at ");
|
|
250
|
+
return t.displayName && ne.includes("<anonymous>") && (ne = ne.replace("<anonymous>", t.displayName)), typeof t == "function" && $e.set(t, ne), ne;
|
|
251
251
|
}
|
|
252
|
-
while (
|
|
252
|
+
while (B >= 1 && U >= 0);
|
|
253
253
|
break;
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
} finally {
|
|
257
|
-
Te = !1,
|
|
257
|
+
Te = !1, $.current = S, h(), Error.prepareStackTrace = A;
|
|
258
258
|
}
|
|
259
259
|
var je = t ? t.displayName || t.name : "", ge = je ? de(je) : "";
|
|
260
260
|
return typeof t == "function" && $e.set(t, ge), ge;
|
|
@@ -286,16 +286,16 @@ function en() {
|
|
|
286
286
|
case g:
|
|
287
287
|
return Oe(t.type, i, u);
|
|
288
288
|
case k: {
|
|
289
|
-
var b = t, A = b._payload,
|
|
289
|
+
var b = t, A = b._payload, S = b._init;
|
|
290
290
|
try {
|
|
291
|
-
return Oe(
|
|
291
|
+
return Oe(S(A), i, u);
|
|
292
292
|
} catch {
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
return "";
|
|
297
297
|
}
|
|
298
|
-
var Ae = Object.prototype.hasOwnProperty, Je = {}, Xe =
|
|
298
|
+
var Ae = Object.prototype.hasOwnProperty, Je = {}, Xe = O.ReactDebugCurrentFrame;
|
|
299
299
|
function Le(t) {
|
|
300
300
|
if (t) {
|
|
301
301
|
var i = t._owner, u = Oe(t.type, t._source, i ? i.type : null);
|
|
@@ -305,25 +305,25 @@ function en() {
|
|
|
305
305
|
}
|
|
306
306
|
function St(t, i, u, b, A) {
|
|
307
307
|
{
|
|
308
|
-
var
|
|
308
|
+
var S = Function.call.bind(Ae);
|
|
309
309
|
for (var P in t)
|
|
310
|
-
if (
|
|
310
|
+
if (S(t, P)) {
|
|
311
311
|
var N = void 0;
|
|
312
312
|
try {
|
|
313
313
|
if (typeof t[P] != "function") {
|
|
314
|
-
var
|
|
315
|
-
throw
|
|
314
|
+
var z = Error((b || "React class") + ": " + u + " type `" + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[P] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
315
|
+
throw z.name = "Invariant Violation", z;
|
|
316
316
|
}
|
|
317
317
|
N = t[P](i, P, b, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
318
|
-
} catch (
|
|
319
|
-
N =
|
|
318
|
+
} catch (B) {
|
|
319
|
+
N = B;
|
|
320
320
|
}
|
|
321
321
|
N && !(N instanceof Error) && (Le(A), w("%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).", b || "React class", u, P, typeof N), Le(null)), N instanceof Error && !(N.message in Je) && (Je[N.message] = !0, Le(A), w("Failed %s type: %s", u, N.message), Le(null));
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
var Rt = Array.isArray;
|
|
326
|
-
function
|
|
326
|
+
function Ue(t) {
|
|
327
327
|
return Rt(t);
|
|
328
328
|
}
|
|
329
329
|
function It(t) {
|
|
@@ -346,7 +346,7 @@ function en() {
|
|
|
346
346
|
if ($t(t))
|
|
347
347
|
return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", It(t)), Ze(t);
|
|
348
348
|
}
|
|
349
|
-
var tt =
|
|
349
|
+
var tt = O.ReactCurrentOwner, Ot = {
|
|
350
350
|
key: !0,
|
|
351
351
|
ref: !0,
|
|
352
352
|
__self: !0,
|
|
@@ -382,7 +382,7 @@ function en() {
|
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function Mt(t, i) {
|
|
386
386
|
{
|
|
387
387
|
var u = function() {
|
|
388
388
|
at || (at = !0, w("%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));
|
|
@@ -393,7 +393,7 @@ function en() {
|
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
var
|
|
396
|
+
var Ut = function(t, i, u, b, A, S, P) {
|
|
397
397
|
var N = {
|
|
398
398
|
// This tag allows us to uniquely identify this as a React Element
|
|
399
399
|
$$typeof: r,
|
|
@@ -403,7 +403,7 @@ function en() {
|
|
|
403
403
|
ref: u,
|
|
404
404
|
props: P,
|
|
405
405
|
// Record the component responsible for creating this element.
|
|
406
|
-
_owner:
|
|
406
|
+
_owner: S
|
|
407
407
|
};
|
|
408
408
|
return N._store = {}, Object.defineProperty(N._store, "validated", {
|
|
409
409
|
configurable: !1,
|
|
@@ -424,23 +424,23 @@ function en() {
|
|
|
424
424
|
};
|
|
425
425
|
function qt(t, i, u, b, A) {
|
|
426
426
|
{
|
|
427
|
-
var
|
|
428
|
-
u !== void 0 && (et(u), N = "" + u), Dt(i) && (et(i.key), N = "" + i.key), Lt(i) && (
|
|
429
|
-
for (
|
|
430
|
-
Ae.call(i,
|
|
427
|
+
var S, P = {}, N = null, z = null;
|
|
428
|
+
u !== void 0 && (et(u), N = "" + u), Dt(i) && (et(i.key), N = "" + i.key), Lt(i) && (z = i.ref, Bt(i, A));
|
|
429
|
+
for (S in i)
|
|
430
|
+
Ae.call(i, S) && !Ot.hasOwnProperty(S) && (P[S] = i[S]);
|
|
431
431
|
if (t && t.defaultProps) {
|
|
432
|
-
var
|
|
433
|
-
for (
|
|
434
|
-
P[
|
|
432
|
+
var B = t.defaultProps;
|
|
433
|
+
for (S in B)
|
|
434
|
+
P[S] === void 0 && (P[S] = B[S]);
|
|
435
435
|
}
|
|
436
|
-
if (N ||
|
|
437
|
-
var
|
|
438
|
-
N && Ft(P,
|
|
436
|
+
if (N || z) {
|
|
437
|
+
var U = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
438
|
+
N && Ft(P, U), z && Mt(P, U);
|
|
439
439
|
}
|
|
440
|
-
return
|
|
440
|
+
return Ut(t, N, z, A, b, tt.current, P);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
var qe =
|
|
443
|
+
var qe = O.ReactCurrentOwner, rt = O.ReactDebugCurrentFrame;
|
|
444
444
|
function ke(t) {
|
|
445
445
|
if (t) {
|
|
446
446
|
var i = t._owner, u = Oe(t.type, t._source, i ? i.type : null);
|
|
@@ -456,7 +456,7 @@ function en() {
|
|
|
456
456
|
function it() {
|
|
457
457
|
{
|
|
458
458
|
if (qe.current) {
|
|
459
|
-
var t =
|
|
459
|
+
var t = M(qe.current.type);
|
|
460
460
|
if (t)
|
|
461
461
|
return `
|
|
462
462
|
|
|
@@ -491,14 +491,14 @@ Check the top-level render call using <` + u + ">.");
|
|
|
491
491
|
return;
|
|
492
492
|
st[u] = !0;
|
|
493
493
|
var b = "";
|
|
494
|
-
t && t._owner && t._owner !== qe.current && (b = " It was passed a child from " +
|
|
494
|
+
t && t._owner && t._owner !== qe.current && (b = " It was passed a child from " + M(t._owner.type) + "."), ke(t), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, b), ke(null);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
function ct(t, i) {
|
|
498
498
|
{
|
|
499
499
|
if (typeof t != "object")
|
|
500
500
|
return;
|
|
501
|
-
if (
|
|
501
|
+
if (Ue(t))
|
|
502
502
|
for (var u = 0; u < t.length; u++) {
|
|
503
503
|
var b = t[u];
|
|
504
504
|
Ke(b) && ot(b, i);
|
|
@@ -508,7 +508,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
508
508
|
else if (t) {
|
|
509
509
|
var A = y(t);
|
|
510
510
|
if (typeof A == "function" && A !== t.entries)
|
|
511
|
-
for (var
|
|
511
|
+
for (var S = A.call(t), P; !(P = S.next()).done; )
|
|
512
512
|
Ke(P.value) && ot(P.value, i);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
@@ -528,11 +528,11 @@ Check the top-level render call using <` + u + ">.");
|
|
|
528
528
|
else
|
|
529
529
|
return;
|
|
530
530
|
if (u) {
|
|
531
|
-
var b =
|
|
531
|
+
var b = M(i);
|
|
532
532
|
St(u, t.props, "prop", b, t);
|
|
533
533
|
} else if (i.PropTypes !== void 0 && !We) {
|
|
534
534
|
We = !0;
|
|
535
|
-
var A =
|
|
535
|
+
var A = M(i);
|
|
536
536
|
w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", A || "Unknown");
|
|
537
537
|
}
|
|
538
538
|
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -551,35 +551,35 @@ Check the top-level render call using <` + u + ">.");
|
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
var lt = {};
|
|
554
|
-
function dt(t, i, u, b, A,
|
|
554
|
+
function dt(t, i, u, b, A, S) {
|
|
555
555
|
{
|
|
556
556
|
var P = H(t);
|
|
557
557
|
if (!P) {
|
|
558
558
|
var N = "";
|
|
559
559
|
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (N += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
560
|
-
var
|
|
561
|
-
|
|
562
|
-
var
|
|
563
|
-
t === null ?
|
|
560
|
+
var z = Wt();
|
|
561
|
+
z ? N += z : N += it();
|
|
562
|
+
var B;
|
|
563
|
+
t === null ? B = "null" : Ue(t) ? B = "array" : t !== void 0 && t.$$typeof === r ? (B = "<" + (M(t.type) || "Unknown") + " />", N = " Did you accidentally export a JSX literal instead of a component?") : B = typeof t, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", B, N);
|
|
564
564
|
}
|
|
565
|
-
var
|
|
566
|
-
if (
|
|
567
|
-
return
|
|
565
|
+
var U = qt(t, i, u, A, S);
|
|
566
|
+
if (U == null)
|
|
567
|
+
return U;
|
|
568
568
|
if (P) {
|
|
569
|
-
var
|
|
570
|
-
if (
|
|
569
|
+
var ne = i.children;
|
|
570
|
+
if (ne !== void 0)
|
|
571
571
|
if (b)
|
|
572
|
-
if (
|
|
573
|
-
for (var je = 0; je <
|
|
574
|
-
ct(
|
|
575
|
-
Object.freeze && Object.freeze(
|
|
572
|
+
if (Ue(ne)) {
|
|
573
|
+
for (var je = 0; je < ne.length; je++)
|
|
574
|
+
ct(ne[je], t);
|
|
575
|
+
Object.freeze && Object.freeze(ne);
|
|
576
576
|
} else
|
|
577
577
|
w("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
578
|
else
|
|
579
|
-
ct(
|
|
579
|
+
ct(ne, t);
|
|
580
580
|
}
|
|
581
581
|
if (Ae.call(i, "key")) {
|
|
582
|
-
var ge =
|
|
582
|
+
var ge = M(t), Z = Object.keys(i).filter(function(Xt) {
|
|
583
583
|
return Xt !== "key";
|
|
584
584
|
}), He = Z.length > 0 ? "{key: someKey, " + Z.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
585
585
|
if (!lt[ge + He]) {
|
|
@@ -592,7 +592,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
592
592
|
<%s key={someKey} {...props} />`, He, ge, Jt, ge), lt[ge + He] = !0;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
return t === d ? Yt(
|
|
595
|
+
return t === d ? Yt(U) : Ht(U), U;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
function Gt(t, i, u) {
|
|
@@ -619,7 +619,7 @@ const nn = "_container_nm3gb_1", an = "_main_nm3gb_6", rn = "_langDropdownWrap_n
|
|
|
619
619
|
langLabel: cn,
|
|
620
620
|
langMenu: ln,
|
|
621
621
|
langOption: dn
|
|
622
|
-
}, yt = ["en", "hi"],
|
|
622
|
+
}, yt = ["en", "hi"], Me = {
|
|
623
623
|
en: "English",
|
|
624
624
|
hi: "हिन्दी"
|
|
625
625
|
}, Ve = {
|
|
@@ -983,16 +983,20 @@ const un = "_container_1e1th_1", mn = "_main_1e1th_7", hn = "_kundliHeaderNoBord
|
|
|
983
983
|
proceedHref: j,
|
|
984
984
|
originalPriceLabel: x,
|
|
985
985
|
discountedPriceLabel: y,
|
|
986
|
-
discountPillLabel:
|
|
986
|
+
discountPillLabel: O,
|
|
987
987
|
analytics: w,
|
|
988
988
|
onLocaleChange: E,
|
|
989
|
-
children:
|
|
989
|
+
children: F
|
|
990
990
|
}) => {
|
|
991
|
-
const [
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
991
|
+
const [C, G] = K("landing"), [q, V] = K(n ?? "en"), [L, H] = K(yn), X = W(!0);
|
|
992
|
+
J(() => {
|
|
993
|
+
if (X.current) {
|
|
994
|
+
X.current = !1;
|
|
995
|
+
return;
|
|
996
|
+
}
|
|
997
|
+
E?.(q);
|
|
998
|
+
}, [q, E]);
|
|
999
|
+
const D = Fe(
|
|
996
1000
|
() => ({
|
|
997
1001
|
locale: n,
|
|
998
1002
|
showLanguageSelector: r,
|
|
@@ -1011,7 +1015,7 @@ const un = "_container_1e1th_1", mn = "_main_1e1th_7", hn = "_kundliHeaderNoBord
|
|
|
1011
1015
|
proceedHref: j,
|
|
1012
1016
|
originalPriceLabel: x,
|
|
1013
1017
|
discountedPriceLabel: y,
|
|
1014
|
-
discountPillLabel:
|
|
1018
|
+
discountPillLabel: O,
|
|
1015
1019
|
analytics: w,
|
|
1016
1020
|
onLocaleChange: E
|
|
1017
1021
|
}),
|
|
@@ -1033,29 +1037,29 @@ const un = "_container_1e1th_1", mn = "_main_1e1th_7", hn = "_kundliHeaderNoBord
|
|
|
1033
1037
|
j,
|
|
1034
1038
|
x,
|
|
1035
1039
|
y,
|
|
1036
|
-
|
|
1040
|
+
O,
|
|
1037
1041
|
w,
|
|
1038
1042
|
E
|
|
1039
1043
|
]
|
|
1040
|
-
),
|
|
1044
|
+
), M = Pe(() => {
|
|
1041
1045
|
G("form");
|
|
1042
|
-
}, [
|
|
1043
|
-
G("landing"),
|
|
1044
|
-
}, [
|
|
1046
|
+
}, [D.analytics]), Y = Pe(() => {
|
|
1047
|
+
G("landing"), D.onBack?.();
|
|
1048
|
+
}, [D.onBack]), ee = Fe(
|
|
1045
1049
|
() => ({
|
|
1046
|
-
view:
|
|
1047
|
-
locale:
|
|
1050
|
+
view: C,
|
|
1051
|
+
locale: q,
|
|
1048
1052
|
setLocale: V,
|
|
1049
|
-
config:
|
|
1050
|
-
formValues:
|
|
1053
|
+
config: D,
|
|
1054
|
+
formValues: L,
|
|
1051
1055
|
setFormValues: H,
|
|
1052
|
-
goToForm:
|
|
1053
|
-
goToPage:
|
|
1054
|
-
onProceed:
|
|
1056
|
+
goToForm: M,
|
|
1057
|
+
goToPage: Y,
|
|
1058
|
+
onProceed: D.onProceed
|
|
1055
1059
|
}),
|
|
1056
|
-
[
|
|
1060
|
+
[C, q, D, L, M, Y]
|
|
1057
1061
|
);
|
|
1058
|
-
return /* @__PURE__ */ e.jsx(ze.Provider, { value:
|
|
1062
|
+
return /* @__PURE__ */ e.jsx(ze.Provider, { value: ee, children: F });
|
|
1059
1063
|
};
|
|
1060
1064
|
function Ie() {
|
|
1061
1065
|
return Ge(ze);
|
|
@@ -1112,7 +1116,7 @@ const jn = "_header_1414z_1", wn = "_left_1414z_7", Nn = "_backBtn_1414z_11", Pn
|
|
|
1112
1116
|
/* @__PURE__ */ e.jsx("h1", { className: ve.title, children: n("formTitle") }),
|
|
1113
1117
|
/* @__PURE__ */ e.jsx("p", { className: ve.subtitle, children: n("formSubtitle") })
|
|
1114
1118
|
] })
|
|
1115
|
-
] }) }), Rn = "_wrap_n65ep_1", In = "_card_n65ep_5", $n = "_cardInner_n65ep_12", On = "_field_n65ep_16", Ln = "_labelRow_n65ep_20", Dn = "_label_n65ep_20", Bn = "_req_n65ep_29", Fn = "_help_n65ep_33",
|
|
1119
|
+
] }) }), Rn = "_wrap_n65ep_1", In = "_card_n65ep_5", $n = "_cardInner_n65ep_12", On = "_field_n65ep_16", Ln = "_labelRow_n65ep_20", Dn = "_label_n65ep_20", Bn = "_req_n65ep_29", Fn = "_help_n65ep_33", Mn = "_infoBtn_n65ep_40", Un = "_infoImg_n65ep_57", qn = "_infoWrap_n65ep_63", Wn = "_tooltip_n65ep_69", Kn = "_tooltipArrow_n65ep_85", Hn = "_inputWrap_n65ep_96", Yn = "_suggestions_n65ep_100", Gn = "_suggestionItem_n65ep_113", Vn = "_suggestionMain_n65ep_131", zn = "_suggestionSecondary_n65ep_137", Qn = "_suggestionsHint_n65ep_142", Jn = "_timePopover_n65ep_157", Xn = "_timePickerRow_n65ep_173", Zn = "_timePickerSelect_n65ep_179", ea = "_timePickerColon_n65ep_193", ta = "_meridiemToggle_n65ep_200", na = "_meridiemBtn_n65ep_208", aa = "_meridiemActive_n65ep_222", ra = "_timePopoverActions_n65ep_227", ia = "_timePopoverBtn_n65ep_233", sa = "_timePopoverOk_n65ep_252", oa = "_input_n65ep_96", ca = "_iconBtn_n65ep_296", la = "_iconBtnInteractive_n65ep_302", da = "_iconImg_n65ep_321", ua = "_checkboxRow_n65ep_327", ma = "_checkbox_n65ep_327", ha = "_checkboxText_n65ep_365", s = {
|
|
1116
1120
|
wrap: Rn,
|
|
1117
1121
|
card: In,
|
|
1118
1122
|
cardInner: $n,
|
|
@@ -1121,8 +1125,8 @@ const jn = "_header_1414z_1", wn = "_left_1414z_7", Nn = "_backBtn_1414z_11", Pn
|
|
|
1121
1125
|
label: Dn,
|
|
1122
1126
|
req: Bn,
|
|
1123
1127
|
help: Fn,
|
|
1124
|
-
infoBtn:
|
|
1125
|
-
infoImg:
|
|
1128
|
+
infoBtn: Mn,
|
|
1129
|
+
infoImg: Un,
|
|
1126
1130
|
infoWrap: qn,
|
|
1127
1131
|
tooltip: Wn,
|
|
1128
1132
|
tooltipArrow: Kn,
|
|
@@ -1183,7 +1187,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1183
1187
|
}, f.onerror = () => d(new Error("Failed to load Google Maps API")), document.head.appendChild(f);
|
|
1184
1188
|
}), Be), pa = (n) => {
|
|
1185
1189
|
const { apiKey: r, language: c = "en", restrictCountry: d } = n, [o, f] = K(!1), [p, m] = K([]), [l, v] = K(!1), [_, g] = K(null), k = W(null), T = W(null), j = W(null);
|
|
1186
|
-
|
|
1190
|
+
J(() => {
|
|
1187
1191
|
if (!r) {
|
|
1188
1192
|
f(!1), g(null);
|
|
1189
1193
|
return;
|
|
@@ -1210,21 +1214,21 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1210
1214
|
sessionToken: j.current ?? void 0
|
|
1211
1215
|
};
|
|
1212
1216
|
d && (E.componentRestrictions = { country: d });
|
|
1213
|
-
const
|
|
1217
|
+
const F = await new Promise((C, G) => {
|
|
1214
1218
|
k.current.getPlacePredictions(
|
|
1215
1219
|
E,
|
|
1216
|
-
(
|
|
1217
|
-
V === google.maps.places.PlacesServiceStatus.OK &&
|
|
1220
|
+
(q, V) => {
|
|
1221
|
+
V === google.maps.places.PlacesServiceStatus.OK && q ? C(q) : V === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? C([]) : G(new Error(`Places API error: ${V}`));
|
|
1218
1222
|
}
|
|
1219
1223
|
);
|
|
1220
1224
|
});
|
|
1221
1225
|
m(
|
|
1222
|
-
|
|
1223
|
-
place_id:
|
|
1224
|
-
description:
|
|
1226
|
+
F.map((C) => ({
|
|
1227
|
+
place_id: C.place_id,
|
|
1228
|
+
description: C.description,
|
|
1225
1229
|
structured_formatting: {
|
|
1226
|
-
main_text:
|
|
1227
|
-
secondary_text:
|
|
1230
|
+
main_text: C.structured_formatting?.main_text || C.description,
|
|
1231
|
+
secondary_text: C.structured_formatting?.secondary_text || ""
|
|
1228
1232
|
}
|
|
1229
1233
|
}))
|
|
1230
1234
|
);
|
|
@@ -1240,30 +1244,30 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1240
1244
|
if (!T.current) return null;
|
|
1241
1245
|
try {
|
|
1242
1246
|
const E = await new Promise(
|
|
1243
|
-
(
|
|
1247
|
+
(L, H) => {
|
|
1244
1248
|
T.current.getDetails(
|
|
1245
1249
|
{
|
|
1246
1250
|
placeId: w,
|
|
1247
1251
|
fields: ["geometry", "address_components", "formatted_address"],
|
|
1248
1252
|
sessionToken: j.current ?? void 0
|
|
1249
1253
|
},
|
|
1250
|
-
(
|
|
1251
|
-
|
|
1254
|
+
(X, D) => {
|
|
1255
|
+
D === google.maps.places.PlacesServiceStatus.OK && X ? L(X) : H(new Error(`Place details error: ${D}`));
|
|
1252
1256
|
}
|
|
1253
1257
|
);
|
|
1254
1258
|
}
|
|
1255
1259
|
);
|
|
1256
1260
|
j.current = new google.maps.places.AutocompleteSessionToken();
|
|
1257
|
-
const
|
|
1258
|
-
let G = "",
|
|
1259
|
-
return E.address_components?.forEach((
|
|
1260
|
-
|
|
1261
|
+
const F = E.geometry?.location?.lat() || 0, C = E.geometry?.location?.lng() || 0;
|
|
1262
|
+
let G = "", q = "", V = "";
|
|
1263
|
+
return E.address_components?.forEach((L) => {
|
|
1264
|
+
L.types.includes("locality") && (G = L.long_name), L.types.includes("administrative_area_level_1") && (q = L.long_name), L.types.includes("country") && (V = L.long_name);
|
|
1261
1265
|
}), {
|
|
1262
1266
|
display_name: E.formatted_address || "",
|
|
1263
|
-
lat:
|
|
1264
|
-
lng:
|
|
1267
|
+
lat: F,
|
|
1268
|
+
lng: C,
|
|
1265
1269
|
city: G,
|
|
1266
|
-
state:
|
|
1270
|
+
state: q,
|
|
1267
1271
|
country: V
|
|
1268
1272
|
};
|
|
1269
1273
|
} catch {
|
|
@@ -1271,7 +1275,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1271
1275
|
}
|
|
1272
1276
|
},
|
|
1273
1277
|
[]
|
|
1274
|
-
),
|
|
1278
|
+
), O = Pe(() => m([]), []);
|
|
1275
1279
|
return {
|
|
1276
1280
|
isLoaded: o,
|
|
1277
1281
|
predictions: p,
|
|
@@ -1279,7 +1283,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1279
1283
|
loadError: _,
|
|
1280
1284
|
searchPlaces: x,
|
|
1281
1285
|
getPlaceDetails: y,
|
|
1282
|
-
clearPredictions:
|
|
1286
|
+
clearPredictions: O
|
|
1283
1287
|
};
|
|
1284
1288
|
}, _a = {}, we = {
|
|
1285
1289
|
time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
|
|
@@ -1305,49 +1309,49 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1305
1309
|
}[a]?.());
|
|
1306
1310
|
}, k = (a) => a.replace(/\D/g, "").slice(0, 10), T = W(null);
|
|
1307
1311
|
W(null);
|
|
1308
|
-
const j = W(null), x = W(0), y = W(null), [
|
|
1312
|
+
const j = W(null), x = W(0), y = W(null), [O, w] = K(!1), [E, F] = K({ hour12: 12, minute: "00", meridiem: "AM" }), C = (a) => String(a).padStart(2, "0"), G = (a) => {
|
|
1309
1313
|
const h = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1310
1314
|
if (!h) return a;
|
|
1311
|
-
const
|
|
1312
|
-
return `${
|
|
1313
|
-
},
|
|
1315
|
+
const $ = Number(h[1]), te = h[2], de = $ >= 12 ? "PM" : "AM";
|
|
1316
|
+
return `${$ % 12 === 0 ? 12 : $ % 12}:${te} ${de}`;
|
|
1317
|
+
}, q = (a) => {
|
|
1314
1318
|
const h = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1315
1319
|
if (!h) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1316
|
-
const
|
|
1317
|
-
return { hour12:
|
|
1320
|
+
const $ = Number(h[1]), te = h[2], de = $ >= 12 ? "PM" : "AM";
|
|
1321
|
+
return { hour12: $ % 12 === 0 ? 12 : $ % 12, minute: te, meridiem: de };
|
|
1318
1322
|
}, V = (a) => {
|
|
1319
|
-
const h = Math.min(12, Math.max(1, a.hour12)),
|
|
1320
|
-
let
|
|
1321
|
-
return a.meridiem === "PM" && (
|
|
1322
|
-
},
|
|
1323
|
+
const h = Math.min(12, Math.max(1, a.hour12)), $ = /^([0-5]\d)$/.test(a.minute) ? a.minute : "00";
|
|
1324
|
+
let te = h % 12;
|
|
1325
|
+
return a.meridiem === "PM" && (te += 12), `${C(te)}:${$}`;
|
|
1326
|
+
}, L = W(null), [H, X] = K(!1), [D, M] = K(
|
|
1323
1327
|
null
|
|
1324
|
-
),
|
|
1328
|
+
), Y = o ?? _a?.VITE_GOOGLE_MAPS_API_KEY, ee = (r.birthPlace ?? "").trim(), xe = l ? void 0 : "in", ye = "en", {
|
|
1325
1329
|
predictions: me,
|
|
1326
1330
|
isSearching: he,
|
|
1327
1331
|
loadError: fe,
|
|
1328
1332
|
searchPlaces: pe,
|
|
1329
1333
|
clearPredictions: ie
|
|
1330
1334
|
} = pa({
|
|
1331
|
-
apiKey:
|
|
1335
|
+
apiKey: Y,
|
|
1332
1336
|
language: ye,
|
|
1333
1337
|
restrictCountry: xe
|
|
1334
1338
|
});
|
|
1335
|
-
|
|
1339
|
+
J(() => {
|
|
1336
1340
|
const a = (h) => {
|
|
1337
|
-
|
|
1341
|
+
L.current && (L.current.contains(h.target) || X(!1));
|
|
1338
1342
|
};
|
|
1339
1343
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1340
|
-
}, []),
|
|
1344
|
+
}, []), J(() => {
|
|
1341
1345
|
if (!H) return;
|
|
1342
|
-
if (
|
|
1346
|
+
if (ee.length < 2) {
|
|
1343
1347
|
ie();
|
|
1344
1348
|
return;
|
|
1345
1349
|
}
|
|
1346
1350
|
const a = window.setTimeout(async () => {
|
|
1347
|
-
await pe(
|
|
1351
|
+
await pe(ee);
|
|
1348
1352
|
}, 250);
|
|
1349
1353
|
return () => window.clearTimeout(a);
|
|
1350
|
-
}, [ie, H,
|
|
1354
|
+
}, [ie, H, ee, pe]);
|
|
1351
1355
|
const _e = (a) => {
|
|
1352
1356
|
const h = a.current;
|
|
1353
1357
|
if (!(!h || h.disabled)) {
|
|
@@ -1362,16 +1366,16 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1362
1366
|
h.focus(), j.current = h, x.current = Date.now();
|
|
1363
1367
|
}
|
|
1364
1368
|
};
|
|
1365
|
-
return
|
|
1369
|
+
return J(() => {
|
|
1366
1370
|
const a = (h) => {
|
|
1367
1371
|
y.current && (y.current.contains(h.target) || w(!1));
|
|
1368
1372
|
};
|
|
1369
1373
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1370
|
-
}, []),
|
|
1371
|
-
const a = (
|
|
1372
|
-
|
|
1373
|
-
}, h = (
|
|
1374
|
-
|
|
1374
|
+
}, []), J(() => {
|
|
1375
|
+
const a = ($) => {
|
|
1376
|
+
$.target?.closest?.("[data-info-tooltip]") == null && M(null);
|
|
1377
|
+
}, h = ($) => {
|
|
1378
|
+
$.key === "Escape" && M(null);
|
|
1375
1379
|
};
|
|
1376
1380
|
return document.addEventListener("mousedown", a), document.addEventListener("keydown", h), () => {
|
|
1377
1381
|
document.removeEventListener("mousedown", a), document.removeEventListener("keydown", h);
|
|
@@ -1465,9 +1469,9 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1465
1469
|
type: "button",
|
|
1466
1470
|
className: s.infoBtn,
|
|
1467
1471
|
"aria-label": n("info"),
|
|
1468
|
-
"aria-expanded":
|
|
1472
|
+
"aria-expanded": D === "dob",
|
|
1469
1473
|
onClick: () => {
|
|
1470
|
-
|
|
1474
|
+
M((a) => a === "dob" ? null : "dob"), m?.trackInfoIconClicked?.({ fieldName: "dob" });
|
|
1471
1475
|
},
|
|
1472
1476
|
children: /* @__PURE__ */ e.jsx(
|
|
1473
1477
|
"img",
|
|
@@ -1480,7 +1484,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1480
1484
|
)
|
|
1481
1485
|
}
|
|
1482
1486
|
),
|
|
1483
|
-
|
|
1487
|
+
D === "dob" && /* @__PURE__ */ e.jsxs("div", { className: s.tooltip, role: "tooltip", children: [
|
|
1484
1488
|
n("formDobInfo"),
|
|
1485
1489
|
/* @__PURE__ */ e.jsx("span", { className: s.tooltipArrow, "aria-hidden": !0 })
|
|
1486
1490
|
] })
|
|
@@ -1495,9 +1499,13 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1495
1499
|
type: "date",
|
|
1496
1500
|
ref: T,
|
|
1497
1501
|
value: r.dateOfBirth,
|
|
1502
|
+
max: (() => {
|
|
1503
|
+
const a = /* @__PURE__ */ new Date();
|
|
1504
|
+
return `${a.getFullYear()}-${C(a.getMonth() + 1)}-${C(a.getDate())}`;
|
|
1505
|
+
})(),
|
|
1498
1506
|
onChange: (a) => {
|
|
1499
|
-
const h = a.target.value
|
|
1500
|
-
_({ dateOfBirth: h }), g("dateOfBirth", h), j.current = null;
|
|
1507
|
+
const h = a.target.value, $ = /* @__PURE__ */ new Date(), te = `${$.getFullYear()}-${C($.getMonth() + 1)}-${C($.getDate())}`;
|
|
1508
|
+
h && h > te || (_({ dateOfBirth: h }), g("dateOfBirth", h), j.current = null);
|
|
1501
1509
|
},
|
|
1502
1510
|
onFocus: () => m?.trackDobClicked?.(),
|
|
1503
1511
|
onClick: () => _e(T),
|
|
@@ -1542,9 +1550,9 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1542
1550
|
type: "button",
|
|
1543
1551
|
className: s.infoBtn,
|
|
1544
1552
|
"aria-label": n("info"),
|
|
1545
|
-
"aria-expanded":
|
|
1553
|
+
"aria-expanded": D === "time",
|
|
1546
1554
|
onClick: () => {
|
|
1547
|
-
m?.trackInfoIconClicked?.({ fieldName: "time" }),
|
|
1555
|
+
m?.trackInfoIconClicked?.({ fieldName: "time" }), M((a) => a === "time" ? null : "time");
|
|
1548
1556
|
},
|
|
1549
1557
|
children: /* @__PURE__ */ e.jsx(
|
|
1550
1558
|
"img",
|
|
@@ -1557,7 +1565,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1557
1565
|
)
|
|
1558
1566
|
}
|
|
1559
1567
|
),
|
|
1560
|
-
|
|
1568
|
+
D === "time" && /* @__PURE__ */ e.jsxs("div", { className: s.tooltip, role: "tooltip", children: [
|
|
1561
1569
|
n("formBirthTimeInfo"),
|
|
1562
1570
|
/* @__PURE__ */ e.jsx("span", { className: s.tooltipArrow, "aria-hidden": !0 })
|
|
1563
1571
|
] })
|
|
@@ -1580,7 +1588,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1580
1588
|
disabled: r.birthTimeUnknown,
|
|
1581
1589
|
placeholder: "HH:MM AM",
|
|
1582
1590
|
onClick: () => {
|
|
1583
|
-
r.birthTimeUnknown || (
|
|
1591
|
+
r.birthTimeUnknown || (F(q(r.birthTime || "12:00")), w((a) => !a));
|
|
1584
1592
|
}
|
|
1585
1593
|
}
|
|
1586
1594
|
),
|
|
@@ -1593,7 +1601,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1593
1601
|
disabled: r.birthTimeUnknown,
|
|
1594
1602
|
onMouseDown: (a) => a.preventDefault(),
|
|
1595
1603
|
onClick: (a) => {
|
|
1596
|
-
a.preventDefault(), a.stopPropagation(), !r.birthTimeUnknown && (
|
|
1604
|
+
a.preventDefault(), a.stopPropagation(), !r.birthTimeUnknown && (F(q(r.birthTime || "12:00")), w((h) => !h));
|
|
1597
1605
|
},
|
|
1598
1606
|
children: /* @__PURE__ */ e.jsx(
|
|
1599
1607
|
"img",
|
|
@@ -1606,7 +1614,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1606
1614
|
)
|
|
1607
1615
|
}
|
|
1608
1616
|
),
|
|
1609
|
-
|
|
1617
|
+
O && !r.birthTimeUnknown && /* @__PURE__ */ e.jsxs(
|
|
1610
1618
|
"div",
|
|
1611
1619
|
{
|
|
1612
1620
|
className: s.timePopover,
|
|
@@ -1619,7 +1627,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1619
1627
|
{
|
|
1620
1628
|
className: s.timePickerSelect,
|
|
1621
1629
|
value: E.hour12,
|
|
1622
|
-
onChange: (a) =>
|
|
1630
|
+
onChange: (a) => F((h) => ({
|
|
1623
1631
|
...h,
|
|
1624
1632
|
hour12: Number(a.target.value)
|
|
1625
1633
|
})),
|
|
@@ -1633,9 +1641,9 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1633
1641
|
{
|
|
1634
1642
|
className: s.timePickerSelect,
|
|
1635
1643
|
value: E.minute,
|
|
1636
|
-
onChange: (a) =>
|
|
1644
|
+
onChange: (a) => F((h) => ({ ...h, minute: a.target.value })),
|
|
1637
1645
|
"aria-label": "Minute",
|
|
1638
|
-
children: Array.from({ length: 60 }, (a, h) =>
|
|
1646
|
+
children: Array.from({ length: 60 }, (a, h) => C(h)).map(
|
|
1639
1647
|
(a) => /* @__PURE__ */ e.jsx("option", { value: a, children: a }, a)
|
|
1640
1648
|
)
|
|
1641
1649
|
}
|
|
@@ -1646,7 +1654,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1646
1654
|
{
|
|
1647
1655
|
type: "button",
|
|
1648
1656
|
className: `${s.meridiemBtn} ${E.meridiem === "AM" ? s.meridiemActive : ""}`,
|
|
1649
|
-
onClick: () =>
|
|
1657
|
+
onClick: () => F((a) => ({ ...a, meridiem: "AM" })),
|
|
1650
1658
|
children: "AM"
|
|
1651
1659
|
}
|
|
1652
1660
|
),
|
|
@@ -1655,7 +1663,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1655
1663
|
{
|
|
1656
1664
|
type: "button",
|
|
1657
1665
|
className: `${s.meridiemBtn} ${E.meridiem === "PM" ? s.meridiemActive : ""}`,
|
|
1658
|
-
onClick: () =>
|
|
1666
|
+
onClick: () => F((a) => ({ ...a, meridiem: "PM" })),
|
|
1659
1667
|
children: "PM"
|
|
1660
1668
|
}
|
|
1661
1669
|
)
|
|
@@ -1751,9 +1759,9 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1751
1759
|
type: "button",
|
|
1752
1760
|
className: s.infoBtn,
|
|
1753
1761
|
"aria-label": n("info"),
|
|
1754
|
-
"aria-expanded":
|
|
1762
|
+
"aria-expanded": D === "place",
|
|
1755
1763
|
onClick: () => {
|
|
1756
|
-
m?.trackInfoIconClicked?.({ fieldName: "birthPlace" }),
|
|
1764
|
+
m?.trackInfoIconClicked?.({ fieldName: "birthPlace" }), M((a) => a === "place" ? null : "place");
|
|
1757
1765
|
},
|
|
1758
1766
|
children: /* @__PURE__ */ e.jsx(
|
|
1759
1767
|
"img",
|
|
@@ -1766,13 +1774,13 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1766
1774
|
)
|
|
1767
1775
|
}
|
|
1768
1776
|
),
|
|
1769
|
-
|
|
1777
|
+
D === "place" && /* @__PURE__ */ e.jsxs("div", { className: s.tooltip, role: "tooltip", children: [
|
|
1770
1778
|
n("formBirthPlaceInfo"),
|
|
1771
1779
|
/* @__PURE__ */ e.jsx("span", { className: s.tooltipArrow, "aria-hidden": !0 })
|
|
1772
1780
|
] })
|
|
1773
1781
|
] })
|
|
1774
1782
|
] }),
|
|
1775
|
-
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref:
|
|
1783
|
+
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref: L, children: [
|
|
1776
1784
|
/* @__PURE__ */ e.jsx(
|
|
1777
1785
|
"input",
|
|
1778
1786
|
{
|
|
@@ -1782,10 +1790,10 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1782
1790
|
value: r.birthPlace,
|
|
1783
1791
|
onChange: (a) => {
|
|
1784
1792
|
const h = a.target.value;
|
|
1785
|
-
_({ birthPlace: h }), g("birthPlace", h),
|
|
1793
|
+
_({ birthPlace: h }), g("birthPlace", h), X(!0);
|
|
1786
1794
|
},
|
|
1787
1795
|
onFocus: () => {
|
|
1788
|
-
m?.trackPlaceOfBirthClicked?.(),
|
|
1796
|
+
m?.trackPlaceOfBirthClicked?.(), X(!0);
|
|
1789
1797
|
},
|
|
1790
1798
|
placeholder: n("formBirthPlacePlaceholder"),
|
|
1791
1799
|
autoComplete: "address-level2"
|
|
@@ -1806,7 +1814,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1806
1814
|
type: "button",
|
|
1807
1815
|
className: s.suggestionItem,
|
|
1808
1816
|
onClick: () => {
|
|
1809
|
-
_({ birthPlace: a.description }), ie(),
|
|
1817
|
+
_({ birthPlace: a.description }), ie(), X(!1);
|
|
1810
1818
|
},
|
|
1811
1819
|
children: [
|
|
1812
1820
|
/* @__PURE__ */ e.jsx("span", { className: s.suggestionMain, children: a.structured_formatting?.main_text ?? a.description }),
|
|
@@ -1815,14 +1823,14 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1815
1823
|
},
|
|
1816
1824
|
a.place_id
|
|
1817
1825
|
)) }),
|
|
1818
|
-
H &&
|
|
1819
|
-
H &&
|
|
1826
|
+
H && Y && he && /* @__PURE__ */ e.jsx("div", { className: s.suggestionsHint, children: "Loading…" }),
|
|
1827
|
+
H && Y && !he && !!fe && /* @__PURE__ */ e.jsx("div", { className: s.suggestionsHint, children: fe })
|
|
1820
1828
|
] })
|
|
1821
1829
|
] })
|
|
1822
1830
|
] }) })
|
|
1823
1831
|
}
|
|
1824
1832
|
);
|
|
1825
|
-
}, ba = "_footer_15g1k_1", va = "_inner_15g1k_7", xa = "_badges_15g1k_11", ya = "_marqueeTrack_15g1k_18", ka = "_marqueeContent_15g1k_24", ja = "_badge_15g1k_11", wa = "_badgeIcon_15g1k_47", Na = "_ctaWrap_15g1k_51", Pa = "_ctaStruck_15g1k_55", Ta = "_ctaButton_15g1k_61", Aa = "_offerRow_15g1k_81", Ea = "_pill_15g1k_88",
|
|
1833
|
+
}, ba = "_footer_15g1k_1", va = "_inner_15g1k_7", xa = "_badges_15g1k_11", ya = "_marqueeTrack_15g1k_18", ka = "_marqueeContent_15g1k_24", ja = "_badge_15g1k_11", wa = "_badgeIcon_15g1k_47", Na = "_ctaWrap_15g1k_51", Pa = "_ctaStruck_15g1k_55", Ta = "_ctaButton_15g1k_61", Aa = "_offerRow_15g1k_81", Ea = "_pill_15g1k_88", R = {
|
|
1826
1834
|
footer: ba,
|
|
1827
1835
|
inner: va,
|
|
1828
1836
|
badges: xa,
|
|
@@ -1839,9 +1847,9 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1839
1847
|
marquee: n,
|
|
1840
1848
|
children: r,
|
|
1841
1849
|
className: c = ""
|
|
1842
|
-
}) => /* @__PURE__ */ e.jsx("footer", { className: `${
|
|
1843
|
-
n != null && /* @__PURE__ */ e.jsx("div", { className:
|
|
1844
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1850
|
+
}) => /* @__PURE__ */ e.jsx("footer", { className: `${R.footer} ${c}`, role: "contentinfo", children: /* @__PURE__ */ e.jsxs("div", { className: R.inner, children: [
|
|
1851
|
+
n != null && /* @__PURE__ */ e.jsx("div", { className: R.badges, "aria-hidden": !0, children: n }),
|
|
1852
|
+
/* @__PURE__ */ e.jsx("div", { className: R.ctaWrap, children: r })
|
|
1845
1853
|
] }) }), Pt = ({
|
|
1846
1854
|
children: n,
|
|
1847
1855
|
href: r,
|
|
@@ -1850,7 +1858,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1850
1858
|
className: o = "",
|
|
1851
1859
|
"aria-label": f
|
|
1852
1860
|
}) => {
|
|
1853
|
-
const p = `${
|
|
1861
|
+
const p = `${R.ctaButton} ${o}`.trim(), m = f != null ? { "aria-label": f } : {};
|
|
1854
1862
|
return r != null ? /* @__PURE__ */ e.jsx(
|
|
1855
1863
|
"a",
|
|
1856
1864
|
{
|
|
@@ -1893,13 +1901,13 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1893
1901
|
return !(!r.dateOfBirth || !r.birthPlace.trim() || !r.birthTimeUnknown && !r.birthTime);
|
|
1894
1902
|
}, [_, r]), k = _ ? p ?? n("formOriginalPrice") : "₹999", T = _ ? m ?? n("formDiscountedPrice") : "₹249", j = l ?? n("formDiscountPill"), x = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1895
1903
|
n("formProceed"),
|
|
1896
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1904
|
+
/* @__PURE__ */ e.jsx("span", { className: R.ctaStruck, children: k }),
|
|
1897
1905
|
" ",
|
|
1898
1906
|
T
|
|
1899
1907
|
] }), y = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1900
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1908
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.offerRow, children: [
|
|
1901
1909
|
/* @__PURE__ */ e.jsx("span", { children: n("formOfferEnding") }),
|
|
1902
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1910
|
+
/* @__PURE__ */ e.jsx("span", { className: R.pill, children: j })
|
|
1903
1911
|
] }),
|
|
1904
1912
|
/* @__PURE__ */ e.jsx(
|
|
1905
1913
|
Pt,
|
|
@@ -1915,7 +1923,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1915
1923
|
)
|
|
1916
1924
|
] });
|
|
1917
1925
|
return /* @__PURE__ */ e.jsx(Nt, { className: f, children: y });
|
|
1918
|
-
}, Ia = "_header_dbx4y_1", $a = "_brand_dbx4y_7", Oa = "_logo_dbx4y_11", La = "_logoImg_dbx4y_15", Da = "_logoPlaceholder_dbx4y_21", Ba = "_brandText_dbx4y_29", Fa = "_brandName_dbx4y_33",
|
|
1926
|
+
}, Ia = "_header_dbx4y_1", $a = "_brand_dbx4y_7", Oa = "_logo_dbx4y_11", La = "_logoImg_dbx4y_15", Da = "_logoPlaceholder_dbx4y_21", Ba = "_brandText_dbx4y_29", Fa = "_brandName_dbx4y_33", Ma = "_rating_dbx4y_38", Ua = "_stars_dbx4y_44", qa = "_langSlot_dbx4y_49", oe = {
|
|
1919
1927
|
header: Ia,
|
|
1920
1928
|
brand: $a,
|
|
1921
1929
|
logo: Oa,
|
|
@@ -1923,8 +1931,8 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1923
1931
|
logoPlaceholder: Da,
|
|
1924
1932
|
brandText: Ba,
|
|
1925
1933
|
brandName: Fa,
|
|
1926
|
-
rating:
|
|
1927
|
-
stars:
|
|
1934
|
+
rating: Ma,
|
|
1935
|
+
stars: Ua,
|
|
1928
1936
|
langSlot: qa
|
|
1929
1937
|
}, Wa = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Tt = ({
|
|
1930
1938
|
t: n,
|
|
@@ -1961,7 +1969,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1961
1969
|
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: Se.title, children: n("heroTitle") }),
|
|
1962
1970
|
/* @__PURE__ */ e.jsx("p", { className: Se.subtitle, children: n("heroSubtitle") }),
|
|
1963
1971
|
/* @__PURE__ */ e.jsx("div", { className: Se.topicTags, role: "list", children: za.map((c) => /* @__PURE__ */ e.jsx("span", { className: Se.tag, role: "listitem", children: n(c) }, c)) })
|
|
1964
|
-
] }), Ja = "_section_i33wa_1", Xa = "_inner_i33wa_9", Za = "_content_i33wa_13", er = "_headline_i33wa_17", tr = "_headlineLine_i33wa_22", nr = "_headlinePill_i33wa_27", ar = "_headlinePlain_i33wa_42", rr = "_featureList_i33wa_53", ir = "_featureItem_i33wa_57", sr = "_featureIcon_i33wa_62", or = "_reportImage_i33wa_69", cr = "_reportImg_i33wa_76",
|
|
1972
|
+
] }), Ja = "_section_i33wa_1", Xa = "_inner_i33wa_9", Za = "_content_i33wa_13", er = "_headline_i33wa_17", tr = "_headlineLine_i33wa_22", nr = "_headlinePill_i33wa_27", ar = "_headlinePlain_i33wa_42", rr = "_featureList_i33wa_53", ir = "_featureItem_i33wa_57", sr = "_featureIcon_i33wa_62", or = "_reportImage_i33wa_69", cr = "_reportImg_i33wa_76", Q = {
|
|
1965
1973
|
section: Ja,
|
|
1966
1974
|
inner: Xa,
|
|
1967
1975
|
content: Za,
|
|
@@ -1991,30 +1999,30 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1991
1999
|
return /* @__PURE__ */ e.jsx(
|
|
1992
2000
|
"section",
|
|
1993
2001
|
{
|
|
1994
|
-
className: `${
|
|
2002
|
+
className: `${Q.section} ${d}`,
|
|
1995
2003
|
"aria-labelledby": "premium-headline",
|
|
1996
2004
|
role: "button",
|
|
1997
2005
|
tabIndex: 0,
|
|
1998
2006
|
onClick: o,
|
|
1999
|
-
children: /* @__PURE__ */ e.jsxs("div", { className:
|
|
2000
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2001
|
-
/* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className:
|
|
2002
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2003
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2004
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2007
|
+
children: /* @__PURE__ */ e.jsxs("div", { className: Q.inner, children: [
|
|
2008
|
+
/* @__PURE__ */ e.jsxs("div", { className: Q.content, children: [
|
|
2009
|
+
/* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: Q.headline, children: [
|
|
2010
|
+
/* @__PURE__ */ e.jsxs("span", { className: Q.headlineLine, children: [
|
|
2011
|
+
/* @__PURE__ */ e.jsx("span", { className: Q.headlinePill, children: n("premiumHeadlinePill1") }),
|
|
2012
|
+
/* @__PURE__ */ e.jsx("span", { className: Q.headlinePlain, children: n("premiumHeadlinePlain1") })
|
|
2005
2013
|
] }),
|
|
2006
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2007
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2008
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2014
|
+
/* @__PURE__ */ e.jsxs("span", { className: Q.headlineLine, children: [
|
|
2015
|
+
/* @__PURE__ */ e.jsx("span", { className: Q.headlinePlain, children: n("premiumHeadlinePlain2") }),
|
|
2016
|
+
/* @__PURE__ */ e.jsx("span", { className: Q.headlinePill, children: n("premiumHeadlinePill2") })
|
|
2009
2017
|
] })
|
|
2010
2018
|
] }),
|
|
2011
|
-
/* @__PURE__ */ e.jsx("ul", { className:
|
|
2019
|
+
/* @__PURE__ */ e.jsx("ul", { className: Q.featureList, children: dr.map((f) => /* @__PURE__ */ e.jsxs("li", { className: Q.featureItem, children: [
|
|
2012
2020
|
/* @__PURE__ */ e.jsx(
|
|
2013
2021
|
"img",
|
|
2014
2022
|
{
|
|
2015
2023
|
src: lr,
|
|
2016
2024
|
alt: "",
|
|
2017
|
-
className:
|
|
2025
|
+
className: Q.featureIcon,
|
|
2018
2026
|
width: 16,
|
|
2019
2027
|
height: 16,
|
|
2020
2028
|
"aria-hidden": !0
|
|
@@ -2023,7 +2031,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2023
2031
|
n(f)
|
|
2024
2032
|
] }, f)) })
|
|
2025
2033
|
] }),
|
|
2026
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2034
|
+
/* @__PURE__ */ e.jsx("div", { className: Q.reportImage, children: /* @__PURE__ */ e.jsx("img", { src: r, alt: "", className: Q.reportImg }) })
|
|
2027
2035
|
] })
|
|
2028
2036
|
}
|
|
2029
2037
|
);
|
|
@@ -2038,7 +2046,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2038
2046
|
}) => /* @__PURE__ */ e.jsxs("section", { className: `${Ye.section} ${c}`, "aria-labelledby": "certified-heading", children: [
|
|
2039
2047
|
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: Ye.heading, children: n("certifiedBy") }),
|
|
2040
2048
|
/* @__PURE__ */ e.jsx("img", { src: r, alt: "University Certification", className: Ye.logoImg })
|
|
2041
|
-
] }), br = "_section_fw00n_1", vr = "_heading_fw00n_6", xr = "_subtitle_fw00n_12", yr = "_stepList_fw00n_17", kr = "_stepItem_fw00n_21", jr = "_stepNumber_fw00n_25", wr = "_stepText_fw00n_31", Nr = "_step3Days_fw00n_36",
|
|
2049
|
+
] }), br = "_section_fw00n_1", vr = "_heading_fw00n_6", xr = "_subtitle_fw00n_12", yr = "_stepList_fw00n_17", kr = "_stepItem_fw00n_21", jr = "_stepNumber_fw00n_25", wr = "_stepText_fw00n_31", Nr = "_step3Days_fw00n_36", ae = {
|
|
2042
2050
|
section: br,
|
|
2043
2051
|
heading: vr,
|
|
2044
2052
|
subtitle: xr,
|
|
@@ -2054,25 +2062,25 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2054
2062
|
}) => /* @__PURE__ */ e.jsxs(
|
|
2055
2063
|
"section",
|
|
2056
2064
|
{
|
|
2057
|
-
className: `${
|
|
2065
|
+
className: `${ae.section} ${c}`,
|
|
2058
2066
|
"aria-labelledby": "steps-heading",
|
|
2059
2067
|
children: [
|
|
2060
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2061
|
-
/* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className:
|
|
2062
|
-
/* @__PURE__ */ e.jsxs("ol", { className:
|
|
2063
|
-
Pr.map((d, o) => /* @__PURE__ */ e.jsxs("li", { className:
|
|
2064
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2065
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2068
|
+
/* @__PURE__ */ e.jsx("p", { className: ae.heading, children: n("yourThreeSteps") }),
|
|
2069
|
+
/* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: ae.subtitle, children: n("threeStepsSubtitle") }),
|
|
2070
|
+
/* @__PURE__ */ e.jsxs("ol", { className: ae.stepList, children: [
|
|
2071
|
+
Pr.map((d, o) => /* @__PURE__ */ e.jsxs("li", { className: ae.stepItem, children: [
|
|
2072
|
+
/* @__PURE__ */ e.jsx("span", { className: ae.stepNumber, "aria-hidden": !0, children: o + 1 }),
|
|
2073
|
+
/* @__PURE__ */ e.jsx("span", { className: ae.stepText, children: n(d) })
|
|
2066
2074
|
] }, d)),
|
|
2067
|
-
/* @__PURE__ */ e.jsxs("li", { className:
|
|
2068
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2069
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2075
|
+
/* @__PURE__ */ e.jsxs("li", { className: ae.stepItem, children: [
|
|
2076
|
+
/* @__PURE__ */ e.jsx("span", { className: ae.stepNumber, "aria-hidden": !0, children: "3" }),
|
|
2077
|
+
/* @__PURE__ */ e.jsxs("span", { className: ae.stepText, children: [
|
|
2070
2078
|
n("step3Intro"),
|
|
2071
2079
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
2072
2080
|
r === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2073
2081
|
"in ",
|
|
2074
|
-
/* @__PURE__ */ e.jsx("strong", { className:
|
|
2075
|
-
] }) : /* @__PURE__ */ e.jsx("strong", { className:
|
|
2082
|
+
/* @__PURE__ */ e.jsx("strong", { className: ae.step3Days, children: n("step3Days") })
|
|
2083
|
+
] }) : /* @__PURE__ */ e.jsx("strong", { className: ae.step3Days, children: n("step3Days") })
|
|
2076
2084
|
] })
|
|
2077
2085
|
] })
|
|
2078
2086
|
] })
|
|
@@ -2094,7 +2102,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2094
2102
|
onClose: r,
|
|
2095
2103
|
title: c,
|
|
2096
2104
|
pdfUrl: d
|
|
2097
|
-
}) => (
|
|
2105
|
+
}) => (J(() => {
|
|
2098
2106
|
if (!n) return;
|
|
2099
2107
|
const o = (f) => {
|
|
2100
2108
|
f.key === "Escape" && r();
|
|
@@ -2165,9 +2173,9 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2165
2173
|
}
|
|
2166
2174
|
)
|
|
2167
2175
|
] });
|
|
2168
|
-
},
|
|
2169
|
-
section:
|
|
2170
|
-
heading:
|
|
2176
|
+
}, Mr = "_section_12x0j_1", Ur = "_heading_12x0j_5", qr = "_list_12x0j_10", Wr = "_item_12x0j_14", Kr = "_imageWrap_12x0j_18", Hr = "_image_12x0j_18", Yr = "_imagePlaceholder_12x0j_27", Gr = "_text_12x0j_33", Vr = "_itemTitle_12x0j_37", zr = "_itemDesc_12x0j_48", ce = {
|
|
2177
|
+
section: Mr,
|
|
2178
|
+
heading: Ur,
|
|
2171
2179
|
list: qr,
|
|
2172
2180
|
item: Wr,
|
|
2173
2181
|
imageWrap: Kr,
|
|
@@ -2448,9 +2456,9 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2448
2456
|
]
|
|
2449
2457
|
}
|
|
2450
2458
|
);
|
|
2451
|
-
},
|
|
2452
|
-
section:
|
|
2453
|
-
heading:
|
|
2459
|
+
}, Mi = "_section_aphm8_1", Ui = "_heading_aphm8_6", qi = "_content_aphm8_11", Wi = "_line_aphm8_16", Ki = "_brandName_aphm8_20", Ne = {
|
|
2460
|
+
section: Mi,
|
|
2461
|
+
heading: Ui,
|
|
2454
2462
|
content: qi,
|
|
2455
2463
|
line: Wi,
|
|
2456
2464
|
brandName: Ki
|
|
@@ -2470,32 +2478,32 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2470
2478
|
/* @__PURE__ */ e.jsx("p", { className: Ne.line, children: n("contactEmail").replace("shubham.goyal@supportmandir.com", p) })
|
|
2471
2479
|
] })
|
|
2472
2480
|
] });
|
|
2473
|
-
}, _t = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", gt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", bt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Yi = ({ t: n }) => /* @__PURE__ */ e.jsxs("div", { className:
|
|
2474
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2475
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2476
|
-
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", className:
|
|
2481
|
+
}, _t = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", gt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", bt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Yi = ({ t: n }) => /* @__PURE__ */ e.jsxs("div", { className: R.marqueeTrack, children: [
|
|
2482
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.marqueeContent, children: [
|
|
2483
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2484
|
+
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2477
2485
|
n("ctaKundliCreated")
|
|
2478
2486
|
] }),
|
|
2479
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2480
|
-
/* @__PURE__ */ e.jsx("img", { src: gt, alt: "", className:
|
|
2487
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2488
|
+
/* @__PURE__ */ e.jsx("img", { src: gt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2481
2489
|
n("ctaCertified")
|
|
2482
2490
|
] }),
|
|
2483
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2484
|
-
/* @__PURE__ */ e.jsx("img", { src: bt, alt: "", className:
|
|
2491
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2492
|
+
/* @__PURE__ */ e.jsx("img", { src: bt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2485
2493
|
n("ctaSecurePayment")
|
|
2486
2494
|
] })
|
|
2487
2495
|
] }),
|
|
2488
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2489
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2490
|
-
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", className:
|
|
2496
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.marqueeContent, "aria-hidden": !0, children: [
|
|
2497
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2498
|
+
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2491
2499
|
n("ctaKundliCreated")
|
|
2492
2500
|
] }),
|
|
2493
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2494
|
-
/* @__PURE__ */ e.jsx("img", { src: gt, alt: "", className:
|
|
2501
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2502
|
+
/* @__PURE__ */ e.jsx("img", { src: gt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2495
2503
|
n("ctaCertified")
|
|
2496
2504
|
] }),
|
|
2497
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2498
|
-
/* @__PURE__ */ e.jsx("img", { src: bt, alt: "", className:
|
|
2505
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2506
|
+
/* @__PURE__ */ e.jsx("img", { src: bt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2499
2507
|
n("ctaSecurePayment")
|
|
2500
2508
|
] })
|
|
2501
2509
|
] })
|
|
@@ -2507,7 +2515,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2507
2515
|
}) => {
|
|
2508
2516
|
const o = Ie(), f = o?.config.isGlobal ?? !0, p = f ? o?.config.originalPriceLabel ?? n("ctaButtonStruck") : "₹999", m = f ? o?.config.discountedPriceLabel ?? n("ctaButtonAfter") : "₹249", l = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2509
2517
|
n("ctaButtonBefore"),
|
|
2510
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2518
|
+
/* @__PURE__ */ e.jsx("span", { className: R.ctaStruck, children: p }),
|
|
2511
2519
|
" ",
|
|
2512
2520
|
m
|
|
2513
2521
|
] });
|
|
@@ -2541,33 +2549,33 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2541
2549
|
googleMapsApiKey: _ = zi,
|
|
2542
2550
|
analytics: g
|
|
2543
2551
|
}) => {
|
|
2544
|
-
const k = Ie(), T = jt(), j = k !== null, x = j ? k.locale : r, y = x ?? T?.locale ?? "en", [
|
|
2552
|
+
const k = Ie(), T = jt(), j = k !== null, x = j ? k.locale : r, y = x ?? T?.locale ?? "en", [O, w] = K(y), E = j ? k.locale : O, F = j ? k.setLocale : w, [C, G] = K(!1), q = W(null), V = W(x), L = W(
|
|
2545
2553
|
T?.locale
|
|
2546
2554
|
);
|
|
2547
|
-
|
|
2555
|
+
J(() => {
|
|
2548
2556
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
2549
2557
|
}, []);
|
|
2550
2558
|
const H = (a) => Qi(E, a);
|
|
2551
|
-
|
|
2552
|
-
x && V.current !== x &&
|
|
2553
|
-
}, [x,
|
|
2559
|
+
J(() => {
|
|
2560
|
+
x && V.current !== x && F(x), V.current = x;
|
|
2561
|
+
}, [x, F]), J(() => {
|
|
2554
2562
|
if (x) return;
|
|
2555
2563
|
const a = T?.locale;
|
|
2556
|
-
a &&
|
|
2557
|
-
}, [T?.locale, x,
|
|
2558
|
-
const [
|
|
2564
|
+
a && L.current !== a && F(a), L.current = a;
|
|
2565
|
+
}, [T?.locale, x, F]);
|
|
2566
|
+
const [X, D] = K({
|
|
2559
2567
|
...Ji,
|
|
2560
2568
|
...o,
|
|
2561
2569
|
phone: o?.phone ?? ""
|
|
2562
|
-
}),
|
|
2563
|
-
|
|
2564
|
-
if (!
|
|
2570
|
+
}), M = j ? k.formValues : X, Y = j ? k.setFormValues : D, ee = j ? k.goToPage : d, xe = j ? k.onProceed : f, ye = j ? k.config.proceedHref : p, me = j ? k.config.originalPriceLabel : m, he = j ? k.config.discountedPriceLabel : l, fe = j ? k.config.discountPillLabel : v, pe = j ? k.config.showLanguageSelector ?? !0 : c, ie = (j ? k?.config?.analytics : g) ?? g;
|
|
2571
|
+
J(() => {
|
|
2572
|
+
if (!C) return;
|
|
2565
2573
|
const a = (h) => {
|
|
2566
|
-
|
|
2574
|
+
q.current && !q.current.contains(h.target) && G(!1);
|
|
2567
2575
|
};
|
|
2568
2576
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
2569
|
-
}, [
|
|
2570
|
-
const _e = pe ? /* @__PURE__ */ e.jsxs("div", { className: se.langDropdownWrap, ref:
|
|
2577
|
+
}, [C]);
|
|
2578
|
+
const _e = pe ? /* @__PURE__ */ e.jsxs("div", { className: se.langDropdownWrap, ref: q, children: [
|
|
2571
2579
|
/* @__PURE__ */ e.jsxs(
|
|
2572
2580
|
"button",
|
|
2573
2581
|
{
|
|
@@ -2576,7 +2584,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2576
2584
|
onClick: () => {
|
|
2577
2585
|
ie?.trackLanguageClickedFe?.({ language: E }), G((a) => !a);
|
|
2578
2586
|
},
|
|
2579
|
-
"aria-expanded":
|
|
2587
|
+
"aria-expanded": C,
|
|
2580
2588
|
"aria-haspopup": "listbox",
|
|
2581
2589
|
id: "kundli-form-lang",
|
|
2582
2590
|
"aria-label": H("language"),
|
|
@@ -2592,11 +2600,11 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2592
2600
|
"aria-hidden": !0
|
|
2593
2601
|
}
|
|
2594
2602
|
),
|
|
2595
|
-
/* @__PURE__ */ e.jsx("span", { className: se.langLabel, children:
|
|
2603
|
+
/* @__PURE__ */ e.jsx("span", { className: se.langLabel, children: Me[E] })
|
|
2596
2604
|
]
|
|
2597
2605
|
}
|
|
2598
2606
|
),
|
|
2599
|
-
|
|
2607
|
+
C && /* @__PURE__ */ e.jsx(
|
|
2600
2608
|
"ul",
|
|
2601
2609
|
{
|
|
2602
2610
|
className: se.langMenu,
|
|
@@ -2611,9 +2619,9 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2611
2619
|
"aria-selected": a === E,
|
|
2612
2620
|
className: se.langOption,
|
|
2613
2621
|
onClick: () => {
|
|
2614
|
-
ie?.trackLanguageChangedFe?.({ newLanguage: a }),
|
|
2622
|
+
ie?.trackLanguageChangedFe?.({ newLanguage: a }), F(a), G(!1);
|
|
2615
2623
|
},
|
|
2616
|
-
children:
|
|
2624
|
+
children: Me[a]
|
|
2617
2625
|
},
|
|
2618
2626
|
a
|
|
2619
2627
|
))
|
|
@@ -2632,13 +2640,13 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2632
2640
|
),
|
|
2633
2641
|
/* @__PURE__ */ e.jsx("div", { className: se.headerSeparator, "aria-hidden": !0 }),
|
|
2634
2642
|
/* @__PURE__ */ e.jsxs("main", { className: se.main, children: [
|
|
2635
|
-
/* @__PURE__ */ e.jsx(Sn, { t: H, onBack:
|
|
2643
|
+
/* @__PURE__ */ e.jsx(Sn, { t: H, onBack: ee }),
|
|
2636
2644
|
/* @__PURE__ */ e.jsx(
|
|
2637
2645
|
ga,
|
|
2638
2646
|
{
|
|
2639
2647
|
t: H,
|
|
2640
|
-
values:
|
|
2641
|
-
onChange:
|
|
2648
|
+
values: M,
|
|
2649
|
+
onChange: Y,
|
|
2642
2650
|
googleMapsApiKey: _
|
|
2643
2651
|
}
|
|
2644
2652
|
)
|
|
@@ -2647,7 +2655,7 @@ const fa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2647
2655
|
Ra,
|
|
2648
2656
|
{
|
|
2649
2657
|
t: H,
|
|
2650
|
-
values:
|
|
2658
|
+
values: M,
|
|
2651
2659
|
onProceed: xe,
|
|
2652
2660
|
href: ye,
|
|
2653
2661
|
originalPriceLabel: me,
|
|
@@ -2664,7 +2672,7 @@ function le({
|
|
|
2664
2672
|
onImpression: c
|
|
2665
2673
|
}) {
|
|
2666
2674
|
const d = W(null), o = W(!1);
|
|
2667
|
-
return
|
|
2675
|
+
return J(() => {
|
|
2668
2676
|
const f = d.current;
|
|
2669
2677
|
if (!f) return;
|
|
2670
2678
|
const p = new IntersectionObserver(
|
|
@@ -2693,16 +2701,16 @@ function as({ className: n }) {
|
|
|
2693
2701
|
} = wt(), [p, m] = K(!1), l = W(null), v = W(o.locale), _ = W(
|
|
2694
2702
|
r?.locale
|
|
2695
2703
|
);
|
|
2696
|
-
|
|
2704
|
+
J(() => {
|
|
2697
2705
|
o.locale && v.current !== o.locale && d(o.locale), v.current = o.locale;
|
|
2698
|
-
}, [o.locale, d]),
|
|
2706
|
+
}, [o.locale, d]), J(() => {
|
|
2699
2707
|
if (o.locale) return;
|
|
2700
2708
|
const y = r?.locale;
|
|
2701
2709
|
y && _.current !== y && d(y), _.current = y;
|
|
2702
|
-
}, [r?.locale, o.locale, d]),
|
|
2710
|
+
}, [r?.locale, o.locale, d]), J(() => {
|
|
2703
2711
|
if (!p) return;
|
|
2704
|
-
const y = (
|
|
2705
|
-
l.current && !l.current.contains(
|
|
2712
|
+
const y = (O) => {
|
|
2713
|
+
l.current && !l.current.contains(O.target) && m(!1);
|
|
2706
2714
|
};
|
|
2707
2715
|
return document.addEventListener("mousedown", y), () => document.removeEventListener("mousedown", y);
|
|
2708
2716
|
}, [p]);
|
|
@@ -2731,7 +2739,7 @@ function as({ className: n }) {
|
|
|
2731
2739
|
"aria-hidden": !0
|
|
2732
2740
|
}
|
|
2733
2741
|
),
|
|
2734
|
-
/* @__PURE__ */ e.jsx("span", { className: ue.langLabel, children:
|
|
2742
|
+
/* @__PURE__ */ e.jsx("span", { className: ue.langLabel, children: Me[c] })
|
|
2735
2743
|
]
|
|
2736
2744
|
}
|
|
2737
2745
|
),
|
|
@@ -2752,15 +2760,15 @@ function as({ className: n }) {
|
|
|
2752
2760
|
onClick: () => {
|
|
2753
2761
|
o.analytics?.trackLanguageChangedFe?.({ newLanguage: y }), d(y), m(!1);
|
|
2754
2762
|
},
|
|
2755
|
-
children:
|
|
2763
|
+
children: Me[y]
|
|
2756
2764
|
},
|
|
2757
2765
|
y
|
|
2758
2766
|
))
|
|
2759
2767
|
}
|
|
2760
2768
|
)
|
|
2761
2769
|
] }) : null, j = (y) => {
|
|
2762
|
-
const
|
|
2763
|
-
o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText:
|
|
2770
|
+
const O = y.currentTarget.innerText?.trim() ?? g("ctaButtonAfter");
|
|
2771
|
+
o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: O }), f(), o.onCtaClick?.();
|
|
2764
2772
|
}, x = Pe(
|
|
2765
2773
|
(y) => {
|
|
2766
2774
|
o.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
@@ -2910,7 +2918,7 @@ const ss = ({
|
|
|
2910
2918
|
proceedHref: j,
|
|
2911
2919
|
originalPriceLabel: x,
|
|
2912
2920
|
discountedPriceLabel: y,
|
|
2913
|
-
discountPillLabel:
|
|
2921
|
+
discountPillLabel: O,
|
|
2914
2922
|
analytics: w,
|
|
2915
2923
|
onLocaleChange: E
|
|
2916
2924
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -2932,7 +2940,7 @@ const ss = ({
|
|
|
2932
2940
|
proceedHref: j,
|
|
2933
2941
|
originalPriceLabel: x,
|
|
2934
2942
|
discountedPriceLabel: y,
|
|
2935
|
-
discountPillLabel:
|
|
2943
|
+
discountPillLabel: O,
|
|
2936
2944
|
analytics: w,
|
|
2937
2945
|
onLocaleChange: E,
|
|
2938
2946
|
children: /* @__PURE__ */ e.jsx(ns, { className: n })
|