@srimandir/kundli-generator 3.0.44 → 3.0.46
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,18 +1,18 @@
|
|
|
1
|
-
import He, { createContext as
|
|
2
|
-
import { FormSectionHeader as Qt, footerShellStyles as ae, FooterCTAButton as
|
|
1
|
+
import He, { createContext as bt, useContext as Ge, useState as K, useRef as U, useEffect as W, useMemo as We, useCallback as je } from "react";
|
|
2
|
+
import { FormSectionHeader as Qt, footerShellStyles as ae, FooterCTAButton as _t, FooterShell as vt, PageHeader as Jt, UserReviewsSection as Xt, FAQAccordion as Zt, ContactUsSection as en, CircularMarquee as tn } from "@srimandir/astrology-common";
|
|
3
3
|
import * as Se from "pdfjs-dist";
|
|
4
4
|
var De = { exports: {} }, Ae = {};
|
|
5
5
|
var dt;
|
|
6
6
|
function nn() {
|
|
7
7
|
if (dt) return Ae;
|
|
8
8
|
dt = 1;
|
|
9
|
-
var n = He, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.fragment"),
|
|
9
|
+
var n = He, 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 };
|
|
10
10
|
function m(f, g, w) {
|
|
11
|
-
var k, h = {},
|
|
12
|
-
w !== void 0 && (
|
|
13
|
-
for (k in g)
|
|
11
|
+
var k, h = {}, b = null, C = null;
|
|
12
|
+
w !== void 0 && (b = "" + w), g.key !== void 0 && (b = "" + g.key), g.ref !== void 0 && (C = g.ref);
|
|
13
|
+
for (k in g) d.call(g, k) && !p.hasOwnProperty(k) && (h[k] = g[k]);
|
|
14
14
|
if (f && f.defaultProps) for (k in g = f.defaultProps, g) h[k] === void 0 && (h[k] = g[k]);
|
|
15
|
-
return { $$typeof: r, type: f, key:
|
|
15
|
+
return { $$typeof: r, type: f, key: b, ref: C, props: h, _owner: o.current };
|
|
16
16
|
}
|
|
17
17
|
return Ae.Fragment = l, Ae.jsx = m, Ae.jsxs = m, Ae;
|
|
18
18
|
}
|
|
@@ -20,14 +20,14 @@ var Ne = {};
|
|
|
20
20
|
var ut;
|
|
21
21
|
function an() {
|
|
22
22
|
return ut || (ut = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
23
|
-
var n = He, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.portal"),
|
|
23
|
+
var n = He, 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"), m = /* @__PURE__ */ Symbol.for("react.provider"), f = /* @__PURE__ */ Symbol.for("react.context"), g = /* @__PURE__ */ Symbol.for("react.forward_ref"), w = /* @__PURE__ */ Symbol.for("react.suspense"), k = /* @__PURE__ */ Symbol.for("react.suspense_list"), h = /* @__PURE__ */ Symbol.for("react.memo"), b = /* @__PURE__ */ Symbol.for("react.lazy"), C = /* @__PURE__ */ Symbol.for("react.offscreen"), x = Symbol.iterator, T = "@@iterator";
|
|
24
24
|
function A(t) {
|
|
25
25
|
if (t === null || typeof t != "object")
|
|
26
26
|
return null;
|
|
27
27
|
var i = x && t[x] || t[T];
|
|
28
28
|
return typeof i == "function" ? i : null;
|
|
29
29
|
}
|
|
30
|
-
var
|
|
30
|
+
var _ = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
31
31
|
function v(t) {
|
|
32
32
|
{
|
|
33
33
|
for (var i = arguments.length, c = new Array(i > 1 ? i - 1 : 0), y = 1; y < i; y++)
|
|
@@ -37,7 +37,7 @@ function an() {
|
|
|
37
37
|
}
|
|
38
38
|
function E(t, i, c) {
|
|
39
39
|
{
|
|
40
|
-
var y =
|
|
40
|
+
var y = _.ReactDebugCurrentFrame, N = y.getStackAddendum();
|
|
41
41
|
N !== "" && (i += "%s", c = c.concat([N]));
|
|
42
42
|
var I = c.map(function(j) {
|
|
43
43
|
return String(j);
|
|
@@ -48,7 +48,7 @@ function an() {
|
|
|
48
48
|
var D = !1, S = !1, M = !1, G = !1, H = !1, R;
|
|
49
49
|
R = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
50
50
|
function q(t) {
|
|
51
|
-
return !!(typeof t == "string" || typeof t == "function" || t ===
|
|
51
|
+
return !!(typeof t == "string" || typeof t == "function" || t === d || t === p || H || t === o || t === w || t === k || G || t === C || D || S || M || typeof t == "object" && t !== null && (t.$$typeof === b || t.$$typeof === h || t.$$typeof === m || t.$$typeof === f || t.$$typeof === g || // 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.
|
|
@@ -72,7 +72,7 @@ function an() {
|
|
|
72
72
|
if (typeof t == "string")
|
|
73
73
|
return t;
|
|
74
74
|
switch (t) {
|
|
75
|
-
case
|
|
75
|
+
case d:
|
|
76
76
|
return "Fragment";
|
|
77
77
|
case l:
|
|
78
78
|
return "Portal";
|
|
@@ -98,7 +98,7 @@ function an() {
|
|
|
98
98
|
case h:
|
|
99
99
|
var y = t.displayName || null;
|
|
100
100
|
return y !== null ? y : F(t.type) || "Memo";
|
|
101
|
-
case
|
|
101
|
+
case b: {
|
|
102
102
|
var N = t, I = N._payload, j = N._init;
|
|
103
103
|
try {
|
|
104
104
|
return F(j(I));
|
|
@@ -109,14 +109,14 @@ function an() {
|
|
|
109
109
|
}
|
|
110
110
|
return null;
|
|
111
111
|
}
|
|
112
|
-
var L = Object.assign, J = 0, ne, ue, ce, he, ge,
|
|
112
|
+
var L = Object.assign, J = 0, ne, ue, ce, he, ge, be, de;
|
|
113
113
|
function me() {
|
|
114
114
|
}
|
|
115
115
|
me.__reactDisabledLog = !0;
|
|
116
116
|
function ye() {
|
|
117
117
|
{
|
|
118
118
|
if (J === 0) {
|
|
119
|
-
ne = console.log, ue = console.info, ce = console.warn, he = console.error, ge = console.group,
|
|
119
|
+
ne = console.log, ue = console.info, ce = console.warn, he = console.error, ge = console.group, be = console.groupCollapsed, de = console.groupEnd;
|
|
120
120
|
var t = {
|
|
121
121
|
configurable: !0,
|
|
122
122
|
enumerable: !0,
|
|
@@ -161,7 +161,7 @@ function an() {
|
|
|
161
161
|
value: ge
|
|
162
162
|
}),
|
|
163
163
|
groupCollapsed: L({}, t, {
|
|
164
|
-
value:
|
|
164
|
+
value: be
|
|
165
165
|
}),
|
|
166
166
|
groupEnd: L({}, t, {
|
|
167
167
|
value: de
|
|
@@ -171,7 +171,7 @@ function an() {
|
|
|
171
171
|
J < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
var
|
|
174
|
+
var u = _.ReactCurrentDispatcher, O;
|
|
175
175
|
function X(t, i, c) {
|
|
176
176
|
{
|
|
177
177
|
if (O === void 0)
|
|
@@ -185,13 +185,13 @@ function an() {
|
|
|
185
185
|
` + O + t;
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var _e = !1, ke;
|
|
189
189
|
{
|
|
190
190
|
var jt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
191
191
|
ke = new jt();
|
|
192
192
|
}
|
|
193
193
|
function ze(t, i) {
|
|
194
|
-
if (!t ||
|
|
194
|
+
if (!t || _e)
|
|
195
195
|
return "";
|
|
196
196
|
{
|
|
197
197
|
var c = ke.get(t);
|
|
@@ -199,11 +199,11 @@ function an() {
|
|
|
199
199
|
return c;
|
|
200
200
|
}
|
|
201
201
|
var y;
|
|
202
|
-
|
|
202
|
+
_e = !0;
|
|
203
203
|
var N = Error.prepareStackTrace;
|
|
204
204
|
Error.prepareStackTrace = void 0;
|
|
205
205
|
var I;
|
|
206
|
-
I =
|
|
206
|
+
I = u.current, u.current = null, ye();
|
|
207
207
|
try {
|
|
208
208
|
if (i) {
|
|
209
209
|
var j = function() {
|
|
@@ -256,7 +256,7 @@ function an() {
|
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
} finally {
|
|
259
|
-
|
|
259
|
+
_e = !1, u.current = I, a(), Error.prepareStackTrace = N;
|
|
260
260
|
}
|
|
261
261
|
var we = t ? t.displayName || t.name : "", ve = we ? X(we) : "";
|
|
262
262
|
return typeof t == "function" && ke.set(t, ve), ve;
|
|
@@ -287,7 +287,7 @@ function an() {
|
|
|
287
287
|
return Tt(t.render);
|
|
288
288
|
case h:
|
|
289
289
|
return Ie(t.type, i, c);
|
|
290
|
-
case
|
|
290
|
+
case b: {
|
|
291
291
|
var y = t, N = y._payload, I = y._init;
|
|
292
292
|
try {
|
|
293
293
|
return Ie(I(N), i, c);
|
|
@@ -297,7 +297,7 @@ function an() {
|
|
|
297
297
|
}
|
|
298
298
|
return "";
|
|
299
299
|
}
|
|
300
|
-
var Te = Object.prototype.hasOwnProperty, Qe = {}, Je =
|
|
300
|
+
var Te = Object.prototype.hasOwnProperty, Qe = {}, Je = _.ReactDebugCurrentFrame;
|
|
301
301
|
function Re(t) {
|
|
302
302
|
if (t) {
|
|
303
303
|
var i = t._owner, c = Ie(t.type, t._source, i ? i.type : null);
|
|
@@ -348,7 +348,7 @@ function an() {
|
|
|
348
348
|
if (St(t))
|
|
349
349
|
return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ct(t)), Xe(t);
|
|
350
350
|
}
|
|
351
|
-
var et =
|
|
351
|
+
var et = _.ReactCurrentOwner, It = {
|
|
352
352
|
key: !0,
|
|
353
353
|
ref: !0,
|
|
354
354
|
__self: !0,
|
|
@@ -442,7 +442,7 @@ function an() {
|
|
|
442
442
|
return $t(t, P, V, N, y, et.current, j);
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
|
-
var $e =
|
|
445
|
+
var $e = _.ReactCurrentOwner, at = _.ReactDebugCurrentFrame;
|
|
446
446
|
function xe(t) {
|
|
447
447
|
if (t) {
|
|
448
448
|
var i = t._owner, c = Ie(t.type, t._source, i ? i.type : null);
|
|
@@ -594,7 +594,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
594
594
|
<%s key={someKey} {...props} />`, Me, ve, Vt, ve), lt[ve + Me] = !0;
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
|
-
return t ===
|
|
597
|
+
return t === d ? Wt(B) : Kt(B), B;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
function Ht(t, i, c) {
|
|
@@ -604,7 +604,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
604
604
|
return ct(t, i, c, !1);
|
|
605
605
|
}
|
|
606
606
|
var qt = Gt, Yt = Ht;
|
|
607
|
-
Ne.Fragment =
|
|
607
|
+
Ne.Fragment = d, Ne.jsx = qt, Ne.jsxs = Yt;
|
|
608
608
|
})()), Ne;
|
|
609
609
|
}
|
|
610
610
|
var mt;
|
|
@@ -721,21 +721,21 @@ const on = "_container_nm3gb_1", sn = "_main_nm3gb_6", ln = "_langDropdownWrap_n
|
|
|
721
721
|
feedbackAuthor13: "Meera",
|
|
722
722
|
feedbackAuthor14: "Pooja",
|
|
723
723
|
feedbackAuthor15: "Nisha",
|
|
724
|
-
feedbackAuthor1AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
725
|
-
feedbackAuthor2AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
726
|
-
feedbackAuthor3AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
727
|
-
feedbackAuthor4AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
728
|
-
feedbackAuthor5AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
729
|
-
feedbackAuthor6AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
730
|
-
feedbackAuthor7AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
731
|
-
feedbackAuthor8AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
732
|
-
feedbackAuthor9AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
733
|
-
feedbackAuthor10AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
734
|
-
feedbackAuthor11AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
735
|
-
feedbackAuthor12AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
736
|
-
feedbackAuthor13AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
737
|
-
feedbackAuthor14AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
738
|
-
feedbackAuthor15AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
724
|
+
feedbackAuthor1AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540630020.webp",
|
|
725
|
+
feedbackAuthor2AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540643972.webp",
|
|
726
|
+
feedbackAuthor3AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540667977.webp",
|
|
727
|
+
feedbackAuthor4AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540679337.webp",
|
|
728
|
+
feedbackAuthor5AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540756991.webp",
|
|
729
|
+
feedbackAuthor6AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540834725.webp",
|
|
730
|
+
feedbackAuthor7AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540868249.webp",
|
|
731
|
+
feedbackAuthor8AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540882463.webp",
|
|
732
|
+
feedbackAuthor9AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540897042.webp",
|
|
733
|
+
feedbackAuthor10AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540909938.webp",
|
|
734
|
+
feedbackAuthor11AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540921001.webp",
|
|
735
|
+
feedbackAuthor12AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540933255.webp",
|
|
736
|
+
feedbackAuthor13AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540944535.webp",
|
|
737
|
+
feedbackAuthor14AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540955453.webp",
|
|
738
|
+
feedbackAuthor15AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540968037.webp",
|
|
739
739
|
readMoreReviews: "Read More Reviews",
|
|
740
740
|
readLess: "Read Less",
|
|
741
741
|
faqTitle: "Frequently Asked Questions",
|
|
@@ -881,21 +881,21 @@ const on = "_container_nm3gb_1", sn = "_main_nm3gb_6", ln = "_langDropdownWrap_n
|
|
|
881
881
|
feedbackAuthor13: "मीरा",
|
|
882
882
|
feedbackAuthor14: "पूजा",
|
|
883
883
|
feedbackAuthor15: "निशा",
|
|
884
|
-
feedbackAuthor1AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
885
|
-
feedbackAuthor2AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
886
|
-
feedbackAuthor3AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
887
|
-
feedbackAuthor4AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
888
|
-
feedbackAuthor5AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
889
|
-
feedbackAuthor6AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
890
|
-
feedbackAuthor7AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
891
|
-
feedbackAuthor8AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
892
|
-
feedbackAuthor9AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
893
|
-
feedbackAuthor10AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
894
|
-
feedbackAuthor11AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
895
|
-
feedbackAuthor12AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
896
|
-
feedbackAuthor13AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
897
|
-
feedbackAuthor14AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
898
|
-
feedbackAuthor15AvatarUrl: "https://srm-cdn.a4b.io/yoda/
|
|
884
|
+
feedbackAuthor1AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540630020.webp",
|
|
885
|
+
feedbackAuthor2AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540643972.webp",
|
|
886
|
+
feedbackAuthor3AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540667977.webp",
|
|
887
|
+
feedbackAuthor4AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540679337.webp",
|
|
888
|
+
feedbackAuthor5AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540756991.webp",
|
|
889
|
+
feedbackAuthor6AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540834725.webp",
|
|
890
|
+
feedbackAuthor7AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540868249.webp",
|
|
891
|
+
feedbackAuthor8AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540882463.webp",
|
|
892
|
+
feedbackAuthor9AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540897042.webp",
|
|
893
|
+
feedbackAuthor10AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540909938.webp",
|
|
894
|
+
feedbackAuthor11AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540921001.webp",
|
|
895
|
+
feedbackAuthor12AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540933255.webp",
|
|
896
|
+
feedbackAuthor13AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540944535.webp",
|
|
897
|
+
feedbackAuthor14AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540955453.webp",
|
|
898
|
+
feedbackAuthor15AvatarUrl: "https://srm-cdn.a4b.io/yoda/1772540968037.webp",
|
|
899
899
|
readMoreReviews: "और समीक्षाएं पढ़ें",
|
|
900
900
|
readLess: "कम पढ़ें",
|
|
901
901
|
faqTitle: "अक्सर पूछे जाने वाले प्रश्न",
|
|
@@ -946,30 +946,34 @@ const on = "_container_nm3gb_1", sn = "_main_nm3gb_6", ln = "_langDropdownWrap_n
|
|
|
946
946
|
formDiscountedPrice: "$25",
|
|
947
947
|
formPriceAria: "कीमत"
|
|
948
948
|
}
|
|
949
|
-
}, yt =
|
|
949
|
+
}, yt = bt(null), fi = ({
|
|
950
950
|
locale: n,
|
|
951
951
|
children: r
|
|
952
952
|
}) => {
|
|
953
|
-
const
|
|
954
|
-
return /* @__PURE__ */ e.jsx(yt.Provider, { value:
|
|
953
|
+
const d = { locale: n, t: (o) => Ye[n]?.[o] ?? o };
|
|
954
|
+
return /* @__PURE__ */ e.jsx(yt.Provider, { value: d, children: r });
|
|
955
955
|
};
|
|
956
956
|
function kt() {
|
|
957
957
|
return Ge(yt);
|
|
958
958
|
}
|
|
959
|
-
const pn = "_container_1e1th_1", hn = "_main_1e1th_7", gn = "_kundliHeaderNoBorder_1e1th_12",
|
|
959
|
+
const pn = "_container_1e1th_1", hn = "_main_1e1th_7", gn = "_kundliHeaderNoBorder_1e1th_12", bn = "_headerSeparator_1e1th_16", _n = "_langDropdownWrap_1e1th_21", vn = "_langTrigger_1e1th_25", yn = "_langIcon_1e1th_37", kn = "_langLabel_1e1th_44", xn = "_langMenu_1e1th_49", wn = "_langOption_1e1th_55", ie = {
|
|
960
960
|
container: pn,
|
|
961
961
|
main: hn,
|
|
962
962
|
kundliHeaderNoBorder: gn,
|
|
963
|
-
headerSeparator:
|
|
964
|
-
langDropdownWrap:
|
|
963
|
+
headerSeparator: bn,
|
|
964
|
+
langDropdownWrap: _n,
|
|
965
965
|
langTrigger: vn,
|
|
966
966
|
langIcon: yn,
|
|
967
967
|
langLabel: kn,
|
|
968
968
|
langMenu: xn,
|
|
969
969
|
langOption: wn
|
|
970
970
|
}, pe = (n) => {
|
|
971
|
-
const { priority: r,
|
|
972
|
-
return He.createElement("img", {
|
|
971
|
+
const { priority: r, fetchPriority: l, ...d } = n;
|
|
972
|
+
return He.createElement("img", {
|
|
973
|
+
...d,
|
|
974
|
+
decoding: "async",
|
|
975
|
+
...l && { fetchPriority: l }
|
|
976
|
+
});
|
|
973
977
|
};
|
|
974
978
|
function Pn(n) {
|
|
975
979
|
if (typeof window > "u" || !window.localStorage)
|
|
@@ -1012,7 +1016,7 @@ function Tn() {
|
|
|
1012
1016
|
function An(n) {
|
|
1013
1017
|
jn(xt, n);
|
|
1014
1018
|
}
|
|
1015
|
-
const Ve =
|
|
1019
|
+
const Ve = bt(null), Nn = {
|
|
1016
1020
|
fullName: "",
|
|
1017
1021
|
phone: "",
|
|
1018
1022
|
email: "",
|
|
@@ -1024,7 +1028,7 @@ const Ve = _t(null), Nn = {
|
|
|
1024
1028
|
locale: n,
|
|
1025
1029
|
showLanguageSelector: r = !0,
|
|
1026
1030
|
userId: l,
|
|
1027
|
-
isGlobal:
|
|
1031
|
+
isGlobal: d,
|
|
1028
1032
|
logoUrl: o,
|
|
1029
1033
|
reportImageUrl: p,
|
|
1030
1034
|
reportImagePriority: m,
|
|
@@ -1033,12 +1037,12 @@ const Ve = _t(null), Nn = {
|
|
|
1033
1037
|
onViewSampleReport: w,
|
|
1034
1038
|
ctaHref: k,
|
|
1035
1039
|
onCtaClick: h,
|
|
1036
|
-
onBack:
|
|
1040
|
+
onBack: b,
|
|
1037
1041
|
readMoreReviewsHref: C,
|
|
1038
1042
|
onProceed: x,
|
|
1039
1043
|
proceedHref: T,
|
|
1040
1044
|
originalPriceLabel: A,
|
|
1041
|
-
discountedPriceLabel:
|
|
1045
|
+
discountedPriceLabel: _,
|
|
1042
1046
|
discountPillLabel: v,
|
|
1043
1047
|
analytics: E,
|
|
1044
1048
|
onLocaleChange: D,
|
|
@@ -1063,7 +1067,7 @@ const Ve = _t(null), Nn = {
|
|
|
1063
1067
|
locale: n,
|
|
1064
1068
|
showLanguageSelector: r,
|
|
1065
1069
|
userId: l,
|
|
1066
|
-
isGlobal:
|
|
1070
|
+
isGlobal: d,
|
|
1067
1071
|
logoUrl: o,
|
|
1068
1072
|
reportImageUrl: p,
|
|
1069
1073
|
reportImagePriority: m,
|
|
@@ -1072,12 +1076,12 @@ const Ve = _t(null), Nn = {
|
|
|
1072
1076
|
onViewSampleReport: w,
|
|
1073
1077
|
ctaHref: k,
|
|
1074
1078
|
onCtaClick: h,
|
|
1075
|
-
onBack:
|
|
1079
|
+
onBack: b,
|
|
1076
1080
|
readMoreReviewsHref: C,
|
|
1077
1081
|
onProceed: x,
|
|
1078
1082
|
proceedHref: T,
|
|
1079
1083
|
originalPriceLabel: A,
|
|
1080
|
-
discountedPriceLabel:
|
|
1084
|
+
discountedPriceLabel: _,
|
|
1081
1085
|
discountPillLabel: v,
|
|
1082
1086
|
analytics: E,
|
|
1083
1087
|
onLocaleChange: D,
|
|
@@ -1087,7 +1091,7 @@ const Ve = _t(null), Nn = {
|
|
|
1087
1091
|
n,
|
|
1088
1092
|
r,
|
|
1089
1093
|
l,
|
|
1090
|
-
|
|
1094
|
+
d,
|
|
1091
1095
|
o,
|
|
1092
1096
|
p,
|
|
1093
1097
|
m,
|
|
@@ -1096,12 +1100,12 @@ const Ve = _t(null), Nn = {
|
|
|
1096
1100
|
w,
|
|
1097
1101
|
k,
|
|
1098
1102
|
h,
|
|
1099
|
-
|
|
1103
|
+
b,
|
|
1100
1104
|
C,
|
|
1101
1105
|
x,
|
|
1102
1106
|
T,
|
|
1103
1107
|
A,
|
|
1104
|
-
|
|
1108
|
+
_,
|
|
1105
1109
|
v,
|
|
1106
1110
|
E,
|
|
1107
1111
|
D,
|
|
@@ -1190,14 +1194,14 @@ const Cn = "_header_dbx4p_1", Sn = {
|
|
|
1190
1194
|
checkboxText: pa
|
|
1191
1195
|
};
|
|
1192
1196
|
let Le = null;
|
|
1193
|
-
const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Le || (Le = new Promise((l,
|
|
1197
|
+
const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Le || (Le = new Promise((l, d) => {
|
|
1194
1198
|
const o = document.querySelector(
|
|
1195
1199
|
'script[data-google-maps-places="true"]'
|
|
1196
1200
|
);
|
|
1197
1201
|
if (o) {
|
|
1198
1202
|
o.addEventListener("load", () => l()), o.addEventListener(
|
|
1199
1203
|
"error",
|
|
1200
|
-
() =>
|
|
1204
|
+
() => d(new Error("Failed to load Google Maps API"))
|
|
1201
1205
|
);
|
|
1202
1206
|
return;
|
|
1203
1207
|
}
|
|
@@ -1209,7 +1213,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1209
1213
|
return;
|
|
1210
1214
|
}
|
|
1211
1215
|
if (Date.now() - f > 2e3) {
|
|
1212
|
-
|
|
1216
|
+
d(
|
|
1213
1217
|
new Error(
|
|
1214
1218
|
"Google Maps loaded but Places library is unavailable. Check API key restrictions / enabled APIs."
|
|
1215
1219
|
)
|
|
@@ -1219,16 +1223,16 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1219
1223
|
window.setTimeout(g, 50);
|
|
1220
1224
|
};
|
|
1221
1225
|
g();
|
|
1222
|
-
}, p.onerror = () =>
|
|
1226
|
+
}, p.onerror = () => d(new Error("Failed to load Google Maps API")), document.head.appendChild(p);
|
|
1223
1227
|
}), Le), ga = (n) => {
|
|
1224
|
-
const { apiKey: r, language: l = "en", restrictCountry:
|
|
1228
|
+
const { apiKey: r, language: l = "en", restrictCountry: d } = n, [o, p] = K(!1), [m, f] = K([]), [g, w] = K(!1), [k, h] = K(null), b = U(null), C = U(null), x = U(null);
|
|
1225
1229
|
W(() => {
|
|
1226
1230
|
if (!r) {
|
|
1227
1231
|
p(!1), h(null);
|
|
1228
1232
|
return;
|
|
1229
1233
|
}
|
|
1230
1234
|
ha(r, l).then(() => {
|
|
1231
|
-
|
|
1235
|
+
b.current = new google.maps.places.AutocompleteService();
|
|
1232
1236
|
const v = document.createElement("div");
|
|
1233
1237
|
C.current = new google.maps.places.PlacesService(v), x.current = new google.maps.places.AutocompleteSessionToken(), p(!0), h(null);
|
|
1234
1238
|
}).catch((v) => {
|
|
@@ -1237,7 +1241,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1237
1241
|
}, [r, l]);
|
|
1238
1242
|
const T = je(
|
|
1239
1243
|
async (v) => {
|
|
1240
|
-
if (!v || v.length < 2 || !
|
|
1244
|
+
if (!v || v.length < 2 || !b.current) {
|
|
1241
1245
|
f([]);
|
|
1242
1246
|
return;
|
|
1243
1247
|
}
|
|
@@ -1248,9 +1252,9 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1248
1252
|
types: ["(cities)"],
|
|
1249
1253
|
sessionToken: x.current ?? void 0
|
|
1250
1254
|
};
|
|
1251
|
-
|
|
1255
|
+
d && (E.componentRestrictions = { country: d });
|
|
1252
1256
|
const D = await new Promise((S, M) => {
|
|
1253
|
-
|
|
1257
|
+
b.current.getPlacePredictions(
|
|
1254
1258
|
E,
|
|
1255
1259
|
(G, H) => {
|
|
1256
1260
|
H === google.maps.places.PlacesServiceStatus.OK && G ? S(G) : H === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? S([]) : M(new Error(`Places API error: ${H}`));
|
|
@@ -1273,7 +1277,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1273
1277
|
w(!1);
|
|
1274
1278
|
}
|
|
1275
1279
|
},
|
|
1276
|
-
[
|
|
1280
|
+
[d]
|
|
1277
1281
|
), A = je(
|
|
1278
1282
|
async (v) => {
|
|
1279
1283
|
if (!C.current) return null;
|
|
@@ -1310,7 +1314,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1310
1314
|
}
|
|
1311
1315
|
},
|
|
1312
1316
|
[]
|
|
1313
|
-
),
|
|
1317
|
+
), _ = je(() => f([]), []);
|
|
1314
1318
|
return {
|
|
1315
1319
|
isLoaded: o,
|
|
1316
1320
|
predictions: m,
|
|
@@ -1318,23 +1322,23 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1318
1322
|
loadError: k,
|
|
1319
1323
|
searchPlaces: T,
|
|
1320
1324
|
getPlaceDetails: A,
|
|
1321
|
-
clearPredictions:
|
|
1325
|
+
clearPredictions: _
|
|
1322
1326
|
};
|
|
1323
|
-
},
|
|
1327
|
+
}, ba = {}, Pe = {
|
|
1324
1328
|
time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
|
|
1325
1329
|
location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
|
|
1326
1330
|
date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
1327
1331
|
info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
|
|
1328
|
-
},
|
|
1332
|
+
}, _a = ({
|
|
1329
1333
|
t: n,
|
|
1330
1334
|
values: r,
|
|
1331
1335
|
onChange: l,
|
|
1332
|
-
analytics:
|
|
1336
|
+
analytics: d,
|
|
1333
1337
|
googleMapsApiKey: o,
|
|
1334
1338
|
className: p = ""
|
|
1335
1339
|
}) => {
|
|
1336
|
-
const m = re(), f = m?.config?.analytics ??
|
|
1337
|
-
|
|
1340
|
+
const m = re(), f = m?.config?.analytics ?? d, g = m?.config.isGlobal ?? !0, w = m?.config.imageComponent ?? pe, k = U({}), h = (a) => l({ ...r, ...a }), b = (a, u) => {
|
|
1341
|
+
u.trim() && !k.current[a] && (k.current[a] = !0, {
|
|
1338
1342
|
fullName: () => f?.trackNameSectionFilled?.(),
|
|
1339
1343
|
phone: () => f?.trackPhoneSectionFilled?.(),
|
|
1340
1344
|
email: () => f?.trackEmailSectionFilled?.(),
|
|
@@ -1344,26 +1348,26 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1344
1348
|
}[a]?.());
|
|
1345
1349
|
}, C = (a) => a.replace(/\D/g, "").slice(0, 10), x = U(null);
|
|
1346
1350
|
U(null);
|
|
1347
|
-
const T = U(null), A = U(0),
|
|
1348
|
-
const
|
|
1349
|
-
if (!
|
|
1350
|
-
const O = Number(
|
|
1351
|
-
return `${O % 12 === 0 ? 12 : O % 12}:${X} ${
|
|
1351
|
+
const T = U(null), A = U(0), _ = U(null), [v, E] = K(!1), [D, S] = K({ hour12: 12, minute: "00", meridiem: "AM" }), M = (a) => String(a).padStart(2, "0"), G = (a) => {
|
|
1352
|
+
const u = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1353
|
+
if (!u) return a;
|
|
1354
|
+
const O = Number(u[1]), X = u[2], _e = O >= 12 ? "PM" : "AM";
|
|
1355
|
+
return `${O % 12 === 0 ? 12 : O % 12}:${X} ${_e}`;
|
|
1352
1356
|
}, H = (a) => {
|
|
1353
|
-
const
|
|
1354
|
-
if (!
|
|
1355
|
-
const O = Number(
|
|
1356
|
-
return { hour12: O % 12 === 0 ? 12 : O % 12, minute: X, meridiem:
|
|
1357
|
+
const u = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1358
|
+
if (!u) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1359
|
+
const O = Number(u[1]), X = u[2], _e = O >= 12 ? "PM" : "AM";
|
|
1360
|
+
return { hour12: O % 12 === 0 ? 12 : O % 12, minute: X, meridiem: _e };
|
|
1357
1361
|
}, R = (a) => {
|
|
1358
|
-
const
|
|
1359
|
-
let X =
|
|
1362
|
+
const u = Math.min(12, Math.max(1, a.hour12)), O = /^([0-5]\d)$/.test(a.minute) ? a.minute : "00";
|
|
1363
|
+
let X = u % 12;
|
|
1360
1364
|
return a.meridiem === "PM" && (X += 12), `${M(X)}:${O}`;
|
|
1361
1365
|
}, q = U(null), [Y, Q] = K(!1), [F, L] = K(
|
|
1362
1366
|
null
|
|
1363
|
-
), J = o ??
|
|
1367
|
+
), J = o ?? ba?.VITE_GOOGLE_MAPS_API_KEY, ne = (r.birthPlace ?? "").trim(), ue = g ? void 0 : "in", ce = "en", {
|
|
1364
1368
|
predictions: he,
|
|
1365
1369
|
isSearching: ge,
|
|
1366
|
-
loadError:
|
|
1370
|
+
loadError: be,
|
|
1367
1371
|
searchPlaces: de,
|
|
1368
1372
|
clearPredictions: me
|
|
1369
1373
|
} = ga({
|
|
@@ -1372,8 +1376,8 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1372
1376
|
restrictCountry: ue
|
|
1373
1377
|
});
|
|
1374
1378
|
W(() => {
|
|
1375
|
-
const a = (
|
|
1376
|
-
q.current && (q.current.contains(
|
|
1379
|
+
const a = (u) => {
|
|
1380
|
+
q.current && (q.current.contains(u.target) || Q(!1));
|
|
1377
1381
|
};
|
|
1378
1382
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1379
1383
|
}, []), W(() => {
|
|
@@ -1388,32 +1392,32 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1388
1392
|
return () => window.clearTimeout(a);
|
|
1389
1393
|
}, [me, Y, ne, de]);
|
|
1390
1394
|
const ye = (a) => {
|
|
1391
|
-
const
|
|
1392
|
-
if (!(!
|
|
1393
|
-
if (document.activeElement ===
|
|
1394
|
-
|
|
1395
|
+
const u = a.current;
|
|
1396
|
+
if (!(!u || u.disabled)) {
|
|
1397
|
+
if (document.activeElement === u && T.current === u && Date.now() - A.current < 6e4) {
|
|
1398
|
+
u.blur();
|
|
1395
1399
|
return;
|
|
1396
1400
|
}
|
|
1397
|
-
if (typeof
|
|
1398
|
-
|
|
1401
|
+
if (typeof u.showPicker == "function") {
|
|
1402
|
+
u.showPicker(), T.current = u, A.current = Date.now();
|
|
1399
1403
|
return;
|
|
1400
1404
|
}
|
|
1401
|
-
|
|
1405
|
+
u.focus(), T.current = u, A.current = Date.now();
|
|
1402
1406
|
}
|
|
1403
1407
|
};
|
|
1404
1408
|
return W(() => {
|
|
1405
|
-
const a = (
|
|
1406
|
-
|
|
1409
|
+
const a = (u) => {
|
|
1410
|
+
_.current && (_.current.contains(u.target) || E(!1));
|
|
1407
1411
|
};
|
|
1408
1412
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1409
1413
|
}, []), W(() => {
|
|
1410
1414
|
const a = (O) => {
|
|
1411
1415
|
O.target?.closest?.("[data-info-tooltip]") == null && L(null);
|
|
1412
|
-
},
|
|
1416
|
+
}, u = (O) => {
|
|
1413
1417
|
O.key === "Escape" && L(null);
|
|
1414
1418
|
};
|
|
1415
|
-
return document.addEventListener("mousedown", a), document.addEventListener("keydown",
|
|
1416
|
-
document.removeEventListener("mousedown", a), document.removeEventListener("keydown",
|
|
1419
|
+
return document.addEventListener("mousedown", a), document.addEventListener("keydown", u), () => {
|
|
1420
|
+
document.removeEventListener("mousedown", a), document.removeEventListener("keydown", u);
|
|
1417
1421
|
};
|
|
1418
1422
|
}, []), /* @__PURE__ */ e.jsx(
|
|
1419
1423
|
"section",
|
|
@@ -1435,8 +1439,8 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1435
1439
|
value: r.fullName,
|
|
1436
1440
|
onFocus: () => f?.trackNameSectionClicked?.(),
|
|
1437
1441
|
onChange: (a) => {
|
|
1438
|
-
const
|
|
1439
|
-
h({ fullName:
|
|
1442
|
+
const u = a.target.value;
|
|
1443
|
+
h({ fullName: u }), b("fullName", u);
|
|
1440
1444
|
},
|
|
1441
1445
|
placeholder: n("formFullNamePlaceholder"),
|
|
1442
1446
|
autoComplete: "name"
|
|
@@ -1457,8 +1461,8 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1457
1461
|
value: r.phone ?? "",
|
|
1458
1462
|
onFocus: () => f?.trackPhoneSectionClicked?.(),
|
|
1459
1463
|
onChange: (a) => {
|
|
1460
|
-
const
|
|
1461
|
-
h({ phone: C(
|
|
1464
|
+
const u = a.target.value;
|
|
1465
|
+
h({ phone: C(u) }), b("phone", C(u));
|
|
1462
1466
|
},
|
|
1463
1467
|
placeholder: n("formPhonePlaceholder"),
|
|
1464
1468
|
autoComplete: "tel",
|
|
@@ -1541,8 +1545,8 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1541
1545
|
return `${a.getFullYear()}-${M(a.getMonth() + 1)}-${M(a.getDate())}`;
|
|
1542
1546
|
})(),
|
|
1543
1547
|
onChange: (a) => {
|
|
1544
|
-
const
|
|
1545
|
-
|
|
1548
|
+
const u = a.target.value, O = /* @__PURE__ */ new Date(), X = `${O.getFullYear()}-${M(O.getMonth() + 1)}-${M(O.getDate())}`;
|
|
1549
|
+
u && u > X || (h({ dateOfBirth: u }), b("dateOfBirth", u), T.current = null);
|
|
1546
1550
|
},
|
|
1547
1551
|
onFocus: () => f?.trackDobClicked?.(),
|
|
1548
1552
|
onClick: () => ye(x),
|
|
@@ -1612,7 +1616,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1612
1616
|
] })
|
|
1613
1617
|
] })
|
|
1614
1618
|
] }),
|
|
1615
|
-
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref:
|
|
1619
|
+
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref: _, children: [
|
|
1616
1620
|
/* @__PURE__ */ e.jsx(
|
|
1617
1621
|
"input",
|
|
1618
1622
|
{
|
|
@@ -1623,8 +1627,8 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1623
1627
|
readOnly: !0,
|
|
1624
1628
|
onFocus: () => f?.trackTimeClicked?.(),
|
|
1625
1629
|
onChange: (a) => {
|
|
1626
|
-
const
|
|
1627
|
-
h({ birthTime:
|
|
1630
|
+
const u = a.target.value;
|
|
1631
|
+
h({ birthTime: u }), b("birthTime", u);
|
|
1628
1632
|
},
|
|
1629
1633
|
disabled: r.birthTimeUnknown,
|
|
1630
1634
|
placeholder: "HH:MM AM",
|
|
@@ -1642,7 +1646,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1642
1646
|
disabled: r.birthTimeUnknown,
|
|
1643
1647
|
onMouseDown: (a) => a.preventDefault(),
|
|
1644
1648
|
onClick: (a) => {
|
|
1645
|
-
a.preventDefault(), a.stopPropagation(), !r.birthTimeUnknown && (S(H(r.birthTime || "12:00")), E((
|
|
1649
|
+
a.preventDefault(), a.stopPropagation(), !r.birthTimeUnknown && (S(H(r.birthTime || "12:00")), E((u) => !u));
|
|
1646
1650
|
},
|
|
1647
1651
|
children: /* @__PURE__ */ e.jsx(
|
|
1648
1652
|
w,
|
|
@@ -1670,12 +1674,12 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1670
1674
|
{
|
|
1671
1675
|
className: s.timePickerSelect,
|
|
1672
1676
|
value: D.hour12,
|
|
1673
|
-
onChange: (a) => S((
|
|
1674
|
-
...
|
|
1677
|
+
onChange: (a) => S((u) => ({
|
|
1678
|
+
...u,
|
|
1675
1679
|
hour12: Number(a.target.value)
|
|
1676
1680
|
})),
|
|
1677
1681
|
"aria-label": "Hour",
|
|
1678
|
-
children: Array.from({ length: 12 }, (a,
|
|
1682
|
+
children: Array.from({ length: 12 }, (a, u) => u + 1).map((a) => /* @__PURE__ */ e.jsx("option", { value: a, children: a }, a))
|
|
1679
1683
|
}
|
|
1680
1684
|
),
|
|
1681
1685
|
/* @__PURE__ */ e.jsx("span", { className: s.timePickerColon, children: ":" }),
|
|
@@ -1684,9 +1688,9 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1684
1688
|
{
|
|
1685
1689
|
className: s.timePickerSelect,
|
|
1686
1690
|
value: D.minute,
|
|
1687
|
-
onChange: (a) => S((
|
|
1691
|
+
onChange: (a) => S((u) => ({ ...u, minute: a.target.value })),
|
|
1688
1692
|
"aria-label": "Minute",
|
|
1689
|
-
children: Array.from({ length: 60 }, (a,
|
|
1693
|
+
children: Array.from({ length: 60 }, (a, u) => M(u)).map(
|
|
1690
1694
|
(a) => /* @__PURE__ */ e.jsx("option", { value: a, children: a }, a)
|
|
1691
1695
|
)
|
|
1692
1696
|
}
|
|
@@ -1729,7 +1733,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1729
1733
|
className: `${s.timePopoverBtn} ${s.timePopoverOk}`,
|
|
1730
1734
|
onClick: () => {
|
|
1731
1735
|
const a = R(D);
|
|
1732
|
-
h({ birthTime: a }),
|
|
1736
|
+
h({ birthTime: a }), b("birthTime", a), E(!1);
|
|
1733
1737
|
},
|
|
1734
1738
|
"aria-label": "OK",
|
|
1735
1739
|
children: /* @__PURE__ */ e.jsx(
|
|
@@ -1835,8 +1839,8 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1835
1839
|
type: "text",
|
|
1836
1840
|
value: r.birthPlace,
|
|
1837
1841
|
onChange: (a) => {
|
|
1838
|
-
const
|
|
1839
|
-
h({ birthPlace:
|
|
1842
|
+
const u = a.target.value;
|
|
1843
|
+
h({ birthPlace: u }), b("birthPlace", u), Q(!0);
|
|
1840
1844
|
},
|
|
1841
1845
|
onFocus: () => {
|
|
1842
1846
|
f?.trackPlaceOfBirthClicked?.(), Q(!0);
|
|
@@ -1872,7 +1876,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1872
1876
|
a.place_id
|
|
1873
1877
|
)) }),
|
|
1874
1878
|
Y && J && ge && /* @__PURE__ */ e.jsx("div", { className: s.suggestionsHint, children: "Loading…" }),
|
|
1875
|
-
Y && J && !ge && !!
|
|
1879
|
+
Y && J && !ge && !!be && /* @__PURE__ */ e.jsx("div", { className: s.suggestionsHint, children: be })
|
|
1876
1880
|
] })
|
|
1877
1881
|
] })
|
|
1878
1882
|
] }) })
|
|
@@ -1882,7 +1886,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1882
1886
|
t: n,
|
|
1883
1887
|
values: r,
|
|
1884
1888
|
onProceed: l,
|
|
1885
|
-
href:
|
|
1889
|
+
href: d,
|
|
1886
1890
|
analytics: o,
|
|
1887
1891
|
className: p = "",
|
|
1888
1892
|
originalPriceLabel: m,
|
|
@@ -1895,9 +1899,9 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1895
1899
|
if (!va(r.email.trim())) return !1;
|
|
1896
1900
|
} else if (!ya((r.phone ?? "").trim())) return !1;
|
|
1897
1901
|
return !(!r.dateOfBirth || !r.birthPlace.trim() || !r.birthTimeUnknown && !r.birthTime);
|
|
1898
|
-
}, [k, r]),
|
|
1902
|
+
}, [k, r]), b = k ? m ?? n("formOriginalPrice") : "₹1999", C = k ? f ?? n("formDiscountedPrice") : "₹499", x = g ?? n("formDiscountPill"), T = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1899
1903
|
n("formProceed"),
|
|
1900
|
-
/* @__PURE__ */ e.jsx("span", { className: ae.ctaStruck, children:
|
|
1904
|
+
/* @__PURE__ */ e.jsx("span", { className: ae.ctaStruck, children: b }),
|
|
1901
1905
|
" ",
|
|
1902
1906
|
C
|
|
1903
1907
|
] }), A = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
@@ -1906,9 +1910,9 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1906
1910
|
/* @__PURE__ */ e.jsx("span", { className: ae.pill, children: x })
|
|
1907
1911
|
] }),
|
|
1908
1912
|
/* @__PURE__ */ e.jsx(
|
|
1909
|
-
|
|
1913
|
+
_t,
|
|
1910
1914
|
{
|
|
1911
|
-
href:
|
|
1915
|
+
href: d,
|
|
1912
1916
|
disabled: !h,
|
|
1913
1917
|
onClick: () => {
|
|
1914
1918
|
o?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), l?.(r);
|
|
@@ -1923,7 +1927,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1923
1927
|
t: n,
|
|
1924
1928
|
languageSelector: r,
|
|
1925
1929
|
logoUrl: l = xa,
|
|
1926
|
-
className:
|
|
1930
|
+
className: d = ""
|
|
1927
1931
|
}) => {
|
|
1928
1932
|
const o = re(), p = o?.config.isGlobal ?? !0, m = r != null && !p;
|
|
1929
1933
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -1934,7 +1938,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1934
1938
|
imageComponent: o?.config.imageComponent,
|
|
1935
1939
|
languageSelector: r,
|
|
1936
1940
|
showLanguageSelector: m,
|
|
1937
|
-
className:
|
|
1941
|
+
className: d
|
|
1938
1942
|
}
|
|
1939
1943
|
);
|
|
1940
1944
|
}, wa = "_hero_1vvjv_1", Pa = "_title_1vvjv_5", ja = "_subtitle_1vvjv_10", Ta = "_topicTags_1vvjv_23", Aa = "_tag_1vvjv_27", Ee = {
|
|
@@ -1955,7 +1959,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1955
1959
|
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: Ee.title, children: n("heroTitle") }),
|
|
1956
1960
|
/* @__PURE__ */ e.jsx("p", { className: Ee.subtitle, children: n("heroSubtitle") }),
|
|
1957
1961
|
/* @__PURE__ */ e.jsx("div", { className: Ee.topicTags, role: "list", children: Na.map((l) => /* @__PURE__ */ e.jsx("span", { className: Ee.tag, role: "listitem", children: n(l) }, l)) })
|
|
1958
|
-
] }), Ca = "
|
|
1962
|
+
] }), Ca = "_section_12ub3_1", Sa = "_inner_12ub3_9", Ia = "_content_12ub3_14", Ra = "_headline_12ub3_18", Da = "_headlineLine_12ub3_23", La = "_headlinePill_12ub3_28", Oa = "_headlinePlain_12ub3_43", Fa = "_featureList_12ub3_54", $a = "_featureItem_12ub3_61", Ba = "_featureIcon_12ub3_66", Ua = "_reportImage_12ub3_73", Ma = "_reportImg_12ub3_83", z = {
|
|
1959
1963
|
section: Ca,
|
|
1960
1964
|
inner: Sa,
|
|
1961
1965
|
content: Ia,
|
|
@@ -1973,15 +1977,15 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1973
1977
|
"premiumFeature2",
|
|
1974
1978
|
"premiumFeature3",
|
|
1975
1979
|
"premiumFeature4"
|
|
1976
|
-
], Ha = "https://srm-cdn.a4b.io/yoda/
|
|
1980
|
+
], Ha = "https://srm-cdn.a4b.io/yoda/1772540593817.webp", Ga = ({
|
|
1977
1981
|
t: n,
|
|
1978
1982
|
reportImageUrl: r = Ha,
|
|
1979
1983
|
reportImagePriority: l,
|
|
1980
|
-
analytics:
|
|
1984
|
+
analytics: d,
|
|
1981
1985
|
className: o = ""
|
|
1982
1986
|
}) => {
|
|
1983
1987
|
const m = re()?.config.imageComponent ?? pe, f = () => {
|
|
1984
|
-
|
|
1988
|
+
d?.trackBannerClicked?.();
|
|
1985
1989
|
};
|
|
1986
1990
|
return /* @__PURE__ */ e.jsx(
|
|
1987
1991
|
"section",
|
|
@@ -2027,7 +2031,9 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2027
2031
|
width: 120,
|
|
2028
2032
|
height: 160,
|
|
2029
2033
|
priority: l,
|
|
2030
|
-
|
|
2034
|
+
fetchPriority: l ? "high" : void 0,
|
|
2035
|
+
loading: l ? "eager" : "lazy",
|
|
2036
|
+
sizes: "120px"
|
|
2031
2037
|
}
|
|
2032
2038
|
) })
|
|
2033
2039
|
] })
|
|
@@ -2037,7 +2043,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2037
2043
|
section: qa,
|
|
2038
2044
|
heading: Ya,
|
|
2039
2045
|
logoImg: Va
|
|
2040
|
-
}, za = "https://srm-cdn.a4b.io/yoda/
|
|
2046
|
+
}, za = "https://srm-cdn.a4b.io/yoda/1772540351620.webp", Qa = ({
|
|
2041
2047
|
t: n,
|
|
2042
2048
|
logoUrl: r = za,
|
|
2043
2049
|
className: l = ""
|
|
@@ -2070,13 +2076,13 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2070
2076
|
t: n,
|
|
2071
2077
|
locale: r = "en",
|
|
2072
2078
|
isGlobal: l = !0,
|
|
2073
|
-
className:
|
|
2079
|
+
className: d = ""
|
|
2074
2080
|
}) => {
|
|
2075
2081
|
const o = l ? "step3IntroGlobal" : "step3IntroDomestic";
|
|
2076
2082
|
return /* @__PURE__ */ e.jsxs(
|
|
2077
2083
|
"section",
|
|
2078
2084
|
{
|
|
2079
|
-
className: `${te.section} ${
|
|
2085
|
+
className: `${te.section} ${d}`,
|
|
2080
2086
|
"aria-labelledby": "steps-heading",
|
|
2081
2087
|
children: [
|
|
2082
2088
|
/* @__PURE__ */ e.jsx("p", { className: te.heading, children: n("yourThreeSteps") }),
|
|
@@ -2104,7 +2110,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2104
2110
|
}, sr = "_section_1jea1_1", lr = "_button_1jea1_7", ft = {
|
|
2105
2111
|
section: sr,
|
|
2106
2112
|
button: lr
|
|
2107
|
-
}, cr = "_backdrop_pekod_1", dr = "_modal_pekod_21", ur = "_header_pekod_40", mr = "_title_pekod_49", fr = "_closeBtn_pekod_56", pr = "_content_pekod_76", hr = "_pdfFrame_pekod_84", gr = "_pdfPages_pekod_92",
|
|
2113
|
+
}, cr = "_backdrop_pekod_1", dr = "_modal_pekod_21", ur = "_header_pekod_40", mr = "_title_pekod_49", fr = "_closeBtn_pekod_56", pr = "_content_pekod_76", hr = "_pdfFrame_pekod_84", gr = "_pdfPages_pekod_92", br = "_pdfError_pekod_97", _r = "_openInNewTab_pekod_123", oe = {
|
|
2108
2114
|
backdrop: cr,
|
|
2109
2115
|
modal: dr,
|
|
2110
2116
|
header: ur,
|
|
@@ -2113,8 +2119,8 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2113
2119
|
content: pr,
|
|
2114
2120
|
pdfFrame: hr,
|
|
2115
2121
|
pdfPages: gr,
|
|
2116
|
-
pdfError:
|
|
2117
|
-
openInNewTab:
|
|
2122
|
+
pdfError: br,
|
|
2123
|
+
openInNewTab: _r
|
|
2118
2124
|
};
|
|
2119
2125
|
function vr() {
|
|
2120
2126
|
typeof Se < "u" && Se.GlobalWorkerOptions && (Se.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${Se.version}/build/pdf.worker.min.js`);
|
|
@@ -2123,7 +2129,7 @@ const yr = ({
|
|
|
2123
2129
|
isOpen: n,
|
|
2124
2130
|
onClose: r,
|
|
2125
2131
|
title: l,
|
|
2126
|
-
pdfUrl:
|
|
2132
|
+
pdfUrl: d
|
|
2127
2133
|
}) => {
|
|
2128
2134
|
const o = U(null), [p, m] = K(!0), [f, g] = K(null);
|
|
2129
2135
|
return W(() => {
|
|
@@ -2135,18 +2141,18 @@ const yr = ({
|
|
|
2135
2141
|
document.removeEventListener("keydown", w), document.body.style.overflow = "";
|
|
2136
2142
|
};
|
|
2137
2143
|
}, [n, r]), W(() => {
|
|
2138
|
-
if (!n || !
|
|
2144
|
+
if (!n || !d || !o.current) return;
|
|
2139
2145
|
m(!0), g(null), o.current.innerHTML = "", (async () => {
|
|
2140
2146
|
try {
|
|
2141
2147
|
vr();
|
|
2142
|
-
const h = await Se.getDocument({ url:
|
|
2143
|
-
if (!
|
|
2144
|
-
const C =
|
|
2148
|
+
const h = await Se.getDocument({ url: d }).promise, b = o.current;
|
|
2149
|
+
if (!b) return;
|
|
2150
|
+
const C = b.clientWidth || 600, x = Math.min(C / 612, 2);
|
|
2145
2151
|
for (let T = 1; T <= h.numPages; T++) {
|
|
2146
|
-
const A = await h.getPage(T),
|
|
2147
|
-
v.height =
|
|
2152
|
+
const A = await h.getPage(T), _ = A.getViewport({ scale: x }), v = document.createElement("canvas");
|
|
2153
|
+
v.height = _.height, v.width = _.width, v.style.display = "block", v.style.margin = "0 auto 1rem", v.style.maxWidth = "100%";
|
|
2148
2154
|
const E = v.getContext("2d");
|
|
2149
|
-
E && await A.render({ canvasContext: E, viewport:
|
|
2155
|
+
E && await A.render({ canvasContext: E, viewport: _ }).promise, b.appendChild(v);
|
|
2150
2156
|
}
|
|
2151
2157
|
} catch (k) {
|
|
2152
2158
|
g(k instanceof Error ? k.message : "Failed to load PDF");
|
|
@@ -2154,7 +2160,7 @@ const yr = ({
|
|
|
2154
2160
|
m(!1);
|
|
2155
2161
|
}
|
|
2156
2162
|
})();
|
|
2157
|
-
}, [n,
|
|
2163
|
+
}, [n, d]), n ? /* @__PURE__ */ e.jsx(
|
|
2158
2164
|
"div",
|
|
2159
2165
|
{
|
|
2160
2166
|
className: oe.backdrop,
|
|
@@ -2185,14 +2191,14 @@ const yr = ({
|
|
|
2185
2191
|
/* @__PURE__ */ e.jsxs("div", { className: oe.pdfFrame, children: [
|
|
2186
2192
|
f && /* @__PURE__ */ e.jsxs("div", { className: oe.pdfError, children: [
|
|
2187
2193
|
/* @__PURE__ */ e.jsx("span", { children: f }),
|
|
2188
|
-
/* @__PURE__ */ e.jsx("a", { href:
|
|
2194
|
+
/* @__PURE__ */ e.jsx("a", { href: d, target: "_blank", rel: "noopener noreferrer", children: "Open in new tab instead" })
|
|
2189
2195
|
] }),
|
|
2190
2196
|
/* @__PURE__ */ e.jsx("div", { ref: o, className: oe.pdfPages })
|
|
2191
2197
|
] }),
|
|
2192
2198
|
/* @__PURE__ */ e.jsx(
|
|
2193
2199
|
"a",
|
|
2194
2200
|
{
|
|
2195
|
-
href:
|
|
2201
|
+
href: d,
|
|
2196
2202
|
target: "_blank",
|
|
2197
2203
|
rel: "noopener noreferrer",
|
|
2198
2204
|
className: oe.openInNewTab,
|
|
@@ -2209,13 +2215,13 @@ const yr = ({
|
|
|
2209
2215
|
t: n,
|
|
2210
2216
|
pdfUrl: r = kr,
|
|
2211
2217
|
onClick: l,
|
|
2212
|
-
analytics:
|
|
2218
|
+
analytics: d,
|
|
2213
2219
|
className: o = ""
|
|
2214
2220
|
}) => {
|
|
2215
2221
|
const [p, m] = K(!1), f = n("viewSampleReport"), g = n("sampleReportModalTitle"), w = () => {
|
|
2216
|
-
|
|
2222
|
+
d?.trackViewSampleReportClicked?.(), l?.(), m(!0);
|
|
2217
2223
|
}, k = () => {
|
|
2218
|
-
|
|
2224
|
+
d?.trackViewSampleReportClosed?.(), m(!1);
|
|
2219
2225
|
};
|
|
2220
2226
|
return /* @__PURE__ */ e.jsxs("section", { className: `${ft.section} ${o}`, children: [
|
|
2221
2227
|
/* @__PURE__ */ e.jsx("button", { type: "button", className: ft.button, onClick: w, children: f }),
|
|
@@ -2248,12 +2254,12 @@ const yr = ({
|
|
|
2248
2254
|
{ titleKey: "findMonthly", descKey: "findMonthlyDesc" },
|
|
2249
2255
|
{ titleKey: "findStrength", descKey: "findStrengthDesc" }
|
|
2250
2256
|
], Dr = [
|
|
2251
|
-
"https://srm-cdn.a4b.io/yoda/
|
|
2252
|
-
"https://srm-cdn.a4b.io/yoda/
|
|
2253
|
-
"https://srm-cdn.a4b.io/yoda/
|
|
2254
|
-
"https://srm-cdn.a4b.io/yoda/
|
|
2255
|
-
"https://srm-cdn.a4b.io/yoda/
|
|
2256
|
-
"https://srm-cdn.a4b.io/yoda/
|
|
2257
|
+
"https://srm-cdn.a4b.io/yoda/1772540409027.webp",
|
|
2258
|
+
"https://srm-cdn.a4b.io/yoda/1772540422082.webp",
|
|
2259
|
+
"https://srm-cdn.a4b.io/yoda/1772540435564.webp",
|
|
2260
|
+
"https://srm-cdn.a4b.io/yoda/1772540535757.webp",
|
|
2261
|
+
"https://srm-cdn.a4b.io/yoda/1772540558720.webp",
|
|
2262
|
+
"https://srm-cdn.a4b.io/yoda/1772540570912.webp"
|
|
2257
2263
|
], Lr = ({
|
|
2258
2264
|
t: n,
|
|
2259
2265
|
imageUrls: r = Dr,
|
|
@@ -2303,7 +2309,7 @@ const yr = ({
|
|
|
2303
2309
|
t: n,
|
|
2304
2310
|
testimonials: r,
|
|
2305
2311
|
readMoreHref: l,
|
|
2306
|
-
onReadMore:
|
|
2312
|
+
onReadMore: d,
|
|
2307
2313
|
className: o = "",
|
|
2308
2314
|
headingClassName: p = Hr.headingBold
|
|
2309
2315
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -2312,7 +2318,7 @@ const yr = ({
|
|
|
2312
2318
|
t: n,
|
|
2313
2319
|
testimonials: r,
|
|
2314
2320
|
readMoreHref: l,
|
|
2315
|
-
onReadMore:
|
|
2321
|
+
onReadMore: d,
|
|
2316
2322
|
className: o,
|
|
2317
2323
|
headingClassName: p
|
|
2318
2324
|
}
|
|
@@ -2342,18 +2348,18 @@ const yr = ({
|
|
|
2342
2348
|
t: n,
|
|
2343
2349
|
whatsAppGlobal: r,
|
|
2344
2350
|
whatsAppDomestic: l,
|
|
2345
|
-
email:
|
|
2351
|
+
email: d,
|
|
2346
2352
|
brandName: o,
|
|
2347
2353
|
className: p = ""
|
|
2348
2354
|
}) => {
|
|
2349
|
-
const f = re()?.config.isGlobal ?? !0, g = r ?? pt, w = l ?? ht, k =
|
|
2355
|
+
const f = re()?.config.isGlobal ?? !0, g = r ?? pt, w = l ?? ht, k = d ?? gt, h = f ? n("contactWhatsAppGlobal").replace(pt, g) : n("contactWhatsAppDomestic").replace(ht, w), b = n("contactEmail").replace(gt, k);
|
|
2350
2356
|
return /* @__PURE__ */ e.jsx(
|
|
2351
2357
|
en,
|
|
2352
2358
|
{
|
|
2353
2359
|
title: n("contactTitle"),
|
|
2354
2360
|
brandName: o ?? n("contactBrandName"),
|
|
2355
2361
|
whatsAppLine: h,
|
|
2356
|
-
emailLine:
|
|
2362
|
+
emailLine: b,
|
|
2357
2363
|
className: p
|
|
2358
2364
|
}
|
|
2359
2365
|
);
|
|
@@ -2377,7 +2383,7 @@ const yr = ({
|
|
|
2377
2383
|
t: n,
|
|
2378
2384
|
onCtaClick: r,
|
|
2379
2385
|
ctaHref: l,
|
|
2380
|
-
className:
|
|
2386
|
+
className: d = ""
|
|
2381
2387
|
}) => {
|
|
2382
2388
|
const o = re(), p = o?.config.isGlobal ?? !0, m = p ? o?.config.originalPriceLabel ?? n("ctaButtonStruck") : "₹1999", f = p ? o?.config.discountedPriceLabel ?? n("ctaButtonAfter") : "₹499", g = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2383
2389
|
n("ctaButtonBefore"),
|
|
@@ -2388,9 +2394,9 @@ const yr = ({
|
|
|
2388
2394
|
return /* @__PURE__ */ e.jsx(
|
|
2389
2395
|
vt,
|
|
2390
2396
|
{
|
|
2391
|
-
className:
|
|
2397
|
+
className: d,
|
|
2392
2398
|
marquee: /* @__PURE__ */ e.jsx(tn, { children: /* @__PURE__ */ e.jsx(ei, { t: n }) }),
|
|
2393
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2399
|
+
children: /* @__PURE__ */ e.jsx(_t, { href: l, onClick: r, children: g })
|
|
2394
2400
|
}
|
|
2395
2401
|
);
|
|
2396
2402
|
}, ni = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", ai = (n, r) => Ye[n]?.[r] ?? r, ri = {
|
|
@@ -2405,7 +2411,7 @@ const yr = ({
|
|
|
2405
2411
|
className: n = "",
|
|
2406
2412
|
locale: r,
|
|
2407
2413
|
showLanguageSelector: l = !0,
|
|
2408
|
-
onBack:
|
|
2414
|
+
onBack: d,
|
|
2409
2415
|
initialValues: o,
|
|
2410
2416
|
onProceed: p,
|
|
2411
2417
|
proceedHref: m,
|
|
@@ -2415,7 +2421,7 @@ const yr = ({
|
|
|
2415
2421
|
googleMapsApiKey: k = "",
|
|
2416
2422
|
analytics: h
|
|
2417
2423
|
}) => {
|
|
2418
|
-
const
|
|
2424
|
+
const b = re(), C = kt(), x = b !== null, T = x ? b.locale : r, A = T ?? C?.locale ?? "en", [_, v] = K(A), E = x ? b.locale : _, D = x ? b.setLocale : v, [S, M] = K(!1), G = U(null), H = U(T), R = U(
|
|
2419
2425
|
C?.locale
|
|
2420
2426
|
);
|
|
2421
2427
|
W(() => {
|
|
@@ -2433,15 +2439,15 @@ const yr = ({
|
|
|
2433
2439
|
...ri,
|
|
2434
2440
|
...o,
|
|
2435
2441
|
phone: o?.phone ?? ""
|
|
2436
|
-
}), F = x ?
|
|
2442
|
+
}), F = x ? b.formValues : Y, L = x ? b.setFormValues : Q, J = x ? b.goToPage : d, ne = x ? b.onProceed : p, ue = x ? b.config.proceedHref : m, ce = x ? b.config.originalPriceLabel : f, he = x ? b.config.discountedPriceLabel : g, ge = x ? b.config.discountPillLabel : w, be = x ? b.config.showLanguageSelector ?? !0 : l, de = (x ? b?.config?.analytics : h) ?? h;
|
|
2437
2443
|
W(() => {
|
|
2438
2444
|
if (!S) return;
|
|
2439
|
-
const a = (
|
|
2440
|
-
G.current && !G.current.contains(
|
|
2445
|
+
const a = (u) => {
|
|
2446
|
+
G.current && !G.current.contains(u.target) && M(!1);
|
|
2441
2447
|
};
|
|
2442
2448
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
2443
2449
|
}, [S]);
|
|
2444
|
-
const me =
|
|
2450
|
+
const me = b?.config.imageComponent ?? pe, ye = be ? /* @__PURE__ */ e.jsxs("div", { className: ie.langDropdownWrap, ref: G, children: [
|
|
2445
2451
|
/* @__PURE__ */ e.jsxs(
|
|
2446
2452
|
"button",
|
|
2447
2453
|
{
|
|
@@ -2499,7 +2505,7 @@ const yr = ({
|
|
|
2499
2505
|
Pt,
|
|
2500
2506
|
{
|
|
2501
2507
|
t: q,
|
|
2502
|
-
logoUrl: x ?
|
|
2508
|
+
logoUrl: x ? b.config.logoUrl : void 0,
|
|
2503
2509
|
languageSelector: ye,
|
|
2504
2510
|
className: ie.kundliHeaderNoBorder
|
|
2505
2511
|
}
|
|
@@ -2508,7 +2514,7 @@ const yr = ({
|
|
|
2508
2514
|
/* @__PURE__ */ e.jsxs("main", { className: ie.main, children: [
|
|
2509
2515
|
/* @__PURE__ */ e.jsx(In, { t: q, onBack: J }),
|
|
2510
2516
|
/* @__PURE__ */ e.jsx(
|
|
2511
|
-
|
|
2517
|
+
_a,
|
|
2512
2518
|
{
|
|
2513
2519
|
t: q,
|
|
2514
2520
|
values: F,
|
|
@@ -2537,9 +2543,9 @@ function le({
|
|
|
2537
2543
|
children: r,
|
|
2538
2544
|
onImpression: l
|
|
2539
2545
|
}) {
|
|
2540
|
-
const
|
|
2546
|
+
const d = U(null), o = U(!1);
|
|
2541
2547
|
return W(() => {
|
|
2542
|
-
const p =
|
|
2548
|
+
const p = d.current;
|
|
2543
2549
|
if (!p) return;
|
|
2544
2550
|
const m = new IntersectionObserver(
|
|
2545
2551
|
([f]) => {
|
|
@@ -2552,7 +2558,7 @@ function le({
|
|
|
2552
2558
|
}
|
|
2553
2559
|
);
|
|
2554
2560
|
return m.observe(p), () => m.disconnect();
|
|
2555
|
-
}, [n, l]), /* @__PURE__ */ e.jsx("div", { ref:
|
|
2561
|
+
}, [n, l]), /* @__PURE__ */ e.jsx("div", { ref: d, children: r });
|
|
2556
2562
|
}
|
|
2557
2563
|
function ci({ className: n }) {
|
|
2558
2564
|
const { view: r } = wt();
|
|
@@ -2561,33 +2567,33 @@ function ci({ className: n }) {
|
|
|
2561
2567
|
function di({ className: n }) {
|
|
2562
2568
|
const r = kt(), {
|
|
2563
2569
|
locale: l,
|
|
2564
|
-
setLocale:
|
|
2570
|
+
setLocale: d,
|
|
2565
2571
|
config: o,
|
|
2566
2572
|
goToForm: p
|
|
2567
2573
|
} = wt(), [m, f] = K(!1), g = U(null), w = U(o.locale), k = U(
|
|
2568
2574
|
r?.locale
|
|
2569
2575
|
);
|
|
2570
2576
|
W(() => {
|
|
2571
|
-
o.locale && w.current !== o.locale &&
|
|
2572
|
-
}, [o.locale,
|
|
2577
|
+
o.locale && w.current !== o.locale && d(o.locale), w.current = o.locale;
|
|
2578
|
+
}, [o.locale, d]), W(() => {
|
|
2573
2579
|
if (o.locale) return;
|
|
2574
|
-
const
|
|
2575
|
-
|
|
2576
|
-
}, [r?.locale, o.locale,
|
|
2580
|
+
const _ = r?.locale;
|
|
2581
|
+
_ && k.current !== _ && d(_), k.current = _;
|
|
2582
|
+
}, [r?.locale, o.locale, d]), W(() => {
|
|
2577
2583
|
if (!m) return;
|
|
2578
|
-
const
|
|
2584
|
+
const _ = (v) => {
|
|
2579
2585
|
g.current && !g.current.contains(v.target) && f(!1);
|
|
2580
2586
|
};
|
|
2581
|
-
return document.addEventListener("mousedown",
|
|
2587
|
+
return document.addEventListener("mousedown", _), () => document.removeEventListener("mousedown", _);
|
|
2582
2588
|
}, [m]);
|
|
2583
|
-
const h = (
|
|
2589
|
+
const h = (_) => si(l, _), b = o.showLanguageSelector ?? !0, C = o.imageComponent ?? pe, x = b ? /* @__PURE__ */ e.jsxs("div", { className: fe.langDropdownWrap, ref: g, children: [
|
|
2584
2590
|
/* @__PURE__ */ e.jsxs(
|
|
2585
2591
|
"button",
|
|
2586
2592
|
{
|
|
2587
2593
|
type: "button",
|
|
2588
2594
|
className: fe.langTrigger,
|
|
2589
2595
|
onClick: () => {
|
|
2590
|
-
o.analytics?.trackLanguageClickedFe?.({ language: l }), f((
|
|
2596
|
+
o.analytics?.trackLanguageClickedFe?.({ language: l }), f((_) => !_);
|
|
2591
2597
|
},
|
|
2592
2598
|
"aria-expanded": m,
|
|
2593
2599
|
"aria-haspopup": "listbox",
|
|
@@ -2616,29 +2622,29 @@ function di({ className: n }) {
|
|
|
2616
2622
|
role: "listbox",
|
|
2617
2623
|
"aria-labelledby": "kundli-lang",
|
|
2618
2624
|
"aria-activedescendant": `kundli-lang-option-${l}`,
|
|
2619
|
-
children: qe.map((
|
|
2625
|
+
children: qe.map((_) => /* @__PURE__ */ e.jsx(
|
|
2620
2626
|
"li",
|
|
2621
2627
|
{
|
|
2622
|
-
id: `kundli-lang-option-${
|
|
2628
|
+
id: `kundli-lang-option-${_}`,
|
|
2623
2629
|
role: "option",
|
|
2624
|
-
"aria-selected":
|
|
2630
|
+
"aria-selected": _ === l,
|
|
2625
2631
|
className: fe.langOption,
|
|
2626
2632
|
onClick: () => {
|
|
2627
|
-
o.analytics?.trackLanguageChangedFe?.({ newLanguage:
|
|
2633
|
+
o.analytics?.trackLanguageChangedFe?.({ newLanguage: _ }), d(_), f(!1);
|
|
2628
2634
|
},
|
|
2629
|
-
children: Oe[
|
|
2635
|
+
children: Oe[_]
|
|
2630
2636
|
},
|
|
2631
|
-
|
|
2637
|
+
_
|
|
2632
2638
|
))
|
|
2633
2639
|
}
|
|
2634
2640
|
)
|
|
2635
|
-
] }) : null, T = (
|
|
2636
|
-
const v =
|
|
2641
|
+
] }) : null, T = (_) => {
|
|
2642
|
+
const v = _.currentTarget.innerText?.trim() ?? h("ctaButtonAfter");
|
|
2637
2643
|
o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: v }), p(), o.onCtaClick?.();
|
|
2638
2644
|
}, A = je(
|
|
2639
|
-
(
|
|
2645
|
+
(_) => {
|
|
2640
2646
|
o.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
2641
|
-
section:
|
|
2647
|
+
section: _,
|
|
2642
2648
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
2643
2649
|
});
|
|
2644
2650
|
},
|
|
@@ -2687,7 +2693,7 @@ function di({ className: n }) {
|
|
|
2687
2693
|
Qa,
|
|
2688
2694
|
{
|
|
2689
2695
|
t: h,
|
|
2690
|
-
logoUrl: o.universityLogoUrls?.find((
|
|
2696
|
+
logoUrl: o.universityLogoUrls?.find((_) => !!_)
|
|
2691
2697
|
}
|
|
2692
2698
|
)
|
|
2693
2699
|
}
|
|
@@ -2778,7 +2784,7 @@ const gi = ({
|
|
|
2778
2784
|
className: n = "",
|
|
2779
2785
|
locale: r,
|
|
2780
2786
|
showLanguageSelector: l = !0,
|
|
2781
|
-
userId:
|
|
2787
|
+
userId: d,
|
|
2782
2788
|
isGlobal: o,
|
|
2783
2789
|
logoUrl: p,
|
|
2784
2790
|
reportImageUrl: m,
|
|
@@ -2787,12 +2793,12 @@ const gi = ({
|
|
|
2787
2793
|
onViewSampleReport: w,
|
|
2788
2794
|
ctaHref: k,
|
|
2789
2795
|
onCtaClick: h,
|
|
2790
|
-
readMoreReviewsHref:
|
|
2796
|
+
readMoreReviewsHref: b,
|
|
2791
2797
|
onProceed: C,
|
|
2792
2798
|
proceedHref: x,
|
|
2793
2799
|
originalPriceLabel: T,
|
|
2794
2800
|
discountedPriceLabel: A,
|
|
2795
|
-
discountPillLabel:
|
|
2801
|
+
discountPillLabel: _,
|
|
2796
2802
|
analytics: v,
|
|
2797
2803
|
onLocaleChange: E
|
|
2798
2804
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -2800,7 +2806,7 @@ const gi = ({
|
|
|
2800
2806
|
{
|
|
2801
2807
|
locale: r,
|
|
2802
2808
|
showLanguageSelector: l,
|
|
2803
|
-
userId:
|
|
2809
|
+
userId: d,
|
|
2804
2810
|
isGlobal: o,
|
|
2805
2811
|
logoUrl: p,
|
|
2806
2812
|
reportImageUrl: m,
|
|
@@ -2809,17 +2815,17 @@ const gi = ({
|
|
|
2809
2815
|
onViewSampleReport: w,
|
|
2810
2816
|
ctaHref: k,
|
|
2811
2817
|
onCtaClick: h,
|
|
2812
|
-
readMoreReviewsHref:
|
|
2818
|
+
readMoreReviewsHref: b,
|
|
2813
2819
|
onProceed: C,
|
|
2814
2820
|
proceedHref: x,
|
|
2815
2821
|
originalPriceLabel: T,
|
|
2816
2822
|
discountedPriceLabel: A,
|
|
2817
|
-
discountPillLabel:
|
|
2823
|
+
discountPillLabel: _,
|
|
2818
2824
|
analytics: v,
|
|
2819
2825
|
onLocaleChange: E,
|
|
2820
2826
|
children: /* @__PURE__ */ e.jsx(ci, { className: n })
|
|
2821
2827
|
}
|
|
2822
|
-
),
|
|
2828
|
+
), bi = {
|
|
2823
2829
|
banner_clicked_fe: "banner_clicked_fe",
|
|
2824
2830
|
primary_cta_clicked_fe: "primary_cta_clicked_fe",
|
|
2825
2831
|
language_changed_fe: "language_changed_fe",
|
|
@@ -2853,7 +2859,7 @@ const gi = ({
|
|
|
2853
2859
|
export {
|
|
2854
2860
|
pe as DefaultKundliImage,
|
|
2855
2861
|
fi as I18nProvider,
|
|
2856
|
-
|
|
2862
|
+
bi as KUNDLI_ANALYTICS_EVENT_NAMES,
|
|
2857
2863
|
xt as KUNDLI_LANGUAGE_STORAGE_KEY,
|
|
2858
2864
|
Ve as KundliContext,
|
|
2859
2865
|
ii as KundliForm,
|