kundli-generator 2.0.4 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/kundli-generator.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import yt, { createContext as xt, useContext as Ve, useState as
|
|
2
|
-
import * as
|
|
3
|
-
var
|
|
4
|
-
var
|
|
1
|
+
import yt, { createContext as xt, useContext as Ve, useState as W, useRef as K, useEffect as G, useMemo as Fe, useCallback as Pe } from "react";
|
|
2
|
+
import * as Ye from "pdfjs-dist";
|
|
3
|
+
var Oe = { exports: {} }, Se = {};
|
|
4
|
+
var pt;
|
|
5
5
|
function tn() {
|
|
6
|
-
if (
|
|
7
|
-
|
|
8
|
-
var n = yt, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, o = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
9
|
-
function
|
|
10
|
-
var
|
|
6
|
+
if (pt) return Se;
|
|
7
|
+
pt = 1;
|
|
8
|
+
var n = yt, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, o = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9
|
+
function h(u, c, b) {
|
|
10
|
+
var f, _ = {}, x = null, T = null;
|
|
11
11
|
b !== void 0 && (x = "" + b), c.key !== void 0 && (x = "" + c.key), c.ref !== void 0 && (T = c.ref);
|
|
12
|
-
for (
|
|
13
|
-
if (u && u.defaultProps) for (
|
|
12
|
+
for (f in c) d.call(c, f) && !p.hasOwnProperty(f) && (_[f] = c[f]);
|
|
13
|
+
if (u && u.defaultProps) for (f in c = u.defaultProps, c) _[f] === void 0 && (_[f] = c[f]);
|
|
14
14
|
return { $$typeof: r, type: u, key: x, ref: T, props: _, _owner: o.current };
|
|
15
15
|
}
|
|
16
|
-
return Se.Fragment = l, Se.jsx =
|
|
16
|
+
return Se.Fragment = l, Se.jsx = h, Se.jsxs = h, Se;
|
|
17
17
|
}
|
|
18
18
|
var Ce = {};
|
|
19
|
-
var
|
|
19
|
+
var ht;
|
|
20
20
|
function nn() {
|
|
21
|
-
return
|
|
22
|
-
var n = yt, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"),
|
|
21
|
+
return ht || (ht = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
+
var n = yt, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), p = /* @__PURE__ */ Symbol.for("react.profiler"), h = /* @__PURE__ */ Symbol.for("react.provider"), u = /* @__PURE__ */ Symbol.for("react.context"), c = /* @__PURE__ */ Symbol.for("react.forward_ref"), b = /* @__PURE__ */ Symbol.for("react.suspense"), f = /* @__PURE__ */ Symbol.for("react.suspense_list"), _ = /* @__PURE__ */ Symbol.for("react.memo"), x = /* @__PURE__ */ Symbol.for("react.lazy"), T = /* @__PURE__ */ Symbol.for("react.offscreen"), j = Symbol.iterator, v = "@@iterator";
|
|
23
23
|
function w(t) {
|
|
24
24
|
if (t === null || typeof t != "object")
|
|
25
25
|
return null;
|
|
@@ -44,14 +44,14 @@ function nn() {
|
|
|
44
44
|
C.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, C);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
var M = !1, S = !1, z = !1,
|
|
48
|
-
|
|
49
|
-
function
|
|
50
|
-
return !!(typeof t == "string" || typeof t == "function" || t === d || t ===
|
|
47
|
+
var M = !1, S = !1, z = !1, D = !1, Y = !1, O;
|
|
48
|
+
O = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
|
+
function H(t) {
|
|
50
|
+
return !!(typeof t == "string" || typeof t == "function" || t === d || t === p || Y || t === o || t === b || t === f || D || t === T || M || S || z || typeof t == "object" && t !== null && (t.$$typeof === x || t.$$typeof === _ || t.$$typeof === h || t.$$typeof === u || t.$$typeof === c || // 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
|
-
t.$$typeof ===
|
|
54
|
+
t.$$typeof === O || t.getModuleId !== void 0));
|
|
55
55
|
}
|
|
56
56
|
function X(t, i, m) {
|
|
57
57
|
var y = t.displayName;
|
|
@@ -75,13 +75,13 @@ function nn() {
|
|
|
75
75
|
return "Fragment";
|
|
76
76
|
case l:
|
|
77
77
|
return "Portal";
|
|
78
|
-
case
|
|
78
|
+
case p:
|
|
79
79
|
return "Profiler";
|
|
80
80
|
case o:
|
|
81
81
|
return "StrictMode";
|
|
82
82
|
case b:
|
|
83
83
|
return "Suspense";
|
|
84
|
-
case
|
|
84
|
+
case f:
|
|
85
85
|
return "SuspenseList";
|
|
86
86
|
}
|
|
87
87
|
if (typeof t == "object")
|
|
@@ -89,7 +89,7 @@ function nn() {
|
|
|
89
89
|
case u:
|
|
90
90
|
var i = t;
|
|
91
91
|
return B(i) + ".Consumer";
|
|
92
|
-
case
|
|
92
|
+
case h:
|
|
93
93
|
var m = t;
|
|
94
94
|
return B(m._context) + ".Provider";
|
|
95
95
|
case c:
|
|
@@ -108,14 +108,14 @@ function nn() {
|
|
|
108
108
|
}
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
111
|
-
var V = Object.assign, ee = 0, ue, ye,
|
|
111
|
+
var V = Object.assign, ee = 0, ue, ye, he, fe, ge, _e, ie;
|
|
112
112
|
function be() {
|
|
113
113
|
}
|
|
114
114
|
be.__reactDisabledLog = !0;
|
|
115
115
|
function a() {
|
|
116
116
|
{
|
|
117
117
|
if (ee === 0) {
|
|
118
|
-
ue = console.log, ye = console.info,
|
|
118
|
+
ue = console.log, ye = console.info, he = console.warn, fe = console.error, ge = console.group, _e = console.groupCollapsed, ie = console.groupEnd;
|
|
119
119
|
var t = {
|
|
120
120
|
configurable: !0,
|
|
121
121
|
enumerable: !0,
|
|
@@ -135,7 +135,7 @@ function nn() {
|
|
|
135
135
|
ee++;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function g() {
|
|
139
139
|
{
|
|
140
140
|
if (ee--, ee === 0) {
|
|
141
141
|
var t = {
|
|
@@ -151,7 +151,7 @@ function nn() {
|
|
|
151
151
|
value: ye
|
|
152
152
|
}),
|
|
153
153
|
warn: V({}, t, {
|
|
154
|
-
value:
|
|
154
|
+
value: he
|
|
155
155
|
}),
|
|
156
156
|
error: V({}, t, {
|
|
157
157
|
value: fe
|
|
@@ -255,7 +255,7 @@ function nn() {
|
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
} finally {
|
|
258
|
-
Ae = !1, L.current = C,
|
|
258
|
+
Ae = !1, L.current = C, g(), Error.prepareStackTrace = E;
|
|
259
259
|
}
|
|
260
260
|
var we = t ? t.displayName || t.name : "", ve = we ? me(we) : "";
|
|
261
261
|
return typeof t == "function" && $e.set(t, ve), ve;
|
|
@@ -277,7 +277,7 @@ function nn() {
|
|
|
277
277
|
switch (t) {
|
|
278
278
|
case b:
|
|
279
279
|
return me("Suspense");
|
|
280
|
-
case
|
|
280
|
+
case f:
|
|
281
281
|
return me("SuspenseList");
|
|
282
282
|
}
|
|
283
283
|
if (typeof t == "object")
|
|
@@ -297,7 +297,7 @@ function nn() {
|
|
|
297
297
|
return "";
|
|
298
298
|
}
|
|
299
299
|
var Ee = Object.prototype.hasOwnProperty, Ze = {}, et = I.ReactDebugCurrentFrame;
|
|
300
|
-
function
|
|
300
|
+
function De(t) {
|
|
301
301
|
if (t) {
|
|
302
302
|
var i = t._owner, m = Le(t.type, t._source, i ? i.type : null);
|
|
303
303
|
et.setExtraStackFrame(m);
|
|
@@ -319,7 +319,7 @@ function nn() {
|
|
|
319
319
|
} catch (F) {
|
|
320
320
|
N = F;
|
|
321
321
|
}
|
|
322
|
-
N && !(N instanceof Error) && (
|
|
322
|
+
N && !(N instanceof Error) && (De(E), k("%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).", y || "React class", m, P, typeof N), De(null)), N instanceof Error && !(N.message in Ze) && (Ze[N.message] = !0, De(E), k("Failed %s type: %s", m, N.message), De(null));
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
}
|
|
@@ -333,7 +333,7 @@ function nn() {
|
|
|
333
333
|
return m;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function Dt(t) {
|
|
337
337
|
try {
|
|
338
338
|
return tt(t), !1;
|
|
339
339
|
} catch {
|
|
@@ -344,10 +344,10 @@ function nn() {
|
|
|
344
344
|
return "" + t;
|
|
345
345
|
}
|
|
346
346
|
function nt(t) {
|
|
347
|
-
if (
|
|
347
|
+
if (Dt(t))
|
|
348
348
|
return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Lt(t)), tt(t);
|
|
349
349
|
}
|
|
350
|
-
var at = I.ReactCurrentOwner,
|
|
350
|
+
var at = I.ReactCurrentOwner, Ot = {
|
|
351
351
|
key: !0,
|
|
352
352
|
ref: !0,
|
|
353
353
|
__self: !0,
|
|
@@ -394,7 +394,7 @@ function nn() {
|
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
var
|
|
397
|
+
var Kt = function(t, i, m, y, E, C, P) {
|
|
398
398
|
var N = {
|
|
399
399
|
// This tag allows us to uniquely identify this as a React Element
|
|
400
400
|
$$typeof: r,
|
|
@@ -423,12 +423,12 @@ function nn() {
|
|
|
423
423
|
value: E
|
|
424
424
|
}), Object.freeze && (Object.freeze(N.props), Object.freeze(N)), N;
|
|
425
425
|
};
|
|
426
|
-
function
|
|
426
|
+
function Wt(t, i, m, y, E) {
|
|
427
427
|
{
|
|
428
428
|
var C, P = {}, N = null, Q = null;
|
|
429
429
|
m !== void 0 && (nt(m), N = "" + m), Ft(i) && (nt(i.key), N = "" + i.key), Bt(i) && (Q = i.ref, Mt(i, E));
|
|
430
430
|
for (C in i)
|
|
431
|
-
Ee.call(i, C) && !
|
|
431
|
+
Ee.call(i, C) && !Ot.hasOwnProperty(C) && (P[C] = i[C]);
|
|
432
432
|
if (t && t.defaultProps) {
|
|
433
433
|
var F = t.defaultProps;
|
|
434
434
|
for (C in F)
|
|
@@ -438,7 +438,7 @@ function nn() {
|
|
|
438
438
|
var q = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
439
439
|
N && Ut(P, q), Q && qt(P, q);
|
|
440
440
|
}
|
|
441
|
-
return
|
|
441
|
+
return Kt(t, N, Q, E, y, at.current, P);
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
444
|
var qe = I.ReactCurrentOwner, ot = I.ReactDebugCurrentFrame;
|
|
@@ -449,9 +449,9 @@ function nn() {
|
|
|
449
449
|
} else
|
|
450
450
|
ot.setExtraStackFrame(null);
|
|
451
451
|
}
|
|
452
|
-
var
|
|
453
|
-
|
|
454
|
-
function
|
|
452
|
+
var Ke;
|
|
453
|
+
Ke = !1;
|
|
454
|
+
function We(t) {
|
|
455
455
|
return typeof t == "object" && t !== null && t.$$typeof === r;
|
|
456
456
|
}
|
|
457
457
|
function st() {
|
|
@@ -466,11 +466,11 @@ Check the render method of \`` + t + "`.";
|
|
|
466
466
|
return "";
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function Gt(t) {
|
|
470
470
|
return "";
|
|
471
471
|
}
|
|
472
472
|
var ct = {};
|
|
473
|
-
function
|
|
473
|
+
function Ht(t) {
|
|
474
474
|
{
|
|
475
475
|
var i = st();
|
|
476
476
|
if (!i) {
|
|
@@ -487,7 +487,7 @@ Check the top-level render call using <` + m + ">.");
|
|
|
487
487
|
if (!t._store || t._store.validated || t.key != null)
|
|
488
488
|
return;
|
|
489
489
|
t._store.validated = !0;
|
|
490
|
-
var m =
|
|
490
|
+
var m = Ht(i);
|
|
491
491
|
if (ct[m])
|
|
492
492
|
return;
|
|
493
493
|
ct[m] = !0;
|
|
@@ -502,19 +502,19 @@ Check the top-level render call using <` + m + ">.");
|
|
|
502
502
|
if (Ue(t))
|
|
503
503
|
for (var m = 0; m < t.length; m++) {
|
|
504
504
|
var y = t[m];
|
|
505
|
-
|
|
505
|
+
We(y) && lt(y, i);
|
|
506
506
|
}
|
|
507
|
-
else if (
|
|
507
|
+
else if (We(t))
|
|
508
508
|
t._store && (t._store.validated = !0);
|
|
509
509
|
else if (t) {
|
|
510
510
|
var E = w(t);
|
|
511
511
|
if (typeof E == "function" && E !== t.entries)
|
|
512
512
|
for (var C = E.call(t), P; !(P = C.next()).done; )
|
|
513
|
-
|
|
513
|
+
We(P.value) && lt(P.value, i);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function Yt(t) {
|
|
518
518
|
{
|
|
519
519
|
var i = t.type;
|
|
520
520
|
if (i == null || typeof i == "string")
|
|
@@ -531,8 +531,8 @@ Check the top-level render call using <` + m + ">.");
|
|
|
531
531
|
if (m) {
|
|
532
532
|
var y = U(i);
|
|
533
533
|
Rt(m, t.props, "prop", y, t);
|
|
534
|
-
} else if (i.PropTypes !== void 0 && !
|
|
535
|
-
|
|
534
|
+
} else if (i.PropTypes !== void 0 && !Ke) {
|
|
535
|
+
Ke = !0;
|
|
536
536
|
var E = U(i);
|
|
537
537
|
k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", E || "Unknown");
|
|
538
538
|
}
|
|
@@ -554,16 +554,16 @@ Check the top-level render call using <` + m + ">.");
|
|
|
554
554
|
var ut = {};
|
|
555
555
|
function mt(t, i, m, y, E, C) {
|
|
556
556
|
{
|
|
557
|
-
var P =
|
|
557
|
+
var P = H(t);
|
|
558
558
|
if (!P) {
|
|
559
559
|
var N = "";
|
|
560
560
|
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (N += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
561
|
-
var Q =
|
|
561
|
+
var Q = Gt();
|
|
562
562
|
Q ? N += Q : N += st();
|
|
563
563
|
var F;
|
|
564
564
|
t === null ? F = "null" : Ue(t) ? F = "array" : t !== void 0 && t.$$typeof === r ? (F = "<" + (U(t.type) || "Unknown") + " />", N = " Did you accidentally export a JSX literal instead of a component?") : F = typeof t, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", F, N);
|
|
565
565
|
}
|
|
566
|
-
var q =
|
|
566
|
+
var q = Wt(t, i, m, E, C);
|
|
567
567
|
if (q == null)
|
|
568
568
|
return q;
|
|
569
569
|
if (P) {
|
|
@@ -582,18 +582,18 @@ Check the top-level render call using <` + m + ">.");
|
|
|
582
582
|
if (Ee.call(i, "key")) {
|
|
583
583
|
var ve = U(t), Z = Object.keys(i).filter(function(en) {
|
|
584
584
|
return en !== "key";
|
|
585
|
-
}),
|
|
586
|
-
if (!ut[ve +
|
|
585
|
+
}), Ge = Z.length > 0 ? "{key: someKey, " + Z.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
586
|
+
if (!ut[ve + Ge]) {
|
|
587
587
|
var Zt = Z.length > 0 ? "{" + Z.join(": ..., ") + ": ...}" : "{}";
|
|
588
588
|
k(`A props object containing a "key" prop is being spread into JSX:
|
|
589
589
|
let props = %s;
|
|
590
590
|
<%s {...props} />
|
|
591
591
|
React keys must be passed directly to JSX without using spread:
|
|
592
592
|
let props = %s;
|
|
593
|
-
<%s key={someKey} {...props} />`,
|
|
593
|
+
<%s key={someKey} {...props} />`, Ge, ve, Zt, ve), ut[ve + Ge] = !0;
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
|
-
return t === d ? Vt(q) :
|
|
596
|
+
return t === d ? Vt(q) : Yt(q), q;
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
599
|
function zt(t, i, m) {
|
|
@@ -608,10 +608,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
608
608
|
}
|
|
609
609
|
var ft;
|
|
610
610
|
function an() {
|
|
611
|
-
return ft || (ft = 1, process.env.NODE_ENV === "production" ?
|
|
611
|
+
return ft || (ft = 1, process.env.NODE_ENV === "production" ? Oe.exports = tn() : Oe.exports = nn()), Oe.exports;
|
|
612
612
|
}
|
|
613
613
|
var e = an();
|
|
614
|
-
const rn = "_container_nm3gb_1", on = "_main_nm3gb_6", sn = "_langDropdownWrap_nm3gb_12", cn = "_langTrigger_nm3gb_16", ln = "_langIcon_nm3gb_28", dn = "_langLabel_nm3gb_35", un = "_langMenu_nm3gb_40", mn = "_langOption_nm3gb_46",
|
|
614
|
+
const rn = "_container_nm3gb_1", on = "_main_nm3gb_6", sn = "_langDropdownWrap_nm3gb_12", cn = "_langTrigger_nm3gb_16", ln = "_langIcon_nm3gb_28", dn = "_langLabel_nm3gb_35", un = "_langMenu_nm3gb_40", mn = "_langOption_nm3gb_46", pe = {
|
|
615
615
|
container: rn,
|
|
616
616
|
main: on,
|
|
617
617
|
langDropdownWrap: sn,
|
|
@@ -637,7 +637,7 @@ const rn = "_container_nm3gb_1", on = "_main_nm3gb_6", sn = "_langDropdownWrap_n
|
|
|
637
637
|
nakshatra: "Nakshatra",
|
|
638
638
|
// Premium Kundli landing
|
|
639
639
|
language: "Language",
|
|
640
|
-
sriMandir: "
|
|
640
|
+
sriMandir: "Sri Mandir",
|
|
641
641
|
ratingText: "4.9/5 on Google PlayStore",
|
|
642
642
|
heroTitle: "Get Your Premium Personalised Kundli Report",
|
|
643
643
|
heroSubtitle: "This premium personalised kundli report helps you find answers to major life issues.",
|
|
@@ -663,6 +663,8 @@ const rn = "_container_nm3gb_1", on = "_main_nm3gb_6", sn = "_langDropdownWrap_n
|
|
|
663
663
|
step1: "Enter your information",
|
|
664
664
|
step2: "Your horoscope will be created by experts",
|
|
665
665
|
step3Intro: "You'll receive your Kundli on your Whatsapp",
|
|
666
|
+
step3IntroGlobal: "You'll receive your Kundli on your email",
|
|
667
|
+
step3IntroDomestic: "You'll receive your Kundli on your Whatsapp",
|
|
666
668
|
step3Days: "2 days",
|
|
667
669
|
viewSampleReport: "View Sample Kundli Report",
|
|
668
670
|
sampleReportModalTitle: "Sample Kundli Report",
|
|
@@ -744,9 +746,10 @@ const rn = "_container_nm3gb_1", on = "_main_nm3gb_6", sn = "_langDropdownWrap_n
|
|
|
744
746
|
faqA2: "Yes, we provide report in Hindi and English languages",
|
|
745
747
|
faqA3: "Accurate birth time helps to create more accurate report. However we are still able to prepare 80% accurate report if you don't know your exact time of birth",
|
|
746
748
|
contactTitle: "Contact Us",
|
|
749
|
+
contactBrandName: "Shubham Goyal (Director - Founder's Office)",
|
|
747
750
|
contactWhatsApp: "Whatsapp: 9845089752",
|
|
748
751
|
contactEmail: "Email: shubham.goyal@appsforbharat.com",
|
|
749
|
-
ctaKundliCreated: "
|
|
752
|
+
ctaKundliCreated: "3L+ Kundli Created.",
|
|
750
753
|
ctaCertified: "BHU Certified Astrologer.",
|
|
751
754
|
ctaSecurePayment: "Secure Payment.",
|
|
752
755
|
ctaButton: "Get My Detailed Kundli in $300 $25",
|
|
@@ -793,7 +796,7 @@ const rn = "_container_nm3gb_1", on = "_main_nm3gb_6", sn = "_langDropdownWrap_n
|
|
|
793
796
|
rashi: "राशि",
|
|
794
797
|
nakshatra: "नक्षत्र",
|
|
795
798
|
language: "भाषा",
|
|
796
|
-
sriMandir: "
|
|
799
|
+
sriMandir: "श्री मंदिर",
|
|
797
800
|
ratingText: "4.5 (8 लाख Google Playstore)",
|
|
798
801
|
heroTitle: "अपनी प्रीमियम व्यक्तिगत कुंडली रिपोर्ट प्राप्त करें",
|
|
799
802
|
heroSubtitle: "यह प्रीमियम व्यक्तिगत कुंडली रिपोर्ट आपको प्रमुख जीवन मुद्दों के जवाब खोजने में मदद करती है।",
|
|
@@ -819,6 +822,8 @@ const rn = "_container_nm3gb_1", on = "_main_nm3gb_6", sn = "_langDropdownWrap_n
|
|
|
819
822
|
step1: "अपनी जानकारी दर्ज करें",
|
|
820
823
|
step2: "आपकी कुंडली विशेषज्ञों द्वारा बनाई जाएगी",
|
|
821
824
|
step3Intro: "आपको व्हाट्सएप पर अपनी कुंडली मिलेगी",
|
|
825
|
+
step3IntroGlobal: "आपको अपने ईमेल पर अपनी कुंडली मिलेगी",
|
|
826
|
+
step3IntroDomestic: "आपको व्हाट्सएप पर अपनी कुंडली मिलेगी",
|
|
822
827
|
step3Days: "2 दिनों में",
|
|
823
828
|
viewSampleReport: "नमूना कुंडली रिपोर्ट देखें",
|
|
824
829
|
sampleReportModalTitle: "नमूना कुंडली रिपोर्ट",
|
|
@@ -900,9 +905,10 @@ const rn = "_container_nm3gb_1", on = "_main_nm3gb_6", sn = "_langDropdownWrap_n
|
|
|
900
905
|
faqA2: "हाँ, हम रिपोर्ट हिंदी और अंग्रेज़ी भाषाओं में प्रदान करते हैं।",
|
|
901
906
|
faqA3: "सही जन्म समय से रिपोर्ट और अधिक सटीक बनती है। फिर भी, बिना सटीक समय के हम लगभग 80% सटीक रिपोर्ट तैयार कर सकते हैं।",
|
|
902
907
|
contactTitle: "संपर्क करें",
|
|
908
|
+
contactBrandName: "शुभम गोयल (डायरेक्टर - फाउंडर's ऑफिस)",
|
|
903
909
|
contactWhatsApp: "व्हाट्सएप: 9845089752",
|
|
904
910
|
contactEmail: "ईमेल: shubham.goyal@appsforbharat.com",
|
|
905
|
-
ctaKundliCreated: "
|
|
911
|
+
ctaKundliCreated: "3L+ कुंडली बनाई।",
|
|
906
912
|
ctaCertified: "BHU प्रमाणित ज्योतिषी।",
|
|
907
913
|
ctaSecurePayment: "सुरक्षित भुगतान।",
|
|
908
914
|
ctaButton: "$300 $25 में मेरी विस्तृत कुंडली प्राप्त करें",
|
|
@@ -947,9 +953,9 @@ const rn = "_container_nm3gb_1", on = "_main_nm3gb_6", sn = "_langDropdownWrap_n
|
|
|
947
953
|
function jt() {
|
|
948
954
|
return Ve(wt);
|
|
949
955
|
}
|
|
950
|
-
const
|
|
951
|
-
container:
|
|
952
|
-
main:
|
|
956
|
+
const pn = "_container_1e1th_1", hn = "_main_1e1th_7", fn = "_kundliHeaderNoBorder_1e1th_12", gn = "_headerSeparator_1e1th_16", _n = "_langDropdownWrap_1e1th_21", bn = "_langTrigger_1e1th_25", vn = "_langIcon_1e1th_37", kn = "_langLabel_1e1th_44", yn = "_langMenu_1e1th_49", xn = "_langOption_1e1th_55", oe = {
|
|
957
|
+
container: pn,
|
|
958
|
+
main: hn,
|
|
953
959
|
kundliHeaderNoBorder: fn,
|
|
954
960
|
headerSeparator: gn,
|
|
955
961
|
langDropdownWrap: _n,
|
|
@@ -1014,12 +1020,12 @@ const Je = xt(null), Tn = {
|
|
|
1014
1020
|
userId: l,
|
|
1015
1021
|
isGlobal: d,
|
|
1016
1022
|
logoUrl: o,
|
|
1017
|
-
reportImageUrl:
|
|
1018
|
-
universityLogoUrls:
|
|
1023
|
+
reportImageUrl: p,
|
|
1024
|
+
universityLogoUrls: h,
|
|
1019
1025
|
sampleReportHref: u,
|
|
1020
1026
|
onViewSampleReport: c,
|
|
1021
1027
|
ctaHref: b,
|
|
1022
|
-
onCtaClick:
|
|
1028
|
+
onCtaClick: f,
|
|
1023
1029
|
onBack: _,
|
|
1024
1030
|
readMoreReviewsHref: x,
|
|
1025
1031
|
onProceed: T,
|
|
@@ -1031,19 +1037,19 @@ const Je = xt(null), Tn = {
|
|
|
1031
1037
|
onLocaleChange: A,
|
|
1032
1038
|
children: M
|
|
1033
1039
|
}) => {
|
|
1034
|
-
const [S, z] =
|
|
1035
|
-
|
|
1040
|
+
const [S, z] = W("landing"), [D, Y] = W(n ?? "en"), [O, H] = W(Tn), X = K(!0);
|
|
1041
|
+
G(() => {
|
|
1036
1042
|
const ue = Nn();
|
|
1037
|
-
ue &&
|
|
1038
|
-
}, []),
|
|
1039
|
-
Pn(
|
|
1040
|
-
}, [
|
|
1043
|
+
ue && Y(ue);
|
|
1044
|
+
}, []), G(() => {
|
|
1045
|
+
Pn(D);
|
|
1046
|
+
}, [D]), G(() => {
|
|
1041
1047
|
if (X.current) {
|
|
1042
1048
|
X.current = !1;
|
|
1043
1049
|
return;
|
|
1044
1050
|
}
|
|
1045
|
-
A?.(
|
|
1046
|
-
}, [
|
|
1051
|
+
A?.(D);
|
|
1052
|
+
}, [D, A]);
|
|
1047
1053
|
const B = Fe(
|
|
1048
1054
|
() => ({
|
|
1049
1055
|
locale: n,
|
|
@@ -1051,12 +1057,12 @@ const Je = xt(null), Tn = {
|
|
|
1051
1057
|
userId: l,
|
|
1052
1058
|
isGlobal: d,
|
|
1053
1059
|
logoUrl: o,
|
|
1054
|
-
reportImageUrl:
|
|
1055
|
-
universityLogoUrls:
|
|
1060
|
+
reportImageUrl: p,
|
|
1061
|
+
universityLogoUrls: h,
|
|
1056
1062
|
sampleReportHref: u,
|
|
1057
1063
|
onViewSampleReport: c,
|
|
1058
1064
|
ctaHref: b,
|
|
1059
|
-
onCtaClick:
|
|
1065
|
+
onCtaClick: f,
|
|
1060
1066
|
onBack: _,
|
|
1061
1067
|
readMoreReviewsHref: x,
|
|
1062
1068
|
onProceed: T,
|
|
@@ -1073,12 +1079,12 @@ const Je = xt(null), Tn = {
|
|
|
1073
1079
|
l,
|
|
1074
1080
|
d,
|
|
1075
1081
|
o,
|
|
1076
|
-
|
|
1077
|
-
|
|
1082
|
+
p,
|
|
1083
|
+
h,
|
|
1078
1084
|
u,
|
|
1079
1085
|
c,
|
|
1080
1086
|
b,
|
|
1081
|
-
|
|
1087
|
+
f,
|
|
1082
1088
|
_,
|
|
1083
1089
|
x,
|
|
1084
1090
|
T,
|
|
@@ -1096,16 +1102,16 @@ const Je = xt(null), Tn = {
|
|
|
1096
1102
|
}, [B.onBack]), ee = Fe(
|
|
1097
1103
|
() => ({
|
|
1098
1104
|
view: S,
|
|
1099
|
-
locale:
|
|
1100
|
-
setLocale:
|
|
1105
|
+
locale: D,
|
|
1106
|
+
setLocale: Y,
|
|
1101
1107
|
config: B,
|
|
1102
|
-
formValues:
|
|
1103
|
-
setFormValues:
|
|
1108
|
+
formValues: O,
|
|
1109
|
+
setFormValues: H,
|
|
1104
1110
|
goToForm: U,
|
|
1105
1111
|
goToPage: V,
|
|
1106
1112
|
onProceed: B.onProceed
|
|
1107
1113
|
}),
|
|
1108
|
-
[S,
|
|
1114
|
+
[S, D, B, O, U, V]
|
|
1109
1115
|
);
|
|
1110
1116
|
return /* @__PURE__ */ e.jsx(Je.Provider, { value: ee, children: M });
|
|
1111
1117
|
};
|
|
@@ -1126,7 +1132,7 @@ const En = "_header_1414z_1", Sn = "_left_1414z_7", Cn = "_backBtn_1414z_11", In
|
|
|
1126
1132
|
title: Rn,
|
|
1127
1133
|
subtitle: $n,
|
|
1128
1134
|
backIcon: Ln
|
|
1129
|
-
},
|
|
1135
|
+
}, Dn = () => /* @__PURE__ */ e.jsx(
|
|
1130
1136
|
"svg",
|
|
1131
1137
|
{
|
|
1132
1138
|
className: ke.backIcon,
|
|
@@ -1145,7 +1151,7 @@ const En = "_header_1414z_1", Sn = "_left_1414z_7", Cn = "_backBtn_1414z_11", In
|
|
|
1145
1151
|
}
|
|
1146
1152
|
)
|
|
1147
1153
|
}
|
|
1148
|
-
),
|
|
1154
|
+
), On = ({
|
|
1149
1155
|
t: n,
|
|
1150
1156
|
onBack: r,
|
|
1151
1157
|
className: l = ""
|
|
@@ -1157,24 +1163,24 @@ const En = "_header_1414z_1", Sn = "_left_1414z_7", Cn = "_backBtn_1414z_11", In
|
|
|
1157
1163
|
className: ke.backBtn,
|
|
1158
1164
|
onClick: r,
|
|
1159
1165
|
"aria-label": n("back"),
|
|
1160
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1166
|
+
children: /* @__PURE__ */ e.jsx(Dn, {})
|
|
1161
1167
|
}
|
|
1162
1168
|
),
|
|
1163
1169
|
/* @__PURE__ */ e.jsxs("div", { className: ke.titleWrap, children: [
|
|
1164
1170
|
/* @__PURE__ */ e.jsx("h1", { className: ke.title, children: n("formTitle") }),
|
|
1165
1171
|
/* @__PURE__ */ e.jsx("p", { className: ke.subtitle, children: n("formSubtitle") })
|
|
1166
1172
|
] })
|
|
1167
|
-
] }) }), Bn = "_wrap_1wp0p_1", Fn = "_card_1wp0p_5", Mn = "_cardInner_1wp0p_12", Un = "_field_1wp0p_16", qn = "_labelRow_1wp0p_20",
|
|
1173
|
+
] }) }), Bn = "_wrap_1wp0p_1", Fn = "_card_1wp0p_5", Mn = "_cardInner_1wp0p_12", Un = "_field_1wp0p_16", qn = "_labelRow_1wp0p_20", Kn = "_label_1wp0p_20", Wn = "_req_1wp0p_29", Gn = "_help_1wp0p_33", Hn = "_infoBtn_1wp0p_40", Yn = "_infoImg_1wp0p_57", Vn = "_infoWrap_1wp0p_63", zn = "_tooltip_1wp0p_69", Qn = "_tooltipArrow_1wp0p_85", Jn = "_inputWrap_1wp0p_96", Xn = "_suggestions_1wp0p_100", Zn = "_suggestionItem_1wp0p_113", ea = "_suggestionMain_1wp0p_131", ta = "_suggestionSecondary_1wp0p_137", na = "_suggestionsHint_1wp0p_142", aa = "_timePopover_1wp0p_157", ra = "_timePickerRow_1wp0p_173", ia = "_timePickerSelect_1wp0p_179", oa = "_timePickerColon_1wp0p_195", sa = "_meridiemToggle_1wp0p_203", ca = "_meridiemBtn_1wp0p_212", la = "_meridiemActive_1wp0p_227", da = "_timePopoverActions_1wp0p_232", ua = "_timePopoverBtn_1wp0p_238", ma = "_timePopoverOk_1wp0p_257", pa = "_input_1wp0p_96", ha = "_iconBtn_1wp0p_301", fa = "_iconBtnInteractive_1wp0p_307", ga = "_iconImg_1wp0p_326", _a = "_checkboxRow_1wp0p_332", ba = "_checkbox_1wp0p_332", va = "_checkboxText_1wp0p_370", s = {
|
|
1168
1174
|
wrap: Bn,
|
|
1169
1175
|
card: Fn,
|
|
1170
1176
|
cardInner: Mn,
|
|
1171
1177
|
field: Un,
|
|
1172
1178
|
labelRow: qn,
|
|
1173
|
-
label:
|
|
1174
|
-
req:
|
|
1175
|
-
help:
|
|
1176
|
-
infoBtn:
|
|
1177
|
-
infoImg:
|
|
1179
|
+
label: Kn,
|
|
1180
|
+
req: Wn,
|
|
1181
|
+
help: Gn,
|
|
1182
|
+
infoBtn: Hn,
|
|
1183
|
+
infoImg: Yn,
|
|
1178
1184
|
infoWrap: Vn,
|
|
1179
1185
|
tooltip: zn,
|
|
1180
1186
|
tooltipArrow: Qn,
|
|
@@ -1194,8 +1200,8 @@ const En = "_header_1414z_1", Sn = "_left_1414z_7", Cn = "_backBtn_1414z_11", In
|
|
|
1194
1200
|
timePopoverActions: da,
|
|
1195
1201
|
timePopoverBtn: ua,
|
|
1196
1202
|
timePopoverOk: ma,
|
|
1197
|
-
input:
|
|
1198
|
-
iconBtn:
|
|
1203
|
+
input: pa,
|
|
1204
|
+
iconBtn: ha,
|
|
1199
1205
|
iconBtnInteractive: fa,
|
|
1200
1206
|
iconImg: ga,
|
|
1201
1207
|
checkboxRow: _a,
|
|
@@ -1214,8 +1220,8 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1214
1220
|
);
|
|
1215
1221
|
return;
|
|
1216
1222
|
}
|
|
1217
|
-
const
|
|
1218
|
-
|
|
1223
|
+
const p = document.createElement("script"), h = new URL("https://maps.googleapis.com/maps/api/js");
|
|
1224
|
+
h.searchParams.set("key", n), h.searchParams.set("libraries", "places"), h.searchParams.set("loading", "async"), r && h.searchParams.set("language", r), p.src = h.toString(), p.async = !0, p.defer = !0, p.setAttribute("data-google-maps-places", "true"), p.onload = () => {
|
|
1219
1225
|
const u = Date.now(), c = () => {
|
|
1220
1226
|
if (window.google?.maps?.places) {
|
|
1221
1227
|
l();
|
|
@@ -1232,20 +1238,20 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1232
1238
|
window.setTimeout(c, 50);
|
|
1233
1239
|
};
|
|
1234
1240
|
c();
|
|
1235
|
-
},
|
|
1241
|
+
}, p.onerror = () => d(new Error("Failed to load Google Maps API")), document.head.appendChild(p);
|
|
1236
1242
|
}), Be), ya = (n) => {
|
|
1237
|
-
const { apiKey: r, language: l = "en", restrictCountry: d } = n, [o,
|
|
1238
|
-
|
|
1243
|
+
const { apiKey: r, language: l = "en", restrictCountry: d } = n, [o, p] = W(!1), [h, u] = W([]), [c, b] = W(!1), [f, _] = W(null), x = K(null), T = K(null), j = K(null);
|
|
1244
|
+
G(() => {
|
|
1239
1245
|
if (!r) {
|
|
1240
|
-
|
|
1246
|
+
p(!1), _(null);
|
|
1241
1247
|
return;
|
|
1242
1248
|
}
|
|
1243
1249
|
ka(r, l).then(() => {
|
|
1244
1250
|
x.current = new google.maps.places.AutocompleteService();
|
|
1245
1251
|
const k = document.createElement("div");
|
|
1246
|
-
T.current = new google.maps.places.PlacesService(k), j.current = new google.maps.places.AutocompleteSessionToken(),
|
|
1252
|
+
T.current = new google.maps.places.PlacesService(k), j.current = new google.maps.places.AutocompleteSessionToken(), p(!0), _(null);
|
|
1247
1253
|
}).catch((k) => {
|
|
1248
|
-
|
|
1254
|
+
p(!1), _(k?.message || "Failed to load location service");
|
|
1249
1255
|
});
|
|
1250
1256
|
}, [r, l]);
|
|
1251
1257
|
const v = Pe(
|
|
@@ -1265,8 +1271,8 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1265
1271
|
const M = await new Promise((S, z) => {
|
|
1266
1272
|
x.current.getPlacePredictions(
|
|
1267
1273
|
A,
|
|
1268
|
-
(
|
|
1269
|
-
|
|
1274
|
+
(D, Y) => {
|
|
1275
|
+
Y === google.maps.places.PlacesServiceStatus.OK && D ? S(D) : Y === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? S([]) : z(new Error(`Places API error: ${Y}`));
|
|
1270
1276
|
}
|
|
1271
1277
|
);
|
|
1272
1278
|
});
|
|
@@ -1292,7 +1298,7 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1292
1298
|
if (!T.current) return null;
|
|
1293
1299
|
try {
|
|
1294
1300
|
const A = await new Promise(
|
|
1295
|
-
(
|
|
1301
|
+
(O, H) => {
|
|
1296
1302
|
T.current.getDetails(
|
|
1297
1303
|
{
|
|
1298
1304
|
placeId: k,
|
|
@@ -1300,23 +1306,23 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1300
1306
|
sessionToken: j.current ?? void 0
|
|
1301
1307
|
},
|
|
1302
1308
|
(X, B) => {
|
|
1303
|
-
B === google.maps.places.PlacesServiceStatus.OK && X ?
|
|
1309
|
+
B === google.maps.places.PlacesServiceStatus.OK && X ? O(X) : H(new Error(`Place details error: ${B}`));
|
|
1304
1310
|
}
|
|
1305
1311
|
);
|
|
1306
1312
|
}
|
|
1307
1313
|
);
|
|
1308
1314
|
j.current = new google.maps.places.AutocompleteSessionToken();
|
|
1309
1315
|
const M = A.geometry?.location?.lat() || 0, S = A.geometry?.location?.lng() || 0;
|
|
1310
|
-
let z = "",
|
|
1311
|
-
return A.address_components?.forEach((
|
|
1312
|
-
|
|
1316
|
+
let z = "", D = "", Y = "";
|
|
1317
|
+
return A.address_components?.forEach((O) => {
|
|
1318
|
+
O.types.includes("locality") && (z = O.long_name), O.types.includes("administrative_area_level_1") && (D = O.long_name), O.types.includes("country") && (Y = O.long_name);
|
|
1313
1319
|
}), {
|
|
1314
1320
|
display_name: A.formatted_address || "",
|
|
1315
1321
|
lat: M,
|
|
1316
1322
|
lng: S,
|
|
1317
1323
|
city: z,
|
|
1318
|
-
state:
|
|
1319
|
-
country:
|
|
1324
|
+
state: D,
|
|
1325
|
+
country: Y
|
|
1320
1326
|
};
|
|
1321
1327
|
} catch {
|
|
1322
1328
|
return null;
|
|
@@ -1326,9 +1332,9 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1326
1332
|
), I = Pe(() => u([]), []);
|
|
1327
1333
|
return {
|
|
1328
1334
|
isLoaded: o,
|
|
1329
|
-
predictions:
|
|
1335
|
+
predictions: h,
|
|
1330
1336
|
isSearching: c,
|
|
1331
|
-
loadError:
|
|
1337
|
+
loadError: f,
|
|
1332
1338
|
searchPlaces: v,
|
|
1333
1339
|
getPlaceDetails: w,
|
|
1334
1340
|
clearPredictions: I
|
|
@@ -1344,10 +1350,10 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1344
1350
|
onChange: l,
|
|
1345
1351
|
analytics: d,
|
|
1346
1352
|
googleMapsApiKey: o,
|
|
1347
|
-
className:
|
|
1353
|
+
className: p = ""
|
|
1348
1354
|
}) => {
|
|
1349
|
-
const
|
|
1350
|
-
|
|
1355
|
+
const h = Te(), u = h?.config?.analytics ?? d, c = h?.config.isGlobal ?? !0, b = K({}), f = (a) => l({ ...r, ...a }), _ = (a, g) => {
|
|
1356
|
+
g.trim() && !b.current[a] && (b.current[a] = !0, {
|
|
1351
1357
|
fullName: () => u?.trackNameSectionFilled?.(),
|
|
1352
1358
|
phone: () => u?.trackPhoneSectionFilled?.(),
|
|
1353
1359
|
email: () => u?.trackEmailSectionFilled?.(),
|
|
@@ -1355,26 +1361,26 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1355
1361
|
birthTime: () => u?.trackTimeFilled?.(),
|
|
1356
1362
|
birthPlace: () => u?.trackPlaceOfBirthChosen?.()
|
|
1357
1363
|
}[a]?.());
|
|
1358
|
-
}, x = (a) => a.replace(/\D/g, "").slice(0, 10), T =
|
|
1359
|
-
|
|
1360
|
-
const j =
|
|
1361
|
-
const
|
|
1362
|
-
if (!
|
|
1363
|
-
const L = Number(
|
|
1364
|
+
}, x = (a) => a.replace(/\D/g, "").slice(0, 10), T = K(null);
|
|
1365
|
+
K(null);
|
|
1366
|
+
const j = K(null), v = K(0), w = K(null), [I, k] = W(!1), [A, M] = W({ hour12: 12, minute: "00", meridiem: "AM" }), S = (a) => String(a).padStart(2, "0"), z = (a) => {
|
|
1367
|
+
const g = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1368
|
+
if (!g) return a;
|
|
1369
|
+
const L = Number(g[1]), te = g[2], me = L >= 12 ? "PM" : "AM";
|
|
1364
1370
|
return `${L % 12 === 0 ? 12 : L % 12}:${te} ${me}`;
|
|
1365
|
-
},
|
|
1366
|
-
const
|
|
1367
|
-
if (!
|
|
1368
|
-
const L = Number(
|
|
1371
|
+
}, D = (a) => {
|
|
1372
|
+
const g = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1373
|
+
if (!g) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1374
|
+
const L = Number(g[1]), te = g[2], me = L >= 12 ? "PM" : "AM";
|
|
1369
1375
|
return { hour12: L % 12 === 0 ? 12 : L % 12, minute: te, meridiem: me };
|
|
1370
|
-
},
|
|
1371
|
-
const
|
|
1372
|
-
let te =
|
|
1376
|
+
}, Y = (a) => {
|
|
1377
|
+
const g = Math.min(12, Math.max(1, a.hour12)), L = /^([0-5]\d)$/.test(a.minute) ? a.minute : "00";
|
|
1378
|
+
let te = g % 12;
|
|
1373
1379
|
return a.meridiem === "PM" && (te += 12), `${S(te)}:${L}`;
|
|
1374
|
-
},
|
|
1380
|
+
}, O = K(null), [H, X] = W(!1), [B, U] = W(
|
|
1375
1381
|
null
|
|
1376
1382
|
), V = o ?? xa?.VITE_GOOGLE_MAPS_API_KEY, ee = (r.birthPlace ?? "").trim(), ue = c ? void 0 : "in", ye = "en", {
|
|
1377
|
-
predictions:
|
|
1383
|
+
predictions: he,
|
|
1378
1384
|
isSearching: fe,
|
|
1379
1385
|
loadError: ge,
|
|
1380
1386
|
searchPlaces: _e,
|
|
@@ -1384,13 +1390,13 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1384
1390
|
language: ye,
|
|
1385
1391
|
restrictCountry: ue
|
|
1386
1392
|
});
|
|
1387
|
-
|
|
1388
|
-
const a = (
|
|
1389
|
-
|
|
1393
|
+
G(() => {
|
|
1394
|
+
const a = (g) => {
|
|
1395
|
+
O.current && (O.current.contains(g.target) || X(!1));
|
|
1390
1396
|
};
|
|
1391
1397
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1392
|
-
}, []),
|
|
1393
|
-
if (!
|
|
1398
|
+
}, []), G(() => {
|
|
1399
|
+
if (!H) return;
|
|
1394
1400
|
if (ee.length < 2) {
|
|
1395
1401
|
ie();
|
|
1396
1402
|
return;
|
|
@@ -1399,39 +1405,39 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1399
1405
|
await _e(ee);
|
|
1400
1406
|
}, 250);
|
|
1401
1407
|
return () => window.clearTimeout(a);
|
|
1402
|
-
}, [ie,
|
|
1408
|
+
}, [ie, H, ee, _e]);
|
|
1403
1409
|
const be = (a) => {
|
|
1404
|
-
const
|
|
1405
|
-
if (!(!
|
|
1406
|
-
if (document.activeElement ===
|
|
1407
|
-
|
|
1410
|
+
const g = a.current;
|
|
1411
|
+
if (!(!g || g.disabled)) {
|
|
1412
|
+
if (document.activeElement === g && j.current === g && Date.now() - v.current < 6e4) {
|
|
1413
|
+
g.blur();
|
|
1408
1414
|
return;
|
|
1409
1415
|
}
|
|
1410
|
-
if (typeof
|
|
1411
|
-
|
|
1416
|
+
if (typeof g.showPicker == "function") {
|
|
1417
|
+
g.showPicker(), j.current = g, v.current = Date.now();
|
|
1412
1418
|
return;
|
|
1413
1419
|
}
|
|
1414
|
-
|
|
1420
|
+
g.focus(), j.current = g, v.current = Date.now();
|
|
1415
1421
|
}
|
|
1416
1422
|
};
|
|
1417
|
-
return
|
|
1418
|
-
const a = (
|
|
1419
|
-
w.current && (w.current.contains(
|
|
1423
|
+
return G(() => {
|
|
1424
|
+
const a = (g) => {
|
|
1425
|
+
w.current && (w.current.contains(g.target) || k(!1));
|
|
1420
1426
|
};
|
|
1421
1427
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1422
|
-
}, []),
|
|
1428
|
+
}, []), G(() => {
|
|
1423
1429
|
const a = (L) => {
|
|
1424
1430
|
L.target?.closest?.("[data-info-tooltip]") == null && U(null);
|
|
1425
|
-
},
|
|
1431
|
+
}, g = (L) => {
|
|
1426
1432
|
L.key === "Escape" && U(null);
|
|
1427
1433
|
};
|
|
1428
|
-
return document.addEventListener("mousedown", a), document.addEventListener("keydown",
|
|
1429
|
-
document.removeEventListener("mousedown", a), document.removeEventListener("keydown",
|
|
1434
|
+
return document.addEventListener("mousedown", a), document.addEventListener("keydown", g), () => {
|
|
1435
|
+
document.removeEventListener("mousedown", a), document.removeEventListener("keydown", g);
|
|
1430
1436
|
};
|
|
1431
1437
|
}, []), /* @__PURE__ */ e.jsx(
|
|
1432
1438
|
"section",
|
|
1433
1439
|
{
|
|
1434
|
-
className: `${s.wrap} ${
|
|
1440
|
+
className: `${s.wrap} ${p}`,
|
|
1435
1441
|
"aria-label": n("formTitle"),
|
|
1436
1442
|
children: /* @__PURE__ */ e.jsx("div", { className: s.card, children: /* @__PURE__ */ e.jsxs("div", { className: s.cardInner, children: [
|
|
1437
1443
|
/* @__PURE__ */ e.jsxs("div", { className: s.field, children: [
|
|
@@ -1448,8 +1454,8 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1448
1454
|
value: r.fullName,
|
|
1449
1455
|
onFocus: () => u?.trackNameSectionClicked?.(),
|
|
1450
1456
|
onChange: (a) => {
|
|
1451
|
-
const
|
|
1452
|
-
|
|
1457
|
+
const g = a.target.value;
|
|
1458
|
+
f({ fullName: g }), _("fullName", g);
|
|
1453
1459
|
},
|
|
1454
1460
|
placeholder: n("formFullNamePlaceholder"),
|
|
1455
1461
|
autoComplete: "name"
|
|
@@ -1470,8 +1476,8 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1470
1476
|
value: r.phone ?? "",
|
|
1471
1477
|
onFocus: () => u?.trackPhoneSectionClicked?.(),
|
|
1472
1478
|
onChange: (a) => {
|
|
1473
|
-
const
|
|
1474
|
-
|
|
1479
|
+
const g = a.target.value;
|
|
1480
|
+
f({ phone: x(g) }), _("phone", x(g));
|
|
1475
1481
|
},
|
|
1476
1482
|
placeholder: n("formPhonePlaceholder"),
|
|
1477
1483
|
autoComplete: "tel",
|
|
@@ -1496,7 +1502,7 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1496
1502
|
className: s.input,
|
|
1497
1503
|
type: "email",
|
|
1498
1504
|
value: r.email,
|
|
1499
|
-
onChange: (a) =>
|
|
1505
|
+
onChange: (a) => f({ email: a.target.value }),
|
|
1500
1506
|
placeholder: n("formEmailPlaceholder"),
|
|
1501
1507
|
autoComplete: "email",
|
|
1502
1508
|
required: !0,
|
|
@@ -1552,8 +1558,8 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1552
1558
|
return `${a.getFullYear()}-${S(a.getMonth() + 1)}-${S(a.getDate())}`;
|
|
1553
1559
|
})(),
|
|
1554
1560
|
onChange: (a) => {
|
|
1555
|
-
const
|
|
1556
|
-
|
|
1561
|
+
const g = a.target.value, L = /* @__PURE__ */ new Date(), te = `${L.getFullYear()}-${S(L.getMonth() + 1)}-${S(L.getDate())}`;
|
|
1562
|
+
g && g > te || (f({ dateOfBirth: g }), _("dateOfBirth", g), j.current = null);
|
|
1557
1563
|
},
|
|
1558
1564
|
onFocus: () => u?.trackDobClicked?.(),
|
|
1559
1565
|
onClick: () => be(T),
|
|
@@ -1630,13 +1636,13 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1630
1636
|
readOnly: !0,
|
|
1631
1637
|
onFocus: () => u?.trackTimeClicked?.(),
|
|
1632
1638
|
onChange: (a) => {
|
|
1633
|
-
const
|
|
1634
|
-
|
|
1639
|
+
const g = a.target.value;
|
|
1640
|
+
f({ birthTime: g }), _("birthTime", g);
|
|
1635
1641
|
},
|
|
1636
1642
|
disabled: r.birthTimeUnknown,
|
|
1637
1643
|
placeholder: "HH:MM AM",
|
|
1638
1644
|
onClick: () => {
|
|
1639
|
-
r.birthTimeUnknown || (M(
|
|
1645
|
+
r.birthTimeUnknown || (M(D(r.birthTime || "12:00")), k((a) => !a));
|
|
1640
1646
|
}
|
|
1641
1647
|
}
|
|
1642
1648
|
),
|
|
@@ -1649,7 +1655,7 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1649
1655
|
disabled: r.birthTimeUnknown,
|
|
1650
1656
|
onMouseDown: (a) => a.preventDefault(),
|
|
1651
1657
|
onClick: (a) => {
|
|
1652
|
-
a.preventDefault(), a.stopPropagation(), !r.birthTimeUnknown && (M(
|
|
1658
|
+
a.preventDefault(), a.stopPropagation(), !r.birthTimeUnknown && (M(D(r.birthTime || "12:00")), k((g) => !g));
|
|
1653
1659
|
},
|
|
1654
1660
|
children: /* @__PURE__ */ e.jsx(
|
|
1655
1661
|
"img",
|
|
@@ -1675,12 +1681,12 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1675
1681
|
{
|
|
1676
1682
|
className: s.timePickerSelect,
|
|
1677
1683
|
value: A.hour12,
|
|
1678
|
-
onChange: (a) => M((
|
|
1679
|
-
...
|
|
1684
|
+
onChange: (a) => M((g) => ({
|
|
1685
|
+
...g,
|
|
1680
1686
|
hour12: Number(a.target.value)
|
|
1681
1687
|
})),
|
|
1682
1688
|
"aria-label": "Hour",
|
|
1683
|
-
children: Array.from({ length: 12 }, (a,
|
|
1689
|
+
children: Array.from({ length: 12 }, (a, g) => g + 1).map((a) => /* @__PURE__ */ e.jsx("option", { value: a, children: a }, a))
|
|
1684
1690
|
}
|
|
1685
1691
|
),
|
|
1686
1692
|
/* @__PURE__ */ e.jsx("span", { className: s.timePickerColon, children: ":" }),
|
|
@@ -1689,9 +1695,9 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1689
1695
|
{
|
|
1690
1696
|
className: s.timePickerSelect,
|
|
1691
1697
|
value: A.minute,
|
|
1692
|
-
onChange: (a) => M((
|
|
1698
|
+
onChange: (a) => M((g) => ({ ...g, minute: a.target.value })),
|
|
1693
1699
|
"aria-label": "Minute",
|
|
1694
|
-
children: Array.from({ length: 60 }, (a,
|
|
1700
|
+
children: Array.from({ length: 60 }, (a, g) => S(g)).map(
|
|
1695
1701
|
(a) => /* @__PURE__ */ e.jsx("option", { value: a, children: a }, a)
|
|
1696
1702
|
)
|
|
1697
1703
|
}
|
|
@@ -1733,8 +1739,8 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1733
1739
|
type: "button",
|
|
1734
1740
|
className: `${s.timePopoverBtn} ${s.timePopoverOk}`,
|
|
1735
1741
|
onClick: () => {
|
|
1736
|
-
const a =
|
|
1737
|
-
|
|
1742
|
+
const a = Y(A);
|
|
1743
|
+
f({ birthTime: a }), _("birthTime", a), k(!1);
|
|
1738
1744
|
},
|
|
1739
1745
|
"aria-label": "OK",
|
|
1740
1746
|
children: /* @__PURE__ */ e.jsx(
|
|
@@ -1774,7 +1780,7 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1774
1780
|
type: "checkbox",
|
|
1775
1781
|
checked: r.birthTimeUnknown,
|
|
1776
1782
|
onChange: (a) => {
|
|
1777
|
-
u?.trackTimeCheckboxClicked?.(),
|
|
1783
|
+
u?.trackTimeCheckboxClicked?.(), f({
|
|
1778
1784
|
birthTimeUnknown: a.target.checked,
|
|
1779
1785
|
birthTime: a.target.checked ? "" : r.birthTime
|
|
1780
1786
|
});
|
|
@@ -1829,7 +1835,7 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1829
1835
|
] })
|
|
1830
1836
|
] })
|
|
1831
1837
|
] }),
|
|
1832
|
-
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref:
|
|
1838
|
+
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref: O, children: [
|
|
1833
1839
|
/* @__PURE__ */ e.jsx(
|
|
1834
1840
|
"input",
|
|
1835
1841
|
{
|
|
@@ -1838,8 +1844,8 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1838
1844
|
type: "text",
|
|
1839
1845
|
value: r.birthPlace,
|
|
1840
1846
|
onChange: (a) => {
|
|
1841
|
-
const
|
|
1842
|
-
|
|
1847
|
+
const g = a.target.value;
|
|
1848
|
+
f({ birthPlace: g }), _("birthPlace", g), X(!0);
|
|
1843
1849
|
},
|
|
1844
1850
|
onFocus: () => {
|
|
1845
1851
|
u?.trackPlaceOfBirthClicked?.(), X(!0);
|
|
@@ -1857,13 +1863,13 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1857
1863
|
"aria-hidden": !0
|
|
1858
1864
|
}
|
|
1859
1865
|
) }),
|
|
1860
|
-
|
|
1866
|
+
H && he.length > 0 && /* @__PURE__ */ e.jsx("div", { className: s.suggestions, role: "listbox", children: he.slice(0, 8).map((a) => /* @__PURE__ */ e.jsxs(
|
|
1861
1867
|
"button",
|
|
1862
1868
|
{
|
|
1863
1869
|
type: "button",
|
|
1864
1870
|
className: s.suggestionItem,
|
|
1865
1871
|
onClick: () => {
|
|
1866
|
-
|
|
1872
|
+
f({ birthPlace: a.description }), ie(), X(!1);
|
|
1867
1873
|
},
|
|
1868
1874
|
children: [
|
|
1869
1875
|
/* @__PURE__ */ e.jsx("span", { className: s.suggestionMain, children: a.structured_formatting?.main_text ?? a.description }),
|
|
@@ -1872,8 +1878,8 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1872
1878
|
},
|
|
1873
1879
|
a.place_id
|
|
1874
1880
|
)) }),
|
|
1875
|
-
|
|
1876
|
-
|
|
1881
|
+
H && V && fe && /* @__PURE__ */ e.jsx("div", { className: s.suggestionsHint, children: "Loading…" }),
|
|
1882
|
+
H && V && !fe && !!ge && /* @__PURE__ */ e.jsx("div", { className: s.suggestionsHint, children: ge })
|
|
1877
1883
|
] })
|
|
1878
1884
|
] })
|
|
1879
1885
|
] }) })
|
|
@@ -1905,14 +1911,14 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1905
1911
|
disabled: l = !1,
|
|
1906
1912
|
onClick: d,
|
|
1907
1913
|
className: o = "",
|
|
1908
|
-
"aria-label":
|
|
1914
|
+
"aria-label": p
|
|
1909
1915
|
}) => {
|
|
1910
|
-
const
|
|
1916
|
+
const h = `${$.ctaButton} ${o}`.trim(), u = p != null ? { "aria-label": p } : {};
|
|
1911
1917
|
return r != null ? /* @__PURE__ */ e.jsx(
|
|
1912
1918
|
"a",
|
|
1913
1919
|
{
|
|
1914
1920
|
href: r,
|
|
1915
|
-
className:
|
|
1921
|
+
className: h,
|
|
1916
1922
|
target: "_blank",
|
|
1917
1923
|
rel: "noopener noreferrer",
|
|
1918
1924
|
"aria-disabled": l,
|
|
@@ -1924,31 +1930,31 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1924
1930
|
"button",
|
|
1925
1931
|
{
|
|
1926
1932
|
type: "button",
|
|
1927
|
-
className:
|
|
1933
|
+
className: h,
|
|
1928
1934
|
disabled: l,
|
|
1929
1935
|
onClick: d,
|
|
1930
1936
|
...u,
|
|
1931
1937
|
children: n
|
|
1932
1938
|
}
|
|
1933
1939
|
);
|
|
1934
|
-
},
|
|
1940
|
+
}, Da = (n) => /.+@.+\..+/.test(n), Oa = (n) => /^\d{10}$/.test(n), Ba = ({
|
|
1935
1941
|
t: n,
|
|
1936
1942
|
values: r,
|
|
1937
1943
|
onProceed: l,
|
|
1938
1944
|
href: d,
|
|
1939
1945
|
analytics: o,
|
|
1940
|
-
className:
|
|
1941
|
-
originalPriceLabel:
|
|
1946
|
+
className: p = "",
|
|
1947
|
+
originalPriceLabel: h,
|
|
1942
1948
|
discountedPriceLabel: u,
|
|
1943
1949
|
discountPillLabel: c
|
|
1944
1950
|
}) => {
|
|
1945
|
-
const
|
|
1951
|
+
const f = Te()?.config.isGlobal ?? !0, _ = Fe(() => {
|
|
1946
1952
|
if (!r.fullName.trim()) return !1;
|
|
1947
|
-
if (
|
|
1948
|
-
if (!
|
|
1949
|
-
} else if (!
|
|
1953
|
+
if (f) {
|
|
1954
|
+
if (!Da(r.email.trim())) return !1;
|
|
1955
|
+
} else if (!Oa((r.phone ?? "").trim())) return !1;
|
|
1950
1956
|
return !(!r.dateOfBirth || !r.birthPlace.trim() || !r.birthTimeUnknown && !r.birthTime);
|
|
1951
|
-
}, [
|
|
1957
|
+
}, [f, r]), x = f ? h ?? n("formOriginalPrice") : "₹999", T = f ? u ?? n("formDiscountedPrice") : "₹249", j = c ?? n("formDiscountPill"), v = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1952
1958
|
n("formProceed"),
|
|
1953
1959
|
/* @__PURE__ */ e.jsx("span", { className: $.ctaStruck, children: x }),
|
|
1954
1960
|
" ",
|
|
@@ -1971,17 +1977,17 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1971
1977
|
}
|
|
1972
1978
|
)
|
|
1973
1979
|
] });
|
|
1974
|
-
return /* @__PURE__ */ e.jsx(Tt, { className:
|
|
1975
|
-
}, Fa = "_header_dbx4y_1", Ma = "_brand_dbx4y_7", Ua = "_logo_dbx4y_11", qa = "_logoImg_dbx4y_15",
|
|
1980
|
+
return /* @__PURE__ */ e.jsx(Tt, { className: p, children: w });
|
|
1981
|
+
}, Fa = "_header_dbx4y_1", Ma = "_brand_dbx4y_7", Ua = "_logo_dbx4y_11", qa = "_logoImg_dbx4y_15", Ka = "_logoPlaceholder_dbx4y_21", Wa = "_brandText_dbx4y_29", Ga = "_brandName_dbx4y_33", Ha = "_rating_dbx4y_38", Ya = "_stars_dbx4y_44", Va = "_langSlot_dbx4y_49", se = {
|
|
1976
1982
|
header: Fa,
|
|
1977
1983
|
brand: Ma,
|
|
1978
1984
|
logo: Ua,
|
|
1979
1985
|
logoImg: qa,
|
|
1980
|
-
logoPlaceholder:
|
|
1981
|
-
brandText:
|
|
1982
|
-
brandName:
|
|
1983
|
-
rating:
|
|
1984
|
-
stars:
|
|
1986
|
+
logoPlaceholder: Ka,
|
|
1987
|
+
brandText: Wa,
|
|
1988
|
+
brandName: Ga,
|
|
1989
|
+
rating: Ha,
|
|
1990
|
+
stars: Ya,
|
|
1985
1991
|
langSlot: Va
|
|
1986
1992
|
}, za = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Et = ({
|
|
1987
1993
|
t: n,
|
|
@@ -1989,7 +1995,7 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1989
1995
|
logoUrl: l = za,
|
|
1990
1996
|
className: d = ""
|
|
1991
1997
|
}) => {
|
|
1992
|
-
const
|
|
1998
|
+
const p = Te()?.config.isGlobal ?? !0, h = r && !p;
|
|
1993
1999
|
return /* @__PURE__ */ e.jsxs("header", { className: `${se.header} ${d}`, children: [
|
|
1994
2000
|
/* @__PURE__ */ e.jsxs("div", { className: se.brand, children: [
|
|
1995
2001
|
/* @__PURE__ */ e.jsx("div", { className: se.logo, children: l ? /* @__PURE__ */ e.jsx("img", { src: l, alt: n("sriMandir"), className: se.logoImg }) : /* @__PURE__ */ e.jsx("div", { className: se.logoPlaceholder, "aria-hidden": !0 }) }),
|
|
@@ -2001,7 +2007,7 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2001
2007
|
] })
|
|
2002
2008
|
] })
|
|
2003
2009
|
] }),
|
|
2004
|
-
|
|
2010
|
+
h && /* @__PURE__ */ e.jsx("div", { className: se.langSlot, children: r })
|
|
2005
2011
|
] });
|
|
2006
2012
|
}, Qa = "_hero_okj8x_1", Ja = "_title_okj8x_5", Xa = "_subtitle_okj8x_10", Za = "_topicTags_okj8x_23", er = "_tag_okj8x_27", Ie = {
|
|
2007
2013
|
hero: Qa,
|
|
@@ -2021,7 +2027,7 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2021
2027
|
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: Ie.title, children: n("heroTitle") }),
|
|
2022
2028
|
/* @__PURE__ */ e.jsx("p", { className: Ie.subtitle, children: n("heroSubtitle") }),
|
|
2023
2029
|
/* @__PURE__ */ e.jsx("div", { className: Ie.topicTags, role: "list", children: tr.map((l) => /* @__PURE__ */ e.jsx("span", { className: Ie.tag, role: "listitem", children: n(l) }, l)) })
|
|
2024
|
-
] }), ar = "_section_j2cgl_1", rr = "_inner_j2cgl_9", ir = "_content_j2cgl_14", or = "_headline_j2cgl_18", sr = "_headlineLine_j2cgl_23", cr = "_headlinePill_j2cgl_28", lr = "_headlinePlain_j2cgl_43", dr = "_featureList_j2cgl_54", ur = "_featureItem_j2cgl_61", mr = "_featureIcon_j2cgl_66",
|
|
2030
|
+
] }), ar = "_section_j2cgl_1", rr = "_inner_j2cgl_9", ir = "_content_j2cgl_14", or = "_headline_j2cgl_18", sr = "_headlineLine_j2cgl_23", cr = "_headlinePill_j2cgl_28", lr = "_headlinePlain_j2cgl_43", dr = "_featureList_j2cgl_54", ur = "_featureItem_j2cgl_61", mr = "_featureIcon_j2cgl_66", pr = "_reportImage_j2cgl_73", hr = "_reportImg_j2cgl_83", J = {
|
|
2025
2031
|
section: ar,
|
|
2026
2032
|
inner: rr,
|
|
2027
2033
|
content: ir,
|
|
@@ -2032,8 +2038,8 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2032
2038
|
featureList: dr,
|
|
2033
2039
|
featureItem: ur,
|
|
2034
2040
|
featureIcon: mr,
|
|
2035
|
-
reportImage:
|
|
2036
|
-
reportImg:
|
|
2041
|
+
reportImage: pr,
|
|
2042
|
+
reportImg: hr
|
|
2037
2043
|
}, fr = "https://srm-cdn.a4b.io/yoda/1770363846052.svg", gr = [
|
|
2038
2044
|
"premiumFeature1",
|
|
2039
2045
|
"premiumFeature2",
|
|
@@ -2068,7 +2074,7 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2068
2074
|
/* @__PURE__ */ e.jsx("span", { className: J.headlinePill, children: n("premiumHeadlinePill2") })
|
|
2069
2075
|
] })
|
|
2070
2076
|
] }),
|
|
2071
|
-
/* @__PURE__ */ e.jsx("ul", { className: J.featureList, children: gr.map((
|
|
2077
|
+
/* @__PURE__ */ e.jsx("ul", { className: J.featureList, children: gr.map((p) => /* @__PURE__ */ e.jsxs("li", { className: J.featureItem, children: [
|
|
2072
2078
|
/* @__PURE__ */ e.jsx(
|
|
2073
2079
|
"img",
|
|
2074
2080
|
{
|
|
@@ -2080,14 +2086,14 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2080
2086
|
"aria-hidden": !0
|
|
2081
2087
|
}
|
|
2082
2088
|
),
|
|
2083
|
-
n(
|
|
2084
|
-
] },
|
|
2089
|
+
n(p)
|
|
2090
|
+
] }, p)) })
|
|
2085
2091
|
] }),
|
|
2086
2092
|
/* @__PURE__ */ e.jsx("div", { className: J.reportImage, children: /* @__PURE__ */ e.jsx("img", { src: r, alt: "", className: J.reportImg }) })
|
|
2087
2093
|
] })
|
|
2088
2094
|
}
|
|
2089
2095
|
);
|
|
2090
|
-
}, vr = "_section_1g93x_1", kr = "_heading_1g93x_6", yr = "_logoImg_1g93x_10",
|
|
2096
|
+
}, vr = "_section_1g93x_1", kr = "_heading_1g93x_6", yr = "_logoImg_1g93x_10", He = {
|
|
2091
2097
|
section: vr,
|
|
2092
2098
|
heading: kr,
|
|
2093
2099
|
logoImg: yr
|
|
@@ -2095,9 +2101,9 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2095
2101
|
t: n,
|
|
2096
2102
|
logoUrl: r = xr,
|
|
2097
2103
|
className: l = ""
|
|
2098
|
-
}) => /* @__PURE__ */ e.jsxs("section", { className: `${
|
|
2099
|
-
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className:
|
|
2100
|
-
/* @__PURE__ */ e.jsx("img", { src: r, alt: "University Certification", className:
|
|
2104
|
+
}) => /* @__PURE__ */ e.jsxs("section", { className: `${He.section} ${l}`, "aria-labelledby": "certified-heading", children: [
|
|
2105
|
+
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: He.heading, children: n("certifiedBy") }),
|
|
2106
|
+
/* @__PURE__ */ e.jsx("img", { src: r, alt: "University Certification", className: He.logoImg })
|
|
2101
2107
|
] }), jr = "_section_fw00n_1", Nr = "_heading_fw00n_6", Pr = "_subtitle_fw00n_12", Tr = "_stepList_fw00n_17", Ar = "_stepItem_fw00n_21", Er = "_stepNumber_fw00n_25", Sr = "_stepText_fw00n_31", Cr = "_step3Days_fw00n_36", ae = {
|
|
2102
2108
|
section: jr,
|
|
2103
2109
|
heading: Nr,
|
|
@@ -2110,70 +2116,74 @@ const ka = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2110
2116
|
}, Ir = ["step1", "step2"], Rr = ({
|
|
2111
2117
|
t: n,
|
|
2112
2118
|
locale: r = "en",
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
"
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
/* @__PURE__ */ e.jsx("
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
/* @__PURE__ */ e.jsx("
|
|
2135
|
-
|
|
2119
|
+
isGlobal: l = !0,
|
|
2120
|
+
className: d = ""
|
|
2121
|
+
}) => {
|
|
2122
|
+
const o = l ? "step3IntroGlobal" : "step3IntroDomestic";
|
|
2123
|
+
return /* @__PURE__ */ e.jsxs(
|
|
2124
|
+
"section",
|
|
2125
|
+
{
|
|
2126
|
+
className: `${ae.section} ${d}`,
|
|
2127
|
+
"aria-labelledby": "steps-heading",
|
|
2128
|
+
children: [
|
|
2129
|
+
/* @__PURE__ */ e.jsx("p", { className: ae.heading, children: n("yourThreeSteps") }),
|
|
2130
|
+
/* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: ae.subtitle, children: n("threeStepsSubtitle") }),
|
|
2131
|
+
/* @__PURE__ */ e.jsxs("ol", { className: ae.stepList, children: [
|
|
2132
|
+
Ir.map((p, h) => /* @__PURE__ */ e.jsxs("li", { className: ae.stepItem, children: [
|
|
2133
|
+
/* @__PURE__ */ e.jsx("span", { className: ae.stepNumber, "aria-hidden": !0, children: h + 1 }),
|
|
2134
|
+
/* @__PURE__ */ e.jsx("span", { className: ae.stepText, children: n(p) })
|
|
2135
|
+
] }, p)),
|
|
2136
|
+
/* @__PURE__ */ e.jsxs("li", { className: ae.stepItem, children: [
|
|
2137
|
+
/* @__PURE__ */ e.jsx("span", { className: ae.stepNumber, "aria-hidden": !0, children: "3" }),
|
|
2138
|
+
/* @__PURE__ */ e.jsxs("span", { className: ae.stepText, children: [
|
|
2139
|
+
n(o),
|
|
2140
|
+
/* @__PURE__ */ e.jsx("br", {}),
|
|
2141
|
+
r === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2142
|
+
"in ",
|
|
2143
|
+
/* @__PURE__ */ e.jsx("strong", { className: ae.step3Days, children: n("step3Days") })
|
|
2144
|
+
] }) : /* @__PURE__ */ e.jsx("strong", { className: ae.step3Days, children: n("step3Days") })
|
|
2145
|
+
] })
|
|
2136
2146
|
] })
|
|
2137
2147
|
] })
|
|
2138
|
-
]
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2148
|
+
]
|
|
2149
|
+
}
|
|
2150
|
+
);
|
|
2151
|
+
}, $r = "_section_uboy6_1", Lr = "_button_uboy6_7", gt = {
|
|
2142
2152
|
section: $r,
|
|
2143
2153
|
button: Lr
|
|
2144
|
-
},
|
|
2145
|
-
backdrop:
|
|
2146
|
-
modal:
|
|
2154
|
+
}, Dr = "_backdrop_pekod_1", Or = "_modal_pekod_21", Br = "_header_pekod_40", Fr = "_title_pekod_49", Mr = "_closeBtn_pekod_56", Ur = "_content_pekod_76", qr = "_pdfFrame_pekod_84", Kr = "_pdfPages_pekod_92", Wr = "_pdfError_pekod_97", Gr = "_openInNewTab_pekod_123", ce = {
|
|
2155
|
+
backdrop: Dr,
|
|
2156
|
+
modal: Or,
|
|
2147
2157
|
header: Br,
|
|
2148
2158
|
title: Fr,
|
|
2149
2159
|
closeBtn: Mr,
|
|
2150
2160
|
content: Ur,
|
|
2151
2161
|
pdfFrame: qr,
|
|
2152
|
-
pdfPages:
|
|
2153
|
-
pdfError:
|
|
2154
|
-
openInNewTab:
|
|
2162
|
+
pdfPages: Kr,
|
|
2163
|
+
pdfError: Wr,
|
|
2164
|
+
openInNewTab: Gr
|
|
2155
2165
|
};
|
|
2156
|
-
|
|
2157
|
-
const
|
|
2166
|
+
Ye.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${Ye.version}/build/pdf.worker.min.js`;
|
|
2167
|
+
const Hr = ({
|
|
2158
2168
|
isOpen: n,
|
|
2159
2169
|
onClose: r,
|
|
2160
2170
|
title: l,
|
|
2161
2171
|
pdfUrl: d
|
|
2162
2172
|
}) => {
|
|
2163
|
-
const o =
|
|
2164
|
-
return
|
|
2173
|
+
const o = K(null), [p, h] = W(!0), [u, c] = W(null);
|
|
2174
|
+
return G(() => {
|
|
2165
2175
|
if (!n) return;
|
|
2166
|
-
const b = (
|
|
2167
|
-
|
|
2176
|
+
const b = (f) => {
|
|
2177
|
+
f.key === "Escape" && r();
|
|
2168
2178
|
};
|
|
2169
2179
|
return document.addEventListener("keydown", b), document.body.style.overflow = "hidden", () => {
|
|
2170
2180
|
document.removeEventListener("keydown", b), document.body.style.overflow = "";
|
|
2171
2181
|
};
|
|
2172
|
-
}, [n, r]),
|
|
2182
|
+
}, [n, r]), G(() => {
|
|
2173
2183
|
if (!n || !d || !o.current) return;
|
|
2174
|
-
|
|
2184
|
+
h(!0), c(null), o.current.innerHTML = "", (async () => {
|
|
2175
2185
|
try {
|
|
2176
|
-
const _ = await
|
|
2186
|
+
const _ = await Ye.getDocument({ url: d }).promise, x = o.current;
|
|
2177
2187
|
if (!x) return;
|
|
2178
2188
|
const T = x.clientWidth || 600, j = Math.min(T / 612, 2);
|
|
2179
2189
|
for (let v = 1; v <= _.numPages; v++) {
|
|
@@ -2182,10 +2192,10 @@ const Yr = ({
|
|
|
2182
2192
|
const A = k.getContext("2d");
|
|
2183
2193
|
A && await w.render({ canvasContext: A, viewport: I }).promise, x.appendChild(k);
|
|
2184
2194
|
}
|
|
2185
|
-
} catch (
|
|
2186
|
-
c(
|
|
2195
|
+
} catch (f) {
|
|
2196
|
+
c(f instanceof Error ? f.message : "Failed to load PDF");
|
|
2187
2197
|
} finally {
|
|
2188
|
-
|
|
2198
|
+
h(!1);
|
|
2189
2199
|
}
|
|
2190
2200
|
})();
|
|
2191
2201
|
}, [n, d]), n ? /* @__PURE__ */ e.jsx(
|
|
@@ -2239,25 +2249,25 @@ const Yr = ({
|
|
|
2239
2249
|
)
|
|
2240
2250
|
}
|
|
2241
2251
|
) : null;
|
|
2242
|
-
},
|
|
2252
|
+
}, Yr = "https://srm-cdn.a4b.io/yoda/1770651163050.pdf", Vr = ({
|
|
2243
2253
|
t: n,
|
|
2244
|
-
pdfUrl: r =
|
|
2254
|
+
pdfUrl: r = Yr,
|
|
2245
2255
|
onClick: l,
|
|
2246
2256
|
analytics: d,
|
|
2247
2257
|
className: o = ""
|
|
2248
2258
|
}) => {
|
|
2249
|
-
const [
|
|
2250
|
-
d?.trackViewSampleReportClicked?.(), l?.(),
|
|
2251
|
-
},
|
|
2252
|
-
d?.trackViewSampleReportClosed?.(),
|
|
2259
|
+
const [p, h] = W(!1), u = n("viewSampleReport"), c = n("sampleReportModalTitle"), b = () => {
|
|
2260
|
+
d?.trackViewSampleReportClicked?.(), l?.(), h(!0);
|
|
2261
|
+
}, f = () => {
|
|
2262
|
+
d?.trackViewSampleReportClosed?.(), h(!1);
|
|
2253
2263
|
};
|
|
2254
2264
|
return /* @__PURE__ */ e.jsxs("section", { className: `${gt.section} ${o}`, children: [
|
|
2255
2265
|
/* @__PURE__ */ e.jsx("button", { type: "button", className: gt.button, onClick: b, children: u }),
|
|
2256
2266
|
/* @__PURE__ */ e.jsx(
|
|
2257
|
-
|
|
2267
|
+
Hr,
|
|
2258
2268
|
{
|
|
2259
|
-
isOpen:
|
|
2260
|
-
onClose:
|
|
2269
|
+
isOpen: p,
|
|
2270
|
+
onClose: f,
|
|
2261
2271
|
title: c,
|
|
2262
2272
|
pdfUrl: r
|
|
2263
2273
|
}
|
|
@@ -2314,10 +2324,10 @@ const Yr = ({
|
|
|
2314
2324
|
subtitle: di,
|
|
2315
2325
|
list: ui,
|
|
2316
2326
|
item: mi
|
|
2317
|
-
},
|
|
2327
|
+
}, pi = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], hi = ({ t: n, className: r = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${Re.section} ${r}`, "aria-labelledby": "why-heading", children: [
|
|
2318
2328
|
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: Re.heading, children: n("whyUsTitle") }),
|
|
2319
2329
|
/* @__PURE__ */ e.jsx("p", { className: Re.subtitle, children: n("whyUsSubtitle") }),
|
|
2320
|
-
/* @__PURE__ */ e.jsx("ul", { className: Re.list, children:
|
|
2330
|
+
/* @__PURE__ */ e.jsx("ul", { className: Re.list, children: pi.map((l) => /* @__PURE__ */ e.jsx("li", { className: Re.item, children: n(l) }, l)) })
|
|
2321
2331
|
] }), fi = "_section_3cm7k_1", gi = "_heading_3cm7k_5", _i = "_trustLine_3cm7k_10", bi = "_star_3cm7k_15", vi = "_ratingNum_3cm7k_20", ki = "_trustText_3cm7k_24", yi = "_cardList_3cm7k_28", xi = "_card_3cm7k_28", wi = "_quote_3cm7k_37", ji = "_author_3cm7k_42", Ni = "_avatar_3cm7k_46", Pi = "_avatarPlaceholder_3cm7k_50", Ti = "_authorInfo_3cm7k_55", Ai = "_authorName_3cm7k_59", Ei = "_stars_3cm7k_64", Si = "_readMoreWrap_3cm7k_69", Ci = "_toggleBtn_3cm7k_73", Ii = "_readMore_3cm7k_69", Ri = "_arrow_3cm7k_93", $i = "_dot_3cm7k_97", R = {
|
|
2322
2332
|
section: fi,
|
|
2323
2333
|
heading: gi,
|
|
@@ -2342,8 +2352,8 @@ const Yr = ({
|
|
|
2342
2352
|
}, _t = 3, Li = (n) => {
|
|
2343
2353
|
const l = /* @__PURE__ */ new Map();
|
|
2344
2354
|
for (let c = 1; c <= 15; c += 1) {
|
|
2345
|
-
const b = `feedbackTestimonial${c}`,
|
|
2346
|
-
if (!
|
|
2355
|
+
const b = `feedbackTestimonial${c}`, f = n(b);
|
|
2356
|
+
if (!f || f === b) continue;
|
|
2347
2357
|
const _ = `feedbackAuthor${c}`, x = (() => {
|
|
2348
2358
|
const v = n(_);
|
|
2349
2359
|
return v && v !== _ ? v : n("guest");
|
|
@@ -2352,7 +2362,7 @@ const Yr = ({
|
|
|
2352
2362
|
return v && v !== T ? v : void 0;
|
|
2353
2363
|
})();
|
|
2354
2364
|
l.set(c, {
|
|
2355
|
-
quote:
|
|
2365
|
+
quote: f,
|
|
2356
2366
|
authorName: x,
|
|
2357
2367
|
authorAvatarUrl: j,
|
|
2358
2368
|
rating: 5
|
|
@@ -2361,27 +2371,27 @@ const Yr = ({
|
|
|
2361
2371
|
const d = [], o = [];
|
|
2362
2372
|
for (let c = 1; c <= 15; c += 1)
|
|
2363
2373
|
c >= 9 ? o.push(c) : d.push(c);
|
|
2364
|
-
const
|
|
2365
|
-
let
|
|
2366
|
-
for (;
|
|
2374
|
+
const p = [];
|
|
2375
|
+
let h = 0, u = 0;
|
|
2376
|
+
for (; h < d.length || u < o.length; ) {
|
|
2367
2377
|
if (u < o.length) {
|
|
2368
2378
|
const c = o[u++], b = l.get(c);
|
|
2369
|
-
b &&
|
|
2379
|
+
b && p.push(b);
|
|
2370
2380
|
}
|
|
2371
|
-
if (
|
|
2372
|
-
const c = d[
|
|
2373
|
-
b &&
|
|
2381
|
+
if (h < d.length) {
|
|
2382
|
+
const c = d[h++], b = l.get(c);
|
|
2383
|
+
b && p.push(b);
|
|
2374
2384
|
}
|
|
2375
2385
|
}
|
|
2376
|
-
return
|
|
2377
|
-
},
|
|
2386
|
+
return p;
|
|
2387
|
+
}, Di = ({
|
|
2378
2388
|
t: n,
|
|
2379
2389
|
testimonials: r,
|
|
2380
2390
|
readMoreHref: l,
|
|
2381
2391
|
onReadMore: d,
|
|
2382
2392
|
className: o = ""
|
|
2383
2393
|
}) => {
|
|
2384
|
-
const
|
|
2394
|
+
const p = r ?? Fe(() => Li(n), [n]), [h, u] = W(!1), c = p.length > _t, b = c && !h ? p.slice(0, _t) : p;
|
|
2385
2395
|
return /* @__PURE__ */ e.jsxs(
|
|
2386
2396
|
"section",
|
|
2387
2397
|
{
|
|
@@ -2395,13 +2405,13 @@ const Yr = ({
|
|
|
2395
2405
|
/* @__PURE__ */ e.jsx("span", { className: R.dot, "aria-hidden": !0 }),
|
|
2396
2406
|
/* @__PURE__ */ e.jsx("span", { className: R.trustText, children: n("feedbackTrust") })
|
|
2397
2407
|
] }),
|
|
2398
|
-
/* @__PURE__ */ e.jsx("ul", { className: R.cardList, children: b.map((
|
|
2399
|
-
/* @__PURE__ */ e.jsx("p", { className: R.quote, children:
|
|
2408
|
+
/* @__PURE__ */ e.jsx("ul", { className: R.cardList, children: b.map((f, _) => /* @__PURE__ */ e.jsxs("li", { className: R.card, children: [
|
|
2409
|
+
/* @__PURE__ */ e.jsx("p", { className: R.quote, children: f.quote }),
|
|
2400
2410
|
/* @__PURE__ */ e.jsxs("div", { className: R.author, children: [
|
|
2401
|
-
|
|
2411
|
+
f.authorAvatarUrl ? /* @__PURE__ */ e.jsx(
|
|
2402
2412
|
"img",
|
|
2403
2413
|
{
|
|
2404
|
-
src:
|
|
2414
|
+
src: f.authorAvatarUrl,
|
|
2405
2415
|
alt: "",
|
|
2406
2416
|
className: R.avatar,
|
|
2407
2417
|
width: 40,
|
|
@@ -2409,8 +2419,8 @@ const Yr = ({
|
|
|
2409
2419
|
}
|
|
2410
2420
|
) : /* @__PURE__ */ e.jsx("div", { className: R.avatarPlaceholder, "aria-hidden": !0 }),
|
|
2411
2421
|
/* @__PURE__ */ e.jsxs("div", { className: R.authorInfo, children: [
|
|
2412
|
-
/* @__PURE__ */ e.jsx("span", { className: R.authorName, children:
|
|
2413
|
-
/* @__PURE__ */ e.jsx("span", { className: R.stars, "aria-hidden": !0, children: "★".repeat(
|
|
2422
|
+
/* @__PURE__ */ e.jsx("span", { className: R.authorName, children: f.authorName }),
|
|
2423
|
+
/* @__PURE__ */ e.jsx("span", { className: R.stars, "aria-hidden": !0, children: "★".repeat(f.rating ?? 5) })
|
|
2414
2424
|
] })
|
|
2415
2425
|
] })
|
|
2416
2426
|
] }, _)) }),
|
|
@@ -2419,10 +2429,10 @@ const Yr = ({
|
|
|
2419
2429
|
{
|
|
2420
2430
|
type: "button",
|
|
2421
2431
|
className: R.toggleBtn,
|
|
2422
|
-
onClick: () => u((
|
|
2423
|
-
"aria-expanded":
|
|
2432
|
+
onClick: () => u((f) => !f),
|
|
2433
|
+
"aria-expanded": h,
|
|
2424
2434
|
children: [
|
|
2425
|
-
n(
|
|
2435
|
+
n(h ? "readLess" : "readMoreReviews"),
|
|
2426
2436
|
/* @__PURE__ */ e.jsx("span", { className: R.arrow, "aria-hidden": !0, children: "›" })
|
|
2427
2437
|
]
|
|
2428
2438
|
}
|
|
@@ -2454,18 +2464,18 @@ const Yr = ({
|
|
|
2454
2464
|
]
|
|
2455
2465
|
}
|
|
2456
2466
|
);
|
|
2457
|
-
},
|
|
2458
|
-
section:
|
|
2467
|
+
}, Oi = "_section_1scfq_1", Bi = "_heading_1scfq_6", Fi = "_accordion_1scfq_11", Mi = "_item_1scfq_15", Ui = "_itemOpen_1scfq_21", qi = "_question_1scfq_25", Ki = "_chevron_1scfq_40", Wi = "_chevronOpen_1scfq_47", Gi = "_answerWrap_1scfq_51", Hi = "_answerOpen_1scfq_56", Yi = "_answer_1scfq_51", re = {
|
|
2468
|
+
section: Oi,
|
|
2459
2469
|
heading: Bi,
|
|
2460
2470
|
accordion: Fi,
|
|
2461
2471
|
item: Mi,
|
|
2462
2472
|
itemOpen: Ui,
|
|
2463
2473
|
question: qi,
|
|
2464
|
-
chevron:
|
|
2465
|
-
chevronOpen:
|
|
2466
|
-
answerWrap:
|
|
2467
|
-
answerOpen:
|
|
2468
|
-
answer:
|
|
2474
|
+
chevron: Ki,
|
|
2475
|
+
chevronOpen: Wi,
|
|
2476
|
+
answerWrap: Gi,
|
|
2477
|
+
answerOpen: Hi,
|
|
2478
|
+
answer: Yi
|
|
2469
2479
|
}, Vi = [
|
|
2470
2480
|
{ qKey: "faqQ1", aKey: "faqA1" },
|
|
2471
2481
|
{ qKey: "faqQ3", aKey: "faqA3" }
|
|
@@ -2473,7 +2483,7 @@ const Yr = ({
|
|
|
2473
2483
|
t: n,
|
|
2474
2484
|
className: r = ""
|
|
2475
2485
|
}) => {
|
|
2476
|
-
const d = Te()?.config.isGlobal ?? !0, [o,
|
|
2486
|
+
const d = Te()?.config.isGlobal ?? !0, [o, p] = W(1), h = (u) => u === "faqA1" ? d ? "faqA1Global" : "faqA1Domestic" : u;
|
|
2477
2487
|
return /* @__PURE__ */ e.jsxs(
|
|
2478
2488
|
"section",
|
|
2479
2489
|
{
|
|
@@ -2494,7 +2504,7 @@ const Yr = ({
|
|
|
2494
2504
|
{
|
|
2495
2505
|
type: "button",
|
|
2496
2506
|
className: re.question,
|
|
2497
|
-
onClick: () =>
|
|
2507
|
+
onClick: () => p(b ? -1 : c),
|
|
2498
2508
|
"aria-expanded": b,
|
|
2499
2509
|
"aria-controls": `faq-answer-${c}`,
|
|
2500
2510
|
id: `faq-question-${c}`,
|
|
@@ -2536,7 +2546,7 @@ const Yr = ({
|
|
|
2536
2546
|
"aria-labelledby": `faq-question-${c}`,
|
|
2537
2547
|
className: `${re.answerWrap} ${b ? re.answerOpen : ""}`,
|
|
2538
2548
|
hidden: !b,
|
|
2539
|
-
children: u.aKey && /* @__PURE__ */ e.jsx("p", { className: re.answer, children: n(
|
|
2549
|
+
children: u.aKey && /* @__PURE__ */ e.jsx("p", { className: re.answer, children: n(h(u.aKey)) })
|
|
2540
2550
|
}
|
|
2541
2551
|
)
|
|
2542
2552
|
]
|
|
@@ -2560,13 +2570,13 @@ const Yr = ({
|
|
|
2560
2570
|
brandName: d,
|
|
2561
2571
|
className: o = ""
|
|
2562
2572
|
}) => {
|
|
2563
|
-
const
|
|
2573
|
+
const p = r ?? "8295049751", h = l ?? "shubham.goyal@supportmandir.com";
|
|
2564
2574
|
return /* @__PURE__ */ e.jsxs("section", { className: `${Ne.section} ${o}`, "aria-labelledby": "contact-heading", children: [
|
|
2565
2575
|
/* @__PURE__ */ e.jsx("h2", { id: "contact-heading", className: Ne.heading, children: n("contactTitle") }),
|
|
2566
2576
|
/* @__PURE__ */ e.jsxs("div", { className: Ne.content, children: [
|
|
2567
|
-
/* @__PURE__ */ e.jsx("p", { className: Ne.brandName, children: d ?? n("
|
|
2568
|
-
/* @__PURE__ */ e.jsx("p", { className: Ne.line, children: n("contactWhatsApp").replace("8295049751",
|
|
2569
|
-
/* @__PURE__ */ e.jsx("p", { className: Ne.line, children: n("contactEmail").replace("shubham.goyal@supportmandir.com",
|
|
2577
|
+
/* @__PURE__ */ e.jsx("p", { className: Ne.brandName, children: d ?? n("contactBrandName") }),
|
|
2578
|
+
/* @__PURE__ */ e.jsx("p", { className: Ne.line, children: n("contactWhatsApp").replace("8295049751", p) }),
|
|
2579
|
+
/* @__PURE__ */ e.jsx("p", { className: Ne.line, children: n("contactEmail").replace("shubham.goyal@supportmandir.com", h) })
|
|
2570
2580
|
] })
|
|
2571
2581
|
] });
|
|
2572
2582
|
}, bt = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", vt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", kt = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", no = ({ t: n }) => /* @__PURE__ */ e.jsxs("div", { className: $.marqueeTrack, children: [
|
|
@@ -2604,9 +2614,9 @@ const Yr = ({
|
|
|
2604
2614
|
ctaHref: l,
|
|
2605
2615
|
className: d = ""
|
|
2606
2616
|
}) => {
|
|
2607
|
-
const o = Te(),
|
|
2617
|
+
const o = Te(), p = o?.config.isGlobal ?? !0, h = p ? o?.config.originalPriceLabel ?? n("ctaButtonStruck") : "₹999", u = p ? o?.config.discountedPriceLabel ?? n("ctaButtonAfter") : "₹249", c = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2608
2618
|
n("ctaButtonBefore"),
|
|
2609
|
-
/* @__PURE__ */ e.jsx("span", { className: $.ctaStruck, children:
|
|
2619
|
+
/* @__PURE__ */ e.jsx("span", { className: $.ctaStruck, children: h }),
|
|
2610
2620
|
" ",
|
|
2611
2621
|
u
|
|
2612
2622
|
] });
|
|
@@ -2632,41 +2642,41 @@ const Yr = ({
|
|
|
2632
2642
|
showLanguageSelector: l = !0,
|
|
2633
2643
|
onBack: d,
|
|
2634
2644
|
initialValues: o,
|
|
2635
|
-
onProceed:
|
|
2636
|
-
proceedHref:
|
|
2645
|
+
onProceed: p,
|
|
2646
|
+
proceedHref: h,
|
|
2637
2647
|
originalPriceLabel: u,
|
|
2638
2648
|
discountedPriceLabel: c,
|
|
2639
2649
|
discountPillLabel: b,
|
|
2640
|
-
googleMapsApiKey:
|
|
2650
|
+
googleMapsApiKey: f = io,
|
|
2641
2651
|
analytics: _
|
|
2642
2652
|
}) => {
|
|
2643
|
-
const x = Te(), T = jt(), j = x !== null, v = j ? x.locale : r, w = v ?? T?.locale ?? "en", [I, k] =
|
|
2653
|
+
const x = Te(), T = jt(), j = x !== null, v = j ? x.locale : r, w = v ?? T?.locale ?? "en", [I, k] = W(w), A = j ? x.locale : I, M = j ? x.setLocale : k, [S, z] = W(!1), D = K(null), Y = K(v), O = K(
|
|
2644
2654
|
T?.locale
|
|
2645
2655
|
);
|
|
2646
|
-
|
|
2656
|
+
G(() => {
|
|
2647
2657
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
2648
2658
|
}, []);
|
|
2649
|
-
const
|
|
2650
|
-
|
|
2651
|
-
v &&
|
|
2652
|
-
}, [v, M]),
|
|
2659
|
+
const H = (a) => oo(A, a);
|
|
2660
|
+
G(() => {
|
|
2661
|
+
v && Y.current !== v && M(v), Y.current = v;
|
|
2662
|
+
}, [v, M]), G(() => {
|
|
2653
2663
|
if (v) return;
|
|
2654
2664
|
const a = T?.locale;
|
|
2655
|
-
a &&
|
|
2665
|
+
a && O.current !== a && M(a), O.current = a;
|
|
2656
2666
|
}, [T?.locale, v, M]);
|
|
2657
|
-
const [X, B] =
|
|
2667
|
+
const [X, B] = W({
|
|
2658
2668
|
...so,
|
|
2659
2669
|
...o,
|
|
2660
2670
|
phone: o?.phone ?? ""
|
|
2661
|
-
}), U = j ? x.formValues : X, V = j ? x.setFormValues : B, ee = j ? x.goToPage : d, ue = j ? x.onProceed :
|
|
2662
|
-
|
|
2671
|
+
}), U = j ? x.formValues : X, V = j ? x.setFormValues : B, ee = j ? x.goToPage : d, ue = j ? x.onProceed : p, ye = j ? x.config.proceedHref : h, he = j ? x.config.originalPriceLabel : u, fe = j ? x.config.discountedPriceLabel : c, ge = j ? x.config.discountPillLabel : b, _e = j ? x.config.showLanguageSelector ?? !0 : l, ie = (j ? x?.config?.analytics : _) ?? _;
|
|
2672
|
+
G(() => {
|
|
2663
2673
|
if (!S) return;
|
|
2664
|
-
const a = (
|
|
2665
|
-
|
|
2674
|
+
const a = (g) => {
|
|
2675
|
+
D.current && !D.current.contains(g.target) && z(!1);
|
|
2666
2676
|
};
|
|
2667
2677
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
2668
2678
|
}, [S]);
|
|
2669
|
-
const be = _e ? /* @__PURE__ */ e.jsxs("div", { className: oe.langDropdownWrap, ref:
|
|
2679
|
+
const be = _e ? /* @__PURE__ */ e.jsxs("div", { className: oe.langDropdownWrap, ref: D, children: [
|
|
2670
2680
|
/* @__PURE__ */ e.jsxs(
|
|
2671
2681
|
"button",
|
|
2672
2682
|
{
|
|
@@ -2678,7 +2688,7 @@ const Yr = ({
|
|
|
2678
2688
|
"aria-expanded": S,
|
|
2679
2689
|
"aria-haspopup": "listbox",
|
|
2680
2690
|
id: "kundli-form-lang",
|
|
2681
|
-
"aria-label":
|
|
2691
|
+
"aria-label": H("language"),
|
|
2682
2692
|
children: [
|
|
2683
2693
|
/* @__PURE__ */ e.jsx(
|
|
2684
2694
|
"img",
|
|
@@ -2723,7 +2733,7 @@ const Yr = ({
|
|
|
2723
2733
|
/* @__PURE__ */ e.jsx(
|
|
2724
2734
|
Et,
|
|
2725
2735
|
{
|
|
2726
|
-
t:
|
|
2736
|
+
t: H,
|
|
2727
2737
|
logoUrl: j ? x.config.logoUrl : void 0,
|
|
2728
2738
|
languageSelector: be,
|
|
2729
2739
|
className: oe.kundliHeaderNoBorder
|
|
@@ -2731,25 +2741,25 @@ const Yr = ({
|
|
|
2731
2741
|
),
|
|
2732
2742
|
/* @__PURE__ */ e.jsx("div", { className: oe.headerSeparator, "aria-hidden": !0 }),
|
|
2733
2743
|
/* @__PURE__ */ e.jsxs("main", { className: oe.main, children: [
|
|
2734
|
-
/* @__PURE__ */ e.jsx(
|
|
2744
|
+
/* @__PURE__ */ e.jsx(On, { t: H, onBack: ee }),
|
|
2735
2745
|
/* @__PURE__ */ e.jsx(
|
|
2736
2746
|
wa,
|
|
2737
2747
|
{
|
|
2738
|
-
t:
|
|
2748
|
+
t: H,
|
|
2739
2749
|
values: U,
|
|
2740
2750
|
onChange: V,
|
|
2741
|
-
googleMapsApiKey:
|
|
2751
|
+
googleMapsApiKey: f
|
|
2742
2752
|
}
|
|
2743
2753
|
)
|
|
2744
2754
|
] }),
|
|
2745
2755
|
/* @__PURE__ */ e.jsx(
|
|
2746
2756
|
Ba,
|
|
2747
2757
|
{
|
|
2748
|
-
t:
|
|
2758
|
+
t: H,
|
|
2749
2759
|
values: U,
|
|
2750
2760
|
onProceed: ue,
|
|
2751
2761
|
href: ye,
|
|
2752
|
-
originalPriceLabel:
|
|
2762
|
+
originalPriceLabel: he,
|
|
2753
2763
|
discountedPriceLabel: fe,
|
|
2754
2764
|
discountPillLabel: ge,
|
|
2755
2765
|
analytics: ie
|
|
@@ -2762,11 +2772,11 @@ function de({
|
|
|
2762
2772
|
children: r,
|
|
2763
2773
|
onImpression: l
|
|
2764
2774
|
}) {
|
|
2765
|
-
const d =
|
|
2766
|
-
return
|
|
2767
|
-
const
|
|
2768
|
-
if (!
|
|
2769
|
-
const
|
|
2775
|
+
const d = K(null), o = K(!1);
|
|
2776
|
+
return G(() => {
|
|
2777
|
+
const p = d.current;
|
|
2778
|
+
if (!p) return;
|
|
2779
|
+
const h = new IntersectionObserver(
|
|
2770
2780
|
([u]) => {
|
|
2771
2781
|
!u?.isIntersecting || o.current || (o.current = !0, l(n));
|
|
2772
2782
|
},
|
|
@@ -2776,45 +2786,45 @@ function de({
|
|
|
2776
2786
|
rootMargin: `0px 0px -${mo}px 0px`
|
|
2777
2787
|
}
|
|
2778
2788
|
);
|
|
2779
|
-
return
|
|
2789
|
+
return h.observe(p), () => h.disconnect();
|
|
2780
2790
|
}, [n, l]), /* @__PURE__ */ e.jsx("div", { ref: d, children: r });
|
|
2781
2791
|
}
|
|
2782
|
-
function
|
|
2792
|
+
function po({ className: n }) {
|
|
2783
2793
|
const { view: r } = Pt();
|
|
2784
|
-
return r === "form" ? /* @__PURE__ */ e.jsx(co, {}) : /* @__PURE__ */ e.jsx(
|
|
2794
|
+
return r === "form" ? /* @__PURE__ */ e.jsx(co, {}) : /* @__PURE__ */ e.jsx(ho, { className: n });
|
|
2785
2795
|
}
|
|
2786
|
-
function
|
|
2796
|
+
function ho({ className: n }) {
|
|
2787
2797
|
const r = jt(), {
|
|
2788
2798
|
locale: l,
|
|
2789
2799
|
setLocale: d,
|
|
2790
2800
|
config: o,
|
|
2791
|
-
goToForm:
|
|
2792
|
-
} = Pt(), [
|
|
2801
|
+
goToForm: p
|
|
2802
|
+
} = Pt(), [h, u] = W(!1), c = K(null), b = K(o.locale), f = K(
|
|
2793
2803
|
r?.locale
|
|
2794
2804
|
);
|
|
2795
|
-
|
|
2805
|
+
G(() => {
|
|
2796
2806
|
o.locale && b.current !== o.locale && d(o.locale), b.current = o.locale;
|
|
2797
|
-
}, [o.locale, d]),
|
|
2807
|
+
}, [o.locale, d]), G(() => {
|
|
2798
2808
|
if (o.locale) return;
|
|
2799
2809
|
const w = r?.locale;
|
|
2800
|
-
w &&
|
|
2801
|
-
}, [r?.locale, o.locale, d]),
|
|
2802
|
-
if (!
|
|
2810
|
+
w && f.current !== w && d(w), f.current = w;
|
|
2811
|
+
}, [r?.locale, o.locale, d]), G(() => {
|
|
2812
|
+
if (!h) return;
|
|
2803
2813
|
const w = (I) => {
|
|
2804
2814
|
c.current && !c.current.contains(I.target) && u(!1);
|
|
2805
2815
|
};
|
|
2806
2816
|
return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
|
|
2807
|
-
}, [
|
|
2808
|
-
const _ = (w) => uo(l, w), T = o.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className:
|
|
2817
|
+
}, [h]);
|
|
2818
|
+
const _ = (w) => uo(l, w), T = o.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: pe.langDropdownWrap, ref: c, children: [
|
|
2809
2819
|
/* @__PURE__ */ e.jsxs(
|
|
2810
2820
|
"button",
|
|
2811
2821
|
{
|
|
2812
2822
|
type: "button",
|
|
2813
|
-
className:
|
|
2823
|
+
className: pe.langTrigger,
|
|
2814
2824
|
onClick: () => {
|
|
2815
2825
|
o.analytics?.trackLanguageClickedFe?.({ language: l }), u((w) => !w);
|
|
2816
2826
|
},
|
|
2817
|
-
"aria-expanded":
|
|
2827
|
+
"aria-expanded": h,
|
|
2818
2828
|
"aria-haspopup": "listbox",
|
|
2819
2829
|
id: "kundli-lang",
|
|
2820
2830
|
"aria-label": _("language"),
|
|
@@ -2824,20 +2834,20 @@ function po({ className: n }) {
|
|
|
2824
2834
|
{
|
|
2825
2835
|
src: lo,
|
|
2826
2836
|
alt: "",
|
|
2827
|
-
className:
|
|
2837
|
+
className: pe.langIcon,
|
|
2828
2838
|
width: 16,
|
|
2829
2839
|
height: 16,
|
|
2830
2840
|
"aria-hidden": !0
|
|
2831
2841
|
}
|
|
2832
2842
|
),
|
|
2833
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2843
|
+
/* @__PURE__ */ e.jsx("span", { className: pe.langLabel, children: Me[l] })
|
|
2834
2844
|
]
|
|
2835
2845
|
}
|
|
2836
2846
|
),
|
|
2837
|
-
|
|
2847
|
+
h && /* @__PURE__ */ e.jsx(
|
|
2838
2848
|
"ul",
|
|
2839
2849
|
{
|
|
2840
|
-
className:
|
|
2850
|
+
className: pe.langMenu,
|
|
2841
2851
|
role: "listbox",
|
|
2842
2852
|
"aria-labelledby": "kundli-lang",
|
|
2843
2853
|
"aria-activedescendant": `kundli-lang-option-${l}`,
|
|
@@ -2847,7 +2857,7 @@ function po({ className: n }) {
|
|
|
2847
2857
|
id: `kundli-lang-option-${w}`,
|
|
2848
2858
|
role: "option",
|
|
2849
2859
|
"aria-selected": w === l,
|
|
2850
|
-
className:
|
|
2860
|
+
className: pe.langOption,
|
|
2851
2861
|
onClick: () => {
|
|
2852
2862
|
o.analytics?.trackLanguageChangedFe?.({ newLanguage: w }), d(w), u(!1);
|
|
2853
2863
|
},
|
|
@@ -2859,7 +2869,7 @@ function po({ className: n }) {
|
|
|
2859
2869
|
)
|
|
2860
2870
|
] }) : null, j = (w) => {
|
|
2861
2871
|
const I = w.currentTarget.innerText?.trim() ?? _("ctaButtonAfter");
|
|
2862
|
-
o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: I }),
|
|
2872
|
+
o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: I }), p(), o.onCtaClick?.();
|
|
2863
2873
|
}, v = Pe(
|
|
2864
2874
|
(w) => {
|
|
2865
2875
|
o.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
@@ -2869,7 +2879,7 @@ function po({ className: n }) {
|
|
|
2869
2879
|
},
|
|
2870
2880
|
[o.analytics]
|
|
2871
2881
|
);
|
|
2872
|
-
return /* @__PURE__ */ e.jsxs("div", { className: `${
|
|
2882
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${pe.container} ${n}`, children: [
|
|
2873
2883
|
/* @__PURE__ */ e.jsx(
|
|
2874
2884
|
Et,
|
|
2875
2885
|
{
|
|
@@ -2878,7 +2888,7 @@ function po({ className: n }) {
|
|
|
2878
2888
|
languageSelector: T
|
|
2879
2889
|
}
|
|
2880
2890
|
),
|
|
2881
|
-
/* @__PURE__ */ e.jsxs("main", { className:
|
|
2891
|
+
/* @__PURE__ */ e.jsxs("main", { className: pe.main, children: [
|
|
2882
2892
|
/* @__PURE__ */ e.jsx(
|
|
2883
2893
|
de,
|
|
2884
2894
|
{
|
|
@@ -2921,7 +2931,7 @@ function po({ className: n }) {
|
|
|
2921
2931
|
{
|
|
2922
2932
|
section: "three_steps_process",
|
|
2923
2933
|
onImpression: v,
|
|
2924
|
-
children: /* @__PURE__ */ e.jsx(Rr, { t: _, locale: l })
|
|
2934
|
+
children: /* @__PURE__ */ e.jsx(Rr, { t: _, locale: l, isGlobal: o.isGlobal })
|
|
2925
2935
|
}
|
|
2926
2936
|
),
|
|
2927
2937
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2953,7 +2963,7 @@ function po({ className: n }) {
|
|
|
2953
2963
|
{
|
|
2954
2964
|
section: "why_us",
|
|
2955
2965
|
onImpression: v,
|
|
2956
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2966
|
+
children: /* @__PURE__ */ e.jsx(hi, { t: _ })
|
|
2957
2967
|
}
|
|
2958
2968
|
),
|
|
2959
2969
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2961,7 +2971,7 @@ function po({ className: n }) {
|
|
|
2961
2971
|
{
|
|
2962
2972
|
section: "feedback",
|
|
2963
2973
|
onImpression: v,
|
|
2964
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2974
|
+
children: /* @__PURE__ */ e.jsx(Di, { t: _, readMoreHref: o.readMoreReviewsHref })
|
|
2965
2975
|
}
|
|
2966
2976
|
),
|
|
2967
2977
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2997,12 +3007,12 @@ const vo = ({
|
|
|
2997
3007
|
showLanguageSelector: l = !0,
|
|
2998
3008
|
userId: d,
|
|
2999
3009
|
isGlobal: o,
|
|
3000
|
-
logoUrl:
|
|
3001
|
-
reportImageUrl:
|
|
3010
|
+
logoUrl: p,
|
|
3011
|
+
reportImageUrl: h,
|
|
3002
3012
|
universityLogoUrls: u,
|
|
3003
3013
|
sampleReportHref: c,
|
|
3004
3014
|
onViewSampleReport: b,
|
|
3005
|
-
ctaHref:
|
|
3015
|
+
ctaHref: f,
|
|
3006
3016
|
onCtaClick: _,
|
|
3007
3017
|
readMoreReviewsHref: x,
|
|
3008
3018
|
onProceed: T,
|
|
@@ -3019,12 +3029,12 @@ const vo = ({
|
|
|
3019
3029
|
showLanguageSelector: l,
|
|
3020
3030
|
userId: d,
|
|
3021
3031
|
isGlobal: o,
|
|
3022
|
-
logoUrl:
|
|
3023
|
-
reportImageUrl:
|
|
3032
|
+
logoUrl: p,
|
|
3033
|
+
reportImageUrl: h,
|
|
3024
3034
|
universityLogoUrls: u,
|
|
3025
3035
|
sampleReportHref: c,
|
|
3026
3036
|
onViewSampleReport: b,
|
|
3027
|
-
ctaHref:
|
|
3037
|
+
ctaHref: f,
|
|
3028
3038
|
onCtaClick: _,
|
|
3029
3039
|
readMoreReviewsHref: x,
|
|
3030
3040
|
onProceed: T,
|
|
@@ -3034,7 +3044,7 @@ const vo = ({
|
|
|
3034
3044
|
discountPillLabel: I,
|
|
3035
3045
|
analytics: k,
|
|
3036
3046
|
onLocaleChange: A,
|
|
3037
|
-
children: /* @__PURE__ */ e.jsx(
|
|
3047
|
+
children: /* @__PURE__ */ e.jsx(po, { className: n })
|
|
3038
3048
|
}
|
|
3039
3049
|
), ko = {
|
|
3040
3050
|
banner_clicked_fe: "banner_clicked_fe",
|