@srimandir/kundli-generator 4.3.0 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{analytics-Ctu2CtEu.js → analytics-DslrvyqT.js} +795 -797
- package/dist/analytics-DslrvyqT.js.map +1 -0
- package/dist/components/KundliPlanBottomSheet/KundliPlanBottomSheet.d.ts +1 -1
- package/dist/components/KundliPlanBottomSheet/index.d.ts +1 -1
- package/dist/components/KundliPlanBottomSheet/planDefaults.d.ts +2 -60
- package/dist/{criticalCss-CMDWZ2jr.js → criticalCss-BK8wIsFM.js} +137 -133
- package/dist/criticalCss-BK8wIsFM.js.map +1 -0
- package/dist/form-entry.js +1 -1
- package/dist/kundli-generator.js +2 -2
- package/dist/page-entry.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/dist/analytics-Ctu2CtEu.js.map +0 -1
- package/dist/criticalCss-CMDWZ2jr.js.map +0 -1
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Ke, { useContext as We, createContext as cr, useState as V, useRef as H, useEffect as X, useMemo as Ge, useCallback as be } from "react";
|
|
2
2
|
import { FormSectionHeader as Dr, FooterCTAButton as Or, FooterShell as Fr, CircularMarquee as Mr, footerShellStyles as xe, PageHeader as $r } from "@srimandir/astrology-common";
|
|
3
|
-
var Ie = { exports: {} },
|
|
3
|
+
var Ie = { exports: {} }, Re = {};
|
|
4
4
|
var nr;
|
|
5
5
|
function Ur() {
|
|
6
|
-
if (nr) return
|
|
6
|
+
if (nr) return Re;
|
|
7
7
|
nr = 1;
|
|
8
|
-
var t =
|
|
9
|
-
function
|
|
10
|
-
var
|
|
11
|
-
F !== void 0 && (
|
|
12
|
-
for (
|
|
13
|
-
if (
|
|
14
|
-
return { $$typeof:
|
|
8
|
+
var t = Ke, o = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.fragment"), u = 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 h(N, w, F) {
|
|
10
|
+
var c, S = {}, p = null, D = null;
|
|
11
|
+
F !== void 0 && (p = "" + F), w.key !== void 0 && (p = "" + w.key), w.ref !== void 0 && (D = w.ref);
|
|
12
|
+
for (c in w) u.call(w, c) && !x.hasOwnProperty(c) && (S[c] = w[c]);
|
|
13
|
+
if (N && N.defaultProps) for (c in w = N.defaultProps, w) S[c] === void 0 && (S[c] = w[c]);
|
|
14
|
+
return { $$typeof: o, type: N, key: p, ref: D, props: S, _owner: y.current };
|
|
15
15
|
}
|
|
16
|
-
return
|
|
16
|
+
return Re.Fragment = d, Re.jsx = h, Re.jsxs = h, Re;
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var Se = {};
|
|
19
19
|
var or;
|
|
20
|
-
function
|
|
20
|
+
function Gr() {
|
|
21
21
|
return or || (or = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
-
var t =
|
|
23
|
-
function
|
|
22
|
+
var t = Ke, o = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.portal"), u = /* @__PURE__ */ Symbol.for("react.fragment"), y = /* @__PURE__ */ Symbol.for("react.strict_mode"), x = /* @__PURE__ */ Symbol.for("react.profiler"), h = /* @__PURE__ */ Symbol.for("react.provider"), N = /* @__PURE__ */ Symbol.for("react.context"), w = /* @__PURE__ */ Symbol.for("react.forward_ref"), F = /* @__PURE__ */ Symbol.for("react.suspense"), c = /* @__PURE__ */ Symbol.for("react.suspense_list"), S = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), D = /* @__PURE__ */ Symbol.for("react.offscreen"), k = Symbol.iterator, E = "@@iterator";
|
|
23
|
+
function A(e) {
|
|
24
24
|
if (e === null || typeof e != "object")
|
|
25
25
|
return null;
|
|
26
|
-
var
|
|
27
|
-
return typeof
|
|
26
|
+
var i = k && e[k] || e[E];
|
|
27
|
+
return typeof i == "function" ? i : null;
|
|
28
28
|
}
|
|
29
|
-
var
|
|
30
|
-
function
|
|
29
|
+
var T = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
30
|
+
function g(e) {
|
|
31
31
|
{
|
|
32
|
-
for (var
|
|
32
|
+
for (var i = arguments.length, s = new Array(i > 1 ? i - 1 : 0), m = 1; m < i; m++)
|
|
33
33
|
s[m - 1] = arguments[m];
|
|
34
|
-
|
|
34
|
+
G("error", e, s);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function G(e, i, s) {
|
|
38
38
|
{
|
|
39
|
-
var m =
|
|
40
|
-
|
|
41
|
-
var
|
|
42
|
-
return String(
|
|
39
|
+
var m = T.ReactDebugCurrentFrame, j = m.getStackAddendum();
|
|
40
|
+
j !== "" && (i += "%s", s = s.concat([j]));
|
|
41
|
+
var I = s.map(function(v) {
|
|
42
|
+
return String(v);
|
|
43
43
|
});
|
|
44
|
-
|
|
44
|
+
I.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, I);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
var
|
|
47
|
+
var _ = !1, M = !1, O = !1, $ = !1, Z = !1, R;
|
|
48
48
|
R = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
49
|
function B(e) {
|
|
50
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e ===
|
|
50
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === x || Z || e === y || e === F || e === c || $ || e === D || _ || M || O || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === S || e.$$typeof === h || e.$$typeof === N || e.$$typeof === w || // 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 === R || e.getModuleId !== void 0));
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function z(e, i, s) {
|
|
57
57
|
var m = e.displayName;
|
|
58
58
|
if (m)
|
|
59
59
|
return m;
|
|
60
|
-
var
|
|
61
|
-
return
|
|
60
|
+
var j = i.displayName || i.name || "";
|
|
61
|
+
return j !== "" ? s + "(" + j + ")" : s;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function U(e) {
|
|
64
64
|
return e.displayName || "Context";
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function C(e) {
|
|
67
67
|
if (e == null)
|
|
68
68
|
return null;
|
|
69
|
-
if (typeof e.tag == "number" &&
|
|
69
|
+
if (typeof e.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
70
70
|
return e.displayName || e.name || null;
|
|
71
71
|
if (typeof e == "string")
|
|
72
72
|
return e;
|
|
73
73
|
switch (e) {
|
|
74
74
|
case u:
|
|
75
75
|
return "Fragment";
|
|
76
|
-
case
|
|
76
|
+
case d:
|
|
77
77
|
return "Portal";
|
|
78
|
-
case
|
|
78
|
+
case x:
|
|
79
79
|
return "Profiler";
|
|
80
|
-
case
|
|
80
|
+
case y:
|
|
81
81
|
return "StrictMode";
|
|
82
82
|
case F:
|
|
83
83
|
return "Suspense";
|
|
84
|
-
case
|
|
84
|
+
case c:
|
|
85
85
|
return "SuspenseList";
|
|
86
86
|
}
|
|
87
87
|
if (typeof e == "object")
|
|
88
88
|
switch (e.$$typeof) {
|
|
89
|
-
case
|
|
90
|
-
var
|
|
91
|
-
return
|
|
92
|
-
case
|
|
89
|
+
case N:
|
|
90
|
+
var i = e;
|
|
91
|
+
return U(i) + ".Consumer";
|
|
92
|
+
case h:
|
|
93
93
|
var s = e;
|
|
94
|
-
return
|
|
95
|
-
case
|
|
96
|
-
return
|
|
97
|
-
case
|
|
94
|
+
return U(s._context) + ".Provider";
|
|
95
|
+
case w:
|
|
96
|
+
return z(e, e.render, "ForwardRef");
|
|
97
|
+
case S:
|
|
98
98
|
var m = e.displayName || null;
|
|
99
|
-
return m !== null ? m :
|
|
100
|
-
case
|
|
101
|
-
var
|
|
99
|
+
return m !== null ? m : C(e.type) || "Memo";
|
|
100
|
+
case p: {
|
|
101
|
+
var j = e, I = j._payload, v = j._init;
|
|
102
102
|
try {
|
|
103
|
-
return
|
|
103
|
+
return C(v(I));
|
|
104
104
|
} catch {
|
|
105
105
|
return null;
|
|
106
106
|
}
|
|
@@ -108,14 +108,14 @@ function qr() {
|
|
|
108
108
|
}
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
111
|
-
var L = Object.assign,
|
|
111
|
+
var L = Object.assign, Y = 0, J, ne, ge, Q, ie, ue, se;
|
|
112
112
|
function le() {
|
|
113
113
|
}
|
|
114
114
|
le.__reactDisabledLog = !0;
|
|
115
|
-
function
|
|
115
|
+
function fe() {
|
|
116
116
|
{
|
|
117
|
-
if (
|
|
118
|
-
|
|
117
|
+
if (Y === 0) {
|
|
118
|
+
J = console.log, ne = console.info, ge = console.warn, Q = console.error, ie = console.group, ue = console.groupCollapsed, se = console.groupEnd;
|
|
119
119
|
var e = {
|
|
120
120
|
configurable: !0,
|
|
121
121
|
enumerable: !0,
|
|
@@ -132,12 +132,12 @@ function qr() {
|
|
|
132
132
|
groupEnd: e
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
|
-
|
|
135
|
+
Y++;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
function oe() {
|
|
139
139
|
{
|
|
140
|
-
if (
|
|
140
|
+
if (Y--, Y === 0) {
|
|
141
141
|
var e = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
@@ -145,7 +145,7 @@ function qr() {
|
|
|
145
145
|
};
|
|
146
146
|
Object.defineProperties(console, {
|
|
147
147
|
log: L({}, e, {
|
|
148
|
-
value:
|
|
148
|
+
value: J
|
|
149
149
|
}),
|
|
150
150
|
info: L({}, e, {
|
|
151
151
|
value: ne
|
|
@@ -167,17 +167,17 @@ function qr() {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
|
|
170
|
+
Y < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
var
|
|
174
|
-
function ee(e,
|
|
173
|
+
var pe = T.ReactCurrentDispatcher, me;
|
|
174
|
+
function ee(e, i, s) {
|
|
175
175
|
{
|
|
176
176
|
if (me === void 0)
|
|
177
177
|
try {
|
|
178
178
|
throw Error();
|
|
179
|
-
} catch (
|
|
180
|
-
var m =
|
|
179
|
+
} catch (j) {
|
|
180
|
+
var m = j.stack.trim().match(/\n( *(at )?)/);
|
|
181
181
|
me = m && m[1] || "";
|
|
182
182
|
}
|
|
183
183
|
return `
|
|
@@ -189,7 +189,7 @@ function qr() {
|
|
|
189
189
|
var we = typeof WeakMap == "function" ? WeakMap : Map;
|
|
190
190
|
ce = new we();
|
|
191
191
|
}
|
|
192
|
-
function _e(e,
|
|
192
|
+
function _e(e, i) {
|
|
193
193
|
if (!e || ye)
|
|
194
194
|
return "";
|
|
195
195
|
{
|
|
@@ -199,33 +199,33 @@ function qr() {
|
|
|
199
199
|
}
|
|
200
200
|
var m;
|
|
201
201
|
ye = !0;
|
|
202
|
-
var
|
|
202
|
+
var j = Error.prepareStackTrace;
|
|
203
203
|
Error.prepareStackTrace = void 0;
|
|
204
|
-
var
|
|
205
|
-
|
|
204
|
+
var I;
|
|
205
|
+
I = pe.current, pe.current = null, fe();
|
|
206
206
|
try {
|
|
207
|
-
if (
|
|
208
|
-
var
|
|
207
|
+
if (i) {
|
|
208
|
+
var v = function() {
|
|
209
209
|
throw Error();
|
|
210
210
|
};
|
|
211
|
-
if (Object.defineProperty(
|
|
211
|
+
if (Object.defineProperty(v.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(
|
|
217
|
+
Reflect.construct(v, []);
|
|
218
218
|
} catch (ae) {
|
|
219
219
|
m = ae;
|
|
220
220
|
}
|
|
221
|
-
Reflect.construct(e, [],
|
|
221
|
+
Reflect.construct(e, [], v);
|
|
222
222
|
} else {
|
|
223
223
|
try {
|
|
224
|
-
|
|
224
|
+
v.call();
|
|
225
225
|
} catch (ae) {
|
|
226
226
|
m = ae;
|
|
227
227
|
}
|
|
228
|
-
e.call(
|
|
228
|
+
e.call(v.prototype);
|
|
229
229
|
}
|
|
230
230
|
} else {
|
|
231
231
|
try {
|
|
@@ -237,37 +237,37 @@ function qr() {
|
|
|
237
237
|
}
|
|
238
238
|
} catch (ae) {
|
|
239
239
|
if (ae && m && typeof ae.stack == "string") {
|
|
240
|
-
for (var
|
|
240
|
+
for (var b = ae.stack.split(`
|
|
241
241
|
`), re = m.stack.split(`
|
|
242
|
-
`),
|
|
243
|
-
|
|
244
|
-
for (;
|
|
245
|
-
if (
|
|
246
|
-
if (
|
|
242
|
+
`), W = b.length - 1, q = re.length - 1; W >= 1 && q >= 0 && b[W] !== re[q]; )
|
|
243
|
+
q--;
|
|
244
|
+
for (; W >= 1 && q >= 0; W--, q--)
|
|
245
|
+
if (b[W] !== re[q]) {
|
|
246
|
+
if (W !== 1 || q !== 1)
|
|
247
247
|
do
|
|
248
|
-
if (
|
|
248
|
+
if (W--, q--, q < 0 || b[W] !== re[q]) {
|
|
249
249
|
var de = `
|
|
250
|
-
` +
|
|
250
|
+
` + b[W].replace(" at new ", " at ");
|
|
251
251
|
return e.displayName && de.includes("<anonymous>") && (de = de.replace("<anonymous>", e.displayName)), typeof e == "function" && ce.set(e, de), de;
|
|
252
252
|
}
|
|
253
|
-
while (
|
|
253
|
+
while (W >= 1 && q >= 0);
|
|
254
254
|
break;
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
} finally {
|
|
258
|
-
ye = !1,
|
|
258
|
+
ye = !1, pe.current = I, oe(), Error.prepareStackTrace = j;
|
|
259
259
|
}
|
|
260
260
|
var Ce = e ? e.displayName || e.name : "", ve = Ce ? ee(Ce) : "";
|
|
261
261
|
return typeof e == "function" && ce.set(e, ve), ve;
|
|
262
262
|
}
|
|
263
|
-
function Pe(e,
|
|
263
|
+
function Pe(e, i, s) {
|
|
264
264
|
return _e(e, !1);
|
|
265
265
|
}
|
|
266
266
|
function ke(e) {
|
|
267
|
-
var
|
|
268
|
-
return !!(
|
|
267
|
+
var i = e.prototype;
|
|
268
|
+
return !!(i && i.isReactComponent);
|
|
269
269
|
}
|
|
270
|
-
function P(e,
|
|
270
|
+
function P(e, i, s) {
|
|
271
271
|
if (e == null)
|
|
272
272
|
return "";
|
|
273
273
|
if (typeof e == "function")
|
|
@@ -277,49 +277,49 @@ function qr() {
|
|
|
277
277
|
switch (e) {
|
|
278
278
|
case F:
|
|
279
279
|
return ee("Suspense");
|
|
280
|
-
case
|
|
280
|
+
case c:
|
|
281
281
|
return ee("SuspenseList");
|
|
282
282
|
}
|
|
283
283
|
if (typeof e == "object")
|
|
284
284
|
switch (e.$$typeof) {
|
|
285
|
-
case
|
|
285
|
+
case w:
|
|
286
286
|
return Pe(e.render);
|
|
287
|
-
case
|
|
288
|
-
return P(e.type,
|
|
289
|
-
case
|
|
290
|
-
var m = e,
|
|
287
|
+
case S:
|
|
288
|
+
return P(e.type, i, s);
|
|
289
|
+
case p: {
|
|
290
|
+
var m = e, j = m._payload, I = m._init;
|
|
291
291
|
try {
|
|
292
|
-
return P(
|
|
292
|
+
return P(I(j), i, s);
|
|
293
293
|
} catch {
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
return "";
|
|
298
298
|
}
|
|
299
|
-
var n = Object.prototype.hasOwnProperty, l = {},
|
|
299
|
+
var n = Object.prototype.hasOwnProperty, l = {}, K = T.ReactDebugCurrentFrame;
|
|
300
300
|
function te(e) {
|
|
301
301
|
if (e) {
|
|
302
|
-
var
|
|
303
|
-
|
|
302
|
+
var i = e._owner, s = P(e.type, e._source, i ? i.type : null);
|
|
303
|
+
K.setExtraStackFrame(s);
|
|
304
304
|
} else
|
|
305
|
-
|
|
305
|
+
K.setExtraStackFrame(null);
|
|
306
306
|
}
|
|
307
|
-
function Te(e,
|
|
307
|
+
function Te(e, i, s, m, j) {
|
|
308
308
|
{
|
|
309
|
-
var
|
|
310
|
-
for (var
|
|
311
|
-
if (
|
|
312
|
-
var
|
|
309
|
+
var I = Function.call.bind(n);
|
|
310
|
+
for (var v in e)
|
|
311
|
+
if (I(e, v)) {
|
|
312
|
+
var b = void 0;
|
|
313
313
|
try {
|
|
314
|
-
if (typeof e[
|
|
315
|
-
var re = Error((m || "React class") + ": " + s + " type `" +
|
|
314
|
+
if (typeof e[v] != "function") {
|
|
315
|
+
var re = Error((m || "React class") + ": " + s + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
316
316
|
throw re.name = "Invariant Violation", re;
|
|
317
317
|
}
|
|
318
|
-
|
|
319
|
-
} catch (
|
|
320
|
-
|
|
318
|
+
b = e[v](i, v, m, s, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
319
|
+
} catch (W) {
|
|
320
|
+
b = W;
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
b && !(b instanceof Error) && (te(j), g("%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).", m || "React class", s, v, typeof b), te(null)), b instanceof Error && !(b.message in l) && (l[b.message] = !0, te(j), g("Failed %s type: %s", s, b.message), te(null));
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
}
|
|
@@ -329,25 +329,25 @@ function qr() {
|
|
|
329
329
|
}
|
|
330
330
|
function gr(e) {
|
|
331
331
|
{
|
|
332
|
-
var
|
|
332
|
+
var i = typeof Symbol == "function" && Symbol.toStringTag, s = i && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
333
333
|
return s;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
function _r(e) {
|
|
337
337
|
try {
|
|
338
|
-
return
|
|
338
|
+
return Ye(e), !1;
|
|
339
339
|
} catch {
|
|
340
340
|
return !0;
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function Ye(e) {
|
|
344
344
|
return "" + e;
|
|
345
345
|
}
|
|
346
|
-
function
|
|
346
|
+
function qe(e) {
|
|
347
347
|
if (_r(e))
|
|
348
|
-
return
|
|
348
|
+
return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", gr(e)), Ye(e);
|
|
349
349
|
}
|
|
350
|
-
var Ve =
|
|
350
|
+
var Ve = T.ReactCurrentOwner, br = {
|
|
351
351
|
key: !0,
|
|
352
352
|
ref: !0,
|
|
353
353
|
__self: !0,
|
|
@@ -355,27 +355,27 @@ function qr() {
|
|
|
355
355
|
}, Je, ze;
|
|
356
356
|
function yr(e) {
|
|
357
357
|
if (n.call(e, "ref")) {
|
|
358
|
-
var
|
|
359
|
-
if (
|
|
358
|
+
var i = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
359
|
+
if (i && i.isReactWarning)
|
|
360
360
|
return !1;
|
|
361
361
|
}
|
|
362
362
|
return e.ref !== void 0;
|
|
363
363
|
}
|
|
364
364
|
function kr(e) {
|
|
365
365
|
if (n.call(e, "key")) {
|
|
366
|
-
var
|
|
367
|
-
if (
|
|
366
|
+
var i = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
367
|
+
if (i && i.isReactWarning)
|
|
368
368
|
return !1;
|
|
369
369
|
}
|
|
370
370
|
return e.key !== void 0;
|
|
371
371
|
}
|
|
372
|
-
function vr(e,
|
|
372
|
+
function vr(e, i) {
|
|
373
373
|
typeof e.ref == "string" && Ve.current;
|
|
374
374
|
}
|
|
375
|
-
function xr(e,
|
|
375
|
+
function xr(e, i) {
|
|
376
376
|
{
|
|
377
377
|
var s = function() {
|
|
378
|
-
Je || (Je = !0,
|
|
378
|
+
Je || (Je = !0, g("%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
|
s.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
381
381
|
get: s,
|
|
@@ -383,10 +383,10 @@ function qr() {
|
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
function wr(e,
|
|
386
|
+
function wr(e, i) {
|
|
387
387
|
{
|
|
388
388
|
var s = function() {
|
|
389
|
-
ze || (ze = !0,
|
|
389
|
+
ze || (ze = !0, g("%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
|
s.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
392
392
|
get: s,
|
|
@@ -394,57 +394,57 @@ function qr() {
|
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
var Pr = function(e,
|
|
398
|
-
var
|
|
397
|
+
var Pr = function(e, i, s, m, j, I, v) {
|
|
398
|
+
var b = {
|
|
399
399
|
// This tag allows us to uniquely identify this as a React Element
|
|
400
|
-
$$typeof:
|
|
400
|
+
$$typeof: o,
|
|
401
401
|
// Built-in properties that belong on the element
|
|
402
402
|
type: e,
|
|
403
|
-
key:
|
|
403
|
+
key: i,
|
|
404
404
|
ref: s,
|
|
405
|
-
props:
|
|
405
|
+
props: v,
|
|
406
406
|
// Record the component responsible for creating this element.
|
|
407
|
-
_owner:
|
|
407
|
+
_owner: I
|
|
408
408
|
};
|
|
409
|
-
return
|
|
409
|
+
return b._store = {}, Object.defineProperty(b._store, "validated", {
|
|
410
410
|
configurable: !1,
|
|
411
411
|
enumerable: !1,
|
|
412
412
|
writable: !0,
|
|
413
413
|
value: !1
|
|
414
|
-
}), Object.defineProperty(
|
|
414
|
+
}), Object.defineProperty(b, "_self", {
|
|
415
415
|
configurable: !1,
|
|
416
416
|
enumerable: !1,
|
|
417
417
|
writable: !1,
|
|
418
418
|
value: m
|
|
419
|
-
}), Object.defineProperty(
|
|
419
|
+
}), Object.defineProperty(b, "_source", {
|
|
420
420
|
configurable: !1,
|
|
421
421
|
enumerable: !1,
|
|
422
422
|
writable: !1,
|
|
423
|
-
value:
|
|
424
|
-
}), Object.freeze && (Object.freeze(
|
|
423
|
+
value: j
|
|
424
|
+
}), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
|
|
425
425
|
};
|
|
426
|
-
function Ar(e,
|
|
426
|
+
function Ar(e, i, s, m, j) {
|
|
427
427
|
{
|
|
428
|
-
var
|
|
429
|
-
s !== void 0 && (
|
|
430
|
-
for (
|
|
431
|
-
n.call(
|
|
428
|
+
var I, v = {}, b = null, re = null;
|
|
429
|
+
s !== void 0 && (qe(s), b = "" + s), kr(i) && (qe(i.key), b = "" + i.key), yr(i) && (re = i.ref, vr(i, j));
|
|
430
|
+
for (I in i)
|
|
431
|
+
n.call(i, I) && !br.hasOwnProperty(I) && (v[I] = i[I]);
|
|
432
432
|
if (e && e.defaultProps) {
|
|
433
|
-
var
|
|
434
|
-
for (
|
|
435
|
-
|
|
433
|
+
var W = e.defaultProps;
|
|
434
|
+
for (I in W)
|
|
435
|
+
v[I] === void 0 && (v[I] = W[I]);
|
|
436
436
|
}
|
|
437
|
-
if (
|
|
438
|
-
var
|
|
439
|
-
|
|
437
|
+
if (b || re) {
|
|
438
|
+
var q = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
439
|
+
b && xr(v, q), re && wr(v, q);
|
|
440
440
|
}
|
|
441
|
-
return Pr(e,
|
|
441
|
+
return Pr(e, b, re, j, m, Ve.current, v);
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
|
-
var Fe =
|
|
444
|
+
var Fe = T.ReactCurrentOwner, Qe = T.ReactDebugCurrentFrame;
|
|
445
445
|
function Ae(e) {
|
|
446
446
|
if (e) {
|
|
447
|
-
var
|
|
447
|
+
var i = e._owner, s = P(e.type, e._source, i ? i.type : null);
|
|
448
448
|
Qe.setExtraStackFrame(s);
|
|
449
449
|
} else
|
|
450
450
|
Qe.setExtraStackFrame(null);
|
|
@@ -452,12 +452,12 @@ function qr() {
|
|
|
452
452
|
var Me;
|
|
453
453
|
Me = !1;
|
|
454
454
|
function $e(e) {
|
|
455
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
455
|
+
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
456
456
|
}
|
|
457
457
|
function Xe() {
|
|
458
458
|
{
|
|
459
459
|
if (Fe.current) {
|
|
460
|
-
var e =
|
|
460
|
+
var e = C(Fe.current.type);
|
|
461
461
|
if (e)
|
|
462
462
|
return `
|
|
463
463
|
|
|
@@ -472,102 +472,102 @@ Check the render method of \`` + e + "`.";
|
|
|
472
472
|
var Ze = {};
|
|
473
473
|
function jr(e) {
|
|
474
474
|
{
|
|
475
|
-
var
|
|
476
|
-
if (!
|
|
475
|
+
var i = Xe();
|
|
476
|
+
if (!i) {
|
|
477
477
|
var s = typeof e == "string" ? e : e.displayName || e.name;
|
|
478
|
-
s && (
|
|
478
|
+
s && (i = `
|
|
479
479
|
|
|
480
480
|
Check the top-level render call using <` + s + ">.");
|
|
481
481
|
}
|
|
482
|
-
return
|
|
482
|
+
return i;
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
|
-
function er(e,
|
|
485
|
+
function er(e, i) {
|
|
486
486
|
{
|
|
487
487
|
if (!e._store || e._store.validated || e.key != null)
|
|
488
488
|
return;
|
|
489
489
|
e._store.validated = !0;
|
|
490
|
-
var s = jr(
|
|
490
|
+
var s = jr(i);
|
|
491
491
|
if (Ze[s])
|
|
492
492
|
return;
|
|
493
493
|
Ze[s] = !0;
|
|
494
494
|
var m = "";
|
|
495
|
-
e && e._owner && e._owner !== Fe.current && (m = " It was passed a child from " +
|
|
495
|
+
e && e._owner && e._owner !== Fe.current && (m = " It was passed a child from " + C(e._owner.type) + "."), Ae(e), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', s, m), Ae(null);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
|
-
function rr(e,
|
|
498
|
+
function rr(e, i) {
|
|
499
499
|
{
|
|
500
500
|
if (typeof e != "object")
|
|
501
501
|
return;
|
|
502
502
|
if (Oe(e))
|
|
503
503
|
for (var s = 0; s < e.length; s++) {
|
|
504
504
|
var m = e[s];
|
|
505
|
-
$e(m) && er(m,
|
|
505
|
+
$e(m) && er(m, i);
|
|
506
506
|
}
|
|
507
507
|
else if ($e(e))
|
|
508
508
|
e._store && (e._store.validated = !0);
|
|
509
509
|
else if (e) {
|
|
510
|
-
var
|
|
511
|
-
if (typeof
|
|
512
|
-
for (var
|
|
513
|
-
$e(
|
|
510
|
+
var j = A(e);
|
|
511
|
+
if (typeof j == "function" && j !== e.entries)
|
|
512
|
+
for (var I = j.call(e), v; !(v = I.next()).done; )
|
|
513
|
+
$e(v.value) && er(v.value, i);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function Nr(e) {
|
|
518
518
|
{
|
|
519
|
-
var
|
|
520
|
-
if (
|
|
519
|
+
var i = e.type;
|
|
520
|
+
if (i == null || typeof i == "string")
|
|
521
521
|
return;
|
|
522
522
|
var s;
|
|
523
|
-
if (typeof
|
|
524
|
-
s =
|
|
525
|
-
else if (typeof
|
|
523
|
+
if (typeof i == "function")
|
|
524
|
+
s = i.propTypes;
|
|
525
|
+
else if (typeof i == "object" && (i.$$typeof === w || // Note: Memo only checks outer props here.
|
|
526
526
|
// Inner props are checked in the reconciler.
|
|
527
|
-
|
|
528
|
-
s =
|
|
527
|
+
i.$$typeof === S))
|
|
528
|
+
s = i.propTypes;
|
|
529
529
|
else
|
|
530
530
|
return;
|
|
531
531
|
if (s) {
|
|
532
|
-
var m =
|
|
532
|
+
var m = C(i);
|
|
533
533
|
Te(s, e.props, "prop", m, e);
|
|
534
|
-
} else if (
|
|
534
|
+
} else if (i.PropTypes !== void 0 && !Me) {
|
|
535
535
|
Me = !0;
|
|
536
|
-
var
|
|
537
|
-
|
|
536
|
+
var j = C(i);
|
|
537
|
+
g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", j || "Unknown");
|
|
538
538
|
}
|
|
539
|
-
typeof
|
|
539
|
+
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Tr(e) {
|
|
543
543
|
{
|
|
544
|
-
for (var
|
|
545
|
-
var m =
|
|
544
|
+
for (var i = Object.keys(e.props), s = 0; s < i.length; s++) {
|
|
545
|
+
var m = i[s];
|
|
546
546
|
if (m !== "children" && m !== "key") {
|
|
547
|
-
Ae(e),
|
|
547
|
+
Ae(e), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), Ae(null);
|
|
548
548
|
break;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
e.ref !== null && (Ae(e),
|
|
551
|
+
e.ref !== null && (Ae(e), g("Invalid attribute `ref` supplied to `React.Fragment`."), Ae(null));
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
var tr = {};
|
|
555
|
-
function ar(e,
|
|
555
|
+
function ar(e, i, s, m, j, I) {
|
|
556
556
|
{
|
|
557
|
-
var
|
|
558
|
-
if (!
|
|
559
|
-
var
|
|
560
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
557
|
+
var v = B(e);
|
|
558
|
+
if (!v) {
|
|
559
|
+
var b = "";
|
|
560
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (b += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
561
561
|
var re = Cr();
|
|
562
|
-
re ?
|
|
563
|
-
var
|
|
564
|
-
e === null ?
|
|
562
|
+
re ? b += re : b += Xe();
|
|
563
|
+
var W;
|
|
564
|
+
e === null ? W = "null" : Oe(e) ? W = "array" : e !== void 0 && e.$$typeof === o ? (W = "<" + (C(e.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : W = typeof e, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", W, b);
|
|
565
565
|
}
|
|
566
|
-
var
|
|
567
|
-
if (
|
|
568
|
-
return
|
|
569
|
-
if (
|
|
570
|
-
var de =
|
|
566
|
+
var q = Ar(e, i, s, j, I);
|
|
567
|
+
if (q == null)
|
|
568
|
+
return q;
|
|
569
|
+
if (v) {
|
|
570
|
+
var de = i.children;
|
|
571
571
|
if (de !== void 0)
|
|
572
572
|
if (m)
|
|
573
573
|
if (Oe(de)) {
|
|
@@ -575,17 +575,17 @@ Check the top-level render call using <` + s + ">.");
|
|
|
575
575
|
rr(de[Ce], e);
|
|
576
576
|
Object.freeze && Object.freeze(de);
|
|
577
577
|
} else
|
|
578
|
-
|
|
578
|
+
g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
579
579
|
else
|
|
580
580
|
rr(de, e);
|
|
581
581
|
}
|
|
582
|
-
if (n.call(
|
|
583
|
-
var ve =
|
|
582
|
+
if (n.call(i, "key")) {
|
|
583
|
+
var ve = C(e), ae = Object.keys(i).filter(function(Lr) {
|
|
584
584
|
return Lr !== "key";
|
|
585
585
|
}), Ue = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
586
586
|
if (!tr[ve + Ue]) {
|
|
587
587
|
var Br = ae.length > 0 ? "{" + ae.join(": ..., ") + ": ...}" : "{}";
|
|
588
|
-
|
|
588
|
+
g(`A props object containing a "key" prop is being spread into JSX:
|
|
589
589
|
let props = %s;
|
|
590
590
|
<%s {...props} />
|
|
591
591
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -593,24 +593,24 @@ React keys must be passed directly to JSX without using spread:
|
|
|
593
593
|
<%s key={someKey} {...props} />`, Ue, ve, Br, ve), tr[ve + Ue] = !0;
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
|
-
return e === u ?
|
|
596
|
+
return e === u ? Tr(q) : Nr(q), q;
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
|
-
function Rr(e,
|
|
600
|
-
return ar(e,
|
|
599
|
+
function Rr(e, i, s) {
|
|
600
|
+
return ar(e, i, s, !0);
|
|
601
601
|
}
|
|
602
|
-
function Sr(e,
|
|
603
|
-
return ar(e,
|
|
602
|
+
function Sr(e, i, s) {
|
|
603
|
+
return ar(e, i, s, !1);
|
|
604
604
|
}
|
|
605
605
|
var Er = Sr, Ir = Rr;
|
|
606
|
-
|
|
607
|
-
})()),
|
|
606
|
+
Se.Fragment = u, Se.jsx = Er, Se.jsxs = Ir;
|
|
607
|
+
})()), Se;
|
|
608
608
|
}
|
|
609
609
|
var ir;
|
|
610
|
-
function
|
|
611
|
-
return ir || (ir = 1, process.env.NODE_ENV === "production" ? Ie.exports = Ur() : Ie.exports =
|
|
610
|
+
function Kr() {
|
|
611
|
+
return ir || (ir = 1, process.env.NODE_ENV === "production" ? Ie.exports = Ur() : Ie.exports = Gr()), Ie.exports;
|
|
612
612
|
}
|
|
613
|
-
var r =
|
|
613
|
+
var r = Kr();
|
|
614
614
|
const dr = ["en", "hi"], sr = {
|
|
615
615
|
en: "English",
|
|
616
616
|
hi: "हिन्दी"
|
|
@@ -826,7 +826,10 @@ const dr = ["en", "hi"], sr = {
|
|
|
826
826
|
planAstrologerNameNeeraj: "Meenakshi",
|
|
827
827
|
planAstrologerExpNeeraj: "12+ Years of experience",
|
|
828
828
|
planAstrologerNameAshwini: "Astro Ashwini",
|
|
829
|
-
planAstrologerExpAshwini: "16 Years of experience"
|
|
829
|
+
planAstrologerExpAshwini: "16 Years of experience",
|
|
830
|
+
and: "And",
|
|
831
|
+
astrologyGuidance: "Astrology Guidance",
|
|
832
|
+
selectPackage: "Select Package"
|
|
830
833
|
},
|
|
831
834
|
hi: {
|
|
832
835
|
kundli: "कुंडली",
|
|
@@ -1038,22 +1041,25 @@ const dr = ["en", "hi"], sr = {
|
|
|
1038
1041
|
planAstrologerNameNeeraj: "मीनाक्षी",
|
|
1039
1042
|
planAstrologerExpNeeraj: "12+ साल का अनुभव",
|
|
1040
1043
|
planAstrologerNameAshwini: "ज्योतिष अश्विनी",
|
|
1041
|
-
planAstrologerExpAshwini: "16 साल का अनुभव"
|
|
1044
|
+
planAstrologerExpAshwini: "16 साल का अनुभव",
|
|
1045
|
+
and: "और",
|
|
1046
|
+
astrologyGuidance: "ज्योतिष से सलाह",
|
|
1047
|
+
selectPackage: "पैकेज चुनें"
|
|
1042
1048
|
}
|
|
1043
1049
|
}, mr = cr(null), En = ({
|
|
1044
1050
|
locale: t,
|
|
1045
|
-
children:
|
|
1051
|
+
children: o
|
|
1046
1052
|
}) => {
|
|
1047
|
-
const u = { locale: t, t: (
|
|
1048
|
-
return /* @__PURE__ */ r.jsx(mr.Provider, { value: u, children:
|
|
1053
|
+
const u = { locale: t, t: (y) => ur[t]?.[y] ?? y };
|
|
1054
|
+
return /* @__PURE__ */ r.jsx(mr.Provider, { value: u, children: o });
|
|
1049
1055
|
};
|
|
1050
|
-
function
|
|
1051
|
-
return
|
|
1056
|
+
function Wr() {
|
|
1057
|
+
return We(mr);
|
|
1052
1058
|
}
|
|
1053
|
-
const
|
|
1054
|
-
container:
|
|
1055
|
-
main:
|
|
1056
|
-
kundliHeaderNoBorder:
|
|
1059
|
+
const Hr = "_container_1e1th_1", Yr = "_main_1e1th_7", qr = "_kundliHeaderNoBorder_1e1th_12", Vr = "_headerSeparator_1e1th_16", Jr = "_langDropdownWrap_1e1th_21", zr = "_langTrigger_1e1th_25", Qr = "_langIcon_1e1th_37", Xr = "_langLabel_1e1th_44", Zr = "_langMenu_1e1th_49", et = "_langOption_1e1th_55", he = {
|
|
1060
|
+
container: Hr,
|
|
1061
|
+
main: Yr,
|
|
1062
|
+
kundliHeaderNoBorder: qr,
|
|
1057
1063
|
headerSeparator: Vr,
|
|
1058
1064
|
langDropdownWrap: Jr,
|
|
1059
1065
|
langTrigger: zr,
|
|
@@ -1062,14 +1068,14 @@ const Wr = "_container_1e1th_1", Hr = "_main_1e1th_7", Yr = "_kundliHeaderNoBord
|
|
|
1062
1068
|
langMenu: Zr,
|
|
1063
1069
|
langOption: et
|
|
1064
1070
|
}, Le = (t) => {
|
|
1065
|
-
const { priority:
|
|
1066
|
-
return
|
|
1067
|
-
...
|
|
1071
|
+
const { priority: o, fetchPriority: d, width: u, height: y, ...x } = t;
|
|
1072
|
+
return Ke.createElement("img", {
|
|
1073
|
+
...x,
|
|
1068
1074
|
width: u ?? 1,
|
|
1069
|
-
height:
|
|
1075
|
+
height: y ?? 1,
|
|
1070
1076
|
decoding: "async",
|
|
1071
|
-
loading:
|
|
1072
|
-
...
|
|
1077
|
+
loading: x.loading ?? (o ? "eager" : "lazy"),
|
|
1078
|
+
...d && { fetchPriority: d }
|
|
1073
1079
|
});
|
|
1074
1080
|
};
|
|
1075
1081
|
function rt(t) {
|
|
@@ -1081,10 +1087,10 @@ function rt(t) {
|
|
|
1081
1087
|
return null;
|
|
1082
1088
|
}
|
|
1083
1089
|
}
|
|
1084
|
-
function tt(t,
|
|
1090
|
+
function tt(t, o) {
|
|
1085
1091
|
if (!(typeof window > "u" || !window.localStorage))
|
|
1086
1092
|
try {
|
|
1087
|
-
window.localStorage.setItem(t,
|
|
1093
|
+
window.localStorage.setItem(t, o);
|
|
1088
1094
|
} catch {
|
|
1089
1095
|
}
|
|
1090
1096
|
}
|
|
@@ -1105,15 +1111,15 @@ function Bn() {
|
|
|
1105
1111
|
return !1;
|
|
1106
1112
|
}
|
|
1107
1113
|
}
|
|
1108
|
-
const
|
|
1114
|
+
const fr = "kundli_language";
|
|
1109
1115
|
function at() {
|
|
1110
|
-
const t = rt(
|
|
1116
|
+
const t = rt(fr);
|
|
1111
1117
|
return t && dr.includes(t) ? t : null;
|
|
1112
1118
|
}
|
|
1113
1119
|
function nt(t) {
|
|
1114
|
-
tt(
|
|
1120
|
+
tt(fr, t);
|
|
1115
1121
|
}
|
|
1116
|
-
const
|
|
1122
|
+
const He = cr(null), ot = {
|
|
1117
1123
|
fullName: "",
|
|
1118
1124
|
phone: "",
|
|
1119
1125
|
gender: "",
|
|
@@ -1125,38 +1131,38 @@ const We = cr(null), ot = {
|
|
|
1125
1131
|
birthPlace: ""
|
|
1126
1132
|
}, Ln = ({
|
|
1127
1133
|
locale: t,
|
|
1128
|
-
showLanguageSelector:
|
|
1129
|
-
showSheet:
|
|
1134
|
+
showLanguageSelector: o = !0,
|
|
1135
|
+
showSheet: d,
|
|
1130
1136
|
userId: u,
|
|
1131
|
-
isGlobal:
|
|
1132
|
-
variant:
|
|
1133
|
-
googleMapsApiKey:
|
|
1134
|
-
logoUrl:
|
|
1135
|
-
reportImageUrl:
|
|
1137
|
+
isGlobal: y,
|
|
1138
|
+
variant: x,
|
|
1139
|
+
googleMapsApiKey: h,
|
|
1140
|
+
logoUrl: N,
|
|
1141
|
+
reportImageUrl: w,
|
|
1136
1142
|
reportImagePriority: F,
|
|
1137
|
-
backgroundImagePriority:
|
|
1138
|
-
universityLogoUrls:
|
|
1139
|
-
sampleReportHref:
|
|
1143
|
+
backgroundImagePriority: c,
|
|
1144
|
+
universityLogoUrls: S,
|
|
1145
|
+
sampleReportHref: p,
|
|
1140
1146
|
onViewSampleReport: D,
|
|
1141
|
-
ctaHref:
|
|
1142
|
-
onCtaClick:
|
|
1143
|
-
onBack:
|
|
1144
|
-
readMoreReviewsHref:
|
|
1145
|
-
onProceed:
|
|
1146
|
-
proceedHref:
|
|
1147
|
-
originalPriceLabel:
|
|
1148
|
-
discountedPriceLabel:
|
|
1147
|
+
ctaHref: k,
|
|
1148
|
+
onCtaClick: E,
|
|
1149
|
+
onBack: A,
|
|
1150
|
+
readMoreReviewsHref: T,
|
|
1151
|
+
onProceed: g,
|
|
1152
|
+
proceedHref: G,
|
|
1153
|
+
originalPriceLabel: _,
|
|
1154
|
+
discountedPriceLabel: M,
|
|
1149
1155
|
discountPillLabel: O,
|
|
1150
|
-
analytics:
|
|
1156
|
+
analytics: $,
|
|
1151
1157
|
onProceedGuidance: Z,
|
|
1152
1158
|
onLocaleChange: R,
|
|
1153
1159
|
imageComponent: B = Le,
|
|
1154
|
-
children:
|
|
1160
|
+
children: z
|
|
1155
1161
|
}) => {
|
|
1156
|
-
const [
|
|
1162
|
+
const [U, C] = V("landing"), [L, Y] = V(t ?? "en"), [J, ne] = V(ot), ge = H(!0);
|
|
1157
1163
|
X(() => {
|
|
1158
1164
|
const le = at();
|
|
1159
|
-
le &&
|
|
1165
|
+
le && Y(le);
|
|
1160
1166
|
}, []), X(() => {
|
|
1161
1167
|
nt(L);
|
|
1162
1168
|
}, [L]), X(() => {
|
|
@@ -1166,91 +1172,91 @@ const We = cr(null), ot = {
|
|
|
1166
1172
|
}
|
|
1167
1173
|
R?.(L);
|
|
1168
1174
|
}, [L, R]);
|
|
1169
|
-
const Q =
|
|
1175
|
+
const Q = Ge(
|
|
1170
1176
|
() => ({
|
|
1171
1177
|
locale: t,
|
|
1172
|
-
showLanguageSelector:
|
|
1173
|
-
showSheet:
|
|
1178
|
+
showLanguageSelector: o,
|
|
1179
|
+
showSheet: d,
|
|
1174
1180
|
userId: u,
|
|
1175
|
-
isGlobal:
|
|
1176
|
-
variant:
|
|
1177
|
-
googleMapsApiKey:
|
|
1178
|
-
logoUrl:
|
|
1179
|
-
reportImageUrl:
|
|
1181
|
+
isGlobal: y,
|
|
1182
|
+
variant: x,
|
|
1183
|
+
googleMapsApiKey: h,
|
|
1184
|
+
logoUrl: N,
|
|
1185
|
+
reportImageUrl: w,
|
|
1180
1186
|
reportImagePriority: F,
|
|
1181
|
-
backgroundImagePriority:
|
|
1182
|
-
universityLogoUrls:
|
|
1183
|
-
sampleReportHref:
|
|
1187
|
+
backgroundImagePriority: c,
|
|
1188
|
+
universityLogoUrls: S,
|
|
1189
|
+
sampleReportHref: p,
|
|
1184
1190
|
onViewSampleReport: D,
|
|
1185
|
-
ctaHref:
|
|
1186
|
-
onCtaClick:
|
|
1187
|
-
onBack:
|
|
1188
|
-
readMoreReviewsHref:
|
|
1189
|
-
onProceed:
|
|
1190
|
-
proceedHref:
|
|
1191
|
-
originalPriceLabel:
|
|
1192
|
-
discountedPriceLabel:
|
|
1191
|
+
ctaHref: k,
|
|
1192
|
+
onCtaClick: E,
|
|
1193
|
+
onBack: A,
|
|
1194
|
+
readMoreReviewsHref: T,
|
|
1195
|
+
onProceed: g,
|
|
1196
|
+
proceedHref: G,
|
|
1197
|
+
originalPriceLabel: _,
|
|
1198
|
+
discountedPriceLabel: M,
|
|
1193
1199
|
discountPillLabel: O,
|
|
1194
|
-
analytics:
|
|
1200
|
+
analytics: $,
|
|
1195
1201
|
onProceedGuidance: Z,
|
|
1196
1202
|
onLocaleChange: R,
|
|
1197
1203
|
imageComponent: B
|
|
1198
1204
|
}),
|
|
1199
1205
|
[
|
|
1200
1206
|
t,
|
|
1201
|
-
|
|
1202
|
-
|
|
1207
|
+
o,
|
|
1208
|
+
d,
|
|
1203
1209
|
u,
|
|
1210
|
+
y,
|
|
1211
|
+
x,
|
|
1204
1212
|
h,
|
|
1213
|
+
N,
|
|
1205
1214
|
w,
|
|
1206
|
-
_,
|
|
1207
|
-
j,
|
|
1208
|
-
v,
|
|
1209
1215
|
F,
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
g,
|
|
1213
|
-
D,
|
|
1214
|
-
A,
|
|
1216
|
+
c,
|
|
1217
|
+
S,
|
|
1215
1218
|
p,
|
|
1216
|
-
|
|
1217
|
-
N,
|
|
1219
|
+
D,
|
|
1218
1220
|
k,
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1221
|
+
E,
|
|
1222
|
+
A,
|
|
1223
|
+
T,
|
|
1224
|
+
g,
|
|
1225
|
+
G,
|
|
1226
|
+
_,
|
|
1223
1227
|
M,
|
|
1228
|
+
O,
|
|
1229
|
+
$,
|
|
1224
1230
|
Z,
|
|
1225
1231
|
R,
|
|
1226
1232
|
B
|
|
1227
1233
|
]
|
|
1228
1234
|
), ie = be(() => {
|
|
1229
|
-
|
|
1235
|
+
C("form");
|
|
1230
1236
|
}, [Q.analytics]), ue = be(() => {
|
|
1231
|
-
|
|
1232
|
-
}, [Q.onBack]), se =
|
|
1237
|
+
C("landing"), Q.onBack?.();
|
|
1238
|
+
}, [Q.onBack]), se = Ge(
|
|
1233
1239
|
() => ({
|
|
1234
|
-
view:
|
|
1240
|
+
view: U,
|
|
1235
1241
|
locale: L,
|
|
1236
|
-
setLocale:
|
|
1242
|
+
setLocale: Y,
|
|
1237
1243
|
config: Q,
|
|
1238
|
-
formValues:
|
|
1244
|
+
formValues: J,
|
|
1239
1245
|
setFormValues: ne,
|
|
1240
1246
|
goToForm: ie,
|
|
1241
1247
|
goToPage: ue,
|
|
1242
1248
|
onProceed: Q.onProceed,
|
|
1243
1249
|
onProceedGuidance: Q.onProceedGuidance
|
|
1244
1250
|
}),
|
|
1245
|
-
[
|
|
1251
|
+
[U, L, Q, J, ie, ue]
|
|
1246
1252
|
);
|
|
1247
|
-
return /* @__PURE__ */ r.jsx(
|
|
1253
|
+
return /* @__PURE__ */ r.jsx(He.Provider, { value: se, children: z });
|
|
1248
1254
|
};
|
|
1249
|
-
function
|
|
1250
|
-
return
|
|
1255
|
+
function Ne() {
|
|
1256
|
+
return We(He);
|
|
1251
1257
|
}
|
|
1252
1258
|
function Dn() {
|
|
1253
|
-
const t =
|
|
1259
|
+
const t = We(He);
|
|
1254
1260
|
if (!t)
|
|
1255
1261
|
throw new Error("useKundliContextOrThrow must be used within KundliProvider");
|
|
1256
1262
|
return t;
|
|
@@ -1260,25 +1266,25 @@ const it = "_header_19172_1", st = "_centered_19172_8", lr = {
|
|
|
1260
1266
|
centered: st
|
|
1261
1267
|
}, lt = ({
|
|
1262
1268
|
t,
|
|
1263
|
-
onBack:
|
|
1264
|
-
className:
|
|
1269
|
+
onBack: o,
|
|
1270
|
+
className: d = "",
|
|
1265
1271
|
align: u = "left"
|
|
1266
1272
|
}) => /* @__PURE__ */ r.jsx(
|
|
1267
1273
|
Dr,
|
|
1268
1274
|
{
|
|
1269
1275
|
title: t("formTitle"),
|
|
1270
1276
|
subtitle: t("formSubtitle"),
|
|
1271
|
-
onBack:
|
|
1277
|
+
onBack: o,
|
|
1272
1278
|
backAriaLabel: t("back"),
|
|
1273
|
-
className: `${lr.header} ${u === "center" ? lr.centered : ""} ${
|
|
1279
|
+
className: `${lr.header} ${u === "center" ? lr.centered : ""} ${d}`
|
|
1274
1280
|
}
|
|
1275
|
-
), ct = "_wrap_kiw0x_1", dt = "_card_kiw0x_5", ut = "_cardInner_kiw0x_12", mt = "_field_kiw0x_44",
|
|
1281
|
+
), ct = "_wrap_kiw0x_1", dt = "_card_kiw0x_5", ut = "_cardInner_kiw0x_12", mt = "_field_kiw0x_44", ft = "_labelRow_kiw0x_48", pt = "_label_kiw0x_48", ht = "_req_kiw0x_57", gt = "_help_kiw0x_61", _t = "_choiceRow_kiw0x_68", bt = "_choiceBtn_kiw0x_74", yt = "_choiceBtnActive_kiw0x_99", kt = "_infoBtn_kiw0x_105", vt = "_infoImg_kiw0x_122", xt = "_infoWrap_kiw0x_128", wt = "_tooltip_kiw0x_134", Pt = "_tooltipArrow_kiw0x_150", At = "_inputWrap_kiw0x_161", Ct = "_isdWrap_kiw0x_165", jt = "_phoneInputGroup_kiw0x_169", Nt = "_isdSelectWrap_kiw0x_178", Tt = "_isdSelectTrigger_kiw0x_197", Rt = "_isdDropdown_kiw0x_214", St = "_isdSearchWrap_kiw0x_229", Et = "_isdSearchInput_kiw0x_237", It = "_isdOption_kiw0x_255", Bt = "_isdOptionActive_kiw0x_275", Lt = "_isdCountryName_kiw0x_281", Dt = "_isdCountryCode_kiw0x_288", Ot = "_isdNoResult_kiw0x_295", Ft = "_suggestions_kiw0x_302", Mt = "_suggestionItem_kiw0x_315", $t = "_suggestionMain_kiw0x_333", Ut = "_suggestionSecondary_kiw0x_339", Gt = "_suggestionsHint_kiw0x_344", Kt = "_timePopover_kiw0x_359", Wt = "_timePickerRow_kiw0x_375", Ht = "_timePickerSelect_kiw0x_381", Yt = "_timePickerColon_kiw0x_397", qt = "_meridiemToggle_kiw0x_405", Vt = "_meridiemBtn_kiw0x_414", Jt = "_meridiemActive_kiw0x_429", zt = "_timePopoverActions_kiw0x_434", Qt = "_timePopoverBtn_kiw0x_440", Xt = "_timePopoverOk_kiw0x_459", Zt = "_input_kiw0x_161", ea = "_phoneInput_kiw0x_169", ra = "_iconBtn_kiw0x_512", ta = "_iconBtnInteractive_kiw0x_518", aa = "_iconImg_kiw0x_537", na = "_checkboxRow_kiw0x_543", oa = "_checkbox_kiw0x_543", ia = "_checkboxText_kiw0x_581", a = {
|
|
1276
1282
|
wrap: ct,
|
|
1277
1283
|
card: dt,
|
|
1278
1284
|
cardInner: ut,
|
|
1279
1285
|
field: mt,
|
|
1280
|
-
labelRow:
|
|
1281
|
-
label:
|
|
1286
|
+
labelRow: ft,
|
|
1287
|
+
label: pt,
|
|
1282
1288
|
req: ht,
|
|
1283
1289
|
help: gt,
|
|
1284
1290
|
choiceRow: _t,
|
|
@@ -1292,8 +1298,8 @@ const it = "_header_19172_1", st = "_centered_19172_8", lr = {
|
|
|
1292
1298
|
inputWrap: At,
|
|
1293
1299
|
isdWrap: Ct,
|
|
1294
1300
|
phoneInputGroup: jt,
|
|
1295
|
-
isdSelectWrap:
|
|
1296
|
-
isdSelectTrigger:
|
|
1301
|
+
isdSelectWrap: Nt,
|
|
1302
|
+
isdSelectTrigger: Tt,
|
|
1297
1303
|
isdDropdown: Rt,
|
|
1298
1304
|
isdSearchWrap: St,
|
|
1299
1305
|
isdSearchInput: Et,
|
|
@@ -1306,12 +1312,12 @@ const it = "_header_19172_1", st = "_centered_19172_8", lr = {
|
|
|
1306
1312
|
suggestionItem: Mt,
|
|
1307
1313
|
suggestionMain: $t,
|
|
1308
1314
|
suggestionSecondary: Ut,
|
|
1309
|
-
suggestionsHint:
|
|
1310
|
-
timePopover:
|
|
1311
|
-
timePickerRow:
|
|
1312
|
-
timePickerSelect:
|
|
1313
|
-
timePickerColon:
|
|
1314
|
-
meridiemToggle:
|
|
1315
|
+
suggestionsHint: Gt,
|
|
1316
|
+
timePopover: Kt,
|
|
1317
|
+
timePickerRow: Wt,
|
|
1318
|
+
timePickerSelect: Ht,
|
|
1319
|
+
timePickerColon: Yt,
|
|
1320
|
+
meridiemToggle: qt,
|
|
1315
1321
|
meridiemBtn: Vt,
|
|
1316
1322
|
meridiemActive: Jt,
|
|
1317
1323
|
timePopoverActions: zt,
|
|
@@ -1327,25 +1333,25 @@ const it = "_header_19172_1", st = "_centered_19172_8", lr = {
|
|
|
1327
1333
|
checkboxText: ia
|
|
1328
1334
|
};
|
|
1329
1335
|
let Be = null;
|
|
1330
|
-
const sa = (t,
|
|
1331
|
-
const
|
|
1336
|
+
const sa = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Be || (Be = new Promise((d, u) => {
|
|
1337
|
+
const y = document.querySelector(
|
|
1332
1338
|
'script[data-google-maps-places="true"]'
|
|
1333
1339
|
);
|
|
1334
|
-
if (
|
|
1335
|
-
|
|
1340
|
+
if (y) {
|
|
1341
|
+
y.addEventListener("load", () => d()), y.addEventListener(
|
|
1336
1342
|
"error",
|
|
1337
1343
|
() => u(new Error("Failed to load Google Maps API"))
|
|
1338
1344
|
);
|
|
1339
1345
|
return;
|
|
1340
1346
|
}
|
|
1341
|
-
const
|
|
1342
|
-
|
|
1343
|
-
const
|
|
1347
|
+
const x = document.createElement("script"), h = new URL("https://maps.googleapis.com/maps/api/js");
|
|
1348
|
+
h.searchParams.set("key", t), h.searchParams.set("libraries", "places"), h.searchParams.set("loading", "async"), o && h.searchParams.set("language", o), x.src = h.toString(), x.async = !0, x.defer = !0, x.setAttribute("data-google-maps-places", "true"), x.onload = () => {
|
|
1349
|
+
const N = Date.now(), w = () => {
|
|
1344
1350
|
if (window.google?.maps?.places) {
|
|
1345
|
-
|
|
1351
|
+
d();
|
|
1346
1352
|
return;
|
|
1347
1353
|
}
|
|
1348
|
-
if (Date.now() -
|
|
1354
|
+
if (Date.now() - N > 2e3) {
|
|
1349
1355
|
u(
|
|
1350
1356
|
new Error(
|
|
1351
1357
|
"Google Maps loaded but Places library is unavailable. Check API key restrictions / enabled APIs."
|
|
@@ -1353,50 +1359,50 @@ const sa = (t, i) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1353
1359
|
);
|
|
1354
1360
|
return;
|
|
1355
1361
|
}
|
|
1356
|
-
window.setTimeout(
|
|
1362
|
+
window.setTimeout(w, 50);
|
|
1357
1363
|
};
|
|
1358
|
-
|
|
1359
|
-
},
|
|
1364
|
+
w();
|
|
1365
|
+
}, x.onerror = () => u(new Error("Failed to load Google Maps API")), document.head.appendChild(x);
|
|
1360
1366
|
}), Be), la = (t) => {
|
|
1361
|
-
const { apiKey:
|
|
1362
|
-
|
|
1363
|
-
}, [
|
|
1367
|
+
const { apiKey: o, language: d = "en", restrictCountry: u, deferLoad: y = !1 } = t, [x, h] = V(!1), [N, w] = V([]), [F, c] = V(!1), [S, p] = V(null), [D, k] = V(!y), E = H(null), A = H(null), T = H(null), g = be(() => {
|
|
1368
|
+
y && k(!0);
|
|
1369
|
+
}, [y]);
|
|
1364
1370
|
X(() => {
|
|
1365
|
-
if (!
|
|
1366
|
-
|
|
1371
|
+
if (!o || !D) {
|
|
1372
|
+
h(!1), p(null);
|
|
1367
1373
|
return;
|
|
1368
1374
|
}
|
|
1369
|
-
sa(
|
|
1370
|
-
|
|
1375
|
+
sa(o, d).then(() => {
|
|
1376
|
+
E.current = new google.maps.places.AutocompleteService();
|
|
1371
1377
|
const O = document.createElement("div");
|
|
1372
|
-
|
|
1378
|
+
A.current = new google.maps.places.PlacesService(O), T.current = new google.maps.places.AutocompleteSessionToken(), h(!0), p(null);
|
|
1373
1379
|
}).catch((O) => {
|
|
1374
|
-
|
|
1380
|
+
h(!1), p(O?.message || "Failed to load location service");
|
|
1375
1381
|
});
|
|
1376
|
-
}, [
|
|
1377
|
-
const
|
|
1382
|
+
}, [o, d, D]);
|
|
1383
|
+
const G = be(
|
|
1378
1384
|
async (O) => {
|
|
1379
|
-
if (!O || O.length < 2 || !
|
|
1380
|
-
|
|
1385
|
+
if (!O || O.length < 2 || !E.current) {
|
|
1386
|
+
w([]);
|
|
1381
1387
|
return;
|
|
1382
1388
|
}
|
|
1383
|
-
|
|
1389
|
+
c(!0);
|
|
1384
1390
|
try {
|
|
1385
|
-
const
|
|
1391
|
+
const $ = {
|
|
1386
1392
|
input: O,
|
|
1387
1393
|
types: ["(cities)"],
|
|
1388
|
-
sessionToken:
|
|
1394
|
+
sessionToken: T.current ?? void 0
|
|
1389
1395
|
};
|
|
1390
|
-
u && (
|
|
1396
|
+
u && ($.componentRestrictions = { country: u });
|
|
1391
1397
|
const Z = await new Promise((R, B) => {
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
(
|
|
1395
|
-
|
|
1398
|
+
E.current.getPlacePredictions(
|
|
1399
|
+
$,
|
|
1400
|
+
(z, U) => {
|
|
1401
|
+
U === google.maps.places.PlacesServiceStatus.OK && z ? R(z) : U === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? R([]) : B(new Error(`Places API error: ${U}`));
|
|
1396
1402
|
}
|
|
1397
1403
|
);
|
|
1398
1404
|
});
|
|
1399
|
-
|
|
1405
|
+
w(
|
|
1400
1406
|
Z.map((R) => ({
|
|
1401
1407
|
place_id: R.place_id,
|
|
1402
1408
|
description: R.description,
|
|
@@ -1407,58 +1413,58 @@ const sa = (t, i) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1407
1413
|
}))
|
|
1408
1414
|
);
|
|
1409
1415
|
} catch {
|
|
1410
|
-
|
|
1416
|
+
w([]);
|
|
1411
1417
|
} finally {
|
|
1412
|
-
|
|
1418
|
+
c(!1);
|
|
1413
1419
|
}
|
|
1414
1420
|
},
|
|
1415
1421
|
[u]
|
|
1416
|
-
),
|
|
1422
|
+
), _ = be(
|
|
1417
1423
|
async (O) => {
|
|
1418
|
-
if (!
|
|
1424
|
+
if (!A.current) return null;
|
|
1419
1425
|
try {
|
|
1420
|
-
const
|
|
1421
|
-
(
|
|
1422
|
-
|
|
1426
|
+
const $ = await new Promise(
|
|
1427
|
+
(C, L) => {
|
|
1428
|
+
A.current.getDetails(
|
|
1423
1429
|
{
|
|
1424
1430
|
placeId: O,
|
|
1425
1431
|
fields: ["geometry", "address_components", "formatted_address"],
|
|
1426
|
-
sessionToken:
|
|
1432
|
+
sessionToken: T.current ?? void 0
|
|
1427
1433
|
},
|
|
1428
|
-
(
|
|
1429
|
-
|
|
1434
|
+
(Y, J) => {
|
|
1435
|
+
J === google.maps.places.PlacesServiceStatus.OK && Y ? C(Y) : L(new Error(`Place details error: ${J}`));
|
|
1430
1436
|
}
|
|
1431
1437
|
);
|
|
1432
1438
|
}
|
|
1433
1439
|
);
|
|
1434
|
-
|
|
1435
|
-
const Z =
|
|
1436
|
-
let B = "",
|
|
1437
|
-
return
|
|
1438
|
-
|
|
1440
|
+
T.current = new google.maps.places.AutocompleteSessionToken();
|
|
1441
|
+
const Z = $.geometry?.location?.lat() || 0, R = $.geometry?.location?.lng() || 0;
|
|
1442
|
+
let B = "", z = "", U = "";
|
|
1443
|
+
return $.address_components?.forEach((C) => {
|
|
1444
|
+
C.types.includes("locality") && (B = C.long_name), C.types.includes("administrative_area_level_1") && (z = C.long_name), C.types.includes("country") && (U = C.long_name);
|
|
1439
1445
|
}), {
|
|
1440
|
-
display_name:
|
|
1446
|
+
display_name: $.formatted_address || "",
|
|
1441
1447
|
lat: Z,
|
|
1442
1448
|
lng: R,
|
|
1443
1449
|
city: B,
|
|
1444
|
-
state:
|
|
1445
|
-
country:
|
|
1450
|
+
state: z,
|
|
1451
|
+
country: U
|
|
1446
1452
|
};
|
|
1447
1453
|
} catch {
|
|
1448
1454
|
return null;
|
|
1449
1455
|
}
|
|
1450
1456
|
},
|
|
1451
1457
|
[]
|
|
1452
|
-
),
|
|
1458
|
+
), M = be(() => w([]), []);
|
|
1453
1459
|
return {
|
|
1454
|
-
isLoaded:
|
|
1455
|
-
predictions:
|
|
1460
|
+
isLoaded: x,
|
|
1461
|
+
predictions: N,
|
|
1456
1462
|
isSearching: F,
|
|
1457
|
-
loadError:
|
|
1458
|
-
searchPlaces:
|
|
1459
|
-
getPlaceDetails:
|
|
1460
|
-
clearPredictions:
|
|
1461
|
-
triggerLoad:
|
|
1463
|
+
loadError: S,
|
|
1464
|
+
searchPlaces: G,
|
|
1465
|
+
getPlaceDetails: _,
|
|
1466
|
+
clearPredictions: M,
|
|
1467
|
+
triggerLoad: g
|
|
1462
1468
|
// Call this to start loading Google Maps when deferred
|
|
1463
1469
|
};
|
|
1464
1470
|
}, je = {
|
|
@@ -1466,7 +1472,7 @@ const sa = (t, i) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1466
1472
|
location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
|
|
1467
1473
|
date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
1468
1474
|
info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
|
|
1469
|
-
},
|
|
1475
|
+
}, pr = [
|
|
1470
1476
|
{ code: "+1", country: "USA / Canada" },
|
|
1471
1477
|
{ code: "+7", country: "Russia / Kazakhstan" },
|
|
1472
1478
|
{ code: "+20", country: "Egypt" },
|
|
@@ -1537,55 +1543,55 @@ const sa = (t, i) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1537
1543
|
{ code: "+976", country: "Mongolia" },
|
|
1538
1544
|
{ code: "+977", country: "Nepal" }
|
|
1539
1545
|
];
|
|
1540
|
-
|
|
1546
|
+
pr.map((t) => t.code);
|
|
1541
1547
|
const ca = {}, da = ({
|
|
1542
1548
|
t,
|
|
1543
|
-
values:
|
|
1544
|
-
onChange:
|
|
1549
|
+
values: o,
|
|
1550
|
+
onChange: d,
|
|
1545
1551
|
phoneIsdCode: u,
|
|
1546
|
-
onPhoneIsdCodeChange:
|
|
1547
|
-
showV1ExtraFields:
|
|
1548
|
-
analytics:
|
|
1549
|
-
googleMapsApiKey:
|
|
1550
|
-
className:
|
|
1552
|
+
onPhoneIsdCodeChange: y,
|
|
1553
|
+
showV1ExtraFields: x = !1,
|
|
1554
|
+
analytics: h,
|
|
1555
|
+
googleMapsApiKey: N,
|
|
1556
|
+
className: w = ""
|
|
1551
1557
|
}) => {
|
|
1552
|
-
const F =
|
|
1558
|
+
const F = Ne(), c = F?.config?.analytics ?? h, S = F?.config.isGlobal ?? !0;
|
|
1553
1559
|
F?.config?.variant;
|
|
1554
|
-
const
|
|
1555
|
-
l.trim() && !
|
|
1556
|
-
fullName: () =>
|
|
1557
|
-
phone: () =>
|
|
1558
|
-
email: () =>
|
|
1559
|
-
dateOfBirth: () =>
|
|
1560
|
-
birthTime: () =>
|
|
1561
|
-
birthPlace: () =>
|
|
1560
|
+
const p = F?.config?.googleMapsApiKey, [D, k] = V(!1), [E, A] = V(""), T = H(null), g = H(null), G = H({}), _ = (n) => d({ ...o, ...n }), M = (n, l) => {
|
|
1561
|
+
l.trim() && !G.current[n] && (G.current[n] = !0, {
|
|
1562
|
+
fullName: () => c?.trackNameSectionFilled?.(),
|
|
1563
|
+
phone: () => c?.trackPhoneSectionFilled?.(),
|
|
1564
|
+
email: () => c?.trackEmailSectionFilled?.(),
|
|
1565
|
+
dateOfBirth: () => c?.trackDobFilled?.(),
|
|
1566
|
+
birthTime: () => c?.trackTimeFilled?.(),
|
|
1567
|
+
birthPlace: () => c?.trackPlaceOfBirthChosen?.()
|
|
1562
1568
|
}[n]?.());
|
|
1563
|
-
}, O = (n) => n.replace(/\D/g, "").slice(0, 10),
|
|
1569
|
+
}, O = (n) => n.replace(/\D/g, "").slice(0, 10), $ = E.trim().toLowerCase(), Z = pr.filter((n) => $ ? n.country.toLowerCase().includes($) || n.code.includes($) : !0), R = H(null);
|
|
1564
1570
|
H(null);
|
|
1565
|
-
const B = H(null),
|
|
1571
|
+
const B = H(null), z = H(0), U = H(null), [C, L] = V(!1), [Y, J] = V({ hour12: 12, minute: "00", meridiem: "AM" }), ne = (n) => String(n).padStart(2, "0"), ge = (n) => {
|
|
1566
1572
|
const l = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1567
1573
|
if (!l) return n;
|
|
1568
|
-
const
|
|
1569
|
-
return `${
|
|
1574
|
+
const K = Number(l[1]), te = l[2], Te = K >= 12 ? "PM" : "AM";
|
|
1575
|
+
return `${K % 12 === 0 ? 12 : K % 12}:${te} ${Te}`;
|
|
1570
1576
|
}, Q = (n) => {
|
|
1571
1577
|
const l = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1572
1578
|
if (!l) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1573
|
-
const
|
|
1574
|
-
return { hour12:
|
|
1579
|
+
const K = Number(l[1]), te = l[2], Te = K >= 12 ? "PM" : "AM";
|
|
1580
|
+
return { hour12: K % 12 === 0 ? 12 : K % 12, minute: te, meridiem: Te };
|
|
1575
1581
|
}, ie = (n) => {
|
|
1576
|
-
const l = Math.min(12, Math.max(1, n.hour12)),
|
|
1582
|
+
const l = Math.min(12, Math.max(1, n.hour12)), K = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
|
|
1577
1583
|
let te = l % 12;
|
|
1578
|
-
return n.meridiem === "PM" && (te += 12), `${ne(te)}:${
|
|
1579
|
-
}, ue = H(null), [se, le] =
|
|
1584
|
+
return n.meridiem === "PM" && (te += 12), `${ne(te)}:${K}`;
|
|
1585
|
+
}, ue = H(null), [se, le] = V(!1), [fe, oe] = V(
|
|
1580
1586
|
null
|
|
1581
|
-
),
|
|
1587
|
+
), pe = N ?? p ?? ca?.VITE_GOOGLE_MAPS_API_KEY, me = (o.birthPlace ?? "").trim(), ee = S ? void 0 : "in", ye = "en", {
|
|
1582
1588
|
predictions: ce,
|
|
1583
1589
|
isSearching: we,
|
|
1584
1590
|
loadError: _e,
|
|
1585
1591
|
searchPlaces: Pe,
|
|
1586
1592
|
clearPredictions: ke
|
|
1587
1593
|
} = la({
|
|
1588
|
-
apiKey:
|
|
1594
|
+
apiKey: pe,
|
|
1589
1595
|
language: ye,
|
|
1590
1596
|
restrictCountry: ee
|
|
1591
1597
|
});
|
|
@@ -1596,13 +1602,13 @@ const ca = {}, da = ({
|
|
|
1596
1602
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1597
1603
|
}, []), X(() => {
|
|
1598
1604
|
const n = (l) => {
|
|
1599
|
-
|
|
1605
|
+
T.current && (T.current.contains(l.target) || (k(!1), A("")));
|
|
1600
1606
|
};
|
|
1601
1607
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1602
1608
|
}, []), X(() => {
|
|
1603
1609
|
if (!D) return;
|
|
1604
1610
|
const n = window.setTimeout(() => {
|
|
1605
|
-
|
|
1611
|
+
g.current?.focus();
|
|
1606
1612
|
}, 0);
|
|
1607
1613
|
return () => window.clearTimeout(n);
|
|
1608
1614
|
}, [D]), X(() => {
|
|
@@ -1619,27 +1625,27 @@ const ca = {}, da = ({
|
|
|
1619
1625
|
const P = (n) => {
|
|
1620
1626
|
const l = n.current;
|
|
1621
1627
|
if (!(!l || l.disabled)) {
|
|
1622
|
-
if (document.activeElement === l && B.current === l && Date.now() -
|
|
1628
|
+
if (document.activeElement === l && B.current === l && Date.now() - z.current < 6e4) {
|
|
1623
1629
|
l.blur();
|
|
1624
1630
|
return;
|
|
1625
1631
|
}
|
|
1626
1632
|
if (typeof l.showPicker == "function") {
|
|
1627
|
-
l.showPicker(), B.current = l,
|
|
1633
|
+
l.showPicker(), B.current = l, z.current = Date.now();
|
|
1628
1634
|
return;
|
|
1629
1635
|
}
|
|
1630
|
-
l.focus(), B.current = l,
|
|
1636
|
+
l.focus(), B.current = l, z.current = Date.now();
|
|
1631
1637
|
}
|
|
1632
1638
|
};
|
|
1633
1639
|
return X(() => {
|
|
1634
1640
|
const n = (l) => {
|
|
1635
|
-
|
|
1641
|
+
U.current && (U.current.contains(l.target) || L(!1));
|
|
1636
1642
|
};
|
|
1637
1643
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1638
1644
|
}, []), X(() => {
|
|
1639
|
-
const n = (
|
|
1640
|
-
|
|
1641
|
-
}, l = (
|
|
1642
|
-
|
|
1645
|
+
const n = (K) => {
|
|
1646
|
+
K.target?.closest?.("[data-info-tooltip]") == null && oe(null);
|
|
1647
|
+
}, l = (K) => {
|
|
1648
|
+
K.key === "Escape" && oe(null);
|
|
1643
1649
|
};
|
|
1644
1650
|
return document.addEventListener("mousedown", n), document.addEventListener("keydown", l), () => {
|
|
1645
1651
|
document.removeEventListener("mousedown", n), document.removeEventListener("keydown", l);
|
|
@@ -1647,7 +1653,7 @@ const ca = {}, da = ({
|
|
|
1647
1653
|
}, []), /* @__PURE__ */ r.jsx(
|
|
1648
1654
|
"section",
|
|
1649
1655
|
{
|
|
1650
|
-
className: `${a.wrap} ${
|
|
1656
|
+
className: `${a.wrap} ${w}`,
|
|
1651
1657
|
"aria-label": t("formTitle"),
|
|
1652
1658
|
children: /* @__PURE__ */ r.jsx("div", { className: a.card, children: /* @__PURE__ */ r.jsxs("div", { className: a.cardInner, children: [
|
|
1653
1659
|
/* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
@@ -1661,11 +1667,11 @@ const ca = {}, da = ({
|
|
|
1661
1667
|
id: "kundli-full-name",
|
|
1662
1668
|
className: a.input,
|
|
1663
1669
|
type: "text",
|
|
1664
|
-
value:
|
|
1665
|
-
onFocus: () =>
|
|
1670
|
+
value: o.fullName,
|
|
1671
|
+
onFocus: () => c?.trackNameSectionClicked?.(),
|
|
1666
1672
|
onChange: (n) => {
|
|
1667
1673
|
const l = n.target.value;
|
|
1668
|
-
|
|
1674
|
+
_({ fullName: l }), M("fullName", l);
|
|
1669
1675
|
},
|
|
1670
1676
|
placeholder: t("formFullNamePlaceholder"),
|
|
1671
1677
|
autoComplete: "name"
|
|
@@ -1675,9 +1681,9 @@ const ca = {}, da = ({
|
|
|
1675
1681
|
/* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1676
1682
|
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-phone", children: [
|
|
1677
1683
|
t("formPhone"),
|
|
1678
|
-
!
|
|
1684
|
+
!S && /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
1679
1685
|
] }) }),
|
|
1680
|
-
/* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref:
|
|
1686
|
+
/* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref: T, children: [
|
|
1681
1687
|
/* @__PURE__ */ r.jsxs("div", { className: a.phoneInputGroup, children: [
|
|
1682
1688
|
/* @__PURE__ */ r.jsx("div", { className: a.isdSelectWrap, children: /* @__PURE__ */ r.jsx(
|
|
1683
1689
|
"button",
|
|
@@ -1687,7 +1693,7 @@ const ca = {}, da = ({
|
|
|
1687
1693
|
"aria-haspopup": "listbox",
|
|
1688
1694
|
"aria-expanded": D,
|
|
1689
1695
|
onClick: () => {
|
|
1690
|
-
|
|
1696
|
+
k((n) => !n), A("");
|
|
1691
1697
|
},
|
|
1692
1698
|
children: u
|
|
1693
1699
|
}
|
|
@@ -1698,19 +1704,19 @@ const ca = {}, da = ({
|
|
|
1698
1704
|
id: "kundli-phone",
|
|
1699
1705
|
className: `${a.input} ${a.phoneInput}`,
|
|
1700
1706
|
type: "tel",
|
|
1701
|
-
value:
|
|
1702
|
-
onFocus: () =>
|
|
1707
|
+
value: o.phone ?? "",
|
|
1708
|
+
onFocus: () => c?.trackPhoneSectionClicked?.(),
|
|
1703
1709
|
onChange: (n) => {
|
|
1704
1710
|
const l = n.target.value;
|
|
1705
|
-
|
|
1711
|
+
_({ phone: O(l) }), M("phone", O(l));
|
|
1706
1712
|
},
|
|
1707
1713
|
placeholder: t("formPhonePlaceholder"),
|
|
1708
1714
|
autoComplete: "tel",
|
|
1709
1715
|
inputMode: "numeric",
|
|
1710
1716
|
pattern: "[0-9]{10}",
|
|
1711
1717
|
maxLength: 10,
|
|
1712
|
-
required: !
|
|
1713
|
-
"aria-required": !
|
|
1718
|
+
required: !S,
|
|
1719
|
+
"aria-required": !S
|
|
1714
1720
|
}
|
|
1715
1721
|
)
|
|
1716
1722
|
] }),
|
|
@@ -1724,10 +1730,10 @@ const ca = {}, da = ({
|
|
|
1724
1730
|
/* @__PURE__ */ r.jsx("div", { className: a.isdSearchWrap, children: /* @__PURE__ */ r.jsx(
|
|
1725
1731
|
"input",
|
|
1726
1732
|
{
|
|
1727
|
-
ref:
|
|
1733
|
+
ref: g,
|
|
1728
1734
|
type: "text",
|
|
1729
|
-
value:
|
|
1730
|
-
onChange: (n) =>
|
|
1735
|
+
value: E,
|
|
1736
|
+
onChange: (n) => A(n.target.value),
|
|
1731
1737
|
placeholder: "Search country",
|
|
1732
1738
|
className: a.isdSearchInput,
|
|
1733
1739
|
"aria-label": "Search country"
|
|
@@ -1741,7 +1747,7 @@ const ca = {}, da = ({
|
|
|
1741
1747
|
"aria-selected": n.code === u,
|
|
1742
1748
|
className: `${a.isdOption} ${n.code === u ? a.isdOptionActive : ""}`,
|
|
1743
1749
|
onClick: () => {
|
|
1744
|
-
|
|
1750
|
+
y(n.code), k(!1), A("");
|
|
1745
1751
|
},
|
|
1746
1752
|
children: [
|
|
1747
1753
|
/* @__PURE__ */ r.jsx("span", { className: a.isdCountryName, children: n.country }),
|
|
@@ -1755,7 +1761,7 @@ const ca = {}, da = ({
|
|
|
1755
1761
|
)
|
|
1756
1762
|
] }) })
|
|
1757
1763
|
] }),
|
|
1758
|
-
|
|
1764
|
+
x && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1759
1765
|
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
|
|
1760
1766
|
t("formGender"),
|
|
1761
1767
|
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
@@ -1772,14 +1778,14 @@ const ca = {}, da = ({
|
|
|
1772
1778
|
{
|
|
1773
1779
|
id: "kundli-gender-male",
|
|
1774
1780
|
type: "button",
|
|
1775
|
-
className: `${a.choiceBtn} ${
|
|
1781
|
+
className: `${a.choiceBtn} ${o.gender === "male" ? a.choiceBtnActive : ""}`,
|
|
1776
1782
|
onClick: () => {
|
|
1777
|
-
|
|
1783
|
+
_({ gender: "male" }), c?.trackGenderSelected?.({
|
|
1778
1784
|
gender: "male"
|
|
1779
1785
|
});
|
|
1780
1786
|
},
|
|
1781
1787
|
role: "radio",
|
|
1782
|
-
"aria-checked":
|
|
1788
|
+
"aria-checked": o.gender === "male",
|
|
1783
1789
|
children: t("formGenderMale")
|
|
1784
1790
|
}
|
|
1785
1791
|
),
|
|
@@ -1788,14 +1794,14 @@ const ca = {}, da = ({
|
|
|
1788
1794
|
{
|
|
1789
1795
|
id: "kundli-gender-female",
|
|
1790
1796
|
type: "button",
|
|
1791
|
-
className: `${a.choiceBtn} ${
|
|
1797
|
+
className: `${a.choiceBtn} ${o.gender === "female" ? a.choiceBtnActive : ""}`,
|
|
1792
1798
|
onClick: () => {
|
|
1793
|
-
|
|
1799
|
+
_({ gender: "female" }), c?.trackGenderSelected?.({
|
|
1794
1800
|
gender: "female"
|
|
1795
1801
|
});
|
|
1796
1802
|
},
|
|
1797
1803
|
role: "radio",
|
|
1798
|
-
"aria-checked":
|
|
1804
|
+
"aria-checked": o.gender === "female",
|
|
1799
1805
|
children: t("formGenderFemale")
|
|
1800
1806
|
}
|
|
1801
1807
|
)
|
|
@@ -1803,7 +1809,7 @@ const ca = {}, da = ({
|
|
|
1803
1809
|
}
|
|
1804
1810
|
)
|
|
1805
1811
|
] }),
|
|
1806
|
-
|
|
1812
|
+
S && /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
1807
1813
|
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-email", children: [
|
|
1808
1814
|
t("formEmail"),
|
|
1809
1815
|
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
@@ -1815,8 +1821,8 @@ const ca = {}, da = ({
|
|
|
1815
1821
|
id: "kundli-email",
|
|
1816
1822
|
className: a.input,
|
|
1817
1823
|
type: "email",
|
|
1818
|
-
value:
|
|
1819
|
-
onChange: (n) =>
|
|
1824
|
+
value: o.email,
|
|
1825
|
+
onChange: (n) => _({ email: n.target.value }),
|
|
1820
1826
|
placeholder: t("formEmailPlaceholder"),
|
|
1821
1827
|
autoComplete: "email",
|
|
1822
1828
|
required: !0,
|
|
@@ -1837,9 +1843,9 @@ const ca = {}, da = ({
|
|
|
1837
1843
|
type: "button",
|
|
1838
1844
|
className: a.infoBtn,
|
|
1839
1845
|
"aria-label": t("info"),
|
|
1840
|
-
"aria-expanded":
|
|
1846
|
+
"aria-expanded": fe === "dob",
|
|
1841
1847
|
onClick: () => {
|
|
1842
|
-
oe((n) => n === "dob" ? null : "dob"),
|
|
1848
|
+
oe((n) => n === "dob" ? null : "dob"), c?.trackInfoIconClicked?.({ fieldName: "dob" });
|
|
1843
1849
|
},
|
|
1844
1850
|
children: /* @__PURE__ */ r.jsx(
|
|
1845
1851
|
"img",
|
|
@@ -1852,7 +1858,7 @@ const ca = {}, da = ({
|
|
|
1852
1858
|
)
|
|
1853
1859
|
}
|
|
1854
1860
|
),
|
|
1855
|
-
|
|
1861
|
+
fe === "dob" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
|
|
1856
1862
|
t("formDobInfo"),
|
|
1857
1863
|
/* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
|
|
1858
1864
|
] })
|
|
@@ -1866,16 +1872,16 @@ const ca = {}, da = ({
|
|
|
1866
1872
|
className: a.input,
|
|
1867
1873
|
type: "date",
|
|
1868
1874
|
ref: R,
|
|
1869
|
-
value:
|
|
1875
|
+
value: o.dateOfBirth,
|
|
1870
1876
|
max: (() => {
|
|
1871
1877
|
const n = /* @__PURE__ */ new Date();
|
|
1872
1878
|
return `${n.getFullYear()}-${ne(n.getMonth() + 1)}-${ne(n.getDate())}`;
|
|
1873
1879
|
})(),
|
|
1874
1880
|
onChange: (n) => {
|
|
1875
|
-
const l = n.target.value,
|
|
1876
|
-
l && l > te || (
|
|
1881
|
+
const l = n.target.value, K = /* @__PURE__ */ new Date(), te = `${K.getFullYear()}-${ne(K.getMonth() + 1)}-${ne(K.getDate())}`;
|
|
1882
|
+
l && l > te || (_({ dateOfBirth: l }), M("dateOfBirth", l), B.current = null);
|
|
1877
1883
|
},
|
|
1878
|
-
onFocus: () =>
|
|
1884
|
+
onFocus: () => c?.trackDobClicked?.(),
|
|
1879
1885
|
onClick: () => P(R),
|
|
1880
1886
|
onBlur: () => {
|
|
1881
1887
|
B.current === R.current && (B.current = null);
|
|
@@ -1918,9 +1924,9 @@ const ca = {}, da = ({
|
|
|
1918
1924
|
type: "button",
|
|
1919
1925
|
className: a.infoBtn,
|
|
1920
1926
|
"aria-label": t("info"),
|
|
1921
|
-
"aria-expanded":
|
|
1927
|
+
"aria-expanded": fe === "time",
|
|
1922
1928
|
onClick: () => {
|
|
1923
|
-
|
|
1929
|
+
c?.trackInfoIconClicked?.({ fieldName: "time" }), oe((n) => n === "time" ? null : "time");
|
|
1924
1930
|
},
|
|
1925
1931
|
children: /* @__PURE__ */ r.jsx(
|
|
1926
1932
|
"img",
|
|
@@ -1933,30 +1939,30 @@ const ca = {}, da = ({
|
|
|
1933
1939
|
)
|
|
1934
1940
|
}
|
|
1935
1941
|
),
|
|
1936
|
-
|
|
1942
|
+
fe === "time" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
|
|
1937
1943
|
t("formBirthTimeInfo"),
|
|
1938
1944
|
/* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
|
|
1939
1945
|
] })
|
|
1940
1946
|
] })
|
|
1941
1947
|
] }),
|
|
1942
|
-
/* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref:
|
|
1948
|
+
/* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: U, children: [
|
|
1943
1949
|
/* @__PURE__ */ r.jsx(
|
|
1944
1950
|
"input",
|
|
1945
1951
|
{
|
|
1946
1952
|
id: "kundli-birth-time",
|
|
1947
1953
|
className: a.input,
|
|
1948
1954
|
type: "text",
|
|
1949
|
-
value:
|
|
1955
|
+
value: o.birthTime ? ge(o.birthTime) : "",
|
|
1950
1956
|
readOnly: !0,
|
|
1951
|
-
onFocus: () =>
|
|
1957
|
+
onFocus: () => c?.trackTimeClicked?.(),
|
|
1952
1958
|
onChange: (n) => {
|
|
1953
1959
|
const l = n.target.value;
|
|
1954
|
-
|
|
1960
|
+
_({ birthTime: l }), M("birthTime", l);
|
|
1955
1961
|
},
|
|
1956
|
-
disabled:
|
|
1962
|
+
disabled: o.birthTimeUnknown,
|
|
1957
1963
|
placeholder: "HH:MM AM",
|
|
1958
1964
|
onClick: () => {
|
|
1959
|
-
|
|
1965
|
+
o.birthTimeUnknown || (J(Q(o.birthTime || "12:00")), L((n) => !n));
|
|
1960
1966
|
}
|
|
1961
1967
|
}
|
|
1962
1968
|
),
|
|
@@ -1966,10 +1972,10 @@ const ca = {}, da = ({
|
|
|
1966
1972
|
type: "button",
|
|
1967
1973
|
className: `${a.iconBtn} ${a.iconBtnInteractive}`,
|
|
1968
1974
|
"aria-label": "Open time picker",
|
|
1969
|
-
disabled:
|
|
1975
|
+
disabled: o.birthTimeUnknown,
|
|
1970
1976
|
onMouseDown: (n) => n.preventDefault(),
|
|
1971
1977
|
onClick: (n) => {
|
|
1972
|
-
n.preventDefault(), n.stopPropagation(), !
|
|
1978
|
+
n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (J(Q(o.birthTime || "12:00")), L((l) => !l));
|
|
1973
1979
|
},
|
|
1974
1980
|
children: /* @__PURE__ */ r.jsx(
|
|
1975
1981
|
"img",
|
|
@@ -1982,7 +1988,7 @@ const ca = {}, da = ({
|
|
|
1982
1988
|
)
|
|
1983
1989
|
}
|
|
1984
1990
|
),
|
|
1985
|
-
|
|
1991
|
+
C && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
|
|
1986
1992
|
"div",
|
|
1987
1993
|
{
|
|
1988
1994
|
className: a.timePopover,
|
|
@@ -1994,8 +2000,8 @@ const ca = {}, da = ({
|
|
|
1994
2000
|
"select",
|
|
1995
2001
|
{
|
|
1996
2002
|
className: a.timePickerSelect,
|
|
1997
|
-
value:
|
|
1998
|
-
onChange: (n) =>
|
|
2003
|
+
value: Y.hour12,
|
|
2004
|
+
onChange: (n) => J((l) => ({
|
|
1999
2005
|
...l,
|
|
2000
2006
|
hour12: Number(n.target.value)
|
|
2001
2007
|
})),
|
|
@@ -2008,8 +2014,8 @@ const ca = {}, da = ({
|
|
|
2008
2014
|
"select",
|
|
2009
2015
|
{
|
|
2010
2016
|
className: a.timePickerSelect,
|
|
2011
|
-
value:
|
|
2012
|
-
onChange: (n) =>
|
|
2017
|
+
value: Y.minute,
|
|
2018
|
+
onChange: (n) => J((l) => ({ ...l, minute: n.target.value })),
|
|
2013
2019
|
"aria-label": "Minute",
|
|
2014
2020
|
children: Array.from({ length: 60 }, (n, l) => ne(l)).map(
|
|
2015
2021
|
(n) => /* @__PURE__ */ r.jsx("option", { value: n, children: n }, n)
|
|
@@ -2021,8 +2027,8 @@ const ca = {}, da = ({
|
|
|
2021
2027
|
"button",
|
|
2022
2028
|
{
|
|
2023
2029
|
type: "button",
|
|
2024
|
-
className: `${a.meridiemBtn} ${
|
|
2025
|
-
onClick: () =>
|
|
2030
|
+
className: `${a.meridiemBtn} ${Y.meridiem === "AM" ? a.meridiemActive : ""}`,
|
|
2031
|
+
onClick: () => J((n) => ({ ...n, meridiem: "AM" })),
|
|
2026
2032
|
children: "AM"
|
|
2027
2033
|
}
|
|
2028
2034
|
),
|
|
@@ -2030,8 +2036,8 @@ const ca = {}, da = ({
|
|
|
2030
2036
|
"button",
|
|
2031
2037
|
{
|
|
2032
2038
|
type: "button",
|
|
2033
|
-
className: `${a.meridiemBtn} ${
|
|
2034
|
-
onClick: () =>
|
|
2039
|
+
className: `${a.meridiemBtn} ${Y.meridiem === "PM" ? a.meridiemActive : ""}`,
|
|
2040
|
+
onClick: () => J((n) => ({ ...n, meridiem: "PM" })),
|
|
2035
2041
|
children: "PM"
|
|
2036
2042
|
}
|
|
2037
2043
|
)
|
|
@@ -2053,8 +2059,8 @@ const ca = {}, da = ({
|
|
|
2053
2059
|
type: "button",
|
|
2054
2060
|
className: `${a.timePopoverBtn} ${a.timePopoverOk}`,
|
|
2055
2061
|
onClick: () => {
|
|
2056
|
-
const n = ie(
|
|
2057
|
-
|
|
2062
|
+
const n = ie(Y);
|
|
2063
|
+
_({ birthTime: n }), M("birthTime", n), L(!1);
|
|
2058
2064
|
},
|
|
2059
2065
|
"aria-label": "OK",
|
|
2060
2066
|
children: /* @__PURE__ */ r.jsx(
|
|
@@ -2092,11 +2098,11 @@ const ca = {}, da = ({
|
|
|
2092
2098
|
id: "kundli-time-unknown",
|
|
2093
2099
|
className: a.checkbox,
|
|
2094
2100
|
type: "checkbox",
|
|
2095
|
-
checked:
|
|
2101
|
+
checked: o.birthTimeUnknown,
|
|
2096
2102
|
onChange: (n) => {
|
|
2097
|
-
|
|
2103
|
+
c?.trackTimeCheckboxClicked?.(), _({
|
|
2098
2104
|
birthTimeUnknown: n.target.checked,
|
|
2099
|
-
birthTime: n.target.checked ? "" :
|
|
2105
|
+
birthTime: n.target.checked ? "" : o.birthTime
|
|
2100
2106
|
});
|
|
2101
2107
|
}
|
|
2102
2108
|
}
|
|
@@ -2128,9 +2134,9 @@ const ca = {}, da = ({
|
|
|
2128
2134
|
type: "button",
|
|
2129
2135
|
className: a.infoBtn,
|
|
2130
2136
|
"aria-label": t("info"),
|
|
2131
|
-
"aria-expanded":
|
|
2137
|
+
"aria-expanded": fe === "place",
|
|
2132
2138
|
onClick: () => {
|
|
2133
|
-
|
|
2139
|
+
c?.trackInfoIconClicked?.({
|
|
2134
2140
|
fieldName: "birthPlace"
|
|
2135
2141
|
}), oe((n) => n === "place" ? null : "place");
|
|
2136
2142
|
},
|
|
@@ -2145,7 +2151,7 @@ const ca = {}, da = ({
|
|
|
2145
2151
|
)
|
|
2146
2152
|
}
|
|
2147
2153
|
),
|
|
2148
|
-
|
|
2154
|
+
fe === "place" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
|
|
2149
2155
|
t("formBirthPlaceInfo"),
|
|
2150
2156
|
/* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
|
|
2151
2157
|
] })
|
|
@@ -2158,13 +2164,13 @@ const ca = {}, da = ({
|
|
|
2158
2164
|
id: "kundli-birth-place",
|
|
2159
2165
|
className: a.input,
|
|
2160
2166
|
type: "text",
|
|
2161
|
-
value:
|
|
2167
|
+
value: o.birthPlace,
|
|
2162
2168
|
onChange: (n) => {
|
|
2163
2169
|
const l = n.target.value;
|
|
2164
|
-
|
|
2170
|
+
_({ birthPlace: l }), M("birthPlace", l), le(!0);
|
|
2165
2171
|
},
|
|
2166
2172
|
onFocus: () => {
|
|
2167
|
-
|
|
2173
|
+
c?.trackPlaceOfBirthClicked?.(), le(!0);
|
|
2168
2174
|
},
|
|
2169
2175
|
placeholder: t("formBirthPlacePlaceholder"),
|
|
2170
2176
|
autoComplete: "address-level2"
|
|
@@ -2185,7 +2191,7 @@ const ca = {}, da = ({
|
|
|
2185
2191
|
type: "button",
|
|
2186
2192
|
className: a.suggestionItem,
|
|
2187
2193
|
onClick: () => {
|
|
2188
|
-
|
|
2194
|
+
_({ birthPlace: n.description }), ke(), le(!1);
|
|
2189
2195
|
},
|
|
2190
2196
|
children: [
|
|
2191
2197
|
/* @__PURE__ */ r.jsx("span", { className: a.suggestionMain, children: n.structured_formatting?.main_text ?? n.description }),
|
|
@@ -2194,11 +2200,11 @@ const ca = {}, da = ({
|
|
|
2194
2200
|
},
|
|
2195
2201
|
n.place_id
|
|
2196
2202
|
)) }),
|
|
2197
|
-
se &&
|
|
2198
|
-
se &&
|
|
2203
|
+
se && pe && we && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: "Loading…" }),
|
|
2204
|
+
se && pe && !we && !!_e && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: _e })
|
|
2199
2205
|
] })
|
|
2200
2206
|
] }),
|
|
2201
|
-
|
|
2207
|
+
x && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
|
|
2202
2208
|
/* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
|
|
2203
2209
|
t("formReportLanguage"),
|
|
2204
2210
|
/* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
|
|
@@ -2215,14 +2221,14 @@ const ca = {}, da = ({
|
|
|
2215
2221
|
{
|
|
2216
2222
|
id: "kundli-report-lang-hi",
|
|
2217
2223
|
type: "button",
|
|
2218
|
-
className: `${a.choiceBtn} ${
|
|
2224
|
+
className: `${a.choiceBtn} ${o.language_code === "hi" ? a.choiceBtnActive : ""}`,
|
|
2219
2225
|
onClick: () => {
|
|
2220
|
-
|
|
2226
|
+
_({ language_code: "hi" }), c?.trackLanguageOfReportSelected?.({
|
|
2221
2227
|
language: "hi"
|
|
2222
2228
|
});
|
|
2223
2229
|
},
|
|
2224
2230
|
role: "radio",
|
|
2225
|
-
"aria-checked":
|
|
2231
|
+
"aria-checked": o.language_code === "hi",
|
|
2226
2232
|
children: t("formReportLanguageHindi")
|
|
2227
2233
|
}
|
|
2228
2234
|
),
|
|
@@ -2231,14 +2237,14 @@ const ca = {}, da = ({
|
|
|
2231
2237
|
{
|
|
2232
2238
|
id: "kundli-report-lang-en",
|
|
2233
2239
|
type: "button",
|
|
2234
|
-
className: `${a.choiceBtn} ${
|
|
2240
|
+
className: `${a.choiceBtn} ${o.language_code === "en" ? a.choiceBtnActive : ""}`,
|
|
2235
2241
|
onClick: () => {
|
|
2236
|
-
|
|
2242
|
+
_({ language_code: "en" }), c?.trackLanguageOfReportSelected?.({
|
|
2237
2243
|
language: "en"
|
|
2238
2244
|
});
|
|
2239
2245
|
},
|
|
2240
2246
|
role: "radio",
|
|
2241
|
-
"aria-checked":
|
|
2247
|
+
"aria-checked": o.language_code === "en",
|
|
2242
2248
|
children: t("formReportLanguageEnglish")
|
|
2243
2249
|
}
|
|
2244
2250
|
),
|
|
@@ -2247,14 +2253,14 @@ const ca = {}, da = ({
|
|
|
2247
2253
|
{
|
|
2248
2254
|
id: "kundli-report-lang-te",
|
|
2249
2255
|
type: "button",
|
|
2250
|
-
className: `${a.choiceBtn} ${
|
|
2256
|
+
className: `${a.choiceBtn} ${o.language_code === "te" ? a.choiceBtnActive : ""}`,
|
|
2251
2257
|
onClick: () => {
|
|
2252
|
-
|
|
2258
|
+
_({ language_code: "te" }), c?.trackLanguageOfReportSelected?.({
|
|
2253
2259
|
language: "te"
|
|
2254
2260
|
});
|
|
2255
2261
|
},
|
|
2256
2262
|
role: "radio",
|
|
2257
|
-
"aria-checked":
|
|
2263
|
+
"aria-checked": o.language_code === "te",
|
|
2258
2264
|
children: t("formReportLanguageTelugu")
|
|
2259
2265
|
}
|
|
2260
2266
|
),
|
|
@@ -2263,14 +2269,14 @@ const ca = {}, da = ({
|
|
|
2263
2269
|
{
|
|
2264
2270
|
id: "kundli-report-lang-ta",
|
|
2265
2271
|
type: "button",
|
|
2266
|
-
className: `${a.choiceBtn} ${
|
|
2272
|
+
className: `${a.choiceBtn} ${o.language_code === "ta" ? a.choiceBtnActive : ""}`,
|
|
2267
2273
|
onClick: () => {
|
|
2268
|
-
|
|
2274
|
+
_({ language_code: "ta" }), c?.trackLanguageOfReportSelected?.({
|
|
2269
2275
|
language: "ta"
|
|
2270
2276
|
});
|
|
2271
2277
|
},
|
|
2272
2278
|
role: "radio",
|
|
2273
|
-
"aria-checked":
|
|
2279
|
+
"aria-checked": o.language_code === "ta",
|
|
2274
2280
|
children: t("formReportLanguageTamil")
|
|
2275
2281
|
}
|
|
2276
2282
|
),
|
|
@@ -2279,14 +2285,14 @@ const ca = {}, da = ({
|
|
|
2279
2285
|
{
|
|
2280
2286
|
id: "kundli-report-lang-kn",
|
|
2281
2287
|
type: "button",
|
|
2282
|
-
className: `${a.choiceBtn} ${
|
|
2288
|
+
className: `${a.choiceBtn} ${o.language_code === "kn" ? a.choiceBtnActive : ""}`,
|
|
2283
2289
|
onClick: () => {
|
|
2284
|
-
|
|
2290
|
+
_({ language_code: "kn" }), c?.trackLanguageOfReportSelected?.({
|
|
2285
2291
|
language: "kn"
|
|
2286
2292
|
});
|
|
2287
2293
|
},
|
|
2288
2294
|
role: "radio",
|
|
2289
|
-
"aria-checked":
|
|
2295
|
+
"aria-checked": o.language_code === "kn",
|
|
2290
2296
|
children: t("formReportLanguageKannada")
|
|
2291
2297
|
}
|
|
2292
2298
|
),
|
|
@@ -2295,14 +2301,14 @@ const ca = {}, da = ({
|
|
|
2295
2301
|
{
|
|
2296
2302
|
id: "kundli-report-lang-gu",
|
|
2297
2303
|
type: "button",
|
|
2298
|
-
className: `${a.choiceBtn} ${
|
|
2304
|
+
className: `${a.choiceBtn} ${o.language_code === "gu" ? a.choiceBtnActive : ""}`,
|
|
2299
2305
|
onClick: () => {
|
|
2300
|
-
|
|
2306
|
+
_({ language_code: "gu" }), c?.trackLanguageOfReportSelected?.({
|
|
2301
2307
|
language: "gu"
|
|
2302
2308
|
});
|
|
2303
2309
|
},
|
|
2304
2310
|
role: "radio",
|
|
2305
|
-
"aria-checked":
|
|
2311
|
+
"aria-checked": o.language_code === "gu",
|
|
2306
2312
|
children: t("formReportLanguageGujarati")
|
|
2307
2313
|
}
|
|
2308
2314
|
),
|
|
@@ -2311,14 +2317,14 @@ const ca = {}, da = ({
|
|
|
2311
2317
|
{
|
|
2312
2318
|
id: "kundli-report-lang-mr",
|
|
2313
2319
|
type: "button",
|
|
2314
|
-
className: `${a.choiceBtn} ${
|
|
2320
|
+
className: `${a.choiceBtn} ${o.language_code === "mr" ? a.choiceBtnActive : ""}`,
|
|
2315
2321
|
onClick: () => {
|
|
2316
|
-
|
|
2322
|
+
_({ language_code: "mr" }), c?.trackLanguageOfReportSelected?.({
|
|
2317
2323
|
language: "mr"
|
|
2318
2324
|
});
|
|
2319
2325
|
},
|
|
2320
2326
|
role: "radio",
|
|
2321
|
-
"aria-checked":
|
|
2327
|
+
"aria-checked": o.language_code === "mr",
|
|
2322
2328
|
children: t("formReportLanguageMarathi")
|
|
2323
2329
|
}
|
|
2324
2330
|
)
|
|
@@ -2329,17 +2335,17 @@ const ca = {}, da = ({
|
|
|
2329
2335
|
] }) })
|
|
2330
2336
|
}
|
|
2331
2337
|
);
|
|
2332
|
-
}, ua = "_ctaButton_rhimw_2", ma = "_ctaFilled_rhimw_21",
|
|
2338
|
+
}, ua = "_ctaButton_rhimw_2", ma = "_ctaFilled_rhimw_21", fa = "_ctaFilledContent_rhimw_52", pa = "_chevronRight_rhimw_61", Ee = {
|
|
2333
2339
|
ctaButton: ua,
|
|
2334
2340
|
ctaFilled: ma,
|
|
2335
|
-
ctaFilledContent:
|
|
2336
|
-
chevronRight:
|
|
2341
|
+
ctaFilledContent: fa,
|
|
2342
|
+
chevronRight: pa
|
|
2337
2343
|
}, hr = "kundli-report-astrologer", ha = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", ga = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", _a = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", ba = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", ya = ({ t }) => {
|
|
2338
|
-
const
|
|
2344
|
+
const d = Ne()?.config.imageComponent ?? Le;
|
|
2339
2345
|
return /* @__PURE__ */ r.jsxs("div", { className: xe.marqueeContent, children: [
|
|
2340
2346
|
/* @__PURE__ */ r.jsxs("span", { className: xe.badge, children: [
|
|
2341
2347
|
/* @__PURE__ */ r.jsx(
|
|
2342
|
-
|
|
2348
|
+
d,
|
|
2343
2349
|
{
|
|
2344
2350
|
src: ha,
|
|
2345
2351
|
alt: "",
|
|
@@ -2353,7 +2359,7 @@ const ca = {}, da = ({
|
|
|
2353
2359
|
] }),
|
|
2354
2360
|
/* @__PURE__ */ r.jsxs("span", { className: xe.badge, children: [
|
|
2355
2361
|
/* @__PURE__ */ r.jsx(
|
|
2356
|
-
|
|
2362
|
+
d,
|
|
2357
2363
|
{
|
|
2358
2364
|
src: ga,
|
|
2359
2365
|
alt: "",
|
|
@@ -2367,7 +2373,7 @@ const ca = {}, da = ({
|
|
|
2367
2373
|
] }),
|
|
2368
2374
|
/* @__PURE__ */ r.jsxs("span", { className: xe.badge, children: [
|
|
2369
2375
|
/* @__PURE__ */ r.jsx(
|
|
2370
|
-
|
|
2376
|
+
d,
|
|
2371
2377
|
{
|
|
2372
2378
|
src: _a,
|
|
2373
2379
|
alt: "",
|
|
@@ -2380,69 +2386,69 @@ const ca = {}, da = ({
|
|
|
2380
2386
|
t("ctaSecurePayment")
|
|
2381
2387
|
] })
|
|
2382
2388
|
] });
|
|
2383
|
-
}, ka = (t) => /.+@.+\..+/.test(t), va = (t) => /^\d{10}$/.test(t), xa = (t,
|
|
2389
|
+
}, ka = (t) => /.+@.+\..+/.test(t), va = (t) => /^\d{10}$/.test(t), xa = (t, o, d) => {
|
|
2384
2390
|
if (!t.fullName.trim()) return "fullName";
|
|
2385
|
-
if (
|
|
2391
|
+
if (o) {
|
|
2386
2392
|
if (!ka(t.email.trim())) return "email";
|
|
2387
2393
|
} else if (!va((t.phone ?? "").trim())) return "phone";
|
|
2388
2394
|
if (!t.dateOfBirth) return "dateOfBirth";
|
|
2389
2395
|
if (!t.birthPlace.trim()) return "birthPlace";
|
|
2390
|
-
if (
|
|
2396
|
+
if (d) {
|
|
2391
2397
|
if (!t.gender) return "gender";
|
|
2392
2398
|
if (!t.language_code) return "language_code";
|
|
2393
2399
|
}
|
|
2394
2400
|
return !t.birthTimeUnknown && !t.birthTime ? "birthTime" : null;
|
|
2395
2401
|
}, wa = ({
|
|
2396
2402
|
t,
|
|
2397
|
-
values:
|
|
2398
|
-
phoneIsdCode:
|
|
2403
|
+
values: o,
|
|
2404
|
+
phoneIsdCode: d,
|
|
2399
2405
|
hideOriginalPrice: u = !1,
|
|
2400
|
-
requireV1ExtraFields:
|
|
2401
|
-
onValidationFailed:
|
|
2402
|
-
onProceed:
|
|
2403
|
-
onProceedGuidance:
|
|
2404
|
-
href:
|
|
2406
|
+
requireV1ExtraFields: y = !1,
|
|
2407
|
+
onValidationFailed: x,
|
|
2408
|
+
onProceed: h,
|
|
2409
|
+
onProceedGuidance: N,
|
|
2410
|
+
href: w,
|
|
2405
2411
|
analytics: F,
|
|
2406
|
-
className:
|
|
2407
|
-
discountedPriceLabel:
|
|
2408
|
-
showPlanSheet:
|
|
2412
|
+
className: c = "",
|
|
2413
|
+
discountedPriceLabel: S,
|
|
2414
|
+
showPlanSheet: p,
|
|
2409
2415
|
confirmPlan: D,
|
|
2410
|
-
planSheetOpen:
|
|
2411
|
-
selectedPlan:
|
|
2416
|
+
planSheetOpen: k,
|
|
2417
|
+
selectedPlan: E
|
|
2412
2418
|
}) => {
|
|
2413
|
-
const
|
|
2414
|
-
() => xa(
|
|
2415
|
-
[
|
|
2416
|
-
),
|
|
2417
|
-
if (
|
|
2418
|
-
|
|
2419
|
+
const A = Ne(), T = A?.config.isGlobal ?? !0, g = A?.config?.variant, G = Ge(
|
|
2420
|
+
() => xa(o, T, y),
|
|
2421
|
+
[o, T, y]
|
|
2422
|
+
), _ = G === null, M = g === "v1" && A?.config?.showSheet, O = T ? S ?? t("formDiscountedPrice") : M ? "" : "₹499", $ = A?.config.imageComponent ?? Le, Z = (B) => {
|
|
2423
|
+
if (B.preventDefault(), !_) {
|
|
2424
|
+
G && x?.(G);
|
|
2419
2425
|
return;
|
|
2420
2426
|
}
|
|
2421
|
-
const
|
|
2422
|
-
...
|
|
2423
|
-
phone:
|
|
2427
|
+
const z = !!N && g === "v1" && E?.id === hr, U = (o.phone ?? "").trim(), C = {
|
|
2428
|
+
...o,
|
|
2429
|
+
phone: U && `${d}-${U}`
|
|
2424
2430
|
};
|
|
2425
|
-
if (
|
|
2426
|
-
|
|
2431
|
+
if (M) {
|
|
2432
|
+
k ? D?.() : p?.(C);
|
|
2427
2433
|
return;
|
|
2428
2434
|
}
|
|
2429
|
-
F?.trackPrimaryCtaClickedL1?.({ avenue: "form" }),
|
|
2430
|
-
},
|
|
2435
|
+
F?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), z ? N(C) : h?.(C);
|
|
2436
|
+
}, R = /* @__PURE__ */ r.jsx(
|
|
2431
2437
|
Or,
|
|
2432
2438
|
{
|
|
2433
|
-
href:
|
|
2434
|
-
disabled:
|
|
2435
|
-
onClick:
|
|
2439
|
+
href: w,
|
|
2440
|
+
disabled: g === "v1" ? !1 : !_,
|
|
2441
|
+
onClick: Z,
|
|
2436
2442
|
"aria-label": t("formPriceAria"),
|
|
2437
|
-
className:
|
|
2438
|
-
children:
|
|
2439
|
-
|
|
2443
|
+
className: g === "v1" && _ ? Ee.ctaFilled : g === "v1" ? Ee.ctaButton : void 0,
|
|
2444
|
+
children: g === "v1" ? _ ? /* @__PURE__ */ r.jsxs("span", { className: Ee.ctaFilledContent, children: [
|
|
2445
|
+
M ? t("selectPackage") : k && E ? `${t("proceedWithPlan")}${E.price}` : `${t("formProceed")} ${O}`,
|
|
2440
2446
|
/* @__PURE__ */ r.jsx(
|
|
2441
|
-
|
|
2447
|
+
$,
|
|
2442
2448
|
{
|
|
2443
2449
|
src: ba,
|
|
2444
2450
|
alt: "",
|
|
2445
|
-
className:
|
|
2451
|
+
className: Ee.chevronRight,
|
|
2446
2452
|
width: 20,
|
|
2447
2453
|
height: 20,
|
|
2448
2454
|
loading: "lazy"
|
|
@@ -2450,96 +2456,38 @@ const ca = {}, da = ({
|
|
|
2450
2456
|
)
|
|
2451
2457
|
] }) : t("formCtaDefault") : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
2452
2458
|
t("formProceed"),
|
|
2453
|
-
|
|
2459
|
+
" ",
|
|
2460
|
+
O
|
|
2454
2461
|
] })
|
|
2455
2462
|
}
|
|
2456
2463
|
);
|
|
2457
2464
|
return /* @__PURE__ */ r.jsx(
|
|
2458
2465
|
Fr,
|
|
2459
2466
|
{
|
|
2460
|
-
className: `${
|
|
2467
|
+
className: `${Ee.footerContainer} ${c}`,
|
|
2461
2468
|
marquee: /* @__PURE__ */ r.jsx(Mr, { children: /* @__PURE__ */ r.jsx(ya, { t }) }),
|
|
2462
|
-
children:
|
|
2469
|
+
children: R
|
|
2463
2470
|
}
|
|
2464
2471
|
);
|
|
2465
2472
|
}, Pa = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Aa = ({
|
|
2466
2473
|
t,
|
|
2467
|
-
languageSelector:
|
|
2468
|
-
logoUrl:
|
|
2474
|
+
languageSelector: o,
|
|
2475
|
+
logoUrl: d = Pa,
|
|
2469
2476
|
className: u = ""
|
|
2470
2477
|
}) => {
|
|
2471
|
-
const
|
|
2478
|
+
const y = Ne(), x = y?.config.isGlobal ?? !0, h = o != null && !x;
|
|
2472
2479
|
return /* @__PURE__ */ r.jsx(
|
|
2473
2480
|
$r,
|
|
2474
2481
|
{
|
|
2475
2482
|
t,
|
|
2476
|
-
logoUrl:
|
|
2477
|
-
imageComponent:
|
|
2478
|
-
languageSelector:
|
|
2479
|
-
showLanguageSelector:
|
|
2483
|
+
logoUrl: d,
|
|
2484
|
+
imageComponent: y?.config.imageComponent,
|
|
2485
|
+
languageSelector: o,
|
|
2486
|
+
showLanguageSelector: h,
|
|
2480
2487
|
className: u
|
|
2481
2488
|
}
|
|
2482
2489
|
);
|
|
2483
|
-
}, Ca =
|
|
2484
|
-
{
|
|
2485
|
-
id: "jyoti",
|
|
2486
|
-
name: "planAstrologerNameJyoti",
|
|
2487
|
-
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992823100.webp",
|
|
2488
|
-
experience: "planAstrologerExpJyoti",
|
|
2489
|
-
certifications: [
|
|
2490
|
-
"planAstrologerCertCertifiedJyotish",
|
|
2491
|
-
"planAstrologerCertAccurateSolutions"
|
|
2492
|
-
]
|
|
2493
|
-
},
|
|
2494
|
-
{
|
|
2495
|
-
id: "samiksha",
|
|
2496
|
-
name: "planAstrologerNameSamiksha",
|
|
2497
|
-
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992841106.webp",
|
|
2498
|
-
experience: "planAstrologerExpSamiksha",
|
|
2499
|
-
certifications: [
|
|
2500
|
-
"planAstrologerCertVedicAstrology",
|
|
2501
|
-
"planAstrologerCertResultOriented"
|
|
2502
|
-
]
|
|
2503
|
-
},
|
|
2504
|
-
{
|
|
2505
|
-
id: "neeraj",
|
|
2506
|
-
name: "planAstrologerNameNeeraj",
|
|
2507
|
-
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992858276.webp",
|
|
2508
|
-
experience: "planAstrologerExpNeeraj",
|
|
2509
|
-
certifications: ["planAstrologerCertBhuCertified", "planAstrologerCertMantraRudraksha"]
|
|
2510
|
-
}
|
|
2511
|
-
], ja = [
|
|
2512
|
-
{
|
|
2513
|
-
id: "kundli-report",
|
|
2514
|
-
title: "planNameBasic",
|
|
2515
|
-
price: "₹499",
|
|
2516
|
-
features: [
|
|
2517
|
-
{ text: "planFeatureDetailedInsights", included: !0 },
|
|
2518
|
-
{ text: "planFeaturePracticalRemedies", included: !0 },
|
|
2519
|
-
{ text: "planFeatureClearLanguage", included: !0 },
|
|
2520
|
-
{ text: "planFeatureAstrologyConsultant", included: !1 },
|
|
2521
|
-
{ text: "planFeaturePersonalizedReading", included: !1 }
|
|
2522
|
-
]
|
|
2523
|
-
},
|
|
2524
|
-
{
|
|
2525
|
-
id: "kundli-report-astrologer",
|
|
2526
|
-
title: "planNameGuidance",
|
|
2527
|
-
price: "₹999",
|
|
2528
|
-
originalPrice: "₹499+₹850",
|
|
2529
|
-
savingsLabel: "planSaveLabel",
|
|
2530
|
-
// We'll pass {{percent: 25}} in the component
|
|
2531
|
-
badge: "planMostPopular",
|
|
2532
|
-
features: [
|
|
2533
|
-
{ text: "planFeatureIncludesPremium", included: !0 },
|
|
2534
|
-
{ text: "planFeaturePlusConsultation", included: !0 },
|
|
2535
|
-
{ text: "planFeatureRealTimeAnswers", included: !0 },
|
|
2536
|
-
{ text: "planFeatureTailoredRemedies", included: !0 }
|
|
2537
|
-
],
|
|
2538
|
-
astrologers: Ca.filter(
|
|
2539
|
-
(t) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(t.id)
|
|
2540
|
-
)
|
|
2541
|
-
}
|
|
2542
|
-
], Ta = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
|
|
2490
|
+
}, Ca = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
|
|
2543
2491
|
"path",
|
|
2544
2492
|
{
|
|
2545
2493
|
d: "M3.5 8.5l2.5 2.5 6-6",
|
|
@@ -2548,7 +2496,7 @@ const ca = {}, da = ({
|
|
|
2548
2496
|
strokeLinecap: "round",
|
|
2549
2497
|
strokeLinejoin: "round"
|
|
2550
2498
|
}
|
|
2551
|
-
) }),
|
|
2499
|
+
) }), ja = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
|
|
2552
2500
|
"path",
|
|
2553
2501
|
{
|
|
2554
2502
|
d: "M4.5 4.5l7 7M11.5 4.5l-7 7",
|
|
@@ -2556,119 +2504,119 @@ const ca = {}, da = ({
|
|
|
2556
2504
|
strokeWidth: "1.8",
|
|
2557
2505
|
strokeLinecap: "round"
|
|
2558
2506
|
}
|
|
2559
|
-
) }),
|
|
2507
|
+
) }), Na = () => /* @__PURE__ */ r.jsx("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx("path", { d: "M15 18l-6-6 6-6" }) }), Ta = () => /* @__PURE__ */ r.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: [
|
|
2560
2508
|
/* @__PURE__ */ r.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
|
|
2561
2509
|
/* @__PURE__ */ r.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
2562
|
-
] }), Ea = "
|
|
2563
|
-
overlay:
|
|
2564
|
-
sheet:
|
|
2565
|
-
dragHandle:
|
|
2566
|
-
header:
|
|
2567
|
-
backBtn:
|
|
2568
|
-
title:
|
|
2569
|
-
plansContainer:
|
|
2570
|
-
planCard:
|
|
2571
|
-
withBadgeSpacing:
|
|
2572
|
-
planCardSelected:
|
|
2573
|
-
planCardPopular:
|
|
2574
|
-
popularBadge:
|
|
2575
|
-
planCardInner:
|
|
2576
|
-
planTitleRow:
|
|
2577
|
-
planTitle:
|
|
2578
|
-
radioCircle:
|
|
2579
|
-
radioChecked:
|
|
2580
|
-
radioInner:
|
|
2581
|
-
priceRow:
|
|
2582
|
-
price:
|
|
2583
|
-
originalPrice:
|
|
2584
|
-
savingsBadge:
|
|
2585
|
-
featureList:
|
|
2586
|
-
featureItem:
|
|
2587
|
-
featureIcon:
|
|
2588
|
-
featureText:
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
astrologerCertList:
|
|
2601
|
-
astrologerCertItem:
|
|
2602
|
-
bullet:
|
|
2603
|
-
footer:
|
|
2604
|
-
proceedBtn:
|
|
2605
|
-
},
|
|
2510
|
+
] }), Ra = "_overlay_17u6c_2", Sa = "_sheet_17u6c_12", Ea = "_dragHandle_17u6c_35", Ia = "_header_17u6c_45", Ba = "_backBtn_17u6c_57", La = "_title_17u6c_75", Da = "_plansContainer_17u6c_87", Oa = "_planCard_17u6c_96", Fa = "_withBadgeSpacing_17u6c_110", Ma = "_planCardSelected_17u6c_114", $a = "_planCardPopular_17u6c_119", Ua = "_popularBadge_17u6c_128", Ga = "_planCardInner_17u6c_146", Ka = "_planTitleRow_17u6c_157", Wa = "_planTitle_17u6c_157", Ha = "_radioCircle_17u6c_172", Ya = "_radioChecked_17u6c_185", qa = "_radioInner_17u6c_190", Va = "_priceRow_17u6c_198", Ja = "_price_17u6c_198", za = "_originalPrice_17u6c_211", Qa = "_savingsBadge_17u6c_218", Xa = "_featureList_17u6c_228", Za = "_featureItem_17u6c_237", en = "_featureIcon_17u6c_243", rn = "_featureText_17u6c_249", tn = "_astrologerHeading_17u6c_260", an = "_astrologerList_17u6c_267", nn = "_astrologerCard_17u6c_283", on = "_astrologerAvatar_17u6c_299", sn = "_astrologerAvatarPlaceholder_17u6c_316", ln = "_astrologerTop_17u6c_322", cn = "_astrologerBasicInfo_17u6c_328", dn = "_astrologerName_17u6c_335", un = "_astrologerExp_17u6c_344", mn = "_astrologerDivider_17u6c_350", fn = "_planDivider_17u6c_356", pn = "_astrologerCertList_17u6c_363", hn = "_astrologerCertItem_17u6c_369", gn = "_bullet_17u6c_377", _n = "_footer_17u6c_382", bn = "_proceedBtn_17u6c_392", f = {
|
|
2511
|
+
overlay: Ra,
|
|
2512
|
+
sheet: Sa,
|
|
2513
|
+
dragHandle: Ea,
|
|
2514
|
+
header: Ia,
|
|
2515
|
+
backBtn: Ba,
|
|
2516
|
+
title: La,
|
|
2517
|
+
plansContainer: Da,
|
|
2518
|
+
planCard: Oa,
|
|
2519
|
+
withBadgeSpacing: Fa,
|
|
2520
|
+
planCardSelected: Ma,
|
|
2521
|
+
planCardPopular: $a,
|
|
2522
|
+
popularBadge: Ua,
|
|
2523
|
+
planCardInner: Ga,
|
|
2524
|
+
planTitleRow: Ka,
|
|
2525
|
+
planTitle: Wa,
|
|
2526
|
+
radioCircle: Ha,
|
|
2527
|
+
radioChecked: Ya,
|
|
2528
|
+
radioInner: qa,
|
|
2529
|
+
priceRow: Va,
|
|
2530
|
+
price: Ja,
|
|
2531
|
+
originalPrice: za,
|
|
2532
|
+
savingsBadge: Qa,
|
|
2533
|
+
featureList: Xa,
|
|
2534
|
+
featureItem: Za,
|
|
2535
|
+
featureIcon: en,
|
|
2536
|
+
featureText: rn,
|
|
2537
|
+
astrologerHeading: tn,
|
|
2538
|
+
astrologerList: an,
|
|
2539
|
+
astrologerCard: nn,
|
|
2540
|
+
astrologerAvatar: on,
|
|
2541
|
+
astrologerAvatarPlaceholder: sn,
|
|
2542
|
+
astrologerTop: ln,
|
|
2543
|
+
astrologerBasicInfo: cn,
|
|
2544
|
+
astrologerName: dn,
|
|
2545
|
+
astrologerExp: un,
|
|
2546
|
+
astrologerDivider: mn,
|
|
2547
|
+
planDivider: fn,
|
|
2548
|
+
astrologerCertList: pn,
|
|
2549
|
+
astrologerCertItem: hn,
|
|
2550
|
+
bullet: gn,
|
|
2551
|
+
footer: _n,
|
|
2552
|
+
proceedBtn: bn
|
|
2553
|
+
}, yn = ({ title: t, onBack: o }) => /* @__PURE__ */ r.jsxs("div", { className: f.header, children: [
|
|
2606
2554
|
/* @__PURE__ */ r.jsx(
|
|
2607
2555
|
"button",
|
|
2608
2556
|
{
|
|
2609
2557
|
className: f.backBtn,
|
|
2610
|
-
onClick:
|
|
2558
|
+
onClick: o,
|
|
2611
2559
|
"aria-label": "Go back",
|
|
2612
2560
|
type: "button",
|
|
2613
|
-
children: /* @__PURE__ */ r.jsx(
|
|
2561
|
+
children: /* @__PURE__ */ r.jsx(Na, {})
|
|
2614
2562
|
}
|
|
2615
2563
|
),
|
|
2616
2564
|
/* @__PURE__ */ r.jsx("h2", { className: f.title, children: t })
|
|
2617
|
-
] }),
|
|
2618
|
-
/* @__PURE__ */ r.jsx("span", { className: f.featureIcon, children:
|
|
2565
|
+
] }), kn = ({ features: t, t: o }) => /* @__PURE__ */ r.jsx("ul", { className: f.featureList, "aria-label": "Plan features", children: t.map((d, u) => /* @__PURE__ */ r.jsxs("li", { className: f.featureItem, children: [
|
|
2566
|
+
/* @__PURE__ */ r.jsx("span", { className: f.featureIcon, children: d.included ? /* @__PURE__ */ r.jsx(Ca, {}) : /* @__PURE__ */ r.jsx(ja, {}) }),
|
|
2619
2567
|
/* @__PURE__ */ r.jsx(
|
|
2620
2568
|
"span",
|
|
2621
2569
|
{
|
|
2622
|
-
className: `${f.featureText}
|
|
2623
|
-
children:
|
|
2570
|
+
className: `${f.featureText} `,
|
|
2571
|
+
children: o?.(d.text) ?? d.text
|
|
2624
2572
|
}
|
|
2625
2573
|
)
|
|
2626
|
-
] }, u)) }),
|
|
2574
|
+
] }, u)) }), vn = ({ astrologer: t, t: o }) => /* @__PURE__ */ r.jsxs("div", { className: f.astrologerCard, children: [
|
|
2627
2575
|
/* @__PURE__ */ r.jsxs("div", { className: f.astrologerTop, children: [
|
|
2628
|
-
/* @__PURE__ */ r.jsx("div", { className: f.astrologerAvatar, "aria-hidden": !0, children: t.imageUrl ? /* @__PURE__ */ r.jsx("img", { src: t.imageUrl, alt:
|
|
2576
|
+
/* @__PURE__ */ r.jsx("div", { className: f.astrologerAvatar, "aria-hidden": !0, children: t.imageUrl ? /* @__PURE__ */ r.jsx("img", { src: t.imageUrl, alt: o?.(t.name) ?? t.name, width: 40, height: 40 }) : /* @__PURE__ */ r.jsx("span", { className: f.astrologerAvatarPlaceholder, children: t.name.charAt(0) }) }),
|
|
2629
2577
|
/* @__PURE__ */ r.jsxs("div", { className: f.astrologerBasicInfo, children: [
|
|
2630
|
-
/* @__PURE__ */ r.jsx("p", { className: f.astrologerName, children:
|
|
2631
|
-
/* @__PURE__ */ r.jsx("p", { className: f.astrologerExp, children:
|
|
2578
|
+
/* @__PURE__ */ r.jsx("p", { className: f.astrologerName, children: o?.(t.name) ?? t.name }),
|
|
2579
|
+
/* @__PURE__ */ r.jsx("p", { className: f.astrologerExp, children: o?.(t.experience) ?? t.experience })
|
|
2632
2580
|
] })
|
|
2633
2581
|
] }),
|
|
2634
2582
|
/* @__PURE__ */ r.jsx("div", { className: f.astrologerDivider }),
|
|
2635
|
-
/* @__PURE__ */ r.jsx("div", { className: f.astrologerCertList, children: t.certifications.map((
|
|
2583
|
+
/* @__PURE__ */ r.jsx("div", { className: f.astrologerCertList, children: t.certifications.map((d, u) => /* @__PURE__ */ r.jsxs("p", { className: f.astrologerCertItem, children: [
|
|
2636
2584
|
/* @__PURE__ */ r.jsx("span", { className: f.bullet, children: "•" }),
|
|
2637
2585
|
" ",
|
|
2638
|
-
|
|
2586
|
+
o?.(d) ?? d
|
|
2639
2587
|
] }, u)) })
|
|
2640
|
-
] }),
|
|
2641
|
-
/* @__PURE__ */ r.jsx(
|
|
2588
|
+
] }), xn = ({ label: t }) => /* @__PURE__ */ r.jsxs("div", { className: f.popularBadge, "aria-label": t, children: [
|
|
2589
|
+
/* @__PURE__ */ r.jsx(Ta, {}),
|
|
2642
2590
|
/* @__PURE__ */ r.jsx("span", { children: t })
|
|
2643
|
-
] }),
|
|
2644
|
-
const
|
|
2645
|
-
(
|
|
2591
|
+
] }), wn = ({ plan: t, isSelected: o, onSelect: d, t: u }) => {
|
|
2592
|
+
const y = () => d(t.id), x = (h) => {
|
|
2593
|
+
(h.key === " " || h.key === "Enter") && (h.preventDefault(), d(t.id));
|
|
2646
2594
|
};
|
|
2647
2595
|
return /* @__PURE__ */ r.jsxs(
|
|
2648
2596
|
"div",
|
|
2649
2597
|
{
|
|
2650
2598
|
className: [
|
|
2651
2599
|
f.planCard,
|
|
2652
|
-
|
|
2653
|
-
|
|
2600
|
+
o ? f.planCardSelected : "",
|
|
2601
|
+
o && f.planCardPopular
|
|
2654
2602
|
].filter(Boolean).join(" "),
|
|
2655
|
-
onClick:
|
|
2603
|
+
onClick: y,
|
|
2656
2604
|
role: "radio",
|
|
2657
|
-
"aria-checked":
|
|
2605
|
+
"aria-checked": o,
|
|
2658
2606
|
tabIndex: 0,
|
|
2659
|
-
onKeyDown:
|
|
2607
|
+
onKeyDown: x,
|
|
2660
2608
|
"data-plan-id": t.id,
|
|
2661
2609
|
children: [
|
|
2662
|
-
t.badge && /* @__PURE__ */ r.jsx(
|
|
2610
|
+
t.badge && /* @__PURE__ */ r.jsx(xn, { label: u?.(t.badge) ?? t.badge }),
|
|
2663
2611
|
/* @__PURE__ */ r.jsxs("div", { className: f.planCardInner, children: [
|
|
2664
2612
|
/* @__PURE__ */ r.jsxs("div", { className: `${f.planTitleRow} ${t.badge ? f.withBadgeSpacing : ""}`, children: [
|
|
2665
2613
|
/* @__PURE__ */ r.jsx("span", { className: f.planTitle, children: u?.(t.title) ?? t.title }),
|
|
2666
2614
|
/* @__PURE__ */ r.jsx(
|
|
2667
2615
|
"span",
|
|
2668
2616
|
{
|
|
2669
|
-
className: `${f.radioCircle} ${
|
|
2617
|
+
className: `${f.radioCircle} ${o ? f.radioChecked : ""}`,
|
|
2670
2618
|
"aria-hidden": !0,
|
|
2671
|
-
children:
|
|
2619
|
+
children: o && /* @__PURE__ */ r.jsx("span", { className: f.radioInner })
|
|
2672
2620
|
}
|
|
2673
2621
|
)
|
|
2674
2622
|
] }),
|
|
@@ -2677,99 +2625,149 @@ const ca = {}, da = ({
|
|
|
2677
2625
|
t.originalPrice && /* @__PURE__ */ r.jsx("span", { className: f.originalPrice, children: t.originalPrice }),
|
|
2678
2626
|
t.savingsLabel && /* @__PURE__ */ r.jsx("span", { className: f.savingsBadge, children: u?.(t.savingsLabel, { percent: 25 }) ?? t.savingsLabel })
|
|
2679
2627
|
] }),
|
|
2680
|
-
/* @__PURE__ */ r.jsx(
|
|
2628
|
+
/* @__PURE__ */ r.jsx(kn, { features: t.features, t: u }),
|
|
2629
|
+
t.astrologers && /* @__PURE__ */ r.jsx("div", { className: f.planDivider }),
|
|
2681
2630
|
t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
2682
2631
|
/* @__PURE__ */ r.jsx("p", { className: f.astrologerHeading, children: u?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
|
|
2683
|
-
/* @__PURE__ */ r.jsx("div", { className: f.astrologerList, role: "list", children: t.astrologers.map((
|
|
2632
|
+
/* @__PURE__ */ r.jsx("div", { className: f.astrologerList, role: "list", children: t.astrologers.map((h, N) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(vn, { astrologer: h, t: u }) }, N)) })
|
|
2684
2633
|
] })
|
|
2685
2634
|
] })
|
|
2686
2635
|
]
|
|
2687
2636
|
}
|
|
2688
2637
|
);
|
|
2689
|
-
},
|
|
2638
|
+
}, Pn = [
|
|
2639
|
+
{
|
|
2640
|
+
id: "jyoti",
|
|
2641
|
+
name: "planAstrologerNameJyoti",
|
|
2642
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992823100.webp",
|
|
2643
|
+
experience: "planAstrologerExpJyoti",
|
|
2644
|
+
certifications: [
|
|
2645
|
+
"planAstrologerCertCertifiedJyotish",
|
|
2646
|
+
"planAstrologerCertAccurateSolutions"
|
|
2647
|
+
]
|
|
2648
|
+
},
|
|
2649
|
+
{
|
|
2650
|
+
id: "samiksha",
|
|
2651
|
+
name: "planAstrologerNameSamiksha",
|
|
2652
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992841106.webp",
|
|
2653
|
+
experience: "planAstrologerExpSamiksha",
|
|
2654
|
+
certifications: [
|
|
2655
|
+
"planAstrologerCertVedicAstrology",
|
|
2656
|
+
"planAstrologerCertResultOriented"
|
|
2657
|
+
]
|
|
2658
|
+
},
|
|
2659
|
+
{
|
|
2660
|
+
id: "neeraj",
|
|
2661
|
+
name: "planAstrologerNameNeeraj",
|
|
2662
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992858276.webp",
|
|
2663
|
+
experience: "planAstrologerExpNeeraj",
|
|
2664
|
+
certifications: ["planAstrologerCertBhuCertified", "planAstrologerCertMantraRudraksha"]
|
|
2665
|
+
}
|
|
2666
|
+
], An = (t) => [
|
|
2667
|
+
{
|
|
2668
|
+
id: "kundli-report",
|
|
2669
|
+
title: "planNameBasic",
|
|
2670
|
+
price: t ? "$25" : "₹499",
|
|
2671
|
+
features: [
|
|
2672
|
+
{ text: "planFeatureDetailedInsights", included: !0 },
|
|
2673
|
+
{ text: "planFeaturePracticalRemedies", included: !0 },
|
|
2674
|
+
{ text: "planFeatureClearLanguage", included: !0 },
|
|
2675
|
+
{ text: "planFeatureAstrologyConsultant", included: !1 },
|
|
2676
|
+
{ text: "planFeaturePersonalizedReading", included: !1 }
|
|
2677
|
+
]
|
|
2678
|
+
},
|
|
2679
|
+
{
|
|
2680
|
+
id: "kundli-report-astrologer",
|
|
2681
|
+
title: "planNameGuidance",
|
|
2682
|
+
price: t ? "$36" : "₹999",
|
|
2683
|
+
originalPrice: t ? "$25+$25" : "₹499+₹850",
|
|
2684
|
+
savingsLabel: "planSaveLabel",
|
|
2685
|
+
badge: "planMostPopular",
|
|
2686
|
+
features: [
|
|
2687
|
+
{ text: "planFeatureIncludesPremium", included: !0 },
|
|
2688
|
+
{ text: "planFeaturePlusConsultation", included: !0 },
|
|
2689
|
+
{ text: "planFeatureRealTimeAnswers", included: !0 },
|
|
2690
|
+
{ text: "planFeatureTailoredRemedies", included: !0 }
|
|
2691
|
+
],
|
|
2692
|
+
astrologers: Pn.filter(
|
|
2693
|
+
(o) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(o.id)
|
|
2694
|
+
)
|
|
2695
|
+
}
|
|
2696
|
+
], Cn = ({
|
|
2690
2697
|
isOpen: t,
|
|
2691
|
-
onClose:
|
|
2692
|
-
selectedPlan:
|
|
2698
|
+
onClose: o,
|
|
2699
|
+
selectedPlan: d,
|
|
2693
2700
|
onSelectPlan: u,
|
|
2694
|
-
plans:
|
|
2695
|
-
onProceed:
|
|
2696
|
-
t:
|
|
2697
|
-
analytics:
|
|
2701
|
+
plans: y,
|
|
2702
|
+
onProceed: x,
|
|
2703
|
+
t: h,
|
|
2704
|
+
analytics: N
|
|
2698
2705
|
}) => {
|
|
2699
|
-
const
|
|
2706
|
+
const F = Ne()?.config.isGlobal ?? !0, c = y ?? An(F), S = d?.id || c.find((A) => A.badge)?.id || c[0]?.id || "", p = H(null), D = H(null);
|
|
2707
|
+
H(null);
|
|
2708
|
+
const k = H(!1);
|
|
2700
2709
|
X(() => {
|
|
2701
2710
|
if (t) {
|
|
2702
|
-
if (!
|
|
2703
|
-
const
|
|
2704
|
-
|
|
2711
|
+
if (!d) {
|
|
2712
|
+
const A = c.find((T) => T.badge) ?? c[0];
|
|
2713
|
+
A && u(A);
|
|
2705
2714
|
}
|
|
2706
|
-
|
|
2715
|
+
k.current || (N?.trackPlanPageViewed?.(), k.current = !0);
|
|
2707
2716
|
} else
|
|
2708
|
-
|
|
2709
|
-
}, [t,
|
|
2710
|
-
const
|
|
2711
|
-
|
|
2717
|
+
k.current = !1;
|
|
2718
|
+
}, [t, c, d, u, N]);
|
|
2719
|
+
const E = () => {
|
|
2720
|
+
N?.trackPlanPageClosed?.(), o();
|
|
2712
2721
|
};
|
|
2713
|
-
X(() => {
|
|
2722
|
+
return X(() => {
|
|
2714
2723
|
if (!t) return;
|
|
2715
|
-
const
|
|
2724
|
+
const A = document.body.style.overflow;
|
|
2716
2725
|
return document.body.style.overflow = "hidden", () => {
|
|
2717
|
-
document.body.style.overflow =
|
|
2726
|
+
document.body.style.overflow = A;
|
|
2718
2727
|
};
|
|
2719
|
-
}, [t])
|
|
2720
|
-
const D = (p) => {
|
|
2721
|
-
d.current = p.touches[0]?.clientY ?? null;
|
|
2722
|
-
}, A = (p) => {
|
|
2723
|
-
if (d.current === null) return;
|
|
2724
|
-
(p.changedTouches[0]?.clientY ?? 0) - d.current > 80 && g(), d.current = null;
|
|
2725
|
-
};
|
|
2726
|
-
return t ? /* @__PURE__ */ r.jsx(
|
|
2728
|
+
}, [t]), t ? /* @__PURE__ */ r.jsx(
|
|
2727
2729
|
"div",
|
|
2728
2730
|
{
|
|
2729
2731
|
className: f.overlay,
|
|
2730
2732
|
role: "dialog",
|
|
2731
2733
|
"aria-modal": "true",
|
|
2732
|
-
"aria-label":
|
|
2733
|
-
onClick: (p) => {
|
|
2734
|
-
p.target === p.currentTarget && g();
|
|
2735
|
-
},
|
|
2734
|
+
"aria-label": h?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
2736
2735
|
children: /* @__PURE__ */ r.jsxs(
|
|
2737
2736
|
"div",
|
|
2738
2737
|
{
|
|
2739
|
-
ref:
|
|
2738
|
+
ref: p,
|
|
2740
2739
|
className: f.sheet,
|
|
2741
|
-
onTouchStart: D,
|
|
2742
|
-
onTouchEnd: A,
|
|
2743
2740
|
children: [
|
|
2744
2741
|
/* @__PURE__ */ r.jsx("div", { className: f.dragHandle, "aria-hidden": !0 }),
|
|
2745
2742
|
/* @__PURE__ */ r.jsx(
|
|
2746
|
-
|
|
2743
|
+
yn,
|
|
2747
2744
|
{
|
|
2748
|
-
title:
|
|
2749
|
-
onBack:
|
|
2745
|
+
title: h?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
2746
|
+
onBack: E
|
|
2750
2747
|
}
|
|
2751
2748
|
),
|
|
2752
2749
|
/* @__PURE__ */ r.jsx(
|
|
2753
2750
|
"div",
|
|
2754
2751
|
{
|
|
2752
|
+
ref: D,
|
|
2755
2753
|
className: f.plansContainer,
|
|
2756
2754
|
role: "radiogroup",
|
|
2757
2755
|
"aria-label": "Kundli plans",
|
|
2758
|
-
children:
|
|
2759
|
-
|
|
2756
|
+
children: c.map((A) => /* @__PURE__ */ r.jsx(
|
|
2757
|
+
wn,
|
|
2760
2758
|
{
|
|
2761
|
-
plan:
|
|
2762
|
-
isSelected:
|
|
2763
|
-
t:
|
|
2764
|
-
onSelect: (
|
|
2765
|
-
const
|
|
2766
|
-
|
|
2767
|
-
planId:
|
|
2768
|
-
planName:
|
|
2769
|
-
}), u(
|
|
2759
|
+
plan: A,
|
|
2760
|
+
isSelected: A.id === S,
|
|
2761
|
+
t: h,
|
|
2762
|
+
onSelect: (T) => {
|
|
2763
|
+
const g = c.find((G) => G.id === T);
|
|
2764
|
+
g && (N?.trackPlanSelected?.({
|
|
2765
|
+
planId: g.id,
|
|
2766
|
+
planName: g.title
|
|
2767
|
+
}), u(g));
|
|
2770
2768
|
}
|
|
2771
2769
|
},
|
|
2772
|
-
|
|
2770
|
+
A.id
|
|
2773
2771
|
))
|
|
2774
2772
|
}
|
|
2775
2773
|
),
|
|
@@ -2777,14 +2775,14 @@ const ca = {}, da = ({
|
|
|
2777
2775
|
"button",
|
|
2778
2776
|
{
|
|
2779
2777
|
className: f.proceedBtn,
|
|
2780
|
-
disabled: !
|
|
2778
|
+
disabled: !d,
|
|
2781
2779
|
onClick: () => {
|
|
2782
|
-
|
|
2783
|
-
planId:
|
|
2784
|
-
planName:
|
|
2785
|
-
}),
|
|
2780
|
+
d && (N?.trackPlanProceedClicked?.({
|
|
2781
|
+
planId: d.id,
|
|
2782
|
+
planName: d.title
|
|
2783
|
+
}), x(d), o());
|
|
2786
2784
|
},
|
|
2787
|
-
children:
|
|
2785
|
+
children: d ? h?.("planProceedToPayment") ?? d.price + "Proceed to Payment" : "Select a plan"
|
|
2788
2786
|
}
|
|
2789
2787
|
) })
|
|
2790
2788
|
]
|
|
@@ -2792,7 +2790,7 @@ const ca = {}, da = ({
|
|
|
2792
2790
|
)
|
|
2793
2791
|
}
|
|
2794
2792
|
) : null;
|
|
2795
|
-
}, jn = "https://srm-cdn.a4b.io/yoda/1770362713543.svg",
|
|
2793
|
+
}, jn = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Nn = (t, o) => ur[t]?.[o] ?? o, Tn = {
|
|
2796
2794
|
fullName: "",
|
|
2797
2795
|
phone: "",
|
|
2798
2796
|
gender: "",
|
|
@@ -2804,51 +2802,51 @@ const ca = {}, da = ({
|
|
|
2804
2802
|
birthPlace: ""
|
|
2805
2803
|
}, On = ({
|
|
2806
2804
|
className: t = "",
|
|
2807
|
-
locale:
|
|
2808
|
-
showLanguageSelector:
|
|
2805
|
+
locale: o,
|
|
2806
|
+
showLanguageSelector: d = !0,
|
|
2809
2807
|
onBack: u,
|
|
2810
|
-
initialValues:
|
|
2811
|
-
onProceed:
|
|
2812
|
-
onProceedGuidance:
|
|
2813
|
-
proceedHref:
|
|
2814
|
-
originalPriceLabel:
|
|
2808
|
+
initialValues: y,
|
|
2809
|
+
onProceed: x,
|
|
2810
|
+
onProceedGuidance: h,
|
|
2811
|
+
proceedHref: N,
|
|
2812
|
+
originalPriceLabel: w,
|
|
2815
2813
|
discountedPriceLabel: F,
|
|
2816
|
-
googleMapsApiKey:
|
|
2817
|
-
analytics:
|
|
2814
|
+
googleMapsApiKey: c = "",
|
|
2815
|
+
analytics: S
|
|
2818
2816
|
}) => {
|
|
2819
|
-
const
|
|
2817
|
+
const p = Ne(), D = Wr(), k = p !== null, E = k ? p.locale : o, A = E ?? D?.locale ?? "en", [T, g] = V(A), G = k ? p.locale : T, _ = k ? p.setLocale : g, [M, O] = V(!1), $ = H(null), Z = H(E), R = H(
|
|
2820
2818
|
D?.locale
|
|
2821
2819
|
);
|
|
2822
2820
|
X(() => {
|
|
2823
2821
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
2824
2822
|
}, []);
|
|
2825
|
-
const B = (P) =>
|
|
2823
|
+
const B = (P) => Nn(G, P);
|
|
2826
2824
|
X(() => {
|
|
2827
|
-
|
|
2828
|
-
}, [
|
|
2829
|
-
if (
|
|
2825
|
+
E && Z.current !== E && _(E), Z.current = E;
|
|
2826
|
+
}, [E, _]), X(() => {
|
|
2827
|
+
if (E) return;
|
|
2830
2828
|
const P = D?.locale;
|
|
2831
|
-
P && R.current !== P &&
|
|
2832
|
-
}, [D?.locale,
|
|
2833
|
-
const [
|
|
2834
|
-
...
|
|
2835
|
-
...
|
|
2836
|
-
phone:
|
|
2837
|
-
}),
|
|
2838
|
-
|
|
2829
|
+
P && R.current !== P && _(P), R.current = P;
|
|
2830
|
+
}, [D?.locale, E, _]);
|
|
2831
|
+
const [z, U] = V({
|
|
2832
|
+
...Tn,
|
|
2833
|
+
...y,
|
|
2834
|
+
phone: y?.phone ?? ""
|
|
2835
|
+
}), C = k ? p?.config.isGlobal ?? !0 : !0, [L, Y] = V(
|
|
2836
|
+
C ? "+1" : "+91"
|
|
2839
2837
|
);
|
|
2840
2838
|
X(() => {
|
|
2841
|
-
|
|
2842
|
-
}, [
|
|
2843
|
-
const
|
|
2839
|
+
Y(C ? "+1" : "+91");
|
|
2840
|
+
}, [C]);
|
|
2841
|
+
const J = k ? p.formValues : z, ne = k ? p.setFormValues : U, ge = k ? p.goToPage : u, Q = k ? p.onProceed : x, ie = k ? p.onProceedGuidance : h, ue = k ? p.config.proceedHref : N, se = k ? p.config.originalPriceLabel : w, le = k ? p.config.discountedPriceLabel : F, fe = k ? p.config.showLanguageSelector ?? !0 : d, oe = (k ? p?.config?.analytics : S) ?? S;
|
|
2844
2842
|
X(() => {
|
|
2845
|
-
if (!
|
|
2843
|
+
if (!M) return;
|
|
2846
2844
|
const P = (n) => {
|
|
2847
|
-
|
|
2845
|
+
$.current && !$.current.contains(n.target) && O(!1);
|
|
2848
2846
|
};
|
|
2849
2847
|
return document.addEventListener("mousedown", P), () => document.removeEventListener("mousedown", P);
|
|
2850
|
-
}, [
|
|
2851
|
-
const [
|
|
2848
|
+
}, [M]);
|
|
2849
|
+
const [pe, me] = V(!1), [ee, ye] = V(null), ce = H(null), we = be((P) => {
|
|
2852
2850
|
ce.current = P, me(!0);
|
|
2853
2851
|
}, []), _e = be(() => {
|
|
2854
2852
|
if (oe?.trackPlanProceedClicked?.({
|
|
@@ -2857,16 +2855,16 @@ const ca = {}, da = ({
|
|
|
2857
2855
|
}), !ce.current || !ee) return;
|
|
2858
2856
|
const P = { ...ce.current, _selectedPlan: ee };
|
|
2859
2857
|
ee.id === hr && ie ? ie(P) : Q?.(P), me(!1), ce.current = null;
|
|
2860
|
-
}, [ee, Q, ie]), Pe =
|
|
2858
|
+
}, [ee, Q, ie]), Pe = p?.config.imageComponent ?? Le, ke = fe ? /* @__PURE__ */ r.jsxs("div", { className: he.langDropdownWrap, ref: $, children: [
|
|
2861
2859
|
/* @__PURE__ */ r.jsxs(
|
|
2862
2860
|
"button",
|
|
2863
2861
|
{
|
|
2864
2862
|
type: "button",
|
|
2865
2863
|
className: he.langTrigger,
|
|
2866
2864
|
onClick: () => {
|
|
2867
|
-
oe?.trackLanguageClickedFe?.({ language:
|
|
2865
|
+
oe?.trackLanguageClickedFe?.({ language: G }), O((P) => !P);
|
|
2868
2866
|
},
|
|
2869
|
-
"aria-expanded":
|
|
2867
|
+
"aria-expanded": M,
|
|
2870
2868
|
"aria-haspopup": "listbox",
|
|
2871
2869
|
id: "kundli-form-lang",
|
|
2872
2870
|
"aria-label": B("language"),
|
|
@@ -2882,26 +2880,26 @@ const ca = {}, da = ({
|
|
|
2882
2880
|
loading: "eager"
|
|
2883
2881
|
}
|
|
2884
2882
|
),
|
|
2885
|
-
/* @__PURE__ */ r.jsx("span", { className: he.langLabel, children: sr[
|
|
2883
|
+
/* @__PURE__ */ r.jsx("span", { className: he.langLabel, children: sr[G] })
|
|
2886
2884
|
]
|
|
2887
2885
|
}
|
|
2888
2886
|
),
|
|
2889
|
-
|
|
2887
|
+
M && /* @__PURE__ */ r.jsx(
|
|
2890
2888
|
"ul",
|
|
2891
2889
|
{
|
|
2892
2890
|
className: he.langMenu,
|
|
2893
2891
|
role: "listbox",
|
|
2894
2892
|
"aria-labelledby": "kundli-form-lang",
|
|
2895
|
-
"aria-activedescendant": `kundli-form-lang-option-${
|
|
2893
|
+
"aria-activedescendant": `kundli-form-lang-option-${G}`,
|
|
2896
2894
|
children: dr.map((P) => /* @__PURE__ */ r.jsx(
|
|
2897
2895
|
"li",
|
|
2898
2896
|
{
|
|
2899
2897
|
id: `kundli-form-lang-option-${P}`,
|
|
2900
2898
|
role: "option",
|
|
2901
|
-
"aria-selected": P ===
|
|
2899
|
+
"aria-selected": P === G,
|
|
2902
2900
|
className: he.langOption,
|
|
2903
2901
|
onClick: () => {
|
|
2904
|
-
oe?.trackLanguageChangedFe?.({ newLanguage: P }),
|
|
2902
|
+
oe?.trackLanguageChangedFe?.({ newLanguage: P }), _(P), O(!1);
|
|
2905
2903
|
},
|
|
2906
2904
|
children: sr[P]
|
|
2907
2905
|
},
|
|
@@ -2915,7 +2913,7 @@ const ca = {}, da = ({
|
|
|
2915
2913
|
Aa,
|
|
2916
2914
|
{
|
|
2917
2915
|
t: B,
|
|
2918
|
-
logoUrl:
|
|
2916
|
+
logoUrl: k ? p.config.logoUrl : void 0,
|
|
2919
2917
|
languageSelector: ke,
|
|
2920
2918
|
className: he.kundliHeaderNoBorder
|
|
2921
2919
|
}
|
|
@@ -2927,11 +2925,11 @@ const ca = {}, da = ({
|
|
|
2927
2925
|
da,
|
|
2928
2926
|
{
|
|
2929
2927
|
t: B,
|
|
2930
|
-
values:
|
|
2928
|
+
values: J,
|
|
2931
2929
|
onChange: ne,
|
|
2932
|
-
googleMapsApiKey:
|
|
2930
|
+
googleMapsApiKey: c,
|
|
2933
2931
|
phoneIsdCode: L,
|
|
2934
|
-
onPhoneIsdCodeChange:
|
|
2932
|
+
onPhoneIsdCodeChange: Y
|
|
2935
2933
|
}
|
|
2936
2934
|
)
|
|
2937
2935
|
] }),
|
|
@@ -2939,7 +2937,7 @@ const ca = {}, da = ({
|
|
|
2939
2937
|
wa,
|
|
2940
2938
|
{
|
|
2941
2939
|
t: B,
|
|
2942
|
-
values:
|
|
2940
|
+
values: J,
|
|
2943
2941
|
phoneIsdCode: L,
|
|
2944
2942
|
onProceed: Q,
|
|
2945
2943
|
onProceedGuidance: ie,
|
|
@@ -2949,14 +2947,14 @@ const ca = {}, da = ({
|
|
|
2949
2947
|
analytics: oe,
|
|
2950
2948
|
showPlanSheet: we,
|
|
2951
2949
|
confirmPlan: _e,
|
|
2952
|
-
planSheetOpen:
|
|
2950
|
+
planSheetOpen: pe,
|
|
2953
2951
|
selectedPlan: ee
|
|
2954
2952
|
}
|
|
2955
2953
|
),
|
|
2956
|
-
|
|
2954
|
+
p?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
|
|
2957
2955
|
Cn,
|
|
2958
2956
|
{
|
|
2959
|
-
isOpen:
|
|
2957
|
+
isOpen: pe,
|
|
2960
2958
|
onClose: () => me(!1),
|
|
2961
2959
|
selectedPlan: ee,
|
|
2962
2960
|
onSelectPlan: ye,
|
|
@@ -3016,14 +3014,14 @@ export {
|
|
|
3016
3014
|
hr as P,
|
|
3017
3015
|
dr as S,
|
|
3018
3016
|
da as U,
|
|
3019
|
-
|
|
3020
|
-
|
|
3017
|
+
fr as a,
|
|
3018
|
+
He as b,
|
|
3021
3019
|
On as c,
|
|
3022
3020
|
Ln as d,
|
|
3023
3021
|
at as e,
|
|
3024
3022
|
nt as f,
|
|
3025
3023
|
rt as g,
|
|
3026
|
-
|
|
3024
|
+
Ne as h,
|
|
3027
3025
|
Bn as i,
|
|
3028
3026
|
Dn as j,
|
|
3029
3027
|
r as k,
|
|
@@ -3033,6 +3031,6 @@ export {
|
|
|
3033
3031
|
In as r,
|
|
3034
3032
|
tt as s,
|
|
3035
3033
|
ur as t,
|
|
3036
|
-
|
|
3034
|
+
Wr as u
|
|
3037
3035
|
};
|
|
3038
|
-
//# sourceMappingURL=analytics-
|
|
3036
|
+
//# sourceMappingURL=analytics-DslrvyqT.js.map
|