@srimandir/daily-live-puja 1.5.1 → 1.5.2
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 +1231 -1196
- package/dist/daily-live-puja.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/daily-live-puja.js
CHANGED
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
function
|
|
5
|
-
if (
|
|
6
|
-
|
|
7
|
-
var a =
|
|
8
|
-
function r(
|
|
9
|
-
var u, g = {},
|
|
10
|
-
|
|
11
|
-
for (u in
|
|
12
|
-
if (
|
|
13
|
-
return { $$typeof: n, type:
|
|
1
|
+
import We, { useContext as ia, createContext as oa, useState as S, useEffect as B, useRef as F, useCallback as ct, useMemo as jt, useId as xa } from "react";
|
|
2
|
+
var yt = { exports: {} }, nt = {};
|
|
3
|
+
var Dt;
|
|
4
|
+
function ga() {
|
|
5
|
+
if (Dt) return nt;
|
|
6
|
+
Dt = 1;
|
|
7
|
+
var a = We, n = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
8
|
+
function r(h, d, k) {
|
|
9
|
+
var u, g = {}, p = null, v = null;
|
|
10
|
+
k !== void 0 && (p = "" + k), d.key !== void 0 && (p = "" + d.key), d.ref !== void 0 && (v = d.ref);
|
|
11
|
+
for (u in d) o.call(d, u) && !m.hasOwnProperty(u) && (g[u] = d[u]);
|
|
12
|
+
if (h && h.defaultProps) for (u in d = h.defaultProps, d) g[u] === void 0 && (g[u] = d[u]);
|
|
13
|
+
return { $$typeof: n, type: h, key: p, ref: v, props: g, _owner: i.current };
|
|
14
14
|
}
|
|
15
|
-
return
|
|
15
|
+
return nt.Fragment = s, nt.jsx = r, nt.jsxs = r, nt;
|
|
16
16
|
}
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
function
|
|
20
|
-
return
|
|
21
|
-
var a =
|
|
17
|
+
var st = {};
|
|
18
|
+
var At;
|
|
19
|
+
function _a() {
|
|
20
|
+
return At || (At = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
21
|
+
var a = We, n = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), o = /* @__PURE__ */ Symbol.for("react.fragment"), i = /* @__PURE__ */ Symbol.for("react.strict_mode"), m = /* @__PURE__ */ Symbol.for("react.profiler"), r = /* @__PURE__ */ Symbol.for("react.provider"), h = /* @__PURE__ */ Symbol.for("react.context"), d = /* @__PURE__ */ Symbol.for("react.forward_ref"), k = /* @__PURE__ */ Symbol.for("react.suspense"), u = /* @__PURE__ */ Symbol.for("react.suspense_list"), g = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), v = /* @__PURE__ */ Symbol.for("react.offscreen"), j = Symbol.iterator, N = "@@iterator";
|
|
22
22
|
function _(t) {
|
|
23
23
|
if (t === null || typeof t != "object")
|
|
24
24
|
return null;
|
|
25
|
-
var l =
|
|
25
|
+
var l = j && t[j] || t[N];
|
|
26
26
|
return typeof l == "function" ? l : null;
|
|
27
27
|
}
|
|
28
28
|
var C = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
29
|
-
function
|
|
29
|
+
function b(t) {
|
|
30
30
|
{
|
|
31
|
-
for (var l = arguments.length,
|
|
32
|
-
|
|
33
|
-
O("error", t,
|
|
31
|
+
for (var l = arguments.length, x = new Array(l > 1 ? l - 1 : 0), y = 1; y < l; y++)
|
|
32
|
+
x[y - 1] = arguments[y];
|
|
33
|
+
O("error", t, x);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
function O(t, l,
|
|
36
|
+
function O(t, l, x) {
|
|
37
37
|
{
|
|
38
|
-
var
|
|
39
|
-
L !== "" && (l += "%s",
|
|
40
|
-
var A =
|
|
38
|
+
var y = C.ReactDebugCurrentFrame, L = y.getStackAddendum();
|
|
39
|
+
L !== "" && (l += "%s", x = x.concat([L]));
|
|
40
|
+
var A = x.map(function(R) {
|
|
41
41
|
return String(R);
|
|
42
42
|
});
|
|
43
43
|
A.unshift("Warning: " + l), Function.prototype.apply.call(console[t], console, A);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
var
|
|
46
|
+
var V = !1, w = !1, G = !1, Z = !1, I = !1, D;
|
|
47
47
|
D = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
48
|
-
function
|
|
49
|
-
return !!(typeof t == "string" || typeof t == "function" || t ===
|
|
48
|
+
function Y(t) {
|
|
49
|
+
return !!(typeof t == "string" || typeof t == "function" || t === o || t === m || I || t === i || t === k || t === u || Z || t === v || V || w || G || typeof t == "object" && t !== null && (t.$$typeof === p || t.$$typeof === g || t.$$typeof === r || t.$$typeof === h || t.$$typeof === d || // This needs to include all possible module reference object
|
|
50
50
|
// types supported by any Flight configuration anywhere since
|
|
51
51
|
// we don't know which Flight build this will end up being used
|
|
52
52
|
// with.
|
|
53
53
|
t.$$typeof === D || t.getModuleId !== void 0));
|
|
54
54
|
}
|
|
55
|
-
function le(t, l,
|
|
56
|
-
var
|
|
57
|
-
if (
|
|
58
|
-
return
|
|
55
|
+
function le(t, l, x) {
|
|
56
|
+
var y = t.displayName;
|
|
57
|
+
if (y)
|
|
58
|
+
return y;
|
|
59
59
|
var L = l.displayName || l.name || "";
|
|
60
|
-
return L !== "" ?
|
|
60
|
+
return L !== "" ? x + "(" + L + ")" : x;
|
|
61
61
|
}
|
|
62
62
|
function X(t) {
|
|
63
63
|
return t.displayName || "Context";
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function W(t) {
|
|
66
66
|
if (t == null)
|
|
67
67
|
return null;
|
|
68
|
-
if (typeof t.tag == "number" &&
|
|
68
|
+
if (typeof t.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
69
69
|
return t.displayName || t.name || null;
|
|
70
70
|
if (typeof t == "string")
|
|
71
71
|
return t;
|
|
72
72
|
switch (t) {
|
|
73
|
-
case
|
|
73
|
+
case o:
|
|
74
74
|
return "Fragment";
|
|
75
75
|
case s:
|
|
76
76
|
return "Portal";
|
|
77
|
-
case
|
|
77
|
+
case m:
|
|
78
78
|
return "Profiler";
|
|
79
|
-
case
|
|
79
|
+
case i:
|
|
80
80
|
return "StrictMode";
|
|
81
|
-
case
|
|
81
|
+
case k:
|
|
82
82
|
return "Suspense";
|
|
83
83
|
case u:
|
|
84
84
|
return "SuspenseList";
|
|
85
85
|
}
|
|
86
86
|
if (typeof t == "object")
|
|
87
87
|
switch (t.$$typeof) {
|
|
88
|
-
case
|
|
88
|
+
case h:
|
|
89
89
|
var l = t;
|
|
90
90
|
return X(l) + ".Consumer";
|
|
91
91
|
case r:
|
|
92
|
-
var
|
|
93
|
-
return X(
|
|
94
|
-
case
|
|
92
|
+
var x = t;
|
|
93
|
+
return X(x._context) + ".Provider";
|
|
94
|
+
case d:
|
|
95
95
|
return le(t, t.render, "ForwardRef");
|
|
96
96
|
case g:
|
|
97
|
-
var
|
|
98
|
-
return
|
|
99
|
-
case
|
|
97
|
+
var y = t.displayName || null;
|
|
98
|
+
return y !== null ? y : W(t.type) || "Memo";
|
|
99
|
+
case p: {
|
|
100
100
|
var L = t, A = L._payload, R = L._init;
|
|
101
101
|
try {
|
|
102
|
-
return
|
|
102
|
+
return W(R(A));
|
|
103
103
|
} catch {
|
|
104
104
|
return null;
|
|
105
105
|
}
|
|
@@ -107,18 +107,18 @@ function ma() {
|
|
|
107
107
|
}
|
|
108
108
|
return null;
|
|
109
109
|
}
|
|
110
|
-
var Q = Object.assign, ue = 0, Te, Ee, Pe,
|
|
111
|
-
function
|
|
110
|
+
var Q = Object.assign, ue = 0, Te, Ee, Pe, ye, He, Ve, te;
|
|
111
|
+
function Ye() {
|
|
112
112
|
}
|
|
113
|
-
|
|
114
|
-
function
|
|
113
|
+
Ye.__reactDisabledLog = !0;
|
|
114
|
+
function wt() {
|
|
115
115
|
{
|
|
116
116
|
if (ue === 0) {
|
|
117
|
-
Te = console.log, Ee = console.info, Pe = console.warn,
|
|
117
|
+
Te = console.log, Ee = console.info, Pe = console.warn, ye = console.error, He = console.group, Ve = console.groupCollapsed, te = console.groupEnd;
|
|
118
118
|
var t = {
|
|
119
119
|
configurable: !0,
|
|
120
120
|
enumerable: !0,
|
|
121
|
-
value:
|
|
121
|
+
value: Ye,
|
|
122
122
|
writable: !0
|
|
123
123
|
};
|
|
124
124
|
Object.defineProperties(console, {
|
|
@@ -134,7 +134,7 @@ function ma() {
|
|
|
134
134
|
ue++;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function je() {
|
|
138
138
|
{
|
|
139
139
|
if (ue--, ue === 0) {
|
|
140
140
|
var t = {
|
|
@@ -153,55 +153,55 @@ function ma() {
|
|
|
153
153
|
value: Pe
|
|
154
154
|
}),
|
|
155
155
|
error: Q({}, t, {
|
|
156
|
-
value:
|
|
156
|
+
value: ye
|
|
157
157
|
}),
|
|
158
158
|
group: Q({}, t, {
|
|
159
|
-
value:
|
|
159
|
+
value: He
|
|
160
160
|
}),
|
|
161
161
|
groupCollapsed: Q({}, t, {
|
|
162
|
-
value:
|
|
162
|
+
value: Ve
|
|
163
163
|
}),
|
|
164
164
|
groupEnd: Q({}, t, {
|
|
165
165
|
value: te
|
|
166
166
|
})
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
|
-
ue < 0 &&
|
|
169
|
+
ue < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
var Ie = C.ReactCurrentDispatcher, we;
|
|
173
|
-
function pe(t, l,
|
|
173
|
+
function pe(t, l, x) {
|
|
174
174
|
{
|
|
175
175
|
if (we === void 0)
|
|
176
176
|
try {
|
|
177
177
|
throw Error();
|
|
178
178
|
} catch (L) {
|
|
179
|
-
var
|
|
180
|
-
we =
|
|
179
|
+
var y = L.stack.trim().match(/\n( *(at )?)/);
|
|
180
|
+
we = y && y[1] || "";
|
|
181
181
|
}
|
|
182
182
|
return `
|
|
183
183
|
` + we + t;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
var
|
|
186
|
+
var ke = !1, ge;
|
|
187
187
|
{
|
|
188
|
-
var
|
|
189
|
-
ge = new
|
|
188
|
+
var dt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
189
|
+
ge = new dt();
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
if (!t ||
|
|
191
|
+
function ze(t, l) {
|
|
192
|
+
if (!t || ke)
|
|
193
193
|
return "";
|
|
194
194
|
{
|
|
195
|
-
var
|
|
196
|
-
if (
|
|
197
|
-
return
|
|
195
|
+
var x = ge.get(t);
|
|
196
|
+
if (x !== void 0)
|
|
197
|
+
return x;
|
|
198
198
|
}
|
|
199
|
-
var
|
|
200
|
-
|
|
199
|
+
var y;
|
|
200
|
+
ke = !0;
|
|
201
201
|
var L = Error.prepareStackTrace;
|
|
202
202
|
Error.prepareStackTrace = void 0;
|
|
203
203
|
var A;
|
|
204
|
-
A = Ie.current, Ie.current = null,
|
|
204
|
+
A = Ie.current, Ie.current = null, wt();
|
|
205
205
|
try {
|
|
206
206
|
if (l) {
|
|
207
207
|
var R = function() {
|
|
@@ -215,14 +215,14 @@ function ma() {
|
|
|
215
215
|
try {
|
|
216
216
|
Reflect.construct(R, []);
|
|
217
217
|
} catch ($) {
|
|
218
|
-
|
|
218
|
+
y = $;
|
|
219
219
|
}
|
|
220
220
|
Reflect.construct(t, [], R);
|
|
221
221
|
} else {
|
|
222
222
|
try {
|
|
223
223
|
R.call();
|
|
224
224
|
} catch ($) {
|
|
225
|
-
|
|
225
|
+
y = $;
|
|
226
226
|
}
|
|
227
227
|
t.call(R.prototype);
|
|
228
228
|
}
|
|
@@ -230,21 +230,21 @@ function ma() {
|
|
|
230
230
|
try {
|
|
231
231
|
throw Error();
|
|
232
232
|
} catch ($) {
|
|
233
|
-
|
|
233
|
+
y = $;
|
|
234
234
|
}
|
|
235
235
|
t();
|
|
236
236
|
}
|
|
237
237
|
} catch ($) {
|
|
238
|
-
if ($ &&
|
|
238
|
+
if ($ && y && typeof $.stack == "string") {
|
|
239
239
|
for (var T = $.stack.split(`
|
|
240
|
-
`),
|
|
241
|
-
`), M = T.length - 1, f =
|
|
240
|
+
`), z = y.stack.split(`
|
|
241
|
+
`), M = T.length - 1, f = z.length - 1; M >= 1 && f >= 0 && T[M] !== z[f]; )
|
|
242
242
|
f--;
|
|
243
243
|
for (; M >= 1 && f >= 0; M--, f--)
|
|
244
|
-
if (T[M] !==
|
|
244
|
+
if (T[M] !== z[f]) {
|
|
245
245
|
if (M !== 1 || f !== 1)
|
|
246
246
|
do
|
|
247
|
-
if (M--, f--, f < 0 || T[M] !==
|
|
247
|
+
if (M--, f--, f < 0 || T[M] !== z[f]) {
|
|
248
248
|
var E = `
|
|
249
249
|
` + T[M].replace(" at new ", " at ");
|
|
250
250
|
return t.displayName && E.includes("<anonymous>") && (E = E.replace("<anonymous>", t.displayName)), typeof t == "function" && ge.set(t, E), E;
|
|
@@ -254,56 +254,56 @@ function ma() {
|
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
} finally {
|
|
257
|
-
|
|
257
|
+
ke = !1, Ie.current = A, je(), Error.prepareStackTrace = L;
|
|
258
258
|
}
|
|
259
|
-
var
|
|
260
|
-
return typeof t == "function" && ge.set(t,
|
|
259
|
+
var H = t ? t.displayName || t.name : "", K = H ? pe(H) : "";
|
|
260
|
+
return typeof t == "function" && ge.set(t, K), K;
|
|
261
261
|
}
|
|
262
|
-
function
|
|
263
|
-
return
|
|
262
|
+
function ut(t, l, x) {
|
|
263
|
+
return ze(t, !1);
|
|
264
264
|
}
|
|
265
|
-
function
|
|
265
|
+
function pt(t) {
|
|
266
266
|
var l = t.prototype;
|
|
267
267
|
return !!(l && l.isReactComponent);
|
|
268
268
|
}
|
|
269
|
-
function _e(t, l,
|
|
269
|
+
function _e(t, l, x) {
|
|
270
270
|
if (t == null)
|
|
271
271
|
return "";
|
|
272
272
|
if (typeof t == "function")
|
|
273
|
-
return
|
|
273
|
+
return ze(t, pt(t));
|
|
274
274
|
if (typeof t == "string")
|
|
275
275
|
return pe(t);
|
|
276
276
|
switch (t) {
|
|
277
|
-
case
|
|
277
|
+
case k:
|
|
278
278
|
return pe("Suspense");
|
|
279
279
|
case u:
|
|
280
280
|
return pe("SuspenseList");
|
|
281
281
|
}
|
|
282
282
|
if (typeof t == "object")
|
|
283
283
|
switch (t.$$typeof) {
|
|
284
|
-
case
|
|
285
|
-
return
|
|
284
|
+
case d:
|
|
285
|
+
return ut(t.render);
|
|
286
286
|
case g:
|
|
287
|
-
return _e(t.type, l,
|
|
288
|
-
case
|
|
289
|
-
var
|
|
287
|
+
return _e(t.type, l, x);
|
|
288
|
+
case p: {
|
|
289
|
+
var y = t, L = y._payload, A = y._init;
|
|
290
290
|
try {
|
|
291
|
-
return _e(A(L), l,
|
|
291
|
+
return _e(A(L), l, x);
|
|
292
292
|
} catch {
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
return "";
|
|
297
297
|
}
|
|
298
|
-
var ve = Object.prototype.hasOwnProperty,
|
|
298
|
+
var ve = Object.prototype.hasOwnProperty, Ge = {}, Je = C.ReactDebugCurrentFrame;
|
|
299
299
|
function ae(t) {
|
|
300
300
|
if (t) {
|
|
301
|
-
var l = t._owner,
|
|
302
|
-
|
|
301
|
+
var l = t._owner, x = _e(t.type, t._source, l ? l.type : null);
|
|
302
|
+
Je.setExtraStackFrame(x);
|
|
303
303
|
} else
|
|
304
|
-
|
|
304
|
+
Je.setExtraStackFrame(null);
|
|
305
305
|
}
|
|
306
|
-
function ne(t, l,
|
|
306
|
+
function ne(t, l, x, y, L) {
|
|
307
307
|
{
|
|
308
308
|
var A = Function.call.bind(ve);
|
|
309
309
|
for (var R in t)
|
|
@@ -311,28 +311,28 @@ function ma() {
|
|
|
311
311
|
var T = void 0;
|
|
312
312
|
try {
|
|
313
313
|
if (typeof t[R] != "function") {
|
|
314
|
-
var
|
|
315
|
-
throw
|
|
314
|
+
var z = Error((y || "React class") + ": " + x + " type `" + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[R] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
315
|
+
throw z.name = "Invariant Violation", z;
|
|
316
316
|
}
|
|
317
|
-
T = t[R](l, R,
|
|
317
|
+
T = t[R](l, R, y, x, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
318
318
|
} catch (M) {
|
|
319
319
|
T = M;
|
|
320
320
|
}
|
|
321
|
-
T && !(T instanceof Error) && (ae(L),
|
|
321
|
+
T && !(T instanceof Error) && (ae(L), b("%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).", y || "React class", x, R, typeof T), ae(null)), T instanceof Error && !(T.message in Ge) && (Ge[T.message] = !0, ae(L), b("Failed %s type: %s", x, T.message), ae(null));
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
|
-
var
|
|
326
|
-
function
|
|
327
|
-
return
|
|
325
|
+
var J = Array.isArray;
|
|
326
|
+
function Ke(t) {
|
|
327
|
+
return J(t);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function ht(t) {
|
|
330
330
|
{
|
|
331
|
-
var l = typeof Symbol == "function" && Symbol.toStringTag,
|
|
332
|
-
return
|
|
331
|
+
var l = typeof Symbol == "function" && Symbol.toStringTag, x = l && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
332
|
+
return x;
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function q(t) {
|
|
336
336
|
try {
|
|
337
337
|
return Re(t), !1;
|
|
338
338
|
} catch {
|
|
@@ -343,16 +343,16 @@ function ma() {
|
|
|
343
343
|
return "" + t;
|
|
344
344
|
}
|
|
345
345
|
function se(t) {
|
|
346
|
-
if (
|
|
347
|
-
return
|
|
346
|
+
if (q(t))
|
|
347
|
+
return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ht(t)), Re(t);
|
|
348
348
|
}
|
|
349
349
|
var Le = C.ReactCurrentOwner, De = {
|
|
350
350
|
key: !0,
|
|
351
351
|
ref: !0,
|
|
352
352
|
__self: !0,
|
|
353
353
|
__source: !0
|
|
354
|
-
},
|
|
355
|
-
function
|
|
354
|
+
}, qe, Ze;
|
|
355
|
+
function ft(t) {
|
|
356
356
|
if (ve.call(t, "ref")) {
|
|
357
357
|
var l = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
358
358
|
if (l && l.isReactWarning)
|
|
@@ -368,39 +368,39 @@ function ma() {
|
|
|
368
368
|
}
|
|
369
369
|
return t.key !== void 0;
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function mt(t, l) {
|
|
372
372
|
typeof t.ref == "string" && Le.current;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function kt(t, l) {
|
|
375
375
|
{
|
|
376
|
-
var
|
|
377
|
-
|
|
376
|
+
var x = function() {
|
|
377
|
+
qe || (qe = !0, b("%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));
|
|
378
378
|
};
|
|
379
|
-
|
|
380
|
-
get:
|
|
379
|
+
x.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
380
|
+
get: x,
|
|
381
381
|
configurable: !0
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function St(t, l) {
|
|
386
386
|
{
|
|
387
|
-
var
|
|
388
|
-
|
|
387
|
+
var x = function() {
|
|
388
|
+
Ze || (Ze = !0, b("%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));
|
|
389
389
|
};
|
|
390
|
-
|
|
391
|
-
get:
|
|
390
|
+
x.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
391
|
+
get: x,
|
|
392
392
|
configurable: !0
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
var
|
|
396
|
+
var Ct = function(t, l, x, y, L, A, R) {
|
|
397
397
|
var T = {
|
|
398
398
|
// This tag allows us to uniquely identify this as a React Element
|
|
399
399
|
$$typeof: n,
|
|
400
400
|
// Built-in properties that belong on the element
|
|
401
401
|
type: t,
|
|
402
402
|
key: l,
|
|
403
|
-
ref:
|
|
403
|
+
ref: x,
|
|
404
404
|
props: R,
|
|
405
405
|
// Record the component responsible for creating this element.
|
|
406
406
|
_owner: A
|
|
@@ -414,7 +414,7 @@ function ma() {
|
|
|
414
414
|
configurable: !1,
|
|
415
415
|
enumerable: !1,
|
|
416
416
|
writable: !1,
|
|
417
|
-
value:
|
|
417
|
+
value: y
|
|
418
418
|
}), Object.defineProperty(T, "_source", {
|
|
419
419
|
configurable: !1,
|
|
420
420
|
enumerable: !1,
|
|
@@ -422,10 +422,10 @@ function ma() {
|
|
|
422
422
|
value: L
|
|
423
423
|
}), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
|
|
424
424
|
};
|
|
425
|
-
function he(t, l,
|
|
425
|
+
function he(t, l, x, y, L) {
|
|
426
426
|
{
|
|
427
|
-
var A, R = {}, T = null,
|
|
428
|
-
|
|
427
|
+
var A, R = {}, T = null, z = null;
|
|
428
|
+
x !== void 0 && (se(x), T = "" + x), re(l) && (se(l.key), T = "" + l.key), ft(l) && (z = l.ref, mt(l, L));
|
|
429
429
|
for (A in l)
|
|
430
430
|
ve.call(l, A) && !De.hasOwnProperty(A) && (R[A] = l[A]);
|
|
431
431
|
if (t && t.defaultProps) {
|
|
@@ -433,30 +433,30 @@ function ma() {
|
|
|
433
433
|
for (A in M)
|
|
434
434
|
R[A] === void 0 && (R[A] = M[A]);
|
|
435
435
|
}
|
|
436
|
-
if (T ||
|
|
436
|
+
if (T || z) {
|
|
437
437
|
var f = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
438
|
-
T &&
|
|
438
|
+
T && kt(R, f), z && St(R, f);
|
|
439
439
|
}
|
|
440
|
-
return
|
|
440
|
+
return Ct(t, T, z, L, y, Le.current, R);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
443
|
var fe = C.ReactCurrentOwner, Ae = C.ReactDebugCurrentFrame;
|
|
444
|
-
function
|
|
444
|
+
function be(t) {
|
|
445
445
|
if (t) {
|
|
446
|
-
var l = t._owner,
|
|
447
|
-
Ae.setExtraStackFrame(
|
|
446
|
+
var l = t._owner, x = _e(t.type, t._source, l ? l.type : null);
|
|
447
|
+
Ae.setExtraStackFrame(x);
|
|
448
448
|
} else
|
|
449
449
|
Ae.setExtraStackFrame(null);
|
|
450
450
|
}
|
|
451
|
-
var
|
|
452
|
-
|
|
453
|
-
function
|
|
451
|
+
var Xe;
|
|
452
|
+
Xe = !1;
|
|
453
|
+
function Qe(t) {
|
|
454
454
|
return typeof t == "object" && t !== null && t.$$typeof === n;
|
|
455
455
|
}
|
|
456
456
|
function me() {
|
|
457
457
|
{
|
|
458
458
|
if (fe.current) {
|
|
459
|
-
var t =
|
|
459
|
+
var t = W(fe.current.type);
|
|
460
460
|
if (t)
|
|
461
461
|
return `
|
|
462
462
|
|
|
@@ -469,14 +469,14 @@ Check the render method of \`` + t + "`.";
|
|
|
469
469
|
return "";
|
|
470
470
|
}
|
|
471
471
|
var Be = {};
|
|
472
|
-
function
|
|
472
|
+
function et(t) {
|
|
473
473
|
{
|
|
474
474
|
var l = me();
|
|
475
475
|
if (!l) {
|
|
476
|
-
var
|
|
477
|
-
|
|
476
|
+
var x = typeof t == "string" ? t : t.displayName || t.name;
|
|
477
|
+
x && (l = `
|
|
478
478
|
|
|
479
|
-
Check the top-level render call using <` +
|
|
479
|
+
Check the top-level render call using <` + x + ">.");
|
|
480
480
|
}
|
|
481
481
|
return l;
|
|
482
482
|
}
|
|
@@ -486,131 +486,131 @@ Check the top-level render call using <` + m + ">.");
|
|
|
486
486
|
if (!t._store || t._store.validated || t.key != null)
|
|
487
487
|
return;
|
|
488
488
|
t._store.validated = !0;
|
|
489
|
-
var
|
|
490
|
-
if (Be[
|
|
489
|
+
var x = et(l);
|
|
490
|
+
if (Be[x])
|
|
491
491
|
return;
|
|
492
|
-
Be[
|
|
493
|
-
var
|
|
494
|
-
t && t._owner && t._owner !== fe.current && (
|
|
492
|
+
Be[x] = !0;
|
|
493
|
+
var y = "";
|
|
494
|
+
t && t._owner && t._owner !== fe.current && (y = " It was passed a child from " + W(t._owner.type) + "."), be(t), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', x, y), be(null);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
function ee(t, l) {
|
|
498
498
|
{
|
|
499
499
|
if (typeof t != "object")
|
|
500
500
|
return;
|
|
501
|
-
if (
|
|
502
|
-
for (var
|
|
503
|
-
var
|
|
504
|
-
|
|
501
|
+
if (Ke(t))
|
|
502
|
+
for (var x = 0; x < t.length; x++) {
|
|
503
|
+
var y = t[x];
|
|
504
|
+
Qe(y) && Oe(y, l);
|
|
505
505
|
}
|
|
506
|
-
else if (
|
|
506
|
+
else if (Qe(t))
|
|
507
507
|
t._store && (t._store.validated = !0);
|
|
508
508
|
else if (t) {
|
|
509
509
|
var L = _(t);
|
|
510
510
|
if (typeof L == "function" && L !== t.entries)
|
|
511
511
|
for (var A = L.call(t), R; !(R = A.next()).done; )
|
|
512
|
-
|
|
512
|
+
Qe(R.value) && Oe(R.value, l);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function tt(t) {
|
|
517
517
|
{
|
|
518
518
|
var l = t.type;
|
|
519
519
|
if (l == null || typeof l == "string")
|
|
520
520
|
return;
|
|
521
|
-
var
|
|
521
|
+
var x;
|
|
522
522
|
if (typeof l == "function")
|
|
523
|
-
|
|
524
|
-
else if (typeof l == "object" && (l.$$typeof ===
|
|
523
|
+
x = l.propTypes;
|
|
524
|
+
else if (typeof l == "object" && (l.$$typeof === d || // Note: Memo only checks outer props here.
|
|
525
525
|
// Inner props are checked in the reconciler.
|
|
526
526
|
l.$$typeof === g))
|
|
527
|
-
|
|
527
|
+
x = l.propTypes;
|
|
528
528
|
else
|
|
529
529
|
return;
|
|
530
|
-
if (
|
|
531
|
-
var
|
|
532
|
-
ne(
|
|
533
|
-
} else if (l.PropTypes !== void 0 && !
|
|
534
|
-
|
|
535
|
-
var L =
|
|
536
|
-
|
|
530
|
+
if (x) {
|
|
531
|
+
var y = W(l);
|
|
532
|
+
ne(x, t.props, "prop", y, t);
|
|
533
|
+
} else if (l.PropTypes !== void 0 && !Xe) {
|
|
534
|
+
Xe = !0;
|
|
535
|
+
var L = W(l);
|
|
536
|
+
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", L || "Unknown");
|
|
537
537
|
}
|
|
538
|
-
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved &&
|
|
538
|
+
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function xt(t) {
|
|
542
542
|
{
|
|
543
|
-
for (var l = Object.keys(t.props),
|
|
544
|
-
var
|
|
545
|
-
if (
|
|
546
|
-
|
|
543
|
+
for (var l = Object.keys(t.props), x = 0; x < l.length; x++) {
|
|
544
|
+
var y = l[x];
|
|
545
|
+
if (y !== "children" && y !== "key") {
|
|
546
|
+
be(t), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", y), be(null);
|
|
547
547
|
break;
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
|
-
t.ref !== null && (
|
|
550
|
+
t.ref !== null && (be(t), b("Invalid attribute `ref` supplied to `React.Fragment`."), be(null));
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
|
-
var
|
|
554
|
-
function
|
|
553
|
+
var gt = {};
|
|
554
|
+
function _t(t, l, x, y, L, A) {
|
|
555
555
|
{
|
|
556
|
-
var R =
|
|
556
|
+
var R = Y(t);
|
|
557
557
|
if (!R) {
|
|
558
558
|
var T = "";
|
|
559
559
|
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (T += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
560
|
-
var
|
|
561
|
-
|
|
560
|
+
var z = Fe();
|
|
561
|
+
z ? T += z : T += me();
|
|
562
562
|
var M;
|
|
563
|
-
t === null ? M = "null" :
|
|
563
|
+
t === null ? M = "null" : Ke(t) ? M = "array" : t !== void 0 && t.$$typeof === n ? (M = "<" + (W(t.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : M = typeof t, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", M, T);
|
|
564
564
|
}
|
|
565
|
-
var f = he(t, l,
|
|
565
|
+
var f = he(t, l, x, L, A);
|
|
566
566
|
if (f == null)
|
|
567
567
|
return f;
|
|
568
568
|
if (R) {
|
|
569
569
|
var E = l.children;
|
|
570
570
|
if (E !== void 0)
|
|
571
|
-
if (
|
|
572
|
-
if (
|
|
573
|
-
for (var
|
|
574
|
-
ee(E[
|
|
571
|
+
if (y)
|
|
572
|
+
if (Ke(E)) {
|
|
573
|
+
for (var H = 0; H < E.length; H++)
|
|
574
|
+
ee(E[H], t);
|
|
575
575
|
Object.freeze && Object.freeze(E);
|
|
576
576
|
} else
|
|
577
|
-
|
|
577
|
+
b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
578
578
|
else
|
|
579
579
|
ee(E, t);
|
|
580
580
|
}
|
|
581
581
|
if (ve.call(l, "key")) {
|
|
582
|
-
var
|
|
583
|
-
return
|
|
582
|
+
var K = W(t), $ = Object.keys(l).filter(function(Se) {
|
|
583
|
+
return Se !== "key";
|
|
584
584
|
}), ie = $.length > 0 ? "{key: someKey, " + $.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
585
|
-
if (!
|
|
585
|
+
if (!gt[K + ie]) {
|
|
586
586
|
var de = $.length > 0 ? "{" + $.join(": ..., ") + ": ...}" : "{}";
|
|
587
|
-
|
|
587
|
+
b(`A props object containing a "key" prop is being spread into JSX:
|
|
588
588
|
let props = %s;
|
|
589
589
|
<%s {...props} />
|
|
590
590
|
React keys must be passed directly to JSX without using spread:
|
|
591
591
|
let props = %s;
|
|
592
|
-
<%s key={someKey} {...props} />`, ie,
|
|
592
|
+
<%s key={someKey} {...props} />`, ie, K, de, K), gt[K + ie] = !0;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
return t ===
|
|
595
|
+
return t === o ? xt(f) : tt(f), f;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
|
-
function ce(t, l,
|
|
599
|
-
return
|
|
598
|
+
function ce(t, l, x) {
|
|
599
|
+
return _t(t, l, x, !0);
|
|
600
600
|
}
|
|
601
|
-
function
|
|
602
|
-
return
|
|
601
|
+
function vt(t, l, x) {
|
|
602
|
+
return _t(t, l, x, !1);
|
|
603
603
|
}
|
|
604
|
-
var
|
|
605
|
-
|
|
606
|
-
})()),
|
|
604
|
+
var bt = vt, at = ce;
|
|
605
|
+
st.Fragment = o, st.jsx = bt, st.jsxs = at;
|
|
606
|
+
})()), st;
|
|
607
607
|
}
|
|
608
|
-
var
|
|
609
|
-
function
|
|
610
|
-
return
|
|
608
|
+
var Ft;
|
|
609
|
+
function va() {
|
|
610
|
+
return Ft || (Ft = 1, process.env.NODE_ENV === "production" ? yt.exports = ga() : yt.exports = _a()), yt.exports;
|
|
611
611
|
}
|
|
612
|
-
var e =
|
|
613
|
-
const
|
|
612
|
+
var e = va();
|
|
613
|
+
const ba = {
|
|
614
614
|
landingPage: "Landing Page",
|
|
615
615
|
successPage: "Success Page",
|
|
616
616
|
jaiShreeRam: "JAI SHREE RAM",
|
|
@@ -658,7 +658,7 @@ const ga = {
|
|
|
658
658
|
hours: "HRS",
|
|
659
659
|
minutes: "MIN",
|
|
660
660
|
secondsLabel: "SEC"
|
|
661
|
-
},
|
|
661
|
+
}, ya = {
|
|
662
662
|
landingPage: "लैंडिंग पेज",
|
|
663
663
|
successPage: "सफलता पेज",
|
|
664
664
|
jaiShreeRam: "जय श्री राम",
|
|
@@ -706,85 +706,85 @@ const ga = {
|
|
|
706
706
|
hours: "घंटे",
|
|
707
707
|
minutes: "मिनट",
|
|
708
708
|
secondsLabel: "सेकंड"
|
|
709
|
-
},
|
|
710
|
-
en:
|
|
711
|
-
hi:
|
|
712
|
-
},
|
|
709
|
+
}, ja = {
|
|
710
|
+
en: ba,
|
|
711
|
+
hi: ya
|
|
712
|
+
}, la = oa(null), Oi = ({
|
|
713
713
|
locale: a,
|
|
714
714
|
children: n
|
|
715
715
|
}) => {
|
|
716
|
-
const
|
|
717
|
-
return /* @__PURE__ */ e.jsx(
|
|
716
|
+
const o = { locale: a, t: (i) => ja[a]?.[i] ?? i };
|
|
717
|
+
return /* @__PURE__ */ e.jsx(la.Provider, { value: o, children: n });
|
|
718
718
|
};
|
|
719
|
-
function
|
|
720
|
-
return
|
|
719
|
+
function Lt() {
|
|
720
|
+
return ia(la);
|
|
721
721
|
}
|
|
722
|
-
const
|
|
723
|
-
const a =
|
|
722
|
+
const ca = oa(void 0), da = () => {
|
|
723
|
+
const a = ia(ca);
|
|
724
724
|
if (!a)
|
|
725
725
|
throw new Error("useAppContext must be used within AppContextProvider");
|
|
726
726
|
return a;
|
|
727
|
-
},
|
|
727
|
+
}, Mi = ({
|
|
728
728
|
children: a
|
|
729
729
|
}) => {
|
|
730
|
-
const [n, s] = S(null), [
|
|
730
|
+
const [n, s] = S(null), [o, i] = S(!1);
|
|
731
731
|
return /* @__PURE__ */ e.jsx(
|
|
732
|
-
|
|
732
|
+
ca.Provider,
|
|
733
733
|
{
|
|
734
734
|
value: {
|
|
735
735
|
userData: n,
|
|
736
736
|
setUserData: s,
|
|
737
|
-
showSuccess:
|
|
738
|
-
setShowSuccess:
|
|
737
|
+
showSuccess: o,
|
|
738
|
+
setShowSuccess: i
|
|
739
739
|
},
|
|
740
740
|
children: a
|
|
741
741
|
}
|
|
742
742
|
);
|
|
743
|
-
},
|
|
744
|
-
landingPage:
|
|
743
|
+
}, wa = "_landingPage_1fap9_1", Bt = {
|
|
744
|
+
landingPage: wa,
|
|
745
745
|
"sf-select": "_sf-select_1fap9_12"
|
|
746
|
-
},
|
|
747
|
-
const s =
|
|
748
|
-
const
|
|
749
|
-
if (
|
|
750
|
-
const
|
|
751
|
-
return { days:
|
|
746
|
+
}, ka = ({ targetDate: a }) => {
|
|
747
|
+
const s = Lt()?.t || ((h) => h), o = () => {
|
|
748
|
+
const d = (typeof a == "string" ? new Date(a) : a).getTime() - Date.now();
|
|
749
|
+
if (d > 0) {
|
|
750
|
+
const k = Math.floor(d / 864e5), u = Math.floor(d % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), g = Math.floor(d % (1e3 * 60 * 60) / (1e3 * 60)), p = Math.floor(d % (1e3 * 60) / 1e3);
|
|
751
|
+
return { days: k, hours: u, minutes: g, seconds: p };
|
|
752
752
|
}
|
|
753
753
|
return { days: 0, hours: 0, minutes: 0, seconds: 0 };
|
|
754
|
-
}, [
|
|
754
|
+
}, [i, m] = S({ days: 0, hours: 0, minutes: 0, seconds: 0 });
|
|
755
755
|
B(() => {
|
|
756
|
-
|
|
757
|
-
const
|
|
758
|
-
|
|
756
|
+
m(o());
|
|
757
|
+
const h = setInterval(() => {
|
|
758
|
+
m(o());
|
|
759
759
|
}, 1e3);
|
|
760
|
-
return () => clearInterval(
|
|
760
|
+
return () => clearInterval(h);
|
|
761
761
|
}, [a]);
|
|
762
|
-
const r = (
|
|
762
|
+
const r = (h) => h.toString().padStart(2, "0");
|
|
763
763
|
return /* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-center gap-3 sm:gap-4", children: [
|
|
764
764
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
765
765
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
766
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(
|
|
766
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(i.days) }),
|
|
767
767
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: s("days") })
|
|
768
768
|
] }),
|
|
769
769
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none mb-2.5", children: ":" }),
|
|
770
770
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
771
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(
|
|
771
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(i.hours) }),
|
|
772
772
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: s("hours") })
|
|
773
773
|
] }),
|
|
774
774
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none mb-2.5", children: ":" }),
|
|
775
775
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
776
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(
|
|
776
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(i.minutes) }),
|
|
777
777
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: s("minutes") })
|
|
778
778
|
] }),
|
|
779
779
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none mb-2.5", children: ":" }),
|
|
780
780
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
781
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(
|
|
781
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(i.seconds) }),
|
|
782
782
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: s("secondsLabel") })
|
|
783
783
|
] })
|
|
784
784
|
] }),
|
|
785
785
|
/* @__PURE__ */ e.jsx("p", { className: "text-[#907250] text-[11px] sm:text-[12px] font-medium", children: s("timerLabel") })
|
|
786
786
|
] });
|
|
787
|
-
},
|
|
787
|
+
}, Sa = [
|
|
788
788
|
{
|
|
789
789
|
icon: "https://srm-cdn.a4b.io/yoda/1774095297032.png",
|
|
790
790
|
titleKey: "expectItem1Title",
|
|
@@ -800,7 +800,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
800
800
|
titleKey: "expectItem3Title",
|
|
801
801
|
descKey: "expectItem3Desc"
|
|
802
802
|
}
|
|
803
|
-
],
|
|
803
|
+
], Ot = [
|
|
804
804
|
{ code: "+1", country: "USA" },
|
|
805
805
|
// { code: "+7", country: "Russia / Kazakhstan" },
|
|
806
806
|
// { code: "+20", country: "Egypt" },
|
|
@@ -870,14 +870,14 @@ const ia = sa(void 0), oa = () => {
|
|
|
870
870
|
// { code: "+975", country: "Bhutan" },
|
|
871
871
|
// { code: "+976", country: "Mongolia" },
|
|
872
872
|
// { code: "+977", country: "Nepal" },
|
|
873
|
-
],
|
|
873
|
+
], Ca = "Share the Blessings", Na = "Invite family to join daily Puja. Bring change to their lives.", Mt = "Share on WhatsApp", $t = "Your 7-Day Journey", Ta = "https://srm-cdn.a4b.io/yoda/1776256998292.svg", Ea = "https://srm-cdn.a4b.io/yoda/1776411247834.svg", Pa = (a, n) => `${a} of ${n} days attended. Keep going!`, Ia = "Explore Sri Mandir", Ra = "Explore Sri Mandir", La = "BEST VALUE", Da = "Unlimited Daily Puja", Aa = "Never miss a sacred morning. Subscribe for full access, every day.", Fa = "Unlimited live access, every single day", Ba = "Daily WhatsApp reminders before Puja start", ua = "https://srm-cdn.a4b.io/yoda/1776255523256.png", Oa = "/ Week", Ma = "Start Subscription", $a = "No charge today. Cancel Anytime", xe = {
|
|
874
874
|
id: "fallback-puja",
|
|
875
875
|
title: "5100 Hanuman Chalisa, 5100 Sankat mochan Hanumanashtak, Shani Tel..",
|
|
876
876
|
location: "Shri Navagrah Shani Temple, Ujjain, Madhya Pradesh",
|
|
877
877
|
date: "2 April, Thursday, Chaitra Shukla Purnima",
|
|
878
878
|
deeplink: "/epuja",
|
|
879
879
|
imageUrl: "https://srimandirweb.s3.ap-south-1.amazonaws.com/puja_5da7836c1b.png"
|
|
880
|
-
},
|
|
880
|
+
}, pa = [
|
|
881
881
|
{
|
|
882
882
|
id: "fallback-pranam",
|
|
883
883
|
name: "Pranam",
|
|
@@ -910,20 +910,20 @@ const ia = sa(void 0), oa = () => {
|
|
|
910
910
|
image_url: "https://srimandirweb.s3.ap-south-1.amazonaws.com/custom_2e32016966.png",
|
|
911
911
|
isCustom: !0
|
|
912
912
|
}
|
|
913
|
-
],
|
|
913
|
+
], Ua = {
|
|
914
914
|
sbox: "blog-admin-sbox.srimandir.com",
|
|
915
915
|
prod: "blog-admin.srimandir.com"
|
|
916
|
-
},
|
|
916
|
+
}, Wa = "?filters[slug][$eq]=dlp&fields[0]=yt_url&fields[1]=yt_video_id&fields[2]=slug&populate[dlp_cards][fields][0]=is_offering&populate[dlp_cards][fields][1]=title&populate[dlp_cards][fields][2]=price&populate[dlp_cards][fields][3]=location&populate[dlp_cards][fields][4]=date&populate[dlp_cards][fields][5]=deeplink&populate[dlp_cards][populate][img_url][fields][0]=url&pagination[limit]=1&pagination[start]=0", Ha = 1500, Va = 5e3, Ya = 1200, za = {
|
|
917
917
|
autoplay: 1,
|
|
918
918
|
mute: 1,
|
|
919
919
|
controls: 0,
|
|
920
920
|
playsinline: 1
|
|
921
|
-
},
|
|
921
|
+
}, Ut = [
|
|
922
922
|
{ id: "free-trial", label: "100% Free for 7 days" },
|
|
923
923
|
{ id: "no-hidden-charges", label: "No hidden charges" },
|
|
924
924
|
{ id: "daily-reminders", label: "Daily reminders" },
|
|
925
925
|
{ id: "no-app", label: "No app download needed" }
|
|
926
|
-
],
|
|
926
|
+
], Ga = [
|
|
927
927
|
{
|
|
928
928
|
id: "curated-pujas",
|
|
929
929
|
iconUrl: "https://srm-cdn.a4b.io/yoda/1776411344520.webp",
|
|
@@ -954,7 +954,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
954
954
|
title: "Write Manokamna Live Chat",
|
|
955
955
|
description: "Be heard instantly your wish, live in the ritual"
|
|
956
956
|
}
|
|
957
|
-
],
|
|
957
|
+
], Ja = [
|
|
958
958
|
{
|
|
959
959
|
id: "ramesh",
|
|
960
960
|
name: "Ramesh Pandey",
|
|
@@ -971,31 +971,31 @@ const ia = sa(void 0), oa = () => {
|
|
|
971
971
|
rating: 5,
|
|
972
972
|
quote: "Maine pehle kabhi live puja join nahi ki thi. Daily reminders se meri morning spiritual routine set ho gayi. Ghar par rehte hue bhi temple connection ka same bhaav aata hai. Family ke saath milkar join karte hain to aur bhi achha lagta hai."
|
|
973
973
|
}
|
|
974
|
-
],
|
|
974
|
+
], $i = ({
|
|
975
975
|
targetDate: a,
|
|
976
976
|
onSubmit: n,
|
|
977
977
|
isGlobal: s = !1,
|
|
978
|
-
analytics:
|
|
979
|
-
showToast:
|
|
978
|
+
analytics: o,
|
|
979
|
+
showToast: i
|
|
980
980
|
}) => {
|
|
981
|
-
const r =
|
|
982
|
-
(w) => w.code ===
|
|
981
|
+
const r = Lt()?.t || ((w) => w), [h, d] = S(s ? "+1" : "+91"), [k, u] = S(!1), { setUserData: g, setShowSuccess: p } = da(), [v, j] = S(""), [N, _] = S(""), C = F(!1), b = `${h}-${N}`, O = Ot.find(
|
|
982
|
+
(w) => w.code === h
|
|
983
983
|
);
|
|
984
984
|
B(() => {
|
|
985
|
-
!C.current &&
|
|
986
|
-
}, [
|
|
987
|
-
const
|
|
985
|
+
!C.current && o?.trackLandingPageViewed && (o.trackLandingPageViewed(), C.current = !0);
|
|
986
|
+
}, [o]);
|
|
987
|
+
const V = (w) => {
|
|
988
988
|
if (w.preventDefault(), !v || v.trim() === "") {
|
|
989
|
-
|
|
989
|
+
i?.("error", "Please enter your name");
|
|
990
990
|
return;
|
|
991
991
|
}
|
|
992
992
|
if (!N || N.length !== 10) {
|
|
993
|
-
|
|
993
|
+
i?.("error", "Please enter a valid 10-digit WhatsApp number");
|
|
994
994
|
return;
|
|
995
995
|
}
|
|
996
|
-
|
|
996
|
+
o?.trackSubmitClicked?.(), g({ name: v, fullPhoneNumber: b }), i?.("success", "Registration Successful"), p(!0), n?.({ name: v, fullPhoneNumber: b });
|
|
997
997
|
};
|
|
998
|
-
return /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className:
|
|
998
|
+
return /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: Bt.landingPage, children: [
|
|
999
999
|
/* @__PURE__ */ e.jsx("div", { className: "relative w-full flex justify-center bg-[#FFF8EF]", children: /* @__PURE__ */ e.jsx(
|
|
1000
1000
|
"img",
|
|
1001
1001
|
{
|
|
@@ -1004,7 +1004,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
1004
1004
|
className: "w-full max-w-2xl h-auto max-h-[600px] object-contain"
|
|
1005
1005
|
}
|
|
1006
1006
|
) }),
|
|
1007
|
-
/* @__PURE__ */ e.jsx("div", { className: "py-3 px-4 bg-white border-b border-[#D4C5B0]", children: /* @__PURE__ */ e.jsx(
|
|
1007
|
+
/* @__PURE__ */ e.jsx("div", { className: "py-3 px-4 bg-white border-b border-[#D4C5B0]", children: /* @__PURE__ */ e.jsx(ka, { targetDate: a }) }),
|
|
1008
1008
|
/* @__PURE__ */ e.jsxs("div", { className: "px-4 bg-[#FFF8EF]", children: [
|
|
1009
1009
|
/* @__PURE__ */ e.jsxs("div", { className: "max-w-md mx-auto flex items-center justify-center gap-4 p-4", children: [
|
|
1010
1010
|
/* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(
|
|
@@ -1024,7 +1024,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
1024
1024
|
] }),
|
|
1025
1025
|
/* @__PURE__ */ e.jsx("div", { className: "px-4 py-6 bg-[#FFF8EF]", children: /* @__PURE__ */ e.jsxs("div", { className: "max-w-md mx-auto px-4", children: [
|
|
1026
1026
|
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[#6F5642] text-[14px] mb-6", children: r("formTitle") }),
|
|
1027
|
-
/* @__PURE__ */ e.jsxs("form", { onSubmit:
|
|
1027
|
+
/* @__PURE__ */ e.jsxs("form", { onSubmit: V, className: "space-y-4", children: [
|
|
1028
1028
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1029
1029
|
/* @__PURE__ */ e.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children: r("nameLabel") }),
|
|
1030
1030
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1033,9 +1033,9 @@ const ia = sa(void 0), oa = () => {
|
|
|
1033
1033
|
type: "text",
|
|
1034
1034
|
value: v,
|
|
1035
1035
|
onChange: (w) => {
|
|
1036
|
-
|
|
1036
|
+
j(w.target.value), w.target.value && !v && o?.trackNameFilled?.();
|
|
1037
1037
|
},
|
|
1038
|
-
onFocus: () =>
|
|
1038
|
+
onFocus: () => o?.trackNameClicked?.(),
|
|
1039
1039
|
placeholder: r("namePlaceholder"),
|
|
1040
1040
|
className: "w-full px-4 py-3 bg-[#F9F3EF] border border-[#ECD4C2] rounded-lg text-[#5C4A3A] placeholder:text-[#BCA491] focus:outline-none focus:ring-2 focus:ring-[#C84532]/20 focus:border-[#C84532]",
|
|
1041
1041
|
required: !0
|
|
@@ -1049,16 +1049,16 @@ const ia = sa(void 0), oa = () => {
|
|
|
1049
1049
|
/* @__PURE__ */ e.jsx(
|
|
1050
1050
|
"div",
|
|
1051
1051
|
{
|
|
1052
|
-
onClick: () => u(!
|
|
1053
|
-
className: `${
|
|
1052
|
+
onClick: () => u(!k),
|
|
1053
|
+
className: `${Bt["sf-select"]} text-center text-[#614938] bg-[#F9F3EF] border-[#ECD4C2]`,
|
|
1054
1054
|
children: O?.code
|
|
1055
1055
|
}
|
|
1056
1056
|
),
|
|
1057
|
-
|
|
1057
|
+
k && /* @__PURE__ */ e.jsx("div", { className: "absolute top-full left-0 w-full bg-white border border-[#D4C5B0] rounded-lg mt-1 shadow-lg z-50", children: Ot.map((w) => /* @__PURE__ */ e.jsxs(
|
|
1058
1058
|
"div",
|
|
1059
1059
|
{
|
|
1060
1060
|
onClick: () => {
|
|
1061
|
-
|
|
1061
|
+
d(w.code), u(!1);
|
|
1062
1062
|
},
|
|
1063
1063
|
className: "px-3 py-2 hover:bg-gray-100 cursor-pointer text-[10px] whitespace-nowrap",
|
|
1064
1064
|
children: [
|
|
@@ -1077,10 +1077,10 @@ const ia = sa(void 0), oa = () => {
|
|
|
1077
1077
|
type: "tel",
|
|
1078
1078
|
value: N,
|
|
1079
1079
|
onChange: (w) => {
|
|
1080
|
-
const
|
|
1081
|
-
_(
|
|
1080
|
+
const G = w.target.value.replace(/\D/g, "");
|
|
1081
|
+
_(G), G && !N && o?.trackPhoneFilled?.();
|
|
1082
1082
|
},
|
|
1083
|
-
onFocus: () =>
|
|
1083
|
+
onFocus: () => o?.trackPhoneClicked?.(),
|
|
1084
1084
|
placeholder: r("whatsappPlaceholder"),
|
|
1085
1085
|
className: "flex-1 px-4 py-3 bg-[#F9F3EF] border border-[#ECD4C2] rounded-lg text-[#5C4A3A] placeholder:text-[#BCA491] focus:outline-none focus:ring-2 focus:ring-[#C84532]/20 focus:border-[#C84532]",
|
|
1086
1086
|
maxLength: 10,
|
|
@@ -1103,60 +1103,60 @@ const ia = sa(void 0), oa = () => {
|
|
|
1103
1103
|
] }) }),
|
|
1104
1104
|
/* @__PURE__ */ e.jsx("div", { className: "px-4 pb-8 bg-[#FFF8EF]", children: /* @__PURE__ */ e.jsxs("div", { className: "max-w-md mx-auto px-4", children: [
|
|
1105
1105
|
/* @__PURE__ */ e.jsx("h2", { className: "text-[#614938] text-[18px] font-bold mb-6", children: r("expectTitle") }),
|
|
1106
|
-
/* @__PURE__ */ e.jsx("div", { className: "space-y-4", children:
|
|
1106
|
+
/* @__PURE__ */ e.jsx("div", { className: "space-y-4", children: Sa.map((w, G) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-4", children: [
|
|
1107
1107
|
/* @__PURE__ */ e.jsx("img", { src: w.icon, alt: "", className: "w-10 h-10" }),
|
|
1108
1108
|
/* @__PURE__ */ e.jsxs("div", { className: "flex-1", children: [
|
|
1109
1109
|
/* @__PURE__ */ e.jsx("h3", { className: "text-[#614938] text-[14px] font-semibold", children: r(w.titleKey) }),
|
|
1110
1110
|
/* @__PURE__ */ e.jsx("p", { className: "text-[#907250] text-[12px]", children: r(w.descKey) })
|
|
1111
1111
|
] })
|
|
1112
|
-
] },
|
|
1112
|
+
] }, G)) })
|
|
1113
1113
|
] }) })
|
|
1114
1114
|
] }) });
|
|
1115
|
-
},
|
|
1116
|
-
successPage:
|
|
1117
|
-
profileImageContainer:
|
|
1118
|
-
profileImage:
|
|
1119
|
-
greeting:
|
|
1120
|
-
jaiShreeRam:
|
|
1121
|
-
userName:
|
|
1122
|
-
registrationCard:
|
|
1123
|
-
registeredText:
|
|
1124
|
-
eventName:
|
|
1125
|
-
eventDetails:
|
|
1126
|
-
whatsappButton:
|
|
1127
|
-
redirectInfo:
|
|
1128
|
-
redirectText:
|
|
1129
|
-
countdown:
|
|
1130
|
-
nextSteps:
|
|
1131
|
-
nextStepsTitle:
|
|
1132
|
-
stepsList:
|
|
1133
|
-
step:
|
|
1134
|
-
stepNumber:
|
|
1135
|
-
stepText:
|
|
1136
|
-
},
|
|
1115
|
+
}, Ka = "_successPage_8t8j5_1", qa = "_profileImageContainer_8t8j5_7", Za = "_profileImage_8t8j5_7", Xa = "_greeting_8t8j5_19", Qa = "_jaiShreeRam_8t8j5_23", en = "_userName_8t8j5_29", tn = "_registrationCard_8t8j5_34", an = "_registeredText_8t8j5_48", nn = "_eventName_8t8j5_53", sn = "_eventDetails_8t8j5_61", rn = "_whatsappButton_8t8j5_66", on = "_redirectInfo_8t8j5_75", ln = "_redirectText_8t8j5_79", cn = "_countdown_8t8j5_84", dn = "_nextSteps_8t8j5_90", un = "_nextStepsTitle_8t8j5_96", pn = "_stepsList_8t8j5_101", hn = "_step_8t8j5_101", fn = "_stepNumber_8t8j5_109", mn = "_stepText_8t8j5_113", U = {
|
|
1116
|
+
successPage: Ka,
|
|
1117
|
+
profileImageContainer: qa,
|
|
1118
|
+
profileImage: Za,
|
|
1119
|
+
greeting: Xa,
|
|
1120
|
+
jaiShreeRam: Qa,
|
|
1121
|
+
userName: en,
|
|
1122
|
+
registrationCard: tn,
|
|
1123
|
+
registeredText: an,
|
|
1124
|
+
eventName: nn,
|
|
1125
|
+
eventDetails: sn,
|
|
1126
|
+
whatsappButton: rn,
|
|
1127
|
+
redirectInfo: on,
|
|
1128
|
+
redirectText: ln,
|
|
1129
|
+
countdown: cn,
|
|
1130
|
+
nextSteps: dn,
|
|
1131
|
+
nextStepsTitle: un,
|
|
1132
|
+
stepsList: pn,
|
|
1133
|
+
step: hn,
|
|
1134
|
+
stepNumber: fn,
|
|
1135
|
+
stepText: mn
|
|
1136
|
+
}, xn = "918151810300", gn = "I'm interested in the Rasrajji Hanuman Jayanti Path", Wt = `https://wa.me/${xn}?text=${encodeURIComponent(gn)}`, Ui = ({
|
|
1137
1137
|
userName: a = "Rahul",
|
|
1138
1138
|
eventName: n = "Hanuman Jayanti Maha Path",
|
|
1139
1139
|
eventDate: s = "2nd April",
|
|
1140
|
-
eventTime:
|
|
1141
|
-
onWhatsAppClick:
|
|
1142
|
-
redirectSeconds:
|
|
1140
|
+
eventTime: o = "9:00 AM onwards",
|
|
1141
|
+
onWhatsAppClick: i,
|
|
1142
|
+
redirectSeconds: m = 10,
|
|
1143
1143
|
analytics: r,
|
|
1144
|
-
showToast:
|
|
1145
|
-
disableRedirect:
|
|
1144
|
+
showToast: h,
|
|
1145
|
+
disableRedirect: d = !1
|
|
1146
1146
|
}) => {
|
|
1147
|
-
const u =
|
|
1147
|
+
const u = Lt()?.t || ((_) => _), { userData: g } = da(), [p, v] = S(m), j = F(!1), N = g?.name || a;
|
|
1148
1148
|
return B(() => {
|
|
1149
|
-
!
|
|
1149
|
+
!j.current && r?.trackSuccessPageViewed && (r.trackSuccessPageViewed({
|
|
1150
1150
|
name: g?.name,
|
|
1151
1151
|
phone: g?.fullPhoneNumber
|
|
1152
|
-
}),
|
|
1152
|
+
}), j.current = !0);
|
|
1153
1153
|
}, [r, g?.name, g?.fullPhoneNumber]), B(() => {
|
|
1154
|
-
if (!
|
|
1155
|
-
if (
|
|
1156
|
-
const _ = setTimeout(() => v(
|
|
1154
|
+
if (!d)
|
|
1155
|
+
if (p > 0) {
|
|
1156
|
+
const _ = setTimeout(() => v(p - 1), 1e3);
|
|
1157
1157
|
return () => clearTimeout(_);
|
|
1158
|
-
} else
|
|
1159
|
-
}, [
|
|
1158
|
+
} else p === 0 && (window.location.href = Wt);
|
|
1159
|
+
}, [p, d]), /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: U.successPage, children: [
|
|
1160
1160
|
/* @__PURE__ */ e.jsx("div", { className: U.profileImageContainer, children: /* @__PURE__ */ e.jsx(
|
|
1161
1161
|
"img",
|
|
1162
1162
|
{
|
|
@@ -1183,7 +1183,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
1183
1183
|
/* @__PURE__ */ e.jsxs("p", { className: U.eventDetails, children: [
|
|
1184
1184
|
s,
|
|
1185
1185
|
" · ",
|
|
1186
|
-
|
|
1186
|
+
o
|
|
1187
1187
|
] })
|
|
1188
1188
|
] }),
|
|
1189
1189
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1191,9 +1191,9 @@ const ia = sa(void 0), oa = () => {
|
|
|
1191
1191
|
{
|
|
1192
1192
|
className: U.whatsappButton,
|
|
1193
1193
|
onClick: () => {
|
|
1194
|
-
r?.trackWhatsappBtnClicked?.(),
|
|
1195
|
-
window.location.href =
|
|
1196
|
-
}, 500),
|
|
1194
|
+
r?.trackWhatsappBtnClicked?.(), h?.("success", "Redirecting to WhatsApp..."), setTimeout(() => {
|
|
1195
|
+
window.location.href = Wt;
|
|
1196
|
+
}, 500), i?.();
|
|
1197
1197
|
},
|
|
1198
1198
|
type: "button",
|
|
1199
1199
|
children: u("sendlinkonwhatsapp")
|
|
@@ -1202,7 +1202,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
1202
1202
|
/* @__PURE__ */ e.jsxs("div", { className: U.redirectInfo, children: [
|
|
1203
1203
|
/* @__PURE__ */ e.jsx("p", { className: U.redirectText, children: u("redirectingIn") }),
|
|
1204
1204
|
/* @__PURE__ */ e.jsxs("p", { className: U.countdown, children: [
|
|
1205
|
-
|
|
1205
|
+
p.toString().padStart(2, "0"),
|
|
1206
1206
|
" ",
|
|
1207
1207
|
u("seconds")
|
|
1208
1208
|
] })
|
|
@@ -1225,85 +1225,85 @@ const ia = sa(void 0), oa = () => {
|
|
|
1225
1225
|
] })
|
|
1226
1226
|
] })
|
|
1227
1227
|
] }) });
|
|
1228
|
-
},
|
|
1229
|
-
container:
|
|
1230
|
-
video:
|
|
1231
|
-
videoFullscreenWithBelowBanner:
|
|
1232
|
-
banner:
|
|
1233
|
-
bannerCard:
|
|
1234
|
-
bannerTitle:
|
|
1235
|
-
pujaTopTitle:
|
|
1236
|
-
landscapeHeader:
|
|
1237
|
-
scroll:
|
|
1238
|
-
landscapeScroll:
|
|
1239
|
-
card:
|
|
1240
|
-
divider:
|
|
1241
|
-
chat:
|
|
1242
|
-
iframe:
|
|
1243
|
-
fullscreenBtn:
|
|
1244
|
-
fullscreenChatPanel:
|
|
1245
|
-
chatLoader:
|
|
1246
|
-
chatLoaderCompact:
|
|
1247
|
-
spinner:
|
|
1248
|
-
chatLoaderText:
|
|
1249
|
-
imageWrapper:
|
|
1250
|
-
image:
|
|
1251
|
-
addBtn:
|
|
1252
|
-
title:
|
|
1253
|
-
price:
|
|
1254
|
-
priceRow:
|
|
1255
|
-
landscapeCard:
|
|
1256
|
-
landscapeImageWrapper:
|
|
1257
|
-
landscapeImage:
|
|
1258
|
-
landscapeContent:
|
|
1259
|
-
landscapeTitle:
|
|
1260
|
-
landscapePriceRow:
|
|
1261
|
-
landscapePrice:
|
|
1262
|
-
landscapeAdd:
|
|
1263
|
-
carousel:
|
|
1264
|
-
customSheetOverlay:
|
|
1265
|
-
customSheet:
|
|
1266
|
-
customSheetTitle:
|
|
1267
|
-
customSheetRow:
|
|
1268
|
-
customInputWrap:
|
|
1269
|
-
currencySymbol:
|
|
1270
|
-
customInput:
|
|
1271
|
-
customContinueBtn:
|
|
1272
|
-
carouselDots:
|
|
1273
|
-
dot:
|
|
1274
|
-
dotActive:
|
|
1275
|
-
pujaBanner:
|
|
1276
|
-
pujaWrapperVertical:
|
|
1277
|
-
pujaCardVertical:
|
|
1278
|
-
pujaImage:
|
|
1279
|
-
pujaContent:
|
|
1280
|
-
pujaTitle:
|
|
1281
|
-
pujaSub:
|
|
1282
|
-
locationIcon:
|
|
1283
|
-
dateIcon:
|
|
1284
|
-
pujaTrustmakers:
|
|
1285
|
-
pujaMetaText:
|
|
1286
|
-
pujaCardHorizontal:
|
|
1287
|
-
pujaImageHorizontal:
|
|
1288
|
-
pujaContentHorizontal:
|
|
1289
|
-
pujaTitleHorizontal:
|
|
1290
|
-
pujaSubHorizontal:
|
|
1291
|
-
stickyTabs:
|
|
1292
|
-
landscapeLayout:
|
|
1293
|
-
landscapeLeft:
|
|
1294
|
-
landscapeRight:
|
|
1295
|
-
landscapePanelHeader:
|
|
1296
|
-
landscapeCloseBtn:
|
|
1297
|
-
landscapePanelBody:
|
|
1298
|
-
landscapeChat:
|
|
1299
|
-
fullscreenPanelHeader:
|
|
1300
|
-
fullscreenChatCloseBtn:
|
|
1301
|
-
fullscreenPanelScroll:
|
|
1302
|
-
sectionsScroll:
|
|
1303
|
-
fullscreenWithPanel:
|
|
1304
|
-
fullscreenLeft:
|
|
1305
|
-
fullscreenVideoArea:
|
|
1306
|
-
},
|
|
1228
|
+
}, _n = "_container_bklxu_2", vn = "_video_bklxu_26", bn = "_videoFullscreenWithBelowBanner_bklxu_38", yn = "_banner_bklxu_45", jn = "_bannerCard_bklxu_62", wn = "_bannerTitle_bklxu_71", kn = "_pujaTopTitle_bklxu_97", Sn = "_landscapeHeader_bklxu_120", Cn = "_scroll_bklxu_140", Nn = "_landscapeScroll_bklxu_148", Tn = "_card_bklxu_156", En = "_divider_bklxu_177", Pn = "_chat_bklxu_186", In = "_iframe_bklxu_210", Rn = "_fullscreenBtn_bklxu_217", Ln = "_fullscreenChatPanel_bklxu_316", Dn = "_chatLoader_bklxu_332", An = "_chatLoaderCompact_bklxu_345", Fn = "_spinner_bklxu_349", Bn = "_chatLoaderText_bklxu_363", On = "_imageWrapper_bklxu_378", Mn = "_image_bklxu_378", $n = "_addBtn_bklxu_395", Un = "_title_bklxu_408", Wn = "_price_bklxu_419", Hn = "_priceRow_bklxu_429", Vn = "_landscapeCard_bklxu_453", Yn = "_landscapeImageWrapper_bklxu_475", zn = "_landscapeImage_bklxu_475", Gn = "_landscapeContent_bklxu_492", Jn = "_landscapeTitle_bklxu_503", Kn = "_landscapePriceRow_bklxu_517", qn = "_landscapePrice_bklxu_517", Zn = "_landscapeAdd_bklxu_567", Xn = "_carousel_bklxu_632", Qn = "_customSheetOverlay_bklxu_658", es = "_customSheet_bklxu_658", ts = "_customSheetTitle_bklxu_679", as = "_customSheetRow_bklxu_689", ns = "_customInputWrap_bklxu_695", ss = "_currencySymbol_bklxu_701", rs = "_customInput_bklxu_695", is = "_customContinueBtn_bklxu_730", os = "_carouselDots_bklxu_827", ls = "_dot_bklxu_838", cs = "_dotActive_bklxu_849", ds = "_pujaBanner_bklxu_857", us = "_pujaWrapperVertical_bklxu_869", ps = "_pujaCardVertical_bklxu_886", hs = "_pujaImage_bklxu_903", fs = "_pujaContent_bklxu_913", ms = "_pujaTitle_bklxu_919", xs = "_pujaSub_bklxu_934", gs = "_locationIcon_bklxu_951", _s = "_dateIcon_bklxu_957", vs = "_pujaTrustmakers_bklxu_964", bs = "_pujaMetaText_bklxu_981", ys = "_pujaCardHorizontal_bklxu_990", js = "_pujaImageHorizontal_bklxu_1007", ws = "_pujaContentHorizontal_bklxu_1017", ks = "_pujaTitleHorizontal_bklxu_1047", Ss = "_pujaSubHorizontal_bklxu_1062", Cs = "_stickyTabs_bklxu_1079", Ns = "_landscapeLayout_bklxu_1087", Ts = "_landscapeLeft_bklxu_1095", Es = "_landscapeRight_bklxu_1102", Ps = "_landscapePanelHeader_bklxu_1112", Is = "_landscapeCloseBtn_bklxu_1120", Rs = "_landscapePanelBody_bklxu_1138", Ls = "_landscapeChat_bklxu_1145", Ds = "_fullscreenPanelHeader_bklxu_1152", As = "_fullscreenChatCloseBtn_bklxu_1160", Fs = "_fullscreenPanelScroll_bklxu_1180", Bs = "_sectionsScroll_bklxu_1261", Os = "_fullscreenWithPanel_bklxu_1270", Ms = "_fullscreenLeft_bklxu_1280", $s = "_fullscreenVideoArea_bklxu_1289", c = {
|
|
1229
|
+
container: _n,
|
|
1230
|
+
video: vn,
|
|
1231
|
+
videoFullscreenWithBelowBanner: bn,
|
|
1232
|
+
banner: yn,
|
|
1233
|
+
bannerCard: jn,
|
|
1234
|
+
bannerTitle: wn,
|
|
1235
|
+
pujaTopTitle: kn,
|
|
1236
|
+
landscapeHeader: Sn,
|
|
1237
|
+
scroll: Cn,
|
|
1238
|
+
landscapeScroll: Nn,
|
|
1239
|
+
card: Tn,
|
|
1240
|
+
divider: En,
|
|
1241
|
+
chat: Pn,
|
|
1242
|
+
iframe: In,
|
|
1243
|
+
fullscreenBtn: Rn,
|
|
1244
|
+
fullscreenChatPanel: Ln,
|
|
1245
|
+
chatLoader: Dn,
|
|
1246
|
+
chatLoaderCompact: An,
|
|
1247
|
+
spinner: Fn,
|
|
1248
|
+
chatLoaderText: Bn,
|
|
1249
|
+
imageWrapper: On,
|
|
1250
|
+
image: Mn,
|
|
1251
|
+
addBtn: $n,
|
|
1252
|
+
title: Un,
|
|
1253
|
+
price: Wn,
|
|
1254
|
+
priceRow: Hn,
|
|
1255
|
+
landscapeCard: Vn,
|
|
1256
|
+
landscapeImageWrapper: Yn,
|
|
1257
|
+
landscapeImage: zn,
|
|
1258
|
+
landscapeContent: Gn,
|
|
1259
|
+
landscapeTitle: Jn,
|
|
1260
|
+
landscapePriceRow: Kn,
|
|
1261
|
+
landscapePrice: qn,
|
|
1262
|
+
landscapeAdd: Zn,
|
|
1263
|
+
carousel: Xn,
|
|
1264
|
+
customSheetOverlay: Qn,
|
|
1265
|
+
customSheet: es,
|
|
1266
|
+
customSheetTitle: ts,
|
|
1267
|
+
customSheetRow: as,
|
|
1268
|
+
customInputWrap: ns,
|
|
1269
|
+
currencySymbol: ss,
|
|
1270
|
+
customInput: rs,
|
|
1271
|
+
customContinueBtn: is,
|
|
1272
|
+
carouselDots: os,
|
|
1273
|
+
dot: ls,
|
|
1274
|
+
dotActive: cs,
|
|
1275
|
+
pujaBanner: ds,
|
|
1276
|
+
pujaWrapperVertical: us,
|
|
1277
|
+
pujaCardVertical: ps,
|
|
1278
|
+
pujaImage: hs,
|
|
1279
|
+
pujaContent: fs,
|
|
1280
|
+
pujaTitle: ms,
|
|
1281
|
+
pujaSub: xs,
|
|
1282
|
+
locationIcon: gs,
|
|
1283
|
+
dateIcon: _s,
|
|
1284
|
+
pujaTrustmakers: vs,
|
|
1285
|
+
pujaMetaText: bs,
|
|
1286
|
+
pujaCardHorizontal: ys,
|
|
1287
|
+
pujaImageHorizontal: js,
|
|
1288
|
+
pujaContentHorizontal: ws,
|
|
1289
|
+
pujaTitleHorizontal: ks,
|
|
1290
|
+
pujaSubHorizontal: Ss,
|
|
1291
|
+
stickyTabs: Cs,
|
|
1292
|
+
landscapeLayout: Ns,
|
|
1293
|
+
landscapeLeft: Ts,
|
|
1294
|
+
landscapeRight: Es,
|
|
1295
|
+
landscapePanelHeader: Ps,
|
|
1296
|
+
landscapeCloseBtn: Is,
|
|
1297
|
+
landscapePanelBody: Rs,
|
|
1298
|
+
landscapeChat: Ls,
|
|
1299
|
+
fullscreenPanelHeader: Ds,
|
|
1300
|
+
fullscreenChatCloseBtn: As,
|
|
1301
|
+
fullscreenPanelScroll: Fs,
|
|
1302
|
+
sectionsScroll: Bs,
|
|
1303
|
+
fullscreenWithPanel: Os,
|
|
1304
|
+
fullscreenLeft: Ms,
|
|
1305
|
+
fullscreenVideoArea: $s
|
|
1306
|
+
}, Us = ({ active: a = !1 }) => /* @__PURE__ */ e.jsx(
|
|
1307
1307
|
"img",
|
|
1308
1308
|
{
|
|
1309
1309
|
src: "https://srm-cdn.a4b.io/yoda/1776257217651.svg",
|
|
@@ -1313,37 +1313,37 @@ const ia = sa(void 0), oa = () => {
|
|
|
1313
1313
|
"aria-hidden": "true",
|
|
1314
1314
|
style: a ? { filter: "brightness(0) invert(1)" } : void 0
|
|
1315
1315
|
}
|
|
1316
|
-
),
|
|
1316
|
+
), Ws = {
|
|
1317
1317
|
streaks: "Streaks",
|
|
1318
1318
|
share: "Share",
|
|
1319
1319
|
store: "Store",
|
|
1320
1320
|
subscription: "Subscription"
|
|
1321
|
-
},
|
|
1321
|
+
}, Nt = ({
|
|
1322
1322
|
activeTab: a,
|
|
1323
1323
|
onTabChange: n,
|
|
1324
1324
|
onChatPress: s,
|
|
1325
|
-
chatOpen:
|
|
1326
|
-
showSubscription:
|
|
1327
|
-
isLive:
|
|
1325
|
+
chatOpen: o = !1,
|
|
1326
|
+
showSubscription: i = !1,
|
|
1327
|
+
isLive: m = !0
|
|
1328
1328
|
}) => {
|
|
1329
|
-
const r =
|
|
1329
|
+
const r = i ? ["streaks", "share", "store", "subscription"] : ["streaks", "share", "store"];
|
|
1330
1330
|
return /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root flex-1 min-w-0", children: /* @__PURE__ */ e.jsxs(
|
|
1331
1331
|
"div",
|
|
1332
1332
|
{
|
|
1333
1333
|
className: "w-full flex items-center gap-[24px] px-3 bg-white border-b border-gray-200 overflow-x-auto overflow-y-hidden [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
1334
1334
|
style: { minHeight: 44 },
|
|
1335
1335
|
children: [
|
|
1336
|
-
|
|
1336
|
+
m && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1337
1337
|
/* @__PURE__ */ e.jsxs(
|
|
1338
1338
|
"button",
|
|
1339
1339
|
{
|
|
1340
1340
|
type: "button",
|
|
1341
1341
|
onClick: s,
|
|
1342
|
-
"aria-label":
|
|
1343
|
-
"aria-pressed":
|
|
1344
|
-
className: `flex items-center gap-1 px-2.5 py-1 rounded-full border cursor-pointer flex-shrink-0 transition-colors ${
|
|
1342
|
+
"aria-label": o ? "Close chat" : "Open chat",
|
|
1343
|
+
"aria-pressed": o,
|
|
1344
|
+
className: `flex items-center gap-1 px-2.5 py-1 rounded-full border cursor-pointer flex-shrink-0 transition-colors ${o ? "border-[#F75E22] bg-[#F75E22] text-white" : "border-gray-200 bg-transparent text-gray-800 hover:bg-gray-50"}`,
|
|
1345
1345
|
children: [
|
|
1346
|
-
/* @__PURE__ */ e.jsx(
|
|
1346
|
+
/* @__PURE__ */ e.jsx(Us, { active: o }),
|
|
1347
1347
|
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-semibold whitespace-nowrap", children: "Chats" })
|
|
1348
1348
|
]
|
|
1349
1349
|
}
|
|
@@ -1359,35 +1359,35 @@ const ia = sa(void 0), oa = () => {
|
|
|
1359
1359
|
/* @__PURE__ */ e.jsx(
|
|
1360
1360
|
"nav",
|
|
1361
1361
|
{
|
|
1362
|
-
className: `flex items-stretch gap-[24px] ${
|
|
1362
|
+
className: `flex items-stretch gap-[24px] ${m ? "" : "w-full justify-center"}`,
|
|
1363
1363
|
"aria-label": "DLP navigation",
|
|
1364
|
-
children: r.map((
|
|
1365
|
-
const
|
|
1364
|
+
children: r.map((h) => {
|
|
1365
|
+
const d = h === a;
|
|
1366
1366
|
return /* @__PURE__ */ e.jsxs(
|
|
1367
1367
|
"button",
|
|
1368
1368
|
{
|
|
1369
1369
|
type: "button",
|
|
1370
1370
|
role: "tab",
|
|
1371
|
-
"aria-selected":
|
|
1372
|
-
onClick: () => n(
|
|
1371
|
+
"aria-selected": d,
|
|
1372
|
+
onClick: () => n(h),
|
|
1373
1373
|
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
1374
|
children: [
|
|
1375
1375
|
/* @__PURE__ */ e.jsx(
|
|
1376
1376
|
"span",
|
|
1377
1377
|
{
|
|
1378
|
-
className: `text-[14px] font-semibold whitespace-nowrap pb-1.5 ${
|
|
1379
|
-
children:
|
|
1378
|
+
className: `text-[14px] font-semibold whitespace-nowrap pb-1.5 ${d && !o ? "text-orange-500" : "text-gray-500"}`,
|
|
1379
|
+
children: Ws[h]
|
|
1380
1380
|
}
|
|
1381
1381
|
),
|
|
1382
1382
|
/* @__PURE__ */ e.jsx(
|
|
1383
1383
|
"span",
|
|
1384
1384
|
{
|
|
1385
|
-
className: `block w-full h-0.5 rounded-t ${
|
|
1385
|
+
className: `block w-full h-0.5 rounded-t ${d && !o ? "bg-orange-500" : "bg-transparent"}`
|
|
1386
1386
|
}
|
|
1387
1387
|
)
|
|
1388
1388
|
]
|
|
1389
1389
|
},
|
|
1390
|
-
|
|
1390
|
+
h
|
|
1391
1391
|
);
|
|
1392
1392
|
})
|
|
1393
1393
|
}
|
|
@@ -1395,26 +1395,26 @@ const ia = sa(void 0), oa = () => {
|
|
|
1395
1395
|
]
|
|
1396
1396
|
}
|
|
1397
1397
|
) });
|
|
1398
|
-
},
|
|
1399
|
-
header:
|
|
1400
|
-
leftBlock:
|
|
1401
|
-
logo:
|
|
1402
|
-
titleBlock:
|
|
1403
|
-
title:
|
|
1404
|
-
subtitle:
|
|
1405
|
-
tags:
|
|
1406
|
-
liveTag:
|
|
1407
|
-
liveDot:
|
|
1408
|
-
daysTag:
|
|
1409
|
-
joinFreeTag:
|
|
1410
|
-
},
|
|
1398
|
+
}, Hs = "_header_28eb9_1", Vs = "_leftBlock_28eb9_5", Ys = "_logo_28eb9_9", zs = "_titleBlock_28eb9_13", Gs = "_title_28eb9_13", Js = "_subtitle_28eb9_21", Ks = "_tags_28eb9_25", qs = "_liveTag_28eb9_29", Zs = "_liveDot_28eb9_33", Xs = "_daysTag_28eb9_37", Qs = "_joinFreeTag_28eb9_43", oe = {
|
|
1399
|
+
header: Hs,
|
|
1400
|
+
leftBlock: Vs,
|
|
1401
|
+
logo: Ys,
|
|
1402
|
+
titleBlock: zs,
|
|
1403
|
+
title: Gs,
|
|
1404
|
+
subtitle: Js,
|
|
1405
|
+
tags: Ks,
|
|
1406
|
+
liveTag: qs,
|
|
1407
|
+
liveDot: Zs,
|
|
1408
|
+
daysTag: Xs,
|
|
1409
|
+
joinFreeTag: Qs
|
|
1410
|
+
}, er = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Ht = ({
|
|
1411
1411
|
isLive: a = !1,
|
|
1412
1412
|
daysRemaining: n,
|
|
1413
1413
|
isLoggedIn: s = !0,
|
|
1414
|
-
onJoinClick:
|
|
1414
|
+
onJoinClick: o
|
|
1415
1415
|
}) => /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: oe.header, children: [
|
|
1416
1416
|
/* @__PURE__ */ e.jsxs("div", { className: oe.leftBlock, children: [
|
|
1417
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
1417
|
+
/* @__PURE__ */ e.jsx("img", { src: er, className: oe.logo, alt: "Puja" }),
|
|
1418
1418
|
/* @__PURE__ */ e.jsxs("div", { className: oe.titleBlock, children: [
|
|
1419
1419
|
/* @__PURE__ */ e.jsx("h1", { className: oe.title, children: "Sri Mandir" }),
|
|
1420
1420
|
/* @__PURE__ */ e.jsx("h6", { className: oe.subtitle, children: "Daily Live Puja" })
|
|
@@ -1434,21 +1434,21 @@ const ia = sa(void 0), oa = () => {
|
|
|
1434
1434
|
{
|
|
1435
1435
|
type: "button",
|
|
1436
1436
|
className: oe.joinFreeTag,
|
|
1437
|
-
onClick:
|
|
1437
|
+
onClick: o,
|
|
1438
1438
|
children: "Join Free"
|
|
1439
1439
|
}
|
|
1440
1440
|
)
|
|
1441
|
-
] }) }),
|
|
1442
|
-
wrapper:
|
|
1443
|
-
marker:
|
|
1444
|
-
iconWrap:
|
|
1445
|
-
label:
|
|
1446
|
-
dot:
|
|
1447
|
-
},
|
|
1441
|
+
] }) }), tr = "_wrapper_1ef52_1", ar = "_marker_1ef52_6", nr = "_iconWrap_1ef52_10", sr = "_label_1ef52_14", rr = "_dot_1ef52_19", rt = {
|
|
1442
|
+
wrapper: tr,
|
|
1443
|
+
marker: ar,
|
|
1444
|
+
iconWrap: nr,
|
|
1445
|
+
label: sr,
|
|
1446
|
+
dot: rr
|
|
1447
|
+
}, Vt = [
|
|
1448
1448
|
{ id: "devotees", label: "1.2L+ Devotees" },
|
|
1449
1449
|
{ id: "rating", label: "4.9 Rating" },
|
|
1450
1450
|
{ id: "verified", label: "Verified Pandit" }
|
|
1451
|
-
],
|
|
1451
|
+
], ha = () => /* @__PURE__ */ e.jsxs(
|
|
1452
1452
|
"svg",
|
|
1453
1453
|
{
|
|
1454
1454
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1479,7 +1479,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
1479
1479
|
)
|
|
1480
1480
|
]
|
|
1481
1481
|
}
|
|
1482
|
-
),
|
|
1482
|
+
), ir = () => /* @__PURE__ */ e.jsx(
|
|
1483
1483
|
"svg",
|
|
1484
1484
|
{
|
|
1485
1485
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1499,7 +1499,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
1499
1499
|
}
|
|
1500
1500
|
)
|
|
1501
1501
|
}
|
|
1502
|
-
),
|
|
1502
|
+
), or = () => /* @__PURE__ */ e.jsxs(
|
|
1503
1503
|
"svg",
|
|
1504
1504
|
{
|
|
1505
1505
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1546,56 +1546,56 @@ const ia = sa(void 0), oa = () => {
|
|
|
1546
1546
|
)
|
|
1547
1547
|
]
|
|
1548
1548
|
}
|
|
1549
|
-
),
|
|
1550
|
-
devotees:
|
|
1551
|
-
rating:
|
|
1552
|
-
verified:
|
|
1553
|
-
},
|
|
1554
|
-
const s =
|
|
1555
|
-
return /* @__PURE__ */ e.jsxs(
|
|
1556
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1557
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1558
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1549
|
+
), lr = {
|
|
1550
|
+
devotees: or,
|
|
1551
|
+
rating: ir,
|
|
1552
|
+
verified: ha
|
|
1553
|
+
}, Yt = () => /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsx("div", { className: rt.wrapper, children: Vt.map((a, n) => {
|
|
1554
|
+
const s = lr[a.id] || ha;
|
|
1555
|
+
return /* @__PURE__ */ e.jsxs(We.Fragment, { children: [
|
|
1556
|
+
/* @__PURE__ */ e.jsxs("div", { className: rt.marker, children: [
|
|
1557
|
+
/* @__PURE__ */ e.jsx("span", { className: rt.iconWrap, children: /* @__PURE__ */ e.jsx(s, {}) }),
|
|
1558
|
+
/* @__PURE__ */ e.jsx("span", { className: rt.label, children: a.label })
|
|
1559
1559
|
] }),
|
|
1560
|
-
n <
|
|
1560
|
+
n < Vt.length - 1 && /* @__PURE__ */ e.jsx("span", { className: rt.dot, "aria-hidden": "true", children: "•" })
|
|
1561
1561
|
] }, a.id);
|
|
1562
|
-
}) }) }),
|
|
1563
|
-
root:
|
|
1564
|
-
highlights:
|
|
1565
|
-
highlightColumn:
|
|
1566
|
-
highlightItem:
|
|
1567
|
-
highlightTick:
|
|
1568
|
-
section:
|
|
1569
|
-
devoteesSection:
|
|
1570
|
-
sectionTitle:
|
|
1571
|
-
benefitsList:
|
|
1572
|
-
benefitItem:
|
|
1573
|
-
benefitIcon:
|
|
1574
|
-
benefitTitle:
|
|
1575
|
-
benefitDesc:
|
|
1576
|
-
testimonialsScroll:
|
|
1577
|
-
testimonialCard:
|
|
1578
|
-
testimonialHeader:
|
|
1579
|
-
avatar:
|
|
1580
|
-
name:
|
|
1581
|
-
location:
|
|
1582
|
-
stars:
|
|
1583
|
-
quote:
|
|
1584
|
-
quoteClamped:
|
|
1585
|
-
readMoreButton:
|
|
1586
|
-
stickyJoinSection:
|
|
1587
|
-
stickyJoinHead:
|
|
1588
|
-
avatarGroup:
|
|
1589
|
-
stickyAvatar:
|
|
1590
|
-
stickyAvatarLabel:
|
|
1591
|
-
stickyAvatar1:
|
|
1592
|
-
stickyAvatar2:
|
|
1593
|
-
stickyAvatar3:
|
|
1594
|
-
stickyAvatarMore:
|
|
1595
|
-
stickyJoinText:
|
|
1596
|
-
stickyJoinCta:
|
|
1597
|
-
stickyJoinSubtext:
|
|
1598
|
-
},
|
|
1562
|
+
}) }) }), cr = "_root_4o5di_1", dr = "_highlights_4o5di_5", ur = "_highlightColumn_4o5di_9", pr = "_highlightItem_4o5di_13", hr = "_highlightTick_4o5di_18", fr = "_section_4o5di_22", mr = "_devoteesSection_4o5di_26", xr = "_sectionTitle_4o5di_30", gr = "_benefitsList_4o5di_34", _r = "_benefitItem_4o5di_38", vr = "_benefitIcon_4o5di_42", br = "_benefitTitle_4o5di_46", yr = "_benefitDesc_4o5di_50", jr = "_testimonialsScroll_4o5di_54", wr = "_testimonialCard_4o5di_58", kr = "_testimonialHeader_4o5di_62", Sr = "_avatar_4o5di_66", Cr = "_name_4o5di_70", Nr = "_location_4o5di_74", Tr = "_stars_4o5di_78", Er = "_quote_4o5di_82", Pr = "_quoteClamped_4o5di_86", Ir = "_readMoreButton_4o5di_94", Rr = "_stickyJoinSection_4o5di_99", Lr = "_stickyJoinHead_4o5di_107", Dr = "_avatarGroup_4o5di_111", Ar = "_stickyAvatar_4o5di_115", Fr = "_stickyAvatarLabel_4o5di_121", Br = "_stickyAvatar1_4o5di_134", Or = "_stickyAvatar2_4o5di_138", Mr = "_stickyAvatar3_4o5di_142", $r = "_stickyAvatarMore_4o5di_146", Ur = "_stickyJoinText_4o5di_150", Wr = "_stickyJoinCta_4o5di_158", Hr = "_stickyJoinSubtext_4o5di_164", P = {
|
|
1563
|
+
root: cr,
|
|
1564
|
+
highlights: dr,
|
|
1565
|
+
highlightColumn: ur,
|
|
1566
|
+
highlightItem: pr,
|
|
1567
|
+
highlightTick: hr,
|
|
1568
|
+
section: fr,
|
|
1569
|
+
devoteesSection: mr,
|
|
1570
|
+
sectionTitle: xr,
|
|
1571
|
+
benefitsList: gr,
|
|
1572
|
+
benefitItem: _r,
|
|
1573
|
+
benefitIcon: vr,
|
|
1574
|
+
benefitTitle: br,
|
|
1575
|
+
benefitDesc: yr,
|
|
1576
|
+
testimonialsScroll: jr,
|
|
1577
|
+
testimonialCard: wr,
|
|
1578
|
+
testimonialHeader: kr,
|
|
1579
|
+
avatar: Sr,
|
|
1580
|
+
name: Cr,
|
|
1581
|
+
location: Nr,
|
|
1582
|
+
stars: Tr,
|
|
1583
|
+
quote: Er,
|
|
1584
|
+
quoteClamped: Pr,
|
|
1585
|
+
readMoreButton: Ir,
|
|
1586
|
+
stickyJoinSection: Rr,
|
|
1587
|
+
stickyJoinHead: Lr,
|
|
1588
|
+
avatarGroup: Dr,
|
|
1589
|
+
stickyAvatar: Ar,
|
|
1590
|
+
stickyAvatarLabel: Fr,
|
|
1591
|
+
stickyAvatar1: Br,
|
|
1592
|
+
stickyAvatar2: Or,
|
|
1593
|
+
stickyAvatar3: Mr,
|
|
1594
|
+
stickyAvatarMore: $r,
|
|
1595
|
+
stickyJoinText: Ur,
|
|
1596
|
+
stickyJoinCta: Wr,
|
|
1597
|
+
stickyJoinSubtext: Hr
|
|
1598
|
+
}, zt = () => /* @__PURE__ */ e.jsx(
|
|
1599
1599
|
"svg",
|
|
1600
1600
|
{
|
|
1601
1601
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1614,48 +1614,48 @@ const ia = sa(void 0), oa = () => {
|
|
|
1614
1614
|
}
|
|
1615
1615
|
)
|
|
1616
1616
|
}
|
|
1617
|
-
),
|
|
1618
|
-
|
|
1617
|
+
), Vr = ({ onImpression: a }) => {
|
|
1618
|
+
We.useEffect(() => {
|
|
1619
1619
|
a?.("Service Awarness");
|
|
1620
1620
|
}, [a]);
|
|
1621
|
-
const n =
|
|
1621
|
+
const n = Ut.slice(0, 2), s = Ut.slice(2, 4);
|
|
1622
1622
|
return /* @__PURE__ */ e.jsxs("section", { className: P.highlights, children: [
|
|
1623
|
-
/* @__PURE__ */ e.jsx("div", { className: P.highlightColumn, children: n.map((
|
|
1624
|
-
/* @__PURE__ */ e.jsx("span", { className: P.highlightTick, children: /* @__PURE__ */ e.jsx(
|
|
1625
|
-
/* @__PURE__ */ e.jsx("span", { children:
|
|
1626
|
-
] },
|
|
1627
|
-
/* @__PURE__ */ e.jsx("div", { className: P.highlightColumn, children: s.map((
|
|
1628
|
-
/* @__PURE__ */ e.jsx("span", { className: P.highlightTick, children: /* @__PURE__ */ e.jsx(
|
|
1629
|
-
/* @__PURE__ */ e.jsx("span", { children:
|
|
1630
|
-
] },
|
|
1623
|
+
/* @__PURE__ */ e.jsx("div", { className: P.highlightColumn, children: n.map((o) => /* @__PURE__ */ e.jsxs("div", { className: P.highlightItem, children: [
|
|
1624
|
+
/* @__PURE__ */ e.jsx("span", { className: P.highlightTick, children: /* @__PURE__ */ e.jsx(zt, {}) }),
|
|
1625
|
+
/* @__PURE__ */ e.jsx("span", { children: o.label })
|
|
1626
|
+
] }, o.id)) }),
|
|
1627
|
+
/* @__PURE__ */ e.jsx("div", { className: P.highlightColumn, children: s.map((o) => /* @__PURE__ */ e.jsxs("div", { className: P.highlightItem, children: [
|
|
1628
|
+
/* @__PURE__ */ e.jsx("span", { className: P.highlightTick, children: /* @__PURE__ */ e.jsx(zt, {}) }),
|
|
1629
|
+
/* @__PURE__ */ e.jsx("span", { children: o.label })
|
|
1630
|
+
] }, o.id)) })
|
|
1631
1631
|
] });
|
|
1632
|
-
},
|
|
1632
|
+
}, Yr = ({ onImpression: a }) => (We.useEffect(() => {
|
|
1633
1633
|
a?.("Sampler Video");
|
|
1634
1634
|
}, [a]), /* @__PURE__ */ e.jsxs("section", { className: P.section, children: [
|
|
1635
1635
|
/* @__PURE__ */ e.jsx("h2", { className: P.sectionTitle, children: "What You'll Get" }),
|
|
1636
|
-
/* @__PURE__ */ e.jsx("div", { className: P.benefitsList, children:
|
|
1636
|
+
/* @__PURE__ */ e.jsx("div", { className: P.benefitsList, children: Ga.map((n) => /* @__PURE__ */ e.jsxs("div", { className: P.benefitItem, children: [
|
|
1637
1637
|
/* @__PURE__ */ e.jsx("img", { src: n.iconUrl, alt: n.title, className: P.benefitIcon }),
|
|
1638
1638
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1639
1639
|
/* @__PURE__ */ e.jsx("p", { className: P.benefitTitle, children: n.title }),
|
|
1640
1640
|
/* @__PURE__ */ e.jsx("p", { className: P.benefitDesc, children: n.description })
|
|
1641
1641
|
] })
|
|
1642
1642
|
] }, n.id)) })
|
|
1643
|
-
] })),
|
|
1644
|
-
const [n, s] = S(!1), [
|
|
1645
|
-
const
|
|
1646
|
-
if (!
|
|
1643
|
+
] })), zr = (a) => "★".repeat(Math.max(0, a)), Gr = ({ item: a }) => {
|
|
1644
|
+
const [n, s] = S(!1), [o, i] = S(!1), m = F(null), r = ct(() => {
|
|
1645
|
+
const h = m.current;
|
|
1646
|
+
if (!h || n)
|
|
1647
1647
|
return;
|
|
1648
|
-
const
|
|
1649
|
-
|
|
1648
|
+
const d = h.scrollHeight > h.clientHeight + 1;
|
|
1649
|
+
i(d);
|
|
1650
1650
|
}, [n]);
|
|
1651
1651
|
return B(() => {
|
|
1652
1652
|
if (n) {
|
|
1653
|
-
|
|
1653
|
+
i(!1);
|
|
1654
1654
|
return;
|
|
1655
1655
|
}
|
|
1656
|
-
const
|
|
1656
|
+
const h = window.requestAnimationFrame(r);
|
|
1657
1657
|
return window.addEventListener("resize", r), () => {
|
|
1658
|
-
window.cancelAnimationFrame(
|
|
1658
|
+
window.cancelAnimationFrame(h), window.removeEventListener("resize", r);
|
|
1659
1659
|
};
|
|
1660
1660
|
}, [r, n, a.quote]), /* @__PURE__ */ e.jsxs("article", { className: P.testimonialCard, children: [
|
|
1661
1661
|
/* @__PURE__ */ e.jsxs("div", { className: P.testimonialHeader, children: [
|
|
@@ -1663,13 +1663,13 @@ const ia = sa(void 0), oa = () => {
|
|
|
1663
1663
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1664
1664
|
/* @__PURE__ */ e.jsx("p", { className: P.name, children: a.name }),
|
|
1665
1665
|
/* @__PURE__ */ e.jsx("p", { className: P.location, children: a.location }),
|
|
1666
|
-
/* @__PURE__ */ e.jsx("div", { className: P.stars, children:
|
|
1666
|
+
/* @__PURE__ */ e.jsx("div", { className: P.stars, children: zr(a.rating) })
|
|
1667
1667
|
] })
|
|
1668
1668
|
] }),
|
|
1669
1669
|
/* @__PURE__ */ e.jsxs(
|
|
1670
1670
|
"p",
|
|
1671
1671
|
{
|
|
1672
|
-
ref:
|
|
1672
|
+
ref: m,
|
|
1673
1673
|
className: `${P.quote} ${n ? "" : P.quoteClamped}`.trim(),
|
|
1674
1674
|
children: [
|
|
1675
1675
|
'" ',
|
|
@@ -1678,7 +1678,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
1678
1678
|
]
|
|
1679
1679
|
}
|
|
1680
1680
|
),
|
|
1681
|
-
|
|
1681
|
+
o && !n && /* @__PURE__ */ e.jsx(
|
|
1682
1682
|
"button",
|
|
1683
1683
|
{
|
|
1684
1684
|
type: "button",
|
|
@@ -1688,7 +1688,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
1688
1688
|
}
|
|
1689
1689
|
)
|
|
1690
1690
|
] }, a.id);
|
|
1691
|
-
},
|
|
1691
|
+
}, Jr = ({ onImpression: a, onSwipe: n }) => {
|
|
1692
1692
|
const s = F(!1);
|
|
1693
1693
|
return B(() => {
|
|
1694
1694
|
a?.("Reviews");
|
|
@@ -1701,22 +1701,22 @@ const ia = sa(void 0), oa = () => {
|
|
|
1701
1701
|
onScroll: () => {
|
|
1702
1702
|
s.current || (s.current = !0, n?.());
|
|
1703
1703
|
},
|
|
1704
|
-
children:
|
|
1704
|
+
children: Ja.map((o) => /* @__PURE__ */ e.jsx(Gr, { item: o }, o.id))
|
|
1705
1705
|
}
|
|
1706
1706
|
)
|
|
1707
1707
|
] });
|
|
1708
|
-
},
|
|
1708
|
+
}, Kr = ["R", "P", "A"], qr = ({
|
|
1709
1709
|
onJoinClick: a,
|
|
1710
1710
|
onImpression: n
|
|
1711
|
-
}) => (
|
|
1711
|
+
}) => (We.useEffect(() => {
|
|
1712
1712
|
n?.("Login CTA");
|
|
1713
1713
|
}, [n]), /* @__PURE__ */ e.jsxs("section", { className: P.stickyJoinSection, children: [
|
|
1714
1714
|
/* @__PURE__ */ e.jsxs("div", { className: P.stickyJoinHead, children: [
|
|
1715
1715
|
/* @__PURE__ */ e.jsxs("div", { className: P.avatarGroup, children: [
|
|
1716
|
-
|
|
1716
|
+
Kr.map((s, o) => /* @__PURE__ */ e.jsx(
|
|
1717
1717
|
"span",
|
|
1718
1718
|
{
|
|
1719
|
-
className: `${P.stickyAvatar} ${P[`stickyAvatar${
|
|
1719
|
+
className: `${P.stickyAvatar} ${P[`stickyAvatar${o + 1}`]}`,
|
|
1720
1720
|
children: /* @__PURE__ */ e.jsx("span", { className: P.stickyAvatarLabel, children: s })
|
|
1721
1721
|
},
|
|
1722
1722
|
s
|
|
@@ -1738,36 +1738,36 @@ const ia = sa(void 0), oa = () => {
|
|
|
1738
1738
|
}
|
|
1739
1739
|
),
|
|
1740
1740
|
/* @__PURE__ */ e.jsx("p", { className: P.stickyJoinSubtext, children: "You'll receive the stream link on WhatsApp. No spam." })
|
|
1741
|
-
] })),
|
|
1741
|
+
] })), Zr = ({
|
|
1742
1742
|
onJoinClick: a,
|
|
1743
1743
|
onSectionImpression: n,
|
|
1744
1744
|
onReviewsSwipe: s
|
|
1745
1745
|
}) => /* @__PURE__ */ e.jsxs("div", { className: P.root, children: [
|
|
1746
|
-
/* @__PURE__ */ e.jsx(
|
|
1747
|
-
/* @__PURE__ */ e.jsx(
|
|
1746
|
+
/* @__PURE__ */ e.jsx(Vr, { onImpression: n }),
|
|
1747
|
+
/* @__PURE__ */ e.jsx(Yr, { onImpression: n }),
|
|
1748
1748
|
/* @__PURE__ */ e.jsx(
|
|
1749
|
-
|
|
1749
|
+
Jr,
|
|
1750
1750
|
{
|
|
1751
1751
|
onImpression: n,
|
|
1752
1752
|
onSwipe: s
|
|
1753
1753
|
}
|
|
1754
1754
|
),
|
|
1755
1755
|
/* @__PURE__ */ e.jsx(
|
|
1756
|
-
|
|
1756
|
+
qr,
|
|
1757
1757
|
{
|
|
1758
1758
|
onJoinClick: a,
|
|
1759
1759
|
onImpression: n
|
|
1760
1760
|
}
|
|
1761
1761
|
)
|
|
1762
|
-
] }),
|
|
1762
|
+
] }), Tt = ({
|
|
1763
1763
|
attendedDays: a,
|
|
1764
1764
|
totalDays: n = 7,
|
|
1765
1765
|
currentDay: s,
|
|
1766
|
-
isInactive:
|
|
1766
|
+
isInactive: o = !1
|
|
1767
1767
|
}) => {
|
|
1768
|
-
if (
|
|
1768
|
+
if (o)
|
|
1769
1769
|
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: [
|
|
1770
|
-
/* @__PURE__ */ e.jsx("h2", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children:
|
|
1770
|
+
/* @__PURE__ */ e.jsx("h2", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: $t }),
|
|
1771
1771
|
/* @__PURE__ */ e.jsxs("div", { className: "rounded-xl border border-gray-200 bg-gray-50 px-4 py-6 text-center", children: [
|
|
1772
1772
|
/* @__PURE__ */ e.jsx(
|
|
1773
1773
|
"div",
|
|
@@ -1797,27 +1797,27 @@ const ia = sa(void 0), oa = () => {
|
|
|
1797
1797
|
/* @__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." })
|
|
1798
1798
|
] })
|
|
1799
1799
|
] }) });
|
|
1800
|
-
const
|
|
1800
|
+
const i = new Set(a), m = a.length, r = 7, d = `calc((100% - ${(r - 1) * 4}px) / ${r})`;
|
|
1801
1801
|
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: [
|
|
1802
|
-
/* @__PURE__ */ e.jsx("h2", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children:
|
|
1802
|
+
/* @__PURE__ */ e.jsx("h2", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: $t }),
|
|
1803
1803
|
/* @__PURE__ */ e.jsx(
|
|
1804
1804
|
"div",
|
|
1805
1805
|
{
|
|
1806
1806
|
className: "flex items-stretch gap-1 pt-1 overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
1807
1807
|
role: "list",
|
|
1808
1808
|
"aria-label": "7-day journey",
|
|
1809
|
-
children: Array.from({ length: n }, (
|
|
1810
|
-
const g = u + 1,
|
|
1809
|
+
children: Array.from({ length: n }, (k, u) => {
|
|
1810
|
+
const g = u + 1, p = i.has(g), v = g === s && !p, j = g > s, N = g < s && !p;
|
|
1811
1811
|
let _ = "border-gray-300 bg-[#F7F8F9] text-gray-500";
|
|
1812
|
-
return
|
|
1812
|
+
return p ? _ = "border-orange-400 bg-orange-200 text-orange-900 shadow-[0_0_8px_rgba(252,207,154,1)]" : v ? _ = "border-orange-400 bg-orange-50 text-orange-800" : j ? _ = "border-gray-300 bg-[#E5E7EB] text-gray-500" : N && (_ = "border-gray-300 bg-[#F7F8F9] text-gray-500"), /* @__PURE__ */ e.jsxs(
|
|
1813
1813
|
"div",
|
|
1814
1814
|
{
|
|
1815
1815
|
role: "listitem",
|
|
1816
|
-
"aria-label": `Day ${g}${
|
|
1816
|
+
"aria-label": `Day ${g}${p ? ", attended" : v ? ", today" : ""}`,
|
|
1817
1817
|
className: `flex flex-col items-center gap-1 rounded-lg border flex-shrink-0 self-stretch ${_}`,
|
|
1818
1818
|
style: {
|
|
1819
|
-
flex: `0 0 ${
|
|
1820
|
-
width:
|
|
1819
|
+
flex: `0 0 ${d}`,
|
|
1820
|
+
width: d,
|
|
1821
1821
|
padding: "8px 4px"
|
|
1822
1822
|
},
|
|
1823
1823
|
children: [
|
|
@@ -1825,14 +1825,14 @@ const ia = sa(void 0), oa = () => {
|
|
|
1825
1825
|
"Day ",
|
|
1826
1826
|
g
|
|
1827
1827
|
] }),
|
|
1828
|
-
|
|
1828
|
+
p ? /* @__PURE__ */ e.jsx("span", { className: "leading-none mt-0.5", "aria-hidden": "true", children: /* @__PURE__ */ e.jsx(
|
|
1829
1829
|
"img",
|
|
1830
1830
|
{
|
|
1831
|
-
src:
|
|
1831
|
+
src: Ta,
|
|
1832
1832
|
alt: "",
|
|
1833
1833
|
style: { width: "28.264px", height: "24px" }
|
|
1834
1834
|
}
|
|
1835
|
-
) }) :
|
|
1835
|
+
) }) : j ? /* @__PURE__ */ e.jsx(
|
|
1836
1836
|
"span",
|
|
1837
1837
|
{
|
|
1838
1838
|
className: "text-[10px] leading-none mt-0.5 text-gray-300",
|
|
@@ -1842,7 +1842,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
1842
1842
|
) : /* @__PURE__ */ e.jsx("span", { className: "leading-none mt-0.5", "aria-hidden": "true", children: /* @__PURE__ */ e.jsx(
|
|
1843
1843
|
"img",
|
|
1844
1844
|
{
|
|
1845
|
-
src:
|
|
1845
|
+
src: Ea,
|
|
1846
1846
|
alt: "",
|
|
1847
1847
|
style: {
|
|
1848
1848
|
width: "32px",
|
|
@@ -1858,9 +1858,9 @@ const ia = sa(void 0), oa = () => {
|
|
|
1858
1858
|
})
|
|
1859
1859
|
}
|
|
1860
1860
|
),
|
|
1861
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] font-semibold text-orange-700 leading-5 m-0", children:
|
|
1861
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] font-semibold text-orange-700 leading-5 m-0", children: Pa(m, n) })
|
|
1862
1862
|
] }) });
|
|
1863
|
-
},
|
|
1863
|
+
}, Xr = () => /* @__PURE__ */ e.jsxs(
|
|
1864
1864
|
"svg",
|
|
1865
1865
|
{
|
|
1866
1866
|
width: "22",
|
|
@@ -1890,10 +1890,10 @@ const ia = sa(void 0), oa = () => {
|
|
|
1890
1890
|
)
|
|
1891
1891
|
]
|
|
1892
1892
|
}
|
|
1893
|
-
),
|
|
1893
|
+
), Et = ({ onShare: a }) => /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: "w-full px-4 py-4 flex flex-col gap-3 bg-white", children: [
|
|
1894
1894
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
1895
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children:
|
|
1896
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] font-medium text-gray-500 leading-[16px] m-0", children:
|
|
1895
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: Ca }),
|
|
1896
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] font-medium text-gray-500 leading-[16px] m-0", children: Na })
|
|
1897
1897
|
] }),
|
|
1898
1898
|
/* @__PURE__ */ e.jsxs(
|
|
1899
1899
|
"button",
|
|
@@ -1904,14 +1904,14 @@ const ia = sa(void 0), oa = () => {
|
|
|
1904
1904
|
style: {
|
|
1905
1905
|
background: "radial-gradient(123.65% 265.91% at 52.2% -165.91%, #0fdf9d, #087955)"
|
|
1906
1906
|
},
|
|
1907
|
-
"aria-label":
|
|
1907
|
+
"aria-label": Mt,
|
|
1908
1908
|
children: [
|
|
1909
|
-
/* @__PURE__ */ e.jsx(
|
|
1910
|
-
/* @__PURE__ */ e.jsx("span", { children:
|
|
1909
|
+
/* @__PURE__ */ e.jsx(Xr, {}),
|
|
1910
|
+
/* @__PURE__ */ e.jsx("span", { children: Mt })
|
|
1911
1911
|
]
|
|
1912
1912
|
}
|
|
1913
1913
|
)
|
|
1914
|
-
] }) }),
|
|
1914
|
+
] }) }), Gt = "store_list_dlp_campaign", Jt = "https://srm-cdn.a4b.io/yoda/1774945525352.webp", Qr = (a) => a ? String(a).trim().replace(/[,\s]+/g, "").length > 0 : !1, ei = (a) => {
|
|
1915
1915
|
const n = a?.cta?.action_attr?.deeplink;
|
|
1916
1916
|
if (!n)
|
|
1917
1917
|
return "https://www.srimandir.com/epuja";
|
|
@@ -1920,23 +1920,51 @@ const ia = sa(void 0), oa = () => {
|
|
|
1920
1920
|
} catch {
|
|
1921
1921
|
return "https://www.srimandir.com/epuja";
|
|
1922
1922
|
}
|
|
1923
|
-
},
|
|
1924
|
-
const
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1923
|
+
}, ti = (a) => {
|
|
1924
|
+
const n = a?.cover_media?.type, s = a?.cover_media?.media_url, o = a?.cover_media?.media_thumbnail;
|
|
1925
|
+
return n === "video" ? o || Jt : s || o || Jt;
|
|
1926
|
+
}, Ue = (a) => Array.isArray(a) ? a : [], it = (a) => !a || typeof a != "object" ? !1 : !!(a?.id || a?.store_id || a?.inventory_id || a?.cover_media || a?.cta?.action_attr?.deeplink), ai = (a) => [
|
|
1927
|
+
...Ue(a?.data?.data?.cards),
|
|
1928
|
+
...Ue(a?.data?.cards),
|
|
1929
|
+
...Ue(a?.data?.data?.items),
|
|
1930
|
+
...Ue(a?.data?.items)
|
|
1931
|
+
], ni = (a) => {
|
|
1932
|
+
const n = [];
|
|
1933
|
+
return a.forEach((s) => {
|
|
1934
|
+
if (s && s?.visible !== !1) {
|
|
1935
|
+
if (s?.type === "list_item_large") {
|
|
1936
|
+
n.push(...Ue(s?.list_item_large?.list_items)), it(s?.list_item_large?.store) && n.push(s?.list_item_large?.store);
|
|
1937
|
+
return;
|
|
1938
|
+
}
|
|
1939
|
+
if (s?.type === "pooja_list_item_large") {
|
|
1940
|
+
it(s?.pooja_list_item_large?.store) && n.push(s?.pooja_list_item_large?.store), n.push(...Ue(s?.pooja_list_item_large?.list_items));
|
|
1941
|
+
return;
|
|
1942
|
+
}
|
|
1943
|
+
if (s?.type === "store_card" && it(s?.store)) {
|
|
1944
|
+
n.push(s?.store);
|
|
1945
|
+
return;
|
|
1946
|
+
}
|
|
1947
|
+
if (it(s?.store)) {
|
|
1948
|
+
n.push(s?.store);
|
|
1949
|
+
return;
|
|
1950
|
+
}
|
|
1951
|
+
it(s) && n.push(s);
|
|
1952
|
+
}
|
|
1953
|
+
}), n;
|
|
1954
|
+
}, si = (a, n) => ni(a).filter(
|
|
1955
|
+
(i) => i?.active !== !1
|
|
1956
|
+
).filter((i, m, r) => {
|
|
1957
|
+
const h = i?.id || i?.store_id || i?.inventory_id;
|
|
1958
|
+
return h ? r.findIndex((d) => (d?.id || d?.store_id || d?.inventory_id) === h) === m : !0;
|
|
1959
|
+
}).slice(0, n).map((i, m) => ({
|
|
1960
|
+
id: i?.id || i?.store_id || i?.inventory_id || `store-card-${m}`,
|
|
1961
|
+
imageUrl: ti(i),
|
|
1962
|
+
badge: i?.tag?.visible ? i?.tag?.name : void 0,
|
|
1963
|
+
title: i?.title || i?.sub_title || "Puja Seva",
|
|
1964
|
+
temple: Qr(i?.location) ? i?.location : i?.description || i?.sub_title || "Sri Mandir",
|
|
1965
|
+
date: i?.process_date || i?.process_date_dm || i?.metrics?.data?.[1]?.info || "",
|
|
1966
|
+
href: ei(i)
|
|
1967
|
+
})), ri = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg", alt: "location", width: "16", height: "16" }), ii = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1770372045894.svg", alt: "calendar", width: "16", height: "16" }), Pt = 200, oi = 230, li = 130, ci = ({ card: a, onClick: n }) => /* @__PURE__ */ e.jsxs(
|
|
1940
1968
|
"a",
|
|
1941
1969
|
{
|
|
1942
1970
|
href: a.href,
|
|
@@ -1944,10 +1972,10 @@ const ia = sa(void 0), oa = () => {
|
|
|
1944
1972
|
n && (s.preventDefault(), n(a));
|
|
1945
1973
|
},
|
|
1946
1974
|
style: {
|
|
1947
|
-
width:
|
|
1948
|
-
minWidth:
|
|
1949
|
-
maxWidth:
|
|
1950
|
-
height:
|
|
1975
|
+
width: Pt,
|
|
1976
|
+
minWidth: Pt,
|
|
1977
|
+
maxWidth: Pt,
|
|
1978
|
+
height: oi,
|
|
1951
1979
|
borderRadius: 12,
|
|
1952
1980
|
border: "1px solid #e5e7eb",
|
|
1953
1981
|
background: "#fff",
|
|
@@ -1966,7 +1994,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
1966
1994
|
style: {
|
|
1967
1995
|
position: "relative",
|
|
1968
1996
|
width: "100%",
|
|
1969
|
-
height:
|
|
1997
|
+
height: li,
|
|
1970
1998
|
overflow: "hidden",
|
|
1971
1999
|
background: "#f3f4f6",
|
|
1972
2000
|
flexShrink: 0
|
|
@@ -2037,11 +2065,11 @@ const ia = sa(void 0), oa = () => {
|
|
|
2037
2065
|
}
|
|
2038
2066
|
),
|
|
2039
2067
|
/* @__PURE__ */ e.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 4, fontSize: 11, color: "#6b7280" }, children: [
|
|
2040
|
-
/* @__PURE__ */ e.jsx(
|
|
2068
|
+
/* @__PURE__ */ e.jsx(ri, {}),
|
|
2041
2069
|
/* @__PURE__ */ e.jsx("span", { style: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: a.temple })
|
|
2042
2070
|
] }),
|
|
2043
2071
|
a.date && /* @__PURE__ */ e.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 4, fontSize: 11, color: "#6b7280" }, children: [
|
|
2044
|
-
/* @__PURE__ */ e.jsx(
|
|
2072
|
+
/* @__PURE__ */ e.jsx(ii, {}),
|
|
2045
2073
|
/* @__PURE__ */ e.jsx("span", { style: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: a.date })
|
|
2046
2074
|
] })
|
|
2047
2075
|
]
|
|
@@ -2049,90 +2077,97 @@ const ia = sa(void 0), oa = () => {
|
|
|
2049
2077
|
)
|
|
2050
2078
|
]
|
|
2051
2079
|
}
|
|
2052
|
-
),
|
|
2080
|
+
), It = ({
|
|
2053
2081
|
onCardClick: a,
|
|
2054
2082
|
a4bApi: n,
|
|
2055
|
-
storeCardsPage: s =
|
|
2056
|
-
storeCardsHeaders:
|
|
2057
|
-
storeCardsLimit:
|
|
2083
|
+
storeCardsPage: s = Gt,
|
|
2084
|
+
storeCardsHeaders: o,
|
|
2085
|
+
storeCardsLimit: i = 8
|
|
2058
2086
|
}) => {
|
|
2059
|
-
const [
|
|
2087
|
+
const [m, r] = S([]);
|
|
2060
2088
|
return B(() => {
|
|
2061
|
-
const
|
|
2062
|
-
if (!
|
|
2063
|
-
let
|
|
2089
|
+
const h = n?.apiInstance?.get;
|
|
2090
|
+
if (!h) return;
|
|
2091
|
+
let d = !1;
|
|
2064
2092
|
return (async () => {
|
|
2065
2093
|
try {
|
|
2066
|
-
const u = s ||
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2094
|
+
const u = (s || Gt).split(",").map((j) => j.trim()).filter(Boolean);
|
|
2095
|
+
if (!u.length) {
|
|
2096
|
+
r([]);
|
|
2097
|
+
return;
|
|
2098
|
+
}
|
|
2099
|
+
const p = (await Promise.all(
|
|
2100
|
+
u.flatMap((j) => [
|
|
2101
|
+
h("/gw1/puja/external/v2/pages", {
|
|
2102
|
+
params: { page: j, page_no: 1 },
|
|
2103
|
+
headers: o
|
|
2104
|
+
}),
|
|
2105
|
+
h("/gw1/yoda/external/v2/pages", {
|
|
2106
|
+
params: { page: j, page_no: 1 },
|
|
2107
|
+
headers: o
|
|
2108
|
+
})
|
|
2109
|
+
])
|
|
2110
|
+
)).flatMap(
|
|
2111
|
+
(j) => ai(j)
|
|
2112
|
+
), v = si(p, i);
|
|
2113
|
+
d || r(v);
|
|
2079
2114
|
} catch (u) {
|
|
2080
2115
|
console.error("[DLP] Failed to fetch store cards", u);
|
|
2081
2116
|
}
|
|
2082
2117
|
})(), () => {
|
|
2083
|
-
|
|
2118
|
+
d = !0;
|
|
2084
2119
|
};
|
|
2085
|
-
}, [n, s,
|
|
2086
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children:
|
|
2120
|
+
}, [n, s, o, i]), m.length ? /* @__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: [
|
|
2121
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: Ia }),
|
|
2087
2122
|
/* @__PURE__ */ e.jsx(
|
|
2088
2123
|
"div",
|
|
2089
2124
|
{
|
|
2090
2125
|
className: "flex gap-3 overflow-x-auto pb-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
2091
2126
|
role: "list",
|
|
2092
|
-
"aria-label":
|
|
2093
|
-
children:
|
|
2127
|
+
"aria-label": Ra,
|
|
2128
|
+
children: m.map((h) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(ci, { card: h, onClick: a }) }, h.id))
|
|
2094
2129
|
}
|
|
2095
2130
|
)
|
|
2096
2131
|
] }) }) : null;
|
|
2097
|
-
},
|
|
2132
|
+
}, di = "sm_dlp_premium", Kt = {
|
|
2098
2133
|
"accept-language": "en",
|
|
2099
2134
|
"x-afb-language-mode": "en"
|
|
2100
|
-
},
|
|
2135
|
+
}, fa = ({
|
|
2101
2136
|
storeId: a,
|
|
2102
2137
|
inventoryId: n,
|
|
2103
|
-
onboardingType: s =
|
|
2104
|
-
enabled:
|
|
2105
|
-
apiBaseInstance:
|
|
2138
|
+
onboardingType: s = di,
|
|
2139
|
+
enabled: o = !0,
|
|
2140
|
+
apiBaseInstance: i
|
|
2106
2141
|
}) => {
|
|
2107
|
-
const [
|
|
2142
|
+
const [m, r] = S(null), [h, d] = S(null), [k, u] = S(
|
|
2108
2143
|
null
|
|
2109
|
-
), [g,
|
|
2110
|
-
!!(
|
|
2111
|
-
), [v,
|
|
2112
|
-
() => !!(
|
|
2113
|
-
[
|
|
2114
|
-
), _ =
|
|
2144
|
+
), [g, p] = S(
|
|
2145
|
+
!!(o && a && n)
|
|
2146
|
+
), [v, j] = S(null), N = jt(
|
|
2147
|
+
() => !!(o && a && n),
|
|
2148
|
+
[o, n, a]
|
|
2149
|
+
), _ = ct(async () => {
|
|
2115
2150
|
if (!N) {
|
|
2116
|
-
|
|
2151
|
+
p(!1);
|
|
2117
2152
|
return;
|
|
2118
2153
|
}
|
|
2119
2154
|
try {
|
|
2120
|
-
|
|
2155
|
+
p(!0), j(null);
|
|
2121
2156
|
let C;
|
|
2122
|
-
if (
|
|
2157
|
+
if (i?.get) {
|
|
2123
2158
|
const O = `/gw2/yoda/external/v1/subscriptions/stores/${a}/inventory/${n}`;
|
|
2124
|
-
C = (await
|
|
2159
|
+
C = (await i.get(
|
|
2125
2160
|
O,
|
|
2126
2161
|
{
|
|
2127
2162
|
params: { onboarding_type: s },
|
|
2128
|
-
headers:
|
|
2163
|
+
headers: Kt
|
|
2129
2164
|
}
|
|
2130
2165
|
))?.data;
|
|
2131
2166
|
} else {
|
|
2132
|
-
const O = new URLSearchParams({ onboarding_type: s }),
|
|
2167
|
+
const O = new URLSearchParams({ onboarding_type: s }), V = `/gw2/yoda/external/v1/subscriptions/stores/${a}/inventory/${n}?${O.toString()}`, w = await fetch(V, {
|
|
2133
2168
|
method: "GET",
|
|
2134
2169
|
credentials: "include",
|
|
2135
|
-
headers:
|
|
2170
|
+
headers: Kt
|
|
2136
2171
|
});
|
|
2137
2172
|
if (!w.ok)
|
|
2138
2173
|
throw new Error(
|
|
@@ -2140,52 +2175,52 @@ const ia = sa(void 0), oa = () => {
|
|
|
2140
2175
|
);
|
|
2141
2176
|
C = await w.json();
|
|
2142
2177
|
}
|
|
2143
|
-
const
|
|
2144
|
-
r(
|
|
2178
|
+
const b = C?.data;
|
|
2179
|
+
r(b?.subscription_info ?? null), d(b?.trial_subscription_data ?? null), u(b?.onboarding_data ?? null);
|
|
2145
2180
|
} catch (C) {
|
|
2146
|
-
r(null),
|
|
2181
|
+
r(null), d(null), u(null), j(
|
|
2147
2182
|
C instanceof Error ? C : new Error("Failed to fetch subscription onboarding data")
|
|
2148
2183
|
);
|
|
2149
2184
|
} finally {
|
|
2150
|
-
|
|
2185
|
+
p(!1);
|
|
2151
2186
|
}
|
|
2152
|
-
}, [
|
|
2187
|
+
}, [i, n, s, N, a]);
|
|
2153
2188
|
return B(() => {
|
|
2154
2189
|
_();
|
|
2155
2190
|
}, [_]), {
|
|
2156
|
-
subscriptionInfo:
|
|
2157
|
-
trialSubscriptionData:
|
|
2158
|
-
onboardingData:
|
|
2191
|
+
subscriptionInfo: m,
|
|
2192
|
+
trialSubscriptionData: h,
|
|
2193
|
+
onboardingData: k,
|
|
2159
2194
|
isLoading: g,
|
|
2160
2195
|
error: v,
|
|
2161
2196
|
refetch: _
|
|
2162
2197
|
};
|
|
2163
|
-
},
|
|
2198
|
+
}, Ce = ({
|
|
2164
2199
|
storeId: a,
|
|
2165
2200
|
inventoryId: n,
|
|
2166
2201
|
onboardingType: s = "sm_dlp_premium",
|
|
2167
|
-
apiBaseInstance:
|
|
2168
|
-
onSubscribe:
|
|
2169
|
-
extraBottomPaddingPx:
|
|
2202
|
+
apiBaseInstance: o,
|
|
2203
|
+
onSubscribe: i,
|
|
2204
|
+
extraBottomPaddingPx: m = 0
|
|
2170
2205
|
}) => {
|
|
2171
|
-
const { subscriptionInfo: r, trialSubscriptionData:
|
|
2206
|
+
const { subscriptionInfo: r, trialSubscriptionData: h } = fa({
|
|
2172
2207
|
storeId: a,
|
|
2173
2208
|
inventoryId: n,
|
|
2174
2209
|
onboardingType: s,
|
|
2175
|
-
apiBaseInstance:
|
|
2210
|
+
apiBaseInstance: o,
|
|
2176
2211
|
enabled: !!(a && n)
|
|
2177
|
-
}),
|
|
2178
|
-
{ text:
|
|
2179
|
-
{ text:
|
|
2180
|
-
], _ = r?.media?.media_url ||
|
|
2181
|
-
if (
|
|
2212
|
+
}), d = r?.colors?.bg_color_1 || "#340d10", k = r?.colors?.bg_color_2 || "#5f181d", u = r?.tag?.text || La, g = r?.tag?.bg_color || "#f8a84a", p = r?.tag?.text_color || "#3d1c02", v = r?.header || Da, j = r?.description || Aa, N = r?.info_list && r.info_list.length > 0 ? r.info_list : [
|
|
2213
|
+
{ text: Fa, description: "", icon_url: "" },
|
|
2214
|
+
{ text: Ba, description: "", icon_url: "" }
|
|
2215
|
+
], _ = r?.media?.media_url || ua, C = h?.currency_code || "₹", b = h?.effective_amount ?? h?.subscription_amount, O = h?.subscription_amount, V = h?.period ? `/ ${h.period}` : Oa, w = r?.cta, G = w?.visible ?? !0, Z = w?.text || Ma, I = w?.text_color || "#ffffff", D = w?.stroke_color || "transparent", Y = w?.color || "#f97e4e", le = w?.color_2 || "#f75e22", X = () => {
|
|
2216
|
+
if (i?.(), i)
|
|
2182
2217
|
return;
|
|
2183
|
-
const
|
|
2184
|
-
if (!(!
|
|
2218
|
+
const W = w?.action_attr?.deeplink;
|
|
2219
|
+
if (!(!W || typeof window > "u"))
|
|
2185
2220
|
try {
|
|
2186
|
-
window.location.href = new URL(
|
|
2221
|
+
window.location.href = new URL(W, window.location.origin).toString();
|
|
2187
2222
|
} catch {
|
|
2188
|
-
window.location.href =
|
|
2223
|
+
window.location.href = W;
|
|
2189
2224
|
}
|
|
2190
2225
|
};
|
|
2191
2226
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -2193,35 +2228,35 @@ const ia = sa(void 0), oa = () => {
|
|
|
2193
2228
|
{
|
|
2194
2229
|
className: "daily-live-puja-root w-full text-white px-4 py-6",
|
|
2195
2230
|
style: {
|
|
2196
|
-
background: `linear-gradient(163.43deg, ${
|
|
2197
|
-
paddingBottom: `calc(1.5rem + ${Math.max(0,
|
|
2231
|
+
background: `linear-gradient(163.43deg, ${d}, ${k} 60%, ${d})`,
|
|
2232
|
+
paddingBottom: `calc(1.5rem + ${Math.max(0, m)}px)`
|
|
2198
2233
|
},
|
|
2199
2234
|
children: /* @__PURE__ */ e.jsxs("div", { className: "relative overflow-hidden rounded-2xl p-5 flex flex-col gap-3", children: [
|
|
2200
2235
|
/* @__PURE__ */ e.jsx(
|
|
2201
2236
|
"div",
|
|
2202
2237
|
{
|
|
2203
2238
|
className: "text-[10px] font-semibold px-3 py-1 rounded-full w-fit",
|
|
2204
|
-
style: { backgroundColor: g, color:
|
|
2239
|
+
style: { backgroundColor: g, color: p },
|
|
2205
2240
|
children: u
|
|
2206
2241
|
}
|
|
2207
2242
|
),
|
|
2208
2243
|
/* @__PURE__ */ e.jsx("h2", { className: "text-[24px] font-bold leading-[34px] m-0", children: v }),
|
|
2209
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-[16px] opacity-75 m-0", children:
|
|
2210
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-2 pt-2 text-[12px]", children: N.map((
|
|
2211
|
-
|
|
2244
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-[16px] opacity-75 m-0", children: j }),
|
|
2245
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-2 pt-2 text-[12px]", children: N.map((W, Q) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-2", children: [
|
|
2246
|
+
W.icon_url ? /* @__PURE__ */ e.jsx(
|
|
2212
2247
|
"img",
|
|
2213
2248
|
{
|
|
2214
|
-
src:
|
|
2249
|
+
src: W.icon_url,
|
|
2215
2250
|
alt: "",
|
|
2216
2251
|
"aria-hidden": "true",
|
|
2217
2252
|
className: "w-4 h-4 mt-[2px]"
|
|
2218
2253
|
}
|
|
2219
2254
|
) : /* @__PURE__ */ e.jsx("span", { "aria-hidden": "true", children: "•" }),
|
|
2220
2255
|
/* @__PURE__ */ e.jsxs("span", { className: "opacity-90", children: [
|
|
2221
|
-
|
|
2222
|
-
|
|
2256
|
+
W.text,
|
|
2257
|
+
W.description ? ` ${W.description}` : ""
|
|
2223
2258
|
] })
|
|
2224
|
-
] }, `${
|
|
2259
|
+
] }, `${W.text || "feature"}-${Q}`)) }),
|
|
2225
2260
|
/* @__PURE__ */ e.jsx(
|
|
2226
2261
|
"div",
|
|
2227
2262
|
{
|
|
@@ -2231,17 +2266,17 @@ const ia = sa(void 0), oa = () => {
|
|
|
2231
2266
|
}
|
|
2232
2267
|
),
|
|
2233
2268
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 pt-3 text-[#f8a84a]", children: [
|
|
2234
|
-
typeof
|
|
2269
|
+
typeof b == "number" && /* @__PURE__ */ e.jsxs("span", { className: "text-[32px] font-bold leading-[44px]", children: [
|
|
2235
2270
|
C,
|
|
2236
|
-
|
|
2271
|
+
b
|
|
2237
2272
|
] }),
|
|
2238
|
-
typeof O == "number" && typeof
|
|
2273
|
+
typeof O == "number" && typeof b == "number" && O > b && /* @__PURE__ */ e.jsxs("span", { className: "text-[14px] line-through text-white/60 font-semibold", children: [
|
|
2239
2274
|
C,
|
|
2240
2275
|
O
|
|
2241
2276
|
] }),
|
|
2242
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] text-white/60", children:
|
|
2277
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] text-white/60", children: V })
|
|
2243
2278
|
] }),
|
|
2244
|
-
|
|
2279
|
+
G && /* @__PURE__ */ e.jsxs(
|
|
2245
2280
|
"button",
|
|
2246
2281
|
{
|
|
2247
2282
|
type: "button",
|
|
@@ -2252,7 +2287,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
2252
2287
|
borderColor: D,
|
|
2253
2288
|
borderWidth: D !== "transparent" ? 1 : 0,
|
|
2254
2289
|
borderStyle: "solid",
|
|
2255
|
-
background: `linear-gradient(180deg, ${
|
|
2290
|
+
background: `linear-gradient(180deg, ${Y}, ${le})`
|
|
2256
2291
|
},
|
|
2257
2292
|
"aria-label": Z,
|
|
2258
2293
|
children: [
|
|
@@ -2261,11 +2296,11 @@ const ia = sa(void 0), oa = () => {
|
|
|
2261
2296
|
]
|
|
2262
2297
|
}
|
|
2263
2298
|
),
|
|
2264
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[12px] opacity-55 mt-1 m-0", children: r?.footer_text ||
|
|
2299
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[12px] opacity-55 mt-1 m-0", children: r?.footer_text || $a })
|
|
2265
2300
|
] })
|
|
2266
2301
|
}
|
|
2267
2302
|
);
|
|
2268
|
-
},
|
|
2303
|
+
}, qt = {
|
|
2269
2304
|
active: { label: "Active", color: "#069D42" },
|
|
2270
2305
|
created: { label: "Active", color: "#069D42" },
|
|
2271
2306
|
active_grace: { label: "Active", color: "#069D42" },
|
|
@@ -2273,41 +2308,41 @@ const ia = sa(void 0), oa = () => {
|
|
|
2273
2308
|
halted: { label: "Halted", color: "#ef4444" },
|
|
2274
2309
|
cancelled: { label: "Cancelled", color: "#ef4444" },
|
|
2275
2310
|
completed: { label: "Completed", color: "#6b7280" }
|
|
2276
|
-
},
|
|
2311
|
+
}, Zt = (a) => {
|
|
2277
2312
|
if (!a) return "—";
|
|
2278
|
-
const n = new Date(a * 1e3), s = n.getDate(),
|
|
2279
|
-
return `${s}${
|
|
2280
|
-
},
|
|
2313
|
+
const n = new Date(a * 1e3), s = n.getDate(), o = s === 1 || s === 21 || s === 31 ? "st" : s === 2 || s === 22 ? "nd" : s === 3 || s === 23 ? "rd" : "th", i = n.toLocaleString("en-US", { month: "long" }), m = n.getFullYear();
|
|
2314
|
+
return `${s}${o} ${i} ${m}`;
|
|
2315
|
+
}, ui = (a) => {
|
|
2281
2316
|
if (!a) return "Subscription";
|
|
2282
2317
|
const n = a.toLowerCase();
|
|
2283
2318
|
return n === "weekly" || n === "week" ? "Weekly Subscription" : n === "monthly" || n === "month" ? "Monthly Subscription" : n === "yearly" || n === "year" ? "Yearly Subscription" : n === "daily" || n === "day" ? "Daily Subscription" : `${a.charAt(0).toUpperCase() + a.slice(1)} Subscription`;
|
|
2284
|
-
},
|
|
2319
|
+
}, pi = (a, n, s) => {
|
|
2285
2320
|
if (typeof a != "number") return "—";
|
|
2286
|
-
const
|
|
2287
|
-
if (!n) return
|
|
2288
|
-
const
|
|
2289
|
-
return
|
|
2290
|
-
},
|
|
2321
|
+
const i = `${s}${a}`;
|
|
2322
|
+
if (!n) return i;
|
|
2323
|
+
const m = n.toLowerCase();
|
|
2324
|
+
return m === "weekly" || m === "week" ? `${i}/Week` : m === "monthly" || m === "month" ? `${i}/Month` : m === "yearly" || m === "year" ? `${i}/Year` : m === "daily" || m === "day" ? `${i}/Day` : `${i}/${n}`;
|
|
2325
|
+
}, hi = ua, Me = ({
|
|
2291
2326
|
subscription: a,
|
|
2292
2327
|
mediaUrl: n,
|
|
2293
2328
|
storeId: s,
|
|
2294
|
-
inventoryId:
|
|
2295
|
-
onboardingType:
|
|
2296
|
-
apiBaseInstance:
|
|
2329
|
+
inventoryId: o,
|
|
2330
|
+
onboardingType: i = "sm_dlp_premium",
|
|
2331
|
+
apiBaseInstance: m
|
|
2297
2332
|
}) => {
|
|
2298
|
-
const { subscriptionInfo: r, trialSubscriptionData:
|
|
2333
|
+
const { subscriptionInfo: r, trialSubscriptionData: h } = fa({
|
|
2299
2334
|
storeId: s,
|
|
2300
|
-
inventoryId:
|
|
2301
|
-
onboardingType:
|
|
2302
|
-
apiBaseInstance:
|
|
2303
|
-
enabled: !!(s &&
|
|
2304
|
-
}),
|
|
2305
|
-
{ label: "Plan Type", value:
|
|
2306
|
-
{ label: "Amount", value:
|
|
2307
|
-
{ label: "Start Date", value:
|
|
2335
|
+
inventoryId: o,
|
|
2336
|
+
onboardingType: i,
|
|
2337
|
+
apiBaseInstance: m,
|
|
2338
|
+
enabled: !!(s && o)
|
|
2339
|
+
}), d = a.status?.toLowerCase() || "active", { label: k, color: u } = qt[d] || qt.active, g = r?.header || "Membership", p = r?.media?.media_url || n || hi, v = r?.colors?.bg_color_1 || "#340d10", j = r?.colors?.bg_color_2 || "#5f181d", N = h?.period || a.interval, _ = h?.subscription_amount ?? a.amount, C = h?.currency_code || "₹", b = [
|
|
2340
|
+
{ label: "Plan Type", value: ui(N) },
|
|
2341
|
+
{ label: "Amount", value: pi(_, N, C) },
|
|
2342
|
+
{ label: "Start Date", value: Zt(a.start_date) },
|
|
2308
2343
|
{
|
|
2309
2344
|
label: "Next Renewal Date",
|
|
2310
|
-
value:
|
|
2345
|
+
value: Zt(a.next_instalment_date || a.expiry_date)
|
|
2311
2346
|
}
|
|
2312
2347
|
];
|
|
2313
2348
|
return /* @__PURE__ */ e.jsxs(
|
|
@@ -2356,14 +2391,14 @@ const ia = sa(void 0), oa = () => {
|
|
|
2356
2391
|
position: "relative",
|
|
2357
2392
|
width: "100%",
|
|
2358
2393
|
height: 100,
|
|
2359
|
-
background: `linear-gradient(135deg, ${v}, ${
|
|
2394
|
+
background: `linear-gradient(135deg, ${v}, ${j})`,
|
|
2360
2395
|
overflow: "hidden"
|
|
2361
2396
|
},
|
|
2362
2397
|
children: [
|
|
2363
2398
|
/* @__PURE__ */ e.jsx(
|
|
2364
2399
|
"img",
|
|
2365
2400
|
{
|
|
2366
|
-
src:
|
|
2401
|
+
src: p,
|
|
2367
2402
|
alt: "",
|
|
2368
2403
|
"aria-hidden": "true",
|
|
2369
2404
|
style: {
|
|
@@ -2436,7 +2471,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
2436
2471
|
}
|
|
2437
2472
|
}
|
|
2438
2473
|
),
|
|
2439
|
-
|
|
2474
|
+
k
|
|
2440
2475
|
]
|
|
2441
2476
|
}
|
|
2442
2477
|
)
|
|
@@ -2448,7 +2483,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
2448
2483
|
]
|
|
2449
2484
|
}
|
|
2450
2485
|
),
|
|
2451
|
-
/* @__PURE__ */ e.jsx("div", { style: { padding: "12px 16px" }, children:
|
|
2486
|
+
/* @__PURE__ */ e.jsx("div", { style: { padding: "12px 16px" }, children: b.map((O, V) => /* @__PURE__ */ e.jsxs(
|
|
2452
2487
|
"div",
|
|
2453
2488
|
{
|
|
2454
2489
|
style: {
|
|
@@ -2456,7 +2491,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
2456
2491
|
justifyContent: "space-between",
|
|
2457
2492
|
alignItems: "center",
|
|
2458
2493
|
padding: "10px 0",
|
|
2459
|
-
borderBottom:
|
|
2494
|
+
borderBottom: V < b.length - 1 ? "1px solid #f3f4f6" : "none"
|
|
2460
2495
|
},
|
|
2461
2496
|
children: [
|
|
2462
2497
|
/* @__PURE__ */ e.jsx("span", { style: { fontSize: 13, color: "#6b7280" }, children: O.label }),
|
|
@@ -2471,7 +2506,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
2471
2506
|
]
|
|
2472
2507
|
}
|
|
2473
2508
|
);
|
|
2474
|
-
},
|
|
2509
|
+
}, Xt = (a) => {
|
|
2475
2510
|
if (!a)
|
|
2476
2511
|
return;
|
|
2477
2512
|
const n = a.trim();
|
|
@@ -2483,94 +2518,94 @@ const ia = sa(void 0), oa = () => {
|
|
|
2483
2518
|
} catch {
|
|
2484
2519
|
return n.replace(/^https?:\/\//i, "").replace(/\/$/, "").replace(/:\d+$/, "");
|
|
2485
2520
|
}
|
|
2486
|
-
},
|
|
2487
|
-
const n = a ?? [], s = n.find((r) => r.is_offering === !1),
|
|
2521
|
+
}, fi = (a) => {
|
|
2522
|
+
const n = a ?? [], s = n.find((r) => r.is_offering === !1), o = s ? {
|
|
2488
2523
|
id: String(s.id),
|
|
2489
2524
|
title: s.title || xe.title,
|
|
2490
2525
|
location: s.location || xe.location,
|
|
2491
2526
|
date: s.date || xe.date,
|
|
2492
2527
|
deeplink: s.deeplink,
|
|
2493
2528
|
imageUrl: s.img_url?.data?.attributes?.url || xe.imageUrl
|
|
2494
|
-
} : xe,
|
|
2495
|
-
const
|
|
2529
|
+
} : xe, i = n.filter((r) => r.is_offering).map((r) => {
|
|
2530
|
+
const h = r.title || "Custom", d = h.toLowerCase() === "custom", k = r.price ? Number(r.price) : null;
|
|
2496
2531
|
return {
|
|
2497
2532
|
id: String(r.id),
|
|
2498
|
-
name:
|
|
2499
|
-
price: Number.isFinite(
|
|
2533
|
+
name: h,
|
|
2534
|
+
price: Number.isFinite(k) ? k : null,
|
|
2500
2535
|
image_url: r.img_url?.data?.attributes?.url || "",
|
|
2501
2536
|
deeplink: r.deeplink,
|
|
2502
|
-
isCustom:
|
|
2537
|
+
isCustom: d
|
|
2503
2538
|
};
|
|
2504
|
-
}),
|
|
2505
|
-
return { pujaCard:
|
|
2506
|
-
},
|
|
2507
|
-
getDlpContent: async (s,
|
|
2508
|
-
const
|
|
2509
|
-
if (!
|
|
2510
|
-
throw new Error(`DLP API failed with status ${
|
|
2511
|
-
const r = (await
|
|
2539
|
+
}), m = (i.length ? i : pa).sort((r, h) => Number(r.isCustom) - Number(h.isCustom));
|
|
2540
|
+
return { pujaCard: o, offeringCards: m };
|
|
2541
|
+
}, mi = (a) => `https://${Ua[a]}/api/dlps${Wa}`, xi = (a = fetch) => ({
|
|
2542
|
+
getDlpContent: async (s, o) => {
|
|
2543
|
+
const i = await a(mi(s), { signal: o });
|
|
2544
|
+
if (!i.ok)
|
|
2545
|
+
throw new Error(`DLP API failed with status ${i.status}`);
|
|
2546
|
+
const r = (await i.json())?.data?.[0]?.attributes;
|
|
2512
2547
|
return {
|
|
2513
2548
|
attributes: r,
|
|
2514
|
-
normalized:
|
|
2549
|
+
normalized: fi(r?.dlp_cards)
|
|
2515
2550
|
};
|
|
2516
2551
|
}
|
|
2517
|
-
}),
|
|
2552
|
+
}), gi = ({
|
|
2518
2553
|
initialVideoId: a,
|
|
2519
2554
|
contentEnvironment: n
|
|
2520
2555
|
}) => {
|
|
2521
|
-
const [s,
|
|
2556
|
+
const [s, o] = S(a), [i, m] = S(xe), [r, h] = S(pa), [d, k] = S(!0), u = jt(() => xi(), []);
|
|
2522
2557
|
B(() => {
|
|
2523
|
-
|
|
2558
|
+
o(a);
|
|
2524
2559
|
}, [a]);
|
|
2525
|
-
const g =
|
|
2526
|
-
async (
|
|
2527
|
-
|
|
2560
|
+
const g = ct(
|
|
2561
|
+
async (p) => {
|
|
2562
|
+
k(!0);
|
|
2528
2563
|
try {
|
|
2529
|
-
const { attributes: v, normalized:
|
|
2564
|
+
const { attributes: v, normalized: j } = await u.getDlpContent(
|
|
2530
2565
|
n,
|
|
2531
|
-
|
|
2566
|
+
p
|
|
2532
2567
|
);
|
|
2533
|
-
v?.yt_video_id &&
|
|
2568
|
+
v?.yt_video_id && o(v.yt_video_id), m(j.pujaCard), h(j.offeringCards);
|
|
2534
2569
|
} catch (v) {
|
|
2535
|
-
|
|
2570
|
+
p?.aborted || console.error("Failed to fetch DLP cards", v);
|
|
2536
2571
|
} finally {
|
|
2537
|
-
|
|
2572
|
+
p?.aborted || k(!1);
|
|
2538
2573
|
}
|
|
2539
2574
|
},
|
|
2540
2575
|
[u, n]
|
|
2541
2576
|
);
|
|
2542
2577
|
return B(() => {
|
|
2543
|
-
const
|
|
2544
|
-
return g(
|
|
2578
|
+
const p = new AbortController();
|
|
2579
|
+
return g(p.signal), () => p.abort();
|
|
2545
2580
|
}, [g]), {
|
|
2546
2581
|
apiVideoId: s,
|
|
2547
|
-
pujaCard:
|
|
2582
|
+
pujaCard: i,
|
|
2548
2583
|
offeringCards: r,
|
|
2549
|
-
isDlpLoading:
|
|
2584
|
+
isDlpLoading: d,
|
|
2550
2585
|
refetchDlpData: g
|
|
2551
2586
|
};
|
|
2552
|
-
},
|
|
2587
|
+
}, _i = "sm_dlp_premium", Qt = [
|
|
2553
2588
|
"created",
|
|
2554
2589
|
"active",
|
|
2555
2590
|
"active_grace"
|
|
2556
|
-
],
|
|
2591
|
+
], vi = (a) => {
|
|
2557
2592
|
const n = a?.data;
|
|
2558
2593
|
return Array.isArray(n) ? n : n && typeof n == "object" ? [n] : [];
|
|
2559
|
-
},
|
|
2560
|
-
subscriptionType: a =
|
|
2594
|
+
}, bi = ({
|
|
2595
|
+
subscriptionType: a = _i,
|
|
2561
2596
|
enabled: n = !0,
|
|
2562
2597
|
apiBaseInstance: s
|
|
2563
2598
|
}) => {
|
|
2564
|
-
const [
|
|
2599
|
+
const [o, i] = S(!1), [m, r] = S(null), [h, d] = S(!!n), [k, u] = S(null), g = jt(() => !!(n && a), [
|
|
2565
2600
|
n,
|
|
2566
2601
|
a
|
|
2567
|
-
]),
|
|
2602
|
+
]), p = ct(async () => {
|
|
2568
2603
|
if (!g) {
|
|
2569
|
-
|
|
2604
|
+
d(!1), i(!1), r(null);
|
|
2570
2605
|
return;
|
|
2571
2606
|
}
|
|
2572
2607
|
try {
|
|
2573
|
-
|
|
2608
|
+
d(!0), u(null), i(!1), r(null);
|
|
2574
2609
|
let v;
|
|
2575
2610
|
if (s?.get)
|
|
2576
2611
|
v = (await s.get(
|
|
@@ -2590,64 +2625,64 @@ const ia = sa(void 0), oa = () => {
|
|
|
2590
2625
|
);
|
|
2591
2626
|
v = await N.json();
|
|
2592
2627
|
}
|
|
2593
|
-
const
|
|
2594
|
-
const _ = N?.status?.trim().toLowerCase(), C = N?.service_type?.toLowerCase(),
|
|
2595
|
-
return !_ || _ === "completed" || _ === "cancelled" ? !1 :
|
|
2628
|
+
const j = vi(v).find((N) => {
|
|
2629
|
+
const _ = N?.status?.trim().toLowerCase(), C = N?.service_type?.toLowerCase(), b = !C || C === a.toLowerCase();
|
|
2630
|
+
return !_ || _ === "completed" || _ === "cancelled" ? !1 : Qt.includes(_) && b;
|
|
2596
2631
|
});
|
|
2597
|
-
|
|
2632
|
+
j && (i(!0), r(j));
|
|
2598
2633
|
} catch (v) {
|
|
2599
|
-
|
|
2634
|
+
i(!1), r(null), u(
|
|
2600
2635
|
v instanceof Error ? v : new Error("Failed to fetch subscription status")
|
|
2601
2636
|
);
|
|
2602
2637
|
} finally {
|
|
2603
|
-
|
|
2638
|
+
d(!1);
|
|
2604
2639
|
}
|
|
2605
2640
|
}, [s, g, a]);
|
|
2606
2641
|
return B(() => {
|
|
2607
|
-
|
|
2608
|
-
}, [
|
|
2609
|
-
isSubscribed:
|
|
2610
|
-
activeSubscription:
|
|
2611
|
-
checkedStatuses:
|
|
2612
|
-
isLoading:
|
|
2613
|
-
error:
|
|
2614
|
-
refetch:
|
|
2642
|
+
p();
|
|
2643
|
+
}, [p]), {
|
|
2644
|
+
isSubscribed: o,
|
|
2645
|
+
activeSubscription: m,
|
|
2646
|
+
checkedStatuses: Qt,
|
|
2647
|
+
isLoading: h,
|
|
2648
|
+
error: k,
|
|
2649
|
+
refetch: p
|
|
2615
2650
|
};
|
|
2616
|
-
},
|
|
2617
|
-
const n = a.getFullYear(), s = String(a.getMonth() + 1).padStart(2, "0"),
|
|
2618
|
-
return `${n}-${s}-${
|
|
2619
|
-
},
|
|
2651
|
+
}, yi = 1440 * 60 * 1e3, lt = (a) => {
|
|
2652
|
+
const n = a.getFullYear(), s = String(a.getMonth() + 1).padStart(2, "0"), o = String(a.getDate()).padStart(2, "0");
|
|
2653
|
+
return `${n}-${s}-${o}`;
|
|
2654
|
+
}, ea = (a) => new Date(a.getFullYear(), a.getMonth(), a.getDate()), ji = (a, n = /* @__PURE__ */ new Date()) => {
|
|
2620
2655
|
if (!a || !Number.isFinite(a))
|
|
2621
2656
|
return !1;
|
|
2622
2657
|
const s = new Date(a);
|
|
2623
|
-
return
|
|
2624
|
-
},
|
|
2658
|
+
return lt(s) === lt(n);
|
|
2659
|
+
}, wi = (a) => !!a?.some((n) => n?.status), ki = (a, n, s = /* @__PURE__ */ new Date()) => {
|
|
2625
2660
|
if (!a?.length || !n || !Number.isFinite(n))
|
|
2626
2661
|
return !1;
|
|
2627
|
-
const
|
|
2628
|
-
if (
|
|
2662
|
+
const o = ea(s).getTime();
|
|
2663
|
+
if (ea(new Date(n)).getTime() >= o)
|
|
2629
2664
|
return !1;
|
|
2630
|
-
const
|
|
2631
|
-
return !a.filter((
|
|
2632
|
-
(
|
|
2665
|
+
const m = lt(s);
|
|
2666
|
+
return !a.filter((d) => d?.date_string <= m).some(
|
|
2667
|
+
(d) => d?.date_string < m && d?.status
|
|
2633
2668
|
);
|
|
2634
|
-
},
|
|
2669
|
+
}, ma = (a = [1], n = 1, s = 7) => ({
|
|
2635
2670
|
attendedDays: a,
|
|
2636
2671
|
currentDay: n,
|
|
2637
2672
|
totalDays: s
|
|
2638
|
-
}),
|
|
2673
|
+
}), Si = (a, n = /* @__PURE__ */ new Date(), s = 7) => {
|
|
2639
2674
|
if (!a?.length)
|
|
2640
|
-
return
|
|
2641
|
-
const
|
|
2675
|
+
return ma([], 1, s);
|
|
2676
|
+
const o = a.slice(-s), i = o.map((d, k) => d?.status ? k + 1 : null).filter((d) => d !== null), m = lt(n), r = o.findIndex((d) => d?.date_string === m), h = r >= 0 ? r + 1 : Math.max(1, Math.min(o.length || 1, s));
|
|
2642
2677
|
return {
|
|
2643
|
-
attendedDays:
|
|
2644
|
-
currentDay:
|
|
2678
|
+
attendedDays: i,
|
|
2679
|
+
currentDay: h,
|
|
2645
2680
|
totalDays: s
|
|
2646
2681
|
};
|
|
2647
2682
|
}, Ne = (a) => {
|
|
2648
|
-
const n = new Date(Date.now() - a *
|
|
2649
|
-
return
|
|
2650
|
-
},
|
|
2683
|
+
const n = new Date(Date.now() - a * yi);
|
|
2684
|
+
return lt(n);
|
|
2685
|
+
}, Ci = "/zeus/internal/v1/streaks", Ni = 1440 * 60 * 1e3, ta = {
|
|
2651
2686
|
data: {
|
|
2652
2687
|
cards: [
|
|
2653
2688
|
{
|
|
@@ -2662,52 +2697,52 @@ const ia = sa(void 0), oa = () => {
|
|
|
2662
2697
|
{ date_string: Ne(0), status: !0 },
|
|
2663
2698
|
{ date_string: Ne(-1), status: !1 }
|
|
2664
2699
|
],
|
|
2665
|
-
attendance_start_at: Date.now() - 8 *
|
|
2700
|
+
attendance_start_at: Date.now() - 8 * Ni,
|
|
2666
2701
|
last_updated_at: 17913744e5,
|
|
2667
2702
|
current_streak_count: 2
|
|
2668
2703
|
}
|
|
2669
2704
|
}
|
|
2670
2705
|
]
|
|
2671
2706
|
}
|
|
2672
|
-
},
|
|
2707
|
+
}, Ti = (a) => ({
|
|
2673
2708
|
getDailyAttendanceStreak: async () => {
|
|
2674
2709
|
if (!a?.get)
|
|
2675
|
-
return { payload:
|
|
2710
|
+
return { payload: ta, isMock: !0 };
|
|
2676
2711
|
try {
|
|
2677
|
-
const
|
|
2678
|
-
|
|
2712
|
+
const o = (await a.get(
|
|
2713
|
+
Ci
|
|
2679
2714
|
))?.data;
|
|
2680
|
-
if (!!!
|
|
2681
|
-
(
|
|
2715
|
+
if (!!!o?.data?.cards?.some(
|
|
2716
|
+
(m) => m?.type === "daily_attendance_streak"
|
|
2682
2717
|
))
|
|
2683
2718
|
throw new Error("Streak API response missing daily_attendance_streak");
|
|
2684
|
-
return { payload:
|
|
2719
|
+
return { payload: o, isMock: !1 };
|
|
2685
2720
|
} catch (s) {
|
|
2686
|
-
return console.error("[DLP] Streak API unavailable, using mock response", s), { payload:
|
|
2721
|
+
return console.error("[DLP] Streak API unavailable, using mock response", s), { payload: ta, isMock: !0 };
|
|
2687
2722
|
}
|
|
2688
2723
|
}
|
|
2689
|
-
}),
|
|
2724
|
+
}), Ei = ({
|
|
2690
2725
|
enabled: a = !0,
|
|
2691
2726
|
apiBaseInstance: n,
|
|
2692
2727
|
fallbackAttendedDays: s = [1],
|
|
2693
|
-
fallbackCurrentDay:
|
|
2728
|
+
fallbackCurrentDay: o = 1
|
|
2694
2729
|
}) => {
|
|
2695
|
-
const [
|
|
2696
|
-
|
|
2697
|
-
), [
|
|
2698
|
-
() =>
|
|
2730
|
+
const [i, m] = S(null), [r, h] = S(
|
|
2731
|
+
ma(s, o)
|
|
2732
|
+
), [d, k] = S(!1), [u, g] = S(!!a), [p, v] = S(null), j = jt(
|
|
2733
|
+
() => Ti(n),
|
|
2699
2734
|
[n]
|
|
2700
|
-
), N =
|
|
2735
|
+
), N = ct(async () => {
|
|
2701
2736
|
if (!a) {
|
|
2702
2737
|
g(!1);
|
|
2703
2738
|
return;
|
|
2704
2739
|
}
|
|
2705
2740
|
try {
|
|
2706
2741
|
g(!0), v(null);
|
|
2707
|
-
const { payload: w, isMock:
|
|
2742
|
+
const { payload: w, isMock: G } = await j.getDailyAttendanceStreak(), I = w?.data?.cards?.find(
|
|
2708
2743
|
(D) => D?.type === "daily_attendance_streak"
|
|
2709
2744
|
)?.attributes ?? null;
|
|
2710
|
-
|
|
2745
|
+
m(I), k(G), I?.days?.length && h(Si(I.days));
|
|
2711
2746
|
} catch (w) {
|
|
2712
2747
|
v(
|
|
2713
2748
|
w instanceof Error ? w : new Error("Failed to fetch streak data")
|
|
@@ -2715,75 +2750,75 @@ const ia = sa(void 0), oa = () => {
|
|
|
2715
2750
|
} finally {
|
|
2716
2751
|
g(!1);
|
|
2717
2752
|
}
|
|
2718
|
-
}, [a,
|
|
2753
|
+
}, [a, j]);
|
|
2719
2754
|
B(() => {
|
|
2720
2755
|
N();
|
|
2721
2756
|
}, [N]);
|
|
2722
|
-
const _ =
|
|
2757
|
+
const _ = i?.days, C = i?.attendance_start_at, b = ji(C), O = ki(_, C), V = !O && wi(_);
|
|
2723
2758
|
return {
|
|
2724
|
-
streakAttributes:
|
|
2759
|
+
streakAttributes: i,
|
|
2725
2760
|
streakUi: r,
|
|
2726
|
-
isFirstTime:
|
|
2727
|
-
isActive:
|
|
2761
|
+
isFirstTime: b,
|
|
2762
|
+
isActive: V,
|
|
2728
2763
|
isInactive: O,
|
|
2729
|
-
isMockResponse:
|
|
2764
|
+
isMockResponse: d,
|
|
2730
2765
|
isLoading: u,
|
|
2731
|
-
error:
|
|
2766
|
+
error: p,
|
|
2732
2767
|
refetch: N
|
|
2733
2768
|
};
|
|
2734
|
-
},
|
|
2735
|
-
const [s,
|
|
2769
|
+
}, Pi = (a, n) => {
|
|
2770
|
+
const [s, o] = S("LOADING"), i = F(null), m = F(null);
|
|
2736
2771
|
return B(() => {
|
|
2737
2772
|
if (!a || typeof window > "u")
|
|
2738
2773
|
return;
|
|
2739
2774
|
let r = !1;
|
|
2740
|
-
|
|
2741
|
-
const
|
|
2742
|
-
|
|
2743
|
-
},
|
|
2744
|
-
const u =
|
|
2775
|
+
o("LOADING");
|
|
2776
|
+
const h = () => {
|
|
2777
|
+
m.current && (clearInterval(m.current), m.current = null);
|
|
2778
|
+
}, d = () => {
|
|
2779
|
+
const u = i.current;
|
|
2745
2780
|
if (!(!u || r))
|
|
2746
2781
|
try {
|
|
2747
|
-
const g = u.getVideoData(),
|
|
2748
|
-
if (
|
|
2749
|
-
|
|
2782
|
+
const g = u.getVideoData(), p = u.getDuration(), v = g?.isLive ?? !1;
|
|
2783
|
+
if (p === 0) {
|
|
2784
|
+
o("UPCOMING");
|
|
2750
2785
|
return;
|
|
2751
2786
|
}
|
|
2752
2787
|
if (v) {
|
|
2753
|
-
|
|
2788
|
+
o("LIVE");
|
|
2754
2789
|
return;
|
|
2755
2790
|
}
|
|
2756
|
-
|
|
2791
|
+
o("ENDED");
|
|
2757
2792
|
} catch (g) {
|
|
2758
2793
|
console.error("Error reading YouTube player state", g);
|
|
2759
2794
|
}
|
|
2760
|
-
},
|
|
2761
|
-
!document.getElementById(n) || !window.YT?.Player || r || (
|
|
2795
|
+
}, k = () => {
|
|
2796
|
+
!document.getElementById(n) || !window.YT?.Player || r || (i.current?.destroy?.(), h(), i.current = new window.YT.Player(n, {
|
|
2762
2797
|
videoId: a,
|
|
2763
|
-
playerVars:
|
|
2798
|
+
playerVars: za,
|
|
2764
2799
|
events: {
|
|
2765
2800
|
onReady: () => {
|
|
2766
2801
|
try {
|
|
2767
|
-
|
|
2802
|
+
i.current?.mute?.(), i.current?.playVideo?.();
|
|
2768
2803
|
} catch (g) {
|
|
2769
2804
|
console.error(
|
|
2770
2805
|
"Failed to start live status probe playback",
|
|
2771
2806
|
g
|
|
2772
2807
|
);
|
|
2773
2808
|
}
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2809
|
+
d(), setTimeout(d, Ya), m.current = setInterval(
|
|
2810
|
+
d,
|
|
2811
|
+
Va
|
|
2777
2812
|
);
|
|
2778
2813
|
},
|
|
2779
2814
|
onStateChange: (g) => {
|
|
2780
|
-
g.data === window.YT.PlayerState.ENDED &&
|
|
2815
|
+
g.data === window.YT.PlayerState.ENDED && o("ENDED"), d();
|
|
2781
2816
|
}
|
|
2782
2817
|
}
|
|
2783
2818
|
}));
|
|
2784
2819
|
};
|
|
2785
2820
|
if (window.YT?.Player)
|
|
2786
|
-
|
|
2821
|
+
k();
|
|
2787
2822
|
else {
|
|
2788
2823
|
if (!document.querySelector(
|
|
2789
2824
|
'script[src="https://www.youtube.com/iframe_api"]'
|
|
@@ -2793,224 +2828,224 @@ const ia = sa(void 0), oa = () => {
|
|
|
2793
2828
|
}
|
|
2794
2829
|
const u = window.onYouTubeIframeAPIReady;
|
|
2795
2830
|
window.onYouTubeIframeAPIReady = () => {
|
|
2796
|
-
u?.(),
|
|
2831
|
+
u?.(), k();
|
|
2797
2832
|
};
|
|
2798
2833
|
}
|
|
2799
2834
|
return () => {
|
|
2800
|
-
r = !0,
|
|
2835
|
+
r = !0, h(), i.current?.destroy?.(), i.current = null;
|
|
2801
2836
|
};
|
|
2802
2837
|
}, [n, a]), s;
|
|
2803
|
-
},
|
|
2838
|
+
}, Wi = ({
|
|
2804
2839
|
videoId: a,
|
|
2805
2840
|
title: n = "Live Stream",
|
|
2806
2841
|
chatHost: s,
|
|
2807
|
-
contentEnvironment:
|
|
2808
|
-
isGlobal:
|
|
2809
|
-
onOfferingClick:
|
|
2842
|
+
contentEnvironment: o = "sbox",
|
|
2843
|
+
isGlobal: i = !1,
|
|
2844
|
+
onOfferingClick: m,
|
|
2810
2845
|
onPujaImpression: r,
|
|
2811
|
-
onPujaClick:
|
|
2812
|
-
attendedDays:
|
|
2813
|
-
currentDay:
|
|
2846
|
+
onPujaClick: h,
|
|
2847
|
+
attendedDays: d = [1],
|
|
2848
|
+
currentDay: k = 1,
|
|
2814
2849
|
isLoggedIn: u = !1,
|
|
2815
2850
|
onStoreCardClick: g,
|
|
2816
|
-
a4bApi:
|
|
2851
|
+
a4bApi: p,
|
|
2817
2852
|
storeCardsPage: v,
|
|
2818
|
-
storeCardsHeaders:
|
|
2853
|
+
storeCardsHeaders: j,
|
|
2819
2854
|
storeCardsLimit: N,
|
|
2820
2855
|
onShare: _,
|
|
2821
2856
|
showSubscription: C = !1,
|
|
2822
|
-
onSubscribe:
|
|
2857
|
+
onSubscribe: b,
|
|
2823
2858
|
onJoinClick: O,
|
|
2824
|
-
onSectionImpression:
|
|
2859
|
+
onSectionImpression: V,
|
|
2825
2860
|
onSectionTimeSpent: w,
|
|
2826
|
-
onCarouselSwipe:
|
|
2861
|
+
onCarouselSwipe: G,
|
|
2827
2862
|
onVideoAction: Z,
|
|
2828
2863
|
subscriptionStoreId: I,
|
|
2829
2864
|
subscriptionInventoryId: D,
|
|
2830
|
-
subscriptionOnboardingType:
|
|
2865
|
+
subscriptionOnboardingType: Y = "sm_dlp_premium"
|
|
2831
2866
|
}) => {
|
|
2832
|
-
const [le, X] = S("streaks"), [
|
|
2867
|
+
const [le, X] = S("streaks"), [W, Q] = S("chat"), ue = F(null), Te = F(null), Ee = F(null), Pe = F(null), ye = F(null), He = {
|
|
2833
2868
|
streaks: ue,
|
|
2834
2869
|
share: Te,
|
|
2835
2870
|
store: Ee,
|
|
2836
2871
|
subscription: Pe
|
|
2837
|
-
},
|
|
2838
|
-
const E =
|
|
2839
|
-
!E || !
|
|
2840
|
-
}, te = le === "chat",
|
|
2872
|
+
}, Ve = (f) => {
|
|
2873
|
+
const E = He[f].current, H = ye.current;
|
|
2874
|
+
!E || !H || H.scrollTo({ top: E.offsetTop, behavior: "smooth" });
|
|
2875
|
+
}, te = le === "chat", Ye = te ? "streaks" : le, wt = (f) => f === "chat" ? "Chat" : f === "streaks" ? "Streak" : f === "share" ? "share" : f === "store" ? "store" : f === "subscription" ? "Subscription" : "Video Player", je = F(null), Ie = F(Date.now()), we = F(!1), pe = F(null), ke = F(null), ge = F(null);
|
|
2841
2876
|
B(() => {
|
|
2842
2877
|
if (!u) return;
|
|
2843
|
-
const f =
|
|
2844
|
-
if (
|
|
2845
|
-
const
|
|
2878
|
+
const f = wt(le), E = Date.now();
|
|
2879
|
+
if (je.current && je.current !== f) {
|
|
2880
|
+
const H = Math.max(1, Math.round((E - Ie.current) / 1e3));
|
|
2846
2881
|
w?.({
|
|
2847
|
-
sectionName:
|
|
2848
|
-
timeSpent:
|
|
2882
|
+
sectionName: je.current,
|
|
2883
|
+
timeSpent: H
|
|
2849
2884
|
});
|
|
2850
2885
|
}
|
|
2851
|
-
|
|
2852
|
-
}, [le, u,
|
|
2853
|
-
const
|
|
2854
|
-
streaks:
|
|
2855
|
-
share:
|
|
2856
|
-
store:
|
|
2857
|
-
subscription:
|
|
2858
|
-
}, { isSubscribed:
|
|
2859
|
-
subscriptionType:
|
|
2886
|
+
je.current !== f && V?.(f), je.current = f, Ie.current = E;
|
|
2887
|
+
}, [le, u, V, w]);
|
|
2888
|
+
const dt = F(null), ze = F(null), ut = F(null), pt = F(null), _e = F(null), ve = F(null), Ge = {
|
|
2889
|
+
streaks: dt,
|
|
2890
|
+
share: ze,
|
|
2891
|
+
store: ut,
|
|
2892
|
+
subscription: pt
|
|
2893
|
+
}, { isSubscribed: Je, activeSubscription: ae } = bi({
|
|
2894
|
+
subscriptionType: Y,
|
|
2860
2895
|
enabled: C,
|
|
2861
|
-
apiBaseInstance:
|
|
2862
|
-
}), ne = C && !
|
|
2896
|
+
apiBaseInstance: p?.apiInstance
|
|
2897
|
+
}), ne = C && !Je, J = C && Je && ae;
|
|
2863
2898
|
B(() => {
|
|
2864
2899
|
if (te) return;
|
|
2865
2900
|
let f = [];
|
|
2866
2901
|
const E = requestAnimationFrame(() => {
|
|
2867
|
-
const
|
|
2868
|
-
if (!
|
|
2869
|
-
(ne ||
|
|
2870
|
-
const ie =
|
|
2902
|
+
const H = ve.current;
|
|
2903
|
+
if (!H) return;
|
|
2904
|
+
(ne || J ? ["streaks", "share", "store", "subscription"] : ["streaks", "share", "store"]).forEach(($) => {
|
|
2905
|
+
const ie = Ge[$].current;
|
|
2871
2906
|
if (!ie) return;
|
|
2872
2907
|
const de = new IntersectionObserver(
|
|
2873
|
-
([
|
|
2874
|
-
|
|
2908
|
+
([Se]) => {
|
|
2909
|
+
Se.isIntersecting && X($);
|
|
2875
2910
|
},
|
|
2876
|
-
{ root:
|
|
2911
|
+
{ root: H, rootMargin: "-10% 0px -60% 0px", threshold: 0 }
|
|
2877
2912
|
);
|
|
2878
2913
|
de.observe(ie), f.push(de);
|
|
2879
2914
|
});
|
|
2880
2915
|
});
|
|
2881
2916
|
return () => {
|
|
2882
|
-
cancelAnimationFrame(E), f.forEach((
|
|
2917
|
+
cancelAnimationFrame(E), f.forEach((H) => H.disconnect());
|
|
2883
2918
|
};
|
|
2884
|
-
}, [ne,
|
|
2885
|
-
const
|
|
2919
|
+
}, [ne, J, te]);
|
|
2920
|
+
const Ke = (f) => {
|
|
2886
2921
|
X(f), setTimeout(() => {
|
|
2887
|
-
|
|
2922
|
+
Ge[f].current?.scrollIntoView({
|
|
2888
2923
|
behavior: "smooth",
|
|
2889
2924
|
block: "start"
|
|
2890
2925
|
});
|
|
2891
2926
|
}, 50);
|
|
2892
|
-
},
|
|
2927
|
+
}, ht = () => X("chat"), [q, Re] = S(!1), [se, Le] = S(!1), [De, qe] = S(!0), [Ze, ft] = S(!1), [re, mt] = S(!1), [kt, St] = S(""), { apiVideoId: Ct, pujaCard: he, offeringCards: fe } = gi({
|
|
2893
2928
|
initialVideoId: a,
|
|
2894
|
-
contentEnvironment:
|
|
2929
|
+
contentEnvironment: o
|
|
2895
2930
|
}), {
|
|
2896
2931
|
streakUi: Ae,
|
|
2897
|
-
isFirstTime:
|
|
2898
|
-
isActive:
|
|
2899
|
-
isInactive:
|
|
2900
|
-
} =
|
|
2932
|
+
isFirstTime: be,
|
|
2933
|
+
isActive: Xe,
|
|
2934
|
+
isInactive: Qe
|
|
2935
|
+
} = Ei({
|
|
2901
2936
|
enabled: u,
|
|
2902
|
-
apiBaseInstance:
|
|
2903
|
-
fallbackAttendedDays:
|
|
2904
|
-
fallbackCurrentDay:
|
|
2905
|
-
}), me =
|
|
2937
|
+
apiBaseInstance: p?.apiInstance,
|
|
2938
|
+
fallbackAttendedDays: d,
|
|
2939
|
+
fallbackCurrentDay: k
|
|
2940
|
+
}), me = be || Xe || !Qe, Fe = u && !me, Be = me ? Ae.attendedDays : [], et = me ? Ae.currentDay : 1, Oe = Ae.totalDays || 7, [ee, tt] = S(null), xt = F(!1);
|
|
2906
2941
|
B(() => {
|
|
2907
|
-
u && ee === "LIVE" && !
|
|
2942
|
+
u && ee === "LIVE" && !xt.current && (xt.current = !0, X("chat"));
|
|
2908
2943
|
}, [u, ee]), B(() => {
|
|
2909
2944
|
if (te) return;
|
|
2910
|
-
const f =
|
|
2945
|
+
const f = ye.current;
|
|
2911
2946
|
if (!f) return;
|
|
2912
|
-
const E = ne ||
|
|
2913
|
-
return E.forEach((
|
|
2914
|
-
const $ =
|
|
2947
|
+
const E = ne || J ? ["streaks", "share", "store", "subscription"] : ["streaks", "share", "store"], H = [];
|
|
2948
|
+
return E.forEach((K) => {
|
|
2949
|
+
const $ = He[K].current;
|
|
2915
2950
|
if (!$) return;
|
|
2916
2951
|
const ie = new IntersectionObserver(
|
|
2917
2952
|
([de]) => {
|
|
2918
|
-
de.isIntersecting && X(
|
|
2953
|
+
de.isIntersecting && X(K);
|
|
2919
2954
|
},
|
|
2920
2955
|
{ root: f, rootMargin: "-10% 0px -60% 0px", threshold: 0 }
|
|
2921
2956
|
);
|
|
2922
|
-
ie.observe($),
|
|
2923
|
-
}), () =>
|
|
2924
|
-
}, [ne,
|
|
2925
|
-
const
|
|
2957
|
+
ie.observe($), H.push(ie);
|
|
2958
|
+
}), () => H.forEach((K) => K.disconnect());
|
|
2959
|
+
}, [ne, J, te, se, re]);
|
|
2960
|
+
const gt = typeof window < "u" ? window.location.origin : "https://www.srimandir.com", _t = Xt(kt) || Xt(s) || "www.srimandir.com", ce = Ct || a, vt = xa(), bt = `yt-live-status-probe-${vt.replace(/:/g, "")}`, at = `yt-main-player-${vt.replace(/:/g, "")}`, t = Pi(
|
|
2926
2961
|
Fe ? "" : ce,
|
|
2927
|
-
|
|
2962
|
+
bt
|
|
2928
2963
|
);
|
|
2929
2964
|
B(() => {
|
|
2930
|
-
|
|
2965
|
+
tt(null);
|
|
2931
2966
|
}, [ce]), B(() => {
|
|
2932
2967
|
if (t === "LOADING")
|
|
2933
2968
|
return;
|
|
2934
2969
|
if (t === "LIVE") {
|
|
2935
|
-
|
|
2970
|
+
tt("LIVE");
|
|
2936
2971
|
return;
|
|
2937
2972
|
}
|
|
2938
2973
|
const f = window.setTimeout(() => {
|
|
2939
|
-
|
|
2940
|
-
},
|
|
2974
|
+
tt((E) => E === "LIVE" ? E : t);
|
|
2975
|
+
}, Ha);
|
|
2941
2976
|
return () => window.clearTimeout(f);
|
|
2942
2977
|
}, [t]);
|
|
2943
|
-
const l = ee === "UPCOMING" || ee === "ENDED",
|
|
2978
|
+
const l = ee === "UPCOMING" || ee === "ENDED", x = t === "LIVE" || ee === "LIVE" ? "Live" : "Playback";
|
|
2944
2979
|
B(() => {
|
|
2945
2980
|
we.current = !1, ge.current = null;
|
|
2946
2981
|
}, [ce]);
|
|
2947
|
-
const
|
|
2948
|
-
|
|
2982
|
+
const y = `https://www.youtube-nocookie.com/embed/${ce}?autoplay=1&mute=1&fs=0&modestbranding=1&rel=0&playsinline=1&disablekb=1&iv_load_policy=3&enablejsapi=1&origin=${encodeURIComponent(gt)}`, L = `https://www.youtube.com/live_chat?v=${ce}&embed_domain=${encodeURIComponent(
|
|
2983
|
+
_t
|
|
2949
2984
|
)}`;
|
|
2950
2985
|
B(() => {
|
|
2951
2986
|
if (typeof window > "u" || Fe || !Z) return;
|
|
2952
2987
|
let f = !1;
|
|
2953
2988
|
const E = () => {
|
|
2954
|
-
|
|
2955
|
-
},
|
|
2989
|
+
ke.current?.destroy?.(), ke.current = null;
|
|
2990
|
+
}, H = () => {
|
|
2956
2991
|
if (f) return;
|
|
2957
|
-
const
|
|
2958
|
-
!
|
|
2992
|
+
const K = pe.current, $ = window.YT;
|
|
2993
|
+
!K || !$?.Player || (E(), ke.current = new $.Player(K, {
|
|
2959
2994
|
events: {
|
|
2960
2995
|
onStateChange: (ie) => {
|
|
2961
2996
|
if (!window.YT?.PlayerState) return;
|
|
2962
|
-
const de = ie?.data,
|
|
2963
|
-
de === window.YT.PlayerState.PLAYING && (we.current ? (
|
|
2997
|
+
const de = ie?.data, Se = ge.current;
|
|
2998
|
+
de === window.YT.PlayerState.PLAYING && (we.current ? (Se === window.YT.PlayerState.PAUSED || Se === window.YT.PlayerState.BUFFERING || Se === window.YT.PlayerState.CUED) && Z({
|
|
2964
2999
|
sectionName: "Live Video/Playback",
|
|
2965
3000
|
action: "Play",
|
|
2966
|
-
dlpStatus:
|
|
3001
|
+
dlpStatus: x
|
|
2967
3002
|
}) : (we.current = !0, Z({
|
|
2968
3003
|
sectionName: "Live Video/Playback",
|
|
2969
3004
|
action: "Autoplay",
|
|
2970
|
-
dlpStatus:
|
|
3005
|
+
dlpStatus: x
|
|
2971
3006
|
}))), de === window.YT.PlayerState.PAUSED && Z({
|
|
2972
3007
|
sectionName: "Live Video/Playback",
|
|
2973
3008
|
action: "Pause",
|
|
2974
|
-
dlpStatus:
|
|
3009
|
+
dlpStatus: x
|
|
2975
3010
|
}), ge.current = de;
|
|
2976
3011
|
}
|
|
2977
3012
|
}
|
|
2978
3013
|
}));
|
|
2979
3014
|
};
|
|
2980
3015
|
if (window.YT?.Player)
|
|
2981
|
-
|
|
3016
|
+
H();
|
|
2982
3017
|
else {
|
|
2983
3018
|
if (!document.querySelector('script[src="https://www.youtube.com/iframe_api"]')) {
|
|
2984
3019
|
const $ = document.createElement("script");
|
|
2985
3020
|
$.src = "https://www.youtube.com/iframe_api", document.body.appendChild($);
|
|
2986
3021
|
}
|
|
2987
|
-
const
|
|
3022
|
+
const K = window.onYouTubeIframeAPIReady;
|
|
2988
3023
|
window.onYouTubeIframeAPIReady = () => {
|
|
2989
|
-
|
|
3024
|
+
K?.(), H();
|
|
2990
3025
|
};
|
|
2991
3026
|
}
|
|
2992
3027
|
return () => {
|
|
2993
3028
|
f = !0, E();
|
|
2994
3029
|
};
|
|
2995
3030
|
}, [
|
|
2996
|
-
|
|
3031
|
+
q,
|
|
2997
3032
|
re,
|
|
2998
3033
|
Z,
|
|
2999
3034
|
Fe,
|
|
3000
3035
|
se,
|
|
3001
3036
|
t,
|
|
3002
3037
|
ee,
|
|
3003
|
-
|
|
3038
|
+
x,
|
|
3004
3039
|
ce
|
|
3005
3040
|
]);
|
|
3006
3041
|
const A = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent);
|
|
3007
3042
|
B(() => {
|
|
3008
3043
|
const f = () => {
|
|
3009
|
-
|
|
3044
|
+
mt(window.innerWidth > window.innerHeight);
|
|
3010
3045
|
};
|
|
3011
3046
|
return f(), window.addEventListener("resize", f), () => window.removeEventListener("resize", f);
|
|
3012
3047
|
}, []), B(() => {
|
|
3013
|
-
typeof window < "u" &&
|
|
3048
|
+
typeof window < "u" && St(window.location.hostname);
|
|
3014
3049
|
}, []);
|
|
3015
3050
|
const R = async () => {
|
|
3016
3051
|
const f = _e.current;
|
|
@@ -3048,17 +3083,17 @@ const ia = sa(void 0), oa = () => {
|
|
|
3048
3083
|
};
|
|
3049
3084
|
return document.addEventListener("fullscreenchange", f), () => document.removeEventListener("fullscreenchange", f);
|
|
3050
3085
|
}, []), B(() => {
|
|
3051
|
-
|
|
3052
|
-
}, [
|
|
3053
|
-
se &&
|
|
3086
|
+
q || Le(!1);
|
|
3087
|
+
}, [q]), B(() => {
|
|
3088
|
+
se && ft(!0);
|
|
3054
3089
|
}, [se]), B(() => {
|
|
3055
3090
|
se && Q("chat");
|
|
3056
3091
|
}, [se]);
|
|
3057
|
-
const
|
|
3058
|
-
|
|
3092
|
+
const z = async (f) => {
|
|
3093
|
+
q && document.fullscreenElement && await T(), m && await m(f);
|
|
3059
3094
|
}, M = () => {
|
|
3060
3095
|
const f = he.deeplink || "/epuja", E = new URL(f, "https://www.srimandir.com");
|
|
3061
|
-
E.searchParams.set("utm_source", "youtube"), E.searchParams.set("utm_campaign", "rasrajji"), E.searchParams.set("utm_medium", "youtubebanner"), typeof window < "u" && (
|
|
3096
|
+
E.searchParams.set("utm_source", "youtube"), E.searchParams.set("utm_campaign", "rasrajji"), E.searchParams.set("utm_medium", "youtubebanner"), typeof window < "u" && (h?.({ orientation: re ? "horizontal" : "vertical" }), window.location.href = E.toString());
|
|
3062
3097
|
};
|
|
3063
3098
|
if (Fe) {
|
|
3064
3099
|
const f = ce ? `https://img.youtube.com/vi/${ce}/hqdefault.jpg` : he.imageUrl || xe.imageUrl;
|
|
@@ -3066,7 +3101,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
3066
3101
|
"div",
|
|
3067
3102
|
{
|
|
3068
3103
|
ref: _e,
|
|
3069
|
-
className:
|
|
3104
|
+
className: c.container,
|
|
3070
3105
|
style: {
|
|
3071
3106
|
background: "#000",
|
|
3072
3107
|
position: "relative",
|
|
@@ -3080,12 +3115,12 @@ const ia = sa(void 0), oa = () => {
|
|
|
3080
3115
|
"aria-hidden": "true",
|
|
3081
3116
|
style: { opacity: 0.34, filter: "saturate(0.72)" },
|
|
3082
3117
|
children: [
|
|
3083
|
-
/* @__PURE__ */ e.jsx(
|
|
3084
|
-
/* @__PURE__ */ e.jsx(
|
|
3118
|
+
/* @__PURE__ */ e.jsx(Ht, { isLive: !1, daysRemaining: 2 }),
|
|
3119
|
+
/* @__PURE__ */ e.jsx(Yt, {}),
|
|
3085
3120
|
/* @__PURE__ */ e.jsx(
|
|
3086
3121
|
"div",
|
|
3087
3122
|
{
|
|
3088
|
-
className:
|
|
3123
|
+
className: c.video,
|
|
3089
3124
|
style: {
|
|
3090
3125
|
minHeight: "unset",
|
|
3091
3126
|
aspectRatio: "16 / 9",
|
|
@@ -3104,9 +3139,9 @@ const ia = sa(void 0), oa = () => {
|
|
|
3104
3139
|
}
|
|
3105
3140
|
),
|
|
3106
3141
|
/* @__PURE__ */ e.jsx(
|
|
3107
|
-
|
|
3142
|
+
ot,
|
|
3108
3143
|
{
|
|
3109
|
-
isGlobal:
|
|
3144
|
+
isGlobal: i,
|
|
3110
3145
|
isLandscape: !1,
|
|
3111
3146
|
offeringCards: fe,
|
|
3112
3147
|
pujaCard: he,
|
|
@@ -3136,13 +3171,13 @@ const ia = sa(void 0), oa = () => {
|
|
|
3136
3171
|
className: "absolute left-0 right-0 bottom-0 z-20",
|
|
3137
3172
|
style: { paddingBottom: "env(safe-area-inset-bottom, 0px)" },
|
|
3138
3173
|
children: /* @__PURE__ */ e.jsx(
|
|
3139
|
-
|
|
3174
|
+
Ce,
|
|
3140
3175
|
{
|
|
3141
|
-
onSubscribe:
|
|
3176
|
+
onSubscribe: b,
|
|
3142
3177
|
storeId: I,
|
|
3143
3178
|
inventoryId: D,
|
|
3144
|
-
onboardingType:
|
|
3145
|
-
apiBaseInstance:
|
|
3179
|
+
onboardingType: Y,
|
|
3180
|
+
apiBaseInstance: p?.apiInstance,
|
|
3146
3181
|
extraBottomPaddingPx: 10
|
|
3147
3182
|
}
|
|
3148
3183
|
)
|
|
@@ -3152,9 +3187,9 @@ const ia = sa(void 0), oa = () => {
|
|
|
3152
3187
|
}
|
|
3153
3188
|
);
|
|
3154
3189
|
}
|
|
3155
|
-
return /* @__PURE__ */ e.jsxs("div", { ref: _e, className:
|
|
3156
|
-
!
|
|
3157
|
-
|
|
3190
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: _e, className: c.container, children: [
|
|
3191
|
+
!q && /* @__PURE__ */ e.jsx(
|
|
3192
|
+
Ht,
|
|
3158
3193
|
{
|
|
3159
3194
|
isLive: ee === "LIVE",
|
|
3160
3195
|
daysRemaining: 2,
|
|
@@ -3162,11 +3197,11 @@ const ia = sa(void 0), oa = () => {
|
|
|
3162
3197
|
onJoinClick: O
|
|
3163
3198
|
}
|
|
3164
3199
|
),
|
|
3165
|
-
!
|
|
3200
|
+
!q && /* @__PURE__ */ e.jsx(Yt, {}),
|
|
3166
3201
|
/* @__PURE__ */ e.jsx(
|
|
3167
3202
|
"div",
|
|
3168
3203
|
{
|
|
3169
|
-
id:
|
|
3204
|
+
id: bt,
|
|
3170
3205
|
style: {
|
|
3171
3206
|
position: "absolute",
|
|
3172
3207
|
width: 1,
|
|
@@ -3177,31 +3212,31 @@ const ia = sa(void 0), oa = () => {
|
|
|
3177
3212
|
"aria-hidden": "true"
|
|
3178
3213
|
}
|
|
3179
3214
|
),
|
|
3180
|
-
(!re ||
|
|
3215
|
+
(!re || q) && /* @__PURE__ */ e.jsx(
|
|
3181
3216
|
"div",
|
|
3182
3217
|
{
|
|
3183
|
-
className:
|
|
3184
|
-
children:
|
|
3185
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3186
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3218
|
+
className: q ? se ? c.fullscreenWithPanel : c.videoFullscreenWithBelowBanner : c.video,
|
|
3219
|
+
children: q && se ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3220
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.fullscreenLeft, children: [
|
|
3221
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.fullscreenVideoArea, children: [
|
|
3187
3222
|
/* @__PURE__ */ e.jsx(
|
|
3188
3223
|
"iframe",
|
|
3189
3224
|
{
|
|
3190
|
-
id:
|
|
3225
|
+
id: at,
|
|
3191
3226
|
ref: pe,
|
|
3192
|
-
src:
|
|
3227
|
+
src: y,
|
|
3193
3228
|
title: n,
|
|
3194
3229
|
frameBorder: "0",
|
|
3195
3230
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
3196
3231
|
sandbox: "allow-scripts allow-same-origin allow-presentation",
|
|
3197
3232
|
referrerPolicy: "strict-origin-when-cross-origin",
|
|
3198
|
-
className:
|
|
3233
|
+
className: c.iframe
|
|
3199
3234
|
}
|
|
3200
3235
|
),
|
|
3201
3236
|
/* @__PURE__ */ e.jsx(
|
|
3202
3237
|
"button",
|
|
3203
3238
|
{
|
|
3204
|
-
className:
|
|
3239
|
+
className: c.fullscreenBtn,
|
|
3205
3240
|
onClick: T,
|
|
3206
3241
|
"aria-label": "Exit Fullscreen",
|
|
3207
3242
|
children: "⤡"
|
|
@@ -3209,26 +3244,26 @@ const ia = sa(void 0), oa = () => {
|
|
|
3209
3244
|
)
|
|
3210
3245
|
] }),
|
|
3211
3246
|
/* @__PURE__ */ e.jsx(
|
|
3212
|
-
|
|
3247
|
+
ot,
|
|
3213
3248
|
{
|
|
3214
|
-
isGlobal:
|
|
3249
|
+
isGlobal: i,
|
|
3215
3250
|
isLandscape: re,
|
|
3216
3251
|
offeringCards: fe,
|
|
3217
3252
|
pujaCard: he,
|
|
3218
3253
|
showPujaSlide: l,
|
|
3219
|
-
onOfferingClick:
|
|
3254
|
+
onOfferingClick: z,
|
|
3220
3255
|
onPujaBannerClick: M,
|
|
3221
3256
|
onPujaImpression: r,
|
|
3222
|
-
onSwipe:
|
|
3257
|
+
onSwipe: G
|
|
3223
3258
|
}
|
|
3224
3259
|
)
|
|
3225
3260
|
] }),
|
|
3226
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3227
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3261
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.fullscreenChatPanel, children: [
|
|
3262
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.fullscreenPanelHeader, children: [
|
|
3228
3263
|
/* @__PURE__ */ e.jsx(
|
|
3229
3264
|
"button",
|
|
3230
3265
|
{
|
|
3231
|
-
className:
|
|
3266
|
+
className: c.fullscreenChatCloseBtn,
|
|
3232
3267
|
onClick: () => Le(!1),
|
|
3233
3268
|
"aria-label": "Close panel",
|
|
3234
3269
|
children: /* @__PURE__ */ e.jsxs(
|
|
@@ -3249,20 +3284,20 @@ const ia = sa(void 0), oa = () => {
|
|
|
3249
3284
|
}
|
|
3250
3285
|
),
|
|
3251
3286
|
/* @__PURE__ */ e.jsx(
|
|
3252
|
-
|
|
3287
|
+
Nt,
|
|
3253
3288
|
{
|
|
3254
|
-
activeTab:
|
|
3289
|
+
activeTab: W === "chat" ? "streaks" : W,
|
|
3255
3290
|
onTabChange: (f) => {
|
|
3256
|
-
Q(f),
|
|
3291
|
+
Q(f), Ve(f);
|
|
3257
3292
|
},
|
|
3258
3293
|
onChatPress: () => Q("chat"),
|
|
3259
|
-
showSubscription: ne || !!
|
|
3294
|
+
showSubscription: ne || !!J,
|
|
3260
3295
|
isLive: ee === "LIVE",
|
|
3261
|
-
chatOpen:
|
|
3296
|
+
chatOpen: W === "chat"
|
|
3262
3297
|
}
|
|
3263
3298
|
)
|
|
3264
3299
|
] }),
|
|
3265
|
-
|
|
3300
|
+
W === "chat" ? /* @__PURE__ */ e.jsxs(
|
|
3266
3301
|
"div",
|
|
3267
3302
|
{
|
|
3268
3303
|
style: {
|
|
@@ -3272,17 +3307,17 @@ const ia = sa(void 0), oa = () => {
|
|
|
3272
3307
|
background: "#000"
|
|
3273
3308
|
},
|
|
3274
3309
|
children: [
|
|
3275
|
-
|
|
3310
|
+
Ze && /* @__PURE__ */ e.jsx(Rt, { message: "Loading chat...", compact: !0 }),
|
|
3276
3311
|
/* @__PURE__ */ e.jsx(
|
|
3277
3312
|
"iframe",
|
|
3278
3313
|
{
|
|
3279
3314
|
src: L,
|
|
3280
3315
|
title: "Live Chat Fullscreen",
|
|
3281
3316
|
frameBorder: "0",
|
|
3282
|
-
onLoad: () =>
|
|
3317
|
+
onLoad: () => ft(!1),
|
|
3283
3318
|
referrerPolicy: "origin",
|
|
3284
|
-
className:
|
|
3285
|
-
style: { opacity:
|
|
3319
|
+
className: c.iframe,
|
|
3320
|
+
style: { opacity: Ze ? 0 : 1 }
|
|
3286
3321
|
}
|
|
3287
3322
|
)
|
|
3288
3323
|
]
|
|
@@ -3290,24 +3325,24 @@ const ia = sa(void 0), oa = () => {
|
|
|
3290
3325
|
) : /* @__PURE__ */ e.jsxs(
|
|
3291
3326
|
"div",
|
|
3292
3327
|
{
|
|
3293
|
-
ref:
|
|
3294
|
-
className:
|
|
3328
|
+
ref: ye,
|
|
3329
|
+
className: c.fullscreenPanelScroll,
|
|
3295
3330
|
children: [
|
|
3296
3331
|
/* @__PURE__ */ e.jsx("div", { ref: ue, children: me ? /* @__PURE__ */ e.jsx(
|
|
3297
|
-
|
|
3332
|
+
Tt,
|
|
3298
3333
|
{
|
|
3299
3334
|
attendedDays: Be,
|
|
3300
|
-
currentDay:
|
|
3335
|
+
currentDay: et,
|
|
3301
3336
|
totalDays: Oe
|
|
3302
3337
|
}
|
|
3303
|
-
) :
|
|
3304
|
-
|
|
3338
|
+
) : J ? /* @__PURE__ */ e.jsx(Me, { subscription: ae, storeId: I, inventoryId: D, onboardingType: Y, apiBaseInstance: p?.apiInstance }) : /* @__PURE__ */ e.jsx(
|
|
3339
|
+
Ce,
|
|
3305
3340
|
{
|
|
3306
|
-
onSubscribe:
|
|
3341
|
+
onSubscribe: b,
|
|
3307
3342
|
storeId: I,
|
|
3308
3343
|
inventoryId: D,
|
|
3309
|
-
onboardingType:
|
|
3310
|
-
apiBaseInstance:
|
|
3344
|
+
onboardingType: Y,
|
|
3345
|
+
apiBaseInstance: p?.apiInstance
|
|
3311
3346
|
}
|
|
3312
3347
|
) }),
|
|
3313
3348
|
/* @__PURE__ */ e.jsx(
|
|
@@ -3322,7 +3357,7 @@ const ia = sa(void 0), oa = () => {
|
|
|
3322
3357
|
"aria-hidden": "true"
|
|
3323
3358
|
}
|
|
3324
3359
|
),
|
|
3325
|
-
/* @__PURE__ */ e.jsx("div", { ref: Te, children: /* @__PURE__ */ e.jsx(
|
|
3360
|
+
/* @__PURE__ */ e.jsx("div", { ref: Te, children: /* @__PURE__ */ e.jsx(Et, { onShare: _ }) }),
|
|
3326
3361
|
/* @__PURE__ */ e.jsx(
|
|
3327
3362
|
"div",
|
|
3328
3363
|
{
|
|
@@ -3336,16 +3371,16 @@ const ia = sa(void 0), oa = () => {
|
|
|
3336
3371
|
}
|
|
3337
3372
|
),
|
|
3338
3373
|
/* @__PURE__ */ e.jsx("div", { ref: Ee, children: /* @__PURE__ */ e.jsx(
|
|
3339
|
-
|
|
3374
|
+
It,
|
|
3340
3375
|
{
|
|
3341
3376
|
onCardClick: g,
|
|
3342
|
-
a4bApi:
|
|
3377
|
+
a4bApi: p,
|
|
3343
3378
|
storeCardsPage: v,
|
|
3344
|
-
storeCardsHeaders:
|
|
3379
|
+
storeCardsHeaders: j,
|
|
3345
3380
|
storeCardsLimit: N
|
|
3346
3381
|
}
|
|
3347
3382
|
) }),
|
|
3348
|
-
(ne ||
|
|
3383
|
+
(ne || J) && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3349
3384
|
/* @__PURE__ */ e.jsx(
|
|
3350
3385
|
"div",
|
|
3351
3386
|
{
|
|
@@ -3358,14 +3393,14 @@ const ia = sa(void 0), oa = () => {
|
|
|
3358
3393
|
"aria-hidden": "true"
|
|
3359
3394
|
}
|
|
3360
3395
|
),
|
|
3361
|
-
/* @__PURE__ */ e.jsx("div", { ref: Pe, children:
|
|
3362
|
-
|
|
3396
|
+
/* @__PURE__ */ e.jsx("div", { ref: Pe, children: J ? /* @__PURE__ */ e.jsx(Me, { subscription: ae, storeId: I, inventoryId: D, onboardingType: Y, apiBaseInstance: p?.apiInstance }) : /* @__PURE__ */ e.jsx(
|
|
3397
|
+
Ce,
|
|
3363
3398
|
{
|
|
3364
|
-
onSubscribe:
|
|
3399
|
+
onSubscribe: b,
|
|
3365
3400
|
storeId: I,
|
|
3366
3401
|
inventoryId: D,
|
|
3367
|
-
onboardingType:
|
|
3368
|
-
apiBaseInstance:
|
|
3402
|
+
onboardingType: Y,
|
|
3403
|
+
apiBaseInstance: p?.apiInstance
|
|
3369
3404
|
}
|
|
3370
3405
|
) })
|
|
3371
3406
|
] })
|
|
@@ -3379,27 +3414,27 @@ const ia = sa(void 0), oa = () => {
|
|
|
3379
3414
|
/* @__PURE__ */ e.jsx(
|
|
3380
3415
|
"iframe",
|
|
3381
3416
|
{
|
|
3382
|
-
id:
|
|
3417
|
+
id: at,
|
|
3383
3418
|
ref: pe,
|
|
3384
|
-
src:
|
|
3419
|
+
src: y,
|
|
3385
3420
|
title: n,
|
|
3386
3421
|
frameBorder: "0",
|
|
3387
3422
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
3388
3423
|
sandbox: "allow-scripts allow-same-origin allow-presentation",
|
|
3389
3424
|
referrerPolicy: "strict-origin-when-cross-origin",
|
|
3390
|
-
className:
|
|
3425
|
+
className: c.iframe
|
|
3391
3426
|
}
|
|
3392
3427
|
),
|
|
3393
3428
|
/* @__PURE__ */ e.jsx(
|
|
3394
3429
|
"button",
|
|
3395
3430
|
{
|
|
3396
|
-
className:
|
|
3397
|
-
onClick:
|
|
3398
|
-
"aria-label":
|
|
3399
|
-
children:
|
|
3431
|
+
className: c.fullscreenBtn,
|
|
3432
|
+
onClick: q ? T : R,
|
|
3433
|
+
"aria-label": q ? "Exit Fullscreen" : "Enter Fullscreen",
|
|
3434
|
+
children: q ? "⤡" : "⤢"
|
|
3400
3435
|
}
|
|
3401
3436
|
),
|
|
3402
|
-
|
|
3437
|
+
q && /* @__PURE__ */ e.jsxs(
|
|
3403
3438
|
"div",
|
|
3404
3439
|
{
|
|
3405
3440
|
style: {
|
|
@@ -3471,59 +3506,59 @@ const ia = sa(void 0), oa = () => {
|
|
|
3471
3506
|
}
|
|
3472
3507
|
),
|
|
3473
3508
|
" ",
|
|
3474
|
-
|
|
3475
|
-
|
|
3509
|
+
q && !se && /* @__PURE__ */ e.jsx(
|
|
3510
|
+
ot,
|
|
3476
3511
|
{
|
|
3477
|
-
isGlobal:
|
|
3512
|
+
isGlobal: i,
|
|
3478
3513
|
isLandscape: re,
|
|
3479
3514
|
offeringCards: fe,
|
|
3480
3515
|
pujaCard: he,
|
|
3481
3516
|
showPujaSlide: l,
|
|
3482
|
-
onOfferingClick:
|
|
3517
|
+
onOfferingClick: z,
|
|
3483
3518
|
onPujaBannerClick: M,
|
|
3484
3519
|
onPujaImpression: r,
|
|
3485
|
-
onSwipe:
|
|
3520
|
+
onSwipe: G
|
|
3486
3521
|
}
|
|
3487
3522
|
),
|
|
3488
|
-
!
|
|
3489
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3490
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3523
|
+
!q && /* @__PURE__ */ e.jsx(e.Fragment, { children: re ? /* @__PURE__ */ e.jsxs("div", { className: c.landscapeLayout, children: [
|
|
3524
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.landscapeLeft, children: [
|
|
3525
|
+
/* @__PURE__ */ e.jsx("div", { className: c.video, style: { flex: 1 }, children: /* @__PURE__ */ e.jsx(
|
|
3491
3526
|
"iframe",
|
|
3492
3527
|
{
|
|
3493
|
-
id:
|
|
3528
|
+
id: at,
|
|
3494
3529
|
ref: pe,
|
|
3495
|
-
src:
|
|
3530
|
+
src: y,
|
|
3496
3531
|
title: n,
|
|
3497
3532
|
frameBorder: "0",
|
|
3498
3533
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
3499
3534
|
sandbox: "allow-scripts allow-same-origin allow-presentation",
|
|
3500
3535
|
referrerPolicy: "strict-origin-when-cross-origin",
|
|
3501
|
-
className:
|
|
3536
|
+
className: c.iframe
|
|
3502
3537
|
}
|
|
3503
3538
|
) }),
|
|
3504
3539
|
/* @__PURE__ */ e.jsx(
|
|
3505
|
-
|
|
3540
|
+
ot,
|
|
3506
3541
|
{
|
|
3507
|
-
isGlobal:
|
|
3542
|
+
isGlobal: i,
|
|
3508
3543
|
isLandscape: re,
|
|
3509
3544
|
offeringCards: fe,
|
|
3510
3545
|
pujaCard: he,
|
|
3511
3546
|
showPujaSlide: l,
|
|
3512
|
-
onOfferingClick:
|
|
3547
|
+
onOfferingClick: z,
|
|
3513
3548
|
onPujaBannerClick: M,
|
|
3514
3549
|
onPujaImpression: r,
|
|
3515
|
-
onSwipe:
|
|
3550
|
+
onSwipe: G
|
|
3516
3551
|
}
|
|
3517
3552
|
)
|
|
3518
3553
|
] }),
|
|
3519
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3520
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3554
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.landscapeRight, children: [
|
|
3555
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.landscapePanelHeader, children: [
|
|
3521
3556
|
/* @__PURE__ */ e.jsx(
|
|
3522
3557
|
"button",
|
|
3523
3558
|
{
|
|
3524
3559
|
type: "button",
|
|
3525
|
-
className:
|
|
3526
|
-
onClick: () =>
|
|
3560
|
+
className: c.landscapeCloseBtn,
|
|
3561
|
+
onClick: () => mt(!1),
|
|
3527
3562
|
"aria-label": "Close panel",
|
|
3528
3563
|
children: /* @__PURE__ */ e.jsxs(
|
|
3529
3564
|
"svg",
|
|
@@ -3545,79 +3580,79 @@ const ia = sa(void 0), oa = () => {
|
|
|
3545
3580
|
}
|
|
3546
3581
|
),
|
|
3547
3582
|
/* @__PURE__ */ e.jsx(
|
|
3548
|
-
|
|
3583
|
+
Nt,
|
|
3549
3584
|
{
|
|
3550
|
-
activeTab:
|
|
3585
|
+
activeTab: Ye,
|
|
3551
3586
|
onTabChange: (f) => {
|
|
3552
|
-
X(f),
|
|
3587
|
+
X(f), Ve(f);
|
|
3553
3588
|
},
|
|
3554
|
-
onChatPress:
|
|
3555
|
-
showSubscription: ne || !!
|
|
3589
|
+
onChatPress: ht,
|
|
3590
|
+
showSubscription: ne || !!J,
|
|
3556
3591
|
isLive: ee === "LIVE",
|
|
3557
3592
|
chatOpen: te
|
|
3558
3593
|
}
|
|
3559
3594
|
)
|
|
3560
3595
|
] }),
|
|
3561
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3562
|
-
De && /* @__PURE__ */ e.jsx(
|
|
3596
|
+
/* @__PURE__ */ e.jsx("div", { className: c.landscapePanelBody, children: te ? /* @__PURE__ */ e.jsxs("div", { className: c.landscapeChat, children: [
|
|
3597
|
+
De && /* @__PURE__ */ e.jsx(Rt, { message: "Loading chat...", compact: !0 }),
|
|
3563
3598
|
/* @__PURE__ */ e.jsx(
|
|
3564
3599
|
"iframe",
|
|
3565
3600
|
{
|
|
3566
3601
|
src: L,
|
|
3567
3602
|
title: "Live Chat",
|
|
3568
3603
|
frameBorder: "0",
|
|
3569
|
-
onLoad: () =>
|
|
3604
|
+
onLoad: () => qe(!1),
|
|
3570
3605
|
referrerPolicy: "origin",
|
|
3571
|
-
className:
|
|
3606
|
+
className: c.iframe,
|
|
3572
3607
|
style: { opacity: De ? 0 : 1 }
|
|
3573
3608
|
}
|
|
3574
3609
|
)
|
|
3575
3610
|
] }) : /* @__PURE__ */ e.jsxs(
|
|
3576
3611
|
"div",
|
|
3577
3612
|
{
|
|
3578
|
-
ref:
|
|
3579
|
-
className:
|
|
3613
|
+
ref: ye,
|
|
3614
|
+
className: c.fullscreenPanelScroll,
|
|
3580
3615
|
children: [
|
|
3581
3616
|
/* @__PURE__ */ e.jsx("div", { ref: ue, children: me ? /* @__PURE__ */ e.jsx(
|
|
3582
|
-
|
|
3617
|
+
Tt,
|
|
3583
3618
|
{
|
|
3584
3619
|
attendedDays: Be,
|
|
3585
|
-
currentDay:
|
|
3620
|
+
currentDay: et,
|
|
3586
3621
|
totalDays: Oe
|
|
3587
3622
|
}
|
|
3588
|
-
) :
|
|
3589
|
-
|
|
3623
|
+
) : J ? /* @__PURE__ */ e.jsx(Me, { subscription: ae, storeId: I, inventoryId: D, onboardingType: Y, apiBaseInstance: p?.apiInstance }) : /* @__PURE__ */ e.jsx(
|
|
3624
|
+
Ce,
|
|
3590
3625
|
{
|
|
3591
|
-
onSubscribe:
|
|
3626
|
+
onSubscribe: b,
|
|
3592
3627
|
storeId: I,
|
|
3593
3628
|
inventoryId: D,
|
|
3594
|
-
onboardingType:
|
|
3595
|
-
apiBaseInstance:
|
|
3629
|
+
onboardingType: Y,
|
|
3630
|
+
apiBaseInstance: p?.apiInstance
|
|
3596
3631
|
}
|
|
3597
3632
|
) }),
|
|
3598
3633
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
3599
|
-
/* @__PURE__ */ e.jsx("div", { ref: Te, children: /* @__PURE__ */ e.jsx(
|
|
3634
|
+
/* @__PURE__ */ e.jsx("div", { ref: Te, children: /* @__PURE__ */ e.jsx(Et, { onShare: _ }) }),
|
|
3600
3635
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
3601
3636
|
/* @__PURE__ */ e.jsx("div", { ref: Ee, children: /* @__PURE__ */ e.jsx(
|
|
3602
|
-
|
|
3637
|
+
It,
|
|
3603
3638
|
{
|
|
3604
3639
|
onCardClick: g,
|
|
3605
|
-
a4bApi:
|
|
3640
|
+
a4bApi: p,
|
|
3606
3641
|
storeCardsPage: v,
|
|
3607
|
-
storeCardsHeaders:
|
|
3642
|
+
storeCardsHeaders: j,
|
|
3608
3643
|
storeCardsLimit: N
|
|
3609
3644
|
}
|
|
3610
3645
|
) }),
|
|
3611
|
-
(ne ||
|
|
3646
|
+
(ne || J) && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3612
3647
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
3613
|
-
/* @__PURE__ */ e.jsx("div", { ref: Pe, children:
|
|
3614
|
-
|
|
3648
|
+
/* @__PURE__ */ e.jsx("div", { ref: Pe, children: J ? /* @__PURE__ */ e.jsx(Me, { subscription: ae, storeId: I, inventoryId: D, onboardingType: Y, apiBaseInstance: p?.apiInstance }) : /* @__PURE__ */ e.jsx(
|
|
3649
|
+
Ce,
|
|
3615
3650
|
{
|
|
3616
|
-
onSubscribe:
|
|
3651
|
+
onSubscribe: b,
|
|
3617
3652
|
storeId: I,
|
|
3618
3653
|
inventoryId: D,
|
|
3619
|
-
onboardingType:
|
|
3620
|
-
apiBaseInstance:
|
|
3654
|
+
onboardingType: Y,
|
|
3655
|
+
apiBaseInstance: p?.apiInstance
|
|
3621
3656
|
}
|
|
3622
3657
|
) })
|
|
3623
3658
|
] })
|
|
@@ -3629,180 +3664,180 @@ const ia = sa(void 0), oa = () => {
|
|
|
3629
3664
|
/* PORTRAIT: original stacked layout */
|
|
3630
3665
|
/* @__PURE__ */ e.jsx(e.Fragment, { children: u ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3631
3666
|
/* @__PURE__ */ e.jsx(
|
|
3632
|
-
|
|
3667
|
+
ot,
|
|
3633
3668
|
{
|
|
3634
|
-
isGlobal:
|
|
3669
|
+
isGlobal: i,
|
|
3635
3670
|
isLandscape: re,
|
|
3636
3671
|
offeringCards: fe,
|
|
3637
3672
|
pujaCard: he,
|
|
3638
3673
|
showPujaSlide: l,
|
|
3639
|
-
onOfferingClick:
|
|
3674
|
+
onOfferingClick: z,
|
|
3640
3675
|
onPujaBannerClick: M,
|
|
3641
3676
|
onPujaImpression: r,
|
|
3642
|
-
onSwipe:
|
|
3677
|
+
onSwipe: G
|
|
3643
3678
|
}
|
|
3644
3679
|
),
|
|
3645
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3646
|
-
|
|
3680
|
+
/* @__PURE__ */ e.jsx("div", { className: c.stickyTabs, children: /* @__PURE__ */ e.jsx(
|
|
3681
|
+
Nt,
|
|
3647
3682
|
{
|
|
3648
|
-
activeTab:
|
|
3649
|
-
onTabChange:
|
|
3650
|
-
onChatPress:
|
|
3651
|
-
showSubscription: ne || !!
|
|
3683
|
+
activeTab: Ye,
|
|
3684
|
+
onTabChange: Ke,
|
|
3685
|
+
onChatPress: ht,
|
|
3686
|
+
showSubscription: ne || !!J,
|
|
3652
3687
|
isLive: ee === "LIVE",
|
|
3653
3688
|
chatOpen: te
|
|
3654
3689
|
}
|
|
3655
3690
|
) }),
|
|
3656
|
-
te ? /* @__PURE__ */ e.jsxs("div", { className:
|
|
3657
|
-
De && /* @__PURE__ */ e.jsx(
|
|
3691
|
+
te ? /* @__PURE__ */ e.jsxs("div", { className: c.chat, children: [
|
|
3692
|
+
De && /* @__PURE__ */ e.jsx(Rt, { message: "Loading chat..." }),
|
|
3658
3693
|
/* @__PURE__ */ e.jsx(
|
|
3659
3694
|
"iframe",
|
|
3660
3695
|
{
|
|
3661
3696
|
src: L,
|
|
3662
3697
|
title: "Live Chat",
|
|
3663
3698
|
frameBorder: "0",
|
|
3664
|
-
onLoad: () =>
|
|
3699
|
+
onLoad: () => qe(!1),
|
|
3665
3700
|
referrerPolicy: "origin",
|
|
3666
|
-
className:
|
|
3701
|
+
className: c.iframe,
|
|
3667
3702
|
style: { opacity: De ? 0 : 1 }
|
|
3668
3703
|
}
|
|
3669
3704
|
)
|
|
3670
|
-
] }) : /* @__PURE__ */ e.jsxs("div", { ref: ve, className:
|
|
3671
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
3672
|
-
|
|
3705
|
+
] }) : /* @__PURE__ */ e.jsxs("div", { ref: ve, className: c.sectionsScroll, children: [
|
|
3706
|
+
/* @__PURE__ */ e.jsx("div", { ref: dt, children: me ? /* @__PURE__ */ e.jsx(
|
|
3707
|
+
Tt,
|
|
3673
3708
|
{
|
|
3674
3709
|
attendedDays: Be,
|
|
3675
|
-
currentDay:
|
|
3710
|
+
currentDay: et,
|
|
3676
3711
|
totalDays: Oe
|
|
3677
3712
|
}
|
|
3678
|
-
) :
|
|
3679
|
-
|
|
3713
|
+
) : J ? /* @__PURE__ */ e.jsx(Me, { subscription: ae, storeId: I, inventoryId: D, onboardingType: Y, apiBaseInstance: p?.apiInstance }) : /* @__PURE__ */ e.jsx(
|
|
3714
|
+
Ce,
|
|
3680
3715
|
{
|
|
3681
|
-
onSubscribe:
|
|
3716
|
+
onSubscribe: b,
|
|
3682
3717
|
storeId: I,
|
|
3683
3718
|
inventoryId: D,
|
|
3684
|
-
onboardingType:
|
|
3685
|
-
apiBaseInstance:
|
|
3719
|
+
onboardingType: Y,
|
|
3720
|
+
apiBaseInstance: p?.apiInstance
|
|
3686
3721
|
}
|
|
3687
3722
|
) }),
|
|
3688
3723
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
3689
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
3724
|
+
/* @__PURE__ */ e.jsx("div", { ref: ze, children: /* @__PURE__ */ e.jsx(Et, { onShare: _ }) }),
|
|
3690
3725
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
3691
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
3692
|
-
|
|
3726
|
+
/* @__PURE__ */ e.jsx("div", { ref: ut, children: /* @__PURE__ */ e.jsx(
|
|
3727
|
+
It,
|
|
3693
3728
|
{
|
|
3694
3729
|
onCardClick: g,
|
|
3695
|
-
a4bApi:
|
|
3730
|
+
a4bApi: p,
|
|
3696
3731
|
storeCardsPage: v,
|
|
3697
|
-
storeCardsHeaders:
|
|
3732
|
+
storeCardsHeaders: j,
|
|
3698
3733
|
storeCardsLimit: N
|
|
3699
3734
|
}
|
|
3700
3735
|
) }),
|
|
3701
|
-
(ne ||
|
|
3736
|
+
(ne || J) && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3702
3737
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
3703
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
3704
|
-
|
|
3738
|
+
/* @__PURE__ */ e.jsx("div", { ref: pt, children: J ? /* @__PURE__ */ e.jsx(Me, { subscription: ae, storeId: I, inventoryId: D, onboardingType: Y, apiBaseInstance: p?.apiInstance }) : /* @__PURE__ */ e.jsx(
|
|
3739
|
+
Ce,
|
|
3705
3740
|
{
|
|
3706
|
-
onSubscribe:
|
|
3741
|
+
onSubscribe: b,
|
|
3707
3742
|
storeId: I,
|
|
3708
3743
|
inventoryId: D,
|
|
3709
|
-
onboardingType:
|
|
3710
|
-
apiBaseInstance:
|
|
3744
|
+
onboardingType: Y,
|
|
3745
|
+
apiBaseInstance: p?.apiInstance
|
|
3711
3746
|
}
|
|
3712
3747
|
) })
|
|
3713
3748
|
] })
|
|
3714
3749
|
] })
|
|
3715
3750
|
] }) : /* @__PURE__ */ e.jsx(
|
|
3716
|
-
|
|
3751
|
+
Zr,
|
|
3717
3752
|
{
|
|
3718
3753
|
onJoinClick: O,
|
|
3719
|
-
onSectionImpression:
|
|
3720
|
-
onReviewsSwipe: () =>
|
|
3754
|
+
onSectionImpression: V,
|
|
3755
|
+
onReviewsSwipe: () => G?.({ sectionName: "Reviews" })
|
|
3721
3756
|
}
|
|
3722
3757
|
) })
|
|
3723
3758
|
) })
|
|
3724
3759
|
] });
|
|
3725
3760
|
};
|
|
3726
|
-
function
|
|
3761
|
+
function Rt({
|
|
3727
3762
|
message: a,
|
|
3728
3763
|
compact: n = !1
|
|
3729
3764
|
}) {
|
|
3730
3765
|
return /* @__PURE__ */ e.jsxs(
|
|
3731
3766
|
"div",
|
|
3732
3767
|
{
|
|
3733
|
-
className: `${
|
|
3768
|
+
className: `${c.chatLoader} ${n ? c.chatLoaderCompact : ""}`,
|
|
3734
3769
|
children: [
|
|
3735
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3736
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3770
|
+
/* @__PURE__ */ e.jsx("div", { className: c.spinner }),
|
|
3771
|
+
/* @__PURE__ */ e.jsx("div", { className: c.chatLoaderText, children: a })
|
|
3737
3772
|
]
|
|
3738
3773
|
}
|
|
3739
3774
|
);
|
|
3740
3775
|
}
|
|
3741
|
-
function
|
|
3776
|
+
function ot({
|
|
3742
3777
|
isGlobal: a,
|
|
3743
3778
|
isLandscape: n,
|
|
3744
3779
|
offeringCards: s,
|
|
3745
|
-
pujaCard:
|
|
3746
|
-
showPujaSlide:
|
|
3747
|
-
onOfferingClick:
|
|
3780
|
+
pujaCard: o,
|
|
3781
|
+
showPujaSlide: i,
|
|
3782
|
+
onOfferingClick: m,
|
|
3748
3783
|
onPujaBannerClick: r,
|
|
3749
|
-
onPujaImpression:
|
|
3750
|
-
onSwipe:
|
|
3784
|
+
onPujaImpression: h,
|
|
3785
|
+
onSwipe: d
|
|
3751
3786
|
}) {
|
|
3752
|
-
const
|
|
3787
|
+
const k = F(!1), [u, g] = S(0), p = F(null), v = F(0), j = F(0), N = F(!1), _ = !i, C = a ? _ ? ["chadhava"] : ["puja"] : _ ? ["chadhava", "puja"] : ["puja"], b = C.length, O = b > 1;
|
|
3753
3788
|
B(() => {
|
|
3754
3789
|
const I = C.indexOf("puja");
|
|
3755
|
-
I >= 0 && u === I && (
|
|
3790
|
+
I >= 0 && u === I && (k.current || (h?.({
|
|
3756
3791
|
orientation: n ? "horizontal" : "vertical"
|
|
3757
|
-
}),
|
|
3758
|
-
}, [u, n,
|
|
3759
|
-
g(0),
|
|
3792
|
+
}), k.current = !0));
|
|
3793
|
+
}, [u, n, h, C]), B(() => {
|
|
3794
|
+
g(0), p.current && (p.current.style.transition = "none", p.current.style.transform = "translateX(0%)");
|
|
3760
3795
|
}, [_]);
|
|
3761
|
-
const
|
|
3762
|
-
const D = Math.max(0, Math.min(I,
|
|
3763
|
-
D !== u &&
|
|
3796
|
+
const V = (I) => {
|
|
3797
|
+
const D = Math.max(0, Math.min(I, b - 1));
|
|
3798
|
+
D !== u && d?.({ sectionName: "Carousal", elementPosition: D + 1 }), g(D), p.current && (p.current.style.transition = "transform 0.3s ease", p.current.style.transform = `translateX(-${D * (100 / b)}%)`);
|
|
3764
3799
|
}, w = (I) => {
|
|
3765
|
-
N.current = !0, v.current = I.touches[0].clientX,
|
|
3766
|
-
},
|
|
3767
|
-
if (N.current && (
|
|
3768
|
-
const D = 100 /
|
|
3769
|
-
|
|
3800
|
+
N.current = !0, v.current = I.touches[0].clientX, j.current = 0, p.current && (p.current.style.transition = "none");
|
|
3801
|
+
}, G = (I) => {
|
|
3802
|
+
if (N.current && (j.current = I.touches[0].clientX - v.current, p.current)) {
|
|
3803
|
+
const D = 100 / b, Y = -u * D, le = p.current.clientWidth || 1, X = j.current / le * 100;
|
|
3804
|
+
p.current.style.transform = `translateX(${Y + X}%)`;
|
|
3770
3805
|
}
|
|
3771
3806
|
}, Z = () => {
|
|
3772
3807
|
N.current = !1;
|
|
3773
3808
|
const I = 50;
|
|
3774
|
-
|
|
3809
|
+
j.current < -I && u < b - 1 ? V(u + 1) : j.current > I && u > 0 ? V(u - 1) : V(u);
|
|
3775
3810
|
};
|
|
3776
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
3811
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c.carousel, children: [
|
|
3777
3812
|
/* @__PURE__ */ e.jsx(
|
|
3778
3813
|
"div",
|
|
3779
3814
|
{
|
|
3780
3815
|
style: { overflow: "hidden", width: "100%", position: "relative" },
|
|
3781
3816
|
onTouchStart: O ? w : void 0,
|
|
3782
|
-
onTouchMove: O ?
|
|
3817
|
+
onTouchMove: O ? G : void 0,
|
|
3783
3818
|
onTouchEnd: O ? Z : void 0,
|
|
3784
3819
|
children: /* @__PURE__ */ e.jsx(
|
|
3785
3820
|
"div",
|
|
3786
3821
|
{
|
|
3787
|
-
ref:
|
|
3822
|
+
ref: p,
|
|
3788
3823
|
style: {
|
|
3789
3824
|
display: "flex",
|
|
3790
|
-
width: `${
|
|
3791
|
-
transform: `translateX(-${u * (100 /
|
|
3825
|
+
width: `${b * 100}%`,
|
|
3826
|
+
transform: `translateX(-${u * (100 / b)}%)`,
|
|
3792
3827
|
transition: "transform 0.3s ease"
|
|
3793
3828
|
},
|
|
3794
|
-
children: C.map((I) => /* @__PURE__ */ e.jsx("div", { style: { width: `${100 /
|
|
3795
|
-
|
|
3829
|
+
children: C.map((I) => /* @__PURE__ */ e.jsx("div", { style: { width: `${100 / b}%`, flexShrink: 0 }, children: I === "chadhava" ? /* @__PURE__ */ e.jsx(
|
|
3830
|
+
Ii,
|
|
3796
3831
|
{
|
|
3797
3832
|
isLandscape: n,
|
|
3798
3833
|
offeringCards: s,
|
|
3799
|
-
onOfferingClick:
|
|
3834
|
+
onOfferingClick: m
|
|
3800
3835
|
}
|
|
3801
3836
|
) : /* @__PURE__ */ e.jsx(
|
|
3802
|
-
|
|
3837
|
+
Li,
|
|
3803
3838
|
{
|
|
3804
3839
|
isLandscape: n,
|
|
3805
|
-
pujaCard:
|
|
3840
|
+
pujaCard: o,
|
|
3806
3841
|
onOfferingClick: r
|
|
3807
3842
|
}
|
|
3808
3843
|
) }, I))
|
|
@@ -3810,47 +3845,47 @@ function rt({
|
|
|
3810
3845
|
)
|
|
3811
3846
|
}
|
|
3812
3847
|
),
|
|
3813
|
-
O && /* @__PURE__ */ e.jsx("div", { className:
|
|
3848
|
+
O && /* @__PURE__ */ e.jsx("div", { className: c.carouselDots, children: C.map((I, D) => /* @__PURE__ */ e.jsx(
|
|
3814
3849
|
"button",
|
|
3815
3850
|
{
|
|
3816
3851
|
type: "button",
|
|
3817
|
-
className: `${
|
|
3852
|
+
className: `${c.dot} ${D === u ? c.dotActive : ""}`,
|
|
3818
3853
|
"aria-label": `Slide ${D + 1}`,
|
|
3819
|
-
onClick: () =>
|
|
3854
|
+
onClick: () => V(D)
|
|
3820
3855
|
},
|
|
3821
3856
|
D
|
|
3822
3857
|
)) })
|
|
3823
3858
|
] });
|
|
3824
3859
|
}
|
|
3825
|
-
function
|
|
3860
|
+
function Ii({
|
|
3826
3861
|
isLandscape: a,
|
|
3827
3862
|
offeringCards: n,
|
|
3828
3863
|
onOfferingClick: s
|
|
3829
3864
|
}) {
|
|
3830
|
-
const [
|
|
3865
|
+
const [o, i] = S(!1), [m, r] = S(""), [h, d] = S(null), [k, u] = S(!1), g = async (_) => {
|
|
3831
3866
|
if (s)
|
|
3832
3867
|
try {
|
|
3833
3868
|
await s(_);
|
|
3834
3869
|
} catch (C) {
|
|
3835
3870
|
console.error("Offering click handler failed:", C);
|
|
3836
3871
|
}
|
|
3837
|
-
},
|
|
3838
|
-
|
|
3872
|
+
}, p = (_) => {
|
|
3873
|
+
d(_), r(_.price ? String(_.price) : ""), i(!0);
|
|
3839
3874
|
}, v = () => {
|
|
3840
|
-
|
|
3841
|
-
},
|
|
3875
|
+
i(!1), d(null), r("");
|
|
3876
|
+
}, j = async (_) => {
|
|
3842
3877
|
if (_.isCustom) {
|
|
3843
|
-
|
|
3878
|
+
p(_);
|
|
3844
3879
|
return;
|
|
3845
3880
|
}
|
|
3846
3881
|
await g(_);
|
|
3847
3882
|
}, N = async () => {
|
|
3848
|
-
if (!
|
|
3849
|
-
const _ = Number(
|
|
3883
|
+
if (!h || !s || k) return;
|
|
3884
|
+
const _ = Number(m);
|
|
3850
3885
|
if (!(!Number.isFinite(_) || _ <= 0))
|
|
3851
3886
|
try {
|
|
3852
3887
|
u(!0), await s({
|
|
3853
|
-
...
|
|
3888
|
+
...h,
|
|
3854
3889
|
price: _,
|
|
3855
3890
|
customAmount: _
|
|
3856
3891
|
}), v();
|
|
@@ -3861,65 +3896,65 @@ function Si({
|
|
|
3861
3896
|
}
|
|
3862
3897
|
};
|
|
3863
3898
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3864
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3899
|
+
/* @__PURE__ */ e.jsx("div", { className: c.banner, children: /* @__PURE__ */ e.jsxs("div", { className: c.bannerCard, children: [
|
|
3865
3900
|
/* @__PURE__ */ e.jsx(
|
|
3866
3901
|
"p",
|
|
3867
3902
|
{
|
|
3868
|
-
className: a ?
|
|
3903
|
+
className: a ? c.landscapeHeader : c.bannerTitle,
|
|
3869
3904
|
children: "Pandit Ji invited to make offering to this Puja"
|
|
3870
3905
|
}
|
|
3871
3906
|
),
|
|
3872
|
-
/* @__PURE__ */ e.jsx("div", { className: a ?
|
|
3907
|
+
/* @__PURE__ */ e.jsx("div", { className: a ? c.landscapeScroll : c.scroll, children: n.map(
|
|
3873
3908
|
(_, C) => a ? /* @__PURE__ */ e.jsx(
|
|
3874
|
-
|
|
3909
|
+
Fi,
|
|
3875
3910
|
{
|
|
3876
3911
|
item: _,
|
|
3877
|
-
onClick: () =>
|
|
3912
|
+
onClick: () => j(_)
|
|
3878
3913
|
},
|
|
3879
3914
|
_.id
|
|
3880
3915
|
) : /* @__PURE__ */ e.jsx(
|
|
3881
|
-
|
|
3916
|
+
Ai,
|
|
3882
3917
|
{
|
|
3883
3918
|
item: _,
|
|
3884
3919
|
index: C,
|
|
3885
3920
|
totalItems: n.length,
|
|
3886
|
-
onClick: () =>
|
|
3921
|
+
onClick: () => j(_)
|
|
3887
3922
|
},
|
|
3888
3923
|
_.id
|
|
3889
3924
|
)
|
|
3890
3925
|
) })
|
|
3891
3926
|
] }) }),
|
|
3892
3927
|
/* @__PURE__ */ e.jsx(
|
|
3893
|
-
|
|
3928
|
+
Ri,
|
|
3894
3929
|
{
|
|
3895
|
-
open:
|
|
3896
|
-
amount:
|
|
3930
|
+
open: o,
|
|
3931
|
+
amount: m,
|
|
3897
3932
|
onAmountChange: (_) => r(_.replace(/[^0-9]/g, "")),
|
|
3898
3933
|
onClose: v,
|
|
3899
3934
|
onContinue: N,
|
|
3900
|
-
disabled: !
|
|
3935
|
+
disabled: !m || Number(m) <= 0 || k
|
|
3901
3936
|
}
|
|
3902
3937
|
)
|
|
3903
3938
|
] });
|
|
3904
3939
|
}
|
|
3905
|
-
function
|
|
3940
|
+
function Ri({
|
|
3906
3941
|
open: a,
|
|
3907
3942
|
amount: n,
|
|
3908
3943
|
onAmountChange: s,
|
|
3909
|
-
onClose:
|
|
3910
|
-
onContinue:
|
|
3911
|
-
disabled:
|
|
3944
|
+
onClose: o,
|
|
3945
|
+
onContinue: i,
|
|
3946
|
+
disabled: m
|
|
3912
3947
|
}) {
|
|
3913
|
-
return a ? /* @__PURE__ */ e.jsx("div", { className:
|
|
3948
|
+
return a ? /* @__PURE__ */ e.jsx("div", { className: c.customSheetOverlay, onClick: o, children: /* @__PURE__ */ e.jsxs(
|
|
3914
3949
|
"div",
|
|
3915
3950
|
{
|
|
3916
|
-
className:
|
|
3951
|
+
className: c.customSheet,
|
|
3917
3952
|
onClick: (r) => r.stopPropagation(),
|
|
3918
3953
|
children: [
|
|
3919
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3920
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3921
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3922
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
3954
|
+
/* @__PURE__ */ e.jsx("p", { className: c.customSheetTitle, children: "Enter Amount" }),
|
|
3955
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.customSheetRow, children: [
|
|
3956
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.customInputWrap, children: [
|
|
3957
|
+
/* @__PURE__ */ e.jsx("span", { className: c.currencySymbol, children: "₹" }),
|
|
3923
3958
|
/* @__PURE__ */ e.jsx(
|
|
3924
3959
|
"input",
|
|
3925
3960
|
{
|
|
@@ -3929,7 +3964,7 @@ function Ci({
|
|
|
3929
3964
|
pattern: "[0-9]*",
|
|
3930
3965
|
value: n,
|
|
3931
3966
|
onChange: (r) => s(r.target.value),
|
|
3932
|
-
className:
|
|
3967
|
+
className: c.customInput,
|
|
3933
3968
|
"aria-label": "Custom offering amount"
|
|
3934
3969
|
}
|
|
3935
3970
|
)
|
|
@@ -3938,9 +3973,9 @@ function Ci({
|
|
|
3938
3973
|
"button",
|
|
3939
3974
|
{
|
|
3940
3975
|
type: "button",
|
|
3941
|
-
className:
|
|
3942
|
-
onClick:
|
|
3943
|
-
disabled:
|
|
3976
|
+
className: c.customContinueBtn,
|
|
3977
|
+
onClick: i,
|
|
3978
|
+
disabled: m,
|
|
3944
3979
|
children: "Continue"
|
|
3945
3980
|
}
|
|
3946
3981
|
)
|
|
@@ -3949,15 +3984,15 @@ function Ci({
|
|
|
3949
3984
|
}
|
|
3950
3985
|
) }) : null;
|
|
3951
3986
|
}
|
|
3952
|
-
function
|
|
3987
|
+
function Li({
|
|
3953
3988
|
isLandscape: a,
|
|
3954
3989
|
pujaCard: n,
|
|
3955
3990
|
onOfferingClick: s
|
|
3956
3991
|
}) {
|
|
3957
|
-
return /* @__PURE__ */ e.jsx("div", { className:
|
|
3958
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3992
|
+
return /* @__PURE__ */ e.jsx("div", { className: c.pujaBanner, children: /* @__PURE__ */ e.jsxs("div", { className: c.pujaWrapperVertical, children: [
|
|
3993
|
+
/* @__PURE__ */ e.jsx("p", { className: c.pujaTopTitle, children: "Perform Live Puja" }),
|
|
3959
3994
|
/* @__PURE__ */ e.jsx(
|
|
3960
|
-
|
|
3995
|
+
Di,
|
|
3961
3996
|
{
|
|
3962
3997
|
isLandscape: a,
|
|
3963
3998
|
pujaCard: n,
|
|
@@ -3966,17 +4001,17 @@ function ki({
|
|
|
3966
4001
|
)
|
|
3967
4002
|
] }) });
|
|
3968
4003
|
}
|
|
3969
|
-
function
|
|
4004
|
+
function aa() {
|
|
3970
4005
|
return /* @__PURE__ */ e.jsx(
|
|
3971
4006
|
"img",
|
|
3972
4007
|
{
|
|
3973
4008
|
src: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
3974
4009
|
alt: "Date",
|
|
3975
|
-
className:
|
|
4010
|
+
className: c.dateIcon
|
|
3976
4011
|
}
|
|
3977
4012
|
);
|
|
3978
4013
|
}
|
|
3979
|
-
function
|
|
4014
|
+
function Di({
|
|
3980
4015
|
isLandscape: a,
|
|
3981
4016
|
pujaCard: n,
|
|
3982
4017
|
onClick: s
|
|
@@ -3985,33 +4020,33 @@ function Ni({
|
|
|
3985
4020
|
"div",
|
|
3986
4021
|
{
|
|
3987
4022
|
onClick: s,
|
|
3988
|
-
className:
|
|
4023
|
+
className: c.pujaCardHorizontal,
|
|
3989
4024
|
style: { cursor: s ? "pointer" : "default" },
|
|
3990
4025
|
children: [
|
|
3991
4026
|
/* @__PURE__ */ e.jsx(
|
|
3992
4027
|
"img",
|
|
3993
4028
|
{
|
|
3994
4029
|
src: n.imageUrl || xe.imageUrl,
|
|
3995
|
-
className:
|
|
4030
|
+
className: c.pujaImageHorizontal,
|
|
3996
4031
|
alt: n.title
|
|
3997
4032
|
}
|
|
3998
4033
|
),
|
|
3999
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
4000
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
4001
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
4034
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.pujaContentHorizontal, children: [
|
|
4035
|
+
/* @__PURE__ */ e.jsx("p", { className: c.pujaTitleHorizontal, children: n.title }),
|
|
4036
|
+
/* @__PURE__ */ e.jsxs("p", { className: c.pujaSubHorizontal, children: [
|
|
4002
4037
|
/* @__PURE__ */ e.jsx("span", { children: /* @__PURE__ */ e.jsx(
|
|
4003
4038
|
"img",
|
|
4004
4039
|
{
|
|
4005
4040
|
src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg",
|
|
4006
4041
|
alt: "Location",
|
|
4007
|
-
className:
|
|
4042
|
+
className: c.locationIcon
|
|
4008
4043
|
}
|
|
4009
4044
|
) }),
|
|
4010
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
4045
|
+
/* @__PURE__ */ e.jsx("span", { className: c.pujaMetaText, children: n.location })
|
|
4011
4046
|
] }),
|
|
4012
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
4013
|
-
/* @__PURE__ */ e.jsx(
|
|
4014
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
4047
|
+
/* @__PURE__ */ e.jsxs("p", { className: c.pujaSubHorizontal, children: [
|
|
4048
|
+
/* @__PURE__ */ e.jsx(aa, {}),
|
|
4049
|
+
/* @__PURE__ */ e.jsx("span", { className: c.pujaMetaText, children: n.date })
|
|
4015
4050
|
] })
|
|
4016
4051
|
] })
|
|
4017
4052
|
]
|
|
@@ -4020,75 +4055,75 @@ function Ni({
|
|
|
4020
4055
|
"div",
|
|
4021
4056
|
{
|
|
4022
4057
|
onClick: s,
|
|
4023
|
-
className:
|
|
4058
|
+
className: c.pujaCardVertical,
|
|
4024
4059
|
style: { cursor: s ? "pointer" : "default" },
|
|
4025
4060
|
children: [
|
|
4026
4061
|
/* @__PURE__ */ e.jsx(
|
|
4027
4062
|
"img",
|
|
4028
4063
|
{
|
|
4029
4064
|
src: n.imageUrl || xe.imageUrl,
|
|
4030
|
-
className:
|
|
4065
|
+
className: c.pujaImage,
|
|
4031
4066
|
alt: n.title
|
|
4032
4067
|
}
|
|
4033
4068
|
),
|
|
4034
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
4035
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
4036
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
4069
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.pujaContent, children: [
|
|
4070
|
+
/* @__PURE__ */ e.jsx("p", { className: c.pujaTitle, children: n.title }),
|
|
4071
|
+
/* @__PURE__ */ e.jsxs("p", { className: c.pujaSub, children: [
|
|
4037
4072
|
/* @__PURE__ */ e.jsx(
|
|
4038
4073
|
"img",
|
|
4039
4074
|
{
|
|
4040
4075
|
src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg",
|
|
4041
4076
|
alt: "Location",
|
|
4042
|
-
className:
|
|
4077
|
+
className: c.locationIcon
|
|
4043
4078
|
}
|
|
4044
4079
|
),
|
|
4045
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
4080
|
+
/* @__PURE__ */ e.jsx("span", { className: c.pujaMetaText, children: n.location })
|
|
4046
4081
|
] }),
|
|
4047
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
4048
|
-
/* @__PURE__ */ e.jsx(
|
|
4049
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
4082
|
+
/* @__PURE__ */ e.jsxs("p", { className: c.pujaTrustmakers, children: [
|
|
4083
|
+
/* @__PURE__ */ e.jsx(aa, {}),
|
|
4084
|
+
/* @__PURE__ */ e.jsx("span", { className: c.pujaMetaText, children: n.date })
|
|
4050
4085
|
] })
|
|
4051
4086
|
] })
|
|
4052
4087
|
]
|
|
4053
4088
|
}
|
|
4054
4089
|
) });
|
|
4055
4090
|
}
|
|
4056
|
-
function
|
|
4091
|
+
function Ai({
|
|
4057
4092
|
item: a,
|
|
4058
4093
|
index: n,
|
|
4059
4094
|
totalItems: s,
|
|
4060
|
-
onClick:
|
|
4095
|
+
onClick: o
|
|
4061
4096
|
}) {
|
|
4062
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
4063
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
4064
|
-
/* @__PURE__ */ e.jsx("img", { src: a.image_url, alt: a.name, className:
|
|
4097
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c.card, onClick: o, children: [
|
|
4098
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.imageWrapper, children: [
|
|
4099
|
+
/* @__PURE__ */ e.jsx("img", { src: a.image_url, alt: a.name, className: c.image }),
|
|
4065
4100
|
/* @__PURE__ */ e.jsx(
|
|
4066
4101
|
"img",
|
|
4067
4102
|
{
|
|
4068
4103
|
src: "https://srm-cdn.a4b.io/yoda/1776345059010.svg",
|
|
4069
4104
|
alt: "",
|
|
4070
|
-
className:
|
|
4105
|
+
className: c.addBtn,
|
|
4071
4106
|
"aria-hidden": "true"
|
|
4072
4107
|
}
|
|
4073
4108
|
)
|
|
4074
4109
|
] }),
|
|
4075
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
4076
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
4077
|
-
n !== s - 1 && /* @__PURE__ */ e.jsx("div", { className:
|
|
4110
|
+
/* @__PURE__ */ e.jsx("p", { className: c.title, children: a.name }),
|
|
4111
|
+
/* @__PURE__ */ e.jsx("div", { className: c.priceRow, children: /* @__PURE__ */ e.jsx("span", { className: c.price, children: a.price === null ? "₹" : `₹${a.price}` }) }),
|
|
4112
|
+
n !== s - 1 && /* @__PURE__ */ e.jsx("div", { className: c.divider })
|
|
4078
4113
|
] });
|
|
4079
4114
|
}
|
|
4080
|
-
function
|
|
4115
|
+
function Fi({
|
|
4081
4116
|
item: a,
|
|
4082
4117
|
onClick: n
|
|
4083
4118
|
}) {
|
|
4084
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
4085
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
4119
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c.landscapeCard, onClick: n, children: [
|
|
4120
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.landscapeImageWrapper, children: [
|
|
4086
4121
|
/* @__PURE__ */ e.jsx(
|
|
4087
4122
|
"img",
|
|
4088
4123
|
{
|
|
4089
4124
|
src: a.image_url,
|
|
4090
4125
|
alt: a.name,
|
|
4091
|
-
className:
|
|
4126
|
+
className: c.landscapeImage
|
|
4092
4127
|
}
|
|
4093
4128
|
),
|
|
4094
4129
|
/* @__PURE__ */ e.jsx(
|
|
@@ -4096,41 +4131,41 @@ function Ei({
|
|
|
4096
4131
|
{
|
|
4097
4132
|
src: "https://srm-cdn.a4b.io/yoda/1776345059010.svg",
|
|
4098
4133
|
alt: "",
|
|
4099
|
-
className:
|
|
4134
|
+
className: c.landscapeAdd,
|
|
4100
4135
|
"aria-hidden": "true"
|
|
4101
4136
|
}
|
|
4102
4137
|
)
|
|
4103
4138
|
] }),
|
|
4104
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
4105
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
4106
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
4139
|
+
/* @__PURE__ */ e.jsxs("div", { className: c.landscapeContent, children: [
|
|
4140
|
+
/* @__PURE__ */ e.jsx("p", { className: c.landscapeTitle, children: a.name }),
|
|
4141
|
+
/* @__PURE__ */ e.jsx("div", { className: c.landscapePriceRow, children: /* @__PURE__ */ e.jsx("span", { className: c.landscapePrice, children: a.price === null ? "₹" : `₹${a.price}` }) })
|
|
4107
4142
|
] })
|
|
4108
4143
|
] });
|
|
4109
4144
|
}
|
|
4110
|
-
const
|
|
4145
|
+
const na = "hanuman-live-sindoor", sa = "hanuman-live-peda", ra = "hanuman-live-sindoor-peda", $e = {
|
|
4111
4146
|
sindoor: "https://rzp.io/rzp/Pb7xgDj",
|
|
4112
4147
|
peda: "https://rzp.io/rzp/LfL86khp",
|
|
4113
4148
|
sindoorPeda: "https://rzp.io/rzp/NM9b4lx"
|
|
4114
|
-
},
|
|
4149
|
+
}, Hi = [
|
|
4115
4150
|
{
|
|
4116
4151
|
afterTime: "2024-01-01T00:00:00Z",
|
|
4117
4152
|
items: [
|
|
4118
4153
|
{
|
|
4119
|
-
inventory_id:
|
|
4154
|
+
inventory_id: na,
|
|
4120
4155
|
name: "Sindoor",
|
|
4121
4156
|
price: 51,
|
|
4122
4157
|
razorpay_link: $e.sindoor,
|
|
4123
4158
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
4124
4159
|
},
|
|
4125
4160
|
{
|
|
4126
|
-
inventory_id:
|
|
4161
|
+
inventory_id: sa,
|
|
4127
4162
|
name: "Peda",
|
|
4128
4163
|
price: 101,
|
|
4129
4164
|
razorpay_link: $e.peda,
|
|
4130
4165
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
4131
4166
|
},
|
|
4132
4167
|
{
|
|
4133
|
-
inventory_id:
|
|
4168
|
+
inventory_id: ra,
|
|
4134
4169
|
name: "Sindoor + Peda",
|
|
4135
4170
|
price: 121,
|
|
4136
4171
|
original_price: "101 + 51",
|
|
@@ -4144,21 +4179,21 @@ const ea = "hanuman-live-sindoor", ta = "hanuman-live-peda", aa = "hanuman-live-
|
|
|
4144
4179
|
afterTime: "2024-08-01T00:00:00Z",
|
|
4145
4180
|
items: [
|
|
4146
4181
|
{
|
|
4147
|
-
inventory_id:
|
|
4182
|
+
inventory_id: na,
|
|
4148
4183
|
name: "Sindoor",
|
|
4149
4184
|
price: 51,
|
|
4150
4185
|
razorpay_link: $e.sindoor,
|
|
4151
4186
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866984116.png"
|
|
4152
4187
|
},
|
|
4153
4188
|
{
|
|
4154
|
-
inventory_id:
|
|
4189
|
+
inventory_id: sa,
|
|
4155
4190
|
name: "Peda",
|
|
4156
4191
|
price: 101,
|
|
4157
4192
|
razorpay_link: $e.peda,
|
|
4158
4193
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
4159
4194
|
},
|
|
4160
4195
|
{
|
|
4161
|
-
inventory_id:
|
|
4196
|
+
inventory_id: ra,
|
|
4162
4197
|
name: "Sindoor + Peda",
|
|
4163
4198
|
price: 121,
|
|
4164
4199
|
discount: "20%",
|
|
@@ -4169,19 +4204,19 @@ const ea = "hanuman-live-sindoor", ta = "hanuman-live-peda", aa = "hanuman-live-
|
|
|
4169
4204
|
}
|
|
4170
4205
|
];
|
|
4171
4206
|
export {
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4207
|
+
Mi as AppContextProvider,
|
|
4208
|
+
Hi as BANNER_ITEMS,
|
|
4209
|
+
Nt as DLPTabs,
|
|
4210
|
+
Oi as I18nProvider,
|
|
4211
|
+
$i as LandingPage,
|
|
4212
|
+
Zr as LoggedOutSections,
|
|
4213
|
+
Et as ShareSection,
|
|
4214
|
+
It as StoreSection,
|
|
4215
|
+
Tt as StreakSection,
|
|
4216
|
+
Ce as SubscriptionSection,
|
|
4217
|
+
Ui as SuccessPage,
|
|
4218
|
+
Wi as VideoPage,
|
|
4219
|
+
da as useAppContext,
|
|
4220
|
+
Lt as useI18n
|
|
4186
4221
|
};
|
|
4187
4222
|
//# sourceMappingURL=daily-live-puja.js.map
|