@srimandir/kundli-generator 9.4.2 → 9.4.4
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-C7U4tH2y.js +3908 -0
- package/dist/analytics-C7U4tH2y.js.map +1 -0
- package/dist/analytics.d.ts +144 -0
- package/dist/components/KundliForm/KundliForm.d.ts +9 -1
- package/dist/components/KundliForm/sections/UserInfoFormSection/UserInfoFormSection.d.ts +5 -1
- package/dist/components/KundliForm/sections/UserInfoFormSection/useAtlasPlacesAutocomplete.d.ts +22 -0
- package/dist/components/KundliForm/sections/UserInfoFormSection/useGooglePlacesAutocomplete.d.ts +29 -8
- package/dist/components/KundliPage/KundliContext.d.ts +24 -1
- package/dist/components/KundliPage/KundliPage.d.ts +17 -1
- package/dist/components/KundliPage/KundliPageV1.d.ts +22 -1
- package/dist/components/KundliPage/KundliPageVariant.d.ts +5 -0
- package/dist/components/KundliPage/sections/UtmBannerSection/UtmBannerSection.d.ts +8 -0
- package/dist/components/KundliPage/sections/UtmBannerSection/index.d.ts +2 -0
- package/dist/components/KundliPage/sections/index.d.ts +1 -0
- package/dist/components/KundliPlanBottomSheet/ConsultationSlotModal.d.ts +28 -0
- package/dist/components/KundliPlanBottomSheet/KundliPlanBottomSheet.d.ts +14 -3
- package/dist/components/KundliPlanBottomSheet/PlanIcons.d.ts +10 -0
- package/dist/components/KundliPlanBottomSheet/consultationSlotDefaults.d.ts +44 -0
- package/dist/components/KundliPlanBottomSheet/index.d.ts +4 -1
- package/dist/components/KundliPlanBottomSheet/types.d.ts +46 -0
- package/dist/components/ThreeSkuPlanBottomSheet/ThreeSkuPlanBottomSheet.types.d.ts +11 -1
- package/dist/components/ThreeSkuPlanBottomSheet/constants.d.ts +26 -0
- package/dist/criticalCss-DTGMtg9k.js +2017 -0
- package/dist/criticalCss-DTGMtg9k.js.map +1 -0
- package/dist/form-entry.js +1 -1
- package/dist/i18n/I18nContext.d.ts +7 -1
- package/dist/index.d.ts +2 -0
- package/dist/kundli-generator.js +29 -27
- package/dist/page-entry.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/analytics-qrcpYMLy.js +0 -2994
- package/dist/analytics-qrcpYMLy.js.map +0 -1
- package/dist/criticalCss-Bj5LpOlA.js +0 -1914
- package/dist/criticalCss-Bj5LpOlA.js.map +0 -1
|
@@ -0,0 +1,3908 @@
|
|
|
1
|
+
import rt, { useContext as ot, createContext as wt, useState as B, useRef as F, useEffect as Y, useMemo as Ee, useCallback as Pe, Fragment as Vt } from "react";
|
|
2
|
+
import { FormSectionHeader as zt, FooterCTAButton as Jt, FooterShell as Qt, CircularMarquee as Xt, footerShellStyles as De, PageHeader as Zt } from "@srimandir/astrology-common";
|
|
3
|
+
var Ve = { exports: {} }, Ke = {};
|
|
4
|
+
var ft;
|
|
5
|
+
function ea() {
|
|
6
|
+
if (ft) return Ke;
|
|
7
|
+
ft = 1;
|
|
8
|
+
var a = rt, r = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.fragment"), p = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9
|
+
function b(j, y, q) {
|
|
10
|
+
var M, N = {}, m = null, P = null;
|
|
11
|
+
q !== void 0 && (m = "" + q), y.key !== void 0 && (m = "" + y.key), y.ref !== void 0 && (P = y.ref);
|
|
12
|
+
for (M in y) p.call(y, M) && !g.hasOwnProperty(M) && (N[M] = y[M]);
|
|
13
|
+
if (j && j.defaultProps) for (M in y = j.defaultProps, y) N[M] === void 0 && (N[M] = y[M]);
|
|
14
|
+
return { $$typeof: r, type: j, key: m, ref: P, props: N, _owner: d.current };
|
|
15
|
+
}
|
|
16
|
+
return Ke.Fragment = s, Ke.jsx = b, Ke.jsxs = b, Ke;
|
|
17
|
+
}
|
|
18
|
+
var We = {};
|
|
19
|
+
var _t;
|
|
20
|
+
function ta() {
|
|
21
|
+
return _t || (_t = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
+
var a = rt, r = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), p = /* @__PURE__ */ Symbol.for("react.fragment"), d = /* @__PURE__ */ Symbol.for("react.strict_mode"), g = /* @__PURE__ */ Symbol.for("react.profiler"), b = /* @__PURE__ */ Symbol.for("react.provider"), j = /* @__PURE__ */ Symbol.for("react.context"), y = /* @__PURE__ */ Symbol.for("react.forward_ref"), q = /* @__PURE__ */ Symbol.for("react.suspense"), M = /* @__PURE__ */ Symbol.for("react.suspense_list"), N = /* @__PURE__ */ Symbol.for("react.memo"), m = /* @__PURE__ */ Symbol.for("react.lazy"), P = /* @__PURE__ */ Symbol.for("react.offscreen"), v = Symbol.iterator, J = "@@iterator";
|
|
23
|
+
function x(t) {
|
|
24
|
+
if (t === null || typeof t != "object")
|
|
25
|
+
return null;
|
|
26
|
+
var l = v && t[v] || t[J];
|
|
27
|
+
return typeof l == "function" ? l : null;
|
|
28
|
+
}
|
|
29
|
+
var k = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
30
|
+
function C(t) {
|
|
31
|
+
{
|
|
32
|
+
for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), w = 1; w < l; w++)
|
|
33
|
+
u[w - 1] = arguments[w];
|
|
34
|
+
oe("error", t, u);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
function oe(t, l, u) {
|
|
38
|
+
{
|
|
39
|
+
var w = k.ReactDebugCurrentFrame, K = w.getStackAddendum();
|
|
40
|
+
K !== "" && (l += "%s", u = u.concat([K]));
|
|
41
|
+
var z = u.map(function(O) {
|
|
42
|
+
return String(O);
|
|
43
|
+
});
|
|
44
|
+
z.unshift("Warning: " + l), Function.prototype.apply.call(console[t], console, z);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
var S = !1, V = !1, A = !1, G = !1, R = !1, $;
|
|
48
|
+
$ = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
|
+
function ee(t) {
|
|
50
|
+
return !!(typeof t == "string" || typeof t == "function" || t === p || t === g || R || t === d || t === q || t === M || G || t === P || S || V || A || typeof t == "object" && t !== null && (t.$$typeof === m || t.$$typeof === N || t.$$typeof === b || t.$$typeof === j || t.$$typeof === y || // 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
|
+
t.$$typeof === $ || t.getModuleId !== void 0));
|
|
55
|
+
}
|
|
56
|
+
function te(t, l, u) {
|
|
57
|
+
var w = t.displayName;
|
|
58
|
+
if (w)
|
|
59
|
+
return w;
|
|
60
|
+
var K = l.displayName || l.name || "";
|
|
61
|
+
return K !== "" ? u + "(" + K + ")" : u;
|
|
62
|
+
}
|
|
63
|
+
function E(t) {
|
|
64
|
+
return t.displayName || "Context";
|
|
65
|
+
}
|
|
66
|
+
function I(t) {
|
|
67
|
+
if (t == null)
|
|
68
|
+
return null;
|
|
69
|
+
if (typeof t.tag == "number" && C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
70
|
+
return t.displayName || t.name || null;
|
|
71
|
+
if (typeof t == "string")
|
|
72
|
+
return t;
|
|
73
|
+
switch (t) {
|
|
74
|
+
case p:
|
|
75
|
+
return "Fragment";
|
|
76
|
+
case s:
|
|
77
|
+
return "Portal";
|
|
78
|
+
case g:
|
|
79
|
+
return "Profiler";
|
|
80
|
+
case d:
|
|
81
|
+
return "StrictMode";
|
|
82
|
+
case q:
|
|
83
|
+
return "Suspense";
|
|
84
|
+
case M:
|
|
85
|
+
return "SuspenseList";
|
|
86
|
+
}
|
|
87
|
+
if (typeof t == "object")
|
|
88
|
+
switch (t.$$typeof) {
|
|
89
|
+
case j:
|
|
90
|
+
var l = t;
|
|
91
|
+
return E(l) + ".Consumer";
|
|
92
|
+
case b:
|
|
93
|
+
var u = t;
|
|
94
|
+
return E(u._context) + ".Provider";
|
|
95
|
+
case y:
|
|
96
|
+
return te(t, t.render, "ForwardRef");
|
|
97
|
+
case N:
|
|
98
|
+
var w = t.displayName || null;
|
|
99
|
+
return w !== null ? w : I(t.type) || "Memo";
|
|
100
|
+
case m: {
|
|
101
|
+
var K = t, z = K._payload, O = K._init;
|
|
102
|
+
try {
|
|
103
|
+
return I(O(z));
|
|
104
|
+
} catch {
|
|
105
|
+
return null;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
return null;
|
|
110
|
+
}
|
|
111
|
+
var U = Object.assign, Q = 0, D, _e, ie, de, ue, X, Te;
|
|
112
|
+
function ke() {
|
|
113
|
+
}
|
|
114
|
+
ke.__reactDisabledLog = !0;
|
|
115
|
+
function Re() {
|
|
116
|
+
{
|
|
117
|
+
if (Q === 0) {
|
|
118
|
+
D = console.log, _e = console.info, ie = console.warn, de = console.error, ue = console.group, X = console.groupCollapsed, Te = console.groupEnd;
|
|
119
|
+
var t = {
|
|
120
|
+
configurable: !0,
|
|
121
|
+
enumerable: !0,
|
|
122
|
+
value: ke,
|
|
123
|
+
writable: !0
|
|
124
|
+
};
|
|
125
|
+
Object.defineProperties(console, {
|
|
126
|
+
info: t,
|
|
127
|
+
log: t,
|
|
128
|
+
warn: t,
|
|
129
|
+
error: t,
|
|
130
|
+
group: t,
|
|
131
|
+
groupCollapsed: t,
|
|
132
|
+
groupEnd: t
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
Q++;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
function ge() {
|
|
139
|
+
{
|
|
140
|
+
if (Q--, Q === 0) {
|
|
141
|
+
var t = {
|
|
142
|
+
configurable: !0,
|
|
143
|
+
enumerable: !0,
|
|
144
|
+
writable: !0
|
|
145
|
+
};
|
|
146
|
+
Object.defineProperties(console, {
|
|
147
|
+
log: U({}, t, {
|
|
148
|
+
value: D
|
|
149
|
+
}),
|
|
150
|
+
info: U({}, t, {
|
|
151
|
+
value: _e
|
|
152
|
+
}),
|
|
153
|
+
warn: U({}, t, {
|
|
154
|
+
value: ie
|
|
155
|
+
}),
|
|
156
|
+
error: U({}, t, {
|
|
157
|
+
value: de
|
|
158
|
+
}),
|
|
159
|
+
group: U({}, t, {
|
|
160
|
+
value: ue
|
|
161
|
+
}),
|
|
162
|
+
groupCollapsed: U({}, t, {
|
|
163
|
+
value: X
|
|
164
|
+
}),
|
|
165
|
+
groupEnd: U({}, t, {
|
|
166
|
+
value: Te
|
|
167
|
+
})
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
Q < 0 && C("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
var Z = k.ReactCurrentDispatcher, W;
|
|
174
|
+
function fe(t, l, u) {
|
|
175
|
+
{
|
|
176
|
+
if (W === void 0)
|
|
177
|
+
try {
|
|
178
|
+
throw Error();
|
|
179
|
+
} catch (K) {
|
|
180
|
+
var w = K.stack.trim().match(/\n( *(at )?)/);
|
|
181
|
+
W = w && w[1] || "";
|
|
182
|
+
}
|
|
183
|
+
return `
|
|
184
|
+
` + W + t;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
var ae = !1, ne;
|
|
188
|
+
{
|
|
189
|
+
var ce = typeof WeakMap == "function" ? WeakMap : Map;
|
|
190
|
+
ne = new ce();
|
|
191
|
+
}
|
|
192
|
+
function Ae(t, l) {
|
|
193
|
+
if (!t || ae)
|
|
194
|
+
return "";
|
|
195
|
+
{
|
|
196
|
+
var u = ne.get(t);
|
|
197
|
+
if (u !== void 0)
|
|
198
|
+
return u;
|
|
199
|
+
}
|
|
200
|
+
var w;
|
|
201
|
+
ae = !0;
|
|
202
|
+
var K = Error.prepareStackTrace;
|
|
203
|
+
Error.prepareStackTrace = void 0;
|
|
204
|
+
var z;
|
|
205
|
+
z = Z.current, Z.current = null, Re();
|
|
206
|
+
try {
|
|
207
|
+
if (l) {
|
|
208
|
+
var O = function() {
|
|
209
|
+
throw Error();
|
|
210
|
+
};
|
|
211
|
+
if (Object.defineProperty(O.prototype, "props", {
|
|
212
|
+
set: function() {
|
|
213
|
+
throw Error();
|
|
214
|
+
}
|
|
215
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
216
|
+
try {
|
|
217
|
+
Reflect.construct(O, []);
|
|
218
|
+
} catch (ve) {
|
|
219
|
+
w = ve;
|
|
220
|
+
}
|
|
221
|
+
Reflect.construct(t, [], O);
|
|
222
|
+
} else {
|
|
223
|
+
try {
|
|
224
|
+
O.call();
|
|
225
|
+
} catch (ve) {
|
|
226
|
+
w = ve;
|
|
227
|
+
}
|
|
228
|
+
t.call(O.prototype);
|
|
229
|
+
}
|
|
230
|
+
} else {
|
|
231
|
+
try {
|
|
232
|
+
throw Error();
|
|
233
|
+
} catch (ve) {
|
|
234
|
+
w = ve;
|
|
235
|
+
}
|
|
236
|
+
t();
|
|
237
|
+
}
|
|
238
|
+
} catch (ve) {
|
|
239
|
+
if (ve && w && typeof ve.stack == "string") {
|
|
240
|
+
for (var L = ve.stack.split(`
|
|
241
|
+
`), ye = w.stack.split(`
|
|
242
|
+
`), re = L.length - 1, se = ye.length - 1; re >= 1 && se >= 0 && L[re] !== ye[se]; )
|
|
243
|
+
se--;
|
|
244
|
+
for (; re >= 1 && se >= 0; re--, se--)
|
|
245
|
+
if (L[re] !== ye[se]) {
|
|
246
|
+
if (re !== 1 || se !== 1)
|
|
247
|
+
do
|
|
248
|
+
if (re--, se--, se < 0 || L[re] !== ye[se]) {
|
|
249
|
+
var Ce = `
|
|
250
|
+
` + L[re].replace(" at new ", " at ");
|
|
251
|
+
return t.displayName && Ce.includes("<anonymous>") && (Ce = Ce.replace("<anonymous>", t.displayName)), typeof t == "function" && ne.set(t, Ce), Ce;
|
|
252
|
+
}
|
|
253
|
+
while (re >= 1 && se >= 0);
|
|
254
|
+
break;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
} finally {
|
|
258
|
+
ae = !1, Z.current = z, ge(), Error.prepareStackTrace = K;
|
|
259
|
+
}
|
|
260
|
+
var Me = t ? t.displayName || t.name : "", Ie = Me ? fe(Me) : "";
|
|
261
|
+
return typeof t == "function" && ne.set(t, Ie), Ie;
|
|
262
|
+
}
|
|
263
|
+
function pe(t, l, u) {
|
|
264
|
+
return Ae(t, !1);
|
|
265
|
+
}
|
|
266
|
+
function me(t) {
|
|
267
|
+
var l = t.prototype;
|
|
268
|
+
return !!(l && l.isReactComponent);
|
|
269
|
+
}
|
|
270
|
+
function Ne(t, l, u) {
|
|
271
|
+
if (t == null)
|
|
272
|
+
return "";
|
|
273
|
+
if (typeof t == "function")
|
|
274
|
+
return Ae(t, me(t));
|
|
275
|
+
if (typeof t == "string")
|
|
276
|
+
return fe(t);
|
|
277
|
+
switch (t) {
|
|
278
|
+
case q:
|
|
279
|
+
return fe("Suspense");
|
|
280
|
+
case M:
|
|
281
|
+
return fe("SuspenseList");
|
|
282
|
+
}
|
|
283
|
+
if (typeof t == "object")
|
|
284
|
+
switch (t.$$typeof) {
|
|
285
|
+
case y:
|
|
286
|
+
return pe(t.render);
|
|
287
|
+
case N:
|
|
288
|
+
return Ne(t.type, l, u);
|
|
289
|
+
case m: {
|
|
290
|
+
var w = t, K = w._payload, z = w._init;
|
|
291
|
+
try {
|
|
292
|
+
return Ne(z(K), l, u);
|
|
293
|
+
} catch {
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
return "";
|
|
298
|
+
}
|
|
299
|
+
var xe = Object.prototype.hasOwnProperty, be = {}, we = k.ReactDebugCurrentFrame;
|
|
300
|
+
function je(t) {
|
|
301
|
+
if (t) {
|
|
302
|
+
var l = t._owner, u = Ne(t.type, t._source, l ? l.type : null);
|
|
303
|
+
we.setExtraStackFrame(u);
|
|
304
|
+
} else
|
|
305
|
+
we.setExtraStackFrame(null);
|
|
306
|
+
}
|
|
307
|
+
function i(t, l, u, w, K) {
|
|
308
|
+
{
|
|
309
|
+
var z = Function.call.bind(xe);
|
|
310
|
+
for (var O in t)
|
|
311
|
+
if (z(t, O)) {
|
|
312
|
+
var L = void 0;
|
|
313
|
+
try {
|
|
314
|
+
if (typeof t[O] != "function") {
|
|
315
|
+
var ye = Error((w || "React class") + ": " + u + " type `" + O + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[O] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
316
|
+
throw ye.name = "Invariant Violation", ye;
|
|
317
|
+
}
|
|
318
|
+
L = t[O](l, O, w, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
319
|
+
} catch (re) {
|
|
320
|
+
L = re;
|
|
321
|
+
}
|
|
322
|
+
L && !(L instanceof Error) && (je(K), C("%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).", w || "React class", u, O, typeof L), je(null)), L instanceof Error && !(L.message in be) && (be[L.message] = !0, je(K), C("Failed %s type: %s", u, L.message), je(null));
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
var _ = Array.isArray;
|
|
327
|
+
function h(t) {
|
|
328
|
+
return _(t);
|
|
329
|
+
}
|
|
330
|
+
function he(t) {
|
|
331
|
+
{
|
|
332
|
+
var l = typeof Symbol == "function" && Symbol.toStringTag, u = l && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
333
|
+
return u;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
function le(t) {
|
|
337
|
+
try {
|
|
338
|
+
return $e(t), !1;
|
|
339
|
+
} catch {
|
|
340
|
+
return !0;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
function $e(t) {
|
|
344
|
+
return "" + t;
|
|
345
|
+
}
|
|
346
|
+
function Ge(t) {
|
|
347
|
+
if (le(t))
|
|
348
|
+
return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", he(t)), $e(t);
|
|
349
|
+
}
|
|
350
|
+
var n = k.ReactCurrentOwner, c = {
|
|
351
|
+
key: !0,
|
|
352
|
+
ref: !0,
|
|
353
|
+
__self: !0,
|
|
354
|
+
__source: !0
|
|
355
|
+
}, H, Se;
|
|
356
|
+
function Ue(t) {
|
|
357
|
+
if (xe.call(t, "ref")) {
|
|
358
|
+
var l = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
359
|
+
if (l && l.isReactWarning)
|
|
360
|
+
return !1;
|
|
361
|
+
}
|
|
362
|
+
return t.ref !== void 0;
|
|
363
|
+
}
|
|
364
|
+
function Je(t) {
|
|
365
|
+
if (xe.call(t, "key")) {
|
|
366
|
+
var l = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
367
|
+
if (l && l.isReactWarning)
|
|
368
|
+
return !1;
|
|
369
|
+
}
|
|
370
|
+
return t.key !== void 0;
|
|
371
|
+
}
|
|
372
|
+
function Et(t, l) {
|
|
373
|
+
typeof t.ref == "string" && n.current;
|
|
374
|
+
}
|
|
375
|
+
function It(t, l) {
|
|
376
|
+
{
|
|
377
|
+
var u = function() {
|
|
378
|
+
H || (H = !0, C("%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)", l));
|
|
379
|
+
};
|
|
380
|
+
u.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
381
|
+
get: u,
|
|
382
|
+
configurable: !0
|
|
383
|
+
});
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
function Dt(t, l) {
|
|
387
|
+
{
|
|
388
|
+
var u = function() {
|
|
389
|
+
Se || (Se = !0, C("%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)", l));
|
|
390
|
+
};
|
|
391
|
+
u.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
392
|
+
get: u,
|
|
393
|
+
configurable: !0
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
var Bt = function(t, l, u, w, K, z, O) {
|
|
398
|
+
var L = {
|
|
399
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
400
|
+
$$typeof: r,
|
|
401
|
+
// Built-in properties that belong on the element
|
|
402
|
+
type: t,
|
|
403
|
+
key: l,
|
|
404
|
+
ref: u,
|
|
405
|
+
props: O,
|
|
406
|
+
// Record the component responsible for creating this element.
|
|
407
|
+
_owner: z
|
|
408
|
+
};
|
|
409
|
+
return L._store = {}, Object.defineProperty(L._store, "validated", {
|
|
410
|
+
configurable: !1,
|
|
411
|
+
enumerable: !1,
|
|
412
|
+
writable: !0,
|
|
413
|
+
value: !1
|
|
414
|
+
}), Object.defineProperty(L, "_self", {
|
|
415
|
+
configurable: !1,
|
|
416
|
+
enumerable: !1,
|
|
417
|
+
writable: !1,
|
|
418
|
+
value: w
|
|
419
|
+
}), Object.defineProperty(L, "_source", {
|
|
420
|
+
configurable: !1,
|
|
421
|
+
enumerable: !1,
|
|
422
|
+
writable: !1,
|
|
423
|
+
value: K
|
|
424
|
+
}), Object.freeze && (Object.freeze(L.props), Object.freeze(L)), L;
|
|
425
|
+
};
|
|
426
|
+
function Ot(t, l, u, w, K) {
|
|
427
|
+
{
|
|
428
|
+
var z, O = {}, L = null, ye = null;
|
|
429
|
+
u !== void 0 && (Ge(u), L = "" + u), Je(l) && (Ge(l.key), L = "" + l.key), Ue(l) && (ye = l.ref, Et(l, K));
|
|
430
|
+
for (z in l)
|
|
431
|
+
xe.call(l, z) && !c.hasOwnProperty(z) && (O[z] = l[z]);
|
|
432
|
+
if (t && t.defaultProps) {
|
|
433
|
+
var re = t.defaultProps;
|
|
434
|
+
for (z in re)
|
|
435
|
+
O[z] === void 0 && (O[z] = re[z]);
|
|
436
|
+
}
|
|
437
|
+
if (L || ye) {
|
|
438
|
+
var se = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
439
|
+
L && It(O, se), ye && Dt(O, se);
|
|
440
|
+
}
|
|
441
|
+
return Bt(t, L, ye, K, w, n.current, O);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
var Qe = k.ReactCurrentOwner, ct = k.ReactDebugCurrentFrame;
|
|
445
|
+
function Oe(t) {
|
|
446
|
+
if (t) {
|
|
447
|
+
var l = t._owner, u = Ne(t.type, t._source, l ? l.type : null);
|
|
448
|
+
ct.setExtraStackFrame(u);
|
|
449
|
+
} else
|
|
450
|
+
ct.setExtraStackFrame(null);
|
|
451
|
+
}
|
|
452
|
+
var Xe;
|
|
453
|
+
Xe = !1;
|
|
454
|
+
function Ze(t) {
|
|
455
|
+
return typeof t == "object" && t !== null && t.$$typeof === r;
|
|
456
|
+
}
|
|
457
|
+
function dt() {
|
|
458
|
+
{
|
|
459
|
+
if (Qe.current) {
|
|
460
|
+
var t = I(Qe.current.type);
|
|
461
|
+
if (t)
|
|
462
|
+
return `
|
|
463
|
+
|
|
464
|
+
Check the render method of \`` + t + "`.";
|
|
465
|
+
}
|
|
466
|
+
return "";
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
function Mt(t) {
|
|
470
|
+
return "";
|
|
471
|
+
}
|
|
472
|
+
var ut = {};
|
|
473
|
+
function Ft(t) {
|
|
474
|
+
{
|
|
475
|
+
var l = dt();
|
|
476
|
+
if (!l) {
|
|
477
|
+
var u = typeof t == "string" ? t : t.displayName || t.name;
|
|
478
|
+
u && (l = `
|
|
479
|
+
|
|
480
|
+
Check the top-level render call using <` + u + ">.");
|
|
481
|
+
}
|
|
482
|
+
return l;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
function pt(t, l) {
|
|
486
|
+
{
|
|
487
|
+
if (!t._store || t._store.validated || t.key != null)
|
|
488
|
+
return;
|
|
489
|
+
t._store.validated = !0;
|
|
490
|
+
var u = Ft(l);
|
|
491
|
+
if (ut[u])
|
|
492
|
+
return;
|
|
493
|
+
ut[u] = !0;
|
|
494
|
+
var w = "";
|
|
495
|
+
t && t._owner && t._owner !== Qe.current && (w = " It was passed a child from " + I(t._owner.type) + "."), Oe(t), C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, w), Oe(null);
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
function mt(t, l) {
|
|
499
|
+
{
|
|
500
|
+
if (typeof t != "object")
|
|
501
|
+
return;
|
|
502
|
+
if (h(t))
|
|
503
|
+
for (var u = 0; u < t.length; u++) {
|
|
504
|
+
var w = t[u];
|
|
505
|
+
Ze(w) && pt(w, l);
|
|
506
|
+
}
|
|
507
|
+
else if (Ze(t))
|
|
508
|
+
t._store && (t._store.validated = !0);
|
|
509
|
+
else if (t) {
|
|
510
|
+
var K = x(t);
|
|
511
|
+
if (typeof K == "function" && K !== t.entries)
|
|
512
|
+
for (var z = K.call(t), O; !(O = z.next()).done; )
|
|
513
|
+
Ze(O.value) && pt(O.value, l);
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
function $t(t) {
|
|
518
|
+
{
|
|
519
|
+
var l = t.type;
|
|
520
|
+
if (l == null || typeof l == "string")
|
|
521
|
+
return;
|
|
522
|
+
var u;
|
|
523
|
+
if (typeof l == "function")
|
|
524
|
+
u = l.propTypes;
|
|
525
|
+
else if (typeof l == "object" && (l.$$typeof === y || // Note: Memo only checks outer props here.
|
|
526
|
+
// Inner props are checked in the reconciler.
|
|
527
|
+
l.$$typeof === N))
|
|
528
|
+
u = l.propTypes;
|
|
529
|
+
else
|
|
530
|
+
return;
|
|
531
|
+
if (u) {
|
|
532
|
+
var w = I(l);
|
|
533
|
+
i(u, t.props, "prop", w, t);
|
|
534
|
+
} else if (l.PropTypes !== void 0 && !Xe) {
|
|
535
|
+
Xe = !0;
|
|
536
|
+
var K = I(l);
|
|
537
|
+
C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", K || "Unknown");
|
|
538
|
+
}
|
|
539
|
+
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
function Gt(t) {
|
|
543
|
+
{
|
|
544
|
+
for (var l = Object.keys(t.props), u = 0; u < l.length; u++) {
|
|
545
|
+
var w = l[u];
|
|
546
|
+
if (w !== "children" && w !== "key") {
|
|
547
|
+
Oe(t), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", w), Oe(null);
|
|
548
|
+
break;
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
t.ref !== null && (Oe(t), C("Invalid attribute `ref` supplied to `React.Fragment`."), Oe(null));
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
var ht = {};
|
|
555
|
+
function gt(t, l, u, w, K, z) {
|
|
556
|
+
{
|
|
557
|
+
var O = ee(t);
|
|
558
|
+
if (!O) {
|
|
559
|
+
var L = "";
|
|
560
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (L += " 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 ye = Mt();
|
|
562
|
+
ye ? L += ye : L += dt();
|
|
563
|
+
var re;
|
|
564
|
+
t === null ? re = "null" : h(t) ? re = "array" : t !== void 0 && t.$$typeof === r ? (re = "<" + (I(t.type) || "Unknown") + " />", L = " Did you accidentally export a JSX literal instead of a component?") : re = typeof t, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", re, L);
|
|
565
|
+
}
|
|
566
|
+
var se = Ot(t, l, u, K, z);
|
|
567
|
+
if (se == null)
|
|
568
|
+
return se;
|
|
569
|
+
if (O) {
|
|
570
|
+
var Ce = l.children;
|
|
571
|
+
if (Ce !== void 0)
|
|
572
|
+
if (w)
|
|
573
|
+
if (h(Ce)) {
|
|
574
|
+
for (var Me = 0; Me < Ce.length; Me++)
|
|
575
|
+
mt(Ce[Me], t);
|
|
576
|
+
Object.freeze && Object.freeze(Ce);
|
|
577
|
+
} else
|
|
578
|
+
C("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
|
+
mt(Ce, t);
|
|
581
|
+
}
|
|
582
|
+
if (xe.call(l, "key")) {
|
|
583
|
+
var Ie = I(t), ve = Object.keys(l).filter(function(qt) {
|
|
584
|
+
return qt !== "key";
|
|
585
|
+
}), et = ve.length > 0 ? "{key: someKey, " + ve.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
586
|
+
if (!ht[Ie + et]) {
|
|
587
|
+
var Yt = ve.length > 0 ? "{" + ve.join(": ..., ") + ": ...}" : "{}";
|
|
588
|
+
C(`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} />`, et, Ie, Yt, Ie), ht[Ie + et] = !0;
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
return t === p ? Gt(se) : $t(se), se;
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
function Ut(t, l, u) {
|
|
600
|
+
return gt(t, l, u, !0);
|
|
601
|
+
}
|
|
602
|
+
function Kt(t, l, u) {
|
|
603
|
+
return gt(t, l, u, !1);
|
|
604
|
+
}
|
|
605
|
+
var Wt = Kt, Ht = Ut;
|
|
606
|
+
We.Fragment = p, We.jsx = Wt, We.jsxs = Ht;
|
|
607
|
+
})()), We;
|
|
608
|
+
}
|
|
609
|
+
var bt;
|
|
610
|
+
function aa() {
|
|
611
|
+
return bt || (bt = 1, process.env.NODE_ENV === "production" ? Ve.exports = ea() : Ve.exports = ta()), Ve.exports;
|
|
612
|
+
}
|
|
613
|
+
var e = aa();
|
|
614
|
+
const na = "_container_1e1th_1", ra = "_main_1e1th_7", oa = "_kundliHeaderNoBorder_1e1th_12", ia = "_headerSeparator_1e1th_16", la = "_langDropdownWrap_1e1th_21", sa = "_langTrigger_1e1th_25", ca = "_langIcon_1e1th_37", da = "_langLabel_1e1th_44", ua = "_langMenu_1e1th_49", pa = "_langOption_1e1th_55", Le = {
|
|
615
|
+
container: na,
|
|
616
|
+
main: ra,
|
|
617
|
+
kundliHeaderNoBorder: oa,
|
|
618
|
+
headerSeparator: ia,
|
|
619
|
+
langDropdownWrap: la,
|
|
620
|
+
langTrigger: sa,
|
|
621
|
+
langIcon: ca,
|
|
622
|
+
langLabel: da,
|
|
623
|
+
langMenu: ua,
|
|
624
|
+
langOption: pa
|
|
625
|
+
}, jt = ["en", "hi"], yt = {
|
|
626
|
+
en: "English",
|
|
627
|
+
hi: "हिन्दी"
|
|
628
|
+
}, Tt = {
|
|
629
|
+
en: {
|
|
630
|
+
kundli: "Kundli",
|
|
631
|
+
birthChart: "Birth Chart",
|
|
632
|
+
details: "Details",
|
|
633
|
+
name: "Name",
|
|
634
|
+
birthDate: "Birth Date",
|
|
635
|
+
guest: "Guest",
|
|
636
|
+
description: "Your birth chart reveals planetary positions at the time of your birth and their influence on your life.",
|
|
637
|
+
lagna: "Lagna",
|
|
638
|
+
rashi: "Rashi",
|
|
639
|
+
nakshatra: "Nakshatra",
|
|
640
|
+
// Premium Kundli landing
|
|
641
|
+
language: "Language",
|
|
642
|
+
sriMandir: "Sri Mandir",
|
|
643
|
+
ratingText: "4.9/5 on Google PlayStore",
|
|
644
|
+
heroTitle: "Get Your Premium Personalised Kundli Report",
|
|
645
|
+
heroSubtitle: "This premium personalised kundli report helps you find answers to major life issues.",
|
|
646
|
+
topicMarriage: "Marriage",
|
|
647
|
+
topicRelationship: "Relationship",
|
|
648
|
+
topicBusiness: "Business",
|
|
649
|
+
topicHealth: "Health",
|
|
650
|
+
topicCareer: "Career",
|
|
651
|
+
topicEducation: "Education",
|
|
652
|
+
topicMoney: "Money",
|
|
653
|
+
premiumHeadline: "200+ Pages Premium Personalised Kundli Report",
|
|
654
|
+
premiumHeadlinePill1: "200+ Pages",
|
|
655
|
+
premiumHeadlinePlain1: "Premium",
|
|
656
|
+
premiumHeadlinePlain2: "Personalised",
|
|
657
|
+
premiumHeadlinePill2: "Kundli Report",
|
|
658
|
+
premiumFeature1: "Vedic Birth Chart",
|
|
659
|
+
premiumFeature2: "Destiny Insights",
|
|
660
|
+
premiumFeature3: "Major Life Issues",
|
|
661
|
+
premiumFeature4: "Practical Remedies",
|
|
662
|
+
certifiedBy: "Certified by BHU and VHU Astrologers",
|
|
663
|
+
yourThreeSteps: "Your 3 steps",
|
|
664
|
+
threeStepsSubtitle: "Premium Personalised Kundli report",
|
|
665
|
+
step1: "Enter your information",
|
|
666
|
+
step2: "Your horoscope will be created by experts",
|
|
667
|
+
step3Intro: "You'll receive your Kundli report on your Whatsapp",
|
|
668
|
+
step3IntroGlobal: "You'll receive your Kundli report on your email",
|
|
669
|
+
step3IntroDomestic: "You'll receive your Kundli report on your Whatsapp",
|
|
670
|
+
step3Days: "2 days",
|
|
671
|
+
viewSampleReport: "View Sample Kundli Report",
|
|
672
|
+
sampleReportModalTitle: "Sample Kundli Report",
|
|
673
|
+
whatYoullFindTitle: "What will you find in your Kundli report?",
|
|
674
|
+
findDasha: "Analysis of flaws and periods.",
|
|
675
|
+
findDashaDesc: "Identify major flaws, period durations, and simple remedies.",
|
|
676
|
+
findYoga: "All yoga reports.",
|
|
677
|
+
findYogaDesc: "Discover the yogas in your kundli report that affect wealth, career, and relationships.",
|
|
678
|
+
findGemstone: "Gemstone recommendations.",
|
|
679
|
+
findGemstoneDesc: "Personalised gemstone guidance based on your kundli report.",
|
|
680
|
+
findPooja: "Puja recommendations.",
|
|
681
|
+
findPoojaDesc: "Suggestions for pujas and rituals to balance planetary influences.",
|
|
682
|
+
findMonthly: "Monthly predictions (1 year).",
|
|
683
|
+
findMonthlyDesc: "Month-by-month guidance for the coming year.",
|
|
684
|
+
findStrength: "Strength graph.",
|
|
685
|
+
findStrengthDesc: "Visual charts showing the strength and influence of the planets.",
|
|
686
|
+
whyUsTitle: "Why us?",
|
|
687
|
+
whyUsSubtitle: "Fill out the form to get started and unlock your fortune!",
|
|
688
|
+
whyUs1: "3,00,000+ kundli reports created",
|
|
689
|
+
whyUs2: "1,000+ partnered Top Astrologers",
|
|
690
|
+
whyUs3: "500+ temple partnerships you can trust",
|
|
691
|
+
whyUs4: "Personalised section-wise life analysis",
|
|
692
|
+
feedbackTitle: "Feedback from our users",
|
|
693
|
+
feedbackTrust: "Trusted by over 5 crore users worldwide",
|
|
694
|
+
feedbackRating: "4.9",
|
|
695
|
+
feedbackTestimonial1: "Detailed kundli report mila, life mein clarity mili.",
|
|
696
|
+
feedbackTestimonial2: "Career aur marriage dono pe clear guidance mila.",
|
|
697
|
+
feedbackTestimonial3: "Clear direction mila next steps ke liye.",
|
|
698
|
+
feedbackTestimonial4: "Doubts kaafi had tak clear ho gaye report se.",
|
|
699
|
+
feedbackTestimonial5: "Future planning ke liye useful insights mile.",
|
|
700
|
+
feedbackTestimonial6: "Har important area cover kiya gaya properly.",
|
|
701
|
+
feedbackTestimonial7: "Kaafi deep analysis hai, superficial nahi.",
|
|
702
|
+
feedbackTestimonial8: "Kundli insights ne future decisions clear kiye.",
|
|
703
|
+
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.",
|
|
704
|
+
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.",
|
|
705
|
+
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.",
|
|
706
|
+
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.",
|
|
707
|
+
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.",
|
|
708
|
+
feedbackTestimonial14: "Simple language mein detailed analysis diya hai.",
|
|
709
|
+
feedbackTestimonial15: "Timing aur dasha explanation helpful thi.",
|
|
710
|
+
feedbackAuthor1: "Aarav",
|
|
711
|
+
feedbackAuthor2: "Vivaan",
|
|
712
|
+
feedbackAuthor3: "Arjun",
|
|
713
|
+
feedbackAuthor4: "Kabir",
|
|
714
|
+
feedbackAuthor5: "Rohan",
|
|
715
|
+
feedbackAuthor6: "Ishaan",
|
|
716
|
+
feedbackAuthor7: "Krish",
|
|
717
|
+
feedbackAuthor8: "Rahul",
|
|
718
|
+
feedbackAuthor9: "Ananya",
|
|
719
|
+
feedbackAuthor10: "Aadhya",
|
|
720
|
+
feedbackAuthor11: "Kavya",
|
|
721
|
+
feedbackAuthor12: "Diya",
|
|
722
|
+
feedbackAuthor13: "Meera",
|
|
723
|
+
feedbackAuthor14: "Pooja",
|
|
724
|
+
feedbackAuthor15: "Nisha",
|
|
725
|
+
feedbackAuthor1AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639271096.png",
|
|
726
|
+
feedbackAuthor2AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639330970.png",
|
|
727
|
+
feedbackAuthor3AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639345411.png",
|
|
728
|
+
feedbackAuthor4AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639358174.png",
|
|
729
|
+
feedbackAuthor5AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639369712.png",
|
|
730
|
+
feedbackAuthor6AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639381899.png",
|
|
731
|
+
feedbackAuthor7AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639442858.png",
|
|
732
|
+
feedbackAuthor8AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639454626.png",
|
|
733
|
+
feedbackAuthor9AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639254172.png",
|
|
734
|
+
feedbackAuthor10AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639293055.png",
|
|
735
|
+
feedbackAuthor11AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639306698.png",
|
|
736
|
+
feedbackAuthor12AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639319028.png",
|
|
737
|
+
feedbackAuthor13AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639402894.png",
|
|
738
|
+
feedbackAuthor14AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639416587.png",
|
|
739
|
+
feedbackAuthor15AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639427379.png",
|
|
740
|
+
readMoreReviews: "Read More Reviews",
|
|
741
|
+
readLess: "Read Less",
|
|
742
|
+
faqTitle: "Frequently Asked Questions",
|
|
743
|
+
faqQ1: "How will I receive my kundli report?",
|
|
744
|
+
faqQ2: "Is Premium personalised kundli available in any other language?",
|
|
745
|
+
faqQ3: "What if I don't know my birth time?",
|
|
746
|
+
faqA1Global: "You will receive your premium personalised kundli report on your shared email ID within 2 days.",
|
|
747
|
+
faqA1Domestic: "You will receive your premium personalised kundli report on your shared WhatsApp number within 2 days.",
|
|
748
|
+
faqA2: "Yes, we provide report in Hindi and English languages",
|
|
749
|
+
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",
|
|
750
|
+
contactTitle: "Contact Us",
|
|
751
|
+
contactBrandName: "Sri Mandir",
|
|
752
|
+
contactWhatsAppGlobal: "Whatsapp: 8296947757",
|
|
753
|
+
contactWhatsAppDomestic: "Whatsapp: 08071174417",
|
|
754
|
+
contactEmail: "Email: pujaseva@appsforbharat.com",
|
|
755
|
+
ctaKundliCreated: "3L+ Kundli Reports Created.",
|
|
756
|
+
ctaCertified: "BHU Certified Astrologer.",
|
|
757
|
+
ctaSecurePayment: "Secure Payment.",
|
|
758
|
+
ctaButton: "Get My Detailed Kundli in $300 $25",
|
|
759
|
+
ctaButtonStruck: "$100",
|
|
760
|
+
ctaButtonBefore: "Get My Detailed Kundli in ",
|
|
761
|
+
ctaButtonAfter: "$25",
|
|
762
|
+
// Kundli form (from incoming branch)
|
|
763
|
+
back: "Back",
|
|
764
|
+
info: "Info",
|
|
765
|
+
formTitle: "Enter your information",
|
|
766
|
+
formSubtitle: "Fill out the form below to get started and unlock your fortune!",
|
|
767
|
+
formFullName: "Enter your full name",
|
|
768
|
+
formFullNamePlaceholder: "Full name",
|
|
769
|
+
formPhone: "Enter your phone number",
|
|
770
|
+
formPhonePlaceholder: "Phone number",
|
|
771
|
+
formGurujiTitle: "FREE 1:1 Astrologer Consultation",
|
|
772
|
+
formGurujiSubtitle: "Get explanation of your premium personalised by a certified astrologer",
|
|
773
|
+
formGender: "Your Gender",
|
|
774
|
+
formGenderMale: "Male",
|
|
775
|
+
formGenderFemale: "Female",
|
|
776
|
+
formEmail: "Enter your email address",
|
|
777
|
+
formEmailHelp: "Your kundli report will be sent to your email",
|
|
778
|
+
formEmailPlaceholder: "Email address",
|
|
779
|
+
formDob: "Enter your date of birth",
|
|
780
|
+
formDobInfo: "This helps us calculate exact planetary position in your birth chart",
|
|
781
|
+
formBirthTime: "Enter your birth time",
|
|
782
|
+
formBirthTimeInfo: "This helps us calculate exact planetary position in your birth chart",
|
|
783
|
+
formBirthTimeUnknownLine1: "Don't know your exact birth time?",
|
|
784
|
+
formBirthTimeUnknownLine2: "We can analyze with 80% accuracy",
|
|
785
|
+
formBirthPlace: "Enter your birth place",
|
|
786
|
+
formBirthPlaceInfo: "This helps us calculate exact planetary position in your birth chart",
|
|
787
|
+
formBirthPlacePlaceholder: "City, State",
|
|
788
|
+
formReportLanguage: "Report Language",
|
|
789
|
+
formReportLanguageHindi: "Hindi",
|
|
790
|
+
formReportLanguageEnglish: "English",
|
|
791
|
+
formReportLanguageTelugu: "Telugu",
|
|
792
|
+
formReportLanguageTamil: "Tamil",
|
|
793
|
+
formReportLanguageKannada: "Kannada",
|
|
794
|
+
formReportLanguageGujarati: "Gujarati",
|
|
795
|
+
formReportLanguageMarathi: "Marathi",
|
|
796
|
+
formOfferEnding: "The offer is ending soon",
|
|
797
|
+
formDiscountPill: "75% discount",
|
|
798
|
+
formCtaDefault: "Get my detailed Kundli",
|
|
799
|
+
formProceed: "Proceed to payment ",
|
|
800
|
+
formOriginalPrice: "$100",
|
|
801
|
+
formDiscountedPrice: "$25",
|
|
802
|
+
formPriceAria: "Price",
|
|
803
|
+
proceedWithPlan: "Proceed with plan ",
|
|
804
|
+
// Kundli Plan Bottom Sheet
|
|
805
|
+
planSheetTitle: "Choose Your Kundli Plan",
|
|
806
|
+
planProceedToPayment: "Proceed to Payment",
|
|
807
|
+
planMostPopular: "Most popular",
|
|
808
|
+
planAstrologerHeading: "We will assign you a top astrologer from below",
|
|
809
|
+
planNameBasic: "Kundli Report",
|
|
810
|
+
planNameGuidance: "Kundli Report + Astrologer Guidance",
|
|
811
|
+
planSaveLabel: "Save ~25%",
|
|
812
|
+
// Consultation Slot Modal
|
|
813
|
+
planSelectConsultationSlot: "Select consultation slot →",
|
|
814
|
+
planConsultationSlotTitle: "Select consultation slot",
|
|
815
|
+
planConsultationTrustLabel: "3,750+ people have booked consultation",
|
|
816
|
+
planConsultationLanguageLabel: "Your consultation language",
|
|
817
|
+
planReportReadyPrefix: "Your Report will be ready in",
|
|
818
|
+
planReportReadyDuration: "24-48 hours",
|
|
819
|
+
planReportReadySuffix: "from today",
|
|
820
|
+
planSelectSlotHeading: "Book your preferred consultation slot",
|
|
821
|
+
planSlotsLoadError: "Couldn't load slots. Please try again.",
|
|
822
|
+
planRetry: "Retry",
|
|
823
|
+
planNoSlotsAvailableTitle: "No slots available",
|
|
824
|
+
planNoSlotsAvailableSubtitle: "Try a different consultation language above, or check back soon.",
|
|
825
|
+
planGuidanceHeading: "What would you like guidance on?",
|
|
826
|
+
planPeriodMorning: "Morning",
|
|
827
|
+
planPeriodAfternoon: "Afternoon",
|
|
828
|
+
planPeriodEvening: "Evening",
|
|
829
|
+
planPeriodEveningNight: "Evening/Night",
|
|
830
|
+
planTopicCareerWork: "Career & work",
|
|
831
|
+
planTopicHealthWellbeing: "Health & wellbeing",
|
|
832
|
+
planTopicLoveMarriage: "Love & marriage",
|
|
833
|
+
planTopicMoneyFinance: "Money & finance",
|
|
834
|
+
planGuidanceContinue: "Continue",
|
|
835
|
+
// Plan Features
|
|
836
|
+
planFeatureDetailedInsights: "Detailed insights on love, marriage, career, health & finances",
|
|
837
|
+
planFeaturePracticalRemedies: "Practical remedies like gemstones, rudraksha & mantras",
|
|
838
|
+
planFeatureClearLanguage: "Written in clear, easy-to-understand language by expert astrologers",
|
|
839
|
+
planFeatureAstrologyConsultant: "Astrology consultant",
|
|
840
|
+
planFeaturePersonalizedReading: "Personalized reading",
|
|
841
|
+
planFeatureIncludesPremium: "Includes everything in the Premium Personalized Kundli",
|
|
842
|
+
planFeaturePlusConsultation: "PLUS: A 30-minute private consultation with an expert astrologer",
|
|
843
|
+
planFeatureRealTimeAnswers: "Get real-time answers & guidance for your biggest life concerns",
|
|
844
|
+
planFeatureTailoredRemedies: "Remedies & timelines tailored to your unique birth chart",
|
|
845
|
+
// Astrologer Card
|
|
846
|
+
planAstrologerExp: "{{years}} Years of experience",
|
|
847
|
+
planAstrologerCertCertifiedJyotish: "Certified Jyotish Acharya",
|
|
848
|
+
planAstrologerCertAccurateSolutions: "Guaranteed accurate solutions",
|
|
849
|
+
planAstrologerCertVedicAstrology: "12+ Years Vedic Astrology",
|
|
850
|
+
planAstrologerCertResultOriented: "Result-Oriented Solutions",
|
|
851
|
+
planAstrologerCertBhuCertified: "BHU Certified Vedic Astrologer",
|
|
852
|
+
planAstrologerCertMantraRudraksha: "Mantra & Rudraksha Specialist",
|
|
853
|
+
planAstrologerCertKundliBhavfal: "Kundli Report & Bhavfal Specialist",
|
|
854
|
+
planAstrologerCertAccurateKundliMatching: "Accurate Kundli Matching",
|
|
855
|
+
//astro name
|
|
856
|
+
planAstrologerNameJyoti: "Jyoti Acharya Neeraj",
|
|
857
|
+
planAstrologerExpJyoti: "18+ Years of experience",
|
|
858
|
+
planAstrologerNameSamiksha: "Ashwini",
|
|
859
|
+
planAstrologerExpSamiksha: "12+ Years of experience",
|
|
860
|
+
planAstrologerNameNeeraj: "Meenakshi",
|
|
861
|
+
planAstrologerExpNeeraj: "12+ Years of experience",
|
|
862
|
+
planAstrologerNameAshwini: "Astro Ashwini",
|
|
863
|
+
planAstrologerExpAshwini: "16 Years of experience",
|
|
864
|
+
and: "And",
|
|
865
|
+
astrologyGuidance: "Astrology Guidance",
|
|
866
|
+
selectPackage: "Select Package"
|
|
867
|
+
},
|
|
868
|
+
hi: {
|
|
869
|
+
kundli: "कुंडली",
|
|
870
|
+
birthChart: "जन्म कुंडली",
|
|
871
|
+
details: "विवरण",
|
|
872
|
+
name: "नाम",
|
|
873
|
+
birthDate: "जन्म तिथि",
|
|
874
|
+
guest: "अतिथि",
|
|
875
|
+
description: "आपकी जन्म कुंडली आपके जन्म के समय ग्रहों की स्थिति और आपके जीवन पर उनके प्रभाव को दर्शाती है।",
|
|
876
|
+
lagna: "लग्न",
|
|
877
|
+
rashi: "राशि",
|
|
878
|
+
nakshatra: "नक्षत्र",
|
|
879
|
+
language: "भाषा",
|
|
880
|
+
sriMandir: "श्री मंदिर",
|
|
881
|
+
ratingText: "4.9/5 (8 लाख Google Playstore)",
|
|
882
|
+
heroTitle: "अपनी प्रीमियम व्यक्तिगत कुंडली रिपोर्ट प्राप्त करें",
|
|
883
|
+
heroSubtitle: "यह प्रीमियम व्यक्तिगत कुंडली रिपोर्ट आपको प्रमुख जीवन मुद्दों के जवाब खोजने में मदद करती है।",
|
|
884
|
+
topicMarriage: "विवाह",
|
|
885
|
+
topicRelationship: "रिश्ता",
|
|
886
|
+
topicBusiness: "व्यवसाय",
|
|
887
|
+
topicHealth: "स्वास्थ्य",
|
|
888
|
+
topicCareer: "करियर",
|
|
889
|
+
topicEducation: "शिक्षा",
|
|
890
|
+
topicMoney: "पैसा",
|
|
891
|
+
premiumHeadline: "200+ पृष्ठ प्रीमियम व्यक्तिगत कुंडली रिपोर्ट",
|
|
892
|
+
premiumHeadlinePill1: "200+ पृष्ठ",
|
|
893
|
+
premiumHeadlinePlain1: "प्रीमियम",
|
|
894
|
+
premiumHeadlinePlain2: "व्यक्तिगत",
|
|
895
|
+
premiumHeadlinePill2: "कुंडली रिपोर्ट",
|
|
896
|
+
premiumFeature1: "वैदिक जन्म कुंडली",
|
|
897
|
+
premiumFeature2: "भाग्य जानकारी",
|
|
898
|
+
premiumFeature3: "प्रमुख जीवन मुद्दे",
|
|
899
|
+
premiumFeature4: "व्यावहारिक उपाय",
|
|
900
|
+
certifiedBy: "BHU और VHU ज्योतिषियों द्वारा प्रमाणित",
|
|
901
|
+
yourThreeSteps: "आपके 3 कदम",
|
|
902
|
+
threeStepsSubtitle: "प्रीमियम व्यक्तिगत कुंडली रिपोर्ट",
|
|
903
|
+
step1: "अपनी जानकारी दर्ज करें",
|
|
904
|
+
step2: "आपकी कुंडली विशेषज्ञों द्वारा बनाई जाएगी",
|
|
905
|
+
step3Intro: "आपको व्हाट्सएप पर अपनी कुंडली रिपोर्ट मिलेगी",
|
|
906
|
+
step3IntroGlobal: "आपको अपने ईमेल पर अपनी कुंडली रिपोर्ट मिलेगी",
|
|
907
|
+
step3IntroDomestic: "आपको व्हाट्सएप पर अपनी कुंडली रिपोर्ट मिलेगी",
|
|
908
|
+
step3Days: "2 दिनों में",
|
|
909
|
+
viewSampleReport: "नमूना कुंडली रिपोर्ट देखें",
|
|
910
|
+
sampleReportModalTitle: "नमूना कुंडली रिपोर्ट",
|
|
911
|
+
whatYoullFindTitle: "आपकी कुंडली रिपोर्ट में क्या मिलेगा?",
|
|
912
|
+
findDasha: "दोष और दशा का विश्लेषण",
|
|
913
|
+
findDashaDesc: "मुख्य दोष, दशा काल और सरल उपायों की पहचान करें",
|
|
914
|
+
findYoga: "सभी योग रिपोर्ट्स",
|
|
915
|
+
findYogaDesc: "अपनी कुंडली रिपोर्ट में उन योगों को जानें जो धन, करियर और संबंधों को प्रभावित करते हैं",
|
|
916
|
+
findGemstone: "रत्न सिफारिशें",
|
|
917
|
+
findGemstoneDesc: "आपकी कुंडली रिपोर्ट के आधार पर पर्सनलाइज्ड रत्न मार्गदर्शन",
|
|
918
|
+
findPooja: "पूजा सिफारिशें",
|
|
919
|
+
findPoojaDesc: "ग्रहों के प्रभाव को संतुलित करने के लिए पूजा और अनुष्ठान सुझाव",
|
|
920
|
+
findMonthly: "मासिक भविष्यवाणियाँ (1 वर्ष)",
|
|
921
|
+
findMonthlyDesc: "आने वाले वर्ष के लिए महीने-दर-महीने मार्गदर्शन",
|
|
922
|
+
findStrength: "भावबल ग्राफ",
|
|
923
|
+
findStrengthDesc: "ग्रहों की ताकत और प्रभाव दिखाने वाले दृश्य चार्ट",
|
|
924
|
+
whyUsTitle: "क्यों हम?",
|
|
925
|
+
whyUsSubtitle: "शुरू करने के लिए फॉर्म भरें और अपना भाग्य खोलें!",
|
|
926
|
+
whyUs1: "3,00,000+ कुंडली रिपोर्ट बनाई गई",
|
|
927
|
+
whyUs2: "1,000+ शीर्ष ज्योतिषी भागीदार",
|
|
928
|
+
whyUs3: "500+ मंदिर भागीदारी",
|
|
929
|
+
whyUs4: "व्यक्तिगत खंडवार जीवन विश्लेषण",
|
|
930
|
+
feedbackTitle: "हमारे उपयोगकर्ताओं की प्रतिक्रिया",
|
|
931
|
+
feedbackTrust: "दुनिया भर में 5 करोड़ से अधिक उपयोगकर्ताओं द्वारा विश्वसनीय",
|
|
932
|
+
feedbackRating: "4.9",
|
|
933
|
+
feedbackTestimonial1: "डिटेल्ड कुंडली रिपोर्ट मिली, जीवन में काफी क्लैरिटी आई।",
|
|
934
|
+
feedbackTestimonial2: "करियर और शादी दोनों पर साफ मार्गदर्शन मिला।",
|
|
935
|
+
feedbackTestimonial3: "आगे क्या करना है, उसकी साफ दिशा मिली।",
|
|
936
|
+
feedbackTestimonial4: "रिपोर्ट से ज़्यादातर डाउट्स क्लियर हो गए।",
|
|
937
|
+
feedbackTestimonial5: "फ्यूचर प्लानिंग के लिए अच्छे सुझाव मिले।",
|
|
938
|
+
feedbackTestimonial6: "सभी ज़रूरी चीज़ें अच्छे से कवर की गई हैं।",
|
|
939
|
+
feedbackTestimonial7: "एनालिसिस काफी डीप है, ऊपर-ऊपर का नहीं।",
|
|
940
|
+
feedbackTestimonial8: "कुंडली के सुझावों से फ्यूचर डिसीजन क्लियर हुए।",
|
|
941
|
+
feedbackTestimonial9: "मैंने पहले भी कई सामान्य ज्योतिष रिपोर्ट देखी थीं, लेकिन यह कुंडली रिपोर्ट अलग लगी। इसमें मेरी ज़िंदगी की परेशानियों, सोचने के तरीके और पिछले कुछ सालों की स्थितियों को बहुत सही तरीके से बताया गया था। कई बातें पढ़कर ऐसा लगा जैसे किसी ने मेरी हालत को पहले से समझ लिया हो। सबसे खास बात यह थी कि सब कुछ साफ़ और समझने वाली भाषा में लिखा था, जिससे भरोसा और बढ़ गया।",
|
|
942
|
+
feedbackTestimonial10: "मैंने यह कुंडली रिपोर्ट सिर्फ़ जिज्ञासा में ली थी, लेकिन पढ़ने के बाद सच में हैरान रह गया। मेरे काम में रुकावट, मन का असमंजस और फैसले लेने की परेशानी जैसी बातें बिल्कुल सही बताई गई थीं। ऐसा लगा जैसे मेरी ज़िंदगी की असली स्थिति को ठीक से समझकर लिखा गया हो। रिपोर्ट पढ़कर कई चीज़ें साफ़ समझ में आने लगीं।",
|
|
943
|
+
feedbackTestimonial11: "बहुत ही विस्तार से बनी हुई कुंडली रिपोर्ट थी। इसमें मेरे स्वभाव, सोच और जिन समस्याओं से मैं गुजर रहा था, उन सबका ज़िक्र था। कुछ बातें इतनी मिलती-जुलती थीं कि पढ़कर सच में आश्चर्य हुआ। यह सिर्फ़ सामान्य जानकारी नहीं थी, बल्कि मेरी अपनी ज़िंदगी से जुड़ी हुई लगी।",
|
|
944
|
+
feedbackTestimonial12: "सच कहूँ तो मुझे ज़्यादा उम्मीद नहीं थी, लेकिन रिपोर्ट पढ़ने के बाद नज़रिया बदल गया। इसमें मेरे व्यक्तित्व, काम के उतार-चढ़ाव और मन की उलझनों को बहुत सही तरीके से समझाया गया था। कई हिस्से ऐसे थे जो मेरी वर्तमान स्थिति से बिल्कुल मेल खाते थे। पूरा पढ़ने के बाद लगा कि यह रिपोर्ट सच में मेरे लिए ही बनाई गई है।",
|
|
945
|
+
feedbackTestimonial13: "मैंने कुंडली रिपोर्ट घरवालों के कहने पर ली थी, लेकिन पढ़ने के बाद खुद हैरान रह गया। मेरे स्वभाव, पिछले अनुभवों और चल रही परेशानियों के बारे में कई बातें बिल्कुल सही निकलीं। ऐसा लगा जैसे किसी ने मेरी ज़िंदगी को ध्यान से समझकर लिखा हो। इस वजह से रिपोर्ट पर भरोसा अपने-आप बन गया।",
|
|
946
|
+
feedbackTestimonial14: "आसान भाषा में पूरा डिटेल्ड एनालिसिस दिया है।",
|
|
947
|
+
feedbackTestimonial15: "दशा और टाइमिंग की जानकारी बहुत काम की थी।",
|
|
948
|
+
feedbackAuthor1: "आरव",
|
|
949
|
+
feedbackAuthor2: "विवान",
|
|
950
|
+
feedbackAuthor3: "अर्जुन",
|
|
951
|
+
feedbackAuthor4: "कबीर",
|
|
952
|
+
feedbackAuthor5: "रोहन",
|
|
953
|
+
feedbackAuthor6: "ईशान",
|
|
954
|
+
feedbackAuthor7: "कृष",
|
|
955
|
+
feedbackAuthor8: "राहुल",
|
|
956
|
+
feedbackAuthor9: "अनन्या",
|
|
957
|
+
feedbackAuthor10: "आध्या",
|
|
958
|
+
feedbackAuthor11: "काव्या",
|
|
959
|
+
feedbackAuthor12: "दिया",
|
|
960
|
+
feedbackAuthor13: "मीरा",
|
|
961
|
+
feedbackAuthor14: "पूजा",
|
|
962
|
+
feedbackAuthor15: "निशा",
|
|
963
|
+
feedbackAuthor1AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639271096.png",
|
|
964
|
+
feedbackAuthor2AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639330970.png",
|
|
965
|
+
feedbackAuthor3AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639345411.png",
|
|
966
|
+
feedbackAuthor4AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639358174.png",
|
|
967
|
+
feedbackAuthor5AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639369712.png",
|
|
968
|
+
feedbackAuthor6AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639381899.png",
|
|
969
|
+
feedbackAuthor7AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639442858.png",
|
|
970
|
+
feedbackAuthor8AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639454626.png",
|
|
971
|
+
feedbackAuthor9AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639254172.png",
|
|
972
|
+
feedbackAuthor10AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639293055.png",
|
|
973
|
+
feedbackAuthor11AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639306698.png",
|
|
974
|
+
feedbackAuthor12AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639319028.png",
|
|
975
|
+
feedbackAuthor13AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639402894.png",
|
|
976
|
+
feedbackAuthor14AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639416587.png",
|
|
977
|
+
feedbackAuthor15AvatarUrl: "https://srm-cdn.a4b.io/yoda/1770639427379.png",
|
|
978
|
+
readMoreReviews: "और समीक्षाएं पढ़ें",
|
|
979
|
+
readLess: "कम पढ़ें",
|
|
980
|
+
faqTitle: "अक्सर पूछे जाने वाले प्रश्न",
|
|
981
|
+
faqQ1: "मुझे अपनी कुंडली रिपोर्ट कैसे मिलेगी?",
|
|
982
|
+
faqQ2: "क्या प्रीमियम पर्सनलाइज्ड कुंडली किसी और भाषा में उपलब्ध है?",
|
|
983
|
+
faqQ3: "अगर मुझे अपने जन्म का समय नहीं पता हो तो?",
|
|
984
|
+
faqA1Global: "आपको 2 दिनों के भीतर आपके साझा किए गए ईमेल आईडी पर आपकी प्रीमियम पर्सनलाइज्ड कुंडली रिपोर्ट मिल जाएगी।",
|
|
985
|
+
faqA1Domestic: "आपको 2 दिनों के भीतर आपके साझा किए गए व्हाट्सऐप नंबर पर आपकी प्रीमियम पर्सनलाइज्ड कुंडली रिपोर्ट मिल जाएगी।",
|
|
986
|
+
faqA2: "हाँ, हम रिपोर्ट हिंदी और अंग्रेज़ी भाषाओं में प्रदान करते हैं।",
|
|
987
|
+
faqA3: "सही जन्म समय से रिपोर्ट और अधिक सटीक बनती है। फिर भी, बिना सटीक समय के हम लगभग 80% सटीक रिपोर्ट तैयार कर सकते हैं।",
|
|
988
|
+
contactTitle: "संपर्क करें",
|
|
989
|
+
contactBrandName: "श्री मंदिर",
|
|
990
|
+
contactWhatsAppGlobal: "व्हाट्सएप: 8296947757",
|
|
991
|
+
contactWhatsAppDomestic: "व्हाट्सएप: 08071174417",
|
|
992
|
+
contactEmail: "ईमेल: pujaseva@appsforbharat.com",
|
|
993
|
+
ctaKundliCreated: "3L+ कुंडली रिपोर्ट बनाई।",
|
|
994
|
+
ctaCertified: "BHU प्रमाणित ज्योतिषी।",
|
|
995
|
+
ctaSecurePayment: "सुरक्षित भुगतान।",
|
|
996
|
+
ctaButton: "$300 $25 में मेरी विस्तृत कुंडली प्राप्त करें",
|
|
997
|
+
ctaButtonStruck: "$100",
|
|
998
|
+
ctaButtonBefore: "मेरा विस्तृत कुंडली प्राप्त करें ",
|
|
999
|
+
ctaButtonAfter: "$25 में मेरी विस्तृत कुंडली प्राप्त करें",
|
|
1000
|
+
// Kundli form (from incoming branch)
|
|
1001
|
+
back: "वापस",
|
|
1002
|
+
info: "जानकारी",
|
|
1003
|
+
formTitle: "अपनी जानकारी दर्ज करें",
|
|
1004
|
+
formSubtitle: "शुरू करने के लिए नीचे दिया गया फॉर्म भरें और अपना भाग्य खोलें!",
|
|
1005
|
+
formFullName: "अपना पूरा नाम दर्ज करें",
|
|
1006
|
+
formFullNamePlaceholder: "पूरा नाम",
|
|
1007
|
+
formPhone: "अपना फोन नंबर दर्ज करें",
|
|
1008
|
+
formPhonePlaceholder: "फोन नंबर",
|
|
1009
|
+
formGurujiTitle: "मुफ्त 1:1 ज्योतिषी परामर्श",
|
|
1010
|
+
formGurujiSubtitle: "एक प्रमाणित ज्योतिषी द्वारा आपके लिए व्यक्तिगत रूप से तैयार की गई व्याख्या प्राप्त करें",
|
|
1011
|
+
formGender: "आपका लिंग",
|
|
1012
|
+
formGenderMale: "पुरुष",
|
|
1013
|
+
formGenderFemale: "महिला",
|
|
1014
|
+
formEmail: "अपना ईमेल पता दर्ज करें",
|
|
1015
|
+
formEmailHelp: "आपकी कुंडली रिपोर्ट आपके ईमेल पर भेजी जाएगी",
|
|
1016
|
+
formEmailPlaceholder: "ईमेल पता",
|
|
1017
|
+
formDob: "अपनी जन्म तिथि दर्ज करें",
|
|
1018
|
+
formDobInfo: "यह आपके जन्म कुंडली में ग्रहों की सटीक स्थिति की गणना करने में हमारी सहायता करता है।",
|
|
1019
|
+
formBirthTime: "अपना जन्म समय दर्ज करें",
|
|
1020
|
+
formBirthTimeInfo: "यह आपके जन्म कुंडली में ग्रहों की सटीक स्थिति की गणना करने में हमारी सहायता करता है।",
|
|
1021
|
+
formBirthTimeUnknownLine1: "क्या आपको अपना सटीक जन्म समय नहीं पता?",
|
|
1022
|
+
formBirthTimeUnknownLine2: "हम 80% सटीकता के साथ विश्लेषण कर सकते हैं",
|
|
1023
|
+
formBirthPlace: "अपना जन्म स्थान दर्ज करें",
|
|
1024
|
+
formBirthPlaceInfo: "यह आपके जन्म कुंडली में ग्रहों की सटीक स्थिति की गणना करने में हमारी सहायता करता है।",
|
|
1025
|
+
formBirthPlacePlaceholder: "शहर, राज्य",
|
|
1026
|
+
formReportLanguage: "रिपोर्ट भाषा",
|
|
1027
|
+
formReportLanguageHindi: "हिंदी",
|
|
1028
|
+
formReportLanguageEnglish: "अंग्रेज़ी",
|
|
1029
|
+
formReportLanguageTelugu: "तेलुगु",
|
|
1030
|
+
formReportLanguageTamil: "तमिल",
|
|
1031
|
+
formReportLanguageKannada: "कन्नड़",
|
|
1032
|
+
formReportLanguageGujarati: "गुजराती",
|
|
1033
|
+
formReportLanguageMarathi: "मराठी",
|
|
1034
|
+
formOfferEnding: "ऑफर जल्द खत्म हो रहा है",
|
|
1035
|
+
formDiscountPill: "75% छूट",
|
|
1036
|
+
formCtaDefault: "मेरी विस्तृत कुंडली प्राप्त करें",
|
|
1037
|
+
formProceed: "भुगतान के लिए आगे बढ़ें",
|
|
1038
|
+
formOriginalPrice: "$100",
|
|
1039
|
+
formDiscountedPrice: "$25",
|
|
1040
|
+
formPriceAria: "कीमत",
|
|
1041
|
+
proceedWithPlan: "योजना के साथ आगे बढ़ें ",
|
|
1042
|
+
// Kundli Plan Bottom Sheet
|
|
1043
|
+
planSheetTitle: "अपना कुंडली प्लान चुनें",
|
|
1044
|
+
planProceedToPayment: "पेमेंट के लिए आगे बढ़ें",
|
|
1045
|
+
planMostPopular: "सबसे लोकप्रिय",
|
|
1046
|
+
planAstrologerHeading: "हम आपके लिए नीचे दिए गए टॉप ज्योतिषियों में से एक को चुनेंगे",
|
|
1047
|
+
planNameBasic: "कुंडली रिपोर्ट",
|
|
1048
|
+
planNameGuidance: "कुंडली रिपोर्ट + ज्योतिषी से बात",
|
|
1049
|
+
planSaveLabel: "~25% बचाएं",
|
|
1050
|
+
// Consultation Slot Modal
|
|
1051
|
+
planSelectConsultationSlot: "परामर्श स्लॉट चुनें →",
|
|
1052
|
+
planConsultationSlotTitle: "परामर्श स्लॉट चुनें",
|
|
1053
|
+
planConsultationTrustLabel: "3,750+ लोगों ने परामर्श बुक किया है",
|
|
1054
|
+
planConsultationLanguageLabel: "आपकी परामर्श भाषा",
|
|
1055
|
+
planReportReadyPrefix: "आपकी रिपोर्ट",
|
|
1056
|
+
planReportReadyDuration: "24-48 घंटों",
|
|
1057
|
+
planReportReadySuffix: "में आज से तैयार हो जाएगी",
|
|
1058
|
+
planSelectSlotHeading: "अपना पसंदीदा परामर्श स्लॉट बुक करें",
|
|
1059
|
+
planSlotsLoadError: "स्लॉट लोड नहीं हो सके। कृपया फिर से कोशिश करें।",
|
|
1060
|
+
planRetry: "फिर से कोशिश करें",
|
|
1061
|
+
planNoSlotsAvailableTitle: "कोई स्लॉट उपलब्ध नहीं है",
|
|
1062
|
+
planNoSlotsAvailableSubtitle: "ऊपर दी गई किसी दूसरी परामर्श भाषा को चुनें, या थोड़ी देर बाद फिर से देखें।",
|
|
1063
|
+
planGuidanceHeading: "आप किस बारे में सलाह चाहते हैं?",
|
|
1064
|
+
planPeriodMorning: "सुबह",
|
|
1065
|
+
planPeriodAfternoon: "दोपहर",
|
|
1066
|
+
planPeriodEvening: "शाम",
|
|
1067
|
+
planPeriodEveningNight: "शाम/रात",
|
|
1068
|
+
planTopicCareerWork: "करियर और काम",
|
|
1069
|
+
planTopicHealthWellbeing: "सेहत और खुशहाली",
|
|
1070
|
+
planTopicLoveMarriage: "प्यार और शादी",
|
|
1071
|
+
planTopicMoneyFinance: "पैसा और वित्त",
|
|
1072
|
+
planGuidanceContinue: "जारी रखें",
|
|
1073
|
+
// Plan Features
|
|
1074
|
+
planFeatureDetailedInsights: "प्यार, शादी, करियर, सेहत और पैसों के बारे में पूरी जानकारी",
|
|
1075
|
+
planFeaturePracticalRemedies: "रत्न, रुद्राक्ष और मंत्र जैसे आसान उपाय",
|
|
1076
|
+
planFeatureClearLanguage: "ज्योतिषियों द्वारा आसान भाषा में लिखी गई",
|
|
1077
|
+
planFeatureAstrologyConsultant: "ज्योतिषी से बात नहीं होगी",
|
|
1078
|
+
planFeaturePersonalizedReading: "आपके लिए खास रीडिंग",
|
|
1079
|
+
planFeatureIncludesPremium: "प्रीमियम कुंडली रिपोर्ट में जो कुछ भी है, सब मिलेगा",
|
|
1080
|
+
planFeaturePlusConsultation: "साथ ही: एक अनुभवी ज्योतिषी से 30 मिनट की प्राइवेट बात",
|
|
1081
|
+
planFeatureRealTimeAnswers: "अपनी सबसे बड़ी परेशानियों का सीधा जवाब और सही सलाह पाएं",
|
|
1082
|
+
planFeatureTailoredRemedies: "आपकी कुंडली के हिसाब से उपाय और सही समय की जानकारी",
|
|
1083
|
+
// Astrologer Card
|
|
1084
|
+
planAstrologerExp: "साल का अनुभव",
|
|
1085
|
+
planAstrologerCertCertifiedJyotish: "प्रमाणित ज्योतिष आचार्य",
|
|
1086
|
+
planAstrologerCertAccurateSolutions: "सटीक समाधान की गारंटी",
|
|
1087
|
+
planAstrologerCertVedicAstrology: "12+ साल का वैदिक ज्योतिष",
|
|
1088
|
+
planAstrologerCertResultOriented: "नतीजों पर आधारित समाधान",
|
|
1089
|
+
planAstrologerCertBhuCertified: "BHU से प्रमाणित वैदिक ज्योतिषी",
|
|
1090
|
+
planAstrologerCertMantraRudraksha: "मंत्र और रुद्राक्ष विशेषज्ञ",
|
|
1091
|
+
planAstrologerCertKundliBhavfal: "कुंडली रिपोर्ट और भावफल विशेषज्ञ",
|
|
1092
|
+
planAstrologerCertAccurateKundliMatching: "महर्षि पराशर ज्योतिष विद्यालय से प्रशिक्षित",
|
|
1093
|
+
//astro name
|
|
1094
|
+
planAstrologerNameJyoti: "ज्योतिष आचार्य नीरज",
|
|
1095
|
+
planAstrologerExpJyoti: "18+ साल का अनुभव",
|
|
1096
|
+
planAstrologerNameSamiksha: "अश्विनी",
|
|
1097
|
+
planAstrologerExpSamiksha: "12+ साल का अनुभव",
|
|
1098
|
+
planAstrologerNameNeeraj: "मीनाक्षी",
|
|
1099
|
+
planAstrologerExpNeeraj: "12+ साल का अनुभव",
|
|
1100
|
+
planAstrologerNameAshwini: "ज्योतिष अश्विनी",
|
|
1101
|
+
planAstrologerExpAshwini: "16 साल का अनुभव",
|
|
1102
|
+
and: "और",
|
|
1103
|
+
astrologyGuidance: "ज्योतिष से सलाह",
|
|
1104
|
+
selectPackage: "पैकेज चुनें"
|
|
1105
|
+
}
|
|
1106
|
+
}, St = wt(null), pi = ({
|
|
1107
|
+
locale: a,
|
|
1108
|
+
children: r
|
|
1109
|
+
}) => {
|
|
1110
|
+
const p = { locale: a, t: (d) => Tt[a]?.[d] };
|
|
1111
|
+
return /* @__PURE__ */ e.jsx(St.Provider, { value: p, children: r });
|
|
1112
|
+
};
|
|
1113
|
+
function ma() {
|
|
1114
|
+
return ot(St);
|
|
1115
|
+
}
|
|
1116
|
+
const qe = (a) => {
|
|
1117
|
+
const { priority: r, fetchPriority: s, width: p, height: d, ...g } = a;
|
|
1118
|
+
return rt.createElement("img", {
|
|
1119
|
+
...g,
|
|
1120
|
+
width: p ?? 1,
|
|
1121
|
+
height: d ?? 1,
|
|
1122
|
+
decoding: "async",
|
|
1123
|
+
loading: g.loading ?? (r ? "eager" : "lazy"),
|
|
1124
|
+
...s && { fetchPriority: s }
|
|
1125
|
+
});
|
|
1126
|
+
};
|
|
1127
|
+
function ha(a) {
|
|
1128
|
+
if (typeof window > "u" || !window.localStorage)
|
|
1129
|
+
return null;
|
|
1130
|
+
try {
|
|
1131
|
+
return window.localStorage.getItem(a);
|
|
1132
|
+
} catch {
|
|
1133
|
+
return null;
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
function ga(a, r) {
|
|
1137
|
+
if (!(typeof window > "u" || !window.localStorage))
|
|
1138
|
+
try {
|
|
1139
|
+
window.localStorage.setItem(a, r);
|
|
1140
|
+
} catch {
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
function mi(a) {
|
|
1144
|
+
if (!(typeof window > "u" || !window.localStorage))
|
|
1145
|
+
try {
|
|
1146
|
+
window.localStorage.removeItem(a);
|
|
1147
|
+
} catch {
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
function hi() {
|
|
1151
|
+
if (typeof window > "u" || !window.localStorage)
|
|
1152
|
+
return !1;
|
|
1153
|
+
try {
|
|
1154
|
+
const a = "__kundli_storage_test__";
|
|
1155
|
+
return window.localStorage.setItem(a, "1"), window.localStorage.removeItem(a), !0;
|
|
1156
|
+
} catch {
|
|
1157
|
+
return !1;
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
const Ct = "kundli_language";
|
|
1161
|
+
function fa() {
|
|
1162
|
+
const a = ha(Ct);
|
|
1163
|
+
return a && jt.includes(a) ? a : null;
|
|
1164
|
+
}
|
|
1165
|
+
function _a(a) {
|
|
1166
|
+
ga(Ct, a);
|
|
1167
|
+
}
|
|
1168
|
+
const it = wt(null), ba = {
|
|
1169
|
+
fullName: "",
|
|
1170
|
+
phone: "",
|
|
1171
|
+
phoneCountryCode: "",
|
|
1172
|
+
gender: "",
|
|
1173
|
+
email: "",
|
|
1174
|
+
language_code: "",
|
|
1175
|
+
dateOfBirth: "",
|
|
1176
|
+
birthTime: "",
|
|
1177
|
+
birthTimeUnknown: !1,
|
|
1178
|
+
birthPlace: ""
|
|
1179
|
+
}, gi = ({
|
|
1180
|
+
locale: a,
|
|
1181
|
+
showLanguageSelector: r = !0,
|
|
1182
|
+
showSheet: s,
|
|
1183
|
+
userId: p,
|
|
1184
|
+
isGlobal: d,
|
|
1185
|
+
variant: g,
|
|
1186
|
+
initialFormValues: b,
|
|
1187
|
+
autoOpenPlanSheet: j,
|
|
1188
|
+
googleMapsApiKey: y,
|
|
1189
|
+
atlasSearchLocalities: q,
|
|
1190
|
+
googleMapsAutocompleteEnabled: M,
|
|
1191
|
+
enableConsultationScheduling: N,
|
|
1192
|
+
fetchConsultationSlots: m,
|
|
1193
|
+
logoUrl: P,
|
|
1194
|
+
reportImageUrl: v,
|
|
1195
|
+
reportImagePriority: J,
|
|
1196
|
+
backgroundImagePriority: x,
|
|
1197
|
+
universityLogoUrls: k,
|
|
1198
|
+
sampleReportHref: C,
|
|
1199
|
+
onViewSampleReport: oe,
|
|
1200
|
+
ctaHref: S,
|
|
1201
|
+
onCtaClick: V,
|
|
1202
|
+
onBack: A,
|
|
1203
|
+
readMoreReviewsHref: G,
|
|
1204
|
+
onProceed: R,
|
|
1205
|
+
proceedHref: $,
|
|
1206
|
+
originalPriceLabel: ee,
|
|
1207
|
+
discountedPriceLabel: te,
|
|
1208
|
+
discountPillLabel: E,
|
|
1209
|
+
analytics: I,
|
|
1210
|
+
onProceedGuidance: U,
|
|
1211
|
+
onLocaleChange: Q,
|
|
1212
|
+
imageComponent: D = qe,
|
|
1213
|
+
resolvedUtmBannerImageUrl: _e,
|
|
1214
|
+
children: ie
|
|
1215
|
+
}) => {
|
|
1216
|
+
const [de, ue] = B("landing"), [X, Te] = B(a ?? "en"), [ke, Re] = B({
|
|
1217
|
+
...ba,
|
|
1218
|
+
...b
|
|
1219
|
+
}), ge = F(!0);
|
|
1220
|
+
Y(() => {
|
|
1221
|
+
const ne = fa();
|
|
1222
|
+
ne && Te(ne);
|
|
1223
|
+
}, []), Y(() => {
|
|
1224
|
+
_a(X);
|
|
1225
|
+
}, [X]), Y(() => {
|
|
1226
|
+
if (ge.current) {
|
|
1227
|
+
ge.current = !1;
|
|
1228
|
+
return;
|
|
1229
|
+
}
|
|
1230
|
+
Q?.(X);
|
|
1231
|
+
}, [X, Q]);
|
|
1232
|
+
const Z = Ee(
|
|
1233
|
+
() => ({
|
|
1234
|
+
locale: a,
|
|
1235
|
+
showLanguageSelector: r,
|
|
1236
|
+
showSheet: s,
|
|
1237
|
+
userId: p,
|
|
1238
|
+
isGlobal: d,
|
|
1239
|
+
variant: g,
|
|
1240
|
+
initialFormValues: b,
|
|
1241
|
+
autoOpenPlanSheet: j,
|
|
1242
|
+
googleMapsApiKey: y,
|
|
1243
|
+
atlasSearchLocalities: q,
|
|
1244
|
+
googleMapsAutocompleteEnabled: M,
|
|
1245
|
+
enableConsultationScheduling: N,
|
|
1246
|
+
fetchConsultationSlots: m,
|
|
1247
|
+
logoUrl: P,
|
|
1248
|
+
reportImageUrl: v,
|
|
1249
|
+
reportImagePriority: J,
|
|
1250
|
+
backgroundImagePriority: x,
|
|
1251
|
+
universityLogoUrls: k,
|
|
1252
|
+
sampleReportHref: C,
|
|
1253
|
+
onViewSampleReport: oe,
|
|
1254
|
+
ctaHref: S,
|
|
1255
|
+
onCtaClick: V,
|
|
1256
|
+
onBack: A,
|
|
1257
|
+
readMoreReviewsHref: G,
|
|
1258
|
+
onProceed: R,
|
|
1259
|
+
proceedHref: $,
|
|
1260
|
+
originalPriceLabel: ee,
|
|
1261
|
+
discountedPriceLabel: te,
|
|
1262
|
+
discountPillLabel: E,
|
|
1263
|
+
analytics: I,
|
|
1264
|
+
onProceedGuidance: U,
|
|
1265
|
+
onLocaleChange: Q,
|
|
1266
|
+
imageComponent: D,
|
|
1267
|
+
resolvedUtmBannerImageUrl: _e
|
|
1268
|
+
}),
|
|
1269
|
+
[
|
|
1270
|
+
a,
|
|
1271
|
+
r,
|
|
1272
|
+
s,
|
|
1273
|
+
p,
|
|
1274
|
+
d,
|
|
1275
|
+
g,
|
|
1276
|
+
b,
|
|
1277
|
+
j,
|
|
1278
|
+
y,
|
|
1279
|
+
q,
|
|
1280
|
+
M,
|
|
1281
|
+
N,
|
|
1282
|
+
m,
|
|
1283
|
+
P,
|
|
1284
|
+
v,
|
|
1285
|
+
J,
|
|
1286
|
+
x,
|
|
1287
|
+
k,
|
|
1288
|
+
C,
|
|
1289
|
+
oe,
|
|
1290
|
+
S,
|
|
1291
|
+
V,
|
|
1292
|
+
A,
|
|
1293
|
+
G,
|
|
1294
|
+
R,
|
|
1295
|
+
$,
|
|
1296
|
+
ee,
|
|
1297
|
+
te,
|
|
1298
|
+
E,
|
|
1299
|
+
I,
|
|
1300
|
+
U,
|
|
1301
|
+
Q,
|
|
1302
|
+
D,
|
|
1303
|
+
_e
|
|
1304
|
+
]
|
|
1305
|
+
), W = Pe(() => {
|
|
1306
|
+
ue("form");
|
|
1307
|
+
}, [Z.analytics]), fe = Pe(() => {
|
|
1308
|
+
ue("landing"), Z.onBack?.();
|
|
1309
|
+
}, [Z.onBack]), ae = Ee(
|
|
1310
|
+
() => ({
|
|
1311
|
+
view: de,
|
|
1312
|
+
locale: X,
|
|
1313
|
+
setLocale: Te,
|
|
1314
|
+
config: Z,
|
|
1315
|
+
formValues: ke,
|
|
1316
|
+
setFormValues: Re,
|
|
1317
|
+
goToForm: W,
|
|
1318
|
+
goToPage: fe,
|
|
1319
|
+
onProceed: Z.onProceed,
|
|
1320
|
+
onProceedGuidance: Z.onProceedGuidance
|
|
1321
|
+
}),
|
|
1322
|
+
[de, X, Z, ke, W, fe]
|
|
1323
|
+
);
|
|
1324
|
+
return /* @__PURE__ */ e.jsx(it.Provider, { value: ae, children: ie });
|
|
1325
|
+
};
|
|
1326
|
+
function Be() {
|
|
1327
|
+
return ot(it);
|
|
1328
|
+
}
|
|
1329
|
+
function fi() {
|
|
1330
|
+
const a = ot(it);
|
|
1331
|
+
if (!a)
|
|
1332
|
+
throw new Error(
|
|
1333
|
+
"useKundliContextOrThrow must be used within KundliProvider"
|
|
1334
|
+
);
|
|
1335
|
+
return a;
|
|
1336
|
+
}
|
|
1337
|
+
const ya = "_header_19172_1", ka = "_centered_19172_8", kt = {
|
|
1338
|
+
header: ya,
|
|
1339
|
+
centered: ka
|
|
1340
|
+
}, va = ({
|
|
1341
|
+
t: a,
|
|
1342
|
+
onBack: r,
|
|
1343
|
+
className: s = "",
|
|
1344
|
+
align: p = "left"
|
|
1345
|
+
}) => /* @__PURE__ */ e.jsx(
|
|
1346
|
+
zt,
|
|
1347
|
+
{
|
|
1348
|
+
title: a("formTitle"),
|
|
1349
|
+
subtitle: a("formSubtitle"),
|
|
1350
|
+
onBack: r,
|
|
1351
|
+
backAriaLabel: a("back"),
|
|
1352
|
+
className: `${kt.header} ${p === "center" ? kt.centered : ""} ${s}`
|
|
1353
|
+
}
|
|
1354
|
+
), xa = "_wrap_119w3_1", wa = "_card_119w3_5", ja = "_cardInner_119w3_12", Ta = "_field_119w3_44", Sa = "_labelRow_119w3_48", Ca = "_label_119w3_48", Pa = "_req_119w3_57", Aa = "_help_119w3_61", Na = "_choiceRow_119w3_68", Ra = "_choiceBtn_119w3_74", La = "_choiceBtnActive_119w3_99", Ea = "_infoBtn_119w3_105", Ia = "_infoImg_119w3_122", Da = "_infoWrap_119w3_128", Ba = "_tooltip_119w3_134", Oa = "_tooltipArrow_119w3_150", Ma = "_inputWrap_119w3_161", Fa = "_isdWrap_119w3_165", $a = "_phoneInputGroup_119w3_169", Ga = "_isdSelectWrap_119w3_178", Ua = "_isdSelectTrigger_119w3_197", Ka = "_isdDropdown_119w3_214", Wa = "_isdSearchWrap_119w3_229", Ha = "_isdSearchInput_119w3_237", Ya = "_isdOption_119w3_255", qa = "_isdOptionActive_119w3_275", Va = "_isdCountryName_119w3_281", za = "_isdCountryCode_119w3_288", Ja = "_isdNoResult_119w3_295", Qa = "_suggestions_119w3_302", Xa = "_suggestionItem_119w3_315", Za = "_suggestionMain_119w3_333", en = "_suggestionSecondary_119w3_339", tn = "_suggestionsHint_119w3_344", an = "_timePopover_119w3_366", nn = "_timePickerRow_119w3_382", rn = "_timePickerSelect_119w3_388", on = "_timePickerColon_119w3_404", ln = "_meridiemToggle_119w3_412", sn = "_meridiemBtn_119w3_421", cn = "_meridiemActive_119w3_436", dn = "_timePopoverActions_119w3_441", un = "_timePopoverBtn_119w3_447", pn = "_timePopoverOk_119w3_466", mn = "_input_119w3_161", hn = "_phoneInput_119w3_169", gn = "_iconBtn_119w3_519", fn = "_iconBtnInteractive_119w3_525", _n = "_iconImg_119w3_544", bn = "_checkboxRow_119w3_550", yn = "_checkbox_119w3_550", kn = "_checkboxText_119w3_588", o = {
|
|
1355
|
+
wrap: xa,
|
|
1356
|
+
card: wa,
|
|
1357
|
+
cardInner: ja,
|
|
1358
|
+
field: Ta,
|
|
1359
|
+
labelRow: Sa,
|
|
1360
|
+
label: Ca,
|
|
1361
|
+
req: Pa,
|
|
1362
|
+
help: Aa,
|
|
1363
|
+
choiceRow: Na,
|
|
1364
|
+
choiceBtn: Ra,
|
|
1365
|
+
choiceBtnActive: La,
|
|
1366
|
+
infoBtn: Ea,
|
|
1367
|
+
infoImg: Ia,
|
|
1368
|
+
infoWrap: Da,
|
|
1369
|
+
tooltip: Ba,
|
|
1370
|
+
tooltipArrow: Oa,
|
|
1371
|
+
inputWrap: Ma,
|
|
1372
|
+
isdWrap: Fa,
|
|
1373
|
+
phoneInputGroup: $a,
|
|
1374
|
+
isdSelectWrap: Ga,
|
|
1375
|
+
isdSelectTrigger: Ua,
|
|
1376
|
+
isdDropdown: Ka,
|
|
1377
|
+
isdSearchWrap: Wa,
|
|
1378
|
+
isdSearchInput: Ha,
|
|
1379
|
+
isdOption: Ya,
|
|
1380
|
+
isdOptionActive: qa,
|
|
1381
|
+
isdCountryName: Va,
|
|
1382
|
+
isdCountryCode: za,
|
|
1383
|
+
isdNoResult: Ja,
|
|
1384
|
+
suggestions: Qa,
|
|
1385
|
+
suggestionItem: Xa,
|
|
1386
|
+
suggestionMain: Za,
|
|
1387
|
+
suggestionSecondary: en,
|
|
1388
|
+
suggestionsHint: tn,
|
|
1389
|
+
timePopover: an,
|
|
1390
|
+
timePickerRow: nn,
|
|
1391
|
+
timePickerSelect: rn,
|
|
1392
|
+
timePickerColon: on,
|
|
1393
|
+
meridiemToggle: ln,
|
|
1394
|
+
meridiemBtn: sn,
|
|
1395
|
+
meridiemActive: cn,
|
|
1396
|
+
timePopoverActions: dn,
|
|
1397
|
+
timePopoverBtn: un,
|
|
1398
|
+
timePopoverOk: pn,
|
|
1399
|
+
input: mn,
|
|
1400
|
+
phoneInput: hn,
|
|
1401
|
+
iconBtn: gn,
|
|
1402
|
+
iconBtnInteractive: fn,
|
|
1403
|
+
iconImg: _n,
|
|
1404
|
+
checkboxRow: bn,
|
|
1405
|
+
checkbox: yn,
|
|
1406
|
+
checkboxText: kn
|
|
1407
|
+
};
|
|
1408
|
+
let ze = null;
|
|
1409
|
+
const vn = (a, r) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : ze || (ze = new Promise((s, p) => {
|
|
1410
|
+
const d = document.querySelector(
|
|
1411
|
+
'script[data-google-maps-places="true"]'
|
|
1412
|
+
);
|
|
1413
|
+
if (d) {
|
|
1414
|
+
d.addEventListener("load", () => s()), d.addEventListener(
|
|
1415
|
+
"error",
|
|
1416
|
+
() => p(new Error("Failed to load Google Maps API"))
|
|
1417
|
+
);
|
|
1418
|
+
return;
|
|
1419
|
+
}
|
|
1420
|
+
const g = document.createElement("script"), b = new URL("https://maps.googleapis.com/maps/api/js");
|
|
1421
|
+
b.searchParams.set("key", a), b.searchParams.set("libraries", "places"), b.searchParams.set("loading", "async"), r && b.searchParams.set("language", r), g.src = b.toString(), g.async = !0, g.defer = !0, g.setAttribute("data-google-maps-places", "true"), g.onload = () => {
|
|
1422
|
+
const j = Date.now(), y = () => {
|
|
1423
|
+
if (window.google?.maps?.places) {
|
|
1424
|
+
s();
|
|
1425
|
+
return;
|
|
1426
|
+
}
|
|
1427
|
+
if (Date.now() - j > 2e3) {
|
|
1428
|
+
p(
|
|
1429
|
+
new Error(
|
|
1430
|
+
"Google Maps loaded but Places library is unavailable. Check API key restrictions / enabled APIs."
|
|
1431
|
+
)
|
|
1432
|
+
);
|
|
1433
|
+
return;
|
|
1434
|
+
}
|
|
1435
|
+
window.setTimeout(y, 50);
|
|
1436
|
+
};
|
|
1437
|
+
y();
|
|
1438
|
+
}, g.onerror = () => p(new Error("Failed to load Google Maps API")), document.head.appendChild(g);
|
|
1439
|
+
}), ze), xn = (a) => {
|
|
1440
|
+
const { apiKey: r, language: s = "en", restrictCountry: p, deferLoad: d = !1 } = a, [g, b] = B(!1), [j, y] = B([]), [q, M] = B(!1), [N, m] = B(null), [P, v] = B(!d), J = F(null), x = F(null), k = F(null), C = Pe(() => {
|
|
1441
|
+
d && v(!0);
|
|
1442
|
+
}, [d]);
|
|
1443
|
+
Y(() => {
|
|
1444
|
+
if (!r || !P) {
|
|
1445
|
+
b(!1), m(null);
|
|
1446
|
+
return;
|
|
1447
|
+
}
|
|
1448
|
+
vn(r, s).then(() => {
|
|
1449
|
+
J.current = new google.maps.places.AutocompleteService();
|
|
1450
|
+
const A = document.createElement("div");
|
|
1451
|
+
x.current = new google.maps.places.PlacesService(A), k.current = new google.maps.places.AutocompleteSessionToken(), b(!0), m(null);
|
|
1452
|
+
}).catch((A) => {
|
|
1453
|
+
b(!1), m(A?.message || "Failed to load location service");
|
|
1454
|
+
});
|
|
1455
|
+
}, [r, s, P]);
|
|
1456
|
+
const oe = Pe(
|
|
1457
|
+
async (A) => {
|
|
1458
|
+
if (!A || A.length < 2 || !J.current) {
|
|
1459
|
+
y([]);
|
|
1460
|
+
return;
|
|
1461
|
+
}
|
|
1462
|
+
M(!0);
|
|
1463
|
+
try {
|
|
1464
|
+
const G = {
|
|
1465
|
+
input: A,
|
|
1466
|
+
types: ["(cities)"],
|
|
1467
|
+
sessionToken: k.current ?? void 0
|
|
1468
|
+
};
|
|
1469
|
+
p && (G.componentRestrictions = { country: p });
|
|
1470
|
+
const R = await new Promise(($, ee) => {
|
|
1471
|
+
J.current.getPlacePredictions(
|
|
1472
|
+
G,
|
|
1473
|
+
(te, E) => {
|
|
1474
|
+
E === google.maps.places.PlacesServiceStatus.OK && te ? $(te) : E === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? $([]) : ee(new Error(`Places API error: ${E}`));
|
|
1475
|
+
}
|
|
1476
|
+
);
|
|
1477
|
+
});
|
|
1478
|
+
y(
|
|
1479
|
+
R.map(($) => ({
|
|
1480
|
+
place_id: $.place_id,
|
|
1481
|
+
description: $.description,
|
|
1482
|
+
structured_formatting: {
|
|
1483
|
+
main_text: $.structured_formatting?.main_text || $.description,
|
|
1484
|
+
secondary_text: $.structured_formatting?.secondary_text || ""
|
|
1485
|
+
}
|
|
1486
|
+
}))
|
|
1487
|
+
);
|
|
1488
|
+
} catch {
|
|
1489
|
+
y([]);
|
|
1490
|
+
} finally {
|
|
1491
|
+
M(!1);
|
|
1492
|
+
}
|
|
1493
|
+
},
|
|
1494
|
+
[p]
|
|
1495
|
+
), S = Pe(
|
|
1496
|
+
async (A) => {
|
|
1497
|
+
if (!x.current) return null;
|
|
1498
|
+
try {
|
|
1499
|
+
const G = await new Promise(
|
|
1500
|
+
(I, U) => {
|
|
1501
|
+
x.current.getDetails(
|
|
1502
|
+
{
|
|
1503
|
+
placeId: A,
|
|
1504
|
+
fields: ["geometry", "address_components", "formatted_address"],
|
|
1505
|
+
sessionToken: k.current ?? void 0
|
|
1506
|
+
},
|
|
1507
|
+
(Q, D) => {
|
|
1508
|
+
D === google.maps.places.PlacesServiceStatus.OK && Q ? I(Q) : U(new Error(`Place details error: ${D}`));
|
|
1509
|
+
}
|
|
1510
|
+
);
|
|
1511
|
+
}
|
|
1512
|
+
);
|
|
1513
|
+
k.current = new google.maps.places.AutocompleteSessionToken();
|
|
1514
|
+
const R = G.geometry?.location?.lat() || 0, $ = G.geometry?.location?.lng() || 0;
|
|
1515
|
+
let ee = "", te = "", E = "";
|
|
1516
|
+
return G.address_components?.forEach((I) => {
|
|
1517
|
+
I.types.includes("locality") && (ee = I.long_name), I.types.includes("administrative_area_level_1") && (te = I.long_name), I.types.includes("country") && (E = I.long_name);
|
|
1518
|
+
}), {
|
|
1519
|
+
display_name: G.formatted_address || "",
|
|
1520
|
+
lat: R,
|
|
1521
|
+
lng: $,
|
|
1522
|
+
city: ee,
|
|
1523
|
+
state: te,
|
|
1524
|
+
country: E
|
|
1525
|
+
};
|
|
1526
|
+
} catch {
|
|
1527
|
+
return null;
|
|
1528
|
+
}
|
|
1529
|
+
},
|
|
1530
|
+
[]
|
|
1531
|
+
), V = Pe(() => y([]), []);
|
|
1532
|
+
return {
|
|
1533
|
+
isLoaded: g,
|
|
1534
|
+
predictions: j,
|
|
1535
|
+
isSearching: q,
|
|
1536
|
+
loadError: N,
|
|
1537
|
+
searchPlaces: oe,
|
|
1538
|
+
getPlaceDetails: S,
|
|
1539
|
+
clearPredictions: V,
|
|
1540
|
+
triggerLoad: C
|
|
1541
|
+
// Call this to start loading Google Maps when deferred
|
|
1542
|
+
};
|
|
1543
|
+
}, vt = (a) => typeof a == "number" && Number.isFinite(a), wn = (a) => {
|
|
1544
|
+
const r = typeof a?.limit == "number" && a.limit > 0 ? Math.min(a.limit, 20) : 8, s = typeof a?.offset == "number" && a.offset >= 0 ? a.offset : 0;
|
|
1545
|
+
return {
|
|
1546
|
+
limit: r,
|
|
1547
|
+
offset: s,
|
|
1548
|
+
restrictCountry: a?.restrictCountry
|
|
1549
|
+
};
|
|
1550
|
+
}, jn = (a) => {
|
|
1551
|
+
const { searchLocalities: r, restrictCountry: s } = a, [p, d] = B([]), [g, b] = B(!1), [j, y] = B(null), q = F(0);
|
|
1552
|
+
Y(() => {
|
|
1553
|
+
y(null);
|
|
1554
|
+
}, [r]);
|
|
1555
|
+
const M = Pe(
|
|
1556
|
+
async (m) => {
|
|
1557
|
+
if (!m || m.length < 2 || !r) {
|
|
1558
|
+
d([]);
|
|
1559
|
+
return;
|
|
1560
|
+
}
|
|
1561
|
+
const P = ++q.current;
|
|
1562
|
+
b(!0), y(null);
|
|
1563
|
+
try {
|
|
1564
|
+
const v = wn({ restrictCountry: s }), J = await r(m, v);
|
|
1565
|
+
if (P !== q.current) return;
|
|
1566
|
+
const x = (J || []).filter(
|
|
1567
|
+
(k) => !!k?.id && !!k?.description && vt(k?.lat) && vt(k?.lng)
|
|
1568
|
+
).map((k) => ({
|
|
1569
|
+
id: k.id,
|
|
1570
|
+
description: k.description,
|
|
1571
|
+
secondary_text: k.secondaryText,
|
|
1572
|
+
lat: k.lat,
|
|
1573
|
+
lng: k.lng
|
|
1574
|
+
}));
|
|
1575
|
+
d(x);
|
|
1576
|
+
} catch (v) {
|
|
1577
|
+
if (P !== q.current) return;
|
|
1578
|
+
d([]), y(v?.message || "Failed to fetch locations");
|
|
1579
|
+
} finally {
|
|
1580
|
+
P === q.current && b(!1);
|
|
1581
|
+
}
|
|
1582
|
+
},
|
|
1583
|
+
[s, r]
|
|
1584
|
+
), N = Pe(() => d([]), []);
|
|
1585
|
+
return {
|
|
1586
|
+
predictions: p,
|
|
1587
|
+
isSearching: g,
|
|
1588
|
+
loadError: j,
|
|
1589
|
+
searchPlaces: M,
|
|
1590
|
+
clearPredictions: N
|
|
1591
|
+
};
|
|
1592
|
+
}, Fe = {
|
|
1593
|
+
time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
|
|
1594
|
+
location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
|
|
1595
|
+
date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
1596
|
+
info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
|
|
1597
|
+
}, Pt = [
|
|
1598
|
+
{ code: "+1", country: "USA / Canada" },
|
|
1599
|
+
{ code: "+7", country: "Russia / Kazakhstan" },
|
|
1600
|
+
{ code: "+20", country: "Egypt" },
|
|
1601
|
+
{ code: "+27", country: "South Africa" },
|
|
1602
|
+
{ code: "+30", country: "Greece" },
|
|
1603
|
+
{ code: "+31", country: "Netherlands" },
|
|
1604
|
+
{ code: "+32", country: "Belgium" },
|
|
1605
|
+
{ code: "+33", country: "France" },
|
|
1606
|
+
{ code: "+34", country: "Spain" },
|
|
1607
|
+
{ code: "+36", country: "Hungary" },
|
|
1608
|
+
{ code: "+39", country: "Italy" },
|
|
1609
|
+
{ code: "+40", country: "Romania" },
|
|
1610
|
+
{ code: "+41", country: "Switzerland" },
|
|
1611
|
+
{ code: "+43", country: "Austria" },
|
|
1612
|
+
{ code: "+44", country: "United Kingdom" },
|
|
1613
|
+
{ code: "+45", country: "Denmark" },
|
|
1614
|
+
{ code: "+46", country: "Sweden" },
|
|
1615
|
+
{ code: "+47", country: "Norway" },
|
|
1616
|
+
{ code: "+48", country: "Poland" },
|
|
1617
|
+
{ code: "+49", country: "Germany" },
|
|
1618
|
+
{ code: "+51", country: "Peru" },
|
|
1619
|
+
{ code: "+52", country: "Mexico" },
|
|
1620
|
+
{ code: "+53", country: "Cuba" },
|
|
1621
|
+
{ code: "+54", country: "Argentina" },
|
|
1622
|
+
{ code: "+55", country: "Brazil" },
|
|
1623
|
+
{ code: "+56", country: "Chile" },
|
|
1624
|
+
{ code: "+57", country: "Colombia" },
|
|
1625
|
+
{ code: "+60", country: "Malaysia" },
|
|
1626
|
+
{ code: "+61", country: "Australia" },
|
|
1627
|
+
{ code: "+62", country: "Indonesia" },
|
|
1628
|
+
{ code: "+63", country: "Philippines" },
|
|
1629
|
+
{ code: "+64", country: "New Zealand" },
|
|
1630
|
+
{ code: "+65", country: "Singapore" },
|
|
1631
|
+
{ code: "+66", country: "Thailand" },
|
|
1632
|
+
{ code: "+81", country: "Japan" },
|
|
1633
|
+
{ code: "+82", country: "South Korea" },
|
|
1634
|
+
{ code: "+84", country: "Vietnam" },
|
|
1635
|
+
{ code: "+86", country: "China" },
|
|
1636
|
+
{ code: "+90", country: "Turkey" },
|
|
1637
|
+
{ code: "+91", country: "India" },
|
|
1638
|
+
{ code: "+92", country: "Pakistan" },
|
|
1639
|
+
{ code: "+93", country: "Afghanistan" },
|
|
1640
|
+
{ code: "+94", country: "Sri Lanka" },
|
|
1641
|
+
{ code: "+95", country: "Myanmar" },
|
|
1642
|
+
{ code: "+98", country: "Iran" },
|
|
1643
|
+
{ code: "+211", country: "South Sudan" },
|
|
1644
|
+
{ code: "+212", country: "Morocco" },
|
|
1645
|
+
{ code: "+213", country: "Algeria" },
|
|
1646
|
+
{ code: "+216", country: "Tunisia" },
|
|
1647
|
+
{ code: "+218", country: "Libya" },
|
|
1648
|
+
{ code: "+220", country: "Gambia" },
|
|
1649
|
+
{ code: "+221", country: "Senegal" },
|
|
1650
|
+
{ code: "+234", country: "Nigeria" },
|
|
1651
|
+
{ code: "+254", country: "Kenya" },
|
|
1652
|
+
{ code: "+255", country: "Tanzania" },
|
|
1653
|
+
{ code: "+256", country: "Uganda" },
|
|
1654
|
+
{ code: "+260", country: "Zambia" },
|
|
1655
|
+
{ code: "+263", country: "Zimbabwe" },
|
|
1656
|
+
{ code: "+264", country: "Namibia" },
|
|
1657
|
+
{ code: "+265", country: "Malawi" },
|
|
1658
|
+
{ code: "+880", country: "Bangladesh" },
|
|
1659
|
+
{ code: "+886", country: "Taiwan" },
|
|
1660
|
+
{ code: "+971", country: "United Arab Emirates" },
|
|
1661
|
+
{ code: "+972", country: "Israel" },
|
|
1662
|
+
{ code: "+973", country: "Bahrain" },
|
|
1663
|
+
{ code: "+974", country: "Qatar" },
|
|
1664
|
+
{ code: "+975", country: "Bhutan" },
|
|
1665
|
+
{ code: "+976", country: "Mongolia" },
|
|
1666
|
+
{ code: "+977", country: "Nepal" }
|
|
1667
|
+
], nt = Pt.map((a) => a.code), At = 10, lt = (a) => a.replace(/\D/g, ""), xt = (a) => lt(a).slice(0, At), Tn = (a) => lt(a).length === At, Sn = (a, r, s) => Tn(a) ? s.phone ? { shouldTrack: !1 } : (s.phone = !0, { shouldTrack: !0, fullPhone: `${r}-${lt(a)}` }) : (s.phone = !1, { shouldTrack: !1 }), Cn = {}, Pn = ({
|
|
1668
|
+
t: a,
|
|
1669
|
+
values: r,
|
|
1670
|
+
onChange: s,
|
|
1671
|
+
phoneIsdCode: p,
|
|
1672
|
+
onPhoneIsdCodeChange: d,
|
|
1673
|
+
showV1ExtraFields: g = !1,
|
|
1674
|
+
analytics: b,
|
|
1675
|
+
googleMapsApiKey: j,
|
|
1676
|
+
atlasSearchLocalities: y,
|
|
1677
|
+
googleMapsAutocompleteEnabled: q,
|
|
1678
|
+
className: M = ""
|
|
1679
|
+
}) => {
|
|
1680
|
+
const N = Be(), m = N?.config?.analytics ?? b, P = N?.config.isGlobal ?? !0, v = N?.config?.googleMapsApiKey, J = N?.config?.atlasSearchLocalities, x = N?.config?.googleMapsAutocompleteEnabled, [k, C] = B(!1), [oe, S] = B(""), V = F(null), A = F(null), G = F({}), R = (n) => s({ ...r, ...n }), $ = (n, c) => {
|
|
1681
|
+
if (n === "phone") {
|
|
1682
|
+
const H = Sn(c, p, G.current);
|
|
1683
|
+
H.shouldTrack && m?.trackPhoneSectionFilled?.({ phone: H.fullPhone });
|
|
1684
|
+
return;
|
|
1685
|
+
}
|
|
1686
|
+
c.trim() && !G.current[n] && (G.current[n] = !0, {
|
|
1687
|
+
fullName: () => m?.trackNameSectionFilled?.(),
|
|
1688
|
+
dateOfBirth: () => m?.trackDobFilled?.(),
|
|
1689
|
+
birthTime: () => m?.trackTimeFilled?.(),
|
|
1690
|
+
birthPlace: () => m?.trackPlaceOfBirthChosen?.()
|
|
1691
|
+
}[n]?.());
|
|
1692
|
+
}, ee = (n) => {
|
|
1693
|
+
const c = n.target.value;
|
|
1694
|
+
c.trim() && m?.trackEmailSectionFilled?.({ email: c });
|
|
1695
|
+
}, te = oe.trim().toLowerCase(), E = Pt.filter((n) => te ? n.country.toLowerCase().includes(te) || n.code.includes(te) : !0), I = F(null);
|
|
1696
|
+
F(null);
|
|
1697
|
+
const U = F(null), Q = F(0), D = F(null), [_e, ie] = B(!1), [de, ue] = B({ hour12: 12, minute: "00", meridiem: "AM" }), X = (n) => String(n).padStart(2, "0"), Te = (n) => {
|
|
1698
|
+
const c = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1699
|
+
if (!c) return n;
|
|
1700
|
+
const H = Number(c[1]), Se = c[2], Ue = H >= 12 ? "PM" : "AM";
|
|
1701
|
+
return `${H % 12 === 0 ? 12 : H % 12}:${Se} ${Ue}`;
|
|
1702
|
+
}, ke = (n) => {
|
|
1703
|
+
const c = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1704
|
+
if (!c) return { hour12: 12, minute: "00", meridiem: "AM" };
|
|
1705
|
+
const H = Number(c[1]), Se = c[2], Ue = H >= 12 ? "PM" : "AM";
|
|
1706
|
+
return { hour12: H % 12 === 0 ? 12 : H % 12, minute: Se, meridiem: Ue };
|
|
1707
|
+
}, Re = (n) => {
|
|
1708
|
+
const c = Math.min(12, Math.max(1, n.hour12)), H = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
|
|
1709
|
+
let Se = c % 12;
|
|
1710
|
+
return n.meridiem === "PM" && (Se += 12), `${X(Se)}:${H}`;
|
|
1711
|
+
}, ge = F(null), [Z, W] = B(!1), fe = F(r.birthPlace ?? ""), [ae, ne] = B(
|
|
1712
|
+
null
|
|
1713
|
+
), ce = j ?? v ?? Cn?.VITE_GOOGLE_MAPS_API_KEY, Ae = y ?? J, pe = q ?? x ?? !0, me = (r.birthPlace ?? "").trim(), Ne = P ? void 0 : "in", be = xn({
|
|
1714
|
+
apiKey: pe ? ce : void 0,
|
|
1715
|
+
language: "en",
|
|
1716
|
+
restrictCountry: Ne
|
|
1717
|
+
}), we = jn({
|
|
1718
|
+
searchLocalities: pe ? void 0 : Ae,
|
|
1719
|
+
restrictCountry: Ne
|
|
1720
|
+
}), je = pe ? be.predictions.map((n) => ({
|
|
1721
|
+
id: n.place_id,
|
|
1722
|
+
description: n.description,
|
|
1723
|
+
secondaryText: n.structured_formatting?.secondary_text,
|
|
1724
|
+
lat: void 0,
|
|
1725
|
+
lng: void 0
|
|
1726
|
+
})) : we.predictions.map((n) => ({
|
|
1727
|
+
id: n.id,
|
|
1728
|
+
description: n.description,
|
|
1729
|
+
secondaryText: n.secondary_text,
|
|
1730
|
+
lat: n.lat,
|
|
1731
|
+
lng: n.lng
|
|
1732
|
+
})), i = pe ? be.isSearching : we.isSearching, _ = pe ? be.loadError : we.loadError, h = pe ? !!ce : !!Ae, he = pe ? be.searchPlaces : we.searchPlaces, le = pe ? be.clearPredictions : we.clearPredictions, $e = F(() => {
|
|
1733
|
+
});
|
|
1734
|
+
$e.current = () => {
|
|
1735
|
+
(r.birthPlace ?? "") !== fe.current && R({
|
|
1736
|
+
birthPlace: "",
|
|
1737
|
+
birthPlaceLat: void 0,
|
|
1738
|
+
birthPlaceLng: void 0
|
|
1739
|
+
}), W(!1);
|
|
1740
|
+
}, Y(() => {
|
|
1741
|
+
const n = (c) => {
|
|
1742
|
+
ge.current && (ge.current.contains(c.target) || $e.current());
|
|
1743
|
+
};
|
|
1744
|
+
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1745
|
+
}, []), Y(() => {
|
|
1746
|
+
const n = (c) => {
|
|
1747
|
+
V.current && (V.current.contains(c.target) || (C(!1), S("")));
|
|
1748
|
+
};
|
|
1749
|
+
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1750
|
+
}, []), Y(() => {
|
|
1751
|
+
if (!k) return;
|
|
1752
|
+
const n = window.setTimeout(() => {
|
|
1753
|
+
A.current?.focus();
|
|
1754
|
+
}, 0);
|
|
1755
|
+
return () => window.clearTimeout(n);
|
|
1756
|
+
}, [k]), Y(() => {
|
|
1757
|
+
if (!Z) return;
|
|
1758
|
+
if (me.length < 2) {
|
|
1759
|
+
le();
|
|
1760
|
+
return;
|
|
1761
|
+
}
|
|
1762
|
+
const n = window.setTimeout(async () => {
|
|
1763
|
+
await he(me);
|
|
1764
|
+
}, 250);
|
|
1765
|
+
return () => window.clearTimeout(n);
|
|
1766
|
+
}, [le, Z, me, he]);
|
|
1767
|
+
const Ge = (n) => {
|
|
1768
|
+
const c = n.current;
|
|
1769
|
+
if (!(!c || c.disabled)) {
|
|
1770
|
+
if (document.activeElement === c && U.current === c && Date.now() - Q.current < 6e4) {
|
|
1771
|
+
c.blur();
|
|
1772
|
+
return;
|
|
1773
|
+
}
|
|
1774
|
+
if (typeof c.showPicker == "function") {
|
|
1775
|
+
c.showPicker(), U.current = c, Q.current = Date.now();
|
|
1776
|
+
return;
|
|
1777
|
+
}
|
|
1778
|
+
c.focus(), U.current = c, Q.current = Date.now();
|
|
1779
|
+
}
|
|
1780
|
+
};
|
|
1781
|
+
return Y(() => {
|
|
1782
|
+
const n = (c) => {
|
|
1783
|
+
D.current && (D.current.contains(c.target) || ie(!1));
|
|
1784
|
+
};
|
|
1785
|
+
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1786
|
+
}, []), Y(() => {
|
|
1787
|
+
const n = (H) => {
|
|
1788
|
+
H.target?.closest?.("[data-info-tooltip]") == null && ne(null);
|
|
1789
|
+
}, c = (H) => {
|
|
1790
|
+
H.key === "Escape" && ne(null);
|
|
1791
|
+
};
|
|
1792
|
+
return document.addEventListener("mousedown", n), document.addEventListener("keydown", c), () => {
|
|
1793
|
+
document.removeEventListener("mousedown", n), document.removeEventListener("keydown", c);
|
|
1794
|
+
};
|
|
1795
|
+
}, []), /* @__PURE__ */ e.jsx(
|
|
1796
|
+
"section",
|
|
1797
|
+
{
|
|
1798
|
+
className: `${o.wrap} ${M}`,
|
|
1799
|
+
"aria-label": a("formTitle"),
|
|
1800
|
+
children: /* @__PURE__ */ e.jsx("div", { className: o.card, children: /* @__PURE__ */ e.jsxs("div", { className: o.cardInner, children: [
|
|
1801
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
|
|
1802
|
+
/* @__PURE__ */ e.jsx("div", { className: o.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: o.label, htmlFor: "kundli-full-name", children: [
|
|
1803
|
+
a("formFullName"),
|
|
1804
|
+
/* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
|
|
1805
|
+
] }) }),
|
|
1806
|
+
/* @__PURE__ */ e.jsx("div", { className: o.inputWrap, children: /* @__PURE__ */ e.jsx(
|
|
1807
|
+
"input",
|
|
1808
|
+
{
|
|
1809
|
+
id: "kundli-full-name",
|
|
1810
|
+
className: o.input,
|
|
1811
|
+
type: "text",
|
|
1812
|
+
value: r.fullName,
|
|
1813
|
+
onFocus: () => m?.trackNameSectionClicked?.(),
|
|
1814
|
+
onChange: (n) => {
|
|
1815
|
+
const c = n.target.value;
|
|
1816
|
+
R({ fullName: c }), $("fullName", c);
|
|
1817
|
+
},
|
|
1818
|
+
placeholder: a("formFullNamePlaceholder"),
|
|
1819
|
+
autoComplete: "name"
|
|
1820
|
+
}
|
|
1821
|
+
) })
|
|
1822
|
+
] }),
|
|
1823
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
|
|
1824
|
+
/* @__PURE__ */ e.jsx("div", { className: o.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: o.label, htmlFor: "kundli-phone", children: [
|
|
1825
|
+
a("formPhone"),
|
|
1826
|
+
!P && /* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
|
|
1827
|
+
] }) }),
|
|
1828
|
+
/* @__PURE__ */ e.jsx("div", { className: o.inputWrap, children: /* @__PURE__ */ e.jsxs("div", { className: o.isdWrap, ref: V, children: [
|
|
1829
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.phoneInputGroup, children: [
|
|
1830
|
+
/* @__PURE__ */ e.jsx("div", { className: o.isdSelectWrap, children: /* @__PURE__ */ e.jsx(
|
|
1831
|
+
"button",
|
|
1832
|
+
{
|
|
1833
|
+
type: "button",
|
|
1834
|
+
className: o.isdSelectTrigger,
|
|
1835
|
+
"aria-haspopup": "listbox",
|
|
1836
|
+
"aria-expanded": k,
|
|
1837
|
+
onClick: () => {
|
|
1838
|
+
C((n) => !n), S("");
|
|
1839
|
+
},
|
|
1840
|
+
children: p
|
|
1841
|
+
}
|
|
1842
|
+
) }),
|
|
1843
|
+
/* @__PURE__ */ e.jsx(
|
|
1844
|
+
"input",
|
|
1845
|
+
{
|
|
1846
|
+
id: "kundli-phone",
|
|
1847
|
+
className: `${o.input} ${o.phoneInput}`,
|
|
1848
|
+
type: "tel",
|
|
1849
|
+
value: r.phone ?? "",
|
|
1850
|
+
onFocus: () => m?.trackPhoneSectionClicked?.(),
|
|
1851
|
+
onChange: (n) => {
|
|
1852
|
+
const c = n.target.value;
|
|
1853
|
+
R({ phone: xt(c) }), $("phone", xt(c));
|
|
1854
|
+
},
|
|
1855
|
+
placeholder: a("formPhonePlaceholder"),
|
|
1856
|
+
autoComplete: "tel",
|
|
1857
|
+
inputMode: "numeric",
|
|
1858
|
+
pattern: "[0-9]{10}",
|
|
1859
|
+
maxLength: 10,
|
|
1860
|
+
required: !P,
|
|
1861
|
+
"aria-required": !P
|
|
1862
|
+
}
|
|
1863
|
+
)
|
|
1864
|
+
] }),
|
|
1865
|
+
k && /* @__PURE__ */ e.jsxs(
|
|
1866
|
+
"div",
|
|
1867
|
+
{
|
|
1868
|
+
className: o.isdDropdown,
|
|
1869
|
+
role: "listbox",
|
|
1870
|
+
"aria-label": "ISD code options",
|
|
1871
|
+
children: [
|
|
1872
|
+
/* @__PURE__ */ e.jsx("div", { className: o.isdSearchWrap, children: /* @__PURE__ */ e.jsx(
|
|
1873
|
+
"input",
|
|
1874
|
+
{
|
|
1875
|
+
ref: A,
|
|
1876
|
+
type: "text",
|
|
1877
|
+
value: oe,
|
|
1878
|
+
onChange: (n) => S(n.target.value),
|
|
1879
|
+
placeholder: "Search country",
|
|
1880
|
+
className: o.isdSearchInput,
|
|
1881
|
+
"aria-label": "Search country"
|
|
1882
|
+
}
|
|
1883
|
+
) }),
|
|
1884
|
+
E.length > 0 ? E.map((n) => /* @__PURE__ */ e.jsxs(
|
|
1885
|
+
"button",
|
|
1886
|
+
{
|
|
1887
|
+
type: "button",
|
|
1888
|
+
role: "option",
|
|
1889
|
+
"aria-selected": n.code === p,
|
|
1890
|
+
className: `${o.isdOption} ${n.code === p ? o.isdOptionActive : ""}`,
|
|
1891
|
+
onClick: () => {
|
|
1892
|
+
d(n.code), C(!1), S("");
|
|
1893
|
+
},
|
|
1894
|
+
children: [
|
|
1895
|
+
/* @__PURE__ */ e.jsx("span", { className: o.isdCountryName, children: n.country }),
|
|
1896
|
+
/* @__PURE__ */ e.jsx("span", { className: o.isdCountryCode, children: n.code })
|
|
1897
|
+
]
|
|
1898
|
+
},
|
|
1899
|
+
`${n.code}-${n.country}`
|
|
1900
|
+
)) : /* @__PURE__ */ e.jsx("div", { className: o.isdNoResult, children: "No country found" })
|
|
1901
|
+
]
|
|
1902
|
+
}
|
|
1903
|
+
)
|
|
1904
|
+
] }) })
|
|
1905
|
+
] }),
|
|
1906
|
+
g && /* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
|
|
1907
|
+
/* @__PURE__ */ e.jsx("div", { className: o.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: o.label, children: [
|
|
1908
|
+
a("formGender"),
|
|
1909
|
+
/* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
|
|
1910
|
+
] }) }),
|
|
1911
|
+
/* @__PURE__ */ e.jsxs(
|
|
1912
|
+
"div",
|
|
1913
|
+
{
|
|
1914
|
+
className: o.choiceRow,
|
|
1915
|
+
role: "radiogroup",
|
|
1916
|
+
"aria-label": a("formGender"),
|
|
1917
|
+
children: [
|
|
1918
|
+
/* @__PURE__ */ e.jsx(
|
|
1919
|
+
"button",
|
|
1920
|
+
{
|
|
1921
|
+
id: "kundli-gender-male",
|
|
1922
|
+
type: "button",
|
|
1923
|
+
className: `${o.choiceBtn} ${r.gender === "male" ? o.choiceBtnActive : ""}`,
|
|
1924
|
+
onClick: () => {
|
|
1925
|
+
R({ gender: "male" }), m?.trackGenderSelected?.({
|
|
1926
|
+
gender: "male"
|
|
1927
|
+
});
|
|
1928
|
+
},
|
|
1929
|
+
role: "radio",
|
|
1930
|
+
"aria-checked": r.gender === "male",
|
|
1931
|
+
children: a("formGenderMale")
|
|
1932
|
+
}
|
|
1933
|
+
),
|
|
1934
|
+
/* @__PURE__ */ e.jsx(
|
|
1935
|
+
"button",
|
|
1936
|
+
{
|
|
1937
|
+
id: "kundli-gender-female",
|
|
1938
|
+
type: "button",
|
|
1939
|
+
className: `${o.choiceBtn} ${r.gender === "female" ? o.choiceBtnActive : ""}`,
|
|
1940
|
+
onClick: () => {
|
|
1941
|
+
R({ gender: "female" }), m?.trackGenderSelected?.({
|
|
1942
|
+
gender: "female"
|
|
1943
|
+
});
|
|
1944
|
+
},
|
|
1945
|
+
role: "radio",
|
|
1946
|
+
"aria-checked": r.gender === "female",
|
|
1947
|
+
children: a("formGenderFemale")
|
|
1948
|
+
}
|
|
1949
|
+
)
|
|
1950
|
+
]
|
|
1951
|
+
}
|
|
1952
|
+
)
|
|
1953
|
+
] }),
|
|
1954
|
+
P && /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
|
|
1955
|
+
/* @__PURE__ */ e.jsx("div", { className: o.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: o.label, htmlFor: "kundli-email", children: [
|
|
1956
|
+
a("formEmail"),
|
|
1957
|
+
/* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
|
|
1958
|
+
] }) }),
|
|
1959
|
+
/* @__PURE__ */ e.jsx("div", { className: o.help, children: a("formEmailHelp") }),
|
|
1960
|
+
/* @__PURE__ */ e.jsx("div", { className: o.inputWrap, children: /* @__PURE__ */ e.jsx(
|
|
1961
|
+
"input",
|
|
1962
|
+
{
|
|
1963
|
+
id: "kundli-email",
|
|
1964
|
+
className: o.input,
|
|
1965
|
+
type: "email",
|
|
1966
|
+
value: r.email,
|
|
1967
|
+
onFocus: () => m?.trackEmailSectionClicked?.(),
|
|
1968
|
+
onChange: (n) => {
|
|
1969
|
+
R({ email: n.target.value });
|
|
1970
|
+
},
|
|
1971
|
+
onBlur: ee,
|
|
1972
|
+
placeholder: a("formEmailPlaceholder"),
|
|
1973
|
+
autoComplete: "email",
|
|
1974
|
+
required: !0,
|
|
1975
|
+
"aria-required": !0
|
|
1976
|
+
}
|
|
1977
|
+
) })
|
|
1978
|
+
] }) }),
|
|
1979
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
|
|
1980
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.labelRow, children: [
|
|
1981
|
+
/* @__PURE__ */ e.jsxs("label", { className: o.label, htmlFor: "kundli-dob", children: [
|
|
1982
|
+
a("formDob"),
|
|
1983
|
+
/* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
|
|
1984
|
+
] }),
|
|
1985
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.infoWrap, "data-info-tooltip": !0, children: [
|
|
1986
|
+
/* @__PURE__ */ e.jsx(
|
|
1987
|
+
"button",
|
|
1988
|
+
{
|
|
1989
|
+
type: "button",
|
|
1990
|
+
className: o.infoBtn,
|
|
1991
|
+
"aria-label": a("info"),
|
|
1992
|
+
"aria-expanded": ae === "dob",
|
|
1993
|
+
onClick: () => {
|
|
1994
|
+
ne((n) => n === "dob" ? null : "dob"), m?.trackInfoIconClicked?.({ fieldName: "dob" });
|
|
1995
|
+
},
|
|
1996
|
+
children: /* @__PURE__ */ e.jsx(
|
|
1997
|
+
"img",
|
|
1998
|
+
{
|
|
1999
|
+
className: o.infoImg,
|
|
2000
|
+
src: Fe.info,
|
|
2001
|
+
alt: "",
|
|
2002
|
+
"aria-hidden": !0
|
|
2003
|
+
}
|
|
2004
|
+
)
|
|
2005
|
+
}
|
|
2006
|
+
),
|
|
2007
|
+
ae === "dob" && /* @__PURE__ */ e.jsxs("div", { className: o.tooltip, role: "tooltip", children: [
|
|
2008
|
+
a("formDobInfo"),
|
|
2009
|
+
/* @__PURE__ */ e.jsx("span", { className: o.tooltipArrow, "aria-hidden": !0 })
|
|
2010
|
+
] })
|
|
2011
|
+
] })
|
|
2012
|
+
] }),
|
|
2013
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.inputWrap, children: [
|
|
2014
|
+
/* @__PURE__ */ e.jsx(
|
|
2015
|
+
"input",
|
|
2016
|
+
{
|
|
2017
|
+
id: "kundli-dob",
|
|
2018
|
+
className: o.input,
|
|
2019
|
+
type: "date",
|
|
2020
|
+
ref: I,
|
|
2021
|
+
value: r.dateOfBirth,
|
|
2022
|
+
max: (() => {
|
|
2023
|
+
const n = /* @__PURE__ */ new Date();
|
|
2024
|
+
return `${n.getFullYear()}-${X(n.getMonth() + 1)}-${X(n.getDate())}`;
|
|
2025
|
+
})(),
|
|
2026
|
+
onChange: (n) => {
|
|
2027
|
+
const c = n.target.value, H = /* @__PURE__ */ new Date(), Se = `${H.getFullYear()}-${X(H.getMonth() + 1)}-${X(H.getDate())}`;
|
|
2028
|
+
c && c > Se || (R({ dateOfBirth: c }), $("dateOfBirth", c), U.current = null);
|
|
2029
|
+
},
|
|
2030
|
+
onFocus: () => m?.trackDobClicked?.(),
|
|
2031
|
+
onClick: () => Ge(I),
|
|
2032
|
+
onBlur: () => {
|
|
2033
|
+
U.current === I.current && (U.current = null);
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
2036
|
+
),
|
|
2037
|
+
/* @__PURE__ */ e.jsx(
|
|
2038
|
+
"button",
|
|
2039
|
+
{
|
|
2040
|
+
type: "button",
|
|
2041
|
+
className: `${o.iconBtn} ${o.iconBtnInteractive}`,
|
|
2042
|
+
"aria-label": "Open date picker",
|
|
2043
|
+
onMouseDown: (n) => n.preventDefault(),
|
|
2044
|
+
onClick: (n) => {
|
|
2045
|
+
n.preventDefault(), n.stopPropagation(), Ge(I);
|
|
2046
|
+
},
|
|
2047
|
+
children: /* @__PURE__ */ e.jsx(
|
|
2048
|
+
"img",
|
|
2049
|
+
{
|
|
2050
|
+
className: o.iconImg,
|
|
2051
|
+
src: Fe.date,
|
|
2052
|
+
alt: "",
|
|
2053
|
+
"aria-hidden": !0
|
|
2054
|
+
}
|
|
2055
|
+
)
|
|
2056
|
+
}
|
|
2057
|
+
)
|
|
2058
|
+
] })
|
|
2059
|
+
] }),
|
|
2060
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
|
|
2061
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.labelRow, children: [
|
|
2062
|
+
/* @__PURE__ */ e.jsxs("label", { className: o.label, htmlFor: "kundli-birth-time", children: [
|
|
2063
|
+
a("formBirthTime"),
|
|
2064
|
+
/* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
|
|
2065
|
+
] }),
|
|
2066
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.infoWrap, "data-info-tooltip": !0, children: [
|
|
2067
|
+
/* @__PURE__ */ e.jsx(
|
|
2068
|
+
"button",
|
|
2069
|
+
{
|
|
2070
|
+
type: "button",
|
|
2071
|
+
className: o.infoBtn,
|
|
2072
|
+
"aria-label": a("info"),
|
|
2073
|
+
"aria-expanded": ae === "time",
|
|
2074
|
+
onClick: () => {
|
|
2075
|
+
m?.trackInfoIconClicked?.({ fieldName: "time" }), ne((n) => n === "time" ? null : "time");
|
|
2076
|
+
},
|
|
2077
|
+
children: /* @__PURE__ */ e.jsx(
|
|
2078
|
+
"img",
|
|
2079
|
+
{
|
|
2080
|
+
className: o.infoImg,
|
|
2081
|
+
src: Fe.info,
|
|
2082
|
+
alt: "",
|
|
2083
|
+
"aria-hidden": !0
|
|
2084
|
+
}
|
|
2085
|
+
)
|
|
2086
|
+
}
|
|
2087
|
+
),
|
|
2088
|
+
ae === "time" && /* @__PURE__ */ e.jsxs("div", { className: o.tooltip, role: "tooltip", children: [
|
|
2089
|
+
a("formBirthTimeInfo"),
|
|
2090
|
+
/* @__PURE__ */ e.jsx("span", { className: o.tooltipArrow, "aria-hidden": !0 })
|
|
2091
|
+
] })
|
|
2092
|
+
] })
|
|
2093
|
+
] }),
|
|
2094
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.inputWrap, ref: D, children: [
|
|
2095
|
+
/* @__PURE__ */ e.jsx(
|
|
2096
|
+
"input",
|
|
2097
|
+
{
|
|
2098
|
+
id: "kundli-birth-time",
|
|
2099
|
+
className: o.input,
|
|
2100
|
+
type: "text",
|
|
2101
|
+
value: r.birthTime ? Te(r.birthTime) : "",
|
|
2102
|
+
readOnly: !0,
|
|
2103
|
+
onFocus: () => m?.trackTimeClicked?.(),
|
|
2104
|
+
onChange: (n) => {
|
|
2105
|
+
const c = n.target.value;
|
|
2106
|
+
R({ birthTime: c }), $("birthTime", c);
|
|
2107
|
+
},
|
|
2108
|
+
disabled: r.birthTimeUnknown,
|
|
2109
|
+
placeholder: "HH:MM AM",
|
|
2110
|
+
onClick: () => {
|
|
2111
|
+
r.birthTimeUnknown || (ue(ke(r.birthTime || "12:00")), ie((n) => !n));
|
|
2112
|
+
}
|
|
2113
|
+
}
|
|
2114
|
+
),
|
|
2115
|
+
/* @__PURE__ */ e.jsx(
|
|
2116
|
+
"button",
|
|
2117
|
+
{
|
|
2118
|
+
type: "button",
|
|
2119
|
+
className: `${o.iconBtn} ${o.iconBtnInteractive}`,
|
|
2120
|
+
"aria-label": "Open time picker",
|
|
2121
|
+
disabled: r.birthTimeUnknown,
|
|
2122
|
+
onMouseDown: (n) => n.preventDefault(),
|
|
2123
|
+
onClick: (n) => {
|
|
2124
|
+
n.preventDefault(), n.stopPropagation(), !r.birthTimeUnknown && (ue(ke(r.birthTime || "12:00")), ie((c) => !c));
|
|
2125
|
+
},
|
|
2126
|
+
children: /* @__PURE__ */ e.jsx(
|
|
2127
|
+
"img",
|
|
2128
|
+
{
|
|
2129
|
+
className: o.iconImg,
|
|
2130
|
+
src: Fe.time,
|
|
2131
|
+
alt: "",
|
|
2132
|
+
"aria-hidden": !0
|
|
2133
|
+
}
|
|
2134
|
+
)
|
|
2135
|
+
}
|
|
2136
|
+
),
|
|
2137
|
+
_e && !r.birthTimeUnknown && /* @__PURE__ */ e.jsxs(
|
|
2138
|
+
"div",
|
|
2139
|
+
{
|
|
2140
|
+
className: o.timePopover,
|
|
2141
|
+
role: "dialog",
|
|
2142
|
+
"aria-label": "Select time",
|
|
2143
|
+
children: [
|
|
2144
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.timePickerRow, children: [
|
|
2145
|
+
/* @__PURE__ */ e.jsx(
|
|
2146
|
+
"select",
|
|
2147
|
+
{
|
|
2148
|
+
className: o.timePickerSelect,
|
|
2149
|
+
value: de.hour12,
|
|
2150
|
+
onChange: (n) => ue((c) => ({
|
|
2151
|
+
...c,
|
|
2152
|
+
hour12: Number(n.target.value)
|
|
2153
|
+
})),
|
|
2154
|
+
"aria-label": "Hour",
|
|
2155
|
+
children: Array.from({ length: 12 }, (n, c) => c + 1).map((n) => /* @__PURE__ */ e.jsx("option", { value: n, children: n }, n))
|
|
2156
|
+
}
|
|
2157
|
+
),
|
|
2158
|
+
/* @__PURE__ */ e.jsx("span", { className: o.timePickerColon, children: ":" }),
|
|
2159
|
+
/* @__PURE__ */ e.jsx(
|
|
2160
|
+
"select",
|
|
2161
|
+
{
|
|
2162
|
+
className: o.timePickerSelect,
|
|
2163
|
+
value: de.minute,
|
|
2164
|
+
onChange: (n) => ue((c) => ({ ...c, minute: n.target.value })),
|
|
2165
|
+
"aria-label": "Minute",
|
|
2166
|
+
children: Array.from({ length: 60 }, (n, c) => X(c)).map(
|
|
2167
|
+
(n) => /* @__PURE__ */ e.jsx("option", { value: n, children: n }, n)
|
|
2168
|
+
)
|
|
2169
|
+
}
|
|
2170
|
+
),
|
|
2171
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.meridiemToggle, "aria-label": "AM/PM", children: [
|
|
2172
|
+
/* @__PURE__ */ e.jsx(
|
|
2173
|
+
"button",
|
|
2174
|
+
{
|
|
2175
|
+
type: "button",
|
|
2176
|
+
className: `${o.meridiemBtn} ${de.meridiem === "AM" ? o.meridiemActive : ""}`,
|
|
2177
|
+
onClick: () => ue((n) => ({ ...n, meridiem: "AM" })),
|
|
2178
|
+
children: "AM"
|
|
2179
|
+
}
|
|
2180
|
+
),
|
|
2181
|
+
/* @__PURE__ */ e.jsx(
|
|
2182
|
+
"button",
|
|
2183
|
+
{
|
|
2184
|
+
type: "button",
|
|
2185
|
+
className: `${o.meridiemBtn} ${de.meridiem === "PM" ? o.meridiemActive : ""}`,
|
|
2186
|
+
onClick: () => ue((n) => ({ ...n, meridiem: "PM" })),
|
|
2187
|
+
children: "PM"
|
|
2188
|
+
}
|
|
2189
|
+
)
|
|
2190
|
+
] })
|
|
2191
|
+
] }),
|
|
2192
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.timePopoverActions, children: [
|
|
2193
|
+
/* @__PURE__ */ e.jsx(
|
|
2194
|
+
"button",
|
|
2195
|
+
{
|
|
2196
|
+
type: "button",
|
|
2197
|
+
className: o.timePopoverBtn,
|
|
2198
|
+
onClick: () => ie(!1),
|
|
2199
|
+
children: "Cancel"
|
|
2200
|
+
}
|
|
2201
|
+
),
|
|
2202
|
+
/* @__PURE__ */ e.jsx(
|
|
2203
|
+
"button",
|
|
2204
|
+
{
|
|
2205
|
+
type: "button",
|
|
2206
|
+
className: `${o.timePopoverBtn} ${o.timePopoverOk}`,
|
|
2207
|
+
onClick: () => {
|
|
2208
|
+
const n = Re(de);
|
|
2209
|
+
R({ birthTime: n }), $("birthTime", n), ie(!1);
|
|
2210
|
+
},
|
|
2211
|
+
"aria-label": "OK",
|
|
2212
|
+
children: /* @__PURE__ */ e.jsx(
|
|
2213
|
+
"svg",
|
|
2214
|
+
{
|
|
2215
|
+
width: "18",
|
|
2216
|
+
height: "18",
|
|
2217
|
+
viewBox: "0 0 24 24",
|
|
2218
|
+
fill: "none",
|
|
2219
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2220
|
+
"aria-hidden": !0,
|
|
2221
|
+
children: /* @__PURE__ */ e.jsx(
|
|
2222
|
+
"path",
|
|
2223
|
+
{
|
|
2224
|
+
d: "M20 6L9 17l-5-5",
|
|
2225
|
+
stroke: "currentColor",
|
|
2226
|
+
strokeWidth: "2",
|
|
2227
|
+
strokeLinecap: "round",
|
|
2228
|
+
strokeLinejoin: "round"
|
|
2229
|
+
}
|
|
2230
|
+
)
|
|
2231
|
+
}
|
|
2232
|
+
)
|
|
2233
|
+
}
|
|
2234
|
+
)
|
|
2235
|
+
] })
|
|
2236
|
+
]
|
|
2237
|
+
}
|
|
2238
|
+
)
|
|
2239
|
+
] }),
|
|
2240
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.checkboxRow, children: [
|
|
2241
|
+
/* @__PURE__ */ e.jsx(
|
|
2242
|
+
"input",
|
|
2243
|
+
{
|
|
2244
|
+
id: "kundli-time-unknown",
|
|
2245
|
+
className: o.checkbox,
|
|
2246
|
+
type: "checkbox",
|
|
2247
|
+
checked: r.birthTimeUnknown,
|
|
2248
|
+
onChange: (n) => {
|
|
2249
|
+
m?.trackTimeCheckboxClicked?.(), R({
|
|
2250
|
+
birthTimeUnknown: n.target.checked,
|
|
2251
|
+
birthTime: n.target.checked ? "" : r.birthTime
|
|
2252
|
+
});
|
|
2253
|
+
}
|
|
2254
|
+
}
|
|
2255
|
+
),
|
|
2256
|
+
/* @__PURE__ */ e.jsxs(
|
|
2257
|
+
"label",
|
|
2258
|
+
{
|
|
2259
|
+
className: o.checkboxText,
|
|
2260
|
+
htmlFor: "kundli-time-unknown",
|
|
2261
|
+
children: [
|
|
2262
|
+
a("formBirthTimeUnknownLine1"),
|
|
2263
|
+
/* @__PURE__ */ e.jsx("br", {}),
|
|
2264
|
+
a("formBirthTimeUnknownLine2")
|
|
2265
|
+
]
|
|
2266
|
+
}
|
|
2267
|
+
)
|
|
2268
|
+
] })
|
|
2269
|
+
] }),
|
|
2270
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
|
|
2271
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.labelRow, children: [
|
|
2272
|
+
/* @__PURE__ */ e.jsxs("label", { className: o.label, htmlFor: "kundli-birth-place", children: [
|
|
2273
|
+
a("formBirthPlace"),
|
|
2274
|
+
/* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
|
|
2275
|
+
] }),
|
|
2276
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.infoWrap, "data-info-tooltip": !0, children: [
|
|
2277
|
+
/* @__PURE__ */ e.jsx(
|
|
2278
|
+
"button",
|
|
2279
|
+
{
|
|
2280
|
+
type: "button",
|
|
2281
|
+
className: o.infoBtn,
|
|
2282
|
+
"aria-label": a("info"),
|
|
2283
|
+
"aria-expanded": ae === "place",
|
|
2284
|
+
onClick: () => {
|
|
2285
|
+
m?.trackInfoIconClicked?.({
|
|
2286
|
+
fieldName: "birthPlace"
|
|
2287
|
+
}), ne((n) => n === "place" ? null : "place");
|
|
2288
|
+
},
|
|
2289
|
+
children: /* @__PURE__ */ e.jsx(
|
|
2290
|
+
"img",
|
|
2291
|
+
{
|
|
2292
|
+
className: o.infoImg,
|
|
2293
|
+
src: Fe.info,
|
|
2294
|
+
alt: "",
|
|
2295
|
+
"aria-hidden": !0
|
|
2296
|
+
}
|
|
2297
|
+
)
|
|
2298
|
+
}
|
|
2299
|
+
),
|
|
2300
|
+
ae === "place" && /* @__PURE__ */ e.jsxs("div", { className: o.tooltip, role: "tooltip", children: [
|
|
2301
|
+
a("formBirthPlaceInfo"),
|
|
2302
|
+
/* @__PURE__ */ e.jsx("span", { className: o.tooltipArrow, "aria-hidden": !0 })
|
|
2303
|
+
] })
|
|
2304
|
+
] })
|
|
2305
|
+
] }),
|
|
2306
|
+
/* @__PURE__ */ e.jsxs("div", { className: o.inputWrap, ref: ge, children: [
|
|
2307
|
+
/* @__PURE__ */ e.jsx(
|
|
2308
|
+
"input",
|
|
2309
|
+
{
|
|
2310
|
+
id: "kundli-birth-place",
|
|
2311
|
+
className: o.input,
|
|
2312
|
+
type: "text",
|
|
2313
|
+
value: r.birthPlace,
|
|
2314
|
+
onChange: (n) => {
|
|
2315
|
+
const c = n.target.value;
|
|
2316
|
+
R({
|
|
2317
|
+
birthPlace: c,
|
|
2318
|
+
birthPlaceLat: void 0,
|
|
2319
|
+
birthPlaceLng: void 0
|
|
2320
|
+
}), $("birthPlace", c), W(!0);
|
|
2321
|
+
},
|
|
2322
|
+
onFocus: () => {
|
|
2323
|
+
m?.trackPlaceOfBirthClicked?.(), W(!0);
|
|
2324
|
+
},
|
|
2325
|
+
placeholder: a("formBirthPlacePlaceholder"),
|
|
2326
|
+
autoComplete: "address-level2"
|
|
2327
|
+
}
|
|
2328
|
+
),
|
|
2329
|
+
/* @__PURE__ */ e.jsx("span", { className: o.iconBtn, "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
2330
|
+
"img",
|
|
2331
|
+
{
|
|
2332
|
+
className: o.iconImg,
|
|
2333
|
+
src: Fe.location,
|
|
2334
|
+
alt: "",
|
|
2335
|
+
"aria-hidden": !0
|
|
2336
|
+
}
|
|
2337
|
+
) }),
|
|
2338
|
+
Z && je.length > 0 && /* @__PURE__ */ e.jsx("div", { className: o.suggestions, role: "listbox", children: je.slice(0, 8).map((n) => /* @__PURE__ */ e.jsxs(
|
|
2339
|
+
"button",
|
|
2340
|
+
{
|
|
2341
|
+
type: "button",
|
|
2342
|
+
className: o.suggestionItem,
|
|
2343
|
+
onClick: async () => {
|
|
2344
|
+
const c = n.description;
|
|
2345
|
+
if (fe.current = c, R({
|
|
2346
|
+
birthPlace: c,
|
|
2347
|
+
birthPlaceLat: n.lat,
|
|
2348
|
+
birthPlaceLng: n.lng
|
|
2349
|
+
}), le(), W(!1), pe) {
|
|
2350
|
+
const H = await be.getPlaceDetails(
|
|
2351
|
+
n.id
|
|
2352
|
+
);
|
|
2353
|
+
H && (fe.current = c, s({
|
|
2354
|
+
...r,
|
|
2355
|
+
birthPlace: c,
|
|
2356
|
+
birthPlaceLat: H.lat,
|
|
2357
|
+
birthPlaceLng: H.lng
|
|
2358
|
+
}));
|
|
2359
|
+
}
|
|
2360
|
+
},
|
|
2361
|
+
children: [
|
|
2362
|
+
/* @__PURE__ */ e.jsx("span", { className: o.suggestionMain, children: n.description }),
|
|
2363
|
+
n.secondaryText && /* @__PURE__ */ e.jsx("span", { className: o.suggestionSecondary, children: n.secondaryText })
|
|
2364
|
+
]
|
|
2365
|
+
},
|
|
2366
|
+
n.id
|
|
2367
|
+
)) }),
|
|
2368
|
+
Z && h && i && /* @__PURE__ */ e.jsx("div", { className: o.suggestionsHint, children: "Loading…" }),
|
|
2369
|
+
Z && h && !i && !!_ && /* @__PURE__ */ e.jsx("div", { className: o.suggestionsHint, children: _ })
|
|
2370
|
+
] })
|
|
2371
|
+
] }),
|
|
2372
|
+
g && /* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
|
|
2373
|
+
/* @__PURE__ */ e.jsx("div", { className: o.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: o.label, children: [
|
|
2374
|
+
a("formReportLanguage"),
|
|
2375
|
+
/* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
|
|
2376
|
+
] }) }),
|
|
2377
|
+
/* @__PURE__ */ e.jsxs(
|
|
2378
|
+
"div",
|
|
2379
|
+
{
|
|
2380
|
+
className: o.choiceRow,
|
|
2381
|
+
role: "radiogroup",
|
|
2382
|
+
"aria-label": a("formReportLanguage"),
|
|
2383
|
+
children: [
|
|
2384
|
+
/* @__PURE__ */ e.jsx(
|
|
2385
|
+
"button",
|
|
2386
|
+
{
|
|
2387
|
+
id: "kundli-report-lang-hi",
|
|
2388
|
+
type: "button",
|
|
2389
|
+
className: `${o.choiceBtn} ${r.language_code === "hi" ? o.choiceBtnActive : ""}`,
|
|
2390
|
+
onClick: () => {
|
|
2391
|
+
R({ language_code: "hi" }), m?.trackLanguageOfReportSelected?.({
|
|
2392
|
+
language: "hi"
|
|
2393
|
+
});
|
|
2394
|
+
},
|
|
2395
|
+
role: "radio",
|
|
2396
|
+
"aria-checked": r.language_code === "hi",
|
|
2397
|
+
children: a("formReportLanguageHindi")
|
|
2398
|
+
}
|
|
2399
|
+
),
|
|
2400
|
+
/* @__PURE__ */ e.jsx(
|
|
2401
|
+
"button",
|
|
2402
|
+
{
|
|
2403
|
+
id: "kundli-report-lang-en",
|
|
2404
|
+
type: "button",
|
|
2405
|
+
className: `${o.choiceBtn} ${r.language_code === "en" ? o.choiceBtnActive : ""}`,
|
|
2406
|
+
onClick: () => {
|
|
2407
|
+
R({ language_code: "en" }), m?.trackLanguageOfReportSelected?.({
|
|
2408
|
+
language: "en"
|
|
2409
|
+
});
|
|
2410
|
+
},
|
|
2411
|
+
role: "radio",
|
|
2412
|
+
"aria-checked": r.language_code === "en",
|
|
2413
|
+
children: a("formReportLanguageEnglish")
|
|
2414
|
+
}
|
|
2415
|
+
),
|
|
2416
|
+
/* @__PURE__ */ e.jsx(
|
|
2417
|
+
"button",
|
|
2418
|
+
{
|
|
2419
|
+
id: "kundli-report-lang-te",
|
|
2420
|
+
type: "button",
|
|
2421
|
+
className: `${o.choiceBtn} ${r.language_code === "te" ? o.choiceBtnActive : ""}`,
|
|
2422
|
+
onClick: () => {
|
|
2423
|
+
R({ language_code: "te" }), m?.trackLanguageOfReportSelected?.({
|
|
2424
|
+
language: "te"
|
|
2425
|
+
});
|
|
2426
|
+
},
|
|
2427
|
+
role: "radio",
|
|
2428
|
+
"aria-checked": r.language_code === "te",
|
|
2429
|
+
children: a("formReportLanguageTelugu")
|
|
2430
|
+
}
|
|
2431
|
+
),
|
|
2432
|
+
/* @__PURE__ */ e.jsx(
|
|
2433
|
+
"button",
|
|
2434
|
+
{
|
|
2435
|
+
id: "kundli-report-lang-ta",
|
|
2436
|
+
type: "button",
|
|
2437
|
+
className: `${o.choiceBtn} ${r.language_code === "ta" ? o.choiceBtnActive : ""}`,
|
|
2438
|
+
onClick: () => {
|
|
2439
|
+
R({ language_code: "ta" }), m?.trackLanguageOfReportSelected?.({
|
|
2440
|
+
language: "ta"
|
|
2441
|
+
});
|
|
2442
|
+
},
|
|
2443
|
+
role: "radio",
|
|
2444
|
+
"aria-checked": r.language_code === "ta",
|
|
2445
|
+
children: a("formReportLanguageTamil")
|
|
2446
|
+
}
|
|
2447
|
+
),
|
|
2448
|
+
/* @__PURE__ */ e.jsx(
|
|
2449
|
+
"button",
|
|
2450
|
+
{
|
|
2451
|
+
id: "kundli-report-lang-kn",
|
|
2452
|
+
type: "button",
|
|
2453
|
+
className: `${o.choiceBtn} ${r.language_code === "kn" ? o.choiceBtnActive : ""}`,
|
|
2454
|
+
onClick: () => {
|
|
2455
|
+
R({ language_code: "kn" }), m?.trackLanguageOfReportSelected?.({
|
|
2456
|
+
language: "kn"
|
|
2457
|
+
});
|
|
2458
|
+
},
|
|
2459
|
+
role: "radio",
|
|
2460
|
+
"aria-checked": r.language_code === "kn",
|
|
2461
|
+
children: a("formReportLanguageKannada")
|
|
2462
|
+
}
|
|
2463
|
+
),
|
|
2464
|
+
/* @__PURE__ */ e.jsx(
|
|
2465
|
+
"button",
|
|
2466
|
+
{
|
|
2467
|
+
id: "kundli-report-lang-gu",
|
|
2468
|
+
type: "button",
|
|
2469
|
+
className: `${o.choiceBtn} ${r.language_code === "gu" ? o.choiceBtnActive : ""}`,
|
|
2470
|
+
onClick: () => {
|
|
2471
|
+
R({ language_code: "gu" }), m?.trackLanguageOfReportSelected?.({
|
|
2472
|
+
language: "gu"
|
|
2473
|
+
});
|
|
2474
|
+
},
|
|
2475
|
+
role: "radio",
|
|
2476
|
+
"aria-checked": r.language_code === "gu",
|
|
2477
|
+
children: a("formReportLanguageGujarati")
|
|
2478
|
+
}
|
|
2479
|
+
),
|
|
2480
|
+
/* @__PURE__ */ e.jsx(
|
|
2481
|
+
"button",
|
|
2482
|
+
{
|
|
2483
|
+
id: "kundli-report-lang-mr",
|
|
2484
|
+
type: "button",
|
|
2485
|
+
className: `${o.choiceBtn} ${r.language_code === "mr" ? o.choiceBtnActive : ""}`,
|
|
2486
|
+
onClick: () => {
|
|
2487
|
+
R({ language_code: "mr" }), m?.trackLanguageOfReportSelected?.({
|
|
2488
|
+
language: "mr"
|
|
2489
|
+
});
|
|
2490
|
+
},
|
|
2491
|
+
role: "radio",
|
|
2492
|
+
"aria-checked": r.language_code === "mr",
|
|
2493
|
+
children: a("formReportLanguageMarathi")
|
|
2494
|
+
}
|
|
2495
|
+
)
|
|
2496
|
+
]
|
|
2497
|
+
}
|
|
2498
|
+
)
|
|
2499
|
+
] })
|
|
2500
|
+
] }) })
|
|
2501
|
+
}
|
|
2502
|
+
);
|
|
2503
|
+
}, An = "_ctaButton_rhimw_2", Nn = "_ctaFilled_rhimw_21", Rn = "_ctaFilledContent_rhimw_52", Ln = "_chevronRight_rhimw_61", He = {
|
|
2504
|
+
ctaButton: An,
|
|
2505
|
+
ctaFilled: Nn,
|
|
2506
|
+
ctaFilledContent: Rn,
|
|
2507
|
+
chevronRight: Ln
|
|
2508
|
+
}, Nt = "kundli-report-astrologer", En = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", In = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Dn = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Bn = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", On = ({ t: a }) => {
|
|
2509
|
+
const s = Be()?.config.imageComponent ?? qe;
|
|
2510
|
+
return /* @__PURE__ */ e.jsxs("div", { className: De.marqueeContent, children: [
|
|
2511
|
+
/* @__PURE__ */ e.jsxs("span", { className: De.badge, children: [
|
|
2512
|
+
/* @__PURE__ */ e.jsx(
|
|
2513
|
+
s,
|
|
2514
|
+
{
|
|
2515
|
+
src: En,
|
|
2516
|
+
alt: "",
|
|
2517
|
+
className: De.badgeIcon,
|
|
2518
|
+
width: 16,
|
|
2519
|
+
height: 16,
|
|
2520
|
+
loading: "lazy"
|
|
2521
|
+
}
|
|
2522
|
+
),
|
|
2523
|
+
a("ctaKundliCreated")
|
|
2524
|
+
] }),
|
|
2525
|
+
/* @__PURE__ */ e.jsxs("span", { className: De.badge, children: [
|
|
2526
|
+
/* @__PURE__ */ e.jsx(
|
|
2527
|
+
s,
|
|
2528
|
+
{
|
|
2529
|
+
src: In,
|
|
2530
|
+
alt: "",
|
|
2531
|
+
className: De.badgeIcon,
|
|
2532
|
+
width: 16,
|
|
2533
|
+
height: 16,
|
|
2534
|
+
loading: "lazy"
|
|
2535
|
+
}
|
|
2536
|
+
),
|
|
2537
|
+
a("ctaCertified")
|
|
2538
|
+
] }),
|
|
2539
|
+
/* @__PURE__ */ e.jsxs("span", { className: De.badge, children: [
|
|
2540
|
+
/* @__PURE__ */ e.jsx(
|
|
2541
|
+
s,
|
|
2542
|
+
{
|
|
2543
|
+
src: Dn,
|
|
2544
|
+
alt: "",
|
|
2545
|
+
className: De.badgeIcon,
|
|
2546
|
+
width: 16,
|
|
2547
|
+
height: 16,
|
|
2548
|
+
loading: "lazy"
|
|
2549
|
+
}
|
|
2550
|
+
),
|
|
2551
|
+
a("ctaSecurePayment")
|
|
2552
|
+
] })
|
|
2553
|
+
] });
|
|
2554
|
+
}, Mn = (a) => /.+@.+\..+/.test(a), Fn = (a) => /^\d{10}$/.test(a), $n = (a, r, s) => {
|
|
2555
|
+
if (!a.fullName.trim()) return "fullName";
|
|
2556
|
+
if (r) {
|
|
2557
|
+
if (!Mn(a.email.trim())) return "email";
|
|
2558
|
+
} else if (!Fn((a.phone ?? "").trim())) return "phone";
|
|
2559
|
+
if (!a.dateOfBirth) return "dateOfBirth";
|
|
2560
|
+
if (!a.birthPlace.trim()) return "birthPlace";
|
|
2561
|
+
if (s) {
|
|
2562
|
+
if (!a.gender) return "gender";
|
|
2563
|
+
if (!a.language_code) return "language_code";
|
|
2564
|
+
}
|
|
2565
|
+
return !a.birthTimeUnknown && !a.birthTime ? "birthTime" : null;
|
|
2566
|
+
}, Gn = ({
|
|
2567
|
+
t: a,
|
|
2568
|
+
values: r,
|
|
2569
|
+
phoneIsdCode: s,
|
|
2570
|
+
requireV1ExtraFields: p = !1,
|
|
2571
|
+
onValidationFailed: d,
|
|
2572
|
+
onProceed: g,
|
|
2573
|
+
onProceedGuidance: b,
|
|
2574
|
+
href: j,
|
|
2575
|
+
analytics: y,
|
|
2576
|
+
className: q = "",
|
|
2577
|
+
discountedPriceLabel: M,
|
|
2578
|
+
discountPillLabel: N,
|
|
2579
|
+
showPlanSheet: m,
|
|
2580
|
+
confirmPlan: P,
|
|
2581
|
+
planSheetOpen: v,
|
|
2582
|
+
selectedPlan: J
|
|
2583
|
+
}) => {
|
|
2584
|
+
const x = Be(), k = x?.config.isGlobal ?? !0, C = x?.config?.variant, oe = Ee(
|
|
2585
|
+
() => $n(r, k, p),
|
|
2586
|
+
[r, k, p]
|
|
2587
|
+
), S = oe === null, V = C === "v1" && x?.config?.showSheet, A = k ? M ?? a("formDiscountedPrice") : V ? "" : "₹499", G = x?.config.imageComponent ?? qe, R = (ee) => {
|
|
2588
|
+
if (ee.preventDefault(), C === "v1" && !S && y?.trackKundliDetailedClicked?.(), !S) {
|
|
2589
|
+
oe && d?.(oe);
|
|
2590
|
+
return;
|
|
2591
|
+
}
|
|
2592
|
+
const te = !!b && C === "v1" && J?.id === Nt, E = (r.phone ?? "").trim(), I = {
|
|
2593
|
+
...r,
|
|
2594
|
+
phone: E && `${s}-${E}`
|
|
2595
|
+
};
|
|
2596
|
+
if (V) {
|
|
2597
|
+
v ? P?.() : m?.(I);
|
|
2598
|
+
return;
|
|
2599
|
+
}
|
|
2600
|
+
y?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), te ? b(I) : g?.(I);
|
|
2601
|
+
}, $ = /* @__PURE__ */ e.jsx(
|
|
2602
|
+
Jt,
|
|
2603
|
+
{
|
|
2604
|
+
href: j,
|
|
2605
|
+
disabled: C === "v1" ? !1 : !S,
|
|
2606
|
+
onClick: R,
|
|
2607
|
+
"aria-label": a("formPriceAria"),
|
|
2608
|
+
className: C === "v1" && S ? He.ctaFilled : C === "v1" ? He.ctaButton : void 0,
|
|
2609
|
+
children: C === "v1" ? S ? /* @__PURE__ */ e.jsxs("span", { className: He.ctaFilledContent, children: [
|
|
2610
|
+
V ? a("selectPackage") : v && J ? `${a("proceedWithPlan")}${J.price}` : `${a("formProceed")} ${A}`,
|
|
2611
|
+
/* @__PURE__ */ e.jsx(
|
|
2612
|
+
G,
|
|
2613
|
+
{
|
|
2614
|
+
src: Bn,
|
|
2615
|
+
alt: "",
|
|
2616
|
+
className: He.chevronRight,
|
|
2617
|
+
width: 20,
|
|
2618
|
+
height: 20,
|
|
2619
|
+
loading: "lazy"
|
|
2620
|
+
}
|
|
2621
|
+
)
|
|
2622
|
+
] }) : a("formCtaDefault") : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2623
|
+
a("formProceed"),
|
|
2624
|
+
" ",
|
|
2625
|
+
A
|
|
2626
|
+
] })
|
|
2627
|
+
}
|
|
2628
|
+
);
|
|
2629
|
+
return /* @__PURE__ */ e.jsx(
|
|
2630
|
+
Qt,
|
|
2631
|
+
{
|
|
2632
|
+
className: `${He.footerContainer} ${q}`,
|
|
2633
|
+
marquee: /* @__PURE__ */ e.jsx(Xt, { children: /* @__PURE__ */ e.jsx(On, { t: a }) }),
|
|
2634
|
+
children: $
|
|
2635
|
+
}
|
|
2636
|
+
);
|
|
2637
|
+
}, Un = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Kn = ({
|
|
2638
|
+
t: a,
|
|
2639
|
+
languageSelector: r,
|
|
2640
|
+
logoUrl: s = Un,
|
|
2641
|
+
className: p = ""
|
|
2642
|
+
}) => {
|
|
2643
|
+
const d = Be(), g = d?.config.isGlobal ?? !0, b = r != null && !g;
|
|
2644
|
+
return /* @__PURE__ */ e.jsx(
|
|
2645
|
+
Zt,
|
|
2646
|
+
{
|
|
2647
|
+
t: a,
|
|
2648
|
+
logoUrl: s,
|
|
2649
|
+
imageComponent: d?.config.imageComponent,
|
|
2650
|
+
languageSelector: r,
|
|
2651
|
+
showLanguageSelector: b,
|
|
2652
|
+
className: p
|
|
2653
|
+
}
|
|
2654
|
+
);
|
|
2655
|
+
}, Rt = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
2656
|
+
"path",
|
|
2657
|
+
{
|
|
2658
|
+
d: "M3.5 8.5l2.5 2.5 6-6",
|
|
2659
|
+
stroke: "#22c55e",
|
|
2660
|
+
strokeWidth: "1.8",
|
|
2661
|
+
strokeLinecap: "round",
|
|
2662
|
+
strokeLinejoin: "round"
|
|
2663
|
+
}
|
|
2664
|
+
) }), Wn = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
2665
|
+
"path",
|
|
2666
|
+
{
|
|
2667
|
+
d: "M4.5 4.5l7 7M11.5 4.5l-7 7",
|
|
2668
|
+
stroke: "#ef4444",
|
|
2669
|
+
strokeWidth: "1.8",
|
|
2670
|
+
strokeLinecap: "round"
|
|
2671
|
+
}
|
|
2672
|
+
) }), st = () => /* @__PURE__ */ e.jsx("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx("path", { d: "M15 18l-6-6 6-6" }) }), Hn = () => /* @__PURE__ */ e.jsx("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx("path", { d: "M6 9l6 6 6-6" }) }), Yn = () => /* @__PURE__ */ e.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: [
|
|
2673
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
|
|
2674
|
+
/* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
2675
|
+
] }), qn = () => /* @__PURE__ */ e.jsx(
|
|
2676
|
+
"img",
|
|
2677
|
+
{
|
|
2678
|
+
src: "https://srm-cdn.a4b.io/yoda/1785316603029.svg",
|
|
2679
|
+
width: 16,
|
|
2680
|
+
height: 16,
|
|
2681
|
+
alt: "",
|
|
2682
|
+
"aria-hidden": !0
|
|
2683
|
+
}
|
|
2684
|
+
), Vn = () => /* @__PURE__ */ e.jsx(
|
|
2685
|
+
"img",
|
|
2686
|
+
{
|
|
2687
|
+
src: "https://srm-cdn.a4b.io/yoda/1785316621747.svg",
|
|
2688
|
+
width: 16,
|
|
2689
|
+
height: 16,
|
|
2690
|
+
alt: "",
|
|
2691
|
+
"aria-hidden": !0
|
|
2692
|
+
}
|
|
2693
|
+
), zn = () => /* @__PURE__ */ e.jsx(
|
|
2694
|
+
"img",
|
|
2695
|
+
{
|
|
2696
|
+
src: "https://srm-cdn.a4b.io/yoda/1785316635953.svg",
|
|
2697
|
+
width: 16,
|
|
2698
|
+
height: 16,
|
|
2699
|
+
alt: "",
|
|
2700
|
+
"aria-hidden": !0
|
|
2701
|
+
}
|
|
2702
|
+
), Jn = () => /* @__PURE__ */ e.jsxs("svg", { width: "40", height: "40", viewBox: "0 0 24 24", fill: "none", "aria-hidden": !0, children: [
|
|
2703
|
+
/* @__PURE__ */ e.jsx("rect", { x: "3", y: "4.5", width: "18", height: "16", rx: "3", stroke: "#D1D5DB", strokeWidth: "1.6" }),
|
|
2704
|
+
/* @__PURE__ */ e.jsx("path", { d: "M3 9.5h18", stroke: "#D1D5DB", strokeWidth: "1.6" }),
|
|
2705
|
+
/* @__PURE__ */ e.jsx("path", { d: "M8 2.5v4M16 2.5v4", stroke: "#D1D5DB", strokeWidth: "1.6", strokeLinecap: "round" }),
|
|
2706
|
+
/* @__PURE__ */ e.jsx("path", { d: "M7.5 20.5L17 6", stroke: "#9CA3AF", strokeWidth: "1.6", strokeLinecap: "round" })
|
|
2707
|
+
] }), Qn = "_overlay_1u7x5_2", Xn = "_sheet_1u7x5_12", Zn = "_sheetFullScreen_1u7x5_36", er = "_headerFull_1u7x5_50", tr = "_titleFull_1u7x5_63", ar = "_header_1u7x5_50", nr = "_backBtn_1u7x5_84", rr = "_title_1u7x5_63", or = "_plansContainer_1u7x5_114", ir = "_planCard_1u7x5_123", lr = "_withBadgeSpacing_1u7x5_137", sr = "_planCardSelected_1u7x5_141", cr = "_planCardPopular_1u7x5_146", dr = "_popularBadge_1u7x5_155", ur = "_planCardInner_1u7x5_173", pr = "_planTitleRow_1u7x5_184", mr = "_planTitle_1u7x5_184", hr = "_radioCircle_1u7x5_199", gr = "_radioChecked_1u7x5_212", fr = "_radioInner_1u7x5_217", _r = "_priceRow_1u7x5_225", br = "_price_1u7x5_225", yr = "_originalPrice_1u7x5_238", kr = "_savingsBadge_1u7x5_245", vr = "_featureList_1u7x5_255", xr = "_featureItem_1u7x5_264", wr = "_featureIcon_1u7x5_270", jr = "_featureText_1u7x5_276", Tr = "_astrologerHeading_1u7x5_287", Sr = "_astrologerList_1u7x5_294", Cr = "_astrologerCard_1u7x5_310", Pr = "_astrologerAvatar_1u7x5_326", Ar = "_astrologerAvatarPlaceholder_1u7x5_343", Nr = "_astrologerTop_1u7x5_349", Rr = "_astrologerBasicInfo_1u7x5_355", Lr = "_astrologerName_1u7x5_362", Er = "_astrologerExp_1u7x5_371", Ir = "_astrologerDivider_1u7x5_377", Dr = "_planDivider_1u7x5_383", Br = "_astrologerCertList_1u7x5_390", Or = "_astrologerCertItem_1u7x5_396", Mr = "_bullet_1u7x5_404", Fr = "_footer_1u7x5_409", $r = "_proceedBtn_1u7x5_419", T = {
|
|
2708
|
+
overlay: Qn,
|
|
2709
|
+
sheet: Xn,
|
|
2710
|
+
sheetFullScreen: Zn,
|
|
2711
|
+
headerFull: er,
|
|
2712
|
+
titleFull: tr,
|
|
2713
|
+
header: ar,
|
|
2714
|
+
backBtn: nr,
|
|
2715
|
+
title: rr,
|
|
2716
|
+
plansContainer: or,
|
|
2717
|
+
planCard: ir,
|
|
2718
|
+
withBadgeSpacing: lr,
|
|
2719
|
+
planCardSelected: sr,
|
|
2720
|
+
planCardPopular: cr,
|
|
2721
|
+
popularBadge: dr,
|
|
2722
|
+
planCardInner: ur,
|
|
2723
|
+
planTitleRow: pr,
|
|
2724
|
+
planTitle: mr,
|
|
2725
|
+
radioCircle: hr,
|
|
2726
|
+
radioChecked: gr,
|
|
2727
|
+
radioInner: fr,
|
|
2728
|
+
priceRow: _r,
|
|
2729
|
+
price: br,
|
|
2730
|
+
originalPrice: yr,
|
|
2731
|
+
savingsBadge: kr,
|
|
2732
|
+
featureList: vr,
|
|
2733
|
+
featureItem: xr,
|
|
2734
|
+
featureIcon: wr,
|
|
2735
|
+
featureText: jr,
|
|
2736
|
+
astrologerHeading: Tr,
|
|
2737
|
+
astrologerList: Sr,
|
|
2738
|
+
astrologerCard: Cr,
|
|
2739
|
+
astrologerAvatar: Pr,
|
|
2740
|
+
astrologerAvatarPlaceholder: Ar,
|
|
2741
|
+
astrologerTop: Nr,
|
|
2742
|
+
astrologerBasicInfo: Rr,
|
|
2743
|
+
astrologerName: Lr,
|
|
2744
|
+
astrologerExp: Er,
|
|
2745
|
+
astrologerDivider: Ir,
|
|
2746
|
+
planDivider: Dr,
|
|
2747
|
+
astrologerCertList: Br,
|
|
2748
|
+
astrologerCertItem: Or,
|
|
2749
|
+
bullet: Mr,
|
|
2750
|
+
footer: Fr,
|
|
2751
|
+
proceedBtn: $r
|
|
2752
|
+
}, Gr = ({ title: a, onBack: r }) => /* @__PURE__ */ e.jsxs("div", { className: T.header, children: [
|
|
2753
|
+
/* @__PURE__ */ e.jsx(
|
|
2754
|
+
"button",
|
|
2755
|
+
{
|
|
2756
|
+
className: T.backBtn,
|
|
2757
|
+
onClick: r,
|
|
2758
|
+
"aria-label": "Go back",
|
|
2759
|
+
type: "button",
|
|
2760
|
+
children: /* @__PURE__ */ e.jsx(st, {})
|
|
2761
|
+
}
|
|
2762
|
+
),
|
|
2763
|
+
/* @__PURE__ */ e.jsx("h2", { className: T.title, children: a })
|
|
2764
|
+
] }), Ur = ({ features: a, t: r }) => /* @__PURE__ */ e.jsx("ul", { className: T.featureList, "aria-label": "Plan features", children: a.map((s, p) => /* @__PURE__ */ e.jsxs("li", { className: T.featureItem, children: [
|
|
2765
|
+
/* @__PURE__ */ e.jsx("span", { className: T.featureIcon, children: s.included ? /* @__PURE__ */ e.jsx(Rt, {}) : /* @__PURE__ */ e.jsx(Wn, {}) }),
|
|
2766
|
+
/* @__PURE__ */ e.jsx(
|
|
2767
|
+
"span",
|
|
2768
|
+
{
|
|
2769
|
+
className: `${T.featureText} `,
|
|
2770
|
+
children: r?.(s.text) ?? s.text
|
|
2771
|
+
}
|
|
2772
|
+
)
|
|
2773
|
+
] }, p)) }), Kr = ({ astrologer: a, t: r }) => /* @__PURE__ */ e.jsxs("div", { className: T.astrologerCard, children: [
|
|
2774
|
+
/* @__PURE__ */ e.jsxs("div", { className: T.astrologerTop, children: [
|
|
2775
|
+
/* @__PURE__ */ e.jsx("div", { className: T.astrologerAvatar, "aria-hidden": !0, children: a.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: a.imageUrl, alt: r?.(a.name) ?? a.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: T.astrologerAvatarPlaceholder, children: a.name.charAt(0) }) }),
|
|
2776
|
+
/* @__PURE__ */ e.jsxs("div", { className: T.astrologerBasicInfo, children: [
|
|
2777
|
+
/* @__PURE__ */ e.jsx("p", { className: T.astrologerName, children: r?.(a.name) ?? a.name }),
|
|
2778
|
+
/* @__PURE__ */ e.jsx("p", { className: T.astrologerExp, children: r?.(a.experience) ?? a.experience })
|
|
2779
|
+
] })
|
|
2780
|
+
] }),
|
|
2781
|
+
/* @__PURE__ */ e.jsx("div", { className: T.astrologerDivider }),
|
|
2782
|
+
/* @__PURE__ */ e.jsx("div", { className: T.astrologerCertList, children: a.certifications.map((s, p) => /* @__PURE__ */ e.jsxs("p", { className: T.astrologerCertItem, children: [
|
|
2783
|
+
/* @__PURE__ */ e.jsx("span", { className: T.bullet, children: "•" }),
|
|
2784
|
+
" ",
|
|
2785
|
+
r?.(s) ?? s
|
|
2786
|
+
] }, p)) })
|
|
2787
|
+
] }), Wr = ({ label: a }) => /* @__PURE__ */ e.jsxs("div", { className: T.popularBadge, "aria-label": a, children: [
|
|
2788
|
+
/* @__PURE__ */ e.jsx(Yn, {}),
|
|
2789
|
+
/* @__PURE__ */ e.jsx("span", { children: a })
|
|
2790
|
+
] }), Hr = ({ plan: a, isSelected: r, onSelect: s, t: p }) => {
|
|
2791
|
+
const d = () => s(a.id), g = (b) => {
|
|
2792
|
+
(b.key === " " || b.key === "Enter") && (b.preventDefault(), s(a.id));
|
|
2793
|
+
};
|
|
2794
|
+
return /* @__PURE__ */ e.jsxs(
|
|
2795
|
+
"div",
|
|
2796
|
+
{
|
|
2797
|
+
className: [
|
|
2798
|
+
T.planCard,
|
|
2799
|
+
r ? T.planCardSelected : "",
|
|
2800
|
+
r && T.planCardPopular
|
|
2801
|
+
].filter(Boolean).join(" "),
|
|
2802
|
+
onClick: d,
|
|
2803
|
+
role: "radio",
|
|
2804
|
+
"aria-checked": r,
|
|
2805
|
+
tabIndex: 0,
|
|
2806
|
+
onKeyDown: g,
|
|
2807
|
+
"data-plan-id": a.id,
|
|
2808
|
+
children: [
|
|
2809
|
+
a.badge && /* @__PURE__ */ e.jsx(Wr, { label: p?.(a.badge) ?? a.badge }),
|
|
2810
|
+
/* @__PURE__ */ e.jsxs("div", { className: T.planCardInner, children: [
|
|
2811
|
+
/* @__PURE__ */ e.jsxs("div", { className: `${T.planTitleRow} ${a.badge ? T.withBadgeSpacing : ""}`, children: [
|
|
2812
|
+
/* @__PURE__ */ e.jsx("span", { className: T.planTitle, children: p?.(a.title) ?? a.title }),
|
|
2813
|
+
/* @__PURE__ */ e.jsx(
|
|
2814
|
+
"span",
|
|
2815
|
+
{
|
|
2816
|
+
className: `${T.radioCircle} ${r ? T.radioChecked : ""}`,
|
|
2817
|
+
"aria-hidden": !0,
|
|
2818
|
+
children: r && /* @__PURE__ */ e.jsx("span", { className: T.radioInner })
|
|
2819
|
+
}
|
|
2820
|
+
)
|
|
2821
|
+
] }),
|
|
2822
|
+
/* @__PURE__ */ e.jsxs("div", { className: T.priceRow, children: [
|
|
2823
|
+
/* @__PURE__ */ e.jsx("span", { className: T.price, children: a.price }),
|
|
2824
|
+
a.originalPrice && /* @__PURE__ */ e.jsx("span", { className: T.originalPrice, children: a.originalPrice }),
|
|
2825
|
+
a.savingsLabel && /* @__PURE__ */ e.jsx("span", { className: T.savingsBadge, children: p?.(a.savingsLabel, { percent: 25 }) ?? a.savingsLabel })
|
|
2826
|
+
] }),
|
|
2827
|
+
/* @__PURE__ */ e.jsx(Ur, { features: a.features, t: p }),
|
|
2828
|
+
a.astrologers && /* @__PURE__ */ e.jsx("div", { className: T.planDivider }),
|
|
2829
|
+
a.astrologers && a.astrologers.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2830
|
+
/* @__PURE__ */ e.jsx("p", { className: T.astrologerHeading, children: p?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
|
|
2831
|
+
/* @__PURE__ */ e.jsx("div", { className: T.astrologerList, role: "list", children: a.astrologers.map((b, j) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(Kr, { astrologer: b, t: p }) }, j)) })
|
|
2832
|
+
] })
|
|
2833
|
+
] })
|
|
2834
|
+
]
|
|
2835
|
+
}
|
|
2836
|
+
);
|
|
2837
|
+
}, tt = (a) => {
|
|
2838
|
+
const r = a.match(/T(\d{2}):(\d{2})/);
|
|
2839
|
+
if (!r) return a;
|
|
2840
|
+
const s = Number(r[1]), p = r[2], d = s >= 12 ? "PM" : "AM";
|
|
2841
|
+
return `${s % 12 || 12}:${p} ${d}`;
|
|
2842
|
+
}, Yr = (a, r = /* @__PURE__ */ new Date()) => {
|
|
2843
|
+
const s = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], p = /* @__PURE__ */ new Date(`${a}T00:00:00`);
|
|
2844
|
+
if (Number.isNaN(p.getTime()))
|
|
2845
|
+
return { id: a, dayLabel: a, dayNum: "" };
|
|
2846
|
+
const d = (j) => new Date(j.getFullYear(), j.getMonth(), j.getDate()).getTime(), g = Math.round(
|
|
2847
|
+
(d(p) - d(r)) / (1e3 * 60 * 60 * 24)
|
|
2848
|
+
), b = g === 0 ? "Today" : g === 1 ? "Tomorrow" : s[p.getDay()];
|
|
2849
|
+
return { id: a, dayLabel: b, dayNum: String(p.getDate()) };
|
|
2850
|
+
}, qr = [
|
|
2851
|
+
"morning",
|
|
2852
|
+
"afternoon",
|
|
2853
|
+
"evening"
|
|
2854
|
+
], Vr = [
|
|
2855
|
+
{ id: "career_work", labelKey: "planTopicCareerWork", label: "Career & work" },
|
|
2856
|
+
{ id: "health_wellbeing", labelKey: "planTopicHealthWellbeing", label: "Health & wellbeing" },
|
|
2857
|
+
{ id: "love_marriage", labelKey: "planTopicLoveMarriage", label: "Love & marriage" },
|
|
2858
|
+
{ id: "money_finance", labelKey: "planTopicMoneyFinance", label: "Money & finance" }
|
|
2859
|
+
], Ye = [
|
|
2860
|
+
{ code: "en", labelKey: "formReportLanguageEnglish", label: "English" },
|
|
2861
|
+
{ code: "hi", labelKey: "formReportLanguageHindi", label: "Hindi" },
|
|
2862
|
+
{ code: "te", labelKey: "formReportLanguageTelugu", label: "Telugu" },
|
|
2863
|
+
{ code: "kn", labelKey: "formReportLanguageKannada", label: "Kannada" },
|
|
2864
|
+
{ code: "gu", labelKey: "formReportLanguageGujarati", label: "Gujarati" },
|
|
2865
|
+
{ code: "mr", labelKey: "formReportLanguageMarathi", label: "Marathi" },
|
|
2866
|
+
{ code: "ta", labelKey: "formReportLanguageTamil", label: "Tamil" }
|
|
2867
|
+
], zr = {
|
|
2868
|
+
en: ["hi", "en"],
|
|
2869
|
+
hi: ["hi", "en"],
|
|
2870
|
+
te: ["te", "en"],
|
|
2871
|
+
kn: ["kn", "en"],
|
|
2872
|
+
gu: ["gu", "en"],
|
|
2873
|
+
mr: ["mr", "hi"],
|
|
2874
|
+
ta: ["ta", "en"]
|
|
2875
|
+
}, Jr = {
|
|
2876
|
+
en: ["en", "hi"],
|
|
2877
|
+
hi: ["hi", "en"],
|
|
2878
|
+
te: ["te", "en"],
|
|
2879
|
+
kn: ["kn", "en"],
|
|
2880
|
+
gu: ["gu", "en"],
|
|
2881
|
+
mr: ["mr", "en"],
|
|
2882
|
+
ta: ["ta", "en"]
|
|
2883
|
+
}, Lt = (a) => !!a?.days?.some((r) => r.has_availability && r.slots.length > 0), Qr = (a, r, s) => {
|
|
2884
|
+
const p = s ? Jr : zr, [d, g] = p[r || "en"] ?? p.en, b = Ye.map((y) => y.code).filter(
|
|
2885
|
+
(y) => y !== d && y !== g
|
|
2886
|
+
);
|
|
2887
|
+
return [d, g, ...b].find((y) => Lt(a[y])) ?? d;
|
|
2888
|
+
}, Xr = "_overlay_12sjj_3", Zr = "_sheet_12sjj_13", eo = "_content_12sjj_35", to = "_header_12sjj_42", ao = "_backBtn_12sjj_55", no = "_title_12sjj_73", ro = "_languageRow_12sjj_89", oo = "_languageLabel_12sjj_97", io = "_languageDropdown_12sjj_103", lo = "_languageDropdownBtn_12sjj_107", so = "_languageMenu_12sjj_122", co = "_languageMenuItem_12sjj_139", uo = "_languageMenuItemSelected_12sjj_153", po = "_languageDivider_12sjj_159", mo = "_reportReadyBanner_12sjj_166", ho = "_reportReadyDuration_12sjj_175", go = "_trustRow_12sjj_181", fo = "_trustAvatars_12sjj_192", _o = "_trustText_12sjj_205", bo = "_sectionHeading_12sjj_316", yo = "_dateTabs_12sjj_324", ko = "_dateTabIndicator_12sjj_336", vo = "_dateTab_12sjj_324", xo = "_dateTabDivider_12sjj_370", wo = "_dateTabSelected_12sjj_380", jo = "_dateTabLabel_12sjj_385", To = "_dateTabNum_12sjj_392", So = "_periodTabs_12sjj_406", Co = "_periodTabIndicator_12sjj_334", Po = "_periodTab_12sjj_334", Ao = "_periodTabSelected_12sjj_453", No = "_timeGrid_12sjj_458", Ro = "_emptyState_12sjj_486", Lo = "_timeSlot_12sjj_490", Eo = "_timeSlotSelected_12sjj_506", Io = "_topicGrid_12sjj_514", Do = "_topicChip_12sjj_520", Bo = "_topicChipSelected_12sjj_536", Oo = "_stateMessage_12sjj_543", Mo = "_emptyStateIcon_12sjj_563", Fo = "_emptyStateTitle_12sjj_574", $o = "_emptyStateSubtitle_12sjj_581", Go = "_loadingWrap_12sjj_590", Uo = "_skeletonShimmer_12sjj_595", Ko = "_skeletonDateTabs_12sjj_609", Wo = "_skeletonDateTab_12sjj_609", Ho = "_skeletonPeriodTabs_12sjj_623", Yo = "_skeletonPeriodTab_12sjj_623", qo = "_skeletonTimeGrid_12sjj_638", Vo = "_skeletonTimeSlot_12sjj_644", zo = "_retryBtn_12sjj_649", Jo = "_footer_12sjj_663", Qo = "_proceedBtn_12sjj_670", Xo = "_proceedBtnDisabled_12sjj_688", f = {
|
|
2889
|
+
overlay: Xr,
|
|
2890
|
+
sheet: Zr,
|
|
2891
|
+
content: eo,
|
|
2892
|
+
header: to,
|
|
2893
|
+
backBtn: ao,
|
|
2894
|
+
title: no,
|
|
2895
|
+
languageRow: ro,
|
|
2896
|
+
languageLabel: oo,
|
|
2897
|
+
languageDropdown: io,
|
|
2898
|
+
languageDropdownBtn: lo,
|
|
2899
|
+
languageMenu: so,
|
|
2900
|
+
languageMenuItem: co,
|
|
2901
|
+
languageMenuItemSelected: uo,
|
|
2902
|
+
languageDivider: po,
|
|
2903
|
+
reportReadyBanner: mo,
|
|
2904
|
+
reportReadyDuration: ho,
|
|
2905
|
+
trustRow: go,
|
|
2906
|
+
trustAvatars: fo,
|
|
2907
|
+
trustText: _o,
|
|
2908
|
+
sectionHeading: bo,
|
|
2909
|
+
dateTabs: yo,
|
|
2910
|
+
dateTabIndicator: ko,
|
|
2911
|
+
dateTab: vo,
|
|
2912
|
+
dateTabDivider: xo,
|
|
2913
|
+
dateTabSelected: wo,
|
|
2914
|
+
dateTabLabel: jo,
|
|
2915
|
+
dateTabNum: To,
|
|
2916
|
+
periodTabs: So,
|
|
2917
|
+
periodTabIndicator: Co,
|
|
2918
|
+
periodTab: Po,
|
|
2919
|
+
periodTabSelected: Ao,
|
|
2920
|
+
timeGrid: No,
|
|
2921
|
+
emptyState: Ro,
|
|
2922
|
+
timeSlot: Lo,
|
|
2923
|
+
timeSlotSelected: Eo,
|
|
2924
|
+
topicGrid: Io,
|
|
2925
|
+
topicChip: Do,
|
|
2926
|
+
topicChipSelected: Bo,
|
|
2927
|
+
stateMessage: Oo,
|
|
2928
|
+
emptyStateIcon: Mo,
|
|
2929
|
+
emptyStateTitle: Fo,
|
|
2930
|
+
emptyStateSubtitle: $o,
|
|
2931
|
+
loadingWrap: Go,
|
|
2932
|
+
skeletonShimmer: Uo,
|
|
2933
|
+
skeletonDateTabs: Ko,
|
|
2934
|
+
skeletonDateTab: Wo,
|
|
2935
|
+
skeletonPeriodTabs: Ho,
|
|
2936
|
+
skeletonPeriodTab: Yo,
|
|
2937
|
+
skeletonTimeGrid: qo,
|
|
2938
|
+
skeletonTimeSlot: Vo,
|
|
2939
|
+
retryBtn: zo,
|
|
2940
|
+
footer: Jo,
|
|
2941
|
+
proceedBtn: Qo,
|
|
2942
|
+
proceedBtnDisabled: Xo
|
|
2943
|
+
}, Zo = {
|
|
2944
|
+
morning: qn,
|
|
2945
|
+
afternoon: Vn,
|
|
2946
|
+
evening: zn
|
|
2947
|
+
}, ei = {
|
|
2948
|
+
morning: "planPeriodMorning",
|
|
2949
|
+
afternoon: "planPeriodAfternoon",
|
|
2950
|
+
evening: "planPeriodEvening"
|
|
2951
|
+
}, at = (a) => Ye.find((r) => r.code === a)?.label ?? a, ti = (a) => {
|
|
2952
|
+
const r = a.match(/([+-]\d{2}:\d{2})$/);
|
|
2953
|
+
return r ? `GMT${r[1]}` : a.endsWith("Z") ? "GMT+00:00" : "";
|
|
2954
|
+
}, ai = ({
|
|
2955
|
+
isOpen: a,
|
|
2956
|
+
onClose: r,
|
|
2957
|
+
onProceed: s,
|
|
2958
|
+
astrologers: p,
|
|
2959
|
+
t: d,
|
|
2960
|
+
analytics: g,
|
|
2961
|
+
reportLanguage: b,
|
|
2962
|
+
isPostPayment: j = !1
|
|
2963
|
+
}) => {
|
|
2964
|
+
const y = Be(), q = y?.config.imageComponent ?? qe, M = y?.config.fetchConsultationSlots, N = y?.config.isGlobal ?? !0, m = b ?? y?.formValues?.language_code, P = j ? "post_payment" : "pre_payment", [v, J] = B(!1), [x, k] = B(!1), [C, oe] = B({}), [S, V] = B("en"), [A, G] = B(!1), R = F(null), $ = Ee(
|
|
2965
|
+
() => C[S]?.days ?? [],
|
|
2966
|
+
[C, S]
|
|
2967
|
+
), [ee, te] = B(""), [E, I] = B(""), [U, Q] = B("morning"), [D, _e] = B(null), ie = F(!1), de = F(null), ue = F({}), [X, Te] = B(null), ke = F(null), Re = F(
|
|
2968
|
+
{}
|
|
2969
|
+
), [ge, Z] = B(null), W = Ee(
|
|
2970
|
+
() => $.filter((i) => i.has_availability && i.slots.length > 0),
|
|
2971
|
+
[$]
|
|
2972
|
+
), fe = Pe(() => {
|
|
2973
|
+
M && (J(!0), k(!1), M().then((i) => {
|
|
2974
|
+
const _ = i ?? {}, h = Qr(
|
|
2975
|
+
_,
|
|
2976
|
+
m,
|
|
2977
|
+
N
|
|
2978
|
+
);
|
|
2979
|
+
oe(_), V(h), g?.trackConsultationLanguageDefaultSelected?.({
|
|
2980
|
+
language: at(h),
|
|
2981
|
+
status: P
|
|
2982
|
+
});
|
|
2983
|
+
const he = (_[h]?.days ?? []).filter(
|
|
2984
|
+
(le) => le.has_availability && le.slots.length > 0
|
|
2985
|
+
).length;
|
|
2986
|
+
g?.trackAstrologerAvailabilityServed?.({
|
|
2987
|
+
astrologers_shown: p.map((le) => le.name),
|
|
2988
|
+
dates_available_count: he,
|
|
2989
|
+
status: P
|
|
2990
|
+
});
|
|
2991
|
+
}).catch(() => {
|
|
2992
|
+
k(!0);
|
|
2993
|
+
}).finally(() => J(!1)));
|
|
2994
|
+
}, [M, N, m, g, p, P]);
|
|
2995
|
+
Y(() => {
|
|
2996
|
+
if (!a) {
|
|
2997
|
+
ie.current = !1;
|
|
2998
|
+
return;
|
|
2999
|
+
}
|
|
3000
|
+
te(""), G(!1), fe();
|
|
3001
|
+
}, [a]), Y(() => {
|
|
3002
|
+
if (!A) return;
|
|
3003
|
+
const i = (_) => {
|
|
3004
|
+
R.current && !R.current.contains(_.target) && G(!1);
|
|
3005
|
+
};
|
|
3006
|
+
return document.addEventListener("mousedown", i), () => document.removeEventListener("mousedown", i);
|
|
3007
|
+
}, [A]), Y(() => {
|
|
3008
|
+
if (!W.length) {
|
|
3009
|
+
I(""), _e(null);
|
|
3010
|
+
return;
|
|
3011
|
+
}
|
|
3012
|
+
const i = W[0];
|
|
3013
|
+
W.some((_) => _.date === E) || g?.trackConsultationDateDefaultSelected?.({
|
|
3014
|
+
date: i.date,
|
|
3015
|
+
status: P
|
|
3016
|
+
}), I(
|
|
3017
|
+
(_) => W.some((h) => h.date === _) ? _ : i.date
|
|
3018
|
+
);
|
|
3019
|
+
}, [W]);
|
|
3020
|
+
const ae = Ee(
|
|
3021
|
+
() => W.find((i) => i.date === E) ?? null,
|
|
3022
|
+
[W, E]
|
|
3023
|
+
), ne = Ee(() => {
|
|
3024
|
+
if (!ae) return [];
|
|
3025
|
+
const i = new Set(ae.slots.map((_) => _.period));
|
|
3026
|
+
return qr.filter((_) => i.has(_));
|
|
3027
|
+
}, [ae]);
|
|
3028
|
+
Y(() => {
|
|
3029
|
+
if (!ne.length) {
|
|
3030
|
+
Q("morning"), _e(null);
|
|
3031
|
+
return;
|
|
3032
|
+
}
|
|
3033
|
+
Q(
|
|
3034
|
+
(i) => ne.includes(i) ? i : ne[0]
|
|
3035
|
+
);
|
|
3036
|
+
}, [ne]);
|
|
3037
|
+
const ce = Ee(() => ae ? ae.slots.filter((i) => i.period === U) : [], [ae, U]);
|
|
3038
|
+
if (Y(() => {
|
|
3039
|
+
const i = () => {
|
|
3040
|
+
const _ = de.current, h = ue.current[E];
|
|
3041
|
+
if (!_ || !h) {
|
|
3042
|
+
Te(null);
|
|
3043
|
+
return;
|
|
3044
|
+
}
|
|
3045
|
+
const he = _.getBoundingClientRect(), le = h.getBoundingClientRect();
|
|
3046
|
+
Te({
|
|
3047
|
+
left: le.left - he.left,
|
|
3048
|
+
top: le.top - he.top,
|
|
3049
|
+
width: le.width,
|
|
3050
|
+
height: le.height
|
|
3051
|
+
});
|
|
3052
|
+
};
|
|
3053
|
+
return i(), window.addEventListener("resize", i), () => window.removeEventListener("resize", i);
|
|
3054
|
+
}, [E, W]), Y(() => {
|
|
3055
|
+
const i = () => {
|
|
3056
|
+
const _ = ke.current, h = Re.current[U];
|
|
3057
|
+
if (!_ || !h) {
|
|
3058
|
+
Z(null);
|
|
3059
|
+
return;
|
|
3060
|
+
}
|
|
3061
|
+
const he = _.getBoundingClientRect(), le = h.getBoundingClientRect();
|
|
3062
|
+
Z({
|
|
3063
|
+
left: le.left - he.left,
|
|
3064
|
+
width: le.width
|
|
3065
|
+
});
|
|
3066
|
+
};
|
|
3067
|
+
return i(), window.addEventListener("resize", i), () => window.removeEventListener("resize", i);
|
|
3068
|
+
}, [U, ne]), Y(() => {
|
|
3069
|
+
if (!ce.length) {
|
|
3070
|
+
_e(null);
|
|
3071
|
+
return;
|
|
3072
|
+
}
|
|
3073
|
+
if (!(D && ce.some((_) => _.start === D.start))) {
|
|
3074
|
+
const _ = ce[0];
|
|
3075
|
+
g?.trackConsultationTimeDefaultSelected?.({
|
|
3076
|
+
time: tt(_.start),
|
|
3077
|
+
gmt_offset: ti(_.start),
|
|
3078
|
+
status: P
|
|
3079
|
+
});
|
|
3080
|
+
}
|
|
3081
|
+
_e(
|
|
3082
|
+
(_) => _ && ce.some((h) => h.start === _.start) ? _ : ce[0]
|
|
3083
|
+
);
|
|
3084
|
+
}, [ce]), Y(() => {
|
|
3085
|
+
a && W.length && !ie.current && (g?.trackSlotScreenViewed?.({
|
|
3086
|
+
astrologers_shown: p.map((i) => i.name),
|
|
3087
|
+
dates_available_count: W.length,
|
|
3088
|
+
status: P
|
|
3089
|
+
}), ie.current = !0);
|
|
3090
|
+
}, [a, W, p, g, P]), !a) return null;
|
|
3091
|
+
const Ae = !!D && (j || !!ee), pe = (i) => {
|
|
3092
|
+
I(i), g?.trackSlotDateSelected?.({
|
|
3093
|
+
date: i,
|
|
3094
|
+
day_part_default: U,
|
|
3095
|
+
status: P
|
|
3096
|
+
});
|
|
3097
|
+
}, me = (i) => {
|
|
3098
|
+
Q(i), g?.trackDayPartSelected?.({
|
|
3099
|
+
day_part: i,
|
|
3100
|
+
slots_available_count: ae?.slots.filter((_) => _.period === i).length ?? 0,
|
|
3101
|
+
status: P
|
|
3102
|
+
});
|
|
3103
|
+
}, Ne = (i) => {
|
|
3104
|
+
_e(i), g?.trackSlotSelected?.({
|
|
3105
|
+
date: E,
|
|
3106
|
+
time: tt(i.start),
|
|
3107
|
+
day_part: i.period,
|
|
3108
|
+
topic: ee || null,
|
|
3109
|
+
status: P
|
|
3110
|
+
});
|
|
3111
|
+
}, xe = () => {
|
|
3112
|
+
D && (g?.trackSlotReservationRequested?.({
|
|
3113
|
+
slot_datetime: `${D.start} - ${D.end}`,
|
|
3114
|
+
status: P
|
|
3115
|
+
}), s({
|
|
3116
|
+
start: D.start,
|
|
3117
|
+
end: D.end,
|
|
3118
|
+
period: D.period,
|
|
3119
|
+
topic: ee,
|
|
3120
|
+
language: S
|
|
3121
|
+
}));
|
|
3122
|
+
}, be = (i) => {
|
|
3123
|
+
te(i), g?.trackGuidanceTopicSelected?.({ topic: i, status: P });
|
|
3124
|
+
}, we = (i) => {
|
|
3125
|
+
g?.trackConsultationLanguageChanged?.({
|
|
3126
|
+
previous_language: at(S),
|
|
3127
|
+
new_language: at(i),
|
|
3128
|
+
slots_available: Lt(C[i]) ? "yes" : "no",
|
|
3129
|
+
status: P
|
|
3130
|
+
}), V(i), G(!1);
|
|
3131
|
+
}, je = Ye.find((i) => i.code === S) ?? Ye[0];
|
|
3132
|
+
return /* @__PURE__ */ e.jsx(
|
|
3133
|
+
"div",
|
|
3134
|
+
{
|
|
3135
|
+
className: f.overlay,
|
|
3136
|
+
role: "dialog",
|
|
3137
|
+
"aria-modal": "true",
|
|
3138
|
+
"aria-label": d?.("planConsultationSlotTitle") ?? "Select consultation slot",
|
|
3139
|
+
children: /* @__PURE__ */ e.jsxs("div", { className: f.sheet, children: [
|
|
3140
|
+
/* @__PURE__ */ e.jsxs("div", { className: f.header, children: [
|
|
3141
|
+
/* @__PURE__ */ e.jsx(
|
|
3142
|
+
"button",
|
|
3143
|
+
{
|
|
3144
|
+
className: f.backBtn,
|
|
3145
|
+
onClick: r,
|
|
3146
|
+
"aria-label": "Go back",
|
|
3147
|
+
type: "button",
|
|
3148
|
+
children: /* @__PURE__ */ e.jsx(st, {})
|
|
3149
|
+
}
|
|
3150
|
+
),
|
|
3151
|
+
/* @__PURE__ */ e.jsx("h2", { className: f.title, children: d?.("planConsultationSlotTitle") ?? "Select consultation slot" })
|
|
3152
|
+
] }),
|
|
3153
|
+
/* @__PURE__ */ e.jsxs("div", { className: f.content, children: [
|
|
3154
|
+
/* @__PURE__ */ e.jsxs("div", { className: f.languageRow, children: [
|
|
3155
|
+
/* @__PURE__ */ e.jsx("span", { className: f.languageLabel, children: d?.("planConsultationLanguageLabel") ?? "Your consultation language" }),
|
|
3156
|
+
/* @__PURE__ */ e.jsxs("div", { className: f.languageDropdown, ref: R, children: [
|
|
3157
|
+
/* @__PURE__ */ e.jsxs(
|
|
3158
|
+
"button",
|
|
3159
|
+
{
|
|
3160
|
+
type: "button",
|
|
3161
|
+
className: f.languageDropdownBtn,
|
|
3162
|
+
onClick: () => G((i) => !i),
|
|
3163
|
+
"aria-haspopup": "listbox",
|
|
3164
|
+
"aria-expanded": A,
|
|
3165
|
+
children: [
|
|
3166
|
+
d?.(je.labelKey) ?? je.label,
|
|
3167
|
+
/* @__PURE__ */ e.jsx(Hn, {})
|
|
3168
|
+
]
|
|
3169
|
+
}
|
|
3170
|
+
),
|
|
3171
|
+
A && /* @__PURE__ */ e.jsx("ul", { className: f.languageMenu, role: "listbox", children: Ye.map((i) => {
|
|
3172
|
+
const _ = i.code === S;
|
|
3173
|
+
return /* @__PURE__ */ e.jsxs(
|
|
3174
|
+
"li",
|
|
3175
|
+
{
|
|
3176
|
+
role: "option",
|
|
3177
|
+
"aria-selected": _,
|
|
3178
|
+
className: [
|
|
3179
|
+
f.languageMenuItem,
|
|
3180
|
+
_ ? f.languageMenuItemSelected : ""
|
|
3181
|
+
].filter(Boolean).join(" "),
|
|
3182
|
+
onClick: () => we(i.code),
|
|
3183
|
+
children: [
|
|
3184
|
+
d?.(i.labelKey) ?? i.label,
|
|
3185
|
+
_ && /* @__PURE__ */ e.jsx(Rt, {})
|
|
3186
|
+
]
|
|
3187
|
+
},
|
|
3188
|
+
i.code
|
|
3189
|
+
);
|
|
3190
|
+
}) })
|
|
3191
|
+
] })
|
|
3192
|
+
] }),
|
|
3193
|
+
/* @__PURE__ */ e.jsx("hr", { className: f.languageDivider }),
|
|
3194
|
+
/* @__PURE__ */ e.jsx("p", { className: f.sectionHeading, children: d?.("planSelectSlotHeading") ?? "Book your preferred consultation slot" }),
|
|
3195
|
+
/* @__PURE__ */ e.jsxs("p", { className: f.reportReadyBanner, children: [
|
|
3196
|
+
d?.("planReportReadyPrefix") ?? "Your Report will be ready in",
|
|
3197
|
+
" ",
|
|
3198
|
+
/* @__PURE__ */ e.jsx("span", { className: f.reportReadyDuration, children: d?.("planReportReadyDuration") ?? "24-48 hours" }),
|
|
3199
|
+
" ",
|
|
3200
|
+
d?.("planReportReadySuffix") ?? "from today"
|
|
3201
|
+
] }),
|
|
3202
|
+
v && /* @__PURE__ */ e.jsxs("div", { className: f.loadingWrap, "aria-busy": "true", "aria-live": "polite", children: [
|
|
3203
|
+
/* @__PURE__ */ e.jsx("div", { className: f.skeletonDateTabs, children: Array.from({ length: 5 }).map((i, _) => /* @__PURE__ */ e.jsx(
|
|
3204
|
+
"div",
|
|
3205
|
+
{
|
|
3206
|
+
className: [f.skeletonDateTab, f.skeletonShimmer].join(" ")
|
|
3207
|
+
},
|
|
3208
|
+
_
|
|
3209
|
+
)) }),
|
|
3210
|
+
/* @__PURE__ */ e.jsx("div", { className: f.skeletonPeriodTabs, children: Array.from({ length: 3 }).map((i, _) => /* @__PURE__ */ e.jsx(
|
|
3211
|
+
"div",
|
|
3212
|
+
{
|
|
3213
|
+
className: [f.skeletonPeriodTab, f.skeletonShimmer].join(" ")
|
|
3214
|
+
},
|
|
3215
|
+
_
|
|
3216
|
+
)) }),
|
|
3217
|
+
/* @__PURE__ */ e.jsx("div", { className: f.skeletonTimeGrid, children: Array.from({ length: 6 }).map((i, _) => /* @__PURE__ */ e.jsx(
|
|
3218
|
+
"div",
|
|
3219
|
+
{
|
|
3220
|
+
className: [f.skeletonTimeSlot, f.skeletonShimmer].join(" ")
|
|
3221
|
+
},
|
|
3222
|
+
_
|
|
3223
|
+
)) })
|
|
3224
|
+
] }),
|
|
3225
|
+
!v && x && /* @__PURE__ */ e.jsxs("div", { className: f.stateMessage, children: [
|
|
3226
|
+
d?.("planSlotsLoadError") ?? "Couldn't load slots. Please try again.",
|
|
3227
|
+
/* @__PURE__ */ e.jsx("button", { type: "button", className: f.retryBtn, onClick: fe, children: d?.("planRetry") ?? "Retry" })
|
|
3228
|
+
] }),
|
|
3229
|
+
!v && !x && W.length === 0 && /* @__PURE__ */ e.jsxs("div", { className: f.emptyState, children: [
|
|
3230
|
+
/* @__PURE__ */ e.jsx("span", { className: f.emptyStateIcon, children: /* @__PURE__ */ e.jsx(Jn, {}) }),
|
|
3231
|
+
/* @__PURE__ */ e.jsx("p", { className: f.emptyStateTitle, children: d?.("planNoSlotsAvailableTitle") ?? "No slots available" }),
|
|
3232
|
+
/* @__PURE__ */ e.jsx("p", { className: f.emptyStateSubtitle, children: d?.("planNoSlotsAvailableSubtitle") ?? "Try a different consultation language above, or check back soon." })
|
|
3233
|
+
] }),
|
|
3234
|
+
!v && !x && W.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3235
|
+
/* @__PURE__ */ e.jsxs("div", { className: f.dateTabs, ref: de, role: "radiogroup", "aria-label": "Consultation date", children: [
|
|
3236
|
+
X && /* @__PURE__ */ e.jsx(
|
|
3237
|
+
"span",
|
|
3238
|
+
{
|
|
3239
|
+
className: f.dateTabIndicator,
|
|
3240
|
+
style: {
|
|
3241
|
+
transform: `translate(${X.left}px, ${X.top}px)`,
|
|
3242
|
+
width: X.width,
|
|
3243
|
+
height: X.height
|
|
3244
|
+
},
|
|
3245
|
+
"aria-hidden": "true"
|
|
3246
|
+
}
|
|
3247
|
+
),
|
|
3248
|
+
W.map((i) => {
|
|
3249
|
+
const _ = i.date === E, { dayLabel: h, dayNum: he } = Yr(i.date);
|
|
3250
|
+
return /* @__PURE__ */ e.jsxs(Vt, { children: [
|
|
3251
|
+
/* @__PURE__ */ e.jsxs(
|
|
3252
|
+
"button",
|
|
3253
|
+
{
|
|
3254
|
+
type: "button",
|
|
3255
|
+
ref: (le) => {
|
|
3256
|
+
ue.current[i.date] = le;
|
|
3257
|
+
},
|
|
3258
|
+
className: [
|
|
3259
|
+
f.dateTab,
|
|
3260
|
+
_ ? f.dateTabSelected : ""
|
|
3261
|
+
].filter(Boolean).join(" "),
|
|
3262
|
+
role: "radio",
|
|
3263
|
+
"aria-checked": _,
|
|
3264
|
+
onClick: () => pe(i.date),
|
|
3265
|
+
children: [
|
|
3266
|
+
/* @__PURE__ */ e.jsx("span", { className: f.dateTabLabel, children: d?.(h) ?? h }),
|
|
3267
|
+
/* @__PURE__ */ e.jsx("span", { className: f.dateTabNum, children: he })
|
|
3268
|
+
]
|
|
3269
|
+
}
|
|
3270
|
+
),
|
|
3271
|
+
/* @__PURE__ */ e.jsx("span", { className: f.dateTabDivider, "aria-hidden": !0 })
|
|
3272
|
+
] }, i.date);
|
|
3273
|
+
})
|
|
3274
|
+
] }),
|
|
3275
|
+
/* @__PURE__ */ e.jsxs("div", { className: f.periodTabs, ref: ke, role: "tablist", "aria-label": "Time of day", children: [
|
|
3276
|
+
ge && /* @__PURE__ */ e.jsx(
|
|
3277
|
+
"span",
|
|
3278
|
+
{
|
|
3279
|
+
className: f.periodTabIndicator,
|
|
3280
|
+
style: {
|
|
3281
|
+
transform: `translateX(${ge.left}px)`,
|
|
3282
|
+
width: ge.width
|
|
3283
|
+
},
|
|
3284
|
+
"aria-hidden": "true"
|
|
3285
|
+
}
|
|
3286
|
+
),
|
|
3287
|
+
ne.map((i) => {
|
|
3288
|
+
const _ = Zo[i], h = i === "evening" && N ? "planPeriodEveningNight" : ei[i];
|
|
3289
|
+
return /* @__PURE__ */ e.jsxs(
|
|
3290
|
+
"button",
|
|
3291
|
+
{
|
|
3292
|
+
ref: (he) => {
|
|
3293
|
+
Re.current[i] = he;
|
|
3294
|
+
},
|
|
3295
|
+
type: "button",
|
|
3296
|
+
className: [
|
|
3297
|
+
f.periodTab,
|
|
3298
|
+
i === U ? f.periodTabSelected : ""
|
|
3299
|
+
].filter(Boolean).join(" "),
|
|
3300
|
+
role: "tab",
|
|
3301
|
+
"aria-selected": i === U,
|
|
3302
|
+
onClick: () => me(i),
|
|
3303
|
+
children: [
|
|
3304
|
+
/* @__PURE__ */ e.jsx(_, {}),
|
|
3305
|
+
d?.(h) ?? (i === "evening" && N ? "Evening/Night" : i.charAt(0).toUpperCase() + i.slice(1))
|
|
3306
|
+
]
|
|
3307
|
+
},
|
|
3308
|
+
i
|
|
3309
|
+
);
|
|
3310
|
+
})
|
|
3311
|
+
] }),
|
|
3312
|
+
/* @__PURE__ */ e.jsx(
|
|
3313
|
+
"div",
|
|
3314
|
+
{
|
|
3315
|
+
className: f.timeGrid,
|
|
3316
|
+
role: "radiogroup",
|
|
3317
|
+
"aria-label": "Consultation time",
|
|
3318
|
+
children: ce.map((i, _) => /* @__PURE__ */ e.jsx(
|
|
3319
|
+
"button",
|
|
3320
|
+
{
|
|
3321
|
+
type: "button",
|
|
3322
|
+
className: [
|
|
3323
|
+
f.timeSlot,
|
|
3324
|
+
D?.start === i.start ? f.timeSlotSelected : ""
|
|
3325
|
+
].filter(Boolean).join(" "),
|
|
3326
|
+
role: "radio",
|
|
3327
|
+
"aria-checked": D?.start === i.start,
|
|
3328
|
+
onClick: () => Ne(i),
|
|
3329
|
+
children: tt(i.start)
|
|
3330
|
+
},
|
|
3331
|
+
`${i.start}-${_}`
|
|
3332
|
+
))
|
|
3333
|
+
},
|
|
3334
|
+
`${E}-${U}`
|
|
3335
|
+
)
|
|
3336
|
+
] }),
|
|
3337
|
+
!j && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3338
|
+
/* @__PURE__ */ e.jsx("p", { className: f.sectionHeading, children: d?.("planGuidanceHeading") ?? "What would you like guidance on?" }),
|
|
3339
|
+
/* @__PURE__ */ e.jsx("div", { className: f.topicGrid, role: "radiogroup", "aria-label": "Guidance topic", children: Vr.map((i) => /* @__PURE__ */ e.jsx(
|
|
3340
|
+
"button",
|
|
3341
|
+
{
|
|
3342
|
+
type: "button",
|
|
3343
|
+
className: [
|
|
3344
|
+
f.topicChip,
|
|
3345
|
+
ee === i.id ? f.topicChipSelected : ""
|
|
3346
|
+
].filter(Boolean).join(" "),
|
|
3347
|
+
role: "radio",
|
|
3348
|
+
"aria-checked": ee === i.id,
|
|
3349
|
+
onClick: () => be(i.id),
|
|
3350
|
+
children: d?.(i.labelKey) ?? i.label
|
|
3351
|
+
},
|
|
3352
|
+
i.id
|
|
3353
|
+
)) })
|
|
3354
|
+
] })
|
|
3355
|
+
] }),
|
|
3356
|
+
/* @__PURE__ */ e.jsxs("div", { className: f.footer, children: [
|
|
3357
|
+
/* @__PURE__ */ e.jsxs("div", { className: f.trustRow, children: [
|
|
3358
|
+
/* @__PURE__ */ e.jsx("div", { className: f.trustAvatars, "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
3359
|
+
q,
|
|
3360
|
+
{
|
|
3361
|
+
src: "https://srm-cdn.a4b.io/yoda/1785317712031.svg",
|
|
3362
|
+
alt: "",
|
|
3363
|
+
width: 64,
|
|
3364
|
+
height: 28,
|
|
3365
|
+
priority: !0,
|
|
3366
|
+
fetchPriority: "high",
|
|
3367
|
+
loading: "eager"
|
|
3368
|
+
}
|
|
3369
|
+
) }),
|
|
3370
|
+
/* @__PURE__ */ e.jsx("span", { className: f.trustText, children: d?.("planConsultationTrustLabel") ?? "3,750+ people have booked consultation" })
|
|
3371
|
+
] }),
|
|
3372
|
+
/* @__PURE__ */ e.jsx(
|
|
3373
|
+
"button",
|
|
3374
|
+
{
|
|
3375
|
+
type: "button",
|
|
3376
|
+
className: [f.proceedBtn, Ae ? "" : f.proceedBtnDisabled].filter(Boolean).join(" "),
|
|
3377
|
+
disabled: !Ae,
|
|
3378
|
+
onClick: xe,
|
|
3379
|
+
children: j ? d?.("planBookSlot") ?? "Book Slot" : d?.("planProceedToPayment") ?? "Proceed to payment"
|
|
3380
|
+
}
|
|
3381
|
+
)
|
|
3382
|
+
] })
|
|
3383
|
+
] })
|
|
3384
|
+
}
|
|
3385
|
+
);
|
|
3386
|
+
}, ni = [
|
|
3387
|
+
{
|
|
3388
|
+
id: "jyoti",
|
|
3389
|
+
name: "planAstrologerNameJyoti",
|
|
3390
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992823100.webp",
|
|
3391
|
+
experience: "planAstrologerExpJyoti",
|
|
3392
|
+
certifications: [
|
|
3393
|
+
"planAstrologerCertCertifiedJyotish",
|
|
3394
|
+
"planAstrologerCertAccurateSolutions"
|
|
3395
|
+
]
|
|
3396
|
+
},
|
|
3397
|
+
{
|
|
3398
|
+
id: "samiksha",
|
|
3399
|
+
name: "planAstrologerNameSamiksha",
|
|
3400
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992841106.webp",
|
|
3401
|
+
experience: "planAstrologerExpSamiksha",
|
|
3402
|
+
certifications: [
|
|
3403
|
+
"planAstrologerCertVedicAstrology",
|
|
3404
|
+
"planAstrologerCertResultOriented"
|
|
3405
|
+
]
|
|
3406
|
+
},
|
|
3407
|
+
{
|
|
3408
|
+
id: "neeraj",
|
|
3409
|
+
name: "planAstrologerNameNeeraj",
|
|
3410
|
+
imageUrl: "https://srm-cdn.a4b.io/yoda/1773992858276.webp",
|
|
3411
|
+
experience: "planAstrologerExpNeeraj",
|
|
3412
|
+
certifications: ["planAstrologerCertBhuCertified", "planAstrologerCertMantraRudraksha"]
|
|
3413
|
+
}
|
|
3414
|
+
], ri = (a) => [
|
|
3415
|
+
{
|
|
3416
|
+
id: "kundli-report",
|
|
3417
|
+
title: "planNameBasic",
|
|
3418
|
+
price: a ? "$25" : "₹499",
|
|
3419
|
+
features: [
|
|
3420
|
+
{ text: "planFeatureDetailedInsights", included: !0 },
|
|
3421
|
+
{ text: "planFeaturePracticalRemedies", included: !0 },
|
|
3422
|
+
{ text: "planFeatureClearLanguage", included: !0 },
|
|
3423
|
+
{ text: "planFeatureAstrologyConsultant", included: !1 },
|
|
3424
|
+
{ text: "planFeaturePersonalizedReading", included: !1 }
|
|
3425
|
+
]
|
|
3426
|
+
},
|
|
3427
|
+
{
|
|
3428
|
+
id: "kundli-report-astrologer",
|
|
3429
|
+
title: "planNameGuidance",
|
|
3430
|
+
price: a ? "$41" : "₹999",
|
|
3431
|
+
originalPrice: a ? "$25+$25" : "₹499+₹850",
|
|
3432
|
+
savingsLabel: "planSaveLabel",
|
|
3433
|
+
badge: "planMostPopular",
|
|
3434
|
+
features: [
|
|
3435
|
+
{ text: "planFeatureIncludesPremium", included: !0 },
|
|
3436
|
+
{ text: "planFeaturePlusConsultation", included: !0 },
|
|
3437
|
+
{ text: "planFeatureRealTimeAnswers", included: !0 },
|
|
3438
|
+
{ text: "planFeatureTailoredRemedies", included: !0 }
|
|
3439
|
+
],
|
|
3440
|
+
astrologers: ni.filter(
|
|
3441
|
+
(r) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(r.id)
|
|
3442
|
+
)
|
|
3443
|
+
}
|
|
3444
|
+
], oi = ({
|
|
3445
|
+
isOpen: a,
|
|
3446
|
+
onClose: r,
|
|
3447
|
+
selectedPlan: s,
|
|
3448
|
+
onSelectPlan: p,
|
|
3449
|
+
plans: d,
|
|
3450
|
+
onProceed: g,
|
|
3451
|
+
t: b,
|
|
3452
|
+
analytics: j,
|
|
3453
|
+
enableConsultationScheduling: y
|
|
3454
|
+
}) => {
|
|
3455
|
+
const q = Be(), M = q?.config.isGlobal ?? !0, N = y ?? q?.config.enableConsultationScheduling ?? !1, m = d ?? ri(M), P = s?.id || m.find((S) => S.badge)?.id || m[0]?.id || "", v = F(null), J = F(null), x = F(!1), [k, C] = B(!1);
|
|
3456
|
+
Y(() => {
|
|
3457
|
+
if (a) {
|
|
3458
|
+
if (!s) {
|
|
3459
|
+
const S = m.find((V) => V.badge) ?? m[0];
|
|
3460
|
+
S && p(S);
|
|
3461
|
+
}
|
|
3462
|
+
x.current || (j?.trackPlanPageViewed?.(), N && j?.trackPlanScreenViewed?.({
|
|
3463
|
+
plans_shown: m.map((S) => S.id),
|
|
3464
|
+
default_selected_plan: s?.id || m.find((S) => S.badge)?.id || m[0]?.id || ""
|
|
3465
|
+
}), x.current = !0);
|
|
3466
|
+
} else
|
|
3467
|
+
x.current = !1;
|
|
3468
|
+
}, [a, m, s, p, j]);
|
|
3469
|
+
const oe = () => {
|
|
3470
|
+
j?.trackPlanPageClosed?.(), r();
|
|
3471
|
+
};
|
|
3472
|
+
return Y(() => {
|
|
3473
|
+
if (!a) return;
|
|
3474
|
+
const S = document.body.style.overflow;
|
|
3475
|
+
return document.body.style.overflow = "hidden", () => {
|
|
3476
|
+
document.body.style.overflow = S;
|
|
3477
|
+
};
|
|
3478
|
+
}, [a]), a ? /* @__PURE__ */ e.jsxs(
|
|
3479
|
+
"div",
|
|
3480
|
+
{
|
|
3481
|
+
className: T.overlay,
|
|
3482
|
+
role: "dialog",
|
|
3483
|
+
"aria-modal": "true",
|
|
3484
|
+
"aria-label": b?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
3485
|
+
children: [
|
|
3486
|
+
/* @__PURE__ */ e.jsxs(
|
|
3487
|
+
"div",
|
|
3488
|
+
{
|
|
3489
|
+
ref: v,
|
|
3490
|
+
className: N ? T.sheetFullScreen : T.sheet,
|
|
3491
|
+
children: [
|
|
3492
|
+
N ? /* @__PURE__ */ e.jsxs("div", { className: T.headerFull, children: [
|
|
3493
|
+
/* @__PURE__ */ e.jsx(
|
|
3494
|
+
"button",
|
|
3495
|
+
{
|
|
3496
|
+
className: T.backBtn,
|
|
3497
|
+
onClick: oe,
|
|
3498
|
+
"aria-label": "Go back",
|
|
3499
|
+
type: "button",
|
|
3500
|
+
children: /* @__PURE__ */ e.jsx(st, {})
|
|
3501
|
+
}
|
|
3502
|
+
),
|
|
3503
|
+
/* @__PURE__ */ e.jsx("h2", { className: T.titleFull, children: b?.("planSheetTitle") ?? "Choose Your Kundli Plan" })
|
|
3504
|
+
] }) : /* @__PURE__ */ e.jsx(
|
|
3505
|
+
Gr,
|
|
3506
|
+
{
|
|
3507
|
+
title: b?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
3508
|
+
onBack: oe
|
|
3509
|
+
}
|
|
3510
|
+
),
|
|
3511
|
+
/* @__PURE__ */ e.jsx(
|
|
3512
|
+
"div",
|
|
3513
|
+
{
|
|
3514
|
+
ref: J,
|
|
3515
|
+
className: T.plansContainer,
|
|
3516
|
+
role: "radiogroup",
|
|
3517
|
+
"aria-label": "Kundli plans",
|
|
3518
|
+
children: m.map((S) => /* @__PURE__ */ e.jsx(
|
|
3519
|
+
Hr,
|
|
3520
|
+
{
|
|
3521
|
+
plan: S,
|
|
3522
|
+
isSelected: S.id === P,
|
|
3523
|
+
t: b,
|
|
3524
|
+
onSelect: (V) => {
|
|
3525
|
+
const A = m.find((G) => G.id === V);
|
|
3526
|
+
A && (j?.trackPlanSelected?.({
|
|
3527
|
+
planId: A.id,
|
|
3528
|
+
planName: A.title,
|
|
3529
|
+
...N ? {
|
|
3530
|
+
price: A.price,
|
|
3531
|
+
includes_consultation: !!(A.astrologers && A.astrologers.length > 0),
|
|
3532
|
+
cta_label: A.astrologers && A.astrologers.length > 0 ? b?.("planSelectConsultationSlot") ?? "Select consultation slot →" : b?.("planProceedToPayment") ?? "Proceed to Payment"
|
|
3533
|
+
} : {}
|
|
3534
|
+
}), p(A));
|
|
3535
|
+
}
|
|
3536
|
+
},
|
|
3537
|
+
S.id
|
|
3538
|
+
))
|
|
3539
|
+
}
|
|
3540
|
+
),
|
|
3541
|
+
/* @__PURE__ */ e.jsx("div", { className: T.footer, children: /* @__PURE__ */ e.jsx(
|
|
3542
|
+
"button",
|
|
3543
|
+
{
|
|
3544
|
+
className: T.proceedBtn,
|
|
3545
|
+
disabled: !s,
|
|
3546
|
+
onClick: () => {
|
|
3547
|
+
if (s) {
|
|
3548
|
+
if (N && s.astrologers && s.astrologers.length > 0) {
|
|
3549
|
+
j?.trackSelectConsultationSlotClicked?.({
|
|
3550
|
+
planId: s.id,
|
|
3551
|
+
planName: s.title
|
|
3552
|
+
}), j?.trackPlanProceedClicked?.({
|
|
3553
|
+
planId: s.id,
|
|
3554
|
+
planName: s.title,
|
|
3555
|
+
cta_type: "confirm_consultation_slot",
|
|
3556
|
+
next_step: "slot_selection"
|
|
3557
|
+
}), C(!0);
|
|
3558
|
+
return;
|
|
3559
|
+
}
|
|
3560
|
+
j?.trackPlanProceedClicked?.({
|
|
3561
|
+
planId: s.id,
|
|
3562
|
+
planName: s.title,
|
|
3563
|
+
...N ? { cta_type: "proceed", next_step: "payment" } : {}
|
|
3564
|
+
}), g(s), r();
|
|
3565
|
+
}
|
|
3566
|
+
},
|
|
3567
|
+
children: s ? N && s.astrologers && s.astrologers.length > 0 ? b?.("planSelectConsultationSlot") ?? "Select consultation slot →" : b?.("planProceedToPayment") ?? s.price + "Proceed to Payment" : "Select a plan"
|
|
3568
|
+
}
|
|
3569
|
+
) })
|
|
3570
|
+
]
|
|
3571
|
+
}
|
|
3572
|
+
),
|
|
3573
|
+
N && s?.astrologers && s.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
|
|
3574
|
+
ai,
|
|
3575
|
+
{
|
|
3576
|
+
isOpen: k,
|
|
3577
|
+
onClose: () => C(!1),
|
|
3578
|
+
astrologers: s.astrologers,
|
|
3579
|
+
t: b,
|
|
3580
|
+
analytics: j,
|
|
3581
|
+
onProceed: (S) => {
|
|
3582
|
+
j?.trackPlanProceedClicked?.({
|
|
3583
|
+
planId: s.id,
|
|
3584
|
+
planName: s.title,
|
|
3585
|
+
cta_type: "proceed",
|
|
3586
|
+
next_step: "payment"
|
|
3587
|
+
}), g(s, S), C(!1), r();
|
|
3588
|
+
}
|
|
3589
|
+
}
|
|
3590
|
+
)
|
|
3591
|
+
]
|
|
3592
|
+
}
|
|
3593
|
+
) : null;
|
|
3594
|
+
}, ii = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", li = (a, r) => Tt[a]?.[r] ?? r, si = (a, r) => a && nt.includes(a) ? a : r ? "+1" : "+91", ci = {
|
|
3595
|
+
fullName: "",
|
|
3596
|
+
phone: "",
|
|
3597
|
+
phoneCountryCode: "",
|
|
3598
|
+
gender: "",
|
|
3599
|
+
email: "",
|
|
3600
|
+
language_code: "",
|
|
3601
|
+
dateOfBirth: "",
|
|
3602
|
+
birthTime: "",
|
|
3603
|
+
birthTimeUnknown: !1,
|
|
3604
|
+
birthPlace: ""
|
|
3605
|
+
}, _i = ({
|
|
3606
|
+
className: a = "",
|
|
3607
|
+
locale: r,
|
|
3608
|
+
showLanguageSelector: s = !0,
|
|
3609
|
+
onBack: p,
|
|
3610
|
+
initialValues: d,
|
|
3611
|
+
onProceed: g,
|
|
3612
|
+
onProceedGuidance: b,
|
|
3613
|
+
proceedHref: j,
|
|
3614
|
+
originalPriceLabel: y,
|
|
3615
|
+
discountedPriceLabel: q,
|
|
3616
|
+
googleMapsApiKey: M = "",
|
|
3617
|
+
atlasSearchLocalities: N,
|
|
3618
|
+
googleMapsAutocompleteEnabled: m,
|
|
3619
|
+
analytics: P
|
|
3620
|
+
}) => {
|
|
3621
|
+
const v = Be(), J = ma(), x = v !== null, k = x ? v.locale : r, C = k ?? J?.locale ?? "en", [oe, S] = B(C), V = x ? v.locale : oe, A = x ? v.setLocale : S, [G, R] = B(!1), $ = F(null), ee = F(
|
|
3622
|
+
k
|
|
3623
|
+
), te = F(
|
|
3624
|
+
J?.locale
|
|
3625
|
+
);
|
|
3626
|
+
Y(() => {
|
|
3627
|
+
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
3628
|
+
}, []);
|
|
3629
|
+
const E = (h) => li(V, h);
|
|
3630
|
+
Y(() => {
|
|
3631
|
+
k && ee.current !== k && A(k), ee.current = k;
|
|
3632
|
+
}, [k, A]), Y(() => {
|
|
3633
|
+
if (k) return;
|
|
3634
|
+
const h = J?.locale;
|
|
3635
|
+
h && te.current !== h && A(h), te.current = h;
|
|
3636
|
+
}, [J?.locale, k, A]);
|
|
3637
|
+
const [I, U] = B({
|
|
3638
|
+
...ci,
|
|
3639
|
+
...d,
|
|
3640
|
+
phone: d?.phone ?? ""
|
|
3641
|
+
}), Q = x ? v?.config.isGlobal ?? !0 : !0, D = x ? v.formValues : I, _e = x ? v.setFormValues : U, [ie, de] = B(
|
|
3642
|
+
() => si(D.phoneCountryCode, Q)
|
|
3643
|
+
), ue = F(
|
|
3644
|
+
!!(D.phoneCountryCode && nt.includes(D.phoneCountryCode))
|
|
3645
|
+
), X = F(!1), Te = Pe((h) => {
|
|
3646
|
+
X.current = !0, de(h);
|
|
3647
|
+
}, []), ke = F(!0);
|
|
3648
|
+
Y(() => {
|
|
3649
|
+
if (ke.current) {
|
|
3650
|
+
ke.current = !1;
|
|
3651
|
+
return;
|
|
3652
|
+
}
|
|
3653
|
+
ue.current || X.current || de(Q ? "+1" : "+91");
|
|
3654
|
+
}, [Q]), Y(() => {
|
|
3655
|
+
if (!x || X.current) return;
|
|
3656
|
+
const h = D.phoneCountryCode;
|
|
3657
|
+
h && nt.includes(h) && h !== ie && (ue.current = !0, de(h));
|
|
3658
|
+
}, [x, D.phoneCountryCode]);
|
|
3659
|
+
const Re = x ? v.goToPage : p, ge = x ? v.onProceed : g, Z = x ? v.onProceedGuidance : b, W = x ? v.config.proceedHref : j, fe = x ? v.config.originalPriceLabel : y, ae = x ? v.config.discountedPriceLabel : q, ne = x ? v.config.showLanguageSelector ?? !0 : s, ce = (x ? v?.config?.analytics : P) ?? P;
|
|
3660
|
+
Y(() => {
|
|
3661
|
+
if (!G) return;
|
|
3662
|
+
const h = (he) => {
|
|
3663
|
+
$.current && !$.current.contains(he.target) && R(!1);
|
|
3664
|
+
};
|
|
3665
|
+
return document.addEventListener("mousedown", h), () => document.removeEventListener("mousedown", h);
|
|
3666
|
+
}, [G]);
|
|
3667
|
+
const [Ae, pe] = B(!1), [me, Ne] = B(null), xe = F(null), be = Pe((h) => {
|
|
3668
|
+
xe.current = h, pe(!0);
|
|
3669
|
+
}, []), we = F(!1);
|
|
3670
|
+
Y(() => {
|
|
3671
|
+
if (we.current || !x || !v?.config.autoOpenPlanSheet || v?.config.variant !== "v1")
|
|
3672
|
+
return;
|
|
3673
|
+
we.current = !0;
|
|
3674
|
+
const h = (D.phone ?? "").trim();
|
|
3675
|
+
be({
|
|
3676
|
+
...D,
|
|
3677
|
+
phone: h && `${ie}-${h}`
|
|
3678
|
+
});
|
|
3679
|
+
}, [x, v?.config.autoOpenPlanSheet, v?.config.variant, D, ie, be]);
|
|
3680
|
+
const je = Pe(() => {
|
|
3681
|
+
if (!xe.current || !me) return;
|
|
3682
|
+
ce?.trackPlanProceedClicked?.({
|
|
3683
|
+
planId: me.id,
|
|
3684
|
+
planName: me.title,
|
|
3685
|
+
price: me.price,
|
|
3686
|
+
currency: Q ? "USD" : "INR"
|
|
3687
|
+
});
|
|
3688
|
+
const h = { ...xe.current, _selectedPlan: me };
|
|
3689
|
+
me.id === Nt && Z ? Z(h) : ge?.(h), pe(!1), xe.current = null;
|
|
3690
|
+
}, [me, ge, Z]), i = v?.config.imageComponent ?? qe, _ = ne ? /* @__PURE__ */ e.jsxs("div", { className: Le.langDropdownWrap, ref: $, children: [
|
|
3691
|
+
/* @__PURE__ */ e.jsxs(
|
|
3692
|
+
"button",
|
|
3693
|
+
{
|
|
3694
|
+
type: "button",
|
|
3695
|
+
className: Le.langTrigger,
|
|
3696
|
+
onClick: () => {
|
|
3697
|
+
ce?.trackLanguageClickedFe?.({ language: V }), R((h) => !h);
|
|
3698
|
+
},
|
|
3699
|
+
"aria-expanded": G,
|
|
3700
|
+
"aria-haspopup": "listbox",
|
|
3701
|
+
id: "kundli-form-lang",
|
|
3702
|
+
"aria-label": E("language"),
|
|
3703
|
+
children: [
|
|
3704
|
+
/* @__PURE__ */ e.jsx(
|
|
3705
|
+
i,
|
|
3706
|
+
{
|
|
3707
|
+
src: ii,
|
|
3708
|
+
alt: "",
|
|
3709
|
+
className: Le.langIcon,
|
|
3710
|
+
width: 16,
|
|
3711
|
+
height: 16,
|
|
3712
|
+
loading: "eager"
|
|
3713
|
+
}
|
|
3714
|
+
),
|
|
3715
|
+
/* @__PURE__ */ e.jsx("span", { className: Le.langLabel, children: yt[V] })
|
|
3716
|
+
]
|
|
3717
|
+
}
|
|
3718
|
+
),
|
|
3719
|
+
G && /* @__PURE__ */ e.jsx(
|
|
3720
|
+
"ul",
|
|
3721
|
+
{
|
|
3722
|
+
className: Le.langMenu,
|
|
3723
|
+
role: "listbox",
|
|
3724
|
+
"aria-labelledby": "kundli-form-lang",
|
|
3725
|
+
"aria-activedescendant": `kundli-form-lang-option-${V}`,
|
|
3726
|
+
children: jt.map((h) => /* @__PURE__ */ e.jsx(
|
|
3727
|
+
"li",
|
|
3728
|
+
{
|
|
3729
|
+
id: `kundli-form-lang-option-${h}`,
|
|
3730
|
+
role: "option",
|
|
3731
|
+
"aria-selected": h === V,
|
|
3732
|
+
className: Le.langOption,
|
|
3733
|
+
onClick: () => {
|
|
3734
|
+
ce?.trackLanguageChangedFe?.({ newLanguage: h }), A(h), R(!1);
|
|
3735
|
+
},
|
|
3736
|
+
children: yt[h]
|
|
3737
|
+
},
|
|
3738
|
+
h
|
|
3739
|
+
))
|
|
3740
|
+
}
|
|
3741
|
+
)
|
|
3742
|
+
] }) : null;
|
|
3743
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${Le.container} ${a}`, children: [
|
|
3744
|
+
/* @__PURE__ */ e.jsx(
|
|
3745
|
+
Kn,
|
|
3746
|
+
{
|
|
3747
|
+
t: E,
|
|
3748
|
+
logoUrl: x ? v.config.logoUrl : void 0,
|
|
3749
|
+
languageSelector: _,
|
|
3750
|
+
className: Le.kundliHeaderNoBorder
|
|
3751
|
+
}
|
|
3752
|
+
),
|
|
3753
|
+
/* @__PURE__ */ e.jsx("div", { className: Le.headerSeparator, "aria-hidden": !0 }),
|
|
3754
|
+
/* @__PURE__ */ e.jsxs("main", { className: Le.main, children: [
|
|
3755
|
+
/* @__PURE__ */ e.jsx(va, { t: E, onBack: Re }),
|
|
3756
|
+
/* @__PURE__ */ e.jsx(
|
|
3757
|
+
Pn,
|
|
3758
|
+
{
|
|
3759
|
+
t: E,
|
|
3760
|
+
values: D,
|
|
3761
|
+
onChange: _e,
|
|
3762
|
+
googleMapsApiKey: M,
|
|
3763
|
+
atlasSearchLocalities: N,
|
|
3764
|
+
googleMapsAutocompleteEnabled: m,
|
|
3765
|
+
phoneIsdCode: ie,
|
|
3766
|
+
onPhoneIsdCodeChange: Te,
|
|
3767
|
+
showV1ExtraFields: x ? v?.config.variant === "v1" : !1,
|
|
3768
|
+
analytics: ce
|
|
3769
|
+
}
|
|
3770
|
+
)
|
|
3771
|
+
] }),
|
|
3772
|
+
/* @__PURE__ */ e.jsx(
|
|
3773
|
+
Gn,
|
|
3774
|
+
{
|
|
3775
|
+
t: E,
|
|
3776
|
+
values: D,
|
|
3777
|
+
phoneIsdCode: ie,
|
|
3778
|
+
onProceed: ge,
|
|
3779
|
+
onProceedGuidance: Z,
|
|
3780
|
+
href: W,
|
|
3781
|
+
originalPriceLabel: fe,
|
|
3782
|
+
discountedPriceLabel: ae,
|
|
3783
|
+
analytics: ce,
|
|
3784
|
+
showPlanSheet: be,
|
|
3785
|
+
confirmPlan: je,
|
|
3786
|
+
planSheetOpen: Ae,
|
|
3787
|
+
selectedPlan: me
|
|
3788
|
+
}
|
|
3789
|
+
),
|
|
3790
|
+
v?.config.variant === "v1" && /* @__PURE__ */ e.jsx(
|
|
3791
|
+
oi,
|
|
3792
|
+
{
|
|
3793
|
+
isOpen: Ae,
|
|
3794
|
+
onClose: () => pe(!1),
|
|
3795
|
+
selectedPlan: me,
|
|
3796
|
+
onSelectPlan: Ne,
|
|
3797
|
+
onProceed: () => {
|
|
3798
|
+
je?.();
|
|
3799
|
+
},
|
|
3800
|
+
t: E,
|
|
3801
|
+
analytics: ce
|
|
3802
|
+
}
|
|
3803
|
+
)
|
|
3804
|
+
] });
|
|
3805
|
+
}, bi = {
|
|
3806
|
+
banner_clicked_fe: "banner_clicked_fe",
|
|
3807
|
+
primary_cta_clicked_fe: "primary_cta_clicked_fe",
|
|
3808
|
+
language_changed_fe: "language_changed_fe",
|
|
3809
|
+
language_clicked_fe: "language_clicked_fe",
|
|
3810
|
+
retry_payment: "retry_payment",
|
|
3811
|
+
detailed_kundli_report_impression_fe: "detailed_kundli_report_impression_fe",
|
|
3812
|
+
payment_partner_page_opened: "payment_partner_page_opened",
|
|
3813
|
+
view_sample_report_clicked: "view_sample_report_clicked",
|
|
3814
|
+
view_sample_report_closed: "view_sample_report_closed",
|
|
3815
|
+
info_icon_clicked: "info_icon_clicked",
|
|
3816
|
+
name_section_clicked: "name_section_clicked",
|
|
3817
|
+
name_section_filled: "name_section_filled",
|
|
3818
|
+
phone_section_clicked: "phone_section_clicked",
|
|
3819
|
+
phone_section_filled: "phone_section_filled",
|
|
3820
|
+
email_section_clicked: "email_section_clicked",
|
|
3821
|
+
email_section_filled: "email_section_filled",
|
|
3822
|
+
dob_clicked: "dob_clicked",
|
|
3823
|
+
dob_filled: "dob_filled",
|
|
3824
|
+
time_clicked: "time_clicked",
|
|
3825
|
+
time_filled: "time_filled",
|
|
3826
|
+
time_checkbox_clicked: "time_checkbox_clicked",
|
|
3827
|
+
place_of_birth_clicked: "place_of_birth_clicked",
|
|
3828
|
+
place_of_birth_chosen: "place_of_birth_chosen",
|
|
3829
|
+
language_of_report_clicked: "language_of_report_clicked",
|
|
3830
|
+
primary_cta_clicked_l1: "primary_cta_clicked_l1",
|
|
3831
|
+
/** Plan Selection Page / Bottom Sheet viewed */
|
|
3832
|
+
kundli_plan_page_viewed: "kundli_plan_page_viewed",
|
|
3833
|
+
/** Plan selected (card clicked) */
|
|
3834
|
+
kundli_plan_selected: "kundli_plan_selected",
|
|
3835
|
+
/** Proceed to payment clicked on plan sheet */
|
|
3836
|
+
kundli_plan_proceed_clicked: "kundli_plan_proceed_clicked",
|
|
3837
|
+
/** Plan sheet closed without proceeding */
|
|
3838
|
+
kundli_plan_page_closed: "kundli_plan_page_closed",
|
|
3839
|
+
/** "Select consultation slot" CTA clicked on the astrologer guidance plan card */
|
|
3840
|
+
kundli_plan_select_consultation_slot_clicked: "kundli_plan_select_consultation_slot_clicked",
|
|
3841
|
+
/* Consultation Scheduling Funnel Events (FE only) */
|
|
3842
|
+
/** Plan selection screen loads (full-screen consultation scheduling flow) */
|
|
3843
|
+
kundli_plan_screen_viewed: "kundli_plan_screen_viewed",
|
|
3844
|
+
/** Slot selection screen loads */
|
|
3845
|
+
kundli_slot_screen_viewed: "kundli_slot_screen_viewed",
|
|
3846
|
+
/** User picks a date */
|
|
3847
|
+
kundli_slot_date_selected: "kundli_slot_date_selected",
|
|
3848
|
+
/** User switches Morning/Afternoon/Evening */
|
|
3849
|
+
kundli_day_part_selected: "kundli_day_part_selected",
|
|
3850
|
+
/** User picks a guidance topic chip */
|
|
3851
|
+
kundli_guidance_topic_selected: "kundli_guidance_topic_selected",
|
|
3852
|
+
/** User taps a time slot */
|
|
3853
|
+
kundli_slot_selected: "kundli_slot_selected",
|
|
3854
|
+
/** User taps confirm slot / proceeds to reserve ("Proceed to payment" in the slot modal) */
|
|
3855
|
+
kundli_slot_reservation_requested: "kundli_slot_reservation_requested",
|
|
3856
|
+
/** Payment screen loads with an active hold (tracked by host app's payment page) */
|
|
3857
|
+
kundli_payment_screen_viewed: "kundli_payment_screen_viewed",
|
|
3858
|
+
/** User selects a payment method (tracked by host app's payment page) */
|
|
3859
|
+
kundli_payment_method_selected: "kundli_payment_method_selected",
|
|
3860
|
+
/** User confirms payment / gateway opens (tracked by host app's payment page) */
|
|
3861
|
+
kundli_payment_initiated: "kundli_payment_initiated",
|
|
3862
|
+
/** Success + confirmation screen shown (tracked by host app's confirmation page) */
|
|
3863
|
+
kundli_booking_confirmation_viewed: "kundli_booking_confirmation_viewed",
|
|
3864
|
+
/** User routed back to re-select after losing their slot (expired/failed/taken) */
|
|
3865
|
+
kundli_slot_lost_fallback_shown: "kundli_slot_lost_fallback_shown",
|
|
3866
|
+
/** Legacy / alias: when landing page is viewed */
|
|
3867
|
+
kundli_page_view: "kundli_page_view",
|
|
3868
|
+
/** Legacy / alias: when L1 form page is viewed (same as l1_page_opened) */
|
|
3869
|
+
kundli_form_view: "kundli_form_view",
|
|
3870
|
+
/** 3-SKU: sample report viewed for the 1-question plan */
|
|
3871
|
+
one_question_view_sample_report_clicked: "1_question_view_sample_report_clicked",
|
|
3872
|
+
one_question_view_sample_report_closed: "1_question_view_sample_report_closed",
|
|
3873
|
+
/** Sample image modal events */
|
|
3874
|
+
kundli_view_sample_image_clicked: "kundli_view_sample_image_clicked",
|
|
3875
|
+
kundli_view_sample_image_closed: "kundli_view_sample_image_closed"
|
|
3876
|
+
};
|
|
3877
|
+
export {
|
|
3878
|
+
ai as C,
|
|
3879
|
+
qe as D,
|
|
3880
|
+
va as F,
|
|
3881
|
+
pi as I,
|
|
3882
|
+
bi as K,
|
|
3883
|
+
yt as L,
|
|
3884
|
+
Nt as P,
|
|
3885
|
+
jt as S,
|
|
3886
|
+
Pn as U,
|
|
3887
|
+
Ct as a,
|
|
3888
|
+
it as b,
|
|
3889
|
+
_i as c,
|
|
3890
|
+
gi as d,
|
|
3891
|
+
fa as e,
|
|
3892
|
+
_a as f,
|
|
3893
|
+
ha as g,
|
|
3894
|
+
Be as h,
|
|
3895
|
+
hi as i,
|
|
3896
|
+
fi as j,
|
|
3897
|
+
ri as k,
|
|
3898
|
+
e as l,
|
|
3899
|
+
Kn as m,
|
|
3900
|
+
st as n,
|
|
3901
|
+
Gn as o,
|
|
3902
|
+
oi as p,
|
|
3903
|
+
mi as r,
|
|
3904
|
+
ga as s,
|
|
3905
|
+
Tt as t,
|
|
3906
|
+
ma as u
|
|
3907
|
+
};
|
|
3908
|
+
//# sourceMappingURL=analytics-C7U4tH2y.js.map
|