@srimandir/kundli-generator 10.4.0 → 10.4.1-alpha.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-C7q6coqa.js → analytics-Dq972abg.js} +293 -324
- package/dist/analytics-Dq972abg.js.map +1 -0
- package/dist/components/KundliPlanBottomSheet/AstrologerDetails.d.ts +0 -6
- package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuAstrologerProfiles.d.ts +0 -7
- package/dist/components/ThreeSkuPlanBottomSheet/constants.d.ts +3 -3
- package/dist/{criticalCss-Dwemq76K.js → criticalCss-DvHi7anu.js} +3 -14
- package/dist/criticalCss-DvHi7anu.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/package.json +2 -2
- package/dist/analytics-C7q6coqa.js.map +0 -1
- package/dist/criticalCss-Dwemq76K.js.map +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import na, { useContext as oa, createContext as Ta, useState as B, useRef as M, useEffect as q, useMemo as Ee, useCallback as Re, Fragment as Va } from "react";
|
|
2
|
-
import { FormSectionHeader as
|
|
2
|
+
import { FormSectionHeader as za, FooterCTAButton as Qa, FooterShell as Ja, CircularMarquee as Xa, footerShellStyles as Fe, PageHeader as Za } from "@srimandir/astrology-common";
|
|
3
3
|
import { createPortal as et } from "react-dom";
|
|
4
4
|
var Ve = { exports: {} }, He = {};
|
|
5
5
|
var ga;
|
|
6
6
|
function at() {
|
|
7
7
|
if (ga) return He;
|
|
8
8
|
ga = 1;
|
|
9
|
-
var t = na, n = /* @__PURE__ */ Symbol.for("react.element"), i = /* @__PURE__ */ Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, g = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
9
|
+
var t = na, n = /* @__PURE__ */ Symbol.for("react.element"), i = /* @__PURE__ */ Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, g = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
10
10
|
function h(w, b, Y) {
|
|
11
11
|
var D, N = {}, p = null, U = null;
|
|
12
12
|
Y !== void 0 && (p = "" + Y), b.key !== void 0 && (p = "" + b.key), b.ref !== void 0 && (U = b.ref);
|
|
13
|
-
for (D in b) c.call(b, D) && !
|
|
13
|
+
for (D in b) c.call(b, D) && !k.hasOwnProperty(D) && (N[D] = b[D]);
|
|
14
14
|
if (w && w.defaultProps) for (D in b = w.defaultProps, b) N[D] === void 0 && (N[D] = b[D]);
|
|
15
15
|
return { $$typeof: n, type: w, key: p, ref: U, props: N, _owner: g.current };
|
|
16
16
|
}
|
|
@@ -20,8 +20,8 @@ var We = {};
|
|
|
20
20
|
var ba;
|
|
21
21
|
function tt() {
|
|
22
22
|
return ba || (ba = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
23
|
-
var t = na, n = /* @__PURE__ */ Symbol.for("react.element"), i = /* @__PURE__ */ Symbol.for("react.portal"), c = /* @__PURE__ */ Symbol.for("react.fragment"), g = /* @__PURE__ */ Symbol.for("react.strict_mode"),
|
|
24
|
-
function
|
|
23
|
+
var t = na, n = /* @__PURE__ */ Symbol.for("react.element"), i = /* @__PURE__ */ Symbol.for("react.portal"), c = /* @__PURE__ */ Symbol.for("react.fragment"), g = /* @__PURE__ */ Symbol.for("react.strict_mode"), k = /* @__PURE__ */ Symbol.for("react.profiler"), h = /* @__PURE__ */ Symbol.for("react.provider"), w = /* @__PURE__ */ Symbol.for("react.context"), b = /* @__PURE__ */ Symbol.for("react.forward_ref"), Y = /* @__PURE__ */ Symbol.for("react.suspense"), D = /* @__PURE__ */ Symbol.for("react.suspense_list"), N = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), U = /* @__PURE__ */ Symbol.for("react.offscreen"), v = Symbol.iterator, j = "@@iterator";
|
|
24
|
+
function y(a) {
|
|
25
25
|
if (a === null || typeof a != "object")
|
|
26
26
|
return null;
|
|
27
27
|
var s = v && a[v] || a[j];
|
|
@@ -39,16 +39,16 @@ function tt() {
|
|
|
39
39
|
{
|
|
40
40
|
var A = _.ReactDebugCurrentFrame, W = A.getStackAddendum();
|
|
41
41
|
W !== "" && (s += "%s", u = u.concat([W]));
|
|
42
|
-
var
|
|
42
|
+
var J = u.map(function(F) {
|
|
43
43
|
return String(F);
|
|
44
44
|
});
|
|
45
|
-
|
|
45
|
+
J.unshift("Warning: " + s), Function.prototype.apply.call(console[a], console, J);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
var C = !1, V = !1,
|
|
48
|
+
var C = !1, V = !1, x = !1, z = !1, R = !1, E;
|
|
49
49
|
E = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
50
50
|
function se(a) {
|
|
51
|
-
return !!(typeof a == "string" || typeof a == "function" || a === c || a ===
|
|
51
|
+
return !!(typeof a == "string" || typeof a == "function" || a === c || a === k || R || a === g || a === Y || a === D || z || a === U || C || V || x || typeof a == "object" && a !== null && (a.$$typeof === p || a.$$typeof === N || a.$$typeof === h || a.$$typeof === w || a.$$typeof === b || // This needs to include all possible module reference object
|
|
52
52
|
// types supported by any Flight configuration anywhere since
|
|
53
53
|
// we don't know which Flight build this will end up being used
|
|
54
54
|
// with.
|
|
@@ -76,7 +76,7 @@ function tt() {
|
|
|
76
76
|
return "Fragment";
|
|
77
77
|
case i:
|
|
78
78
|
return "Portal";
|
|
79
|
-
case
|
|
79
|
+
case k:
|
|
80
80
|
return "Profiler";
|
|
81
81
|
case g:
|
|
82
82
|
return "StrictMode";
|
|
@@ -99,9 +99,9 @@ function tt() {
|
|
|
99
99
|
var A = a.displayName || null;
|
|
100
100
|
return A !== null ? A : I(a.type) || "Memo";
|
|
101
101
|
case p: {
|
|
102
|
-
var W = a,
|
|
102
|
+
var W = a, J = W._payload, F = W._init;
|
|
103
103
|
try {
|
|
104
|
-
return I(F(
|
|
104
|
+
return I(F(J));
|
|
105
105
|
} catch {
|
|
106
106
|
return null;
|
|
107
107
|
}
|
|
@@ -202,8 +202,8 @@ function tt() {
|
|
|
202
202
|
H = !0;
|
|
203
203
|
var W = Error.prepareStackTrace;
|
|
204
204
|
Error.prepareStackTrace = void 0;
|
|
205
|
-
var
|
|
206
|
-
|
|
205
|
+
var J;
|
|
206
|
+
J = pe.current, pe.current = null, je();
|
|
207
207
|
try {
|
|
208
208
|
if (s) {
|
|
209
209
|
var F = function() {
|
|
@@ -256,7 +256,7 @@ function tt() {
|
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
} finally {
|
|
259
|
-
H = !1, pe.current =
|
|
259
|
+
H = !1, pe.current = J, _e(), Error.prepareStackTrace = W;
|
|
260
260
|
}
|
|
261
261
|
var Ge = a ? a.displayName || a.name : "", Ie = Ge ? oe(Ge) : "";
|
|
262
262
|
return typeof a == "function" && me.set(a, Ie), Ie;
|
|
@@ -288,28 +288,28 @@ function tt() {
|
|
|
288
288
|
case N:
|
|
289
289
|
return Ne(a.type, s, u);
|
|
290
290
|
case p: {
|
|
291
|
-
var A = a, W = A._payload,
|
|
291
|
+
var A = a, W = A._payload, J = A._init;
|
|
292
292
|
try {
|
|
293
|
-
return Ne(
|
|
293
|
+
return Ne(J(W), s, u);
|
|
294
294
|
} catch {
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
298
|
return "";
|
|
299
299
|
}
|
|
300
|
-
var
|
|
301
|
-
function
|
|
300
|
+
var Pe = Object.prototype.hasOwnProperty, ke = {}, ye = _.ReactDebugCurrentFrame;
|
|
301
|
+
function xe(a) {
|
|
302
302
|
if (a) {
|
|
303
303
|
var s = a._owner, u = Ne(a.type, a._source, s ? s.type : null);
|
|
304
|
-
|
|
304
|
+
ye.setExtraStackFrame(u);
|
|
305
305
|
} else
|
|
306
|
-
|
|
306
|
+
ye.setExtraStackFrame(null);
|
|
307
307
|
}
|
|
308
308
|
function Be(a, s, u, A, W) {
|
|
309
309
|
{
|
|
310
|
-
var
|
|
310
|
+
var J = Function.call.bind(Pe);
|
|
311
311
|
for (var F in a)
|
|
312
|
-
if (
|
|
312
|
+
if (J(a, F)) {
|
|
313
313
|
var L = void 0;
|
|
314
314
|
try {
|
|
315
315
|
if (typeof a[F] != "function") {
|
|
@@ -320,12 +320,12 @@ function tt() {
|
|
|
320
320
|
} catch (le) {
|
|
321
321
|
L = le;
|
|
322
322
|
}
|
|
323
|
-
L && !(L instanceof Error) && (
|
|
323
|
+
L && !(L instanceof Error) && (xe(W), S("%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).", A || "React class", u, F, typeof L), xe(null)), L instanceof Error && !(L.message in ke) && (ke[L.message] = !0, xe(W), S("Failed %s type: %s", u, L.message), xe(null));
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
var De = Array.isArray;
|
|
328
|
-
function
|
|
328
|
+
function P(a) {
|
|
329
329
|
return De(a);
|
|
330
330
|
}
|
|
331
331
|
function l(a) {
|
|
@@ -353,17 +353,17 @@ function tt() {
|
|
|
353
353
|
ref: !0,
|
|
354
354
|
__self: !0,
|
|
355
355
|
__source: !0
|
|
356
|
-
},
|
|
356
|
+
}, Q, Se;
|
|
357
357
|
function $e(a) {
|
|
358
|
-
if (
|
|
358
|
+
if (Pe.call(a, "ref")) {
|
|
359
359
|
var s = Object.getOwnPropertyDescriptor(a, "ref").get;
|
|
360
360
|
if (s && s.isReactWarning)
|
|
361
361
|
return !1;
|
|
362
362
|
}
|
|
363
363
|
return a.ref !== void 0;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
366
|
-
if (
|
|
365
|
+
function Qe(a) {
|
|
366
|
+
if (Pe.call(a, "key")) {
|
|
367
367
|
var s = Object.getOwnPropertyDescriptor(a, "key").get;
|
|
368
368
|
if (s && s.isReactWarning)
|
|
369
369
|
return !1;
|
|
@@ -376,7 +376,7 @@ function tt() {
|
|
|
376
376
|
function Da(a, s) {
|
|
377
377
|
{
|
|
378
378
|
var u = function() {
|
|
379
|
-
|
|
379
|
+
Q || (Q = !0, S("%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)", s));
|
|
380
380
|
};
|
|
381
381
|
u.isReactWarning = !0, Object.defineProperty(a, "key", {
|
|
382
382
|
get: u,
|
|
@@ -395,7 +395,7 @@ function tt() {
|
|
|
395
395
|
});
|
|
396
396
|
}
|
|
397
397
|
}
|
|
398
|
-
var Ia = function(a, s, u, A, W,
|
|
398
|
+
var Ia = function(a, s, u, A, W, J, F) {
|
|
399
399
|
var L = {
|
|
400
400
|
// This tag allows us to uniquely identify this as a React Element
|
|
401
401
|
$$typeof: n,
|
|
@@ -405,7 +405,7 @@ function tt() {
|
|
|
405
405
|
ref: u,
|
|
406
406
|
props: F,
|
|
407
407
|
// Record the component responsible for creating this element.
|
|
408
|
-
_owner:
|
|
408
|
+
_owner: J
|
|
409
409
|
};
|
|
410
410
|
return L._store = {}, Object.defineProperty(L._store, "validated", {
|
|
411
411
|
configurable: !1,
|
|
@@ -426,14 +426,14 @@ function tt() {
|
|
|
426
426
|
};
|
|
427
427
|
function Fa(a, s, u, A, W) {
|
|
428
428
|
{
|
|
429
|
-
var
|
|
430
|
-
u !== void 0 && (be(u), L = "" + u),
|
|
431
|
-
for (
|
|
432
|
-
|
|
429
|
+
var J, F = {}, L = null, ve = null;
|
|
430
|
+
u !== void 0 && (be(u), L = "" + u), Qe(s) && (be(s.key), L = "" + s.key), $e(s) && (ve = s.ref, Ba(s, W));
|
|
431
|
+
for (J in s)
|
|
432
|
+
Pe.call(s, J) && !d.hasOwnProperty(J) && (F[J] = s[J]);
|
|
433
433
|
if (a && a.defaultProps) {
|
|
434
434
|
var le = a.defaultProps;
|
|
435
|
-
for (
|
|
436
|
-
F[
|
|
435
|
+
for (J in le)
|
|
436
|
+
F[J] === void 0 && (F[J] = le[J]);
|
|
437
437
|
}
|
|
438
438
|
if (L || ve) {
|
|
439
439
|
var de = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
|
|
@@ -442,7 +442,7 @@ function tt() {
|
|
|
442
442
|
return Ia(a, L, ve, W, A, r.current, F);
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
|
-
var
|
|
445
|
+
var Je = _.ReactCurrentOwner, ca = _.ReactDebugCurrentFrame;
|
|
446
446
|
function Ue(a) {
|
|
447
447
|
if (a) {
|
|
448
448
|
var s = a._owner, u = Ne(a.type, a._source, s ? s.type : null);
|
|
@@ -457,8 +457,8 @@ function tt() {
|
|
|
457
457
|
}
|
|
458
458
|
function da() {
|
|
459
459
|
{
|
|
460
|
-
if (
|
|
461
|
-
var a = I(
|
|
460
|
+
if (Je.current) {
|
|
461
|
+
var a = I(Je.current.type);
|
|
462
462
|
if (a)
|
|
463
463
|
return `
|
|
464
464
|
|
|
@@ -493,14 +493,14 @@ Check the top-level render call using <` + u + ">.");
|
|
|
493
493
|
return;
|
|
494
494
|
ua[u] = !0;
|
|
495
495
|
var A = "";
|
|
496
|
-
a && a._owner && a._owner !==
|
|
496
|
+
a && a._owner && a._owner !== Je.current && (A = " It was passed a child from " + I(a._owner.type) + "."), Ue(a), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, A), Ue(null);
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
function ma(a, s) {
|
|
500
500
|
{
|
|
501
501
|
if (typeof a != "object")
|
|
502
502
|
return;
|
|
503
|
-
if (
|
|
503
|
+
if (P(a))
|
|
504
504
|
for (var u = 0; u < a.length; u++) {
|
|
505
505
|
var A = a[u];
|
|
506
506
|
Ze(A) && pa(A, s);
|
|
@@ -508,9 +508,9 @@ Check the top-level render call using <` + u + ">.");
|
|
|
508
508
|
else if (Ze(a))
|
|
509
509
|
a._store && (a._store.validated = !0);
|
|
510
510
|
else if (a) {
|
|
511
|
-
var W =
|
|
511
|
+
var W = y(a);
|
|
512
512
|
if (typeof W == "function" && W !== a.entries)
|
|
513
|
-
for (var
|
|
513
|
+
for (var J = W.call(a), F; !(F = J.next()).done; )
|
|
514
514
|
Ze(F.value) && pa(F.value, s);
|
|
515
515
|
}
|
|
516
516
|
}
|
|
@@ -553,7 +553,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
var fa = {};
|
|
556
|
-
function ha(a, s, u, A, W,
|
|
556
|
+
function ha(a, s, u, A, W, J) {
|
|
557
557
|
{
|
|
558
558
|
var F = se(a);
|
|
559
559
|
if (!F) {
|
|
@@ -562,16 +562,16 @@ Check the top-level render call using <` + u + ">.");
|
|
|
562
562
|
var ve = Ma();
|
|
563
563
|
ve ? L += ve : L += da();
|
|
564
564
|
var le;
|
|
565
|
-
a === null ? le = "null" :
|
|
565
|
+
a === null ? le = "null" : P(a) ? le = "array" : a !== void 0 && a.$$typeof === n ? (le = "<" + (I(a.type) || "Unknown") + " />", L = " Did you accidentally export a JSX literal instead of a component?") : le = typeof a, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", le, L);
|
|
566
566
|
}
|
|
567
|
-
var de = Fa(a, s, u, W,
|
|
567
|
+
var de = Fa(a, s, u, W, J);
|
|
568
568
|
if (de == null)
|
|
569
569
|
return de;
|
|
570
570
|
if (F) {
|
|
571
571
|
var Ce = s.children;
|
|
572
572
|
if (Ce !== void 0)
|
|
573
573
|
if (A)
|
|
574
|
-
if (
|
|
574
|
+
if (P(Ce)) {
|
|
575
575
|
for (var Ge = 0; Ge < Ce.length; Ge++)
|
|
576
576
|
ma(Ce[Ge], a);
|
|
577
577
|
Object.freeze && Object.freeze(Ce);
|
|
@@ -580,7 +580,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
580
580
|
else
|
|
581
581
|
ma(Ce, a);
|
|
582
582
|
}
|
|
583
|
-
if (
|
|
583
|
+
if (Pe.call(s, "key")) {
|
|
584
584
|
var Ie = I(a), Ae = Object.keys(s).filter(function(Ya) {
|
|
585
585
|
return Ya !== "key";
|
|
586
586
|
}), ea = Ae.length > 0 ? "{key: someKey, " + Ae.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
@@ -623,7 +623,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
623
623
|
langLabel: ut,
|
|
624
624
|
langMenu: pt,
|
|
625
625
|
langOption: mt
|
|
626
|
-
},
|
|
626
|
+
}, Pa = [
|
|
627
627
|
"en",
|
|
628
628
|
"hi",
|
|
629
629
|
"gu",
|
|
@@ -631,7 +631,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
631
631
|
"ta",
|
|
632
632
|
"te",
|
|
633
633
|
"kn"
|
|
634
|
-
],
|
|
634
|
+
], ka = {
|
|
635
635
|
en: "English",
|
|
636
636
|
hi: "हिन्दी",
|
|
637
637
|
gu: "ગુજરાતી",
|
|
@@ -857,7 +857,6 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
857
857
|
planFeatureTailoredRemedies: "Remedies & timelines tailored to your unique birth chart",
|
|
858
858
|
// Astrologer Card
|
|
859
859
|
planAstrologerExp: "{{years}} Years of experience",
|
|
860
|
-
planAstrologerCertCertifiedJyotish: "Certified Jyotish Acharya",
|
|
861
860
|
planAstrologerCertAccurateSolutions: "Guaranteed accurate solutions",
|
|
862
861
|
planAstrologerCertVedicAstrology: "12+ Years Vedic Astrology",
|
|
863
862
|
planAstrologerCertResultOriented: "Result-Oriented Solutions",
|
|
@@ -866,8 +865,6 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
866
865
|
planAstrologerCertKundliBhavfal: "Kundli Report & Bhavfal Specialist",
|
|
867
866
|
planAstrologerCertAccurateKundliMatching: "Accurate Kundli Matching",
|
|
868
867
|
//astro name
|
|
869
|
-
planAstrologerNameJyoti: "Jyoti Acharya Neeraj",
|
|
870
|
-
planAstrologerExpJyoti: "18+ Years of experience",
|
|
871
868
|
planAstrologerNameSamiksha: "Ashwini",
|
|
872
869
|
planAstrologerExpSamiksha: "12+ Years of experience",
|
|
873
870
|
planAstrologerNameNeeraj: "Meenakshi",
|
|
@@ -1094,7 +1091,6 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1094
1091
|
planFeatureTailoredRemedies: "आपकी कुंडली के हिसाब से उपाय और सही समय की जानकारी",
|
|
1095
1092
|
// Astrologer Card
|
|
1096
1093
|
planAstrologerExp: "साल का अनुभव",
|
|
1097
|
-
planAstrologerCertCertifiedJyotish: "प्रमाणित ज्योतिष आचार्य",
|
|
1098
1094
|
planAstrologerCertAccurateSolutions: "सटीक समाधान की गारंटी",
|
|
1099
1095
|
planAstrologerCertVedicAstrology: "12+ साल का वैदिक ज्योतिष",
|
|
1100
1096
|
planAstrologerCertResultOriented: "नतीजों पर आधारित समाधान",
|
|
@@ -1103,8 +1099,6 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1103
1099
|
planAstrologerCertKundliBhavfal: "कुंडली रिपोर्ट और भावफल विशेषज्ञ",
|
|
1104
1100
|
planAstrologerCertAccurateKundliMatching: "महर्षि पराशर ज्योतिष विद्यालय से प्रशिक्षित",
|
|
1105
1101
|
//astro name
|
|
1106
|
-
planAstrologerNameJyoti: "ज्योतिष आचार्य नीरज",
|
|
1107
|
-
planAstrologerExpJyoti: "18+ साल का अनुभव",
|
|
1108
1102
|
planAstrologerNameSamiksha: "अश्विनी",
|
|
1109
1103
|
planAstrologerExpSamiksha: "12+ साल का अनुभव",
|
|
1110
1104
|
planAstrologerNameNeeraj: "मीनाक्षी",
|
|
@@ -1325,7 +1319,6 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1325
1319
|
planFeatureRealTimeAnswers: "तुमच्या प्रमुख चिंतांवर त्वरित उत्तरे आणि मार्गदर्शन",
|
|
1326
1320
|
planFeatureTailoredRemedies: "तुमच्या जन्मकुंडलीनुसार खास उपाय आणि योग्य वेळेची माहिती",
|
|
1327
1321
|
planAstrologerExp: "{{years}} वर्षांचा अनुभव",
|
|
1328
|
-
planAstrologerCertCertifiedJyotish: "प्रमाणित ज्योतिष आचार्य",
|
|
1329
1322
|
planAstrologerCertAccurateSolutions: "अचूक उपायांची हमी",
|
|
1330
1323
|
planAstrologerCertVedicAstrology: "वैदिक ज्योतिषातील 12+ वर्षांचा अनुभव",
|
|
1331
1324
|
planAstrologerCertResultOriented: "परिणामकारक उपाय",
|
|
@@ -1333,8 +1326,6 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1333
1326
|
planAstrologerCertMantraRudraksha: "मंत्र आणि रुद्राक्ष तज्ज्ञ",
|
|
1334
1327
|
planAstrologerCertKundliBhavfal: "कुंडली अहवाल आणि भावफल तज्ज्ञ",
|
|
1335
1328
|
planAstrologerCertAccurateKundliMatching: "अचूक कुंडली जुळवणी",
|
|
1336
|
-
planAstrologerNameJyoti: "ज्योतिष आचार्य नीरज",
|
|
1337
|
-
planAstrologerExpJyoti: "18+ वर्षांचा अनुभव",
|
|
1338
1329
|
planAstrologerNameSamiksha: "अश्विनी",
|
|
1339
1330
|
planAstrologerExpSamiksha: "12+ वर्षांचा अनुभव",
|
|
1340
1331
|
planAstrologerNameNeeraj: "मीनाक्षी",
|
|
@@ -1555,7 +1546,6 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1555
1546
|
planFeatureRealTimeAnswers: "તમારી જીવનની સૌથી મોટી ચિંતાઓ માટે તાત્કાલિક જવાબો અને માર્ગદર્શન મેળવો",
|
|
1556
1547
|
planFeatureTailoredRemedies: "તમારી અનોખી જન્મકુંડળી પ્રમાણે ઉપાયો અને યોગ્ય સમયની જાણકારી",
|
|
1557
1548
|
planAstrologerExp: "{{years}} વર્ષનો અનુભવ",
|
|
1558
|
-
planAstrologerCertCertifiedJyotish: "પ્રમાણિત જ્યોતિષ આચાર્ય",
|
|
1559
1549
|
planAstrologerCertAccurateSolutions: "સચોટ ઉપાયોની ખાતરી",
|
|
1560
1550
|
planAstrologerCertVedicAstrology: "વૈદિક જ્યોતિષમાં 12+ વર્ષનો અનુભવ",
|
|
1561
1551
|
planAstrologerCertResultOriented: "પરિણામલક્ષી ઉપાયો",
|
|
@@ -1563,8 +1553,6 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1563
1553
|
planAstrologerCertMantraRudraksha: "મંત્ર અને રુદ્રાક્ષ નિષ્ણાત",
|
|
1564
1554
|
planAstrologerCertKundliBhavfal: "કુંડળી રિપોર્ટ અને ભાવફળ નિષ્ણાત",
|
|
1565
1555
|
planAstrologerCertAccurateKundliMatching: "સચોટ કુંડળી મેળાપ",
|
|
1566
|
-
planAstrologerNameJyoti: "જ્યોતિ આચાર્ય નીરજ",
|
|
1567
|
-
planAstrologerExpJyoti: "18+ વર્ષનો અનુભવ",
|
|
1568
1556
|
planAstrologerNameSamiksha: "અશ્વિની",
|
|
1569
1557
|
planAstrologerExpSamiksha: "12+ વર્ષનો અનુભવ",
|
|
1570
1558
|
planAstrologerNameNeeraj: "મીનાક્ષી",
|
|
@@ -1785,7 +1773,6 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1785
1773
|
planFeatureRealTimeAnswers: "ನಿಮ್ಮ ಜೀವನದ ಪ್ರಮುಖ ಚಿಂತೆಗಳಿಗೆ ತಕ್ಷಣದ ಉತ್ತರಗಳು ಮತ್ತು ಮಾರ್ಗದರ್ಶನ ಪಡೆಯಿರಿ",
|
|
1786
1774
|
planFeatureTailoredRemedies: "ನಿಮ್ಮ ವಿಶಿಷ್ಟ ಜನ್ಮ ಕುಂಡಲಿಗೆ ಅನುಗುಣವಾದ ಪರಿಹಾರಗಳು ಮತ್ತು ಸೂಕ್ತ ಸಮಯದ ಮಾಹಿತಿ",
|
|
1787
1775
|
planAstrologerExp: "{{years}} ವರ್ಷಗಳ ಅನುಭವ",
|
|
1788
|
-
planAstrologerCertCertifiedJyotish: "ಪ್ರಮಾಣೀಕೃತ ಜ್ಯೋತಿಷ ಆಚಾರ್ಯ",
|
|
1789
1776
|
planAstrologerCertAccurateSolutions: "ನಿಖರ ಪರಿಹಾರಗಳ ಭರವಸೆ",
|
|
1790
1777
|
planAstrologerCertVedicAstrology: "ವೈದಿಕ ಜ್ಯೋತಿಷ್ಯದಲ್ಲಿ 12+ ವರ್ಷಗಳ ಅನುಭವ",
|
|
1791
1778
|
planAstrologerCertResultOriented: "ಫಲಿತಾಂಶ ಆಧಾರಿತ ಪರಿಹಾರಗಳು",
|
|
@@ -1793,8 +1780,6 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1793
1780
|
planAstrologerCertMantraRudraksha: "ಮಂತ್ರ ಮತ್ತು ರುದ್ರಾಕ್ಷ ತಜ್ಞರು",
|
|
1794
1781
|
planAstrologerCertKundliBhavfal: "ಕುಂಡಲಿ ವರದಿ ಮತ್ತು ಭಾವಫಲ ತಜ್ಞ",
|
|
1795
1782
|
planAstrologerCertAccurateKundliMatching: "ನಿಖರ ಕುಂಡಲಿ ಹೊಂದಾಣಿಕೆ",
|
|
1796
|
-
planAstrologerNameJyoti: "ಜ್ಯೋತಿ ಆಚಾರ್ಯ ನೀರಜ್",
|
|
1797
|
-
planAstrologerExpJyoti: "18+ ವರ್ಷಗಳ ಅನುಭವ",
|
|
1798
1783
|
planAstrologerNameSamiksha: "ಅಶ್ವಿನಿ",
|
|
1799
1784
|
planAstrologerExpSamiksha: "12+ ವರ್ಷಗಳ ಅನುಭವ",
|
|
1800
1785
|
planAstrologerNameNeeraj: "ಮೀನಾಕ್ಷಿ",
|
|
@@ -1804,7 +1789,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
1804
1789
|
and: "ಮತ್ತು",
|
|
1805
1790
|
astrologyGuidance: "ಜ್ಯೋತಿಷ್ಯ ಮಾರ್ಗದರ್ಶನ",
|
|
1806
1791
|
selectPackage: "ಪ್ಯಾಕೇಜ್ ಆಯ್ಕೆಮಾಡಿ"
|
|
1807
|
-
},
|
|
1792
|
+
}, kt = {
|
|
1808
1793
|
kundli: "ஜாதகம்",
|
|
1809
1794
|
birthChart: "பிறப்பு ஜாதகம்",
|
|
1810
1795
|
details: "விவரங்கள்",
|
|
@@ -2015,7 +2000,6 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
2015
2000
|
planFeatureRealTimeAnswers: "உங்கள் முக்கியத் கவலைகளுக்கு உடனடி பதில்களும் வழிகாட்டுதலும்",
|
|
2016
2001
|
planFeatureTailoredRemedies: "உங்கள் பிறப்பு ஜாதகத்திற்கு ஏற்ற பரிகாரங்கள் மற்றும் சரியான நேரம் பற்றிய தகவல்கள்",
|
|
2017
2002
|
planAstrologerExp: "{{years}} ஆண்டுகள் அனுபவம்",
|
|
2018
|
-
planAstrologerCertCertifiedJyotish: "சான்றளிக்கப்பட்ட ஜோதிட ஆசார்யர்",
|
|
2019
2003
|
planAstrologerCertAccurateSolutions: "துல்லியமான தீர்வுகளுக்கான உறுதி",
|
|
2020
2004
|
planAstrologerCertVedicAstrology: "வேத ஜோதிடத்தில் 12+ ஆண்டுகள் அனுபவம்",
|
|
2021
2005
|
planAstrologerCertResultOriented: "பலன் தரும் தீர்வுகள்",
|
|
@@ -2023,8 +2007,6 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
2023
2007
|
planAstrologerCertMantraRudraksha: "மந்திரம் மற்றும் ருத்ராட்ச நிபுணர்",
|
|
2024
2008
|
planAstrologerCertKundliBhavfal: "ஜாதக அறிக்கை மற்றும் பாவபல நிபுணர்",
|
|
2025
2009
|
planAstrologerCertAccurateKundliMatching: "துல்லியமான ஜாதகப் பொருத்தம்",
|
|
2026
|
-
planAstrologerNameJyoti: "ஜோதிட ஆசார்யர் நீரஜ்",
|
|
2027
|
-
planAstrologerExpJyoti: "18+ ஆண்டுகள் அனுபவம்",
|
|
2028
2010
|
planAstrologerNameSamiksha: "அஷ்வினி",
|
|
2029
2011
|
planAstrologerExpSamiksha: "12+ ஆண்டுகள் அனுபவம்",
|
|
2030
2012
|
planAstrologerNameNeeraj: "மீனாட்சி",
|
|
@@ -2034,7 +2016,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
2034
2016
|
and: "மற்றும்",
|
|
2035
2017
|
astrologyGuidance: "ஜோதிட வழிகாட்டுதல்",
|
|
2036
2018
|
selectPackage: "தொகுப்பைத் தேர்ந்தெடுக்கவும்"
|
|
2037
|
-
},
|
|
2019
|
+
}, yt = {
|
|
2038
2020
|
kundli: "జాతకం",
|
|
2039
2021
|
birthChart: "జన్మ జాతకం",
|
|
2040
2022
|
details: "వివరాలు",
|
|
@@ -2245,7 +2227,6 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
2245
2227
|
planFeatureRealTimeAnswers: "మీ ముఖ్యమైన జీవిత సమస్యలకు తక్షణ సమాధానాలు మరియు మార్గదర్శకత్వం",
|
|
2246
2228
|
planFeatureTailoredRemedies: "మీ జాతకానికి అనుగుణంగా పరిహారాలు & సమయ పట్టికలు",
|
|
2247
2229
|
planAstrologerExp: "{{years}} సంవత్సరాల అనుభవం",
|
|
2248
|
-
planAstrologerCertCertifiedJyotish: "సర్టిఫైడ్ జ్యోతిష్ ఆచార్య",
|
|
2249
2230
|
planAstrologerCertAccurateSolutions: "నమ్మకమైన, ఖచ్చితమైన పరిష్కారాలు",
|
|
2250
2231
|
planAstrologerCertVedicAstrology: "12+ సంవత్సరాల వేద జ్యోతిష్య అనుభవం",
|
|
2251
2232
|
planAstrologerCertResultOriented: "ఫలితాల ఆధారిత పరిష్కారాలు",
|
|
@@ -2253,8 +2234,6 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
2253
2234
|
planAstrologerCertMantraRudraksha: "మంత్ర మరియు రుద్రాక్ష నిపుణుడు",
|
|
2254
2235
|
planAstrologerCertKundliBhavfal: "జాతక నివేదిక మరియు భావఫల నిపుణుడు",
|
|
2255
2236
|
planAstrologerCertAccurateKundliMatching: "ఖచ్చితమైన జాతక సరిపోలిక",
|
|
2256
|
-
planAstrologerNameJyoti: "జ్యోతి ఆచార్య నీరజ్",
|
|
2257
|
-
planAstrologerExpJyoti: "18+ సంవత్సరాల అనుభవం",
|
|
2258
2237
|
planAstrologerNameSamiksha: "అశ్వినీ",
|
|
2259
2238
|
planAstrologerExpSamiksha: "12+ సంవత్సరాల అనుభవం",
|
|
2260
2239
|
planAstrologerNameNeeraj: "మీనాక్షి",
|
|
@@ -2264,34 +2243,34 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
|
|
|
2264
2243
|
and: "మరియు",
|
|
2265
2244
|
astrologyGuidance: "జ్యోతిష్య మార్గదర్శకం",
|
|
2266
2245
|
selectPackage: "ప్యాకేజీని ఎంచుకోండి"
|
|
2267
|
-
},
|
|
2246
|
+
}, xa = {
|
|
2268
2247
|
en: ft,
|
|
2269
2248
|
hi: ht,
|
|
2270
2249
|
mr: gt,
|
|
2271
2250
|
// Dropdown/type support only for now — copy falls back to English until
|
|
2272
2251
|
// real gu/ta/te/kn translations are written.
|
|
2273
2252
|
gu: bt,
|
|
2274
|
-
ta:
|
|
2275
|
-
te:
|
|
2253
|
+
ta: kt,
|
|
2254
|
+
te: yt,
|
|
2276
2255
|
kn: _t
|
|
2277
2256
|
}, wa = Ta(null), Ai = ({
|
|
2278
2257
|
locale: t,
|
|
2279
2258
|
children: n
|
|
2280
2259
|
}) => {
|
|
2281
|
-
const c = { locale: t, t: (g) =>
|
|
2260
|
+
const c = { locale: t, t: (g) => xa[t]?.[g] };
|
|
2282
2261
|
return /* @__PURE__ */ e.jsx(wa.Provider, { value: c, children: n });
|
|
2283
2262
|
};
|
|
2284
2263
|
function vt() {
|
|
2285
2264
|
return oa(wa);
|
|
2286
2265
|
}
|
|
2287
2266
|
const Ye = (t) => {
|
|
2288
|
-
const { priority: n, fetchPriority: i, width: c, height: g, ...
|
|
2267
|
+
const { priority: n, fetchPriority: i, width: c, height: g, ...k } = t;
|
|
2289
2268
|
return na.createElement("img", {
|
|
2290
|
-
...
|
|
2269
|
+
...k,
|
|
2291
2270
|
width: c ?? 1,
|
|
2292
2271
|
height: g ?? 1,
|
|
2293
2272
|
decoding: "async",
|
|
2294
|
-
loading:
|
|
2273
|
+
loading: k.loading ?? (n ? "eager" : "lazy"),
|
|
2295
2274
|
...i && { fetchPriority: i }
|
|
2296
2275
|
});
|
|
2297
2276
|
};
|
|
@@ -2318,7 +2297,7 @@ function Ti(t) {
|
|
|
2318
2297
|
} catch {
|
|
2319
2298
|
}
|
|
2320
2299
|
}
|
|
2321
|
-
function
|
|
2300
|
+
function Pi() {
|
|
2322
2301
|
if (typeof window > "u" || !window.localStorage)
|
|
2323
2302
|
return !1;
|
|
2324
2303
|
try {
|
|
@@ -2329,11 +2308,11 @@ function xi() {
|
|
|
2329
2308
|
}
|
|
2330
2309
|
}
|
|
2331
2310
|
const Sa = "kundli_language";
|
|
2332
|
-
function
|
|
2311
|
+
function Pt() {
|
|
2333
2312
|
const t = At(Sa);
|
|
2334
|
-
return t &&
|
|
2313
|
+
return t && Pa.includes(t) ? t : null;
|
|
2335
2314
|
}
|
|
2336
|
-
function
|
|
2315
|
+
function xt(t) {
|
|
2337
2316
|
Tt(Sa, t);
|
|
2338
2317
|
}
|
|
2339
2318
|
const ia = Ta(null), wt = {
|
|
@@ -2347,13 +2326,13 @@ const ia = Ta(null), wt = {
|
|
|
2347
2326
|
birthTime: "",
|
|
2348
2327
|
birthTimeUnknown: !1,
|
|
2349
2328
|
birthPlace: ""
|
|
2350
|
-
},
|
|
2329
|
+
}, xi = ({
|
|
2351
2330
|
locale: t,
|
|
2352
2331
|
showLanguageSelector: n = !0,
|
|
2353
2332
|
showSheet: i,
|
|
2354
2333
|
userId: c,
|
|
2355
2334
|
isGlobal: g,
|
|
2356
|
-
variant:
|
|
2335
|
+
variant: k,
|
|
2357
2336
|
initialFormValues: h,
|
|
2358
2337
|
autoOpenPlanSheet: w,
|
|
2359
2338
|
googleMapsApiKey: b,
|
|
@@ -2364,14 +2343,14 @@ const ia = Ta(null), wt = {
|
|
|
2364
2343
|
logoUrl: U,
|
|
2365
2344
|
reportImageUrl: v,
|
|
2366
2345
|
reportImagePriority: j,
|
|
2367
|
-
backgroundImagePriority:
|
|
2346
|
+
backgroundImagePriority: y,
|
|
2368
2347
|
universityLogoUrls: _,
|
|
2369
2348
|
sampleReportHref: S,
|
|
2370
2349
|
onViewSampleReport: te,
|
|
2371
2350
|
ctaHref: C,
|
|
2372
2351
|
onCtaClick: V,
|
|
2373
|
-
onBack:
|
|
2374
|
-
readMoreReviewsHref:
|
|
2352
|
+
onBack: x,
|
|
2353
|
+
readMoreReviewsHref: z,
|
|
2375
2354
|
onProceed: R,
|
|
2376
2355
|
proceedHref: E,
|
|
2377
2356
|
originalPriceLabel: se,
|
|
@@ -2392,10 +2371,10 @@ const ia = Ta(null), wt = {
|
|
|
2392
2371
|
}), ge = M(!0);
|
|
2393
2372
|
q(() => {
|
|
2394
2373
|
if (t) return;
|
|
2395
|
-
const fe =
|
|
2374
|
+
const fe = Pt();
|
|
2396
2375
|
fe && je(fe);
|
|
2397
2376
|
}, []), q(() => {
|
|
2398
|
-
|
|
2377
|
+
xt(ne);
|
|
2399
2378
|
}, [ne]), q(() => {
|
|
2400
2379
|
if (ge.current) {
|
|
2401
2380
|
ge.current = !1;
|
|
@@ -2410,7 +2389,7 @@ const ia = Ta(null), wt = {
|
|
|
2410
2389
|
showSheet: i,
|
|
2411
2390
|
userId: c,
|
|
2412
2391
|
isGlobal: g,
|
|
2413
|
-
variant:
|
|
2392
|
+
variant: k,
|
|
2414
2393
|
initialFormValues: h,
|
|
2415
2394
|
autoOpenPlanSheet: w,
|
|
2416
2395
|
googleMapsApiKey: b,
|
|
@@ -2421,14 +2400,14 @@ const ia = Ta(null), wt = {
|
|
|
2421
2400
|
logoUrl: U,
|
|
2422
2401
|
reportImageUrl: v,
|
|
2423
2402
|
reportImagePriority: j,
|
|
2424
|
-
backgroundImagePriority:
|
|
2403
|
+
backgroundImagePriority: y,
|
|
2425
2404
|
universityLogoUrls: _,
|
|
2426
2405
|
sampleReportHref: S,
|
|
2427
2406
|
onViewSampleReport: te,
|
|
2428
2407
|
ctaHref: C,
|
|
2429
2408
|
onCtaClick: V,
|
|
2430
|
-
onBack:
|
|
2431
|
-
readMoreReviewsHref:
|
|
2409
|
+
onBack: x,
|
|
2410
|
+
readMoreReviewsHref: z,
|
|
2432
2411
|
onProceed: R,
|
|
2433
2412
|
proceedHref: E,
|
|
2434
2413
|
originalPriceLabel: se,
|
|
@@ -2448,7 +2427,7 @@ const ia = Ta(null), wt = {
|
|
|
2448
2427
|
i,
|
|
2449
2428
|
c,
|
|
2450
2429
|
g,
|
|
2451
|
-
|
|
2430
|
+
k,
|
|
2452
2431
|
h,
|
|
2453
2432
|
w,
|
|
2454
2433
|
b,
|
|
@@ -2459,14 +2438,14 @@ const ia = Ta(null), wt = {
|
|
|
2459
2438
|
U,
|
|
2460
2439
|
v,
|
|
2461
2440
|
j,
|
|
2462
|
-
|
|
2441
|
+
y,
|
|
2463
2442
|
_,
|
|
2464
2443
|
S,
|
|
2465
2444
|
te,
|
|
2466
2445
|
C,
|
|
2467
2446
|
V,
|
|
2468
|
-
|
|
2469
|
-
|
|
2447
|
+
x,
|
|
2448
|
+
z,
|
|
2470
2449
|
R,
|
|
2471
2450
|
E,
|
|
2472
2451
|
se,
|
|
@@ -2512,7 +2491,7 @@ function wi() {
|
|
|
2512
2491
|
);
|
|
2513
2492
|
return t;
|
|
2514
2493
|
}
|
|
2515
|
-
const St = "_header_19172_1", Ct = "_centered_19172_8",
|
|
2494
|
+
const St = "_header_19172_1", Ct = "_centered_19172_8", ya = {
|
|
2516
2495
|
header: St,
|
|
2517
2496
|
centered: Ct
|
|
2518
2497
|
}, Rt = ({
|
|
@@ -2521,15 +2500,15 @@ const St = "_header_19172_1", Ct = "_centered_19172_8", ka = {
|
|
|
2521
2500
|
className: i = "",
|
|
2522
2501
|
align: c = "left"
|
|
2523
2502
|
}) => /* @__PURE__ */ e.jsx(
|
|
2524
|
-
|
|
2503
|
+
za,
|
|
2525
2504
|
{
|
|
2526
2505
|
title: t("formTitle"),
|
|
2527
2506
|
subtitle: t("formSubtitle"),
|
|
2528
2507
|
onBack: n,
|
|
2529
2508
|
backAriaLabel: t("back"),
|
|
2530
|
-
className: `${
|
|
2509
|
+
className: `${ya.header} ${c === "center" ? ya.centered : ""} ${i}`
|
|
2531
2510
|
}
|
|
2532
|
-
), jt = "_wrap_119w3_1", Nt = "_card_119w3_5", Lt = "_cardInner_119w3_12", Bt = "_field_119w3_44", Dt = "_labelRow_119w3_48", Et = "_label_119w3_48", It = "_req_119w3_57", Ft = "_help_119w3_61", Mt = "_choiceRow_119w3_68", Ut = "_choiceBtn_119w3_74", Gt = "_choiceBtnActive_119w3_99", Ot = "_infoBtn_119w3_105", $t = "_infoImg_119w3_122", Ht = "_infoWrap_119w3_128", Wt = "_tooltip_119w3_134", Kt = "_tooltipArrow_119w3_150", qt = "_inputWrap_119w3_161", Yt = "_isdWrap_119w3_165", Vt = "_phoneInputGroup_119w3_169",
|
|
2511
|
+
), jt = "_wrap_119w3_1", Nt = "_card_119w3_5", Lt = "_cardInner_119w3_12", Bt = "_field_119w3_44", Dt = "_labelRow_119w3_48", Et = "_label_119w3_48", It = "_req_119w3_57", Ft = "_help_119w3_61", Mt = "_choiceRow_119w3_68", Ut = "_choiceBtn_119w3_74", Gt = "_choiceBtnActive_119w3_99", Ot = "_infoBtn_119w3_105", $t = "_infoImg_119w3_122", Ht = "_infoWrap_119w3_128", Wt = "_tooltip_119w3_134", Kt = "_tooltipArrow_119w3_150", qt = "_inputWrap_119w3_161", Yt = "_isdWrap_119w3_165", Vt = "_phoneInputGroup_119w3_169", zt = "_isdSelectWrap_119w3_178", Qt = "_isdSelectTrigger_119w3_197", Jt = "_isdDropdown_119w3_214", Xt = "_isdSearchWrap_119w3_229", Zt = "_isdSearchInput_119w3_237", er = "_isdOption_119w3_255", ar = "_isdOptionActive_119w3_275", tr = "_isdCountryName_119w3_281", rr = "_isdCountryCode_119w3_288", nr = "_isdNoResult_119w3_295", or = "_suggestions_119w3_302", ir = "_suggestionItem_119w3_315", lr = "_suggestionMain_119w3_333", sr = "_suggestionSecondary_119w3_339", cr = "_suggestionsHint_119w3_344", dr = "_timePopover_119w3_366", ur = "_timePickerRow_119w3_382", pr = "_timePickerSelect_119w3_388", mr = "_timePickerColon_119w3_404", fr = "_meridiemToggle_119w3_412", hr = "_meridiemBtn_119w3_421", gr = "_meridiemActive_119w3_436", br = "_timePopoverActions_119w3_441", _r = "_timePopoverBtn_119w3_447", kr = "_timePopoverOk_119w3_466", yr = "_input_119w3_161", vr = "_phoneInput_119w3_169", Ar = "_iconBtn_119w3_519", Tr = "_iconBtnInteractive_119w3_525", Pr = "_iconImg_119w3_544", xr = "_checkboxRow_119w3_550", wr = "_checkbox_119w3_550", Sr = "_checkboxText_119w3_588", o = {
|
|
2533
2512
|
wrap: jt,
|
|
2534
2513
|
card: Nt,
|
|
2535
2514
|
cardInner: Lt,
|
|
@@ -2549,9 +2528,9 @@ const St = "_header_19172_1", Ct = "_centered_19172_8", ka = {
|
|
|
2549
2528
|
inputWrap: qt,
|
|
2550
2529
|
isdWrap: Yt,
|
|
2551
2530
|
phoneInputGroup: Vt,
|
|
2552
|
-
isdSelectWrap:
|
|
2553
|
-
isdSelectTrigger:
|
|
2554
|
-
isdDropdown:
|
|
2531
|
+
isdSelectWrap: zt,
|
|
2532
|
+
isdSelectTrigger: Qt,
|
|
2533
|
+
isdDropdown: Jt,
|
|
2555
2534
|
isdSearchWrap: Xt,
|
|
2556
2535
|
isdSearchInput: Zt,
|
|
2557
2536
|
isdOption: er,
|
|
@@ -2573,18 +2552,18 @@ const St = "_header_19172_1", Ct = "_centered_19172_8", ka = {
|
|
|
2573
2552
|
meridiemActive: gr,
|
|
2574
2553
|
timePopoverActions: br,
|
|
2575
2554
|
timePopoverBtn: _r,
|
|
2576
|
-
timePopoverOk:
|
|
2577
|
-
input:
|
|
2555
|
+
timePopoverOk: kr,
|
|
2556
|
+
input: yr,
|
|
2578
2557
|
phoneInput: vr,
|
|
2579
2558
|
iconBtn: Ar,
|
|
2580
2559
|
iconBtnInteractive: Tr,
|
|
2581
|
-
iconImg:
|
|
2582
|
-
checkboxRow:
|
|
2560
|
+
iconImg: Pr,
|
|
2561
|
+
checkboxRow: xr,
|
|
2583
2562
|
checkbox: wr,
|
|
2584
2563
|
checkboxText: Sr
|
|
2585
2564
|
};
|
|
2586
|
-
let
|
|
2587
|
-
const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() :
|
|
2565
|
+
let ze = null;
|
|
2566
|
+
const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : ze || (ze = new Promise((i, c) => {
|
|
2588
2567
|
const g = document.querySelector(
|
|
2589
2568
|
'script[data-google-maps-places="true"]'
|
|
2590
2569
|
);
|
|
@@ -2595,8 +2574,8 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2595
2574
|
);
|
|
2596
2575
|
return;
|
|
2597
2576
|
}
|
|
2598
|
-
const
|
|
2599
|
-
h.searchParams.set("key", t), h.searchParams.set("libraries", "places"), h.searchParams.set("loading", "async"), n && h.searchParams.set("language", n),
|
|
2577
|
+
const k = document.createElement("script"), h = new URL("https://maps.googleapis.com/maps/api/js");
|
|
2578
|
+
h.searchParams.set("key", t), h.searchParams.set("libraries", "places"), h.searchParams.set("loading", "async"), n && h.searchParams.set("language", n), k.src = h.toString(), k.async = !0, k.defer = !0, k.setAttribute("data-google-maps-places", "true"), k.onload = () => {
|
|
2600
2579
|
const w = Date.now(), b = () => {
|
|
2601
2580
|
if (window.google?.maps?.places) {
|
|
2602
2581
|
i();
|
|
@@ -2613,9 +2592,9 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2613
2592
|
window.setTimeout(b, 50);
|
|
2614
2593
|
};
|
|
2615
2594
|
b();
|
|
2616
|
-
},
|
|
2617
|
-
}),
|
|
2618
|
-
const { apiKey: n, language: i = "en", restrictCountry: c, deferLoad: g = !1 } = t, [
|
|
2595
|
+
}, k.onerror = () => c(new Error("Failed to load Google Maps API")), document.head.appendChild(k);
|
|
2596
|
+
}), ze), Rr = (t) => {
|
|
2597
|
+
const { apiKey: n, language: i = "en", restrictCountry: c, deferLoad: g = !1 } = t, [k, h] = B(!1), [w, b] = B([]), [Y, D] = B(!1), [N, p] = B(null), [U, v] = B(!g), j = M(null), y = M(null), _ = M(null), S = Re(() => {
|
|
2619
2598
|
g && v(!0);
|
|
2620
2599
|
}, [g]);
|
|
2621
2600
|
q(() => {
|
|
@@ -2625,29 +2604,29 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2625
2604
|
}
|
|
2626
2605
|
Cr(n, i).then(() => {
|
|
2627
2606
|
j.current = new google.maps.places.AutocompleteService();
|
|
2628
|
-
const
|
|
2629
|
-
|
|
2630
|
-
}).catch((
|
|
2631
|
-
h(!1), p(
|
|
2607
|
+
const x = document.createElement("div");
|
|
2608
|
+
y.current = new google.maps.places.PlacesService(x), _.current = new google.maps.places.AutocompleteSessionToken(), h(!0), p(null);
|
|
2609
|
+
}).catch((x) => {
|
|
2610
|
+
h(!1), p(x?.message || "Failed to load location service");
|
|
2632
2611
|
});
|
|
2633
2612
|
}, [n, i, U]);
|
|
2634
2613
|
const te = Re(
|
|
2635
|
-
async (
|
|
2636
|
-
if (!
|
|
2614
|
+
async (x) => {
|
|
2615
|
+
if (!x || x.length < 2 || !j.current) {
|
|
2637
2616
|
b([]);
|
|
2638
2617
|
return;
|
|
2639
2618
|
}
|
|
2640
2619
|
D(!0);
|
|
2641
2620
|
try {
|
|
2642
|
-
const
|
|
2643
|
-
input:
|
|
2621
|
+
const z = {
|
|
2622
|
+
input: x,
|
|
2644
2623
|
types: ["(cities)"],
|
|
2645
2624
|
sessionToken: _.current ?? void 0
|
|
2646
2625
|
};
|
|
2647
|
-
c && (
|
|
2626
|
+
c && (z.componentRestrictions = { country: c });
|
|
2648
2627
|
const R = await new Promise((E, se) => {
|
|
2649
2628
|
j.current.getPlacePredictions(
|
|
2650
|
-
|
|
2629
|
+
z,
|
|
2651
2630
|
(ae, G) => {
|
|
2652
2631
|
G === google.maps.places.PlacesServiceStatus.OK && ae ? E(ae) : G === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? E([]) : se(new Error(`Places API error: ${G}`));
|
|
2653
2632
|
}
|
|
@@ -2671,14 +2650,14 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2671
2650
|
},
|
|
2672
2651
|
[c]
|
|
2673
2652
|
), C = Re(
|
|
2674
|
-
async (
|
|
2675
|
-
if (!
|
|
2653
|
+
async (x) => {
|
|
2654
|
+
if (!y.current) return null;
|
|
2676
2655
|
try {
|
|
2677
|
-
const
|
|
2656
|
+
const z = await new Promise(
|
|
2678
2657
|
(I, $) => {
|
|
2679
|
-
|
|
2658
|
+
y.current.getDetails(
|
|
2680
2659
|
{
|
|
2681
|
-
placeId:
|
|
2660
|
+
placeId: x,
|
|
2682
2661
|
fields: ["geometry", "address_components", "formatted_address"],
|
|
2683
2662
|
sessionToken: _.current ?? void 0
|
|
2684
2663
|
},
|
|
@@ -2689,12 +2668,12 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2689
2668
|
}
|
|
2690
2669
|
);
|
|
2691
2670
|
_.current = new google.maps.places.AutocompleteSessionToken();
|
|
2692
|
-
const R =
|
|
2671
|
+
const R = z.geometry?.location?.lat() || 0, E = z.geometry?.location?.lng() || 0;
|
|
2693
2672
|
let se = "", ae = "", G = "";
|
|
2694
|
-
return
|
|
2673
|
+
return z.address_components?.forEach((I) => {
|
|
2695
2674
|
I.types.includes("locality") && (se = I.long_name), I.types.includes("administrative_area_level_1") && (ae = I.long_name), I.types.includes("country") && (G = I.long_name);
|
|
2696
2675
|
}), {
|
|
2697
|
-
display_name:
|
|
2676
|
+
display_name: z.formatted_address || "",
|
|
2698
2677
|
lat: R,
|
|
2699
2678
|
lng: E,
|
|
2700
2679
|
city: se,
|
|
@@ -2708,7 +2687,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2708
2687
|
[]
|
|
2709
2688
|
), V = Re(() => b([]), []);
|
|
2710
2689
|
return {
|
|
2711
|
-
isLoaded:
|
|
2690
|
+
isLoaded: k,
|
|
2712
2691
|
predictions: w,
|
|
2713
2692
|
isSearching: Y,
|
|
2714
2693
|
loadError: N,
|
|
@@ -2726,7 +2705,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2726
2705
|
restrictCountry: t?.restrictCountry
|
|
2727
2706
|
};
|
|
2728
2707
|
}, Nr = (t) => {
|
|
2729
|
-
const { searchLocalities: n, restrictCountry: i } = t, [c, g] = B([]), [
|
|
2708
|
+
const { searchLocalities: n, restrictCountry: i } = t, [c, g] = B([]), [k, h] = B(!1), [w, b] = B(null), Y = M(0);
|
|
2730
2709
|
q(() => {
|
|
2731
2710
|
b(null);
|
|
2732
2711
|
}, [n]);
|
|
@@ -2741,7 +2720,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2741
2720
|
try {
|
|
2742
2721
|
const v = jr({ restrictCountry: i }), j = await n(p, v);
|
|
2743
2722
|
if (U !== Y.current) return;
|
|
2744
|
-
const
|
|
2723
|
+
const y = (j || []).filter(
|
|
2745
2724
|
(_) => !!_?.id && !!_?.description && va(_?.lat) && va(_?.lng)
|
|
2746
2725
|
).map((_) => ({
|
|
2747
2726
|
id: _.id,
|
|
@@ -2750,7 +2729,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2750
2729
|
lat: _.lat,
|
|
2751
2730
|
lng: _.lng
|
|
2752
2731
|
}));
|
|
2753
|
-
g(
|
|
2732
|
+
g(y);
|
|
2754
2733
|
} catch (v) {
|
|
2755
2734
|
if (U !== Y.current) return;
|
|
2756
2735
|
g([]), b(v?.message || "Failed to fetch locations");
|
|
@@ -2762,7 +2741,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2762
2741
|
), N = Re(() => g([]), []);
|
|
2763
2742
|
return {
|
|
2764
2743
|
predictions: c,
|
|
2765
|
-
isSearching:
|
|
2744
|
+
isSearching: k,
|
|
2766
2745
|
loadError: w,
|
|
2767
2746
|
searchPlaces: D,
|
|
2768
2747
|
clearPredictions: N
|
|
@@ -2848,20 +2827,20 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2848
2827
|
onChange: i,
|
|
2849
2828
|
phoneIsdCode: c,
|
|
2850
2829
|
onPhoneIsdCodeChange: g,
|
|
2851
|
-
showV1ExtraFields:
|
|
2830
|
+
showV1ExtraFields: k = !1,
|
|
2852
2831
|
analytics: h,
|
|
2853
2832
|
googleMapsApiKey: w,
|
|
2854
2833
|
atlasSearchLocalities: b,
|
|
2855
2834
|
googleMapsAutocompleteEnabled: Y,
|
|
2856
2835
|
className: D = ""
|
|
2857
2836
|
}) => {
|
|
2858
|
-
const N = Me(), p = N?.config?.analytics ?? h, U = N?.config.isGlobal ?? !0, v = N?.config?.googleMapsApiKey, j = N?.config?.atlasSearchLocalities,
|
|
2837
|
+
const N = Me(), p = N?.config?.analytics ?? h, U = N?.config.isGlobal ?? !0, v = N?.config?.googleMapsApiKey, j = N?.config?.atlasSearchLocalities, y = N?.config?.googleMapsAutocompleteEnabled, [_, S] = B(!1), [te, C] = B(""), V = M(null), x = M(null), z = M({}), R = (r) => i({ ...n, ...r }), E = (r, d) => {
|
|
2859
2838
|
if (r === "phone") {
|
|
2860
|
-
const
|
|
2861
|
-
|
|
2839
|
+
const Q = Br(d, c, z.current);
|
|
2840
|
+
Q.shouldTrack && p?.trackPhoneSectionFilled?.({ phone: Q.fullPhone });
|
|
2862
2841
|
return;
|
|
2863
2842
|
}
|
|
2864
|
-
d.trim() && !
|
|
2843
|
+
d.trim() && !z.current[r] && (z.current[r] = !0, {
|
|
2865
2844
|
fullName: () => p?.trackNameSectionFilled?.(),
|
|
2866
2845
|
dateOfBirth: () => p?.trackDobFilled?.(),
|
|
2867
2846
|
birthTime: () => p?.trackTimeFilled?.(),
|
|
@@ -2875,39 +2854,39 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2875
2854
|
const $ = M(null), X = M(0), O = M(null), [Te, K] = B(!1), [re, he] = B({ hour12: 12, minute: "00", meridiem: "AM" }), ue = (r) => String(r).padStart(2, "0"), we = (r) => {
|
|
2876
2855
|
const d = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
|
|
2877
2856
|
if (!d) return r;
|
|
2878
|
-
const
|
|
2879
|
-
return `${
|
|
2857
|
+
const Q = Number(d[1]), Se = d[2], $e = Q >= 12 ? "PM" : "AM";
|
|
2858
|
+
return `${Q % 12 === 0 ? 12 : Q % 12}:${Se} ${$e}`;
|
|
2880
2859
|
}, ne = (r) => {
|
|
2881
2860
|
const d = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
|
|
2882
2861
|
if (!d) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
2883
|
-
const
|
|
2884
|
-
return { hour12:
|
|
2862
|
+
const Q = Number(d[1]), Se = d[2], $e = Q >= 12 ? "PM" : "AM";
|
|
2863
|
+
return { hour12: Q % 12 === 0 ? 12 : Q % 12, minute: Se, meridiem: $e };
|
|
2885
2864
|
}, je = (r) => {
|
|
2886
|
-
const d = Math.min(12, Math.max(1, r.hour12)),
|
|
2865
|
+
const d = Math.min(12, Math.max(1, r.hour12)), Q = /^([0-5]\d)$/.test(r.minute) ? r.minute : "00";
|
|
2887
2866
|
let Se = d % 12;
|
|
2888
|
-
return r.meridiem === "PM" && (Se += 12), `${ue(Se)}:${
|
|
2867
|
+
return r.meridiem === "PM" && (Se += 12), `${ue(Se)}:${Q}`;
|
|
2889
2868
|
}, _e = M(null), [pe, ge] = B(!1), oe = M(n.birthPlace ?? ""), [H, me] = B(
|
|
2890
2869
|
null
|
|
2891
|
-
), ie = w ?? v ?? Dr?.VITE_GOOGLE_MAPS_API_KEY, fe = b ?? j, ee = Y ??
|
|
2870
|
+
), ie = w ?? v ?? Dr?.VITE_GOOGLE_MAPS_API_KEY, fe = b ?? j, ee = Y ?? y ?? !0, ce = (n.birthPlace ?? "").trim(), Ne = U ? void 0 : "in", ke = Rr({
|
|
2892
2871
|
apiKey: ee ? ie : void 0,
|
|
2893
2872
|
language: "en",
|
|
2894
2873
|
restrictCountry: Ne
|
|
2895
|
-
}),
|
|
2874
|
+
}), ye = Nr({
|
|
2896
2875
|
searchLocalities: ee ? void 0 : fe,
|
|
2897
2876
|
restrictCountry: Ne
|
|
2898
|
-
}),
|
|
2877
|
+
}), xe = ee ? ke.predictions.map((r) => ({
|
|
2899
2878
|
id: r.place_id,
|
|
2900
2879
|
description: r.description,
|
|
2901
2880
|
secondaryText: r.structured_formatting?.secondary_text,
|
|
2902
2881
|
lat: void 0,
|
|
2903
2882
|
lng: void 0
|
|
2904
|
-
})) :
|
|
2883
|
+
})) : ye.predictions.map((r) => ({
|
|
2905
2884
|
id: r.id,
|
|
2906
2885
|
description: r.description,
|
|
2907
2886
|
secondaryText: r.secondary_text,
|
|
2908
2887
|
lat: r.lat,
|
|
2909
2888
|
lng: r.lng
|
|
2910
|
-
})), Be = ee ?
|
|
2889
|
+
})), Be = ee ? ke.isSearching : ye.isSearching, De = ee ? ke.loadError : ye.loadError, P = ee ? !!ie : !!fe, l = ee ? ke.searchPlaces : ye.searchPlaces, f = ee ? ke.clearPredictions : ye.clearPredictions, Z = M(() => {
|
|
2911
2890
|
});
|
|
2912
2891
|
Z.current = () => {
|
|
2913
2892
|
(n.birthPlace ?? "") !== oe.current && R({
|
|
@@ -2928,7 +2907,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2928
2907
|
}, []), q(() => {
|
|
2929
2908
|
if (!_) return;
|
|
2930
2909
|
const r = window.setTimeout(() => {
|
|
2931
|
-
|
|
2910
|
+
x.current?.focus();
|
|
2932
2911
|
}, 0);
|
|
2933
2912
|
return () => window.clearTimeout(r);
|
|
2934
2913
|
}, [_]), q(() => {
|
|
@@ -2962,10 +2941,10 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2962
2941
|
};
|
|
2963
2942
|
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
2964
2943
|
}, []), q(() => {
|
|
2965
|
-
const r = (
|
|
2966
|
-
|
|
2967
|
-
}, d = (
|
|
2968
|
-
|
|
2944
|
+
const r = (Q) => {
|
|
2945
|
+
Q.target?.closest?.("[data-info-tooltip]") == null && me(null);
|
|
2946
|
+
}, d = (Q) => {
|
|
2947
|
+
Q.key === "Escape" && me(null);
|
|
2969
2948
|
};
|
|
2970
2949
|
return document.addEventListener("mousedown", r), document.addEventListener("keydown", d), () => {
|
|
2971
2950
|
document.removeEventListener("mousedown", r), document.removeEventListener("keydown", d);
|
|
@@ -3050,7 +3029,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3050
3029
|
/* @__PURE__ */ e.jsx("div", { className: o.isdSearchWrap, children: /* @__PURE__ */ e.jsx(
|
|
3051
3030
|
"input",
|
|
3052
3031
|
{
|
|
3053
|
-
ref:
|
|
3032
|
+
ref: x,
|
|
3054
3033
|
type: "text",
|
|
3055
3034
|
value: te,
|
|
3056
3035
|
onChange: (r) => C(r.target.value),
|
|
@@ -3081,7 +3060,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3081
3060
|
)
|
|
3082
3061
|
] }) })
|
|
3083
3062
|
] }),
|
|
3084
|
-
|
|
3063
|
+
k && /* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
|
|
3085
3064
|
/* @__PURE__ */ e.jsx("div", { className: o.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: o.label, children: [
|
|
3086
3065
|
t("formGender"),
|
|
3087
3066
|
/* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
|
|
@@ -3202,7 +3181,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3202
3181
|
return `${r.getFullYear()}-${ue(r.getMonth() + 1)}-${ue(r.getDate())}`;
|
|
3203
3182
|
})(),
|
|
3204
3183
|
onChange: (r) => {
|
|
3205
|
-
const d = r.target.value,
|
|
3184
|
+
const d = r.target.value, Q = /* @__PURE__ */ new Date(), Se = `${Q.getFullYear()}-${ue(Q.getMonth() + 1)}-${ue(Q.getDate())}`;
|
|
3206
3185
|
d && d > Se || (R({ dateOfBirth: d }), E("dateOfBirth", d), $.current = null);
|
|
3207
3186
|
},
|
|
3208
3187
|
onFocus: () => p?.trackDobClicked?.(),
|
|
@@ -3513,7 +3492,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3513
3492
|
"aria-hidden": !0
|
|
3514
3493
|
}
|
|
3515
3494
|
) }),
|
|
3516
|
-
pe &&
|
|
3495
|
+
pe && xe.length > 0 && /* @__PURE__ */ e.jsx("div", { className: o.suggestions, role: "listbox", children: xe.slice(0, 8).map((r) => /* @__PURE__ */ e.jsxs(
|
|
3517
3496
|
"button",
|
|
3518
3497
|
{
|
|
3519
3498
|
type: "button",
|
|
@@ -3525,14 +3504,14 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3525
3504
|
birthPlaceLat: r.lat,
|
|
3526
3505
|
birthPlaceLng: r.lng
|
|
3527
3506
|
}), f(), ge(!1), ee) {
|
|
3528
|
-
const
|
|
3507
|
+
const Q = await ke.getPlaceDetails(
|
|
3529
3508
|
r.id
|
|
3530
3509
|
);
|
|
3531
|
-
|
|
3510
|
+
Q && (oe.current = d, i({
|
|
3532
3511
|
...n,
|
|
3533
3512
|
birthPlace: d,
|
|
3534
|
-
birthPlaceLat:
|
|
3535
|
-
birthPlaceLng:
|
|
3513
|
+
birthPlaceLat: Q.lat,
|
|
3514
|
+
birthPlaceLng: Q.lng
|
|
3536
3515
|
}));
|
|
3537
3516
|
}
|
|
3538
3517
|
},
|
|
@@ -3543,11 +3522,11 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3543
3522
|
},
|
|
3544
3523
|
r.id
|
|
3545
3524
|
)) }),
|
|
3546
|
-
pe &&
|
|
3547
|
-
pe &&
|
|
3525
|
+
pe && P && Be && /* @__PURE__ */ e.jsx("div", { className: o.suggestionsHint, children: "Loading…" }),
|
|
3526
|
+
pe && P && !Be && !!De && /* @__PURE__ */ e.jsx("div", { className: o.suggestionsHint, children: De })
|
|
3548
3527
|
] })
|
|
3549
3528
|
] }),
|
|
3550
|
-
|
|
3529
|
+
k && /* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
|
|
3551
3530
|
/* @__PURE__ */ e.jsx("div", { className: o.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: o.label, children: [
|
|
3552
3531
|
t("formReportLanguage"),
|
|
3553
3532
|
/* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
|
|
@@ -3747,7 +3726,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3747
3726
|
phoneIsdCode: i,
|
|
3748
3727
|
requireV1ExtraFields: c = !1,
|
|
3749
3728
|
onValidationFailed: g,
|
|
3750
|
-
onProceed:
|
|
3729
|
+
onProceed: k,
|
|
3751
3730
|
onProceedGuidance: h,
|
|
3752
3731
|
href: w,
|
|
3753
3732
|
analytics: b,
|
|
@@ -3759,10 +3738,10 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3759
3738
|
planSheetOpen: v,
|
|
3760
3739
|
selectedPlan: j
|
|
3761
3740
|
}) => {
|
|
3762
|
-
const
|
|
3741
|
+
const y = Me(), _ = y?.config.isGlobal ?? !0, S = y?.config?.variant, te = Ee(
|
|
3763
3742
|
() => Yr(n, _, c),
|
|
3764
3743
|
[n, _, c]
|
|
3765
|
-
), C = te === null, V = S === "v1" &&
|
|
3744
|
+
), C = te === null, V = S === "v1" && y?.config?.showSheet, x = _ ? D ?? t("formDiscountedPrice") : V ? "" : "₹499", z = y?.config.imageComponent ?? Ye, R = (se) => {
|
|
3766
3745
|
if (se.preventDefault(), S === "v1" && !C && b?.trackKundliDetailedClicked?.(), !C) {
|
|
3767
3746
|
te && g?.(te);
|
|
3768
3747
|
return;
|
|
@@ -3775,9 +3754,9 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3775
3754
|
v ? U?.() : p?.(I);
|
|
3776
3755
|
return;
|
|
3777
3756
|
}
|
|
3778
|
-
b?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), ae ? h(I) :
|
|
3757
|
+
b?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), ae ? h(I) : k?.(I);
|
|
3779
3758
|
}, E = /* @__PURE__ */ e.jsx(
|
|
3780
|
-
|
|
3759
|
+
Qa,
|
|
3781
3760
|
{
|
|
3782
3761
|
href: w,
|
|
3783
3762
|
disabled: S === "v1" ? !1 : !C,
|
|
@@ -3785,9 +3764,9 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3785
3764
|
"aria-label": t("formPriceAria"),
|
|
3786
3765
|
className: S === "v1" && C ? Ke.ctaFilled : S === "v1" ? Ke.ctaButton : void 0,
|
|
3787
3766
|
children: S === "v1" ? C ? /* @__PURE__ */ e.jsxs("span", { className: Ke.ctaFilledContent, children: [
|
|
3788
|
-
V ? t("selectPackage") : v && j ? `${t("proceedWithPlan")}${j.price}` : `${t("formProceed")} ${
|
|
3767
|
+
V ? t("selectPackage") : v && j ? `${t("proceedWithPlan")}${j.price}` : `${t("formProceed")} ${x}`,
|
|
3789
3768
|
/* @__PURE__ */ e.jsx(
|
|
3790
|
-
|
|
3769
|
+
z,
|
|
3791
3770
|
{
|
|
3792
3771
|
src: Hr,
|
|
3793
3772
|
alt: "",
|
|
@@ -3800,25 +3779,25 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3800
3779
|
] }) : t("formCtaDefault") : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3801
3780
|
t("formProceed"),
|
|
3802
3781
|
" ",
|
|
3803
|
-
|
|
3782
|
+
x
|
|
3804
3783
|
] })
|
|
3805
3784
|
}
|
|
3806
3785
|
);
|
|
3807
3786
|
return /* @__PURE__ */ e.jsx(
|
|
3808
|
-
|
|
3787
|
+
Ja,
|
|
3809
3788
|
{
|
|
3810
3789
|
className: `${Ke.footerContainer} ${Y}`,
|
|
3811
3790
|
marquee: /* @__PURE__ */ e.jsx(Xa, { children: /* @__PURE__ */ e.jsx(Wr, { t }) }),
|
|
3812
3791
|
children: E
|
|
3813
3792
|
}
|
|
3814
3793
|
);
|
|
3815
|
-
},
|
|
3794
|
+
}, zr = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Qr = ({
|
|
3816
3795
|
t,
|
|
3817
3796
|
languageSelector: n,
|
|
3818
|
-
logoUrl: i =
|
|
3797
|
+
logoUrl: i = zr,
|
|
3819
3798
|
className: c = ""
|
|
3820
3799
|
}) => {
|
|
3821
|
-
const g = Me(),
|
|
3800
|
+
const g = Me(), k = g?.config.isGlobal ?? !0, h = n != null && !k;
|
|
3822
3801
|
return /* @__PURE__ */ e.jsx(
|
|
3823
3802
|
Za,
|
|
3824
3803
|
{
|
|
@@ -3839,7 +3818,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3839
3818
|
strokeLinecap: "round",
|
|
3840
3819
|
strokeLinejoin: "round"
|
|
3841
3820
|
}
|
|
3842
|
-
) }),
|
|
3821
|
+
) }), Jr = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
3843
3822
|
"path",
|
|
3844
3823
|
{
|
|
3845
3824
|
d: "M4.5 4.5l7 7M11.5 4.5l-7 7",
|
|
@@ -3882,7 +3861,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3882
3861
|
/* @__PURE__ */ e.jsx("path", { d: "M3 9.5h18", stroke: "#D1D5DB", strokeWidth: "1.6" }),
|
|
3883
3862
|
/* @__PURE__ */ e.jsx("path", { d: "M8 2.5v4M16 2.5v4", stroke: "#D1D5DB", strokeWidth: "1.6", strokeLinecap: "round" }),
|
|
3884
3863
|
/* @__PURE__ */ e.jsx("path", { d: "M7.5 20.5L17 6", stroke: "#9CA3AF", strokeWidth: "1.6", strokeLinecap: "round" })
|
|
3885
|
-
] }), nn = "_overlay_pvy8j_3", on = "_sheet_pvy8j_13", ln = "_sheetFullScreen_pvy8j_53", sn = "_headerFull_pvy8j_76", cn = "_titleFull_pvy8j_89", dn = "_header_pvy8j_76", un = "_backBtn_pvy8j_110", pn = "_title_pvy8j_89", mn = "_plansContainer_pvy8j_140", fn = "_planCard_pvy8j_149", hn = "_withBadgeSpacing_pvy8j_163", gn = "_planCardSelected_pvy8j_167", bn = "_planCardPopular_pvy8j_172", _n = "_popularBadge_pvy8j_181",
|
|
3864
|
+
] }), nn = "_overlay_pvy8j_3", on = "_sheet_pvy8j_13", ln = "_sheetFullScreen_pvy8j_53", sn = "_headerFull_pvy8j_76", cn = "_titleFull_pvy8j_89", dn = "_header_pvy8j_76", un = "_backBtn_pvy8j_110", pn = "_title_pvy8j_89", mn = "_plansContainer_pvy8j_140", fn = "_planCard_pvy8j_149", hn = "_withBadgeSpacing_pvy8j_163", gn = "_planCardSelected_pvy8j_167", bn = "_planCardPopular_pvy8j_172", _n = "_popularBadge_pvy8j_181", kn = "_planCardInner_pvy8j_199", yn = "_planTitleRow_pvy8j_210", vn = "_planTitle_pvy8j_210", An = "_radioCircle_pvy8j_225", Tn = "_radioChecked_pvy8j_238", Pn = "_radioInner_pvy8j_243", xn = "_priceRow_pvy8j_251", wn = "_price_pvy8j_251", Sn = "_originalPrice_pvy8j_264", Cn = "_savingsBadge_pvy8j_271", Rn = "_featureList_pvy8j_281", jn = "_featureItem_pvy8j_290", Nn = "_featureIcon_pvy8j_296", Ln = "_featureText_pvy8j_302", Bn = "_astrologerHeading_pvy8j_313", Dn = "_astrologerList_pvy8j_320", En = "_astrologerCard_pvy8j_336", In = "_astrologerAvatar_pvy8j_352", Fn = "_astrologerAvatarPlaceholder_pvy8j_369", Mn = "_astrologerTop_pvy8j_375", Un = "_astrologerBasicInfo_pvy8j_381", Gn = "_astrologerName_pvy8j_388", On = "_astrologerExp_pvy8j_397", $n = "_astrologerDivider_pvy8j_403", Hn = "_planDivider_pvy8j_409", Wn = "_astrologerCertList_pvy8j_416", Kn = "_astrologerCertItem_pvy8j_422", qn = "_bullet_pvy8j_430", Yn = "_footer_pvy8j_435", Vn = "_proceedBtn_pvy8j_445", T = {
|
|
3886
3865
|
overlay: nn,
|
|
3887
3866
|
sheet: on,
|
|
3888
3867
|
sheetFullScreen: ln,
|
|
@@ -3897,13 +3876,13 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3897
3876
|
planCardSelected: gn,
|
|
3898
3877
|
planCardPopular: bn,
|
|
3899
3878
|
popularBadge: _n,
|
|
3900
|
-
planCardInner:
|
|
3901
|
-
planTitleRow:
|
|
3879
|
+
planCardInner: kn,
|
|
3880
|
+
planTitleRow: yn,
|
|
3902
3881
|
planTitle: vn,
|
|
3903
3882
|
radioCircle: An,
|
|
3904
3883
|
radioChecked: Tn,
|
|
3905
|
-
radioInner:
|
|
3906
|
-
priceRow:
|
|
3884
|
+
radioInner: Pn,
|
|
3885
|
+
priceRow: xn,
|
|
3907
3886
|
price: wn,
|
|
3908
3887
|
originalPrice: Sn,
|
|
3909
3888
|
savingsBadge: Cn,
|
|
@@ -3927,7 +3906,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3927
3906
|
bullet: qn,
|
|
3928
3907
|
footer: Yn,
|
|
3929
3908
|
proceedBtn: Vn
|
|
3930
|
-
},
|
|
3909
|
+
}, zn = ({ title: t, onBack: n }) => /* @__PURE__ */ e.jsxs("div", { className: T.header, children: [
|
|
3931
3910
|
/* @__PURE__ */ e.jsx(
|
|
3932
3911
|
"button",
|
|
3933
3912
|
{
|
|
@@ -3939,8 +3918,8 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3939
3918
|
}
|
|
3940
3919
|
),
|
|
3941
3920
|
/* @__PURE__ */ e.jsx("h2", { className: T.title, children: t })
|
|
3942
|
-
] }),
|
|
3943
|
-
/* @__PURE__ */ e.jsx("span", { className: T.featureIcon, children: i.included ? /* @__PURE__ */ e.jsx(Na, {}) : /* @__PURE__ */ e.jsx(
|
|
3921
|
+
] }), Qn = ({ features: t, t: n }) => /* @__PURE__ */ e.jsx("ul", { className: T.featureList, "aria-label": "Plan features", children: t.map((i, c) => /* @__PURE__ */ e.jsxs("li", { className: T.featureItem, children: [
|
|
3922
|
+
/* @__PURE__ */ e.jsx("span", { className: T.featureIcon, children: i.included ? /* @__PURE__ */ e.jsx(Na, {}) : /* @__PURE__ */ e.jsx(Jr, {}) }),
|
|
3944
3923
|
/* @__PURE__ */ e.jsx(
|
|
3945
3924
|
"span",
|
|
3946
3925
|
{
|
|
@@ -3948,7 +3927,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3948
3927
|
children: n?.(i.text) ?? i.text
|
|
3949
3928
|
}
|
|
3950
3929
|
)
|
|
3951
|
-
] }, c)) }),
|
|
3930
|
+
] }, c)) }), Jn = ({ astrologer: t, t: n }) => /* @__PURE__ */ e.jsxs("div", { className: T.astrologerCard, children: [
|
|
3952
3931
|
/* @__PURE__ */ e.jsxs("div", { className: T.astrologerTop, children: [
|
|
3953
3932
|
/* @__PURE__ */ e.jsx("div", { className: T.astrologerAvatar, "aria-hidden": !0, children: t.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: t.imageUrl, alt: n?.(t.name) ?? t.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: T.astrologerAvatarPlaceholder, children: t.name.charAt(0) }) }),
|
|
3954
3933
|
/* @__PURE__ */ e.jsxs("div", { className: T.astrologerBasicInfo, children: [
|
|
@@ -3966,7 +3945,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3966
3945
|
/* @__PURE__ */ e.jsx(Zr, {}),
|
|
3967
3946
|
/* @__PURE__ */ e.jsx("span", { children: t })
|
|
3968
3947
|
] }), Zn = ({ plan: t, isSelected: n, onSelect: i, t: c }) => {
|
|
3969
|
-
const g = () => i(t.id),
|
|
3948
|
+
const g = () => i(t.id), k = (h) => {
|
|
3970
3949
|
(h.key === " " || h.key === "Enter") && (h.preventDefault(), i(t.id));
|
|
3971
3950
|
};
|
|
3972
3951
|
return /* @__PURE__ */ e.jsxs(
|
|
@@ -3981,7 +3960,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3981
3960
|
role: "radio",
|
|
3982
3961
|
"aria-checked": n,
|
|
3983
3962
|
tabIndex: 0,
|
|
3984
|
-
onKeyDown:
|
|
3963
|
+
onKeyDown: k,
|
|
3985
3964
|
"data-plan-id": t.id,
|
|
3986
3965
|
children: [
|
|
3987
3966
|
t.badge && /* @__PURE__ */ e.jsx(Xn, { label: c?.(t.badge) ?? t.badge }),
|
|
@@ -4002,11 +3981,11 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4002
3981
|
t.originalPrice && /* @__PURE__ */ e.jsx("span", { className: T.originalPrice, children: t.originalPrice }),
|
|
4003
3982
|
t.savingsLabel && /* @__PURE__ */ e.jsx("span", { className: T.savingsBadge, children: c?.(t.savingsLabel, { percent: 25 }) ?? t.savingsLabel })
|
|
4004
3983
|
] }),
|
|
4005
|
-
/* @__PURE__ */ e.jsx(
|
|
3984
|
+
/* @__PURE__ */ e.jsx(Qn, { features: t.features, t: c }),
|
|
4006
3985
|
t.astrologers && /* @__PURE__ */ e.jsx("div", { className: T.planDivider }),
|
|
4007
3986
|
t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
4008
3987
|
/* @__PURE__ */ e.jsx("p", { className: T.astrologerHeading, children: c?.("planAstrologerHeading") ?? "We will match you with astrologer who speaks your language" }),
|
|
4009
|
-
/* @__PURE__ */ e.jsx("div", { className: T.astrologerList, role: "list", children: t.astrologers.map((h, w) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(
|
|
3988
|
+
/* @__PURE__ */ e.jsx("div", { className: T.astrologerList, role: "list", children: t.astrologers.map((h, w) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(Jn, { astrologer: h, t: c }) }, w)) })
|
|
4010
3989
|
] })
|
|
4011
3990
|
] })
|
|
4012
3991
|
]
|
|
@@ -4021,9 +4000,9 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4021
4000
|
const i = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], c = /* @__PURE__ */ new Date(`${t}T00:00:00`);
|
|
4022
4001
|
if (Number.isNaN(c.getTime()))
|
|
4023
4002
|
return { id: t, dayLabel: t, dayNum: "" };
|
|
4024
|
-
const g = (w) => new Date(w.getFullYear(), w.getMonth(), w.getDate()).getTime(),
|
|
4003
|
+
const g = (w) => new Date(w.getFullYear(), w.getMonth(), w.getDate()).getTime(), k = Math.round(
|
|
4025
4004
|
(g(c) - g(n)) / (1e3 * 60 * 60 * 24)
|
|
4026
|
-
), h =
|
|
4005
|
+
), h = k === 0 ? "Today" : k === 1 ? "Tomorrow" : i[c.getDay()];
|
|
4027
4006
|
return { id: t, dayLabel: h, dayNum: String(c.getDate()) };
|
|
4028
4007
|
}, ao = [
|
|
4029
4008
|
"morning",
|
|
@@ -4059,11 +4038,11 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4059
4038
|
mr: ["mr", "en"],
|
|
4060
4039
|
ta: ["ta", "en"]
|
|
4061
4040
|
}, La = (t) => !!t?.days?.some((n) => n.has_availability && n.slots.length > 0), oo = (t, n, i) => {
|
|
4062
|
-
const c = i ? no : ro, [g,
|
|
4063
|
-
(b) => b !== g && b !==
|
|
4041
|
+
const c = i ? no : ro, [g, k] = c[n || "en"] ?? c.en, h = qe.map((b) => b.code).filter(
|
|
4042
|
+
(b) => b !== g && b !== k
|
|
4064
4043
|
);
|
|
4065
|
-
return [g,
|
|
4066
|
-
}, io = "_overlay_1mg8x_3", lo = "_sheet_1mg8x_13", so = "_content_1mg8x_47", co = "_header_1mg8x_54", uo = "_backBtn_1mg8x_67", po = "_title_1mg8x_85", mo = "_languageRow_1mg8x_101", fo = "_languageLabel_1mg8x_109", ho = "_languageDropdown_1mg8x_115", go = "_languageDropdownBtn_1mg8x_119", bo = "_languageMenu_1mg8x_134", _o = "_languageMenuItem_1mg8x_151",
|
|
4044
|
+
return [g, k, ...h].find((b) => La(t[b])) ?? g;
|
|
4045
|
+
}, io = "_overlay_1mg8x_3", lo = "_sheet_1mg8x_13", so = "_content_1mg8x_47", co = "_header_1mg8x_54", uo = "_backBtn_1mg8x_67", po = "_title_1mg8x_85", mo = "_languageRow_1mg8x_101", fo = "_languageLabel_1mg8x_109", ho = "_languageDropdown_1mg8x_115", go = "_languageDropdownBtn_1mg8x_119", bo = "_languageMenu_1mg8x_134", _o = "_languageMenuItem_1mg8x_151", ko = "_languageMenuItemSelected_1mg8x_165", yo = "_languageDivider_1mg8x_171", vo = "_reportReadyBanner_1mg8x_178", Ao = "_reportReadyDuration_1mg8x_187", To = "_trustRow_1mg8x_193", Po = "_trustAvatars_1mg8x_204", xo = "_trustText_1mg8x_217", wo = "_sectionHeading_1mg8x_328", So = "_dateTabs_1mg8x_336", Co = "_dateTabIndicator_1mg8x_348", Ro = "_dateTab_1mg8x_336", jo = "_dateTabDivider_1mg8x_382", No = "_dateTabSelected_1mg8x_392", Lo = "_dateTabLabel_1mg8x_397", Bo = "_dateTabNum_1mg8x_404", Do = "_periodTabs_1mg8x_418", Eo = "_periodTabIndicator_1mg8x_346", Io = "_periodTab_1mg8x_346", Fo = "_periodTabSelected_1mg8x_465", Mo = "_timeGrid_1mg8x_470", Uo = "_emptyState_1mg8x_498", Go = "_timeSlot_1mg8x_502", Oo = "_timeSlotSelected_1mg8x_518", $o = "_topicGrid_1mg8x_526", Ho = "_topicChip_1mg8x_532", Wo = "_topicChipSelected_1mg8x_548", Ko = "_stateMessage_1mg8x_555", qo = "_emptyStateIcon_1mg8x_575", Yo = "_emptyStateTitle_1mg8x_586", Vo = "_emptyStateSubtitle_1mg8x_593", zo = "_loadingWrap_1mg8x_602", Qo = "_skeletonShimmer_1mg8x_607", Jo = "_skeletonDateTabs_1mg8x_621", Xo = "_skeletonDateTab_1mg8x_621", Zo = "_skeletonPeriodTabs_1mg8x_635", ei = "_skeletonPeriodTab_1mg8x_635", ai = "_skeletonTimeGrid_1mg8x_650", ti = "_skeletonTimeSlot_1mg8x_656", ri = "_retryBtn_1mg8x_661", ni = "_footer_1mg8x_675", oi = "_proceedBtn_1mg8x_682", ii = "_proceedBtnDisabled_1mg8x_700", m = {
|
|
4067
4046
|
overlay: io,
|
|
4068
4047
|
sheet: lo,
|
|
4069
4048
|
content: so,
|
|
@@ -4076,13 +4055,13 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4076
4055
|
languageDropdownBtn: go,
|
|
4077
4056
|
languageMenu: bo,
|
|
4078
4057
|
languageMenuItem: _o,
|
|
4079
|
-
languageMenuItemSelected:
|
|
4080
|
-
languageDivider:
|
|
4058
|
+
languageMenuItemSelected: ko,
|
|
4059
|
+
languageDivider: yo,
|
|
4081
4060
|
reportReadyBanner: vo,
|
|
4082
4061
|
reportReadyDuration: Ao,
|
|
4083
4062
|
trustRow: To,
|
|
4084
|
-
trustAvatars:
|
|
4085
|
-
trustText:
|
|
4063
|
+
trustAvatars: Po,
|
|
4064
|
+
trustText: xo,
|
|
4086
4065
|
sectionHeading: wo,
|
|
4087
4066
|
dateTabs: So,
|
|
4088
4067
|
dateTabIndicator: Co,
|
|
@@ -4106,9 +4085,9 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4106
4085
|
emptyStateIcon: qo,
|
|
4107
4086
|
emptyStateTitle: Yo,
|
|
4108
4087
|
emptyStateSubtitle: Vo,
|
|
4109
|
-
loadingWrap:
|
|
4110
|
-
skeletonShimmer:
|
|
4111
|
-
skeletonDateTabs:
|
|
4088
|
+
loadingWrap: zo,
|
|
4089
|
+
skeletonShimmer: Qo,
|
|
4090
|
+
skeletonDateTabs: Jo,
|
|
4112
4091
|
skeletonDateTab: Xo,
|
|
4113
4092
|
skeletonPeriodTabs: Zo,
|
|
4114
4093
|
skeletonPeriodTab: ei,
|
|
@@ -4135,14 +4114,14 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4135
4114
|
t: i,
|
|
4136
4115
|
analytics: c,
|
|
4137
4116
|
reportLanguage: g,
|
|
4138
|
-
isPostPayment:
|
|
4117
|
+
isPostPayment: k = !1,
|
|
4139
4118
|
showGuidanceTopic: h,
|
|
4140
4119
|
hideFooter: w = !1,
|
|
4141
4120
|
onStateChange: b
|
|
4142
4121
|
}) => {
|
|
4143
|
-
const Y = h ?? !
|
|
4144
|
-
() => C[
|
|
4145
|
-
[C,
|
|
4122
|
+
const Y = h ?? !k, D = Me(), N = D?.config.imageComponent ?? Ye, p = D?.config.fetchConsultationSlots, U = D?.config.isGlobal ?? !0, v = g ?? D?.formValues?.language_code, j = k ? "post_payment" : "pre_payment", [y, _] = B(!1), [S, te] = B(!1), [C, V] = B({}), [x, z] = B("en"), [R, E] = B(!1), se = M(null), ae = Ee(
|
|
4123
|
+
() => C[x]?.days ?? [],
|
|
4124
|
+
[C, x]
|
|
4146
4125
|
), [G, I] = B(""), [$, X] = B(""), [O, Te] = B("morning"), [K, re] = B(null), he = M(!1), ue = M(null), we = M({}), [ne, je] = B(null), _e = M(null), pe = M(
|
|
4147
4126
|
{}
|
|
4148
4127
|
), [ge, oe] = B(null), H = Ee(
|
|
@@ -4155,7 +4134,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4155
4134
|
v,
|
|
4156
4135
|
U
|
|
4157
4136
|
);
|
|
4158
|
-
V(f),
|
|
4137
|
+
V(f), z(Z), c?.trackConsultationLanguageDefaultSelected?.({
|
|
4159
4138
|
language: ta(Z),
|
|
4160
4139
|
status: j
|
|
4161
4140
|
});
|
|
@@ -4269,13 +4248,13 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4269
4248
|
day_part_default: O,
|
|
4270
4249
|
status: j
|
|
4271
4250
|
});
|
|
4272
|
-
},
|
|
4251
|
+
}, Pe = (l) => {
|
|
4273
4252
|
Te(l), c?.trackDayPartSelected?.({
|
|
4274
4253
|
day_part: l,
|
|
4275
4254
|
slots_available_count: ie?.slots.filter((f) => f.period === l).length ?? 0,
|
|
4276
4255
|
status: j
|
|
4277
4256
|
});
|
|
4278
|
-
},
|
|
4257
|
+
}, ke = (l) => {
|
|
4279
4258
|
re(l), c?.trackSlotSelected?.({
|
|
4280
4259
|
date: $,
|
|
4281
4260
|
time: aa(l.start),
|
|
@@ -4283,7 +4262,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4283
4262
|
topic: G || null,
|
|
4284
4263
|
status: j
|
|
4285
4264
|
});
|
|
4286
|
-
},
|
|
4265
|
+
}, ye = () => {
|
|
4287
4266
|
K && (c?.trackSlotReservationRequested?.({
|
|
4288
4267
|
slot_datetime: `${K.start} - ${K.end}`,
|
|
4289
4268
|
status: j
|
|
@@ -4292,22 +4271,22 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4292
4271
|
end: K.end,
|
|
4293
4272
|
period: K.period,
|
|
4294
4273
|
topic: G,
|
|
4295
|
-
language:
|
|
4274
|
+
language: x
|
|
4296
4275
|
}));
|
|
4297
|
-
},
|
|
4298
|
-
|
|
4299
|
-
b?.({ canProceed: ce, proceed: () =>
|
|
4276
|
+
}, xe = M(ye);
|
|
4277
|
+
xe.current = ye, q(() => {
|
|
4278
|
+
b?.({ canProceed: ce, proceed: () => xe.current() });
|
|
4300
4279
|
}, [ce, b]);
|
|
4301
4280
|
const Be = (l) => {
|
|
4302
4281
|
I(l), c?.trackGuidanceTopicSelected?.({ topic: l, status: j });
|
|
4303
4282
|
}, De = (l) => {
|
|
4304
4283
|
c?.trackConsultationLanguageChanged?.({
|
|
4305
|
-
previous_language: ta(
|
|
4284
|
+
previous_language: ta(x),
|
|
4306
4285
|
new_language: ta(l),
|
|
4307
4286
|
slots_available: La(C[l]) ? "yes" : "no",
|
|
4308
4287
|
status: j
|
|
4309
|
-
}),
|
|
4310
|
-
},
|
|
4288
|
+
}), z(l), E(!1);
|
|
4289
|
+
}, P = qe.find((l) => l.code === x) ?? qe[0];
|
|
4311
4290
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
4312
4291
|
/* @__PURE__ */ e.jsxs("div", { className: m.content, children: [
|
|
4313
4292
|
/* @__PURE__ */ e.jsxs("div", { className: m.languageRow, children: [
|
|
@@ -4322,13 +4301,13 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4322
4301
|
"aria-haspopup": "listbox",
|
|
4323
4302
|
"aria-expanded": R,
|
|
4324
4303
|
children: [
|
|
4325
|
-
i?.(
|
|
4304
|
+
i?.(P.labelKey) ?? P.label,
|
|
4326
4305
|
/* @__PURE__ */ e.jsx(Xr, {})
|
|
4327
4306
|
]
|
|
4328
4307
|
}
|
|
4329
4308
|
),
|
|
4330
4309
|
R && /* @__PURE__ */ e.jsx("ul", { className: m.languageMenu, role: "listbox", children: qe.map((l) => {
|
|
4331
|
-
const f = l.code ===
|
|
4310
|
+
const f = l.code === x;
|
|
4332
4311
|
return /* @__PURE__ */ e.jsxs(
|
|
4333
4312
|
"li",
|
|
4334
4313
|
{
|
|
@@ -4358,7 +4337,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4358
4337
|
" ",
|
|
4359
4338
|
i?.("planReportReadySuffix") ?? "from today"
|
|
4360
4339
|
] }),
|
|
4361
|
-
|
|
4340
|
+
y && /* @__PURE__ */ e.jsxs("div", { className: m.loadingWrap, "aria-busy": "true", "aria-live": "polite", children: [
|
|
4362
4341
|
/* @__PURE__ */ e.jsx("div", { className: m.skeletonDateTabs, children: Array.from({ length: 5 }).map((l, f) => /* @__PURE__ */ e.jsx(
|
|
4363
4342
|
"div",
|
|
4364
4343
|
{
|
|
@@ -4381,16 +4360,16 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4381
4360
|
f
|
|
4382
4361
|
)) })
|
|
4383
4362
|
] }),
|
|
4384
|
-
!
|
|
4363
|
+
!y && S && /* @__PURE__ */ e.jsxs("div", { className: m.stateMessage, children: [
|
|
4385
4364
|
i?.("planSlotsLoadError") ?? "Couldn't load slots. Please try again.",
|
|
4386
4365
|
/* @__PURE__ */ e.jsx("button", { type: "button", className: m.retryBtn, onClick: me, children: i?.("planRetry") ?? "Retry" })
|
|
4387
4366
|
] }),
|
|
4388
|
-
!
|
|
4367
|
+
!y && !S && H.length === 0 && /* @__PURE__ */ e.jsxs("div", { className: m.emptyState, children: [
|
|
4389
4368
|
/* @__PURE__ */ e.jsx("span", { className: m.emptyStateIcon, children: /* @__PURE__ */ e.jsx(rn, {}) }),
|
|
4390
4369
|
/* @__PURE__ */ e.jsx("p", { className: m.emptyStateTitle, children: i?.("planNoSlotsAvailableTitle") ?? "No slots available" }),
|
|
4391
4370
|
/* @__PURE__ */ e.jsx("p", { className: m.emptyStateSubtitle, children: i?.("planNoSlotsAvailableSubtitle") ?? "Try a different consultation language above, or check back soon." })
|
|
4392
4371
|
] }),
|
|
4393
|
-
!
|
|
4372
|
+
!y && !S && H.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
4394
4373
|
/* @__PURE__ */ e.jsxs("div", { className: m.dateTabs, ref: ue, role: "radiogroup", "aria-label": "Consultation date", children: [
|
|
4395
4374
|
ne && /* @__PURE__ */ e.jsx(
|
|
4396
4375
|
"span",
|
|
@@ -4458,7 +4437,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4458
4437
|
].filter(Boolean).join(" "),
|
|
4459
4438
|
role: "tab",
|
|
4460
4439
|
"aria-selected": l === O,
|
|
4461
|
-
onClick: () =>
|
|
4440
|
+
onClick: () => Pe(l),
|
|
4462
4441
|
children: [
|
|
4463
4442
|
/* @__PURE__ */ e.jsx(f, {}),
|
|
4464
4443
|
i?.(Z) ?? (l === "evening" && U ? "Evening/Night" : l.charAt(0).toUpperCase() + l.slice(1))
|
|
@@ -4484,7 +4463,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4484
4463
|
].filter(Boolean).join(" "),
|
|
4485
4464
|
role: "radio",
|
|
4486
4465
|
"aria-checked": K?.start === l.start,
|
|
4487
|
-
onClick: () =>
|
|
4466
|
+
onClick: () => ke(l),
|
|
4488
4467
|
children: aa(l.start)
|
|
4489
4468
|
},
|
|
4490
4469
|
`${l.start}-${f}`
|
|
@@ -4534,8 +4513,8 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4534
4513
|
type: "button",
|
|
4535
4514
|
className: [m.proceedBtn, ce ? "" : m.proceedBtnDisabled].filter(Boolean).join(" "),
|
|
4536
4515
|
disabled: !ce,
|
|
4537
|
-
onClick:
|
|
4538
|
-
children:
|
|
4516
|
+
onClick: ye,
|
|
4517
|
+
children: k ? i?.("planBookSlot") ?? "Book Slot" : i?.("planProceedToPayment") ?? "Proceed to payment"
|
|
4539
4518
|
}
|
|
4540
4519
|
)
|
|
4541
4520
|
] })
|
|
@@ -4570,16 +4549,6 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4570
4549
|
] })
|
|
4571
4550
|
}
|
|
4572
4551
|
) : null, pi = [
|
|
4573
|
-
{
|
|
4574
|
-
id: "jyoti",
|
|
4575
|
-
name: "planAstrologerNameJyoti",
|
|
4576
|
-
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992823100.webp",
|
|
4577
|
-
experience: "planAstrologerExpJyoti",
|
|
4578
|
-
certifications: [
|
|
4579
|
-
"planAstrologerCertCertifiedJyotish",
|
|
4580
|
-
"planAstrologerCertAccurateSolutions"
|
|
4581
|
-
]
|
|
4582
|
-
},
|
|
4583
4552
|
{
|
|
4584
4553
|
id: "samiksha",
|
|
4585
4554
|
name: "planAstrologerNameSamiksha",
|
|
@@ -4624,7 +4593,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4624
4593
|
{ text: "planFeatureTailoredRemedies", included: !0 }
|
|
4625
4594
|
],
|
|
4626
4595
|
astrologers: pi.filter(
|
|
4627
|
-
(n) => ["
|
|
4596
|
+
(n) => ["samiksha", "neeraj", "ashwini"].includes(n.id)
|
|
4628
4597
|
)
|
|
4629
4598
|
}
|
|
4630
4599
|
], fi = ({
|
|
@@ -4633,24 +4602,24 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4633
4602
|
selectedPlan: i,
|
|
4634
4603
|
onSelectPlan: c,
|
|
4635
4604
|
plans: g,
|
|
4636
|
-
onProceed:
|
|
4605
|
+
onProceed: k,
|
|
4637
4606
|
t: h,
|
|
4638
4607
|
analytics: w,
|
|
4639
4608
|
enableConsultationScheduling: b
|
|
4640
4609
|
}) => {
|
|
4641
|
-
const Y = Me(), D = Y?.config.isGlobal ?? !0, N = b ?? Y?.config.enableConsultationScheduling ?? !1, p = g ?? mi(D), U = i?.id || p.find((C) => C.badge)?.id || p[0]?.id || "", v = M(null), j = M(null),
|
|
4610
|
+
const Y = Me(), D = Y?.config.isGlobal ?? !0, N = b ?? Y?.config.enableConsultationScheduling ?? !1, p = g ?? mi(D), U = i?.id || p.find((C) => C.badge)?.id || p[0]?.id || "", v = M(null), j = M(null), y = M(!1), [_, S] = B(!1);
|
|
4642
4611
|
q(() => {
|
|
4643
4612
|
if (t) {
|
|
4644
4613
|
if (!i) {
|
|
4645
4614
|
const C = p.find((V) => V.badge) ?? p[0];
|
|
4646
4615
|
C && c(C);
|
|
4647
4616
|
}
|
|
4648
|
-
|
|
4617
|
+
y.current || (w?.trackPlanPageViewed?.(), N && w?.trackPlanScreenViewed?.({
|
|
4649
4618
|
plans_shown: p.map((C) => C.id),
|
|
4650
4619
|
default_selected_plan: i?.id || p.find((C) => C.badge)?.id || p[0]?.id || ""
|
|
4651
|
-
}),
|
|
4620
|
+
}), y.current = !0);
|
|
4652
4621
|
} else
|
|
4653
|
-
|
|
4622
|
+
y.current = !1;
|
|
4654
4623
|
}, [t, p, i, c, w]);
|
|
4655
4624
|
const te = () => {
|
|
4656
4625
|
w?.trackPlanPageClosed?.(), n();
|
|
@@ -4689,7 +4658,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4689
4658
|
),
|
|
4690
4659
|
/* @__PURE__ */ e.jsx("h2", { className: T.titleFull, children: h?.("planSheetTitle") ?? "Choose Your Kundli Plan" })
|
|
4691
4660
|
] }) : /* @__PURE__ */ e.jsx(
|
|
4692
|
-
|
|
4661
|
+
zn,
|
|
4693
4662
|
{
|
|
4694
4663
|
title: h?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
4695
4664
|
onBack: te
|
|
@@ -4709,16 +4678,16 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4709
4678
|
isSelected: C.id === U,
|
|
4710
4679
|
t: h,
|
|
4711
4680
|
onSelect: (V) => {
|
|
4712
|
-
const
|
|
4713
|
-
|
|
4714
|
-
planId:
|
|
4715
|
-
planName:
|
|
4681
|
+
const x = p.find((z) => z.id === V);
|
|
4682
|
+
x && (w?.trackPlanSelected?.({
|
|
4683
|
+
planId: x.id,
|
|
4684
|
+
planName: x.title,
|
|
4716
4685
|
...N ? {
|
|
4717
|
-
price:
|
|
4718
|
-
includes_consultation: !!(
|
|
4719
|
-
cta_label:
|
|
4686
|
+
price: x.price,
|
|
4687
|
+
includes_consultation: !!(x.astrologers && x.astrologers.length > 0),
|
|
4688
|
+
cta_label: x.astrologers && x.astrologers.length > 0 ? h?.("planSelectConsultationSlot") ?? "Select consultation slot →" : h?.("planProceedToPayment") ?? "Proceed to Payment"
|
|
4720
4689
|
} : {}
|
|
4721
|
-
}), c(
|
|
4690
|
+
}), c(x));
|
|
4722
4691
|
}
|
|
4723
4692
|
},
|
|
4724
4693
|
C.id
|
|
@@ -4748,7 +4717,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4748
4717
|
planId: i.id,
|
|
4749
4718
|
planName: i.title,
|
|
4750
4719
|
...N ? { cta_type: "proceed", next_step: "payment" } : {}
|
|
4751
|
-
}),
|
|
4720
|
+
}), k(i), n();
|
|
4752
4721
|
}
|
|
4753
4722
|
},
|
|
4754
4723
|
children: i ? N && i.astrologers && i.astrologers.length > 0 ? h?.("planSelectConsultationSlot") ?? "Select consultation slot →" : h?.("planProceedToPayment") ?? i.price + "Proceed to Payment" : "Select a plan"
|
|
@@ -4771,7 +4740,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4771
4740
|
planName: i.title,
|
|
4772
4741
|
cta_type: "proceed",
|
|
4773
4742
|
next_step: "payment"
|
|
4774
|
-
}),
|
|
4743
|
+
}), k(i, C), S(!1), n();
|
|
4775
4744
|
}
|
|
4776
4745
|
}
|
|
4777
4746
|
)
|
|
@@ -4780,7 +4749,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4780
4749
|
),
|
|
4781
4750
|
document.body
|
|
4782
4751
|
) : null;
|
|
4783
|
-
}, hi = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", gi = (t, n) =>
|
|
4752
|
+
}, hi = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", gi = (t, n) => xa[t]?.[n] ?? n, bi = (t, n) => t && ra.includes(t) ? t : n ? "+1" : "+91", _i = {
|
|
4784
4753
|
fullName: "",
|
|
4785
4754
|
phone: "",
|
|
4786
4755
|
phoneCountryCode: "",
|
|
@@ -4797,7 +4766,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4797
4766
|
showLanguageSelector: i = !0,
|
|
4798
4767
|
onBack: c,
|
|
4799
4768
|
initialValues: g,
|
|
4800
|
-
onProceed:
|
|
4769
|
+
onProceed: k,
|
|
4801
4770
|
onProceedGuidance: h,
|
|
4802
4771
|
proceedHref: w,
|
|
4803
4772
|
originalPriceLabel: b,
|
|
@@ -4807,7 +4776,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4807
4776
|
googleMapsAutocompleteEnabled: p,
|
|
4808
4777
|
analytics: U
|
|
4809
4778
|
}) => {
|
|
4810
|
-
const v = Me(), j = vt(),
|
|
4779
|
+
const v = Me(), j = vt(), y = v !== null, _ = y ? v.locale : n, S = _ ?? j?.locale ?? "en", [te, C] = B(S), V = y ? v.locale : te, x = y ? v.setLocale : C, [z, R] = B(!1), E = M(null), se = M(
|
|
4811
4780
|
_
|
|
4812
4781
|
), ae = M(
|
|
4813
4782
|
j?.locale
|
|
@@ -4815,24 +4784,24 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4815
4784
|
q(() => {
|
|
4816
4785
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
4817
4786
|
}, []);
|
|
4818
|
-
const G = (
|
|
4787
|
+
const G = (P) => gi(V, P);
|
|
4819
4788
|
q(() => {
|
|
4820
|
-
_ && se.current !== _ &&
|
|
4821
|
-
}, [_,
|
|
4789
|
+
_ && se.current !== _ && x(_), se.current = _;
|
|
4790
|
+
}, [_, x]), q(() => {
|
|
4822
4791
|
if (_) return;
|
|
4823
|
-
const
|
|
4824
|
-
|
|
4825
|
-
}, [j?.locale, _,
|
|
4792
|
+
const P = j?.locale;
|
|
4793
|
+
P && ae.current !== P && x(P), ae.current = P;
|
|
4794
|
+
}, [j?.locale, _, x]);
|
|
4826
4795
|
const [I, $] = B({
|
|
4827
4796
|
..._i,
|
|
4828
4797
|
...g,
|
|
4829
4798
|
phone: g?.phone ?? ""
|
|
4830
|
-
}), X =
|
|
4799
|
+
}), X = y ? v?.config.isGlobal ?? !0 : !0, O = y ? v.formValues : I, Te = y ? v.setFormValues : $, [K, re] = B(
|
|
4831
4800
|
() => bi(O.phoneCountryCode, X)
|
|
4832
4801
|
), he = M(
|
|
4833
4802
|
!!(O.phoneCountryCode && ra.includes(O.phoneCountryCode))
|
|
4834
|
-
), ue = M(!1), we = Re((
|
|
4835
|
-
ue.current = !0, re(
|
|
4803
|
+
), ue = M(!1), we = Re((P) => {
|
|
4804
|
+
ue.current = !0, re(P);
|
|
4836
4805
|
}, []), ne = M(!0);
|
|
4837
4806
|
q(() => {
|
|
4838
4807
|
if (ne.current) {
|
|
@@ -4841,41 +4810,41 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4841
4810
|
}
|
|
4842
4811
|
he.current || ue.current || re(X ? "+1" : "+91");
|
|
4843
4812
|
}, [X]), q(() => {
|
|
4844
|
-
if (!
|
|
4845
|
-
const
|
|
4846
|
-
|
|
4847
|
-
}, [
|
|
4848
|
-
const je =
|
|
4813
|
+
if (!y || ue.current) return;
|
|
4814
|
+
const P = O.phoneCountryCode;
|
|
4815
|
+
P && ra.includes(P) && P !== K && (he.current = !0, re(P));
|
|
4816
|
+
}, [y, O.phoneCountryCode]);
|
|
4817
|
+
const je = y ? v.goToPage : c, _e = y ? v.onProceed : k, pe = y ? v.onProceedGuidance : h, ge = y ? v.config.proceedHref : w, oe = y ? v.config.originalPriceLabel : b, H = y ? v.config.discountedPriceLabel : Y, me = y ? v.config.showLanguageSelector ?? !0 : i, ie = (y ? v?.config?.analytics : U) ?? U;
|
|
4849
4818
|
q(() => {
|
|
4850
|
-
if (!
|
|
4851
|
-
const
|
|
4819
|
+
if (!z) return;
|
|
4820
|
+
const P = (l) => {
|
|
4852
4821
|
E.current && !E.current.contains(l.target) && R(!1);
|
|
4853
4822
|
};
|
|
4854
|
-
return document.addEventListener("mousedown",
|
|
4855
|
-
}, [
|
|
4856
|
-
const [fe, ee] = B(!1), [ce, Ne] = B(null),
|
|
4857
|
-
|
|
4858
|
-
}, []),
|
|
4823
|
+
return document.addEventListener("mousedown", P), () => document.removeEventListener("mousedown", P);
|
|
4824
|
+
}, [z]);
|
|
4825
|
+
const [fe, ee] = B(!1), [ce, Ne] = B(null), Pe = M(null), ke = Re((P) => {
|
|
4826
|
+
Pe.current = P, ee(!0);
|
|
4827
|
+
}, []), ye = M(!1);
|
|
4859
4828
|
q(() => {
|
|
4860
|
-
if (
|
|
4829
|
+
if (ye.current || !y || !v?.config.autoOpenPlanSheet || v?.config.variant !== "v1")
|
|
4861
4830
|
return;
|
|
4862
|
-
|
|
4863
|
-
const
|
|
4864
|
-
|
|
4831
|
+
ye.current = !0;
|
|
4832
|
+
const P = (O.phone ?? "").trim();
|
|
4833
|
+
ke({
|
|
4865
4834
|
...O,
|
|
4866
|
-
phone:
|
|
4835
|
+
phone: P && `${K}-${P}`
|
|
4867
4836
|
});
|
|
4868
|
-
}, [
|
|
4869
|
-
const
|
|
4870
|
-
if (!
|
|
4837
|
+
}, [y, v?.config.autoOpenPlanSheet, v?.config.variant, O, K, ke]);
|
|
4838
|
+
const xe = Re(() => {
|
|
4839
|
+
if (!Pe.current || !ce) return;
|
|
4871
4840
|
ie?.trackPlanProceedClicked?.({
|
|
4872
4841
|
planId: ce.id,
|
|
4873
4842
|
planName: ce.title,
|
|
4874
4843
|
price: ce.price,
|
|
4875
4844
|
currency: X ? "USD" : "INR"
|
|
4876
4845
|
});
|
|
4877
|
-
const
|
|
4878
|
-
ce.id === ja && pe ? pe(
|
|
4846
|
+
const P = { ...Pe.current, _selectedPlan: ce };
|
|
4847
|
+
ce.id === ja && pe ? pe(P) : _e?.(P), ee(!1), Pe.current = null;
|
|
4879
4848
|
}, [ce, _e, pe]), Be = v?.config.imageComponent ?? Ye, De = me ? /* @__PURE__ */ e.jsxs("div", { className: Le.langDropdownWrap, ref: E, children: [
|
|
4880
4849
|
/* @__PURE__ */ e.jsxs(
|
|
4881
4850
|
"button",
|
|
@@ -4883,9 +4852,9 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4883
4852
|
type: "button",
|
|
4884
4853
|
className: Le.langTrigger,
|
|
4885
4854
|
onClick: () => {
|
|
4886
|
-
ie?.trackLanguageClickedFe?.({ language: V }), R((
|
|
4855
|
+
ie?.trackLanguageClickedFe?.({ language: V }), R((P) => !P);
|
|
4887
4856
|
},
|
|
4888
|
-
"aria-expanded":
|
|
4857
|
+
"aria-expanded": z,
|
|
4889
4858
|
"aria-haspopup": "listbox",
|
|
4890
4859
|
id: "kundli-form-lang",
|
|
4891
4860
|
"aria-label": G("language"),
|
|
@@ -4901,40 +4870,40 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4901
4870
|
loading: "eager"
|
|
4902
4871
|
}
|
|
4903
4872
|
),
|
|
4904
|
-
/* @__PURE__ */ e.jsx("span", { className: Le.langLabel, children:
|
|
4873
|
+
/* @__PURE__ */ e.jsx("span", { className: Le.langLabel, children: ka[V] })
|
|
4905
4874
|
]
|
|
4906
4875
|
}
|
|
4907
4876
|
),
|
|
4908
|
-
|
|
4877
|
+
z && /* @__PURE__ */ e.jsx(
|
|
4909
4878
|
"ul",
|
|
4910
4879
|
{
|
|
4911
4880
|
className: Le.langMenu,
|
|
4912
4881
|
role: "listbox",
|
|
4913
4882
|
"aria-labelledby": "kundli-form-lang",
|
|
4914
4883
|
"aria-activedescendant": `kundli-form-lang-option-${V}`,
|
|
4915
|
-
children:
|
|
4884
|
+
children: Pa.map((P) => /* @__PURE__ */ e.jsx(
|
|
4916
4885
|
"li",
|
|
4917
4886
|
{
|
|
4918
|
-
id: `kundli-form-lang-option-${
|
|
4887
|
+
id: `kundli-form-lang-option-${P}`,
|
|
4919
4888
|
role: "option",
|
|
4920
|
-
"aria-selected":
|
|
4889
|
+
"aria-selected": P === V,
|
|
4921
4890
|
className: Le.langOption,
|
|
4922
4891
|
onClick: () => {
|
|
4923
|
-
ie?.trackLanguageChangedFe?.({ newLanguage:
|
|
4892
|
+
ie?.trackLanguageChangedFe?.({ newLanguage: P }), x(P), R(!1);
|
|
4924
4893
|
},
|
|
4925
|
-
children:
|
|
4894
|
+
children: ka[P]
|
|
4926
4895
|
},
|
|
4927
|
-
|
|
4896
|
+
P
|
|
4928
4897
|
))
|
|
4929
4898
|
}
|
|
4930
4899
|
)
|
|
4931
4900
|
] }) : null;
|
|
4932
4901
|
return /* @__PURE__ */ e.jsxs("div", { className: `${Le.container} ${t}`, children: [
|
|
4933
4902
|
/* @__PURE__ */ e.jsx(
|
|
4934
|
-
|
|
4903
|
+
Qr,
|
|
4935
4904
|
{
|
|
4936
4905
|
t: G,
|
|
4937
|
-
logoUrl:
|
|
4906
|
+
logoUrl: y ? v.config.logoUrl : void 0,
|
|
4938
4907
|
languageSelector: De,
|
|
4939
4908
|
className: Le.kundliHeaderNoBorder
|
|
4940
4909
|
}
|
|
@@ -4953,7 +4922,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4953
4922
|
googleMapsAutocompleteEnabled: p,
|
|
4954
4923
|
phoneIsdCode: K,
|
|
4955
4924
|
onPhoneIsdCodeChange: we,
|
|
4956
|
-
showV1ExtraFields:
|
|
4925
|
+
showV1ExtraFields: y ? v?.config.variant === "v1" : !1,
|
|
4957
4926
|
analytics: ie
|
|
4958
4927
|
}
|
|
4959
4928
|
)
|
|
@@ -4970,8 +4939,8 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4970
4939
|
originalPriceLabel: oe,
|
|
4971
4940
|
discountedPriceLabel: H,
|
|
4972
4941
|
analytics: ie,
|
|
4973
|
-
showPlanSheet:
|
|
4974
|
-
confirmPlan:
|
|
4942
|
+
showPlanSheet: ke,
|
|
4943
|
+
confirmPlan: xe,
|
|
4975
4944
|
planSheetOpen: fe,
|
|
4976
4945
|
selectedPlan: ce
|
|
4977
4946
|
}
|
|
@@ -4984,7 +4953,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
4984
4953
|
selectedPlan: ce,
|
|
4985
4954
|
onSelectPlan: Ne,
|
|
4986
4955
|
onProceed: () => {
|
|
4987
|
-
|
|
4956
|
+
xe?.();
|
|
4988
4957
|
},
|
|
4989
4958
|
plans: v?.config.plans,
|
|
4990
4959
|
t: G,
|
|
@@ -5070,30 +5039,30 @@ export {
|
|
|
5070
5039
|
Rt as F,
|
|
5071
5040
|
Ai as I,
|
|
5072
5041
|
Ci as K,
|
|
5073
|
-
|
|
5042
|
+
ka as L,
|
|
5074
5043
|
ja as P,
|
|
5075
|
-
|
|
5044
|
+
Pa as S,
|
|
5076
5045
|
Er as U,
|
|
5077
5046
|
Sa as a,
|
|
5078
5047
|
ia as b,
|
|
5079
5048
|
Si as c,
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5049
|
+
xi as d,
|
|
5050
|
+
Pt as e,
|
|
5051
|
+
xt as f,
|
|
5083
5052
|
At as g,
|
|
5084
5053
|
Me as h,
|
|
5085
|
-
|
|
5054
|
+
Pi as i,
|
|
5086
5055
|
wi as j,
|
|
5087
5056
|
ui as k,
|
|
5088
5057
|
mi as l,
|
|
5089
5058
|
e as m,
|
|
5090
|
-
|
|
5059
|
+
Qr as n,
|
|
5091
5060
|
sa as o,
|
|
5092
5061
|
Vr as p,
|
|
5093
5062
|
fi as q,
|
|
5094
5063
|
Ti as r,
|
|
5095
5064
|
Tt as s,
|
|
5096
|
-
|
|
5065
|
+
xa as t,
|
|
5097
5066
|
vt as u
|
|
5098
5067
|
};
|
|
5099
|
-
//# sourceMappingURL=analytics-
|
|
5068
|
+
//# sourceMappingURL=analytics-Dq972abg.js.map
|