@srimandir/hanuman-chalisa 1.7.11 → 1.7.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hanuman-chalisa.js +317 -321
- package/dist/hanuman-chalisa.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/hanuman-chalisa.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import rt, { useContext as nt, createContext as st, useState as R, useEffect as F, useRef as
|
|
1
|
+
import rt, { useContext as nt, createContext as st, useState as R, useEffect as F, useRef as z, useCallback as Ft } from "react";
|
|
2
2
|
var le = { exports: {} }, Z = {};
|
|
3
|
-
var
|
|
3
|
+
var Me;
|
|
4
4
|
function Bt() {
|
|
5
|
-
if (
|
|
6
|
-
|
|
7
|
-
var s = rt, i = /* @__PURE__ */ Symbol.for("react.element"), v = /* @__PURE__ */ Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty,
|
|
5
|
+
if (Me) return Z;
|
|
6
|
+
Me = 1;
|
|
7
|
+
var s = rt, i = /* @__PURE__ */ Symbol.for("react.element"), v = /* @__PURE__ */ Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, h = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, _ = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
8
8
|
function c(j, l, N) {
|
|
9
|
-
var d,
|
|
9
|
+
var d, g = {}, C = null, S = null;
|
|
10
10
|
N !== void 0 && (C = "" + N), l.key !== void 0 && (C = "" + l.key), l.ref !== void 0 && (S = l.ref);
|
|
11
|
-
for (d in l) u.call(l, d) && !
|
|
12
|
-
if (j && j.defaultProps) for (d in l = j.defaultProps, l)
|
|
13
|
-
return { $$typeof: i, type: j, key: C, ref: S, props:
|
|
11
|
+
for (d in l) u.call(l, d) && !_.hasOwnProperty(d) && (g[d] = l[d]);
|
|
12
|
+
if (j && j.defaultProps) for (d in l = j.defaultProps, l) g[d] === void 0 && (g[d] = l[d]);
|
|
13
|
+
return { $$typeof: i, type: j, key: C, ref: S, props: g, _owner: h.current };
|
|
14
14
|
}
|
|
15
15
|
return Z.Fragment = v, Z.jsx = c, Z.jsxs = c, Z;
|
|
16
16
|
}
|
|
17
17
|
var Q = {};
|
|
18
|
-
var
|
|
19
|
-
function
|
|
20
|
-
return
|
|
21
|
-
var s = rt, i = /* @__PURE__ */ Symbol.for("react.element"), v = /* @__PURE__ */ Symbol.for("react.portal"), u = /* @__PURE__ */ Symbol.for("react.fragment"),
|
|
18
|
+
var $e;
|
|
19
|
+
function qt() {
|
|
20
|
+
return $e || ($e = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
21
|
+
var s = rt, i = /* @__PURE__ */ Symbol.for("react.element"), v = /* @__PURE__ */ Symbol.for("react.portal"), u = /* @__PURE__ */ Symbol.for("react.fragment"), h = /* @__PURE__ */ Symbol.for("react.strict_mode"), _ = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.provider"), j = /* @__PURE__ */ Symbol.for("react.context"), l = /* @__PURE__ */ Symbol.for("react.forward_ref"), N = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), g = /* @__PURE__ */ Symbol.for("react.memo"), C = /* @__PURE__ */ Symbol.for("react.lazy"), S = /* @__PURE__ */ Symbol.for("react.offscreen"), B = Symbol.iterator, A = "@@iterator";
|
|
22
22
|
function k(e) {
|
|
23
23
|
if (e === null || typeof e != "object")
|
|
24
24
|
return null;
|
|
@@ -30,23 +30,23 @@ function Ht() {
|
|
|
30
30
|
{
|
|
31
31
|
for (var a = arguments.length, n = new Array(a > 1 ? a - 1 : 0), o = 1; o < a; o++)
|
|
32
32
|
n[o - 1] = arguments[o];
|
|
33
|
-
|
|
33
|
+
Y("error", e, n);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function Y(e, a, n) {
|
|
37
37
|
{
|
|
38
38
|
var o = L.ReactDebugCurrentFrame, x = o.getStackAddendum();
|
|
39
39
|
x !== "" && (a += "%s", n = n.concat([x]));
|
|
40
|
-
var
|
|
41
|
-
return String(
|
|
40
|
+
var b = n.map(function(m) {
|
|
41
|
+
return String(m);
|
|
42
42
|
});
|
|
43
|
-
|
|
43
|
+
b.unshift("Warning: " + a), Function.prototype.apply.call(console[e], console, b);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
var
|
|
46
|
+
var J = !1, y = !1, H = !1, te = !1, ue = !1, ae;
|
|
47
47
|
ae = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
48
48
|
function re(e) {
|
|
49
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e ===
|
|
49
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === _ || ue || e === h || e === N || e === d || te || e === S || J || y || H || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === g || e.$$typeof === c || e.$$typeof === j || e.$$typeof === l || // This needs to include all possible module reference object
|
|
50
50
|
// types supported by any Flight configuration anywhere since
|
|
51
51
|
// we don't know which Flight build this will end up being used
|
|
52
52
|
// with.
|
|
@@ -59,10 +59,10 @@ function Ht() {
|
|
|
59
59
|
var x = a.displayName || a.name || "";
|
|
60
60
|
return x !== "" ? n + "(" + x + ")" : n;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function K(e) {
|
|
63
63
|
return e.displayName || "Context";
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function f(e) {
|
|
66
66
|
if (e == null)
|
|
67
67
|
return null;
|
|
68
68
|
if (typeof e.tag == "number" && T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -74,9 +74,9 @@ function Ht() {
|
|
|
74
74
|
return "Fragment";
|
|
75
75
|
case v:
|
|
76
76
|
return "Portal";
|
|
77
|
-
case
|
|
77
|
+
case _:
|
|
78
78
|
return "Profiler";
|
|
79
|
-
case
|
|
79
|
+
case h:
|
|
80
80
|
return "StrictMode";
|
|
81
81
|
case N:
|
|
82
82
|
return "Suspense";
|
|
@@ -87,19 +87,19 @@ function Ht() {
|
|
|
87
87
|
switch (e.$$typeof) {
|
|
88
88
|
case j:
|
|
89
89
|
var a = e;
|
|
90
|
-
return
|
|
90
|
+
return K(a) + ".Consumer";
|
|
91
91
|
case c:
|
|
92
92
|
var n = e;
|
|
93
|
-
return
|
|
93
|
+
return K(n._context) + ".Provider";
|
|
94
94
|
case l:
|
|
95
95
|
return ne(e, e.render, "ForwardRef");
|
|
96
|
-
case
|
|
96
|
+
case g:
|
|
97
97
|
var o = e.displayName || null;
|
|
98
|
-
return o !== null ? o :
|
|
98
|
+
return o !== null ? o : f(e.type) || "Memo";
|
|
99
99
|
case C: {
|
|
100
|
-
var x = e,
|
|
100
|
+
var x = e, b = x._payload, m = x._init;
|
|
101
101
|
try {
|
|
102
|
-
return
|
|
102
|
+
return f(m(b));
|
|
103
103
|
} catch {
|
|
104
104
|
return null;
|
|
105
105
|
}
|
|
@@ -107,14 +107,14 @@ function Ht() {
|
|
|
107
107
|
}
|
|
108
108
|
return null;
|
|
109
109
|
}
|
|
110
|
-
var O = Object.assign, X = 0, je,
|
|
110
|
+
var O = Object.assign, X = 0, je, be, we, Ce, ye, Ne, Te;
|
|
111
111
|
function Pe() {
|
|
112
112
|
}
|
|
113
113
|
Pe.__reactDisabledLog = !0;
|
|
114
114
|
function ut() {
|
|
115
115
|
{
|
|
116
116
|
if (X === 0) {
|
|
117
|
-
je = console.log,
|
|
117
|
+
je = console.log, be = console.info, we = console.warn, Ce = console.error, ye = console.group, Ne = console.groupCollapsed, Te = console.groupEnd;
|
|
118
118
|
var e = {
|
|
119
119
|
configurable: !0,
|
|
120
120
|
enumerable: !0,
|
|
@@ -147,10 +147,10 @@ function Ht() {
|
|
|
147
147
|
value: je
|
|
148
148
|
}),
|
|
149
149
|
info: O({}, e, {
|
|
150
|
-
value:
|
|
150
|
+
value: be
|
|
151
151
|
}),
|
|
152
152
|
warn: O({}, e, {
|
|
153
|
-
value:
|
|
153
|
+
value: we
|
|
154
154
|
}),
|
|
155
155
|
error: O({}, e, {
|
|
156
156
|
value: Ce
|
|
@@ -183,13 +183,13 @@ function Ht() {
|
|
|
183
183
|
` + pe + e;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
var
|
|
186
|
+
var fe = !1, ie;
|
|
187
187
|
{
|
|
188
188
|
var pt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
189
189
|
ie = new pt();
|
|
190
190
|
}
|
|
191
191
|
function Se(e, a) {
|
|
192
|
-
if (!e ||
|
|
192
|
+
if (!e || fe)
|
|
193
193
|
return "";
|
|
194
194
|
{
|
|
195
195
|
var n = ie.get(e);
|
|
@@ -197,34 +197,34 @@ function Ht() {
|
|
|
197
197
|
return n;
|
|
198
198
|
}
|
|
199
199
|
var o;
|
|
200
|
-
|
|
200
|
+
fe = !0;
|
|
201
201
|
var x = Error.prepareStackTrace;
|
|
202
202
|
Error.prepareStackTrace = void 0;
|
|
203
|
-
var
|
|
204
|
-
|
|
203
|
+
var b;
|
|
204
|
+
b = de.current, de.current = null, ut();
|
|
205
205
|
try {
|
|
206
206
|
if (a) {
|
|
207
|
-
var
|
|
207
|
+
var m = function() {
|
|
208
208
|
throw Error();
|
|
209
209
|
};
|
|
210
|
-
if (Object.defineProperty(
|
|
210
|
+
if (Object.defineProperty(m.prototype, "props", {
|
|
211
211
|
set: function() {
|
|
212
212
|
throw Error();
|
|
213
213
|
}
|
|
214
214
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
215
215
|
try {
|
|
216
|
-
Reflect.construct(
|
|
216
|
+
Reflect.construct(m, []);
|
|
217
217
|
} catch (D) {
|
|
218
218
|
o = D;
|
|
219
219
|
}
|
|
220
|
-
Reflect.construct(e, [],
|
|
220
|
+
Reflect.construct(e, [], m);
|
|
221
221
|
} else {
|
|
222
222
|
try {
|
|
223
|
-
|
|
223
|
+
m.call();
|
|
224
224
|
} catch (D) {
|
|
225
225
|
o = D;
|
|
226
226
|
}
|
|
227
|
-
e.call(
|
|
227
|
+
e.call(m.prototype);
|
|
228
228
|
}
|
|
229
229
|
} else {
|
|
230
230
|
try {
|
|
@@ -245,24 +245,24 @@ function Ht() {
|
|
|
245
245
|
if (P !== 1 || E !== 1)
|
|
246
246
|
do
|
|
247
247
|
if (P--, E--, E < 0 || p[P] !== I[E]) {
|
|
248
|
-
var
|
|
248
|
+
var q = `
|
|
249
249
|
` + p[P].replace(" at new ", " at ");
|
|
250
|
-
return e.displayName &&
|
|
250
|
+
return e.displayName && q.includes("<anonymous>") && (q = q.replace("<anonymous>", e.displayName)), typeof e == "function" && ie.set(e, q), q;
|
|
251
251
|
}
|
|
252
252
|
while (P >= 1 && E >= 0);
|
|
253
253
|
break;
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
} finally {
|
|
257
|
-
|
|
257
|
+
fe = !1, de.current = b, dt(), Error.prepareStackTrace = x;
|
|
258
258
|
}
|
|
259
|
-
var
|
|
260
|
-
return typeof e == "function" && ie.set(e,
|
|
259
|
+
var $ = e ? e.displayName || e.name : "", W = $ ? se($) : "";
|
|
260
|
+
return typeof e == "function" && ie.set(e, W), W;
|
|
261
261
|
}
|
|
262
|
-
function
|
|
262
|
+
function ft(e, a, n) {
|
|
263
263
|
return Se(e, !1);
|
|
264
264
|
}
|
|
265
|
-
function
|
|
265
|
+
function mt(e) {
|
|
266
266
|
var a = e.prototype;
|
|
267
267
|
return !!(a && a.isReactComponent);
|
|
268
268
|
}
|
|
@@ -270,7 +270,7 @@ function Ht() {
|
|
|
270
270
|
if (e == null)
|
|
271
271
|
return "";
|
|
272
272
|
if (typeof e == "function")
|
|
273
|
-
return Se(e,
|
|
273
|
+
return Se(e, mt(e));
|
|
274
274
|
if (typeof e == "string")
|
|
275
275
|
return se(e);
|
|
276
276
|
switch (e) {
|
|
@@ -282,13 +282,13 @@ function Ht() {
|
|
|
282
282
|
if (typeof e == "object")
|
|
283
283
|
switch (e.$$typeof) {
|
|
284
284
|
case l:
|
|
285
|
-
return
|
|
286
|
-
case
|
|
285
|
+
return ft(e.render);
|
|
286
|
+
case g:
|
|
287
287
|
return oe(e.type, a, n);
|
|
288
288
|
case C: {
|
|
289
|
-
var o = e, x = o._payload,
|
|
289
|
+
var o = e, x = o._payload, b = o._init;
|
|
290
290
|
try {
|
|
291
|
-
return oe(
|
|
291
|
+
return oe(b(x), a, n);
|
|
292
292
|
} catch {
|
|
293
293
|
}
|
|
294
294
|
}
|
|
@@ -303,36 +303,36 @@ function Ht() {
|
|
|
303
303
|
} else
|
|
304
304
|
ke.setExtraStackFrame(null);
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function ht(e, a, n, o, x) {
|
|
307
307
|
{
|
|
308
|
-
var
|
|
309
|
-
for (var
|
|
310
|
-
if (
|
|
308
|
+
var b = Function.call.bind(G);
|
|
309
|
+
for (var m in e)
|
|
310
|
+
if (b(e, m)) {
|
|
311
311
|
var p = void 0;
|
|
312
312
|
try {
|
|
313
|
-
if (typeof e[
|
|
314
|
-
var I = Error((o || "React class") + ": " + n + " type `" +
|
|
313
|
+
if (typeof e[m] != "function") {
|
|
314
|
+
var I = Error((o || "React class") + ": " + n + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
315
315
|
throw I.name = "Invariant Violation", I;
|
|
316
316
|
}
|
|
317
|
-
p = e[
|
|
317
|
+
p = e[m](a, m, o, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
318
318
|
} catch (P) {
|
|
319
319
|
p = P;
|
|
320
320
|
}
|
|
321
|
-
p && !(p instanceof Error) && (ce(x), T("%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).", o || "React class", n,
|
|
321
|
+
p && !(p instanceof Error) && (ce(x), T("%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).", o || "React class", n, m, typeof p), ce(null)), p instanceof Error && !(p.message in Ee) && (Ee[p.message] = !0, ce(x), T("Failed %s type: %s", n, p.message), ce(null));
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
var xt = Array.isArray;
|
|
326
|
-
function
|
|
326
|
+
function me(e) {
|
|
327
327
|
return xt(e);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function _t(e) {
|
|
330
330
|
{
|
|
331
331
|
var a = typeof Symbol == "function" && Symbol.toStringTag, n = a && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
332
332
|
return n;
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function gt(e) {
|
|
336
336
|
try {
|
|
337
337
|
return Re(e), !1;
|
|
338
338
|
} catch {
|
|
@@ -343,8 +343,8 @@ function Ht() {
|
|
|
343
343
|
return "" + e;
|
|
344
344
|
}
|
|
345
345
|
function Ie(e) {
|
|
346
|
-
if (
|
|
347
|
-
return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
346
|
+
if (gt(e))
|
|
347
|
+
return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _t(e)), Re(e);
|
|
348
348
|
}
|
|
349
349
|
var Ae = L.ReactCurrentOwner, vt = {
|
|
350
350
|
key: !0,
|
|
@@ -360,7 +360,7 @@ function Ht() {
|
|
|
360
360
|
}
|
|
361
361
|
return e.ref !== void 0;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
363
|
+
function bt(e) {
|
|
364
364
|
if (G.call(e, "key")) {
|
|
365
365
|
var a = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
366
366
|
if (a && a.isReactWarning)
|
|
@@ -368,7 +368,7 @@ function Ht() {
|
|
|
368
368
|
}
|
|
369
369
|
return e.key !== void 0;
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function wt(e, a) {
|
|
372
372
|
typeof e.ref == "string" && Ae.current;
|
|
373
373
|
}
|
|
374
374
|
function Ct(e, a) {
|
|
@@ -393,7 +393,7 @@ function Ht() {
|
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
var Nt = function(e, a, n, o, x,
|
|
396
|
+
var Nt = function(e, a, n, o, x, b, m) {
|
|
397
397
|
var p = {
|
|
398
398
|
// This tag allows us to uniquely identify this as a React Element
|
|
399
399
|
$$typeof: i,
|
|
@@ -401,9 +401,9 @@ function Ht() {
|
|
|
401
401
|
type: e,
|
|
402
402
|
key: a,
|
|
403
403
|
ref: n,
|
|
404
|
-
props:
|
|
404
|
+
props: m,
|
|
405
405
|
// Record the component responsible for creating this element.
|
|
406
|
-
_owner:
|
|
406
|
+
_owner: b
|
|
407
407
|
};
|
|
408
408
|
return p._store = {}, Object.defineProperty(p._store, "validated", {
|
|
409
409
|
configurable: !1,
|
|
@@ -424,24 +424,24 @@ function Ht() {
|
|
|
424
424
|
};
|
|
425
425
|
function Tt(e, a, n, o, x) {
|
|
426
426
|
{
|
|
427
|
-
var
|
|
428
|
-
n !== void 0 && (Ie(n), p = "" + n),
|
|
429
|
-
for (
|
|
430
|
-
G.call(a,
|
|
427
|
+
var b, m = {}, p = null, I = null;
|
|
428
|
+
n !== void 0 && (Ie(n), p = "" + n), bt(a) && (Ie(a.key), p = "" + a.key), jt(a) && (I = a.ref, wt(a, x));
|
|
429
|
+
for (b in a)
|
|
430
|
+
G.call(a, b) && !vt.hasOwnProperty(b) && (m[b] = a[b]);
|
|
431
431
|
if (e && e.defaultProps) {
|
|
432
432
|
var P = e.defaultProps;
|
|
433
|
-
for (
|
|
434
|
-
|
|
433
|
+
for (b in P)
|
|
434
|
+
m[b] === void 0 && (m[b] = P[b]);
|
|
435
435
|
}
|
|
436
436
|
if (p || I) {
|
|
437
437
|
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
438
|
-
p && Ct(
|
|
438
|
+
p && Ct(m, E), I && yt(m, E);
|
|
439
439
|
}
|
|
440
|
-
return Nt(e, p, I, x, o, Ae.current,
|
|
440
|
+
return Nt(e, p, I, x, o, Ae.current, m);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
var
|
|
444
|
-
function
|
|
443
|
+
var he = L.ReactCurrentOwner, De = L.ReactDebugCurrentFrame;
|
|
444
|
+
function M(e) {
|
|
445
445
|
if (e) {
|
|
446
446
|
var a = e._owner, n = oe(e.type, e._source, a ? a.type : null);
|
|
447
447
|
De.setExtraStackFrame(n);
|
|
@@ -450,13 +450,13 @@ function Ht() {
|
|
|
450
450
|
}
|
|
451
451
|
var xe;
|
|
452
452
|
xe = !1;
|
|
453
|
-
function
|
|
453
|
+
function _e(e) {
|
|
454
454
|
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
455
455
|
}
|
|
456
456
|
function Fe() {
|
|
457
457
|
{
|
|
458
|
-
if (
|
|
459
|
-
var e =
|
|
458
|
+
if (he.current) {
|
|
459
|
+
var e = f(he.current.type);
|
|
460
460
|
if (e)
|
|
461
461
|
return `
|
|
462
462
|
|
|
@@ -481,7 +481,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
481
481
|
return a;
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function qe(e, a) {
|
|
485
485
|
{
|
|
486
486
|
if (!e._store || e._store.validated || e.key != null)
|
|
487
487
|
return;
|
|
@@ -491,25 +491,25 @@ Check the top-level render call using <` + n + ">.");
|
|
|
491
491
|
return;
|
|
492
492
|
Be[n] = !0;
|
|
493
493
|
var o = "";
|
|
494
|
-
e && e._owner && e._owner !==
|
|
494
|
+
e && e._owner && e._owner !== he.current && (o = " It was passed a child from " + f(e._owner.type) + "."), M(e), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, o), M(null);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
|
-
function
|
|
497
|
+
function He(e, a) {
|
|
498
498
|
{
|
|
499
499
|
if (typeof e != "object")
|
|
500
500
|
return;
|
|
501
|
-
if (
|
|
501
|
+
if (me(e))
|
|
502
502
|
for (var n = 0; n < e.length; n++) {
|
|
503
503
|
var o = e[n];
|
|
504
|
-
|
|
504
|
+
_e(o) && qe(o, a);
|
|
505
505
|
}
|
|
506
|
-
else if (
|
|
506
|
+
else if (_e(e))
|
|
507
507
|
e._store && (e._store.validated = !0);
|
|
508
508
|
else if (e) {
|
|
509
509
|
var x = k(e);
|
|
510
510
|
if (typeof x == "function" && x !== e.entries)
|
|
511
|
-
for (var
|
|
512
|
-
|
|
511
|
+
for (var b = x.call(e), m; !(m = b.next()).done; )
|
|
512
|
+
_e(m.value) && qe(m.value, a);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
}
|
|
@@ -523,16 +523,16 @@ Check the top-level render call using <` + n + ">.");
|
|
|
523
523
|
n = a.propTypes;
|
|
524
524
|
else if (typeof a == "object" && (a.$$typeof === l || // Note: Memo only checks outer props here.
|
|
525
525
|
// Inner props are checked in the reconciler.
|
|
526
|
-
a.$$typeof ===
|
|
526
|
+
a.$$typeof === g))
|
|
527
527
|
n = a.propTypes;
|
|
528
528
|
else
|
|
529
529
|
return;
|
|
530
530
|
if (n) {
|
|
531
|
-
var o =
|
|
532
|
-
|
|
531
|
+
var o = f(a);
|
|
532
|
+
ht(n, e.props, "prop", o, e);
|
|
533
533
|
} else if (a.PropTypes !== void 0 && !xe) {
|
|
534
534
|
xe = !0;
|
|
535
|
-
var x =
|
|
535
|
+
var x = f(a);
|
|
536
536
|
T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
|
|
537
537
|
}
|
|
538
538
|
typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -543,74 +543,74 @@ Check the top-level render call using <` + n + ">.");
|
|
|
543
543
|
for (var a = Object.keys(e.props), n = 0; n < a.length; n++) {
|
|
544
544
|
var o = a[n];
|
|
545
545
|
if (o !== "children" && o !== "key") {
|
|
546
|
-
|
|
546
|
+
M(e), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), M(null);
|
|
547
547
|
break;
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
|
-
e.ref !== null && (
|
|
550
|
+
e.ref !== null && (M(e), T("Invalid attribute `ref` supplied to `React.Fragment`."), M(null));
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
|
-
var
|
|
554
|
-
function
|
|
553
|
+
var We = {};
|
|
554
|
+
function ze(e, a, n, o, x, b) {
|
|
555
555
|
{
|
|
556
|
-
var
|
|
557
|
-
if (!
|
|
556
|
+
var m = re(e);
|
|
557
|
+
if (!m) {
|
|
558
558
|
var p = "";
|
|
559
559
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (p += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
560
560
|
var I = Pt();
|
|
561
561
|
I ? p += I : p += Fe();
|
|
562
562
|
var P;
|
|
563
|
-
e === null ? P = "null" :
|
|
563
|
+
e === null ? P = "null" : me(e) ? P = "array" : e !== void 0 && e.$$typeof === i ? (P = "<" + (f(e.type) || "Unknown") + " />", p = " Did you accidentally export a JSX literal instead of a component?") : P = typeof e, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, p);
|
|
564
564
|
}
|
|
565
|
-
var E = Tt(e, a, n, x,
|
|
565
|
+
var E = Tt(e, a, n, x, b);
|
|
566
566
|
if (E == null)
|
|
567
567
|
return E;
|
|
568
|
-
if (
|
|
569
|
-
var
|
|
570
|
-
if (
|
|
568
|
+
if (m) {
|
|
569
|
+
var q = a.children;
|
|
570
|
+
if (q !== void 0)
|
|
571
571
|
if (o)
|
|
572
|
-
if (
|
|
573
|
-
for (var
|
|
574
|
-
|
|
575
|
-
Object.freeze && Object.freeze(
|
|
572
|
+
if (me(q)) {
|
|
573
|
+
for (var $ = 0; $ < q.length; $++)
|
|
574
|
+
He(q[$], e);
|
|
575
|
+
Object.freeze && Object.freeze(q);
|
|
576
576
|
} else
|
|
577
577
|
T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
578
578
|
else
|
|
579
|
-
|
|
579
|
+
He(q, e);
|
|
580
580
|
}
|
|
581
581
|
if (G.call(a, "key")) {
|
|
582
|
-
var
|
|
582
|
+
var W = f(e), D = Object.keys(a).filter(function(Dt) {
|
|
583
583
|
return Dt !== "key";
|
|
584
|
-
}),
|
|
585
|
-
if (!
|
|
584
|
+
}), ge = D.length > 0 ? "{key: someKey, " + D.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
585
|
+
if (!We[W + ge]) {
|
|
586
586
|
var Ot = D.length > 0 ? "{" + D.join(": ..., ") + ": ...}" : "{}";
|
|
587
587
|
T(`A props object containing a "key" prop is being spread into JSX:
|
|
588
588
|
let props = %s;
|
|
589
589
|
<%s {...props} />
|
|
590
590
|
React keys must be passed directly to JSX without using spread:
|
|
591
591
|
let props = %s;
|
|
592
|
-
<%s key={someKey} {...props} />`,
|
|
592
|
+
<%s key={someKey} {...props} />`, ge, W, Ot, W), We[W + ge] = !0;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
595
|
return e === u ? kt(E) : Et(E), E;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
function Rt(e, a, n) {
|
|
599
|
-
return
|
|
599
|
+
return ze(e, a, n, !0);
|
|
600
600
|
}
|
|
601
601
|
function It(e, a, n) {
|
|
602
|
-
return
|
|
602
|
+
return ze(e, a, n, !1);
|
|
603
603
|
}
|
|
604
604
|
var At = It, Lt = Rt;
|
|
605
605
|
Q.Fragment = u, Q.jsx = At, Q.jsxs = Lt;
|
|
606
606
|
})()), Q;
|
|
607
607
|
}
|
|
608
|
-
var
|
|
609
|
-
function
|
|
610
|
-
return
|
|
608
|
+
var Ve;
|
|
609
|
+
function Ht() {
|
|
610
|
+
return Ve || (Ve = 1, process.env.NODE_ENV === "production" ? le.exports = Bt() : le.exports = qt()), le.exports;
|
|
611
611
|
}
|
|
612
|
-
var t =
|
|
613
|
-
const
|
|
612
|
+
var t = Ht();
|
|
613
|
+
const Wt = {
|
|
614
614
|
landingPage: "Landing Page",
|
|
615
615
|
successPage: "Success Page",
|
|
616
616
|
jaiShreeRam: "JAI SHREE RAM",
|
|
@@ -658,7 +658,7 @@ const zt = {
|
|
|
658
658
|
hours: "HRS",
|
|
659
659
|
minutes: "MIN",
|
|
660
660
|
secondsLabel: "SEC"
|
|
661
|
-
},
|
|
661
|
+
}, zt = {
|
|
662
662
|
landingPage: "लैंडिंग पेज",
|
|
663
663
|
successPage: "सफलता पेज",
|
|
664
664
|
jaiShreeRam: "जय श्री राम",
|
|
@@ -706,14 +706,14 @@ const zt = {
|
|
|
706
706
|
hours: "घंटे",
|
|
707
707
|
minutes: "मिनट",
|
|
708
708
|
secondsLabel: "सेकंड"
|
|
709
|
-
},
|
|
710
|
-
en:
|
|
711
|
-
hi:
|
|
709
|
+
}, Mt = {
|
|
710
|
+
en: Wt,
|
|
711
|
+
hi: zt
|
|
712
712
|
}, it = st(null), Or = ({
|
|
713
713
|
locale: s,
|
|
714
714
|
children: i
|
|
715
715
|
}) => {
|
|
716
|
-
const u = { locale: s, t: (
|
|
716
|
+
const u = { locale: s, t: (h) => Mt[s]?.[h] ?? h };
|
|
717
717
|
return /* @__PURE__ */ t.jsx(it.Provider, { value: u, children: i });
|
|
718
718
|
};
|
|
719
719
|
function ve() {
|
|
@@ -727,7 +727,7 @@ const ot = st(void 0), ct = () => {
|
|
|
727
727
|
}, Dr = ({
|
|
728
728
|
children: s
|
|
729
729
|
}) => {
|
|
730
|
-
const [i, v] = R(null), [u,
|
|
730
|
+
const [i, v] = R(null), [u, h] = R(!1);
|
|
731
731
|
return /* @__PURE__ */ t.jsx(
|
|
732
732
|
ot.Provider,
|
|
733
733
|
{
|
|
@@ -735,27 +735,27 @@ const ot = st(void 0), ct = () => {
|
|
|
735
735
|
userData: i,
|
|
736
736
|
setUserData: v,
|
|
737
737
|
showSuccess: u,
|
|
738
|
-
setShowSuccess:
|
|
738
|
+
setShowSuccess: h
|
|
739
739
|
},
|
|
740
740
|
children: s
|
|
741
741
|
}
|
|
742
742
|
);
|
|
743
|
-
},
|
|
744
|
-
landingPage:
|
|
743
|
+
}, $t = "_landingPage_14yn1_1", Ue = {
|
|
744
|
+
landingPage: $t,
|
|
745
745
|
"sf-select": "_sf-select_14yn1_7"
|
|
746
|
-
},
|
|
746
|
+
}, Vt = ({ targetDate: s }) => {
|
|
747
747
|
const v = ve()?.t || ((j) => j), u = () => {
|
|
748
748
|
const l = (typeof s == "string" ? new Date(s) : s).getTime() - Date.now();
|
|
749
749
|
if (l > 0) {
|
|
750
|
-
const N = Math.floor(l / 864e5), d = Math.floor(l % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)),
|
|
751
|
-
return { days: N, hours: d, minutes:
|
|
750
|
+
const N = Math.floor(l / 864e5), d = Math.floor(l % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), g = Math.floor(l % (1e3 * 60 * 60) / (1e3 * 60)), C = Math.floor(l % (1e3 * 60) / 1e3);
|
|
751
|
+
return { days: N, hours: d, minutes: g, seconds: C };
|
|
752
752
|
}
|
|
753
753
|
return { days: 0, hours: 0, minutes: 0, seconds: 0 };
|
|
754
|
-
}, [
|
|
754
|
+
}, [h, _] = R({ days: 0, hours: 0, minutes: 0, seconds: 0 });
|
|
755
755
|
F(() => {
|
|
756
|
-
|
|
756
|
+
_(u());
|
|
757
757
|
const j = setInterval(() => {
|
|
758
|
-
|
|
758
|
+
_(u());
|
|
759
759
|
}, 1e3);
|
|
760
760
|
return () => clearInterval(j);
|
|
761
761
|
}, [s]);
|
|
@@ -763,28 +763,28 @@ const ot = st(void 0), ct = () => {
|
|
|
763
763
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex items-center justify-center gap-3 sm:gap-4", children: [
|
|
764
764
|
/* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
765
765
|
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
766
|
-
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: c(
|
|
766
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: c(h.days) }),
|
|
767
767
|
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: v("days") })
|
|
768
768
|
] }),
|
|
769
769
|
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none mb-2.5", children: ":" }),
|
|
770
770
|
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
771
|
-
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: c(
|
|
771
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: c(h.hours) }),
|
|
772
772
|
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: v("hours") })
|
|
773
773
|
] }),
|
|
774
774
|
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none mb-2.5", children: ":" }),
|
|
775
775
|
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
776
|
-
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: c(
|
|
776
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: c(h.minutes) }),
|
|
777
777
|
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: v("minutes") })
|
|
778
778
|
] }),
|
|
779
779
|
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none mb-2.5", children: ":" }),
|
|
780
780
|
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
781
|
-
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: c(
|
|
781
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: c(h.seconds) }),
|
|
782
782
|
/* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: v("secondsLabel") })
|
|
783
783
|
] })
|
|
784
784
|
] }),
|
|
785
785
|
/* @__PURE__ */ t.jsx("p", { className: "text-[#907250] text-[11px] sm:text-[12px] font-medium", children: v("timerLabel") })
|
|
786
786
|
] });
|
|
787
|
-
},
|
|
787
|
+
}, Ut = [
|
|
788
788
|
{
|
|
789
789
|
icon: "https://srm-cdn.a4b.io/yoda/1774095297032.png",
|
|
790
790
|
titleKey: "expectItem1Title",
|
|
@@ -800,7 +800,7 @@ const ot = st(void 0), ct = () => {
|
|
|
800
800
|
titleKey: "expectItem3Title",
|
|
801
801
|
descKey: "expectItem3Desc"
|
|
802
802
|
}
|
|
803
|
-
],
|
|
803
|
+
], Ye = [
|
|
804
804
|
{ code: "+1", country: "USA" },
|
|
805
805
|
// { code: "+7", country: "Russia / Kazakhstan" },
|
|
806
806
|
// { code: "+20", country: "Egypt" },
|
|
@@ -875,26 +875,26 @@ const ot = st(void 0), ct = () => {
|
|
|
875
875
|
onSubmit: i,
|
|
876
876
|
isGlobal: v = !1,
|
|
877
877
|
analytics: u,
|
|
878
|
-
showToast:
|
|
878
|
+
showToast: h
|
|
879
879
|
}) => {
|
|
880
|
-
const c = ve()?.t || ((y) => y), [j, l] = R(v ? "+1" : "+91"), [N, d] = R(!1), { setUserData:
|
|
880
|
+
const c = ve()?.t || ((y) => y), [j, l] = R(v ? "+1" : "+91"), [N, d] = R(!1), { setUserData: g, setShowSuccess: C } = ct(), [S, B] = R(""), [A, k] = R(""), L = z(!1), T = `${j}-${A}`, Y = Ye.find(
|
|
881
881
|
(y) => y.code === j
|
|
882
882
|
);
|
|
883
883
|
F(() => {
|
|
884
884
|
!L.current && u?.trackLandingPageViewed && (u.trackLandingPageViewed(), L.current = !0);
|
|
885
885
|
}, [u]);
|
|
886
|
-
const
|
|
886
|
+
const J = (y) => {
|
|
887
887
|
if (y.preventDefault(), !S || S.trim() === "") {
|
|
888
|
-
|
|
888
|
+
h?.("error", "Please enter your name");
|
|
889
889
|
return;
|
|
890
890
|
}
|
|
891
891
|
if (!A || A.length !== 10) {
|
|
892
|
-
|
|
892
|
+
h?.("error", "Please enter a valid 10-digit WhatsApp number");
|
|
893
893
|
return;
|
|
894
894
|
}
|
|
895
|
-
u?.trackSubmitClicked?.(),
|
|
895
|
+
u?.trackSubmitClicked?.(), g({ name: S, fullPhoneNumber: T }), h?.("success", "Registration Successful"), C(!0), i?.({ name: S, fullPhoneNumber: T });
|
|
896
896
|
};
|
|
897
|
-
return /* @__PURE__ */ t.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ t.jsxs("div", { className:
|
|
897
|
+
return /* @__PURE__ */ t.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ t.jsxs("div", { className: Ue.landingPage, children: [
|
|
898
898
|
/* @__PURE__ */ t.jsx("div", { className: "relative w-full flex justify-center bg-[#FFF8EF]", children: /* @__PURE__ */ t.jsx(
|
|
899
899
|
"img",
|
|
900
900
|
{
|
|
@@ -903,7 +903,7 @@ const ot = st(void 0), ct = () => {
|
|
|
903
903
|
className: "w-full max-w-2xl h-auto max-h-[600px] object-contain"
|
|
904
904
|
}
|
|
905
905
|
) }),
|
|
906
|
-
/* @__PURE__ */ t.jsx("div", { className: "py-3 px-4 bg-white border-b border-[#D4C5B0]", children: /* @__PURE__ */ t.jsx(
|
|
906
|
+
/* @__PURE__ */ t.jsx("div", { className: "py-3 px-4 bg-white border-b border-[#D4C5B0]", children: /* @__PURE__ */ t.jsx(Vt, { targetDate: s }) }),
|
|
907
907
|
/* @__PURE__ */ t.jsxs("div", { className: "px-4 bg-[#FFF8EF]", children: [
|
|
908
908
|
/* @__PURE__ */ t.jsxs("div", { className: "max-w-md mx-auto flex items-center justify-center gap-4 p-4", children: [
|
|
909
909
|
/* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(
|
|
@@ -923,7 +923,7 @@ const ot = st(void 0), ct = () => {
|
|
|
923
923
|
] }),
|
|
924
924
|
/* @__PURE__ */ t.jsx("div", { className: "px-4 py-6 bg-[#FFF8EF]", children: /* @__PURE__ */ t.jsxs("div", { className: "max-w-md mx-auto px-4", children: [
|
|
925
925
|
/* @__PURE__ */ t.jsx("p", { className: "text-center text-[#6F5642] text-[14px] mb-6", children: c("formTitle") }),
|
|
926
|
-
/* @__PURE__ */ t.jsxs("form", { onSubmit:
|
|
926
|
+
/* @__PURE__ */ t.jsxs("form", { onSubmit: J, className: "space-y-4", children: [
|
|
927
927
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
|
928
928
|
/* @__PURE__ */ t.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children: c("nameLabel") }),
|
|
929
929
|
/* @__PURE__ */ t.jsx(
|
|
@@ -949,11 +949,11 @@ const ot = st(void 0), ct = () => {
|
|
|
949
949
|
"div",
|
|
950
950
|
{
|
|
951
951
|
onClick: () => d(!N),
|
|
952
|
-
className: `${
|
|
953
|
-
children:
|
|
952
|
+
className: `${Ue["sf-select"]} text-center text-[#614938] bg-[#F9F3EF] border-[#ECD4C2]`,
|
|
953
|
+
children: Y?.code
|
|
954
954
|
}
|
|
955
955
|
),
|
|
956
|
-
N && /* @__PURE__ */ t.jsx("div", { className: "absolute top-full left-0 w-full bg-white border border-[#D4C5B0] rounded-lg mt-1 shadow-lg z-50", children:
|
|
956
|
+
N && /* @__PURE__ */ t.jsx("div", { className: "absolute top-full left-0 w-full bg-white border border-[#D4C5B0] rounded-lg mt-1 shadow-lg z-50", children: Ye.map((y) => /* @__PURE__ */ t.jsxs(
|
|
957
957
|
"div",
|
|
958
958
|
{
|
|
959
959
|
onClick: () => {
|
|
@@ -976,8 +976,8 @@ const ot = st(void 0), ct = () => {
|
|
|
976
976
|
type: "tel",
|
|
977
977
|
value: A,
|
|
978
978
|
onChange: (y) => {
|
|
979
|
-
const
|
|
980
|
-
k(
|
|
979
|
+
const H = y.target.value.replace(/\D/g, "");
|
|
980
|
+
k(H), H && !A && u?.trackPhoneFilled?.();
|
|
981
981
|
},
|
|
982
982
|
onFocus: () => u?.trackPhoneClicked?.(),
|
|
983
983
|
placeholder: c("whatsappPlaceholder"),
|
|
@@ -1002,19 +1002,19 @@ const ot = st(void 0), ct = () => {
|
|
|
1002
1002
|
] }) }),
|
|
1003
1003
|
/* @__PURE__ */ t.jsx("div", { className: "px-4 pb-8 bg-[#FFF8EF]", children: /* @__PURE__ */ t.jsxs("div", { className: "max-w-md mx-auto px-4", children: [
|
|
1004
1004
|
/* @__PURE__ */ t.jsx("h2", { className: "text-[#614938] text-[18px] font-bold mb-6", children: c("expectTitle") }),
|
|
1005
|
-
/* @__PURE__ */ t.jsx("div", { className: "space-y-4", children:
|
|
1005
|
+
/* @__PURE__ */ t.jsx("div", { className: "space-y-4", children: Ut.map((y, H) => /* @__PURE__ */ t.jsxs("div", { className: "flex items-start gap-4", children: [
|
|
1006
1006
|
/* @__PURE__ */ t.jsx("img", { src: y.icon, alt: "", className: "w-10 h-10" }),
|
|
1007
1007
|
/* @__PURE__ */ t.jsxs("div", { className: "flex-1", children: [
|
|
1008
1008
|
/* @__PURE__ */ t.jsx("h3", { className: "text-[#614938] text-[14px] font-semibold", children: c(y.titleKey) }),
|
|
1009
1009
|
/* @__PURE__ */ t.jsx("p", { className: "text-[#907250] text-[12px]", children: c(y.descKey) })
|
|
1010
1010
|
] })
|
|
1011
|
-
] },
|
|
1011
|
+
] }, H)) })
|
|
1012
1012
|
] }) })
|
|
1013
1013
|
] }) });
|
|
1014
|
-
},
|
|
1015
|
-
successPage:
|
|
1016
|
-
profileImageContainer:
|
|
1017
|
-
profileImage:
|
|
1014
|
+
}, Yt = "_successPage_8t8j5_1", Jt = "_profileImageContainer_8t8j5_7", Kt = "_profileImage_8t8j5_7", Xt = "_greeting_8t8j5_19", Gt = "_jaiShreeRam_8t8j5_23", Zt = "_userName_8t8j5_29", Qt = "_registrationCard_8t8j5_34", ea = "_registeredText_8t8j5_48", ta = "_eventName_8t8j5_53", aa = "_eventDetails_8t8j5_61", ra = "_whatsappButton_8t8j5_66", na = "_redirectInfo_8t8j5_75", sa = "_redirectText_8t8j5_79", ia = "_countdown_8t8j5_84", oa = "_nextSteps_8t8j5_90", ca = "_nextStepsTitle_8t8j5_96", la = "_stepsList_8t8j5_101", ua = "_step_8t8j5_101", da = "_stepNumber_8t8j5_109", pa = "_stepText_8t8j5_113", w = {
|
|
1015
|
+
successPage: Yt,
|
|
1016
|
+
profileImageContainer: Jt,
|
|
1017
|
+
profileImage: Kt,
|
|
1018
1018
|
greeting: Xt,
|
|
1019
1019
|
jaiShreeRam: Gt,
|
|
1020
1020
|
userName: Zt,
|
|
@@ -1032,54 +1032,54 @@ const ot = st(void 0), ct = () => {
|
|
|
1032
1032
|
step: ua,
|
|
1033
1033
|
stepNumber: da,
|
|
1034
1034
|
stepText: pa
|
|
1035
|
-
},
|
|
1035
|
+
}, fa = "918151810300", ma = "I'm interested in the Rasrajji Hanuman Jayanti Path", Je = `https://wa.me/${fa}?text=${encodeURIComponent(ma)}`, Br = ({
|
|
1036
1036
|
userName: s = "Rahul",
|
|
1037
1037
|
eventName: i = "Hanuman Jayanti Maha Path",
|
|
1038
1038
|
eventDate: v = "2nd April",
|
|
1039
1039
|
eventTime: u = "9:00 AM onwards",
|
|
1040
|
-
onWhatsAppClick:
|
|
1041
|
-
redirectSeconds:
|
|
1040
|
+
onWhatsAppClick: h,
|
|
1041
|
+
redirectSeconds: _ = 10,
|
|
1042
1042
|
analytics: c,
|
|
1043
1043
|
showToast: j,
|
|
1044
1044
|
disableRedirect: l = !1
|
|
1045
1045
|
}) => {
|
|
1046
|
-
const d = ve()?.t || ((k) => k), { userData:
|
|
1046
|
+
const d = ve()?.t || ((k) => k), { userData: g } = ct(), [C, S] = R(_), B = z(!1), A = g?.name || s;
|
|
1047
1047
|
return F(() => {
|
|
1048
1048
|
!B.current && c?.trackSuccessPageViewed && (c.trackSuccessPageViewed({
|
|
1049
|
-
name:
|
|
1050
|
-
phone:
|
|
1049
|
+
name: g?.name,
|
|
1050
|
+
phone: g?.fullPhoneNumber
|
|
1051
1051
|
}), B.current = !0);
|
|
1052
|
-
}, [c,
|
|
1052
|
+
}, [c, g?.name, g?.fullPhoneNumber]), F(() => {
|
|
1053
1053
|
if (!l)
|
|
1054
1054
|
if (C > 0) {
|
|
1055
1055
|
const k = setTimeout(() => S(C - 1), 1e3);
|
|
1056
1056
|
return () => clearTimeout(k);
|
|
1057
|
-
} else C === 0 && (window.location.href =
|
|
1058
|
-
}, [C, l]), /* @__PURE__ */ t.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ t.jsxs("div", { className:
|
|
1059
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
1057
|
+
} else C === 0 && (window.location.href = Je);
|
|
1058
|
+
}, [C, l]), /* @__PURE__ */ t.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ t.jsxs("div", { className: w.successPage, children: [
|
|
1059
|
+
/* @__PURE__ */ t.jsx("div", { className: w.profileImageContainer, children: /* @__PURE__ */ t.jsx(
|
|
1060
1060
|
"img",
|
|
1061
1061
|
{
|
|
1062
1062
|
src: "https://srm-cdn.a4b.io/yoda/1774094253562.webp",
|
|
1063
1063
|
alt: "Profile",
|
|
1064
|
-
className:
|
|
1064
|
+
className: w.profileImage,
|
|
1065
1065
|
width: 88,
|
|
1066
1066
|
height: 88,
|
|
1067
1067
|
loading: "eager"
|
|
1068
1068
|
}
|
|
1069
1069
|
) }),
|
|
1070
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1071
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1072
|
-
/* @__PURE__ */ t.jsxs("h1", { className:
|
|
1070
|
+
/* @__PURE__ */ t.jsxs("div", { className: w.greeting, children: [
|
|
1071
|
+
/* @__PURE__ */ t.jsx("p", { className: w.jaiShreeRam, children: d("jaiShreeRam") }),
|
|
1072
|
+
/* @__PURE__ */ t.jsxs("h1", { className: w.userName, children: [
|
|
1073
1073
|
d("namaste"),
|
|
1074
1074
|
", ",
|
|
1075
1075
|
A,
|
|
1076
1076
|
" Ji"
|
|
1077
1077
|
] })
|
|
1078
1078
|
] }),
|
|
1079
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1080
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1081
|
-
/* @__PURE__ */ t.jsx("h2", { className:
|
|
1082
|
-
/* @__PURE__ */ t.jsxs("p", { className:
|
|
1079
|
+
/* @__PURE__ */ t.jsxs("div", { className: w.registrationCard, children: [
|
|
1080
|
+
/* @__PURE__ */ t.jsx("p", { className: w.registeredText, children: d("registeredFor") }),
|
|
1081
|
+
/* @__PURE__ */ t.jsx("h2", { className: w.eventName, children: i }),
|
|
1082
|
+
/* @__PURE__ */ t.jsxs("p", { className: w.eventDetails, children: [
|
|
1083
1083
|
v,
|
|
1084
1084
|
" · ",
|
|
1085
1085
|
u
|
|
@@ -1088,51 +1088,51 @@ const ot = st(void 0), ct = () => {
|
|
|
1088
1088
|
/* @__PURE__ */ t.jsx(
|
|
1089
1089
|
"button",
|
|
1090
1090
|
{
|
|
1091
|
-
className:
|
|
1091
|
+
className: w.whatsappButton,
|
|
1092
1092
|
onClick: () => {
|
|
1093
1093
|
c?.trackWhatsappBtnClicked?.(), j?.("success", "Redirecting to WhatsApp..."), setTimeout(() => {
|
|
1094
|
-
window.location.href =
|
|
1095
|
-
}, 500),
|
|
1094
|
+
window.location.href = Je;
|
|
1095
|
+
}, 500), h?.();
|
|
1096
1096
|
},
|
|
1097
1097
|
type: "button",
|
|
1098
1098
|
children: d("sendlinkonwhatsapp")
|
|
1099
1099
|
}
|
|
1100
1100
|
),
|
|
1101
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1102
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1103
|
-
/* @__PURE__ */ t.jsxs("p", { className:
|
|
1101
|
+
/* @__PURE__ */ t.jsxs("div", { className: w.redirectInfo, children: [
|
|
1102
|
+
/* @__PURE__ */ t.jsx("p", { className: w.redirectText, children: d("redirectingIn") }),
|
|
1103
|
+
/* @__PURE__ */ t.jsxs("p", { className: w.countdown, children: [
|
|
1104
1104
|
C.toString().padStart(2, "0"),
|
|
1105
1105
|
" ",
|
|
1106
1106
|
d("seconds")
|
|
1107
1107
|
] })
|
|
1108
1108
|
] }),
|
|
1109
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1110
|
-
/* @__PURE__ */ t.jsx("h3", { className:
|
|
1111
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1112
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1113
|
-
/* @__PURE__ */ t.jsx("span", { className:
|
|
1114
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1109
|
+
/* @__PURE__ */ t.jsxs("div", { className: w.nextSteps, children: [
|
|
1110
|
+
/* @__PURE__ */ t.jsx("h3", { className: w.nextStepsTitle, children: d("whatHappensNext") }),
|
|
1111
|
+
/* @__PURE__ */ t.jsxs("div", { className: w.stepsList, children: [
|
|
1112
|
+
/* @__PURE__ */ t.jsxs("div", { className: w.step, children: [
|
|
1113
|
+
/* @__PURE__ */ t.jsx("span", { className: w.stepNumber, children: "1" }),
|
|
1114
|
+
/* @__PURE__ */ t.jsx("p", { className: w.stepText, children: d("step1") })
|
|
1115
1115
|
] }),
|
|
1116
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1117
|
-
/* @__PURE__ */ t.jsx("span", { className:
|
|
1118
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1116
|
+
/* @__PURE__ */ t.jsxs("div", { className: w.step, children: [
|
|
1117
|
+
/* @__PURE__ */ t.jsx("span", { className: w.stepNumber, children: "2" }),
|
|
1118
|
+
/* @__PURE__ */ t.jsx("p", { className: w.stepText, children: d("step2") })
|
|
1119
1119
|
] }),
|
|
1120
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1121
|
-
/* @__PURE__ */ t.jsx("span", { className:
|
|
1122
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1120
|
+
/* @__PURE__ */ t.jsxs("div", { className: w.step, children: [
|
|
1121
|
+
/* @__PURE__ */ t.jsx("span", { className: w.stepNumber, children: "3" }),
|
|
1122
|
+
/* @__PURE__ */ t.jsx("p", { className: w.stepText, children: d("step3") })
|
|
1123
1123
|
] })
|
|
1124
1124
|
] })
|
|
1125
1125
|
] })
|
|
1126
1126
|
] }) });
|
|
1127
|
-
},
|
|
1128
|
-
container:
|
|
1127
|
+
}, ha = "_container_tqp8u_2", xa = "_video_tqp8u_24", _a = "_videoFullscreenWithBelowBanner_tqp8u_36", ga = "_banner_tqp8u_43", va = "_bannerCard_tqp8u_60", ja = "_bannerTitle_tqp8u_69", ba = "_landscapeHeader_tqp8u_80", wa = "_scroll_tqp8u_91", Ca = "_landscapeScroll_tqp8u_99", ya = "_card_tqp8u_106", Na = "_divider_tqp8u_122", Ta = "_chat_tqp8u_131", Pa = "_iframe_tqp8u_137", Sa = "_fullscreenBtn_tqp8u_144", Ea = "_chatToggleBtn_tqp8u_182", ka = "_chatToggleBtnText_tqp8u_235", Ra = "_fullscreenChatPanel_tqp8u_242", Ia = "_fullscreenChatCloseBtn_tqp8u_255", Aa = "_chatLoader_tqp8u_284", La = "_chatLoaderCompact_tqp8u_297", Oa = "_devotionalLoader_tqp8u_301", Da = "_chatLoaderText_tqp8u_343", Fa = "_imageWrapper_tqp8u_367", Ba = "_image_tqp8u_367", qa = "_addBtn_tqp8u_379", Ha = "_title_tqp8u_393", Wa = "_price_tqp8u_400", za = "_priceRow_tqp8u_406", Ma = "_originalPrice_tqp8u_414", $a = "_discountBadge_tqp8u_420", Va = "_landscapeCard_tqp8u_430", Ua = "_landscapeImageWrapper_tqp8u_450", Ya = "_landscapeImage_tqp8u_450", Ja = "_landscapeContent_tqp8u_463", Ka = "_landscapeTitle_tqp8u_470", Xa = "_landscapePriceRow_tqp8u_479", Ga = "_landscapePrice_tqp8u_479", Za = "_landscapeOriginalPrice_tqp8u_492", Qa = "_landscapeDiscount_tqp8u_498", er = "_landscapeAdd_tqp8u_508", tr = "_carousel_tqp8u_579", ar = "_carouselTrack_tqp8u_608", rr = "_carouselSlide_tqp8u_614", nr = "_carouselArrow_tqp8u_622", sr = "_carouselArrowLeft_tqp8u_647", ir = "_carouselArrowRight_tqp8u_651", or = "_pujaBanner_tqp8u_681", cr = "_pujaWrapperVertical_tqp8u_691", lr = "_pujaHeader_tqp8u_697", ur = "_pujaCardVertical_tqp8u_708", dr = "_pujaImage_tqp8u_739", pr = "_pujaContent_tqp8u_747", fr = "_pujaTitle_tqp8u_753", mr = "_pujaSub_tqp8u_765", hr = "_locationIcon_tqp8u_777", xr = "_pujaTrustmakers_tqp8u_783", _r = "_pujaCTA_tqp8u_792", gr = "_pujaCardHorizontal_tqp8u_808", vr = "_pujaImageHorizontal_tqp8u_825", jr = "_pujaContentHorizontal_tqp8u_833", br = "_pujaPinkText_tqp8u_841", wr = "_pujaPinkTextHorizontal_tqp8u_852", Cr = "_pujaTitleHorizontal_tqp8u_863", yr = "_pujaSubHorizontal_tqp8u_871", Nr = "_pujaCTAHorizontal_tqp8u_881", r = {
|
|
1128
|
+
container: ha,
|
|
1129
1129
|
video: xa,
|
|
1130
|
-
videoFullscreenWithBelowBanner:
|
|
1131
|
-
banner:
|
|
1130
|
+
videoFullscreenWithBelowBanner: _a,
|
|
1131
|
+
banner: ga,
|
|
1132
1132
|
bannerCard: va,
|
|
1133
1133
|
bannerTitle: ja,
|
|
1134
|
-
landscapeHeader:
|
|
1135
|
-
scroll:
|
|
1134
|
+
landscapeHeader: ba,
|
|
1135
|
+
scroll: wa,
|
|
1136
1136
|
landscapeScroll: Ca,
|
|
1137
1137
|
card: ya,
|
|
1138
1138
|
divider: Na,
|
|
@@ -1149,17 +1149,17 @@ const ot = st(void 0), ct = () => {
|
|
|
1149
1149
|
chatLoaderText: Da,
|
|
1150
1150
|
imageWrapper: Fa,
|
|
1151
1151
|
image: Ba,
|
|
1152
|
-
addBtn:
|
|
1153
|
-
title:
|
|
1154
|
-
price:
|
|
1155
|
-
priceRow:
|
|
1156
|
-
originalPrice:
|
|
1157
|
-
discountBadge:
|
|
1158
|
-
landscapeCard:
|
|
1159
|
-
landscapeImageWrapper:
|
|
1160
|
-
landscapeImage:
|
|
1161
|
-
landscapeContent:
|
|
1162
|
-
landscapeTitle:
|
|
1152
|
+
addBtn: qa,
|
|
1153
|
+
title: Ha,
|
|
1154
|
+
price: Wa,
|
|
1155
|
+
priceRow: za,
|
|
1156
|
+
originalPrice: Ma,
|
|
1157
|
+
discountBadge: $a,
|
|
1158
|
+
landscapeCard: Va,
|
|
1159
|
+
landscapeImageWrapper: Ua,
|
|
1160
|
+
landscapeImage: Ya,
|
|
1161
|
+
landscapeContent: Ja,
|
|
1162
|
+
landscapeTitle: Ka,
|
|
1163
1163
|
landscapePriceRow: Xa,
|
|
1164
1164
|
landscapePrice: Ga,
|
|
1165
1165
|
landscapeOriginalPrice: Za,
|
|
@@ -1177,20 +1177,20 @@ const ot = st(void 0), ct = () => {
|
|
|
1177
1177
|
pujaCardVertical: ur,
|
|
1178
1178
|
pujaImage: dr,
|
|
1179
1179
|
pujaContent: pr,
|
|
1180
|
-
pujaTitle:
|
|
1181
|
-
pujaSub:
|
|
1182
|
-
locationIcon:
|
|
1180
|
+
pujaTitle: fr,
|
|
1181
|
+
pujaSub: mr,
|
|
1182
|
+
locationIcon: hr,
|
|
1183
1183
|
pujaTrustmakers: xr,
|
|
1184
|
-
pujaCTA:
|
|
1185
|
-
pujaCardHorizontal:
|
|
1184
|
+
pujaCTA: _r,
|
|
1185
|
+
pujaCardHorizontal: gr,
|
|
1186
1186
|
pujaImageHorizontal: vr,
|
|
1187
1187
|
pujaContentHorizontal: jr,
|
|
1188
|
-
pujaPinkText:
|
|
1189
|
-
pujaPinkTextHorizontal:
|
|
1188
|
+
pujaPinkText: br,
|
|
1189
|
+
pujaPinkTextHorizontal: wr,
|
|
1190
1190
|
pujaTitleHorizontal: Cr,
|
|
1191
1191
|
pujaSubHorizontal: yr,
|
|
1192
1192
|
pujaCTAHorizontal: Nr
|
|
1193
|
-
},
|
|
1193
|
+
}, Ke = "hanuman-live-sindoor", Xe = "hanuman-live-peda", Ge = "hanuman-live-sindoor-peda", V = {
|
|
1194
1194
|
sindoor: "https://rzp.io/rzp/Pb7xgDj",
|
|
1195
1195
|
peda: "https://rzp.io/rzp/LfL86khp",
|
|
1196
1196
|
sindoorPeda: "https://rzp.io/rzp/NM9b4lx"
|
|
@@ -1199,17 +1199,17 @@ const ot = st(void 0), ct = () => {
|
|
|
1199
1199
|
afterTime: "2024-01-01T00:00:00Z",
|
|
1200
1200
|
items: [
|
|
1201
1201
|
{
|
|
1202
|
-
inventory_id:
|
|
1202
|
+
inventory_id: Ke,
|
|
1203
1203
|
name: "Sindoor",
|
|
1204
1204
|
price: 51,
|
|
1205
|
-
razorpay_link:
|
|
1205
|
+
razorpay_link: V.sindoor,
|
|
1206
1206
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
1207
1207
|
},
|
|
1208
1208
|
{
|
|
1209
1209
|
inventory_id: Xe,
|
|
1210
1210
|
name: "Peda",
|
|
1211
1211
|
price: 101,
|
|
1212
|
-
razorpay_link:
|
|
1212
|
+
razorpay_link: V.peda,
|
|
1213
1213
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
1214
1214
|
},
|
|
1215
1215
|
{
|
|
@@ -1218,7 +1218,7 @@ const ot = st(void 0), ct = () => {
|
|
|
1218
1218
|
price: 121,
|
|
1219
1219
|
original_price: "101 + 51",
|
|
1220
1220
|
discount: "20%",
|
|
1221
|
-
razorpay_link:
|
|
1221
|
+
razorpay_link: V.sindoorPeda,
|
|
1222
1222
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866992046.png"
|
|
1223
1223
|
}
|
|
1224
1224
|
]
|
|
@@ -1227,17 +1227,17 @@ const ot = st(void 0), ct = () => {
|
|
|
1227
1227
|
afterTime: "2024-08-01T00:00:00Z",
|
|
1228
1228
|
items: [
|
|
1229
1229
|
{
|
|
1230
|
-
inventory_id:
|
|
1230
|
+
inventory_id: Ke,
|
|
1231
1231
|
name: "Sindoor",
|
|
1232
1232
|
price: 51,
|
|
1233
|
-
razorpay_link:
|
|
1233
|
+
razorpay_link: V.sindoor,
|
|
1234
1234
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866984116.png"
|
|
1235
1235
|
},
|
|
1236
1236
|
{
|
|
1237
1237
|
inventory_id: Xe,
|
|
1238
1238
|
name: "Peda",
|
|
1239
1239
|
price: 101,
|
|
1240
|
-
razorpay_link:
|
|
1240
|
+
razorpay_link: V.peda,
|
|
1241
1241
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
1242
1242
|
},
|
|
1243
1243
|
{
|
|
@@ -1245,7 +1245,7 @@ const ot = st(void 0), ct = () => {
|
|
|
1245
1245
|
name: "Sindoor + Peda",
|
|
1246
1246
|
price: 121,
|
|
1247
1247
|
discount: "20%",
|
|
1248
|
-
razorpay_link:
|
|
1248
|
+
razorpay_link: V.sindoorPeda,
|
|
1249
1249
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866992046.png"
|
|
1250
1250
|
}
|
|
1251
1251
|
]
|
|
@@ -1262,31 +1262,31 @@ const ot = st(void 0), ct = () => {
|
|
|
1262
1262
|
} catch {
|
|
1263
1263
|
return i.replace(/^https?:\/\//i, "").replace(/\/$/, "").replace(/:\d+$/, "");
|
|
1264
1264
|
}
|
|
1265
|
-
},
|
|
1265
|
+
}, qr = ({
|
|
1266
1266
|
videoId: s,
|
|
1267
1267
|
title: i = "Live Stream",
|
|
1268
1268
|
chatHost: v,
|
|
1269
1269
|
isGlobal: u = !1,
|
|
1270
|
-
onOfferingClick:
|
|
1271
|
-
onPujaImpression:
|
|
1270
|
+
onOfferingClick: h,
|
|
1271
|
+
onPujaImpression: _,
|
|
1272
1272
|
onPujaClick: c
|
|
1273
1273
|
}) => {
|
|
1274
|
-
const j =
|
|
1274
|
+
const j = z(null), [l, N] = R(!1), [d, g] = R(!1), [C, S] = R(!0), [B, A] = R(!1), [k, L] = R(!1), [T, Y] = R(""), J = typeof window < "u" ? window.location.origin : "https://www.srimandir.com", y = Qe(T) || Qe(v) || "www.srimandir.com", H = `https://www.youtube-nocookie.com/embed/${s}?fs=0&modestbranding=1&rel=0&playsinline=1&disablekb=1&iv_load_policy=3&origin=${encodeURIComponent(J)}`, te = `https://www.youtube.com/live_chat?v=${s}&embed_domain=${encodeURIComponent(
|
|
1275
1275
|
y
|
|
1276
1276
|
)}`, ue = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent);
|
|
1277
1277
|
F(() => {
|
|
1278
|
-
const
|
|
1278
|
+
const f = () => {
|
|
1279
1279
|
L(window.innerWidth > window.innerHeight);
|
|
1280
1280
|
};
|
|
1281
|
-
return
|
|
1281
|
+
return f(), window.addEventListener("resize", f), () => window.removeEventListener("resize", f);
|
|
1282
1282
|
}, []), F(() => {
|
|
1283
|
-
typeof window < "u" &&
|
|
1283
|
+
typeof window < "u" && Y(window.location.hostname);
|
|
1284
1284
|
}, []);
|
|
1285
1285
|
const ae = async () => {
|
|
1286
|
-
const
|
|
1287
|
-
if (
|
|
1286
|
+
const f = j.current;
|
|
1287
|
+
if (f?.requestFullscreen)
|
|
1288
1288
|
try {
|
|
1289
|
-
await
|
|
1289
|
+
await f.requestFullscreen();
|
|
1290
1290
|
} catch (O) {
|
|
1291
1291
|
console.error("Fullscreen error:", O);
|
|
1292
1292
|
}
|
|
@@ -1301,34 +1301,34 @@ const ot = st(void 0), ct = () => {
|
|
|
1301
1301
|
if (document.fullscreenElement && document.exitFullscreen)
|
|
1302
1302
|
try {
|
|
1303
1303
|
await document.exitFullscreen();
|
|
1304
|
-
} catch (
|
|
1305
|
-
console.error("Exit fullscreen error:",
|
|
1304
|
+
} catch (f) {
|
|
1305
|
+
console.error("Exit fullscreen error:", f);
|
|
1306
1306
|
}
|
|
1307
1307
|
try {
|
|
1308
|
-
const
|
|
1309
|
-
|
|
1310
|
-
} catch (
|
|
1311
|
-
console.error("Orientation unlock error:",
|
|
1308
|
+
const f = screen.orientation;
|
|
1309
|
+
f?.unlock && f.unlock();
|
|
1310
|
+
} catch (f) {
|
|
1311
|
+
console.error("Orientation unlock error:", f);
|
|
1312
1312
|
}
|
|
1313
1313
|
N(!1);
|
|
1314
1314
|
};
|
|
1315
1315
|
F(() => {
|
|
1316
|
-
const
|
|
1316
|
+
const f = () => {
|
|
1317
1317
|
document.fullscreenElement || N(!1);
|
|
1318
1318
|
};
|
|
1319
|
-
return document.addEventListener("fullscreenchange",
|
|
1319
|
+
return document.addEventListener("fullscreenchange", f), () => document.removeEventListener("fullscreenchange", f);
|
|
1320
1320
|
}, []), F(() => {
|
|
1321
|
-
l ||
|
|
1321
|
+
l || g(!1);
|
|
1322
1322
|
}, [l]), F(() => {
|
|
1323
1323
|
d && A(!0);
|
|
1324
1324
|
}, [d]);
|
|
1325
|
-
const ne = async (
|
|
1326
|
-
l && document.fullscreenElement && await re(),
|
|
1327
|
-
},
|
|
1328
|
-
const
|
|
1325
|
+
const ne = async (f) => {
|
|
1326
|
+
l && document.fullscreenElement && await re(), h && await h(f);
|
|
1327
|
+
}, K = () => {
|
|
1328
|
+
const f = new URL(
|
|
1329
1329
|
"https://www.beta.srimandir.com/epuja/5100-hanuman-chalisa-51000-sankat-mochan-hanumanashtak-shani-tel-abhishek-mahapuja-2nd-april-2026"
|
|
1330
1330
|
);
|
|
1331
|
-
|
|
1331
|
+
f.searchParams.set("utm_source", "youtube"), f.searchParams.set("utm_campaign", "rasrajji"), f.searchParams.set("utm_medium", "youtubebanner"), typeof window < "u" && (c?.({ orientation: k ? "horizontal" : "vertical" }), window.location.href = f.toString());
|
|
1332
1332
|
};
|
|
1333
1333
|
return /* @__PURE__ */ t.jsxs("div", { ref: j, className: r.container, children: [
|
|
1334
1334
|
/* @__PURE__ */ t.jsxs(
|
|
@@ -1339,7 +1339,7 @@ const ot = st(void 0), ct = () => {
|
|
|
1339
1339
|
/* @__PURE__ */ t.jsx(
|
|
1340
1340
|
"iframe",
|
|
1341
1341
|
{
|
|
1342
|
-
src:
|
|
1342
|
+
src: H,
|
|
1343
1343
|
title: i,
|
|
1344
1344
|
frameBorder: "0",
|
|
1345
1345
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
@@ -1361,7 +1361,7 @@ const ot = st(void 0), ct = () => {
|
|
|
1361
1361
|
"button",
|
|
1362
1362
|
{
|
|
1363
1363
|
className: r.chatToggleBtn,
|
|
1364
|
-
onClick: () =>
|
|
1364
|
+
onClick: () => g((f) => !f),
|
|
1365
1365
|
"aria-label": "Show Chat",
|
|
1366
1366
|
children: [
|
|
1367
1367
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1385,7 +1385,7 @@ const ot = st(void 0), ct = () => {
|
|
|
1385
1385
|
"button",
|
|
1386
1386
|
{
|
|
1387
1387
|
className: r.fullscreenChatCloseBtn,
|
|
1388
|
-
onClick: () =>
|
|
1388
|
+
onClick: () => g(!1),
|
|
1389
1389
|
"aria-label": "Close chat",
|
|
1390
1390
|
children: /* @__PURE__ */ t.jsxs(
|
|
1391
1391
|
"svg",
|
|
@@ -1427,8 +1427,8 @@ const ot = st(void 0), ct = () => {
|
|
|
1427
1427
|
isGlobal: u,
|
|
1428
1428
|
isLandscape: k,
|
|
1429
1429
|
onOfferingClick: ne,
|
|
1430
|
-
onPujaBannerClick:
|
|
1431
|
-
onPujaImpression:
|
|
1430
|
+
onPujaBannerClick: K,
|
|
1431
|
+
onPujaImpression: _
|
|
1432
1432
|
}
|
|
1433
1433
|
),
|
|
1434
1434
|
!l && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
@@ -1438,8 +1438,8 @@ const ot = st(void 0), ct = () => {
|
|
|
1438
1438
|
isGlobal: u,
|
|
1439
1439
|
isLandscape: k,
|
|
1440
1440
|
onOfferingClick: ne,
|
|
1441
|
-
onPujaBannerClick:
|
|
1442
|
-
onPujaImpression:
|
|
1441
|
+
onPujaBannerClick: K,
|
|
1442
|
+
onPujaImpression: _
|
|
1443
1443
|
}
|
|
1444
1444
|
),
|
|
1445
1445
|
/* @__PURE__ */ t.jsxs("div", { className: r.chat, children: [
|
|
@@ -1505,9 +1505,9 @@ function et({
|
|
|
1505
1505
|
}
|
|
1506
1506
|
);
|
|
1507
1507
|
}
|
|
1508
|
-
const lt = 300, Tr = 60, Pr = lt + Tr, Sr = 1620, ee = 0,
|
|
1508
|
+
const lt = 300, Tr = 60, Pr = lt + Tr, Sr = 1620, ee = 0, U = 1;
|
|
1509
1509
|
function Er() {
|
|
1510
|
-
const [s, i] = R(0), v =
|
|
1510
|
+
const [s, i] = R(0), v = z(Date.now());
|
|
1511
1511
|
F(() => {
|
|
1512
1512
|
const c = setInterval(() => {
|
|
1513
1513
|
i(Math.floor((Date.now() - v.current) / 1e3));
|
|
@@ -1515,26 +1515,26 @@ function Er() {
|
|
|
1515
1515
|
return () => clearInterval(c);
|
|
1516
1516
|
}, []);
|
|
1517
1517
|
const u = s >= Sr;
|
|
1518
|
-
let
|
|
1519
|
-
return u ?
|
|
1518
|
+
let h = ee;
|
|
1519
|
+
return u ? h = U : h = s % Pr < lt ? ee : U, { autoSlide: h, isLockedToPuja: u };
|
|
1520
1520
|
}
|
|
1521
1521
|
function tt({
|
|
1522
1522
|
isGlobal: s,
|
|
1523
1523
|
isLandscape: i,
|
|
1524
1524
|
onOfferingClick: v,
|
|
1525
1525
|
onPujaBannerClick: u,
|
|
1526
|
-
onPujaImpression:
|
|
1526
|
+
onPujaImpression: h
|
|
1527
1527
|
}) {
|
|
1528
|
-
const { autoSlide:
|
|
1528
|
+
const { autoSlide: _, isLockedToPuja: c } = Er(), [j, l] = R(null), N = z(null), d = z(0);
|
|
1529
1529
|
F(() => {
|
|
1530
1530
|
l(null);
|
|
1531
|
-
}, [
|
|
1532
|
-
const
|
|
1531
|
+
}, [_]);
|
|
1532
|
+
const g = j !== null ? j : _, C = z(!1);
|
|
1533
1533
|
F(() => {
|
|
1534
|
-
|
|
1534
|
+
g === U ? C.current || (h?.({
|
|
1535
1535
|
orientation: i ? "horizontal" : "vertical"
|
|
1536
1536
|
}), C.current = !0) : C.current = !1;
|
|
1537
|
-
}, [
|
|
1537
|
+
}, [g, i, h]);
|
|
1538
1538
|
const S = Ft(
|
|
1539
1539
|
(k) => {
|
|
1540
1540
|
c || (l(k), N.current && clearTimeout(N.current), N.current = setTimeout(() => l(null), 1e4));
|
|
@@ -1549,7 +1549,7 @@ function tt({
|
|
|
1549
1549
|
}, A = (k) => {
|
|
1550
1550
|
if (c) return;
|
|
1551
1551
|
const L = d.current - k.changedTouches[0].clientX;
|
|
1552
|
-
Math.abs(L) < 50 || (L > 0 ? S(
|
|
1552
|
+
Math.abs(L) < 50 || (L > 0 ? S(U) : S(ee));
|
|
1553
1553
|
};
|
|
1554
1554
|
return s ? /* @__PURE__ */ t.jsx("div", { className: r.carousel, children: /* @__PURE__ */ t.jsx(
|
|
1555
1555
|
at,
|
|
@@ -1562,7 +1562,7 @@ function tt({
|
|
|
1562
1562
|
"div",
|
|
1563
1563
|
{
|
|
1564
1564
|
className: r.carouselTrack,
|
|
1565
|
-
style: { transform: `translateX(-${
|
|
1565
|
+
style: { transform: `translateX(-${g * 50}%)` },
|
|
1566
1566
|
onTouchStart: B,
|
|
1567
1567
|
onTouchEnd: A,
|
|
1568
1568
|
children: [
|
|
@@ -1584,7 +1584,7 @@ function tt({
|
|
|
1584
1584
|
}
|
|
1585
1585
|
),
|
|
1586
1586
|
!c && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1587
|
-
|
|
1587
|
+
g !== ee && /* @__PURE__ */ t.jsx(
|
|
1588
1588
|
"button",
|
|
1589
1589
|
{
|
|
1590
1590
|
className: `${r.carouselArrow} ${r.carouselArrowLeft}`,
|
|
@@ -1606,11 +1606,11 @@ function tt({
|
|
|
1606
1606
|
)
|
|
1607
1607
|
}
|
|
1608
1608
|
),
|
|
1609
|
-
|
|
1609
|
+
g !== U && /* @__PURE__ */ t.jsx(
|
|
1610
1610
|
"button",
|
|
1611
1611
|
{
|
|
1612
1612
|
className: `${r.carouselArrow} ${r.carouselArrowRight}`,
|
|
1613
|
-
onClick: () => S(
|
|
1613
|
+
onClick: () => S(U),
|
|
1614
1614
|
"aria-label": "Next slide",
|
|
1615
1615
|
children: /* @__PURE__ */ t.jsx(
|
|
1616
1616
|
"svg",
|
|
@@ -1636,39 +1636,45 @@ function kr({
|
|
|
1636
1636
|
onOfferingClick: i
|
|
1637
1637
|
}) {
|
|
1638
1638
|
const u = (() => {
|
|
1639
|
-
const
|
|
1640
|
-
return Ze.slice().reverse().find((j) => new Date(j.afterTime) <=
|
|
1641
|
-
})(),
|
|
1639
|
+
const _ = /* @__PURE__ */ new Date();
|
|
1640
|
+
return Ze.slice().reverse().find((j) => new Date(j.afterTime) <= _) || Ze[0];
|
|
1641
|
+
})(), h = async (_) => {
|
|
1642
1642
|
if (i)
|
|
1643
1643
|
try {
|
|
1644
|
-
await i(
|
|
1644
|
+
await i(_);
|
|
1645
1645
|
} catch (c) {
|
|
1646
1646
|
console.error("Offering click handler failed:", c);
|
|
1647
1647
|
}
|
|
1648
1648
|
};
|
|
1649
1649
|
return /* @__PURE__ */ t.jsx("div", { className: r.banner, children: /* @__PURE__ */ t.jsxs("div", { className: r.bannerCard, children: [
|
|
1650
|
-
/* @__PURE__ */ t.jsxs(
|
|
1651
|
-
"
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1650
|
+
/* @__PURE__ */ t.jsxs(
|
|
1651
|
+
"p",
|
|
1652
|
+
{
|
|
1653
|
+
className: s ? r.landscapeHeader : r.bannerTitle,
|
|
1654
|
+
children: [
|
|
1655
|
+
"Make ",
|
|
1656
|
+
/* @__PURE__ */ t.jsx("span", { children: "Live" }),
|
|
1657
|
+
" Offering on your behalf"
|
|
1658
|
+
]
|
|
1659
|
+
}
|
|
1660
|
+
),
|
|
1655
1661
|
/* @__PURE__ */ t.jsx("div", { className: s ? r.landscapeScroll : r.scroll, children: u.items.map(
|
|
1656
|
-
(
|
|
1662
|
+
(_, c) => s ? /* @__PURE__ */ t.jsx(
|
|
1657
1663
|
Ar,
|
|
1658
1664
|
{
|
|
1659
|
-
item:
|
|
1660
|
-
onClick: () =>
|
|
1665
|
+
item: _,
|
|
1666
|
+
onClick: () => h(_)
|
|
1661
1667
|
},
|
|
1662
|
-
|
|
1668
|
+
_.inventory_id
|
|
1663
1669
|
) : /* @__PURE__ */ t.jsx(
|
|
1664
1670
|
Ir,
|
|
1665
1671
|
{
|
|
1666
|
-
item:
|
|
1672
|
+
item: _,
|
|
1667
1673
|
index: c,
|
|
1668
1674
|
totalItems: u.items.length,
|
|
1669
|
-
onClick: () =>
|
|
1675
|
+
onClick: () => h(_)
|
|
1670
1676
|
},
|
|
1671
|
-
|
|
1677
|
+
_.inventory_id
|
|
1672
1678
|
)
|
|
1673
1679
|
) })
|
|
1674
1680
|
] }) });
|
|
@@ -1699,7 +1705,13 @@ function Rr({
|
|
|
1699
1705
|
}
|
|
1700
1706
|
),
|
|
1701
1707
|
/* @__PURE__ */ t.jsxs("div", { className: r.pujaContentHorizontal, children: [
|
|
1702
|
-
/* @__PURE__ */ t.jsx(
|
|
1708
|
+
/* @__PURE__ */ t.jsx(
|
|
1709
|
+
"p",
|
|
1710
|
+
{
|
|
1711
|
+
className: s ? r.pujaPinkTextHorizontal : r.pujaPinkText,
|
|
1712
|
+
children: "For career and business growth"
|
|
1713
|
+
}
|
|
1714
|
+
),
|
|
1703
1715
|
/* @__PURE__ */ t.jsx("p", { className: r.pujaTitleHorizontal, children: "Participate In 5100 Hanuman Chalisa Path" }),
|
|
1704
1716
|
/* @__PURE__ */ t.jsxs("p", { className: r.pujaSubHorizontal, children: [
|
|
1705
1717
|
/* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(
|
|
@@ -1798,18 +1810,10 @@ function Ir({
|
|
|
1798
1810
|
totalItems: v,
|
|
1799
1811
|
onClick: u
|
|
1800
1812
|
}) {
|
|
1801
|
-
return /* @__PURE__ */ t.jsxs("div", { className: r.card, children: [
|
|
1813
|
+
return /* @__PURE__ */ t.jsxs("div", { className: r.card, onClick: u, children: [
|
|
1802
1814
|
/* @__PURE__ */ t.jsxs("div", { className: r.imageWrapper, children: [
|
|
1803
1815
|
/* @__PURE__ */ t.jsx("img", { src: s.image_url, alt: s.name, className: r.image }),
|
|
1804
|
-
/* @__PURE__ */ t.jsx(
|
|
1805
|
-
"button",
|
|
1806
|
-
{
|
|
1807
|
-
className: r.addBtn,
|
|
1808
|
-
onClick: u,
|
|
1809
|
-
"aria-label": `Add ${s.name}`,
|
|
1810
|
-
children: "+"
|
|
1811
|
-
}
|
|
1812
|
-
)
|
|
1816
|
+
/* @__PURE__ */ t.jsx("div", { className: r.addBtn, "aria-hidden": "true", children: "+" })
|
|
1813
1817
|
] }),
|
|
1814
1818
|
/* @__PURE__ */ t.jsx("p", { className: r.title, children: s.name }),
|
|
1815
1819
|
/* @__PURE__ */ t.jsxs("div", { className: r.priceRow, children: [
|
|
@@ -1833,7 +1837,7 @@ function Ar({
|
|
|
1833
1837
|
item: s,
|
|
1834
1838
|
onClick: i
|
|
1835
1839
|
}) {
|
|
1836
|
-
return /* @__PURE__ */ t.jsxs("div", { className: r.landscapeCard, children: [
|
|
1840
|
+
return /* @__PURE__ */ t.jsxs("div", { className: r.landscapeCard, onClick: i, children: [
|
|
1837
1841
|
/* @__PURE__ */ t.jsxs("div", { className: r.landscapeImageWrapper, children: [
|
|
1838
1842
|
/* @__PURE__ */ t.jsx(
|
|
1839
1843
|
"img",
|
|
@@ -1843,15 +1847,7 @@ function Ar({
|
|
|
1843
1847
|
className: r.landscapeImage
|
|
1844
1848
|
}
|
|
1845
1849
|
),
|
|
1846
|
-
/* @__PURE__ */ t.jsx(
|
|
1847
|
-
"button",
|
|
1848
|
-
{
|
|
1849
|
-
className: r.landscapeAdd,
|
|
1850
|
-
onClick: i,
|
|
1851
|
-
"aria-label": `Add ${s.name}`,
|
|
1852
|
-
children: "+"
|
|
1853
|
-
}
|
|
1854
|
-
)
|
|
1850
|
+
/* @__PURE__ */ t.jsx("div", { className: r.landscapeAdd, "aria-hidden": "true", children: "+" })
|
|
1855
1851
|
] }),
|
|
1856
1852
|
/* @__PURE__ */ t.jsxs("div", { className: r.landscapeContent, children: [
|
|
1857
1853
|
/* @__PURE__ */ t.jsx("p", { className: r.landscapeTitle, children: s.name }),
|
|
@@ -1878,7 +1874,7 @@ export {
|
|
|
1878
1874
|
Or as I18nProvider,
|
|
1879
1875
|
Fr as LandingPage,
|
|
1880
1876
|
Br as SuccessPage,
|
|
1881
|
-
|
|
1877
|
+
qr as VideoPage,
|
|
1882
1878
|
ct as useAppContext,
|
|
1883
1879
|
ve as useI18n
|
|
1884
1880
|
};
|