@srimandir/kundli-generator 7.5.4 → 7.5.6
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-Fyq-Amgh.js → analytics-BZyas-wq.js} +904 -892
- package/dist/analytics-BZyas-wq.js.map +1 -0
- package/dist/components/KundliForm/KundliForm.d.ts +2 -0
- package/dist/{criticalCss-1Wnk1SAN.js → criticalCss-xjrhFW6_.js} +2 -2
- package/dist/{criticalCss-1Wnk1SAN.js.map → criticalCss-xjrhFW6_.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 +2 -2
- package/dist/analytics-Fyq-Amgh.js.map +0 -1
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { FormSectionHeader as
|
|
3
|
-
var We = { exports: {} },
|
|
4
|
-
var
|
|
5
|
-
function
|
|
6
|
-
if (
|
|
7
|
-
|
|
8
|
-
var t =
|
|
9
|
-
function g(T,
|
|
1
|
+
import er, { useContext as rr, createContext as br, useState as U, useRef as B, useEffect as V, useMemo as Xe, useCallback as ke } from "react";
|
|
2
|
+
import { FormSectionHeader as Ur, FooterCTAButton as Gr, FooterShell as Kr, CircularMarquee as Wr, footerShellStyles as Ne, PageHeader as Hr } from "@srimandir/astrology-common";
|
|
3
|
+
var We = { exports: {} }, Ue = {};
|
|
4
|
+
var ur;
|
|
5
|
+
function Yr() {
|
|
6
|
+
if (ur) return Ue;
|
|
7
|
+
ur = 1;
|
|
8
|
+
var t = er, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, y = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, x = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9
|
+
function g(T, k, F) {
|
|
10
10
|
var P, E = {}, u = null, I = null;
|
|
11
|
-
|
|
12
|
-
for (P in
|
|
13
|
-
if (T && T.defaultProps) for (P in
|
|
14
|
-
return { $$typeof: o, type: T, key: u, ref: I, props: E, _owner:
|
|
11
|
+
F !== void 0 && (u = "" + F), k.key !== void 0 && (u = "" + k.key), k.ref !== void 0 && (I = k.ref);
|
|
12
|
+
for (P in k) d.call(k, P) && !x.hasOwnProperty(P) && (E[P] = k[P]);
|
|
13
|
+
if (T && T.defaultProps) for (P in k = T.defaultProps, k) E[P] === void 0 && (E[P] = k[P]);
|
|
14
|
+
return { $$typeof: o, type: T, key: u, ref: I, props: E, _owner: y.current };
|
|
15
15
|
}
|
|
16
|
-
return
|
|
16
|
+
return Ue.Fragment = c, Ue.jsx = g, Ue.jsxs = g, Ue;
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
function
|
|
21
|
-
return
|
|
22
|
-
var t =
|
|
23
|
-
function
|
|
18
|
+
var Ge = {};
|
|
19
|
+
var mr;
|
|
20
|
+
function qr() {
|
|
21
|
+
return mr || (mr = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
+
var t = er, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), y = /* @__PURE__ */ Symbol.for("react.strict_mode"), x = /* @__PURE__ */ Symbol.for("react.profiler"), g = /* @__PURE__ */ Symbol.for("react.provider"), T = /* @__PURE__ */ Symbol.for("react.context"), k = /* @__PURE__ */ Symbol.for("react.forward_ref"), F = /* @__PURE__ */ Symbol.for("react.suspense"), P = /* @__PURE__ */ Symbol.for("react.suspense_list"), E = /* @__PURE__ */ Symbol.for("react.memo"), u = /* @__PURE__ */ Symbol.for("react.lazy"), I = /* @__PURE__ */ Symbol.for("react.offscreen"), h = Symbol.iterator, M = "@@iterator";
|
|
23
|
+
function m(e) {
|
|
24
24
|
if (e === null || typeof e != "object")
|
|
25
25
|
return null;
|
|
26
26
|
var i = h && e[h] || e[M];
|
|
27
27
|
return typeof i == "function" ? i : null;
|
|
28
28
|
}
|
|
29
|
-
var
|
|
30
|
-
function
|
|
29
|
+
var f = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
30
|
+
function v(e) {
|
|
31
31
|
{
|
|
32
32
|
for (var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0), p = 1; p < i; p++)
|
|
33
33
|
l[p - 1] = arguments[p];
|
|
34
|
-
|
|
34
|
+
X("error", e, l);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function X(e, i, l) {
|
|
38
38
|
{
|
|
39
|
-
var p =
|
|
39
|
+
var p = f.ReactDebugCurrentFrame, N = p.getStackAddendum();
|
|
40
40
|
N !== "" && (i += "%s", l = l.concat([N]));
|
|
41
|
-
var L = l.map(function(
|
|
42
|
-
return String(
|
|
41
|
+
var L = l.map(function(A) {
|
|
42
|
+
return String(A);
|
|
43
43
|
});
|
|
44
44
|
L.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, L);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
var
|
|
47
|
+
var z = !1, H = !1, D = !1, $ = !1, C = !1, S;
|
|
48
48
|
S = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
49
|
function re(e) {
|
|
50
|
-
return !!(typeof e == "string" || typeof e == "function" || e === d || e === x ||
|
|
50
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === x || C || e === y || e === F || e === P || $ || e === I || z || H || D || typeof e == "object" && e !== null && (e.$$typeof === u || e.$$typeof === E || e.$$typeof === g || e.$$typeof === T || e.$$typeof === k || // This needs to include all possible module reference object
|
|
51
51
|
// types supported by any Flight configuration anywhere since
|
|
52
52
|
// we don't know which Flight build this will end up being used
|
|
53
53
|
// with.
|
|
54
54
|
e.$$typeof === S || e.getModuleId !== void 0));
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function J(e, i, l) {
|
|
57
57
|
var p = e.displayName;
|
|
58
58
|
if (p)
|
|
59
59
|
return p;
|
|
60
60
|
var N = i.displayName || i.name || "";
|
|
61
61
|
return N !== "" ? l + "(" + N + ")" : l;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function O(e) {
|
|
64
64
|
return e.displayName || "Context";
|
|
65
65
|
}
|
|
66
66
|
function j(e) {
|
|
67
67
|
if (e == null)
|
|
68
68
|
return null;
|
|
69
|
-
if (typeof e.tag == "number" &&
|
|
69
|
+
if (typeof e.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
70
70
|
return e.displayName || e.name || null;
|
|
71
71
|
if (typeof e == "string")
|
|
72
72
|
return e;
|
|
@@ -77,9 +77,9 @@ function Yr() {
|
|
|
77
77
|
return "Portal";
|
|
78
78
|
case x:
|
|
79
79
|
return "Profiler";
|
|
80
|
-
case
|
|
80
|
+
case y:
|
|
81
81
|
return "StrictMode";
|
|
82
|
-
case
|
|
82
|
+
case F:
|
|
83
83
|
return "Suspense";
|
|
84
84
|
case P:
|
|
85
85
|
return "SuspenseList";
|
|
@@ -88,19 +88,19 @@ function Yr() {
|
|
|
88
88
|
switch (e.$$typeof) {
|
|
89
89
|
case T:
|
|
90
90
|
var i = e;
|
|
91
|
-
return
|
|
91
|
+
return O(i) + ".Consumer";
|
|
92
92
|
case g:
|
|
93
93
|
var l = e;
|
|
94
|
-
return
|
|
95
|
-
case
|
|
96
|
-
return
|
|
94
|
+
return O(l._context) + ".Provider";
|
|
95
|
+
case k:
|
|
96
|
+
return J(e, e.render, "ForwardRef");
|
|
97
97
|
case E:
|
|
98
98
|
var p = e.displayName || null;
|
|
99
99
|
return p !== null ? p : j(e.type) || "Memo";
|
|
100
100
|
case u: {
|
|
101
|
-
var N = e, L = N._payload,
|
|
101
|
+
var N = e, L = N._payload, A = N._init;
|
|
102
102
|
try {
|
|
103
|
-
return j(
|
|
103
|
+
return j(A(L));
|
|
104
104
|
} catch {
|
|
105
105
|
return null;
|
|
106
106
|
}
|
|
@@ -108,14 +108,14 @@ function Yr() {
|
|
|
108
108
|
}
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var K = Object.assign, Y = 0, G, Pe, Z, Q, ae, te, Ae;
|
|
112
112
|
function _e() {
|
|
113
113
|
}
|
|
114
114
|
_e.__reactDisabledLog = !0;
|
|
115
|
-
function
|
|
115
|
+
function le() {
|
|
116
116
|
{
|
|
117
|
-
if (
|
|
118
|
-
|
|
117
|
+
if (Y === 0) {
|
|
118
|
+
G = console.log, Pe = console.info, Z = console.warn, Q = console.error, ae = console.group, te = console.groupCollapsed, Ae = console.groupEnd;
|
|
119
119
|
var e = {
|
|
120
120
|
configurable: !0,
|
|
121
121
|
enumerable: !0,
|
|
@@ -132,229 +132,229 @@ function Yr() {
|
|
|
132
132
|
groupEnd: e
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
|
-
|
|
135
|
+
Y++;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function ue() {
|
|
139
139
|
{
|
|
140
|
-
if (
|
|
140
|
+
if (Y--, Y === 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: K({}, e, {
|
|
148
|
+
value: G
|
|
149
149
|
}),
|
|
150
|
-
info:
|
|
151
|
-
value:
|
|
150
|
+
info: K({}, e, {
|
|
151
|
+
value: Pe
|
|
152
152
|
}),
|
|
153
|
-
warn:
|
|
154
|
-
value: X
|
|
155
|
-
}),
|
|
156
|
-
error: G({}, e, {
|
|
153
|
+
warn: K({}, e, {
|
|
157
154
|
value: Z
|
|
158
155
|
}),
|
|
159
|
-
|
|
160
|
-
value:
|
|
156
|
+
error: K({}, e, {
|
|
157
|
+
value: Q
|
|
161
158
|
}),
|
|
162
|
-
|
|
159
|
+
group: K({}, e, {
|
|
163
160
|
value: ae
|
|
164
161
|
}),
|
|
165
|
-
|
|
166
|
-
value:
|
|
162
|
+
groupCollapsed: K({}, e, {
|
|
163
|
+
value: te
|
|
164
|
+
}),
|
|
165
|
+
groupEnd: K({}, e, {
|
|
166
|
+
value: Ae
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
|
|
170
|
+
Y < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
var
|
|
174
|
-
function
|
|
173
|
+
var ee = f.ReactCurrentDispatcher, me;
|
|
174
|
+
function ce(e, i, l) {
|
|
175
175
|
{
|
|
176
|
-
if (
|
|
176
|
+
if (me === void 0)
|
|
177
177
|
try {
|
|
178
178
|
throw Error();
|
|
179
179
|
} catch (N) {
|
|
180
180
|
var p = N.stack.trim().match(/\n( *(at )?)/);
|
|
181
|
-
|
|
181
|
+
me = p && p[1] || "";
|
|
182
182
|
}
|
|
183
183
|
return `
|
|
184
|
-
` +
|
|
184
|
+
` + me + e;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
var
|
|
187
|
+
var fe = !1, pe;
|
|
188
188
|
{
|
|
189
|
-
var
|
|
190
|
-
|
|
189
|
+
var be = typeof WeakMap == "function" ? WeakMap : Map;
|
|
190
|
+
pe = new be();
|
|
191
191
|
}
|
|
192
|
-
function
|
|
193
|
-
if (!e ||
|
|
192
|
+
function je(e, i) {
|
|
193
|
+
if (!e || fe)
|
|
194
194
|
return "";
|
|
195
195
|
{
|
|
196
|
-
var l =
|
|
196
|
+
var l = pe.get(e);
|
|
197
197
|
if (l !== void 0)
|
|
198
198
|
return l;
|
|
199
199
|
}
|
|
200
200
|
var p;
|
|
201
|
-
|
|
201
|
+
fe = !0;
|
|
202
202
|
var N = Error.prepareStackTrace;
|
|
203
203
|
Error.prepareStackTrace = void 0;
|
|
204
204
|
var L;
|
|
205
|
-
L =
|
|
205
|
+
L = ee.current, ee.current = null, le();
|
|
206
206
|
try {
|
|
207
207
|
if (i) {
|
|
208
|
-
var
|
|
208
|
+
var A = function() {
|
|
209
209
|
throw Error();
|
|
210
210
|
};
|
|
211
|
-
if (Object.defineProperty(
|
|
211
|
+
if (Object.defineProperty(A.prototype, "props", {
|
|
212
212
|
set: function() {
|
|
213
213
|
throw Error();
|
|
214
214
|
}
|
|
215
215
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
216
216
|
try {
|
|
217
|
-
Reflect.construct(
|
|
218
|
-
} catch (
|
|
219
|
-
p =
|
|
217
|
+
Reflect.construct(A, []);
|
|
218
|
+
} catch (se) {
|
|
219
|
+
p = se;
|
|
220
220
|
}
|
|
221
|
-
Reflect.construct(e, [],
|
|
221
|
+
Reflect.construct(e, [], A);
|
|
222
222
|
} else {
|
|
223
223
|
try {
|
|
224
|
-
|
|
225
|
-
} catch (
|
|
226
|
-
p =
|
|
224
|
+
A.call();
|
|
225
|
+
} catch (se) {
|
|
226
|
+
p = se;
|
|
227
227
|
}
|
|
228
|
-
e.call(
|
|
228
|
+
e.call(A.prototype);
|
|
229
229
|
}
|
|
230
230
|
} else {
|
|
231
231
|
try {
|
|
232
232
|
throw Error();
|
|
233
|
-
} catch (
|
|
234
|
-
p =
|
|
233
|
+
} catch (se) {
|
|
234
|
+
p = se;
|
|
235
235
|
}
|
|
236
236
|
e();
|
|
237
237
|
}
|
|
238
|
-
} catch (
|
|
239
|
-
if (
|
|
240
|
-
for (var w =
|
|
241
|
-
`),
|
|
242
|
-
`),
|
|
238
|
+
} catch (se) {
|
|
239
|
+
if (se && p && typeof se.stack == "string") {
|
|
240
|
+
for (var w = se.stack.split(`
|
|
241
|
+
`), ie = p.stack.split(`
|
|
242
|
+
`), W = w.length - 1, q = ie.length - 1; W >= 1 && q >= 0 && w[W] !== ie[q]; )
|
|
243
243
|
q--;
|
|
244
|
-
for (;
|
|
245
|
-
if (w[
|
|
246
|
-
if (
|
|
244
|
+
for (; W >= 1 && q >= 0; W--, q--)
|
|
245
|
+
if (w[W] !== ie[q]) {
|
|
246
|
+
if (W !== 1 || q !== 1)
|
|
247
247
|
do
|
|
248
|
-
if (
|
|
249
|
-
var
|
|
250
|
-
` + w[
|
|
251
|
-
return e.displayName &&
|
|
248
|
+
if (W--, q--, q < 0 || w[W] !== ie[q]) {
|
|
249
|
+
var ge = `
|
|
250
|
+
` + w[W].replace(" at new ", " at ");
|
|
251
|
+
return e.displayName && ge.includes("<anonymous>") && (ge = ge.replace("<anonymous>", e.displayName)), typeof e == "function" && pe.set(e, ge), ge;
|
|
252
252
|
}
|
|
253
|
-
while (
|
|
253
|
+
while (W >= 1 && q >= 0);
|
|
254
254
|
break;
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
} finally {
|
|
258
|
-
|
|
258
|
+
fe = !1, ee.current = L, ue(), Error.prepareStackTrace = N;
|
|
259
259
|
}
|
|
260
|
-
var
|
|
261
|
-
return typeof e == "function" &&
|
|
260
|
+
var Le = e ? e.displayName || e.name : "", Te = Le ? ce(Le) : "";
|
|
261
|
+
return typeof e == "function" && pe.set(e, Te), Te;
|
|
262
262
|
}
|
|
263
263
|
function ne(e, i, l) {
|
|
264
|
-
return
|
|
264
|
+
return je(e, !1);
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function oe(e) {
|
|
267
267
|
var i = e.prototype;
|
|
268
268
|
return !!(i && i.isReactComponent);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function Ce(e, i, l) {
|
|
271
271
|
if (e == null)
|
|
272
272
|
return "";
|
|
273
273
|
if (typeof e == "function")
|
|
274
|
-
return
|
|
274
|
+
return je(e, oe(e));
|
|
275
275
|
if (typeof e == "string")
|
|
276
|
-
return
|
|
276
|
+
return ce(e);
|
|
277
277
|
switch (e) {
|
|
278
|
-
case
|
|
279
|
-
return
|
|
278
|
+
case F:
|
|
279
|
+
return ce("Suspense");
|
|
280
280
|
case P:
|
|
281
|
-
return
|
|
281
|
+
return ce("SuspenseList");
|
|
282
282
|
}
|
|
283
283
|
if (typeof e == "object")
|
|
284
284
|
switch (e.$$typeof) {
|
|
285
|
-
case
|
|
285
|
+
case k:
|
|
286
286
|
return ne(e.render);
|
|
287
287
|
case E:
|
|
288
|
-
return
|
|
288
|
+
return Ce(e.type, i, l);
|
|
289
289
|
case u: {
|
|
290
290
|
var p = e, N = p._payload, L = p._init;
|
|
291
291
|
try {
|
|
292
|
-
return
|
|
292
|
+
return Ce(L(N), i, l);
|
|
293
293
|
} catch {
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
return "";
|
|
298
298
|
}
|
|
299
|
-
var
|
|
300
|
-
function
|
|
299
|
+
var ye = Object.prototype.hasOwnProperty, de = {}, ve = f.ReactDebugCurrentFrame;
|
|
300
|
+
function we(e) {
|
|
301
301
|
if (e) {
|
|
302
|
-
var i = e._owner, l =
|
|
303
|
-
|
|
302
|
+
var i = e._owner, l = Ce(e.type, e._source, i ? i.type : null);
|
|
303
|
+
ve.setExtraStackFrame(l);
|
|
304
304
|
} else
|
|
305
|
-
|
|
305
|
+
ve.setExtraStackFrame(null);
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function Se(e, i, l, p, N) {
|
|
308
308
|
{
|
|
309
|
-
var L = Function.call.bind(
|
|
310
|
-
for (var
|
|
311
|
-
if (L(e,
|
|
309
|
+
var L = Function.call.bind(ye);
|
|
310
|
+
for (var A in e)
|
|
311
|
+
if (L(e, A)) {
|
|
312
312
|
var w = void 0;
|
|
313
313
|
try {
|
|
314
|
-
if (typeof e[
|
|
315
|
-
var
|
|
316
|
-
throw
|
|
314
|
+
if (typeof e[A] != "function") {
|
|
315
|
+
var ie = Error((p || "React class") + ": " + l + " type `" + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[A] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
316
|
+
throw ie.name = "Invariant Violation", ie;
|
|
317
317
|
}
|
|
318
|
-
w = e[
|
|
319
|
-
} catch (
|
|
320
|
-
w =
|
|
318
|
+
w = e[A](i, A, p, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
319
|
+
} catch (W) {
|
|
320
|
+
w = W;
|
|
321
321
|
}
|
|
322
|
-
w && !(w instanceof Error) && (
|
|
322
|
+
w && !(w instanceof Error) && (we(N), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", l, A, typeof w), we(null)), w instanceof Error && !(w.message in de) && (de[w.message] = !0, we(N), v("Failed %s type: %s", l, w.message), we(null));
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
var
|
|
327
|
-
function
|
|
328
|
-
return
|
|
326
|
+
var Re = Array.isArray;
|
|
327
|
+
function _(e) {
|
|
328
|
+
return Re(e);
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function Ee(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;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function Oe(e) {
|
|
337
337
|
try {
|
|
338
|
-
return
|
|
338
|
+
return Fe(e), !1;
|
|
339
339
|
} catch {
|
|
340
340
|
return !0;
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function Fe(e) {
|
|
344
344
|
return "" + e;
|
|
345
345
|
}
|
|
346
|
-
function
|
|
347
|
-
if (
|
|
348
|
-
return
|
|
346
|
+
function Me(e) {
|
|
347
|
+
if (Oe(e))
|
|
348
|
+
return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ee(e)), Fe(e);
|
|
349
349
|
}
|
|
350
|
-
var a =
|
|
350
|
+
var a = f.ReactCurrentOwner, s = {
|
|
351
351
|
key: !0,
|
|
352
352
|
ref: !0,
|
|
353
353
|
__self: !0,
|
|
354
354
|
__source: !0
|
|
355
|
-
}, R,
|
|
356
|
-
function
|
|
357
|
-
if (
|
|
355
|
+
}, R, he;
|
|
356
|
+
function $e(e) {
|
|
357
|
+
if (ye.call(e, "ref")) {
|
|
358
358
|
var i = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
359
359
|
if (i && i.isReactWarning)
|
|
360
360
|
return !1;
|
|
@@ -362,7 +362,7 @@ function Yr() {
|
|
|
362
362
|
return e.ref !== void 0;
|
|
363
363
|
}
|
|
364
364
|
function qe(e) {
|
|
365
|
-
if (
|
|
365
|
+
if (ye.call(e, "key")) {
|
|
366
366
|
var i = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
367
367
|
if (i && i.isReactWarning)
|
|
368
368
|
return !1;
|
|
@@ -372,10 +372,10 @@ function Yr() {
|
|
|
372
372
|
function Ar(e, i) {
|
|
373
373
|
typeof e.ref == "string" && a.current;
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function jr(e, i) {
|
|
376
376
|
{
|
|
377
377
|
var l = function() {
|
|
378
|
-
R || (R = !0,
|
|
378
|
+
R || (R = !0, v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
|
|
379
379
|
};
|
|
380
380
|
l.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
381
381
|
get: l,
|
|
@@ -383,10 +383,10 @@ function Yr() {
|
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function Tr(e, i) {
|
|
387
387
|
{
|
|
388
388
|
var l = function() {
|
|
389
|
-
|
|
389
|
+
he || (he = !0, v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
|
|
390
390
|
};
|
|
391
391
|
l.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
392
392
|
get: l,
|
|
@@ -394,7 +394,7 @@ function Yr() {
|
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
var
|
|
397
|
+
var Nr = function(e, i, l, p, N, L, A) {
|
|
398
398
|
var w = {
|
|
399
399
|
// This tag allows us to uniquely identify this as a React Element
|
|
400
400
|
$$typeof: o,
|
|
@@ -402,7 +402,7 @@ function Yr() {
|
|
|
402
402
|
type: e,
|
|
403
403
|
key: i,
|
|
404
404
|
ref: l,
|
|
405
|
-
props:
|
|
405
|
+
props: A,
|
|
406
406
|
// Record the component responsible for creating this element.
|
|
407
407
|
_owner: L
|
|
408
408
|
};
|
|
@@ -423,38 +423,38 @@ function Yr() {
|
|
|
423
423
|
value: N
|
|
424
424
|
}), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
|
|
425
425
|
};
|
|
426
|
-
function
|
|
426
|
+
function Sr(e, i, l, p, N) {
|
|
427
427
|
{
|
|
428
|
-
var L,
|
|
429
|
-
l !== void 0 && (
|
|
428
|
+
var L, A = {}, w = null, ie = null;
|
|
429
|
+
l !== void 0 && (Me(l), w = "" + l), qe(i) && (Me(i.key), w = "" + i.key), $e(i) && (ie = i.ref, Ar(i, N));
|
|
430
430
|
for (L in i)
|
|
431
|
-
|
|
431
|
+
ye.call(i, L) && !s.hasOwnProperty(L) && (A[L] = i[L]);
|
|
432
432
|
if (e && e.defaultProps) {
|
|
433
|
-
var
|
|
434
|
-
for (L in
|
|
435
|
-
|
|
433
|
+
var W = e.defaultProps;
|
|
434
|
+
for (L in W)
|
|
435
|
+
A[L] === void 0 && (A[L] = W[L]);
|
|
436
436
|
}
|
|
437
|
-
if (w ||
|
|
437
|
+
if (w || ie) {
|
|
438
438
|
var q = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
439
|
-
w &&
|
|
439
|
+
w && jr(A, q), ie && Tr(A, q);
|
|
440
440
|
}
|
|
441
|
-
return
|
|
441
|
+
return Nr(e, w, ie, N, p, a.current, A);
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
|
-
var Ve =
|
|
445
|
-
function
|
|
444
|
+
var Ve = f.ReactCurrentOwner, nr = f.ReactDebugCurrentFrame;
|
|
445
|
+
function Ie(e) {
|
|
446
446
|
if (e) {
|
|
447
|
-
var i = e._owner, l =
|
|
448
|
-
|
|
447
|
+
var i = e._owner, l = Ce(e.type, e._source, i ? i.type : null);
|
|
448
|
+
nr.setExtraStackFrame(l);
|
|
449
449
|
} else
|
|
450
|
-
|
|
450
|
+
nr.setExtraStackFrame(null);
|
|
451
451
|
}
|
|
452
452
|
var ze;
|
|
453
453
|
ze = !1;
|
|
454
454
|
function Je(e) {
|
|
455
455
|
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
456
456
|
}
|
|
457
|
-
function
|
|
457
|
+
function or() {
|
|
458
458
|
{
|
|
459
459
|
if (Ve.current) {
|
|
460
460
|
var e = j(Ve.current.type);
|
|
@@ -466,13 +466,13 @@ Check the render method of \`` + e + "`.";
|
|
|
466
466
|
return "";
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function Rr(e) {
|
|
470
470
|
return "";
|
|
471
471
|
}
|
|
472
|
-
var
|
|
473
|
-
function
|
|
472
|
+
var ir = {};
|
|
473
|
+
function Er(e) {
|
|
474
474
|
{
|
|
475
|
-
var i =
|
|
475
|
+
var i = or();
|
|
476
476
|
if (!i) {
|
|
477
477
|
var l = typeof e == "string" ? e : e.displayName || e.name;
|
|
478
478
|
l && (i = `
|
|
@@ -482,39 +482,39 @@ Check the top-level render call using <` + l + ">.");
|
|
|
482
482
|
return i;
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function sr(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
|
-
var l =
|
|
491
|
-
if (
|
|
490
|
+
var l = Er(i);
|
|
491
|
+
if (ir[l])
|
|
492
492
|
return;
|
|
493
|
-
|
|
493
|
+
ir[l] = !0;
|
|
494
494
|
var p = "";
|
|
495
|
-
e && e._owner && e._owner !== Ve.current && (p = " It was passed a child from " + j(e._owner.type) + "."),
|
|
495
|
+
e && e._owner && e._owner !== Ve.current && (p = " It was passed a child from " + j(e._owner.type) + "."), Ie(e), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, p), Ie(null);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function lr(e, i) {
|
|
499
499
|
{
|
|
500
500
|
if (typeof e != "object")
|
|
501
501
|
return;
|
|
502
|
-
if (
|
|
502
|
+
if (_(e))
|
|
503
503
|
for (var l = 0; l < e.length; l++) {
|
|
504
504
|
var p = e[l];
|
|
505
|
-
Je(p) &&
|
|
505
|
+
Je(p) && sr(p, i);
|
|
506
506
|
}
|
|
507
507
|
else if (Je(e))
|
|
508
508
|
e._store && (e._store.validated = !0);
|
|
509
509
|
else if (e) {
|
|
510
|
-
var N =
|
|
510
|
+
var N = m(e);
|
|
511
511
|
if (typeof N == "function" && N !== e.entries)
|
|
512
|
-
for (var L = N.call(e),
|
|
513
|
-
Je(
|
|
512
|
+
for (var L = N.call(e), A; !(A = L.next()).done; )
|
|
513
|
+
Je(A.value) && sr(A.value, i);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function Ir(e) {
|
|
518
518
|
{
|
|
519
519
|
var i = e.type;
|
|
520
520
|
if (i == null || typeof i == "string")
|
|
@@ -522,7 +522,7 @@ 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 === k || // Note: Memo only checks outer props here.
|
|
526
526
|
// Inner props are checked in the reconciler.
|
|
527
527
|
i.$$typeof === E))
|
|
528
528
|
l = i.propTypes;
|
|
@@ -530,102 +530,102 @@ Check the top-level render call using <` + l + ">.");
|
|
|
530
530
|
return;
|
|
531
531
|
if (l) {
|
|
532
532
|
var p = j(i);
|
|
533
|
-
|
|
533
|
+
Se(l, e.props, "prop", p, e);
|
|
534
534
|
} else if (i.PropTypes !== void 0 && !ze) {
|
|
535
535
|
ze = !0;
|
|
536
536
|
var N = j(i);
|
|
537
|
-
|
|
537
|
+
v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", N || "Unknown");
|
|
538
538
|
}
|
|
539
|
-
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved &&
|
|
539
|
+
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Lr(e) {
|
|
543
543
|
{
|
|
544
544
|
for (var i = Object.keys(e.props), l = 0; l < i.length; l++) {
|
|
545
545
|
var p = i[l];
|
|
546
546
|
if (p !== "children" && p !== "key") {
|
|
547
|
-
|
|
547
|
+
Ie(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), Ie(null);
|
|
548
548
|
break;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
e.ref !== null && (
|
|
551
|
+
e.ref !== null && (Ie(e), v("Invalid attribute `ref` supplied to `React.Fragment`."), Ie(null));
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
|
-
var
|
|
555
|
-
function
|
|
554
|
+
var cr = {};
|
|
555
|
+
function dr(e, i, l, p, N, L) {
|
|
556
556
|
{
|
|
557
|
-
var
|
|
558
|
-
if (!
|
|
557
|
+
var A = re(e);
|
|
558
|
+
if (!A) {
|
|
559
559
|
var w = "";
|
|
560
560
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
561
|
-
var
|
|
562
|
-
|
|
563
|
-
var
|
|
564
|
-
e === null ?
|
|
561
|
+
var ie = Rr();
|
|
562
|
+
ie ? w += ie : w += or();
|
|
563
|
+
var W;
|
|
564
|
+
e === null ? W = "null" : _(e) ? W = "array" : e !== void 0 && e.$$typeof === o ? (W = "<" + (j(e.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : W = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", W, w);
|
|
565
565
|
}
|
|
566
|
-
var q =
|
|
566
|
+
var q = Sr(e, i, l, N, L);
|
|
567
567
|
if (q == null)
|
|
568
568
|
return q;
|
|
569
|
-
if (
|
|
570
|
-
var
|
|
571
|
-
if (
|
|
569
|
+
if (A) {
|
|
570
|
+
var ge = i.children;
|
|
571
|
+
if (ge !== void 0)
|
|
572
572
|
if (p)
|
|
573
|
-
if (
|
|
574
|
-
for (var
|
|
575
|
-
|
|
576
|
-
Object.freeze && Object.freeze(
|
|
573
|
+
if (_(ge)) {
|
|
574
|
+
for (var Le = 0; Le < ge.length; Le++)
|
|
575
|
+
lr(ge[Le], e);
|
|
576
|
+
Object.freeze && Object.freeze(ge);
|
|
577
577
|
} else
|
|
578
|
-
|
|
578
|
+
v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
579
579
|
else
|
|
580
|
-
|
|
580
|
+
lr(ge, e);
|
|
581
581
|
}
|
|
582
|
-
if (
|
|
583
|
-
var
|
|
584
|
-
return
|
|
585
|
-
}), Qe =
|
|
586
|
-
if (!
|
|
587
|
-
var
|
|
588
|
-
|
|
582
|
+
if (ye.call(i, "key")) {
|
|
583
|
+
var Te = j(e), se = Object.keys(i).filter(function($r) {
|
|
584
|
+
return $r !== "key";
|
|
585
|
+
}), Qe = se.length > 0 ? "{key: someKey, " + se.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
586
|
+
if (!cr[Te + Qe]) {
|
|
587
|
+
var Mr = se.length > 0 ? "{" + se.join(": ..., ") + ": ...}" : "{}";
|
|
588
|
+
v(`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} />`, Qe,
|
|
593
|
+
<%s key={someKey} {...props} />`, Qe, Te, Mr, Te), cr[Te + Qe] = !0;
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
|
-
return e === d ?
|
|
596
|
+
return e === d ? Lr(q) : Ir(q), q;
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
|
-
function Lr(e, i, l) {
|
|
600
|
-
return cr(e, i, l, !0);
|
|
601
|
-
}
|
|
602
599
|
function Br(e, i, l) {
|
|
603
|
-
return
|
|
600
|
+
return dr(e, i, l, !0);
|
|
601
|
+
}
|
|
602
|
+
function Dr(e, i, l) {
|
|
603
|
+
return dr(e, i, l, !1);
|
|
604
604
|
}
|
|
605
|
-
var
|
|
606
|
-
|
|
607
|
-
})()),
|
|
605
|
+
var Or = Dr, Fr = Br;
|
|
606
|
+
Ge.Fragment = d, Ge.jsx = Or, Ge.jsxs = Fr;
|
|
607
|
+
})()), Ge;
|
|
608
608
|
}
|
|
609
|
-
var
|
|
610
|
-
function
|
|
611
|
-
return
|
|
609
|
+
var fr;
|
|
610
|
+
function Vr() {
|
|
611
|
+
return fr || (fr = 1, process.env.NODE_ENV === "production" ? We.exports = Yr() : We.exports = qr()), We.exports;
|
|
612
612
|
}
|
|
613
|
-
var r =
|
|
614
|
-
const
|
|
615
|
-
container:
|
|
616
|
-
main:
|
|
617
|
-
kundliHeaderNoBorder:
|
|
618
|
-
headerSeparator:
|
|
619
|
-
langDropdownWrap:
|
|
620
|
-
langTrigger:
|
|
621
|
-
langIcon:
|
|
622
|
-
langLabel:
|
|
623
|
-
langMenu:
|
|
624
|
-
langOption:
|
|
625
|
-
},
|
|
613
|
+
var r = Vr();
|
|
614
|
+
const zr = "_container_1e1th_1", Jr = "_main_1e1th_7", Qr = "_kundliHeaderNoBorder_1e1th_12", Xr = "_headerSeparator_1e1th_16", Zr = "_langDropdownWrap_1e1th_21", et = "_langTrigger_1e1th_25", rt = "_langIcon_1e1th_37", tt = "_langLabel_1e1th_44", at = "_langMenu_1e1th_49", nt = "_langOption_1e1th_55", xe = {
|
|
615
|
+
container: zr,
|
|
616
|
+
main: Jr,
|
|
617
|
+
kundliHeaderNoBorder: Qr,
|
|
618
|
+
headerSeparator: Xr,
|
|
619
|
+
langDropdownWrap: Zr,
|
|
620
|
+
langTrigger: et,
|
|
621
|
+
langIcon: rt,
|
|
622
|
+
langLabel: tt,
|
|
623
|
+
langMenu: at,
|
|
624
|
+
langOption: nt
|
|
625
|
+
}, yr = ["en", "hi"], pr = {
|
|
626
626
|
en: "English",
|
|
627
627
|
hi: "हिन्दी"
|
|
628
|
-
},
|
|
628
|
+
}, vr = {
|
|
629
629
|
en: {
|
|
630
630
|
kundli: "Kundli",
|
|
631
631
|
birthChart: "Birth Chart",
|
|
@@ -1057,28 +1057,28 @@ const Vr = "_container_1e1th_1", zr = "_main_1e1th_7", Jr = "_kundliHeaderNoBord
|
|
|
1057
1057
|
astrologyGuidance: "ज्योतिष से सलाह",
|
|
1058
1058
|
selectPackage: "पैकेज चुनें"
|
|
1059
1059
|
}
|
|
1060
|
-
},
|
|
1060
|
+
}, kr = br(null), Un = ({
|
|
1061
1061
|
locale: t,
|
|
1062
1062
|
children: o
|
|
1063
1063
|
}) => {
|
|
1064
|
-
const d = { locale: t, t: (
|
|
1065
|
-
return /* @__PURE__ */ r.jsx(
|
|
1064
|
+
const d = { locale: t, t: (y) => vr[t]?.[y] ?? y };
|
|
1065
|
+
return /* @__PURE__ */ r.jsx(kr.Provider, { value: d, children: o });
|
|
1066
1066
|
};
|
|
1067
|
-
function
|
|
1068
|
-
return
|
|
1067
|
+
function ot() {
|
|
1068
|
+
return rr(kr);
|
|
1069
1069
|
}
|
|
1070
1070
|
const Ye = (t) => {
|
|
1071
|
-
const { priority: o, fetchPriority: c, width: d, height:
|
|
1072
|
-
return
|
|
1071
|
+
const { priority: o, fetchPriority: c, width: d, height: y, ...x } = t;
|
|
1072
|
+
return er.createElement("img", {
|
|
1073
1073
|
...x,
|
|
1074
1074
|
width: d ?? 1,
|
|
1075
|
-
height:
|
|
1075
|
+
height: y ?? 1,
|
|
1076
1076
|
decoding: "async",
|
|
1077
1077
|
loading: x.loading ?? (o ? "eager" : "lazy"),
|
|
1078
1078
|
...c && { fetchPriority: c }
|
|
1079
1079
|
});
|
|
1080
1080
|
};
|
|
1081
|
-
function
|
|
1081
|
+
function it(t) {
|
|
1082
1082
|
if (typeof window > "u" || !window.localStorage)
|
|
1083
1083
|
return null;
|
|
1084
1084
|
try {
|
|
@@ -1087,21 +1087,21 @@ function ot(t) {
|
|
|
1087
1087
|
return null;
|
|
1088
1088
|
}
|
|
1089
1089
|
}
|
|
1090
|
-
function
|
|
1090
|
+
function st(t, o) {
|
|
1091
1091
|
if (!(typeof window > "u" || !window.localStorage))
|
|
1092
1092
|
try {
|
|
1093
1093
|
window.localStorage.setItem(t, o);
|
|
1094
1094
|
} catch {
|
|
1095
1095
|
}
|
|
1096
1096
|
}
|
|
1097
|
-
function
|
|
1097
|
+
function Gn(t) {
|
|
1098
1098
|
if (!(typeof window > "u" || !window.localStorage))
|
|
1099
1099
|
try {
|
|
1100
1100
|
window.localStorage.removeItem(t);
|
|
1101
1101
|
} catch {
|
|
1102
1102
|
}
|
|
1103
1103
|
}
|
|
1104
|
-
function
|
|
1104
|
+
function Kn() {
|
|
1105
1105
|
if (typeof window > "u" || !window.localStorage)
|
|
1106
1106
|
return !1;
|
|
1107
1107
|
try {
|
|
@@ -1111,17 +1111,18 @@ function Un() {
|
|
|
1111
1111
|
return !1;
|
|
1112
1112
|
}
|
|
1113
1113
|
}
|
|
1114
|
-
const
|
|
1115
|
-
function
|
|
1116
|
-
const t =
|
|
1117
|
-
return t &&
|
|
1114
|
+
const wr = "kundli_language";
|
|
1115
|
+
function lt() {
|
|
1116
|
+
const t = it(wr);
|
|
1117
|
+
return t && yr.includes(t) ? t : null;
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1120
|
-
|
|
1119
|
+
function ct(t) {
|
|
1120
|
+
st(wr, t);
|
|
1121
1121
|
}
|
|
1122
|
-
const
|
|
1122
|
+
const tr = br(null), dt = {
|
|
1123
1123
|
fullName: "",
|
|
1124
1124
|
phone: "",
|
|
1125
|
+
phoneCountryCode: "",
|
|
1125
1126
|
gender: "",
|
|
1126
1127
|
email: "",
|
|
1127
1128
|
language_code: "",
|
|
@@ -1129,234 +1130,234 @@ const rr = _r(null), ct = {
|
|
|
1129
1130
|
birthTime: "",
|
|
1130
1131
|
birthTimeUnknown: !1,
|
|
1131
1132
|
birthPlace: ""
|
|
1132
|
-
},
|
|
1133
|
+
}, Wn = ({
|
|
1133
1134
|
locale: t,
|
|
1134
1135
|
showLanguageSelector: o = !0,
|
|
1135
1136
|
showSheet: c,
|
|
1136
1137
|
userId: d,
|
|
1137
|
-
isGlobal:
|
|
1138
|
+
isGlobal: y,
|
|
1138
1139
|
variant: x,
|
|
1139
1140
|
initialFormValues: g,
|
|
1140
1141
|
autoOpenPlanSheet: T,
|
|
1141
|
-
googleMapsApiKey:
|
|
1142
|
-
atlasSearchLocalities:
|
|
1142
|
+
googleMapsApiKey: k,
|
|
1143
|
+
atlasSearchLocalities: F,
|
|
1143
1144
|
googleMapsAutocompleteEnabled: P,
|
|
1144
1145
|
logoUrl: E,
|
|
1145
1146
|
reportImageUrl: u,
|
|
1146
1147
|
reportImagePriority: I,
|
|
1147
1148
|
backgroundImagePriority: h,
|
|
1148
1149
|
universityLogoUrls: M,
|
|
1149
|
-
sampleReportHref:
|
|
1150
|
-
onViewSampleReport:
|
|
1151
|
-
ctaHref:
|
|
1152
|
-
onCtaClick:
|
|
1153
|
-
onBack:
|
|
1154
|
-
readMoreReviewsHref:
|
|
1155
|
-
onProceed:
|
|
1150
|
+
sampleReportHref: m,
|
|
1151
|
+
onViewSampleReport: f,
|
|
1152
|
+
ctaHref: v,
|
|
1153
|
+
onCtaClick: X,
|
|
1154
|
+
onBack: z,
|
|
1155
|
+
readMoreReviewsHref: H,
|
|
1156
|
+
onProceed: D,
|
|
1156
1157
|
proceedHref: $,
|
|
1157
|
-
originalPriceLabel:
|
|
1158
|
+
originalPriceLabel: C,
|
|
1158
1159
|
discountedPriceLabel: S,
|
|
1159
1160
|
discountPillLabel: re,
|
|
1160
|
-
analytics:
|
|
1161
|
-
onProceedGuidance:
|
|
1161
|
+
analytics: J,
|
|
1162
|
+
onProceedGuidance: O,
|
|
1162
1163
|
onLocaleChange: j,
|
|
1163
|
-
imageComponent:
|
|
1164
|
-
resolvedUtmBannerImageUrl:
|
|
1165
|
-
children:
|
|
1164
|
+
imageComponent: K = Ye,
|
|
1165
|
+
resolvedUtmBannerImageUrl: Y,
|
|
1166
|
+
children: G
|
|
1166
1167
|
}) => {
|
|
1167
|
-
const [
|
|
1168
|
-
...
|
|
1168
|
+
const [Pe, Z] = U("landing"), [Q, ae] = U(t ?? "en"), [te, Ae] = U({
|
|
1169
|
+
...dt,
|
|
1169
1170
|
...g
|
|
1170
|
-
}), _e =
|
|
1171
|
-
|
|
1172
|
-
const
|
|
1173
|
-
|
|
1174
|
-
}, []),
|
|
1175
|
-
|
|
1176
|
-
}, [
|
|
1171
|
+
}), _e = B(!0);
|
|
1172
|
+
V(() => {
|
|
1173
|
+
const ce = lt();
|
|
1174
|
+
ce && ae(ce);
|
|
1175
|
+
}, []), V(() => {
|
|
1176
|
+
ct(Q);
|
|
1177
|
+
}, [Q]), V(() => {
|
|
1177
1178
|
if (_e.current) {
|
|
1178
1179
|
_e.current = !1;
|
|
1179
1180
|
return;
|
|
1180
1181
|
}
|
|
1181
|
-
j?.(
|
|
1182
|
-
}, [
|
|
1183
|
-
const
|
|
1182
|
+
j?.(Q);
|
|
1183
|
+
}, [Q, j]);
|
|
1184
|
+
const le = Xe(
|
|
1184
1185
|
() => ({
|
|
1185
1186
|
locale: t,
|
|
1186
1187
|
showLanguageSelector: o,
|
|
1187
1188
|
showSheet: c,
|
|
1188
1189
|
userId: d,
|
|
1189
|
-
isGlobal:
|
|
1190
|
+
isGlobal: y,
|
|
1190
1191
|
variant: x,
|
|
1191
1192
|
initialFormValues: g,
|
|
1192
1193
|
autoOpenPlanSheet: T,
|
|
1193
|
-
googleMapsApiKey:
|
|
1194
|
-
atlasSearchLocalities:
|
|
1194
|
+
googleMapsApiKey: k,
|
|
1195
|
+
atlasSearchLocalities: F,
|
|
1195
1196
|
googleMapsAutocompleteEnabled: P,
|
|
1196
1197
|
logoUrl: E,
|
|
1197
1198
|
reportImageUrl: u,
|
|
1198
1199
|
reportImagePriority: I,
|
|
1199
1200
|
backgroundImagePriority: h,
|
|
1200
1201
|
universityLogoUrls: M,
|
|
1201
|
-
sampleReportHref:
|
|
1202
|
-
onViewSampleReport:
|
|
1203
|
-
ctaHref:
|
|
1204
|
-
onCtaClick:
|
|
1205
|
-
onBack:
|
|
1206
|
-
readMoreReviewsHref:
|
|
1207
|
-
onProceed:
|
|
1202
|
+
sampleReportHref: m,
|
|
1203
|
+
onViewSampleReport: f,
|
|
1204
|
+
ctaHref: v,
|
|
1205
|
+
onCtaClick: X,
|
|
1206
|
+
onBack: z,
|
|
1207
|
+
readMoreReviewsHref: H,
|
|
1208
|
+
onProceed: D,
|
|
1208
1209
|
proceedHref: $,
|
|
1209
|
-
originalPriceLabel:
|
|
1210
|
+
originalPriceLabel: C,
|
|
1210
1211
|
discountedPriceLabel: S,
|
|
1211
1212
|
discountPillLabel: re,
|
|
1212
|
-
analytics:
|
|
1213
|
-
onProceedGuidance:
|
|
1213
|
+
analytics: J,
|
|
1214
|
+
onProceedGuidance: O,
|
|
1214
1215
|
onLocaleChange: j,
|
|
1215
|
-
imageComponent:
|
|
1216
|
-
resolvedUtmBannerImageUrl:
|
|
1216
|
+
imageComponent: K,
|
|
1217
|
+
resolvedUtmBannerImageUrl: Y
|
|
1217
1218
|
}),
|
|
1218
1219
|
[
|
|
1219
1220
|
t,
|
|
1220
1221
|
o,
|
|
1221
1222
|
c,
|
|
1222
1223
|
d,
|
|
1223
|
-
|
|
1224
|
+
y,
|
|
1224
1225
|
x,
|
|
1225
1226
|
g,
|
|
1226
1227
|
T,
|
|
1227
|
-
|
|
1228
|
-
|
|
1228
|
+
k,
|
|
1229
|
+
F,
|
|
1229
1230
|
P,
|
|
1230
1231
|
E,
|
|
1231
1232
|
u,
|
|
1232
1233
|
I,
|
|
1233
1234
|
h,
|
|
1234
1235
|
M,
|
|
1235
|
-
f,
|
|
1236
1236
|
m,
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1237
|
+
f,
|
|
1238
|
+
v,
|
|
1239
|
+
X,
|
|
1240
|
+
z,
|
|
1241
|
+
H,
|
|
1242
|
+
D,
|
|
1242
1243
|
$,
|
|
1243
|
-
|
|
1244
|
+
C,
|
|
1244
1245
|
S,
|
|
1245
1246
|
re,
|
|
1246
|
-
|
|
1247
|
-
|
|
1247
|
+
J,
|
|
1248
|
+
O,
|
|
1248
1249
|
j,
|
|
1249
|
-
|
|
1250
|
-
|
|
1250
|
+
K,
|
|
1251
|
+
Y
|
|
1251
1252
|
]
|
|
1252
|
-
),
|
|
1253
|
-
|
|
1254
|
-
}, [
|
|
1255
|
-
|
|
1256
|
-
}, [
|
|
1253
|
+
), ue = ke(() => {
|
|
1254
|
+
Z("form");
|
|
1255
|
+
}, [le.analytics]), ee = ke(() => {
|
|
1256
|
+
Z("landing"), le.onBack?.();
|
|
1257
|
+
}, [le.onBack]), me = Xe(
|
|
1257
1258
|
() => ({
|
|
1258
|
-
view:
|
|
1259
|
-
locale:
|
|
1260
|
-
setLocale:
|
|
1261
|
-
config:
|
|
1262
|
-
formValues:
|
|
1263
|
-
setFormValues:
|
|
1264
|
-
goToForm:
|
|
1265
|
-
goToPage:
|
|
1266
|
-
onProceed:
|
|
1267
|
-
onProceedGuidance:
|
|
1259
|
+
view: Pe,
|
|
1260
|
+
locale: Q,
|
|
1261
|
+
setLocale: ae,
|
|
1262
|
+
config: le,
|
|
1263
|
+
formValues: te,
|
|
1264
|
+
setFormValues: Ae,
|
|
1265
|
+
goToForm: ue,
|
|
1266
|
+
goToPage: ee,
|
|
1267
|
+
onProceed: le.onProceed,
|
|
1268
|
+
onProceedGuidance: le.onProceedGuidance
|
|
1268
1269
|
}),
|
|
1269
|
-
[
|
|
1270
|
+
[Pe, Q, le, te, ue, ee]
|
|
1270
1271
|
);
|
|
1271
|
-
return /* @__PURE__ */ r.jsx(
|
|
1272
|
+
return /* @__PURE__ */ r.jsx(tr.Provider, { value: me, children: G });
|
|
1272
1273
|
};
|
|
1273
|
-
function
|
|
1274
|
-
return
|
|
1274
|
+
function De() {
|
|
1275
|
+
return rr(tr);
|
|
1275
1276
|
}
|
|
1276
|
-
function
|
|
1277
|
-
const t =
|
|
1277
|
+
function Hn() {
|
|
1278
|
+
const t = rr(tr);
|
|
1278
1279
|
if (!t)
|
|
1279
1280
|
throw new Error("useKundliContextOrThrow must be used within KundliProvider");
|
|
1280
1281
|
return t;
|
|
1281
1282
|
}
|
|
1282
|
-
const
|
|
1283
|
-
header:
|
|
1284
|
-
centered:
|
|
1285
|
-
},
|
|
1283
|
+
const ut = "_header_19172_1", mt = "_centered_19172_8", hr = {
|
|
1284
|
+
header: ut,
|
|
1285
|
+
centered: mt
|
|
1286
|
+
}, ft = ({
|
|
1286
1287
|
t,
|
|
1287
1288
|
onBack: o,
|
|
1288
1289
|
className: c = "",
|
|
1289
1290
|
align: d = "left"
|
|
1290
1291
|
}) => /* @__PURE__ */ r.jsx(
|
|
1291
|
-
|
|
1292
|
+
Ur,
|
|
1292
1293
|
{
|
|
1293
1294
|
title: t("formTitle"),
|
|
1294
1295
|
subtitle: t("formSubtitle"),
|
|
1295
1296
|
onBack: o,
|
|
1296
1297
|
backAriaLabel: t("back"),
|
|
1297
|
-
className: `${
|
|
1298
|
+
className: `${hr.header} ${d === "center" ? hr.centered : ""} ${c}`
|
|
1298
1299
|
}
|
|
1299
|
-
),
|
|
1300
|
-
wrap:
|
|
1301
|
-
card:
|
|
1302
|
-
cardInner:
|
|
1303
|
-
field:
|
|
1304
|
-
labelRow:
|
|
1305
|
-
label:
|
|
1306
|
-
req:
|
|
1307
|
-
help:
|
|
1308
|
-
choiceRow:
|
|
1309
|
-
choiceBtn:
|
|
1310
|
-
choiceBtnActive:
|
|
1311
|
-
infoBtn:
|
|
1300
|
+
), pt = "_wrap_119w3_1", ht = "_card_119w3_5", gt = "_cardInner_119w3_12", _t = "_field_119w3_44", bt = "_labelRow_119w3_48", yt = "_label_119w3_48", vt = "_req_119w3_57", kt = "_help_119w3_61", wt = "_choiceRow_119w3_68", xt = "_choiceBtn_119w3_74", Pt = "_choiceBtnActive_119w3_99", Ct = "_infoBtn_119w3_105", At = "_infoImg_119w3_122", jt = "_infoWrap_119w3_128", Tt = "_tooltip_119w3_134", Nt = "_tooltipArrow_119w3_150", St = "_inputWrap_119w3_161", Rt = "_isdWrap_119w3_165", Et = "_phoneInputGroup_119w3_169", It = "_isdSelectWrap_119w3_178", Lt = "_isdSelectTrigger_119w3_197", Bt = "_isdDropdown_119w3_214", Dt = "_isdSearchWrap_119w3_229", Ot = "_isdSearchInput_119w3_237", Ft = "_isdOption_119w3_255", Mt = "_isdOptionActive_119w3_275", $t = "_isdCountryName_119w3_281", Ut = "_isdCountryCode_119w3_288", Gt = "_isdNoResult_119w3_295", Kt = "_suggestions_119w3_302", Wt = "_suggestionItem_119w3_315", Ht = "_suggestionMain_119w3_333", Yt = "_suggestionSecondary_119w3_339", qt = "_suggestionsHint_119w3_344", Vt = "_timePopover_119w3_366", zt = "_timePickerRow_119w3_382", Jt = "_timePickerSelect_119w3_388", Qt = "_timePickerColon_119w3_404", Xt = "_meridiemToggle_119w3_412", Zt = "_meridiemBtn_119w3_421", ea = "_meridiemActive_119w3_436", ra = "_timePopoverActions_119w3_441", ta = "_timePopoverBtn_119w3_447", aa = "_timePopoverOk_119w3_466", na = "_input_119w3_161", oa = "_phoneInput_119w3_169", ia = "_iconBtn_119w3_519", sa = "_iconBtnInteractive_119w3_525", la = "_iconImg_119w3_544", ca = "_checkboxRow_119w3_550", da = "_checkbox_119w3_550", ua = "_checkboxText_119w3_588", n = {
|
|
1301
|
+
wrap: pt,
|
|
1302
|
+
card: ht,
|
|
1303
|
+
cardInner: gt,
|
|
1304
|
+
field: _t,
|
|
1305
|
+
labelRow: bt,
|
|
1306
|
+
label: yt,
|
|
1307
|
+
req: vt,
|
|
1308
|
+
help: kt,
|
|
1309
|
+
choiceRow: wt,
|
|
1310
|
+
choiceBtn: xt,
|
|
1311
|
+
choiceBtnActive: Pt,
|
|
1312
|
+
infoBtn: Ct,
|
|
1312
1313
|
infoImg: At,
|
|
1313
|
-
infoWrap:
|
|
1314
|
-
tooltip:
|
|
1315
|
-
tooltipArrow:
|
|
1316
|
-
inputWrap:
|
|
1317
|
-
isdWrap:
|
|
1318
|
-
phoneInputGroup:
|
|
1319
|
-
isdSelectWrap:
|
|
1320
|
-
isdSelectTrigger:
|
|
1321
|
-
isdDropdown:
|
|
1322
|
-
isdSearchWrap:
|
|
1323
|
-
isdSearchInput:
|
|
1324
|
-
isdOption:
|
|
1325
|
-
isdOptionActive:
|
|
1326
|
-
isdCountryName:
|
|
1327
|
-
isdCountryCode:
|
|
1328
|
-
isdNoResult:
|
|
1329
|
-
suggestions:
|
|
1330
|
-
suggestionItem:
|
|
1331
|
-
suggestionMain:
|
|
1332
|
-
suggestionSecondary:
|
|
1333
|
-
suggestionsHint:
|
|
1334
|
-
timePopover:
|
|
1335
|
-
timePickerRow:
|
|
1336
|
-
timePickerSelect:
|
|
1337
|
-
timePickerColon:
|
|
1338
|
-
meridiemToggle:
|
|
1339
|
-
meridiemBtn:
|
|
1340
|
-
meridiemActive:
|
|
1341
|
-
timePopoverActions:
|
|
1342
|
-
timePopoverBtn:
|
|
1343
|
-
timePopoverOk:
|
|
1344
|
-
input:
|
|
1345
|
-
phoneInput:
|
|
1346
|
-
iconBtn:
|
|
1347
|
-
iconBtnInteractive:
|
|
1348
|
-
iconImg:
|
|
1349
|
-
checkboxRow:
|
|
1350
|
-
checkbox:
|
|
1351
|
-
checkboxText:
|
|
1314
|
+
infoWrap: jt,
|
|
1315
|
+
tooltip: Tt,
|
|
1316
|
+
tooltipArrow: Nt,
|
|
1317
|
+
inputWrap: St,
|
|
1318
|
+
isdWrap: Rt,
|
|
1319
|
+
phoneInputGroup: Et,
|
|
1320
|
+
isdSelectWrap: It,
|
|
1321
|
+
isdSelectTrigger: Lt,
|
|
1322
|
+
isdDropdown: Bt,
|
|
1323
|
+
isdSearchWrap: Dt,
|
|
1324
|
+
isdSearchInput: Ot,
|
|
1325
|
+
isdOption: Ft,
|
|
1326
|
+
isdOptionActive: Mt,
|
|
1327
|
+
isdCountryName: $t,
|
|
1328
|
+
isdCountryCode: Ut,
|
|
1329
|
+
isdNoResult: Gt,
|
|
1330
|
+
suggestions: Kt,
|
|
1331
|
+
suggestionItem: Wt,
|
|
1332
|
+
suggestionMain: Ht,
|
|
1333
|
+
suggestionSecondary: Yt,
|
|
1334
|
+
suggestionsHint: qt,
|
|
1335
|
+
timePopover: Vt,
|
|
1336
|
+
timePickerRow: zt,
|
|
1337
|
+
timePickerSelect: Jt,
|
|
1338
|
+
timePickerColon: Qt,
|
|
1339
|
+
meridiemToggle: Xt,
|
|
1340
|
+
meridiemBtn: Zt,
|
|
1341
|
+
meridiemActive: ea,
|
|
1342
|
+
timePopoverActions: ra,
|
|
1343
|
+
timePopoverBtn: ta,
|
|
1344
|
+
timePopoverOk: aa,
|
|
1345
|
+
input: na,
|
|
1346
|
+
phoneInput: oa,
|
|
1347
|
+
iconBtn: ia,
|
|
1348
|
+
iconBtnInteractive: sa,
|
|
1349
|
+
iconImg: la,
|
|
1350
|
+
checkboxRow: ca,
|
|
1351
|
+
checkbox: da,
|
|
1352
|
+
checkboxText: ua
|
|
1352
1353
|
};
|
|
1353
1354
|
let He = null;
|
|
1354
|
-
const
|
|
1355
|
-
const
|
|
1355
|
+
const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : He || (He = new Promise((c, d) => {
|
|
1356
|
+
const y = document.querySelector(
|
|
1356
1357
|
'script[data-google-maps-places="true"]'
|
|
1357
1358
|
);
|
|
1358
|
-
if (
|
|
1359
|
-
|
|
1359
|
+
if (y) {
|
|
1360
|
+
y.addEventListener("load", () => c()), y.addEventListener(
|
|
1360
1361
|
"error",
|
|
1361
1362
|
() => d(new Error("Failed to load Google Maps API"))
|
|
1362
1363
|
);
|
|
@@ -1364,7 +1365,7 @@ const ua = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1364
1365
|
}
|
|
1365
1366
|
const x = document.createElement("script"), g = new URL("https://maps.googleapis.com/maps/api/js");
|
|
1366
1367
|
g.searchParams.set("key", t), g.searchParams.set("libraries", "places"), g.searchParams.set("loading", "async"), o && g.searchParams.set("language", o), x.src = g.toString(), x.async = !0, x.defer = !0, x.setAttribute("data-google-maps-places", "true"), x.onload = () => {
|
|
1367
|
-
const T = Date.now(),
|
|
1368
|
+
const T = Date.now(), k = () => {
|
|
1368
1369
|
if (window.google?.maps?.places) {
|
|
1369
1370
|
c();
|
|
1370
1371
|
return;
|
|
@@ -1377,51 +1378,51 @@ const ua = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1377
1378
|
);
|
|
1378
1379
|
return;
|
|
1379
1380
|
}
|
|
1380
|
-
window.setTimeout(
|
|
1381
|
+
window.setTimeout(k, 50);
|
|
1381
1382
|
};
|
|
1382
|
-
|
|
1383
|
+
k();
|
|
1383
1384
|
}, x.onerror = () => d(new Error("Failed to load Google Maps API")), document.head.appendChild(x);
|
|
1384
|
-
}), He),
|
|
1385
|
-
const { apiKey: o, language: c = "en", restrictCountry: d, deferLoad:
|
|
1386
|
-
|
|
1387
|
-
}, [
|
|
1388
|
-
|
|
1385
|
+
}), He), fa = (t) => {
|
|
1386
|
+
const { apiKey: o, language: c = "en", restrictCountry: d, deferLoad: y = !1 } = t, [x, g] = U(!1), [T, k] = U([]), [F, P] = U(!1), [E, u] = U(null), [I, h] = U(!y), M = B(null), m = B(null), f = B(null), v = ke(() => {
|
|
1387
|
+
y && h(!0);
|
|
1388
|
+
}, [y]);
|
|
1389
|
+
V(() => {
|
|
1389
1390
|
if (!o || !I) {
|
|
1390
1391
|
g(!1), u(null);
|
|
1391
1392
|
return;
|
|
1392
1393
|
}
|
|
1393
|
-
|
|
1394
|
+
ma(o, c).then(() => {
|
|
1394
1395
|
M.current = new google.maps.places.AutocompleteService();
|
|
1395
|
-
const
|
|
1396
|
-
|
|
1397
|
-
}).catch((
|
|
1398
|
-
g(!1), u(
|
|
1396
|
+
const D = document.createElement("div");
|
|
1397
|
+
m.current = new google.maps.places.PlacesService(D), f.current = new google.maps.places.AutocompleteSessionToken(), g(!0), u(null);
|
|
1398
|
+
}).catch((D) => {
|
|
1399
|
+
g(!1), u(D?.message || "Failed to load location service");
|
|
1399
1400
|
});
|
|
1400
1401
|
}, [o, c, I]);
|
|
1401
|
-
const
|
|
1402
|
-
async (
|
|
1403
|
-
if (!
|
|
1404
|
-
|
|
1402
|
+
const X = ke(
|
|
1403
|
+
async (D) => {
|
|
1404
|
+
if (!D || D.length < 2 || !M.current) {
|
|
1405
|
+
k([]);
|
|
1405
1406
|
return;
|
|
1406
1407
|
}
|
|
1407
1408
|
P(!0);
|
|
1408
1409
|
try {
|
|
1409
1410
|
const $ = {
|
|
1410
|
-
input:
|
|
1411
|
+
input: D,
|
|
1411
1412
|
types: ["(cities)"],
|
|
1412
|
-
sessionToken:
|
|
1413
|
+
sessionToken: f.current ?? void 0
|
|
1413
1414
|
};
|
|
1414
1415
|
d && ($.componentRestrictions = { country: d });
|
|
1415
|
-
const
|
|
1416
|
+
const C = await new Promise((S, re) => {
|
|
1416
1417
|
M.current.getPlacePredictions(
|
|
1417
1418
|
$,
|
|
1418
|
-
(
|
|
1419
|
-
|
|
1419
|
+
(J, O) => {
|
|
1420
|
+
O === google.maps.places.PlacesServiceStatus.OK && J ? S(J) : O === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? S([]) : re(new Error(`Places API error: ${O}`));
|
|
1420
1421
|
}
|
|
1421
1422
|
);
|
|
1422
1423
|
});
|
|
1423
|
-
|
|
1424
|
-
|
|
1424
|
+
k(
|
|
1425
|
+
C.map((S) => ({
|
|
1425
1426
|
place_id: S.place_id,
|
|
1426
1427
|
description: S.description,
|
|
1427
1428
|
structured_formatting: {
|
|
@@ -1431,102 +1432,102 @@ const ua = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1431
1432
|
}))
|
|
1432
1433
|
);
|
|
1433
1434
|
} catch {
|
|
1434
|
-
|
|
1435
|
+
k([]);
|
|
1435
1436
|
} finally {
|
|
1436
1437
|
P(!1);
|
|
1437
1438
|
}
|
|
1438
1439
|
},
|
|
1439
1440
|
[d]
|
|
1440
|
-
),
|
|
1441
|
-
async (
|
|
1442
|
-
if (!
|
|
1441
|
+
), z = ke(
|
|
1442
|
+
async (D) => {
|
|
1443
|
+
if (!m.current) return null;
|
|
1443
1444
|
try {
|
|
1444
1445
|
const $ = await new Promise(
|
|
1445
|
-
(j,
|
|
1446
|
-
|
|
1446
|
+
(j, K) => {
|
|
1447
|
+
m.current.getDetails(
|
|
1447
1448
|
{
|
|
1448
|
-
placeId:
|
|
1449
|
+
placeId: D,
|
|
1449
1450
|
fields: ["geometry", "address_components", "formatted_address"],
|
|
1450
|
-
sessionToken:
|
|
1451
|
+
sessionToken: f.current ?? void 0
|
|
1451
1452
|
},
|
|
1452
|
-
(
|
|
1453
|
-
|
|
1453
|
+
(Y, G) => {
|
|
1454
|
+
G === google.maps.places.PlacesServiceStatus.OK && Y ? j(Y) : K(new Error(`Place details error: ${G}`));
|
|
1454
1455
|
}
|
|
1455
1456
|
);
|
|
1456
1457
|
}
|
|
1457
1458
|
);
|
|
1458
|
-
|
|
1459
|
-
const
|
|
1460
|
-
let re = "",
|
|
1459
|
+
f.current = new google.maps.places.AutocompleteSessionToken();
|
|
1460
|
+
const C = $.geometry?.location?.lat() || 0, S = $.geometry?.location?.lng() || 0;
|
|
1461
|
+
let re = "", J = "", O = "";
|
|
1461
1462
|
return $.address_components?.forEach((j) => {
|
|
1462
|
-
j.types.includes("locality") && (re = j.long_name), j.types.includes("administrative_area_level_1") && (
|
|
1463
|
+
j.types.includes("locality") && (re = j.long_name), j.types.includes("administrative_area_level_1") && (J = j.long_name), j.types.includes("country") && (O = j.long_name);
|
|
1463
1464
|
}), {
|
|
1464
1465
|
display_name: $.formatted_address || "",
|
|
1465
|
-
lat:
|
|
1466
|
+
lat: C,
|
|
1466
1467
|
lng: S,
|
|
1467
1468
|
city: re,
|
|
1468
|
-
state:
|
|
1469
|
-
country:
|
|
1469
|
+
state: J,
|
|
1470
|
+
country: O
|
|
1470
1471
|
};
|
|
1471
1472
|
} catch {
|
|
1472
1473
|
return null;
|
|
1473
1474
|
}
|
|
1474
1475
|
},
|
|
1475
1476
|
[]
|
|
1476
|
-
),
|
|
1477
|
+
), H = ke(() => k([]), []);
|
|
1477
1478
|
return {
|
|
1478
1479
|
isLoaded: x,
|
|
1479
1480
|
predictions: T,
|
|
1480
|
-
isSearching:
|
|
1481
|
+
isSearching: F,
|
|
1481
1482
|
loadError: E,
|
|
1482
|
-
searchPlaces:
|
|
1483
|
-
getPlaceDetails:
|
|
1484
|
-
clearPredictions:
|
|
1485
|
-
triggerLoad:
|
|
1483
|
+
searchPlaces: X,
|
|
1484
|
+
getPlaceDetails: z,
|
|
1485
|
+
clearPredictions: H,
|
|
1486
|
+
triggerLoad: v
|
|
1486
1487
|
// Call this to start loading Google Maps when deferred
|
|
1487
1488
|
};
|
|
1488
|
-
},
|
|
1489
|
+
}, gr = (t) => typeof t == "number" && Number.isFinite(t), pa = (t) => {
|
|
1489
1490
|
const o = typeof t?.limit == "number" && t.limit > 0 ? Math.min(t.limit, 20) : 8, c = typeof t?.offset == "number" && t.offset >= 0 ? t.offset : 0;
|
|
1490
1491
|
return {
|
|
1491
1492
|
limit: o,
|
|
1492
1493
|
offset: c,
|
|
1493
1494
|
restrictCountry: t?.restrictCountry
|
|
1494
1495
|
};
|
|
1495
|
-
},
|
|
1496
|
-
const { searchLocalities: o, restrictCountry: c } = t, [d,
|
|
1497
|
-
|
|
1498
|
-
|
|
1496
|
+
}, ha = (t) => {
|
|
1497
|
+
const { searchLocalities: o, restrictCountry: c } = t, [d, y] = U([]), [x, g] = U(!1), [T, k] = U(null), F = B(0);
|
|
1498
|
+
V(() => {
|
|
1499
|
+
k(null);
|
|
1499
1500
|
}, [o]);
|
|
1500
|
-
const P =
|
|
1501
|
+
const P = ke(
|
|
1501
1502
|
async (u) => {
|
|
1502
1503
|
if (!u || u.length < 2 || !o) {
|
|
1503
|
-
|
|
1504
|
+
y([]);
|
|
1504
1505
|
return;
|
|
1505
1506
|
}
|
|
1506
|
-
const I = ++
|
|
1507
|
-
g(!0),
|
|
1507
|
+
const I = ++F.current;
|
|
1508
|
+
g(!0), k(null);
|
|
1508
1509
|
try {
|
|
1509
|
-
const h =
|
|
1510
|
-
if (I !==
|
|
1511
|
-
const
|
|
1512
|
-
(
|
|
1513
|
-
).map((
|
|
1514
|
-
id:
|
|
1515
|
-
description:
|
|
1516
|
-
secondary_text:
|
|
1517
|
-
lat:
|
|
1518
|
-
lng:
|
|
1510
|
+
const h = pa({ restrictCountry: c }), M = await o(u, h);
|
|
1511
|
+
if (I !== F.current) return;
|
|
1512
|
+
const m = (M || []).filter(
|
|
1513
|
+
(f) => !!f?.id && !!f?.description && gr(f?.lat) && gr(f?.lng)
|
|
1514
|
+
).map((f) => ({
|
|
1515
|
+
id: f.id,
|
|
1516
|
+
description: f.description,
|
|
1517
|
+
secondary_text: f.secondaryText,
|
|
1518
|
+
lat: f.lat,
|
|
1519
|
+
lng: f.lng
|
|
1519
1520
|
}));
|
|
1520
|
-
|
|
1521
|
+
y(m);
|
|
1521
1522
|
} catch (h) {
|
|
1522
|
-
if (I !==
|
|
1523
|
-
|
|
1523
|
+
if (I !== F.current) return;
|
|
1524
|
+
y([]), k(h?.message || "Failed to fetch locations");
|
|
1524
1525
|
} finally {
|
|
1525
|
-
I ===
|
|
1526
|
+
I === F.current && g(!1);
|
|
1526
1527
|
}
|
|
1527
1528
|
},
|
|
1528
1529
|
[c, o]
|
|
1529
|
-
), E =
|
|
1530
|
+
), E = ke(() => y([]), []);
|
|
1530
1531
|
return {
|
|
1531
1532
|
predictions: d,
|
|
1532
1533
|
isSearching: x,
|
|
@@ -1534,12 +1535,12 @@ const ua = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1534
1535
|
searchPlaces: P,
|
|
1535
1536
|
clearPredictions: E
|
|
1536
1537
|
};
|
|
1537
|
-
},
|
|
1538
|
+
}, Be = {
|
|
1538
1539
|
time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
|
|
1539
1540
|
location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
|
|
1540
1541
|
date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
1541
1542
|
info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
|
|
1542
|
-
},
|
|
1543
|
+
}, xr = [
|
|
1543
1544
|
{ code: "+1", country: "USA / Canada" },
|
|
1544
1545
|
{ code: "+7", country: "Russia / Kazakhstan" },
|
|
1545
1546
|
{ code: "+20", country: "Egypt" },
|
|
@@ -1609,24 +1610,22 @@ const ua = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1609
1610
|
{ code: "+975", country: "Bhutan" },
|
|
1610
1611
|
{ code: "+976", country: "Mongolia" },
|
|
1611
1612
|
{ code: "+977", country: "Nepal" }
|
|
1612
|
-
]
|
|
1613
|
-
wr.map((t) => t.code);
|
|
1614
|
-
const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr), ha = (t) => tr(t).length === xr, ga = (t, o, c) => ha(t) ? c.phone ? { shouldTrack: !1 } : (c.phone = !0, { shouldTrack: !0, fullPhone: `${o}-${tr(t)}` }) : (c.phone = !1, { shouldTrack: !1 }), _a = {}, ba = ({
|
|
1613
|
+
], Ze = xr.map((t) => t.code), Pr = 10, ar = (t) => t.replace(/\D/g, ""), _r = (t) => ar(t).slice(0, Pr), ga = (t) => ar(t).length === Pr, _a = (t, o, c) => ga(t) ? c.phone ? { shouldTrack: !1 } : (c.phone = !0, { shouldTrack: !0, fullPhone: `${o}-${ar(t)}` }) : (c.phone = !1, { shouldTrack: !1 }), ba = {}, ya = ({
|
|
1615
1614
|
t,
|
|
1616
1615
|
values: o,
|
|
1617
1616
|
onChange: c,
|
|
1618
1617
|
phoneIsdCode: d,
|
|
1619
|
-
onPhoneIsdCodeChange:
|
|
1618
|
+
onPhoneIsdCodeChange: y,
|
|
1620
1619
|
showV1ExtraFields: x = !1,
|
|
1621
1620
|
analytics: g,
|
|
1622
1621
|
googleMapsApiKey: T,
|
|
1623
|
-
atlasSearchLocalities:
|
|
1624
|
-
googleMapsAutocompleteEnabled:
|
|
1622
|
+
atlasSearchLocalities: k,
|
|
1623
|
+
googleMapsAutocompleteEnabled: F,
|
|
1625
1624
|
className: P = ""
|
|
1626
1625
|
}) => {
|
|
1627
|
-
const E =
|
|
1626
|
+
const E = De(), u = E?.config?.analytics ?? g, I = E?.config.isGlobal ?? !0, h = E?.config?.googleMapsApiKey, M = E?.config?.atlasSearchLocalities, m = E?.config?.googleMapsAutocompleteEnabled, [f, v] = U(!1), [X, z] = U(""), H = B(null), D = B(null), $ = B({}), C = (a) => c({ ...o, ...a }), S = (a, s) => {
|
|
1628
1627
|
if (a === "phone") {
|
|
1629
|
-
const R =
|
|
1628
|
+
const R = _a(s, d, $.current);
|
|
1630
1629
|
R.shouldTrack && u?.trackPhoneSectionFilled?.({ phone: R.fullPhone });
|
|
1631
1630
|
return;
|
|
1632
1631
|
}
|
|
@@ -1639,102 +1638,102 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1639
1638
|
}, re = (a) => {
|
|
1640
1639
|
const s = a.target.value;
|
|
1641
1640
|
s.trim() && u?.trackEmailSectionFilled?.({ email: s });
|
|
1642
|
-
},
|
|
1643
|
-
|
|
1644
|
-
const
|
|
1641
|
+
}, J = X.trim().toLowerCase(), O = xr.filter((a) => J ? a.country.toLowerCase().includes(J) || a.code.includes(J) : !0), j = B(null);
|
|
1642
|
+
B(null);
|
|
1643
|
+
const K = B(null), Y = B(0), G = B(null), [Pe, Z] = U(!1), [Q, ae] = U({ hour12: 12, minute: "00", meridiem: "AM" }), te = (a) => String(a).padStart(2, "0"), Ae = (a) => {
|
|
1645
1644
|
const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1646
1645
|
if (!s) return a;
|
|
1647
|
-
const R = Number(s[1]),
|
|
1648
|
-
return `${R % 12 === 0 ? 12 : R % 12}:${
|
|
1646
|
+
const R = Number(s[1]), he = s[2], $e = R >= 12 ? "PM" : "AM";
|
|
1647
|
+
return `${R % 12 === 0 ? 12 : R % 12}:${he} ${$e}`;
|
|
1649
1648
|
}, _e = (a) => {
|
|
1650
1649
|
const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1651
1650
|
if (!s) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1652
|
-
const R = Number(s[1]),
|
|
1653
|
-
return { hour12: R % 12 === 0 ? 12 : R % 12, minute:
|
|
1654
|
-
},
|
|
1651
|
+
const R = Number(s[1]), he = s[2], $e = R >= 12 ? "PM" : "AM";
|
|
1652
|
+
return { hour12: R % 12 === 0 ? 12 : R % 12, minute: he, meridiem: $e };
|
|
1653
|
+
}, le = (a) => {
|
|
1655
1654
|
const s = Math.min(12, Math.max(1, a.hour12)), R = /^([0-5]\d)$/.test(a.minute) ? a.minute : "00";
|
|
1656
|
-
let
|
|
1657
|
-
return a.meridiem === "PM" && (
|
|
1658
|
-
},
|
|
1655
|
+
let he = s % 12;
|
|
1656
|
+
return a.meridiem === "PM" && (he += 12), `${te(he)}:${R}`;
|
|
1657
|
+
}, ue = B(null), [ee, me] = U(!1), ce = B(o.birthPlace ?? ""), [fe, pe] = U(
|
|
1659
1658
|
null
|
|
1660
|
-
),
|
|
1661
|
-
apiKey: ne ?
|
|
1659
|
+
), be = T ?? h ?? ba?.VITE_GOOGLE_MAPS_API_KEY, je = k ?? M, ne = F ?? m ?? !0, oe = (o.birthPlace ?? "").trim(), Ce = I ? void 0 : "in", de = fa({
|
|
1660
|
+
apiKey: ne ? be : void 0,
|
|
1662
1661
|
language: "en",
|
|
1663
|
-
restrictCountry:
|
|
1664
|
-
}),
|
|
1665
|
-
searchLocalities: ne ? void 0 :
|
|
1666
|
-
restrictCountry:
|
|
1667
|
-
}),
|
|
1662
|
+
restrictCountry: Ce
|
|
1663
|
+
}), ve = ha({
|
|
1664
|
+
searchLocalities: ne ? void 0 : je,
|
|
1665
|
+
restrictCountry: Ce
|
|
1666
|
+
}), we = ne ? de.predictions.map((a) => ({
|
|
1668
1667
|
id: a.place_id,
|
|
1669
1668
|
description: a.description,
|
|
1670
1669
|
secondaryText: a.structured_formatting?.secondary_text,
|
|
1671
1670
|
lat: void 0,
|
|
1672
1671
|
lng: void 0
|
|
1673
|
-
})) :
|
|
1672
|
+
})) : ve.predictions.map((a) => ({
|
|
1674
1673
|
id: a.id,
|
|
1675
1674
|
description: a.description,
|
|
1676
1675
|
secondaryText: a.secondary_text,
|
|
1677
1676
|
lat: a.lat,
|
|
1678
1677
|
lng: a.lng
|
|
1679
|
-
})),
|
|
1678
|
+
})), Se = ne ? de.isSearching : ve.isSearching, Re = ne ? de.loadError : ve.loadError, _ = ne ? !!be : !!je, Ee = ne ? de.searchPlaces : ve.searchPlaces, Oe = ne ? de.clearPredictions : ve.clearPredictions, Fe = B(() => {
|
|
1680
1679
|
});
|
|
1681
|
-
|
|
1682
|
-
(o.birthPlace ?? "") !==
|
|
1680
|
+
Fe.current = () => {
|
|
1681
|
+
(o.birthPlace ?? "") !== ce.current && C({
|
|
1683
1682
|
birthPlace: "",
|
|
1684
1683
|
birthPlaceLat: void 0,
|
|
1685
1684
|
birthPlaceLng: void 0
|
|
1686
|
-
}),
|
|
1687
|
-
},
|
|
1685
|
+
}), me(!1);
|
|
1686
|
+
}, V(() => {
|
|
1688
1687
|
const a = (s) => {
|
|
1689
|
-
|
|
1688
|
+
ue.current && (ue.current.contains(s.target) || Fe.current());
|
|
1690
1689
|
};
|
|
1691
1690
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1692
|
-
}, []),
|
|
1691
|
+
}, []), V(() => {
|
|
1693
1692
|
const a = (s) => {
|
|
1694
|
-
|
|
1693
|
+
H.current && (H.current.contains(s.target) || (v(!1), z("")));
|
|
1695
1694
|
};
|
|
1696
1695
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1697
|
-
}, []),
|
|
1698
|
-
if (!
|
|
1696
|
+
}, []), V(() => {
|
|
1697
|
+
if (!f) return;
|
|
1699
1698
|
const a = window.setTimeout(() => {
|
|
1700
|
-
|
|
1699
|
+
D.current?.focus();
|
|
1701
1700
|
}, 0);
|
|
1702
1701
|
return () => window.clearTimeout(a);
|
|
1703
|
-
}, [
|
|
1704
|
-
if (!
|
|
1705
|
-
if (
|
|
1706
|
-
|
|
1702
|
+
}, [f]), V(() => {
|
|
1703
|
+
if (!ee) return;
|
|
1704
|
+
if (oe.length < 2) {
|
|
1705
|
+
Oe();
|
|
1707
1706
|
return;
|
|
1708
1707
|
}
|
|
1709
1708
|
const a = window.setTimeout(async () => {
|
|
1710
|
-
await
|
|
1709
|
+
await Ee(oe);
|
|
1711
1710
|
}, 250);
|
|
1712
1711
|
return () => window.clearTimeout(a);
|
|
1713
|
-
}, [
|
|
1714
|
-
const
|
|
1712
|
+
}, [Oe, ee, oe, Ee]);
|
|
1713
|
+
const Me = (a) => {
|
|
1715
1714
|
const s = a.current;
|
|
1716
1715
|
if (!(!s || s.disabled)) {
|
|
1717
|
-
if (document.activeElement === s &&
|
|
1716
|
+
if (document.activeElement === s && K.current === s && Date.now() - Y.current < 6e4) {
|
|
1718
1717
|
s.blur();
|
|
1719
1718
|
return;
|
|
1720
1719
|
}
|
|
1721
1720
|
if (typeof s.showPicker == "function") {
|
|
1722
|
-
s.showPicker(),
|
|
1721
|
+
s.showPicker(), K.current = s, Y.current = Date.now();
|
|
1723
1722
|
return;
|
|
1724
1723
|
}
|
|
1725
|
-
s.focus(),
|
|
1724
|
+
s.focus(), K.current = s, Y.current = Date.now();
|
|
1726
1725
|
}
|
|
1727
1726
|
};
|
|
1728
|
-
return
|
|
1727
|
+
return V(() => {
|
|
1729
1728
|
const a = (s) => {
|
|
1730
|
-
|
|
1729
|
+
G.current && (G.current.contains(s.target) || Z(!1));
|
|
1731
1730
|
};
|
|
1732
1731
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1733
|
-
}, []),
|
|
1732
|
+
}, []), V(() => {
|
|
1734
1733
|
const a = (R) => {
|
|
1735
|
-
R.target?.closest?.("[data-info-tooltip]") == null &&
|
|
1734
|
+
R.target?.closest?.("[data-info-tooltip]") == null && pe(null);
|
|
1736
1735
|
}, s = (R) => {
|
|
1737
|
-
R.key === "Escape" &&
|
|
1736
|
+
R.key === "Escape" && pe(null);
|
|
1738
1737
|
};
|
|
1739
1738
|
return document.addEventListener("mousedown", a), document.addEventListener("keydown", s), () => {
|
|
1740
1739
|
document.removeEventListener("mousedown", a), document.removeEventListener("keydown", s);
|
|
@@ -1760,7 +1759,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1760
1759
|
onFocus: () => u?.trackNameSectionClicked?.(),
|
|
1761
1760
|
onChange: (a) => {
|
|
1762
1761
|
const s = a.target.value;
|
|
1763
|
-
|
|
1762
|
+
C({ fullName: s }), S("fullName", s);
|
|
1764
1763
|
},
|
|
1765
1764
|
placeholder: t("formFullNamePlaceholder"),
|
|
1766
1765
|
autoComplete: "name"
|
|
@@ -1772,7 +1771,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1772
1771
|
t("formPhone"),
|
|
1773
1772
|
!I && /* @__PURE__ */ r.jsx("span", { className: n.req, children: "*" })
|
|
1774
1773
|
] }) }),
|
|
1775
|
-
/* @__PURE__ */ r.jsx("div", { className: n.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: n.isdWrap, ref:
|
|
1774
|
+
/* @__PURE__ */ r.jsx("div", { className: n.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: n.isdWrap, ref: H, children: [
|
|
1776
1775
|
/* @__PURE__ */ r.jsxs("div", { className: n.phoneInputGroup, children: [
|
|
1777
1776
|
/* @__PURE__ */ r.jsx("div", { className: n.isdSelectWrap, children: /* @__PURE__ */ r.jsx(
|
|
1778
1777
|
"button",
|
|
@@ -1780,9 +1779,9 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1780
1779
|
type: "button",
|
|
1781
1780
|
className: n.isdSelectTrigger,
|
|
1782
1781
|
"aria-haspopup": "listbox",
|
|
1783
|
-
"aria-expanded":
|
|
1782
|
+
"aria-expanded": f,
|
|
1784
1783
|
onClick: () => {
|
|
1785
|
-
|
|
1784
|
+
v((a) => !a), z("");
|
|
1786
1785
|
},
|
|
1787
1786
|
children: d
|
|
1788
1787
|
}
|
|
@@ -1797,7 +1796,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1797
1796
|
onFocus: () => u?.trackPhoneSectionClicked?.(),
|
|
1798
1797
|
onChange: (a) => {
|
|
1799
1798
|
const s = a.target.value;
|
|
1800
|
-
|
|
1799
|
+
C({ phone: _r(s) }), S("phone", _r(s));
|
|
1801
1800
|
},
|
|
1802
1801
|
placeholder: t("formPhonePlaceholder"),
|
|
1803
1802
|
autoComplete: "tel",
|
|
@@ -1809,7 +1808,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1809
1808
|
}
|
|
1810
1809
|
)
|
|
1811
1810
|
] }),
|
|
1812
|
-
|
|
1811
|
+
f && /* @__PURE__ */ r.jsxs(
|
|
1813
1812
|
"div",
|
|
1814
1813
|
{
|
|
1815
1814
|
className: n.isdDropdown,
|
|
@@ -1819,16 +1818,16 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1819
1818
|
/* @__PURE__ */ r.jsx("div", { className: n.isdSearchWrap, children: /* @__PURE__ */ r.jsx(
|
|
1820
1819
|
"input",
|
|
1821
1820
|
{
|
|
1822
|
-
ref:
|
|
1821
|
+
ref: D,
|
|
1823
1822
|
type: "text",
|
|
1824
|
-
value:
|
|
1825
|
-
onChange: (a) =>
|
|
1823
|
+
value: X,
|
|
1824
|
+
onChange: (a) => z(a.target.value),
|
|
1826
1825
|
placeholder: "Search country",
|
|
1827
1826
|
className: n.isdSearchInput,
|
|
1828
1827
|
"aria-label": "Search country"
|
|
1829
1828
|
}
|
|
1830
1829
|
) }),
|
|
1831
|
-
|
|
1830
|
+
O.length > 0 ? O.map((a) => /* @__PURE__ */ r.jsxs(
|
|
1832
1831
|
"button",
|
|
1833
1832
|
{
|
|
1834
1833
|
type: "button",
|
|
@@ -1836,7 +1835,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1836
1835
|
"aria-selected": a.code === d,
|
|
1837
1836
|
className: `${n.isdOption} ${a.code === d ? n.isdOptionActive : ""}`,
|
|
1838
1837
|
onClick: () => {
|
|
1839
|
-
|
|
1838
|
+
y(a.code), v(!1), z("");
|
|
1840
1839
|
},
|
|
1841
1840
|
children: [
|
|
1842
1841
|
/* @__PURE__ */ r.jsx("span", { className: n.isdCountryName, children: a.country }),
|
|
@@ -1869,7 +1868,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1869
1868
|
type: "button",
|
|
1870
1869
|
className: `${n.choiceBtn} ${o.gender === "male" ? n.choiceBtnActive : ""}`,
|
|
1871
1870
|
onClick: () => {
|
|
1872
|
-
|
|
1871
|
+
C({ gender: "male" }), u?.trackGenderSelected?.({
|
|
1873
1872
|
gender: "male"
|
|
1874
1873
|
});
|
|
1875
1874
|
},
|
|
@@ -1885,7 +1884,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1885
1884
|
type: "button",
|
|
1886
1885
|
className: `${n.choiceBtn} ${o.gender === "female" ? n.choiceBtnActive : ""}`,
|
|
1887
1886
|
onClick: () => {
|
|
1888
|
-
|
|
1887
|
+
C({ gender: "female" }), u?.trackGenderSelected?.({
|
|
1889
1888
|
gender: "female"
|
|
1890
1889
|
});
|
|
1891
1890
|
},
|
|
@@ -1913,7 +1912,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1913
1912
|
value: o.email,
|
|
1914
1913
|
onFocus: () => u?.trackEmailSectionClicked?.(),
|
|
1915
1914
|
onChange: (a) => {
|
|
1916
|
-
|
|
1915
|
+
C({ email: a.target.value });
|
|
1917
1916
|
},
|
|
1918
1917
|
onBlur: re,
|
|
1919
1918
|
placeholder: t("formEmailPlaceholder"),
|
|
@@ -1936,22 +1935,22 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1936
1935
|
type: "button",
|
|
1937
1936
|
className: n.infoBtn,
|
|
1938
1937
|
"aria-label": t("info"),
|
|
1939
|
-
"aria-expanded":
|
|
1938
|
+
"aria-expanded": fe === "dob",
|
|
1940
1939
|
onClick: () => {
|
|
1941
|
-
|
|
1940
|
+
pe((a) => a === "dob" ? null : "dob"), u?.trackInfoIconClicked?.({ fieldName: "dob" });
|
|
1942
1941
|
},
|
|
1943
1942
|
children: /* @__PURE__ */ r.jsx(
|
|
1944
1943
|
"img",
|
|
1945
1944
|
{
|
|
1946
1945
|
className: n.infoImg,
|
|
1947
|
-
src:
|
|
1946
|
+
src: Be.info,
|
|
1948
1947
|
alt: "",
|
|
1949
1948
|
"aria-hidden": !0
|
|
1950
1949
|
}
|
|
1951
1950
|
)
|
|
1952
1951
|
}
|
|
1953
1952
|
),
|
|
1954
|
-
|
|
1953
|
+
fe === "dob" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
|
|
1955
1954
|
t("formDobInfo"),
|
|
1956
1955
|
/* @__PURE__ */ r.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
|
|
1957
1956
|
] })
|
|
@@ -1968,16 +1967,16 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1968
1967
|
value: o.dateOfBirth,
|
|
1969
1968
|
max: (() => {
|
|
1970
1969
|
const a = /* @__PURE__ */ new Date();
|
|
1971
|
-
return `${a.getFullYear()}-${
|
|
1970
|
+
return `${a.getFullYear()}-${te(a.getMonth() + 1)}-${te(a.getDate())}`;
|
|
1972
1971
|
})(),
|
|
1973
1972
|
onChange: (a) => {
|
|
1974
|
-
const s = a.target.value, R = /* @__PURE__ */ new Date(),
|
|
1975
|
-
s && s >
|
|
1973
|
+
const s = a.target.value, R = /* @__PURE__ */ new Date(), he = `${R.getFullYear()}-${te(R.getMonth() + 1)}-${te(R.getDate())}`;
|
|
1974
|
+
s && s > he || (C({ dateOfBirth: s }), S("dateOfBirth", s), K.current = null);
|
|
1976
1975
|
},
|
|
1977
1976
|
onFocus: () => u?.trackDobClicked?.(),
|
|
1978
|
-
onClick: () =>
|
|
1977
|
+
onClick: () => Me(j),
|
|
1979
1978
|
onBlur: () => {
|
|
1980
|
-
|
|
1979
|
+
K.current === j.current && (K.current = null);
|
|
1981
1980
|
}
|
|
1982
1981
|
}
|
|
1983
1982
|
),
|
|
@@ -1989,13 +1988,13 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1989
1988
|
"aria-label": "Open date picker",
|
|
1990
1989
|
onMouseDown: (a) => a.preventDefault(),
|
|
1991
1990
|
onClick: (a) => {
|
|
1992
|
-
a.preventDefault(), a.stopPropagation(),
|
|
1991
|
+
a.preventDefault(), a.stopPropagation(), Me(j);
|
|
1993
1992
|
},
|
|
1994
1993
|
children: /* @__PURE__ */ r.jsx(
|
|
1995
1994
|
"img",
|
|
1996
1995
|
{
|
|
1997
1996
|
className: n.iconImg,
|
|
1998
|
-
src:
|
|
1997
|
+
src: Be.date,
|
|
1999
1998
|
alt: "",
|
|
2000
1999
|
"aria-hidden": !0
|
|
2001
2000
|
}
|
|
@@ -2017,45 +2016,45 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2017
2016
|
type: "button",
|
|
2018
2017
|
className: n.infoBtn,
|
|
2019
2018
|
"aria-label": t("info"),
|
|
2020
|
-
"aria-expanded":
|
|
2019
|
+
"aria-expanded": fe === "time",
|
|
2021
2020
|
onClick: () => {
|
|
2022
|
-
u?.trackInfoIconClicked?.({ fieldName: "time" }),
|
|
2021
|
+
u?.trackInfoIconClicked?.({ fieldName: "time" }), pe((a) => a === "time" ? null : "time");
|
|
2023
2022
|
},
|
|
2024
2023
|
children: /* @__PURE__ */ r.jsx(
|
|
2025
2024
|
"img",
|
|
2026
2025
|
{
|
|
2027
2026
|
className: n.infoImg,
|
|
2028
|
-
src:
|
|
2027
|
+
src: Be.info,
|
|
2029
2028
|
alt: "",
|
|
2030
2029
|
"aria-hidden": !0
|
|
2031
2030
|
}
|
|
2032
2031
|
)
|
|
2033
2032
|
}
|
|
2034
2033
|
),
|
|
2035
|
-
|
|
2034
|
+
fe === "time" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
|
|
2036
2035
|
t("formBirthTimeInfo"),
|
|
2037
2036
|
/* @__PURE__ */ r.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
|
|
2038
2037
|
] })
|
|
2039
2038
|
] })
|
|
2040
2039
|
] }),
|
|
2041
|
-
/* @__PURE__ */ r.jsxs("div", { className: n.inputWrap, ref:
|
|
2040
|
+
/* @__PURE__ */ r.jsxs("div", { className: n.inputWrap, ref: G, children: [
|
|
2042
2041
|
/* @__PURE__ */ r.jsx(
|
|
2043
2042
|
"input",
|
|
2044
2043
|
{
|
|
2045
2044
|
id: "kundli-birth-time",
|
|
2046
2045
|
className: n.input,
|
|
2047
2046
|
type: "text",
|
|
2048
|
-
value: o.birthTime ?
|
|
2047
|
+
value: o.birthTime ? Ae(o.birthTime) : "",
|
|
2049
2048
|
readOnly: !0,
|
|
2050
2049
|
onFocus: () => u?.trackTimeClicked?.(),
|
|
2051
2050
|
onChange: (a) => {
|
|
2052
2051
|
const s = a.target.value;
|
|
2053
|
-
|
|
2052
|
+
C({ birthTime: s }), S("birthTime", s);
|
|
2054
2053
|
},
|
|
2055
2054
|
disabled: o.birthTimeUnknown,
|
|
2056
2055
|
placeholder: "HH:MM AM",
|
|
2057
2056
|
onClick: () => {
|
|
2058
|
-
o.birthTimeUnknown || (
|
|
2057
|
+
o.birthTimeUnknown || (ae(_e(o.birthTime || "12:00")), Z((a) => !a));
|
|
2059
2058
|
}
|
|
2060
2059
|
}
|
|
2061
2060
|
),
|
|
@@ -2068,20 +2067,20 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2068
2067
|
disabled: o.birthTimeUnknown,
|
|
2069
2068
|
onMouseDown: (a) => a.preventDefault(),
|
|
2070
2069
|
onClick: (a) => {
|
|
2071
|
-
a.preventDefault(), a.stopPropagation(), !o.birthTimeUnknown && (
|
|
2070
|
+
a.preventDefault(), a.stopPropagation(), !o.birthTimeUnknown && (ae(_e(o.birthTime || "12:00")), Z((s) => !s));
|
|
2072
2071
|
},
|
|
2073
2072
|
children: /* @__PURE__ */ r.jsx(
|
|
2074
2073
|
"img",
|
|
2075
2074
|
{
|
|
2076
2075
|
className: n.iconImg,
|
|
2077
|
-
src:
|
|
2076
|
+
src: Be.time,
|
|
2078
2077
|
alt: "",
|
|
2079
2078
|
"aria-hidden": !0
|
|
2080
2079
|
}
|
|
2081
2080
|
)
|
|
2082
2081
|
}
|
|
2083
2082
|
),
|
|
2084
|
-
|
|
2083
|
+
Pe && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
|
|
2085
2084
|
"div",
|
|
2086
2085
|
{
|
|
2087
2086
|
className: n.timePopover,
|
|
@@ -2093,8 +2092,8 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2093
2092
|
"select",
|
|
2094
2093
|
{
|
|
2095
2094
|
className: n.timePickerSelect,
|
|
2096
|
-
value:
|
|
2097
|
-
onChange: (a) =>
|
|
2095
|
+
value: Q.hour12,
|
|
2096
|
+
onChange: (a) => ae((s) => ({
|
|
2098
2097
|
...s,
|
|
2099
2098
|
hour12: Number(a.target.value)
|
|
2100
2099
|
})),
|
|
@@ -2107,10 +2106,10 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2107
2106
|
"select",
|
|
2108
2107
|
{
|
|
2109
2108
|
className: n.timePickerSelect,
|
|
2110
|
-
value:
|
|
2111
|
-
onChange: (a) =>
|
|
2109
|
+
value: Q.minute,
|
|
2110
|
+
onChange: (a) => ae((s) => ({ ...s, minute: a.target.value })),
|
|
2112
2111
|
"aria-label": "Minute",
|
|
2113
|
-
children: Array.from({ length: 60 }, (a, s) =>
|
|
2112
|
+
children: Array.from({ length: 60 }, (a, s) => te(s)).map(
|
|
2114
2113
|
(a) => /* @__PURE__ */ r.jsx("option", { value: a, children: a }, a)
|
|
2115
2114
|
)
|
|
2116
2115
|
}
|
|
@@ -2120,8 +2119,8 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2120
2119
|
"button",
|
|
2121
2120
|
{
|
|
2122
2121
|
type: "button",
|
|
2123
|
-
className: `${n.meridiemBtn} ${
|
|
2124
|
-
onClick: () =>
|
|
2122
|
+
className: `${n.meridiemBtn} ${Q.meridiem === "AM" ? n.meridiemActive : ""}`,
|
|
2123
|
+
onClick: () => ae((a) => ({ ...a, meridiem: "AM" })),
|
|
2125
2124
|
children: "AM"
|
|
2126
2125
|
}
|
|
2127
2126
|
),
|
|
@@ -2129,8 +2128,8 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2129
2128
|
"button",
|
|
2130
2129
|
{
|
|
2131
2130
|
type: "button",
|
|
2132
|
-
className: `${n.meridiemBtn} ${
|
|
2133
|
-
onClick: () =>
|
|
2131
|
+
className: `${n.meridiemBtn} ${Q.meridiem === "PM" ? n.meridiemActive : ""}`,
|
|
2132
|
+
onClick: () => ae((a) => ({ ...a, meridiem: "PM" })),
|
|
2134
2133
|
children: "PM"
|
|
2135
2134
|
}
|
|
2136
2135
|
)
|
|
@@ -2142,7 +2141,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2142
2141
|
{
|
|
2143
2142
|
type: "button",
|
|
2144
2143
|
className: n.timePopoverBtn,
|
|
2145
|
-
onClick: () =>
|
|
2144
|
+
onClick: () => Z(!1),
|
|
2146
2145
|
children: "Cancel"
|
|
2147
2146
|
}
|
|
2148
2147
|
),
|
|
@@ -2152,8 +2151,8 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2152
2151
|
type: "button",
|
|
2153
2152
|
className: `${n.timePopoverBtn} ${n.timePopoverOk}`,
|
|
2154
2153
|
onClick: () => {
|
|
2155
|
-
const a =
|
|
2156
|
-
|
|
2154
|
+
const a = le(Q);
|
|
2155
|
+
C({ birthTime: a }), S("birthTime", a), Z(!1);
|
|
2157
2156
|
},
|
|
2158
2157
|
"aria-label": "OK",
|
|
2159
2158
|
children: /* @__PURE__ */ r.jsx(
|
|
@@ -2193,7 +2192,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2193
2192
|
type: "checkbox",
|
|
2194
2193
|
checked: o.birthTimeUnknown,
|
|
2195
2194
|
onChange: (a) => {
|
|
2196
|
-
u?.trackTimeCheckboxClicked?.(),
|
|
2195
|
+
u?.trackTimeCheckboxClicked?.(), C({
|
|
2197
2196
|
birthTimeUnknown: a.target.checked,
|
|
2198
2197
|
birthTime: a.target.checked ? "" : o.birthTime
|
|
2199
2198
|
});
|
|
@@ -2227,30 +2226,30 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2227
2226
|
type: "button",
|
|
2228
2227
|
className: n.infoBtn,
|
|
2229
2228
|
"aria-label": t("info"),
|
|
2230
|
-
"aria-expanded":
|
|
2229
|
+
"aria-expanded": fe === "place",
|
|
2231
2230
|
onClick: () => {
|
|
2232
2231
|
u?.trackInfoIconClicked?.({
|
|
2233
2232
|
fieldName: "birthPlace"
|
|
2234
|
-
}),
|
|
2233
|
+
}), pe((a) => a === "place" ? null : "place");
|
|
2235
2234
|
},
|
|
2236
2235
|
children: /* @__PURE__ */ r.jsx(
|
|
2237
2236
|
"img",
|
|
2238
2237
|
{
|
|
2239
2238
|
className: n.infoImg,
|
|
2240
|
-
src:
|
|
2239
|
+
src: Be.info,
|
|
2241
2240
|
alt: "",
|
|
2242
2241
|
"aria-hidden": !0
|
|
2243
2242
|
}
|
|
2244
2243
|
)
|
|
2245
2244
|
}
|
|
2246
2245
|
),
|
|
2247
|
-
|
|
2246
|
+
fe === "place" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
|
|
2248
2247
|
t("formBirthPlaceInfo"),
|
|
2249
2248
|
/* @__PURE__ */ r.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
|
|
2250
2249
|
] })
|
|
2251
2250
|
] })
|
|
2252
2251
|
] }),
|
|
2253
|
-
/* @__PURE__ */ r.jsxs("div", { className: n.inputWrap, ref:
|
|
2252
|
+
/* @__PURE__ */ r.jsxs("div", { className: n.inputWrap, ref: ue, children: [
|
|
2254
2253
|
/* @__PURE__ */ r.jsx(
|
|
2255
2254
|
"input",
|
|
2256
2255
|
{
|
|
@@ -2260,14 +2259,14 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2260
2259
|
value: o.birthPlace,
|
|
2261
2260
|
onChange: (a) => {
|
|
2262
2261
|
const s = a.target.value;
|
|
2263
|
-
|
|
2262
|
+
C({
|
|
2264
2263
|
birthPlace: s,
|
|
2265
2264
|
birthPlaceLat: void 0,
|
|
2266
2265
|
birthPlaceLng: void 0
|
|
2267
|
-
}), S("birthPlace", s),
|
|
2266
|
+
}), S("birthPlace", s), me(!0);
|
|
2268
2267
|
},
|
|
2269
2268
|
onFocus: () => {
|
|
2270
|
-
u?.trackPlaceOfBirthClicked?.(),
|
|
2269
|
+
u?.trackPlaceOfBirthClicked?.(), me(!0);
|
|
2271
2270
|
},
|
|
2272
2271
|
placeholder: t("formBirthPlacePlaceholder"),
|
|
2273
2272
|
autoComplete: "address-level2"
|
|
@@ -2277,27 +2276,27 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2277
2276
|
"img",
|
|
2278
2277
|
{
|
|
2279
2278
|
className: n.iconImg,
|
|
2280
|
-
src:
|
|
2279
|
+
src: Be.location,
|
|
2281
2280
|
alt: "",
|
|
2282
2281
|
"aria-hidden": !0
|
|
2283
2282
|
}
|
|
2284
2283
|
) }),
|
|
2285
|
-
|
|
2284
|
+
ee && we.length > 0 && /* @__PURE__ */ r.jsx("div", { className: n.suggestions, role: "listbox", children: we.slice(0, 8).map((a) => /* @__PURE__ */ r.jsxs(
|
|
2286
2285
|
"button",
|
|
2287
2286
|
{
|
|
2288
2287
|
type: "button",
|
|
2289
2288
|
className: n.suggestionItem,
|
|
2290
2289
|
onClick: async () => {
|
|
2291
2290
|
const s = a.description;
|
|
2292
|
-
if (
|
|
2291
|
+
if (ce.current = s, C({
|
|
2293
2292
|
birthPlace: s,
|
|
2294
2293
|
birthPlaceLat: a.lat,
|
|
2295
2294
|
birthPlaceLng: a.lng
|
|
2296
|
-
}),
|
|
2297
|
-
const R = await
|
|
2295
|
+
}), Oe(), me(!1), ne) {
|
|
2296
|
+
const R = await de.getPlaceDetails(
|
|
2298
2297
|
a.id
|
|
2299
2298
|
);
|
|
2300
|
-
R && (
|
|
2299
|
+
R && (ce.current = s, c({
|
|
2301
2300
|
...o,
|
|
2302
2301
|
birthPlace: s,
|
|
2303
2302
|
birthPlaceLat: R.lat,
|
|
@@ -2312,8 +2311,8 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2312
2311
|
},
|
|
2313
2312
|
a.id
|
|
2314
2313
|
)) }),
|
|
2315
|
-
|
|
2316
|
-
|
|
2314
|
+
ee && _ && Se && /* @__PURE__ */ r.jsx("div", { className: n.suggestionsHint, children: "Loading…" }),
|
|
2315
|
+
ee && _ && !Se && !!Re && /* @__PURE__ */ r.jsx("div", { className: n.suggestionsHint, children: Re })
|
|
2317
2316
|
] })
|
|
2318
2317
|
] }),
|
|
2319
2318
|
x && /* @__PURE__ */ r.jsxs("div", { className: n.field, children: [
|
|
@@ -2335,7 +2334,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2335
2334
|
type: "button",
|
|
2336
2335
|
className: `${n.choiceBtn} ${o.language_code === "hi" ? n.choiceBtnActive : ""}`,
|
|
2337
2336
|
onClick: () => {
|
|
2338
|
-
|
|
2337
|
+
C({ language_code: "hi" }), u?.trackLanguageOfReportSelected?.({
|
|
2339
2338
|
language: "hi"
|
|
2340
2339
|
});
|
|
2341
2340
|
},
|
|
@@ -2351,7 +2350,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2351
2350
|
type: "button",
|
|
2352
2351
|
className: `${n.choiceBtn} ${o.language_code === "en" ? n.choiceBtnActive : ""}`,
|
|
2353
2352
|
onClick: () => {
|
|
2354
|
-
|
|
2353
|
+
C({ language_code: "en" }), u?.trackLanguageOfReportSelected?.({
|
|
2355
2354
|
language: "en"
|
|
2356
2355
|
});
|
|
2357
2356
|
},
|
|
@@ -2367,7 +2366,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2367
2366
|
type: "button",
|
|
2368
2367
|
className: `${n.choiceBtn} ${o.language_code === "te" ? n.choiceBtnActive : ""}`,
|
|
2369
2368
|
onClick: () => {
|
|
2370
|
-
|
|
2369
|
+
C({ language_code: "te" }), u?.trackLanguageOfReportSelected?.({
|
|
2371
2370
|
language: "te"
|
|
2372
2371
|
});
|
|
2373
2372
|
},
|
|
@@ -2383,7 +2382,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2383
2382
|
type: "button",
|
|
2384
2383
|
className: `${n.choiceBtn} ${o.language_code === "ta" ? n.choiceBtnActive : ""}`,
|
|
2385
2384
|
onClick: () => {
|
|
2386
|
-
|
|
2385
|
+
C({ language_code: "ta" }), u?.trackLanguageOfReportSelected?.({
|
|
2387
2386
|
language: "ta"
|
|
2388
2387
|
});
|
|
2389
2388
|
},
|
|
@@ -2399,7 +2398,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2399
2398
|
type: "button",
|
|
2400
2399
|
className: `${n.choiceBtn} ${o.language_code === "kn" ? n.choiceBtnActive : ""}`,
|
|
2401
2400
|
onClick: () => {
|
|
2402
|
-
|
|
2401
|
+
C({ language_code: "kn" }), u?.trackLanguageOfReportSelected?.({
|
|
2403
2402
|
language: "kn"
|
|
2404
2403
|
});
|
|
2405
2404
|
},
|
|
@@ -2415,7 +2414,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2415
2414
|
type: "button",
|
|
2416
2415
|
className: `${n.choiceBtn} ${o.language_code === "gu" ? n.choiceBtnActive : ""}`,
|
|
2417
2416
|
onClick: () => {
|
|
2418
|
-
|
|
2417
|
+
C({ language_code: "gu" }), u?.trackLanguageOfReportSelected?.({
|
|
2419
2418
|
language: "gu"
|
|
2420
2419
|
});
|
|
2421
2420
|
},
|
|
@@ -2431,7 +2430,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2431
2430
|
type: "button",
|
|
2432
2431
|
className: `${n.choiceBtn} ${o.language_code === "mr" ? n.choiceBtnActive : ""}`,
|
|
2433
2432
|
onClick: () => {
|
|
2434
|
-
|
|
2433
|
+
C({ language_code: "mr" }), u?.trackLanguageOfReportSelected?.({
|
|
2435
2434
|
language: "mr"
|
|
2436
2435
|
});
|
|
2437
2436
|
},
|
|
@@ -2447,21 +2446,21 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2447
2446
|
] }) })
|
|
2448
2447
|
}
|
|
2449
2448
|
);
|
|
2450
|
-
},
|
|
2451
|
-
ctaButton:
|
|
2452
|
-
ctaFilled:
|
|
2453
|
-
ctaFilledContent:
|
|
2454
|
-
chevronRight:
|
|
2455
|
-
},
|
|
2456
|
-
const c =
|
|
2457
|
-
return /* @__PURE__ */ r.jsxs("div", { className:
|
|
2458
|
-
/* @__PURE__ */ r.jsxs("span", { className:
|
|
2449
|
+
}, va = "_ctaButton_rhimw_2", ka = "_ctaFilled_rhimw_21", wa = "_ctaFilledContent_rhimw_52", xa = "_chevronRight_rhimw_61", Ke = {
|
|
2450
|
+
ctaButton: va,
|
|
2451
|
+
ctaFilled: ka,
|
|
2452
|
+
ctaFilledContent: wa,
|
|
2453
|
+
chevronRight: xa
|
|
2454
|
+
}, Cr = "kundli-report-astrologer", Pa = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", Ca = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Aa = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", ja = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", Ta = ({ t }) => {
|
|
2455
|
+
const c = De()?.config.imageComponent ?? Ye;
|
|
2456
|
+
return /* @__PURE__ */ r.jsxs("div", { className: Ne.marqueeContent, children: [
|
|
2457
|
+
/* @__PURE__ */ r.jsxs("span", { className: Ne.badge, children: [
|
|
2459
2458
|
/* @__PURE__ */ r.jsx(
|
|
2460
2459
|
c,
|
|
2461
2460
|
{
|
|
2462
|
-
src:
|
|
2461
|
+
src: Pa,
|
|
2463
2462
|
alt: "",
|
|
2464
|
-
className:
|
|
2463
|
+
className: Ne.badgeIcon,
|
|
2465
2464
|
width: 16,
|
|
2466
2465
|
height: 16,
|
|
2467
2466
|
loading: "lazy"
|
|
@@ -2469,13 +2468,13 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2469
2468
|
),
|
|
2470
2469
|
t("ctaKundliCreated")
|
|
2471
2470
|
] }),
|
|
2472
|
-
/* @__PURE__ */ r.jsxs("span", { className:
|
|
2471
|
+
/* @__PURE__ */ r.jsxs("span", { className: Ne.badge, children: [
|
|
2473
2472
|
/* @__PURE__ */ r.jsx(
|
|
2474
2473
|
c,
|
|
2475
2474
|
{
|
|
2476
|
-
src:
|
|
2475
|
+
src: Ca,
|
|
2477
2476
|
alt: "",
|
|
2478
|
-
className:
|
|
2477
|
+
className: Ne.badgeIcon,
|
|
2479
2478
|
width: 16,
|
|
2480
2479
|
height: 16,
|
|
2481
2480
|
loading: "lazy"
|
|
@@ -2483,13 +2482,13 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2483
2482
|
),
|
|
2484
2483
|
t("ctaCertified")
|
|
2485
2484
|
] }),
|
|
2486
|
-
/* @__PURE__ */ r.jsxs("span", { className:
|
|
2485
|
+
/* @__PURE__ */ r.jsxs("span", { className: Ne.badge, children: [
|
|
2487
2486
|
/* @__PURE__ */ r.jsx(
|
|
2488
2487
|
c,
|
|
2489
2488
|
{
|
|
2490
2489
|
src: Aa,
|
|
2491
2490
|
alt: "",
|
|
2492
|
-
className:
|
|
2491
|
+
className: Ne.badgeIcon,
|
|
2493
2492
|
width: 16,
|
|
2494
2493
|
height: 16,
|
|
2495
2494
|
loading: "lazy"
|
|
@@ -2498,11 +2497,11 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2498
2497
|
t("ctaSecurePayment")
|
|
2499
2498
|
] })
|
|
2500
2499
|
] });
|
|
2501
|
-
},
|
|
2500
|
+
}, Na = (t) => /.+@.+\..+/.test(t), Sa = (t) => /^\d{10}$/.test(t), Ra = (t, o, c) => {
|
|
2502
2501
|
if (!t.fullName.trim()) return "fullName";
|
|
2503
2502
|
if (o) {
|
|
2504
|
-
if (!
|
|
2505
|
-
} else if (!
|
|
2503
|
+
if (!Na(t.email.trim())) return "email";
|
|
2504
|
+
} else if (!Sa((t.phone ?? "").trim())) return "phone";
|
|
2506
2505
|
if (!t.dateOfBirth) return "dateOfBirth";
|
|
2507
2506
|
if (!t.birthPlace.trim()) return "birthPlace";
|
|
2508
2507
|
if (c) {
|
|
@@ -2510,17 +2509,17 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2510
2509
|
if (!t.language_code) return "language_code";
|
|
2511
2510
|
}
|
|
2512
2511
|
return !t.birthTimeUnknown && !t.birthTime ? "birthTime" : null;
|
|
2513
|
-
},
|
|
2512
|
+
}, Ea = ({
|
|
2514
2513
|
t,
|
|
2515
2514
|
values: o,
|
|
2516
2515
|
phoneIsdCode: c,
|
|
2517
2516
|
requireV1ExtraFields: d = !1,
|
|
2518
|
-
onValidationFailed:
|
|
2517
|
+
onValidationFailed: y,
|
|
2519
2518
|
onProceed: x,
|
|
2520
2519
|
onProceedGuidance: g,
|
|
2521
2520
|
href: T,
|
|
2522
|
-
analytics:
|
|
2523
|
-
className:
|
|
2521
|
+
analytics: k,
|
|
2522
|
+
className: F = "",
|
|
2524
2523
|
discountedPriceLabel: P,
|
|
2525
2524
|
discountPillLabel: E,
|
|
2526
2525
|
showPlanSheet: u,
|
|
@@ -2528,39 +2527,39 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2528
2527
|
planSheetOpen: h,
|
|
2529
2528
|
selectedPlan: M
|
|
2530
2529
|
}) => {
|
|
2531
|
-
const
|
|
2532
|
-
() =>
|
|
2533
|
-
[o,
|
|
2534
|
-
),
|
|
2535
|
-
if (re.preventDefault(),
|
|
2536
|
-
|
|
2530
|
+
const m = De(), f = m?.config.isGlobal ?? !0, v = m?.config?.variant, X = Xe(
|
|
2531
|
+
() => Ra(o, f, d),
|
|
2532
|
+
[o, f, d]
|
|
2533
|
+
), z = X === null, H = v === "v1" && m?.config?.showSheet, D = f ? P ?? t("formDiscountedPrice") : H ? "" : "₹499", $ = m?.config.imageComponent ?? Ye, C = (re) => {
|
|
2534
|
+
if (re.preventDefault(), v === "v1" && !z && k?.trackKundliDetailedClicked?.(), !z) {
|
|
2535
|
+
X && y?.(X);
|
|
2537
2536
|
return;
|
|
2538
2537
|
}
|
|
2539
|
-
const
|
|
2538
|
+
const J = !!g && v === "v1" && M?.id === Cr, O = (o.phone ?? "").trim(), j = {
|
|
2540
2539
|
...o,
|
|
2541
|
-
phone:
|
|
2540
|
+
phone: O && `${c}-${O}`
|
|
2542
2541
|
};
|
|
2543
|
-
if (
|
|
2542
|
+
if (H) {
|
|
2544
2543
|
h ? I?.() : u?.(j);
|
|
2545
2544
|
return;
|
|
2546
2545
|
}
|
|
2547
|
-
|
|
2546
|
+
k?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), J ? g(j) : x?.(j);
|
|
2548
2547
|
}, S = /* @__PURE__ */ r.jsx(
|
|
2549
|
-
|
|
2548
|
+
Gr,
|
|
2550
2549
|
{
|
|
2551
2550
|
href: T,
|
|
2552
|
-
disabled:
|
|
2553
|
-
onClick:
|
|
2551
|
+
disabled: v === "v1" ? !1 : !z,
|
|
2552
|
+
onClick: C,
|
|
2554
2553
|
"aria-label": t("formPriceAria"),
|
|
2555
|
-
className:
|
|
2556
|
-
children:
|
|
2557
|
-
|
|
2554
|
+
className: v === "v1" && z ? Ke.ctaFilled : v === "v1" ? Ke.ctaButton : void 0,
|
|
2555
|
+
children: v === "v1" ? z ? /* @__PURE__ */ r.jsxs("span", { className: Ke.ctaFilledContent, children: [
|
|
2556
|
+
H ? t("selectPackage") : h && M ? `${t("proceedWithPlan")}${M.price}` : `${t("formProceed")} ${D}`,
|
|
2558
2557
|
/* @__PURE__ */ r.jsx(
|
|
2559
2558
|
$,
|
|
2560
2559
|
{
|
|
2561
|
-
src:
|
|
2560
|
+
src: ja,
|
|
2562
2561
|
alt: "",
|
|
2563
|
-
className:
|
|
2562
|
+
className: Ke.chevronRight,
|
|
2564
2563
|
width: 20,
|
|
2565
2564
|
height: 20,
|
|
2566
2565
|
loading: "lazy"
|
|
@@ -2569,37 +2568,37 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2569
2568
|
] }) : t("formCtaDefault") : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
2570
2569
|
t("formProceed"),
|
|
2571
2570
|
" ",
|
|
2572
|
-
|
|
2571
|
+
D
|
|
2573
2572
|
] })
|
|
2574
2573
|
}
|
|
2575
2574
|
);
|
|
2576
2575
|
return /* @__PURE__ */ r.jsx(
|
|
2577
|
-
|
|
2576
|
+
Kr,
|
|
2578
2577
|
{
|
|
2579
|
-
className: `${
|
|
2580
|
-
marquee: /* @__PURE__ */ r.jsx(
|
|
2578
|
+
className: `${Ke.footerContainer} ${F}`,
|
|
2579
|
+
marquee: /* @__PURE__ */ r.jsx(Wr, { children: /* @__PURE__ */ r.jsx(Ta, { t }) }),
|
|
2581
2580
|
children: S
|
|
2582
2581
|
}
|
|
2583
2582
|
);
|
|
2584
|
-
},
|
|
2583
|
+
}, Ia = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", La = ({
|
|
2585
2584
|
t,
|
|
2586
2585
|
languageSelector: o,
|
|
2587
|
-
logoUrl: c =
|
|
2586
|
+
logoUrl: c = Ia,
|
|
2588
2587
|
className: d = ""
|
|
2589
2588
|
}) => {
|
|
2590
|
-
const
|
|
2589
|
+
const y = De(), x = y?.config.isGlobal ?? !0, g = o != null && !x;
|
|
2591
2590
|
return /* @__PURE__ */ r.jsx(
|
|
2592
|
-
|
|
2591
|
+
Hr,
|
|
2593
2592
|
{
|
|
2594
2593
|
t,
|
|
2595
2594
|
logoUrl: c,
|
|
2596
|
-
imageComponent:
|
|
2595
|
+
imageComponent: y?.config.imageComponent,
|
|
2597
2596
|
languageSelector: o,
|
|
2598
2597
|
showLanguageSelector: g,
|
|
2599
2598
|
className: d
|
|
2600
2599
|
}
|
|
2601
2600
|
);
|
|
2602
|
-
},
|
|
2601
|
+
}, Ba = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
|
|
2603
2602
|
"path",
|
|
2604
2603
|
{
|
|
2605
2604
|
d: "M3.5 8.5l2.5 2.5 6-6",
|
|
@@ -2608,7 +2607,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2608
2607
|
strokeLinecap: "round",
|
|
2609
2608
|
strokeLinejoin: "round"
|
|
2610
2609
|
}
|
|
2611
|
-
) }),
|
|
2610
|
+
) }), Da = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
|
|
2612
2611
|
"path",
|
|
2613
2612
|
{
|
|
2614
2613
|
d: "M4.5 4.5l7 7M11.5 4.5l-7 7",
|
|
@@ -2616,137 +2615,137 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2616
2615
|
strokeWidth: "1.8",
|
|
2617
2616
|
strokeLinecap: "round"
|
|
2618
2617
|
}
|
|
2619
|
-
) }),
|
|
2618
|
+
) }), Oa = () => /* @__PURE__ */ r.jsx("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx("path", { d: "M15 18l-6-6 6-6" }) }), Fa = () => /* @__PURE__ */ r.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: [
|
|
2620
2619
|
/* @__PURE__ */ r.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
|
|
2621
2620
|
/* @__PURE__ */ r.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
2622
|
-
] }),
|
|
2623
|
-
overlay:
|
|
2624
|
-
sheet:
|
|
2625
|
-
header:
|
|
2626
|
-
backBtn:
|
|
2627
|
-
title:
|
|
2628
|
-
plansContainer:
|
|
2629
|
-
planCard:
|
|
2630
|
-
withBadgeSpacing:
|
|
2631
|
-
planCardSelected:
|
|
2632
|
-
planCardPopular:
|
|
2633
|
-
popularBadge:
|
|
2634
|
-
planCardInner:
|
|
2635
|
-
planTitleRow:
|
|
2636
|
-
planTitle:
|
|
2637
|
-
radioCircle:
|
|
2638
|
-
radioChecked:
|
|
2639
|
-
radioInner:
|
|
2640
|
-
priceRow:
|
|
2641
|
-
price:
|
|
2642
|
-
originalPrice:
|
|
2643
|
-
savingsBadge:
|
|
2644
|
-
featureList:
|
|
2645
|
-
featureItem:
|
|
2646
|
-
featureIcon:
|
|
2647
|
-
featureText:
|
|
2648
|
-
astrologerHeading:
|
|
2649
|
-
astrologerList:
|
|
2650
|
-
astrologerCard:
|
|
2651
|
-
astrologerAvatar:
|
|
2652
|
-
astrologerAvatarPlaceholder:
|
|
2653
|
-
astrologerTop:
|
|
2654
|
-
astrologerBasicInfo:
|
|
2655
|
-
astrologerName:
|
|
2656
|
-
astrologerExp:
|
|
2657
|
-
astrologerDivider:
|
|
2658
|
-
planDivider:
|
|
2659
|
-
astrologerCertList:
|
|
2660
|
-
astrologerCertItem:
|
|
2661
|
-
bullet:
|
|
2662
|
-
footer:
|
|
2621
|
+
] }), Ma = "_overlay_18irl_2", $a = "_sheet_18irl_12", Ua = "_header_18irl_36", Ga = "_backBtn_18irl_48", Ka = "_title_18irl_66", Wa = "_plansContainer_18irl_78", Ha = "_planCard_18irl_87", Ya = "_withBadgeSpacing_18irl_101", qa = "_planCardSelected_18irl_105", Va = "_planCardPopular_18irl_110", za = "_popularBadge_18irl_119", Ja = "_planCardInner_18irl_137", Qa = "_planTitleRow_18irl_148", Xa = "_planTitle_18irl_148", Za = "_radioCircle_18irl_163", en = "_radioChecked_18irl_176", rn = "_radioInner_18irl_181", tn = "_priceRow_18irl_189", an = "_price_18irl_189", nn = "_originalPrice_18irl_202", on = "_savingsBadge_18irl_209", sn = "_featureList_18irl_219", ln = "_featureItem_18irl_228", cn = "_featureIcon_18irl_234", dn = "_featureText_18irl_240", un = "_astrologerHeading_18irl_251", mn = "_astrologerList_18irl_258", fn = "_astrologerCard_18irl_274", pn = "_astrologerAvatar_18irl_290", hn = "_astrologerAvatarPlaceholder_18irl_307", gn = "_astrologerTop_18irl_313", _n = "_astrologerBasicInfo_18irl_319", bn = "_astrologerName_18irl_326", yn = "_astrologerExp_18irl_335", vn = "_astrologerDivider_18irl_341", kn = "_planDivider_18irl_347", wn = "_astrologerCertList_18irl_354", xn = "_astrologerCertItem_18irl_360", Pn = "_bullet_18irl_368", Cn = "_footer_18irl_373", An = "_proceedBtn_18irl_383", b = {
|
|
2622
|
+
overlay: Ma,
|
|
2623
|
+
sheet: $a,
|
|
2624
|
+
header: Ua,
|
|
2625
|
+
backBtn: Ga,
|
|
2626
|
+
title: Ka,
|
|
2627
|
+
plansContainer: Wa,
|
|
2628
|
+
planCard: Ha,
|
|
2629
|
+
withBadgeSpacing: Ya,
|
|
2630
|
+
planCardSelected: qa,
|
|
2631
|
+
planCardPopular: Va,
|
|
2632
|
+
popularBadge: za,
|
|
2633
|
+
planCardInner: Ja,
|
|
2634
|
+
planTitleRow: Qa,
|
|
2635
|
+
planTitle: Xa,
|
|
2636
|
+
radioCircle: Za,
|
|
2637
|
+
radioChecked: en,
|
|
2638
|
+
radioInner: rn,
|
|
2639
|
+
priceRow: tn,
|
|
2640
|
+
price: an,
|
|
2641
|
+
originalPrice: nn,
|
|
2642
|
+
savingsBadge: on,
|
|
2643
|
+
featureList: sn,
|
|
2644
|
+
featureItem: ln,
|
|
2645
|
+
featureIcon: cn,
|
|
2646
|
+
featureText: dn,
|
|
2647
|
+
astrologerHeading: un,
|
|
2648
|
+
astrologerList: mn,
|
|
2649
|
+
astrologerCard: fn,
|
|
2650
|
+
astrologerAvatar: pn,
|
|
2651
|
+
astrologerAvatarPlaceholder: hn,
|
|
2652
|
+
astrologerTop: gn,
|
|
2653
|
+
astrologerBasicInfo: _n,
|
|
2654
|
+
astrologerName: bn,
|
|
2655
|
+
astrologerExp: yn,
|
|
2656
|
+
astrologerDivider: vn,
|
|
2657
|
+
planDivider: kn,
|
|
2658
|
+
astrologerCertList: wn,
|
|
2659
|
+
astrologerCertItem: xn,
|
|
2660
|
+
bullet: Pn,
|
|
2661
|
+
footer: Cn,
|
|
2663
2662
|
proceedBtn: An
|
|
2664
|
-
},
|
|
2663
|
+
}, jn = ({ title: t, onBack: o }) => /* @__PURE__ */ r.jsxs("div", { className: b.header, children: [
|
|
2665
2664
|
/* @__PURE__ */ r.jsx(
|
|
2666
2665
|
"button",
|
|
2667
2666
|
{
|
|
2668
|
-
className:
|
|
2667
|
+
className: b.backBtn,
|
|
2669
2668
|
onClick: o,
|
|
2670
2669
|
"aria-label": "Go back",
|
|
2671
2670
|
type: "button",
|
|
2672
|
-
children: /* @__PURE__ */ r.jsx(
|
|
2671
|
+
children: /* @__PURE__ */ r.jsx(Oa, {})
|
|
2673
2672
|
}
|
|
2674
2673
|
),
|
|
2675
|
-
/* @__PURE__ */ r.jsx("h2", { className:
|
|
2676
|
-
] }),
|
|
2677
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2674
|
+
/* @__PURE__ */ r.jsx("h2", { className: b.title, children: t })
|
|
2675
|
+
] }), Tn = ({ features: t, t: o }) => /* @__PURE__ */ r.jsx("ul", { className: b.featureList, "aria-label": "Plan features", children: t.map((c, d) => /* @__PURE__ */ r.jsxs("li", { className: b.featureItem, children: [
|
|
2676
|
+
/* @__PURE__ */ r.jsx("span", { className: b.featureIcon, children: c.included ? /* @__PURE__ */ r.jsx(Ba, {}) : /* @__PURE__ */ r.jsx(Da, {}) }),
|
|
2678
2677
|
/* @__PURE__ */ r.jsx(
|
|
2679
2678
|
"span",
|
|
2680
2679
|
{
|
|
2681
|
-
className: `${
|
|
2680
|
+
className: `${b.featureText} `,
|
|
2682
2681
|
children: o?.(c.text) ?? c.text
|
|
2683
2682
|
}
|
|
2684
2683
|
)
|
|
2685
|
-
] }, d)) }),
|
|
2686
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
2687
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2688
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
2689
|
-
/* @__PURE__ */ r.jsx("p", { className:
|
|
2690
|
-
/* @__PURE__ */ r.jsx("p", { className:
|
|
2684
|
+
] }, d)) }), Nn = ({ astrologer: t, t: o }) => /* @__PURE__ */ r.jsxs("div", { className: b.astrologerCard, children: [
|
|
2685
|
+
/* @__PURE__ */ r.jsxs("div", { className: b.astrologerTop, children: [
|
|
2686
|
+
/* @__PURE__ */ r.jsx("div", { className: b.astrologerAvatar, "aria-hidden": !0, children: t.imageUrl ? /* @__PURE__ */ r.jsx("img", { src: t.imageUrl, alt: o?.(t.name) ?? t.name, width: 40, height: 40 }) : /* @__PURE__ */ r.jsx("span", { className: b.astrologerAvatarPlaceholder, children: t.name.charAt(0) }) }),
|
|
2687
|
+
/* @__PURE__ */ r.jsxs("div", { className: b.astrologerBasicInfo, children: [
|
|
2688
|
+
/* @__PURE__ */ r.jsx("p", { className: b.astrologerName, children: o?.(t.name) ?? t.name }),
|
|
2689
|
+
/* @__PURE__ */ r.jsx("p", { className: b.astrologerExp, children: o?.(t.experience) ?? t.experience })
|
|
2691
2690
|
] })
|
|
2692
2691
|
] }),
|
|
2693
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2694
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2695
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2692
|
+
/* @__PURE__ */ r.jsx("div", { className: b.astrologerDivider }),
|
|
2693
|
+
/* @__PURE__ */ r.jsx("div", { className: b.astrologerCertList, children: t.certifications.map((c, d) => /* @__PURE__ */ r.jsxs("p", { className: b.astrologerCertItem, children: [
|
|
2694
|
+
/* @__PURE__ */ r.jsx("span", { className: b.bullet, children: "•" }),
|
|
2696
2695
|
" ",
|
|
2697
2696
|
o?.(c) ?? c
|
|
2698
2697
|
] }, d)) })
|
|
2699
|
-
] }),
|
|
2700
|
-
/* @__PURE__ */ r.jsx(
|
|
2698
|
+
] }), Sn = ({ label: t }) => /* @__PURE__ */ r.jsxs("div", { className: b.popularBadge, "aria-label": t, children: [
|
|
2699
|
+
/* @__PURE__ */ r.jsx(Fa, {}),
|
|
2701
2700
|
/* @__PURE__ */ r.jsx("span", { children: t })
|
|
2702
|
-
] }),
|
|
2703
|
-
const
|
|
2701
|
+
] }), Rn = ({ plan: t, isSelected: o, onSelect: c, t: d }) => {
|
|
2702
|
+
const y = () => c(t.id), x = (g) => {
|
|
2704
2703
|
(g.key === " " || g.key === "Enter") && (g.preventDefault(), c(t.id));
|
|
2705
2704
|
};
|
|
2706
2705
|
return /* @__PURE__ */ r.jsxs(
|
|
2707
2706
|
"div",
|
|
2708
2707
|
{
|
|
2709
2708
|
className: [
|
|
2710
|
-
|
|
2711
|
-
o ?
|
|
2712
|
-
o &&
|
|
2709
|
+
b.planCard,
|
|
2710
|
+
o ? b.planCardSelected : "",
|
|
2711
|
+
o && b.planCardPopular
|
|
2713
2712
|
].filter(Boolean).join(" "),
|
|
2714
|
-
onClick:
|
|
2713
|
+
onClick: y,
|
|
2715
2714
|
role: "radio",
|
|
2716
2715
|
"aria-checked": o,
|
|
2717
2716
|
tabIndex: 0,
|
|
2718
2717
|
onKeyDown: x,
|
|
2719
2718
|
"data-plan-id": t.id,
|
|
2720
2719
|
children: [
|
|
2721
|
-
t.badge && /* @__PURE__ */ r.jsx(
|
|
2722
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
2723
|
-
/* @__PURE__ */ r.jsxs("div", { className: `${
|
|
2724
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2720
|
+
t.badge && /* @__PURE__ */ r.jsx(Sn, { label: d?.(t.badge) ?? t.badge }),
|
|
2721
|
+
/* @__PURE__ */ r.jsxs("div", { className: b.planCardInner, children: [
|
|
2722
|
+
/* @__PURE__ */ r.jsxs("div", { className: `${b.planTitleRow} ${t.badge ? b.withBadgeSpacing : ""}`, children: [
|
|
2723
|
+
/* @__PURE__ */ r.jsx("span", { className: b.planTitle, children: d?.(t.title) ?? t.title }),
|
|
2725
2724
|
/* @__PURE__ */ r.jsx(
|
|
2726
2725
|
"span",
|
|
2727
2726
|
{
|
|
2728
|
-
className: `${
|
|
2727
|
+
className: `${b.radioCircle} ${o ? b.radioChecked : ""}`,
|
|
2729
2728
|
"aria-hidden": !0,
|
|
2730
|
-
children: o && /* @__PURE__ */ r.jsx("span", { className:
|
|
2729
|
+
children: o && /* @__PURE__ */ r.jsx("span", { className: b.radioInner })
|
|
2731
2730
|
}
|
|
2732
2731
|
)
|
|
2733
2732
|
] }),
|
|
2734
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
2735
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
2736
|
-
t.originalPrice && /* @__PURE__ */ r.jsx("span", { className:
|
|
2737
|
-
t.savingsLabel && /* @__PURE__ */ r.jsx("span", { className:
|
|
2733
|
+
/* @__PURE__ */ r.jsxs("div", { className: b.priceRow, children: [
|
|
2734
|
+
/* @__PURE__ */ r.jsx("span", { className: b.price, children: t.price }),
|
|
2735
|
+
t.originalPrice && /* @__PURE__ */ r.jsx("span", { className: b.originalPrice, children: t.originalPrice }),
|
|
2736
|
+
t.savingsLabel && /* @__PURE__ */ r.jsx("span", { className: b.savingsBadge, children: d?.(t.savingsLabel, { percent: 25 }) ?? t.savingsLabel })
|
|
2738
2737
|
] }),
|
|
2739
|
-
/* @__PURE__ */ r.jsx(
|
|
2740
|
-
t.astrologers && /* @__PURE__ */ r.jsx("div", { className:
|
|
2738
|
+
/* @__PURE__ */ r.jsx(Tn, { features: t.features, t: d }),
|
|
2739
|
+
t.astrologers && /* @__PURE__ */ r.jsx("div", { className: b.planDivider }),
|
|
2741
2740
|
t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
2742
|
-
/* @__PURE__ */ r.jsx("p", { className:
|
|
2743
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2741
|
+
/* @__PURE__ */ r.jsx("p", { className: b.astrologerHeading, children: d?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
|
|
2742
|
+
/* @__PURE__ */ r.jsx("div", { className: b.astrologerList, role: "list", children: t.astrologers.map((g, T) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(Nn, { astrologer: g, t: d }) }, T)) })
|
|
2744
2743
|
] })
|
|
2745
2744
|
] })
|
|
2746
2745
|
]
|
|
2747
2746
|
}
|
|
2748
2747
|
);
|
|
2749
|
-
},
|
|
2748
|
+
}, En = [
|
|
2750
2749
|
{
|
|
2751
2750
|
id: "jyoti",
|
|
2752
2751
|
name: "planAstrologerNameJyoti",
|
|
@@ -2774,7 +2773,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2774
2773
|
experience: "planAstrologerExpNeeraj",
|
|
2775
2774
|
certifications: ["planAstrologerCertBhuCertified", "planAstrologerCertMantraRudraksha"]
|
|
2776
2775
|
}
|
|
2777
|
-
],
|
|
2776
|
+
], In = (t) => [
|
|
2778
2777
|
{
|
|
2779
2778
|
id: "kundli-report",
|
|
2780
2779
|
title: "planNameBasic",
|
|
@@ -2800,26 +2799,26 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2800
2799
|
{ text: "planFeatureRealTimeAnswers", included: !0 },
|
|
2801
2800
|
{ text: "planFeatureTailoredRemedies", included: !0 }
|
|
2802
2801
|
],
|
|
2803
|
-
astrologers:
|
|
2802
|
+
astrologers: En.filter(
|
|
2804
2803
|
(o) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(o.id)
|
|
2805
2804
|
)
|
|
2806
2805
|
}
|
|
2807
|
-
],
|
|
2806
|
+
], Ln = ({
|
|
2808
2807
|
isOpen: t,
|
|
2809
2808
|
onClose: o,
|
|
2810
2809
|
selectedPlan: c,
|
|
2811
2810
|
onSelectPlan: d,
|
|
2812
|
-
plans:
|
|
2811
|
+
plans: y,
|
|
2813
2812
|
onProceed: x,
|
|
2814
2813
|
t: g,
|
|
2815
2814
|
analytics: T
|
|
2816
2815
|
}) => {
|
|
2817
|
-
const
|
|
2818
|
-
|
|
2816
|
+
const F = De()?.config.isGlobal ?? !0, P = y ?? In(F), E = c?.id || P.find((m) => m.badge)?.id || P[0]?.id || "", u = B(null), I = B(null), h = B(!1);
|
|
2817
|
+
V(() => {
|
|
2819
2818
|
if (t) {
|
|
2820
2819
|
if (!c) {
|
|
2821
|
-
const
|
|
2822
|
-
|
|
2820
|
+
const m = P.find((f) => f.badge) ?? P[0];
|
|
2821
|
+
m && d(m);
|
|
2823
2822
|
}
|
|
2824
2823
|
h.current || (T?.trackPlanPageViewed?.(), h.current = !0);
|
|
2825
2824
|
} else
|
|
@@ -2828,16 +2827,16 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2828
2827
|
const M = () => {
|
|
2829
2828
|
T?.trackPlanPageClosed?.(), o();
|
|
2830
2829
|
};
|
|
2831
|
-
return
|
|
2830
|
+
return V(() => {
|
|
2832
2831
|
if (!t) return;
|
|
2833
|
-
const
|
|
2832
|
+
const m = document.body.style.overflow;
|
|
2834
2833
|
return document.body.style.overflow = "hidden", () => {
|
|
2835
|
-
document.body.style.overflow =
|
|
2834
|
+
document.body.style.overflow = m;
|
|
2836
2835
|
};
|
|
2837
2836
|
}, [t]), t ? /* @__PURE__ */ r.jsx(
|
|
2838
2837
|
"div",
|
|
2839
2838
|
{
|
|
2840
|
-
className:
|
|
2839
|
+
className: b.overlay,
|
|
2841
2840
|
role: "dialog",
|
|
2842
2841
|
"aria-modal": "true",
|
|
2843
2842
|
"aria-label": g?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
@@ -2845,10 +2844,10 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2845
2844
|
"div",
|
|
2846
2845
|
{
|
|
2847
2846
|
ref: u,
|
|
2848
|
-
className:
|
|
2847
|
+
className: b.sheet,
|
|
2849
2848
|
children: [
|
|
2850
2849
|
/* @__PURE__ */ r.jsx(
|
|
2851
|
-
|
|
2850
|
+
jn,
|
|
2852
2851
|
{
|
|
2853
2852
|
title: g?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
2854
2853
|
onBack: M
|
|
@@ -2858,31 +2857,31 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2858
2857
|
"div",
|
|
2859
2858
|
{
|
|
2860
2859
|
ref: I,
|
|
2861
|
-
className:
|
|
2860
|
+
className: b.plansContainer,
|
|
2862
2861
|
role: "radiogroup",
|
|
2863
2862
|
"aria-label": "Kundli plans",
|
|
2864
|
-
children: P.map((
|
|
2865
|
-
|
|
2863
|
+
children: P.map((m) => /* @__PURE__ */ r.jsx(
|
|
2864
|
+
Rn,
|
|
2866
2865
|
{
|
|
2867
|
-
plan:
|
|
2868
|
-
isSelected:
|
|
2866
|
+
plan: m,
|
|
2867
|
+
isSelected: m.id === E,
|
|
2869
2868
|
t: g,
|
|
2870
|
-
onSelect: (
|
|
2871
|
-
const
|
|
2872
|
-
|
|
2873
|
-
planId:
|
|
2874
|
-
planName:
|
|
2875
|
-
}), d(
|
|
2869
|
+
onSelect: (f) => {
|
|
2870
|
+
const v = P.find((X) => X.id === f);
|
|
2871
|
+
v && (T?.trackPlanSelected?.({
|
|
2872
|
+
planId: v.id,
|
|
2873
|
+
planName: v.title
|
|
2874
|
+
}), d(v));
|
|
2876
2875
|
}
|
|
2877
2876
|
},
|
|
2878
|
-
|
|
2877
|
+
m.id
|
|
2879
2878
|
))
|
|
2880
2879
|
}
|
|
2881
2880
|
),
|
|
2882
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
2881
|
+
/* @__PURE__ */ r.jsx("div", { className: b.footer, children: /* @__PURE__ */ r.jsx(
|
|
2883
2882
|
"button",
|
|
2884
2883
|
{
|
|
2885
|
-
className:
|
|
2884
|
+
className: b.proceedBtn,
|
|
2886
2885
|
disabled: !c,
|
|
2887
2886
|
onClick: () => {
|
|
2888
2887
|
c && (T?.trackPlanProceedClicked?.({
|
|
@@ -2898,9 +2897,10 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2898
2897
|
)
|
|
2899
2898
|
}
|
|
2900
2899
|
) : null;
|
|
2901
|
-
},
|
|
2900
|
+
}, Bn = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Dn = (t, o) => vr[t]?.[o] ?? o, On = (t, o) => t && Ze.includes(t) ? t : o ? "+1" : "+91", Fn = {
|
|
2902
2901
|
fullName: "",
|
|
2903
2902
|
phone: "",
|
|
2903
|
+
phoneCountryCode: "",
|
|
2904
2904
|
gender: "",
|
|
2905
2905
|
email: "",
|
|
2906
2906
|
language_code: "",
|
|
@@ -2908,193 +2908,205 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2908
2908
|
birthTime: "",
|
|
2909
2909
|
birthTimeUnknown: !1,
|
|
2910
2910
|
birthPlace: ""
|
|
2911
|
-
},
|
|
2911
|
+
}, Yn = ({
|
|
2912
2912
|
className: t = "",
|
|
2913
2913
|
locale: o,
|
|
2914
2914
|
showLanguageSelector: c = !0,
|
|
2915
2915
|
onBack: d,
|
|
2916
|
-
initialValues:
|
|
2916
|
+
initialValues: y,
|
|
2917
2917
|
onProceed: x,
|
|
2918
2918
|
onProceedGuidance: g,
|
|
2919
2919
|
proceedHref: T,
|
|
2920
|
-
originalPriceLabel:
|
|
2921
|
-
discountedPriceLabel:
|
|
2920
|
+
originalPriceLabel: k,
|
|
2921
|
+
discountedPriceLabel: F,
|
|
2922
2922
|
googleMapsApiKey: P = "",
|
|
2923
2923
|
atlasSearchLocalities: E,
|
|
2924
2924
|
googleMapsAutocompleteEnabled: u,
|
|
2925
2925
|
analytics: I
|
|
2926
2926
|
}) => {
|
|
2927
|
-
const h =
|
|
2927
|
+
const h = De(), M = ot(), m = h !== null, f = m ? h.locale : o, v = f ?? M?.locale ?? "en", [X, z] = U(v), H = m ? h.locale : X, D = m ? h.setLocale : z, [$, C] = U(!1), S = B(null), re = B(f), J = B(
|
|
2928
2928
|
M?.locale
|
|
2929
2929
|
);
|
|
2930
|
-
|
|
2930
|
+
V(() => {
|
|
2931
2931
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
2932
2932
|
}, []);
|
|
2933
|
-
const
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
}, [
|
|
2937
|
-
if (
|
|
2938
|
-
const
|
|
2939
|
-
|
|
2940
|
-
}, [M?.locale,
|
|
2941
|
-
const [j,
|
|
2942
|
-
...
|
|
2943
|
-
...
|
|
2944
|
-
phone:
|
|
2945
|
-
}),
|
|
2946
|
-
|
|
2947
|
-
)
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2933
|
+
const O = (_) => Dn(H, _);
|
|
2934
|
+
V(() => {
|
|
2935
|
+
f && re.current !== f && D(f), re.current = f;
|
|
2936
|
+
}, [f, D]), V(() => {
|
|
2937
|
+
if (f) return;
|
|
2938
|
+
const _ = M?.locale;
|
|
2939
|
+
_ && J.current !== _ && D(_), J.current = _;
|
|
2940
|
+
}, [M?.locale, f, D]);
|
|
2941
|
+
const [j, K] = U({
|
|
2942
|
+
...Fn,
|
|
2943
|
+
...y,
|
|
2944
|
+
phone: y?.phone ?? ""
|
|
2945
|
+
}), Y = m ? h?.config.isGlobal ?? !0 : !0, G = m ? h.formValues : j, Pe = m ? h.setFormValues : K, [Z, Q] = U(
|
|
2946
|
+
() => On(G.phoneCountryCode, Y)
|
|
2947
|
+
), ae = B(
|
|
2948
|
+
!!(G.phoneCountryCode && Ze.includes(G.phoneCountryCode))
|
|
2949
|
+
), te = B(!1), Ae = ke((_) => {
|
|
2950
|
+
te.current = !0, Q(_);
|
|
2951
|
+
}, []), _e = B(!0);
|
|
2952
|
+
V(() => {
|
|
2953
|
+
if (_e.current) {
|
|
2954
|
+
_e.current = !1;
|
|
2955
|
+
return;
|
|
2956
|
+
}
|
|
2957
|
+
ae.current || te.current || Q(Y ? "+1" : "+91");
|
|
2958
|
+
}, [Y]), V(() => {
|
|
2959
|
+
if (!m || te.current) return;
|
|
2960
|
+
const _ = G.phoneCountryCode;
|
|
2961
|
+
_ && Ze.includes(_) && _ !== Z && (ae.current = !0, Q(_));
|
|
2962
|
+
}, [m, G.phoneCountryCode]);
|
|
2963
|
+
const le = m ? h.goToPage : d, ue = m ? h.onProceed : x, ee = m ? h.onProceedGuidance : g, me = m ? h.config.proceedHref : T, ce = m ? h.config.originalPriceLabel : k, fe = m ? h.config.discountedPriceLabel : F, pe = m ? h.config.showLanguageSelector ?? !0 : c, be = (m ? h?.config?.analytics : I) ?? I;
|
|
2964
|
+
V(() => {
|
|
2953
2965
|
if (!$) return;
|
|
2954
|
-
const
|
|
2955
|
-
S.current && !S.current.contains(
|
|
2966
|
+
const _ = (Ee) => {
|
|
2967
|
+
S.current && !S.current.contains(Ee.target) && C(!1);
|
|
2956
2968
|
};
|
|
2957
|
-
return document.addEventListener("mousedown",
|
|
2969
|
+
return document.addEventListener("mousedown", _), () => document.removeEventListener("mousedown", _);
|
|
2958
2970
|
}, [$]);
|
|
2959
|
-
const [
|
|
2960
|
-
ye.current =
|
|
2961
|
-
}, []),
|
|
2962
|
-
|
|
2963
|
-
if (
|
|
2971
|
+
const [je, ne] = U(!1), [oe, Ce] = U(null), ye = B(null), de = ke((_) => {
|
|
2972
|
+
ye.current = _, ne(!0);
|
|
2973
|
+
}, []), ve = B(!1);
|
|
2974
|
+
V(() => {
|
|
2975
|
+
if (ve.current || !m || !h?.config.autoOpenPlanSheet || h?.config.variant !== "v1")
|
|
2964
2976
|
return;
|
|
2965
|
-
|
|
2966
|
-
const
|
|
2967
|
-
|
|
2968
|
-
...
|
|
2969
|
-
phone:
|
|
2977
|
+
ve.current = !0;
|
|
2978
|
+
const _ = (G.phone ?? "").trim();
|
|
2979
|
+
de({
|
|
2980
|
+
...G,
|
|
2981
|
+
phone: _ && `${Z}-${_}`
|
|
2970
2982
|
});
|
|
2971
|
-
}, [
|
|
2972
|
-
const
|
|
2973
|
-
if (!ye.current || !
|
|
2974
|
-
|
|
2975
|
-
planId:
|
|
2976
|
-
planName:
|
|
2977
|
-
price:
|
|
2978
|
-
currency:
|
|
2983
|
+
}, [m, h?.config.autoOpenPlanSheet, h?.config.variant, G, Z, de]);
|
|
2984
|
+
const we = ke(() => {
|
|
2985
|
+
if (!ye.current || !oe) return;
|
|
2986
|
+
be?.trackPlanProceedClicked?.({
|
|
2987
|
+
planId: oe.id,
|
|
2988
|
+
planName: oe.title,
|
|
2989
|
+
price: oe.price,
|
|
2990
|
+
currency: Y ? "USD" : "INR"
|
|
2979
2991
|
});
|
|
2980
|
-
const
|
|
2981
|
-
|
|
2982
|
-
}, [
|
|
2992
|
+
const _ = { ...ye.current, _selectedPlan: oe };
|
|
2993
|
+
oe.id === Cr && ee ? ee(_) : ue?.(_), ne(!1), ye.current = null;
|
|
2994
|
+
}, [oe, ue, ee]), Se = h?.config.imageComponent ?? Ye, Re = pe ? /* @__PURE__ */ r.jsxs("div", { className: xe.langDropdownWrap, ref: S, children: [
|
|
2983
2995
|
/* @__PURE__ */ r.jsxs(
|
|
2984
2996
|
"button",
|
|
2985
2997
|
{
|
|
2986
2998
|
type: "button",
|
|
2987
|
-
className:
|
|
2999
|
+
className: xe.langTrigger,
|
|
2988
3000
|
onClick: () => {
|
|
2989
|
-
|
|
3001
|
+
be?.trackLanguageClickedFe?.({ language: H }), C((_) => !_);
|
|
2990
3002
|
},
|
|
2991
3003
|
"aria-expanded": $,
|
|
2992
3004
|
"aria-haspopup": "listbox",
|
|
2993
3005
|
id: "kundli-form-lang",
|
|
2994
|
-
"aria-label":
|
|
3006
|
+
"aria-label": O("language"),
|
|
2995
3007
|
children: [
|
|
2996
3008
|
/* @__PURE__ */ r.jsx(
|
|
2997
|
-
|
|
3009
|
+
Se,
|
|
2998
3010
|
{
|
|
2999
|
-
src:
|
|
3011
|
+
src: Bn,
|
|
3000
3012
|
alt: "",
|
|
3001
|
-
className:
|
|
3013
|
+
className: xe.langIcon,
|
|
3002
3014
|
width: 16,
|
|
3003
3015
|
height: 16,
|
|
3004
3016
|
loading: "eager"
|
|
3005
3017
|
}
|
|
3006
3018
|
),
|
|
3007
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
3019
|
+
/* @__PURE__ */ r.jsx("span", { className: xe.langLabel, children: pr[H] })
|
|
3008
3020
|
]
|
|
3009
3021
|
}
|
|
3010
3022
|
),
|
|
3011
3023
|
$ && /* @__PURE__ */ r.jsx(
|
|
3012
3024
|
"ul",
|
|
3013
3025
|
{
|
|
3014
|
-
className:
|
|
3026
|
+
className: xe.langMenu,
|
|
3015
3027
|
role: "listbox",
|
|
3016
3028
|
"aria-labelledby": "kundli-form-lang",
|
|
3017
|
-
"aria-activedescendant": `kundli-form-lang-option-${
|
|
3018
|
-
children:
|
|
3029
|
+
"aria-activedescendant": `kundli-form-lang-option-${H}`,
|
|
3030
|
+
children: yr.map((_) => /* @__PURE__ */ r.jsx(
|
|
3019
3031
|
"li",
|
|
3020
3032
|
{
|
|
3021
|
-
id: `kundli-form-lang-option-${
|
|
3033
|
+
id: `kundli-form-lang-option-${_}`,
|
|
3022
3034
|
role: "option",
|
|
3023
|
-
"aria-selected":
|
|
3024
|
-
className:
|
|
3035
|
+
"aria-selected": _ === H,
|
|
3036
|
+
className: xe.langOption,
|
|
3025
3037
|
onClick: () => {
|
|
3026
|
-
|
|
3038
|
+
be?.trackLanguageChangedFe?.({ newLanguage: _ }), D(_), C(!1);
|
|
3027
3039
|
},
|
|
3028
|
-
children:
|
|
3040
|
+
children: pr[_]
|
|
3029
3041
|
},
|
|
3030
|
-
|
|
3042
|
+
_
|
|
3031
3043
|
))
|
|
3032
3044
|
}
|
|
3033
3045
|
)
|
|
3034
3046
|
] }) : null;
|
|
3035
|
-
return /* @__PURE__ */ r.jsxs("div", { className: `${
|
|
3047
|
+
return /* @__PURE__ */ r.jsxs("div", { className: `${xe.container} ${t}`, children: [
|
|
3036
3048
|
/* @__PURE__ */ r.jsx(
|
|
3037
|
-
|
|
3049
|
+
La,
|
|
3038
3050
|
{
|
|
3039
|
-
t:
|
|
3040
|
-
logoUrl:
|
|
3041
|
-
languageSelector:
|
|
3042
|
-
className:
|
|
3051
|
+
t: O,
|
|
3052
|
+
logoUrl: m ? h.config.logoUrl : void 0,
|
|
3053
|
+
languageSelector: Re,
|
|
3054
|
+
className: xe.kundliHeaderNoBorder
|
|
3043
3055
|
}
|
|
3044
3056
|
),
|
|
3045
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
3046
|
-
/* @__PURE__ */ r.jsxs("main", { className:
|
|
3047
|
-
/* @__PURE__ */ r.jsx(
|
|
3057
|
+
/* @__PURE__ */ r.jsx("div", { className: xe.headerSeparator, "aria-hidden": !0 }),
|
|
3058
|
+
/* @__PURE__ */ r.jsxs("main", { className: xe.main, children: [
|
|
3059
|
+
/* @__PURE__ */ r.jsx(ft, { t: O, onBack: le }),
|
|
3048
3060
|
/* @__PURE__ */ r.jsx(
|
|
3049
|
-
|
|
3061
|
+
ya,
|
|
3050
3062
|
{
|
|
3051
|
-
t:
|
|
3052
|
-
values:
|
|
3053
|
-
onChange:
|
|
3063
|
+
t: O,
|
|
3064
|
+
values: G,
|
|
3065
|
+
onChange: Pe,
|
|
3054
3066
|
googleMapsApiKey: P,
|
|
3055
3067
|
atlasSearchLocalities: E,
|
|
3056
3068
|
googleMapsAutocompleteEnabled: u,
|
|
3057
|
-
phoneIsdCode:
|
|
3058
|
-
onPhoneIsdCodeChange:
|
|
3059
|
-
showV1ExtraFields:
|
|
3060
|
-
analytics:
|
|
3069
|
+
phoneIsdCode: Z,
|
|
3070
|
+
onPhoneIsdCodeChange: Ae,
|
|
3071
|
+
showV1ExtraFields: m ? h?.config.variant === "v1" : !1,
|
|
3072
|
+
analytics: be
|
|
3061
3073
|
}
|
|
3062
3074
|
)
|
|
3063
3075
|
] }),
|
|
3064
3076
|
/* @__PURE__ */ r.jsx(
|
|
3065
|
-
|
|
3077
|
+
Ea,
|
|
3066
3078
|
{
|
|
3067
|
-
t:
|
|
3068
|
-
values:
|
|
3069
|
-
phoneIsdCode:
|
|
3070
|
-
onProceed:
|
|
3071
|
-
onProceedGuidance:
|
|
3072
|
-
href:
|
|
3073
|
-
originalPriceLabel:
|
|
3074
|
-
discountedPriceLabel:
|
|
3075
|
-
analytics:
|
|
3076
|
-
showPlanSheet:
|
|
3077
|
-
confirmPlan:
|
|
3078
|
-
planSheetOpen:
|
|
3079
|
-
selectedPlan:
|
|
3079
|
+
t: O,
|
|
3080
|
+
values: G,
|
|
3081
|
+
phoneIsdCode: Z,
|
|
3082
|
+
onProceed: ue,
|
|
3083
|
+
onProceedGuidance: ee,
|
|
3084
|
+
href: me,
|
|
3085
|
+
originalPriceLabel: ce,
|
|
3086
|
+
discountedPriceLabel: fe,
|
|
3087
|
+
analytics: be,
|
|
3088
|
+
showPlanSheet: de,
|
|
3089
|
+
confirmPlan: we,
|
|
3090
|
+
planSheetOpen: je,
|
|
3091
|
+
selectedPlan: oe
|
|
3080
3092
|
}
|
|
3081
3093
|
),
|
|
3082
3094
|
h?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
|
|
3083
|
-
|
|
3095
|
+
Ln,
|
|
3084
3096
|
{
|
|
3085
|
-
isOpen:
|
|
3086
|
-
onClose: () =>
|
|
3087
|
-
selectedPlan:
|
|
3088
|
-
onSelectPlan:
|
|
3097
|
+
isOpen: je,
|
|
3098
|
+
onClose: () => ne(!1),
|
|
3099
|
+
selectedPlan: oe,
|
|
3100
|
+
onSelectPlan: Ce,
|
|
3089
3101
|
onProceed: () => {
|
|
3090
|
-
|
|
3102
|
+
we?.();
|
|
3091
3103
|
},
|
|
3092
|
-
t:
|
|
3093
|
-
analytics:
|
|
3104
|
+
t: O,
|
|
3105
|
+
analytics: be
|
|
3094
3106
|
}
|
|
3095
3107
|
)
|
|
3096
3108
|
] });
|
|
3097
|
-
},
|
|
3109
|
+
}, qn = {
|
|
3098
3110
|
banner_clicked_fe: "banner_clicked_fe",
|
|
3099
3111
|
primary_cta_clicked_fe: "primary_cta_clicked_fe",
|
|
3100
3112
|
language_changed_fe: "language_changed_fe",
|
|
@@ -3140,32 +3152,32 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
3140
3152
|
kundli_view_sample_image_closed: "kundli_view_sample_image_closed"
|
|
3141
3153
|
};
|
|
3142
3154
|
export {
|
|
3143
|
-
|
|
3155
|
+
Oa as C,
|
|
3144
3156
|
Ye as D,
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3157
|
+
ft as F,
|
|
3158
|
+
Un as I,
|
|
3159
|
+
qn as K,
|
|
3160
|
+
pr as L,
|
|
3161
|
+
Cr as P,
|
|
3162
|
+
yr as S,
|
|
3163
|
+
ya as U,
|
|
3164
|
+
wr as a,
|
|
3165
|
+
tr as b,
|
|
3166
|
+
Yn as c,
|
|
3167
|
+
Wn as d,
|
|
3168
|
+
lt as e,
|
|
3169
|
+
ct as f,
|
|
3170
|
+
it as g,
|
|
3171
|
+
De as h,
|
|
3172
|
+
Kn as i,
|
|
3173
|
+
Hn as j,
|
|
3162
3174
|
r as k,
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3175
|
+
La as l,
|
|
3176
|
+
Ea as m,
|
|
3177
|
+
Ln as n,
|
|
3178
|
+
Gn as r,
|
|
3179
|
+
st as s,
|
|
3180
|
+
vr as t,
|
|
3181
|
+
ot as u
|
|
3170
3182
|
};
|
|
3171
|
-
//# sourceMappingURL=analytics-
|
|
3183
|
+
//# sourceMappingURL=analytics-BZyas-wq.js.map
|