@srimandir/daily-live-puja 1.44.0 → 1.46.0
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 +956 -957
- package/dist/daily-live-puja.js.map +1 -1
- package/package.json +2 -2
package/dist/daily-live-puja.js
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Yt, { useRef as M, useState as T, useCallback as Et, useEffect as P, useContext as ea, createContext as ta, useMemo as Gt, useId as fa } from "react";
|
|
2
2
|
import { createPortal as ma } from "react-dom";
|
|
3
|
-
var
|
|
3
|
+
var Ht = { exports: {} }, bt = {};
|
|
4
4
|
var Ln;
|
|
5
5
|
function _a() {
|
|
6
|
-
if (Ln) return
|
|
6
|
+
if (Ln) return bt;
|
|
7
7
|
Ln = 1;
|
|
8
|
-
var t =
|
|
9
|
-
function u(i,
|
|
8
|
+
var t = Yt, a = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9
|
+
function u(i, p, k) {
|
|
10
10
|
var d, f = {}, g = null, y = null;
|
|
11
|
-
|
|
12
|
-
for (d in
|
|
13
|
-
if (i && i.defaultProps) for (d in
|
|
14
|
-
return { $$typeof:
|
|
11
|
+
k !== void 0 && (g = "" + k), p.key !== void 0 && (g = "" + p.key), p.ref !== void 0 && (y = p.ref);
|
|
12
|
+
for (d in p) o.call(p, d) && !c.hasOwnProperty(d) && (f[d] = p[d]);
|
|
13
|
+
if (i && i.defaultProps) for (d in p = i.defaultProps, p) f[d] === void 0 && (f[d] = p[d]);
|
|
14
|
+
return { $$typeof: a, type: i, key: g, ref: y, props: f, _owner: s.current };
|
|
15
15
|
}
|
|
16
|
-
return
|
|
16
|
+
return bt.Fragment = r, bt.jsx = u, bt.jsxs = u, bt;
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
var
|
|
18
|
+
var jt = {};
|
|
19
|
+
var In;
|
|
20
20
|
function ga() {
|
|
21
|
-
return
|
|
22
|
-
var t =
|
|
23
|
-
function
|
|
24
|
-
if (
|
|
21
|
+
return In || (In = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
+
var t = Yt, a = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), o = /* @__PURE__ */ Symbol.for("react.fragment"), s = /* @__PURE__ */ Symbol.for("react.strict_mode"), c = /* @__PURE__ */ Symbol.for("react.profiler"), u = /* @__PURE__ */ Symbol.for("react.provider"), i = /* @__PURE__ */ Symbol.for("react.context"), p = /* @__PURE__ */ Symbol.for("react.forward_ref"), k = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), f = /* @__PURE__ */ Symbol.for("react.memo"), g = /* @__PURE__ */ Symbol.for("react.lazy"), y = /* @__PURE__ */ Symbol.for("react.offscreen"), _ = Symbol.iterator, w = "@@iterator";
|
|
23
|
+
function S(n) {
|
|
24
|
+
if (n === null || typeof n != "object")
|
|
25
25
|
return null;
|
|
26
|
-
var l = _ &&
|
|
26
|
+
var l = _ && n[_] || n[w];
|
|
27
27
|
return typeof l == "function" ? l : null;
|
|
28
28
|
}
|
|
29
29
|
var N = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
30
|
-
function j(
|
|
30
|
+
function j(n) {
|
|
31
31
|
{
|
|
32
32
|
for (var l = arguments.length, m = new Array(l > 1 ? l - 1 : 0), b = 1; b < l; b++)
|
|
33
33
|
m[b - 1] = arguments[b];
|
|
34
|
-
E("error",
|
|
34
|
+
E("error", n, m);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
function E(
|
|
37
|
+
function E(n, l, m) {
|
|
38
38
|
{
|
|
39
|
-
var b = N.ReactDebugCurrentFrame,
|
|
40
|
-
|
|
39
|
+
var b = N.ReactDebugCurrentFrame, I = b.getStackAddendum();
|
|
40
|
+
I !== "" && (l += "%s", m = m.concat([I]));
|
|
41
41
|
var W = m.map(function(L) {
|
|
42
42
|
return String(L);
|
|
43
43
|
});
|
|
44
|
-
W.unshift("Warning: " + l), Function.prototype.apply.call(console[
|
|
44
|
+
W.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, W);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
var $ = !1, x = !1,
|
|
47
|
+
var $ = !1, x = !1, C = !1, A = !1, G = !1, Q;
|
|
48
48
|
Q = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
|
-
function ce(
|
|
50
|
-
return !!(typeof
|
|
49
|
+
function ce(n) {
|
|
50
|
+
return !!(typeof n == "string" || typeof n == "function" || n === o || n === c || G || n === s || n === k || n === d || A || n === y || $ || x || C || typeof n == "object" && n !== null && (n.$$typeof === g || n.$$typeof === f || n.$$typeof === u || n.$$typeof === i || n.$$typeof === p || // This needs to include all possible module reference object
|
|
51
51
|
// types supported by any Flight configuration anywhere since
|
|
52
52
|
// we don't know which Flight build this will end up being used
|
|
53
53
|
// with.
|
|
54
|
-
|
|
54
|
+
n.$$typeof === Q || n.getModuleId !== void 0));
|
|
55
55
|
}
|
|
56
|
-
function Se(
|
|
57
|
-
var b =
|
|
56
|
+
function Se(n, l, m) {
|
|
57
|
+
var b = n.displayName;
|
|
58
58
|
if (b)
|
|
59
59
|
return b;
|
|
60
|
-
var
|
|
61
|
-
return
|
|
60
|
+
var I = l.displayName || l.name || "";
|
|
61
|
+
return I !== "" ? m + "(" + I + ")" : m;
|
|
62
62
|
}
|
|
63
|
-
function de(
|
|
64
|
-
return
|
|
63
|
+
function de(n) {
|
|
64
|
+
return n.displayName || "Context";
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
if (
|
|
66
|
+
function D(n) {
|
|
67
|
+
if (n == null)
|
|
68
68
|
return null;
|
|
69
|
-
if (typeof
|
|
70
|
-
return
|
|
71
|
-
if (typeof
|
|
72
|
-
return
|
|
73
|
-
switch (
|
|
69
|
+
if (typeof n.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
|
|
70
|
+
return n.displayName || n.name || null;
|
|
71
|
+
if (typeof n == "string")
|
|
72
|
+
return n;
|
|
73
|
+
switch (n) {
|
|
74
74
|
case o:
|
|
75
75
|
return "Fragment";
|
|
76
76
|
case r:
|
|
@@ -79,28 +79,28 @@ function ga() {
|
|
|
79
79
|
return "Profiler";
|
|
80
80
|
case s:
|
|
81
81
|
return "StrictMode";
|
|
82
|
-
case
|
|
82
|
+
case k:
|
|
83
83
|
return "Suspense";
|
|
84
84
|
case d:
|
|
85
85
|
return "SuspenseList";
|
|
86
86
|
}
|
|
87
|
-
if (typeof
|
|
88
|
-
switch (
|
|
87
|
+
if (typeof n == "object")
|
|
88
|
+
switch (n.$$typeof) {
|
|
89
89
|
case i:
|
|
90
|
-
var l =
|
|
90
|
+
var l = n;
|
|
91
91
|
return de(l) + ".Consumer";
|
|
92
92
|
case u:
|
|
93
|
-
var m =
|
|
93
|
+
var m = n;
|
|
94
94
|
return de(m._context) + ".Provider";
|
|
95
|
-
case
|
|
96
|
-
return Se(
|
|
95
|
+
case p:
|
|
96
|
+
return Se(n, n.render, "ForwardRef");
|
|
97
97
|
case f:
|
|
98
|
-
var b =
|
|
99
|
-
return b !== null ? b :
|
|
98
|
+
var b = n.displayName || null;
|
|
99
|
+
return b !== null ? b : D(n.type) || "Memo";
|
|
100
100
|
case g: {
|
|
101
|
-
var
|
|
101
|
+
var I = n, W = I._payload, L = I._init;
|
|
102
102
|
try {
|
|
103
|
-
return
|
|
103
|
+
return D(L(W));
|
|
104
104
|
} catch {
|
|
105
105
|
return null;
|
|
106
106
|
}
|
|
@@ -108,61 +108,61 @@ function ga() {
|
|
|
108
108
|
}
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
111
|
-
var U = Object.assign, O = 0, J, ae,
|
|
111
|
+
var U = Object.assign, O = 0, J, ae, it, lt, fe, _e, me;
|
|
112
112
|
function Re() {
|
|
113
113
|
}
|
|
114
114
|
Re.__reactDisabledLog = !0;
|
|
115
|
-
function
|
|
115
|
+
function ct() {
|
|
116
116
|
{
|
|
117
117
|
if (O === 0) {
|
|
118
|
-
J = console.log, ae = console.info,
|
|
119
|
-
var
|
|
118
|
+
J = console.log, ae = console.info, it = console.warn, lt = console.error, fe = console.group, _e = console.groupCollapsed, me = console.groupEnd;
|
|
119
|
+
var n = {
|
|
120
120
|
configurable: !0,
|
|
121
121
|
enumerable: !0,
|
|
122
122
|
value: Re,
|
|
123
123
|
writable: !0
|
|
124
124
|
};
|
|
125
125
|
Object.defineProperties(console, {
|
|
126
|
-
info:
|
|
127
|
-
log:
|
|
128
|
-
warn:
|
|
129
|
-
error:
|
|
130
|
-
group:
|
|
131
|
-
groupCollapsed:
|
|
132
|
-
groupEnd:
|
|
126
|
+
info: n,
|
|
127
|
+
log: n,
|
|
128
|
+
warn: n,
|
|
129
|
+
error: n,
|
|
130
|
+
group: n,
|
|
131
|
+
groupCollapsed: n,
|
|
132
|
+
groupEnd: n
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
135
|
O++;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function dt() {
|
|
139
139
|
{
|
|
140
140
|
if (O--, O === 0) {
|
|
141
|
-
var
|
|
141
|
+
var n = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
144
144
|
writable: !0
|
|
145
145
|
};
|
|
146
146
|
Object.defineProperties(console, {
|
|
147
|
-
log: U({},
|
|
147
|
+
log: U({}, n, {
|
|
148
148
|
value: J
|
|
149
149
|
}),
|
|
150
|
-
info: U({},
|
|
150
|
+
info: U({}, n, {
|
|
151
151
|
value: ae
|
|
152
152
|
}),
|
|
153
|
-
warn: U({},
|
|
154
|
-
value:
|
|
153
|
+
warn: U({}, n, {
|
|
154
|
+
value: it
|
|
155
155
|
}),
|
|
156
|
-
error: U({},
|
|
157
|
-
value:
|
|
156
|
+
error: U({}, n, {
|
|
157
|
+
value: lt
|
|
158
158
|
}),
|
|
159
|
-
group: U({},
|
|
159
|
+
group: U({}, n, {
|
|
160
160
|
value: fe
|
|
161
161
|
}),
|
|
162
|
-
groupCollapsed: U({},
|
|
162
|
+
groupCollapsed: U({}, n, {
|
|
163
163
|
value: _e
|
|
164
164
|
}),
|
|
165
|
-
groupEnd: U({},
|
|
165
|
+
groupEnd: U({}, n, {
|
|
166
166
|
value: me
|
|
167
167
|
})
|
|
168
168
|
});
|
|
@@ -171,38 +171,38 @@ function ga() {
|
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
var Be = N.ReactCurrentDispatcher, Ce;
|
|
174
|
-
function ke(
|
|
174
|
+
function ke(n, l, m) {
|
|
175
175
|
{
|
|
176
176
|
if (Ce === void 0)
|
|
177
177
|
try {
|
|
178
178
|
throw Error();
|
|
179
|
-
} catch (
|
|
180
|
-
var b =
|
|
179
|
+
} catch (I) {
|
|
180
|
+
var b = I.stack.trim().match(/\n( *(at )?)/);
|
|
181
181
|
Ce = b && b[1] || "";
|
|
182
182
|
}
|
|
183
183
|
return `
|
|
184
|
-
` + Ce +
|
|
184
|
+
` + Ce + n;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
var Oe = !1,
|
|
187
|
+
var Oe = !1, Ge;
|
|
188
188
|
{
|
|
189
189
|
var Me = typeof WeakMap == "function" ? WeakMap : Map;
|
|
190
|
-
|
|
190
|
+
Ge = new Me();
|
|
191
191
|
}
|
|
192
|
-
function K(
|
|
193
|
-
if (!
|
|
192
|
+
function K(n, l) {
|
|
193
|
+
if (!n || Oe)
|
|
194
194
|
return "";
|
|
195
195
|
{
|
|
196
|
-
var m =
|
|
196
|
+
var m = Ge.get(n);
|
|
197
197
|
if (m !== void 0)
|
|
198
198
|
return m;
|
|
199
199
|
}
|
|
200
200
|
var b;
|
|
201
201
|
Oe = !0;
|
|
202
|
-
var
|
|
202
|
+
var I = Error.prepareStackTrace;
|
|
203
203
|
Error.prepareStackTrace = void 0;
|
|
204
204
|
var W;
|
|
205
|
-
W = Be.current, Be.current = null,
|
|
205
|
+
W = Be.current, Be.current = null, ct();
|
|
206
206
|
try {
|
|
207
207
|
if (l) {
|
|
208
208
|
var L = function() {
|
|
@@ -218,14 +218,14 @@ function ga() {
|
|
|
218
218
|
} catch (X) {
|
|
219
219
|
b = X;
|
|
220
220
|
}
|
|
221
|
-
Reflect.construct(
|
|
221
|
+
Reflect.construct(n, [], L);
|
|
222
222
|
} else {
|
|
223
223
|
try {
|
|
224
224
|
L.call();
|
|
225
225
|
} catch (X) {
|
|
226
226
|
b = X;
|
|
227
227
|
}
|
|
228
|
-
|
|
228
|
+
n.call(L.prototype);
|
|
229
229
|
}
|
|
230
230
|
} else {
|
|
231
231
|
try {
|
|
@@ -233,7 +233,7 @@ function ga() {
|
|
|
233
233
|
} catch (X) {
|
|
234
234
|
b = X;
|
|
235
235
|
}
|
|
236
|
-
|
|
236
|
+
n();
|
|
237
237
|
}
|
|
238
238
|
} catch (X) {
|
|
239
239
|
if (X && b && typeof X.stack == "string") {
|
|
@@ -248,158 +248,158 @@ function ga() {
|
|
|
248
248
|
if (V--, z--, z < 0 || R[V] !== H[z]) {
|
|
249
249
|
var ne = `
|
|
250
250
|
` + R[V].replace(" at new ", " at ");
|
|
251
|
-
return
|
|
251
|
+
return n.displayName && ne.includes("<anonymous>") && (ne = ne.replace("<anonymous>", n.displayName)), typeof n == "function" && Ge.set(n, ne), ne;
|
|
252
252
|
}
|
|
253
253
|
while (V >= 1 && z >= 0);
|
|
254
254
|
break;
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
} finally {
|
|
258
|
-
Oe = !1, Be.current = W,
|
|
258
|
+
Oe = !1, Be.current = W, dt(), Error.prepareStackTrace = I;
|
|
259
259
|
}
|
|
260
|
-
var oe =
|
|
261
|
-
return typeof
|
|
260
|
+
var oe = n ? n.displayName || n.name : "", Y = oe ? ke(oe) : "";
|
|
261
|
+
return typeof n == "function" && Ge.set(n, Y), Y;
|
|
262
262
|
}
|
|
263
|
-
function
|
|
264
|
-
return K(
|
|
263
|
+
function ut(n, l, m) {
|
|
264
|
+
return K(n, !1);
|
|
265
265
|
}
|
|
266
|
-
function te(
|
|
267
|
-
var l =
|
|
266
|
+
function te(n) {
|
|
267
|
+
var l = n.prototype;
|
|
268
268
|
return !!(l && l.isReactComponent);
|
|
269
269
|
}
|
|
270
|
-
function be(
|
|
271
|
-
if (
|
|
270
|
+
function be(n, l, m) {
|
|
271
|
+
if (n == null)
|
|
272
272
|
return "";
|
|
273
|
-
if (typeof
|
|
274
|
-
return K(
|
|
275
|
-
if (typeof
|
|
276
|
-
return ke(
|
|
277
|
-
switch (
|
|
278
|
-
case
|
|
273
|
+
if (typeof n == "function")
|
|
274
|
+
return K(n, te(n));
|
|
275
|
+
if (typeof n == "string")
|
|
276
|
+
return ke(n);
|
|
277
|
+
switch (n) {
|
|
278
|
+
case k:
|
|
279
279
|
return ke("Suspense");
|
|
280
280
|
case d:
|
|
281
281
|
return ke("SuspenseList");
|
|
282
282
|
}
|
|
283
|
-
if (typeof
|
|
284
|
-
switch (
|
|
285
|
-
case
|
|
286
|
-
return
|
|
283
|
+
if (typeof n == "object")
|
|
284
|
+
switch (n.$$typeof) {
|
|
285
|
+
case p:
|
|
286
|
+
return ut(n.render);
|
|
287
287
|
case f:
|
|
288
|
-
return be(
|
|
288
|
+
return be(n.type, l, m);
|
|
289
289
|
case g: {
|
|
290
|
-
var b =
|
|
290
|
+
var b = n, I = b._payload, W = b._init;
|
|
291
291
|
try {
|
|
292
|
-
return be(W(
|
|
292
|
+
return be(W(I), l, m);
|
|
293
293
|
} catch {
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
return "";
|
|
298
298
|
}
|
|
299
|
-
var $e = Object.prototype.hasOwnProperty,
|
|
300
|
-
function je(
|
|
301
|
-
if (
|
|
302
|
-
var l =
|
|
303
|
-
|
|
299
|
+
var $e = Object.prototype.hasOwnProperty, pt = {}, Rt = N.ReactDebugCurrentFrame;
|
|
300
|
+
function je(n) {
|
|
301
|
+
if (n) {
|
|
302
|
+
var l = n._owner, m = be(n.type, n._source, l ? l.type : null);
|
|
303
|
+
Rt.setExtraStackFrame(m);
|
|
304
304
|
} else
|
|
305
|
-
|
|
305
|
+
Rt.setExtraStackFrame(null);
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function Lt(n, l, m, b, I) {
|
|
308
308
|
{
|
|
309
309
|
var W = Function.call.bind($e);
|
|
310
|
-
for (var L in
|
|
311
|
-
if (W(
|
|
310
|
+
for (var L in n)
|
|
311
|
+
if (W(n, L)) {
|
|
312
312
|
var R = void 0;
|
|
313
313
|
try {
|
|
314
|
-
if (typeof
|
|
315
|
-
var H = Error((b || "React class") + ": " + m + " type `" + L + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof
|
|
314
|
+
if (typeof n[L] != "function") {
|
|
315
|
+
var H = Error((b || "React class") + ": " + m + " type `" + L + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[L] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
316
316
|
throw H.name = "Invariant Violation", H;
|
|
317
317
|
}
|
|
318
|
-
R =
|
|
318
|
+
R = n[L](l, L, b, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
319
319
|
} catch (V) {
|
|
320
320
|
R = V;
|
|
321
321
|
}
|
|
322
|
-
R && !(R instanceof Error) && (je(
|
|
322
|
+
R && !(R instanceof Error) && (je(I), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", b || "React class", m, L, typeof R), je(null)), R instanceof Error && !(R.message in pt) && (pt[R.message] = !0, je(I), j("Failed %s type: %s", m, R.message), je(null));
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
var
|
|
327
|
-
function
|
|
328
|
-
return
|
|
326
|
+
var It = Array.isArray;
|
|
327
|
+
function Je(n) {
|
|
328
|
+
return It(n);
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function Dt(n) {
|
|
331
331
|
{
|
|
332
|
-
var l = typeof Symbol == "function" && Symbol.toStringTag, m = l &&
|
|
332
|
+
var l = typeof Symbol == "function" && Symbol.toStringTag, m = l && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
|
333
333
|
return m;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function ht(n) {
|
|
337
337
|
try {
|
|
338
|
-
return Ue(
|
|
338
|
+
return Ue(n), !1;
|
|
339
339
|
} catch {
|
|
340
340
|
return !0;
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
function Ue(
|
|
344
|
-
return "" +
|
|
343
|
+
function Ue(n) {
|
|
344
|
+
return "" + n;
|
|
345
345
|
}
|
|
346
|
-
function
|
|
347
|
-
if (
|
|
348
|
-
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
346
|
+
function ft(n) {
|
|
347
|
+
if (ht(n))
|
|
348
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Dt(n)), Ue(n);
|
|
349
349
|
}
|
|
350
|
-
var
|
|
350
|
+
var Ke = N.ReactCurrentOwner, Xe = {
|
|
351
351
|
key: !0,
|
|
352
352
|
ref: !0,
|
|
353
353
|
__self: !0,
|
|
354
354
|
__source: !0
|
|
355
355
|
}, Le, ue;
|
|
356
|
-
function
|
|
357
|
-
if ($e.call(
|
|
358
|
-
var l = Object.getOwnPropertyDescriptor(
|
|
356
|
+
function mt(n) {
|
|
357
|
+
if ($e.call(n, "ref")) {
|
|
358
|
+
var l = Object.getOwnPropertyDescriptor(n, "ref").get;
|
|
359
359
|
if (l && l.isReactWarning)
|
|
360
360
|
return !1;
|
|
361
361
|
}
|
|
362
|
-
return
|
|
362
|
+
return n.ref !== void 0;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
if ($e.call(
|
|
366
|
-
var l = Object.getOwnPropertyDescriptor(
|
|
364
|
+
function Pt(n) {
|
|
365
|
+
if ($e.call(n, "key")) {
|
|
366
|
+
var l = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
367
367
|
if (l && l.isReactWarning)
|
|
368
368
|
return !1;
|
|
369
369
|
}
|
|
370
|
-
return
|
|
370
|
+
return n.key !== void 0;
|
|
371
371
|
}
|
|
372
|
-
function We(
|
|
373
|
-
typeof
|
|
372
|
+
function We(n, l) {
|
|
373
|
+
typeof n.ref == "string" && Ke.current;
|
|
374
374
|
}
|
|
375
|
-
function re(
|
|
375
|
+
function re(n, l) {
|
|
376
376
|
{
|
|
377
377
|
var m = function() {
|
|
378
378
|
Le || (Le = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
379
379
|
};
|
|
380
|
-
m.isReactWarning = !0, Object.defineProperty(
|
|
380
|
+
m.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
381
381
|
get: m,
|
|
382
382
|
configurable: !0
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
function Jt(
|
|
386
|
+
function Jt(n, l) {
|
|
387
387
|
{
|
|
388
388
|
var m = function() {
|
|
389
389
|
ue || (ue = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
390
390
|
};
|
|
391
|
-
m.isReactWarning = !0, Object.defineProperty(
|
|
391
|
+
m.isReactWarning = !0, Object.defineProperty(n, "ref", {
|
|
392
392
|
get: m,
|
|
393
393
|
configurable: !0
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
var we = function(
|
|
397
|
+
var we = function(n, l, m, b, I, W, L) {
|
|
398
398
|
var R = {
|
|
399
399
|
// This tag allows us to uniquely identify this as a React Element
|
|
400
|
-
$$typeof:
|
|
400
|
+
$$typeof: a,
|
|
401
401
|
// Built-in properties that belong on the element
|
|
402
|
-
type:
|
|
402
|
+
type: n,
|
|
403
403
|
key: l,
|
|
404
404
|
ref: m,
|
|
405
405
|
props: L,
|
|
@@ -420,61 +420,61 @@ function ga() {
|
|
|
420
420
|
configurable: !1,
|
|
421
421
|
enumerable: !1,
|
|
422
422
|
writable: !1,
|
|
423
|
-
value:
|
|
423
|
+
value: I
|
|
424
424
|
}), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
|
|
425
425
|
};
|
|
426
|
-
function
|
|
426
|
+
function _t(n, l, m, b, I) {
|
|
427
427
|
{
|
|
428
428
|
var W, L = {}, R = null, H = null;
|
|
429
|
-
m !== void 0 && (
|
|
429
|
+
m !== void 0 && (ft(m), R = "" + m), Pt(l) && (ft(l.key), R = "" + l.key), mt(l) && (H = l.ref, We(l, I));
|
|
430
430
|
for (W in l)
|
|
431
|
-
$e.call(l, W) && !
|
|
432
|
-
if (
|
|
433
|
-
var V =
|
|
431
|
+
$e.call(l, W) && !Xe.hasOwnProperty(W) && (L[W] = l[W]);
|
|
432
|
+
if (n && n.defaultProps) {
|
|
433
|
+
var V = n.defaultProps;
|
|
434
434
|
for (W in V)
|
|
435
435
|
L[W] === void 0 && (L[W] = V[W]);
|
|
436
436
|
}
|
|
437
437
|
if (R || H) {
|
|
438
|
-
var z = typeof
|
|
438
|
+
var z = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
439
439
|
R && re(L, z), H && Jt(L, z);
|
|
440
440
|
}
|
|
441
|
-
return we(
|
|
441
|
+
return we(n, R, H, I, b, Ke.current, L);
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
|
-
var
|
|
445
|
-
function Te(
|
|
446
|
-
if (
|
|
447
|
-
var l =
|
|
448
|
-
|
|
444
|
+
var Ie = N.ReactCurrentOwner, gt = N.ReactDebugCurrentFrame;
|
|
445
|
+
function Te(n) {
|
|
446
|
+
if (n) {
|
|
447
|
+
var l = n._owner, m = be(n.type, n._source, l ? l.type : null);
|
|
448
|
+
gt.setExtraStackFrame(m);
|
|
449
449
|
} else
|
|
450
|
-
|
|
450
|
+
gt.setExtraStackFrame(null);
|
|
451
451
|
}
|
|
452
|
-
var
|
|
453
|
-
|
|
454
|
-
function se(
|
|
455
|
-
return typeof
|
|
452
|
+
var Ze;
|
|
453
|
+
Ze = !1;
|
|
454
|
+
function se(n) {
|
|
455
|
+
return typeof n == "object" && n !== null && n.$$typeof === a;
|
|
456
456
|
}
|
|
457
|
-
function
|
|
457
|
+
function xt() {
|
|
458
458
|
{
|
|
459
|
-
if (
|
|
460
|
-
var
|
|
461
|
-
if (
|
|
459
|
+
if (Ie.current) {
|
|
460
|
+
var n = D(Ie.current.type);
|
|
461
|
+
if (n)
|
|
462
462
|
return `
|
|
463
463
|
|
|
464
|
-
Check the render method of \`` +
|
|
464
|
+
Check the render method of \`` + n + "`.";
|
|
465
465
|
}
|
|
466
466
|
return "";
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function At(n) {
|
|
470
470
|
return "";
|
|
471
471
|
}
|
|
472
|
-
var
|
|
473
|
-
function Kt(
|
|
472
|
+
var Qe = {};
|
|
473
|
+
function Kt(n) {
|
|
474
474
|
{
|
|
475
|
-
var l =
|
|
475
|
+
var l = xt();
|
|
476
476
|
if (!l) {
|
|
477
|
-
var m = typeof
|
|
477
|
+
var m = typeof n == "string" ? n : n.displayName || n.name;
|
|
478
478
|
m && (l = `
|
|
479
479
|
|
|
480
480
|
Check the top-level render call using <` + m + ">.");
|
|
@@ -482,133 +482,133 @@ Check the top-level render call using <` + m + ">.");
|
|
|
482
482
|
return l;
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function Ft(n, l) {
|
|
486
486
|
{
|
|
487
|
-
if (!
|
|
487
|
+
if (!n._store || n._store.validated || n.key != null)
|
|
488
488
|
return;
|
|
489
|
-
|
|
489
|
+
n._store.validated = !0;
|
|
490
490
|
var m = Kt(l);
|
|
491
|
-
if (
|
|
491
|
+
if (Qe[m])
|
|
492
492
|
return;
|
|
493
|
-
|
|
493
|
+
Qe[m] = !0;
|
|
494
494
|
var b = "";
|
|
495
|
-
|
|
495
|
+
n && n._owner && n._owner !== Ie.current && (b = " It was passed a child from " + D(n._owner.type) + "."), Te(n), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, b), Te(null);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function Bt(n, l) {
|
|
499
499
|
{
|
|
500
|
-
if (typeof
|
|
500
|
+
if (typeof n != "object")
|
|
501
501
|
return;
|
|
502
|
-
if (
|
|
503
|
-
for (var m = 0; m <
|
|
504
|
-
var b =
|
|
505
|
-
se(b) &&
|
|
502
|
+
if (Je(n))
|
|
503
|
+
for (var m = 0; m < n.length; m++) {
|
|
504
|
+
var b = n[m];
|
|
505
|
+
se(b) && Ft(b, l);
|
|
506
506
|
}
|
|
507
|
-
else if (se(
|
|
508
|
-
|
|
509
|
-
else if (
|
|
510
|
-
var
|
|
511
|
-
if (typeof
|
|
512
|
-
for (var W =
|
|
513
|
-
se(L.value) &&
|
|
507
|
+
else if (se(n))
|
|
508
|
+
n._store && (n._store.validated = !0);
|
|
509
|
+
else if (n) {
|
|
510
|
+
var I = S(n);
|
|
511
|
+
if (typeof I == "function" && I !== n.entries)
|
|
512
|
+
for (var W = I.call(n), L; !(L = W.next()).done; )
|
|
513
|
+
se(L.value) && Ft(L.value, l);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
|
-
function Ne(
|
|
517
|
+
function Ne(n) {
|
|
518
518
|
{
|
|
519
|
-
var l =
|
|
519
|
+
var l = n.type;
|
|
520
520
|
if (l == null || typeof l == "string")
|
|
521
521
|
return;
|
|
522
522
|
var m;
|
|
523
523
|
if (typeof l == "function")
|
|
524
524
|
m = l.propTypes;
|
|
525
|
-
else if (typeof l == "object" && (l.$$typeof ===
|
|
525
|
+
else if (typeof l == "object" && (l.$$typeof === p || // Note: Memo only checks outer props here.
|
|
526
526
|
// Inner props are checked in the reconciler.
|
|
527
527
|
l.$$typeof === f))
|
|
528
528
|
m = l.propTypes;
|
|
529
529
|
else
|
|
530
530
|
return;
|
|
531
531
|
if (m) {
|
|
532
|
-
var b =
|
|
533
|
-
|
|
534
|
-
} else if (l.PropTypes !== void 0 && !
|
|
535
|
-
|
|
536
|
-
var
|
|
537
|
-
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
532
|
+
var b = D(l);
|
|
533
|
+
Lt(m, n.props, "prop", b, n);
|
|
534
|
+
} else if (l.PropTypes !== void 0 && !Ze) {
|
|
535
|
+
Ze = !0;
|
|
536
|
+
var I = D(l);
|
|
537
|
+
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", I || "Unknown");
|
|
538
538
|
}
|
|
539
539
|
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
function He(
|
|
542
|
+
function He(n) {
|
|
543
543
|
{
|
|
544
|
-
for (var l = Object.keys(
|
|
544
|
+
for (var l = Object.keys(n.props), m = 0; m < l.length; m++) {
|
|
545
545
|
var b = l[m];
|
|
546
546
|
if (b !== "children" && b !== "key") {
|
|
547
|
-
Te(
|
|
547
|
+
Te(n), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), Te(null);
|
|
548
548
|
break;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
|
|
551
|
+
n.ref !== null && (Te(n), j("Invalid attribute `ref` supplied to `React.Fragment`."), Te(null));
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
var ge = {};
|
|
555
|
-
function pe(
|
|
555
|
+
function pe(n, l, m, b, I, W) {
|
|
556
556
|
{
|
|
557
|
-
var L = ce(
|
|
557
|
+
var L = ce(n);
|
|
558
558
|
if (!L) {
|
|
559
559
|
var R = "";
|
|
560
|
-
(
|
|
561
|
-
var H =
|
|
562
|
-
H ? R += H : R +=
|
|
560
|
+
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (R += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
561
|
+
var H = At();
|
|
562
|
+
H ? R += H : R += xt();
|
|
563
563
|
var V;
|
|
564
|
-
|
|
564
|
+
n === null ? V = "null" : Je(n) ? V = "array" : n !== void 0 && n.$$typeof === a ? (V = "<" + (D(n.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : V = typeof n, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", V, R);
|
|
565
565
|
}
|
|
566
|
-
var z =
|
|
566
|
+
var z = _t(n, l, m, I, W);
|
|
567
567
|
if (z == null)
|
|
568
568
|
return z;
|
|
569
569
|
if (L) {
|
|
570
570
|
var ne = l.children;
|
|
571
571
|
if (ne !== void 0)
|
|
572
572
|
if (b)
|
|
573
|
-
if (
|
|
573
|
+
if (Je(ne)) {
|
|
574
574
|
for (var oe = 0; oe < ne.length; oe++)
|
|
575
|
-
|
|
575
|
+
Bt(ne[oe], n);
|
|
576
576
|
Object.freeze && Object.freeze(ne);
|
|
577
577
|
} else
|
|
578
578
|
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
579
579
|
else
|
|
580
|
-
|
|
580
|
+
Bt(ne, n);
|
|
581
581
|
}
|
|
582
582
|
if ($e.call(l, "key")) {
|
|
583
|
-
var Y =
|
|
583
|
+
var Y = D(n), X = Object.keys(l).filter(function(xe) {
|
|
584
584
|
return xe !== "key";
|
|
585
|
-
}),
|
|
586
|
-
if (!ge[Y +
|
|
587
|
-
var
|
|
585
|
+
}), vt = X.length > 0 ? "{key: someKey, " + X.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
586
|
+
if (!ge[Y + vt]) {
|
|
587
|
+
var Mt = X.length > 0 ? "{" + X.join(": ..., ") + ": ...}" : "{}";
|
|
588
588
|
j(`A props object containing a "key" prop is being spread into JSX:
|
|
589
589
|
let props = %s;
|
|
590
590
|
<%s {...props} />
|
|
591
591
|
React keys must be passed directly to JSX without using spread:
|
|
592
592
|
let props = %s;
|
|
593
|
-
<%s key={someKey} {...props} />`,
|
|
593
|
+
<%s key={someKey} {...props} />`, vt, Y, Mt, Y), ge[Y + vt] = !0;
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
|
-
return
|
|
596
|
+
return n === o ? He(z) : Ne(z), z;
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
|
-
function Ve(
|
|
600
|
-
return pe(
|
|
599
|
+
function Ve(n, l, m) {
|
|
600
|
+
return pe(n, l, m, !0);
|
|
601
601
|
}
|
|
602
|
-
function
|
|
603
|
-
return pe(
|
|
602
|
+
function Ot(n, l, m) {
|
|
603
|
+
return pe(n, l, m, !1);
|
|
604
604
|
}
|
|
605
|
-
var Xt =
|
|
606
|
-
|
|
607
|
-
})()),
|
|
605
|
+
var Xt = Ot, qe = Ve;
|
|
606
|
+
jt.Fragment = o, jt.jsx = Xt, jt.jsxs = qe;
|
|
607
|
+
})()), jt;
|
|
608
608
|
}
|
|
609
|
-
var
|
|
609
|
+
var Dn;
|
|
610
610
|
function xa() {
|
|
611
|
-
return
|
|
611
|
+
return Dn || (Dn = 1, process.env.NODE_ENV === "production" ? Ht.exports = _a() : Ht.exports = ga()), Ht.exports;
|
|
612
612
|
}
|
|
613
613
|
var e = xa();
|
|
614
614
|
const va = "_headerWrapper_13o88_1", ya = "_heroWrapper_13o88_29", ba = "_title_13o88_38", ja = "_subtitleText_13o88_50", wa = "_subtitleSubtext_13o88_61", Sa = "_heroImage_13o88_72", Fe = {
|
|
@@ -618,7 +618,7 @@ const va = "_headerWrapper_13o88_1", ya = "_heroWrapper_13o88_29", ba = "_title_
|
|
|
618
618
|
subtitleText: ja,
|
|
619
619
|
subtitleSubtext: wa,
|
|
620
620
|
heroImage: Sa
|
|
621
|
-
}, Ca = "_premiumBadge_fw95k_1", ka = "_header_fw95k_17", Ta = "_transparentHeader_fw95k_21", Na = "_title_fw95k_24", Ea = "_subtitle_fw95k_27", Ra = "_leftBlock_fw95k_31", La = "_logo_fw95k_35",
|
|
621
|
+
}, Ca = "_premiumBadge_fw95k_1", ka = "_header_fw95k_17", Ta = "_transparentHeader_fw95k_21", Na = "_title_fw95k_24", Ea = "_subtitle_fw95k_27", Ra = "_leftBlock_fw95k_31", La = "_logo_fw95k_35", Ia = "_titleBlock_fw95k_39", Da = "_tags_fw95k_51", Pa = "_liveTag_fw95k_55", Aa = "_liveDot_fw95k_59", Fa = "_daysTag_fw95k_63", Ba = "_joinFreeTag_fw95k_69", he = {
|
|
622
622
|
premiumBadge: Ca,
|
|
623
623
|
header: ka,
|
|
624
624
|
transparentHeader: Ta,
|
|
@@ -626,15 +626,15 @@ const va = "_headerWrapper_13o88_1", ya = "_heroWrapper_13o88_29", ba = "_title_
|
|
|
626
626
|
subtitle: Ea,
|
|
627
627
|
leftBlock: Ra,
|
|
628
628
|
logo: La,
|
|
629
|
-
titleBlock:
|
|
630
|
-
tags:
|
|
631
|
-
liveTag:
|
|
629
|
+
titleBlock: Ia,
|
|
630
|
+
tags: Da,
|
|
631
|
+
liveTag: Pa,
|
|
632
632
|
liveDot: Aa,
|
|
633
633
|
daysTag: Fa,
|
|
634
634
|
joinFreeTag: Ba
|
|
635
635
|
}, Oa = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", fn = ({
|
|
636
636
|
isLive: t = !1,
|
|
637
|
-
daysRemaining:
|
|
637
|
+
daysRemaining: a,
|
|
638
638
|
isLoggedIn: r = !0,
|
|
639
639
|
isSubscribed: o = !1,
|
|
640
640
|
isTransparent: s = !1,
|
|
@@ -652,8 +652,8 @@ const va = "_headerWrapper_13o88_1", ya = "_heroWrapper_13o88_29", ba = "_title_
|
|
|
652
652
|
/* @__PURE__ */ e.jsx("span", { className: he.liveDot, "aria-hidden": "true" }),
|
|
653
653
|
/* @__PURE__ */ e.jsx("span", { children: "LIVE" })
|
|
654
654
|
] }),
|
|
655
|
-
o ? /* @__PURE__ */ e.jsx("div", { className: he.premiumBadge, children: "Premium" }) : typeof
|
|
656
|
-
|
|
655
|
+
o ? /* @__PURE__ */ e.jsx("div", { className: he.premiumBadge, children: "Premium" }) : typeof a == "number" && a > 0 && /* @__PURE__ */ e.jsxs("div", { className: he.daysTag, children: [
|
|
656
|
+
a,
|
|
657
657
|
" Days Remain"
|
|
658
658
|
] })
|
|
659
659
|
] }) : /* @__PURE__ */ e.jsx(
|
|
@@ -776,15 +776,15 @@ const va = "_headerWrapper_13o88_1", ya = "_heroWrapper_13o88_29", ba = "_title_
|
|
|
776
776
|
imageUrl: "https://srm-cdn.a4b.io/yoda/1776853894207.webp"
|
|
777
777
|
}
|
|
778
778
|
], yr = (t) => "★".repeat(Math.max(0, t)), br = ({ item: t }) => {
|
|
779
|
-
const [
|
|
779
|
+
const [a, r] = T(!1), [o, s] = T(!1), c = M(null), u = Et(() => {
|
|
780
780
|
const i = c.current;
|
|
781
|
-
if (!i ||
|
|
781
|
+
if (!i || a)
|
|
782
782
|
return;
|
|
783
|
-
const
|
|
784
|
-
s(
|
|
785
|
-
}, [
|
|
786
|
-
return
|
|
787
|
-
if (
|
|
783
|
+
const p = i.scrollHeight > i.clientHeight + 1;
|
|
784
|
+
s(p);
|
|
785
|
+
}, [a]);
|
|
786
|
+
return P(() => {
|
|
787
|
+
if (a) {
|
|
788
788
|
s(!1);
|
|
789
789
|
return;
|
|
790
790
|
}
|
|
@@ -792,7 +792,7 @@ const va = "_headerWrapper_13o88_1", ya = "_heroWrapper_13o88_29", ba = "_title_
|
|
|
792
792
|
return window.addEventListener("resize", u), () => {
|
|
793
793
|
window.cancelAnimationFrame(i), window.removeEventListener("resize", u);
|
|
794
794
|
};
|
|
795
|
-
}, [u,
|
|
795
|
+
}, [u, a, t.quote]), /* @__PURE__ */ e.jsxs("article", { className: B.testimonialCard, children: [
|
|
796
796
|
/* @__PURE__ */ e.jsxs("div", { className: B.testimonialHeader, children: [
|
|
797
797
|
/* @__PURE__ */ e.jsx("div", { className: B.avatar, children: t.initial }),
|
|
798
798
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
@@ -805,7 +805,7 @@ const va = "_headerWrapper_13o88_1", ya = "_heroWrapper_13o88_29", ba = "_title_
|
|
|
805
805
|
"p",
|
|
806
806
|
{
|
|
807
807
|
ref: c,
|
|
808
|
-
className: `${B.quote} ${
|
|
808
|
+
className: `${B.quote} ${a ? "" : B.quoteClamped}`.trim(),
|
|
809
809
|
children: [
|
|
810
810
|
'" ',
|
|
811
811
|
t.quote,
|
|
@@ -813,7 +813,7 @@ const va = "_headerWrapper_13o88_1", ya = "_heroWrapper_13o88_29", ba = "_title_
|
|
|
813
813
|
]
|
|
814
814
|
}
|
|
815
815
|
),
|
|
816
|
-
o && !
|
|
816
|
+
o && !a && /* @__PURE__ */ e.jsx(
|
|
817
817
|
"button",
|
|
818
818
|
{
|
|
819
819
|
type: "button",
|
|
@@ -823,100 +823,101 @@ const va = "_headerWrapper_13o88_1", ya = "_heroWrapper_13o88_29", ba = "_title_
|
|
|
823
823
|
}
|
|
824
824
|
)
|
|
825
825
|
] }, t.id);
|
|
826
|
-
}, jr = ({
|
|
827
|
-
const
|
|
828
|
-
return
|
|
829
|
-
t?.("Reviews");
|
|
830
|
-
}, [t]), /* @__PURE__ */ e.jsxs("section", { className: B.devoteesSection, children: [
|
|
826
|
+
}, jr = ({ onSwipe: t }) => {
|
|
827
|
+
const a = M(1);
|
|
828
|
+
return /* @__PURE__ */ e.jsxs("section", { className: B.devoteesSection, "data-logged-out-section": "reviews", children: [
|
|
831
829
|
/* @__PURE__ */ e.jsx("h2", { className: B.sectionTitle, children: "What Devotees Say" }),
|
|
832
830
|
/* @__PURE__ */ e.jsx(
|
|
833
831
|
"div",
|
|
834
832
|
{
|
|
835
833
|
className: B.testimonialsScroll,
|
|
836
|
-
onScroll: (
|
|
837
|
-
const
|
|
838
|
-
if (!
|
|
839
|
-
|
|
834
|
+
onScroll: (r) => {
|
|
835
|
+
const o = r.currentTarget, s = o.firstElementChild;
|
|
836
|
+
if (!s) {
|
|
837
|
+
t?.(1);
|
|
840
838
|
return;
|
|
841
839
|
}
|
|
842
|
-
const
|
|
843
|
-
|
|
840
|
+
const c = window.getComputedStyle(o), u = Number.parseFloat(c.columnGap || c.gap || "0") || 0, i = Math.max(1, s.offsetWidth + u), p = Math.max(1, Math.round(o.scrollLeft / i) + 1);
|
|
841
|
+
p !== a.current && (a.current = p, t?.(p));
|
|
844
842
|
},
|
|
845
|
-
children: xr.map((
|
|
843
|
+
children: xr.map((r) => /* @__PURE__ */ e.jsx(br, { item: r }, r.id))
|
|
846
844
|
}
|
|
847
845
|
)
|
|
848
846
|
] });
|
|
849
|
-
}, wr = (
|
|
850
|
-
t?.("What you get");
|
|
851
|
-
}, [t]), /* @__PURE__ */ e.jsxs("section", { className: B.section, children: [
|
|
847
|
+
}, wr = () => /* @__PURE__ */ e.jsxs("section", { className: B.section, "data-logged-out-section": "what_you_get", children: [
|
|
852
848
|
/* @__PURE__ */ e.jsx("h2", { className: B.sectionTitle, children: "What You'll Get" }),
|
|
853
|
-
/* @__PURE__ */ e.jsx("div", { className: B.benefitsList, children: gr.map((
|
|
854
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
849
|
+
/* @__PURE__ */ e.jsx("div", { className: B.benefitsList, children: gr.map((t) => /* @__PURE__ */ e.jsxs("div", { className: B.benefitItem, children: [
|
|
850
|
+
/* @__PURE__ */ e.jsx("img", { src: t.iconUrl, alt: t.title, className: B.benefitIcon }),
|
|
855
851
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
856
|
-
/* @__PURE__ */ e.jsx("p", { className: B.benefitTitle, children:
|
|
857
|
-
/* @__PURE__ */ e.jsx("p", { className: B.benefitDesc, children:
|
|
852
|
+
/* @__PURE__ */ e.jsx("p", { className: B.benefitTitle, children: t.title }),
|
|
853
|
+
/* @__PURE__ */ e.jsx("p", { className: B.benefitDesc, children: t.description })
|
|
858
854
|
] })
|
|
859
|
-
] },
|
|
860
|
-
] })
|
|
855
|
+
] }, t.id)) })
|
|
856
|
+
] }), Sr = [
|
|
861
857
|
{ id: "devotees", value: "30 Lac+", label: "Devotees" },
|
|
862
858
|
{ id: "rating", value: "4.7 ★", label: "Rating" },
|
|
863
859
|
{ id: "services", value: "3M+", label: "Services" }
|
|
864
|
-
], Cr = ({
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
/* @__PURE__ */ e.jsx("p", { className: B.statLabel, children: n.label })
|
|
869
|
-
] }, n.id)) }) })), kr = ({
|
|
860
|
+
], Cr = () => /* @__PURE__ */ e.jsx("section", { className: B.statsSection, "data-logged-out-section": "stats_bar", children: /* @__PURE__ */ e.jsx("div", { className: B.statsCard, children: Sr.map((t) => /* @__PURE__ */ e.jsxs("div", { className: B.statItem, children: [
|
|
861
|
+
/* @__PURE__ */ e.jsx("p", { className: B.statValue, children: t.value }),
|
|
862
|
+
/* @__PURE__ */ e.jsx("p", { className: B.statLabel, children: t.label })
|
|
863
|
+
] }, t.id)) }) }), kr = ({
|
|
870
864
|
onJoinClick: t,
|
|
871
|
-
onImpression:
|
|
872
|
-
}) => (
|
|
873
|
-
|
|
874
|
-
}, [
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
"
|
|
882
|
-
|
|
883
|
-
children: r.imageUrl ? /* @__PURE__ */ e.jsx(
|
|
884
|
-
"img",
|
|
865
|
+
onImpression: a
|
|
866
|
+
}) => (Yt.useEffect(() => {
|
|
867
|
+
a?.("Login CTA");
|
|
868
|
+
}, [a]), /* @__PURE__ */ e.jsxs(
|
|
869
|
+
"section",
|
|
870
|
+
{
|
|
871
|
+
className: B.stickyJoinSection,
|
|
872
|
+
"data-logged-out-sticky-cta": "true",
|
|
873
|
+
children: [
|
|
874
|
+
/* @__PURE__ */ e.jsxs("div", { className: B.stickyJoinHead, children: [
|
|
875
|
+
/* @__PURE__ */ e.jsx("div", { className: B.avatarGroup, children: vr.map((r) => /* @__PURE__ */ e.jsx(
|
|
876
|
+
"span",
|
|
885
877
|
{
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
878
|
+
className: B.stickyAvatar,
|
|
879
|
+
style: { background: r.bgColor || "#ef6c00" },
|
|
880
|
+
"aria-label": r.name,
|
|
881
|
+
title: r.name,
|
|
882
|
+
children: r.imageUrl ? /* @__PURE__ */ e.jsx(
|
|
883
|
+
"img",
|
|
884
|
+
{
|
|
885
|
+
src: r.imageUrl,
|
|
886
|
+
alt: r.name,
|
|
887
|
+
className: B.stickyAvatarImage,
|
|
888
|
+
loading: "lazy"
|
|
889
|
+
}
|
|
890
|
+
) : /* @__PURE__ */ e.jsx("span", { className: B.stickyAvatarLabel, children: r.initial })
|
|
891
|
+
},
|
|
892
|
+
r.id
|
|
893
|
+
)) }),
|
|
894
|
+
/* @__PURE__ */ e.jsxs("p", { className: B.stickyJoinText, children: [
|
|
895
|
+
/* @__PURE__ */ e.jsx("strong", { children: "1,200+ devotees" }),
|
|
896
|
+
" joined this week"
|
|
897
|
+
] })
|
|
898
|
+
] }),
|
|
899
|
+
/* @__PURE__ */ e.jsx(
|
|
900
|
+
"button",
|
|
901
|
+
{
|
|
902
|
+
type: "button",
|
|
903
|
+
className: B.stickyJoinCta,
|
|
904
|
+
onClick: t,
|
|
905
|
+
children: "Register for Free"
|
|
906
|
+
}
|
|
907
|
+
)
|
|
908
|
+
]
|
|
909
|
+
}
|
|
910
|
+
)), na = ({
|
|
910
911
|
onJoinClick: t,
|
|
911
|
-
onSectionImpression:
|
|
912
|
+
onSectionImpression: a,
|
|
912
913
|
onReviewsSwipe: r
|
|
913
914
|
}) => /* @__PURE__ */ e.jsxs("div", { className: B.root, children: [
|
|
914
|
-
/* @__PURE__ */ e.jsx(wr, { onImpression:
|
|
915
|
-
/* @__PURE__ */ e.jsx(Cr, { onImpression:
|
|
915
|
+
/* @__PURE__ */ e.jsx(wr, { onImpression: a }),
|
|
916
|
+
/* @__PURE__ */ e.jsx(Cr, { onImpression: a }),
|
|
916
917
|
/* @__PURE__ */ e.jsx(
|
|
917
918
|
jr,
|
|
918
919
|
{
|
|
919
|
-
onImpression:
|
|
920
|
+
onImpression: a,
|
|
920
921
|
onSwipe: r
|
|
921
922
|
}
|
|
922
923
|
),
|
|
@@ -924,22 +925,22 @@ const va = "_headerWrapper_13o88_1", ya = "_heroWrapper_13o88_29", ba = "_title_
|
|
|
924
925
|
kr,
|
|
925
926
|
{
|
|
926
927
|
onJoinClick: t,
|
|
927
|
-
onImpression:
|
|
928
|
+
onImpression: a
|
|
928
929
|
}
|
|
929
930
|
)
|
|
930
931
|
] });
|
|
931
932
|
function Tr({ text: t }) {
|
|
932
933
|
return /* @__PURE__ */ e.jsx("h2", { className: Fe.title, children: t });
|
|
933
934
|
}
|
|
934
|
-
function Nr({ text: t, subtext:
|
|
935
|
+
function Nr({ text: t, subtext: a }) {
|
|
935
936
|
return /* @__PURE__ */ e.jsxs("div", { className: Fe.subtitleWrapper, children: [
|
|
936
937
|
/* @__PURE__ */ e.jsx("p", { className: Fe.subtitleText, children: t }),
|
|
937
|
-
/* @__PURE__ */ e.jsx("p", { className: Fe.subtitleSubtext, children:
|
|
938
|
+
/* @__PURE__ */ e.jsx("p", { className: Fe.subtitleSubtext, children: a })
|
|
938
939
|
] });
|
|
939
940
|
}
|
|
940
941
|
function Er({
|
|
941
942
|
containerRef: t,
|
|
942
|
-
stableStreamStatus:
|
|
943
|
+
stableStreamStatus: a,
|
|
943
944
|
daysRemaining: r,
|
|
944
945
|
isSubscribed: o,
|
|
945
946
|
onJoinClick: s,
|
|
@@ -947,14 +948,12 @@ function Er({
|
|
|
947
948
|
onSectionImpression: u,
|
|
948
949
|
onCarouselSwipe: i
|
|
949
950
|
}) {
|
|
950
|
-
return
|
|
951
|
-
|
|
952
|
-
}, [u]), /* @__PURE__ */ e.jsxs("div", { ref: t, className: Fe.container, children: [
|
|
953
|
-
/* @__PURE__ */ e.jsxs("div", { className: Fe.headerWrapper, children: [
|
|
951
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: t, className: Fe.container, children: [
|
|
952
|
+
/* @__PURE__ */ e.jsxs("div", { className: Fe.headerWrapper, "data-logged-out-section": "header_wrapper", children: [
|
|
954
953
|
/* @__PURE__ */ e.jsx(
|
|
955
954
|
fn,
|
|
956
955
|
{
|
|
957
|
-
isLive:
|
|
956
|
+
isLive: a === "LIVE",
|
|
958
957
|
daysRemaining: r,
|
|
959
958
|
isLoggedIn: !1,
|
|
960
959
|
isSubscribed: o,
|
|
@@ -986,7 +985,7 @@ function Er({
|
|
|
986
985
|
{
|
|
987
986
|
onJoinClick: s,
|
|
988
987
|
onSectionImpression: u,
|
|
989
|
-
onReviewsSwipe: (
|
|
988
|
+
onReviewsSwipe: (p) => i?.({ sectionName: "Reviews", elementPosition: p })
|
|
990
989
|
}
|
|
991
990
|
)
|
|
992
991
|
] });
|
|
@@ -1087,20 +1086,20 @@ const Rr = {
|
|
|
1087
1086
|
hours: "घंटे",
|
|
1088
1087
|
minutes: "मिनट",
|
|
1089
1088
|
secondsLabel: "सेकंड"
|
|
1090
|
-
},
|
|
1089
|
+
}, Ir = {
|
|
1091
1090
|
en: Rr,
|
|
1092
1091
|
hi: Lr
|
|
1093
1092
|
}, aa = ta(null), dl = ({
|
|
1094
1093
|
locale: t,
|
|
1095
|
-
children:
|
|
1094
|
+
children: a
|
|
1096
1095
|
}) => {
|
|
1097
|
-
const o = { locale: t, t: (s) =>
|
|
1098
|
-
return /* @__PURE__ */ e.jsx(aa.Provider, { value: o, children:
|
|
1096
|
+
const o = { locale: t, t: (s) => Ir[t]?.[s] ?? s };
|
|
1097
|
+
return /* @__PURE__ */ e.jsx(aa.Provider, { value: o, children: a });
|
|
1099
1098
|
};
|
|
1100
|
-
function
|
|
1099
|
+
function Dr() {
|
|
1101
1100
|
return ea(aa);
|
|
1102
1101
|
}
|
|
1103
|
-
const ra = ta(void 0),
|
|
1102
|
+
const ra = ta(void 0), Pr = () => {
|
|
1104
1103
|
const t = ea(ra);
|
|
1105
1104
|
if (!t)
|
|
1106
1105
|
throw new Error("useAppContext must be used within AppContextProvider");
|
|
@@ -1108,12 +1107,12 @@ const ra = ta(void 0), Ir = () => {
|
|
|
1108
1107
|
}, ul = ({
|
|
1109
1108
|
children: t
|
|
1110
1109
|
}) => {
|
|
1111
|
-
const [
|
|
1110
|
+
const [a, r] = T(null), [o, s] = T(!1);
|
|
1112
1111
|
return /* @__PURE__ */ e.jsx(
|
|
1113
1112
|
ra.Provider,
|
|
1114
1113
|
{
|
|
1115
1114
|
value: {
|
|
1116
|
-
userData:
|
|
1115
|
+
userData: a,
|
|
1117
1116
|
setUserData: r,
|
|
1118
1117
|
showSuccess: o,
|
|
1119
1118
|
setShowSuccess: s
|
|
@@ -1142,30 +1141,30 @@ const ra = ta(void 0), Ir = () => {
|
|
|
1142
1141
|
step: Zr,
|
|
1143
1142
|
stepNumber: Qr,
|
|
1144
1143
|
stepText: es
|
|
1145
|
-
}, ts = "918151810300", ns = "I'm interested in the Rasrajji Hanuman Jayanti Path",
|
|
1144
|
+
}, ts = "918151810300", ns = "I'm interested in the Rasrajji Hanuman Jayanti Path", Pn = `https://wa.me/${ts}?text=${encodeURIComponent(ns)}`, pl = ({
|
|
1146
1145
|
userName: t = "Rahul",
|
|
1147
|
-
eventName:
|
|
1146
|
+
eventName: a = "Hanuman Jayanti Maha Path",
|
|
1148
1147
|
eventDate: r = "2nd April",
|
|
1149
1148
|
eventTime: o = "9:00 AM onwards",
|
|
1150
1149
|
onWhatsAppClick: s,
|
|
1151
1150
|
redirectSeconds: c = 10,
|
|
1152
1151
|
analytics: u,
|
|
1153
1152
|
showToast: i,
|
|
1154
|
-
disableRedirect:
|
|
1153
|
+
disableRedirect: p = !1
|
|
1155
1154
|
}) => {
|
|
1156
|
-
const d =
|
|
1157
|
-
return
|
|
1155
|
+
const d = Dr()?.t || ((S) => S), { userData: f } = Pr(), [g, y] = T(c), _ = M(!1), w = f?.name || t;
|
|
1156
|
+
return P(() => {
|
|
1158
1157
|
!_.current && u?.trackSuccessPageViewed && (u.trackSuccessPageViewed({
|
|
1159
1158
|
name: f?.name,
|
|
1160
1159
|
phone: f?.fullPhoneNumber
|
|
1161
1160
|
}), _.current = !0);
|
|
1162
|
-
}, [u, f?.name, f?.fullPhoneNumber]),
|
|
1163
|
-
if (!
|
|
1161
|
+
}, [u, f?.name, f?.fullPhoneNumber]), P(() => {
|
|
1162
|
+
if (!p)
|
|
1164
1163
|
if (g > 0) {
|
|
1165
|
-
const
|
|
1166
|
-
return () => clearTimeout(
|
|
1167
|
-
} else g === 0 && (window.location.href =
|
|
1168
|
-
}, [g,
|
|
1164
|
+
const S = setTimeout(() => y(g - 1), 1e3);
|
|
1165
|
+
return () => clearTimeout(S);
|
|
1166
|
+
} else g === 0 && (window.location.href = Pn);
|
|
1167
|
+
}, [g, p]), /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: q.successPage, children: [
|
|
1169
1168
|
/* @__PURE__ */ e.jsx("div", { className: q.profileImageContainer, children: /* @__PURE__ */ e.jsx(
|
|
1170
1169
|
"img",
|
|
1171
1170
|
{
|
|
@@ -1182,13 +1181,13 @@ const ra = ta(void 0), Ir = () => {
|
|
|
1182
1181
|
/* @__PURE__ */ e.jsxs("h1", { className: q.userName, children: [
|
|
1183
1182
|
d("namaste"),
|
|
1184
1183
|
", ",
|
|
1185
|
-
|
|
1184
|
+
w,
|
|
1186
1185
|
" Ji"
|
|
1187
1186
|
] })
|
|
1188
1187
|
] }),
|
|
1189
1188
|
/* @__PURE__ */ e.jsxs("div", { className: q.registrationCard, children: [
|
|
1190
1189
|
/* @__PURE__ */ e.jsx("p", { className: q.registeredText, children: d("registeredFor") }),
|
|
1191
|
-
/* @__PURE__ */ e.jsx("h2", { className: q.eventName, children:
|
|
1190
|
+
/* @__PURE__ */ e.jsx("h2", { className: q.eventName, children: a }),
|
|
1192
1191
|
/* @__PURE__ */ e.jsxs("p", { className: q.eventDetails, children: [
|
|
1193
1192
|
r,
|
|
1194
1193
|
" · ",
|
|
@@ -1201,7 +1200,7 @@ const ra = ta(void 0), Ir = () => {
|
|
|
1201
1200
|
className: q.whatsappButton,
|
|
1202
1201
|
onClick: () => {
|
|
1203
1202
|
u?.trackWhatsappBtnClicked?.(), i?.("success", "Redirecting to WhatsApp..."), setTimeout(() => {
|
|
1204
|
-
window.location.href =
|
|
1203
|
+
window.location.href = Pn;
|
|
1205
1204
|
}, 500), s?.();
|
|
1206
1205
|
},
|
|
1207
1206
|
type: "button",
|
|
@@ -1234,7 +1233,7 @@ const ra = ta(void 0), Ir = () => {
|
|
|
1234
1233
|
] })
|
|
1235
1234
|
] })
|
|
1236
1235
|
] }) });
|
|
1237
|
-
}, as = "_container_2pn1q_2", rs = "_video_2pn1q_26", ss = "_videoFullscreenWithBelowBanner_2pn1q_40", os = "_banner_2pn1q_47", is = "_bannerCard_2pn1q_64", ls = "_landscapeHeader_2pn1q_103", cs = "_landscapeScroll_2pn1q_131", ds = "_chat_2pn1q_169", us = "_iframe_2pn1q_193", ps = "_fullscreenBtn_2pn1q_200", hs = "_fullscreenChatPanel_2pn1q_299", fs = "_chatLoader_2pn1q_315", ms = "_chatLoaderCompact_2pn1q_328", _s = "_spinner_2pn1q_332", gs = "_chatLoaderText_2pn1q_346", xs = "_landscapeCard_2pn1q_435", vs = "_landscapeImageWrapper_2pn1q_459", ys = "_landscapeImage_2pn1q_459", bs = "_landscapeContent_2pn1q_476", js = "_landscapeTitle_2pn1q_488", ws = "_landscapePriceRow_2pn1q_504", Ss = "_landscapePrice_2pn1q_504", Cs = "_landscapeAdd_2pn1q_554", ks = "_carousel_2pn1q_619", Ts = "_customSheetOverlay_2pn1q_645", Ns = "_customSheet_2pn1q_645", Es = "_customSheetTitle_2pn1q_666", Rs = "_customSheetRow_2pn1q_676", Ls = "_customInputWrap_2pn1q_682",
|
|
1236
|
+
}, as = "_container_2pn1q_2", rs = "_video_2pn1q_26", ss = "_videoFullscreenWithBelowBanner_2pn1q_40", os = "_banner_2pn1q_47", is = "_bannerCard_2pn1q_64", ls = "_landscapeHeader_2pn1q_103", cs = "_landscapeScroll_2pn1q_131", ds = "_chat_2pn1q_169", us = "_iframe_2pn1q_193", ps = "_fullscreenBtn_2pn1q_200", hs = "_fullscreenChatPanel_2pn1q_299", fs = "_chatLoader_2pn1q_315", ms = "_chatLoaderCompact_2pn1q_328", _s = "_spinner_2pn1q_332", gs = "_chatLoaderText_2pn1q_346", xs = "_landscapeCard_2pn1q_435", vs = "_landscapeImageWrapper_2pn1q_459", ys = "_landscapeImage_2pn1q_459", bs = "_landscapeContent_2pn1q_476", js = "_landscapeTitle_2pn1q_488", ws = "_landscapePriceRow_2pn1q_504", Ss = "_landscapePrice_2pn1q_504", Cs = "_landscapeAdd_2pn1q_554", ks = "_carousel_2pn1q_619", Ts = "_customSheetOverlay_2pn1q_645", Ns = "_customSheet_2pn1q_645", Es = "_customSheetTitle_2pn1q_666", Rs = "_customSheetRow_2pn1q_676", Ls = "_customInputWrap_2pn1q_682", Is = "_currencySymbol_2pn1q_688", Ds = "_customInput_2pn1q_682", Ps = "_customContinueBtn_2pn1q_717", As = "_carouselDots_2pn1q_814", Fs = "_dot_2pn1q_825", Bs = "_dotActive_2pn1q_836", Os = "_pujaBanner_2pn1q_844", Ms = "_pujaWrapperVertical_2pn1q_856", $s = "_pujaCardVertical_2pn1q_873", Us = "_pujaImage_2pn1q_890", Ws = "_pujaContent_2pn1q_900", Hs = "_pujaTitle_2pn1q_906", Vs = "_pujaSub_2pn1q_921", qs = "_locationIcon_2pn1q_938", zs = "_dateIcon_2pn1q_944", Ys = "_pujaTrustmakers_2pn1q_951", Gs = "_pujaMetaText_2pn1q_968", Js = "_pujaCardHorizontal_2pn1q_977", Ks = "_pujaImageHorizontal_2pn1q_995", Xs = "_pujaContentHorizontal_2pn1q_1005", Zs = "_pujaTitleHorizontal_2pn1q_1037", Qs = "_pujaSubHorizontal_2pn1q_1052", eo = "_stickyTabs_2pn1q_1076", to = "_landscapeLayout_2pn1q_1086", no = "_landscapeLeft_2pn1q_1094", ao = "_landscapeRight_2pn1q_1102", ro = "_landscapePanelHeader_2pn1q_1112", so = "_landscapeCloseBtn_2pn1q_1120", oo = "_landscapePanelBody_2pn1q_1138", io = "_landscapeChat_2pn1q_1145", lo = "_fullscreenPanelHeader_2pn1q_1152", co = "_fullscreenChatCloseBtn_2pn1q_1160", uo = "_fullscreenPanelScroll_2pn1q_1180", po = "_sectionsScroll_2pn1q_1261", ho = "_sectionsFlow_2pn1q_1270", fo = "_fullscreenWithPanel_2pn1q_1278", mo = "_fullscreenLeft_2pn1q_1288", _o = "_fullscreenVideoArea_2pn1q_1297", h = {
|
|
1238
1237
|
container: as,
|
|
1239
1238
|
video: rs,
|
|
1240
1239
|
videoFullscreenWithBelowBanner: ss,
|
|
@@ -1264,9 +1263,9 @@ const ra = ta(void 0), Ir = () => {
|
|
|
1264
1263
|
customSheetTitle: Es,
|
|
1265
1264
|
customSheetRow: Rs,
|
|
1266
1265
|
customInputWrap: Ls,
|
|
1267
|
-
currencySymbol:
|
|
1268
|
-
customInput:
|
|
1269
|
-
customContinueBtn:
|
|
1266
|
+
currencySymbol: Is,
|
|
1267
|
+
customInput: Ds,
|
|
1268
|
+
customContinueBtn: Ps,
|
|
1270
1269
|
carouselDots: As,
|
|
1271
1270
|
dot: Fs,
|
|
1272
1271
|
dotActive: Bs,
|
|
@@ -1319,7 +1318,7 @@ const ra = ta(void 0), Ir = () => {
|
|
|
1319
1318
|
subscription: "Subscription"
|
|
1320
1319
|
}, rn = ({
|
|
1321
1320
|
activeTab: t,
|
|
1322
|
-
onTabChange:
|
|
1321
|
+
onTabChange: a,
|
|
1323
1322
|
onChatPress: r,
|
|
1324
1323
|
chatOpen: o = !1,
|
|
1325
1324
|
showSubscription: s = !1,
|
|
@@ -1361,33 +1360,33 @@ const ra = ta(void 0), Ir = () => {
|
|
|
1361
1360
|
{
|
|
1362
1361
|
className: `flex items-stretch gap-[24px] ${u ? "" : "w-full justify-center"}`,
|
|
1363
1362
|
"aria-label": "DLP navigation",
|
|
1364
|
-
children: i.map((
|
|
1365
|
-
const
|
|
1363
|
+
children: i.map((p) => {
|
|
1364
|
+
const k = p === t;
|
|
1366
1365
|
return /* @__PURE__ */ e.jsxs(
|
|
1367
1366
|
"button",
|
|
1368
1367
|
{
|
|
1369
1368
|
type: "button",
|
|
1370
1369
|
role: "tab",
|
|
1371
|
-
"aria-selected":
|
|
1372
|
-
onClick: () =>
|
|
1370
|
+
"aria-selected": k,
|
|
1371
|
+
onClick: () => a(p),
|
|
1373
1372
|
className: "flex flex-col items-center justify-center pt-2 pb-0 bg-transparent border-none cursor-pointer flex-shrink-0 focus-visible:outline-2 focus-visible:outline-orange-500 focus-visible:-outline-offset-2",
|
|
1374
1373
|
children: [
|
|
1375
1374
|
/* @__PURE__ */ e.jsx(
|
|
1376
1375
|
"span",
|
|
1377
1376
|
{
|
|
1378
|
-
className: `text-[14px] font-semibold whitespace-nowrap pb-1.5 ${
|
|
1379
|
-
children: xo[
|
|
1377
|
+
className: `text-[14px] font-semibold whitespace-nowrap pb-1.5 ${k && !o ? "text-orange-500" : "text-gray-500"}`,
|
|
1378
|
+
children: xo[p]
|
|
1380
1379
|
}
|
|
1381
1380
|
),
|
|
1382
1381
|
/* @__PURE__ */ e.jsx(
|
|
1383
1382
|
"span",
|
|
1384
1383
|
{
|
|
1385
|
-
className: `block w-full h-0.5 rounded-t ${
|
|
1384
|
+
className: `block w-full h-0.5 rounded-t ${k && !o ? "bg-orange-500" : "bg-transparent"}`
|
|
1386
1385
|
}
|
|
1387
1386
|
)
|
|
1388
1387
|
]
|
|
1389
1388
|
},
|
|
1390
|
-
|
|
1389
|
+
p
|
|
1391
1390
|
);
|
|
1392
1391
|
})
|
|
1393
1392
|
}
|
|
@@ -1395,7 +1394,7 @@ const ra = ta(void 0), Ir = () => {
|
|
|
1395
1394
|
]
|
|
1396
1395
|
}
|
|
1397
1396
|
) });
|
|
1398
|
-
}, vo = "_wrapper_1ef52_1", yo = "_marker_1ef52_6", bo = "_iconWrap_1ef52_10", jo = "_label_1ef52_14", wo = "_dot_1ef52_19",
|
|
1397
|
+
}, vo = "_wrapper_1ef52_1", yo = "_marker_1ef52_6", bo = "_iconWrap_1ef52_10", jo = "_label_1ef52_14", wo = "_dot_1ef52_19", wt = {
|
|
1399
1398
|
wrapper: vo,
|
|
1400
1399
|
marker: yo,
|
|
1401
1400
|
iconWrap: bo,
|
|
@@ -1507,21 +1506,21 @@ const ra = ta(void 0), Ir = () => {
|
|
|
1507
1506
|
devotees: Co,
|
|
1508
1507
|
rating: So,
|
|
1509
1508
|
verified: sa
|
|
1510
|
-
}, Fn = () => /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsx("div", { className:
|
|
1509
|
+
}, Fn = () => /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsx("div", { className: wt.wrapper, children: An.map((t, a) => {
|
|
1511
1510
|
const r = ko[t.id] || sa;
|
|
1512
|
-
return /* @__PURE__ */ e.jsxs(
|
|
1513
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1514
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1515
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1511
|
+
return /* @__PURE__ */ e.jsxs(Yt.Fragment, { children: [
|
|
1512
|
+
/* @__PURE__ */ e.jsxs("div", { className: wt.marker, children: [
|
|
1513
|
+
/* @__PURE__ */ e.jsx("span", { className: wt.iconWrap, children: /* @__PURE__ */ e.jsx(r, {}) }),
|
|
1514
|
+
/* @__PURE__ */ e.jsx("span", { className: wt.label, children: t.label })
|
|
1516
1515
|
] }),
|
|
1517
|
-
|
|
1516
|
+
a < An.length - 1 && /* @__PURE__ */ e.jsx("span", { className: wt.dot, "aria-hidden": "true", children: "•" })
|
|
1518
1517
|
] }, t.id);
|
|
1519
1518
|
}) }) }), To = "Share the Blessings", No = "Invite family to join daily Puja. Bring change to their lives.", Bn = "Share on WhatsApp", Eo = `Hey, I started this 7-day sadhna journey recently.
|
|
1520
1519
|
|
|
1521
1520
|
It’s just 15 minutes every day, and happens live from the ghats of Ganga Ghat. It’s been a really calming, grounding experience so far.
|
|
1522
1521
|
|
|
1523
1522
|
If you feel like trying something like this, join here:
|
|
1524
|
-
{CTA_LINK}`, On = "Your 7-Day Journey", Ro = "https://srm-cdn.a4b.io/yoda/1776256998292.svg", Lo = "https://srm-cdn.a4b.io/yoda/1776411247834.svg",
|
|
1523
|
+
{CTA_LINK}`, On = "Your 7-Day Journey", Ro = "https://srm-cdn.a4b.io/yoda/1776256998292.svg", Lo = "https://srm-cdn.a4b.io/yoda/1776411247834.svg", Io = (t, a) => `${t} of ${a} days attended. Keep going!`, sn = "After Day 7th, Continue with a weekly subscription for unlimited access.", Do = "Explore Sri Mandir", Po = "Explore Sri Mandir", Ao = "BEST VALUE", Fo = "Unlimited Daily Puja", Bo = "Never miss a sacred morning. Subscribe for full access, every day.", Oo = "Unlimited live access, every single day", Mo = "Daily WhatsApp reminders before Puja start", oa = "https://srm-cdn.a4b.io/yoda/1776255523256.png", $o = "/ Week", Uo = "Start Subscription", Wo = "No charge today. Cancel Anytime", Ee = {
|
|
1525
1524
|
id: "fallback-puja",
|
|
1526
1525
|
title: "5100 Hanuman Chalisa, 5100 Sankat mochan Hanumanashtak, Shani Tel..",
|
|
1527
1526
|
location: "Shri Navagrah Shani Temple, Ujjain, Madhya Pradesh",
|
|
@@ -1571,7 +1570,7 @@ If you feel like trying something like this, join here:
|
|
|
1571
1570
|
playsinline: 1
|
|
1572
1571
|
}, on = ({
|
|
1573
1572
|
attendedDays: t,
|
|
1574
|
-
totalDays:
|
|
1573
|
+
totalDays: a = 7,
|
|
1575
1574
|
currentDay: r,
|
|
1576
1575
|
isInactive: o = !1
|
|
1577
1576
|
}) => {
|
|
@@ -1607,7 +1606,7 @@ If you feel like trying something like this, join here:
|
|
|
1607
1606
|
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] text-gray-500 leading-4 m-0", children: "Attend today's Puja to restart your 7-day journey." })
|
|
1608
1607
|
] })
|
|
1609
1608
|
] }) });
|
|
1610
|
-
const s = new Set(t), c = t.length, u =
|
|
1609
|
+
const s = new Set(t), c = t.length, u = a, p = `calc((100% - ${(u - 1) * 4}px) / ${u})`;
|
|
1611
1610
|
return /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: "w-full bg-white px-4 py-4 flex flex-col gap-3", children: [
|
|
1612
1611
|
/* @__PURE__ */ e.jsx("h2", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: On }),
|
|
1613
1612
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1616,18 +1615,18 @@ If you feel like trying something like this, join here:
|
|
|
1616
1615
|
className: "flex items-stretch gap-1 pt-4 overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
1617
1616
|
role: "list",
|
|
1618
1617
|
"aria-label": "7-day journey",
|
|
1619
|
-
children: Array.from({ length:
|
|
1620
|
-
const f = d + 1, g = s.has(f), y = f === r, _ = f > r,
|
|
1621
|
-
let
|
|
1622
|
-
return g || y ?
|
|
1618
|
+
children: Array.from({ length: a }, (k, d) => {
|
|
1619
|
+
const f = d + 1, g = s.has(f), y = f === r, _ = f > r, w = f < r && !g;
|
|
1620
|
+
let S = "border-gray-300 bg-[#F7F8F9] text-gray-500";
|
|
1621
|
+
return g || y ? S = "border-orange-400 bg-orange-200 text-orange-900 shadow-[0_0_8px_rgba(252,207,154,1)]" : _ ? S = "border-gray-300 bg-[#E5E7EB] text-gray-500" : w && (S = "border-gray-300 bg-[#F7F8F9] text-gray-500"), /* @__PURE__ */ e.jsxs(
|
|
1623
1622
|
"div",
|
|
1624
1623
|
{
|
|
1625
1624
|
role: "listitem",
|
|
1626
1625
|
"aria-label": `Day ${f}${g ? ", attended" : y ? ", today" : ""}`,
|
|
1627
|
-
className: `relative flex flex-col items-center gap-1 rounded-lg border flex-shrink-0 self-stretch ${
|
|
1626
|
+
className: `relative flex flex-col items-center gap-1 rounded-lg border flex-shrink-0 self-stretch ${S}`,
|
|
1628
1627
|
style: {
|
|
1629
|
-
flex: `0 0 ${
|
|
1630
|
-
width:
|
|
1628
|
+
flex: `0 0 ${p}`,
|
|
1629
|
+
width: p,
|
|
1631
1630
|
padding: y ? "12px 4px 8px" : "8px 4px"
|
|
1632
1631
|
},
|
|
1633
1632
|
children: [
|
|
@@ -1669,7 +1668,7 @@ If you feel like trying something like this, join here:
|
|
|
1669
1668
|
})
|
|
1670
1669
|
}
|
|
1671
1670
|
),
|
|
1672
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] font-semibold text-orange-700 leading-5 m-0", children:
|
|
1671
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] font-semibold text-orange-700 leading-5 m-0", children: Io(c, a) })
|
|
1673
1672
|
] }) });
|
|
1674
1673
|
}, ln = ({
|
|
1675
1674
|
message: t
|
|
@@ -1747,13 +1746,13 @@ If you feel like trying something like this, join here:
|
|
|
1747
1746
|
}
|
|
1748
1747
|
), cn = ({
|
|
1749
1748
|
onShare: t,
|
|
1750
|
-
shareUserId:
|
|
1749
|
+
shareUserId: a
|
|
1751
1750
|
}) => {
|
|
1752
1751
|
const r = async () => {
|
|
1753
1752
|
if (t?.(), typeof window > "u")
|
|
1754
1753
|
return;
|
|
1755
1754
|
const o = new URL("/daily-live-puja", "https://www.srimandir.com");
|
|
1756
|
-
|
|
1755
|
+
a != null && String(a).trim() && o.searchParams.set("utm_medium", String(a).trim());
|
|
1757
1756
|
const s = Eo.replace(
|
|
1758
1757
|
"{CTA_LINK}",
|
|
1759
1758
|
o.toString()
|
|
@@ -1809,11 +1808,11 @@ If you feel like trying something like this, join here:
|
|
|
1809
1808
|
verifyText: di
|
|
1810
1809
|
}, ui = "https://srm-cdn.a4b.io/yoda/1776513536532.svg", pi = "https://srm-cdn.a4b.io/yoda/1776513582014.gif", hi = "https://srm-cdn.a4b.io/yoda/1776513685017.svg", Mn = ({
|
|
1811
1810
|
open: t,
|
|
1812
|
-
onClose:
|
|
1811
|
+
onClose: a,
|
|
1813
1812
|
onVerifyWhatsapp: r
|
|
1814
1813
|
}) => {
|
|
1815
1814
|
const [o, s] = T(t), [c, u] = T(!1), i = M(null);
|
|
1816
|
-
return
|
|
1815
|
+
return P(() => {
|
|
1817
1816
|
if (t) {
|
|
1818
1817
|
s(!0), u(!1), i.current && (window.clearTimeout(i.current), i.current = null);
|
|
1819
1818
|
return;
|
|
@@ -1837,7 +1836,7 @@ If you feel like trying something like this, join here:
|
|
|
1837
1836
|
{
|
|
1838
1837
|
type: "button",
|
|
1839
1838
|
className: le.closeButton,
|
|
1840
|
-
onClick:
|
|
1839
|
+
onClick: a,
|
|
1841
1840
|
"aria-label": "Close verification sheet",
|
|
1842
1841
|
children: /* @__PURE__ */ e.jsx("img", { src: ui, alt: "", "aria-hidden": "true", width: "24", height: "24" })
|
|
1843
1842
|
}
|
|
@@ -1878,11 +1877,11 @@ If you feel like trying something like this, join here:
|
|
|
1878
1877
|
"x-afb-language-mode": "en"
|
|
1879
1878
|
}, mi = (t) => t ? String(t).trim().replace(/[,\s]+/g, "").length > 0 : !1, _i = "https://www.srimandir.com", Wn = (t) => {
|
|
1880
1879
|
if (!t) return;
|
|
1881
|
-
const
|
|
1882
|
-
if (
|
|
1883
|
-
return
|
|
1880
|
+
const a = String(t).trim();
|
|
1881
|
+
if (a)
|
|
1882
|
+
return a.replace(/^https?:\/\/[^/]+/i, "").replace(/^\/epuja\//i, "").replace(/^\/+/, "").replace(/\?.*$/, "").replace(/#.*$/, "").replace(/\/+$/, "").trim();
|
|
1884
1883
|
}, gi = (t) => {
|
|
1885
|
-
const
|
|
1884
|
+
const a = t?.slug || t?.store_slug || t?.puja_slug || t?.seo_slug || t?.url_slug || t?.cta?.action_attr?.slug || t?.cta?.action_attr?.store_slug || t?.cta?.action_attr?.puja_slug || t?.cta?.action_attr?.seo_slug, r = Wn(a);
|
|
1886
1885
|
if (r) return r;
|
|
1887
1886
|
const o = t?.cta?.action_attr?.deeplink, s = Wn(o);
|
|
1888
1887
|
if (!s) return;
|
|
@@ -1891,45 +1890,45 @@ If you feel like trying something like this, join here:
|
|
|
1891
1890
|
);
|
|
1892
1891
|
return u >= 0 && c[u + 1] ? c[u + 1] : c[0];
|
|
1893
1892
|
}, xi = (t) => {
|
|
1894
|
-
const
|
|
1895
|
-
return r ? `${
|
|
1893
|
+
const a = typeof window < "u" && window?.location?.origin ? window.location.origin : _i, r = gi(t);
|
|
1894
|
+
return r ? `${a}/epuja/${encodeURIComponent(r)}` : `${a}/epuja`;
|
|
1896
1895
|
}, vi = (t) => {
|
|
1897
|
-
const
|
|
1898
|
-
return
|
|
1899
|
-
},
|
|
1900
|
-
...
|
|
1901
|
-
...
|
|
1902
|
-
...
|
|
1903
|
-
...
|
|
1896
|
+
const a = t?.cover_media?.type, r = t?.cover_media?.media_url, o = t?.cover_media?.media_thumbnail;
|
|
1897
|
+
return a === "video" ? o || Un : r || o || Un;
|
|
1898
|
+
}, st = (t) => Array.isArray(t) ? t : [], St = (t) => !t || typeof t != "object" ? !1 : !!(t?.id || t?.store_id || t?.inventory_id || t?.cover_media || t?.cta?.action_attr?.deeplink), yi = (t) => [
|
|
1899
|
+
...st(t?.data?.data?.cards),
|
|
1900
|
+
...st(t?.data?.cards),
|
|
1901
|
+
...st(t?.data?.data?.items),
|
|
1902
|
+
...st(t?.data?.items)
|
|
1904
1903
|
], bi = (t) => {
|
|
1905
|
-
const
|
|
1904
|
+
const a = [];
|
|
1906
1905
|
return t.forEach((r) => {
|
|
1907
1906
|
if (r && r?.visible !== !1) {
|
|
1908
1907
|
if (r?.type === "list_item_large") {
|
|
1909
|
-
|
|
1908
|
+
a.push(...st(r?.list_item_large?.list_items)), St(r?.list_item_large?.store) && a.push(r?.list_item_large?.store);
|
|
1910
1909
|
return;
|
|
1911
1910
|
}
|
|
1912
1911
|
if (r?.type === "pooja_list_item_large") {
|
|
1913
|
-
|
|
1912
|
+
St(r?.pooja_list_item_large?.store) && a.push(r?.pooja_list_item_large?.store), a.push(...st(r?.pooja_list_item_large?.list_items));
|
|
1914
1913
|
return;
|
|
1915
1914
|
}
|
|
1916
|
-
if (r?.type === "store_card" &&
|
|
1917
|
-
|
|
1915
|
+
if (r?.type === "store_card" && St(r?.store)) {
|
|
1916
|
+
a.push(r?.store);
|
|
1918
1917
|
return;
|
|
1919
1918
|
}
|
|
1920
|
-
if (
|
|
1921
|
-
|
|
1919
|
+
if (St(r?.store)) {
|
|
1920
|
+
a.push(r?.store);
|
|
1922
1921
|
return;
|
|
1923
1922
|
}
|
|
1924
|
-
|
|
1923
|
+
St(r) && a.push(r);
|
|
1925
1924
|
}
|
|
1926
|
-
}),
|
|
1927
|
-
}, ji = (t,
|
|
1925
|
+
}), a;
|
|
1926
|
+
}, ji = (t, a) => bi(t).filter(
|
|
1928
1927
|
(s) => s?.active !== !1
|
|
1929
1928
|
).filter((s, c, u) => {
|
|
1930
1929
|
const i = s?.id || s?.store_id || s?.inventory_id;
|
|
1931
|
-
return i ? u.findIndex((
|
|
1932
|
-
}).slice(0,
|
|
1930
|
+
return i ? u.findIndex((p) => (p?.id || p?.store_id || p?.inventory_id) === i) === c : !0;
|
|
1931
|
+
}).slice(0, a).map((s, c) => ({
|
|
1933
1932
|
id: s?.id || s?.store_id || s?.inventory_id || `store-card-${c}`,
|
|
1934
1933
|
storeId: s?.store_id || s?.id || s?.inventory_id,
|
|
1935
1934
|
serviceType: s?.service_type || s?.serviceType || s?.service?.type || s?.store_type,
|
|
@@ -1941,17 +1940,17 @@ If you feel like trying something like this, join here:
|
|
|
1941
1940
|
temple: mi(s?.location) ? s?.location : s?.description || s?.sub_title || "Sri Mandir",
|
|
1942
1941
|
date: s?.process_date || s?.process_date_dm || s?.metrics?.data?.[1]?.info || "",
|
|
1943
1942
|
href: xi(s)
|
|
1944
|
-
})), wi = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg", alt: "location", width: "16", height: "16" }), Si = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1770372045894.svg", alt: "calendar", width: "16", height: "16" }),
|
|
1943
|
+
})), wi = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg", alt: "location", width: "16", height: "16" }), Si = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1770372045894.svg", alt: "calendar", width: "16", height: "16" }), qt = 200, Ci = 230, ki = 130, Ti = ({ card: t, onClick: a }) => /* @__PURE__ */ e.jsxs(
|
|
1945
1944
|
"a",
|
|
1946
1945
|
{
|
|
1947
1946
|
href: t.href,
|
|
1948
1947
|
onClick: () => {
|
|
1949
|
-
|
|
1948
|
+
a && a(t);
|
|
1950
1949
|
},
|
|
1951
1950
|
style: {
|
|
1952
|
-
width:
|
|
1953
|
-
minWidth:
|
|
1954
|
-
maxWidth:
|
|
1951
|
+
width: qt,
|
|
1952
|
+
minWidth: qt,
|
|
1953
|
+
maxWidth: qt,
|
|
1955
1954
|
height: Ci,
|
|
1956
1955
|
borderRadius: 12,
|
|
1957
1956
|
border: "1px solid #e5e7eb",
|
|
@@ -2056,16 +2055,16 @@ If you feel like trying something like this, join here:
|
|
|
2056
2055
|
}
|
|
2057
2056
|
), dn = ({
|
|
2058
2057
|
onCardClick: t,
|
|
2059
|
-
a4bApi:
|
|
2058
|
+
a4bApi: a,
|
|
2060
2059
|
storeCardsPage: r = $n,
|
|
2061
2060
|
storeCardsHeaders: o,
|
|
2062
2061
|
storeCardsLimit: s = 8,
|
|
2063
2062
|
onCardsResolved: c,
|
|
2064
2063
|
onSwipe: u
|
|
2065
2064
|
}) => {
|
|
2066
|
-
const [i,
|
|
2067
|
-
if (
|
|
2068
|
-
const f =
|
|
2065
|
+
const [i, p] = T([]), k = M(null);
|
|
2066
|
+
if (P(() => {
|
|
2067
|
+
const f = a?.apiInstance?.get;
|
|
2069
2068
|
if (!f) {
|
|
2070
2069
|
c?.([]);
|
|
2071
2070
|
return;
|
|
@@ -2073,42 +2072,42 @@ If you feel like trying something like this, join here:
|
|
|
2073
2072
|
let g = !1;
|
|
2074
2073
|
return (async () => {
|
|
2075
2074
|
try {
|
|
2076
|
-
const _ = (r || $n).split(",").map((E) => E.trim()).filter(Boolean),
|
|
2075
|
+
const _ = (r || $n).split(",").map((E) => E.trim()).filter(Boolean), w = {
|
|
2077
2076
|
...fi,
|
|
2078
2077
|
...o || {}
|
|
2079
2078
|
};
|
|
2080
2079
|
if (!_.length) {
|
|
2081
|
-
|
|
2080
|
+
p([]), c?.([]);
|
|
2082
2081
|
return;
|
|
2083
2082
|
}
|
|
2084
2083
|
const N = (await Promise.all(
|
|
2085
2084
|
_.flatMap((E) => [
|
|
2086
2085
|
f("/gw1/puja/external/v2/pages", {
|
|
2087
2086
|
params: { page: E, page_no: 1 },
|
|
2088
|
-
headers:
|
|
2087
|
+
headers: w
|
|
2089
2088
|
}),
|
|
2090
2089
|
f("/gw1/yoda/external/v2/pages", {
|
|
2091
2090
|
params: { page: E, page_no: 1 },
|
|
2092
|
-
headers:
|
|
2091
|
+
headers: w
|
|
2093
2092
|
})
|
|
2094
2093
|
])
|
|
2095
2094
|
)).flatMap(
|
|
2096
2095
|
(E) => yi(E)
|
|
2097
2096
|
), j = ji(N, s);
|
|
2098
|
-
g || (
|
|
2097
|
+
g || (p(j), c?.(j));
|
|
2099
2098
|
} catch (_) {
|
|
2100
|
-
console.error("[DLP] Failed to fetch store cards", _), g || (
|
|
2099
|
+
console.error("[DLP] Failed to fetch store cards", _), g || (p([]), c?.([]));
|
|
2101
2100
|
}
|
|
2102
2101
|
})(), () => {
|
|
2103
2102
|
g = !0;
|
|
2104
2103
|
};
|
|
2105
|
-
}, [
|
|
2106
|
-
|
|
2104
|
+
}, [a, r, o, s, c]), P(() => () => {
|
|
2105
|
+
k.current && window.clearTimeout(k.current);
|
|
2107
2106
|
}, []), !i.length) return null;
|
|
2108
2107
|
const d = (f) => {
|
|
2109
2108
|
if (!u) return;
|
|
2110
|
-
const g = f.currentTarget?.scrollLeft ?? 0, y = Math.max(1, Math.round(g / (
|
|
2111
|
-
|
|
2109
|
+
const g = f.currentTarget?.scrollLeft ?? 0, y = Math.max(1, Math.round(g / (qt + 12)) + 1);
|
|
2110
|
+
k.current && window.clearTimeout(k.current), k.current = window.setTimeout(() => {
|
|
2112
2111
|
u({
|
|
2113
2112
|
elementPosition: y,
|
|
2114
2113
|
card: i[y - 1]
|
|
@@ -2116,13 +2115,13 @@ If you feel like trying something like this, join here:
|
|
|
2116
2115
|
}, 120);
|
|
2117
2116
|
};
|
|
2118
2117
|
return /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: "w-full bg-white px-4 py-4 flex flex-col gap-3", children: [
|
|
2119
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children:
|
|
2118
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: Do }),
|
|
2120
2119
|
/* @__PURE__ */ e.jsx(
|
|
2121
2120
|
"div",
|
|
2122
2121
|
{
|
|
2123
2122
|
className: "flex gap-3 overflow-x-auto pb-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
2124
2123
|
role: "list",
|
|
2125
|
-
"aria-label":
|
|
2124
|
+
"aria-label": Po,
|
|
2126
2125
|
onScroll: d,
|
|
2127
2126
|
children: i.map((f) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(Ti, { card: f, onClick: t }) }, f.id))
|
|
2128
2127
|
}
|
|
@@ -2133,29 +2132,29 @@ If you feel like trying something like this, join here:
|
|
|
2133
2132
|
"x-afb-language-mode": "en"
|
|
2134
2133
|
}, _n = ({
|
|
2135
2134
|
storeId: t,
|
|
2136
|
-
inventoryId:
|
|
2135
|
+
inventoryId: a,
|
|
2137
2136
|
onboardingType: r = Ni,
|
|
2138
2137
|
enabled: o = !0,
|
|
2139
2138
|
autoFetch: s = !0,
|
|
2140
2139
|
apiBaseInstance: c
|
|
2141
2140
|
}) => {
|
|
2142
|
-
const [u, i] = T(null), [
|
|
2141
|
+
const [u, i] = T(null), [p, k] = T(null), [d, f] = T(
|
|
2143
2142
|
null
|
|
2144
2143
|
), [g, y] = T(
|
|
2145
|
-
!!(o && t &&
|
|
2146
|
-
), [_,
|
|
2147
|
-
() => !!(o && t &&
|
|
2148
|
-
[o,
|
|
2149
|
-
), N =
|
|
2150
|
-
if (!
|
|
2144
|
+
!!(o && t && a)
|
|
2145
|
+
), [_, w] = T(null), S = Gt(
|
|
2146
|
+
() => !!(o && t && a),
|
|
2147
|
+
[o, a, t]
|
|
2148
|
+
), N = Et(async () => {
|
|
2149
|
+
if (!S) {
|
|
2151
2150
|
y(!1);
|
|
2152
2151
|
return;
|
|
2153
2152
|
}
|
|
2154
2153
|
try {
|
|
2155
|
-
y(!0),
|
|
2154
|
+
y(!0), w(null);
|
|
2156
2155
|
let j;
|
|
2157
2156
|
if (c?.get) {
|
|
2158
|
-
const $ = `/gw2/yoda/external/v1/subscriptions/stores/${t}/inventory/${
|
|
2157
|
+
const $ = `/gw2/yoda/external/v1/subscriptions/stores/${t}/inventory/${a}`;
|
|
2159
2158
|
j = (await c.get(
|
|
2160
2159
|
$,
|
|
2161
2160
|
{
|
|
@@ -2164,60 +2163,60 @@ If you feel like trying something like this, join here:
|
|
|
2164
2163
|
}
|
|
2165
2164
|
))?.data;
|
|
2166
2165
|
} else {
|
|
2167
|
-
const $ = new URLSearchParams({ onboarding_type: r }), x = `/gw2/yoda/external/v1/subscriptions/stores/${t}/inventory/${
|
|
2166
|
+
const $ = new URLSearchParams({ onboarding_type: r }), x = `/gw2/yoda/external/v1/subscriptions/stores/${t}/inventory/${a}?${$.toString()}`, C = await fetch(x, {
|
|
2168
2167
|
method: "GET",
|
|
2169
2168
|
credentials: "include",
|
|
2170
2169
|
headers: Hn
|
|
2171
2170
|
});
|
|
2172
|
-
if (!
|
|
2171
|
+
if (!C.ok)
|
|
2173
2172
|
throw new Error(
|
|
2174
|
-
`Subscription onboarding API failed with status ${
|
|
2173
|
+
`Subscription onboarding API failed with status ${C.status}`
|
|
2175
2174
|
);
|
|
2176
|
-
j = await
|
|
2175
|
+
j = await C.json();
|
|
2177
2176
|
}
|
|
2178
2177
|
const E = j?.data;
|
|
2179
|
-
i(E?.subscription_info ?? null),
|
|
2178
|
+
i(E?.subscription_info ?? null), k(E?.trial_subscription_data ?? null), f(E?.onboarding_data ?? null);
|
|
2180
2179
|
} catch (j) {
|
|
2181
|
-
i(null),
|
|
2180
|
+
i(null), k(null), f(null), w(
|
|
2182
2181
|
j instanceof Error ? j : new Error("Failed to fetch subscription onboarding data")
|
|
2183
2182
|
);
|
|
2184
2183
|
} finally {
|
|
2185
2184
|
y(!1);
|
|
2186
2185
|
}
|
|
2187
|
-
}, [c,
|
|
2188
|
-
return
|
|
2186
|
+
}, [c, a, r, S, t]);
|
|
2187
|
+
return P(() => {
|
|
2189
2188
|
s && N();
|
|
2190
2189
|
}, [s, N]), {
|
|
2191
2190
|
subscriptionInfo: u,
|
|
2192
|
-
trialSubscriptionData:
|
|
2191
|
+
trialSubscriptionData: p,
|
|
2193
2192
|
onboardingData: d,
|
|
2194
2193
|
isLoading: g,
|
|
2195
2194
|
error: _,
|
|
2196
2195
|
refetch: N
|
|
2197
2196
|
};
|
|
2198
|
-
},
|
|
2197
|
+
}, Vt = ({
|
|
2199
2198
|
storeId: t,
|
|
2200
|
-
inventoryId:
|
|
2199
|
+
inventoryId: a,
|
|
2201
2200
|
onboardingType: r = "sm_dlp_premium",
|
|
2202
2201
|
apiBaseInstance: o,
|
|
2203
2202
|
onSubscribe: s,
|
|
2204
2203
|
bannerType: c = "default",
|
|
2205
2204
|
extraBottomPaddingPx: u = 0
|
|
2206
2205
|
}) => {
|
|
2207
|
-
const { subscriptionInfo: i, trialSubscriptionData:
|
|
2206
|
+
const { subscriptionInfo: i, trialSubscriptionData: p, onboardingData: k } = _n({
|
|
2208
2207
|
storeId: t,
|
|
2209
|
-
inventoryId:
|
|
2208
|
+
inventoryId: a,
|
|
2210
2209
|
onboardingType: r,
|
|
2211
2210
|
apiBaseInstance: o,
|
|
2212
|
-
enabled: !!(t &&
|
|
2213
|
-
}), d = i?.colors?.bg_color_1 || "#340d10", f = i?.colors?.bg_color_2 || "#5f181d", g = i?.tag?.text || Ao, y = i?.tag?.bg_color || "#f8a84a", _ = i?.tag?.text_color || "#3d1c02",
|
|
2211
|
+
enabled: !!(t && a)
|
|
2212
|
+
}), d = i?.colors?.bg_color_1 || "#340d10", f = i?.colors?.bg_color_2 || "#5f181d", g = i?.tag?.text || Ao, y = i?.tag?.bg_color || "#f8a84a", _ = i?.tag?.text_color || "#3d1c02", w = i?.header || Fo, S = i?.description || Bo, N = i?.info_list && i.info_list.length > 0 ? i.info_list : [
|
|
2214
2213
|
{ text: Oo, description: "", icon_url: "" },
|
|
2215
2214
|
{ text: Mo, description: "", icon_url: "" }
|
|
2216
|
-
], j = oa, E =
|
|
2215
|
+
], j = oa, E = p?.currency_code || "₹", $ = p?.effective_amount ?? p?.subscription_amount, x = p?.subscription_amount, C = p?.period ? `/ ${p.period}` : $o, A = i?.cta, G = A?.visible ?? !0, Q = A?.text || Uo, ce = A?.text_color || "#ffffff", Se = A?.stroke_color || "transparent", de = A?.color || "#f97e4e", D = A?.color_2 || "#f75e22", U = () => {
|
|
2217
2216
|
if (s?.({
|
|
2218
2217
|
subscriptionInfo: i,
|
|
2219
|
-
trialSubscriptionData:
|
|
2220
|
-
onboardingData:
|
|
2218
|
+
trialSubscriptionData: p,
|
|
2219
|
+
onboardingData: k
|
|
2221
2220
|
}, {
|
|
2222
2221
|
bannerType: c
|
|
2223
2222
|
}), s)
|
|
@@ -2247,8 +2246,8 @@ If you feel like trying something like this, join here:
|
|
|
2247
2246
|
children: g
|
|
2248
2247
|
}
|
|
2249
2248
|
),
|
|
2250
|
-
/* @__PURE__ */ e.jsx("h2", { className: "text-[24px] font-bold leading-[34px] m-0", children:
|
|
2251
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-[16px] opacity-75 m-0", children:
|
|
2249
|
+
/* @__PURE__ */ e.jsx("h2", { className: "text-[24px] font-bold leading-[34px] m-0", children: w }),
|
|
2250
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-[16px] opacity-75 m-0", children: S }),
|
|
2252
2251
|
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-2 pt-2 text-[12px]", children: N.map((O, J) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-2", children: [
|
|
2253
2252
|
O.icon_url ? /* @__PURE__ */ e.jsx(
|
|
2254
2253
|
"img",
|
|
@@ -2290,7 +2289,7 @@ If you feel like trying something like this, join here:
|
|
|
2290
2289
|
E,
|
|
2291
2290
|
x
|
|
2292
2291
|
] }),
|
|
2293
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] text-white/60", children:
|
|
2292
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] text-white/60", children: C })
|
|
2294
2293
|
] }),
|
|
2295
2294
|
G && /* @__PURE__ */ e.jsxs(
|
|
2296
2295
|
"button",
|
|
@@ -2303,7 +2302,7 @@ If you feel like trying something like this, join here:
|
|
|
2303
2302
|
borderColor: Se,
|
|
2304
2303
|
borderWidth: Se !== "transparent" ? 1 : 0,
|
|
2305
2304
|
borderStyle: "solid",
|
|
2306
|
-
background: `linear-gradient(180deg, ${de}, ${
|
|
2305
|
+
background: `linear-gradient(180deg, ${de}, ${D})`
|
|
2307
2306
|
},
|
|
2308
2307
|
"aria-label": Q,
|
|
2309
2308
|
children: [
|
|
@@ -2326,40 +2325,40 @@ If you feel like trying something like this, join here:
|
|
|
2326
2325
|
completed: { label: "Completed", color: "#6b7280" }
|
|
2327
2326
|
}, qn = (t) => {
|
|
2328
2327
|
if (!t) return "—";
|
|
2329
|
-
const
|
|
2328
|
+
const a = t > 1e12 ? t : t * 1e3, r = new Date(a), o = r.getDate(), s = o === 1 || o === 21 || o === 31 ? "st" : o === 2 || o === 22 ? "nd" : o === 3 || o === 23 ? "rd" : "th", c = r.toLocaleString("en-US", { month: "long" }), u = r.getFullYear();
|
|
2330
2329
|
return `${o}${s} ${c} ${u}`;
|
|
2331
2330
|
}, Ei = (t) => {
|
|
2332
2331
|
if (!t) return "Subscription";
|
|
2333
|
-
const
|
|
2334
|
-
return
|
|
2335
|
-
}, Ri = (t,
|
|
2332
|
+
const a = t.toLowerCase();
|
|
2333
|
+
return a === "weekly" || a === "week" ? "Weekly Subscription" : a === "monthly" || a === "month" ? "Monthly Subscription" : a === "yearly" || a === "year" ? "Yearly Subscription" : a === "daily" || a === "day" ? "Daily Subscription" : `${t.charAt(0).toUpperCase() + t.slice(1)} Subscription`;
|
|
2334
|
+
}, Ri = (t, a, r) => {
|
|
2336
2335
|
if (typeof t != "number") return "—";
|
|
2337
2336
|
const s = `${r}${t}`;
|
|
2338
|
-
if (!
|
|
2339
|
-
const c =
|
|
2340
|
-
return c === "weekly" || c === "week" ? `${s}/Week` : c === "monthly" || c === "month" ? `${s}/Month` : c === "yearly" || c === "year" ? `${s}/Year` : c === "daily" || c === "day" ? `${s}/Day` : `${s}/${
|
|
2341
|
-
},
|
|
2337
|
+
if (!a) return s;
|
|
2338
|
+
const c = a.toLowerCase();
|
|
2339
|
+
return c === "weekly" || c === "week" ? `${s}/Week` : c === "monthly" || c === "month" ? `${s}/Month` : c === "yearly" || c === "year" ? `${s}/Year` : c === "daily" || c === "day" ? `${s}/Day` : `${s}/${a}`;
|
|
2340
|
+
}, at = (t) => {
|
|
2342
2341
|
if (typeof t == "number" && Number.isFinite(t)) return t;
|
|
2343
2342
|
if (typeof t == "string") {
|
|
2344
|
-
const
|
|
2345
|
-
if (Number.isFinite(
|
|
2343
|
+
const a = Number(t);
|
|
2344
|
+
if (Number.isFinite(a)) return a;
|
|
2346
2345
|
}
|
|
2347
2346
|
}, Li = oa, un = ({
|
|
2348
2347
|
subscription: t,
|
|
2349
|
-
storeId:
|
|
2348
|
+
storeId: a,
|
|
2350
2349
|
inventoryId: r,
|
|
2351
2350
|
onboardingType: o = "sm_dlp_premium",
|
|
2352
2351
|
apiBaseInstance: s
|
|
2353
2352
|
}) => {
|
|
2354
2353
|
const { subscriptionInfo: c, trialSubscriptionData: u } = _n({
|
|
2355
|
-
storeId:
|
|
2354
|
+
storeId: a,
|
|
2356
2355
|
inventoryId: r,
|
|
2357
2356
|
onboardingType: o,
|
|
2358
2357
|
apiBaseInstance: s,
|
|
2359
|
-
enabled: !!(
|
|
2360
|
-
}), i = t.status?.toLowerCase() || "active", { label:
|
|
2358
|
+
enabled: !!(a && r)
|
|
2359
|
+
}), i = t.status?.toLowerCase() || "active", { label: p, color: k } = Vn[i] || Vn.active, d = "Membership", f = Li, g = c?.colors?.bg_color_1 || "#340d10", y = c?.colors?.bg_color_2 || "#5f181d", _ = t.interval || u?.period, w = at(t.amount) ?? at(u?.subscription_amount), S = u?.currency_code || "₹", N = at(t.start_date), j = at(t.next_payment_date) ?? at(t.next_instalment_date) ?? at(t.expiry_date), E = [
|
|
2361
2360
|
{ label: "Plan Type", value: Ei(_) },
|
|
2362
|
-
{ label: "Amount", value: Ri(
|
|
2361
|
+
{ label: "Amount", value: Ri(w, _, S) },
|
|
2363
2362
|
{ label: "Start Date", value: qn(N) },
|
|
2364
2363
|
{
|
|
2365
2364
|
label: "Next Renewal Date",
|
|
@@ -2475,7 +2474,7 @@ If you feel like trying something like this, join here:
|
|
|
2475
2474
|
fontSize: 14,
|
|
2476
2475
|
fontWeight: 600,
|
|
2477
2476
|
color: "#fff",
|
|
2478
|
-
backgroundColor:
|
|
2477
|
+
backgroundColor: k,
|
|
2479
2478
|
borderRadius: 20,
|
|
2480
2479
|
padding: "3px 10px"
|
|
2481
2480
|
},
|
|
@@ -2492,7 +2491,7 @@ If you feel like trying something like this, join here:
|
|
|
2492
2491
|
}
|
|
2493
2492
|
}
|
|
2494
2493
|
),
|
|
2495
|
-
|
|
2494
|
+
p
|
|
2496
2495
|
]
|
|
2497
2496
|
}
|
|
2498
2497
|
)
|
|
@@ -2530,114 +2529,114 @@ If you feel like trying something like this, join here:
|
|
|
2530
2529
|
}, zn = (t) => {
|
|
2531
2530
|
if (!t)
|
|
2532
2531
|
return;
|
|
2533
|
-
const
|
|
2534
|
-
if (!
|
|
2532
|
+
const a = t.trim();
|
|
2533
|
+
if (!a)
|
|
2535
2534
|
return;
|
|
2536
|
-
const r = /^https?:\/\//i.test(
|
|
2535
|
+
const r = /^https?:\/\//i.test(a) ? a : `https://${a}`;
|
|
2537
2536
|
try {
|
|
2538
2537
|
return new URL(r).hostname;
|
|
2539
2538
|
} catch {
|
|
2540
|
-
return
|
|
2539
|
+
return a.replace(/^https?:\/\//i, "").replace(/\/$/, "").replace(/:\d+$/, "");
|
|
2541
2540
|
}
|
|
2542
|
-
},
|
|
2541
|
+
}, Ii = (t) => {
|
|
2543
2542
|
if (typeof window > "u") return null;
|
|
2544
2543
|
try {
|
|
2545
2544
|
return window.localStorage.getItem(t);
|
|
2546
2545
|
} catch {
|
|
2547
2546
|
return null;
|
|
2548
2547
|
}
|
|
2549
|
-
},
|
|
2548
|
+
}, Di = (t) => {
|
|
2550
2549
|
if (typeof window > "u") return !1;
|
|
2551
2550
|
try {
|
|
2552
2551
|
return window.localStorage.removeItem(t), !0;
|
|
2553
2552
|
} catch {
|
|
2554
2553
|
return !1;
|
|
2555
2554
|
}
|
|
2556
|
-
}, gn = 1440 * 60 * 1e3,
|
|
2557
|
-
const
|
|
2558
|
-
return `${
|
|
2559
|
-
},
|
|
2555
|
+
}, gn = 1440 * 60 * 1e3, Nt = (t) => {
|
|
2556
|
+
const a = t.getFullYear(), r = String(t.getMonth() + 1).padStart(2, "0"), o = String(t.getDate()).padStart(2, "0");
|
|
2557
|
+
return `${a}-${r}-${o}`;
|
|
2558
|
+
}, ot = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), Pi = (t) => {
|
|
2560
2559
|
if (!t)
|
|
2561
2560
|
return null;
|
|
2562
|
-
const [
|
|
2563
|
-
return !
|
|
2564
|
-
}, mn = (t,
|
|
2565
|
-
const r =
|
|
2561
|
+
const [a, r, o] = t.split("-").map(Number);
|
|
2562
|
+
return !a || !r || !o ? null : new Date(a, r - 1, o);
|
|
2563
|
+
}, mn = (t, a) => {
|
|
2564
|
+
const r = ot(t).getTime(), o = ot(a).getTime();
|
|
2566
2565
|
return Math.floor((o - r) / gn);
|
|
2567
|
-
}, pn = (t,
|
|
2566
|
+
}, pn = (t, a) => Math.max(1, Math.min(t, a)), Ai = (t, a = /* @__PURE__ */ new Date()) => {
|
|
2568
2567
|
if (!t || !Number.isFinite(t))
|
|
2569
2568
|
return !1;
|
|
2570
2569
|
const r = new Date(t);
|
|
2571
|
-
return
|
|
2572
|
-
}, Fi = (t) => !!t?.some((
|
|
2573
|
-
if (!t?.length || !
|
|
2570
|
+
return Nt(r) === Nt(a);
|
|
2571
|
+
}, Fi = (t) => !!t?.some((a) => a?.status), Bi = (t, a, r = /* @__PURE__ */ new Date()) => {
|
|
2572
|
+
if (!t?.length || !a || !Number.isFinite(a))
|
|
2574
2573
|
return !1;
|
|
2575
|
-
const o =
|
|
2576
|
-
if (
|
|
2574
|
+
const o = ot(r).getTime();
|
|
2575
|
+
if (ot(new Date(a)).getTime() >= o)
|
|
2577
2576
|
return !1;
|
|
2578
|
-
const c =
|
|
2579
|
-
return !t.filter((
|
|
2580
|
-
(
|
|
2577
|
+
const c = Nt(r);
|
|
2578
|
+
return !t.filter((p) => p?.date_string <= c).some(
|
|
2579
|
+
(p) => p?.date_string < c && p?.status
|
|
2581
2580
|
);
|
|
2582
|
-
}, ia = (t = [1],
|
|
2581
|
+
}, ia = (t = [1], a = 1, r = 7) => ({
|
|
2583
2582
|
attendedDays: t,
|
|
2584
|
-
currentDay:
|
|
2583
|
+
currentDay: a,
|
|
2585
2584
|
totalDays: r
|
|
2586
|
-
}), Oi = (t,
|
|
2585
|
+
}), Oi = (t, a, r = /* @__PURE__ */ new Date(), o = 7) => {
|
|
2587
2586
|
if (!t?.length)
|
|
2588
2587
|
return ia([], 1, o);
|
|
2589
|
-
const s =
|
|
2590
|
-
if (!!(
|
|
2591
|
-
const f =
|
|
2588
|
+
const s = ot(r);
|
|
2589
|
+
if (!!(a && Number.isFinite(a))) {
|
|
2590
|
+
const f = ot(new Date(a)), g = new Date(s.getTime() - (o - 1) * gn), y = f > g ? f : g, _ = /* @__PURE__ */ new Set();
|
|
2592
2591
|
t.forEach((N) => {
|
|
2593
2592
|
if (!N?.status)
|
|
2594
2593
|
return;
|
|
2595
|
-
const j =
|
|
2594
|
+
const j = Pi(N.date_string);
|
|
2596
2595
|
if (!j || j > s || j < y)
|
|
2597
2596
|
return;
|
|
2598
2597
|
const E = mn(y, j) + 1;
|
|
2599
2598
|
E >= 1 && E <= o && _.add(E);
|
|
2600
2599
|
});
|
|
2601
|
-
const
|
|
2600
|
+
const w = pn(mn(y, s) + 1, o);
|
|
2602
2601
|
return {
|
|
2603
2602
|
attendedDays: Array.from(_).sort((N, j) => N - j),
|
|
2604
|
-
currentDay:
|
|
2603
|
+
currentDay: w,
|
|
2605
2604
|
totalDays: o
|
|
2606
2605
|
};
|
|
2607
2606
|
}
|
|
2608
|
-
const u = t.slice(-o), i = u.map((f, g) => f?.status ? g + 1 : null).filter((f) => f !== null),
|
|
2607
|
+
const u = t.slice(-o), i = u.map((f, g) => f?.status ? g + 1 : null).filter((f) => f !== null), p = Nt(r), k = u.findIndex((f) => f?.date_string === p), d = k >= 0 ? pn(k + 1, o) : pn(u.length || 1, o);
|
|
2609
2608
|
return {
|
|
2610
2609
|
attendedDays: i,
|
|
2611
2610
|
currentDay: d,
|
|
2612
2611
|
totalDays: o
|
|
2613
2612
|
};
|
|
2614
2613
|
}, Ye = (t) => {
|
|
2615
|
-
const
|
|
2616
|
-
return
|
|
2617
|
-
}, Mi = (t,
|
|
2614
|
+
const a = new Date(Date.now() - t * gn);
|
|
2615
|
+
return Nt(a);
|
|
2616
|
+
}, Mi = (t, a = /* @__PURE__ */ new Date(), r = 7) => {
|
|
2618
2617
|
if (!t || !Number.isFinite(t))
|
|
2619
2618
|
return;
|
|
2620
|
-
const o = mn(new Date(t),
|
|
2619
|
+
const o = mn(new Date(t), a) + 1, s = r - o;
|
|
2621
2620
|
return Math.max(0, Math.min(r, s));
|
|
2622
2621
|
}, $i = (t) => {
|
|
2623
|
-
const
|
|
2622
|
+
const a = t ?? [], o = a.filter((i) => !i.is_offering).map((i) => ({
|
|
2624
2623
|
id: String(i.id),
|
|
2625
2624
|
title: i.title || Ee.title,
|
|
2626
2625
|
location: i.location || Ee.location,
|
|
2627
2626
|
date: i.date || Ee.date,
|
|
2628
2627
|
deeplink: i.deeplink,
|
|
2629
2628
|
imageUrl: i.img_url?.data?.attributes?.url || Ee.imageUrl
|
|
2630
|
-
})), s = o[0], u =
|
|
2631
|
-
const
|
|
2629
|
+
})), s = o[0], u = a.filter((i) => i.is_offering).map((i) => {
|
|
2630
|
+
const p = i.title || "Custom", k = p.toLowerCase() === "custom", d = i.price ? Number(i.price) : null;
|
|
2632
2631
|
return {
|
|
2633
2632
|
id: String(i.id),
|
|
2634
|
-
name:
|
|
2633
|
+
name: p,
|
|
2635
2634
|
price: Number.isFinite(d) ? d : null,
|
|
2636
2635
|
image_url: i.img_url?.data?.attributes?.url || "",
|
|
2637
2636
|
deeplink: i.deeplink,
|
|
2638
|
-
isCustom:
|
|
2637
|
+
isCustom: k
|
|
2639
2638
|
};
|
|
2640
|
-
}).sort((i,
|
|
2639
|
+
}).sort((i, p) => Number(i.isCustom) - Number(p.isCustom));
|
|
2641
2640
|
return { pujaCard: s, pujaCards: o, offeringCards: u };
|
|
2642
2641
|
}, Ui = (t) => `https://${Vo[t]}/api/dlps${qo}`, Wi = (t = fetch) => ({
|
|
2643
2642
|
getDlpContent: async (r, o) => {
|
|
@@ -2652,39 +2651,39 @@ If you feel like trying something like this, join here:
|
|
|
2652
2651
|
}
|
|
2653
2652
|
}), Hi = ({
|
|
2654
2653
|
initialVideoId: t,
|
|
2655
|
-
contentEnvironment:
|
|
2654
|
+
contentEnvironment: a
|
|
2656
2655
|
}) => {
|
|
2657
2656
|
const [r, o] = T(t), [s, c] = T(Ee), [u, i] = T([
|
|
2658
2657
|
Ee
|
|
2659
|
-
]), [
|
|
2660
|
-
|
|
2658
|
+
]), [p, k] = T(Ho), [d, f] = T(!0), g = Gt(() => Wi(), []);
|
|
2659
|
+
P(() => {
|
|
2661
2660
|
o(t);
|
|
2662
2661
|
}, [t]);
|
|
2663
|
-
const y =
|
|
2662
|
+
const y = Et(
|
|
2664
2663
|
async (_) => {
|
|
2665
2664
|
f(!0);
|
|
2666
2665
|
try {
|
|
2667
|
-
const { attributes:
|
|
2668
|
-
|
|
2666
|
+
const { attributes: w, normalized: S } = await g.getDlpContent(
|
|
2667
|
+
a,
|
|
2669
2668
|
_
|
|
2670
2669
|
);
|
|
2671
|
-
|
|
2672
|
-
} catch (
|
|
2673
|
-
_?.aborted || console.error("Failed to fetch DLP cards",
|
|
2670
|
+
w?.yt_video_id && o(w.yt_video_id), c(S.pujaCard), i(S.pujaCards), k(S.offeringCards);
|
|
2671
|
+
} catch (w) {
|
|
2672
|
+
_?.aborted || console.error("Failed to fetch DLP cards", w);
|
|
2674
2673
|
} finally {
|
|
2675
2674
|
_?.aborted || f(!1);
|
|
2676
2675
|
}
|
|
2677
2676
|
},
|
|
2678
|
-
[g,
|
|
2677
|
+
[g, a]
|
|
2679
2678
|
);
|
|
2680
|
-
return
|
|
2679
|
+
return P(() => {
|
|
2681
2680
|
const _ = new AbortController();
|
|
2682
2681
|
return y(_.signal), () => _.abort();
|
|
2683
2682
|
}, [y]), {
|
|
2684
2683
|
apiVideoId: r,
|
|
2685
2684
|
pujaCard: s,
|
|
2686
2685
|
pujaCards: u,
|
|
2687
|
-
offeringCards:
|
|
2686
|
+
offeringCards: p,
|
|
2688
2687
|
isDlpLoading: d,
|
|
2689
2688
|
refetchDlpData: y
|
|
2690
2689
|
};
|
|
@@ -2696,48 +2695,48 @@ If you feel like trying something like this, join here:
|
|
|
2696
2695
|
if (!(typeof t != "number" || !Number.isFinite(t) || t <= 0))
|
|
2697
2696
|
return t > 1e12 ? t : t * 1e3;
|
|
2698
2697
|
}, zi = (t) => {
|
|
2699
|
-
const
|
|
2700
|
-
return
|
|
2698
|
+
const a = qi(t?.expiry_date);
|
|
2699
|
+
return a ? a > Date.now() : !0;
|
|
2701
2700
|
}, Yi = (t) => {
|
|
2702
|
-
const
|
|
2703
|
-
return Array.isArray(
|
|
2701
|
+
const a = t?.data;
|
|
2702
|
+
return Array.isArray(a) ? a : a && typeof a == "object" ? [a] : [];
|
|
2704
2703
|
}, Gi = ({
|
|
2705
2704
|
subscriptionType: t = Vi,
|
|
2706
|
-
enabled:
|
|
2705
|
+
enabled: a = !0,
|
|
2707
2706
|
apiBaseInstance: r
|
|
2708
2707
|
}) => {
|
|
2709
|
-
const [o, s] = T(!1), [c, u] = T(null), [i,
|
|
2710
|
-
|
|
2708
|
+
const [o, s] = T(!1), [c, u] = T(null), [i, p] = T(!!a), [k, d] = T(null), f = Gt(() => !!(a && t), [
|
|
2709
|
+
a,
|
|
2711
2710
|
t
|
|
2712
|
-
]), g =
|
|
2711
|
+
]), g = Et(async () => {
|
|
2713
2712
|
if (!f) {
|
|
2714
|
-
|
|
2713
|
+
p(!1), s(!1), u(null);
|
|
2715
2714
|
return;
|
|
2716
2715
|
}
|
|
2717
2716
|
try {
|
|
2718
|
-
|
|
2717
|
+
p(!0), d(null), s(!1), u(null);
|
|
2719
2718
|
let y;
|
|
2720
2719
|
if (r?.get)
|
|
2721
2720
|
y = (await r.get(
|
|
2722
2721
|
`/gw3/yoda/external/v1/subscriptions/${t}`
|
|
2723
2722
|
))?.data;
|
|
2724
2723
|
else {
|
|
2725
|
-
const
|
|
2724
|
+
const w = await fetch(
|
|
2726
2725
|
`/gw3/yoda/external/v1/subscriptions/${t}`,
|
|
2727
2726
|
{
|
|
2728
2727
|
method: "GET",
|
|
2729
2728
|
credentials: "include"
|
|
2730
2729
|
}
|
|
2731
2730
|
);
|
|
2732
|
-
if (!
|
|
2731
|
+
if (!w.ok)
|
|
2733
2732
|
throw new Error(
|
|
2734
|
-
`Subscription status API failed with status ${
|
|
2733
|
+
`Subscription status API failed with status ${w.status}`
|
|
2735
2734
|
);
|
|
2736
|
-
y = await
|
|
2735
|
+
y = await w.json();
|
|
2737
2736
|
}
|
|
2738
|
-
const _ = Yi(y).find((
|
|
2739
|
-
const
|
|
2740
|
-
return !
|
|
2737
|
+
const _ = Yi(y).find((w) => {
|
|
2738
|
+
const S = w?.status?.trim().toLowerCase(), N = w?.service_type?.toLowerCase(), j = !N || N === t.toLowerCase(), E = zi(w);
|
|
2739
|
+
return !S || S === "completed" || S === "cancelled" ? !1 : Yn.includes(S) && j && E;
|
|
2741
2740
|
});
|
|
2742
2741
|
_ && (s(!0), u(_));
|
|
2743
2742
|
} catch (y) {
|
|
@@ -2745,17 +2744,17 @@ If you feel like trying something like this, join here:
|
|
|
2745
2744
|
y instanceof Error ? y : new Error("Failed to fetch subscription status")
|
|
2746
2745
|
);
|
|
2747
2746
|
} finally {
|
|
2748
|
-
|
|
2747
|
+
p(!1);
|
|
2749
2748
|
}
|
|
2750
2749
|
}, [r, f, t]);
|
|
2751
|
-
return
|
|
2750
|
+
return P(() => {
|
|
2752
2751
|
g();
|
|
2753
2752
|
}, [g]), {
|
|
2754
2753
|
isSubscribed: o,
|
|
2755
2754
|
activeSubscription: c,
|
|
2756
2755
|
checkedStatuses: Yn,
|
|
2757
2756
|
isLoading: i,
|
|
2758
|
-
error:
|
|
2757
|
+
error: k,
|
|
2759
2758
|
refetch: g
|
|
2760
2759
|
};
|
|
2761
2760
|
}, Ji = 1440 * 60 * 1e3, Ki = {
|
|
@@ -2797,26 +2796,26 @@ If you feel like trying something like this, join here:
|
|
|
2797
2796
|
}
|
|
2798
2797
|
}), Zi = ({
|
|
2799
2798
|
enabled: t = !0,
|
|
2800
|
-
a4bApi:
|
|
2799
|
+
a4bApi: a,
|
|
2801
2800
|
fallbackAttendedDays: r = [1],
|
|
2802
2801
|
fallbackCurrentDay: o = 1
|
|
2803
2802
|
}) => {
|
|
2804
2803
|
const [s, c] = T(null), [u, i] = T(
|
|
2805
2804
|
ia(r, o)
|
|
2806
|
-
), [
|
|
2807
|
-
() => Xi(
|
|
2808
|
-
[
|
|
2809
|
-
),
|
|
2805
|
+
), [p, k] = T(!1), [d, f] = T(!!t), [g, y] = T(null), _ = Gt(
|
|
2806
|
+
() => Xi(a),
|
|
2807
|
+
[a]
|
|
2808
|
+
), w = Et(async () => {
|
|
2810
2809
|
if (!t) {
|
|
2811
2810
|
f(!1);
|
|
2812
2811
|
return;
|
|
2813
2812
|
}
|
|
2814
2813
|
try {
|
|
2815
2814
|
f(!0), y(null);
|
|
2816
|
-
const { payload: x, isMock:
|
|
2815
|
+
const { payload: x, isMock: C } = await _.getDailyAttendanceStreak(), G = x?.data?.cards?.find(
|
|
2817
2816
|
(Q) => Q?.type === "daily_attendance_streak"
|
|
2818
2817
|
)?.attributes ?? null;
|
|
2819
|
-
c(G),
|
|
2818
|
+
c(G), k(C), G?.days?.length && i(
|
|
2820
2819
|
Oi(
|
|
2821
2820
|
G.days,
|
|
2822
2821
|
G.attendance_start_at
|
|
@@ -2830,24 +2829,24 @@ If you feel like trying something like this, join here:
|
|
|
2830
2829
|
f(!1);
|
|
2831
2830
|
}
|
|
2832
2831
|
}, [t, _]);
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
}, [
|
|
2836
|
-
const
|
|
2832
|
+
P(() => {
|
|
2833
|
+
w();
|
|
2834
|
+
}, [w]);
|
|
2835
|
+
const S = s?.days, N = s?.attendance_start_at, j = Ai(N), E = Bi(S, N), $ = !E && Fi(S);
|
|
2837
2836
|
return {
|
|
2838
2837
|
streakAttributes: s,
|
|
2839
2838
|
streakUi: u,
|
|
2840
2839
|
isFirstTime: j,
|
|
2841
2840
|
isActive: $,
|
|
2842
2841
|
isInactive: E,
|
|
2843
|
-
isMockResponse:
|
|
2842
|
+
isMockResponse: p,
|
|
2844
2843
|
isLoading: d,
|
|
2845
2844
|
error: g,
|
|
2846
|
-
refetch:
|
|
2845
|
+
refetch: w
|
|
2847
2846
|
};
|
|
2848
|
-
}, Qi = (t,
|
|
2847
|
+
}, Qi = (t, a) => {
|
|
2849
2848
|
const [r, o] = T("LOADING"), s = M(null), c = M(null), u = M(null), i = M(null);
|
|
2850
|
-
return
|
|
2849
|
+
return P(() => {
|
|
2851
2850
|
if (typeof window > "u")
|
|
2852
2851
|
return;
|
|
2853
2852
|
if (!t) {
|
|
@@ -2862,14 +2861,14 @@ If you feel like trying something like this, join here:
|
|
|
2862
2861
|
u.current && (clearTimeout(u.current), u.current = null);
|
|
2863
2862
|
}, _ = () => {
|
|
2864
2863
|
i.current && (clearTimeout(i.current), i.current = null);
|
|
2865
|
-
},
|
|
2864
|
+
}, w = () => {
|
|
2866
2865
|
try {
|
|
2867
2866
|
s.current?.destroy?.();
|
|
2868
2867
|
} catch (x) {
|
|
2869
2868
|
console.error("Failed to destroy YouTube status probe", x);
|
|
2870
2869
|
}
|
|
2871
2870
|
s.current = null;
|
|
2872
|
-
},
|
|
2871
|
+
}, S = () => {
|
|
2873
2872
|
if (_(), !d) {
|
|
2874
2873
|
if (f >= 5) {
|
|
2875
2874
|
o("ENDED");
|
|
@@ -2880,12 +2879,12 @@ If you feel like trying something like this, join here:
|
|
|
2880
2879
|
}, 2e3);
|
|
2881
2880
|
}
|
|
2882
2881
|
}, N = () => {
|
|
2883
|
-
g(), y(),
|
|
2882
|
+
g(), y(), w(), S();
|
|
2884
2883
|
}, j = () => {
|
|
2885
2884
|
const x = s.current;
|
|
2886
2885
|
if (!(!x || d))
|
|
2887
2886
|
try {
|
|
2888
|
-
const
|
|
2887
|
+
const C = x.getVideoData(), A = x.getDuration(), G = C?.isLive ?? !1;
|
|
2889
2888
|
if (A === 0) {
|
|
2890
2889
|
o("UPCOMING");
|
|
2891
2890
|
return;
|
|
@@ -2895,14 +2894,14 @@ If you feel like trying something like this, join here:
|
|
|
2895
2894
|
return;
|
|
2896
2895
|
}
|
|
2897
2896
|
o("ENDED");
|
|
2898
|
-
} catch (
|
|
2899
|
-
console.error("Error reading YouTube player state",
|
|
2897
|
+
} catch (C) {
|
|
2898
|
+
console.error("Error reading YouTube player state", C), N();
|
|
2900
2899
|
}
|
|
2901
2900
|
}, E = () => {
|
|
2902
|
-
if (!(!document.getElementById(
|
|
2903
|
-
|
|
2901
|
+
if (!(!document.getElementById(a) || !window.YT?.Player || d)) {
|
|
2902
|
+
w(), g(), y(), _();
|
|
2904
2903
|
try {
|
|
2905
|
-
s.current = new window.YT.Player(
|
|
2904
|
+
s.current = new window.YT.Player(a, {
|
|
2906
2905
|
videoId: t,
|
|
2907
2906
|
playerVars: Jo,
|
|
2908
2907
|
events: {
|
|
@@ -2910,10 +2909,10 @@ If you feel like trying something like this, join here:
|
|
|
2910
2909
|
f = 0, y();
|
|
2911
2910
|
try {
|
|
2912
2911
|
s.current?.mute?.(), s.current?.playVideo?.();
|
|
2913
|
-
} catch (
|
|
2912
|
+
} catch (C) {
|
|
2914
2913
|
console.error(
|
|
2915
2914
|
"Failed to start live status probe playback",
|
|
2916
|
-
|
|
2915
|
+
C
|
|
2917
2916
|
);
|
|
2918
2917
|
}
|
|
2919
2918
|
j(), setTimeout(j, Go), c.current = setInterval(
|
|
@@ -2921,16 +2920,16 @@ If you feel like trying something like this, join here:
|
|
|
2921
2920
|
Yo
|
|
2922
2921
|
);
|
|
2923
2922
|
},
|
|
2924
|
-
onStateChange: (
|
|
2925
|
-
|
|
2923
|
+
onStateChange: (C) => {
|
|
2924
|
+
C.data === window.YT.PlayerState.ENDED && o("ENDED"), j();
|
|
2926
2925
|
},
|
|
2927
2926
|
onError: () => {
|
|
2928
2927
|
N();
|
|
2929
2928
|
}
|
|
2930
2929
|
}
|
|
2931
2930
|
});
|
|
2932
|
-
} catch (
|
|
2933
|
-
console.error("Failed to create YouTube status probe",
|
|
2931
|
+
} catch (C) {
|
|
2932
|
+
console.error("Failed to create YouTube status probe", C), S();
|
|
2934
2933
|
}
|
|
2935
2934
|
}
|
|
2936
2935
|
}, $ = () => {
|
|
@@ -2941,51 +2940,51 @@ If you feel like trying something like this, join here:
|
|
|
2941
2940
|
if (!document.querySelector(
|
|
2942
2941
|
'script[src="https://www.youtube.com/iframe_api"]'
|
|
2943
2942
|
)) {
|
|
2944
|
-
const
|
|
2945
|
-
|
|
2943
|
+
const C = document.createElement("script");
|
|
2944
|
+
C.src = "https://www.youtube.com/iframe_api", document.body.appendChild(C);
|
|
2946
2945
|
}
|
|
2947
2946
|
const x = window.onYouTubeIframeAPIReady;
|
|
2948
2947
|
window.onYouTubeIframeAPIReady = () => {
|
|
2949
2948
|
x?.(), $();
|
|
2950
|
-
},
|
|
2949
|
+
}, S();
|
|
2951
2950
|
};
|
|
2952
2951
|
return $(), u.current = setTimeout(() => {
|
|
2953
2952
|
!d && !s.current && N();
|
|
2954
2953
|
}, 8e3), () => {
|
|
2955
|
-
d = !0, g(), y(), _(),
|
|
2954
|
+
d = !0, g(), y(), _(), w();
|
|
2956
2955
|
};
|
|
2957
|
-
}, [
|
|
2956
|
+
}, [a, t]), r;
|
|
2958
2957
|
}, el = 7e3, tl = ({
|
|
2959
2958
|
isLoggedIn: t,
|
|
2960
|
-
stableStreamStatus:
|
|
2959
|
+
stableStreamStatus: a,
|
|
2961
2960
|
streamStatus: r,
|
|
2962
2961
|
timeoutMs: o = el
|
|
2963
2962
|
}) => {
|
|
2964
2963
|
const s = M(null), [c, u] = T(!1);
|
|
2965
|
-
return
|
|
2964
|
+
return P(() => {
|
|
2966
2965
|
if (r === "LOADING") {
|
|
2967
2966
|
s.current || (s.current = Date.now()), Date.now() - s.current > o && u(!0);
|
|
2968
2967
|
return;
|
|
2969
2968
|
}
|
|
2970
2969
|
s.current = null, u(!1);
|
|
2971
2970
|
}, [r, o]), {
|
|
2972
|
-
isResolvingStreamStatus: !!t &&
|
|
2971
|
+
isResolvingStreamStatus: !!t && a === null && r === "LOADING" && !c
|
|
2973
2972
|
};
|
|
2974
|
-
},
|
|
2973
|
+
}, zt = 1440 * 60 * 1e3, nl = (t) => {
|
|
2975
2974
|
if (!t) return null;
|
|
2976
|
-
const
|
|
2977
|
-
return Number.isNaN(
|
|
2975
|
+
const a = /* @__PURE__ */ new Date(`${t}T00:00:00`);
|
|
2976
|
+
return Number.isNaN(a.getTime()) ? null : a;
|
|
2978
2977
|
}, al = (t = []) => {
|
|
2979
2978
|
if (!t.length) return {};
|
|
2980
|
-
const
|
|
2981
|
-
|
|
2979
|
+
const a = /* @__PURE__ */ new Date();
|
|
2980
|
+
a.setHours(0, 0, 0, 0);
|
|
2982
2981
|
const r = t.map((d) => {
|
|
2983
2982
|
const f = nl(d?.date_string);
|
|
2984
2983
|
return f ? {
|
|
2985
2984
|
date: f,
|
|
2986
2985
|
status: !!d?.status
|
|
2987
2986
|
} : null;
|
|
2988
|
-
}).filter((d) => !!d).filter((d) => d.date.getTime() <=
|
|
2987
|
+
}).filter((d) => !!d).filter((d) => d.date.getTime() <= a.getTime()).sort((d, f) => d.date.getTime() - f.date.getTime());
|
|
2989
2988
|
if (!r.length) return {};
|
|
2990
2989
|
const o = r.reduce(
|
|
2991
2990
|
(d, f) => f.status ? d + 1 : d,
|
|
@@ -3000,69 +2999,69 @@ If you feel like trying something like this, join here:
|
|
|
3000
2999
|
} else
|
|
3001
3000
|
c = 0;
|
|
3002
3001
|
});
|
|
3003
|
-
const i = r[r.length - 1].status && s[s.length - 1]?.length || 0,
|
|
3002
|
+
const i = r[r.length - 1].status && s[s.length - 1]?.length || 0, p = i > 0 ? s[s.length - 2] : s[s.length - 1], k = p ? Math.max(0, Math.floor((a.getTime() - p.endDate.getTime()) / zt)) : void 0;
|
|
3004
3003
|
return {
|
|
3005
3004
|
totalDaysAttended: o,
|
|
3006
3005
|
currentStreakCount: i,
|
|
3007
|
-
lastStreakCount:
|
|
3008
|
-
daysSinceLastStreakEnded:
|
|
3006
|
+
lastStreakCount: p?.length,
|
|
3007
|
+
daysSinceLastStreakEnded: k
|
|
3009
3008
|
};
|
|
3010
3009
|
}, hl = ({
|
|
3011
3010
|
videoId: t,
|
|
3012
|
-
title:
|
|
3011
|
+
title: a = "Live Stream",
|
|
3013
3012
|
chatHost: r,
|
|
3014
3013
|
contentEnvironment: o = "development",
|
|
3015
3014
|
isGlobal: s = !1,
|
|
3016
3015
|
onOfferingClick: c,
|
|
3017
3016
|
onPujaImpression: u,
|
|
3018
3017
|
onPujaClick: i,
|
|
3019
|
-
attendedDays:
|
|
3020
|
-
currentDay:
|
|
3018
|
+
attendedDays: p = [1],
|
|
3019
|
+
currentDay: k = 1,
|
|
3021
3020
|
isLoggedIn: d = !1,
|
|
3022
3021
|
onStoreCardClick: f,
|
|
3023
3022
|
onStoreSwipe: g,
|
|
3024
3023
|
onStoreCardsResolved: y,
|
|
3025
3024
|
a4bApi: _,
|
|
3026
|
-
storeCardsPage:
|
|
3027
|
-
storeCardsHeaders:
|
|
3025
|
+
storeCardsPage: w,
|
|
3026
|
+
storeCardsHeaders: S,
|
|
3028
3027
|
storeCardsLimit: N,
|
|
3029
3028
|
onShare: j,
|
|
3030
3029
|
shareUserId: E,
|
|
3031
3030
|
showSubscription: $ = !1,
|
|
3032
3031
|
onSubscribe: x,
|
|
3033
|
-
onJoinClick:
|
|
3032
|
+
onJoinClick: C,
|
|
3034
3033
|
onHeaderJoinClick: A,
|
|
3035
3034
|
onLandscapeDrawerClick: G,
|
|
3036
3035
|
onWhatsappVerifyClick: Q,
|
|
3037
3036
|
onSectionImpression: ce,
|
|
3038
3037
|
onSectionTimeSpent: Se,
|
|
3039
3038
|
onCarouselSwipe: de,
|
|
3040
|
-
onVideoAction:
|
|
3039
|
+
onVideoAction: D,
|
|
3041
3040
|
onChatInputInteraction: U,
|
|
3042
3041
|
subscriptionStoreId: O,
|
|
3043
3042
|
subscriptionInventoryId: J,
|
|
3044
3043
|
subscriptionOnboardingType: ae = "sm_dlp_premium",
|
|
3045
|
-
onStreakUpdate:
|
|
3046
|
-
onAnalyticsContextUpdate:
|
|
3044
|
+
onStreakUpdate: it,
|
|
3045
|
+
onAnalyticsContextUpdate: lt
|
|
3047
3046
|
}) => {
|
|
3048
|
-
const [fe, _e] = T("streaks"), [me, Re] = T("chat"),
|
|
3049
|
-
streaks:
|
|
3050
|
-
share:
|
|
3047
|
+
const [fe, _e] = T("streaks"), [me, Re] = T("chat"), ct = M(null), dt = M(null), Be = M(null), Ce = M(null), ke = M(null), Oe = {
|
|
3048
|
+
streaks: ct,
|
|
3049
|
+
share: dt,
|
|
3051
3050
|
store: Be,
|
|
3052
3051
|
subscription: Ce
|
|
3053
|
-
},
|
|
3052
|
+
}, Ge = (v) => {
|
|
3054
3053
|
const F = Oe[v].current, ee = ke.current;
|
|
3055
3054
|
!F || !ee || ee.scrollTo({ top: F.offsetTop, behavior: "smooth" });
|
|
3056
|
-
}, Me = fe === "chat", [K,
|
|
3057
|
-
streaks:
|
|
3058
|
-
share:
|
|
3059
|
-
store:
|
|
3060
|
-
subscription:
|
|
3061
|
-
},
|
|
3055
|
+
}, Me = fe === "chat", [K, ut] = T(null), te = K === "LIVE", be = Me && te, $e = d && !te, pt = be ? "streaks" : fe, Rt = (v) => v === "chat" ? "Chat" : v === "streaks" ? "Streak" : v === "share" ? "share" : v === "store" ? "store" : v === "subscription" ? "Subscription" : "Video Player", je = M(null), Lt = M(Date.now()), It = M(null), Je = M(null), Dt = M(null), ht = M(null), Ue = M(null), ft = M(null), Ke = {
|
|
3056
|
+
streaks: It,
|
|
3057
|
+
share: Je,
|
|
3058
|
+
store: Dt,
|
|
3059
|
+
subscription: ht
|
|
3060
|
+
}, Xe = M(0), { isSubscribed: Le, activeSubscription: ue, refetch: mt } = Gi({
|
|
3062
3061
|
subscriptionType: ae,
|
|
3063
3062
|
enabled: !!($ && d),
|
|
3064
3063
|
apiBaseInstance: _?.apiInstance
|
|
3065
|
-
}), { trialSubscriptionData:
|
|
3064
|
+
}), { trialSubscriptionData: Pt, refetch: We } = _n({
|
|
3066
3065
|
storeId: O,
|
|
3067
3066
|
inventoryId: J,
|
|
3068
3067
|
onboardingType: ae,
|
|
@@ -3070,19 +3069,19 @@ If you feel like trying something like this, join here:
|
|
|
3070
3069
|
enabled: !!(O && J),
|
|
3071
3070
|
autoFetch: !1
|
|
3072
3071
|
});
|
|
3073
|
-
|
|
3072
|
+
P(() => {
|
|
3074
3073
|
!d || !O || !J || We();
|
|
3075
3074
|
}, [
|
|
3076
3075
|
d,
|
|
3077
3076
|
We,
|
|
3078
3077
|
J,
|
|
3079
3078
|
O
|
|
3080
|
-
]),
|
|
3081
|
-
if (!d || typeof window > "u" || !(
|
|
3079
|
+
]), P(() => {
|
|
3080
|
+
if (!d || typeof window > "u" || !(Ii("dlp_refresh_after_payment") === "1"))
|
|
3082
3081
|
return;
|
|
3083
|
-
|
|
3082
|
+
Di("dlp_refresh_after_payment"), We(), mt();
|
|
3084
3083
|
const F = window.setTimeout(() => {
|
|
3085
|
-
We(),
|
|
3084
|
+
We(), mt();
|
|
3086
3085
|
}, 3e3);
|
|
3087
3086
|
return () => {
|
|
3088
3087
|
window.clearTimeout(F);
|
|
@@ -3090,74 +3089,74 @@ If you feel like trying something like this, join here:
|
|
|
3090
3089
|
}, [
|
|
3091
3090
|
d,
|
|
3092
3091
|
We,
|
|
3093
|
-
|
|
3092
|
+
mt
|
|
3094
3093
|
]);
|
|
3095
|
-
const [re, Jt] = T(!1), [we,
|
|
3094
|
+
const [re, Jt] = T(!1), [we, _t] = T(!1), [Ie, gt] = T(!0), [Te, Ze] = T(!1), [se, xt] = T(!1), [At, Qe] = T(!1), [Kt, Ft] = T(""), { apiVideoId: Bt, pujaCard: Ne, pujaCards: He, offeringCards: ge } = Hi({
|
|
3096
3095
|
initialVideoId: t,
|
|
3097
3096
|
contentEnvironment: o
|
|
3098
|
-
}), { streakAttributes: pe, streakUi: Ve, isLoading:
|
|
3097
|
+
}), { streakAttributes: pe, streakUi: Ve, isLoading: Ot } = Zi({
|
|
3099
3098
|
enabled: d,
|
|
3100
3099
|
a4bApi: _,
|
|
3101
|
-
fallbackAttendedDays:
|
|
3102
|
-
fallbackCurrentDay:
|
|
3103
|
-
}), Xt = Number.isFinite(pe?.attendance_start_at) && Number.isFinite(pe?.last_updated_at) && pe?.last_updated_at - pe?.attendance_start_at > 7 *
|
|
3104
|
-
|
|
3100
|
+
fallbackAttendedDays: p,
|
|
3101
|
+
fallbackCurrentDay: k
|
|
3102
|
+
}), Xt = Number.isFinite(pe?.attendance_start_at) && Number.isFinite(pe?.last_updated_at) && pe?.last_updated_at - pe?.attendance_start_at > 7 * zt, qe = !!(d && !Le && Xt), n = M(!1);
|
|
3103
|
+
P(() => {
|
|
3105
3104
|
if (!qe) {
|
|
3106
|
-
|
|
3105
|
+
n.current = !1;
|
|
3107
3106
|
return;
|
|
3108
3107
|
}
|
|
3109
|
-
|
|
3110
|
-
}, [qe, ce]),
|
|
3108
|
+
n.current || (n.current = !0, ce?.("blocker_screen"));
|
|
3109
|
+
}, [qe, ce]), P(() => {
|
|
3111
3110
|
if (!d) return;
|
|
3112
|
-
const v =
|
|
3111
|
+
const v = Rt(fe), F = Date.now();
|
|
3113
3112
|
if (je.current && je.current !== v) {
|
|
3114
|
-
const ee = Math.max(1, Math.round((F -
|
|
3113
|
+
const ee = Math.max(1, Math.round((F - Lt.current) / 1e3));
|
|
3115
3114
|
Se?.({
|
|
3116
3115
|
sectionName: je.current,
|
|
3117
3116
|
timeSpent: ee
|
|
3118
3117
|
});
|
|
3119
3118
|
}
|
|
3120
|
-
je.current !== v && ce?.(v), je.current = v,
|
|
3119
|
+
je.current !== v && ce?.(v), je.current = v, Lt.current = F;
|
|
3121
3120
|
}, [
|
|
3122
3121
|
fe,
|
|
3123
3122
|
d,
|
|
3124
3123
|
ce,
|
|
3125
3124
|
Se
|
|
3126
3125
|
]);
|
|
3127
|
-
const l = !qe, m = l ? Ve.attendedDays : [], b = l ? Ve.currentDay : 1,
|
|
3126
|
+
const l = !qe, m = l ? Ve.attendedDays : [], b = l ? Ve.currentDay : 1, I = Ve.totalDays || 7, W = Mi(
|
|
3128
3127
|
pe?.attendance_start_at,
|
|
3129
3128
|
/* @__PURE__ */ new Date(),
|
|
3130
|
-
|
|
3131
|
-
), L = typeof W == "number" ? W : Math.max(0,
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
}, [L, b,
|
|
3129
|
+
I
|
|
3130
|
+
), L = typeof W == "number" ? W : Math.max(0, I - b);
|
|
3131
|
+
P(() => {
|
|
3132
|
+
it?.({ daysRemaining: L, currentDay: b, totalDays: I });
|
|
3133
|
+
}, [L, b, I, it]);
|
|
3135
3134
|
const R = $ && !ue && (Ve.currentDay || b) >= 6 && (Ve.currentDay || b) <= 7, H = $ && !!ue, V = R || H, [z, ne] = T(!0), oe = z, Y = [
|
|
3136
3135
|
"streaks",
|
|
3137
3136
|
"share",
|
|
3138
3137
|
...oe ? ["store"] : [],
|
|
3139
3138
|
...V ? ["subscription"] : []
|
|
3140
3139
|
];
|
|
3141
|
-
|
|
3140
|
+
P(() => {
|
|
3142
3141
|
ne(!0);
|
|
3143
|
-
}, [_,
|
|
3142
|
+
}, [_, w, S, N]);
|
|
3144
3143
|
const X = (v) => {
|
|
3145
3144
|
ne(v.length > 0), y?.(v);
|
|
3146
3145
|
};
|
|
3147
|
-
|
|
3146
|
+
P(() => {
|
|
3148
3147
|
if (be) return;
|
|
3149
3148
|
let v = null;
|
|
3150
3149
|
const F = requestAnimationFrame(() => {
|
|
3151
|
-
const ee =
|
|
3150
|
+
const ee = ft.current;
|
|
3152
3151
|
if (!ee) return;
|
|
3153
|
-
const
|
|
3152
|
+
const Pe = Y;
|
|
3154
3153
|
v = new IntersectionObserver(
|
|
3155
3154
|
(ze) => {
|
|
3156
|
-
if (Date.now() <
|
|
3155
|
+
if (Date.now() < Xe.current)
|
|
3157
3156
|
return;
|
|
3158
3157
|
const ie = ze.filter((Z) => Z.isIntersecting).map((Z) => {
|
|
3159
|
-
const Ae =
|
|
3160
|
-
(ha) =>
|
|
3158
|
+
const Ae = Pe.find(
|
|
3159
|
+
(ha) => Ke[ha].current === Z.target
|
|
3161
3160
|
);
|
|
3162
3161
|
return Ae ? {
|
|
3163
3162
|
tab: Ae,
|
|
@@ -3174,44 +3173,44 @@ If you feel like trying something like this, join here:
|
|
|
3174
3173
|
rootMargin: "-8% 0px -52% 0px",
|
|
3175
3174
|
threshold: [0, 0.2, 0.4, 0.6, 0.8, 1]
|
|
3176
3175
|
}
|
|
3177
|
-
),
|
|
3178
|
-
const
|
|
3179
|
-
|
|
3176
|
+
), Pe.forEach((ze) => {
|
|
3177
|
+
const nt = Ke[ze].current;
|
|
3178
|
+
nt && v?.observe(nt);
|
|
3180
3179
|
});
|
|
3181
3180
|
});
|
|
3182
3181
|
return () => {
|
|
3183
3182
|
cancelAnimationFrame(F), v?.disconnect();
|
|
3184
3183
|
};
|
|
3185
3184
|
}, [be, Y]);
|
|
3186
|
-
const
|
|
3187
|
-
|
|
3188
|
-
|
|
3185
|
+
const vt = (v) => {
|
|
3186
|
+
Xe.current = Date.now() + 900, _e(v), setTimeout(() => {
|
|
3187
|
+
Ke[v].current?.scrollIntoView({
|
|
3189
3188
|
behavior: "smooth",
|
|
3190
3189
|
block: "start"
|
|
3191
3190
|
});
|
|
3192
3191
|
}, 50);
|
|
3193
|
-
},
|
|
3192
|
+
}, Mt = () => {
|
|
3194
3193
|
te && _e("chat");
|
|
3195
3194
|
}, xe = () => {
|
|
3196
3195
|
U?.({ inputValue: void 0 });
|
|
3197
3196
|
}, xn = M(!1);
|
|
3198
|
-
|
|
3197
|
+
P(() => {
|
|
3199
3198
|
d && K === "LIVE" && !xn.current && (xn.current = !0, _e("chat"));
|
|
3200
|
-
}, [d, K]),
|
|
3199
|
+
}, [d, K]), P(() => {
|
|
3201
3200
|
fe !== "chat" && !Y.includes(fe) && _e("streaks");
|
|
3202
|
-
}, [fe, Y]),
|
|
3201
|
+
}, [fe, Y]), P(() => {
|
|
3203
3202
|
me !== "chat" && !Y.includes(me) && Re("streaks");
|
|
3204
|
-
}, [me, Y]),
|
|
3203
|
+
}, [me, Y]), P(() => {
|
|
3205
3204
|
!te && fe === "chat" && _e("streaks"), !te && me === "chat" && Re("streaks");
|
|
3206
|
-
}, [te, fe, me]),
|
|
3205
|
+
}, [te, fe, me]), P(() => {
|
|
3207
3206
|
if (be) return;
|
|
3208
3207
|
const v = ke.current;
|
|
3209
3208
|
if (!v) return;
|
|
3210
3209
|
const F = Y, ee = new IntersectionObserver(
|
|
3211
|
-
(
|
|
3212
|
-
if (Date.now() <
|
|
3210
|
+
(Pe) => {
|
|
3211
|
+
if (Date.now() < Xe.current)
|
|
3213
3212
|
return;
|
|
3214
|
-
const
|
|
3213
|
+
const nt = Pe.filter((ie) => ie.isIntersecting).map((ie) => {
|
|
3215
3214
|
const Z = F.find(
|
|
3216
3215
|
(Ae) => Oe[Ae].current === ie.target
|
|
3217
3216
|
);
|
|
@@ -3223,7 +3222,7 @@ If you feel like trying something like this, join here:
|
|
|
3223
3222
|
}).filter(
|
|
3224
3223
|
(ie) => !!ie
|
|
3225
3224
|
).sort((ie, Z) => Z.ratio !== ie.ratio ? Z.ratio - ie.ratio : ie.topDistance - Z.topDistance)[0];
|
|
3226
|
-
|
|
3225
|
+
nt && _e(nt.tab);
|
|
3227
3226
|
},
|
|
3228
3227
|
{
|
|
3229
3228
|
root: v,
|
|
@@ -3231,8 +3230,8 @@ If you feel like trying something like this, join here:
|
|
|
3231
3230
|
threshold: [0, 0.2, 0.4, 0.6, 0.8, 1]
|
|
3232
3231
|
}
|
|
3233
3232
|
);
|
|
3234
|
-
return F.forEach((
|
|
3235
|
-
const ze = Oe[
|
|
3233
|
+
return F.forEach((Pe) => {
|
|
3234
|
+
const ze = Oe[Pe].current;
|
|
3236
3235
|
ze && ee.observe(ze);
|
|
3237
3236
|
}), () => ee.disconnect();
|
|
3238
3237
|
}, [
|
|
@@ -3242,43 +3241,43 @@ If you feel like trying something like this, join here:
|
|
|
3242
3241
|
Y
|
|
3243
3242
|
]);
|
|
3244
3243
|
const vn = (v) => {
|
|
3245
|
-
|
|
3246
|
-
}, la = typeof window < "u" ? window.location.origin : "https://www.srimandir.com", ca = zn(Kt) || zn(r) || "www.srimandir.com", ve = t ||
|
|
3244
|
+
Xe.current = Date.now() + 900, _e(v), Re(v), Ge(v);
|
|
3245
|
+
}, la = typeof window < "u" ? window.location.origin : "https://www.srimandir.com", ca = zn(Kt) || zn(r) || "www.srimandir.com", ve = t || Bt, yn = fa(), Zt = `yt-live-status-probe-${yn.replace(/:/g, "")}`, Qt = `yt-main-player-${yn.replace(/:/g, "")}`, et = Qi(
|
|
3247
3246
|
qe ? "" : ve,
|
|
3248
3247
|
Zt
|
|
3249
3248
|
);
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
}, [ve]),
|
|
3253
|
-
if (
|
|
3249
|
+
P(() => {
|
|
3250
|
+
ut(null);
|
|
3251
|
+
}, [ve]), P(() => {
|
|
3252
|
+
if (et === "LOADING")
|
|
3254
3253
|
return;
|
|
3255
|
-
if (
|
|
3256
|
-
|
|
3254
|
+
if (et === "LIVE") {
|
|
3255
|
+
ut("LIVE");
|
|
3257
3256
|
return;
|
|
3258
3257
|
}
|
|
3259
3258
|
const v = window.setTimeout(() => {
|
|
3260
|
-
|
|
3259
|
+
ut((F) => F === "LIVE" ? F : et);
|
|
3261
3260
|
}, zo);
|
|
3262
3261
|
return () => window.clearTimeout(v);
|
|
3263
|
-
}, [
|
|
3264
|
-
const
|
|
3262
|
+
}, [et]);
|
|
3263
|
+
const $t = K === "UPCOMING" || K === "ENDED", { isResolvingStreamStatus: ye } = tl({
|
|
3265
3264
|
isLoggedIn: d,
|
|
3266
3265
|
stableStreamStatus: K,
|
|
3267
|
-
streamStatus:
|
|
3268
|
-
}), bn = !d || K !== null, jn = K === null ? void 0 : K === "LIVE" ? "Live" : "Playback", da =
|
|
3269
|
-
|
|
3270
|
-
d && !Nn || bn &&
|
|
3266
|
+
streamStatus: et
|
|
3267
|
+
}), bn = !d || K !== null, jn = K === null ? void 0 : K === "LIVE" ? "Live" : "Playback", da = et === "LIVE" || K === "LIVE" ? "Live" : "Playback", De = al(pe?.days || []), wn = ue?.status || (Le ? "active" : "inactive"), Sn = ue?.amount ?? ue?.upfront_amount ?? Pt?.effective_amount ?? Pt?.subscription_amount ?? 0, Cn = ue?.total_count ?? 0, kn = ue?.paid_count ?? 0, tt = Number(pe?.attendance_start_at), yt = Number.isFinite(tt), Tn = yt ? new Date(tt + 7 * zt).toISOString() : void 0, Nn = !Ot && yt;
|
|
3268
|
+
P(() => {
|
|
3269
|
+
d && !Nn || bn && lt?.({
|
|
3271
3270
|
subscription_status: wn,
|
|
3272
3271
|
subscription_amount: Sn,
|
|
3273
3272
|
subscription_count: Cn,
|
|
3274
3273
|
store_id: O,
|
|
3275
3274
|
screen_name: "Daily Live Puja",
|
|
3276
3275
|
source: "daily_live_puja",
|
|
3277
|
-
attendance_start_at:
|
|
3278
|
-
current_streak_count: pe?.current_streak_count ??
|
|
3279
|
-
last_streak_count:
|
|
3280
|
-
days_since_last_streak_ended:
|
|
3281
|
-
total_days_attended:
|
|
3276
|
+
attendance_start_at: tt,
|
|
3277
|
+
current_streak_count: pe?.current_streak_count ?? De.currentStreakCount ?? 0,
|
|
3278
|
+
last_streak_count: De.lastStreakCount ?? 0,
|
|
3279
|
+
days_since_last_streak_ended: De.daysSinceLastStreakEnded ?? 0,
|
|
3280
|
+
total_days_attended: De.totalDaysAttended ?? 0,
|
|
3282
3281
|
video_orientation: se ? "landscape" : "portrait",
|
|
3283
3282
|
service_name: "sm_dlp_premium",
|
|
3284
3283
|
successful_subscription_order: kn,
|
|
@@ -3287,25 +3286,25 @@ If you feel like trying something like this, join here:
|
|
|
3287
3286
|
dlp_status: jn
|
|
3288
3287
|
});
|
|
3289
3288
|
}, [
|
|
3290
|
-
|
|
3289
|
+
lt,
|
|
3291
3290
|
pe?.attendance_start_at,
|
|
3292
3291
|
pe?.current_streak_count,
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3292
|
+
De.currentStreakCount,
|
|
3293
|
+
De.daysSinceLastStreakEnded,
|
|
3294
|
+
De.lastStreakCount,
|
|
3295
|
+
De.totalDaysAttended,
|
|
3297
3296
|
se,
|
|
3298
3297
|
ge?.length,
|
|
3299
3298
|
Sn,
|
|
3300
3299
|
Cn,
|
|
3301
3300
|
wn,
|
|
3302
3301
|
kn,
|
|
3303
|
-
|
|
3302
|
+
tt,
|
|
3304
3303
|
d,
|
|
3305
|
-
|
|
3304
|
+
yt,
|
|
3306
3305
|
Nn,
|
|
3307
3306
|
bn,
|
|
3308
|
-
|
|
3307
|
+
Ot,
|
|
3309
3308
|
O,
|
|
3310
3309
|
Tn,
|
|
3311
3310
|
jn
|
|
@@ -3313,25 +3312,25 @@ If you feel like trying something like this, join here:
|
|
|
3313
3312
|
const en = `https://www.youtube.com/embed/${ve}?autoplay=0&mute=0&fs=0&modestbranding=1&rel=0&playsinline=1&disablekb=1&iv_load_policy=3&enablejsapi=1&origin=${encodeURIComponent(la)}`, ua = "https://srm-cdn.a4b.io/yoda/1776927720907.mp4", tn = `https://www.youtube.com/live_chat?v=${ve}&embed_domain=${encodeURIComponent(
|
|
3314
3313
|
ca
|
|
3315
3314
|
)}`, pa = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent);
|
|
3316
|
-
|
|
3315
|
+
P(() => {
|
|
3317
3316
|
const v = () => {
|
|
3318
|
-
|
|
3317
|
+
xt(window.innerWidth > window.innerHeight);
|
|
3319
3318
|
};
|
|
3320
3319
|
return v(), window.addEventListener("resize", v), () => window.removeEventListener("resize", v);
|
|
3321
|
-
}, []),
|
|
3322
|
-
typeof window < "u" &&
|
|
3323
|
-
}, []),
|
|
3320
|
+
}, []), P(() => {
|
|
3321
|
+
typeof window < "u" && Ft(window.location.hostname);
|
|
3322
|
+
}, []), P(() => {
|
|
3324
3323
|
if (!d || typeof window > "u") {
|
|
3325
|
-
|
|
3324
|
+
Qe(!1);
|
|
3326
3325
|
return;
|
|
3327
3326
|
}
|
|
3328
|
-
const v = Date.now() -
|
|
3329
|
-
|
|
3330
|
-
!!(F && v <
|
|
3327
|
+
const v = Date.now() - tt, F = yt && Number.isFinite(v) && v >= 0;
|
|
3328
|
+
Qe(
|
|
3329
|
+
!!(F && v < zt)
|
|
3331
3330
|
);
|
|
3332
|
-
}, [d,
|
|
3331
|
+
}, [d, yt, tt]);
|
|
3333
3332
|
const nn = () => {
|
|
3334
|
-
|
|
3333
|
+
Qe(!1);
|
|
3335
3334
|
}, En = () => {
|
|
3336
3335
|
Q?.();
|
|
3337
3336
|
const ee = `https://wa.me/918151810300?text=${encodeURIComponent(
|
|
@@ -3369,21 +3368,21 @@ If you feel like trying something like this, join here:
|
|
|
3369
3368
|
}
|
|
3370
3369
|
}
|
|
3371
3370
|
};
|
|
3372
|
-
|
|
3371
|
+
P(() => {
|
|
3373
3372
|
const v = () => {
|
|
3374
3373
|
const F = !!document.fullscreenElement;
|
|
3375
|
-
Jt(F), F ||
|
|
3374
|
+
Jt(F), F || _t(!1);
|
|
3376
3375
|
};
|
|
3377
3376
|
return document.addEventListener("fullscreenchange", v), () => document.removeEventListener("fullscreenchange", v);
|
|
3378
|
-
}, []),
|
|
3379
|
-
we &&
|
|
3380
|
-
}, [we]),
|
|
3377
|
+
}, []), P(() => {
|
|
3378
|
+
we && Ze(!0);
|
|
3379
|
+
}, [we]), P(() => {
|
|
3381
3380
|
we && Re("chat");
|
|
3382
3381
|
}, [we]);
|
|
3383
|
-
const
|
|
3382
|
+
const Ut = async (v) => {
|
|
3384
3383
|
re && document.fullscreenElement && await an(), c && await c(v);
|
|
3385
|
-
},
|
|
3386
|
-
const F = v?.card || Ne, ee = F.deeplink || "/epuja",
|
|
3384
|
+
}, Wt = (v) => {
|
|
3385
|
+
const F = v?.card || Ne, ee = F.deeplink || "/epuja", Pe = new URL(ee, "https://www.srimandir.com");
|
|
3387
3386
|
typeof window < "u" && (i?.({
|
|
3388
3387
|
orientation: se ? "horizontal" : "vertical",
|
|
3389
3388
|
amount: void 0,
|
|
@@ -3391,7 +3390,7 @@ If you feel like trying something like this, join here:
|
|
|
3391
3390
|
featureServiceType: "Puja",
|
|
3392
3391
|
countOfOfferingSku: ge.length || void 0,
|
|
3393
3392
|
elementPosition: v?.elementPosition
|
|
3394
|
-
}), window.location.href =
|
|
3393
|
+
}), window.location.href = Pe.toString());
|
|
3395
3394
|
};
|
|
3396
3395
|
if (qe) {
|
|
3397
3396
|
const v = ve ? `https://img.youtube.com/vi/${ve}/hqdefault.jpg` : Ne.imageUrl || Ee.imageUrl;
|
|
@@ -3399,7 +3398,7 @@ If you feel like trying something like this, join here:
|
|
|
3399
3398
|
"div",
|
|
3400
3399
|
{
|
|
3401
3400
|
ref: Ue,
|
|
3402
|
-
className:
|
|
3401
|
+
className: h.container,
|
|
3403
3402
|
style: {
|
|
3404
3403
|
background: "#000",
|
|
3405
3404
|
position: "relative",
|
|
@@ -3426,7 +3425,7 @@ If you feel like trying something like this, join here:
|
|
|
3426
3425
|
/* @__PURE__ */ e.jsx(
|
|
3427
3426
|
"div",
|
|
3428
3427
|
{
|
|
3429
|
-
className:
|
|
3428
|
+
className: h.video,
|
|
3430
3429
|
style: {
|
|
3431
3430
|
minHeight: "unset",
|
|
3432
3431
|
aspectRatio: "16 / 9",
|
|
@@ -3444,8 +3443,8 @@ If you feel like trying something like this, join here:
|
|
|
3444
3443
|
)
|
|
3445
3444
|
}
|
|
3446
3445
|
),
|
|
3447
|
-
ye ? /* @__PURE__ */ e.jsx(
|
|
3448
|
-
|
|
3446
|
+
ye ? /* @__PURE__ */ e.jsx(Ct, {}) : /* @__PURE__ */ e.jsx(
|
|
3447
|
+
kt,
|
|
3449
3448
|
{
|
|
3450
3449
|
isGlobal: s,
|
|
3451
3450
|
isLandscape: !1,
|
|
@@ -3479,7 +3478,7 @@ If you feel like trying something like this, join here:
|
|
|
3479
3478
|
className: "absolute left-0 right-0 bottom-0 z-20",
|
|
3480
3479
|
style: { paddingBottom: "env(safe-area-inset-bottom, 0px)" },
|
|
3481
3480
|
children: /* @__PURE__ */ e.jsx(
|
|
3482
|
-
|
|
3481
|
+
Vt,
|
|
3483
3482
|
{
|
|
3484
3483
|
onSubscribe: (F) => x?.(F, { bannerType: "blocker" }),
|
|
3485
3484
|
storeId: O,
|
|
@@ -3495,7 +3494,7 @@ If you feel like trying something like this, join here:
|
|
|
3495
3494
|
/* @__PURE__ */ e.jsx(
|
|
3496
3495
|
Mn,
|
|
3497
3496
|
{
|
|
3498
|
-
open:
|
|
3497
|
+
open: At,
|
|
3499
3498
|
onClose: nn,
|
|
3500
3499
|
onVerifyWhatsapp: En
|
|
3501
3500
|
}
|
|
@@ -3504,7 +3503,7 @@ If you feel like trying something like this, join here:
|
|
|
3504
3503
|
}
|
|
3505
3504
|
);
|
|
3506
3505
|
}
|
|
3507
|
-
return d ? /* @__PURE__ */ e.jsxs("div", { ref: Ue, className:
|
|
3506
|
+
return d ? /* @__PURE__ */ e.jsxs("div", { ref: Ue, className: h.container, children: [
|
|
3508
3507
|
/* @__PURE__ */ e.jsx("div", { style: { display: re ? "none" : "block" }, children: /* @__PURE__ */ e.jsx(
|
|
3509
3508
|
fn,
|
|
3510
3509
|
{
|
|
@@ -3512,7 +3511,7 @@ If you feel like trying something like this, join here:
|
|
|
3512
3511
|
daysRemaining: L,
|
|
3513
3512
|
isLoggedIn: d,
|
|
3514
3513
|
isSubscribed: Le,
|
|
3515
|
-
onJoinClick: A ||
|
|
3514
|
+
onJoinClick: A || C
|
|
3516
3515
|
}
|
|
3517
3516
|
) }),
|
|
3518
3517
|
/* @__PURE__ */ e.jsx("div", { style: { display: re ? "none" : "block" }, children: /* @__PURE__ */ e.jsx(Fn, {}) }),
|
|
@@ -3533,34 +3532,34 @@ If you feel like trying something like this, join here:
|
|
|
3533
3532
|
(!se || re || !d) && /* @__PURE__ */ e.jsx(
|
|
3534
3533
|
"div",
|
|
3535
3534
|
{
|
|
3536
|
-
className: re ? we ?
|
|
3535
|
+
className: re ? we ? h.fullscreenWithPanel : h.videoFullscreenWithBelowBanner : h.video,
|
|
3537
3536
|
children: re && we ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3538
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3539
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3537
|
+
/* @__PURE__ */ e.jsxs("div", { className: h.fullscreenLeft, children: [
|
|
3538
|
+
/* @__PURE__ */ e.jsxs("div", { className: h.fullscreenVideoArea, children: [
|
|
3540
3539
|
/* @__PURE__ */ e.jsx(
|
|
3541
3540
|
"iframe",
|
|
3542
3541
|
{
|
|
3543
3542
|
id: Qt,
|
|
3544
3543
|
src: en,
|
|
3545
|
-
title:
|
|
3544
|
+
title: a,
|
|
3546
3545
|
frameBorder: "0",
|
|
3547
3546
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
3548
3547
|
referrerPolicy: "strict-origin-when-cross-origin",
|
|
3549
|
-
className:
|
|
3548
|
+
className: h.iframe
|
|
3550
3549
|
}
|
|
3551
3550
|
),
|
|
3552
3551
|
/* @__PURE__ */ e.jsx(
|
|
3553
3552
|
"button",
|
|
3554
3553
|
{
|
|
3555
|
-
className:
|
|
3554
|
+
className: h.fullscreenBtn,
|
|
3556
3555
|
onClick: an,
|
|
3557
3556
|
"aria-label": "Exit Fullscreen",
|
|
3558
3557
|
children: "⤡"
|
|
3559
3558
|
}
|
|
3560
3559
|
)
|
|
3561
3560
|
] }),
|
|
3562
|
-
ye ? /* @__PURE__ */ e.jsx(
|
|
3563
|
-
|
|
3561
|
+
ye ? /* @__PURE__ */ e.jsx(Ct, {}) : /* @__PURE__ */ e.jsx(
|
|
3562
|
+
kt,
|
|
3564
3563
|
{
|
|
3565
3564
|
isGlobal: s,
|
|
3566
3565
|
isLandscape: se,
|
|
@@ -3568,21 +3567,21 @@ If you feel like trying something like this, join here:
|
|
|
3568
3567
|
offeringCards: ge,
|
|
3569
3568
|
pujaCard: Ne,
|
|
3570
3569
|
pujaCards: He,
|
|
3571
|
-
showPujaSlide:
|
|
3572
|
-
onOfferingClick:
|
|
3573
|
-
onPujaBannerClick:
|
|
3570
|
+
showPujaSlide: $t,
|
|
3571
|
+
onOfferingClick: Ut,
|
|
3572
|
+
onPujaBannerClick: Wt,
|
|
3574
3573
|
onPujaImpression: u,
|
|
3575
3574
|
onSwipe: de
|
|
3576
3575
|
}
|
|
3577
3576
|
)
|
|
3578
3577
|
] }),
|
|
3579
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3580
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3578
|
+
/* @__PURE__ */ e.jsxs("div", { className: h.fullscreenChatPanel, children: [
|
|
3579
|
+
/* @__PURE__ */ e.jsxs("div", { className: h.fullscreenPanelHeader, children: [
|
|
3581
3580
|
/* @__PURE__ */ e.jsx(
|
|
3582
3581
|
"button",
|
|
3583
3582
|
{
|
|
3584
|
-
className:
|
|
3585
|
-
onClick: () =>
|
|
3583
|
+
className: h.fullscreenChatCloseBtn,
|
|
3584
|
+
onClick: () => _t(!1),
|
|
3586
3585
|
"aria-label": "Close panel",
|
|
3587
3586
|
children: /* @__PURE__ */ e.jsxs(
|
|
3588
3587
|
"svg",
|
|
@@ -3628,17 +3627,17 @@ If you feel like trying something like this, join here:
|
|
|
3628
3627
|
onPointerDown: xe,
|
|
3629
3628
|
onTouchStart: xe,
|
|
3630
3629
|
children: [
|
|
3631
|
-
Te && /* @__PURE__ */ e.jsx(
|
|
3630
|
+
Te && /* @__PURE__ */ e.jsx(Tt, { message: "Loading chat...", compact: !0 }),
|
|
3632
3631
|
/* @__PURE__ */ e.jsx(
|
|
3633
3632
|
"iframe",
|
|
3634
3633
|
{
|
|
3635
3634
|
src: tn,
|
|
3636
3635
|
title: "Live Chat Fullscreen",
|
|
3637
3636
|
frameBorder: "0",
|
|
3638
|
-
onLoad: () =>
|
|
3637
|
+
onLoad: () => Ze(!1),
|
|
3639
3638
|
onFocus: xe,
|
|
3640
3639
|
referrerPolicy: "origin",
|
|
3641
|
-
className:
|
|
3640
|
+
className: h.iframe,
|
|
3642
3641
|
style: { opacity: Te ? 0 : 1 }
|
|
3643
3642
|
}
|
|
3644
3643
|
)
|
|
@@ -3648,15 +3647,15 @@ If you feel like trying something like this, join here:
|
|
|
3648
3647
|
"div",
|
|
3649
3648
|
{
|
|
3650
3649
|
ref: ke,
|
|
3651
|
-
className:
|
|
3650
|
+
className: h.fullscreenPanelScroll,
|
|
3652
3651
|
children: [
|
|
3653
|
-
/* @__PURE__ */ e.jsxs("div", { ref:
|
|
3652
|
+
/* @__PURE__ */ e.jsxs("div", { ref: ct, children: [
|
|
3654
3653
|
/* @__PURE__ */ e.jsx(
|
|
3655
3654
|
on,
|
|
3656
3655
|
{
|
|
3657
3656
|
attendedDays: m,
|
|
3658
3657
|
currentDay: b,
|
|
3659
|
-
totalDays:
|
|
3658
|
+
totalDays: I,
|
|
3660
3659
|
isInactive: !l
|
|
3661
3660
|
}
|
|
3662
3661
|
),
|
|
@@ -3668,7 +3667,7 @@ If you feel like trying something like this, join here:
|
|
|
3668
3667
|
}
|
|
3669
3668
|
),
|
|
3670
3669
|
/* @__PURE__ */ e.jsx(
|
|
3671
|
-
|
|
3670
|
+
Vt,
|
|
3672
3671
|
{
|
|
3673
3672
|
onSubscribe: x,
|
|
3674
3673
|
storeId: O,
|
|
@@ -3692,7 +3691,7 @@ If you feel like trying something like this, join here:
|
|
|
3692
3691
|
}
|
|
3693
3692
|
),
|
|
3694
3693
|
/* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3695
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
3694
|
+
/* @__PURE__ */ e.jsx("div", { ref: dt, children: /* @__PURE__ */ e.jsx(cn, { onShare: j, shareUserId: E }) }),
|
|
3696
3695
|
(oe || H) && /* @__PURE__ */ e.jsx(
|
|
3697
3696
|
"div",
|
|
3698
3697
|
{
|
|
@@ -3713,8 +3712,8 @@ If you feel like trying something like this, join here:
|
|
|
3713
3712
|
onCardClick: f,
|
|
3714
3713
|
onSwipe: g,
|
|
3715
3714
|
a4bApi: _,
|
|
3716
|
-
storeCardsPage:
|
|
3717
|
-
storeCardsHeaders:
|
|
3715
|
+
storeCardsPage: w,
|
|
3716
|
+
storeCardsHeaders: S,
|
|
3718
3717
|
storeCardsLimit: N,
|
|
3719
3718
|
onCardsResolved: X
|
|
3720
3719
|
}
|
|
@@ -3754,17 +3753,17 @@ If you feel like trying something like this, join here:
|
|
|
3754
3753
|
{
|
|
3755
3754
|
id: Qt,
|
|
3756
3755
|
src: en,
|
|
3757
|
-
title:
|
|
3756
|
+
title: a,
|
|
3758
3757
|
frameBorder: "0",
|
|
3759
3758
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
3760
3759
|
referrerPolicy: "strict-origin-when-cross-origin",
|
|
3761
|
-
className:
|
|
3760
|
+
className: h.iframe
|
|
3762
3761
|
}
|
|
3763
3762
|
),
|
|
3764
3763
|
d && /* @__PURE__ */ e.jsx(
|
|
3765
3764
|
"button",
|
|
3766
3765
|
{
|
|
3767
|
-
className:
|
|
3766
|
+
className: h.fullscreenBtn,
|
|
3768
3767
|
onClick: re ? an : Rn,
|
|
3769
3768
|
"aria-label": re ? "Exit Fullscreen" : "Enter Fullscreen",
|
|
3770
3769
|
children: re ? "⤡" : "⤢"
|
|
@@ -3810,7 +3809,7 @@ If you feel like trying something like this, join here:
|
|
|
3810
3809
|
"button",
|
|
3811
3810
|
{
|
|
3812
3811
|
onClick: () => {
|
|
3813
|
-
G?.(),
|
|
3812
|
+
G?.(), _t(!0);
|
|
3814
3813
|
},
|
|
3815
3814
|
style: {
|
|
3816
3815
|
width: 48,
|
|
@@ -3874,8 +3873,8 @@ If you feel like trying something like this, join here:
|
|
|
3874
3873
|
}
|
|
3875
3874
|
),
|
|
3876
3875
|
" ",
|
|
3877
|
-
re && !we && (ye ? /* @__PURE__ */ e.jsx(
|
|
3878
|
-
|
|
3876
|
+
re && !we && (ye ? /* @__PURE__ */ e.jsx(Ct, {}) : /* @__PURE__ */ e.jsx(
|
|
3877
|
+
kt,
|
|
3879
3878
|
{
|
|
3880
3879
|
isGlobal: s,
|
|
3881
3880
|
isLandscape: se,
|
|
@@ -3883,40 +3882,40 @@ If you feel like trying something like this, join here:
|
|
|
3883
3882
|
offeringCards: ge,
|
|
3884
3883
|
pujaCard: Ne,
|
|
3885
3884
|
pujaCards: He,
|
|
3886
|
-
showPujaSlide:
|
|
3887
|
-
onOfferingClick:
|
|
3888
|
-
onPujaBannerClick:
|
|
3885
|
+
showPujaSlide: $t,
|
|
3886
|
+
onOfferingClick: Ut,
|
|
3887
|
+
onPujaBannerClick: Wt,
|
|
3889
3888
|
onPujaImpression: u,
|
|
3890
3889
|
onSwipe: de
|
|
3891
3890
|
}
|
|
3892
3891
|
)),
|
|
3893
|
-
!re && /* @__PURE__ */ e.jsx(e.Fragment, { children: se && d ? /* @__PURE__ */ e.jsxs("div", { className:
|
|
3894
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3895
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3892
|
+
!re && /* @__PURE__ */ e.jsx(e.Fragment, { children: se && d ? /* @__PURE__ */ e.jsxs("div", { className: h.landscapeLayout, children: [
|
|
3893
|
+
/* @__PURE__ */ e.jsxs("div", { className: h.landscapeLeft, children: [
|
|
3894
|
+
/* @__PURE__ */ e.jsxs("div", { className: h.video, style: { flex: 1 }, children: [
|
|
3896
3895
|
/* @__PURE__ */ e.jsx(
|
|
3897
3896
|
"iframe",
|
|
3898
3897
|
{
|
|
3899
3898
|
id: Qt,
|
|
3900
3899
|
src: en,
|
|
3901
|
-
title:
|
|
3900
|
+
title: a,
|
|
3902
3901
|
frameBorder: "0",
|
|
3903
3902
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
3904
3903
|
referrerPolicy: "strict-origin-when-cross-origin",
|
|
3905
|
-
className:
|
|
3904
|
+
className: h.iframe
|
|
3906
3905
|
}
|
|
3907
3906
|
),
|
|
3908
3907
|
/* @__PURE__ */ e.jsx(
|
|
3909
3908
|
"button",
|
|
3910
3909
|
{
|
|
3911
|
-
className:
|
|
3910
|
+
className: h.fullscreenBtn,
|
|
3912
3911
|
onClick: Rn,
|
|
3913
3912
|
"aria-label": "Enter Fullscreen",
|
|
3914
3913
|
children: "⤢"
|
|
3915
3914
|
}
|
|
3916
3915
|
)
|
|
3917
3916
|
] }),
|
|
3918
|
-
ye ? /* @__PURE__ */ e.jsx(
|
|
3919
|
-
|
|
3917
|
+
ye ? /* @__PURE__ */ e.jsx(Ct, {}) : /* @__PURE__ */ e.jsx(
|
|
3918
|
+
kt,
|
|
3920
3919
|
{
|
|
3921
3920
|
isGlobal: s,
|
|
3922
3921
|
isLandscape: se,
|
|
@@ -3924,22 +3923,22 @@ If you feel like trying something like this, join here:
|
|
|
3924
3923
|
offeringCards: ge,
|
|
3925
3924
|
pujaCard: Ne,
|
|
3926
3925
|
pujaCards: He,
|
|
3927
|
-
showPujaSlide:
|
|
3928
|
-
onOfferingClick:
|
|
3929
|
-
onPujaBannerClick:
|
|
3926
|
+
showPujaSlide: $t,
|
|
3927
|
+
onOfferingClick: Ut,
|
|
3928
|
+
onPujaBannerClick: Wt,
|
|
3930
3929
|
onPujaImpression: u,
|
|
3931
3930
|
onSwipe: de
|
|
3932
3931
|
}
|
|
3933
3932
|
)
|
|
3934
3933
|
] }),
|
|
3935
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3936
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3934
|
+
/* @__PURE__ */ e.jsxs("div", { className: h.landscapeRight, children: [
|
|
3935
|
+
/* @__PURE__ */ e.jsxs("div", { className: h.landscapePanelHeader, children: [
|
|
3937
3936
|
/* @__PURE__ */ e.jsx(
|
|
3938
3937
|
"button",
|
|
3939
3938
|
{
|
|
3940
3939
|
type: "button",
|
|
3941
|
-
className:
|
|
3942
|
-
onClick: () =>
|
|
3940
|
+
className: h.landscapeCloseBtn,
|
|
3941
|
+
onClick: () => xt(!1),
|
|
3943
3942
|
"aria-label": "Close panel",
|
|
3944
3943
|
children: /* @__PURE__ */ e.jsxs(
|
|
3945
3944
|
"svg",
|
|
@@ -3963,9 +3962,9 @@ If you feel like trying something like this, join here:
|
|
|
3963
3962
|
ye ? /* @__PURE__ */ e.jsx(hn, { tabCount: Y.length }) : /* @__PURE__ */ e.jsx(
|
|
3964
3963
|
rn,
|
|
3965
3964
|
{
|
|
3966
|
-
activeTab:
|
|
3965
|
+
activeTab: pt,
|
|
3967
3966
|
onTabChange: vn,
|
|
3968
|
-
onChatPress:
|
|
3967
|
+
onChatPress: Mt,
|
|
3969
3968
|
showSubscription: V,
|
|
3970
3969
|
visibleTabs: Y,
|
|
3971
3970
|
isLive: K === "LIVE",
|
|
@@ -3973,25 +3972,25 @@ If you feel like trying something like this, join here:
|
|
|
3973
3972
|
}
|
|
3974
3973
|
)
|
|
3975
3974
|
] }),
|
|
3976
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3975
|
+
/* @__PURE__ */ e.jsx("div", { className: h.landscapePanelBody, children: ye ? /* @__PURE__ */ e.jsx(Gn, { compact: !0 }) : Me && te ? /* @__PURE__ */ e.jsxs(
|
|
3977
3976
|
"div",
|
|
3978
3977
|
{
|
|
3979
|
-
className:
|
|
3978
|
+
className: h.landscapeChat,
|
|
3980
3979
|
onPointerDown: xe,
|
|
3981
3980
|
onTouchStart: xe,
|
|
3982
3981
|
children: [
|
|
3983
|
-
|
|
3982
|
+
Ie && /* @__PURE__ */ e.jsx(Tt, { message: "Loading chat...", compact: !0 }),
|
|
3984
3983
|
/* @__PURE__ */ e.jsx(
|
|
3985
3984
|
"iframe",
|
|
3986
3985
|
{
|
|
3987
3986
|
src: tn,
|
|
3988
3987
|
title: "Live Chat",
|
|
3989
3988
|
frameBorder: "0",
|
|
3990
|
-
onLoad: () =>
|
|
3989
|
+
onLoad: () => gt(!1),
|
|
3991
3990
|
onFocus: xe,
|
|
3992
3991
|
referrerPolicy: "origin",
|
|
3993
|
-
className:
|
|
3994
|
-
style: { opacity:
|
|
3992
|
+
className: h.iframe,
|
|
3993
|
+
style: { opacity: Ie ? 0 : 1 }
|
|
3995
3994
|
}
|
|
3996
3995
|
)
|
|
3997
3996
|
]
|
|
@@ -4000,15 +3999,15 @@ If you feel like trying something like this, join here:
|
|
|
4000
3999
|
"div",
|
|
4001
4000
|
{
|
|
4002
4001
|
ref: ke,
|
|
4003
|
-
className:
|
|
4002
|
+
className: h.fullscreenPanelScroll,
|
|
4004
4003
|
children: [
|
|
4005
|
-
/* @__PURE__ */ e.jsxs("div", { ref:
|
|
4004
|
+
/* @__PURE__ */ e.jsxs("div", { ref: ct, children: [
|
|
4006
4005
|
/* @__PURE__ */ e.jsx(
|
|
4007
4006
|
on,
|
|
4008
4007
|
{
|
|
4009
4008
|
attendedDays: m,
|
|
4010
4009
|
currentDay: b,
|
|
4011
|
-
totalDays:
|
|
4010
|
+
totalDays: I,
|
|
4012
4011
|
isInactive: !l
|
|
4013
4012
|
}
|
|
4014
4013
|
),
|
|
@@ -4020,7 +4019,7 @@ If you feel like trying something like this, join here:
|
|
|
4020
4019
|
}
|
|
4021
4020
|
),
|
|
4022
4021
|
/* @__PURE__ */ e.jsx(
|
|
4023
|
-
|
|
4022
|
+
Vt,
|
|
4024
4023
|
{
|
|
4025
4024
|
onSubscribe: (v) => x?.(v, { bannerType: "default" }),
|
|
4026
4025
|
storeId: O,
|
|
@@ -4044,7 +4043,7 @@ If you feel like trying something like this, join here:
|
|
|
4044
4043
|
}
|
|
4045
4044
|
),
|
|
4046
4045
|
/* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
4047
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
4046
|
+
/* @__PURE__ */ e.jsx("div", { ref: dt, children: /* @__PURE__ */ e.jsx(cn, { onShare: j, shareUserId: E }) }),
|
|
4048
4047
|
(oe || H) && /* @__PURE__ */ e.jsx(
|
|
4049
4048
|
"div",
|
|
4050
4049
|
{
|
|
@@ -4065,8 +4064,8 @@ If you feel like trying something like this, join here:
|
|
|
4065
4064
|
onCardClick: f,
|
|
4066
4065
|
onSwipe: g,
|
|
4067
4066
|
a4bApi: _,
|
|
4068
|
-
storeCardsPage:
|
|
4069
|
-
storeCardsHeaders:
|
|
4067
|
+
storeCardsPage: w,
|
|
4068
|
+
storeCardsHeaders: S,
|
|
4070
4069
|
storeCardsLimit: N,
|
|
4071
4070
|
onCardsResolved: X
|
|
4072
4071
|
}
|
|
@@ -4101,8 +4100,8 @@ If you feel like trying something like this, join here:
|
|
|
4101
4100
|
] }) : (
|
|
4102
4101
|
/* PORTRAIT: original stacked layout */
|
|
4103
4102
|
/* @__PURE__ */ e.jsx(e.Fragment, { children: d ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
4104
|
-
ye ? /* @__PURE__ */ e.jsx(
|
|
4105
|
-
|
|
4103
|
+
ye ? /* @__PURE__ */ e.jsx(Ct, {}) : /* @__PURE__ */ e.jsx(
|
|
4104
|
+
kt,
|
|
4106
4105
|
{
|
|
4107
4106
|
isGlobal: s,
|
|
4108
4107
|
isLandscape: se,
|
|
@@ -4110,44 +4109,44 @@ If you feel like trying something like this, join here:
|
|
|
4110
4109
|
offeringCards: ge,
|
|
4111
4110
|
pujaCard: Ne,
|
|
4112
4111
|
pujaCards: He,
|
|
4113
|
-
showPujaSlide:
|
|
4114
|
-
onOfferingClick:
|
|
4115
|
-
onPujaBannerClick:
|
|
4112
|
+
showPujaSlide: $t,
|
|
4113
|
+
onOfferingClick: Ut,
|
|
4114
|
+
onPujaBannerClick: Wt,
|
|
4116
4115
|
onPujaImpression: u,
|
|
4117
4116
|
onSwipe: de
|
|
4118
4117
|
}
|
|
4119
4118
|
),
|
|
4120
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
4119
|
+
/* @__PURE__ */ e.jsx("div", { className: h.stickyTabs, children: ye ? /* @__PURE__ */ e.jsx(hn, { tabCount: Y.length }) : /* @__PURE__ */ e.jsx(
|
|
4121
4120
|
rn,
|
|
4122
4121
|
{
|
|
4123
|
-
activeTab:
|
|
4124
|
-
onTabChange:
|
|
4125
|
-
onChatPress:
|
|
4122
|
+
activeTab: pt,
|
|
4123
|
+
onTabChange: vt,
|
|
4124
|
+
onChatPress: Mt,
|
|
4126
4125
|
showSubscription: V,
|
|
4127
4126
|
visibleTabs: Y,
|
|
4128
4127
|
isLive: K === "LIVE",
|
|
4129
4128
|
chatOpen: Me && te
|
|
4130
4129
|
}
|
|
4131
4130
|
) }),
|
|
4132
|
-
ye ? /* @__PURE__ */ e.jsx("div", { className:
|
|
4131
|
+
ye ? /* @__PURE__ */ e.jsx("div", { className: h.chat, children: /* @__PURE__ */ e.jsx(Tt, { message: "Preparing live experience..." }) }) : Me && te ? /* @__PURE__ */ e.jsxs(
|
|
4133
4132
|
"div",
|
|
4134
4133
|
{
|
|
4135
|
-
className:
|
|
4134
|
+
className: h.chat,
|
|
4136
4135
|
onPointerDown: xe,
|
|
4137
4136
|
onTouchStart: xe,
|
|
4138
4137
|
children: [
|
|
4139
|
-
|
|
4138
|
+
Ie && /* @__PURE__ */ e.jsx(Tt, { message: "Loading chat..." }),
|
|
4140
4139
|
/* @__PURE__ */ e.jsx(
|
|
4141
4140
|
"iframe",
|
|
4142
4141
|
{
|
|
4143
4142
|
src: tn,
|
|
4144
4143
|
title: "Live Chat",
|
|
4145
4144
|
frameBorder: "0",
|
|
4146
|
-
onLoad: () =>
|
|
4145
|
+
onLoad: () => gt(!1),
|
|
4147
4146
|
onFocus: xe,
|
|
4148
4147
|
referrerPolicy: "origin",
|
|
4149
|
-
className:
|
|
4150
|
-
style: { opacity:
|
|
4148
|
+
className: h.iframe,
|
|
4149
|
+
style: { opacity: Ie ? 0 : 1 }
|
|
4151
4150
|
}
|
|
4152
4151
|
)
|
|
4153
4152
|
]
|
|
@@ -4155,20 +4154,20 @@ If you feel like trying something like this, join here:
|
|
|
4155
4154
|
) : /* @__PURE__ */ e.jsxs(
|
|
4156
4155
|
"div",
|
|
4157
4156
|
{
|
|
4158
|
-
ref:
|
|
4159
|
-
className: $e ?
|
|
4157
|
+
ref: ft,
|
|
4158
|
+
className: $e ? h.sectionsFlow : h.sectionsScroll,
|
|
4160
4159
|
children: [
|
|
4161
|
-
/* @__PURE__ */ e.jsxs("div", { ref:
|
|
4160
|
+
/* @__PURE__ */ e.jsxs("div", { ref: It, children: [
|
|
4162
4161
|
/* @__PURE__ */ e.jsx(
|
|
4163
4162
|
on,
|
|
4164
4163
|
{
|
|
4165
4164
|
attendedDays: m,
|
|
4166
4165
|
currentDay: b,
|
|
4167
|
-
totalDays:
|
|
4166
|
+
totalDays: I,
|
|
4168
4167
|
isInactive: !l
|
|
4169
4168
|
}
|
|
4170
4169
|
),
|
|
4171
|
-
R && /* @__PURE__ */ e.jsxs("div", { ref:
|
|
4170
|
+
R && /* @__PURE__ */ e.jsxs("div", { ref: ht, children: [
|
|
4172
4171
|
/* @__PURE__ */ e.jsx(
|
|
4173
4172
|
ln,
|
|
4174
4173
|
{
|
|
@@ -4176,7 +4175,7 @@ If you feel like trying something like this, join here:
|
|
|
4176
4175
|
}
|
|
4177
4176
|
),
|
|
4178
4177
|
/* @__PURE__ */ e.jsx(
|
|
4179
|
-
|
|
4178
|
+
Vt,
|
|
4180
4179
|
{
|
|
4181
4180
|
onSubscribe: x,
|
|
4182
4181
|
storeId: O,
|
|
@@ -4200,7 +4199,7 @@ If you feel like trying something like this, join here:
|
|
|
4200
4199
|
}
|
|
4201
4200
|
),
|
|
4202
4201
|
/* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
4203
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
4202
|
+
/* @__PURE__ */ e.jsx("div", { ref: Je, children: /* @__PURE__ */ e.jsx(cn, { onShare: j, shareUserId: E }) }),
|
|
4204
4203
|
(oe || H) && /* @__PURE__ */ e.jsx(
|
|
4205
4204
|
"div",
|
|
4206
4205
|
{
|
|
@@ -4215,14 +4214,14 @@ If you feel like trying something like this, join here:
|
|
|
4215
4214
|
)
|
|
4216
4215
|
] }),
|
|
4217
4216
|
oe && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
4218
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
4217
|
+
/* @__PURE__ */ e.jsx("div", { ref: Dt, children: /* @__PURE__ */ e.jsx(
|
|
4219
4218
|
dn,
|
|
4220
4219
|
{
|
|
4221
4220
|
onCardClick: f,
|
|
4222
4221
|
onSwipe: g,
|
|
4223
4222
|
a4bApi: _,
|
|
4224
|
-
storeCardsPage:
|
|
4225
|
-
storeCardsHeaders:
|
|
4223
|
+
storeCardsPage: w,
|
|
4224
|
+
storeCardsHeaders: S,
|
|
4226
4225
|
storeCardsLimit: N,
|
|
4227
4226
|
onCardsResolved: X
|
|
4228
4227
|
}
|
|
@@ -4240,7 +4239,7 @@ If you feel like trying something like this, join here:
|
|
|
4240
4239
|
}
|
|
4241
4240
|
)
|
|
4242
4241
|
] }),
|
|
4243
|
-
H && /* @__PURE__ */ e.jsx("div", { ref:
|
|
4242
|
+
H && /* @__PURE__ */ e.jsx("div", { ref: ht, children: /* @__PURE__ */ e.jsx(
|
|
4244
4243
|
un,
|
|
4245
4244
|
{
|
|
4246
4245
|
subscription: ue,
|
|
@@ -4256,7 +4255,7 @@ If you feel like trying something like this, join here:
|
|
|
4256
4255
|
] }) : /* @__PURE__ */ e.jsx(
|
|
4257
4256
|
na,
|
|
4258
4257
|
{
|
|
4259
|
-
onJoinClick:
|
|
4258
|
+
onJoinClick: C,
|
|
4260
4259
|
onSectionImpression: ce,
|
|
4261
4260
|
onReviewsSwipe: (v) => de?.({ sectionName: "Reviews", elementPosition: v })
|
|
4262
4261
|
}
|
|
@@ -4265,7 +4264,7 @@ If you feel like trying something like this, join here:
|
|
|
4265
4264
|
/* @__PURE__ */ e.jsx(
|
|
4266
4265
|
Mn,
|
|
4267
4266
|
{
|
|
4268
|
-
open:
|
|
4267
|
+
open: At,
|
|
4269
4268
|
onClose: nn,
|
|
4270
4269
|
onVerifyWhatsapp: En
|
|
4271
4270
|
}
|
|
@@ -4277,34 +4276,34 @@ If you feel like trying something like this, join here:
|
|
|
4277
4276
|
stableStreamStatus: K,
|
|
4278
4277
|
daysRemaining: L,
|
|
4279
4278
|
isSubscribed: Le,
|
|
4280
|
-
onJoinClick:
|
|
4279
|
+
onJoinClick: C,
|
|
4281
4280
|
onHeaderJoinClick: A,
|
|
4282
4281
|
statusProbeId: Zt,
|
|
4283
4282
|
loggedOutVideoSrc: ua,
|
|
4284
4283
|
videoDlpStatus: da,
|
|
4285
|
-
onVideoAction:
|
|
4284
|
+
onVideoAction: D,
|
|
4286
4285
|
onSectionImpression: ce,
|
|
4287
4286
|
onCarouselSwipe: de
|
|
4288
4287
|
}
|
|
4289
4288
|
);
|
|
4290
4289
|
};
|
|
4291
|
-
function
|
|
4290
|
+
function Tt({
|
|
4292
4291
|
message: t,
|
|
4293
|
-
compact:
|
|
4292
|
+
compact: a = !1
|
|
4294
4293
|
}) {
|
|
4295
4294
|
return /* @__PURE__ */ e.jsxs(
|
|
4296
4295
|
"div",
|
|
4297
4296
|
{
|
|
4298
|
-
className: `${
|
|
4297
|
+
className: `${h.chatLoader} ${a ? h.chatLoaderCompact : ""}`,
|
|
4299
4298
|
children: [
|
|
4300
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
4301
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
4299
|
+
/* @__PURE__ */ e.jsx("div", { className: h.spinner }),
|
|
4300
|
+
/* @__PURE__ */ e.jsx("div", { className: h.chatLoaderText, children: t })
|
|
4302
4301
|
]
|
|
4303
4302
|
}
|
|
4304
4303
|
);
|
|
4305
4304
|
}
|
|
4306
4305
|
function hn({ tabCount: t }) {
|
|
4307
|
-
const
|
|
4306
|
+
const a = Math.max(1, t);
|
|
4308
4307
|
return /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root flex-1 min-w-0", "aria-hidden": "true", children: /* @__PURE__ */ e.jsxs(
|
|
4309
4308
|
"div",
|
|
4310
4309
|
{
|
|
@@ -4325,7 +4324,7 @@ function hn({ tabCount: t }) {
|
|
|
4325
4324
|
"aria-hidden": "true"
|
|
4326
4325
|
}
|
|
4327
4326
|
),
|
|
4328
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-[24px] flex-1", children: Array.from({ length:
|
|
4327
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-[24px] flex-1", children: Array.from({ length: a }).map((r, o) => /* @__PURE__ */ e.jsx(
|
|
4329
4328
|
"div",
|
|
4330
4329
|
{
|
|
4331
4330
|
className: "h-[16px] rounded",
|
|
@@ -4351,7 +4350,7 @@ function Gn({ compact: t = !1 }) {
|
|
|
4351
4350
|
background: "#fff"
|
|
4352
4351
|
},
|
|
4353
4352
|
children: /* @__PURE__ */ e.jsx(
|
|
4354
|
-
|
|
4353
|
+
Tt,
|
|
4355
4354
|
{
|
|
4356
4355
|
message: "Preparing live experience...",
|
|
4357
4356
|
compact: t
|
|
@@ -4360,7 +4359,7 @@ function Gn({ compact: t = !1 }) {
|
|
|
4360
4359
|
}
|
|
4361
4360
|
);
|
|
4362
4361
|
}
|
|
4363
|
-
function
|
|
4362
|
+
function Ct() {
|
|
4364
4363
|
return /* @__PURE__ */ e.jsxs(
|
|
4365
4364
|
"div",
|
|
4366
4365
|
{
|
|
@@ -4376,43 +4375,43 @@ function kt() {
|
|
|
4376
4375
|
"aria-live": "polite",
|
|
4377
4376
|
"aria-busy": "true",
|
|
4378
4377
|
children: [
|
|
4379
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
4380
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
4378
|
+
/* @__PURE__ */ e.jsx("div", { className: h.spinner }),
|
|
4379
|
+
/* @__PURE__ */ e.jsx("span", { className: h.chatLoaderText, children: "Loading offerings..." })
|
|
4381
4380
|
]
|
|
4382
4381
|
}
|
|
4383
4382
|
);
|
|
4384
4383
|
}
|
|
4385
|
-
function
|
|
4384
|
+
function kt({
|
|
4386
4385
|
isGlobal: t,
|
|
4387
|
-
isLandscape:
|
|
4386
|
+
isLandscape: a,
|
|
4388
4387
|
videoId: r,
|
|
4389
4388
|
offeringCards: o,
|
|
4390
4389
|
pujaCard: s,
|
|
4391
4390
|
pujaCards: c,
|
|
4392
4391
|
showPujaSlide: u,
|
|
4393
4392
|
onOfferingClick: i,
|
|
4394
|
-
onPujaBannerClick:
|
|
4395
|
-
onPujaImpression:
|
|
4393
|
+
onPujaBannerClick: p,
|
|
4394
|
+
onPujaImpression: k,
|
|
4396
4395
|
onSwipe: d
|
|
4397
4396
|
}) {
|
|
4398
|
-
const f = M(!1), [g, y] = T(0), _ = M(null),
|
|
4397
|
+
const f = M(!1), [g, y] = T(0), _ = M(null), w = M(0), S = M(0), N = M(!1), j = c.length ? c : s ? [s] : [], E = !u, $ = j.map((D, U) => ({
|
|
4399
4398
|
type: "puja",
|
|
4400
|
-
card:
|
|
4401
|
-
key: `puja-${
|
|
4402
|
-
})), x = o.length > 0,
|
|
4403
|
-
if (
|
|
4399
|
+
card: D,
|
|
4400
|
+
key: `puja-${D.id}-${U}`
|
|
4401
|
+
})), x = o.length > 0, C = t ? E ? x ? [{ type: "chadhava" }] : [] : $ : E && x ? [{ type: "chadhava" }, ...$] : $, A = C.length, G = A > 1;
|
|
4402
|
+
if (P(() => {
|
|
4404
4403
|
if (E) return;
|
|
4405
|
-
const
|
|
4406
|
-
if (!
|
|
4404
|
+
const D = C[g];
|
|
4405
|
+
if (!D || f.current) return;
|
|
4407
4406
|
const U = o[0];
|
|
4408
|
-
|
|
4409
|
-
orientation:
|
|
4410
|
-
amount:
|
|
4411
|
-
skuName:
|
|
4412
|
-
featureServiceType:
|
|
4407
|
+
k?.({
|
|
4408
|
+
orientation: a ? "horizontal" : "vertical",
|
|
4409
|
+
amount: D.type === "chadhava" && typeof U?.price == "number" ? U.price : void 0,
|
|
4410
|
+
skuName: D.type === "chadhava" ? U?.name : D.card?.title,
|
|
4411
|
+
featureServiceType: D.type === "chadhava" ? "Live offering" : "Puja",
|
|
4413
4412
|
countOfOfferingSku: o.length || void 0
|
|
4414
4413
|
}), f.current = !0;
|
|
4415
|
-
}, [g,
|
|
4414
|
+
}, [g, a, E, o, k, C]), P(() => {
|
|
4416
4415
|
y(0), _.current && (_.current.style.transition = "none", _.current.style.transform = "translateX(0%)");
|
|
4417
4416
|
}, [E]), E)
|
|
4418
4417
|
return x ? /* @__PURE__ */ e.jsx(
|
|
@@ -4425,22 +4424,22 @@ function Tt({
|
|
|
4425
4424
|
) : null;
|
|
4426
4425
|
if (A === 0)
|
|
4427
4426
|
return null;
|
|
4428
|
-
const Q = (
|
|
4429
|
-
const U = Math.max(0, Math.min(
|
|
4427
|
+
const Q = (D) => {
|
|
4428
|
+
const U = Math.max(0, Math.min(D, A - 1));
|
|
4430
4429
|
U !== g && d?.({ sectionName: "Carousal", elementPosition: U + 1 }), y(U), _.current && (_.current.style.transition = "transform 0.3s ease", _.current.style.transform = `translateX(-${U * (100 / A)}%)`);
|
|
4431
|
-
}, ce = (
|
|
4432
|
-
N.current = !0,
|
|
4433
|
-
}, Se = (
|
|
4434
|
-
if (N.current && (
|
|
4435
|
-
const U = 100 / A, O = -g * U, J = _.current.clientWidth || 1, ae =
|
|
4430
|
+
}, ce = (D) => {
|
|
4431
|
+
N.current = !0, w.current = D.touches[0].clientX, S.current = 0, _.current && (_.current.style.transition = "none");
|
|
4432
|
+
}, Se = (D) => {
|
|
4433
|
+
if (N.current && (S.current = D.touches[0].clientX - w.current, _.current)) {
|
|
4434
|
+
const U = 100 / A, O = -g * U, J = _.current.clientWidth || 1, ae = S.current / J * 100;
|
|
4436
4435
|
_.current.style.transform = `translateX(${O + ae}%)`;
|
|
4437
4436
|
}
|
|
4438
4437
|
}, de = () => {
|
|
4439
4438
|
N.current = !1;
|
|
4440
|
-
const
|
|
4441
|
-
|
|
4439
|
+
const D = 50;
|
|
4440
|
+
S.current < -D && g < A - 1 ? Q(g + 1) : S.current > D && g > 0 ? Q(g - 1) : Q(g);
|
|
4442
4441
|
};
|
|
4443
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
4442
|
+
return /* @__PURE__ */ e.jsxs("div", { className: h.carousel, children: [
|
|
4444
4443
|
/* @__PURE__ */ e.jsx(
|
|
4445
4444
|
"div",
|
|
4446
4445
|
{
|
|
@@ -4458,11 +4457,11 @@ function Tt({
|
|
|
4458
4457
|
transform: `translateX(-${g * (100 / A)}%)`,
|
|
4459
4458
|
transition: "transform 0.3s ease"
|
|
4460
4459
|
},
|
|
4461
|
-
children:
|
|
4460
|
+
children: C.map((D, U) => /* @__PURE__ */ e.jsx(
|
|
4462
4461
|
"div",
|
|
4463
4462
|
{
|
|
4464
4463
|
style: { width: `${100 / A}%`, flexShrink: 0 },
|
|
4465
|
-
children:
|
|
4464
|
+
children: D.type === "chadhava" ? /* @__PURE__ */ e.jsx(
|
|
4466
4465
|
Jn,
|
|
4467
4466
|
{
|
|
4468
4467
|
videoId: r,
|
|
@@ -4472,26 +4471,26 @@ function Tt({
|
|
|
4472
4471
|
) : /* @__PURE__ */ e.jsx(
|
|
4473
4472
|
sl,
|
|
4474
4473
|
{
|
|
4475
|
-
isLandscape:
|
|
4476
|
-
pujaCard:
|
|
4477
|
-
onOfferingClick: () =>
|
|
4478
|
-
card:
|
|
4474
|
+
isLandscape: a,
|
|
4475
|
+
pujaCard: D.card,
|
|
4476
|
+
onOfferingClick: () => p?.({
|
|
4477
|
+
card: D.card,
|
|
4479
4478
|
elementPosition: U + 1
|
|
4480
4479
|
})
|
|
4481
4480
|
}
|
|
4482
4481
|
)
|
|
4483
4482
|
},
|
|
4484
|
-
|
|
4483
|
+
D.type === "chadhava" ? "chadhava" : D.key
|
|
4485
4484
|
))
|
|
4486
4485
|
}
|
|
4487
4486
|
)
|
|
4488
4487
|
}
|
|
4489
4488
|
),
|
|
4490
|
-
G && /* @__PURE__ */ e.jsx("div", { className:
|
|
4489
|
+
G && /* @__PURE__ */ e.jsx("div", { className: h.carouselDots, children: C.map((D, U) => /* @__PURE__ */ e.jsx(
|
|
4491
4490
|
"button",
|
|
4492
4491
|
{
|
|
4493
4492
|
type: "button",
|
|
4494
|
-
className: `${
|
|
4493
|
+
className: `${h.dot} ${U === g ? h.dotActive : ""}`,
|
|
4495
4494
|
"aria-label": `Slide ${U + 1}`,
|
|
4496
4495
|
onClick: () => Q(U)
|
|
4497
4496
|
},
|
|
@@ -4501,15 +4500,15 @@ function Tt({
|
|
|
4501
4500
|
}
|
|
4502
4501
|
function Jn({
|
|
4503
4502
|
videoId: t,
|
|
4504
|
-
offeringCards:
|
|
4503
|
+
offeringCards: a,
|
|
4505
4504
|
onOfferingClick: r
|
|
4506
4505
|
}) {
|
|
4507
|
-
const [o, s] = T(!1), [c, u] = T(""), [i,
|
|
4506
|
+
const [o, s] = T(!1), [c, u] = T(""), [i, p] = T(null), [k, d] = T(null), [f, g] = T(!1), y = M(!1), _ = (x, C) => {
|
|
4508
4507
|
if (!x || typeof window > "u")
|
|
4509
4508
|
return !1;
|
|
4510
4509
|
try {
|
|
4511
4510
|
const A = new URL(x, window.location.origin);
|
|
4512
|
-
return
|
|
4511
|
+
return C && Object.entries(C).forEach(([G, Q]) => {
|
|
4513
4512
|
Q && A.searchParams.set(G, Q);
|
|
4514
4513
|
}), window.location.href = A.toString(), !0;
|
|
4515
4514
|
} catch {
|
|
@@ -4519,39 +4518,39 @@ function Jn({
|
|
|
4519
4518
|
return !1;
|
|
4520
4519
|
}
|
|
4521
4520
|
}
|
|
4522
|
-
},
|
|
4521
|
+
}, w = async (x, C) => {
|
|
4523
4522
|
if (r)
|
|
4524
4523
|
try {
|
|
4525
4524
|
await r({
|
|
4526
4525
|
...x,
|
|
4527
|
-
elementPosition:
|
|
4528
|
-
countOfOfferingSku:
|
|
4526
|
+
elementPosition: C,
|
|
4527
|
+
countOfOfferingSku: a.length || void 0
|
|
4529
4528
|
});
|
|
4530
4529
|
} catch (A) {
|
|
4531
4530
|
console.error("Offering click handler failed:", A);
|
|
4532
4531
|
}
|
|
4533
4532
|
_(x.deeplink);
|
|
4534
|
-
},
|
|
4535
|
-
if (
|
|
4533
|
+
}, S = async (x, C) => {
|
|
4534
|
+
if (p(x), d(C ?? null), u(x.price ? String(x.price) : ""), y.current = !1, s(!0), !!r)
|
|
4536
4535
|
try {
|
|
4537
4536
|
await r({
|
|
4538
4537
|
...x,
|
|
4539
4538
|
sku_name: "Custom",
|
|
4540
|
-
elementPosition:
|
|
4541
|
-
countOfOfferingSku:
|
|
4539
|
+
elementPosition: C,
|
|
4540
|
+
countOfOfferingSku: a.length || void 0,
|
|
4542
4541
|
analyticsAction: "custom_open"
|
|
4543
4542
|
});
|
|
4544
4543
|
} catch (A) {
|
|
4545
4544
|
console.error("Custom amount open handler failed:", A);
|
|
4546
4545
|
}
|
|
4547
4546
|
}, N = () => {
|
|
4548
|
-
s(!1),
|
|
4549
|
-
}, j = async (x,
|
|
4547
|
+
s(!1), p(null), d(null), u("");
|
|
4548
|
+
}, j = async (x, C) => {
|
|
4550
4549
|
if (x.isCustom) {
|
|
4551
|
-
await
|
|
4550
|
+
await S(x, C);
|
|
4552
4551
|
return;
|
|
4553
4552
|
}
|
|
4554
|
-
await
|
|
4553
|
+
await w(x, C);
|
|
4555
4554
|
}, E = async () => {
|
|
4556
4555
|
if (!(!i || y.current) && (y.current = !0, !!r))
|
|
4557
4556
|
try {
|
|
@@ -4559,8 +4558,8 @@ function Jn({
|
|
|
4559
4558
|
...i,
|
|
4560
4559
|
sku_name: "Custom",
|
|
4561
4560
|
customAmount: Number(c) || void 0,
|
|
4562
|
-
elementPosition:
|
|
4563
|
-
countOfOfferingSku:
|
|
4561
|
+
elementPosition: k,
|
|
4562
|
+
countOfOfferingSku: a.length || void 0,
|
|
4564
4563
|
analyticsAction: "custom_keyboard_impression"
|
|
4565
4564
|
});
|
|
4566
4565
|
} catch (x) {
|
|
@@ -4578,13 +4577,13 @@ function Jn({
|
|
|
4578
4577
|
price: x,
|
|
4579
4578
|
customAmount: x,
|
|
4580
4579
|
amount: x,
|
|
4581
|
-
elementPosition:
|
|
4582
|
-
countOfOfferingSku:
|
|
4580
|
+
elementPosition: k,
|
|
4581
|
+
countOfOfferingSku: a.length || void 0,
|
|
4583
4582
|
analyticsAction: "custom_continue",
|
|
4584
4583
|
analyticsSectionName: "custom amount"
|
|
4585
4584
|
});
|
|
4586
|
-
} catch (
|
|
4587
|
-
console.error("Custom continue analytics handler failed :",
|
|
4585
|
+
} catch (C) {
|
|
4586
|
+
console.error("Custom continue analytics handler failed :", C);
|
|
4588
4587
|
}
|
|
4589
4588
|
if (_(i.deeplink, {
|
|
4590
4589
|
video_id: t,
|
|
@@ -4600,21 +4599,21 @@ function Jn({
|
|
|
4600
4599
|
price: x,
|
|
4601
4600
|
customAmount: x
|
|
4602
4601
|
}), N();
|
|
4603
|
-
} catch (
|
|
4604
|
-
console.error("Custom offering click handler failed:",
|
|
4602
|
+
} catch (C) {
|
|
4603
|
+
console.error("Custom offering click handler failed:", C);
|
|
4605
4604
|
} finally {
|
|
4606
4605
|
g(!1);
|
|
4607
4606
|
}
|
|
4608
4607
|
}
|
|
4609
4608
|
};
|
|
4610
4609
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
4611
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
4612
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
4613
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
4610
|
+
/* @__PURE__ */ e.jsx("div", { className: h.banner, children: /* @__PURE__ */ e.jsxs("div", { className: h.bannerCard, children: [
|
|
4611
|
+
/* @__PURE__ */ e.jsx("p", { className: h.landscapeHeader, children: "Pandit Ji invited to make offering to this Puja" }),
|
|
4612
|
+
/* @__PURE__ */ e.jsx("div", { className: h.landscapeScroll, children: a.map((x, C) => /* @__PURE__ */ e.jsx(
|
|
4614
4613
|
il,
|
|
4615
4614
|
{
|
|
4616
4615
|
item: x,
|
|
4617
|
-
onClick: () => j(x,
|
|
4616
|
+
onClick: () => j(x, C + 1)
|
|
4618
4617
|
},
|
|
4619
4618
|
x.id
|
|
4620
4619
|
)) })
|
|
@@ -4635,7 +4634,7 @@ function Jn({
|
|
|
4635
4634
|
}
|
|
4636
4635
|
function rl({
|
|
4637
4636
|
open: t,
|
|
4638
|
-
amount:
|
|
4637
|
+
amount: a,
|
|
4639
4638
|
onAmountChange: r,
|
|
4640
4639
|
onAmountFocus: o,
|
|
4641
4640
|
onClose: s,
|
|
@@ -4643,16 +4642,16 @@ function rl({
|
|
|
4643
4642
|
disabled: u
|
|
4644
4643
|
}) {
|
|
4645
4644
|
return t ? ma(
|
|
4646
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
4645
|
+
/* @__PURE__ */ e.jsx("div", { className: h.customSheetOverlay, onClick: s, children: /* @__PURE__ */ e.jsxs(
|
|
4647
4646
|
"div",
|
|
4648
4647
|
{
|
|
4649
|
-
className:
|
|
4648
|
+
className: h.customSheet,
|
|
4650
4649
|
onClick: (i) => i.stopPropagation(),
|
|
4651
4650
|
children: [
|
|
4652
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
4653
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
4654
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
4655
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
4651
|
+
/* @__PURE__ */ e.jsx("p", { className: h.customSheetTitle, children: "Enter Amount" }),
|
|
4652
|
+
/* @__PURE__ */ e.jsxs("div", { className: h.customSheetRow, children: [
|
|
4653
|
+
/* @__PURE__ */ e.jsxs("div", { className: h.customInputWrap, children: [
|
|
4654
|
+
/* @__PURE__ */ e.jsx("span", { className: h.currencySymbol, children: "₹" }),
|
|
4656
4655
|
/* @__PURE__ */ e.jsx(
|
|
4657
4656
|
"input",
|
|
4658
4657
|
{
|
|
@@ -4660,10 +4659,10 @@ function rl({
|
|
|
4660
4659
|
type: "text",
|
|
4661
4660
|
inputMode: "numeric",
|
|
4662
4661
|
pattern: "[0-9]*",
|
|
4663
|
-
value:
|
|
4662
|
+
value: a,
|
|
4664
4663
|
onChange: (i) => r(i.target.value),
|
|
4665
4664
|
onFocus: () => o?.(),
|
|
4666
|
-
className:
|
|
4665
|
+
className: h.customInput,
|
|
4667
4666
|
"aria-label": "Custom offering amount"
|
|
4668
4667
|
}
|
|
4669
4668
|
)
|
|
@@ -4672,7 +4671,7 @@ function rl({
|
|
|
4672
4671
|
"button",
|
|
4673
4672
|
{
|
|
4674
4673
|
type: "button",
|
|
4675
|
-
className:
|
|
4674
|
+
className: h.customContinueBtn,
|
|
4676
4675
|
onClick: c,
|
|
4677
4676
|
disabled: u,
|
|
4678
4677
|
children: "Continue"
|
|
@@ -4687,14 +4686,14 @@ function rl({
|
|
|
4687
4686
|
}
|
|
4688
4687
|
function sl({
|
|
4689
4688
|
isLandscape: t,
|
|
4690
|
-
pujaCard:
|
|
4689
|
+
pujaCard: a,
|
|
4691
4690
|
onOfferingClick: r
|
|
4692
4691
|
}) {
|
|
4693
|
-
return /* @__PURE__ */ e.jsx("div", { className:
|
|
4692
|
+
return /* @__PURE__ */ e.jsx("div", { className: h.pujaBanner, children: /* @__PURE__ */ e.jsx("div", { className: h.pujaWrapperVertical, children: /* @__PURE__ */ e.jsx(
|
|
4694
4693
|
ol,
|
|
4695
4694
|
{
|
|
4696
4695
|
isLandscape: t,
|
|
4697
|
-
pujaCard:
|
|
4696
|
+
pujaCard: a,
|
|
4698
4697
|
onClick: r
|
|
4699
4698
|
}
|
|
4700
4699
|
) }) });
|
|
@@ -4705,46 +4704,46 @@ function Kn() {
|
|
|
4705
4704
|
{
|
|
4706
4705
|
src: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
4707
4706
|
alt: "Date",
|
|
4708
|
-
className:
|
|
4707
|
+
className: h.dateIcon
|
|
4709
4708
|
}
|
|
4710
4709
|
);
|
|
4711
4710
|
}
|
|
4712
4711
|
function ol({
|
|
4713
4712
|
isLandscape: t,
|
|
4714
|
-
pujaCard:
|
|
4713
|
+
pujaCard: a,
|
|
4715
4714
|
onClick: r
|
|
4716
4715
|
}) {
|
|
4717
4716
|
return t ? /* @__PURE__ */ e.jsxs(
|
|
4718
4717
|
"div",
|
|
4719
4718
|
{
|
|
4720
4719
|
onClick: r,
|
|
4721
|
-
className:
|
|
4720
|
+
className: h.pujaCardHorizontal,
|
|
4722
4721
|
style: { cursor: r ? "pointer" : "default" },
|
|
4723
4722
|
children: [
|
|
4724
4723
|
/* @__PURE__ */ e.jsx(
|
|
4725
4724
|
"img",
|
|
4726
4725
|
{
|
|
4727
|
-
src:
|
|
4728
|
-
className:
|
|
4729
|
-
alt:
|
|
4726
|
+
src: a.imageUrl || Ee.imageUrl,
|
|
4727
|
+
className: h.pujaImageHorizontal,
|
|
4728
|
+
alt: a.title
|
|
4730
4729
|
}
|
|
4731
4730
|
),
|
|
4732
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
4733
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
4734
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
4731
|
+
/* @__PURE__ */ e.jsxs("div", { className: h.pujaContentHorizontal, children: [
|
|
4732
|
+
/* @__PURE__ */ e.jsx("p", { className: h.pujaTitleHorizontal, children: a.title }),
|
|
4733
|
+
/* @__PURE__ */ e.jsxs("p", { className: h.pujaSubHorizontal, children: [
|
|
4735
4734
|
/* @__PURE__ */ e.jsx("span", { children: /* @__PURE__ */ e.jsx(
|
|
4736
4735
|
"img",
|
|
4737
4736
|
{
|
|
4738
4737
|
src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg",
|
|
4739
4738
|
alt: "Location",
|
|
4740
|
-
className:
|
|
4739
|
+
className: h.locationIcon
|
|
4741
4740
|
}
|
|
4742
4741
|
) }),
|
|
4743
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
4742
|
+
/* @__PURE__ */ e.jsx("span", { className: h.pujaMetaText, children: a.location })
|
|
4744
4743
|
] }),
|
|
4745
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
4744
|
+
/* @__PURE__ */ e.jsxs("p", { className: h.pujaSubHorizontal, children: [
|
|
4746
4745
|
/* @__PURE__ */ e.jsx(Kn, {}),
|
|
4747
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
4746
|
+
/* @__PURE__ */ e.jsx("span", { className: h.pujaMetaText, children: a.date })
|
|
4748
4747
|
] })
|
|
4749
4748
|
] })
|
|
4750
4749
|
]
|
|
@@ -4753,33 +4752,33 @@ function ol({
|
|
|
4753
4752
|
"div",
|
|
4754
4753
|
{
|
|
4755
4754
|
onClick: r,
|
|
4756
|
-
className:
|
|
4755
|
+
className: h.pujaCardVertical,
|
|
4757
4756
|
style: { cursor: r ? "pointer" : "default" },
|
|
4758
4757
|
children: [
|
|
4759
4758
|
/* @__PURE__ */ e.jsx(
|
|
4760
4759
|
"img",
|
|
4761
4760
|
{
|
|
4762
|
-
src:
|
|
4763
|
-
className:
|
|
4764
|
-
alt:
|
|
4761
|
+
src: a.imageUrl || Ee.imageUrl,
|
|
4762
|
+
className: h.pujaImage,
|
|
4763
|
+
alt: a.title
|
|
4765
4764
|
}
|
|
4766
4765
|
),
|
|
4767
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
4768
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
4769
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
4766
|
+
/* @__PURE__ */ e.jsxs("div", { className: h.pujaContent, children: [
|
|
4767
|
+
/* @__PURE__ */ e.jsx("p", { className: h.pujaTitle, children: a.title }),
|
|
4768
|
+
/* @__PURE__ */ e.jsxs("p", { className: h.pujaSub, children: [
|
|
4770
4769
|
/* @__PURE__ */ e.jsx(
|
|
4771
4770
|
"img",
|
|
4772
4771
|
{
|
|
4773
4772
|
src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg",
|
|
4774
4773
|
alt: "Location",
|
|
4775
|
-
className:
|
|
4774
|
+
className: h.locationIcon
|
|
4776
4775
|
}
|
|
4777
4776
|
),
|
|
4778
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
4777
|
+
/* @__PURE__ */ e.jsx("span", { className: h.pujaMetaText, children: a.location })
|
|
4779
4778
|
] }),
|
|
4780
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
4779
|
+
/* @__PURE__ */ e.jsxs("p", { className: h.pujaTrustmakers, children: [
|
|
4781
4780
|
/* @__PURE__ */ e.jsx(Kn, {}),
|
|
4782
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
4781
|
+
/* @__PURE__ */ e.jsx("span", { className: h.pujaMetaText, children: a.date })
|
|
4783
4782
|
] })
|
|
4784
4783
|
] })
|
|
4785
4784
|
]
|
|
@@ -4788,16 +4787,16 @@ function ol({
|
|
|
4788
4787
|
}
|
|
4789
4788
|
function il({
|
|
4790
4789
|
item: t,
|
|
4791
|
-
onClick:
|
|
4790
|
+
onClick: a
|
|
4792
4791
|
}) {
|
|
4793
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
4794
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
4792
|
+
return /* @__PURE__ */ e.jsxs("div", { className: h.landscapeCard, onClick: a, children: [
|
|
4793
|
+
/* @__PURE__ */ e.jsxs("div", { className: h.landscapeImageWrapper, children: [
|
|
4795
4794
|
/* @__PURE__ */ e.jsx(
|
|
4796
4795
|
"img",
|
|
4797
4796
|
{
|
|
4798
4797
|
src: t.image_url,
|
|
4799
4798
|
alt: t.name,
|
|
4800
|
-
className:
|
|
4799
|
+
className: h.landscapeImage
|
|
4801
4800
|
}
|
|
4802
4801
|
),
|
|
4803
4802
|
/* @__PURE__ */ e.jsx(
|
|
@@ -4805,18 +4804,18 @@ function il({
|
|
|
4805
4804
|
{
|
|
4806
4805
|
src: "https://srm-cdn.a4b.io/yoda/1776345059010.svg",
|
|
4807
4806
|
alt: "",
|
|
4808
|
-
className:
|
|
4807
|
+
className: h.landscapeAdd,
|
|
4809
4808
|
"aria-hidden": "true"
|
|
4810
4809
|
}
|
|
4811
4810
|
)
|
|
4812
4811
|
] }),
|
|
4813
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
4814
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
4815
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
4812
|
+
/* @__PURE__ */ e.jsxs("div", { className: h.landscapeContent, children: [
|
|
4813
|
+
/* @__PURE__ */ e.jsx("p", { className: h.landscapeTitle, children: t.name }),
|
|
4814
|
+
/* @__PURE__ */ e.jsx("div", { className: h.landscapePriceRow, children: /* @__PURE__ */ e.jsx("span", { className: h.landscapePrice, children: t.price === null ? "₹" : `₹${t.price}` }) })
|
|
4816
4815
|
] })
|
|
4817
4816
|
] });
|
|
4818
4817
|
}
|
|
4819
|
-
const Xn = "hanuman-live-sindoor", Zn = "hanuman-live-peda", Qn = "hanuman-live-sindoor-peda",
|
|
4818
|
+
const Xn = "hanuman-live-sindoor", Zn = "hanuman-live-peda", Qn = "hanuman-live-sindoor-peda", rt = {
|
|
4820
4819
|
sindoor: "https://rzp.io/rzp/Pb7xgDj",
|
|
4821
4820
|
peda: "https://rzp.io/rzp/LfL86khp",
|
|
4822
4821
|
sindoorPeda: "https://rzp.io/rzp/NM9b4lx"
|
|
@@ -4828,14 +4827,14 @@ const Xn = "hanuman-live-sindoor", Zn = "hanuman-live-peda", Qn = "hanuman-live-
|
|
|
4828
4827
|
inventory_id: Xn,
|
|
4829
4828
|
name: "Sindoor",
|
|
4830
4829
|
price: 51,
|
|
4831
|
-
razorpay_link:
|
|
4830
|
+
razorpay_link: rt.sindoor,
|
|
4832
4831
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
4833
4832
|
},
|
|
4834
4833
|
{
|
|
4835
4834
|
inventory_id: Zn,
|
|
4836
4835
|
name: "Peda",
|
|
4837
4836
|
price: 101,
|
|
4838
|
-
razorpay_link:
|
|
4837
|
+
razorpay_link: rt.peda,
|
|
4839
4838
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
4840
4839
|
},
|
|
4841
4840
|
{
|
|
@@ -4844,7 +4843,7 @@ const Xn = "hanuman-live-sindoor", Zn = "hanuman-live-peda", Qn = "hanuman-live-
|
|
|
4844
4843
|
price: 121,
|
|
4845
4844
|
original_price: "101 + 51",
|
|
4846
4845
|
discount: "20%",
|
|
4847
|
-
razorpay_link:
|
|
4846
|
+
razorpay_link: rt.sindoorPeda,
|
|
4848
4847
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866992046.png"
|
|
4849
4848
|
}
|
|
4850
4849
|
]
|
|
@@ -4856,14 +4855,14 @@ const Xn = "hanuman-live-sindoor", Zn = "hanuman-live-peda", Qn = "hanuman-live-
|
|
|
4856
4855
|
inventory_id: Xn,
|
|
4857
4856
|
name: "Sindoor",
|
|
4858
4857
|
price: 51,
|
|
4859
|
-
razorpay_link:
|
|
4858
|
+
razorpay_link: rt.sindoor,
|
|
4860
4859
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866984116.png"
|
|
4861
4860
|
},
|
|
4862
4861
|
{
|
|
4863
4862
|
inventory_id: Zn,
|
|
4864
4863
|
name: "Peda",
|
|
4865
4864
|
price: 101,
|
|
4866
|
-
razorpay_link:
|
|
4865
|
+
razorpay_link: rt.peda,
|
|
4867
4866
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
4868
4867
|
},
|
|
4869
4868
|
{
|
|
@@ -4871,7 +4870,7 @@ const Xn = "hanuman-live-sindoor", Zn = "hanuman-live-peda", Qn = "hanuman-live-
|
|
|
4871
4870
|
name: "Sindoor + Peda",
|
|
4872
4871
|
price: 121,
|
|
4873
4872
|
discount: "20%",
|
|
4874
|
-
razorpay_link:
|
|
4873
|
+
razorpay_link: rt.sindoorPeda,
|
|
4875
4874
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866992046.png"
|
|
4876
4875
|
}
|
|
4877
4876
|
]
|
|
@@ -4887,10 +4886,10 @@ export {
|
|
|
4887
4886
|
cn as ShareSection,
|
|
4888
4887
|
dn as StoreSection,
|
|
4889
4888
|
on as StreakSection,
|
|
4890
|
-
|
|
4889
|
+
Vt as SubscriptionSection,
|
|
4891
4890
|
pl as SuccessPage,
|
|
4892
4891
|
hl as VideoPage,
|
|
4893
|
-
|
|
4894
|
-
|
|
4892
|
+
Pr as useAppContext,
|
|
4893
|
+
Dr as useI18n
|
|
4895
4894
|
};
|
|
4896
4895
|
//# sourceMappingURL=daily-live-puja.js.map
|