@srimandir/kundli-generator 5.0.0 → 5.2.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-DnpGKPUT.js → analytics-mqYZuSm2.js} +777 -769
- package/dist/analytics-mqYZuSm2.js.map +1 -0
- package/dist/{criticalCss-C5F7mwrK.js → criticalCss-DM3iYZlX.js} +2 -2
- package/dist/{criticalCss-C5F7mwrK.js.map → criticalCss-DM3iYZlX.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/package.json +3 -3
- package/dist/analytics-DnpGKPUT.js.map +0 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { FormSectionHeader as Dr, FooterCTAButton as Or, FooterShell as Fr, CircularMarquee as Mr, footerShellStyles as
|
|
3
|
-
var
|
|
4
|
-
var
|
|
1
|
+
import We, { useContext as Ke, createContext as dr, useState as W, useRef as K, useEffect as H, useMemo as Ge, useCallback as Te } from "react";
|
|
2
|
+
import { FormSectionHeader as Dr, FooterCTAButton as Or, FooterShell as Fr, CircularMarquee as Mr, footerShellStyles as we, PageHeader as $r } from "@srimandir/astrology-common";
|
|
3
|
+
var Le = { exports: {} }, Ee = {};
|
|
4
|
+
var nr;
|
|
5
5
|
function Ur() {
|
|
6
|
-
if (
|
|
7
|
-
|
|
8
|
-
var t =
|
|
9
|
-
function
|
|
10
|
-
var c,
|
|
11
|
-
|
|
12
|
-
for (c in
|
|
13
|
-
if (
|
|
14
|
-
return { $$typeof: o, type:
|
|
6
|
+
if (nr) return Ee;
|
|
7
|
+
nr = 1;
|
|
8
|
+
var t = We, o = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, x = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, R = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9
|
+
function w(j, A, I) {
|
|
10
|
+
var c, N = {}, p = null, S = null;
|
|
11
|
+
I !== void 0 && (p = "" + I), A.key !== void 0 && (p = "" + A.key), A.ref !== void 0 && (S = A.ref);
|
|
12
|
+
for (c in A) m.call(A, c) && !R.hasOwnProperty(c) && (N[c] = A[c]);
|
|
13
|
+
if (j && j.defaultProps) for (c in A = j.defaultProps, A) N[c] === void 0 && (N[c] = A[c]);
|
|
14
|
+
return { $$typeof: o, type: j, key: p, ref: S, props: N, _owner: x.current };
|
|
15
15
|
}
|
|
16
|
-
return
|
|
16
|
+
return Ee.Fragment = d, Ee.jsx = w, Ee.jsxs = w, Ee;
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
var
|
|
18
|
+
var Ie = {};
|
|
19
|
+
var or;
|
|
20
20
|
function Gr() {
|
|
21
|
-
return
|
|
22
|
-
var t =
|
|
23
|
-
function
|
|
21
|
+
return or || (or = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
+
var t = We, o = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), x = /* @__PURE__ */ Symbol.for("react.strict_mode"), R = /* @__PURE__ */ Symbol.for("react.profiler"), w = /* @__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
|
+
function C(e) {
|
|
24
24
|
if (e === null || typeof e != "object")
|
|
25
25
|
return null;
|
|
26
|
-
var i = h && e[h] || e[
|
|
26
|
+
var i = h && e[h] || e[E];
|
|
27
27
|
return typeof i == "function" ? i : null;
|
|
28
28
|
}
|
|
29
29
|
var b = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -31,39 +31,39 @@ 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
|
+
G("error", e, l);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function G(e, i, l) {
|
|
38
38
|
{
|
|
39
|
-
var u = b.ReactDebugCurrentFrame,
|
|
40
|
-
|
|
41
|
-
var
|
|
39
|
+
var u = b.ReactDebugCurrentFrame, P = u.getStackAddendum();
|
|
40
|
+
P !== "" && (i += "%s", l = l.concat([P]));
|
|
41
|
+
var T = l.map(function(k) {
|
|
42
42
|
return String(k);
|
|
43
43
|
});
|
|
44
|
-
|
|
44
|
+
T.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, T);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
var y = !1, O = !1,
|
|
48
|
-
|
|
47
|
+
var y = !1, O = !1, X = !1, Z = !1, ie = !1, Y;
|
|
48
|
+
Y = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
49
|
function F(e) {
|
|
50
|
-
return !!(typeof e == "string" || typeof e == "function" || e === m || e ===
|
|
50
|
+
return !!(typeof e == "string" || typeof e == "function" || e === m || e === R || ie || e === x || e === I || e === c || Z || e === S || y || O || X || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === N || e.$$typeof === w || 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 === Y || e.getModuleId !== void 0));
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function ue(e, i, l) {
|
|
57
57
|
var u = e.displayName;
|
|
58
58
|
if (u)
|
|
59
59
|
return u;
|
|
60
|
-
var
|
|
61
|
-
return
|
|
60
|
+
var P = i.displayName || i.name || "";
|
|
61
|
+
return P !== "" ? l + "(" + P + ")" : l;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function z(e) {
|
|
64
64
|
return e.displayName || "Context";
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function L(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")
|
|
@@ -75,32 +75,32 @@ function Gr() {
|
|
|
75
75
|
return "Fragment";
|
|
76
76
|
case d:
|
|
77
77
|
return "Portal";
|
|
78
|
-
case
|
|
78
|
+
case R:
|
|
79
79
|
return "Profiler";
|
|
80
|
-
case
|
|
80
|
+
case x:
|
|
81
81
|
return "StrictMode";
|
|
82
|
-
case
|
|
82
|
+
case I:
|
|
83
83
|
return "Suspense";
|
|
84
84
|
case c:
|
|
85
85
|
return "SuspenseList";
|
|
86
86
|
}
|
|
87
87
|
if (typeof e == "object")
|
|
88
88
|
switch (e.$$typeof) {
|
|
89
|
-
case
|
|
89
|
+
case j:
|
|
90
90
|
var i = e;
|
|
91
|
-
return
|
|
92
|
-
case
|
|
91
|
+
return z(i) + ".Consumer";
|
|
92
|
+
case w:
|
|
93
93
|
var l = e;
|
|
94
|
-
return
|
|
95
|
-
case
|
|
96
|
-
return
|
|
97
|
-
case
|
|
94
|
+
return z(l._context) + ".Provider";
|
|
95
|
+
case A:
|
|
96
|
+
return ue(e, e.render, "ForwardRef");
|
|
97
|
+
case N:
|
|
98
98
|
var u = e.displayName || null;
|
|
99
|
-
return u !== null ? u :
|
|
99
|
+
return u !== null ? u : L(e.type) || "Memo";
|
|
100
100
|
case p: {
|
|
101
|
-
var
|
|
101
|
+
var P = e, T = P._payload, k = P._init;
|
|
102
102
|
try {
|
|
103
|
-
return
|
|
103
|
+
return L(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
|
|
112
|
-
function
|
|
111
|
+
var B = Object.assign, q = 0, J, te, ge, V, le, me, se;
|
|
112
|
+
function ae() {
|
|
113
113
|
}
|
|
114
|
-
|
|
115
|
-
function
|
|
114
|
+
ae.__reactDisabledLog = !0;
|
|
115
|
+
function _e() {
|
|
116
116
|
{
|
|
117
|
-
if (
|
|
118
|
-
|
|
117
|
+
if (q === 0) {
|
|
118
|
+
J = console.log, te = console.info, ge = console.warn, V = console.error, le = console.group, me = console.groupCollapsed, se = console.groupEnd;
|
|
119
119
|
var e = {
|
|
120
120
|
configurable: !0,
|
|
121
121
|
enumerable: !0,
|
|
122
|
-
value:
|
|
122
|
+
value: ae,
|
|
123
123
|
writable: !0
|
|
124
124
|
};
|
|
125
125
|
Object.defineProperties(console, {
|
|
@@ -132,77 +132,77 @@ function Gr() {
|
|
|
132
132
|
groupEnd: e
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
|
-
|
|
135
|
+
q++;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function ee() {
|
|
139
139
|
{
|
|
140
|
-
if (
|
|
140
|
+
if (q--, q === 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: B({}, e, {
|
|
148
|
+
value: J
|
|
149
149
|
}),
|
|
150
|
-
info:
|
|
151
|
-
value:
|
|
150
|
+
info: B({}, e, {
|
|
151
|
+
value: te
|
|
152
152
|
}),
|
|
153
|
-
warn:
|
|
154
|
-
value:
|
|
153
|
+
warn: B({}, e, {
|
|
154
|
+
value: ge
|
|
155
155
|
}),
|
|
156
|
-
error:
|
|
157
|
-
value:
|
|
156
|
+
error: B({}, e, {
|
|
157
|
+
value: V
|
|
158
158
|
}),
|
|
159
|
-
group:
|
|
160
|
-
value:
|
|
159
|
+
group: B({}, e, {
|
|
160
|
+
value: le
|
|
161
161
|
}),
|
|
162
|
-
groupCollapsed:
|
|
163
|
-
value:
|
|
162
|
+
groupCollapsed: B({}, e, {
|
|
163
|
+
value: me
|
|
164
164
|
}),
|
|
165
|
-
groupEnd:
|
|
166
|
-
value:
|
|
165
|
+
groupEnd: B({}, e, {
|
|
166
|
+
value: se
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
|
|
170
|
+
q < 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 ne = b.ReactCurrentDispatcher, oe;
|
|
174
|
+
function M(e, i, l) {
|
|
175
175
|
{
|
|
176
|
-
if (
|
|
176
|
+
if (oe === void 0)
|
|
177
177
|
try {
|
|
178
178
|
throw Error();
|
|
179
|
-
} catch (
|
|
180
|
-
var u =
|
|
181
|
-
|
|
179
|
+
} catch (P) {
|
|
180
|
+
var u = P.stack.trim().match(/\n( *(at )?)/);
|
|
181
|
+
oe = u && u[1] || "";
|
|
182
182
|
}
|
|
183
183
|
return `
|
|
184
|
-
` +
|
|
184
|
+
` + oe + e;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
var
|
|
187
|
+
var be = !1, fe;
|
|
188
188
|
{
|
|
189
|
-
var
|
|
190
|
-
|
|
189
|
+
var ke = typeof WeakMap == "function" ? WeakMap : Map;
|
|
190
|
+
fe = new ke();
|
|
191
191
|
}
|
|
192
|
-
function
|
|
193
|
-
if (!e ||
|
|
192
|
+
function ye(e, i) {
|
|
193
|
+
if (!e || be)
|
|
194
194
|
return "";
|
|
195
195
|
{
|
|
196
|
-
var l =
|
|
196
|
+
var l = fe.get(e);
|
|
197
197
|
if (l !== void 0)
|
|
198
198
|
return l;
|
|
199
199
|
}
|
|
200
200
|
var u;
|
|
201
|
-
|
|
202
|
-
var
|
|
201
|
+
be = !0;
|
|
202
|
+
var P = Error.prepareStackTrace;
|
|
203
203
|
Error.prepareStackTrace = void 0;
|
|
204
|
-
var
|
|
205
|
-
|
|
204
|
+
var T;
|
|
205
|
+
T = ne.current, ne.current = null, _e();
|
|
206
206
|
try {
|
|
207
207
|
if (i) {
|
|
208
208
|
var k = function() {
|
|
@@ -215,119 +215,119 @@ function Gr() {
|
|
|
215
215
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
216
216
|
try {
|
|
217
217
|
Reflect.construct(k, []);
|
|
218
|
-
} catch (
|
|
219
|
-
u =
|
|
218
|
+
} catch (re) {
|
|
219
|
+
u = re;
|
|
220
220
|
}
|
|
221
221
|
Reflect.construct(e, [], k);
|
|
222
222
|
} else {
|
|
223
223
|
try {
|
|
224
224
|
k.call();
|
|
225
|
-
} catch (
|
|
226
|
-
u =
|
|
225
|
+
} catch (re) {
|
|
226
|
+
u = re;
|
|
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 (re) {
|
|
234
|
+
u = re;
|
|
235
235
|
}
|
|
236
236
|
e();
|
|
237
237
|
}
|
|
238
|
-
} catch (
|
|
239
|
-
if (
|
|
240
|
-
for (var g =
|
|
241
|
-
`),
|
|
242
|
-
`), D = g.length - 1,
|
|
243
|
-
|
|
244
|
-
for (; D >= 1 &&
|
|
245
|
-
if (g[D] !==
|
|
246
|
-
if (D !== 1 ||
|
|
238
|
+
} catch (re) {
|
|
239
|
+
if (re && u && typeof re.stack == "string") {
|
|
240
|
+
for (var g = re.stack.split(`
|
|
241
|
+
`), Q = u.stack.split(`
|
|
242
|
+
`), D = g.length - 1, U = Q.length - 1; D >= 1 && U >= 0 && g[D] !== Q[U]; )
|
|
243
|
+
U--;
|
|
244
|
+
for (; D >= 1 && U >= 0; D--, U--)
|
|
245
|
+
if (g[D] !== Q[U]) {
|
|
246
|
+
if (D !== 1 || U !== 1)
|
|
247
247
|
do
|
|
248
|
-
if (D--,
|
|
249
|
-
var
|
|
248
|
+
if (D--, U--, U < 0 || g[D] !== Q[U]) {
|
|
249
|
+
var de = `
|
|
250
250
|
` + g[D].replace(" at new ", " at ");
|
|
251
|
-
return e.displayName &&
|
|
251
|
+
return e.displayName && de.includes("<anonymous>") && (de = de.replace("<anonymous>", e.displayName)), typeof e == "function" && fe.set(e, de), de;
|
|
252
252
|
}
|
|
253
|
-
while (D >= 1 &&
|
|
253
|
+
while (D >= 1 && U >= 0);
|
|
254
254
|
break;
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
} finally {
|
|
258
|
-
|
|
258
|
+
be = !1, ne.current = T, ee(), Error.prepareStackTrace = P;
|
|
259
259
|
}
|
|
260
|
-
var
|
|
261
|
-
return typeof e == "function" &&
|
|
260
|
+
var je = e ? e.displayName || e.name : "", xe = je ? M(je) : "";
|
|
261
|
+
return typeof e == "function" && fe.set(e, xe), xe;
|
|
262
262
|
}
|
|
263
|
-
function
|
|
264
|
-
return
|
|
263
|
+
function Pe(e, i, l) {
|
|
264
|
+
return ye(e, !1);
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function Ae(e) {
|
|
267
267
|
var i = e.prototype;
|
|
268
268
|
return !!(i && i.isReactComponent);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function v(e, i, l) {
|
|
271
271
|
if (e == null)
|
|
272
272
|
return "";
|
|
273
273
|
if (typeof e == "function")
|
|
274
|
-
return
|
|
274
|
+
return ye(e, Ae(e));
|
|
275
275
|
if (typeof e == "string")
|
|
276
|
-
return
|
|
276
|
+
return M(e);
|
|
277
277
|
switch (e) {
|
|
278
|
-
case
|
|
279
|
-
return
|
|
278
|
+
case I:
|
|
279
|
+
return M("Suspense");
|
|
280
280
|
case c:
|
|
281
|
-
return
|
|
281
|
+
return M("SuspenseList");
|
|
282
282
|
}
|
|
283
283
|
if (typeof e == "object")
|
|
284
284
|
switch (e.$$typeof) {
|
|
285
|
-
case
|
|
286
|
-
return
|
|
287
|
-
case
|
|
288
|
-
return
|
|
285
|
+
case A:
|
|
286
|
+
return Pe(e.render);
|
|
287
|
+
case N:
|
|
288
|
+
return v(e.type, i, l);
|
|
289
289
|
case p: {
|
|
290
|
-
var u = e,
|
|
290
|
+
var u = e, P = u._payload, T = u._init;
|
|
291
291
|
try {
|
|
292
|
-
return
|
|
292
|
+
return v(T(P), i, l);
|
|
293
293
|
} catch {
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
return "";
|
|
298
298
|
}
|
|
299
|
-
var
|
|
300
|
-
function
|
|
299
|
+
var ce = Object.prototype.hasOwnProperty, Se = {}, n = b.ReactDebugCurrentFrame;
|
|
300
|
+
function s(e) {
|
|
301
301
|
if (e) {
|
|
302
|
-
var i = e._owner, l =
|
|
303
|
-
|
|
302
|
+
var i = e._owner, l = v(e.type, e._source, i ? i.type : null);
|
|
303
|
+
n.setExtraStackFrame(l);
|
|
304
304
|
} else
|
|
305
|
-
|
|
305
|
+
n.setExtraStackFrame(null);
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function $(e, i, l, u, P) {
|
|
308
308
|
{
|
|
309
|
-
var
|
|
309
|
+
var T = Function.call.bind(ce);
|
|
310
310
|
for (var k in e)
|
|
311
|
-
if (
|
|
311
|
+
if (T(e, k)) {
|
|
312
312
|
var g = void 0;
|
|
313
313
|
try {
|
|
314
314
|
if (typeof e[k] != "function") {
|
|
315
|
-
var
|
|
316
|
-
throw
|
|
315
|
+
var Q = Error((u || "React class") + ": " + l + " type `" + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[k] + "`.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
|
g = e[k](i, k, u, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
319
319
|
} catch (D) {
|
|
320
320
|
g = D;
|
|
321
321
|
}
|
|
322
|
-
g && !(g instanceof Error) && (
|
|
322
|
+
g && !(g instanceof Error) && (s(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), s(null)), g instanceof Error && !(g.message in Se) && (Se[g.message] = !0, s(P), _("Failed %s type: %s", l, g.message), s(null));
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
var
|
|
327
|
-
function
|
|
328
|
-
return
|
|
326
|
+
var pe = Array.isArray;
|
|
327
|
+
function ve(e) {
|
|
328
|
+
return pe(e);
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function Oe(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,26 +335,26 @@ function Gr() {
|
|
|
335
335
|
}
|
|
336
336
|
function _r(e) {
|
|
337
337
|
try {
|
|
338
|
-
return
|
|
338
|
+
return Ye(e), !1;
|
|
339
339
|
} catch {
|
|
340
340
|
return !0;
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function Ye(e) {
|
|
344
344
|
return "" + e;
|
|
345
345
|
}
|
|
346
|
-
function
|
|
346
|
+
function qe(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.", Oe(e)), Ye(e);
|
|
349
349
|
}
|
|
350
|
-
var
|
|
350
|
+
var Ve = b.ReactCurrentOwner, br = {
|
|
351
351
|
key: !0,
|
|
352
352
|
ref: !0,
|
|
353
353
|
__self: !0,
|
|
354
354
|
__source: !0
|
|
355
|
-
},
|
|
355
|
+
}, ze, Je;
|
|
356
356
|
function yr(e) {
|
|
357
|
-
if (
|
|
357
|
+
if (ce.call(e, "ref")) {
|
|
358
358
|
var i = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
359
359
|
if (i && i.isReactWarning)
|
|
360
360
|
return !1;
|
|
@@ -362,7 +362,7 @@ function Gr() {
|
|
|
362
362
|
return e.ref !== void 0;
|
|
363
363
|
}
|
|
364
364
|
function kr(e) {
|
|
365
|
-
if (
|
|
365
|
+
if (ce.call(e, "key")) {
|
|
366
366
|
var i = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
367
367
|
if (i && i.isReactWarning)
|
|
368
368
|
return !1;
|
|
@@ -370,12 +370,12 @@ function Gr() {
|
|
|
370
370
|
return e.key !== void 0;
|
|
371
371
|
}
|
|
372
372
|
function vr(e, i) {
|
|
373
|
-
typeof e.ref == "string" &&
|
|
373
|
+
typeof e.ref == "string" && Ve.current;
|
|
374
374
|
}
|
|
375
375
|
function xr(e, i) {
|
|
376
376
|
{
|
|
377
377
|
var l = function() {
|
|
378
|
-
|
|
378
|
+
ze || (ze = !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,
|
|
@@ -386,7 +386,7 @@ function Gr() {
|
|
|
386
386
|
function wr(e, i) {
|
|
387
387
|
{
|
|
388
388
|
var l = function() {
|
|
389
|
-
|
|
389
|
+
Je || (Je = !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,
|
|
@@ -394,7 +394,7 @@ function Gr() {
|
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
var Pr = function(e, i, l, u,
|
|
397
|
+
var Pr = function(e, i, l, u, P, T, k) {
|
|
398
398
|
var g = {
|
|
399
399
|
// This tag allows us to uniquely identify this as a React Element
|
|
400
400
|
$$typeof: o,
|
|
@@ -404,7 +404,7 @@ function Gr() {
|
|
|
404
404
|
ref: l,
|
|
405
405
|
props: k,
|
|
406
406
|
// Record the component responsible for creating this element.
|
|
407
|
-
_owner:
|
|
407
|
+
_owner: T
|
|
408
408
|
};
|
|
409
409
|
return g._store = {}, Object.defineProperty(g._store, "validated", {
|
|
410
410
|
configurable: !1,
|
|
@@ -420,44 +420,44 @@ function Gr() {
|
|
|
420
420
|
configurable: !1,
|
|
421
421
|
enumerable: !1,
|
|
422
422
|
writable: !1,
|
|
423
|
-
value:
|
|
423
|
+
value: P
|
|
424
424
|
}), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
|
|
425
425
|
};
|
|
426
|
-
function Ar(e, i, l, u,
|
|
426
|
+
function Ar(e, i, l, u, P) {
|
|
427
427
|
{
|
|
428
|
-
var
|
|
429
|
-
l !== void 0 && (
|
|
430
|
-
for (
|
|
431
|
-
|
|
428
|
+
var T, k = {}, g = null, Q = null;
|
|
429
|
+
l !== void 0 && (qe(l), g = "" + l), kr(i) && (qe(i.key), g = "" + i.key), yr(i) && (Q = i.ref, vr(i, P));
|
|
430
|
+
for (T in i)
|
|
431
|
+
ce.call(i, T) && !br.hasOwnProperty(T) && (k[T] = i[T]);
|
|
432
432
|
if (e && e.defaultProps) {
|
|
433
433
|
var D = e.defaultProps;
|
|
434
|
-
for (
|
|
435
|
-
k[
|
|
434
|
+
for (T in D)
|
|
435
|
+
k[T] === void 0 && (k[T] = D[T]);
|
|
436
436
|
}
|
|
437
|
-
if (g ||
|
|
438
|
-
var
|
|
439
|
-
g && xr(k,
|
|
437
|
+
if (g || Q) {
|
|
438
|
+
var U = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
439
|
+
g && xr(k, U), Q && wr(k, U);
|
|
440
440
|
}
|
|
441
|
-
return Pr(e, g,
|
|
441
|
+
return Pr(e, g, Q, P, u, Ve.current, k);
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
|
-
var
|
|
445
|
-
function
|
|
444
|
+
var Fe = b.ReactCurrentOwner, Qe = b.ReactDebugCurrentFrame;
|
|
445
|
+
function Ce(e) {
|
|
446
446
|
if (e) {
|
|
447
|
-
var i = e._owner, l =
|
|
448
|
-
|
|
447
|
+
var i = e._owner, l = v(e.type, e._source, i ? i.type : null);
|
|
448
|
+
Qe.setExtraStackFrame(l);
|
|
449
449
|
} else
|
|
450
|
-
|
|
450
|
+
Qe.setExtraStackFrame(null);
|
|
451
451
|
}
|
|
452
|
-
var
|
|
453
|
-
|
|
454
|
-
function
|
|
452
|
+
var Me;
|
|
453
|
+
Me = !1;
|
|
454
|
+
function $e(e) {
|
|
455
455
|
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
456
456
|
}
|
|
457
|
-
function
|
|
457
|
+
function Xe() {
|
|
458
458
|
{
|
|
459
|
-
if (
|
|
460
|
-
var e =
|
|
459
|
+
if (Fe.current) {
|
|
460
|
+
var e = L(Fe.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 Ze = {};
|
|
473
473
|
function jr(e) {
|
|
474
474
|
{
|
|
475
|
-
var i =
|
|
475
|
+
var i = Xe();
|
|
476
476
|
if (!i) {
|
|
477
477
|
var l = typeof e == "string" ? e : e.displayName || e.name;
|
|
478
478
|
l && (i = `
|
|
@@ -482,35 +482,35 @@ Check the top-level render call using <` + l + ">.");
|
|
|
482
482
|
return i;
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function er(e, i) {
|
|
486
486
|
{
|
|
487
487
|
if (!e._store || e._store.validated || e.key != null)
|
|
488
488
|
return;
|
|
489
489
|
e._store.validated = !0;
|
|
490
490
|
var l = jr(i);
|
|
491
|
-
if (
|
|
491
|
+
if (Ze[l])
|
|
492
492
|
return;
|
|
493
|
-
|
|
493
|
+
Ze[l] = !0;
|
|
494
494
|
var u = "";
|
|
495
|
-
e && e._owner && e._owner !==
|
|
495
|
+
e && e._owner && e._owner !== Fe.current && (u = " It was passed a child from " + L(e._owner.type) + "."), Ce(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), Ce(null);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function rr(e, i) {
|
|
499
499
|
{
|
|
500
500
|
if (typeof e != "object")
|
|
501
501
|
return;
|
|
502
|
-
if (
|
|
502
|
+
if (ve(e))
|
|
503
503
|
for (var l = 0; l < e.length; l++) {
|
|
504
504
|
var u = e[l];
|
|
505
|
-
|
|
505
|
+
$e(u) && er(u, i);
|
|
506
506
|
}
|
|
507
|
-
else if (
|
|
507
|
+
else if ($e(e))
|
|
508
508
|
e._store && (e._store.validated = !0);
|
|
509
509
|
else if (e) {
|
|
510
|
-
var
|
|
511
|
-
if (typeof
|
|
512
|
-
for (var
|
|
513
|
-
|
|
510
|
+
var P = C(e);
|
|
511
|
+
if (typeof P == "function" && P !== e.entries)
|
|
512
|
+
for (var T = P.call(e), k; !(k = T.next()).done; )
|
|
513
|
+
$e(k.value) && er(k.value, i);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
}
|
|
@@ -522,19 +522,19 @@ 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 === A || // Note: Memo only checks outer props here.
|
|
526
526
|
// Inner props are checked in the reconciler.
|
|
527
|
-
i.$$typeof ===
|
|
527
|
+
i.$$typeof === N))
|
|
528
528
|
l = i.propTypes;
|
|
529
529
|
else
|
|
530
530
|
return;
|
|
531
531
|
if (l) {
|
|
532
|
-
var u =
|
|
533
|
-
|
|
534
|
-
} else if (i.PropTypes !== void 0 && !
|
|
535
|
-
|
|
536
|
-
var
|
|
537
|
-
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
532
|
+
var u = L(i);
|
|
533
|
+
$(l, e.props, "prop", u, e);
|
|
534
|
+
} else if (i.PropTypes !== void 0 && !Me) {
|
|
535
|
+
Me = !0;
|
|
536
|
+
var P = L(i);
|
|
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.");
|
|
540
540
|
}
|
|
@@ -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
|
+
Ce(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), Ce(null);
|
|
548
548
|
break;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
e.ref !== null && (
|
|
551
|
+
e.ref !== null && (Ce(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), Ce(null));
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
|
-
var
|
|
555
|
-
function
|
|
554
|
+
var tr = {};
|
|
555
|
+
function ar(e, i, l, u, P, T) {
|
|
556
556
|
{
|
|
557
557
|
var k = F(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
|
-
var
|
|
562
|
-
|
|
561
|
+
var Q = Cr();
|
|
562
|
+
Q ? g += Q : g += Xe();
|
|
563
563
|
var D;
|
|
564
|
-
e === null ? D = "null" :
|
|
564
|
+
e === null ? D = "null" : ve(e) ? D = "array" : e !== void 0 && e.$$typeof === o ? (D = "<" + (L(e.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : D = 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", D, g);
|
|
565
565
|
}
|
|
566
|
-
var
|
|
567
|
-
if (
|
|
568
|
-
return
|
|
566
|
+
var U = Ar(e, i, l, P, T);
|
|
567
|
+
if (U == null)
|
|
568
|
+
return U;
|
|
569
569
|
if (k) {
|
|
570
|
-
var
|
|
571
|
-
if (
|
|
570
|
+
var de = i.children;
|
|
571
|
+
if (de !== void 0)
|
|
572
572
|
if (u)
|
|
573
|
-
if (
|
|
574
|
-
for (var
|
|
575
|
-
|
|
576
|
-
Object.freeze && Object.freeze(
|
|
573
|
+
if (ve(de)) {
|
|
574
|
+
for (var je = 0; je < de.length; je++)
|
|
575
|
+
rr(de[je], e);
|
|
576
|
+
Object.freeze && Object.freeze(de);
|
|
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
|
+
rr(de, e);
|
|
581
581
|
}
|
|
582
|
-
if (
|
|
583
|
-
var
|
|
582
|
+
if (ce.call(i, "key")) {
|
|
583
|
+
var xe = L(e), re = Object.keys(i).filter(function(Lr) {
|
|
584
584
|
return Lr !== "key";
|
|
585
|
-
}),
|
|
586
|
-
if (!
|
|
587
|
-
var Br =
|
|
585
|
+
}), Ue = re.length > 0 ? "{key: someKey, " + re.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
586
|
+
if (!tr[xe + Ue]) {
|
|
587
|
+
var Br = re.length > 0 ? "{" + re.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} />`, Ue, xe, Br, xe), tr[xe + Ue] = !0;
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
|
-
return e === m ? Tr(
|
|
596
|
+
return e === m ? Tr(U) : Nr(U), U;
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
599
|
function Rr(e, i, l) {
|
|
600
|
-
return
|
|
600
|
+
return ar(e, i, l, !0);
|
|
601
601
|
}
|
|
602
602
|
function Sr(e, i, l) {
|
|
603
|
-
return
|
|
603
|
+
return ar(e, i, l, !1);
|
|
604
604
|
}
|
|
605
605
|
var Er = Sr, Ir = Rr;
|
|
606
|
-
|
|
607
|
-
})()),
|
|
606
|
+
Ie.Fragment = m, Ie.jsx = Er, Ie.jsxs = Ir;
|
|
607
|
+
})()), Ie;
|
|
608
608
|
}
|
|
609
|
-
var
|
|
609
|
+
var ir;
|
|
610
610
|
function Wr() {
|
|
611
|
-
return
|
|
611
|
+
return ir || (ir = 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 ur = ["en", "hi"], lr = {
|
|
615
615
|
en: "English",
|
|
616
616
|
hi: "हिन्दी"
|
|
617
|
-
},
|
|
617
|
+
}, mr = {
|
|
618
618
|
en: {
|
|
619
619
|
kundli: "Kundli",
|
|
620
620
|
birthChart: "Birth Chart",
|
|
@@ -1046,17 +1046,17 @@ const cr = ["en", "hi"], or = {
|
|
|
1046
1046
|
astrologyGuidance: "ज्योतिष से सलाह",
|
|
1047
1047
|
selectPackage: "पैकेज चुनें"
|
|
1048
1048
|
}
|
|
1049
|
-
},
|
|
1049
|
+
}, fr = dr(null), Rn = ({
|
|
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: (x) => mr[t]?.[x] ?? x };
|
|
1054
|
+
return /* @__PURE__ */ r.jsx(fr.Provider, { value: m, children: o });
|
|
1055
1055
|
};
|
|
1056
1056
|
function Kr() {
|
|
1057
|
-
return
|
|
1057
|
+
return Ke(fr);
|
|
1058
1058
|
}
|
|
1059
|
-
const Hr = "_container_1e1th_1", Yr = "_main_1e1th_7", qr = "_kundliHeaderNoBorder_1e1th_12", Vr = "_headerSeparator_1e1th_16", zr = "_langDropdownWrap_1e1th_21", Jr = "_langTrigger_1e1th_25", Qr = "_langIcon_1e1th_37", Xr = "_langLabel_1e1th_44", Zr = "_langMenu_1e1th_49", et = "_langOption_1e1th_55",
|
|
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,
|
|
1061
1061
|
main: Yr,
|
|
1062
1062
|
kundliHeaderNoBorder: qr,
|
|
@@ -1067,14 +1067,14 @@ const Hr = "_container_1e1th_1", Yr = "_main_1e1th_7", qr = "_kundliHeaderNoBord
|
|
|
1067
1067
|
langLabel: Xr,
|
|
1068
1068
|
langMenu: Zr,
|
|
1069
1069
|
langOption: et
|
|
1070
|
-
},
|
|
1071
|
-
const { priority: o, fetchPriority: d, width: m, height:
|
|
1072
|
-
return
|
|
1073
|
-
...
|
|
1070
|
+
}, De = (t) => {
|
|
1071
|
+
const { priority: o, fetchPriority: d, width: m, height: x, ...R } = t;
|
|
1072
|
+
return We.createElement("img", {
|
|
1073
|
+
...R,
|
|
1074
1074
|
width: m ?? 1,
|
|
1075
|
-
height:
|
|
1075
|
+
height: x ?? 1,
|
|
1076
1076
|
decoding: "async",
|
|
1077
|
-
loading:
|
|
1077
|
+
loading: R.loading ?? (o ? "eager" : "lazy"),
|
|
1078
1078
|
...d && { fetchPriority: d }
|
|
1079
1079
|
});
|
|
1080
1080
|
};
|
|
@@ -1111,15 +1111,15 @@ function En() {
|
|
|
1111
1111
|
return !1;
|
|
1112
1112
|
}
|
|
1113
1113
|
}
|
|
1114
|
-
const
|
|
1114
|
+
const pr = "kundli_language";
|
|
1115
1115
|
function at() {
|
|
1116
|
-
const t = rt(
|
|
1117
|
-
return t &&
|
|
1116
|
+
const t = rt(pr);
|
|
1117
|
+
return t && ur.includes(t) ? t : null;
|
|
1118
1118
|
}
|
|
1119
1119
|
function nt(t) {
|
|
1120
|
-
tt(
|
|
1120
|
+
tt(pr, t);
|
|
1121
1121
|
}
|
|
1122
|
-
const
|
|
1122
|
+
const He = dr(null), ot = {
|
|
1123
1123
|
fullName: "",
|
|
1124
1124
|
phone: "",
|
|
1125
1125
|
gender: "",
|
|
@@ -1136,72 +1136,72 @@ const We = sr(null), ot = {
|
|
|
1136
1136
|
showLanguageSelector: o = !0,
|
|
1137
1137
|
showSheet: d,
|
|
1138
1138
|
userId: m,
|
|
1139
|
-
isGlobal:
|
|
1140
|
-
variant:
|
|
1141
|
-
atlasSearchLocalities:
|
|
1142
|
-
logoUrl:
|
|
1143
|
-
reportImageUrl:
|
|
1144
|
-
reportImagePriority:
|
|
1139
|
+
isGlobal: x,
|
|
1140
|
+
variant: R,
|
|
1141
|
+
atlasSearchLocalities: w,
|
|
1142
|
+
logoUrl: j,
|
|
1143
|
+
reportImageUrl: A,
|
|
1144
|
+
reportImagePriority: I,
|
|
1145
1145
|
backgroundImagePriority: c,
|
|
1146
|
-
universityLogoUrls:
|
|
1146
|
+
universityLogoUrls: N,
|
|
1147
1147
|
sampleReportHref: p,
|
|
1148
|
-
onViewSampleReport:
|
|
1148
|
+
onViewSampleReport: S,
|
|
1149
1149
|
ctaHref: h,
|
|
1150
|
-
onCtaClick:
|
|
1151
|
-
onBack:
|
|
1150
|
+
onCtaClick: E,
|
|
1151
|
+
onBack: C,
|
|
1152
1152
|
readMoreReviewsHref: b,
|
|
1153
1153
|
onProceed: _,
|
|
1154
|
-
proceedHref:
|
|
1154
|
+
proceedHref: G,
|
|
1155
1155
|
originalPriceLabel: y,
|
|
1156
1156
|
discountedPriceLabel: O,
|
|
1157
|
-
discountPillLabel:
|
|
1158
|
-
analytics:
|
|
1159
|
-
onProceedGuidance:
|
|
1160
|
-
onLocaleChange:
|
|
1161
|
-
imageComponent: F =
|
|
1162
|
-
children:
|
|
1157
|
+
discountPillLabel: X,
|
|
1158
|
+
analytics: Z,
|
|
1159
|
+
onProceedGuidance: ie,
|
|
1160
|
+
onLocaleChange: Y,
|
|
1161
|
+
imageComponent: F = De,
|
|
1162
|
+
children: ue
|
|
1163
1163
|
}) => {
|
|
1164
|
-
const [
|
|
1165
|
-
|
|
1166
|
-
const
|
|
1167
|
-
|
|
1168
|
-
}, []),
|
|
1169
|
-
nt(
|
|
1170
|
-
}, [
|
|
1171
|
-
if (
|
|
1172
|
-
|
|
1164
|
+
const [z, L] = W("landing"), [B, q] = W(t ?? "en"), [J, te] = W(ot), ge = K(!0);
|
|
1165
|
+
H(() => {
|
|
1166
|
+
const ae = at();
|
|
1167
|
+
ae && q(ae);
|
|
1168
|
+
}, []), H(() => {
|
|
1169
|
+
nt(B);
|
|
1170
|
+
}, [B]), H(() => {
|
|
1171
|
+
if (ge.current) {
|
|
1172
|
+
ge.current = !1;
|
|
1173
1173
|
return;
|
|
1174
1174
|
}
|
|
1175
|
-
|
|
1176
|
-
}, [
|
|
1177
|
-
const
|
|
1175
|
+
Y?.(B);
|
|
1176
|
+
}, [B, Y]);
|
|
1177
|
+
const V = Ge(
|
|
1178
1178
|
() => ({
|
|
1179
1179
|
locale: t,
|
|
1180
1180
|
showLanguageSelector: o,
|
|
1181
1181
|
showSheet: d,
|
|
1182
1182
|
userId: m,
|
|
1183
|
-
isGlobal:
|
|
1184
|
-
variant:
|
|
1185
|
-
atlasSearchLocalities:
|
|
1186
|
-
logoUrl:
|
|
1187
|
-
reportImageUrl:
|
|
1188
|
-
reportImagePriority:
|
|
1183
|
+
isGlobal: x,
|
|
1184
|
+
variant: R,
|
|
1185
|
+
atlasSearchLocalities: w,
|
|
1186
|
+
logoUrl: j,
|
|
1187
|
+
reportImageUrl: A,
|
|
1188
|
+
reportImagePriority: I,
|
|
1189
1189
|
backgroundImagePriority: c,
|
|
1190
|
-
universityLogoUrls:
|
|
1190
|
+
universityLogoUrls: N,
|
|
1191
1191
|
sampleReportHref: p,
|
|
1192
|
-
onViewSampleReport:
|
|
1192
|
+
onViewSampleReport: S,
|
|
1193
1193
|
ctaHref: h,
|
|
1194
|
-
onCtaClick:
|
|
1195
|
-
onBack:
|
|
1194
|
+
onCtaClick: E,
|
|
1195
|
+
onBack: C,
|
|
1196
1196
|
readMoreReviewsHref: b,
|
|
1197
1197
|
onProceed: _,
|
|
1198
|
-
proceedHref:
|
|
1198
|
+
proceedHref: G,
|
|
1199
1199
|
originalPriceLabel: y,
|
|
1200
1200
|
discountedPriceLabel: O,
|
|
1201
|
-
discountPillLabel:
|
|
1202
|
-
analytics:
|
|
1203
|
-
onProceedGuidance:
|
|
1204
|
-
onLocaleChange:
|
|
1201
|
+
discountPillLabel: X,
|
|
1202
|
+
analytics: Z,
|
|
1203
|
+
onProceedGuidance: ie,
|
|
1204
|
+
onLocaleChange: Y,
|
|
1205
1205
|
imageComponent: F
|
|
1206
1206
|
}),
|
|
1207
1207
|
[
|
|
@@ -1209,61 +1209,61 @@ const We = sr(null), ot = {
|
|
|
1209
1209
|
o,
|
|
1210
1210
|
d,
|
|
1211
1211
|
m,
|
|
1212
|
-
v,
|
|
1213
|
-
T,
|
|
1214
1212
|
x,
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
E,
|
|
1218
|
-
c,
|
|
1213
|
+
R,
|
|
1214
|
+
w,
|
|
1219
1215
|
j,
|
|
1216
|
+
A,
|
|
1217
|
+
I,
|
|
1218
|
+
c,
|
|
1219
|
+
N,
|
|
1220
1220
|
p,
|
|
1221
|
-
R,
|
|
1222
|
-
h,
|
|
1223
1221
|
S,
|
|
1224
|
-
|
|
1222
|
+
h,
|
|
1223
|
+
E,
|
|
1224
|
+
C,
|
|
1225
1225
|
b,
|
|
1226
1226
|
_,
|
|
1227
|
-
|
|
1227
|
+
G,
|
|
1228
1228
|
y,
|
|
1229
1229
|
O,
|
|
1230
|
-
Q,
|
|
1231
1230
|
X,
|
|
1232
|
-
|
|
1233
|
-
|
|
1231
|
+
Z,
|
|
1232
|
+
ie,
|
|
1233
|
+
Y,
|
|
1234
1234
|
F
|
|
1235
1235
|
]
|
|
1236
|
-
),
|
|
1237
|
-
|
|
1238
|
-
}, [
|
|
1239
|
-
|
|
1240
|
-
}, [
|
|
1236
|
+
), le = Te(() => {
|
|
1237
|
+
L("form");
|
|
1238
|
+
}, [V.analytics]), me = Te(() => {
|
|
1239
|
+
L("landing"), V.onBack?.();
|
|
1240
|
+
}, [V.onBack]), se = Ge(
|
|
1241
1241
|
() => ({
|
|
1242
|
-
view:
|
|
1243
|
-
locale:
|
|
1244
|
-
setLocale:
|
|
1245
|
-
config:
|
|
1246
|
-
formValues:
|
|
1247
|
-
setFormValues:
|
|
1248
|
-
goToForm:
|
|
1249
|
-
goToPage:
|
|
1250
|
-
onProceed:
|
|
1251
|
-
onProceedGuidance:
|
|
1242
|
+
view: z,
|
|
1243
|
+
locale: B,
|
|
1244
|
+
setLocale: q,
|
|
1245
|
+
config: V,
|
|
1246
|
+
formValues: J,
|
|
1247
|
+
setFormValues: te,
|
|
1248
|
+
goToForm: le,
|
|
1249
|
+
goToPage: me,
|
|
1250
|
+
onProceed: V.onProceed,
|
|
1251
|
+
onProceedGuidance: V.onProceedGuidance
|
|
1252
1252
|
}),
|
|
1253
|
-
[
|
|
1253
|
+
[z, B, V, J, le, me]
|
|
1254
1254
|
);
|
|
1255
|
-
return /* @__PURE__ */ r.jsx(
|
|
1255
|
+
return /* @__PURE__ */ r.jsx(He.Provider, { value: se, children: ue });
|
|
1256
1256
|
};
|
|
1257
|
-
function
|
|
1258
|
-
return
|
|
1257
|
+
function Re() {
|
|
1258
|
+
return Ke(He);
|
|
1259
1259
|
}
|
|
1260
1260
|
function Bn() {
|
|
1261
|
-
const t =
|
|
1261
|
+
const t = Ke(He);
|
|
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", sr = {
|
|
1267
1267
|
header: it,
|
|
1268
1268
|
centered: lt
|
|
1269
1269
|
}, st = ({
|
|
@@ -1278,9 +1278,9 @@ const it = "_header_19172_1", lt = "_centered_19172_8", ir = {
|
|
|
1278
1278
|
subtitle: t("formSubtitle"),
|
|
1279
1279
|
onBack: o,
|
|
1280
1280
|
backAriaLabel: t("back"),
|
|
1281
|
-
className: `${
|
|
1281
|
+
className: `${sr.header} ${m === "center" ? sr.centered : ""} ${d}`
|
|
1282
1282
|
}
|
|
1283
|
-
), ct = "_wrap_kiw0x_1", dt = "_card_kiw0x_5", ut = "_cardInner_kiw0x_12", mt = "_field_kiw0x_44", ft = "_labelRow_kiw0x_48", pt = "_label_kiw0x_48", ht = "_req_kiw0x_57", gt = "_help_kiw0x_61", _t = "_choiceRow_kiw0x_68", bt = "_choiceBtn_kiw0x_74", yt = "_choiceBtnActive_kiw0x_99", kt = "_infoBtn_kiw0x_105", vt = "_infoImg_kiw0x_122", xt = "_infoWrap_kiw0x_128", wt = "_tooltip_kiw0x_134", Pt = "_tooltipArrow_kiw0x_150", At = "_inputWrap_kiw0x_161", Ct = "_isdWrap_kiw0x_165", jt = "_phoneInputGroup_kiw0x_169", Nt = "_isdSelectWrap_kiw0x_178", Tt = "_isdSelectTrigger_kiw0x_197", Rt = "_isdDropdown_kiw0x_214", St = "_isdSearchWrap_kiw0x_229", Et = "_isdSearchInput_kiw0x_237", It = "_isdOption_kiw0x_255", Bt = "_isdOptionActive_kiw0x_275", Lt = "_isdCountryName_kiw0x_281", Dt = "_isdCountryCode_kiw0x_288", Ot = "_isdNoResult_kiw0x_295", Ft = "_suggestions_kiw0x_302", Mt = "_suggestionItem_kiw0x_315", $t = "_suggestionMain_kiw0x_333", Ut = "_suggestionSecondary_kiw0x_339", Gt = "_suggestionsHint_kiw0x_344", Wt = "_timePopover_kiw0x_359", Kt = "_timePickerRow_kiw0x_375", Ht = "_timePickerSelect_kiw0x_381", Yt = "_timePickerColon_kiw0x_397", qt = "_meridiemToggle_kiw0x_405", Vt = "_meridiemBtn_kiw0x_414", zt = "_meridiemActive_kiw0x_429", Jt = "_timePopoverActions_kiw0x_434", Qt = "_timePopoverBtn_kiw0x_440", Xt = "_timePopoverOk_kiw0x_459", Zt = "_input_kiw0x_161", ea = "_phoneInput_kiw0x_169", ra = "_iconBtn_kiw0x_512", ta = "_iconBtnInteractive_kiw0x_518", aa = "_iconImg_kiw0x_537", na = "_checkboxRow_kiw0x_543", oa = "_checkbox_kiw0x_543", ia = "_checkboxText_kiw0x_581",
|
|
1283
|
+
), ct = "_wrap_kiw0x_1", dt = "_card_kiw0x_5", ut = "_cardInner_kiw0x_12", mt = "_field_kiw0x_44", ft = "_labelRow_kiw0x_48", pt = "_label_kiw0x_48", ht = "_req_kiw0x_57", gt = "_help_kiw0x_61", _t = "_choiceRow_kiw0x_68", bt = "_choiceBtn_kiw0x_74", yt = "_choiceBtnActive_kiw0x_99", kt = "_infoBtn_kiw0x_105", vt = "_infoImg_kiw0x_122", xt = "_infoWrap_kiw0x_128", wt = "_tooltip_kiw0x_134", Pt = "_tooltipArrow_kiw0x_150", At = "_inputWrap_kiw0x_161", Ct = "_isdWrap_kiw0x_165", jt = "_phoneInputGroup_kiw0x_169", Nt = "_isdSelectWrap_kiw0x_178", Tt = "_isdSelectTrigger_kiw0x_197", Rt = "_isdDropdown_kiw0x_214", St = "_isdSearchWrap_kiw0x_229", Et = "_isdSearchInput_kiw0x_237", It = "_isdOption_kiw0x_255", Bt = "_isdOptionActive_kiw0x_275", Lt = "_isdCountryName_kiw0x_281", Dt = "_isdCountryCode_kiw0x_288", Ot = "_isdNoResult_kiw0x_295", Ft = "_suggestions_kiw0x_302", Mt = "_suggestionItem_kiw0x_315", $t = "_suggestionMain_kiw0x_333", Ut = "_suggestionSecondary_kiw0x_339", Gt = "_suggestionsHint_kiw0x_344", Wt = "_timePopover_kiw0x_359", Kt = "_timePickerRow_kiw0x_375", Ht = "_timePickerSelect_kiw0x_381", Yt = "_timePickerColon_kiw0x_397", qt = "_meridiemToggle_kiw0x_405", Vt = "_meridiemBtn_kiw0x_414", zt = "_meridiemActive_kiw0x_429", Jt = "_timePopoverActions_kiw0x_434", Qt = "_timePopoverBtn_kiw0x_440", Xt = "_timePopoverOk_kiw0x_459", Zt = "_input_kiw0x_161", ea = "_phoneInput_kiw0x_169", ra = "_iconBtn_kiw0x_512", ta = "_iconBtnInteractive_kiw0x_518", aa = "_iconImg_kiw0x_537", na = "_checkboxRow_kiw0x_543", oa = "_checkbox_kiw0x_543", ia = "_checkboxText_kiw0x_581", a = {
|
|
1284
1284
|
wrap: ct,
|
|
1285
1285
|
card: dt,
|
|
1286
1286
|
cardInner: ut,
|
|
@@ -1333,7 +1333,7 @@ const it = "_header_19172_1", lt = "_centered_19172_8", ir = {
|
|
|
1333
1333
|
checkboxRow: na,
|
|
1334
1334
|
checkbox: oa,
|
|
1335
1335
|
checkboxText: ia
|
|
1336
|
-
},
|
|
1336
|
+
}, cr = (t) => typeof t == "number" && Number.isFinite(t), la = (t) => {
|
|
1337
1337
|
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
1338
|
return {
|
|
1339
1339
|
limit: o,
|
|
@@ -1341,23 +1341,23 @@ const it = "_header_19172_1", lt = "_centered_19172_8", ir = {
|
|
|
1341
1341
|
restrictCountry: t?.restrictCountry
|
|
1342
1342
|
};
|
|
1343
1343
|
}, sa = (t) => {
|
|
1344
|
-
const { searchLocalities: o, restrictCountry: d } = t, [m,
|
|
1345
|
-
|
|
1346
|
-
|
|
1344
|
+
const { searchLocalities: o, restrictCountry: d } = t, [m, x] = W([]), [R, w] = W(!1), [j, A] = W(null), I = K(0);
|
|
1345
|
+
H(() => {
|
|
1346
|
+
A(null);
|
|
1347
1347
|
}, [o]);
|
|
1348
|
-
const c =
|
|
1348
|
+
const c = Te(
|
|
1349
1349
|
async (p) => {
|
|
1350
1350
|
if (!p || p.length < 2 || !o) {
|
|
1351
|
-
|
|
1351
|
+
x([]);
|
|
1352
1352
|
return;
|
|
1353
1353
|
}
|
|
1354
|
-
const
|
|
1355
|
-
|
|
1354
|
+
const S = ++I.current;
|
|
1355
|
+
w(!0), A(null);
|
|
1356
1356
|
try {
|
|
1357
|
-
const h = la({ restrictCountry: d }),
|
|
1358
|
-
if (
|
|
1359
|
-
const
|
|
1360
|
-
(b) => !!b?.id && !!b?.description &&
|
|
1357
|
+
const h = la({ restrictCountry: d }), E = await o(p, h);
|
|
1358
|
+
if (S !== I.current) return;
|
|
1359
|
+
const C = (E || []).filter(
|
|
1360
|
+
(b) => !!b?.id && !!b?.description && cr(b?.lat) && cr(b?.lng)
|
|
1361
1361
|
).map((b) => ({
|
|
1362
1362
|
id: b.id,
|
|
1363
1363
|
description: b.description,
|
|
@@ -1365,29 +1365,29 @@ const it = "_header_19172_1", lt = "_centered_19172_8", ir = {
|
|
|
1365
1365
|
lat: b.lat,
|
|
1366
1366
|
lng: b.lng
|
|
1367
1367
|
}));
|
|
1368
|
-
|
|
1368
|
+
x(C);
|
|
1369
1369
|
} catch (h) {
|
|
1370
|
-
if (
|
|
1371
|
-
|
|
1370
|
+
if (S !== I.current) return;
|
|
1371
|
+
x([]), A(h?.message || "Failed to fetch locations");
|
|
1372
1372
|
} finally {
|
|
1373
|
-
|
|
1373
|
+
S === I.current && w(!1);
|
|
1374
1374
|
}
|
|
1375
1375
|
},
|
|
1376
1376
|
[d, o]
|
|
1377
|
-
),
|
|
1377
|
+
), N = Te(() => x([]), []);
|
|
1378
1378
|
return {
|
|
1379
1379
|
predictions: m,
|
|
1380
|
-
isSearching:
|
|
1381
|
-
loadError:
|
|
1380
|
+
isSearching: R,
|
|
1381
|
+
loadError: j,
|
|
1382
1382
|
searchPlaces: c,
|
|
1383
|
-
clearPredictions:
|
|
1383
|
+
clearPredictions: N
|
|
1384
1384
|
};
|
|
1385
|
-
},
|
|
1385
|
+
}, Ne = {
|
|
1386
1386
|
time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
|
|
1387
1387
|
location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
|
|
1388
1388
|
date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
1389
1389
|
info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
|
|
1390
|
-
},
|
|
1390
|
+
}, hr = [
|
|
1391
1391
|
{ code: "+1", country: "USA / Canada" },
|
|
1392
1392
|
{ code: "+7", country: "Russia / Kazakhstan" },
|
|
1393
1393
|
{ code: "+20", country: "Egypt" },
|
|
@@ -1458,131 +1458,135 @@ const it = "_header_19172_1", lt = "_centered_19172_8", ir = {
|
|
|
1458
1458
|
{ code: "+976", country: "Mongolia" },
|
|
1459
1459
|
{ code: "+977", country: "Nepal" }
|
|
1460
1460
|
];
|
|
1461
|
-
|
|
1461
|
+
hr.map((t) => t.code);
|
|
1462
1462
|
const ca = ({
|
|
1463
1463
|
t,
|
|
1464
1464
|
values: o,
|
|
1465
1465
|
onChange: d,
|
|
1466
1466
|
phoneIsdCode: m,
|
|
1467
|
-
onPhoneIsdCodeChange:
|
|
1468
|
-
showV1ExtraFields:
|
|
1469
|
-
analytics:
|
|
1470
|
-
atlasSearchLocalities:
|
|
1471
|
-
className:
|
|
1467
|
+
onPhoneIsdCodeChange: x,
|
|
1468
|
+
showV1ExtraFields: R = !1,
|
|
1469
|
+
analytics: w,
|
|
1470
|
+
atlasSearchLocalities: j,
|
|
1471
|
+
className: A = ""
|
|
1472
1472
|
}) => {
|
|
1473
|
-
const
|
|
1474
|
-
s.trim() &&
|
|
1473
|
+
const I = Re(), c = I?.config?.analytics ?? w, N = I?.config.isGlobal ?? !0, p = I?.config?.atlasSearchLocalities, [S, h] = W(!1), [E, C] = W(""), b = K(null), _ = K(null), G = K({}), y = (n) => d({ ...o, ...n }), O = (n, s) => {
|
|
1474
|
+
s.trim() && !G.current[n] && (G.current[n] = !0, {
|
|
1475
1475
|
fullName: () => c?.trackNameSectionFilled?.(),
|
|
1476
1476
|
phone: () => c?.trackPhoneSectionFilled?.(),
|
|
1477
1477
|
email: () => c?.trackEmailSectionFilled?.(),
|
|
1478
1478
|
dateOfBirth: () => c?.trackDobFilled?.(),
|
|
1479
1479
|
birthTime: () => c?.trackTimeFilled?.(),
|
|
1480
1480
|
birthPlace: () => c?.trackPlaceOfBirthChosen?.()
|
|
1481
|
-
}[
|
|
1482
|
-
},
|
|
1483
|
-
|
|
1484
|
-
const F =
|
|
1485
|
-
const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(
|
|
1486
|
-
if (!s) return
|
|
1487
|
-
const
|
|
1488
|
-
return `${
|
|
1489
|
-
},
|
|
1490
|
-
const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(
|
|
1481
|
+
}[n]?.());
|
|
1482
|
+
}, X = (n) => n.replace(/\D/g, "").slice(0, 10), Z = E.trim().toLowerCase(), ie = hr.filter((n) => Z ? n.country.toLowerCase().includes(Z) || n.code.includes(Z) : !0), Y = K(null);
|
|
1483
|
+
K(null);
|
|
1484
|
+
const F = K(null), ue = K(0), z = K(null), [L, B] = W(!1), [q, J] = W({ hour12: 12, minute: "00", meridiem: "AM" }), te = (n) => String(n).padStart(2, "0"), ge = (n) => {
|
|
1485
|
+
const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1486
|
+
if (!s) return n;
|
|
1487
|
+
const $ = Number(s[1]), pe = s[2], ve = $ >= 12 ? "PM" : "AM";
|
|
1488
|
+
return `${$ % 12 === 0 ? 12 : $ % 12}:${pe} ${ve}`;
|
|
1489
|
+
}, V = (n) => {
|
|
1490
|
+
const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1491
1491
|
if (!s) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1492
|
-
const
|
|
1493
|
-
return { hour12:
|
|
1494
|
-
},
|
|
1495
|
-
const s = Math.min(12, Math.max(1,
|
|
1496
|
-
let
|
|
1497
|
-
return
|
|
1498
|
-
},
|
|
1492
|
+
const $ = Number(s[1]), pe = s[2], ve = $ >= 12 ? "PM" : "AM";
|
|
1493
|
+
return { hour12: $ % 12 === 0 ? 12 : $ % 12, minute: pe, meridiem: ve };
|
|
1494
|
+
}, le = (n) => {
|
|
1495
|
+
const s = Math.min(12, Math.max(1, n.hour12)), $ = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
|
|
1496
|
+
let pe = s % 12;
|
|
1497
|
+
return n.meridiem === "PM" && (pe += 12), `${te(pe)}:${$}`;
|
|
1498
|
+
}, me = K(null), [se, ae] = W(!1), [_e, ee] = W(o.birthPlace), [ne, oe] = W(
|
|
1499
1499
|
null
|
|
1500
|
-
),
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1500
|
+
), M = Number.isFinite(o.birthPlaceLat) && Number.isFinite(o.birthPlaceLng), be = _e.trim(), fe = N ? void 0 : "in", ke = j ?? p;
|
|
1501
|
+
H(() => {
|
|
1502
|
+
M && o.birthPlace !== _e && ee(o.birthPlace), !o.birthPlace && _e && !M && ee("");
|
|
1503
|
+
}, [_e, M, o.birthPlace]);
|
|
1504
|
+
const {
|
|
1505
|
+
predictions: ye,
|
|
1506
|
+
isSearching: Pe,
|
|
1507
|
+
loadError: Ae,
|
|
1508
|
+
searchPlaces: v,
|
|
1509
|
+
clearPredictions: ce
|
|
1506
1510
|
} = sa({
|
|
1507
|
-
searchLocalities:
|
|
1508
|
-
restrictCountry:
|
|
1511
|
+
searchLocalities: ke,
|
|
1512
|
+
restrictCountry: fe
|
|
1509
1513
|
});
|
|
1510
|
-
|
|
1511
|
-
const
|
|
1512
|
-
|
|
1514
|
+
H(() => {
|
|
1515
|
+
const n = (s) => {
|
|
1516
|
+
me.current && (me.current.contains(s.target) || (ae(!1), M || ee("")));
|
|
1513
1517
|
};
|
|
1514
|
-
return document.addEventListener("mousedown",
|
|
1515
|
-
}, []),
|
|
1516
|
-
const
|
|
1517
|
-
b.current && (b.current.contains(s.target) || (h(!1),
|
|
1518
|
+
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1519
|
+
}, [M]), H(() => {
|
|
1520
|
+
const n = (s) => {
|
|
1521
|
+
b.current && (b.current.contains(s.target) || (h(!1), C("")));
|
|
1518
1522
|
};
|
|
1519
|
-
return document.addEventListener("mousedown",
|
|
1520
|
-
}, []),
|
|
1521
|
-
if (!
|
|
1522
|
-
const
|
|
1523
|
+
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1524
|
+
}, []), H(() => {
|
|
1525
|
+
if (!S) return;
|
|
1526
|
+
const n = window.setTimeout(() => {
|
|
1523
1527
|
_.current?.focus();
|
|
1524
1528
|
}, 0);
|
|
1525
|
-
return () => window.clearTimeout(
|
|
1526
|
-
}, [
|
|
1527
|
-
if (!
|
|
1528
|
-
if (
|
|
1529
|
-
|
|
1529
|
+
return () => window.clearTimeout(n);
|
|
1530
|
+
}, [S]), H(() => {
|
|
1531
|
+
if (!se) return;
|
|
1532
|
+
if (be.length < 2) {
|
|
1533
|
+
ce();
|
|
1530
1534
|
return;
|
|
1531
1535
|
}
|
|
1532
|
-
const
|
|
1533
|
-
await
|
|
1536
|
+
const n = window.setTimeout(async () => {
|
|
1537
|
+
await v(be);
|
|
1534
1538
|
}, 250);
|
|
1535
|
-
return () => window.clearTimeout(
|
|
1536
|
-
}, [
|
|
1537
|
-
const
|
|
1538
|
-
const s =
|
|
1539
|
+
return () => window.clearTimeout(n);
|
|
1540
|
+
}, [ce, se, be, v]);
|
|
1541
|
+
const Se = (n) => {
|
|
1542
|
+
const s = n.current;
|
|
1539
1543
|
if (!(!s || s.disabled)) {
|
|
1540
|
-
if (document.activeElement === s && F.current === s && Date.now() -
|
|
1544
|
+
if (document.activeElement === s && F.current === s && Date.now() - ue.current < 6e4) {
|
|
1541
1545
|
s.blur();
|
|
1542
1546
|
return;
|
|
1543
1547
|
}
|
|
1544
1548
|
if (typeof s.showPicker == "function") {
|
|
1545
|
-
s.showPicker(), F.current = s,
|
|
1549
|
+
s.showPicker(), F.current = s, ue.current = Date.now();
|
|
1546
1550
|
return;
|
|
1547
1551
|
}
|
|
1548
|
-
s.focus(), F.current = s,
|
|
1552
|
+
s.focus(), F.current = s, ue.current = Date.now();
|
|
1549
1553
|
}
|
|
1550
1554
|
};
|
|
1551
|
-
return
|
|
1552
|
-
const
|
|
1553
|
-
|
|
1555
|
+
return H(() => {
|
|
1556
|
+
const n = (s) => {
|
|
1557
|
+
z.current && (z.current.contains(s.target) || B(!1));
|
|
1554
1558
|
};
|
|
1555
|
-
return document.addEventListener("mousedown",
|
|
1556
|
-
}, []),
|
|
1557
|
-
const
|
|
1558
|
-
|
|
1559
|
-
}, s = (
|
|
1560
|
-
|
|
1559
|
+
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1560
|
+
}, []), H(() => {
|
|
1561
|
+
const n = ($) => {
|
|
1562
|
+
$.target?.closest?.("[data-info-tooltip]") == null && oe(null);
|
|
1563
|
+
}, s = ($) => {
|
|
1564
|
+
$.key === "Escape" && oe(null);
|
|
1561
1565
|
};
|
|
1562
|
-
return document.addEventListener("mousedown",
|
|
1563
|
-
document.removeEventListener("mousedown",
|
|
1566
|
+
return document.addEventListener("mousedown", n), document.addEventListener("keydown", s), () => {
|
|
1567
|
+
document.removeEventListener("mousedown", n), document.removeEventListener("keydown", s);
|
|
1564
1568
|
};
|
|
1565
1569
|
}, []), /* @__PURE__ */ r.jsx(
|
|
1566
1570
|
"section",
|
|
1567
1571
|
{
|
|
1568
|
-
className: `${
|
|
1572
|
+
className: `${a.wrap} ${A}`,
|
|
1569
1573
|
"aria-label": t("formTitle"),
|
|
1570
|
-
children: /* @__PURE__ */ r.jsx("div", { className:
|
|
1571
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
1572
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
1574
|
+
children: /* @__PURE__ */ r.jsx("div", { className: a.card, children: /* @__PURE__ */ r.jsxs("div", { className: a.cardInner, children: [
|
|
1575
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1576
|
+
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-full-name", children: [
|
|
1573
1577
|
t("formFullName"),
|
|
1574
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
1578
|
+
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
1575
1579
|
] }) }),
|
|
1576
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
1580
|
+
/* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsx(
|
|
1577
1581
|
"input",
|
|
1578
1582
|
{
|
|
1579
1583
|
id: "kundli-full-name",
|
|
1580
|
-
className:
|
|
1584
|
+
className: a.input,
|
|
1581
1585
|
type: "text",
|
|
1582
1586
|
value: o.fullName,
|
|
1583
1587
|
onFocus: () => c?.trackNameSectionClicked?.(),
|
|
1584
|
-
onChange: (
|
|
1585
|
-
const s =
|
|
1588
|
+
onChange: (n) => {
|
|
1589
|
+
const s = n.target.value;
|
|
1586
1590
|
y({ fullName: s }), O("fullName", s);
|
|
1587
1591
|
},
|
|
1588
1592
|
placeholder: t("formFullNamePlaceholder"),
|
|
@@ -1590,22 +1594,22 @@ const ca = ({
|
|
|
1590
1594
|
}
|
|
1591
1595
|
) })
|
|
1592
1596
|
] }),
|
|
1593
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
1594
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
1597
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1598
|
+
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-phone", children: [
|
|
1595
1599
|
t("formPhone"),
|
|
1596
|
-
!
|
|
1600
|
+
!N && /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
1597
1601
|
] }) }),
|
|
1598
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
1599
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
1600
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
1602
|
+
/* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref: b, children: [
|
|
1603
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.phoneInputGroup, children: [
|
|
1604
|
+
/* @__PURE__ */ r.jsx("div", { className: a.isdSelectWrap, children: /* @__PURE__ */ r.jsx(
|
|
1601
1605
|
"button",
|
|
1602
1606
|
{
|
|
1603
1607
|
type: "button",
|
|
1604
|
-
className:
|
|
1608
|
+
className: a.isdSelectTrigger,
|
|
1605
1609
|
"aria-haspopup": "listbox",
|
|
1606
|
-
"aria-expanded":
|
|
1610
|
+
"aria-expanded": S,
|
|
1607
1611
|
onClick: () => {
|
|
1608
|
-
h((
|
|
1612
|
+
h((n) => !n), C("");
|
|
1609
1613
|
},
|
|
1610
1614
|
children: m
|
|
1611
1615
|
}
|
|
@@ -1614,74 +1618,74 @@ const ca = ({
|
|
|
1614
1618
|
"input",
|
|
1615
1619
|
{
|
|
1616
1620
|
id: "kundli-phone",
|
|
1617
|
-
className: `${
|
|
1621
|
+
className: `${a.input} ${a.phoneInput}`,
|
|
1618
1622
|
type: "tel",
|
|
1619
1623
|
value: o.phone ?? "",
|
|
1620
1624
|
onFocus: () => c?.trackPhoneSectionClicked?.(),
|
|
1621
|
-
onChange: (
|
|
1622
|
-
const s =
|
|
1623
|
-
y({ phone:
|
|
1625
|
+
onChange: (n) => {
|
|
1626
|
+
const s = n.target.value;
|
|
1627
|
+
y({ phone: X(s) }), O("phone", X(s));
|
|
1624
1628
|
},
|
|
1625
1629
|
placeholder: t("formPhonePlaceholder"),
|
|
1626
1630
|
autoComplete: "tel",
|
|
1627
1631
|
inputMode: "numeric",
|
|
1628
1632
|
pattern: "[0-9]{10}",
|
|
1629
1633
|
maxLength: 10,
|
|
1630
|
-
required: !
|
|
1631
|
-
"aria-required": !
|
|
1634
|
+
required: !N,
|
|
1635
|
+
"aria-required": !N
|
|
1632
1636
|
}
|
|
1633
1637
|
)
|
|
1634
1638
|
] }),
|
|
1635
|
-
|
|
1639
|
+
S && /* @__PURE__ */ r.jsxs(
|
|
1636
1640
|
"div",
|
|
1637
1641
|
{
|
|
1638
|
-
className:
|
|
1642
|
+
className: a.isdDropdown,
|
|
1639
1643
|
role: "listbox",
|
|
1640
1644
|
"aria-label": "ISD code options",
|
|
1641
1645
|
children: [
|
|
1642
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
1646
|
+
/* @__PURE__ */ r.jsx("div", { className: a.isdSearchWrap, children: /* @__PURE__ */ r.jsx(
|
|
1643
1647
|
"input",
|
|
1644
1648
|
{
|
|
1645
1649
|
ref: _,
|
|
1646
1650
|
type: "text",
|
|
1647
|
-
value:
|
|
1648
|
-
onChange: (
|
|
1651
|
+
value: E,
|
|
1652
|
+
onChange: (n) => C(n.target.value),
|
|
1649
1653
|
placeholder: "Search country",
|
|
1650
|
-
className:
|
|
1654
|
+
className: a.isdSearchInput,
|
|
1651
1655
|
"aria-label": "Search country"
|
|
1652
1656
|
}
|
|
1653
1657
|
) }),
|
|
1654
|
-
|
|
1658
|
+
ie.length > 0 ? ie.map((n) => /* @__PURE__ */ r.jsxs(
|
|
1655
1659
|
"button",
|
|
1656
1660
|
{
|
|
1657
1661
|
type: "button",
|
|
1658
1662
|
role: "option",
|
|
1659
|
-
"aria-selected":
|
|
1660
|
-
className: `${
|
|
1663
|
+
"aria-selected": n.code === m,
|
|
1664
|
+
className: `${a.isdOption} ${n.code === m ? a.isdOptionActive : ""}`,
|
|
1661
1665
|
onClick: () => {
|
|
1662
|
-
|
|
1666
|
+
x(n.code), h(!1), C("");
|
|
1663
1667
|
},
|
|
1664
1668
|
children: [
|
|
1665
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
1666
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
1669
|
+
/* @__PURE__ */ r.jsx("span", { className: a.isdCountryName, children: n.country }),
|
|
1670
|
+
/* @__PURE__ */ r.jsx("span", { className: a.isdCountryCode, children: n.code })
|
|
1667
1671
|
]
|
|
1668
1672
|
},
|
|
1669
|
-
`${
|
|
1670
|
-
)) : /* @__PURE__ */ r.jsx("div", { className:
|
|
1673
|
+
`${n.code}-${n.country}`
|
|
1674
|
+
)) : /* @__PURE__ */ r.jsx("div", { className: a.isdNoResult, children: "No country found" })
|
|
1671
1675
|
]
|
|
1672
1676
|
}
|
|
1673
1677
|
)
|
|
1674
1678
|
] }) })
|
|
1675
1679
|
] }),
|
|
1676
|
-
|
|
1677
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
1680
|
+
R && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1681
|
+
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
|
|
1678
1682
|
t("formGender"),
|
|
1679
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
1683
|
+
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
1680
1684
|
] }) }),
|
|
1681
1685
|
/* @__PURE__ */ r.jsxs(
|
|
1682
1686
|
"div",
|
|
1683
1687
|
{
|
|
1684
|
-
className:
|
|
1688
|
+
className: a.choiceRow,
|
|
1685
1689
|
role: "radiogroup",
|
|
1686
1690
|
"aria-label": t("formGender"),
|
|
1687
1691
|
children: [
|
|
@@ -1690,7 +1694,7 @@ const ca = ({
|
|
|
1690
1694
|
{
|
|
1691
1695
|
id: "kundli-gender-male",
|
|
1692
1696
|
type: "button",
|
|
1693
|
-
className: `${
|
|
1697
|
+
className: `${a.choiceBtn} ${o.gender === "male" ? a.choiceBtnActive : ""}`,
|
|
1694
1698
|
onClick: () => {
|
|
1695
1699
|
y({ gender: "male" }), c?.trackGenderSelected?.({
|
|
1696
1700
|
gender: "male"
|
|
@@ -1706,7 +1710,7 @@ const ca = ({
|
|
|
1706
1710
|
{
|
|
1707
1711
|
id: "kundli-gender-female",
|
|
1708
1712
|
type: "button",
|
|
1709
|
-
className: `${
|
|
1713
|
+
className: `${a.choiceBtn} ${o.gender === "female" ? a.choiceBtnActive : ""}`,
|
|
1710
1714
|
onClick: () => {
|
|
1711
1715
|
y({ gender: "female" }), c?.trackGenderSelected?.({
|
|
1712
1716
|
gender: "female"
|
|
@@ -1721,20 +1725,20 @@ const ca = ({
|
|
|
1721
1725
|
}
|
|
1722
1726
|
)
|
|
1723
1727
|
] }),
|
|
1724
|
-
|
|
1725
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
1728
|
+
N && /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1729
|
+
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-email", children: [
|
|
1726
1730
|
t("formEmail"),
|
|
1727
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
1731
|
+
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
1728
1732
|
] }) }),
|
|
1729
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
1730
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
1733
|
+
/* @__PURE__ */ r.jsx("div", { className: a.help, children: t("formEmailHelp") }),
|
|
1734
|
+
/* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsx(
|
|
1731
1735
|
"input",
|
|
1732
1736
|
{
|
|
1733
1737
|
id: "kundli-email",
|
|
1734
|
-
className:
|
|
1738
|
+
className: a.input,
|
|
1735
1739
|
type: "email",
|
|
1736
1740
|
value: o.email,
|
|
1737
|
-
onChange: (
|
|
1741
|
+
onChange: (n) => y({ email: n.target.value }),
|
|
1738
1742
|
placeholder: t("formEmailPlaceholder"),
|
|
1739
1743
|
autoComplete: "email",
|
|
1740
1744
|
required: !0,
|
|
@@ -1742,61 +1746,61 @@ const ca = ({
|
|
|
1742
1746
|
}
|
|
1743
1747
|
) })
|
|
1744
1748
|
] }) }),
|
|
1745
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
1746
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
1747
|
-
/* @__PURE__ */ r.jsxs("label", { className:
|
|
1749
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1750
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.labelRow, children: [
|
|
1751
|
+
/* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-dob", children: [
|
|
1748
1752
|
t("formDob"),
|
|
1749
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
1753
|
+
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
1750
1754
|
] }),
|
|
1751
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
1755
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.infoWrap, "data-info-tooltip": !0, children: [
|
|
1752
1756
|
/* @__PURE__ */ r.jsx(
|
|
1753
1757
|
"button",
|
|
1754
1758
|
{
|
|
1755
1759
|
type: "button",
|
|
1756
|
-
className:
|
|
1760
|
+
className: a.infoBtn,
|
|
1757
1761
|
"aria-label": t("info"),
|
|
1758
|
-
"aria-expanded":
|
|
1762
|
+
"aria-expanded": ne === "dob",
|
|
1759
1763
|
onClick: () => {
|
|
1760
|
-
|
|
1764
|
+
oe((n) => n === "dob" ? null : "dob"), c?.trackInfoIconClicked?.({ fieldName: "dob" });
|
|
1761
1765
|
},
|
|
1762
1766
|
children: /* @__PURE__ */ r.jsx(
|
|
1763
1767
|
"img",
|
|
1764
1768
|
{
|
|
1765
|
-
className:
|
|
1766
|
-
src:
|
|
1769
|
+
className: a.infoImg,
|
|
1770
|
+
src: Ne.info,
|
|
1767
1771
|
alt: "",
|
|
1768
1772
|
"aria-hidden": !0
|
|
1769
1773
|
}
|
|
1770
1774
|
)
|
|
1771
1775
|
}
|
|
1772
1776
|
),
|
|
1773
|
-
|
|
1777
|
+
ne === "dob" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
|
|
1774
1778
|
t("formDobInfo"),
|
|
1775
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
1779
|
+
/* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
|
|
1776
1780
|
] })
|
|
1777
1781
|
] })
|
|
1778
1782
|
] }),
|
|
1779
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
1783
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, children: [
|
|
1780
1784
|
/* @__PURE__ */ r.jsx(
|
|
1781
1785
|
"input",
|
|
1782
1786
|
{
|
|
1783
1787
|
id: "kundli-dob",
|
|
1784
|
-
className:
|
|
1788
|
+
className: a.input,
|
|
1785
1789
|
type: "date",
|
|
1786
|
-
ref:
|
|
1790
|
+
ref: Y,
|
|
1787
1791
|
value: o.dateOfBirth,
|
|
1788
1792
|
max: (() => {
|
|
1789
|
-
const
|
|
1790
|
-
return `${
|
|
1793
|
+
const n = /* @__PURE__ */ new Date();
|
|
1794
|
+
return `${n.getFullYear()}-${te(n.getMonth() + 1)}-${te(n.getDate())}`;
|
|
1791
1795
|
})(),
|
|
1792
|
-
onChange: (
|
|
1793
|
-
const s =
|
|
1794
|
-
s && s >
|
|
1796
|
+
onChange: (n) => {
|
|
1797
|
+
const s = n.target.value, $ = /* @__PURE__ */ new Date(), pe = `${$.getFullYear()}-${te($.getMonth() + 1)}-${te($.getDate())}`;
|
|
1798
|
+
s && s > pe || (y({ dateOfBirth: s }), O("dateOfBirth", s), F.current = null);
|
|
1795
1799
|
},
|
|
1796
1800
|
onFocus: () => c?.trackDobClicked?.(),
|
|
1797
|
-
onClick: () =>
|
|
1801
|
+
onClick: () => Se(Y),
|
|
1798
1802
|
onBlur: () => {
|
|
1799
|
-
F.current ===
|
|
1803
|
+
F.current === Y.current && (F.current = null);
|
|
1800
1804
|
}
|
|
1801
1805
|
}
|
|
1802
1806
|
),
|
|
@@ -1804,17 +1808,17 @@ const ca = ({
|
|
|
1804
1808
|
"button",
|
|
1805
1809
|
{
|
|
1806
1810
|
type: "button",
|
|
1807
|
-
className: `${
|
|
1811
|
+
className: `${a.iconBtn} ${a.iconBtnInteractive}`,
|
|
1808
1812
|
"aria-label": "Open date picker",
|
|
1809
|
-
onMouseDown: (
|
|
1810
|
-
onClick: (
|
|
1811
|
-
|
|
1813
|
+
onMouseDown: (n) => n.preventDefault(),
|
|
1814
|
+
onClick: (n) => {
|
|
1815
|
+
n.preventDefault(), n.stopPropagation(), Se(Y);
|
|
1812
1816
|
},
|
|
1813
1817
|
children: /* @__PURE__ */ r.jsx(
|
|
1814
1818
|
"img",
|
|
1815
1819
|
{
|
|
1816
|
-
className:
|
|
1817
|
-
src:
|
|
1820
|
+
className: a.iconImg,
|
|
1821
|
+
src: Ne.date,
|
|
1818
1822
|
alt: "",
|
|
1819
1823
|
"aria-hidden": !0
|
|
1820
1824
|
}
|
|
@@ -1823,58 +1827,58 @@ const ca = ({
|
|
|
1823
1827
|
)
|
|
1824
1828
|
] })
|
|
1825
1829
|
] }),
|
|
1826
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
1827
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
1828
|
-
/* @__PURE__ */ r.jsxs("label", { className:
|
|
1830
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1831
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.labelRow, children: [
|
|
1832
|
+
/* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-birth-time", children: [
|
|
1829
1833
|
t("formBirthTime"),
|
|
1830
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
1834
|
+
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
1831
1835
|
] }),
|
|
1832
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
1836
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.infoWrap, "data-info-tooltip": !0, children: [
|
|
1833
1837
|
/* @__PURE__ */ r.jsx(
|
|
1834
1838
|
"button",
|
|
1835
1839
|
{
|
|
1836
1840
|
type: "button",
|
|
1837
|
-
className:
|
|
1841
|
+
className: a.infoBtn,
|
|
1838
1842
|
"aria-label": t("info"),
|
|
1839
|
-
"aria-expanded":
|
|
1843
|
+
"aria-expanded": ne === "time",
|
|
1840
1844
|
onClick: () => {
|
|
1841
|
-
c?.trackInfoIconClicked?.({ fieldName: "time" }),
|
|
1845
|
+
c?.trackInfoIconClicked?.({ fieldName: "time" }), oe((n) => n === "time" ? null : "time");
|
|
1842
1846
|
},
|
|
1843
1847
|
children: /* @__PURE__ */ r.jsx(
|
|
1844
1848
|
"img",
|
|
1845
1849
|
{
|
|
1846
|
-
className:
|
|
1847
|
-
src:
|
|
1850
|
+
className: a.infoImg,
|
|
1851
|
+
src: Ne.info,
|
|
1848
1852
|
alt: "",
|
|
1849
1853
|
"aria-hidden": !0
|
|
1850
1854
|
}
|
|
1851
1855
|
)
|
|
1852
1856
|
}
|
|
1853
1857
|
),
|
|
1854
|
-
|
|
1858
|
+
ne === "time" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
|
|
1855
1859
|
t("formBirthTimeInfo"),
|
|
1856
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
1860
|
+
/* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
|
|
1857
1861
|
] })
|
|
1858
1862
|
] })
|
|
1859
1863
|
] }),
|
|
1860
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
1864
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: z, children: [
|
|
1861
1865
|
/* @__PURE__ */ r.jsx(
|
|
1862
1866
|
"input",
|
|
1863
1867
|
{
|
|
1864
1868
|
id: "kundli-birth-time",
|
|
1865
|
-
className:
|
|
1869
|
+
className: a.input,
|
|
1866
1870
|
type: "text",
|
|
1867
|
-
value: o.birthTime ?
|
|
1871
|
+
value: o.birthTime ? ge(o.birthTime) : "",
|
|
1868
1872
|
readOnly: !0,
|
|
1869
1873
|
onFocus: () => c?.trackTimeClicked?.(),
|
|
1870
|
-
onChange: (
|
|
1871
|
-
const s =
|
|
1874
|
+
onChange: (n) => {
|
|
1875
|
+
const s = n.target.value;
|
|
1872
1876
|
y({ birthTime: s }), O("birthTime", s);
|
|
1873
1877
|
},
|
|
1874
1878
|
disabled: o.birthTimeUnknown,
|
|
1875
1879
|
placeholder: "HH:MM AM",
|
|
1876
1880
|
onClick: () => {
|
|
1877
|
-
o.birthTimeUnknown || (
|
|
1881
|
+
o.birthTimeUnknown || (J(V(o.birthTime || "12:00")), B((n) => !n));
|
|
1878
1882
|
}
|
|
1879
1883
|
}
|
|
1880
1884
|
),
|
|
@@ -1882,65 +1886,65 @@ const ca = ({
|
|
|
1882
1886
|
"button",
|
|
1883
1887
|
{
|
|
1884
1888
|
type: "button",
|
|
1885
|
-
className: `${
|
|
1889
|
+
className: `${a.iconBtn} ${a.iconBtnInteractive}`,
|
|
1886
1890
|
"aria-label": "Open time picker",
|
|
1887
1891
|
disabled: o.birthTimeUnknown,
|
|
1888
|
-
onMouseDown: (
|
|
1889
|
-
onClick: (
|
|
1890
|
-
|
|
1892
|
+
onMouseDown: (n) => n.preventDefault(),
|
|
1893
|
+
onClick: (n) => {
|
|
1894
|
+
n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (J(V(o.birthTime || "12:00")), B((s) => !s));
|
|
1891
1895
|
},
|
|
1892
1896
|
children: /* @__PURE__ */ r.jsx(
|
|
1893
1897
|
"img",
|
|
1894
1898
|
{
|
|
1895
|
-
className:
|
|
1896
|
-
src:
|
|
1899
|
+
className: a.iconImg,
|
|
1900
|
+
src: Ne.time,
|
|
1897
1901
|
alt: "",
|
|
1898
1902
|
"aria-hidden": !0
|
|
1899
1903
|
}
|
|
1900
1904
|
)
|
|
1901
1905
|
}
|
|
1902
1906
|
),
|
|
1903
|
-
|
|
1907
|
+
L && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
|
|
1904
1908
|
"div",
|
|
1905
1909
|
{
|
|
1906
|
-
className:
|
|
1910
|
+
className: a.timePopover,
|
|
1907
1911
|
role: "dialog",
|
|
1908
1912
|
"aria-label": "Select time",
|
|
1909
1913
|
children: [
|
|
1910
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
1914
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.timePickerRow, children: [
|
|
1911
1915
|
/* @__PURE__ */ r.jsx(
|
|
1912
1916
|
"select",
|
|
1913
1917
|
{
|
|
1914
|
-
className:
|
|
1915
|
-
value:
|
|
1916
|
-
onChange: (
|
|
1918
|
+
className: a.timePickerSelect,
|
|
1919
|
+
value: q.hour12,
|
|
1920
|
+
onChange: (n) => J((s) => ({
|
|
1917
1921
|
...s,
|
|
1918
|
-
hour12: Number(
|
|
1922
|
+
hour12: Number(n.target.value)
|
|
1919
1923
|
})),
|
|
1920
1924
|
"aria-label": "Hour",
|
|
1921
|
-
children: Array.from({ length: 12 }, (
|
|
1925
|
+
children: Array.from({ length: 12 }, (n, s) => s + 1).map((n) => /* @__PURE__ */ r.jsx("option", { value: n, children: n }, n))
|
|
1922
1926
|
}
|
|
1923
1927
|
),
|
|
1924
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
1928
|
+
/* @__PURE__ */ r.jsx("span", { className: a.timePickerColon, children: ":" }),
|
|
1925
1929
|
/* @__PURE__ */ r.jsx(
|
|
1926
1930
|
"select",
|
|
1927
1931
|
{
|
|
1928
|
-
className:
|
|
1929
|
-
value:
|
|
1930
|
-
onChange: (
|
|
1932
|
+
className: a.timePickerSelect,
|
|
1933
|
+
value: q.minute,
|
|
1934
|
+
onChange: (n) => J((s) => ({ ...s, minute: n.target.value })),
|
|
1931
1935
|
"aria-label": "Minute",
|
|
1932
|
-
children: Array.from({ length: 60 }, (
|
|
1933
|
-
(
|
|
1936
|
+
children: Array.from({ length: 60 }, (n, s) => te(s)).map(
|
|
1937
|
+
(n) => /* @__PURE__ */ r.jsx("option", { value: n, children: n }, n)
|
|
1934
1938
|
)
|
|
1935
1939
|
}
|
|
1936
1940
|
),
|
|
1937
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
1941
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.meridiemToggle, "aria-label": "AM/PM", children: [
|
|
1938
1942
|
/* @__PURE__ */ r.jsx(
|
|
1939
1943
|
"button",
|
|
1940
1944
|
{
|
|
1941
1945
|
type: "button",
|
|
1942
|
-
className: `${
|
|
1943
|
-
onClick: () =>
|
|
1946
|
+
className: `${a.meridiemBtn} ${q.meridiem === "AM" ? a.meridiemActive : ""}`,
|
|
1947
|
+
onClick: () => J((n) => ({ ...n, meridiem: "AM" })),
|
|
1944
1948
|
children: "AM"
|
|
1945
1949
|
}
|
|
1946
1950
|
),
|
|
@@ -1948,20 +1952,20 @@ const ca = ({
|
|
|
1948
1952
|
"button",
|
|
1949
1953
|
{
|
|
1950
1954
|
type: "button",
|
|
1951
|
-
className: `${
|
|
1952
|
-
onClick: () =>
|
|
1955
|
+
className: `${a.meridiemBtn} ${q.meridiem === "PM" ? a.meridiemActive : ""}`,
|
|
1956
|
+
onClick: () => J((n) => ({ ...n, meridiem: "PM" })),
|
|
1953
1957
|
children: "PM"
|
|
1954
1958
|
}
|
|
1955
1959
|
)
|
|
1956
1960
|
] })
|
|
1957
1961
|
] }),
|
|
1958
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
1962
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.timePopoverActions, children: [
|
|
1959
1963
|
/* @__PURE__ */ r.jsx(
|
|
1960
1964
|
"button",
|
|
1961
1965
|
{
|
|
1962
1966
|
type: "button",
|
|
1963
|
-
className:
|
|
1964
|
-
onClick: () =>
|
|
1967
|
+
className: a.timePopoverBtn,
|
|
1968
|
+
onClick: () => B(!1),
|
|
1965
1969
|
children: "Cancel"
|
|
1966
1970
|
}
|
|
1967
1971
|
),
|
|
@@ -1969,10 +1973,10 @@ const ca = ({
|
|
|
1969
1973
|
"button",
|
|
1970
1974
|
{
|
|
1971
1975
|
type: "button",
|
|
1972
|
-
className: `${
|
|
1976
|
+
className: `${a.timePopoverBtn} ${a.timePopoverOk}`,
|
|
1973
1977
|
onClick: () => {
|
|
1974
|
-
const
|
|
1975
|
-
y({ birthTime:
|
|
1978
|
+
const n = le(q);
|
|
1979
|
+
y({ birthTime: n }), O("birthTime", n), B(!1);
|
|
1976
1980
|
},
|
|
1977
1981
|
"aria-label": "OK",
|
|
1978
1982
|
children: /* @__PURE__ */ r.jsx(
|
|
@@ -2003,18 +2007,18 @@ const ca = ({
|
|
|
2003
2007
|
}
|
|
2004
2008
|
)
|
|
2005
2009
|
] }),
|
|
2006
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
2010
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.checkboxRow, children: [
|
|
2007
2011
|
/* @__PURE__ */ r.jsx(
|
|
2008
2012
|
"input",
|
|
2009
2013
|
{
|
|
2010
2014
|
id: "kundli-time-unknown",
|
|
2011
|
-
className:
|
|
2015
|
+
className: a.checkbox,
|
|
2012
2016
|
type: "checkbox",
|
|
2013
2017
|
checked: o.birthTimeUnknown,
|
|
2014
|
-
onChange: (
|
|
2018
|
+
onChange: (n) => {
|
|
2015
2019
|
c?.trackTimeCheckboxClicked?.(), y({
|
|
2016
|
-
birthTimeUnknown:
|
|
2017
|
-
birthTime:
|
|
2020
|
+
birthTimeUnknown: n.target.checked,
|
|
2021
|
+
birthTime: n.target.checked ? "" : o.birthTime
|
|
2018
2022
|
});
|
|
2019
2023
|
}
|
|
2020
2024
|
}
|
|
@@ -2022,7 +2026,7 @@ const ca = ({
|
|
|
2022
2026
|
/* @__PURE__ */ r.jsxs(
|
|
2023
2027
|
"label",
|
|
2024
2028
|
{
|
|
2025
|
-
className:
|
|
2029
|
+
className: a.checkboxText,
|
|
2026
2030
|
htmlFor: "kundli-time-unknown",
|
|
2027
2031
|
children: [
|
|
2028
2032
|
t("formBirthTimeUnknownLine1"),
|
|
@@ -2033,106 +2037,110 @@ const ca = ({
|
|
|
2033
2037
|
)
|
|
2034
2038
|
] })
|
|
2035
2039
|
] }),
|
|
2036
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
2037
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
2038
|
-
/* @__PURE__ */ r.jsxs("label", { className:
|
|
2040
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
2041
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.labelRow, children: [
|
|
2042
|
+
/* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-birth-place", children: [
|
|
2039
2043
|
t("formBirthPlace"),
|
|
2040
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2044
|
+
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
2041
2045
|
] }),
|
|
2042
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
2046
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.infoWrap, "data-info-tooltip": !0, children: [
|
|
2043
2047
|
/* @__PURE__ */ r.jsx(
|
|
2044
2048
|
"button",
|
|
2045
2049
|
{
|
|
2046
2050
|
type: "button",
|
|
2047
|
-
className:
|
|
2051
|
+
className: a.infoBtn,
|
|
2048
2052
|
"aria-label": t("info"),
|
|
2049
|
-
"aria-expanded":
|
|
2053
|
+
"aria-expanded": ne === "place",
|
|
2050
2054
|
onClick: () => {
|
|
2051
2055
|
c?.trackInfoIconClicked?.({
|
|
2052
2056
|
fieldName: "birthPlace"
|
|
2053
|
-
}),
|
|
2057
|
+
}), oe((n) => n === "place" ? null : "place");
|
|
2054
2058
|
},
|
|
2055
2059
|
children: /* @__PURE__ */ r.jsx(
|
|
2056
2060
|
"img",
|
|
2057
2061
|
{
|
|
2058
|
-
className:
|
|
2059
|
-
src:
|
|
2062
|
+
className: a.infoImg,
|
|
2063
|
+
src: Ne.info,
|
|
2060
2064
|
alt: "",
|
|
2061
2065
|
"aria-hidden": !0
|
|
2062
2066
|
}
|
|
2063
2067
|
)
|
|
2064
2068
|
}
|
|
2065
2069
|
),
|
|
2066
|
-
|
|
2070
|
+
ne === "place" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
|
|
2067
2071
|
t("formBirthPlaceInfo"),
|
|
2068
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2072
|
+
/* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
|
|
2069
2073
|
] })
|
|
2070
2074
|
] })
|
|
2071
2075
|
] }),
|
|
2072
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
2076
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: me, children: [
|
|
2073
2077
|
/* @__PURE__ */ r.jsx(
|
|
2074
2078
|
"input",
|
|
2075
2079
|
{
|
|
2076
2080
|
id: "kundli-birth-place",
|
|
2077
|
-
className:
|
|
2081
|
+
className: a.input,
|
|
2078
2082
|
type: "text",
|
|
2079
|
-
value:
|
|
2080
|
-
onChange: (
|
|
2081
|
-
const s =
|
|
2082
|
-
y({
|
|
2083
|
-
birthPlace:
|
|
2083
|
+
value: _e,
|
|
2084
|
+
onChange: (n) => {
|
|
2085
|
+
const s = n.target.value;
|
|
2086
|
+
ee(s), y({
|
|
2087
|
+
birthPlace: "",
|
|
2084
2088
|
birthPlaceLat: void 0,
|
|
2085
2089
|
birthPlaceLng: void 0
|
|
2086
|
-
}),
|
|
2090
|
+
}), ae(!0);
|
|
2087
2091
|
},
|
|
2088
2092
|
onFocus: () => {
|
|
2089
|
-
c?.trackPlaceOfBirthClicked?.(),
|
|
2093
|
+
c?.trackPlaceOfBirthClicked?.(), ae(!0);
|
|
2094
|
+
},
|
|
2095
|
+
onBlur: () => {
|
|
2096
|
+
M || (ee(""), ce(), ae(!1));
|
|
2090
2097
|
},
|
|
2091
2098
|
placeholder: t("formBirthPlacePlaceholder"),
|
|
2092
2099
|
autoComplete: "address-level2"
|
|
2093
2100
|
}
|
|
2094
2101
|
),
|
|
2095
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2102
|
+
/* @__PURE__ */ r.jsx("span", { className: a.iconBtn, "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
|
|
2096
2103
|
"img",
|
|
2097
2104
|
{
|
|
2098
|
-
className:
|
|
2099
|
-
src:
|
|
2105
|
+
className: a.iconImg,
|
|
2106
|
+
src: Ne.location,
|
|
2100
2107
|
alt: "",
|
|
2101
2108
|
"aria-hidden": !0
|
|
2102
2109
|
}
|
|
2103
2110
|
) }),
|
|
2104
|
-
|
|
2111
|
+
se && ye.length > 0 && /* @__PURE__ */ r.jsx("div", { className: a.suggestions, role: "listbox", children: ye.slice(0, 8).map((n) => /* @__PURE__ */ r.jsxs(
|
|
2105
2112
|
"button",
|
|
2106
2113
|
{
|
|
2107
2114
|
type: "button",
|
|
2108
|
-
className:
|
|
2115
|
+
className: a.suggestionItem,
|
|
2116
|
+
onMouseDown: (s) => s.preventDefault(),
|
|
2109
2117
|
onClick: () => {
|
|
2110
2118
|
y({
|
|
2111
|
-
birthPlace:
|
|
2112
|
-
birthPlaceLat:
|
|
2113
|
-
birthPlaceLng:
|
|
2114
|
-
}),
|
|
2119
|
+
birthPlace: n.description,
|
|
2120
|
+
birthPlaceLat: n.lat,
|
|
2121
|
+
birthPlaceLng: n.lng
|
|
2122
|
+
}), ee(n.description), O("birthPlace", n.description), ce(), ae(!1);
|
|
2115
2123
|
},
|
|
2116
2124
|
children: [
|
|
2117
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2118
|
-
!!
|
|
2125
|
+
/* @__PURE__ */ r.jsx("span", { className: a.suggestionMain, children: n.description }),
|
|
2126
|
+
!!n.secondary_text && /* @__PURE__ */ r.jsx("span", { className: a.suggestionSecondary, children: n.secondary_text })
|
|
2119
2127
|
]
|
|
2120
2128
|
},
|
|
2121
|
-
|
|
2129
|
+
n.id
|
|
2122
2130
|
)) }),
|
|
2123
|
-
|
|
2124
|
-
|
|
2131
|
+
se && !!ke && Pe && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: "Loading…" }),
|
|
2132
|
+
se && !!ke && !Pe && !!Ae && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: Ae })
|
|
2125
2133
|
] })
|
|
2126
2134
|
] }),
|
|
2127
|
-
|
|
2128
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2135
|
+
R && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
2136
|
+
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
|
|
2129
2137
|
t("formReportLanguage"),
|
|
2130
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2138
|
+
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
2131
2139
|
] }) }),
|
|
2132
2140
|
/* @__PURE__ */ r.jsxs(
|
|
2133
2141
|
"div",
|
|
2134
2142
|
{
|
|
2135
|
-
className:
|
|
2143
|
+
className: a.choiceRow,
|
|
2136
2144
|
role: "radiogroup",
|
|
2137
2145
|
"aria-label": t("formReportLanguage"),
|
|
2138
2146
|
children: [
|
|
@@ -2141,7 +2149,7 @@ const ca = ({
|
|
|
2141
2149
|
{
|
|
2142
2150
|
id: "kundli-report-lang-hi",
|
|
2143
2151
|
type: "button",
|
|
2144
|
-
className: `${
|
|
2152
|
+
className: `${a.choiceBtn} ${o.language_code === "hi" ? a.choiceBtnActive : ""}`,
|
|
2145
2153
|
onClick: () => {
|
|
2146
2154
|
y({ language_code: "hi" }), c?.trackLanguageOfReportSelected?.({
|
|
2147
2155
|
language: "hi"
|
|
@@ -2157,7 +2165,7 @@ const ca = ({
|
|
|
2157
2165
|
{
|
|
2158
2166
|
id: "kundli-report-lang-en",
|
|
2159
2167
|
type: "button",
|
|
2160
|
-
className: `${
|
|
2168
|
+
className: `${a.choiceBtn} ${o.language_code === "en" ? a.choiceBtnActive : ""}`,
|
|
2161
2169
|
onClick: () => {
|
|
2162
2170
|
y({ language_code: "en" }), c?.trackLanguageOfReportSelected?.({
|
|
2163
2171
|
language: "en"
|
|
@@ -2173,7 +2181,7 @@ const ca = ({
|
|
|
2173
2181
|
{
|
|
2174
2182
|
id: "kundli-report-lang-te",
|
|
2175
2183
|
type: "button",
|
|
2176
|
-
className: `${
|
|
2184
|
+
className: `${a.choiceBtn} ${o.language_code === "te" ? a.choiceBtnActive : ""}`,
|
|
2177
2185
|
onClick: () => {
|
|
2178
2186
|
y({ language_code: "te" }), c?.trackLanguageOfReportSelected?.({
|
|
2179
2187
|
language: "te"
|
|
@@ -2189,7 +2197,7 @@ const ca = ({
|
|
|
2189
2197
|
{
|
|
2190
2198
|
id: "kundli-report-lang-ta",
|
|
2191
2199
|
type: "button",
|
|
2192
|
-
className: `${
|
|
2200
|
+
className: `${a.choiceBtn} ${o.language_code === "ta" ? a.choiceBtnActive : ""}`,
|
|
2193
2201
|
onClick: () => {
|
|
2194
2202
|
y({ language_code: "ta" }), c?.trackLanguageOfReportSelected?.({
|
|
2195
2203
|
language: "ta"
|
|
@@ -2205,7 +2213,7 @@ const ca = ({
|
|
|
2205
2213
|
{
|
|
2206
2214
|
id: "kundli-report-lang-kn",
|
|
2207
2215
|
type: "button",
|
|
2208
|
-
className: `${
|
|
2216
|
+
className: `${a.choiceBtn} ${o.language_code === "kn" ? a.choiceBtnActive : ""}`,
|
|
2209
2217
|
onClick: () => {
|
|
2210
2218
|
y({ language_code: "kn" }), c?.trackLanguageOfReportSelected?.({
|
|
2211
2219
|
language: "kn"
|
|
@@ -2221,7 +2229,7 @@ const ca = ({
|
|
|
2221
2229
|
{
|
|
2222
2230
|
id: "kundli-report-lang-gu",
|
|
2223
2231
|
type: "button",
|
|
2224
|
-
className: `${
|
|
2232
|
+
className: `${a.choiceBtn} ${o.language_code === "gu" ? a.choiceBtnActive : ""}`,
|
|
2225
2233
|
onClick: () => {
|
|
2226
2234
|
y({ language_code: "gu" }), c?.trackLanguageOfReportSelected?.({
|
|
2227
2235
|
language: "gu"
|
|
@@ -2237,7 +2245,7 @@ const ca = ({
|
|
|
2237
2245
|
{
|
|
2238
2246
|
id: "kundli-report-lang-mr",
|
|
2239
2247
|
type: "button",
|
|
2240
|
-
className: `${
|
|
2248
|
+
className: `${a.choiceBtn} ${o.language_code === "mr" ? a.choiceBtnActive : ""}`,
|
|
2241
2249
|
onClick: () => {
|
|
2242
2250
|
y({ language_code: "mr" }), c?.trackLanguageOfReportSelected?.({
|
|
2243
2251
|
language: "mr"
|
|
@@ -2255,21 +2263,21 @@ const ca = ({
|
|
|
2255
2263
|
] }) })
|
|
2256
2264
|
}
|
|
2257
2265
|
);
|
|
2258
|
-
}, da = "_ctaButton_rhimw_2", ua = "_ctaFilled_rhimw_21", ma = "_ctaFilledContent_rhimw_52", fa = "_chevronRight_rhimw_61",
|
|
2266
|
+
}, da = "_ctaButton_rhimw_2", ua = "_ctaFilled_rhimw_21", ma = "_ctaFilledContent_rhimw_52", fa = "_chevronRight_rhimw_61", Be = {
|
|
2259
2267
|
ctaButton: da,
|
|
2260
2268
|
ctaFilled: ua,
|
|
2261
2269
|
ctaFilledContent: ma,
|
|
2262
2270
|
chevronRight: fa
|
|
2263
|
-
},
|
|
2264
|
-
const d =
|
|
2265
|
-
return /* @__PURE__ */ r.jsxs("div", { className:
|
|
2266
|
-
/* @__PURE__ */ r.jsxs("span", { className:
|
|
2271
|
+
}, gr = "kundli-report-astrologer", pa = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", ha = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", ga = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", _a = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", ba = ({ t }) => {
|
|
2272
|
+
const d = Re()?.config.imageComponent ?? De;
|
|
2273
|
+
return /* @__PURE__ */ r.jsxs("div", { className: we.marqueeContent, children: [
|
|
2274
|
+
/* @__PURE__ */ r.jsxs("span", { className: we.badge, children: [
|
|
2267
2275
|
/* @__PURE__ */ r.jsx(
|
|
2268
2276
|
d,
|
|
2269
2277
|
{
|
|
2270
2278
|
src: pa,
|
|
2271
2279
|
alt: "",
|
|
2272
|
-
className:
|
|
2280
|
+
className: we.badgeIcon,
|
|
2273
2281
|
width: 16,
|
|
2274
2282
|
height: 16,
|
|
2275
2283
|
loading: "lazy"
|
|
@@ -2277,13 +2285,13 @@ const ca = ({
|
|
|
2277
2285
|
),
|
|
2278
2286
|
t("ctaKundliCreated")
|
|
2279
2287
|
] }),
|
|
2280
|
-
/* @__PURE__ */ r.jsxs("span", { className:
|
|
2288
|
+
/* @__PURE__ */ r.jsxs("span", { className: we.badge, children: [
|
|
2281
2289
|
/* @__PURE__ */ r.jsx(
|
|
2282
2290
|
d,
|
|
2283
2291
|
{
|
|
2284
2292
|
src: ha,
|
|
2285
2293
|
alt: "",
|
|
2286
|
-
className:
|
|
2294
|
+
className: we.badgeIcon,
|
|
2287
2295
|
width: 16,
|
|
2288
2296
|
height: 16,
|
|
2289
2297
|
loading: "lazy"
|
|
@@ -2291,13 +2299,13 @@ const ca = ({
|
|
|
2291
2299
|
),
|
|
2292
2300
|
t("ctaCertified")
|
|
2293
2301
|
] }),
|
|
2294
|
-
/* @__PURE__ */ r.jsxs("span", { className:
|
|
2302
|
+
/* @__PURE__ */ r.jsxs("span", { className: we.badge, children: [
|
|
2295
2303
|
/* @__PURE__ */ r.jsx(
|
|
2296
2304
|
d,
|
|
2297
2305
|
{
|
|
2298
2306
|
src: ga,
|
|
2299
2307
|
alt: "",
|
|
2300
|
-
className:
|
|
2308
|
+
className: we.badgeIcon,
|
|
2301
2309
|
width: 16,
|
|
2302
2310
|
height: 16,
|
|
2303
2311
|
loading: "lazy"
|
|
@@ -2323,52 +2331,52 @@ const ca = ({
|
|
|
2323
2331
|
values: o,
|
|
2324
2332
|
phoneIsdCode: d,
|
|
2325
2333
|
hideOriginalPrice: m = !1,
|
|
2326
|
-
requireV1ExtraFields:
|
|
2327
|
-
onValidationFailed:
|
|
2328
|
-
onProceed:
|
|
2329
|
-
onProceedGuidance:
|
|
2330
|
-
href:
|
|
2331
|
-
analytics:
|
|
2334
|
+
requireV1ExtraFields: x = !1,
|
|
2335
|
+
onValidationFailed: R,
|
|
2336
|
+
onProceed: w,
|
|
2337
|
+
onProceedGuidance: j,
|
|
2338
|
+
href: A,
|
|
2339
|
+
analytics: I,
|
|
2332
2340
|
className: c = "",
|
|
2333
|
-
discountedPriceLabel:
|
|
2341
|
+
discountedPriceLabel: N,
|
|
2334
2342
|
showPlanSheet: p,
|
|
2335
|
-
confirmPlan:
|
|
2343
|
+
confirmPlan: S,
|
|
2336
2344
|
planSheetOpen: h,
|
|
2337
|
-
selectedPlan:
|
|
2345
|
+
selectedPlan: E
|
|
2338
2346
|
}) => {
|
|
2339
|
-
const
|
|
2340
|
-
() => va(o, b,
|
|
2341
|
-
[o, b,
|
|
2342
|
-
), y =
|
|
2347
|
+
const C = Re(), b = C?.config.isGlobal ?? !0, _ = C?.config?.variant, G = Ge(
|
|
2348
|
+
() => va(o, b, x),
|
|
2349
|
+
[o, b, x]
|
|
2350
|
+
), y = G === null, O = _ === "v1" && C?.config?.showSheet, X = b ? N ?? t("formDiscountedPrice") : O ? "" : "₹499", Z = C?.config.imageComponent ?? De, ie = (F) => {
|
|
2343
2351
|
if (F.preventDefault(), !y) {
|
|
2344
|
-
|
|
2352
|
+
G && R?.(G);
|
|
2345
2353
|
return;
|
|
2346
2354
|
}
|
|
2347
|
-
const
|
|
2355
|
+
const ue = !!j && _ === "v1" && E?.id === gr, z = (o.phone ?? "").trim(), L = {
|
|
2348
2356
|
...o,
|
|
2349
|
-
phone:
|
|
2357
|
+
phone: z && `${d}-${z}`
|
|
2350
2358
|
};
|
|
2351
2359
|
if (O) {
|
|
2352
|
-
h ?
|
|
2360
|
+
h ? S?.() : p?.(L);
|
|
2353
2361
|
return;
|
|
2354
2362
|
}
|
|
2355
|
-
|
|
2356
|
-
},
|
|
2363
|
+
I?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), ue ? j(L) : w?.(L);
|
|
2364
|
+
}, Y = /* @__PURE__ */ r.jsx(
|
|
2357
2365
|
Or,
|
|
2358
2366
|
{
|
|
2359
|
-
href:
|
|
2367
|
+
href: A,
|
|
2360
2368
|
disabled: _ === "v1" ? !1 : !y,
|
|
2361
|
-
onClick:
|
|
2369
|
+
onClick: ie,
|
|
2362
2370
|
"aria-label": t("formPriceAria"),
|
|
2363
|
-
className: _ === "v1" && y ?
|
|
2364
|
-
children: _ === "v1" ? y ? /* @__PURE__ */ r.jsxs("span", { className:
|
|
2365
|
-
O ? t("selectPackage") : h &&
|
|
2371
|
+
className: _ === "v1" && y ? Be.ctaFilled : _ === "v1" ? Be.ctaButton : void 0,
|
|
2372
|
+
children: _ === "v1" ? y ? /* @__PURE__ */ r.jsxs("span", { className: Be.ctaFilledContent, children: [
|
|
2373
|
+
O ? t("selectPackage") : h && E ? `${t("proceedWithPlan")}${E.price}` : `${t("formProceed")} ${X}`,
|
|
2366
2374
|
/* @__PURE__ */ r.jsx(
|
|
2367
|
-
|
|
2375
|
+
Z,
|
|
2368
2376
|
{
|
|
2369
2377
|
src: _a,
|
|
2370
2378
|
alt: "",
|
|
2371
|
-
className:
|
|
2379
|
+
className: Be.chevronRight,
|
|
2372
2380
|
width: 20,
|
|
2373
2381
|
height: 20,
|
|
2374
2382
|
loading: "lazy"
|
|
@@ -2377,16 +2385,16 @@ const ca = ({
|
|
|
2377
2385
|
] }) : t("formCtaDefault") : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
2378
2386
|
t("formProceed"),
|
|
2379
2387
|
" ",
|
|
2380
|
-
|
|
2388
|
+
X
|
|
2381
2389
|
] })
|
|
2382
2390
|
}
|
|
2383
2391
|
);
|
|
2384
2392
|
return /* @__PURE__ */ r.jsx(
|
|
2385
2393
|
Fr,
|
|
2386
2394
|
{
|
|
2387
|
-
className: `${
|
|
2395
|
+
className: `${Be.footerContainer} ${c}`,
|
|
2388
2396
|
marquee: /* @__PURE__ */ r.jsx(Mr, { children: /* @__PURE__ */ r.jsx(ba, { t }) }),
|
|
2389
|
-
children:
|
|
2397
|
+
children: Y
|
|
2390
2398
|
}
|
|
2391
2399
|
);
|
|
2392
2400
|
}, wa = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Pa = ({
|
|
@@ -2395,15 +2403,15 @@ const ca = ({
|
|
|
2395
2403
|
logoUrl: d = wa,
|
|
2396
2404
|
className: m = ""
|
|
2397
2405
|
}) => {
|
|
2398
|
-
const
|
|
2406
|
+
const x = Re(), R = x?.config.isGlobal ?? !0, w = o != null && !R;
|
|
2399
2407
|
return /* @__PURE__ */ r.jsx(
|
|
2400
2408
|
$r,
|
|
2401
2409
|
{
|
|
2402
2410
|
t,
|
|
2403
2411
|
logoUrl: d,
|
|
2404
|
-
imageComponent:
|
|
2412
|
+
imageComponent: x?.config.imageComponent,
|
|
2405
2413
|
languageSelector: o,
|
|
2406
|
-
showLanguageSelector:
|
|
2414
|
+
showLanguageSelector: w,
|
|
2407
2415
|
className: m
|
|
2408
2416
|
}
|
|
2409
2417
|
);
|
|
@@ -2508,8 +2516,8 @@ const ca = ({
|
|
|
2508
2516
|
/* @__PURE__ */ r.jsx(Na, {}),
|
|
2509
2517
|
/* @__PURE__ */ r.jsx("span", { children: t })
|
|
2510
2518
|
] }), vn = ({ plan: t, isSelected: o, onSelect: d, t: m }) => {
|
|
2511
|
-
const
|
|
2512
|
-
(
|
|
2519
|
+
const x = () => d(t.id), R = (w) => {
|
|
2520
|
+
(w.key === " " || w.key === "Enter") && (w.preventDefault(), d(t.id));
|
|
2513
2521
|
};
|
|
2514
2522
|
return /* @__PURE__ */ r.jsxs(
|
|
2515
2523
|
"div",
|
|
@@ -2519,11 +2527,11 @@ const ca = ({
|
|
|
2519
2527
|
o ? f.planCardSelected : "",
|
|
2520
2528
|
o && f.planCardPopular
|
|
2521
2529
|
].filter(Boolean).join(" "),
|
|
2522
|
-
onClick:
|
|
2530
|
+
onClick: x,
|
|
2523
2531
|
role: "radio",
|
|
2524
2532
|
"aria-checked": o,
|
|
2525
2533
|
tabIndex: 0,
|
|
2526
|
-
onKeyDown:
|
|
2534
|
+
onKeyDown: R,
|
|
2527
2535
|
"data-plan-id": t.id,
|
|
2528
2536
|
children: [
|
|
2529
2537
|
t.badge && /* @__PURE__ */ r.jsx(kn, { label: m?.(t.badge) ?? t.badge }),
|
|
@@ -2548,7 +2556,7 @@ const ca = ({
|
|
|
2548
2556
|
t.astrologers && /* @__PURE__ */ r.jsx("div", { className: f.planDivider }),
|
|
2549
2557
|
t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
2550
2558
|
/* @__PURE__ */ r.jsx("p", { className: f.astrologerHeading, children: m?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
|
|
2551
|
-
/* @__PURE__ */ r.jsx("div", { className: f.astrologerList, role: "list", children: t.astrologers.map((
|
|
2559
|
+
/* @__PURE__ */ r.jsx("div", { className: f.astrologerList, role: "list", children: t.astrologers.map((w, j) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(yn, { astrologer: w, t: m }) }, j)) })
|
|
2552
2560
|
] })
|
|
2553
2561
|
] })
|
|
2554
2562
|
]
|
|
@@ -2617,30 +2625,30 @@ const ca = ({
|
|
|
2617
2625
|
onClose: o,
|
|
2618
2626
|
selectedPlan: d,
|
|
2619
2627
|
onSelectPlan: m,
|
|
2620
|
-
plans:
|
|
2621
|
-
onProceed:
|
|
2622
|
-
t:
|
|
2623
|
-
analytics:
|
|
2628
|
+
plans: x,
|
|
2629
|
+
onProceed: R,
|
|
2630
|
+
t: w,
|
|
2631
|
+
analytics: j
|
|
2624
2632
|
}) => {
|
|
2625
|
-
const
|
|
2626
|
-
|
|
2633
|
+
const I = Re()?.config.isGlobal ?? !0, c = x ?? wn(I), N = d?.id || c.find((C) => C.badge)?.id || c[0]?.id || "", p = K(null), S = K(null), h = K(!1);
|
|
2634
|
+
H(() => {
|
|
2627
2635
|
if (t) {
|
|
2628
2636
|
if (!d) {
|
|
2629
|
-
const
|
|
2630
|
-
|
|
2637
|
+
const C = c.find((b) => b.badge) ?? c[0];
|
|
2638
|
+
C && m(C);
|
|
2631
2639
|
}
|
|
2632
|
-
h.current || (
|
|
2640
|
+
h.current || (j?.trackPlanPageViewed?.(), h.current = !0);
|
|
2633
2641
|
} else
|
|
2634
2642
|
h.current = !1;
|
|
2635
|
-
}, [t, c, d, m,
|
|
2636
|
-
const
|
|
2637
|
-
|
|
2643
|
+
}, [t, c, d, m, j]);
|
|
2644
|
+
const E = () => {
|
|
2645
|
+
j?.trackPlanPageClosed?.(), o();
|
|
2638
2646
|
};
|
|
2639
|
-
return
|
|
2647
|
+
return H(() => {
|
|
2640
2648
|
if (!t) return;
|
|
2641
|
-
const
|
|
2649
|
+
const C = document.body.style.overflow;
|
|
2642
2650
|
return document.body.style.overflow = "hidden", () => {
|
|
2643
|
-
document.body.style.overflow =
|
|
2651
|
+
document.body.style.overflow = C;
|
|
2644
2652
|
};
|
|
2645
2653
|
}, [t]), t ? /* @__PURE__ */ r.jsx(
|
|
2646
2654
|
"div",
|
|
@@ -2648,7 +2656,7 @@ const ca = ({
|
|
|
2648
2656
|
className: f.overlay,
|
|
2649
2657
|
role: "dialog",
|
|
2650
2658
|
"aria-modal": "true",
|
|
2651
|
-
"aria-label":
|
|
2659
|
+
"aria-label": w?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
2652
2660
|
children: /* @__PURE__ */ r.jsxs(
|
|
2653
2661
|
"div",
|
|
2654
2662
|
{
|
|
@@ -2658,32 +2666,32 @@ const ca = ({
|
|
|
2658
2666
|
/* @__PURE__ */ r.jsx(
|
|
2659
2667
|
_n,
|
|
2660
2668
|
{
|
|
2661
|
-
title:
|
|
2662
|
-
onBack:
|
|
2669
|
+
title: w?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
2670
|
+
onBack: E
|
|
2663
2671
|
}
|
|
2664
2672
|
),
|
|
2665
2673
|
/* @__PURE__ */ r.jsx(
|
|
2666
2674
|
"div",
|
|
2667
2675
|
{
|
|
2668
|
-
ref:
|
|
2676
|
+
ref: S,
|
|
2669
2677
|
className: f.plansContainer,
|
|
2670
2678
|
role: "radiogroup",
|
|
2671
2679
|
"aria-label": "Kundli plans",
|
|
2672
|
-
children: c.map((
|
|
2680
|
+
children: c.map((C) => /* @__PURE__ */ r.jsx(
|
|
2673
2681
|
vn,
|
|
2674
2682
|
{
|
|
2675
|
-
plan:
|
|
2676
|
-
isSelected:
|
|
2677
|
-
t:
|
|
2683
|
+
plan: C,
|
|
2684
|
+
isSelected: C.id === N,
|
|
2685
|
+
t: w,
|
|
2678
2686
|
onSelect: (b) => {
|
|
2679
|
-
const _ = c.find((
|
|
2680
|
-
_ && (
|
|
2687
|
+
const _ = c.find((G) => G.id === b);
|
|
2688
|
+
_ && (j?.trackPlanSelected?.({
|
|
2681
2689
|
planId: _.id,
|
|
2682
2690
|
planName: _.title
|
|
2683
2691
|
}), m(_));
|
|
2684
2692
|
}
|
|
2685
2693
|
},
|
|
2686
|
-
|
|
2694
|
+
C.id
|
|
2687
2695
|
))
|
|
2688
2696
|
}
|
|
2689
2697
|
),
|
|
@@ -2693,12 +2701,12 @@ const ca = ({
|
|
|
2693
2701
|
className: f.proceedBtn,
|
|
2694
2702
|
disabled: !d,
|
|
2695
2703
|
onClick: () => {
|
|
2696
|
-
d && (
|
|
2704
|
+
d && (j?.trackPlanProceedClicked?.({
|
|
2697
2705
|
planId: d.id,
|
|
2698
2706
|
planName: d.title
|
|
2699
|
-
}),
|
|
2707
|
+
}), R(d), o());
|
|
2700
2708
|
},
|
|
2701
|
-
children: d ?
|
|
2709
|
+
children: d ? w?.("planProceedToPayment") ?? d.price + "Proceed to Payment" : "Select a plan"
|
|
2702
2710
|
}
|
|
2703
2711
|
) })
|
|
2704
2712
|
]
|
|
@@ -2706,7 +2714,7 @@ const ca = ({
|
|
|
2706
2714
|
)
|
|
2707
2715
|
}
|
|
2708
2716
|
) : null;
|
|
2709
|
-
}, An = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Cn = (t, o) =>
|
|
2717
|
+
}, An = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Cn = (t, o) => mr[t]?.[o] ?? o, jn = {
|
|
2710
2718
|
fullName: "",
|
|
2711
2719
|
phone: "",
|
|
2712
2720
|
gender: "",
|
|
@@ -2723,64 +2731,64 @@ const ca = ({
|
|
|
2723
2731
|
locale: o,
|
|
2724
2732
|
showLanguageSelector: d = !0,
|
|
2725
2733
|
onBack: m,
|
|
2726
|
-
initialValues:
|
|
2727
|
-
onProceed:
|
|
2728
|
-
onProceedGuidance:
|
|
2729
|
-
proceedHref:
|
|
2730
|
-
originalPriceLabel:
|
|
2731
|
-
discountedPriceLabel:
|
|
2734
|
+
initialValues: x,
|
|
2735
|
+
onProceed: R,
|
|
2736
|
+
onProceedGuidance: w,
|
|
2737
|
+
proceedHref: j,
|
|
2738
|
+
originalPriceLabel: A,
|
|
2739
|
+
discountedPriceLabel: I,
|
|
2732
2740
|
atlasSearchLocalities: c,
|
|
2733
|
-
analytics:
|
|
2741
|
+
analytics: N
|
|
2734
2742
|
}) => {
|
|
2735
|
-
const p =
|
|
2736
|
-
|
|
2743
|
+
const p = Re(), S = Kr(), h = p !== null, E = h ? p.locale : o, C = E ?? S?.locale ?? "en", [b, _] = W(C), G = h ? p.locale : b, y = h ? p.setLocale : _, [O, X] = W(!1), Z = K(null), ie = K(E), Y = K(
|
|
2744
|
+
S?.locale
|
|
2737
2745
|
);
|
|
2738
|
-
|
|
2746
|
+
H(() => {
|
|
2739
2747
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
2740
2748
|
}, []);
|
|
2741
|
-
const F = (
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
}, [
|
|
2745
|
-
if (
|
|
2746
|
-
const
|
|
2747
|
-
|
|
2748
|
-
}, [
|
|
2749
|
-
const [
|
|
2749
|
+
const F = (v) => Cn(G, v);
|
|
2750
|
+
H(() => {
|
|
2751
|
+
E && ie.current !== E && y(E), ie.current = E;
|
|
2752
|
+
}, [E, y]), H(() => {
|
|
2753
|
+
if (E) return;
|
|
2754
|
+
const v = S?.locale;
|
|
2755
|
+
v && Y.current !== v && y(v), Y.current = v;
|
|
2756
|
+
}, [S?.locale, E, y]);
|
|
2757
|
+
const [ue, z] = W({
|
|
2750
2758
|
...jn,
|
|
2751
|
-
...
|
|
2752
|
-
phone:
|
|
2753
|
-
}),
|
|
2754
|
-
|
|
2759
|
+
...x,
|
|
2760
|
+
phone: x?.phone ?? ""
|
|
2761
|
+
}), L = h ? p?.config.isGlobal ?? !0 : !0, [B, q] = W(
|
|
2762
|
+
L ? "+1" : "+91"
|
|
2755
2763
|
);
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
}, [
|
|
2759
|
-
const
|
|
2760
|
-
|
|
2764
|
+
H(() => {
|
|
2765
|
+
q(L ? "+1" : "+91");
|
|
2766
|
+
}, [L]);
|
|
2767
|
+
const J = h ? p.formValues : ue, te = h ? p.setFormValues : z, ge = h ? p.goToPage : m, V = h ? p.onProceed : R, le = h ? p.onProceedGuidance : w, me = h ? p.config.proceedHref : j, se = h ? p.config.originalPriceLabel : A, ae = h ? p.config.discountedPriceLabel : I, _e = h ? p.config.showLanguageSelector ?? !0 : d, ee = (h ? p?.config?.analytics : N) ?? N;
|
|
2768
|
+
H(() => {
|
|
2761
2769
|
if (!O) return;
|
|
2762
|
-
const
|
|
2763
|
-
|
|
2770
|
+
const v = (ce) => {
|
|
2771
|
+
Z.current && !Z.current.contains(ce.target) && X(!1);
|
|
2764
2772
|
};
|
|
2765
|
-
return document.addEventListener("mousedown",
|
|
2773
|
+
return document.addEventListener("mousedown", v), () => document.removeEventListener("mousedown", v);
|
|
2766
2774
|
}, [O]);
|
|
2767
|
-
const [
|
|
2768
|
-
|
|
2769
|
-
}, []),
|
|
2770
|
-
if (
|
|
2771
|
-
planId:
|
|
2772
|
-
planName:
|
|
2773
|
-
}), !
|
|
2774
|
-
const
|
|
2775
|
-
|
|
2776
|
-
}, [
|
|
2775
|
+
const [ne, oe] = W(!1), [M, be] = W(null), fe = K(null), ke = Te((v) => {
|
|
2776
|
+
fe.current = v, oe(!0);
|
|
2777
|
+
}, []), ye = Te(() => {
|
|
2778
|
+
if (ee?.trackPlanProceedClicked?.({
|
|
2779
|
+
planId: M.id,
|
|
2780
|
+
planName: M.title
|
|
2781
|
+
}), !fe.current || !M) return;
|
|
2782
|
+
const v = { ...fe.current, _selectedPlan: M };
|
|
2783
|
+
M.id === gr && le ? le(v) : V?.(v), oe(!1), fe.current = null;
|
|
2784
|
+
}, [M, V, le]), Pe = p?.config.imageComponent ?? De, Ae = _e ? /* @__PURE__ */ r.jsxs("div", { className: he.langDropdownWrap, ref: Z, children: [
|
|
2777
2785
|
/* @__PURE__ */ r.jsxs(
|
|
2778
2786
|
"button",
|
|
2779
2787
|
{
|
|
2780
2788
|
type: "button",
|
|
2781
|
-
className:
|
|
2789
|
+
className: he.langTrigger,
|
|
2782
2790
|
onClick: () => {
|
|
2783
|
-
|
|
2791
|
+
ee?.trackLanguageClickedFe?.({ language: G }), X((v) => !v);
|
|
2784
2792
|
},
|
|
2785
2793
|
"aria-expanded": O,
|
|
2786
2794
|
"aria-haspopup": "listbox",
|
|
@@ -2788,66 +2796,66 @@ const ca = ({
|
|
|
2788
2796
|
"aria-label": F("language"),
|
|
2789
2797
|
children: [
|
|
2790
2798
|
/* @__PURE__ */ r.jsx(
|
|
2791
|
-
|
|
2799
|
+
Pe,
|
|
2792
2800
|
{
|
|
2793
2801
|
src: An,
|
|
2794
2802
|
alt: "",
|
|
2795
|
-
className:
|
|
2803
|
+
className: he.langIcon,
|
|
2796
2804
|
width: 16,
|
|
2797
2805
|
height: 16,
|
|
2798
2806
|
loading: "eager"
|
|
2799
2807
|
}
|
|
2800
2808
|
),
|
|
2801
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2809
|
+
/* @__PURE__ */ r.jsx("span", { className: he.langLabel, children: lr[G] })
|
|
2802
2810
|
]
|
|
2803
2811
|
}
|
|
2804
2812
|
),
|
|
2805
2813
|
O && /* @__PURE__ */ r.jsx(
|
|
2806
2814
|
"ul",
|
|
2807
2815
|
{
|
|
2808
|
-
className:
|
|
2816
|
+
className: he.langMenu,
|
|
2809
2817
|
role: "listbox",
|
|
2810
2818
|
"aria-labelledby": "kundli-form-lang",
|
|
2811
|
-
"aria-activedescendant": `kundli-form-lang-option-${
|
|
2812
|
-
children:
|
|
2819
|
+
"aria-activedescendant": `kundli-form-lang-option-${G}`,
|
|
2820
|
+
children: ur.map((v) => /* @__PURE__ */ r.jsx(
|
|
2813
2821
|
"li",
|
|
2814
2822
|
{
|
|
2815
|
-
id: `kundli-form-lang-option-${
|
|
2823
|
+
id: `kundli-form-lang-option-${v}`,
|
|
2816
2824
|
role: "option",
|
|
2817
|
-
"aria-selected":
|
|
2818
|
-
className:
|
|
2825
|
+
"aria-selected": v === G,
|
|
2826
|
+
className: he.langOption,
|
|
2819
2827
|
onClick: () => {
|
|
2820
|
-
|
|
2828
|
+
ee?.trackLanguageChangedFe?.({ newLanguage: v }), y(v), X(!1);
|
|
2821
2829
|
},
|
|
2822
|
-
children:
|
|
2830
|
+
children: lr[v]
|
|
2823
2831
|
},
|
|
2824
|
-
|
|
2832
|
+
v
|
|
2825
2833
|
))
|
|
2826
2834
|
}
|
|
2827
2835
|
)
|
|
2828
2836
|
] }) : null;
|
|
2829
|
-
return /* @__PURE__ */ r.jsxs("div", { className: `${
|
|
2837
|
+
return /* @__PURE__ */ r.jsxs("div", { className: `${he.container} ${t}`, children: [
|
|
2830
2838
|
/* @__PURE__ */ r.jsx(
|
|
2831
2839
|
Pa,
|
|
2832
2840
|
{
|
|
2833
2841
|
t: F,
|
|
2834
2842
|
logoUrl: h ? p.config.logoUrl : void 0,
|
|
2835
|
-
languageSelector:
|
|
2836
|
-
className:
|
|
2843
|
+
languageSelector: Ae,
|
|
2844
|
+
className: he.kundliHeaderNoBorder
|
|
2837
2845
|
}
|
|
2838
2846
|
),
|
|
2839
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2840
|
-
/* @__PURE__ */ r.jsxs("main", { className:
|
|
2841
|
-
/* @__PURE__ */ r.jsx(st, { t: F, onBack:
|
|
2847
|
+
/* @__PURE__ */ r.jsx("div", { className: he.headerSeparator, "aria-hidden": !0 }),
|
|
2848
|
+
/* @__PURE__ */ r.jsxs("main", { className: he.main, children: [
|
|
2849
|
+
/* @__PURE__ */ r.jsx(st, { t: F, onBack: ge }),
|
|
2842
2850
|
/* @__PURE__ */ r.jsx(
|
|
2843
2851
|
ca,
|
|
2844
2852
|
{
|
|
2845
2853
|
t: F,
|
|
2846
|
-
values:
|
|
2847
|
-
onChange:
|
|
2854
|
+
values: J,
|
|
2855
|
+
onChange: te,
|
|
2848
2856
|
atlasSearchLocalities: c,
|
|
2849
|
-
phoneIsdCode:
|
|
2850
|
-
onPhoneIsdCodeChange:
|
|
2857
|
+
phoneIsdCode: B,
|
|
2858
|
+
onPhoneIsdCodeChange: q
|
|
2851
2859
|
}
|
|
2852
2860
|
)
|
|
2853
2861
|
] }),
|
|
@@ -2855,32 +2863,32 @@ const ca = ({
|
|
|
2855
2863
|
xa,
|
|
2856
2864
|
{
|
|
2857
2865
|
t: F,
|
|
2858
|
-
values:
|
|
2859
|
-
phoneIsdCode:
|
|
2860
|
-
onProceed:
|
|
2861
|
-
onProceedGuidance:
|
|
2862
|
-
href:
|
|
2863
|
-
originalPriceLabel:
|
|
2864
|
-
discountedPriceLabel:
|
|
2865
|
-
analytics:
|
|
2866
|
-
showPlanSheet:
|
|
2867
|
-
confirmPlan:
|
|
2868
|
-
planSheetOpen:
|
|
2869
|
-
selectedPlan:
|
|
2866
|
+
values: J,
|
|
2867
|
+
phoneIsdCode: B,
|
|
2868
|
+
onProceed: V,
|
|
2869
|
+
onProceedGuidance: le,
|
|
2870
|
+
href: me,
|
|
2871
|
+
originalPriceLabel: se,
|
|
2872
|
+
discountedPriceLabel: ae,
|
|
2873
|
+
analytics: ee,
|
|
2874
|
+
showPlanSheet: ke,
|
|
2875
|
+
confirmPlan: ye,
|
|
2876
|
+
planSheetOpen: ne,
|
|
2877
|
+
selectedPlan: M
|
|
2870
2878
|
}
|
|
2871
2879
|
),
|
|
2872
2880
|
p?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
|
|
2873
2881
|
Pn,
|
|
2874
2882
|
{
|
|
2875
|
-
isOpen:
|
|
2876
|
-
onClose: () =>
|
|
2877
|
-
selectedPlan:
|
|
2878
|
-
onSelectPlan:
|
|
2879
|
-
onProceed: (
|
|
2880
|
-
|
|
2883
|
+
isOpen: ne,
|
|
2884
|
+
onClose: () => oe(!1),
|
|
2885
|
+
selectedPlan: M,
|
|
2886
|
+
onSelectPlan: be,
|
|
2887
|
+
onProceed: (v) => {
|
|
2888
|
+
ye?.(v);
|
|
2881
2889
|
},
|
|
2882
2890
|
t: F,
|
|
2883
|
-
analytics:
|
|
2891
|
+
analytics: ee
|
|
2884
2892
|
}
|
|
2885
2893
|
)
|
|
2886
2894
|
] });
|
|
@@ -2924,22 +2932,22 @@ const ca = ({
|
|
|
2924
2932
|
kundli_form_view: "kundli_form_view"
|
|
2925
2933
|
};
|
|
2926
2934
|
export {
|
|
2927
|
-
|
|
2935
|
+
De as D,
|
|
2928
2936
|
st as F,
|
|
2929
2937
|
Rn as I,
|
|
2930
2938
|
Dn as K,
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2939
|
+
lr as L,
|
|
2940
|
+
gr as P,
|
|
2941
|
+
ur as S,
|
|
2934
2942
|
ca as U,
|
|
2935
|
-
|
|
2936
|
-
|
|
2943
|
+
pr as a,
|
|
2944
|
+
He as b,
|
|
2937
2945
|
Ln as c,
|
|
2938
2946
|
In as d,
|
|
2939
2947
|
at as e,
|
|
2940
2948
|
nt as f,
|
|
2941
2949
|
rt as g,
|
|
2942
|
-
|
|
2950
|
+
Re as h,
|
|
2943
2951
|
En as i,
|
|
2944
2952
|
Bn as j,
|
|
2945
2953
|
r as k,
|
|
@@ -2948,7 +2956,7 @@ export {
|
|
|
2948
2956
|
Pn as n,
|
|
2949
2957
|
Sn as r,
|
|
2950
2958
|
tt as s,
|
|
2951
|
-
|
|
2959
|
+
mr as t,
|
|
2952
2960
|
Kr as u
|
|
2953
2961
|
};
|
|
2954
|
-
//# sourceMappingURL=analytics-
|
|
2962
|
+
//# sourceMappingURL=analytics-mqYZuSm2.js.map
|