@srimandir/kundli-generator 3.0.45 → 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
|
@@ -6,11 +6,11 @@ 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
11
|
var k, h = {}, b = null, C = null;
|
|
12
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)
|
|
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
15
|
return { $$typeof: r, type: f, key: b, ref: C, props: h, _owner: o.current };
|
|
16
16
|
}
|
|
@@ -20,7 +20,7 @@ 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;
|
|
@@ -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";
|
|
@@ -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)
|
|
@@ -203,7 +203,7 @@ function an() {
|
|
|
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
|
-
_e = !1,
|
|
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;
|
|
@@ -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;
|
|
@@ -950,8 +950,8 @@ const on = "_container_nm3gb_1", sn = "_main_nm3gb_6", ln = "_langDropdownWrap_n
|
|
|
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);
|
|
@@ -968,8 +968,12 @@ const pn = "_container_1e1th_1", hn = "_main_1e1th_7", gn = "_kundliHeaderNoBord
|
|
|
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)
|
|
@@ -1024,7 +1028,7 @@ const Ve = bt(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,
|
|
@@ -1063,7 +1067,7 @@ const Ve = bt(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,
|
|
@@ -1087,7 +1091,7 @@ const Ve = bt(null), Nn = {
|
|
|
1087
1091
|
n,
|
|
1088
1092
|
r,
|
|
1089
1093
|
l,
|
|
1090
|
-
|
|
1094
|
+
d,
|
|
1091
1095
|
o,
|
|
1092
1096
|
p,
|
|
1093
1097
|
m,
|
|
@@ -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,9 +1223,9 @@ 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);
|
|
@@ -1248,7 +1252,7 @@ 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,
|
|
@@ -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;
|
|
@@ -1329,12 +1333,12 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
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?.(),
|
|
@@ -1345,18 +1349,18 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1345
1349
|
}, C = (a) => a.replace(/\D/g, "").slice(0, 10), x = U(null);
|
|
1346
1350
|
U(null);
|
|
1347
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) => {
|
|
1348
|
-
const
|
|
1349
|
-
if (!
|
|
1350
|
-
const O = Number(
|
|
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";
|
|
1351
1355
|
return `${O % 12 === 0 ? 12 : O % 12}:${X} ${_e}`;
|
|
1352
1356
|
}, H = (a) => {
|
|
1353
|
-
const
|
|
1354
|
-
if (!
|
|
1355
|
-
const O = Number(
|
|
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";
|
|
1356
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
|
|
@@ -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
|
-
_.current && (_.current.contains(
|
|
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),
|
|
@@ -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
|
}
|
|
@@ -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);
|
|
@@ -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,
|
|
@@ -1908,7 +1912,7 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
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 = {
|
|
@@ -1977,11 +1981,11 @@ const ha = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
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
|
] })
|
|
@@ -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") }),
|
|
@@ -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,11 +2141,11 @@ 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:
|
|
2148
|
+
const h = await Se.getDocument({ url: d }).promise, b = o.current;
|
|
2143
2149
|
if (!b) return;
|
|
2144
2150
|
const C = b.clientWidth || 600, x = Math.min(C / 612, 2);
|
|
2145
2151
|
for (let T = 1; T <= h.numPages; T++) {
|
|
@@ -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 }),
|
|
@@ -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,11 +2348,11 @@ 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
|
{
|
|
@@ -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,7 +2394,7 @@ 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
2399
|
children: /* @__PURE__ */ e.jsx(_t, { href: l, onClick: r, children: g })
|
|
2394
2400
|
}
|
|
@@ -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,
|
|
@@ -2433,11 +2439,11 @@ const yr = ({
|
|
|
2433
2439
|
...ri,
|
|
2434
2440
|
...o,
|
|
2435
2441
|
phone: o?.phone ?? ""
|
|
2436
|
-
}), F = x ? b.formValues : Y, L = x ? b.setFormValues : Q, J = x ? b.goToPage :
|
|
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]);
|
|
@@ -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,19 +2567,19 @@ 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
2580
|
const _ = r?.locale;
|
|
2575
|
-
_ && k.current !== _ &&
|
|
2576
|
-
}, [r?.locale, o.locale,
|
|
2581
|
+
_ && k.current !== _ && d(_), k.current = _;
|
|
2582
|
+
}, [r?.locale, o.locale, d]), W(() => {
|
|
2577
2583
|
if (!m) return;
|
|
2578
2584
|
const _ = (v) => {
|
|
2579
2585
|
g.current && !g.current.contains(v.target) && f(!1);
|
|
@@ -2624,7 +2630,7 @@ function di({ className: n }) {
|
|
|
2624
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
2635
|
children: Oe[_]
|
|
2630
2636
|
},
|
|
@@ -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,
|
|
@@ -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,
|