@srimandir/hanuman-chalisa 1.7.17 → 1.7.18
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 +512 -515
- package/dist/hanuman-chalisa.js.map +1 -1
- package/package.json +3 -3
package/dist/hanuman-chalisa.js
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import
|
|
1
|
+
import rt, { useContext as nt, createContext as st, useState as R, useEffect as D, useRef as $, useCallback as Ft } from "react";
|
|
2
2
|
var le = { exports: {} }, Z = {};
|
|
3
3
|
var Me;
|
|
4
4
|
function Bt() {
|
|
5
5
|
if (Me) return Z;
|
|
6
6
|
Me = 1;
|
|
7
|
-
var s =
|
|
8
|
-
function
|
|
9
|
-
var
|
|
10
|
-
|
|
11
|
-
for (
|
|
12
|
-
if (
|
|
13
|
-
return { $$typeof: o, type:
|
|
7
|
+
var s = rt, o = /* @__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
|
+
function l(g, c, S) {
|
|
9
|
+
var d, j = {}, y = null, k = null;
|
|
10
|
+
S !== void 0 && (y = "" + S), c.key !== void 0 && (y = "" + c.key), c.ref !== void 0 && (k = c.ref);
|
|
11
|
+
for (d in c) u.call(c, d) && !_.hasOwnProperty(d) && (j[d] = c[d]);
|
|
12
|
+
if (g && g.defaultProps) for (d in c = g.defaultProps, c) j[d] === void 0 && (j[d] = c[d]);
|
|
13
|
+
return { $$typeof: o, type: g, key: y, ref: k, props: j, _owner: h.current };
|
|
14
14
|
}
|
|
15
|
-
return Z.Fragment = v, Z.jsx =
|
|
15
|
+
return Z.Fragment = v, Z.jsx = l, Z.jsxs = l, Z;
|
|
16
16
|
}
|
|
17
17
|
var Q = {};
|
|
18
18
|
var Ve;
|
|
19
19
|
function Ht() {
|
|
20
20
|
return Ve || (Ve = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
21
|
-
var s =
|
|
22
|
-
function
|
|
21
|
+
var s = rt, o = /* @__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"), l = /* @__PURE__ */ Symbol.for("react.provider"), g = /* @__PURE__ */ Symbol.for("react.context"), c = /* @__PURE__ */ Symbol.for("react.forward_ref"), S = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), j = /* @__PURE__ */ Symbol.for("react.memo"), y = /* @__PURE__ */ Symbol.for("react.lazy"), k = /* @__PURE__ */ Symbol.for("react.offscreen"), F = Symbol.iterator, E = "@@iterator";
|
|
22
|
+
function A(e) {
|
|
23
23
|
if (e === null || typeof e != "object")
|
|
24
24
|
return null;
|
|
25
|
-
var
|
|
26
|
-
return typeof
|
|
25
|
+
var a = F && e[F] || e[E];
|
|
26
|
+
return typeof a == "function" ? a : null;
|
|
27
27
|
}
|
|
28
|
-
var
|
|
28
|
+
var B = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
29
29
|
function T(e) {
|
|
30
30
|
{
|
|
31
|
-
for (var
|
|
31
|
+
for (var a = arguments.length, n = new Array(a > 1 ? a - 1 : 0), i = 1; i < a; i++)
|
|
32
32
|
n[i - 1] = arguments[i];
|
|
33
33
|
J("error", e, n);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
function J(e,
|
|
36
|
+
function J(e, a, n) {
|
|
37
37
|
{
|
|
38
|
-
var i =
|
|
39
|
-
x !== "" && (
|
|
38
|
+
var i = B.ReactDebugCurrentFrame, x = i.getStackAddendum();
|
|
39
|
+
x !== "" && (a += "%s", n = n.concat([x]));
|
|
40
40
|
var b = n.map(function(f) {
|
|
41
41
|
return String(f);
|
|
42
42
|
});
|
|
43
|
-
b.unshift("Warning: " +
|
|
43
|
+
b.unshift("Warning: " + a), Function.prototype.apply.call(console[e], console, b);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
var K = !1, N = !1, W = !1, te = !1, de = !1,
|
|
47
|
-
|
|
48
|
-
function
|
|
49
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
46
|
+
var K = !1, N = !1, W = !1, te = !1, de = !1, ae;
|
|
47
|
+
ae = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
48
|
+
function re(e) {
|
|
49
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === _ || de || e === h || e === S || e === d || te || e === k || K || N || W || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === j || e.$$typeof === l || e.$$typeof === g || e.$$typeof === c || // 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.
|
|
53
|
-
e.$$typeof ===
|
|
53
|
+
e.$$typeof === ae || e.getModuleId !== void 0));
|
|
54
54
|
}
|
|
55
|
-
function ne(e,
|
|
55
|
+
function ne(e, a, n) {
|
|
56
56
|
var i = e.displayName;
|
|
57
57
|
if (i)
|
|
58
58
|
return i;
|
|
59
|
-
var x =
|
|
59
|
+
var x = a.displayName || a.name || "";
|
|
60
60
|
return x !== "" ? n + "(" + x + ")" : n;
|
|
61
61
|
}
|
|
62
62
|
function q(e) {
|
|
@@ -70,7 +70,7 @@ function Ht() {
|
|
|
70
70
|
if (typeof e == "string")
|
|
71
71
|
return e;
|
|
72
72
|
switch (e) {
|
|
73
|
-
case
|
|
73
|
+
case u:
|
|
74
74
|
return "Fragment";
|
|
75
75
|
case v:
|
|
76
76
|
return "Portal";
|
|
@@ -78,22 +78,22 @@ function Ht() {
|
|
|
78
78
|
return "Profiler";
|
|
79
79
|
case h:
|
|
80
80
|
return "StrictMode";
|
|
81
|
-
case
|
|
81
|
+
case S:
|
|
82
82
|
return "Suspense";
|
|
83
|
-
case
|
|
83
|
+
case d:
|
|
84
84
|
return "SuspenseList";
|
|
85
85
|
}
|
|
86
86
|
if (typeof e == "object")
|
|
87
87
|
switch (e.$$typeof) {
|
|
88
|
-
case
|
|
89
|
-
var
|
|
90
|
-
return q(
|
|
91
|
-
case
|
|
88
|
+
case g:
|
|
89
|
+
var a = e;
|
|
90
|
+
return q(a) + ".Consumer";
|
|
91
|
+
case l:
|
|
92
92
|
var n = e;
|
|
93
93
|
return q(n._context) + ".Provider";
|
|
94
|
-
case
|
|
94
|
+
case c:
|
|
95
95
|
return ne(e, e.render, "ForwardRef");
|
|
96
|
-
case
|
|
96
|
+
case j:
|
|
97
97
|
var i = e.displayName || null;
|
|
98
98
|
return i !== null ? i : m(e.type) || "Memo";
|
|
99
99
|
case y: {
|
|
@@ -107,7 +107,7 @@ function Ht() {
|
|
|
107
107
|
}
|
|
108
108
|
return null;
|
|
109
109
|
}
|
|
110
|
-
var
|
|
110
|
+
var L = Object.assign, X = 0, je, be, we, ye, Ne, Ce, Te;
|
|
111
111
|
function Pe() {
|
|
112
112
|
}
|
|
113
113
|
Pe.__reactDisabledLog = !0;
|
|
@@ -143,25 +143,25 @@ function Ht() {
|
|
|
143
143
|
writable: !0
|
|
144
144
|
};
|
|
145
145
|
Object.defineProperties(console, {
|
|
146
|
-
log:
|
|
146
|
+
log: L({}, e, {
|
|
147
147
|
value: je
|
|
148
148
|
}),
|
|
149
|
-
info:
|
|
149
|
+
info: L({}, e, {
|
|
150
150
|
value: be
|
|
151
151
|
}),
|
|
152
|
-
warn:
|
|
152
|
+
warn: L({}, e, {
|
|
153
153
|
value: we
|
|
154
154
|
}),
|
|
155
|
-
error:
|
|
155
|
+
error: L({}, e, {
|
|
156
156
|
value: ye
|
|
157
157
|
}),
|
|
158
|
-
group:
|
|
158
|
+
group: L({}, e, {
|
|
159
159
|
value: Ne
|
|
160
160
|
}),
|
|
161
|
-
groupCollapsed:
|
|
161
|
+
groupCollapsed: L({}, e, {
|
|
162
162
|
value: Ce
|
|
163
163
|
}),
|
|
164
|
-
groupEnd:
|
|
164
|
+
groupEnd: L({}, e, {
|
|
165
165
|
value: Te
|
|
166
166
|
})
|
|
167
167
|
});
|
|
@@ -169,8 +169,8 @@ function Ht() {
|
|
|
169
169
|
X < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
var ue =
|
|
173
|
-
function se(e,
|
|
172
|
+
var ue = B.ReactCurrentDispatcher, pe;
|
|
173
|
+
function se(e, a, n) {
|
|
174
174
|
{
|
|
175
175
|
if (pe === void 0)
|
|
176
176
|
try {
|
|
@@ -188,7 +188,7 @@ function Ht() {
|
|
|
188
188
|
var pt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
189
189
|
oe = new pt();
|
|
190
190
|
}
|
|
191
|
-
function Se(e,
|
|
191
|
+
function Se(e, a) {
|
|
192
192
|
if (!e || me)
|
|
193
193
|
return "";
|
|
194
194
|
{
|
|
@@ -203,7 +203,7 @@ function Ht() {
|
|
|
203
203
|
var b;
|
|
204
204
|
b = ue.current, ue.current = null, dt();
|
|
205
205
|
try {
|
|
206
|
-
if (
|
|
206
|
+
if (a) {
|
|
207
207
|
var f = function() {
|
|
208
208
|
throw Error();
|
|
209
209
|
};
|
|
@@ -214,42 +214,42 @@ function Ht() {
|
|
|
214
214
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
215
215
|
try {
|
|
216
216
|
Reflect.construct(f, []);
|
|
217
|
-
} catch (
|
|
218
|
-
i =
|
|
217
|
+
} catch (O) {
|
|
218
|
+
i = O;
|
|
219
219
|
}
|
|
220
220
|
Reflect.construct(e, [], f);
|
|
221
221
|
} else {
|
|
222
222
|
try {
|
|
223
223
|
f.call();
|
|
224
|
-
} catch (
|
|
225
|
-
i =
|
|
224
|
+
} catch (O) {
|
|
225
|
+
i = O;
|
|
226
226
|
}
|
|
227
227
|
e.call(f.prototype);
|
|
228
228
|
}
|
|
229
229
|
} else {
|
|
230
230
|
try {
|
|
231
231
|
throw Error();
|
|
232
|
-
} catch (
|
|
233
|
-
i =
|
|
232
|
+
} catch (O) {
|
|
233
|
+
i = O;
|
|
234
234
|
}
|
|
235
235
|
e();
|
|
236
236
|
}
|
|
237
|
-
} catch (
|
|
238
|
-
if (
|
|
239
|
-
for (var p =
|
|
237
|
+
} catch (O) {
|
|
238
|
+
if (O && i && typeof O.stack == "string") {
|
|
239
|
+
for (var p = O.stack.split(`
|
|
240
240
|
`), I = i.stack.split(`
|
|
241
|
-
`),
|
|
242
|
-
|
|
243
|
-
for (;
|
|
244
|
-
if (p[
|
|
245
|
-
if (
|
|
241
|
+
`), C = p.length - 1, P = I.length - 1; C >= 1 && P >= 0 && p[C] !== I[P]; )
|
|
242
|
+
P--;
|
|
243
|
+
for (; C >= 1 && P >= 0; C--, P--)
|
|
244
|
+
if (p[C] !== I[P]) {
|
|
245
|
+
if (C !== 1 || P !== 1)
|
|
246
246
|
do
|
|
247
|
-
if (
|
|
247
|
+
if (C--, P--, P < 0 || p[C] !== I[P]) {
|
|
248
248
|
var H = `
|
|
249
|
-
` + p[
|
|
249
|
+
` + p[C].replace(" at new ", " at ");
|
|
250
250
|
return e.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", e.displayName)), typeof e == "function" && oe.set(e, H), H;
|
|
251
251
|
}
|
|
252
|
-
while (
|
|
252
|
+
while (C >= 1 && P >= 0);
|
|
253
253
|
break;
|
|
254
254
|
}
|
|
255
255
|
}
|
|
@@ -259,14 +259,14 @@ function Ht() {
|
|
|
259
259
|
var V = e ? e.displayName || e.name : "", z = V ? se(V) : "";
|
|
260
260
|
return typeof e == "function" && oe.set(e, z), z;
|
|
261
261
|
}
|
|
262
|
-
function mt(e,
|
|
262
|
+
function mt(e, a, n) {
|
|
263
263
|
return Se(e, !1);
|
|
264
264
|
}
|
|
265
265
|
function ft(e) {
|
|
266
|
-
var
|
|
267
|
-
return !!(
|
|
266
|
+
var a = e.prototype;
|
|
267
|
+
return !!(a && a.isReactComponent);
|
|
268
268
|
}
|
|
269
|
-
function ie(e,
|
|
269
|
+
function ie(e, a, n) {
|
|
270
270
|
if (e == null)
|
|
271
271
|
return "";
|
|
272
272
|
if (typeof e == "function")
|
|
@@ -274,36 +274,36 @@ function Ht() {
|
|
|
274
274
|
if (typeof e == "string")
|
|
275
275
|
return se(e);
|
|
276
276
|
switch (e) {
|
|
277
|
-
case
|
|
277
|
+
case S:
|
|
278
278
|
return se("Suspense");
|
|
279
|
-
case
|
|
279
|
+
case d:
|
|
280
280
|
return se("SuspenseList");
|
|
281
281
|
}
|
|
282
282
|
if (typeof e == "object")
|
|
283
283
|
switch (e.$$typeof) {
|
|
284
|
-
case
|
|
284
|
+
case c:
|
|
285
285
|
return mt(e.render);
|
|
286
|
-
case
|
|
287
|
-
return ie(e.type,
|
|
286
|
+
case j:
|
|
287
|
+
return ie(e.type, a, n);
|
|
288
288
|
case y: {
|
|
289
289
|
var i = e, x = i._payload, b = i._init;
|
|
290
290
|
try {
|
|
291
|
-
return ie(b(x),
|
|
291
|
+
return ie(b(x), a, n);
|
|
292
292
|
} catch {
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
return "";
|
|
297
297
|
}
|
|
298
|
-
var G = Object.prototype.hasOwnProperty, Ee = {}, ke =
|
|
298
|
+
var G = Object.prototype.hasOwnProperty, Ee = {}, ke = B.ReactDebugCurrentFrame;
|
|
299
299
|
function ce(e) {
|
|
300
300
|
if (e) {
|
|
301
|
-
var
|
|
301
|
+
var a = e._owner, n = ie(e.type, e._source, a ? a.type : null);
|
|
302
302
|
ke.setExtraStackFrame(n);
|
|
303
303
|
} else
|
|
304
304
|
ke.setExtraStackFrame(null);
|
|
305
305
|
}
|
|
306
|
-
function ht(e,
|
|
306
|
+
function ht(e, a, n, i, x) {
|
|
307
307
|
{
|
|
308
308
|
var b = Function.call.bind(G);
|
|
309
309
|
for (var f in e)
|
|
@@ -314,9 +314,9 @@ function Ht() {
|
|
|
314
314
|
var I = Error((i || "React class") + ": " + n + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
315
315
|
throw I.name = "Invariant Violation", I;
|
|
316
316
|
}
|
|
317
|
-
p = e[f](
|
|
318
|
-
} catch (
|
|
319
|
-
p =
|
|
317
|
+
p = e[f](a, f, i, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
318
|
+
} catch (C) {
|
|
319
|
+
p = C;
|
|
320
320
|
}
|
|
321
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).", i || "React class", n, f, 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
|
}
|
|
@@ -328,7 +328,7 @@ function Ht() {
|
|
|
328
328
|
}
|
|
329
329
|
function _t(e) {
|
|
330
330
|
{
|
|
331
|
-
var
|
|
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
|
}
|
|
@@ -346,7 +346,7 @@ function Ht() {
|
|
|
346
346
|
if (gt(e))
|
|
347
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
|
-
var Ae =
|
|
349
|
+
var Ae = B.ReactCurrentOwner, vt = {
|
|
350
350
|
key: !0,
|
|
351
351
|
ref: !0,
|
|
352
352
|
__self: !0,
|
|
@@ -354,27 +354,27 @@ function Ht() {
|
|
|
354
354
|
}, Le, Oe;
|
|
355
355
|
function jt(e) {
|
|
356
356
|
if (G.call(e, "ref")) {
|
|
357
|
-
var
|
|
358
|
-
if (
|
|
357
|
+
var a = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
358
|
+
if (a && a.isReactWarning)
|
|
359
359
|
return !1;
|
|
360
360
|
}
|
|
361
361
|
return e.ref !== void 0;
|
|
362
362
|
}
|
|
363
363
|
function bt(e) {
|
|
364
364
|
if (G.call(e, "key")) {
|
|
365
|
-
var
|
|
366
|
-
if (
|
|
365
|
+
var a = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
366
|
+
if (a && a.isReactWarning)
|
|
367
367
|
return !1;
|
|
368
368
|
}
|
|
369
369
|
return e.key !== void 0;
|
|
370
370
|
}
|
|
371
|
-
function wt(e,
|
|
371
|
+
function wt(e, a) {
|
|
372
372
|
typeof e.ref == "string" && Ae.current;
|
|
373
373
|
}
|
|
374
|
-
function yt(e,
|
|
374
|
+
function yt(e, a) {
|
|
375
375
|
{
|
|
376
376
|
var n = function() {
|
|
377
|
-
Le || (Le = !0, T("%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)",
|
|
377
|
+
Le || (Le = !0, T("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a));
|
|
378
378
|
};
|
|
379
379
|
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
380
380
|
get: n,
|
|
@@ -382,10 +382,10 @@ function Ht() {
|
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
function Nt(e,
|
|
385
|
+
function Nt(e, a) {
|
|
386
386
|
{
|
|
387
387
|
var n = function() {
|
|
388
|
-
Oe || (Oe = !0, T("%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)",
|
|
388
|
+
Oe || (Oe = !0, T("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a));
|
|
389
389
|
};
|
|
390
390
|
n.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
391
391
|
get: n,
|
|
@@ -393,13 +393,13 @@ function Ht() {
|
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
var Ct = function(e,
|
|
396
|
+
var Ct = function(e, a, n, i, x, b, f) {
|
|
397
397
|
var p = {
|
|
398
398
|
// This tag allows us to uniquely identify this as a React Element
|
|
399
399
|
$$typeof: o,
|
|
400
400
|
// Built-in properties that belong on the element
|
|
401
401
|
type: e,
|
|
402
|
-
key:
|
|
402
|
+
key: a,
|
|
403
403
|
ref: n,
|
|
404
404
|
props: f,
|
|
405
405
|
// Record the component responsible for creating this element.
|
|
@@ -422,28 +422,28 @@ function Ht() {
|
|
|
422
422
|
value: x
|
|
423
423
|
}), Object.freeze && (Object.freeze(p.props), Object.freeze(p)), p;
|
|
424
424
|
};
|
|
425
|
-
function Tt(e,
|
|
425
|
+
function Tt(e, a, n, i, x) {
|
|
426
426
|
{
|
|
427
427
|
var b, f = {}, p = null, I = null;
|
|
428
|
-
n !== void 0 && (Ie(n), p = "" + n), bt(
|
|
429
|
-
for (b in
|
|
430
|
-
G.call(
|
|
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) && (f[b] = a[b]);
|
|
431
431
|
if (e && e.defaultProps) {
|
|
432
|
-
var
|
|
433
|
-
for (b in
|
|
434
|
-
f[b] === void 0 && (f[b] =
|
|
432
|
+
var C = e.defaultProps;
|
|
433
|
+
for (b in C)
|
|
434
|
+
f[b] === void 0 && (f[b] = C[b]);
|
|
435
435
|
}
|
|
436
436
|
if (p || I) {
|
|
437
|
-
var
|
|
438
|
-
p && yt(f,
|
|
437
|
+
var P = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
438
|
+
p && yt(f, P), I && Nt(f, P);
|
|
439
439
|
}
|
|
440
440
|
return Ct(e, p, I, x, i, Ae.current, f);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
var he =
|
|
443
|
+
var he = B.ReactCurrentOwner, De = B.ReactDebugCurrentFrame;
|
|
444
444
|
function M(e) {
|
|
445
445
|
if (e) {
|
|
446
|
-
var
|
|
446
|
+
var a = e._owner, n = ie(e.type, e._source, a ? a.type : null);
|
|
447
447
|
De.setExtraStackFrame(n);
|
|
448
448
|
} else
|
|
449
449
|
De.setExtraStackFrame(null);
|
|
@@ -471,22 +471,22 @@ Check the render method of \`` + e + "`.";
|
|
|
471
471
|
var Be = {};
|
|
472
472
|
function St(e) {
|
|
473
473
|
{
|
|
474
|
-
var
|
|
475
|
-
if (!
|
|
474
|
+
var a = Fe();
|
|
475
|
+
if (!a) {
|
|
476
476
|
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
477
|
-
n && (
|
|
477
|
+
n && (a = `
|
|
478
478
|
|
|
479
479
|
Check the top-level render call using <` + n + ">.");
|
|
480
480
|
}
|
|
481
|
-
return
|
|
481
|
+
return a;
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
|
-
function He(e,
|
|
484
|
+
function He(e, a) {
|
|
485
485
|
{
|
|
486
486
|
if (!e._store || e._store.validated || e.key != null)
|
|
487
487
|
return;
|
|
488
488
|
e._store.validated = !0;
|
|
489
|
-
var n = St(
|
|
489
|
+
var n = St(a);
|
|
490
490
|
if (Be[n])
|
|
491
491
|
return;
|
|
492
492
|
Be[n] = !0;
|
|
@@ -494,54 +494,54 @@ Check the top-level render call using <` + n + ">.");
|
|
|
494
494
|
e && e._owner && e._owner !== he.current && (i = " It was passed a child from " + m(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, i), M(null);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
|
-
function We(e,
|
|
497
|
+
function We(e, a) {
|
|
498
498
|
{
|
|
499
499
|
if (typeof e != "object")
|
|
500
500
|
return;
|
|
501
501
|
if (fe(e))
|
|
502
502
|
for (var n = 0; n < e.length; n++) {
|
|
503
503
|
var i = e[n];
|
|
504
|
-
_e(i) && He(i,
|
|
504
|
+
_e(i) && He(i, a);
|
|
505
505
|
}
|
|
506
506
|
else if (_e(e))
|
|
507
507
|
e._store && (e._store.validated = !0);
|
|
508
508
|
else if (e) {
|
|
509
|
-
var x =
|
|
509
|
+
var x = A(e);
|
|
510
510
|
if (typeof x == "function" && x !== e.entries)
|
|
511
511
|
for (var b = x.call(e), f; !(f = b.next()).done; )
|
|
512
|
-
_e(f.value) && He(f.value,
|
|
512
|
+
_e(f.value) && He(f.value, a);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
function Et(e) {
|
|
517
517
|
{
|
|
518
|
-
var
|
|
519
|
-
if (
|
|
518
|
+
var a = e.type;
|
|
519
|
+
if (a == null || typeof a == "string")
|
|
520
520
|
return;
|
|
521
521
|
var n;
|
|
522
|
-
if (typeof
|
|
523
|
-
n =
|
|
524
|
-
else if (typeof
|
|
522
|
+
if (typeof a == "function")
|
|
523
|
+
n = a.propTypes;
|
|
524
|
+
else if (typeof a == "object" && (a.$$typeof === c || // Note: Memo only checks outer props here.
|
|
525
525
|
// Inner props are checked in the reconciler.
|
|
526
|
-
|
|
527
|
-
n =
|
|
526
|
+
a.$$typeof === j))
|
|
527
|
+
n = a.propTypes;
|
|
528
528
|
else
|
|
529
529
|
return;
|
|
530
530
|
if (n) {
|
|
531
|
-
var i = m(
|
|
531
|
+
var i = m(a);
|
|
532
532
|
ht(n, e.props, "prop", i, e);
|
|
533
|
-
} else if (
|
|
533
|
+
} else if (a.PropTypes !== void 0 && !xe) {
|
|
534
534
|
xe = !0;
|
|
535
|
-
var x = m(
|
|
535
|
+
var x = m(a);
|
|
536
536
|
T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
|
|
537
537
|
}
|
|
538
|
-
typeof
|
|
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.");
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
function kt(e) {
|
|
542
542
|
{
|
|
543
|
-
for (var
|
|
544
|
-
var i =
|
|
543
|
+
for (var a = Object.keys(e.props), n = 0; n < a.length; n++) {
|
|
544
|
+
var i = a[n];
|
|
545
545
|
if (i !== "children" && i !== "key") {
|
|
546
546
|
M(e), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), M(null);
|
|
547
547
|
break;
|
|
@@ -551,22 +551,22 @@ Check the top-level render call using <` + n + ">.");
|
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
var ze = {};
|
|
554
|
-
function $e(e,
|
|
554
|
+
function $e(e, a, n, i, x, b) {
|
|
555
555
|
{
|
|
556
|
-
var f =
|
|
556
|
+
var f = re(e);
|
|
557
557
|
if (!f) {
|
|
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
|
-
var
|
|
563
|
-
e === null ?
|
|
562
|
+
var C;
|
|
563
|
+
e === null ? C = "null" : fe(e) ? C = "array" : e !== void 0 && e.$$typeof === o ? (C = "<" + (m(e.type) || "Unknown") + " />", p = " Did you accidentally export a JSX literal instead of a component?") : C = 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", C, p);
|
|
564
564
|
}
|
|
565
|
-
var
|
|
566
|
-
if (
|
|
567
|
-
return
|
|
565
|
+
var P = Tt(e, a, n, x, b);
|
|
566
|
+
if (P == null)
|
|
567
|
+
return P;
|
|
568
568
|
if (f) {
|
|
569
|
-
var H =
|
|
569
|
+
var H = a.children;
|
|
570
570
|
if (H !== void 0)
|
|
571
571
|
if (i)
|
|
572
572
|
if (fe(H)) {
|
|
@@ -578,12 +578,12 @@ Check the top-level render call using <` + n + ">.");
|
|
|
578
578
|
else
|
|
579
579
|
We(H, e);
|
|
580
580
|
}
|
|
581
|
-
if (G.call(
|
|
582
|
-
var z = m(e),
|
|
581
|
+
if (G.call(a, "key")) {
|
|
582
|
+
var z = m(e), O = Object.keys(a).filter(function(Dt) {
|
|
583
583
|
return Dt !== "key";
|
|
584
|
-
}), ge =
|
|
584
|
+
}), ge = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
585
585
|
if (!ze[z + ge]) {
|
|
586
|
-
var Ot =
|
|
586
|
+
var Ot = O.length > 0 ? "{" + O.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} />
|
|
@@ -592,17 +592,17 @@ React keys must be passed directly to JSX without using spread:
|
|
|
592
592
|
<%s key={someKey} {...props} />`, ge, z, Ot, z), ze[z + ge] = !0;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
return e ===
|
|
595
|
+
return e === u ? kt(P) : Et(P), P;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
|
-
function Rt(e,
|
|
599
|
-
return $e(e,
|
|
598
|
+
function Rt(e, a, n) {
|
|
599
|
+
return $e(e, a, n, !0);
|
|
600
600
|
}
|
|
601
|
-
function It(e,
|
|
602
|
-
return $e(e,
|
|
601
|
+
function It(e, a, n) {
|
|
602
|
+
return $e(e, a, n, !1);
|
|
603
603
|
}
|
|
604
604
|
var At = It, Lt = Rt;
|
|
605
|
-
Q.Fragment =
|
|
605
|
+
Q.Fragment = u, Q.jsx = At, Q.jsxs = Lt;
|
|
606
606
|
})()), Q;
|
|
607
607
|
}
|
|
608
608
|
var Ue;
|
|
@@ -709,12 +709,12 @@ const zt = {
|
|
|
709
709
|
}, Mt = {
|
|
710
710
|
en: zt,
|
|
711
711
|
hi: $t
|
|
712
|
-
}, ot = st(null),
|
|
712
|
+
}, ot = st(null), Lr = ({
|
|
713
713
|
locale: s,
|
|
714
714
|
children: o
|
|
715
715
|
}) => {
|
|
716
|
-
const
|
|
717
|
-
return /* @__PURE__ */ t.jsx(ot.Provider, { value:
|
|
716
|
+
const u = { locale: s, t: (h) => Mt[s]?.[h] ?? h };
|
|
717
|
+
return /* @__PURE__ */ t.jsx(ot.Provider, { value: u, children: o });
|
|
718
718
|
};
|
|
719
719
|
function ve() {
|
|
720
720
|
return nt(ot);
|
|
@@ -724,17 +724,17 @@ const it = st(void 0), ct = () => {
|
|
|
724
724
|
if (!s)
|
|
725
725
|
throw new Error("useAppContext must be used within AppContextProvider");
|
|
726
726
|
return s;
|
|
727
|
-
},
|
|
727
|
+
}, Or = ({
|
|
728
728
|
children: s
|
|
729
729
|
}) => {
|
|
730
|
-
const [o, v] = R(null), [
|
|
730
|
+
const [o, v] = R(null), [u, h] = R(!1);
|
|
731
731
|
return /* @__PURE__ */ t.jsx(
|
|
732
732
|
it.Provider,
|
|
733
733
|
{
|
|
734
734
|
value: {
|
|
735
735
|
userData: o,
|
|
736
736
|
setUserData: v,
|
|
737
|
-
showSuccess:
|
|
737
|
+
showSuccess: u,
|
|
738
738
|
setShowSuccess: h
|
|
739
739
|
},
|
|
740
740
|
children: s
|
|
@@ -744,41 +744,41 @@ const it = st(void 0), ct = () => {
|
|
|
744
744
|
landingPage: Vt,
|
|
745
745
|
"sf-select": "_sf-select_14yn1_7"
|
|
746
746
|
}, Ut = ({ targetDate: s }) => {
|
|
747
|
-
const v = ve()?.t || ((
|
|
748
|
-
const
|
|
749
|
-
if (
|
|
750
|
-
const
|
|
751
|
-
return { days:
|
|
747
|
+
const v = ve()?.t || ((g) => g), u = () => {
|
|
748
|
+
const c = (typeof s == "string" ? new Date(s) : s).getTime() - Date.now();
|
|
749
|
+
if (c > 0) {
|
|
750
|
+
const S = Math.floor(c / 864e5), d = Math.floor(c % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), j = Math.floor(c % (1e3 * 60 * 60) / (1e3 * 60)), y = Math.floor(c % (1e3 * 60) / 1e3);
|
|
751
|
+
return { days: S, hours: d, minutes: j, seconds: y };
|
|
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
|
-
|
|
756
|
-
_(
|
|
757
|
-
const
|
|
758
|
-
_(
|
|
755
|
+
D(() => {
|
|
756
|
+
_(u());
|
|
757
|
+
const g = setInterval(() => {
|
|
758
|
+
_(u());
|
|
759
759
|
}, 1e3);
|
|
760
|
-
return () => clearInterval(
|
|
760
|
+
return () => clearInterval(g);
|
|
761
761
|
}, [s]);
|
|
762
|
-
const
|
|
762
|
+
const l = (g) => g.toString().padStart(2, "0");
|
|
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:
|
|
766
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: l(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:
|
|
771
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: l(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:
|
|
776
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: l(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:
|
|
781
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: l(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
|
] }),
|
|
@@ -870,36 +870,36 @@ const it = st(void 0), ct = () => {
|
|
|
870
870
|
// { code: "+975", country: "Bhutan" },
|
|
871
871
|
// { code: "+976", country: "Mongolia" },
|
|
872
872
|
// { code: "+977", country: "Nepal" },
|
|
873
|
-
],
|
|
873
|
+
], Dr = ({
|
|
874
874
|
targetDate: s,
|
|
875
875
|
onSubmit: o,
|
|
876
876
|
isGlobal: v = !1,
|
|
877
|
-
analytics:
|
|
877
|
+
analytics: u,
|
|
878
878
|
showToast: h
|
|
879
879
|
}) => {
|
|
880
|
-
const
|
|
881
|
-
(N) => N.code ===
|
|
880
|
+
const l = ve()?.t || ((N) => N), [g, c] = R(v ? "+1" : "+91"), [S, d] = R(!1), { setUserData: j, setShowSuccess: y } = ct(), [k, F] = R(""), [E, A] = R(""), B = $(!1), T = `${g}-${E}`, J = Je.find(
|
|
881
|
+
(N) => N.code === g
|
|
882
882
|
);
|
|
883
|
-
|
|
884
|
-
!
|
|
885
|
-
}, [
|
|
883
|
+
D(() => {
|
|
884
|
+
!B.current && u?.trackLandingPageViewed && (u.trackLandingPageViewed(), B.current = !0);
|
|
885
|
+
}, [u]);
|
|
886
886
|
const K = (N) => {
|
|
887
|
-
if (N.preventDefault(), !
|
|
887
|
+
if (N.preventDefault(), !k || k.trim() === "") {
|
|
888
888
|
h?.("error", "Please enter your name");
|
|
889
889
|
return;
|
|
890
890
|
}
|
|
891
|
-
if (!
|
|
891
|
+
if (!E || E.length !== 10) {
|
|
892
892
|
h?.("error", "Please enter a valid 10-digit WhatsApp number");
|
|
893
893
|
return;
|
|
894
894
|
}
|
|
895
|
-
|
|
895
|
+
u?.trackSubmitClicked?.(), j({ name: k, fullPhoneNumber: T }), h?.("success", "Registration Successful"), y(!0), o?.({ name: k, fullPhoneNumber: T });
|
|
896
896
|
};
|
|
897
897
|
return /* @__PURE__ */ t.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ t.jsxs("div", { className: Ye.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
|
{
|
|
901
901
|
src: "https://srm-cdn.a4b.io/yoda/1774445719594.webp",
|
|
902
|
-
alt:
|
|
902
|
+
alt: l("eventTitle"),
|
|
903
903
|
className: "w-full max-w-2xl h-auto max-h-[600px] object-contain"
|
|
904
904
|
}
|
|
905
905
|
) }),
|
|
@@ -910,54 +910,54 @@ const it = st(void 0), ct = () => {
|
|
|
910
910
|
"img",
|
|
911
911
|
{
|
|
912
912
|
src: "https://srm-cdn.a4b.io/yoda/1774092358685.png",
|
|
913
|
-
alt:
|
|
913
|
+
alt: l("panditName"),
|
|
914
914
|
className: "w-[88px] h-[88px] rounded-full object-cover"
|
|
915
915
|
}
|
|
916
916
|
) }),
|
|
917
917
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
|
918
|
-
/* @__PURE__ */ t.jsx("h3", { className: "text-[#D2461E] text-[20px] font-bold leading-tight", children:
|
|
919
|
-
/* @__PURE__ */ t.jsx("p", { className: "text-[#8B7355] text-[14px] mt-1", children:
|
|
918
|
+
/* @__PURE__ */ t.jsx("h3", { className: "text-[#D2461E] text-[20px] font-bold leading-tight", children: l("panditName") }),
|
|
919
|
+
/* @__PURE__ */ t.jsx("p", { className: "text-[#8B7355] text-[14px] mt-1", children: l("panditCredentials") })
|
|
920
920
|
] })
|
|
921
921
|
] }),
|
|
922
922
|
/* @__PURE__ */ t.jsx("hr", { className: "w-[75%] mx-auto border-t-[0.5px] border-[#907250] mt-2" })
|
|
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
|
-
/* @__PURE__ */ t.jsx("p", { className: "text-center text-[#6F5642] text-[14px] mb-6", children:
|
|
925
|
+
/* @__PURE__ */ t.jsx("p", { className: "text-center text-[#6F5642] text-[14px] mb-6", children: l("formTitle") }),
|
|
926
926
|
/* @__PURE__ */ t.jsxs("form", { onSubmit: K, className: "space-y-4", children: [
|
|
927
927
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
|
928
|
-
/* @__PURE__ */ t.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children:
|
|
928
|
+
/* @__PURE__ */ t.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children: l("nameLabel") }),
|
|
929
929
|
/* @__PURE__ */ t.jsx(
|
|
930
930
|
"input",
|
|
931
931
|
{
|
|
932
932
|
type: "text",
|
|
933
|
-
value:
|
|
933
|
+
value: k,
|
|
934
934
|
onChange: (N) => {
|
|
935
|
-
|
|
935
|
+
F(N.target.value), N.target.value && !k && u?.trackNameFilled?.();
|
|
936
936
|
},
|
|
937
|
-
onFocus: () =>
|
|
938
|
-
placeholder:
|
|
937
|
+
onFocus: () => u?.trackNameClicked?.(),
|
|
938
|
+
placeholder: l("namePlaceholder"),
|
|
939
939
|
className: "w-full px-4 py-3 bg-[#F9F3EF] border border-[#ECD4C2] rounded-lg text-[#5C4A3A] placeholder:text-[#BCA491] focus:outline-none focus:ring-2 focus:ring-[#C84532]/20 focus:border-[#C84532]",
|
|
940
940
|
required: !0
|
|
941
941
|
}
|
|
942
942
|
)
|
|
943
943
|
] }),
|
|
944
944
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
|
945
|
-
/* @__PURE__ */ t.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children:
|
|
945
|
+
/* @__PURE__ */ t.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children: l("whatsappLabel") }),
|
|
946
946
|
/* @__PURE__ */ t.jsxs("div", { className: "flex gap-2", children: [
|
|
947
947
|
/* @__PURE__ */ t.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ t.jsxs("div", { className: "relative w-20", children: [
|
|
948
948
|
/* @__PURE__ */ t.jsx(
|
|
949
949
|
"div",
|
|
950
950
|
{
|
|
951
|
-
onClick: () =>
|
|
951
|
+
onClick: () => d(!S),
|
|
952
952
|
className: `${Ye["sf-select"]} text-center text-[#614938] bg-[#F9F3EF] border-[#ECD4C2]`,
|
|
953
953
|
children: J?.code
|
|
954
954
|
}
|
|
955
955
|
),
|
|
956
|
-
|
|
956
|
+
S && /* @__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: Je.map((N) => /* @__PURE__ */ t.jsxs(
|
|
957
957
|
"div",
|
|
958
958
|
{
|
|
959
959
|
onClick: () => {
|
|
960
|
-
|
|
960
|
+
c(N.code), d(!1);
|
|
961
961
|
},
|
|
962
962
|
className: "px-3 py-2 hover:bg-gray-100 cursor-pointer text-[10px] whitespace-nowrap",
|
|
963
963
|
children: [
|
|
@@ -974,13 +974,13 @@ const it = st(void 0), ct = () => {
|
|
|
974
974
|
"input",
|
|
975
975
|
{
|
|
976
976
|
type: "tel",
|
|
977
|
-
value:
|
|
977
|
+
value: E,
|
|
978
978
|
onChange: (N) => {
|
|
979
979
|
const W = N.target.value.replace(/\D/g, "");
|
|
980
|
-
|
|
980
|
+
A(W), W && !E && u?.trackPhoneFilled?.();
|
|
981
981
|
},
|
|
982
|
-
onFocus: () =>
|
|
983
|
-
placeholder:
|
|
982
|
+
onFocus: () => u?.trackPhoneClicked?.(),
|
|
983
|
+
placeholder: l("whatsappPlaceholder"),
|
|
984
984
|
className: "flex-1 px-4 py-3 bg-[#F9F3EF] border border-[#ECD4C2] rounded-lg text-[#5C4A3A] placeholder:text-[#BCA491] focus:outline-none focus:ring-2 focus:ring-[#C84532]/20 focus:border-[#C84532]",
|
|
985
985
|
maxLength: 10,
|
|
986
986
|
required: !0
|
|
@@ -993,25 +993,25 @@ const it = st(void 0), ct = () => {
|
|
|
993
993
|
{
|
|
994
994
|
type: "submit",
|
|
995
995
|
className: "w-full bg-[#E34331] text-white text-[16px] font-semibold py-4 rounded-lg hover:bg-[#C83728] transition-colors shadow-lg",
|
|
996
|
-
children:
|
|
996
|
+
children: l("ctaButton")
|
|
997
997
|
}
|
|
998
998
|
)
|
|
999
999
|
] }),
|
|
1000
|
-
/* @__PURE__ */ t.jsx("p", { className: "text-center text-[#6F5642] text-[12px] mt-4 leading-relaxed", children:
|
|
1000
|
+
/* @__PURE__ */ t.jsx("p", { className: "text-center text-[#6F5642] text-[12px] mt-4 leading-relaxed", children: l("formDisclaimer") }),
|
|
1001
1001
|
/* @__PURE__ */ t.jsx("hr", { className: "w-[75%] mx-auto border-t-[0.5px] border-[#907250] mt-6 px-8" })
|
|
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
|
-
/* @__PURE__ */ t.jsx("h2", { className: "text-[#614938] text-[18px] font-bold mb-6", children:
|
|
1004
|
+
/* @__PURE__ */ t.jsx("h2", { className: "text-[#614938] text-[18px] font-bold mb-6", children: l("expectTitle") }),
|
|
1005
1005
|
/* @__PURE__ */ t.jsx("div", { className: "space-y-4", children: Yt.map((N, W) => /* @__PURE__ */ t.jsxs("div", { className: "flex items-start gap-4", children: [
|
|
1006
1006
|
/* @__PURE__ */ t.jsx("img", { src: N.icon, alt: "", className: "w-10 h-10" }),
|
|
1007
1007
|
/* @__PURE__ */ t.jsxs("div", { className: "flex-1", children: [
|
|
1008
|
-
/* @__PURE__ */ t.jsx("h3", { className: "text-[#614938] text-[14px] font-semibold", children:
|
|
1009
|
-
/* @__PURE__ */ t.jsx("p", { className: "text-[#907250] text-[12px]", children:
|
|
1008
|
+
/* @__PURE__ */ t.jsx("h3", { className: "text-[#614938] text-[14px] font-semibold", children: l(N.titleKey) }),
|
|
1009
|
+
/* @__PURE__ */ t.jsx("p", { className: "text-[#907250] text-[12px]", children: l(N.descKey) })
|
|
1010
1010
|
] })
|
|
1011
1011
|
] }, W)) })
|
|
1012
1012
|
] }) })
|
|
1013
1013
|
] }) });
|
|
1014
|
-
}, Jt = "_successPage_8t8j5_1", Kt = "_profileImageContainer_8t8j5_7", qt = "_profileImage_8t8j5_7", Xt = "_greeting_8t8j5_19", Gt = "_jaiShreeRam_8t8j5_23", Zt = "_userName_8t8j5_29", Qt = "_registrationCard_8t8j5_34",
|
|
1014
|
+
}, Jt = "_successPage_8t8j5_1", Kt = "_profileImageContainer_8t8j5_7", qt = "_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", oa = "_countdown_8t8j5_84", ia = "_nextSteps_8t8j5_90", ca = "_nextStepsTitle_8t8j5_96", la = "_stepsList_8t8j5_101", da = "_step_8t8j5_101", ua = "_stepNumber_8t8j5_109", pa = "_stepText_8t8j5_113", w = {
|
|
1015
1015
|
successPage: Jt,
|
|
1016
1016
|
profileImageContainer: Kt,
|
|
1017
1017
|
profileImage: qt,
|
|
@@ -1019,43 +1019,43 @@ const it = st(void 0), ct = () => {
|
|
|
1019
1019
|
jaiShreeRam: Gt,
|
|
1020
1020
|
userName: Zt,
|
|
1021
1021
|
registrationCard: Qt,
|
|
1022
|
-
registeredText:
|
|
1023
|
-
eventName:
|
|
1024
|
-
eventDetails:
|
|
1025
|
-
whatsappButton:
|
|
1026
|
-
redirectInfo:
|
|
1027
|
-
redirectText:
|
|
1028
|
-
countdown:
|
|
1029
|
-
nextSteps:
|
|
1030
|
-
nextStepsTitle:
|
|
1031
|
-
stepsList:
|
|
1032
|
-
step:
|
|
1033
|
-
stepNumber:
|
|
1034
|
-
stepText:
|
|
1035
|
-
},
|
|
1022
|
+
registeredText: ea,
|
|
1023
|
+
eventName: ta,
|
|
1024
|
+
eventDetails: aa,
|
|
1025
|
+
whatsappButton: ra,
|
|
1026
|
+
redirectInfo: na,
|
|
1027
|
+
redirectText: sa,
|
|
1028
|
+
countdown: oa,
|
|
1029
|
+
nextSteps: ia,
|
|
1030
|
+
nextStepsTitle: ca,
|
|
1031
|
+
stepsList: la,
|
|
1032
|
+
step: da,
|
|
1033
|
+
stepNumber: ua,
|
|
1034
|
+
stepText: pa
|
|
1035
|
+
}, ma = "918151810300", fa = "I'm interested in the Rasrajji Hanuman Jayanti Path", Ke = `https://wa.me/${ma}?text=${encodeURIComponent(fa)}`, Fr = ({
|
|
1036
1036
|
userName: s = "Rahul",
|
|
1037
1037
|
eventName: o = "Hanuman Jayanti Maha Path",
|
|
1038
1038
|
eventDate: v = "2nd April",
|
|
1039
|
-
eventTime:
|
|
1039
|
+
eventTime: u = "9:00 AM onwards",
|
|
1040
1040
|
onWhatsAppClick: h,
|
|
1041
1041
|
redirectSeconds: _ = 10,
|
|
1042
|
-
analytics:
|
|
1043
|
-
showToast:
|
|
1044
|
-
disableRedirect:
|
|
1042
|
+
analytics: l,
|
|
1043
|
+
showToast: g,
|
|
1044
|
+
disableRedirect: c = !1
|
|
1045
1045
|
}) => {
|
|
1046
|
-
const
|
|
1047
|
-
return
|
|
1048
|
-
!
|
|
1049
|
-
name:
|
|
1050
|
-
phone:
|
|
1051
|
-
}),
|
|
1052
|
-
}, [
|
|
1053
|
-
if (!
|
|
1046
|
+
const d = ve()?.t || ((A) => A), { userData: j } = ct(), [y, k] = R(_), F = $(!1), E = j?.name || s;
|
|
1047
|
+
return D(() => {
|
|
1048
|
+
!F.current && l?.trackSuccessPageViewed && (l.trackSuccessPageViewed({
|
|
1049
|
+
name: j?.name,
|
|
1050
|
+
phone: j?.fullPhoneNumber
|
|
1051
|
+
}), F.current = !0);
|
|
1052
|
+
}, [l, j?.name, j?.fullPhoneNumber]), D(() => {
|
|
1053
|
+
if (!c)
|
|
1054
1054
|
if (y > 0) {
|
|
1055
|
-
const
|
|
1056
|
-
return () => clearTimeout(
|
|
1055
|
+
const A = setTimeout(() => k(y - 1), 1e3);
|
|
1056
|
+
return () => clearTimeout(A);
|
|
1057
1057
|
} else y === 0 && (window.location.href = Ke);
|
|
1058
|
-
}, [y,
|
|
1058
|
+
}, [y, c]), /* @__PURE__ */ t.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ t.jsxs("div", { className: w.successPage, children: [
|
|
1059
1059
|
/* @__PURE__ */ t.jsx("div", { className: w.profileImageContainer, children: /* @__PURE__ */ t.jsx(
|
|
1060
1060
|
"img",
|
|
1061
1061
|
{
|
|
@@ -1068,21 +1068,21 @@ const it = st(void 0), ct = () => {
|
|
|
1068
1068
|
}
|
|
1069
1069
|
) }),
|
|
1070
1070
|
/* @__PURE__ */ t.jsxs("div", { className: w.greeting, children: [
|
|
1071
|
-
/* @__PURE__ */ t.jsx("p", { className: w.jaiShreeRam, children:
|
|
1071
|
+
/* @__PURE__ */ t.jsx("p", { className: w.jaiShreeRam, children: d("jaiShreeRam") }),
|
|
1072
1072
|
/* @__PURE__ */ t.jsxs("h1", { className: w.userName, children: [
|
|
1073
|
-
|
|
1073
|
+
d("namaste"),
|
|
1074
1074
|
", ",
|
|
1075
|
-
|
|
1075
|
+
E,
|
|
1076
1076
|
" Ji"
|
|
1077
1077
|
] })
|
|
1078
1078
|
] }),
|
|
1079
1079
|
/* @__PURE__ */ t.jsxs("div", { className: w.registrationCard, children: [
|
|
1080
|
-
/* @__PURE__ */ t.jsx("p", { className: w.registeredText, children:
|
|
1080
|
+
/* @__PURE__ */ t.jsx("p", { className: w.registeredText, children: d("registeredFor") }),
|
|
1081
1081
|
/* @__PURE__ */ t.jsx("h2", { className: w.eventName, children: o }),
|
|
1082
1082
|
/* @__PURE__ */ t.jsxs("p", { className: w.eventDetails, children: [
|
|
1083
1083
|
v,
|
|
1084
1084
|
" · ",
|
|
1085
|
-
|
|
1085
|
+
u
|
|
1086
1086
|
] })
|
|
1087
1087
|
] }),
|
|
1088
1088
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1090,105 +1090,105 @@ const it = st(void 0), ct = () => {
|
|
|
1090
1090
|
{
|
|
1091
1091
|
className: w.whatsappButton,
|
|
1092
1092
|
onClick: () => {
|
|
1093
|
-
|
|
1093
|
+
l?.trackWhatsappBtnClicked?.(), g?.("success", "Redirecting to WhatsApp..."), setTimeout(() => {
|
|
1094
1094
|
window.location.href = Ke;
|
|
1095
1095
|
}, 500), h?.();
|
|
1096
1096
|
},
|
|
1097
1097
|
type: "button",
|
|
1098
|
-
children:
|
|
1098
|
+
children: d("sendlinkonwhatsapp")
|
|
1099
1099
|
}
|
|
1100
1100
|
),
|
|
1101
1101
|
/* @__PURE__ */ t.jsxs("div", { className: w.redirectInfo, children: [
|
|
1102
|
-
/* @__PURE__ */ t.jsx("p", { className: w.redirectText, children:
|
|
1102
|
+
/* @__PURE__ */ t.jsx("p", { className: w.redirectText, children: d("redirectingIn") }),
|
|
1103
1103
|
/* @__PURE__ */ t.jsxs("p", { className: w.countdown, children: [
|
|
1104
1104
|
y.toString().padStart(2, "0"),
|
|
1105
1105
|
" ",
|
|
1106
|
-
|
|
1106
|
+
d("seconds")
|
|
1107
1107
|
] })
|
|
1108
1108
|
] }),
|
|
1109
1109
|
/* @__PURE__ */ t.jsxs("div", { className: w.nextSteps, children: [
|
|
1110
|
-
/* @__PURE__ */ t.jsx("h3", { className: w.nextStepsTitle, children:
|
|
1110
|
+
/* @__PURE__ */ t.jsx("h3", { className: w.nextStepsTitle, children: d("whatHappensNext") }),
|
|
1111
1111
|
/* @__PURE__ */ t.jsxs("div", { className: w.stepsList, children: [
|
|
1112
1112
|
/* @__PURE__ */ t.jsxs("div", { className: w.step, children: [
|
|
1113
1113
|
/* @__PURE__ */ t.jsx("span", { className: w.stepNumber, children: "1" }),
|
|
1114
|
-
/* @__PURE__ */ t.jsx("p", { className: w.stepText, children:
|
|
1114
|
+
/* @__PURE__ */ t.jsx("p", { className: w.stepText, children: d("step1") })
|
|
1115
1115
|
] }),
|
|
1116
1116
|
/* @__PURE__ */ t.jsxs("div", { className: w.step, children: [
|
|
1117
1117
|
/* @__PURE__ */ t.jsx("span", { className: w.stepNumber, children: "2" }),
|
|
1118
|
-
/* @__PURE__ */ t.jsx("p", { className: w.stepText, children:
|
|
1118
|
+
/* @__PURE__ */ t.jsx("p", { className: w.stepText, children: d("step2") })
|
|
1119
1119
|
] }),
|
|
1120
1120
|
/* @__PURE__ */ t.jsxs("div", { className: w.step, children: [
|
|
1121
1121
|
/* @__PURE__ */ t.jsx("span", { className: w.stepNumber, children: "3" }),
|
|
1122
|
-
/* @__PURE__ */ t.jsx("p", { className: w.stepText, children:
|
|
1122
|
+
/* @__PURE__ */ t.jsx("p", { className: w.stepText, children: d("step3") })
|
|
1123
1123
|
] })
|
|
1124
1124
|
] })
|
|
1125
1125
|
] })
|
|
1126
1126
|
] }) });
|
|
1127
|
-
},
|
|
1128
|
-
container:
|
|
1129
|
-
video:
|
|
1130
|
-
videoFullscreenWithBelowBanner:
|
|
1131
|
-
banner:
|
|
1132
|
-
bannerCard:
|
|
1133
|
-
bannerTitle:
|
|
1134
|
-
landscapeHeader:
|
|
1135
|
-
scroll:
|
|
1136
|
-
landscapeScroll:
|
|
1137
|
-
card:
|
|
1138
|
-
divider:
|
|
1139
|
-
chat:
|
|
1140
|
-
iframe:
|
|
1141
|
-
fullscreenBtn:
|
|
1142
|
-
chatToggleBtn:
|
|
1143
|
-
chatToggleBtnText:
|
|
1144
|
-
fullscreenChatPanel:
|
|
1145
|
-
fullscreenChatCloseBtn:
|
|
1146
|
-
chatLoader:
|
|
1147
|
-
chatLoaderCompact:
|
|
1148
|
-
spinner:
|
|
1149
|
-
chatLoaderText:
|
|
1150
|
-
imageWrapper:
|
|
1151
|
-
image:
|
|
1152
|
-
addBtn:
|
|
1153
|
-
title:
|
|
1154
|
-
price:
|
|
1155
|
-
priceRow: $
|
|
1156
|
-
originalPrice:
|
|
1157
|
-
discountBadge:
|
|
1158
|
-
landscapeCard:
|
|
1159
|
-
landscapeImageWrapper:
|
|
1160
|
-
landscapeImage:
|
|
1161
|
-
landscapeContent:
|
|
1162
|
-
landscapeTitle:
|
|
1163
|
-
landscapePriceRow:
|
|
1164
|
-
landscapePrice:
|
|
1165
|
-
landscapeOriginalPrice:
|
|
1166
|
-
landscapeDiscount:
|
|
1167
|
-
landscapeAdd:
|
|
1168
|
-
carousel:
|
|
1169
|
-
carouselTrack:
|
|
1170
|
-
carouselSlide:
|
|
1171
|
-
carouselArrow:
|
|
1172
|
-
carouselArrowLeft:
|
|
1173
|
-
carouselArrowRight:
|
|
1174
|
-
pujaBanner:
|
|
1175
|
-
pujaWrapperVertical:
|
|
1176
|
-
pujaCardVertical:
|
|
1177
|
-
pujaImage:
|
|
1178
|
-
pujaContent:
|
|
1179
|
-
pujaTitle:
|
|
1180
|
-
pujaSub:
|
|
1181
|
-
locationIcon:
|
|
1182
|
-
pujaTrustmakers:
|
|
1183
|
-
pujaCTA:
|
|
1184
|
-
pujaCardHorizontal:
|
|
1185
|
-
pujaImageHorizontal:
|
|
1186
|
-
pujaContentHorizontal:
|
|
1187
|
-
pujaPinkText:
|
|
1188
|
-
pujaPinkTextHorizontal:
|
|
1189
|
-
pujaTitleHorizontal:
|
|
1190
|
-
pujaSubHorizontal:
|
|
1191
|
-
pujaCTAHorizontal:
|
|
1127
|
+
}, ha = "_container_1m54o_2", xa = "_video_1m54o_24", _a = "_videoFullscreenWithBelowBanner_1m54o_36", ga = "_banner_1m54o_43", va = "_bannerCard_1m54o_60", ja = "_bannerTitle_1m54o_69", ba = "_landscapeHeader_1m54o_80", wa = "_scroll_1m54o_91", ya = "_landscapeScroll_1m54o_99", Na = "_card_1m54o_106", Ca = "_divider_1m54o_122", Ta = "_chat_1m54o_131", Pa = "_iframe_1m54o_137", Sa = "_fullscreenBtn_1m54o_144", Ea = "_chatToggleBtn_1m54o_182", ka = "_chatToggleBtnText_1m54o_235", Ra = "_fullscreenChatPanel_1m54o_242", Ia = "_fullscreenChatCloseBtn_1m54o_255", Aa = "_chatLoader_1m54o_284", La = "_chatLoaderCompact_1m54o_297", Oa = "_spinner_1m54o_301", Da = "_chatLoaderText_1m54o_315", Fa = "_imageWrapper_1m54o_330", Ba = "_image_1m54o_330", Ha = "_addBtn_1m54o_342", Wa = "_title_1m54o_360", za = "_price_1m54o_367", $a = "_priceRow_1m54o_373", Ma = "_originalPrice_1m54o_381", Va = "_discountBadge_1m54o_387", Ua = "_landscapeCard_1m54o_397", Ya = "_landscapeImageWrapper_1m54o_417", Ja = "_landscapeImage_1m54o_417", Ka = "_landscapeContent_1m54o_430", qa = "_landscapeTitle_1m54o_437", Xa = "_landscapePriceRow_1m54o_446", Ga = "_landscapePrice_1m54o_446", Za = "_landscapeOriginalPrice_1m54o_459", Qa = "_landscapeDiscount_1m54o_465", er = "_landscapeAdd_1m54o_475", tr = "_carousel_1m54o_546", ar = "_carouselTrack_1m54o_576", rr = "_carouselSlide_1m54o_582", nr = "_carouselArrow_1m54o_590", sr = "_carouselArrowLeft_1m54o_615", or = "_carouselArrowRight_1m54o_619", ir = "_pujaBanner_1m54o_649", cr = "_pujaWrapperVertical_1m54o_659", lr = "_pujaCardVertical_1m54o_676", dr = "_pujaImage_1m54o_707", ur = "_pujaContent_1m54o_715", pr = "_pujaTitle_1m54o_721", mr = "_pujaSub_1m54o_733", fr = "_locationIcon_1m54o_745", hr = "_pujaTrustmakers_1m54o_751", xr = "_pujaCTA_1m54o_760", _r = "_pujaCardHorizontal_1m54o_776", gr = "_pujaImageHorizontal_1m54o_793", vr = "_pujaContentHorizontal_1m54o_801", jr = "_pujaPinkText_1m54o_809", br = "_pujaPinkTextHorizontal_1m54o_820", wr = "_pujaTitleHorizontal_1m54o_831", yr = "_pujaSubHorizontal_1m54o_839", Nr = "_pujaCTAHorizontal_1m54o_849", r = {
|
|
1128
|
+
container: ha,
|
|
1129
|
+
video: xa,
|
|
1130
|
+
videoFullscreenWithBelowBanner: _a,
|
|
1131
|
+
banner: ga,
|
|
1132
|
+
bannerCard: va,
|
|
1133
|
+
bannerTitle: ja,
|
|
1134
|
+
landscapeHeader: ba,
|
|
1135
|
+
scroll: wa,
|
|
1136
|
+
landscapeScroll: ya,
|
|
1137
|
+
card: Na,
|
|
1138
|
+
divider: Ca,
|
|
1139
|
+
chat: Ta,
|
|
1140
|
+
iframe: Pa,
|
|
1141
|
+
fullscreenBtn: Sa,
|
|
1142
|
+
chatToggleBtn: Ea,
|
|
1143
|
+
chatToggleBtnText: ka,
|
|
1144
|
+
fullscreenChatPanel: Ra,
|
|
1145
|
+
fullscreenChatCloseBtn: Ia,
|
|
1146
|
+
chatLoader: Aa,
|
|
1147
|
+
chatLoaderCompact: La,
|
|
1148
|
+
spinner: Oa,
|
|
1149
|
+
chatLoaderText: Da,
|
|
1150
|
+
imageWrapper: Fa,
|
|
1151
|
+
image: Ba,
|
|
1152
|
+
addBtn: Ha,
|
|
1153
|
+
title: Wa,
|
|
1154
|
+
price: za,
|
|
1155
|
+
priceRow: $a,
|
|
1156
|
+
originalPrice: Ma,
|
|
1157
|
+
discountBadge: Va,
|
|
1158
|
+
landscapeCard: Ua,
|
|
1159
|
+
landscapeImageWrapper: Ya,
|
|
1160
|
+
landscapeImage: Ja,
|
|
1161
|
+
landscapeContent: Ka,
|
|
1162
|
+
landscapeTitle: qa,
|
|
1163
|
+
landscapePriceRow: Xa,
|
|
1164
|
+
landscapePrice: Ga,
|
|
1165
|
+
landscapeOriginalPrice: Za,
|
|
1166
|
+
landscapeDiscount: Qa,
|
|
1167
|
+
landscapeAdd: er,
|
|
1168
|
+
carousel: tr,
|
|
1169
|
+
carouselTrack: ar,
|
|
1170
|
+
carouselSlide: rr,
|
|
1171
|
+
carouselArrow: nr,
|
|
1172
|
+
carouselArrowLeft: sr,
|
|
1173
|
+
carouselArrowRight: or,
|
|
1174
|
+
pujaBanner: ir,
|
|
1175
|
+
pujaWrapperVertical: cr,
|
|
1176
|
+
pujaCardVertical: lr,
|
|
1177
|
+
pujaImage: dr,
|
|
1178
|
+
pujaContent: ur,
|
|
1179
|
+
pujaTitle: pr,
|
|
1180
|
+
pujaSub: mr,
|
|
1181
|
+
locationIcon: fr,
|
|
1182
|
+
pujaTrustmakers: hr,
|
|
1183
|
+
pujaCTA: xr,
|
|
1184
|
+
pujaCardHorizontal: _r,
|
|
1185
|
+
pujaImageHorizontal: gr,
|
|
1186
|
+
pujaContentHorizontal: vr,
|
|
1187
|
+
pujaPinkText: jr,
|
|
1188
|
+
pujaPinkTextHorizontal: br,
|
|
1189
|
+
pujaTitleHorizontal: wr,
|
|
1190
|
+
pujaSubHorizontal: yr,
|
|
1191
|
+
pujaCTAHorizontal: Nr
|
|
1192
1192
|
}, qe = "hanuman-live-sindoor", Xe = "hanuman-live-peda", Ge = "hanuman-live-sindoor-peda", U = {
|
|
1193
1193
|
sindoor: "https://rzp.io/rzp/Pb7xgDj",
|
|
1194
1194
|
peda: "https://rzp.io/rzp/LfL86khp",
|
|
@@ -1261,42 +1261,42 @@ const it = st(void 0), ct = () => {
|
|
|
1261
1261
|
} catch {
|
|
1262
1262
|
return o.replace(/^https?:\/\//i, "").replace(/\/$/, "").replace(/:\d+$/, "");
|
|
1263
1263
|
}
|
|
1264
|
-
},
|
|
1264
|
+
}, Br = ({
|
|
1265
1265
|
videoId: s,
|
|
1266
1266
|
title: o = "Live Stream",
|
|
1267
1267
|
chatHost: v,
|
|
1268
|
-
isGlobal:
|
|
1268
|
+
isGlobal: u = !1,
|
|
1269
1269
|
onOfferingClick: h,
|
|
1270
1270
|
onPujaImpression: _,
|
|
1271
|
-
onPujaClick:
|
|
1271
|
+
onPujaClick: l
|
|
1272
1272
|
}) => {
|
|
1273
|
-
const
|
|
1273
|
+
const g = $(null), [c, S] = R(!1), [d, j] = R(!1), [y, k] = R(!0), [F, E] = R(!1), [A, B] = R(!1), [T, J] = R(""), K = typeof window < "u" ? window.location.origin : "https://www.srimandir.com", N = Qe(T) || Qe(v) || "www.srimandir.com", W = `https://www.youtube-nocookie.com/embed/${s}?fs=0&modestbranding=1&rel=0&playsinline=1&disablekb=1&iv_load_policy=3&origin=${encodeURIComponent(K)}`, te = `https://www.youtube.com/live_chat?v=${s}&embed_domain=${encodeURIComponent(
|
|
1274
1274
|
N
|
|
1275
1275
|
)}`, de = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent);
|
|
1276
|
-
|
|
1276
|
+
D(() => {
|
|
1277
1277
|
const m = () => {
|
|
1278
|
-
|
|
1278
|
+
B(window.innerWidth > window.innerHeight);
|
|
1279
1279
|
};
|
|
1280
1280
|
return m(), window.addEventListener("resize", m), () => window.removeEventListener("resize", m);
|
|
1281
|
-
}, []),
|
|
1281
|
+
}, []), D(() => {
|
|
1282
1282
|
typeof window < "u" && J(window.location.hostname);
|
|
1283
1283
|
}, []);
|
|
1284
|
-
const
|
|
1285
|
-
const m =
|
|
1284
|
+
const ae = async () => {
|
|
1285
|
+
const m = g.current;
|
|
1286
1286
|
if (m?.requestFullscreen)
|
|
1287
1287
|
try {
|
|
1288
1288
|
await m.requestFullscreen();
|
|
1289
|
-
} catch (
|
|
1290
|
-
console.error("Fullscreen error:",
|
|
1289
|
+
} catch (L) {
|
|
1290
|
+
console.error("Fullscreen error:", L);
|
|
1291
1291
|
}
|
|
1292
1292
|
try {
|
|
1293
|
-
const
|
|
1294
|
-
!de &&
|
|
1295
|
-
} catch (
|
|
1296
|
-
console.error("Orientation lock error:",
|
|
1293
|
+
const L = screen.orientation;
|
|
1294
|
+
!de && L?.lock && await L.lock("landscape");
|
|
1295
|
+
} catch (L) {
|
|
1296
|
+
console.error("Orientation lock error:", L);
|
|
1297
1297
|
}
|
|
1298
|
-
|
|
1299
|
-
},
|
|
1298
|
+
S(!0);
|
|
1299
|
+
}, re = async () => {
|
|
1300
1300
|
if (document.fullscreenElement && document.exitFullscreen)
|
|
1301
1301
|
try {
|
|
1302
1302
|
await document.exitFullscreen();
|
|
@@ -1309,31 +1309,31 @@ const it = st(void 0), ct = () => {
|
|
|
1309
1309
|
} catch (m) {
|
|
1310
1310
|
console.error("Orientation unlock error:", m);
|
|
1311
1311
|
}
|
|
1312
|
-
|
|
1312
|
+
S(!1);
|
|
1313
1313
|
};
|
|
1314
|
-
|
|
1314
|
+
D(() => {
|
|
1315
1315
|
const m = () => {
|
|
1316
|
-
document.fullscreenElement ||
|
|
1316
|
+
document.fullscreenElement || S(!1);
|
|
1317
1317
|
};
|
|
1318
1318
|
return document.addEventListener("fullscreenchange", m), () => document.removeEventListener("fullscreenchange", m);
|
|
1319
|
-
}, []),
|
|
1320
|
-
|
|
1321
|
-
}, [
|
|
1322
|
-
|
|
1323
|
-
}, [
|
|
1319
|
+
}, []), D(() => {
|
|
1320
|
+
c || j(!1);
|
|
1321
|
+
}, [c]), D(() => {
|
|
1322
|
+
d && E(!0);
|
|
1323
|
+
}, [d]);
|
|
1324
1324
|
const ne = async (m) => {
|
|
1325
|
-
|
|
1325
|
+
c && document.fullscreenElement && await re(), h && await h(m);
|
|
1326
1326
|
}, q = () => {
|
|
1327
1327
|
const m = new URL(
|
|
1328
|
-
"https://www.
|
|
1328
|
+
"https://www.srimandir.com/epuja/5100-hanuman-chalisa-51000-sankat-mochan-hanumanashtak-shani-tel-abhishek-mahapuja-2nd-april-2026"
|
|
1329
1329
|
);
|
|
1330
|
-
m.searchParams.set("utm_source", "youtube"), m.searchParams.set("utm_campaign", "rasrajji"), m.searchParams.set("utm_medium", "youtubebanner"), typeof window < "u" && (
|
|
1330
|
+
m.searchParams.set("utm_source", "youtube"), m.searchParams.set("utm_campaign", "rasrajji"), m.searchParams.set("utm_medium", "youtubebanner"), typeof window < "u" && (l?.({ orientation: A ? "horizontal" : "vertical" }), window.location.href = m.toString());
|
|
1331
1331
|
};
|
|
1332
|
-
return /* @__PURE__ */ t.jsxs("div", { ref:
|
|
1332
|
+
return /* @__PURE__ */ t.jsxs("div", { ref: g, className: r.container, children: [
|
|
1333
1333
|
/* @__PURE__ */ t.jsxs(
|
|
1334
1334
|
"div",
|
|
1335
1335
|
{
|
|
1336
|
-
className:
|
|
1336
|
+
className: c ? r.videoFullscreenWithBelowBanner : r.video,
|
|
1337
1337
|
children: [
|
|
1338
1338
|
/* @__PURE__ */ t.jsx(
|
|
1339
1339
|
"iframe",
|
|
@@ -1344,23 +1344,23 @@ const it = st(void 0), ct = () => {
|
|
|
1344
1344
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
1345
1345
|
sandbox: "allow-scripts allow-same-origin allow-presentation",
|
|
1346
1346
|
referrerPolicy: "strict-origin-when-cross-origin",
|
|
1347
|
-
className:
|
|
1347
|
+
className: r.iframe
|
|
1348
1348
|
}
|
|
1349
1349
|
),
|
|
1350
1350
|
/* @__PURE__ */ t.jsx(
|
|
1351
1351
|
"button",
|
|
1352
1352
|
{
|
|
1353
|
-
className:
|
|
1354
|
-
onClick:
|
|
1355
|
-
"aria-label":
|
|
1356
|
-
children:
|
|
1353
|
+
className: r.fullscreenBtn,
|
|
1354
|
+
onClick: c ? re : ae,
|
|
1355
|
+
"aria-label": c ? "Exit Fullscreen" : "Enter Fullscreen",
|
|
1356
|
+
children: c ? "⤡" : "⤢"
|
|
1357
1357
|
}
|
|
1358
1358
|
),
|
|
1359
|
-
|
|
1359
|
+
c && !d && /* @__PURE__ */ t.jsxs(
|
|
1360
1360
|
"button",
|
|
1361
1361
|
{
|
|
1362
|
-
className:
|
|
1363
|
-
onClick: () =>
|
|
1362
|
+
className: r.chatToggleBtn,
|
|
1363
|
+
onClick: () => j((m) => !m),
|
|
1364
1364
|
"aria-label": "Show Chat",
|
|
1365
1365
|
children: [
|
|
1366
1366
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1375,16 +1375,16 @@ const it = st(void 0), ct = () => {
|
|
|
1375
1375
|
children: /* @__PURE__ */ t.jsx("polyline", { points: "15 18 9 12 15 6" })
|
|
1376
1376
|
}
|
|
1377
1377
|
),
|
|
1378
|
-
/* @__PURE__ */ t.jsx("span", { className:
|
|
1378
|
+
/* @__PURE__ */ t.jsx("span", { className: r.chatToggleBtnText, children: "Live Chat" })
|
|
1379
1379
|
]
|
|
1380
1380
|
}
|
|
1381
1381
|
),
|
|
1382
|
-
|
|
1382
|
+
c && d && /* @__PURE__ */ t.jsxs("div", { className: r.fullscreenChatPanel, children: [
|
|
1383
1383
|
/* @__PURE__ */ t.jsx(
|
|
1384
1384
|
"button",
|
|
1385
1385
|
{
|
|
1386
|
-
className:
|
|
1387
|
-
onClick: () =>
|
|
1386
|
+
className: r.fullscreenChatCloseBtn,
|
|
1387
|
+
onClick: () => j(!1),
|
|
1388
1388
|
"aria-label": "Close chat",
|
|
1389
1389
|
children: /* @__PURE__ */ t.jsxs(
|
|
1390
1390
|
"svg",
|
|
@@ -1403,45 +1403,45 @@ const it = st(void 0), ct = () => {
|
|
|
1403
1403
|
)
|
|
1404
1404
|
}
|
|
1405
1405
|
),
|
|
1406
|
-
|
|
1406
|
+
F && /* @__PURE__ */ t.jsx(et, { message: "Loading chat...", compact: !0 }),
|
|
1407
1407
|
/* @__PURE__ */ t.jsx(
|
|
1408
1408
|
"iframe",
|
|
1409
1409
|
{
|
|
1410
1410
|
src: te,
|
|
1411
1411
|
title: "Live Chat Fullscreen",
|
|
1412
1412
|
frameBorder: "0",
|
|
1413
|
-
onLoad: () =>
|
|
1413
|
+
onLoad: () => E(!1),
|
|
1414
1414
|
referrerPolicy: "origin",
|
|
1415
|
-
className:
|
|
1416
|
-
style: { opacity:
|
|
1415
|
+
className: r.iframe,
|
|
1416
|
+
style: { opacity: F ? 0 : 1 }
|
|
1417
1417
|
}
|
|
1418
1418
|
)
|
|
1419
1419
|
] })
|
|
1420
1420
|
]
|
|
1421
1421
|
}
|
|
1422
1422
|
),
|
|
1423
|
-
|
|
1423
|
+
c && /* @__PURE__ */ t.jsx(
|
|
1424
1424
|
tt,
|
|
1425
1425
|
{
|
|
1426
|
-
isGlobal:
|
|
1427
|
-
isLandscape:
|
|
1426
|
+
isGlobal: u,
|
|
1427
|
+
isLandscape: A,
|
|
1428
1428
|
onOfferingClick: ne,
|
|
1429
1429
|
onPujaBannerClick: q,
|
|
1430
1430
|
onPujaImpression: _
|
|
1431
1431
|
}
|
|
1432
1432
|
),
|
|
1433
|
-
!
|
|
1433
|
+
!c && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1434
1434
|
/* @__PURE__ */ t.jsx(
|
|
1435
1435
|
tt,
|
|
1436
1436
|
{
|
|
1437
|
-
isGlobal:
|
|
1438
|
-
isLandscape:
|
|
1437
|
+
isGlobal: u,
|
|
1438
|
+
isLandscape: A,
|
|
1439
1439
|
onOfferingClick: ne,
|
|
1440
1440
|
onPujaBannerClick: q,
|
|
1441
1441
|
onPujaImpression: _
|
|
1442
1442
|
}
|
|
1443
1443
|
),
|
|
1444
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1444
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.chat, children: [
|
|
1445
1445
|
y && /* @__PURE__ */ t.jsx(et, { message: "Loading chat..." }),
|
|
1446
1446
|
/* @__PURE__ */ t.jsx(
|
|
1447
1447
|
"iframe",
|
|
@@ -1449,9 +1449,9 @@ const it = st(void 0), ct = () => {
|
|
|
1449
1449
|
src: te,
|
|
1450
1450
|
title: "Live Chat",
|
|
1451
1451
|
frameBorder: "0",
|
|
1452
|
-
onLoad: () =>
|
|
1452
|
+
onLoad: () => k(!1),
|
|
1453
1453
|
referrerPolicy: "origin",
|
|
1454
|
-
className:
|
|
1454
|
+
className: r.iframe,
|
|
1455
1455
|
style: { opacity: y ? 0 : 1 }
|
|
1456
1456
|
}
|
|
1457
1457
|
)
|
|
@@ -1466,160 +1466,157 @@ function et({
|
|
|
1466
1466
|
return /* @__PURE__ */ t.jsxs(
|
|
1467
1467
|
"div",
|
|
1468
1468
|
{
|
|
1469
|
-
className: `${
|
|
1469
|
+
className: `${r.chatLoader} ${o ? r.chatLoaderCompact : ""}`,
|
|
1470
1470
|
children: [
|
|
1471
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
1472
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
1471
|
+
/* @__PURE__ */ t.jsx("div", { className: r.spinner }),
|
|
1472
|
+
/* @__PURE__ */ t.jsx("div", { className: r.chatLoaderText, children: s })
|
|
1473
1473
|
]
|
|
1474
1474
|
}
|
|
1475
1475
|
);
|
|
1476
1476
|
}
|
|
1477
|
-
const lt = 300,
|
|
1478
|
-
function
|
|
1477
|
+
const lt = 300, Cr = 60, Tr = lt + Cr, Pr = 1620, ee = 0, Y = 1;
|
|
1478
|
+
function Sr() {
|
|
1479
1479
|
const [s, o] = R(0), v = $(Date.now());
|
|
1480
|
-
|
|
1481
|
-
const
|
|
1480
|
+
D(() => {
|
|
1481
|
+
const l = setInterval(() => {
|
|
1482
1482
|
o(Math.floor((Date.now() - v.current) / 1e3));
|
|
1483
1483
|
}, 1e3);
|
|
1484
|
-
return () => clearInterval(
|
|
1484
|
+
return () => clearInterval(l);
|
|
1485
1485
|
}, []);
|
|
1486
|
-
const
|
|
1486
|
+
const u = s >= Pr;
|
|
1487
1487
|
let h = ee;
|
|
1488
|
-
return
|
|
1488
|
+
return u ? h = Y : h = s % Tr < lt ? ee : Y, { autoSlide: h, isLockedToPuja: u };
|
|
1489
1489
|
}
|
|
1490
1490
|
function tt({
|
|
1491
1491
|
isGlobal: s,
|
|
1492
1492
|
isLandscape: o,
|
|
1493
1493
|
onOfferingClick: v,
|
|
1494
|
-
onPujaBannerClick:
|
|
1494
|
+
onPujaBannerClick: u,
|
|
1495
1495
|
onPujaImpression: h
|
|
1496
1496
|
}) {
|
|
1497
|
-
const { autoSlide: _
|
|
1498
|
-
|
|
1499
|
-
|
|
1497
|
+
const { autoSlide: _ } = Sr(), [l, g] = R(null), c = $(null), S = $(0);
|
|
1498
|
+
D(() => {
|
|
1499
|
+
g(null);
|
|
1500
1500
|
}, [_]);
|
|
1501
|
-
const
|
|
1502
|
-
|
|
1503
|
-
|
|
1501
|
+
const d = l !== null ? l : _, j = $(!1);
|
|
1502
|
+
D(() => {
|
|
1503
|
+
d === Y ? j.current || (h?.({
|
|
1504
1504
|
orientation: o ? "horizontal" : "vertical"
|
|
1505
|
-
}),
|
|
1506
|
-
}, [
|
|
1507
|
-
const
|
|
1508
|
-
(
|
|
1509
|
-
|
|
1505
|
+
}), j.current = !0) : j.current = !1;
|
|
1506
|
+
}, [d, o, h]);
|
|
1507
|
+
const y = Ft(
|
|
1508
|
+
(E) => {
|
|
1509
|
+
g(E), c.current && clearTimeout(c.current), c.current = setTimeout(() => g(null), 1e4);
|
|
1510
1510
|
},
|
|
1511
|
-
[
|
|
1511
|
+
[]
|
|
1512
1512
|
);
|
|
1513
|
-
|
|
1514
|
-
|
|
1513
|
+
D(() => () => {
|
|
1514
|
+
c.current && clearTimeout(c.current);
|
|
1515
1515
|
}, []);
|
|
1516
|
-
const
|
|
1517
|
-
|
|
1518
|
-
},
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
Math.abs(L) < 50 || (L > 0 ? S(Y) : S(ee));
|
|
1516
|
+
const k = (E) => {
|
|
1517
|
+
S.current = E.touches[0].clientX;
|
|
1518
|
+
}, F = (E) => {
|
|
1519
|
+
const A = S.current - E.changedTouches[0].clientX;
|
|
1520
|
+
Math.abs(A) < 50 || (A > 0 ? y(Y) : y(ee));
|
|
1522
1521
|
};
|
|
1523
|
-
return s ? /* @__PURE__ */ t.jsx("div", { className:
|
|
1524
|
-
|
|
1522
|
+
return s ? /* @__PURE__ */ t.jsx("div", { className: r.carousel, children: /* @__PURE__ */ t.jsx(
|
|
1523
|
+
at,
|
|
1525
1524
|
{
|
|
1526
1525
|
isLandscape: o,
|
|
1527
|
-
onOfferingClick:
|
|
1526
|
+
onOfferingClick: u
|
|
1528
1527
|
}
|
|
1529
|
-
) }) : /* @__PURE__ */ t.jsxs("div", { className:
|
|
1528
|
+
) }) : /* @__PURE__ */ t.jsxs("div", { className: r.carousel, children: [
|
|
1530
1529
|
/* @__PURE__ */ t.jsxs(
|
|
1531
1530
|
"div",
|
|
1532
1531
|
{
|
|
1533
|
-
className:
|
|
1534
|
-
style: { transform: `translateX(-${
|
|
1535
|
-
onTouchStart:
|
|
1536
|
-
onTouchEnd:
|
|
1532
|
+
className: r.carouselTrack,
|
|
1533
|
+
style: { transform: `translateX(-${d * 50}%)` },
|
|
1534
|
+
onTouchStart: k,
|
|
1535
|
+
onTouchEnd: F,
|
|
1537
1536
|
children: [
|
|
1538
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
1539
|
-
|
|
1537
|
+
/* @__PURE__ */ t.jsx("div", { className: r.carouselSlide, children: /* @__PURE__ */ t.jsx(
|
|
1538
|
+
Er,
|
|
1540
1539
|
{
|
|
1541
1540
|
isLandscape: o,
|
|
1542
1541
|
onOfferingClick: v
|
|
1543
1542
|
}
|
|
1544
1543
|
) }),
|
|
1545
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
1546
|
-
|
|
1544
|
+
/* @__PURE__ */ t.jsx("div", { className: r.carouselSlide, children: /* @__PURE__ */ t.jsx(
|
|
1545
|
+
at,
|
|
1547
1546
|
{
|
|
1548
1547
|
isLandscape: o,
|
|
1549
|
-
onOfferingClick:
|
|
1548
|
+
onOfferingClick: u
|
|
1550
1549
|
}
|
|
1551
1550
|
) })
|
|
1552
1551
|
]
|
|
1553
1552
|
}
|
|
1554
1553
|
),
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
{
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
{
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
)
|
|
1600
|
-
] })
|
|
1554
|
+
d !== ee && /* @__PURE__ */ t.jsx(
|
|
1555
|
+
"button",
|
|
1556
|
+
{
|
|
1557
|
+
className: `${r.carouselArrow} ${r.carouselArrowLeft}`,
|
|
1558
|
+
onClick: () => y(ee),
|
|
1559
|
+
"aria-label": "Previous slide",
|
|
1560
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1561
|
+
"svg",
|
|
1562
|
+
{
|
|
1563
|
+
width: "14",
|
|
1564
|
+
height: "14",
|
|
1565
|
+
viewBox: "0 0 24 24",
|
|
1566
|
+
fill: "none",
|
|
1567
|
+
stroke: "currentColor",
|
|
1568
|
+
strokeWidth: "2.5",
|
|
1569
|
+
strokeLinecap: "round",
|
|
1570
|
+
strokeLinejoin: "round",
|
|
1571
|
+
children: /* @__PURE__ */ t.jsx("polyline", { points: "15 18 9 12 15 6" })
|
|
1572
|
+
}
|
|
1573
|
+
)
|
|
1574
|
+
}
|
|
1575
|
+
),
|
|
1576
|
+
d !== Y && /* @__PURE__ */ t.jsx(
|
|
1577
|
+
"button",
|
|
1578
|
+
{
|
|
1579
|
+
className: `${r.carouselArrow} ${r.carouselArrowRight}`,
|
|
1580
|
+
onClick: () => y(Y),
|
|
1581
|
+
"aria-label": "Next slide",
|
|
1582
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1583
|
+
"svg",
|
|
1584
|
+
{
|
|
1585
|
+
width: "14",
|
|
1586
|
+
height: "14",
|
|
1587
|
+
viewBox: "0 0 24 24",
|
|
1588
|
+
fill: "none",
|
|
1589
|
+
stroke: "currentColor",
|
|
1590
|
+
strokeWidth: "2.5",
|
|
1591
|
+
strokeLinecap: "round",
|
|
1592
|
+
strokeLinejoin: "round",
|
|
1593
|
+
children: /* @__PURE__ */ t.jsx("polyline", { points: "9 18 15 12 9 6" })
|
|
1594
|
+
}
|
|
1595
|
+
)
|
|
1596
|
+
}
|
|
1597
|
+
)
|
|
1601
1598
|
] });
|
|
1602
1599
|
}
|
|
1603
|
-
function
|
|
1600
|
+
function Er({
|
|
1604
1601
|
isLandscape: s,
|
|
1605
1602
|
onOfferingClick: o
|
|
1606
1603
|
}) {
|
|
1607
|
-
const
|
|
1604
|
+
const u = (() => {
|
|
1608
1605
|
const _ = /* @__PURE__ */ new Date();
|
|
1609
|
-
return Ze.slice().reverse().find((
|
|
1606
|
+
return Ze.slice().reverse().find((g) => new Date(g.afterTime) <= _) || Ze[0];
|
|
1610
1607
|
})(), h = async (_) => {
|
|
1611
1608
|
if (o)
|
|
1612
1609
|
try {
|
|
1613
1610
|
await o(_);
|
|
1614
|
-
} catch (
|
|
1615
|
-
console.error("Offering click handler failed:",
|
|
1611
|
+
} catch (l) {
|
|
1612
|
+
console.error("Offering click handler failed:", l);
|
|
1616
1613
|
}
|
|
1617
1614
|
};
|
|
1618
|
-
return /* @__PURE__ */ t.jsx("div", { className:
|
|
1615
|
+
return /* @__PURE__ */ t.jsx("div", { className: r.banner, children: /* @__PURE__ */ t.jsxs("div", { className: r.bannerCard, children: [
|
|
1619
1616
|
/* @__PURE__ */ t.jsxs(
|
|
1620
1617
|
"p",
|
|
1621
1618
|
{
|
|
1622
|
-
className: s ?
|
|
1619
|
+
className: s ? r.landscapeHeader : r.bannerTitle,
|
|
1623
1620
|
children: [
|
|
1624
1621
|
"Make ",
|
|
1625
1622
|
/* @__PURE__ */ t.jsx("span", { children: "Live" }),
|
|
@@ -1627,20 +1624,20 @@ function Ea({
|
|
|
1627
1624
|
]
|
|
1628
1625
|
}
|
|
1629
1626
|
),
|
|
1630
|
-
/* @__PURE__ */ t.jsx("div", { className: s ?
|
|
1631
|
-
(_,
|
|
1632
|
-
|
|
1627
|
+
/* @__PURE__ */ t.jsx("div", { className: s ? r.landscapeScroll : r.scroll, children: u.items.map(
|
|
1628
|
+
(_, l) => s ? /* @__PURE__ */ t.jsx(
|
|
1629
|
+
Ir,
|
|
1633
1630
|
{
|
|
1634
1631
|
item: _,
|
|
1635
1632
|
onClick: () => h(_)
|
|
1636
1633
|
},
|
|
1637
1634
|
_.inventory_id
|
|
1638
1635
|
) : /* @__PURE__ */ t.jsx(
|
|
1639
|
-
|
|
1636
|
+
Rr,
|
|
1640
1637
|
{
|
|
1641
1638
|
item: _,
|
|
1642
|
-
index:
|
|
1643
|
-
totalItems:
|
|
1639
|
+
index: l,
|
|
1640
|
+
totalItems: u.items.length,
|
|
1644
1641
|
onClick: () => h(_)
|
|
1645
1642
|
},
|
|
1646
1643
|
_.inventory_id
|
|
@@ -1648,13 +1645,13 @@ function Ea({
|
|
|
1648
1645
|
) })
|
|
1649
1646
|
] }) });
|
|
1650
1647
|
}
|
|
1651
|
-
function
|
|
1648
|
+
function at({
|
|
1652
1649
|
isLandscape: s,
|
|
1653
1650
|
onOfferingClick: o
|
|
1654
1651
|
}) {
|
|
1655
|
-
return /* @__PURE__ */ t.jsx("div", { className:
|
|
1652
|
+
return /* @__PURE__ */ t.jsx("div", { className: r.pujaBanner, children: /* @__PURE__ */ t.jsx(kr, { isLandscape: s, onClick: o }) });
|
|
1656
1653
|
}
|
|
1657
|
-
function
|
|
1654
|
+
function kr({
|
|
1658
1655
|
isLandscape: s,
|
|
1659
1656
|
onClick: o
|
|
1660
1657
|
}) {
|
|
@@ -1662,40 +1659,40 @@ function ka({
|
|
|
1662
1659
|
"div",
|
|
1663
1660
|
{
|
|
1664
1661
|
onClick: o,
|
|
1665
|
-
className:
|
|
1662
|
+
className: r.pujaCardHorizontal,
|
|
1666
1663
|
style: { cursor: o ? "pointer" : "default" },
|
|
1667
1664
|
children: [
|
|
1668
1665
|
/* @__PURE__ */ t.jsx(
|
|
1669
1666
|
"img",
|
|
1670
1667
|
{
|
|
1671
1668
|
src: "https://srm-cdn.a4b.io/yoda/1774945525352.webp",
|
|
1672
|
-
className:
|
|
1669
|
+
className: r.pujaImageHorizontal,
|
|
1673
1670
|
alt: "Puja"
|
|
1674
1671
|
}
|
|
1675
1672
|
),
|
|
1676
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1673
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.pujaContentHorizontal, children: [
|
|
1677
1674
|
/* @__PURE__ */ t.jsx(
|
|
1678
1675
|
"p",
|
|
1679
1676
|
{
|
|
1680
|
-
className: s ?
|
|
1677
|
+
className: s ? r.pujaPinkTextHorizontal : r.pujaPinkText,
|
|
1681
1678
|
children: "For career and business growth"
|
|
1682
1679
|
}
|
|
1683
1680
|
),
|
|
1684
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1685
|
-
/* @__PURE__ */ t.jsxs("p", { className:
|
|
1681
|
+
/* @__PURE__ */ t.jsx("p", { className: r.pujaTitleHorizontal, children: "Participate In 5100 Hanuman Chalisa Path" }),
|
|
1682
|
+
/* @__PURE__ */ t.jsxs("p", { className: r.pujaSubHorizontal, children: [
|
|
1686
1683
|
/* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(
|
|
1687
1684
|
"img",
|
|
1688
1685
|
{
|
|
1689
1686
|
src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg",
|
|
1690
1687
|
alt: "Location",
|
|
1691
|
-
className:
|
|
1688
|
+
className: r.locationIcon
|
|
1692
1689
|
}
|
|
1693
1690
|
) }),
|
|
1694
1691
|
"Shri Navagrah Shani Temple, Ujjain, Madhya Pradesh"
|
|
1695
1692
|
] }),
|
|
1696
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1693
|
+
/* @__PURE__ */ t.jsx("p", { className: r.pujaSubHorizontal, children: "⭐ 4.7 (7k+) • 3L+ Devotees using Sri Mandir • 100% refund*" })
|
|
1697
1694
|
] }),
|
|
1698
|
-
/* @__PURE__ */ t.jsx("button", { className:
|
|
1695
|
+
/* @__PURE__ */ t.jsx("button", { className: r.pujaCTAHorizontal, "aria-label": "Perform Puja", children: /* @__PURE__ */ t.jsxs(
|
|
1699
1696
|
"svg",
|
|
1700
1697
|
{
|
|
1701
1698
|
width: "16",
|
|
@@ -1714,38 +1711,38 @@ function ka({
|
|
|
1714
1711
|
) })
|
|
1715
1712
|
]
|
|
1716
1713
|
}
|
|
1717
|
-
) : /* @__PURE__ */ t.jsx("div", { className:
|
|
1714
|
+
) : /* @__PURE__ */ t.jsx("div", { className: r.pujaWrapperVertical, children: /* @__PURE__ */ t.jsxs(
|
|
1718
1715
|
"div",
|
|
1719
1716
|
{
|
|
1720
1717
|
onClick: o,
|
|
1721
|
-
className:
|
|
1718
|
+
className: r.pujaCardVertical,
|
|
1722
1719
|
style: { cursor: o ? "pointer" : "default" },
|
|
1723
1720
|
children: [
|
|
1724
1721
|
/* @__PURE__ */ t.jsx(
|
|
1725
1722
|
"img",
|
|
1726
1723
|
{
|
|
1727
1724
|
src: "https://srm-cdn.a4b.io/yoda/1774945525352.webp",
|
|
1728
|
-
className:
|
|
1725
|
+
className: r.pujaImage,
|
|
1729
1726
|
alt: "Puja"
|
|
1730
1727
|
}
|
|
1731
1728
|
),
|
|
1732
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1733
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1734
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1735
|
-
/* @__PURE__ */ t.jsxs("p", { className:
|
|
1729
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.pujaContent, children: [
|
|
1730
|
+
/* @__PURE__ */ t.jsx("p", { className: r.pujaPinkText, children: "For career and business growth" }),
|
|
1731
|
+
/* @__PURE__ */ t.jsx("p", { className: r.pujaTitle, children: "Participate In 5100 Hanuman Chalisa Path" }),
|
|
1732
|
+
/* @__PURE__ */ t.jsxs("p", { className: r.pujaSub, children: [
|
|
1736
1733
|
/* @__PURE__ */ t.jsx(
|
|
1737
1734
|
"img",
|
|
1738
1735
|
{
|
|
1739
1736
|
src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg",
|
|
1740
1737
|
alt: "Location",
|
|
1741
|
-
className:
|
|
1738
|
+
className: r.locationIcon
|
|
1742
1739
|
}
|
|
1743
1740
|
),
|
|
1744
1741
|
"Shri Navagrah Shani Temple, Ujjain, Madhya Pradesh"
|
|
1745
1742
|
] }),
|
|
1746
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1743
|
+
/* @__PURE__ */ t.jsx("p", { className: r.pujaTrustmakers, children: "⭐ 4.7 (7k+) • 3L+ Devotees using Sri Mandir • 100% refund*" })
|
|
1747
1744
|
] }),
|
|
1748
|
-
/* @__PURE__ */ t.jsx("button", { className:
|
|
1745
|
+
/* @__PURE__ */ t.jsx("button", { className: r.pujaCTA, "aria-label": "Perform Puja", children: /* @__PURE__ */ t.jsxs(
|
|
1749
1746
|
"svg",
|
|
1750
1747
|
{
|
|
1751
1748
|
width: "20",
|
|
@@ -1766,63 +1763,63 @@ function ka({
|
|
|
1766
1763
|
}
|
|
1767
1764
|
) });
|
|
1768
1765
|
}
|
|
1769
|
-
function
|
|
1766
|
+
function Rr({
|
|
1770
1767
|
item: s,
|
|
1771
1768
|
index: o,
|
|
1772
1769
|
totalItems: v,
|
|
1773
|
-
onClick:
|
|
1770
|
+
onClick: u
|
|
1774
1771
|
}) {
|
|
1775
|
-
return /* @__PURE__ */ t.jsxs("div", { className:
|
|
1776
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1777
|
-
/* @__PURE__ */ t.jsx("img", { src: s.image_url, alt: s.name, className:
|
|
1778
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
1772
|
+
return /* @__PURE__ */ t.jsxs("div", { className: r.card, onClick: u, children: [
|
|
1773
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.imageWrapper, children: [
|
|
1774
|
+
/* @__PURE__ */ t.jsx("img", { src: s.image_url, alt: s.name, className: r.image }),
|
|
1775
|
+
/* @__PURE__ */ t.jsx("div", { className: r.addBtn, "aria-hidden": "true", children: "+" })
|
|
1779
1776
|
] }),
|
|
1780
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1781
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1782
|
-
/* @__PURE__ */ t.jsxs("span", { className:
|
|
1777
|
+
/* @__PURE__ */ t.jsx("p", { className: r.title, children: s.name }),
|
|
1778
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.priceRow, children: [
|
|
1779
|
+
/* @__PURE__ */ t.jsxs("span", { className: r.price, children: [
|
|
1783
1780
|
"₹",
|
|
1784
1781
|
s.price
|
|
1785
1782
|
] }),
|
|
1786
|
-
s.original_price && /* @__PURE__ */ t.jsxs("span", { className:
|
|
1783
|
+
s.original_price && /* @__PURE__ */ t.jsxs("span", { className: r.originalPrice, children: [
|
|
1787
1784
|
"₹",
|
|
1788
1785
|
s.original_price
|
|
1789
1786
|
] }),
|
|
1790
|
-
s.discount && /* @__PURE__ */ t.jsxs("span", { className:
|
|
1787
|
+
s.discount && /* @__PURE__ */ t.jsxs("span", { className: r.discountBadge, children: [
|
|
1791
1788
|
"Save ",
|
|
1792
1789
|
s.discount
|
|
1793
1790
|
] })
|
|
1794
1791
|
] }),
|
|
1795
|
-
o !== v - 1 && /* @__PURE__ */ t.jsx("div", { className:
|
|
1792
|
+
o !== v - 1 && /* @__PURE__ */ t.jsx("div", { className: r.divider })
|
|
1796
1793
|
] });
|
|
1797
1794
|
}
|
|
1798
|
-
function
|
|
1795
|
+
function Ir({
|
|
1799
1796
|
item: s,
|
|
1800
1797
|
onClick: o
|
|
1801
1798
|
}) {
|
|
1802
|
-
return /* @__PURE__ */ t.jsxs("div", { className:
|
|
1803
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1799
|
+
return /* @__PURE__ */ t.jsxs("div", { className: r.landscapeCard, onClick: o, children: [
|
|
1800
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.landscapeImageWrapper, children: [
|
|
1804
1801
|
/* @__PURE__ */ t.jsx(
|
|
1805
1802
|
"img",
|
|
1806
1803
|
{
|
|
1807
1804
|
src: s.image_url,
|
|
1808
1805
|
alt: s.name,
|
|
1809
|
-
className:
|
|
1806
|
+
className: r.landscapeImage
|
|
1810
1807
|
}
|
|
1811
1808
|
),
|
|
1812
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
1809
|
+
/* @__PURE__ */ t.jsx("div", { className: r.landscapeAdd, "aria-hidden": "true", children: "+" })
|
|
1813
1810
|
] }),
|
|
1814
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1815
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
1816
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1817
|
-
/* @__PURE__ */ t.jsxs("span", { className:
|
|
1811
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.landscapeContent, children: [
|
|
1812
|
+
/* @__PURE__ */ t.jsx("p", { className: r.landscapeTitle, children: s.name }),
|
|
1813
|
+
/* @__PURE__ */ t.jsxs("div", { className: r.landscapePriceRow, children: [
|
|
1814
|
+
/* @__PURE__ */ t.jsxs("span", { className: r.landscapePrice, children: [
|
|
1818
1815
|
"₹",
|
|
1819
1816
|
s.price
|
|
1820
1817
|
] }),
|
|
1821
|
-
s.original_price && /* @__PURE__ */ t.jsxs("span", { className:
|
|
1818
|
+
s.original_price && /* @__PURE__ */ t.jsxs("span", { className: r.landscapeOriginalPrice, children: [
|
|
1822
1819
|
"₹",
|
|
1823
1820
|
s.original_price
|
|
1824
1821
|
] }),
|
|
1825
|
-
s.discount && /* @__PURE__ */ t.jsxs("span", { className:
|
|
1822
|
+
s.discount && /* @__PURE__ */ t.jsxs("span", { className: r.landscapeDiscount, children: [
|
|
1826
1823
|
"Save ",
|
|
1827
1824
|
s.discount
|
|
1828
1825
|
] })
|
|
@@ -1831,12 +1828,12 @@ function Ia({
|
|
|
1831
1828
|
] });
|
|
1832
1829
|
}
|
|
1833
1830
|
export {
|
|
1834
|
-
|
|
1831
|
+
Or as AppContextProvider,
|
|
1835
1832
|
Ze as BANNER_ITEMS,
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1833
|
+
Lr as I18nProvider,
|
|
1834
|
+
Dr as LandingPage,
|
|
1835
|
+
Fr as SuccessPage,
|
|
1836
|
+
Br as VideoPage,
|
|
1840
1837
|
ct as useAppContext,
|
|
1841
1838
|
ve as useI18n
|
|
1842
1839
|
};
|