kundli-generator 1.1.8 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/kundli-generator.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import kt, { createContext as yt, useContext as Ge, useState as W, useRef as K, useEffect as Y, useMemo as Fe, useCallback as Pe } from "react";
|
|
2
2
|
var De = { exports: {} }, Se = {};
|
|
3
3
|
var mt;
|
|
4
4
|
function en() {
|
|
5
5
|
if (mt) return Se;
|
|
6
6
|
mt = 1;
|
|
7
|
-
var n =
|
|
7
|
+
var n = kt, r = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, o = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, f = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
8
8
|
function p(m, l, v) {
|
|
9
|
-
var _, g = {},
|
|
10
|
-
v !== void 0 && (
|
|
9
|
+
var _, g = {}, x = null, T = null;
|
|
10
|
+
v !== void 0 && (x = "" + v), l.key !== void 0 && (x = "" + l.key), l.ref !== void 0 && (T = l.ref);
|
|
11
11
|
for (_ in l) d.call(l, _) && !f.hasOwnProperty(_) && (g[_] = l[_]);
|
|
12
12
|
if (m && m.defaultProps) for (_ in l = m.defaultProps, l) g[_] === void 0 && (g[_] = l[_]);
|
|
13
|
-
return { $$typeof: r, type: m, key:
|
|
13
|
+
return { $$typeof: r, type: m, key: x, ref: T, props: g, _owner: o.current };
|
|
14
14
|
}
|
|
15
15
|
return Se.Fragment = c, Se.jsx = p, Se.jsxs = p, Se;
|
|
16
16
|
}
|
|
@@ -18,11 +18,11 @@ var Ce = {};
|
|
|
18
18
|
var ht;
|
|
19
19
|
function tn() {
|
|
20
20
|
return ht || (ht = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
21
|
-
var n =
|
|
22
|
-
function
|
|
21
|
+
var n = kt, r = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), f = /* @__PURE__ */ Symbol.for("react.profiler"), p = /* @__PURE__ */ Symbol.for("react.provider"), m = /* @__PURE__ */ Symbol.for("react.context"), l = /* @__PURE__ */ Symbol.for("react.forward_ref"), v = /* @__PURE__ */ Symbol.for("react.suspense"), _ = /* @__PURE__ */ Symbol.for("react.suspense_list"), g = /* @__PURE__ */ Symbol.for("react.memo"), x = /* @__PURE__ */ Symbol.for("react.lazy"), T = /* @__PURE__ */ Symbol.for("react.offscreen"), j = Symbol.iterator, k = "@@iterator";
|
|
22
|
+
function y(t) {
|
|
23
23
|
if (t === null || typeof t != "object")
|
|
24
24
|
return null;
|
|
25
|
-
var i = j && t[j] || t[
|
|
25
|
+
var i = j && t[j] || t[k];
|
|
26
26
|
return typeof i == "function" ? i : null;
|
|
27
27
|
}
|
|
28
28
|
var L = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -46,7 +46,7 @@ function tn() {
|
|
|
46
46
|
var U = !1, S = !1, z = !1, O = !1, G = !1, D;
|
|
47
47
|
D = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
48
48
|
function H(t) {
|
|
49
|
-
return !!(typeof t == "string" || typeof t == "function" || t === d || t === f || G || t === o || t === v || t === _ || O || t === T || U || S || z || typeof t == "object" && t !== null && (t.$$typeof ===
|
|
49
|
+
return !!(typeof t == "string" || typeof t == "function" || t === d || t === f || G || t === o || t === v || t === _ || O || t === T || U || S || z || typeof t == "object" && t !== null && (t.$$typeof === x || t.$$typeof === g || t.$$typeof === p || t.$$typeof === m || t.$$typeof === l || // This needs to include all possible module reference object
|
|
50
50
|
// types supported by any Flight configuration anywhere since
|
|
51
51
|
// we don't know which Flight build this will end up being used
|
|
52
52
|
// with.
|
|
@@ -96,7 +96,7 @@ function tn() {
|
|
|
96
96
|
case g:
|
|
97
97
|
var b = t.displayName || null;
|
|
98
98
|
return b !== null ? b : M(t.type) || "Memo";
|
|
99
|
-
case
|
|
99
|
+
case x: {
|
|
100
100
|
var A = t, C = A._payload, P = A._init;
|
|
101
101
|
try {
|
|
102
102
|
return M(P(C));
|
|
@@ -107,14 +107,14 @@ function tn() {
|
|
|
107
107
|
}
|
|
108
108
|
return null;
|
|
109
109
|
}
|
|
110
|
-
var V = Object.assign, ee = 0, de,
|
|
110
|
+
var V = Object.assign, ee = 0, de, ye, he, fe, pe, _e, ie;
|
|
111
111
|
function ge() {
|
|
112
112
|
}
|
|
113
113
|
ge.__reactDisabledLog = !0;
|
|
114
114
|
function a() {
|
|
115
115
|
{
|
|
116
116
|
if (ee === 0) {
|
|
117
|
-
de = console.log,
|
|
117
|
+
de = console.log, ye = console.info, he = console.warn, fe = console.error, pe = console.group, _e = console.groupCollapsed, ie = console.groupEnd;
|
|
118
118
|
var t = {
|
|
119
119
|
configurable: !0,
|
|
120
120
|
enumerable: !0,
|
|
@@ -147,7 +147,7 @@ function tn() {
|
|
|
147
147
|
value: de
|
|
148
148
|
}),
|
|
149
149
|
info: V({}, t, {
|
|
150
|
-
value:
|
|
150
|
+
value: ye
|
|
151
151
|
}),
|
|
152
152
|
warn: V({}, t, {
|
|
153
153
|
value: he
|
|
@@ -285,7 +285,7 @@ function tn() {
|
|
|
285
285
|
return St(t.render);
|
|
286
286
|
case g:
|
|
287
287
|
return Le(t.type, i, u);
|
|
288
|
-
case
|
|
288
|
+
case x: {
|
|
289
289
|
var b = t, A = b._payload, C = b._init;
|
|
290
290
|
try {
|
|
291
291
|
return Le(C(A), i, u);
|
|
@@ -441,7 +441,7 @@ function tn() {
|
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
443
|
var qe = L.ReactCurrentOwner, it = L.ReactDebugCurrentFrame;
|
|
444
|
-
function
|
|
444
|
+
function xe(t) {
|
|
445
445
|
if (t) {
|
|
446
446
|
var i = t._owner, u = Le(t.type, t._source, i ? i.type : null);
|
|
447
447
|
it.setExtraStackFrame(u);
|
|
@@ -491,7 +491,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
491
491
|
return;
|
|
492
492
|
st[u] = !0;
|
|
493
493
|
var b = "";
|
|
494
|
-
t && t._owner && t._owner !== qe.current && (b = " It was passed a child from " + M(t._owner.type) + "."),
|
|
494
|
+
t && t._owner && t._owner !== qe.current && (b = " It was passed a child from " + M(t._owner.type) + "."), xe(t), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, b), xe(null);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
function lt(t, i) {
|
|
@@ -506,7 +506,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
506
506
|
else if (We(t))
|
|
507
507
|
t._store && (t._store.validated = !0);
|
|
508
508
|
else if (t) {
|
|
509
|
-
var A =
|
|
509
|
+
var A = y(t);
|
|
510
510
|
if (typeof A == "function" && A !== t.entries)
|
|
511
511
|
for (var C = A.call(t), P; !(P = C.next()).done; )
|
|
512
512
|
We(P.value) && ct(P.value, i);
|
|
@@ -543,11 +543,11 @@ Check the top-level render call using <` + u + ">.");
|
|
|
543
543
|
for (var i = Object.keys(t.props), u = 0; u < i.length; u++) {
|
|
544
544
|
var b = i[u];
|
|
545
545
|
if (b !== "children" && b !== "key") {
|
|
546
|
-
|
|
546
|
+
xe(t), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), xe(null);
|
|
547
547
|
break;
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
|
-
t.ref !== null && (
|
|
550
|
+
t.ref !== null && (xe(t), w("Invalid attribute `ref` supplied to `React.Fragment`."), xe(null));
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
var dt = {};
|
|
@@ -684,7 +684,7 @@ const an = "_container_nm3gb_1", rn = "_main_nm3gb_6", on = "_langDropdownWrap_n
|
|
|
684
684
|
whyUs2: "1,000+ partnered Top Astrologers",
|
|
685
685
|
whyUs3: "500+ temple partnerships you can trust",
|
|
686
686
|
whyUs4: "Personalised section-wise life analysis",
|
|
687
|
-
feedbackTitle: "Feedback from our users
|
|
687
|
+
feedbackTitle: "Feedback from our users",
|
|
688
688
|
feedbackTrust: "Trusted by over 5 million users worldwide",
|
|
689
689
|
feedbackRating: "4.9",
|
|
690
690
|
feedbackTestimonial1: "Detailed kundli report mila, life mein clarity mili.",
|
|
@@ -840,7 +840,7 @@ const an = "_container_nm3gb_1", rn = "_main_nm3gb_6", on = "_langDropdownWrap_n
|
|
|
840
840
|
whyUs2: "1,000+ शीर्ष ज्योतिषी भागीदार",
|
|
841
841
|
whyUs3: "500+ मंदिर भागीदारी",
|
|
842
842
|
whyUs4: "व्यक्तिगत खंडवार जीवन विश्लेषण",
|
|
843
|
-
feedbackTitle: "हमारे उपयोगकर्ताओं की
|
|
843
|
+
feedbackTitle: "हमारे उपयोगकर्ताओं की प्रतिक्रिया",
|
|
844
844
|
feedbackTrust: "दुनिया भर में 5 मिलियन से अधिक उपयोगकर्ताओं द्वारा विश्वसनीय",
|
|
845
845
|
feedbackRating: "4.9",
|
|
846
846
|
feedbackTestimonial1: "डिटेल्ड कुंडली रिपोर्ट मिली, जीवन में काफी क्लैरिटी आई।",
|
|
@@ -936,17 +936,17 @@ const an = "_container_nm3gb_1", rn = "_main_nm3gb_6", on = "_langDropdownWrap_n
|
|
|
936
936
|
formDiscountedPrice: "$25",
|
|
937
937
|
formPriceAria: "कीमत"
|
|
938
938
|
}
|
|
939
|
-
},
|
|
939
|
+
}, xt = yt(null), mo = ({
|
|
940
940
|
locale: n,
|
|
941
941
|
children: r
|
|
942
942
|
}) => {
|
|
943
943
|
const d = { locale: n, t: (o) => ze[n]?.[o] ?? o };
|
|
944
|
-
return /* @__PURE__ */ e.jsx(
|
|
944
|
+
return /* @__PURE__ */ e.jsx(xt.Provider, { value: d, children: r });
|
|
945
945
|
};
|
|
946
946
|
function jt() {
|
|
947
|
-
return Ge(
|
|
947
|
+
return Ge(xt);
|
|
948
948
|
}
|
|
949
|
-
const mn = "_container_1e1th_1", hn = "_main_1e1th_7", fn = "_kundliHeaderNoBorder_1e1th_12", pn = "_headerSeparator_1e1th_16", _n = "_langDropdownWrap_1e1th_21", gn = "_langTrigger_1e1th_25", bn = "_langIcon_1e1th_37", vn = "_langLabel_1e1th_44",
|
|
949
|
+
const mn = "_container_1e1th_1", hn = "_main_1e1th_7", fn = "_kundliHeaderNoBorder_1e1th_12", pn = "_headerSeparator_1e1th_16", _n = "_langDropdownWrap_1e1th_21", gn = "_langTrigger_1e1th_25", bn = "_langIcon_1e1th_37", vn = "_langLabel_1e1th_44", kn = "_langMenu_1e1th_49", yn = "_langOption_1e1th_55", oe = {
|
|
950
950
|
container: mn,
|
|
951
951
|
main: hn,
|
|
952
952
|
kundliHeaderNoBorder: fn,
|
|
@@ -955,10 +955,10 @@ const mn = "_container_1e1th_1", hn = "_main_1e1th_7", fn = "_kundliHeaderNoBord
|
|
|
955
955
|
langTrigger: gn,
|
|
956
956
|
langIcon: bn,
|
|
957
957
|
langLabel: vn,
|
|
958
|
-
langMenu:
|
|
959
|
-
langOption:
|
|
958
|
+
langMenu: kn,
|
|
959
|
+
langOption: yn
|
|
960
960
|
};
|
|
961
|
-
function
|
|
961
|
+
function xn(n) {
|
|
962
962
|
if (typeof window > "u" || !window.localStorage)
|
|
963
963
|
return null;
|
|
964
964
|
try {
|
|
@@ -974,14 +974,14 @@ function jn(n, r) {
|
|
|
974
974
|
} catch {
|
|
975
975
|
}
|
|
976
976
|
}
|
|
977
|
-
function
|
|
977
|
+
function ho(n) {
|
|
978
978
|
if (!(typeof window > "u" || !window.localStorage))
|
|
979
979
|
try {
|
|
980
980
|
window.localStorage.removeItem(n);
|
|
981
981
|
} catch {
|
|
982
982
|
}
|
|
983
983
|
}
|
|
984
|
-
function
|
|
984
|
+
function fo() {
|
|
985
985
|
if (typeof window > "u" || !window.localStorage)
|
|
986
986
|
return !1;
|
|
987
987
|
try {
|
|
@@ -993,13 +993,13 @@ function ho() {
|
|
|
993
993
|
}
|
|
994
994
|
const wt = "kundli_language";
|
|
995
995
|
function wn() {
|
|
996
|
-
const n =
|
|
996
|
+
const n = xn(wt);
|
|
997
997
|
return n && Ve.includes(n) ? n : null;
|
|
998
998
|
}
|
|
999
999
|
function Nn(n) {
|
|
1000
1000
|
jn(wt, n);
|
|
1001
1001
|
}
|
|
1002
|
-
const Qe =
|
|
1002
|
+
const Qe = yt(null), Pn = {
|
|
1003
1003
|
fullName: "",
|
|
1004
1004
|
phone: "",
|
|
1005
1005
|
email: "",
|
|
@@ -1020,11 +1020,11 @@ const Qe = xt(null), Pn = {
|
|
|
1020
1020
|
ctaHref: v,
|
|
1021
1021
|
onCtaClick: _,
|
|
1022
1022
|
onBack: g,
|
|
1023
|
-
readMoreReviewsHref:
|
|
1023
|
+
readMoreReviewsHref: x,
|
|
1024
1024
|
onProceed: T,
|
|
1025
1025
|
proceedHref: j,
|
|
1026
|
-
originalPriceLabel:
|
|
1027
|
-
discountedPriceLabel:
|
|
1026
|
+
originalPriceLabel: k,
|
|
1027
|
+
discountedPriceLabel: y,
|
|
1028
1028
|
discountPillLabel: L,
|
|
1029
1029
|
analytics: w,
|
|
1030
1030
|
onLocaleChange: E,
|
|
@@ -1057,11 +1057,11 @@ const Qe = xt(null), Pn = {
|
|
|
1057
1057
|
ctaHref: v,
|
|
1058
1058
|
onCtaClick: _,
|
|
1059
1059
|
onBack: g,
|
|
1060
|
-
readMoreReviewsHref:
|
|
1060
|
+
readMoreReviewsHref: x,
|
|
1061
1061
|
onProceed: T,
|
|
1062
1062
|
proceedHref: j,
|
|
1063
|
-
originalPriceLabel:
|
|
1064
|
-
discountedPriceLabel:
|
|
1063
|
+
originalPriceLabel: k,
|
|
1064
|
+
discountedPriceLabel: y,
|
|
1065
1065
|
discountPillLabel: L,
|
|
1066
1066
|
analytics: w,
|
|
1067
1067
|
onLocaleChange: E
|
|
@@ -1079,11 +1079,11 @@ const Qe = xt(null), Pn = {
|
|
|
1079
1079
|
v,
|
|
1080
1080
|
_,
|
|
1081
1081
|
g,
|
|
1082
|
-
|
|
1082
|
+
x,
|
|
1083
1083
|
T,
|
|
1084
1084
|
j,
|
|
1085
|
+
k,
|
|
1085
1086
|
y,
|
|
1086
|
-
x,
|
|
1087
1087
|
L,
|
|
1088
1088
|
w,
|
|
1089
1089
|
E
|
|
@@ -1117,7 +1117,7 @@ function Nt() {
|
|
|
1117
1117
|
throw new Error("useKundliContextOrThrow must be used within KundliProvider");
|
|
1118
1118
|
return n;
|
|
1119
1119
|
}
|
|
1120
|
-
const An = "_header_1414z_1", En = "_left_1414z_7", Sn = "_backBtn_1414z_11", Cn = "_titleWrap_1414z_21", In = "_title_1414z_21", Rn = "_subtitle_1414z_32", $n = "_backIcon_1414z_38",
|
|
1120
|
+
const An = "_header_1414z_1", En = "_left_1414z_7", Sn = "_backBtn_1414z_11", Cn = "_titleWrap_1414z_21", In = "_title_1414z_21", Rn = "_subtitle_1414z_32", $n = "_backIcon_1414z_38", ke = {
|
|
1121
1121
|
header: An,
|
|
1122
1122
|
left: En,
|
|
1123
1123
|
backBtn: Sn,
|
|
@@ -1128,7 +1128,7 @@ const An = "_header_1414z_1", En = "_left_1414z_7", Sn = "_backBtn_1414z_11", Cn
|
|
|
1128
1128
|
}, Ln = () => /* @__PURE__ */ e.jsx(
|
|
1129
1129
|
"svg",
|
|
1130
1130
|
{
|
|
1131
|
-
className:
|
|
1131
|
+
className: ke.backIcon,
|
|
1132
1132
|
viewBox: "0 0 24 24",
|
|
1133
1133
|
fill: "none",
|
|
1134
1134
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1148,20 +1148,20 @@ const An = "_header_1414z_1", En = "_left_1414z_7", Sn = "_backBtn_1414z_11", Cn
|
|
|
1148
1148
|
t: n,
|
|
1149
1149
|
onBack: r,
|
|
1150
1150
|
className: c = ""
|
|
1151
|
-
}) => /* @__PURE__ */ e.jsx("header", { className: `${
|
|
1151
|
+
}) => /* @__PURE__ */ e.jsx("header", { className: `${ke.header} ${c}`, children: /* @__PURE__ */ e.jsxs("div", { className: ke.left, children: [
|
|
1152
1152
|
/* @__PURE__ */ e.jsx(
|
|
1153
1153
|
"button",
|
|
1154
1154
|
{
|
|
1155
1155
|
type: "button",
|
|
1156
|
-
className:
|
|
1156
|
+
className: ke.backBtn,
|
|
1157
1157
|
onClick: r,
|
|
1158
1158
|
"aria-label": n("back"),
|
|
1159
1159
|
children: /* @__PURE__ */ e.jsx(Ln, {})
|
|
1160
1160
|
}
|
|
1161
1161
|
),
|
|
1162
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1163
|
-
/* @__PURE__ */ e.jsx("h1", { className:
|
|
1164
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1162
|
+
/* @__PURE__ */ e.jsxs("div", { className: ke.titleWrap, children: [
|
|
1163
|
+
/* @__PURE__ */ e.jsx("h1", { className: ke.title, children: n("formTitle") }),
|
|
1164
|
+
/* @__PURE__ */ e.jsx("p", { className: ke.subtitle, children: n("formSubtitle") })
|
|
1165
1165
|
] })
|
|
1166
1166
|
] }) }), Dn = "_wrap_n65ep_1", Bn = "_card_n65ep_5", Fn = "_cardInner_n65ep_12", Un = "_field_n65ep_16", Mn = "_labelRow_n65ep_20", qn = "_label_n65ep_20", Kn = "_req_n65ep_29", Wn = "_help_n65ep_33", Hn = "_infoBtn_n65ep_40", Yn = "_infoImg_n65ep_57", Gn = "_infoWrap_n65ep_63", Vn = "_tooltip_n65ep_69", zn = "_tooltipArrow_n65ep_85", Qn = "_inputWrap_n65ep_96", Jn = "_suggestions_n65ep_100", Xn = "_suggestionItem_n65ep_113", Zn = "_suggestionMain_n65ep_131", ea = "_suggestionSecondary_n65ep_137", ta = "_suggestionsHint_n65ep_142", na = "_timePopover_n65ep_157", aa = "_timePickerRow_n65ep_173", ra = "_timePickerSelect_n65ep_179", ia = "_timePickerColon_n65ep_193", oa = "_meridiemToggle_n65ep_200", sa = "_meridiemBtn_n65ep_208", ca = "_meridiemActive_n65ep_222", la = "_timePopoverActions_n65ep_227", da = "_timePopoverBtn_n65ep_233", ua = "_timePopoverOk_n65ep_252", ma = "_input_n65ep_96", ha = "_iconBtn_n65ep_296", fa = "_iconBtnInteractive_n65ep_302", pa = "_iconImg_n65ep_321", _a = "_checkboxRow_n65ep_327", ga = "_checkbox_n65ep_327", ba = "_checkboxText_n65ep_365", s = {
|
|
1167
1167
|
wrap: Dn,
|
|
@@ -1232,24 +1232,24 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1232
1232
|
};
|
|
1233
1233
|
l();
|
|
1234
1234
|
}, f.onerror = () => d(new Error("Failed to load Google Maps API")), document.head.appendChild(f);
|
|
1235
|
-
}), Be),
|
|
1236
|
-
const { apiKey: r, language: c = "en", restrictCountry: d } = n, [o, f] = W(!1), [p, m] = W([]), [l, v] = W(!1), [_, g] = W(null),
|
|
1235
|
+
}), Be), ka = (n) => {
|
|
1236
|
+
const { apiKey: r, language: c = "en", restrictCountry: d } = n, [o, f] = W(!1), [p, m] = W([]), [l, v] = W(!1), [_, g] = W(null), x = K(null), T = K(null), j = K(null);
|
|
1237
1237
|
Y(() => {
|
|
1238
1238
|
if (!r) {
|
|
1239
1239
|
f(!1), g(null);
|
|
1240
1240
|
return;
|
|
1241
1241
|
}
|
|
1242
1242
|
va(r, c).then(() => {
|
|
1243
|
-
|
|
1243
|
+
x.current = new google.maps.places.AutocompleteService();
|
|
1244
1244
|
const w = document.createElement("div");
|
|
1245
1245
|
T.current = new google.maps.places.PlacesService(w), j.current = new google.maps.places.AutocompleteSessionToken(), f(!0), g(null);
|
|
1246
1246
|
}).catch((w) => {
|
|
1247
1247
|
f(!1), g(w?.message || "Failed to load location service");
|
|
1248
1248
|
});
|
|
1249
1249
|
}, [r, c]);
|
|
1250
|
-
const
|
|
1250
|
+
const k = Pe(
|
|
1251
1251
|
async (w) => {
|
|
1252
|
-
if (!w || w.length < 2 || !
|
|
1252
|
+
if (!w || w.length < 2 || !x.current) {
|
|
1253
1253
|
m([]);
|
|
1254
1254
|
return;
|
|
1255
1255
|
}
|
|
@@ -1262,7 +1262,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1262
1262
|
};
|
|
1263
1263
|
d && (E.componentRestrictions = { country: d });
|
|
1264
1264
|
const U = await new Promise((S, z) => {
|
|
1265
|
-
|
|
1265
|
+
x.current.getPlacePredictions(
|
|
1266
1266
|
E,
|
|
1267
1267
|
(O, G) => {
|
|
1268
1268
|
G === google.maps.places.PlacesServiceStatus.OK && O ? S(O) : G === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? S([]) : z(new Error(`Places API error: ${G}`));
|
|
@@ -1286,7 +1286,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1286
1286
|
}
|
|
1287
1287
|
},
|
|
1288
1288
|
[d]
|
|
1289
|
-
),
|
|
1289
|
+
), y = Pe(
|
|
1290
1290
|
async (w) => {
|
|
1291
1291
|
if (!T.current) return null;
|
|
1292
1292
|
try {
|
|
@@ -1328,16 +1328,16 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1328
1328
|
predictions: p,
|
|
1329
1329
|
isSearching: l,
|
|
1330
1330
|
loadError: _,
|
|
1331
|
-
searchPlaces:
|
|
1332
|
-
getPlaceDetails:
|
|
1331
|
+
searchPlaces: k,
|
|
1332
|
+
getPlaceDetails: y,
|
|
1333
1333
|
clearPredictions: L
|
|
1334
1334
|
};
|
|
1335
|
-
},
|
|
1335
|
+
}, ya = {}, we = {
|
|
1336
1336
|
time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
|
|
1337
1337
|
location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
|
|
1338
1338
|
date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
1339
1339
|
info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
|
|
1340
|
-
},
|
|
1340
|
+
}, xa = ({
|
|
1341
1341
|
t: n,
|
|
1342
1342
|
values: r,
|
|
1343
1343
|
onChange: c,
|
|
@@ -1354,9 +1354,9 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1354
1354
|
birthTime: () => m?.trackTimeFilled?.(),
|
|
1355
1355
|
birthPlace: () => m?.trackPlaceOfBirthChosen?.()
|
|
1356
1356
|
}[a]?.());
|
|
1357
|
-
},
|
|
1357
|
+
}, x = (a) => a.replace(/\D/g, "").slice(0, 10), T = K(null);
|
|
1358
1358
|
K(null);
|
|
1359
|
-
const j = K(null),
|
|
1359
|
+
const j = K(null), k = K(0), y = K(null), [L, w] = W(!1), [E, U] = W({ hour12: 12, minute: "00", meridiem: "AM" }), S = (a) => String(a).padStart(2, "0"), z = (a) => {
|
|
1360
1360
|
const h = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1361
1361
|
if (!h) return a;
|
|
1362
1362
|
const $ = Number(h[1]), te = h[2], ue = $ >= 12 ? "PM" : "AM";
|
|
@@ -1372,15 +1372,15 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1372
1372
|
return a.meridiem === "PM" && (te += 12), `${S(te)}:${$}`;
|
|
1373
1373
|
}, D = K(null), [H, X] = W(!1), [B, M] = W(
|
|
1374
1374
|
null
|
|
1375
|
-
), V = o ??
|
|
1375
|
+
), V = o ?? ya?.VITE_GOOGLE_MAPS_API_KEY, ee = (r.birthPlace ?? "").trim(), de = l ? void 0 : "in", ye = "en", {
|
|
1376
1376
|
predictions: he,
|
|
1377
1377
|
isSearching: fe,
|
|
1378
1378
|
loadError: pe,
|
|
1379
1379
|
searchPlaces: _e,
|
|
1380
1380
|
clearPredictions: ie
|
|
1381
|
-
} =
|
|
1381
|
+
} = ka({
|
|
1382
1382
|
apiKey: V,
|
|
1383
|
-
language:
|
|
1383
|
+
language: ye,
|
|
1384
1384
|
restrictCountry: de
|
|
1385
1385
|
});
|
|
1386
1386
|
Y(() => {
|
|
@@ -1402,20 +1402,20 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1402
1402
|
const ge = (a) => {
|
|
1403
1403
|
const h = a.current;
|
|
1404
1404
|
if (!(!h || h.disabled)) {
|
|
1405
|
-
if (document.activeElement === h && j.current === h && Date.now() -
|
|
1405
|
+
if (document.activeElement === h && j.current === h && Date.now() - k.current < 6e4) {
|
|
1406
1406
|
h.blur();
|
|
1407
1407
|
return;
|
|
1408
1408
|
}
|
|
1409
1409
|
if (typeof h.showPicker == "function") {
|
|
1410
|
-
h.showPicker(), j.current = h,
|
|
1410
|
+
h.showPicker(), j.current = h, k.current = Date.now();
|
|
1411
1411
|
return;
|
|
1412
1412
|
}
|
|
1413
|
-
h.focus(), j.current = h,
|
|
1413
|
+
h.focus(), j.current = h, k.current = Date.now();
|
|
1414
1414
|
}
|
|
1415
1415
|
};
|
|
1416
1416
|
return Y(() => {
|
|
1417
1417
|
const a = (h) => {
|
|
1418
|
-
|
|
1418
|
+
y.current && (y.current.contains(h.target) || w(!1));
|
|
1419
1419
|
};
|
|
1420
1420
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1421
1421
|
}, []), Y(() => {
|
|
@@ -1470,7 +1470,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1470
1470
|
onFocus: () => m?.trackPhoneSectionClicked?.(),
|
|
1471
1471
|
onChange: (a) => {
|
|
1472
1472
|
const h = a.target.value;
|
|
1473
|
-
_({ phone:
|
|
1473
|
+
_({ phone: x(h) }), g("phone", x(h));
|
|
1474
1474
|
},
|
|
1475
1475
|
placeholder: n("formPhonePlaceholder"),
|
|
1476
1476
|
autoComplete: "tel",
|
|
@@ -1618,7 +1618,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1618
1618
|
] })
|
|
1619
1619
|
] })
|
|
1620
1620
|
] }),
|
|
1621
|
-
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref:
|
|
1621
|
+
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref: y, children: [
|
|
1622
1622
|
/* @__PURE__ */ e.jsx(
|
|
1623
1623
|
"input",
|
|
1624
1624
|
{
|
|
@@ -1732,7 +1732,8 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1732
1732
|
type: "button",
|
|
1733
1733
|
className: `${s.timePopoverBtn} ${s.timePopoverOk}`,
|
|
1734
1734
|
onClick: () => {
|
|
1735
|
-
|
|
1735
|
+
const a = G(E);
|
|
1736
|
+
_({ birthTime: a }), g("birthTime", a), w(!1);
|
|
1736
1737
|
},
|
|
1737
1738
|
"aria-label": "OK",
|
|
1738
1739
|
children: /* @__PURE__ */ e.jsx(
|
|
@@ -1877,7 +1878,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1877
1878
|
] }) })
|
|
1878
1879
|
}
|
|
1879
1880
|
);
|
|
1880
|
-
}, ja = "_footer_15g1k_1", wa = "_inner_15g1k_7", Na = "_badges_15g1k_11", Pa = "_marqueeTrack_15g1k_18", Ta = "_marqueeContent_15g1k_24", Aa = "_badge_15g1k_11", Ea = "_badgeIcon_15g1k_47", Sa = "_ctaWrap_15g1k_51", Ca = "_ctaStruck_15g1k_55", Ia = "_ctaButton_15g1k_61", Ra = "_offerRow_15g1k_81", $a = "_pill_15g1k_88",
|
|
1881
|
+
}, ja = "_footer_15g1k_1", wa = "_inner_15g1k_7", Na = "_badges_15g1k_11", Pa = "_marqueeTrack_15g1k_18", Ta = "_marqueeContent_15g1k_24", Aa = "_badge_15g1k_11", Ea = "_badgeIcon_15g1k_47", Sa = "_ctaWrap_15g1k_51", Ca = "_ctaStruck_15g1k_55", Ia = "_ctaButton_15g1k_61", Ra = "_offerRow_15g1k_81", $a = "_pill_15g1k_88", R = {
|
|
1881
1882
|
footer: ja,
|
|
1882
1883
|
inner: wa,
|
|
1883
1884
|
badges: Na,
|
|
@@ -1894,9 +1895,9 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1894
1895
|
marquee: n,
|
|
1895
1896
|
children: r,
|
|
1896
1897
|
className: c = ""
|
|
1897
|
-
}) => /* @__PURE__ */ e.jsx("footer", { className: `${
|
|
1898
|
-
n != null && /* @__PURE__ */ e.jsx("div", { className:
|
|
1899
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1898
|
+
}) => /* @__PURE__ */ e.jsx("footer", { className: `${R.footer} ${c}`, role: "contentinfo", children: /* @__PURE__ */ e.jsxs("div", { className: R.inner, children: [
|
|
1899
|
+
n != null && /* @__PURE__ */ e.jsx("div", { className: R.badges, "aria-hidden": !0, children: n }),
|
|
1900
|
+
/* @__PURE__ */ e.jsx("div", { className: R.ctaWrap, children: r })
|
|
1900
1901
|
] }) }), Tt = ({
|
|
1901
1902
|
children: n,
|
|
1902
1903
|
href: r,
|
|
@@ -1905,7 +1906,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1905
1906
|
className: o = "",
|
|
1906
1907
|
"aria-label": f
|
|
1907
1908
|
}) => {
|
|
1908
|
-
const p = `${
|
|
1909
|
+
const p = `${R.ctaButton} ${o}`.trim(), m = f != null ? { "aria-label": f } : {};
|
|
1909
1910
|
return r != null ? /* @__PURE__ */ e.jsx(
|
|
1910
1911
|
"a",
|
|
1911
1912
|
{
|
|
@@ -1946,15 +1947,15 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1946
1947
|
if (!La(r.email.trim())) return !1;
|
|
1947
1948
|
} else if (!Oa((r.phone ?? "").trim())) return !1;
|
|
1948
1949
|
return !(!r.dateOfBirth || !r.birthPlace.trim() || !r.birthTimeUnknown && !r.birthTime);
|
|
1949
|
-
}, [_, r]),
|
|
1950
|
+
}, [_, r]), x = _ ? p ?? n("formOriginalPrice") : "₹999", T = _ ? m ?? n("formDiscountedPrice") : "₹249", j = l ?? n("formDiscountPill"), k = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1950
1951
|
n("formProceed"),
|
|
1951
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1952
|
+
/* @__PURE__ */ e.jsx("span", { className: R.ctaStruck, children: x }),
|
|
1952
1953
|
" ",
|
|
1953
1954
|
T
|
|
1954
|
-
] }),
|
|
1955
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1955
|
+
] }), y = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1956
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.offerRow, children: [
|
|
1956
1957
|
/* @__PURE__ */ e.jsx("span", { children: n("formOfferEnding") }),
|
|
1957
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1958
|
+
/* @__PURE__ */ e.jsx("span", { className: R.pill, children: j })
|
|
1958
1959
|
] }),
|
|
1959
1960
|
/* @__PURE__ */ e.jsx(
|
|
1960
1961
|
Tt,
|
|
@@ -1965,11 +1966,11 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1965
1966
|
o?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), c?.(r);
|
|
1966
1967
|
},
|
|
1967
1968
|
"aria-label": n("formPriceAria"),
|
|
1968
|
-
children:
|
|
1969
|
+
children: k
|
|
1969
1970
|
}
|
|
1970
1971
|
)
|
|
1971
1972
|
] });
|
|
1972
|
-
return /* @__PURE__ */ e.jsx(Pt, { className: f, children:
|
|
1973
|
+
return /* @__PURE__ */ e.jsx(Pt, { className: f, children: y });
|
|
1973
1974
|
}, Ba = "_header_dbx4y_1", Fa = "_brand_dbx4y_7", Ua = "_logo_dbx4y_11", Ma = "_logoImg_dbx4y_15", qa = "_logoPlaceholder_dbx4y_21", Ka = "_brandText_dbx4y_29", Wa = "_brandName_dbx4y_33", Ha = "_rating_dbx4y_38", Ya = "_stars_dbx4y_44", Ga = "_langSlot_dbx4y_49", se = {
|
|
1974
1975
|
header: Ba,
|
|
1975
1976
|
brand: Fa,
|
|
@@ -2001,7 +2002,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2001
2002
|
] }),
|
|
2002
2003
|
p && /* @__PURE__ */ e.jsx("div", { className: se.langSlot, children: r })
|
|
2003
2004
|
] });
|
|
2004
|
-
}, za = "
|
|
2005
|
+
}, za = "_hero_okj8x_1", Qa = "_title_okj8x_5", Ja = "_subtitle_okj8x_10", Xa = "_topicTags_okj8x_23", Za = "_tag_okj8x_27", Ie = {
|
|
2005
2006
|
hero: za,
|
|
2006
2007
|
title: Qa,
|
|
2007
2008
|
subtitle: Ja,
|
|
@@ -2019,7 +2020,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2019
2020
|
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: Ie.title, children: n("heroTitle") }),
|
|
2020
2021
|
/* @__PURE__ */ e.jsx("p", { className: Ie.subtitle, children: n("heroSubtitle") }),
|
|
2021
2022
|
/* @__PURE__ */ e.jsx("div", { className: Ie.topicTags, role: "list", children: er.map((c) => /* @__PURE__ */ e.jsx("span", { className: Ie.tag, role: "listitem", children: n(c) }, c)) })
|
|
2022
|
-
] }), nr = "
|
|
2023
|
+
] }), nr = "_section_j2cgl_1", ar = "_inner_j2cgl_9", rr = "_content_j2cgl_14", ir = "_headline_j2cgl_18", or = "_headlineLine_j2cgl_23", sr = "_headlinePill_j2cgl_28", cr = "_headlinePlain_j2cgl_43", lr = "_featureList_j2cgl_54", dr = "_featureItem_j2cgl_61", ur = "_featureIcon_j2cgl_66", mr = "_reportImage_j2cgl_73", hr = "_reportImg_j2cgl_83", J = {
|
|
2023
2024
|
section: nr,
|
|
2024
2025
|
inner: ar,
|
|
2025
2026
|
content: rr,
|
|
@@ -2037,7 +2038,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2037
2038
|
"premiumFeature2",
|
|
2038
2039
|
"premiumFeature3",
|
|
2039
2040
|
"premiumFeature4"
|
|
2040
|
-
], _r = "https://srm-cdn.a4b.io/yoda/
|
|
2041
|
+
], _r = "https://srm-cdn.a4b.io/yoda/1770710060606.png", gr = ({
|
|
2041
2042
|
t: n,
|
|
2042
2043
|
reportImageUrl: r = _r,
|
|
2043
2044
|
analytics: c,
|
|
@@ -2085,13 +2086,13 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2085
2086
|
] })
|
|
2086
2087
|
}
|
|
2087
2088
|
);
|
|
2088
|
-
}, br = "_section_1g93x_1", vr = "_heading_1g93x_6",
|
|
2089
|
+
}, br = "_section_1g93x_1", vr = "_heading_1g93x_6", kr = "_logoImg_1g93x_10", Ye = {
|
|
2089
2090
|
section: br,
|
|
2090
2091
|
heading: vr,
|
|
2091
|
-
logoImg:
|
|
2092
|
-
},
|
|
2092
|
+
logoImg: kr
|
|
2093
|
+
}, yr = "https://srm-cdn.a4b.io/yoda/1770365699409.png", xr = ({
|
|
2093
2094
|
t: n,
|
|
2094
|
-
logoUrl: r =
|
|
2095
|
+
logoUrl: r = yr,
|
|
2095
2096
|
className: c = ""
|
|
2096
2097
|
}) => /* @__PURE__ */ e.jsxs("section", { className: `${Ye.section} ${c}`, "aria-labelledby": "certified-heading", children: [
|
|
2097
2098
|
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: Ye.heading, children: n("certifiedBy") }),
|
|
@@ -2223,7 +2224,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2223
2224
|
}
|
|
2224
2225
|
)
|
|
2225
2226
|
] });
|
|
2226
|
-
}, Hr = "
|
|
2227
|
+
}, Hr = "_section_g1kup_1", Yr = "_heading_g1kup_5", Gr = "_list_g1kup_10", Vr = "_item_g1kup_17", zr = "_imageWrap_g1kup_21", Qr = "_image_g1kup_21", Jr = "_imagePlaceholder_g1kup_30", Xr = "_text_g1kup_36", Zr = "_itemTitle_g1kup_40", ei = "_itemDesc_g1kup_51", ce = {
|
|
2227
2228
|
section: Hr,
|
|
2228
2229
|
heading: Yr,
|
|
2229
2230
|
list: Gr,
|
|
@@ -2278,7 +2279,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2278
2279
|
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: Re.heading, children: n("whyUsTitle") }),
|
|
2279
2280
|
/* @__PURE__ */ e.jsx("p", { className: Re.subtitle, children: n("whyUsSubtitle") }),
|
|
2280
2281
|
/* @__PURE__ */ e.jsx("ul", { className: Re.list, children: li.map((c) => /* @__PURE__ */ e.jsx("li", { className: Re.item, children: n(c) }, c)) })
|
|
2281
|
-
] }), ui = "
|
|
2282
|
+
] }), ui = "_section_3cm7k_1", mi = "_heading_3cm7k_5", hi = "_trustLine_3cm7k_10", fi = "_star_3cm7k_15", pi = "_ratingNum_3cm7k_20", _i = "_trustText_3cm7k_24", gi = "_cardList_3cm7k_28", bi = "_card_3cm7k_28", vi = "_quote_3cm7k_37", ki = "_author_3cm7k_42", yi = "_avatar_3cm7k_46", xi = "_avatarPlaceholder_3cm7k_50", ji = "_authorInfo_3cm7k_55", wi = "_authorName_3cm7k_59", Ni = "_stars_3cm7k_64", Pi = "_readMoreWrap_3cm7k_69", Ti = "_toggleBtn_3cm7k_73", Ai = "_readMore_3cm7k_69", Ei = "_arrow_3cm7k_93", Si = "_dot_3cm7k_97", I = {
|
|
2282
2283
|
section: ui,
|
|
2283
2284
|
heading: mi,
|
|
2284
2285
|
trustLine: hi,
|
|
@@ -2288,31 +2289,32 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2288
2289
|
cardList: gi,
|
|
2289
2290
|
card: bi,
|
|
2290
2291
|
quote: vi,
|
|
2291
|
-
author:
|
|
2292
|
-
avatar:
|
|
2293
|
-
avatarPlaceholder:
|
|
2292
|
+
author: ki,
|
|
2293
|
+
avatar: yi,
|
|
2294
|
+
avatarPlaceholder: xi,
|
|
2294
2295
|
authorInfo: ji,
|
|
2295
2296
|
authorName: wi,
|
|
2296
2297
|
stars: Ni,
|
|
2297
2298
|
readMoreWrap: Pi,
|
|
2298
2299
|
toggleBtn: Ti,
|
|
2299
2300
|
readMore: Ai,
|
|
2300
|
-
arrow: Ei
|
|
2301
|
-
|
|
2301
|
+
arrow: Ei,
|
|
2302
|
+
dot: Si
|
|
2303
|
+
}, _t = 3, Ci = (n) => {
|
|
2302
2304
|
const c = /* @__PURE__ */ new Map();
|
|
2303
2305
|
for (let l = 1; l <= 15; l += 1) {
|
|
2304
2306
|
const v = `feedbackTestimonial${l}`, _ = n(v);
|
|
2305
2307
|
if (!_ || _ === v) continue;
|
|
2306
|
-
const g = `feedbackAuthor${l}`,
|
|
2307
|
-
const
|
|
2308
|
-
return
|
|
2308
|
+
const g = `feedbackAuthor${l}`, x = (() => {
|
|
2309
|
+
const k = n(g);
|
|
2310
|
+
return k && k !== g ? k : n("guest");
|
|
2309
2311
|
})(), T = `feedbackAuthor${l}AvatarUrl`, j = (() => {
|
|
2310
|
-
const
|
|
2311
|
-
return
|
|
2312
|
+
const k = n(T);
|
|
2313
|
+
return k && k !== T ? k : void 0;
|
|
2312
2314
|
})();
|
|
2313
2315
|
c.set(l, {
|
|
2314
2316
|
quote: _,
|
|
2315
|
-
authorName:
|
|
2317
|
+
authorName: x,
|
|
2316
2318
|
authorAvatarUrl: j,
|
|
2317
2319
|
rating: 5
|
|
2318
2320
|
});
|
|
@@ -2333,102 +2335,103 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2333
2335
|
}
|
|
2334
2336
|
}
|
|
2335
2337
|
return f;
|
|
2336
|
-
},
|
|
2338
|
+
}, Ii = ({
|
|
2337
2339
|
t: n,
|
|
2338
2340
|
testimonials: r,
|
|
2339
2341
|
readMoreHref: c,
|
|
2340
2342
|
onReadMore: d,
|
|
2341
2343
|
className: o = ""
|
|
2342
2344
|
}) => {
|
|
2343
|
-
const f = r ?? Fe(() =>
|
|
2345
|
+
const f = r ?? Fe(() => Ci(n), [n]), [p, m] = W(!1), l = f.length > _t, v = l && !p ? f.slice(0, _t) : f;
|
|
2344
2346
|
return /* @__PURE__ */ e.jsxs(
|
|
2345
2347
|
"section",
|
|
2346
2348
|
{
|
|
2347
|
-
className: `${
|
|
2349
|
+
className: `${I.section} ${o}`,
|
|
2348
2350
|
"aria-labelledby": "feedback-heading",
|
|
2349
2351
|
children: [
|
|
2350
|
-
/* @__PURE__ */ e.jsx("h2", { id: "feedback-heading", className:
|
|
2351
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
2352
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2353
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2354
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2352
|
+
/* @__PURE__ */ e.jsx("h2", { id: "feedback-heading", className: I.heading, children: n("feedbackTitle") }),
|
|
2353
|
+
/* @__PURE__ */ e.jsxs("p", { className: I.trustLine, children: [
|
|
2354
|
+
/* @__PURE__ */ e.jsx("span", { className: I.star, "aria-hidden": !0, children: "★" }),
|
|
2355
|
+
/* @__PURE__ */ e.jsx("span", { className: I.ratingNum, children: n("feedbackRating") }),
|
|
2356
|
+
/* @__PURE__ */ e.jsx("span", { className: I.dot, "aria-hidden": !0 }),
|
|
2357
|
+
/* @__PURE__ */ e.jsx("span", { className: I.trustText, children: n("feedbackTrust") })
|
|
2355
2358
|
] }),
|
|
2356
|
-
/* @__PURE__ */ e.jsx("ul", { className:
|
|
2357
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2358
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2359
|
+
/* @__PURE__ */ e.jsx("ul", { className: I.cardList, children: v.map((_, g) => /* @__PURE__ */ e.jsxs("li", { className: I.card, children: [
|
|
2360
|
+
/* @__PURE__ */ e.jsx("p", { className: I.quote, children: _.quote }),
|
|
2361
|
+
/* @__PURE__ */ e.jsxs("div", { className: I.author, children: [
|
|
2359
2362
|
_.authorAvatarUrl ? /* @__PURE__ */ e.jsx(
|
|
2360
2363
|
"img",
|
|
2361
2364
|
{
|
|
2362
2365
|
src: _.authorAvatarUrl,
|
|
2363
2366
|
alt: "",
|
|
2364
|
-
className:
|
|
2367
|
+
className: I.avatar,
|
|
2365
2368
|
width: 40,
|
|
2366
2369
|
height: 40
|
|
2367
2370
|
}
|
|
2368
|
-
) : /* @__PURE__ */ e.jsx("div", { className:
|
|
2369
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2370
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2371
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2371
|
+
) : /* @__PURE__ */ e.jsx("div", { className: I.avatarPlaceholder, "aria-hidden": !0 }),
|
|
2372
|
+
/* @__PURE__ */ e.jsxs("div", { className: I.authorInfo, children: [
|
|
2373
|
+
/* @__PURE__ */ e.jsx("span", { className: I.authorName, children: _.authorName }),
|
|
2374
|
+
/* @__PURE__ */ e.jsx("span", { className: I.stars, "aria-hidden": !0, children: "★".repeat(_.rating ?? 5) })
|
|
2372
2375
|
] })
|
|
2373
2376
|
] })
|
|
2374
2377
|
] }, g)) }),
|
|
2375
|
-
l && /* @__PURE__ */ e.jsx("div", { className:
|
|
2378
|
+
l && /* @__PURE__ */ e.jsx("div", { className: I.readMoreWrap, children: /* @__PURE__ */ e.jsxs(
|
|
2376
2379
|
"button",
|
|
2377
2380
|
{
|
|
2378
2381
|
type: "button",
|
|
2379
|
-
className:
|
|
2382
|
+
className: I.toggleBtn,
|
|
2380
2383
|
onClick: () => m((_) => !_),
|
|
2381
2384
|
"aria-expanded": p,
|
|
2382
2385
|
children: [
|
|
2383
2386
|
n(p ? "readLess" : "readMoreReviews"),
|
|
2384
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2387
|
+
/* @__PURE__ */ e.jsx("span", { className: I.arrow, "aria-hidden": !0, children: "›" })
|
|
2385
2388
|
]
|
|
2386
2389
|
}
|
|
2387
2390
|
) }),
|
|
2388
|
-
(c || d) && !l && /* @__PURE__ */ e.jsx("div", { className:
|
|
2391
|
+
(c || d) && !l && /* @__PURE__ */ e.jsx("div", { className: I.readMoreWrap, children: c ? /* @__PURE__ */ e.jsxs(
|
|
2389
2392
|
"a",
|
|
2390
2393
|
{
|
|
2391
2394
|
href: c,
|
|
2392
|
-
className:
|
|
2395
|
+
className: I.readMore,
|
|
2393
2396
|
target: "_blank",
|
|
2394
2397
|
rel: "noopener noreferrer",
|
|
2395
2398
|
children: [
|
|
2396
2399
|
n("readMoreReviews"),
|
|
2397
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2400
|
+
/* @__PURE__ */ e.jsx("span", { className: I.arrow, "aria-hidden": !0, children: "›" })
|
|
2398
2401
|
]
|
|
2399
2402
|
}
|
|
2400
2403
|
) : /* @__PURE__ */ e.jsxs(
|
|
2401
2404
|
"button",
|
|
2402
2405
|
{
|
|
2403
2406
|
type: "button",
|
|
2404
|
-
className:
|
|
2407
|
+
className: I.readMore,
|
|
2405
2408
|
onClick: () => d?.(),
|
|
2406
2409
|
children: [
|
|
2407
2410
|
n("readMoreReviews"),
|
|
2408
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2411
|
+
/* @__PURE__ */ e.jsx("span", { className: I.arrow, "aria-hidden": !0, children: "›" })
|
|
2409
2412
|
]
|
|
2410
2413
|
}
|
|
2411
2414
|
) })
|
|
2412
2415
|
]
|
|
2413
2416
|
}
|
|
2414
2417
|
);
|
|
2415
|
-
},
|
|
2416
|
-
section:
|
|
2417
|
-
heading:
|
|
2418
|
-
accordion:
|
|
2419
|
-
item:
|
|
2420
|
-
itemOpen:
|
|
2421
|
-
question:
|
|
2422
|
-
chevron:
|
|
2423
|
-
chevronOpen:
|
|
2424
|
-
answerWrap:
|
|
2425
|
-
answerOpen:
|
|
2426
|
-
answer:
|
|
2427
|
-
},
|
|
2418
|
+
}, Ri = "_section_1scfq_1", $i = "_heading_1scfq_6", Li = "_accordion_1scfq_11", Oi = "_item_1scfq_15", Di = "_itemOpen_1scfq_21", Bi = "_question_1scfq_25", Fi = "_chevron_1scfq_40", Ui = "_chevronOpen_1scfq_47", Mi = "_answerWrap_1scfq_51", qi = "_answerOpen_1scfq_56", Ki = "_answer_1scfq_51", re = {
|
|
2419
|
+
section: Ri,
|
|
2420
|
+
heading: $i,
|
|
2421
|
+
accordion: Li,
|
|
2422
|
+
item: Oi,
|
|
2423
|
+
itemOpen: Di,
|
|
2424
|
+
question: Bi,
|
|
2425
|
+
chevron: Fi,
|
|
2426
|
+
chevronOpen: Ui,
|
|
2427
|
+
answerWrap: Mi,
|
|
2428
|
+
answerOpen: qi,
|
|
2429
|
+
answer: Ki
|
|
2430
|
+
}, Wi = [
|
|
2428
2431
|
{ qKey: "faqQ1", aKey: "faqA1" },
|
|
2429
2432
|
{ qKey: "faqQ2", aKey: "faqA2" },
|
|
2430
2433
|
{ qKey: "faqQ3", aKey: "faqA3" }
|
|
2431
|
-
],
|
|
2434
|
+
], Hi = ({
|
|
2432
2435
|
t: n,
|
|
2433
2436
|
className: r = ""
|
|
2434
2437
|
}) => {
|
|
@@ -2440,7 +2443,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2440
2443
|
"aria-labelledby": "faq-heading",
|
|
2441
2444
|
children: [
|
|
2442
2445
|
/* @__PURE__ */ e.jsx("h2", { id: "faq-heading", className: re.heading, children: n("faqTitle") }),
|
|
2443
|
-
/* @__PURE__ */ e.jsx("div", { className: re.accordion, role: "list", children:
|
|
2446
|
+
/* @__PURE__ */ e.jsx("div", { className: re.accordion, role: "list", children: Wi.map((m, l) => {
|
|
2444
2447
|
const v = o === l;
|
|
2445
2448
|
return /* @__PURE__ */ e.jsxs(
|
|
2446
2449
|
"div",
|
|
@@ -2506,13 +2509,13 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2506
2509
|
]
|
|
2507
2510
|
}
|
|
2508
2511
|
);
|
|
2509
|
-
},
|
|
2510
|
-
section:
|
|
2511
|
-
heading:
|
|
2512
|
-
content:
|
|
2513
|
-
line:
|
|
2514
|
-
brandName:
|
|
2515
|
-
},
|
|
2512
|
+
}, Yi = "_section_aphm8_1", Gi = "_heading_aphm8_6", Vi = "_content_aphm8_11", zi = "_line_aphm8_16", Qi = "_brandName_aphm8_20", Ne = {
|
|
2513
|
+
section: Yi,
|
|
2514
|
+
heading: Gi,
|
|
2515
|
+
content: Vi,
|
|
2516
|
+
line: zi,
|
|
2517
|
+
brandName: Qi
|
|
2518
|
+
}, Ji = ({
|
|
2516
2519
|
t: n,
|
|
2517
2520
|
whatsAppNumber: r,
|
|
2518
2521
|
email: c,
|
|
@@ -2528,36 +2531,36 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2528
2531
|
/* @__PURE__ */ e.jsx("p", { className: Ne.line, children: n("contactEmail").replace("shubham.goyal@supportmandir.com", p) })
|
|
2529
2532
|
] })
|
|
2530
2533
|
] });
|
|
2531
|
-
}, gt = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", bt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", vt = "https://srm-cdn.a4b.io/yoda/
|
|
2532
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2533
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2534
|
-
/* @__PURE__ */ e.jsx("img", { src: gt, alt: "", className:
|
|
2534
|
+
}, gt = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", bt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", vt = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Xi = ({ t: n }) => /* @__PURE__ */ e.jsxs("div", { className: R.marqueeTrack, children: [
|
|
2535
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.marqueeContent, children: [
|
|
2536
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2537
|
+
/* @__PURE__ */ e.jsx("img", { src: gt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2535
2538
|
n("ctaKundliCreated")
|
|
2536
2539
|
] }),
|
|
2537
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2538
|
-
/* @__PURE__ */ e.jsx("img", { src: bt, alt: "", className:
|
|
2540
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2541
|
+
/* @__PURE__ */ e.jsx("img", { src: bt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2539
2542
|
n("ctaCertified")
|
|
2540
2543
|
] }),
|
|
2541
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2542
|
-
/* @__PURE__ */ e.jsx("img", { src: vt, alt: "", className:
|
|
2544
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2545
|
+
/* @__PURE__ */ e.jsx("img", { src: vt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2543
2546
|
n("ctaSecurePayment")
|
|
2544
2547
|
] })
|
|
2545
2548
|
] }),
|
|
2546
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2547
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2548
|
-
/* @__PURE__ */ e.jsx("img", { src: gt, alt: "", className:
|
|
2549
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.marqueeContent, "aria-hidden": !0, children: [
|
|
2550
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2551
|
+
/* @__PURE__ */ e.jsx("img", { src: gt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2549
2552
|
n("ctaKundliCreated")
|
|
2550
2553
|
] }),
|
|
2551
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2552
|
-
/* @__PURE__ */ e.jsx("img", { src: bt, alt: "", className:
|
|
2554
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2555
|
+
/* @__PURE__ */ e.jsx("img", { src: bt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2553
2556
|
n("ctaCertified")
|
|
2554
2557
|
] }),
|
|
2555
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2556
|
-
/* @__PURE__ */ e.jsx("img", { src: vt, alt: "", className:
|
|
2558
|
+
/* @__PURE__ */ e.jsxs("span", { className: R.badge, children: [
|
|
2559
|
+
/* @__PURE__ */ e.jsx("img", { src: vt, alt: "", className: R.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2557
2560
|
n("ctaSecurePayment")
|
|
2558
2561
|
] })
|
|
2559
2562
|
] })
|
|
2560
|
-
] }),
|
|
2563
|
+
] }), Zi = ({
|
|
2561
2564
|
t: n,
|
|
2562
2565
|
onCtaClick: r,
|
|
2563
2566
|
ctaHref: c,
|
|
@@ -2565,7 +2568,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2565
2568
|
}) => {
|
|
2566
2569
|
const o = Te(), f = o?.config.isGlobal ?? !0, p = f ? o?.config.originalPriceLabel ?? n("ctaButtonStruck") : "₹999", m = f ? o?.config.discountedPriceLabel ?? n("ctaButtonAfter") : "₹249", l = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2567
2570
|
n("ctaButtonBefore"),
|
|
2568
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2571
|
+
/* @__PURE__ */ e.jsx("span", { className: R.ctaStruck, children: p }),
|
|
2569
2572
|
" ",
|
|
2570
2573
|
m
|
|
2571
2574
|
] });
|
|
@@ -2573,11 +2576,11 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2573
2576
|
Pt,
|
|
2574
2577
|
{
|
|
2575
2578
|
className: d,
|
|
2576
|
-
marquee: /* @__PURE__ */ e.jsx(
|
|
2579
|
+
marquee: /* @__PURE__ */ e.jsx(Xi, { t: n }),
|
|
2577
2580
|
children: /* @__PURE__ */ e.jsx(Tt, { href: c, onClick: r, children: l })
|
|
2578
2581
|
}
|
|
2579
2582
|
);
|
|
2580
|
-
},
|
|
2583
|
+
}, eo = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", to = "AIzaSyCEsEBy-JYuu9SSITQrpYU3tpaq5HQOhi4", no = (n, r) => ze[n]?.[r] ?? r, ao = {
|
|
2581
2584
|
fullName: "",
|
|
2582
2585
|
phone: "",
|
|
2583
2586
|
email: "",
|
|
@@ -2585,7 +2588,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2585
2588
|
birthTime: "",
|
|
2586
2589
|
birthTimeUnknown: !1,
|
|
2587
2590
|
birthPlace: ""
|
|
2588
|
-
},
|
|
2591
|
+
}, ro = ({
|
|
2589
2592
|
className: n = "",
|
|
2590
2593
|
locale: r,
|
|
2591
2594
|
showLanguageSelector: c = !0,
|
|
@@ -2596,28 +2599,28 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2596
2599
|
originalPriceLabel: m,
|
|
2597
2600
|
discountedPriceLabel: l,
|
|
2598
2601
|
discountPillLabel: v,
|
|
2599
|
-
googleMapsApiKey: _ =
|
|
2602
|
+
googleMapsApiKey: _ = to,
|
|
2600
2603
|
analytics: g
|
|
2601
2604
|
}) => {
|
|
2602
|
-
const
|
|
2605
|
+
const x = Te(), T = jt(), j = x !== null, k = j ? x.locale : r, y = k ?? T?.locale ?? "en", [L, w] = W(y), E = j ? x.locale : L, U = j ? x.setLocale : w, [S, z] = W(!1), O = K(null), G = K(k), D = K(
|
|
2603
2606
|
T?.locale
|
|
2604
2607
|
);
|
|
2605
2608
|
Y(() => {
|
|
2606
2609
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
2607
2610
|
}, []);
|
|
2608
|
-
const H = (a) =>
|
|
2611
|
+
const H = (a) => no(E, a);
|
|
2609
2612
|
Y(() => {
|
|
2610
|
-
|
|
2611
|
-
}, [
|
|
2612
|
-
if (
|
|
2613
|
+
k && G.current !== k && U(k), G.current = k;
|
|
2614
|
+
}, [k, U]), Y(() => {
|
|
2615
|
+
if (k) return;
|
|
2613
2616
|
const a = T?.locale;
|
|
2614
2617
|
a && D.current !== a && U(a), D.current = a;
|
|
2615
|
-
}, [T?.locale,
|
|
2618
|
+
}, [T?.locale, k, U]);
|
|
2616
2619
|
const [X, B] = W({
|
|
2617
|
-
...
|
|
2620
|
+
...ao,
|
|
2618
2621
|
...o,
|
|
2619
2622
|
phone: o?.phone ?? ""
|
|
2620
|
-
}), M = j ?
|
|
2623
|
+
}), M = j ? x.formValues : X, V = j ? x.setFormValues : B, ee = j ? x.goToPage : d, de = j ? x.onProceed : f, ye = j ? x.config.proceedHref : p, he = j ? x.config.originalPriceLabel : m, fe = j ? x.config.discountedPriceLabel : l, pe = j ? x.config.discountPillLabel : v, _e = j ? x.config.showLanguageSelector ?? !0 : c, ie = (j ? x?.config?.analytics : g) ?? g;
|
|
2621
2624
|
Y(() => {
|
|
2622
2625
|
if (!S) return;
|
|
2623
2626
|
const a = (h) => {
|
|
@@ -2642,7 +2645,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2642
2645
|
/* @__PURE__ */ e.jsx(
|
|
2643
2646
|
"img",
|
|
2644
2647
|
{
|
|
2645
|
-
src:
|
|
2648
|
+
src: eo,
|
|
2646
2649
|
alt: "",
|
|
2647
2650
|
className: oe.langIcon,
|
|
2648
2651
|
width: 16,
|
|
@@ -2683,7 +2686,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2683
2686
|
At,
|
|
2684
2687
|
{
|
|
2685
2688
|
t: H,
|
|
2686
|
-
logoUrl: j ?
|
|
2689
|
+
logoUrl: j ? x.config.logoUrl : void 0,
|
|
2687
2690
|
languageSelector: ge,
|
|
2688
2691
|
className: oe.kundliHeaderNoBorder
|
|
2689
2692
|
}
|
|
@@ -2692,7 +2695,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2692
2695
|
/* @__PURE__ */ e.jsxs("main", { className: oe.main, children: [
|
|
2693
2696
|
/* @__PURE__ */ e.jsx(On, { t: H, onBack: ee }),
|
|
2694
2697
|
/* @__PURE__ */ e.jsx(
|
|
2695
|
-
|
|
2698
|
+
xa,
|
|
2696
2699
|
{
|
|
2697
2700
|
t: H,
|
|
2698
2701
|
values: M,
|
|
@@ -2707,7 +2710,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2707
2710
|
t: H,
|
|
2708
2711
|
values: M,
|
|
2709
2712
|
onProceed: de,
|
|
2710
|
-
href:
|
|
2713
|
+
href: ye,
|
|
2711
2714
|
originalPriceLabel: he,
|
|
2712
2715
|
discountedPriceLabel: fe,
|
|
2713
2716
|
discountPillLabel: pe,
|
|
@@ -2715,7 +2718,7 @@ const va = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2715
2718
|
}
|
|
2716
2719
|
)
|
|
2717
2720
|
] });
|
|
2718
|
-
},
|
|
2721
|
+
}, io = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", oo = (n, r) => ze[n]?.[r] ?? r, so = 112;
|
|
2719
2722
|
function le({
|
|
2720
2723
|
section: n,
|
|
2721
2724
|
children: r,
|
|
@@ -2732,17 +2735,17 @@ function le({
|
|
|
2732
2735
|
{
|
|
2733
2736
|
threshold: 0.1,
|
|
2734
2737
|
// Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
|
|
2735
|
-
rootMargin: `0px 0px -${
|
|
2738
|
+
rootMargin: `0px 0px -${so}px 0px`
|
|
2736
2739
|
}
|
|
2737
2740
|
);
|
|
2738
2741
|
return p.observe(f), () => p.disconnect();
|
|
2739
2742
|
}, [n, c]), /* @__PURE__ */ e.jsx("div", { ref: d, children: r });
|
|
2740
2743
|
}
|
|
2741
|
-
function
|
|
2744
|
+
function co({ className: n }) {
|
|
2742
2745
|
const { view: r } = Nt();
|
|
2743
|
-
return r === "form" ? /* @__PURE__ */ e.jsx(
|
|
2746
|
+
return r === "form" ? /* @__PURE__ */ e.jsx(ro, {}) : /* @__PURE__ */ e.jsx(lo, { className: n });
|
|
2744
2747
|
}
|
|
2745
|
-
function
|
|
2748
|
+
function lo({ className: n }) {
|
|
2746
2749
|
const r = jt(), {
|
|
2747
2750
|
locale: c,
|
|
2748
2751
|
setLocale: d,
|
|
@@ -2755,23 +2758,23 @@ function co({ className: n }) {
|
|
|
2755
2758
|
o.locale && v.current !== o.locale && d(o.locale), v.current = o.locale;
|
|
2756
2759
|
}, [o.locale, d]), Y(() => {
|
|
2757
2760
|
if (o.locale) return;
|
|
2758
|
-
const
|
|
2759
|
-
|
|
2761
|
+
const y = r?.locale;
|
|
2762
|
+
y && _.current !== y && d(y), _.current = y;
|
|
2760
2763
|
}, [r?.locale, o.locale, d]), Y(() => {
|
|
2761
2764
|
if (!p) return;
|
|
2762
|
-
const
|
|
2765
|
+
const y = (L) => {
|
|
2763
2766
|
l.current && !l.current.contains(L.target) && m(!1);
|
|
2764
2767
|
};
|
|
2765
|
-
return document.addEventListener("mousedown",
|
|
2768
|
+
return document.addEventListener("mousedown", y), () => document.removeEventListener("mousedown", y);
|
|
2766
2769
|
}, [p]);
|
|
2767
|
-
const g = (
|
|
2770
|
+
const g = (y) => oo(c, y), T = o.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: me.langDropdownWrap, ref: l, children: [
|
|
2768
2771
|
/* @__PURE__ */ e.jsxs(
|
|
2769
2772
|
"button",
|
|
2770
2773
|
{
|
|
2771
2774
|
type: "button",
|
|
2772
2775
|
className: me.langTrigger,
|
|
2773
2776
|
onClick: () => {
|
|
2774
|
-
o.analytics?.trackLanguageClickedFe?.({ language: c }), m((
|
|
2777
|
+
o.analytics?.trackLanguageClickedFe?.({ language: c }), m((y) => !y);
|
|
2775
2778
|
},
|
|
2776
2779
|
"aria-expanded": p,
|
|
2777
2780
|
"aria-haspopup": "listbox",
|
|
@@ -2781,7 +2784,7 @@ function co({ className: n }) {
|
|
|
2781
2784
|
/* @__PURE__ */ e.jsx(
|
|
2782
2785
|
"img",
|
|
2783
2786
|
{
|
|
2784
|
-
src:
|
|
2787
|
+
src: io,
|
|
2785
2788
|
alt: "",
|
|
2786
2789
|
className: me.langIcon,
|
|
2787
2790
|
width: 16,
|
|
@@ -2800,29 +2803,29 @@ function co({ className: n }) {
|
|
|
2800
2803
|
role: "listbox",
|
|
2801
2804
|
"aria-labelledby": "kundli-lang",
|
|
2802
2805
|
"aria-activedescendant": `kundli-lang-option-${c}`,
|
|
2803
|
-
children: Ve.map((
|
|
2806
|
+
children: Ve.map((y) => /* @__PURE__ */ e.jsx(
|
|
2804
2807
|
"li",
|
|
2805
2808
|
{
|
|
2806
|
-
id: `kundli-lang-option-${
|
|
2809
|
+
id: `kundli-lang-option-${y}`,
|
|
2807
2810
|
role: "option",
|
|
2808
|
-
"aria-selected":
|
|
2811
|
+
"aria-selected": y === c,
|
|
2809
2812
|
className: me.langOption,
|
|
2810
2813
|
onClick: () => {
|
|
2811
|
-
o.analytics?.trackLanguageChangedFe?.({ newLanguage:
|
|
2814
|
+
o.analytics?.trackLanguageChangedFe?.({ newLanguage: y }), d(y), m(!1);
|
|
2812
2815
|
},
|
|
2813
|
-
children: Ue[
|
|
2816
|
+
children: Ue[y]
|
|
2814
2817
|
},
|
|
2815
|
-
|
|
2818
|
+
y
|
|
2816
2819
|
))
|
|
2817
2820
|
}
|
|
2818
2821
|
)
|
|
2819
|
-
] }) : null, j = (
|
|
2820
|
-
const L =
|
|
2822
|
+
] }) : null, j = (y) => {
|
|
2823
|
+
const L = y.currentTarget.innerText?.trim() ?? g("ctaButtonAfter");
|
|
2821
2824
|
o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: L }), f(), o.onCtaClick?.();
|
|
2822
|
-
},
|
|
2823
|
-
(
|
|
2825
|
+
}, k = Pe(
|
|
2826
|
+
(y) => {
|
|
2824
2827
|
o.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
2825
|
-
section:
|
|
2828
|
+
section: y,
|
|
2826
2829
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
2827
2830
|
});
|
|
2828
2831
|
},
|
|
@@ -2842,7 +2845,7 @@ function co({ className: n }) {
|
|
|
2842
2845
|
le,
|
|
2843
2846
|
{
|
|
2844
2847
|
section: "hero",
|
|
2845
|
-
onImpression:
|
|
2848
|
+
onImpression: k,
|
|
2846
2849
|
children: /* @__PURE__ */ e.jsx(tr, { t: g })
|
|
2847
2850
|
}
|
|
2848
2851
|
),
|
|
@@ -2850,7 +2853,7 @@ function co({ className: n }) {
|
|
|
2850
2853
|
le,
|
|
2851
2854
|
{
|
|
2852
2855
|
section: "premium_report_overview",
|
|
2853
|
-
onImpression:
|
|
2856
|
+
onImpression: k,
|
|
2854
2857
|
children: /* @__PURE__ */ e.jsx(
|
|
2855
2858
|
gr,
|
|
2856
2859
|
{
|
|
@@ -2865,12 +2868,12 @@ function co({ className: n }) {
|
|
|
2865
2868
|
le,
|
|
2866
2869
|
{
|
|
2867
2870
|
section: "university_certification",
|
|
2868
|
-
onImpression:
|
|
2871
|
+
onImpression: k,
|
|
2869
2872
|
children: /* @__PURE__ */ e.jsx(
|
|
2870
|
-
|
|
2873
|
+
xr,
|
|
2871
2874
|
{
|
|
2872
2875
|
t: g,
|
|
2873
|
-
logoUrl: o.universityLogoUrls?.find((
|
|
2876
|
+
logoUrl: o.universityLogoUrls?.find((y) => !!y)
|
|
2874
2877
|
}
|
|
2875
2878
|
)
|
|
2876
2879
|
}
|
|
@@ -2879,7 +2882,7 @@ function co({ className: n }) {
|
|
|
2879
2882
|
le,
|
|
2880
2883
|
{
|
|
2881
2884
|
section: "three_steps_process",
|
|
2882
|
-
onImpression:
|
|
2885
|
+
onImpression: k,
|
|
2883
2886
|
children: /* @__PURE__ */ e.jsx(Ir, { t: g, locale: c })
|
|
2884
2887
|
}
|
|
2885
2888
|
),
|
|
@@ -2887,7 +2890,7 @@ function co({ className: n }) {
|
|
|
2887
2890
|
le,
|
|
2888
2891
|
{
|
|
2889
2892
|
section: "view_sample_report",
|
|
2890
|
-
onImpression:
|
|
2893
|
+
onImpression: k,
|
|
2891
2894
|
children: /* @__PURE__ */ e.jsx(
|
|
2892
2895
|
Wr,
|
|
2893
2896
|
{
|
|
@@ -2903,7 +2906,7 @@ function co({ className: n }) {
|
|
|
2903
2906
|
le,
|
|
2904
2907
|
{
|
|
2905
2908
|
section: "what_youll_find",
|
|
2906
|
-
onImpression:
|
|
2909
|
+
onImpression: k,
|
|
2907
2910
|
children: /* @__PURE__ */ e.jsx(ai, { t: g })
|
|
2908
2911
|
}
|
|
2909
2912
|
),
|
|
@@ -2911,7 +2914,7 @@ function co({ className: n }) {
|
|
|
2911
2914
|
le,
|
|
2912
2915
|
{
|
|
2913
2916
|
section: "why_us",
|
|
2914
|
-
onImpression:
|
|
2917
|
+
onImpression: k,
|
|
2915
2918
|
children: /* @__PURE__ */ e.jsx(di, { t: g })
|
|
2916
2919
|
}
|
|
2917
2920
|
),
|
|
@@ -2919,29 +2922,29 @@ function co({ className: n }) {
|
|
|
2919
2922
|
le,
|
|
2920
2923
|
{
|
|
2921
2924
|
section: "feedback",
|
|
2922
|
-
onImpression:
|
|
2923
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2925
|
+
onImpression: k,
|
|
2926
|
+
children: /* @__PURE__ */ e.jsx(Ii, { t: g, readMoreHref: o.readMoreReviewsHref })
|
|
2924
2927
|
}
|
|
2925
2928
|
),
|
|
2926
2929
|
/* @__PURE__ */ e.jsx(
|
|
2927
2930
|
le,
|
|
2928
2931
|
{
|
|
2929
2932
|
section: "faq",
|
|
2930
|
-
onImpression:
|
|
2931
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2933
|
+
onImpression: k,
|
|
2934
|
+
children: /* @__PURE__ */ e.jsx(Hi, { t: g })
|
|
2932
2935
|
}
|
|
2933
2936
|
),
|
|
2934
2937
|
/* @__PURE__ */ e.jsx(
|
|
2935
2938
|
le,
|
|
2936
2939
|
{
|
|
2937
2940
|
section: "contact_us",
|
|
2938
|
-
onImpression:
|
|
2939
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2941
|
+
onImpression: k,
|
|
2942
|
+
children: /* @__PURE__ */ e.jsx(Ji, { t: g })
|
|
2940
2943
|
}
|
|
2941
2944
|
)
|
|
2942
2945
|
] }),
|
|
2943
2946
|
/* @__PURE__ */ e.jsx(
|
|
2944
|
-
|
|
2947
|
+
Zi,
|
|
2945
2948
|
{
|
|
2946
2949
|
t: g,
|
|
2947
2950
|
ctaHref: o.ctaHref,
|
|
@@ -2950,7 +2953,7 @@ function co({ className: n }) {
|
|
|
2950
2953
|
)
|
|
2951
2954
|
] });
|
|
2952
2955
|
}
|
|
2953
|
-
const
|
|
2956
|
+
const po = ({
|
|
2954
2957
|
className: n = "",
|
|
2955
2958
|
locale: r,
|
|
2956
2959
|
showLanguageSelector: c = !0,
|
|
@@ -2963,11 +2966,11 @@ const fo = ({
|
|
|
2963
2966
|
onViewSampleReport: v,
|
|
2964
2967
|
ctaHref: _,
|
|
2965
2968
|
onCtaClick: g,
|
|
2966
|
-
readMoreReviewsHref:
|
|
2969
|
+
readMoreReviewsHref: x,
|
|
2967
2970
|
onProceed: T,
|
|
2968
2971
|
proceedHref: j,
|
|
2969
|
-
originalPriceLabel:
|
|
2970
|
-
discountedPriceLabel:
|
|
2972
|
+
originalPriceLabel: k,
|
|
2973
|
+
discountedPriceLabel: y,
|
|
2971
2974
|
discountPillLabel: L,
|
|
2972
2975
|
analytics: w,
|
|
2973
2976
|
onLocaleChange: E
|
|
@@ -2985,17 +2988,17 @@ const fo = ({
|
|
|
2985
2988
|
onViewSampleReport: v,
|
|
2986
2989
|
ctaHref: _,
|
|
2987
2990
|
onCtaClick: g,
|
|
2988
|
-
readMoreReviewsHref:
|
|
2991
|
+
readMoreReviewsHref: x,
|
|
2989
2992
|
onProceed: T,
|
|
2990
2993
|
proceedHref: j,
|
|
2991
|
-
originalPriceLabel:
|
|
2992
|
-
discountedPriceLabel:
|
|
2994
|
+
originalPriceLabel: k,
|
|
2995
|
+
discountedPriceLabel: y,
|
|
2993
2996
|
discountPillLabel: L,
|
|
2994
2997
|
analytics: w,
|
|
2995
2998
|
onLocaleChange: E,
|
|
2996
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2999
|
+
children: /* @__PURE__ */ e.jsx(co, { className: n })
|
|
2997
3000
|
}
|
|
2998
|
-
),
|
|
3001
|
+
), _o = {
|
|
2999
3002
|
banner_clicked_fe: "banner_clicked_fe",
|
|
3000
3003
|
primary_cta_clicked_fe: "primary_cta_clicked_fe",
|
|
3001
3004
|
language_changed_fe: "language_changed_fe",
|
|
@@ -3027,18 +3030,18 @@ const fo = ({
|
|
|
3027
3030
|
kundli_form_view: "kundli_form_view"
|
|
3028
3031
|
};
|
|
3029
3032
|
export {
|
|
3030
|
-
|
|
3031
|
-
|
|
3033
|
+
mo as I18nProvider,
|
|
3034
|
+
_o as KUNDLI_ANALYTICS_EVENT_NAMES,
|
|
3032
3035
|
wt as KUNDLI_LANGUAGE_STORAGE_KEY,
|
|
3033
3036
|
Qe as KundliContext,
|
|
3034
|
-
|
|
3035
|
-
|
|
3037
|
+
ro as KundliForm,
|
|
3038
|
+
po as KundliPage,
|
|
3036
3039
|
Tn as KundliProvider,
|
|
3037
3040
|
Ve as SUPPORTED_LOCALES,
|
|
3038
|
-
|
|
3041
|
+
xn as getItem,
|
|
3039
3042
|
wn as getStoredKundliLocale,
|
|
3040
|
-
|
|
3041
|
-
|
|
3043
|
+
fo as isLocalStorageAvailable,
|
|
3044
|
+
ho as removeItem,
|
|
3042
3045
|
jn as setItem,
|
|
3043
3046
|
Nn as setStoredKundliLocale,
|
|
3044
3047
|
jt as useI18n,
|