@srimandir/kundli-generator 3.0.76 → 3.0.78

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