kundli-generator 3.0.5 → 3.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/kundli-generator.js
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Tt, { createContext as At, useContext as Ve, useState as H, useRef as K, useEffect as G, useMemo as Fe, useCallback as Pe } from "react";
|
|
2
2
|
import * as Ye from "pdfjs-dist";
|
|
3
3
|
var Oe = { exports: {} }, Ie = {};
|
|
4
|
-
var
|
|
5
|
-
function
|
|
6
|
-
if (
|
|
7
|
-
|
|
8
|
-
var
|
|
4
|
+
var ht;
|
|
5
|
+
function oa() {
|
|
6
|
+
if (ht) return Ie;
|
|
7
|
+
ht = 1;
|
|
8
|
+
var a = Tt, n = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, o = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9
9
|
function f(u, c, b) {
|
|
10
|
-
var
|
|
11
|
-
b !== void 0 && (x = "" + b), c.key !== void 0 && (x = "" + c.key), c.ref !== void 0 && (
|
|
12
|
-
for (
|
|
13
|
-
if (u && u.defaultProps) for (
|
|
14
|
-
return { $$typeof:
|
|
10
|
+
var h, _ = {}, x = null, E = null;
|
|
11
|
+
b !== void 0 && (x = "" + b), c.key !== void 0 && (x = "" + c.key), c.ref !== void 0 && (E = c.ref);
|
|
12
|
+
for (h in c) d.call(c, h) && !p.hasOwnProperty(h) && (_[h] = c[h]);
|
|
13
|
+
if (u && u.defaultProps) for (h in c = u.defaultProps, c) _[h] === void 0 && (_[h] = c[h]);
|
|
14
|
+
return { $$typeof: n, type: u, key: x, ref: E, props: _, _owner: o.current };
|
|
15
15
|
}
|
|
16
16
|
return Ie.Fragment = l, Ie.jsx = f, Ie.jsxs = f, Ie;
|
|
17
17
|
}
|
|
18
18
|
var Ce = {};
|
|
19
|
-
var
|
|
20
|
-
function
|
|
21
|
-
return
|
|
22
|
-
var
|
|
19
|
+
var pt;
|
|
20
|
+
function ca() {
|
|
21
|
+
return pt || (pt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
+
var a = Tt, n = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), p = /* @__PURE__ */ Symbol.for("react.profiler"), f = /* @__PURE__ */ Symbol.for("react.provider"), u = /* @__PURE__ */ Symbol.for("react.context"), c = /* @__PURE__ */ Symbol.for("react.forward_ref"), b = /* @__PURE__ */ Symbol.for("react.suspense"), h = /* @__PURE__ */ Symbol.for("react.suspense_list"), _ = /* @__PURE__ */ Symbol.for("react.memo"), x = /* @__PURE__ */ Symbol.for("react.lazy"), E = /* @__PURE__ */ Symbol.for("react.offscreen"), j = Symbol.iterator, k = "@@iterator";
|
|
23
23
|
function w(t) {
|
|
24
24
|
if (t === null || typeof t != "object")
|
|
25
25
|
return null;
|
|
26
|
-
var i = j && t[j] || t[
|
|
26
|
+
var i = j && t[j] || t[k];
|
|
27
27
|
return typeof i == "function" ? i : null;
|
|
28
28
|
}
|
|
29
|
-
var
|
|
30
|
-
function
|
|
29
|
+
var R = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
30
|
+
function y(t) {
|
|
31
31
|
{
|
|
32
|
-
for (var i = arguments.length, m = new Array(i > 1 ? i - 1 : 0),
|
|
33
|
-
m[
|
|
32
|
+
for (var i = arguments.length, m = new Array(i > 1 ? i - 1 : 0), v = 1; v < i; v++)
|
|
33
|
+
m[v - 1] = arguments[v];
|
|
34
34
|
A("error", t, m);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
function A(t, i, m) {
|
|
38
38
|
{
|
|
39
|
-
var
|
|
40
|
-
|
|
41
|
-
var
|
|
42
|
-
return String(
|
|
39
|
+
var v = R.ReactDebugCurrentFrame, I = v.getStackAddendum();
|
|
40
|
+
I !== "" && (i += "%s", m = m.concat([I]));
|
|
41
|
+
var S = m.map(function(T) {
|
|
42
|
+
return String(T);
|
|
43
43
|
});
|
|
44
|
-
|
|
44
|
+
S.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, S);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
var
|
|
48
|
-
|
|
49
|
-
function
|
|
50
|
-
return !!(typeof t == "string" || typeof t == "function" || t === d || t ===
|
|
47
|
+
var U = !1, C = !1, Q = !1, O = !1, V = !1, B;
|
|
48
|
+
B = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
|
+
function Y(t) {
|
|
50
|
+
return !!(typeof t == "string" || typeof t == "function" || t === d || t === p || V || t === o || t === b || t === h || O || t === E || U || C || Q || typeof t == "object" && t !== null && (t.$$typeof === x || t.$$typeof === _ || t.$$typeof === f || t.$$typeof === u || t.$$typeof === c || // 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 Z(t, i, m) {
|
|
57
|
+
var v = t.displayName;
|
|
58
|
+
if (v)
|
|
59
|
+
return v;
|
|
60
|
+
var I = i.displayName || i.name || "";
|
|
61
|
+
return I !== "" ? m + "(" + I + ")" : m;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function F(t) {
|
|
64
64
|
return t.displayName || "Context";
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function W(t) {
|
|
67
67
|
if (t == null)
|
|
68
68
|
return null;
|
|
69
|
-
if (typeof t.tag == "number" &&
|
|
69
|
+
if (typeof t.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
70
70
|
return t.displayName || t.name || null;
|
|
71
71
|
if (typeof t == "string")
|
|
72
72
|
return t;
|
|
@@ -75,32 +75,32 @@ function on() {
|
|
|
75
75
|
return "Fragment";
|
|
76
76
|
case l:
|
|
77
77
|
return "Portal";
|
|
78
|
-
case
|
|
78
|
+
case p:
|
|
79
79
|
return "Profiler";
|
|
80
80
|
case o:
|
|
81
81
|
return "StrictMode";
|
|
82
82
|
case b:
|
|
83
83
|
return "Suspense";
|
|
84
|
-
case
|
|
84
|
+
case h:
|
|
85
85
|
return "SuspenseList";
|
|
86
86
|
}
|
|
87
87
|
if (typeof t == "object")
|
|
88
88
|
switch (t.$$typeof) {
|
|
89
89
|
case u:
|
|
90
90
|
var i = t;
|
|
91
|
-
return
|
|
91
|
+
return F(i) + ".Consumer";
|
|
92
92
|
case f:
|
|
93
93
|
var m = t;
|
|
94
|
-
return
|
|
94
|
+
return F(m._context) + ".Provider";
|
|
95
95
|
case c:
|
|
96
|
-
return
|
|
96
|
+
return Z(t, t.render, "ForwardRef");
|
|
97
97
|
case _:
|
|
98
|
-
var
|
|
99
|
-
return
|
|
98
|
+
var v = t.displayName || null;
|
|
99
|
+
return v !== null ? v : W(t.type) || "Memo";
|
|
100
100
|
case x: {
|
|
101
|
-
var
|
|
101
|
+
var I = t, S = I._payload, T = I._init;
|
|
102
102
|
try {
|
|
103
|
-
return
|
|
103
|
+
return W(T(S));
|
|
104
104
|
} catch {
|
|
105
105
|
return null;
|
|
106
106
|
}
|
|
@@ -108,18 +108,18 @@ function on() {
|
|
|
108
108
|
}
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
111
|
-
var
|
|
112
|
-
function
|
|
111
|
+
var z = Object.assign, te = 0, ue, ke, ge, _e, be, me, he;
|
|
112
|
+
function $() {
|
|
113
113
|
}
|
|
114
|
-
|
|
115
|
-
function
|
|
114
|
+
$.__reactDisabledLog = !0;
|
|
115
|
+
function r() {
|
|
116
116
|
{
|
|
117
|
-
if (
|
|
118
|
-
ue = console.log,
|
|
117
|
+
if (te === 0) {
|
|
118
|
+
ue = console.log, ke = console.info, ge = console.warn, _e = console.error, be = console.group, me = console.groupCollapsed, he = console.groupEnd;
|
|
119
119
|
var t = {
|
|
120
120
|
configurable: !0,
|
|
121
121
|
enumerable: !0,
|
|
122
|
-
value:
|
|
122
|
+
value: $,
|
|
123
123
|
writable: !0
|
|
124
124
|
};
|
|
125
125
|
Object.defineProperties(console, {
|
|
@@ -132,208 +132,208 @@ function on() {
|
|
|
132
132
|
groupEnd: t
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
|
-
|
|
135
|
+
te++;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
function g() {
|
|
139
139
|
{
|
|
140
|
-
if (
|
|
140
|
+
if (te--, te === 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:
|
|
147
|
+
log: z({}, t, {
|
|
148
148
|
value: ue
|
|
149
149
|
}),
|
|
150
|
-
info:
|
|
151
|
-
value:
|
|
150
|
+
info: z({}, t, {
|
|
151
|
+
value: ke
|
|
152
152
|
}),
|
|
153
|
-
warn:
|
|
154
|
-
value: he
|
|
155
|
-
}),
|
|
156
|
-
error: V({}, t, {
|
|
157
|
-
value: fe
|
|
158
|
-
}),
|
|
159
|
-
group: V({}, t, {
|
|
153
|
+
warn: z({}, t, {
|
|
160
154
|
value: ge
|
|
161
155
|
}),
|
|
162
|
-
|
|
156
|
+
error: z({}, t, {
|
|
163
157
|
value: _e
|
|
164
158
|
}),
|
|
165
|
-
|
|
166
|
-
value:
|
|
159
|
+
group: z({}, t, {
|
|
160
|
+
value: be
|
|
161
|
+
}),
|
|
162
|
+
groupCollapsed: z({}, t, {
|
|
163
|
+
value: me
|
|
164
|
+
}),
|
|
165
|
+
groupEnd: z({}, t, {
|
|
166
|
+
value: he
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
|
|
170
|
+
te < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
var
|
|
174
|
-
function
|
|
173
|
+
var D = R.ReactCurrentDispatcher, ae;
|
|
174
|
+
function pe(t, i, m) {
|
|
175
175
|
{
|
|
176
|
-
if (
|
|
176
|
+
if (ae === void 0)
|
|
177
177
|
try {
|
|
178
178
|
throw Error();
|
|
179
|
-
} catch (
|
|
180
|
-
var
|
|
181
|
-
|
|
179
|
+
} catch (I) {
|
|
180
|
+
var v = I.stack.trim().match(/\n( *(at )?)/);
|
|
181
|
+
ae = v && v[1] || "";
|
|
182
182
|
}
|
|
183
183
|
return `
|
|
184
|
-
` +
|
|
184
|
+
` + ae + t;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
var Ae = !1,
|
|
187
|
+
var Ae = !1, $e;
|
|
188
188
|
{
|
|
189
|
-
var
|
|
190
|
-
|
|
189
|
+
var Dt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
190
|
+
$e = new Dt();
|
|
191
191
|
}
|
|
192
192
|
function Xe(t, i) {
|
|
193
193
|
if (!t || Ae)
|
|
194
194
|
return "";
|
|
195
195
|
{
|
|
196
|
-
var m =
|
|
196
|
+
var m = $e.get(t);
|
|
197
197
|
if (m !== void 0)
|
|
198
198
|
return m;
|
|
199
199
|
}
|
|
200
|
-
var
|
|
200
|
+
var v;
|
|
201
201
|
Ae = !0;
|
|
202
|
-
var
|
|
202
|
+
var I = Error.prepareStackTrace;
|
|
203
203
|
Error.prepareStackTrace = void 0;
|
|
204
|
-
var
|
|
205
|
-
|
|
204
|
+
var S;
|
|
205
|
+
S = D.current, D.current = null, r();
|
|
206
206
|
try {
|
|
207
207
|
if (i) {
|
|
208
|
-
var
|
|
208
|
+
var T = function() {
|
|
209
209
|
throw Error();
|
|
210
210
|
};
|
|
211
|
-
if (Object.defineProperty(
|
|
211
|
+
if (Object.defineProperty(T.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(T, []);
|
|
218
|
+
} catch (ee) {
|
|
219
|
+
v = ee;
|
|
220
220
|
}
|
|
221
|
-
Reflect.construct(t, [],
|
|
221
|
+
Reflect.construct(t, [], T);
|
|
222
222
|
} else {
|
|
223
223
|
try {
|
|
224
|
-
|
|
225
|
-
} catch (
|
|
226
|
-
|
|
224
|
+
T.call();
|
|
225
|
+
} catch (ee) {
|
|
226
|
+
v = ee;
|
|
227
227
|
}
|
|
228
|
-
t.call(
|
|
228
|
+
t.call(T.prototype);
|
|
229
229
|
}
|
|
230
230
|
} else {
|
|
231
231
|
try {
|
|
232
232
|
throw Error();
|
|
233
|
-
} catch (
|
|
234
|
-
|
|
233
|
+
} catch (ee) {
|
|
234
|
+
v = ee;
|
|
235
235
|
}
|
|
236
236
|
t();
|
|
237
237
|
}
|
|
238
|
-
} catch (
|
|
239
|
-
if (
|
|
240
|
-
for (var N =
|
|
241
|
-
`),
|
|
242
|
-
`),
|
|
243
|
-
|
|
244
|
-
for (;
|
|
245
|
-
if (N[
|
|
246
|
-
if (
|
|
238
|
+
} catch (ee) {
|
|
239
|
+
if (ee && v && typeof ee.stack == "string") {
|
|
240
|
+
for (var N = ee.stack.split(`
|
|
241
|
+
`), J = v.stack.split(`
|
|
242
|
+
`), M = N.length - 1, q = J.length - 1; M >= 1 && q >= 0 && N[M] !== J[q]; )
|
|
243
|
+
q--;
|
|
244
|
+
for (; M >= 1 && q >= 0; M--, q--)
|
|
245
|
+
if (N[M] !== J[q]) {
|
|
246
|
+
if (M !== 1 || q !== 1)
|
|
247
247
|
do
|
|
248
|
-
if (
|
|
248
|
+
if (M--, q--, q < 0 || N[M] !== J[q]) {
|
|
249
249
|
var ne = `
|
|
250
|
-
` + N[
|
|
251
|
-
return t.displayName && ne.includes("<anonymous>") && (ne = ne.replace("<anonymous>", t.displayName)), typeof t == "function" &&
|
|
250
|
+
` + N[M].replace(" at new ", " at ");
|
|
251
|
+
return t.displayName && ne.includes("<anonymous>") && (ne = ne.replace("<anonymous>", t.displayName)), typeof t == "function" && $e.set(t, ne), ne;
|
|
252
252
|
}
|
|
253
|
-
while (
|
|
253
|
+
while (M >= 1 && q >= 0);
|
|
254
254
|
break;
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
} finally {
|
|
258
|
-
Ae = !1,
|
|
258
|
+
Ae = !1, D.current = S, g(), Error.prepareStackTrace = I;
|
|
259
259
|
}
|
|
260
|
-
var
|
|
261
|
-
return typeof t == "function" &&
|
|
260
|
+
var we = t ? t.displayName || t.name : "", ye = we ? pe(we) : "";
|
|
261
|
+
return typeof t == "function" && $e.set(t, ye), ye;
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function Ot(t, i, m) {
|
|
264
264
|
return Xe(t, !1);
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function Bt(t) {
|
|
267
267
|
var i = t.prototype;
|
|
268
268
|
return !!(i && i.isReactComponent);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function Le(t, i, m) {
|
|
271
271
|
if (t == null)
|
|
272
272
|
return "";
|
|
273
273
|
if (typeof t == "function")
|
|
274
|
-
return Xe(t,
|
|
274
|
+
return Xe(t, Bt(t));
|
|
275
275
|
if (typeof t == "string")
|
|
276
|
-
return
|
|
276
|
+
return pe(t);
|
|
277
277
|
switch (t) {
|
|
278
278
|
case b:
|
|
279
|
-
return
|
|
280
|
-
case
|
|
281
|
-
return
|
|
279
|
+
return pe("Suspense");
|
|
280
|
+
case h:
|
|
281
|
+
return pe("SuspenseList");
|
|
282
282
|
}
|
|
283
283
|
if (typeof t == "object")
|
|
284
284
|
switch (t.$$typeof) {
|
|
285
285
|
case c:
|
|
286
|
-
return
|
|
286
|
+
return Ot(t.render);
|
|
287
287
|
case _:
|
|
288
|
-
return
|
|
288
|
+
return Le(t.type, i, m);
|
|
289
289
|
case x: {
|
|
290
|
-
var
|
|
290
|
+
var v = t, I = v._payload, S = v._init;
|
|
291
291
|
try {
|
|
292
|
-
return
|
|
292
|
+
return Le(S(I), i, m);
|
|
293
293
|
} catch {
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
return "";
|
|
298
298
|
}
|
|
299
|
-
var Ee = Object.prototype.hasOwnProperty, Ze = {}, et =
|
|
299
|
+
var Ee = Object.prototype.hasOwnProperty, Ze = {}, et = R.ReactDebugCurrentFrame;
|
|
300
300
|
function De(t) {
|
|
301
301
|
if (t) {
|
|
302
|
-
var i = t._owner, m =
|
|
302
|
+
var i = t._owner, m = Le(t.type, t._source, i ? i.type : null);
|
|
303
303
|
et.setExtraStackFrame(m);
|
|
304
304
|
} else
|
|
305
305
|
et.setExtraStackFrame(null);
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function Ft(t, i, m, v, I) {
|
|
308
308
|
{
|
|
309
|
-
var
|
|
310
|
-
for (var
|
|
311
|
-
if (
|
|
309
|
+
var S = Function.call.bind(Ee);
|
|
310
|
+
for (var T in t)
|
|
311
|
+
if (S(t, T)) {
|
|
312
312
|
var N = void 0;
|
|
313
313
|
try {
|
|
314
|
-
if (typeof t[
|
|
315
|
-
var
|
|
316
|
-
throw
|
|
314
|
+
if (typeof t[T] != "function") {
|
|
315
|
+
var J = Error((v || "React class") + ": " + m + " type `" + T + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[T] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
316
|
+
throw J.name = "Invariant Violation", J;
|
|
317
317
|
}
|
|
318
|
-
N = t[
|
|
319
|
-
} catch (
|
|
320
|
-
N =
|
|
318
|
+
N = t[T](i, T, v, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
319
|
+
} catch (M) {
|
|
320
|
+
N = M;
|
|
321
321
|
}
|
|
322
|
-
N && !(N instanceof Error) && (De(
|
|
322
|
+
N && !(N instanceof Error) && (De(I), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", m, T, typeof N), De(null)), N instanceof Error && !(N.message in Ze) && (Ze[N.message] = !0, De(I), y("Failed %s type: %s", m, N.message), De(null));
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
var
|
|
326
|
+
var Mt = Array.isArray;
|
|
327
327
|
function Ue(t) {
|
|
328
|
-
return
|
|
328
|
+
return Mt(t);
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function Ut(t) {
|
|
331
331
|
{
|
|
332
332
|
var i = typeof Symbol == "function" && Symbol.toStringTag, m = i && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
333
333
|
return m;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function Wt(t) {
|
|
337
337
|
try {
|
|
338
338
|
return tt(t), !1;
|
|
339
339
|
} catch {
|
|
@@ -343,17 +343,17 @@ function on() {
|
|
|
343
343
|
function tt(t) {
|
|
344
344
|
return "" + t;
|
|
345
345
|
}
|
|
346
|
-
function
|
|
347
|
-
if (
|
|
348
|
-
return
|
|
346
|
+
function at(t) {
|
|
347
|
+
if (Wt(t))
|
|
348
|
+
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ut(t)), tt(t);
|
|
349
349
|
}
|
|
350
|
-
var
|
|
350
|
+
var nt = R.ReactCurrentOwner, qt = {
|
|
351
351
|
key: !0,
|
|
352
352
|
ref: !0,
|
|
353
353
|
__self: !0,
|
|
354
354
|
__source: !0
|
|
355
355
|
}, rt, it;
|
|
356
|
-
function
|
|
356
|
+
function Kt(t) {
|
|
357
357
|
if (Ee.call(t, "ref")) {
|
|
358
358
|
var i = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
359
359
|
if (i && i.isReactWarning)
|
|
@@ -361,7 +361,7 @@ function on() {
|
|
|
361
361
|
}
|
|
362
362
|
return t.ref !== void 0;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function Ht(t) {
|
|
365
365
|
if (Ee.call(t, "key")) {
|
|
366
366
|
var i = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
367
367
|
if (i && i.isReactWarning)
|
|
@@ -369,13 +369,13 @@ function on() {
|
|
|
369
369
|
}
|
|
370
370
|
return t.key !== void 0;
|
|
371
371
|
}
|
|
372
|
-
function
|
|
373
|
-
typeof t.ref == "string" &&
|
|
372
|
+
function Gt(t, i) {
|
|
373
|
+
typeof t.ref == "string" && nt.current;
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function Yt(t, i) {
|
|
376
376
|
{
|
|
377
377
|
var m = function() {
|
|
378
|
-
rt || (rt = !0,
|
|
378
|
+
rt || (rt = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
|
|
379
379
|
};
|
|
380
380
|
m.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
381
381
|
get: m,
|
|
@@ -383,10 +383,10 @@ function on() {
|
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function Vt(t, i) {
|
|
387
387
|
{
|
|
388
388
|
var m = function() {
|
|
389
|
-
it || (it = !0,
|
|
389
|
+
it || (it = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
|
|
390
390
|
};
|
|
391
391
|
m.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
392
392
|
get: m,
|
|
@@ -394,17 +394,17 @@ function on() {
|
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
var
|
|
397
|
+
var zt = function(t, i, m, v, I, S, T) {
|
|
398
398
|
var N = {
|
|
399
399
|
// This tag allows us to uniquely identify this as a React Element
|
|
400
|
-
$$typeof:
|
|
400
|
+
$$typeof: n,
|
|
401
401
|
// Built-in properties that belong on the element
|
|
402
402
|
type: t,
|
|
403
403
|
key: i,
|
|
404
404
|
ref: m,
|
|
405
|
-
props:
|
|
405
|
+
props: T,
|
|
406
406
|
// Record the component responsible for creating this element.
|
|
407
|
-
_owner:
|
|
407
|
+
_owner: S
|
|
408
408
|
};
|
|
409
409
|
return N._store = {}, Object.defineProperty(N._store, "validated", {
|
|
410
410
|
configurable: !1,
|
|
@@ -415,49 +415,49 @@ function on() {
|
|
|
415
415
|
configurable: !1,
|
|
416
416
|
enumerable: !1,
|
|
417
417
|
writable: !1,
|
|
418
|
-
value:
|
|
418
|
+
value: v
|
|
419
419
|
}), Object.defineProperty(N, "_source", {
|
|
420
420
|
configurable: !1,
|
|
421
421
|
enumerable: !1,
|
|
422
422
|
writable: !1,
|
|
423
|
-
value:
|
|
423
|
+
value: I
|
|
424
424
|
}), Object.freeze && (Object.freeze(N.props), Object.freeze(N)), N;
|
|
425
425
|
};
|
|
426
|
-
function
|
|
426
|
+
function Qt(t, i, m, v, I) {
|
|
427
427
|
{
|
|
428
|
-
var
|
|
429
|
-
m !== void 0 && (
|
|
430
|
-
for (
|
|
431
|
-
Ee.call(i,
|
|
428
|
+
var S, T = {}, N = null, J = null;
|
|
429
|
+
m !== void 0 && (at(m), N = "" + m), Ht(i) && (at(i.key), N = "" + i.key), Kt(i) && (J = i.ref, Gt(i, I));
|
|
430
|
+
for (S in i)
|
|
431
|
+
Ee.call(i, S) && !qt.hasOwnProperty(S) && (T[S] = i[S]);
|
|
432
432
|
if (t && t.defaultProps) {
|
|
433
|
-
var
|
|
434
|
-
for (
|
|
435
|
-
|
|
433
|
+
var M = t.defaultProps;
|
|
434
|
+
for (S in M)
|
|
435
|
+
T[S] === void 0 && (T[S] = M[S]);
|
|
436
436
|
}
|
|
437
|
-
if (N ||
|
|
438
|
-
var
|
|
439
|
-
N &&
|
|
437
|
+
if (N || J) {
|
|
438
|
+
var q = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
439
|
+
N && Yt(T, q), J && Vt(T, q);
|
|
440
440
|
}
|
|
441
|
-
return
|
|
441
|
+
return zt(t, N, J, I, v, nt.current, T);
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
|
-
var We =
|
|
445
|
-
function
|
|
444
|
+
var We = R.ReactCurrentOwner, st = R.ReactDebugCurrentFrame;
|
|
445
|
+
function xe(t) {
|
|
446
446
|
if (t) {
|
|
447
|
-
var i = t._owner, m =
|
|
448
|
-
|
|
447
|
+
var i = t._owner, m = Le(t.type, t._source, i ? i.type : null);
|
|
448
|
+
st.setExtraStackFrame(m);
|
|
449
449
|
} else
|
|
450
|
-
|
|
450
|
+
st.setExtraStackFrame(null);
|
|
451
451
|
}
|
|
452
452
|
var qe;
|
|
453
453
|
qe = !1;
|
|
454
454
|
function Ke(t) {
|
|
455
|
-
return typeof t == "object" && t !== null && t.$$typeof ===
|
|
455
|
+
return typeof t == "object" && t !== null && t.$$typeof === n;
|
|
456
456
|
}
|
|
457
|
-
function
|
|
457
|
+
function ot() {
|
|
458
458
|
{
|
|
459
459
|
if (We.current) {
|
|
460
|
-
var t =
|
|
460
|
+
var t = W(We.current.type);
|
|
461
461
|
if (t)
|
|
462
462
|
return `
|
|
463
463
|
|
|
@@ -466,13 +466,13 @@ Check the render method of \`` + t + "`.";
|
|
|
466
466
|
return "";
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function Jt(t) {
|
|
470
470
|
return "";
|
|
471
471
|
}
|
|
472
472
|
var ct = {};
|
|
473
|
-
function
|
|
473
|
+
function Xt(t) {
|
|
474
474
|
{
|
|
475
|
-
var i =
|
|
475
|
+
var i = ot();
|
|
476
476
|
if (!i) {
|
|
477
477
|
var m = typeof t == "string" ? t : t.displayName || t.name;
|
|
478
478
|
m && (i = `
|
|
@@ -487,12 +487,12 @@ Check the top-level render call using <` + m + ">.");
|
|
|
487
487
|
if (!t._store || t._store.validated || t.key != null)
|
|
488
488
|
return;
|
|
489
489
|
t._store.validated = !0;
|
|
490
|
-
var m =
|
|
490
|
+
var m = Xt(i);
|
|
491
491
|
if (ct[m])
|
|
492
492
|
return;
|
|
493
493
|
ct[m] = !0;
|
|
494
|
-
var
|
|
495
|
-
t && t._owner && t._owner !== We.current && (
|
|
494
|
+
var v = "";
|
|
495
|
+
t && t._owner && t._owner !== We.current && (v = " It was passed a child from " + W(t._owner.type) + "."), xe(t), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, v), xe(null);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
function dt(t, i) {
|
|
@@ -501,20 +501,20 @@ Check the top-level render call using <` + m + ">.");
|
|
|
501
501
|
return;
|
|
502
502
|
if (Ue(t))
|
|
503
503
|
for (var m = 0; m < t.length; m++) {
|
|
504
|
-
var
|
|
505
|
-
Ke(
|
|
504
|
+
var v = t[m];
|
|
505
|
+
Ke(v) && lt(v, i);
|
|
506
506
|
}
|
|
507
507
|
else if (Ke(t))
|
|
508
508
|
t._store && (t._store.validated = !0);
|
|
509
509
|
else if (t) {
|
|
510
|
-
var
|
|
511
|
-
if (typeof
|
|
512
|
-
for (var
|
|
513
|
-
Ke(
|
|
510
|
+
var I = w(t);
|
|
511
|
+
if (typeof I == "function" && I !== t.entries)
|
|
512
|
+
for (var S = I.call(t), T; !(T = S.next()).done; )
|
|
513
|
+
Ke(T.value) && lt(T.value, i);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function Zt(t) {
|
|
518
518
|
{
|
|
519
519
|
var i = t.type;
|
|
520
520
|
if (i == null || typeof i == "string")
|
|
@@ -529,97 +529,97 @@ Check the top-level render call using <` + m + ">.");
|
|
|
529
529
|
else
|
|
530
530
|
return;
|
|
531
531
|
if (m) {
|
|
532
|
-
var
|
|
533
|
-
|
|
532
|
+
var v = W(i);
|
|
533
|
+
Ft(m, t.props, "prop", v, t);
|
|
534
534
|
} else if (i.PropTypes !== void 0 && !qe) {
|
|
535
535
|
qe = !0;
|
|
536
|
-
var
|
|
537
|
-
|
|
536
|
+
var I = W(i);
|
|
537
|
+
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", I || "Unknown");
|
|
538
538
|
}
|
|
539
|
-
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved &&
|
|
539
|
+
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function ea(t) {
|
|
543
543
|
{
|
|
544
544
|
for (var i = Object.keys(t.props), m = 0; m < i.length; m++) {
|
|
545
|
-
var
|
|
546
|
-
if (
|
|
547
|
-
|
|
545
|
+
var v = i[m];
|
|
546
|
+
if (v !== "children" && v !== "key") {
|
|
547
|
+
xe(t), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), xe(null);
|
|
548
548
|
break;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
t.ref !== null && (
|
|
551
|
+
t.ref !== null && (xe(t), y("Invalid attribute `ref` supplied to `React.Fragment`."), xe(null));
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
var ut = {};
|
|
555
|
-
function mt(t, i, m,
|
|
555
|
+
function mt(t, i, m, v, I, S) {
|
|
556
556
|
{
|
|
557
|
-
var
|
|
558
|
-
if (!
|
|
557
|
+
var T = Y(t);
|
|
558
|
+
if (!T) {
|
|
559
559
|
var N = "";
|
|
560
560
|
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (N += " 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
|
|
562
|
-
|
|
563
|
-
var
|
|
564
|
-
t === null ?
|
|
561
|
+
var J = Jt();
|
|
562
|
+
J ? N += J : N += ot();
|
|
563
|
+
var M;
|
|
564
|
+
t === null ? M = "null" : Ue(t) ? M = "array" : t !== void 0 && t.$$typeof === n ? (M = "<" + (W(t.type) || "Unknown") + " />", N = " Did you accidentally export a JSX literal instead of a component?") : M = typeof t, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", M, N);
|
|
565
565
|
}
|
|
566
|
-
var
|
|
567
|
-
if (
|
|
568
|
-
return
|
|
569
|
-
if (
|
|
566
|
+
var q = Qt(t, i, m, I, S);
|
|
567
|
+
if (q == null)
|
|
568
|
+
return q;
|
|
569
|
+
if (T) {
|
|
570
570
|
var ne = i.children;
|
|
571
571
|
if (ne !== void 0)
|
|
572
|
-
if (
|
|
572
|
+
if (v)
|
|
573
573
|
if (Ue(ne)) {
|
|
574
|
-
for (var
|
|
575
|
-
dt(ne[
|
|
574
|
+
for (var we = 0; we < ne.length; we++)
|
|
575
|
+
dt(ne[we], t);
|
|
576
576
|
Object.freeze && Object.freeze(ne);
|
|
577
577
|
} else
|
|
578
|
-
|
|
578
|
+
y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
579
579
|
else
|
|
580
580
|
dt(ne, t);
|
|
581
581
|
}
|
|
582
582
|
if (Ee.call(i, "key")) {
|
|
583
|
-
var ye =
|
|
584
|
-
return
|
|
585
|
-
}),
|
|
586
|
-
if (!ut[ye +
|
|
587
|
-
var
|
|
588
|
-
|
|
583
|
+
var ye = W(t), ee = Object.keys(i).filter(function(sa) {
|
|
584
|
+
return sa !== "key";
|
|
585
|
+
}), He = ee.length > 0 ? "{key: someKey, " + ee.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
586
|
+
if (!ut[ye + He]) {
|
|
587
|
+
var ia = ee.length > 0 ? "{" + ee.join(": ..., ") + ": ...}" : "{}";
|
|
588
|
+
y(`A props object containing a "key" prop is being spread into JSX:
|
|
589
589
|
let props = %s;
|
|
590
590
|
<%s {...props} />
|
|
591
591
|
React keys must be passed directly to JSX without using spread:
|
|
592
592
|
let props = %s;
|
|
593
|
-
<%s key={someKey} {...props} />`,
|
|
593
|
+
<%s key={someKey} {...props} />`, He, ye, ia, ye), ut[ye + He] = !0;
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
|
-
return t === d ?
|
|
596
|
+
return t === d ? ea(q) : Zt(q), q;
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
|
-
function
|
|
599
|
+
function ta(t, i, m) {
|
|
600
600
|
return mt(t, i, m, !0);
|
|
601
601
|
}
|
|
602
|
-
function
|
|
602
|
+
function aa(t, i, m) {
|
|
603
603
|
return mt(t, i, m, !1);
|
|
604
604
|
}
|
|
605
|
-
var
|
|
606
|
-
Ce.Fragment = d, Ce.jsx =
|
|
605
|
+
var na = aa, ra = ta;
|
|
606
|
+
Ce.Fragment = d, Ce.jsx = na, Ce.jsxs = ra;
|
|
607
607
|
})()), Ce;
|
|
608
608
|
}
|
|
609
609
|
var ft;
|
|
610
|
-
function
|
|
611
|
-
return ft || (ft = 1, process.env.NODE_ENV === "production" ? Oe.exports =
|
|
610
|
+
function la() {
|
|
611
|
+
return ft || (ft = 1, process.env.NODE_ENV === "production" ? Oe.exports = oa() : Oe.exports = ca()), Oe.exports;
|
|
612
612
|
}
|
|
613
|
-
var e =
|
|
614
|
-
const
|
|
615
|
-
container:
|
|
616
|
-
main:
|
|
617
|
-
langDropdownWrap:
|
|
618
|
-
langTrigger:
|
|
619
|
-
langIcon:
|
|
620
|
-
langLabel:
|
|
621
|
-
langMenu:
|
|
622
|
-
langOption:
|
|
613
|
+
var e = la();
|
|
614
|
+
const da = "_container_nm3gb_1", ua = "_main_nm3gb_6", ma = "_langDropdownWrap_nm3gb_12", ha = "_langTrigger_nm3gb_16", pa = "_langIcon_nm3gb_28", fa = "_langLabel_nm3gb_35", ga = "_langMenu_nm3gb_40", _a = "_langOption_nm3gb_46", fe = {
|
|
615
|
+
container: da,
|
|
616
|
+
main: ua,
|
|
617
|
+
langDropdownWrap: ma,
|
|
618
|
+
langTrigger: ha,
|
|
619
|
+
langIcon: pa,
|
|
620
|
+
langLabel: fa,
|
|
621
|
+
langMenu: ga,
|
|
622
|
+
langOption: _a
|
|
623
623
|
}, ze = ["en", "hi"], Me = {
|
|
624
624
|
en: "English",
|
|
625
625
|
hi: "हिन्दी"
|
|
@@ -945,70 +945,70 @@ const cn = "_container_nm3gb_1", ln = "_main_nm3gb_6", dn = "_langDropdownWrap_n
|
|
|
945
945
|
formDiscountedPrice: "$25",
|
|
946
946
|
formPriceAria: "कीमत"
|
|
947
947
|
}
|
|
948
|
-
},
|
|
949
|
-
locale:
|
|
950
|
-
children:
|
|
948
|
+
}, Et = At(null), bs = ({
|
|
949
|
+
locale: a,
|
|
950
|
+
children: n
|
|
951
951
|
}) => {
|
|
952
|
-
const d = { locale:
|
|
953
|
-
return /* @__PURE__ */ e.jsx(
|
|
952
|
+
const d = { locale: a, t: (o) => Qe[a]?.[o] ?? o };
|
|
953
|
+
return /* @__PURE__ */ e.jsx(Et.Provider, { value: d, children: n });
|
|
954
954
|
};
|
|
955
|
-
function
|
|
956
|
-
return Ve(
|
|
955
|
+
function It() {
|
|
956
|
+
return Ve(Et);
|
|
957
957
|
}
|
|
958
|
-
const
|
|
959
|
-
container:
|
|
960
|
-
main:
|
|
961
|
-
kundliHeaderNoBorder:
|
|
962
|
-
headerSeparator:
|
|
963
|
-
langDropdownWrap:
|
|
964
|
-
langTrigger:
|
|
965
|
-
langIcon:
|
|
966
|
-
langLabel:
|
|
967
|
-
langMenu:
|
|
968
|
-
langOption:
|
|
958
|
+
const ba = "_container_1e1th_1", ya = "_main_1e1th_7", va = "_kundliHeaderNoBorder_1e1th_12", ka = "_headerSeparator_1e1th_16", xa = "_langDropdownWrap_1e1th_21", wa = "_langTrigger_1e1th_25", ja = "_langIcon_1e1th_37", Na = "_langLabel_1e1th_44", Pa = "_langMenu_1e1th_49", Ta = "_langOption_1e1th_55", se = {
|
|
959
|
+
container: ba,
|
|
960
|
+
main: ya,
|
|
961
|
+
kundliHeaderNoBorder: va,
|
|
962
|
+
headerSeparator: ka,
|
|
963
|
+
langDropdownWrap: xa,
|
|
964
|
+
langTrigger: wa,
|
|
965
|
+
langIcon: ja,
|
|
966
|
+
langLabel: Na,
|
|
967
|
+
langMenu: Pa,
|
|
968
|
+
langOption: Ta
|
|
969
969
|
};
|
|
970
|
-
function
|
|
970
|
+
function Aa(a) {
|
|
971
971
|
if (typeof window > "u" || !window.localStorage)
|
|
972
972
|
return null;
|
|
973
973
|
try {
|
|
974
|
-
return window.localStorage.getItem(
|
|
974
|
+
return window.localStorage.getItem(a);
|
|
975
975
|
} catch {
|
|
976
976
|
return null;
|
|
977
977
|
}
|
|
978
978
|
}
|
|
979
|
-
function
|
|
979
|
+
function Ea(a, n) {
|
|
980
980
|
if (!(typeof window > "u" || !window.localStorage))
|
|
981
981
|
try {
|
|
982
|
-
window.localStorage.setItem(
|
|
982
|
+
window.localStorage.setItem(a, n);
|
|
983
983
|
} catch {
|
|
984
984
|
}
|
|
985
985
|
}
|
|
986
|
-
function
|
|
986
|
+
function ys(a) {
|
|
987
987
|
if (!(typeof window > "u" || !window.localStorage))
|
|
988
988
|
try {
|
|
989
|
-
window.localStorage.removeItem(
|
|
989
|
+
window.localStorage.removeItem(a);
|
|
990
990
|
} catch {
|
|
991
991
|
}
|
|
992
992
|
}
|
|
993
|
-
function
|
|
993
|
+
function vs() {
|
|
994
994
|
if (typeof window > "u" || !window.localStorage)
|
|
995
995
|
return !1;
|
|
996
996
|
try {
|
|
997
|
-
const
|
|
998
|
-
return window.localStorage.setItem(
|
|
997
|
+
const a = "__kundli_storage_test__";
|
|
998
|
+
return window.localStorage.setItem(a, "1"), window.localStorage.removeItem(a), !0;
|
|
999
999
|
} catch {
|
|
1000
1000
|
return !1;
|
|
1001
1001
|
}
|
|
1002
1002
|
}
|
|
1003
|
-
const
|
|
1004
|
-
function
|
|
1005
|
-
const
|
|
1006
|
-
return
|
|
1003
|
+
const Ct = "kundli_language";
|
|
1004
|
+
function Ia() {
|
|
1005
|
+
const a = Aa(Ct);
|
|
1006
|
+
return a && ze.includes(a) ? a : null;
|
|
1007
1007
|
}
|
|
1008
|
-
function
|
|
1009
|
-
|
|
1008
|
+
function Ca(a) {
|
|
1009
|
+
Ea(Ct, a);
|
|
1010
1010
|
}
|
|
1011
|
-
const Je =
|
|
1011
|
+
const Je = At(null), Sa = {
|
|
1012
1012
|
fullName: "",
|
|
1013
1013
|
phone: "",
|
|
1014
1014
|
email: "",
|
|
@@ -1016,125 +1016,125 @@ const Je = Nt(null), In = {
|
|
|
1016
1016
|
birthTime: "",
|
|
1017
1017
|
birthTimeUnknown: !1,
|
|
1018
1018
|
birthPlace: ""
|
|
1019
|
-
},
|
|
1020
|
-
locale:
|
|
1021
|
-
showLanguageSelector:
|
|
1019
|
+
}, Ra = ({
|
|
1020
|
+
locale: a,
|
|
1021
|
+
showLanguageSelector: n = !0,
|
|
1022
1022
|
userId: l,
|
|
1023
1023
|
isGlobal: d,
|
|
1024
1024
|
logoUrl: o,
|
|
1025
|
-
reportImageUrl:
|
|
1025
|
+
reportImageUrl: p,
|
|
1026
1026
|
universityLogoUrls: f,
|
|
1027
1027
|
sampleReportHref: u,
|
|
1028
1028
|
onViewSampleReport: c,
|
|
1029
1029
|
ctaHref: b,
|
|
1030
|
-
onCtaClick:
|
|
1030
|
+
onCtaClick: h,
|
|
1031
1031
|
onBack: _,
|
|
1032
1032
|
readMoreReviewsHref: x,
|
|
1033
|
-
onProceed:
|
|
1033
|
+
onProceed: E,
|
|
1034
1034
|
proceedHref: j,
|
|
1035
|
-
originalPriceLabel:
|
|
1035
|
+
originalPriceLabel: k,
|
|
1036
1036
|
discountedPriceLabel: w,
|
|
1037
|
-
discountPillLabel:
|
|
1038
|
-
analytics:
|
|
1037
|
+
discountPillLabel: R,
|
|
1038
|
+
analytics: y,
|
|
1039
1039
|
onLocaleChange: A,
|
|
1040
|
-
children:
|
|
1040
|
+
children: U
|
|
1041
1041
|
}) => {
|
|
1042
|
-
const [
|
|
1042
|
+
const [C, Q] = H("landing"), [O, V] = H(a ?? "en"), [B, Y] = H(Sa), Z = K(!0);
|
|
1043
1043
|
G(() => {
|
|
1044
|
-
const ue =
|
|
1045
|
-
ue &&
|
|
1044
|
+
const ue = Ia();
|
|
1045
|
+
ue && V(ue);
|
|
1046
1046
|
}, []), G(() => {
|
|
1047
|
-
|
|
1048
|
-
}, [
|
|
1049
|
-
if (
|
|
1050
|
-
|
|
1047
|
+
Ca(O);
|
|
1048
|
+
}, [O]), G(() => {
|
|
1049
|
+
if (Z.current) {
|
|
1050
|
+
Z.current = !1;
|
|
1051
1051
|
return;
|
|
1052
1052
|
}
|
|
1053
|
-
A?.(
|
|
1054
|
-
}, [
|
|
1055
|
-
const
|
|
1053
|
+
A?.(O);
|
|
1054
|
+
}, [O, A]);
|
|
1055
|
+
const F = Fe(
|
|
1056
1056
|
() => ({
|
|
1057
|
-
locale:
|
|
1058
|
-
showLanguageSelector:
|
|
1057
|
+
locale: a,
|
|
1058
|
+
showLanguageSelector: n,
|
|
1059
1059
|
userId: l,
|
|
1060
1060
|
isGlobal: d,
|
|
1061
1061
|
logoUrl: o,
|
|
1062
|
-
reportImageUrl:
|
|
1062
|
+
reportImageUrl: p,
|
|
1063
1063
|
universityLogoUrls: f,
|
|
1064
1064
|
sampleReportHref: u,
|
|
1065
1065
|
onViewSampleReport: c,
|
|
1066
1066
|
ctaHref: b,
|
|
1067
|
-
onCtaClick:
|
|
1067
|
+
onCtaClick: h,
|
|
1068
1068
|
onBack: _,
|
|
1069
1069
|
readMoreReviewsHref: x,
|
|
1070
|
-
onProceed:
|
|
1070
|
+
onProceed: E,
|
|
1071
1071
|
proceedHref: j,
|
|
1072
|
-
originalPriceLabel:
|
|
1072
|
+
originalPriceLabel: k,
|
|
1073
1073
|
discountedPriceLabel: w,
|
|
1074
|
-
discountPillLabel:
|
|
1075
|
-
analytics:
|
|
1074
|
+
discountPillLabel: R,
|
|
1075
|
+
analytics: y,
|
|
1076
1076
|
onLocaleChange: A
|
|
1077
1077
|
}),
|
|
1078
1078
|
[
|
|
1079
|
+
a,
|
|
1079
1080
|
n,
|
|
1080
|
-
r,
|
|
1081
1081
|
l,
|
|
1082
1082
|
d,
|
|
1083
1083
|
o,
|
|
1084
|
-
|
|
1084
|
+
p,
|
|
1085
1085
|
f,
|
|
1086
1086
|
u,
|
|
1087
1087
|
c,
|
|
1088
1088
|
b,
|
|
1089
|
-
|
|
1089
|
+
h,
|
|
1090
1090
|
_,
|
|
1091
1091
|
x,
|
|
1092
|
-
|
|
1092
|
+
E,
|
|
1093
1093
|
j,
|
|
1094
|
-
|
|
1094
|
+
k,
|
|
1095
1095
|
w,
|
|
1096
|
-
|
|
1097
|
-
|
|
1096
|
+
R,
|
|
1097
|
+
y,
|
|
1098
1098
|
A
|
|
1099
1099
|
]
|
|
1100
|
-
),
|
|
1101
|
-
|
|
1102
|
-
}, [
|
|
1103
|
-
|
|
1104
|
-
}, [
|
|
1100
|
+
), W = Pe(() => {
|
|
1101
|
+
Q("form");
|
|
1102
|
+
}, [F.analytics]), z = Pe(() => {
|
|
1103
|
+
Q("landing"), F.onBack?.();
|
|
1104
|
+
}, [F.onBack]), te = Fe(
|
|
1105
1105
|
() => ({
|
|
1106
|
-
view:
|
|
1107
|
-
locale:
|
|
1108
|
-
setLocale:
|
|
1109
|
-
config:
|
|
1110
|
-
formValues:
|
|
1111
|
-
setFormValues:
|
|
1112
|
-
goToForm:
|
|
1113
|
-
goToPage:
|
|
1114
|
-
onProceed:
|
|
1106
|
+
view: C,
|
|
1107
|
+
locale: O,
|
|
1108
|
+
setLocale: V,
|
|
1109
|
+
config: F,
|
|
1110
|
+
formValues: B,
|
|
1111
|
+
setFormValues: Y,
|
|
1112
|
+
goToForm: W,
|
|
1113
|
+
goToPage: z,
|
|
1114
|
+
onProceed: F.onProceed
|
|
1115
1115
|
}),
|
|
1116
|
-
[
|
|
1116
|
+
[C, O, F, B, W, z]
|
|
1117
1117
|
);
|
|
1118
|
-
return /* @__PURE__ */ e.jsx(Je.Provider, { value:
|
|
1118
|
+
return /* @__PURE__ */ e.jsx(Je.Provider, { value: te, children: U });
|
|
1119
1119
|
};
|
|
1120
|
-
function
|
|
1120
|
+
function Te() {
|
|
1121
1121
|
return Ve(Je);
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1124
|
-
const
|
|
1125
|
-
if (!
|
|
1123
|
+
function St() {
|
|
1124
|
+
const a = Ve(Je);
|
|
1125
|
+
if (!a)
|
|
1126
1126
|
throw new Error("useKundliContextOrThrow must be used within KundliProvider");
|
|
1127
|
-
return
|
|
1127
|
+
return a;
|
|
1128
1128
|
}
|
|
1129
|
-
const
|
|
1130
|
-
header:
|
|
1131
|
-
left:
|
|
1132
|
-
backBtn:
|
|
1133
|
-
titleWrap:
|
|
1134
|
-
title:
|
|
1135
|
-
subtitle:
|
|
1136
|
-
backIcon:
|
|
1137
|
-
},
|
|
1129
|
+
const $a = "_header_1414z_1", La = "_left_1414z_7", Da = "_backBtn_1414z_11", Oa = "_titleWrap_1414z_21", Ba = "_title_1414z_21", Fa = "_subtitle_1414z_32", Ma = "_backIcon_1414z_38", ve = {
|
|
1130
|
+
header: $a,
|
|
1131
|
+
left: La,
|
|
1132
|
+
backBtn: Da,
|
|
1133
|
+
titleWrap: Oa,
|
|
1134
|
+
title: Ba,
|
|
1135
|
+
subtitle: Fa,
|
|
1136
|
+
backIcon: Ma
|
|
1137
|
+
}, Ua = () => /* @__PURE__ */ e.jsx(
|
|
1138
1138
|
"svg",
|
|
1139
1139
|
{
|
|
1140
1140
|
className: ve.backIcon,
|
|
@@ -1153,9 +1153,9 @@ const Sn = "_header_1414z_1", Rn = "_left_1414z_7", Ln = "_backBtn_1414z_11", $n
|
|
|
1153
1153
|
}
|
|
1154
1154
|
)
|
|
1155
1155
|
}
|
|
1156
|
-
),
|
|
1157
|
-
t:
|
|
1158
|
-
onBack:
|
|
1156
|
+
), Wa = ({
|
|
1157
|
+
t: a,
|
|
1158
|
+
onBack: n,
|
|
1159
1159
|
className: l = ""
|
|
1160
1160
|
}) => /* @__PURE__ */ e.jsx("header", { className: `${ve.header} ${l}`, children: /* @__PURE__ */ e.jsxs("div", { className: ve.left, children: [
|
|
1161
1161
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1163,55 +1163,55 @@ const Sn = "_header_1414z_1", Rn = "_left_1414z_7", Ln = "_backBtn_1414z_11", $n
|
|
|
1163
1163
|
{
|
|
1164
1164
|
type: "button",
|
|
1165
1165
|
className: ve.backBtn,
|
|
1166
|
-
onClick:
|
|
1167
|
-
"aria-label":
|
|
1168
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1166
|
+
onClick: n,
|
|
1167
|
+
"aria-label": a("back"),
|
|
1168
|
+
children: /* @__PURE__ */ e.jsx(Ua, {})
|
|
1169
1169
|
}
|
|
1170
1170
|
),
|
|
1171
1171
|
/* @__PURE__ */ e.jsxs("div", { className: ve.titleWrap, children: [
|
|
1172
|
-
/* @__PURE__ */ e.jsx("h1", { className: ve.title, children:
|
|
1173
|
-
/* @__PURE__ */ e.jsx("p", { className: ve.subtitle, children:
|
|
1172
|
+
/* @__PURE__ */ e.jsx("h1", { className: ve.title, children: a("formTitle") }),
|
|
1173
|
+
/* @__PURE__ */ e.jsx("p", { className: ve.subtitle, children: a("formSubtitle") })
|
|
1174
1174
|
] })
|
|
1175
|
-
] }) }),
|
|
1176
|
-
wrap:
|
|
1177
|
-
card:
|
|
1178
|
-
cardInner:
|
|
1179
|
-
field:
|
|
1180
|
-
labelRow:
|
|
1181
|
-
label:
|
|
1182
|
-
req:
|
|
1183
|
-
help:
|
|
1184
|
-
infoBtn:
|
|
1185
|
-
infoImg:
|
|
1186
|
-
infoWrap:
|
|
1187
|
-
tooltip:
|
|
1188
|
-
tooltipArrow:
|
|
1189
|
-
inputWrap:
|
|
1190
|
-
suggestions:
|
|
1191
|
-
suggestionItem:
|
|
1192
|
-
suggestionMain:
|
|
1193
|
-
suggestionSecondary:
|
|
1194
|
-
suggestionsHint:
|
|
1195
|
-
timePopover:
|
|
1196
|
-
timePickerRow:
|
|
1197
|
-
timePickerSelect:
|
|
1198
|
-
timePickerColon:
|
|
1199
|
-
meridiemToggle:
|
|
1200
|
-
meridiemBtn:
|
|
1201
|
-
meridiemActive:
|
|
1202
|
-
timePopoverActions:
|
|
1203
|
-
timePopoverBtn:
|
|
1204
|
-
timePopoverOk:
|
|
1205
|
-
input:
|
|
1206
|
-
iconBtn:
|
|
1207
|
-
iconBtnInteractive:
|
|
1208
|
-
iconImg:
|
|
1209
|
-
checkboxRow:
|
|
1210
|
-
checkbox:
|
|
1211
|
-
checkboxText:
|
|
1175
|
+
] }) }), qa = "_wrap_1wp0p_1", Ka = "_card_1wp0p_5", Ha = "_cardInner_1wp0p_12", Ga = "_field_1wp0p_16", Ya = "_labelRow_1wp0p_20", Va = "_label_1wp0p_20", za = "_req_1wp0p_29", Qa = "_help_1wp0p_33", Ja = "_infoBtn_1wp0p_40", Xa = "_infoImg_1wp0p_57", Za = "_infoWrap_1wp0p_63", en = "_tooltip_1wp0p_69", tn = "_tooltipArrow_1wp0p_85", an = "_inputWrap_1wp0p_96", nn = "_suggestions_1wp0p_100", rn = "_suggestionItem_1wp0p_113", sn = "_suggestionMain_1wp0p_131", on = "_suggestionSecondary_1wp0p_137", cn = "_suggestionsHint_1wp0p_142", ln = "_timePopover_1wp0p_157", dn = "_timePickerRow_1wp0p_173", un = "_timePickerSelect_1wp0p_179", mn = "_timePickerColon_1wp0p_195", hn = "_meridiemToggle_1wp0p_203", pn = "_meridiemBtn_1wp0p_212", fn = "_meridiemActive_1wp0p_227", gn = "_timePopoverActions_1wp0p_232", _n = "_timePopoverBtn_1wp0p_238", bn = "_timePopoverOk_1wp0p_257", yn = "_input_1wp0p_96", vn = "_iconBtn_1wp0p_301", kn = "_iconBtnInteractive_1wp0p_307", xn = "_iconImg_1wp0p_326", wn = "_checkboxRow_1wp0p_332", jn = "_checkbox_1wp0p_332", Nn = "_checkboxText_1wp0p_370", s = {
|
|
1176
|
+
wrap: qa,
|
|
1177
|
+
card: Ka,
|
|
1178
|
+
cardInner: Ha,
|
|
1179
|
+
field: Ga,
|
|
1180
|
+
labelRow: Ya,
|
|
1181
|
+
label: Va,
|
|
1182
|
+
req: za,
|
|
1183
|
+
help: Qa,
|
|
1184
|
+
infoBtn: Ja,
|
|
1185
|
+
infoImg: Xa,
|
|
1186
|
+
infoWrap: Za,
|
|
1187
|
+
tooltip: en,
|
|
1188
|
+
tooltipArrow: tn,
|
|
1189
|
+
inputWrap: an,
|
|
1190
|
+
suggestions: nn,
|
|
1191
|
+
suggestionItem: rn,
|
|
1192
|
+
suggestionMain: sn,
|
|
1193
|
+
suggestionSecondary: on,
|
|
1194
|
+
suggestionsHint: cn,
|
|
1195
|
+
timePopover: ln,
|
|
1196
|
+
timePickerRow: dn,
|
|
1197
|
+
timePickerSelect: un,
|
|
1198
|
+
timePickerColon: mn,
|
|
1199
|
+
meridiemToggle: hn,
|
|
1200
|
+
meridiemBtn: pn,
|
|
1201
|
+
meridiemActive: fn,
|
|
1202
|
+
timePopoverActions: gn,
|
|
1203
|
+
timePopoverBtn: _n,
|
|
1204
|
+
timePopoverOk: bn,
|
|
1205
|
+
input: yn,
|
|
1206
|
+
iconBtn: vn,
|
|
1207
|
+
iconBtnInteractive: kn,
|
|
1208
|
+
iconImg: xn,
|
|
1209
|
+
checkboxRow: wn,
|
|
1210
|
+
checkbox: jn,
|
|
1211
|
+
checkboxText: Nn
|
|
1212
1212
|
};
|
|
1213
1213
|
let Be = null;
|
|
1214
|
-
const
|
|
1214
|
+
const Pn = (a, n) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Be || (Be = new Promise((l, d) => {
|
|
1215
1215
|
const o = document.querySelector(
|
|
1216
1216
|
'script[data-google-maps-places="true"]'
|
|
1217
1217
|
);
|
|
@@ -1222,8 +1222,8 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1222
1222
|
);
|
|
1223
1223
|
return;
|
|
1224
1224
|
}
|
|
1225
|
-
const
|
|
1226
|
-
f.searchParams.set("key",
|
|
1225
|
+
const p = document.createElement("script"), f = new URL("https://maps.googleapis.com/maps/api/js");
|
|
1226
|
+
f.searchParams.set("key", a), f.searchParams.set("libraries", "places"), f.searchParams.set("loading", "async"), n && f.searchParams.set("language", n), p.src = f.toString(), p.async = !0, p.defer = !0, p.setAttribute("data-google-maps-places", "true"), p.onload = () => {
|
|
1227
1227
|
const u = Date.now(), c = () => {
|
|
1228
1228
|
if (window.google?.maps?.places) {
|
|
1229
1229
|
l();
|
|
@@ -1240,51 +1240,51 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1240
1240
|
window.setTimeout(c, 50);
|
|
1241
1241
|
};
|
|
1242
1242
|
c();
|
|
1243
|
-
},
|
|
1244
|
-
}), Be),
|
|
1245
|
-
const { apiKey:
|
|
1243
|
+
}, p.onerror = () => d(new Error("Failed to load Google Maps API")), document.head.appendChild(p);
|
|
1244
|
+
}), Be), Tn = (a) => {
|
|
1245
|
+
const { apiKey: n, language: l = "en", restrictCountry: d } = a, [o, p] = H(!1), [f, u] = H([]), [c, b] = H(!1), [h, _] = H(null), x = K(null), E = K(null), j = K(null);
|
|
1246
1246
|
G(() => {
|
|
1247
|
-
if (!
|
|
1248
|
-
|
|
1247
|
+
if (!n) {
|
|
1248
|
+
p(!1), _(null);
|
|
1249
1249
|
return;
|
|
1250
1250
|
}
|
|
1251
|
-
|
|
1251
|
+
Pn(n, l).then(() => {
|
|
1252
1252
|
x.current = new google.maps.places.AutocompleteService();
|
|
1253
|
-
const
|
|
1254
|
-
|
|
1255
|
-
}).catch((
|
|
1256
|
-
|
|
1253
|
+
const y = document.createElement("div");
|
|
1254
|
+
E.current = new google.maps.places.PlacesService(y), j.current = new google.maps.places.AutocompleteSessionToken(), p(!0), _(null);
|
|
1255
|
+
}).catch((y) => {
|
|
1256
|
+
p(!1), _(y?.message || "Failed to load location service");
|
|
1257
1257
|
});
|
|
1258
|
-
}, [
|
|
1259
|
-
const
|
|
1260
|
-
async (
|
|
1261
|
-
if (!
|
|
1258
|
+
}, [n, l]);
|
|
1259
|
+
const k = Pe(
|
|
1260
|
+
async (y) => {
|
|
1261
|
+
if (!y || y.length < 2 || !x.current) {
|
|
1262
1262
|
u([]);
|
|
1263
1263
|
return;
|
|
1264
1264
|
}
|
|
1265
1265
|
b(!0);
|
|
1266
1266
|
try {
|
|
1267
1267
|
const A = {
|
|
1268
|
-
input:
|
|
1268
|
+
input: y,
|
|
1269
1269
|
types: ["(cities)"],
|
|
1270
1270
|
sessionToken: j.current ?? void 0
|
|
1271
1271
|
};
|
|
1272
1272
|
d && (A.componentRestrictions = { country: d });
|
|
1273
|
-
const
|
|
1273
|
+
const U = await new Promise((C, Q) => {
|
|
1274
1274
|
x.current.getPlacePredictions(
|
|
1275
1275
|
A,
|
|
1276
|
-
(
|
|
1277
|
-
|
|
1276
|
+
(O, V) => {
|
|
1277
|
+
V === google.maps.places.PlacesServiceStatus.OK && O ? C(O) : V === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? C([]) : Q(new Error(`Places API error: ${V}`));
|
|
1278
1278
|
}
|
|
1279
1279
|
);
|
|
1280
1280
|
});
|
|
1281
1281
|
u(
|
|
1282
|
-
|
|
1283
|
-
place_id:
|
|
1284
|
-
description:
|
|
1282
|
+
U.map((C) => ({
|
|
1283
|
+
place_id: C.place_id,
|
|
1284
|
+
description: C.description,
|
|
1285
1285
|
structured_formatting: {
|
|
1286
|
-
main_text:
|
|
1287
|
-
secondary_text:
|
|
1286
|
+
main_text: C.structured_formatting?.main_text || C.description,
|
|
1287
|
+
secondary_text: C.structured_formatting?.secondary_text || ""
|
|
1288
1288
|
}
|
|
1289
1289
|
}))
|
|
1290
1290
|
);
|
|
@@ -1295,156 +1295,156 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1295
1295
|
}
|
|
1296
1296
|
},
|
|
1297
1297
|
[d]
|
|
1298
|
-
), w =
|
|
1299
|
-
async (
|
|
1300
|
-
if (!
|
|
1298
|
+
), w = Pe(
|
|
1299
|
+
async (y) => {
|
|
1300
|
+
if (!E.current) return null;
|
|
1301
1301
|
try {
|
|
1302
1302
|
const A = await new Promise(
|
|
1303
|
-
(
|
|
1304
|
-
|
|
1303
|
+
(B, Y) => {
|
|
1304
|
+
E.current.getDetails(
|
|
1305
1305
|
{
|
|
1306
|
-
placeId:
|
|
1306
|
+
placeId: y,
|
|
1307
1307
|
fields: ["geometry", "address_components", "formatted_address"],
|
|
1308
1308
|
sessionToken: j.current ?? void 0
|
|
1309
1309
|
},
|
|
1310
|
-
(
|
|
1311
|
-
|
|
1310
|
+
(Z, F) => {
|
|
1311
|
+
F === google.maps.places.PlacesServiceStatus.OK && Z ? B(Z) : Y(new Error(`Place details error: ${F}`));
|
|
1312
1312
|
}
|
|
1313
1313
|
);
|
|
1314
1314
|
}
|
|
1315
1315
|
);
|
|
1316
1316
|
j.current = new google.maps.places.AutocompleteSessionToken();
|
|
1317
|
-
const
|
|
1318
|
-
let
|
|
1319
|
-
return A.address_components?.forEach((
|
|
1320
|
-
|
|
1317
|
+
const U = A.geometry?.location?.lat() || 0, C = A.geometry?.location?.lng() || 0;
|
|
1318
|
+
let Q = "", O = "", V = "";
|
|
1319
|
+
return A.address_components?.forEach((B) => {
|
|
1320
|
+
B.types.includes("locality") && (Q = B.long_name), B.types.includes("administrative_area_level_1") && (O = B.long_name), B.types.includes("country") && (V = B.long_name);
|
|
1321
1321
|
}), {
|
|
1322
1322
|
display_name: A.formatted_address || "",
|
|
1323
|
-
lat:
|
|
1324
|
-
lng:
|
|
1325
|
-
city:
|
|
1326
|
-
state:
|
|
1327
|
-
country:
|
|
1323
|
+
lat: U,
|
|
1324
|
+
lng: C,
|
|
1325
|
+
city: Q,
|
|
1326
|
+
state: O,
|
|
1327
|
+
country: V
|
|
1328
1328
|
};
|
|
1329
1329
|
} catch {
|
|
1330
1330
|
return null;
|
|
1331
1331
|
}
|
|
1332
1332
|
},
|
|
1333
1333
|
[]
|
|
1334
|
-
),
|
|
1334
|
+
), R = Pe(() => u([]), []);
|
|
1335
1335
|
return {
|
|
1336
1336
|
isLoaded: o,
|
|
1337
1337
|
predictions: f,
|
|
1338
1338
|
isSearching: c,
|
|
1339
|
-
loadError:
|
|
1340
|
-
searchPlaces:
|
|
1339
|
+
loadError: h,
|
|
1340
|
+
searchPlaces: k,
|
|
1341
1341
|
getPlaceDetails: w,
|
|
1342
|
-
clearPredictions:
|
|
1342
|
+
clearPredictions: R
|
|
1343
1343
|
};
|
|
1344
|
-
},
|
|
1344
|
+
}, An = {}, je = {
|
|
1345
1345
|
time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
|
|
1346
1346
|
location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
|
|
1347
1347
|
date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
1348
1348
|
info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
|
|
1349
|
-
},
|
|
1350
|
-
t:
|
|
1351
|
-
values:
|
|
1349
|
+
}, En = ({
|
|
1350
|
+
t: a,
|
|
1351
|
+
values: n,
|
|
1352
1352
|
onChange: l,
|
|
1353
1353
|
analytics: d,
|
|
1354
1354
|
googleMapsApiKey: o,
|
|
1355
|
-
className:
|
|
1355
|
+
className: p = ""
|
|
1356
1356
|
}) => {
|
|
1357
|
-
const f =
|
|
1358
|
-
g.trim() && !b.current[
|
|
1357
|
+
const f = Te(), u = f?.config?.analytics ?? d, c = f?.config.isGlobal ?? !0, b = K({}), h = (r) => l({ ...n, ...r }), _ = (r, g) => {
|
|
1358
|
+
g.trim() && !b.current[r] && (b.current[r] = !0, {
|
|
1359
1359
|
fullName: () => u?.trackNameSectionFilled?.(),
|
|
1360
1360
|
phone: () => u?.trackPhoneSectionFilled?.(),
|
|
1361
1361
|
email: () => u?.trackEmailSectionFilled?.(),
|
|
1362
1362
|
dateOfBirth: () => u?.trackDobFilled?.(),
|
|
1363
1363
|
birthTime: () => u?.trackTimeFilled?.(),
|
|
1364
1364
|
birthPlace: () => u?.trackPlaceOfBirthChosen?.()
|
|
1365
|
-
}[
|
|
1366
|
-
}, x = (
|
|
1367
|
-
|
|
1368
|
-
const j =
|
|
1369
|
-
const g = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(
|
|
1370
|
-
if (!g) return
|
|
1371
|
-
const
|
|
1372
|
-
return `${
|
|
1373
|
-
},
|
|
1374
|
-
const g = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(
|
|
1365
|
+
}[r]?.());
|
|
1366
|
+
}, x = (r) => r.replace(/\D/g, "").slice(0, 10), E = K(null);
|
|
1367
|
+
K(null);
|
|
1368
|
+
const j = K(null), k = K(0), w = K(null), [R, y] = H(!1), [A, U] = H({ hour12: 12, minute: "00", meridiem: "AM" }), C = (r) => String(r).padStart(2, "0"), Q = (r) => {
|
|
1369
|
+
const g = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
|
|
1370
|
+
if (!g) return r;
|
|
1371
|
+
const D = Number(g[1]), ae = g[2], pe = D >= 12 ? "PM" : "AM";
|
|
1372
|
+
return `${D % 12 === 0 ? 12 : D % 12}:${ae} ${pe}`;
|
|
1373
|
+
}, O = (r) => {
|
|
1374
|
+
const g = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
|
|
1375
1375
|
if (!g) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1376
|
-
const
|
|
1377
|
-
return { hour12:
|
|
1378
|
-
},
|
|
1379
|
-
const g = Math.min(12, Math.max(1,
|
|
1380
|
-
let
|
|
1381
|
-
return
|
|
1382
|
-
},
|
|
1376
|
+
const D = Number(g[1]), ae = g[2], pe = D >= 12 ? "PM" : "AM";
|
|
1377
|
+
return { hour12: D % 12 === 0 ? 12 : D % 12, minute: ae, meridiem: pe };
|
|
1378
|
+
}, V = (r) => {
|
|
1379
|
+
const g = Math.min(12, Math.max(1, r.hour12)), D = /^([0-5]\d)$/.test(r.minute) ? r.minute : "00";
|
|
1380
|
+
let ae = g % 12;
|
|
1381
|
+
return r.meridiem === "PM" && (ae += 12), `${C(ae)}:${D}`;
|
|
1382
|
+
}, B = K(null), [Y, Z] = H(!1), [F, W] = H(
|
|
1383
1383
|
null
|
|
1384
|
-
),
|
|
1385
|
-
predictions:
|
|
1386
|
-
isSearching:
|
|
1387
|
-
loadError:
|
|
1388
|
-
searchPlaces:
|
|
1389
|
-
clearPredictions:
|
|
1390
|
-
} =
|
|
1391
|
-
apiKey:
|
|
1392
|
-
language:
|
|
1384
|
+
), z = o ?? An?.VITE_GOOGLE_MAPS_API_KEY, te = (n.birthPlace ?? "").trim(), ue = c ? void 0 : "in", ke = "en", {
|
|
1385
|
+
predictions: ge,
|
|
1386
|
+
isSearching: _e,
|
|
1387
|
+
loadError: be,
|
|
1388
|
+
searchPlaces: me,
|
|
1389
|
+
clearPredictions: he
|
|
1390
|
+
} = Tn({
|
|
1391
|
+
apiKey: z,
|
|
1392
|
+
language: ke,
|
|
1393
1393
|
restrictCountry: ue
|
|
1394
1394
|
});
|
|
1395
1395
|
G(() => {
|
|
1396
|
-
const
|
|
1397
|
-
|
|
1396
|
+
const r = (g) => {
|
|
1397
|
+
B.current && (B.current.contains(g.target) || Z(!1));
|
|
1398
1398
|
};
|
|
1399
|
-
return document.addEventListener("mousedown",
|
|
1399
|
+
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
1400
1400
|
}, []), G(() => {
|
|
1401
|
-
if (!
|
|
1402
|
-
if (
|
|
1403
|
-
|
|
1401
|
+
if (!Y) return;
|
|
1402
|
+
if (te.length < 2) {
|
|
1403
|
+
he();
|
|
1404
1404
|
return;
|
|
1405
1405
|
}
|
|
1406
|
-
const
|
|
1407
|
-
await
|
|
1406
|
+
const r = window.setTimeout(async () => {
|
|
1407
|
+
await me(te);
|
|
1408
1408
|
}, 250);
|
|
1409
|
-
return () => window.clearTimeout(
|
|
1410
|
-
}, [
|
|
1411
|
-
const
|
|
1412
|
-
const g =
|
|
1409
|
+
return () => window.clearTimeout(r);
|
|
1410
|
+
}, [he, Y, te, me]);
|
|
1411
|
+
const $ = (r) => {
|
|
1412
|
+
const g = r.current;
|
|
1413
1413
|
if (!(!g || g.disabled)) {
|
|
1414
|
-
if (document.activeElement === g && j.current === g && Date.now() -
|
|
1414
|
+
if (document.activeElement === g && j.current === g && Date.now() - k.current < 6e4) {
|
|
1415
1415
|
g.blur();
|
|
1416
1416
|
return;
|
|
1417
1417
|
}
|
|
1418
1418
|
if (typeof g.showPicker == "function") {
|
|
1419
|
-
g.showPicker(), j.current = g,
|
|
1419
|
+
g.showPicker(), j.current = g, k.current = Date.now();
|
|
1420
1420
|
return;
|
|
1421
1421
|
}
|
|
1422
|
-
g.focus(), j.current = g,
|
|
1422
|
+
g.focus(), j.current = g, k.current = Date.now();
|
|
1423
1423
|
}
|
|
1424
1424
|
};
|
|
1425
1425
|
return G(() => {
|
|
1426
|
-
const
|
|
1427
|
-
w.current && (w.current.contains(g.target) ||
|
|
1426
|
+
const r = (g) => {
|
|
1427
|
+
w.current && (w.current.contains(g.target) || y(!1));
|
|
1428
1428
|
};
|
|
1429
|
-
return document.addEventListener("mousedown",
|
|
1429
|
+
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
1430
1430
|
}, []), G(() => {
|
|
1431
|
-
const
|
|
1432
|
-
|
|
1433
|
-
}, g = (
|
|
1434
|
-
|
|
1431
|
+
const r = (D) => {
|
|
1432
|
+
D.target?.closest?.("[data-info-tooltip]") == null && W(null);
|
|
1433
|
+
}, g = (D) => {
|
|
1434
|
+
D.key === "Escape" && W(null);
|
|
1435
1435
|
};
|
|
1436
|
-
return document.addEventListener("mousedown",
|
|
1437
|
-
document.removeEventListener("mousedown",
|
|
1436
|
+
return document.addEventListener("mousedown", r), document.addEventListener("keydown", g), () => {
|
|
1437
|
+
document.removeEventListener("mousedown", r), document.removeEventListener("keydown", g);
|
|
1438
1438
|
};
|
|
1439
1439
|
}, []), /* @__PURE__ */ e.jsx(
|
|
1440
1440
|
"section",
|
|
1441
1441
|
{
|
|
1442
|
-
className: `${s.wrap} ${
|
|
1443
|
-
"aria-label":
|
|
1442
|
+
className: `${s.wrap} ${p}`,
|
|
1443
|
+
"aria-label": a("formTitle"),
|
|
1444
1444
|
children: /* @__PURE__ */ e.jsx("div", { className: s.card, children: /* @__PURE__ */ e.jsxs("div", { className: s.cardInner, children: [
|
|
1445
1445
|
/* @__PURE__ */ e.jsxs("div", { className: s.field, children: [
|
|
1446
1446
|
/* @__PURE__ */ e.jsx("div", { className: s.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: s.label, htmlFor: "kundli-full-name", children: [
|
|
1447
|
-
|
|
1447
|
+
a("formFullName"),
|
|
1448
1448
|
/* @__PURE__ */ e.jsx("span", { className: s.req, children: "*" })
|
|
1449
1449
|
] }) }),
|
|
1450
1450
|
/* @__PURE__ */ e.jsx("div", { className: s.inputWrap, children: /* @__PURE__ */ e.jsx(
|
|
@@ -1453,20 +1453,20 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1453
1453
|
id: "kundli-full-name",
|
|
1454
1454
|
className: s.input,
|
|
1455
1455
|
type: "text",
|
|
1456
|
-
value:
|
|
1456
|
+
value: n.fullName,
|
|
1457
1457
|
onFocus: () => u?.trackNameSectionClicked?.(),
|
|
1458
|
-
onChange: (
|
|
1459
|
-
const g =
|
|
1460
|
-
|
|
1458
|
+
onChange: (r) => {
|
|
1459
|
+
const g = r.target.value;
|
|
1460
|
+
h({ fullName: g }), _("fullName", g);
|
|
1461
1461
|
},
|
|
1462
|
-
placeholder:
|
|
1462
|
+
placeholder: a("formFullNamePlaceholder"),
|
|
1463
1463
|
autoComplete: "name"
|
|
1464
1464
|
}
|
|
1465
1465
|
) })
|
|
1466
1466
|
] }),
|
|
1467
1467
|
/* @__PURE__ */ e.jsxs("div", { className: s.field, children: [
|
|
1468
1468
|
/* @__PURE__ */ e.jsx("div", { className: s.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: s.label, htmlFor: "kundli-phone", children: [
|
|
1469
|
-
|
|
1469
|
+
a("formPhone"),
|
|
1470
1470
|
!c && /* @__PURE__ */ e.jsx("span", { className: s.req, children: "*" })
|
|
1471
1471
|
] }) }),
|
|
1472
1472
|
/* @__PURE__ */ e.jsx("div", { className: s.inputWrap, children: /* @__PURE__ */ e.jsx(
|
|
@@ -1475,13 +1475,13 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1475
1475
|
id: "kundli-phone",
|
|
1476
1476
|
className: s.input,
|
|
1477
1477
|
type: "tel",
|
|
1478
|
-
value:
|
|
1478
|
+
value: n.phone ?? "",
|
|
1479
1479
|
onFocus: () => u?.trackPhoneSectionClicked?.(),
|
|
1480
|
-
onChange: (
|
|
1481
|
-
const g =
|
|
1482
|
-
|
|
1480
|
+
onChange: (r) => {
|
|
1481
|
+
const g = r.target.value;
|
|
1482
|
+
h({ phone: x(g) }), _("phone", x(g));
|
|
1483
1483
|
},
|
|
1484
|
-
placeholder:
|
|
1484
|
+
placeholder: a("formPhonePlaceholder"),
|
|
1485
1485
|
autoComplete: "tel",
|
|
1486
1486
|
inputMode: "numeric",
|
|
1487
1487
|
pattern: "[0-9]{10}",
|
|
@@ -1493,19 +1493,19 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1493
1493
|
] }),
|
|
1494
1494
|
c && /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: s.field, children: [
|
|
1495
1495
|
/* @__PURE__ */ e.jsx("div", { className: s.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: s.label, htmlFor: "kundli-email", children: [
|
|
1496
|
-
|
|
1496
|
+
a("formEmail"),
|
|
1497
1497
|
/* @__PURE__ */ e.jsx("span", { className: s.req, children: "*" })
|
|
1498
1498
|
] }) }),
|
|
1499
|
-
/* @__PURE__ */ e.jsx("div", { className: s.help, children:
|
|
1499
|
+
/* @__PURE__ */ e.jsx("div", { className: s.help, children: a("formEmailHelp") }),
|
|
1500
1500
|
/* @__PURE__ */ e.jsx("div", { className: s.inputWrap, children: /* @__PURE__ */ e.jsx(
|
|
1501
1501
|
"input",
|
|
1502
1502
|
{
|
|
1503
1503
|
id: "kundli-email",
|
|
1504
1504
|
className: s.input,
|
|
1505
1505
|
type: "email",
|
|
1506
|
-
value:
|
|
1507
|
-
onChange: (
|
|
1508
|
-
placeholder:
|
|
1506
|
+
value: n.email,
|
|
1507
|
+
onChange: (r) => h({ email: r.target.value }),
|
|
1508
|
+
placeholder: a("formEmailPlaceholder"),
|
|
1509
1509
|
autoComplete: "email",
|
|
1510
1510
|
required: !0,
|
|
1511
1511
|
"aria-required": !0
|
|
@@ -1515,7 +1515,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1515
1515
|
/* @__PURE__ */ e.jsxs("div", { className: s.field, children: [
|
|
1516
1516
|
/* @__PURE__ */ e.jsxs("div", { className: s.labelRow, children: [
|
|
1517
1517
|
/* @__PURE__ */ e.jsxs("label", { className: s.label, htmlFor: "kundli-dob", children: [
|
|
1518
|
-
|
|
1518
|
+
a("formDob"),
|
|
1519
1519
|
/* @__PURE__ */ e.jsx("span", { className: s.req, children: "*" })
|
|
1520
1520
|
] }),
|
|
1521
1521
|
/* @__PURE__ */ e.jsxs("div", { className: s.infoWrap, "data-info-tooltip": !0, children: [
|
|
@@ -1524,24 +1524,24 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1524
1524
|
{
|
|
1525
1525
|
type: "button",
|
|
1526
1526
|
className: s.infoBtn,
|
|
1527
|
-
"aria-label":
|
|
1528
|
-
"aria-expanded":
|
|
1527
|
+
"aria-label": a("info"),
|
|
1528
|
+
"aria-expanded": F === "dob",
|
|
1529
1529
|
onClick: () => {
|
|
1530
|
-
|
|
1530
|
+
W((r) => r === "dob" ? null : "dob"), u?.trackInfoIconClicked?.({ fieldName: "dob" });
|
|
1531
1531
|
},
|
|
1532
1532
|
children: /* @__PURE__ */ e.jsx(
|
|
1533
1533
|
"img",
|
|
1534
1534
|
{
|
|
1535
1535
|
className: s.infoImg,
|
|
1536
|
-
src:
|
|
1536
|
+
src: je.info,
|
|
1537
1537
|
alt: "",
|
|
1538
1538
|
"aria-hidden": !0
|
|
1539
1539
|
}
|
|
1540
1540
|
)
|
|
1541
1541
|
}
|
|
1542
1542
|
),
|
|
1543
|
-
|
|
1544
|
-
|
|
1543
|
+
F === "dob" && /* @__PURE__ */ e.jsxs("div", { className: s.tooltip, role: "tooltip", children: [
|
|
1544
|
+
a("formDobInfo"),
|
|
1545
1545
|
/* @__PURE__ */ e.jsx("span", { className: s.tooltipArrow, "aria-hidden": !0 })
|
|
1546
1546
|
] })
|
|
1547
1547
|
] })
|
|
@@ -1553,20 +1553,20 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1553
1553
|
id: "kundli-dob",
|
|
1554
1554
|
className: s.input,
|
|
1555
1555
|
type: "date",
|
|
1556
|
-
ref:
|
|
1557
|
-
value:
|
|
1556
|
+
ref: E,
|
|
1557
|
+
value: n.dateOfBirth,
|
|
1558
1558
|
max: (() => {
|
|
1559
|
-
const
|
|
1560
|
-
return `${
|
|
1559
|
+
const r = /* @__PURE__ */ new Date();
|
|
1560
|
+
return `${r.getFullYear()}-${C(r.getMonth() + 1)}-${C(r.getDate())}`;
|
|
1561
1561
|
})(),
|
|
1562
|
-
onChange: (
|
|
1563
|
-
const g =
|
|
1564
|
-
g && g >
|
|
1562
|
+
onChange: (r) => {
|
|
1563
|
+
const g = r.target.value, D = /* @__PURE__ */ new Date(), ae = `${D.getFullYear()}-${C(D.getMonth() + 1)}-${C(D.getDate())}`;
|
|
1564
|
+
g && g > ae || (h({ dateOfBirth: g }), _("dateOfBirth", g), j.current = null);
|
|
1565
1565
|
},
|
|
1566
1566
|
onFocus: () => u?.trackDobClicked?.(),
|
|
1567
|
-
onClick: () =>
|
|
1567
|
+
onClick: () => $(E),
|
|
1568
1568
|
onBlur: () => {
|
|
1569
|
-
j.current ===
|
|
1569
|
+
j.current === E.current && (j.current = null);
|
|
1570
1570
|
}
|
|
1571
1571
|
}
|
|
1572
1572
|
),
|
|
@@ -1576,15 +1576,15 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1576
1576
|
type: "button",
|
|
1577
1577
|
className: `${s.iconBtn} ${s.iconBtnInteractive}`,
|
|
1578
1578
|
"aria-label": "Open date picker",
|
|
1579
|
-
onMouseDown: (
|
|
1580
|
-
onClick: (
|
|
1581
|
-
|
|
1579
|
+
onMouseDown: (r) => r.preventDefault(),
|
|
1580
|
+
onClick: (r) => {
|
|
1581
|
+
r.preventDefault(), r.stopPropagation(), $(E);
|
|
1582
1582
|
},
|
|
1583
1583
|
children: /* @__PURE__ */ e.jsx(
|
|
1584
1584
|
"img",
|
|
1585
1585
|
{
|
|
1586
1586
|
className: s.iconImg,
|
|
1587
|
-
src:
|
|
1587
|
+
src: je.date,
|
|
1588
1588
|
alt: "",
|
|
1589
1589
|
"aria-hidden": !0
|
|
1590
1590
|
}
|
|
@@ -1596,7 +1596,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1596
1596
|
/* @__PURE__ */ e.jsxs("div", { className: s.field, children: [
|
|
1597
1597
|
/* @__PURE__ */ e.jsxs("div", { className: s.labelRow, children: [
|
|
1598
1598
|
/* @__PURE__ */ e.jsxs("label", { className: s.label, htmlFor: "kundli-birth-time", children: [
|
|
1599
|
-
|
|
1599
|
+
a("formBirthTime"),
|
|
1600
1600
|
/* @__PURE__ */ e.jsx("span", { className: s.req, children: "*" })
|
|
1601
1601
|
] }),
|
|
1602
1602
|
/* @__PURE__ */ e.jsxs("div", { className: s.infoWrap, "data-info-tooltip": !0, children: [
|
|
@@ -1605,24 +1605,24 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1605
1605
|
{
|
|
1606
1606
|
type: "button",
|
|
1607
1607
|
className: s.infoBtn,
|
|
1608
|
-
"aria-label":
|
|
1609
|
-
"aria-expanded":
|
|
1608
|
+
"aria-label": a("info"),
|
|
1609
|
+
"aria-expanded": F === "time",
|
|
1610
1610
|
onClick: () => {
|
|
1611
|
-
u?.trackInfoIconClicked?.({ fieldName: "time" }),
|
|
1611
|
+
u?.trackInfoIconClicked?.({ fieldName: "time" }), W((r) => r === "time" ? null : "time");
|
|
1612
1612
|
},
|
|
1613
1613
|
children: /* @__PURE__ */ e.jsx(
|
|
1614
1614
|
"img",
|
|
1615
1615
|
{
|
|
1616
1616
|
className: s.infoImg,
|
|
1617
|
-
src:
|
|
1617
|
+
src: je.info,
|
|
1618
1618
|
alt: "",
|
|
1619
1619
|
"aria-hidden": !0
|
|
1620
1620
|
}
|
|
1621
1621
|
)
|
|
1622
1622
|
}
|
|
1623
1623
|
),
|
|
1624
|
-
|
|
1625
|
-
|
|
1624
|
+
F === "time" && /* @__PURE__ */ e.jsxs("div", { className: s.tooltip, role: "tooltip", children: [
|
|
1625
|
+
a("formBirthTimeInfo"),
|
|
1626
1626
|
/* @__PURE__ */ e.jsx("span", { className: s.tooltipArrow, "aria-hidden": !0 })
|
|
1627
1627
|
] })
|
|
1628
1628
|
] })
|
|
@@ -1634,17 +1634,17 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1634
1634
|
id: "kundli-birth-time",
|
|
1635
1635
|
className: s.input,
|
|
1636
1636
|
type: "text",
|
|
1637
|
-
value:
|
|
1637
|
+
value: n.birthTime ? Q(n.birthTime) : "",
|
|
1638
1638
|
readOnly: !0,
|
|
1639
1639
|
onFocus: () => u?.trackTimeClicked?.(),
|
|
1640
|
-
onChange: (
|
|
1641
|
-
const g =
|
|
1642
|
-
|
|
1640
|
+
onChange: (r) => {
|
|
1641
|
+
const g = r.target.value;
|
|
1642
|
+
h({ birthTime: g }), _("birthTime", g);
|
|
1643
1643
|
},
|
|
1644
|
-
disabled:
|
|
1644
|
+
disabled: n.birthTimeUnknown,
|
|
1645
1645
|
placeholder: "HH:MM AM",
|
|
1646
1646
|
onClick: () => {
|
|
1647
|
-
|
|
1647
|
+
n.birthTimeUnknown || (U(O(n.birthTime || "12:00")), y((r) => !r));
|
|
1648
1648
|
}
|
|
1649
1649
|
}
|
|
1650
1650
|
),
|
|
@@ -1654,23 +1654,23 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1654
1654
|
type: "button",
|
|
1655
1655
|
className: `${s.iconBtn} ${s.iconBtnInteractive}`,
|
|
1656
1656
|
"aria-label": "Open time picker",
|
|
1657
|
-
disabled:
|
|
1658
|
-
onMouseDown: (
|
|
1659
|
-
onClick: (
|
|
1660
|
-
|
|
1657
|
+
disabled: n.birthTimeUnknown,
|
|
1658
|
+
onMouseDown: (r) => r.preventDefault(),
|
|
1659
|
+
onClick: (r) => {
|
|
1660
|
+
r.preventDefault(), r.stopPropagation(), !n.birthTimeUnknown && (U(O(n.birthTime || "12:00")), y((g) => !g));
|
|
1661
1661
|
},
|
|
1662
1662
|
children: /* @__PURE__ */ e.jsx(
|
|
1663
1663
|
"img",
|
|
1664
1664
|
{
|
|
1665
1665
|
className: s.iconImg,
|
|
1666
|
-
src:
|
|
1666
|
+
src: je.time,
|
|
1667
1667
|
alt: "",
|
|
1668
1668
|
"aria-hidden": !0
|
|
1669
1669
|
}
|
|
1670
1670
|
)
|
|
1671
1671
|
}
|
|
1672
1672
|
),
|
|
1673
|
-
|
|
1673
|
+
R && !n.birthTimeUnknown && /* @__PURE__ */ e.jsxs(
|
|
1674
1674
|
"div",
|
|
1675
1675
|
{
|
|
1676
1676
|
className: s.timePopover,
|
|
@@ -1683,12 +1683,12 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1683
1683
|
{
|
|
1684
1684
|
className: s.timePickerSelect,
|
|
1685
1685
|
value: A.hour12,
|
|
1686
|
-
onChange: (
|
|
1686
|
+
onChange: (r) => U((g) => ({
|
|
1687
1687
|
...g,
|
|
1688
|
-
hour12: Number(
|
|
1688
|
+
hour12: Number(r.target.value)
|
|
1689
1689
|
})),
|
|
1690
1690
|
"aria-label": "Hour",
|
|
1691
|
-
children: Array.from({ length: 12 }, (
|
|
1691
|
+
children: Array.from({ length: 12 }, (r, g) => g + 1).map((r) => /* @__PURE__ */ e.jsx("option", { value: r, children: r }, r))
|
|
1692
1692
|
}
|
|
1693
1693
|
),
|
|
1694
1694
|
/* @__PURE__ */ e.jsx("span", { className: s.timePickerColon, children: ":" }),
|
|
@@ -1697,10 +1697,10 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1697
1697
|
{
|
|
1698
1698
|
className: s.timePickerSelect,
|
|
1699
1699
|
value: A.minute,
|
|
1700
|
-
onChange: (
|
|
1700
|
+
onChange: (r) => U((g) => ({ ...g, minute: r.target.value })),
|
|
1701
1701
|
"aria-label": "Minute",
|
|
1702
|
-
children: Array.from({ length: 60 }, (
|
|
1703
|
-
(
|
|
1702
|
+
children: Array.from({ length: 60 }, (r, g) => C(g)).map(
|
|
1703
|
+
(r) => /* @__PURE__ */ e.jsx("option", { value: r, children: r }, r)
|
|
1704
1704
|
)
|
|
1705
1705
|
}
|
|
1706
1706
|
),
|
|
@@ -1710,7 +1710,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1710
1710
|
{
|
|
1711
1711
|
type: "button",
|
|
1712
1712
|
className: `${s.meridiemBtn} ${A.meridiem === "AM" ? s.meridiemActive : ""}`,
|
|
1713
|
-
onClick: () =>
|
|
1713
|
+
onClick: () => U((r) => ({ ...r, meridiem: "AM" })),
|
|
1714
1714
|
children: "AM"
|
|
1715
1715
|
}
|
|
1716
1716
|
),
|
|
@@ -1719,7 +1719,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1719
1719
|
{
|
|
1720
1720
|
type: "button",
|
|
1721
1721
|
className: `${s.meridiemBtn} ${A.meridiem === "PM" ? s.meridiemActive : ""}`,
|
|
1722
|
-
onClick: () =>
|
|
1722
|
+
onClick: () => U((r) => ({ ...r, meridiem: "PM" })),
|
|
1723
1723
|
children: "PM"
|
|
1724
1724
|
}
|
|
1725
1725
|
)
|
|
@@ -1731,7 +1731,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1731
1731
|
{
|
|
1732
1732
|
type: "button",
|
|
1733
1733
|
className: s.timePopoverBtn,
|
|
1734
|
-
onClick: () =>
|
|
1734
|
+
onClick: () => y(!1),
|
|
1735
1735
|
children: "Cancel"
|
|
1736
1736
|
}
|
|
1737
1737
|
),
|
|
@@ -1741,8 +1741,8 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1741
1741
|
type: "button",
|
|
1742
1742
|
className: `${s.timePopoverBtn} ${s.timePopoverOk}`,
|
|
1743
1743
|
onClick: () => {
|
|
1744
|
-
const
|
|
1745
|
-
|
|
1744
|
+
const r = V(A);
|
|
1745
|
+
h({ birthTime: r }), _("birthTime", r), y(!1);
|
|
1746
1746
|
},
|
|
1747
1747
|
"aria-label": "OK",
|
|
1748
1748
|
children: /* @__PURE__ */ e.jsx(
|
|
@@ -1780,11 +1780,11 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1780
1780
|
id: "kundli-time-unknown",
|
|
1781
1781
|
className: s.checkbox,
|
|
1782
1782
|
type: "checkbox",
|
|
1783
|
-
checked:
|
|
1784
|
-
onChange: (
|
|
1785
|
-
u?.trackTimeCheckboxClicked?.(),
|
|
1786
|
-
birthTimeUnknown:
|
|
1787
|
-
birthTime:
|
|
1783
|
+
checked: n.birthTimeUnknown,
|
|
1784
|
+
onChange: (r) => {
|
|
1785
|
+
u?.trackTimeCheckboxClicked?.(), h({
|
|
1786
|
+
birthTimeUnknown: r.target.checked,
|
|
1787
|
+
birthTime: r.target.checked ? "" : n.birthTime
|
|
1788
1788
|
});
|
|
1789
1789
|
}
|
|
1790
1790
|
}
|
|
@@ -1795,9 +1795,9 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1795
1795
|
className: s.checkboxText,
|
|
1796
1796
|
htmlFor: "kundli-time-unknown",
|
|
1797
1797
|
children: [
|
|
1798
|
-
|
|
1798
|
+
a("formBirthTimeUnknownLine1"),
|
|
1799
1799
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
1800
|
-
|
|
1800
|
+
a("formBirthTimeUnknownLine2")
|
|
1801
1801
|
]
|
|
1802
1802
|
}
|
|
1803
1803
|
)
|
|
@@ -1806,7 +1806,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1806
1806
|
/* @__PURE__ */ e.jsxs("div", { className: s.field, children: [
|
|
1807
1807
|
/* @__PURE__ */ e.jsxs("div", { className: s.labelRow, children: [
|
|
1808
1808
|
/* @__PURE__ */ e.jsxs("label", { className: s.label, htmlFor: "kundli-birth-place", children: [
|
|
1809
|
-
|
|
1809
|
+
a("formBirthPlace"),
|
|
1810
1810
|
/* @__PURE__ */ e.jsx("span", { className: s.req, children: "*" })
|
|
1811
1811
|
] }),
|
|
1812
1812
|
/* @__PURE__ */ e.jsxs("div", { className: s.infoWrap, "data-info-tooltip": !0, children: [
|
|
@@ -1815,44 +1815,44 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1815
1815
|
{
|
|
1816
1816
|
type: "button",
|
|
1817
1817
|
className: s.infoBtn,
|
|
1818
|
-
"aria-label":
|
|
1819
|
-
"aria-expanded":
|
|
1818
|
+
"aria-label": a("info"),
|
|
1819
|
+
"aria-expanded": F === "place",
|
|
1820
1820
|
onClick: () => {
|
|
1821
|
-
u?.trackInfoIconClicked?.({ fieldName: "birthPlace" }),
|
|
1821
|
+
u?.trackInfoIconClicked?.({ fieldName: "birthPlace" }), W((r) => r === "place" ? null : "place");
|
|
1822
1822
|
},
|
|
1823
1823
|
children: /* @__PURE__ */ e.jsx(
|
|
1824
1824
|
"img",
|
|
1825
1825
|
{
|
|
1826
1826
|
className: s.infoImg,
|
|
1827
|
-
src:
|
|
1827
|
+
src: je.info,
|
|
1828
1828
|
alt: "",
|
|
1829
1829
|
"aria-hidden": !0
|
|
1830
1830
|
}
|
|
1831
1831
|
)
|
|
1832
1832
|
}
|
|
1833
1833
|
),
|
|
1834
|
-
|
|
1835
|
-
|
|
1834
|
+
F === "place" && /* @__PURE__ */ e.jsxs("div", { className: s.tooltip, role: "tooltip", children: [
|
|
1835
|
+
a("formBirthPlaceInfo"),
|
|
1836
1836
|
/* @__PURE__ */ e.jsx("span", { className: s.tooltipArrow, "aria-hidden": !0 })
|
|
1837
1837
|
] })
|
|
1838
1838
|
] })
|
|
1839
1839
|
] }),
|
|
1840
|
-
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref:
|
|
1840
|
+
/* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref: B, children: [
|
|
1841
1841
|
/* @__PURE__ */ e.jsx(
|
|
1842
1842
|
"input",
|
|
1843
1843
|
{
|
|
1844
1844
|
id: "kundli-birth-place",
|
|
1845
1845
|
className: s.input,
|
|
1846
1846
|
type: "text",
|
|
1847
|
-
value:
|
|
1848
|
-
onChange: (
|
|
1849
|
-
const g =
|
|
1850
|
-
|
|
1847
|
+
value: n.birthPlace,
|
|
1848
|
+
onChange: (r) => {
|
|
1849
|
+
const g = r.target.value;
|
|
1850
|
+
h({ birthPlace: g }), _("birthPlace", g), Z(!0);
|
|
1851
1851
|
},
|
|
1852
1852
|
onFocus: () => {
|
|
1853
|
-
u?.trackPlaceOfBirthClicked?.(),
|
|
1853
|
+
u?.trackPlaceOfBirthClicked?.(), Z(!0);
|
|
1854
1854
|
},
|
|
1855
|
-
placeholder:
|
|
1855
|
+
placeholder: a("formBirthPlacePlaceholder"),
|
|
1856
1856
|
autoComplete: "address-level2"
|
|
1857
1857
|
}
|
|
1858
1858
|
),
|
|
@@ -1860,73 +1860,70 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1860
1860
|
"img",
|
|
1861
1861
|
{
|
|
1862
1862
|
className: s.iconImg,
|
|
1863
|
-
src:
|
|
1863
|
+
src: je.location,
|
|
1864
1864
|
alt: "",
|
|
1865
1865
|
"aria-hidden": !0
|
|
1866
1866
|
}
|
|
1867
1867
|
) }),
|
|
1868
|
-
|
|
1868
|
+
Y && ge.length > 0 && /* @__PURE__ */ e.jsx("div", { className: s.suggestions, role: "listbox", children: ge.slice(0, 8).map((r) => /* @__PURE__ */ e.jsxs(
|
|
1869
1869
|
"button",
|
|
1870
1870
|
{
|
|
1871
1871
|
type: "button",
|
|
1872
1872
|
className: s.suggestionItem,
|
|
1873
1873
|
onClick: () => {
|
|
1874
|
-
|
|
1874
|
+
h({ birthPlace: r.description }), he(), Z(!1);
|
|
1875
1875
|
},
|
|
1876
1876
|
children: [
|
|
1877
|
-
/* @__PURE__ */ e.jsx("span", { className: s.suggestionMain, children:
|
|
1878
|
-
|
|
1877
|
+
/* @__PURE__ */ e.jsx("span", { className: s.suggestionMain, children: r.structured_formatting?.main_text ?? r.description }),
|
|
1878
|
+
r.structured_formatting?.secondary_text && /* @__PURE__ */ e.jsx("span", { className: s.suggestionSecondary, children: r.structured_formatting.secondary_text })
|
|
1879
1879
|
]
|
|
1880
1880
|
},
|
|
1881
|
-
|
|
1881
|
+
r.place_id
|
|
1882
1882
|
)) }),
|
|
1883
|
-
|
|
1884
|
-
|
|
1883
|
+
Y && z && _e && /* @__PURE__ */ e.jsx("div", { className: s.suggestionsHint, children: "Loading…" }),
|
|
1884
|
+
Y && z && !_e && !!be && /* @__PURE__ */ e.jsx("div", { className: s.suggestionsHint, children: be })
|
|
1885
1885
|
] })
|
|
1886
1886
|
] })
|
|
1887
1887
|
] }) })
|
|
1888
1888
|
}
|
|
1889
1889
|
);
|
|
1890
|
-
},
|
|
1891
|
-
footer:
|
|
1892
|
-
inner:
|
|
1893
|
-
badges:
|
|
1894
|
-
marqueeTrack:
|
|
1895
|
-
marqueeContent:
|
|
1896
|
-
badge:
|
|
1897
|
-
badgeIcon:
|
|
1898
|
-
ctaWrap:
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
pill: Ba
|
|
1903
|
-
}, It = ({
|
|
1904
|
-
marquee: n,
|
|
1905
|
-
children: r,
|
|
1906
|
-
className: l = ""
|
|
1907
|
-
}) => /* @__PURE__ */ e.jsx("footer", { className: `${L.footer} ${l}`, role: "contentinfo", children: /* @__PURE__ */ e.jsxs("div", { className: L.inner, children: [
|
|
1908
|
-
n != null && /* @__PURE__ */ e.jsx("div", { className: L.badges, "aria-hidden": !0, children: n }),
|
|
1909
|
-
/* @__PURE__ */ e.jsx("div", { className: L.ctaWrap, children: r })
|
|
1910
|
-
] }) }), Ct = ({
|
|
1890
|
+
}, In = "_footer_15g1k_1", Cn = "_inner_15g1k_7", Sn = "_badges_15g1k_11", Rn = "_marqueeTrack_15g1k_18", $n = "_marqueeContent_15g1k_24", Ln = "_badge_15g1k_11", Dn = "_badgeIcon_15g1k_47", On = "_ctaWrap_15g1k_51", Bn = "_ctaButton_15g1k_61", P = {
|
|
1891
|
+
footer: In,
|
|
1892
|
+
inner: Cn,
|
|
1893
|
+
badges: Sn,
|
|
1894
|
+
marqueeTrack: Rn,
|
|
1895
|
+
marqueeContent: $n,
|
|
1896
|
+
badge: Ln,
|
|
1897
|
+
badgeIcon: Dn,
|
|
1898
|
+
ctaWrap: On,
|
|
1899
|
+
ctaButton: Bn
|
|
1900
|
+
}, Rt = ({
|
|
1901
|
+
marquee: a,
|
|
1911
1902
|
children: n,
|
|
1912
|
-
|
|
1903
|
+
className: l = ""
|
|
1904
|
+
}) => /* @__PURE__ */ e.jsx("footer", { className: `${P.footer} ${l}`, role: "contentinfo", children: /* @__PURE__ */ e.jsxs("div", { className: P.inner, children: [
|
|
1905
|
+
a != null && /* @__PURE__ */ e.jsx("div", { className: P.badges, "aria-hidden": !0, children: a }),
|
|
1906
|
+
/* @__PURE__ */ e.jsx("div", { className: P.ctaWrap, children: n })
|
|
1907
|
+
] }) }), $t = ({
|
|
1908
|
+
children: a,
|
|
1909
|
+
href: n,
|
|
1913
1910
|
disabled: l = !1,
|
|
1914
1911
|
onClick: d,
|
|
1915
1912
|
className: o = "",
|
|
1916
|
-
"aria-label":
|
|
1913
|
+
"aria-label": p
|
|
1917
1914
|
}) => {
|
|
1918
|
-
const f = `${
|
|
1919
|
-
return
|
|
1915
|
+
const f = `${P.ctaButton} ${o}`.trim(), u = p != null ? { "aria-label": p } : {};
|
|
1916
|
+
return n != null ? /* @__PURE__ */ e.jsx(
|
|
1920
1917
|
"a",
|
|
1921
1918
|
{
|
|
1922
|
-
href:
|
|
1919
|
+
href: n,
|
|
1923
1920
|
className: f,
|
|
1924
1921
|
target: "_blank",
|
|
1925
1922
|
rel: "noopener noreferrer",
|
|
1926
1923
|
"aria-disabled": l,
|
|
1927
1924
|
onClick: (c) => l && c.preventDefault(),
|
|
1928
1925
|
...u,
|
|
1929
|
-
children:
|
|
1926
|
+
children: a
|
|
1930
1927
|
}
|
|
1931
1928
|
) : /* @__PURE__ */ e.jsx(
|
|
1932
1929
|
"button",
|
|
@@ -1936,88 +1933,107 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1936
1933
|
disabled: l,
|
|
1937
1934
|
onClick: d,
|
|
1938
1935
|
...u,
|
|
1939
|
-
children:
|
|
1936
|
+
children: a
|
|
1940
1937
|
}
|
|
1941
1938
|
);
|
|
1942
|
-
},
|
|
1943
|
-
|
|
1944
|
-
|
|
1939
|
+
}, gt = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", _t = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", bt = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Fn = ({ t: a }) => /* @__PURE__ */ e.jsxs("div", { className: P.marqueeTrack, children: [
|
|
1940
|
+
/* @__PURE__ */ e.jsxs("div", { className: P.marqueeContent, children: [
|
|
1941
|
+
/* @__PURE__ */ e.jsxs("span", { className: P.badge, children: [
|
|
1942
|
+
/* @__PURE__ */ e.jsx("img", { src: gt, alt: "", className: P.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
1943
|
+
a("ctaKundliCreated")
|
|
1944
|
+
] }),
|
|
1945
|
+
/* @__PURE__ */ e.jsxs("span", { className: P.badge, children: [
|
|
1946
|
+
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", className: P.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
1947
|
+
a("ctaCertified")
|
|
1948
|
+
] }),
|
|
1949
|
+
/* @__PURE__ */ e.jsxs("span", { className: P.badge, children: [
|
|
1950
|
+
/* @__PURE__ */ e.jsx("img", { src: bt, alt: "", className: P.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
1951
|
+
a("ctaSecurePayment")
|
|
1952
|
+
] })
|
|
1953
|
+
] }),
|
|
1954
|
+
/* @__PURE__ */ e.jsxs("div", { className: P.marqueeContent, "aria-hidden": !0, children: [
|
|
1955
|
+
/* @__PURE__ */ e.jsxs("span", { className: P.badge, children: [
|
|
1956
|
+
/* @__PURE__ */ e.jsx("img", { src: gt, alt: "", className: P.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
1957
|
+
a("ctaKundliCreated")
|
|
1958
|
+
] }),
|
|
1959
|
+
/* @__PURE__ */ e.jsxs("span", { className: P.badge, children: [
|
|
1960
|
+
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", className: P.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
1961
|
+
a("ctaCertified")
|
|
1962
|
+
] }),
|
|
1963
|
+
/* @__PURE__ */ e.jsxs("span", { className: P.badge, children: [
|
|
1964
|
+
/* @__PURE__ */ e.jsx("img", { src: bt, alt: "", className: P.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
1965
|
+
a("ctaSecurePayment")
|
|
1966
|
+
] })
|
|
1967
|
+
] })
|
|
1968
|
+
] }), Mn = (a) => /.+@.+\..+/.test(a), Un = (a) => /^\d{10}$/.test(a), Wn = ({
|
|
1969
|
+
t: a,
|
|
1970
|
+
values: n,
|
|
1945
1971
|
onProceed: l,
|
|
1946
1972
|
href: d,
|
|
1947
1973
|
analytics: o,
|
|
1948
|
-
className:
|
|
1949
|
-
|
|
1950
|
-
discountedPriceLabel: u,
|
|
1951
|
-
discountPillLabel: c
|
|
1974
|
+
className: p = "",
|
|
1975
|
+
discountedPriceLabel: f
|
|
1952
1976
|
}) => {
|
|
1953
|
-
const
|
|
1954
|
-
if (!
|
|
1955
|
-
if (
|
|
1956
|
-
if (!
|
|
1957
|
-
} else if (!
|
|
1958
|
-
return !(!
|
|
1959
|
-
}, [
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
brandName: Va,
|
|
1991
|
-
rating: za,
|
|
1992
|
-
stars: Qa,
|
|
1993
|
-
langSlot: Ja
|
|
1994
|
-
}, Xa = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", St = ({
|
|
1995
|
-
t: n,
|
|
1996
|
-
languageSelector: r,
|
|
1997
|
-
logoUrl: l = Xa,
|
|
1977
|
+
const c = Te()?.config.isGlobal ?? !0, b = Fe(() => {
|
|
1978
|
+
if (!n.fullName.trim()) return !1;
|
|
1979
|
+
if (c) {
|
|
1980
|
+
if (!Mn(n.email.trim())) return !1;
|
|
1981
|
+
} else if (!Un((n.phone ?? "").trim())) return !1;
|
|
1982
|
+
return !(!n.dateOfBirth || !n.birthPlace.trim() || !n.birthTimeUnknown && !n.birthTime);
|
|
1983
|
+
}, [c, n]), h = c ? f ?? a("formDiscountedPrice") : "₹499", _ = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1984
|
+
a("formProceed"),
|
|
1985
|
+
h
|
|
1986
|
+
] }), x = /* @__PURE__ */ e.jsx(
|
|
1987
|
+
$t,
|
|
1988
|
+
{
|
|
1989
|
+
href: d,
|
|
1990
|
+
disabled: !b,
|
|
1991
|
+
onClick: () => {
|
|
1992
|
+
o?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), l?.(n);
|
|
1993
|
+
},
|
|
1994
|
+
"aria-label": a("formPriceAria"),
|
|
1995
|
+
children: _
|
|
1996
|
+
}
|
|
1997
|
+
);
|
|
1998
|
+
return /* @__PURE__ */ e.jsx(Rt, { className: p, marquee: /* @__PURE__ */ e.jsx(Fn, { t: a }), children: x });
|
|
1999
|
+
}, qn = "_header_dbx4y_1", Kn = "_brand_dbx4y_7", Hn = "_logo_dbx4y_11", Gn = "_logoImg_dbx4y_15", Yn = "_logoPlaceholder_dbx4y_21", Vn = "_brandText_dbx4y_29", zn = "_brandName_dbx4y_33", Qn = "_rating_dbx4y_38", Jn = "_stars_dbx4y_44", Xn = "_langSlot_dbx4y_49", oe = {
|
|
2000
|
+
header: qn,
|
|
2001
|
+
brand: Kn,
|
|
2002
|
+
logo: Hn,
|
|
2003
|
+
logoImg: Gn,
|
|
2004
|
+
logoPlaceholder: Yn,
|
|
2005
|
+
brandText: Vn,
|
|
2006
|
+
brandName: zn,
|
|
2007
|
+
rating: Qn,
|
|
2008
|
+
stars: Jn,
|
|
2009
|
+
langSlot: Xn
|
|
2010
|
+
}, Zn = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Lt = ({
|
|
2011
|
+
t: a,
|
|
2012
|
+
languageSelector: n,
|
|
2013
|
+
logoUrl: l = Zn,
|
|
1998
2014
|
className: d = ""
|
|
1999
2015
|
}) => {
|
|
2000
|
-
const
|
|
2001
|
-
return /* @__PURE__ */ e.jsxs("header", { className: `${
|
|
2002
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2003
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2004
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2005
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2006
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2007
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2008
|
-
|
|
2016
|
+
const p = Te()?.config.isGlobal ?? !0, f = n && !p;
|
|
2017
|
+
return /* @__PURE__ */ e.jsxs("header", { className: `${oe.header} ${d}`, children: [
|
|
2018
|
+
/* @__PURE__ */ e.jsxs("div", { className: oe.brand, children: [
|
|
2019
|
+
/* @__PURE__ */ e.jsx("div", { className: oe.logo, children: l ? /* @__PURE__ */ e.jsx("img", { src: l, alt: a("sriMandir"), className: oe.logoImg }) : /* @__PURE__ */ e.jsx("div", { className: oe.logoPlaceholder, "aria-hidden": !0 }) }),
|
|
2020
|
+
/* @__PURE__ */ e.jsxs("div", { className: oe.brandText, children: [
|
|
2021
|
+
/* @__PURE__ */ e.jsx("span", { className: oe.brandName, children: a("sriMandir") }),
|
|
2022
|
+
/* @__PURE__ */ e.jsxs("span", { className: oe.rating, children: [
|
|
2023
|
+
/* @__PURE__ */ e.jsx("span", { className: oe.stars, "aria-hidden": !0, children: "★" }),
|
|
2024
|
+
a("ratingText")
|
|
2009
2025
|
] })
|
|
2010
2026
|
] })
|
|
2011
2027
|
] }),
|
|
2012
|
-
f && /* @__PURE__ */ e.jsx("div", { className:
|
|
2028
|
+
f && /* @__PURE__ */ e.jsx("div", { className: oe.langSlot, children: n })
|
|
2013
2029
|
] });
|
|
2014
|
-
},
|
|
2015
|
-
hero:
|
|
2016
|
-
title:
|
|
2017
|
-
subtitle:
|
|
2030
|
+
}, er = "_hero_okj8x_1", tr = "_title_okj8x_5", ar = "_subtitle_okj8x_10", nr = "_topicTags_okj8x_23", rr = "_tag_okj8x_27", Se = {
|
|
2031
|
+
hero: er,
|
|
2032
|
+
title: tr,
|
|
2033
|
+
subtitle: ar,
|
|
2018
2034
|
topicTags: nr,
|
|
2019
|
-
tag:
|
|
2020
|
-
},
|
|
2035
|
+
tag: rr
|
|
2036
|
+
}, ir = [
|
|
2021
2037
|
"topicMarriage",
|
|
2022
2038
|
"topicRelationship",
|
|
2023
2039
|
"topicBusiness",
|
|
@@ -2025,31 +2041,31 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2025
2041
|
"topicCareer",
|
|
2026
2042
|
"topicEducation",
|
|
2027
2043
|
"topicMoney"
|
|
2028
|
-
],
|
|
2029
|
-
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: Se.title, children:
|
|
2030
|
-
/* @__PURE__ */ e.jsx("p", { className: Se.subtitle, children:
|
|
2031
|
-
/* @__PURE__ */ e.jsx("div", { className: Se.topicTags, role: "list", children:
|
|
2032
|
-
] }), or = "_section_j2cgl_1",
|
|
2044
|
+
], sr = ({ t: a, className: n = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${Se.hero} ${n}`, "aria-labelledby": "hero-title", children: [
|
|
2045
|
+
/* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: Se.title, children: a("heroTitle") }),
|
|
2046
|
+
/* @__PURE__ */ e.jsx("p", { className: Se.subtitle, children: a("heroSubtitle") }),
|
|
2047
|
+
/* @__PURE__ */ e.jsx("div", { className: Se.topicTags, role: "list", children: ir.map((l) => /* @__PURE__ */ e.jsx("span", { className: Se.tag, role: "listitem", children: a(l) }, l)) })
|
|
2048
|
+
] }), or = "_section_j2cgl_1", cr = "_inner_j2cgl_9", lr = "_content_j2cgl_14", dr = "_headline_j2cgl_18", ur = "_headlineLine_j2cgl_23", mr = "_headlinePill_j2cgl_28", hr = "_headlinePlain_j2cgl_43", pr = "_featureList_j2cgl_54", fr = "_featureItem_j2cgl_61", gr = "_featureIcon_j2cgl_66", _r = "_reportImage_j2cgl_73", br = "_reportImg_j2cgl_83", X = {
|
|
2033
2049
|
section: or,
|
|
2034
|
-
inner:
|
|
2035
|
-
content:
|
|
2036
|
-
headline:
|
|
2037
|
-
headlineLine:
|
|
2038
|
-
headlinePill:
|
|
2039
|
-
headlinePlain:
|
|
2050
|
+
inner: cr,
|
|
2051
|
+
content: lr,
|
|
2052
|
+
headline: dr,
|
|
2053
|
+
headlineLine: ur,
|
|
2054
|
+
headlinePill: mr,
|
|
2055
|
+
headlinePlain: hr,
|
|
2040
2056
|
featureList: pr,
|
|
2041
|
-
featureItem:
|
|
2042
|
-
featureIcon:
|
|
2043
|
-
reportImage:
|
|
2044
|
-
reportImg:
|
|
2045
|
-
},
|
|
2057
|
+
featureItem: fr,
|
|
2058
|
+
featureIcon: gr,
|
|
2059
|
+
reportImage: _r,
|
|
2060
|
+
reportImg: br
|
|
2061
|
+
}, yr = "https://srm-cdn.a4b.io/yoda/1770363846052.svg", vr = [
|
|
2046
2062
|
"premiumFeature1",
|
|
2047
2063
|
"premiumFeature2",
|
|
2048
2064
|
"premiumFeature3",
|
|
2049
2065
|
"premiumFeature4"
|
|
2050
|
-
],
|
|
2051
|
-
t:
|
|
2052
|
-
reportImageUrl:
|
|
2066
|
+
], kr = "https://srm-cdn.a4b.io/yoda/1770710060606.png", xr = ({
|
|
2067
|
+
t: a,
|
|
2068
|
+
reportImageUrl: n = kr,
|
|
2053
2069
|
analytics: l,
|
|
2054
2070
|
className: d = ""
|
|
2055
2071
|
}) => {
|
|
@@ -2059,65 +2075,65 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2059
2075
|
return /* @__PURE__ */ e.jsx(
|
|
2060
2076
|
"section",
|
|
2061
2077
|
{
|
|
2062
|
-
className: `${
|
|
2078
|
+
className: `${X.section} ${d}`,
|
|
2063
2079
|
"aria-labelledby": "premium-headline",
|
|
2064
2080
|
role: "button",
|
|
2065
2081
|
tabIndex: 0,
|
|
2066
2082
|
onClick: o,
|
|
2067
|
-
children: /* @__PURE__ */ e.jsxs("div", { className:
|
|
2068
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2069
|
-
/* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className:
|
|
2070
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2071
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2072
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2083
|
+
children: /* @__PURE__ */ e.jsxs("div", { className: X.inner, children: [
|
|
2084
|
+
/* @__PURE__ */ e.jsxs("div", { className: X.content, children: [
|
|
2085
|
+
/* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: X.headline, children: [
|
|
2086
|
+
/* @__PURE__ */ e.jsxs("span", { className: X.headlineLine, children: [
|
|
2087
|
+
/* @__PURE__ */ e.jsx("span", { className: X.headlinePill, children: a("premiumHeadlinePill1") }),
|
|
2088
|
+
/* @__PURE__ */ e.jsx("span", { className: X.headlinePlain, children: a("premiumHeadlinePlain1") })
|
|
2073
2089
|
] }),
|
|
2074
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2075
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2076
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2090
|
+
/* @__PURE__ */ e.jsxs("span", { className: X.headlineLine, children: [
|
|
2091
|
+
/* @__PURE__ */ e.jsx("span", { className: X.headlinePlain, children: a("premiumHeadlinePlain2") }),
|
|
2092
|
+
/* @__PURE__ */ e.jsx("span", { className: X.headlinePill, children: a("premiumHeadlinePill2") })
|
|
2077
2093
|
] })
|
|
2078
2094
|
] }),
|
|
2079
|
-
/* @__PURE__ */ e.jsx("ul", { className:
|
|
2095
|
+
/* @__PURE__ */ e.jsx("ul", { className: X.featureList, children: vr.map((p) => /* @__PURE__ */ e.jsxs("li", { className: X.featureItem, children: [
|
|
2080
2096
|
/* @__PURE__ */ e.jsx(
|
|
2081
2097
|
"img",
|
|
2082
2098
|
{
|
|
2083
|
-
src:
|
|
2099
|
+
src: yr,
|
|
2084
2100
|
alt: "",
|
|
2085
|
-
className:
|
|
2101
|
+
className: X.featureIcon,
|
|
2086
2102
|
width: 16,
|
|
2087
2103
|
height: 16,
|
|
2088
2104
|
"aria-hidden": !0
|
|
2089
2105
|
}
|
|
2090
2106
|
),
|
|
2091
|
-
|
|
2092
|
-
] },
|
|
2107
|
+
a(p)
|
|
2108
|
+
] }, p)) })
|
|
2093
2109
|
] }),
|
|
2094
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2110
|
+
/* @__PURE__ */ e.jsx("div", { className: X.reportImage, children: /* @__PURE__ */ e.jsx("img", { src: n, alt: "", className: X.reportImg }) })
|
|
2095
2111
|
] })
|
|
2096
2112
|
}
|
|
2097
2113
|
);
|
|
2098
|
-
},
|
|
2099
|
-
section:
|
|
2100
|
-
heading:
|
|
2101
|
-
logoImg:
|
|
2102
|
-
},
|
|
2103
|
-
t:
|
|
2104
|
-
logoUrl:
|
|
2114
|
+
}, wr = "_section_1g93x_1", jr = "_heading_1g93x_6", Nr = "_logoImg_1g93x_10", Ge = {
|
|
2115
|
+
section: wr,
|
|
2116
|
+
heading: jr,
|
|
2117
|
+
logoImg: Nr
|
|
2118
|
+
}, Pr = "https://srm-cdn.a4b.io/yoda/1770365699409.png", Tr = ({
|
|
2119
|
+
t: a,
|
|
2120
|
+
logoUrl: n = Pr,
|
|
2105
2121
|
className: l = ""
|
|
2106
|
-
}) => /* @__PURE__ */ e.jsxs("section", { className: `${
|
|
2107
|
-
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className:
|
|
2108
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2109
|
-
] }),
|
|
2110
|
-
section:
|
|
2111
|
-
heading:
|
|
2112
|
-
subtitle:
|
|
2113
|
-
stepList:
|
|
2114
|
-
stepItem:
|
|
2115
|
-
stepNumber:
|
|
2116
|
-
stepText:
|
|
2122
|
+
}) => /* @__PURE__ */ e.jsxs("section", { className: `${Ge.section} ${l}`, "aria-labelledby": "certified-heading", children: [
|
|
2123
|
+
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: Ge.heading, children: a("certifiedBy") }),
|
|
2124
|
+
/* @__PURE__ */ e.jsx("img", { src: n, alt: "University Certification", className: Ge.logoImg })
|
|
2125
|
+
] }), Ar = "_section_fw00n_1", Er = "_heading_fw00n_6", Ir = "_subtitle_fw00n_12", Cr = "_stepList_fw00n_17", Sr = "_stepItem_fw00n_21", Rr = "_stepNumber_fw00n_25", $r = "_stepText_fw00n_31", Lr = "_step3Days_fw00n_36", re = {
|
|
2126
|
+
section: Ar,
|
|
2127
|
+
heading: Er,
|
|
2128
|
+
subtitle: Ir,
|
|
2129
|
+
stepList: Cr,
|
|
2130
|
+
stepItem: Sr,
|
|
2131
|
+
stepNumber: Rr,
|
|
2132
|
+
stepText: $r,
|
|
2117
2133
|
step3Days: Lr
|
|
2118
|
-
},
|
|
2119
|
-
t:
|
|
2120
|
-
locale:
|
|
2134
|
+
}, Dr = ["step1", "step2"], Or = ({
|
|
2135
|
+
t: a,
|
|
2136
|
+
locale: n = "en",
|
|
2121
2137
|
isGlobal: l = !0,
|
|
2122
2138
|
className: d = ""
|
|
2123
2139
|
}) => {
|
|
@@ -2125,86 +2141,86 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2125
2141
|
return /* @__PURE__ */ e.jsxs(
|
|
2126
2142
|
"section",
|
|
2127
2143
|
{
|
|
2128
|
-
className: `${
|
|
2144
|
+
className: `${re.section} ${d}`,
|
|
2129
2145
|
"aria-labelledby": "steps-heading",
|
|
2130
2146
|
children: [
|
|
2131
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2132
|
-
/* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className:
|
|
2133
|
-
/* @__PURE__ */ e.jsxs("ol", { className:
|
|
2134
|
-
|
|
2135
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2136
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2137
|
-
] },
|
|
2138
|
-
/* @__PURE__ */ e.jsxs("li", { className:
|
|
2139
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2140
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2141
|
-
|
|
2147
|
+
/* @__PURE__ */ e.jsx("p", { className: re.heading, children: a("yourThreeSteps") }),
|
|
2148
|
+
/* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: re.subtitle, children: a("threeStepsSubtitle") }),
|
|
2149
|
+
/* @__PURE__ */ e.jsxs("ol", { className: re.stepList, children: [
|
|
2150
|
+
Dr.map((p, f) => /* @__PURE__ */ e.jsxs("li", { className: re.stepItem, children: [
|
|
2151
|
+
/* @__PURE__ */ e.jsx("span", { className: re.stepNumber, "aria-hidden": !0, children: f + 1 }),
|
|
2152
|
+
/* @__PURE__ */ e.jsx("span", { className: re.stepText, children: a(p) })
|
|
2153
|
+
] }, p)),
|
|
2154
|
+
/* @__PURE__ */ e.jsxs("li", { className: re.stepItem, children: [
|
|
2155
|
+
/* @__PURE__ */ e.jsx("span", { className: re.stepNumber, "aria-hidden": !0, children: "3" }),
|
|
2156
|
+
/* @__PURE__ */ e.jsxs("span", { className: re.stepText, children: [
|
|
2157
|
+
a(o),
|
|
2142
2158
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
2143
|
-
|
|
2159
|
+
n === "en" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2144
2160
|
"in ",
|
|
2145
|
-
/* @__PURE__ */ e.jsx("strong", { className:
|
|
2146
|
-
] }) : /* @__PURE__ */ e.jsx("strong", { className:
|
|
2161
|
+
/* @__PURE__ */ e.jsx("strong", { className: re.step3Days, children: a("step3Days") })
|
|
2162
|
+
] }) : /* @__PURE__ */ e.jsx("strong", { className: re.step3Days, children: a("step3Days") })
|
|
2147
2163
|
] })
|
|
2148
2164
|
] })
|
|
2149
2165
|
] })
|
|
2150
2166
|
]
|
|
2151
2167
|
}
|
|
2152
2168
|
);
|
|
2153
|
-
},
|
|
2154
|
-
section:
|
|
2155
|
-
button:
|
|
2156
|
-
},
|
|
2157
|
-
backdrop:
|
|
2158
|
-
modal:
|
|
2159
|
-
header:
|
|
2160
|
-
title:
|
|
2161
|
-
closeBtn:
|
|
2162
|
-
content:
|
|
2169
|
+
}, Br = "_section_uboy6_1", Fr = "_button_uboy6_7", yt = {
|
|
2170
|
+
section: Br,
|
|
2171
|
+
button: Fr
|
|
2172
|
+
}, Mr = "_backdrop_pekod_1", Ur = "_modal_pekod_21", Wr = "_header_pekod_40", qr = "_title_pekod_49", Kr = "_closeBtn_pekod_56", Hr = "_content_pekod_76", Gr = "_pdfFrame_pekod_84", Yr = "_pdfPages_pekod_92", Vr = "_pdfError_pekod_97", zr = "_openInNewTab_pekod_123", ce = {
|
|
2173
|
+
backdrop: Mr,
|
|
2174
|
+
modal: Ur,
|
|
2175
|
+
header: Wr,
|
|
2176
|
+
title: qr,
|
|
2177
|
+
closeBtn: Kr,
|
|
2178
|
+
content: Hr,
|
|
2163
2179
|
pdfFrame: Gr,
|
|
2164
|
-
pdfPages:
|
|
2165
|
-
pdfError:
|
|
2166
|
-
openInNewTab:
|
|
2180
|
+
pdfPages: Yr,
|
|
2181
|
+
pdfError: Vr,
|
|
2182
|
+
openInNewTab: zr
|
|
2167
2183
|
};
|
|
2168
2184
|
Ye.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${Ye.version}/build/pdf.worker.min.js`;
|
|
2169
|
-
const
|
|
2170
|
-
isOpen:
|
|
2171
|
-
onClose:
|
|
2185
|
+
const Qr = ({
|
|
2186
|
+
isOpen: a,
|
|
2187
|
+
onClose: n,
|
|
2172
2188
|
title: l,
|
|
2173
2189
|
pdfUrl: d
|
|
2174
2190
|
}) => {
|
|
2175
|
-
const o =
|
|
2191
|
+
const o = K(null), [p, f] = H(!0), [u, c] = H(null);
|
|
2176
2192
|
return G(() => {
|
|
2177
|
-
if (!
|
|
2178
|
-
const b = (
|
|
2179
|
-
|
|
2193
|
+
if (!a) return;
|
|
2194
|
+
const b = (h) => {
|
|
2195
|
+
h.key === "Escape" && n();
|
|
2180
2196
|
};
|
|
2181
2197
|
return document.addEventListener("keydown", b), document.body.style.overflow = "hidden", () => {
|
|
2182
2198
|
document.removeEventListener("keydown", b), document.body.style.overflow = "";
|
|
2183
2199
|
};
|
|
2184
|
-
}, [
|
|
2185
|
-
if (!
|
|
2200
|
+
}, [a, n]), G(() => {
|
|
2201
|
+
if (!a || !d || !o.current) return;
|
|
2186
2202
|
f(!0), c(null), o.current.innerHTML = "", (async () => {
|
|
2187
2203
|
try {
|
|
2188
2204
|
const _ = await Ye.getDocument({ url: d }).promise, x = o.current;
|
|
2189
2205
|
if (!x) return;
|
|
2190
|
-
const
|
|
2191
|
-
for (let
|
|
2192
|
-
const w = await _.getPage(
|
|
2193
|
-
|
|
2194
|
-
const A =
|
|
2195
|
-
A && await w.render({ canvasContext: A, viewport:
|
|
2206
|
+
const E = x.clientWidth || 600, j = Math.min(E / 612, 2);
|
|
2207
|
+
for (let k = 1; k <= _.numPages; k++) {
|
|
2208
|
+
const w = await _.getPage(k), R = w.getViewport({ scale: j }), y = document.createElement("canvas");
|
|
2209
|
+
y.height = R.height, y.width = R.width, y.style.display = "block", y.style.margin = "0 auto 1rem", y.style.maxWidth = "100%";
|
|
2210
|
+
const A = y.getContext("2d");
|
|
2211
|
+
A && await w.render({ canvasContext: A, viewport: R }).promise, x.appendChild(y);
|
|
2196
2212
|
}
|
|
2197
|
-
} catch (
|
|
2198
|
-
c(
|
|
2213
|
+
} catch (h) {
|
|
2214
|
+
c(h instanceof Error ? h.message : "Failed to load PDF");
|
|
2199
2215
|
} finally {
|
|
2200
2216
|
f(!1);
|
|
2201
2217
|
}
|
|
2202
2218
|
})();
|
|
2203
|
-
}, [
|
|
2219
|
+
}, [a, d]), a ? /* @__PURE__ */ e.jsx(
|
|
2204
2220
|
"div",
|
|
2205
2221
|
{
|
|
2206
2222
|
className: ce.backdrop,
|
|
2207
|
-
onClick:
|
|
2223
|
+
onClick: n,
|
|
2208
2224
|
role: "dialog",
|
|
2209
2225
|
"aria-modal": "true",
|
|
2210
2226
|
"aria-labelledby": "sample-report-modal-title",
|
|
@@ -2221,7 +2237,7 @@ const zr = ({
|
|
|
2221
2237
|
{
|
|
2222
2238
|
type: "button",
|
|
2223
2239
|
className: ce.closeBtn,
|
|
2224
|
-
onClick:
|
|
2240
|
+
onClick: n,
|
|
2225
2241
|
"aria-label": "Close",
|
|
2226
2242
|
children: "×"
|
|
2227
2243
|
}
|
|
@@ -2251,58 +2267,58 @@ const zr = ({
|
|
|
2251
2267
|
)
|
|
2252
2268
|
}
|
|
2253
2269
|
) : null;
|
|
2254
|
-
},
|
|
2255
|
-
t:
|
|
2256
|
-
pdfUrl:
|
|
2270
|
+
}, Jr = "https://srm-cdn.a4b.io/yoda/1770890856496.pdf", Xr = ({
|
|
2271
|
+
t: a,
|
|
2272
|
+
pdfUrl: n = Jr,
|
|
2257
2273
|
onClick: l,
|
|
2258
2274
|
analytics: d,
|
|
2259
2275
|
className: o = ""
|
|
2260
2276
|
}) => {
|
|
2261
|
-
const [
|
|
2277
|
+
const [p, f] = H(!1), u = a("viewSampleReport"), c = a("sampleReportModalTitle"), b = () => {
|
|
2262
2278
|
d?.trackViewSampleReportClicked?.(), l?.(), f(!0);
|
|
2263
|
-
},
|
|
2279
|
+
}, h = () => {
|
|
2264
2280
|
d?.trackViewSampleReportClosed?.(), f(!1);
|
|
2265
2281
|
};
|
|
2266
|
-
return /* @__PURE__ */ e.jsxs("section", { className: `${
|
|
2267
|
-
/* @__PURE__ */ e.jsx("button", { type: "button", className:
|
|
2282
|
+
return /* @__PURE__ */ e.jsxs("section", { className: `${yt.section} ${o}`, children: [
|
|
2283
|
+
/* @__PURE__ */ e.jsx("button", { type: "button", className: yt.button, onClick: b, children: u }),
|
|
2268
2284
|
/* @__PURE__ */ e.jsx(
|
|
2269
|
-
|
|
2285
|
+
Qr,
|
|
2270
2286
|
{
|
|
2271
|
-
isOpen:
|
|
2272
|
-
onClose:
|
|
2287
|
+
isOpen: p,
|
|
2288
|
+
onClose: h,
|
|
2273
2289
|
title: c,
|
|
2274
|
-
pdfUrl:
|
|
2290
|
+
pdfUrl: n
|
|
2275
2291
|
}
|
|
2276
2292
|
)
|
|
2277
2293
|
] });
|
|
2278
|
-
},
|
|
2279
|
-
section:
|
|
2280
|
-
heading:
|
|
2281
|
-
list:
|
|
2282
|
-
item:
|
|
2294
|
+
}, Zr = "_section_g1kup_1", ei = "_heading_g1kup_5", ti = "_list_g1kup_10", ai = "_item_g1kup_17", ni = "_imageWrap_g1kup_21", ri = "_image_g1kup_21", ii = "_imagePlaceholder_g1kup_30", si = "_text_g1kup_36", oi = "_itemTitle_g1kup_40", ci = "_itemDesc_g1kup_51", le = {
|
|
2295
|
+
section: Zr,
|
|
2296
|
+
heading: ei,
|
|
2297
|
+
list: ti,
|
|
2298
|
+
item: ai,
|
|
2283
2299
|
imageWrap: ni,
|
|
2284
|
-
image:
|
|
2285
|
-
imagePlaceholder:
|
|
2286
|
-
text:
|
|
2300
|
+
image: ri,
|
|
2301
|
+
imagePlaceholder: ii,
|
|
2302
|
+
text: si,
|
|
2287
2303
|
itemTitle: oi,
|
|
2288
|
-
itemDesc:
|
|
2289
|
-
},
|
|
2304
|
+
itemDesc: ci
|
|
2305
|
+
}, li = [
|
|
2290
2306
|
{ titleKey: "findDasha", descKey: "findDashaDesc" },
|
|
2291
2307
|
{ titleKey: "findYoga", descKey: "findYogaDesc" },
|
|
2292
2308
|
{ titleKey: "findGemstone", descKey: "findGemstoneDesc" },
|
|
2293
2309
|
{ titleKey: "findPooja", descKey: "findPoojaDesc" },
|
|
2294
2310
|
{ titleKey: "findMonthly", descKey: "findMonthlyDesc" },
|
|
2295
2311
|
{ titleKey: "findStrength", descKey: "findStrengthDesc" }
|
|
2296
|
-
],
|
|
2312
|
+
], di = [
|
|
2297
2313
|
"https://srm-cdn.a4b.io/yoda/1770639688505.png",
|
|
2298
2314
|
"https://srm-cdn.a4b.io/yoda/1770639714646.png",
|
|
2299
2315
|
"https://srm-cdn.a4b.io/yoda/1770639727335.png",
|
|
2300
2316
|
"https://srm-cdn.a4b.io/yoda/1770639739387.png",
|
|
2301
2317
|
"https://srm-cdn.a4b.io/yoda/1770639749920.png",
|
|
2302
2318
|
"https://srm-cdn.a4b.io/yoda/1770639760835.png"
|
|
2303
|
-
],
|
|
2304
|
-
t:
|
|
2305
|
-
imageUrls:
|
|
2319
|
+
], ui = ({
|
|
2320
|
+
t: a,
|
|
2321
|
+
imageUrls: n = di,
|
|
2306
2322
|
className: l = ""
|
|
2307
2323
|
}) => /* @__PURE__ */ e.jsxs(
|
|
2308
2324
|
"section",
|
|
@@ -2310,61 +2326,61 @@ const zr = ({
|
|
|
2310
2326
|
className: `${le.section} ${l}`,
|
|
2311
2327
|
"aria-labelledby": "find-heading",
|
|
2312
2328
|
children: [
|
|
2313
|
-
/* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: le.heading, children:
|
|
2314
|
-
/* @__PURE__ */ e.jsx("ul", { className: le.list, children:
|
|
2315
|
-
/* @__PURE__ */ e.jsx("div", { className: le.imageWrap, children:
|
|
2329
|
+
/* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: le.heading, children: a("whatYoullFindTitle") }),
|
|
2330
|
+
/* @__PURE__ */ e.jsx("ul", { className: le.list, children: li.map((d, o) => /* @__PURE__ */ e.jsxs("li", { className: le.item, children: [
|
|
2331
|
+
/* @__PURE__ */ e.jsx("div", { className: le.imageWrap, children: n[o] ? /* @__PURE__ */ e.jsx("img", { src: n[o], alt: "", className: le.image }) : /* @__PURE__ */ e.jsx("div", { className: le.imagePlaceholder, "aria-hidden": !0 }) }),
|
|
2316
2332
|
/* @__PURE__ */ e.jsxs("div", { className: le.text, children: [
|
|
2317
|
-
/* @__PURE__ */ e.jsx("h3", { className: le.itemTitle, children:
|
|
2318
|
-
/* @__PURE__ */ e.jsx("p", { className: le.itemDesc, children:
|
|
2333
|
+
/* @__PURE__ */ e.jsx("h3", { className: le.itemTitle, children: a(d.titleKey) }),
|
|
2334
|
+
/* @__PURE__ */ e.jsx("p", { className: le.itemDesc, children: a(d.descKey) })
|
|
2319
2335
|
] })
|
|
2320
2336
|
] }, d.titleKey)) })
|
|
2321
2337
|
]
|
|
2322
2338
|
}
|
|
2323
|
-
),
|
|
2324
|
-
section:
|
|
2325
|
-
heading:
|
|
2339
|
+
), mi = "_section_1poer_1", hi = "_heading_1poer_6", pi = "_subtitle_1poer_11", fi = "_list_1poer_16", gi = "_item_1poer_20", Re = {
|
|
2340
|
+
section: mi,
|
|
2341
|
+
heading: hi,
|
|
2326
2342
|
subtitle: pi,
|
|
2327
|
-
list:
|
|
2328
|
-
item:
|
|
2329
|
-
},
|
|
2330
|
-
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: Re.heading, children:
|
|
2331
|
-
/* @__PURE__ */ e.jsx("p", { className: Re.subtitle, children:
|
|
2332
|
-
/* @__PURE__ */ e.jsx("ul", { className: Re.list, children:
|
|
2333
|
-
] }),
|
|
2334
|
-
section:
|
|
2335
|
-
heading:
|
|
2336
|
-
trustLine:
|
|
2337
|
-
star:
|
|
2338
|
-
ratingNum:
|
|
2339
|
-
trustText:
|
|
2340
|
-
cardList:
|
|
2341
|
-
card:
|
|
2342
|
-
quote:
|
|
2343
|
-
author:
|
|
2344
|
-
avatar:
|
|
2345
|
-
avatarPlaceholder:
|
|
2346
|
-
authorInfo:
|
|
2347
|
-
authorName:
|
|
2348
|
-
stars:
|
|
2349
|
-
readMoreWrap:
|
|
2343
|
+
list: fi,
|
|
2344
|
+
item: gi
|
|
2345
|
+
}, _i = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], bi = ({ t: a, className: n = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${Re.section} ${n}`, "aria-labelledby": "why-heading", children: [
|
|
2346
|
+
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: Re.heading, children: a("whyUsTitle") }),
|
|
2347
|
+
/* @__PURE__ */ e.jsx("p", { className: Re.subtitle, children: a("whyUsSubtitle") }),
|
|
2348
|
+
/* @__PURE__ */ e.jsx("ul", { className: Re.list, children: _i.map((l) => /* @__PURE__ */ e.jsx("li", { className: Re.item, children: a(l) }, l)) })
|
|
2349
|
+
] }), yi = "_section_3cm7k_1", vi = "_heading_3cm7k_5", ki = "_trustLine_3cm7k_10", xi = "_star_3cm7k_15", wi = "_ratingNum_3cm7k_20", ji = "_trustText_3cm7k_24", Ni = "_cardList_3cm7k_28", Pi = "_card_3cm7k_28", Ti = "_quote_3cm7k_37", Ai = "_author_3cm7k_42", Ei = "_avatar_3cm7k_46", Ii = "_avatarPlaceholder_3cm7k_50", Ci = "_authorInfo_3cm7k_55", Si = "_authorName_3cm7k_59", Ri = "_stars_3cm7k_64", $i = "_readMoreWrap_3cm7k_69", Li = "_toggleBtn_3cm7k_73", Di = "_readMore_3cm7k_69", Oi = "_arrow_3cm7k_93", Bi = "_dot_3cm7k_97", L = {
|
|
2350
|
+
section: yi,
|
|
2351
|
+
heading: vi,
|
|
2352
|
+
trustLine: ki,
|
|
2353
|
+
star: xi,
|
|
2354
|
+
ratingNum: wi,
|
|
2355
|
+
trustText: ji,
|
|
2356
|
+
cardList: Ni,
|
|
2357
|
+
card: Pi,
|
|
2358
|
+
quote: Ti,
|
|
2359
|
+
author: Ai,
|
|
2360
|
+
avatar: Ei,
|
|
2361
|
+
avatarPlaceholder: Ii,
|
|
2362
|
+
authorInfo: Ci,
|
|
2363
|
+
authorName: Si,
|
|
2364
|
+
stars: Ri,
|
|
2365
|
+
readMoreWrap: $i,
|
|
2350
2366
|
toggleBtn: Li,
|
|
2351
|
-
readMore:
|
|
2352
|
-
arrow:
|
|
2353
|
-
dot:
|
|
2354
|
-
},
|
|
2367
|
+
readMore: Di,
|
|
2368
|
+
arrow: Oi,
|
|
2369
|
+
dot: Bi
|
|
2370
|
+
}, vt = 3, Fi = (a) => {
|
|
2355
2371
|
const l = /* @__PURE__ */ new Map();
|
|
2356
2372
|
for (let c = 1; c <= 15; c += 1) {
|
|
2357
|
-
const b = `feedbackTestimonial${c}`,
|
|
2358
|
-
if (!
|
|
2373
|
+
const b = `feedbackTestimonial${c}`, h = a(b);
|
|
2374
|
+
if (!h || h === b) continue;
|
|
2359
2375
|
const _ = `feedbackAuthor${c}`, x = (() => {
|
|
2360
|
-
const
|
|
2361
|
-
return
|
|
2362
|
-
})(),
|
|
2363
|
-
const
|
|
2364
|
-
return
|
|
2376
|
+
const k = a(_);
|
|
2377
|
+
return k && k !== _ ? k : a("guest");
|
|
2378
|
+
})(), E = `feedbackAuthor${c}AvatarUrl`, j = (() => {
|
|
2379
|
+
const k = a(E);
|
|
2380
|
+
return k && k !== E ? k : void 0;
|
|
2365
2381
|
})();
|
|
2366
2382
|
l.set(c, {
|
|
2367
|
-
quote:
|
|
2383
|
+
quote: h,
|
|
2368
2384
|
authorName: x,
|
|
2369
2385
|
authorAvatarUrl: j,
|
|
2370
2386
|
rating: 5
|
|
@@ -2373,149 +2389,149 @@ const zr = ({
|
|
|
2373
2389
|
const d = [], o = [];
|
|
2374
2390
|
for (let c = 1; c <= 15; c += 1)
|
|
2375
2391
|
c >= 9 ? o.push(c) : d.push(c);
|
|
2376
|
-
const
|
|
2392
|
+
const p = [];
|
|
2377
2393
|
let f = 0, u = 0;
|
|
2378
2394
|
for (; f < d.length || u < o.length; ) {
|
|
2379
2395
|
if (u < o.length) {
|
|
2380
2396
|
const c = o[u++], b = l.get(c);
|
|
2381
|
-
b &&
|
|
2397
|
+
b && p.push(b);
|
|
2382
2398
|
}
|
|
2383
2399
|
if (f < d.length) {
|
|
2384
2400
|
const c = d[f++], b = l.get(c);
|
|
2385
|
-
b &&
|
|
2401
|
+
b && p.push(b);
|
|
2386
2402
|
}
|
|
2387
2403
|
}
|
|
2388
|
-
return
|
|
2389
|
-
},
|
|
2390
|
-
t:
|
|
2391
|
-
testimonials:
|
|
2404
|
+
return p;
|
|
2405
|
+
}, Mi = ({
|
|
2406
|
+
t: a,
|
|
2407
|
+
testimonials: n,
|
|
2392
2408
|
readMoreHref: l,
|
|
2393
2409
|
onReadMore: d,
|
|
2394
2410
|
className: o = ""
|
|
2395
2411
|
}) => {
|
|
2396
|
-
const
|
|
2412
|
+
const p = n ?? Fe(() => Fi(a), [a]), [f, u] = H(!1), c = p.length > vt, b = c && !f ? p.slice(0, vt) : p;
|
|
2397
2413
|
return /* @__PURE__ */ e.jsxs(
|
|
2398
2414
|
"section",
|
|
2399
2415
|
{
|
|
2400
|
-
className: `${
|
|
2416
|
+
className: `${L.section} ${o}`,
|
|
2401
2417
|
"aria-labelledby": "feedback-heading",
|
|
2402
2418
|
children: [
|
|
2403
|
-
/* @__PURE__ */ e.jsx("h2", { id: "feedback-heading", className:
|
|
2404
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
2405
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2406
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2407
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2408
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2419
|
+
/* @__PURE__ */ e.jsx("h2", { id: "feedback-heading", className: L.heading, children: a("feedbackTitle") }),
|
|
2420
|
+
/* @__PURE__ */ e.jsxs("p", { className: L.trustLine, children: [
|
|
2421
|
+
/* @__PURE__ */ e.jsx("span", { className: L.star, "aria-hidden": !0, children: "★" }),
|
|
2422
|
+
/* @__PURE__ */ e.jsx("span", { className: L.ratingNum, children: a("feedbackRating") }),
|
|
2423
|
+
/* @__PURE__ */ e.jsx("span", { className: L.dot, "aria-hidden": !0 }),
|
|
2424
|
+
/* @__PURE__ */ e.jsx("span", { className: L.trustText, children: a("feedbackTrust") })
|
|
2409
2425
|
] }),
|
|
2410
|
-
/* @__PURE__ */ e.jsx("ul", { className:
|
|
2411
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2412
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2413
|
-
|
|
2426
|
+
/* @__PURE__ */ e.jsx("ul", { className: L.cardList, children: b.map((h, _) => /* @__PURE__ */ e.jsxs("li", { className: L.card, children: [
|
|
2427
|
+
/* @__PURE__ */ e.jsx("p", { className: L.quote, children: h.quote }),
|
|
2428
|
+
/* @__PURE__ */ e.jsxs("div", { className: L.author, children: [
|
|
2429
|
+
h.authorAvatarUrl ? /* @__PURE__ */ e.jsx(
|
|
2414
2430
|
"img",
|
|
2415
2431
|
{
|
|
2416
|
-
src:
|
|
2432
|
+
src: h.authorAvatarUrl,
|
|
2417
2433
|
alt: "",
|
|
2418
|
-
className:
|
|
2434
|
+
className: L.avatar,
|
|
2419
2435
|
width: 40,
|
|
2420
2436
|
height: 40
|
|
2421
2437
|
}
|
|
2422
|
-
) : /* @__PURE__ */ e.jsx("div", { className:
|
|
2423
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2424
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2425
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2438
|
+
) : /* @__PURE__ */ e.jsx("div", { className: L.avatarPlaceholder, "aria-hidden": !0 }),
|
|
2439
|
+
/* @__PURE__ */ e.jsxs("div", { className: L.authorInfo, children: [
|
|
2440
|
+
/* @__PURE__ */ e.jsx("span", { className: L.authorName, children: h.authorName }),
|
|
2441
|
+
/* @__PURE__ */ e.jsx("span", { className: L.stars, "aria-hidden": !0, children: "★".repeat(h.rating ?? 5) })
|
|
2426
2442
|
] })
|
|
2427
2443
|
] })
|
|
2428
2444
|
] }, _)) }),
|
|
2429
|
-
c && /* @__PURE__ */ e.jsx("div", { className:
|
|
2445
|
+
c && /* @__PURE__ */ e.jsx("div", { className: L.readMoreWrap, children: /* @__PURE__ */ e.jsxs(
|
|
2430
2446
|
"button",
|
|
2431
2447
|
{
|
|
2432
2448
|
type: "button",
|
|
2433
|
-
className:
|
|
2434
|
-
onClick: () => u((
|
|
2449
|
+
className: L.toggleBtn,
|
|
2450
|
+
onClick: () => u((h) => !h),
|
|
2435
2451
|
"aria-expanded": f,
|
|
2436
2452
|
children: [
|
|
2437
|
-
|
|
2438
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2453
|
+
a(f ? "readLess" : "readMoreReviews"),
|
|
2454
|
+
/* @__PURE__ */ e.jsx("span", { className: L.arrow, "aria-hidden": !0, children: "›" })
|
|
2439
2455
|
]
|
|
2440
2456
|
}
|
|
2441
2457
|
) }),
|
|
2442
|
-
(l || d) && !c && /* @__PURE__ */ e.jsx("div", { className:
|
|
2458
|
+
(l || d) && !c && /* @__PURE__ */ e.jsx("div", { className: L.readMoreWrap, children: l ? /* @__PURE__ */ e.jsxs(
|
|
2443
2459
|
"a",
|
|
2444
2460
|
{
|
|
2445
2461
|
href: l,
|
|
2446
|
-
className:
|
|
2462
|
+
className: L.readMore,
|
|
2447
2463
|
target: "_blank",
|
|
2448
2464
|
rel: "noopener noreferrer",
|
|
2449
2465
|
children: [
|
|
2450
|
-
|
|
2451
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2466
|
+
a("readMoreReviews"),
|
|
2467
|
+
/* @__PURE__ */ e.jsx("span", { className: L.arrow, "aria-hidden": !0, children: "›" })
|
|
2452
2468
|
]
|
|
2453
2469
|
}
|
|
2454
2470
|
) : /* @__PURE__ */ e.jsxs(
|
|
2455
2471
|
"button",
|
|
2456
2472
|
{
|
|
2457
2473
|
type: "button",
|
|
2458
|
-
className:
|
|
2474
|
+
className: L.readMore,
|
|
2459
2475
|
onClick: () => d?.(),
|
|
2460
2476
|
children: [
|
|
2461
|
-
|
|
2462
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2477
|
+
a("readMoreReviews"),
|
|
2478
|
+
/* @__PURE__ */ e.jsx("span", { className: L.arrow, "aria-hidden": !0, children: "›" })
|
|
2463
2479
|
]
|
|
2464
2480
|
}
|
|
2465
2481
|
) })
|
|
2466
2482
|
]
|
|
2467
2483
|
}
|
|
2468
2484
|
);
|
|
2469
|
-
},
|
|
2470
|
-
section:
|
|
2471
|
-
heading:
|
|
2472
|
-
accordion:
|
|
2473
|
-
item:
|
|
2474
|
-
itemOpen:
|
|
2485
|
+
}, Ui = "_section_1scfq_1", Wi = "_heading_1scfq_6", qi = "_accordion_1scfq_11", Ki = "_item_1scfq_15", Hi = "_itemOpen_1scfq_21", Gi = "_question_1scfq_25", Yi = "_chevron_1scfq_40", Vi = "_chevronOpen_1scfq_47", zi = "_answerWrap_1scfq_51", Qi = "_answerOpen_1scfq_56", Ji = "_answer_1scfq_51", ie = {
|
|
2486
|
+
section: Ui,
|
|
2487
|
+
heading: Wi,
|
|
2488
|
+
accordion: qi,
|
|
2489
|
+
item: Ki,
|
|
2490
|
+
itemOpen: Hi,
|
|
2475
2491
|
question: Gi,
|
|
2476
|
-
chevron:
|
|
2477
|
-
chevronOpen:
|
|
2478
|
-
answerWrap:
|
|
2479
|
-
answerOpen:
|
|
2480
|
-
answer:
|
|
2481
|
-
},
|
|
2492
|
+
chevron: Yi,
|
|
2493
|
+
chevronOpen: Vi,
|
|
2494
|
+
answerWrap: zi,
|
|
2495
|
+
answerOpen: Qi,
|
|
2496
|
+
answer: Ji
|
|
2497
|
+
}, Xi = [
|
|
2482
2498
|
{ qKey: "faqQ1", aKey: "faqA1" },
|
|
2483
2499
|
{ qKey: "faqQ3", aKey: "faqA3" }
|
|
2484
|
-
],
|
|
2485
|
-
t:
|
|
2486
|
-
className:
|
|
2500
|
+
], Zi = ({
|
|
2501
|
+
t: a,
|
|
2502
|
+
className: n = ""
|
|
2487
2503
|
}) => {
|
|
2488
|
-
const d =
|
|
2504
|
+
const d = Te()?.config.isGlobal ?? !0, [o, p] = H(1), f = (u) => u === "faqA1" ? d ? "faqA1Global" : "faqA1Domestic" : u;
|
|
2489
2505
|
return /* @__PURE__ */ e.jsxs(
|
|
2490
2506
|
"section",
|
|
2491
2507
|
{
|
|
2492
|
-
className: `${
|
|
2508
|
+
className: `${ie.section} ${n}`,
|
|
2493
2509
|
"aria-labelledby": "faq-heading",
|
|
2494
2510
|
children: [
|
|
2495
|
-
/* @__PURE__ */ e.jsx("h2", { id: "faq-heading", className:
|
|
2496
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2511
|
+
/* @__PURE__ */ e.jsx("h2", { id: "faq-heading", className: ie.heading, children: a("faqTitle") }),
|
|
2512
|
+
/* @__PURE__ */ e.jsx("div", { className: ie.accordion, role: "list", children: Xi.map((u, c) => {
|
|
2497
2513
|
const b = o === c;
|
|
2498
2514
|
return /* @__PURE__ */ e.jsxs(
|
|
2499
2515
|
"div",
|
|
2500
2516
|
{
|
|
2501
|
-
className: `${
|
|
2517
|
+
className: `${ie.item} ${b ? ie.itemOpen : ""}`,
|
|
2502
2518
|
role: "listitem",
|
|
2503
2519
|
children: [
|
|
2504
2520
|
/* @__PURE__ */ e.jsxs(
|
|
2505
2521
|
"button",
|
|
2506
2522
|
{
|
|
2507
2523
|
type: "button",
|
|
2508
|
-
className:
|
|
2509
|
-
onClick: () =>
|
|
2524
|
+
className: ie.question,
|
|
2525
|
+
onClick: () => p(b ? -1 : c),
|
|
2510
2526
|
"aria-expanded": b,
|
|
2511
2527
|
"aria-controls": `faq-answer-${c}`,
|
|
2512
2528
|
id: `faq-question-${c}`,
|
|
2513
2529
|
children: [
|
|
2514
|
-
/* @__PURE__ */ e.jsx("span", { children:
|
|
2530
|
+
/* @__PURE__ */ e.jsx("span", { children: a(u.qKey) }),
|
|
2515
2531
|
/* @__PURE__ */ e.jsx(
|
|
2516
2532
|
"span",
|
|
2517
2533
|
{
|
|
2518
|
-
className: `${
|
|
2534
|
+
className: `${ie.chevron} ${b ? ie.chevronOpen : ""}`,
|
|
2519
2535
|
"aria-hidden": !0,
|
|
2520
2536
|
children: /* @__PURE__ */ e.jsx(
|
|
2521
2537
|
"svg",
|
|
@@ -2546,9 +2562,9 @@ const zr = ({
|
|
|
2546
2562
|
id: `faq-answer-${c}`,
|
|
2547
2563
|
role: "region",
|
|
2548
2564
|
"aria-labelledby": `faq-question-${c}`,
|
|
2549
|
-
className: `${
|
|
2565
|
+
className: `${ie.answerWrap} ${b ? ie.answerOpen : ""}`,
|
|
2550
2566
|
hidden: !b,
|
|
2551
|
-
children: u.aKey && /* @__PURE__ */ e.jsx("p", { className:
|
|
2567
|
+
children: u.aKey && /* @__PURE__ */ e.jsx("p", { className: ie.answer, children: a(f(u.aKey)) })
|
|
2552
2568
|
}
|
|
2553
2569
|
)
|
|
2554
2570
|
]
|
|
@@ -2559,79 +2575,74 @@ const zr = ({
|
|
|
2559
2575
|
]
|
|
2560
2576
|
}
|
|
2561
2577
|
);
|
|
2562
|
-
},
|
|
2563
|
-
section:
|
|
2564
|
-
heading:
|
|
2565
|
-
content:
|
|
2566
|
-
line:
|
|
2567
|
-
brandName:
|
|
2568
|
-
},
|
|
2569
|
-
t:
|
|
2570
|
-
whatsAppGlobal:
|
|
2578
|
+
}, es = "_section_aphm8_1", ts = "_heading_aphm8_6", as = "_content_aphm8_11", ns = "_line_aphm8_16", rs = "_brandName_aphm8_20", Ne = {
|
|
2579
|
+
section: es,
|
|
2580
|
+
heading: ts,
|
|
2581
|
+
content: as,
|
|
2582
|
+
line: ns,
|
|
2583
|
+
brandName: rs
|
|
2584
|
+
}, kt = "8296947757", xt = "08071174417", wt = "pujaseva@appsforbharat.com", is = ({
|
|
2585
|
+
t: a,
|
|
2586
|
+
whatsAppGlobal: n,
|
|
2571
2587
|
whatsAppDomestic: l,
|
|
2572
2588
|
email: d,
|
|
2573
2589
|
brandName: o,
|
|
2574
|
-
className:
|
|
2590
|
+
className: p = ""
|
|
2575
2591
|
}) => {
|
|
2576
|
-
const u =
|
|
2577
|
-
return /* @__PURE__ */ e.jsxs("section", { className: `${
|
|
2578
|
-
/* @__PURE__ */ e.jsx("h2", { id: "contact-heading", className:
|
|
2579
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2580
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2581
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2582
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2592
|
+
const u = Te()?.config.isGlobal ?? !0, c = n ?? kt, b = l ?? xt, h = d ?? wt, _ = u ? a("contactWhatsAppGlobal").replace(kt, c) : a("contactWhatsAppDomestic").replace(xt, b);
|
|
2593
|
+
return /* @__PURE__ */ e.jsxs("section", { className: `${Ne.section} ${p}`, "aria-labelledby": "contact-heading", children: [
|
|
2594
|
+
/* @__PURE__ */ e.jsx("h2", { id: "contact-heading", className: Ne.heading, children: a("contactTitle") }),
|
|
2595
|
+
/* @__PURE__ */ e.jsxs("div", { className: Ne.content, children: [
|
|
2596
|
+
/* @__PURE__ */ e.jsx("p", { className: Ne.brandName, children: o ?? a("contactBrandName") }),
|
|
2597
|
+
/* @__PURE__ */ e.jsx("p", { className: Ne.line, children: _ }),
|
|
2598
|
+
/* @__PURE__ */ e.jsx("p", { className: Ne.line, children: a("contactEmail").replace(wt, h) })
|
|
2583
2599
|
] })
|
|
2584
2600
|
] });
|
|
2585
|
-
},
|
|
2586
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2587
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2588
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2589
|
-
|
|
2601
|
+
}, jt = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", Nt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Pt = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", ss = ({ t: a }) => /* @__PURE__ */ e.jsxs("div", { className: P.marqueeTrack, children: [
|
|
2602
|
+
/* @__PURE__ */ e.jsxs("div", { className: P.marqueeContent, children: [
|
|
2603
|
+
/* @__PURE__ */ e.jsxs("span", { className: P.badge, children: [
|
|
2604
|
+
/* @__PURE__ */ e.jsx("img", { src: jt, alt: "", className: P.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2605
|
+
a("ctaKundliCreated")
|
|
2590
2606
|
] }),
|
|
2591
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2592
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2593
|
-
|
|
2607
|
+
/* @__PURE__ */ e.jsxs("span", { className: P.badge, children: [
|
|
2608
|
+
/* @__PURE__ */ e.jsx("img", { src: Nt, alt: "", className: P.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2609
|
+
a("ctaCertified")
|
|
2594
2610
|
] }),
|
|
2595
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2596
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2597
|
-
|
|
2611
|
+
/* @__PURE__ */ e.jsxs("span", { className: P.badge, children: [
|
|
2612
|
+
/* @__PURE__ */ e.jsx("img", { src: Pt, alt: "", className: P.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2613
|
+
a("ctaSecurePayment")
|
|
2598
2614
|
] })
|
|
2599
2615
|
] }),
|
|
2600
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2601
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2602
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2603
|
-
|
|
2616
|
+
/* @__PURE__ */ e.jsxs("div", { className: P.marqueeContent, "aria-hidden": !0, children: [
|
|
2617
|
+
/* @__PURE__ */ e.jsxs("span", { className: P.badge, children: [
|
|
2618
|
+
/* @__PURE__ */ e.jsx("img", { src: jt, alt: "", className: P.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2619
|
+
a("ctaKundliCreated")
|
|
2604
2620
|
] }),
|
|
2605
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2606
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2607
|
-
|
|
2621
|
+
/* @__PURE__ */ e.jsxs("span", { className: P.badge, children: [
|
|
2622
|
+
/* @__PURE__ */ e.jsx("img", { src: Nt, alt: "", className: P.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2623
|
+
a("ctaCertified")
|
|
2608
2624
|
] }),
|
|
2609
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
2610
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2611
|
-
|
|
2625
|
+
/* @__PURE__ */ e.jsxs("span", { className: P.badge, children: [
|
|
2626
|
+
/* @__PURE__ */ e.jsx("img", { src: Pt, alt: "", className: P.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2627
|
+
a("ctaSecurePayment")
|
|
2612
2628
|
] })
|
|
2613
2629
|
] })
|
|
2614
|
-
] }),
|
|
2615
|
-
t:
|
|
2616
|
-
onCtaClick:
|
|
2630
|
+
] }), os = ({
|
|
2631
|
+
t: a,
|
|
2632
|
+
onCtaClick: n,
|
|
2617
2633
|
ctaHref: l,
|
|
2618
2634
|
className: d = ""
|
|
2619
2635
|
}) => {
|
|
2620
|
-
const o =
|
|
2621
|
-
n("ctaButtonBefore"),
|
|
2622
|
-
/* @__PURE__ */ e.jsx("span", { className: L.ctaStruck, children: f }),
|
|
2623
|
-
" ",
|
|
2624
|
-
u
|
|
2625
|
-
] });
|
|
2636
|
+
const o = a("ctaButtonBefore").replace(/\s+in\s*$/i, "");
|
|
2626
2637
|
return /* @__PURE__ */ e.jsx(
|
|
2627
|
-
|
|
2638
|
+
Rt,
|
|
2628
2639
|
{
|
|
2629
2640
|
className: d,
|
|
2630
|
-
marquee: /* @__PURE__ */ e.jsx(
|
|
2631
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2641
|
+
marquee: /* @__PURE__ */ e.jsx(ss, { t: a }),
|
|
2642
|
+
children: /* @__PURE__ */ e.jsx($t, { href: l, onClick: n, children: o })
|
|
2632
2643
|
}
|
|
2633
2644
|
);
|
|
2634
|
-
},
|
|
2645
|
+
}, cs = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", ls = (a, n) => Qe[a]?.[n] ?? n, ds = {
|
|
2635
2646
|
fullName: "",
|
|
2636
2647
|
phone: "",
|
|
2637
2648
|
email: "",
|
|
@@ -2639,191 +2650,190 @@ const zr = ({
|
|
|
2639
2650
|
birthTime: "",
|
|
2640
2651
|
birthTimeUnknown: !1,
|
|
2641
2652
|
birthPlace: ""
|
|
2642
|
-
},
|
|
2643
|
-
className:
|
|
2644
|
-
locale:
|
|
2653
|
+
}, us = ({
|
|
2654
|
+
className: a = "",
|
|
2655
|
+
locale: n,
|
|
2645
2656
|
showLanguageSelector: l = !0,
|
|
2646
2657
|
onBack: d,
|
|
2647
2658
|
initialValues: o,
|
|
2648
|
-
onProceed:
|
|
2659
|
+
onProceed: p,
|
|
2649
2660
|
proceedHref: f,
|
|
2650
2661
|
originalPriceLabel: u,
|
|
2651
2662
|
discountedPriceLabel: c,
|
|
2652
2663
|
discountPillLabel: b,
|
|
2653
|
-
googleMapsApiKey:
|
|
2664
|
+
googleMapsApiKey: h = "",
|
|
2654
2665
|
analytics: _
|
|
2655
2666
|
}) => {
|
|
2656
|
-
const x =
|
|
2657
|
-
|
|
2667
|
+
const x = Te(), E = It(), j = x !== null, k = j ? x.locale : n, w = k ?? E?.locale ?? "en", [R, y] = H(w), A = j ? x.locale : R, U = j ? x.setLocale : y, [C, Q] = H(!1), O = K(null), V = K(k), B = K(
|
|
2668
|
+
E?.locale
|
|
2658
2669
|
);
|
|
2659
2670
|
G(() => {
|
|
2660
2671
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
2661
2672
|
}, []);
|
|
2662
|
-
const
|
|
2673
|
+
const Y = ($) => ls(A, $);
|
|
2663
2674
|
G(() => {
|
|
2664
|
-
|
|
2665
|
-
}, [
|
|
2666
|
-
if (
|
|
2667
|
-
const
|
|
2668
|
-
|
|
2669
|
-
}, [
|
|
2670
|
-
const [
|
|
2671
|
-
...
|
|
2675
|
+
k && V.current !== k && U(k), V.current = k;
|
|
2676
|
+
}, [k, U]), G(() => {
|
|
2677
|
+
if (k) return;
|
|
2678
|
+
const $ = E?.locale;
|
|
2679
|
+
$ && B.current !== $ && U($), B.current = $;
|
|
2680
|
+
}, [E?.locale, k, U]);
|
|
2681
|
+
const [Z, F] = H({
|
|
2682
|
+
...ds,
|
|
2672
2683
|
...o,
|
|
2673
2684
|
phone: o?.phone ?? ""
|
|
2674
|
-
}),
|
|
2685
|
+
}), W = j ? x.formValues : Z, z = j ? x.setFormValues : F, te = j ? x.goToPage : d, ue = j ? x.onProceed : p, ke = j ? x.config.proceedHref : f, ge = j ? x.config.originalPriceLabel : u, _e = j ? x.config.discountedPriceLabel : c, be = j ? x.config.showLanguageSelector ?? !0 : l, me = (j ? x?.config?.analytics : _) ?? _;
|
|
2675
2686
|
G(() => {
|
|
2676
|
-
if (!
|
|
2677
|
-
const
|
|
2678
|
-
|
|
2687
|
+
if (!C) return;
|
|
2688
|
+
const $ = (r) => {
|
|
2689
|
+
O.current && !O.current.contains(r.target) && Q(!1);
|
|
2679
2690
|
};
|
|
2680
|
-
return document.addEventListener("mousedown",
|
|
2681
|
-
}, [
|
|
2682
|
-
const
|
|
2691
|
+
return document.addEventListener("mousedown", $), () => document.removeEventListener("mousedown", $);
|
|
2692
|
+
}, [C]);
|
|
2693
|
+
const he = be ? /* @__PURE__ */ e.jsxs("div", { className: se.langDropdownWrap, ref: O, children: [
|
|
2683
2694
|
/* @__PURE__ */ e.jsxs(
|
|
2684
2695
|
"button",
|
|
2685
2696
|
{
|
|
2686
2697
|
type: "button",
|
|
2687
|
-
className:
|
|
2698
|
+
className: se.langTrigger,
|
|
2688
2699
|
onClick: () => {
|
|
2689
|
-
|
|
2700
|
+
me?.trackLanguageClickedFe?.({ language: A }), Q(($) => !$);
|
|
2690
2701
|
},
|
|
2691
|
-
"aria-expanded":
|
|
2702
|
+
"aria-expanded": C,
|
|
2692
2703
|
"aria-haspopup": "listbox",
|
|
2693
2704
|
id: "kundli-form-lang",
|
|
2694
|
-
"aria-label":
|
|
2705
|
+
"aria-label": Y("language"),
|
|
2695
2706
|
children: [
|
|
2696
2707
|
/* @__PURE__ */ e.jsx(
|
|
2697
2708
|
"img",
|
|
2698
2709
|
{
|
|
2699
|
-
src:
|
|
2710
|
+
src: cs,
|
|
2700
2711
|
alt: "",
|
|
2701
|
-
className:
|
|
2712
|
+
className: se.langIcon,
|
|
2702
2713
|
width: 16,
|
|
2703
2714
|
height: 16,
|
|
2704
2715
|
"aria-hidden": !0
|
|
2705
2716
|
}
|
|
2706
2717
|
),
|
|
2707
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2718
|
+
/* @__PURE__ */ e.jsx("span", { className: se.langLabel, children: Me[A] })
|
|
2708
2719
|
]
|
|
2709
2720
|
}
|
|
2710
2721
|
),
|
|
2711
|
-
|
|
2722
|
+
C && /* @__PURE__ */ e.jsx(
|
|
2712
2723
|
"ul",
|
|
2713
2724
|
{
|
|
2714
|
-
className:
|
|
2725
|
+
className: se.langMenu,
|
|
2715
2726
|
role: "listbox",
|
|
2716
2727
|
"aria-labelledby": "kundli-form-lang",
|
|
2717
2728
|
"aria-activedescendant": `kundli-form-lang-option-${A}`,
|
|
2718
|
-
children: ze.map((
|
|
2729
|
+
children: ze.map(($) => /* @__PURE__ */ e.jsx(
|
|
2719
2730
|
"li",
|
|
2720
2731
|
{
|
|
2721
|
-
id: `kundli-form-lang-option-${
|
|
2732
|
+
id: `kundli-form-lang-option-${$}`,
|
|
2722
2733
|
role: "option",
|
|
2723
|
-
"aria-selected":
|
|
2724
|
-
className:
|
|
2734
|
+
"aria-selected": $ === A,
|
|
2735
|
+
className: se.langOption,
|
|
2725
2736
|
onClick: () => {
|
|
2726
|
-
|
|
2737
|
+
me?.trackLanguageChangedFe?.({ newLanguage: $ }), U($), Q(!1);
|
|
2727
2738
|
},
|
|
2728
|
-
children: Me[
|
|
2739
|
+
children: Me[$]
|
|
2729
2740
|
},
|
|
2730
|
-
|
|
2741
|
+
$
|
|
2731
2742
|
))
|
|
2732
2743
|
}
|
|
2733
2744
|
)
|
|
2734
2745
|
] }) : null;
|
|
2735
|
-
return /* @__PURE__ */ e.jsxs("div", { className: `${
|
|
2746
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${se.container} ${a}`, children: [
|
|
2736
2747
|
/* @__PURE__ */ e.jsx(
|
|
2737
|
-
|
|
2748
|
+
Lt,
|
|
2738
2749
|
{
|
|
2739
|
-
t:
|
|
2750
|
+
t: Y,
|
|
2740
2751
|
logoUrl: j ? x.config.logoUrl : void 0,
|
|
2741
|
-
languageSelector:
|
|
2742
|
-
className:
|
|
2752
|
+
languageSelector: he,
|
|
2753
|
+
className: se.kundliHeaderNoBorder
|
|
2743
2754
|
}
|
|
2744
2755
|
),
|
|
2745
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2746
|
-
/* @__PURE__ */ e.jsxs("main", { className:
|
|
2747
|
-
/* @__PURE__ */ e.jsx(
|
|
2756
|
+
/* @__PURE__ */ e.jsx("div", { className: se.headerSeparator, "aria-hidden": !0 }),
|
|
2757
|
+
/* @__PURE__ */ e.jsxs("main", { className: se.main, children: [
|
|
2758
|
+
/* @__PURE__ */ e.jsx(Wa, { t: Y, onBack: te }),
|
|
2748
2759
|
/* @__PURE__ */ e.jsx(
|
|
2749
|
-
|
|
2760
|
+
En,
|
|
2750
2761
|
{
|
|
2751
|
-
t:
|
|
2752
|
-
values:
|
|
2753
|
-
onChange:
|
|
2754
|
-
googleMapsApiKey:
|
|
2762
|
+
t: Y,
|
|
2763
|
+
values: W,
|
|
2764
|
+
onChange: z,
|
|
2765
|
+
googleMapsApiKey: h
|
|
2755
2766
|
}
|
|
2756
2767
|
)
|
|
2757
2768
|
] }),
|
|
2758
2769
|
/* @__PURE__ */ e.jsx(
|
|
2759
|
-
|
|
2770
|
+
Wn,
|
|
2760
2771
|
{
|
|
2761
|
-
t:
|
|
2762
|
-
values:
|
|
2772
|
+
t: Y,
|
|
2773
|
+
values: W,
|
|
2763
2774
|
onProceed: ue,
|
|
2764
|
-
href:
|
|
2765
|
-
originalPriceLabel:
|
|
2766
|
-
discountedPriceLabel:
|
|
2767
|
-
|
|
2768
|
-
analytics: ie
|
|
2775
|
+
href: ke,
|
|
2776
|
+
originalPriceLabel: ge,
|
|
2777
|
+
discountedPriceLabel: _e,
|
|
2778
|
+
analytics: me
|
|
2769
2779
|
}
|
|
2770
2780
|
)
|
|
2771
2781
|
] });
|
|
2772
|
-
},
|
|
2782
|
+
}, ms = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", hs = (a, n) => Qe[a]?.[n] ?? n, ps = 112;
|
|
2773
2783
|
function de({
|
|
2774
|
-
section:
|
|
2775
|
-
children:
|
|
2784
|
+
section: a,
|
|
2785
|
+
children: n,
|
|
2776
2786
|
onImpression: l
|
|
2777
2787
|
}) {
|
|
2778
|
-
const d =
|
|
2788
|
+
const d = K(null), o = K(!1);
|
|
2779
2789
|
return G(() => {
|
|
2780
|
-
const
|
|
2781
|
-
if (!
|
|
2790
|
+
const p = d.current;
|
|
2791
|
+
if (!p) return;
|
|
2782
2792
|
const f = new IntersectionObserver(
|
|
2783
2793
|
([u]) => {
|
|
2784
|
-
!u?.isIntersecting || o.current || (o.current = !0, l(
|
|
2794
|
+
!u?.isIntersecting || o.current || (o.current = !0, l(a));
|
|
2785
2795
|
},
|
|
2786
2796
|
{
|
|
2787
2797
|
threshold: 0.1,
|
|
2788
2798
|
// Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
|
|
2789
|
-
rootMargin: `0px 0px -${
|
|
2799
|
+
rootMargin: `0px 0px -${ps}px 0px`
|
|
2790
2800
|
}
|
|
2791
2801
|
);
|
|
2792
|
-
return f.observe(
|
|
2793
|
-
}, [
|
|
2802
|
+
return f.observe(p), () => f.disconnect();
|
|
2803
|
+
}, [a, l]), /* @__PURE__ */ e.jsx("div", { ref: d, children: n });
|
|
2794
2804
|
}
|
|
2795
|
-
function
|
|
2796
|
-
const { view:
|
|
2797
|
-
return
|
|
2805
|
+
function fs({ className: a }) {
|
|
2806
|
+
const { view: n } = St();
|
|
2807
|
+
return n === "form" ? /* @__PURE__ */ e.jsx(us, {}) : /* @__PURE__ */ e.jsx(gs, { className: a });
|
|
2798
2808
|
}
|
|
2799
|
-
function
|
|
2800
|
-
const
|
|
2809
|
+
function gs({ className: a }) {
|
|
2810
|
+
const n = It(), {
|
|
2801
2811
|
locale: l,
|
|
2802
2812
|
setLocale: d,
|
|
2803
2813
|
config: o,
|
|
2804
|
-
goToForm:
|
|
2805
|
-
} =
|
|
2806
|
-
|
|
2814
|
+
goToForm: p
|
|
2815
|
+
} = St(), [f, u] = H(!1), c = K(null), b = K(o.locale), h = K(
|
|
2816
|
+
n?.locale
|
|
2807
2817
|
);
|
|
2808
2818
|
G(() => {
|
|
2809
2819
|
o.locale && b.current !== o.locale && d(o.locale), b.current = o.locale;
|
|
2810
2820
|
}, [o.locale, d]), G(() => {
|
|
2811
2821
|
if (o.locale) return;
|
|
2812
|
-
const w =
|
|
2813
|
-
w &&
|
|
2814
|
-
}, [
|
|
2822
|
+
const w = n?.locale;
|
|
2823
|
+
w && h.current !== w && d(w), h.current = w;
|
|
2824
|
+
}, [n?.locale, o.locale, d]), G(() => {
|
|
2815
2825
|
if (!f) return;
|
|
2816
|
-
const w = (
|
|
2817
|
-
c.current && !c.current.contains(
|
|
2826
|
+
const w = (R) => {
|
|
2827
|
+
c.current && !c.current.contains(R.target) && u(!1);
|
|
2818
2828
|
};
|
|
2819
2829
|
return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
|
|
2820
2830
|
}, [f]);
|
|
2821
|
-
const _ = (w) =>
|
|
2831
|
+
const _ = (w) => hs(l, w), E = o.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: fe.langDropdownWrap, ref: c, children: [
|
|
2822
2832
|
/* @__PURE__ */ e.jsxs(
|
|
2823
2833
|
"button",
|
|
2824
2834
|
{
|
|
2825
2835
|
type: "button",
|
|
2826
|
-
className:
|
|
2836
|
+
className: fe.langTrigger,
|
|
2827
2837
|
onClick: () => {
|
|
2828
2838
|
o.analytics?.trackLanguageClickedFe?.({ language: l }), u((w) => !w);
|
|
2829
2839
|
},
|
|
@@ -2835,22 +2845,22 @@ function go({ className: n }) {
|
|
|
2835
2845
|
/* @__PURE__ */ e.jsx(
|
|
2836
2846
|
"img",
|
|
2837
2847
|
{
|
|
2838
|
-
src:
|
|
2848
|
+
src: ms,
|
|
2839
2849
|
alt: "",
|
|
2840
|
-
className:
|
|
2850
|
+
className: fe.langIcon,
|
|
2841
2851
|
width: 16,
|
|
2842
2852
|
height: 16,
|
|
2843
2853
|
"aria-hidden": !0
|
|
2844
2854
|
}
|
|
2845
2855
|
),
|
|
2846
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2856
|
+
/* @__PURE__ */ e.jsx("span", { className: fe.langLabel, children: Me[l] })
|
|
2847
2857
|
]
|
|
2848
2858
|
}
|
|
2849
2859
|
),
|
|
2850
2860
|
f && /* @__PURE__ */ e.jsx(
|
|
2851
2861
|
"ul",
|
|
2852
2862
|
{
|
|
2853
|
-
className:
|
|
2863
|
+
className: fe.langMenu,
|
|
2854
2864
|
role: "listbox",
|
|
2855
2865
|
"aria-labelledby": "kundli-lang",
|
|
2856
2866
|
"aria-activedescendant": `kundli-lang-option-${l}`,
|
|
@@ -2860,7 +2870,7 @@ function go({ className: n }) {
|
|
|
2860
2870
|
id: `kundli-lang-option-${w}`,
|
|
2861
2871
|
role: "option",
|
|
2862
2872
|
"aria-selected": w === l,
|
|
2863
|
-
className:
|
|
2873
|
+
className: fe.langOption,
|
|
2864
2874
|
onClick: () => {
|
|
2865
2875
|
o.analytics?.trackLanguageChangedFe?.({ newLanguage: w }), d(w), u(!1);
|
|
2866
2876
|
},
|
|
@@ -2871,9 +2881,9 @@ function go({ className: n }) {
|
|
|
2871
2881
|
}
|
|
2872
2882
|
)
|
|
2873
2883
|
] }) : null, j = (w) => {
|
|
2874
|
-
const
|
|
2875
|
-
o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText:
|
|
2876
|
-
},
|
|
2884
|
+
const R = w.currentTarget.innerText?.trim() ?? _("ctaButtonAfter");
|
|
2885
|
+
o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: R }), p(), o.onCtaClick?.();
|
|
2886
|
+
}, k = Pe(
|
|
2877
2887
|
(w) => {
|
|
2878
2888
|
o.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
2879
2889
|
section: w,
|
|
@@ -2882,31 +2892,31 @@ function go({ className: n }) {
|
|
|
2882
2892
|
},
|
|
2883
2893
|
[o.analytics]
|
|
2884
2894
|
);
|
|
2885
|
-
return /* @__PURE__ */ e.jsxs("div", { className: `${
|
|
2895
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${fe.container} ${a}`, children: [
|
|
2886
2896
|
/* @__PURE__ */ e.jsx(
|
|
2887
|
-
|
|
2897
|
+
Lt,
|
|
2888
2898
|
{
|
|
2889
2899
|
t: _,
|
|
2890
2900
|
logoUrl: o.logoUrl,
|
|
2891
|
-
languageSelector:
|
|
2901
|
+
languageSelector: E
|
|
2892
2902
|
}
|
|
2893
2903
|
),
|
|
2894
|
-
/* @__PURE__ */ e.jsxs("main", { className:
|
|
2904
|
+
/* @__PURE__ */ e.jsxs("main", { className: fe.main, children: [
|
|
2895
2905
|
/* @__PURE__ */ e.jsx(
|
|
2896
2906
|
de,
|
|
2897
2907
|
{
|
|
2898
2908
|
section: "hero",
|
|
2899
|
-
onImpression:
|
|
2900
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2909
|
+
onImpression: k,
|
|
2910
|
+
children: /* @__PURE__ */ e.jsx(sr, { t: _ })
|
|
2901
2911
|
}
|
|
2902
2912
|
),
|
|
2903
2913
|
/* @__PURE__ */ e.jsx(
|
|
2904
2914
|
de,
|
|
2905
2915
|
{
|
|
2906
2916
|
section: "premium_report_overview",
|
|
2907
|
-
onImpression:
|
|
2917
|
+
onImpression: k,
|
|
2908
2918
|
children: /* @__PURE__ */ e.jsx(
|
|
2909
|
-
|
|
2919
|
+
xr,
|
|
2910
2920
|
{
|
|
2911
2921
|
t: _,
|
|
2912
2922
|
reportImageUrl: o.reportImageUrl,
|
|
@@ -2919,9 +2929,9 @@ function go({ className: n }) {
|
|
|
2919
2929
|
de,
|
|
2920
2930
|
{
|
|
2921
2931
|
section: "university_certification",
|
|
2922
|
-
onImpression:
|
|
2932
|
+
onImpression: k,
|
|
2923
2933
|
children: /* @__PURE__ */ e.jsx(
|
|
2924
|
-
|
|
2934
|
+
Tr,
|
|
2925
2935
|
{
|
|
2926
2936
|
t: _,
|
|
2927
2937
|
logoUrl: o.universityLogoUrls?.find((w) => !!w)
|
|
@@ -2933,17 +2943,17 @@ function go({ className: n }) {
|
|
|
2933
2943
|
de,
|
|
2934
2944
|
{
|
|
2935
2945
|
section: "three_steps_process",
|
|
2936
|
-
onImpression:
|
|
2937
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2946
|
+
onImpression: k,
|
|
2947
|
+
children: /* @__PURE__ */ e.jsx(Or, { t: _, locale: l, isGlobal: o.isGlobal })
|
|
2938
2948
|
}
|
|
2939
2949
|
),
|
|
2940
2950
|
/* @__PURE__ */ e.jsx(
|
|
2941
2951
|
de,
|
|
2942
2952
|
{
|
|
2943
2953
|
section: "view_sample_report",
|
|
2944
|
-
onImpression:
|
|
2954
|
+
onImpression: k,
|
|
2945
2955
|
children: /* @__PURE__ */ e.jsx(
|
|
2946
|
-
|
|
2956
|
+
Xr,
|
|
2947
2957
|
{
|
|
2948
2958
|
t: _,
|
|
2949
2959
|
pdfUrl: o.sampleReportHref,
|
|
@@ -2957,45 +2967,45 @@ function go({ className: n }) {
|
|
|
2957
2967
|
de,
|
|
2958
2968
|
{
|
|
2959
2969
|
section: "what_youll_find",
|
|
2960
|
-
onImpression:
|
|
2961
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2970
|
+
onImpression: k,
|
|
2971
|
+
children: /* @__PURE__ */ e.jsx(ui, { t: _ })
|
|
2962
2972
|
}
|
|
2963
2973
|
),
|
|
2964
2974
|
/* @__PURE__ */ e.jsx(
|
|
2965
2975
|
de,
|
|
2966
2976
|
{
|
|
2967
2977
|
section: "why_us",
|
|
2968
|
-
onImpression:
|
|
2969
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2978
|
+
onImpression: k,
|
|
2979
|
+
children: /* @__PURE__ */ e.jsx(bi, { t: _ })
|
|
2970
2980
|
}
|
|
2971
2981
|
),
|
|
2972
2982
|
/* @__PURE__ */ e.jsx(
|
|
2973
2983
|
de,
|
|
2974
2984
|
{
|
|
2975
2985
|
section: "feedback",
|
|
2976
|
-
onImpression:
|
|
2977
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2986
|
+
onImpression: k,
|
|
2987
|
+
children: /* @__PURE__ */ e.jsx(Mi, { t: _, readMoreHref: o.readMoreReviewsHref })
|
|
2978
2988
|
}
|
|
2979
2989
|
),
|
|
2980
2990
|
/* @__PURE__ */ e.jsx(
|
|
2981
2991
|
de,
|
|
2982
2992
|
{
|
|
2983
2993
|
section: "faq",
|
|
2984
|
-
onImpression:
|
|
2985
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2994
|
+
onImpression: k,
|
|
2995
|
+
children: /* @__PURE__ */ e.jsx(Zi, { t: _ })
|
|
2986
2996
|
}
|
|
2987
2997
|
),
|
|
2988
2998
|
/* @__PURE__ */ e.jsx(
|
|
2989
2999
|
de,
|
|
2990
3000
|
{
|
|
2991
3001
|
section: "contact_us",
|
|
2992
|
-
onImpression:
|
|
2993
|
-
children: /* @__PURE__ */ e.jsx(
|
|
3002
|
+
onImpression: k,
|
|
3003
|
+
children: /* @__PURE__ */ e.jsx(is, { t: _ })
|
|
2994
3004
|
}
|
|
2995
3005
|
)
|
|
2996
3006
|
] }),
|
|
2997
3007
|
/* @__PURE__ */ e.jsx(
|
|
2998
|
-
|
|
3008
|
+
os,
|
|
2999
3009
|
{
|
|
3000
3010
|
t: _,
|
|
3001
3011
|
ctaHref: o.ctaHref,
|
|
@@ -3004,52 +3014,52 @@ function go({ className: n }) {
|
|
|
3004
3014
|
)
|
|
3005
3015
|
] });
|
|
3006
3016
|
}
|
|
3007
|
-
const
|
|
3008
|
-
className:
|
|
3009
|
-
locale:
|
|
3017
|
+
const ks = ({
|
|
3018
|
+
className: a = "",
|
|
3019
|
+
locale: n,
|
|
3010
3020
|
showLanguageSelector: l = !0,
|
|
3011
3021
|
userId: d,
|
|
3012
3022
|
isGlobal: o,
|
|
3013
|
-
logoUrl:
|
|
3023
|
+
logoUrl: p,
|
|
3014
3024
|
reportImageUrl: f,
|
|
3015
3025
|
universityLogoUrls: u,
|
|
3016
3026
|
sampleReportHref: c,
|
|
3017
3027
|
onViewSampleReport: b,
|
|
3018
|
-
ctaHref:
|
|
3028
|
+
ctaHref: h,
|
|
3019
3029
|
onCtaClick: _,
|
|
3020
3030
|
readMoreReviewsHref: x,
|
|
3021
|
-
onProceed:
|
|
3031
|
+
onProceed: E,
|
|
3022
3032
|
proceedHref: j,
|
|
3023
|
-
originalPriceLabel:
|
|
3033
|
+
originalPriceLabel: k,
|
|
3024
3034
|
discountedPriceLabel: w,
|
|
3025
|
-
discountPillLabel:
|
|
3026
|
-
analytics:
|
|
3035
|
+
discountPillLabel: R,
|
|
3036
|
+
analytics: y,
|
|
3027
3037
|
onLocaleChange: A
|
|
3028
3038
|
}) => /* @__PURE__ */ e.jsx(
|
|
3029
|
-
|
|
3039
|
+
Ra,
|
|
3030
3040
|
{
|
|
3031
|
-
locale:
|
|
3041
|
+
locale: n,
|
|
3032
3042
|
showLanguageSelector: l,
|
|
3033
3043
|
userId: d,
|
|
3034
3044
|
isGlobal: o,
|
|
3035
|
-
logoUrl:
|
|
3045
|
+
logoUrl: p,
|
|
3036
3046
|
reportImageUrl: f,
|
|
3037
3047
|
universityLogoUrls: u,
|
|
3038
3048
|
sampleReportHref: c,
|
|
3039
3049
|
onViewSampleReport: b,
|
|
3040
|
-
ctaHref:
|
|
3050
|
+
ctaHref: h,
|
|
3041
3051
|
onCtaClick: _,
|
|
3042
3052
|
readMoreReviewsHref: x,
|
|
3043
|
-
onProceed:
|
|
3053
|
+
onProceed: E,
|
|
3044
3054
|
proceedHref: j,
|
|
3045
|
-
originalPriceLabel:
|
|
3055
|
+
originalPriceLabel: k,
|
|
3046
3056
|
discountedPriceLabel: w,
|
|
3047
|
-
discountPillLabel:
|
|
3048
|
-
analytics:
|
|
3057
|
+
discountPillLabel: R,
|
|
3058
|
+
analytics: y,
|
|
3049
3059
|
onLocaleChange: A,
|
|
3050
|
-
children: /* @__PURE__ */ e.jsx(
|
|
3060
|
+
children: /* @__PURE__ */ e.jsx(fs, { className: a })
|
|
3051
3061
|
}
|
|
3052
|
-
),
|
|
3062
|
+
), xs = {
|
|
3053
3063
|
banner_clicked_fe: "banner_clicked_fe",
|
|
3054
3064
|
primary_cta_clicked_fe: "primary_cta_clicked_fe",
|
|
3055
3065
|
language_changed_fe: "language_changed_fe",
|
|
@@ -3081,22 +3091,22 @@ const ko = ({
|
|
|
3081
3091
|
kundli_form_view: "kundli_form_view"
|
|
3082
3092
|
};
|
|
3083
3093
|
export {
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3094
|
+
bs as I18nProvider,
|
|
3095
|
+
xs as KUNDLI_ANALYTICS_EVENT_NAMES,
|
|
3096
|
+
Ct as KUNDLI_LANGUAGE_STORAGE_KEY,
|
|
3087
3097
|
Je as KundliContext,
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3098
|
+
us as KundliForm,
|
|
3099
|
+
ks as KundliPage,
|
|
3100
|
+
Ra as KundliProvider,
|
|
3091
3101
|
ze as SUPPORTED_LOCALES,
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3102
|
+
Aa as getItem,
|
|
3103
|
+
Ia as getStoredKundliLocale,
|
|
3104
|
+
vs as isLocalStorageAvailable,
|
|
3105
|
+
ys as removeItem,
|
|
3106
|
+
Ea as setItem,
|
|
3107
|
+
Ca as setStoredKundliLocale,
|
|
3108
|
+
It as useI18n,
|
|
3109
|
+
Te as useKundliContext,
|
|
3110
|
+
St as useKundliContextOrThrow
|
|
3101
3111
|
};
|
|
3102
3112
|
//# sourceMappingURL=kundli-generator.js.map
|