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