@srimandir/daily-live-puja 1.4.5 → 1.4.7
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/daily-live-puja.js +272 -278
- package/dist/daily-live-puja.js.map +1 -1
- package/package.json +3 -3
package/dist/daily-live-puja.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import xt, { useContext as Ut, createContext as Wt, useState as
|
|
1
|
+
import xt, { useContext as Ut, createContext as Wt, useState as w, useEffect as D, useRef as U, useMemo as gt, useCallback as _t, useId as ea } from "react";
|
|
2
2
|
var at = { exports: {} }, Ye = {};
|
|
3
3
|
var wt;
|
|
4
4
|
function ta() {
|
|
@@ -18,29 +18,29 @@ var Ge = {};
|
|
|
18
18
|
var Ct;
|
|
19
19
|
function aa() {
|
|
20
20
|
return Ct || (Ct = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
21
|
-
var a = xt, s = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), c = /* @__PURE__ */ Symbol.for("react.strict_mode"), m = /* @__PURE__ */ Symbol.for("react.profiler"), r = /* @__PURE__ */ Symbol.for("react.provider"), o = /* @__PURE__ */ Symbol.for("react.context"), h = /* @__PURE__ */ Symbol.for("react.forward_ref"), v = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.suspense_list"), f = /* @__PURE__ */ Symbol.for("react.memo"), x = /* @__PURE__ */ Symbol.for("react.lazy"), j = /* @__PURE__ */ Symbol.for("react.offscreen"),
|
|
21
|
+
var a = xt, s = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), c = /* @__PURE__ */ Symbol.for("react.strict_mode"), m = /* @__PURE__ */ Symbol.for("react.profiler"), r = /* @__PURE__ */ Symbol.for("react.provider"), o = /* @__PURE__ */ Symbol.for("react.context"), h = /* @__PURE__ */ Symbol.for("react.forward_ref"), v = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.suspense_list"), f = /* @__PURE__ */ Symbol.for("react.memo"), x = /* @__PURE__ */ Symbol.for("react.lazy"), j = /* @__PURE__ */ Symbol.for("react.offscreen"), L = Symbol.iterator, E = "@@iterator";
|
|
22
22
|
function g(t) {
|
|
23
23
|
if (t === null || typeof t != "object")
|
|
24
24
|
return null;
|
|
25
|
-
var n =
|
|
25
|
+
var n = L && t[L] || t[E];
|
|
26
26
|
return typeof n == "function" ? n : null;
|
|
27
27
|
}
|
|
28
|
-
var
|
|
28
|
+
var N = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
29
29
|
function S(t) {
|
|
30
30
|
{
|
|
31
31
|
for (var n = arguments.length, u = new Array(n > 1 ? n - 1 : 0), _ = 1; _ < n; _++)
|
|
32
32
|
u[_ - 1] = arguments[_];
|
|
33
|
-
|
|
33
|
+
z("error", t, u);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function z(t, n, u) {
|
|
37
37
|
{
|
|
38
|
-
var _ =
|
|
38
|
+
var _ = N.ReactDebugCurrentFrame, k = _.getStackAddendum();
|
|
39
39
|
k !== "" && (n += "%s", u = u.concat([k]));
|
|
40
|
-
var
|
|
41
|
-
return String(
|
|
40
|
+
var I = u.map(function(C) {
|
|
41
|
+
return String(C);
|
|
42
42
|
});
|
|
43
|
-
|
|
43
|
+
I.unshift("Warning: " + n), Function.prototype.apply.call(console[t], console, I);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
var B = !1, T = !1, Y = !1, Q = !1, ne = !1, ie;
|
|
@@ -62,7 +62,7 @@ function aa() {
|
|
|
62
62
|
function M(t) {
|
|
63
63
|
return t.displayName || "Context";
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function H(t) {
|
|
66
66
|
if (t == null)
|
|
67
67
|
return null;
|
|
68
68
|
if (typeof t.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
@@ -95,11 +95,11 @@ function aa() {
|
|
|
95
95
|
return me(t, t.render, "ForwardRef");
|
|
96
96
|
case f:
|
|
97
97
|
var _ = t.displayName || null;
|
|
98
|
-
return _ !== null ? _ :
|
|
98
|
+
return _ !== null ? _ : H(t.type) || "Memo";
|
|
99
99
|
case x: {
|
|
100
|
-
var k = t,
|
|
100
|
+
var k = t, I = k._payload, C = k._init;
|
|
101
101
|
try {
|
|
102
|
-
return
|
|
102
|
+
return H(C(I));
|
|
103
103
|
} catch {
|
|
104
104
|
return null;
|
|
105
105
|
}
|
|
@@ -169,18 +169,18 @@ function aa() {
|
|
|
169
169
|
oe < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
var qe =
|
|
172
|
+
var qe = N.ReactCurrentDispatcher, $;
|
|
173
173
|
function be(t, n, u) {
|
|
174
174
|
{
|
|
175
|
-
if (
|
|
175
|
+
if ($ === void 0)
|
|
176
176
|
try {
|
|
177
177
|
throw Error();
|
|
178
178
|
} catch (k) {
|
|
179
179
|
var _ = k.stack.trim().match(/\n( *(at )?)/);
|
|
180
|
-
|
|
180
|
+
$ = _ && _[1] || "";
|
|
181
181
|
}
|
|
182
182
|
return `
|
|
183
|
-
` +
|
|
183
|
+
` + $ + t;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
var ye = !1, q;
|
|
@@ -200,53 +200,53 @@ function aa() {
|
|
|
200
200
|
ye = !0;
|
|
201
201
|
var k = Error.prepareStackTrace;
|
|
202
202
|
Error.prepareStackTrace = void 0;
|
|
203
|
-
var
|
|
204
|
-
|
|
203
|
+
var I;
|
|
204
|
+
I = qe.current, qe.current = null, Je();
|
|
205
205
|
try {
|
|
206
206
|
if (n) {
|
|
207
|
-
var
|
|
207
|
+
var C = function() {
|
|
208
208
|
throw Error();
|
|
209
209
|
};
|
|
210
|
-
if (Object.defineProperty(
|
|
210
|
+
if (Object.defineProperty(C.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(
|
|
217
|
-
} catch (
|
|
218
|
-
_ =
|
|
216
|
+
Reflect.construct(C, []);
|
|
217
|
+
} catch (V) {
|
|
218
|
+
_ = V;
|
|
219
219
|
}
|
|
220
|
-
Reflect.construct(t, [],
|
|
220
|
+
Reflect.construct(t, [], C);
|
|
221
221
|
} else {
|
|
222
222
|
try {
|
|
223
|
-
|
|
224
|
-
} catch (
|
|
225
|
-
_ =
|
|
223
|
+
C.call();
|
|
224
|
+
} catch (V) {
|
|
225
|
+
_ = V;
|
|
226
226
|
}
|
|
227
|
-
t.call(
|
|
227
|
+
t.call(C.prototype);
|
|
228
228
|
}
|
|
229
229
|
} else {
|
|
230
230
|
try {
|
|
231
231
|
throw Error();
|
|
232
|
-
} catch (
|
|
233
|
-
_ =
|
|
232
|
+
} catch (V) {
|
|
233
|
+
_ = V;
|
|
234
234
|
}
|
|
235
235
|
t();
|
|
236
236
|
}
|
|
237
|
-
} catch (
|
|
238
|
-
if (
|
|
239
|
-
for (var
|
|
240
|
-
`),
|
|
241
|
-
`), F =
|
|
237
|
+
} catch (V) {
|
|
238
|
+
if (V && _ && typeof V.stack == "string") {
|
|
239
|
+
for (var y = V.stack.split(`
|
|
240
|
+
`), W = _.stack.split(`
|
|
241
|
+
`), F = y.length - 1, O = W.length - 1; F >= 1 && O >= 0 && y[F] !== W[O]; )
|
|
242
242
|
O--;
|
|
243
243
|
for (; F >= 1 && O >= 0; F--, O--)
|
|
244
|
-
if (
|
|
244
|
+
if (y[F] !== W[O]) {
|
|
245
245
|
if (F !== 1 || O !== 1)
|
|
246
246
|
do
|
|
247
|
-
if (F--, O--, O < 0 ||
|
|
247
|
+
if (F--, O--, O < 0 || y[F] !== W[O]) {
|
|
248
248
|
var J = `
|
|
249
|
-
` +
|
|
249
|
+
` + y[F].replace(" at new ", " at ");
|
|
250
250
|
return t.displayName && J.includes("<anonymous>") && (J = J.replace("<anonymous>", t.displayName)), typeof t == "function" && q.set(t, J), J;
|
|
251
251
|
}
|
|
252
252
|
while (F >= 1 && O >= 0);
|
|
@@ -254,9 +254,9 @@ function aa() {
|
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
} finally {
|
|
257
|
-
ye = !1, qe.current =
|
|
257
|
+
ye = !1, qe.current = I, Ze(), Error.prepareStackTrace = k;
|
|
258
258
|
}
|
|
259
|
-
var
|
|
259
|
+
var Ie = t ? t.displayName || t.name : "", je = Ie ? be(Ie) : "";
|
|
260
260
|
return typeof t == "function" && q.set(t, je), je;
|
|
261
261
|
}
|
|
262
262
|
function Ue(t, n, u) {
|
|
@@ -286,16 +286,16 @@ function aa() {
|
|
|
286
286
|
case f:
|
|
287
287
|
return fe(t.type, n, u);
|
|
288
288
|
case x: {
|
|
289
|
-
var _ = t, k = _._payload,
|
|
289
|
+
var _ = t, k = _._payload, I = _._init;
|
|
290
290
|
try {
|
|
291
|
-
return fe(
|
|
291
|
+
return fe(I(k), n, u);
|
|
292
292
|
} catch {
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
return "";
|
|
297
297
|
}
|
|
298
|
-
var le = Object.prototype.hasOwnProperty, We = {}, X =
|
|
298
|
+
var le = Object.prototype.hasOwnProperty, We = {}, X = N.ReactDebugCurrentFrame;
|
|
299
299
|
function xe(t) {
|
|
300
300
|
if (t) {
|
|
301
301
|
var n = t._owner, u = fe(t.type, t._source, n ? n.type : null);
|
|
@@ -305,20 +305,20 @@ function aa() {
|
|
|
305
305
|
}
|
|
306
306
|
function rt(t, n, u, _, k) {
|
|
307
307
|
{
|
|
308
|
-
var
|
|
309
|
-
for (var
|
|
310
|
-
if (
|
|
311
|
-
var
|
|
308
|
+
var I = Function.call.bind(le);
|
|
309
|
+
for (var C in t)
|
|
310
|
+
if (I(t, C)) {
|
|
311
|
+
var y = void 0;
|
|
312
312
|
try {
|
|
313
|
-
if (typeof t[
|
|
314
|
-
var
|
|
315
|
-
throw
|
|
313
|
+
if (typeof t[C] != "function") {
|
|
314
|
+
var W = Error((_ || "React class") + ": " + u + " type `" + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[C] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
315
|
+
throw W.name = "Invariant Violation", W;
|
|
316
316
|
}
|
|
317
|
-
|
|
317
|
+
y = t[C](n, C, _, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
318
318
|
} catch (F) {
|
|
319
|
-
|
|
319
|
+
y = F;
|
|
320
320
|
}
|
|
321
|
-
|
|
321
|
+
y && !(y instanceof Error) && (xe(k), S("%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).", _ || "React class", u, C, typeof y), xe(null)), y instanceof Error && !(y.message in We) && (We[y.message] = !0, xe(k), S("Failed %s type: %s", u, y.message), xe(null));
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
@@ -346,7 +346,7 @@ function aa() {
|
|
|
346
346
|
if (Ce(t))
|
|
347
347
|
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ge(t)), Xe(t);
|
|
348
348
|
}
|
|
349
|
-
var Ne =
|
|
349
|
+
var Ne = N.ReactCurrentOwner, ot = {
|
|
350
350
|
key: !0,
|
|
351
351
|
ref: !0,
|
|
352
352
|
__self: !0,
|
|
@@ -393,54 +393,54 @@ function aa() {
|
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
var $e = function(t, n, u, _, k,
|
|
397
|
-
var
|
|
396
|
+
var $e = function(t, n, u, _, k, I, C) {
|
|
397
|
+
var y = {
|
|
398
398
|
// This tag allows us to uniquely identify this as a React Element
|
|
399
399
|
$$typeof: s,
|
|
400
400
|
// Built-in properties that belong on the element
|
|
401
401
|
type: t,
|
|
402
402
|
key: n,
|
|
403
403
|
ref: u,
|
|
404
|
-
props:
|
|
404
|
+
props: C,
|
|
405
405
|
// Record the component responsible for creating this element.
|
|
406
|
-
_owner:
|
|
406
|
+
_owner: I
|
|
407
407
|
};
|
|
408
|
-
return
|
|
408
|
+
return y._store = {}, Object.defineProperty(y._store, "validated", {
|
|
409
409
|
configurable: !1,
|
|
410
410
|
enumerable: !1,
|
|
411
411
|
writable: !0,
|
|
412
412
|
value: !1
|
|
413
|
-
}), Object.defineProperty(
|
|
413
|
+
}), Object.defineProperty(y, "_self", {
|
|
414
414
|
configurable: !1,
|
|
415
415
|
enumerable: !1,
|
|
416
416
|
writable: !1,
|
|
417
417
|
value: _
|
|
418
|
-
}), Object.defineProperty(
|
|
418
|
+
}), Object.defineProperty(y, "_source", {
|
|
419
419
|
configurable: !1,
|
|
420
420
|
enumerable: !1,
|
|
421
421
|
writable: !1,
|
|
422
422
|
value: k
|
|
423
|
-
}), Object.freeze && (Object.freeze(
|
|
423
|
+
}), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
|
|
424
424
|
};
|
|
425
425
|
function Ve(t, n, u, _, k) {
|
|
426
426
|
{
|
|
427
|
-
var
|
|
428
|
-
u !== void 0 && (_e(u),
|
|
429
|
-
for (
|
|
430
|
-
le.call(n,
|
|
427
|
+
var I, C = {}, y = null, W = null;
|
|
428
|
+
u !== void 0 && (_e(u), y = "" + u), et(n) && (_e(n.key), y = "" + n.key), jt(n) && (W = n.ref, Se(n, k));
|
|
429
|
+
for (I in n)
|
|
430
|
+
le.call(n, I) && !ot.hasOwnProperty(I) && (C[I] = n[I]);
|
|
431
431
|
if (t && t.defaultProps) {
|
|
432
432
|
var F = t.defaultProps;
|
|
433
|
-
for (
|
|
434
|
-
|
|
433
|
+
for (I in F)
|
|
434
|
+
C[I] === void 0 && (C[I] = F[I]);
|
|
435
435
|
}
|
|
436
|
-
if (
|
|
436
|
+
if (y || W) {
|
|
437
437
|
var O = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
438
|
-
|
|
438
|
+
y && Te(C, O), W && ke(C, O);
|
|
439
439
|
}
|
|
440
|
-
return $e(t,
|
|
440
|
+
return $e(t, y, W, k, _, Ne.current, C);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
var ze =
|
|
443
|
+
var ze = N.ReactCurrentOwner, tt = N.ReactDebugCurrentFrame;
|
|
444
444
|
function ee(t) {
|
|
445
445
|
if (t) {
|
|
446
446
|
var n = t._owner, u = fe(t.type, t._source, n ? n.type : null);
|
|
@@ -456,7 +456,7 @@ function aa() {
|
|
|
456
456
|
function b() {
|
|
457
457
|
{
|
|
458
458
|
if (ze.current) {
|
|
459
|
-
var t =
|
|
459
|
+
var t = H(ze.current.type);
|
|
460
460
|
if (t)
|
|
461
461
|
return `
|
|
462
462
|
|
|
@@ -465,7 +465,7 @@ Check the render method of \`` + t + "`.";
|
|
|
465
465
|
return "";
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
function
|
|
468
|
+
function A(t) {
|
|
469
469
|
return "";
|
|
470
470
|
}
|
|
471
471
|
var te = {};
|
|
@@ -491,7 +491,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
491
491
|
return;
|
|
492
492
|
te[u] = !0;
|
|
493
493
|
var _ = "";
|
|
494
|
-
t && t._owner && t._owner !== ze.current && (_ = " It was passed a child from " +
|
|
494
|
+
t && t._owner && t._owner !== ze.current && (_ = " It was passed a child from " + H(t._owner.type) + "."), ee(t), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, _), ee(null);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
function ue(t, n) {
|
|
@@ -508,8 +508,8 @@ Check the top-level render call using <` + u + ">.");
|
|
|
508
508
|
else if (t) {
|
|
509
509
|
var k = g(t);
|
|
510
510
|
if (typeof k == "function" && k !== t.entries)
|
|
511
|
-
for (var
|
|
512
|
-
de(
|
|
511
|
+
for (var I = k.call(t), C; !(C = I.next()).done; )
|
|
512
|
+
de(C.value) && ae(C.value, n);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
}
|
|
@@ -528,11 +528,11 @@ Check the top-level render call using <` + u + ">.");
|
|
|
528
528
|
else
|
|
529
529
|
return;
|
|
530
530
|
if (u) {
|
|
531
|
-
var _ =
|
|
531
|
+
var _ = H(n);
|
|
532
532
|
rt(u, t.props, "prop", _, t);
|
|
533
533
|
} else if (n.PropTypes !== void 0 && !ce) {
|
|
534
534
|
ce = !0;
|
|
535
|
-
var k =
|
|
535
|
+
var k = H(n);
|
|
536
536
|
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
|
|
537
537
|
}
|
|
538
538
|
typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -551,27 +551,27 @@ Check the top-level render call using <` + u + ">.");
|
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
var bt = {};
|
|
554
|
-
function yt(t, n, u, _, k,
|
|
554
|
+
function yt(t, n, u, _, k, I) {
|
|
555
555
|
{
|
|
556
|
-
var
|
|
557
|
-
if (!
|
|
558
|
-
var
|
|
559
|
-
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (
|
|
560
|
-
var
|
|
561
|
-
|
|
556
|
+
var C = he(t);
|
|
557
|
+
if (!C) {
|
|
558
|
+
var y = "";
|
|
559
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (y += " 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
|
+
var W = A();
|
|
561
|
+
W ? y += W : y += b();
|
|
562
562
|
var F;
|
|
563
|
-
t === null ? F = "null" : He(t) ? F = "array" : t !== void 0 && t.$$typeof === s ? (F = "<" + (
|
|
563
|
+
t === null ? F = "null" : He(t) ? F = "array" : t !== void 0 && t.$$typeof === s ? (F = "<" + (H(t.type) || "Unknown") + " />", y = " Did you accidentally export a JSX literal instead of a component?") : F = typeof t, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", F, y);
|
|
564
564
|
}
|
|
565
|
-
var O = Ve(t, n, u, k,
|
|
565
|
+
var O = Ve(t, n, u, k, I);
|
|
566
566
|
if (O == null)
|
|
567
567
|
return O;
|
|
568
|
-
if (
|
|
568
|
+
if (C) {
|
|
569
569
|
var J = n.children;
|
|
570
570
|
if (J !== void 0)
|
|
571
571
|
if (_)
|
|
572
572
|
if (He(J)) {
|
|
573
|
-
for (var
|
|
574
|
-
ue(J[
|
|
573
|
+
for (var Ie = 0; Ie < J.length; Ie++)
|
|
574
|
+
ue(J[Ie], t);
|
|
575
575
|
Object.freeze && Object.freeze(J);
|
|
576
576
|
} else
|
|
577
577
|
S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -579,11 +579,11 @@ Check the top-level render call using <` + u + ">.");
|
|
|
579
579
|
ue(J, t);
|
|
580
580
|
}
|
|
581
581
|
if (le.call(n, "key")) {
|
|
582
|
-
var je =
|
|
582
|
+
var je = H(t), V = Object.keys(n).filter(function(Qt) {
|
|
583
583
|
return Qt !== "key";
|
|
584
|
-
}), ct =
|
|
584
|
+
}), ct = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
585
585
|
if (!bt[je + ct]) {
|
|
586
|
-
var Xt =
|
|
586
|
+
var Xt = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
587
587
|
S(`A props object containing a "key" prop is being spread into JSX:
|
|
588
588
|
let props = %s;
|
|
589
589
|
<%s {...props} />
|
|
@@ -727,7 +727,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
727
727
|
}, Hr = ({
|
|
728
728
|
children: a
|
|
729
729
|
}) => {
|
|
730
|
-
const [s, l] =
|
|
730
|
+
const [s, l] = w(null), [d, c] = w(!1);
|
|
731
731
|
return /* @__PURE__ */ e.jsx(
|
|
732
732
|
$t.Provider,
|
|
733
733
|
{
|
|
@@ -751,7 +751,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
751
751
|
return { days: v, hours: p, minutes: f, seconds: x };
|
|
752
752
|
}
|
|
753
753
|
return { days: 0, hours: 0, minutes: 0, seconds: 0 };
|
|
754
|
-
}, [c, m] =
|
|
754
|
+
}, [c, m] = w({ days: 0, hours: 0, minutes: 0, seconds: 0 });
|
|
755
755
|
D(() => {
|
|
756
756
|
m(d());
|
|
757
757
|
const o = setInterval(() => {
|
|
@@ -913,7 +913,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
913
913
|
], Sa = {
|
|
914
914
|
sbox: "blog-admin-sbox.srimandir.com",
|
|
915
915
|
prod: "blog-admin.srimandir.com"
|
|
916
|
-
}, Ta = "?filters[slug][$eq]=dlp&fields[0]=yt_url&fields[1]=yt_video_id&fields[2]=slug&populate[dlp_cards][fields][0]=is_offering&populate[dlp_cards][fields][1]=title&populate[dlp_cards][fields][2]=price&populate[dlp_cards][fields][3]=location&populate[dlp_cards][fields][4]=date&populate[dlp_cards][fields][5]=deeplink&populate[dlp_cards][populate][img_url][fields][0]=url&pagination[limit]=1&pagination[start]=0", ka = 1500, Ea = 5e3,
|
|
916
|
+
}, Ta = "?filters[slug][$eq]=dlp&fields[0]=yt_url&fields[1]=yt_video_id&fields[2]=slug&populate[dlp_cards][fields][0]=is_offering&populate[dlp_cards][fields][1]=title&populate[dlp_cards][fields][2]=price&populate[dlp_cards][fields][3]=location&populate[dlp_cards][fields][4]=date&populate[dlp_cards][fields][5]=deeplink&populate[dlp_cards][populate][img_url][fields][0]=url&pagination[limit]=1&pagination[start]=0", ka = 1500, Ea = 5e3, Ia = 1200, Ra = {
|
|
917
917
|
autoplay: 1,
|
|
918
918
|
mute: 1,
|
|
919
919
|
controls: 0,
|
|
@@ -980,18 +980,18 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
980
980
|
analytics: d,
|
|
981
981
|
showToast: c
|
|
982
982
|
}) => {
|
|
983
|
-
const r = vt()?.t || ((T) => T), [o, h] =
|
|
983
|
+
const r = vt()?.t || ((T) => T), [o, h] = w(l ? "+1" : "+91"), [v, p] = w(!1), { setUserData: f, setShowSuccess: x } = Vt(), [j, L] = w(""), [E, g] = w(""), N = U(!1), S = `${o}-${E}`, z = Tt.find(
|
|
984
984
|
(T) => T.code === o
|
|
985
985
|
);
|
|
986
986
|
D(() => {
|
|
987
|
-
!
|
|
987
|
+
!N.current && d?.trackLandingPageViewed && (d.trackLandingPageViewed(), N.current = !0);
|
|
988
988
|
}, [d]);
|
|
989
989
|
const B = (T) => {
|
|
990
990
|
if (T.preventDefault(), !j || j.trim() === "") {
|
|
991
991
|
c?.("error", "Please enter your name");
|
|
992
992
|
return;
|
|
993
993
|
}
|
|
994
|
-
if (!
|
|
994
|
+
if (!E || E.length !== 10) {
|
|
995
995
|
c?.("error", "Please enter a valid 10-digit WhatsApp number");
|
|
996
996
|
return;
|
|
997
997
|
}
|
|
@@ -1035,7 +1035,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1035
1035
|
type: "text",
|
|
1036
1036
|
value: j,
|
|
1037
1037
|
onChange: (T) => {
|
|
1038
|
-
|
|
1038
|
+
L(T.target.value), T.target.value && !j && d?.trackNameFilled?.();
|
|
1039
1039
|
},
|
|
1040
1040
|
onFocus: () => d?.trackNameClicked?.(),
|
|
1041
1041
|
placeholder: r("namePlaceholder"),
|
|
@@ -1053,7 +1053,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1053
1053
|
{
|
|
1054
1054
|
onClick: () => p(!v),
|
|
1055
1055
|
className: `${St["sf-select"]} text-center text-[#614938] bg-[#F9F3EF] border-[#ECD4C2]`,
|
|
1056
|
-
children:
|
|
1056
|
+
children: z?.code
|
|
1057
1057
|
}
|
|
1058
1058
|
),
|
|
1059
1059
|
v && /* @__PURE__ */ e.jsx("div", { className: "absolute top-full left-0 w-full bg-white border border-[#D4C5B0] rounded-lg mt-1 shadow-lg z-50", children: Tt.map((T) => /* @__PURE__ */ e.jsxs(
|
|
@@ -1077,10 +1077,10 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1077
1077
|
"input",
|
|
1078
1078
|
{
|
|
1079
1079
|
type: "tel",
|
|
1080
|
-
value:
|
|
1080
|
+
value: E,
|
|
1081
1081
|
onChange: (T) => {
|
|
1082
1082
|
const Y = T.target.value.replace(/\D/g, "");
|
|
1083
|
-
g(Y), Y && !
|
|
1083
|
+
g(Y), Y && !E && d?.trackPhoneFilled?.();
|
|
1084
1084
|
},
|
|
1085
1085
|
onFocus: () => d?.trackPhoneClicked?.(),
|
|
1086
1086
|
placeholder: r("whatsappPlaceholder"),
|
|
@@ -1114,7 +1114,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1114
1114
|
] }, Y)) })
|
|
1115
1115
|
] }) })
|
|
1116
1116
|
] }) });
|
|
1117
|
-
}, Aa = "_successPage_8t8j5_1", Fa = "_profileImageContainer_8t8j5_7", Da = "_profileImage_8t8j5_7", Ba = "_greeting_8t8j5_19", Oa = "_jaiShreeRam_8t8j5_23", qa = "_userName_8t8j5_29", Ma = "_registrationCard_8t8j5_34", Ua = "_registeredText_8t8j5_48", Wa = "_eventName_8t8j5_53", Ha = "_eventDetails_8t8j5_61", $a = "_whatsappButton_8t8j5_66", Va = "_redirectInfo_8t8j5_75", za = "_redirectText_8t8j5_79", Ya = "_countdown_8t8j5_84", Ga = "_nextSteps_8t8j5_90", Ka = "_nextStepsTitle_8t8j5_96", Ja = "_stepsList_8t8j5_101", Za = "_step_8t8j5_101", Xa = "_stepNumber_8t8j5_109", Qa = "_stepText_8t8j5_113",
|
|
1117
|
+
}, Aa = "_successPage_8t8j5_1", Fa = "_profileImageContainer_8t8j5_7", Da = "_profileImage_8t8j5_7", Ba = "_greeting_8t8j5_19", Oa = "_jaiShreeRam_8t8j5_23", qa = "_userName_8t8j5_29", Ma = "_registrationCard_8t8j5_34", Ua = "_registeredText_8t8j5_48", Wa = "_eventName_8t8j5_53", Ha = "_eventDetails_8t8j5_61", $a = "_whatsappButton_8t8j5_66", Va = "_redirectInfo_8t8j5_75", za = "_redirectText_8t8j5_79", Ya = "_countdown_8t8j5_84", Ga = "_nextSteps_8t8j5_90", Ka = "_nextStepsTitle_8t8j5_96", Ja = "_stepsList_8t8j5_101", Za = "_step_8t8j5_101", Xa = "_stepNumber_8t8j5_109", Qa = "_stepText_8t8j5_113", R = {
|
|
1118
1118
|
successPage: Aa,
|
|
1119
1119
|
profileImageContainer: Fa,
|
|
1120
1120
|
profileImage: Da,
|
|
@@ -1135,7 +1135,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1135
1135
|
step: Za,
|
|
1136
1136
|
stepNumber: Xa,
|
|
1137
1137
|
stepText: Qa
|
|
1138
|
-
}, es = "918151810300", ts = "I'm interested in the Rasrajji Hanuman Jayanti Path",
|
|
1138
|
+
}, es = "918151810300", ts = "I'm interested in the Rasrajji Hanuman Jayanti Path", It = `https://wa.me/${es}?text=${encodeURIComponent(ts)}`, Vr = ({
|
|
1139
1139
|
userName: a = "Rahul",
|
|
1140
1140
|
eventName: s = "Hanuman Jayanti Maha Path",
|
|
1141
1141
|
eventDate: l = "2nd April",
|
|
@@ -1146,43 +1146,43 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1146
1146
|
showToast: o,
|
|
1147
1147
|
disableRedirect: h = !1
|
|
1148
1148
|
}) => {
|
|
1149
|
-
const p = vt()?.t || ((g) => g), { userData: f } = Vt(), [x, j] =
|
|
1149
|
+
const p = vt()?.t || ((g) => g), { userData: f } = Vt(), [x, j] = w(m), L = U(!1), E = f?.name || a;
|
|
1150
1150
|
return D(() => {
|
|
1151
|
-
!
|
|
1151
|
+
!L.current && r?.trackSuccessPageViewed && (r.trackSuccessPageViewed({
|
|
1152
1152
|
name: f?.name,
|
|
1153
1153
|
phone: f?.fullPhoneNumber
|
|
1154
|
-
}),
|
|
1154
|
+
}), L.current = !0);
|
|
1155
1155
|
}, [r, f?.name, f?.fullPhoneNumber]), D(() => {
|
|
1156
1156
|
if (!h)
|
|
1157
1157
|
if (x > 0) {
|
|
1158
1158
|
const g = setTimeout(() => j(x - 1), 1e3);
|
|
1159
1159
|
return () => clearTimeout(g);
|
|
1160
|
-
} else x === 0 && (window.location.href =
|
|
1161
|
-
}, [x, h]), /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className:
|
|
1162
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1160
|
+
} else x === 0 && (window.location.href = It);
|
|
1161
|
+
}, [x, h]), /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: R.successPage, children: [
|
|
1162
|
+
/* @__PURE__ */ e.jsx("div", { className: R.profileImageContainer, children: /* @__PURE__ */ e.jsx(
|
|
1163
1163
|
"img",
|
|
1164
1164
|
{
|
|
1165
1165
|
src: "https://srm-cdn.a4b.io/yoda/1774094253562.webp",
|
|
1166
1166
|
alt: "Profile",
|
|
1167
|
-
className:
|
|
1167
|
+
className: R.profileImage,
|
|
1168
1168
|
width: 88,
|
|
1169
1169
|
height: 88,
|
|
1170
1170
|
loading: "eager"
|
|
1171
1171
|
}
|
|
1172
1172
|
) }),
|
|
1173
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1174
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1175
|
-
/* @__PURE__ */ e.jsxs("h1", { className:
|
|
1173
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.greeting, children: [
|
|
1174
|
+
/* @__PURE__ */ e.jsx("p", { className: R.jaiShreeRam, children: p("jaiShreeRam") }),
|
|
1175
|
+
/* @__PURE__ */ e.jsxs("h1", { className: R.userName, children: [
|
|
1176
1176
|
p("namaste"),
|
|
1177
1177
|
", ",
|
|
1178
|
-
|
|
1178
|
+
E,
|
|
1179
1179
|
" Ji"
|
|
1180
1180
|
] })
|
|
1181
1181
|
] }),
|
|
1182
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1183
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1184
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
1185
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
1182
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.registrationCard, children: [
|
|
1183
|
+
/* @__PURE__ */ e.jsx("p", { className: R.registeredText, children: p("registeredFor") }),
|
|
1184
|
+
/* @__PURE__ */ e.jsx("h2", { className: R.eventName, children: s }),
|
|
1185
|
+
/* @__PURE__ */ e.jsxs("p", { className: R.eventDetails, children: [
|
|
1186
1186
|
l,
|
|
1187
1187
|
" · ",
|
|
1188
1188
|
d
|
|
@@ -1191,43 +1191,43 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1191
1191
|
/* @__PURE__ */ e.jsx(
|
|
1192
1192
|
"button",
|
|
1193
1193
|
{
|
|
1194
|
-
className:
|
|
1194
|
+
className: R.whatsappButton,
|
|
1195
1195
|
onClick: () => {
|
|
1196
1196
|
r?.trackWhatsappBtnClicked?.(), o?.("success", "Redirecting to WhatsApp..."), setTimeout(() => {
|
|
1197
|
-
window.location.href =
|
|
1197
|
+
window.location.href = It;
|
|
1198
1198
|
}, 500), c?.();
|
|
1199
1199
|
},
|
|
1200
1200
|
type: "button",
|
|
1201
1201
|
children: p("sendlinkonwhatsapp")
|
|
1202
1202
|
}
|
|
1203
1203
|
),
|
|
1204
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1205
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1206
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
1204
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.redirectInfo, children: [
|
|
1205
|
+
/* @__PURE__ */ e.jsx("p", { className: R.redirectText, children: p("redirectingIn") }),
|
|
1206
|
+
/* @__PURE__ */ e.jsxs("p", { className: R.countdown, children: [
|
|
1207
1207
|
x.toString().padStart(2, "0"),
|
|
1208
1208
|
" ",
|
|
1209
1209
|
p("seconds")
|
|
1210
1210
|
] })
|
|
1211
1211
|
] }),
|
|
1212
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1213
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
1214
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1215
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1216
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1217
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1212
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.nextSteps, children: [
|
|
1213
|
+
/* @__PURE__ */ e.jsx("h3", { className: R.nextStepsTitle, children: p("whatHappensNext") }),
|
|
1214
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.stepsList, children: [
|
|
1215
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.step, children: [
|
|
1216
|
+
/* @__PURE__ */ e.jsx("span", { className: R.stepNumber, children: "1" }),
|
|
1217
|
+
/* @__PURE__ */ e.jsx("p", { className: R.stepText, children: p("step1") })
|
|
1218
1218
|
] }),
|
|
1219
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1220
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1221
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1219
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.step, children: [
|
|
1220
|
+
/* @__PURE__ */ e.jsx("span", { className: R.stepNumber, children: "2" }),
|
|
1221
|
+
/* @__PURE__ */ e.jsx("p", { className: R.stepText, children: p("step2") })
|
|
1222
1222
|
] }),
|
|
1223
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1224
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1225
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1223
|
+
/* @__PURE__ */ e.jsxs("div", { className: R.step, children: [
|
|
1224
|
+
/* @__PURE__ */ e.jsx("span", { className: R.stepNumber, children: "3" }),
|
|
1225
|
+
/* @__PURE__ */ e.jsx("p", { className: R.stepText, children: p("step3") })
|
|
1226
1226
|
] })
|
|
1227
1227
|
] })
|
|
1228
1228
|
] })
|
|
1229
1229
|
] }) });
|
|
1230
|
-
}, as = "_container_qiuai_2", ss = "_video_qiuai_26", ns = "_videoFullscreenWithBelowBanner_qiuai_38", rs = "_banner_qiuai_45", is = "_bannerCard_qiuai_62", os = "_bannerTitle_qiuai_71", ls = "_pujaTopTitle_qiuai_97", cs = "_landscapeHeader_qiuai_120", ds = "_scroll_qiuai_140", us = "_landscapeScroll_qiuai_148", ps = "_card_qiuai_156", hs = "_divider_qiuai_178", ms = "_chat_qiuai_187", fs = "_iframe_qiuai_194", xs = "_fullscreenBtn_qiuai_201", gs = "_fullscreenChatPanel_qiuai_299", _s = "_chatLoader_qiuai_315", vs = "_chatLoaderCompact_qiuai_328", js = "_spinner_qiuai_332", bs = "_chatLoaderText_qiuai_346", ys = "_imageWrapper_qiuai_361", ws = "_image_qiuai_361", Cs = "_addBtn_qiuai_378", Ns = "_title_qiuai_391", Ss = "_price_qiuai_402", Ts = "_priceRow_qiuai_412", ks = "_landscapeCard_qiuai_436", Es = "_landscapeImageWrapper_qiuai_458",
|
|
1230
|
+
}, as = "_container_qiuai_2", ss = "_video_qiuai_26", ns = "_videoFullscreenWithBelowBanner_qiuai_38", rs = "_banner_qiuai_45", is = "_bannerCard_qiuai_62", os = "_bannerTitle_qiuai_71", ls = "_pujaTopTitle_qiuai_97", cs = "_landscapeHeader_qiuai_120", ds = "_scroll_qiuai_140", us = "_landscapeScroll_qiuai_148", ps = "_card_qiuai_156", hs = "_divider_qiuai_178", ms = "_chat_qiuai_187", fs = "_iframe_qiuai_194", xs = "_fullscreenBtn_qiuai_201", gs = "_fullscreenChatPanel_qiuai_299", _s = "_chatLoader_qiuai_315", vs = "_chatLoaderCompact_qiuai_328", js = "_spinner_qiuai_332", bs = "_chatLoaderText_qiuai_346", ys = "_imageWrapper_qiuai_361", ws = "_image_qiuai_361", Cs = "_addBtn_qiuai_378", Ns = "_title_qiuai_391", Ss = "_price_qiuai_402", Ts = "_priceRow_qiuai_412", ks = "_landscapeCard_qiuai_436", Es = "_landscapeImageWrapper_qiuai_458", Is = "_landscapeImage_qiuai_458", Rs = "_landscapeContent_qiuai_475", Ps = "_landscapeTitle_qiuai_486", Ls = "_landscapePriceRow_qiuai_500", As = "_landscapePrice_qiuai_500", Fs = "_landscapeAdd_qiuai_550", Ds = "_carousel_qiuai_615", Bs = "_carouselLoader_qiuai_633", Os = "_customSheetOverlay_qiuai_641", qs = "_customSheet_qiuai_641", Ms = "_customSheetTitle_qiuai_662", Us = "_customSheetRow_qiuai_672", Ws = "_customInputWrap_qiuai_678", Hs = "_currencySymbol_qiuai_684", $s = "_customInput_qiuai_678", Vs = "_customContinueBtn_qiuai_713", zs = "_pujaBanner_qiuai_835", Ys = "_pujaWrapperVertical_qiuai_847", Gs = "_pujaCardVertical_qiuai_864", Ks = "_pujaImage_qiuai_880", Js = "_pujaContent_qiuai_890", Zs = "_pujaTitle_qiuai_896", Xs = "_pujaSub_qiuai_911", Qs = "_locationIcon_qiuai_928", en = "_dateIcon_qiuai_934", tn = "_pujaTrustmakers_qiuai_941", an = "_pujaMetaText_qiuai_958", sn = "_pujaCardHorizontal_qiuai_967", nn = "_pujaImageHorizontal_qiuai_984", rn = "_pujaContentHorizontal_qiuai_994", on = "_pujaTitleHorizontal_qiuai_1024", ln = "_pujaSubHorizontal_qiuai_1039", cn = "_stickyTabs_qiuai_1056", dn = "_landscapeLayout_qiuai_1064", un = "_landscapeLeft_qiuai_1072", pn = "_landscapeRight_qiuai_1079", hn = "_landscapePanelHeader_qiuai_1089", mn = "_landscapeCloseBtn_qiuai_1097", fn = "_landscapePanelBody_qiuai_1115", xn = "_landscapeChat_qiuai_1122", gn = "_fullscreenPanelHeader_qiuai_1129", _n = "_fullscreenChatCloseBtn_qiuai_1137", vn = "_fullscreenPanelScroll_qiuai_1157", jn = "_sectionsScroll_qiuai_1238", bn = "_fullscreenWithPanel_qiuai_1247", yn = "_fullscreenLeft_qiuai_1257", wn = "_fullscreenVideoArea_qiuai_1266", i = {
|
|
1231
1231
|
container: as,
|
|
1232
1232
|
video: ss,
|
|
1233
1233
|
videoFullscreenWithBelowBanner: ns,
|
|
@@ -1256,8 +1256,8 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1256
1256
|
priceRow: Ts,
|
|
1257
1257
|
landscapeCard: ks,
|
|
1258
1258
|
landscapeImageWrapper: Es,
|
|
1259
|
-
landscapeImage:
|
|
1260
|
-
landscapeContent:
|
|
1259
|
+
landscapeImage: Is,
|
|
1260
|
+
landscapeContent: Rs,
|
|
1261
1261
|
landscapeTitle: Ps,
|
|
1262
1262
|
landscapePriceRow: Ls,
|
|
1263
1263
|
landscapePrice: As,
|
|
@@ -1392,13 +1392,13 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1392
1392
|
]
|
|
1393
1393
|
}
|
|
1394
1394
|
) });
|
|
1395
|
-
}, Sn = "_header_u6i0u_1", Tn = "_leftBlock_u6i0u_5", kn = "_logo_u6i0u_9", En = "_titleBlock_u6i0u_13",
|
|
1395
|
+
}, Sn = "_header_u6i0u_1", Tn = "_leftBlock_u6i0u_5", kn = "_logo_u6i0u_9", En = "_titleBlock_u6i0u_13", In = "_title_u6i0u_13", Rn = "_subtitle_u6i0u_21", Pn = "_tags_u6i0u_25", Ln = "_liveTag_u6i0u_29", An = "_liveDot_u6i0u_33", Fn = "_daysTag_u6i0u_37", se = {
|
|
1396
1396
|
header: Sn,
|
|
1397
1397
|
leftBlock: Tn,
|
|
1398
1398
|
logo: kn,
|
|
1399
1399
|
titleBlock: En,
|
|
1400
|
-
title:
|
|
1401
|
-
subtitle:
|
|
1400
|
+
title: In,
|
|
1401
|
+
subtitle: Rn,
|
|
1402
1402
|
tags: Pn,
|
|
1403
1403
|
liveTag: Ln,
|
|
1404
1404
|
liveDot: An,
|
|
@@ -1430,7 +1430,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1430
1430
|
iconWrap: Mn,
|
|
1431
1431
|
label: Un,
|
|
1432
1432
|
dot: Wn
|
|
1433
|
-
},
|
|
1433
|
+
}, Rt = [
|
|
1434
1434
|
{ id: "devotees", label: "1.2L+ Devotees" },
|
|
1435
1435
|
{ id: "rating", label: "4.9 Rating" },
|
|
1436
1436
|
{ id: "verified", label: "Verified Pandit" }
|
|
@@ -1536,14 +1536,14 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1536
1536
|
devotees: $n,
|
|
1537
1537
|
rating: Hn,
|
|
1538
1538
|
verified: Yt
|
|
1539
|
-
}, zn = () => /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsx("div", { className: Ke.wrapper, children:
|
|
1539
|
+
}, zn = () => /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsx("div", { className: Ke.wrapper, children: Rt.map((a, s) => {
|
|
1540
1540
|
const l = Vn[a.id] || Yt;
|
|
1541
1541
|
return /* @__PURE__ */ e.jsxs(xt.Fragment, { children: [
|
|
1542
1542
|
/* @__PURE__ */ e.jsxs("div", { className: Ke.marker, children: [
|
|
1543
1543
|
/* @__PURE__ */ e.jsx("span", { className: Ke.iconWrap, children: /* @__PURE__ */ e.jsx(l, {}) }),
|
|
1544
1544
|
/* @__PURE__ */ e.jsx("span", { className: Ke.label, children: a.label })
|
|
1545
1545
|
] }),
|
|
1546
|
-
s <
|
|
1546
|
+
s < Rt.length - 1 && /* @__PURE__ */ e.jsx("span", { className: Ke.dot, "aria-hidden": "true", children: "•" })
|
|
1547
1547
|
] }, a.id);
|
|
1548
1548
|
}) }) }), Yn = "_root_ble2n_1", Gn = "_highlights_ble2n_5", Kn = "_highlightColumn_ble2n_9", Jn = "_highlightItem_ble2n_13", Zn = "_highlightTick_ble2n_18", Xn = "_section_ble2n_22", Qn = "_sectionTitle_ble2n_26", er = "_benefitsList_ble2n_30", tr = "_benefitItem_ble2n_34", ar = "_benefitIcon_ble2n_38", sr = "_benefitTitle_ble2n_42", nr = "_benefitDesc_ble2n_46", rr = "_testimonialsScroll_ble2n_50", ir = "_testimonialCard_ble2n_54", or = "_testimonialHeader_ble2n_58", lr = "_avatar_ble2n_62", cr = "_name_ble2n_66", dr = "_location_ble2n_70", ur = "_stars_ble2n_74", pr = "_quote_ble2n_78", hr = "_readMore_ble2n_82", P = {
|
|
1549
1549
|
root: Yn,
|
|
@@ -1804,7 +1804,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1804
1804
|
storeCardsHeaders: d,
|
|
1805
1805
|
storeCardsLimit: c = 8
|
|
1806
1806
|
}) => {
|
|
1807
|
-
const [m, r] =
|
|
1807
|
+
const [m, r] = w([]);
|
|
1808
1808
|
return D(() => {
|
|
1809
1809
|
if (!s?.pujaWeb?.getFeedPageV2)
|
|
1810
1810
|
return;
|
|
@@ -1838,7 +1838,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1838
1838
|
)
|
|
1839
1839
|
] }) }) : null;
|
|
1840
1840
|
}, Sr = "sm_dlp_premium", Lt = {
|
|
1841
|
-
|
|
1841
|
+
"Accept-Language": "en"
|
|
1842
1842
|
}, Tr = ({
|
|
1843
1843
|
storeId: a,
|
|
1844
1844
|
inventoryId: s,
|
|
@@ -1846,32 +1846,32 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1846
1846
|
enabled: d = !0,
|
|
1847
1847
|
apiBaseInstance: c
|
|
1848
1848
|
}) => {
|
|
1849
|
-
const [m, r] =
|
|
1849
|
+
const [m, r] = w(null), [o, h] = w(null), [v, p] = w(
|
|
1850
1850
|
null
|
|
1851
|
-
), [f, x] =
|
|
1851
|
+
), [f, x] = w(
|
|
1852
1852
|
!!(d && a && s)
|
|
1853
|
-
), [j,
|
|
1853
|
+
), [j, L] = w(null), E = gt(
|
|
1854
1854
|
() => !!(d && a && s),
|
|
1855
1855
|
[d, s, a]
|
|
1856
1856
|
), g = _t(async () => {
|
|
1857
|
-
if (!
|
|
1857
|
+
if (!E) {
|
|
1858
1858
|
x(!1);
|
|
1859
1859
|
return;
|
|
1860
1860
|
}
|
|
1861
1861
|
try {
|
|
1862
|
-
x(!0),
|
|
1863
|
-
let
|
|
1862
|
+
x(!0), L(null);
|
|
1863
|
+
let N;
|
|
1864
1864
|
if (c?.get) {
|
|
1865
|
-
const
|
|
1866
|
-
|
|
1867
|
-
|
|
1865
|
+
const z = `/gw2/yoda/external/v1/subscriptions/stores/${a}/inventory/${s}`;
|
|
1866
|
+
N = (await c.get(
|
|
1867
|
+
z,
|
|
1868
1868
|
{
|
|
1869
1869
|
params: { onboarding_type: l },
|
|
1870
1870
|
headers: Lt
|
|
1871
1871
|
}
|
|
1872
1872
|
))?.data;
|
|
1873
1873
|
} else {
|
|
1874
|
-
const
|
|
1874
|
+
const z = new URLSearchParams({ onboarding_type: l }), B = `/gw2/yoda/external/v1/subscriptions/stores/${a}/inventory/${s}?${z.toString()}`, T = await fetch(B, {
|
|
1875
1875
|
method: "GET",
|
|
1876
1876
|
credentials: "include",
|
|
1877
1877
|
headers: Lt
|
|
@@ -1880,18 +1880,18 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1880
1880
|
throw new Error(
|
|
1881
1881
|
`Subscription onboarding API failed with status ${T.status}`
|
|
1882
1882
|
);
|
|
1883
|
-
|
|
1883
|
+
N = await T.json();
|
|
1884
1884
|
}
|
|
1885
|
-
const S =
|
|
1885
|
+
const S = N?.data;
|
|
1886
1886
|
r(S?.subscription_info ?? null), h(S?.trial_subscription_data ?? null), p(S?.onboarding_data ?? null);
|
|
1887
|
-
} catch (
|
|
1888
|
-
r(null), h(null), p(null),
|
|
1889
|
-
|
|
1887
|
+
} catch (N) {
|
|
1888
|
+
r(null), h(null), p(null), L(
|
|
1889
|
+
N instanceof Error ? N : new Error("Failed to fetch subscription onboarding data")
|
|
1890
1890
|
);
|
|
1891
1891
|
} finally {
|
|
1892
1892
|
x(!1);
|
|
1893
1893
|
}
|
|
1894
|
-
}, [c, s, l,
|
|
1894
|
+
}, [c, s, l, E, a]);
|
|
1895
1895
|
return D(() => {
|
|
1896
1896
|
g();
|
|
1897
1897
|
}, [g]), {
|
|
@@ -1915,10 +1915,10 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1915
1915
|
onboardingType: l,
|
|
1916
1916
|
apiBaseInstance: d,
|
|
1917
1917
|
enabled: !!(a && s)
|
|
1918
|
-
}), o = m?.colors?.bg_color_1 || "#340d10", h = m?.colors?.bg_color_2 || "#5f181d", v = m?.tag?.text || ga, p = m?.tag?.bg_color || "#f8a84a", f = m?.tag?.text_color || "#3d1c02", x = m?.header || _a, j = m?.description || va,
|
|
1918
|
+
}), o = m?.colors?.bg_color_1 || "#340d10", h = m?.colors?.bg_color_2 || "#5f181d", v = m?.tag?.text || ga, p = m?.tag?.bg_color || "#f8a84a", f = m?.tag?.text_color || "#3d1c02", x = m?.header || _a, j = m?.description || va, L = m?.info_list && m.info_list.length > 0 ? m.info_list : [
|
|
1919
1919
|
{ text: ja, description: "", icon_url: "" },
|
|
1920
1920
|
{ text: ba, description: "", icon_url: "" }
|
|
1921
|
-
],
|
|
1921
|
+
], E = m?.media?.media_url || ya, g = r?.currency_code || "₹", N = r?.effective_amount ?? r?.subscription_amount, S = r?.subscription_amount, z = r?.period ? `/ ${r.period}` : wa, B = m?.cta, T = B?.visible ?? !0, Y = B?.text || Ca, Q = B?.text_color || "#ffffff", ne = B?.stroke_color || "transparent", ie = B?.color || "#f97e4e", he = B?.color_2 || "#f75e22", me = () => {
|
|
1922
1922
|
if (c?.(), c)
|
|
1923
1923
|
return;
|
|
1924
1924
|
const M = B?.action_attr?.deeplink;
|
|
@@ -1947,7 +1947,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1947
1947
|
),
|
|
1948
1948
|
/* @__PURE__ */ e.jsx("h2", { className: "text-[24px] font-bold leading-[34px] m-0", children: x }),
|
|
1949
1949
|
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-[16px] opacity-75 m-0", children: j }),
|
|
1950
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-2 pt-2 text-[12px]", children:
|
|
1950
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-2 pt-2 text-[12px]", children: L.map((M, H) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-2", children: [
|
|
1951
1951
|
M.icon_url ? /* @__PURE__ */ e.jsx(
|
|
1952
1952
|
"img",
|
|
1953
1953
|
{
|
|
@@ -1961,25 +1961,25 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
1961
1961
|
M.text,
|
|
1962
1962
|
M.description ? ` ${M.description}` : ""
|
|
1963
1963
|
] })
|
|
1964
|
-
] }, `${M.text || "feature"}-${
|
|
1964
|
+
] }, `${M.text || "feature"}-${H}`)) }),
|
|
1965
1965
|
/* @__PURE__ */ e.jsx(
|
|
1966
1966
|
"div",
|
|
1967
1967
|
{
|
|
1968
1968
|
className: "absolute right-4 bottom-[120px] select-none",
|
|
1969
1969
|
"aria-hidden": "true",
|
|
1970
|
-
children: /* @__PURE__ */ e.jsx("img", { src:
|
|
1970
|
+
children: /* @__PURE__ */ e.jsx("img", { src: E, alt: "" })
|
|
1971
1971
|
}
|
|
1972
1972
|
),
|
|
1973
1973
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 pt-3 text-[#f8a84a]", children: [
|
|
1974
|
-
typeof
|
|
1974
|
+
typeof N == "number" && /* @__PURE__ */ e.jsxs("span", { className: "text-[32px] font-bold leading-[44px]", children: [
|
|
1975
1975
|
g,
|
|
1976
|
-
|
|
1976
|
+
N
|
|
1977
1977
|
] }),
|
|
1978
|
-
typeof S == "number" && typeof
|
|
1978
|
+
typeof S == "number" && typeof N == "number" && S > N && /* @__PURE__ */ e.jsxs("span", { className: "text-[14px] line-through text-white/60 font-semibold", children: [
|
|
1979
1979
|
g,
|
|
1980
1980
|
S
|
|
1981
1981
|
] }),
|
|
1982
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] text-white/60", children:
|
|
1982
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] text-white/60", children: z })
|
|
1983
1983
|
] }),
|
|
1984
1984
|
T && /* @__PURE__ */ e.jsxs(
|
|
1985
1985
|
"button",
|
|
@@ -2037,7 +2037,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2037
2037
|
};
|
|
2038
2038
|
}), m = (c.length ? c : zt).sort((r, o) => Number(r.isCustom) - Number(o.isCustom));
|
|
2039
2039
|
return { pujaCard: d, offeringCards: m };
|
|
2040
|
-
}, Er = (a) => `https://${Sa[a]}/api/dlps${Ta}`,
|
|
2040
|
+
}, Er = (a) => `https://${Sa[a]}/api/dlps${Ta}`, Ir = (a = fetch) => ({
|
|
2041
2041
|
getDlpContent: async (l, d) => {
|
|
2042
2042
|
const c = await a(Er(l), { signal: d });
|
|
2043
2043
|
if (!c.ok)
|
|
@@ -2048,11 +2048,11 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2048
2048
|
normalized: kr(r?.dlp_cards)
|
|
2049
2049
|
};
|
|
2050
2050
|
}
|
|
2051
|
-
}),
|
|
2051
|
+
}), Rr = ({
|
|
2052
2052
|
initialVideoId: a,
|
|
2053
2053
|
contentEnvironment: s
|
|
2054
2054
|
}) => {
|
|
2055
|
-
const [l, d] =
|
|
2055
|
+
const [l, d] = w(a), [c, m] = w(pe), [r, o] = w(zt), [h, v] = w(!0), p = gt(() => Ir(), []);
|
|
2056
2056
|
D(() => {
|
|
2057
2057
|
d(a);
|
|
2058
2058
|
}, [a]);
|
|
@@ -2060,11 +2060,11 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2060
2060
|
async (x) => {
|
|
2061
2061
|
v(!0);
|
|
2062
2062
|
try {
|
|
2063
|
-
const { attributes: j, normalized:
|
|
2063
|
+
const { attributes: j, normalized: L } = await p.getDlpContent(
|
|
2064
2064
|
s,
|
|
2065
2065
|
x
|
|
2066
2066
|
);
|
|
2067
|
-
j?.yt_video_id && d(j.yt_video_id), m(
|
|
2067
|
+
j?.yt_video_id && d(j.yt_video_id), m(L.pujaCard), o(L.offeringCards);
|
|
2068
2068
|
} catch (j) {
|
|
2069
2069
|
x?.aborted || console.error("Failed to fetch DLP cards", j);
|
|
2070
2070
|
} finally {
|
|
@@ -2095,7 +2095,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2095
2095
|
enabled: s = !0,
|
|
2096
2096
|
apiBaseInstance: l
|
|
2097
2097
|
}) => {
|
|
2098
|
-
const [d, c] =
|
|
2098
|
+
const [d, c] = w(!1), [m, r] = w(null), [o, h] = w(!!s), [v, p] = w(null), f = gt(() => !!(s && a), [
|
|
2099
2099
|
s,
|
|
2100
2100
|
a
|
|
2101
2101
|
]), x = _t(async () => {
|
|
@@ -2105,36 +2105,30 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2105
2105
|
}
|
|
2106
2106
|
try {
|
|
2107
2107
|
h(!0), p(null), c(!1), r(null);
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2108
|
+
let j;
|
|
2109
|
+
if (l?.get)
|
|
2110
|
+
j = (await l.get(
|
|
2111
|
+
`/gw3/yoda/external/v1/subscriptions/${a}`
|
|
2112
|
+
))?.data;
|
|
2113
|
+
else {
|
|
2114
|
+
const E = await fetch(
|
|
2115
|
+
`/gw3/yoda/external/v1/subscriptions/${a}`,
|
|
2116
|
+
{
|
|
2117
|
+
method: "GET",
|
|
2118
|
+
credentials: "include"
|
|
2119
|
+
}
|
|
2120
|
+
);
|
|
2121
|
+
if (!E.ok)
|
|
2122
|
+
throw new Error(
|
|
2123
|
+
`Subscription status API failed with status ${E.status}`
|
|
2122
2124
|
);
|
|
2123
|
-
|
|
2124
|
-
throw new Error(
|
|
2125
|
-
`Subscription status API failed with status ${y.status}`
|
|
2126
|
-
);
|
|
2127
|
-
R = await y.json();
|
|
2128
|
-
}
|
|
2129
|
-
const A = Lr(R).find((g) => {
|
|
2130
|
-
const y = g?.status?.toLowerCase(), S = g?.service_type?.toLowerCase(), W = !S || S === a.toLowerCase();
|
|
2131
|
-
return y === j && W;
|
|
2132
|
-
});
|
|
2133
|
-
if (A) {
|
|
2134
|
-
c(!0), r(A);
|
|
2135
|
-
break;
|
|
2136
|
-
}
|
|
2125
|
+
j = await E.json();
|
|
2137
2126
|
}
|
|
2127
|
+
const L = Lr(j).find((E) => {
|
|
2128
|
+
const g = E?.status?.trim().toLowerCase(), N = E?.service_type?.toLowerCase(), S = !N || N === a.toLowerCase();
|
|
2129
|
+
return !g || g === "completed" || g === "cancelled" ? !1 : Ft.includes(g) && S;
|
|
2130
|
+
});
|
|
2131
|
+
L && (c(!0), r(L));
|
|
2138
2132
|
} catch (j) {
|
|
2139
2133
|
c(!1), r(null), p(
|
|
2140
2134
|
j instanceof Error ? j : new Error("Failed to fetch subscription status")
|
|
@@ -2154,7 +2148,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2154
2148
|
refetch: x
|
|
2155
2149
|
};
|
|
2156
2150
|
}, Fr = (a, s) => {
|
|
2157
|
-
const [l, d] =
|
|
2151
|
+
const [l, d] = w("LOADING"), c = U(null), m = U(null);
|
|
2158
2152
|
return D(() => {
|
|
2159
2153
|
if (!a || typeof window > "u")
|
|
2160
2154
|
return;
|
|
@@ -2182,7 +2176,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2182
2176
|
}, v = () => {
|
|
2183
2177
|
!document.getElementById(s) || !window.YT?.Player || r || (c.current?.destroy?.(), o(), c.current = new window.YT.Player(s, {
|
|
2184
2178
|
videoId: a,
|
|
2185
|
-
playerVars:
|
|
2179
|
+
playerVars: Ra,
|
|
2186
2180
|
events: {
|
|
2187
2181
|
onReady: () => {
|
|
2188
2182
|
try {
|
|
@@ -2193,7 +2187,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2193
2187
|
f
|
|
2194
2188
|
);
|
|
2195
2189
|
}
|
|
2196
|
-
h(), setTimeout(h,
|
|
2190
|
+
h(), setTimeout(h, Ia), m.current = setInterval(
|
|
2197
2191
|
h,
|
|
2198
2192
|
Ea
|
|
2199
2193
|
);
|
|
@@ -2237,23 +2231,23 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2237
2231
|
onStoreCardClick: f,
|
|
2238
2232
|
a4bApi: x,
|
|
2239
2233
|
storeCardsPage: j,
|
|
2240
|
-
storeCardsHeaders:
|
|
2241
|
-
storeCardsLimit:
|
|
2234
|
+
storeCardsHeaders: L,
|
|
2235
|
+
storeCardsLimit: E,
|
|
2242
2236
|
onShare: g,
|
|
2243
|
-
showSubscription:
|
|
2237
|
+
showSubscription: N = !1,
|
|
2244
2238
|
onSubscribe: S,
|
|
2245
|
-
subscriptionStoreId:
|
|
2239
|
+
subscriptionStoreId: z,
|
|
2246
2240
|
subscriptionInventoryId: B,
|
|
2247
2241
|
subscriptionOnboardingType: T = "sm_dlp_premium"
|
|
2248
2242
|
}) => {
|
|
2249
|
-
const [Y, Q] =
|
|
2243
|
+
const [Y, Q] = w("streaks"), [ne, ie] = w("chat"), he = U(null), me = U(null), M = U(null), H = U(null), G = U(null), oe = {
|
|
2250
2244
|
streaks: he,
|
|
2251
2245
|
share: me,
|
|
2252
2246
|
store: M,
|
|
2253
|
-
subscription:
|
|
2247
|
+
subscription: H
|
|
2254
2248
|
}, Pe = (b) => {
|
|
2255
|
-
const
|
|
2256
|
-
!
|
|
2249
|
+
const A = oe[b].current, te = G.current;
|
|
2250
|
+
!A || !te || te.scrollTo({ top: A.offsetTop, behavior: "smooth" });
|
|
2257
2251
|
}, K = Y === "chat", Le = K ? "streaks" : Y, Ae = U(null), Fe = U(null), De = U(null), Be = U(null), Oe = U(null), Je = U(null), Ze = {
|
|
2258
2252
|
streaks: Ae,
|
|
2259
2253
|
share: Fe,
|
|
@@ -2261,15 +2255,15 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2261
2255
|
subscription: Be
|
|
2262
2256
|
}, { isSubscribed: qe } = Ar({
|
|
2263
2257
|
subscriptionType: T,
|
|
2264
|
-
enabled:
|
|
2258
|
+
enabled: N,
|
|
2265
2259
|
apiBaseInstance: x?.apiInstance
|
|
2266
|
-
}),
|
|
2260
|
+
}), $ = N && !qe;
|
|
2267
2261
|
D(() => {
|
|
2268
2262
|
if (K) return;
|
|
2269
2263
|
const b = requestAnimationFrame(() => {
|
|
2270
|
-
const
|
|
2271
|
-
if (!
|
|
2272
|
-
const te =
|
|
2264
|
+
const A = Je.current;
|
|
2265
|
+
if (!A) return;
|
|
2266
|
+
const te = $ ? ["streaks", "share", "store", "subscription"] : ["streaks", "share", "store"], re = [];
|
|
2273
2267
|
return te.forEach((ae) => {
|
|
2274
2268
|
const ue = Ze[ae].current;
|
|
2275
2269
|
if (!ue) return;
|
|
@@ -2277,13 +2271,13 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2277
2271
|
([lt]) => {
|
|
2278
2272
|
lt.isIntersecting && Q(ae);
|
|
2279
2273
|
},
|
|
2280
|
-
{ root:
|
|
2274
|
+
{ root: A, rootMargin: "-10% 0px -60% 0px", threshold: 0 }
|
|
2281
2275
|
);
|
|
2282
2276
|
Ee.observe(ue), re.push(Ee);
|
|
2283
2277
|
}), () => re.forEach((ae) => ae.disconnect());
|
|
2284
2278
|
});
|
|
2285
2279
|
return () => cancelAnimationFrame(b);
|
|
2286
|
-
}, [
|
|
2280
|
+
}, [$, K]);
|
|
2287
2281
|
const be = (b) => {
|
|
2288
2282
|
Q(b), setTimeout(() => {
|
|
2289
2283
|
Ze[b].current?.scrollIntoView({
|
|
@@ -2291,16 +2285,16 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2291
2285
|
block: "start"
|
|
2292
2286
|
});
|
|
2293
2287
|
}, 50);
|
|
2294
|
-
}, ye = () => Q("chat"), [q, Me] =
|
|
2288
|
+
}, ye = () => Q("chat"), [q, Me] = w(!1), [Z, Ue] = w(!1), [we, fe] = w(!0), [le, We] = w(!1), [X, xe] = w(!1), [rt, it] = w(""), { apiVideoId: He, pujaCard: ge, offeringCards: Ce, isDlpLoading: Xe } = Rr({
|
|
2295
2289
|
initialVideoId: a,
|
|
2296
2290
|
contentEnvironment: d
|
|
2297
|
-
}), [_e, Ne] =
|
|
2291
|
+
}), [_e, Ne] = w(null);
|
|
2298
2292
|
D(() => {
|
|
2299
2293
|
if (K) return;
|
|
2300
2294
|
const b = G.current;
|
|
2301
2295
|
if (!b) return;
|
|
2302
|
-
const
|
|
2303
|
-
return
|
|
2296
|
+
const A = $ ? ["streaks", "share", "store", "subscription"] : ["streaks", "share", "store"], te = [];
|
|
2297
|
+
return A.forEach((re) => {
|
|
2304
2298
|
const ae = oe[re].current;
|
|
2305
2299
|
if (!ae) return;
|
|
2306
2300
|
const ue = new IntersectionObserver(
|
|
@@ -2311,7 +2305,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2311
2305
|
);
|
|
2312
2306
|
ue.observe(ae), te.push(ue);
|
|
2313
2307
|
}), () => te.forEach((re) => re.disconnect());
|
|
2314
|
-
}, [
|
|
2308
|
+
}, [$, K, Z, X]);
|
|
2315
2309
|
const ot = typeof window < "u" ? window.location.origin : "https://www.srimandir.com", Qe = At(rt) || At(l) || "www.srimandir.com", ve = He || a, et = `yt-live-status-probe-${ea().replace(/:/g, "")}`, Se = Fr(ve, et);
|
|
2316
2310
|
D(() => {
|
|
2317
2311
|
Ne(null);
|
|
@@ -2323,7 +2317,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2323
2317
|
return;
|
|
2324
2318
|
}
|
|
2325
2319
|
const b = window.setTimeout(() => {
|
|
2326
|
-
Ne((
|
|
2320
|
+
Ne((A) => A === "LIVE" ? A : Se);
|
|
2327
2321
|
}, ka);
|
|
2328
2322
|
return () => window.clearTimeout(b);
|
|
2329
2323
|
}, [Se]);
|
|
@@ -2343,14 +2337,14 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2343
2337
|
if (b?.requestFullscreen)
|
|
2344
2338
|
try {
|
|
2345
2339
|
await b.requestFullscreen();
|
|
2346
|
-
} catch (
|
|
2347
|
-
console.error("Fullscreen error:",
|
|
2340
|
+
} catch (A) {
|
|
2341
|
+
console.error("Fullscreen error:", A);
|
|
2348
2342
|
}
|
|
2349
2343
|
try {
|
|
2350
|
-
const
|
|
2351
|
-
!ze &&
|
|
2352
|
-
} catch (
|
|
2353
|
-
console.error("Orientation lock error:",
|
|
2344
|
+
const A = screen.orientation;
|
|
2345
|
+
!ze && A?.lock && await A.lock("landscape");
|
|
2346
|
+
} catch (A) {
|
|
2347
|
+
console.error("Orientation lock error:", A);
|
|
2354
2348
|
}
|
|
2355
2349
|
Me(!0);
|
|
2356
2350
|
}, ee = async () => {
|
|
@@ -2383,8 +2377,8 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2383
2377
|
const ce = async (b) => {
|
|
2384
2378
|
q && document.fullscreenElement && await ee(), m && await m(b);
|
|
2385
2379
|
}, de = () => {
|
|
2386
|
-
const b = ge.deeplink || "/epuja",
|
|
2387
|
-
|
|
2380
|
+
const b = ge.deeplink || "/epuja", A = new URL(b, "https://www.srimandir.com");
|
|
2381
|
+
A.searchParams.set("utm_source", "youtube"), A.searchParams.set("utm_campaign", "rasrajji"), A.searchParams.set("utm_medium", "youtubebanner"), typeof window < "u" && (o?.({ orientation: X ? "horizontal" : "vertical" }), window.location.href = A.toString());
|
|
2388
2382
|
};
|
|
2389
2383
|
return /* @__PURE__ */ e.jsxs("div", { ref: Oe, className: i.container, children: [
|
|
2390
2384
|
!q && /* @__PURE__ */ e.jsx(Bn, { isLive: _e === "LIVE", daysRemaining: 2 }),
|
|
@@ -2479,7 +2473,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2479
2473
|
ie(b), Pe(b);
|
|
2480
2474
|
},
|
|
2481
2475
|
onChatPress: () => ie("chat"),
|
|
2482
|
-
showSubscription:
|
|
2476
|
+
showSubscription: $,
|
|
2483
2477
|
chatOpen: ne === "chat"
|
|
2484
2478
|
}
|
|
2485
2479
|
)
|
|
@@ -2554,11 +2548,11 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2554
2548
|
onCardClick: f,
|
|
2555
2549
|
a4bApi: x,
|
|
2556
2550
|
storeCardsPage: j,
|
|
2557
|
-
storeCardsHeaders:
|
|
2558
|
-
storeCardsLimit:
|
|
2551
|
+
storeCardsHeaders: L,
|
|
2552
|
+
storeCardsLimit: E
|
|
2559
2553
|
}
|
|
2560
2554
|
) }),
|
|
2561
|
-
|
|
2555
|
+
$ && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2562
2556
|
/* @__PURE__ */ e.jsx(
|
|
2563
2557
|
"div",
|
|
2564
2558
|
{
|
|
@@ -2571,11 +2565,11 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2571
2565
|
"aria-hidden": "true"
|
|
2572
2566
|
}
|
|
2573
2567
|
),
|
|
2574
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2568
|
+
/* @__PURE__ */ e.jsx("div", { ref: H, children: /* @__PURE__ */ e.jsx(
|
|
2575
2569
|
mt,
|
|
2576
2570
|
{
|
|
2577
2571
|
onSubscribe: S,
|
|
2578
|
-
storeId:
|
|
2572
|
+
storeId: z,
|
|
2579
2573
|
inventoryId: B,
|
|
2580
2574
|
onboardingType: T,
|
|
2581
2575
|
apiBaseInstance: x?.apiInstance
|
|
@@ -2759,7 +2753,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2759
2753
|
Q(b), Pe(b);
|
|
2760
2754
|
},
|
|
2761
2755
|
onChatPress: ye,
|
|
2762
|
-
showSubscription:
|
|
2756
|
+
showSubscription: $,
|
|
2763
2757
|
chatOpen: K
|
|
2764
2758
|
}
|
|
2765
2759
|
)
|
|
@@ -2801,17 +2795,17 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2801
2795
|
onCardClick: f,
|
|
2802
2796
|
a4bApi: x,
|
|
2803
2797
|
storeCardsPage: j,
|
|
2804
|
-
storeCardsHeaders:
|
|
2805
|
-
storeCardsLimit:
|
|
2798
|
+
storeCardsHeaders: L,
|
|
2799
|
+
storeCardsLimit: E
|
|
2806
2800
|
}
|
|
2807
2801
|
) }),
|
|
2808
|
-
|
|
2802
|
+
$ && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2809
2803
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
2810
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2804
|
+
/* @__PURE__ */ e.jsx("div", { ref: H, children: /* @__PURE__ */ e.jsx(
|
|
2811
2805
|
mt,
|
|
2812
2806
|
{
|
|
2813
2807
|
onSubscribe: S,
|
|
2814
|
-
storeId:
|
|
2808
|
+
storeId: z,
|
|
2815
2809
|
inventoryId: B,
|
|
2816
2810
|
onboardingType: T,
|
|
2817
2811
|
apiBaseInstance: x?.apiInstance
|
|
@@ -2844,7 +2838,7 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2844
2838
|
activeTab: Le,
|
|
2845
2839
|
onTabChange: be,
|
|
2846
2840
|
onChatPress: ye,
|
|
2847
|
-
showSubscription:
|
|
2841
|
+
showSubscription: $,
|
|
2848
2842
|
chatOpen: K
|
|
2849
2843
|
}
|
|
2850
2844
|
) }),
|
|
@@ -2880,17 +2874,17 @@ const $t = Wt(void 0), Vt = () => {
|
|
|
2880
2874
|
onCardClick: f,
|
|
2881
2875
|
a4bApi: x,
|
|
2882
2876
|
storeCardsPage: j,
|
|
2883
|
-
storeCardsHeaders:
|
|
2884
|
-
storeCardsLimit:
|
|
2877
|
+
storeCardsHeaders: L,
|
|
2878
|
+
storeCardsLimit: E
|
|
2885
2879
|
}
|
|
2886
2880
|
) }),
|
|
2887
|
-
|
|
2881
|
+
$ && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2888
2882
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
2889
2883
|
/* @__PURE__ */ e.jsx("div", { ref: Be, children: /* @__PURE__ */ e.jsx(
|
|
2890
2884
|
mt,
|
|
2891
2885
|
{
|
|
2892
2886
|
onSubscribe: S,
|
|
2893
|
-
storeId:
|
|
2887
|
+
storeId: z,
|
|
2894
2888
|
inventoryId: B,
|
|
2895
2889
|
onboardingType: T,
|
|
2896
2890
|
apiBaseInstance: x?.apiInstance
|
|
@@ -2969,24 +2963,24 @@ function Dr({
|
|
|
2969
2963
|
offeringCards: s,
|
|
2970
2964
|
onOfferingClick: l
|
|
2971
2965
|
}) {
|
|
2972
|
-
const [d, c] =
|
|
2966
|
+
const [d, c] = w(!1), [m, r] = w(""), [o, h] = w(null), [v, p] = w(!1), f = async (g) => {
|
|
2973
2967
|
if (l)
|
|
2974
2968
|
try {
|
|
2975
2969
|
await l(g);
|
|
2976
|
-
} catch (
|
|
2977
|
-
console.error("Offering click handler failed:",
|
|
2970
|
+
} catch (N) {
|
|
2971
|
+
console.error("Offering click handler failed:", N);
|
|
2978
2972
|
}
|
|
2979
2973
|
}, x = (g) => {
|
|
2980
2974
|
h(g), r(g.price ? String(g.price) : ""), c(!0);
|
|
2981
2975
|
}, j = () => {
|
|
2982
2976
|
c(!1), h(null), r("");
|
|
2983
|
-
},
|
|
2977
|
+
}, L = async (g) => {
|
|
2984
2978
|
if (g.isCustom) {
|
|
2985
2979
|
x(g);
|
|
2986
2980
|
return;
|
|
2987
2981
|
}
|
|
2988
2982
|
await f(g);
|
|
2989
|
-
},
|
|
2983
|
+
}, E = async () => {
|
|
2990
2984
|
if (!o || !l || v) return;
|
|
2991
2985
|
const g = Number(m);
|
|
2992
2986
|
if (!(!Number.isFinite(g) || g <= 0))
|
|
@@ -2996,8 +2990,8 @@ function Dr({
|
|
|
2996
2990
|
price: g,
|
|
2997
2991
|
customAmount: g
|
|
2998
2992
|
}), j();
|
|
2999
|
-
} catch (
|
|
3000
|
-
console.error("Custom offering click handler failed:",
|
|
2993
|
+
} catch (N) {
|
|
2994
|
+
console.error("Custom offering click handler failed:", N);
|
|
3001
2995
|
} finally {
|
|
3002
2996
|
p(!1);
|
|
3003
2997
|
}
|
|
@@ -3012,20 +3006,20 @@ function Dr({
|
|
|
3012
3006
|
}
|
|
3013
3007
|
),
|
|
3014
3008
|
/* @__PURE__ */ e.jsx("div", { className: a ? i.landscapeScroll : i.scroll, children: s.map(
|
|
3015
|
-
(g,
|
|
3009
|
+
(g, N) => a ? /* @__PURE__ */ e.jsx(
|
|
3016
3010
|
Mr,
|
|
3017
3011
|
{
|
|
3018
3012
|
item: g,
|
|
3019
|
-
onClick: () =>
|
|
3013
|
+
onClick: () => L(g)
|
|
3020
3014
|
},
|
|
3021
3015
|
g.id
|
|
3022
3016
|
) : /* @__PURE__ */ e.jsx(
|
|
3023
3017
|
qr,
|
|
3024
3018
|
{
|
|
3025
3019
|
item: g,
|
|
3026
|
-
index:
|
|
3020
|
+
index: N,
|
|
3027
3021
|
totalItems: s.length,
|
|
3028
|
-
onClick: () =>
|
|
3022
|
+
onClick: () => L(g)
|
|
3029
3023
|
},
|
|
3030
3024
|
g.id
|
|
3031
3025
|
)
|
|
@@ -3038,7 +3032,7 @@ function Dr({
|
|
|
3038
3032
|
amount: m,
|
|
3039
3033
|
onAmountChange: (g) => r(g.replace(/[^0-9]/g, "")),
|
|
3040
3034
|
onClose: j,
|
|
3041
|
-
onContinue:
|
|
3035
|
+
onContinue: E,
|
|
3042
3036
|
disabled: !m || Number(m) <= 0 || v
|
|
3043
3037
|
}
|
|
3044
3038
|
)
|
|
@@ -3249,7 +3243,7 @@ function Mr({
|
|
|
3249
3243
|
] })
|
|
3250
3244
|
] });
|
|
3251
3245
|
}
|
|
3252
|
-
const Ot = "hanuman-live-sindoor", qt = "hanuman-live-peda", Mt = "hanuman-live-sindoor-peda",
|
|
3246
|
+
const Ot = "hanuman-live-sindoor", qt = "hanuman-live-peda", Mt = "hanuman-live-sindoor-peda", Re = {
|
|
3253
3247
|
sindoor: "https://rzp.io/rzp/Pb7xgDj",
|
|
3254
3248
|
peda: "https://rzp.io/rzp/LfL86khp",
|
|
3255
3249
|
sindoorPeda: "https://rzp.io/rzp/NM9b4lx"
|
|
@@ -3261,14 +3255,14 @@ const Ot = "hanuman-live-sindoor", qt = "hanuman-live-peda", Mt = "hanuman-live-
|
|
|
3261
3255
|
inventory_id: Ot,
|
|
3262
3256
|
name: "Sindoor",
|
|
3263
3257
|
price: 51,
|
|
3264
|
-
razorpay_link:
|
|
3258
|
+
razorpay_link: Re.sindoor,
|
|
3265
3259
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
3266
3260
|
},
|
|
3267
3261
|
{
|
|
3268
3262
|
inventory_id: qt,
|
|
3269
3263
|
name: "Peda",
|
|
3270
3264
|
price: 101,
|
|
3271
|
-
razorpay_link:
|
|
3265
|
+
razorpay_link: Re.peda,
|
|
3272
3266
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
3273
3267
|
},
|
|
3274
3268
|
{
|
|
@@ -3277,7 +3271,7 @@ const Ot = "hanuman-live-sindoor", qt = "hanuman-live-peda", Mt = "hanuman-live-
|
|
|
3277
3271
|
price: 121,
|
|
3278
3272
|
original_price: "101 + 51",
|
|
3279
3273
|
discount: "20%",
|
|
3280
|
-
razorpay_link:
|
|
3274
|
+
razorpay_link: Re.sindoorPeda,
|
|
3281
3275
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866992046.png"
|
|
3282
3276
|
}
|
|
3283
3277
|
]
|
|
@@ -3289,14 +3283,14 @@ const Ot = "hanuman-live-sindoor", qt = "hanuman-live-peda", Mt = "hanuman-live-
|
|
|
3289
3283
|
inventory_id: Ot,
|
|
3290
3284
|
name: "Sindoor",
|
|
3291
3285
|
price: 51,
|
|
3292
|
-
razorpay_link:
|
|
3286
|
+
razorpay_link: Re.sindoor,
|
|
3293
3287
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866984116.png"
|
|
3294
3288
|
},
|
|
3295
3289
|
{
|
|
3296
3290
|
inventory_id: qt,
|
|
3297
3291
|
name: "Peda",
|
|
3298
3292
|
price: 101,
|
|
3299
|
-
razorpay_link:
|
|
3293
|
+
razorpay_link: Re.peda,
|
|
3300
3294
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
3301
3295
|
},
|
|
3302
3296
|
{
|
|
@@ -3304,7 +3298,7 @@ const Ot = "hanuman-live-sindoor", qt = "hanuman-live-peda", Mt = "hanuman-live-
|
|
|
3304
3298
|
name: "Sindoor + Peda",
|
|
3305
3299
|
price: 121,
|
|
3306
3300
|
discount: "20%",
|
|
3307
|
-
razorpay_link:
|
|
3301
|
+
razorpay_link: Re.sindoorPeda,
|
|
3308
3302
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866992046.png"
|
|
3309
3303
|
}
|
|
3310
3304
|
]
|