@srimandir/kundli-generator 5.30.5 → 5.30.7
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/{analytics-Deq0Kl4U.js → analytics-BG38rt5Y.js} +534 -535
- package/dist/analytics-BG38rt5Y.js.map +1 -0
- package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuAstrologerProfiles.d.ts +6 -13
- package/dist/components/ThreeSkuPlanBottomSheet/constants.d.ts +3 -3
- package/dist/{criticalCss-DouEZN-7.js → criticalCss-B9D0uhTW.js} +459 -489
- package/dist/criticalCss-B9D0uhTW.js.map +1 -0
- package/dist/form-entry.js +1 -1
- package/dist/kundli-generator.js +2 -2
- package/dist/page-entry.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/analytics-Deq0Kl4U.js.map +0 -1
- package/dist/criticalCss-DouEZN-7.js.map +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import Ge, { useContext as We, createContext as ur, useState as
|
|
1
|
+
import Ge, { useContext as We, createContext as ur, useState as G, useRef as K, useEffect as H, useMemo as Ue, useCallback as Ne } from "react";
|
|
2
2
|
import { FormSectionHeader as Mr, FooterCTAButton as $r, FooterShell as Ur, CircularMarquee as Gr, footerShellStyles as ke, PageHeader as Wr } from "@srimandir/astrology-common";
|
|
3
3
|
var Ie = { exports: {} }, Se = {};
|
|
4
4
|
var nr;
|
|
5
5
|
function Kr() {
|
|
6
6
|
if (nr) return Se;
|
|
7
7
|
nr = 1;
|
|
8
|
-
var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"),
|
|
9
|
-
function x(
|
|
10
|
-
var d,
|
|
11
|
-
|
|
12
|
-
for (d in
|
|
13
|
-
if (
|
|
14
|
-
return { $$typeof: o, type:
|
|
8
|
+
var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, w = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, I = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9
|
+
function x(R, P, L) {
|
|
10
|
+
var d, j = {}, h = null, S = null;
|
|
11
|
+
L !== void 0 && (h = "" + L), P.key !== void 0 && (h = "" + P.key), P.ref !== void 0 && (S = P.ref);
|
|
12
|
+
for (d in P) m.call(P, d) && !I.hasOwnProperty(d) && (j[d] = P[d]);
|
|
13
|
+
if (R && R.defaultProps) for (d in P = R.defaultProps, P) j[d] === void 0 && (j[d] = P[d]);
|
|
14
|
+
return { $$typeof: o, type: R, key: h, ref: S, props: j, _owner: w.current };
|
|
15
15
|
}
|
|
16
16
|
return Se.Fragment = c, Se.jsx = x, Se.jsxs = x, Se;
|
|
17
17
|
}
|
|
@@ -19,15 +19,15 @@ var Ee = {};
|
|
|
19
19
|
var or;
|
|
20
20
|
function Hr() {
|
|
21
21
|
return or || (or = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
-
var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"),
|
|
22
|
+
var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), w = /* @__PURE__ */ Symbol.for("react.strict_mode"), I = /* @__PURE__ */ Symbol.for("react.profiler"), x = /* @__PURE__ */ Symbol.for("react.provider"), R = /* @__PURE__ */ Symbol.for("react.context"), P = /* @__PURE__ */ Symbol.for("react.forward_ref"), L = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), j = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), S = /* @__PURE__ */ Symbol.for("react.offscreen"), g = Symbol.iterator, E = "@@iterator";
|
|
23
23
|
function C(e) {
|
|
24
24
|
if (e === null || typeof e != "object")
|
|
25
25
|
return null;
|
|
26
|
-
var i =
|
|
26
|
+
var i = g && e[g] || e[E];
|
|
27
27
|
return typeof i == "function" ? i : null;
|
|
28
28
|
}
|
|
29
|
-
var
|
|
30
|
-
function
|
|
29
|
+
var p = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
30
|
+
function k(e) {
|
|
31
31
|
{
|
|
32
32
|
for (var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0), u = 1; u < i; u++)
|
|
33
33
|
l[u - 1] = arguments[u];
|
|
@@ -36,71 +36,71 @@ function Hr() {
|
|
|
36
36
|
}
|
|
37
37
|
function $(e, i, l) {
|
|
38
38
|
{
|
|
39
|
-
var u =
|
|
40
|
-
|
|
41
|
-
var
|
|
39
|
+
var u = p.ReactDebugCurrentFrame, A = u.getStackAddendum();
|
|
40
|
+
A !== "" && (i += "%s", l = l.concat([A]));
|
|
41
|
+
var T = l.map(function(y) {
|
|
42
42
|
return String(y);
|
|
43
43
|
});
|
|
44
|
-
|
|
44
|
+
T.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, T);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
var
|
|
48
|
-
|
|
49
|
-
function
|
|
50
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
47
|
+
var b = !1, F = !1, q = !1, X = !1, Z = !1, U;
|
|
48
|
+
U = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
|
+
function Y(e) {
|
|
50
|
+
return !!(typeof e == "string" || typeof e == "function" || e === m || e === I || Z || e === w || e === L || e === d || X || e === S || b || F || q || typeof e == "object" && e !== null && (e.$$typeof === h || e.$$typeof === j || e.$$typeof === x || e.$$typeof === R || e.$$typeof === P || // This needs to include all possible module reference object
|
|
51
51
|
// types supported by any Flight configuration anywhere since
|
|
52
52
|
// we don't know which Flight build this will end up being used
|
|
53
53
|
// with.
|
|
54
|
-
e.$$typeof ===
|
|
54
|
+
e.$$typeof === U || e.getModuleId !== void 0));
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function oe(e, i, l) {
|
|
57
57
|
var u = e.displayName;
|
|
58
58
|
if (u)
|
|
59
59
|
return u;
|
|
60
|
-
var
|
|
61
|
-
return
|
|
60
|
+
var A = i.displayName || i.name || "";
|
|
61
|
+
return A !== "" ? l + "(" + A + ")" : l;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function ce(e) {
|
|
64
64
|
return e.displayName || "Context";
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function B(e) {
|
|
67
67
|
if (e == null)
|
|
68
68
|
return null;
|
|
69
|
-
if (typeof e.tag == "number" &&
|
|
69
|
+
if (typeof e.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
70
70
|
return e.displayName || e.name || null;
|
|
71
71
|
if (typeof e == "string")
|
|
72
72
|
return e;
|
|
73
73
|
switch (e) {
|
|
74
|
-
case
|
|
74
|
+
case m:
|
|
75
75
|
return "Fragment";
|
|
76
76
|
case c:
|
|
77
77
|
return "Portal";
|
|
78
|
-
case
|
|
78
|
+
case I:
|
|
79
79
|
return "Profiler";
|
|
80
|
-
case
|
|
80
|
+
case w:
|
|
81
81
|
return "StrictMode";
|
|
82
|
-
case
|
|
82
|
+
case L:
|
|
83
83
|
return "Suspense";
|
|
84
84
|
case d:
|
|
85
85
|
return "SuspenseList";
|
|
86
86
|
}
|
|
87
87
|
if (typeof e == "object")
|
|
88
88
|
switch (e.$$typeof) {
|
|
89
|
-
case
|
|
89
|
+
case R:
|
|
90
90
|
var i = e;
|
|
91
|
-
return
|
|
91
|
+
return ce(i) + ".Consumer";
|
|
92
92
|
case x:
|
|
93
93
|
var l = e;
|
|
94
|
-
return
|
|
95
|
-
case
|
|
96
|
-
return
|
|
97
|
-
case
|
|
94
|
+
return ce(l._context) + ".Provider";
|
|
95
|
+
case P:
|
|
96
|
+
return oe(e, e.render, "ForwardRef");
|
|
97
|
+
case j:
|
|
98
98
|
var u = e.displayName || null;
|
|
99
|
-
return u !== null ? u :
|
|
99
|
+
return u !== null ? u : B(e.type) || "Memo";
|
|
100
100
|
case h: {
|
|
101
|
-
var
|
|
101
|
+
var A = e, T = A._payload, y = A._init;
|
|
102
102
|
try {
|
|
103
|
-
return
|
|
103
|
+
return B(y(T));
|
|
104
104
|
} catch {
|
|
105
105
|
return null;
|
|
106
106
|
}
|
|
@@ -108,14 +108,14 @@ function Hr() {
|
|
|
108
108
|
}
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var N = Object.assign, W = 0, z, pe, me, V, ee, re, de;
|
|
112
112
|
function te() {
|
|
113
113
|
}
|
|
114
114
|
te.__reactDisabledLog = !0;
|
|
115
115
|
function he() {
|
|
116
116
|
{
|
|
117
|
-
if (
|
|
118
|
-
|
|
117
|
+
if (W === 0) {
|
|
118
|
+
z = console.log, pe = console.info, me = console.warn, V = console.error, ee = console.group, re = console.groupCollapsed, de = console.groupEnd;
|
|
119
119
|
var e = {
|
|
120
120
|
configurable: !0,
|
|
121
121
|
enumerable: !0,
|
|
@@ -132,52 +132,52 @@ function Hr() {
|
|
|
132
132
|
groupEnd: e
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
|
-
|
|
135
|
+
W++;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
function ie() {
|
|
139
139
|
{
|
|
140
|
-
if (
|
|
140
|
+
if (W--, W === 0) {
|
|
141
141
|
var e = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
144
144
|
writable: !0
|
|
145
145
|
};
|
|
146
146
|
Object.defineProperties(console, {
|
|
147
|
-
log:
|
|
148
|
-
value:
|
|
147
|
+
log: N({}, e, {
|
|
148
|
+
value: z
|
|
149
149
|
}),
|
|
150
|
-
info:
|
|
150
|
+
info: N({}, e, {
|
|
151
151
|
value: pe
|
|
152
152
|
}),
|
|
153
|
-
warn:
|
|
154
|
-
value:
|
|
153
|
+
warn: N({}, e, {
|
|
154
|
+
value: me
|
|
155
155
|
}),
|
|
156
|
-
error:
|
|
156
|
+
error: N({}, e, {
|
|
157
157
|
value: V
|
|
158
158
|
}),
|
|
159
|
-
group:
|
|
159
|
+
group: N({}, e, {
|
|
160
160
|
value: ee
|
|
161
161
|
}),
|
|
162
|
-
groupCollapsed:
|
|
162
|
+
groupCollapsed: N({}, e, {
|
|
163
163
|
value: re
|
|
164
164
|
}),
|
|
165
|
-
groupEnd:
|
|
165
|
+
groupEnd: N({}, e, {
|
|
166
166
|
value: de
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
|
|
170
|
+
W < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
var ge =
|
|
174
|
-
function
|
|
173
|
+
var ge = p.ReactCurrentDispatcher, ue;
|
|
174
|
+
function J(e, i, l) {
|
|
175
175
|
{
|
|
176
176
|
if (ue === void 0)
|
|
177
177
|
try {
|
|
178
178
|
throw Error();
|
|
179
|
-
} catch (
|
|
180
|
-
var u =
|
|
179
|
+
} catch (A) {
|
|
180
|
+
var u = A.stack.trim().match(/\n( *(at )?)/);
|
|
181
181
|
ue = u && u[1] || "";
|
|
182
182
|
}
|
|
183
183
|
return `
|
|
@@ -199,10 +199,10 @@ function Hr() {
|
|
|
199
199
|
}
|
|
200
200
|
var u;
|
|
201
201
|
be = !0;
|
|
202
|
-
var
|
|
202
|
+
var A = Error.prepareStackTrace;
|
|
203
203
|
Error.prepareStackTrace = void 0;
|
|
204
|
-
var
|
|
205
|
-
|
|
204
|
+
var T;
|
|
205
|
+
T = ge.current, ge.current = null, he();
|
|
206
206
|
try {
|
|
207
207
|
if (i) {
|
|
208
208
|
var y = function() {
|
|
@@ -238,26 +238,26 @@ function Hr() {
|
|
|
238
238
|
} catch (ne) {
|
|
239
239
|
if (ne && u && typeof ne.stack == "string") {
|
|
240
240
|
for (var _ = ne.stack.split(`
|
|
241
|
-
`),
|
|
242
|
-
`),
|
|
243
|
-
|
|
244
|
-
for (;
|
|
245
|
-
if (_[
|
|
246
|
-
if (
|
|
241
|
+
`), Q = u.stack.split(`
|
|
242
|
+
`), O = _.length - 1, M = Q.length - 1; O >= 1 && M >= 0 && _[O] !== Q[M]; )
|
|
243
|
+
M--;
|
|
244
|
+
for (; O >= 1 && M >= 0; O--, M--)
|
|
245
|
+
if (_[O] !== Q[M]) {
|
|
246
|
+
if (O !== 1 || M !== 1)
|
|
247
247
|
do
|
|
248
|
-
if (
|
|
248
|
+
if (O--, M--, M < 0 || _[O] !== Q[M]) {
|
|
249
249
|
var se = `
|
|
250
|
-
` + _[
|
|
250
|
+
` + _[O].replace(" at new ", " at ");
|
|
251
251
|
return e.displayName && se.includes("<anonymous>") && (se = se.replace("<anonymous>", e.displayName)), typeof e == "function" && le.set(e, se), se;
|
|
252
252
|
}
|
|
253
|
-
while (
|
|
253
|
+
while (O >= 1 && M >= 0);
|
|
254
254
|
break;
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
} finally {
|
|
258
|
-
be = !1, ge.current =
|
|
258
|
+
be = !1, ge.current = T, ie(), Error.prepareStackTrace = A;
|
|
259
259
|
}
|
|
260
|
-
var Ae = e ? e.displayName || e.name : "", ve = Ae ?
|
|
260
|
+
var Ae = e ? e.displayName || e.name : "", ve = Ae ? J(Ae) : "";
|
|
261
261
|
return typeof e == "function" && le.set(e, ve), ve;
|
|
262
262
|
}
|
|
263
263
|
function xe(e, i, l) {
|
|
@@ -273,53 +273,53 @@ function Hr() {
|
|
|
273
273
|
if (typeof e == "function")
|
|
274
274
|
return _e(e, ye(e));
|
|
275
275
|
if (typeof e == "string")
|
|
276
|
-
return
|
|
276
|
+
return J(e);
|
|
277
277
|
switch (e) {
|
|
278
|
-
case
|
|
279
|
-
return
|
|
278
|
+
case L:
|
|
279
|
+
return J("Suspense");
|
|
280
280
|
case d:
|
|
281
|
-
return
|
|
281
|
+
return J("SuspenseList");
|
|
282
282
|
}
|
|
283
283
|
if (typeof e == "object")
|
|
284
284
|
switch (e.$$typeof) {
|
|
285
|
-
case
|
|
285
|
+
case P:
|
|
286
286
|
return xe(e.render);
|
|
287
|
-
case
|
|
287
|
+
case j:
|
|
288
288
|
return v(e.type, i, l);
|
|
289
289
|
case h: {
|
|
290
|
-
var u = e,
|
|
290
|
+
var u = e, A = u._payload, T = u._init;
|
|
291
291
|
try {
|
|
292
|
-
return v(
|
|
292
|
+
return v(T(A), i, l);
|
|
293
293
|
} catch {
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
return "";
|
|
298
298
|
}
|
|
299
|
-
var n = Object.prototype.hasOwnProperty, s = {},
|
|
299
|
+
var n = Object.prototype.hasOwnProperty, s = {}, D = p.ReactDebugCurrentFrame;
|
|
300
300
|
function ae(e) {
|
|
301
301
|
if (e) {
|
|
302
302
|
var i = e._owner, l = v(e.type, e._source, i ? i.type : null);
|
|
303
|
-
|
|
303
|
+
D.setExtraStackFrame(l);
|
|
304
304
|
} else
|
|
305
|
-
|
|
305
|
+
D.setExtraStackFrame(null);
|
|
306
306
|
}
|
|
307
|
-
function Re(e, i, l, u,
|
|
307
|
+
function Re(e, i, l, u, A) {
|
|
308
308
|
{
|
|
309
|
-
var
|
|
309
|
+
var T = Function.call.bind(n);
|
|
310
310
|
for (var y in e)
|
|
311
|
-
if (
|
|
311
|
+
if (T(e, y)) {
|
|
312
312
|
var _ = void 0;
|
|
313
313
|
try {
|
|
314
314
|
if (typeof e[y] != "function") {
|
|
315
|
-
var
|
|
316
|
-
throw
|
|
315
|
+
var Q = Error((u || "React class") + ": " + l + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
316
|
+
throw Q.name = "Invariant Violation", Q;
|
|
317
317
|
}
|
|
318
318
|
_ = e[y](i, y, u, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
319
|
-
} catch (
|
|
320
|
-
_ =
|
|
319
|
+
} catch (O) {
|
|
320
|
+
_ = O;
|
|
321
321
|
}
|
|
322
|
-
_ && !(_ instanceof Error) && (ae(
|
|
322
|
+
_ && !(_ instanceof Error) && (ae(A), k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", l, y, typeof _), ae(null)), _ instanceof Error && !(_.message in s) && (s[_.message] = !0, ae(A), k("Failed %s type: %s", l, _.message), ae(null));
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
}
|
|
@@ -345,9 +345,9 @@ function Hr() {
|
|
|
345
345
|
}
|
|
346
346
|
function qe(e) {
|
|
347
347
|
if (vr(e))
|
|
348
|
-
return
|
|
348
|
+
return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", yr(e)), Ye(e);
|
|
349
349
|
}
|
|
350
|
-
var Ve =
|
|
350
|
+
var Ve = p.ReactCurrentOwner, kr = {
|
|
351
351
|
key: !0,
|
|
352
352
|
ref: !0,
|
|
353
353
|
__self: !0,
|
|
@@ -375,7 +375,7 @@ function Hr() {
|
|
|
375
375
|
function Ar(e, i) {
|
|
376
376
|
{
|
|
377
377
|
var l = function() {
|
|
378
|
-
ze || (ze = !0,
|
|
378
|
+
ze || (ze = !0, k("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
|
|
379
379
|
};
|
|
380
380
|
l.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
381
381
|
get: l,
|
|
@@ -386,7 +386,7 @@ function Hr() {
|
|
|
386
386
|
function Cr(e, i) {
|
|
387
387
|
{
|
|
388
388
|
var l = function() {
|
|
389
|
-
Je || (Je = !0,
|
|
389
|
+
Je || (Je = !0, k("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
|
|
390
390
|
};
|
|
391
391
|
l.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
392
392
|
get: l,
|
|
@@ -394,7 +394,7 @@ function Hr() {
|
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
var jr = function(e, i, l, u,
|
|
397
|
+
var jr = function(e, i, l, u, A, T, y) {
|
|
398
398
|
var _ = {
|
|
399
399
|
// This tag allows us to uniquely identify this as a React Element
|
|
400
400
|
$$typeof: o,
|
|
@@ -404,7 +404,7 @@ function Hr() {
|
|
|
404
404
|
ref: l,
|
|
405
405
|
props: y,
|
|
406
406
|
// Record the component responsible for creating this element.
|
|
407
|
-
_owner:
|
|
407
|
+
_owner: T
|
|
408
408
|
};
|
|
409
409
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
410
410
|
configurable: !1,
|
|
@@ -420,28 +420,28 @@ function Hr() {
|
|
|
420
420
|
configurable: !1,
|
|
421
421
|
enumerable: !1,
|
|
422
422
|
writable: !1,
|
|
423
|
-
value:
|
|
423
|
+
value: A
|
|
424
424
|
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
425
425
|
};
|
|
426
|
-
function Nr(e, i, l, u,
|
|
426
|
+
function Nr(e, i, l, u, A) {
|
|
427
427
|
{
|
|
428
|
-
var
|
|
429
|
-
l !== void 0 && (qe(l), _ = "" + l), xr(i) && (qe(i.key), _ = "" + i.key), wr(i) && (
|
|
430
|
-
for (
|
|
431
|
-
n.call(i,
|
|
428
|
+
var T, y = {}, _ = null, Q = null;
|
|
429
|
+
l !== void 0 && (qe(l), _ = "" + l), xr(i) && (qe(i.key), _ = "" + i.key), wr(i) && (Q = i.ref, Pr(i, A));
|
|
430
|
+
for (T in i)
|
|
431
|
+
n.call(i, T) && !kr.hasOwnProperty(T) && (y[T] = i[T]);
|
|
432
432
|
if (e && e.defaultProps) {
|
|
433
|
-
var
|
|
434
|
-
for (
|
|
435
|
-
y[
|
|
433
|
+
var O = e.defaultProps;
|
|
434
|
+
for (T in O)
|
|
435
|
+
y[T] === void 0 && (y[T] = O[T]);
|
|
436
436
|
}
|
|
437
|
-
if (_ ||
|
|
438
|
-
var
|
|
439
|
-
_ && Ar(y,
|
|
437
|
+
if (_ || Q) {
|
|
438
|
+
var M = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
439
|
+
_ && Ar(y, M), Q && Cr(y, M);
|
|
440
440
|
}
|
|
441
|
-
return jr(e, _,
|
|
441
|
+
return jr(e, _, Q, A, u, Ve.current, y);
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
|
-
var Fe =
|
|
444
|
+
var Fe = p.ReactCurrentOwner, Qe = p.ReactDebugCurrentFrame;
|
|
445
445
|
function Pe(e) {
|
|
446
446
|
if (e) {
|
|
447
447
|
var i = e._owner, l = v(e.type, e._source, i ? i.type : null);
|
|
@@ -457,7 +457,7 @@ function Hr() {
|
|
|
457
457
|
function Xe() {
|
|
458
458
|
{
|
|
459
459
|
if (Fe.current) {
|
|
460
|
-
var e =
|
|
460
|
+
var e = B(Fe.current.type);
|
|
461
461
|
if (e)
|
|
462
462
|
return `
|
|
463
463
|
|
|
@@ -492,7 +492,7 @@ Check the top-level render call using <` + l + ">.");
|
|
|
492
492
|
return;
|
|
493
493
|
Ze[l] = !0;
|
|
494
494
|
var u = "";
|
|
495
|
-
e && e._owner && e._owner !== Fe.current && (u = " It was passed a child from " +
|
|
495
|
+
e && e._owner && e._owner !== Fe.current && (u = " It was passed a child from " + B(e._owner.type) + "."), Pe(e), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, u), Pe(null);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
function rr(e, i) {
|
|
@@ -507,9 +507,9 @@ Check the top-level render call using <` + l + ">.");
|
|
|
507
507
|
else if (Me(e))
|
|
508
508
|
e._store && (e._store.validated = !0);
|
|
509
509
|
else if (e) {
|
|
510
|
-
var
|
|
511
|
-
if (typeof
|
|
512
|
-
for (var
|
|
510
|
+
var A = C(e);
|
|
511
|
+
if (typeof A == "function" && A !== e.entries)
|
|
512
|
+
for (var T = A.call(e), y; !(y = T.next()).done; )
|
|
513
513
|
Me(y.value) && er(y.value, i);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
@@ -522,21 +522,21 @@ Check the top-level render call using <` + l + ">.");
|
|
|
522
522
|
var l;
|
|
523
523
|
if (typeof i == "function")
|
|
524
524
|
l = i.propTypes;
|
|
525
|
-
else if (typeof i == "object" && (i.$$typeof ===
|
|
525
|
+
else if (typeof i == "object" && (i.$$typeof === P || // Note: Memo only checks outer props here.
|
|
526
526
|
// Inner props are checked in the reconciler.
|
|
527
|
-
i.$$typeof ===
|
|
527
|
+
i.$$typeof === j))
|
|
528
528
|
l = i.propTypes;
|
|
529
529
|
else
|
|
530
530
|
return;
|
|
531
531
|
if (l) {
|
|
532
|
-
var u =
|
|
532
|
+
var u = B(i);
|
|
533
533
|
Re(l, e.props, "prop", u, e);
|
|
534
534
|
} else if (i.PropTypes !== void 0 && !Oe) {
|
|
535
535
|
Oe = !0;
|
|
536
|
-
var
|
|
537
|
-
|
|
536
|
+
var A = B(i);
|
|
537
|
+
k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", A || "Unknown");
|
|
538
538
|
}
|
|
539
|
-
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved &&
|
|
539
|
+
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
542
|
function Er(e) {
|
|
@@ -544,28 +544,28 @@ Check the top-level render call using <` + l + ">.");
|
|
|
544
544
|
for (var i = Object.keys(e.props), l = 0; l < i.length; l++) {
|
|
545
545
|
var u = i[l];
|
|
546
546
|
if (u !== "children" && u !== "key") {
|
|
547
|
-
Pe(e),
|
|
547
|
+
Pe(e), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), Pe(null);
|
|
548
548
|
break;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
e.ref !== null && (Pe(e),
|
|
551
|
+
e.ref !== null && (Pe(e), k("Invalid attribute `ref` supplied to `React.Fragment`."), Pe(null));
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
var tr = {};
|
|
555
|
-
function ar(e, i, l, u,
|
|
555
|
+
function ar(e, i, l, u, A, T) {
|
|
556
556
|
{
|
|
557
|
-
var y =
|
|
557
|
+
var y = Y(e);
|
|
558
558
|
if (!y) {
|
|
559
559
|
var _ = "";
|
|
560
560
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
561
|
-
var
|
|
562
|
-
|
|
563
|
-
var
|
|
564
|
-
e === null ?
|
|
561
|
+
var Q = Tr();
|
|
562
|
+
Q ? _ += Q : _ += Xe();
|
|
563
|
+
var O;
|
|
564
|
+
e === null ? O = "null" : De(e) ? O = "array" : e !== void 0 && e.$$typeof === o ? (O = "<" + (B(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : O = typeof e, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", O, _);
|
|
565
565
|
}
|
|
566
|
-
var
|
|
567
|
-
if (
|
|
568
|
-
return
|
|
566
|
+
var M = Nr(e, i, l, A, T);
|
|
567
|
+
if (M == null)
|
|
568
|
+
return M;
|
|
569
569
|
if (y) {
|
|
570
570
|
var se = i.children;
|
|
571
571
|
if (se !== void 0)
|
|
@@ -575,17 +575,17 @@ Check the top-level render call using <` + l + ">.");
|
|
|
575
575
|
rr(se[Ae], e);
|
|
576
576
|
Object.freeze && Object.freeze(se);
|
|
577
577
|
} else
|
|
578
|
-
|
|
578
|
+
k("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
580
|
rr(se, e);
|
|
581
581
|
}
|
|
582
582
|
if (n.call(i, "key")) {
|
|
583
|
-
var ve =
|
|
583
|
+
var ve = B(e), ne = Object.keys(i).filter(function(Or) {
|
|
584
584
|
return Or !== "key";
|
|
585
585
|
}), $e = ne.length > 0 ? "{key: someKey, " + ne.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
586
586
|
if (!tr[ve + $e]) {
|
|
587
587
|
var Fr = ne.length > 0 ? "{" + ne.join(": ..., ") + ": ...}" : "{}";
|
|
588
|
-
|
|
588
|
+
k(`A props object containing a "key" prop is being spread into JSX:
|
|
589
589
|
let props = %s;
|
|
590
590
|
<%s {...props} />
|
|
591
591
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -593,7 +593,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
593
593
|
<%s key={someKey} {...props} />`, $e, ve, Fr, ve), tr[ve + $e] = !0;
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
|
-
return e ===
|
|
596
|
+
return e === m ? Er(M) : Sr(M), M;
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
599
|
function Ir(e, i, l) {
|
|
@@ -603,7 +603,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
603
603
|
return ar(e, i, l, !1);
|
|
604
604
|
}
|
|
605
605
|
var Lr = Br, Dr = Ir;
|
|
606
|
-
Ee.Fragment =
|
|
606
|
+
Ee.Fragment = m, Ee.jsx = Lr, Ee.jsxs = Dr;
|
|
607
607
|
})()), Ee;
|
|
608
608
|
}
|
|
609
609
|
var ir;
|
|
@@ -611,10 +611,10 @@ function Yr() {
|
|
|
611
611
|
return ir || (ir = 1, process.env.NODE_ENV === "production" ? Ie.exports = Kr() : Ie.exports = Hr()), Ie.exports;
|
|
612
612
|
}
|
|
613
613
|
var r = Yr();
|
|
614
|
-
const
|
|
614
|
+
const mr = ["en", "hi"], lr = {
|
|
615
615
|
en: "English",
|
|
616
616
|
hi: "हिन्दी"
|
|
617
|
-
},
|
|
617
|
+
}, fr = {
|
|
618
618
|
en: {
|
|
619
619
|
kundli: "Kundli",
|
|
620
620
|
birthChart: "Birth Chart",
|
|
@@ -1050,13 +1050,13 @@ const fr = ["en", "hi"], lr = {
|
|
|
1050
1050
|
locale: t,
|
|
1051
1051
|
children: o
|
|
1052
1052
|
}) => {
|
|
1053
|
-
const
|
|
1054
|
-
return /* @__PURE__ */ r.jsx(hr.Provider, { value:
|
|
1053
|
+
const m = { locale: t, t: (w) => fr[t]?.[w] ?? w };
|
|
1054
|
+
return /* @__PURE__ */ r.jsx(hr.Provider, { value: m, children: o });
|
|
1055
1055
|
};
|
|
1056
1056
|
function qr() {
|
|
1057
1057
|
return We(hr);
|
|
1058
1058
|
}
|
|
1059
|
-
const Vr = "_container_1e1th_1", zr = "_main_1e1th_7", Jr = "_kundliHeaderNoBorder_1e1th_12", Qr = "_headerSeparator_1e1th_16", Xr = "_langDropdownWrap_1e1th_21", Zr = "_langTrigger_1e1th_25", et = "_langIcon_1e1th_37", rt = "_langLabel_1e1th_44", tt = "_langMenu_1e1th_49", at = "_langOption_1e1th_55",
|
|
1059
|
+
const Vr = "_container_1e1th_1", zr = "_main_1e1th_7", Jr = "_kundliHeaderNoBorder_1e1th_12", Qr = "_headerSeparator_1e1th_16", Xr = "_langDropdownWrap_1e1th_21", Zr = "_langTrigger_1e1th_25", et = "_langIcon_1e1th_37", rt = "_langLabel_1e1th_44", tt = "_langMenu_1e1th_49", at = "_langOption_1e1th_55", fe = {
|
|
1060
1060
|
container: Vr,
|
|
1061
1061
|
main: zr,
|
|
1062
1062
|
kundliHeaderNoBorder: Jr,
|
|
@@ -1068,13 +1068,13 @@ const Vr = "_container_1e1th_1", zr = "_main_1e1th_7", Jr = "_kundliHeaderNoBord
|
|
|
1068
1068
|
langMenu: tt,
|
|
1069
1069
|
langOption: at
|
|
1070
1070
|
}, Be = (t) => {
|
|
1071
|
-
const { priority: o, fetchPriority: c, width:
|
|
1071
|
+
const { priority: o, fetchPriority: c, width: m, height: w, ...I } = t;
|
|
1072
1072
|
return Ge.createElement("img", {
|
|
1073
|
-
...
|
|
1074
|
-
width:
|
|
1075
|
-
height:
|
|
1073
|
+
...I,
|
|
1074
|
+
width: m ?? 1,
|
|
1075
|
+
height: w ?? 1,
|
|
1076
1076
|
decoding: "async",
|
|
1077
|
-
loading:
|
|
1077
|
+
loading: I.loading ?? (o ? "eager" : "lazy"),
|
|
1078
1078
|
...c && { fetchPriority: c }
|
|
1079
1079
|
});
|
|
1080
1080
|
};
|
|
@@ -1114,7 +1114,7 @@ function On() {
|
|
|
1114
1114
|
const pr = "kundli_language";
|
|
1115
1115
|
function it() {
|
|
1116
1116
|
const t = nt(pr);
|
|
1117
|
-
return t &&
|
|
1117
|
+
return t && mr.includes(t) ? t : null;
|
|
1118
1118
|
}
|
|
1119
1119
|
function lt(t) {
|
|
1120
1120
|
ot(pr, t);
|
|
@@ -1135,124 +1135,124 @@ const Ke = ur(null), st = {
|
|
|
1135
1135
|
locale: t,
|
|
1136
1136
|
showLanguageSelector: o = !0,
|
|
1137
1137
|
showSheet: c,
|
|
1138
|
-
userId:
|
|
1139
|
-
isGlobal:
|
|
1140
|
-
variant:
|
|
1138
|
+
userId: m,
|
|
1139
|
+
isGlobal: w,
|
|
1140
|
+
variant: I,
|
|
1141
1141
|
atlasSearchLocalities: x,
|
|
1142
|
-
logoUrl:
|
|
1143
|
-
reportImageUrl:
|
|
1144
|
-
reportImagePriority:
|
|
1142
|
+
logoUrl: R,
|
|
1143
|
+
reportImageUrl: P,
|
|
1144
|
+
reportImagePriority: L,
|
|
1145
1145
|
backgroundImagePriority: d,
|
|
1146
|
-
universityLogoUrls:
|
|
1146
|
+
universityLogoUrls: j,
|
|
1147
1147
|
sampleReportHref: h,
|
|
1148
|
-
onViewSampleReport:
|
|
1149
|
-
ctaHref:
|
|
1150
|
-
onCtaClick:
|
|
1148
|
+
onViewSampleReport: S,
|
|
1149
|
+
ctaHref: g,
|
|
1150
|
+
onCtaClick: E,
|
|
1151
1151
|
onBack: C,
|
|
1152
|
-
readMoreReviewsHref:
|
|
1153
|
-
onProceed:
|
|
1152
|
+
readMoreReviewsHref: p,
|
|
1153
|
+
onProceed: k,
|
|
1154
1154
|
proceedHref: $,
|
|
1155
|
-
originalPriceLabel:
|
|
1155
|
+
originalPriceLabel: b,
|
|
1156
1156
|
discountedPriceLabel: F,
|
|
1157
|
-
discountPillLabel:
|
|
1158
|
-
analytics:
|
|
1159
|
-
onProceedGuidance:
|
|
1160
|
-
onLocaleChange:
|
|
1161
|
-
imageComponent:
|
|
1162
|
-
children:
|
|
1157
|
+
discountPillLabel: q,
|
|
1158
|
+
analytics: X,
|
|
1159
|
+
onProceedGuidance: Z,
|
|
1160
|
+
onLocaleChange: U,
|
|
1161
|
+
imageComponent: Y = Be,
|
|
1162
|
+
children: oe
|
|
1163
1163
|
}) => {
|
|
1164
|
-
const [
|
|
1165
|
-
|
|
1164
|
+
const [ce, B] = G("landing"), [N, W] = G(t ?? "en"), [z, pe] = G(st), me = K(!0);
|
|
1165
|
+
H(() => {
|
|
1166
1166
|
const te = it();
|
|
1167
|
-
te &&
|
|
1168
|
-
}, []),
|
|
1169
|
-
lt(
|
|
1170
|
-
}, [
|
|
1171
|
-
if (
|
|
1172
|
-
|
|
1167
|
+
te && W(te);
|
|
1168
|
+
}, []), H(() => {
|
|
1169
|
+
lt(N);
|
|
1170
|
+
}, [N]), H(() => {
|
|
1171
|
+
if (me.current) {
|
|
1172
|
+
me.current = !1;
|
|
1173
1173
|
return;
|
|
1174
1174
|
}
|
|
1175
|
-
|
|
1176
|
-
}, [
|
|
1175
|
+
U?.(N);
|
|
1176
|
+
}, [N, U]);
|
|
1177
1177
|
const V = Ue(
|
|
1178
1178
|
() => ({
|
|
1179
1179
|
locale: t,
|
|
1180
1180
|
showLanguageSelector: o,
|
|
1181
1181
|
showSheet: c,
|
|
1182
|
-
userId:
|
|
1183
|
-
isGlobal:
|
|
1184
|
-
variant:
|
|
1182
|
+
userId: m,
|
|
1183
|
+
isGlobal: w,
|
|
1184
|
+
variant: I,
|
|
1185
1185
|
atlasSearchLocalities: x,
|
|
1186
|
-
logoUrl:
|
|
1187
|
-
reportImageUrl:
|
|
1188
|
-
reportImagePriority:
|
|
1186
|
+
logoUrl: R,
|
|
1187
|
+
reportImageUrl: P,
|
|
1188
|
+
reportImagePriority: L,
|
|
1189
1189
|
backgroundImagePriority: d,
|
|
1190
|
-
universityLogoUrls:
|
|
1190
|
+
universityLogoUrls: j,
|
|
1191
1191
|
sampleReportHref: h,
|
|
1192
|
-
onViewSampleReport:
|
|
1193
|
-
ctaHref:
|
|
1194
|
-
onCtaClick:
|
|
1192
|
+
onViewSampleReport: S,
|
|
1193
|
+
ctaHref: g,
|
|
1194
|
+
onCtaClick: E,
|
|
1195
1195
|
onBack: C,
|
|
1196
|
-
readMoreReviewsHref:
|
|
1197
|
-
onProceed:
|
|
1196
|
+
readMoreReviewsHref: p,
|
|
1197
|
+
onProceed: k,
|
|
1198
1198
|
proceedHref: $,
|
|
1199
|
-
originalPriceLabel:
|
|
1199
|
+
originalPriceLabel: b,
|
|
1200
1200
|
discountedPriceLabel: F,
|
|
1201
|
-
discountPillLabel:
|
|
1202
|
-
analytics:
|
|
1203
|
-
onProceedGuidance:
|
|
1204
|
-
onLocaleChange:
|
|
1205
|
-
imageComponent:
|
|
1201
|
+
discountPillLabel: q,
|
|
1202
|
+
analytics: X,
|
|
1203
|
+
onProceedGuidance: Z,
|
|
1204
|
+
onLocaleChange: U,
|
|
1205
|
+
imageComponent: Y
|
|
1206
1206
|
}),
|
|
1207
1207
|
[
|
|
1208
1208
|
t,
|
|
1209
1209
|
o,
|
|
1210
1210
|
c,
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1211
|
+
m,
|
|
1212
|
+
w,
|
|
1213
|
+
I,
|
|
1214
1214
|
x,
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1215
|
+
R,
|
|
1216
|
+
P,
|
|
1217
|
+
L,
|
|
1218
1218
|
d,
|
|
1219
|
-
|
|
1219
|
+
j,
|
|
1220
1220
|
h,
|
|
1221
|
-
|
|
1222
|
-
p,
|
|
1223
|
-
B,
|
|
1224
|
-
C,
|
|
1225
|
-
b,
|
|
1221
|
+
S,
|
|
1226
1222
|
g,
|
|
1223
|
+
E,
|
|
1224
|
+
C,
|
|
1225
|
+
p,
|
|
1226
|
+
k,
|
|
1227
1227
|
$,
|
|
1228
|
-
|
|
1228
|
+
b,
|
|
1229
1229
|
F,
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1230
|
+
q,
|
|
1231
|
+
X,
|
|
1232
|
+
Z,
|
|
1233
|
+
U,
|
|
1234
|
+
Y
|
|
1235
1235
|
]
|
|
1236
1236
|
), ee = Ne(() => {
|
|
1237
|
-
|
|
1237
|
+
B("form");
|
|
1238
1238
|
}, [V.analytics]), re = Ne(() => {
|
|
1239
|
-
|
|
1239
|
+
B("landing"), V.onBack?.();
|
|
1240
1240
|
}, [V.onBack]), de = Ue(
|
|
1241
1241
|
() => ({
|
|
1242
|
-
view:
|
|
1243
|
-
locale:
|
|
1244
|
-
setLocale:
|
|
1242
|
+
view: ce,
|
|
1243
|
+
locale: N,
|
|
1244
|
+
setLocale: W,
|
|
1245
1245
|
config: V,
|
|
1246
|
-
formValues:
|
|
1246
|
+
formValues: z,
|
|
1247
1247
|
setFormValues: pe,
|
|
1248
1248
|
goToForm: ee,
|
|
1249
1249
|
goToPage: re,
|
|
1250
1250
|
onProceed: V.onProceed,
|
|
1251
1251
|
onProceedGuidance: V.onProceedGuidance
|
|
1252
1252
|
}),
|
|
1253
|
-
[
|
|
1253
|
+
[ce, N, V, z, ee, re]
|
|
1254
1254
|
);
|
|
1255
|
-
return /* @__PURE__ */ r.jsx(Ke.Provider, { value: de, children:
|
|
1255
|
+
return /* @__PURE__ */ r.jsx(Ke.Provider, { value: de, children: oe });
|
|
1256
1256
|
};
|
|
1257
1257
|
function Te() {
|
|
1258
1258
|
return We(Ke);
|
|
@@ -1270,7 +1270,7 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
|
|
|
1270
1270
|
t,
|
|
1271
1271
|
onBack: o,
|
|
1272
1272
|
className: c = "",
|
|
1273
|
-
align:
|
|
1273
|
+
align: m = "left"
|
|
1274
1274
|
}) => /* @__PURE__ */ r.jsx(
|
|
1275
1275
|
Mr,
|
|
1276
1276
|
{
|
|
@@ -1278,11 +1278,11 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
|
|
|
1278
1278
|
subtitle: t("formSubtitle"),
|
|
1279
1279
|
onBack: o,
|
|
1280
1280
|
backAriaLabel: t("back"),
|
|
1281
|
-
className: `${sr.header} ${
|
|
1281
|
+
className: `${sr.header} ${m === "center" ? sr.centered : ""} ${c}`
|
|
1282
1282
|
}
|
|
1283
|
-
),
|
|
1284
|
-
wrap:
|
|
1285
|
-
card:
|
|
1283
|
+
), mt = "_wrap_119w3_1", ft = "_card_119w3_5", ht = "_cardInner_119w3_12", pt = "_field_119w3_44", gt = "_labelRow_119w3_48", _t = "_label_119w3_48", bt = "_req_119w3_57", yt = "_help_119w3_61", vt = "_choiceRow_119w3_68", kt = "_choiceBtn_119w3_74", wt = "_choiceBtnActive_119w3_99", xt = "_infoBtn_119w3_105", Pt = "_infoImg_119w3_122", At = "_infoWrap_119w3_128", Ct = "_tooltip_119w3_134", jt = "_tooltipArrow_119w3_150", Nt = "_inputWrap_119w3_161", Tt = "_isdWrap_119w3_165", Rt = "_phoneInputGroup_119w3_169", St = "_isdSelectWrap_119w3_178", Et = "_isdSelectTrigger_119w3_197", It = "_isdDropdown_119w3_214", Bt = "_isdSearchWrap_119w3_229", Lt = "_isdSearchInput_119w3_237", Dt = "_isdOption_119w3_255", Ft = "_isdOptionActive_119w3_275", Ot = "_isdCountryName_119w3_281", Mt = "_isdCountryCode_119w3_288", $t = "_isdNoResult_119w3_295", Ut = "_suggestions_119w3_302", Gt = "_suggestionItem_119w3_315", Wt = "_suggestionMain_119w3_333", Kt = "_suggestionSecondary_119w3_339", Ht = "_suggestionsHint_119w3_344", Yt = "_fieldError_119w3_359", qt = "_timePopover_119w3_366", Vt = "_timePickerRow_119w3_382", zt = "_timePickerSelect_119w3_388", Jt = "_timePickerColon_119w3_404", Qt = "_meridiemToggle_119w3_412", Xt = "_meridiemBtn_119w3_421", Zt = "_meridiemActive_119w3_436", ea = "_timePopoverActions_119w3_441", ra = "_timePopoverBtn_119w3_447", ta = "_timePopoverOk_119w3_466", aa = "_input_119w3_161", na = "_phoneInput_119w3_169", oa = "_iconBtn_119w3_519", ia = "_iconBtnInteractive_119w3_525", la = "_iconImg_119w3_544", sa = "_checkboxRow_119w3_550", ca = "_checkbox_119w3_550", da = "_checkboxText_119w3_588", a = {
|
|
1284
|
+
wrap: mt,
|
|
1285
|
+
card: ft,
|
|
1286
1286
|
cardInner: ht,
|
|
1287
1287
|
field: pt,
|
|
1288
1288
|
labelRow: gt,
|
|
@@ -1341,47 +1341,47 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
|
|
|
1341
1341
|
offset: c,
|
|
1342
1342
|
restrictCountry: t?.restrictCountry
|
|
1343
1343
|
};
|
|
1344
|
-
},
|
|
1345
|
-
const { searchLocalities: o, restrictCountry: c } = t, [
|
|
1346
|
-
|
|
1347
|
-
|
|
1344
|
+
}, ma = (t) => {
|
|
1345
|
+
const { searchLocalities: o, restrictCountry: c } = t, [m, w] = G([]), [I, x] = G(!1), [R, P] = G(null), L = K(0);
|
|
1346
|
+
H(() => {
|
|
1347
|
+
P(null);
|
|
1348
1348
|
}, [o]);
|
|
1349
1349
|
const d = Ne(
|
|
1350
1350
|
async (h) => {
|
|
1351
1351
|
if (!h || h.length < 2 || !o) {
|
|
1352
|
-
|
|
1352
|
+
w([]);
|
|
1353
1353
|
return;
|
|
1354
1354
|
}
|
|
1355
|
-
const
|
|
1356
|
-
x(!0),
|
|
1355
|
+
const S = ++L.current;
|
|
1356
|
+
x(!0), P(null);
|
|
1357
1357
|
try {
|
|
1358
|
-
const
|
|
1359
|
-
if (
|
|
1360
|
-
const C = (
|
|
1361
|
-
(
|
|
1362
|
-
).map((
|
|
1363
|
-
id:
|
|
1364
|
-
description:
|
|
1365
|
-
secondary_text:
|
|
1366
|
-
lat:
|
|
1367
|
-
lng:
|
|
1358
|
+
const g = ua({ restrictCountry: c }), E = await o(h, g);
|
|
1359
|
+
if (S !== L.current) return;
|
|
1360
|
+
const C = (E || []).filter(
|
|
1361
|
+
(p) => !!p?.id && !!p?.description && cr(p?.lat) && cr(p?.lng)
|
|
1362
|
+
).map((p) => ({
|
|
1363
|
+
id: p.id,
|
|
1364
|
+
description: p.description,
|
|
1365
|
+
secondary_text: p.secondaryText,
|
|
1366
|
+
lat: p.lat,
|
|
1367
|
+
lng: p.lng
|
|
1368
1368
|
}));
|
|
1369
|
-
|
|
1370
|
-
} catch (
|
|
1371
|
-
if (
|
|
1372
|
-
|
|
1369
|
+
w(C);
|
|
1370
|
+
} catch (g) {
|
|
1371
|
+
if (S !== L.current) return;
|
|
1372
|
+
w([]), P(g?.message || "Failed to fetch locations");
|
|
1373
1373
|
} finally {
|
|
1374
|
-
|
|
1374
|
+
S === L.current && x(!1);
|
|
1375
1375
|
}
|
|
1376
1376
|
},
|
|
1377
1377
|
[c, o]
|
|
1378
|
-
),
|
|
1378
|
+
), j = Ne(() => w([]), []);
|
|
1379
1379
|
return {
|
|
1380
|
-
predictions:
|
|
1381
|
-
isSearching:
|
|
1382
|
-
loadError:
|
|
1380
|
+
predictions: m,
|
|
1381
|
+
isSearching: I,
|
|
1382
|
+
loadError: R,
|
|
1383
1383
|
searchPlaces: d,
|
|
1384
|
-
clearPredictions:
|
|
1384
|
+
clearPredictions: j
|
|
1385
1385
|
};
|
|
1386
1386
|
}, Ce = {
|
|
1387
1387
|
time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
|
|
@@ -1460,21 +1460,21 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
|
|
|
1460
1460
|
{ code: "+977", country: "Nepal" }
|
|
1461
1461
|
];
|
|
1462
1462
|
gr.map((t) => t.code);
|
|
1463
|
-
const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
1463
|
+
const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r), fa = (t) => He(t).length === _r, ha = (t, o, c) => fa(t) ? c.phone ? { shouldTrack: !1 } : (c.phone = !0, { shouldTrack: !0, fullPhone: `${o}-${He(t)}` }) : (c.phone = !1, { shouldTrack: !1 }), pa = ({
|
|
1464
1464
|
t,
|
|
1465
1465
|
values: o,
|
|
1466
1466
|
onChange: c,
|
|
1467
|
-
phoneIsdCode:
|
|
1468
|
-
onPhoneIsdCodeChange:
|
|
1469
|
-
showV1ExtraFields:
|
|
1467
|
+
phoneIsdCode: m,
|
|
1468
|
+
onPhoneIsdCodeChange: w,
|
|
1469
|
+
showV1ExtraFields: I = !1,
|
|
1470
1470
|
analytics: x,
|
|
1471
|
-
atlasSearchLocalities:
|
|
1472
|
-
className:
|
|
1471
|
+
atlasSearchLocalities: R,
|
|
1472
|
+
className: P = ""
|
|
1473
1473
|
}) => {
|
|
1474
|
-
const
|
|
1474
|
+
const L = Te(), d = L?.config?.analytics ?? x, j = L?.config.isGlobal ?? !0, h = L?.config?.atlasSearchLocalities, [S, g] = G(!1), [E, C] = G(""), p = K(null), k = K(null), $ = K({}), b = (n) => c({ ...o, ...n }), F = (n, s) => {
|
|
1475
1475
|
if (n === "phone") {
|
|
1476
|
-
const
|
|
1477
|
-
|
|
1476
|
+
const D = ha(s, m, $.current);
|
|
1477
|
+
D.shouldTrack && d?.trackPhoneSectionFilled?.({ phone: D.fullPhone });
|
|
1478
1478
|
return;
|
|
1479
1479
|
}
|
|
1480
1480
|
s.trim() && !$.current[n] && ($.current[n] = !0, {
|
|
@@ -1484,51 +1484,51 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1484
1484
|
birthTime: () => d?.trackTimeFilled?.(),
|
|
1485
1485
|
birthPlace: () => d?.trackPlaceOfBirthChosen?.()
|
|
1486
1486
|
}[n]?.());
|
|
1487
|
-
},
|
|
1488
|
-
|
|
1489
|
-
const
|
|
1487
|
+
}, q = E.trim().toLowerCase(), X = gr.filter((n) => q ? n.country.toLowerCase().includes(q) || n.code.includes(q) : !0), Z = K(null);
|
|
1488
|
+
K(null);
|
|
1489
|
+
const U = K(null), Y = K(0), oe = K(null), [ce, B] = G(!1), [N, W] = G({ hour12: 12, minute: "00", meridiem: "AM" }), z = (n) => String(n).padStart(2, "0"), pe = (n) => {
|
|
1490
1490
|
const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1491
1491
|
if (!s) return n;
|
|
1492
|
-
const
|
|
1493
|
-
return `${
|
|
1494
|
-
},
|
|
1492
|
+
const D = Number(s[1]), ae = s[2], Re = D >= 12 ? "PM" : "AM";
|
|
1493
|
+
return `${D % 12 === 0 ? 12 : D % 12}:${ae} ${Re}`;
|
|
1494
|
+
}, me = (n) => {
|
|
1495
1495
|
const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1496
1496
|
if (!s) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1497
|
-
const
|
|
1498
|
-
return { hour12:
|
|
1497
|
+
const D = Number(s[1]), ae = s[2], Re = D >= 12 ? "PM" : "AM";
|
|
1498
|
+
return { hour12: D % 12 === 0 ? 12 : D % 12, minute: ae, meridiem: Re };
|
|
1499
1499
|
}, V = (n) => {
|
|
1500
|
-
const s = Math.min(12, Math.max(1, n.hour12)),
|
|
1500
|
+
const s = Math.min(12, Math.max(1, n.hour12)), D = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
|
|
1501
1501
|
let ae = s % 12;
|
|
1502
|
-
return n.meridiem === "PM" && (ae += 12), `${
|
|
1503
|
-
}, ee =
|
|
1502
|
+
return n.meridiem === "PM" && (ae += 12), `${z(ae)}:${D}`;
|
|
1503
|
+
}, ee = K(null), [re, de] = G(!1), [te, he] = G(
|
|
1504
1504
|
null
|
|
1505
|
-
), ie = (o.birthPlace ?? "").trim(), ge =
|
|
1505
|
+
), ie = (o.birthPlace ?? "").trim(), ge = j ? void 0 : "in", ue = R ?? h, J = Number.isFinite(o.birthPlaceLat) && Number.isFinite(o.birthPlaceLng), be = ie.length > 0 && !J && !re, {
|
|
1506
1506
|
predictions: le,
|
|
1507
1507
|
isSearching: we,
|
|
1508
1508
|
loadError: _e,
|
|
1509
1509
|
searchPlaces: xe,
|
|
1510
1510
|
clearPredictions: ye
|
|
1511
|
-
} =
|
|
1511
|
+
} = ma({
|
|
1512
1512
|
searchLocalities: ue,
|
|
1513
1513
|
restrictCountry: ge
|
|
1514
1514
|
});
|
|
1515
|
-
|
|
1515
|
+
H(() => {
|
|
1516
1516
|
const n = (s) => {
|
|
1517
1517
|
ee.current && (ee.current.contains(s.target) || de(!1));
|
|
1518
1518
|
};
|
|
1519
1519
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1520
|
-
}, []),
|
|
1520
|
+
}, []), H(() => {
|
|
1521
1521
|
const n = (s) => {
|
|
1522
|
-
|
|
1522
|
+
p.current && (p.current.contains(s.target) || (g(!1), C("")));
|
|
1523
1523
|
};
|
|
1524
1524
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1525
|
-
}, []),
|
|
1526
|
-
if (!
|
|
1525
|
+
}, []), H(() => {
|
|
1526
|
+
if (!S) return;
|
|
1527
1527
|
const n = window.setTimeout(() => {
|
|
1528
|
-
|
|
1528
|
+
k.current?.focus();
|
|
1529
1529
|
}, 0);
|
|
1530
1530
|
return () => window.clearTimeout(n);
|
|
1531
|
-
}, [
|
|
1531
|
+
}, [S]), H(() => {
|
|
1532
1532
|
if (!re) return;
|
|
1533
1533
|
if (ie.length < 2) {
|
|
1534
1534
|
ye();
|
|
@@ -1542,27 +1542,27 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1542
1542
|
const v = (n) => {
|
|
1543
1543
|
const s = n.current;
|
|
1544
1544
|
if (!(!s || s.disabled)) {
|
|
1545
|
-
if (document.activeElement === s &&
|
|
1545
|
+
if (document.activeElement === s && U.current === s && Date.now() - Y.current < 6e4) {
|
|
1546
1546
|
s.blur();
|
|
1547
1547
|
return;
|
|
1548
1548
|
}
|
|
1549
1549
|
if (typeof s.showPicker == "function") {
|
|
1550
|
-
s.showPicker(),
|
|
1550
|
+
s.showPicker(), U.current = s, Y.current = Date.now();
|
|
1551
1551
|
return;
|
|
1552
1552
|
}
|
|
1553
|
-
s.focus(),
|
|
1553
|
+
s.focus(), U.current = s, Y.current = Date.now();
|
|
1554
1554
|
}
|
|
1555
1555
|
};
|
|
1556
|
-
return
|
|
1556
|
+
return H(() => {
|
|
1557
1557
|
const n = (s) => {
|
|
1558
|
-
|
|
1558
|
+
oe.current && (oe.current.contains(s.target) || B(!1));
|
|
1559
1559
|
};
|
|
1560
1560
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1561
|
-
}, []),
|
|
1562
|
-
const n = (
|
|
1563
|
-
|
|
1564
|
-
}, s = (
|
|
1565
|
-
|
|
1561
|
+
}, []), H(() => {
|
|
1562
|
+
const n = (D) => {
|
|
1563
|
+
D.target?.closest?.("[data-info-tooltip]") == null && he(null);
|
|
1564
|
+
}, s = (D) => {
|
|
1565
|
+
D.key === "Escape" && he(null);
|
|
1566
1566
|
};
|
|
1567
1567
|
return document.addEventListener("mousedown", n), document.addEventListener("keydown", s), () => {
|
|
1568
1568
|
document.removeEventListener("mousedown", n), document.removeEventListener("keydown", s);
|
|
@@ -1570,7 +1570,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1570
1570
|
}, []), /* @__PURE__ */ r.jsx(
|
|
1571
1571
|
"section",
|
|
1572
1572
|
{
|
|
1573
|
-
className: `${a.wrap} ${
|
|
1573
|
+
className: `${a.wrap} ${P}`,
|
|
1574
1574
|
"aria-label": t("formTitle"),
|
|
1575
1575
|
children: /* @__PURE__ */ r.jsx("div", { className: a.card, children: /* @__PURE__ */ r.jsxs("div", { className: a.cardInner, children: [
|
|
1576
1576
|
/* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
@@ -1588,7 +1588,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1588
1588
|
onFocus: () => d?.trackNameSectionClicked?.(),
|
|
1589
1589
|
onChange: (n) => {
|
|
1590
1590
|
const s = n.target.value;
|
|
1591
|
-
|
|
1591
|
+
b({ fullName: s }), F("fullName", s);
|
|
1592
1592
|
},
|
|
1593
1593
|
placeholder: t("formFullNamePlaceholder"),
|
|
1594
1594
|
autoComplete: "name"
|
|
@@ -1598,9 +1598,9 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1598
1598
|
/* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1599
1599
|
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-phone", children: [
|
|
1600
1600
|
t("formPhone"),
|
|
1601
|
-
!
|
|
1601
|
+
!j && /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
1602
1602
|
] }) }),
|
|
1603
|
-
/* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref:
|
|
1603
|
+
/* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref: p, children: [
|
|
1604
1604
|
/* @__PURE__ */ r.jsxs("div", { className: a.phoneInputGroup, children: [
|
|
1605
1605
|
/* @__PURE__ */ r.jsx("div", { className: a.isdSelectWrap, children: /* @__PURE__ */ r.jsx(
|
|
1606
1606
|
"button",
|
|
@@ -1608,11 +1608,11 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1608
1608
|
type: "button",
|
|
1609
1609
|
className: a.isdSelectTrigger,
|
|
1610
1610
|
"aria-haspopup": "listbox",
|
|
1611
|
-
"aria-expanded":
|
|
1611
|
+
"aria-expanded": S,
|
|
1612
1612
|
onClick: () => {
|
|
1613
|
-
|
|
1613
|
+
g((n) => !n), C("");
|
|
1614
1614
|
},
|
|
1615
|
-
children:
|
|
1615
|
+
children: m
|
|
1616
1616
|
}
|
|
1617
1617
|
) }),
|
|
1618
1618
|
/* @__PURE__ */ r.jsx(
|
|
@@ -1625,19 +1625,19 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1625
1625
|
onFocus: () => d?.trackPhoneSectionClicked?.(),
|
|
1626
1626
|
onChange: (n) => {
|
|
1627
1627
|
const s = n.target.value;
|
|
1628
|
-
|
|
1628
|
+
b({ phone: dr(s) }), F("phone", dr(s));
|
|
1629
1629
|
},
|
|
1630
1630
|
placeholder: t("formPhonePlaceholder"),
|
|
1631
1631
|
autoComplete: "tel",
|
|
1632
1632
|
inputMode: "numeric",
|
|
1633
1633
|
pattern: "[0-9]{10}",
|
|
1634
1634
|
maxLength: 10,
|
|
1635
|
-
required: !
|
|
1636
|
-
"aria-required": !
|
|
1635
|
+
required: !j,
|
|
1636
|
+
"aria-required": !j
|
|
1637
1637
|
}
|
|
1638
1638
|
)
|
|
1639
1639
|
] }),
|
|
1640
|
-
|
|
1640
|
+
S && /* @__PURE__ */ r.jsxs(
|
|
1641
1641
|
"div",
|
|
1642
1642
|
{
|
|
1643
1643
|
className: a.isdDropdown,
|
|
@@ -1647,24 +1647,24 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1647
1647
|
/* @__PURE__ */ r.jsx("div", { className: a.isdSearchWrap, children: /* @__PURE__ */ r.jsx(
|
|
1648
1648
|
"input",
|
|
1649
1649
|
{
|
|
1650
|
-
ref:
|
|
1650
|
+
ref: k,
|
|
1651
1651
|
type: "text",
|
|
1652
|
-
value:
|
|
1652
|
+
value: E,
|
|
1653
1653
|
onChange: (n) => C(n.target.value),
|
|
1654
1654
|
placeholder: "Search country",
|
|
1655
1655
|
className: a.isdSearchInput,
|
|
1656
1656
|
"aria-label": "Search country"
|
|
1657
1657
|
}
|
|
1658
1658
|
) }),
|
|
1659
|
-
|
|
1659
|
+
X.length > 0 ? X.map((n) => /* @__PURE__ */ r.jsxs(
|
|
1660
1660
|
"button",
|
|
1661
1661
|
{
|
|
1662
1662
|
type: "button",
|
|
1663
1663
|
role: "option",
|
|
1664
|
-
"aria-selected": n.code ===
|
|
1665
|
-
className: `${a.isdOption} ${n.code ===
|
|
1664
|
+
"aria-selected": n.code === m,
|
|
1665
|
+
className: `${a.isdOption} ${n.code === m ? a.isdOptionActive : ""}`,
|
|
1666
1666
|
onClick: () => {
|
|
1667
|
-
|
|
1667
|
+
w(n.code), g(!1), C("");
|
|
1668
1668
|
},
|
|
1669
1669
|
children: [
|
|
1670
1670
|
/* @__PURE__ */ r.jsx("span", { className: a.isdCountryName, children: n.country }),
|
|
@@ -1678,7 +1678,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1678
1678
|
)
|
|
1679
1679
|
] }) })
|
|
1680
1680
|
] }),
|
|
1681
|
-
|
|
1681
|
+
I && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1682
1682
|
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
|
|
1683
1683
|
t("formGender"),
|
|
1684
1684
|
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
@@ -1697,7 +1697,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1697
1697
|
type: "button",
|
|
1698
1698
|
className: `${a.choiceBtn} ${o.gender === "male" ? a.choiceBtnActive : ""}`,
|
|
1699
1699
|
onClick: () => {
|
|
1700
|
-
|
|
1700
|
+
b({ gender: "male" }), d?.trackGenderSelected?.({
|
|
1701
1701
|
gender: "male"
|
|
1702
1702
|
});
|
|
1703
1703
|
},
|
|
@@ -1713,7 +1713,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1713
1713
|
type: "button",
|
|
1714
1714
|
className: `${a.choiceBtn} ${o.gender === "female" ? a.choiceBtnActive : ""}`,
|
|
1715
1715
|
onClick: () => {
|
|
1716
|
-
|
|
1716
|
+
b({ gender: "female" }), d?.trackGenderSelected?.({
|
|
1717
1717
|
gender: "female"
|
|
1718
1718
|
});
|
|
1719
1719
|
},
|
|
@@ -1726,7 +1726,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1726
1726
|
}
|
|
1727
1727
|
)
|
|
1728
1728
|
] }),
|
|
1729
|
-
|
|
1729
|
+
j && /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1730
1730
|
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-email", children: [
|
|
1731
1731
|
t("formEmail"),
|
|
1732
1732
|
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
@@ -1739,7 +1739,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1739
1739
|
className: a.input,
|
|
1740
1740
|
type: "email",
|
|
1741
1741
|
value: o.email,
|
|
1742
|
-
onChange: (n) =>
|
|
1742
|
+
onChange: (n) => b({ email: n.target.value }),
|
|
1743
1743
|
placeholder: t("formEmailPlaceholder"),
|
|
1744
1744
|
autoComplete: "email",
|
|
1745
1745
|
required: !0,
|
|
@@ -1788,20 +1788,20 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1788
1788
|
id: "kundli-dob",
|
|
1789
1789
|
className: a.input,
|
|
1790
1790
|
type: "date",
|
|
1791
|
-
ref:
|
|
1791
|
+
ref: Z,
|
|
1792
1792
|
value: o.dateOfBirth,
|
|
1793
1793
|
max: (() => {
|
|
1794
1794
|
const n = /* @__PURE__ */ new Date();
|
|
1795
|
-
return `${n.getFullYear()}-${
|
|
1795
|
+
return `${n.getFullYear()}-${z(n.getMonth() + 1)}-${z(n.getDate())}`;
|
|
1796
1796
|
})(),
|
|
1797
1797
|
onChange: (n) => {
|
|
1798
|
-
const s = n.target.value,
|
|
1799
|
-
s && s > ae || (
|
|
1798
|
+
const s = n.target.value, D = /* @__PURE__ */ new Date(), ae = `${D.getFullYear()}-${z(D.getMonth() + 1)}-${z(D.getDate())}`;
|
|
1799
|
+
s && s > ae || (b({ dateOfBirth: s }), F("dateOfBirth", s), U.current = null);
|
|
1800
1800
|
},
|
|
1801
1801
|
onFocus: () => d?.trackDobClicked?.(),
|
|
1802
|
-
onClick: () => v(
|
|
1802
|
+
onClick: () => v(Z),
|
|
1803
1803
|
onBlur: () => {
|
|
1804
|
-
|
|
1804
|
+
U.current === Z.current && (U.current = null);
|
|
1805
1805
|
}
|
|
1806
1806
|
}
|
|
1807
1807
|
),
|
|
@@ -1813,7 +1813,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1813
1813
|
"aria-label": "Open date picker",
|
|
1814
1814
|
onMouseDown: (n) => n.preventDefault(),
|
|
1815
1815
|
onClick: (n) => {
|
|
1816
|
-
n.preventDefault(), n.stopPropagation(), v(
|
|
1816
|
+
n.preventDefault(), n.stopPropagation(), v(Z);
|
|
1817
1817
|
},
|
|
1818
1818
|
children: /* @__PURE__ */ r.jsx(
|
|
1819
1819
|
"img",
|
|
@@ -1862,7 +1862,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1862
1862
|
] })
|
|
1863
1863
|
] })
|
|
1864
1864
|
] }),
|
|
1865
|
-
/* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref:
|
|
1865
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: oe, children: [
|
|
1866
1866
|
/* @__PURE__ */ r.jsx(
|
|
1867
1867
|
"input",
|
|
1868
1868
|
{
|
|
@@ -1874,12 +1874,12 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1874
1874
|
onFocus: () => d?.trackTimeClicked?.(),
|
|
1875
1875
|
onChange: (n) => {
|
|
1876
1876
|
const s = n.target.value;
|
|
1877
|
-
|
|
1877
|
+
b({ birthTime: s }), F("birthTime", s);
|
|
1878
1878
|
},
|
|
1879
1879
|
disabled: o.birthTimeUnknown,
|
|
1880
1880
|
placeholder: "HH:MM AM",
|
|
1881
1881
|
onClick: () => {
|
|
1882
|
-
o.birthTimeUnknown || (
|
|
1882
|
+
o.birthTimeUnknown || (W(me(o.birthTime || "12:00")), B((n) => !n));
|
|
1883
1883
|
}
|
|
1884
1884
|
}
|
|
1885
1885
|
),
|
|
@@ -1892,7 +1892,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1892
1892
|
disabled: o.birthTimeUnknown,
|
|
1893
1893
|
onMouseDown: (n) => n.preventDefault(),
|
|
1894
1894
|
onClick: (n) => {
|
|
1895
|
-
n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (
|
|
1895
|
+
n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (W(me(o.birthTime || "12:00")), B((s) => !s));
|
|
1896
1896
|
},
|
|
1897
1897
|
children: /* @__PURE__ */ r.jsx(
|
|
1898
1898
|
"img",
|
|
@@ -1905,7 +1905,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1905
1905
|
)
|
|
1906
1906
|
}
|
|
1907
1907
|
),
|
|
1908
|
-
|
|
1908
|
+
ce && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
|
|
1909
1909
|
"div",
|
|
1910
1910
|
{
|
|
1911
1911
|
className: a.timePopover,
|
|
@@ -1917,8 +1917,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1917
1917
|
"select",
|
|
1918
1918
|
{
|
|
1919
1919
|
className: a.timePickerSelect,
|
|
1920
|
-
value:
|
|
1921
|
-
onChange: (n) =>
|
|
1920
|
+
value: N.hour12,
|
|
1921
|
+
onChange: (n) => W((s) => ({
|
|
1922
1922
|
...s,
|
|
1923
1923
|
hour12: Number(n.target.value)
|
|
1924
1924
|
})),
|
|
@@ -1931,10 +1931,10 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1931
1931
|
"select",
|
|
1932
1932
|
{
|
|
1933
1933
|
className: a.timePickerSelect,
|
|
1934
|
-
value:
|
|
1935
|
-
onChange: (n) =>
|
|
1934
|
+
value: N.minute,
|
|
1935
|
+
onChange: (n) => W((s) => ({ ...s, minute: n.target.value })),
|
|
1936
1936
|
"aria-label": "Minute",
|
|
1937
|
-
children: Array.from({ length: 60 }, (n, s) =>
|
|
1937
|
+
children: Array.from({ length: 60 }, (n, s) => z(s)).map(
|
|
1938
1938
|
(n) => /* @__PURE__ */ r.jsx("option", { value: n, children: n }, n)
|
|
1939
1939
|
)
|
|
1940
1940
|
}
|
|
@@ -1944,8 +1944,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1944
1944
|
"button",
|
|
1945
1945
|
{
|
|
1946
1946
|
type: "button",
|
|
1947
|
-
className: `${a.meridiemBtn} ${
|
|
1948
|
-
onClick: () =>
|
|
1947
|
+
className: `${a.meridiemBtn} ${N.meridiem === "AM" ? a.meridiemActive : ""}`,
|
|
1948
|
+
onClick: () => W((n) => ({ ...n, meridiem: "AM" })),
|
|
1949
1949
|
children: "AM"
|
|
1950
1950
|
}
|
|
1951
1951
|
),
|
|
@@ -1953,8 +1953,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1953
1953
|
"button",
|
|
1954
1954
|
{
|
|
1955
1955
|
type: "button",
|
|
1956
|
-
className: `${a.meridiemBtn} ${
|
|
1957
|
-
onClick: () =>
|
|
1956
|
+
className: `${a.meridiemBtn} ${N.meridiem === "PM" ? a.meridiemActive : ""}`,
|
|
1957
|
+
onClick: () => W((n) => ({ ...n, meridiem: "PM" })),
|
|
1958
1958
|
children: "PM"
|
|
1959
1959
|
}
|
|
1960
1960
|
)
|
|
@@ -1966,7 +1966,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1966
1966
|
{
|
|
1967
1967
|
type: "button",
|
|
1968
1968
|
className: a.timePopoverBtn,
|
|
1969
|
-
onClick: () =>
|
|
1969
|
+
onClick: () => B(!1),
|
|
1970
1970
|
children: "Cancel"
|
|
1971
1971
|
}
|
|
1972
1972
|
),
|
|
@@ -1976,8 +1976,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1976
1976
|
type: "button",
|
|
1977
1977
|
className: `${a.timePopoverBtn} ${a.timePopoverOk}`,
|
|
1978
1978
|
onClick: () => {
|
|
1979
|
-
const n = V(
|
|
1980
|
-
|
|
1979
|
+
const n = V(N);
|
|
1980
|
+
b({ birthTime: n }), F("birthTime", n), B(!1);
|
|
1981
1981
|
},
|
|
1982
1982
|
"aria-label": "OK",
|
|
1983
1983
|
children: /* @__PURE__ */ r.jsx(
|
|
@@ -2017,7 +2017,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2017
2017
|
type: "checkbox",
|
|
2018
2018
|
checked: o.birthTimeUnknown,
|
|
2019
2019
|
onChange: (n) => {
|
|
2020
|
-
d?.trackTimeCheckboxClicked?.(),
|
|
2020
|
+
d?.trackTimeCheckboxClicked?.(), b({
|
|
2021
2021
|
birthTimeUnknown: n.target.checked,
|
|
2022
2022
|
birthTime: n.target.checked ? "" : o.birthTime
|
|
2023
2023
|
});
|
|
@@ -2084,7 +2084,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2084
2084
|
value: o.birthPlace,
|
|
2085
2085
|
onChange: (n) => {
|
|
2086
2086
|
const s = n.target.value;
|
|
2087
|
-
|
|
2087
|
+
b({
|
|
2088
2088
|
birthPlace: s,
|
|
2089
2089
|
birthPlaceLat: void 0,
|
|
2090
2090
|
birthPlaceLng: void 0
|
|
@@ -2112,7 +2112,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2112
2112
|
type: "button",
|
|
2113
2113
|
className: a.suggestionItem,
|
|
2114
2114
|
onClick: () => {
|
|
2115
|
-
|
|
2115
|
+
b({
|
|
2116
2116
|
birthPlace: n.description,
|
|
2117
2117
|
birthPlaceLat: n.lat,
|
|
2118
2118
|
birthPlaceLng: n.lng
|
|
@@ -2130,7 +2130,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2130
2130
|
] }),
|
|
2131
2131
|
be && /* @__PURE__ */ r.jsx("p", { className: a.fieldError, children: "Please select a place from the dropdown list." })
|
|
2132
2132
|
] }),
|
|
2133
|
-
|
|
2133
|
+
I && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
2134
2134
|
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
|
|
2135
2135
|
t("formReportLanguage"),
|
|
2136
2136
|
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
@@ -2149,7 +2149,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2149
2149
|
type: "button",
|
|
2150
2150
|
className: `${a.choiceBtn} ${o.language_code === "hi" ? a.choiceBtnActive : ""}`,
|
|
2151
2151
|
onClick: () => {
|
|
2152
|
-
|
|
2152
|
+
b({ language_code: "hi" }), d?.trackLanguageOfReportSelected?.({
|
|
2153
2153
|
language: "hi"
|
|
2154
2154
|
});
|
|
2155
2155
|
},
|
|
@@ -2165,7 +2165,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2165
2165
|
type: "button",
|
|
2166
2166
|
className: `${a.choiceBtn} ${o.language_code === "en" ? a.choiceBtnActive : ""}`,
|
|
2167
2167
|
onClick: () => {
|
|
2168
|
-
|
|
2168
|
+
b({ language_code: "en" }), d?.trackLanguageOfReportSelected?.({
|
|
2169
2169
|
language: "en"
|
|
2170
2170
|
});
|
|
2171
2171
|
},
|
|
@@ -2181,7 +2181,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2181
2181
|
type: "button",
|
|
2182
2182
|
className: `${a.choiceBtn} ${o.language_code === "te" ? a.choiceBtnActive : ""}`,
|
|
2183
2183
|
onClick: () => {
|
|
2184
|
-
|
|
2184
|
+
b({ language_code: "te" }), d?.trackLanguageOfReportSelected?.({
|
|
2185
2185
|
language: "te"
|
|
2186
2186
|
});
|
|
2187
2187
|
},
|
|
@@ -2197,7 +2197,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2197
2197
|
type: "button",
|
|
2198
2198
|
className: `${a.choiceBtn} ${o.language_code === "ta" ? a.choiceBtnActive : ""}`,
|
|
2199
2199
|
onClick: () => {
|
|
2200
|
-
|
|
2200
|
+
b({ language_code: "ta" }), d?.trackLanguageOfReportSelected?.({
|
|
2201
2201
|
language: "ta"
|
|
2202
2202
|
});
|
|
2203
2203
|
},
|
|
@@ -2213,7 +2213,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2213
2213
|
type: "button",
|
|
2214
2214
|
className: `${a.choiceBtn} ${o.language_code === "kn" ? a.choiceBtnActive : ""}`,
|
|
2215
2215
|
onClick: () => {
|
|
2216
|
-
|
|
2216
|
+
b({ language_code: "kn" }), d?.trackLanguageOfReportSelected?.({
|
|
2217
2217
|
language: "kn"
|
|
2218
2218
|
});
|
|
2219
2219
|
},
|
|
@@ -2229,7 +2229,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2229
2229
|
type: "button",
|
|
2230
2230
|
className: `${a.choiceBtn} ${o.language_code === "gu" ? a.choiceBtnActive : ""}`,
|
|
2231
2231
|
onClick: () => {
|
|
2232
|
-
|
|
2232
|
+
b({ language_code: "gu" }), d?.trackLanguageOfReportSelected?.({
|
|
2233
2233
|
language: "gu"
|
|
2234
2234
|
});
|
|
2235
2235
|
},
|
|
@@ -2245,7 +2245,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2245
2245
|
type: "button",
|
|
2246
2246
|
className: `${a.choiceBtn} ${o.language_code === "mr" ? a.choiceBtnActive : ""}`,
|
|
2247
2247
|
onClick: () => {
|
|
2248
|
-
|
|
2248
|
+
b({ language_code: "mr" }), d?.trackLanguageOfReportSelected?.({
|
|
2249
2249
|
language: "mr"
|
|
2250
2250
|
});
|
|
2251
2251
|
},
|
|
@@ -2330,59 +2330,58 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2330
2330
|
t,
|
|
2331
2331
|
values: o,
|
|
2332
2332
|
phoneIsdCode: c,
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
selectedPlan: B
|
|
2333
|
+
requireV1ExtraFields: m = !1,
|
|
2334
|
+
onValidationFailed: w,
|
|
2335
|
+
onProceed: I,
|
|
2336
|
+
onProceedGuidance: x,
|
|
2337
|
+
href: R,
|
|
2338
|
+
analytics: P,
|
|
2339
|
+
className: L = "",
|
|
2340
|
+
discountedPriceLabel: d,
|
|
2341
|
+
showPlanSheet: j,
|
|
2342
|
+
confirmPlan: h,
|
|
2343
|
+
planSheetOpen: S,
|
|
2344
|
+
selectedPlan: g
|
|
2346
2345
|
}) => {
|
|
2347
|
-
const
|
|
2348
|
-
() => ja(o,
|
|
2349
|
-
[o,
|
|
2350
|
-
),
|
|
2351
|
-
|
|
2352
|
-
if (
|
|
2346
|
+
const E = Te(), C = E?.config.isGlobal ?? !0, p = E?.config?.variant, [k, $] = G(!1), b = Ue(
|
|
2347
|
+
() => ja(o, C, m),
|
|
2348
|
+
[o, C, m]
|
|
2349
|
+
), F = b === null, q = p === "v1" && E?.config?.showSheet;
|
|
2350
|
+
H(() => {
|
|
2351
|
+
if (!k) return;
|
|
2353
2352
|
const oe = window.setTimeout(() => {
|
|
2354
|
-
|
|
2353
|
+
$(!1);
|
|
2355
2354
|
}, 2200);
|
|
2356
2355
|
return () => window.clearTimeout(oe);
|
|
2357
|
-
}, [
|
|
2358
|
-
const
|
|
2359
|
-
if (oe.preventDefault(),
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
),
|
|
2356
|
+
}, [k]);
|
|
2357
|
+
const X = C ? d ?? t("formDiscountedPrice") : q ? "" : "₹499", Z = E?.config.imageComponent ?? Be, U = (oe) => {
|
|
2358
|
+
if (oe.preventDefault(), p === "v1" && !F && P?.trackKundliDetailedClicked?.(), !F) {
|
|
2359
|
+
b && (w?.(
|
|
2360
|
+
b === "birthPlaceCoordinates" ? "birthPlace" : b
|
|
2361
|
+
), b === "birthPlaceCoordinates" && $(!0));
|
|
2363
2362
|
return;
|
|
2364
2363
|
}
|
|
2365
|
-
const
|
|
2364
|
+
const ce = !!x && p === "v1" && g?.id === br, B = (o.phone ?? "").trim(), N = {
|
|
2366
2365
|
...o,
|
|
2367
|
-
phone:
|
|
2366
|
+
phone: B && `${c}-${B}`
|
|
2368
2367
|
};
|
|
2369
|
-
if (
|
|
2370
|
-
|
|
2368
|
+
if (q) {
|
|
2369
|
+
S ? h?.() : j?.(N);
|
|
2371
2370
|
return;
|
|
2372
2371
|
}
|
|
2373
|
-
|
|
2374
|
-
},
|
|
2372
|
+
P?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), ce ? x(N) : I?.(N);
|
|
2373
|
+
}, Y = /* @__PURE__ */ r.jsx(
|
|
2375
2374
|
$r,
|
|
2376
2375
|
{
|
|
2377
|
-
href:
|
|
2378
|
-
disabled:
|
|
2379
|
-
onClick:
|
|
2376
|
+
href: R,
|
|
2377
|
+
disabled: p === "v1" ? !1 : !F,
|
|
2378
|
+
onClick: U,
|
|
2380
2379
|
"aria-label": t("formPriceAria"),
|
|
2381
|
-
className:
|
|
2382
|
-
children:
|
|
2383
|
-
|
|
2380
|
+
className: p === "v1" && F ? je.ctaFilled : p === "v1" ? je.ctaButton : void 0,
|
|
2381
|
+
children: p === "v1" ? F ? /* @__PURE__ */ r.jsxs("span", { className: je.ctaFilledContent, children: [
|
|
2382
|
+
q ? t("selectPackage") : S && g ? `${t("proceedWithPlan")}${g.price}` : `${t("formProceed")} ${X}`,
|
|
2384
2383
|
/* @__PURE__ */ r.jsx(
|
|
2385
|
-
|
|
2384
|
+
Z,
|
|
2386
2385
|
{
|
|
2387
2386
|
src: xa,
|
|
2388
2387
|
alt: "",
|
|
@@ -2395,18 +2394,18 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2395
2394
|
] }) : t("formCtaDefault") : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
2396
2395
|
t("formProceed"),
|
|
2397
2396
|
" ",
|
|
2398
|
-
|
|
2397
|
+
X
|
|
2399
2398
|
] })
|
|
2400
2399
|
}
|
|
2401
2400
|
);
|
|
2402
2401
|
return /* @__PURE__ */ r.jsxs(
|
|
2403
2402
|
Ur,
|
|
2404
2403
|
{
|
|
2405
|
-
className: `${je.footerContainer} ${
|
|
2404
|
+
className: `${je.footerContainer} ${L}`,
|
|
2406
2405
|
marquee: /* @__PURE__ */ r.jsx(Gr, { children: /* @__PURE__ */ r.jsx(Pa, { t }) }),
|
|
2407
2406
|
children: [
|
|
2408
|
-
|
|
2409
|
-
|
|
2407
|
+
k && /* @__PURE__ */ r.jsx("div", { className: je.validationToast, role: "alert", "aria-live": "assertive", children: t("formFillAllFields") }),
|
|
2408
|
+
Y
|
|
2410
2409
|
]
|
|
2411
2410
|
}
|
|
2412
2411
|
);
|
|
@@ -2414,18 +2413,18 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2414
2413
|
t,
|
|
2415
2414
|
languageSelector: o,
|
|
2416
2415
|
logoUrl: c = Ta,
|
|
2417
|
-
className:
|
|
2416
|
+
className: m = ""
|
|
2418
2417
|
}) => {
|
|
2419
|
-
const
|
|
2418
|
+
const w = Te(), I = w?.config.isGlobal ?? !0, x = o != null && !I;
|
|
2420
2419
|
return /* @__PURE__ */ r.jsx(
|
|
2421
2420
|
Wr,
|
|
2422
2421
|
{
|
|
2423
2422
|
t,
|
|
2424
2423
|
logoUrl: c,
|
|
2425
|
-
imageComponent:
|
|
2424
|
+
imageComponent: w?.config.imageComponent,
|
|
2426
2425
|
languageSelector: o,
|
|
2427
2426
|
showLanguageSelector: x,
|
|
2428
|
-
className:
|
|
2427
|
+
className: m
|
|
2429
2428
|
}
|
|
2430
2429
|
);
|
|
2431
2430
|
}, Sa = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
|
|
@@ -2448,7 +2447,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2448
2447
|
) }), Ia = () => /* @__PURE__ */ r.jsx("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx("path", { d: "M15 18l-6-6 6-6" }) }), Ba = () => /* @__PURE__ */ r.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: [
|
|
2449
2448
|
/* @__PURE__ */ r.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
|
|
2450
2449
|
/* @__PURE__ */ r.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
2451
|
-
] }), La = "_overlay_18irl_2", Da = "_sheet_18irl_12", Fa = "_header_18irl_36", Oa = "_backBtn_18irl_48", Ma = "_title_18irl_66", $a = "_plansContainer_18irl_78", Ua = "_planCard_18irl_87", Ga = "_withBadgeSpacing_18irl_101", Wa = "_planCardSelected_18irl_105", Ka = "_planCardPopular_18irl_110", Ha = "_popularBadge_18irl_119", Ya = "_planCardInner_18irl_137", qa = "_planTitleRow_18irl_148", Va = "_planTitle_18irl_148", za = "_radioCircle_18irl_163", Ja = "_radioChecked_18irl_176", Qa = "_radioInner_18irl_181", Xa = "_priceRow_18irl_189", Za = "_price_18irl_189", en = "_originalPrice_18irl_202", rn = "_savingsBadge_18irl_209", tn = "_featureList_18irl_219", an = "_featureItem_18irl_228", nn = "_featureIcon_18irl_234", on = "_featureText_18irl_240", ln = "_astrologerHeading_18irl_251", sn = "_astrologerList_18irl_258", cn = "_astrologerCard_18irl_274", dn = "_astrologerAvatar_18irl_290", un = "_astrologerAvatarPlaceholder_18irl_307",
|
|
2450
|
+
] }), La = "_overlay_18irl_2", Da = "_sheet_18irl_12", Fa = "_header_18irl_36", Oa = "_backBtn_18irl_48", Ma = "_title_18irl_66", $a = "_plansContainer_18irl_78", Ua = "_planCard_18irl_87", Ga = "_withBadgeSpacing_18irl_101", Wa = "_planCardSelected_18irl_105", Ka = "_planCardPopular_18irl_110", Ha = "_popularBadge_18irl_119", Ya = "_planCardInner_18irl_137", qa = "_planTitleRow_18irl_148", Va = "_planTitle_18irl_148", za = "_radioCircle_18irl_163", Ja = "_radioChecked_18irl_176", Qa = "_radioInner_18irl_181", Xa = "_priceRow_18irl_189", Za = "_price_18irl_189", en = "_originalPrice_18irl_202", rn = "_savingsBadge_18irl_209", tn = "_featureList_18irl_219", an = "_featureItem_18irl_228", nn = "_featureIcon_18irl_234", on = "_featureText_18irl_240", ln = "_astrologerHeading_18irl_251", sn = "_astrologerList_18irl_258", cn = "_astrologerCard_18irl_274", dn = "_astrologerAvatar_18irl_290", un = "_astrologerAvatarPlaceholder_18irl_307", mn = "_astrologerTop_18irl_313", fn = "_astrologerBasicInfo_18irl_319", hn = "_astrologerName_18irl_326", pn = "_astrologerExp_18irl_335", gn = "_astrologerDivider_18irl_341", _n = "_planDivider_18irl_347", bn = "_astrologerCertList_18irl_354", yn = "_astrologerCertItem_18irl_360", vn = "_bullet_18irl_368", kn = "_footer_18irl_373", wn = "_proceedBtn_18irl_383", f = {
|
|
2452
2451
|
overlay: La,
|
|
2453
2452
|
sheet: Da,
|
|
2454
2453
|
header: Fa,
|
|
@@ -2479,8 +2478,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2479
2478
|
astrologerCard: cn,
|
|
2480
2479
|
astrologerAvatar: dn,
|
|
2481
2480
|
astrologerAvatarPlaceholder: un,
|
|
2482
|
-
astrologerTop:
|
|
2483
|
-
astrologerBasicInfo:
|
|
2481
|
+
astrologerTop: mn,
|
|
2482
|
+
astrologerBasicInfo: fn,
|
|
2484
2483
|
astrologerName: hn,
|
|
2485
2484
|
astrologerExp: pn,
|
|
2486
2485
|
astrologerDivider: gn,
|
|
@@ -2490,86 +2489,86 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2490
2489
|
bullet: vn,
|
|
2491
2490
|
footer: kn,
|
|
2492
2491
|
proceedBtn: wn
|
|
2493
|
-
}, xn = ({ title: t, onBack: o }) => /* @__PURE__ */ r.jsxs("div", { className:
|
|
2492
|
+
}, xn = ({ title: t, onBack: o }) => /* @__PURE__ */ r.jsxs("div", { className: f.header, children: [
|
|
2494
2493
|
/* @__PURE__ */ r.jsx(
|
|
2495
2494
|
"button",
|
|
2496
2495
|
{
|
|
2497
|
-
className:
|
|
2496
|
+
className: f.backBtn,
|
|
2498
2497
|
onClick: o,
|
|
2499
2498
|
"aria-label": "Go back",
|
|
2500
2499
|
type: "button",
|
|
2501
2500
|
children: /* @__PURE__ */ r.jsx(Ia, {})
|
|
2502
2501
|
}
|
|
2503
2502
|
),
|
|
2504
|
-
/* @__PURE__ */ r.jsx("h2", { className:
|
|
2505
|
-
] }), Pn = ({ features: t, t: o }) => /* @__PURE__ */ r.jsx("ul", { className:
|
|
2506
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2503
|
+
/* @__PURE__ */ r.jsx("h2", { className: f.title, children: t })
|
|
2504
|
+
] }), Pn = ({ features: t, t: o }) => /* @__PURE__ */ r.jsx("ul", { className: f.featureList, "aria-label": "Plan features", children: t.map((c, m) => /* @__PURE__ */ r.jsxs("li", { className: f.featureItem, children: [
|
|
2505
|
+
/* @__PURE__ */ r.jsx("span", { className: f.featureIcon, children: c.included ? /* @__PURE__ */ r.jsx(Sa, {}) : /* @__PURE__ */ r.jsx(Ea, {}) }),
|
|
2507
2506
|
/* @__PURE__ */ r.jsx(
|
|
2508
2507
|
"span",
|
|
2509
2508
|
{
|
|
2510
|
-
className: `${
|
|
2509
|
+
className: `${f.featureText} `,
|
|
2511
2510
|
children: o?.(c.text) ?? c.text
|
|
2512
2511
|
}
|
|
2513
2512
|
)
|
|
2514
|
-
] },
|
|
2515
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
2516
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2517
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
2518
|
-
/* @__PURE__ */ r.jsx("p", { className:
|
|
2519
|
-
/* @__PURE__ */ r.jsx("p", { className:
|
|
2513
|
+
] }, m)) }), An = ({ astrologer: t, t: o }) => /* @__PURE__ */ r.jsxs("div", { className: f.astrologerCard, children: [
|
|
2514
|
+
/* @__PURE__ */ r.jsxs("div", { className: f.astrologerTop, children: [
|
|
2515
|
+
/* @__PURE__ */ r.jsx("div", { className: f.astrologerAvatar, "aria-hidden": !0, children: t.imageUrl ? /* @__PURE__ */ r.jsx("img", { src: t.imageUrl, alt: o?.(t.name) ?? t.name, width: 40, height: 40 }) : /* @__PURE__ */ r.jsx("span", { className: f.astrologerAvatarPlaceholder, children: t.name.charAt(0) }) }),
|
|
2516
|
+
/* @__PURE__ */ r.jsxs("div", { className: f.astrologerBasicInfo, children: [
|
|
2517
|
+
/* @__PURE__ */ r.jsx("p", { className: f.astrologerName, children: o?.(t.name) ?? t.name }),
|
|
2518
|
+
/* @__PURE__ */ r.jsx("p", { className: f.astrologerExp, children: o?.(t.experience) ?? t.experience })
|
|
2520
2519
|
] })
|
|
2521
2520
|
] }),
|
|
2522
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2523
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2524
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2521
|
+
/* @__PURE__ */ r.jsx("div", { className: f.astrologerDivider }),
|
|
2522
|
+
/* @__PURE__ */ r.jsx("div", { className: f.astrologerCertList, children: t.certifications.map((c, m) => /* @__PURE__ */ r.jsxs("p", { className: f.astrologerCertItem, children: [
|
|
2523
|
+
/* @__PURE__ */ r.jsx("span", { className: f.bullet, children: "•" }),
|
|
2525
2524
|
" ",
|
|
2526
2525
|
o?.(c) ?? c
|
|
2527
|
-
] },
|
|
2528
|
-
] }), Cn = ({ label: t }) => /* @__PURE__ */ r.jsxs("div", { className:
|
|
2526
|
+
] }, m)) })
|
|
2527
|
+
] }), Cn = ({ label: t }) => /* @__PURE__ */ r.jsxs("div", { className: f.popularBadge, "aria-label": t, children: [
|
|
2529
2528
|
/* @__PURE__ */ r.jsx(Ba, {}),
|
|
2530
2529
|
/* @__PURE__ */ r.jsx("span", { children: t })
|
|
2531
|
-
] }), jn = ({ plan: t, isSelected: o, onSelect: c, t:
|
|
2532
|
-
const
|
|
2530
|
+
] }), jn = ({ plan: t, isSelected: o, onSelect: c, t: m }) => {
|
|
2531
|
+
const w = () => c(t.id), I = (x) => {
|
|
2533
2532
|
(x.key === " " || x.key === "Enter") && (x.preventDefault(), c(t.id));
|
|
2534
2533
|
};
|
|
2535
2534
|
return /* @__PURE__ */ r.jsxs(
|
|
2536
2535
|
"div",
|
|
2537
2536
|
{
|
|
2538
2537
|
className: [
|
|
2539
|
-
|
|
2540
|
-
o ?
|
|
2541
|
-
o &&
|
|
2538
|
+
f.planCard,
|
|
2539
|
+
o ? f.planCardSelected : "",
|
|
2540
|
+
o && f.planCardPopular
|
|
2542
2541
|
].filter(Boolean).join(" "),
|
|
2543
|
-
onClick:
|
|
2542
|
+
onClick: w,
|
|
2544
2543
|
role: "radio",
|
|
2545
2544
|
"aria-checked": o,
|
|
2546
2545
|
tabIndex: 0,
|
|
2547
|
-
onKeyDown:
|
|
2546
|
+
onKeyDown: I,
|
|
2548
2547
|
"data-plan-id": t.id,
|
|
2549
2548
|
children: [
|
|
2550
|
-
t.badge && /* @__PURE__ */ r.jsx(Cn, { label:
|
|
2551
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
2552
|
-
/* @__PURE__ */ r.jsxs("div", { className: `${
|
|
2553
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2549
|
+
t.badge && /* @__PURE__ */ r.jsx(Cn, { label: m?.(t.badge) ?? t.badge }),
|
|
2550
|
+
/* @__PURE__ */ r.jsxs("div", { className: f.planCardInner, children: [
|
|
2551
|
+
/* @__PURE__ */ r.jsxs("div", { className: `${f.planTitleRow} ${t.badge ? f.withBadgeSpacing : ""}`, children: [
|
|
2552
|
+
/* @__PURE__ */ r.jsx("span", { className: f.planTitle, children: m?.(t.title) ?? t.title }),
|
|
2554
2553
|
/* @__PURE__ */ r.jsx(
|
|
2555
2554
|
"span",
|
|
2556
2555
|
{
|
|
2557
|
-
className: `${
|
|
2556
|
+
className: `${f.radioCircle} ${o ? f.radioChecked : ""}`,
|
|
2558
2557
|
"aria-hidden": !0,
|
|
2559
|
-
children: o && /* @__PURE__ */ r.jsx("span", { className:
|
|
2558
|
+
children: o && /* @__PURE__ */ r.jsx("span", { className: f.radioInner })
|
|
2560
2559
|
}
|
|
2561
2560
|
)
|
|
2562
2561
|
] }),
|
|
2563
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
2564
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2565
|
-
t.originalPrice && /* @__PURE__ */ r.jsx("span", { className:
|
|
2566
|
-
t.savingsLabel && /* @__PURE__ */ r.jsx("span", { className:
|
|
2562
|
+
/* @__PURE__ */ r.jsxs("div", { className: f.priceRow, children: [
|
|
2563
|
+
/* @__PURE__ */ r.jsx("span", { className: f.price, children: t.price }),
|
|
2564
|
+
t.originalPrice && /* @__PURE__ */ r.jsx("span", { className: f.originalPrice, children: t.originalPrice }),
|
|
2565
|
+
t.savingsLabel && /* @__PURE__ */ r.jsx("span", { className: f.savingsBadge, children: m?.(t.savingsLabel, { percent: 25 }) ?? t.savingsLabel })
|
|
2567
2566
|
] }),
|
|
2568
|
-
/* @__PURE__ */ r.jsx(Pn, { features: t.features, t:
|
|
2569
|
-
t.astrologers && /* @__PURE__ */ r.jsx("div", { className:
|
|
2567
|
+
/* @__PURE__ */ r.jsx(Pn, { features: t.features, t: m }),
|
|
2568
|
+
t.astrologers && /* @__PURE__ */ r.jsx("div", { className: f.planDivider }),
|
|
2570
2569
|
t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
2571
|
-
/* @__PURE__ */ r.jsx("p", { className:
|
|
2572
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2570
|
+
/* @__PURE__ */ r.jsx("p", { className: f.astrologerHeading, children: m?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
|
|
2571
|
+
/* @__PURE__ */ r.jsx("div", { className: f.astrologerList, role: "list", children: t.astrologers.map((x, R) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(An, { astrologer: x, t: m }) }, R)) })
|
|
2573
2572
|
] })
|
|
2574
2573
|
] })
|
|
2575
2574
|
]
|
|
@@ -2637,27 +2636,27 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2637
2636
|
isOpen: t,
|
|
2638
2637
|
onClose: o,
|
|
2639
2638
|
selectedPlan: c,
|
|
2640
|
-
onSelectPlan:
|
|
2641
|
-
plans:
|
|
2642
|
-
onProceed:
|
|
2639
|
+
onSelectPlan: m,
|
|
2640
|
+
plans: w,
|
|
2641
|
+
onProceed: I,
|
|
2643
2642
|
t: x,
|
|
2644
|
-
analytics:
|
|
2643
|
+
analytics: R
|
|
2645
2644
|
}) => {
|
|
2646
|
-
const
|
|
2647
|
-
|
|
2645
|
+
const L = Te()?.config.isGlobal ?? !0, d = w ?? Tn(L), j = c?.id || d.find((C) => C.badge)?.id || d[0]?.id || "", h = K(null), S = K(null), g = K(!1);
|
|
2646
|
+
H(() => {
|
|
2648
2647
|
if (t) {
|
|
2649
2648
|
if (!c) {
|
|
2650
|
-
const C = d.find((
|
|
2651
|
-
C &&
|
|
2649
|
+
const C = d.find((p) => p.badge) ?? d[0];
|
|
2650
|
+
C && m(C);
|
|
2652
2651
|
}
|
|
2653
|
-
|
|
2652
|
+
g.current || (R?.trackPlanPageViewed?.(), g.current = !0);
|
|
2654
2653
|
} else
|
|
2655
|
-
|
|
2656
|
-
}, [t, d, c,
|
|
2657
|
-
const
|
|
2658
|
-
|
|
2654
|
+
g.current = !1;
|
|
2655
|
+
}, [t, d, c, m, R]);
|
|
2656
|
+
const E = () => {
|
|
2657
|
+
R?.trackPlanPageClosed?.(), o();
|
|
2659
2658
|
};
|
|
2660
|
-
return
|
|
2659
|
+
return H(() => {
|
|
2661
2660
|
if (!t) return;
|
|
2662
2661
|
const C = document.body.style.overflow;
|
|
2663
2662
|
return document.body.style.overflow = "hidden", () => {
|
|
@@ -2666,7 +2665,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2666
2665
|
}, [t]), t ? /* @__PURE__ */ r.jsx(
|
|
2667
2666
|
"div",
|
|
2668
2667
|
{
|
|
2669
|
-
className:
|
|
2668
|
+
className: f.overlay,
|
|
2670
2669
|
role: "dialog",
|
|
2671
2670
|
"aria-modal": "true",
|
|
2672
2671
|
"aria-label": x?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
@@ -2674,50 +2673,50 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2674
2673
|
"div",
|
|
2675
2674
|
{
|
|
2676
2675
|
ref: h,
|
|
2677
|
-
className:
|
|
2676
|
+
className: f.sheet,
|
|
2678
2677
|
children: [
|
|
2679
2678
|
/* @__PURE__ */ r.jsx(
|
|
2680
2679
|
xn,
|
|
2681
2680
|
{
|
|
2682
2681
|
title: x?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
2683
|
-
onBack:
|
|
2682
|
+
onBack: E
|
|
2684
2683
|
}
|
|
2685
2684
|
),
|
|
2686
2685
|
/* @__PURE__ */ r.jsx(
|
|
2687
2686
|
"div",
|
|
2688
2687
|
{
|
|
2689
|
-
ref:
|
|
2690
|
-
className:
|
|
2688
|
+
ref: S,
|
|
2689
|
+
className: f.plansContainer,
|
|
2691
2690
|
role: "radiogroup",
|
|
2692
2691
|
"aria-label": "Kundli plans",
|
|
2693
2692
|
children: d.map((C) => /* @__PURE__ */ r.jsx(
|
|
2694
2693
|
jn,
|
|
2695
2694
|
{
|
|
2696
2695
|
plan: C,
|
|
2697
|
-
isSelected: C.id ===
|
|
2696
|
+
isSelected: C.id === j,
|
|
2698
2697
|
t: x,
|
|
2699
|
-
onSelect: (
|
|
2700
|
-
const
|
|
2701
|
-
|
|
2702
|
-
planId:
|
|
2703
|
-
planName:
|
|
2704
|
-
}),
|
|
2698
|
+
onSelect: (p) => {
|
|
2699
|
+
const k = d.find(($) => $.id === p);
|
|
2700
|
+
k && (R?.trackPlanSelected?.({
|
|
2701
|
+
planId: k.id,
|
|
2702
|
+
planName: k.title
|
|
2703
|
+
}), m(k));
|
|
2705
2704
|
}
|
|
2706
2705
|
},
|
|
2707
2706
|
C.id
|
|
2708
2707
|
))
|
|
2709
2708
|
}
|
|
2710
2709
|
),
|
|
2711
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2710
|
+
/* @__PURE__ */ r.jsx("div", { className: f.footer, children: /* @__PURE__ */ r.jsx(
|
|
2712
2711
|
"button",
|
|
2713
2712
|
{
|
|
2714
|
-
className:
|
|
2713
|
+
className: f.proceedBtn,
|
|
2715
2714
|
disabled: !c,
|
|
2716
2715
|
onClick: () => {
|
|
2717
|
-
c && (
|
|
2716
|
+
c && (R?.trackPlanProceedClicked?.({
|
|
2718
2717
|
planId: c.id,
|
|
2719
2718
|
planName: c.title
|
|
2720
|
-
}),
|
|
2719
|
+
}), I(c), o());
|
|
2721
2720
|
},
|
|
2722
2721
|
children: c ? x?.("planProceedToPayment") ?? c.price + "Proceed to Payment" : "Select a plan"
|
|
2723
2722
|
}
|
|
@@ -2727,7 +2726,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2727
2726
|
)
|
|
2728
2727
|
}
|
|
2729
2728
|
) : null;
|
|
2730
|
-
}, Sn = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", En = (t, o) =>
|
|
2729
|
+
}, Sn = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", En = (t, o) => fr[t]?.[o] ?? o, In = {
|
|
2731
2730
|
fullName: "",
|
|
2732
2731
|
phone: "",
|
|
2733
2732
|
gender: "",
|
|
@@ -2743,102 +2742,102 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2743
2742
|
className: t = "",
|
|
2744
2743
|
locale: o,
|
|
2745
2744
|
showLanguageSelector: c = !0,
|
|
2746
|
-
onBack:
|
|
2747
|
-
initialValues:
|
|
2748
|
-
onProceed:
|
|
2745
|
+
onBack: m,
|
|
2746
|
+
initialValues: w,
|
|
2747
|
+
onProceed: I,
|
|
2749
2748
|
onProceedGuidance: x,
|
|
2750
|
-
proceedHref:
|
|
2751
|
-
originalPriceLabel:
|
|
2752
|
-
discountedPriceLabel:
|
|
2749
|
+
proceedHref: R,
|
|
2750
|
+
originalPriceLabel: P,
|
|
2751
|
+
discountedPriceLabel: L,
|
|
2753
2752
|
atlasSearchLocalities: d,
|
|
2754
|
-
analytics:
|
|
2753
|
+
analytics: j
|
|
2755
2754
|
}) => {
|
|
2756
|
-
const h = Te(),
|
|
2757
|
-
|
|
2755
|
+
const h = Te(), S = qr(), g = h !== null, E = g ? h.locale : o, C = E ?? S?.locale ?? "en", [p, k] = G(C), $ = g ? h.locale : p, b = g ? h.setLocale : k, [F, q] = G(!1), X = K(null), Z = K(E), U = K(
|
|
2756
|
+
S?.locale
|
|
2758
2757
|
);
|
|
2759
|
-
|
|
2758
|
+
H(() => {
|
|
2760
2759
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
2761
2760
|
}, []);
|
|
2762
|
-
const
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
}, [
|
|
2766
|
-
if (
|
|
2767
|
-
const v =
|
|
2768
|
-
v &&
|
|
2769
|
-
}, [
|
|
2770
|
-
const [
|
|
2761
|
+
const Y = (v) => En($, v);
|
|
2762
|
+
H(() => {
|
|
2763
|
+
E && Z.current !== E && b(E), Z.current = E;
|
|
2764
|
+
}, [E, b]), H(() => {
|
|
2765
|
+
if (E) return;
|
|
2766
|
+
const v = S?.locale;
|
|
2767
|
+
v && U.current !== v && b(v), U.current = v;
|
|
2768
|
+
}, [S?.locale, E, b]);
|
|
2769
|
+
const [oe, ce] = G({
|
|
2771
2770
|
...In,
|
|
2772
|
-
...
|
|
2773
|
-
phone:
|
|
2774
|
-
}),
|
|
2775
|
-
|
|
2771
|
+
...w,
|
|
2772
|
+
phone: w?.phone ?? ""
|
|
2773
|
+
}), B = g ? h?.config.isGlobal ?? !0 : !0, [N, W] = G(
|
|
2774
|
+
B ? "+1" : "+91"
|
|
2776
2775
|
);
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
}, [
|
|
2780
|
-
const
|
|
2781
|
-
|
|
2776
|
+
H(() => {
|
|
2777
|
+
W(B ? "+1" : "+91");
|
|
2778
|
+
}, [B]);
|
|
2779
|
+
const z = g ? h.formValues : oe, pe = g ? h.setFormValues : ce, me = g ? h.goToPage : m, V = g ? h.onProceed : I, ee = g ? h.onProceedGuidance : x, re = g ? h.config.proceedHref : R, de = g ? h.config.originalPriceLabel : P, te = g ? h.config.discountedPriceLabel : L, he = g ? h.config.showLanguageSelector ?? !0 : c, ie = (g ? h?.config?.analytics : j) ?? j;
|
|
2780
|
+
H(() => {
|
|
2782
2781
|
if (!F) return;
|
|
2783
2782
|
const v = (n) => {
|
|
2784
|
-
|
|
2783
|
+
X.current && !X.current.contains(n.target) && q(!1);
|
|
2785
2784
|
};
|
|
2786
2785
|
return document.addEventListener("mousedown", v), () => document.removeEventListener("mousedown", v);
|
|
2787
2786
|
}, [F]);
|
|
2788
|
-
const [ge, ue] =
|
|
2787
|
+
const [ge, ue] = G(!1), [J, be] = G(null), le = K(null), we = Ne((v) => {
|
|
2789
2788
|
le.current = v, ue(!0);
|
|
2790
2789
|
}, []), _e = Ne(() => {
|
|
2791
2790
|
if (ie?.trackPlanProceedClicked?.({
|
|
2792
|
-
planId:
|
|
2793
|
-
planName:
|
|
2794
|
-
}), !le.current || !
|
|
2795
|
-
const v = { ...le.current, _selectedPlan:
|
|
2796
|
-
|
|
2797
|
-
}, [
|
|
2791
|
+
planId: J.id,
|
|
2792
|
+
planName: J.title
|
|
2793
|
+
}), !le.current || !J) return;
|
|
2794
|
+
const v = { ...le.current, _selectedPlan: J };
|
|
2795
|
+
J.id === br && ee ? ee(v) : V?.(v), ue(!1), le.current = null;
|
|
2796
|
+
}, [J, V, ee]), xe = h?.config.imageComponent ?? Be, ye = he ? /* @__PURE__ */ r.jsxs("div", { className: fe.langDropdownWrap, ref: X, children: [
|
|
2798
2797
|
/* @__PURE__ */ r.jsxs(
|
|
2799
2798
|
"button",
|
|
2800
2799
|
{
|
|
2801
2800
|
type: "button",
|
|
2802
|
-
className:
|
|
2801
|
+
className: fe.langTrigger,
|
|
2803
2802
|
onClick: () => {
|
|
2804
|
-
ie?.trackLanguageClickedFe?.({ language: $ }),
|
|
2803
|
+
ie?.trackLanguageClickedFe?.({ language: $ }), q((v) => !v);
|
|
2805
2804
|
},
|
|
2806
2805
|
"aria-expanded": F,
|
|
2807
2806
|
"aria-haspopup": "listbox",
|
|
2808
2807
|
id: "kundli-form-lang",
|
|
2809
|
-
"aria-label":
|
|
2808
|
+
"aria-label": Y("language"),
|
|
2810
2809
|
children: [
|
|
2811
2810
|
/* @__PURE__ */ r.jsx(
|
|
2812
2811
|
xe,
|
|
2813
2812
|
{
|
|
2814
2813
|
src: Sn,
|
|
2815
2814
|
alt: "",
|
|
2816
|
-
className:
|
|
2815
|
+
className: fe.langIcon,
|
|
2817
2816
|
width: 16,
|
|
2818
2817
|
height: 16,
|
|
2819
2818
|
loading: "eager"
|
|
2820
2819
|
}
|
|
2821
2820
|
),
|
|
2822
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2821
|
+
/* @__PURE__ */ r.jsx("span", { className: fe.langLabel, children: lr[$] })
|
|
2823
2822
|
]
|
|
2824
2823
|
}
|
|
2825
2824
|
),
|
|
2826
2825
|
F && /* @__PURE__ */ r.jsx(
|
|
2827
2826
|
"ul",
|
|
2828
2827
|
{
|
|
2829
|
-
className:
|
|
2828
|
+
className: fe.langMenu,
|
|
2830
2829
|
role: "listbox",
|
|
2831
2830
|
"aria-labelledby": "kundli-form-lang",
|
|
2832
2831
|
"aria-activedescendant": `kundli-form-lang-option-${$}`,
|
|
2833
|
-
children:
|
|
2832
|
+
children: mr.map((v) => /* @__PURE__ */ r.jsx(
|
|
2834
2833
|
"li",
|
|
2835
2834
|
{
|
|
2836
2835
|
id: `kundli-form-lang-option-${v}`,
|
|
2837
2836
|
role: "option",
|
|
2838
2837
|
"aria-selected": v === $,
|
|
2839
|
-
className:
|
|
2838
|
+
className: fe.langOption,
|
|
2840
2839
|
onClick: () => {
|
|
2841
|
-
ie?.trackLanguageChangedFe?.({ newLanguage: v }),
|
|
2840
|
+
ie?.trackLanguageChangedFe?.({ newLanguage: v }), b(v), q(!1);
|
|
2842
2841
|
},
|
|
2843
2842
|
children: lr[v]
|
|
2844
2843
|
},
|
|
@@ -2847,37 +2846,37 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2847
2846
|
}
|
|
2848
2847
|
)
|
|
2849
2848
|
] }) : null;
|
|
2850
|
-
return /* @__PURE__ */ r.jsxs("div", { className: `${
|
|
2849
|
+
return /* @__PURE__ */ r.jsxs("div", { className: `${fe.container} ${t}`, children: [
|
|
2851
2850
|
/* @__PURE__ */ r.jsx(
|
|
2852
2851
|
Ra,
|
|
2853
2852
|
{
|
|
2854
|
-
t:
|
|
2855
|
-
logoUrl:
|
|
2853
|
+
t: Y,
|
|
2854
|
+
logoUrl: g ? h.config.logoUrl : void 0,
|
|
2856
2855
|
languageSelector: ye,
|
|
2857
|
-
className:
|
|
2856
|
+
className: fe.kundliHeaderNoBorder
|
|
2858
2857
|
}
|
|
2859
2858
|
),
|
|
2860
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2861
|
-
/* @__PURE__ */ r.jsxs("main", { className:
|
|
2862
|
-
/* @__PURE__ */ r.jsx(ut, { t:
|
|
2859
|
+
/* @__PURE__ */ r.jsx("div", { className: fe.headerSeparator, "aria-hidden": !0 }),
|
|
2860
|
+
/* @__PURE__ */ r.jsxs("main", { className: fe.main, children: [
|
|
2861
|
+
/* @__PURE__ */ r.jsx(ut, { t: Y, onBack: me }),
|
|
2863
2862
|
/* @__PURE__ */ r.jsx(
|
|
2864
2863
|
pa,
|
|
2865
2864
|
{
|
|
2866
|
-
t:
|
|
2867
|
-
values:
|
|
2865
|
+
t: Y,
|
|
2866
|
+
values: z,
|
|
2868
2867
|
onChange: pe,
|
|
2869
2868
|
atlasSearchLocalities: d,
|
|
2870
|
-
phoneIsdCode:
|
|
2871
|
-
onPhoneIsdCodeChange:
|
|
2869
|
+
phoneIsdCode: N,
|
|
2870
|
+
onPhoneIsdCodeChange: W
|
|
2872
2871
|
}
|
|
2873
2872
|
)
|
|
2874
2873
|
] }),
|
|
2875
2874
|
/* @__PURE__ */ r.jsx(
|
|
2876
2875
|
Na,
|
|
2877
2876
|
{
|
|
2878
|
-
t:
|
|
2879
|
-
values:
|
|
2880
|
-
phoneIsdCode:
|
|
2877
|
+
t: Y,
|
|
2878
|
+
values: z,
|
|
2879
|
+
phoneIsdCode: N,
|
|
2881
2880
|
onProceed: V,
|
|
2882
2881
|
onProceedGuidance: ee,
|
|
2883
2882
|
href: re,
|
|
@@ -2887,7 +2886,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2887
2886
|
showPlanSheet: we,
|
|
2888
2887
|
confirmPlan: _e,
|
|
2889
2888
|
planSheetOpen: ge,
|
|
2890
|
-
selectedPlan:
|
|
2889
|
+
selectedPlan: J
|
|
2891
2890
|
}
|
|
2892
2891
|
),
|
|
2893
2892
|
h?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
|
|
@@ -2895,12 +2894,12 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2895
2894
|
{
|
|
2896
2895
|
isOpen: ge,
|
|
2897
2896
|
onClose: () => ue(!1),
|
|
2898
|
-
selectedPlan:
|
|
2897
|
+
selectedPlan: J,
|
|
2899
2898
|
onSelectPlan: be,
|
|
2900
2899
|
onProceed: (v) => {
|
|
2901
2900
|
_e?.(v);
|
|
2902
2901
|
},
|
|
2903
|
-
t:
|
|
2902
|
+
t: Y,
|
|
2904
2903
|
analytics: ie
|
|
2905
2904
|
}
|
|
2906
2905
|
)
|
|
@@ -2952,7 +2951,7 @@ export {
|
|
|
2952
2951
|
Gn as K,
|
|
2953
2952
|
lr as L,
|
|
2954
2953
|
br as P,
|
|
2955
|
-
|
|
2954
|
+
mr as S,
|
|
2956
2955
|
pa as U,
|
|
2957
2956
|
pr as a,
|
|
2958
2957
|
Ke as b,
|
|
@@ -2970,7 +2969,7 @@ export {
|
|
|
2970
2969
|
Rn as n,
|
|
2971
2970
|
Fn as r,
|
|
2972
2971
|
ot as s,
|
|
2973
|
-
|
|
2972
|
+
fr as t,
|
|
2974
2973
|
qr as u
|
|
2975
2974
|
};
|
|
2976
|
-
//# sourceMappingURL=analytics-
|
|
2975
|
+
//# sourceMappingURL=analytics-BG38rt5Y.js.map
|