@srimandir/kundli-generator 3.0.65 → 3.0.66
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-C-BWNjai.js +2523 -0
- package/dist/analytics-C-BWNjai.js.map +1 -0
- package/dist/components/KundliForm/KundliForm.d.ts +2 -0
- package/dist/components/KundliForm/sections/FormHeader/FormHeader.d.ts +1 -0
- package/dist/components/KundliForm/sections/ProceedFooter/ProceedFooter.d.ts +4 -0
- package/dist/components/KundliForm/sections/UserInfoFormSection/UserInfoFormSection.d.ts +3 -0
- package/dist/components/KundliForm/sections/UserInfoFormSection/constants.d.ts +215 -0
- package/dist/components/KundliPage/KundliPageV1.d.ts +44 -0
- package/dist/components/KundliPage/KundliPageVariant.d.ts +5 -0
- package/dist/components/KundliPage/index.d.ts +4 -2
- package/dist/criticalCss-BABH9hjn.js +1161 -0
- package/dist/criticalCss-BABH9hjn.js.map +1 -0
- package/dist/form-entry.js +1 -1
- package/dist/i18n/translations.d.ts +0 -14
- package/dist/index.d.ts +1 -0
- package/dist/kundli-generator.js +17 -15
- package/dist/page-entry.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/dist/analytics-Du6zZXW9.js +0 -2144
- package/dist/analytics-Du6zZXW9.js.map +0 -1
- package/dist/criticalCss-BEe0O4RS.js +0 -788
- package/dist/criticalCss-BEe0O4RS.js.map +0 -1
|
@@ -0,0 +1,2523 @@
|
|
|
1
|
+
import Me, { useContext as Ue, createContext as it, useState as G, useRef as J, useEffect as X, useMemo as Fe, useCallback as we } from "react";
|
|
2
|
+
import { FormSectionHeader as It, FooterCTAButton as Dt, FooterShell as Lt, CircularMarquee as Ot, footerShellStyles as be, PageHeader as Bt } from "@srimandir/astrology-common";
|
|
3
|
+
var Ne = { exports: {} }, Te = {};
|
|
4
|
+
var tt;
|
|
5
|
+
function Ft() {
|
|
6
|
+
if (tt) return Te;
|
|
7
|
+
tt = 1;
|
|
8
|
+
var a = Me, i = /* @__PURE__ */ Symbol.for("react.element"), g = /* @__PURE__ */ Symbol.for("react.fragment"), h = Object.prototype.hasOwnProperty, b = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, v = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9
|
+
function P(B, p, K) {
|
|
10
|
+
var u, S = {}, d = null, F = null;
|
|
11
|
+
K !== void 0 && (d = "" + K), p.key !== void 0 && (d = "" + p.key), p.ref !== void 0 && (F = p.ref);
|
|
12
|
+
for (u in p) h.call(p, u) && !v.hasOwnProperty(u) && (S[u] = p[u]);
|
|
13
|
+
if (B && B.defaultProps) for (u in p = B.defaultProps, p) S[u] === void 0 && (S[u] = p[u]);
|
|
14
|
+
return { $$typeof: i, type: B, key: d, ref: F, props: S, _owner: b.current };
|
|
15
|
+
}
|
|
16
|
+
return Te.Fragment = g, Te.jsx = P, Te.jsxs = P, Te;
|
|
17
|
+
}
|
|
18
|
+
var Ae = {};
|
|
19
|
+
var rt;
|
|
20
|
+
function Mt() {
|
|
21
|
+
return rt || (rt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
+
var a = Me, i = /* @__PURE__ */ Symbol.for("react.element"), g = /* @__PURE__ */ Symbol.for("react.portal"), h = /* @__PURE__ */ Symbol.for("react.fragment"), b = /* @__PURE__ */ Symbol.for("react.strict_mode"), v = /* @__PURE__ */ Symbol.for("react.profiler"), P = /* @__PURE__ */ Symbol.for("react.provider"), B = /* @__PURE__ */ Symbol.for("react.context"), p = /* @__PURE__ */ Symbol.for("react.forward_ref"), K = /* @__PURE__ */ Symbol.for("react.suspense"), u = /* @__PURE__ */ Symbol.for("react.suspense_list"), S = /* @__PURE__ */ Symbol.for("react.memo"), d = /* @__PURE__ */ Symbol.for("react.lazy"), F = /* @__PURE__ */ Symbol.for("react.offscreen"), w = Symbol.iterator, A = "@@iterator";
|
|
23
|
+
function H(e) {
|
|
24
|
+
if (e === null || typeof e != "object")
|
|
25
|
+
return null;
|
|
26
|
+
var o = w && e[w] || e[A];
|
|
27
|
+
return typeof o == "function" ? o : null;
|
|
28
|
+
}
|
|
29
|
+
var I = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
30
|
+
function j(e) {
|
|
31
|
+
{
|
|
32
|
+
for (var o = arguments.length, c = new Array(o > 1 ? o - 1 : 0), l = 1; l < o; l++)
|
|
33
|
+
c[l - 1] = arguments[l];
|
|
34
|
+
y("error", e, c);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
function y(e, o, c) {
|
|
38
|
+
{
|
|
39
|
+
var l = I.ReactDebugCurrentFrame, _ = l.getStackAddendum();
|
|
40
|
+
_ !== "" && (o += "%s", c = c.concat([_]));
|
|
41
|
+
var x = c.map(function(f) {
|
|
42
|
+
return String(f);
|
|
43
|
+
});
|
|
44
|
+
x.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, x);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
var U = !1, Y = !1, E = !1, $ = !1, q = !1, T;
|
|
48
|
+
T = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
|
+
function C(e) {
|
|
50
|
+
return !!(typeof e == "string" || typeof e == "function" || e === h || e === v || q || e === b || e === K || e === u || $ || e === F || U || Y || E || typeof e == "object" && e !== null && (e.$$typeof === d || e.$$typeof === S || e.$$typeof === P || e.$$typeof === B || e.$$typeof === p || // This needs to include all possible module reference object
|
|
51
|
+
// types supported by any Flight configuration anywhere since
|
|
52
|
+
// we don't know which Flight build this will end up being used
|
|
53
|
+
// with.
|
|
54
|
+
e.$$typeof === T || e.getModuleId !== void 0));
|
|
55
|
+
}
|
|
56
|
+
function V(e, o, c) {
|
|
57
|
+
var l = e.displayName;
|
|
58
|
+
if (l)
|
|
59
|
+
return l;
|
|
60
|
+
var _ = o.displayName || o.name || "";
|
|
61
|
+
return _ !== "" ? c + "(" + _ + ")" : c;
|
|
62
|
+
}
|
|
63
|
+
function z(e) {
|
|
64
|
+
return e.displayName || "Context";
|
|
65
|
+
}
|
|
66
|
+
function k(e) {
|
|
67
|
+
if (e == null)
|
|
68
|
+
return null;
|
|
69
|
+
if (typeof e.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
70
|
+
return e.displayName || e.name || null;
|
|
71
|
+
if (typeof e == "string")
|
|
72
|
+
return e;
|
|
73
|
+
switch (e) {
|
|
74
|
+
case h:
|
|
75
|
+
return "Fragment";
|
|
76
|
+
case g:
|
|
77
|
+
return "Portal";
|
|
78
|
+
case v:
|
|
79
|
+
return "Profiler";
|
|
80
|
+
case b:
|
|
81
|
+
return "StrictMode";
|
|
82
|
+
case K:
|
|
83
|
+
return "Suspense";
|
|
84
|
+
case u:
|
|
85
|
+
return "SuspenseList";
|
|
86
|
+
}
|
|
87
|
+
if (typeof e == "object")
|
|
88
|
+
switch (e.$$typeof) {
|
|
89
|
+
case B:
|
|
90
|
+
var o = e;
|
|
91
|
+
return z(o) + ".Consumer";
|
|
92
|
+
case P:
|
|
93
|
+
var c = e;
|
|
94
|
+
return z(c._context) + ".Provider";
|
|
95
|
+
case p:
|
|
96
|
+
return V(e, e.render, "ForwardRef");
|
|
97
|
+
case S:
|
|
98
|
+
var l = e.displayName || null;
|
|
99
|
+
return l !== null ? l : k(e.type) || "Memo";
|
|
100
|
+
case d: {
|
|
101
|
+
var _ = e, x = _._payload, f = _._init;
|
|
102
|
+
try {
|
|
103
|
+
return k(f(x));
|
|
104
|
+
} catch {
|
|
105
|
+
return null;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
return null;
|
|
110
|
+
}
|
|
111
|
+
var D = Object.assign, R = 0, W, ie, ce, se, ue, ae, le;
|
|
112
|
+
function re() {
|
|
113
|
+
}
|
|
114
|
+
re.__reactDisabledLog = !0;
|
|
115
|
+
function ne() {
|
|
116
|
+
{
|
|
117
|
+
if (R === 0) {
|
|
118
|
+
W = console.log, ie = console.info, ce = console.warn, se = console.error, ue = console.group, ae = console.groupCollapsed, le = console.groupEnd;
|
|
119
|
+
var e = {
|
|
120
|
+
configurable: !0,
|
|
121
|
+
enumerable: !0,
|
|
122
|
+
value: re,
|
|
123
|
+
writable: !0
|
|
124
|
+
};
|
|
125
|
+
Object.defineProperties(console, {
|
|
126
|
+
info: e,
|
|
127
|
+
log: e,
|
|
128
|
+
warn: e,
|
|
129
|
+
error: e,
|
|
130
|
+
group: e,
|
|
131
|
+
groupCollapsed: e,
|
|
132
|
+
groupEnd: e
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
R++;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
function he() {
|
|
139
|
+
{
|
|
140
|
+
if (R--, R === 0) {
|
|
141
|
+
var e = {
|
|
142
|
+
configurable: !0,
|
|
143
|
+
enumerable: !0,
|
|
144
|
+
writable: !0
|
|
145
|
+
};
|
|
146
|
+
Object.defineProperties(console, {
|
|
147
|
+
log: D({}, e, {
|
|
148
|
+
value: W
|
|
149
|
+
}),
|
|
150
|
+
info: D({}, e, {
|
|
151
|
+
value: ie
|
|
152
|
+
}),
|
|
153
|
+
warn: D({}, e, {
|
|
154
|
+
value: ce
|
|
155
|
+
}),
|
|
156
|
+
error: D({}, e, {
|
|
157
|
+
value: se
|
|
158
|
+
}),
|
|
159
|
+
group: D({}, e, {
|
|
160
|
+
value: ue
|
|
161
|
+
}),
|
|
162
|
+
groupCollapsed: D({}, e, {
|
|
163
|
+
value: ae
|
|
164
|
+
}),
|
|
165
|
+
groupEnd: D({}, e, {
|
|
166
|
+
value: le
|
|
167
|
+
})
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
R < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
var de = I.ReactCurrentDispatcher, N;
|
|
174
|
+
function me(e, o, c) {
|
|
175
|
+
{
|
|
176
|
+
if (N === void 0)
|
|
177
|
+
try {
|
|
178
|
+
throw Error();
|
|
179
|
+
} catch (_) {
|
|
180
|
+
var l = _.stack.trim().match(/\n( *(at )?)/);
|
|
181
|
+
N = l && l[1] || "";
|
|
182
|
+
}
|
|
183
|
+
return `
|
|
184
|
+
` + N + e;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
var ye = !1, pe;
|
|
188
|
+
{
|
|
189
|
+
var Re = typeof WeakMap == "function" ? WeakMap : Map;
|
|
190
|
+
pe = new Re();
|
|
191
|
+
}
|
|
192
|
+
function xe(e, o) {
|
|
193
|
+
if (!e || ye)
|
|
194
|
+
return "";
|
|
195
|
+
{
|
|
196
|
+
var c = pe.get(e);
|
|
197
|
+
if (c !== void 0)
|
|
198
|
+
return c;
|
|
199
|
+
}
|
|
200
|
+
var l;
|
|
201
|
+
ye = !0;
|
|
202
|
+
var _ = Error.prepareStackTrace;
|
|
203
|
+
Error.prepareStackTrace = void 0;
|
|
204
|
+
var x;
|
|
205
|
+
x = de.current, de.current = null, ne();
|
|
206
|
+
try {
|
|
207
|
+
if (o) {
|
|
208
|
+
var f = function() {
|
|
209
|
+
throw Error();
|
|
210
|
+
};
|
|
211
|
+
if (Object.defineProperty(f.prototype, "props", {
|
|
212
|
+
set: function() {
|
|
213
|
+
throw Error();
|
|
214
|
+
}
|
|
215
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
216
|
+
try {
|
|
217
|
+
Reflect.construct(f, []);
|
|
218
|
+
} catch (Z) {
|
|
219
|
+
l = Z;
|
|
220
|
+
}
|
|
221
|
+
Reflect.construct(e, [], f);
|
|
222
|
+
} else {
|
|
223
|
+
try {
|
|
224
|
+
f.call();
|
|
225
|
+
} catch (Z) {
|
|
226
|
+
l = Z;
|
|
227
|
+
}
|
|
228
|
+
e.call(f.prototype);
|
|
229
|
+
}
|
|
230
|
+
} else {
|
|
231
|
+
try {
|
|
232
|
+
throw Error();
|
|
233
|
+
} catch (Z) {
|
|
234
|
+
l = Z;
|
|
235
|
+
}
|
|
236
|
+
e();
|
|
237
|
+
}
|
|
238
|
+
} catch (Z) {
|
|
239
|
+
if (Z && l && typeof Z.stack == "string") {
|
|
240
|
+
for (var m = Z.stack.split(`
|
|
241
|
+
`), Q = l.stack.split(`
|
|
242
|
+
`), O = m.length - 1, M = Q.length - 1; O >= 1 && M >= 0 && m[O] !== Q[M]; )
|
|
243
|
+
M--;
|
|
244
|
+
for (; O >= 1 && M >= 0; O--, M--)
|
|
245
|
+
if (m[O] !== Q[M]) {
|
|
246
|
+
if (O !== 1 || M !== 1)
|
|
247
|
+
do
|
|
248
|
+
if (O--, M--, M < 0 || m[O] !== Q[M]) {
|
|
249
|
+
var te = `
|
|
250
|
+
` + m[O].replace(" at new ", " at ");
|
|
251
|
+
return e.displayName && te.includes("<anonymous>") && (te = te.replace("<anonymous>", e.displayName)), typeof e == "function" && pe.set(e, te), te;
|
|
252
|
+
}
|
|
253
|
+
while (O >= 1 && M >= 0);
|
|
254
|
+
break;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
} finally {
|
|
258
|
+
ye = !1, de.current = x, he(), Error.prepareStackTrace = _;
|
|
259
|
+
}
|
|
260
|
+
var ke = e ? e.displayName || e.name : "", ge = ke ? me(ke) : "";
|
|
261
|
+
return typeof e == "function" && pe.set(e, ge), ge;
|
|
262
|
+
}
|
|
263
|
+
function Pe(e, o, c) {
|
|
264
|
+
return xe(e, !1);
|
|
265
|
+
}
|
|
266
|
+
function Se(e) {
|
|
267
|
+
var o = e.prototype;
|
|
268
|
+
return !!(o && o.isReactComponent);
|
|
269
|
+
}
|
|
270
|
+
function n(e, o, c) {
|
|
271
|
+
if (e == null)
|
|
272
|
+
return "";
|
|
273
|
+
if (typeof e == "function")
|
|
274
|
+
return xe(e, Se(e));
|
|
275
|
+
if (typeof e == "string")
|
|
276
|
+
return me(e);
|
|
277
|
+
switch (e) {
|
|
278
|
+
case K:
|
|
279
|
+
return me("Suspense");
|
|
280
|
+
case u:
|
|
281
|
+
return me("SuspenseList");
|
|
282
|
+
}
|
|
283
|
+
if (typeof e == "object")
|
|
284
|
+
switch (e.$$typeof) {
|
|
285
|
+
case p:
|
|
286
|
+
return Pe(e.render);
|
|
287
|
+
case S:
|
|
288
|
+
return n(e.type, o, c);
|
|
289
|
+
case d: {
|
|
290
|
+
var l = e, _ = l._payload, x = l._init;
|
|
291
|
+
try {
|
|
292
|
+
return n(x(_), o, c);
|
|
293
|
+
} catch {
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
return "";
|
|
298
|
+
}
|
|
299
|
+
var s = Object.prototype.hasOwnProperty, L = {}, ee = I.ReactDebugCurrentFrame;
|
|
300
|
+
function fe(e) {
|
|
301
|
+
if (e) {
|
|
302
|
+
var o = e._owner, c = n(e.type, e._source, o ? o.type : null);
|
|
303
|
+
ee.setExtraStackFrame(c);
|
|
304
|
+
} else
|
|
305
|
+
ee.setExtraStackFrame(null);
|
|
306
|
+
}
|
|
307
|
+
function Ee(e, o, c, l, _) {
|
|
308
|
+
{
|
|
309
|
+
var x = Function.call.bind(s);
|
|
310
|
+
for (var f in e)
|
|
311
|
+
if (x(e, f)) {
|
|
312
|
+
var m = void 0;
|
|
313
|
+
try {
|
|
314
|
+
if (typeof e[f] != "function") {
|
|
315
|
+
var Q = Error((l || "React class") + ": " + c + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
316
|
+
throw Q.name = "Invariant Violation", Q;
|
|
317
|
+
}
|
|
318
|
+
m = e[f](o, f, l, c, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
319
|
+
} catch (O) {
|
|
320
|
+
m = O;
|
|
321
|
+
}
|
|
322
|
+
m && !(m instanceof Error) && (fe(_), j("%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).", l || "React class", c, f, typeof m), fe(null)), m instanceof Error && !(m.message in L) && (L[m.message] = !0, fe(_), j("Failed %s type: %s", c, m.message), fe(null));
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
var mt = Array.isArray;
|
|
327
|
+
function Ie(e) {
|
|
328
|
+
return mt(e);
|
|
329
|
+
}
|
|
330
|
+
function ft(e) {
|
|
331
|
+
{
|
|
332
|
+
var o = typeof Symbol == "function" && Symbol.toStringTag, c = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
333
|
+
return c;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
function ht(e) {
|
|
337
|
+
try {
|
|
338
|
+
return Ge(e), !1;
|
|
339
|
+
} catch {
|
|
340
|
+
return !0;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
function Ge(e) {
|
|
344
|
+
return "" + e;
|
|
345
|
+
}
|
|
346
|
+
function Ke(e) {
|
|
347
|
+
if (ht(e))
|
|
348
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ft(e)), Ge(e);
|
|
349
|
+
}
|
|
350
|
+
var He = I.ReactCurrentOwner, pt = {
|
|
351
|
+
key: !0,
|
|
352
|
+
ref: !0,
|
|
353
|
+
__self: !0,
|
|
354
|
+
__source: !0
|
|
355
|
+
}, Ye, qe;
|
|
356
|
+
function gt(e) {
|
|
357
|
+
if (s.call(e, "ref")) {
|
|
358
|
+
var o = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
359
|
+
if (o && o.isReactWarning)
|
|
360
|
+
return !1;
|
|
361
|
+
}
|
|
362
|
+
return e.ref !== void 0;
|
|
363
|
+
}
|
|
364
|
+
function bt(e) {
|
|
365
|
+
if (s.call(e, "key")) {
|
|
366
|
+
var o = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
367
|
+
if (o && o.isReactWarning)
|
|
368
|
+
return !1;
|
|
369
|
+
}
|
|
370
|
+
return e.key !== void 0;
|
|
371
|
+
}
|
|
372
|
+
function yt(e, o) {
|
|
373
|
+
typeof e.ref == "string" && He.current;
|
|
374
|
+
}
|
|
375
|
+
function _t(e, o) {
|
|
376
|
+
{
|
|
377
|
+
var c = function() {
|
|
378
|
+
Ye || (Ye = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
379
|
+
};
|
|
380
|
+
c.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
381
|
+
get: c,
|
|
382
|
+
configurable: !0
|
|
383
|
+
});
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
function kt(e, o) {
|
|
387
|
+
{
|
|
388
|
+
var c = function() {
|
|
389
|
+
qe || (qe = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
390
|
+
};
|
|
391
|
+
c.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
392
|
+
get: c,
|
|
393
|
+
configurable: !0
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
var vt = function(e, o, c, l, _, x, f) {
|
|
398
|
+
var m = {
|
|
399
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
400
|
+
$$typeof: i,
|
|
401
|
+
// Built-in properties that belong on the element
|
|
402
|
+
type: e,
|
|
403
|
+
key: o,
|
|
404
|
+
ref: c,
|
|
405
|
+
props: f,
|
|
406
|
+
// Record the component responsible for creating this element.
|
|
407
|
+
_owner: x
|
|
408
|
+
};
|
|
409
|
+
return m._store = {}, Object.defineProperty(m._store, "validated", {
|
|
410
|
+
configurable: !1,
|
|
411
|
+
enumerable: !1,
|
|
412
|
+
writable: !0,
|
|
413
|
+
value: !1
|
|
414
|
+
}), Object.defineProperty(m, "_self", {
|
|
415
|
+
configurable: !1,
|
|
416
|
+
enumerable: !1,
|
|
417
|
+
writable: !1,
|
|
418
|
+
value: l
|
|
419
|
+
}), Object.defineProperty(m, "_source", {
|
|
420
|
+
configurable: !1,
|
|
421
|
+
enumerable: !1,
|
|
422
|
+
writable: !1,
|
|
423
|
+
value: _
|
|
424
|
+
}), Object.freeze && (Object.freeze(m.props), Object.freeze(m)), m;
|
|
425
|
+
};
|
|
426
|
+
function wt(e, o, c, l, _) {
|
|
427
|
+
{
|
|
428
|
+
var x, f = {}, m = null, Q = null;
|
|
429
|
+
c !== void 0 && (Ke(c), m = "" + c), bt(o) && (Ke(o.key), m = "" + o.key), gt(o) && (Q = o.ref, yt(o, _));
|
|
430
|
+
for (x in o)
|
|
431
|
+
s.call(o, x) && !pt.hasOwnProperty(x) && (f[x] = o[x]);
|
|
432
|
+
if (e && e.defaultProps) {
|
|
433
|
+
var O = e.defaultProps;
|
|
434
|
+
for (x in O)
|
|
435
|
+
f[x] === void 0 && (f[x] = O[x]);
|
|
436
|
+
}
|
|
437
|
+
if (m || Q) {
|
|
438
|
+
var M = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
439
|
+
m && _t(f, M), Q && kt(f, M);
|
|
440
|
+
}
|
|
441
|
+
return vt(e, m, Q, _, l, He.current, f);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
var De = I.ReactCurrentOwner, Ve = I.ReactDebugCurrentFrame;
|
|
445
|
+
function _e(e) {
|
|
446
|
+
if (e) {
|
|
447
|
+
var o = e._owner, c = n(e.type, e._source, o ? o.type : null);
|
|
448
|
+
Ve.setExtraStackFrame(c);
|
|
449
|
+
} else
|
|
450
|
+
Ve.setExtraStackFrame(null);
|
|
451
|
+
}
|
|
452
|
+
var Le;
|
|
453
|
+
Le = !1;
|
|
454
|
+
function Oe(e) {
|
|
455
|
+
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
456
|
+
}
|
|
457
|
+
function ze() {
|
|
458
|
+
{
|
|
459
|
+
if (De.current) {
|
|
460
|
+
var e = k(De.current.type);
|
|
461
|
+
if (e)
|
|
462
|
+
return `
|
|
463
|
+
|
|
464
|
+
Check the render method of \`` + e + "`.";
|
|
465
|
+
}
|
|
466
|
+
return "";
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
function xt(e) {
|
|
470
|
+
return "";
|
|
471
|
+
}
|
|
472
|
+
var Je = {};
|
|
473
|
+
function Pt(e) {
|
|
474
|
+
{
|
|
475
|
+
var o = ze();
|
|
476
|
+
if (!o) {
|
|
477
|
+
var c = typeof e == "string" ? e : e.displayName || e.name;
|
|
478
|
+
c && (o = `
|
|
479
|
+
|
|
480
|
+
Check the top-level render call using <` + c + ">.");
|
|
481
|
+
}
|
|
482
|
+
return o;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
function Qe(e, o) {
|
|
486
|
+
{
|
|
487
|
+
if (!e._store || e._store.validated || e.key != null)
|
|
488
|
+
return;
|
|
489
|
+
e._store.validated = !0;
|
|
490
|
+
var c = Pt(o);
|
|
491
|
+
if (Je[c])
|
|
492
|
+
return;
|
|
493
|
+
Je[c] = !0;
|
|
494
|
+
var l = "";
|
|
495
|
+
e && e._owner && e._owner !== De.current && (l = " It was passed a child from " + k(e._owner.type) + "."), _e(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', c, l), _e(null);
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
function Xe(e, o) {
|
|
499
|
+
{
|
|
500
|
+
if (typeof e != "object")
|
|
501
|
+
return;
|
|
502
|
+
if (Ie(e))
|
|
503
|
+
for (var c = 0; c < e.length; c++) {
|
|
504
|
+
var l = e[c];
|
|
505
|
+
Oe(l) && Qe(l, o);
|
|
506
|
+
}
|
|
507
|
+
else if (Oe(e))
|
|
508
|
+
e._store && (e._store.validated = !0);
|
|
509
|
+
else if (e) {
|
|
510
|
+
var _ = H(e);
|
|
511
|
+
if (typeof _ == "function" && _ !== e.entries)
|
|
512
|
+
for (var x = _.call(e), f; !(f = x.next()).done; )
|
|
513
|
+
Oe(f.value) && Qe(f.value, o);
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
function Tt(e) {
|
|
518
|
+
{
|
|
519
|
+
var o = e.type;
|
|
520
|
+
if (o == null || typeof o == "string")
|
|
521
|
+
return;
|
|
522
|
+
var c;
|
|
523
|
+
if (typeof o == "function")
|
|
524
|
+
c = o.propTypes;
|
|
525
|
+
else if (typeof o == "object" && (o.$$typeof === p || // Note: Memo only checks outer props here.
|
|
526
|
+
// Inner props are checked in the reconciler.
|
|
527
|
+
o.$$typeof === S))
|
|
528
|
+
c = o.propTypes;
|
|
529
|
+
else
|
|
530
|
+
return;
|
|
531
|
+
if (c) {
|
|
532
|
+
var l = k(o);
|
|
533
|
+
Ee(c, e.props, "prop", l, e);
|
|
534
|
+
} else if (o.PropTypes !== void 0 && !Le) {
|
|
535
|
+
Le = !0;
|
|
536
|
+
var _ = k(o);
|
|
537
|
+
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _ || "Unknown");
|
|
538
|
+
}
|
|
539
|
+
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
function At(e) {
|
|
543
|
+
{
|
|
544
|
+
for (var o = Object.keys(e.props), c = 0; c < o.length; c++) {
|
|
545
|
+
var l = o[c];
|
|
546
|
+
if (l !== "children" && l !== "key") {
|
|
547
|
+
_e(e), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", l), _e(null);
|
|
548
|
+
break;
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
e.ref !== null && (_e(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), _e(null));
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
var Ze = {};
|
|
555
|
+
function et(e, o, c, l, _, x) {
|
|
556
|
+
{
|
|
557
|
+
var f = C(e);
|
|
558
|
+
if (!f) {
|
|
559
|
+
var m = "";
|
|
560
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (m += " 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 Q = xt();
|
|
562
|
+
Q ? m += Q : m += ze();
|
|
563
|
+
var O;
|
|
564
|
+
e === null ? O = "null" : Ie(e) ? O = "array" : e !== void 0 && e.$$typeof === i ? (O = "<" + (k(e.type) || "Unknown") + " />", m = " Did you accidentally export a JSX literal instead of a component?") : O = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", O, m);
|
|
565
|
+
}
|
|
566
|
+
var M = wt(e, o, c, _, x);
|
|
567
|
+
if (M == null)
|
|
568
|
+
return M;
|
|
569
|
+
if (f) {
|
|
570
|
+
var te = o.children;
|
|
571
|
+
if (te !== void 0)
|
|
572
|
+
if (l)
|
|
573
|
+
if (Ie(te)) {
|
|
574
|
+
for (var ke = 0; ke < te.length; ke++)
|
|
575
|
+
Xe(te[ke], e);
|
|
576
|
+
Object.freeze && Object.freeze(te);
|
|
577
|
+
} else
|
|
578
|
+
j("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
|
+
else
|
|
580
|
+
Xe(te, e);
|
|
581
|
+
}
|
|
582
|
+
if (s.call(o, "key")) {
|
|
583
|
+
var ge = k(e), Z = Object.keys(o).filter(function(Et) {
|
|
584
|
+
return Et !== "key";
|
|
585
|
+
}), Be = Z.length > 0 ? "{key: someKey, " + Z.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
586
|
+
if (!Ze[ge + Be]) {
|
|
587
|
+
var Ct = Z.length > 0 ? "{" + Z.join(": ..., ") + ": ...}" : "{}";
|
|
588
|
+
j(`A props object containing a "key" prop is being spread into JSX:
|
|
589
|
+
let props = %s;
|
|
590
|
+
<%s {...props} />
|
|
591
|
+
React keys must be passed directly to JSX without using spread:
|
|
592
|
+
let props = %s;
|
|
593
|
+
<%s key={someKey} {...props} />`, Be, ge, Ct, ge), Ze[ge + Be] = !0;
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
return e === h ? At(M) : Tt(M), M;
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
function jt(e, o, c) {
|
|
600
|
+
return et(e, o, c, !0);
|
|
601
|
+
}
|
|
602
|
+
function Rt(e, o, c) {
|
|
603
|
+
return et(e, o, c, !1);
|
|
604
|
+
}
|
|
605
|
+
var St = Rt, Nt = jt;
|
|
606
|
+
Ae.Fragment = h, Ae.jsx = St, Ae.jsxs = Nt;
|
|
607
|
+
})()), Ae;
|
|
608
|
+
}
|
|
609
|
+
var nt;
|
|
610
|
+
function Ut() {
|
|
611
|
+
return nt || (nt = 1, process.env.NODE_ENV === "production" ? Ne.exports = Ft() : Ne.exports = Mt()), Ne.exports;
|
|
612
|
+
}
|
|
613
|
+
var t = Ut();
|
|
614
|
+
const ct = ["en", "hi"], at = {
|
|
615
|
+
en: "English",
|
|
616
|
+
hi: "हिन्दी"
|
|
617
|
+
}, st = {
|
|
618
|
+
en: {
|
|
619
|
+
kundli: "Kundli",
|
|
620
|
+
birthChart: "Birth Chart",
|
|
621
|
+
details: "Details",
|
|
622
|
+
name: "Name",
|
|
623
|
+
birthDate: "Birth Date",
|
|
624
|
+
guest: "Guest",
|
|
625
|
+
description: "Your birth chart reveals planetary positions at the time of your birth and their influence on your life.",
|
|
626
|
+
lagna: "Lagna",
|
|
627
|
+
rashi: "Rashi",
|
|
628
|
+
nakshatra: "Nakshatra",
|
|
629
|
+
// Premium Kundli landing
|
|
630
|
+
language: "Language",
|
|
631
|
+
sriMandir: "Sri Mandir",
|
|
632
|
+
ratingText: "4.9/5 on Google PlayStore",
|
|
633
|
+
heroTitle: "Get Your Premium Personalised Kundli Report",
|
|
634
|
+
heroSubtitle: "This premium personalised kundli report helps you find answers to major life issues.",
|
|
635
|
+
topicMarriage: "Marriage",
|
|
636
|
+
topicRelationship: "Relationship",
|
|
637
|
+
topicBusiness: "Business",
|
|
638
|
+
topicHealth: "Health",
|
|
639
|
+
topicCareer: "Career",
|
|
640
|
+
topicEducation: "Education",
|
|
641
|
+
topicMoney: "Money",
|
|
642
|
+
premiumHeadline: "200+ Pages Premium Personalised Kundli Report",
|
|
643
|
+
premiumHeadlinePill1: "200+ Pages",
|
|
644
|
+
premiumHeadlinePlain1: "Premium",
|
|
645
|
+
premiumHeadlinePlain2: "Personalised",
|
|
646
|
+
premiumHeadlinePill2: "Kundli Report",
|
|
647
|
+
premiumFeature1: "Vedic Birth Chart",
|
|
648
|
+
premiumFeature2: "Destiny Insights",
|
|
649
|
+
premiumFeature3: "Major Life Issues",
|
|
650
|
+
premiumFeature4: "Practical Remedies",
|
|
651
|
+
certifiedBy: "Certified by BHU and VHU Astrologers",
|
|
652
|
+
yourThreeSteps: "Your 3 steps",
|
|
653
|
+
threeStepsSubtitle: "Premium Personalised Kundli report",
|
|
654
|
+
step1: "Enter your information",
|
|
655
|
+
step2: "Your horoscope will be created by experts",
|
|
656
|
+
step3Intro: "You'll receive your Kundli report on your Whatsapp",
|
|
657
|
+
step3IntroGlobal: "You'll receive your Kundli report on your email",
|
|
658
|
+
step3IntroDomestic: "You'll receive your Kundli report on your Whatsapp",
|
|
659
|
+
step3Days: "2 days",
|
|
660
|
+
viewSampleReport: "View Sample Kundli Report",
|
|
661
|
+
sampleReportModalTitle: "Sample Kundli Report",
|
|
662
|
+
whatYoullFindTitle: "What will you find in your Kundli report?",
|
|
663
|
+
findDasha: "Analysis of flaws and periods.",
|
|
664
|
+
findDashaDesc: "Identify major flaws, period durations, and simple remedies.",
|
|
665
|
+
findYoga: "All yoga reports.",
|
|
666
|
+
findYogaDesc: "Discover the yogas in your kundli report that affect wealth, career, and relationships.",
|
|
667
|
+
findGemstone: "Gemstone recommendations.",
|
|
668
|
+
findGemstoneDesc: "Personalised gemstone guidance based on your kundli report.",
|
|
669
|
+
findPooja: "Puja recommendations.",
|
|
670
|
+
findPoojaDesc: "Suggestions for pujas and rituals to balance planetary influences.",
|
|
671
|
+
findMonthly: "Monthly predictions (1 year).",
|
|
672
|
+
findMonthlyDesc: "Month-by-month guidance for the coming year.",
|
|
673
|
+
findStrength: "Strength graph.",
|
|
674
|
+
findStrengthDesc: "Visual charts showing the strength and influence of the planets.",
|
|
675
|
+
whyUsTitle: "Why us?",
|
|
676
|
+
whyUsSubtitle: "Fill out the form to get started and unlock your fortune!",
|
|
677
|
+
whyUs1: "3,00,000+ kundli reports created",
|
|
678
|
+
whyUs2: "1,000+ partnered Top Astrologers",
|
|
679
|
+
whyUs3: "500+ temple partnerships you can trust",
|
|
680
|
+
whyUs4: "Personalised section-wise life analysis",
|
|
681
|
+
feedbackTitle: "Feedback from our users",
|
|
682
|
+
feedbackTrust: "Trusted by over 5 crore users worldwide",
|
|
683
|
+
feedbackRating: "4.9",
|
|
684
|
+
feedbackTestimonial1: "Detailed kundli report mila, life mein clarity mili.",
|
|
685
|
+
feedbackTestimonial2: "Career aur marriage dono pe clear guidance mila.",
|
|
686
|
+
feedbackTestimonial3: "Clear direction mila next steps ke liye.",
|
|
687
|
+
feedbackTestimonial4: "Doubts kaafi had tak clear ho gaye report se.",
|
|
688
|
+
feedbackTestimonial5: "Future planning ke liye useful insights mile.",
|
|
689
|
+
feedbackTestimonial6: "Har important area cover kiya gaya properly.",
|
|
690
|
+
feedbackTestimonial7: "Kaafi deep analysis hai, superficial nahi.",
|
|
691
|
+
feedbackTestimonial8: "Kundli insights ne future decisions clear kiye.",
|
|
692
|
+
feedbackTestimonial9: "I had seen many generic astrology reports before, but this Kundli report felt different. It described my life problems, thinking pattern, and situations from the past few years very accurately. While reading, it felt as if someone had already understood my condition. What stood out most was the clear and easy language, which made it feel trustworthy.",
|
|
693
|
+
feedbackTestimonial10: "I took this Kundli report just out of curiosity, but after reading it I was genuinely surprised. It accurately described obstacles in my work, mental confusion, and difficulty in making decisions. It felt as if my real-life situation had been deeply understood before writing the report. Many things became clearer after reading it.",
|
|
694
|
+
feedbackTestimonial11: "This was a very detailed Kundli report. It talked about my nature, mindset, and the problems I have been going through. Some points matched so closely that it was genuinely surprising to read. It didn't feel like general information, but something truly connected to my own life.",
|
|
695
|
+
feedbackTestimonial12: "Honestly, I didn't expect much, but after reading the report my perspective changed. It explained my personality, career ups and downs, and inner confusions very accurately. Many parts matched my current situation perfectly. By the end, it truly felt like this report was made specifically for me.",
|
|
696
|
+
feedbackTestimonial13: "I ordered the Kundli report mainly because my family insisted, but after reading it I was surprised myself. Many things about my nature, past experiences, and current struggles were absolutely accurate. It felt as if someone had carefully understood my life before writing it. Because of this, trust in the report came naturally.",
|
|
697
|
+
feedbackTestimonial14: "Simple language mein detailed analysis diya hai.",
|
|
698
|
+
feedbackTestimonial15: "Timing aur dasha explanation helpful thi.",
|
|
699
|
+
feedbackAuthor1: "Aarav",
|
|
700
|
+
feedbackAuthor2: "Vivaan",
|
|
701
|
+
feedbackAuthor3: "Arjun",
|
|
702
|
+
feedbackAuthor4: "Kabir",
|
|
703
|
+
feedbackAuthor5: "Rohan",
|
|
704
|
+
feedbackAuthor6: "Ishaan",
|
|
705
|
+
feedbackAuthor7: "Krish",
|
|
706
|
+
feedbackAuthor8: "Rahul",
|
|
707
|
+
feedbackAuthor9: "Ananya",
|
|
708
|
+
feedbackAuthor10: "Aadhya",
|
|
709
|
+
feedbackAuthor11: "Kavya",
|
|
710
|
+
feedbackAuthor12: "Diya",
|
|
711
|
+
feedbackAuthor13: "Meera",
|
|
712
|
+
feedbackAuthor14: "Pooja",
|
|
713
|
+
feedbackAuthor15: "Nisha",
|
|
714
|
+
feedbackAuthor1AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639271096.png",
|
|
715
|
+
feedbackAuthor2AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639330970.png",
|
|
716
|
+
feedbackAuthor3AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639345411.png",
|
|
717
|
+
feedbackAuthor4AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639358174.png",
|
|
718
|
+
feedbackAuthor5AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639369712.png",
|
|
719
|
+
feedbackAuthor6AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639381899.png",
|
|
720
|
+
feedbackAuthor7AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639442858.png",
|
|
721
|
+
feedbackAuthor8AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639454626.png",
|
|
722
|
+
feedbackAuthor9AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639254172.png",
|
|
723
|
+
feedbackAuthor10AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639293055.png",
|
|
724
|
+
feedbackAuthor11AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639306698.png",
|
|
725
|
+
feedbackAuthor12AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639319028.png",
|
|
726
|
+
feedbackAuthor13AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639402894.png",
|
|
727
|
+
feedbackAuthor14AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639416587.png",
|
|
728
|
+
feedbackAuthor15AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639427379.png",
|
|
729
|
+
readMoreReviews: "Read More Reviews",
|
|
730
|
+
readLess: "Read Less",
|
|
731
|
+
faqTitle: "Frequently Asked Questions",
|
|
732
|
+
faqQ1: "How will I receive my kundli report?",
|
|
733
|
+
faqQ2: "Is Premium personalised kundli available in any other language?",
|
|
734
|
+
faqQ3: "What if I don't know my birth time?",
|
|
735
|
+
faqA1Global: "You will receive your premium personalised kundli report on your shared email ID within 2 days.",
|
|
736
|
+
faqA1Domestic: "You will receive your premium personalised kundli report on your shared WhatsApp number within 2 days.",
|
|
737
|
+
faqA2: "Yes, we provide report in Hindi and English languages",
|
|
738
|
+
faqA3: "Accurate birth time helps to create more accurate report. However we are still able to prepare 80% accurate report if you don't know your exact time of birth",
|
|
739
|
+
contactTitle: "Contact Us",
|
|
740
|
+
contactBrandName: "Sri Mandir",
|
|
741
|
+
contactWhatsAppGlobal: "Whatsapp: 8296947757",
|
|
742
|
+
contactWhatsAppDomestic: "Whatsapp: 08071174417",
|
|
743
|
+
contactEmail: "Email: pujaseva@appsforbharat.com",
|
|
744
|
+
ctaKundliCreated: "3L+ Kundli Reports Created.",
|
|
745
|
+
ctaCertified: "BHU Certified Astrologer.",
|
|
746
|
+
ctaSecurePayment: "Secure Payment.",
|
|
747
|
+
ctaButton: "Get My Detailed Kundli in $300 $25",
|
|
748
|
+
ctaButtonStruck: "$100",
|
|
749
|
+
ctaButtonBefore: "Get My Detailed Kundli in ",
|
|
750
|
+
ctaButtonAfter: "$25",
|
|
751
|
+
// Kundli form (from incoming branch)
|
|
752
|
+
back: "Back",
|
|
753
|
+
info: "Info",
|
|
754
|
+
formTitle: "Enter your information",
|
|
755
|
+
formSubtitle: "Fill out the form below to get started and unlock your fortune!",
|
|
756
|
+
formFullName: "Enter your full name",
|
|
757
|
+
formFullNamePlaceholder: "Full name",
|
|
758
|
+
formPhone: "Enter your phone number",
|
|
759
|
+
formPhonePlaceholder: "Phone number",
|
|
760
|
+
formGurujiTitle: "FREE 1:1 Astrologer Consultation",
|
|
761
|
+
formGurujiSubtitle: "Get explanation of your premium personalised by a certified astrologer",
|
|
762
|
+
formGender: "Your Gender",
|
|
763
|
+
formGenderMale: "Male",
|
|
764
|
+
formGenderFemale: "Female",
|
|
765
|
+
formEmail: "Enter your email address",
|
|
766
|
+
formEmailHelp: "Your kundli report will be sent to your email",
|
|
767
|
+
formEmailPlaceholder: "Email address",
|
|
768
|
+
formDob: "Enter your date of birth",
|
|
769
|
+
formDobInfo: "This helps us calculate exact planetary position in your birth chart",
|
|
770
|
+
formBirthTime: "Enter your birth time",
|
|
771
|
+
formBirthTimeInfo: "This helps us calculate exact planetary position in your birth chart",
|
|
772
|
+
formBirthTimeUnknownLine1: "Don't know your exact birth time?",
|
|
773
|
+
formBirthTimeUnknownLine2: "We can analyze with 80% accuracy",
|
|
774
|
+
formBirthPlace: "Enter your birth place",
|
|
775
|
+
formBirthPlaceInfo: "This helps us calculate exact planetary position in your birth chart",
|
|
776
|
+
formBirthPlacePlaceholder: "City, State",
|
|
777
|
+
formReportLanguage: "Report Language",
|
|
778
|
+
formReportLanguageHindi: "Hindi",
|
|
779
|
+
formReportLanguageEnglish: "English",
|
|
780
|
+
formReportLanguageTelugu: "Telugu",
|
|
781
|
+
formReportLanguageTamil: "Tamil",
|
|
782
|
+
formReportLanguageKannada: "Kannada",
|
|
783
|
+
formReportLanguageGujarati: "Gujarati",
|
|
784
|
+
formReportLanguageMarathi: "Marathi",
|
|
785
|
+
formOfferEnding: "The offer is ending soon",
|
|
786
|
+
formDiscountPill: "75% discount",
|
|
787
|
+
formProceed: "Proceed to payment ",
|
|
788
|
+
formOriginalPrice: "$100",
|
|
789
|
+
formDiscountedPrice: "$25",
|
|
790
|
+
formPriceAria: "Price"
|
|
791
|
+
},
|
|
792
|
+
hi: {
|
|
793
|
+
kundli: "कुंडली",
|
|
794
|
+
birthChart: "जन्म कुंडली",
|
|
795
|
+
details: "विवरण",
|
|
796
|
+
name: "नाम",
|
|
797
|
+
birthDate: "जन्म तिथि",
|
|
798
|
+
guest: "अतिथि",
|
|
799
|
+
description: "आपकी जन्म कुंडली आपके जन्म के समय ग्रहों की स्थिति और आपके जीवन पर उनके प्रभाव को दर्शाती है।",
|
|
800
|
+
lagna: "लग्न",
|
|
801
|
+
rashi: "राशि",
|
|
802
|
+
nakshatra: "नक्षत्र",
|
|
803
|
+
language: "भाषा",
|
|
804
|
+
sriMandir: "श्री मंदिर",
|
|
805
|
+
ratingText: "4.9/5 (8 लाख Google Playstore)",
|
|
806
|
+
heroTitle: "अपनी प्रीमियम व्यक्तिगत कुंडली रिपोर्ट प्राप्त करें",
|
|
807
|
+
heroSubtitle: "यह प्रीमियम व्यक्तिगत कुंडली रिपोर्ट आपको प्रमुख जीवन मुद्दों के जवाब खोजने में मदद करती है।",
|
|
808
|
+
topicMarriage: "विवाह",
|
|
809
|
+
topicRelationship: "रिश्ता",
|
|
810
|
+
topicBusiness: "व्यवसाय",
|
|
811
|
+
topicHealth: "स्वास्थ्य",
|
|
812
|
+
topicCareer: "करियर",
|
|
813
|
+
topicEducation: "शिक्षा",
|
|
814
|
+
topicMoney: "पैसा",
|
|
815
|
+
premiumHeadline: "200+ पृष्ठ प्रीमियम व्यक्तिगत कुंडली रिपोर्ट",
|
|
816
|
+
premiumHeadlinePill1: "200+ पृष्ठ",
|
|
817
|
+
premiumHeadlinePlain1: "प्रीमियम",
|
|
818
|
+
premiumHeadlinePlain2: "व्यक्तिगत",
|
|
819
|
+
premiumHeadlinePill2: "कुंडली रिपोर्ट",
|
|
820
|
+
premiumFeature1: "वैदिक जन्म कुंडली",
|
|
821
|
+
premiumFeature2: "भाग्य जानकारी",
|
|
822
|
+
premiumFeature3: "प्रमुख जीवन मुद्दे",
|
|
823
|
+
premiumFeature4: "व्यावहारिक उपाय",
|
|
824
|
+
certifiedBy: "BHU और VHU ज्योतिषियों द्वारा प्रमाणित",
|
|
825
|
+
yourThreeSteps: "आपके 3 कदम",
|
|
826
|
+
threeStepsSubtitle: "प्रीमियम व्यक्तिगत कुंडली रिपोर्ट",
|
|
827
|
+
step1: "अपनी जानकारी दर्ज करें",
|
|
828
|
+
step2: "आपकी कुंडली विशेषज्ञों द्वारा बनाई जाएगी",
|
|
829
|
+
step3Intro: "आपको व्हाट्सएप पर अपनी कुंडली रिपोर्ट मिलेगी",
|
|
830
|
+
step3IntroGlobal: "आपको अपने ईमेल पर अपनी कुंडली रिपोर्ट मिलेगी",
|
|
831
|
+
step3IntroDomestic: "आपको व्हाट्सएप पर अपनी कुंडली रिपोर्ट मिलेगी",
|
|
832
|
+
step3Days: "2 दिनों में",
|
|
833
|
+
viewSampleReport: "नमूना कुंडली रिपोर्ट देखें",
|
|
834
|
+
sampleReportModalTitle: "नमूना कुंडली रिपोर्ट",
|
|
835
|
+
whatYoullFindTitle: "आपकी कुंडली रिपोर्ट में क्या मिलेगा?",
|
|
836
|
+
findDasha: "दोष और दशा का विश्लेषण",
|
|
837
|
+
findDashaDesc: "मुख्य दोष, दशा काल और सरल उपायों की पहचान करें",
|
|
838
|
+
findYoga: "सभी योग रिपोर्ट्स",
|
|
839
|
+
findYogaDesc: "अपनी कुंडली रिपोर्ट में उन योगों को जानें जो धन, करियर और संबंधों को प्रभावित करते हैं",
|
|
840
|
+
findGemstone: "रत्न सिफारिशें",
|
|
841
|
+
findGemstoneDesc: "आपकी कुंडली रिपोर्ट के आधार पर पर्सनलाइज्ड रत्न मार्गदर्शन",
|
|
842
|
+
findPooja: "पूजा सिफारिशें",
|
|
843
|
+
findPoojaDesc: "ग्रहों के प्रभाव को संतुलित करने के लिए पूजा और अनुष्ठान सुझाव",
|
|
844
|
+
findMonthly: "मासिक भविष्यवाणियाँ (1 वर्ष)",
|
|
845
|
+
findMonthlyDesc: "आने वाले वर्ष के लिए महीने-दर-महीने मार्गदर्शन",
|
|
846
|
+
findStrength: "भावबल ग्राफ",
|
|
847
|
+
findStrengthDesc: "ग्रहों की ताकत और प्रभाव दिखाने वाले दृश्य चार्ट",
|
|
848
|
+
whyUsTitle: "क्यों हम?",
|
|
849
|
+
whyUsSubtitle: "शुरू करने के लिए फॉर्म भरें और अपना भाग्य खोलें!",
|
|
850
|
+
whyUs1: "3,00,000+ कुंडली रिपोर्ट बनाई गई",
|
|
851
|
+
whyUs2: "1,000+ शीर्ष ज्योतिषी भागीदार",
|
|
852
|
+
whyUs3: "500+ मंदिर भागीदारी",
|
|
853
|
+
whyUs4: "व्यक्तिगत खंडवार जीवन विश्लेषण",
|
|
854
|
+
feedbackTitle: "हमारे उपयोगकर्ताओं की प्रतिक्रिया",
|
|
855
|
+
feedbackTrust: "दुनिया भर में 5 करोड़ से अधिक उपयोगकर्ताओं द्वारा विश्वसनीय",
|
|
856
|
+
feedbackRating: "4.9",
|
|
857
|
+
feedbackTestimonial1: "डिटेल्ड कुंडली रिपोर्ट मिली, जीवन में काफी क्लैरिटी आई।",
|
|
858
|
+
feedbackTestimonial2: "करियर और शादी दोनों पर साफ मार्गदर्शन मिला।",
|
|
859
|
+
feedbackTestimonial3: "आगे क्या करना है, उसकी साफ दिशा मिली।",
|
|
860
|
+
feedbackTestimonial4: "रिपोर्ट से ज़्यादातर डाउट्स क्लियर हो गए।",
|
|
861
|
+
feedbackTestimonial5: "फ्यूचर प्लानिंग के लिए अच्छे सुझाव मिले।",
|
|
862
|
+
feedbackTestimonial6: "सभी ज़रूरी चीज़ें अच्छे से कवर की गई हैं।",
|
|
863
|
+
feedbackTestimonial7: "एनालिसिस काफी डीप है, ऊपर-ऊपर का नहीं।",
|
|
864
|
+
feedbackTestimonial8: "कुंडली के सुझावों से फ्यूचर डिसीजन क्लियर हुए।",
|
|
865
|
+
feedbackTestimonial9: "मैंने पहले भी कई सामान्य ज्योतिष रिपोर्ट देखी थीं, लेकिन यह कुंडली रिपोर्ट अलग लगी। इसमें मेरी ज़िंदगी की परेशानियों, सोचने के तरीके और पिछले कुछ सालों की स्थितियों को बहुत सही तरीके से बताया गया था। कई बातें पढ़कर ऐसा लगा जैसे किसी ने मेरी हालत को पहले से समझ लिया हो। सबसे खास बात यह थी कि सब कुछ साफ़ और समझने वाली भाषा में लिखा था, जिससे भरोसा और बढ़ गया।",
|
|
866
|
+
feedbackTestimonial10: "मैंने यह कुंडली रिपोर्ट सिर्फ़ जिज्ञासा में ली थी, लेकिन पढ़ने के बाद सच में हैरान रह गया। मेरे काम में रुकावट, मन का असमंजस और फैसले लेने की परेशानी जैसी बातें बिल्कुल सही बताई गई थीं। ऐसा लगा जैसे मेरी ज़िंदगी की असली स्थिति को ठीक से समझकर लिखा गया हो। रिपोर्ट पढ़कर कई चीज़ें साफ़ समझ में आने लगीं।",
|
|
867
|
+
feedbackTestimonial11: "बहुत ही विस्तार से बनी हुई कुंडली रिपोर्ट थी। इसमें मेरे स्वभाव, सोच और जिन समस्याओं से मैं गुजर रहा था, उन सबका ज़िक्र था। कुछ बातें इतनी मिलती-जुलती थीं कि पढ़कर सच में आश्चर्य हुआ। यह सिर्फ़ सामान्य जानकारी नहीं थी, बल्कि मेरी अपनी ज़िंदगी से जुड़ी हुई लगी।",
|
|
868
|
+
feedbackTestimonial12: "सच कहूँ तो मुझे ज़्यादा उम्मीद नहीं थी, लेकिन रिपोर्ट पढ़ने के बाद नज़रिया बदल गया। इसमें मेरे व्यक्तित्व, काम के उतार-चढ़ाव और मन की उलझनों को बहुत सही तरीके से समझाया गया था। कई हिस्से ऐसे थे जो मेरी वर्तमान स्थिति से बिल्कुल मेल खाते थे। पूरा पढ़ने के बाद लगा कि यह रिपोर्ट सच में मेरे लिए ही बनाई गई है।",
|
|
869
|
+
feedbackTestimonial13: "मैंने कुंडली रिपोर्ट घरवालों के कहने पर ली थी, लेकिन पढ़ने के बाद खुद हैरान रह गया। मेरे स्वभाव, पिछले अनुभवों और चल रही परेशानियों के बारे में कई बातें बिल्कुल सही निकलीं। ऐसा लगा जैसे किसी ने मेरी ज़िंदगी को ध्यान से समझकर लिखा हो। इस वजह से रिपोर्ट पर भरोसा अपने-आप बन गया।",
|
|
870
|
+
feedbackTestimonial14: "आसान भाषा में पूरा डिटेल्ड एनालिसिस दिया है।",
|
|
871
|
+
feedbackTestimonial15: "दशा और टाइमिंग की जानकारी बहुत काम की थी।",
|
|
872
|
+
feedbackAuthor1: "आरव",
|
|
873
|
+
feedbackAuthor2: "विवान",
|
|
874
|
+
feedbackAuthor3: "अर्जुन",
|
|
875
|
+
feedbackAuthor4: "कबीर",
|
|
876
|
+
feedbackAuthor5: "रोहन",
|
|
877
|
+
feedbackAuthor6: "ईशान",
|
|
878
|
+
feedbackAuthor7: "कृष",
|
|
879
|
+
feedbackAuthor8: "राहुल",
|
|
880
|
+
feedbackAuthor9: "अनन्या",
|
|
881
|
+
feedbackAuthor10: "आध्या",
|
|
882
|
+
feedbackAuthor11: "काव्या",
|
|
883
|
+
feedbackAuthor12: "दिया",
|
|
884
|
+
feedbackAuthor13: "मीरा",
|
|
885
|
+
feedbackAuthor14: "पूजा",
|
|
886
|
+
feedbackAuthor15: "निशा",
|
|
887
|
+
feedbackAuthor1AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639271096.png",
|
|
888
|
+
feedbackAuthor2AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639330970.png",
|
|
889
|
+
feedbackAuthor3AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639345411.png",
|
|
890
|
+
feedbackAuthor4AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639358174.png",
|
|
891
|
+
feedbackAuthor5AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639369712.png",
|
|
892
|
+
feedbackAuthor6AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639381899.png",
|
|
893
|
+
feedbackAuthor7AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639442858.png",
|
|
894
|
+
feedbackAuthor8AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639454626.png",
|
|
895
|
+
feedbackAuthor9AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639254172.png",
|
|
896
|
+
feedbackAuthor10AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639293055.png",
|
|
897
|
+
feedbackAuthor11AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639306698.png",
|
|
898
|
+
feedbackAuthor12AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639319028.png",
|
|
899
|
+
feedbackAuthor13AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639402894.png",
|
|
900
|
+
feedbackAuthor14AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639416587.png",
|
|
901
|
+
feedbackAuthor15AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639427379.png",
|
|
902
|
+
readMoreReviews: "और समीक्षाएं पढ़ें",
|
|
903
|
+
readLess: "कम पढ़ें",
|
|
904
|
+
faqTitle: "अक्सर पूछे जाने वाले प्रश्न",
|
|
905
|
+
faqQ1: "मुझे अपनी कुंडली रिपोर्ट कैसे मिलेगी?",
|
|
906
|
+
faqQ2: "क्या प्रीमियम पर्सनलाइज्ड कुंडली किसी और भाषा में उपलब्ध है?",
|
|
907
|
+
faqQ3: "अगर मुझे अपने जन्म का समय नहीं पता हो तो?",
|
|
908
|
+
faqA1Global: "आपको 2 दिनों के भीतर आपके साझा किए गए ईमेल आईडी पर आपकी प्रीमियम पर्सनलाइज्ड कुंडली रिपोर्ट मिल जाएगी।",
|
|
909
|
+
faqA1Domestic: "आपको 2 दिनों के भीतर आपके साझा किए गए व्हाट्सऐप नंबर पर आपकी प्रीमियम पर्सनलाइज्ड कुंडली रिपोर्ट मिल जाएगी।",
|
|
910
|
+
faqA2: "हाँ, हम रिपोर्ट हिंदी और अंग्रेज़ी भाषाओं में प्रदान करते हैं।",
|
|
911
|
+
faqA3: "सही जन्म समय से रिपोर्ट और अधिक सटीक बनती है। फिर भी, बिना सटीक समय के हम लगभग 80% सटीक रिपोर्ट तैयार कर सकते हैं।",
|
|
912
|
+
contactTitle: "संपर्क करें",
|
|
913
|
+
contactBrandName: "श्री मंदिर",
|
|
914
|
+
contactWhatsAppGlobal: "व्हाट्सएप: 8296947757",
|
|
915
|
+
contactWhatsAppDomestic: "व्हाट्सएप: 08071174417",
|
|
916
|
+
contactEmail: "ईमेल: pujaseva@appsforbharat.com",
|
|
917
|
+
ctaKundliCreated: "3L+ कुंडली रिपोर्ट बनाई।",
|
|
918
|
+
ctaCertified: "BHU प्रमाणित ज्योतिषी।",
|
|
919
|
+
ctaSecurePayment: "सुरक्षित भुगतान।",
|
|
920
|
+
ctaButton: "$300 $25 में मेरी विस्तृत कुंडली प्राप्त करें",
|
|
921
|
+
ctaButtonStruck: "$100",
|
|
922
|
+
ctaButtonBefore: "मेरा विस्तृत कुंडली प्राप्त करें ",
|
|
923
|
+
ctaButtonAfter: "$25 में मेरी विस्तृत कुंडली प्राप्त करें",
|
|
924
|
+
// Kundli form (from incoming branch)
|
|
925
|
+
back: "वापस",
|
|
926
|
+
info: "जानकारी",
|
|
927
|
+
formTitle: "अपनी जानकारी दर्ज करें",
|
|
928
|
+
formSubtitle: "शुरू करने के लिए नीचे दिया गया फॉर्म भरें और अपना भाग्य खोलें!",
|
|
929
|
+
formFullName: "अपना पूरा नाम दर्ज करें",
|
|
930
|
+
formFullNamePlaceholder: "पूरा नाम",
|
|
931
|
+
formPhone: "अपना फोन नंबर दर्ज करें",
|
|
932
|
+
formPhonePlaceholder: "फोन नंबर",
|
|
933
|
+
formGurujiTitle: "मुफ्त 1:1 ज्योतिषी परामर्श",
|
|
934
|
+
formGurujiSubtitle: "एक प्रमाणित ज्योतिषी द्वारा आपके लिए व्यक्तिगत रूप से तैयार की गई व्याख्या प्राप्त करें",
|
|
935
|
+
formGender: "आपका लिंग",
|
|
936
|
+
formGenderMale: "पुरुष",
|
|
937
|
+
formGenderFemale: "महिला",
|
|
938
|
+
formEmail: "अपना ईमेल पता दर्ज करें",
|
|
939
|
+
formEmailHelp: "आपकी कुंडली रिपोर्ट आपके ईमेल पर भेजी जाएगी",
|
|
940
|
+
formEmailPlaceholder: "ईमेल पता",
|
|
941
|
+
formDob: "अपनी जन्म तिथि दर्ज करें",
|
|
942
|
+
formDobInfo: "यह आपके जन्म कुंडली में ग्रहों की सटीक स्थिति की गणना करने में हमारी सहायता करता है।",
|
|
943
|
+
formBirthTime: "अपना जन्म समय दर्ज करें",
|
|
944
|
+
formBirthTimeInfo: "यह आपके जन्म कुंडली में ग्रहों की सटीक स्थिति की गणना करने में हमारी सहायता करता है।",
|
|
945
|
+
formBirthTimeUnknownLine1: "क्या आपको अपना सटीक जन्म समय नहीं पता?",
|
|
946
|
+
formBirthTimeUnknownLine2: "हम 80% सटीकता के साथ विश्लेषण कर सकते हैं",
|
|
947
|
+
formBirthPlace: "अपना जन्म स्थान दर्ज करें",
|
|
948
|
+
formBirthPlaceInfo: "यह आपके जन्म कुंडली में ग्रहों की सटीक स्थिति की गणना करने में हमारी सहायता करता है।",
|
|
949
|
+
formBirthPlacePlaceholder: "शहर, राज्य",
|
|
950
|
+
formReportLanguage: "रिपोर्ट भाषा",
|
|
951
|
+
formReportLanguageHindi: "हिंदी",
|
|
952
|
+
formReportLanguageEnglish: "अंग्रेज़ी",
|
|
953
|
+
formReportLanguageTelugu: "तेलुगु",
|
|
954
|
+
formReportLanguageTamil: "तमिल",
|
|
955
|
+
formReportLanguageKannada: "कन्नड़",
|
|
956
|
+
formReportLanguageGujarati: "गुजराती",
|
|
957
|
+
formReportLanguageMarathi: "मराठी",
|
|
958
|
+
formOfferEnding: "ऑफर जल्द खत्म हो रहा है",
|
|
959
|
+
formDiscountPill: "75% छूट",
|
|
960
|
+
formProceed: "भुगतान के लिए आगे बढ़ें",
|
|
961
|
+
formOriginalPrice: "$100",
|
|
962
|
+
formDiscountedPrice: "$25",
|
|
963
|
+
formPriceAria: "कीमत"
|
|
964
|
+
}
|
|
965
|
+
}, lt = it(null), Pn = ({
|
|
966
|
+
locale: a,
|
|
967
|
+
children: i
|
|
968
|
+
}) => {
|
|
969
|
+
const h = { locale: a, t: (b) => st[a]?.[b] ?? b };
|
|
970
|
+
return /* @__PURE__ */ t.jsx(lt.Provider, { value: h, children: i });
|
|
971
|
+
};
|
|
972
|
+
function $t() {
|
|
973
|
+
return Ue(lt);
|
|
974
|
+
}
|
|
975
|
+
const Wt = "_container_1e1th_1", Gt = "_main_1e1th_7", Kt = "_kundliHeaderNoBorder_1e1th_12", Ht = "_headerSeparator_1e1th_16", Yt = "_langDropdownWrap_1e1th_21", qt = "_langTrigger_1e1th_25", Vt = "_langIcon_1e1th_37", zt = "_langLabel_1e1th_44", Jt = "_langMenu_1e1th_49", Qt = "_langOption_1e1th_55", oe = {
|
|
976
|
+
container: Wt,
|
|
977
|
+
main: Gt,
|
|
978
|
+
kundliHeaderNoBorder: Kt,
|
|
979
|
+
headerSeparator: Ht,
|
|
980
|
+
langDropdownWrap: Yt,
|
|
981
|
+
langTrigger: qt,
|
|
982
|
+
langIcon: Vt,
|
|
983
|
+
langLabel: zt,
|
|
984
|
+
langMenu: Jt,
|
|
985
|
+
langOption: Qt
|
|
986
|
+
}, $e = (a) => {
|
|
987
|
+
const { priority: i, fetchPriority: g, width: h, height: b, ...v } = a;
|
|
988
|
+
return Me.createElement("img", {
|
|
989
|
+
...v,
|
|
990
|
+
width: h ?? 1,
|
|
991
|
+
height: b ?? 1,
|
|
992
|
+
decoding: "async",
|
|
993
|
+
loading: v.loading ?? (i ? "eager" : "lazy"),
|
|
994
|
+
...g && { fetchPriority: g }
|
|
995
|
+
});
|
|
996
|
+
};
|
|
997
|
+
function Xt(a) {
|
|
998
|
+
if (typeof window > "u" || !window.localStorage)
|
|
999
|
+
return null;
|
|
1000
|
+
try {
|
|
1001
|
+
return window.localStorage.getItem(a);
|
|
1002
|
+
} catch {
|
|
1003
|
+
return null;
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
function Zt(a, i) {
|
|
1007
|
+
if (!(typeof window > "u" || !window.localStorage))
|
|
1008
|
+
try {
|
|
1009
|
+
window.localStorage.setItem(a, i);
|
|
1010
|
+
} catch {
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
function Tn(a) {
|
|
1014
|
+
if (!(typeof window > "u" || !window.localStorage))
|
|
1015
|
+
try {
|
|
1016
|
+
window.localStorage.removeItem(a);
|
|
1017
|
+
} catch {
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
function An() {
|
|
1021
|
+
if (typeof window > "u" || !window.localStorage)
|
|
1022
|
+
return !1;
|
|
1023
|
+
try {
|
|
1024
|
+
const a = "__kundli_storage_test__";
|
|
1025
|
+
return window.localStorage.setItem(a, "1"), window.localStorage.removeItem(a), !0;
|
|
1026
|
+
} catch {
|
|
1027
|
+
return !1;
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
const dt = "kundli_language";
|
|
1031
|
+
function er() {
|
|
1032
|
+
const a = Xt(dt);
|
|
1033
|
+
return a && ct.includes(a) ? a : null;
|
|
1034
|
+
}
|
|
1035
|
+
function tr(a) {
|
|
1036
|
+
Zt(dt, a);
|
|
1037
|
+
}
|
|
1038
|
+
const We = it(null), rr = {
|
|
1039
|
+
fullName: "",
|
|
1040
|
+
phone: "",
|
|
1041
|
+
gender: "",
|
|
1042
|
+
email: "",
|
|
1043
|
+
language_code: "",
|
|
1044
|
+
dateOfBirth: "",
|
|
1045
|
+
birthTime: "",
|
|
1046
|
+
birthTimeUnknown: !1,
|
|
1047
|
+
birthPlace: ""
|
|
1048
|
+
}, jn = ({
|
|
1049
|
+
locale: a,
|
|
1050
|
+
showLanguageSelector: i = !0,
|
|
1051
|
+
userId: g,
|
|
1052
|
+
isGlobal: h,
|
|
1053
|
+
logoUrl: b,
|
|
1054
|
+
reportImageUrl: v,
|
|
1055
|
+
reportImagePriority: P,
|
|
1056
|
+
backgroundImagePriority: B,
|
|
1057
|
+
universityLogoUrls: p,
|
|
1058
|
+
sampleReportHref: K,
|
|
1059
|
+
onViewSampleReport: u,
|
|
1060
|
+
ctaHref: S,
|
|
1061
|
+
onCtaClick: d,
|
|
1062
|
+
onBack: F,
|
|
1063
|
+
readMoreReviewsHref: w,
|
|
1064
|
+
onProceed: A,
|
|
1065
|
+
proceedHref: H,
|
|
1066
|
+
originalPriceLabel: I,
|
|
1067
|
+
discountedPriceLabel: j,
|
|
1068
|
+
discountPillLabel: y,
|
|
1069
|
+
analytics: U,
|
|
1070
|
+
onLocaleChange: Y,
|
|
1071
|
+
imageComponent: E = $e,
|
|
1072
|
+
children: $
|
|
1073
|
+
}) => {
|
|
1074
|
+
const [q, T] = G("landing"), [C, V] = G(a ?? "en"), [z, k] = G(rr), D = J(!0);
|
|
1075
|
+
X(() => {
|
|
1076
|
+
const se = er();
|
|
1077
|
+
se && V(se);
|
|
1078
|
+
}, []), X(() => {
|
|
1079
|
+
tr(C);
|
|
1080
|
+
}, [C]), X(() => {
|
|
1081
|
+
if (D.current) {
|
|
1082
|
+
D.current = !1;
|
|
1083
|
+
return;
|
|
1084
|
+
}
|
|
1085
|
+
Y?.(C);
|
|
1086
|
+
}, [C, Y]);
|
|
1087
|
+
const R = Fe(
|
|
1088
|
+
() => ({
|
|
1089
|
+
locale: a,
|
|
1090
|
+
showLanguageSelector: i,
|
|
1091
|
+
userId: g,
|
|
1092
|
+
isGlobal: h,
|
|
1093
|
+
logoUrl: b,
|
|
1094
|
+
reportImageUrl: v,
|
|
1095
|
+
reportImagePriority: P,
|
|
1096
|
+
backgroundImagePriority: B,
|
|
1097
|
+
universityLogoUrls: p,
|
|
1098
|
+
sampleReportHref: K,
|
|
1099
|
+
onViewSampleReport: u,
|
|
1100
|
+
ctaHref: S,
|
|
1101
|
+
onCtaClick: d,
|
|
1102
|
+
onBack: F,
|
|
1103
|
+
readMoreReviewsHref: w,
|
|
1104
|
+
onProceed: A,
|
|
1105
|
+
proceedHref: H,
|
|
1106
|
+
originalPriceLabel: I,
|
|
1107
|
+
discountedPriceLabel: j,
|
|
1108
|
+
discountPillLabel: y,
|
|
1109
|
+
analytics: U,
|
|
1110
|
+
onLocaleChange: Y,
|
|
1111
|
+
imageComponent: E
|
|
1112
|
+
}),
|
|
1113
|
+
[
|
|
1114
|
+
a,
|
|
1115
|
+
i,
|
|
1116
|
+
g,
|
|
1117
|
+
h,
|
|
1118
|
+
b,
|
|
1119
|
+
v,
|
|
1120
|
+
P,
|
|
1121
|
+
B,
|
|
1122
|
+
p,
|
|
1123
|
+
K,
|
|
1124
|
+
u,
|
|
1125
|
+
S,
|
|
1126
|
+
d,
|
|
1127
|
+
F,
|
|
1128
|
+
w,
|
|
1129
|
+
A,
|
|
1130
|
+
H,
|
|
1131
|
+
I,
|
|
1132
|
+
j,
|
|
1133
|
+
y,
|
|
1134
|
+
U,
|
|
1135
|
+
Y,
|
|
1136
|
+
E
|
|
1137
|
+
]
|
|
1138
|
+
), W = we(() => {
|
|
1139
|
+
T("form");
|
|
1140
|
+
}, [R.analytics]), ie = we(() => {
|
|
1141
|
+
T("landing"), R.onBack?.();
|
|
1142
|
+
}, [R.onBack]), ce = Fe(
|
|
1143
|
+
() => ({
|
|
1144
|
+
view: q,
|
|
1145
|
+
locale: C,
|
|
1146
|
+
setLocale: V,
|
|
1147
|
+
config: R,
|
|
1148
|
+
formValues: z,
|
|
1149
|
+
setFormValues: k,
|
|
1150
|
+
goToForm: W,
|
|
1151
|
+
goToPage: ie,
|
|
1152
|
+
onProceed: R.onProceed
|
|
1153
|
+
}),
|
|
1154
|
+
[q, C, R, z, W, ie]
|
|
1155
|
+
);
|
|
1156
|
+
return /* @__PURE__ */ t.jsx(We.Provider, { value: ce, children: $ });
|
|
1157
|
+
};
|
|
1158
|
+
function je() {
|
|
1159
|
+
return Ue(We);
|
|
1160
|
+
}
|
|
1161
|
+
function Rn() {
|
|
1162
|
+
const a = Ue(We);
|
|
1163
|
+
if (!a)
|
|
1164
|
+
throw new Error("useKundliContextOrThrow must be used within KundliProvider");
|
|
1165
|
+
return a;
|
|
1166
|
+
}
|
|
1167
|
+
const nr = "_header_19172_1", ar = "_centered_19172_8", ot = {
|
|
1168
|
+
header: nr,
|
|
1169
|
+
centered: ar
|
|
1170
|
+
}, or = ({
|
|
1171
|
+
t: a,
|
|
1172
|
+
onBack: i,
|
|
1173
|
+
className: g = "",
|
|
1174
|
+
align: h = "left"
|
|
1175
|
+
}) => /* @__PURE__ */ t.jsx(
|
|
1176
|
+
It,
|
|
1177
|
+
{
|
|
1178
|
+
title: a("formTitle"),
|
|
1179
|
+
subtitle: a("formSubtitle"),
|
|
1180
|
+
onBack: i,
|
|
1181
|
+
backAriaLabel: a("back"),
|
|
1182
|
+
className: `${ot.header} ${h === "center" ? ot.centered : ""} ${g}`
|
|
1183
|
+
}
|
|
1184
|
+
), ir = "_wrap_kiw0x_1", cr = "_card_kiw0x_5", sr = "_cardInner_kiw0x_12", lr = "_field_kiw0x_44", dr = "_labelRow_kiw0x_48", ur = "_label_kiw0x_48", mr = "_req_kiw0x_57", fr = "_help_kiw0x_61", hr = "_choiceRow_kiw0x_68", pr = "_choiceBtn_kiw0x_74", gr = "_choiceBtnActive_kiw0x_99", br = "_infoBtn_kiw0x_105", yr = "_infoImg_kiw0x_122", _r = "_infoWrap_kiw0x_128", kr = "_tooltip_kiw0x_134", vr = "_tooltipArrow_kiw0x_150", wr = "_inputWrap_kiw0x_161", xr = "_isdWrap_kiw0x_165", Pr = "_phoneInputGroup_kiw0x_169", Tr = "_isdSelectWrap_kiw0x_178", Ar = "_isdSelectTrigger_kiw0x_197", jr = "_isdDropdown_kiw0x_214", Rr = "_isdSearchWrap_kiw0x_229", Sr = "_isdSearchInput_kiw0x_237", Nr = "_isdOption_kiw0x_255", Cr = "_isdOptionActive_kiw0x_275", Er = "_isdCountryName_kiw0x_281", Ir = "_isdCountryCode_kiw0x_288", Dr = "_isdNoResult_kiw0x_295", Lr = "_suggestions_kiw0x_302", Or = "_suggestionItem_kiw0x_315", Br = "_suggestionMain_kiw0x_333", Fr = "_suggestionSecondary_kiw0x_339", Mr = "_suggestionsHint_kiw0x_344", Ur = "_timePopover_kiw0x_359", $r = "_timePickerRow_kiw0x_375", Wr = "_timePickerSelect_kiw0x_381", Gr = "_timePickerColon_kiw0x_397", Kr = "_meridiemToggle_kiw0x_405", Hr = "_meridiemBtn_kiw0x_414", Yr = "_meridiemActive_kiw0x_429", qr = "_timePopoverActions_kiw0x_434", Vr = "_timePopoverBtn_kiw0x_440", zr = "_timePopoverOk_kiw0x_459", Jr = "_input_kiw0x_161", Qr = "_phoneInput_kiw0x_169", Xr = "_iconBtn_kiw0x_512", Zr = "_iconBtnInteractive_kiw0x_518", en = "_iconImg_kiw0x_537", tn = "_checkboxRow_kiw0x_543", rn = "_checkbox_kiw0x_543", nn = "_checkboxText_kiw0x_581", r = {
|
|
1185
|
+
wrap: ir,
|
|
1186
|
+
card: cr,
|
|
1187
|
+
cardInner: sr,
|
|
1188
|
+
field: lr,
|
|
1189
|
+
labelRow: dr,
|
|
1190
|
+
label: ur,
|
|
1191
|
+
req: mr,
|
|
1192
|
+
help: fr,
|
|
1193
|
+
choiceRow: hr,
|
|
1194
|
+
choiceBtn: pr,
|
|
1195
|
+
choiceBtnActive: gr,
|
|
1196
|
+
infoBtn: br,
|
|
1197
|
+
infoImg: yr,
|
|
1198
|
+
infoWrap: _r,
|
|
1199
|
+
tooltip: kr,
|
|
1200
|
+
tooltipArrow: vr,
|
|
1201
|
+
inputWrap: wr,
|
|
1202
|
+
isdWrap: xr,
|
|
1203
|
+
phoneInputGroup: Pr,
|
|
1204
|
+
isdSelectWrap: Tr,
|
|
1205
|
+
isdSelectTrigger: Ar,
|
|
1206
|
+
isdDropdown: jr,
|
|
1207
|
+
isdSearchWrap: Rr,
|
|
1208
|
+
isdSearchInput: Sr,
|
|
1209
|
+
isdOption: Nr,
|
|
1210
|
+
isdOptionActive: Cr,
|
|
1211
|
+
isdCountryName: Er,
|
|
1212
|
+
isdCountryCode: Ir,
|
|
1213
|
+
isdNoResult: Dr,
|
|
1214
|
+
suggestions: Lr,
|
|
1215
|
+
suggestionItem: Or,
|
|
1216
|
+
suggestionMain: Br,
|
|
1217
|
+
suggestionSecondary: Fr,
|
|
1218
|
+
suggestionsHint: Mr,
|
|
1219
|
+
timePopover: Ur,
|
|
1220
|
+
timePickerRow: $r,
|
|
1221
|
+
timePickerSelect: Wr,
|
|
1222
|
+
timePickerColon: Gr,
|
|
1223
|
+
meridiemToggle: Kr,
|
|
1224
|
+
meridiemBtn: Hr,
|
|
1225
|
+
meridiemActive: Yr,
|
|
1226
|
+
timePopoverActions: qr,
|
|
1227
|
+
timePopoverBtn: Vr,
|
|
1228
|
+
timePopoverOk: zr,
|
|
1229
|
+
input: Jr,
|
|
1230
|
+
phoneInput: Qr,
|
|
1231
|
+
iconBtn: Xr,
|
|
1232
|
+
iconBtnInteractive: Zr,
|
|
1233
|
+
iconImg: en,
|
|
1234
|
+
checkboxRow: tn,
|
|
1235
|
+
checkbox: rn,
|
|
1236
|
+
checkboxText: nn
|
|
1237
|
+
};
|
|
1238
|
+
let Ce = null;
|
|
1239
|
+
const an = (a, i) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Ce || (Ce = new Promise((g, h) => {
|
|
1240
|
+
const b = document.querySelector(
|
|
1241
|
+
'script[data-google-maps-places="true"]'
|
|
1242
|
+
);
|
|
1243
|
+
if (b) {
|
|
1244
|
+
b.addEventListener("load", () => g()), b.addEventListener(
|
|
1245
|
+
"error",
|
|
1246
|
+
() => h(new Error("Failed to load Google Maps API"))
|
|
1247
|
+
);
|
|
1248
|
+
return;
|
|
1249
|
+
}
|
|
1250
|
+
const v = document.createElement("script"), P = new URL("https://maps.googleapis.com/maps/api/js");
|
|
1251
|
+
P.searchParams.set("key", a), P.searchParams.set("libraries", "places"), P.searchParams.set("loading", "async"), i && P.searchParams.set("language", i), v.src = P.toString(), v.async = !0, v.defer = !0, v.setAttribute("data-google-maps-places", "true"), v.onload = () => {
|
|
1252
|
+
const B = Date.now(), p = () => {
|
|
1253
|
+
if (window.google?.maps?.places) {
|
|
1254
|
+
g();
|
|
1255
|
+
return;
|
|
1256
|
+
}
|
|
1257
|
+
if (Date.now() - B > 2e3) {
|
|
1258
|
+
h(
|
|
1259
|
+
new Error(
|
|
1260
|
+
"Google Maps loaded but Places library is unavailable. Check API key restrictions / enabled APIs."
|
|
1261
|
+
)
|
|
1262
|
+
);
|
|
1263
|
+
return;
|
|
1264
|
+
}
|
|
1265
|
+
window.setTimeout(p, 50);
|
|
1266
|
+
};
|
|
1267
|
+
p();
|
|
1268
|
+
}, v.onerror = () => h(new Error("Failed to load Google Maps API")), document.head.appendChild(v);
|
|
1269
|
+
}), Ce), on = (a) => {
|
|
1270
|
+
const { apiKey: i, language: g = "en", restrictCountry: h, deferLoad: b = !1 } = a, [v, P] = G(!1), [B, p] = G([]), [K, u] = G(!1), [S, d] = G(null), [F, w] = G(!b), A = J(null), H = J(null), I = J(null), j = we(() => {
|
|
1271
|
+
b && w(!0);
|
|
1272
|
+
}, [b]);
|
|
1273
|
+
X(() => {
|
|
1274
|
+
if (!i || !F) {
|
|
1275
|
+
P(!1), d(null);
|
|
1276
|
+
return;
|
|
1277
|
+
}
|
|
1278
|
+
an(i, g).then(() => {
|
|
1279
|
+
A.current = new google.maps.places.AutocompleteService();
|
|
1280
|
+
const E = document.createElement("div");
|
|
1281
|
+
H.current = new google.maps.places.PlacesService(E), I.current = new google.maps.places.AutocompleteSessionToken(), P(!0), d(null);
|
|
1282
|
+
}).catch((E) => {
|
|
1283
|
+
P(!1), d(E?.message || "Failed to load location service");
|
|
1284
|
+
});
|
|
1285
|
+
}, [i, g, F]);
|
|
1286
|
+
const y = we(
|
|
1287
|
+
async (E) => {
|
|
1288
|
+
if (!E || E.length < 2 || !A.current) {
|
|
1289
|
+
p([]);
|
|
1290
|
+
return;
|
|
1291
|
+
}
|
|
1292
|
+
u(!0);
|
|
1293
|
+
try {
|
|
1294
|
+
const $ = {
|
|
1295
|
+
input: E,
|
|
1296
|
+
types: ["(cities)"],
|
|
1297
|
+
sessionToken: I.current ?? void 0
|
|
1298
|
+
};
|
|
1299
|
+
h && ($.componentRestrictions = { country: h });
|
|
1300
|
+
const q = await new Promise((T, C) => {
|
|
1301
|
+
A.current.getPlacePredictions(
|
|
1302
|
+
$,
|
|
1303
|
+
(V, z) => {
|
|
1304
|
+
z === google.maps.places.PlacesServiceStatus.OK && V ? T(V) : z === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? T([]) : C(new Error(`Places API error: ${z}`));
|
|
1305
|
+
}
|
|
1306
|
+
);
|
|
1307
|
+
});
|
|
1308
|
+
p(
|
|
1309
|
+
q.map((T) => ({
|
|
1310
|
+
place_id: T.place_id,
|
|
1311
|
+
description: T.description,
|
|
1312
|
+
structured_formatting: {
|
|
1313
|
+
main_text: T.structured_formatting?.main_text || T.description,
|
|
1314
|
+
secondary_text: T.structured_formatting?.secondary_text || ""
|
|
1315
|
+
}
|
|
1316
|
+
}))
|
|
1317
|
+
);
|
|
1318
|
+
} catch {
|
|
1319
|
+
p([]);
|
|
1320
|
+
} finally {
|
|
1321
|
+
u(!1);
|
|
1322
|
+
}
|
|
1323
|
+
},
|
|
1324
|
+
[h]
|
|
1325
|
+
), U = we(
|
|
1326
|
+
async (E) => {
|
|
1327
|
+
if (!H.current) return null;
|
|
1328
|
+
try {
|
|
1329
|
+
const $ = await new Promise(
|
|
1330
|
+
(k, D) => {
|
|
1331
|
+
H.current.getDetails(
|
|
1332
|
+
{
|
|
1333
|
+
placeId: E,
|
|
1334
|
+
fields: ["geometry", "address_components", "formatted_address"],
|
|
1335
|
+
sessionToken: I.current ?? void 0
|
|
1336
|
+
},
|
|
1337
|
+
(R, W) => {
|
|
1338
|
+
W === google.maps.places.PlacesServiceStatus.OK && R ? k(R) : D(new Error(`Place details error: ${W}`));
|
|
1339
|
+
}
|
|
1340
|
+
);
|
|
1341
|
+
}
|
|
1342
|
+
);
|
|
1343
|
+
I.current = new google.maps.places.AutocompleteSessionToken();
|
|
1344
|
+
const q = $.geometry?.location?.lat() || 0, T = $.geometry?.location?.lng() || 0;
|
|
1345
|
+
let C = "", V = "", z = "";
|
|
1346
|
+
return $.address_components?.forEach((k) => {
|
|
1347
|
+
k.types.includes("locality") && (C = k.long_name), k.types.includes("administrative_area_level_1") && (V = k.long_name), k.types.includes("country") && (z = k.long_name);
|
|
1348
|
+
}), {
|
|
1349
|
+
display_name: $.formatted_address || "",
|
|
1350
|
+
lat: q,
|
|
1351
|
+
lng: T,
|
|
1352
|
+
city: C,
|
|
1353
|
+
state: V,
|
|
1354
|
+
country: z
|
|
1355
|
+
};
|
|
1356
|
+
} catch {
|
|
1357
|
+
return null;
|
|
1358
|
+
}
|
|
1359
|
+
},
|
|
1360
|
+
[]
|
|
1361
|
+
), Y = we(() => p([]), []);
|
|
1362
|
+
return {
|
|
1363
|
+
isLoaded: v,
|
|
1364
|
+
predictions: B,
|
|
1365
|
+
isSearching: K,
|
|
1366
|
+
loadError: S,
|
|
1367
|
+
searchPlaces: y,
|
|
1368
|
+
getPlaceDetails: U,
|
|
1369
|
+
clearPredictions: Y,
|
|
1370
|
+
triggerLoad: j
|
|
1371
|
+
// Call this to start loading Google Maps when deferred
|
|
1372
|
+
};
|
|
1373
|
+
}, ve = {
|
|
1374
|
+
time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
|
|
1375
|
+
location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
|
|
1376
|
+
date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
1377
|
+
info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
|
|
1378
|
+
}, ut = [
|
|
1379
|
+
{ code: "+1", country: "USA / Canada" },
|
|
1380
|
+
{ code: "+7", country: "Russia / Kazakhstan" },
|
|
1381
|
+
{ code: "+20", country: "Egypt" },
|
|
1382
|
+
{ code: "+27", country: "South Africa" },
|
|
1383
|
+
{ code: "+30", country: "Greece" },
|
|
1384
|
+
{ code: "+31", country: "Netherlands" },
|
|
1385
|
+
{ code: "+32", country: "Belgium" },
|
|
1386
|
+
{ code: "+33", country: "France" },
|
|
1387
|
+
{ code: "+34", country: "Spain" },
|
|
1388
|
+
{ code: "+36", country: "Hungary" },
|
|
1389
|
+
{ code: "+39", country: "Italy" },
|
|
1390
|
+
{ code: "+40", country: "Romania" },
|
|
1391
|
+
{ code: "+41", country: "Switzerland" },
|
|
1392
|
+
{ code: "+43", country: "Austria" },
|
|
1393
|
+
{ code: "+44", country: "United Kingdom" },
|
|
1394
|
+
{ code: "+45", country: "Denmark" },
|
|
1395
|
+
{ code: "+46", country: "Sweden" },
|
|
1396
|
+
{ code: "+47", country: "Norway" },
|
|
1397
|
+
{ code: "+48", country: "Poland" },
|
|
1398
|
+
{ code: "+49", country: "Germany" },
|
|
1399
|
+
{ code: "+51", country: "Peru" },
|
|
1400
|
+
{ code: "+52", country: "Mexico" },
|
|
1401
|
+
{ code: "+53", country: "Cuba" },
|
|
1402
|
+
{ code: "+54", country: "Argentina" },
|
|
1403
|
+
{ code: "+55", country: "Brazil" },
|
|
1404
|
+
{ code: "+56", country: "Chile" },
|
|
1405
|
+
{ code: "+57", country: "Colombia" },
|
|
1406
|
+
{ code: "+60", country: "Malaysia" },
|
|
1407
|
+
{ code: "+61", country: "Australia" },
|
|
1408
|
+
{ code: "+62", country: "Indonesia" },
|
|
1409
|
+
{ code: "+63", country: "Philippines" },
|
|
1410
|
+
{ code: "+64", country: "New Zealand" },
|
|
1411
|
+
{ code: "+65", country: "Singapore" },
|
|
1412
|
+
{ code: "+66", country: "Thailand" },
|
|
1413
|
+
{ code: "+81", country: "Japan" },
|
|
1414
|
+
{ code: "+82", country: "South Korea" },
|
|
1415
|
+
{ code: "+84", country: "Vietnam" },
|
|
1416
|
+
{ code: "+86", country: "China" },
|
|
1417
|
+
{ code: "+90", country: "Turkey" },
|
|
1418
|
+
{ code: "+91", country: "India" },
|
|
1419
|
+
{ code: "+92", country: "Pakistan" },
|
|
1420
|
+
{ code: "+93", country: "Afghanistan" },
|
|
1421
|
+
{ code: "+94", country: "Sri Lanka" },
|
|
1422
|
+
{ code: "+95", country: "Myanmar" },
|
|
1423
|
+
{ code: "+98", country: "Iran" },
|
|
1424
|
+
{ code: "+211", country: "South Sudan" },
|
|
1425
|
+
{ code: "+212", country: "Morocco" },
|
|
1426
|
+
{ code: "+213", country: "Algeria" },
|
|
1427
|
+
{ code: "+216", country: "Tunisia" },
|
|
1428
|
+
{ code: "+218", country: "Libya" },
|
|
1429
|
+
{ code: "+220", country: "Gambia" },
|
|
1430
|
+
{ code: "+221", country: "Senegal" },
|
|
1431
|
+
{ code: "+234", country: "Nigeria" },
|
|
1432
|
+
{ code: "+254", country: "Kenya" },
|
|
1433
|
+
{ code: "+255", country: "Tanzania" },
|
|
1434
|
+
{ code: "+256", country: "Uganda" },
|
|
1435
|
+
{ code: "+260", country: "Zambia" },
|
|
1436
|
+
{ code: "+263", country: "Zimbabwe" },
|
|
1437
|
+
{ code: "+264", country: "Namibia" },
|
|
1438
|
+
{ code: "+265", country: "Malawi" },
|
|
1439
|
+
{ code: "+880", country: "Bangladesh" },
|
|
1440
|
+
{ code: "+886", country: "Taiwan" },
|
|
1441
|
+
{ code: "+971", country: "United Arab Emirates" },
|
|
1442
|
+
{ code: "+972", country: "Israel" },
|
|
1443
|
+
{ code: "+973", country: "Bahrain" },
|
|
1444
|
+
{ code: "+974", country: "Qatar" },
|
|
1445
|
+
{ code: "+975", country: "Bhutan" },
|
|
1446
|
+
{ code: "+976", country: "Mongolia" },
|
|
1447
|
+
{ code: "+977", country: "Nepal" }
|
|
1448
|
+
];
|
|
1449
|
+
ut.map((a) => a.code);
|
|
1450
|
+
const cn = {}, sn = ({
|
|
1451
|
+
t: a,
|
|
1452
|
+
values: i,
|
|
1453
|
+
onChange: g,
|
|
1454
|
+
phoneIsdCode: h,
|
|
1455
|
+
onPhoneIsdCodeChange: b,
|
|
1456
|
+
showV1ExtraFields: v = !1,
|
|
1457
|
+
analytics: P,
|
|
1458
|
+
googleMapsApiKey: B,
|
|
1459
|
+
className: p = ""
|
|
1460
|
+
}) => {
|
|
1461
|
+
const K = je(), u = K?.config?.analytics ?? P, S = K?.config.isGlobal ?? !0, [d, F] = G(!1), [w, A] = G(""), H = J(null), I = J(null), j = J({}), y = (n) => g({ ...i, ...n }), U = (n, s) => {
|
|
1462
|
+
s.trim() && !j.current[n] && (j.current[n] = !0, {
|
|
1463
|
+
fullName: () => u?.trackNameSectionFilled?.(),
|
|
1464
|
+
phone: () => u?.trackPhoneSectionFilled?.(),
|
|
1465
|
+
email: () => u?.trackEmailSectionFilled?.(),
|
|
1466
|
+
dateOfBirth: () => u?.trackDobFilled?.(),
|
|
1467
|
+
birthTime: () => u?.trackTimeFilled?.(),
|
|
1468
|
+
birthPlace: () => u?.trackPlaceOfBirthChosen?.()
|
|
1469
|
+
}[n]?.());
|
|
1470
|
+
}, Y = (n) => n.replace(/\D/g, "").slice(0, 10), E = w.trim().toLowerCase(), $ = ut.filter((n) => E ? n.country.toLowerCase().includes(E) || n.code.includes(E) : !0), q = J(null);
|
|
1471
|
+
J(null);
|
|
1472
|
+
const T = J(null), C = J(0), V = J(null), [z, k] = G(!1), [D, R] = G({ hour12: 12, minute: "00", meridiem: "AM" }), W = (n) => String(n).padStart(2, "0"), ie = (n) => {
|
|
1473
|
+
const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1474
|
+
if (!s) return n;
|
|
1475
|
+
const L = Number(s[1]), ee = s[2], fe = L >= 12 ? "PM" : "AM";
|
|
1476
|
+
return `${L % 12 === 0 ? 12 : L % 12}:${ee} ${fe}`;
|
|
1477
|
+
}, ce = (n) => {
|
|
1478
|
+
const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1479
|
+
if (!s) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1480
|
+
const L = Number(s[1]), ee = s[2], fe = L >= 12 ? "PM" : "AM";
|
|
1481
|
+
return { hour12: L % 12 === 0 ? 12 : L % 12, minute: ee, meridiem: fe };
|
|
1482
|
+
}, se = (n) => {
|
|
1483
|
+
const s = Math.min(12, Math.max(1, n.hour12)), L = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
|
|
1484
|
+
let ee = s % 12;
|
|
1485
|
+
return n.meridiem === "PM" && (ee += 12), `${W(ee)}:${L}`;
|
|
1486
|
+
}, ue = J(null), [ae, le] = G(!1), [re, ne] = G(
|
|
1487
|
+
null
|
|
1488
|
+
), he = B ?? cn?.VITE_GOOGLE_MAPS_API_KEY, de = (i.birthPlace ?? "").trim(), N = S ? void 0 : "in", me = "en", {
|
|
1489
|
+
predictions: ye,
|
|
1490
|
+
isSearching: pe,
|
|
1491
|
+
loadError: Re,
|
|
1492
|
+
searchPlaces: xe,
|
|
1493
|
+
clearPredictions: Pe
|
|
1494
|
+
} = on({
|
|
1495
|
+
apiKey: he,
|
|
1496
|
+
language: me,
|
|
1497
|
+
restrictCountry: N
|
|
1498
|
+
});
|
|
1499
|
+
X(() => {
|
|
1500
|
+
const n = (s) => {
|
|
1501
|
+
ue.current && (ue.current.contains(s.target) || le(!1));
|
|
1502
|
+
};
|
|
1503
|
+
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1504
|
+
}, []), X(() => {
|
|
1505
|
+
const n = (s) => {
|
|
1506
|
+
H.current && (H.current.contains(s.target) || (F(!1), A("")));
|
|
1507
|
+
};
|
|
1508
|
+
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1509
|
+
}, []), X(() => {
|
|
1510
|
+
if (!d) return;
|
|
1511
|
+
const n = window.setTimeout(() => {
|
|
1512
|
+
I.current?.focus();
|
|
1513
|
+
}, 0);
|
|
1514
|
+
return () => window.clearTimeout(n);
|
|
1515
|
+
}, [d]), X(() => {
|
|
1516
|
+
if (!ae) return;
|
|
1517
|
+
if (de.length < 2) {
|
|
1518
|
+
Pe();
|
|
1519
|
+
return;
|
|
1520
|
+
}
|
|
1521
|
+
const n = window.setTimeout(async () => {
|
|
1522
|
+
await xe(de);
|
|
1523
|
+
}, 250);
|
|
1524
|
+
return () => window.clearTimeout(n);
|
|
1525
|
+
}, [Pe, ae, de, xe]);
|
|
1526
|
+
const Se = (n) => {
|
|
1527
|
+
const s = n.current;
|
|
1528
|
+
if (!(!s || s.disabled)) {
|
|
1529
|
+
if (document.activeElement === s && T.current === s && Date.now() - C.current < 6e4) {
|
|
1530
|
+
s.blur();
|
|
1531
|
+
return;
|
|
1532
|
+
}
|
|
1533
|
+
if (typeof s.showPicker == "function") {
|
|
1534
|
+
s.showPicker(), T.current = s, C.current = Date.now();
|
|
1535
|
+
return;
|
|
1536
|
+
}
|
|
1537
|
+
s.focus(), T.current = s, C.current = Date.now();
|
|
1538
|
+
}
|
|
1539
|
+
};
|
|
1540
|
+
return X(() => {
|
|
1541
|
+
const n = (s) => {
|
|
1542
|
+
V.current && (V.current.contains(s.target) || k(!1));
|
|
1543
|
+
};
|
|
1544
|
+
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1545
|
+
}, []), X(() => {
|
|
1546
|
+
const n = (L) => {
|
|
1547
|
+
L.target?.closest?.("[data-info-tooltip]") == null && ne(null);
|
|
1548
|
+
}, s = (L) => {
|
|
1549
|
+
L.key === "Escape" && ne(null);
|
|
1550
|
+
};
|
|
1551
|
+
return document.addEventListener("mousedown", n), document.addEventListener("keydown", s), () => {
|
|
1552
|
+
document.removeEventListener("mousedown", n), document.removeEventListener("keydown", s);
|
|
1553
|
+
};
|
|
1554
|
+
}, []), /* @__PURE__ */ t.jsx(
|
|
1555
|
+
"section",
|
|
1556
|
+
{
|
|
1557
|
+
className: `${r.wrap} ${p}`,
|
|
1558
|
+
"aria-label": a("formTitle"),
|
|
1559
|
+
children: /* @__PURE__ */ t.jsx("div", { className: r.card, children: /* @__PURE__ */ t.jsxs("div", { className: r.cardInner, children: [
|
|
1560
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.field, children: [
|
|
1561
|
+
/* @__PURE__ */ t.jsx("div", { className: r.labelRow, children: /* @__PURE__ */ t.jsxs("label", { className: r.label, htmlFor: "kundli-full-name", children: [
|
|
1562
|
+
a("formFullName"),
|
|
1563
|
+
/* @__PURE__ */ t.jsx("span", { className: r.req, children: "*" })
|
|
1564
|
+
] }) }),
|
|
1565
|
+
/* @__PURE__ */ t.jsx("div", { className: r.inputWrap, children: /* @__PURE__ */ t.jsx(
|
|
1566
|
+
"input",
|
|
1567
|
+
{
|
|
1568
|
+
id: "kundli-full-name",
|
|
1569
|
+
className: r.input,
|
|
1570
|
+
type: "text",
|
|
1571
|
+
value: i.fullName,
|
|
1572
|
+
onFocus: () => u?.trackNameSectionClicked?.(),
|
|
1573
|
+
onChange: (n) => {
|
|
1574
|
+
const s = n.target.value;
|
|
1575
|
+
y({ fullName: s }), U("fullName", s);
|
|
1576
|
+
},
|
|
1577
|
+
placeholder: a("formFullNamePlaceholder"),
|
|
1578
|
+
autoComplete: "name"
|
|
1579
|
+
}
|
|
1580
|
+
) })
|
|
1581
|
+
] }),
|
|
1582
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.field, children: [
|
|
1583
|
+
/* @__PURE__ */ t.jsx("div", { className: r.labelRow, children: /* @__PURE__ */ t.jsxs("label", { className: r.label, htmlFor: "kundli-phone", children: [
|
|
1584
|
+
a("formPhone"),
|
|
1585
|
+
!S && /* @__PURE__ */ t.jsx("span", { className: r.req, children: "*" })
|
|
1586
|
+
] }) }),
|
|
1587
|
+
/* @__PURE__ */ t.jsx("div", { className: r.inputWrap, children: /* @__PURE__ */ t.jsxs("div", { className: r.isdWrap, ref: H, children: [
|
|
1588
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.phoneInputGroup, children: [
|
|
1589
|
+
/* @__PURE__ */ t.jsx("div", { className: r.isdSelectWrap, children: /* @__PURE__ */ t.jsx(
|
|
1590
|
+
"button",
|
|
1591
|
+
{
|
|
1592
|
+
type: "button",
|
|
1593
|
+
className: r.isdSelectTrigger,
|
|
1594
|
+
"aria-haspopup": "listbox",
|
|
1595
|
+
"aria-expanded": d,
|
|
1596
|
+
onClick: () => {
|
|
1597
|
+
F((n) => !n), A("");
|
|
1598
|
+
},
|
|
1599
|
+
children: h
|
|
1600
|
+
}
|
|
1601
|
+
) }),
|
|
1602
|
+
/* @__PURE__ */ t.jsx(
|
|
1603
|
+
"input",
|
|
1604
|
+
{
|
|
1605
|
+
id: "kundli-phone",
|
|
1606
|
+
className: `${r.input} ${r.phoneInput}`,
|
|
1607
|
+
type: "tel",
|
|
1608
|
+
value: i.phone ?? "",
|
|
1609
|
+
onFocus: () => u?.trackPhoneSectionClicked?.(),
|
|
1610
|
+
onChange: (n) => {
|
|
1611
|
+
const s = n.target.value;
|
|
1612
|
+
y({ phone: Y(s) }), U("phone", Y(s));
|
|
1613
|
+
},
|
|
1614
|
+
placeholder: a("formPhonePlaceholder"),
|
|
1615
|
+
autoComplete: "tel",
|
|
1616
|
+
inputMode: "numeric",
|
|
1617
|
+
pattern: "[0-9]{10}",
|
|
1618
|
+
maxLength: 10,
|
|
1619
|
+
required: !S,
|
|
1620
|
+
"aria-required": !S
|
|
1621
|
+
}
|
|
1622
|
+
)
|
|
1623
|
+
] }),
|
|
1624
|
+
d && /* @__PURE__ */ t.jsxs(
|
|
1625
|
+
"div",
|
|
1626
|
+
{
|
|
1627
|
+
className: r.isdDropdown,
|
|
1628
|
+
role: "listbox",
|
|
1629
|
+
"aria-label": "ISD code options",
|
|
1630
|
+
children: [
|
|
1631
|
+
/* @__PURE__ */ t.jsx("div", { className: r.isdSearchWrap, children: /* @__PURE__ */ t.jsx(
|
|
1632
|
+
"input",
|
|
1633
|
+
{
|
|
1634
|
+
ref: I,
|
|
1635
|
+
type: "text",
|
|
1636
|
+
value: w,
|
|
1637
|
+
onChange: (n) => A(n.target.value),
|
|
1638
|
+
placeholder: "Search country",
|
|
1639
|
+
className: r.isdSearchInput,
|
|
1640
|
+
"aria-label": "Search country"
|
|
1641
|
+
}
|
|
1642
|
+
) }),
|
|
1643
|
+
$.length > 0 ? $.map((n) => /* @__PURE__ */ t.jsxs(
|
|
1644
|
+
"button",
|
|
1645
|
+
{
|
|
1646
|
+
type: "button",
|
|
1647
|
+
role: "option",
|
|
1648
|
+
"aria-selected": n.code === h,
|
|
1649
|
+
className: `${r.isdOption} ${n.code === h ? r.isdOptionActive : ""}`,
|
|
1650
|
+
onClick: () => {
|
|
1651
|
+
b(n.code), F(!1), A("");
|
|
1652
|
+
},
|
|
1653
|
+
children: [
|
|
1654
|
+
/* @__PURE__ */ t.jsx("span", { className: r.isdCountryName, children: n.country }),
|
|
1655
|
+
/* @__PURE__ */ t.jsx("span", { className: r.isdCountryCode, children: n.code })
|
|
1656
|
+
]
|
|
1657
|
+
},
|
|
1658
|
+
`${n.code}-${n.country}`
|
|
1659
|
+
)) : /* @__PURE__ */ t.jsx("div", { className: r.isdNoResult, children: "No country found" })
|
|
1660
|
+
]
|
|
1661
|
+
}
|
|
1662
|
+
)
|
|
1663
|
+
] }) })
|
|
1664
|
+
] }),
|
|
1665
|
+
v && /* @__PURE__ */ t.jsxs("div", { className: r.field, children: [
|
|
1666
|
+
/* @__PURE__ */ t.jsx("div", { className: r.labelRow, children: /* @__PURE__ */ t.jsxs("label", { className: r.label, children: [
|
|
1667
|
+
a("formGender"),
|
|
1668
|
+
/* @__PURE__ */ t.jsx("span", { className: r.req, children: "*" })
|
|
1669
|
+
] }) }),
|
|
1670
|
+
/* @__PURE__ */ t.jsxs(
|
|
1671
|
+
"div",
|
|
1672
|
+
{
|
|
1673
|
+
className: r.choiceRow,
|
|
1674
|
+
role: "radiogroup",
|
|
1675
|
+
"aria-label": a("formGender"),
|
|
1676
|
+
children: [
|
|
1677
|
+
/* @__PURE__ */ t.jsx(
|
|
1678
|
+
"button",
|
|
1679
|
+
{
|
|
1680
|
+
id: "kundli-gender-male",
|
|
1681
|
+
type: "button",
|
|
1682
|
+
className: `${r.choiceBtn} ${i.gender === "male" ? r.choiceBtnActive : ""}`,
|
|
1683
|
+
onClick: () => y({ gender: "male" }),
|
|
1684
|
+
role: "radio",
|
|
1685
|
+
"aria-checked": i.gender === "male",
|
|
1686
|
+
children: a("formGenderMale")
|
|
1687
|
+
}
|
|
1688
|
+
),
|
|
1689
|
+
/* @__PURE__ */ t.jsx(
|
|
1690
|
+
"button",
|
|
1691
|
+
{
|
|
1692
|
+
id: "kundli-gender-female",
|
|
1693
|
+
type: "button",
|
|
1694
|
+
className: `${r.choiceBtn} ${i.gender === "female" ? r.choiceBtnActive : ""}`,
|
|
1695
|
+
onClick: () => y({ gender: "female" }),
|
|
1696
|
+
role: "radio",
|
|
1697
|
+
"aria-checked": i.gender === "female",
|
|
1698
|
+
children: a("formGenderFemale")
|
|
1699
|
+
}
|
|
1700
|
+
)
|
|
1701
|
+
]
|
|
1702
|
+
}
|
|
1703
|
+
)
|
|
1704
|
+
] }),
|
|
1705
|
+
S && /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsxs("div", { className: r.field, children: [
|
|
1706
|
+
/* @__PURE__ */ t.jsx("div", { className: r.labelRow, children: /* @__PURE__ */ t.jsxs("label", { className: r.label, htmlFor: "kundli-email", children: [
|
|
1707
|
+
a("formEmail"),
|
|
1708
|
+
/* @__PURE__ */ t.jsx("span", { className: r.req, children: "*" })
|
|
1709
|
+
] }) }),
|
|
1710
|
+
/* @__PURE__ */ t.jsx("div", { className: r.help, children: a("formEmailHelp") }),
|
|
1711
|
+
/* @__PURE__ */ t.jsx("div", { className: r.inputWrap, children: /* @__PURE__ */ t.jsx(
|
|
1712
|
+
"input",
|
|
1713
|
+
{
|
|
1714
|
+
id: "kundli-email",
|
|
1715
|
+
className: r.input,
|
|
1716
|
+
type: "email",
|
|
1717
|
+
value: i.email,
|
|
1718
|
+
onChange: (n) => y({ email: n.target.value }),
|
|
1719
|
+
placeholder: a("formEmailPlaceholder"),
|
|
1720
|
+
autoComplete: "email",
|
|
1721
|
+
required: !0,
|
|
1722
|
+
"aria-required": !0
|
|
1723
|
+
}
|
|
1724
|
+
) })
|
|
1725
|
+
] }) }),
|
|
1726
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.field, children: [
|
|
1727
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.labelRow, children: [
|
|
1728
|
+
/* @__PURE__ */ t.jsxs("label", { className: r.label, htmlFor: "kundli-dob", children: [
|
|
1729
|
+
a("formDob"),
|
|
1730
|
+
/* @__PURE__ */ t.jsx("span", { className: r.req, children: "*" })
|
|
1731
|
+
] }),
|
|
1732
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.infoWrap, "data-info-tooltip": !0, children: [
|
|
1733
|
+
/* @__PURE__ */ t.jsx(
|
|
1734
|
+
"button",
|
|
1735
|
+
{
|
|
1736
|
+
type: "button",
|
|
1737
|
+
className: r.infoBtn,
|
|
1738
|
+
"aria-label": a("info"),
|
|
1739
|
+
"aria-expanded": re === "dob",
|
|
1740
|
+
onClick: () => {
|
|
1741
|
+
ne((n) => n === "dob" ? null : "dob"), u?.trackInfoIconClicked?.({ fieldName: "dob" });
|
|
1742
|
+
},
|
|
1743
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1744
|
+
"img",
|
|
1745
|
+
{
|
|
1746
|
+
className: r.infoImg,
|
|
1747
|
+
src: ve.info,
|
|
1748
|
+
alt: "",
|
|
1749
|
+
"aria-hidden": !0
|
|
1750
|
+
}
|
|
1751
|
+
)
|
|
1752
|
+
}
|
|
1753
|
+
),
|
|
1754
|
+
re === "dob" && /* @__PURE__ */ t.jsxs("div", { className: r.tooltip, role: "tooltip", children: [
|
|
1755
|
+
a("formDobInfo"),
|
|
1756
|
+
/* @__PURE__ */ t.jsx("span", { className: r.tooltipArrow, "aria-hidden": !0 })
|
|
1757
|
+
] })
|
|
1758
|
+
] })
|
|
1759
|
+
] }),
|
|
1760
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.inputWrap, children: [
|
|
1761
|
+
/* @__PURE__ */ t.jsx(
|
|
1762
|
+
"input",
|
|
1763
|
+
{
|
|
1764
|
+
id: "kundli-dob",
|
|
1765
|
+
className: r.input,
|
|
1766
|
+
type: "date",
|
|
1767
|
+
ref: q,
|
|
1768
|
+
value: i.dateOfBirth,
|
|
1769
|
+
max: (() => {
|
|
1770
|
+
const n = /* @__PURE__ */ new Date();
|
|
1771
|
+
return `${n.getFullYear()}-${W(n.getMonth() + 1)}-${W(n.getDate())}`;
|
|
1772
|
+
})(),
|
|
1773
|
+
onChange: (n) => {
|
|
1774
|
+
const s = n.target.value, L = /* @__PURE__ */ new Date(), ee = `${L.getFullYear()}-${W(L.getMonth() + 1)}-${W(L.getDate())}`;
|
|
1775
|
+
s && s > ee || (y({ dateOfBirth: s }), U("dateOfBirth", s), T.current = null);
|
|
1776
|
+
},
|
|
1777
|
+
onFocus: () => u?.trackDobClicked?.(),
|
|
1778
|
+
onClick: () => Se(q),
|
|
1779
|
+
onBlur: () => {
|
|
1780
|
+
T.current === q.current && (T.current = null);
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
),
|
|
1784
|
+
/* @__PURE__ */ t.jsx(
|
|
1785
|
+
"button",
|
|
1786
|
+
{
|
|
1787
|
+
type: "button",
|
|
1788
|
+
className: `${r.iconBtn} ${r.iconBtnInteractive}`,
|
|
1789
|
+
"aria-label": "Open date picker",
|
|
1790
|
+
onMouseDown: (n) => n.preventDefault(),
|
|
1791
|
+
onClick: (n) => {
|
|
1792
|
+
n.preventDefault(), n.stopPropagation(), Se(q);
|
|
1793
|
+
},
|
|
1794
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1795
|
+
"img",
|
|
1796
|
+
{
|
|
1797
|
+
className: r.iconImg,
|
|
1798
|
+
src: ve.date,
|
|
1799
|
+
alt: "",
|
|
1800
|
+
"aria-hidden": !0
|
|
1801
|
+
}
|
|
1802
|
+
)
|
|
1803
|
+
}
|
|
1804
|
+
)
|
|
1805
|
+
] })
|
|
1806
|
+
] }),
|
|
1807
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.field, children: [
|
|
1808
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.labelRow, children: [
|
|
1809
|
+
/* @__PURE__ */ t.jsxs("label", { className: r.label, htmlFor: "kundli-birth-time", children: [
|
|
1810
|
+
a("formBirthTime"),
|
|
1811
|
+
/* @__PURE__ */ t.jsx("span", { className: r.req, children: "*" })
|
|
1812
|
+
] }),
|
|
1813
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.infoWrap, "data-info-tooltip": !0, children: [
|
|
1814
|
+
/* @__PURE__ */ t.jsx(
|
|
1815
|
+
"button",
|
|
1816
|
+
{
|
|
1817
|
+
type: "button",
|
|
1818
|
+
className: r.infoBtn,
|
|
1819
|
+
"aria-label": a("info"),
|
|
1820
|
+
"aria-expanded": re === "time",
|
|
1821
|
+
onClick: () => {
|
|
1822
|
+
u?.trackInfoIconClicked?.({ fieldName: "time" }), ne((n) => n === "time" ? null : "time");
|
|
1823
|
+
},
|
|
1824
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1825
|
+
"img",
|
|
1826
|
+
{
|
|
1827
|
+
className: r.infoImg,
|
|
1828
|
+
src: ve.info,
|
|
1829
|
+
alt: "",
|
|
1830
|
+
"aria-hidden": !0
|
|
1831
|
+
}
|
|
1832
|
+
)
|
|
1833
|
+
}
|
|
1834
|
+
),
|
|
1835
|
+
re === "time" && /* @__PURE__ */ t.jsxs("div", { className: r.tooltip, role: "tooltip", children: [
|
|
1836
|
+
a("formBirthTimeInfo"),
|
|
1837
|
+
/* @__PURE__ */ t.jsx("span", { className: r.tooltipArrow, "aria-hidden": !0 })
|
|
1838
|
+
] })
|
|
1839
|
+
] })
|
|
1840
|
+
] }),
|
|
1841
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.inputWrap, ref: V, children: [
|
|
1842
|
+
/* @__PURE__ */ t.jsx(
|
|
1843
|
+
"input",
|
|
1844
|
+
{
|
|
1845
|
+
id: "kundli-birth-time",
|
|
1846
|
+
className: r.input,
|
|
1847
|
+
type: "text",
|
|
1848
|
+
value: i.birthTime ? ie(i.birthTime) : "",
|
|
1849
|
+
readOnly: !0,
|
|
1850
|
+
onFocus: () => u?.trackTimeClicked?.(),
|
|
1851
|
+
onChange: (n) => {
|
|
1852
|
+
const s = n.target.value;
|
|
1853
|
+
y({ birthTime: s }), U("birthTime", s);
|
|
1854
|
+
},
|
|
1855
|
+
disabled: i.birthTimeUnknown,
|
|
1856
|
+
placeholder: "HH:MM AM",
|
|
1857
|
+
onClick: () => {
|
|
1858
|
+
i.birthTimeUnknown || (R(ce(i.birthTime || "12:00")), k((n) => !n));
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
),
|
|
1862
|
+
/* @__PURE__ */ t.jsx(
|
|
1863
|
+
"button",
|
|
1864
|
+
{
|
|
1865
|
+
type: "button",
|
|
1866
|
+
className: `${r.iconBtn} ${r.iconBtnInteractive}`,
|
|
1867
|
+
"aria-label": "Open time picker",
|
|
1868
|
+
disabled: i.birthTimeUnknown,
|
|
1869
|
+
onMouseDown: (n) => n.preventDefault(),
|
|
1870
|
+
onClick: (n) => {
|
|
1871
|
+
n.preventDefault(), n.stopPropagation(), !i.birthTimeUnknown && (R(ce(i.birthTime || "12:00")), k((s) => !s));
|
|
1872
|
+
},
|
|
1873
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1874
|
+
"img",
|
|
1875
|
+
{
|
|
1876
|
+
className: r.iconImg,
|
|
1877
|
+
src: ve.time,
|
|
1878
|
+
alt: "",
|
|
1879
|
+
"aria-hidden": !0
|
|
1880
|
+
}
|
|
1881
|
+
)
|
|
1882
|
+
}
|
|
1883
|
+
),
|
|
1884
|
+
z && !i.birthTimeUnknown && /* @__PURE__ */ t.jsxs(
|
|
1885
|
+
"div",
|
|
1886
|
+
{
|
|
1887
|
+
className: r.timePopover,
|
|
1888
|
+
role: "dialog",
|
|
1889
|
+
"aria-label": "Select time",
|
|
1890
|
+
children: [
|
|
1891
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.timePickerRow, children: [
|
|
1892
|
+
/* @__PURE__ */ t.jsx(
|
|
1893
|
+
"select",
|
|
1894
|
+
{
|
|
1895
|
+
className: r.timePickerSelect,
|
|
1896
|
+
value: D.hour12,
|
|
1897
|
+
onChange: (n) => R((s) => ({
|
|
1898
|
+
...s,
|
|
1899
|
+
hour12: Number(n.target.value)
|
|
1900
|
+
})),
|
|
1901
|
+
"aria-label": "Hour",
|
|
1902
|
+
children: Array.from({ length: 12 }, (n, s) => s + 1).map((n) => /* @__PURE__ */ t.jsx("option", { value: n, children: n }, n))
|
|
1903
|
+
}
|
|
1904
|
+
),
|
|
1905
|
+
/* @__PURE__ */ t.jsx("span", { className: r.timePickerColon, children: ":" }),
|
|
1906
|
+
/* @__PURE__ */ t.jsx(
|
|
1907
|
+
"select",
|
|
1908
|
+
{
|
|
1909
|
+
className: r.timePickerSelect,
|
|
1910
|
+
value: D.minute,
|
|
1911
|
+
onChange: (n) => R((s) => ({ ...s, minute: n.target.value })),
|
|
1912
|
+
"aria-label": "Minute",
|
|
1913
|
+
children: Array.from({ length: 60 }, (n, s) => W(s)).map(
|
|
1914
|
+
(n) => /* @__PURE__ */ t.jsx("option", { value: n, children: n }, n)
|
|
1915
|
+
)
|
|
1916
|
+
}
|
|
1917
|
+
),
|
|
1918
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.meridiemToggle, "aria-label": "AM/PM", children: [
|
|
1919
|
+
/* @__PURE__ */ t.jsx(
|
|
1920
|
+
"button",
|
|
1921
|
+
{
|
|
1922
|
+
type: "button",
|
|
1923
|
+
className: `${r.meridiemBtn} ${D.meridiem === "AM" ? r.meridiemActive : ""}`,
|
|
1924
|
+
onClick: () => R((n) => ({ ...n, meridiem: "AM" })),
|
|
1925
|
+
children: "AM"
|
|
1926
|
+
}
|
|
1927
|
+
),
|
|
1928
|
+
/* @__PURE__ */ t.jsx(
|
|
1929
|
+
"button",
|
|
1930
|
+
{
|
|
1931
|
+
type: "button",
|
|
1932
|
+
className: `${r.meridiemBtn} ${D.meridiem === "PM" ? r.meridiemActive : ""}`,
|
|
1933
|
+
onClick: () => R((n) => ({ ...n, meridiem: "PM" })),
|
|
1934
|
+
children: "PM"
|
|
1935
|
+
}
|
|
1936
|
+
)
|
|
1937
|
+
] })
|
|
1938
|
+
] }),
|
|
1939
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.timePopoverActions, children: [
|
|
1940
|
+
/* @__PURE__ */ t.jsx(
|
|
1941
|
+
"button",
|
|
1942
|
+
{
|
|
1943
|
+
type: "button",
|
|
1944
|
+
className: r.timePopoverBtn,
|
|
1945
|
+
onClick: () => k(!1),
|
|
1946
|
+
children: "Cancel"
|
|
1947
|
+
}
|
|
1948
|
+
),
|
|
1949
|
+
/* @__PURE__ */ t.jsx(
|
|
1950
|
+
"button",
|
|
1951
|
+
{
|
|
1952
|
+
type: "button",
|
|
1953
|
+
className: `${r.timePopoverBtn} ${r.timePopoverOk}`,
|
|
1954
|
+
onClick: () => {
|
|
1955
|
+
const n = se(D);
|
|
1956
|
+
y({ birthTime: n }), U("birthTime", n), k(!1);
|
|
1957
|
+
},
|
|
1958
|
+
"aria-label": "OK",
|
|
1959
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1960
|
+
"svg",
|
|
1961
|
+
{
|
|
1962
|
+
width: "18",
|
|
1963
|
+
height: "18",
|
|
1964
|
+
viewBox: "0 0 24 24",
|
|
1965
|
+
fill: "none",
|
|
1966
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1967
|
+
"aria-hidden": !0,
|
|
1968
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1969
|
+
"path",
|
|
1970
|
+
{
|
|
1971
|
+
d: "M20 6L9 17l-5-5",
|
|
1972
|
+
stroke: "currentColor",
|
|
1973
|
+
strokeWidth: "2",
|
|
1974
|
+
strokeLinecap: "round",
|
|
1975
|
+
strokeLinejoin: "round"
|
|
1976
|
+
}
|
|
1977
|
+
)
|
|
1978
|
+
}
|
|
1979
|
+
)
|
|
1980
|
+
}
|
|
1981
|
+
)
|
|
1982
|
+
] })
|
|
1983
|
+
]
|
|
1984
|
+
}
|
|
1985
|
+
)
|
|
1986
|
+
] }),
|
|
1987
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.checkboxRow, children: [
|
|
1988
|
+
/* @__PURE__ */ t.jsx(
|
|
1989
|
+
"input",
|
|
1990
|
+
{
|
|
1991
|
+
id: "kundli-time-unknown",
|
|
1992
|
+
className: r.checkbox,
|
|
1993
|
+
type: "checkbox",
|
|
1994
|
+
checked: i.birthTimeUnknown,
|
|
1995
|
+
onChange: (n) => {
|
|
1996
|
+
u?.trackTimeCheckboxClicked?.(), y({
|
|
1997
|
+
birthTimeUnknown: n.target.checked,
|
|
1998
|
+
birthTime: n.target.checked ? "" : i.birthTime
|
|
1999
|
+
});
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
2002
|
+
),
|
|
2003
|
+
/* @__PURE__ */ t.jsxs(
|
|
2004
|
+
"label",
|
|
2005
|
+
{
|
|
2006
|
+
className: r.checkboxText,
|
|
2007
|
+
htmlFor: "kundli-time-unknown",
|
|
2008
|
+
children: [
|
|
2009
|
+
a("formBirthTimeUnknownLine1"),
|
|
2010
|
+
/* @__PURE__ */ t.jsx("br", {}),
|
|
2011
|
+
a("formBirthTimeUnknownLine2")
|
|
2012
|
+
]
|
|
2013
|
+
}
|
|
2014
|
+
)
|
|
2015
|
+
] })
|
|
2016
|
+
] }),
|
|
2017
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.field, children: [
|
|
2018
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.labelRow, children: [
|
|
2019
|
+
/* @__PURE__ */ t.jsxs("label", { className: r.label, htmlFor: "kundli-birth-place", children: [
|
|
2020
|
+
a("formBirthPlace"),
|
|
2021
|
+
/* @__PURE__ */ t.jsx("span", { className: r.req, children: "*" })
|
|
2022
|
+
] }),
|
|
2023
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.infoWrap, "data-info-tooltip": !0, children: [
|
|
2024
|
+
/* @__PURE__ */ t.jsx(
|
|
2025
|
+
"button",
|
|
2026
|
+
{
|
|
2027
|
+
type: "button",
|
|
2028
|
+
className: r.infoBtn,
|
|
2029
|
+
"aria-label": a("info"),
|
|
2030
|
+
"aria-expanded": re === "place",
|
|
2031
|
+
onClick: () => {
|
|
2032
|
+
u?.trackInfoIconClicked?.({
|
|
2033
|
+
fieldName: "birthPlace"
|
|
2034
|
+
}), ne((n) => n === "place" ? null : "place");
|
|
2035
|
+
},
|
|
2036
|
+
children: /* @__PURE__ */ t.jsx(
|
|
2037
|
+
"img",
|
|
2038
|
+
{
|
|
2039
|
+
className: r.infoImg,
|
|
2040
|
+
src: ve.info,
|
|
2041
|
+
alt: "",
|
|
2042
|
+
"aria-hidden": !0
|
|
2043
|
+
}
|
|
2044
|
+
)
|
|
2045
|
+
}
|
|
2046
|
+
),
|
|
2047
|
+
re === "place" && /* @__PURE__ */ t.jsxs("div", { className: r.tooltip, role: "tooltip", children: [
|
|
2048
|
+
a("formBirthPlaceInfo"),
|
|
2049
|
+
/* @__PURE__ */ t.jsx("span", { className: r.tooltipArrow, "aria-hidden": !0 })
|
|
2050
|
+
] })
|
|
2051
|
+
] })
|
|
2052
|
+
] }),
|
|
2053
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.inputWrap, ref: ue, children: [
|
|
2054
|
+
/* @__PURE__ */ t.jsx(
|
|
2055
|
+
"input",
|
|
2056
|
+
{
|
|
2057
|
+
id: "kundli-birth-place",
|
|
2058
|
+
className: r.input,
|
|
2059
|
+
type: "text",
|
|
2060
|
+
value: i.birthPlace,
|
|
2061
|
+
onChange: (n) => {
|
|
2062
|
+
const s = n.target.value;
|
|
2063
|
+
y({ birthPlace: s }), U("birthPlace", s), le(!0);
|
|
2064
|
+
},
|
|
2065
|
+
onFocus: () => {
|
|
2066
|
+
u?.trackPlaceOfBirthClicked?.(), le(!0);
|
|
2067
|
+
},
|
|
2068
|
+
placeholder: a("formBirthPlacePlaceholder"),
|
|
2069
|
+
autoComplete: "address-level2"
|
|
2070
|
+
}
|
|
2071
|
+
),
|
|
2072
|
+
/* @__PURE__ */ t.jsx("span", { className: r.iconBtn, "aria-hidden": !0, children: /* @__PURE__ */ t.jsx(
|
|
2073
|
+
"img",
|
|
2074
|
+
{
|
|
2075
|
+
className: r.iconImg,
|
|
2076
|
+
src: ve.location,
|
|
2077
|
+
alt: "",
|
|
2078
|
+
"aria-hidden": !0
|
|
2079
|
+
}
|
|
2080
|
+
) }),
|
|
2081
|
+
ae && ye.length > 0 && /* @__PURE__ */ t.jsx("div", { className: r.suggestions, role: "listbox", children: ye.slice(0, 8).map((n) => /* @__PURE__ */ t.jsxs(
|
|
2082
|
+
"button",
|
|
2083
|
+
{
|
|
2084
|
+
type: "button",
|
|
2085
|
+
className: r.suggestionItem,
|
|
2086
|
+
onClick: () => {
|
|
2087
|
+
y({ birthPlace: n.description }), Pe(), le(!1);
|
|
2088
|
+
},
|
|
2089
|
+
children: [
|
|
2090
|
+
/* @__PURE__ */ t.jsx("span", { className: r.suggestionMain, children: n.structured_formatting?.main_text ?? n.description }),
|
|
2091
|
+
n.structured_formatting?.secondary_text && /* @__PURE__ */ t.jsx("span", { className: r.suggestionSecondary, children: n.structured_formatting.secondary_text })
|
|
2092
|
+
]
|
|
2093
|
+
},
|
|
2094
|
+
n.place_id
|
|
2095
|
+
)) }),
|
|
2096
|
+
ae && he && pe && /* @__PURE__ */ t.jsx("div", { className: r.suggestionsHint, children: "Loading…" }),
|
|
2097
|
+
ae && he && !pe && !!Re && /* @__PURE__ */ t.jsx("div", { className: r.suggestionsHint, children: Re })
|
|
2098
|
+
] })
|
|
2099
|
+
] }),
|
|
2100
|
+
v && /* @__PURE__ */ t.jsxs("div", { className: r.field, children: [
|
|
2101
|
+
/* @__PURE__ */ t.jsx("div", { className: r.labelRow, children: /* @__PURE__ */ t.jsxs("label", { className: r.label, children: [
|
|
2102
|
+
a("formReportLanguage"),
|
|
2103
|
+
/* @__PURE__ */ t.jsx("span", { className: r.req, children: "*" })
|
|
2104
|
+
] }) }),
|
|
2105
|
+
/* @__PURE__ */ t.jsxs(
|
|
2106
|
+
"div",
|
|
2107
|
+
{
|
|
2108
|
+
className: r.choiceRow,
|
|
2109
|
+
role: "radiogroup",
|
|
2110
|
+
"aria-label": a("formReportLanguage"),
|
|
2111
|
+
children: [
|
|
2112
|
+
/* @__PURE__ */ t.jsx(
|
|
2113
|
+
"button",
|
|
2114
|
+
{
|
|
2115
|
+
id: "kundli-report-lang-hi",
|
|
2116
|
+
type: "button",
|
|
2117
|
+
className: `${r.choiceBtn} ${i.language_code === "hi" ? r.choiceBtnActive : ""}`,
|
|
2118
|
+
onClick: () => y({ language_code: "hi" }),
|
|
2119
|
+
role: "radio",
|
|
2120
|
+
"aria-checked": i.language_code === "hi",
|
|
2121
|
+
children: a("formReportLanguageHindi")
|
|
2122
|
+
}
|
|
2123
|
+
),
|
|
2124
|
+
/* @__PURE__ */ t.jsx(
|
|
2125
|
+
"button",
|
|
2126
|
+
{
|
|
2127
|
+
id: "kundli-report-lang-en",
|
|
2128
|
+
type: "button",
|
|
2129
|
+
className: `${r.choiceBtn} ${i.language_code === "en" ? r.choiceBtnActive : ""}`,
|
|
2130
|
+
onClick: () => y({ language_code: "en" }),
|
|
2131
|
+
role: "radio",
|
|
2132
|
+
"aria-checked": i.language_code === "en",
|
|
2133
|
+
children: a("formReportLanguageEnglish")
|
|
2134
|
+
}
|
|
2135
|
+
),
|
|
2136
|
+
/* @__PURE__ */ t.jsx(
|
|
2137
|
+
"button",
|
|
2138
|
+
{
|
|
2139
|
+
id: "kundli-report-lang-te",
|
|
2140
|
+
type: "button",
|
|
2141
|
+
className: `${r.choiceBtn} ${i.language_code === "te" ? r.choiceBtnActive : ""}`,
|
|
2142
|
+
onClick: () => y({ language_code: "te" }),
|
|
2143
|
+
role: "radio",
|
|
2144
|
+
"aria-checked": i.language_code === "te",
|
|
2145
|
+
children: a("formReportLanguageTelugu")
|
|
2146
|
+
}
|
|
2147
|
+
),
|
|
2148
|
+
/* @__PURE__ */ t.jsx(
|
|
2149
|
+
"button",
|
|
2150
|
+
{
|
|
2151
|
+
id: "kundli-report-lang-ta",
|
|
2152
|
+
type: "button",
|
|
2153
|
+
className: `${r.choiceBtn} ${i.language_code === "ta" ? r.choiceBtnActive : ""}`,
|
|
2154
|
+
onClick: () => y({ language_code: "ta" }),
|
|
2155
|
+
role: "radio",
|
|
2156
|
+
"aria-checked": i.language_code === "ta",
|
|
2157
|
+
children: a("formReportLanguageTamil")
|
|
2158
|
+
}
|
|
2159
|
+
),
|
|
2160
|
+
/* @__PURE__ */ t.jsx(
|
|
2161
|
+
"button",
|
|
2162
|
+
{
|
|
2163
|
+
id: "kundli-report-lang-kn",
|
|
2164
|
+
type: "button",
|
|
2165
|
+
className: `${r.choiceBtn} ${i.language_code === "kn" ? r.choiceBtnActive : ""}`,
|
|
2166
|
+
onClick: () => y({ language_code: "kn" }),
|
|
2167
|
+
role: "radio",
|
|
2168
|
+
"aria-checked": i.language_code === "kn",
|
|
2169
|
+
children: a("formReportLanguageKannada")
|
|
2170
|
+
}
|
|
2171
|
+
),
|
|
2172
|
+
/* @__PURE__ */ t.jsx(
|
|
2173
|
+
"button",
|
|
2174
|
+
{
|
|
2175
|
+
id: "kundli-report-lang-gu",
|
|
2176
|
+
type: "button",
|
|
2177
|
+
className: `${r.choiceBtn} ${i.language_code === "gu" ? r.choiceBtnActive : ""}`,
|
|
2178
|
+
onClick: () => y({ language_code: "gu" }),
|
|
2179
|
+
role: "radio",
|
|
2180
|
+
"aria-checked": i.language_code === "gu",
|
|
2181
|
+
children: a("formReportLanguageGujarati")
|
|
2182
|
+
}
|
|
2183
|
+
),
|
|
2184
|
+
/* @__PURE__ */ t.jsx(
|
|
2185
|
+
"button",
|
|
2186
|
+
{
|
|
2187
|
+
id: "kundli-report-lang-mr",
|
|
2188
|
+
type: "button",
|
|
2189
|
+
className: `${r.choiceBtn} ${i.language_code === "mr" ? r.choiceBtnActive : ""}`,
|
|
2190
|
+
onClick: () => y({ language_code: "mr" }),
|
|
2191
|
+
role: "radio",
|
|
2192
|
+
"aria-checked": i.language_code === "mr",
|
|
2193
|
+
children: a("formReportLanguageMarathi")
|
|
2194
|
+
}
|
|
2195
|
+
)
|
|
2196
|
+
]
|
|
2197
|
+
}
|
|
2198
|
+
)
|
|
2199
|
+
] })
|
|
2200
|
+
] }) })
|
|
2201
|
+
}
|
|
2202
|
+
);
|
|
2203
|
+
}, ln = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", dn = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", un = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", mn = ({ t: a }) => {
|
|
2204
|
+
const g = je()?.config.imageComponent ?? $e;
|
|
2205
|
+
return /* @__PURE__ */ t.jsxs("div", { className: be.marqueeContent, children: [
|
|
2206
|
+
/* @__PURE__ */ t.jsxs("span", { className: be.badge, children: [
|
|
2207
|
+
/* @__PURE__ */ t.jsx(
|
|
2208
|
+
g,
|
|
2209
|
+
{
|
|
2210
|
+
src: ln,
|
|
2211
|
+
alt: "",
|
|
2212
|
+
className: be.badgeIcon,
|
|
2213
|
+
width: 16,
|
|
2214
|
+
height: 16,
|
|
2215
|
+
loading: "lazy"
|
|
2216
|
+
}
|
|
2217
|
+
),
|
|
2218
|
+
a("ctaKundliCreated")
|
|
2219
|
+
] }),
|
|
2220
|
+
/* @__PURE__ */ t.jsxs("span", { className: be.badge, children: [
|
|
2221
|
+
/* @__PURE__ */ t.jsx(
|
|
2222
|
+
g,
|
|
2223
|
+
{
|
|
2224
|
+
src: dn,
|
|
2225
|
+
alt: "",
|
|
2226
|
+
className: be.badgeIcon,
|
|
2227
|
+
width: 16,
|
|
2228
|
+
height: 16,
|
|
2229
|
+
loading: "lazy"
|
|
2230
|
+
}
|
|
2231
|
+
),
|
|
2232
|
+
a("ctaCertified")
|
|
2233
|
+
] }),
|
|
2234
|
+
/* @__PURE__ */ t.jsxs("span", { className: be.badge, children: [
|
|
2235
|
+
/* @__PURE__ */ t.jsx(
|
|
2236
|
+
g,
|
|
2237
|
+
{
|
|
2238
|
+
src: un,
|
|
2239
|
+
alt: "",
|
|
2240
|
+
className: be.badgeIcon,
|
|
2241
|
+
width: 16,
|
|
2242
|
+
height: 16,
|
|
2243
|
+
loading: "lazy"
|
|
2244
|
+
}
|
|
2245
|
+
),
|
|
2246
|
+
a("ctaSecurePayment")
|
|
2247
|
+
] })
|
|
2248
|
+
] });
|
|
2249
|
+
}, fn = (a) => /.+@.+\..+/.test(a), hn = (a) => /^\d{10}$/.test(a), pn = (a, i, g) => {
|
|
2250
|
+
if (!a.fullName.trim()) return "fullName";
|
|
2251
|
+
if (i) {
|
|
2252
|
+
if (!fn(a.email.trim())) return "email";
|
|
2253
|
+
} else if (!hn((a.phone ?? "").trim())) return "phone";
|
|
2254
|
+
if (!a.dateOfBirth) return "dateOfBirth";
|
|
2255
|
+
if (!a.birthPlace.trim()) return "birthPlace";
|
|
2256
|
+
if (g) {
|
|
2257
|
+
if (!a.gender) return "gender";
|
|
2258
|
+
if (!a.language_code) return "language_code";
|
|
2259
|
+
}
|
|
2260
|
+
return !a.birthTimeUnknown && !a.birthTime ? "birthTime" : null;
|
|
2261
|
+
}, gn = ({
|
|
2262
|
+
t: a,
|
|
2263
|
+
values: i,
|
|
2264
|
+
phoneIsdCode: g,
|
|
2265
|
+
hideOriginalPrice: h = !1,
|
|
2266
|
+
requireV1ExtraFields: b = !1,
|
|
2267
|
+
onValidationFailed: v,
|
|
2268
|
+
onProceed: P,
|
|
2269
|
+
href: B,
|
|
2270
|
+
analytics: p,
|
|
2271
|
+
className: K = "",
|
|
2272
|
+
discountedPriceLabel: u
|
|
2273
|
+
}) => {
|
|
2274
|
+
const d = je()?.config.isGlobal ?? !0, w = Fe(
|
|
2275
|
+
() => pn(i, d, b),
|
|
2276
|
+
[i, d, b]
|
|
2277
|
+
) === null, A = d ? u ?? a("formDiscountedPrice") : "₹499", H = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
2278
|
+
a("formProceed"),
|
|
2279
|
+
A
|
|
2280
|
+
] }), I = /* @__PURE__ */ t.jsx(
|
|
2281
|
+
Dt,
|
|
2282
|
+
{
|
|
2283
|
+
href: B,
|
|
2284
|
+
disabled: !w,
|
|
2285
|
+
onClick: () => {
|
|
2286
|
+
p?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), P?.(i);
|
|
2287
|
+
},
|
|
2288
|
+
"aria-label": a("formPriceAria"),
|
|
2289
|
+
children: H
|
|
2290
|
+
}
|
|
2291
|
+
);
|
|
2292
|
+
return /* @__PURE__ */ t.jsx(
|
|
2293
|
+
Lt,
|
|
2294
|
+
{
|
|
2295
|
+
className: K,
|
|
2296
|
+
marquee: /* @__PURE__ */ t.jsx(Ot, { children: /* @__PURE__ */ t.jsx(mn, { t: a }) }),
|
|
2297
|
+
children: I
|
|
2298
|
+
}
|
|
2299
|
+
);
|
|
2300
|
+
}, bn = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", yn = ({
|
|
2301
|
+
t: a,
|
|
2302
|
+
languageSelector: i,
|
|
2303
|
+
logoUrl: g = bn,
|
|
2304
|
+
className: h = ""
|
|
2305
|
+
}) => {
|
|
2306
|
+
const b = je(), v = b?.config.isGlobal ?? !0, P = i != null && !v;
|
|
2307
|
+
return /* @__PURE__ */ t.jsx(
|
|
2308
|
+
Bt,
|
|
2309
|
+
{
|
|
2310
|
+
t: a,
|
|
2311
|
+
logoUrl: g,
|
|
2312
|
+
imageComponent: b?.config.imageComponent,
|
|
2313
|
+
languageSelector: i,
|
|
2314
|
+
showLanguageSelector: P,
|
|
2315
|
+
className: h
|
|
2316
|
+
}
|
|
2317
|
+
);
|
|
2318
|
+
}, _n = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", kn = (a, i) => st[a]?.[i] ?? i, vn = {
|
|
2319
|
+
fullName: "",
|
|
2320
|
+
phone: "",
|
|
2321
|
+
gender: "",
|
|
2322
|
+
email: "",
|
|
2323
|
+
language_code: "",
|
|
2324
|
+
dateOfBirth: "",
|
|
2325
|
+
birthTime: "",
|
|
2326
|
+
birthTimeUnknown: !1,
|
|
2327
|
+
birthPlace: ""
|
|
2328
|
+
}, Sn = ({
|
|
2329
|
+
className: a = "",
|
|
2330
|
+
locale: i,
|
|
2331
|
+
showLanguageSelector: g = !0,
|
|
2332
|
+
onBack: h,
|
|
2333
|
+
initialValues: b,
|
|
2334
|
+
onProceed: v,
|
|
2335
|
+
proceedHref: P,
|
|
2336
|
+
originalPriceLabel: B,
|
|
2337
|
+
discountedPriceLabel: p,
|
|
2338
|
+
discountPillLabel: K,
|
|
2339
|
+
googleMapsApiKey: u = "",
|
|
2340
|
+
analytics: S
|
|
2341
|
+
}) => {
|
|
2342
|
+
const d = je(), F = $t(), w = d !== null, A = w ? d.locale : i, H = A ?? F?.locale ?? "en", [I, j] = G(H), y = w ? d.locale : I, U = w ? d.setLocale : j, [Y, E] = G(!1), $ = J(null), q = J(A), T = J(
|
|
2343
|
+
F?.locale
|
|
2344
|
+
);
|
|
2345
|
+
X(() => {
|
|
2346
|
+
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
2347
|
+
}, []);
|
|
2348
|
+
const C = (N) => kn(y, N);
|
|
2349
|
+
X(() => {
|
|
2350
|
+
A && q.current !== A && U(A), q.current = A;
|
|
2351
|
+
}, [A, U]), X(() => {
|
|
2352
|
+
if (A) return;
|
|
2353
|
+
const N = F?.locale;
|
|
2354
|
+
N && T.current !== N && U(N), T.current = N;
|
|
2355
|
+
}, [F?.locale, A, U]);
|
|
2356
|
+
const [V, z] = G({
|
|
2357
|
+
...vn,
|
|
2358
|
+
...b,
|
|
2359
|
+
phone: b?.phone ?? ""
|
|
2360
|
+
}), k = w ? d?.config.isGlobal ?? !0 : !0, [D, R] = G(
|
|
2361
|
+
k ? "+1" : "+91"
|
|
2362
|
+
);
|
|
2363
|
+
X(() => {
|
|
2364
|
+
R(k ? "+1" : "+91");
|
|
2365
|
+
}, [k]);
|
|
2366
|
+
const W = w ? d.formValues : V, ie = w ? d.setFormValues : z, ce = w ? d.goToPage : h, se = w ? d.onProceed : v, ue = w ? d.config.proceedHref : P, ae = w ? d.config.originalPriceLabel : B, le = w ? d.config.discountedPriceLabel : p, re = w ? d.config.showLanguageSelector ?? !0 : g, ne = (w ? d?.config?.analytics : S) ?? S;
|
|
2367
|
+
X(() => {
|
|
2368
|
+
if (!Y) return;
|
|
2369
|
+
const N = (me) => {
|
|
2370
|
+
$.current && !$.current.contains(me.target) && E(!1);
|
|
2371
|
+
};
|
|
2372
|
+
return document.addEventListener("mousedown", N), () => document.removeEventListener("mousedown", N);
|
|
2373
|
+
}, [Y]);
|
|
2374
|
+
const he = d?.config.imageComponent ?? $e, de = re ? /* @__PURE__ */ t.jsxs("div", { className: oe.langDropdownWrap, ref: $, children: [
|
|
2375
|
+
/* @__PURE__ */ t.jsxs(
|
|
2376
|
+
"button",
|
|
2377
|
+
{
|
|
2378
|
+
type: "button",
|
|
2379
|
+
className: oe.langTrigger,
|
|
2380
|
+
onClick: () => {
|
|
2381
|
+
ne?.trackLanguageClickedFe?.({ language: y }), E((N) => !N);
|
|
2382
|
+
},
|
|
2383
|
+
"aria-expanded": Y,
|
|
2384
|
+
"aria-haspopup": "listbox",
|
|
2385
|
+
id: "kundli-form-lang",
|
|
2386
|
+
"aria-label": C("language"),
|
|
2387
|
+
children: [
|
|
2388
|
+
/* @__PURE__ */ t.jsx(
|
|
2389
|
+
he,
|
|
2390
|
+
{
|
|
2391
|
+
src: _n,
|
|
2392
|
+
alt: "",
|
|
2393
|
+
className: oe.langIcon,
|
|
2394
|
+
width: 16,
|
|
2395
|
+
height: 16,
|
|
2396
|
+
loading: "eager"
|
|
2397
|
+
}
|
|
2398
|
+
),
|
|
2399
|
+
/* @__PURE__ */ t.jsx("span", { className: oe.langLabel, children: at[y] })
|
|
2400
|
+
]
|
|
2401
|
+
}
|
|
2402
|
+
),
|
|
2403
|
+
Y && /* @__PURE__ */ t.jsx(
|
|
2404
|
+
"ul",
|
|
2405
|
+
{
|
|
2406
|
+
className: oe.langMenu,
|
|
2407
|
+
role: "listbox",
|
|
2408
|
+
"aria-labelledby": "kundli-form-lang",
|
|
2409
|
+
"aria-activedescendant": `kundli-form-lang-option-${y}`,
|
|
2410
|
+
children: ct.map((N) => /* @__PURE__ */ t.jsx(
|
|
2411
|
+
"li",
|
|
2412
|
+
{
|
|
2413
|
+
id: `kundli-form-lang-option-${N}`,
|
|
2414
|
+
role: "option",
|
|
2415
|
+
"aria-selected": N === y,
|
|
2416
|
+
className: oe.langOption,
|
|
2417
|
+
onClick: () => {
|
|
2418
|
+
ne?.trackLanguageChangedFe?.({ newLanguage: N }), U(N), E(!1);
|
|
2419
|
+
},
|
|
2420
|
+
children: at[N]
|
|
2421
|
+
},
|
|
2422
|
+
N
|
|
2423
|
+
))
|
|
2424
|
+
}
|
|
2425
|
+
)
|
|
2426
|
+
] }) : null;
|
|
2427
|
+
return /* @__PURE__ */ t.jsxs("div", { className: `${oe.container} ${a}`, children: [
|
|
2428
|
+
/* @__PURE__ */ t.jsx(
|
|
2429
|
+
yn,
|
|
2430
|
+
{
|
|
2431
|
+
t: C,
|
|
2432
|
+
logoUrl: w ? d.config.logoUrl : void 0,
|
|
2433
|
+
languageSelector: de,
|
|
2434
|
+
className: oe.kundliHeaderNoBorder
|
|
2435
|
+
}
|
|
2436
|
+
),
|
|
2437
|
+
/* @__PURE__ */ t.jsx("div", { className: oe.headerSeparator, "aria-hidden": !0 }),
|
|
2438
|
+
/* @__PURE__ */ t.jsxs("main", { className: oe.main, children: [
|
|
2439
|
+
/* @__PURE__ */ t.jsx(or, { t: C, onBack: ce }),
|
|
2440
|
+
/* @__PURE__ */ t.jsx(
|
|
2441
|
+
sn,
|
|
2442
|
+
{
|
|
2443
|
+
t: C,
|
|
2444
|
+
values: W,
|
|
2445
|
+
onChange: ie,
|
|
2446
|
+
googleMapsApiKey: u,
|
|
2447
|
+
phoneIsdCode: D,
|
|
2448
|
+
onPhoneIsdCodeChange: R
|
|
2449
|
+
}
|
|
2450
|
+
)
|
|
2451
|
+
] }),
|
|
2452
|
+
/* @__PURE__ */ t.jsx(
|
|
2453
|
+
gn,
|
|
2454
|
+
{
|
|
2455
|
+
t: C,
|
|
2456
|
+
values: W,
|
|
2457
|
+
phoneIsdCode: D,
|
|
2458
|
+
onProceed: se,
|
|
2459
|
+
href: ue,
|
|
2460
|
+
originalPriceLabel: ae,
|
|
2461
|
+
discountedPriceLabel: le,
|
|
2462
|
+
analytics: ne
|
|
2463
|
+
}
|
|
2464
|
+
)
|
|
2465
|
+
] });
|
|
2466
|
+
}, Nn = {
|
|
2467
|
+
banner_clicked_fe: "banner_clicked_fe",
|
|
2468
|
+
primary_cta_clicked_fe: "primary_cta_clicked_fe",
|
|
2469
|
+
language_changed_fe: "language_changed_fe",
|
|
2470
|
+
language_clicked_fe: "language_clicked_fe",
|
|
2471
|
+
retry_payment: "retry_payment",
|
|
2472
|
+
detailed_kundli_report_impression_fe: "detailed_kundli_report_impression_fe",
|
|
2473
|
+
payment_partner_page_opened: "payment_partner_page_opened",
|
|
2474
|
+
view_sample_report_clicked: "view_sample_report_clicked",
|
|
2475
|
+
view_sample_report_closed: "view_sample_report_closed",
|
|
2476
|
+
info_icon_clicked: "info_icon_clicked",
|
|
2477
|
+
name_section_clicked: "name_section_clicked",
|
|
2478
|
+
name_section_filled: "name_section_filled",
|
|
2479
|
+
phone_section_clicked: "phone_section_clicked",
|
|
2480
|
+
phone_section_filled: "phone_section_filled",
|
|
2481
|
+
email_section_clicked: "email_section_clicked",
|
|
2482
|
+
email_section_filled: "email_section_filled",
|
|
2483
|
+
dob_clicked: "dob_clicked",
|
|
2484
|
+
dob_filled: "dob_filled",
|
|
2485
|
+
time_clicked: "time_clicked",
|
|
2486
|
+
time_filled: "time_filled",
|
|
2487
|
+
time_checkbox_clicked: "time_checkbox_clicked",
|
|
2488
|
+
place_of_birth_clicked: "place_of_birth_clicked",
|
|
2489
|
+
place_of_birth_chosen: "place_of_birth_chosen",
|
|
2490
|
+
language_of_report_clicked: "language_of_report_clicked",
|
|
2491
|
+
primary_cta_clicked_l1: "primary_cta_clicked_l1",
|
|
2492
|
+
/** Legacy / alias: when landing page is viewed */
|
|
2493
|
+
kundli_page_view: "kundli_page_view",
|
|
2494
|
+
/** Legacy / alias: when L1 form page is viewed (same as l1_page_opened) */
|
|
2495
|
+
kundli_form_view: "kundli_form_view"
|
|
2496
|
+
};
|
|
2497
|
+
export {
|
|
2498
|
+
$e as D,
|
|
2499
|
+
or as F,
|
|
2500
|
+
Pn as I,
|
|
2501
|
+
Nn as K,
|
|
2502
|
+
at as L,
|
|
2503
|
+
gn as P,
|
|
2504
|
+
ct as S,
|
|
2505
|
+
sn as U,
|
|
2506
|
+
dt as a,
|
|
2507
|
+
We as b,
|
|
2508
|
+
Sn as c,
|
|
2509
|
+
jn as d,
|
|
2510
|
+
er as e,
|
|
2511
|
+
tr as f,
|
|
2512
|
+
Xt as g,
|
|
2513
|
+
je as h,
|
|
2514
|
+
An as i,
|
|
2515
|
+
Rn as j,
|
|
2516
|
+
t as k,
|
|
2517
|
+
yn as l,
|
|
2518
|
+
Tn as r,
|
|
2519
|
+
Zt as s,
|
|
2520
|
+
st as t,
|
|
2521
|
+
$t as u
|
|
2522
|
+
};
|
|
2523
|
+
//# sourceMappingURL=analytics-C-BWNjai.js.map
|