@srimandir/kundli-generator 3.0.78 → 3.0.82

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