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