@srimandir/kundli-generator 5.30.0 → 5.30.2
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-DCkm-Koi.js → analytics-Deq0Kl4U.js} +341 -348
- package/dist/{analytics-DCkm-Koi.js.map → analytics-Deq0Kl4U.js.map} +1 -1
- package/dist/components/KundliForm/sections/UserInfoFormSection/useGooglePlacesAutocomplete.d.ts +5 -5
- package/dist/components/KundliPage/KundliPageVariant.d.ts +5 -0
- package/dist/components/KundliPlanBottomSheet/AstrologerDetails.d.ts +9 -12
- package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuAstrologerCard.d.ts +6 -0
- package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuAstrologerProfiles.d.ts +22 -0
- package/dist/criticalCss-lKR-u5PY.js +1974 -0
- package/dist/criticalCss-lKR-u5PY.js.map +1 -0
- package/dist/form-entry.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/kundli-generator.js +15 -14
- package/dist/page-entry.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/criticalCss-R8hQ5IOD.js +0 -1192
- package/dist/criticalCss-R8hQ5IOD.js.map +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import Ge, { useContext as We, createContext as ur, useState as W, useRef as H, useEffect as Y, useMemo as Ue, useCallback as Ne } from "react";
|
|
2
|
-
import { FormSectionHeader as Mr, FooterCTAButton as $r, FooterShell as Ur, CircularMarquee as Gr, footerShellStyles as
|
|
2
|
+
import { FormSectionHeader as Mr, FooterCTAButton as $r, FooterShell as Ur, CircularMarquee as Gr, footerShellStyles as ke, PageHeader as Wr } from "@srimandir/astrology-common";
|
|
3
3
|
var Ie = { exports: {} }, Se = {};
|
|
4
4
|
var nr;
|
|
5
5
|
function Kr() {
|
|
6
6
|
if (nr) return Se;
|
|
7
7
|
nr = 1;
|
|
8
|
-
var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty,
|
|
8
|
+
var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, k = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9
9
|
function x(j, A, E) {
|
|
10
10
|
var d, N = {}, h = null, I = null;
|
|
11
11
|
E !== void 0 && (h = "" + E), A.key !== void 0 && (h = "" + A.key), A.ref !== void 0 && (I = A.ref);
|
|
12
12
|
for (d in A) f.call(A, d) && !S.hasOwnProperty(d) && (N[d] = A[d]);
|
|
13
13
|
if (j && j.defaultProps) for (d in A = j.defaultProps, A) N[d] === void 0 && (N[d] = A[d]);
|
|
14
|
-
return { $$typeof: o, type: j, key: h, ref: I, props: N, _owner:
|
|
14
|
+
return { $$typeof: o, type: j, key: h, ref: I, props: N, _owner: k.current };
|
|
15
15
|
}
|
|
16
16
|
return Se.Fragment = c, Se.jsx = x, Se.jsxs = x, Se;
|
|
17
17
|
}
|
|
@@ -19,26 +19,26 @@ var Ee = {};
|
|
|
19
19
|
var or;
|
|
20
20
|
function Hr() {
|
|
21
21
|
return or || (or = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
-
var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), f = /* @__PURE__ */ Symbol.for("react.fragment"),
|
|
22
|
+
var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), f = /* @__PURE__ */ Symbol.for("react.fragment"), k = /* @__PURE__ */ Symbol.for("react.strict_mode"), S = /* @__PURE__ */ Symbol.for("react.profiler"), x = /* @__PURE__ */ Symbol.for("react.provider"), j = /* @__PURE__ */ Symbol.for("react.context"), A = /* @__PURE__ */ Symbol.for("react.forward_ref"), E = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), N = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), I = /* @__PURE__ */ Symbol.for("react.offscreen"), p = Symbol.iterator, B = "@@iterator";
|
|
23
23
|
function C(e) {
|
|
24
24
|
if (e === null || typeof e != "object")
|
|
25
25
|
return null;
|
|
26
|
-
var i = p && e[p] || e[
|
|
26
|
+
var i = p && e[p] || e[B];
|
|
27
27
|
return typeof i == "function" ? i : null;
|
|
28
28
|
}
|
|
29
29
|
var b = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
30
30
|
function g(e) {
|
|
31
31
|
{
|
|
32
|
-
for (var i = arguments.length,
|
|
33
|
-
|
|
34
|
-
$("error", e,
|
|
32
|
+
for (var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0), u = 1; u < i; u++)
|
|
33
|
+
l[u - 1] = arguments[u];
|
|
34
|
+
$("error", e, l);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
function $(e, i,
|
|
37
|
+
function $(e, i, l) {
|
|
38
38
|
{
|
|
39
39
|
var u = b.ReactDebugCurrentFrame, P = u.getStackAddendum();
|
|
40
|
-
P !== "" && (i += "%s",
|
|
41
|
-
var R =
|
|
40
|
+
P !== "" && (i += "%s", l = l.concat([P]));
|
|
41
|
+
var R = l.map(function(y) {
|
|
42
42
|
return String(y);
|
|
43
43
|
});
|
|
44
44
|
R.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, R);
|
|
@@ -46,19 +46,19 @@ function Hr() {
|
|
|
46
46
|
}
|
|
47
47
|
var w = !1, F = !1, K = !1, z = !1, J = !1, G;
|
|
48
48
|
G = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
|
-
function
|
|
50
|
-
return !!(typeof e == "string" || typeof e == "function" || e === f || e === S || J || e ===
|
|
49
|
+
function q(e) {
|
|
50
|
+
return !!(typeof e == "string" || typeof e == "function" || e === f || e === S || J || e === k || e === E || e === d || z || e === I || w || F || K || typeof e == "object" && e !== null && (e.$$typeof === h || e.$$typeof === N || e.$$typeof === x || e.$$typeof === j || e.$$typeof === A || // This needs to include all possible module reference object
|
|
51
51
|
// types supported by any Flight configuration anywhere since
|
|
52
52
|
// we don't know which Flight build this will end up being used
|
|
53
53
|
// with.
|
|
54
54
|
e.$$typeof === G || e.getModuleId !== void 0));
|
|
55
55
|
}
|
|
56
|
-
function ce(e, i,
|
|
56
|
+
function ce(e, i, l) {
|
|
57
57
|
var u = e.displayName;
|
|
58
58
|
if (u)
|
|
59
59
|
return u;
|
|
60
60
|
var P = i.displayName || i.name || "";
|
|
61
|
-
return P !== "" ?
|
|
61
|
+
return P !== "" ? l + "(" + P + ")" : l;
|
|
62
62
|
}
|
|
63
63
|
function oe(e) {
|
|
64
64
|
return e.displayName || "Context";
|
|
@@ -77,7 +77,7 @@ function Hr() {
|
|
|
77
77
|
return "Portal";
|
|
78
78
|
case S:
|
|
79
79
|
return "Profiler";
|
|
80
|
-
case
|
|
80
|
+
case k:
|
|
81
81
|
return "StrictMode";
|
|
82
82
|
case E:
|
|
83
83
|
return "Suspense";
|
|
@@ -90,8 +90,8 @@ function Hr() {
|
|
|
90
90
|
var i = e;
|
|
91
91
|
return oe(i) + ".Consumer";
|
|
92
92
|
case x:
|
|
93
|
-
var
|
|
94
|
-
return oe(
|
|
93
|
+
var l = e;
|
|
94
|
+
return oe(l._context) + ".Provider";
|
|
95
95
|
case A:
|
|
96
96
|
return ce(e, e.render, "ForwardRef");
|
|
97
97
|
case N:
|
|
@@ -108,14 +108,14 @@ function Hr() {
|
|
|
108
108
|
}
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
111
|
-
var T = Object.assign, O = 0, Q, pe, fe,
|
|
111
|
+
var T = Object.assign, O = 0, Q, pe, fe, V, ee, re, de;
|
|
112
112
|
function te() {
|
|
113
113
|
}
|
|
114
114
|
te.__reactDisabledLog = !0;
|
|
115
115
|
function he() {
|
|
116
116
|
{
|
|
117
117
|
if (O === 0) {
|
|
118
|
-
Q = console.log, pe = console.info, fe = console.warn,
|
|
118
|
+
Q = console.log, pe = console.info, fe = console.warn, V = console.error, ee = console.group, re = console.groupCollapsed, de = console.groupEnd;
|
|
119
119
|
var e = {
|
|
120
120
|
configurable: !0,
|
|
121
121
|
enumerable: !0,
|
|
@@ -154,7 +154,7 @@ function Hr() {
|
|
|
154
154
|
value: fe
|
|
155
155
|
}),
|
|
156
156
|
error: T({}, e, {
|
|
157
|
-
value:
|
|
157
|
+
value: V
|
|
158
158
|
}),
|
|
159
159
|
group: T({}, e, {
|
|
160
160
|
value: ee
|
|
@@ -171,7 +171,7 @@ function Hr() {
|
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
var ge = b.ReactCurrentDispatcher, ue;
|
|
174
|
-
function X(e, i,
|
|
174
|
+
function X(e, i, l) {
|
|
175
175
|
{
|
|
176
176
|
if (ue === void 0)
|
|
177
177
|
try {
|
|
@@ -184,18 +184,18 @@ function Hr() {
|
|
|
184
184
|
` + ue + e;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
var be = !1,
|
|
187
|
+
var be = !1, le;
|
|
188
188
|
{
|
|
189
189
|
var we = typeof WeakMap == "function" ? WeakMap : Map;
|
|
190
|
-
|
|
190
|
+
le = new we();
|
|
191
191
|
}
|
|
192
192
|
function _e(e, i) {
|
|
193
193
|
if (!e || be)
|
|
194
194
|
return "";
|
|
195
195
|
{
|
|
196
|
-
var
|
|
197
|
-
if (
|
|
198
|
-
return
|
|
196
|
+
var l = le.get(e);
|
|
197
|
+
if (l !== void 0)
|
|
198
|
+
return l;
|
|
199
199
|
}
|
|
200
200
|
var u;
|
|
201
201
|
be = !0;
|
|
@@ -246,9 +246,9 @@ function Hr() {
|
|
|
246
246
|
if (M !== 1 || U !== 1)
|
|
247
247
|
do
|
|
248
248
|
if (M--, U--, U < 0 || _[M] !== Z[U]) {
|
|
249
|
-
var
|
|
249
|
+
var se = `
|
|
250
250
|
` + _[M].replace(" at new ", " at ");
|
|
251
|
-
return e.displayName &&
|
|
251
|
+
return e.displayName && se.includes("<anonymous>") && (se = se.replace("<anonymous>", e.displayName)), typeof e == "function" && le.set(e, se), se;
|
|
252
252
|
}
|
|
253
253
|
while (M >= 1 && U >= 0);
|
|
254
254
|
break;
|
|
@@ -257,17 +257,17 @@ function Hr() {
|
|
|
257
257
|
} finally {
|
|
258
258
|
be = !1, ge.current = R, ie(), Error.prepareStackTrace = P;
|
|
259
259
|
}
|
|
260
|
-
var Ae = e ? e.displayName || e.name : "",
|
|
261
|
-
return typeof e == "function" &&
|
|
260
|
+
var Ae = e ? e.displayName || e.name : "", ve = Ae ? X(Ae) : "";
|
|
261
|
+
return typeof e == "function" && le.set(e, ve), ve;
|
|
262
262
|
}
|
|
263
|
-
function xe(e, i,
|
|
263
|
+
function xe(e, i, l) {
|
|
264
264
|
return _e(e, !1);
|
|
265
265
|
}
|
|
266
266
|
function ye(e) {
|
|
267
267
|
var i = e.prototype;
|
|
268
268
|
return !!(i && i.isReactComponent);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function v(e, i, l) {
|
|
271
271
|
if (e == null)
|
|
272
272
|
return "";
|
|
273
273
|
if (typeof e == "function")
|
|
@@ -285,26 +285,26 @@ function Hr() {
|
|
|
285
285
|
case A:
|
|
286
286
|
return xe(e.render);
|
|
287
287
|
case N:
|
|
288
|
-
return
|
|
288
|
+
return v(e.type, i, l);
|
|
289
289
|
case h: {
|
|
290
290
|
var u = e, P = u._payload, R = u._init;
|
|
291
291
|
try {
|
|
292
|
-
return
|
|
292
|
+
return v(R(P), i, l);
|
|
293
293
|
} catch {
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
return "";
|
|
298
298
|
}
|
|
299
|
-
var n = Object.prototype.hasOwnProperty,
|
|
299
|
+
var n = Object.prototype.hasOwnProperty, s = {}, L = b.ReactDebugCurrentFrame;
|
|
300
300
|
function ae(e) {
|
|
301
301
|
if (e) {
|
|
302
|
-
var i = e._owner,
|
|
303
|
-
|
|
302
|
+
var i = e._owner, l = v(e.type, e._source, i ? i.type : null);
|
|
303
|
+
L.setExtraStackFrame(l);
|
|
304
304
|
} else
|
|
305
|
-
|
|
305
|
+
L.setExtraStackFrame(null);
|
|
306
306
|
}
|
|
307
|
-
function Re(e, i,
|
|
307
|
+
function Re(e, i, l, u, P) {
|
|
308
308
|
{
|
|
309
309
|
var R = Function.call.bind(n);
|
|
310
310
|
for (var y in e)
|
|
@@ -312,28 +312,28 @@ function Hr() {
|
|
|
312
312
|
var _ = void 0;
|
|
313
313
|
try {
|
|
314
314
|
if (typeof e[y] != "function") {
|
|
315
|
-
var Z = Error((u || "React class") + ": " +
|
|
315
|
+
var Z = Error((u || "React class") + ": " + l + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
316
316
|
throw Z.name = "Invariant Violation", Z;
|
|
317
317
|
}
|
|
318
|
-
_ = e[y](i, y, u,
|
|
318
|
+
_ = e[y](i, y, u, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
319
319
|
} catch (M) {
|
|
320
320
|
_ = M;
|
|
321
321
|
}
|
|
322
|
-
_ && !(_ instanceof Error) && (ae(P), 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).", u || "React class",
|
|
322
|
+
_ && !(_ instanceof Error) && (ae(P), 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).", u || "React class", l, y, typeof _), ae(null)), _ instanceof Error && !(_.message in s) && (s[_.message] = !0, ae(P), g("Failed %s type: %s", l, _.message), ae(null));
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
var
|
|
326
|
+
var Le = Array.isArray;
|
|
327
327
|
function De(e) {
|
|
328
|
-
return
|
|
328
|
+
return Le(e);
|
|
329
329
|
}
|
|
330
330
|
function yr(e) {
|
|
331
331
|
{
|
|
332
|
-
var i = typeof Symbol == "function" && Symbol.toStringTag,
|
|
333
|
-
return
|
|
332
|
+
var i = typeof Symbol == "function" && Symbol.toStringTag, l = i && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
333
|
+
return l;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function vr(e) {
|
|
337
337
|
try {
|
|
338
338
|
return Ye(e), !1;
|
|
339
339
|
} catch {
|
|
@@ -343,11 +343,11 @@ function Hr() {
|
|
|
343
343
|
function Ye(e) {
|
|
344
344
|
return "" + e;
|
|
345
345
|
}
|
|
346
|
-
function
|
|
347
|
-
if (
|
|
346
|
+
function qe(e) {
|
|
347
|
+
if (vr(e))
|
|
348
348
|
return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", yr(e)), Ye(e);
|
|
349
349
|
}
|
|
350
|
-
var
|
|
350
|
+
var Ve = b.ReactCurrentOwner, kr = {
|
|
351
351
|
key: !0,
|
|
352
352
|
ref: !0,
|
|
353
353
|
__self: !0,
|
|
@@ -370,38 +370,38 @@ function Hr() {
|
|
|
370
370
|
return e.key !== void 0;
|
|
371
371
|
}
|
|
372
372
|
function Pr(e, i) {
|
|
373
|
-
typeof e.ref == "string" &&
|
|
373
|
+
typeof e.ref == "string" && Ve.current;
|
|
374
374
|
}
|
|
375
375
|
function Ar(e, i) {
|
|
376
376
|
{
|
|
377
|
-
var
|
|
377
|
+
var l = function() {
|
|
378
378
|
ze || (ze = !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
|
-
|
|
381
|
-
get:
|
|
380
|
+
l.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
381
|
+
get: l,
|
|
382
382
|
configurable: !0
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
386
|
function Cr(e, i) {
|
|
387
387
|
{
|
|
388
|
-
var
|
|
388
|
+
var l = function() {
|
|
389
389
|
Je || (Je = !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
|
-
|
|
392
|
-
get:
|
|
391
|
+
l.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
392
|
+
get: l,
|
|
393
393
|
configurable: !0
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
var jr = function(e, i,
|
|
397
|
+
var jr = function(e, i, l, u, P, R, y) {
|
|
398
398
|
var _ = {
|
|
399
399
|
// This tag allows us to uniquely identify this as a React Element
|
|
400
400
|
$$typeof: o,
|
|
401
401
|
// Built-in properties that belong on the element
|
|
402
402
|
type: e,
|
|
403
403
|
key: i,
|
|
404
|
-
ref:
|
|
404
|
+
ref: l,
|
|
405
405
|
props: y,
|
|
406
406
|
// Record the component responsible for creating this element.
|
|
407
407
|
_owner: R
|
|
@@ -423,12 +423,12 @@ function Hr() {
|
|
|
423
423
|
value: P
|
|
424
424
|
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
425
425
|
};
|
|
426
|
-
function Nr(e, i,
|
|
426
|
+
function Nr(e, i, l, u, P) {
|
|
427
427
|
{
|
|
428
428
|
var R, y = {}, _ = null, Z = null;
|
|
429
|
-
|
|
429
|
+
l !== void 0 && (qe(l), _ = "" + l), xr(i) && (qe(i.key), _ = "" + i.key), wr(i) && (Z = i.ref, Pr(i, P));
|
|
430
430
|
for (R in i)
|
|
431
|
-
n.call(i, R) && !
|
|
431
|
+
n.call(i, R) && !kr.hasOwnProperty(R) && (y[R] = i[R]);
|
|
432
432
|
if (e && e.defaultProps) {
|
|
433
433
|
var M = e.defaultProps;
|
|
434
434
|
for (R in M)
|
|
@@ -438,14 +438,14 @@ function Hr() {
|
|
|
438
438
|
var U = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
439
439
|
_ && Ar(y, U), Z && Cr(y, U);
|
|
440
440
|
}
|
|
441
|
-
return jr(e, _, Z, P, u,
|
|
441
|
+
return jr(e, _, Z, P, u, Ve.current, y);
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
444
|
var Fe = b.ReactCurrentOwner, Qe = b.ReactDebugCurrentFrame;
|
|
445
445
|
function Pe(e) {
|
|
446
446
|
if (e) {
|
|
447
|
-
var i = e._owner,
|
|
448
|
-
Qe.setExtraStackFrame(
|
|
447
|
+
var i = e._owner, l = v(e.type, e._source, i ? i.type : null);
|
|
448
|
+
Qe.setExtraStackFrame(l);
|
|
449
449
|
} else
|
|
450
450
|
Qe.setExtraStackFrame(null);
|
|
451
451
|
}
|
|
@@ -474,10 +474,10 @@ Check the render method of \`` + e + "`.";
|
|
|
474
474
|
{
|
|
475
475
|
var i = Xe();
|
|
476
476
|
if (!i) {
|
|
477
|
-
var
|
|
478
|
-
|
|
477
|
+
var l = typeof e == "string" ? e : e.displayName || e.name;
|
|
478
|
+
l && (i = `
|
|
479
479
|
|
|
480
|
-
Check the top-level render call using <` +
|
|
480
|
+
Check the top-level render call using <` + l + ">.");
|
|
481
481
|
}
|
|
482
482
|
return i;
|
|
483
483
|
}
|
|
@@ -487,12 +487,12 @@ Check the top-level render call using <` + s + ">.");
|
|
|
487
487
|
if (!e._store || e._store.validated || e.key != null)
|
|
488
488
|
return;
|
|
489
489
|
e._store.validated = !0;
|
|
490
|
-
var
|
|
491
|
-
if (Ze[
|
|
490
|
+
var l = Rr(i);
|
|
491
|
+
if (Ze[l])
|
|
492
492
|
return;
|
|
493
|
-
Ze[
|
|
493
|
+
Ze[l] = !0;
|
|
494
494
|
var u = "";
|
|
495
|
-
e && e._owner && e._owner !== Fe.current && (u = " It was passed a child from " + D(e._owner.type) + "."), Pe(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.',
|
|
495
|
+
e && e._owner && e._owner !== Fe.current && (u = " It was passed a child from " + D(e._owner.type) + "."), Pe(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.', l, u), Pe(null);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
function rr(e, i) {
|
|
@@ -500,8 +500,8 @@ Check the top-level render call using <` + s + ">.");
|
|
|
500
500
|
if (typeof e != "object")
|
|
501
501
|
return;
|
|
502
502
|
if (De(e))
|
|
503
|
-
for (var
|
|
504
|
-
var u = e[
|
|
503
|
+
for (var l = 0; l < e.length; l++) {
|
|
504
|
+
var u = e[l];
|
|
505
505
|
Me(u) && er(u, i);
|
|
506
506
|
}
|
|
507
507
|
else if (Me(e))
|
|
@@ -519,18 +519,18 @@ Check the top-level render call using <` + s + ">.");
|
|
|
519
519
|
var i = e.type;
|
|
520
520
|
if (i == null || typeof i == "string")
|
|
521
521
|
return;
|
|
522
|
-
var
|
|
522
|
+
var l;
|
|
523
523
|
if (typeof i == "function")
|
|
524
|
-
|
|
524
|
+
l = i.propTypes;
|
|
525
525
|
else if (typeof i == "object" && (i.$$typeof === A || // Note: Memo only checks outer props here.
|
|
526
526
|
// Inner props are checked in the reconciler.
|
|
527
527
|
i.$$typeof === N))
|
|
528
|
-
|
|
528
|
+
l = i.propTypes;
|
|
529
529
|
else
|
|
530
530
|
return;
|
|
531
|
-
if (
|
|
531
|
+
if (l) {
|
|
532
532
|
var u = D(i);
|
|
533
|
-
Re(
|
|
533
|
+
Re(l, e.props, "prop", u, e);
|
|
534
534
|
} else if (i.PropTypes !== void 0 && !Oe) {
|
|
535
535
|
Oe = !0;
|
|
536
536
|
var P = D(i);
|
|
@@ -541,8 +541,8 @@ Check the top-level render call using <` + s + ">.");
|
|
|
541
541
|
}
|
|
542
542
|
function Er(e) {
|
|
543
543
|
{
|
|
544
|
-
for (var i = Object.keys(e.props),
|
|
545
|
-
var u = i[
|
|
544
|
+
for (var i = Object.keys(e.props), l = 0; l < i.length; l++) {
|
|
545
|
+
var u = i[l];
|
|
546
546
|
if (u !== "children" && u !== "key") {
|
|
547
547
|
Pe(e), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), Pe(null);
|
|
548
548
|
break;
|
|
@@ -552,9 +552,9 @@ Check the top-level render call using <` + s + ">.");
|
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
var tr = {};
|
|
555
|
-
function ar(e, i,
|
|
555
|
+
function ar(e, i, l, u, P, R) {
|
|
556
556
|
{
|
|
557
|
-
var y =
|
|
557
|
+
var y = q(e);
|
|
558
558
|
if (!y) {
|
|
559
559
|
var _ = "";
|
|
560
560
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
@@ -563,47 +563,47 @@ Check the top-level render call using <` + s + ">.");
|
|
|
563
563
|
var M;
|
|
564
564
|
e === null ? M = "null" : De(e) ? M = "array" : e !== void 0 && e.$$typeof === o ? (M = "<" + (D(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : M = 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", M, _);
|
|
565
565
|
}
|
|
566
|
-
var U = Nr(e, i,
|
|
566
|
+
var U = Nr(e, i, l, P, R);
|
|
567
567
|
if (U == null)
|
|
568
568
|
return U;
|
|
569
569
|
if (y) {
|
|
570
|
-
var
|
|
571
|
-
if (
|
|
570
|
+
var se = i.children;
|
|
571
|
+
if (se !== void 0)
|
|
572
572
|
if (u)
|
|
573
|
-
if (De(
|
|
574
|
-
for (var Ae = 0; Ae <
|
|
575
|
-
rr(
|
|
576
|
-
Object.freeze && Object.freeze(
|
|
573
|
+
if (De(se)) {
|
|
574
|
+
for (var Ae = 0; Ae < se.length; Ae++)
|
|
575
|
+
rr(se[Ae], e);
|
|
576
|
+
Object.freeze && Object.freeze(se);
|
|
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
|
-
rr(
|
|
580
|
+
rr(se, e);
|
|
581
581
|
}
|
|
582
582
|
if (n.call(i, "key")) {
|
|
583
|
-
var
|
|
583
|
+
var ve = D(e), ne = Object.keys(i).filter(function(Or) {
|
|
584
584
|
return Or !== "key";
|
|
585
585
|
}), $e = ne.length > 0 ? "{key: someKey, " + ne.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
586
|
-
if (!tr[
|
|
586
|
+
if (!tr[ve + $e]) {
|
|
587
587
|
var Fr = ne.length > 0 ? "{" + ne.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:
|
|
592
592
|
let props = %s;
|
|
593
|
-
<%s key={someKey} {...props} />`, $e,
|
|
593
|
+
<%s key={someKey} {...props} />`, $e, ve, Fr, ve), tr[ve + $e] = !0;
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
596
|
return e === f ? Er(U) : Sr(U), U;
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
|
-
function Ir(e, i,
|
|
600
|
-
return ar(e, i,
|
|
599
|
+
function Ir(e, i, l) {
|
|
600
|
+
return ar(e, i, l, !0);
|
|
601
601
|
}
|
|
602
|
-
function
|
|
603
|
-
return ar(e, i,
|
|
602
|
+
function Br(e, i, l) {
|
|
603
|
+
return ar(e, i, l, !1);
|
|
604
604
|
}
|
|
605
|
-
var
|
|
606
|
-
Ee.Fragment = f, Ee.jsx =
|
|
605
|
+
var Lr = Br, Dr = Ir;
|
|
606
|
+
Ee.Fragment = f, Ee.jsx = Lr, Ee.jsxs = Dr;
|
|
607
607
|
})()), Ee;
|
|
608
608
|
}
|
|
609
609
|
var ir;
|
|
@@ -611,7 +611,7 @@ function Yr() {
|
|
|
611
611
|
return ir || (ir = 1, process.env.NODE_ENV === "production" ? Ie.exports = Kr() : Ie.exports = Hr()), Ie.exports;
|
|
612
612
|
}
|
|
613
613
|
var r = Yr();
|
|
614
|
-
const fr = ["en", "hi"],
|
|
614
|
+
const fr = ["en", "hi"], lr = {
|
|
615
615
|
en: "English",
|
|
616
616
|
hi: "हिन्दी"
|
|
617
617
|
}, mr = {
|
|
@@ -1046,18 +1046,18 @@ const fr = ["en", "hi"], sr = {
|
|
|
1046
1046
|
astrologyGuidance: "ज्योतिष से सलाह",
|
|
1047
1047
|
selectPackage: "पैकेज चुनें"
|
|
1048
1048
|
}
|
|
1049
|
-
}, hr = ur(null),
|
|
1049
|
+
}, hr = ur(null), Dn = ({
|
|
1050
1050
|
locale: t,
|
|
1051
1051
|
children: o
|
|
1052
1052
|
}) => {
|
|
1053
|
-
const f = { locale: t, t: (
|
|
1053
|
+
const f = { locale: t, t: (k) => mr[t]?.[k] ?? k };
|
|
1054
1054
|
return /* @__PURE__ */ r.jsx(hr.Provider, { value: f, children: o });
|
|
1055
1055
|
};
|
|
1056
|
-
function
|
|
1056
|
+
function qr() {
|
|
1057
1057
|
return We(hr);
|
|
1058
1058
|
}
|
|
1059
|
-
const
|
|
1060
|
-
container:
|
|
1059
|
+
const Vr = "_container_1e1th_1", zr = "_main_1e1th_7", Jr = "_kundliHeaderNoBorder_1e1th_12", Qr = "_headerSeparator_1e1th_16", Xr = "_langDropdownWrap_1e1th_21", Zr = "_langTrigger_1e1th_25", et = "_langIcon_1e1th_37", rt = "_langLabel_1e1th_44", tt = "_langMenu_1e1th_49", at = "_langOption_1e1th_55", me = {
|
|
1060
|
+
container: Vr,
|
|
1061
1061
|
main: zr,
|
|
1062
1062
|
kundliHeaderNoBorder: Jr,
|
|
1063
1063
|
headerSeparator: Qr,
|
|
@@ -1067,12 +1067,12 @@ const qr = "_container_1e1th_1", zr = "_main_1e1th_7", Jr = "_kundliHeaderNoBord
|
|
|
1067
1067
|
langLabel: rt,
|
|
1068
1068
|
langMenu: tt,
|
|
1069
1069
|
langOption: at
|
|
1070
|
-
},
|
|
1071
|
-
const { priority: o, fetchPriority: c, width: f, height:
|
|
1070
|
+
}, Be = (t) => {
|
|
1071
|
+
const { priority: o, fetchPriority: c, width: f, height: k, ...S } = t;
|
|
1072
1072
|
return Ge.createElement("img", {
|
|
1073
1073
|
...S,
|
|
1074
1074
|
width: f ?? 1,
|
|
1075
|
-
height:
|
|
1075
|
+
height: k ?? 1,
|
|
1076
1076
|
decoding: "async",
|
|
1077
1077
|
loading: S.loading ?? (o ? "eager" : "lazy"),
|
|
1078
1078
|
...c && { fetchPriority: c }
|
|
@@ -1094,14 +1094,14 @@ function ot(t, o) {
|
|
|
1094
1094
|
} catch {
|
|
1095
1095
|
}
|
|
1096
1096
|
}
|
|
1097
|
-
function
|
|
1097
|
+
function Fn(t) {
|
|
1098
1098
|
if (!(typeof window > "u" || !window.localStorage))
|
|
1099
1099
|
try {
|
|
1100
1100
|
window.localStorage.removeItem(t);
|
|
1101
1101
|
} catch {
|
|
1102
1102
|
}
|
|
1103
1103
|
}
|
|
1104
|
-
function
|
|
1104
|
+
function On() {
|
|
1105
1105
|
if (typeof window > "u" || !window.localStorage)
|
|
1106
1106
|
return !1;
|
|
1107
1107
|
try {
|
|
@@ -1116,10 +1116,10 @@ function it() {
|
|
|
1116
1116
|
const t = nt(pr);
|
|
1117
1117
|
return t && fr.includes(t) ? t : null;
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1119
|
+
function lt(t) {
|
|
1120
1120
|
ot(pr, t);
|
|
1121
1121
|
}
|
|
1122
|
-
const Ke = ur(null),
|
|
1122
|
+
const Ke = ur(null), st = {
|
|
1123
1123
|
fullName: "",
|
|
1124
1124
|
phone: "",
|
|
1125
1125
|
gender: "",
|
|
@@ -1131,12 +1131,12 @@ const Ke = ur(null), lt = {
|
|
|
1131
1131
|
birthPlace: "",
|
|
1132
1132
|
birthPlaceLat: void 0,
|
|
1133
1133
|
birthPlaceLng: void 0
|
|
1134
|
-
},
|
|
1134
|
+
}, Mn = ({
|
|
1135
1135
|
locale: t,
|
|
1136
1136
|
showLanguageSelector: o = !0,
|
|
1137
1137
|
showSheet: c,
|
|
1138
1138
|
userId: f,
|
|
1139
|
-
isGlobal:
|
|
1139
|
+
isGlobal: k,
|
|
1140
1140
|
variant: S,
|
|
1141
1141
|
atlasSearchLocalities: x,
|
|
1142
1142
|
logoUrl: j,
|
|
@@ -1147,7 +1147,7 @@ const Ke = ur(null), lt = {
|
|
|
1147
1147
|
sampleReportHref: h,
|
|
1148
1148
|
onViewSampleReport: I,
|
|
1149
1149
|
ctaHref: p,
|
|
1150
|
-
onCtaClick:
|
|
1150
|
+
onCtaClick: B,
|
|
1151
1151
|
onBack: C,
|
|
1152
1152
|
readMoreReviewsHref: b,
|
|
1153
1153
|
onProceed: g,
|
|
@@ -1158,15 +1158,15 @@ const Ke = ur(null), lt = {
|
|
|
1158
1158
|
analytics: z,
|
|
1159
1159
|
onProceedGuidance: J,
|
|
1160
1160
|
onLocaleChange: G,
|
|
1161
|
-
imageComponent:
|
|
1161
|
+
imageComponent: q = Be,
|
|
1162
1162
|
children: ce
|
|
1163
1163
|
}) => {
|
|
1164
|
-
const [oe, D] = W("landing"), [T, O] = W(t ?? "en"), [Q, pe] = W(
|
|
1164
|
+
const [oe, D] = W("landing"), [T, O] = W(t ?? "en"), [Q, pe] = W(st), fe = H(!0);
|
|
1165
1165
|
Y(() => {
|
|
1166
1166
|
const te = it();
|
|
1167
1167
|
te && O(te);
|
|
1168
1168
|
}, []), Y(() => {
|
|
1169
|
-
|
|
1169
|
+
lt(T);
|
|
1170
1170
|
}, [T]), Y(() => {
|
|
1171
1171
|
if (fe.current) {
|
|
1172
1172
|
fe.current = !1;
|
|
@@ -1174,13 +1174,13 @@ const Ke = ur(null), lt = {
|
|
|
1174
1174
|
}
|
|
1175
1175
|
G?.(T);
|
|
1176
1176
|
}, [T, G]);
|
|
1177
|
-
const
|
|
1177
|
+
const V = Ue(
|
|
1178
1178
|
() => ({
|
|
1179
1179
|
locale: t,
|
|
1180
1180
|
showLanguageSelector: o,
|
|
1181
1181
|
showSheet: c,
|
|
1182
1182
|
userId: f,
|
|
1183
|
-
isGlobal:
|
|
1183
|
+
isGlobal: k,
|
|
1184
1184
|
variant: S,
|
|
1185
1185
|
atlasSearchLocalities: x,
|
|
1186
1186
|
logoUrl: j,
|
|
@@ -1191,7 +1191,7 @@ const Ke = ur(null), lt = {
|
|
|
1191
1191
|
sampleReportHref: h,
|
|
1192
1192
|
onViewSampleReport: I,
|
|
1193
1193
|
ctaHref: p,
|
|
1194
|
-
onCtaClick:
|
|
1194
|
+
onCtaClick: B,
|
|
1195
1195
|
onBack: C,
|
|
1196
1196
|
readMoreReviewsHref: b,
|
|
1197
1197
|
onProceed: g,
|
|
@@ -1202,14 +1202,14 @@ const Ke = ur(null), lt = {
|
|
|
1202
1202
|
analytics: z,
|
|
1203
1203
|
onProceedGuidance: J,
|
|
1204
1204
|
onLocaleChange: G,
|
|
1205
|
-
imageComponent:
|
|
1205
|
+
imageComponent: q
|
|
1206
1206
|
}),
|
|
1207
1207
|
[
|
|
1208
1208
|
t,
|
|
1209
1209
|
o,
|
|
1210
1210
|
c,
|
|
1211
1211
|
f,
|
|
1212
|
-
|
|
1212
|
+
k,
|
|
1213
1213
|
S,
|
|
1214
1214
|
x,
|
|
1215
1215
|
j,
|
|
@@ -1220,7 +1220,7 @@ const Ke = ur(null), lt = {
|
|
|
1220
1220
|
h,
|
|
1221
1221
|
I,
|
|
1222
1222
|
p,
|
|
1223
|
-
|
|
1223
|
+
B,
|
|
1224
1224
|
C,
|
|
1225
1225
|
b,
|
|
1226
1226
|
g,
|
|
@@ -1231,39 +1231,39 @@ const Ke = ur(null), lt = {
|
|
|
1231
1231
|
z,
|
|
1232
1232
|
J,
|
|
1233
1233
|
G,
|
|
1234
|
-
|
|
1234
|
+
q
|
|
1235
1235
|
]
|
|
1236
1236
|
), ee = Ne(() => {
|
|
1237
1237
|
D("form");
|
|
1238
|
-
}, [
|
|
1239
|
-
D("landing"),
|
|
1240
|
-
}, [
|
|
1238
|
+
}, [V.analytics]), re = Ne(() => {
|
|
1239
|
+
D("landing"), V.onBack?.();
|
|
1240
|
+
}, [V.onBack]), de = Ue(
|
|
1241
1241
|
() => ({
|
|
1242
1242
|
view: oe,
|
|
1243
1243
|
locale: T,
|
|
1244
1244
|
setLocale: O,
|
|
1245
|
-
config:
|
|
1245
|
+
config: V,
|
|
1246
1246
|
formValues: Q,
|
|
1247
1247
|
setFormValues: pe,
|
|
1248
1248
|
goToForm: ee,
|
|
1249
1249
|
goToPage: re,
|
|
1250
|
-
onProceed:
|
|
1251
|
-
onProceedGuidance:
|
|
1250
|
+
onProceed: V.onProceed,
|
|
1251
|
+
onProceedGuidance: V.onProceedGuidance
|
|
1252
1252
|
}),
|
|
1253
|
-
[oe, T,
|
|
1253
|
+
[oe, T, V, Q, ee, re]
|
|
1254
1254
|
);
|
|
1255
1255
|
return /* @__PURE__ */ r.jsx(Ke.Provider, { value: de, children: ce });
|
|
1256
1256
|
};
|
|
1257
1257
|
function Te() {
|
|
1258
1258
|
return We(Ke);
|
|
1259
1259
|
}
|
|
1260
|
-
function
|
|
1260
|
+
function $n() {
|
|
1261
1261
|
const t = We(Ke);
|
|
1262
1262
|
if (!t)
|
|
1263
1263
|
throw new Error("useKundliContextOrThrow must be used within KundliProvider");
|
|
1264
1264
|
return t;
|
|
1265
1265
|
}
|
|
1266
|
-
const ct = "_header_19172_1", dt = "_centered_19172_8",
|
|
1266
|
+
const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
|
|
1267
1267
|
header: ct,
|
|
1268
1268
|
centered: dt
|
|
1269
1269
|
}, ut = ({
|
|
@@ -1278,9 +1278,9 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", lr = {
|
|
|
1278
1278
|
subtitle: t("formSubtitle"),
|
|
1279
1279
|
onBack: o,
|
|
1280
1280
|
backAriaLabel: t("back"),
|
|
1281
|
-
className: `${
|
|
1281
|
+
className: `${sr.header} ${f === "center" ? sr.centered : ""} ${c}`
|
|
1282
1282
|
}
|
|
1283
|
-
), ft = "_wrap_119w3_1", mt = "_card_119w3_5", ht = "_cardInner_119w3_12", pt = "_field_119w3_44", gt = "_labelRow_119w3_48", _t = "_label_119w3_48", bt = "_req_119w3_57", yt = "_help_119w3_61",
|
|
1283
|
+
), ft = "_wrap_119w3_1", mt = "_card_119w3_5", ht = "_cardInner_119w3_12", pt = "_field_119w3_44", gt = "_labelRow_119w3_48", _t = "_label_119w3_48", bt = "_req_119w3_57", yt = "_help_119w3_61", vt = "_choiceRow_119w3_68", kt = "_choiceBtn_119w3_74", wt = "_choiceBtnActive_119w3_99", xt = "_infoBtn_119w3_105", Pt = "_infoImg_119w3_122", At = "_infoWrap_119w3_128", Ct = "_tooltip_119w3_134", jt = "_tooltipArrow_119w3_150", Nt = "_inputWrap_119w3_161", Tt = "_isdWrap_119w3_165", Rt = "_phoneInputGroup_119w3_169", St = "_isdSelectWrap_119w3_178", Et = "_isdSelectTrigger_119w3_197", It = "_isdDropdown_119w3_214", Bt = "_isdSearchWrap_119w3_229", Lt = "_isdSearchInput_119w3_237", Dt = "_isdOption_119w3_255", Ft = "_isdOptionActive_119w3_275", Ot = "_isdCountryName_119w3_281", Mt = "_isdCountryCode_119w3_288", $t = "_isdNoResult_119w3_295", Ut = "_suggestions_119w3_302", Gt = "_suggestionItem_119w3_315", Wt = "_suggestionMain_119w3_333", Kt = "_suggestionSecondary_119w3_339", Ht = "_suggestionsHint_119w3_344", Yt = "_fieldError_119w3_359", qt = "_timePopover_119w3_366", Vt = "_timePickerRow_119w3_382", zt = "_timePickerSelect_119w3_388", Jt = "_timePickerColon_119w3_404", Qt = "_meridiemToggle_119w3_412", Xt = "_meridiemBtn_119w3_421", Zt = "_meridiemActive_119w3_436", ea = "_timePopoverActions_119w3_441", ra = "_timePopoverBtn_119w3_447", ta = "_timePopoverOk_119w3_466", aa = "_input_119w3_161", na = "_phoneInput_119w3_169", oa = "_iconBtn_119w3_519", ia = "_iconBtnInteractive_119w3_525", la = "_iconImg_119w3_544", sa = "_checkboxRow_119w3_550", ca = "_checkbox_119w3_550", da = "_checkboxText_119w3_588", a = {
|
|
1284
1284
|
wrap: ft,
|
|
1285
1285
|
card: mt,
|
|
1286
1286
|
cardInner: ht,
|
|
@@ -1289,8 +1289,8 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", lr = {
|
|
|
1289
1289
|
label: _t,
|
|
1290
1290
|
req: bt,
|
|
1291
1291
|
help: yt,
|
|
1292
|
-
choiceRow:
|
|
1293
|
-
choiceBtn:
|
|
1292
|
+
choiceRow: vt,
|
|
1293
|
+
choiceBtn: kt,
|
|
1294
1294
|
choiceBtnActive: wt,
|
|
1295
1295
|
infoBtn: xt,
|
|
1296
1296
|
infoImg: Pt,
|
|
@@ -1303,8 +1303,8 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", lr = {
|
|
|
1303
1303
|
isdSelectWrap: St,
|
|
1304
1304
|
isdSelectTrigger: Et,
|
|
1305
1305
|
isdDropdown: It,
|
|
1306
|
-
isdSearchWrap:
|
|
1307
|
-
isdSearchInput:
|
|
1306
|
+
isdSearchWrap: Bt,
|
|
1307
|
+
isdSearchInput: Lt,
|
|
1308
1308
|
isdOption: Dt,
|
|
1309
1309
|
isdOptionActive: Ft,
|
|
1310
1310
|
isdCountryName: Ot,
|
|
@@ -1316,8 +1316,8 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", lr = {
|
|
|
1316
1316
|
suggestionSecondary: Kt,
|
|
1317
1317
|
suggestionsHint: Ht,
|
|
1318
1318
|
fieldError: Yt,
|
|
1319
|
-
timePopover:
|
|
1320
|
-
timePickerRow:
|
|
1319
|
+
timePopover: qt,
|
|
1320
|
+
timePickerRow: Vt,
|
|
1321
1321
|
timePickerSelect: zt,
|
|
1322
1322
|
timePickerColon: Jt,
|
|
1323
1323
|
meridiemToggle: Qt,
|
|
@@ -1330,8 +1330,8 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", lr = {
|
|
|
1330
1330
|
phoneInput: na,
|
|
1331
1331
|
iconBtn: oa,
|
|
1332
1332
|
iconBtnInteractive: ia,
|
|
1333
|
-
iconImg:
|
|
1334
|
-
checkboxRow:
|
|
1333
|
+
iconImg: la,
|
|
1334
|
+
checkboxRow: sa,
|
|
1335
1335
|
checkbox: ca,
|
|
1336
1336
|
checkboxText: da
|
|
1337
1337
|
}, cr = (t) => typeof t == "number" && Number.isFinite(t), ua = (t) => {
|
|
@@ -1342,22 +1342,22 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", lr = {
|
|
|
1342
1342
|
restrictCountry: t?.restrictCountry
|
|
1343
1343
|
};
|
|
1344
1344
|
}, fa = (t) => {
|
|
1345
|
-
const { searchLocalities: o, restrictCountry: c } = t, [f,
|
|
1345
|
+
const { searchLocalities: o, restrictCountry: c } = t, [f, k] = W([]), [S, x] = W(!1), [j, A] = W(null), E = H(0);
|
|
1346
1346
|
Y(() => {
|
|
1347
1347
|
A(null);
|
|
1348
1348
|
}, [o]);
|
|
1349
1349
|
const d = Ne(
|
|
1350
1350
|
async (h) => {
|
|
1351
1351
|
if (!h || h.length < 2 || !o) {
|
|
1352
|
-
|
|
1352
|
+
k([]);
|
|
1353
1353
|
return;
|
|
1354
1354
|
}
|
|
1355
1355
|
const I = ++E.current;
|
|
1356
1356
|
x(!0), A(null);
|
|
1357
1357
|
try {
|
|
1358
|
-
const p = ua({ restrictCountry: c }),
|
|
1358
|
+
const p = ua({ restrictCountry: c }), B = await o(h, p);
|
|
1359
1359
|
if (I !== E.current) return;
|
|
1360
|
-
const C = (
|
|
1360
|
+
const C = (B || []).filter(
|
|
1361
1361
|
(b) => !!b?.id && !!b?.description && cr(b?.lat) && cr(b?.lng)
|
|
1362
1362
|
).map((b) => ({
|
|
1363
1363
|
id: b.id,
|
|
@@ -1366,16 +1366,16 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", lr = {
|
|
|
1366
1366
|
lat: b.lat,
|
|
1367
1367
|
lng: b.lng
|
|
1368
1368
|
}));
|
|
1369
|
-
|
|
1369
|
+
k(C);
|
|
1370
1370
|
} catch (p) {
|
|
1371
1371
|
if (I !== E.current) return;
|
|
1372
|
-
|
|
1372
|
+
k([]), A(p?.message || "Failed to fetch locations");
|
|
1373
1373
|
} finally {
|
|
1374
1374
|
I === E.current && x(!1);
|
|
1375
1375
|
}
|
|
1376
1376
|
},
|
|
1377
1377
|
[c, o]
|
|
1378
|
-
), N = Ne(() =>
|
|
1378
|
+
), N = Ne(() => k([]), []);
|
|
1379
1379
|
return {
|
|
1380
1380
|
predictions: f,
|
|
1381
1381
|
isSearching: S,
|
|
@@ -1465,45 +1465,45 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1465
1465
|
values: o,
|
|
1466
1466
|
onChange: c,
|
|
1467
1467
|
phoneIsdCode: f,
|
|
1468
|
-
onPhoneIsdCodeChange:
|
|
1468
|
+
onPhoneIsdCodeChange: k,
|
|
1469
1469
|
showV1ExtraFields: S = !1,
|
|
1470
1470
|
analytics: x,
|
|
1471
1471
|
atlasSearchLocalities: j,
|
|
1472
1472
|
className: A = ""
|
|
1473
1473
|
}) => {
|
|
1474
|
-
const E = Te(), d = E?.config?.analytics ?? x, N = E?.config.isGlobal ?? !0, h = E?.config?.atlasSearchLocalities, [I, p] = W(!1), [
|
|
1474
|
+
const E = Te(), d = E?.config?.analytics ?? x, N = E?.config.isGlobal ?? !0, h = E?.config?.atlasSearchLocalities, [I, p] = W(!1), [B, C] = W(""), b = H(null), g = H(null), $ = H({}), w = (n) => c({ ...o, ...n }), F = (n, s) => {
|
|
1475
1475
|
if (n === "phone") {
|
|
1476
|
-
const
|
|
1477
|
-
|
|
1476
|
+
const L = ha(s, f, $.current);
|
|
1477
|
+
L.shouldTrack && d?.trackPhoneSectionFilled?.({ phone: L.fullPhone });
|
|
1478
1478
|
return;
|
|
1479
1479
|
}
|
|
1480
|
-
|
|
1480
|
+
s.trim() && !$.current[n] && ($.current[n] = !0, {
|
|
1481
1481
|
fullName: () => d?.trackNameSectionFilled?.(),
|
|
1482
1482
|
email: () => d?.trackEmailSectionFilled?.(),
|
|
1483
1483
|
dateOfBirth: () => d?.trackDobFilled?.(),
|
|
1484
1484
|
birthTime: () => d?.trackTimeFilled?.(),
|
|
1485
1485
|
birthPlace: () => d?.trackPlaceOfBirthChosen?.()
|
|
1486
1486
|
}[n]?.());
|
|
1487
|
-
}, K =
|
|
1487
|
+
}, K = B.trim().toLowerCase(), z = gr.filter((n) => K ? n.country.toLowerCase().includes(K) || n.code.includes(K) : !0), J = H(null);
|
|
1488
1488
|
H(null);
|
|
1489
|
-
const G = H(null),
|
|
1490
|
-
const
|
|
1491
|
-
if (!
|
|
1492
|
-
const
|
|
1493
|
-
return `${
|
|
1489
|
+
const G = H(null), q = H(0), ce = H(null), [oe, D] = W(!1), [T, O] = W({ hour12: 12, minute: "00", meridiem: "AM" }), Q = (n) => String(n).padStart(2, "0"), pe = (n) => {
|
|
1490
|
+
const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1491
|
+
if (!s) return n;
|
|
1492
|
+
const L = Number(s[1]), ae = s[2], Re = L >= 12 ? "PM" : "AM";
|
|
1493
|
+
return `${L % 12 === 0 ? 12 : L % 12}:${ae} ${Re}`;
|
|
1494
1494
|
}, fe = (n) => {
|
|
1495
|
-
const
|
|
1496
|
-
if (!
|
|
1497
|
-
const
|
|
1498
|
-
return { hour12:
|
|
1499
|
-
},
|
|
1500
|
-
const
|
|
1501
|
-
let ae =
|
|
1502
|
-
return n.meridiem === "PM" && (ae += 12), `${Q(ae)}:${
|
|
1495
|
+
const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1496
|
+
if (!s) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1497
|
+
const L = Number(s[1]), ae = s[2], Re = L >= 12 ? "PM" : "AM";
|
|
1498
|
+
return { hour12: L % 12 === 0 ? 12 : L % 12, minute: ae, meridiem: Re };
|
|
1499
|
+
}, V = (n) => {
|
|
1500
|
+
const s = Math.min(12, Math.max(1, n.hour12)), L = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
|
|
1501
|
+
let ae = s % 12;
|
|
1502
|
+
return n.meridiem === "PM" && (ae += 12), `${Q(ae)}:${L}`;
|
|
1503
1503
|
}, ee = H(null), [re, de] = W(!1), [te, he] = W(
|
|
1504
1504
|
null
|
|
1505
1505
|
), ie = (o.birthPlace ?? "").trim(), ge = N ? void 0 : "in", ue = j ?? h, X = Number.isFinite(o.birthPlaceLat) && Number.isFinite(o.birthPlaceLng), be = ie.length > 0 && !X && !re, {
|
|
1506
|
-
predictions:
|
|
1506
|
+
predictions: le,
|
|
1507
1507
|
isSearching: we,
|
|
1508
1508
|
loadError: _e,
|
|
1509
1509
|
searchPlaces: xe,
|
|
@@ -1513,13 +1513,13 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1513
1513
|
restrictCountry: ge
|
|
1514
1514
|
});
|
|
1515
1515
|
Y(() => {
|
|
1516
|
-
const n = (
|
|
1517
|
-
ee.current && (ee.current.contains(
|
|
1516
|
+
const n = (s) => {
|
|
1517
|
+
ee.current && (ee.current.contains(s.target) || de(!1));
|
|
1518
1518
|
};
|
|
1519
1519
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1520
1520
|
}, []), Y(() => {
|
|
1521
|
-
const n = (
|
|
1522
|
-
b.current && (b.current.contains(
|
|
1521
|
+
const n = (s) => {
|
|
1522
|
+
b.current && (b.current.contains(s.target) || (p(!1), C("")));
|
|
1523
1523
|
};
|
|
1524
1524
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1525
1525
|
}, []), Y(() => {
|
|
@@ -1539,33 +1539,33 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1539
1539
|
}, 250);
|
|
1540
1540
|
return () => window.clearTimeout(n);
|
|
1541
1541
|
}, [ye, re, ie, xe]);
|
|
1542
|
-
const
|
|
1543
|
-
const
|
|
1544
|
-
if (!(!
|
|
1545
|
-
if (document.activeElement ===
|
|
1546
|
-
|
|
1542
|
+
const v = (n) => {
|
|
1543
|
+
const s = n.current;
|
|
1544
|
+
if (!(!s || s.disabled)) {
|
|
1545
|
+
if (document.activeElement === s && G.current === s && Date.now() - q.current < 6e4) {
|
|
1546
|
+
s.blur();
|
|
1547
1547
|
return;
|
|
1548
1548
|
}
|
|
1549
|
-
if (typeof
|
|
1550
|
-
|
|
1549
|
+
if (typeof s.showPicker == "function") {
|
|
1550
|
+
s.showPicker(), G.current = s, q.current = Date.now();
|
|
1551
1551
|
return;
|
|
1552
1552
|
}
|
|
1553
|
-
|
|
1553
|
+
s.focus(), G.current = s, q.current = Date.now();
|
|
1554
1554
|
}
|
|
1555
1555
|
};
|
|
1556
1556
|
return Y(() => {
|
|
1557
|
-
const n = (
|
|
1558
|
-
ce.current && (ce.current.contains(
|
|
1557
|
+
const n = (s) => {
|
|
1558
|
+
ce.current && (ce.current.contains(s.target) || D(!1));
|
|
1559
1559
|
};
|
|
1560
1560
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1561
1561
|
}, []), Y(() => {
|
|
1562
|
-
const n = (
|
|
1563
|
-
|
|
1564
|
-
},
|
|
1565
|
-
|
|
1562
|
+
const n = (L) => {
|
|
1563
|
+
L.target?.closest?.("[data-info-tooltip]") == null && he(null);
|
|
1564
|
+
}, s = (L) => {
|
|
1565
|
+
L.key === "Escape" && he(null);
|
|
1566
1566
|
};
|
|
1567
|
-
return document.addEventListener("mousedown", n), document.addEventListener("keydown",
|
|
1568
|
-
document.removeEventListener("mousedown", n), document.removeEventListener("keydown",
|
|
1567
|
+
return document.addEventListener("mousedown", n), document.addEventListener("keydown", s), () => {
|
|
1568
|
+
document.removeEventListener("mousedown", n), document.removeEventListener("keydown", s);
|
|
1569
1569
|
};
|
|
1570
1570
|
}, []), /* @__PURE__ */ r.jsx(
|
|
1571
1571
|
"section",
|
|
@@ -1587,8 +1587,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1587
1587
|
value: o.fullName,
|
|
1588
1588
|
onFocus: () => d?.trackNameSectionClicked?.(),
|
|
1589
1589
|
onChange: (n) => {
|
|
1590
|
-
const
|
|
1591
|
-
w({ fullName:
|
|
1590
|
+
const s = n.target.value;
|
|
1591
|
+
w({ fullName: s }), F("fullName", s);
|
|
1592
1592
|
},
|
|
1593
1593
|
placeholder: t("formFullNamePlaceholder"),
|
|
1594
1594
|
autoComplete: "name"
|
|
@@ -1624,8 +1624,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1624
1624
|
value: o.phone ?? "",
|
|
1625
1625
|
onFocus: () => d?.trackPhoneSectionClicked?.(),
|
|
1626
1626
|
onChange: (n) => {
|
|
1627
|
-
const
|
|
1628
|
-
w({ phone: dr(
|
|
1627
|
+
const s = n.target.value;
|
|
1628
|
+
w({ phone: dr(s) }), F("phone", dr(s));
|
|
1629
1629
|
},
|
|
1630
1630
|
placeholder: t("formPhonePlaceholder"),
|
|
1631
1631
|
autoComplete: "tel",
|
|
@@ -1649,7 +1649,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1649
1649
|
{
|
|
1650
1650
|
ref: g,
|
|
1651
1651
|
type: "text",
|
|
1652
|
-
value:
|
|
1652
|
+
value: B,
|
|
1653
1653
|
onChange: (n) => C(n.target.value),
|
|
1654
1654
|
placeholder: "Search country",
|
|
1655
1655
|
className: a.isdSearchInput,
|
|
@@ -1664,7 +1664,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1664
1664
|
"aria-selected": n.code === f,
|
|
1665
1665
|
className: `${a.isdOption} ${n.code === f ? a.isdOptionActive : ""}`,
|
|
1666
1666
|
onClick: () => {
|
|
1667
|
-
|
|
1667
|
+
k(n.code), p(!1), C("");
|
|
1668
1668
|
},
|
|
1669
1669
|
children: [
|
|
1670
1670
|
/* @__PURE__ */ r.jsx("span", { className: a.isdCountryName, children: n.country }),
|
|
@@ -1795,11 +1795,11 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1795
1795
|
return `${n.getFullYear()}-${Q(n.getMonth() + 1)}-${Q(n.getDate())}`;
|
|
1796
1796
|
})(),
|
|
1797
1797
|
onChange: (n) => {
|
|
1798
|
-
const
|
|
1799
|
-
|
|
1798
|
+
const s = n.target.value, L = /* @__PURE__ */ new Date(), ae = `${L.getFullYear()}-${Q(L.getMonth() + 1)}-${Q(L.getDate())}`;
|
|
1799
|
+
s && s > ae || (w({ dateOfBirth: s }), F("dateOfBirth", s), G.current = null);
|
|
1800
1800
|
},
|
|
1801
1801
|
onFocus: () => d?.trackDobClicked?.(),
|
|
1802
|
-
onClick: () =>
|
|
1802
|
+
onClick: () => v(J),
|
|
1803
1803
|
onBlur: () => {
|
|
1804
1804
|
G.current === J.current && (G.current = null);
|
|
1805
1805
|
}
|
|
@@ -1813,7 +1813,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1813
1813
|
"aria-label": "Open date picker",
|
|
1814
1814
|
onMouseDown: (n) => n.preventDefault(),
|
|
1815
1815
|
onClick: (n) => {
|
|
1816
|
-
n.preventDefault(), n.stopPropagation(),
|
|
1816
|
+
n.preventDefault(), n.stopPropagation(), v(J);
|
|
1817
1817
|
},
|
|
1818
1818
|
children: /* @__PURE__ */ r.jsx(
|
|
1819
1819
|
"img",
|
|
@@ -1873,8 +1873,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1873
1873
|
readOnly: !0,
|
|
1874
1874
|
onFocus: () => d?.trackTimeClicked?.(),
|
|
1875
1875
|
onChange: (n) => {
|
|
1876
|
-
const
|
|
1877
|
-
w({ birthTime:
|
|
1876
|
+
const s = n.target.value;
|
|
1877
|
+
w({ birthTime: s }), F("birthTime", s);
|
|
1878
1878
|
},
|
|
1879
1879
|
disabled: o.birthTimeUnknown,
|
|
1880
1880
|
placeholder: "HH:MM AM",
|
|
@@ -1892,7 +1892,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1892
1892
|
disabled: o.birthTimeUnknown,
|
|
1893
1893
|
onMouseDown: (n) => n.preventDefault(),
|
|
1894
1894
|
onClick: (n) => {
|
|
1895
|
-
n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (O(fe(o.birthTime || "12:00")), D((
|
|
1895
|
+
n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (O(fe(o.birthTime || "12:00")), D((s) => !s));
|
|
1896
1896
|
},
|
|
1897
1897
|
children: /* @__PURE__ */ r.jsx(
|
|
1898
1898
|
"img",
|
|
@@ -1918,12 +1918,12 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1918
1918
|
{
|
|
1919
1919
|
className: a.timePickerSelect,
|
|
1920
1920
|
value: T.hour12,
|
|
1921
|
-
onChange: (n) => O((
|
|
1922
|
-
...
|
|
1921
|
+
onChange: (n) => O((s) => ({
|
|
1922
|
+
...s,
|
|
1923
1923
|
hour12: Number(n.target.value)
|
|
1924
1924
|
})),
|
|
1925
1925
|
"aria-label": "Hour",
|
|
1926
|
-
children: Array.from({ length: 12 }, (n,
|
|
1926
|
+
children: Array.from({ length: 12 }, (n, s) => s + 1).map((n) => /* @__PURE__ */ r.jsx("option", { value: n, children: n }, n))
|
|
1927
1927
|
}
|
|
1928
1928
|
),
|
|
1929
1929
|
/* @__PURE__ */ r.jsx("span", { className: a.timePickerColon, children: ":" }),
|
|
@@ -1932,9 +1932,9 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1932
1932
|
{
|
|
1933
1933
|
className: a.timePickerSelect,
|
|
1934
1934
|
value: T.minute,
|
|
1935
|
-
onChange: (n) => O((
|
|
1935
|
+
onChange: (n) => O((s) => ({ ...s, minute: n.target.value })),
|
|
1936
1936
|
"aria-label": "Minute",
|
|
1937
|
-
children: Array.from({ length: 60 }, (n,
|
|
1937
|
+
children: Array.from({ length: 60 }, (n, s) => Q(s)).map(
|
|
1938
1938
|
(n) => /* @__PURE__ */ r.jsx("option", { value: n, children: n }, n)
|
|
1939
1939
|
)
|
|
1940
1940
|
}
|
|
@@ -1976,7 +1976,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1976
1976
|
type: "button",
|
|
1977
1977
|
className: `${a.timePopoverBtn} ${a.timePopoverOk}`,
|
|
1978
1978
|
onClick: () => {
|
|
1979
|
-
const n =
|
|
1979
|
+
const n = V(T);
|
|
1980
1980
|
w({ birthTime: n }), F("birthTime", n), D(!1);
|
|
1981
1981
|
},
|
|
1982
1982
|
"aria-label": "OK",
|
|
@@ -2083,12 +2083,12 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2083
2083
|
type: "text",
|
|
2084
2084
|
value: o.birthPlace,
|
|
2085
2085
|
onChange: (n) => {
|
|
2086
|
-
const
|
|
2086
|
+
const s = n.target.value;
|
|
2087
2087
|
w({
|
|
2088
|
-
birthPlace:
|
|
2088
|
+
birthPlace: s,
|
|
2089
2089
|
birthPlaceLat: void 0,
|
|
2090
2090
|
birthPlaceLng: void 0
|
|
2091
|
-
}), F("birthPlace",
|
|
2091
|
+
}), F("birthPlace", s), de(!0);
|
|
2092
2092
|
},
|
|
2093
2093
|
onFocus: () => {
|
|
2094
2094
|
d?.trackPlaceOfBirthClicked?.(), de(!0);
|
|
@@ -2106,7 +2106,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2106
2106
|
"aria-hidden": !0
|
|
2107
2107
|
}
|
|
2108
2108
|
) }),
|
|
2109
|
-
re &&
|
|
2109
|
+
re && le.length > 0 && /* @__PURE__ */ r.jsx("div", { className: a.suggestions, role: "listbox", children: le.slice(0, 8).map((n) => /* @__PURE__ */ r.jsxs(
|
|
2110
2110
|
"button",
|
|
2111
2111
|
{
|
|
2112
2112
|
type: "button",
|
|
@@ -2266,16 +2266,16 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2266
2266
|
ctaFilled: _a,
|
|
2267
2267
|
ctaFilledContent: ba,
|
|
2268
2268
|
chevronRight: ya
|
|
2269
|
-
}, br = "kundli-report-astrologer",
|
|
2270
|
-
const c = Te()?.config.imageComponent ??
|
|
2271
|
-
return /* @__PURE__ */ r.jsxs("div", { className:
|
|
2272
|
-
/* @__PURE__ */ r.jsxs("span", { className:
|
|
2269
|
+
}, br = "kundli-report-astrologer", va = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", ka = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", wa = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", xa = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", Pa = ({ t }) => {
|
|
2270
|
+
const c = Te()?.config.imageComponent ?? Be;
|
|
2271
|
+
return /* @__PURE__ */ r.jsxs("div", { className: ke.marqueeContent, children: [
|
|
2272
|
+
/* @__PURE__ */ r.jsxs("span", { className: ke.badge, children: [
|
|
2273
2273
|
/* @__PURE__ */ r.jsx(
|
|
2274
2274
|
c,
|
|
2275
2275
|
{
|
|
2276
|
-
src:
|
|
2276
|
+
src: va,
|
|
2277
2277
|
alt: "",
|
|
2278
|
-
className:
|
|
2278
|
+
className: ke.badgeIcon,
|
|
2279
2279
|
width: 16,
|
|
2280
2280
|
height: 16,
|
|
2281
2281
|
loading: "lazy"
|
|
@@ -2283,13 +2283,13 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2283
2283
|
),
|
|
2284
2284
|
t("ctaKundliCreated")
|
|
2285
2285
|
] }),
|
|
2286
|
-
/* @__PURE__ */ r.jsxs("span", { className:
|
|
2286
|
+
/* @__PURE__ */ r.jsxs("span", { className: ke.badge, children: [
|
|
2287
2287
|
/* @__PURE__ */ r.jsx(
|
|
2288
2288
|
c,
|
|
2289
2289
|
{
|
|
2290
|
-
src:
|
|
2290
|
+
src: ka,
|
|
2291
2291
|
alt: "",
|
|
2292
|
-
className:
|
|
2292
|
+
className: ke.badgeIcon,
|
|
2293
2293
|
width: 16,
|
|
2294
2294
|
height: 16,
|
|
2295
2295
|
loading: "lazy"
|
|
@@ -2297,13 +2297,13 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2297
2297
|
),
|
|
2298
2298
|
t("ctaCertified")
|
|
2299
2299
|
] }),
|
|
2300
|
-
/* @__PURE__ */ r.jsxs("span", { className:
|
|
2300
|
+
/* @__PURE__ */ r.jsxs("span", { className: ke.badge, children: [
|
|
2301
2301
|
/* @__PURE__ */ r.jsx(
|
|
2302
2302
|
c,
|
|
2303
2303
|
{
|
|
2304
2304
|
src: wa,
|
|
2305
2305
|
alt: "",
|
|
2306
|
-
className:
|
|
2306
|
+
className: ke.badgeIcon,
|
|
2307
2307
|
width: 16,
|
|
2308
2308
|
height: 16,
|
|
2309
2309
|
loading: "lazy"
|
|
@@ -2331,7 +2331,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2331
2331
|
values: o,
|
|
2332
2332
|
phoneIsdCode: c,
|
|
2333
2333
|
hideOriginalPrice: f = !1,
|
|
2334
|
-
requireV1ExtraFields:
|
|
2334
|
+
requireV1ExtraFields: k = !1,
|
|
2335
2335
|
onValidationFailed: S,
|
|
2336
2336
|
onProceed: x,
|
|
2337
2337
|
onProceedGuidance: j,
|
|
@@ -2342,11 +2342,11 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2342
2342
|
showPlanSheet: h,
|
|
2343
2343
|
confirmPlan: I,
|
|
2344
2344
|
planSheetOpen: p,
|
|
2345
|
-
selectedPlan:
|
|
2345
|
+
selectedPlan: B
|
|
2346
2346
|
}) => {
|
|
2347
2347
|
const C = Te(), b = C?.config.isGlobal ?? !0, g = C?.config?.variant, [$, w] = W(!1), F = Ue(
|
|
2348
|
-
() => ja(o, b,
|
|
2349
|
-
[o, b,
|
|
2348
|
+
() => ja(o, b, k),
|
|
2349
|
+
[o, b, k]
|
|
2350
2350
|
), K = F === null, z = g === "v1" && C?.config?.showSheet;
|
|
2351
2351
|
Y(() => {
|
|
2352
2352
|
if (!$) return;
|
|
@@ -2355,14 +2355,14 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2355
2355
|
}, 2200);
|
|
2356
2356
|
return () => window.clearTimeout(oe);
|
|
2357
2357
|
}, [$]);
|
|
2358
|
-
const J = b ? N ?? t("formDiscountedPrice") : z ? "" : "₹499", G = C?.config.imageComponent ??
|
|
2358
|
+
const J = b ? N ?? t("formDiscountedPrice") : z ? "" : "₹499", G = C?.config.imageComponent ?? Be, q = (oe) => {
|
|
2359
2359
|
if (oe.preventDefault(), g === "v1" && !K && E?.trackKundliDetailedClicked?.(), !K) {
|
|
2360
2360
|
F && (S?.(
|
|
2361
2361
|
F === "birthPlaceCoordinates" ? "birthPlace" : F
|
|
2362
2362
|
), F === "birthPlaceCoordinates" && w(!0));
|
|
2363
2363
|
return;
|
|
2364
2364
|
}
|
|
2365
|
-
const D = !!j && g === "v1" &&
|
|
2365
|
+
const D = !!j && g === "v1" && B?.id === br, T = (o.phone ?? "").trim(), O = {
|
|
2366
2366
|
...o,
|
|
2367
2367
|
phone: T && `${c}-${T}`
|
|
2368
2368
|
};
|
|
@@ -2376,11 +2376,11 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2376
2376
|
{
|
|
2377
2377
|
href: A,
|
|
2378
2378
|
disabled: g === "v1" ? !1 : !K,
|
|
2379
|
-
onClick:
|
|
2379
|
+
onClick: q,
|
|
2380
2380
|
"aria-label": t("formPriceAria"),
|
|
2381
2381
|
className: g === "v1" && K ? je.ctaFilled : g === "v1" ? je.ctaButton : void 0,
|
|
2382
2382
|
children: g === "v1" ? K ? /* @__PURE__ */ r.jsxs("span", { className: je.ctaFilledContent, children: [
|
|
2383
|
-
z ? t("selectPackage") : p &&
|
|
2383
|
+
z ? t("selectPackage") : p && B ? `${t("proceedWithPlan")}${B.price}` : `${t("formProceed")} ${J}`,
|
|
2384
2384
|
/* @__PURE__ */ r.jsx(
|
|
2385
2385
|
G,
|
|
2386
2386
|
{
|
|
@@ -2416,13 +2416,13 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2416
2416
|
logoUrl: c = Ta,
|
|
2417
2417
|
className: f = ""
|
|
2418
2418
|
}) => {
|
|
2419
|
-
const
|
|
2419
|
+
const k = Te(), S = k?.config.isGlobal ?? !0, x = o != null && !S;
|
|
2420
2420
|
return /* @__PURE__ */ r.jsx(
|
|
2421
2421
|
Wr,
|
|
2422
2422
|
{
|
|
2423
2423
|
t,
|
|
2424
2424
|
logoUrl: c,
|
|
2425
|
-
imageComponent:
|
|
2425
|
+
imageComponent: k?.config.imageComponent,
|
|
2426
2426
|
languageSelector: o,
|
|
2427
2427
|
showLanguageSelector: x,
|
|
2428
2428
|
className: f
|
|
@@ -2445,11 +2445,11 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2445
2445
|
strokeWidth: "1.8",
|
|
2446
2446
|
strokeLinecap: "round"
|
|
2447
2447
|
}
|
|
2448
|
-
) }), Ia = () => /* @__PURE__ */ r.jsx("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx("path", { d: "M15 18l-6-6 6-6" }) }),
|
|
2448
|
+
) }), Ia = () => /* @__PURE__ */ r.jsx("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx("path", { d: "M15 18l-6-6 6-6" }) }), Ba = () => /* @__PURE__ */ r.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: [
|
|
2449
2449
|
/* @__PURE__ */ r.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
|
|
2450
2450
|
/* @__PURE__ */ r.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
2451
|
-
] }),
|
|
2452
|
-
overlay:
|
|
2451
|
+
] }), La = "_overlay_18irl_2", Da = "_sheet_18irl_12", Fa = "_header_18irl_36", Oa = "_backBtn_18irl_48", Ma = "_title_18irl_66", $a = "_plansContainer_18irl_78", Ua = "_planCard_18irl_87", Ga = "_withBadgeSpacing_18irl_101", Wa = "_planCardSelected_18irl_105", Ka = "_planCardPopular_18irl_110", Ha = "_popularBadge_18irl_119", Ya = "_planCardInner_18irl_137", qa = "_planTitleRow_18irl_148", Va = "_planTitle_18irl_148", za = "_radioCircle_18irl_163", Ja = "_radioChecked_18irl_176", Qa = "_radioInner_18irl_181", Xa = "_priceRow_18irl_189", Za = "_price_18irl_189", en = "_originalPrice_18irl_202", rn = "_savingsBadge_18irl_209", tn = "_featureList_18irl_219", an = "_featureItem_18irl_228", nn = "_featureIcon_18irl_234", on = "_featureText_18irl_240", ln = "_astrologerHeading_18irl_251", sn = "_astrologerList_18irl_258", cn = "_astrologerCard_18irl_274", dn = "_astrologerAvatar_18irl_290", un = "_astrologerAvatarPlaceholder_18irl_307", fn = "_astrologerTop_18irl_313", mn = "_astrologerBasicInfo_18irl_319", hn = "_astrologerName_18irl_326", pn = "_astrologerExp_18irl_335", gn = "_astrologerDivider_18irl_341", _n = "_planDivider_18irl_347", bn = "_astrologerCertList_18irl_354", yn = "_astrologerCertItem_18irl_360", vn = "_bullet_18irl_368", kn = "_footer_18irl_373", wn = "_proceedBtn_18irl_383", m = {
|
|
2452
|
+
overlay: La,
|
|
2453
2453
|
sheet: Da,
|
|
2454
2454
|
header: Fa,
|
|
2455
2455
|
backBtn: Oa,
|
|
@@ -2461,8 +2461,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2461
2461
|
planCardPopular: Ka,
|
|
2462
2462
|
popularBadge: Ha,
|
|
2463
2463
|
planCardInner: Ya,
|
|
2464
|
-
planTitleRow:
|
|
2465
|
-
planTitle:
|
|
2464
|
+
planTitleRow: qa,
|
|
2465
|
+
planTitle: Va,
|
|
2466
2466
|
radioCircle: za,
|
|
2467
2467
|
radioChecked: Ja,
|
|
2468
2468
|
radioInner: Qa,
|
|
@@ -2474,8 +2474,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2474
2474
|
featureItem: an,
|
|
2475
2475
|
featureIcon: nn,
|
|
2476
2476
|
featureText: on,
|
|
2477
|
-
astrologerHeading:
|
|
2478
|
-
astrologerList:
|
|
2477
|
+
astrologerHeading: ln,
|
|
2478
|
+
astrologerList: sn,
|
|
2479
2479
|
astrologerCard: cn,
|
|
2480
2480
|
astrologerAvatar: dn,
|
|
2481
2481
|
astrologerAvatarPlaceholder: un,
|
|
@@ -2483,15 +2483,14 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2483
2483
|
astrologerBasicInfo: mn,
|
|
2484
2484
|
astrologerName: hn,
|
|
2485
2485
|
astrologerExp: pn,
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
astrologerCertItem: kn,
|
|
2486
|
+
astrologerDivider: gn,
|
|
2487
|
+
planDivider: _n,
|
|
2488
|
+
astrologerCertList: bn,
|
|
2489
|
+
astrologerCertItem: yn,
|
|
2491
2490
|
bullet: vn,
|
|
2492
|
-
footer:
|
|
2493
|
-
proceedBtn:
|
|
2494
|
-
},
|
|
2491
|
+
footer: kn,
|
|
2492
|
+
proceedBtn: wn
|
|
2493
|
+
}, xn = ({ title: t, onBack: o }) => /* @__PURE__ */ r.jsxs("div", { className: m.header, children: [
|
|
2495
2494
|
/* @__PURE__ */ r.jsx(
|
|
2496
2495
|
"button",
|
|
2497
2496
|
{
|
|
@@ -2503,7 +2502,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2503
2502
|
}
|
|
2504
2503
|
),
|
|
2505
2504
|
/* @__PURE__ */ r.jsx("h2", { className: m.title, children: t })
|
|
2506
|
-
] }),
|
|
2505
|
+
] }), Pn = ({ features: t, t: o }) => /* @__PURE__ */ r.jsx("ul", { className: m.featureList, "aria-label": "Plan features", children: t.map((c, f) => /* @__PURE__ */ r.jsxs("li", { className: m.featureItem, children: [
|
|
2507
2506
|
/* @__PURE__ */ r.jsx("span", { className: m.featureIcon, children: c.included ? /* @__PURE__ */ r.jsx(Sa, {}) : /* @__PURE__ */ r.jsx(Ea, {}) }),
|
|
2508
2507
|
/* @__PURE__ */ r.jsx(
|
|
2509
2508
|
"span",
|
|
@@ -2512,26 +2511,25 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2512
2511
|
children: o?.(c.text) ?? c.text
|
|
2513
2512
|
}
|
|
2514
2513
|
)
|
|
2515
|
-
] }, f)) }),
|
|
2514
|
+
] }, f)) }), An = ({ astrologer: t, t: o }) => /* @__PURE__ */ r.jsxs("div", { className: m.astrologerCard, children: [
|
|
2516
2515
|
/* @__PURE__ */ r.jsxs("div", { className: m.astrologerTop, children: [
|
|
2517
2516
|
/* @__PURE__ */ r.jsx("div", { className: m.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: m.astrologerAvatarPlaceholder, children: t.name.charAt(0) }) }),
|
|
2518
2517
|
/* @__PURE__ */ r.jsxs("div", { className: m.astrologerBasicInfo, children: [
|
|
2519
2518
|
/* @__PURE__ */ r.jsx("p", { className: m.astrologerName, children: o?.(t.name) ?? t.name }),
|
|
2520
|
-
/* @__PURE__ */ r.jsx("p", { className: m.astrologerExp, children: o?.(t.experience) ?? t.experience })
|
|
2521
|
-
t.languages && t.languages.length > 0 && /* @__PURE__ */ r.jsx("p", { className: m.astrologerLangs, children: t.languages.map((c) => o?.(c) ?? c).join(" • ") })
|
|
2519
|
+
/* @__PURE__ */ r.jsx("p", { className: m.astrologerExp, children: o?.(t.experience) ?? t.experience })
|
|
2522
2520
|
] })
|
|
2523
2521
|
] }),
|
|
2524
2522
|
/* @__PURE__ */ r.jsx("div", { className: m.astrologerDivider }),
|
|
2525
2523
|
/* @__PURE__ */ r.jsx("div", { className: m.astrologerCertList, children: t.certifications.map((c, f) => /* @__PURE__ */ r.jsxs("p", { className: m.astrologerCertItem, children: [
|
|
2526
|
-
/* @__PURE__ */ r.jsx("span", { className: m.bullet, children: "
|
|
2524
|
+
/* @__PURE__ */ r.jsx("span", { className: m.bullet, children: "•" }),
|
|
2527
2525
|
" ",
|
|
2528
2526
|
o?.(c) ?? c
|
|
2529
2527
|
] }, f)) })
|
|
2530
|
-
] }),
|
|
2531
|
-
/* @__PURE__ */ r.jsx(
|
|
2528
|
+
] }), Cn = ({ label: t }) => /* @__PURE__ */ r.jsxs("div", { className: m.popularBadge, "aria-label": t, children: [
|
|
2529
|
+
/* @__PURE__ */ r.jsx(Ba, {}),
|
|
2532
2530
|
/* @__PURE__ */ r.jsx("span", { children: t })
|
|
2533
|
-
] }),
|
|
2534
|
-
const
|
|
2531
|
+
] }), jn = ({ plan: t, isSelected: o, onSelect: c, t: f }) => {
|
|
2532
|
+
const k = () => c(t.id), S = (x) => {
|
|
2535
2533
|
(x.key === " " || x.key === "Enter") && (x.preventDefault(), c(t.id));
|
|
2536
2534
|
};
|
|
2537
2535
|
return /* @__PURE__ */ r.jsxs(
|
|
@@ -2542,14 +2540,14 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2542
2540
|
o ? m.planCardSelected : "",
|
|
2543
2541
|
o && m.planCardPopular
|
|
2544
2542
|
].filter(Boolean).join(" "),
|
|
2545
|
-
onClick:
|
|
2543
|
+
onClick: k,
|
|
2546
2544
|
role: "radio",
|
|
2547
2545
|
"aria-checked": o,
|
|
2548
2546
|
tabIndex: 0,
|
|
2549
2547
|
onKeyDown: S,
|
|
2550
2548
|
"data-plan-id": t.id,
|
|
2551
2549
|
children: [
|
|
2552
|
-
t.badge && /* @__PURE__ */ r.jsx(
|
|
2550
|
+
t.badge && /* @__PURE__ */ r.jsx(Cn, { label: f?.(t.badge) ?? t.badge }),
|
|
2553
2551
|
/* @__PURE__ */ r.jsxs("div", { className: m.planCardInner, children: [
|
|
2554
2552
|
/* @__PURE__ */ r.jsxs("div", { className: `${m.planTitleRow} ${t.badge ? m.withBadgeSpacing : ""}`, children: [
|
|
2555
2553
|
/* @__PURE__ */ r.jsx("span", { className: m.planTitle, children: f?.(t.title) ?? t.title }),
|
|
@@ -2567,51 +2565,45 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2567
2565
|
t.originalPrice && /* @__PURE__ */ r.jsx("span", { className: m.originalPrice, children: t.originalPrice }),
|
|
2568
2566
|
t.savingsLabel && /* @__PURE__ */ r.jsx("span", { className: m.savingsBadge, children: f?.(t.savingsLabel, { percent: 25 }) ?? t.savingsLabel })
|
|
2569
2567
|
] }),
|
|
2570
|
-
/* @__PURE__ */ r.jsx(
|
|
2568
|
+
/* @__PURE__ */ r.jsx(Pn, { features: t.features, t: f }),
|
|
2571
2569
|
t.astrologers && /* @__PURE__ */ r.jsx("div", { className: m.planDivider }),
|
|
2572
2570
|
t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
2573
2571
|
/* @__PURE__ */ r.jsx("p", { className: m.astrologerHeading, children: f?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
|
|
2574
|
-
/* @__PURE__ */ r.jsx("div", { className: m.astrologerList, role: "list", children: t.astrologers.map((x, j) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(
|
|
2572
|
+
/* @__PURE__ */ r.jsx("div", { className: m.astrologerList, role: "list", children: t.astrologers.map((x, j) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(An, { astrologer: x, t: f }) }, j)) })
|
|
2575
2573
|
] })
|
|
2576
2574
|
] })
|
|
2577
2575
|
]
|
|
2578
2576
|
}
|
|
2579
2577
|
);
|
|
2580
|
-
},
|
|
2578
|
+
}, Nn = [
|
|
2581
2579
|
{
|
|
2582
2580
|
id: "jyoti",
|
|
2583
|
-
name: "
|
|
2581
|
+
name: "planAstrologerNameJyoti",
|
|
2584
2582
|
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992823100.webp",
|
|
2585
|
-
experience: "
|
|
2586
|
-
languages: ["Hindi", "English", "Telugu"],
|
|
2583
|
+
experience: "planAstrologerExpJyoti",
|
|
2587
2584
|
certifications: [
|
|
2588
|
-
"
|
|
2589
|
-
"
|
|
2585
|
+
"planAstrologerCertCertifiedJyotish",
|
|
2586
|
+
"planAstrologerCertAccurateSolutions"
|
|
2590
2587
|
]
|
|
2591
2588
|
},
|
|
2592
2589
|
{
|
|
2593
2590
|
id: "samiksha",
|
|
2594
|
-
name: "
|
|
2591
|
+
name: "planAstrologerNameSamiksha",
|
|
2595
2592
|
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992841106.webp",
|
|
2596
|
-
experience: "
|
|
2597
|
-
languages: ["Hindi", "English", "Telugu"],
|
|
2593
|
+
experience: "planAstrologerExpSamiksha",
|
|
2598
2594
|
certifications: [
|
|
2599
|
-
"
|
|
2600
|
-
"
|
|
2595
|
+
"planAstrologerCertVedicAstrology",
|
|
2596
|
+
"planAstrologerCertResultOriented"
|
|
2601
2597
|
]
|
|
2602
2598
|
},
|
|
2603
2599
|
{
|
|
2604
2600
|
id: "neeraj",
|
|
2605
|
-
name: "
|
|
2601
|
+
name: "planAstrologerNameNeeraj",
|
|
2606
2602
|
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992858276.webp",
|
|
2607
|
-
experience: "
|
|
2608
|
-
|
|
2609
|
-
certifications: [
|
|
2610
|
-
"BHU Certified Vedic Astrologer",
|
|
2611
|
-
"Mantra & Rudraksha Specialist"
|
|
2612
|
-
]
|
|
2603
|
+
experience: "planAstrologerExpNeeraj",
|
|
2604
|
+
certifications: ["planAstrologerCertBhuCertified", "planAstrologerCertMantraRudraksha"]
|
|
2613
2605
|
}
|
|
2614
|
-
],
|
|
2606
|
+
], Tn = (t) => [
|
|
2615
2607
|
{
|
|
2616
2608
|
id: "kundli-report",
|
|
2617
2609
|
title: "planNameBasic",
|
|
@@ -2637,21 +2629,21 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2637
2629
|
{ text: "planFeatureRealTimeAnswers", included: !0 },
|
|
2638
2630
|
{ text: "planFeatureTailoredRemedies", included: !0 }
|
|
2639
2631
|
],
|
|
2640
|
-
astrologers:
|
|
2632
|
+
astrologers: Nn.filter(
|
|
2641
2633
|
(o) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(o.id)
|
|
2642
2634
|
)
|
|
2643
2635
|
}
|
|
2644
|
-
],
|
|
2636
|
+
], Rn = ({
|
|
2645
2637
|
isOpen: t,
|
|
2646
2638
|
onClose: o,
|
|
2647
2639
|
selectedPlan: c,
|
|
2648
2640
|
onSelectPlan: f,
|
|
2649
|
-
plans:
|
|
2641
|
+
plans: k,
|
|
2650
2642
|
onProceed: S,
|
|
2651
2643
|
t: x,
|
|
2652
2644
|
analytics: j
|
|
2653
2645
|
}) => {
|
|
2654
|
-
const E = Te()?.config.isGlobal ?? !0, d =
|
|
2646
|
+
const E = Te()?.config.isGlobal ?? !0, d = k ?? Tn(E), N = c?.id || d.find((C) => C.badge)?.id || d[0]?.id || "", h = H(null), I = H(null), p = H(!1);
|
|
2655
2647
|
Y(() => {
|
|
2656
2648
|
if (t) {
|
|
2657
2649
|
if (!c) {
|
|
@@ -2662,7 +2654,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2662
2654
|
} else
|
|
2663
2655
|
p.current = !1;
|
|
2664
2656
|
}, [t, d, c, f, j]);
|
|
2665
|
-
const
|
|
2657
|
+
const B = () => {
|
|
2666
2658
|
j?.trackPlanPageClosed?.(), o();
|
|
2667
2659
|
};
|
|
2668
2660
|
return Y(() => {
|
|
@@ -2685,10 +2677,10 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2685
2677
|
className: m.sheet,
|
|
2686
2678
|
children: [
|
|
2687
2679
|
/* @__PURE__ */ r.jsx(
|
|
2688
|
-
|
|
2680
|
+
xn,
|
|
2689
2681
|
{
|
|
2690
2682
|
title: x?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
2691
|
-
onBack:
|
|
2683
|
+
onBack: B
|
|
2692
2684
|
}
|
|
2693
2685
|
),
|
|
2694
2686
|
/* @__PURE__ */ r.jsx(
|
|
@@ -2699,7 +2691,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2699
2691
|
role: "radiogroup",
|
|
2700
2692
|
"aria-label": "Kundli plans",
|
|
2701
2693
|
children: d.map((C) => /* @__PURE__ */ r.jsx(
|
|
2702
|
-
|
|
2694
|
+
jn,
|
|
2703
2695
|
{
|
|
2704
2696
|
plan: C,
|
|
2705
2697
|
isSelected: C.id === N,
|
|
@@ -2735,7 +2727,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2735
2727
|
)
|
|
2736
2728
|
}
|
|
2737
2729
|
) : null;
|
|
2738
|
-
},
|
|
2730
|
+
}, Sn = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", En = (t, o) => mr[t]?.[o] ?? o, In = {
|
|
2739
2731
|
fullName: "",
|
|
2740
2732
|
phone: "",
|
|
2741
2733
|
gender: "",
|
|
@@ -2747,12 +2739,12 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2747
2739
|
birthPlace: "",
|
|
2748
2740
|
birthPlaceLat: void 0,
|
|
2749
2741
|
birthPlaceLng: void 0
|
|
2750
|
-
},
|
|
2742
|
+
}, Un = ({
|
|
2751
2743
|
className: t = "",
|
|
2752
2744
|
locale: o,
|
|
2753
2745
|
showLanguageSelector: c = !0,
|
|
2754
2746
|
onBack: f,
|
|
2755
|
-
initialValues:
|
|
2747
|
+
initialValues: k,
|
|
2756
2748
|
onProceed: S,
|
|
2757
2749
|
onProceedGuidance: x,
|
|
2758
2750
|
proceedHref: j,
|
|
@@ -2761,65 +2753,65 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2761
2753
|
atlasSearchLocalities: d,
|
|
2762
2754
|
analytics: N
|
|
2763
2755
|
}) => {
|
|
2764
|
-
const h = Te(), I =
|
|
2756
|
+
const h = Te(), I = qr(), p = h !== null, B = p ? h.locale : o, C = B ?? I?.locale ?? "en", [b, g] = W(C), $ = p ? h.locale : b, w = p ? h.setLocale : g, [F, K] = W(!1), z = H(null), J = H(B), G = H(
|
|
2765
2757
|
I?.locale
|
|
2766
2758
|
);
|
|
2767
2759
|
Y(() => {
|
|
2768
2760
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
2769
2761
|
}, []);
|
|
2770
|
-
const
|
|
2762
|
+
const q = (v) => En($, v);
|
|
2771
2763
|
Y(() => {
|
|
2772
|
-
|
|
2773
|
-
}, [
|
|
2774
|
-
if (
|
|
2775
|
-
const
|
|
2776
|
-
|
|
2777
|
-
}, [I?.locale,
|
|
2764
|
+
B && J.current !== B && w(B), J.current = B;
|
|
2765
|
+
}, [B, w]), Y(() => {
|
|
2766
|
+
if (B) return;
|
|
2767
|
+
const v = I?.locale;
|
|
2768
|
+
v && G.current !== v && w(v), G.current = v;
|
|
2769
|
+
}, [I?.locale, B, w]);
|
|
2778
2770
|
const [ce, oe] = W({
|
|
2779
|
-
...
|
|
2780
|
-
...
|
|
2781
|
-
phone:
|
|
2771
|
+
...In,
|
|
2772
|
+
...k,
|
|
2773
|
+
phone: k?.phone ?? ""
|
|
2782
2774
|
}), D = p ? h?.config.isGlobal ?? !0 : !0, [T, O] = W(
|
|
2783
2775
|
D ? "+1" : "+91"
|
|
2784
2776
|
);
|
|
2785
2777
|
Y(() => {
|
|
2786
2778
|
O(D ? "+1" : "+91");
|
|
2787
2779
|
}, [D]);
|
|
2788
|
-
const Q = p ? h.formValues : ce, pe = p ? h.setFormValues : oe, fe = p ? h.goToPage : f,
|
|
2780
|
+
const Q = p ? h.formValues : ce, pe = p ? h.setFormValues : oe, fe = p ? h.goToPage : f, V = p ? h.onProceed : S, ee = p ? h.onProceedGuidance : x, re = p ? h.config.proceedHref : j, de = p ? h.config.originalPriceLabel : A, te = p ? h.config.discountedPriceLabel : E, he = p ? h.config.showLanguageSelector ?? !0 : c, ie = (p ? h?.config?.analytics : N) ?? N;
|
|
2789
2781
|
Y(() => {
|
|
2790
2782
|
if (!F) return;
|
|
2791
|
-
const
|
|
2783
|
+
const v = (n) => {
|
|
2792
2784
|
z.current && !z.current.contains(n.target) && K(!1);
|
|
2793
2785
|
};
|
|
2794
|
-
return document.addEventListener("mousedown",
|
|
2786
|
+
return document.addEventListener("mousedown", v), () => document.removeEventListener("mousedown", v);
|
|
2795
2787
|
}, [F]);
|
|
2796
|
-
const [ge, ue] = W(!1), [X, be] = W(null),
|
|
2797
|
-
|
|
2788
|
+
const [ge, ue] = W(!1), [X, be] = W(null), le = H(null), we = Ne((v) => {
|
|
2789
|
+
le.current = v, ue(!0);
|
|
2798
2790
|
}, []), _e = Ne(() => {
|
|
2799
2791
|
if (ie?.trackPlanProceedClicked?.({
|
|
2800
2792
|
planId: X.id,
|
|
2801
2793
|
planName: X.title
|
|
2802
|
-
}), !
|
|
2803
|
-
const
|
|
2804
|
-
X.id === br && ee ? ee(
|
|
2805
|
-
}, [X,
|
|
2794
|
+
}), !le.current || !X) return;
|
|
2795
|
+
const v = { ...le.current, _selectedPlan: X };
|
|
2796
|
+
X.id === br && ee ? ee(v) : V?.(v), ue(!1), le.current = null;
|
|
2797
|
+
}, [X, V, ee]), xe = h?.config.imageComponent ?? Be, ye = he ? /* @__PURE__ */ r.jsxs("div", { className: me.langDropdownWrap, ref: z, children: [
|
|
2806
2798
|
/* @__PURE__ */ r.jsxs(
|
|
2807
2799
|
"button",
|
|
2808
2800
|
{
|
|
2809
2801
|
type: "button",
|
|
2810
2802
|
className: me.langTrigger,
|
|
2811
2803
|
onClick: () => {
|
|
2812
|
-
ie?.trackLanguageClickedFe?.({ language: $ }), K((
|
|
2804
|
+
ie?.trackLanguageClickedFe?.({ language: $ }), K((v) => !v);
|
|
2813
2805
|
},
|
|
2814
2806
|
"aria-expanded": F,
|
|
2815
2807
|
"aria-haspopup": "listbox",
|
|
2816
2808
|
id: "kundli-form-lang",
|
|
2817
|
-
"aria-label":
|
|
2809
|
+
"aria-label": q("language"),
|
|
2818
2810
|
children: [
|
|
2819
2811
|
/* @__PURE__ */ r.jsx(
|
|
2820
2812
|
xe,
|
|
2821
2813
|
{
|
|
2822
|
-
src:
|
|
2814
|
+
src: Sn,
|
|
2823
2815
|
alt: "",
|
|
2824
2816
|
className: me.langIcon,
|
|
2825
2817
|
width: 16,
|
|
@@ -2827,7 +2819,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2827
2819
|
loading: "eager"
|
|
2828
2820
|
}
|
|
2829
2821
|
),
|
|
2830
|
-
/* @__PURE__ */ r.jsx("span", { className: me.langLabel, children:
|
|
2822
|
+
/* @__PURE__ */ r.jsx("span", { className: me.langLabel, children: lr[$] })
|
|
2831
2823
|
]
|
|
2832
2824
|
}
|
|
2833
2825
|
),
|
|
@@ -2838,19 +2830,19 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2838
2830
|
role: "listbox",
|
|
2839
2831
|
"aria-labelledby": "kundli-form-lang",
|
|
2840
2832
|
"aria-activedescendant": `kundli-form-lang-option-${$}`,
|
|
2841
|
-
children: fr.map((
|
|
2833
|
+
children: fr.map((v) => /* @__PURE__ */ r.jsx(
|
|
2842
2834
|
"li",
|
|
2843
2835
|
{
|
|
2844
|
-
id: `kundli-form-lang-option-${
|
|
2836
|
+
id: `kundli-form-lang-option-${v}`,
|
|
2845
2837
|
role: "option",
|
|
2846
|
-
"aria-selected":
|
|
2838
|
+
"aria-selected": v === $,
|
|
2847
2839
|
className: me.langOption,
|
|
2848
2840
|
onClick: () => {
|
|
2849
|
-
ie?.trackLanguageChangedFe?.({ newLanguage:
|
|
2841
|
+
ie?.trackLanguageChangedFe?.({ newLanguage: v }), w(v), K(!1);
|
|
2850
2842
|
},
|
|
2851
|
-
children:
|
|
2843
|
+
children: lr[v]
|
|
2852
2844
|
},
|
|
2853
|
-
|
|
2845
|
+
v
|
|
2854
2846
|
))
|
|
2855
2847
|
}
|
|
2856
2848
|
)
|
|
@@ -2859,7 +2851,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2859
2851
|
/* @__PURE__ */ r.jsx(
|
|
2860
2852
|
Ra,
|
|
2861
2853
|
{
|
|
2862
|
-
t:
|
|
2854
|
+
t: q,
|
|
2863
2855
|
logoUrl: p ? h.config.logoUrl : void 0,
|
|
2864
2856
|
languageSelector: ye,
|
|
2865
2857
|
className: me.kundliHeaderNoBorder
|
|
@@ -2867,11 +2859,11 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2867
2859
|
),
|
|
2868
2860
|
/* @__PURE__ */ r.jsx("div", { className: me.headerSeparator, "aria-hidden": !0 }),
|
|
2869
2861
|
/* @__PURE__ */ r.jsxs("main", { className: me.main, children: [
|
|
2870
|
-
/* @__PURE__ */ r.jsx(ut, { t:
|
|
2862
|
+
/* @__PURE__ */ r.jsx(ut, { t: q, onBack: fe }),
|
|
2871
2863
|
/* @__PURE__ */ r.jsx(
|
|
2872
2864
|
pa,
|
|
2873
2865
|
{
|
|
2874
|
-
t:
|
|
2866
|
+
t: q,
|
|
2875
2867
|
values: Q,
|
|
2876
2868
|
onChange: pe,
|
|
2877
2869
|
atlasSearchLocalities: d,
|
|
@@ -2883,10 +2875,10 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2883
2875
|
/* @__PURE__ */ r.jsx(
|
|
2884
2876
|
Na,
|
|
2885
2877
|
{
|
|
2886
|
-
t:
|
|
2878
|
+
t: q,
|
|
2887
2879
|
values: Q,
|
|
2888
2880
|
phoneIsdCode: T,
|
|
2889
|
-
onProceed:
|
|
2881
|
+
onProceed: V,
|
|
2890
2882
|
onProceedGuidance: ee,
|
|
2891
2883
|
href: re,
|
|
2892
2884
|
originalPriceLabel: de,
|
|
@@ -2899,21 +2891,21 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2899
2891
|
}
|
|
2900
2892
|
),
|
|
2901
2893
|
h?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
|
|
2902
|
-
|
|
2894
|
+
Rn,
|
|
2903
2895
|
{
|
|
2904
2896
|
isOpen: ge,
|
|
2905
2897
|
onClose: () => ue(!1),
|
|
2906
2898
|
selectedPlan: X,
|
|
2907
2899
|
onSelectPlan: be,
|
|
2908
|
-
onProceed: (
|
|
2909
|
-
_e?.(
|
|
2900
|
+
onProceed: (v) => {
|
|
2901
|
+
_e?.(v);
|
|
2910
2902
|
},
|
|
2911
|
-
t:
|
|
2903
|
+
t: q,
|
|
2912
2904
|
analytics: ie
|
|
2913
2905
|
}
|
|
2914
2906
|
)
|
|
2915
2907
|
] });
|
|
2916
|
-
},
|
|
2908
|
+
}, Gn = {
|
|
2917
2909
|
banner_clicked_fe: "banner_clicked_fe",
|
|
2918
2910
|
primary_cta_clicked_fe: "primary_cta_clicked_fe",
|
|
2919
2911
|
language_changed_fe: "language_changed_fe",
|
|
@@ -2953,31 +2945,32 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2953
2945
|
kundli_form_view: "kundli_form_view"
|
|
2954
2946
|
};
|
|
2955
2947
|
export {
|
|
2956
|
-
|
|
2948
|
+
Ia as C,
|
|
2949
|
+
Be as D,
|
|
2957
2950
|
ut as F,
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2951
|
+
Dn as I,
|
|
2952
|
+
Gn as K,
|
|
2953
|
+
lr as L,
|
|
2961
2954
|
br as P,
|
|
2962
2955
|
fr as S,
|
|
2963
2956
|
pa as U,
|
|
2964
2957
|
pr as a,
|
|
2965
2958
|
Ke as b,
|
|
2966
|
-
|
|
2967
|
-
|
|
2959
|
+
Un as c,
|
|
2960
|
+
Mn as d,
|
|
2968
2961
|
it as e,
|
|
2969
|
-
|
|
2962
|
+
lt as f,
|
|
2970
2963
|
nt as g,
|
|
2971
2964
|
Te as h,
|
|
2972
|
-
|
|
2973
|
-
|
|
2965
|
+
On as i,
|
|
2966
|
+
$n as j,
|
|
2974
2967
|
r as k,
|
|
2975
2968
|
Ra as l,
|
|
2976
2969
|
Na as m,
|
|
2977
|
-
|
|
2978
|
-
|
|
2970
|
+
Rn as n,
|
|
2971
|
+
Fn as r,
|
|
2979
2972
|
ot as s,
|
|
2980
2973
|
mr as t,
|
|
2981
|
-
|
|
2974
|
+
qr as u
|
|
2982
2975
|
};
|
|
2983
|
-
//# sourceMappingURL=analytics-
|
|
2976
|
+
//# sourceMappingURL=analytics-Deq0Kl4U.js.map
|