@srimandir/kundli-generator 4.4.0 → 4.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{analytics-DslrvyqT.js → analytics-CbJos3T3.js} +1214 -1297
- package/dist/analytics-CbJos3T3.js.map +1 -0
- package/dist/components/KundliPage/KundliPage.d.ts +1 -1
- package/dist/components/KundliPage/KundliPageV1.d.ts +1 -1
- package/dist/components/KundliPlanBottomSheet/AstrologerDetails.d.ts +9 -3
- package/dist/components/KundliPlanBottomSheet/KundliPlanBottomSheet.d.ts +1 -2
- package/dist/components/KundliPlanBottomSheet/index.d.ts +1 -1
- package/dist/components/KundliPlanBottomSheet/planDefaults.d.ts +66 -2
- package/dist/{criticalCss-BK8wIsFM.js → criticalCss-Ckf2vupR.js} +177 -184
- package/dist/criticalCss-Ckf2vupR.js.map +1 -0
- package/dist/form-entry.js +1 -1
- package/dist/i18n/translations.en.d.ts +33 -0
- package/dist/i18n/translations.hi.d.ts +33 -0
- package/dist/kundli-generator.js +2 -2
- package/dist/page-entry.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/dist/analytics-DslrvyqT.js.map +0 -1
- package/dist/criticalCss-BK8wIsFM.js.map +0 -1
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { FormSectionHeader as
|
|
3
|
-
var Ie = { exports: {} },
|
|
4
|
-
var
|
|
5
|
-
function
|
|
6
|
-
if (
|
|
7
|
-
|
|
8
|
-
var
|
|
9
|
-
function
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
for (
|
|
13
|
-
if (
|
|
14
|
-
return { $$typeof:
|
|
1
|
+
import We, { useContext as Ke, createContext as lt, useState as Y, useRef as z, useEffect as X, useMemo as Ge, useCallback as _e } from "react";
|
|
2
|
+
import { FormSectionHeader as Dt, FooterCTAButton as Ot, FooterShell as Ft, CircularMarquee as Mt, footerShellStyles as xe, PageHeader as $t } from "@srimandir/astrology-common";
|
|
3
|
+
var Ie = { exports: {} }, Ne = {};
|
|
4
|
+
var nt;
|
|
5
|
+
function Ut() {
|
|
6
|
+
if (nt) return Ne;
|
|
7
|
+
nt = 1;
|
|
8
|
+
var r = We, i = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, f = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, k = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9
|
+
function _(E, x, I) {
|
|
10
|
+
var l, N = {}, g = null, p = null;
|
|
11
|
+
I !== void 0 && (g = "" + I), x.key !== void 0 && (g = "" + x.key), x.ref !== void 0 && (p = x.ref);
|
|
12
|
+
for (l in x) u.call(x, l) && !k.hasOwnProperty(l) && (N[l] = x[l]);
|
|
13
|
+
if (E && E.defaultProps) for (l in x = E.defaultProps, x) N[l] === void 0 && (N[l] = x[l]);
|
|
14
|
+
return { $$typeof: i, type: E, key: g, ref: p, props: N, _owner: f.current };
|
|
15
15
|
}
|
|
16
|
-
return
|
|
16
|
+
return Ne.Fragment = d, Ne.jsx = _, Ne.jsxs = _, Ne;
|
|
17
17
|
}
|
|
18
18
|
var Se = {};
|
|
19
|
-
var
|
|
20
|
-
function
|
|
21
|
-
return
|
|
22
|
-
var
|
|
23
|
-
function
|
|
19
|
+
var ot;
|
|
20
|
+
function Gt() {
|
|
21
|
+
return ot || (ot = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
+
var r = We, i = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.portal"), u = /* @__PURE__ */ Symbol.for("react.fragment"), f = /* @__PURE__ */ Symbol.for("react.strict_mode"), k = /* @__PURE__ */ Symbol.for("react.profiler"), _ = /* @__PURE__ */ Symbol.for("react.provider"), E = /* @__PURE__ */ Symbol.for("react.context"), x = /* @__PURE__ */ Symbol.for("react.forward_ref"), I = /* @__PURE__ */ Symbol.for("react.suspense"), l = /* @__PURE__ */ Symbol.for("react.suspense_list"), N = /* @__PURE__ */ Symbol.for("react.memo"), g = /* @__PURE__ */ Symbol.for("react.lazy"), p = /* @__PURE__ */ Symbol.for("react.offscreen"), v = Symbol.iterator, C = "@@iterator";
|
|
23
|
+
function F(e) {
|
|
24
24
|
if (e === null || typeof e != "object")
|
|
25
25
|
return null;
|
|
26
|
-
var
|
|
27
|
-
return typeof
|
|
26
|
+
var o = v && e[v] || e[C];
|
|
27
|
+
return typeof o == "function" ? o : null;
|
|
28
28
|
}
|
|
29
|
-
var
|
|
30
|
-
function
|
|
29
|
+
var D = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
30
|
+
function P(e) {
|
|
31
31
|
{
|
|
32
|
-
for (var
|
|
32
|
+
for (var o = arguments.length, s = new Array(o > 1 ? o - 1 : 0), m = 1; m < o; m++)
|
|
33
33
|
s[m - 1] = arguments[m];
|
|
34
|
-
|
|
34
|
+
q("error", e, s);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function q(e, o, s) {
|
|
38
38
|
{
|
|
39
|
-
var m =
|
|
40
|
-
|
|
41
|
-
var
|
|
42
|
-
return String(
|
|
39
|
+
var m = D.ReactDebugCurrentFrame, A = m.getStackAddendum();
|
|
40
|
+
A !== "" && (o += "%s", s = s.concat([A]));
|
|
41
|
+
var S = s.map(function(w) {
|
|
42
|
+
return String(w);
|
|
43
43
|
});
|
|
44
|
-
|
|
44
|
+
S.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, S);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
var
|
|
48
|
-
|
|
49
|
-
function
|
|
50
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e ===
|
|
47
|
+
var b = !1, U = !1, O = !1, M = !1, Z = !1, T;
|
|
48
|
+
T = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
|
+
function L(e) {
|
|
50
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === k || Z || e === f || e === I || e === l || M || e === p || b || U || O || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === N || e.$$typeof === _ || e.$$typeof === E || e.$$typeof === x || // This needs to include all possible module reference object
|
|
51
51
|
// types supported by any Flight configuration anywhere since
|
|
52
52
|
// we don't know which Flight build this will end up being used
|
|
53
53
|
// with.
|
|
54
|
-
e.$$typeof ===
|
|
54
|
+
e.$$typeof === T || e.getModuleId !== void 0));
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function V(e, o, s) {
|
|
57
57
|
var m = e.displayName;
|
|
58
58
|
if (m)
|
|
59
59
|
return m;
|
|
60
|
-
var
|
|
61
|
-
return
|
|
60
|
+
var A = o.displayName || o.name || "";
|
|
61
|
+
return A !== "" ? s + "(" + A + ")" : s;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function $(e) {
|
|
64
64
|
return e.displayName || "Context";
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function R(e) {
|
|
67
67
|
if (e == null)
|
|
68
68
|
return null;
|
|
69
|
-
if (typeof e.tag == "number" &&
|
|
69
|
+
if (typeof e.tag == "number" && P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
70
70
|
return e.displayName || e.name || null;
|
|
71
71
|
if (typeof e == "string")
|
|
72
72
|
return e;
|
|
@@ -75,32 +75,32 @@ function Gr() {
|
|
|
75
75
|
return "Fragment";
|
|
76
76
|
case d:
|
|
77
77
|
return "Portal";
|
|
78
|
-
case
|
|
78
|
+
case k:
|
|
79
79
|
return "Profiler";
|
|
80
|
-
case
|
|
80
|
+
case f:
|
|
81
81
|
return "StrictMode";
|
|
82
|
-
case
|
|
82
|
+
case I:
|
|
83
83
|
return "Suspense";
|
|
84
|
-
case
|
|
84
|
+
case l:
|
|
85
85
|
return "SuspenseList";
|
|
86
86
|
}
|
|
87
87
|
if (typeof e == "object")
|
|
88
88
|
switch (e.$$typeof) {
|
|
89
|
-
case
|
|
90
|
-
var
|
|
91
|
-
return
|
|
92
|
-
case
|
|
89
|
+
case E:
|
|
90
|
+
var o = e;
|
|
91
|
+
return $(o) + ".Consumer";
|
|
92
|
+
case _:
|
|
93
93
|
var s = e;
|
|
94
|
-
return
|
|
95
|
-
case
|
|
96
|
-
return
|
|
97
|
-
case
|
|
94
|
+
return $(s._context) + ".Provider";
|
|
95
|
+
case x:
|
|
96
|
+
return V(e, e.render, "ForwardRef");
|
|
97
|
+
case N:
|
|
98
98
|
var m = e.displayName || null;
|
|
99
|
-
return m !== null ? m :
|
|
100
|
-
case
|
|
101
|
-
var
|
|
99
|
+
return m !== null ? m : R(e.type) || "Memo";
|
|
100
|
+
case g: {
|
|
101
|
+
var A = e, S = A._payload, w = A._init;
|
|
102
102
|
try {
|
|
103
|
-
return
|
|
103
|
+
return R(w(S));
|
|
104
104
|
} catch {
|
|
105
105
|
return null;
|
|
106
106
|
}
|
|
@@ -108,18 +108,18 @@ function Gr() {
|
|
|
108
108
|
}
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
111
|
-
var
|
|
112
|
-
function
|
|
111
|
+
var B = Object.assign, K = 0, J, ne, ge, Q, ie, ue, se;
|
|
112
|
+
function ce() {
|
|
113
113
|
}
|
|
114
|
-
|
|
114
|
+
ce.__reactDisabledLog = !0;
|
|
115
115
|
function fe() {
|
|
116
116
|
{
|
|
117
|
-
if (
|
|
117
|
+
if (K === 0) {
|
|
118
118
|
J = console.log, ne = console.info, ge = console.warn, Q = console.error, ie = console.group, ue = console.groupCollapsed, se = console.groupEnd;
|
|
119
119
|
var e = {
|
|
120
120
|
configurable: !0,
|
|
121
121
|
enumerable: !0,
|
|
122
|
-
value:
|
|
122
|
+
value: ce,
|
|
123
123
|
writable: !0
|
|
124
124
|
};
|
|
125
125
|
Object.defineProperties(console, {
|
|
@@ -132,100 +132,100 @@ function Gr() {
|
|
|
132
132
|
groupEnd: e
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
|
-
|
|
135
|
+
K++;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
function oe() {
|
|
139
139
|
{
|
|
140
|
-
if (
|
|
140
|
+
if (K--, K === 0) {
|
|
141
141
|
var e = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
144
144
|
writable: !0
|
|
145
145
|
};
|
|
146
146
|
Object.defineProperties(console, {
|
|
147
|
-
log:
|
|
147
|
+
log: B({}, e, {
|
|
148
148
|
value: J
|
|
149
149
|
}),
|
|
150
|
-
info:
|
|
150
|
+
info: B({}, e, {
|
|
151
151
|
value: ne
|
|
152
152
|
}),
|
|
153
|
-
warn:
|
|
153
|
+
warn: B({}, e, {
|
|
154
154
|
value: ge
|
|
155
155
|
}),
|
|
156
|
-
error:
|
|
156
|
+
error: B({}, e, {
|
|
157
157
|
value: Q
|
|
158
158
|
}),
|
|
159
|
-
group:
|
|
159
|
+
group: B({}, e, {
|
|
160
160
|
value: ie
|
|
161
161
|
}),
|
|
162
|
-
groupCollapsed:
|
|
162
|
+
groupCollapsed: B({}, e, {
|
|
163
163
|
value: ue
|
|
164
164
|
}),
|
|
165
|
-
groupEnd:
|
|
165
|
+
groupEnd: B({}, e, {
|
|
166
166
|
value: se
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
|
|
170
|
+
K < 0 && P("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
var
|
|
174
|
-
function ee(e,
|
|
173
|
+
var he = D.ReactCurrentDispatcher, me;
|
|
174
|
+
function ee(e, o, s) {
|
|
175
175
|
{
|
|
176
176
|
if (me === void 0)
|
|
177
177
|
try {
|
|
178
178
|
throw Error();
|
|
179
|
-
} catch (
|
|
180
|
-
var m =
|
|
179
|
+
} catch (A) {
|
|
180
|
+
var m = A.stack.trim().match(/\n( *(at )?)/);
|
|
181
181
|
me = m && m[1] || "";
|
|
182
182
|
}
|
|
183
183
|
return `
|
|
184
184
|
` + me + e;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
var
|
|
187
|
+
var be = !1, le;
|
|
188
188
|
{
|
|
189
189
|
var we = typeof WeakMap == "function" ? WeakMap : Map;
|
|
190
|
-
|
|
190
|
+
le = new we();
|
|
191
191
|
}
|
|
192
|
-
function
|
|
193
|
-
if (!e ||
|
|
192
|
+
function ye(e, o) {
|
|
193
|
+
if (!e || be)
|
|
194
194
|
return "";
|
|
195
195
|
{
|
|
196
|
-
var s =
|
|
196
|
+
var s = le.get(e);
|
|
197
197
|
if (s !== void 0)
|
|
198
198
|
return s;
|
|
199
199
|
}
|
|
200
200
|
var m;
|
|
201
|
-
|
|
202
|
-
var
|
|
201
|
+
be = !0;
|
|
202
|
+
var A = Error.prepareStackTrace;
|
|
203
203
|
Error.prepareStackTrace = void 0;
|
|
204
|
-
var
|
|
205
|
-
|
|
204
|
+
var S;
|
|
205
|
+
S = he.current, he.current = null, fe();
|
|
206
206
|
try {
|
|
207
|
-
if (
|
|
208
|
-
var
|
|
207
|
+
if (o) {
|
|
208
|
+
var w = function() {
|
|
209
209
|
throw Error();
|
|
210
210
|
};
|
|
211
|
-
if (Object.defineProperty(
|
|
211
|
+
if (Object.defineProperty(w.prototype, "props", {
|
|
212
212
|
set: function() {
|
|
213
213
|
throw Error();
|
|
214
214
|
}
|
|
215
215
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
216
216
|
try {
|
|
217
|
-
Reflect.construct(
|
|
217
|
+
Reflect.construct(w, []);
|
|
218
218
|
} catch (ae) {
|
|
219
219
|
m = ae;
|
|
220
220
|
}
|
|
221
|
-
Reflect.construct(e, [],
|
|
221
|
+
Reflect.construct(e, [], w);
|
|
222
222
|
} else {
|
|
223
223
|
try {
|
|
224
|
-
|
|
224
|
+
w.call();
|
|
225
225
|
} catch (ae) {
|
|
226
226
|
m = ae;
|
|
227
227
|
}
|
|
228
|
-
e.call(
|
|
228
|
+
e.call(w.prototype);
|
|
229
229
|
}
|
|
230
230
|
} else {
|
|
231
231
|
try {
|
|
@@ -237,89 +237,89 @@ function Gr() {
|
|
|
237
237
|
}
|
|
238
238
|
} catch (ae) {
|
|
239
239
|
if (ae && m && typeof ae.stack == "string") {
|
|
240
|
-
for (var
|
|
241
|
-
`),
|
|
242
|
-
`), W =
|
|
243
|
-
|
|
244
|
-
for (; W >= 1 &&
|
|
245
|
-
if (
|
|
246
|
-
if (W !== 1 ||
|
|
240
|
+
for (var y = ae.stack.split(`
|
|
241
|
+
`), te = m.stack.split(`
|
|
242
|
+
`), W = y.length - 1, H = te.length - 1; W >= 1 && H >= 0 && y[W] !== te[H]; )
|
|
243
|
+
H--;
|
|
244
|
+
for (; W >= 1 && H >= 0; W--, H--)
|
|
245
|
+
if (y[W] !== te[H]) {
|
|
246
|
+
if (W !== 1 || H !== 1)
|
|
247
247
|
do
|
|
248
|
-
if (W--,
|
|
248
|
+
if (W--, H--, H < 0 || y[W] !== te[H]) {
|
|
249
249
|
var de = `
|
|
250
|
-
` +
|
|
251
|
-
return e.displayName && de.includes("<anonymous>") && (de = de.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
250
|
+
` + y[W].replace(" at new ", " at ");
|
|
251
|
+
return e.displayName && de.includes("<anonymous>") && (de = de.replace("<anonymous>", e.displayName)), typeof e == "function" && le.set(e, de), de;
|
|
252
252
|
}
|
|
253
|
-
while (W >= 1 &&
|
|
253
|
+
while (W >= 1 && H >= 0);
|
|
254
254
|
break;
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
} finally {
|
|
258
|
-
|
|
258
|
+
be = !1, he.current = S, oe(), Error.prepareStackTrace = A;
|
|
259
259
|
}
|
|
260
260
|
var Ce = e ? e.displayName || e.name : "", ve = Ce ? ee(Ce) : "";
|
|
261
|
-
return typeof e == "function" &&
|
|
261
|
+
return typeof e == "function" && le.set(e, ve), ve;
|
|
262
262
|
}
|
|
263
|
-
function Pe(e,
|
|
264
|
-
return
|
|
263
|
+
function Pe(e, o, s) {
|
|
264
|
+
return ye(e, !1);
|
|
265
265
|
}
|
|
266
266
|
function ke(e) {
|
|
267
|
-
var
|
|
268
|
-
return !!(
|
|
267
|
+
var o = e.prototype;
|
|
268
|
+
return !!(o && o.isReactComponent);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function j(e, o, s) {
|
|
271
271
|
if (e == null)
|
|
272
272
|
return "";
|
|
273
273
|
if (typeof e == "function")
|
|
274
|
-
return
|
|
274
|
+
return ye(e, ke(e));
|
|
275
275
|
if (typeof e == "string")
|
|
276
276
|
return ee(e);
|
|
277
277
|
switch (e) {
|
|
278
|
-
case
|
|
278
|
+
case I:
|
|
279
279
|
return ee("Suspense");
|
|
280
|
-
case
|
|
280
|
+
case l:
|
|
281
281
|
return ee("SuspenseList");
|
|
282
282
|
}
|
|
283
283
|
if (typeof e == "object")
|
|
284
284
|
switch (e.$$typeof) {
|
|
285
|
-
case
|
|
285
|
+
case x:
|
|
286
286
|
return Pe(e.render);
|
|
287
|
-
case
|
|
288
|
-
return
|
|
289
|
-
case
|
|
290
|
-
var m = e,
|
|
287
|
+
case N:
|
|
288
|
+
return j(e.type, o, s);
|
|
289
|
+
case g: {
|
|
290
|
+
var m = e, A = m._payload, S = m._init;
|
|
291
291
|
try {
|
|
292
|
-
return
|
|
292
|
+
return j(S(A), o, s);
|
|
293
293
|
} catch {
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
return "";
|
|
298
298
|
}
|
|
299
|
-
var n = Object.prototype.hasOwnProperty,
|
|
300
|
-
function
|
|
299
|
+
var n = Object.prototype.hasOwnProperty, c = {}, G = D.ReactDebugCurrentFrame;
|
|
300
|
+
function re(e) {
|
|
301
301
|
if (e) {
|
|
302
|
-
var
|
|
303
|
-
|
|
302
|
+
var o = e._owner, s = j(e.type, e._source, o ? o.type : null);
|
|
303
|
+
G.setExtraStackFrame(s);
|
|
304
304
|
} else
|
|
305
|
-
|
|
305
|
+
G.setExtraStackFrame(null);
|
|
306
306
|
}
|
|
307
|
-
function Te(e,
|
|
307
|
+
function Te(e, o, s, m, A) {
|
|
308
308
|
{
|
|
309
|
-
var
|
|
310
|
-
for (var
|
|
311
|
-
if (
|
|
312
|
-
var
|
|
309
|
+
var S = Function.call.bind(n);
|
|
310
|
+
for (var w in e)
|
|
311
|
+
if (S(e, w)) {
|
|
312
|
+
var y = void 0;
|
|
313
313
|
try {
|
|
314
|
-
if (typeof e[
|
|
315
|
-
var
|
|
316
|
-
throw
|
|
314
|
+
if (typeof e[w] != "function") {
|
|
315
|
+
var te = Error((m || "React class") + ": " + s + " type `" + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[w] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
316
|
+
throw te.name = "Invariant Violation", te;
|
|
317
317
|
}
|
|
318
|
-
|
|
318
|
+
y = e[w](o, w, m, s, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
319
319
|
} catch (W) {
|
|
320
|
-
|
|
320
|
+
y = W;
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
y && !(y instanceof Error) && (re(A), P("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", m || "React class", s, w, typeof y), re(null)), y instanceof Error && !(y.message in c) && (c[y.message] = !0, re(A), P("Failed %s type: %s", s, y.message), re(null));
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
}
|
|
@@ -327,13 +327,13 @@ function Gr() {
|
|
|
327
327
|
function Oe(e) {
|
|
328
328
|
return De(e);
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function gt(e) {
|
|
331
331
|
{
|
|
332
|
-
var
|
|
332
|
+
var o = typeof Symbol == "function" && Symbol.toStringTag, s = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
333
333
|
return s;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function _t(e) {
|
|
337
337
|
try {
|
|
338
338
|
return Ye(e), !1;
|
|
339
339
|
} catch {
|
|
@@ -344,38 +344,38 @@ function Gr() {
|
|
|
344
344
|
return "" + e;
|
|
345
345
|
}
|
|
346
346
|
function qe(e) {
|
|
347
|
-
if (
|
|
348
|
-
return
|
|
347
|
+
if (_t(e))
|
|
348
|
+
return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", gt(e)), Ye(e);
|
|
349
349
|
}
|
|
350
|
-
var Ve =
|
|
350
|
+
var Ve = D.ReactCurrentOwner, bt = {
|
|
351
351
|
key: !0,
|
|
352
352
|
ref: !0,
|
|
353
353
|
__self: !0,
|
|
354
354
|
__source: !0
|
|
355
|
-
},
|
|
356
|
-
function
|
|
355
|
+
}, ze, Je;
|
|
356
|
+
function yt(e) {
|
|
357
357
|
if (n.call(e, "ref")) {
|
|
358
|
-
var
|
|
359
|
-
if (
|
|
358
|
+
var o = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
359
|
+
if (o && o.isReactWarning)
|
|
360
360
|
return !1;
|
|
361
361
|
}
|
|
362
362
|
return e.ref !== void 0;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function kt(e) {
|
|
365
365
|
if (n.call(e, "key")) {
|
|
366
|
-
var
|
|
367
|
-
if (
|
|
366
|
+
var o = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
367
|
+
if (o && o.isReactWarning)
|
|
368
368
|
return !1;
|
|
369
369
|
}
|
|
370
370
|
return e.key !== void 0;
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function vt(e, o) {
|
|
373
373
|
typeof e.ref == "string" && Ve.current;
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function xt(e, o) {
|
|
376
376
|
{
|
|
377
377
|
var s = function() {
|
|
378
|
-
|
|
378
|
+
ze || (ze = !0, P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
379
379
|
};
|
|
380
380
|
s.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
381
381
|
get: s,
|
|
@@ -383,10 +383,10 @@ function Gr() {
|
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function wt(e, o) {
|
|
387
387
|
{
|
|
388
388
|
var s = function() {
|
|
389
|
-
|
|
389
|
+
Je || (Je = !0, P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
390
390
|
};
|
|
391
391
|
s.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
392
392
|
get: s,
|
|
@@ -394,57 +394,57 @@ function Gr() {
|
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
var
|
|
398
|
-
var
|
|
397
|
+
var Pt = function(e, o, s, m, A, S, w) {
|
|
398
|
+
var y = {
|
|
399
399
|
// This tag allows us to uniquely identify this as a React Element
|
|
400
|
-
$$typeof:
|
|
400
|
+
$$typeof: i,
|
|
401
401
|
// Built-in properties that belong on the element
|
|
402
402
|
type: e,
|
|
403
|
-
key:
|
|
403
|
+
key: o,
|
|
404
404
|
ref: s,
|
|
405
|
-
props:
|
|
405
|
+
props: w,
|
|
406
406
|
// Record the component responsible for creating this element.
|
|
407
|
-
_owner:
|
|
407
|
+
_owner: S
|
|
408
408
|
};
|
|
409
|
-
return
|
|
409
|
+
return y._store = {}, Object.defineProperty(y._store, "validated", {
|
|
410
410
|
configurable: !1,
|
|
411
411
|
enumerable: !1,
|
|
412
412
|
writable: !0,
|
|
413
413
|
value: !1
|
|
414
|
-
}), Object.defineProperty(
|
|
414
|
+
}), Object.defineProperty(y, "_self", {
|
|
415
415
|
configurable: !1,
|
|
416
416
|
enumerable: !1,
|
|
417
417
|
writable: !1,
|
|
418
418
|
value: m
|
|
419
|
-
}), Object.defineProperty(
|
|
419
|
+
}), Object.defineProperty(y, "_source", {
|
|
420
420
|
configurable: !1,
|
|
421
421
|
enumerable: !1,
|
|
422
422
|
writable: !1,
|
|
423
|
-
value:
|
|
424
|
-
}), Object.freeze && (Object.freeze(
|
|
423
|
+
value: A
|
|
424
|
+
}), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
|
|
425
425
|
};
|
|
426
|
-
function
|
|
426
|
+
function jt(e, o, s, m, A) {
|
|
427
427
|
{
|
|
428
|
-
var
|
|
429
|
-
s !== void 0 && (qe(s),
|
|
430
|
-
for (
|
|
431
|
-
n.call(
|
|
428
|
+
var S, w = {}, y = null, te = null;
|
|
429
|
+
s !== void 0 && (qe(s), y = "" + s), kt(o) && (qe(o.key), y = "" + o.key), yt(o) && (te = o.ref, vt(o, A));
|
|
430
|
+
for (S in o)
|
|
431
|
+
n.call(o, S) && !bt.hasOwnProperty(S) && (w[S] = o[S]);
|
|
432
432
|
if (e && e.defaultProps) {
|
|
433
433
|
var W = e.defaultProps;
|
|
434
|
-
for (
|
|
435
|
-
|
|
434
|
+
for (S in W)
|
|
435
|
+
w[S] === void 0 && (w[S] = W[S]);
|
|
436
436
|
}
|
|
437
|
-
if (
|
|
438
|
-
var
|
|
439
|
-
|
|
437
|
+
if (y || te) {
|
|
438
|
+
var H = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
439
|
+
y && xt(w, H), te && wt(w, H);
|
|
440
440
|
}
|
|
441
|
-
return
|
|
441
|
+
return Pt(e, y, te, A, m, Ve.current, w);
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
|
-
var Fe =
|
|
445
|
-
function
|
|
444
|
+
var Fe = D.ReactCurrentOwner, Qe = D.ReactDebugCurrentFrame;
|
|
445
|
+
function je(e) {
|
|
446
446
|
if (e) {
|
|
447
|
-
var
|
|
447
|
+
var o = e._owner, s = j(e.type, e._source, o ? o.type : null);
|
|
448
448
|
Qe.setExtraStackFrame(s);
|
|
449
449
|
} else
|
|
450
450
|
Qe.setExtraStackFrame(null);
|
|
@@ -452,12 +452,12 @@ function Gr() {
|
|
|
452
452
|
var Me;
|
|
453
453
|
Me = !1;
|
|
454
454
|
function $e(e) {
|
|
455
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
455
|
+
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
456
456
|
}
|
|
457
457
|
function Xe() {
|
|
458
458
|
{
|
|
459
459
|
if (Fe.current) {
|
|
460
|
-
var e =
|
|
460
|
+
var e = R(Fe.current.type);
|
|
461
461
|
if (e)
|
|
462
462
|
return `
|
|
463
463
|
|
|
@@ -466,155 +466,155 @@ Check the render method of \`` + e + "`.";
|
|
|
466
466
|
return "";
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function Ct(e) {
|
|
470
470
|
return "";
|
|
471
471
|
}
|
|
472
472
|
var Ze = {};
|
|
473
|
-
function
|
|
473
|
+
function At(e) {
|
|
474
474
|
{
|
|
475
|
-
var
|
|
476
|
-
if (!
|
|
475
|
+
var o = Xe();
|
|
476
|
+
if (!o) {
|
|
477
477
|
var s = typeof e == "string" ? e : e.displayName || e.name;
|
|
478
|
-
s && (
|
|
478
|
+
s && (o = `
|
|
479
479
|
|
|
480
480
|
Check the top-level render call using <` + s + ">.");
|
|
481
481
|
}
|
|
482
|
-
return
|
|
482
|
+
return o;
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function et(e, o) {
|
|
486
486
|
{
|
|
487
487
|
if (!e._store || e._store.validated || e.key != null)
|
|
488
488
|
return;
|
|
489
489
|
e._store.validated = !0;
|
|
490
|
-
var s =
|
|
490
|
+
var s = At(o);
|
|
491
491
|
if (Ze[s])
|
|
492
492
|
return;
|
|
493
493
|
Ze[s] = !0;
|
|
494
494
|
var m = "";
|
|
495
|
-
e && e._owner && e._owner !== Fe.current && (m = " It was passed a child from " +
|
|
495
|
+
e && e._owner && e._owner !== Fe.current && (m = " It was passed a child from " + R(e._owner.type) + "."), je(e), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', s, m), je(null);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function tt(e, o) {
|
|
499
499
|
{
|
|
500
500
|
if (typeof e != "object")
|
|
501
501
|
return;
|
|
502
502
|
if (Oe(e))
|
|
503
503
|
for (var s = 0; s < e.length; s++) {
|
|
504
504
|
var m = e[s];
|
|
505
|
-
$e(m) &&
|
|
505
|
+
$e(m) && et(m, o);
|
|
506
506
|
}
|
|
507
507
|
else if ($e(e))
|
|
508
508
|
e._store && (e._store.validated = !0);
|
|
509
509
|
else if (e) {
|
|
510
|
-
var
|
|
511
|
-
if (typeof
|
|
512
|
-
for (var
|
|
513
|
-
$e(
|
|
510
|
+
var A = F(e);
|
|
511
|
+
if (typeof A == "function" && A !== e.entries)
|
|
512
|
+
for (var S = A.call(e), w; !(w = S.next()).done; )
|
|
513
|
+
$e(w.value) && et(w.value, o);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function Tt(e) {
|
|
518
518
|
{
|
|
519
|
-
var
|
|
520
|
-
if (
|
|
519
|
+
var o = e.type;
|
|
520
|
+
if (o == null || typeof o == "string")
|
|
521
521
|
return;
|
|
522
522
|
var s;
|
|
523
|
-
if (typeof
|
|
524
|
-
s =
|
|
525
|
-
else if (typeof
|
|
523
|
+
if (typeof o == "function")
|
|
524
|
+
s = o.propTypes;
|
|
525
|
+
else if (typeof o == "object" && (o.$$typeof === x || // Note: Memo only checks outer props here.
|
|
526
526
|
// Inner props are checked in the reconciler.
|
|
527
|
-
|
|
528
|
-
s =
|
|
527
|
+
o.$$typeof === N))
|
|
528
|
+
s = o.propTypes;
|
|
529
529
|
else
|
|
530
530
|
return;
|
|
531
531
|
if (s) {
|
|
532
|
-
var m =
|
|
532
|
+
var m = R(o);
|
|
533
533
|
Te(s, e.props, "prop", m, e);
|
|
534
|
-
} else if (
|
|
534
|
+
} else if (o.PropTypes !== void 0 && !Me) {
|
|
535
535
|
Me = !0;
|
|
536
|
-
var
|
|
537
|
-
|
|
536
|
+
var A = R(o);
|
|
537
|
+
P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", A || "Unknown");
|
|
538
538
|
}
|
|
539
|
-
typeof
|
|
539
|
+
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Nt(e) {
|
|
543
543
|
{
|
|
544
|
-
for (var
|
|
545
|
-
var m =
|
|
544
|
+
for (var o = Object.keys(e.props), s = 0; s < o.length; s++) {
|
|
545
|
+
var m = o[s];
|
|
546
546
|
if (m !== "children" && m !== "key") {
|
|
547
|
-
|
|
547
|
+
je(e), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), je(null);
|
|
548
548
|
break;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
e.ref !== null && (
|
|
551
|
+
e.ref !== null && (je(e), P("Invalid attribute `ref` supplied to `React.Fragment`."), je(null));
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
|
-
var
|
|
555
|
-
function
|
|
554
|
+
var rt = {};
|
|
555
|
+
function at(e, o, s, m, A, S) {
|
|
556
556
|
{
|
|
557
|
-
var
|
|
558
|
-
if (!
|
|
559
|
-
var
|
|
560
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
561
|
-
var
|
|
562
|
-
|
|
557
|
+
var w = L(e);
|
|
558
|
+
if (!w) {
|
|
559
|
+
var y = "";
|
|
560
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
561
|
+
var te = Ct();
|
|
562
|
+
te ? y += te : y += Xe();
|
|
563
563
|
var W;
|
|
564
|
-
e === null ? W = "null" : Oe(e) ? W = "array" : e !== void 0 && e.$$typeof ===
|
|
564
|
+
e === null ? W = "null" : Oe(e) ? W = "array" : e !== void 0 && e.$$typeof === i ? (W = "<" + (R(e.type) || "Unknown") + " />", y = " Did you accidentally export a JSX literal instead of a component?") : W = typeof e, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", W, y);
|
|
565
565
|
}
|
|
566
|
-
var
|
|
567
|
-
if (
|
|
568
|
-
return
|
|
569
|
-
if (
|
|
570
|
-
var de =
|
|
566
|
+
var H = jt(e, o, s, A, S);
|
|
567
|
+
if (H == null)
|
|
568
|
+
return H;
|
|
569
|
+
if (w) {
|
|
570
|
+
var de = o.children;
|
|
571
571
|
if (de !== void 0)
|
|
572
572
|
if (m)
|
|
573
573
|
if (Oe(de)) {
|
|
574
574
|
for (var Ce = 0; Ce < de.length; Ce++)
|
|
575
|
-
|
|
575
|
+
tt(de[Ce], e);
|
|
576
576
|
Object.freeze && Object.freeze(de);
|
|
577
577
|
} else
|
|
578
|
-
|
|
578
|
+
P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
579
579
|
else
|
|
580
|
-
|
|
580
|
+
tt(de, e);
|
|
581
581
|
}
|
|
582
|
-
if (n.call(
|
|
583
|
-
var ve =
|
|
584
|
-
return
|
|
582
|
+
if (n.call(o, "key")) {
|
|
583
|
+
var ve = R(e), ae = Object.keys(o).filter(function(Bt) {
|
|
584
|
+
return Bt !== "key";
|
|
585
585
|
}), Ue = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
586
|
-
if (!
|
|
587
|
-
var
|
|
588
|
-
|
|
586
|
+
if (!rt[ve + Ue]) {
|
|
587
|
+
var Lt = ae.length > 0 ? "{" + ae.join(": ..., ") + ": ...}" : "{}";
|
|
588
|
+
P(`A props object containing a "key" prop is being spread into JSX:
|
|
589
589
|
let props = %s;
|
|
590
590
|
<%s {...props} />
|
|
591
591
|
React keys must be passed directly to JSX without using spread:
|
|
592
592
|
let props = %s;
|
|
593
|
-
<%s key={someKey} {...props} />`, Ue, ve,
|
|
593
|
+
<%s key={someKey} {...props} />`, Ue, ve, Lt, ve), rt[ve + Ue] = !0;
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
|
-
return e === u ?
|
|
596
|
+
return e === u ? Nt(H) : Tt(H), H;
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
|
-
function
|
|
600
|
-
return
|
|
599
|
+
function St(e, o, s) {
|
|
600
|
+
return at(e, o, s, !0);
|
|
601
601
|
}
|
|
602
|
-
function
|
|
603
|
-
return
|
|
602
|
+
function Rt(e, o, s) {
|
|
603
|
+
return at(e, o, s, !1);
|
|
604
604
|
}
|
|
605
|
-
var
|
|
606
|
-
Se.Fragment = u, Se.jsx =
|
|
605
|
+
var Et = Rt, It = St;
|
|
606
|
+
Se.Fragment = u, Se.jsx = Et, Se.jsxs = It;
|
|
607
607
|
})()), Se;
|
|
608
608
|
}
|
|
609
|
-
var
|
|
610
|
-
function
|
|
611
|
-
return
|
|
609
|
+
var it;
|
|
610
|
+
function Wt() {
|
|
611
|
+
return it || (it = 1, process.env.NODE_ENV === "production" ? Ie.exports = Ut() : Ie.exports = Gt()), Ie.exports;
|
|
612
612
|
}
|
|
613
|
-
var
|
|
614
|
-
const
|
|
613
|
+
var t = Wt();
|
|
614
|
+
const dt = ["en", "hi"], st = {
|
|
615
615
|
en: "English",
|
|
616
616
|
hi: "हिन्दी"
|
|
617
|
-
},
|
|
617
|
+
}, ut = {
|
|
618
618
|
en: {
|
|
619
619
|
kundli: "Kundli",
|
|
620
620
|
birthChart: "Birth Chart",
|
|
@@ -789,47 +789,7 @@ const dr = ["en", "hi"], sr = {
|
|
|
789
789
|
formOriginalPrice: "$100",
|
|
790
790
|
formDiscountedPrice: "$25",
|
|
791
791
|
formPriceAria: "Price",
|
|
792
|
-
proceedWithPlan: "Proceed with plan "
|
|
793
|
-
// Kundli Plan Bottom Sheet
|
|
794
|
-
planSheetTitle: "Choose Your Kundli Plan",
|
|
795
|
-
planProceedToPayment: "Proceed to Payment",
|
|
796
|
-
planMostPopular: "Most popular",
|
|
797
|
-
planAstrologerHeading: "We will assign you a top astrologer from below",
|
|
798
|
-
planNameBasic: "Kundli Report",
|
|
799
|
-
planNameGuidance: "Kundli Report + Astrologer Guidance",
|
|
800
|
-
planSaveLabel: "Save ~25%",
|
|
801
|
-
// Plan Features
|
|
802
|
-
planFeatureDetailedInsights: "Detailed insights on love, marriage, career, health & finances",
|
|
803
|
-
planFeaturePracticalRemedies: "Practical remedies like gemstones, rudraksha & mantras",
|
|
804
|
-
planFeatureClearLanguage: "Written in clear, easy-to-understand language by expert astrologers",
|
|
805
|
-
planFeatureAstrologyConsultant: "Astrology consultant",
|
|
806
|
-
planFeaturePersonalizedReading: "Personalized reading",
|
|
807
|
-
planFeatureIncludesPremium: "Includes everything in the Premium Personalized Kundli",
|
|
808
|
-
planFeaturePlusConsultation: "PLUS: A 30-minute private consultation with an expert astrologer",
|
|
809
|
-
planFeatureRealTimeAnswers: "Get real-time answers & guidance for your biggest life concerns",
|
|
810
|
-
planFeatureTailoredRemedies: "Remedies & timelines tailored to your unique birth chart",
|
|
811
|
-
// Astrologer Card
|
|
812
|
-
planAstrologerExp: "{{years}} Years of experience",
|
|
813
|
-
planAstrologerCertCertifiedJyotish: "Certified Jyotish Acharya",
|
|
814
|
-
planAstrologerCertAccurateSolutions: "Guaranteed accurate solutions",
|
|
815
|
-
planAstrologerCertVedicAstrology: "12+ Years Vedic Astrology",
|
|
816
|
-
planAstrologerCertResultOriented: "Result-Oriented Solutions",
|
|
817
|
-
planAstrologerCertBhuCertified: "BHU Certified Vedic Astrologer",
|
|
818
|
-
planAstrologerCertMantraRudraksha: "Mantra & Rudraksha Specialist",
|
|
819
|
-
planAstrologerCertKundliBhavfal: "Kundli Report & Bhavfal Specialist",
|
|
820
|
-
planAstrologerCertAccurateKundliMatching: "Accurate Kundli Matching",
|
|
821
|
-
//astro name
|
|
822
|
-
planAstrologerNameJyoti: "Jyoti Acharya Neeraj",
|
|
823
|
-
planAstrologerExpJyoti: "18+ Years of experience",
|
|
824
|
-
planAstrologerNameSamiksha: "Ashwini",
|
|
825
|
-
planAstrologerExpSamiksha: "12+ Years of experience",
|
|
826
|
-
planAstrologerNameNeeraj: "Meenakshi",
|
|
827
|
-
planAstrologerExpNeeraj: "12+ Years of experience",
|
|
828
|
-
planAstrologerNameAshwini: "Astro Ashwini",
|
|
829
|
-
planAstrologerExpAshwini: "16 Years of experience",
|
|
830
|
-
and: "And",
|
|
831
|
-
astrologyGuidance: "Astrology Guidance",
|
|
832
|
-
selectPackage: "Select Package"
|
|
792
|
+
proceedWithPlan: "Proceed with plan "
|
|
833
793
|
},
|
|
834
794
|
hi: {
|
|
835
795
|
kundli: "कुंडली",
|
|
@@ -1004,122 +964,82 @@ const dr = ["en", "hi"], sr = {
|
|
|
1004
964
|
formOriginalPrice: "$100",
|
|
1005
965
|
formDiscountedPrice: "$25",
|
|
1006
966
|
formPriceAria: "कीमत",
|
|
1007
|
-
proceedWithPlan: "योजना के साथ आगे बढ़ें "
|
|
1008
|
-
// Kundli Plan Bottom Sheet
|
|
1009
|
-
planSheetTitle: "अपना कुंडली प्लान चुनें",
|
|
1010
|
-
planProceedToPayment: "पेमेंट के लिए आगे बढ़ें",
|
|
1011
|
-
planMostPopular: "सबसे लोकप्रिय",
|
|
1012
|
-
planAstrologerHeading: "हम आपके लिए नीचे दिए गए टॉप ज्योतिषियों में से एक को चुनेंगे",
|
|
1013
|
-
planNameBasic: "कुंडली रिपोर्ट",
|
|
1014
|
-
planNameGuidance: "कुंडली रिपोर्ट + ज्योतिषी से बात",
|
|
1015
|
-
planSaveLabel: "~25% बचाएं",
|
|
1016
|
-
// Plan Features
|
|
1017
|
-
planFeatureDetailedInsights: "प्यार, शादी, करियर, सेहत और पैसों के बारे में पूरी जानकारी",
|
|
1018
|
-
planFeaturePracticalRemedies: "रत्न, रुद्राक्ष और मंत्र जैसे आसान उपाय",
|
|
1019
|
-
planFeatureClearLanguage: "ज्योतिषियों द्वारा आसान भाषा में लिखी गई",
|
|
1020
|
-
planFeatureAstrologyConsultant: "ज्योतिषी से बात नहीं होगी",
|
|
1021
|
-
planFeaturePersonalizedReading: "आपके लिए खास रीडिंग",
|
|
1022
|
-
planFeatureIncludesPremium: "प्रीमियम कुंडली रिपोर्ट में जो कुछ भी है, सब मिलेगा",
|
|
1023
|
-
planFeaturePlusConsultation: "साथ ही: एक अनुभवी ज्योतिषी से 30 मिनट की प्राइवेट बात",
|
|
1024
|
-
planFeatureRealTimeAnswers: "अपनी सबसे बड़ी परेशानियों का सीधा जवाब और सही सलाह पाएं",
|
|
1025
|
-
planFeatureTailoredRemedies: "आपकी कुंडली के हिसाब से उपाय और सही समय की जानकारी",
|
|
1026
|
-
// Astrologer Card
|
|
1027
|
-
planAstrologerExp: "साल का अनुभव",
|
|
1028
|
-
planAstrologerCertCertifiedJyotish: "प्रमाणित ज्योतिष आचार्य",
|
|
1029
|
-
planAstrologerCertAccurateSolutions: "सटीक समाधान की गारंटी",
|
|
1030
|
-
planAstrologerCertVedicAstrology: "12+ साल का वैदिक ज्योतिष",
|
|
1031
|
-
planAstrologerCertResultOriented: "नतीजों पर आधारित समाधान",
|
|
1032
|
-
planAstrologerCertBhuCertified: "BHU से प्रमाणित वैदिक ज्योतिषी",
|
|
1033
|
-
planAstrologerCertMantraRudraksha: "मंत्र और रुद्राक्ष विशेषज्ञ",
|
|
1034
|
-
planAstrologerCertKundliBhavfal: "कुंडली रिपोर्ट और भावफल विशेषज्ञ",
|
|
1035
|
-
planAstrologerCertAccurateKundliMatching: "महर्षि पराशर ज्योतिष विद्यालय से प्रशिक्षित",
|
|
1036
|
-
//astro name
|
|
1037
|
-
planAstrologerNameJyoti: "ज्योतिष आचार्य नीरज",
|
|
1038
|
-
planAstrologerExpJyoti: "18+ साल का अनुभव",
|
|
1039
|
-
planAstrologerNameSamiksha: "अश्विनी",
|
|
1040
|
-
planAstrologerExpSamiksha: "12+ साल का अनुभव",
|
|
1041
|
-
planAstrologerNameNeeraj: "मीनाक्षी",
|
|
1042
|
-
planAstrologerExpNeeraj: "12+ साल का अनुभव",
|
|
1043
|
-
planAstrologerNameAshwini: "ज्योतिष अश्विनी",
|
|
1044
|
-
planAstrologerExpAshwini: "16 साल का अनुभव",
|
|
1045
|
-
and: "और",
|
|
1046
|
-
astrologyGuidance: "ज्योतिष से सलाह",
|
|
1047
|
-
selectPackage: "पैकेज चुनें"
|
|
967
|
+
proceedWithPlan: "योजना के साथ आगे बढ़ें "
|
|
1048
968
|
}
|
|
1049
|
-
},
|
|
1050
|
-
locale:
|
|
1051
|
-
children:
|
|
969
|
+
}, mt = lt(null), En = ({
|
|
970
|
+
locale: r,
|
|
971
|
+
children: i
|
|
1052
972
|
}) => {
|
|
1053
|
-
const u = { locale:
|
|
1054
|
-
return /* @__PURE__ */
|
|
973
|
+
const u = { locale: r, t: (f) => ut[r]?.[f] ?? f };
|
|
974
|
+
return /* @__PURE__ */ t.jsx(mt.Provider, { value: u, children: i });
|
|
1055
975
|
};
|
|
1056
|
-
function
|
|
1057
|
-
return
|
|
976
|
+
function Kt() {
|
|
977
|
+
return Ke(mt);
|
|
1058
978
|
}
|
|
1059
|
-
const
|
|
1060
|
-
container:
|
|
1061
|
-
main:
|
|
1062
|
-
kundliHeaderNoBorder:
|
|
1063
|
-
headerSeparator:
|
|
1064
|
-
langDropdownWrap:
|
|
1065
|
-
langTrigger:
|
|
1066
|
-
langIcon:
|
|
1067
|
-
langLabel:
|
|
1068
|
-
langMenu:
|
|
1069
|
-
langOption:
|
|
1070
|
-
},
|
|
1071
|
-
const { priority:
|
|
1072
|
-
return
|
|
1073
|
-
...
|
|
979
|
+
const Ht = "_container_1e1th_1", Yt = "_main_1e1th_7", qt = "_kundliHeaderNoBorder_1e1th_12", Vt = "_headerSeparator_1e1th_16", zt = "_langDropdownWrap_1e1th_21", Jt = "_langTrigger_1e1th_25", Qt = "_langIcon_1e1th_37", Xt = "_langLabel_1e1th_44", Zt = "_langMenu_1e1th_49", er = "_langOption_1e1th_55", pe = {
|
|
980
|
+
container: Ht,
|
|
981
|
+
main: Yt,
|
|
982
|
+
kundliHeaderNoBorder: qt,
|
|
983
|
+
headerSeparator: Vt,
|
|
984
|
+
langDropdownWrap: zt,
|
|
985
|
+
langTrigger: Jt,
|
|
986
|
+
langIcon: Qt,
|
|
987
|
+
langLabel: Xt,
|
|
988
|
+
langMenu: Zt,
|
|
989
|
+
langOption: er
|
|
990
|
+
}, Be = (r) => {
|
|
991
|
+
const { priority: i, fetchPriority: d, width: u, height: f, ...k } = r;
|
|
992
|
+
return We.createElement("img", {
|
|
993
|
+
...k,
|
|
1074
994
|
width: u ?? 1,
|
|
1075
|
-
height:
|
|
995
|
+
height: f ?? 1,
|
|
1076
996
|
decoding: "async",
|
|
1077
|
-
loading:
|
|
997
|
+
loading: k.loading ?? (i ? "eager" : "lazy"),
|
|
1078
998
|
...d && { fetchPriority: d }
|
|
1079
999
|
});
|
|
1080
1000
|
};
|
|
1081
|
-
function
|
|
1001
|
+
function tr(r) {
|
|
1082
1002
|
if (typeof window > "u" || !window.localStorage)
|
|
1083
1003
|
return null;
|
|
1084
1004
|
try {
|
|
1085
|
-
return window.localStorage.getItem(
|
|
1005
|
+
return window.localStorage.getItem(r);
|
|
1086
1006
|
} catch {
|
|
1087
1007
|
return null;
|
|
1088
1008
|
}
|
|
1089
1009
|
}
|
|
1090
|
-
function
|
|
1010
|
+
function rr(r, i) {
|
|
1091
1011
|
if (!(typeof window > "u" || !window.localStorage))
|
|
1092
1012
|
try {
|
|
1093
|
-
window.localStorage.setItem(
|
|
1013
|
+
window.localStorage.setItem(r, i);
|
|
1094
1014
|
} catch {
|
|
1095
1015
|
}
|
|
1096
1016
|
}
|
|
1097
|
-
function In(
|
|
1017
|
+
function In(r) {
|
|
1098
1018
|
if (!(typeof window > "u" || !window.localStorage))
|
|
1099
1019
|
try {
|
|
1100
|
-
window.localStorage.removeItem(
|
|
1020
|
+
window.localStorage.removeItem(r);
|
|
1101
1021
|
} catch {
|
|
1102
1022
|
}
|
|
1103
1023
|
}
|
|
1104
|
-
function
|
|
1024
|
+
function Ln() {
|
|
1105
1025
|
if (typeof window > "u" || !window.localStorage)
|
|
1106
1026
|
return !1;
|
|
1107
1027
|
try {
|
|
1108
|
-
const
|
|
1109
|
-
return window.localStorage.setItem(
|
|
1028
|
+
const r = "__kundli_storage_test__";
|
|
1029
|
+
return window.localStorage.setItem(r, "1"), window.localStorage.removeItem(r), !0;
|
|
1110
1030
|
} catch {
|
|
1111
1031
|
return !1;
|
|
1112
1032
|
}
|
|
1113
1033
|
}
|
|
1114
|
-
const
|
|
1115
|
-
function
|
|
1116
|
-
const
|
|
1117
|
-
return
|
|
1034
|
+
const ft = "kundli_language";
|
|
1035
|
+
function ar() {
|
|
1036
|
+
const r = tr(ft);
|
|
1037
|
+
return r && dt.includes(r) ? r : null;
|
|
1118
1038
|
}
|
|
1119
|
-
function
|
|
1120
|
-
|
|
1039
|
+
function nr(r) {
|
|
1040
|
+
rr(ft, r);
|
|
1121
1041
|
}
|
|
1122
|
-
const He =
|
|
1042
|
+
const He = lt(null), or = {
|
|
1123
1043
|
fullName: "",
|
|
1124
1044
|
phone: "",
|
|
1125
1045
|
gender: "",
|
|
@@ -1129,117 +1049,117 @@ const He = cr(null), ot = {
|
|
|
1129
1049
|
birthTime: "",
|
|
1130
1050
|
birthTimeUnknown: !1,
|
|
1131
1051
|
birthPlace: ""
|
|
1132
|
-
},
|
|
1133
|
-
locale:
|
|
1134
|
-
showLanguageSelector:
|
|
1052
|
+
}, Bn = ({
|
|
1053
|
+
locale: r,
|
|
1054
|
+
showLanguageSelector: i = !0,
|
|
1135
1055
|
showSheet: d,
|
|
1136
1056
|
userId: u,
|
|
1137
|
-
isGlobal:
|
|
1138
|
-
variant:
|
|
1139
|
-
googleMapsApiKey:
|
|
1140
|
-
logoUrl:
|
|
1141
|
-
reportImageUrl:
|
|
1142
|
-
reportImagePriority:
|
|
1143
|
-
backgroundImagePriority:
|
|
1144
|
-
universityLogoUrls:
|
|
1145
|
-
sampleReportHref:
|
|
1146
|
-
onViewSampleReport:
|
|
1147
|
-
ctaHref:
|
|
1148
|
-
onCtaClick:
|
|
1149
|
-
onBack:
|
|
1150
|
-
readMoreReviewsHref:
|
|
1151
|
-
onProceed:
|
|
1152
|
-
proceedHref:
|
|
1153
|
-
originalPriceLabel:
|
|
1154
|
-
discountedPriceLabel:
|
|
1057
|
+
isGlobal: f,
|
|
1058
|
+
variant: k,
|
|
1059
|
+
googleMapsApiKey: _,
|
|
1060
|
+
logoUrl: E,
|
|
1061
|
+
reportImageUrl: x,
|
|
1062
|
+
reportImagePriority: I,
|
|
1063
|
+
backgroundImagePriority: l,
|
|
1064
|
+
universityLogoUrls: N,
|
|
1065
|
+
sampleReportHref: g,
|
|
1066
|
+
onViewSampleReport: p,
|
|
1067
|
+
ctaHref: v,
|
|
1068
|
+
onCtaClick: C,
|
|
1069
|
+
onBack: F,
|
|
1070
|
+
readMoreReviewsHref: D,
|
|
1071
|
+
onProceed: P,
|
|
1072
|
+
proceedHref: q,
|
|
1073
|
+
originalPriceLabel: b,
|
|
1074
|
+
discountedPriceLabel: U,
|
|
1155
1075
|
discountPillLabel: O,
|
|
1156
|
-
analytics:
|
|
1076
|
+
analytics: M,
|
|
1157
1077
|
onProceedGuidance: Z,
|
|
1158
|
-
onLocaleChange:
|
|
1159
|
-
imageComponent:
|
|
1160
|
-
children:
|
|
1078
|
+
onLocaleChange: T,
|
|
1079
|
+
imageComponent: L = Be,
|
|
1080
|
+
children: V
|
|
1161
1081
|
}) => {
|
|
1162
|
-
const [
|
|
1082
|
+
const [$, R] = Y("landing"), [B, K] = Y(r ?? "en"), [J, ne] = Y(or), ge = z(!0);
|
|
1163
1083
|
X(() => {
|
|
1164
|
-
const
|
|
1165
|
-
|
|
1084
|
+
const ce = ar();
|
|
1085
|
+
ce && K(ce);
|
|
1166
1086
|
}, []), X(() => {
|
|
1167
|
-
|
|
1168
|
-
}, [
|
|
1087
|
+
nr(B);
|
|
1088
|
+
}, [B]), X(() => {
|
|
1169
1089
|
if (ge.current) {
|
|
1170
1090
|
ge.current = !1;
|
|
1171
1091
|
return;
|
|
1172
1092
|
}
|
|
1173
|
-
|
|
1174
|
-
}, [
|
|
1093
|
+
T?.(B);
|
|
1094
|
+
}, [B, T]);
|
|
1175
1095
|
const Q = Ge(
|
|
1176
1096
|
() => ({
|
|
1177
|
-
locale:
|
|
1178
|
-
showLanguageSelector:
|
|
1097
|
+
locale: r,
|
|
1098
|
+
showLanguageSelector: i,
|
|
1179
1099
|
showSheet: d,
|
|
1180
1100
|
userId: u,
|
|
1181
|
-
isGlobal:
|
|
1182
|
-
variant:
|
|
1183
|
-
googleMapsApiKey:
|
|
1184
|
-
logoUrl:
|
|
1185
|
-
reportImageUrl:
|
|
1186
|
-
reportImagePriority:
|
|
1187
|
-
backgroundImagePriority:
|
|
1188
|
-
universityLogoUrls:
|
|
1189
|
-
sampleReportHref:
|
|
1190
|
-
onViewSampleReport:
|
|
1191
|
-
ctaHref:
|
|
1192
|
-
onCtaClick:
|
|
1193
|
-
onBack:
|
|
1194
|
-
readMoreReviewsHref:
|
|
1195
|
-
onProceed:
|
|
1196
|
-
proceedHref:
|
|
1197
|
-
originalPriceLabel:
|
|
1198
|
-
discountedPriceLabel:
|
|
1101
|
+
isGlobal: f,
|
|
1102
|
+
variant: k,
|
|
1103
|
+
googleMapsApiKey: _,
|
|
1104
|
+
logoUrl: E,
|
|
1105
|
+
reportImageUrl: x,
|
|
1106
|
+
reportImagePriority: I,
|
|
1107
|
+
backgroundImagePriority: l,
|
|
1108
|
+
universityLogoUrls: N,
|
|
1109
|
+
sampleReportHref: g,
|
|
1110
|
+
onViewSampleReport: p,
|
|
1111
|
+
ctaHref: v,
|
|
1112
|
+
onCtaClick: C,
|
|
1113
|
+
onBack: F,
|
|
1114
|
+
readMoreReviewsHref: D,
|
|
1115
|
+
onProceed: P,
|
|
1116
|
+
proceedHref: q,
|
|
1117
|
+
originalPriceLabel: b,
|
|
1118
|
+
discountedPriceLabel: U,
|
|
1199
1119
|
discountPillLabel: O,
|
|
1200
|
-
analytics:
|
|
1120
|
+
analytics: M,
|
|
1201
1121
|
onProceedGuidance: Z,
|
|
1202
|
-
onLocaleChange:
|
|
1203
|
-
imageComponent:
|
|
1122
|
+
onLocaleChange: T,
|
|
1123
|
+
imageComponent: L
|
|
1204
1124
|
}),
|
|
1205
1125
|
[
|
|
1206
|
-
|
|
1207
|
-
|
|
1126
|
+
r,
|
|
1127
|
+
i,
|
|
1208
1128
|
d,
|
|
1209
1129
|
u,
|
|
1210
|
-
|
|
1130
|
+
f,
|
|
1131
|
+
k,
|
|
1132
|
+
_,
|
|
1133
|
+
E,
|
|
1211
1134
|
x,
|
|
1212
|
-
|
|
1135
|
+
I,
|
|
1136
|
+
l,
|
|
1213
1137
|
N,
|
|
1214
|
-
|
|
1215
|
-
F,
|
|
1216
|
-
c,
|
|
1217
|
-
S,
|
|
1138
|
+
g,
|
|
1218
1139
|
p,
|
|
1140
|
+
v,
|
|
1141
|
+
C,
|
|
1142
|
+
F,
|
|
1219
1143
|
D,
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
g,
|
|
1225
|
-
G,
|
|
1226
|
-
_,
|
|
1227
|
-
M,
|
|
1144
|
+
P,
|
|
1145
|
+
q,
|
|
1146
|
+
b,
|
|
1147
|
+
U,
|
|
1228
1148
|
O,
|
|
1229
|
-
|
|
1149
|
+
M,
|
|
1230
1150
|
Z,
|
|
1231
|
-
|
|
1232
|
-
|
|
1151
|
+
T,
|
|
1152
|
+
L
|
|
1233
1153
|
]
|
|
1234
|
-
), ie =
|
|
1235
|
-
|
|
1236
|
-
}, [Q.analytics]), ue =
|
|
1237
|
-
|
|
1154
|
+
), ie = _e(() => {
|
|
1155
|
+
R("form");
|
|
1156
|
+
}, [Q.analytics]), ue = _e(() => {
|
|
1157
|
+
R("landing"), Q.onBack?.();
|
|
1238
1158
|
}, [Q.onBack]), se = Ge(
|
|
1239
1159
|
() => ({
|
|
1240
|
-
view:
|
|
1241
|
-
locale:
|
|
1242
|
-
setLocale:
|
|
1160
|
+
view: $,
|
|
1161
|
+
locale: B,
|
|
1162
|
+
setLocale: K,
|
|
1243
1163
|
config: Q,
|
|
1244
1164
|
formValues: J,
|
|
1245
1165
|
setFormValues: ne,
|
|
@@ -1248,110 +1168,110 @@ const He = cr(null), ot = {
|
|
|
1248
1168
|
onProceed: Q.onProceed,
|
|
1249
1169
|
onProceedGuidance: Q.onProceedGuidance
|
|
1250
1170
|
}),
|
|
1251
|
-
[
|
|
1171
|
+
[$, B, Q, J, ie, ue]
|
|
1252
1172
|
);
|
|
1253
|
-
return /* @__PURE__ */
|
|
1173
|
+
return /* @__PURE__ */ t.jsx(He.Provider, { value: se, children: V });
|
|
1254
1174
|
};
|
|
1255
|
-
function
|
|
1256
|
-
return
|
|
1175
|
+
function Ee() {
|
|
1176
|
+
return Ke(He);
|
|
1257
1177
|
}
|
|
1258
1178
|
function Dn() {
|
|
1259
|
-
const
|
|
1260
|
-
if (!
|
|
1179
|
+
const r = Ke(He);
|
|
1180
|
+
if (!r)
|
|
1261
1181
|
throw new Error("useKundliContextOrThrow must be used within KundliProvider");
|
|
1262
|
-
return
|
|
1182
|
+
return r;
|
|
1263
1183
|
}
|
|
1264
|
-
const
|
|
1265
|
-
header:
|
|
1266
|
-
centered:
|
|
1267
|
-
},
|
|
1268
|
-
t,
|
|
1269
|
-
onBack:
|
|
1184
|
+
const ir = "_header_19172_1", sr = "_centered_19172_8", ct = {
|
|
1185
|
+
header: ir,
|
|
1186
|
+
centered: sr
|
|
1187
|
+
}, cr = ({
|
|
1188
|
+
t: r,
|
|
1189
|
+
onBack: i,
|
|
1270
1190
|
className: d = "",
|
|
1271
1191
|
align: u = "left"
|
|
1272
|
-
}) => /* @__PURE__ */
|
|
1273
|
-
|
|
1192
|
+
}) => /* @__PURE__ */ t.jsx(
|
|
1193
|
+
Dt,
|
|
1274
1194
|
{
|
|
1275
|
-
title:
|
|
1276
|
-
subtitle:
|
|
1277
|
-
onBack:
|
|
1278
|
-
backAriaLabel:
|
|
1279
|
-
className: `${
|
|
1195
|
+
title: r("formTitle"),
|
|
1196
|
+
subtitle: r("formSubtitle"),
|
|
1197
|
+
onBack: i,
|
|
1198
|
+
backAriaLabel: r("back"),
|
|
1199
|
+
className: `${ct.header} ${u === "center" ? ct.centered : ""} ${d}`
|
|
1280
1200
|
}
|
|
1281
|
-
),
|
|
1282
|
-
wrap:
|
|
1283
|
-
card:
|
|
1284
|
-
cardInner:
|
|
1285
|
-
field:
|
|
1286
|
-
labelRow:
|
|
1287
|
-
label:
|
|
1288
|
-
req:
|
|
1289
|
-
help:
|
|
1290
|
-
choiceRow:
|
|
1291
|
-
choiceBtn:
|
|
1292
|
-
choiceBtnActive:
|
|
1293
|
-
infoBtn:
|
|
1294
|
-
infoImg:
|
|
1295
|
-
infoWrap:
|
|
1296
|
-
tooltip:
|
|
1297
|
-
tooltipArrow:
|
|
1298
|
-
inputWrap:
|
|
1299
|
-
isdWrap:
|
|
1300
|
-
phoneInputGroup:
|
|
1301
|
-
isdSelectWrap:
|
|
1302
|
-
isdSelectTrigger:
|
|
1303
|
-
isdDropdown:
|
|
1304
|
-
isdSearchWrap:
|
|
1305
|
-
isdSearchInput:
|
|
1306
|
-
isdOption:
|
|
1307
|
-
isdOptionActive:
|
|
1308
|
-
isdCountryName:
|
|
1309
|
-
isdCountryCode:
|
|
1310
|
-
isdNoResult:
|
|
1311
|
-
suggestions:
|
|
1312
|
-
suggestionItem:
|
|
1313
|
-
suggestionMain: $
|
|
1314
|
-
suggestionSecondary:
|
|
1315
|
-
suggestionsHint:
|
|
1316
|
-
timePopover:
|
|
1317
|
-
timePickerRow:
|
|
1318
|
-
timePickerSelect:
|
|
1319
|
-
timePickerColon:
|
|
1320
|
-
meridiemToggle:
|
|
1321
|
-
meridiemBtn:
|
|
1322
|
-
meridiemActive:
|
|
1323
|
-
timePopoverActions:
|
|
1324
|
-
timePopoverBtn:
|
|
1325
|
-
timePopoverOk:
|
|
1326
|
-
input:
|
|
1201
|
+
), lr = "_wrap_kiw0x_1", dr = "_card_kiw0x_5", ur = "_cardInner_kiw0x_12", mr = "_field_kiw0x_44", fr = "_labelRow_kiw0x_48", hr = "_label_kiw0x_48", pr = "_req_kiw0x_57", gr = "_help_kiw0x_61", _r = "_choiceRow_kiw0x_68", br = "_choiceBtn_kiw0x_74", yr = "_choiceBtnActive_kiw0x_99", kr = "_infoBtn_kiw0x_105", vr = "_infoImg_kiw0x_122", xr = "_infoWrap_kiw0x_128", wr = "_tooltip_kiw0x_134", Pr = "_tooltipArrow_kiw0x_150", jr = "_inputWrap_kiw0x_161", Cr = "_isdWrap_kiw0x_165", Ar = "_phoneInputGroup_kiw0x_169", Tr = "_isdSelectWrap_kiw0x_178", Nr = "_isdSelectTrigger_kiw0x_197", Sr = "_isdDropdown_kiw0x_214", Rr = "_isdSearchWrap_kiw0x_229", Er = "_isdSearchInput_kiw0x_237", Ir = "_isdOption_kiw0x_255", Lr = "_isdOptionActive_kiw0x_275", Br = "_isdCountryName_kiw0x_281", Dr = "_isdCountryCode_kiw0x_288", Or = "_isdNoResult_kiw0x_295", Fr = "_suggestions_kiw0x_302", Mr = "_suggestionItem_kiw0x_315", $r = "_suggestionMain_kiw0x_333", Ur = "_suggestionSecondary_kiw0x_339", Gr = "_suggestionsHint_kiw0x_344", Wr = "_timePopover_kiw0x_359", Kr = "_timePickerRow_kiw0x_375", Hr = "_timePickerSelect_kiw0x_381", Yr = "_timePickerColon_kiw0x_397", qr = "_meridiemToggle_kiw0x_405", Vr = "_meridiemBtn_kiw0x_414", zr = "_meridiemActive_kiw0x_429", Jr = "_timePopoverActions_kiw0x_434", Qr = "_timePopoverBtn_kiw0x_440", Xr = "_timePopoverOk_kiw0x_459", Zr = "_input_kiw0x_161", ea = "_phoneInput_kiw0x_169", ta = "_iconBtn_kiw0x_512", ra = "_iconBtnInteractive_kiw0x_518", aa = "_iconImg_kiw0x_537", na = "_checkboxRow_kiw0x_543", oa = "_checkbox_kiw0x_543", ia = "_checkboxText_kiw0x_581", a = {
|
|
1202
|
+
wrap: lr,
|
|
1203
|
+
card: dr,
|
|
1204
|
+
cardInner: ur,
|
|
1205
|
+
field: mr,
|
|
1206
|
+
labelRow: fr,
|
|
1207
|
+
label: hr,
|
|
1208
|
+
req: pr,
|
|
1209
|
+
help: gr,
|
|
1210
|
+
choiceRow: _r,
|
|
1211
|
+
choiceBtn: br,
|
|
1212
|
+
choiceBtnActive: yr,
|
|
1213
|
+
infoBtn: kr,
|
|
1214
|
+
infoImg: vr,
|
|
1215
|
+
infoWrap: xr,
|
|
1216
|
+
tooltip: wr,
|
|
1217
|
+
tooltipArrow: Pr,
|
|
1218
|
+
inputWrap: jr,
|
|
1219
|
+
isdWrap: Cr,
|
|
1220
|
+
phoneInputGroup: Ar,
|
|
1221
|
+
isdSelectWrap: Tr,
|
|
1222
|
+
isdSelectTrigger: Nr,
|
|
1223
|
+
isdDropdown: Sr,
|
|
1224
|
+
isdSearchWrap: Rr,
|
|
1225
|
+
isdSearchInput: Er,
|
|
1226
|
+
isdOption: Ir,
|
|
1227
|
+
isdOptionActive: Lr,
|
|
1228
|
+
isdCountryName: Br,
|
|
1229
|
+
isdCountryCode: Dr,
|
|
1230
|
+
isdNoResult: Or,
|
|
1231
|
+
suggestions: Fr,
|
|
1232
|
+
suggestionItem: Mr,
|
|
1233
|
+
suggestionMain: $r,
|
|
1234
|
+
suggestionSecondary: Ur,
|
|
1235
|
+
suggestionsHint: Gr,
|
|
1236
|
+
timePopover: Wr,
|
|
1237
|
+
timePickerRow: Kr,
|
|
1238
|
+
timePickerSelect: Hr,
|
|
1239
|
+
timePickerColon: Yr,
|
|
1240
|
+
meridiemToggle: qr,
|
|
1241
|
+
meridiemBtn: Vr,
|
|
1242
|
+
meridiemActive: zr,
|
|
1243
|
+
timePopoverActions: Jr,
|
|
1244
|
+
timePopoverBtn: Qr,
|
|
1245
|
+
timePopoverOk: Xr,
|
|
1246
|
+
input: Zr,
|
|
1327
1247
|
phoneInput: ea,
|
|
1328
|
-
iconBtn:
|
|
1329
|
-
iconBtnInteractive:
|
|
1248
|
+
iconBtn: ta,
|
|
1249
|
+
iconBtnInteractive: ra,
|
|
1330
1250
|
iconImg: aa,
|
|
1331
1251
|
checkboxRow: na,
|
|
1332
1252
|
checkbox: oa,
|
|
1333
1253
|
checkboxText: ia
|
|
1334
1254
|
};
|
|
1335
|
-
let
|
|
1336
|
-
const sa = (
|
|
1337
|
-
const
|
|
1255
|
+
let Le = null;
|
|
1256
|
+
const sa = (r, i) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Le || (Le = new Promise((d, u) => {
|
|
1257
|
+
const f = document.querySelector(
|
|
1338
1258
|
'script[data-google-maps-places="true"]'
|
|
1339
1259
|
);
|
|
1340
|
-
if (
|
|
1341
|
-
|
|
1260
|
+
if (f) {
|
|
1261
|
+
f.addEventListener("load", () => d()), f.addEventListener(
|
|
1342
1262
|
"error",
|
|
1343
1263
|
() => u(new Error("Failed to load Google Maps API"))
|
|
1344
1264
|
);
|
|
1345
1265
|
return;
|
|
1346
1266
|
}
|
|
1347
|
-
const
|
|
1348
|
-
|
|
1349
|
-
const
|
|
1267
|
+
const k = document.createElement("script"), _ = new URL("https://maps.googleapis.com/maps/api/js");
|
|
1268
|
+
_.searchParams.set("key", r), _.searchParams.set("libraries", "places"), _.searchParams.set("loading", "async"), i && _.searchParams.set("language", i), k.src = _.toString(), k.async = !0, k.defer = !0, k.setAttribute("data-google-maps-places", "true"), k.onload = () => {
|
|
1269
|
+
const E = Date.now(), x = () => {
|
|
1350
1270
|
if (window.google?.maps?.places) {
|
|
1351
1271
|
d();
|
|
1352
1272
|
return;
|
|
1353
1273
|
}
|
|
1354
|
-
if (Date.now() -
|
|
1274
|
+
if (Date.now() - E > 2e3) {
|
|
1355
1275
|
u(
|
|
1356
1276
|
new Error(
|
|
1357
1277
|
"Google Maps loaded but Places library is unavailable. Check API key restrictions / enabled APIs."
|
|
@@ -1359,120 +1279,120 @@ const sa = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1359
1279
|
);
|
|
1360
1280
|
return;
|
|
1361
1281
|
}
|
|
1362
|
-
window.setTimeout(
|
|
1282
|
+
window.setTimeout(x, 50);
|
|
1363
1283
|
};
|
|
1364
|
-
|
|
1365
|
-
},
|
|
1366
|
-
}),
|
|
1367
|
-
const { apiKey:
|
|
1368
|
-
|
|
1369
|
-
}, [
|
|
1284
|
+
x();
|
|
1285
|
+
}, k.onerror = () => u(new Error("Failed to load Google Maps API")), document.head.appendChild(k);
|
|
1286
|
+
}), Le), ca = (r) => {
|
|
1287
|
+
const { apiKey: i, language: d = "en", restrictCountry: u, deferLoad: f = !1 } = r, [k, _] = Y(!1), [E, x] = Y([]), [I, l] = Y(!1), [N, g] = Y(null), [p, v] = Y(!f), C = z(null), F = z(null), D = z(null), P = _e(() => {
|
|
1288
|
+
f && v(!0);
|
|
1289
|
+
}, [f]);
|
|
1370
1290
|
X(() => {
|
|
1371
|
-
if (!
|
|
1372
|
-
|
|
1291
|
+
if (!i || !p) {
|
|
1292
|
+
_(!1), g(null);
|
|
1373
1293
|
return;
|
|
1374
1294
|
}
|
|
1375
|
-
sa(
|
|
1376
|
-
|
|
1295
|
+
sa(i, d).then(() => {
|
|
1296
|
+
C.current = new google.maps.places.AutocompleteService();
|
|
1377
1297
|
const O = document.createElement("div");
|
|
1378
|
-
|
|
1298
|
+
F.current = new google.maps.places.PlacesService(O), D.current = new google.maps.places.AutocompleteSessionToken(), _(!0), g(null);
|
|
1379
1299
|
}).catch((O) => {
|
|
1380
|
-
|
|
1300
|
+
_(!1), g(O?.message || "Failed to load location service");
|
|
1381
1301
|
});
|
|
1382
|
-
}, [
|
|
1383
|
-
const
|
|
1302
|
+
}, [i, d, p]);
|
|
1303
|
+
const q = _e(
|
|
1384
1304
|
async (O) => {
|
|
1385
|
-
if (!O || O.length < 2 || !
|
|
1386
|
-
|
|
1305
|
+
if (!O || O.length < 2 || !C.current) {
|
|
1306
|
+
x([]);
|
|
1387
1307
|
return;
|
|
1388
1308
|
}
|
|
1389
|
-
|
|
1309
|
+
l(!0);
|
|
1390
1310
|
try {
|
|
1391
|
-
const
|
|
1311
|
+
const M = {
|
|
1392
1312
|
input: O,
|
|
1393
1313
|
types: ["(cities)"],
|
|
1394
|
-
sessionToken:
|
|
1314
|
+
sessionToken: D.current ?? void 0
|
|
1395
1315
|
};
|
|
1396
|
-
u && (
|
|
1397
|
-
const Z = await new Promise((
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
(
|
|
1401
|
-
|
|
1316
|
+
u && (M.componentRestrictions = { country: u });
|
|
1317
|
+
const Z = await new Promise((T, L) => {
|
|
1318
|
+
C.current.getPlacePredictions(
|
|
1319
|
+
M,
|
|
1320
|
+
(V, $) => {
|
|
1321
|
+
$ === google.maps.places.PlacesServiceStatus.OK && V ? T(V) : $ === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? T([]) : L(new Error(`Places API error: ${$}`));
|
|
1402
1322
|
}
|
|
1403
1323
|
);
|
|
1404
1324
|
});
|
|
1405
|
-
|
|
1406
|
-
Z.map((
|
|
1407
|
-
place_id:
|
|
1408
|
-
description:
|
|
1325
|
+
x(
|
|
1326
|
+
Z.map((T) => ({
|
|
1327
|
+
place_id: T.place_id,
|
|
1328
|
+
description: T.description,
|
|
1409
1329
|
structured_formatting: {
|
|
1410
|
-
main_text:
|
|
1411
|
-
secondary_text:
|
|
1330
|
+
main_text: T.structured_formatting?.main_text || T.description,
|
|
1331
|
+
secondary_text: T.structured_formatting?.secondary_text || ""
|
|
1412
1332
|
}
|
|
1413
1333
|
}))
|
|
1414
1334
|
);
|
|
1415
1335
|
} catch {
|
|
1416
|
-
|
|
1336
|
+
x([]);
|
|
1417
1337
|
} finally {
|
|
1418
|
-
|
|
1338
|
+
l(!1);
|
|
1419
1339
|
}
|
|
1420
1340
|
},
|
|
1421
1341
|
[u]
|
|
1422
|
-
),
|
|
1342
|
+
), b = _e(
|
|
1423
1343
|
async (O) => {
|
|
1424
|
-
if (!
|
|
1344
|
+
if (!F.current) return null;
|
|
1425
1345
|
try {
|
|
1426
|
-
const
|
|
1427
|
-
(
|
|
1428
|
-
|
|
1346
|
+
const M = await new Promise(
|
|
1347
|
+
(R, B) => {
|
|
1348
|
+
F.current.getDetails(
|
|
1429
1349
|
{
|
|
1430
1350
|
placeId: O,
|
|
1431
1351
|
fields: ["geometry", "address_components", "formatted_address"],
|
|
1432
|
-
sessionToken:
|
|
1352
|
+
sessionToken: D.current ?? void 0
|
|
1433
1353
|
},
|
|
1434
|
-
(
|
|
1435
|
-
J === google.maps.places.PlacesServiceStatus.OK &&
|
|
1354
|
+
(K, J) => {
|
|
1355
|
+
J === google.maps.places.PlacesServiceStatus.OK && K ? R(K) : B(new Error(`Place details error: ${J}`));
|
|
1436
1356
|
}
|
|
1437
1357
|
);
|
|
1438
1358
|
}
|
|
1439
1359
|
);
|
|
1440
|
-
|
|
1441
|
-
const Z =
|
|
1442
|
-
let
|
|
1443
|
-
return
|
|
1444
|
-
|
|
1360
|
+
D.current = new google.maps.places.AutocompleteSessionToken();
|
|
1361
|
+
const Z = M.geometry?.location?.lat() || 0, T = M.geometry?.location?.lng() || 0;
|
|
1362
|
+
let L = "", V = "", $ = "";
|
|
1363
|
+
return M.address_components?.forEach((R) => {
|
|
1364
|
+
R.types.includes("locality") && (L = R.long_name), R.types.includes("administrative_area_level_1") && (V = R.long_name), R.types.includes("country") && ($ = R.long_name);
|
|
1445
1365
|
}), {
|
|
1446
|
-
display_name:
|
|
1366
|
+
display_name: M.formatted_address || "",
|
|
1447
1367
|
lat: Z,
|
|
1448
|
-
lng:
|
|
1449
|
-
city:
|
|
1450
|
-
state:
|
|
1451
|
-
country:
|
|
1368
|
+
lng: T,
|
|
1369
|
+
city: L,
|
|
1370
|
+
state: V,
|
|
1371
|
+
country: $
|
|
1452
1372
|
};
|
|
1453
1373
|
} catch {
|
|
1454
1374
|
return null;
|
|
1455
1375
|
}
|
|
1456
1376
|
},
|
|
1457
1377
|
[]
|
|
1458
|
-
),
|
|
1378
|
+
), U = _e(() => x([]), []);
|
|
1459
1379
|
return {
|
|
1460
|
-
isLoaded:
|
|
1461
|
-
predictions:
|
|
1462
|
-
isSearching:
|
|
1463
|
-
loadError:
|
|
1464
|
-
searchPlaces:
|
|
1465
|
-
getPlaceDetails:
|
|
1466
|
-
clearPredictions:
|
|
1467
|
-
triggerLoad:
|
|
1380
|
+
isLoaded: k,
|
|
1381
|
+
predictions: E,
|
|
1382
|
+
isSearching: I,
|
|
1383
|
+
loadError: N,
|
|
1384
|
+
searchPlaces: q,
|
|
1385
|
+
getPlaceDetails: b,
|
|
1386
|
+
clearPredictions: U,
|
|
1387
|
+
triggerLoad: P
|
|
1468
1388
|
// Call this to start loading Google Maps when deferred
|
|
1469
1389
|
};
|
|
1470
|
-
},
|
|
1390
|
+
}, Ae = {
|
|
1471
1391
|
time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
|
|
1472
1392
|
location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
|
|
1473
1393
|
date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
1474
1394
|
info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
|
|
1475
|
-
},
|
|
1395
|
+
}, ht = [
|
|
1476
1396
|
{ code: "+1", country: "USA / Canada" },
|
|
1477
1397
|
{ code: "+7", country: "Russia / Kazakhstan" },
|
|
1478
1398
|
{ code: "+20", country: "Egypt" },
|
|
@@ -1543,75 +1463,75 @@ const sa = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1543
1463
|
{ code: "+976", country: "Mongolia" },
|
|
1544
1464
|
{ code: "+977", country: "Nepal" }
|
|
1545
1465
|
];
|
|
1546
|
-
|
|
1547
|
-
const
|
|
1548
|
-
t,
|
|
1549
|
-
values:
|
|
1466
|
+
ht.map((r) => r.code);
|
|
1467
|
+
const la = {}, da = ({
|
|
1468
|
+
t: r,
|
|
1469
|
+
values: i,
|
|
1550
1470
|
onChange: d,
|
|
1551
1471
|
phoneIsdCode: u,
|
|
1552
|
-
onPhoneIsdCodeChange:
|
|
1553
|
-
showV1ExtraFields:
|
|
1554
|
-
analytics:
|
|
1555
|
-
googleMapsApiKey:
|
|
1556
|
-
className:
|
|
1472
|
+
onPhoneIsdCodeChange: f,
|
|
1473
|
+
showV1ExtraFields: k = !1,
|
|
1474
|
+
analytics: _,
|
|
1475
|
+
googleMapsApiKey: E,
|
|
1476
|
+
className: x = ""
|
|
1557
1477
|
}) => {
|
|
1558
|
-
const
|
|
1559
|
-
|
|
1560
|
-
const
|
|
1561
|
-
|
|
1562
|
-
fullName: () =>
|
|
1563
|
-
phone: () =>
|
|
1564
|
-
email: () =>
|
|
1565
|
-
dateOfBirth: () =>
|
|
1566
|
-
birthTime: () =>
|
|
1567
|
-
birthPlace: () =>
|
|
1478
|
+
const I = Ee(), l = I?.config?.analytics ?? _, N = I?.config.isGlobal ?? !0;
|
|
1479
|
+
I?.config?.variant;
|
|
1480
|
+
const g = I?.config?.googleMapsApiKey, [p, v] = Y(!1), [C, F] = Y(""), D = z(null), P = z(null), q = z({}), b = (n) => d({ ...i, ...n }), U = (n, c) => {
|
|
1481
|
+
c.trim() && !q.current[n] && (q.current[n] = !0, {
|
|
1482
|
+
fullName: () => l?.trackNameSectionFilled?.(),
|
|
1483
|
+
phone: () => l?.trackPhoneSectionFilled?.(),
|
|
1484
|
+
email: () => l?.trackEmailSectionFilled?.(),
|
|
1485
|
+
dateOfBirth: () => l?.trackDobFilled?.(),
|
|
1486
|
+
birthTime: () => l?.trackTimeFilled?.(),
|
|
1487
|
+
birthPlace: () => l?.trackPlaceOfBirthChosen?.()
|
|
1568
1488
|
}[n]?.());
|
|
1569
|
-
}, O = (n) => n.replace(/\D/g, "").slice(0, 10),
|
|
1570
|
-
|
|
1571
|
-
const
|
|
1572
|
-
const
|
|
1573
|
-
if (!
|
|
1574
|
-
const
|
|
1575
|
-
return `${
|
|
1489
|
+
}, O = (n) => n.replace(/\D/g, "").slice(0, 10), M = C.trim().toLowerCase(), Z = ht.filter((n) => M ? n.country.toLowerCase().includes(M) || n.code.includes(M) : !0), T = z(null);
|
|
1490
|
+
z(null);
|
|
1491
|
+
const L = z(null), V = z(0), $ = z(null), [R, B] = Y(!1), [K, J] = Y({ hour12: 12, minute: "00", meridiem: "AM" }), ne = (n) => String(n).padStart(2, "0"), ge = (n) => {
|
|
1492
|
+
const c = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1493
|
+
if (!c) return n;
|
|
1494
|
+
const G = Number(c[1]), re = c[2], Te = G >= 12 ? "PM" : "AM";
|
|
1495
|
+
return `${G % 12 === 0 ? 12 : G % 12}:${re} ${Te}`;
|
|
1576
1496
|
}, Q = (n) => {
|
|
1577
|
-
const
|
|
1578
|
-
if (!
|
|
1579
|
-
const
|
|
1580
|
-
return { hour12:
|
|
1497
|
+
const c = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1498
|
+
if (!c) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1499
|
+
const G = Number(c[1]), re = c[2], Te = G >= 12 ? "PM" : "AM";
|
|
1500
|
+
return { hour12: G % 12 === 0 ? 12 : G % 12, minute: re, meridiem: Te };
|
|
1581
1501
|
}, ie = (n) => {
|
|
1582
|
-
const
|
|
1583
|
-
let
|
|
1584
|
-
return n.meridiem === "PM" && (
|
|
1585
|
-
}, ue =
|
|
1502
|
+
const c = Math.min(12, Math.max(1, n.hour12)), G = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
|
|
1503
|
+
let re = c % 12;
|
|
1504
|
+
return n.meridiem === "PM" && (re += 12), `${ne(re)}:${G}`;
|
|
1505
|
+
}, ue = z(null), [se, ce] = Y(!1), [fe, oe] = Y(
|
|
1586
1506
|
null
|
|
1587
|
-
),
|
|
1588
|
-
predictions:
|
|
1507
|
+
), he = E ?? g ?? la?.VITE_GOOGLE_MAPS_API_KEY, me = (i.birthPlace ?? "").trim(), ee = N ? void 0 : "in", be = "en", {
|
|
1508
|
+
predictions: le,
|
|
1589
1509
|
isSearching: we,
|
|
1590
|
-
loadError:
|
|
1510
|
+
loadError: ye,
|
|
1591
1511
|
searchPlaces: Pe,
|
|
1592
1512
|
clearPredictions: ke
|
|
1593
|
-
} =
|
|
1594
|
-
apiKey:
|
|
1595
|
-
language:
|
|
1513
|
+
} = ca({
|
|
1514
|
+
apiKey: he,
|
|
1515
|
+
language: be,
|
|
1596
1516
|
restrictCountry: ee
|
|
1597
1517
|
});
|
|
1598
1518
|
X(() => {
|
|
1599
|
-
const n = (
|
|
1600
|
-
ue.current && (ue.current.contains(
|
|
1519
|
+
const n = (c) => {
|
|
1520
|
+
ue.current && (ue.current.contains(c.target) || ce(!1));
|
|
1601
1521
|
};
|
|
1602
1522
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1603
1523
|
}, []), X(() => {
|
|
1604
|
-
const n = (
|
|
1605
|
-
|
|
1524
|
+
const n = (c) => {
|
|
1525
|
+
D.current && (D.current.contains(c.target) || (v(!1), F("")));
|
|
1606
1526
|
};
|
|
1607
1527
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1608
1528
|
}, []), X(() => {
|
|
1609
|
-
if (!
|
|
1529
|
+
if (!p) return;
|
|
1610
1530
|
const n = window.setTimeout(() => {
|
|
1611
|
-
|
|
1531
|
+
P.current?.focus();
|
|
1612
1532
|
}, 0);
|
|
1613
1533
|
return () => window.clearTimeout(n);
|
|
1614
|
-
}, [
|
|
1534
|
+
}, [p]), X(() => {
|
|
1615
1535
|
if (!se) return;
|
|
1616
1536
|
if (me.length < 2) {
|
|
1617
1537
|
ke();
|
|
@@ -1622,124 +1542,124 @@ const ca = {}, da = ({
|
|
|
1622
1542
|
}, 250);
|
|
1623
1543
|
return () => window.clearTimeout(n);
|
|
1624
1544
|
}, [ke, se, me, Pe]);
|
|
1625
|
-
const
|
|
1626
|
-
const
|
|
1627
|
-
if (!(!
|
|
1628
|
-
if (document.activeElement ===
|
|
1629
|
-
|
|
1545
|
+
const j = (n) => {
|
|
1546
|
+
const c = n.current;
|
|
1547
|
+
if (!(!c || c.disabled)) {
|
|
1548
|
+
if (document.activeElement === c && L.current === c && Date.now() - V.current < 6e4) {
|
|
1549
|
+
c.blur();
|
|
1630
1550
|
return;
|
|
1631
1551
|
}
|
|
1632
|
-
if (typeof
|
|
1633
|
-
|
|
1552
|
+
if (typeof c.showPicker == "function") {
|
|
1553
|
+
c.showPicker(), L.current = c, V.current = Date.now();
|
|
1634
1554
|
return;
|
|
1635
1555
|
}
|
|
1636
|
-
|
|
1556
|
+
c.focus(), L.current = c, V.current = Date.now();
|
|
1637
1557
|
}
|
|
1638
1558
|
};
|
|
1639
1559
|
return X(() => {
|
|
1640
|
-
const n = (
|
|
1641
|
-
|
|
1560
|
+
const n = (c) => {
|
|
1561
|
+
$.current && ($.current.contains(c.target) || B(!1));
|
|
1642
1562
|
};
|
|
1643
1563
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1644
1564
|
}, []), X(() => {
|
|
1645
|
-
const n = (
|
|
1646
|
-
|
|
1647
|
-
},
|
|
1648
|
-
|
|
1565
|
+
const n = (G) => {
|
|
1566
|
+
G.target?.closest?.("[data-info-tooltip]") == null && oe(null);
|
|
1567
|
+
}, c = (G) => {
|
|
1568
|
+
G.key === "Escape" && oe(null);
|
|
1649
1569
|
};
|
|
1650
|
-
return document.addEventListener("mousedown", n), document.addEventListener("keydown",
|
|
1651
|
-
document.removeEventListener("mousedown", n), document.removeEventListener("keydown",
|
|
1570
|
+
return document.addEventListener("mousedown", n), document.addEventListener("keydown", c), () => {
|
|
1571
|
+
document.removeEventListener("mousedown", n), document.removeEventListener("keydown", c);
|
|
1652
1572
|
};
|
|
1653
|
-
}, []), /* @__PURE__ */
|
|
1573
|
+
}, []), /* @__PURE__ */ t.jsx(
|
|
1654
1574
|
"section",
|
|
1655
1575
|
{
|
|
1656
|
-
className: `${a.wrap} ${
|
|
1657
|
-
"aria-label":
|
|
1658
|
-
children: /* @__PURE__ */
|
|
1659
|
-
/* @__PURE__ */
|
|
1660
|
-
/* @__PURE__ */
|
|
1661
|
-
|
|
1662
|
-
/* @__PURE__ */
|
|
1576
|
+
className: `${a.wrap} ${x}`,
|
|
1577
|
+
"aria-label": r("formTitle"),
|
|
1578
|
+
children: /* @__PURE__ */ t.jsx("div", { className: a.card, children: /* @__PURE__ */ t.jsxs("div", { className: a.cardInner, children: [
|
|
1579
|
+
/* @__PURE__ */ t.jsxs("div", { className: a.field, children: [
|
|
1580
|
+
/* @__PURE__ */ t.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ t.jsxs("label", { className: a.label, htmlFor: "kundli-full-name", children: [
|
|
1581
|
+
r("formFullName"),
|
|
1582
|
+
/* @__PURE__ */ t.jsx("span", { className: a.req, children: "*" })
|
|
1663
1583
|
] }) }),
|
|
1664
|
-
/* @__PURE__ */
|
|
1584
|
+
/* @__PURE__ */ t.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ t.jsx(
|
|
1665
1585
|
"input",
|
|
1666
1586
|
{
|
|
1667
1587
|
id: "kundli-full-name",
|
|
1668
1588
|
className: a.input,
|
|
1669
1589
|
type: "text",
|
|
1670
|
-
value:
|
|
1671
|
-
onFocus: () =>
|
|
1590
|
+
value: i.fullName,
|
|
1591
|
+
onFocus: () => l?.trackNameSectionClicked?.(),
|
|
1672
1592
|
onChange: (n) => {
|
|
1673
|
-
const
|
|
1674
|
-
|
|
1593
|
+
const c = n.target.value;
|
|
1594
|
+
b({ fullName: c }), U("fullName", c);
|
|
1675
1595
|
},
|
|
1676
|
-
placeholder:
|
|
1596
|
+
placeholder: r("formFullNamePlaceholder"),
|
|
1677
1597
|
autoComplete: "name"
|
|
1678
1598
|
}
|
|
1679
1599
|
) })
|
|
1680
1600
|
] }),
|
|
1681
|
-
/* @__PURE__ */
|
|
1682
|
-
/* @__PURE__ */
|
|
1683
|
-
|
|
1684
|
-
!
|
|
1601
|
+
/* @__PURE__ */ t.jsxs("div", { className: a.field, children: [
|
|
1602
|
+
/* @__PURE__ */ t.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ t.jsxs("label", { className: a.label, htmlFor: "kundli-phone", children: [
|
|
1603
|
+
r("formPhone"),
|
|
1604
|
+
!N && /* @__PURE__ */ t.jsx("span", { className: a.req, children: "*" })
|
|
1685
1605
|
] }) }),
|
|
1686
|
-
/* @__PURE__ */
|
|
1687
|
-
/* @__PURE__ */
|
|
1688
|
-
/* @__PURE__ */
|
|
1606
|
+
/* @__PURE__ */ t.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ t.jsxs("div", { className: a.isdWrap, ref: D, children: [
|
|
1607
|
+
/* @__PURE__ */ t.jsxs("div", { className: a.phoneInputGroup, children: [
|
|
1608
|
+
/* @__PURE__ */ t.jsx("div", { className: a.isdSelectWrap, children: /* @__PURE__ */ t.jsx(
|
|
1689
1609
|
"button",
|
|
1690
1610
|
{
|
|
1691
1611
|
type: "button",
|
|
1692
1612
|
className: a.isdSelectTrigger,
|
|
1693
1613
|
"aria-haspopup": "listbox",
|
|
1694
|
-
"aria-expanded":
|
|
1614
|
+
"aria-expanded": p,
|
|
1695
1615
|
onClick: () => {
|
|
1696
|
-
|
|
1616
|
+
v((n) => !n), F("");
|
|
1697
1617
|
},
|
|
1698
1618
|
children: u
|
|
1699
1619
|
}
|
|
1700
1620
|
) }),
|
|
1701
|
-
/* @__PURE__ */
|
|
1621
|
+
/* @__PURE__ */ t.jsx(
|
|
1702
1622
|
"input",
|
|
1703
1623
|
{
|
|
1704
1624
|
id: "kundli-phone",
|
|
1705
1625
|
className: `${a.input} ${a.phoneInput}`,
|
|
1706
1626
|
type: "tel",
|
|
1707
|
-
value:
|
|
1708
|
-
onFocus: () =>
|
|
1627
|
+
value: i.phone ?? "",
|
|
1628
|
+
onFocus: () => l?.trackPhoneSectionClicked?.(),
|
|
1709
1629
|
onChange: (n) => {
|
|
1710
|
-
const
|
|
1711
|
-
|
|
1630
|
+
const c = n.target.value;
|
|
1631
|
+
b({ phone: O(c) }), U("phone", O(c));
|
|
1712
1632
|
},
|
|
1713
|
-
placeholder:
|
|
1633
|
+
placeholder: r("formPhonePlaceholder"),
|
|
1714
1634
|
autoComplete: "tel",
|
|
1715
1635
|
inputMode: "numeric",
|
|
1716
1636
|
pattern: "[0-9]{10}",
|
|
1717
1637
|
maxLength: 10,
|
|
1718
|
-
required: !
|
|
1719
|
-
"aria-required": !
|
|
1638
|
+
required: !N,
|
|
1639
|
+
"aria-required": !N
|
|
1720
1640
|
}
|
|
1721
1641
|
)
|
|
1722
1642
|
] }),
|
|
1723
|
-
|
|
1643
|
+
p && /* @__PURE__ */ t.jsxs(
|
|
1724
1644
|
"div",
|
|
1725
1645
|
{
|
|
1726
1646
|
className: a.isdDropdown,
|
|
1727
1647
|
role: "listbox",
|
|
1728
1648
|
"aria-label": "ISD code options",
|
|
1729
1649
|
children: [
|
|
1730
|
-
/* @__PURE__ */
|
|
1650
|
+
/* @__PURE__ */ t.jsx("div", { className: a.isdSearchWrap, children: /* @__PURE__ */ t.jsx(
|
|
1731
1651
|
"input",
|
|
1732
1652
|
{
|
|
1733
|
-
ref:
|
|
1653
|
+
ref: P,
|
|
1734
1654
|
type: "text",
|
|
1735
|
-
value:
|
|
1736
|
-
onChange: (n) =>
|
|
1655
|
+
value: C,
|
|
1656
|
+
onChange: (n) => F(n.target.value),
|
|
1737
1657
|
placeholder: "Search country",
|
|
1738
1658
|
className: a.isdSearchInput,
|
|
1739
1659
|
"aria-label": "Search country"
|
|
1740
1660
|
}
|
|
1741
1661
|
) }),
|
|
1742
|
-
Z.length > 0 ? Z.map((n) => /* @__PURE__ */
|
|
1662
|
+
Z.length > 0 ? Z.map((n) => /* @__PURE__ */ t.jsxs(
|
|
1743
1663
|
"button",
|
|
1744
1664
|
{
|
|
1745
1665
|
type: "button",
|
|
@@ -1747,148 +1667,148 @@ const ca = {}, da = ({
|
|
|
1747
1667
|
"aria-selected": n.code === u,
|
|
1748
1668
|
className: `${a.isdOption} ${n.code === u ? a.isdOptionActive : ""}`,
|
|
1749
1669
|
onClick: () => {
|
|
1750
|
-
|
|
1670
|
+
f(n.code), v(!1), F("");
|
|
1751
1671
|
},
|
|
1752
1672
|
children: [
|
|
1753
|
-
/* @__PURE__ */
|
|
1754
|
-
/* @__PURE__ */
|
|
1673
|
+
/* @__PURE__ */ t.jsx("span", { className: a.isdCountryName, children: n.country }),
|
|
1674
|
+
/* @__PURE__ */ t.jsx("span", { className: a.isdCountryCode, children: n.code })
|
|
1755
1675
|
]
|
|
1756
1676
|
},
|
|
1757
1677
|
`${n.code}-${n.country}`
|
|
1758
|
-
)) : /* @__PURE__ */
|
|
1678
|
+
)) : /* @__PURE__ */ t.jsx("div", { className: a.isdNoResult, children: "No country found" })
|
|
1759
1679
|
]
|
|
1760
1680
|
}
|
|
1761
1681
|
)
|
|
1762
1682
|
] }) })
|
|
1763
1683
|
] }),
|
|
1764
|
-
|
|
1765
|
-
/* @__PURE__ */
|
|
1766
|
-
|
|
1767
|
-
/* @__PURE__ */
|
|
1684
|
+
k && /* @__PURE__ */ t.jsxs("div", { className: a.field, children: [
|
|
1685
|
+
/* @__PURE__ */ t.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ t.jsxs("label", { className: a.label, children: [
|
|
1686
|
+
r("formGender"),
|
|
1687
|
+
/* @__PURE__ */ t.jsx("span", { className: a.req, children: "*" })
|
|
1768
1688
|
] }) }),
|
|
1769
|
-
/* @__PURE__ */
|
|
1689
|
+
/* @__PURE__ */ t.jsxs(
|
|
1770
1690
|
"div",
|
|
1771
1691
|
{
|
|
1772
1692
|
className: a.choiceRow,
|
|
1773
1693
|
role: "radiogroup",
|
|
1774
|
-
"aria-label":
|
|
1694
|
+
"aria-label": r("formGender"),
|
|
1775
1695
|
children: [
|
|
1776
|
-
/* @__PURE__ */
|
|
1696
|
+
/* @__PURE__ */ t.jsx(
|
|
1777
1697
|
"button",
|
|
1778
1698
|
{
|
|
1779
1699
|
id: "kundli-gender-male",
|
|
1780
1700
|
type: "button",
|
|
1781
|
-
className: `${a.choiceBtn} ${
|
|
1701
|
+
className: `${a.choiceBtn} ${i.gender === "male" ? a.choiceBtnActive : ""}`,
|
|
1782
1702
|
onClick: () => {
|
|
1783
|
-
|
|
1703
|
+
b({ gender: "male" }), l?.trackGenderSelected?.({
|
|
1784
1704
|
gender: "male"
|
|
1785
1705
|
});
|
|
1786
1706
|
},
|
|
1787
1707
|
role: "radio",
|
|
1788
|
-
"aria-checked":
|
|
1789
|
-
children:
|
|
1708
|
+
"aria-checked": i.gender === "male",
|
|
1709
|
+
children: r("formGenderMale")
|
|
1790
1710
|
}
|
|
1791
1711
|
),
|
|
1792
|
-
/* @__PURE__ */
|
|
1712
|
+
/* @__PURE__ */ t.jsx(
|
|
1793
1713
|
"button",
|
|
1794
1714
|
{
|
|
1795
1715
|
id: "kundli-gender-female",
|
|
1796
1716
|
type: "button",
|
|
1797
|
-
className: `${a.choiceBtn} ${
|
|
1717
|
+
className: `${a.choiceBtn} ${i.gender === "female" ? a.choiceBtnActive : ""}`,
|
|
1798
1718
|
onClick: () => {
|
|
1799
|
-
|
|
1719
|
+
b({ gender: "female" }), l?.trackGenderSelected?.({
|
|
1800
1720
|
gender: "female"
|
|
1801
1721
|
});
|
|
1802
1722
|
},
|
|
1803
1723
|
role: "radio",
|
|
1804
|
-
"aria-checked":
|
|
1805
|
-
children:
|
|
1724
|
+
"aria-checked": i.gender === "female",
|
|
1725
|
+
children: r("formGenderFemale")
|
|
1806
1726
|
}
|
|
1807
1727
|
)
|
|
1808
1728
|
]
|
|
1809
1729
|
}
|
|
1810
1730
|
)
|
|
1811
1731
|
] }),
|
|
1812
|
-
|
|
1813
|
-
/* @__PURE__ */
|
|
1814
|
-
|
|
1815
|
-
/* @__PURE__ */
|
|
1732
|
+
N && /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsxs("div", { className: a.field, children: [
|
|
1733
|
+
/* @__PURE__ */ t.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ t.jsxs("label", { className: a.label, htmlFor: "kundli-email", children: [
|
|
1734
|
+
r("formEmail"),
|
|
1735
|
+
/* @__PURE__ */ t.jsx("span", { className: a.req, children: "*" })
|
|
1816
1736
|
] }) }),
|
|
1817
|
-
/* @__PURE__ */
|
|
1818
|
-
/* @__PURE__ */
|
|
1737
|
+
/* @__PURE__ */ t.jsx("div", { className: a.help, children: r("formEmailHelp") }),
|
|
1738
|
+
/* @__PURE__ */ t.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ t.jsx(
|
|
1819
1739
|
"input",
|
|
1820
1740
|
{
|
|
1821
1741
|
id: "kundli-email",
|
|
1822
1742
|
className: a.input,
|
|
1823
1743
|
type: "email",
|
|
1824
|
-
value:
|
|
1825
|
-
onChange: (n) =>
|
|
1826
|
-
placeholder:
|
|
1744
|
+
value: i.email,
|
|
1745
|
+
onChange: (n) => b({ email: n.target.value }),
|
|
1746
|
+
placeholder: r("formEmailPlaceholder"),
|
|
1827
1747
|
autoComplete: "email",
|
|
1828
1748
|
required: !0,
|
|
1829
1749
|
"aria-required": !0
|
|
1830
1750
|
}
|
|
1831
1751
|
) })
|
|
1832
1752
|
] }) }),
|
|
1833
|
-
/* @__PURE__ */
|
|
1834
|
-
/* @__PURE__ */
|
|
1835
|
-
/* @__PURE__ */
|
|
1836
|
-
|
|
1837
|
-
/* @__PURE__ */
|
|
1753
|
+
/* @__PURE__ */ t.jsxs("div", { className: a.field, children: [
|
|
1754
|
+
/* @__PURE__ */ t.jsxs("div", { className: a.labelRow, children: [
|
|
1755
|
+
/* @__PURE__ */ t.jsxs("label", { className: a.label, htmlFor: "kundli-dob", children: [
|
|
1756
|
+
r("formDob"),
|
|
1757
|
+
/* @__PURE__ */ t.jsx("span", { className: a.req, children: "*" })
|
|
1838
1758
|
] }),
|
|
1839
|
-
/* @__PURE__ */
|
|
1840
|
-
/* @__PURE__ */
|
|
1759
|
+
/* @__PURE__ */ t.jsxs("div", { className: a.infoWrap, "data-info-tooltip": !0, children: [
|
|
1760
|
+
/* @__PURE__ */ t.jsx(
|
|
1841
1761
|
"button",
|
|
1842
1762
|
{
|
|
1843
1763
|
type: "button",
|
|
1844
1764
|
className: a.infoBtn,
|
|
1845
|
-
"aria-label":
|
|
1765
|
+
"aria-label": r("info"),
|
|
1846
1766
|
"aria-expanded": fe === "dob",
|
|
1847
1767
|
onClick: () => {
|
|
1848
|
-
oe((n) => n === "dob" ? null : "dob"),
|
|
1768
|
+
oe((n) => n === "dob" ? null : "dob"), l?.trackInfoIconClicked?.({ fieldName: "dob" });
|
|
1849
1769
|
},
|
|
1850
|
-
children: /* @__PURE__ */
|
|
1770
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1851
1771
|
"img",
|
|
1852
1772
|
{
|
|
1853
1773
|
className: a.infoImg,
|
|
1854
|
-
src:
|
|
1774
|
+
src: Ae.info,
|
|
1855
1775
|
alt: "",
|
|
1856
1776
|
"aria-hidden": !0
|
|
1857
1777
|
}
|
|
1858
1778
|
)
|
|
1859
1779
|
}
|
|
1860
1780
|
),
|
|
1861
|
-
fe === "dob" && /* @__PURE__ */
|
|
1862
|
-
|
|
1863
|
-
/* @__PURE__ */
|
|
1781
|
+
fe === "dob" && /* @__PURE__ */ t.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
|
|
1782
|
+
r("formDobInfo"),
|
|
1783
|
+
/* @__PURE__ */ t.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
|
|
1864
1784
|
] })
|
|
1865
1785
|
] })
|
|
1866
1786
|
] }),
|
|
1867
|
-
/* @__PURE__ */
|
|
1868
|
-
/* @__PURE__ */
|
|
1787
|
+
/* @__PURE__ */ t.jsxs("div", { className: a.inputWrap, children: [
|
|
1788
|
+
/* @__PURE__ */ t.jsx(
|
|
1869
1789
|
"input",
|
|
1870
1790
|
{
|
|
1871
1791
|
id: "kundli-dob",
|
|
1872
1792
|
className: a.input,
|
|
1873
1793
|
type: "date",
|
|
1874
|
-
ref:
|
|
1875
|
-
value:
|
|
1794
|
+
ref: T,
|
|
1795
|
+
value: i.dateOfBirth,
|
|
1876
1796
|
max: (() => {
|
|
1877
1797
|
const n = /* @__PURE__ */ new Date();
|
|
1878
1798
|
return `${n.getFullYear()}-${ne(n.getMonth() + 1)}-${ne(n.getDate())}`;
|
|
1879
1799
|
})(),
|
|
1880
1800
|
onChange: (n) => {
|
|
1881
|
-
const
|
|
1882
|
-
|
|
1801
|
+
const c = n.target.value, G = /* @__PURE__ */ new Date(), re = `${G.getFullYear()}-${ne(G.getMonth() + 1)}-${ne(G.getDate())}`;
|
|
1802
|
+
c && c > re || (b({ dateOfBirth: c }), U("dateOfBirth", c), L.current = null);
|
|
1883
1803
|
},
|
|
1884
|
-
onFocus: () =>
|
|
1885
|
-
onClick: () =>
|
|
1804
|
+
onFocus: () => l?.trackDobClicked?.(),
|
|
1805
|
+
onClick: () => j(T),
|
|
1886
1806
|
onBlur: () => {
|
|
1887
|
-
|
|
1807
|
+
L.current === T.current && (L.current = null);
|
|
1888
1808
|
}
|
|
1889
1809
|
}
|
|
1890
1810
|
),
|
|
1891
|
-
/* @__PURE__ */
|
|
1811
|
+
/* @__PURE__ */ t.jsx(
|
|
1892
1812
|
"button",
|
|
1893
1813
|
{
|
|
1894
1814
|
type: "button",
|
|
@@ -1896,13 +1816,13 @@ const ca = {}, da = ({
|
|
|
1896
1816
|
"aria-label": "Open date picker",
|
|
1897
1817
|
onMouseDown: (n) => n.preventDefault(),
|
|
1898
1818
|
onClick: (n) => {
|
|
1899
|
-
n.preventDefault(), n.stopPropagation(),
|
|
1819
|
+
n.preventDefault(), n.stopPropagation(), j(T);
|
|
1900
1820
|
},
|
|
1901
|
-
children: /* @__PURE__ */
|
|
1821
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1902
1822
|
"img",
|
|
1903
1823
|
{
|
|
1904
1824
|
className: a.iconImg,
|
|
1905
|
-
src:
|
|
1825
|
+
src: Ae.date,
|
|
1906
1826
|
alt: "",
|
|
1907
1827
|
"aria-hidden": !0
|
|
1908
1828
|
}
|
|
@@ -1911,159 +1831,159 @@ const ca = {}, da = ({
|
|
|
1911
1831
|
)
|
|
1912
1832
|
] })
|
|
1913
1833
|
] }),
|
|
1914
|
-
/* @__PURE__ */
|
|
1915
|
-
/* @__PURE__ */
|
|
1916
|
-
/* @__PURE__ */
|
|
1917
|
-
|
|
1918
|
-
/* @__PURE__ */
|
|
1834
|
+
/* @__PURE__ */ t.jsxs("div", { className: a.field, children: [
|
|
1835
|
+
/* @__PURE__ */ t.jsxs("div", { className: a.labelRow, children: [
|
|
1836
|
+
/* @__PURE__ */ t.jsxs("label", { className: a.label, htmlFor: "kundli-birth-time", children: [
|
|
1837
|
+
r("formBirthTime"),
|
|
1838
|
+
/* @__PURE__ */ t.jsx("span", { className: a.req, children: "*" })
|
|
1919
1839
|
] }),
|
|
1920
|
-
/* @__PURE__ */
|
|
1921
|
-
/* @__PURE__ */
|
|
1840
|
+
/* @__PURE__ */ t.jsxs("div", { className: a.infoWrap, "data-info-tooltip": !0, children: [
|
|
1841
|
+
/* @__PURE__ */ t.jsx(
|
|
1922
1842
|
"button",
|
|
1923
1843
|
{
|
|
1924
1844
|
type: "button",
|
|
1925
1845
|
className: a.infoBtn,
|
|
1926
|
-
"aria-label":
|
|
1846
|
+
"aria-label": r("info"),
|
|
1927
1847
|
"aria-expanded": fe === "time",
|
|
1928
1848
|
onClick: () => {
|
|
1929
|
-
|
|
1849
|
+
l?.trackInfoIconClicked?.({ fieldName: "time" }), oe((n) => n === "time" ? null : "time");
|
|
1930
1850
|
},
|
|
1931
|
-
children: /* @__PURE__ */
|
|
1851
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1932
1852
|
"img",
|
|
1933
1853
|
{
|
|
1934
1854
|
className: a.infoImg,
|
|
1935
|
-
src:
|
|
1855
|
+
src: Ae.info,
|
|
1936
1856
|
alt: "",
|
|
1937
1857
|
"aria-hidden": !0
|
|
1938
1858
|
}
|
|
1939
1859
|
)
|
|
1940
1860
|
}
|
|
1941
1861
|
),
|
|
1942
|
-
fe === "time" && /* @__PURE__ */
|
|
1943
|
-
|
|
1944
|
-
/* @__PURE__ */
|
|
1862
|
+
fe === "time" && /* @__PURE__ */ t.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
|
|
1863
|
+
r("formBirthTimeInfo"),
|
|
1864
|
+
/* @__PURE__ */ t.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
|
|
1945
1865
|
] })
|
|
1946
1866
|
] })
|
|
1947
1867
|
] }),
|
|
1948
|
-
/* @__PURE__ */
|
|
1949
|
-
/* @__PURE__ */
|
|
1868
|
+
/* @__PURE__ */ t.jsxs("div", { className: a.inputWrap, ref: $, children: [
|
|
1869
|
+
/* @__PURE__ */ t.jsx(
|
|
1950
1870
|
"input",
|
|
1951
1871
|
{
|
|
1952
1872
|
id: "kundli-birth-time",
|
|
1953
1873
|
className: a.input,
|
|
1954
1874
|
type: "text",
|
|
1955
|
-
value:
|
|
1875
|
+
value: i.birthTime ? ge(i.birthTime) : "",
|
|
1956
1876
|
readOnly: !0,
|
|
1957
|
-
onFocus: () =>
|
|
1877
|
+
onFocus: () => l?.trackTimeClicked?.(),
|
|
1958
1878
|
onChange: (n) => {
|
|
1959
|
-
const
|
|
1960
|
-
|
|
1879
|
+
const c = n.target.value;
|
|
1880
|
+
b({ birthTime: c }), U("birthTime", c);
|
|
1961
1881
|
},
|
|
1962
|
-
disabled:
|
|
1882
|
+
disabled: i.birthTimeUnknown,
|
|
1963
1883
|
placeholder: "HH:MM AM",
|
|
1964
1884
|
onClick: () => {
|
|
1965
|
-
|
|
1885
|
+
i.birthTimeUnknown || (J(Q(i.birthTime || "12:00")), B((n) => !n));
|
|
1966
1886
|
}
|
|
1967
1887
|
}
|
|
1968
1888
|
),
|
|
1969
|
-
/* @__PURE__ */
|
|
1889
|
+
/* @__PURE__ */ t.jsx(
|
|
1970
1890
|
"button",
|
|
1971
1891
|
{
|
|
1972
1892
|
type: "button",
|
|
1973
1893
|
className: `${a.iconBtn} ${a.iconBtnInteractive}`,
|
|
1974
1894
|
"aria-label": "Open time picker",
|
|
1975
|
-
disabled:
|
|
1895
|
+
disabled: i.birthTimeUnknown,
|
|
1976
1896
|
onMouseDown: (n) => n.preventDefault(),
|
|
1977
1897
|
onClick: (n) => {
|
|
1978
|
-
n.preventDefault(), n.stopPropagation(), !
|
|
1898
|
+
n.preventDefault(), n.stopPropagation(), !i.birthTimeUnknown && (J(Q(i.birthTime || "12:00")), B((c) => !c));
|
|
1979
1899
|
},
|
|
1980
|
-
children: /* @__PURE__ */
|
|
1900
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1981
1901
|
"img",
|
|
1982
1902
|
{
|
|
1983
1903
|
className: a.iconImg,
|
|
1984
|
-
src:
|
|
1904
|
+
src: Ae.time,
|
|
1985
1905
|
alt: "",
|
|
1986
1906
|
"aria-hidden": !0
|
|
1987
1907
|
}
|
|
1988
1908
|
)
|
|
1989
1909
|
}
|
|
1990
1910
|
),
|
|
1991
|
-
|
|
1911
|
+
R && !i.birthTimeUnknown && /* @__PURE__ */ t.jsxs(
|
|
1992
1912
|
"div",
|
|
1993
1913
|
{
|
|
1994
1914
|
className: a.timePopover,
|
|
1995
1915
|
role: "dialog",
|
|
1996
1916
|
"aria-label": "Select time",
|
|
1997
1917
|
children: [
|
|
1998
|
-
/* @__PURE__ */
|
|
1999
|
-
/* @__PURE__ */
|
|
1918
|
+
/* @__PURE__ */ t.jsxs("div", { className: a.timePickerRow, children: [
|
|
1919
|
+
/* @__PURE__ */ t.jsx(
|
|
2000
1920
|
"select",
|
|
2001
1921
|
{
|
|
2002
1922
|
className: a.timePickerSelect,
|
|
2003
|
-
value:
|
|
2004
|
-
onChange: (n) => J((
|
|
2005
|
-
...
|
|
1923
|
+
value: K.hour12,
|
|
1924
|
+
onChange: (n) => J((c) => ({
|
|
1925
|
+
...c,
|
|
2006
1926
|
hour12: Number(n.target.value)
|
|
2007
1927
|
})),
|
|
2008
1928
|
"aria-label": "Hour",
|
|
2009
|
-
children: Array.from({ length: 12 }, (n,
|
|
1929
|
+
children: Array.from({ length: 12 }, (n, c) => c + 1).map((n) => /* @__PURE__ */ t.jsx("option", { value: n, children: n }, n))
|
|
2010
1930
|
}
|
|
2011
1931
|
),
|
|
2012
|
-
/* @__PURE__ */
|
|
2013
|
-
/* @__PURE__ */
|
|
1932
|
+
/* @__PURE__ */ t.jsx("span", { className: a.timePickerColon, children: ":" }),
|
|
1933
|
+
/* @__PURE__ */ t.jsx(
|
|
2014
1934
|
"select",
|
|
2015
1935
|
{
|
|
2016
1936
|
className: a.timePickerSelect,
|
|
2017
|
-
value:
|
|
2018
|
-
onChange: (n) => J((
|
|
1937
|
+
value: K.minute,
|
|
1938
|
+
onChange: (n) => J((c) => ({ ...c, minute: n.target.value })),
|
|
2019
1939
|
"aria-label": "Minute",
|
|
2020
|
-
children: Array.from({ length: 60 }, (n,
|
|
2021
|
-
(n) => /* @__PURE__ */
|
|
1940
|
+
children: Array.from({ length: 60 }, (n, c) => ne(c)).map(
|
|
1941
|
+
(n) => /* @__PURE__ */ t.jsx("option", { value: n, children: n }, n)
|
|
2022
1942
|
)
|
|
2023
1943
|
}
|
|
2024
1944
|
),
|
|
2025
|
-
/* @__PURE__ */
|
|
2026
|
-
/* @__PURE__ */
|
|
1945
|
+
/* @__PURE__ */ t.jsxs("div", { className: a.meridiemToggle, "aria-label": "AM/PM", children: [
|
|
1946
|
+
/* @__PURE__ */ t.jsx(
|
|
2027
1947
|
"button",
|
|
2028
1948
|
{
|
|
2029
1949
|
type: "button",
|
|
2030
|
-
className: `${a.meridiemBtn} ${
|
|
1950
|
+
className: `${a.meridiemBtn} ${K.meridiem === "AM" ? a.meridiemActive : ""}`,
|
|
2031
1951
|
onClick: () => J((n) => ({ ...n, meridiem: "AM" })),
|
|
2032
1952
|
children: "AM"
|
|
2033
1953
|
}
|
|
2034
1954
|
),
|
|
2035
|
-
/* @__PURE__ */
|
|
1955
|
+
/* @__PURE__ */ t.jsx(
|
|
2036
1956
|
"button",
|
|
2037
1957
|
{
|
|
2038
1958
|
type: "button",
|
|
2039
|
-
className: `${a.meridiemBtn} ${
|
|
1959
|
+
className: `${a.meridiemBtn} ${K.meridiem === "PM" ? a.meridiemActive : ""}`,
|
|
2040
1960
|
onClick: () => J((n) => ({ ...n, meridiem: "PM" })),
|
|
2041
1961
|
children: "PM"
|
|
2042
1962
|
}
|
|
2043
1963
|
)
|
|
2044
1964
|
] })
|
|
2045
1965
|
] }),
|
|
2046
|
-
/* @__PURE__ */
|
|
2047
|
-
/* @__PURE__ */
|
|
1966
|
+
/* @__PURE__ */ t.jsxs("div", { className: a.timePopoverActions, children: [
|
|
1967
|
+
/* @__PURE__ */ t.jsx(
|
|
2048
1968
|
"button",
|
|
2049
1969
|
{
|
|
2050
1970
|
type: "button",
|
|
2051
1971
|
className: a.timePopoverBtn,
|
|
2052
|
-
onClick: () =>
|
|
1972
|
+
onClick: () => B(!1),
|
|
2053
1973
|
children: "Cancel"
|
|
2054
1974
|
}
|
|
2055
1975
|
),
|
|
2056
|
-
/* @__PURE__ */
|
|
1976
|
+
/* @__PURE__ */ t.jsx(
|
|
2057
1977
|
"button",
|
|
2058
1978
|
{
|
|
2059
1979
|
type: "button",
|
|
2060
1980
|
className: `${a.timePopoverBtn} ${a.timePopoverOk}`,
|
|
2061
1981
|
onClick: () => {
|
|
2062
|
-
const n = ie(
|
|
2063
|
-
|
|
1982
|
+
const n = ie(K);
|
|
1983
|
+
b({ birthTime: n }), U("birthTime", n), B(!1);
|
|
2064
1984
|
},
|
|
2065
1985
|
"aria-label": "OK",
|
|
2066
|
-
children: /* @__PURE__ */
|
|
1986
|
+
children: /* @__PURE__ */ t.jsx(
|
|
2067
1987
|
"svg",
|
|
2068
1988
|
{
|
|
2069
1989
|
width: "18",
|
|
@@ -2072,7 +1992,7 @@ const ca = {}, da = ({
|
|
|
2072
1992
|
fill: "none",
|
|
2073
1993
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2074
1994
|
"aria-hidden": !0,
|
|
2075
|
-
children: /* @__PURE__ */
|
|
1995
|
+
children: /* @__PURE__ */ t.jsx(
|
|
2076
1996
|
"path",
|
|
2077
1997
|
{
|
|
2078
1998
|
d: "M20 6L9 17l-5-5",
|
|
@@ -2091,241 +2011,241 @@ const ca = {}, da = ({
|
|
|
2091
2011
|
}
|
|
2092
2012
|
)
|
|
2093
2013
|
] }),
|
|
2094
|
-
/* @__PURE__ */
|
|
2095
|
-
/* @__PURE__ */
|
|
2014
|
+
/* @__PURE__ */ t.jsxs("div", { className: a.checkboxRow, children: [
|
|
2015
|
+
/* @__PURE__ */ t.jsx(
|
|
2096
2016
|
"input",
|
|
2097
2017
|
{
|
|
2098
2018
|
id: "kundli-time-unknown",
|
|
2099
2019
|
className: a.checkbox,
|
|
2100
2020
|
type: "checkbox",
|
|
2101
|
-
checked:
|
|
2021
|
+
checked: i.birthTimeUnknown,
|
|
2102
2022
|
onChange: (n) => {
|
|
2103
|
-
|
|
2023
|
+
l?.trackTimeCheckboxClicked?.(), b({
|
|
2104
2024
|
birthTimeUnknown: n.target.checked,
|
|
2105
|
-
birthTime: n.target.checked ? "" :
|
|
2025
|
+
birthTime: n.target.checked ? "" : i.birthTime
|
|
2106
2026
|
});
|
|
2107
2027
|
}
|
|
2108
2028
|
}
|
|
2109
2029
|
),
|
|
2110
|
-
/* @__PURE__ */
|
|
2030
|
+
/* @__PURE__ */ t.jsxs(
|
|
2111
2031
|
"label",
|
|
2112
2032
|
{
|
|
2113
2033
|
className: a.checkboxText,
|
|
2114
2034
|
htmlFor: "kundli-time-unknown",
|
|
2115
2035
|
children: [
|
|
2116
|
-
|
|
2117
|
-
/* @__PURE__ */
|
|
2118
|
-
|
|
2036
|
+
r("formBirthTimeUnknownLine1"),
|
|
2037
|
+
/* @__PURE__ */ t.jsx("br", {}),
|
|
2038
|
+
r("formBirthTimeUnknownLine2")
|
|
2119
2039
|
]
|
|
2120
2040
|
}
|
|
2121
2041
|
)
|
|
2122
2042
|
] })
|
|
2123
2043
|
] }),
|
|
2124
|
-
/* @__PURE__ */
|
|
2125
|
-
/* @__PURE__ */
|
|
2126
|
-
/* @__PURE__ */
|
|
2127
|
-
|
|
2128
|
-
/* @__PURE__ */
|
|
2044
|
+
/* @__PURE__ */ t.jsxs("div", { className: a.field, children: [
|
|
2045
|
+
/* @__PURE__ */ t.jsxs("div", { className: a.labelRow, children: [
|
|
2046
|
+
/* @__PURE__ */ t.jsxs("label", { className: a.label, htmlFor: "kundli-birth-place", children: [
|
|
2047
|
+
r("formBirthPlace"),
|
|
2048
|
+
/* @__PURE__ */ t.jsx("span", { className: a.req, children: "*" })
|
|
2129
2049
|
] }),
|
|
2130
|
-
/* @__PURE__ */
|
|
2131
|
-
/* @__PURE__ */
|
|
2050
|
+
/* @__PURE__ */ t.jsxs("div", { className: a.infoWrap, "data-info-tooltip": !0, children: [
|
|
2051
|
+
/* @__PURE__ */ t.jsx(
|
|
2132
2052
|
"button",
|
|
2133
2053
|
{
|
|
2134
2054
|
type: "button",
|
|
2135
2055
|
className: a.infoBtn,
|
|
2136
|
-
"aria-label":
|
|
2056
|
+
"aria-label": r("info"),
|
|
2137
2057
|
"aria-expanded": fe === "place",
|
|
2138
2058
|
onClick: () => {
|
|
2139
|
-
|
|
2059
|
+
l?.trackInfoIconClicked?.({
|
|
2140
2060
|
fieldName: "birthPlace"
|
|
2141
2061
|
}), oe((n) => n === "place" ? null : "place");
|
|
2142
2062
|
},
|
|
2143
|
-
children: /* @__PURE__ */
|
|
2063
|
+
children: /* @__PURE__ */ t.jsx(
|
|
2144
2064
|
"img",
|
|
2145
2065
|
{
|
|
2146
2066
|
className: a.infoImg,
|
|
2147
|
-
src:
|
|
2067
|
+
src: Ae.info,
|
|
2148
2068
|
alt: "",
|
|
2149
2069
|
"aria-hidden": !0
|
|
2150
2070
|
}
|
|
2151
2071
|
)
|
|
2152
2072
|
}
|
|
2153
2073
|
),
|
|
2154
|
-
fe === "place" && /* @__PURE__ */
|
|
2155
|
-
|
|
2156
|
-
/* @__PURE__ */
|
|
2074
|
+
fe === "place" && /* @__PURE__ */ t.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
|
|
2075
|
+
r("formBirthPlaceInfo"),
|
|
2076
|
+
/* @__PURE__ */ t.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
|
|
2157
2077
|
] })
|
|
2158
2078
|
] })
|
|
2159
2079
|
] }),
|
|
2160
|
-
/* @__PURE__ */
|
|
2161
|
-
/* @__PURE__ */
|
|
2080
|
+
/* @__PURE__ */ t.jsxs("div", { className: a.inputWrap, ref: ue, children: [
|
|
2081
|
+
/* @__PURE__ */ t.jsx(
|
|
2162
2082
|
"input",
|
|
2163
2083
|
{
|
|
2164
2084
|
id: "kundli-birth-place",
|
|
2165
2085
|
className: a.input,
|
|
2166
2086
|
type: "text",
|
|
2167
|
-
value:
|
|
2087
|
+
value: i.birthPlace,
|
|
2168
2088
|
onChange: (n) => {
|
|
2169
|
-
const
|
|
2170
|
-
|
|
2089
|
+
const c = n.target.value;
|
|
2090
|
+
b({ birthPlace: c }), U("birthPlace", c), ce(!0);
|
|
2171
2091
|
},
|
|
2172
2092
|
onFocus: () => {
|
|
2173
|
-
|
|
2093
|
+
l?.trackPlaceOfBirthClicked?.(), ce(!0);
|
|
2174
2094
|
},
|
|
2175
|
-
placeholder:
|
|
2095
|
+
placeholder: r("formBirthPlacePlaceholder"),
|
|
2176
2096
|
autoComplete: "address-level2"
|
|
2177
2097
|
}
|
|
2178
2098
|
),
|
|
2179
|
-
/* @__PURE__ */
|
|
2099
|
+
/* @__PURE__ */ t.jsx("span", { className: a.iconBtn, "aria-hidden": !0, children: /* @__PURE__ */ t.jsx(
|
|
2180
2100
|
"img",
|
|
2181
2101
|
{
|
|
2182
2102
|
className: a.iconImg,
|
|
2183
|
-
src:
|
|
2103
|
+
src: Ae.location,
|
|
2184
2104
|
alt: "",
|
|
2185
2105
|
"aria-hidden": !0
|
|
2186
2106
|
}
|
|
2187
2107
|
) }),
|
|
2188
|
-
se &&
|
|
2108
|
+
se && le.length > 0 && /* @__PURE__ */ t.jsx("div", { className: a.suggestions, role: "listbox", children: le.slice(0, 8).map((n) => /* @__PURE__ */ t.jsxs(
|
|
2189
2109
|
"button",
|
|
2190
2110
|
{
|
|
2191
2111
|
type: "button",
|
|
2192
2112
|
className: a.suggestionItem,
|
|
2193
2113
|
onClick: () => {
|
|
2194
|
-
|
|
2114
|
+
b({ birthPlace: n.description }), ke(), ce(!1);
|
|
2195
2115
|
},
|
|
2196
2116
|
children: [
|
|
2197
|
-
/* @__PURE__ */
|
|
2198
|
-
n.structured_formatting?.secondary_text && /* @__PURE__ */
|
|
2117
|
+
/* @__PURE__ */ t.jsx("span", { className: a.suggestionMain, children: n.structured_formatting?.main_text ?? n.description }),
|
|
2118
|
+
n.structured_formatting?.secondary_text && /* @__PURE__ */ t.jsx("span", { className: a.suggestionSecondary, children: n.structured_formatting.secondary_text })
|
|
2199
2119
|
]
|
|
2200
2120
|
},
|
|
2201
2121
|
n.place_id
|
|
2202
2122
|
)) }),
|
|
2203
|
-
se &&
|
|
2204
|
-
se &&
|
|
2123
|
+
se && he && we && /* @__PURE__ */ t.jsx("div", { className: a.suggestionsHint, children: "Loading…" }),
|
|
2124
|
+
se && he && !we && !!ye && /* @__PURE__ */ t.jsx("div", { className: a.suggestionsHint, children: ye })
|
|
2205
2125
|
] })
|
|
2206
2126
|
] }),
|
|
2207
|
-
|
|
2208
|
-
/* @__PURE__ */
|
|
2209
|
-
|
|
2210
|
-
/* @__PURE__ */
|
|
2127
|
+
k && /* @__PURE__ */ t.jsxs("div", { className: a.field, children: [
|
|
2128
|
+
/* @__PURE__ */ t.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ t.jsxs("label", { className: a.label, children: [
|
|
2129
|
+
r("formReportLanguage"),
|
|
2130
|
+
/* @__PURE__ */ t.jsx("span", { className: a.req, children: "*" })
|
|
2211
2131
|
] }) }),
|
|
2212
|
-
/* @__PURE__ */
|
|
2132
|
+
/* @__PURE__ */ t.jsxs(
|
|
2213
2133
|
"div",
|
|
2214
2134
|
{
|
|
2215
2135
|
className: a.choiceRow,
|
|
2216
2136
|
role: "radiogroup",
|
|
2217
|
-
"aria-label":
|
|
2137
|
+
"aria-label": r("formReportLanguage"),
|
|
2218
2138
|
children: [
|
|
2219
|
-
/* @__PURE__ */
|
|
2139
|
+
/* @__PURE__ */ t.jsx(
|
|
2220
2140
|
"button",
|
|
2221
2141
|
{
|
|
2222
2142
|
id: "kundli-report-lang-hi",
|
|
2223
2143
|
type: "button",
|
|
2224
|
-
className: `${a.choiceBtn} ${
|
|
2144
|
+
className: `${a.choiceBtn} ${i.language_code === "hi" ? a.choiceBtnActive : ""}`,
|
|
2225
2145
|
onClick: () => {
|
|
2226
|
-
|
|
2146
|
+
b({ language_code: "hi" }), l?.trackLanguageOfReportSelected?.({
|
|
2227
2147
|
language: "hi"
|
|
2228
2148
|
});
|
|
2229
2149
|
},
|
|
2230
2150
|
role: "radio",
|
|
2231
|
-
"aria-checked":
|
|
2232
|
-
children:
|
|
2151
|
+
"aria-checked": i.language_code === "hi",
|
|
2152
|
+
children: r("formReportLanguageHindi")
|
|
2233
2153
|
}
|
|
2234
2154
|
),
|
|
2235
|
-
/* @__PURE__ */
|
|
2155
|
+
/* @__PURE__ */ t.jsx(
|
|
2236
2156
|
"button",
|
|
2237
2157
|
{
|
|
2238
2158
|
id: "kundli-report-lang-en",
|
|
2239
2159
|
type: "button",
|
|
2240
|
-
className: `${a.choiceBtn} ${
|
|
2160
|
+
className: `${a.choiceBtn} ${i.language_code === "en" ? a.choiceBtnActive : ""}`,
|
|
2241
2161
|
onClick: () => {
|
|
2242
|
-
|
|
2162
|
+
b({ language_code: "en" }), l?.trackLanguageOfReportSelected?.({
|
|
2243
2163
|
language: "en"
|
|
2244
2164
|
});
|
|
2245
2165
|
},
|
|
2246
2166
|
role: "radio",
|
|
2247
|
-
"aria-checked":
|
|
2248
|
-
children:
|
|
2167
|
+
"aria-checked": i.language_code === "en",
|
|
2168
|
+
children: r("formReportLanguageEnglish")
|
|
2249
2169
|
}
|
|
2250
2170
|
),
|
|
2251
|
-
/* @__PURE__ */
|
|
2171
|
+
/* @__PURE__ */ t.jsx(
|
|
2252
2172
|
"button",
|
|
2253
2173
|
{
|
|
2254
2174
|
id: "kundli-report-lang-te",
|
|
2255
2175
|
type: "button",
|
|
2256
|
-
className: `${a.choiceBtn} ${
|
|
2176
|
+
className: `${a.choiceBtn} ${i.language_code === "te" ? a.choiceBtnActive : ""}`,
|
|
2257
2177
|
onClick: () => {
|
|
2258
|
-
|
|
2178
|
+
b({ language_code: "te" }), l?.trackLanguageOfReportSelected?.({
|
|
2259
2179
|
language: "te"
|
|
2260
2180
|
});
|
|
2261
2181
|
},
|
|
2262
2182
|
role: "radio",
|
|
2263
|
-
"aria-checked":
|
|
2264
|
-
children:
|
|
2183
|
+
"aria-checked": i.language_code === "te",
|
|
2184
|
+
children: r("formReportLanguageTelugu")
|
|
2265
2185
|
}
|
|
2266
2186
|
),
|
|
2267
|
-
/* @__PURE__ */
|
|
2187
|
+
/* @__PURE__ */ t.jsx(
|
|
2268
2188
|
"button",
|
|
2269
2189
|
{
|
|
2270
2190
|
id: "kundli-report-lang-ta",
|
|
2271
2191
|
type: "button",
|
|
2272
|
-
className: `${a.choiceBtn} ${
|
|
2192
|
+
className: `${a.choiceBtn} ${i.language_code === "ta" ? a.choiceBtnActive : ""}`,
|
|
2273
2193
|
onClick: () => {
|
|
2274
|
-
|
|
2194
|
+
b({ language_code: "ta" }), l?.trackLanguageOfReportSelected?.({
|
|
2275
2195
|
language: "ta"
|
|
2276
2196
|
});
|
|
2277
2197
|
},
|
|
2278
2198
|
role: "radio",
|
|
2279
|
-
"aria-checked":
|
|
2280
|
-
children:
|
|
2199
|
+
"aria-checked": i.language_code === "ta",
|
|
2200
|
+
children: r("formReportLanguageTamil")
|
|
2281
2201
|
}
|
|
2282
2202
|
),
|
|
2283
|
-
/* @__PURE__ */
|
|
2203
|
+
/* @__PURE__ */ t.jsx(
|
|
2284
2204
|
"button",
|
|
2285
2205
|
{
|
|
2286
2206
|
id: "kundli-report-lang-kn",
|
|
2287
2207
|
type: "button",
|
|
2288
|
-
className: `${a.choiceBtn} ${
|
|
2208
|
+
className: `${a.choiceBtn} ${i.language_code === "kn" ? a.choiceBtnActive : ""}`,
|
|
2289
2209
|
onClick: () => {
|
|
2290
|
-
|
|
2210
|
+
b({ language_code: "kn" }), l?.trackLanguageOfReportSelected?.({
|
|
2291
2211
|
language: "kn"
|
|
2292
2212
|
});
|
|
2293
2213
|
},
|
|
2294
2214
|
role: "radio",
|
|
2295
|
-
"aria-checked":
|
|
2296
|
-
children:
|
|
2215
|
+
"aria-checked": i.language_code === "kn",
|
|
2216
|
+
children: r("formReportLanguageKannada")
|
|
2297
2217
|
}
|
|
2298
2218
|
),
|
|
2299
|
-
/* @__PURE__ */
|
|
2219
|
+
/* @__PURE__ */ t.jsx(
|
|
2300
2220
|
"button",
|
|
2301
2221
|
{
|
|
2302
2222
|
id: "kundli-report-lang-gu",
|
|
2303
2223
|
type: "button",
|
|
2304
|
-
className: `${a.choiceBtn} ${
|
|
2224
|
+
className: `${a.choiceBtn} ${i.language_code === "gu" ? a.choiceBtnActive : ""}`,
|
|
2305
2225
|
onClick: () => {
|
|
2306
|
-
|
|
2226
|
+
b({ language_code: "gu" }), l?.trackLanguageOfReportSelected?.({
|
|
2307
2227
|
language: "gu"
|
|
2308
2228
|
});
|
|
2309
2229
|
},
|
|
2310
2230
|
role: "radio",
|
|
2311
|
-
"aria-checked":
|
|
2312
|
-
children:
|
|
2231
|
+
"aria-checked": i.language_code === "gu",
|
|
2232
|
+
children: r("formReportLanguageGujarati")
|
|
2313
2233
|
}
|
|
2314
2234
|
),
|
|
2315
|
-
/* @__PURE__ */
|
|
2235
|
+
/* @__PURE__ */ t.jsx(
|
|
2316
2236
|
"button",
|
|
2317
2237
|
{
|
|
2318
2238
|
id: "kundli-report-lang-mr",
|
|
2319
2239
|
type: "button",
|
|
2320
|
-
className: `${a.choiceBtn} ${
|
|
2240
|
+
className: `${a.choiceBtn} ${i.language_code === "mr" ? a.choiceBtnActive : ""}`,
|
|
2321
2241
|
onClick: () => {
|
|
2322
|
-
|
|
2242
|
+
b({ language_code: "mr" }), l?.trackLanguageOfReportSelected?.({
|
|
2323
2243
|
language: "mr"
|
|
2324
2244
|
});
|
|
2325
2245
|
},
|
|
2326
2246
|
role: "radio",
|
|
2327
|
-
"aria-checked":
|
|
2328
|
-
children:
|
|
2247
|
+
"aria-checked": i.language_code === "mr",
|
|
2248
|
+
children: r("formReportLanguageMarathi")
|
|
2329
2249
|
}
|
|
2330
2250
|
)
|
|
2331
2251
|
]
|
|
@@ -2335,19 +2255,20 @@ const ca = {}, da = ({
|
|
|
2335
2255
|
] }) })
|
|
2336
2256
|
}
|
|
2337
2257
|
);
|
|
2338
|
-
}, ua = "
|
|
2258
|
+
}, ua = "_ctaButton_pvtub_2", ma = "_ctaFilled_pvtub_21", fa = "_ctaFilledContent_pvtub_52", ha = "_chevronRight_pvtub_61", pa = "_footerContainer_pvtub_67", Re = {
|
|
2339
2259
|
ctaButton: ua,
|
|
2340
2260
|
ctaFilled: ma,
|
|
2341
2261
|
ctaFilledContent: fa,
|
|
2342
|
-
chevronRight:
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2262
|
+
chevronRight: ha,
|
|
2263
|
+
footerContainer: pa
|
|
2264
|
+
}, pt = "kundli-report-astrologer", ga = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", _a = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", ba = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", ya = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", ka = ({ t: r }) => {
|
|
2265
|
+
const d = Ee()?.config.imageComponent ?? Be;
|
|
2266
|
+
return /* @__PURE__ */ t.jsxs("div", { className: xe.marqueeContent, children: [
|
|
2267
|
+
/* @__PURE__ */ t.jsxs("span", { className: xe.badge, children: [
|
|
2268
|
+
/* @__PURE__ */ t.jsx(
|
|
2348
2269
|
d,
|
|
2349
2270
|
{
|
|
2350
|
-
src:
|
|
2271
|
+
src: ga,
|
|
2351
2272
|
alt: "",
|
|
2352
2273
|
className: xe.badgeIcon,
|
|
2353
2274
|
width: 16,
|
|
@@ -2355,13 +2276,13 @@ const ca = {}, da = ({
|
|
|
2355
2276
|
loading: "lazy"
|
|
2356
2277
|
}
|
|
2357
2278
|
),
|
|
2358
|
-
|
|
2279
|
+
r("ctaKundliCreated")
|
|
2359
2280
|
] }),
|
|
2360
|
-
/* @__PURE__ */
|
|
2361
|
-
/* @__PURE__ */
|
|
2281
|
+
/* @__PURE__ */ t.jsxs("span", { className: xe.badge, children: [
|
|
2282
|
+
/* @__PURE__ */ t.jsx(
|
|
2362
2283
|
d,
|
|
2363
2284
|
{
|
|
2364
|
-
src:
|
|
2285
|
+
src: _a,
|
|
2365
2286
|
alt: "",
|
|
2366
2287
|
className: xe.badgeIcon,
|
|
2367
2288
|
width: 16,
|
|
@@ -2369,13 +2290,13 @@ const ca = {}, da = ({
|
|
|
2369
2290
|
loading: "lazy"
|
|
2370
2291
|
}
|
|
2371
2292
|
),
|
|
2372
|
-
|
|
2293
|
+
r("ctaCertified")
|
|
2373
2294
|
] }),
|
|
2374
|
-
/* @__PURE__ */
|
|
2375
|
-
/* @__PURE__ */
|
|
2295
|
+
/* @__PURE__ */ t.jsxs("span", { className: xe.badge, children: [
|
|
2296
|
+
/* @__PURE__ */ t.jsx(
|
|
2376
2297
|
d,
|
|
2377
2298
|
{
|
|
2378
|
-
src:
|
|
2299
|
+
src: ba,
|
|
2379
2300
|
alt: "",
|
|
2380
2301
|
className: xe.badgeIcon,
|
|
2381
2302
|
width: 16,
|
|
@@ -2383,111 +2304,176 @@ const ca = {}, da = ({
|
|
|
2383
2304
|
loading: "lazy"
|
|
2384
2305
|
}
|
|
2385
2306
|
),
|
|
2386
|
-
|
|
2307
|
+
r("ctaSecurePayment")
|
|
2387
2308
|
] })
|
|
2388
2309
|
] });
|
|
2389
|
-
},
|
|
2390
|
-
if (!
|
|
2391
|
-
if (
|
|
2392
|
-
if (!
|
|
2393
|
-
} else if (!
|
|
2394
|
-
if (!
|
|
2395
|
-
if (!
|
|
2310
|
+
}, va = (r) => /.+@.+\..+/.test(r), xa = (r) => /^\d{10}$/.test(r), wa = (r, i, d) => {
|
|
2311
|
+
if (!r.fullName.trim()) return "fullName";
|
|
2312
|
+
if (i) {
|
|
2313
|
+
if (!va(r.email.trim())) return "email";
|
|
2314
|
+
} else if (!xa((r.phone ?? "").trim())) return "phone";
|
|
2315
|
+
if (!r.dateOfBirth) return "dateOfBirth";
|
|
2316
|
+
if (!r.birthPlace.trim()) return "birthPlace";
|
|
2396
2317
|
if (d) {
|
|
2397
|
-
if (!
|
|
2398
|
-
if (!
|
|
2318
|
+
if (!r.gender) return "gender";
|
|
2319
|
+
if (!r.language_code) return "language_code";
|
|
2399
2320
|
}
|
|
2400
|
-
return !
|
|
2401
|
-
},
|
|
2402
|
-
t,
|
|
2403
|
-
values:
|
|
2321
|
+
return !r.birthTimeUnknown && !r.birthTime ? "birthTime" : null;
|
|
2322
|
+
}, Pa = ({
|
|
2323
|
+
t: r,
|
|
2324
|
+
values: i,
|
|
2404
2325
|
phoneIsdCode: d,
|
|
2405
2326
|
hideOriginalPrice: u = !1,
|
|
2406
|
-
requireV1ExtraFields:
|
|
2407
|
-
onValidationFailed:
|
|
2408
|
-
onProceed:
|
|
2409
|
-
onProceedGuidance:
|
|
2410
|
-
href:
|
|
2411
|
-
analytics:
|
|
2412
|
-
className:
|
|
2413
|
-
discountedPriceLabel:
|
|
2414
|
-
showPlanSheet:
|
|
2415
|
-
confirmPlan:
|
|
2416
|
-
planSheetOpen:
|
|
2417
|
-
selectedPlan:
|
|
2327
|
+
requireV1ExtraFields: f = !1,
|
|
2328
|
+
onValidationFailed: k,
|
|
2329
|
+
onProceed: _,
|
|
2330
|
+
onProceedGuidance: E,
|
|
2331
|
+
href: x,
|
|
2332
|
+
analytics: I,
|
|
2333
|
+
className: l = "",
|
|
2334
|
+
discountedPriceLabel: N,
|
|
2335
|
+
showPlanSheet: g,
|
|
2336
|
+
confirmPlan: p,
|
|
2337
|
+
planSheetOpen: v,
|
|
2338
|
+
selectedPlan: C
|
|
2418
2339
|
}) => {
|
|
2419
|
-
const
|
|
2420
|
-
() =>
|
|
2421
|
-
[
|
|
2422
|
-
),
|
|
2423
|
-
if (
|
|
2424
|
-
|
|
2340
|
+
const F = Ee(), D = F?.config.isGlobal ?? !0, P = F?.config?.variant, q = Ge(
|
|
2341
|
+
() => wa(i, D, f),
|
|
2342
|
+
[i, D, f]
|
|
2343
|
+
), b = q === null, U = D ? N ?? r("formDiscountedPrice") : P === "v1" ? "" : "₹499", O = F?.config.imageComponent ?? Be, M = (T) => {
|
|
2344
|
+
if (T.preventDefault(), !b) {
|
|
2345
|
+
q && k?.(q);
|
|
2425
2346
|
return;
|
|
2426
2347
|
}
|
|
2427
|
-
const
|
|
2428
|
-
...
|
|
2429
|
-
phone:
|
|
2348
|
+
const L = !!E && P === "v1" && C?.id === pt, V = (i.phone ?? "").trim(), $ = {
|
|
2349
|
+
...i,
|
|
2350
|
+
phone: V && `${d}-${V}`
|
|
2430
2351
|
};
|
|
2431
|
-
if (
|
|
2432
|
-
|
|
2352
|
+
if (P === "v1" && F?.config?.showSheet) {
|
|
2353
|
+
v ? p?.() : g?.($);
|
|
2433
2354
|
return;
|
|
2434
2355
|
}
|
|
2435
|
-
|
|
2436
|
-
},
|
|
2437
|
-
|
|
2356
|
+
I?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), L ? E($) : _?.($);
|
|
2357
|
+
}, Z = /* @__PURE__ */ t.jsx(
|
|
2358
|
+
Ot,
|
|
2438
2359
|
{
|
|
2439
|
-
href:
|
|
2440
|
-
disabled:
|
|
2441
|
-
onClick:
|
|
2442
|
-
"aria-label":
|
|
2443
|
-
className:
|
|
2444
|
-
children:
|
|
2445
|
-
|
|
2446
|
-
/* @__PURE__ */
|
|
2447
|
-
|
|
2360
|
+
href: x,
|
|
2361
|
+
disabled: P === "v1" ? !1 : !b,
|
|
2362
|
+
onClick: M,
|
|
2363
|
+
"aria-label": r("formPriceAria"),
|
|
2364
|
+
className: P === "v1" && b ? Re.ctaFilled : P === "v1" ? Re.ctaButton : void 0,
|
|
2365
|
+
children: P === "v1" ? b ? /* @__PURE__ */ t.jsxs("span", { className: Re.ctaFilledContent, children: [
|
|
2366
|
+
v && C ? `${r("proceedWithPlan")}${C.price}` : r("formProceed") + U,
|
|
2367
|
+
/* @__PURE__ */ t.jsx(
|
|
2368
|
+
O,
|
|
2448
2369
|
{
|
|
2449
|
-
src:
|
|
2370
|
+
src: ya,
|
|
2450
2371
|
alt: "",
|
|
2451
|
-
className:
|
|
2372
|
+
className: Re.chevronRight,
|
|
2452
2373
|
width: 20,
|
|
2453
2374
|
height: 20,
|
|
2454
2375
|
loading: "lazy"
|
|
2455
2376
|
}
|
|
2456
2377
|
)
|
|
2457
|
-
] }) :
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
O
|
|
2378
|
+
] }) : r("formCtaDefault") : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
2379
|
+
r("formProceed"),
|
|
2380
|
+
U
|
|
2461
2381
|
] })
|
|
2462
2382
|
}
|
|
2463
2383
|
);
|
|
2464
|
-
return /* @__PURE__ */
|
|
2465
|
-
|
|
2384
|
+
return /* @__PURE__ */ t.jsx(
|
|
2385
|
+
Ft,
|
|
2466
2386
|
{
|
|
2467
|
-
className: `${
|
|
2468
|
-
marquee: /* @__PURE__ */
|
|
2469
|
-
children:
|
|
2387
|
+
className: `${Re.footerContainer} ${l}`,
|
|
2388
|
+
marquee: /* @__PURE__ */ t.jsx(Mt, { children: /* @__PURE__ */ t.jsx(ka, { t: r }) }),
|
|
2389
|
+
children: Z
|
|
2470
2390
|
}
|
|
2471
2391
|
);
|
|
2472
|
-
},
|
|
2473
|
-
t,
|
|
2474
|
-
languageSelector:
|
|
2475
|
-
logoUrl: d =
|
|
2392
|
+
}, ja = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Ca = ({
|
|
2393
|
+
t: r,
|
|
2394
|
+
languageSelector: i,
|
|
2395
|
+
logoUrl: d = ja,
|
|
2476
2396
|
className: u = ""
|
|
2477
2397
|
}) => {
|
|
2478
|
-
const
|
|
2479
|
-
return /* @__PURE__ */
|
|
2480
|
-
$
|
|
2398
|
+
const f = Ee(), k = f?.config.isGlobal ?? !0, _ = i != null && !k;
|
|
2399
|
+
return /* @__PURE__ */ t.jsx(
|
|
2400
|
+
$t,
|
|
2481
2401
|
{
|
|
2482
|
-
t,
|
|
2402
|
+
t: r,
|
|
2483
2403
|
logoUrl: d,
|
|
2484
|
-
imageComponent:
|
|
2485
|
-
languageSelector:
|
|
2486
|
-
showLanguageSelector:
|
|
2404
|
+
imageComponent: f?.config.imageComponent,
|
|
2405
|
+
languageSelector: i,
|
|
2406
|
+
showLanguageSelector: _,
|
|
2487
2407
|
className: u
|
|
2488
2408
|
}
|
|
2489
2409
|
);
|
|
2490
|
-
},
|
|
2410
|
+
}, Aa = [
|
|
2411
|
+
{
|
|
2412
|
+
id: "jyoti",
|
|
2413
|
+
name: "planAstrologerNameJyoti",
|
|
2414
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1770639271096.png",
|
|
2415
|
+
experience: "planAstrologerExpJyoti",
|
|
2416
|
+
certifications: [
|
|
2417
|
+
"planAstrologerCertCertifiedJyotish",
|
|
2418
|
+
"planAstrologerCertAccurateSolutions"
|
|
2419
|
+
]
|
|
2420
|
+
},
|
|
2421
|
+
{
|
|
2422
|
+
id: "samiksha",
|
|
2423
|
+
name: "planAstrologerNameSamiksha",
|
|
2424
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1770639293055.png",
|
|
2425
|
+
experience: "planAstrologerExpSamiksha",
|
|
2426
|
+
certifications: [
|
|
2427
|
+
"planAstrologerCertVedicAstrology",
|
|
2428
|
+
"planAstrologerCertResultOriented"
|
|
2429
|
+
]
|
|
2430
|
+
},
|
|
2431
|
+
{
|
|
2432
|
+
id: "neeraj",
|
|
2433
|
+
name: "planAstrologerNameNeeraj",
|
|
2434
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1770639271096.png",
|
|
2435
|
+
experience: "planAstrologerExpNeeraj",
|
|
2436
|
+
certifications: ["planAstrologerCertBhuCertified", "planAstrologerCertMantraRudraksha"]
|
|
2437
|
+
},
|
|
2438
|
+
{
|
|
2439
|
+
id: "ashwini",
|
|
2440
|
+
name: "planAstrologerNameAshwini",
|
|
2441
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1770639293055.png",
|
|
2442
|
+
experience: "planAstrologerExpAshwini",
|
|
2443
|
+
certifications: ["planAstrologerCertKundliBhavfal", "planAstrologerCertAccurateKundliMatching"]
|
|
2444
|
+
}
|
|
2445
|
+
], Ta = [
|
|
2446
|
+
{
|
|
2447
|
+
id: "kundli-report",
|
|
2448
|
+
title: "planNameBasic",
|
|
2449
|
+
price: "₹499",
|
|
2450
|
+
features: [
|
|
2451
|
+
{ text: "planFeatureDetailedInsights", included: !0 },
|
|
2452
|
+
{ text: "planFeaturePracticalRemedies", included: !0 },
|
|
2453
|
+
{ text: "planFeatureClearLanguage", included: !0 },
|
|
2454
|
+
{ text: "planFeatureAstrologyConsultant", included: !1 },
|
|
2455
|
+
{ text: "planFeaturePersonalizedReading", included: !1 }
|
|
2456
|
+
]
|
|
2457
|
+
},
|
|
2458
|
+
{
|
|
2459
|
+
id: "kundli-report-astrologer",
|
|
2460
|
+
title: "planNameGuidance",
|
|
2461
|
+
price: "₹749",
|
|
2462
|
+
originalPrice: "₹499+₹450",
|
|
2463
|
+
savingsLabel: "planSaveLabel",
|
|
2464
|
+
// We'll pass {{percent: 25}} in the component
|
|
2465
|
+
badge: "planMostPopular",
|
|
2466
|
+
features: [
|
|
2467
|
+
{ text: "planFeatureIncludesPremium", included: !0 },
|
|
2468
|
+
{ text: "planFeaturePlusConsultation", included: !0 },
|
|
2469
|
+
{ text: "planFeatureRealTimeAnswers", included: !0 },
|
|
2470
|
+
{ text: "planFeatureTailoredRemedies", included: !0 }
|
|
2471
|
+
],
|
|
2472
|
+
astrologers: Aa.filter(
|
|
2473
|
+
(r) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(r.id)
|
|
2474
|
+
)
|
|
2475
|
+
}
|
|
2476
|
+
], Na = () => /* @__PURE__ */ t.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ t.jsx(
|
|
2491
2477
|
"path",
|
|
2492
2478
|
{
|
|
2493
2479
|
d: "M3.5 8.5l2.5 2.5 6-6",
|
|
@@ -2496,7 +2482,7 @@ const ca = {}, da = ({
|
|
|
2496
2482
|
strokeLinecap: "round",
|
|
2497
2483
|
strokeLinejoin: "round"
|
|
2498
2484
|
}
|
|
2499
|
-
) }),
|
|
2485
|
+
) }), Sa = () => /* @__PURE__ */ t.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ t.jsx(
|
|
2500
2486
|
"path",
|
|
2501
2487
|
{
|
|
2502
2488
|
d: "M4.5 4.5l7 7M11.5 4.5l-7 7",
|
|
@@ -2504,293 +2490,227 @@ const ca = {}, da = ({
|
|
|
2504
2490
|
strokeWidth: "1.8",
|
|
2505
2491
|
strokeLinecap: "round"
|
|
2506
2492
|
}
|
|
2507
|
-
) }),
|
|
2508
|
-
/* @__PURE__ */
|
|
2509
|
-
/* @__PURE__ */
|
|
2510
|
-
] }),
|
|
2511
|
-
overlay:
|
|
2512
|
-
sheet:
|
|
2513
|
-
dragHandle:
|
|
2514
|
-
header:
|
|
2515
|
-
backBtn:
|
|
2516
|
-
title:
|
|
2517
|
-
plansContainer:
|
|
2518
|
-
planCard:
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
astrologerHeading:
|
|
2538
|
-
astrologerList:
|
|
2539
|
-
astrologerCard:
|
|
2540
|
-
astrologerAvatar:
|
|
2541
|
-
astrologerAvatarPlaceholder:
|
|
2542
|
-
astrologerTop:
|
|
2543
|
-
astrologerBasicInfo:
|
|
2544
|
-
astrologerName:
|
|
2545
|
-
astrologerExp:
|
|
2546
|
-
astrologerDivider:
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
/* @__PURE__ */ r.jsx(
|
|
2493
|
+
) }), Ra = () => /* @__PURE__ */ t.jsx("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: /* @__PURE__ */ t.jsx("path", { d: "M15 18l-6-6 6-6" }) }), Ea = () => /* @__PURE__ */ t.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: [
|
|
2494
|
+
/* @__PURE__ */ t.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
|
|
2495
|
+
/* @__PURE__ */ t.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
2496
|
+
] }), Ia = "_overlay_1rh2o_2", La = "_sheet_1rh2o_12", Ba = "_dragHandle_1rh2o_35", Da = "_header_1rh2o_45", Oa = "_backBtn_1rh2o_57", Fa = "_title_1rh2o_75", Ma = "_plansContainer_1rh2o_87", $a = "_planCard_1rh2o_96", Ua = "_planCardSelected_1rh2o_110", Ga = "_planCardPopular_1rh2o_114", Wa = "_popularBadge_1rh2o_123", Ka = "_planCardInner_1rh2o_141", Ha = "_planTitleRow_1rh2o_152", Ya = "_planTitle_1rh2o_152", qa = "_radioCircle_1rh2o_167", Va = "_radioChecked_1rh2o_180", za = "_radioInner_1rh2o_185", Ja = "_priceRow_1rh2o_193", Qa = "_price_1rh2o_193", Xa = "_originalPrice_1rh2o_206", Za = "_savingsBadge_1rh2o_213", en = "_featureList_1rh2o_223", tn = "_featureItem_1rh2o_232", rn = "_featureIcon_1rh2o_238", an = "_featureText_1rh2o_244", nn = "_featureExcluded_1rh2o_250", on = "_astrologerHeading_1rh2o_255", sn = "_astrologerList_1rh2o_262", cn = "_astrologerCard_1rh2o_278", ln = "_astrologerAvatar_1rh2o_291", dn = "_astrologerAvatarPlaceholder_1rh2o_308", un = "_astrologerTop_1rh2o_314", mn = "_astrologerBasicInfo_1rh2o_320", fn = "_astrologerName_1rh2o_327", hn = "_astrologerExp_1rh2o_336", pn = "_astrologerDivider_1rh2o_342", gn = "_astrologerCertList_1rh2o_348", _n = "_astrologerCertItem_1rh2o_354", bn = "_bullet_1rh2o_362", yn = "_bottomSpacer_1rh2o_399", kn = "_withBadgeSpacing_1rh2o_404", h = {
|
|
2497
|
+
overlay: Ia,
|
|
2498
|
+
sheet: La,
|
|
2499
|
+
dragHandle: Ba,
|
|
2500
|
+
header: Da,
|
|
2501
|
+
backBtn: Oa,
|
|
2502
|
+
title: Fa,
|
|
2503
|
+
plansContainer: Ma,
|
|
2504
|
+
planCard: $a,
|
|
2505
|
+
planCardSelected: Ua,
|
|
2506
|
+
planCardPopular: Ga,
|
|
2507
|
+
popularBadge: Wa,
|
|
2508
|
+
planCardInner: Ka,
|
|
2509
|
+
planTitleRow: Ha,
|
|
2510
|
+
planTitle: Ya,
|
|
2511
|
+
radioCircle: qa,
|
|
2512
|
+
radioChecked: Va,
|
|
2513
|
+
radioInner: za,
|
|
2514
|
+
priceRow: Ja,
|
|
2515
|
+
price: Qa,
|
|
2516
|
+
originalPrice: Xa,
|
|
2517
|
+
savingsBadge: Za,
|
|
2518
|
+
featureList: en,
|
|
2519
|
+
featureItem: tn,
|
|
2520
|
+
featureIcon: rn,
|
|
2521
|
+
featureText: an,
|
|
2522
|
+
featureExcluded: nn,
|
|
2523
|
+
astrologerHeading: on,
|
|
2524
|
+
astrologerList: sn,
|
|
2525
|
+
astrologerCard: cn,
|
|
2526
|
+
astrologerAvatar: ln,
|
|
2527
|
+
astrologerAvatarPlaceholder: dn,
|
|
2528
|
+
astrologerTop: un,
|
|
2529
|
+
astrologerBasicInfo: mn,
|
|
2530
|
+
astrologerName: fn,
|
|
2531
|
+
astrologerExp: hn,
|
|
2532
|
+
astrologerDivider: pn,
|
|
2533
|
+
astrologerCertList: gn,
|
|
2534
|
+
astrologerCertItem: _n,
|
|
2535
|
+
bullet: bn,
|
|
2536
|
+
bottomSpacer: yn,
|
|
2537
|
+
withBadgeSpacing: kn
|
|
2538
|
+
}, vn = ({ title: r, onBack: i }) => /* @__PURE__ */ t.jsxs("div", { className: h.header, children: [
|
|
2539
|
+
/* @__PURE__ */ t.jsx(
|
|
2555
2540
|
"button",
|
|
2556
2541
|
{
|
|
2557
|
-
className:
|
|
2558
|
-
onClick:
|
|
2542
|
+
className: h.backBtn,
|
|
2543
|
+
onClick: i,
|
|
2559
2544
|
"aria-label": "Go back",
|
|
2560
2545
|
type: "button",
|
|
2561
|
-
children: /* @__PURE__ */
|
|
2546
|
+
children: /* @__PURE__ */ t.jsx(Ra, {})
|
|
2562
2547
|
}
|
|
2563
2548
|
),
|
|
2564
|
-
/* @__PURE__ */
|
|
2565
|
-
] }),
|
|
2566
|
-
/* @__PURE__ */
|
|
2567
|
-
/* @__PURE__ */
|
|
2549
|
+
/* @__PURE__ */ t.jsx("h2", { className: h.title, children: r })
|
|
2550
|
+
] }), xn = ({ features: r, t: i }) => /* @__PURE__ */ t.jsx("ul", { className: h.featureList, "aria-label": "Plan features", children: r.map((d, u) => /* @__PURE__ */ t.jsxs("li", { className: h.featureItem, children: [
|
|
2551
|
+
/* @__PURE__ */ t.jsx("span", { className: h.featureIcon, children: d.included ? /* @__PURE__ */ t.jsx(Na, {}) : /* @__PURE__ */ t.jsx(Sa, {}) }),
|
|
2552
|
+
/* @__PURE__ */ t.jsx(
|
|
2568
2553
|
"span",
|
|
2569
2554
|
{
|
|
2570
|
-
className: `${
|
|
2571
|
-
children:
|
|
2555
|
+
className: `${h.featureText} ${d.included ? "" : h.featureExcluded}`,
|
|
2556
|
+
children: i?.(d.text) ?? d.text
|
|
2572
2557
|
}
|
|
2573
2558
|
)
|
|
2574
|
-
] }, u)) }),
|
|
2575
|
-
/* @__PURE__ */
|
|
2576
|
-
/* @__PURE__ */
|
|
2577
|
-
/* @__PURE__ */
|
|
2578
|
-
/* @__PURE__ */
|
|
2579
|
-
/* @__PURE__ */
|
|
2559
|
+
] }, u)) }), wn = ({ astrologer: r, t: i }) => /* @__PURE__ */ t.jsxs("div", { className: h.astrologerCard, children: [
|
|
2560
|
+
/* @__PURE__ */ t.jsxs("div", { className: h.astrologerTop, children: [
|
|
2561
|
+
/* @__PURE__ */ t.jsx("div", { className: h.astrologerAvatar, "aria-hidden": !0, children: r.imageUrl ? /* @__PURE__ */ t.jsx("img", { src: r.imageUrl, alt: i?.(r.name) ?? r.name, width: 40, height: 40 }) : /* @__PURE__ */ t.jsx("span", { className: h.astrologerAvatarPlaceholder, children: r.name.charAt(0) }) }),
|
|
2562
|
+
/* @__PURE__ */ t.jsxs("div", { className: h.astrologerBasicInfo, children: [
|
|
2563
|
+
/* @__PURE__ */ t.jsx("p", { className: h.astrologerName, children: i?.(r.name) ?? r.name }),
|
|
2564
|
+
/* @__PURE__ */ t.jsx("p", { className: h.astrologerExp, children: i?.(r.experience) ?? r.experience })
|
|
2580
2565
|
] })
|
|
2581
2566
|
] }),
|
|
2582
|
-
/* @__PURE__ */
|
|
2583
|
-
/* @__PURE__ */
|
|
2584
|
-
/* @__PURE__ */
|
|
2567
|
+
/* @__PURE__ */ t.jsx("div", { className: h.astrologerDivider }),
|
|
2568
|
+
/* @__PURE__ */ t.jsx("div", { className: h.astrologerCertList, children: r.certifications.map((d, u) => /* @__PURE__ */ t.jsxs("p", { className: h.astrologerCertItem, children: [
|
|
2569
|
+
/* @__PURE__ */ t.jsx("span", { className: h.bullet, children: "•" }),
|
|
2585
2570
|
" ",
|
|
2586
|
-
|
|
2571
|
+
i?.(d) ?? d
|
|
2587
2572
|
] }, u)) })
|
|
2588
|
-
] }),
|
|
2589
|
-
/* @__PURE__ */
|
|
2590
|
-
/* @__PURE__ */
|
|
2591
|
-
] }),
|
|
2592
|
-
const
|
|
2593
|
-
(
|
|
2573
|
+
] }), Pn = ({ label: r }) => /* @__PURE__ */ t.jsxs("div", { className: h.popularBadge, "aria-label": r, children: [
|
|
2574
|
+
/* @__PURE__ */ t.jsx(Ea, {}),
|
|
2575
|
+
/* @__PURE__ */ t.jsx("span", { children: r })
|
|
2576
|
+
] }), jn = ({ plan: r, isSelected: i, onSelect: d, t: u }) => {
|
|
2577
|
+
const f = () => d(r.id), k = (_) => {
|
|
2578
|
+
(_.key === " " || _.key === "Enter") && (_.preventDefault(), d(r.id));
|
|
2594
2579
|
};
|
|
2595
|
-
return /* @__PURE__ */
|
|
2580
|
+
return /* @__PURE__ */ t.jsxs(
|
|
2596
2581
|
"div",
|
|
2597
2582
|
{
|
|
2598
2583
|
className: [
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2584
|
+
h.planCard,
|
|
2585
|
+
i ? h.planCardSelected : "",
|
|
2586
|
+
i && h.planCardPopular
|
|
2602
2587
|
].filter(Boolean).join(" "),
|
|
2603
|
-
onClick:
|
|
2588
|
+
onClick: f,
|
|
2604
2589
|
role: "radio",
|
|
2605
|
-
"aria-checked":
|
|
2590
|
+
"aria-checked": i,
|
|
2606
2591
|
tabIndex: 0,
|
|
2607
|
-
onKeyDown:
|
|
2608
|
-
"data-plan-id":
|
|
2592
|
+
onKeyDown: k,
|
|
2593
|
+
"data-plan-id": r.id,
|
|
2609
2594
|
children: [
|
|
2610
|
-
|
|
2611
|
-
/* @__PURE__ */
|
|
2612
|
-
/* @__PURE__ */
|
|
2613
|
-
/* @__PURE__ */
|
|
2614
|
-
/* @__PURE__ */
|
|
2595
|
+
r.badge && /* @__PURE__ */ t.jsx(Pn, { label: u?.(r.badge) ?? r.badge }),
|
|
2596
|
+
/* @__PURE__ */ t.jsxs("div", { className: h.planCardInner, children: [
|
|
2597
|
+
/* @__PURE__ */ t.jsxs("div", { className: `${h.planTitleRow} ${r.badge ? h.withBadgeSpacing : ""}`, children: [
|
|
2598
|
+
/* @__PURE__ */ t.jsx("span", { className: h.planTitle, children: u?.(r.title) ?? r.title }),
|
|
2599
|
+
/* @__PURE__ */ t.jsx(
|
|
2615
2600
|
"span",
|
|
2616
2601
|
{
|
|
2617
|
-
className: `${
|
|
2602
|
+
className: `${h.radioCircle} ${i ? h.radioChecked : ""}`,
|
|
2618
2603
|
"aria-hidden": !0,
|
|
2619
|
-
children:
|
|
2604
|
+
children: i && /* @__PURE__ */ t.jsx("span", { className: h.radioInner })
|
|
2620
2605
|
}
|
|
2621
2606
|
)
|
|
2622
2607
|
] }),
|
|
2623
|
-
/* @__PURE__ */
|
|
2624
|
-
/* @__PURE__ */
|
|
2625
|
-
|
|
2626
|
-
|
|
2608
|
+
/* @__PURE__ */ t.jsxs("div", { className: h.priceRow, children: [
|
|
2609
|
+
/* @__PURE__ */ t.jsx("span", { className: h.price, children: r.price }),
|
|
2610
|
+
r.originalPrice && /* @__PURE__ */ t.jsx("span", { className: h.originalPrice, children: r.originalPrice }),
|
|
2611
|
+
r.savingsLabel && /* @__PURE__ */ t.jsx("span", { className: h.savingsBadge, children: u?.(r.savingsLabel, { percent: 25 }) ?? r.savingsLabel })
|
|
2627
2612
|
] }),
|
|
2628
|
-
/* @__PURE__ */
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
/* @__PURE__ */
|
|
2632
|
-
/* @__PURE__ */ r.jsx("div", { className: f.astrologerList, role: "list", children: t.astrologers.map((h, N) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(vn, { astrologer: h, t: u }) }, N)) })
|
|
2613
|
+
/* @__PURE__ */ t.jsx(xn, { features: r.features, t: u }),
|
|
2614
|
+
r.astrologers && r.astrologers.length > 0 && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
2615
|
+
/* @__PURE__ */ t.jsx("p", { className: h.astrologerHeading, children: u?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
|
|
2616
|
+
/* @__PURE__ */ t.jsx("div", { className: h.astrologerList, role: "list", children: r.astrologers.map((_, E) => /* @__PURE__ */ t.jsx("div", { role: "listitem", children: /* @__PURE__ */ t.jsx(wn, { astrologer: _, t: u }) }, E)) })
|
|
2633
2617
|
] })
|
|
2634
2618
|
] })
|
|
2635
2619
|
]
|
|
2636
2620
|
}
|
|
2637
2621
|
);
|
|
2638
|
-
},
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
name: "planAstrologerNameJyoti",
|
|
2642
|
-
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992823100.webp",
|
|
2643
|
-
experience: "planAstrologerExpJyoti",
|
|
2644
|
-
certifications: [
|
|
2645
|
-
"planAstrologerCertCertifiedJyotish",
|
|
2646
|
-
"planAstrologerCertAccurateSolutions"
|
|
2647
|
-
]
|
|
2648
|
-
},
|
|
2649
|
-
{
|
|
2650
|
-
id: "samiksha",
|
|
2651
|
-
name: "planAstrologerNameSamiksha",
|
|
2652
|
-
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992841106.webp",
|
|
2653
|
-
experience: "planAstrologerExpSamiksha",
|
|
2654
|
-
certifications: [
|
|
2655
|
-
"planAstrologerCertVedicAstrology",
|
|
2656
|
-
"planAstrologerCertResultOriented"
|
|
2657
|
-
]
|
|
2658
|
-
},
|
|
2659
|
-
{
|
|
2660
|
-
id: "neeraj",
|
|
2661
|
-
name: "planAstrologerNameNeeraj",
|
|
2662
|
-
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992858276.webp",
|
|
2663
|
-
experience: "planAstrologerExpNeeraj",
|
|
2664
|
-
certifications: ["planAstrologerCertBhuCertified", "planAstrologerCertMantraRudraksha"]
|
|
2665
|
-
}
|
|
2666
|
-
], An = (t) => [
|
|
2667
|
-
{
|
|
2668
|
-
id: "kundli-report",
|
|
2669
|
-
title: "planNameBasic",
|
|
2670
|
-
price: t ? "$25" : "₹499",
|
|
2671
|
-
features: [
|
|
2672
|
-
{ text: "planFeatureDetailedInsights", included: !0 },
|
|
2673
|
-
{ text: "planFeaturePracticalRemedies", included: !0 },
|
|
2674
|
-
{ text: "planFeatureClearLanguage", included: !0 },
|
|
2675
|
-
{ text: "planFeatureAstrologyConsultant", included: !1 },
|
|
2676
|
-
{ text: "planFeaturePersonalizedReading", included: !1 }
|
|
2677
|
-
]
|
|
2678
|
-
},
|
|
2679
|
-
{
|
|
2680
|
-
id: "kundli-report-astrologer",
|
|
2681
|
-
title: "planNameGuidance",
|
|
2682
|
-
price: t ? "$36" : "₹999",
|
|
2683
|
-
originalPrice: t ? "$25+$25" : "₹499+₹850",
|
|
2684
|
-
savingsLabel: "planSaveLabel",
|
|
2685
|
-
badge: "planMostPopular",
|
|
2686
|
-
features: [
|
|
2687
|
-
{ text: "planFeatureIncludesPremium", included: !0 },
|
|
2688
|
-
{ text: "planFeaturePlusConsultation", included: !0 },
|
|
2689
|
-
{ text: "planFeatureRealTimeAnswers", included: !0 },
|
|
2690
|
-
{ text: "planFeatureTailoredRemedies", included: !0 }
|
|
2691
|
-
],
|
|
2692
|
-
astrologers: Pn.filter(
|
|
2693
|
-
(o) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(o.id)
|
|
2694
|
-
)
|
|
2695
|
-
}
|
|
2696
|
-
], Cn = ({
|
|
2697
|
-
isOpen: t,
|
|
2698
|
-
onClose: o,
|
|
2622
|
+
}, Cn = ({
|
|
2623
|
+
isOpen: r,
|
|
2624
|
+
onClose: i,
|
|
2699
2625
|
selectedPlan: d,
|
|
2700
2626
|
onSelectPlan: u,
|
|
2701
|
-
plans:
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
analytics: N
|
|
2627
|
+
plans: f = Ta,
|
|
2628
|
+
t: k,
|
|
2629
|
+
analytics: _
|
|
2705
2630
|
}) => {
|
|
2706
|
-
const
|
|
2707
|
-
H(null);
|
|
2708
|
-
const k = H(!1);
|
|
2631
|
+
const E = d?.id || f.find((p) => p.badge)?.id || f[0]?.id || "", x = z(null), I = z(null);
|
|
2709
2632
|
X(() => {
|
|
2710
|
-
if (
|
|
2633
|
+
if (r) {
|
|
2711
2634
|
if (!d) {
|
|
2712
|
-
const
|
|
2713
|
-
|
|
2635
|
+
const p = f.find((v) => v.badge) ?? f[0];
|
|
2636
|
+
p && u(p);
|
|
2714
2637
|
}
|
|
2715
|
-
|
|
2716
|
-
}
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
N?.trackPlanPageClosed?.(), o();
|
|
2638
|
+
_?.trackPlanPageViewed?.();
|
|
2639
|
+
}
|
|
2640
|
+
}, [r, f, d, u, _]);
|
|
2641
|
+
const l = () => {
|
|
2642
|
+
_?.trackPlanPageClosed?.(), i();
|
|
2721
2643
|
};
|
|
2722
|
-
|
|
2723
|
-
if (!
|
|
2724
|
-
const
|
|
2644
|
+
X(() => {
|
|
2645
|
+
if (!r) return;
|
|
2646
|
+
const p = document.body.style.overflow;
|
|
2725
2647
|
return document.body.style.overflow = "hidden", () => {
|
|
2726
|
-
document.body.style.overflow =
|
|
2648
|
+
document.body.style.overflow = p;
|
|
2727
2649
|
};
|
|
2728
|
-
}, [
|
|
2650
|
+
}, [r]);
|
|
2651
|
+
const N = (p) => {
|
|
2652
|
+
I.current = p.touches[0]?.clientY ?? null;
|
|
2653
|
+
}, g = (p) => {
|
|
2654
|
+
if (I.current === null) return;
|
|
2655
|
+
(p.changedTouches[0]?.clientY ?? 0) - I.current > 80 && l(), I.current = null;
|
|
2656
|
+
};
|
|
2657
|
+
return r ? /* @__PURE__ */ t.jsx(
|
|
2729
2658
|
"div",
|
|
2730
2659
|
{
|
|
2731
|
-
className:
|
|
2660
|
+
className: h.overlay,
|
|
2732
2661
|
role: "dialog",
|
|
2733
2662
|
"aria-modal": "true",
|
|
2734
|
-
"aria-label":
|
|
2735
|
-
|
|
2663
|
+
"aria-label": k?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
2664
|
+
onClick: (p) => {
|
|
2665
|
+
p.target === p.currentTarget && l();
|
|
2666
|
+
},
|
|
2667
|
+
children: /* @__PURE__ */ t.jsxs(
|
|
2736
2668
|
"div",
|
|
2737
2669
|
{
|
|
2738
|
-
ref:
|
|
2739
|
-
className:
|
|
2670
|
+
ref: x,
|
|
2671
|
+
className: h.sheet,
|
|
2672
|
+
onTouchStart: N,
|
|
2673
|
+
onTouchEnd: g,
|
|
2740
2674
|
children: [
|
|
2741
|
-
/* @__PURE__ */
|
|
2742
|
-
/* @__PURE__ */
|
|
2743
|
-
|
|
2675
|
+
/* @__PURE__ */ t.jsx("div", { className: h.dragHandle, "aria-hidden": !0 }),
|
|
2676
|
+
/* @__PURE__ */ t.jsx(
|
|
2677
|
+
vn,
|
|
2744
2678
|
{
|
|
2745
|
-
title:
|
|
2746
|
-
onBack:
|
|
2679
|
+
title: k?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
2680
|
+
onBack: l
|
|
2747
2681
|
}
|
|
2748
2682
|
),
|
|
2749
|
-
/* @__PURE__ */
|
|
2683
|
+
/* @__PURE__ */ t.jsx(
|
|
2750
2684
|
"div",
|
|
2751
2685
|
{
|
|
2752
|
-
|
|
2753
|
-
className: f.plansContainer,
|
|
2686
|
+
className: h.plansContainer,
|
|
2754
2687
|
role: "radiogroup",
|
|
2755
2688
|
"aria-label": "Kundli plans",
|
|
2756
|
-
children:
|
|
2757
|
-
|
|
2689
|
+
children: f.map((p) => /* @__PURE__ */ t.jsx(
|
|
2690
|
+
jn,
|
|
2758
2691
|
{
|
|
2759
|
-
plan:
|
|
2760
|
-
isSelected:
|
|
2761
|
-
t:
|
|
2762
|
-
onSelect: (
|
|
2763
|
-
const
|
|
2764
|
-
|
|
2765
|
-
planId:
|
|
2766
|
-
planName:
|
|
2767
|
-
}), u(
|
|
2692
|
+
plan: p,
|
|
2693
|
+
isSelected: p.id === E,
|
|
2694
|
+
t: k,
|
|
2695
|
+
onSelect: (v) => {
|
|
2696
|
+
const C = f.find((F) => F.id === v);
|
|
2697
|
+
C && (_?.trackPlanSelected?.({
|
|
2698
|
+
planId: C.id,
|
|
2699
|
+
planName: C.title
|
|
2700
|
+
}), u(C));
|
|
2768
2701
|
}
|
|
2769
2702
|
},
|
|
2770
|
-
|
|
2703
|
+
p.id
|
|
2771
2704
|
))
|
|
2772
2705
|
}
|
|
2773
2706
|
),
|
|
2774
|
-
/* @__PURE__ */
|
|
2775
|
-
"button",
|
|
2776
|
-
{
|
|
2777
|
-
className: f.proceedBtn,
|
|
2778
|
-
disabled: !d,
|
|
2779
|
-
onClick: () => {
|
|
2780
|
-
d && (N?.trackPlanProceedClicked?.({
|
|
2781
|
-
planId: d.id,
|
|
2782
|
-
planName: d.title
|
|
2783
|
-
}), x(d), o());
|
|
2784
|
-
},
|
|
2785
|
-
children: d ? h?.("planProceedToPayment") ?? d.price + "Proceed to Payment" : "Select a plan"
|
|
2786
|
-
}
|
|
2787
|
-
) })
|
|
2707
|
+
/* @__PURE__ */ t.jsx("div", { className: h.bottomSpacer })
|
|
2788
2708
|
]
|
|
2789
2709
|
}
|
|
2790
2710
|
)
|
|
2791
2711
|
}
|
|
2792
2712
|
) : null;
|
|
2793
|
-
},
|
|
2713
|
+
}, An = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Tn = (r, i) => ut[r]?.[i] ?? i, Nn = {
|
|
2794
2714
|
fullName: "",
|
|
2795
2715
|
phone: "",
|
|
2796
2716
|
gender: "",
|
|
@@ -2801,167 +2721,164 @@ const ca = {}, da = ({
|
|
|
2801
2721
|
birthTimeUnknown: !1,
|
|
2802
2722
|
birthPlace: ""
|
|
2803
2723
|
}, On = ({
|
|
2804
|
-
className:
|
|
2805
|
-
locale:
|
|
2724
|
+
className: r = "",
|
|
2725
|
+
locale: i,
|
|
2806
2726
|
showLanguageSelector: d = !0,
|
|
2807
2727
|
onBack: u,
|
|
2808
|
-
initialValues:
|
|
2809
|
-
onProceed:
|
|
2810
|
-
onProceedGuidance:
|
|
2811
|
-
proceedHref:
|
|
2812
|
-
originalPriceLabel:
|
|
2813
|
-
discountedPriceLabel:
|
|
2814
|
-
googleMapsApiKey:
|
|
2815
|
-
analytics:
|
|
2728
|
+
initialValues: f,
|
|
2729
|
+
onProceed: k,
|
|
2730
|
+
onProceedGuidance: _,
|
|
2731
|
+
proceedHref: E,
|
|
2732
|
+
originalPriceLabel: x,
|
|
2733
|
+
discountedPriceLabel: I,
|
|
2734
|
+
googleMapsApiKey: l = "",
|
|
2735
|
+
analytics: N
|
|
2816
2736
|
}) => {
|
|
2817
|
-
const
|
|
2818
|
-
|
|
2737
|
+
const g = Ee(), p = Kt(), v = g !== null, C = v ? g.locale : i, F = C ?? p?.locale ?? "en", [D, P] = Y(F), q = v ? g.locale : D, b = v ? g.setLocale : P, [U, O] = Y(!1), M = z(null), Z = z(C), T = z(
|
|
2738
|
+
p?.locale
|
|
2819
2739
|
);
|
|
2820
2740
|
X(() => {
|
|
2821
2741
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
2822
2742
|
}, []);
|
|
2823
|
-
const
|
|
2743
|
+
const L = (j) => Tn(q, j);
|
|
2824
2744
|
X(() => {
|
|
2825
|
-
|
|
2826
|
-
}, [
|
|
2827
|
-
if (
|
|
2828
|
-
const
|
|
2829
|
-
|
|
2830
|
-
}, [
|
|
2831
|
-
const [
|
|
2832
|
-
...
|
|
2833
|
-
...
|
|
2834
|
-
phone:
|
|
2835
|
-
}),
|
|
2836
|
-
|
|
2745
|
+
C && Z.current !== C && b(C), Z.current = C;
|
|
2746
|
+
}, [C, b]), X(() => {
|
|
2747
|
+
if (C) return;
|
|
2748
|
+
const j = p?.locale;
|
|
2749
|
+
j && T.current !== j && b(j), T.current = j;
|
|
2750
|
+
}, [p?.locale, C, b]);
|
|
2751
|
+
const [V, $] = Y({
|
|
2752
|
+
...Nn,
|
|
2753
|
+
...f,
|
|
2754
|
+
phone: f?.phone ?? ""
|
|
2755
|
+
}), R = v ? g?.config.isGlobal ?? !0 : !0, [B, K] = Y(
|
|
2756
|
+
R ? "+1" : "+91"
|
|
2837
2757
|
);
|
|
2838
2758
|
X(() => {
|
|
2839
|
-
|
|
2840
|
-
}, [
|
|
2841
|
-
const J =
|
|
2759
|
+
K(R ? "+1" : "+91");
|
|
2760
|
+
}, [R]);
|
|
2761
|
+
const J = v ? g.formValues : V, ne = v ? g.setFormValues : $, ge = v ? g.goToPage : u, Q = v ? g.onProceed : k, ie = v ? g.onProceedGuidance : _, ue = v ? g.config.proceedHref : E, se = v ? g.config.originalPriceLabel : x, ce = v ? g.config.discountedPriceLabel : I, fe = v ? g.config.showLanguageSelector ?? !0 : d, oe = (v ? g?.config?.analytics : N) ?? N;
|
|
2842
2762
|
X(() => {
|
|
2843
|
-
if (!
|
|
2844
|
-
const
|
|
2845
|
-
|
|
2763
|
+
if (!U) return;
|
|
2764
|
+
const j = (n) => {
|
|
2765
|
+
M.current && !M.current.contains(n.target) && O(!1);
|
|
2846
2766
|
};
|
|
2847
|
-
return document.addEventListener("mousedown",
|
|
2848
|
-
}, [
|
|
2849
|
-
const [
|
|
2850
|
-
|
|
2851
|
-
}, []),
|
|
2767
|
+
return document.addEventListener("mousedown", j), () => document.removeEventListener("mousedown", j);
|
|
2768
|
+
}, [U]);
|
|
2769
|
+
const [he, me] = Y(!1), [ee, be] = Y(null), le = z(null), we = _e((j) => {
|
|
2770
|
+
le.current = j, me(!0);
|
|
2771
|
+
}, []), ye = _e(() => {
|
|
2852
2772
|
if (oe?.trackPlanProceedClicked?.({
|
|
2853
2773
|
planId: ee.id,
|
|
2854
2774
|
planName: ee.title
|
|
2855
|
-
}), !
|
|
2856
|
-
const
|
|
2857
|
-
ee.id ===
|
|
2858
|
-
}, [ee, Q, ie]), Pe =
|
|
2859
|
-
/* @__PURE__ */
|
|
2775
|
+
}), !le.current || !ee) return;
|
|
2776
|
+
const j = { ...le.current, _selectedPlan: ee };
|
|
2777
|
+
ee.id === pt && ie ? ie(j) : Q?.(j), me(!1), le.current = null;
|
|
2778
|
+
}, [ee, Q, ie]), Pe = g?.config.imageComponent ?? Be, ke = fe ? /* @__PURE__ */ t.jsxs("div", { className: pe.langDropdownWrap, ref: M, children: [
|
|
2779
|
+
/* @__PURE__ */ t.jsxs(
|
|
2860
2780
|
"button",
|
|
2861
2781
|
{
|
|
2862
2782
|
type: "button",
|
|
2863
|
-
className:
|
|
2783
|
+
className: pe.langTrigger,
|
|
2864
2784
|
onClick: () => {
|
|
2865
|
-
oe?.trackLanguageClickedFe?.({ language:
|
|
2785
|
+
oe?.trackLanguageClickedFe?.({ language: q }), O((j) => !j);
|
|
2866
2786
|
},
|
|
2867
|
-
"aria-expanded":
|
|
2787
|
+
"aria-expanded": U,
|
|
2868
2788
|
"aria-haspopup": "listbox",
|
|
2869
2789
|
id: "kundli-form-lang",
|
|
2870
|
-
"aria-label":
|
|
2790
|
+
"aria-label": L("language"),
|
|
2871
2791
|
children: [
|
|
2872
|
-
/* @__PURE__ */
|
|
2792
|
+
/* @__PURE__ */ t.jsx(
|
|
2873
2793
|
Pe,
|
|
2874
2794
|
{
|
|
2875
|
-
src:
|
|
2795
|
+
src: An,
|
|
2876
2796
|
alt: "",
|
|
2877
|
-
className:
|
|
2797
|
+
className: pe.langIcon,
|
|
2878
2798
|
width: 16,
|
|
2879
2799
|
height: 16,
|
|
2880
2800
|
loading: "eager"
|
|
2881
2801
|
}
|
|
2882
2802
|
),
|
|
2883
|
-
/* @__PURE__ */
|
|
2803
|
+
/* @__PURE__ */ t.jsx("span", { className: pe.langLabel, children: st[q] })
|
|
2884
2804
|
]
|
|
2885
2805
|
}
|
|
2886
2806
|
),
|
|
2887
|
-
|
|
2807
|
+
U && /* @__PURE__ */ t.jsx(
|
|
2888
2808
|
"ul",
|
|
2889
2809
|
{
|
|
2890
|
-
className:
|
|
2810
|
+
className: pe.langMenu,
|
|
2891
2811
|
role: "listbox",
|
|
2892
2812
|
"aria-labelledby": "kundli-form-lang",
|
|
2893
|
-
"aria-activedescendant": `kundli-form-lang-option-${
|
|
2894
|
-
children:
|
|
2813
|
+
"aria-activedescendant": `kundli-form-lang-option-${q}`,
|
|
2814
|
+
children: dt.map((j) => /* @__PURE__ */ t.jsx(
|
|
2895
2815
|
"li",
|
|
2896
2816
|
{
|
|
2897
|
-
id: `kundli-form-lang-option-${
|
|
2817
|
+
id: `kundli-form-lang-option-${j}`,
|
|
2898
2818
|
role: "option",
|
|
2899
|
-
"aria-selected":
|
|
2900
|
-
className:
|
|
2819
|
+
"aria-selected": j === q,
|
|
2820
|
+
className: pe.langOption,
|
|
2901
2821
|
onClick: () => {
|
|
2902
|
-
oe?.trackLanguageChangedFe?.({ newLanguage:
|
|
2822
|
+
oe?.trackLanguageChangedFe?.({ newLanguage: j }), b(j), O(!1);
|
|
2903
2823
|
},
|
|
2904
|
-
children:
|
|
2824
|
+
children: st[j]
|
|
2905
2825
|
},
|
|
2906
|
-
|
|
2826
|
+
j
|
|
2907
2827
|
))
|
|
2908
2828
|
}
|
|
2909
2829
|
)
|
|
2910
2830
|
] }) : null;
|
|
2911
|
-
return /* @__PURE__ */
|
|
2912
|
-
/* @__PURE__ */
|
|
2913
|
-
|
|
2831
|
+
return /* @__PURE__ */ t.jsxs("div", { className: `${pe.container} ${r}`, children: [
|
|
2832
|
+
/* @__PURE__ */ t.jsx(
|
|
2833
|
+
Ca,
|
|
2914
2834
|
{
|
|
2915
|
-
t:
|
|
2916
|
-
logoUrl:
|
|
2835
|
+
t: L,
|
|
2836
|
+
logoUrl: v ? g.config.logoUrl : void 0,
|
|
2917
2837
|
languageSelector: ke,
|
|
2918
|
-
className:
|
|
2838
|
+
className: pe.kundliHeaderNoBorder
|
|
2919
2839
|
}
|
|
2920
2840
|
),
|
|
2921
|
-
/* @__PURE__ */
|
|
2922
|
-
/* @__PURE__ */
|
|
2923
|
-
/* @__PURE__ */
|
|
2924
|
-
/* @__PURE__ */
|
|
2841
|
+
/* @__PURE__ */ t.jsx("div", { className: pe.headerSeparator, "aria-hidden": !0 }),
|
|
2842
|
+
/* @__PURE__ */ t.jsxs("main", { className: pe.main, children: [
|
|
2843
|
+
/* @__PURE__ */ t.jsx(cr, { t: L, onBack: ge }),
|
|
2844
|
+
/* @__PURE__ */ t.jsx(
|
|
2925
2845
|
da,
|
|
2926
2846
|
{
|
|
2927
|
-
t:
|
|
2847
|
+
t: L,
|
|
2928
2848
|
values: J,
|
|
2929
2849
|
onChange: ne,
|
|
2930
|
-
googleMapsApiKey:
|
|
2931
|
-
phoneIsdCode:
|
|
2932
|
-
onPhoneIsdCodeChange:
|
|
2850
|
+
googleMapsApiKey: l,
|
|
2851
|
+
phoneIsdCode: B,
|
|
2852
|
+
onPhoneIsdCodeChange: K
|
|
2933
2853
|
}
|
|
2934
2854
|
)
|
|
2935
2855
|
] }),
|
|
2936
|
-
/* @__PURE__ */
|
|
2937
|
-
|
|
2856
|
+
/* @__PURE__ */ t.jsx(
|
|
2857
|
+
Pa,
|
|
2938
2858
|
{
|
|
2939
|
-
t:
|
|
2859
|
+
t: L,
|
|
2940
2860
|
values: J,
|
|
2941
|
-
phoneIsdCode:
|
|
2861
|
+
phoneIsdCode: B,
|
|
2942
2862
|
onProceed: Q,
|
|
2943
2863
|
onProceedGuidance: ie,
|
|
2944
2864
|
href: ue,
|
|
2945
2865
|
originalPriceLabel: se,
|
|
2946
|
-
discountedPriceLabel:
|
|
2866
|
+
discountedPriceLabel: ce,
|
|
2947
2867
|
analytics: oe,
|
|
2948
2868
|
showPlanSheet: we,
|
|
2949
|
-
confirmPlan:
|
|
2950
|
-
planSheetOpen:
|
|
2869
|
+
confirmPlan: ye,
|
|
2870
|
+
planSheetOpen: he,
|
|
2951
2871
|
selectedPlan: ee
|
|
2952
2872
|
}
|
|
2953
2873
|
),
|
|
2954
|
-
|
|
2874
|
+
g?.config.variant === "v1" && /* @__PURE__ */ t.jsx(
|
|
2955
2875
|
Cn,
|
|
2956
2876
|
{
|
|
2957
|
-
isOpen:
|
|
2877
|
+
isOpen: he,
|
|
2958
2878
|
onClose: () => me(!1),
|
|
2959
2879
|
selectedPlan: ee,
|
|
2960
|
-
onSelectPlan:
|
|
2961
|
-
|
|
2962
|
-
_e?.(P);
|
|
2963
|
-
},
|
|
2964
|
-
t: B,
|
|
2880
|
+
onSelectPlan: be,
|
|
2881
|
+
t: L,
|
|
2965
2882
|
analytics: oe
|
|
2966
2883
|
}
|
|
2967
2884
|
)
|
|
@@ -3006,31 +2923,31 @@ const ca = {}, da = ({
|
|
|
3006
2923
|
kundli_form_view: "kundli_form_view"
|
|
3007
2924
|
};
|
|
3008
2925
|
export {
|
|
3009
|
-
|
|
3010
|
-
|
|
2926
|
+
Be as D,
|
|
2927
|
+
cr as F,
|
|
3011
2928
|
En as I,
|
|
3012
2929
|
Fn as K,
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
2930
|
+
st as L,
|
|
2931
|
+
pt as P,
|
|
2932
|
+
dt as S,
|
|
3016
2933
|
da as U,
|
|
3017
|
-
|
|
2934
|
+
ft as a,
|
|
3018
2935
|
He as b,
|
|
3019
2936
|
On as c,
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
2937
|
+
Bn as d,
|
|
2938
|
+
ar as e,
|
|
2939
|
+
nr as f,
|
|
2940
|
+
tr as g,
|
|
2941
|
+
Ee as h,
|
|
2942
|
+
Ln as i,
|
|
3026
2943
|
Dn as j,
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
2944
|
+
t as k,
|
|
2945
|
+
Ca as l,
|
|
2946
|
+
Pa as m,
|
|
3030
2947
|
Cn as n,
|
|
3031
2948
|
In as r,
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
2949
|
+
rr as s,
|
|
2950
|
+
ut as t,
|
|
2951
|
+
Kt as u
|
|
3035
2952
|
};
|
|
3036
|
-
//# sourceMappingURL=analytics-
|
|
2953
|
+
//# sourceMappingURL=analytics-CbJos3T3.js.map
|