@srimandir/kundli-generator 7.5.12 → 7.5.14
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-ze71U5q2.js → analytics-DXDIkF48.js} +1016 -987
- package/dist/analytics-DXDIkF48.js.map +1 -0
- package/dist/components/KundliPlanBottomSheet/consultationSlotDefaults.d.ts +10 -0
- package/dist/components/KundliPlanBottomSheet/types.d.ts +2 -0
- package/dist/{criticalCss-BQQnGxfW.js → criticalCss-CpzM5xRJ.js} +2 -2
- package/dist/{criticalCss-BQQnGxfW.js.map → criticalCss-CpzM5xRJ.js.map} +1 -1
- 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-ze71U5q2.js.map +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import tt, { useContext as at, createContext as kt, useState as
|
|
2
|
-
import { FormSectionHeader as Kt, FooterCTAButton as Ht, FooterShell as Yt, CircularMarquee as Vt, footerShellStyles as
|
|
1
|
+
import tt, { useContext as at, createContext as kt, useState as M, useRef as H, useEffect as J, useMemo as Re, useCallback as be, Fragment as Wt } from "react";
|
|
2
|
+
import { FormSectionHeader as Kt, FooterCTAButton as Ht, FooterShell as Yt, CircularMarquee as Vt, footerShellStyles as Ae, PageHeader as zt } from "@srimandir/astrology-common";
|
|
3
3
|
var Ye = { exports: {} }, qe = {};
|
|
4
|
-
var
|
|
4
|
+
var mt;
|
|
5
5
|
function Jt() {
|
|
6
|
-
if (
|
|
7
|
-
|
|
8
|
-
var a = tt, o = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.fragment"),
|
|
9
|
-
function f(
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
for (
|
|
13
|
-
if (
|
|
14
|
-
return { $$typeof: o, type:
|
|
6
|
+
if (mt) return qe;
|
|
7
|
+
mt = 1;
|
|
8
|
+
var a = tt, o = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.fragment"), p = Object.prototype.hasOwnProperty, m = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9
|
+
function f(C, w, q) {
|
|
10
|
+
var F, N = {}, u = null, O = null;
|
|
11
|
+
q !== void 0 && (u = "" + q), w.key !== void 0 && (u = "" + w.key), w.ref !== void 0 && (O = w.ref);
|
|
12
|
+
for (F in w) p.call(w, F) && !g.hasOwnProperty(F) && (N[F] = w[F]);
|
|
13
|
+
if (C && C.defaultProps) for (F in w = C.defaultProps, w) N[F] === void 0 && (N[F] = w[F]);
|
|
14
|
+
return { $$typeof: o, type: C, key: u, ref: O, props: N, _owner: m.current };
|
|
15
15
|
}
|
|
16
16
|
return qe.Fragment = s, qe.jsx = f, qe.jsxs = f, qe;
|
|
17
17
|
}
|
|
@@ -19,48 +19,48 @@ var We = {};
|
|
|
19
19
|
var ft;
|
|
20
20
|
function Qt() {
|
|
21
21
|
return ft || (ft = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
-
var a = tt, o = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"),
|
|
23
|
-
function
|
|
22
|
+
var a = tt, o = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), p = /* @__PURE__ */ Symbol.for("react.fragment"), m = /* @__PURE__ */ Symbol.for("react.strict_mode"), g = /* @__PURE__ */ Symbol.for("react.profiler"), f = /* @__PURE__ */ Symbol.for("react.provider"), C = /* @__PURE__ */ Symbol.for("react.context"), w = /* @__PURE__ */ Symbol.for("react.forward_ref"), q = /* @__PURE__ */ Symbol.for("react.suspense"), F = /* @__PURE__ */ Symbol.for("react.suspense_list"), N = /* @__PURE__ */ Symbol.for("react.memo"), u = /* @__PURE__ */ Symbol.for("react.lazy"), O = /* @__PURE__ */ Symbol.for("react.offscreen"), v = Symbol.iterator, U = "@@iterator";
|
|
23
|
+
function k(t) {
|
|
24
24
|
if (t === null || typeof t != "object")
|
|
25
25
|
return null;
|
|
26
|
-
var i = v && t[v] || t[
|
|
26
|
+
var i = v && t[v] || t[U];
|
|
27
27
|
return typeof i == "function" ? i : null;
|
|
28
28
|
}
|
|
29
29
|
var h = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
30
30
|
function P(t) {
|
|
31
31
|
{
|
|
32
|
-
for (var i = arguments.length, d = new Array(i > 1 ? i - 1 : 0),
|
|
33
|
-
d[
|
|
34
|
-
|
|
32
|
+
for (var i = arguments.length, d = new Array(i > 1 ? i - 1 : 0), b = 1; b < i; b++)
|
|
33
|
+
d[b - 1] = arguments[b];
|
|
34
|
+
Q("error", t, d);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Q(t, i, d) {
|
|
38
38
|
{
|
|
39
|
-
var
|
|
40
|
-
|
|
41
|
-
var Y = d.map(function(
|
|
42
|
-
return String(
|
|
39
|
+
var b = h.ReactDebugCurrentFrame, $ = b.getStackAddendum();
|
|
40
|
+
$ !== "" && (i += "%s", d = d.concat([$]));
|
|
41
|
+
var Y = d.map(function(L) {
|
|
42
|
+
return String(L);
|
|
43
43
|
});
|
|
44
44
|
Y.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, Y);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
var
|
|
48
|
-
|
|
47
|
+
var j = !1, E = !1, T = !1, G = !1, _ = !1, B;
|
|
48
|
+
B = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
49
|
function X(t) {
|
|
50
|
-
return !!(typeof t == "string" || typeof t == "function" || t ===
|
|
50
|
+
return !!(typeof t == "string" || typeof t == "function" || t === p || t === g || _ || t === m || t === q || t === F || G || t === O || j || E || T || typeof t == "object" && t !== null && (t.$$typeof === u || t.$$typeof === N || t.$$typeof === f || t.$$typeof === C || t.$$typeof === w || // 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
|
-
t.$$typeof ===
|
|
54
|
+
t.$$typeof === B || t.getModuleId !== void 0));
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
var
|
|
58
|
-
if (
|
|
59
|
-
return
|
|
60
|
-
var
|
|
61
|
-
return
|
|
56
|
+
function V(t, i, d) {
|
|
57
|
+
var b = t.displayName;
|
|
58
|
+
if (b)
|
|
59
|
+
return b;
|
|
60
|
+
var $ = i.displayName || i.name || "";
|
|
61
|
+
return $ !== "" ? d + "(" + $ + ")" : d;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function D(t) {
|
|
64
64
|
return t.displayName || "Context";
|
|
65
65
|
}
|
|
66
66
|
function I(t) {
|
|
@@ -71,36 +71,36 @@ function Qt() {
|
|
|
71
71
|
if (typeof t == "string")
|
|
72
72
|
return t;
|
|
73
73
|
switch (t) {
|
|
74
|
-
case
|
|
74
|
+
case p:
|
|
75
75
|
return "Fragment";
|
|
76
76
|
case s:
|
|
77
77
|
return "Portal";
|
|
78
|
-
case
|
|
78
|
+
case g:
|
|
79
79
|
return "Profiler";
|
|
80
|
-
case
|
|
80
|
+
case m:
|
|
81
81
|
return "StrictMode";
|
|
82
|
-
case
|
|
82
|
+
case q:
|
|
83
83
|
return "Suspense";
|
|
84
|
-
case
|
|
84
|
+
case F:
|
|
85
85
|
return "SuspenseList";
|
|
86
86
|
}
|
|
87
87
|
if (typeof t == "object")
|
|
88
88
|
switch (t.$$typeof) {
|
|
89
|
-
case
|
|
89
|
+
case C:
|
|
90
90
|
var i = t;
|
|
91
|
-
return
|
|
91
|
+
return D(i) + ".Consumer";
|
|
92
92
|
case f:
|
|
93
93
|
var d = t;
|
|
94
|
-
return
|
|
95
|
-
case
|
|
96
|
-
return
|
|
97
|
-
case
|
|
98
|
-
var
|
|
99
|
-
return
|
|
94
|
+
return D(d._context) + ".Provider";
|
|
95
|
+
case w:
|
|
96
|
+
return V(t, t.render, "ForwardRef");
|
|
97
|
+
case N:
|
|
98
|
+
var b = t.displayName || null;
|
|
99
|
+
return b !== null ? b : I(t.type) || "Memo";
|
|
100
100
|
case u: {
|
|
101
|
-
var
|
|
101
|
+
var $ = t, Y = $._payload, L = $._init;
|
|
102
102
|
try {
|
|
103
|
-
return I(
|
|
103
|
+
return I(L(Y));
|
|
104
104
|
} catch {
|
|
105
105
|
return null;
|
|
106
106
|
}
|
|
@@ -108,18 +108,18 @@ function Qt() {
|
|
|
108
108
|
}
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
111
|
-
var
|
|
112
|
-
function
|
|
111
|
+
var ee = Object.assign, Z = 0, z, ye, ne, l, R, W, ue;
|
|
112
|
+
function ve() {
|
|
113
113
|
}
|
|
114
|
-
|
|
114
|
+
ve.__reactDisabledLog = !0;
|
|
115
115
|
function je() {
|
|
116
116
|
{
|
|
117
|
-
if (
|
|
118
|
-
|
|
117
|
+
if (Z === 0) {
|
|
118
|
+
z = console.log, ye = console.info, ne = console.warn, l = console.error, R = console.group, W = console.groupCollapsed, ue = console.groupEnd;
|
|
119
119
|
var t = {
|
|
120
120
|
configurable: !0,
|
|
121
121
|
enumerable: !0,
|
|
122
|
-
value:
|
|
122
|
+
value: ve,
|
|
123
123
|
writable: !0
|
|
124
124
|
};
|
|
125
125
|
Object.defineProperties(console, {
|
|
@@ -132,138 +132,138 @@ function Qt() {
|
|
|
132
132
|
groupEnd: t
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
|
-
|
|
135
|
+
Z++;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
function he() {
|
|
139
139
|
{
|
|
140
|
-
if (
|
|
140
|
+
if (Z--, Z === 0) {
|
|
141
141
|
var t = {
|
|
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: ee({}, t, {
|
|
148
|
+
value: z
|
|
149
149
|
}),
|
|
150
|
-
info:
|
|
151
|
-
value:
|
|
150
|
+
info: ee({}, t, {
|
|
151
|
+
value: ye
|
|
152
152
|
}),
|
|
153
|
-
warn:
|
|
154
|
-
value: J
|
|
155
|
-
}),
|
|
156
|
-
error: Q({}, t, {
|
|
153
|
+
warn: ee({}, t, {
|
|
157
154
|
value: ne
|
|
158
155
|
}),
|
|
159
|
-
|
|
160
|
-
value:
|
|
156
|
+
error: ee({}, t, {
|
|
157
|
+
value: l
|
|
158
|
+
}),
|
|
159
|
+
group: ee({}, t, {
|
|
160
|
+
value: R
|
|
161
161
|
}),
|
|
162
|
-
groupCollapsed:
|
|
163
|
-
value:
|
|
162
|
+
groupCollapsed: ee({}, t, {
|
|
163
|
+
value: W
|
|
164
164
|
}),
|
|
165
|
-
groupEnd:
|
|
166
|
-
value:
|
|
165
|
+
groupEnd: ee({}, t, {
|
|
166
|
+
value: ue
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
|
|
170
|
+
Z < 0 && P("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
var
|
|
174
|
-
function
|
|
173
|
+
var te = h.ReactCurrentDispatcher, pe;
|
|
174
|
+
function me(t, i, d) {
|
|
175
175
|
{
|
|
176
|
-
if (
|
|
176
|
+
if (pe === void 0)
|
|
177
177
|
try {
|
|
178
178
|
throw Error();
|
|
179
|
-
} catch (
|
|
180
|
-
var
|
|
181
|
-
|
|
179
|
+
} catch ($) {
|
|
180
|
+
var b = $.stack.trim().match(/\n( *(at )?)/);
|
|
181
|
+
pe = b && b[1] || "";
|
|
182
182
|
}
|
|
183
183
|
return `
|
|
184
|
-
` +
|
|
184
|
+
` + pe + t;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
var
|
|
187
|
+
var ce = !1, oe;
|
|
188
188
|
{
|
|
189
|
-
var
|
|
190
|
-
|
|
189
|
+
var ke = typeof WeakMap == "function" ? WeakMap : Map;
|
|
190
|
+
oe = new ke();
|
|
191
191
|
}
|
|
192
192
|
function Se(t, i) {
|
|
193
|
-
if (!t ||
|
|
193
|
+
if (!t || ce)
|
|
194
194
|
return "";
|
|
195
195
|
{
|
|
196
|
-
var d =
|
|
196
|
+
var d = oe.get(t);
|
|
197
197
|
if (d !== void 0)
|
|
198
198
|
return d;
|
|
199
199
|
}
|
|
200
|
-
var
|
|
201
|
-
|
|
202
|
-
var
|
|
200
|
+
var b;
|
|
201
|
+
ce = !0;
|
|
202
|
+
var $ = Error.prepareStackTrace;
|
|
203
203
|
Error.prepareStackTrace = void 0;
|
|
204
204
|
var Y;
|
|
205
|
-
Y =
|
|
205
|
+
Y = te.current, te.current = null, je();
|
|
206
206
|
try {
|
|
207
207
|
if (i) {
|
|
208
|
-
var
|
|
208
|
+
var L = function() {
|
|
209
209
|
throw Error();
|
|
210
210
|
};
|
|
211
|
-
if (Object.defineProperty(
|
|
211
|
+
if (Object.defineProperty(L.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(L, []);
|
|
218
|
+
} catch (de) {
|
|
219
|
+
b = de;
|
|
220
220
|
}
|
|
221
|
-
Reflect.construct(t, [],
|
|
221
|
+
Reflect.construct(t, [], L);
|
|
222
222
|
} else {
|
|
223
223
|
try {
|
|
224
|
-
|
|
225
|
-
} catch (
|
|
226
|
-
|
|
224
|
+
L.call();
|
|
225
|
+
} catch (de) {
|
|
226
|
+
b = de;
|
|
227
227
|
}
|
|
228
|
-
t.call(
|
|
228
|
+
t.call(L.prototype);
|
|
229
229
|
}
|
|
230
230
|
} else {
|
|
231
231
|
try {
|
|
232
232
|
throw Error();
|
|
233
|
-
} catch (
|
|
234
|
-
|
|
233
|
+
} catch (de) {
|
|
234
|
+
b = de;
|
|
235
235
|
}
|
|
236
236
|
t();
|
|
237
237
|
}
|
|
238
|
-
} catch (
|
|
239
|
-
if (
|
|
240
|
-
for (var
|
|
241
|
-
`),
|
|
242
|
-
`),
|
|
238
|
+
} catch (de) {
|
|
239
|
+
if (de && b && typeof de.stack == "string") {
|
|
240
|
+
for (var A = de.stack.split(`
|
|
241
|
+
`), se = b.stack.split(`
|
|
242
|
+
`), ae = A.length - 1, re = se.length - 1; ae >= 1 && re >= 0 && A[ae] !== se[re]; )
|
|
243
243
|
re--;
|
|
244
|
-
for (;
|
|
245
|
-
if (
|
|
246
|
-
if (
|
|
244
|
+
for (; ae >= 1 && re >= 0; ae--, re--)
|
|
245
|
+
if (A[ae] !== se[re]) {
|
|
246
|
+
if (ae !== 1 || re !== 1)
|
|
247
247
|
do
|
|
248
|
-
if (
|
|
248
|
+
if (ae--, re--, re < 0 || A[ae] !== se[re]) {
|
|
249
249
|
var _e = `
|
|
250
|
-
` +
|
|
251
|
-
return t.displayName && _e.includes("<anonymous>") && (_e = _e.replace("<anonymous>", t.displayName)), typeof t == "function" &&
|
|
250
|
+
` + A[ae].replace(" at new ", " at ");
|
|
251
|
+
return t.displayName && _e.includes("<anonymous>") && (_e = _e.replace("<anonymous>", t.displayName)), typeof t == "function" && oe.set(t, _e), _e;
|
|
252
252
|
}
|
|
253
|
-
while (
|
|
253
|
+
while (ae >= 1 && re >= 0);
|
|
254
254
|
break;
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
} finally {
|
|
258
|
-
|
|
258
|
+
ce = !1, te.current = Y, he(), Error.prepareStackTrace = $;
|
|
259
259
|
}
|
|
260
|
-
var Fe = t ? t.displayName || t.name : "",
|
|
261
|
-
return typeof t == "function" &&
|
|
260
|
+
var Fe = t ? t.displayName || t.name : "", Ne = Fe ? me(Fe) : "";
|
|
261
|
+
return typeof t == "function" && oe.set(t, Ne), Ne;
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function ie(t, i, d) {
|
|
264
264
|
return Se(t, !1);
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function le(t) {
|
|
267
267
|
var i = t.prototype;
|
|
268
268
|
return !!(i && i.isReactComponent);
|
|
269
269
|
}
|
|
@@ -271,60 +271,60 @@ function Qt() {
|
|
|
271
271
|
if (t == null)
|
|
272
272
|
return "";
|
|
273
273
|
if (typeof t == "function")
|
|
274
|
-
return Se(t,
|
|
274
|
+
return Se(t, le(t));
|
|
275
275
|
if (typeof t == "string")
|
|
276
|
-
return
|
|
276
|
+
return me(t);
|
|
277
277
|
switch (t) {
|
|
278
|
-
case
|
|
279
|
-
return
|
|
280
|
-
case
|
|
281
|
-
return
|
|
278
|
+
case q:
|
|
279
|
+
return me("Suspense");
|
|
280
|
+
case F:
|
|
281
|
+
return me("SuspenseList");
|
|
282
282
|
}
|
|
283
283
|
if (typeof t == "object")
|
|
284
284
|
switch (t.$$typeof) {
|
|
285
|
-
case
|
|
286
|
-
return
|
|
287
|
-
case
|
|
285
|
+
case w:
|
|
286
|
+
return ie(t.render);
|
|
287
|
+
case N:
|
|
288
288
|
return Te(t.type, i, d);
|
|
289
289
|
case u: {
|
|
290
|
-
var
|
|
290
|
+
var b = t, $ = b._payload, Y = b._init;
|
|
291
291
|
try {
|
|
292
|
-
return Te(Y(
|
|
292
|
+
return Te(Y($), i, d);
|
|
293
293
|
} catch {
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
return "";
|
|
298
298
|
}
|
|
299
|
-
var
|
|
300
|
-
function
|
|
299
|
+
var xe = Object.prototype.hasOwnProperty, fe = {}, we = h.ReactDebugCurrentFrame;
|
|
300
|
+
function Ce(t) {
|
|
301
301
|
if (t) {
|
|
302
302
|
var i = t._owner, d = Te(t.type, t._source, i ? i.type : null);
|
|
303
|
-
|
|
303
|
+
we.setExtraStackFrame(d);
|
|
304
304
|
} else
|
|
305
|
-
|
|
305
|
+
we.setExtraStackFrame(null);
|
|
306
306
|
}
|
|
307
|
-
function Ie(t, i, d,
|
|
307
|
+
function Ie(t, i, d, b, $) {
|
|
308
308
|
{
|
|
309
|
-
var Y = Function.call.bind(
|
|
310
|
-
for (var
|
|
311
|
-
if (Y(t,
|
|
312
|
-
var
|
|
309
|
+
var Y = Function.call.bind(xe);
|
|
310
|
+
for (var L in t)
|
|
311
|
+
if (Y(t, L)) {
|
|
312
|
+
var A = void 0;
|
|
313
313
|
try {
|
|
314
|
-
if (typeof t[
|
|
315
|
-
var
|
|
316
|
-
throw
|
|
314
|
+
if (typeof t[L] != "function") {
|
|
315
|
+
var se = Error((b || "React class") + ": " + d + " type `" + L + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[L] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
316
|
+
throw se.name = "Invariant Violation", se;
|
|
317
317
|
}
|
|
318
|
-
|
|
319
|
-
} catch (
|
|
320
|
-
|
|
318
|
+
A = t[L](i, L, b, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
319
|
+
} catch (ae) {
|
|
320
|
+
A = ae;
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
A && !(A instanceof Error) && (Ce($), P("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", b || "React class", d, L, typeof A), Ce(null)), A instanceof Error && !(A.message in fe) && (fe[A.message] = !0, Ce($), P("Failed %s type: %s", d, A.message), Ce(null));
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
326
|
var Le = Array.isArray;
|
|
327
|
-
function
|
|
327
|
+
function S(t) {
|
|
328
328
|
return Le(t);
|
|
329
329
|
}
|
|
330
330
|
function Be(t) {
|
|
@@ -354,7 +354,7 @@ function Qt() {
|
|
|
354
354
|
__source: !0
|
|
355
355
|
}, K, ge;
|
|
356
356
|
function Ge(t) {
|
|
357
|
-
if (
|
|
357
|
+
if (xe.call(t, "ref")) {
|
|
358
358
|
var i = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
359
359
|
if (i && i.isReactWarning)
|
|
360
360
|
return !1;
|
|
@@ -362,17 +362,17 @@ function Qt() {
|
|
|
362
362
|
return t.ref !== void 0;
|
|
363
363
|
}
|
|
364
364
|
function ze(t) {
|
|
365
|
-
if (
|
|
365
|
+
if (xe.call(t, "key")) {
|
|
366
366
|
var i = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
367
367
|
if (i && i.isReactWarning)
|
|
368
368
|
return !1;
|
|
369
369
|
}
|
|
370
370
|
return t.key !== void 0;
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function Nt(t, i) {
|
|
373
373
|
typeof t.ref == "string" && r.current;
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function At(t, i) {
|
|
376
376
|
{
|
|
377
377
|
var d = function() {
|
|
378
378
|
K || (K = !0, P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
|
|
@@ -394,51 +394,51 @@ function Qt() {
|
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
var Et = function(t, i, d,
|
|
398
|
-
var
|
|
397
|
+
var Et = function(t, i, d, b, $, Y, L) {
|
|
398
|
+
var A = {
|
|
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: t,
|
|
403
403
|
key: i,
|
|
404
404
|
ref: d,
|
|
405
|
-
props:
|
|
405
|
+
props: L,
|
|
406
406
|
// Record the component responsible for creating this element.
|
|
407
407
|
_owner: Y
|
|
408
408
|
};
|
|
409
|
-
return
|
|
409
|
+
return A._store = {}, Object.defineProperty(A._store, "validated", {
|
|
410
410
|
configurable: !1,
|
|
411
411
|
enumerable: !1,
|
|
412
412
|
writable: !0,
|
|
413
413
|
value: !1
|
|
414
|
-
}), Object.defineProperty(
|
|
414
|
+
}), Object.defineProperty(A, "_self", {
|
|
415
415
|
configurable: !1,
|
|
416
416
|
enumerable: !1,
|
|
417
417
|
writable: !1,
|
|
418
|
-
value:
|
|
419
|
-
}), Object.defineProperty(
|
|
418
|
+
value: b
|
|
419
|
+
}), Object.defineProperty(A, "_source", {
|
|
420
420
|
configurable: !1,
|
|
421
421
|
enumerable: !1,
|
|
422
422
|
writable: !1,
|
|
423
|
-
value:
|
|
424
|
-
}), Object.freeze && (Object.freeze(
|
|
423
|
+
value: $
|
|
424
|
+
}), Object.freeze && (Object.freeze(A.props), Object.freeze(A)), A;
|
|
425
425
|
};
|
|
426
|
-
function It(t, i, d,
|
|
426
|
+
function It(t, i, d, b, $) {
|
|
427
427
|
{
|
|
428
|
-
var Y,
|
|
429
|
-
d !== void 0 && (Ue(d),
|
|
428
|
+
var Y, L = {}, A = null, se = null;
|
|
429
|
+
d !== void 0 && (Ue(d), A = "" + d), ze(i) && (Ue(i.key), A = "" + i.key), Ge(i) && (se = i.ref, Nt(i, $));
|
|
430
430
|
for (Y in i)
|
|
431
|
-
|
|
431
|
+
xe.call(i, Y) && !c.hasOwnProperty(Y) && (L[Y] = i[Y]);
|
|
432
432
|
if (t && t.defaultProps) {
|
|
433
|
-
var
|
|
434
|
-
for (Y in
|
|
435
|
-
|
|
433
|
+
var ae = t.defaultProps;
|
|
434
|
+
for (Y in ae)
|
|
435
|
+
L[Y] === void 0 && (L[Y] = ae[Y]);
|
|
436
436
|
}
|
|
437
|
-
if (
|
|
437
|
+
if (A || se) {
|
|
438
438
|
var re = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
439
|
-
|
|
439
|
+
A && At(L, re), se && Rt(L, re);
|
|
440
440
|
}
|
|
441
|
-
return Et(t,
|
|
441
|
+
return Et(t, A, se, $, b, r.current, L);
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
444
|
var Je = h.ReactCurrentOwner, it = h.ReactDebugCurrentFrame;
|
|
@@ -491,26 +491,26 @@ Check the top-level render call using <` + d + ">.");
|
|
|
491
491
|
if (st[d])
|
|
492
492
|
return;
|
|
493
493
|
st[d] = !0;
|
|
494
|
-
var
|
|
495
|
-
t && t._owner && t._owner !== Je.current && (
|
|
494
|
+
var b = "";
|
|
495
|
+
t && t._owner && t._owner !== Je.current && (b = " It was passed a child from " + I(t._owner.type) + "."), De(t), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, b), De(null);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
function dt(t, i) {
|
|
499
499
|
{
|
|
500
500
|
if (typeof t != "object")
|
|
501
501
|
return;
|
|
502
|
-
if (
|
|
502
|
+
if (S(t))
|
|
503
503
|
for (var d = 0; d < t.length; d++) {
|
|
504
|
-
var
|
|
505
|
-
Xe(
|
|
504
|
+
var b = t[d];
|
|
505
|
+
Xe(b) && ct(b, i);
|
|
506
506
|
}
|
|
507
507
|
else if (Xe(t))
|
|
508
508
|
t._store && (t._store.validated = !0);
|
|
509
509
|
else if (t) {
|
|
510
|
-
var
|
|
511
|
-
if (typeof
|
|
512
|
-
for (var Y =
|
|
513
|
-
Xe(
|
|
510
|
+
var $ = k(t);
|
|
511
|
+
if (typeof $ == "function" && $ !== t.entries)
|
|
512
|
+
for (var Y = $.call(t), L; !(L = Y.next()).done; )
|
|
513
|
+
Xe(L.value) && ct(L.value, i);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
}
|
|
@@ -522,19 +522,19 @@ Check the top-level render call using <` + d + ">.");
|
|
|
522
522
|
var d;
|
|
523
523
|
if (typeof i == "function")
|
|
524
524
|
d = i.propTypes;
|
|
525
|
-
else if (typeof i == "object" && (i.$$typeof ===
|
|
525
|
+
else if (typeof i == "object" && (i.$$typeof === w || // Note: Memo only checks outer props here.
|
|
526
526
|
// Inner props are checked in the reconciler.
|
|
527
|
-
i.$$typeof ===
|
|
527
|
+
i.$$typeof === N))
|
|
528
528
|
d = i.propTypes;
|
|
529
529
|
else
|
|
530
530
|
return;
|
|
531
531
|
if (d) {
|
|
532
|
-
var
|
|
533
|
-
Ie(d, t.props, "prop",
|
|
532
|
+
var b = I(i);
|
|
533
|
+
Ie(d, t.props, "prop", b, t);
|
|
534
534
|
} else if (i.PropTypes !== void 0 && !Qe) {
|
|
535
535
|
Qe = !0;
|
|
536
|
-
var
|
|
537
|
-
P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
536
|
+
var $ = I(i);
|
|
537
|
+
P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", $ || "Unknown");
|
|
538
538
|
}
|
|
539
539
|
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
540
540
|
}
|
|
@@ -542,9 +542,9 @@ Check the top-level render call using <` + d + ">.");
|
|
|
542
542
|
function Ft(t) {
|
|
543
543
|
{
|
|
544
544
|
for (var i = Object.keys(t.props), d = 0; d < i.length; d++) {
|
|
545
|
-
var
|
|
546
|
-
if (
|
|
547
|
-
De(t), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
545
|
+
var b = i[d];
|
|
546
|
+
if (b !== "children" && b !== "key") {
|
|
547
|
+
De(t), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), De(null);
|
|
548
548
|
break;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
@@ -552,25 +552,25 @@ Check the top-level render call using <` + d + ">.");
|
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
var ut = {};
|
|
555
|
-
function
|
|
555
|
+
function pt(t, i, d, b, $, Y) {
|
|
556
556
|
{
|
|
557
|
-
var
|
|
558
|
-
if (!
|
|
559
|
-
var
|
|
560
|
-
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (
|
|
561
|
-
var
|
|
562
|
-
|
|
563
|
-
var
|
|
564
|
-
t === null ?
|
|
557
|
+
var L = X(t);
|
|
558
|
+
if (!L) {
|
|
559
|
+
var A = "";
|
|
560
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (A += " 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 se = Lt();
|
|
562
|
+
se ? A += se : A += lt();
|
|
563
|
+
var ae;
|
|
564
|
+
t === null ? ae = "null" : S(t) ? ae = "array" : t !== void 0 && t.$$typeof === o ? (ae = "<" + (I(t.type) || "Unknown") + " />", A = " Did you accidentally export a JSX literal instead of a component?") : ae = typeof t, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ae, A);
|
|
565
565
|
}
|
|
566
|
-
var re = It(t, i, d,
|
|
566
|
+
var re = It(t, i, d, $, Y);
|
|
567
567
|
if (re == null)
|
|
568
568
|
return re;
|
|
569
|
-
if (
|
|
569
|
+
if (L) {
|
|
570
570
|
var _e = i.children;
|
|
571
571
|
if (_e !== void 0)
|
|
572
|
-
if (
|
|
573
|
-
if (
|
|
572
|
+
if (b)
|
|
573
|
+
if (S(_e)) {
|
|
574
574
|
for (var Fe = 0; Fe < _e.length; Fe++)
|
|
575
575
|
dt(_e[Fe], t);
|
|
576
576
|
Object.freeze && Object.freeze(_e);
|
|
@@ -579,31 +579,31 @@ Check the top-level render call using <` + d + ">.");
|
|
|
579
579
|
else
|
|
580
580
|
dt(_e, t);
|
|
581
581
|
}
|
|
582
|
-
if (
|
|
583
|
-
var
|
|
582
|
+
if (xe.call(i, "key")) {
|
|
583
|
+
var Ne = I(t), de = Object.keys(i).filter(function(qt) {
|
|
584
584
|
return qt !== "key";
|
|
585
|
-
}), Ze =
|
|
586
|
-
if (!ut[
|
|
587
|
-
var Gt =
|
|
585
|
+
}), Ze = de.length > 0 ? "{key: someKey, " + de.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
586
|
+
if (!ut[Ne + Ze]) {
|
|
587
|
+
var Gt = de.length > 0 ? "{" + de.join(": ..., ") + ": ...}" : "{}";
|
|
588
588
|
P(`A props object containing a "key" prop is being spread into JSX:
|
|
589
589
|
let props = %s;
|
|
590
590
|
<%s {...props} />
|
|
591
591
|
React keys must be passed directly to JSX without using spread:
|
|
592
592
|
let props = %s;
|
|
593
|
-
<%s key={someKey} {...props} />`, Ze,
|
|
593
|
+
<%s key={someKey} {...props} />`, Ze, Ne, Gt, Ne), ut[Ne + Ze] = !0;
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
|
-
return t ===
|
|
596
|
+
return t === p ? Ft(re) : Dt(re), re;
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
599
|
function Ot(t, i, d) {
|
|
600
|
-
return
|
|
600
|
+
return pt(t, i, d, !0);
|
|
601
601
|
}
|
|
602
602
|
function Mt(t, i, d) {
|
|
603
|
-
return
|
|
603
|
+
return pt(t, i, d, !1);
|
|
604
604
|
}
|
|
605
605
|
var $t = Mt, Ut = Ot;
|
|
606
|
-
We.Fragment =
|
|
606
|
+
We.Fragment = p, We.jsx = $t, We.jsxs = Ut;
|
|
607
607
|
})()), We;
|
|
608
608
|
}
|
|
609
609
|
var ht;
|
|
@@ -822,6 +822,7 @@ const Zt = "_container_1e1th_1", ea = "_main_1e1th_7", ta = "_kundliHeaderNoBord
|
|
|
822
822
|
planTopicHealthWellbeing: "Health & wellbeing",
|
|
823
823
|
planTopicLoveMarriage: "Love & marriage",
|
|
824
824
|
planTopicMoneyFinance: "Money & finance",
|
|
825
|
+
planGuidanceContinue: "Continue",
|
|
825
826
|
// Plan Features
|
|
826
827
|
planFeatureDetailedInsights: "Detailed insights on love, marriage, career, health & finances",
|
|
827
828
|
planFeaturePracticalRemedies: "Practical remedies like gemstones, rudraksha & mantras",
|
|
@@ -1050,6 +1051,7 @@ const Zt = "_container_1e1th_1", ea = "_main_1e1th_7", ta = "_kundliHeaderNoBord
|
|
|
1050
1051
|
planTopicHealthWellbeing: "सेहत और खुशहाली",
|
|
1051
1052
|
planTopicLoveMarriage: "प्यार और शादी",
|
|
1052
1053
|
planTopicMoneyFinance: "पैसा और वित्त",
|
|
1054
|
+
planGuidanceContinue: "जारी रखें",
|
|
1053
1055
|
// Plan Features
|
|
1054
1056
|
planFeatureDetailedInsights: "प्यार, शादी, करियर, सेहत और पैसों के बारे में पूरी जानकारी",
|
|
1055
1057
|
planFeaturePracticalRemedies: "रत्न, रुद्राक्ष और मंत्र जैसे आसान उपाय",
|
|
@@ -1083,24 +1085,24 @@ const Zt = "_container_1e1th_1", ea = "_main_1e1th_7", ta = "_kundliHeaderNoBord
|
|
|
1083
1085
|
astrologyGuidance: "ज्योतिष से सलाह",
|
|
1084
1086
|
selectPackage: "पैकेज चुनें"
|
|
1085
1087
|
}
|
|
1086
|
-
},
|
|
1088
|
+
}, Ct = kt(null), Ko = ({
|
|
1087
1089
|
locale: a,
|
|
1088
1090
|
children: o
|
|
1089
1091
|
}) => {
|
|
1090
|
-
const
|
|
1091
|
-
return /* @__PURE__ */ e.jsx(
|
|
1092
|
+
const p = { locale: a, t: (m) => wt[a]?.[m] ?? m };
|
|
1093
|
+
return /* @__PURE__ */ e.jsx(Ct.Provider, { value: p, children: o });
|
|
1092
1094
|
};
|
|
1093
1095
|
function ca() {
|
|
1094
|
-
return at(
|
|
1096
|
+
return at(Ct);
|
|
1095
1097
|
}
|
|
1096
1098
|
const He = (a) => {
|
|
1097
|
-
const { priority: o, fetchPriority: s, width:
|
|
1099
|
+
const { priority: o, fetchPriority: s, width: p, height: m, ...g } = a;
|
|
1098
1100
|
return tt.createElement("img", {
|
|
1099
|
-
...
|
|
1100
|
-
width:
|
|
1101
|
-
height:
|
|
1101
|
+
...g,
|
|
1102
|
+
width: p ?? 1,
|
|
1103
|
+
height: m ?? 1,
|
|
1102
1104
|
decoding: "async",
|
|
1103
|
-
loading:
|
|
1105
|
+
loading: g.loading ?? (o ? "eager" : "lazy"),
|
|
1104
1106
|
...s && { fetchPriority: s }
|
|
1105
1107
|
});
|
|
1106
1108
|
};
|
|
@@ -1120,14 +1122,14 @@ function ua(a, o) {
|
|
|
1120
1122
|
} catch {
|
|
1121
1123
|
}
|
|
1122
1124
|
}
|
|
1123
|
-
function
|
|
1125
|
+
function Ho(a) {
|
|
1124
1126
|
if (!(typeof window > "u" || !window.localStorage))
|
|
1125
1127
|
try {
|
|
1126
1128
|
window.localStorage.removeItem(a);
|
|
1127
1129
|
} catch {
|
|
1128
1130
|
}
|
|
1129
1131
|
}
|
|
1130
|
-
function
|
|
1132
|
+
function Yo() {
|
|
1131
1133
|
if (typeof window > "u" || !window.localStorage)
|
|
1132
1134
|
return !1;
|
|
1133
1135
|
try {
|
|
@@ -1137,13 +1139,13 @@ function qo() {
|
|
|
1137
1139
|
return !1;
|
|
1138
1140
|
}
|
|
1139
1141
|
}
|
|
1140
|
-
const
|
|
1141
|
-
function
|
|
1142
|
-
const a = da(
|
|
1142
|
+
const Pt = "kundli_language";
|
|
1143
|
+
function pa() {
|
|
1144
|
+
const a = da(Pt);
|
|
1143
1145
|
return a && xt.includes(a) ? a : null;
|
|
1144
1146
|
}
|
|
1145
|
-
function
|
|
1146
|
-
ua(
|
|
1147
|
+
function ma(a) {
|
|
1148
|
+
ua(Pt, a);
|
|
1147
1149
|
}
|
|
1148
1150
|
const rt = kt(null), fa = {
|
|
1149
1151
|
fullName: "",
|
|
@@ -1156,157 +1158,157 @@ const rt = kt(null), fa = {
|
|
|
1156
1158
|
birthTime: "",
|
|
1157
1159
|
birthTimeUnknown: !1,
|
|
1158
1160
|
birthPlace: ""
|
|
1159
|
-
},
|
|
1161
|
+
}, Vo = ({
|
|
1160
1162
|
locale: a,
|
|
1161
1163
|
showLanguageSelector: o = !0,
|
|
1162
1164
|
showSheet: s,
|
|
1163
|
-
userId:
|
|
1164
|
-
isGlobal:
|
|
1165
|
-
variant:
|
|
1165
|
+
userId: p,
|
|
1166
|
+
isGlobal: m,
|
|
1167
|
+
variant: g,
|
|
1166
1168
|
initialFormValues: f,
|
|
1167
|
-
autoOpenPlanSheet:
|
|
1168
|
-
googleMapsApiKey:
|
|
1169
|
-
atlasSearchLocalities:
|
|
1170
|
-
googleMapsAutocompleteEnabled:
|
|
1171
|
-
enableConsultationScheduling:
|
|
1169
|
+
autoOpenPlanSheet: C,
|
|
1170
|
+
googleMapsApiKey: w,
|
|
1171
|
+
atlasSearchLocalities: q,
|
|
1172
|
+
googleMapsAutocompleteEnabled: F,
|
|
1173
|
+
enableConsultationScheduling: N,
|
|
1172
1174
|
fetchConsultationSlots: u,
|
|
1173
|
-
logoUrl:
|
|
1175
|
+
logoUrl: O,
|
|
1174
1176
|
reportImageUrl: v,
|
|
1175
|
-
reportImagePriority:
|
|
1176
|
-
backgroundImagePriority:
|
|
1177
|
+
reportImagePriority: U,
|
|
1178
|
+
backgroundImagePriority: k,
|
|
1177
1179
|
universityLogoUrls: h,
|
|
1178
1180
|
sampleReportHref: P,
|
|
1179
|
-
onViewSampleReport:
|
|
1180
|
-
ctaHref:
|
|
1181
|
-
onCtaClick:
|
|
1182
|
-
onBack:
|
|
1183
|
-
readMoreReviewsHref:
|
|
1184
|
-
onProceed:
|
|
1185
|
-
proceedHref:
|
|
1181
|
+
onViewSampleReport: Q,
|
|
1182
|
+
ctaHref: j,
|
|
1183
|
+
onCtaClick: E,
|
|
1184
|
+
onBack: T,
|
|
1185
|
+
readMoreReviewsHref: G,
|
|
1186
|
+
onProceed: _,
|
|
1187
|
+
proceedHref: B,
|
|
1186
1188
|
originalPriceLabel: X,
|
|
1187
|
-
discountedPriceLabel:
|
|
1188
|
-
discountPillLabel:
|
|
1189
|
+
discountedPriceLabel: V,
|
|
1190
|
+
discountPillLabel: D,
|
|
1189
1191
|
analytics: I,
|
|
1190
|
-
onProceedGuidance:
|
|
1191
|
-
onLocaleChange:
|
|
1192
|
-
imageComponent:
|
|
1193
|
-
resolvedUtmBannerImageUrl:
|
|
1194
|
-
children:
|
|
1192
|
+
onProceedGuidance: ee,
|
|
1193
|
+
onLocaleChange: Z,
|
|
1194
|
+
imageComponent: z = He,
|
|
1195
|
+
resolvedUtmBannerImageUrl: ye,
|
|
1196
|
+
children: ne
|
|
1195
1197
|
}) => {
|
|
1196
|
-
const [
|
|
1198
|
+
const [l, R] = M("landing"), [W, ue] = M(a ?? "en"), [ve, je] = M({
|
|
1197
1199
|
...fa,
|
|
1198
1200
|
...f
|
|
1199
1201
|
}), he = H(!0);
|
|
1200
|
-
|
|
1201
|
-
const
|
|
1202
|
-
|
|
1203
|
-
}, []),
|
|
1204
|
-
|
|
1205
|
-
}, [
|
|
1202
|
+
J(() => {
|
|
1203
|
+
const oe = pa();
|
|
1204
|
+
oe && ue(oe);
|
|
1205
|
+
}, []), J(() => {
|
|
1206
|
+
ma(W);
|
|
1207
|
+
}, [W]), J(() => {
|
|
1206
1208
|
if (he.current) {
|
|
1207
1209
|
he.current = !1;
|
|
1208
1210
|
return;
|
|
1209
1211
|
}
|
|
1210
|
-
|
|
1211
|
-
}, [
|
|
1212
|
-
const
|
|
1212
|
+
Z?.(W);
|
|
1213
|
+
}, [W, Z]);
|
|
1214
|
+
const te = Re(
|
|
1213
1215
|
() => ({
|
|
1214
1216
|
locale: a,
|
|
1215
1217
|
showLanguageSelector: o,
|
|
1216
1218
|
showSheet: s,
|
|
1217
|
-
userId:
|
|
1218
|
-
isGlobal:
|
|
1219
|
-
variant:
|
|
1219
|
+
userId: p,
|
|
1220
|
+
isGlobal: m,
|
|
1221
|
+
variant: g,
|
|
1220
1222
|
initialFormValues: f,
|
|
1221
|
-
autoOpenPlanSheet:
|
|
1222
|
-
googleMapsApiKey:
|
|
1223
|
-
atlasSearchLocalities:
|
|
1224
|
-
googleMapsAutocompleteEnabled:
|
|
1225
|
-
enableConsultationScheduling:
|
|
1223
|
+
autoOpenPlanSheet: C,
|
|
1224
|
+
googleMapsApiKey: w,
|
|
1225
|
+
atlasSearchLocalities: q,
|
|
1226
|
+
googleMapsAutocompleteEnabled: F,
|
|
1227
|
+
enableConsultationScheduling: N,
|
|
1226
1228
|
fetchConsultationSlots: u,
|
|
1227
|
-
logoUrl:
|
|
1229
|
+
logoUrl: O,
|
|
1228
1230
|
reportImageUrl: v,
|
|
1229
|
-
reportImagePriority:
|
|
1230
|
-
backgroundImagePriority:
|
|
1231
|
+
reportImagePriority: U,
|
|
1232
|
+
backgroundImagePriority: k,
|
|
1231
1233
|
universityLogoUrls: h,
|
|
1232
1234
|
sampleReportHref: P,
|
|
1233
|
-
onViewSampleReport:
|
|
1234
|
-
ctaHref:
|
|
1235
|
-
onCtaClick:
|
|
1236
|
-
onBack:
|
|
1237
|
-
readMoreReviewsHref:
|
|
1238
|
-
onProceed:
|
|
1239
|
-
proceedHref:
|
|
1235
|
+
onViewSampleReport: Q,
|
|
1236
|
+
ctaHref: j,
|
|
1237
|
+
onCtaClick: E,
|
|
1238
|
+
onBack: T,
|
|
1239
|
+
readMoreReviewsHref: G,
|
|
1240
|
+
onProceed: _,
|
|
1241
|
+
proceedHref: B,
|
|
1240
1242
|
originalPriceLabel: X,
|
|
1241
|
-
discountedPriceLabel:
|
|
1242
|
-
discountPillLabel:
|
|
1243
|
+
discountedPriceLabel: V,
|
|
1244
|
+
discountPillLabel: D,
|
|
1243
1245
|
analytics: I,
|
|
1244
|
-
onProceedGuidance:
|
|
1245
|
-
onLocaleChange:
|
|
1246
|
-
imageComponent:
|
|
1247
|
-
resolvedUtmBannerImageUrl:
|
|
1246
|
+
onProceedGuidance: ee,
|
|
1247
|
+
onLocaleChange: Z,
|
|
1248
|
+
imageComponent: z,
|
|
1249
|
+
resolvedUtmBannerImageUrl: ye
|
|
1248
1250
|
}),
|
|
1249
1251
|
[
|
|
1250
1252
|
a,
|
|
1251
1253
|
o,
|
|
1252
1254
|
s,
|
|
1253
|
-
m,
|
|
1254
1255
|
p,
|
|
1255
|
-
|
|
1256
|
+
m,
|
|
1257
|
+
g,
|
|
1256
1258
|
f,
|
|
1259
|
+
C,
|
|
1257
1260
|
w,
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
A,
|
|
1261
|
+
q,
|
|
1262
|
+
F,
|
|
1263
|
+
N,
|
|
1262
1264
|
u,
|
|
1263
|
-
|
|
1265
|
+
O,
|
|
1264
1266
|
v,
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
+
U,
|
|
1268
|
+
k,
|
|
1267
1269
|
h,
|
|
1268
1270
|
P,
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
g,
|
|
1273
|
-
q,
|
|
1271
|
+
Q,
|
|
1272
|
+
j,
|
|
1273
|
+
E,
|
|
1274
1274
|
T,
|
|
1275
|
-
|
|
1275
|
+
G,
|
|
1276
|
+
_,
|
|
1277
|
+
B,
|
|
1276
1278
|
X,
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
+
V,
|
|
1280
|
+
D,
|
|
1279
1281
|
I,
|
|
1280
|
-
|
|
1282
|
+
ee,
|
|
1283
|
+
Z,
|
|
1281
1284
|
z,
|
|
1282
|
-
|
|
1283
|
-
O
|
|
1285
|
+
ye
|
|
1284
1286
|
]
|
|
1285
|
-
),
|
|
1286
|
-
|
|
1287
|
-
}, [
|
|
1288
|
-
|
|
1289
|
-
}, [
|
|
1287
|
+
), pe = be(() => {
|
|
1288
|
+
R("form");
|
|
1289
|
+
}, [te.analytics]), me = be(() => {
|
|
1290
|
+
R("landing"), te.onBack?.();
|
|
1291
|
+
}, [te.onBack]), ce = Re(
|
|
1290
1292
|
() => ({
|
|
1291
|
-
view:
|
|
1292
|
-
locale:
|
|
1293
|
-
setLocale:
|
|
1294
|
-
config:
|
|
1295
|
-
formValues:
|
|
1293
|
+
view: l,
|
|
1294
|
+
locale: W,
|
|
1295
|
+
setLocale: ue,
|
|
1296
|
+
config: te,
|
|
1297
|
+
formValues: ve,
|
|
1296
1298
|
setFormValues: je,
|
|
1297
|
-
goToForm:
|
|
1298
|
-
goToPage:
|
|
1299
|
-
onProceed:
|
|
1300
|
-
onProceedGuidance:
|
|
1299
|
+
goToForm: pe,
|
|
1300
|
+
goToPage: me,
|
|
1301
|
+
onProceed: te.onProceed,
|
|
1302
|
+
onProceedGuidance: te.onProceedGuidance
|
|
1301
1303
|
}),
|
|
1302
|
-
[
|
|
1304
|
+
[l, W, te, ve, pe, me]
|
|
1303
1305
|
);
|
|
1304
|
-
return /* @__PURE__ */ e.jsx(rt.Provider, { value:
|
|
1306
|
+
return /* @__PURE__ */ e.jsx(rt.Provider, { value: ce, children: ne });
|
|
1305
1307
|
};
|
|
1306
1308
|
function Ee() {
|
|
1307
1309
|
return at(rt);
|
|
1308
1310
|
}
|
|
1309
|
-
function
|
|
1311
|
+
function zo() {
|
|
1310
1312
|
const a = at(rt);
|
|
1311
1313
|
if (!a)
|
|
1312
1314
|
throw new Error(
|
|
@@ -1321,7 +1323,7 @@ const ha = "_header_19172_1", ga = "_centered_19172_8", _t = {
|
|
|
1321
1323
|
t: a,
|
|
1322
1324
|
onBack: o,
|
|
1323
1325
|
className: s = "",
|
|
1324
|
-
align:
|
|
1326
|
+
align: p = "left"
|
|
1325
1327
|
}) => /* @__PURE__ */ e.jsx(
|
|
1326
1328
|
Kt,
|
|
1327
1329
|
{
|
|
@@ -1329,22 +1331,22 @@ const ha = "_header_19172_1", ga = "_centered_19172_8", _t = {
|
|
|
1329
1331
|
subtitle: a("formSubtitle"),
|
|
1330
1332
|
onBack: o,
|
|
1331
1333
|
backAriaLabel: a("back"),
|
|
1332
|
-
className: `${_t.header} ${
|
|
1334
|
+
className: `${_t.header} ${p === "center" ? _t.centered : ""} ${s}`
|
|
1333
1335
|
}
|
|
1334
|
-
), ba = "_wrap_119w3_1", ya = "_card_119w3_5", va = "_cardInner_119w3_12", ka = "_field_119w3_44", xa = "_labelRow_119w3_48", wa = "_label_119w3_48",
|
|
1336
|
+
), ba = "_wrap_119w3_1", ya = "_card_119w3_5", va = "_cardInner_119w3_12", ka = "_field_119w3_44", xa = "_labelRow_119w3_48", wa = "_label_119w3_48", Ca = "_req_119w3_57", Pa = "_help_119w3_61", Ta = "_choiceRow_119w3_68", Sa = "_choiceBtn_119w3_74", ja = "_choiceBtnActive_119w3_99", Na = "_infoBtn_119w3_105", Aa = "_infoImg_119w3_122", Ra = "_infoWrap_119w3_128", Ea = "_tooltip_119w3_134", Ia = "_tooltipArrow_119w3_150", La = "_inputWrap_119w3_161", Ba = "_isdWrap_119w3_165", Da = "_phoneInputGroup_119w3_169", Fa = "_isdSelectWrap_119w3_178", Oa = "_isdSelectTrigger_119w3_197", Ma = "_isdDropdown_119w3_214", $a = "_isdSearchWrap_119w3_229", Ua = "_isdSearchInput_119w3_237", Ga = "_isdOption_119w3_255", qa = "_isdOptionActive_119w3_275", Wa = "_isdCountryName_119w3_281", Ka = "_isdCountryCode_119w3_288", Ha = "_isdNoResult_119w3_295", Ya = "_suggestions_119w3_302", Va = "_suggestionItem_119w3_315", za = "_suggestionMain_119w3_333", Ja = "_suggestionSecondary_119w3_339", Qa = "_suggestionsHint_119w3_344", Xa = "_timePopover_119w3_366", Za = "_timePickerRow_119w3_382", er = "_timePickerSelect_119w3_388", tr = "_timePickerColon_119w3_404", ar = "_meridiemToggle_119w3_412", rr = "_meridiemBtn_119w3_421", nr = "_meridiemActive_119w3_436", or = "_timePopoverActions_119w3_441", ir = "_timePopoverBtn_119w3_447", lr = "_timePopoverOk_119w3_466", sr = "_input_119w3_161", cr = "_phoneInput_119w3_169", dr = "_iconBtn_119w3_519", ur = "_iconBtnInteractive_119w3_525", pr = "_iconImg_119w3_544", mr = "_checkboxRow_119w3_550", fr = "_checkbox_119w3_550", hr = "_checkboxText_119w3_588", n = {
|
|
1335
1337
|
wrap: ba,
|
|
1336
1338
|
card: ya,
|
|
1337
1339
|
cardInner: va,
|
|
1338
1340
|
field: ka,
|
|
1339
1341
|
labelRow: xa,
|
|
1340
1342
|
label: wa,
|
|
1341
|
-
req:
|
|
1342
|
-
help:
|
|
1343
|
+
req: Ca,
|
|
1344
|
+
help: Pa,
|
|
1343
1345
|
choiceRow: Ta,
|
|
1344
1346
|
choiceBtn: Sa,
|
|
1345
1347
|
choiceBtnActive: ja,
|
|
1346
|
-
infoBtn:
|
|
1347
|
-
infoImg:
|
|
1348
|
+
infoBtn: Na,
|
|
1349
|
+
infoImg: Aa,
|
|
1348
1350
|
infoWrap: Ra,
|
|
1349
1351
|
tooltip: Ea,
|
|
1350
1352
|
tooltipArrow: Ia,
|
|
@@ -1380,143 +1382,143 @@ const ha = "_header_19172_1", ga = "_centered_19172_8", _t = {
|
|
|
1380
1382
|
phoneInput: cr,
|
|
1381
1383
|
iconBtn: dr,
|
|
1382
1384
|
iconBtnInteractive: ur,
|
|
1383
|
-
iconImg:
|
|
1384
|
-
checkboxRow:
|
|
1385
|
+
iconImg: pr,
|
|
1386
|
+
checkboxRow: mr,
|
|
1385
1387
|
checkbox: fr,
|
|
1386
1388
|
checkboxText: hr
|
|
1387
1389
|
};
|
|
1388
1390
|
let Ve = null;
|
|
1389
|
-
const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Ve || (Ve = new Promise((s,
|
|
1390
|
-
const
|
|
1391
|
+
const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Ve || (Ve = new Promise((s, p) => {
|
|
1392
|
+
const m = document.querySelector(
|
|
1391
1393
|
'script[data-google-maps-places="true"]'
|
|
1392
1394
|
);
|
|
1393
|
-
if (
|
|
1394
|
-
|
|
1395
|
+
if (m) {
|
|
1396
|
+
m.addEventListener("load", () => s()), m.addEventListener(
|
|
1395
1397
|
"error",
|
|
1396
|
-
() =>
|
|
1398
|
+
() => p(new Error("Failed to load Google Maps API"))
|
|
1397
1399
|
);
|
|
1398
1400
|
return;
|
|
1399
1401
|
}
|
|
1400
|
-
const
|
|
1401
|
-
f.searchParams.set("key", a), f.searchParams.set("libraries", "places"), f.searchParams.set("loading", "async"), o && f.searchParams.set("language", o),
|
|
1402
|
-
const
|
|
1402
|
+
const g = document.createElement("script"), f = new URL("https://maps.googleapis.com/maps/api/js");
|
|
1403
|
+
f.searchParams.set("key", a), f.searchParams.set("libraries", "places"), f.searchParams.set("loading", "async"), o && f.searchParams.set("language", o), g.src = f.toString(), g.async = !0, g.defer = !0, g.setAttribute("data-google-maps-places", "true"), g.onload = () => {
|
|
1404
|
+
const C = Date.now(), w = () => {
|
|
1403
1405
|
if (window.google?.maps?.places) {
|
|
1404
1406
|
s();
|
|
1405
1407
|
return;
|
|
1406
1408
|
}
|
|
1407
|
-
if (Date.now() -
|
|
1408
|
-
|
|
1409
|
+
if (Date.now() - C > 2e3) {
|
|
1410
|
+
p(
|
|
1409
1411
|
new Error(
|
|
1410
1412
|
"Google Maps loaded but Places library is unavailable. Check API key restrictions / enabled APIs."
|
|
1411
1413
|
)
|
|
1412
1414
|
);
|
|
1413
1415
|
return;
|
|
1414
1416
|
}
|
|
1415
|
-
window.setTimeout(
|
|
1417
|
+
window.setTimeout(w, 50);
|
|
1416
1418
|
};
|
|
1417
|
-
|
|
1418
|
-
},
|
|
1419
|
+
w();
|
|
1420
|
+
}, g.onerror = () => p(new Error("Failed to load Google Maps API")), document.head.appendChild(g);
|
|
1419
1421
|
}), Ve), _r = (a) => {
|
|
1420
|
-
const { apiKey: o, language: s = "en", restrictCountry:
|
|
1421
|
-
|
|
1422
|
-
}, [
|
|
1423
|
-
|
|
1424
|
-
if (!o || !
|
|
1422
|
+
const { apiKey: o, language: s = "en", restrictCountry: p, deferLoad: m = !1 } = a, [g, f] = M(!1), [C, w] = M([]), [q, F] = M(!1), [N, u] = M(null), [O, v] = M(!m), U = H(null), k = H(null), h = H(null), P = be(() => {
|
|
1423
|
+
m && v(!0);
|
|
1424
|
+
}, [m]);
|
|
1425
|
+
J(() => {
|
|
1426
|
+
if (!o || !O) {
|
|
1425
1427
|
f(!1), u(null);
|
|
1426
1428
|
return;
|
|
1427
1429
|
}
|
|
1428
1430
|
gr(o, s).then(() => {
|
|
1429
|
-
|
|
1430
|
-
const
|
|
1431
|
-
|
|
1432
|
-
}).catch((
|
|
1433
|
-
f(!1), u(
|
|
1431
|
+
U.current = new google.maps.places.AutocompleteService();
|
|
1432
|
+
const T = document.createElement("div");
|
|
1433
|
+
k.current = new google.maps.places.PlacesService(T), h.current = new google.maps.places.AutocompleteSessionToken(), f(!0), u(null);
|
|
1434
|
+
}).catch((T) => {
|
|
1435
|
+
f(!1), u(T?.message || "Failed to load location service");
|
|
1434
1436
|
});
|
|
1435
|
-
}, [o, s,
|
|
1436
|
-
const
|
|
1437
|
-
async (
|
|
1438
|
-
if (!
|
|
1439
|
-
|
|
1437
|
+
}, [o, s, O]);
|
|
1438
|
+
const Q = be(
|
|
1439
|
+
async (T) => {
|
|
1440
|
+
if (!T || T.length < 2 || !U.current) {
|
|
1441
|
+
w([]);
|
|
1440
1442
|
return;
|
|
1441
1443
|
}
|
|
1442
|
-
|
|
1444
|
+
F(!0);
|
|
1443
1445
|
try {
|
|
1444
|
-
const
|
|
1445
|
-
input:
|
|
1446
|
+
const G = {
|
|
1447
|
+
input: T,
|
|
1446
1448
|
types: ["(cities)"],
|
|
1447
1449
|
sessionToken: h.current ?? void 0
|
|
1448
1450
|
};
|
|
1449
|
-
|
|
1450
|
-
const
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
(
|
|
1454
|
-
|
|
1451
|
+
p && (G.componentRestrictions = { country: p });
|
|
1452
|
+
const _ = await new Promise((B, X) => {
|
|
1453
|
+
U.current.getPlacePredictions(
|
|
1454
|
+
G,
|
|
1455
|
+
(V, D) => {
|
|
1456
|
+
D === google.maps.places.PlacesServiceStatus.OK && V ? B(V) : D === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? B([]) : X(new Error(`Places API error: ${D}`));
|
|
1455
1457
|
}
|
|
1456
1458
|
);
|
|
1457
1459
|
});
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
place_id:
|
|
1461
|
-
description:
|
|
1460
|
+
w(
|
|
1461
|
+
_.map((B) => ({
|
|
1462
|
+
place_id: B.place_id,
|
|
1463
|
+
description: B.description,
|
|
1462
1464
|
structured_formatting: {
|
|
1463
|
-
main_text:
|
|
1464
|
-
secondary_text:
|
|
1465
|
+
main_text: B.structured_formatting?.main_text || B.description,
|
|
1466
|
+
secondary_text: B.structured_formatting?.secondary_text || ""
|
|
1465
1467
|
}
|
|
1466
1468
|
}))
|
|
1467
1469
|
);
|
|
1468
1470
|
} catch {
|
|
1469
|
-
|
|
1471
|
+
w([]);
|
|
1470
1472
|
} finally {
|
|
1471
|
-
|
|
1473
|
+
F(!1);
|
|
1472
1474
|
}
|
|
1473
1475
|
},
|
|
1474
|
-
[
|
|
1475
|
-
),
|
|
1476
|
-
async (
|
|
1477
|
-
if (!
|
|
1476
|
+
[p]
|
|
1477
|
+
), j = be(
|
|
1478
|
+
async (T) => {
|
|
1479
|
+
if (!k.current) return null;
|
|
1478
1480
|
try {
|
|
1479
|
-
const
|
|
1480
|
-
(I,
|
|
1481
|
-
|
|
1481
|
+
const G = await new Promise(
|
|
1482
|
+
(I, ee) => {
|
|
1483
|
+
k.current.getDetails(
|
|
1482
1484
|
{
|
|
1483
|
-
placeId:
|
|
1485
|
+
placeId: T,
|
|
1484
1486
|
fields: ["geometry", "address_components", "formatted_address"],
|
|
1485
1487
|
sessionToken: h.current ?? void 0
|
|
1486
1488
|
},
|
|
1487
|
-
(
|
|
1488
|
-
|
|
1489
|
+
(Z, z) => {
|
|
1490
|
+
z === google.maps.places.PlacesServiceStatus.OK && Z ? I(Z) : ee(new Error(`Place details error: ${z}`));
|
|
1489
1491
|
}
|
|
1490
1492
|
);
|
|
1491
1493
|
}
|
|
1492
1494
|
);
|
|
1493
1495
|
h.current = new google.maps.places.AutocompleteSessionToken();
|
|
1494
|
-
const
|
|
1495
|
-
let X = "",
|
|
1496
|
-
return
|
|
1497
|
-
I.types.includes("locality") && (X = I.long_name), I.types.includes("administrative_area_level_1") && (
|
|
1496
|
+
const _ = G.geometry?.location?.lat() || 0, B = G.geometry?.location?.lng() || 0;
|
|
1497
|
+
let X = "", V = "", D = "";
|
|
1498
|
+
return G.address_components?.forEach((I) => {
|
|
1499
|
+
I.types.includes("locality") && (X = I.long_name), I.types.includes("administrative_area_level_1") && (V = I.long_name), I.types.includes("country") && (D = I.long_name);
|
|
1498
1500
|
}), {
|
|
1499
|
-
display_name:
|
|
1500
|
-
lat:
|
|
1501
|
-
lng:
|
|
1501
|
+
display_name: G.formatted_address || "",
|
|
1502
|
+
lat: _,
|
|
1503
|
+
lng: B,
|
|
1502
1504
|
city: X,
|
|
1503
|
-
state:
|
|
1504
|
-
country:
|
|
1505
|
+
state: V,
|
|
1506
|
+
country: D
|
|
1505
1507
|
};
|
|
1506
1508
|
} catch {
|
|
1507
1509
|
return null;
|
|
1508
1510
|
}
|
|
1509
1511
|
},
|
|
1510
1512
|
[]
|
|
1511
|
-
),
|
|
1513
|
+
), E = be(() => w([]), []);
|
|
1512
1514
|
return {
|
|
1513
|
-
isLoaded:
|
|
1514
|
-
predictions:
|
|
1515
|
-
isSearching:
|
|
1516
|
-
loadError:
|
|
1517
|
-
searchPlaces:
|
|
1518
|
-
getPlaceDetails:
|
|
1519
|
-
clearPredictions:
|
|
1515
|
+
isLoaded: g,
|
|
1516
|
+
predictions: C,
|
|
1517
|
+
isSearching: q,
|
|
1518
|
+
loadError: N,
|
|
1519
|
+
searchPlaces: Q,
|
|
1520
|
+
getPlaceDetails: j,
|
|
1521
|
+
clearPredictions: E,
|
|
1520
1522
|
triggerLoad: P
|
|
1521
1523
|
// Call this to start loading Google Maps when deferred
|
|
1522
1524
|
};
|
|
@@ -1528,22 +1530,22 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1528
1530
|
restrictCountry: a?.restrictCountry
|
|
1529
1531
|
};
|
|
1530
1532
|
}, yr = (a) => {
|
|
1531
|
-
const { searchLocalities: o, restrictCountry: s } = a, [
|
|
1532
|
-
|
|
1533
|
-
|
|
1533
|
+
const { searchLocalities: o, restrictCountry: s } = a, [p, m] = M([]), [g, f] = M(!1), [C, w] = M(null), q = H(0);
|
|
1534
|
+
J(() => {
|
|
1535
|
+
w(null);
|
|
1534
1536
|
}, [o]);
|
|
1535
|
-
const
|
|
1537
|
+
const F = be(
|
|
1536
1538
|
async (u) => {
|
|
1537
1539
|
if (!u || u.length < 2 || !o) {
|
|
1538
|
-
|
|
1540
|
+
m([]);
|
|
1539
1541
|
return;
|
|
1540
1542
|
}
|
|
1541
|
-
const
|
|
1542
|
-
f(!0),
|
|
1543
|
+
const O = ++q.current;
|
|
1544
|
+
f(!0), w(null);
|
|
1543
1545
|
try {
|
|
1544
|
-
const v = br({ restrictCountry: s }),
|
|
1545
|
-
if (
|
|
1546
|
-
const
|
|
1546
|
+
const v = br({ restrictCountry: s }), U = await o(u, v);
|
|
1547
|
+
if (O !== q.current) return;
|
|
1548
|
+
const k = (U || []).filter(
|
|
1547
1549
|
(h) => !!h?.id && !!h?.description && bt(h?.lat) && bt(h?.lng)
|
|
1548
1550
|
).map((h) => ({
|
|
1549
1551
|
id: h.id,
|
|
@@ -1552,22 +1554,22 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1552
1554
|
lat: h.lat,
|
|
1553
1555
|
lng: h.lng
|
|
1554
1556
|
}));
|
|
1555
|
-
|
|
1557
|
+
m(k);
|
|
1556
1558
|
} catch (v) {
|
|
1557
|
-
if (
|
|
1558
|
-
|
|
1559
|
+
if (O !== q.current) return;
|
|
1560
|
+
m([]), w(v?.message || "Failed to fetch locations");
|
|
1559
1561
|
} finally {
|
|
1560
|
-
|
|
1562
|
+
O === q.current && f(!1);
|
|
1561
1563
|
}
|
|
1562
1564
|
},
|
|
1563
1565
|
[s, o]
|
|
1564
|
-
),
|
|
1566
|
+
), N = be(() => m([]), []);
|
|
1565
1567
|
return {
|
|
1566
|
-
predictions:
|
|
1567
|
-
isSearching:
|
|
1568
|
-
loadError:
|
|
1569
|
-
searchPlaces:
|
|
1570
|
-
clearPredictions:
|
|
1568
|
+
predictions: p,
|
|
1569
|
+
isSearching: g,
|
|
1570
|
+
loadError: C,
|
|
1571
|
+
searchPlaces: F,
|
|
1572
|
+
clearPredictions: N
|
|
1571
1573
|
};
|
|
1572
1574
|
}, Oe = {
|
|
1573
1575
|
time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
|
|
@@ -1648,22 +1650,22 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1648
1650
|
t: a,
|
|
1649
1651
|
values: o,
|
|
1650
1652
|
onChange: s,
|
|
1651
|
-
phoneIsdCode:
|
|
1652
|
-
onPhoneIsdCodeChange:
|
|
1653
|
-
showV1ExtraFields:
|
|
1653
|
+
phoneIsdCode: p,
|
|
1654
|
+
onPhoneIsdCodeChange: m,
|
|
1655
|
+
showV1ExtraFields: g = !1,
|
|
1654
1656
|
analytics: f,
|
|
1655
|
-
googleMapsApiKey:
|
|
1656
|
-
atlasSearchLocalities:
|
|
1657
|
-
googleMapsAutocompleteEnabled:
|
|
1658
|
-
className:
|
|
1657
|
+
googleMapsApiKey: C,
|
|
1658
|
+
atlasSearchLocalities: w,
|
|
1659
|
+
googleMapsAutocompleteEnabled: q,
|
|
1660
|
+
className: F = ""
|
|
1659
1661
|
}) => {
|
|
1660
|
-
const
|
|
1662
|
+
const N = Ee(), u = N?.config?.analytics ?? f, O = N?.config.isGlobal ?? !0, v = N?.config?.googleMapsApiKey, U = N?.config?.atlasSearchLocalities, k = N?.config?.googleMapsAutocompleteEnabled, [h, P] = M(!1), [Q, j] = M(""), E = H(null), T = H(null), G = H({}), _ = (r) => s({ ...o, ...r }), B = (r, c) => {
|
|
1661
1663
|
if (r === "phone") {
|
|
1662
|
-
const K = kr(c,
|
|
1664
|
+
const K = kr(c, p, G.current);
|
|
1663
1665
|
K.shouldTrack && u?.trackPhoneSectionFilled?.({ phone: K.fullPhone });
|
|
1664
1666
|
return;
|
|
1665
1667
|
}
|
|
1666
|
-
c.trim() && !
|
|
1668
|
+
c.trim() && !G.current[r] && (G.current[r] = !0, {
|
|
1667
1669
|
fullName: () => u?.trackNameSectionFilled?.(),
|
|
1668
1670
|
dateOfBirth: () => u?.trackDobFilled?.(),
|
|
1669
1671
|
birthTime: () => u?.trackTimeFilled?.(),
|
|
@@ -1672,14 +1674,14 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1672
1674
|
}, X = (r) => {
|
|
1673
1675
|
const c = r.target.value;
|
|
1674
1676
|
c.trim() && u?.trackEmailSectionFilled?.({ email: c });
|
|
1675
|
-
},
|
|
1677
|
+
}, V = Q.trim().toLowerCase(), D = Tt.filter((r) => V ? r.country.toLowerCase().includes(V) || r.code.includes(V) : !0), I = H(null);
|
|
1676
1678
|
H(null);
|
|
1677
|
-
const
|
|
1679
|
+
const ee = H(null), Z = H(0), z = H(null), [ye, ne] = M(!1), [l, R] = M({ hour12: 12, minute: "00", meridiem: "AM" }), W = (r) => String(r).padStart(2, "0"), ue = (r) => {
|
|
1678
1680
|
const c = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
|
|
1679
1681
|
if (!c) return r;
|
|
1680
1682
|
const K = Number(c[1]), ge = c[2], Ge = K >= 12 ? "PM" : "AM";
|
|
1681
1683
|
return `${K % 12 === 0 ? 12 : K % 12}:${ge} ${Ge}`;
|
|
1682
|
-
},
|
|
1684
|
+
}, ve = (r) => {
|
|
1683
1685
|
const c = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
|
|
1684
1686
|
if (!c) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1685
1687
|
const K = Number(c[1]), ge = c[2], Ge = K >= 12 ? "PM" : "AM";
|
|
@@ -1687,87 +1689,87 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1687
1689
|
}, je = (r) => {
|
|
1688
1690
|
const c = Math.min(12, Math.max(1, r.hour12)), K = /^([0-5]\d)$/.test(r.minute) ? r.minute : "00";
|
|
1689
1691
|
let ge = c % 12;
|
|
1690
|
-
return r.meridiem === "PM" && (ge += 12), `${
|
|
1691
|
-
}, he = H(null), [
|
|
1692
|
+
return r.meridiem === "PM" && (ge += 12), `${W(ge)}:${K}`;
|
|
1693
|
+
}, he = H(null), [te, pe] = M(!1), me = H(o.birthPlace ?? ""), [ce, oe] = M(
|
|
1692
1694
|
null
|
|
1693
|
-
),
|
|
1694
|
-
apiKey:
|
|
1695
|
+
), ke = C ?? v ?? xr?.VITE_GOOGLE_MAPS_API_KEY, Se = w ?? U, ie = q ?? k ?? !0, le = (o.birthPlace ?? "").trim(), Te = O ? void 0 : "in", fe = _r({
|
|
1696
|
+
apiKey: ie ? ke : void 0,
|
|
1695
1697
|
language: "en",
|
|
1696
1698
|
restrictCountry: Te
|
|
1697
|
-
}),
|
|
1698
|
-
searchLocalities:
|
|
1699
|
+
}), we = yr({
|
|
1700
|
+
searchLocalities: ie ? void 0 : Se,
|
|
1699
1701
|
restrictCountry: Te
|
|
1700
|
-
}),
|
|
1702
|
+
}), Ce = ie ? fe.predictions.map((r) => ({
|
|
1701
1703
|
id: r.place_id,
|
|
1702
1704
|
description: r.description,
|
|
1703
1705
|
secondaryText: r.structured_formatting?.secondary_text,
|
|
1704
1706
|
lat: void 0,
|
|
1705
1707
|
lng: void 0
|
|
1706
|
-
})) :
|
|
1708
|
+
})) : we.predictions.map((r) => ({
|
|
1707
1709
|
id: r.id,
|
|
1708
1710
|
description: r.description,
|
|
1709
1711
|
secondaryText: r.secondary_text,
|
|
1710
1712
|
lat: r.lat,
|
|
1711
1713
|
lng: r.lng
|
|
1712
|
-
})), Ie =
|
|
1714
|
+
})), Ie = ie ? fe.isSearching : we.isSearching, Le = ie ? fe.loadError : we.loadError, S = ie ? !!ke : !!Se, Be = ie ? fe.searchPlaces : we.searchPlaces, Me = ie ? fe.clearPredictions : we.clearPredictions, $e = H(() => {
|
|
1713
1715
|
});
|
|
1714
1716
|
$e.current = () => {
|
|
1715
|
-
(o.birthPlace ?? "") !==
|
|
1717
|
+
(o.birthPlace ?? "") !== me.current && _({
|
|
1716
1718
|
birthPlace: "",
|
|
1717
1719
|
birthPlaceLat: void 0,
|
|
1718
1720
|
birthPlaceLng: void 0
|
|
1719
|
-
}),
|
|
1720
|
-
},
|
|
1721
|
+
}), pe(!1);
|
|
1722
|
+
}, J(() => {
|
|
1721
1723
|
const r = (c) => {
|
|
1722
1724
|
he.current && (he.current.contains(c.target) || $e.current());
|
|
1723
1725
|
};
|
|
1724
1726
|
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
1725
|
-
}, []),
|
|
1727
|
+
}, []), J(() => {
|
|
1726
1728
|
const r = (c) => {
|
|
1727
|
-
|
|
1729
|
+
E.current && (E.current.contains(c.target) || (P(!1), j("")));
|
|
1728
1730
|
};
|
|
1729
1731
|
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
1730
|
-
}, []),
|
|
1732
|
+
}, []), J(() => {
|
|
1731
1733
|
if (!h) return;
|
|
1732
1734
|
const r = window.setTimeout(() => {
|
|
1733
|
-
|
|
1735
|
+
T.current?.focus();
|
|
1734
1736
|
}, 0);
|
|
1735
1737
|
return () => window.clearTimeout(r);
|
|
1736
|
-
}, [h]),
|
|
1737
|
-
if (!
|
|
1738
|
-
if (
|
|
1738
|
+
}, [h]), J(() => {
|
|
1739
|
+
if (!te) return;
|
|
1740
|
+
if (le.length < 2) {
|
|
1739
1741
|
Me();
|
|
1740
1742
|
return;
|
|
1741
1743
|
}
|
|
1742
1744
|
const r = window.setTimeout(async () => {
|
|
1743
|
-
await Be(
|
|
1745
|
+
await Be(le);
|
|
1744
1746
|
}, 250);
|
|
1745
1747
|
return () => window.clearTimeout(r);
|
|
1746
|
-
}, [Me,
|
|
1748
|
+
}, [Me, te, le, Be]);
|
|
1747
1749
|
const Ue = (r) => {
|
|
1748
1750
|
const c = r.current;
|
|
1749
1751
|
if (!(!c || c.disabled)) {
|
|
1750
|
-
if (document.activeElement === c &&
|
|
1752
|
+
if (document.activeElement === c && ee.current === c && Date.now() - Z.current < 6e4) {
|
|
1751
1753
|
c.blur();
|
|
1752
1754
|
return;
|
|
1753
1755
|
}
|
|
1754
1756
|
if (typeof c.showPicker == "function") {
|
|
1755
|
-
c.showPicker(),
|
|
1757
|
+
c.showPicker(), ee.current = c, Z.current = Date.now();
|
|
1756
1758
|
return;
|
|
1757
1759
|
}
|
|
1758
|
-
c.focus(),
|
|
1760
|
+
c.focus(), ee.current = c, Z.current = Date.now();
|
|
1759
1761
|
}
|
|
1760
1762
|
};
|
|
1761
|
-
return
|
|
1763
|
+
return J(() => {
|
|
1762
1764
|
const r = (c) => {
|
|
1763
|
-
|
|
1765
|
+
z.current && (z.current.contains(c.target) || ne(!1));
|
|
1764
1766
|
};
|
|
1765
1767
|
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
1766
|
-
}, []),
|
|
1768
|
+
}, []), J(() => {
|
|
1767
1769
|
const r = (K) => {
|
|
1768
|
-
K.target?.closest?.("[data-info-tooltip]") == null &&
|
|
1770
|
+
K.target?.closest?.("[data-info-tooltip]") == null && oe(null);
|
|
1769
1771
|
}, c = (K) => {
|
|
1770
|
-
K.key === "Escape" &&
|
|
1772
|
+
K.key === "Escape" && oe(null);
|
|
1771
1773
|
};
|
|
1772
1774
|
return document.addEventListener("mousedown", r), document.addEventListener("keydown", c), () => {
|
|
1773
1775
|
document.removeEventListener("mousedown", r), document.removeEventListener("keydown", c);
|
|
@@ -1775,7 +1777,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1775
1777
|
}, []), /* @__PURE__ */ e.jsx(
|
|
1776
1778
|
"section",
|
|
1777
1779
|
{
|
|
1778
|
-
className: `${n.wrap} ${
|
|
1780
|
+
className: `${n.wrap} ${F}`,
|
|
1779
1781
|
"aria-label": a("formTitle"),
|
|
1780
1782
|
children: /* @__PURE__ */ e.jsx("div", { className: n.card, children: /* @__PURE__ */ e.jsxs("div", { className: n.cardInner, children: [
|
|
1781
1783
|
/* @__PURE__ */ e.jsxs("div", { className: n.field, children: [
|
|
@@ -1793,7 +1795,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1793
1795
|
onFocus: () => u?.trackNameSectionClicked?.(),
|
|
1794
1796
|
onChange: (r) => {
|
|
1795
1797
|
const c = r.target.value;
|
|
1796
|
-
|
|
1798
|
+
_({ fullName: c }), B("fullName", c);
|
|
1797
1799
|
},
|
|
1798
1800
|
placeholder: a("formFullNamePlaceholder"),
|
|
1799
1801
|
autoComplete: "name"
|
|
@@ -1803,9 +1805,9 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1803
1805
|
/* @__PURE__ */ e.jsxs("div", { className: n.field, children: [
|
|
1804
1806
|
/* @__PURE__ */ e.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: n.label, htmlFor: "kundli-phone", children: [
|
|
1805
1807
|
a("formPhone"),
|
|
1806
|
-
!
|
|
1808
|
+
!O && /* @__PURE__ */ e.jsx("span", { className: n.req, children: "*" })
|
|
1807
1809
|
] }) }),
|
|
1808
|
-
/* @__PURE__ */ e.jsx("div", { className: n.inputWrap, children: /* @__PURE__ */ e.jsxs("div", { className: n.isdWrap, ref:
|
|
1810
|
+
/* @__PURE__ */ e.jsx("div", { className: n.inputWrap, children: /* @__PURE__ */ e.jsxs("div", { className: n.isdWrap, ref: E, children: [
|
|
1809
1811
|
/* @__PURE__ */ e.jsxs("div", { className: n.phoneInputGroup, children: [
|
|
1810
1812
|
/* @__PURE__ */ e.jsx("div", { className: n.isdSelectWrap, children: /* @__PURE__ */ e.jsx(
|
|
1811
1813
|
"button",
|
|
@@ -1815,9 +1817,9 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1815
1817
|
"aria-haspopup": "listbox",
|
|
1816
1818
|
"aria-expanded": h,
|
|
1817
1819
|
onClick: () => {
|
|
1818
|
-
P((r) => !r),
|
|
1820
|
+
P((r) => !r), j("");
|
|
1819
1821
|
},
|
|
1820
|
-
children:
|
|
1822
|
+
children: p
|
|
1821
1823
|
}
|
|
1822
1824
|
) }),
|
|
1823
1825
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1830,15 +1832,15 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1830
1832
|
onFocus: () => u?.trackPhoneSectionClicked?.(),
|
|
1831
1833
|
onChange: (r) => {
|
|
1832
1834
|
const c = r.target.value;
|
|
1833
|
-
|
|
1835
|
+
_({ phone: yt(c) }), B("phone", yt(c));
|
|
1834
1836
|
},
|
|
1835
1837
|
placeholder: a("formPhonePlaceholder"),
|
|
1836
1838
|
autoComplete: "tel",
|
|
1837
1839
|
inputMode: "numeric",
|
|
1838
1840
|
pattern: "[0-9]{10}",
|
|
1839
1841
|
maxLength: 10,
|
|
1840
|
-
required: !
|
|
1841
|
-
"aria-required": !
|
|
1842
|
+
required: !O,
|
|
1843
|
+
"aria-required": !O
|
|
1842
1844
|
}
|
|
1843
1845
|
)
|
|
1844
1846
|
] }),
|
|
@@ -1852,24 +1854,24 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1852
1854
|
/* @__PURE__ */ e.jsx("div", { className: n.isdSearchWrap, children: /* @__PURE__ */ e.jsx(
|
|
1853
1855
|
"input",
|
|
1854
1856
|
{
|
|
1855
|
-
ref:
|
|
1857
|
+
ref: T,
|
|
1856
1858
|
type: "text",
|
|
1857
|
-
value:
|
|
1858
|
-
onChange: (r) =>
|
|
1859
|
+
value: Q,
|
|
1860
|
+
onChange: (r) => j(r.target.value),
|
|
1859
1861
|
placeholder: "Search country",
|
|
1860
1862
|
className: n.isdSearchInput,
|
|
1861
1863
|
"aria-label": "Search country"
|
|
1862
1864
|
}
|
|
1863
1865
|
) }),
|
|
1864
|
-
|
|
1866
|
+
D.length > 0 ? D.map((r) => /* @__PURE__ */ e.jsxs(
|
|
1865
1867
|
"button",
|
|
1866
1868
|
{
|
|
1867
1869
|
type: "button",
|
|
1868
1870
|
role: "option",
|
|
1869
|
-
"aria-selected": r.code ===
|
|
1870
|
-
className: `${n.isdOption} ${r.code ===
|
|
1871
|
+
"aria-selected": r.code === p,
|
|
1872
|
+
className: `${n.isdOption} ${r.code === p ? n.isdOptionActive : ""}`,
|
|
1871
1873
|
onClick: () => {
|
|
1872
|
-
|
|
1874
|
+
m(r.code), P(!1), j("");
|
|
1873
1875
|
},
|
|
1874
1876
|
children: [
|
|
1875
1877
|
/* @__PURE__ */ e.jsx("span", { className: n.isdCountryName, children: r.country }),
|
|
@@ -1883,7 +1885,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1883
1885
|
)
|
|
1884
1886
|
] }) })
|
|
1885
1887
|
] }),
|
|
1886
|
-
|
|
1888
|
+
g && /* @__PURE__ */ e.jsxs("div", { className: n.field, children: [
|
|
1887
1889
|
/* @__PURE__ */ e.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: n.label, children: [
|
|
1888
1890
|
a("formGender"),
|
|
1889
1891
|
/* @__PURE__ */ e.jsx("span", { className: n.req, children: "*" })
|
|
@@ -1902,7 +1904,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1902
1904
|
type: "button",
|
|
1903
1905
|
className: `${n.choiceBtn} ${o.gender === "male" ? n.choiceBtnActive : ""}`,
|
|
1904
1906
|
onClick: () => {
|
|
1905
|
-
|
|
1907
|
+
_({ gender: "male" }), u?.trackGenderSelected?.({
|
|
1906
1908
|
gender: "male"
|
|
1907
1909
|
});
|
|
1908
1910
|
},
|
|
@@ -1918,7 +1920,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1918
1920
|
type: "button",
|
|
1919
1921
|
className: `${n.choiceBtn} ${o.gender === "female" ? n.choiceBtnActive : ""}`,
|
|
1920
1922
|
onClick: () => {
|
|
1921
|
-
|
|
1923
|
+
_({ gender: "female" }), u?.trackGenderSelected?.({
|
|
1922
1924
|
gender: "female"
|
|
1923
1925
|
});
|
|
1924
1926
|
},
|
|
@@ -1931,7 +1933,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1931
1933
|
}
|
|
1932
1934
|
)
|
|
1933
1935
|
] }),
|
|
1934
|
-
|
|
1936
|
+
O && /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: n.field, children: [
|
|
1935
1937
|
/* @__PURE__ */ e.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: n.label, htmlFor: "kundli-email", children: [
|
|
1936
1938
|
a("formEmail"),
|
|
1937
1939
|
/* @__PURE__ */ e.jsx("span", { className: n.req, children: "*" })
|
|
@@ -1946,7 +1948,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1946
1948
|
value: o.email,
|
|
1947
1949
|
onFocus: () => u?.trackEmailSectionClicked?.(),
|
|
1948
1950
|
onChange: (r) => {
|
|
1949
|
-
|
|
1951
|
+
_({ email: r.target.value });
|
|
1950
1952
|
},
|
|
1951
1953
|
onBlur: X,
|
|
1952
1954
|
placeholder: a("formEmailPlaceholder"),
|
|
@@ -1969,9 +1971,9 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1969
1971
|
type: "button",
|
|
1970
1972
|
className: n.infoBtn,
|
|
1971
1973
|
"aria-label": a("info"),
|
|
1972
|
-
"aria-expanded":
|
|
1974
|
+
"aria-expanded": ce === "dob",
|
|
1973
1975
|
onClick: () => {
|
|
1974
|
-
|
|
1976
|
+
oe((r) => r === "dob" ? null : "dob"), u?.trackInfoIconClicked?.({ fieldName: "dob" });
|
|
1975
1977
|
},
|
|
1976
1978
|
children: /* @__PURE__ */ e.jsx(
|
|
1977
1979
|
"img",
|
|
@@ -1984,7 +1986,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1984
1986
|
)
|
|
1985
1987
|
}
|
|
1986
1988
|
),
|
|
1987
|
-
|
|
1989
|
+
ce === "dob" && /* @__PURE__ */ e.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
|
|
1988
1990
|
a("formDobInfo"),
|
|
1989
1991
|
/* @__PURE__ */ e.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
|
|
1990
1992
|
] })
|
|
@@ -2001,16 +2003,16 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2001
2003
|
value: o.dateOfBirth,
|
|
2002
2004
|
max: (() => {
|
|
2003
2005
|
const r = /* @__PURE__ */ new Date();
|
|
2004
|
-
return `${r.getFullYear()}-${
|
|
2006
|
+
return `${r.getFullYear()}-${W(r.getMonth() + 1)}-${W(r.getDate())}`;
|
|
2005
2007
|
})(),
|
|
2006
2008
|
onChange: (r) => {
|
|
2007
|
-
const c = r.target.value, K = /* @__PURE__ */ new Date(), ge = `${K.getFullYear()}-${
|
|
2008
|
-
c && c > ge || (
|
|
2009
|
+
const c = r.target.value, K = /* @__PURE__ */ new Date(), ge = `${K.getFullYear()}-${W(K.getMonth() + 1)}-${W(K.getDate())}`;
|
|
2010
|
+
c && c > ge || (_({ dateOfBirth: c }), B("dateOfBirth", c), ee.current = null);
|
|
2009
2011
|
},
|
|
2010
2012
|
onFocus: () => u?.trackDobClicked?.(),
|
|
2011
2013
|
onClick: () => Ue(I),
|
|
2012
2014
|
onBlur: () => {
|
|
2013
|
-
|
|
2015
|
+
ee.current === I.current && (ee.current = null);
|
|
2014
2016
|
}
|
|
2015
2017
|
}
|
|
2016
2018
|
),
|
|
@@ -2050,9 +2052,9 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2050
2052
|
type: "button",
|
|
2051
2053
|
className: n.infoBtn,
|
|
2052
2054
|
"aria-label": a("info"),
|
|
2053
|
-
"aria-expanded":
|
|
2055
|
+
"aria-expanded": ce === "time",
|
|
2054
2056
|
onClick: () => {
|
|
2055
|
-
u?.trackInfoIconClicked?.({ fieldName: "time" }),
|
|
2057
|
+
u?.trackInfoIconClicked?.({ fieldName: "time" }), oe((r) => r === "time" ? null : "time");
|
|
2056
2058
|
},
|
|
2057
2059
|
children: /* @__PURE__ */ e.jsx(
|
|
2058
2060
|
"img",
|
|
@@ -2065,30 +2067,30 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2065
2067
|
)
|
|
2066
2068
|
}
|
|
2067
2069
|
),
|
|
2068
|
-
|
|
2070
|
+
ce === "time" && /* @__PURE__ */ e.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
|
|
2069
2071
|
a("formBirthTimeInfo"),
|
|
2070
2072
|
/* @__PURE__ */ e.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
|
|
2071
2073
|
] })
|
|
2072
2074
|
] })
|
|
2073
2075
|
] }),
|
|
2074
|
-
/* @__PURE__ */ e.jsxs("div", { className: n.inputWrap, ref:
|
|
2076
|
+
/* @__PURE__ */ e.jsxs("div", { className: n.inputWrap, ref: z, children: [
|
|
2075
2077
|
/* @__PURE__ */ e.jsx(
|
|
2076
2078
|
"input",
|
|
2077
2079
|
{
|
|
2078
2080
|
id: "kundli-birth-time",
|
|
2079
2081
|
className: n.input,
|
|
2080
2082
|
type: "text",
|
|
2081
|
-
value: o.birthTime ?
|
|
2083
|
+
value: o.birthTime ? ue(o.birthTime) : "",
|
|
2082
2084
|
readOnly: !0,
|
|
2083
2085
|
onFocus: () => u?.trackTimeClicked?.(),
|
|
2084
2086
|
onChange: (r) => {
|
|
2085
2087
|
const c = r.target.value;
|
|
2086
|
-
|
|
2088
|
+
_({ birthTime: c }), B("birthTime", c);
|
|
2087
2089
|
},
|
|
2088
2090
|
disabled: o.birthTimeUnknown,
|
|
2089
2091
|
placeholder: "HH:MM AM",
|
|
2090
2092
|
onClick: () => {
|
|
2091
|
-
o.birthTimeUnknown || (
|
|
2093
|
+
o.birthTimeUnknown || (R(ve(o.birthTime || "12:00")), ne((r) => !r));
|
|
2092
2094
|
}
|
|
2093
2095
|
}
|
|
2094
2096
|
),
|
|
@@ -2101,7 +2103,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2101
2103
|
disabled: o.birthTimeUnknown,
|
|
2102
2104
|
onMouseDown: (r) => r.preventDefault(),
|
|
2103
2105
|
onClick: (r) => {
|
|
2104
|
-
r.preventDefault(), r.stopPropagation(), !o.birthTimeUnknown && (
|
|
2106
|
+
r.preventDefault(), r.stopPropagation(), !o.birthTimeUnknown && (R(ve(o.birthTime || "12:00")), ne((c) => !c));
|
|
2105
2107
|
},
|
|
2106
2108
|
children: /* @__PURE__ */ e.jsx(
|
|
2107
2109
|
"img",
|
|
@@ -2114,7 +2116,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2114
2116
|
)
|
|
2115
2117
|
}
|
|
2116
2118
|
),
|
|
2117
|
-
|
|
2119
|
+
ye && !o.birthTimeUnknown && /* @__PURE__ */ e.jsxs(
|
|
2118
2120
|
"div",
|
|
2119
2121
|
{
|
|
2120
2122
|
className: n.timePopover,
|
|
@@ -2126,8 +2128,8 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2126
2128
|
"select",
|
|
2127
2129
|
{
|
|
2128
2130
|
className: n.timePickerSelect,
|
|
2129
|
-
value:
|
|
2130
|
-
onChange: (r) =>
|
|
2131
|
+
value: l.hour12,
|
|
2132
|
+
onChange: (r) => R((c) => ({
|
|
2131
2133
|
...c,
|
|
2132
2134
|
hour12: Number(r.target.value)
|
|
2133
2135
|
})),
|
|
@@ -2140,10 +2142,10 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2140
2142
|
"select",
|
|
2141
2143
|
{
|
|
2142
2144
|
className: n.timePickerSelect,
|
|
2143
|
-
value:
|
|
2144
|
-
onChange: (r) =>
|
|
2145
|
+
value: l.minute,
|
|
2146
|
+
onChange: (r) => R((c) => ({ ...c, minute: r.target.value })),
|
|
2145
2147
|
"aria-label": "Minute",
|
|
2146
|
-
children: Array.from({ length: 60 }, (r, c) =>
|
|
2148
|
+
children: Array.from({ length: 60 }, (r, c) => W(c)).map(
|
|
2147
2149
|
(r) => /* @__PURE__ */ e.jsx("option", { value: r, children: r }, r)
|
|
2148
2150
|
)
|
|
2149
2151
|
}
|
|
@@ -2153,8 +2155,8 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2153
2155
|
"button",
|
|
2154
2156
|
{
|
|
2155
2157
|
type: "button",
|
|
2156
|
-
className: `${n.meridiemBtn} ${
|
|
2157
|
-
onClick: () =>
|
|
2158
|
+
className: `${n.meridiemBtn} ${l.meridiem === "AM" ? n.meridiemActive : ""}`,
|
|
2159
|
+
onClick: () => R((r) => ({ ...r, meridiem: "AM" })),
|
|
2158
2160
|
children: "AM"
|
|
2159
2161
|
}
|
|
2160
2162
|
),
|
|
@@ -2162,8 +2164,8 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2162
2164
|
"button",
|
|
2163
2165
|
{
|
|
2164
2166
|
type: "button",
|
|
2165
|
-
className: `${n.meridiemBtn} ${
|
|
2166
|
-
onClick: () =>
|
|
2167
|
+
className: `${n.meridiemBtn} ${l.meridiem === "PM" ? n.meridiemActive : ""}`,
|
|
2168
|
+
onClick: () => R((r) => ({ ...r, meridiem: "PM" })),
|
|
2167
2169
|
children: "PM"
|
|
2168
2170
|
}
|
|
2169
2171
|
)
|
|
@@ -2175,7 +2177,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2175
2177
|
{
|
|
2176
2178
|
type: "button",
|
|
2177
2179
|
className: n.timePopoverBtn,
|
|
2178
|
-
onClick: () =>
|
|
2180
|
+
onClick: () => ne(!1),
|
|
2179
2181
|
children: "Cancel"
|
|
2180
2182
|
}
|
|
2181
2183
|
),
|
|
@@ -2185,8 +2187,8 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2185
2187
|
type: "button",
|
|
2186
2188
|
className: `${n.timePopoverBtn} ${n.timePopoverOk}`,
|
|
2187
2189
|
onClick: () => {
|
|
2188
|
-
const r = je(
|
|
2189
|
-
|
|
2190
|
+
const r = je(l);
|
|
2191
|
+
_({ birthTime: r }), B("birthTime", r), ne(!1);
|
|
2190
2192
|
},
|
|
2191
2193
|
"aria-label": "OK",
|
|
2192
2194
|
children: /* @__PURE__ */ e.jsx(
|
|
@@ -2226,7 +2228,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2226
2228
|
type: "checkbox",
|
|
2227
2229
|
checked: o.birthTimeUnknown,
|
|
2228
2230
|
onChange: (r) => {
|
|
2229
|
-
u?.trackTimeCheckboxClicked?.(),
|
|
2231
|
+
u?.trackTimeCheckboxClicked?.(), _({
|
|
2230
2232
|
birthTimeUnknown: r.target.checked,
|
|
2231
2233
|
birthTime: r.target.checked ? "" : o.birthTime
|
|
2232
2234
|
});
|
|
@@ -2260,11 +2262,11 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2260
2262
|
type: "button",
|
|
2261
2263
|
className: n.infoBtn,
|
|
2262
2264
|
"aria-label": a("info"),
|
|
2263
|
-
"aria-expanded":
|
|
2265
|
+
"aria-expanded": ce === "place",
|
|
2264
2266
|
onClick: () => {
|
|
2265
2267
|
u?.trackInfoIconClicked?.({
|
|
2266
2268
|
fieldName: "birthPlace"
|
|
2267
|
-
}),
|
|
2269
|
+
}), oe((r) => r === "place" ? null : "place");
|
|
2268
2270
|
},
|
|
2269
2271
|
children: /* @__PURE__ */ e.jsx(
|
|
2270
2272
|
"img",
|
|
@@ -2277,7 +2279,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2277
2279
|
)
|
|
2278
2280
|
}
|
|
2279
2281
|
),
|
|
2280
|
-
|
|
2282
|
+
ce === "place" && /* @__PURE__ */ e.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
|
|
2281
2283
|
a("formBirthPlaceInfo"),
|
|
2282
2284
|
/* @__PURE__ */ e.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
|
|
2283
2285
|
] })
|
|
@@ -2293,14 +2295,14 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2293
2295
|
value: o.birthPlace,
|
|
2294
2296
|
onChange: (r) => {
|
|
2295
2297
|
const c = r.target.value;
|
|
2296
|
-
|
|
2298
|
+
_({
|
|
2297
2299
|
birthPlace: c,
|
|
2298
2300
|
birthPlaceLat: void 0,
|
|
2299
2301
|
birthPlaceLng: void 0
|
|
2300
|
-
}),
|
|
2302
|
+
}), B("birthPlace", c), pe(!0);
|
|
2301
2303
|
},
|
|
2302
2304
|
onFocus: () => {
|
|
2303
|
-
u?.trackPlaceOfBirthClicked?.(),
|
|
2305
|
+
u?.trackPlaceOfBirthClicked?.(), pe(!0);
|
|
2304
2306
|
},
|
|
2305
2307
|
placeholder: a("formBirthPlacePlaceholder"),
|
|
2306
2308
|
autoComplete: "address-level2"
|
|
@@ -2315,22 +2317,22 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2315
2317
|
"aria-hidden": !0
|
|
2316
2318
|
}
|
|
2317
2319
|
) }),
|
|
2318
|
-
|
|
2320
|
+
te && Ce.length > 0 && /* @__PURE__ */ e.jsx("div", { className: n.suggestions, role: "listbox", children: Ce.slice(0, 8).map((r) => /* @__PURE__ */ e.jsxs(
|
|
2319
2321
|
"button",
|
|
2320
2322
|
{
|
|
2321
2323
|
type: "button",
|
|
2322
2324
|
className: n.suggestionItem,
|
|
2323
2325
|
onClick: async () => {
|
|
2324
2326
|
const c = r.description;
|
|
2325
|
-
if (
|
|
2327
|
+
if (me.current = c, _({
|
|
2326
2328
|
birthPlace: c,
|
|
2327
2329
|
birthPlaceLat: r.lat,
|
|
2328
2330
|
birthPlaceLng: r.lng
|
|
2329
|
-
}), Me(),
|
|
2331
|
+
}), Me(), pe(!1), ie) {
|
|
2330
2332
|
const K = await fe.getPlaceDetails(
|
|
2331
2333
|
r.id
|
|
2332
2334
|
);
|
|
2333
|
-
K && (
|
|
2335
|
+
K && (me.current = c, s({
|
|
2334
2336
|
...o,
|
|
2335
2337
|
birthPlace: c,
|
|
2336
2338
|
birthPlaceLat: K.lat,
|
|
@@ -2345,11 +2347,11 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2345
2347
|
},
|
|
2346
2348
|
r.id
|
|
2347
2349
|
)) }),
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
+
te && S && Ie && /* @__PURE__ */ e.jsx("div", { className: n.suggestionsHint, children: "Loading…" }),
|
|
2351
|
+
te && S && !Ie && !!Le && /* @__PURE__ */ e.jsx("div", { className: n.suggestionsHint, children: Le })
|
|
2350
2352
|
] })
|
|
2351
2353
|
] }),
|
|
2352
|
-
|
|
2354
|
+
g && /* @__PURE__ */ e.jsxs("div", { className: n.field, children: [
|
|
2353
2355
|
/* @__PURE__ */ e.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: n.label, children: [
|
|
2354
2356
|
a("formReportLanguage"),
|
|
2355
2357
|
/* @__PURE__ */ e.jsx("span", { className: n.req, children: "*" })
|
|
@@ -2368,7 +2370,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2368
2370
|
type: "button",
|
|
2369
2371
|
className: `${n.choiceBtn} ${o.language_code === "hi" ? n.choiceBtnActive : ""}`,
|
|
2370
2372
|
onClick: () => {
|
|
2371
|
-
|
|
2373
|
+
_({ language_code: "hi" }), u?.trackLanguageOfReportSelected?.({
|
|
2372
2374
|
language: "hi"
|
|
2373
2375
|
});
|
|
2374
2376
|
},
|
|
@@ -2384,7 +2386,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2384
2386
|
type: "button",
|
|
2385
2387
|
className: `${n.choiceBtn} ${o.language_code === "en" ? n.choiceBtnActive : ""}`,
|
|
2386
2388
|
onClick: () => {
|
|
2387
|
-
|
|
2389
|
+
_({ language_code: "en" }), u?.trackLanguageOfReportSelected?.({
|
|
2388
2390
|
language: "en"
|
|
2389
2391
|
});
|
|
2390
2392
|
},
|
|
@@ -2400,7 +2402,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2400
2402
|
type: "button",
|
|
2401
2403
|
className: `${n.choiceBtn} ${o.language_code === "te" ? n.choiceBtnActive : ""}`,
|
|
2402
2404
|
onClick: () => {
|
|
2403
|
-
|
|
2405
|
+
_({ language_code: "te" }), u?.trackLanguageOfReportSelected?.({
|
|
2404
2406
|
language: "te"
|
|
2405
2407
|
});
|
|
2406
2408
|
},
|
|
@@ -2416,7 +2418,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2416
2418
|
type: "button",
|
|
2417
2419
|
className: `${n.choiceBtn} ${o.language_code === "ta" ? n.choiceBtnActive : ""}`,
|
|
2418
2420
|
onClick: () => {
|
|
2419
|
-
|
|
2421
|
+
_({ language_code: "ta" }), u?.trackLanguageOfReportSelected?.({
|
|
2420
2422
|
language: "ta"
|
|
2421
2423
|
});
|
|
2422
2424
|
},
|
|
@@ -2432,7 +2434,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2432
2434
|
type: "button",
|
|
2433
2435
|
className: `${n.choiceBtn} ${o.language_code === "kn" ? n.choiceBtnActive : ""}`,
|
|
2434
2436
|
onClick: () => {
|
|
2435
|
-
|
|
2437
|
+
_({ language_code: "kn" }), u?.trackLanguageOfReportSelected?.({
|
|
2436
2438
|
language: "kn"
|
|
2437
2439
|
});
|
|
2438
2440
|
},
|
|
@@ -2448,7 +2450,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2448
2450
|
type: "button",
|
|
2449
2451
|
className: `${n.choiceBtn} ${o.language_code === "gu" ? n.choiceBtnActive : ""}`,
|
|
2450
2452
|
onClick: () => {
|
|
2451
|
-
|
|
2453
|
+
_({ language_code: "gu" }), u?.trackLanguageOfReportSelected?.({
|
|
2452
2454
|
language: "gu"
|
|
2453
2455
|
});
|
|
2454
2456
|
},
|
|
@@ -2464,7 +2466,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2464
2466
|
type: "button",
|
|
2465
2467
|
className: `${n.choiceBtn} ${o.language_code === "mr" ? n.choiceBtnActive : ""}`,
|
|
2466
2468
|
onClick: () => {
|
|
2467
|
-
|
|
2469
|
+
_({ language_code: "mr" }), u?.trackLanguageOfReportSelected?.({
|
|
2468
2470
|
language: "mr"
|
|
2469
2471
|
});
|
|
2470
2472
|
},
|
|
@@ -2480,21 +2482,21 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2480
2482
|
] }) })
|
|
2481
2483
|
}
|
|
2482
2484
|
);
|
|
2483
|
-
},
|
|
2484
|
-
ctaButton:
|
|
2485
|
-
ctaFilled:
|
|
2485
|
+
}, Cr = "_ctaButton_rhimw_2", Pr = "_ctaFilled_rhimw_21", Tr = "_ctaFilledContent_rhimw_52", Sr = "_chevronRight_rhimw_61", Ke = {
|
|
2486
|
+
ctaButton: Cr,
|
|
2487
|
+
ctaFilled: Pr,
|
|
2486
2488
|
ctaFilledContent: Tr,
|
|
2487
2489
|
chevronRight: Sr
|
|
2488
|
-
}, jt = "kundli-report-astrologer", jr = "https://srm-cdn.a4b.io/yoda/1770375694934.svg",
|
|
2490
|
+
}, jt = "kundli-report-astrologer", jr = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", Nr = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Ar = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Rr = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", Er = ({ t: a }) => {
|
|
2489
2491
|
const s = Ee()?.config.imageComponent ?? He;
|
|
2490
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2491
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2492
|
+
return /* @__PURE__ */ e.jsxs("div", { className: Ae.marqueeContent, children: [
|
|
2493
|
+
/* @__PURE__ */ e.jsxs("span", { className: Ae.badge, children: [
|
|
2492
2494
|
/* @__PURE__ */ e.jsx(
|
|
2493
2495
|
s,
|
|
2494
2496
|
{
|
|
2495
2497
|
src: jr,
|
|
2496
2498
|
alt: "",
|
|
2497
|
-
className:
|
|
2499
|
+
className: Ae.badgeIcon,
|
|
2498
2500
|
width: 16,
|
|
2499
2501
|
height: 16,
|
|
2500
2502
|
loading: "lazy"
|
|
@@ -2502,13 +2504,13 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2502
2504
|
),
|
|
2503
2505
|
a("ctaKundliCreated")
|
|
2504
2506
|
] }),
|
|
2505
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2507
|
+
/* @__PURE__ */ e.jsxs("span", { className: Ae.badge, children: [
|
|
2506
2508
|
/* @__PURE__ */ e.jsx(
|
|
2507
2509
|
s,
|
|
2508
2510
|
{
|
|
2509
|
-
src:
|
|
2511
|
+
src: Nr,
|
|
2510
2512
|
alt: "",
|
|
2511
|
-
className:
|
|
2513
|
+
className: Ae.badgeIcon,
|
|
2512
2514
|
width: 16,
|
|
2513
2515
|
height: 16,
|
|
2514
2516
|
loading: "lazy"
|
|
@@ -2516,13 +2518,13 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2516
2518
|
),
|
|
2517
2519
|
a("ctaCertified")
|
|
2518
2520
|
] }),
|
|
2519
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2521
|
+
/* @__PURE__ */ e.jsxs("span", { className: Ae.badge, children: [
|
|
2520
2522
|
/* @__PURE__ */ e.jsx(
|
|
2521
2523
|
s,
|
|
2522
2524
|
{
|
|
2523
|
-
src:
|
|
2525
|
+
src: Ar,
|
|
2524
2526
|
alt: "",
|
|
2525
|
-
className:
|
|
2527
|
+
className: Ae.badgeIcon,
|
|
2526
2528
|
width: 16,
|
|
2527
2529
|
height: 16,
|
|
2528
2530
|
loading: "lazy"
|
|
@@ -2547,49 +2549,49 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2547
2549
|
t: a,
|
|
2548
2550
|
values: o,
|
|
2549
2551
|
phoneIsdCode: s,
|
|
2550
|
-
requireV1ExtraFields:
|
|
2551
|
-
onValidationFailed:
|
|
2552
|
-
onProceed:
|
|
2552
|
+
requireV1ExtraFields: p = !1,
|
|
2553
|
+
onValidationFailed: m,
|
|
2554
|
+
onProceed: g,
|
|
2553
2555
|
onProceedGuidance: f,
|
|
2554
|
-
href:
|
|
2555
|
-
analytics:
|
|
2556
|
-
className:
|
|
2557
|
-
discountedPriceLabel:
|
|
2558
|
-
discountPillLabel:
|
|
2556
|
+
href: C,
|
|
2557
|
+
analytics: w,
|
|
2558
|
+
className: q = "",
|
|
2559
|
+
discountedPriceLabel: F,
|
|
2560
|
+
discountPillLabel: N,
|
|
2559
2561
|
showPlanSheet: u,
|
|
2560
|
-
confirmPlan:
|
|
2562
|
+
confirmPlan: O,
|
|
2561
2563
|
planSheetOpen: v,
|
|
2562
|
-
selectedPlan:
|
|
2564
|
+
selectedPlan: U
|
|
2563
2565
|
}) => {
|
|
2564
|
-
const
|
|
2565
|
-
() => Br(o, h,
|
|
2566
|
-
[o, h,
|
|
2567
|
-
),
|
|
2568
|
-
if (X.preventDefault(), P === "v1" && !
|
|
2569
|
-
|
|
2566
|
+
const k = Ee(), h = k?.config.isGlobal ?? !0, P = k?.config?.variant, Q = Re(
|
|
2567
|
+
() => Br(o, h, p),
|
|
2568
|
+
[o, h, p]
|
|
2569
|
+
), j = Q === null, E = P === "v1" && k?.config?.showSheet, T = h ? F ?? a("formDiscountedPrice") : E ? "" : "₹499", G = k?.config.imageComponent ?? He, _ = (X) => {
|
|
2570
|
+
if (X.preventDefault(), P === "v1" && !j && w?.trackKundliDetailedClicked?.(), !j) {
|
|
2571
|
+
Q && m?.(Q);
|
|
2570
2572
|
return;
|
|
2571
2573
|
}
|
|
2572
|
-
const
|
|
2574
|
+
const V = !!f && P === "v1" && U?.id === jt, D = (o.phone ?? "").trim(), I = {
|
|
2573
2575
|
...o,
|
|
2574
|
-
phone:
|
|
2576
|
+
phone: D && `${s}-${D}`
|
|
2575
2577
|
};
|
|
2576
|
-
if (
|
|
2577
|
-
v ?
|
|
2578
|
+
if (E) {
|
|
2579
|
+
v ? O?.() : u?.(I);
|
|
2578
2580
|
return;
|
|
2579
2581
|
}
|
|
2580
|
-
|
|
2581
|
-
},
|
|
2582
|
+
w?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), V ? f(I) : g?.(I);
|
|
2583
|
+
}, B = /* @__PURE__ */ e.jsx(
|
|
2582
2584
|
Ht,
|
|
2583
2585
|
{
|
|
2584
|
-
href:
|
|
2585
|
-
disabled: P === "v1" ? !1 : !
|
|
2586
|
-
onClick:
|
|
2586
|
+
href: C,
|
|
2587
|
+
disabled: P === "v1" ? !1 : !j,
|
|
2588
|
+
onClick: _,
|
|
2587
2589
|
"aria-label": a("formPriceAria"),
|
|
2588
|
-
className: P === "v1" &&
|
|
2589
|
-
children: P === "v1" ?
|
|
2590
|
-
|
|
2590
|
+
className: P === "v1" && j ? Ke.ctaFilled : P === "v1" ? Ke.ctaButton : void 0,
|
|
2591
|
+
children: P === "v1" ? j ? /* @__PURE__ */ e.jsxs("span", { className: Ke.ctaFilledContent, children: [
|
|
2592
|
+
E ? a("selectPackage") : v && U ? `${a("proceedWithPlan")}${U.price}` : `${a("formProceed")} ${T}`,
|
|
2591
2593
|
/* @__PURE__ */ e.jsx(
|
|
2592
|
-
|
|
2594
|
+
G,
|
|
2593
2595
|
{
|
|
2594
2596
|
src: Rr,
|
|
2595
2597
|
alt: "",
|
|
@@ -2602,34 +2604,34 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2602
2604
|
] }) : a("formCtaDefault") : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2603
2605
|
a("formProceed"),
|
|
2604
2606
|
" ",
|
|
2605
|
-
|
|
2607
|
+
T
|
|
2606
2608
|
] })
|
|
2607
2609
|
}
|
|
2608
2610
|
);
|
|
2609
2611
|
return /* @__PURE__ */ e.jsx(
|
|
2610
2612
|
Yt,
|
|
2611
2613
|
{
|
|
2612
|
-
className: `${Ke.footerContainer} ${
|
|
2614
|
+
className: `${Ke.footerContainer} ${q}`,
|
|
2613
2615
|
marquee: /* @__PURE__ */ e.jsx(Vt, { children: /* @__PURE__ */ e.jsx(Er, { t: a }) }),
|
|
2614
|
-
children:
|
|
2616
|
+
children: B
|
|
2615
2617
|
}
|
|
2616
2618
|
);
|
|
2617
2619
|
}, Fr = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Or = ({
|
|
2618
2620
|
t: a,
|
|
2619
2621
|
languageSelector: o,
|
|
2620
2622
|
logoUrl: s = Fr,
|
|
2621
|
-
className:
|
|
2623
|
+
className: p = ""
|
|
2622
2624
|
}) => {
|
|
2623
|
-
const
|
|
2625
|
+
const m = Ee(), g = m?.config.isGlobal ?? !0, f = o != null && !g;
|
|
2624
2626
|
return /* @__PURE__ */ e.jsx(
|
|
2625
2627
|
zt,
|
|
2626
2628
|
{
|
|
2627
2629
|
t: a,
|
|
2628
2630
|
logoUrl: s,
|
|
2629
|
-
imageComponent:
|
|
2631
|
+
imageComponent: m?.config.imageComponent,
|
|
2630
2632
|
languageSelector: o,
|
|
2631
2633
|
showLanguageSelector: f,
|
|
2632
|
-
className:
|
|
2634
|
+
className: p
|
|
2633
2635
|
}
|
|
2634
2636
|
);
|
|
2635
2637
|
}, Mr = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
@@ -2679,7 +2681,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2679
2681
|
alt: "",
|
|
2680
2682
|
"aria-hidden": !0
|
|
2681
2683
|
}
|
|
2682
|
-
), Kr = "_overlay_1u7x5_2", Hr = "_sheet_1u7x5_12", Yr = "_sheetFullScreen_1u7x5_36", Vr = "_headerFull_1u7x5_50", zr = "_titleFull_1u7x5_63", Jr = "_header_1u7x5_50", Qr = "_backBtn_1u7x5_84", Xr = "_title_1u7x5_63", Zr = "_plansContainer_1u7x5_114", en = "_planCard_1u7x5_123", tn = "_withBadgeSpacing_1u7x5_137", an = "_planCardSelected_1u7x5_141", rn = "_planCardPopular_1u7x5_146", nn = "_popularBadge_1u7x5_155", on = "_planCardInner_1u7x5_173", ln = "_planTitleRow_1u7x5_184", sn = "_planTitle_1u7x5_184", cn = "_radioCircle_1u7x5_199", dn = "_radioChecked_1u7x5_212", un = "_radioInner_1u7x5_217",
|
|
2684
|
+
), Kr = "_overlay_1u7x5_2", Hr = "_sheet_1u7x5_12", Yr = "_sheetFullScreen_1u7x5_36", Vr = "_headerFull_1u7x5_50", zr = "_titleFull_1u7x5_63", Jr = "_header_1u7x5_50", Qr = "_backBtn_1u7x5_84", Xr = "_title_1u7x5_63", Zr = "_plansContainer_1u7x5_114", en = "_planCard_1u7x5_123", tn = "_withBadgeSpacing_1u7x5_137", an = "_planCardSelected_1u7x5_141", rn = "_planCardPopular_1u7x5_146", nn = "_popularBadge_1u7x5_155", on = "_planCardInner_1u7x5_173", ln = "_planTitleRow_1u7x5_184", sn = "_planTitle_1u7x5_184", cn = "_radioCircle_1u7x5_199", dn = "_radioChecked_1u7x5_212", un = "_radioInner_1u7x5_217", pn = "_priceRow_1u7x5_225", mn = "_price_1u7x5_225", fn = "_originalPrice_1u7x5_238", hn = "_savingsBadge_1u7x5_245", gn = "_featureList_1u7x5_255", _n = "_featureItem_1u7x5_264", bn = "_featureIcon_1u7x5_270", yn = "_featureText_1u7x5_276", vn = "_astrologerHeading_1u7x5_287", kn = "_astrologerList_1u7x5_294", xn = "_astrologerCard_1u7x5_310", wn = "_astrologerAvatar_1u7x5_326", Cn = "_astrologerAvatarPlaceholder_1u7x5_343", Pn = "_astrologerTop_1u7x5_349", Tn = "_astrologerBasicInfo_1u7x5_355", Sn = "_astrologerName_1u7x5_362", jn = "_astrologerExp_1u7x5_371", Nn = "_astrologerDivider_1u7x5_377", An = "_planDivider_1u7x5_383", Rn = "_astrologerCertList_1u7x5_390", En = "_astrologerCertItem_1u7x5_396", In = "_bullet_1u7x5_404", Ln = "_footer_1u7x5_409", Bn = "_proceedBtn_1u7x5_419", x = {
|
|
2683
2685
|
overlay: Kr,
|
|
2684
2686
|
sheet: Hr,
|
|
2685
2687
|
sheetFullScreen: Yr,
|
|
@@ -2700,8 +2702,8 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2700
2702
|
radioCircle: cn,
|
|
2701
2703
|
radioChecked: dn,
|
|
2702
2704
|
radioInner: un,
|
|
2703
|
-
priceRow:
|
|
2704
|
-
price:
|
|
2705
|
+
priceRow: pn,
|
|
2706
|
+
price: mn,
|
|
2705
2707
|
originalPrice: fn,
|
|
2706
2708
|
savingsBadge: hn,
|
|
2707
2709
|
featureList: gn,
|
|
@@ -2712,98 +2714,98 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2712
2714
|
astrologerList: kn,
|
|
2713
2715
|
astrologerCard: xn,
|
|
2714
2716
|
astrologerAvatar: wn,
|
|
2715
|
-
astrologerAvatarPlaceholder:
|
|
2716
|
-
astrologerTop:
|
|
2717
|
+
astrologerAvatarPlaceholder: Cn,
|
|
2718
|
+
astrologerTop: Pn,
|
|
2717
2719
|
astrologerBasicInfo: Tn,
|
|
2718
2720
|
astrologerName: Sn,
|
|
2719
2721
|
astrologerExp: jn,
|
|
2720
|
-
astrologerDivider:
|
|
2721
|
-
planDivider:
|
|
2722
|
+
astrologerDivider: Nn,
|
|
2723
|
+
planDivider: An,
|
|
2722
2724
|
astrologerCertList: Rn,
|
|
2723
2725
|
astrologerCertItem: En,
|
|
2724
2726
|
bullet: In,
|
|
2725
2727
|
footer: Ln,
|
|
2726
2728
|
proceedBtn: Bn
|
|
2727
|
-
}, Dn = ({ title: a, onBack: o }) => /* @__PURE__ */ e.jsxs("div", { className:
|
|
2729
|
+
}, Dn = ({ title: a, onBack: o }) => /* @__PURE__ */ e.jsxs("div", { className: x.header, children: [
|
|
2728
2730
|
/* @__PURE__ */ e.jsx(
|
|
2729
2731
|
"button",
|
|
2730
2732
|
{
|
|
2731
|
-
className:
|
|
2733
|
+
className: x.backBtn,
|
|
2732
2734
|
onClick: o,
|
|
2733
2735
|
"aria-label": "Go back",
|
|
2734
2736
|
type: "button",
|
|
2735
2737
|
children: /* @__PURE__ */ e.jsx(ot, {})
|
|
2736
2738
|
}
|
|
2737
2739
|
),
|
|
2738
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
2739
|
-
] }), Fn = ({ features: a, t: o }) => /* @__PURE__ */ e.jsx("ul", { className:
|
|
2740
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2740
|
+
/* @__PURE__ */ e.jsx("h2", { className: x.title, children: a })
|
|
2741
|
+
] }), Fn = ({ features: a, t: o }) => /* @__PURE__ */ e.jsx("ul", { className: x.featureList, "aria-label": "Plan features", children: a.map((s, p) => /* @__PURE__ */ e.jsxs("li", { className: x.featureItem, children: [
|
|
2742
|
+
/* @__PURE__ */ e.jsx("span", { className: x.featureIcon, children: s.included ? /* @__PURE__ */ e.jsx(Mr, {}) : /* @__PURE__ */ e.jsx($r, {}) }),
|
|
2741
2743
|
/* @__PURE__ */ e.jsx(
|
|
2742
2744
|
"span",
|
|
2743
2745
|
{
|
|
2744
|
-
className: `${
|
|
2746
|
+
className: `${x.featureText} `,
|
|
2745
2747
|
children: o?.(s.text) ?? s.text
|
|
2746
2748
|
}
|
|
2747
2749
|
)
|
|
2748
|
-
] },
|
|
2749
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2750
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2751
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2752
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2753
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2750
|
+
] }, p)) }), On = ({ astrologer: a, t: o }) => /* @__PURE__ */ e.jsxs("div", { className: x.astrologerCard, children: [
|
|
2751
|
+
/* @__PURE__ */ e.jsxs("div", { className: x.astrologerTop, children: [
|
|
2752
|
+
/* @__PURE__ */ e.jsx("div", { className: x.astrologerAvatar, "aria-hidden": !0, children: a.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: a.imageUrl, alt: o?.(a.name) ?? a.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: x.astrologerAvatarPlaceholder, children: a.name.charAt(0) }) }),
|
|
2753
|
+
/* @__PURE__ */ e.jsxs("div", { className: x.astrologerBasicInfo, children: [
|
|
2754
|
+
/* @__PURE__ */ e.jsx("p", { className: x.astrologerName, children: o?.(a.name) ?? a.name }),
|
|
2755
|
+
/* @__PURE__ */ e.jsx("p", { className: x.astrologerExp, children: o?.(a.experience) ?? a.experience })
|
|
2754
2756
|
] })
|
|
2755
2757
|
] }),
|
|
2756
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2757
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2758
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2758
|
+
/* @__PURE__ */ e.jsx("div", { className: x.astrologerDivider }),
|
|
2759
|
+
/* @__PURE__ */ e.jsx("div", { className: x.astrologerCertList, children: a.certifications.map((s, p) => /* @__PURE__ */ e.jsxs("p", { className: x.astrologerCertItem, children: [
|
|
2760
|
+
/* @__PURE__ */ e.jsx("span", { className: x.bullet, children: "•" }),
|
|
2759
2761
|
" ",
|
|
2760
2762
|
o?.(s) ?? s
|
|
2761
|
-
] },
|
|
2762
|
-
] }), Mn = ({ label: a }) => /* @__PURE__ */ e.jsxs("div", { className:
|
|
2763
|
+
] }, p)) })
|
|
2764
|
+
] }), Mn = ({ label: a }) => /* @__PURE__ */ e.jsxs("div", { className: x.popularBadge, "aria-label": a, children: [
|
|
2763
2765
|
/* @__PURE__ */ e.jsx(Ur, {}),
|
|
2764
2766
|
/* @__PURE__ */ e.jsx("span", { children: a })
|
|
2765
|
-
] }), $n = ({ plan: a, isSelected: o, onSelect: s, t:
|
|
2766
|
-
const
|
|
2767
|
+
] }), $n = ({ plan: a, isSelected: o, onSelect: s, t: p }) => {
|
|
2768
|
+
const m = () => s(a.id), g = (f) => {
|
|
2767
2769
|
(f.key === " " || f.key === "Enter") && (f.preventDefault(), s(a.id));
|
|
2768
2770
|
};
|
|
2769
2771
|
return /* @__PURE__ */ e.jsxs(
|
|
2770
2772
|
"div",
|
|
2771
2773
|
{
|
|
2772
2774
|
className: [
|
|
2773
|
-
|
|
2774
|
-
o ?
|
|
2775
|
-
o &&
|
|
2775
|
+
x.planCard,
|
|
2776
|
+
o ? x.planCardSelected : "",
|
|
2777
|
+
o && x.planCardPopular
|
|
2776
2778
|
].filter(Boolean).join(" "),
|
|
2777
|
-
onClick:
|
|
2779
|
+
onClick: m,
|
|
2778
2780
|
role: "radio",
|
|
2779
2781
|
"aria-checked": o,
|
|
2780
2782
|
tabIndex: 0,
|
|
2781
|
-
onKeyDown:
|
|
2783
|
+
onKeyDown: g,
|
|
2782
2784
|
"data-plan-id": a.id,
|
|
2783
2785
|
children: [
|
|
2784
|
-
a.badge && /* @__PURE__ */ e.jsx(Mn, { label:
|
|
2785
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2786
|
-
/* @__PURE__ */ e.jsxs("div", { className: `${
|
|
2787
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2786
|
+
a.badge && /* @__PURE__ */ e.jsx(Mn, { label: p?.(a.badge) ?? a.badge }),
|
|
2787
|
+
/* @__PURE__ */ e.jsxs("div", { className: x.planCardInner, children: [
|
|
2788
|
+
/* @__PURE__ */ e.jsxs("div", { className: `${x.planTitleRow} ${a.badge ? x.withBadgeSpacing : ""}`, children: [
|
|
2789
|
+
/* @__PURE__ */ e.jsx("span", { className: x.planTitle, children: p?.(a.title) ?? a.title }),
|
|
2788
2790
|
/* @__PURE__ */ e.jsx(
|
|
2789
2791
|
"span",
|
|
2790
2792
|
{
|
|
2791
|
-
className: `${
|
|
2793
|
+
className: `${x.radioCircle} ${o ? x.radioChecked : ""}`,
|
|
2792
2794
|
"aria-hidden": !0,
|
|
2793
|
-
children: o && /* @__PURE__ */ e.jsx("span", { className:
|
|
2795
|
+
children: o && /* @__PURE__ */ e.jsx("span", { className: x.radioInner })
|
|
2794
2796
|
}
|
|
2795
2797
|
)
|
|
2796
2798
|
] }),
|
|
2797
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2798
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2799
|
-
a.originalPrice && /* @__PURE__ */ e.jsx("span", { className:
|
|
2800
|
-
a.savingsLabel && /* @__PURE__ */ e.jsx("span", { className:
|
|
2799
|
+
/* @__PURE__ */ e.jsxs("div", { className: x.priceRow, children: [
|
|
2800
|
+
/* @__PURE__ */ e.jsx("span", { className: x.price, children: a.price }),
|
|
2801
|
+
a.originalPrice && /* @__PURE__ */ e.jsx("span", { className: x.originalPrice, children: a.originalPrice }),
|
|
2802
|
+
a.savingsLabel && /* @__PURE__ */ e.jsx("span", { className: x.savingsBadge, children: p?.(a.savingsLabel, { percent: 25 }) ?? a.savingsLabel })
|
|
2801
2803
|
] }),
|
|
2802
|
-
/* @__PURE__ */ e.jsx(Fn, { features: a.features, t:
|
|
2803
|
-
a.astrologers && /* @__PURE__ */ e.jsx("div", { className:
|
|
2804
|
+
/* @__PURE__ */ e.jsx(Fn, { features: a.features, t: p }),
|
|
2805
|
+
a.astrologers && /* @__PURE__ */ e.jsx("div", { className: x.planDivider }),
|
|
2804
2806
|
a.astrologers && a.astrologers.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2805
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2806
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2807
|
+
/* @__PURE__ */ e.jsx("p", { className: x.astrologerHeading, children: p?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
|
|
2808
|
+
/* @__PURE__ */ e.jsx("div", { className: x.astrologerList, role: "list", children: a.astrologers.map((f, C) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(On, { astrologer: f, t: p }) }, C)) })
|
|
2807
2809
|
] })
|
|
2808
2810
|
] })
|
|
2809
2811
|
]
|
|
@@ -2817,206 +2819,217 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2817
2819
|
hour12: !0
|
|
2818
2820
|
});
|
|
2819
2821
|
}, Un = (a, o = /* @__PURE__ */ new Date()) => {
|
|
2820
|
-
const s = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
2821
|
-
if (Number.isNaN(
|
|
2822
|
+
const s = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], p = /* @__PURE__ */ new Date(`${a}T00:00:00`);
|
|
2823
|
+
if (Number.isNaN(p.getTime()))
|
|
2822
2824
|
return { id: a, dayLabel: a, dayNum: "" };
|
|
2823
|
-
const
|
|
2824
|
-
(p
|
|
2825
|
-
), f =
|
|
2826
|
-
return { id: a, dayLabel: f, dayNum: String(
|
|
2825
|
+
const m = (C) => new Date(C.getFullYear(), C.getMonth(), C.getDate()).getTime(), g = Math.round(
|
|
2826
|
+
(m(p) - m(o)) / (1e3 * 60 * 60 * 24)
|
|
2827
|
+
), f = g === 0 ? "Today" : g === 1 ? "Tomorrow" : s[p.getDay()];
|
|
2828
|
+
return { id: a, dayLabel: f, dayNum: String(p.getDate()) };
|
|
2827
2829
|
}, Gn = [
|
|
2828
2830
|
"morning",
|
|
2829
2831
|
"afternoon",
|
|
2830
2832
|
"evening"
|
|
2831
|
-
], qn =
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2833
|
+
], qn = [
|
|
2834
|
+
{ id: "career_work", labelKey: "planTopicCareerWork", label: "Career & work" },
|
|
2835
|
+
{ id: "health_wellbeing", labelKey: "planTopicHealthWellbeing", label: "Health & wellbeing" },
|
|
2836
|
+
{ id: "love_marriage", labelKey: "planTopicLoveMarriage", label: "Love & marriage" },
|
|
2837
|
+
{ id: "money_finance", labelKey: "planTopicMoneyFinance", label: "Money & finance" }
|
|
2838
|
+
], Wn = "_overlay_1gqll_2", Kn = "_sheet_1gqll_12", Hn = "_content_1gqll_34", Yn = "_header_1gqll_41", Vn = "_backBtn_1gqll_54", zn = "_title_1gqll_72", Jn = "_subtitle_1gqll_80", Qn = "_trustRow_1gqll_88", Xn = "_trustAvatars_1gqll_99", Zn = "_trustText_1gqll_112", eo = "_trustDivider_1gqll_118", to = "_astrologerRow_1gqll_125", ao = "_astrologerCard_1gqll_138", ro = "_astrologerTop_1gqll_151", no = "_astrologerAvatar_1gqll_157", oo = "_astrologerBasicInfo_1gqll_174", io = "_astrologerName_1gqll_179", lo = "_astrologerMeta_1gqll_190", so = "_astrologerCertList_1gqll_204", co = "_astrologerCertItem_1gqll_210", uo = "_bullet_1gqll_218", po = "_sectionHeading_1gqll_223", mo = "_dateTabs_1gqll_231", fo = "_dateTab_1gqll_231", ho = "_dateTabDivider_1gqll_258", go = "_dateTabSelected_1gqll_268", _o = "_dateTabLabel_1gqll_274", bo = "_dateTabNum_1gqll_280", yo = "_periodTabs_1gqll_293", vo = "_periodTab_1gqll_293", ko = "_periodTabSelected_1gqll_319", xo = "_timeGrid_1gqll_326", wo = "_timeSlot_1gqll_333", Co = "_timeSlotSelected_1gqll_349", Po = "_topicGrid_1gqll_357", To = "_topicChip_1gqll_363", So = "_topicChipSelected_1gqll_379", jo = "_stateMessage_1gqll_386", No = "_retryBtn_1gqll_393", Ao = "_footer_1gqll_407", Ro = "_proceedBtn_1gqll_414", Eo = "_proceedBtnDisabled_1gqll_432", y = {
|
|
2839
|
+
overlay: Wn,
|
|
2840
|
+
sheet: Kn,
|
|
2841
|
+
content: Hn,
|
|
2842
|
+
header: Yn,
|
|
2843
|
+
backBtn: Vn,
|
|
2844
|
+
title: zn,
|
|
2845
|
+
subtitle: Jn,
|
|
2846
|
+
trustRow: Qn,
|
|
2847
|
+
trustAvatars: Xn,
|
|
2848
|
+
trustText: Zn,
|
|
2849
|
+
trustDivider: eo,
|
|
2850
|
+
astrologerRow: to,
|
|
2851
|
+
astrologerCard: ao,
|
|
2852
|
+
astrologerTop: ro,
|
|
2853
|
+
astrologerAvatar: no,
|
|
2854
|
+
astrologerBasicInfo: oo,
|
|
2855
|
+
astrologerName: io,
|
|
2856
|
+
astrologerMeta: lo,
|
|
2857
|
+
astrologerCertList: so,
|
|
2858
|
+
astrologerCertItem: co,
|
|
2859
|
+
bullet: uo,
|
|
2860
|
+
sectionHeading: po,
|
|
2854
2861
|
dateTabs: mo,
|
|
2855
|
-
dateTab:
|
|
2856
|
-
dateTabDivider:
|
|
2857
|
-
dateTabSelected:
|
|
2858
|
-
dateTabLabel:
|
|
2859
|
-
dateTabNum:
|
|
2860
|
-
periodTabs:
|
|
2861
|
-
periodTab:
|
|
2862
|
-
periodTabSelected:
|
|
2863
|
-
timeGrid:
|
|
2864
|
-
timeSlot:
|
|
2865
|
-
timeSlotSelected:
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2862
|
+
dateTab: fo,
|
|
2863
|
+
dateTabDivider: ho,
|
|
2864
|
+
dateTabSelected: go,
|
|
2865
|
+
dateTabLabel: _o,
|
|
2866
|
+
dateTabNum: bo,
|
|
2867
|
+
periodTabs: yo,
|
|
2868
|
+
periodTab: vo,
|
|
2869
|
+
periodTabSelected: ko,
|
|
2870
|
+
timeGrid: xo,
|
|
2871
|
+
timeSlot: wo,
|
|
2872
|
+
timeSlotSelected: Co,
|
|
2873
|
+
topicGrid: Po,
|
|
2874
|
+
topicChip: To,
|
|
2875
|
+
topicChipSelected: So,
|
|
2876
|
+
stateMessage: jo,
|
|
2877
|
+
retryBtn: No,
|
|
2878
|
+
footer: Ao,
|
|
2879
|
+
proceedBtn: Ro,
|
|
2880
|
+
proceedBtnDisabled: Eo
|
|
2881
|
+
}, Io = {
|
|
2872
2882
|
morning: Gr,
|
|
2873
2883
|
afternoon: qr,
|
|
2874
2884
|
evening: Wr
|
|
2875
|
-
},
|
|
2885
|
+
}, Lo = {
|
|
2876
2886
|
morning: "planPeriodMorning",
|
|
2877
2887
|
afternoon: "planPeriodAfternoon",
|
|
2878
2888
|
evening: "planPeriodEvening"
|
|
2879
|
-
},
|
|
2889
|
+
}, Bo = ({
|
|
2880
2890
|
isOpen: a,
|
|
2881
2891
|
onClose: o,
|
|
2882
2892
|
onProceed: s,
|
|
2883
|
-
astrologers:
|
|
2884
|
-
t:
|
|
2885
|
-
analytics:
|
|
2893
|
+
astrologers: p,
|
|
2894
|
+
t: m,
|
|
2895
|
+
analytics: g
|
|
2886
2896
|
}) => {
|
|
2887
|
-
const f = Ee(),
|
|
2888
|
-
() =>
|
|
2889
|
-
[
|
|
2890
|
-
),
|
|
2891
|
-
|
|
2892
|
-
|
|
2897
|
+
const f = Ee(), C = f?.config.imageComponent ?? He, w = f?.config.fetchConsultationSlots, [q, F] = M([]), [N, u] = M(!1), [O, v] = M(!1), [U, k] = M(""), [h, P] = M(""), [Q, j] = M("morning"), [E, T] = M(null), G = H(!1), _ = Re(
|
|
2898
|
+
() => q.filter((l) => l.has_availability && l.slots.length > 0),
|
|
2899
|
+
[q]
|
|
2900
|
+
), B = be(() => {
|
|
2901
|
+
w && (u(!0), v(!1), w().then((l) => {
|
|
2902
|
+
F(l?.days ?? []);
|
|
2893
2903
|
}).catch(() => {
|
|
2894
2904
|
v(!0);
|
|
2895
2905
|
}).finally(() => u(!1)));
|
|
2896
|
-
}, [
|
|
2897
|
-
|
|
2906
|
+
}, [w]);
|
|
2907
|
+
J(() => {
|
|
2898
2908
|
if (!a) {
|
|
2899
2909
|
G.current = !1;
|
|
2900
2910
|
return;
|
|
2901
2911
|
}
|
|
2902
|
-
|
|
2903
|
-
}, [a]),
|
|
2904
|
-
if (!
|
|
2905
|
-
|
|
2912
|
+
k(""), B();
|
|
2913
|
+
}, [a]), J(() => {
|
|
2914
|
+
if (!_.length) {
|
|
2915
|
+
P(""), T(null);
|
|
2906
2916
|
return;
|
|
2907
2917
|
}
|
|
2908
|
-
const l =
|
|
2909
|
-
|
|
2910
|
-
(
|
|
2918
|
+
const l = _[0];
|
|
2919
|
+
P(
|
|
2920
|
+
(R) => _.some((W) => W.date === R) ? R : l.date
|
|
2911
2921
|
);
|
|
2912
|
-
}, [
|
|
2913
|
-
const
|
|
2914
|
-
() =>
|
|
2915
|
-
[
|
|
2916
|
-
),
|
|
2917
|
-
if (!
|
|
2918
|
-
const l = new Set(
|
|
2919
|
-
return Gn.filter((
|
|
2920
|
-
}, [
|
|
2921
|
-
|
|
2922
|
-
if (!
|
|
2923
|
-
|
|
2922
|
+
}, [_]);
|
|
2923
|
+
const X = Re(
|
|
2924
|
+
() => _.find((l) => l.date === h) ?? null,
|
|
2925
|
+
[_, h]
|
|
2926
|
+
), V = Re(() => {
|
|
2927
|
+
if (!X) return [];
|
|
2928
|
+
const l = new Set(X.slots.map((R) => R.period));
|
|
2929
|
+
return Gn.filter((R) => l.has(R));
|
|
2930
|
+
}, [X]);
|
|
2931
|
+
J(() => {
|
|
2932
|
+
if (!V.length) {
|
|
2933
|
+
j("morning"), T(null);
|
|
2924
2934
|
return;
|
|
2925
2935
|
}
|
|
2926
|
-
|
|
2927
|
-
(l) =>
|
|
2936
|
+
j(
|
|
2937
|
+
(l) => V.includes(l) ? l : V[0]
|
|
2928
2938
|
);
|
|
2929
|
-
}, [
|
|
2930
|
-
const
|
|
2931
|
-
if (
|
|
2932
|
-
if (!
|
|
2933
|
-
|
|
2939
|
+
}, [V]);
|
|
2940
|
+
const D = Re(() => X ? X.slots.filter((l) => l.period === Q) : [], [X, Q]);
|
|
2941
|
+
if (J(() => {
|
|
2942
|
+
if (!D.length) {
|
|
2943
|
+
T(null);
|
|
2934
2944
|
return;
|
|
2935
2945
|
}
|
|
2936
|
-
|
|
2937
|
-
(l) => l &&
|
|
2946
|
+
T(
|
|
2947
|
+
(l) => l && D.some((R) => R.start === l.start) ? l : D[0]
|
|
2938
2948
|
);
|
|
2939
|
-
}, [
|
|
2940
|
-
a &&
|
|
2941
|
-
astrologers_shown:
|
|
2942
|
-
dates_available_count:
|
|
2949
|
+
}, [D]), J(() => {
|
|
2950
|
+
a && _.length && !G.current && (g?.trackSlotScreenViewed?.({
|
|
2951
|
+
astrologers_shown: p.map((l) => l.name),
|
|
2952
|
+
dates_available_count: _.length
|
|
2943
2953
|
}), G.current = !0);
|
|
2944
|
-
}, [a,
|
|
2945
|
-
const
|
|
2946
|
-
|
|
2954
|
+
}, [a, _, p, g]), !a) return null;
|
|
2955
|
+
const I = !!E && !!U, ee = (l) => {
|
|
2956
|
+
P(l), g?.trackSlotDateSelected?.({
|
|
2947
2957
|
date: l,
|
|
2948
|
-
day_part_default:
|
|
2958
|
+
day_part_default: Q
|
|
2949
2959
|
});
|
|
2950
|
-
},
|
|
2951
|
-
|
|
2960
|
+
}, Z = (l) => {
|
|
2961
|
+
j(l), g?.trackDayPartSelected?.({
|
|
2952
2962
|
day_part: l,
|
|
2953
|
-
slots_available_count:
|
|
2963
|
+
slots_available_count: X?.slots.filter((R) => R.period === l).length ?? 0
|
|
2954
2964
|
});
|
|
2955
|
-
},
|
|
2956
|
-
|
|
2957
|
-
date:
|
|
2965
|
+
}, z = (l) => {
|
|
2966
|
+
T(l), g?.trackSlotSelected?.({
|
|
2967
|
+
date: h,
|
|
2958
2968
|
time: vt(l.start),
|
|
2959
2969
|
day_part: l.period,
|
|
2960
|
-
topic: null
|
|
2970
|
+
topic: U || null
|
|
2961
2971
|
});
|
|
2962
|
-
},
|
|
2963
|
-
|
|
2964
|
-
slot_datetime: `${
|
|
2972
|
+
}, ye = () => {
|
|
2973
|
+
E && (g?.trackSlotReservationRequested?.({
|
|
2974
|
+
slot_datetime: `${E.start} - ${E.end}`
|
|
2965
2975
|
}), s({
|
|
2966
|
-
start:
|
|
2967
|
-
end:
|
|
2968
|
-
period:
|
|
2976
|
+
start: E.start,
|
|
2977
|
+
end: E.end,
|
|
2978
|
+
period: E.period,
|
|
2979
|
+
topic: U
|
|
2969
2980
|
}));
|
|
2981
|
+
}, ne = (l) => {
|
|
2982
|
+
k(l), g?.trackGuidanceTopicSelected?.({ topic: l });
|
|
2970
2983
|
};
|
|
2971
2984
|
return /* @__PURE__ */ e.jsx(
|
|
2972
2985
|
"div",
|
|
2973
2986
|
{
|
|
2974
|
-
className:
|
|
2987
|
+
className: y.overlay,
|
|
2975
2988
|
role: "dialog",
|
|
2976
2989
|
"aria-modal": "true",
|
|
2977
|
-
"aria-label":
|
|
2978
|
-
children: /* @__PURE__ */ e.jsxs("div", { className:
|
|
2979
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2990
|
+
"aria-label": m?.("planConsultationSlotTitle") ?? "Select consultation slot",
|
|
2991
|
+
children: /* @__PURE__ */ e.jsxs("div", { className: y.sheet, children: [
|
|
2992
|
+
/* @__PURE__ */ e.jsxs("div", { className: y.header, children: [
|
|
2980
2993
|
/* @__PURE__ */ e.jsx(
|
|
2981
2994
|
"button",
|
|
2982
2995
|
{
|
|
2983
|
-
className:
|
|
2996
|
+
className: y.backBtn,
|
|
2984
2997
|
onClick: o,
|
|
2985
2998
|
"aria-label": "Go back",
|
|
2986
2999
|
type: "button",
|
|
2987
3000
|
children: /* @__PURE__ */ e.jsx(ot, {})
|
|
2988
3001
|
}
|
|
2989
3002
|
),
|
|
2990
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
3003
|
+
/* @__PURE__ */ e.jsx("h2", { className: y.title, children: m?.("planConsultationSlotTitle") ?? "Select consultation slot" })
|
|
2991
3004
|
] }),
|
|
2992
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2993
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2994
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2995
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2996
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2997
|
-
|
|
3005
|
+
/* @__PURE__ */ e.jsxs("div", { className: y.content, children: [
|
|
3006
|
+
/* @__PURE__ */ e.jsx("p", { className: y.subtitle, children: m?.("planAstrologerHeading") ?? "We will assign you a top astrologer" }),
|
|
3007
|
+
/* @__PURE__ */ e.jsx("div", { className: y.astrologerRow, role: "list", children: p.map((l, R) => /* @__PURE__ */ e.jsxs("div", { className: y.astrologerCard, role: "listitem", children: [
|
|
3008
|
+
/* @__PURE__ */ e.jsxs("div", { className: y.astrologerTop, children: [
|
|
3009
|
+
/* @__PURE__ */ e.jsx("div", { className: y.astrologerAvatar, "aria-hidden": !0, children: l.imageUrl && /* @__PURE__ */ e.jsx(
|
|
3010
|
+
C,
|
|
2998
3011
|
{
|
|
2999
3012
|
src: l.imageUrl,
|
|
3000
|
-
alt:
|
|
3013
|
+
alt: m?.(l.name) ?? l.name,
|
|
3001
3014
|
width: 40,
|
|
3002
3015
|
height: 40
|
|
3003
3016
|
}
|
|
3004
3017
|
) }),
|
|
3005
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3006
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3007
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3008
|
-
l.languages && l.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className:
|
|
3018
|
+
/* @__PURE__ */ e.jsxs("div", { className: y.astrologerBasicInfo, children: [
|
|
3019
|
+
/* @__PURE__ */ e.jsx("p", { className: y.astrologerName, children: m?.(l.name) ?? l.name }),
|
|
3020
|
+
/* @__PURE__ */ e.jsx("p", { className: y.astrologerMeta, children: m?.(l.experience) ?? l.experience }),
|
|
3021
|
+
l.languages && l.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: y.astrologerMeta, children: l.languages.join(", ") })
|
|
3009
3022
|
] })
|
|
3010
3023
|
] }),
|
|
3011
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3012
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
3024
|
+
/* @__PURE__ */ e.jsx("div", { className: y.astrologerCertList, children: l.certifications.map((W, ue) => /* @__PURE__ */ e.jsxs("p", { className: y.astrologerCertItem, children: [
|
|
3025
|
+
/* @__PURE__ */ e.jsx("span", { className: y.bullet, children: "•" }),
|
|
3013
3026
|
" ",
|
|
3014
|
-
|
|
3015
|
-
] },
|
|
3016
|
-
] },
|
|
3017
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3018
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3019
|
-
|
|
3027
|
+
m?.(W) ?? W
|
|
3028
|
+
] }, ue)) })
|
|
3029
|
+
] }, R)) }),
|
|
3030
|
+
/* @__PURE__ */ e.jsxs("div", { className: y.trustRow, children: [
|
|
3031
|
+
/* @__PURE__ */ e.jsx("div", { className: y.trustAvatars, "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
3032
|
+
C,
|
|
3020
3033
|
{
|
|
3021
3034
|
src: "https://srm-cdn.a4b.io/yoda/1785317712031.svg",
|
|
3022
3035
|
alt: "",
|
|
@@ -3027,92 +3040,108 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3027
3040
|
loading: "eager"
|
|
3028
3041
|
}
|
|
3029
3042
|
) }),
|
|
3030
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
3043
|
+
/* @__PURE__ */ e.jsx("span", { className: y.trustText, children: m?.("planConsultationTrustLabel") ?? "3,750+ people have booked consultation" })
|
|
3031
3044
|
] }),
|
|
3032
|
-
/* @__PURE__ */ e.jsx("hr", { className:
|
|
3033
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3034
|
-
|
|
3035
|
-
!
|
|
3036
|
-
|
|
3037
|
-
/* @__PURE__ */ e.jsx("button", { type: "button", className:
|
|
3045
|
+
/* @__PURE__ */ e.jsx("hr", { className: y.trustDivider }),
|
|
3046
|
+
/* @__PURE__ */ e.jsx("p", { className: y.sectionHeading, children: m?.("planSelectSlotHeading") ?? "Select consultation slot" }),
|
|
3047
|
+
N && /* @__PURE__ */ e.jsx("p", { className: y.stateMessage, children: m?.("planSlotsLoading") ?? "Loading available slots…" }),
|
|
3048
|
+
!N && O && /* @__PURE__ */ e.jsxs("div", { className: y.stateMessage, children: [
|
|
3049
|
+
m?.("planSlotsLoadError") ?? "Couldn't load slots. Please try again.",
|
|
3050
|
+
/* @__PURE__ */ e.jsx("button", { type: "button", className: y.retryBtn, onClick: B, children: m?.("planRetry") ?? "Retry" })
|
|
3038
3051
|
] }),
|
|
3039
|
-
!
|
|
3040
|
-
!
|
|
3041
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3042
|
-
const
|
|
3052
|
+
!N && !O && _.length === 0 && /* @__PURE__ */ e.jsx("p", { className: y.stateMessage, children: m?.("planNoSlotsAvailable") ?? "No slots available right now." }),
|
|
3053
|
+
!N && !O && _.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3054
|
+
/* @__PURE__ */ e.jsx("div", { className: y.dateTabs, role: "radiogroup", "aria-label": "Consultation date", children: _.map((l) => {
|
|
3055
|
+
const R = l.date === h, { dayLabel: W, dayNum: ue } = Un(l.date);
|
|
3043
3056
|
return /* @__PURE__ */ e.jsxs(Wt, { children: [
|
|
3044
3057
|
/* @__PURE__ */ e.jsxs(
|
|
3045
3058
|
"button",
|
|
3046
3059
|
{
|
|
3047
3060
|
type: "button",
|
|
3048
3061
|
className: [
|
|
3049
|
-
|
|
3050
|
-
|
|
3062
|
+
y.dateTab,
|
|
3063
|
+
R ? y.dateTabSelected : ""
|
|
3051
3064
|
].filter(Boolean).join(" "),
|
|
3052
3065
|
role: "radio",
|
|
3053
|
-
"aria-checked":
|
|
3054
|
-
onClick: () =>
|
|
3066
|
+
"aria-checked": R,
|
|
3067
|
+
onClick: () => ee(l.date),
|
|
3055
3068
|
children: [
|
|
3056
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
3057
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
3069
|
+
/* @__PURE__ */ e.jsx("span", { className: y.dateTabLabel, children: m?.(W) ?? W }),
|
|
3070
|
+
/* @__PURE__ */ e.jsx("span", { className: y.dateTabNum, children: ue })
|
|
3058
3071
|
]
|
|
3059
3072
|
}
|
|
3060
3073
|
),
|
|
3061
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
3074
|
+
/* @__PURE__ */ e.jsx("span", { className: y.dateTabDivider, "aria-hidden": !0 })
|
|
3062
3075
|
] }, l.date);
|
|
3063
3076
|
}) }),
|
|
3064
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3065
|
-
const
|
|
3077
|
+
/* @__PURE__ */ e.jsx("div", { className: y.periodTabs, role: "tablist", "aria-label": "Time of day", children: V.map((l) => {
|
|
3078
|
+
const R = Io[l];
|
|
3066
3079
|
return /* @__PURE__ */ e.jsxs(
|
|
3067
3080
|
"button",
|
|
3068
3081
|
{
|
|
3069
3082
|
type: "button",
|
|
3070
3083
|
className: [
|
|
3071
|
-
|
|
3072
|
-
l ===
|
|
3084
|
+
y.periodTab,
|
|
3085
|
+
l === Q ? y.periodTabSelected : ""
|
|
3073
3086
|
].filter(Boolean).join(" "),
|
|
3074
3087
|
role: "tab",
|
|
3075
|
-
"aria-selected": l ===
|
|
3076
|
-
onClick: () =>
|
|
3088
|
+
"aria-selected": l === Q,
|
|
3089
|
+
onClick: () => Z(l),
|
|
3077
3090
|
children: [
|
|
3078
|
-
/* @__PURE__ */ e.jsx(
|
|
3079
|
-
|
|
3091
|
+
/* @__PURE__ */ e.jsx(R, {}),
|
|
3092
|
+
m?.(Lo[l]) ?? l.charAt(0).toUpperCase() + l.slice(1)
|
|
3080
3093
|
]
|
|
3081
3094
|
},
|
|
3082
3095
|
l
|
|
3083
3096
|
);
|
|
3084
3097
|
}) }),
|
|
3085
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3098
|
+
/* @__PURE__ */ e.jsx("div", { className: y.timeGrid, role: "radiogroup", "aria-label": "Consultation time", children: D.map((l, R) => /* @__PURE__ */ e.jsx(
|
|
3086
3099
|
"button",
|
|
3087
3100
|
{
|
|
3088
3101
|
type: "button",
|
|
3089
3102
|
className: [
|
|
3090
|
-
|
|
3091
|
-
|
|
3103
|
+
y.timeSlot,
|
|
3104
|
+
E?.start === l.start ? y.timeSlotSelected : ""
|
|
3092
3105
|
].filter(Boolean).join(" "),
|
|
3093
3106
|
role: "radio",
|
|
3094
|
-
"aria-checked":
|
|
3095
|
-
onClick: () =>
|
|
3107
|
+
"aria-checked": E?.start === l.start,
|
|
3108
|
+
onClick: () => z(l),
|
|
3096
3109
|
children: vt(l.start)
|
|
3097
3110
|
},
|
|
3098
|
-
`${l.start}-${
|
|
3111
|
+
`${l.start}-${R}`
|
|
3099
3112
|
)) })
|
|
3100
|
-
] })
|
|
3113
|
+
] }),
|
|
3114
|
+
/* @__PURE__ */ e.jsx("p", { className: y.sectionHeading, children: m?.("planGuidanceHeading") ?? "What would you like guidance on?" }),
|
|
3115
|
+
/* @__PURE__ */ e.jsx("div", { className: y.topicGrid, role: "radiogroup", "aria-label": "Guidance topic", children: qn.map((l) => /* @__PURE__ */ e.jsx(
|
|
3116
|
+
"button",
|
|
3117
|
+
{
|
|
3118
|
+
type: "button",
|
|
3119
|
+
className: [
|
|
3120
|
+
y.topicChip,
|
|
3121
|
+
U === l.id ? y.topicChipSelected : ""
|
|
3122
|
+
].filter(Boolean).join(" "),
|
|
3123
|
+
role: "radio",
|
|
3124
|
+
"aria-checked": U === l.id,
|
|
3125
|
+
onClick: () => ne(l.id),
|
|
3126
|
+
children: m?.(l.labelKey) ?? l.label
|
|
3127
|
+
},
|
|
3128
|
+
l.id
|
|
3129
|
+
)) })
|
|
3101
3130
|
] }),
|
|
3102
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3131
|
+
/* @__PURE__ */ e.jsx("div", { className: y.footer, children: /* @__PURE__ */ e.jsx(
|
|
3103
3132
|
"button",
|
|
3104
3133
|
{
|
|
3105
3134
|
type: "button",
|
|
3106
|
-
className: [
|
|
3107
|
-
disabled: !
|
|
3108
|
-
onClick:
|
|
3109
|
-
children:
|
|
3135
|
+
className: [y.proceedBtn, I ? "" : y.proceedBtnDisabled].filter(Boolean).join(" "),
|
|
3136
|
+
disabled: !I,
|
|
3137
|
+
onClick: ye,
|
|
3138
|
+
children: m?.("planProceedToPayment") ?? "Proceed to payment"
|
|
3110
3139
|
}
|
|
3111
3140
|
) })
|
|
3112
3141
|
] })
|
|
3113
3142
|
}
|
|
3114
3143
|
);
|
|
3115
|
-
},
|
|
3144
|
+
}, Do = [
|
|
3116
3145
|
{
|
|
3117
3146
|
id: "jyoti",
|
|
3118
3147
|
name: "planAstrologerNameJyoti",
|
|
@@ -3140,7 +3169,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3140
3169
|
experience: "planAstrologerExpNeeraj",
|
|
3141
3170
|
certifications: ["planAstrologerCertBhuCertified", "planAstrologerCertMantraRudraksha"]
|
|
3142
3171
|
}
|
|
3143
|
-
],
|
|
3172
|
+
], Fo = (a) => [
|
|
3144
3173
|
{
|
|
3145
3174
|
id: "kundli-report",
|
|
3146
3175
|
title: "planNameBasic",
|
|
@@ -3166,48 +3195,48 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3166
3195
|
{ text: "planFeatureRealTimeAnswers", included: !0 },
|
|
3167
3196
|
{ text: "planFeatureTailoredRemedies", included: !0 }
|
|
3168
3197
|
],
|
|
3169
|
-
astrologers:
|
|
3198
|
+
astrologers: Do.filter(
|
|
3170
3199
|
(o) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(o.id)
|
|
3171
3200
|
)
|
|
3172
3201
|
}
|
|
3173
|
-
],
|
|
3202
|
+
], Oo = ({
|
|
3174
3203
|
isOpen: a,
|
|
3175
3204
|
onClose: o,
|
|
3176
3205
|
selectedPlan: s,
|
|
3177
|
-
onSelectPlan:
|
|
3178
|
-
plans:
|
|
3179
|
-
onProceed:
|
|
3206
|
+
onSelectPlan: p,
|
|
3207
|
+
plans: m,
|
|
3208
|
+
onProceed: g,
|
|
3180
3209
|
t: f,
|
|
3181
|
-
analytics:
|
|
3182
|
-
enableConsultationScheduling:
|
|
3210
|
+
analytics: C,
|
|
3211
|
+
enableConsultationScheduling: w
|
|
3183
3212
|
}) => {
|
|
3184
|
-
const
|
|
3185
|
-
|
|
3213
|
+
const q = Ee(), F = q?.config.isGlobal ?? !0, N = w ?? q?.config.enableConsultationScheduling ?? !1, u = m ?? Fo(F), O = s?.id || u.find((j) => j.badge)?.id || u[0]?.id || "", v = H(null), U = H(null), k = H(!1), [h, P] = M(!1);
|
|
3214
|
+
J(() => {
|
|
3186
3215
|
if (a) {
|
|
3187
3216
|
if (!s) {
|
|
3188
|
-
const
|
|
3189
|
-
|
|
3217
|
+
const j = u.find((E) => E.badge) ?? u[0];
|
|
3218
|
+
j && p(j);
|
|
3190
3219
|
}
|
|
3191
|
-
|
|
3192
|
-
plans_shown: u.map((
|
|
3193
|
-
default_selected_plan: s?.id || u.find((
|
|
3194
|
-
}),
|
|
3220
|
+
k.current || (C?.trackPlanPageViewed?.(), N && C?.trackPlanScreenViewed?.({
|
|
3221
|
+
plans_shown: u.map((j) => j.id),
|
|
3222
|
+
default_selected_plan: s?.id || u.find((j) => j.badge)?.id || u[0]?.id || ""
|
|
3223
|
+
}), k.current = !0);
|
|
3195
3224
|
} else
|
|
3196
|
-
|
|
3197
|
-
}, [a, u, s,
|
|
3198
|
-
const
|
|
3199
|
-
|
|
3225
|
+
k.current = !1;
|
|
3226
|
+
}, [a, u, s, p, C]);
|
|
3227
|
+
const Q = () => {
|
|
3228
|
+
C?.trackPlanPageClosed?.(), o();
|
|
3200
3229
|
};
|
|
3201
|
-
return
|
|
3230
|
+
return J(() => {
|
|
3202
3231
|
if (!a) return;
|
|
3203
|
-
const
|
|
3232
|
+
const j = document.body.style.overflow;
|
|
3204
3233
|
return document.body.style.overflow = "hidden", () => {
|
|
3205
|
-
document.body.style.overflow =
|
|
3234
|
+
document.body.style.overflow = j;
|
|
3206
3235
|
};
|
|
3207
3236
|
}, [a]), a ? /* @__PURE__ */ e.jsxs(
|
|
3208
3237
|
"div",
|
|
3209
3238
|
{
|
|
3210
|
-
className:
|
|
3239
|
+
className: x.overlay,
|
|
3211
3240
|
role: "dialog",
|
|
3212
3241
|
"aria-modal": "true",
|
|
3213
3242
|
"aria-label": f?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
@@ -3216,69 +3245,69 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3216
3245
|
"div",
|
|
3217
3246
|
{
|
|
3218
3247
|
ref: v,
|
|
3219
|
-
className:
|
|
3248
|
+
className: N ? x.sheetFullScreen : x.sheet,
|
|
3220
3249
|
children: [
|
|
3221
|
-
|
|
3250
|
+
N ? /* @__PURE__ */ e.jsxs("div", { className: x.headerFull, children: [
|
|
3222
3251
|
/* @__PURE__ */ e.jsx(
|
|
3223
3252
|
"button",
|
|
3224
3253
|
{
|
|
3225
|
-
className:
|
|
3226
|
-
onClick:
|
|
3254
|
+
className: x.backBtn,
|
|
3255
|
+
onClick: Q,
|
|
3227
3256
|
"aria-label": "Go back",
|
|
3228
3257
|
type: "button",
|
|
3229
3258
|
children: /* @__PURE__ */ e.jsx(ot, {})
|
|
3230
3259
|
}
|
|
3231
3260
|
),
|
|
3232
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
3261
|
+
/* @__PURE__ */ e.jsx("h2", { className: x.titleFull, children: f?.("planSheetTitle") ?? "Choose Your Kundli Plan" })
|
|
3233
3262
|
] }) : /* @__PURE__ */ e.jsx(
|
|
3234
3263
|
Dn,
|
|
3235
3264
|
{
|
|
3236
3265
|
title: f?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
3237
|
-
onBack:
|
|
3266
|
+
onBack: Q
|
|
3238
3267
|
}
|
|
3239
3268
|
),
|
|
3240
3269
|
/* @__PURE__ */ e.jsx(
|
|
3241
3270
|
"div",
|
|
3242
3271
|
{
|
|
3243
|
-
ref:
|
|
3244
|
-
className:
|
|
3272
|
+
ref: U,
|
|
3273
|
+
className: x.plansContainer,
|
|
3245
3274
|
role: "radiogroup",
|
|
3246
3275
|
"aria-label": "Kundli plans",
|
|
3247
|
-
children: u.map((
|
|
3276
|
+
children: u.map((j) => /* @__PURE__ */ e.jsx(
|
|
3248
3277
|
$n,
|
|
3249
3278
|
{
|
|
3250
|
-
plan:
|
|
3251
|
-
isSelected:
|
|
3279
|
+
plan: j,
|
|
3280
|
+
isSelected: j.id === O,
|
|
3252
3281
|
t: f,
|
|
3253
|
-
onSelect: (
|
|
3254
|
-
const
|
|
3255
|
-
|
|
3256
|
-
planId:
|
|
3257
|
-
planName:
|
|
3258
|
-
...
|
|
3259
|
-
price:
|
|
3260
|
-
includes_consultation: !!(
|
|
3261
|
-
cta_label:
|
|
3282
|
+
onSelect: (E) => {
|
|
3283
|
+
const T = u.find((G) => G.id === E);
|
|
3284
|
+
T && (C?.trackPlanSelected?.({
|
|
3285
|
+
planId: T.id,
|
|
3286
|
+
planName: T.title,
|
|
3287
|
+
...N ? {
|
|
3288
|
+
price: T.price,
|
|
3289
|
+
includes_consultation: !!(T.astrologers && T.astrologers.length > 0),
|
|
3290
|
+
cta_label: T.astrologers && T.astrologers.length > 0 ? f?.("planSelectConsultationSlot") ?? "Select consultation slot →" : f?.("planProceedToPayment") ?? "Proceed to Payment"
|
|
3262
3291
|
} : {}
|
|
3263
|
-
}),
|
|
3292
|
+
}), p(T));
|
|
3264
3293
|
}
|
|
3265
3294
|
},
|
|
3266
|
-
|
|
3295
|
+
j.id
|
|
3267
3296
|
))
|
|
3268
3297
|
}
|
|
3269
3298
|
),
|
|
3270
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3299
|
+
/* @__PURE__ */ e.jsx("div", { className: x.footer, children: /* @__PURE__ */ e.jsx(
|
|
3271
3300
|
"button",
|
|
3272
3301
|
{
|
|
3273
|
-
className:
|
|
3302
|
+
className: x.proceedBtn,
|
|
3274
3303
|
disabled: !s,
|
|
3275
3304
|
onClick: () => {
|
|
3276
3305
|
if (s) {
|
|
3277
|
-
if (
|
|
3278
|
-
|
|
3306
|
+
if (N && s.astrologers && s.astrologers.length > 0) {
|
|
3307
|
+
C?.trackSelectConsultationSlotClicked?.({
|
|
3279
3308
|
planId: s.id,
|
|
3280
3309
|
planName: s.title
|
|
3281
|
-
}),
|
|
3310
|
+
}), C?.trackPlanProceedClicked?.({
|
|
3282
3311
|
planId: s.id,
|
|
3283
3312
|
planName: s.title,
|
|
3284
3313
|
cta_type: "confirm_consultation_slot",
|
|
@@ -3286,39 +3315,39 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3286
3315
|
}), P(!0);
|
|
3287
3316
|
return;
|
|
3288
3317
|
}
|
|
3289
|
-
|
|
3318
|
+
C?.trackPlanProceedClicked?.({
|
|
3290
3319
|
planId: s.id,
|
|
3291
3320
|
planName: s.title,
|
|
3292
|
-
...
|
|
3293
|
-
}),
|
|
3321
|
+
...N ? { cta_type: "proceed", next_step: "payment" } : {}
|
|
3322
|
+
}), g(s), o();
|
|
3294
3323
|
}
|
|
3295
3324
|
},
|
|
3296
|
-
children: s ?
|
|
3325
|
+
children: s ? N && s.astrologers && s.astrologers.length > 0 ? f?.("planSelectConsultationSlot") ?? "Select consultation slot →" : f?.("planProceedToPayment") ?? s.price + "Proceed to Payment" : "Select a plan"
|
|
3297
3326
|
}
|
|
3298
3327
|
) })
|
|
3299
3328
|
]
|
|
3300
3329
|
}
|
|
3301
3330
|
),
|
|
3302
|
-
|
|
3303
|
-
|
|
3331
|
+
N && s?.astrologers && s.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
|
|
3332
|
+
Bo,
|
|
3304
3333
|
{
|
|
3305
3334
|
isOpen: h,
|
|
3306
3335
|
onClose: () => P(!1),
|
|
3307
3336
|
astrologers: s.astrologers,
|
|
3308
3337
|
t: f,
|
|
3309
|
-
analytics:
|
|
3310
|
-
onProceed: (
|
|
3311
|
-
|
|
3338
|
+
analytics: C,
|
|
3339
|
+
onProceed: (j) => {
|
|
3340
|
+
C?.trackPlanProceedClicked?.({
|
|
3312
3341
|
planId: s.id,
|
|
3313
3342
|
planName: s.title
|
|
3314
|
-
}),
|
|
3343
|
+
}), g(s, j), P(!1), o();
|
|
3315
3344
|
}
|
|
3316
3345
|
}
|
|
3317
3346
|
)
|
|
3318
3347
|
]
|
|
3319
3348
|
}
|
|
3320
3349
|
) : null;
|
|
3321
|
-
},
|
|
3350
|
+
}, Mo = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", $o = (a, o) => wt[a]?.[o] ?? o, Uo = (a, o) => a && et.includes(a) ? a : o ? "+1" : "+91", Go = {
|
|
3322
3351
|
fullName: "",
|
|
3323
3352
|
phone: "",
|
|
3324
3353
|
phoneCountryCode: "",
|
|
@@ -3329,109 +3358,109 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3329
3358
|
birthTime: "",
|
|
3330
3359
|
birthTimeUnknown: !1,
|
|
3331
3360
|
birthPlace: ""
|
|
3332
|
-
},
|
|
3361
|
+
}, Jo = ({
|
|
3333
3362
|
className: a = "",
|
|
3334
3363
|
locale: o,
|
|
3335
3364
|
showLanguageSelector: s = !0,
|
|
3336
|
-
onBack:
|
|
3337
|
-
initialValues:
|
|
3338
|
-
onProceed:
|
|
3365
|
+
onBack: p,
|
|
3366
|
+
initialValues: m,
|
|
3367
|
+
onProceed: g,
|
|
3339
3368
|
onProceedGuidance: f,
|
|
3340
|
-
proceedHref:
|
|
3341
|
-
originalPriceLabel:
|
|
3342
|
-
discountedPriceLabel:
|
|
3343
|
-
googleMapsApiKey:
|
|
3344
|
-
atlasSearchLocalities:
|
|
3369
|
+
proceedHref: C,
|
|
3370
|
+
originalPriceLabel: w,
|
|
3371
|
+
discountedPriceLabel: q,
|
|
3372
|
+
googleMapsApiKey: F = "",
|
|
3373
|
+
atlasSearchLocalities: N,
|
|
3345
3374
|
googleMapsAutocompleteEnabled: u,
|
|
3346
|
-
analytics:
|
|
3375
|
+
analytics: O
|
|
3347
3376
|
}) => {
|
|
3348
|
-
const v = Ee(),
|
|
3377
|
+
const v = Ee(), U = ca(), k = v !== null, h = k ? v.locale : o, P = h ?? U?.locale ?? "en", [Q, j] = M(P), E = k ? v.locale : Q, T = k ? v.setLocale : j, [G, _] = M(!1), B = H(null), X = H(
|
|
3349
3378
|
h
|
|
3350
|
-
),
|
|
3351
|
-
|
|
3379
|
+
), V = H(
|
|
3380
|
+
U?.locale
|
|
3352
3381
|
);
|
|
3353
|
-
|
|
3382
|
+
J(() => {
|
|
3354
3383
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
3355
3384
|
}, []);
|
|
3356
|
-
const
|
|
3357
|
-
|
|
3358
|
-
h && X.current !== h &&
|
|
3359
|
-
}, [h,
|
|
3385
|
+
const D = (S) => $o(E, S);
|
|
3386
|
+
J(() => {
|
|
3387
|
+
h && X.current !== h && T(h), X.current = h;
|
|
3388
|
+
}, [h, T]), J(() => {
|
|
3360
3389
|
if (h) return;
|
|
3361
|
-
const
|
|
3362
|
-
|
|
3363
|
-
}, [
|
|
3364
|
-
const [I,
|
|
3365
|
-
...
|
|
3366
|
-
...
|
|
3367
|
-
phone:
|
|
3368
|
-
}),
|
|
3369
|
-
() =>
|
|
3370
|
-
),
|
|
3371
|
-
!!(
|
|
3372
|
-
),
|
|
3373
|
-
|
|
3374
|
-
}, []),
|
|
3375
|
-
|
|
3376
|
-
if (
|
|
3377
|
-
|
|
3390
|
+
const S = U?.locale;
|
|
3391
|
+
S && V.current !== S && T(S), V.current = S;
|
|
3392
|
+
}, [U?.locale, h, T]);
|
|
3393
|
+
const [I, ee] = M({
|
|
3394
|
+
...Go,
|
|
3395
|
+
...m,
|
|
3396
|
+
phone: m?.phone ?? ""
|
|
3397
|
+
}), Z = k ? v?.config.isGlobal ?? !0 : !0, z = k ? v.formValues : I, ye = k ? v.setFormValues : ee, [ne, l] = M(
|
|
3398
|
+
() => Uo(z.phoneCountryCode, Z)
|
|
3399
|
+
), R = H(
|
|
3400
|
+
!!(z.phoneCountryCode && et.includes(z.phoneCountryCode))
|
|
3401
|
+
), W = H(!1), ue = be((S) => {
|
|
3402
|
+
W.current = !0, l(S);
|
|
3403
|
+
}, []), ve = H(!0);
|
|
3404
|
+
J(() => {
|
|
3405
|
+
if (ve.current) {
|
|
3406
|
+
ve.current = !1;
|
|
3378
3407
|
return;
|
|
3379
3408
|
}
|
|
3380
|
-
|
|
3381
|
-
}, [
|
|
3382
|
-
if (!
|
|
3383
|
-
const
|
|
3384
|
-
|
|
3385
|
-
}, [
|
|
3386
|
-
const je =
|
|
3387
|
-
|
|
3388
|
-
if (!
|
|
3389
|
-
const
|
|
3390
|
-
|
|
3409
|
+
R.current || W.current || l(Z ? "+1" : "+91");
|
|
3410
|
+
}, [Z]), J(() => {
|
|
3411
|
+
if (!k || W.current) return;
|
|
3412
|
+
const S = z.phoneCountryCode;
|
|
3413
|
+
S && et.includes(S) && S !== ne && (R.current = !0, l(S));
|
|
3414
|
+
}, [k, z.phoneCountryCode]);
|
|
3415
|
+
const je = k ? v.goToPage : p, he = k ? v.onProceed : g, te = k ? v.onProceedGuidance : f, pe = k ? v.config.proceedHref : C, me = k ? v.config.originalPriceLabel : w, ce = k ? v.config.discountedPriceLabel : q, oe = k ? v.config.showLanguageSelector ?? !0 : s, ke = (k ? v?.config?.analytics : O) ?? O;
|
|
3416
|
+
J(() => {
|
|
3417
|
+
if (!G) return;
|
|
3418
|
+
const S = (Be) => {
|
|
3419
|
+
B.current && !B.current.contains(Be.target) && _(!1);
|
|
3391
3420
|
};
|
|
3392
|
-
return document.addEventListener("mousedown",
|
|
3393
|
-
}, [
|
|
3394
|
-
const [Se,
|
|
3395
|
-
|
|
3396
|
-
}, []),
|
|
3397
|
-
|
|
3398
|
-
if (
|
|
3421
|
+
return document.addEventListener("mousedown", S), () => document.removeEventListener("mousedown", S);
|
|
3422
|
+
}, [G]);
|
|
3423
|
+
const [Se, ie] = M(!1), [le, Te] = M(null), xe = H(null), fe = be((S) => {
|
|
3424
|
+
xe.current = S, ie(!0);
|
|
3425
|
+
}, []), we = H(!1);
|
|
3426
|
+
J(() => {
|
|
3427
|
+
if (we.current || !k || !v?.config.autoOpenPlanSheet || v?.config.variant !== "v1")
|
|
3399
3428
|
return;
|
|
3400
|
-
|
|
3401
|
-
const
|
|
3429
|
+
we.current = !0;
|
|
3430
|
+
const S = (z.phone ?? "").trim();
|
|
3402
3431
|
fe({
|
|
3403
|
-
...
|
|
3404
|
-
phone:
|
|
3432
|
+
...z,
|
|
3433
|
+
phone: S && `${ne}-${S}`
|
|
3405
3434
|
});
|
|
3406
|
-
}, [
|
|
3407
|
-
const
|
|
3408
|
-
if (!
|
|
3409
|
-
|
|
3410
|
-
planId:
|
|
3411
|
-
planName:
|
|
3412
|
-
price:
|
|
3413
|
-
currency:
|
|
3435
|
+
}, [k, v?.config.autoOpenPlanSheet, v?.config.variant, z, ne, fe]);
|
|
3436
|
+
const Ce = be(() => {
|
|
3437
|
+
if (!xe.current || !le) return;
|
|
3438
|
+
ke?.trackPlanProceedClicked?.({
|
|
3439
|
+
planId: le.id,
|
|
3440
|
+
planName: le.title,
|
|
3441
|
+
price: le.price,
|
|
3442
|
+
currency: Z ? "USD" : "INR"
|
|
3414
3443
|
});
|
|
3415
|
-
const
|
|
3416
|
-
|
|
3417
|
-
}, [
|
|
3444
|
+
const S = { ...xe.current, _selectedPlan: le };
|
|
3445
|
+
le.id === jt && te ? te(S) : he?.(S), ie(!1), xe.current = null;
|
|
3446
|
+
}, [le, he, te]), Ie = v?.config.imageComponent ?? He, Le = oe ? /* @__PURE__ */ e.jsxs("div", { className: Pe.langDropdownWrap, ref: B, children: [
|
|
3418
3447
|
/* @__PURE__ */ e.jsxs(
|
|
3419
3448
|
"button",
|
|
3420
3449
|
{
|
|
3421
3450
|
type: "button",
|
|
3422
3451
|
className: Pe.langTrigger,
|
|
3423
3452
|
onClick: () => {
|
|
3424
|
-
|
|
3453
|
+
ke?.trackLanguageClickedFe?.({ language: E }), _((S) => !S);
|
|
3425
3454
|
},
|
|
3426
|
-
"aria-expanded":
|
|
3455
|
+
"aria-expanded": G,
|
|
3427
3456
|
"aria-haspopup": "listbox",
|
|
3428
3457
|
id: "kundli-form-lang",
|
|
3429
|
-
"aria-label":
|
|
3458
|
+
"aria-label": D("language"),
|
|
3430
3459
|
children: [
|
|
3431
3460
|
/* @__PURE__ */ e.jsx(
|
|
3432
3461
|
Ie,
|
|
3433
3462
|
{
|
|
3434
|
-
src:
|
|
3463
|
+
src: Mo,
|
|
3435
3464
|
alt: "",
|
|
3436
3465
|
className: Pe.langIcon,
|
|
3437
3466
|
width: 16,
|
|
@@ -3439,30 +3468,30 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3439
3468
|
loading: "eager"
|
|
3440
3469
|
}
|
|
3441
3470
|
),
|
|
3442
|
-
/* @__PURE__ */ e.jsx("span", { className: Pe.langLabel, children: gt[
|
|
3471
|
+
/* @__PURE__ */ e.jsx("span", { className: Pe.langLabel, children: gt[E] })
|
|
3443
3472
|
]
|
|
3444
3473
|
}
|
|
3445
3474
|
),
|
|
3446
|
-
|
|
3475
|
+
G && /* @__PURE__ */ e.jsx(
|
|
3447
3476
|
"ul",
|
|
3448
3477
|
{
|
|
3449
3478
|
className: Pe.langMenu,
|
|
3450
3479
|
role: "listbox",
|
|
3451
3480
|
"aria-labelledby": "kundli-form-lang",
|
|
3452
|
-
"aria-activedescendant": `kundli-form-lang-option-${
|
|
3453
|
-
children: xt.map((
|
|
3481
|
+
"aria-activedescendant": `kundli-form-lang-option-${E}`,
|
|
3482
|
+
children: xt.map((S) => /* @__PURE__ */ e.jsx(
|
|
3454
3483
|
"li",
|
|
3455
3484
|
{
|
|
3456
|
-
id: `kundli-form-lang-option-${
|
|
3485
|
+
id: `kundli-form-lang-option-${S}`,
|
|
3457
3486
|
role: "option",
|
|
3458
|
-
"aria-selected":
|
|
3487
|
+
"aria-selected": S === E,
|
|
3459
3488
|
className: Pe.langOption,
|
|
3460
3489
|
onClick: () => {
|
|
3461
|
-
|
|
3490
|
+
ke?.trackLanguageChangedFe?.({ newLanguage: S }), T(S), _(!1);
|
|
3462
3491
|
},
|
|
3463
|
-
children: gt[
|
|
3492
|
+
children: gt[S]
|
|
3464
3493
|
},
|
|
3465
|
-
|
|
3494
|
+
S
|
|
3466
3495
|
))
|
|
3467
3496
|
}
|
|
3468
3497
|
)
|
|
@@ -3471,65 +3500,65 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3471
3500
|
/* @__PURE__ */ e.jsx(
|
|
3472
3501
|
Or,
|
|
3473
3502
|
{
|
|
3474
|
-
t:
|
|
3475
|
-
logoUrl:
|
|
3503
|
+
t: D,
|
|
3504
|
+
logoUrl: k ? v.config.logoUrl : void 0,
|
|
3476
3505
|
languageSelector: Le,
|
|
3477
3506
|
className: Pe.kundliHeaderNoBorder
|
|
3478
3507
|
}
|
|
3479
3508
|
),
|
|
3480
3509
|
/* @__PURE__ */ e.jsx("div", { className: Pe.headerSeparator, "aria-hidden": !0 }),
|
|
3481
3510
|
/* @__PURE__ */ e.jsxs("main", { className: Pe.main, children: [
|
|
3482
|
-
/* @__PURE__ */ e.jsx(_a, { t:
|
|
3511
|
+
/* @__PURE__ */ e.jsx(_a, { t: D, onBack: je }),
|
|
3483
3512
|
/* @__PURE__ */ e.jsx(
|
|
3484
3513
|
wr,
|
|
3485
3514
|
{
|
|
3486
|
-
t:
|
|
3487
|
-
values:
|
|
3488
|
-
onChange:
|
|
3489
|
-
googleMapsApiKey:
|
|
3490
|
-
atlasSearchLocalities:
|
|
3515
|
+
t: D,
|
|
3516
|
+
values: z,
|
|
3517
|
+
onChange: ye,
|
|
3518
|
+
googleMapsApiKey: F,
|
|
3519
|
+
atlasSearchLocalities: N,
|
|
3491
3520
|
googleMapsAutocompleteEnabled: u,
|
|
3492
|
-
phoneIsdCode:
|
|
3493
|
-
onPhoneIsdCodeChange:
|
|
3494
|
-
showV1ExtraFields:
|
|
3495
|
-
analytics:
|
|
3521
|
+
phoneIsdCode: ne,
|
|
3522
|
+
onPhoneIsdCodeChange: ue,
|
|
3523
|
+
showV1ExtraFields: k ? v?.config.variant === "v1" : !1,
|
|
3524
|
+
analytics: ke
|
|
3496
3525
|
}
|
|
3497
3526
|
)
|
|
3498
3527
|
] }),
|
|
3499
3528
|
/* @__PURE__ */ e.jsx(
|
|
3500
3529
|
Dr,
|
|
3501
3530
|
{
|
|
3502
|
-
t:
|
|
3503
|
-
values:
|
|
3504
|
-
phoneIsdCode:
|
|
3531
|
+
t: D,
|
|
3532
|
+
values: z,
|
|
3533
|
+
phoneIsdCode: ne,
|
|
3505
3534
|
onProceed: he,
|
|
3506
|
-
onProceedGuidance:
|
|
3507
|
-
href:
|
|
3508
|
-
originalPriceLabel:
|
|
3509
|
-
discountedPriceLabel:
|
|
3510
|
-
analytics:
|
|
3535
|
+
onProceedGuidance: te,
|
|
3536
|
+
href: pe,
|
|
3537
|
+
originalPriceLabel: me,
|
|
3538
|
+
discountedPriceLabel: ce,
|
|
3539
|
+
analytics: ke,
|
|
3511
3540
|
showPlanSheet: fe,
|
|
3512
|
-
confirmPlan:
|
|
3541
|
+
confirmPlan: Ce,
|
|
3513
3542
|
planSheetOpen: Se,
|
|
3514
|
-
selectedPlan:
|
|
3543
|
+
selectedPlan: le
|
|
3515
3544
|
}
|
|
3516
3545
|
),
|
|
3517
3546
|
v?.config.variant === "v1" && /* @__PURE__ */ e.jsx(
|
|
3518
|
-
|
|
3547
|
+
Oo,
|
|
3519
3548
|
{
|
|
3520
3549
|
isOpen: Se,
|
|
3521
|
-
onClose: () =>
|
|
3522
|
-
selectedPlan:
|
|
3550
|
+
onClose: () => ie(!1),
|
|
3551
|
+
selectedPlan: le,
|
|
3523
3552
|
onSelectPlan: Te,
|
|
3524
3553
|
onProceed: () => {
|
|
3525
|
-
|
|
3554
|
+
Ce?.();
|
|
3526
3555
|
},
|
|
3527
|
-
t:
|
|
3528
|
-
analytics:
|
|
3556
|
+
t: D,
|
|
3557
|
+
analytics: ke
|
|
3529
3558
|
}
|
|
3530
3559
|
)
|
|
3531
3560
|
] });
|
|
3532
|
-
},
|
|
3561
|
+
}, Qo = {
|
|
3533
3562
|
banner_clicked_fe: "banner_clicked_fe",
|
|
3534
3563
|
primary_cta_clicked_fe: "primary_cta_clicked_fe",
|
|
3535
3564
|
language_changed_fe: "language_changed_fe",
|
|
@@ -3602,34 +3631,34 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3602
3631
|
kundli_view_sample_image_closed: "kundli_view_sample_image_closed"
|
|
3603
3632
|
};
|
|
3604
3633
|
export {
|
|
3605
|
-
|
|
3634
|
+
Bo as C,
|
|
3606
3635
|
He as D,
|
|
3607
3636
|
_a as F,
|
|
3608
|
-
|
|
3609
|
-
|
|
3637
|
+
Ko as I,
|
|
3638
|
+
Qo as K,
|
|
3610
3639
|
gt as L,
|
|
3611
3640
|
jt as P,
|
|
3612
3641
|
xt as S,
|
|
3613
3642
|
wr as U,
|
|
3614
|
-
|
|
3643
|
+
Pt as a,
|
|
3615
3644
|
rt as b,
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3645
|
+
Jo as c,
|
|
3646
|
+
Vo as d,
|
|
3647
|
+
pa as e,
|
|
3648
|
+
ma as f,
|
|
3620
3649
|
da as g,
|
|
3621
3650
|
Ee as h,
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3651
|
+
Yo as i,
|
|
3652
|
+
zo as j,
|
|
3653
|
+
Fo as k,
|
|
3625
3654
|
e as l,
|
|
3626
3655
|
Or as m,
|
|
3627
3656
|
ot as n,
|
|
3628
3657
|
Dr as o,
|
|
3629
|
-
|
|
3630
|
-
|
|
3658
|
+
Oo as p,
|
|
3659
|
+
Ho as r,
|
|
3631
3660
|
ua as s,
|
|
3632
3661
|
wt as t,
|
|
3633
3662
|
ca as u
|
|
3634
3663
|
};
|
|
3635
|
-
//# sourceMappingURL=analytics-
|
|
3664
|
+
//# sourceMappingURL=analytics-DXDIkF48.js.map
|