@srimandir/kundli-generator 7.5.7 → 7.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{analytics-BZyas-wq.js → analytics-DOC6EHFq.js} +320 -319
- package/dist/analytics-DOC6EHFq.js.map +1 -0
- package/dist/components/KundliPage/KundliContext.d.ts +2 -0
- package/dist/components/KundliPage/KundliPage.d.ts +11 -4
- package/dist/components/KundliPage/KundliPageV1.d.ts +0 -4
- package/dist/{criticalCss-5f00WNFD.js → criticalCss-BIJjNQDN.js} +487 -496
- package/dist/criticalCss-BIJjNQDN.js.map +1 -0
- package/dist/form-entry.js +1 -1
- package/dist/kundli-generator.js +2 -2
- package/dist/page-entry.js +2 -2
- package/package.json +2 -2
- package/dist/analytics-BZyas-wq.js.map +0 -1
- package/dist/criticalCss-5f00WNFD.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import er, { useContext as rr, createContext as br, useState as
|
|
1
|
+
import er, { useContext as rr, createContext as br, useState as K, useRef as B, useEffect as V, useMemo as Xe, useCallback as ye } from "react";
|
|
2
2
|
import { FormSectionHeader as Ur, FooterCTAButton as Gr, FooterShell as Kr, CircularMarquee as Wr, footerShellStyles as Ne, PageHeader as Hr } from "@srimandir/astrology-common";
|
|
3
3
|
var We = { exports: {} }, Ue = {};
|
|
4
4
|
var ur;
|
|
@@ -46,7 +46,7 @@ function qr() {
|
|
|
46
46
|
}
|
|
47
47
|
var z = !1, H = !1, D = !1, $ = !1, C = !1, S;
|
|
48
48
|
S = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
|
-
function
|
|
49
|
+
function te(e) {
|
|
50
50
|
return !!(typeof e == "string" || typeof e == "function" || e === d || e === x || C || e === y || e === F || e === P || $ || e === I || z || H || D || typeof e == "object" && e !== null && (e.$$typeof === u || e.$$typeof === E || e.$$typeof === g || e.$$typeof === T || e.$$typeof === k || // 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
|
|
@@ -108,18 +108,18 @@ function qr() {
|
|
|
108
108
|
}
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
111
|
-
var
|
|
112
|
-
function
|
|
111
|
+
var U = Object.assign, Y = 0, G, Ce, Z, ne, Q, ae, xe;
|
|
112
|
+
function ve() {
|
|
113
113
|
}
|
|
114
|
-
|
|
115
|
-
function
|
|
114
|
+
ve.__reactDisabledLog = !0;
|
|
115
|
+
function Ae() {
|
|
116
116
|
{
|
|
117
117
|
if (Y === 0) {
|
|
118
|
-
G = console.log,
|
|
118
|
+
G = console.log, Ce = console.info, Z = console.warn, ne = console.error, Q = console.group, ae = console.groupCollapsed, xe = console.groupEnd;
|
|
119
119
|
var e = {
|
|
120
120
|
configurable: !0,
|
|
121
121
|
enumerable: !0,
|
|
122
|
-
value:
|
|
122
|
+
value: ve,
|
|
123
123
|
writable: !0
|
|
124
124
|
};
|
|
125
125
|
Object.defineProperties(console, {
|
|
@@ -135,7 +135,7 @@ function qr() {
|
|
|
135
135
|
Y++;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function ee() {
|
|
139
139
|
{
|
|
140
140
|
if (Y--, Y === 0) {
|
|
141
141
|
var e = {
|
|
@@ -144,65 +144,65 @@ function qr() {
|
|
|
144
144
|
writable: !0
|
|
145
145
|
};
|
|
146
146
|
Object.defineProperties(console, {
|
|
147
|
-
log:
|
|
147
|
+
log: U({}, e, {
|
|
148
148
|
value: G
|
|
149
149
|
}),
|
|
150
|
-
info:
|
|
151
|
-
value:
|
|
150
|
+
info: U({}, e, {
|
|
151
|
+
value: Ce
|
|
152
152
|
}),
|
|
153
|
-
warn:
|
|
153
|
+
warn: U({}, e, {
|
|
154
154
|
value: Z
|
|
155
155
|
}),
|
|
156
|
-
error:
|
|
156
|
+
error: U({}, e, {
|
|
157
|
+
value: ne
|
|
158
|
+
}),
|
|
159
|
+
group: U({}, e, {
|
|
157
160
|
value: Q
|
|
158
161
|
}),
|
|
159
|
-
|
|
162
|
+
groupCollapsed: U({}, e, {
|
|
160
163
|
value: ae
|
|
161
164
|
}),
|
|
162
|
-
|
|
163
|
-
value:
|
|
164
|
-
}),
|
|
165
|
-
groupEnd: K({}, e, {
|
|
166
|
-
value: Ae
|
|
165
|
+
groupEnd: U({}, e, {
|
|
166
|
+
value: xe
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
170
|
Y < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
var
|
|
174
|
-
function
|
|
173
|
+
var re = f.ReactCurrentDispatcher, de;
|
|
174
|
+
function me(e, i, l) {
|
|
175
175
|
{
|
|
176
|
-
if (
|
|
176
|
+
if (de === void 0)
|
|
177
177
|
try {
|
|
178
178
|
throw Error();
|
|
179
179
|
} catch (N) {
|
|
180
180
|
var p = N.stack.trim().match(/\n( *(at )?)/);
|
|
181
|
-
|
|
181
|
+
de = p && p[1] || "";
|
|
182
182
|
}
|
|
183
183
|
return `
|
|
184
|
-
` +
|
|
184
|
+
` + de + e;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
var
|
|
187
|
+
var oe = !1, fe;
|
|
188
188
|
{
|
|
189
|
-
var
|
|
190
|
-
|
|
189
|
+
var ge = typeof WeakMap == "function" ? WeakMap : Map;
|
|
190
|
+
fe = new ge();
|
|
191
191
|
}
|
|
192
192
|
function je(e, i) {
|
|
193
|
-
if (!e ||
|
|
193
|
+
if (!e || oe)
|
|
194
194
|
return "";
|
|
195
195
|
{
|
|
196
|
-
var l =
|
|
196
|
+
var l = fe.get(e);
|
|
197
197
|
if (l !== void 0)
|
|
198
198
|
return l;
|
|
199
199
|
}
|
|
200
200
|
var p;
|
|
201
|
-
|
|
201
|
+
oe = !0;
|
|
202
202
|
var N = Error.prepareStackTrace;
|
|
203
203
|
Error.prepareStackTrace = void 0;
|
|
204
204
|
var L;
|
|
205
|
-
L =
|
|
205
|
+
L = re.current, re.current = null, Ae();
|
|
206
206
|
try {
|
|
207
207
|
if (i) {
|
|
208
208
|
var A = function() {
|
|
@@ -215,111 +215,111 @@ function qr() {
|
|
|
215
215
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
216
216
|
try {
|
|
217
217
|
Reflect.construct(A, []);
|
|
218
|
-
} catch (
|
|
219
|
-
p =
|
|
218
|
+
} catch (ce) {
|
|
219
|
+
p = ce;
|
|
220
220
|
}
|
|
221
221
|
Reflect.construct(e, [], A);
|
|
222
222
|
} else {
|
|
223
223
|
try {
|
|
224
224
|
A.call();
|
|
225
|
-
} catch (
|
|
226
|
-
p =
|
|
225
|
+
} catch (ce) {
|
|
226
|
+
p = ce;
|
|
227
227
|
}
|
|
228
228
|
e.call(A.prototype);
|
|
229
229
|
}
|
|
230
230
|
} else {
|
|
231
231
|
try {
|
|
232
232
|
throw Error();
|
|
233
|
-
} catch (
|
|
234
|
-
p =
|
|
233
|
+
} catch (ce) {
|
|
234
|
+
p = ce;
|
|
235
235
|
}
|
|
236
236
|
e();
|
|
237
237
|
}
|
|
238
|
-
} catch (
|
|
239
|
-
if (
|
|
240
|
-
for (var w =
|
|
241
|
-
`),
|
|
242
|
-
`), W = w.length - 1, q =
|
|
238
|
+
} catch (ce) {
|
|
239
|
+
if (ce && p && typeof ce.stack == "string") {
|
|
240
|
+
for (var w = ce.stack.split(`
|
|
241
|
+
`), le = p.stack.split(`
|
|
242
|
+
`), W = w.length - 1, q = le.length - 1; W >= 1 && q >= 0 && w[W] !== le[q]; )
|
|
243
243
|
q--;
|
|
244
244
|
for (; W >= 1 && q >= 0; W--, q--)
|
|
245
|
-
if (w[W] !==
|
|
245
|
+
if (w[W] !== le[q]) {
|
|
246
246
|
if (W !== 1 || q !== 1)
|
|
247
247
|
do
|
|
248
|
-
if (W--, q--, q < 0 || w[W] !==
|
|
249
|
-
var
|
|
248
|
+
if (W--, q--, q < 0 || w[W] !== le[q]) {
|
|
249
|
+
var he = `
|
|
250
250
|
` + w[W].replace(" at new ", " at ");
|
|
251
|
-
return e.displayName &&
|
|
251
|
+
return e.displayName && he.includes("<anonymous>") && (he = he.replace("<anonymous>", e.displayName)), typeof e == "function" && fe.set(e, he), he;
|
|
252
252
|
}
|
|
253
253
|
while (W >= 1 && q >= 0);
|
|
254
254
|
break;
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
} finally {
|
|
258
|
-
|
|
258
|
+
oe = !1, re.current = L, ee(), Error.prepareStackTrace = N;
|
|
259
259
|
}
|
|
260
|
-
var Le = e ? e.displayName || e.name : "", Te = Le ?
|
|
261
|
-
return typeof e == "function" &&
|
|
260
|
+
var Le = e ? e.displayName || e.name : "", Te = Le ? me(Le) : "";
|
|
261
|
+
return typeof e == "function" && fe.set(e, Te), Te;
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function ie(e, i, l) {
|
|
264
264
|
return je(e, !1);
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function se(e) {
|
|
267
267
|
var i = e.prototype;
|
|
268
268
|
return !!(i && i.isReactComponent);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function Pe(e, i, l) {
|
|
271
271
|
if (e == null)
|
|
272
272
|
return "";
|
|
273
273
|
if (typeof e == "function")
|
|
274
|
-
return je(e,
|
|
274
|
+
return je(e, se(e));
|
|
275
275
|
if (typeof e == "string")
|
|
276
|
-
return
|
|
276
|
+
return me(e);
|
|
277
277
|
switch (e) {
|
|
278
278
|
case F:
|
|
279
|
-
return
|
|
279
|
+
return me("Suspense");
|
|
280
280
|
case P:
|
|
281
|
-
return
|
|
281
|
+
return me("SuspenseList");
|
|
282
282
|
}
|
|
283
283
|
if (typeof e == "object")
|
|
284
284
|
switch (e.$$typeof) {
|
|
285
285
|
case k:
|
|
286
|
-
return
|
|
286
|
+
return ie(e.render);
|
|
287
287
|
case E:
|
|
288
|
-
return
|
|
288
|
+
return Pe(e.type, i, l);
|
|
289
289
|
case u: {
|
|
290
290
|
var p = e, N = p._payload, L = p._init;
|
|
291
291
|
try {
|
|
292
|
-
return
|
|
292
|
+
return Pe(L(N), i, l);
|
|
293
293
|
} catch {
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
return "";
|
|
298
298
|
}
|
|
299
|
-
var
|
|
300
|
-
function
|
|
299
|
+
var _e = Object.prototype.hasOwnProperty, ue = {}, be = f.ReactDebugCurrentFrame;
|
|
300
|
+
function ke(e) {
|
|
301
301
|
if (e) {
|
|
302
|
-
var i = e._owner, l =
|
|
303
|
-
|
|
302
|
+
var i = e._owner, l = Pe(e.type, e._source, i ? i.type : null);
|
|
303
|
+
be.setExtraStackFrame(l);
|
|
304
304
|
} else
|
|
305
|
-
|
|
305
|
+
be.setExtraStackFrame(null);
|
|
306
306
|
}
|
|
307
307
|
function Se(e, i, l, p, N) {
|
|
308
308
|
{
|
|
309
|
-
var L = Function.call.bind(
|
|
309
|
+
var L = Function.call.bind(_e);
|
|
310
310
|
for (var A in e)
|
|
311
311
|
if (L(e, A)) {
|
|
312
312
|
var w = void 0;
|
|
313
313
|
try {
|
|
314
314
|
if (typeof e[A] != "function") {
|
|
315
|
-
var
|
|
316
|
-
throw
|
|
315
|
+
var le = Error((p || "React class") + ": " + l + " type `" + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[A] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
316
|
+
throw le.name = "Invariant Violation", le;
|
|
317
317
|
}
|
|
318
318
|
w = e[A](i, A, p, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
319
319
|
} catch (W) {
|
|
320
320
|
w = W;
|
|
321
321
|
}
|
|
322
|
-
w && !(w instanceof Error) && (
|
|
322
|
+
w && !(w instanceof Error) && (ke(N), v("%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).", p || "React class", l, A, typeof w), ke(null)), w instanceof Error && !(w.message in ue) && (ue[w.message] = !0, ke(N), v("Failed %s type: %s", l, w.message), ke(null));
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
}
|
|
@@ -352,9 +352,9 @@ function qr() {
|
|
|
352
352
|
ref: !0,
|
|
353
353
|
__self: !0,
|
|
354
354
|
__source: !0
|
|
355
|
-
}, R,
|
|
355
|
+
}, R, pe;
|
|
356
356
|
function $e(e) {
|
|
357
|
-
if (
|
|
357
|
+
if (_e.call(e, "ref")) {
|
|
358
358
|
var i = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
359
359
|
if (i && i.isReactWarning)
|
|
360
360
|
return !1;
|
|
@@ -362,7 +362,7 @@ function qr() {
|
|
|
362
362
|
return e.ref !== void 0;
|
|
363
363
|
}
|
|
364
364
|
function qe(e) {
|
|
365
|
-
if (
|
|
365
|
+
if (_e.call(e, "key")) {
|
|
366
366
|
var i = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
367
367
|
if (i && i.isReactWarning)
|
|
368
368
|
return !1;
|
|
@@ -386,7 +386,7 @@ function qr() {
|
|
|
386
386
|
function Tr(e, i) {
|
|
387
387
|
{
|
|
388
388
|
var l = function() {
|
|
389
|
-
|
|
389
|
+
pe || (pe = !0, v("%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
|
l.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
392
392
|
get: l,
|
|
@@ -425,26 +425,26 @@ function qr() {
|
|
|
425
425
|
};
|
|
426
426
|
function Sr(e, i, l, p, N) {
|
|
427
427
|
{
|
|
428
|
-
var L, A = {}, w = null,
|
|
429
|
-
l !== void 0 && (Me(l), w = "" + l), qe(i) && (Me(i.key), w = "" + i.key), $e(i) && (
|
|
428
|
+
var L, A = {}, w = null, le = null;
|
|
429
|
+
l !== void 0 && (Me(l), w = "" + l), qe(i) && (Me(i.key), w = "" + i.key), $e(i) && (le = i.ref, Ar(i, N));
|
|
430
430
|
for (L in i)
|
|
431
|
-
|
|
431
|
+
_e.call(i, L) && !s.hasOwnProperty(L) && (A[L] = i[L]);
|
|
432
432
|
if (e && e.defaultProps) {
|
|
433
433
|
var W = e.defaultProps;
|
|
434
434
|
for (L in W)
|
|
435
435
|
A[L] === void 0 && (A[L] = W[L]);
|
|
436
436
|
}
|
|
437
|
-
if (w ||
|
|
437
|
+
if (w || le) {
|
|
438
438
|
var q = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
439
|
-
w && jr(A, q),
|
|
439
|
+
w && jr(A, q), le && Tr(A, q);
|
|
440
440
|
}
|
|
441
|
-
return Nr(e, w,
|
|
441
|
+
return Nr(e, w, le, N, p, a.current, A);
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
444
|
var Ve = f.ReactCurrentOwner, nr = f.ReactDebugCurrentFrame;
|
|
445
445
|
function Ie(e) {
|
|
446
446
|
if (e) {
|
|
447
|
-
var i = e._owner, l =
|
|
447
|
+
var i = e._owner, l = Pe(e.type, e._source, i ? i.type : null);
|
|
448
448
|
nr.setExtraStackFrame(l);
|
|
449
449
|
} else
|
|
450
450
|
nr.setExtraStackFrame(null);
|
|
@@ -554,12 +554,12 @@ Check the top-level render call using <` + l + ">.");
|
|
|
554
554
|
var cr = {};
|
|
555
555
|
function dr(e, i, l, p, N, L) {
|
|
556
556
|
{
|
|
557
|
-
var A =
|
|
557
|
+
var A = te(e);
|
|
558
558
|
if (!A) {
|
|
559
559
|
var w = "";
|
|
560
560
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (w += " 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
|
-
|
|
561
|
+
var le = Rr();
|
|
562
|
+
le ? w += le : w += or();
|
|
563
563
|
var W;
|
|
564
564
|
e === null ? W = "null" : _(e) ? W = "array" : e !== void 0 && e.$$typeof === o ? (W = "<" + (j(e.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : W = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", W, w);
|
|
565
565
|
}
|
|
@@ -567,24 +567,24 @@ Check the top-level render call using <` + l + ">.");
|
|
|
567
567
|
if (q == null)
|
|
568
568
|
return q;
|
|
569
569
|
if (A) {
|
|
570
|
-
var
|
|
571
|
-
if (
|
|
570
|
+
var he = i.children;
|
|
571
|
+
if (he !== void 0)
|
|
572
572
|
if (p)
|
|
573
|
-
if (_(
|
|
574
|
-
for (var Le = 0; Le <
|
|
575
|
-
lr(
|
|
576
|
-
Object.freeze && Object.freeze(
|
|
573
|
+
if (_(he)) {
|
|
574
|
+
for (var Le = 0; Le < he.length; Le++)
|
|
575
|
+
lr(he[Le], e);
|
|
576
|
+
Object.freeze && Object.freeze(he);
|
|
577
577
|
} else
|
|
578
578
|
v("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
|
-
lr(
|
|
580
|
+
lr(he, e);
|
|
581
581
|
}
|
|
582
|
-
if (
|
|
583
|
-
var Te = j(e),
|
|
582
|
+
if (_e.call(i, "key")) {
|
|
583
|
+
var Te = j(e), ce = Object.keys(i).filter(function($r) {
|
|
584
584
|
return $r !== "key";
|
|
585
|
-
}), Qe =
|
|
585
|
+
}), Qe = ce.length > 0 ? "{key: someKey, " + ce.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
586
586
|
if (!cr[Te + Qe]) {
|
|
587
|
-
var Mr =
|
|
587
|
+
var Mr = ce.length > 0 ? "{" + ce.join(": ..., ") + ": ...}" : "{}";
|
|
588
588
|
v(`A props object containing a "key" prop is being spread into JSX:
|
|
589
589
|
let props = %s;
|
|
590
590
|
<%s {...props} />
|
|
@@ -611,7 +611,7 @@ function Vr() {
|
|
|
611
611
|
return fr || (fr = 1, process.env.NODE_ENV === "production" ? We.exports = Yr() : We.exports = qr()), We.exports;
|
|
612
612
|
}
|
|
613
613
|
var r = Vr();
|
|
614
|
-
const zr = "_container_1e1th_1", Jr = "_main_1e1th_7", Qr = "_kundliHeaderNoBorder_1e1th_12", Xr = "_headerSeparator_1e1th_16", Zr = "_langDropdownWrap_1e1th_21", et = "_langTrigger_1e1th_25", rt = "_langIcon_1e1th_37", tt = "_langLabel_1e1th_44", at = "_langMenu_1e1th_49", nt = "_langOption_1e1th_55",
|
|
614
|
+
const zr = "_container_1e1th_1", Jr = "_main_1e1th_7", Qr = "_kundliHeaderNoBorder_1e1th_12", Xr = "_headerSeparator_1e1th_16", Zr = "_langDropdownWrap_1e1th_21", et = "_langTrigger_1e1th_25", rt = "_langIcon_1e1th_37", tt = "_langLabel_1e1th_44", at = "_langMenu_1e1th_49", nt = "_langOption_1e1th_55", we = {
|
|
615
615
|
container: zr,
|
|
616
616
|
main: Jr,
|
|
617
617
|
kundliHeaderNoBorder: Qr,
|
|
@@ -1139,49 +1139,50 @@ const tr = br(null), dt = {
|
|
|
1139
1139
|
variant: x,
|
|
1140
1140
|
initialFormValues: g,
|
|
1141
1141
|
autoOpenPlanSheet: T,
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1142
|
+
initialView: k = "landing",
|
|
1143
|
+
googleMapsApiKey: F,
|
|
1144
|
+
atlasSearchLocalities: P,
|
|
1145
|
+
googleMapsAutocompleteEnabled: E,
|
|
1146
|
+
logoUrl: u,
|
|
1147
|
+
reportImageUrl: I,
|
|
1148
|
+
reportImagePriority: h,
|
|
1149
|
+
backgroundImagePriority: M,
|
|
1150
|
+
universityLogoUrls: m,
|
|
1151
|
+
sampleReportHref: f,
|
|
1152
|
+
onViewSampleReport: v,
|
|
1153
|
+
ctaHref: X,
|
|
1154
|
+
onCtaClick: z,
|
|
1155
|
+
onBack: H,
|
|
1156
|
+
readMoreReviewsHref: D,
|
|
1157
|
+
onProceed: $,
|
|
1158
|
+
proceedHref: C,
|
|
1159
|
+
originalPriceLabel: S,
|
|
1160
|
+
discountedPriceLabel: te,
|
|
1161
|
+
discountPillLabel: J,
|
|
1162
|
+
analytics: O,
|
|
1163
|
+
onProceedGuidance: j,
|
|
1164
|
+
onLocaleChange: U,
|
|
1165
|
+
imageComponent: Y = Ye,
|
|
1166
|
+
resolvedUtmBannerImageUrl: G,
|
|
1167
|
+
children: Ce
|
|
1167
1168
|
}) => {
|
|
1168
|
-
const [
|
|
1169
|
+
const [Z, ne] = K(k), [Q, ae] = K(t ?? "en"), [xe, ve] = K({
|
|
1169
1170
|
...dt,
|
|
1170
1171
|
...g
|
|
1171
|
-
}),
|
|
1172
|
+
}), Ae = B(!0);
|
|
1172
1173
|
V(() => {
|
|
1173
|
-
const
|
|
1174
|
-
|
|
1174
|
+
const oe = lt();
|
|
1175
|
+
oe && ae(oe);
|
|
1175
1176
|
}, []), V(() => {
|
|
1176
1177
|
ct(Q);
|
|
1177
1178
|
}, [Q]), V(() => {
|
|
1178
|
-
if (
|
|
1179
|
-
|
|
1179
|
+
if (Ae.current) {
|
|
1180
|
+
Ae.current = !1;
|
|
1180
1181
|
return;
|
|
1181
1182
|
}
|
|
1182
|
-
|
|
1183
|
-
}, [Q,
|
|
1184
|
-
const
|
|
1183
|
+
U?.(Q);
|
|
1184
|
+
}, [Q, U]);
|
|
1185
|
+
const ee = Xe(
|
|
1185
1186
|
() => ({
|
|
1186
1187
|
locale: t,
|
|
1187
1188
|
showLanguageSelector: o,
|
|
@@ -1191,30 +1192,30 @@ const tr = br(null), dt = {
|
|
|
1191
1192
|
variant: x,
|
|
1192
1193
|
initialFormValues: g,
|
|
1193
1194
|
autoOpenPlanSheet: T,
|
|
1194
|
-
googleMapsApiKey:
|
|
1195
|
-
atlasSearchLocalities:
|
|
1196
|
-
googleMapsAutocompleteEnabled:
|
|
1197
|
-
logoUrl:
|
|
1198
|
-
reportImageUrl:
|
|
1199
|
-
reportImagePriority:
|
|
1200
|
-
backgroundImagePriority:
|
|
1201
|
-
universityLogoUrls:
|
|
1202
|
-
sampleReportHref:
|
|
1203
|
-
onViewSampleReport:
|
|
1204
|
-
ctaHref:
|
|
1205
|
-
onCtaClick:
|
|
1206
|
-
onBack:
|
|
1207
|
-
readMoreReviewsHref:
|
|
1208
|
-
onProceed:
|
|
1209
|
-
proceedHref:
|
|
1210
|
-
originalPriceLabel:
|
|
1211
|
-
discountedPriceLabel:
|
|
1212
|
-
discountPillLabel:
|
|
1213
|
-
analytics:
|
|
1214
|
-
onProceedGuidance:
|
|
1215
|
-
onLocaleChange:
|
|
1216
|
-
imageComponent:
|
|
1217
|
-
resolvedUtmBannerImageUrl:
|
|
1195
|
+
googleMapsApiKey: F,
|
|
1196
|
+
atlasSearchLocalities: P,
|
|
1197
|
+
googleMapsAutocompleteEnabled: E,
|
|
1198
|
+
logoUrl: u,
|
|
1199
|
+
reportImageUrl: I,
|
|
1200
|
+
reportImagePriority: h,
|
|
1201
|
+
backgroundImagePriority: M,
|
|
1202
|
+
universityLogoUrls: m,
|
|
1203
|
+
sampleReportHref: f,
|
|
1204
|
+
onViewSampleReport: v,
|
|
1205
|
+
ctaHref: X,
|
|
1206
|
+
onCtaClick: z,
|
|
1207
|
+
onBack: H,
|
|
1208
|
+
readMoreReviewsHref: D,
|
|
1209
|
+
onProceed: $,
|
|
1210
|
+
proceedHref: C,
|
|
1211
|
+
originalPriceLabel: S,
|
|
1212
|
+
discountedPriceLabel: te,
|
|
1213
|
+
discountPillLabel: J,
|
|
1214
|
+
analytics: O,
|
|
1215
|
+
onProceedGuidance: j,
|
|
1216
|
+
onLocaleChange: U,
|
|
1217
|
+
imageComponent: Y,
|
|
1218
|
+
resolvedUtmBannerImageUrl: G
|
|
1218
1219
|
}),
|
|
1219
1220
|
[
|
|
1220
1221
|
t,
|
|
@@ -1225,7 +1226,6 @@ const tr = br(null), dt = {
|
|
|
1225
1226
|
x,
|
|
1226
1227
|
g,
|
|
1227
1228
|
T,
|
|
1228
|
-
k,
|
|
1229
1229
|
F,
|
|
1230
1230
|
P,
|
|
1231
1231
|
E,
|
|
@@ -1243,33 +1243,34 @@ const tr = br(null), dt = {
|
|
|
1243
1243
|
$,
|
|
1244
1244
|
C,
|
|
1245
1245
|
S,
|
|
1246
|
-
|
|
1246
|
+
te,
|
|
1247
1247
|
J,
|
|
1248
1248
|
O,
|
|
1249
1249
|
j,
|
|
1250
|
-
|
|
1251
|
-
Y
|
|
1250
|
+
U,
|
|
1251
|
+
Y,
|
|
1252
|
+
G
|
|
1252
1253
|
]
|
|
1253
|
-
),
|
|
1254
|
-
|
|
1255
|
-
}, [
|
|
1256
|
-
|
|
1257
|
-
}, [
|
|
1254
|
+
), re = ye(() => {
|
|
1255
|
+
ne("form");
|
|
1256
|
+
}, [ee.analytics]), de = ye(() => {
|
|
1257
|
+
ne("landing"), ee.onBack?.();
|
|
1258
|
+
}, [ee.onBack]), me = Xe(
|
|
1258
1259
|
() => ({
|
|
1259
|
-
view:
|
|
1260
|
+
view: Z,
|
|
1260
1261
|
locale: Q,
|
|
1261
1262
|
setLocale: ae,
|
|
1262
|
-
config:
|
|
1263
|
-
formValues:
|
|
1264
|
-
setFormValues:
|
|
1265
|
-
goToForm:
|
|
1266
|
-
goToPage:
|
|
1267
|
-
onProceed:
|
|
1268
|
-
onProceedGuidance:
|
|
1263
|
+
config: ee,
|
|
1264
|
+
formValues: xe,
|
|
1265
|
+
setFormValues: ve,
|
|
1266
|
+
goToForm: re,
|
|
1267
|
+
goToPage: de,
|
|
1268
|
+
onProceed: ee.onProceed,
|
|
1269
|
+
onProceedGuidance: ee.onProceedGuidance
|
|
1269
1270
|
}),
|
|
1270
|
-
[
|
|
1271
|
+
[Z, Q, ee, xe, re, de]
|
|
1271
1272
|
);
|
|
1272
|
-
return /* @__PURE__ */ r.jsx(tr.Provider, { value: me, children:
|
|
1273
|
+
return /* @__PURE__ */ r.jsx(tr.Provider, { value: me, children: Ce });
|
|
1273
1274
|
};
|
|
1274
1275
|
function De() {
|
|
1275
1276
|
return rr(tr);
|
|
@@ -1383,7 +1384,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1383
1384
|
k();
|
|
1384
1385
|
}, x.onerror = () => d(new Error("Failed to load Google Maps API")), document.head.appendChild(x);
|
|
1385
1386
|
}), He), fa = (t) => {
|
|
1386
|
-
const { apiKey: o, language: c = "en", restrictCountry: d, deferLoad: y = !1 } = t, [x, g] =
|
|
1387
|
+
const { apiKey: o, language: c = "en", restrictCountry: d, deferLoad: y = !1 } = t, [x, g] = K(!1), [T, k] = K([]), [F, P] = K(!1), [E, u] = K(null), [I, h] = K(!y), M = B(null), m = B(null), f = B(null), v = ye(() => {
|
|
1387
1388
|
y && h(!0);
|
|
1388
1389
|
}, [y]);
|
|
1389
1390
|
V(() => {
|
|
@@ -1399,7 +1400,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1399
1400
|
g(!1), u(D?.message || "Failed to load location service");
|
|
1400
1401
|
});
|
|
1401
1402
|
}, [o, c, I]);
|
|
1402
|
-
const X =
|
|
1403
|
+
const X = ye(
|
|
1403
1404
|
async (D) => {
|
|
1404
1405
|
if (!D || D.length < 2 || !M.current) {
|
|
1405
1406
|
k([]);
|
|
@@ -1413,11 +1414,11 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1413
1414
|
sessionToken: f.current ?? void 0
|
|
1414
1415
|
};
|
|
1415
1416
|
d && ($.componentRestrictions = { country: d });
|
|
1416
|
-
const C = await new Promise((S,
|
|
1417
|
+
const C = await new Promise((S, te) => {
|
|
1417
1418
|
M.current.getPlacePredictions(
|
|
1418
1419
|
$,
|
|
1419
1420
|
(J, O) => {
|
|
1420
|
-
O === google.maps.places.PlacesServiceStatus.OK && J ? S(J) : O === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? S([]) :
|
|
1421
|
+
O === google.maps.places.PlacesServiceStatus.OK && J ? S(J) : O === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? S([]) : te(new Error(`Places API error: ${O}`));
|
|
1421
1422
|
}
|
|
1422
1423
|
);
|
|
1423
1424
|
});
|
|
@@ -1438,12 +1439,12 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1438
1439
|
}
|
|
1439
1440
|
},
|
|
1440
1441
|
[d]
|
|
1441
|
-
), z =
|
|
1442
|
+
), z = ye(
|
|
1442
1443
|
async (D) => {
|
|
1443
1444
|
if (!m.current) return null;
|
|
1444
1445
|
try {
|
|
1445
1446
|
const $ = await new Promise(
|
|
1446
|
-
(j,
|
|
1447
|
+
(j, U) => {
|
|
1447
1448
|
m.current.getDetails(
|
|
1448
1449
|
{
|
|
1449
1450
|
placeId: D,
|
|
@@ -1451,21 +1452,21 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1451
1452
|
sessionToken: f.current ?? void 0
|
|
1452
1453
|
},
|
|
1453
1454
|
(Y, G) => {
|
|
1454
|
-
G === google.maps.places.PlacesServiceStatus.OK && Y ? j(Y) :
|
|
1455
|
+
G === google.maps.places.PlacesServiceStatus.OK && Y ? j(Y) : U(new Error(`Place details error: ${G}`));
|
|
1455
1456
|
}
|
|
1456
1457
|
);
|
|
1457
1458
|
}
|
|
1458
1459
|
);
|
|
1459
1460
|
f.current = new google.maps.places.AutocompleteSessionToken();
|
|
1460
1461
|
const C = $.geometry?.location?.lat() || 0, S = $.geometry?.location?.lng() || 0;
|
|
1461
|
-
let
|
|
1462
|
+
let te = "", J = "", O = "";
|
|
1462
1463
|
return $.address_components?.forEach((j) => {
|
|
1463
|
-
j.types.includes("locality") && (
|
|
1464
|
+
j.types.includes("locality") && (te = j.long_name), j.types.includes("administrative_area_level_1") && (J = j.long_name), j.types.includes("country") && (O = j.long_name);
|
|
1464
1465
|
}), {
|
|
1465
1466
|
display_name: $.formatted_address || "",
|
|
1466
1467
|
lat: C,
|
|
1467
1468
|
lng: S,
|
|
1468
|
-
city:
|
|
1469
|
+
city: te,
|
|
1469
1470
|
state: J,
|
|
1470
1471
|
country: O
|
|
1471
1472
|
};
|
|
@@ -1474,7 +1475,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1474
1475
|
}
|
|
1475
1476
|
},
|
|
1476
1477
|
[]
|
|
1477
|
-
), H =
|
|
1478
|
+
), H = ye(() => k([]), []);
|
|
1478
1479
|
return {
|
|
1479
1480
|
isLoaded: x,
|
|
1480
1481
|
predictions: T,
|
|
@@ -1494,11 +1495,11 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1494
1495
|
restrictCountry: t?.restrictCountry
|
|
1495
1496
|
};
|
|
1496
1497
|
}, ha = (t) => {
|
|
1497
|
-
const { searchLocalities: o, restrictCountry: c } = t, [d, y] =
|
|
1498
|
+
const { searchLocalities: o, restrictCountry: c } = t, [d, y] = K([]), [x, g] = K(!1), [T, k] = K(null), F = B(0);
|
|
1498
1499
|
V(() => {
|
|
1499
1500
|
k(null);
|
|
1500
1501
|
}, [o]);
|
|
1501
|
-
const P =
|
|
1502
|
+
const P = ye(
|
|
1502
1503
|
async (u) => {
|
|
1503
1504
|
if (!u || u.length < 2 || !o) {
|
|
1504
1505
|
y([]);
|
|
@@ -1527,7 +1528,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1527
1528
|
}
|
|
1528
1529
|
},
|
|
1529
1530
|
[c, o]
|
|
1530
|
-
), E =
|
|
1531
|
+
), E = ye(() => y([]), []);
|
|
1531
1532
|
return {
|
|
1532
1533
|
predictions: d,
|
|
1533
1534
|
isSearching: x,
|
|
@@ -1623,7 +1624,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1623
1624
|
googleMapsAutocompleteEnabled: F,
|
|
1624
1625
|
className: P = ""
|
|
1625
1626
|
}) => {
|
|
1626
|
-
const E = De(), u = E?.config?.analytics ?? g, I = E?.config.isGlobal ?? !0, h = E?.config?.googleMapsApiKey, M = E?.config?.atlasSearchLocalities, m = E?.config?.googleMapsAutocompleteEnabled, [f, v] =
|
|
1627
|
+
const E = De(), u = E?.config?.analytics ?? g, I = E?.config.isGlobal ?? !0, h = E?.config?.googleMapsApiKey, M = E?.config?.atlasSearchLocalities, m = E?.config?.googleMapsAutocompleteEnabled, [f, v] = K(!1), [X, z] = K(""), H = B(null), D = B(null), $ = B({}), C = (a) => c({ ...o, ...a }), S = (a, s) => {
|
|
1627
1628
|
if (a === "phone") {
|
|
1628
1629
|
const R = _a(s, d, $.current);
|
|
1629
1630
|
R.shouldTrack && u?.trackPhoneSectionFilled?.({ phone: R.fullPhone });
|
|
@@ -1635,57 +1636,57 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1635
1636
|
birthTime: () => u?.trackTimeFilled?.(),
|
|
1636
1637
|
birthPlace: () => u?.trackPlaceOfBirthChosen?.()
|
|
1637
1638
|
}[a]?.());
|
|
1638
|
-
},
|
|
1639
|
+
}, te = (a) => {
|
|
1639
1640
|
const s = a.target.value;
|
|
1640
1641
|
s.trim() && u?.trackEmailSectionFilled?.({ email: s });
|
|
1641
1642
|
}, J = X.trim().toLowerCase(), O = xr.filter((a) => J ? a.country.toLowerCase().includes(J) || a.code.includes(J) : !0), j = B(null);
|
|
1642
1643
|
B(null);
|
|
1643
|
-
const
|
|
1644
|
+
const U = B(null), Y = B(0), G = B(null), [Ce, Z] = K(!1), [ne, Q] = K({ hour12: 12, minute: "00", meridiem: "AM" }), ae = (a) => String(a).padStart(2, "0"), xe = (a) => {
|
|
1644
1645
|
const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1645
1646
|
if (!s) return a;
|
|
1646
|
-
const R = Number(s[1]),
|
|
1647
|
-
return `${R % 12 === 0 ? 12 : R % 12}:${
|
|
1648
|
-
},
|
|
1647
|
+
const R = Number(s[1]), pe = s[2], $e = R >= 12 ? "PM" : "AM";
|
|
1648
|
+
return `${R % 12 === 0 ? 12 : R % 12}:${pe} ${$e}`;
|
|
1649
|
+
}, ve = (a) => {
|
|
1649
1650
|
const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1650
1651
|
if (!s) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1651
|
-
const R = Number(s[1]),
|
|
1652
|
-
return { hour12: R % 12 === 0 ? 12 : R % 12, minute:
|
|
1653
|
-
},
|
|
1652
|
+
const R = Number(s[1]), pe = s[2], $e = R >= 12 ? "PM" : "AM";
|
|
1653
|
+
return { hour12: R % 12 === 0 ? 12 : R % 12, minute: pe, meridiem: $e };
|
|
1654
|
+
}, Ae = (a) => {
|
|
1654
1655
|
const s = Math.min(12, Math.max(1, a.hour12)), R = /^([0-5]\d)$/.test(a.minute) ? a.minute : "00";
|
|
1655
|
-
let
|
|
1656
|
-
return a.meridiem === "PM" && (
|
|
1657
|
-
},
|
|
1656
|
+
let pe = s % 12;
|
|
1657
|
+
return a.meridiem === "PM" && (pe += 12), `${ae(pe)}:${R}`;
|
|
1658
|
+
}, ee = B(null), [re, de] = K(!1), me = B(o.birthPlace ?? ""), [oe, fe] = K(
|
|
1658
1659
|
null
|
|
1659
|
-
),
|
|
1660
|
-
apiKey:
|
|
1660
|
+
), ge = T ?? h ?? ba?.VITE_GOOGLE_MAPS_API_KEY, je = k ?? M, ie = F ?? m ?? !0, se = (o.birthPlace ?? "").trim(), Pe = I ? void 0 : "in", ue = fa({
|
|
1661
|
+
apiKey: ie ? ge : void 0,
|
|
1661
1662
|
language: "en",
|
|
1662
|
-
restrictCountry:
|
|
1663
|
-
}),
|
|
1664
|
-
searchLocalities:
|
|
1665
|
-
restrictCountry:
|
|
1666
|
-
}),
|
|
1663
|
+
restrictCountry: Pe
|
|
1664
|
+
}), be = ha({
|
|
1665
|
+
searchLocalities: ie ? void 0 : je,
|
|
1666
|
+
restrictCountry: Pe
|
|
1667
|
+
}), ke = ie ? ue.predictions.map((a) => ({
|
|
1667
1668
|
id: a.place_id,
|
|
1668
1669
|
description: a.description,
|
|
1669
1670
|
secondaryText: a.structured_formatting?.secondary_text,
|
|
1670
1671
|
lat: void 0,
|
|
1671
1672
|
lng: void 0
|
|
1672
|
-
})) :
|
|
1673
|
+
})) : be.predictions.map((a) => ({
|
|
1673
1674
|
id: a.id,
|
|
1674
1675
|
description: a.description,
|
|
1675
1676
|
secondaryText: a.secondary_text,
|
|
1676
1677
|
lat: a.lat,
|
|
1677
1678
|
lng: a.lng
|
|
1678
|
-
})), Se =
|
|
1679
|
+
})), Se = ie ? ue.isSearching : be.isSearching, Re = ie ? ue.loadError : be.loadError, _ = ie ? !!ge : !!je, Ee = ie ? ue.searchPlaces : be.searchPlaces, Oe = ie ? ue.clearPredictions : be.clearPredictions, Fe = B(() => {
|
|
1679
1680
|
});
|
|
1680
1681
|
Fe.current = () => {
|
|
1681
|
-
(o.birthPlace ?? "") !==
|
|
1682
|
+
(o.birthPlace ?? "") !== me.current && C({
|
|
1682
1683
|
birthPlace: "",
|
|
1683
1684
|
birthPlaceLat: void 0,
|
|
1684
1685
|
birthPlaceLng: void 0
|
|
1685
|
-
}),
|
|
1686
|
+
}), de(!1);
|
|
1686
1687
|
}, V(() => {
|
|
1687
1688
|
const a = (s) => {
|
|
1688
|
-
|
|
1689
|
+
ee.current && (ee.current.contains(s.target) || Fe.current());
|
|
1689
1690
|
};
|
|
1690
1691
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1691
1692
|
}, []), V(() => {
|
|
@@ -1700,28 +1701,28 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1700
1701
|
}, 0);
|
|
1701
1702
|
return () => window.clearTimeout(a);
|
|
1702
1703
|
}, [f]), V(() => {
|
|
1703
|
-
if (!
|
|
1704
|
-
if (
|
|
1704
|
+
if (!re) return;
|
|
1705
|
+
if (se.length < 2) {
|
|
1705
1706
|
Oe();
|
|
1706
1707
|
return;
|
|
1707
1708
|
}
|
|
1708
1709
|
const a = window.setTimeout(async () => {
|
|
1709
|
-
await Ee(
|
|
1710
|
+
await Ee(se);
|
|
1710
1711
|
}, 250);
|
|
1711
1712
|
return () => window.clearTimeout(a);
|
|
1712
|
-
}, [Oe,
|
|
1713
|
+
}, [Oe, re, se, Ee]);
|
|
1713
1714
|
const Me = (a) => {
|
|
1714
1715
|
const s = a.current;
|
|
1715
1716
|
if (!(!s || s.disabled)) {
|
|
1716
|
-
if (document.activeElement === s &&
|
|
1717
|
+
if (document.activeElement === s && U.current === s && Date.now() - Y.current < 6e4) {
|
|
1717
1718
|
s.blur();
|
|
1718
1719
|
return;
|
|
1719
1720
|
}
|
|
1720
1721
|
if (typeof s.showPicker == "function") {
|
|
1721
|
-
s.showPicker(),
|
|
1722
|
+
s.showPicker(), U.current = s, Y.current = Date.now();
|
|
1722
1723
|
return;
|
|
1723
1724
|
}
|
|
1724
|
-
s.focus(),
|
|
1725
|
+
s.focus(), U.current = s, Y.current = Date.now();
|
|
1725
1726
|
}
|
|
1726
1727
|
};
|
|
1727
1728
|
return V(() => {
|
|
@@ -1731,9 +1732,9 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1731
1732
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1732
1733
|
}, []), V(() => {
|
|
1733
1734
|
const a = (R) => {
|
|
1734
|
-
R.target?.closest?.("[data-info-tooltip]") == null &&
|
|
1735
|
+
R.target?.closest?.("[data-info-tooltip]") == null && fe(null);
|
|
1735
1736
|
}, s = (R) => {
|
|
1736
|
-
R.key === "Escape" &&
|
|
1737
|
+
R.key === "Escape" && fe(null);
|
|
1737
1738
|
};
|
|
1738
1739
|
return document.addEventListener("mousedown", a), document.addEventListener("keydown", s), () => {
|
|
1739
1740
|
document.removeEventListener("mousedown", a), document.removeEventListener("keydown", s);
|
|
@@ -1914,7 +1915,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1914
1915
|
onChange: (a) => {
|
|
1915
1916
|
C({ email: a.target.value });
|
|
1916
1917
|
},
|
|
1917
|
-
onBlur:
|
|
1918
|
+
onBlur: te,
|
|
1918
1919
|
placeholder: t("formEmailPlaceholder"),
|
|
1919
1920
|
autoComplete: "email",
|
|
1920
1921
|
required: !0,
|
|
@@ -1935,9 +1936,9 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1935
1936
|
type: "button",
|
|
1936
1937
|
className: n.infoBtn,
|
|
1937
1938
|
"aria-label": t("info"),
|
|
1938
|
-
"aria-expanded":
|
|
1939
|
+
"aria-expanded": oe === "dob",
|
|
1939
1940
|
onClick: () => {
|
|
1940
|
-
|
|
1941
|
+
fe((a) => a === "dob" ? null : "dob"), u?.trackInfoIconClicked?.({ fieldName: "dob" });
|
|
1941
1942
|
},
|
|
1942
1943
|
children: /* @__PURE__ */ r.jsx(
|
|
1943
1944
|
"img",
|
|
@@ -1950,7 +1951,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1950
1951
|
)
|
|
1951
1952
|
}
|
|
1952
1953
|
),
|
|
1953
|
-
|
|
1954
|
+
oe === "dob" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
|
|
1954
1955
|
t("formDobInfo"),
|
|
1955
1956
|
/* @__PURE__ */ r.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
|
|
1956
1957
|
] })
|
|
@@ -1967,16 +1968,16 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1967
1968
|
value: o.dateOfBirth,
|
|
1968
1969
|
max: (() => {
|
|
1969
1970
|
const a = /* @__PURE__ */ new Date();
|
|
1970
|
-
return `${a.getFullYear()}-${
|
|
1971
|
+
return `${a.getFullYear()}-${ae(a.getMonth() + 1)}-${ae(a.getDate())}`;
|
|
1971
1972
|
})(),
|
|
1972
1973
|
onChange: (a) => {
|
|
1973
|
-
const s = a.target.value, R = /* @__PURE__ */ new Date(),
|
|
1974
|
-
s && s >
|
|
1974
|
+
const s = a.target.value, R = /* @__PURE__ */ new Date(), pe = `${R.getFullYear()}-${ae(R.getMonth() + 1)}-${ae(R.getDate())}`;
|
|
1975
|
+
s && s > pe || (C({ dateOfBirth: s }), S("dateOfBirth", s), U.current = null);
|
|
1975
1976
|
},
|
|
1976
1977
|
onFocus: () => u?.trackDobClicked?.(),
|
|
1977
1978
|
onClick: () => Me(j),
|
|
1978
1979
|
onBlur: () => {
|
|
1979
|
-
|
|
1980
|
+
U.current === j.current && (U.current = null);
|
|
1980
1981
|
}
|
|
1981
1982
|
}
|
|
1982
1983
|
),
|
|
@@ -2016,9 +2017,9 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2016
2017
|
type: "button",
|
|
2017
2018
|
className: n.infoBtn,
|
|
2018
2019
|
"aria-label": t("info"),
|
|
2019
|
-
"aria-expanded":
|
|
2020
|
+
"aria-expanded": oe === "time",
|
|
2020
2021
|
onClick: () => {
|
|
2021
|
-
u?.trackInfoIconClicked?.({ fieldName: "time" }),
|
|
2022
|
+
u?.trackInfoIconClicked?.({ fieldName: "time" }), fe((a) => a === "time" ? null : "time");
|
|
2022
2023
|
},
|
|
2023
2024
|
children: /* @__PURE__ */ r.jsx(
|
|
2024
2025
|
"img",
|
|
@@ -2031,7 +2032,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2031
2032
|
)
|
|
2032
2033
|
}
|
|
2033
2034
|
),
|
|
2034
|
-
|
|
2035
|
+
oe === "time" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
|
|
2035
2036
|
t("formBirthTimeInfo"),
|
|
2036
2037
|
/* @__PURE__ */ r.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
|
|
2037
2038
|
] })
|
|
@@ -2044,7 +2045,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2044
2045
|
id: "kundli-birth-time",
|
|
2045
2046
|
className: n.input,
|
|
2046
2047
|
type: "text",
|
|
2047
|
-
value: o.birthTime ?
|
|
2048
|
+
value: o.birthTime ? xe(o.birthTime) : "",
|
|
2048
2049
|
readOnly: !0,
|
|
2049
2050
|
onFocus: () => u?.trackTimeClicked?.(),
|
|
2050
2051
|
onChange: (a) => {
|
|
@@ -2054,7 +2055,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2054
2055
|
disabled: o.birthTimeUnknown,
|
|
2055
2056
|
placeholder: "HH:MM AM",
|
|
2056
2057
|
onClick: () => {
|
|
2057
|
-
o.birthTimeUnknown || (
|
|
2058
|
+
o.birthTimeUnknown || (Q(ve(o.birthTime || "12:00")), Z((a) => !a));
|
|
2058
2059
|
}
|
|
2059
2060
|
}
|
|
2060
2061
|
),
|
|
@@ -2067,7 +2068,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2067
2068
|
disabled: o.birthTimeUnknown,
|
|
2068
2069
|
onMouseDown: (a) => a.preventDefault(),
|
|
2069
2070
|
onClick: (a) => {
|
|
2070
|
-
a.preventDefault(), a.stopPropagation(), !o.birthTimeUnknown && (
|
|
2071
|
+
a.preventDefault(), a.stopPropagation(), !o.birthTimeUnknown && (Q(ve(o.birthTime || "12:00")), Z((s) => !s));
|
|
2071
2072
|
},
|
|
2072
2073
|
children: /* @__PURE__ */ r.jsx(
|
|
2073
2074
|
"img",
|
|
@@ -2080,7 +2081,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2080
2081
|
)
|
|
2081
2082
|
}
|
|
2082
2083
|
),
|
|
2083
|
-
|
|
2084
|
+
Ce && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
|
|
2084
2085
|
"div",
|
|
2085
2086
|
{
|
|
2086
2087
|
className: n.timePopover,
|
|
@@ -2092,8 +2093,8 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2092
2093
|
"select",
|
|
2093
2094
|
{
|
|
2094
2095
|
className: n.timePickerSelect,
|
|
2095
|
-
value:
|
|
2096
|
-
onChange: (a) =>
|
|
2096
|
+
value: ne.hour12,
|
|
2097
|
+
onChange: (a) => Q((s) => ({
|
|
2097
2098
|
...s,
|
|
2098
2099
|
hour12: Number(a.target.value)
|
|
2099
2100
|
})),
|
|
@@ -2106,10 +2107,10 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2106
2107
|
"select",
|
|
2107
2108
|
{
|
|
2108
2109
|
className: n.timePickerSelect,
|
|
2109
|
-
value:
|
|
2110
|
-
onChange: (a) =>
|
|
2110
|
+
value: ne.minute,
|
|
2111
|
+
onChange: (a) => Q((s) => ({ ...s, minute: a.target.value })),
|
|
2111
2112
|
"aria-label": "Minute",
|
|
2112
|
-
children: Array.from({ length: 60 }, (a, s) =>
|
|
2113
|
+
children: Array.from({ length: 60 }, (a, s) => ae(s)).map(
|
|
2113
2114
|
(a) => /* @__PURE__ */ r.jsx("option", { value: a, children: a }, a)
|
|
2114
2115
|
)
|
|
2115
2116
|
}
|
|
@@ -2119,8 +2120,8 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2119
2120
|
"button",
|
|
2120
2121
|
{
|
|
2121
2122
|
type: "button",
|
|
2122
|
-
className: `${n.meridiemBtn} ${
|
|
2123
|
-
onClick: () =>
|
|
2123
|
+
className: `${n.meridiemBtn} ${ne.meridiem === "AM" ? n.meridiemActive : ""}`,
|
|
2124
|
+
onClick: () => Q((a) => ({ ...a, meridiem: "AM" })),
|
|
2124
2125
|
children: "AM"
|
|
2125
2126
|
}
|
|
2126
2127
|
),
|
|
@@ -2128,8 +2129,8 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2128
2129
|
"button",
|
|
2129
2130
|
{
|
|
2130
2131
|
type: "button",
|
|
2131
|
-
className: `${n.meridiemBtn} ${
|
|
2132
|
-
onClick: () =>
|
|
2132
|
+
className: `${n.meridiemBtn} ${ne.meridiem === "PM" ? n.meridiemActive : ""}`,
|
|
2133
|
+
onClick: () => Q((a) => ({ ...a, meridiem: "PM" })),
|
|
2133
2134
|
children: "PM"
|
|
2134
2135
|
}
|
|
2135
2136
|
)
|
|
@@ -2151,7 +2152,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2151
2152
|
type: "button",
|
|
2152
2153
|
className: `${n.timePopoverBtn} ${n.timePopoverOk}`,
|
|
2153
2154
|
onClick: () => {
|
|
2154
|
-
const a =
|
|
2155
|
+
const a = Ae(ne);
|
|
2155
2156
|
C({ birthTime: a }), S("birthTime", a), Z(!1);
|
|
2156
2157
|
},
|
|
2157
2158
|
"aria-label": "OK",
|
|
@@ -2226,11 +2227,11 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2226
2227
|
type: "button",
|
|
2227
2228
|
className: n.infoBtn,
|
|
2228
2229
|
"aria-label": t("info"),
|
|
2229
|
-
"aria-expanded":
|
|
2230
|
+
"aria-expanded": oe === "place",
|
|
2230
2231
|
onClick: () => {
|
|
2231
2232
|
u?.trackInfoIconClicked?.({
|
|
2232
2233
|
fieldName: "birthPlace"
|
|
2233
|
-
}),
|
|
2234
|
+
}), fe((a) => a === "place" ? null : "place");
|
|
2234
2235
|
},
|
|
2235
2236
|
children: /* @__PURE__ */ r.jsx(
|
|
2236
2237
|
"img",
|
|
@@ -2243,13 +2244,13 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2243
2244
|
)
|
|
2244
2245
|
}
|
|
2245
2246
|
),
|
|
2246
|
-
|
|
2247
|
+
oe === "place" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
|
|
2247
2248
|
t("formBirthPlaceInfo"),
|
|
2248
2249
|
/* @__PURE__ */ r.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
|
|
2249
2250
|
] })
|
|
2250
2251
|
] })
|
|
2251
2252
|
] }),
|
|
2252
|
-
/* @__PURE__ */ r.jsxs("div", { className: n.inputWrap, ref:
|
|
2253
|
+
/* @__PURE__ */ r.jsxs("div", { className: n.inputWrap, ref: ee, children: [
|
|
2253
2254
|
/* @__PURE__ */ r.jsx(
|
|
2254
2255
|
"input",
|
|
2255
2256
|
{
|
|
@@ -2263,10 +2264,10 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2263
2264
|
birthPlace: s,
|
|
2264
2265
|
birthPlaceLat: void 0,
|
|
2265
2266
|
birthPlaceLng: void 0
|
|
2266
|
-
}), S("birthPlace", s),
|
|
2267
|
+
}), S("birthPlace", s), de(!0);
|
|
2267
2268
|
},
|
|
2268
2269
|
onFocus: () => {
|
|
2269
|
-
u?.trackPlaceOfBirthClicked?.(),
|
|
2270
|
+
u?.trackPlaceOfBirthClicked?.(), de(!0);
|
|
2270
2271
|
},
|
|
2271
2272
|
placeholder: t("formBirthPlacePlaceholder"),
|
|
2272
2273
|
autoComplete: "address-level2"
|
|
@@ -2281,22 +2282,22 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2281
2282
|
"aria-hidden": !0
|
|
2282
2283
|
}
|
|
2283
2284
|
) }),
|
|
2284
|
-
|
|
2285
|
+
re && ke.length > 0 && /* @__PURE__ */ r.jsx("div", { className: n.suggestions, role: "listbox", children: ke.slice(0, 8).map((a) => /* @__PURE__ */ r.jsxs(
|
|
2285
2286
|
"button",
|
|
2286
2287
|
{
|
|
2287
2288
|
type: "button",
|
|
2288
2289
|
className: n.suggestionItem,
|
|
2289
2290
|
onClick: async () => {
|
|
2290
2291
|
const s = a.description;
|
|
2291
|
-
if (
|
|
2292
|
+
if (me.current = s, C({
|
|
2292
2293
|
birthPlace: s,
|
|
2293
2294
|
birthPlaceLat: a.lat,
|
|
2294
2295
|
birthPlaceLng: a.lng
|
|
2295
|
-
}), Oe(),
|
|
2296
|
-
const R = await
|
|
2296
|
+
}), Oe(), de(!1), ie) {
|
|
2297
|
+
const R = await ue.getPlaceDetails(
|
|
2297
2298
|
a.id
|
|
2298
2299
|
);
|
|
2299
|
-
R && (
|
|
2300
|
+
R && (me.current = s, c({
|
|
2300
2301
|
...o,
|
|
2301
2302
|
birthPlace: s,
|
|
2302
2303
|
birthPlaceLat: R.lat,
|
|
@@ -2311,8 +2312,8 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2311
2312
|
},
|
|
2312
2313
|
a.id
|
|
2313
2314
|
)) }),
|
|
2314
|
-
|
|
2315
|
-
|
|
2315
|
+
re && _ && Se && /* @__PURE__ */ r.jsx("div", { className: n.suggestionsHint, children: "Loading…" }),
|
|
2316
|
+
re && _ && !Se && !!Re && /* @__PURE__ */ r.jsx("div", { className: n.suggestionsHint, children: Re })
|
|
2316
2317
|
] })
|
|
2317
2318
|
] }),
|
|
2318
2319
|
x && /* @__PURE__ */ r.jsxs("div", { className: n.field, children: [
|
|
@@ -2530,8 +2531,8 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2530
2531
|
const m = De(), f = m?.config.isGlobal ?? !0, v = m?.config?.variant, X = Xe(
|
|
2531
2532
|
() => Ra(o, f, d),
|
|
2532
2533
|
[o, f, d]
|
|
2533
|
-
), z = X === null, H = v === "v1" && m?.config?.showSheet, D = f ? P ?? t("formDiscountedPrice") : H ? "" : "₹499", $ = m?.config.imageComponent ?? Ye, C = (
|
|
2534
|
-
if (
|
|
2534
|
+
), z = X === null, H = v === "v1" && m?.config?.showSheet, D = f ? P ?? t("formDiscountedPrice") : H ? "" : "₹499", $ = m?.config.imageComponent ?? Ye, C = (te) => {
|
|
2535
|
+
if (te.preventDefault(), v === "v1" && !z && k?.trackKundliDetailedClicked?.(), !z) {
|
|
2535
2536
|
X && y?.(X);
|
|
2536
2537
|
return;
|
|
2537
2538
|
}
|
|
@@ -2924,7 +2925,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2924
2925
|
googleMapsAutocompleteEnabled: u,
|
|
2925
2926
|
analytics: I
|
|
2926
2927
|
}) => {
|
|
2927
|
-
const h = De(), M = ot(), m = h !== null, f = m ? h.locale : o, v = f ?? M?.locale ?? "en", [X, z] =
|
|
2928
|
+
const h = De(), M = ot(), m = h !== null, f = m ? h.locale : o, v = f ?? M?.locale ?? "en", [X, z] = K(v), H = m ? h.locale : X, D = m ? h.setLocale : z, [$, C] = K(!1), S = B(null), te = B(f), J = B(
|
|
2928
2929
|
M?.locale
|
|
2929
2930
|
);
|
|
2930
2931
|
V(() => {
|
|
@@ -2932,35 +2933,35 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2932
2933
|
}, []);
|
|
2933
2934
|
const O = (_) => Dn(H, _);
|
|
2934
2935
|
V(() => {
|
|
2935
|
-
f &&
|
|
2936
|
+
f && te.current !== f && D(f), te.current = f;
|
|
2936
2937
|
}, [f, D]), V(() => {
|
|
2937
2938
|
if (f) return;
|
|
2938
2939
|
const _ = M?.locale;
|
|
2939
2940
|
_ && J.current !== _ && D(_), J.current = _;
|
|
2940
2941
|
}, [M?.locale, f, D]);
|
|
2941
|
-
const [j,
|
|
2942
|
+
const [j, U] = K({
|
|
2942
2943
|
...Fn,
|
|
2943
2944
|
...y,
|
|
2944
2945
|
phone: y?.phone ?? ""
|
|
2945
|
-
}), Y = m ? h?.config.isGlobal ?? !0 : !0, G = m ? h.formValues : j,
|
|
2946
|
+
}), Y = m ? h?.config.isGlobal ?? !0 : !0, G = m ? h.formValues : j, Ce = m ? h.setFormValues : U, [Z, ne] = K(
|
|
2946
2947
|
() => On(G.phoneCountryCode, Y)
|
|
2947
|
-
),
|
|
2948
|
+
), Q = B(
|
|
2948
2949
|
!!(G.phoneCountryCode && Ze.includes(G.phoneCountryCode))
|
|
2949
|
-
),
|
|
2950
|
-
|
|
2951
|
-
}, []),
|
|
2950
|
+
), ae = B(!1), xe = ye((_) => {
|
|
2951
|
+
ae.current = !0, ne(_);
|
|
2952
|
+
}, []), ve = B(!0);
|
|
2952
2953
|
V(() => {
|
|
2953
|
-
if (
|
|
2954
|
-
|
|
2954
|
+
if (ve.current) {
|
|
2955
|
+
ve.current = !1;
|
|
2955
2956
|
return;
|
|
2956
2957
|
}
|
|
2957
|
-
|
|
2958
|
+
Q.current || ae.current || ne(Y ? "+1" : "+91");
|
|
2958
2959
|
}, [Y]), V(() => {
|
|
2959
|
-
if (!m ||
|
|
2960
|
+
if (!m || ae.current) return;
|
|
2960
2961
|
const _ = G.phoneCountryCode;
|
|
2961
|
-
_ && Ze.includes(_) && _ !== Z && (
|
|
2962
|
+
_ && Ze.includes(_) && _ !== Z && (Q.current = !0, ne(_));
|
|
2962
2963
|
}, [m, G.phoneCountryCode]);
|
|
2963
|
-
const
|
|
2964
|
+
const Ae = m ? h.goToPage : d, ee = m ? h.onProceed : x, re = m ? h.onProceedGuidance : g, de = m ? h.config.proceedHref : T, me = m ? h.config.originalPriceLabel : k, oe = m ? h.config.discountedPriceLabel : F, fe = m ? h.config.showLanguageSelector ?? !0 : c, ge = (m ? h?.config?.analytics : I) ?? I;
|
|
2964
2965
|
V(() => {
|
|
2965
2966
|
if (!$) return;
|
|
2966
2967
|
const _ = (Ee) => {
|
|
@@ -2968,37 +2969,37 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2968
2969
|
};
|
|
2969
2970
|
return document.addEventListener("mousedown", _), () => document.removeEventListener("mousedown", _);
|
|
2970
2971
|
}, [$]);
|
|
2971
|
-
const [je,
|
|
2972
|
-
|
|
2973
|
-
}, []),
|
|
2972
|
+
const [je, ie] = K(!1), [se, Pe] = K(null), _e = B(null), ue = ye((_) => {
|
|
2973
|
+
_e.current = _, ie(!0);
|
|
2974
|
+
}, []), be = B(!1);
|
|
2974
2975
|
V(() => {
|
|
2975
|
-
if (
|
|
2976
|
+
if (be.current || !m || !h?.config.autoOpenPlanSheet || h?.config.variant !== "v1")
|
|
2976
2977
|
return;
|
|
2977
|
-
|
|
2978
|
+
be.current = !0;
|
|
2978
2979
|
const _ = (G.phone ?? "").trim();
|
|
2979
|
-
|
|
2980
|
+
ue({
|
|
2980
2981
|
...G,
|
|
2981
2982
|
phone: _ && `${Z}-${_}`
|
|
2982
2983
|
});
|
|
2983
|
-
}, [m, h?.config.autoOpenPlanSheet, h?.config.variant, G, Z,
|
|
2984
|
-
const
|
|
2985
|
-
if (!
|
|
2986
|
-
|
|
2987
|
-
planId:
|
|
2988
|
-
planName:
|
|
2989
|
-
price:
|
|
2984
|
+
}, [m, h?.config.autoOpenPlanSheet, h?.config.variant, G, Z, ue]);
|
|
2985
|
+
const ke = ye(() => {
|
|
2986
|
+
if (!_e.current || !se) return;
|
|
2987
|
+
ge?.trackPlanProceedClicked?.({
|
|
2988
|
+
planId: se.id,
|
|
2989
|
+
planName: se.title,
|
|
2990
|
+
price: se.price,
|
|
2990
2991
|
currency: Y ? "USD" : "INR"
|
|
2991
2992
|
});
|
|
2992
|
-
const _ = { ...
|
|
2993
|
-
|
|
2994
|
-
}, [
|
|
2993
|
+
const _ = { ..._e.current, _selectedPlan: se };
|
|
2994
|
+
se.id === Cr && re ? re(_) : ee?.(_), ie(!1), _e.current = null;
|
|
2995
|
+
}, [se, ee, re]), Se = h?.config.imageComponent ?? Ye, Re = fe ? /* @__PURE__ */ r.jsxs("div", { className: we.langDropdownWrap, ref: S, children: [
|
|
2995
2996
|
/* @__PURE__ */ r.jsxs(
|
|
2996
2997
|
"button",
|
|
2997
2998
|
{
|
|
2998
2999
|
type: "button",
|
|
2999
|
-
className:
|
|
3000
|
+
className: we.langTrigger,
|
|
3000
3001
|
onClick: () => {
|
|
3001
|
-
|
|
3002
|
+
ge?.trackLanguageClickedFe?.({ language: H }), C((_) => !_);
|
|
3002
3003
|
},
|
|
3003
3004
|
"aria-expanded": $,
|
|
3004
3005
|
"aria-haspopup": "listbox",
|
|
@@ -3010,20 +3011,20 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3010
3011
|
{
|
|
3011
3012
|
src: Bn,
|
|
3012
3013
|
alt: "",
|
|
3013
|
-
className:
|
|
3014
|
+
className: we.langIcon,
|
|
3014
3015
|
width: 16,
|
|
3015
3016
|
height: 16,
|
|
3016
3017
|
loading: "eager"
|
|
3017
3018
|
}
|
|
3018
3019
|
),
|
|
3019
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
3020
|
+
/* @__PURE__ */ r.jsx("span", { className: we.langLabel, children: pr[H] })
|
|
3020
3021
|
]
|
|
3021
3022
|
}
|
|
3022
3023
|
),
|
|
3023
3024
|
$ && /* @__PURE__ */ r.jsx(
|
|
3024
3025
|
"ul",
|
|
3025
3026
|
{
|
|
3026
|
-
className:
|
|
3027
|
+
className: we.langMenu,
|
|
3027
3028
|
role: "listbox",
|
|
3028
3029
|
"aria-labelledby": "kundli-form-lang",
|
|
3029
3030
|
"aria-activedescendant": `kundli-form-lang-option-${H}`,
|
|
@@ -3033,9 +3034,9 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3033
3034
|
id: `kundli-form-lang-option-${_}`,
|
|
3034
3035
|
role: "option",
|
|
3035
3036
|
"aria-selected": _ === H,
|
|
3036
|
-
className:
|
|
3037
|
+
className: we.langOption,
|
|
3037
3038
|
onClick: () => {
|
|
3038
|
-
|
|
3039
|
+
ge?.trackLanguageChangedFe?.({ newLanguage: _ }), D(_), C(!1);
|
|
3039
3040
|
},
|
|
3040
3041
|
children: pr[_]
|
|
3041
3042
|
},
|
|
@@ -3044,32 +3045,32 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3044
3045
|
}
|
|
3045
3046
|
)
|
|
3046
3047
|
] }) : null;
|
|
3047
|
-
return /* @__PURE__ */ r.jsxs("div", { className: `${
|
|
3048
|
+
return /* @__PURE__ */ r.jsxs("div", { className: `${we.container} ${t}`, children: [
|
|
3048
3049
|
/* @__PURE__ */ r.jsx(
|
|
3049
3050
|
La,
|
|
3050
3051
|
{
|
|
3051
3052
|
t: O,
|
|
3052
3053
|
logoUrl: m ? h.config.logoUrl : void 0,
|
|
3053
3054
|
languageSelector: Re,
|
|
3054
|
-
className:
|
|
3055
|
+
className: we.kundliHeaderNoBorder
|
|
3055
3056
|
}
|
|
3056
3057
|
),
|
|
3057
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
3058
|
-
/* @__PURE__ */ r.jsxs("main", { className:
|
|
3059
|
-
/* @__PURE__ */ r.jsx(ft, { t: O, onBack:
|
|
3058
|
+
/* @__PURE__ */ r.jsx("div", { className: we.headerSeparator, "aria-hidden": !0 }),
|
|
3059
|
+
/* @__PURE__ */ r.jsxs("main", { className: we.main, children: [
|
|
3060
|
+
/* @__PURE__ */ r.jsx(ft, { t: O, onBack: Ae }),
|
|
3060
3061
|
/* @__PURE__ */ r.jsx(
|
|
3061
3062
|
ya,
|
|
3062
3063
|
{
|
|
3063
3064
|
t: O,
|
|
3064
3065
|
values: G,
|
|
3065
|
-
onChange:
|
|
3066
|
+
onChange: Ce,
|
|
3066
3067
|
googleMapsApiKey: P,
|
|
3067
3068
|
atlasSearchLocalities: E,
|
|
3068
3069
|
googleMapsAutocompleteEnabled: u,
|
|
3069
3070
|
phoneIsdCode: Z,
|
|
3070
|
-
onPhoneIsdCodeChange:
|
|
3071
|
+
onPhoneIsdCodeChange: xe,
|
|
3071
3072
|
showV1ExtraFields: m ? h?.config.variant === "v1" : !1,
|
|
3072
|
-
analytics:
|
|
3073
|
+
analytics: ge
|
|
3073
3074
|
}
|
|
3074
3075
|
)
|
|
3075
3076
|
] }),
|
|
@@ -3079,30 +3080,30 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
3079
3080
|
t: O,
|
|
3080
3081
|
values: G,
|
|
3081
3082
|
phoneIsdCode: Z,
|
|
3082
|
-
onProceed:
|
|
3083
|
-
onProceedGuidance:
|
|
3084
|
-
href:
|
|
3085
|
-
originalPriceLabel:
|
|
3086
|
-
discountedPriceLabel:
|
|
3087
|
-
analytics:
|
|
3088
|
-
showPlanSheet:
|
|
3089
|
-
confirmPlan:
|
|
3083
|
+
onProceed: ee,
|
|
3084
|
+
onProceedGuidance: re,
|
|
3085
|
+
href: de,
|
|
3086
|
+
originalPriceLabel: me,
|
|
3087
|
+
discountedPriceLabel: oe,
|
|
3088
|
+
analytics: ge,
|
|
3089
|
+
showPlanSheet: ue,
|
|
3090
|
+
confirmPlan: ke,
|
|
3090
3091
|
planSheetOpen: je,
|
|
3091
|
-
selectedPlan:
|
|
3092
|
+
selectedPlan: se
|
|
3092
3093
|
}
|
|
3093
3094
|
),
|
|
3094
3095
|
h?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
|
|
3095
3096
|
Ln,
|
|
3096
3097
|
{
|
|
3097
3098
|
isOpen: je,
|
|
3098
|
-
onClose: () =>
|
|
3099
|
-
selectedPlan:
|
|
3100
|
-
onSelectPlan:
|
|
3099
|
+
onClose: () => ie(!1),
|
|
3100
|
+
selectedPlan: se,
|
|
3101
|
+
onSelectPlan: Pe,
|
|
3101
3102
|
onProceed: () => {
|
|
3102
|
-
|
|
3103
|
+
ke?.();
|
|
3103
3104
|
},
|
|
3104
3105
|
t: O,
|
|
3105
|
-
analytics:
|
|
3106
|
+
analytics: ge
|
|
3106
3107
|
}
|
|
3107
3108
|
)
|
|
3108
3109
|
] });
|
|
@@ -3180,4 +3181,4 @@ export {
|
|
|
3180
3181
|
vr as t,
|
|
3181
3182
|
ot as u
|
|
3182
3183
|
};
|
|
3183
|
-
//# sourceMappingURL=analytics-
|
|
3184
|
+
//# sourceMappingURL=analytics-DOC6EHFq.js.map
|