@srimandir/daily-live-puja 1.4.4 → 1.4.6
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 +1217 -1112
- package/dist/daily-live-puja.js.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useSubscriptionStatus.d.ts +31 -0
- package/package.json +3 -3
- package/dist/assets/storeCards.worker-DEQNWpvH.js +0 -2
- package/dist/assets/storeCards.worker-DEQNWpvH.js.map +0 -1
package/dist/daily-live-puja.js
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
function
|
|
5
|
-
if (
|
|
6
|
-
|
|
7
|
-
var a =
|
|
8
|
-
function
|
|
9
|
-
var p, f = {}, x = null,
|
|
10
|
-
v !== void 0 && (x = "" + v), h.key !== void 0 && (x = "" + h.key), h.ref !== void 0 && (
|
|
11
|
-
for (p in h)
|
|
1
|
+
import xt, { useContext as Ut, createContext as Wt, useState as w, useEffect as D, useRef as U, useMemo as gt, useCallback as _t, useId as ea } from "react";
|
|
2
|
+
var at = { exports: {} }, Ye = {};
|
|
3
|
+
var wt;
|
|
4
|
+
function ta() {
|
|
5
|
+
if (wt) return Ye;
|
|
6
|
+
wt = 1;
|
|
7
|
+
var a = xt, s = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, c = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
8
|
+
function r(o, h, v) {
|
|
9
|
+
var p, f = {}, x = null, j = null;
|
|
10
|
+
v !== void 0 && (x = "" + v), h.key !== void 0 && (x = "" + h.key), h.ref !== void 0 && (j = h.ref);
|
|
11
|
+
for (p in h) d.call(h, p) && !m.hasOwnProperty(p) && (f[p] = h[p]);
|
|
12
12
|
if (o && o.defaultProps) for (p in h = o.defaultProps, h) f[p] === void 0 && (f[p] = h[p]);
|
|
13
|
-
return { $$typeof: s, type: o, key: x, ref:
|
|
13
|
+
return { $$typeof: s, type: o, key: x, ref: j, props: f, _owner: c.current };
|
|
14
14
|
}
|
|
15
|
-
return
|
|
15
|
+
return Ye.Fragment = l, Ye.jsx = r, Ye.jsxs = r, Ye;
|
|
16
16
|
}
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
function
|
|
20
|
-
return
|
|
21
|
-
var a =
|
|
17
|
+
var Ge = {};
|
|
18
|
+
var Ct;
|
|
19
|
+
function aa() {
|
|
20
|
+
return Ct || (Ct = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
21
|
+
var a = xt, s = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), c = /* @__PURE__ */ Symbol.for("react.strict_mode"), m = /* @__PURE__ */ Symbol.for("react.profiler"), r = /* @__PURE__ */ Symbol.for("react.provider"), o = /* @__PURE__ */ Symbol.for("react.context"), h = /* @__PURE__ */ Symbol.for("react.forward_ref"), v = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.suspense_list"), f = /* @__PURE__ */ Symbol.for("react.memo"), x = /* @__PURE__ */ Symbol.for("react.lazy"), j = /* @__PURE__ */ Symbol.for("react.offscreen"), L = Symbol.iterator, E = "@@iterator";
|
|
22
22
|
function _(t) {
|
|
23
23
|
if (t === null || typeof t != "object")
|
|
24
24
|
return null;
|
|
25
|
-
var n = L && t[L] || t[
|
|
25
|
+
var n = L && t[L] || t[E];
|
|
26
26
|
return typeof n == "function" ? n : null;
|
|
27
27
|
}
|
|
28
|
-
var
|
|
29
|
-
function
|
|
28
|
+
var N = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
29
|
+
function S(t) {
|
|
30
30
|
{
|
|
31
|
-
for (var n = arguments.length,
|
|
32
|
-
|
|
33
|
-
z("error", t,
|
|
31
|
+
for (var n = arguments.length, u = new Array(n > 1 ? n - 1 : 0), g = 1; g < n; g++)
|
|
32
|
+
u[g - 1] = arguments[g];
|
|
33
|
+
z("error", t, u);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
function z(t, n,
|
|
36
|
+
function z(t, n, u) {
|
|
37
37
|
{
|
|
38
|
-
var g =
|
|
39
|
-
k !== "" && (n += "%s",
|
|
40
|
-
var
|
|
38
|
+
var g = N.ReactDebugCurrentFrame, k = g.getStackAddendum();
|
|
39
|
+
k !== "" && (n += "%s", u = u.concat([k]));
|
|
40
|
+
var I = u.map(function(C) {
|
|
41
41
|
return String(C);
|
|
42
42
|
});
|
|
43
|
-
|
|
43
|
+
I.unshift("Warning: " + n), Function.prototype.apply.call(console[t], console, I);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
var
|
|
47
|
-
|
|
48
|
-
function
|
|
49
|
-
return !!(typeof t == "string" || typeof t == "function" || t ===
|
|
46
|
+
var B = !1, T = !1, Y = !1, Q = !1, ne = !1, ie;
|
|
47
|
+
ie = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
48
|
+
function he(t) {
|
|
49
|
+
return !!(typeof t == "string" || typeof t == "function" || t === d || t === m || ne || t === c || t === v || t === p || Q || t === j || B || T || Y || typeof t == "object" && t !== null && (t.$$typeof === x || t.$$typeof === f || t.$$typeof === r || t.$$typeof === o || t.$$typeof === h || // 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
|
-
t.$$typeof ===
|
|
53
|
+
t.$$typeof === ie || t.getModuleId !== void 0));
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function me(t, n, u) {
|
|
56
56
|
var g = t.displayName;
|
|
57
57
|
if (g)
|
|
58
58
|
return g;
|
|
59
59
|
var k = n.displayName || n.name || "";
|
|
60
|
-
return k !== "" ?
|
|
60
|
+
return k !== "" ? u + "(" + k + ")" : u;
|
|
61
61
|
}
|
|
62
62
|
function M(t) {
|
|
63
63
|
return t.displayName || "Context";
|
|
@@ -65,12 +65,12 @@ function ta() {
|
|
|
65
65
|
function H(t) {
|
|
66
66
|
if (t == null)
|
|
67
67
|
return null;
|
|
68
|
-
if (typeof t.tag == "number" &&
|
|
68
|
+
if (typeof t.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
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 d:
|
|
74
74
|
return "Fragment";
|
|
75
75
|
case l:
|
|
76
76
|
return "Portal";
|
|
@@ -88,18 +88,18 @@ function ta() {
|
|
|
88
88
|
case o:
|
|
89
89
|
var n = t;
|
|
90
90
|
return M(n) + ".Consumer";
|
|
91
|
-
case
|
|
92
|
-
var
|
|
93
|
-
return M(
|
|
91
|
+
case r:
|
|
92
|
+
var u = t;
|
|
93
|
+
return M(u._context) + ".Provider";
|
|
94
94
|
case h:
|
|
95
|
-
return
|
|
95
|
+
return me(t, t.render, "ForwardRef");
|
|
96
96
|
case f:
|
|
97
97
|
var g = t.displayName || null;
|
|
98
98
|
return g !== null ? g : H(t.type) || "Memo";
|
|
99
99
|
case x: {
|
|
100
|
-
var k = t,
|
|
100
|
+
var k = t, I = k._payload, C = k._init;
|
|
101
101
|
try {
|
|
102
|
-
return H(C(
|
|
102
|
+
return H(C(I));
|
|
103
103
|
} catch {
|
|
104
104
|
return null;
|
|
105
105
|
}
|
|
@@ -107,18 +107,18 @@ function ta() {
|
|
|
107
107
|
}
|
|
108
108
|
return null;
|
|
109
109
|
}
|
|
110
|
-
var
|
|
111
|
-
function
|
|
110
|
+
var G = Object.assign, oe = 0, Pe, K, Le, Ae, Fe, De, Be;
|
|
111
|
+
function Oe() {
|
|
112
112
|
}
|
|
113
|
-
|
|
114
|
-
function
|
|
113
|
+
Oe.__reactDisabledLog = !0;
|
|
114
|
+
function Je() {
|
|
115
115
|
{
|
|
116
|
-
if (
|
|
117
|
-
Pe = console.log,
|
|
116
|
+
if (oe === 0) {
|
|
117
|
+
Pe = console.log, K = console.info, Le = console.warn, Ae = console.error, Fe = console.group, De = console.groupCollapsed, Be = console.groupEnd;
|
|
118
118
|
var t = {
|
|
119
119
|
configurable: !0,
|
|
120
120
|
enumerable: !0,
|
|
121
|
-
value:
|
|
121
|
+
value: Oe,
|
|
122
122
|
writable: !0
|
|
123
123
|
};
|
|
124
124
|
Object.defineProperties(console, {
|
|
@@ -131,77 +131,77 @@ function ta() {
|
|
|
131
131
|
groupEnd: t
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
|
-
|
|
134
|
+
oe++;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function Ze() {
|
|
138
138
|
{
|
|
139
|
-
if (
|
|
139
|
+
if (oe--, oe === 0) {
|
|
140
140
|
var t = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
143
143
|
writable: !0
|
|
144
144
|
};
|
|
145
145
|
Object.defineProperties(console, {
|
|
146
|
-
log:
|
|
146
|
+
log: G({}, t, {
|
|
147
147
|
value: Pe
|
|
148
148
|
}),
|
|
149
|
-
info:
|
|
150
|
-
value:
|
|
149
|
+
info: G({}, t, {
|
|
150
|
+
value: K
|
|
151
151
|
}),
|
|
152
|
-
warn:
|
|
153
|
-
value: Re
|
|
154
|
-
}),
|
|
155
|
-
error: K({}, t, {
|
|
156
|
-
value: Ie
|
|
157
|
-
}),
|
|
158
|
-
group: K({}, t, {
|
|
152
|
+
warn: G({}, t, {
|
|
159
153
|
value: Le
|
|
160
154
|
}),
|
|
161
|
-
|
|
155
|
+
error: G({}, t, {
|
|
162
156
|
value: Ae
|
|
163
157
|
}),
|
|
164
|
-
|
|
158
|
+
group: G({}, t, {
|
|
165
159
|
value: Fe
|
|
160
|
+
}),
|
|
161
|
+
groupCollapsed: G({}, t, {
|
|
162
|
+
value: De
|
|
163
|
+
}),
|
|
164
|
+
groupEnd: G({}, t, {
|
|
165
|
+
value: Be
|
|
166
166
|
})
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
|
-
|
|
169
|
+
oe < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
var
|
|
173
|
-
function
|
|
172
|
+
var qe = N.ReactCurrentDispatcher, $;
|
|
173
|
+
function be(t, n, u) {
|
|
174
174
|
{
|
|
175
|
-
if (
|
|
175
|
+
if ($ === void 0)
|
|
176
176
|
try {
|
|
177
177
|
throw Error();
|
|
178
178
|
} catch (k) {
|
|
179
179
|
var g = k.stack.trim().match(/\n( *(at )?)/);
|
|
180
|
-
|
|
180
|
+
$ = g && g[1] || "";
|
|
181
181
|
}
|
|
182
182
|
return `
|
|
183
|
-
` +
|
|
183
|
+
` + $ + t;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
var
|
|
186
|
+
var ye = !1, q;
|
|
187
187
|
{
|
|
188
|
-
var
|
|
189
|
-
|
|
188
|
+
var Me = typeof WeakMap == "function" ? WeakMap : Map;
|
|
189
|
+
q = new Me();
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
if (!t ||
|
|
191
|
+
function Z(t, n) {
|
|
192
|
+
if (!t || ye)
|
|
193
193
|
return "";
|
|
194
194
|
{
|
|
195
|
-
var
|
|
196
|
-
if (
|
|
197
|
-
return
|
|
195
|
+
var u = q.get(t);
|
|
196
|
+
if (u !== void 0)
|
|
197
|
+
return u;
|
|
198
198
|
}
|
|
199
199
|
var g;
|
|
200
|
-
|
|
200
|
+
ye = !0;
|
|
201
201
|
var k = Error.prepareStackTrace;
|
|
202
202
|
Error.prepareStackTrace = void 0;
|
|
203
|
-
var
|
|
204
|
-
|
|
203
|
+
var I;
|
|
204
|
+
I = qe.current, qe.current = null, Je();
|
|
205
205
|
try {
|
|
206
206
|
if (n) {
|
|
207
207
|
var C = function() {
|
|
@@ -236,227 +236,227 @@ function ta() {
|
|
|
236
236
|
}
|
|
237
237
|
} catch (V) {
|
|
238
238
|
if (V && g && typeof V.stack == "string") {
|
|
239
|
-
for (var
|
|
239
|
+
for (var y = V.stack.split(`
|
|
240
240
|
`), W = g.stack.split(`
|
|
241
|
-
`), F =
|
|
242
|
-
|
|
243
|
-
for (; F >= 1 &&
|
|
244
|
-
if (
|
|
245
|
-
if (F !== 1 ||
|
|
241
|
+
`), F = y.length - 1, O = W.length - 1; F >= 1 && O >= 0 && y[F] !== W[O]; )
|
|
242
|
+
O--;
|
|
243
|
+
for (; F >= 1 && O >= 0; F--, O--)
|
|
244
|
+
if (y[F] !== W[O]) {
|
|
245
|
+
if (F !== 1 || O !== 1)
|
|
246
246
|
do
|
|
247
|
-
if (F--,
|
|
248
|
-
var
|
|
249
|
-
` +
|
|
250
|
-
return t.displayName &&
|
|
247
|
+
if (F--, O--, O < 0 || y[F] !== W[O]) {
|
|
248
|
+
var J = `
|
|
249
|
+
` + y[F].replace(" at new ", " at ");
|
|
250
|
+
return t.displayName && J.includes("<anonymous>") && (J = J.replace("<anonymous>", t.displayName)), typeof t == "function" && q.set(t, J), J;
|
|
251
251
|
}
|
|
252
|
-
while (F >= 1 &&
|
|
252
|
+
while (F >= 1 && O >= 0);
|
|
253
253
|
break;
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
} finally {
|
|
257
|
-
|
|
257
|
+
ye = !1, qe.current = I, Ze(), Error.prepareStackTrace = k;
|
|
258
258
|
}
|
|
259
|
-
var
|
|
260
|
-
return typeof t == "function" &&
|
|
259
|
+
var Ie = t ? t.displayName || t.name : "", je = Ie ? be(Ie) : "";
|
|
260
|
+
return typeof t == "function" && q.set(t, je), je;
|
|
261
261
|
}
|
|
262
|
-
function
|
|
263
|
-
return
|
|
262
|
+
function Ue(t, n, u) {
|
|
263
|
+
return Z(t, !1);
|
|
264
264
|
}
|
|
265
|
-
function
|
|
265
|
+
function we(t) {
|
|
266
266
|
var n = t.prototype;
|
|
267
267
|
return !!(n && n.isReactComponent);
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function fe(t, n, u) {
|
|
270
270
|
if (t == null)
|
|
271
271
|
return "";
|
|
272
272
|
if (typeof t == "function")
|
|
273
|
-
return
|
|
273
|
+
return Z(t, we(t));
|
|
274
274
|
if (typeof t == "string")
|
|
275
|
-
return
|
|
275
|
+
return be(t);
|
|
276
276
|
switch (t) {
|
|
277
277
|
case v:
|
|
278
|
-
return
|
|
278
|
+
return be("Suspense");
|
|
279
279
|
case p:
|
|
280
|
-
return
|
|
280
|
+
return be("SuspenseList");
|
|
281
281
|
}
|
|
282
282
|
if (typeof t == "object")
|
|
283
283
|
switch (t.$$typeof) {
|
|
284
284
|
case h:
|
|
285
|
-
return
|
|
285
|
+
return Ue(t.render);
|
|
286
286
|
case f:
|
|
287
|
-
return
|
|
287
|
+
return fe(t.type, n, u);
|
|
288
288
|
case x: {
|
|
289
|
-
var g = t, k = g._payload,
|
|
289
|
+
var g = t, k = g._payload, I = g._init;
|
|
290
290
|
try {
|
|
291
|
-
return
|
|
291
|
+
return fe(I(k), n, u);
|
|
292
292
|
} catch {
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
return "";
|
|
297
297
|
}
|
|
298
|
-
var
|
|
299
|
-
function
|
|
298
|
+
var le = Object.prototype.hasOwnProperty, We = {}, X = N.ReactDebugCurrentFrame;
|
|
299
|
+
function xe(t) {
|
|
300
300
|
if (t) {
|
|
301
|
-
var n = t._owner,
|
|
302
|
-
|
|
301
|
+
var n = t._owner, u = fe(t.type, t._source, n ? n.type : null);
|
|
302
|
+
X.setExtraStackFrame(u);
|
|
303
303
|
} else
|
|
304
|
-
|
|
304
|
+
X.setExtraStackFrame(null);
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function rt(t, n, u, g, k) {
|
|
307
307
|
{
|
|
308
|
-
var
|
|
308
|
+
var I = Function.call.bind(le);
|
|
309
309
|
for (var C in t)
|
|
310
|
-
if (
|
|
311
|
-
var
|
|
310
|
+
if (I(t, C)) {
|
|
311
|
+
var y = void 0;
|
|
312
312
|
try {
|
|
313
313
|
if (typeof t[C] != "function") {
|
|
314
|
-
var W = Error((g || "React class") + ": " +
|
|
314
|
+
var W = Error((g || "React class") + ": " + u + " type `" + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[C] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
315
315
|
throw W.name = "Invariant Violation", W;
|
|
316
316
|
}
|
|
317
|
-
|
|
317
|
+
y = t[C](n, C, g, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
318
318
|
} catch (F) {
|
|
319
|
-
|
|
319
|
+
y = F;
|
|
320
320
|
}
|
|
321
|
-
|
|
321
|
+
y && !(y instanceof Error) && (xe(k), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", g || "React class", u, C, typeof y), xe(null)), y instanceof Error && !(y.message in We) && (We[y.message] = !0, xe(k), S("Failed %s type: %s", u, y.message), xe(null));
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
|
-
var
|
|
326
|
-
function
|
|
327
|
-
return
|
|
325
|
+
var it = Array.isArray;
|
|
326
|
+
function He(t) {
|
|
327
|
+
return it(t);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function ge(t) {
|
|
330
330
|
{
|
|
331
|
-
var n = typeof Symbol == "function" && Symbol.toStringTag,
|
|
332
|
-
return
|
|
331
|
+
var n = typeof Symbol == "function" && Symbol.toStringTag, u = n && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
332
|
+
return u;
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function Ce(t) {
|
|
336
336
|
try {
|
|
337
|
-
return
|
|
337
|
+
return Xe(t), !1;
|
|
338
338
|
} catch {
|
|
339
339
|
return !0;
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function Xe(t) {
|
|
343
343
|
return "" + t;
|
|
344
344
|
}
|
|
345
|
-
function
|
|
346
|
-
if (
|
|
347
|
-
return
|
|
345
|
+
function _e(t) {
|
|
346
|
+
if (Ce(t))
|
|
347
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ge(t)), Xe(t);
|
|
348
348
|
}
|
|
349
|
-
var
|
|
349
|
+
var Ne = N.ReactCurrentOwner, ot = {
|
|
350
350
|
key: !0,
|
|
351
351
|
ref: !0,
|
|
352
352
|
__self: !0,
|
|
353
353
|
__source: !0
|
|
354
|
-
},
|
|
355
|
-
function
|
|
356
|
-
if (
|
|
354
|
+
}, Qe, ve;
|
|
355
|
+
function jt(t) {
|
|
356
|
+
if (le.call(t, "ref")) {
|
|
357
357
|
var n = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
358
358
|
if (n && n.isReactWarning)
|
|
359
359
|
return !1;
|
|
360
360
|
}
|
|
361
361
|
return t.ref !== void 0;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
364
|
-
if (
|
|
363
|
+
function et(t) {
|
|
364
|
+
if (le.call(t, "key")) {
|
|
365
365
|
var n = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
366
366
|
if (n && n.isReactWarning)
|
|
367
367
|
return !1;
|
|
368
368
|
}
|
|
369
369
|
return t.key !== void 0;
|
|
370
370
|
}
|
|
371
|
-
function
|
|
372
|
-
typeof t.ref == "string" &&
|
|
371
|
+
function Se(t, n) {
|
|
372
|
+
typeof t.ref == "string" && Ne.current;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function Te(t, n) {
|
|
375
375
|
{
|
|
376
|
-
var
|
|
377
|
-
|
|
376
|
+
var u = function() {
|
|
377
|
+
Qe || (Qe = !0, S("%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)", n));
|
|
378
378
|
};
|
|
379
|
-
|
|
380
|
-
get:
|
|
379
|
+
u.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
380
|
+
get: u,
|
|
381
381
|
configurable: !0
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function ke(t, n) {
|
|
386
386
|
{
|
|
387
|
-
var
|
|
388
|
-
|
|
387
|
+
var u = function() {
|
|
388
|
+
ve || (ve = !0, S("%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)", n));
|
|
389
389
|
};
|
|
390
|
-
|
|
391
|
-
get:
|
|
390
|
+
u.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
391
|
+
get: u,
|
|
392
392
|
configurable: !0
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
var
|
|
397
|
-
var
|
|
396
|
+
var $e = function(t, n, u, g, k, I, C) {
|
|
397
|
+
var y = {
|
|
398
398
|
// This tag allows us to uniquely identify this as a React Element
|
|
399
399
|
$$typeof: s,
|
|
400
400
|
// Built-in properties that belong on the element
|
|
401
401
|
type: t,
|
|
402
402
|
key: n,
|
|
403
|
-
ref:
|
|
403
|
+
ref: u,
|
|
404
404
|
props: C,
|
|
405
405
|
// Record the component responsible for creating this element.
|
|
406
|
-
_owner:
|
|
406
|
+
_owner: I
|
|
407
407
|
};
|
|
408
|
-
return
|
|
408
|
+
return y._store = {}, Object.defineProperty(y._store, "validated", {
|
|
409
409
|
configurable: !1,
|
|
410
410
|
enumerable: !1,
|
|
411
411
|
writable: !0,
|
|
412
412
|
value: !1
|
|
413
|
-
}), Object.defineProperty(
|
|
413
|
+
}), Object.defineProperty(y, "_self", {
|
|
414
414
|
configurable: !1,
|
|
415
415
|
enumerable: !1,
|
|
416
416
|
writable: !1,
|
|
417
417
|
value: g
|
|
418
|
-
}), Object.defineProperty(
|
|
418
|
+
}), Object.defineProperty(y, "_source", {
|
|
419
419
|
configurable: !1,
|
|
420
420
|
enumerable: !1,
|
|
421
421
|
writable: !1,
|
|
422
422
|
value: k
|
|
423
|
-
}), Object.freeze && (Object.freeze(
|
|
423
|
+
}), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
|
|
424
424
|
};
|
|
425
|
-
function
|
|
425
|
+
function Ve(t, n, u, g, k) {
|
|
426
426
|
{
|
|
427
|
-
var
|
|
428
|
-
|
|
429
|
-
for (
|
|
430
|
-
|
|
427
|
+
var I, C = {}, y = null, W = null;
|
|
428
|
+
u !== void 0 && (_e(u), y = "" + u), et(n) && (_e(n.key), y = "" + n.key), jt(n) && (W = n.ref, Se(n, k));
|
|
429
|
+
for (I in n)
|
|
430
|
+
le.call(n, I) && !ot.hasOwnProperty(I) && (C[I] = n[I]);
|
|
431
431
|
if (t && t.defaultProps) {
|
|
432
432
|
var F = t.defaultProps;
|
|
433
|
-
for (
|
|
434
|
-
C[
|
|
433
|
+
for (I in F)
|
|
434
|
+
C[I] === void 0 && (C[I] = F[I]);
|
|
435
435
|
}
|
|
436
|
-
if (
|
|
437
|
-
var
|
|
438
|
-
|
|
436
|
+
if (y || W) {
|
|
437
|
+
var O = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
438
|
+
y && Te(C, O), W && ke(C, O);
|
|
439
439
|
}
|
|
440
|
-
return
|
|
440
|
+
return $e(t, y, W, k, g, Ne.current, C);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
var
|
|
444
|
-
function
|
|
443
|
+
var ze = N.ReactCurrentOwner, tt = N.ReactDebugCurrentFrame;
|
|
444
|
+
function ee(t) {
|
|
445
445
|
if (t) {
|
|
446
|
-
var n = t._owner,
|
|
447
|
-
|
|
446
|
+
var n = t._owner, u = fe(t.type, t._source, n ? n.type : null);
|
|
447
|
+
tt.setExtraStackFrame(u);
|
|
448
448
|
} else
|
|
449
|
-
|
|
449
|
+
tt.setExtraStackFrame(null);
|
|
450
450
|
}
|
|
451
|
-
var
|
|
452
|
-
|
|
453
|
-
function
|
|
451
|
+
var ce;
|
|
452
|
+
ce = !1;
|
|
453
|
+
function de(t) {
|
|
454
454
|
return typeof t == "object" && t !== null && t.$$typeof === s;
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function b() {
|
|
457
457
|
{
|
|
458
|
-
if (
|
|
459
|
-
var t = H(
|
|
458
|
+
if (ze.current) {
|
|
459
|
+
var t = H(ze.current.type);
|
|
460
460
|
if (t)
|
|
461
461
|
return `
|
|
462
462
|
|
|
@@ -465,152 +465,152 @@ Check the render method of \`` + t + "`.";
|
|
|
465
465
|
return "";
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
function
|
|
468
|
+
function A(t) {
|
|
469
469
|
return "";
|
|
470
470
|
}
|
|
471
471
|
var te = {};
|
|
472
|
-
function
|
|
472
|
+
function re(t) {
|
|
473
473
|
{
|
|
474
|
-
var n =
|
|
474
|
+
var n = b();
|
|
475
475
|
if (!n) {
|
|
476
|
-
var
|
|
477
|
-
|
|
476
|
+
var u = typeof t == "string" ? t : t.displayName || t.name;
|
|
477
|
+
u && (n = `
|
|
478
478
|
|
|
479
|
-
Check the top-level render call using <` +
|
|
479
|
+
Check the top-level render call using <` + u + ">.");
|
|
480
480
|
}
|
|
481
481
|
return n;
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function ae(t, n) {
|
|
485
485
|
{
|
|
486
486
|
if (!t._store || t._store.validated || t.key != null)
|
|
487
487
|
return;
|
|
488
488
|
t._store.validated = !0;
|
|
489
|
-
var
|
|
490
|
-
if (te[
|
|
489
|
+
var u = re(n);
|
|
490
|
+
if (te[u])
|
|
491
491
|
return;
|
|
492
|
-
te[
|
|
492
|
+
te[u] = !0;
|
|
493
493
|
var g = "";
|
|
494
|
-
t && t._owner && t._owner !==
|
|
494
|
+
t && t._owner && t._owner !== ze.current && (g = " It was passed a child from " + H(t._owner.type) + "."), ee(t), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, g), ee(null);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
|
-
function
|
|
497
|
+
function ue(t, n) {
|
|
498
498
|
{
|
|
499
499
|
if (typeof t != "object")
|
|
500
500
|
return;
|
|
501
|
-
if (
|
|
502
|
-
for (var
|
|
503
|
-
var g = t[
|
|
504
|
-
|
|
501
|
+
if (He(t))
|
|
502
|
+
for (var u = 0; u < t.length; u++) {
|
|
503
|
+
var g = t[u];
|
|
504
|
+
de(g) && ae(g, n);
|
|
505
505
|
}
|
|
506
|
-
else if (
|
|
506
|
+
else if (de(t))
|
|
507
507
|
t._store && (t._store.validated = !0);
|
|
508
508
|
else if (t) {
|
|
509
509
|
var k = _(t);
|
|
510
510
|
if (typeof k == "function" && k !== t.entries)
|
|
511
|
-
for (var
|
|
512
|
-
|
|
511
|
+
for (var I = k.call(t), C; !(C = I.next()).done; )
|
|
512
|
+
de(C.value) && ae(C.value, n);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function Ee(t) {
|
|
517
517
|
{
|
|
518
518
|
var n = t.type;
|
|
519
519
|
if (n == null || typeof n == "string")
|
|
520
520
|
return;
|
|
521
|
-
var
|
|
521
|
+
var u;
|
|
522
522
|
if (typeof n == "function")
|
|
523
|
-
|
|
523
|
+
u = n.propTypes;
|
|
524
524
|
else if (typeof n == "object" && (n.$$typeof === h || // Note: Memo only checks outer props here.
|
|
525
525
|
// Inner props are checked in the reconciler.
|
|
526
526
|
n.$$typeof === f))
|
|
527
|
-
|
|
527
|
+
u = n.propTypes;
|
|
528
528
|
else
|
|
529
529
|
return;
|
|
530
|
-
if (
|
|
530
|
+
if (u) {
|
|
531
531
|
var g = H(n);
|
|
532
|
-
|
|
533
|
-
} else if (n.PropTypes !== void 0 && !
|
|
534
|
-
|
|
532
|
+
rt(u, t.props, "prop", g, t);
|
|
533
|
+
} else if (n.PropTypes !== void 0 && !ce) {
|
|
534
|
+
ce = !0;
|
|
535
535
|
var k = H(n);
|
|
536
|
-
|
|
536
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
|
|
537
537
|
}
|
|
538
|
-
typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved &&
|
|
538
|
+
typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function lt(t) {
|
|
542
542
|
{
|
|
543
|
-
for (var n = Object.keys(t.props),
|
|
544
|
-
var g = n[
|
|
543
|
+
for (var n = Object.keys(t.props), u = 0; u < n.length; u++) {
|
|
544
|
+
var g = n[u];
|
|
545
545
|
if (g !== "children" && g !== "key") {
|
|
546
|
-
|
|
546
|
+
ee(t), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", g), ee(null);
|
|
547
547
|
break;
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
|
-
t.ref !== null && (
|
|
550
|
+
t.ref !== null && (ee(t), S("Invalid attribute `ref` supplied to `React.Fragment`."), ee(null));
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
|
-
var
|
|
554
|
-
function
|
|
553
|
+
var bt = {};
|
|
554
|
+
function yt(t, n, u, g, k, I) {
|
|
555
555
|
{
|
|
556
|
-
var C =
|
|
556
|
+
var C = he(t);
|
|
557
557
|
if (!C) {
|
|
558
|
-
var
|
|
559
|
-
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (
|
|
560
|
-
var W =
|
|
561
|
-
W ?
|
|
558
|
+
var y = "";
|
|
559
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
560
|
+
var W = A();
|
|
561
|
+
W ? y += W : y += b();
|
|
562
562
|
var F;
|
|
563
|
-
t === null ? F = "null" :
|
|
563
|
+
t === null ? F = "null" : He(t) ? F = "array" : t !== void 0 && t.$$typeof === s ? (F = "<" + (H(t.type) || "Unknown") + " />", y = " Did you accidentally export a JSX literal instead of a component?") : F = typeof t, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", F, y);
|
|
564
564
|
}
|
|
565
|
-
var
|
|
566
|
-
if (
|
|
567
|
-
return
|
|
565
|
+
var O = Ve(t, n, u, k, I);
|
|
566
|
+
if (O == null)
|
|
567
|
+
return O;
|
|
568
568
|
if (C) {
|
|
569
|
-
var
|
|
570
|
-
if (
|
|
569
|
+
var J = n.children;
|
|
570
|
+
if (J !== void 0)
|
|
571
571
|
if (g)
|
|
572
|
-
if (
|
|
573
|
-
for (var
|
|
574
|
-
|
|
575
|
-
Object.freeze && Object.freeze(
|
|
572
|
+
if (He(J)) {
|
|
573
|
+
for (var Ie = 0; Ie < J.length; Ie++)
|
|
574
|
+
ue(J[Ie], t);
|
|
575
|
+
Object.freeze && Object.freeze(J);
|
|
576
576
|
} else
|
|
577
|
-
|
|
577
|
+
S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
578
578
|
else
|
|
579
|
-
|
|
579
|
+
ue(J, t);
|
|
580
580
|
}
|
|
581
|
-
if (
|
|
582
|
-
var je = H(t), V = Object.keys(n).filter(function(
|
|
583
|
-
return
|
|
584
|
-
}),
|
|
585
|
-
if (!
|
|
586
|
-
var
|
|
587
|
-
|
|
581
|
+
if (le.call(n, "key")) {
|
|
582
|
+
var je = H(t), V = Object.keys(n).filter(function(Qt) {
|
|
583
|
+
return Qt !== "key";
|
|
584
|
+
}), ct = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
585
|
+
if (!bt[je + ct]) {
|
|
586
|
+
var Xt = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
587
|
+
S(`A props object containing a "key" prop is being spread into JSX:
|
|
588
588
|
let props = %s;
|
|
589
589
|
<%s {...props} />
|
|
590
590
|
React keys must be passed directly to JSX without using spread:
|
|
591
591
|
let props = %s;
|
|
592
|
-
<%s key={someKey} {...props} />`,
|
|
592
|
+
<%s key={someKey} {...props} />`, ct, je, Xt, je), bt[je + ct] = !0;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
return t ===
|
|
595
|
+
return t === d ? lt(O) : Ee(O), O;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
|
-
function
|
|
599
|
-
return
|
|
598
|
+
function Gt(t, n, u) {
|
|
599
|
+
return yt(t, n, u, !0);
|
|
600
600
|
}
|
|
601
|
-
function
|
|
602
|
-
return
|
|
601
|
+
function Kt(t, n, u) {
|
|
602
|
+
return yt(t, n, u, !1);
|
|
603
603
|
}
|
|
604
|
-
var
|
|
605
|
-
|
|
606
|
-
})()),
|
|
604
|
+
var Jt = Kt, Zt = Gt;
|
|
605
|
+
Ge.Fragment = d, Ge.jsx = Jt, Ge.jsxs = Zt;
|
|
606
|
+
})()), Ge;
|
|
607
607
|
}
|
|
608
|
-
var
|
|
609
|
-
function
|
|
610
|
-
return
|
|
608
|
+
var Nt;
|
|
609
|
+
function sa() {
|
|
610
|
+
return Nt || (Nt = 1, process.env.NODE_ENV === "production" ? at.exports = ta() : at.exports = aa()), at.exports;
|
|
611
611
|
}
|
|
612
|
-
var e =
|
|
613
|
-
const
|
|
612
|
+
var e = sa();
|
|
613
|
+
const na = {
|
|
614
614
|
landingPage: "Landing Page",
|
|
615
615
|
successPage: "Success Page",
|
|
616
616
|
jaiShreeRam: "JAI SHREE RAM",
|
|
@@ -658,7 +658,7 @@ const sa = {
|
|
|
658
658
|
hours: "HRS",
|
|
659
659
|
minutes: "MIN",
|
|
660
660
|
secondsLabel: "SEC"
|
|
661
|
-
},
|
|
661
|
+
}, ra = {
|
|
662
662
|
landingPage: "लैंडिंग पेज",
|
|
663
663
|
successPage: "सफलता पेज",
|
|
664
664
|
jaiShreeRam: "जय श्री राम",
|
|
@@ -706,85 +706,85 @@ const sa = {
|
|
|
706
706
|
hours: "घंटे",
|
|
707
707
|
minutes: "मिनट",
|
|
708
708
|
secondsLabel: "सेकंड"
|
|
709
|
-
},
|
|
710
|
-
en:
|
|
711
|
-
hi:
|
|
712
|
-
},
|
|
709
|
+
}, ia = {
|
|
710
|
+
en: na,
|
|
711
|
+
hi: ra
|
|
712
|
+
}, Ht = Wt(null), Wr = ({
|
|
713
713
|
locale: a,
|
|
714
714
|
children: s
|
|
715
715
|
}) => {
|
|
716
|
-
const
|
|
717
|
-
return /* @__PURE__ */ e.jsx(
|
|
716
|
+
const d = { locale: a, t: (c) => ia[a]?.[c] ?? c };
|
|
717
|
+
return /* @__PURE__ */ e.jsx(Ht.Provider, { value: d, children: s });
|
|
718
718
|
};
|
|
719
|
-
function
|
|
720
|
-
return
|
|
719
|
+
function vt() {
|
|
720
|
+
return Ut(Ht);
|
|
721
721
|
}
|
|
722
|
-
const
|
|
723
|
-
const a =
|
|
722
|
+
const $t = Wt(void 0), Vt = () => {
|
|
723
|
+
const a = Ut($t);
|
|
724
724
|
if (!a)
|
|
725
725
|
throw new Error("useAppContext must be used within AppContextProvider");
|
|
726
726
|
return a;
|
|
727
|
-
},
|
|
727
|
+
}, Hr = ({
|
|
728
728
|
children: a
|
|
729
729
|
}) => {
|
|
730
|
-
const [s, l] =
|
|
730
|
+
const [s, l] = w(null), [d, c] = w(!1);
|
|
731
731
|
return /* @__PURE__ */ e.jsx(
|
|
732
|
-
|
|
732
|
+
$t.Provider,
|
|
733
733
|
{
|
|
734
734
|
value: {
|
|
735
735
|
userData: s,
|
|
736
736
|
setUserData: l,
|
|
737
|
-
showSuccess:
|
|
737
|
+
showSuccess: d,
|
|
738
738
|
setShowSuccess: c
|
|
739
739
|
},
|
|
740
740
|
children: a
|
|
741
741
|
}
|
|
742
742
|
);
|
|
743
|
-
},
|
|
744
|
-
landingPage:
|
|
743
|
+
}, oa = "_landingPage_1fap9_1", St = {
|
|
744
|
+
landingPage: oa,
|
|
745
745
|
"sf-select": "_sf-select_1fap9_12"
|
|
746
|
-
},
|
|
747
|
-
const l =
|
|
746
|
+
}, la = ({ targetDate: a }) => {
|
|
747
|
+
const l = vt()?.t || ((o) => o), d = () => {
|
|
748
748
|
const h = (typeof a == "string" ? new Date(a) : a).getTime() - Date.now();
|
|
749
749
|
if (h > 0) {
|
|
750
750
|
const v = Math.floor(h / 864e5), p = Math.floor(h % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), f = Math.floor(h % (1e3 * 60 * 60) / (1e3 * 60)), x = Math.floor(h % (1e3 * 60) / 1e3);
|
|
751
751
|
return { days: v, hours: p, minutes: f, seconds: x };
|
|
752
752
|
}
|
|
753
753
|
return { days: 0, hours: 0, minutes: 0, seconds: 0 };
|
|
754
|
-
}, [c, m] =
|
|
755
|
-
|
|
756
|
-
m(
|
|
754
|
+
}, [c, m] = w({ days: 0, hours: 0, minutes: 0, seconds: 0 });
|
|
755
|
+
D(() => {
|
|
756
|
+
m(d());
|
|
757
757
|
const o = setInterval(() => {
|
|
758
|
-
m(
|
|
758
|
+
m(d());
|
|
759
759
|
}, 1e3);
|
|
760
760
|
return () => clearInterval(o);
|
|
761
761
|
}, [a]);
|
|
762
|
-
const
|
|
762
|
+
const r = (o) => o.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:
|
|
766
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(c.days) }),
|
|
767
767
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: l("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:
|
|
771
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(c.hours) }),
|
|
772
772
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: l("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:
|
|
776
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(c.minutes) }),
|
|
777
777
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: l("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:
|
|
781
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: r(c.seconds) }),
|
|
782
782
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: l("secondsLabel") })
|
|
783
783
|
] })
|
|
784
784
|
] }),
|
|
785
785
|
/* @__PURE__ */ e.jsx("p", { className: "text-[#907250] text-[11px] sm:text-[12px] font-medium", children: l("timerLabel") })
|
|
786
786
|
] });
|
|
787
|
-
},
|
|
787
|
+
}, ca = [
|
|
788
788
|
{
|
|
789
789
|
icon: "https://srm-cdn.a4b.io/yoda/1774095297032.png",
|
|
790
790
|
titleKey: "expectItem1Title",
|
|
@@ -800,7 +800,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
800
800
|
titleKey: "expectItem3Title",
|
|
801
801
|
descKey: "expectItem3Desc"
|
|
802
802
|
}
|
|
803
|
-
],
|
|
803
|
+
], Tt = [
|
|
804
804
|
{ code: "+1", country: "USA" },
|
|
805
805
|
// { code: "+7", country: "Russia / Kazakhstan" },
|
|
806
806
|
// { code: "+20", country: "Egypt" },
|
|
@@ -870,14 +870,14 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
870
870
|
// { code: "+975", country: "Bhutan" },
|
|
871
871
|
// { code: "+976", country: "Mongolia" },
|
|
872
872
|
// { code: "+977", country: "Nepal" },
|
|
873
|
-
],
|
|
873
|
+
], da = "Share the Blessings", ua = "Invite family to join daily Puja. Bring change to their lives.", kt = "Share on WhatsApp", pa = "Your 7-Day Journey", ha = "https://srm-cdn.a4b.io/yoda/1776256998292.svg", ma = (a, s) => `${a} of ${s} days attended. Keep going!`, fa = "Explore Sri Mandir", xa = "Explore Sri Mandir", ga = "BEST VALUE", _a = "Unlimited Daily Puja", va = "Never miss a sacred morning. Subscribe for full access, every day.", ja = "Unlimited live access, every single day", ba = "Daily WhatsApp reminders before Puja start", ya = "https://srm-cdn.a4b.io/yoda/1776255523256.png", wa = "/ Week", Ca = "Start Subscription", Na = "No charge today. Cancel Anytime", pe = {
|
|
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
|
+
}, zt = [
|
|
881
881
|
{
|
|
882
882
|
id: "fallback-pranam",
|
|
883
883
|
name: "Pranam",
|
|
@@ -910,20 +910,20 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
910
910
|
image_url: "https://srimandirweb.s3.ap-south-1.amazonaws.com/custom_2e32016966.png",
|
|
911
911
|
isCustom: !0
|
|
912
912
|
}
|
|
913
|
-
],
|
|
913
|
+
], Sa = {
|
|
914
914
|
sbox: "blog-admin-sbox.srimandir.com",
|
|
915
915
|
prod: "blog-admin.srimandir.com"
|
|
916
|
-
},
|
|
916
|
+
}, Ta = "?filters[slug][$eq]=dlp&fields[0]=yt_url&fields[1]=yt_video_id&fields[2]=slug&populate[dlp_cards][fields][0]=is_offering&populate[dlp_cards][fields][1]=title&populate[dlp_cards][fields][2]=price&populate[dlp_cards][fields][3]=location&populate[dlp_cards][fields][4]=date&populate[dlp_cards][fields][5]=deeplink&populate[dlp_cards][populate][img_url][fields][0]=url&pagination[limit]=1&pagination[start]=0", ka = 1500, Ea = 5e3, Ia = 1200, Ra = {
|
|
917
917
|
autoplay: 1,
|
|
918
918
|
mute: 1,
|
|
919
919
|
controls: 0,
|
|
920
920
|
playsinline: 1
|
|
921
|
-
},
|
|
921
|
+
}, Et = [
|
|
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
|
+
], Pa = [
|
|
927
927
|
{
|
|
928
928
|
id: "curated-pujas",
|
|
929
929
|
iconUrl: "https://srm-cdn.a4b.io/yoda/1774095297032.png",
|
|
@@ -954,7 +954,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
954
954
|
title: "Write Manokamna Live Chat",
|
|
955
955
|
description: "Be heard instantly your wish, live in the ritual"
|
|
956
956
|
}
|
|
957
|
-
],
|
|
957
|
+
], La = [
|
|
958
958
|
{
|
|
959
959
|
id: "ramesh",
|
|
960
960
|
name: "Ramesh Pandey",
|
|
@@ -973,117 +973,117 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
973
973
|
quote: "Maine pehle kabhi live puja join nahi ki thi. Daily reminders se meri morning spiritual routine set ho gayi.",
|
|
974
974
|
ctaLabel: "...Read More"
|
|
975
975
|
}
|
|
976
|
-
],
|
|
976
|
+
], $r = ({
|
|
977
977
|
targetDate: a,
|
|
978
978
|
onSubmit: s,
|
|
979
979
|
isGlobal: l = !1,
|
|
980
|
-
analytics:
|
|
980
|
+
analytics: d,
|
|
981
981
|
showToast: c
|
|
982
982
|
}) => {
|
|
983
|
-
const
|
|
984
|
-
(
|
|
983
|
+
const r = vt()?.t || ((T) => T), [o, h] = w(l ? "+1" : "+91"), [v, p] = w(!1), { setUserData: f, setShowSuccess: x } = Vt(), [j, L] = w(""), [E, _] = w(""), N = U(!1), S = `${o}-${E}`, z = Tt.find(
|
|
984
|
+
(T) => T.code === o
|
|
985
985
|
);
|
|
986
|
-
|
|
987
|
-
!
|
|
988
|
-
}, [
|
|
989
|
-
const
|
|
990
|
-
if (
|
|
986
|
+
D(() => {
|
|
987
|
+
!N.current && d?.trackLandingPageViewed && (d.trackLandingPageViewed(), N.current = !0);
|
|
988
|
+
}, [d]);
|
|
989
|
+
const B = (T) => {
|
|
990
|
+
if (T.preventDefault(), !j || j.trim() === "") {
|
|
991
991
|
c?.("error", "Please enter your name");
|
|
992
992
|
return;
|
|
993
993
|
}
|
|
994
|
-
if (!
|
|
994
|
+
if (!E || E.length !== 10) {
|
|
995
995
|
c?.("error", "Please enter a valid 10-digit WhatsApp number");
|
|
996
996
|
return;
|
|
997
997
|
}
|
|
998
|
-
|
|
998
|
+
d?.trackSubmitClicked?.(), f({ name: j, fullPhoneNumber: S }), c?.("success", "Registration Successful"), x(!0), s?.({ name: j, fullPhoneNumber: S });
|
|
999
999
|
};
|
|
1000
|
-
return /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className:
|
|
1000
|
+
return /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: St.landingPage, children: [
|
|
1001
1001
|
/* @__PURE__ */ e.jsx("div", { className: "relative w-full flex justify-center bg-[#FFF8EF]", children: /* @__PURE__ */ e.jsx(
|
|
1002
1002
|
"img",
|
|
1003
1003
|
{
|
|
1004
1004
|
src: "https://srm-cdn.a4b.io/yoda/1774445719594.webp",
|
|
1005
|
-
alt:
|
|
1005
|
+
alt: r("eventTitle"),
|
|
1006
1006
|
className: "w-full max-w-2xl h-auto max-h-[600px] object-contain"
|
|
1007
1007
|
}
|
|
1008
1008
|
) }),
|
|
1009
|
-
/* @__PURE__ */ e.jsx("div", { className: "py-3 px-4 bg-white border-b border-[#D4C5B0]", children: /* @__PURE__ */ e.jsx(
|
|
1009
|
+
/* @__PURE__ */ e.jsx("div", { className: "py-3 px-4 bg-white border-b border-[#D4C5B0]", children: /* @__PURE__ */ e.jsx(la, { targetDate: a }) }),
|
|
1010
1010
|
/* @__PURE__ */ e.jsxs("div", { className: "px-4 bg-[#FFF8EF]", children: [
|
|
1011
1011
|
/* @__PURE__ */ e.jsxs("div", { className: "max-w-md mx-auto flex items-center justify-center gap-4 p-4", children: [
|
|
1012
1012
|
/* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(
|
|
1013
1013
|
"img",
|
|
1014
1014
|
{
|
|
1015
1015
|
src: "https://srm-cdn.a4b.io/yoda/1774092358685.png",
|
|
1016
|
-
alt:
|
|
1016
|
+
alt: r("panditName"),
|
|
1017
1017
|
className: "w-[88px] h-[88px] rounded-full object-cover"
|
|
1018
1018
|
}
|
|
1019
1019
|
) }),
|
|
1020
1020
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1021
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-[#D2461E] text-[20px] font-bold leading-tight", children:
|
|
1022
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[#8B7355] text-[14px] mt-1", children:
|
|
1021
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-[#D2461E] text-[20px] font-bold leading-tight", children: r("panditName") }),
|
|
1022
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[#8B7355] text-[14px] mt-1", children: r("panditCredentials") })
|
|
1023
1023
|
] })
|
|
1024
1024
|
] }),
|
|
1025
1025
|
/* @__PURE__ */ e.jsx("hr", { className: "w-[75%] mx-auto border-t-[0.5px] border-[#907250] mt-2" })
|
|
1026
1026
|
] }),
|
|
1027
1027
|
/* @__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: [
|
|
1028
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[#6F5642] text-[14px] mb-6", children:
|
|
1029
|
-
/* @__PURE__ */ e.jsxs("form", { onSubmit:
|
|
1028
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[#6F5642] text-[14px] mb-6", children: r("formTitle") }),
|
|
1029
|
+
/* @__PURE__ */ e.jsxs("form", { onSubmit: B, className: "space-y-4", children: [
|
|
1030
1030
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1031
|
-
/* @__PURE__ */ e.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children:
|
|
1031
|
+
/* @__PURE__ */ e.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children: r("nameLabel") }),
|
|
1032
1032
|
/* @__PURE__ */ e.jsx(
|
|
1033
1033
|
"input",
|
|
1034
1034
|
{
|
|
1035
1035
|
type: "text",
|
|
1036
|
-
value:
|
|
1037
|
-
onChange: (
|
|
1038
|
-
L(
|
|
1036
|
+
value: j,
|
|
1037
|
+
onChange: (T) => {
|
|
1038
|
+
L(T.target.value), T.target.value && !j && d?.trackNameFilled?.();
|
|
1039
1039
|
},
|
|
1040
|
-
onFocus: () =>
|
|
1041
|
-
placeholder:
|
|
1040
|
+
onFocus: () => d?.trackNameClicked?.(),
|
|
1041
|
+
placeholder: r("namePlaceholder"),
|
|
1042
1042
|
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]",
|
|
1043
1043
|
required: !0
|
|
1044
1044
|
}
|
|
1045
1045
|
)
|
|
1046
1046
|
] }),
|
|
1047
1047
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1048
|
-
/* @__PURE__ */ e.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children:
|
|
1048
|
+
/* @__PURE__ */ e.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children: r("whatsappLabel") }),
|
|
1049
1049
|
/* @__PURE__ */ e.jsxs("div", { className: "flex gap-2", children: [
|
|
1050
1050
|
/* @__PURE__ */ e.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ e.jsxs("div", { className: "relative w-20", children: [
|
|
1051
1051
|
/* @__PURE__ */ e.jsx(
|
|
1052
1052
|
"div",
|
|
1053
1053
|
{
|
|
1054
1054
|
onClick: () => p(!v),
|
|
1055
|
-
className: `${
|
|
1055
|
+
className: `${St["sf-select"]} text-center text-[#614938] bg-[#F9F3EF] border-[#ECD4C2]`,
|
|
1056
1056
|
children: z?.code
|
|
1057
1057
|
}
|
|
1058
1058
|
),
|
|
1059
|
-
v && /* @__PURE__ */ e.jsx("div", { className: "absolute top-full left-0 w-full bg-white border border-[#D4C5B0] rounded-lg mt-1 shadow-lg z-50", children:
|
|
1059
|
+
v && /* @__PURE__ */ e.jsx("div", { className: "absolute top-full left-0 w-full bg-white border border-[#D4C5B0] rounded-lg mt-1 shadow-lg z-50", children: Tt.map((T) => /* @__PURE__ */ e.jsxs(
|
|
1060
1060
|
"div",
|
|
1061
1061
|
{
|
|
1062
1062
|
onClick: () => {
|
|
1063
|
-
h(
|
|
1063
|
+
h(T.code), p(!1);
|
|
1064
1064
|
},
|
|
1065
1065
|
className: "px-3 py-2 hover:bg-gray-100 cursor-pointer text-[10px] whitespace-nowrap",
|
|
1066
1066
|
children: [
|
|
1067
|
-
|
|
1067
|
+
T.country,
|
|
1068
1068
|
" (",
|
|
1069
|
-
|
|
1069
|
+
T.code,
|
|
1070
1070
|
")"
|
|
1071
1071
|
]
|
|
1072
1072
|
},
|
|
1073
|
-
|
|
1073
|
+
T.code
|
|
1074
1074
|
)) })
|
|
1075
1075
|
] }) }),
|
|
1076
1076
|
/* @__PURE__ */ e.jsx(
|
|
1077
1077
|
"input",
|
|
1078
1078
|
{
|
|
1079
1079
|
type: "tel",
|
|
1080
|
-
value:
|
|
1081
|
-
onChange: (
|
|
1082
|
-
const
|
|
1083
|
-
_(
|
|
1080
|
+
value: E,
|
|
1081
|
+
onChange: (T) => {
|
|
1082
|
+
const Y = T.target.value.replace(/\D/g, "");
|
|
1083
|
+
_(Y), Y && !E && d?.trackPhoneFilled?.();
|
|
1084
1084
|
},
|
|
1085
|
-
onFocus: () =>
|
|
1086
|
-
placeholder:
|
|
1085
|
+
onFocus: () => d?.trackPhoneClicked?.(),
|
|
1086
|
+
placeholder: r("whatsappPlaceholder"),
|
|
1087
1087
|
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]",
|
|
1088
1088
|
maxLength: 10,
|
|
1089
1089
|
required: !0
|
|
@@ -1096,68 +1096,68 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1096
1096
|
{
|
|
1097
1097
|
type: "submit",
|
|
1098
1098
|
className: "w-full bg-[#E34331] text-white text-[16px] font-semibold py-4 rounded-lg hover:bg-[#C83728] transition-colors shadow-lg",
|
|
1099
|
-
children:
|
|
1099
|
+
children: r("ctaButton")
|
|
1100
1100
|
}
|
|
1101
1101
|
)
|
|
1102
1102
|
] }),
|
|
1103
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[#6F5642] text-[12px] mt-4 leading-relaxed", children:
|
|
1103
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[#6F5642] text-[12px] mt-4 leading-relaxed", children: r("formDisclaimer") }),
|
|
1104
1104
|
/* @__PURE__ */ e.jsx("hr", { className: "w-[75%] mx-auto border-t-[0.5px] border-[#907250] mt-6 px-8" })
|
|
1105
1105
|
] }) }),
|
|
1106
1106
|
/* @__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: [
|
|
1107
|
-
/* @__PURE__ */ e.jsx("h2", { className: "text-[#614938] text-[18px] font-bold mb-6", children:
|
|
1108
|
-
/* @__PURE__ */ e.jsx("div", { className: "space-y-4", children:
|
|
1109
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
1107
|
+
/* @__PURE__ */ e.jsx("h2", { className: "text-[#614938] text-[18px] font-bold mb-6", children: r("expectTitle") }),
|
|
1108
|
+
/* @__PURE__ */ e.jsx("div", { className: "space-y-4", children: ca.map((T, Y) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-4", children: [
|
|
1109
|
+
/* @__PURE__ */ e.jsx("img", { src: T.icon, alt: "", className: "w-10 h-10" }),
|
|
1110
1110
|
/* @__PURE__ */ e.jsxs("div", { className: "flex-1", children: [
|
|
1111
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-[#614938] text-[14px] font-semibold", children:
|
|
1112
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[#907250] text-[12px]", children:
|
|
1111
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-[#614938] text-[14px] font-semibold", children: r(T.titleKey) }),
|
|
1112
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[#907250] text-[12px]", children: r(T.descKey) })
|
|
1113
1113
|
] })
|
|
1114
|
-
] },
|
|
1114
|
+
] }, Y)) })
|
|
1115
1115
|
] }) })
|
|
1116
1116
|
] }) });
|
|
1117
|
-
},
|
|
1118
|
-
successPage:
|
|
1119
|
-
profileImageContainer:
|
|
1120
|
-
profileImage:
|
|
1121
|
-
greeting:
|
|
1122
|
-
jaiShreeRam:
|
|
1123
|
-
userName:
|
|
1124
|
-
registrationCard:
|
|
1125
|
-
registeredText:
|
|
1126
|
-
eventName:
|
|
1127
|
-
eventDetails:
|
|
1128
|
-
whatsappButton:
|
|
1129
|
-
redirectInfo:
|
|
1130
|
-
redirectText:
|
|
1131
|
-
countdown:
|
|
1132
|
-
nextSteps:
|
|
1133
|
-
nextStepsTitle:
|
|
1134
|
-
stepsList:
|
|
1135
|
-
step:
|
|
1136
|
-
stepNumber:
|
|
1137
|
-
stepText:
|
|
1138
|
-
},
|
|
1117
|
+
}, Aa = "_successPage_8t8j5_1", Fa = "_profileImageContainer_8t8j5_7", Da = "_profileImage_8t8j5_7", Ba = "_greeting_8t8j5_19", Oa = "_jaiShreeRam_8t8j5_23", qa = "_userName_8t8j5_29", Ma = "_registrationCard_8t8j5_34", Ua = "_registeredText_8t8j5_48", Wa = "_eventName_8t8j5_53", Ha = "_eventDetails_8t8j5_61", $a = "_whatsappButton_8t8j5_66", Va = "_redirectInfo_8t8j5_75", za = "_redirectText_8t8j5_79", Ya = "_countdown_8t8j5_84", Ga = "_nextSteps_8t8j5_90", Ka = "_nextStepsTitle_8t8j5_96", Ja = "_stepsList_8t8j5_101", Za = "_step_8t8j5_101", Xa = "_stepNumber_8t8j5_109", Qa = "_stepText_8t8j5_113", R = {
|
|
1118
|
+
successPage: Aa,
|
|
1119
|
+
profileImageContainer: Fa,
|
|
1120
|
+
profileImage: Da,
|
|
1121
|
+
greeting: Ba,
|
|
1122
|
+
jaiShreeRam: Oa,
|
|
1123
|
+
userName: qa,
|
|
1124
|
+
registrationCard: Ma,
|
|
1125
|
+
registeredText: Ua,
|
|
1126
|
+
eventName: Wa,
|
|
1127
|
+
eventDetails: Ha,
|
|
1128
|
+
whatsappButton: $a,
|
|
1129
|
+
redirectInfo: Va,
|
|
1130
|
+
redirectText: za,
|
|
1131
|
+
countdown: Ya,
|
|
1132
|
+
nextSteps: Ga,
|
|
1133
|
+
nextStepsTitle: Ka,
|
|
1134
|
+
stepsList: Ja,
|
|
1135
|
+
step: Za,
|
|
1136
|
+
stepNumber: Xa,
|
|
1137
|
+
stepText: Qa
|
|
1138
|
+
}, es = "918151810300", ts = "I'm interested in the Rasrajji Hanuman Jayanti Path", It = `https://wa.me/${es}?text=${encodeURIComponent(ts)}`, Vr = ({
|
|
1139
1139
|
userName: a = "Rahul",
|
|
1140
1140
|
eventName: s = "Hanuman Jayanti Maha Path",
|
|
1141
1141
|
eventDate: l = "2nd April",
|
|
1142
|
-
eventTime:
|
|
1142
|
+
eventTime: d = "9:00 AM onwards",
|
|
1143
1143
|
onWhatsAppClick: c,
|
|
1144
1144
|
redirectSeconds: m = 10,
|
|
1145
|
-
analytics:
|
|
1145
|
+
analytics: r,
|
|
1146
1146
|
showToast: o,
|
|
1147
1147
|
disableRedirect: h = !1
|
|
1148
1148
|
}) => {
|
|
1149
|
-
const p =
|
|
1150
|
-
return
|
|
1151
|
-
!L.current &&
|
|
1149
|
+
const p = vt()?.t || ((_) => _), { userData: f } = Vt(), [x, j] = w(m), L = U(!1), E = f?.name || a;
|
|
1150
|
+
return D(() => {
|
|
1151
|
+
!L.current && r?.trackSuccessPageViewed && (r.trackSuccessPageViewed({
|
|
1152
1152
|
name: f?.name,
|
|
1153
1153
|
phone: f?.fullPhoneNumber
|
|
1154
1154
|
}), L.current = !0);
|
|
1155
|
-
}, [
|
|
1155
|
+
}, [r, f?.name, f?.fullPhoneNumber]), D(() => {
|
|
1156
1156
|
if (!h)
|
|
1157
1157
|
if (x > 0) {
|
|
1158
|
-
const _ = setTimeout(() =>
|
|
1158
|
+
const _ = setTimeout(() => j(x - 1), 1e3);
|
|
1159
1159
|
return () => clearTimeout(_);
|
|
1160
|
-
} else x === 0 && (window.location.href =
|
|
1160
|
+
} else x === 0 && (window.location.href = It);
|
|
1161
1161
|
}, [x, h]), /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: R.successPage, children: [
|
|
1162
1162
|
/* @__PURE__ */ e.jsx("div", { className: R.profileImageContainer, children: /* @__PURE__ */ e.jsx(
|
|
1163
1163
|
"img",
|
|
@@ -1175,7 +1175,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1175
1175
|
/* @__PURE__ */ e.jsxs("h1", { className: R.userName, children: [
|
|
1176
1176
|
p("namaste"),
|
|
1177
1177
|
", ",
|
|
1178
|
-
|
|
1178
|
+
E,
|
|
1179
1179
|
" Ji"
|
|
1180
1180
|
] })
|
|
1181
1181
|
] }),
|
|
@@ -1185,7 +1185,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1185
1185
|
/* @__PURE__ */ e.jsxs("p", { className: R.eventDetails, children: [
|
|
1186
1186
|
l,
|
|
1187
1187
|
" · ",
|
|
1188
|
-
|
|
1188
|
+
d
|
|
1189
1189
|
] })
|
|
1190
1190
|
] }),
|
|
1191
1191
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1193,8 +1193,8 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1193
1193
|
{
|
|
1194
1194
|
className: R.whatsappButton,
|
|
1195
1195
|
onClick: () => {
|
|
1196
|
-
|
|
1197
|
-
window.location.href =
|
|
1196
|
+
r?.trackWhatsappBtnClicked?.(), o?.("success", "Redirecting to WhatsApp..."), setTimeout(() => {
|
|
1197
|
+
window.location.href = It;
|
|
1198
1198
|
}, 500), c?.();
|
|
1199
1199
|
},
|
|
1200
1200
|
type: "button",
|
|
@@ -1227,85 +1227,83 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1227
1227
|
] })
|
|
1228
1228
|
] })
|
|
1229
1229
|
] }) });
|
|
1230
|
-
},
|
|
1231
|
-
container:
|
|
1232
|
-
video:
|
|
1233
|
-
videoFullscreenWithBelowBanner:
|
|
1234
|
-
banner:
|
|
1235
|
-
bannerCard:
|
|
1236
|
-
bannerTitle:
|
|
1237
|
-
pujaTopTitle:
|
|
1238
|
-
landscapeHeader:
|
|
1239
|
-
scroll:
|
|
1240
|
-
landscapeScroll:
|
|
1241
|
-
card:
|
|
1242
|
-
divider:
|
|
1243
|
-
chat:
|
|
1244
|
-
iframe:
|
|
1245
|
-
fullscreenBtn:
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
fullscreenChatPanel: _s,
|
|
1249
|
-
chatLoader: js,
|
|
1230
|
+
}, as = "_container_qiuai_2", ss = "_video_qiuai_26", ns = "_videoFullscreenWithBelowBanner_qiuai_38", rs = "_banner_qiuai_45", is = "_bannerCard_qiuai_62", os = "_bannerTitle_qiuai_71", ls = "_pujaTopTitle_qiuai_97", cs = "_landscapeHeader_qiuai_120", ds = "_scroll_qiuai_140", us = "_landscapeScroll_qiuai_148", ps = "_card_qiuai_156", hs = "_divider_qiuai_178", ms = "_chat_qiuai_187", fs = "_iframe_qiuai_194", xs = "_fullscreenBtn_qiuai_201", gs = "_fullscreenChatPanel_qiuai_299", _s = "_chatLoader_qiuai_315", vs = "_chatLoaderCompact_qiuai_328", js = "_spinner_qiuai_332", bs = "_chatLoaderText_qiuai_346", ys = "_imageWrapper_qiuai_361", ws = "_image_qiuai_361", Cs = "_addBtn_qiuai_378", Ns = "_title_qiuai_391", Ss = "_price_qiuai_402", Ts = "_priceRow_qiuai_412", ks = "_landscapeCard_qiuai_436", Es = "_landscapeImageWrapper_qiuai_458", Is = "_landscapeImage_qiuai_458", Rs = "_landscapeContent_qiuai_475", Ps = "_landscapeTitle_qiuai_486", Ls = "_landscapePriceRow_qiuai_500", As = "_landscapePrice_qiuai_500", Fs = "_landscapeAdd_qiuai_550", Ds = "_carousel_qiuai_615", Bs = "_carouselLoader_qiuai_633", Os = "_customSheetOverlay_qiuai_641", qs = "_customSheet_qiuai_641", Ms = "_customSheetTitle_qiuai_662", Us = "_customSheetRow_qiuai_672", Ws = "_customInputWrap_qiuai_678", Hs = "_currencySymbol_qiuai_684", $s = "_customInput_qiuai_678", Vs = "_customContinueBtn_qiuai_713", zs = "_pujaBanner_qiuai_835", Ys = "_pujaWrapperVertical_qiuai_847", Gs = "_pujaCardVertical_qiuai_864", Ks = "_pujaImage_qiuai_880", Js = "_pujaContent_qiuai_890", Zs = "_pujaTitle_qiuai_896", Xs = "_pujaSub_qiuai_911", Qs = "_locationIcon_qiuai_928", en = "_dateIcon_qiuai_934", tn = "_pujaTrustmakers_qiuai_941", an = "_pujaMetaText_qiuai_958", sn = "_pujaCardHorizontal_qiuai_967", nn = "_pujaImageHorizontal_qiuai_984", rn = "_pujaContentHorizontal_qiuai_994", on = "_pujaTitleHorizontal_qiuai_1024", ln = "_pujaSubHorizontal_qiuai_1039", cn = "_stickyTabs_qiuai_1056", dn = "_landscapeLayout_qiuai_1064", un = "_landscapeLeft_qiuai_1072", pn = "_landscapeRight_qiuai_1079", hn = "_landscapePanelHeader_qiuai_1089", mn = "_landscapeCloseBtn_qiuai_1097", fn = "_landscapePanelBody_qiuai_1115", xn = "_landscapeChat_qiuai_1122", gn = "_fullscreenPanelHeader_qiuai_1129", _n = "_fullscreenChatCloseBtn_qiuai_1137", vn = "_fullscreenPanelScroll_qiuai_1157", jn = "_sectionsScroll_qiuai_1238", bn = "_fullscreenWithPanel_qiuai_1247", yn = "_fullscreenLeft_qiuai_1257", wn = "_fullscreenVideoArea_qiuai_1266", i = {
|
|
1231
|
+
container: as,
|
|
1232
|
+
video: ss,
|
|
1233
|
+
videoFullscreenWithBelowBanner: ns,
|
|
1234
|
+
banner: rs,
|
|
1235
|
+
bannerCard: is,
|
|
1236
|
+
bannerTitle: os,
|
|
1237
|
+
pujaTopTitle: ls,
|
|
1238
|
+
landscapeHeader: cs,
|
|
1239
|
+
scroll: ds,
|
|
1240
|
+
landscapeScroll: us,
|
|
1241
|
+
card: ps,
|
|
1242
|
+
divider: hs,
|
|
1243
|
+
chat: ms,
|
|
1244
|
+
iframe: fs,
|
|
1245
|
+
fullscreenBtn: xs,
|
|
1246
|
+
fullscreenChatPanel: gs,
|
|
1247
|
+
chatLoader: _s,
|
|
1250
1248
|
chatLoaderCompact: vs,
|
|
1251
|
-
spinner:
|
|
1252
|
-
chatLoaderText:
|
|
1253
|
-
imageWrapper:
|
|
1254
|
-
image:
|
|
1255
|
-
addBtn:
|
|
1256
|
-
title:
|
|
1257
|
-
price:
|
|
1258
|
-
priceRow:
|
|
1259
|
-
landscapeCard:
|
|
1260
|
-
landscapeImageWrapper:
|
|
1261
|
-
landscapeImage:
|
|
1262
|
-
landscapeContent:
|
|
1263
|
-
landscapeTitle:
|
|
1264
|
-
landscapePriceRow:
|
|
1265
|
-
landscapePrice:
|
|
1266
|
-
landscapeAdd:
|
|
1267
|
-
carousel:
|
|
1268
|
-
carouselLoader:
|
|
1269
|
-
customSheetOverlay:
|
|
1270
|
-
customSheet:
|
|
1271
|
-
customSheetTitle:
|
|
1272
|
-
customSheetRow:
|
|
1273
|
-
customInputWrap:
|
|
1274
|
-
currencySymbol:
|
|
1275
|
-
customInput:
|
|
1276
|
-
customContinueBtn:
|
|
1277
|
-
pujaBanner:
|
|
1278
|
-
pujaWrapperVertical:
|
|
1279
|
-
pujaCardVertical:
|
|
1280
|
-
pujaImage:
|
|
1281
|
-
pujaContent:
|
|
1282
|
-
pujaTitle:
|
|
1283
|
-
pujaSub:
|
|
1284
|
-
locationIcon:
|
|
1285
|
-
dateIcon:
|
|
1286
|
-
pujaTrustmakers:
|
|
1287
|
-
pujaMetaText:
|
|
1288
|
-
pujaCardHorizontal:
|
|
1289
|
-
pujaImageHorizontal:
|
|
1290
|
-
pujaContentHorizontal:
|
|
1291
|
-
pujaTitleHorizontal:
|
|
1292
|
-
pujaSubHorizontal:
|
|
1293
|
-
stickyTabs:
|
|
1294
|
-
landscapeLayout:
|
|
1295
|
-
landscapeLeft:
|
|
1296
|
-
landscapeRight:
|
|
1297
|
-
landscapePanelHeader:
|
|
1298
|
-
landscapeCloseBtn:
|
|
1299
|
-
landscapePanelBody:
|
|
1300
|
-
landscapeChat:
|
|
1301
|
-
fullscreenPanelHeader:
|
|
1302
|
-
fullscreenChatCloseBtn:
|
|
1249
|
+
spinner: js,
|
|
1250
|
+
chatLoaderText: bs,
|
|
1251
|
+
imageWrapper: ys,
|
|
1252
|
+
image: ws,
|
|
1253
|
+
addBtn: Cs,
|
|
1254
|
+
title: Ns,
|
|
1255
|
+
price: Ss,
|
|
1256
|
+
priceRow: Ts,
|
|
1257
|
+
landscapeCard: ks,
|
|
1258
|
+
landscapeImageWrapper: Es,
|
|
1259
|
+
landscapeImage: Is,
|
|
1260
|
+
landscapeContent: Rs,
|
|
1261
|
+
landscapeTitle: Ps,
|
|
1262
|
+
landscapePriceRow: Ls,
|
|
1263
|
+
landscapePrice: As,
|
|
1264
|
+
landscapeAdd: Fs,
|
|
1265
|
+
carousel: Ds,
|
|
1266
|
+
carouselLoader: Bs,
|
|
1267
|
+
customSheetOverlay: Os,
|
|
1268
|
+
customSheet: qs,
|
|
1269
|
+
customSheetTitle: Ms,
|
|
1270
|
+
customSheetRow: Us,
|
|
1271
|
+
customInputWrap: Ws,
|
|
1272
|
+
currencySymbol: Hs,
|
|
1273
|
+
customInput: $s,
|
|
1274
|
+
customContinueBtn: Vs,
|
|
1275
|
+
pujaBanner: zs,
|
|
1276
|
+
pujaWrapperVertical: Ys,
|
|
1277
|
+
pujaCardVertical: Gs,
|
|
1278
|
+
pujaImage: Ks,
|
|
1279
|
+
pujaContent: Js,
|
|
1280
|
+
pujaTitle: Zs,
|
|
1281
|
+
pujaSub: Xs,
|
|
1282
|
+
locationIcon: Qs,
|
|
1283
|
+
dateIcon: en,
|
|
1284
|
+
pujaTrustmakers: tn,
|
|
1285
|
+
pujaMetaText: an,
|
|
1286
|
+
pujaCardHorizontal: sn,
|
|
1287
|
+
pujaImageHorizontal: nn,
|
|
1288
|
+
pujaContentHorizontal: rn,
|
|
1289
|
+
pujaTitleHorizontal: on,
|
|
1290
|
+
pujaSubHorizontal: ln,
|
|
1291
|
+
stickyTabs: cn,
|
|
1292
|
+
landscapeLayout: dn,
|
|
1293
|
+
landscapeLeft: un,
|
|
1294
|
+
landscapeRight: pn,
|
|
1295
|
+
landscapePanelHeader: hn,
|
|
1296
|
+
landscapeCloseBtn: mn,
|
|
1297
|
+
landscapePanelBody: fn,
|
|
1298
|
+
landscapeChat: xn,
|
|
1299
|
+
fullscreenPanelHeader: gn,
|
|
1300
|
+
fullscreenChatCloseBtn: _n,
|
|
1303
1301
|
fullscreenPanelScroll: vn,
|
|
1304
|
-
sectionsScroll:
|
|
1305
|
-
fullscreenWithPanel:
|
|
1306
|
-
fullscreenLeft:
|
|
1307
|
-
fullscreenVideoArea:
|
|
1308
|
-
},
|
|
1302
|
+
sectionsScroll: jn,
|
|
1303
|
+
fullscreenWithPanel: bn,
|
|
1304
|
+
fullscreenLeft: yn,
|
|
1305
|
+
fullscreenVideoArea: wn
|
|
1306
|
+
}, Cn = ({ active: a = !1 }) => /* @__PURE__ */ e.jsx(
|
|
1309
1307
|
"img",
|
|
1310
1308
|
{
|
|
1311
1309
|
src: "https://srm-cdn.a4b.io/yoda/1776257217651.svg",
|
|
@@ -1315,16 +1313,16 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1315
1313
|
"aria-hidden": "true",
|
|
1316
1314
|
style: a ? { filter: "brightness(0) invert(1)" } : void 0
|
|
1317
1315
|
}
|
|
1318
|
-
),
|
|
1316
|
+
), Nn = {
|
|
1319
1317
|
streaks: "Streaks",
|
|
1320
1318
|
share: "Share",
|
|
1321
1319
|
store: "Store",
|
|
1322
1320
|
subscription: "Subscription"
|
|
1323
|
-
},
|
|
1321
|
+
}, dt = ({
|
|
1324
1322
|
activeTab: a,
|
|
1325
1323
|
onTabChange: s,
|
|
1326
1324
|
onChatPress: l,
|
|
1327
|
-
chatOpen:
|
|
1325
|
+
chatOpen: d = !1,
|
|
1328
1326
|
showSubscription: c = !1
|
|
1329
1327
|
}) => {
|
|
1330
1328
|
const m = c ? ["streaks", "share", "store", "subscription"] : ["streaks", "share", "store"];
|
|
@@ -1339,11 +1337,11 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1339
1337
|
{
|
|
1340
1338
|
type: "button",
|
|
1341
1339
|
onClick: l,
|
|
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 ${
|
|
1340
|
+
"aria-label": d ? "Close chat" : "Open chat",
|
|
1341
|
+
"aria-pressed": d,
|
|
1342
|
+
className: `flex items-center gap-1 px-2.5 py-1 rounded-full border cursor-pointer flex-shrink-0 transition-colors ${d ? "border-[#F75E22] bg-[#F75E22] text-white" : "border-gray-200 bg-transparent text-gray-800 hover:bg-gray-50"}`,
|
|
1345
1343
|
children: [
|
|
1346
|
-
/* @__PURE__ */ e.jsx(
|
|
1344
|
+
/* @__PURE__ */ e.jsx(Cn, { active: d }),
|
|
1347
1345
|
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-semibold whitespace-nowrap", children: "Chats" })
|
|
1348
1346
|
]
|
|
1349
1347
|
}
|
|
@@ -1360,33 +1358,33 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1360
1358
|
{
|
|
1361
1359
|
className: "flex items-stretch gap-[24px]",
|
|
1362
1360
|
"aria-label": "DLP navigation",
|
|
1363
|
-
children: m.map((
|
|
1364
|
-
const o =
|
|
1361
|
+
children: m.map((r) => {
|
|
1362
|
+
const o = r === a;
|
|
1365
1363
|
return /* @__PURE__ */ e.jsxs(
|
|
1366
1364
|
"button",
|
|
1367
1365
|
{
|
|
1368
1366
|
type: "button",
|
|
1369
1367
|
role: "tab",
|
|
1370
1368
|
"aria-selected": o,
|
|
1371
|
-
onClick: () => s(
|
|
1369
|
+
onClick: () => s(r),
|
|
1372
1370
|
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",
|
|
1373
1371
|
children: [
|
|
1374
1372
|
/* @__PURE__ */ e.jsx(
|
|
1375
1373
|
"span",
|
|
1376
1374
|
{
|
|
1377
|
-
className: `text-[14px] font-semibold whitespace-nowrap pb-1.5 ${o && !
|
|
1378
|
-
children:
|
|
1375
|
+
className: `text-[14px] font-semibold whitespace-nowrap pb-1.5 ${o && !d ? "text-orange-500" : "text-gray-500"}`,
|
|
1376
|
+
children: Nn[r]
|
|
1379
1377
|
}
|
|
1380
1378
|
),
|
|
1381
1379
|
/* @__PURE__ */ e.jsx(
|
|
1382
1380
|
"span",
|
|
1383
1381
|
{
|
|
1384
|
-
className: `block w-full h-0.5 rounded-t ${o && !
|
|
1382
|
+
className: `block w-full h-0.5 rounded-t ${o && !d ? "bg-orange-500" : "bg-transparent"}`
|
|
1385
1383
|
}
|
|
1386
1384
|
)
|
|
1387
1385
|
]
|
|
1388
1386
|
},
|
|
1389
|
-
|
|
1387
|
+
r
|
|
1390
1388
|
);
|
|
1391
1389
|
})
|
|
1392
1390
|
}
|
|
@@ -1394,49 +1392,49 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1394
1392
|
]
|
|
1395
1393
|
}
|
|
1396
1394
|
) });
|
|
1397
|
-
},
|
|
1398
|
-
header:
|
|
1399
|
-
leftBlock:
|
|
1400
|
-
logo:
|
|
1401
|
-
titleBlock:
|
|
1402
|
-
title:
|
|
1403
|
-
subtitle:
|
|
1404
|
-
tags:
|
|
1405
|
-
liveTag:
|
|
1406
|
-
liveDot:
|
|
1407
|
-
daysTag:
|
|
1408
|
-
},
|
|
1395
|
+
}, Sn = "_header_u6i0u_1", Tn = "_leftBlock_u6i0u_5", kn = "_logo_u6i0u_9", En = "_titleBlock_u6i0u_13", In = "_title_u6i0u_13", Rn = "_subtitle_u6i0u_21", Pn = "_tags_u6i0u_25", Ln = "_liveTag_u6i0u_29", An = "_liveDot_u6i0u_33", Fn = "_daysTag_u6i0u_37", se = {
|
|
1396
|
+
header: Sn,
|
|
1397
|
+
leftBlock: Tn,
|
|
1398
|
+
logo: kn,
|
|
1399
|
+
titleBlock: En,
|
|
1400
|
+
title: In,
|
|
1401
|
+
subtitle: Rn,
|
|
1402
|
+
tags: Pn,
|
|
1403
|
+
liveTag: Ln,
|
|
1404
|
+
liveDot: An,
|
|
1405
|
+
daysTag: Fn
|
|
1406
|
+
}, Dn = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Bn = ({
|
|
1409
1407
|
isLive: a = !1,
|
|
1410
1408
|
daysRemaining: s
|
|
1411
|
-
}) => /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className:
|
|
1412
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1413
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
1414
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1415
|
-
/* @__PURE__ */ e.jsx("h1", { className:
|
|
1416
|
-
/* @__PURE__ */ e.jsx("h6", { className:
|
|
1409
|
+
}) => /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsxs("div", { className: se.header, children: [
|
|
1410
|
+
/* @__PURE__ */ e.jsxs("div", { className: se.leftBlock, children: [
|
|
1411
|
+
/* @__PURE__ */ e.jsx("img", { src: Dn, className: se.logo, alt: "Puja" }),
|
|
1412
|
+
/* @__PURE__ */ e.jsxs("div", { className: se.titleBlock, children: [
|
|
1413
|
+
/* @__PURE__ */ e.jsx("h1", { className: se.title, children: "Sri Mandir" }),
|
|
1414
|
+
/* @__PURE__ */ e.jsx("h6", { className: se.subtitle, children: "Daily Live Puja" })
|
|
1417
1415
|
] })
|
|
1418
1416
|
] }),
|
|
1419
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1420
|
-
a && /* @__PURE__ */ e.jsxs("div", { className:
|
|
1421
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1417
|
+
/* @__PURE__ */ e.jsxs("div", { className: se.tags, children: [
|
|
1418
|
+
a && /* @__PURE__ */ e.jsxs("div", { className: se.liveTag, children: [
|
|
1419
|
+
/* @__PURE__ */ e.jsx("span", { className: se.liveDot, "aria-hidden": "true" }),
|
|
1422
1420
|
/* @__PURE__ */ e.jsx("span", { children: "LIVE" })
|
|
1423
1421
|
] }),
|
|
1424
|
-
typeof s == "number" && s > 0 && /* @__PURE__ */ e.jsxs("div", { className:
|
|
1422
|
+
typeof s == "number" && s > 0 && /* @__PURE__ */ e.jsxs("div", { className: se.daysTag, children: [
|
|
1425
1423
|
s,
|
|
1426
1424
|
" Days Remain"
|
|
1427
1425
|
] })
|
|
1428
1426
|
] })
|
|
1429
|
-
] }) }),
|
|
1430
|
-
wrapper:
|
|
1431
|
-
marker:
|
|
1432
|
-
iconWrap:
|
|
1433
|
-
label:
|
|
1434
|
-
dot:
|
|
1435
|
-
},
|
|
1427
|
+
] }) }), On = "_wrapper_1fsdx_1", qn = "_marker_1fsdx_6", Mn = "_iconWrap_1fsdx_10", Un = "_label_1fsdx_14", Wn = "_dot_1fsdx_19", Ke = {
|
|
1428
|
+
wrapper: On,
|
|
1429
|
+
marker: qn,
|
|
1430
|
+
iconWrap: Mn,
|
|
1431
|
+
label: Un,
|
|
1432
|
+
dot: Wn
|
|
1433
|
+
}, Rt = [
|
|
1436
1434
|
{ id: "devotees", label: "1.2L+ Devotees" },
|
|
1437
1435
|
{ id: "rating", label: "4.9 Rating" },
|
|
1438
1436
|
{ id: "verified", label: "Verified Pandit" }
|
|
1439
|
-
],
|
|
1437
|
+
], Yt = () => /* @__PURE__ */ e.jsxs(
|
|
1440
1438
|
"svg",
|
|
1441
1439
|
{
|
|
1442
1440
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1467,7 +1465,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1467
1465
|
)
|
|
1468
1466
|
]
|
|
1469
1467
|
}
|
|
1470
|
-
),
|
|
1468
|
+
), Hn = () => /* @__PURE__ */ e.jsx(
|
|
1471
1469
|
"svg",
|
|
1472
1470
|
{
|
|
1473
1471
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1487,7 +1485,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1487
1485
|
}
|
|
1488
1486
|
)
|
|
1489
1487
|
}
|
|
1490
|
-
),
|
|
1488
|
+
), $n = () => /* @__PURE__ */ e.jsxs(
|
|
1491
1489
|
"svg",
|
|
1492
1490
|
{
|
|
1493
1491
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1534,42 +1532,42 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1534
1532
|
)
|
|
1535
1533
|
]
|
|
1536
1534
|
}
|
|
1537
|
-
),
|
|
1538
|
-
devotees:
|
|
1539
|
-
rating:
|
|
1540
|
-
verified:
|
|
1541
|
-
},
|
|
1542
|
-
const l =
|
|
1543
|
-
return /* @__PURE__ */ e.jsxs(
|
|
1544
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1545
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1546
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1535
|
+
), Vn = {
|
|
1536
|
+
devotees: $n,
|
|
1537
|
+
rating: Hn,
|
|
1538
|
+
verified: Yt
|
|
1539
|
+
}, zn = () => /* @__PURE__ */ e.jsx("div", { className: "daily-live-puja-root", children: /* @__PURE__ */ e.jsx("div", { className: Ke.wrapper, children: Rt.map((a, s) => {
|
|
1540
|
+
const l = Vn[a.id] || Yt;
|
|
1541
|
+
return /* @__PURE__ */ e.jsxs(xt.Fragment, { children: [
|
|
1542
|
+
/* @__PURE__ */ e.jsxs("div", { className: Ke.marker, children: [
|
|
1543
|
+
/* @__PURE__ */ e.jsx("span", { className: Ke.iconWrap, children: /* @__PURE__ */ e.jsx(l, {}) }),
|
|
1544
|
+
/* @__PURE__ */ e.jsx("span", { className: Ke.label, children: a.label })
|
|
1547
1545
|
] }),
|
|
1548
|
-
s <
|
|
1546
|
+
s < Rt.length - 1 && /* @__PURE__ */ e.jsx("span", { className: Ke.dot, "aria-hidden": "true", children: "•" })
|
|
1549
1547
|
] }, a.id);
|
|
1550
|
-
}) }) }),
|
|
1551
|
-
root:
|
|
1552
|
-
highlights:
|
|
1553
|
-
highlightColumn:
|
|
1554
|
-
highlightItem:
|
|
1555
|
-
highlightTick:
|
|
1556
|
-
section:
|
|
1557
|
-
sectionTitle:
|
|
1558
|
-
benefitsList:
|
|
1559
|
-
benefitItem:
|
|
1560
|
-
benefitIcon:
|
|
1561
|
-
benefitTitle:
|
|
1562
|
-
benefitDesc:
|
|
1563
|
-
testimonialsScroll:
|
|
1564
|
-
testimonialCard:
|
|
1565
|
-
testimonialHeader:
|
|
1566
|
-
avatar:
|
|
1567
|
-
name:
|
|
1568
|
-
location:
|
|
1569
|
-
stars:
|
|
1570
|
-
quote:
|
|
1571
|
-
readMore:
|
|
1572
|
-
},
|
|
1548
|
+
}) }) }), Yn = "_root_ble2n_1", Gn = "_highlights_ble2n_5", Kn = "_highlightColumn_ble2n_9", Jn = "_highlightItem_ble2n_13", Zn = "_highlightTick_ble2n_18", Xn = "_section_ble2n_22", Qn = "_sectionTitle_ble2n_26", er = "_benefitsList_ble2n_30", tr = "_benefitItem_ble2n_34", ar = "_benefitIcon_ble2n_38", sr = "_benefitTitle_ble2n_42", nr = "_benefitDesc_ble2n_46", rr = "_testimonialsScroll_ble2n_50", ir = "_testimonialCard_ble2n_54", or = "_testimonialHeader_ble2n_58", lr = "_avatar_ble2n_62", cr = "_name_ble2n_66", dr = "_location_ble2n_70", ur = "_stars_ble2n_74", pr = "_quote_ble2n_78", hr = "_readMore_ble2n_82", P = {
|
|
1549
|
+
root: Yn,
|
|
1550
|
+
highlights: Gn,
|
|
1551
|
+
highlightColumn: Kn,
|
|
1552
|
+
highlightItem: Jn,
|
|
1553
|
+
highlightTick: Zn,
|
|
1554
|
+
section: Xn,
|
|
1555
|
+
sectionTitle: Qn,
|
|
1556
|
+
benefitsList: er,
|
|
1557
|
+
benefitItem: tr,
|
|
1558
|
+
benefitIcon: ar,
|
|
1559
|
+
benefitTitle: sr,
|
|
1560
|
+
benefitDesc: nr,
|
|
1561
|
+
testimonialsScroll: rr,
|
|
1562
|
+
testimonialCard: ir,
|
|
1563
|
+
testimonialHeader: or,
|
|
1564
|
+
avatar: lr,
|
|
1565
|
+
name: cr,
|
|
1566
|
+
location: dr,
|
|
1567
|
+
stars: ur,
|
|
1568
|
+
quote: pr,
|
|
1569
|
+
readMore: hr
|
|
1570
|
+
}, Pt = () => /* @__PURE__ */ e.jsx(
|
|
1573
1571
|
"svg",
|
|
1574
1572
|
{
|
|
1575
1573
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1588,57 +1586,57 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1588
1586
|
}
|
|
1589
1587
|
)
|
|
1590
1588
|
}
|
|
1591
|
-
),
|
|
1592
|
-
const a =
|
|
1593
|
-
return /* @__PURE__ */ e.jsxs("section", { className:
|
|
1594
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1595
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1589
|
+
), mr = () => {
|
|
1590
|
+
const a = Et.slice(0, 2), s = Et.slice(2, 4);
|
|
1591
|
+
return /* @__PURE__ */ e.jsxs("section", { className: P.highlights, children: [
|
|
1592
|
+
/* @__PURE__ */ e.jsx("div", { className: P.highlightColumn, children: a.map((l) => /* @__PURE__ */ e.jsxs("div", { className: P.highlightItem, children: [
|
|
1593
|
+
/* @__PURE__ */ e.jsx("span", { className: P.highlightTick, children: /* @__PURE__ */ e.jsx(Pt, {}) }),
|
|
1596
1594
|
/* @__PURE__ */ e.jsx("span", { children: l.label })
|
|
1597
1595
|
] }, l.id)) }),
|
|
1598
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1599
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1596
|
+
/* @__PURE__ */ e.jsx("div", { className: P.highlightColumn, children: s.map((l) => /* @__PURE__ */ e.jsxs("div", { className: P.highlightItem, children: [
|
|
1597
|
+
/* @__PURE__ */ e.jsx("span", { className: P.highlightTick, children: /* @__PURE__ */ e.jsx(Pt, {}) }),
|
|
1600
1598
|
/* @__PURE__ */ e.jsx("span", { children: l.label })
|
|
1601
1599
|
] }, l.id)) })
|
|
1602
1600
|
] });
|
|
1603
|
-
},
|
|
1604
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
1605
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1606
|
-
/* @__PURE__ */ e.jsx("img", { src: a.iconUrl, alt: a.title, className:
|
|
1601
|
+
}, fr = () => /* @__PURE__ */ e.jsxs("section", { className: P.section, children: [
|
|
1602
|
+
/* @__PURE__ */ e.jsx("h2", { className: P.sectionTitle, children: "What You'll Get" }),
|
|
1603
|
+
/* @__PURE__ */ e.jsx("div", { className: P.benefitsList, children: Pa.map((a) => /* @__PURE__ */ e.jsxs("div", { className: P.benefitItem, children: [
|
|
1604
|
+
/* @__PURE__ */ e.jsx("img", { src: a.iconUrl, alt: a.title, className: P.benefitIcon }),
|
|
1607
1605
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1608
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1609
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1606
|
+
/* @__PURE__ */ e.jsx("p", { className: P.benefitTitle, children: a.title }),
|
|
1607
|
+
/* @__PURE__ */ e.jsx("p", { className: P.benefitDesc, children: a.description })
|
|
1610
1608
|
] })
|
|
1611
1609
|
] }, a.id)) })
|
|
1612
|
-
] }),
|
|
1613
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
1614
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1615
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1616
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1610
|
+
] }), xr = (a) => "★".repeat(Math.max(0, a)), gr = () => /* @__PURE__ */ e.jsxs("section", { className: P.section, children: [
|
|
1611
|
+
/* @__PURE__ */ e.jsx("h2", { className: P.sectionTitle, children: "What Devotees Say" }),
|
|
1612
|
+
/* @__PURE__ */ e.jsx("div", { className: P.testimonialsScroll, children: La.map((a) => /* @__PURE__ */ e.jsxs("article", { className: P.testimonialCard, children: [
|
|
1613
|
+
/* @__PURE__ */ e.jsxs("div", { className: P.testimonialHeader, children: [
|
|
1614
|
+
/* @__PURE__ */ e.jsx("div", { className: P.avatar, children: a.initial }),
|
|
1617
1615
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1618
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1619
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1620
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1616
|
+
/* @__PURE__ */ e.jsx("p", { className: P.name, children: a.name }),
|
|
1617
|
+
/* @__PURE__ */ e.jsx("p", { className: P.location, children: a.location }),
|
|
1618
|
+
/* @__PURE__ */ e.jsx("div", { className: P.stars, children: xr(a.rating) })
|
|
1621
1619
|
] })
|
|
1622
1620
|
] }),
|
|
1623
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
1621
|
+
/* @__PURE__ */ e.jsxs("p", { className: P.quote, children: [
|
|
1624
1622
|
'" ',
|
|
1625
1623
|
a.quote,
|
|
1626
1624
|
' "'
|
|
1627
1625
|
] }),
|
|
1628
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1626
|
+
/* @__PURE__ */ e.jsx("p", { className: P.readMore, children: a.ctaLabel })
|
|
1629
1627
|
] }, a.id)) })
|
|
1630
|
-
] }),
|
|
1628
|
+
] }), _r = () => /* @__PURE__ */ e.jsxs("div", { className: P.root, children: [
|
|
1629
|
+
/* @__PURE__ */ e.jsx(mr, {}),
|
|
1631
1630
|
/* @__PURE__ */ e.jsx(fr, {}),
|
|
1632
|
-
/* @__PURE__ */ e.jsx(
|
|
1633
|
-
|
|
1634
|
-
] }), dt = ({
|
|
1631
|
+
/* @__PURE__ */ e.jsx(gr, {})
|
|
1632
|
+
] }), ut = ({
|
|
1635
1633
|
attendedDays: a,
|
|
1636
1634
|
totalDays: s = 7,
|
|
1637
1635
|
currentDay: l
|
|
1638
1636
|
}) => {
|
|
1639
|
-
const
|
|
1637
|
+
const d = new Set(a), c = a.length, m = 7, o = `calc((100% - ${(m - 1) * 4}px) / ${m})`;
|
|
1640
1638
|
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: [
|
|
1641
|
-
/* @__PURE__ */ e.jsx("h2", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children:
|
|
1639
|
+
/* @__PURE__ */ e.jsx("h2", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: pa }),
|
|
1642
1640
|
/* @__PURE__ */ e.jsx(
|
|
1643
1641
|
"div",
|
|
1644
1642
|
{
|
|
@@ -1646,14 +1644,14 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1646
1644
|
role: "list",
|
|
1647
1645
|
"aria-label": "7-day journey",
|
|
1648
1646
|
children: Array.from({ length: s }, (h, v) => {
|
|
1649
|
-
const p = v + 1, f =
|
|
1650
|
-
let
|
|
1651
|
-
return f ?
|
|
1647
|
+
const p = v + 1, f = d.has(p), x = p === l && !f;
|
|
1648
|
+
let j = "border-gray-300 bg-gray-200 text-gray-500";
|
|
1649
|
+
return f ? j = "border-orange-400 bg-orange-200 text-orange-900 shadow-[0_0_8px_rgba(252,207,154,1)]" : x && (j = "border-orange-400 bg-orange-50 text-orange-800"), /* @__PURE__ */ e.jsxs(
|
|
1652
1650
|
"div",
|
|
1653
1651
|
{
|
|
1654
1652
|
role: "listitem",
|
|
1655
1653
|
"aria-label": `Day ${p}${f ? ", attended" : x ? ", today" : ""}`,
|
|
1656
|
-
className: `flex flex-col items-center gap-1 rounded-lg border flex-shrink-0 self-stretch ${
|
|
1654
|
+
className: `flex flex-col items-center gap-1 rounded-lg border flex-shrink-0 self-stretch ${j}`,
|
|
1657
1655
|
style: {
|
|
1658
1656
|
flex: `0 0 ${o}`,
|
|
1659
1657
|
width: o,
|
|
@@ -1667,7 +1665,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1667
1665
|
f ? /* @__PURE__ */ e.jsx("span", { className: "leading-none mt-0.5", "aria-hidden": "true", children: /* @__PURE__ */ e.jsx(
|
|
1668
1666
|
"img",
|
|
1669
1667
|
{
|
|
1670
|
-
src:
|
|
1668
|
+
src: ha,
|
|
1671
1669
|
alt: "",
|
|
1672
1670
|
style: { width: "28.264px", height: "24px" }
|
|
1673
1671
|
}
|
|
@@ -1686,7 +1684,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1686
1684
|
})
|
|
1687
1685
|
}
|
|
1688
1686
|
),
|
|
1689
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] font-semibold text-orange-700 leading-5 m-0", children:
|
|
1687
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] font-semibold text-orange-700 leading-5 m-0", children: ma(c, s) })
|
|
1690
1688
|
] }) });
|
|
1691
1689
|
}, vr = () => /* @__PURE__ */ e.jsxs(
|
|
1692
1690
|
"svg",
|
|
@@ -1718,10 +1716,10 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1718
1716
|
)
|
|
1719
1717
|
]
|
|
1720
1718
|
}
|
|
1721
|
-
),
|
|
1719
|
+
), pt = ({ 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: [
|
|
1722
1720
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
1723
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children:
|
|
1724
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] font-medium text-gray-500 leading-[16px] m-0", children:
|
|
1721
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: da }),
|
|
1722
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] font-medium text-gray-500 leading-[16px] m-0", children: ua })
|
|
1725
1723
|
] }),
|
|
1726
1724
|
/* @__PURE__ */ e.jsxs(
|
|
1727
1725
|
"button",
|
|
@@ -1732,14 +1730,14 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1732
1730
|
style: {
|
|
1733
1731
|
background: "radial-gradient(123.65% 265.91% at 52.2% -165.91%, #0fdf9d, #087955)"
|
|
1734
1732
|
},
|
|
1735
|
-
"aria-label":
|
|
1733
|
+
"aria-label": kt,
|
|
1736
1734
|
children: [
|
|
1737
1735
|
/* @__PURE__ */ e.jsx(vr, {}),
|
|
1738
|
-
/* @__PURE__ */ e.jsx("span", { children:
|
|
1736
|
+
/* @__PURE__ */ e.jsx("span", { children: kt })
|
|
1739
1737
|
]
|
|
1740
1738
|
}
|
|
1741
1739
|
)
|
|
1742
|
-
] }) }),
|
|
1740
|
+
] }) }), jr = "store_list_page_pooja", br = (a) => {
|
|
1743
1741
|
const s = a?.cta?.action_attr?.deeplink;
|
|
1744
1742
|
if (!s)
|
|
1745
1743
|
return "https://www.srimandir.com/epuja";
|
|
@@ -1748,11 +1746,11 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1748
1746
|
} catch {
|
|
1749
1747
|
return "https://www.srimandir.com/epuja";
|
|
1750
1748
|
}
|
|
1751
|
-
},
|
|
1752
|
-
const
|
|
1749
|
+
}, yr = (a, s) => {
|
|
1750
|
+
const d = a.find(
|
|
1753
1751
|
(o) => o?.visible && o?.type === "list_item_large"
|
|
1754
1752
|
)?.list_item_large?.list_items || [], c = a.filter((o) => o?.visible && o?.type === "pooja_list_item_large").map((o) => o?.pooja_list_item_large?.store).filter(Boolean);
|
|
1755
|
-
return [...
|
|
1753
|
+
return [...d, ...c].filter((o, h, v) => {
|
|
1756
1754
|
const p = o?.id || o?.store_id || o?.inventory_id;
|
|
1757
1755
|
return p ? v.findIndex((f) => (f?.id || f?.store_id || f?.inventory_id) === p) === h : !0;
|
|
1758
1756
|
}).slice(0, s).map((o, h) => ({
|
|
@@ -1762,7 +1760,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1762
1760
|
title: o?.title || o?.sub_title || "Puja Seva",
|
|
1763
1761
|
temple: o?.location || "Sri Mandir",
|
|
1764
1762
|
date: o?.process_date || o?.process_date_dm || "",
|
|
1765
|
-
href:
|
|
1763
|
+
href: br(o)
|
|
1766
1764
|
}));
|
|
1767
1765
|
}, wr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg", alt: "location", width: "16", height: "16" }), Cr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1770372045894.svg", alt: "calendar", width: "16", height: "16" }), Nr = ({ card: a, onClick: s }) => /* @__PURE__ */ e.jsxs(
|
|
1768
1766
|
"a",
|
|
@@ -1799,136 +1797,131 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1799
1797
|
] })
|
|
1800
1798
|
]
|
|
1801
1799
|
}
|
|
1802
|
-
),
|
|
1800
|
+
), ht = ({
|
|
1803
1801
|
onCardClick: a,
|
|
1804
1802
|
a4bApi: s,
|
|
1805
|
-
storeCardsPage: l =
|
|
1806
|
-
storeCardsHeaders:
|
|
1803
|
+
storeCardsPage: l = jr,
|
|
1804
|
+
storeCardsHeaders: d,
|
|
1807
1805
|
storeCardsLimit: c = 8
|
|
1808
1806
|
}) => {
|
|
1809
|
-
const [m,
|
|
1810
|
-
return
|
|
1807
|
+
const [m, r] = w([]);
|
|
1808
|
+
return D(() => {
|
|
1809
|
+
if (!s?.pujaWeb?.getFeedPageV2)
|
|
1810
|
+
return;
|
|
1811
1811
|
let o = !1;
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
if (o) return;
|
|
1825
|
-
const { puja: p, chadhava: f, error: x } = v.data;
|
|
1826
|
-
if (x) {
|
|
1827
|
-
console.error("[DLP] Worker error:", x);
|
|
1828
|
-
return;
|
|
1812
|
+
return (async () => {
|
|
1813
|
+
try {
|
|
1814
|
+
const v = await s?.pujaWeb?.getFeedPageV2?.(
|
|
1815
|
+
{ page: l },
|
|
1816
|
+
d
|
|
1817
|
+
), p = yr(
|
|
1818
|
+
v?.data?.data?.cards || [],
|
|
1819
|
+
c
|
|
1820
|
+
);
|
|
1821
|
+
!o && p.length && r(p);
|
|
1822
|
+
} catch (v) {
|
|
1823
|
+
console.error("[DLP] Failed to fetch store cards", v);
|
|
1829
1824
|
}
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
c
|
|
1833
|
-
), L = Et(
|
|
1834
|
-
f?.data?.data?.cards || [],
|
|
1835
|
-
c
|
|
1836
|
-
), A = [...y, ...L].slice(0, c);
|
|
1837
|
-
A.length && i(A);
|
|
1838
|
-
}, () => {
|
|
1839
|
-
o = !0, h.terminate();
|
|
1825
|
+
})(), () => {
|
|
1826
|
+
o = !0;
|
|
1840
1827
|
};
|
|
1841
|
-
}, [c]), 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: [
|
|
1842
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children:
|
|
1828
|
+
}, [s, l, d, c]), 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: [
|
|
1829
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-[16px] font-semibold text-gray-900 leading-[22px] m-0", children: fa }),
|
|
1843
1830
|
/* @__PURE__ */ e.jsx(
|
|
1844
1831
|
"div",
|
|
1845
1832
|
{
|
|
1846
1833
|
className: "flex gap-3 overflow-x-auto pb-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
1847
1834
|
role: "list",
|
|
1848
|
-
"aria-label":
|
|
1835
|
+
"aria-label": xa,
|
|
1849
1836
|
children: m.map((o) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(Nr, { card: o, onClick: a }) }, o.id))
|
|
1850
1837
|
}
|
|
1851
1838
|
)
|
|
1852
1839
|
] }) }) : null;
|
|
1853
|
-
}, Sr = "sm_dlp_premium",
|
|
1840
|
+
}, Sr = "sm_dlp_premium", Lt = {
|
|
1841
|
+
acceptLanguage: "en"
|
|
1842
|
+
}, Tr = ({
|
|
1854
1843
|
storeId: a,
|
|
1855
1844
|
inventoryId: s,
|
|
1856
1845
|
onboardingType: l = Sr,
|
|
1857
|
-
enabled:
|
|
1846
|
+
enabled: d = !0,
|
|
1858
1847
|
apiBaseInstance: c
|
|
1859
1848
|
}) => {
|
|
1860
|
-
const [m,
|
|
1849
|
+
const [m, r] = w(null), [o, h] = w(null), [v, p] = w(
|
|
1861
1850
|
null
|
|
1862
|
-
), [f, x] =
|
|
1863
|
-
!!(
|
|
1864
|
-
), [
|
|
1865
|
-
() => !!(
|
|
1866
|
-
[
|
|
1867
|
-
), _ =
|
|
1868
|
-
if (!
|
|
1851
|
+
), [f, x] = w(
|
|
1852
|
+
!!(d && a && s)
|
|
1853
|
+
), [j, L] = w(null), E = gt(
|
|
1854
|
+
() => !!(d && a && s),
|
|
1855
|
+
[d, s, a]
|
|
1856
|
+
), _ = _t(async () => {
|
|
1857
|
+
if (!E) {
|
|
1869
1858
|
x(!1);
|
|
1870
1859
|
return;
|
|
1871
1860
|
}
|
|
1872
1861
|
try {
|
|
1873
1862
|
x(!0), L(null);
|
|
1874
|
-
let
|
|
1863
|
+
let N;
|
|
1875
1864
|
if (c?.get) {
|
|
1876
1865
|
const z = `/gw2/yoda/external/v1/subscriptions/stores/${a}/inventory/${s}`;
|
|
1877
|
-
|
|
1866
|
+
N = (await c.get(
|
|
1878
1867
|
z,
|
|
1879
|
-
{
|
|
1868
|
+
{
|
|
1869
|
+
params: { onboarding_type: l },
|
|
1870
|
+
headers: Lt
|
|
1871
|
+
}
|
|
1880
1872
|
))?.data;
|
|
1881
1873
|
} else {
|
|
1882
|
-
const z = new URLSearchParams({ onboarding_type: l }),
|
|
1874
|
+
const z = new URLSearchParams({ onboarding_type: l }), B = `/gw2/yoda/external/v1/subscriptions/stores/${a}/inventory/${s}?${z.toString()}`, T = await fetch(B, {
|
|
1883
1875
|
method: "GET",
|
|
1884
|
-
credentials: "include"
|
|
1876
|
+
credentials: "include",
|
|
1877
|
+
headers: Lt
|
|
1885
1878
|
});
|
|
1886
|
-
if (!
|
|
1879
|
+
if (!T.ok)
|
|
1887
1880
|
throw new Error(
|
|
1888
|
-
`Subscription onboarding API failed with status ${
|
|
1881
|
+
`Subscription onboarding API failed with status ${T.status}`
|
|
1889
1882
|
);
|
|
1890
|
-
|
|
1883
|
+
N = await T.json();
|
|
1891
1884
|
}
|
|
1892
|
-
const
|
|
1893
|
-
|
|
1894
|
-
} catch (
|
|
1895
|
-
|
|
1896
|
-
|
|
1885
|
+
const S = N?.data;
|
|
1886
|
+
r(S?.subscription_info ?? null), h(S?.trial_subscription_data ?? null), p(S?.onboarding_data ?? null);
|
|
1887
|
+
} catch (N) {
|
|
1888
|
+
r(null), h(null), p(null), L(
|
|
1889
|
+
N instanceof Error ? N : new Error("Failed to fetch subscription onboarding data")
|
|
1897
1890
|
);
|
|
1898
1891
|
} finally {
|
|
1899
1892
|
x(!1);
|
|
1900
1893
|
}
|
|
1901
|
-
}, [c, s, l,
|
|
1902
|
-
return
|
|
1894
|
+
}, [c, s, l, E, a]);
|
|
1895
|
+
return D(() => {
|
|
1903
1896
|
_();
|
|
1904
1897
|
}, [_]), {
|
|
1905
1898
|
subscriptionInfo: m,
|
|
1906
1899
|
trialSubscriptionData: o,
|
|
1907
1900
|
onboardingData: v,
|
|
1908
1901
|
isLoading: f,
|
|
1909
|
-
error:
|
|
1902
|
+
error: j,
|
|
1910
1903
|
refetch: _
|
|
1911
1904
|
};
|
|
1912
|
-
},
|
|
1905
|
+
}, mt = ({
|
|
1913
1906
|
storeId: a,
|
|
1914
1907
|
inventoryId: s,
|
|
1915
1908
|
onboardingType: l = "sm_dlp_premium",
|
|
1916
|
-
apiBaseInstance:
|
|
1909
|
+
apiBaseInstance: d,
|
|
1917
1910
|
onSubscribe: c
|
|
1918
1911
|
}) => {
|
|
1919
|
-
const { subscriptionInfo: m, trialSubscriptionData:
|
|
1912
|
+
const { subscriptionInfo: m, trialSubscriptionData: r } = Tr({
|
|
1920
1913
|
storeId: a,
|
|
1921
1914
|
inventoryId: s,
|
|
1922
1915
|
onboardingType: l,
|
|
1923
|
-
apiBaseInstance:
|
|
1916
|
+
apiBaseInstance: d,
|
|
1924
1917
|
enabled: !!(a && s)
|
|
1925
|
-
}), o = m?.colors?.bg_color_1 || "#340d10", h = m?.colors?.bg_color_2 || "#5f181d", v = m?.tag?.text ||
|
|
1918
|
+
}), o = m?.colors?.bg_color_1 || "#340d10", h = m?.colors?.bg_color_2 || "#5f181d", v = m?.tag?.text || ga, p = m?.tag?.bg_color || "#f8a84a", f = m?.tag?.text_color || "#3d1c02", x = m?.header || _a, j = m?.description || va, L = m?.info_list && m.info_list.length > 0 ? m.info_list : [
|
|
1926
1919
|
{ text: ja, description: "", icon_url: "" },
|
|
1927
|
-
{ text:
|
|
1928
|
-
],
|
|
1920
|
+
{ text: ba, description: "", icon_url: "" }
|
|
1921
|
+
], E = m?.media?.media_url || ya, _ = r?.currency_code || "₹", N = r?.effective_amount ?? r?.subscription_amount, S = r?.subscription_amount, z = r?.period ? `/ ${r.period}` : wa, B = m?.cta, T = B?.visible ?? !0, Y = B?.text || Ca, Q = B?.text_color || "#ffffff", ne = B?.stroke_color || "transparent", ie = B?.color || "#f97e4e", he = B?.color_2 || "#f75e22", me = () => {
|
|
1929
1922
|
if (c?.(), c)
|
|
1930
1923
|
return;
|
|
1931
|
-
const M =
|
|
1924
|
+
const M = B?.action_attr?.deeplink;
|
|
1932
1925
|
if (!(!M || typeof window > "u"))
|
|
1933
1926
|
try {
|
|
1934
1927
|
window.location.href = new URL(M, window.location.origin).toString();
|
|
@@ -1953,7 +1946,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1953
1946
|
}
|
|
1954
1947
|
),
|
|
1955
1948
|
/* @__PURE__ */ e.jsx("h2", { className: "text-[24px] font-bold leading-[34px] m-0", children: x }),
|
|
1956
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-[16px] opacity-75 m-0", children:
|
|
1949
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-[16px] opacity-75 m-0", children: j }),
|
|
1957
1950
|
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-2 pt-2 text-[12px]", children: L.map((M, H) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-2", children: [
|
|
1958
1951
|
M.icon_url ? /* @__PURE__ */ e.jsx(
|
|
1959
1952
|
"img",
|
|
@@ -1974,45 +1967,45 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
1974
1967
|
{
|
|
1975
1968
|
className: "absolute right-4 bottom-[120px] select-none",
|
|
1976
1969
|
"aria-hidden": "true",
|
|
1977
|
-
children: /* @__PURE__ */ e.jsx("img", { src:
|
|
1970
|
+
children: /* @__PURE__ */ e.jsx("img", { src: E, alt: "" })
|
|
1978
1971
|
}
|
|
1979
1972
|
),
|
|
1980
1973
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 pt-3 text-[#f8a84a]", children: [
|
|
1981
|
-
typeof
|
|
1974
|
+
typeof N == "number" && /* @__PURE__ */ e.jsxs("span", { className: "text-[32px] font-bold leading-[44px]", children: [
|
|
1982
1975
|
_,
|
|
1983
|
-
|
|
1976
|
+
N
|
|
1984
1977
|
] }),
|
|
1985
|
-
typeof
|
|
1978
|
+
typeof S == "number" && typeof N == "number" && S > N && /* @__PURE__ */ e.jsxs("span", { className: "text-[14px] line-through text-white/60 font-semibold", children: [
|
|
1986
1979
|
_,
|
|
1987
|
-
|
|
1980
|
+
S
|
|
1988
1981
|
] }),
|
|
1989
1982
|
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] text-white/60", children: z })
|
|
1990
1983
|
] }),
|
|
1991
|
-
|
|
1984
|
+
T && /* @__PURE__ */ e.jsxs(
|
|
1992
1985
|
"button",
|
|
1993
1986
|
{
|
|
1994
1987
|
type: "button",
|
|
1995
|
-
onClick:
|
|
1988
|
+
onClick: me,
|
|
1996
1989
|
className: "mt-2 h-12 w-full rounded-xl flex items-center justify-center gap-2 font-semibold text-[16px] cursor-pointer",
|
|
1997
1990
|
style: {
|
|
1998
1991
|
color: Q,
|
|
1999
|
-
borderColor:
|
|
2000
|
-
borderWidth:
|
|
1992
|
+
borderColor: ne,
|
|
1993
|
+
borderWidth: ne !== "transparent" ? 1 : 0,
|
|
2001
1994
|
borderStyle: "solid",
|
|
2002
|
-
background: `linear-gradient(180deg, ${
|
|
1995
|
+
background: `linear-gradient(180deg, ${ie}, ${he})`
|
|
2003
1996
|
},
|
|
2004
|
-
"aria-label":
|
|
1997
|
+
"aria-label": Y,
|
|
2005
1998
|
children: [
|
|
2006
|
-
|
|
2007
|
-
|
|
1999
|
+
Y,
|
|
2000
|
+
B?.icon?.url ? /* @__PURE__ */ e.jsx("img", { src: B.icon.url, alt: "", "aria-hidden": "true", className: "w-5 h-5" }) : /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ e.jsx("path", { d: "M9.75 0C15.1352 0 19.5 4.36479 19.5 9.75C19.5 15.1352 15.1352 19.5 9.75 19.5C4.36479 19.5 0 15.1352 0 9.75C0 4.36479 4.36479 0 9.75 0ZM9.75 1.5C5.19321 1.5 1.5 5.19321 1.5 9.75C1.5 14.3068 5.19321 18 9.75 18C14.3068 18 18 14.3068 18 9.75C18 5.19321 14.3068 1.5 9.75 1.5ZM10.2197 6.21973C10.5126 5.92683 10.9874 5.92683 11.2803 6.21973L14.2803 9.21973C14.5732 9.51262 14.5732 9.98738 14.2803 10.2803L11.2803 13.2803C10.9874 13.5732 10.5126 13.5732 10.2197 13.2803C9.92683 12.9874 9.92683 12.5126 10.2197 12.2197L11.9395 10.5H5.75C5.33579 10.5 5 10.1642 5 9.75C5 9.33579 5.33579 9 5.75 9H11.9395L10.2197 7.28027C9.92683 6.98738 9.92683 6.51262 10.2197 6.21973Z", fill: Q }) })
|
|
2008
2001
|
]
|
|
2009
2002
|
}
|
|
2010
2003
|
),
|
|
2011
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[12px] opacity-55 mt-1 m-0", children: m?.footer_text ||
|
|
2004
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[12px] opacity-55 mt-1 m-0", children: m?.footer_text || Na })
|
|
2012
2005
|
] })
|
|
2013
2006
|
}
|
|
2014
2007
|
);
|
|
2015
|
-
},
|
|
2008
|
+
}, At = (a) => {
|
|
2016
2009
|
if (!a)
|
|
2017
2010
|
return;
|
|
2018
2011
|
const s = a.trim();
|
|
@@ -2025,101 +2018,165 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2025
2018
|
return s.replace(/^https?:\/\//i, "").replace(/\/$/, "").replace(/:\d+$/, "");
|
|
2026
2019
|
}
|
|
2027
2020
|
}, kr = (a) => {
|
|
2028
|
-
const s = a ?? [], l = s.find((
|
|
2021
|
+
const s = a ?? [], l = s.find((r) => r.is_offering === !1), d = l ? {
|
|
2029
2022
|
id: String(l.id),
|
|
2030
|
-
title: l.title ||
|
|
2031
|
-
location: l.location ||
|
|
2032
|
-
date: l.date ||
|
|
2023
|
+
title: l.title || pe.title,
|
|
2024
|
+
location: l.location || pe.location,
|
|
2025
|
+
date: l.date || pe.date,
|
|
2033
2026
|
deeplink: l.deeplink,
|
|
2034
|
-
imageUrl: l.img_url?.data?.attributes?.url ||
|
|
2035
|
-
} :
|
|
2036
|
-
const o =
|
|
2027
|
+
imageUrl: l.img_url?.data?.attributes?.url || pe.imageUrl
|
|
2028
|
+
} : pe, c = s.filter((r) => r.is_offering).map((r) => {
|
|
2029
|
+
const o = r.title || "Custom", h = o.toLowerCase() === "custom", v = r.price ? Number(r.price) : null;
|
|
2037
2030
|
return {
|
|
2038
|
-
id: String(
|
|
2031
|
+
id: String(r.id),
|
|
2039
2032
|
name: o,
|
|
2040
2033
|
price: Number.isFinite(v) ? v : null,
|
|
2041
|
-
image_url:
|
|
2042
|
-
deeplink:
|
|
2034
|
+
image_url: r.img_url?.data?.attributes?.url || "",
|
|
2035
|
+
deeplink: r.deeplink,
|
|
2043
2036
|
isCustom: h
|
|
2044
2037
|
};
|
|
2045
|
-
}), m = (c.length ? c :
|
|
2046
|
-
return { pujaCard:
|
|
2047
|
-
}, Er = (a) => `https://${
|
|
2048
|
-
getDlpContent: async (l,
|
|
2049
|
-
const c = await a(Er(l), { signal:
|
|
2038
|
+
}), m = (c.length ? c : zt).sort((r, o) => Number(r.isCustom) - Number(o.isCustom));
|
|
2039
|
+
return { pujaCard: d, offeringCards: m };
|
|
2040
|
+
}, Er = (a) => `https://${Sa[a]}/api/dlps${Ta}`, Ir = (a = fetch) => ({
|
|
2041
|
+
getDlpContent: async (l, d) => {
|
|
2042
|
+
const c = await a(Er(l), { signal: d });
|
|
2050
2043
|
if (!c.ok)
|
|
2051
2044
|
throw new Error(`DLP API failed with status ${c.status}`);
|
|
2052
|
-
const
|
|
2045
|
+
const r = (await c.json())?.data?.[0]?.attributes;
|
|
2053
2046
|
return {
|
|
2054
|
-
attributes:
|
|
2055
|
-
normalized: kr(
|
|
2047
|
+
attributes: r,
|
|
2048
|
+
normalized: kr(r?.dlp_cards)
|
|
2056
2049
|
};
|
|
2057
2050
|
}
|
|
2058
2051
|
}), Rr = ({
|
|
2059
2052
|
initialVideoId: a,
|
|
2060
2053
|
contentEnvironment: s
|
|
2061
2054
|
}) => {
|
|
2062
|
-
const [l,
|
|
2063
|
-
|
|
2064
|
-
|
|
2055
|
+
const [l, d] = w(a), [c, m] = w(pe), [r, o] = w(zt), [h, v] = w(!0), p = gt(() => Ir(), []);
|
|
2056
|
+
D(() => {
|
|
2057
|
+
d(a);
|
|
2065
2058
|
}, [a]);
|
|
2066
|
-
const f =
|
|
2059
|
+
const f = _t(
|
|
2067
2060
|
async (x) => {
|
|
2068
2061
|
v(!0);
|
|
2069
2062
|
try {
|
|
2070
|
-
const { attributes:
|
|
2063
|
+
const { attributes: j, normalized: L } = await p.getDlpContent(
|
|
2071
2064
|
s,
|
|
2072
2065
|
x
|
|
2073
2066
|
);
|
|
2074
|
-
|
|
2075
|
-
} catch (
|
|
2076
|
-
x?.aborted || console.error("Failed to fetch DLP cards",
|
|
2067
|
+
j?.yt_video_id && d(j.yt_video_id), m(L.pujaCard), o(L.offeringCards);
|
|
2068
|
+
} catch (j) {
|
|
2069
|
+
x?.aborted || console.error("Failed to fetch DLP cards", j);
|
|
2077
2070
|
} finally {
|
|
2078
2071
|
x?.aborted || v(!1);
|
|
2079
2072
|
}
|
|
2080
2073
|
},
|
|
2081
2074
|
[p, s]
|
|
2082
2075
|
);
|
|
2083
|
-
return
|
|
2076
|
+
return D(() => {
|
|
2084
2077
|
const x = new AbortController();
|
|
2085
2078
|
return f(x.signal), () => x.abort();
|
|
2086
2079
|
}, [f]), {
|
|
2087
2080
|
apiVideoId: l,
|
|
2088
2081
|
pujaCard: c,
|
|
2089
|
-
offeringCards:
|
|
2082
|
+
offeringCards: r,
|
|
2090
2083
|
isDlpLoading: h,
|
|
2091
2084
|
refetchDlpData: f
|
|
2092
2085
|
};
|
|
2093
|
-
},
|
|
2094
|
-
|
|
2095
|
-
|
|
2086
|
+
}, Pr = "sm_dlp_premium", Ft = [
|
|
2087
|
+
"created",
|
|
2088
|
+
"active",
|
|
2089
|
+
"active_grace"
|
|
2090
|
+
], Lr = (a) => {
|
|
2091
|
+
const s = a?.data;
|
|
2092
|
+
return Array.isArray(s) ? s : s && typeof s == "object" ? [s] : [];
|
|
2093
|
+
}, Ar = ({
|
|
2094
|
+
subscriptionType: a = Pr,
|
|
2095
|
+
enabled: s = !0,
|
|
2096
|
+
apiBaseInstance: l
|
|
2097
|
+
}) => {
|
|
2098
|
+
const [d, c] = w(!1), [m, r] = w(null), [o, h] = w(!!s), [v, p] = w(null), f = gt(() => !!(s && a), [
|
|
2099
|
+
s,
|
|
2100
|
+
a
|
|
2101
|
+
]), x = _t(async () => {
|
|
2102
|
+
if (!f) {
|
|
2103
|
+
h(!1), c(!1), r(null);
|
|
2104
|
+
return;
|
|
2105
|
+
}
|
|
2106
|
+
try {
|
|
2107
|
+
h(!0), p(null), c(!1), r(null);
|
|
2108
|
+
let j;
|
|
2109
|
+
if (l?.get)
|
|
2110
|
+
j = (await l.get(
|
|
2111
|
+
`/gw3/yoda/external/v1/subscriptions/${a}`
|
|
2112
|
+
))?.data;
|
|
2113
|
+
else {
|
|
2114
|
+
const E = await fetch(
|
|
2115
|
+
`/gw3/yoda/external/v1/subscriptions/${a}`,
|
|
2116
|
+
{
|
|
2117
|
+
method: "GET",
|
|
2118
|
+
credentials: "include"
|
|
2119
|
+
}
|
|
2120
|
+
);
|
|
2121
|
+
if (!E.ok)
|
|
2122
|
+
throw new Error(
|
|
2123
|
+
`Subscription status API failed with status ${E.status}`
|
|
2124
|
+
);
|
|
2125
|
+
j = await E.json();
|
|
2126
|
+
}
|
|
2127
|
+
const L = Lr(j).find((E) => {
|
|
2128
|
+
const _ = E?.status?.toLowerCase(), N = E?.service_type?.toLowerCase(), S = !N || N === a.toLowerCase();
|
|
2129
|
+
return !!_ && Ft.includes(_) && S;
|
|
2130
|
+
});
|
|
2131
|
+
L && (c(!0), r(L));
|
|
2132
|
+
} catch (j) {
|
|
2133
|
+
c(!1), r(null), p(
|
|
2134
|
+
j instanceof Error ? j : new Error("Failed to fetch subscription status")
|
|
2135
|
+
);
|
|
2136
|
+
} finally {
|
|
2137
|
+
h(!1);
|
|
2138
|
+
}
|
|
2139
|
+
}, [l, f, a]);
|
|
2140
|
+
return D(() => {
|
|
2141
|
+
x();
|
|
2142
|
+
}, [x]), {
|
|
2143
|
+
isSubscribed: d,
|
|
2144
|
+
activeSubscription: m,
|
|
2145
|
+
checkedStatuses: Ft,
|
|
2146
|
+
isLoading: o,
|
|
2147
|
+
error: v,
|
|
2148
|
+
refetch: x
|
|
2149
|
+
};
|
|
2150
|
+
}, Fr = (a, s) => {
|
|
2151
|
+
const [l, d] = w("LOADING"), c = U(null), m = U(null);
|
|
2152
|
+
return D(() => {
|
|
2096
2153
|
if (!a || typeof window > "u")
|
|
2097
2154
|
return;
|
|
2098
|
-
let
|
|
2099
|
-
|
|
2155
|
+
let r = !1;
|
|
2156
|
+
d("LOADING");
|
|
2100
2157
|
const o = () => {
|
|
2101
2158
|
m.current && (clearInterval(m.current), m.current = null);
|
|
2102
2159
|
}, h = () => {
|
|
2103
2160
|
const p = c.current;
|
|
2104
|
-
if (!(!p ||
|
|
2161
|
+
if (!(!p || r))
|
|
2105
2162
|
try {
|
|
2106
|
-
const f = p.getVideoData(), x = p.getDuration(),
|
|
2163
|
+
const f = p.getVideoData(), x = p.getDuration(), j = f?.isLive ?? !1;
|
|
2107
2164
|
if (x === 0) {
|
|
2108
|
-
|
|
2165
|
+
d("UPCOMING");
|
|
2109
2166
|
return;
|
|
2110
2167
|
}
|
|
2111
|
-
if (
|
|
2112
|
-
|
|
2168
|
+
if (j) {
|
|
2169
|
+
d("LIVE");
|
|
2113
2170
|
return;
|
|
2114
2171
|
}
|
|
2115
|
-
|
|
2172
|
+
d("ENDED");
|
|
2116
2173
|
} catch (f) {
|
|
2117
2174
|
console.error("Error reading YouTube player state", f);
|
|
2118
2175
|
}
|
|
2119
2176
|
}, v = () => {
|
|
2120
|
-
!document.getElementById(s) || !window.YT?.Player ||
|
|
2177
|
+
!document.getElementById(s) || !window.YT?.Player || r || (c.current?.destroy?.(), o(), c.current = new window.YT.Player(s, {
|
|
2121
2178
|
videoId: a,
|
|
2122
|
-
playerVars:
|
|
2179
|
+
playerVars: Ra,
|
|
2123
2180
|
events: {
|
|
2124
2181
|
onReady: () => {
|
|
2125
2182
|
try {
|
|
@@ -2130,13 +2187,13 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2130
2187
|
f
|
|
2131
2188
|
);
|
|
2132
2189
|
}
|
|
2133
|
-
h(), setTimeout(h,
|
|
2190
|
+
h(), setTimeout(h, Ia), m.current = setInterval(
|
|
2134
2191
|
h,
|
|
2135
|
-
|
|
2192
|
+
Ea
|
|
2136
2193
|
);
|
|
2137
2194
|
},
|
|
2138
2195
|
onStateChange: (f) => {
|
|
2139
|
-
f.data === window.YT.PlayerState.ENDED &&
|
|
2196
|
+
f.data === window.YT.PlayerState.ENDED && d("ENDED"), h();
|
|
2140
2197
|
}
|
|
2141
2198
|
}
|
|
2142
2199
|
}));
|
|
@@ -2156,176 +2213,180 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2156
2213
|
};
|
|
2157
2214
|
}
|
|
2158
2215
|
return () => {
|
|
2159
|
-
|
|
2216
|
+
r = !0, o(), c.current?.destroy?.(), c.current = null;
|
|
2160
2217
|
};
|
|
2161
2218
|
}, [s, a]), l;
|
|
2162
|
-
},
|
|
2219
|
+
}, zr = ({
|
|
2163
2220
|
videoId: a,
|
|
2164
2221
|
title: s = "Live Stream",
|
|
2165
2222
|
chatHost: l,
|
|
2166
|
-
contentEnvironment:
|
|
2223
|
+
contentEnvironment: d = "sbox",
|
|
2167
2224
|
isGlobal: c = !1,
|
|
2168
2225
|
onOfferingClick: m,
|
|
2169
|
-
onPujaImpression:
|
|
2226
|
+
onPujaImpression: r,
|
|
2170
2227
|
onPujaClick: o,
|
|
2171
2228
|
attendedDays: h = [1],
|
|
2172
2229
|
currentDay: v = 1,
|
|
2173
2230
|
isLoggedIn: p = !0,
|
|
2174
2231
|
onStoreCardClick: f,
|
|
2175
2232
|
a4bApi: x,
|
|
2176
|
-
storeCardsPage:
|
|
2233
|
+
storeCardsPage: j,
|
|
2177
2234
|
storeCardsHeaders: L,
|
|
2178
|
-
storeCardsLimit:
|
|
2235
|
+
storeCardsLimit: E,
|
|
2179
2236
|
onShare: _,
|
|
2180
|
-
showSubscription:
|
|
2181
|
-
onSubscribe:
|
|
2237
|
+
showSubscription: N = !1,
|
|
2238
|
+
onSubscribe: S,
|
|
2182
2239
|
subscriptionStoreId: z,
|
|
2183
|
-
subscriptionInventoryId:
|
|
2184
|
-
subscriptionOnboardingType:
|
|
2240
|
+
subscriptionInventoryId: B,
|
|
2241
|
+
subscriptionOnboardingType: T = "sm_dlp_premium"
|
|
2185
2242
|
}) => {
|
|
2186
|
-
const [
|
|
2187
|
-
streaks:
|
|
2188
|
-
share:
|
|
2243
|
+
const [Y, Q] = w("streaks"), [ne, ie] = w("chat"), he = U(null), me = U(null), M = U(null), H = U(null), G = U(null), oe = {
|
|
2244
|
+
streaks: he,
|
|
2245
|
+
share: me,
|
|
2189
2246
|
store: M,
|
|
2190
2247
|
subscription: H
|
|
2191
|
-
}, Pe = (
|
|
2192
|
-
const
|
|
2193
|
-
!
|
|
2194
|
-
},
|
|
2195
|
-
streaks:
|
|
2196
|
-
share:
|
|
2197
|
-
store:
|
|
2198
|
-
subscription:
|
|
2199
|
-
}
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2248
|
+
}, Pe = (b) => {
|
|
2249
|
+
const A = oe[b].current, te = G.current;
|
|
2250
|
+
!A || !te || te.scrollTo({ top: A.offsetTop, behavior: "smooth" });
|
|
2251
|
+
}, K = Y === "chat", Le = K ? "streaks" : Y, Ae = U(null), Fe = U(null), De = U(null), Be = U(null), Oe = U(null), Je = U(null), Ze = {
|
|
2252
|
+
streaks: Ae,
|
|
2253
|
+
share: Fe,
|
|
2254
|
+
store: De,
|
|
2255
|
+
subscription: Be
|
|
2256
|
+
}, { isSubscribed: qe } = Ar({
|
|
2257
|
+
subscriptionType: T,
|
|
2258
|
+
enabled: N,
|
|
2259
|
+
apiBaseInstance: x?.apiInstance
|
|
2260
|
+
}), $ = N && !qe;
|
|
2261
|
+
D(() => {
|
|
2262
|
+
if (K) return;
|
|
2263
|
+
const b = requestAnimationFrame(() => {
|
|
2264
|
+
const A = Je.current;
|
|
2265
|
+
if (!A) return;
|
|
2266
|
+
const te = $ ? ["streaks", "share", "store", "subscription"] : ["streaks", "share", "store"], re = [];
|
|
2267
|
+
return te.forEach((ae) => {
|
|
2268
|
+
const ue = Ze[ae].current;
|
|
2269
|
+
if (!ue) return;
|
|
2270
|
+
const Ee = new IntersectionObserver(
|
|
2271
|
+
([lt]) => {
|
|
2272
|
+
lt.isIntersecting && Q(ae);
|
|
2212
2273
|
},
|
|
2213
|
-
{ root:
|
|
2274
|
+
{ root: A, rootMargin: "-10% 0px -60% 0px", threshold: 0 }
|
|
2214
2275
|
);
|
|
2215
|
-
|
|
2216
|
-
}), () =>
|
|
2276
|
+
Ee.observe(ue), re.push(Ee);
|
|
2277
|
+
}), () => re.forEach((ae) => ae.disconnect());
|
|
2217
2278
|
});
|
|
2218
|
-
return () => cancelAnimationFrame(
|
|
2219
|
-
}, [
|
|
2220
|
-
const
|
|
2221
|
-
Q(
|
|
2222
|
-
|
|
2279
|
+
return () => cancelAnimationFrame(b);
|
|
2280
|
+
}, [$, K]);
|
|
2281
|
+
const be = (b) => {
|
|
2282
|
+
Q(b), setTimeout(() => {
|
|
2283
|
+
Ze[b].current?.scrollIntoView({
|
|
2223
2284
|
behavior: "smooth",
|
|
2224
2285
|
block: "start"
|
|
2225
2286
|
});
|
|
2226
2287
|
}, 50);
|
|
2227
|
-
},
|
|
2288
|
+
}, ye = () => Q("chat"), [q, Me] = w(!1), [Z, Ue] = w(!1), [we, fe] = w(!0), [le, We] = w(!1), [X, xe] = w(!1), [rt, it] = w(""), { apiVideoId: He, pujaCard: ge, offeringCards: Ce, isDlpLoading: Xe } = Rr({
|
|
2228
2289
|
initialVideoId: a,
|
|
2229
|
-
contentEnvironment:
|
|
2230
|
-
}), [
|
|
2231
|
-
|
|
2232
|
-
if (
|
|
2233
|
-
const
|
|
2234
|
-
if (!
|
|
2235
|
-
const
|
|
2236
|
-
return
|
|
2237
|
-
const
|
|
2238
|
-
if (!
|
|
2239
|
-
const
|
|
2240
|
-
([
|
|
2241
|
-
|
|
2290
|
+
contentEnvironment: d
|
|
2291
|
+
}), [_e, Ne] = w(null);
|
|
2292
|
+
D(() => {
|
|
2293
|
+
if (K) return;
|
|
2294
|
+
const b = G.current;
|
|
2295
|
+
if (!b) return;
|
|
2296
|
+
const A = $ ? ["streaks", "share", "store", "subscription"] : ["streaks", "share", "store"], te = [];
|
|
2297
|
+
return A.forEach((re) => {
|
|
2298
|
+
const ae = oe[re].current;
|
|
2299
|
+
if (!ae) return;
|
|
2300
|
+
const ue = new IntersectionObserver(
|
|
2301
|
+
([Ee]) => {
|
|
2302
|
+
Ee.isIntersecting && Q(re);
|
|
2242
2303
|
},
|
|
2243
|
-
{ root:
|
|
2304
|
+
{ root: b, rootMargin: "-10% 0px -60% 0px", threshold: 0 }
|
|
2244
2305
|
);
|
|
2245
|
-
|
|
2246
|
-
}), () =>
|
|
2247
|
-
}, [
|
|
2248
|
-
const
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
}, [
|
|
2252
|
-
if (
|
|
2306
|
+
ue.observe(ae), te.push(ue);
|
|
2307
|
+
}), () => te.forEach((re) => re.disconnect());
|
|
2308
|
+
}, [$, K, Z, X]);
|
|
2309
|
+
const ot = typeof window < "u" ? window.location.origin : "https://www.srimandir.com", Qe = At(rt) || At(l) || "www.srimandir.com", ve = He || a, et = `yt-live-status-probe-${ea().replace(/:/g, "")}`, Se = Fr(ve, et);
|
|
2310
|
+
D(() => {
|
|
2311
|
+
Ne(null);
|
|
2312
|
+
}, [ve]), D(() => {
|
|
2313
|
+
if (Se === "LOADING")
|
|
2253
2314
|
return;
|
|
2254
|
-
if (
|
|
2255
|
-
|
|
2315
|
+
if (Se === "LIVE") {
|
|
2316
|
+
Ne("LIVE");
|
|
2256
2317
|
return;
|
|
2257
2318
|
}
|
|
2258
|
-
const
|
|
2259
|
-
|
|
2260
|
-
},
|
|
2261
|
-
return () => window.clearTimeout(
|
|
2262
|
-
}, [
|
|
2263
|
-
const
|
|
2264
|
-
|
|
2265
|
-
)}`,
|
|
2266
|
-
|
|
2267
|
-
const
|
|
2268
|
-
|
|
2319
|
+
const b = window.setTimeout(() => {
|
|
2320
|
+
Ne((A) => A === "LIVE" ? A : Se);
|
|
2321
|
+
}, ka);
|
|
2322
|
+
return () => window.clearTimeout(b);
|
|
2323
|
+
}, [Se]);
|
|
2324
|
+
const Te = _e === "UPCOMING" || _e === "ENDED", ke = !Xe && _e !== null, $e = `https://www.youtube-nocookie.com/embed/${ve}?autoplay=1&mute=1&fs=0&modestbranding=1&rel=0&playsinline=1&disablekb=1&iv_load_policy=3&origin=${encodeURIComponent(ot)}`, Ve = `https://www.youtube.com/live_chat?v=${ve}&embed_domain=${encodeURIComponent(
|
|
2325
|
+
Qe
|
|
2326
|
+
)}`, ze = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent);
|
|
2327
|
+
D(() => {
|
|
2328
|
+
const b = () => {
|
|
2329
|
+
xe(window.innerWidth > window.innerHeight);
|
|
2269
2330
|
};
|
|
2270
|
-
return
|
|
2271
|
-
}, []),
|
|
2272
|
-
typeof window < "u" &&
|
|
2331
|
+
return b(), window.addEventListener("resize", b), () => window.removeEventListener("resize", b);
|
|
2332
|
+
}, []), D(() => {
|
|
2333
|
+
typeof window < "u" && it(window.location.hostname);
|
|
2273
2334
|
}, []);
|
|
2274
|
-
const
|
|
2275
|
-
const
|
|
2276
|
-
if (
|
|
2335
|
+
const tt = async () => {
|
|
2336
|
+
const b = Oe.current;
|
|
2337
|
+
if (b?.requestFullscreen)
|
|
2277
2338
|
try {
|
|
2278
|
-
await
|
|
2279
|
-
} catch (
|
|
2280
|
-
console.error("Fullscreen error:",
|
|
2339
|
+
await b.requestFullscreen();
|
|
2340
|
+
} catch (A) {
|
|
2341
|
+
console.error("Fullscreen error:", A);
|
|
2281
2342
|
}
|
|
2282
2343
|
try {
|
|
2283
|
-
const
|
|
2284
|
-
!
|
|
2285
|
-
} catch (
|
|
2286
|
-
console.error("Orientation lock error:",
|
|
2344
|
+
const A = screen.orientation;
|
|
2345
|
+
!ze && A?.lock && await A.lock("landscape");
|
|
2346
|
+
} catch (A) {
|
|
2347
|
+
console.error("Orientation lock error:", A);
|
|
2287
2348
|
}
|
|
2288
|
-
|
|
2289
|
-
},
|
|
2349
|
+
Me(!0);
|
|
2350
|
+
}, ee = async () => {
|
|
2290
2351
|
if (document.fullscreenElement && document.exitFullscreen)
|
|
2291
2352
|
try {
|
|
2292
2353
|
await document.exitFullscreen();
|
|
2293
|
-
} catch (
|
|
2294
|
-
console.error("Exit fullscreen error:",
|
|
2354
|
+
} catch (b) {
|
|
2355
|
+
console.error("Exit fullscreen error:", b);
|
|
2295
2356
|
}
|
|
2296
2357
|
try {
|
|
2297
|
-
const
|
|
2298
|
-
|
|
2299
|
-
} catch (
|
|
2300
|
-
console.error("Orientation unlock error:",
|
|
2358
|
+
const b = screen.orientation;
|
|
2359
|
+
b?.unlock && b.unlock();
|
|
2360
|
+
} catch (b) {
|
|
2361
|
+
console.error("Orientation unlock error:", b);
|
|
2301
2362
|
}
|
|
2302
|
-
|
|
2363
|
+
Me(!1);
|
|
2303
2364
|
};
|
|
2304
|
-
|
|
2305
|
-
const
|
|
2306
|
-
document.fullscreenElement ||
|
|
2365
|
+
D(() => {
|
|
2366
|
+
const b = () => {
|
|
2367
|
+
document.fullscreenElement || Me(!1);
|
|
2307
2368
|
};
|
|
2308
|
-
return document.addEventListener("fullscreenchange",
|
|
2309
|
-
}, []),
|
|
2310
|
-
q ||
|
|
2311
|
-
}, [q]),
|
|
2312
|
-
|
|
2313
|
-
}, [
|
|
2314
|
-
|
|
2315
|
-
}, [
|
|
2316
|
-
const
|
|
2317
|
-
q && document.fullscreenElement && await
|
|
2318
|
-
},
|
|
2319
|
-
const
|
|
2320
|
-
|
|
2369
|
+
return document.addEventListener("fullscreenchange", b), () => document.removeEventListener("fullscreenchange", b);
|
|
2370
|
+
}, []), D(() => {
|
|
2371
|
+
q || Ue(!1);
|
|
2372
|
+
}, [q]), D(() => {
|
|
2373
|
+
Z && We(!0);
|
|
2374
|
+
}, [Z]), D(() => {
|
|
2375
|
+
Z && ie("chat");
|
|
2376
|
+
}, [Z]);
|
|
2377
|
+
const ce = async (b) => {
|
|
2378
|
+
q && document.fullscreenElement && await ee(), m && await m(b);
|
|
2379
|
+
}, de = () => {
|
|
2380
|
+
const b = ge.deeplink || "/epuja", A = new URL(b, "https://www.srimandir.com");
|
|
2381
|
+
A.searchParams.set("utm_source", "youtube"), A.searchParams.set("utm_campaign", "rasrajji"), A.searchParams.set("utm_medium", "youtubebanner"), typeof window < "u" && (o?.({ orientation: X ? "horizontal" : "vertical" }), window.location.href = A.toString());
|
|
2321
2382
|
};
|
|
2322
|
-
return /* @__PURE__ */ e.jsxs("div", { ref:
|
|
2323
|
-
!q && /* @__PURE__ */ e.jsx(
|
|
2324
|
-
!q && /* @__PURE__ */ e.jsx(
|
|
2383
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: Oe, className: i.container, children: [
|
|
2384
|
+
!q && /* @__PURE__ */ e.jsx(Bn, { isLive: _e === "LIVE", daysRemaining: 2 }),
|
|
2385
|
+
!q && /* @__PURE__ */ e.jsx(zn, {}),
|
|
2325
2386
|
/* @__PURE__ */ e.jsx(
|
|
2326
2387
|
"div",
|
|
2327
2388
|
{
|
|
2328
|
-
id:
|
|
2389
|
+
id: et,
|
|
2329
2390
|
style: {
|
|
2330
2391
|
position: "absolute",
|
|
2331
2392
|
width: 1,
|
|
@@ -2336,56 +2397,56 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2336
2397
|
"aria-hidden": "true"
|
|
2337
2398
|
}
|
|
2338
2399
|
),
|
|
2339
|
-
(
|
|
2400
|
+
(!X || q) && /* @__PURE__ */ e.jsx(
|
|
2340
2401
|
"div",
|
|
2341
2402
|
{
|
|
2342
|
-
className: q ?
|
|
2343
|
-
children: q &&
|
|
2344
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2345
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2403
|
+
className: q ? Z ? i.fullscreenWithPanel : i.videoFullscreenWithBelowBanner : i.video,
|
|
2404
|
+
children: q && Z ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2405
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.fullscreenLeft, children: [
|
|
2406
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.fullscreenVideoArea, children: [
|
|
2346
2407
|
/* @__PURE__ */ e.jsx(
|
|
2347
2408
|
"iframe",
|
|
2348
2409
|
{
|
|
2349
|
-
src:
|
|
2410
|
+
src: $e,
|
|
2350
2411
|
title: s,
|
|
2351
2412
|
frameBorder: "0",
|
|
2352
2413
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
2353
2414
|
sandbox: "allow-scripts allow-same-origin allow-presentation",
|
|
2354
2415
|
referrerPolicy: "strict-origin-when-cross-origin",
|
|
2355
|
-
className:
|
|
2416
|
+
className: i.iframe
|
|
2356
2417
|
}
|
|
2357
2418
|
),
|
|
2358
2419
|
/* @__PURE__ */ e.jsx(
|
|
2359
2420
|
"button",
|
|
2360
2421
|
{
|
|
2361
|
-
className:
|
|
2362
|
-
onClick:
|
|
2422
|
+
className: i.fullscreenBtn,
|
|
2423
|
+
onClick: ee,
|
|
2363
2424
|
"aria-label": "Exit Fullscreen",
|
|
2364
2425
|
children: "⤡"
|
|
2365
2426
|
}
|
|
2366
2427
|
)
|
|
2367
2428
|
] }),
|
|
2368
|
-
|
|
2369
|
-
|
|
2429
|
+
ke ? /* @__PURE__ */ e.jsx(
|
|
2430
|
+
nt,
|
|
2370
2431
|
{
|
|
2371
2432
|
isGlobal: c,
|
|
2372
|
-
isLandscape:
|
|
2373
|
-
offeringCards:
|
|
2374
|
-
pujaCard:
|
|
2375
|
-
showPujaSlide:
|
|
2376
|
-
onOfferingClick:
|
|
2377
|
-
onPujaBannerClick:
|
|
2378
|
-
onPujaImpression:
|
|
2433
|
+
isLandscape: X,
|
|
2434
|
+
offeringCards: Ce,
|
|
2435
|
+
pujaCard: ge,
|
|
2436
|
+
showPujaSlide: Te,
|
|
2437
|
+
onOfferingClick: ce,
|
|
2438
|
+
onPujaBannerClick: de,
|
|
2439
|
+
onPujaImpression: r
|
|
2379
2440
|
}
|
|
2380
|
-
) : /* @__PURE__ */ e.jsx(
|
|
2441
|
+
) : /* @__PURE__ */ e.jsx(st, {})
|
|
2381
2442
|
] }),
|
|
2382
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2383
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2443
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.fullscreenChatPanel, children: [
|
|
2444
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.fullscreenPanelHeader, children: [
|
|
2384
2445
|
/* @__PURE__ */ e.jsx(
|
|
2385
2446
|
"button",
|
|
2386
2447
|
{
|
|
2387
|
-
className:
|
|
2388
|
-
onClick: () =>
|
|
2448
|
+
className: i.fullscreenChatCloseBtn,
|
|
2449
|
+
onClick: () => Ue(!1),
|
|
2389
2450
|
"aria-label": "Close panel",
|
|
2390
2451
|
children: /* @__PURE__ */ e.jsxs(
|
|
2391
2452
|
"svg",
|
|
@@ -2405,19 +2466,19 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2405
2466
|
}
|
|
2406
2467
|
),
|
|
2407
2468
|
/* @__PURE__ */ e.jsx(
|
|
2408
|
-
|
|
2469
|
+
dt,
|
|
2409
2470
|
{
|
|
2410
|
-
activeTab:
|
|
2411
|
-
onTabChange: (
|
|
2412
|
-
|
|
2471
|
+
activeTab: ne === "chat" ? "streaks" : ne,
|
|
2472
|
+
onTabChange: (b) => {
|
|
2473
|
+
ie(b), Pe(b);
|
|
2413
2474
|
},
|
|
2414
|
-
onChatPress: () =>
|
|
2415
|
-
showSubscription:
|
|
2416
|
-
chatOpen:
|
|
2475
|
+
onChatPress: () => ie("chat"),
|
|
2476
|
+
showSubscription: $,
|
|
2477
|
+
chatOpen: ne === "chat"
|
|
2417
2478
|
}
|
|
2418
2479
|
)
|
|
2419
2480
|
] }),
|
|
2420
|
-
|
|
2481
|
+
ne === "chat" ? /* @__PURE__ */ e.jsxs(
|
|
2421
2482
|
"div",
|
|
2422
2483
|
{
|
|
2423
2484
|
style: {
|
|
@@ -2427,17 +2488,17 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2427
2488
|
background: "#000"
|
|
2428
2489
|
},
|
|
2429
2490
|
children: [
|
|
2430
|
-
|
|
2491
|
+
le && /* @__PURE__ */ e.jsx(ft, { message: "Loading chat...", compact: !0 }),
|
|
2431
2492
|
/* @__PURE__ */ e.jsx(
|
|
2432
2493
|
"iframe",
|
|
2433
2494
|
{
|
|
2434
|
-
src:
|
|
2495
|
+
src: Ve,
|
|
2435
2496
|
title: "Live Chat Fullscreen",
|
|
2436
2497
|
frameBorder: "0",
|
|
2437
|
-
onLoad: () =>
|
|
2498
|
+
onLoad: () => We(!1),
|
|
2438
2499
|
referrerPolicy: "origin",
|
|
2439
|
-
className:
|
|
2440
|
-
style: { opacity:
|
|
2500
|
+
className: i.iframe,
|
|
2501
|
+
style: { opacity: le ? 0 : 1 }
|
|
2441
2502
|
}
|
|
2442
2503
|
)
|
|
2443
2504
|
]
|
|
@@ -2445,11 +2506,11 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2445
2506
|
) : /* @__PURE__ */ e.jsxs(
|
|
2446
2507
|
"div",
|
|
2447
2508
|
{
|
|
2448
|
-
ref:
|
|
2449
|
-
className:
|
|
2509
|
+
ref: G,
|
|
2510
|
+
className: i.fullscreenPanelScroll,
|
|
2450
2511
|
children: [
|
|
2451
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2452
|
-
|
|
2512
|
+
/* @__PURE__ */ e.jsx("div", { ref: he, children: /* @__PURE__ */ e.jsx(
|
|
2513
|
+
ut,
|
|
2453
2514
|
{
|
|
2454
2515
|
attendedDays: h,
|
|
2455
2516
|
currentDay: v,
|
|
@@ -2468,7 +2529,7 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2468
2529
|
"aria-hidden": "true"
|
|
2469
2530
|
}
|
|
2470
2531
|
),
|
|
2471
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2532
|
+
/* @__PURE__ */ e.jsx("div", { ref: me, children: /* @__PURE__ */ e.jsx(pt, { onShare: _ }) }),
|
|
2472
2533
|
/* @__PURE__ */ e.jsx(
|
|
2473
2534
|
"div",
|
|
2474
2535
|
{
|
|
@@ -2482,16 +2543,16 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2482
2543
|
}
|
|
2483
2544
|
),
|
|
2484
2545
|
/* @__PURE__ */ e.jsx("div", { ref: M, children: /* @__PURE__ */ e.jsx(
|
|
2485
|
-
|
|
2546
|
+
ht,
|
|
2486
2547
|
{
|
|
2487
2548
|
onCardClick: f,
|
|
2488
2549
|
a4bApi: x,
|
|
2489
|
-
storeCardsPage:
|
|
2550
|
+
storeCardsPage: j,
|
|
2490
2551
|
storeCardsHeaders: L,
|
|
2491
|
-
storeCardsLimit:
|
|
2552
|
+
storeCardsLimit: E
|
|
2492
2553
|
}
|
|
2493
2554
|
) }),
|
|
2494
|
-
|
|
2555
|
+
$ && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2495
2556
|
/* @__PURE__ */ e.jsx(
|
|
2496
2557
|
"div",
|
|
2497
2558
|
{
|
|
@@ -2505,12 +2566,12 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2505
2566
|
}
|
|
2506
2567
|
),
|
|
2507
2568
|
/* @__PURE__ */ e.jsx("div", { ref: H, children: /* @__PURE__ */ e.jsx(
|
|
2508
|
-
|
|
2569
|
+
mt,
|
|
2509
2570
|
{
|
|
2510
|
-
onSubscribe:
|
|
2571
|
+
onSubscribe: S,
|
|
2511
2572
|
storeId: z,
|
|
2512
|
-
inventoryId:
|
|
2513
|
-
onboardingType:
|
|
2573
|
+
inventoryId: B,
|
|
2574
|
+
onboardingType: T,
|
|
2514
2575
|
apiBaseInstance: x?.apiInstance
|
|
2515
2576
|
}
|
|
2516
2577
|
) })
|
|
@@ -2525,44 +2586,88 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2525
2586
|
/* @__PURE__ */ e.jsx(
|
|
2526
2587
|
"iframe",
|
|
2527
2588
|
{
|
|
2528
|
-
src:
|
|
2589
|
+
src: $e,
|
|
2529
2590
|
title: s,
|
|
2530
2591
|
frameBorder: "0",
|
|
2531
2592
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
2532
2593
|
sandbox: "allow-scripts allow-same-origin allow-presentation",
|
|
2533
2594
|
referrerPolicy: "strict-origin-when-cross-origin",
|
|
2534
|
-
className:
|
|
2595
|
+
className: i.iframe
|
|
2535
2596
|
}
|
|
2536
2597
|
),
|
|
2537
2598
|
/* @__PURE__ */ e.jsx(
|
|
2538
2599
|
"button",
|
|
2539
2600
|
{
|
|
2540
|
-
className:
|
|
2541
|
-
onClick: q ?
|
|
2601
|
+
className: i.fullscreenBtn,
|
|
2602
|
+
onClick: q ? ee : tt,
|
|
2542
2603
|
"aria-label": q ? "Exit Fullscreen" : "Enter Fullscreen",
|
|
2543
2604
|
children: q ? "⤡" : "⤢"
|
|
2544
2605
|
}
|
|
2545
2606
|
),
|
|
2546
2607
|
q && /* @__PURE__ */ e.jsxs(
|
|
2547
|
-
"
|
|
2608
|
+
"div",
|
|
2548
2609
|
{
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2610
|
+
style: {
|
|
2611
|
+
position: "absolute",
|
|
2612
|
+
right: 0,
|
|
2613
|
+
top: "50%",
|
|
2614
|
+
transform: "translateY(-50%)",
|
|
2615
|
+
width: 48,
|
|
2616
|
+
height: 60,
|
|
2617
|
+
zIndex: 9999,
|
|
2618
|
+
display: "flex",
|
|
2619
|
+
alignItems: "center",
|
|
2620
|
+
justifyContent: "center"
|
|
2621
|
+
},
|
|
2552
2622
|
children: [
|
|
2553
2623
|
/* @__PURE__ */ e.jsx(
|
|
2554
|
-
"
|
|
2624
|
+
"div",
|
|
2555
2625
|
{
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2626
|
+
style: {
|
|
2627
|
+
width: 24,
|
|
2628
|
+
height: 24,
|
|
2629
|
+
position: "absolute",
|
|
2630
|
+
top: -24,
|
|
2631
|
+
left: 24,
|
|
2632
|
+
overflow: "hidden"
|
|
2633
|
+
},
|
|
2634
|
+
children: /* @__PURE__ */ e.jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ e.jsx("path", { d: "M24 0C24 13.2548 13.2548 24 0 24H24V0Z", fill: "rgba(28, 27, 27, 0.5)" }) })
|
|
2635
|
+
}
|
|
2636
|
+
),
|
|
2637
|
+
/* @__PURE__ */ e.jsx(
|
|
2638
|
+
"button",
|
|
2639
|
+
{
|
|
2640
|
+
onClick: () => Ue(!0),
|
|
2641
|
+
style: {
|
|
2642
|
+
width: 48,
|
|
2643
|
+
height: 60,
|
|
2644
|
+
background: "rgba(28, 27, 27, 0.5)",
|
|
2645
|
+
border: "none",
|
|
2646
|
+
borderTopLeftRadius: 16,
|
|
2647
|
+
borderBottomLeftRadius: 16,
|
|
2648
|
+
display: "flex",
|
|
2649
|
+
alignItems: "center",
|
|
2650
|
+
justifyContent: "center",
|
|
2651
|
+
cursor: "pointer"
|
|
2652
|
+
},
|
|
2653
|
+
"aria-label": "Show Chat",
|
|
2654
|
+
children: /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "8", height: "14", viewBox: "0 0 8 14", fill: "none", children: /* @__PURE__ */ e.jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.21967 0.21967C6.51256 -0.0732233 6.98732 -0.0732233 7.28022 0.21967C7.57305 0.512568 7.57309 0.987342 7.28022 1.28022L1.81049 6.74994L7.28022 12.2197C7.57305 12.5126 7.57309 12.9873 7.28022 13.2802C6.98734 13.5731 6.51257 13.5731 6.21967 13.2802L0.21967 7.28022C-0.0732233 6.98732 -0.0732232 6.51256 0.21967 6.21967L6.21967 0.21967Z", fill: "white" }) })
|
|
2563
2655
|
}
|
|
2564
2656
|
),
|
|
2565
|
-
/* @__PURE__ */ e.jsx(
|
|
2657
|
+
/* @__PURE__ */ e.jsx(
|
|
2658
|
+
"div",
|
|
2659
|
+
{
|
|
2660
|
+
style: {
|
|
2661
|
+
width: 24,
|
|
2662
|
+
height: 24,
|
|
2663
|
+
position: "absolute",
|
|
2664
|
+
bottom: -24,
|
|
2665
|
+
left: 24,
|
|
2666
|
+
overflow: "hidden"
|
|
2667
|
+
},
|
|
2668
|
+
children: /* @__PURE__ */ e.jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ e.jsx("path", { d: "M24 24C24 10.7452 13.2548 0 0 0H24V24Z", fill: "rgba(28, 27, 27, 0.5)" }) })
|
|
2669
|
+
}
|
|
2670
|
+
)
|
|
2566
2671
|
]
|
|
2567
2672
|
}
|
|
2568
2673
|
)
|
|
@@ -2571,55 +2676,55 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2571
2676
|
}
|
|
2572
2677
|
),
|
|
2573
2678
|
" ",
|
|
2574
|
-
q && !
|
|
2575
|
-
|
|
2679
|
+
q && !Z && (ke ? /* @__PURE__ */ e.jsx(
|
|
2680
|
+
nt,
|
|
2576
2681
|
{
|
|
2577
2682
|
isGlobal: c,
|
|
2578
|
-
isLandscape:
|
|
2579
|
-
offeringCards:
|
|
2580
|
-
pujaCard:
|
|
2581
|
-
showPujaSlide:
|
|
2582
|
-
onOfferingClick:
|
|
2583
|
-
onPujaBannerClick:
|
|
2584
|
-
onPujaImpression:
|
|
2683
|
+
isLandscape: X,
|
|
2684
|
+
offeringCards: Ce,
|
|
2685
|
+
pujaCard: ge,
|
|
2686
|
+
showPujaSlide: Te,
|
|
2687
|
+
onOfferingClick: ce,
|
|
2688
|
+
onPujaBannerClick: de,
|
|
2689
|
+
onPujaImpression: r
|
|
2585
2690
|
}
|
|
2586
|
-
) : /* @__PURE__ */ e.jsx(
|
|
2587
|
-
!q && /* @__PURE__ */ e.jsx(e.Fragment, { children:
|
|
2588
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2589
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2691
|
+
) : /* @__PURE__ */ e.jsx(st, {})),
|
|
2692
|
+
!q && /* @__PURE__ */ e.jsx(e.Fragment, { children: X ? /* @__PURE__ */ e.jsxs("div", { className: i.landscapeLayout, children: [
|
|
2693
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.landscapeLeft, children: [
|
|
2694
|
+
/* @__PURE__ */ e.jsx("div", { className: i.video, style: { flex: 1 }, children: /* @__PURE__ */ e.jsx(
|
|
2590
2695
|
"iframe",
|
|
2591
2696
|
{
|
|
2592
|
-
src:
|
|
2697
|
+
src: $e,
|
|
2593
2698
|
title: s,
|
|
2594
2699
|
frameBorder: "0",
|
|
2595
2700
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
2596
2701
|
sandbox: "allow-scripts allow-same-origin allow-presentation",
|
|
2597
2702
|
referrerPolicy: "strict-origin-when-cross-origin",
|
|
2598
|
-
className:
|
|
2703
|
+
className: i.iframe
|
|
2599
2704
|
}
|
|
2600
2705
|
) }),
|
|
2601
|
-
|
|
2602
|
-
|
|
2706
|
+
ke ? /* @__PURE__ */ e.jsx(
|
|
2707
|
+
nt,
|
|
2603
2708
|
{
|
|
2604
2709
|
isGlobal: c,
|
|
2605
|
-
isLandscape:
|
|
2606
|
-
offeringCards:
|
|
2607
|
-
pujaCard:
|
|
2608
|
-
showPujaSlide:
|
|
2609
|
-
onOfferingClick:
|
|
2610
|
-
onPujaBannerClick:
|
|
2611
|
-
onPujaImpression:
|
|
2710
|
+
isLandscape: X,
|
|
2711
|
+
offeringCards: Ce,
|
|
2712
|
+
pujaCard: ge,
|
|
2713
|
+
showPujaSlide: Te,
|
|
2714
|
+
onOfferingClick: ce,
|
|
2715
|
+
onPujaBannerClick: de,
|
|
2716
|
+
onPujaImpression: r
|
|
2612
2717
|
}
|
|
2613
|
-
) : /* @__PURE__ */ e.jsx(
|
|
2718
|
+
) : /* @__PURE__ */ e.jsx(st, {})
|
|
2614
2719
|
] }),
|
|
2615
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2616
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2720
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.landscapeRight, children: [
|
|
2721
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.landscapePanelHeader, children: [
|
|
2617
2722
|
/* @__PURE__ */ e.jsx(
|
|
2618
2723
|
"button",
|
|
2619
2724
|
{
|
|
2620
2725
|
type: "button",
|
|
2621
|
-
className:
|
|
2622
|
-
onClick: () =>
|
|
2726
|
+
className: i.landscapeCloseBtn,
|
|
2727
|
+
onClick: () => xe(!1),
|
|
2623
2728
|
"aria-label": "Close panel",
|
|
2624
2729
|
children: /* @__PURE__ */ e.jsxs(
|
|
2625
2730
|
"svg",
|
|
@@ -2641,40 +2746,40 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2641
2746
|
}
|
|
2642
2747
|
),
|
|
2643
2748
|
/* @__PURE__ */ e.jsx(
|
|
2644
|
-
|
|
2749
|
+
dt,
|
|
2645
2750
|
{
|
|
2646
|
-
activeTab:
|
|
2647
|
-
onTabChange: (
|
|
2648
|
-
Q(
|
|
2751
|
+
activeTab: Le,
|
|
2752
|
+
onTabChange: (b) => {
|
|
2753
|
+
Q(b), Pe(b);
|
|
2649
2754
|
},
|
|
2650
|
-
onChatPress:
|
|
2651
|
-
showSubscription:
|
|
2652
|
-
chatOpen:
|
|
2755
|
+
onChatPress: ye,
|
|
2756
|
+
showSubscription: $,
|
|
2757
|
+
chatOpen: K
|
|
2653
2758
|
}
|
|
2654
2759
|
)
|
|
2655
2760
|
] }),
|
|
2656
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2657
|
-
|
|
2761
|
+
/* @__PURE__ */ e.jsx("div", { className: i.landscapePanelBody, children: K ? /* @__PURE__ */ e.jsxs("div", { className: i.landscapeChat, children: [
|
|
2762
|
+
we && /* @__PURE__ */ e.jsx(ft, { message: "Loading chat...", compact: !0 }),
|
|
2658
2763
|
/* @__PURE__ */ e.jsx(
|
|
2659
2764
|
"iframe",
|
|
2660
2765
|
{
|
|
2661
|
-
src:
|
|
2766
|
+
src: Ve,
|
|
2662
2767
|
title: "Live Chat",
|
|
2663
2768
|
frameBorder: "0",
|
|
2664
|
-
onLoad: () =>
|
|
2769
|
+
onLoad: () => fe(!1),
|
|
2665
2770
|
referrerPolicy: "origin",
|
|
2666
|
-
className:
|
|
2667
|
-
style: { opacity:
|
|
2771
|
+
className: i.iframe,
|
|
2772
|
+
style: { opacity: we ? 0 : 1 }
|
|
2668
2773
|
}
|
|
2669
2774
|
)
|
|
2670
2775
|
] }) : /* @__PURE__ */ e.jsxs(
|
|
2671
2776
|
"div",
|
|
2672
2777
|
{
|
|
2673
|
-
ref:
|
|
2674
|
-
className:
|
|
2778
|
+
ref: G,
|
|
2779
|
+
className: i.fullscreenPanelScroll,
|
|
2675
2780
|
children: [
|
|
2676
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2677
|
-
|
|
2781
|
+
/* @__PURE__ */ e.jsx("div", { ref: he, children: /* @__PURE__ */ e.jsx(
|
|
2782
|
+
ut,
|
|
2678
2783
|
{
|
|
2679
2784
|
attendedDays: h,
|
|
2680
2785
|
currentDay: v,
|
|
@@ -2682,27 +2787,27 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2682
2787
|
}
|
|
2683
2788
|
) }),
|
|
2684
2789
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
2685
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2790
|
+
/* @__PURE__ */ e.jsx("div", { ref: me, children: /* @__PURE__ */ e.jsx(pt, { onShare: _ }) }),
|
|
2686
2791
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
2687
2792
|
/* @__PURE__ */ e.jsx("div", { ref: M, children: /* @__PURE__ */ e.jsx(
|
|
2688
|
-
|
|
2793
|
+
ht,
|
|
2689
2794
|
{
|
|
2690
2795
|
onCardClick: f,
|
|
2691
2796
|
a4bApi: x,
|
|
2692
|
-
storeCardsPage:
|
|
2797
|
+
storeCardsPage: j,
|
|
2693
2798
|
storeCardsHeaders: L,
|
|
2694
|
-
storeCardsLimit:
|
|
2799
|
+
storeCardsLimit: E
|
|
2695
2800
|
}
|
|
2696
2801
|
) }),
|
|
2697
|
-
|
|
2802
|
+
$ && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2698
2803
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
2699
2804
|
/* @__PURE__ */ e.jsx("div", { ref: H, children: /* @__PURE__ */ e.jsx(
|
|
2700
|
-
|
|
2805
|
+
mt,
|
|
2701
2806
|
{
|
|
2702
|
-
onSubscribe:
|
|
2807
|
+
onSubscribe: S,
|
|
2703
2808
|
storeId: z,
|
|
2704
|
-
inventoryId:
|
|
2705
|
-
onboardingType:
|
|
2809
|
+
inventoryId: B,
|
|
2810
|
+
onboardingType: T,
|
|
2706
2811
|
apiBaseInstance: x?.apiInstance
|
|
2707
2812
|
}
|
|
2708
2813
|
) })
|
|
@@ -2714,46 +2819,46 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2714
2819
|
] }) : (
|
|
2715
2820
|
/* PORTRAIT: original stacked layout */
|
|
2716
2821
|
/* @__PURE__ */ e.jsx(e.Fragment, { children: p ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2717
|
-
|
|
2718
|
-
|
|
2822
|
+
ke ? /* @__PURE__ */ e.jsx(
|
|
2823
|
+
nt,
|
|
2719
2824
|
{
|
|
2720
2825
|
isGlobal: c,
|
|
2721
|
-
isLandscape:
|
|
2722
|
-
offeringCards:
|
|
2723
|
-
pujaCard:
|
|
2724
|
-
showPujaSlide:
|
|
2725
|
-
onOfferingClick:
|
|
2726
|
-
onPujaBannerClick:
|
|
2727
|
-
onPujaImpression:
|
|
2826
|
+
isLandscape: X,
|
|
2827
|
+
offeringCards: Ce,
|
|
2828
|
+
pujaCard: ge,
|
|
2829
|
+
showPujaSlide: Te,
|
|
2830
|
+
onOfferingClick: ce,
|
|
2831
|
+
onPujaBannerClick: de,
|
|
2832
|
+
onPujaImpression: r
|
|
2728
2833
|
}
|
|
2729
|
-
) : /* @__PURE__ */ e.jsx(
|
|
2730
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2731
|
-
|
|
2834
|
+
) : /* @__PURE__ */ e.jsx(st, {}),
|
|
2835
|
+
/* @__PURE__ */ e.jsx("div", { className: i.stickyTabs, children: /* @__PURE__ */ e.jsx(
|
|
2836
|
+
dt,
|
|
2732
2837
|
{
|
|
2733
|
-
activeTab:
|
|
2734
|
-
onTabChange:
|
|
2735
|
-
onChatPress:
|
|
2736
|
-
showSubscription:
|
|
2737
|
-
chatOpen:
|
|
2838
|
+
activeTab: Le,
|
|
2839
|
+
onTabChange: be,
|
|
2840
|
+
onChatPress: ye,
|
|
2841
|
+
showSubscription: $,
|
|
2842
|
+
chatOpen: K
|
|
2738
2843
|
}
|
|
2739
2844
|
) }),
|
|
2740
|
-
|
|
2741
|
-
|
|
2845
|
+
K ? /* @__PURE__ */ e.jsxs("div", { className: i.chat, children: [
|
|
2846
|
+
we && /* @__PURE__ */ e.jsx(ft, { message: "Loading chat..." }),
|
|
2742
2847
|
/* @__PURE__ */ e.jsx(
|
|
2743
2848
|
"iframe",
|
|
2744
2849
|
{
|
|
2745
|
-
src:
|
|
2850
|
+
src: Ve,
|
|
2746
2851
|
title: "Live Chat",
|
|
2747
2852
|
frameBorder: "0",
|
|
2748
|
-
onLoad: () =>
|
|
2853
|
+
onLoad: () => fe(!1),
|
|
2749
2854
|
referrerPolicy: "origin",
|
|
2750
|
-
className:
|
|
2751
|
-
style: { opacity:
|
|
2855
|
+
className: i.iframe,
|
|
2856
|
+
style: { opacity: we ? 0 : 1 }
|
|
2752
2857
|
}
|
|
2753
2858
|
)
|
|
2754
|
-
] }) : /* @__PURE__ */ e.jsxs("div", { ref:
|
|
2755
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2756
|
-
|
|
2859
|
+
] }) : /* @__PURE__ */ e.jsxs("div", { ref: Je, className: i.sectionsScroll, children: [
|
|
2860
|
+
/* @__PURE__ */ e.jsx("div", { ref: Ae, children: /* @__PURE__ */ e.jsx(
|
|
2861
|
+
ut,
|
|
2757
2862
|
{
|
|
2758
2863
|
attendedDays: h,
|
|
2759
2864
|
currentDay: v,
|
|
@@ -2761,89 +2866,89 @@ const Ut = Bt(void 0), Wt = () => {
|
|
|
2761
2866
|
}
|
|
2762
2867
|
) }),
|
|
2763
2868
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
2764
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2869
|
+
/* @__PURE__ */ e.jsx("div", { ref: Fe, children: /* @__PURE__ */ e.jsx(pt, { onShare: _ }) }),
|
|
2765
2870
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
2766
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2767
|
-
|
|
2871
|
+
/* @__PURE__ */ e.jsx("div", { ref: De, children: /* @__PURE__ */ e.jsx(
|
|
2872
|
+
ht,
|
|
2768
2873
|
{
|
|
2769
2874
|
onCardClick: f,
|
|
2770
2875
|
a4bApi: x,
|
|
2771
|
-
storeCardsPage:
|
|
2876
|
+
storeCardsPage: j,
|
|
2772
2877
|
storeCardsHeaders: L,
|
|
2773
|
-
storeCardsLimit:
|
|
2878
|
+
storeCardsLimit: E
|
|
2774
2879
|
}
|
|
2775
2880
|
) }),
|
|
2776
|
-
|
|
2881
|
+
$ && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2777
2882
|
/* @__PURE__ */ e.jsx("div", { style: { width: "100%", height: "8px", background: "#F3F4F6", flexShrink: 0 }, "aria-hidden": "true" }),
|
|
2778
|
-
/* @__PURE__ */ e.jsx("div", { ref:
|
|
2779
|
-
|
|
2883
|
+
/* @__PURE__ */ e.jsx("div", { ref: Be, children: /* @__PURE__ */ e.jsx(
|
|
2884
|
+
mt,
|
|
2780
2885
|
{
|
|
2781
|
-
onSubscribe:
|
|
2886
|
+
onSubscribe: S,
|
|
2782
2887
|
storeId: z,
|
|
2783
|
-
inventoryId:
|
|
2784
|
-
onboardingType:
|
|
2888
|
+
inventoryId: B,
|
|
2889
|
+
onboardingType: T,
|
|
2785
2890
|
apiBaseInstance: x?.apiInstance
|
|
2786
2891
|
}
|
|
2787
2892
|
) })
|
|
2788
2893
|
] })
|
|
2789
2894
|
] })
|
|
2790
|
-
] }) : /* @__PURE__ */ e.jsx(
|
|
2895
|
+
] }) : /* @__PURE__ */ e.jsx(_r, {}) })
|
|
2791
2896
|
) })
|
|
2792
2897
|
] });
|
|
2793
2898
|
};
|
|
2794
|
-
function
|
|
2899
|
+
function ft({
|
|
2795
2900
|
message: a,
|
|
2796
2901
|
compact: s = !1
|
|
2797
2902
|
}) {
|
|
2798
2903
|
return /* @__PURE__ */ e.jsxs(
|
|
2799
2904
|
"div",
|
|
2800
2905
|
{
|
|
2801
|
-
className: `${
|
|
2906
|
+
className: `${i.chatLoader} ${s ? i.chatLoaderCompact : ""}`,
|
|
2802
2907
|
children: [
|
|
2803
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2804
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2908
|
+
/* @__PURE__ */ e.jsx("div", { className: i.spinner }),
|
|
2909
|
+
/* @__PURE__ */ e.jsx("div", { className: i.chatLoaderText, children: a })
|
|
2805
2910
|
]
|
|
2806
2911
|
}
|
|
2807
2912
|
);
|
|
2808
2913
|
}
|
|
2809
|
-
function
|
|
2810
|
-
return /* @__PURE__ */ e.jsx("div", { className:
|
|
2914
|
+
function st() {
|
|
2915
|
+
return /* @__PURE__ */ e.jsx("div", { className: i.carouselLoader, children: /* @__PURE__ */ e.jsx("div", { className: i.spinner }) });
|
|
2811
2916
|
}
|
|
2812
|
-
function
|
|
2917
|
+
function nt({
|
|
2813
2918
|
isGlobal: a,
|
|
2814
2919
|
isLandscape: s,
|
|
2815
2920
|
offeringCards: l,
|
|
2816
|
-
pujaCard:
|
|
2921
|
+
pujaCard: d,
|
|
2817
2922
|
showPujaSlide: c,
|
|
2818
2923
|
onOfferingClick: m,
|
|
2819
|
-
onPujaBannerClick:
|
|
2924
|
+
onPujaBannerClick: r,
|
|
2820
2925
|
onPujaImpression: o
|
|
2821
2926
|
}) {
|
|
2822
2927
|
const h = U(!1), p = 1 > 1;
|
|
2823
|
-
return
|
|
2928
|
+
return D(() => {
|
|
2824
2929
|
c ? h.current || (o?.({
|
|
2825
2930
|
orientation: s ? "horizontal" : "vertical"
|
|
2826
2931
|
}), h.current = !0) : h.current = !1;
|
|
2827
|
-
}, [c, s, o]), a ? c ? /* @__PURE__ */ e.jsx("div", { className:
|
|
2828
|
-
|
|
2932
|
+
}, [c, s, o]), a ? c ? /* @__PURE__ */ e.jsx("div", { className: i.carousel, children: /* @__PURE__ */ e.jsx(
|
|
2933
|
+
Dt,
|
|
2829
2934
|
{
|
|
2830
2935
|
isLandscape: s,
|
|
2831
|
-
pujaCard:
|
|
2832
|
-
onOfferingClick:
|
|
2936
|
+
pujaCard: d,
|
|
2937
|
+
onOfferingClick: r
|
|
2833
2938
|
}
|
|
2834
|
-
) }) : null : c ? /* @__PURE__ */ e.jsxs("div", { className:
|
|
2939
|
+
) }) : null : c ? /* @__PURE__ */ e.jsxs("div", { className: i.carousel, children: [
|
|
2835
2940
|
/* @__PURE__ */ e.jsx(
|
|
2836
|
-
|
|
2941
|
+
Dt,
|
|
2837
2942
|
{
|
|
2838
2943
|
isLandscape: s,
|
|
2839
|
-
pujaCard:
|
|
2840
|
-
onOfferingClick:
|
|
2944
|
+
pujaCard: d,
|
|
2945
|
+
onOfferingClick: r
|
|
2841
2946
|
}
|
|
2842
2947
|
),
|
|
2843
2948
|
p
|
|
2844
|
-
] }) : /* @__PURE__ */ e.jsxs("div", { className:
|
|
2949
|
+
] }) : /* @__PURE__ */ e.jsxs("div", { className: i.carousel, children: [
|
|
2845
2950
|
/* @__PURE__ */ e.jsx(
|
|
2846
|
-
|
|
2951
|
+
Dr,
|
|
2847
2952
|
{
|
|
2848
2953
|
isLandscape: s,
|
|
2849
2954
|
offeringCards: l,
|
|
@@ -2853,29 +2958,29 @@ function at({
|
|
|
2853
2958
|
p
|
|
2854
2959
|
] });
|
|
2855
2960
|
}
|
|
2856
|
-
function
|
|
2961
|
+
function Dr({
|
|
2857
2962
|
isLandscape: a,
|
|
2858
2963
|
offeringCards: s,
|
|
2859
2964
|
onOfferingClick: l
|
|
2860
2965
|
}) {
|
|
2861
|
-
const [
|
|
2966
|
+
const [d, c] = w(!1), [m, r] = w(""), [o, h] = w(null), [v, p] = w(!1), f = async (_) => {
|
|
2862
2967
|
if (l)
|
|
2863
2968
|
try {
|
|
2864
2969
|
await l(_);
|
|
2865
|
-
} catch (
|
|
2866
|
-
console.error("Offering click handler failed:",
|
|
2970
|
+
} catch (N) {
|
|
2971
|
+
console.error("Offering click handler failed:", N);
|
|
2867
2972
|
}
|
|
2868
2973
|
}, x = (_) => {
|
|
2869
|
-
h(_),
|
|
2870
|
-
},
|
|
2871
|
-
c(!1), h(null),
|
|
2974
|
+
h(_), r(_.price ? String(_.price) : ""), c(!0);
|
|
2975
|
+
}, j = () => {
|
|
2976
|
+
c(!1), h(null), r("");
|
|
2872
2977
|
}, L = async (_) => {
|
|
2873
2978
|
if (_.isCustom) {
|
|
2874
2979
|
x(_);
|
|
2875
2980
|
return;
|
|
2876
2981
|
}
|
|
2877
2982
|
await f(_);
|
|
2878
|
-
},
|
|
2983
|
+
}, E = async () => {
|
|
2879
2984
|
if (!o || !l || v) return;
|
|
2880
2985
|
const _ = Number(m);
|
|
2881
2986
|
if (!(!Number.isFinite(_) || _ <= 0))
|
|
@@ -2884,35 +2989,35 @@ function Lr({
|
|
|
2884
2989
|
...o,
|
|
2885
2990
|
price: _,
|
|
2886
2991
|
customAmount: _
|
|
2887
|
-
}),
|
|
2888
|
-
} catch (
|
|
2889
|
-
console.error("Custom offering click handler failed:",
|
|
2992
|
+
}), j();
|
|
2993
|
+
} catch (N) {
|
|
2994
|
+
console.error("Custom offering click handler failed:", N);
|
|
2890
2995
|
} finally {
|
|
2891
2996
|
p(!1);
|
|
2892
2997
|
}
|
|
2893
2998
|
};
|
|
2894
2999
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2895
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3000
|
+
/* @__PURE__ */ e.jsx("div", { className: i.banner, children: /* @__PURE__ */ e.jsxs("div", { className: i.bannerCard, children: [
|
|
2896
3001
|
/* @__PURE__ */ e.jsx(
|
|
2897
3002
|
"p",
|
|
2898
3003
|
{
|
|
2899
|
-
className: a ?
|
|
3004
|
+
className: a ? i.landscapeHeader : i.bannerTitle,
|
|
2900
3005
|
children: "Pandit Ji invited to make offering to this Puja"
|
|
2901
3006
|
}
|
|
2902
3007
|
),
|
|
2903
|
-
/* @__PURE__ */ e.jsx("div", { className: a ?
|
|
2904
|
-
(_,
|
|
2905
|
-
|
|
3008
|
+
/* @__PURE__ */ e.jsx("div", { className: a ? i.landscapeScroll : i.scroll, children: s.map(
|
|
3009
|
+
(_, N) => a ? /* @__PURE__ */ e.jsx(
|
|
3010
|
+
Mr,
|
|
2906
3011
|
{
|
|
2907
3012
|
item: _,
|
|
2908
3013
|
onClick: () => L(_)
|
|
2909
3014
|
},
|
|
2910
3015
|
_.id
|
|
2911
3016
|
) : /* @__PURE__ */ e.jsx(
|
|
2912
|
-
|
|
3017
|
+
qr,
|
|
2913
3018
|
{
|
|
2914
3019
|
item: _,
|
|
2915
|
-
index:
|
|
3020
|
+
index: N,
|
|
2916
3021
|
totalItems: s.length,
|
|
2917
3022
|
onClick: () => L(_)
|
|
2918
3023
|
},
|
|
@@ -2921,36 +3026,36 @@ function Lr({
|
|
|
2921
3026
|
) })
|
|
2922
3027
|
] }) }),
|
|
2923
3028
|
/* @__PURE__ */ e.jsx(
|
|
2924
|
-
|
|
3029
|
+
Br,
|
|
2925
3030
|
{
|
|
2926
|
-
open:
|
|
3031
|
+
open: d,
|
|
2927
3032
|
amount: m,
|
|
2928
|
-
onAmountChange: (_) =>
|
|
2929
|
-
onClose:
|
|
2930
|
-
onContinue:
|
|
3033
|
+
onAmountChange: (_) => r(_.replace(/[^0-9]/g, "")),
|
|
3034
|
+
onClose: j,
|
|
3035
|
+
onContinue: E,
|
|
2931
3036
|
disabled: !m || Number(m) <= 0 || v
|
|
2932
3037
|
}
|
|
2933
3038
|
)
|
|
2934
3039
|
] });
|
|
2935
3040
|
}
|
|
2936
|
-
function
|
|
3041
|
+
function Br({
|
|
2937
3042
|
open: a,
|
|
2938
3043
|
amount: s,
|
|
2939
3044
|
onAmountChange: l,
|
|
2940
|
-
onClose:
|
|
3045
|
+
onClose: d,
|
|
2941
3046
|
onContinue: c,
|
|
2942
3047
|
disabled: m
|
|
2943
3048
|
}) {
|
|
2944
|
-
return a ? /* @__PURE__ */ e.jsx("div", { className:
|
|
3049
|
+
return a ? /* @__PURE__ */ e.jsx("div", { className: i.customSheetOverlay, onClick: d, children: /* @__PURE__ */ e.jsxs(
|
|
2945
3050
|
"div",
|
|
2946
3051
|
{
|
|
2947
|
-
className:
|
|
2948
|
-
onClick: (
|
|
3052
|
+
className: i.customSheet,
|
|
3053
|
+
onClick: (r) => r.stopPropagation(),
|
|
2949
3054
|
children: [
|
|
2950
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2951
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2952
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2953
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
3055
|
+
/* @__PURE__ */ e.jsx("p", { className: i.customSheetTitle, children: "Enter Amount" }),
|
|
3056
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.customSheetRow, children: [
|
|
3057
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.customInputWrap, children: [
|
|
3058
|
+
/* @__PURE__ */ e.jsx("span", { className: i.currencySymbol, children: "₹" }),
|
|
2954
3059
|
/* @__PURE__ */ e.jsx(
|
|
2955
3060
|
"input",
|
|
2956
3061
|
{
|
|
@@ -2959,8 +3064,8 @@ function Ar({
|
|
|
2959
3064
|
inputMode: "numeric",
|
|
2960
3065
|
pattern: "[0-9]*",
|
|
2961
3066
|
value: s,
|
|
2962
|
-
onChange: (
|
|
2963
|
-
className:
|
|
3067
|
+
onChange: (r) => l(r.target.value),
|
|
3068
|
+
className: i.customInput,
|
|
2964
3069
|
"aria-label": "Custom offering amount"
|
|
2965
3070
|
}
|
|
2966
3071
|
)
|
|
@@ -2969,7 +3074,7 @@ function Ar({
|
|
|
2969
3074
|
"button",
|
|
2970
3075
|
{
|
|
2971
3076
|
type: "button",
|
|
2972
|
-
className:
|
|
3077
|
+
className: i.customContinueBtn,
|
|
2973
3078
|
onClick: c,
|
|
2974
3079
|
disabled: m,
|
|
2975
3080
|
children: "Continue"
|
|
@@ -2980,15 +3085,15 @@ function Ar({
|
|
|
2980
3085
|
}
|
|
2981
3086
|
) }) : null;
|
|
2982
3087
|
}
|
|
2983
|
-
function
|
|
3088
|
+
function Dt({
|
|
2984
3089
|
isLandscape: a,
|
|
2985
3090
|
pujaCard: s,
|
|
2986
3091
|
onOfferingClick: l
|
|
2987
3092
|
}) {
|
|
2988
|
-
return /* @__PURE__ */ e.jsx("div", { className:
|
|
2989
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3093
|
+
return /* @__PURE__ */ e.jsx("div", { className: i.pujaBanner, children: /* @__PURE__ */ e.jsxs("div", { className: i.pujaWrapperVertical, children: [
|
|
3094
|
+
/* @__PURE__ */ e.jsx("p", { className: i.pujaTopTitle, children: "Perform Live Puja" }),
|
|
2990
3095
|
/* @__PURE__ */ e.jsx(
|
|
2991
|
-
|
|
3096
|
+
Or,
|
|
2992
3097
|
{
|
|
2993
3098
|
isLandscape: a,
|
|
2994
3099
|
pujaCard: s,
|
|
@@ -2997,17 +3102,17 @@ function Rt({
|
|
|
2997
3102
|
)
|
|
2998
3103
|
] }) });
|
|
2999
3104
|
}
|
|
3000
|
-
function
|
|
3105
|
+
function Bt() {
|
|
3001
3106
|
return /* @__PURE__ */ e.jsx(
|
|
3002
3107
|
"img",
|
|
3003
3108
|
{
|
|
3004
3109
|
src: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
|
|
3005
3110
|
alt: "Date",
|
|
3006
|
-
className:
|
|
3111
|
+
className: i.dateIcon
|
|
3007
3112
|
}
|
|
3008
3113
|
);
|
|
3009
3114
|
}
|
|
3010
|
-
function
|
|
3115
|
+
function Or({
|
|
3011
3116
|
isLandscape: a,
|
|
3012
3117
|
pujaCard: s,
|
|
3013
3118
|
onClick: l
|
|
@@ -3016,33 +3121,33 @@ function Fr({
|
|
|
3016
3121
|
"div",
|
|
3017
3122
|
{
|
|
3018
3123
|
onClick: l,
|
|
3019
|
-
className:
|
|
3124
|
+
className: i.pujaCardHorizontal,
|
|
3020
3125
|
style: { cursor: l ? "pointer" : "default" },
|
|
3021
3126
|
children: [
|
|
3022
3127
|
/* @__PURE__ */ e.jsx(
|
|
3023
3128
|
"img",
|
|
3024
3129
|
{
|
|
3025
|
-
src: s.imageUrl ||
|
|
3026
|
-
className:
|
|
3130
|
+
src: s.imageUrl || pe.imageUrl,
|
|
3131
|
+
className: i.pujaImageHorizontal,
|
|
3027
3132
|
alt: s.title
|
|
3028
3133
|
}
|
|
3029
3134
|
),
|
|
3030
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3031
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3032
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
3135
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.pujaContentHorizontal, children: [
|
|
3136
|
+
/* @__PURE__ */ e.jsx("p", { className: i.pujaTitleHorizontal, children: s.title }),
|
|
3137
|
+
/* @__PURE__ */ e.jsxs("p", { className: i.pujaSubHorizontal, children: [
|
|
3033
3138
|
/* @__PURE__ */ e.jsx("span", { children: /* @__PURE__ */ e.jsx(
|
|
3034
3139
|
"img",
|
|
3035
3140
|
{
|
|
3036
3141
|
src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg",
|
|
3037
3142
|
alt: "Location",
|
|
3038
|
-
className:
|
|
3143
|
+
className: i.locationIcon
|
|
3039
3144
|
}
|
|
3040
3145
|
) }),
|
|
3041
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
3146
|
+
/* @__PURE__ */ e.jsx("span", { className: i.pujaMetaText, children: s.location })
|
|
3042
3147
|
] }),
|
|
3043
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
3044
|
-
/* @__PURE__ */ e.jsx(
|
|
3045
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
3148
|
+
/* @__PURE__ */ e.jsxs("p", { className: i.pujaSubHorizontal, children: [
|
|
3149
|
+
/* @__PURE__ */ e.jsx(Bt, {}),
|
|
3150
|
+
/* @__PURE__ */ e.jsx("span", { className: i.pujaMetaText, children: s.date })
|
|
3046
3151
|
] })
|
|
3047
3152
|
] })
|
|
3048
3153
|
]
|
|
@@ -3051,75 +3156,75 @@ function Fr({
|
|
|
3051
3156
|
"div",
|
|
3052
3157
|
{
|
|
3053
3158
|
onClick: l,
|
|
3054
|
-
className:
|
|
3159
|
+
className: i.pujaCardVertical,
|
|
3055
3160
|
style: { cursor: l ? "pointer" : "default" },
|
|
3056
3161
|
children: [
|
|
3057
3162
|
/* @__PURE__ */ e.jsx(
|
|
3058
3163
|
"img",
|
|
3059
3164
|
{
|
|
3060
|
-
src: s.imageUrl ||
|
|
3061
|
-
className:
|
|
3165
|
+
src: s.imageUrl || pe.imageUrl,
|
|
3166
|
+
className: i.pujaImage,
|
|
3062
3167
|
alt: s.title
|
|
3063
3168
|
}
|
|
3064
3169
|
),
|
|
3065
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3066
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3067
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
3170
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.pujaContent, children: [
|
|
3171
|
+
/* @__PURE__ */ e.jsx("p", { className: i.pujaTitle, children: s.title }),
|
|
3172
|
+
/* @__PURE__ */ e.jsxs("p", { className: i.pujaSub, children: [
|
|
3068
3173
|
/* @__PURE__ */ e.jsx(
|
|
3069
3174
|
"img",
|
|
3070
3175
|
{
|
|
3071
3176
|
src: "https://srm-cdn.a4b.io/yoda/1774948740761.svg",
|
|
3072
3177
|
alt: "Location",
|
|
3073
|
-
className:
|
|
3178
|
+
className: i.locationIcon
|
|
3074
3179
|
}
|
|
3075
3180
|
),
|
|
3076
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
3181
|
+
/* @__PURE__ */ e.jsx("span", { className: i.pujaMetaText, children: s.location })
|
|
3077
3182
|
] }),
|
|
3078
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
3079
|
-
/* @__PURE__ */ e.jsx(
|
|
3080
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
3183
|
+
/* @__PURE__ */ e.jsxs("p", { className: i.pujaTrustmakers, children: [
|
|
3184
|
+
/* @__PURE__ */ e.jsx(Bt, {}),
|
|
3185
|
+
/* @__PURE__ */ e.jsx("span", { className: i.pujaMetaText, children: s.date })
|
|
3081
3186
|
] })
|
|
3082
3187
|
] })
|
|
3083
3188
|
]
|
|
3084
3189
|
}
|
|
3085
3190
|
) });
|
|
3086
3191
|
}
|
|
3087
|
-
function
|
|
3192
|
+
function qr({
|
|
3088
3193
|
item: a,
|
|
3089
3194
|
index: s,
|
|
3090
3195
|
totalItems: l,
|
|
3091
|
-
onClick:
|
|
3196
|
+
onClick: d
|
|
3092
3197
|
}) {
|
|
3093
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
3094
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3095
|
-
/* @__PURE__ */ e.jsx("img", { src: a.image_url, alt: a.name, className:
|
|
3198
|
+
return /* @__PURE__ */ e.jsxs("div", { className: i.card, onClick: d, children: [
|
|
3199
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.imageWrapper, children: [
|
|
3200
|
+
/* @__PURE__ */ e.jsx("img", { src: a.image_url, alt: a.name, className: i.image }),
|
|
3096
3201
|
/* @__PURE__ */ e.jsx(
|
|
3097
3202
|
"img",
|
|
3098
3203
|
{
|
|
3099
3204
|
src: "https://srm-cdn.a4b.io/yoda/1776345059010.svg",
|
|
3100
3205
|
alt: "",
|
|
3101
|
-
className:
|
|
3206
|
+
className: i.addBtn,
|
|
3102
3207
|
"aria-hidden": "true"
|
|
3103
3208
|
}
|
|
3104
3209
|
)
|
|
3105
3210
|
] }),
|
|
3106
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3107
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3108
|
-
s !== l - 1 && /* @__PURE__ */ e.jsx("div", { className:
|
|
3211
|
+
/* @__PURE__ */ e.jsx("p", { className: i.title, children: a.name }),
|
|
3212
|
+
/* @__PURE__ */ e.jsx("div", { className: i.priceRow, children: /* @__PURE__ */ e.jsx("span", { className: i.price, children: a.price === null ? "₹" : `₹${a.price}` }) }),
|
|
3213
|
+
s !== l - 1 && /* @__PURE__ */ e.jsx("div", { className: i.divider })
|
|
3109
3214
|
] });
|
|
3110
3215
|
}
|
|
3111
|
-
function
|
|
3216
|
+
function Mr({
|
|
3112
3217
|
item: a,
|
|
3113
3218
|
onClick: s
|
|
3114
3219
|
}) {
|
|
3115
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
3116
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3220
|
+
return /* @__PURE__ */ e.jsxs("div", { className: i.landscapeCard, onClick: s, children: [
|
|
3221
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.landscapeImageWrapper, children: [
|
|
3117
3222
|
/* @__PURE__ */ e.jsx(
|
|
3118
3223
|
"img",
|
|
3119
3224
|
{
|
|
3120
3225
|
src: a.image_url,
|
|
3121
3226
|
alt: a.name,
|
|
3122
|
-
className:
|
|
3227
|
+
className: i.landscapeImage
|
|
3123
3228
|
}
|
|
3124
3229
|
),
|
|
3125
3230
|
/* @__PURE__ */ e.jsx(
|
|
@@ -3127,46 +3232,46 @@ function Br({
|
|
|
3127
3232
|
{
|
|
3128
3233
|
src: "https://srm-cdn.a4b.io/yoda/1776345059010.svg",
|
|
3129
3234
|
alt: "",
|
|
3130
|
-
className:
|
|
3235
|
+
className: i.landscapeAdd,
|
|
3131
3236
|
"aria-hidden": "true"
|
|
3132
3237
|
}
|
|
3133
3238
|
)
|
|
3134
3239
|
] }),
|
|
3135
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3136
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3137
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3240
|
+
/* @__PURE__ */ e.jsxs("div", { className: i.landscapeContent, children: [
|
|
3241
|
+
/* @__PURE__ */ e.jsx("p", { className: i.landscapeTitle, children: a.name }),
|
|
3242
|
+
/* @__PURE__ */ e.jsx("div", { className: i.landscapePriceRow, children: /* @__PURE__ */ e.jsx("span", { className: i.landscapePrice, children: a.price === null ? "₹" : `₹${a.price}` }) })
|
|
3138
3243
|
] })
|
|
3139
3244
|
] });
|
|
3140
3245
|
}
|
|
3141
|
-
const
|
|
3246
|
+
const Ot = "hanuman-live-sindoor", qt = "hanuman-live-peda", Mt = "hanuman-live-sindoor-peda", Re = {
|
|
3142
3247
|
sindoor: "https://rzp.io/rzp/Pb7xgDj",
|
|
3143
3248
|
peda: "https://rzp.io/rzp/LfL86khp",
|
|
3144
3249
|
sindoorPeda: "https://rzp.io/rzp/NM9b4lx"
|
|
3145
|
-
},
|
|
3250
|
+
}, Yr = [
|
|
3146
3251
|
{
|
|
3147
3252
|
afterTime: "2024-01-01T00:00:00Z",
|
|
3148
3253
|
items: [
|
|
3149
3254
|
{
|
|
3150
|
-
inventory_id:
|
|
3255
|
+
inventory_id: Ot,
|
|
3151
3256
|
name: "Sindoor",
|
|
3152
3257
|
price: 51,
|
|
3153
|
-
razorpay_link:
|
|
3258
|
+
razorpay_link: Re.sindoor,
|
|
3154
3259
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
3155
3260
|
},
|
|
3156
3261
|
{
|
|
3157
|
-
inventory_id:
|
|
3262
|
+
inventory_id: qt,
|
|
3158
3263
|
name: "Peda",
|
|
3159
3264
|
price: 101,
|
|
3160
|
-
razorpay_link:
|
|
3265
|
+
razorpay_link: Re.peda,
|
|
3161
3266
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
3162
3267
|
},
|
|
3163
3268
|
{
|
|
3164
|
-
inventory_id:
|
|
3269
|
+
inventory_id: Mt,
|
|
3165
3270
|
name: "Sindoor + Peda",
|
|
3166
3271
|
price: 121,
|
|
3167
3272
|
original_price: "101 + 51",
|
|
3168
3273
|
discount: "20%",
|
|
3169
|
-
razorpay_link:
|
|
3274
|
+
razorpay_link: Re.sindoorPeda,
|
|
3170
3275
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866992046.png"
|
|
3171
3276
|
}
|
|
3172
3277
|
]
|
|
@@ -3175,44 +3280,44 @@ const Lt = "hanuman-live-sindoor", At = "hanuman-live-peda", Ft = "hanuman-live-
|
|
|
3175
3280
|
afterTime: "2024-08-01T00:00:00Z",
|
|
3176
3281
|
items: [
|
|
3177
3282
|
{
|
|
3178
|
-
inventory_id:
|
|
3283
|
+
inventory_id: Ot,
|
|
3179
3284
|
name: "Sindoor",
|
|
3180
3285
|
price: 51,
|
|
3181
|
-
razorpay_link:
|
|
3286
|
+
razorpay_link: Re.sindoor,
|
|
3182
3287
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866984116.png"
|
|
3183
3288
|
},
|
|
3184
3289
|
{
|
|
3185
|
-
inventory_id:
|
|
3290
|
+
inventory_id: qt,
|
|
3186
3291
|
name: "Peda",
|
|
3187
3292
|
price: 101,
|
|
3188
|
-
razorpay_link:
|
|
3293
|
+
razorpay_link: Re.peda,
|
|
3189
3294
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
|
|
3190
3295
|
},
|
|
3191
3296
|
{
|
|
3192
|
-
inventory_id:
|
|
3297
|
+
inventory_id: Mt,
|
|
3193
3298
|
name: "Sindoor + Peda",
|
|
3194
3299
|
price: 121,
|
|
3195
3300
|
discount: "20%",
|
|
3196
|
-
razorpay_link:
|
|
3301
|
+
razorpay_link: Re.sindoorPeda,
|
|
3197
3302
|
image_url: "https://srm-cdn.a4b.io/yoda/1774866992046.png"
|
|
3198
3303
|
}
|
|
3199
3304
|
]
|
|
3200
3305
|
}
|
|
3201
3306
|
];
|
|
3202
3307
|
export {
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3308
|
+
Hr as AppContextProvider,
|
|
3309
|
+
Yr as BANNER_ITEMS,
|
|
3310
|
+
dt as DLPTabs,
|
|
3311
|
+
Wr as I18nProvider,
|
|
3312
|
+
$r as LandingPage,
|
|
3313
|
+
_r as LoggedOutSections,
|
|
3314
|
+
pt as ShareSection,
|
|
3315
|
+
ht as StoreSection,
|
|
3316
|
+
ut as StreakSection,
|
|
3317
|
+
mt as SubscriptionSection,
|
|
3318
|
+
Vr as SuccessPage,
|
|
3319
|
+
zr as VideoPage,
|
|
3320
|
+
Vt as useAppContext,
|
|
3321
|
+
vt as useI18n
|
|
3217
3322
|
};
|
|
3218
3323
|
//# sourceMappingURL=daily-live-puja.js.map
|