@srimandir/hanuman-chalisa 1.7.6 → 1.7.8

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.
@@ -1,105 +1,105 @@
1
- import nt, { useContext as at, createContext as st, useState as R, useEffect as I, useRef as G, useCallback as Ft } from "react";
2
- var de = { exports: {} }, re = {};
3
- var Ye;
1
+ import nt, { useContext as at, createContext as st, useState as S, useEffect as O, useRef as q, useCallback as Ft } from "react";
2
+ var ce = { exports: {} }, te = {};
3
+ var He;
4
4
  function Bt() {
5
- if (Ye) return re;
6
- Ye = 1;
7
- var s = nt, p = /* @__PURE__ */ Symbol.for("react.element"), j = /* @__PURE__ */ Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, d = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, _ = { key: !0, ref: !0, __self: !0, __source: !0 };
8
- function o(h, m, g) {
9
- var c, w = {}, T = null, b = null;
10
- g !== void 0 && (T = "" + g), m.key !== void 0 && (T = "" + m.key), m.ref !== void 0 && (b = m.ref);
11
- for (c in m) l.call(m, c) && !_.hasOwnProperty(c) && (w[c] = m[c]);
12
- if (h && h.defaultProps) for (c in m = h.defaultProps, m) w[c] === void 0 && (w[c] = m[c]);
13
- return { $$typeof: p, type: h, key: T, ref: b, props: w, _owner: d.current };
5
+ if (He) return te;
6
+ He = 1;
7
+ var a = nt, p = /* @__PURE__ */ Symbol.for("react.element"), g = /* @__PURE__ */ Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, v = { key: !0, ref: !0, __self: !0, __source: !0 };
8
+ function i(h, f, T) {
9
+ var l, y = {}, C = null, _ = null;
10
+ T !== void 0 && (C = "" + T), f.key !== void 0 && (C = "" + f.key), f.ref !== void 0 && (_ = f.ref);
11
+ for (l in f) c.call(f, l) && !v.hasOwnProperty(l) && (y[l] = f[l]);
12
+ if (h && h.defaultProps) for (l in f = h.defaultProps, f) y[l] === void 0 && (y[l] = f[l]);
13
+ return { $$typeof: p, type: h, key: C, ref: _, props: y, _owner: d.current };
14
14
  }
15
- return re.Fragment = j, re.jsx = o, re.jsxs = o, re;
15
+ return te.Fragment = g, te.jsx = i, te.jsxs = i, te;
16
16
  }
17
- var ne = {};
18
- var He;
17
+ var re = {};
18
+ var Ue;
19
19
  function Wt() {
20
- return He || (He = 1, process.env.NODE_ENV !== "production" && (function() {
21
- var s = nt, p = /* @__PURE__ */ Symbol.for("react.element"), j = /* @__PURE__ */ Symbol.for("react.portal"), l = /* @__PURE__ */ Symbol.for("react.fragment"), d = /* @__PURE__ */ Symbol.for("react.strict_mode"), _ = /* @__PURE__ */ Symbol.for("react.profiler"), o = /* @__PURE__ */ Symbol.for("react.provider"), h = /* @__PURE__ */ Symbol.for("react.context"), m = /* @__PURE__ */ Symbol.for("react.forward_ref"), g = /* @__PURE__ */ Symbol.for("react.suspense"), c = /* @__PURE__ */ Symbol.for("react.suspense_list"), w = /* @__PURE__ */ Symbol.for("react.memo"), T = /* @__PURE__ */ Symbol.for("react.lazy"), b = /* @__PURE__ */ Symbol.for("react.offscreen"), O = Symbol.iterator, L = "@@iterator";
22
- function W(e) {
20
+ return Ue || (Ue = 1, process.env.NODE_ENV !== "production" && (function() {
21
+ var a = nt, p = /* @__PURE__ */ Symbol.for("react.element"), g = /* @__PURE__ */ Symbol.for("react.portal"), c = /* @__PURE__ */ Symbol.for("react.fragment"), d = /* @__PURE__ */ Symbol.for("react.strict_mode"), v = /* @__PURE__ */ Symbol.for("react.profiler"), i = /* @__PURE__ */ Symbol.for("react.provider"), h = /* @__PURE__ */ Symbol.for("react.context"), f = /* @__PURE__ */ Symbol.for("react.forward_ref"), T = /* @__PURE__ */ Symbol.for("react.suspense"), l = /* @__PURE__ */ Symbol.for("react.suspense_list"), y = /* @__PURE__ */ Symbol.for("react.memo"), C = /* @__PURE__ */ Symbol.for("react.lazy"), _ = /* @__PURE__ */ Symbol.for("react.offscreen"), A = Symbol.iterator, L = "@@iterator";
22
+ function B(e) {
23
23
  if (e === null || typeof e != "object")
24
24
  return null;
25
- var r = O && e[O] || e[L];
25
+ var r = A && e[A] || e[L];
26
26
  return typeof r == "function" ? r : null;
27
27
  }
28
- var D = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
29
- function E(e) {
28
+ var F = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
29
+ function P(e) {
30
30
  {
31
- for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
32
- n[i - 1] = arguments[i];
31
+ for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
32
+ n[o - 1] = arguments[o];
33
33
  X("error", e, n);
34
34
  }
35
35
  }
36
36
  function X(e, r, n) {
37
37
  {
38
- var i = D.ReactDebugCurrentFrame, v = i.getStackAddendum();
39
- v !== "" && (r += "%s", n = n.concat([v]));
40
- var y = n.map(function(f) {
41
- return String(f);
38
+ var o = F.ReactDebugCurrentFrame, x = o.getStackAddendum();
39
+ x !== "" && (r += "%s", n = n.concat([x]));
40
+ var j = n.map(function(m) {
41
+ return String(m);
42
42
  });
43
- y.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, y);
43
+ j.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, j);
44
44
  }
45
45
  }
46
- var Z = !1, N = !1, $ = !1, ue = !1, pe = !1, ae;
47
- ae = /* @__PURE__ */ Symbol.for("react.module.reference");
48
- function fe(e) {
49
- return !!(typeof e == "string" || typeof e == "function" || e === l || e === _ || pe || e === d || e === g || e === c || ue || e === b || Z || N || $ || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === w || e.$$typeof === o || e.$$typeof === h || e.$$typeof === m || // This needs to include all possible module reference object
46
+ var G = !1, w = !1, W = !1, le = !1, ne = !1, Z;
47
+ Z = /* @__PURE__ */ Symbol.for("react.module.reference");
48
+ function N(e) {
49
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === v || ne || e === d || e === T || e === l || le || e === _ || G || w || W || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === y || e.$$typeof === i || e.$$typeof === h || e.$$typeof === f || // This needs to include all possible module reference object
50
50
  // types supported by any Flight configuration anywhere since
51
51
  // we don't know which Flight build this will end up being used
52
52
  // with.
53
- e.$$typeof === ae || e.getModuleId !== void 0));
53
+ e.$$typeof === Z || e.getModuleId !== void 0));
54
54
  }
55
- function me(e, r, n) {
56
- var i = e.displayName;
57
- if (i)
58
- return i;
59
- var v = r.displayName || r.name || "";
60
- return v !== "" ? n + "(" + v + ")" : n;
55
+ function $(e, r, n) {
56
+ var o = e.displayName;
57
+ if (o)
58
+ return o;
59
+ var x = r.displayName || r.name || "";
60
+ return x !== "" ? n + "(" + x + ")" : n;
61
61
  }
62
- function Q(e) {
62
+ function _e(e) {
63
63
  return e.displayName || "Context";
64
64
  }
65
65
  function M(e) {
66
66
  if (e == null)
67
67
  return null;
68
- if (typeof e.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
68
+ if (typeof e.tag == "number" && P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
69
69
  return e.displayName || e.name || null;
70
70
  if (typeof e == "string")
71
71
  return e;
72
72
  switch (e) {
73
- case l:
73
+ case c:
74
74
  return "Fragment";
75
- case j:
75
+ case g:
76
76
  return "Portal";
77
- case _:
77
+ case v:
78
78
  return "Profiler";
79
79
  case d:
80
80
  return "StrictMode";
81
- case g:
81
+ case T:
82
82
  return "Suspense";
83
- case c:
83
+ case l:
84
84
  return "SuspenseList";
85
85
  }
86
86
  if (typeof e == "object")
87
87
  switch (e.$$typeof) {
88
88
  case h:
89
89
  var r = e;
90
- return Q(r) + ".Consumer";
91
- case o:
90
+ return _e(r) + ".Consumer";
91
+ case i:
92
92
  var n = e;
93
- return Q(n._context) + ".Provider";
94
- case m:
95
- return me(e, e.render, "ForwardRef");
96
- case w:
97
- var i = e.displayName || null;
98
- return i !== null ? i : M(e.type) || "Memo";
99
- case T: {
100
- var v = e, y = v._payload, f = v._init;
93
+ return _e(n._context) + ".Provider";
94
+ case f:
95
+ return $(e, e.render, "ForwardRef");
96
+ case y:
97
+ var o = e.displayName || null;
98
+ return o !== null ? o : M(e.type) || "Memo";
99
+ case C: {
100
+ var x = e, j = x._payload, m = x._init;
101
101
  try {
102
- return M(f(y));
102
+ return M(m(j));
103
103
  } catch {
104
104
  return null;
105
105
  }
@@ -107,18 +107,18 @@ function Wt() {
107
107
  }
108
108
  return null;
109
109
  }
110
- var U = Object.assign, Y = 0, ee, x, B, se, Ce, Ne, Te;
111
- function Se() {
110
+ var Y = Object.assign, Q = 0, je, be, we, ye, Ce, Ne, Te;
111
+ function Ee() {
112
112
  }
113
- Se.__reactDisabledLog = !0;
113
+ Ee.__reactDisabledLog = !0;
114
114
  function dt() {
115
115
  {
116
- if (Y === 0) {
117
- ee = console.log, x = console.info, B = console.warn, se = console.error, Ce = console.group, Ne = console.groupCollapsed, Te = console.groupEnd;
116
+ if (Q === 0) {
117
+ je = console.log, be = console.info, we = console.warn, ye = console.error, Ce = console.group, Ne = console.groupCollapsed, Te = console.groupEnd;
118
118
  var e = {
119
119
  configurable: !0,
120
120
  enumerable: !0,
121
- value: Se,
121
+ value: Ee,
122
122
  writable: !0
123
123
  };
124
124
  Object.defineProperties(console, {
@@ -131,208 +131,208 @@ function Wt() {
131
131
  groupEnd: e
132
132
  });
133
133
  }
134
- Y++;
134
+ Q++;
135
135
  }
136
136
  }
137
137
  function ut() {
138
138
  {
139
- if (Y--, Y === 0) {
139
+ if (Q--, Q === 0) {
140
140
  var e = {
141
141
  configurable: !0,
142
142
  enumerable: !0,
143
143
  writable: !0
144
144
  };
145
145
  Object.defineProperties(console, {
146
- log: U({}, e, {
147
- value: ee
146
+ log: Y({}, e, {
147
+ value: je
148
148
  }),
149
- info: U({}, e, {
150
- value: x
149
+ info: Y({}, e, {
150
+ value: be
151
151
  }),
152
- warn: U({}, e, {
153
- value: B
152
+ warn: Y({}, e, {
153
+ value: we
154
154
  }),
155
- error: U({}, e, {
156
- value: se
155
+ error: Y({}, e, {
156
+ value: ye
157
157
  }),
158
- group: U({}, e, {
158
+ group: Y({}, e, {
159
159
  value: Ce
160
160
  }),
161
- groupCollapsed: U({}, e, {
161
+ groupCollapsed: Y({}, e, {
162
162
  value: Ne
163
163
  }),
164
- groupEnd: U({}, e, {
164
+ groupEnd: Y({}, e, {
165
165
  value: Te
166
166
  })
167
167
  });
168
168
  }
169
- Y < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
169
+ Q < 0 && P("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
170
170
  }
171
171
  }
172
- var he = D.ReactCurrentDispatcher, xe;
173
- function ie(e, r, n) {
172
+ var de = F.ReactCurrentDispatcher, ue;
173
+ function ae(e, r, n) {
174
174
  {
175
- if (xe === void 0)
175
+ if (ue === void 0)
176
176
  try {
177
177
  throw Error();
178
- } catch (v) {
179
- var i = v.stack.trim().match(/\n( *(at )?)/);
180
- xe = i && i[1] || "";
178
+ } catch (x) {
179
+ var o = x.stack.trim().match(/\n( *(at )?)/);
180
+ ue = o && o[1] || "";
181
181
  }
182
182
  return `
183
- ` + xe + e;
183
+ ` + ue + e;
184
184
  }
185
185
  }
186
- var _e = !1, oe;
186
+ var pe = !1, se;
187
187
  {
188
188
  var pt = typeof WeakMap == "function" ? WeakMap : Map;
189
- oe = new pt();
189
+ se = new pt();
190
190
  }
191
- function Ee(e, r) {
192
- if (!e || _e)
191
+ function Pe(e, r) {
192
+ if (!e || pe)
193
193
  return "";
194
194
  {
195
- var n = oe.get(e);
195
+ var n = se.get(e);
196
196
  if (n !== void 0)
197
197
  return n;
198
198
  }
199
- var i;
200
- _e = !0;
201
- var v = Error.prepareStackTrace;
199
+ var o;
200
+ pe = !0;
201
+ var x = Error.prepareStackTrace;
202
202
  Error.prepareStackTrace = void 0;
203
- var y;
204
- y = he.current, he.current = null, dt();
203
+ var j;
204
+ j = de.current, de.current = null, dt();
205
205
  try {
206
206
  if (r) {
207
- var f = function() {
207
+ var m = function() {
208
208
  throw Error();
209
209
  };
210
- if (Object.defineProperty(f.prototype, "props", {
210
+ if (Object.defineProperty(m.prototype, "props", {
211
211
  set: function() {
212
212
  throw Error();
213
213
  }
214
214
  }), typeof Reflect == "object" && Reflect.construct) {
215
215
  try {
216
- Reflect.construct(f, []);
217
- } catch (A) {
218
- i = A;
216
+ Reflect.construct(m, []);
217
+ } catch (I) {
218
+ o = I;
219
219
  }
220
- Reflect.construct(e, [], f);
220
+ Reflect.construct(e, [], m);
221
221
  } else {
222
222
  try {
223
- f.call();
224
- } catch (A) {
225
- i = A;
223
+ m.call();
224
+ } catch (I) {
225
+ o = I;
226
226
  }
227
- e.call(f.prototype);
227
+ e.call(m.prototype);
228
228
  }
229
229
  } else {
230
230
  try {
231
231
  throw Error();
232
- } catch (A) {
233
- i = A;
232
+ } catch (I) {
233
+ o = I;
234
234
  }
235
235
  e();
236
236
  }
237
- } catch (A) {
238
- if (A && i && typeof A.stack == "string") {
239
- for (var u = A.stack.split(`
240
- `), k = i.stack.split(`
241
- `), S = u.length - 1, P = k.length - 1; S >= 1 && P >= 0 && u[S] !== k[P]; )
242
- P--;
243
- for (; S >= 1 && P >= 0; S--, P--)
244
- if (u[S] !== k[P]) {
245
- if (S !== 1 || P !== 1)
237
+ } catch (I) {
238
+ if (I && o && typeof I.stack == "string") {
239
+ for (var u = I.stack.split(`
240
+ `), k = o.stack.split(`
241
+ `), E = u.length - 1, R = k.length - 1; E >= 1 && R >= 0 && u[E] !== k[R]; )
242
+ R--;
243
+ for (; E >= 1 && R >= 0; E--, R--)
244
+ if (u[E] !== k[R]) {
245
+ if (E !== 1 || R !== 1)
246
246
  do
247
- if (S--, P--, P < 0 || u[S] !== k[P]) {
248
- var F = `
249
- ` + u[S].replace(" at new ", " at ");
250
- return e.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", e.displayName)), typeof e == "function" && oe.set(e, F), F;
247
+ if (E--, R--, R < 0 || u[E] !== k[R]) {
248
+ var D = `
249
+ ` + u[E].replace(" at new ", " at ");
250
+ return e.displayName && D.includes("<anonymous>") && (D = D.replace("<anonymous>", e.displayName)), typeof e == "function" && se.set(e, D), D;
251
251
  }
252
- while (S >= 1 && P >= 0);
252
+ while (E >= 1 && R >= 0);
253
253
  break;
254
254
  }
255
255
  }
256
256
  } finally {
257
- _e = !1, he.current = y, ut(), Error.prepareStackTrace = v;
257
+ pe = !1, de.current = j, ut(), Error.prepareStackTrace = x;
258
258
  }
259
- var z = e ? e.displayName || e.name : "", H = z ? ie(z) : "";
260
- return typeof e == "function" && oe.set(e, H), H;
259
+ var V = e ? e.displayName || e.name : "", H = V ? ae(V) : "";
260
+ return typeof e == "function" && se.set(e, H), H;
261
261
  }
262
262
  function ft(e, r, n) {
263
- return Ee(e, !1);
263
+ return Pe(e, !1);
264
264
  }
265
265
  function mt(e) {
266
266
  var r = e.prototype;
267
267
  return !!(r && r.isReactComponent);
268
268
  }
269
- function ce(e, r, n) {
269
+ function ie(e, r, n) {
270
270
  if (e == null)
271
271
  return "";
272
272
  if (typeof e == "function")
273
- return Ee(e, mt(e));
273
+ return Pe(e, mt(e));
274
274
  if (typeof e == "string")
275
- return ie(e);
275
+ return ae(e);
276
276
  switch (e) {
277
- case g:
278
- return ie("Suspense");
279
- case c:
280
- return ie("SuspenseList");
277
+ case T:
278
+ return ae("Suspense");
279
+ case l:
280
+ return ae("SuspenseList");
281
281
  }
282
282
  if (typeof e == "object")
283
283
  switch (e.$$typeof) {
284
- case m:
284
+ case f:
285
285
  return ft(e.render);
286
- case w:
287
- return ce(e.type, r, n);
288
- case T: {
289
- var i = e, v = i._payload, y = i._init;
286
+ case y:
287
+ return ie(e.type, r, n);
288
+ case C: {
289
+ var o = e, x = o._payload, j = o._init;
290
290
  try {
291
- return ce(y(v), r, n);
291
+ return ie(j(x), r, n);
292
292
  } catch {
293
293
  }
294
294
  }
295
295
  }
296
296
  return "";
297
297
  }
298
- var te = Object.prototype.hasOwnProperty, Pe = {}, Re = D.ReactDebugCurrentFrame;
299
- function le(e) {
298
+ var ee = Object.prototype.hasOwnProperty, Re = {}, Se = F.ReactDebugCurrentFrame;
299
+ function oe(e) {
300
300
  if (e) {
301
- var r = e._owner, n = ce(e.type, e._source, r ? r.type : null);
302
- Re.setExtraStackFrame(n);
301
+ var r = e._owner, n = ie(e.type, e._source, r ? r.type : null);
302
+ Se.setExtraStackFrame(n);
303
303
  } else
304
- Re.setExtraStackFrame(null);
304
+ Se.setExtraStackFrame(null);
305
305
  }
306
- function ht(e, r, n, i, v) {
306
+ function ht(e, r, n, o, x) {
307
307
  {
308
- var y = Function.call.bind(te);
309
- for (var f in e)
310
- if (y(e, f)) {
308
+ var j = Function.call.bind(ee);
309
+ for (var m in e)
310
+ if (j(e, m)) {
311
311
  var u = void 0;
312
312
  try {
313
- if (typeof e[f] != "function") {
314
- var k = Error((i || "React class") + ": " + n + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
313
+ if (typeof e[m] != "function") {
314
+ var k = Error((o || "React class") + ": " + n + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
315
315
  throw k.name = "Invariant Violation", k;
316
316
  }
317
- u = e[f](r, f, i, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
318
- } catch (S) {
319
- u = S;
317
+ u = e[m](r, m, o, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
318
+ } catch (E) {
319
+ u = E;
320
320
  }
321
- u && !(u instanceof Error) && (le(v), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", n, f, typeof u), le(null)), u instanceof Error && !(u.message in Pe) && (Pe[u.message] = !0, le(v), E("Failed %s type: %s", n, u.message), le(null));
321
+ u && !(u instanceof Error) && (oe(x), P("%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).", o || "React class", n, m, typeof u), oe(null)), u instanceof Error && !(u.message in Re) && (Re[u.message] = !0, oe(x), P("Failed %s type: %s", n, u.message), oe(null));
322
322
  }
323
323
  }
324
324
  }
325
325
  var xt = Array.isArray;
326
- function ve(e) {
326
+ function fe(e) {
327
327
  return xt(e);
328
328
  }
329
- function _t(e) {
329
+ function vt(e) {
330
330
  {
331
331
  var r = typeof Symbol == "function" && Symbol.toStringTag, n = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
332
332
  return n;
333
333
  }
334
334
  }
335
- function vt(e) {
335
+ function gt(e) {
336
336
  try {
337
337
  return ke(e), !1;
338
338
  } catch {
@@ -342,18 +342,18 @@ function Wt() {
342
342
  function ke(e) {
343
343
  return "" + e;
344
344
  }
345
- function Ae(e) {
346
- if (vt(e))
347
- return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _t(e)), ke(e);
345
+ function Ie(e) {
346
+ if (gt(e))
347
+ return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", vt(e)), ke(e);
348
348
  }
349
- var Ie = D.ReactCurrentOwner, gt = {
349
+ var Ae = F.ReactCurrentOwner, _t = {
350
350
  key: !0,
351
351
  ref: !0,
352
352
  __self: !0,
353
353
  __source: !0
354
- }, Le, Oe;
354
+ }, Le, De;
355
355
  function jt(e) {
356
- if (te.call(e, "ref")) {
356
+ if (ee.call(e, "ref")) {
357
357
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
358
358
  if (r && r.isReactWarning)
359
359
  return !1;
@@ -361,20 +361,20 @@ function Wt() {
361
361
  return e.ref !== void 0;
362
362
  }
363
363
  function bt(e) {
364
- if (te.call(e, "key")) {
364
+ if (ee.call(e, "key")) {
365
365
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
366
366
  if (r && r.isReactWarning)
367
367
  return !1;
368
368
  }
369
369
  return e.key !== void 0;
370
370
  }
371
- function yt(e, r) {
372
- typeof e.ref == "string" && Ie.current;
373
- }
374
371
  function wt(e, r) {
372
+ typeof e.ref == "string" && Ae.current;
373
+ }
374
+ function yt(e, r) {
375
375
  {
376
376
  var n = function() {
377
- Le || (Le = !0, E("%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)", r));
377
+ Le || (Le = !0, P("%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)", r));
378
378
  };
379
379
  n.isReactWarning = !0, Object.defineProperty(e, "key", {
380
380
  get: n,
@@ -385,7 +385,7 @@ function Wt() {
385
385
  function Ct(e, r) {
386
386
  {
387
387
  var n = function() {
388
- Oe || (Oe = !0, E("%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)", r));
388
+ De || (De = !0, P("%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)", r));
389
389
  };
390
390
  n.isReactWarning = !0, Object.defineProperty(e, "ref", {
391
391
  get: n,
@@ -393,7 +393,7 @@ function Wt() {
393
393
  });
394
394
  }
395
395
  }
396
- var Nt = function(e, r, n, i, v, y, f) {
396
+ var Nt = function(e, r, n, o, x, j, m) {
397
397
  var u = {
398
398
  // This tag allows us to uniquely identify this as a React Element
399
399
  $$typeof: p,
@@ -401,9 +401,9 @@ function Wt() {
401
401
  type: e,
402
402
  key: r,
403
403
  ref: n,
404
- props: f,
404
+ props: m,
405
405
  // Record the component responsible for creating this element.
406
- _owner: y
406
+ _owner: j
407
407
  };
408
408
  return u._store = {}, Object.defineProperty(u._store, "validated", {
409
409
  configurable: !1,
@@ -414,49 +414,49 @@ function Wt() {
414
414
  configurable: !1,
415
415
  enumerable: !1,
416
416
  writable: !1,
417
- value: i
417
+ value: o
418
418
  }), Object.defineProperty(u, "_source", {
419
419
  configurable: !1,
420
420
  enumerable: !1,
421
421
  writable: !1,
422
- value: v
422
+ value: x
423
423
  }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
424
424
  };
425
- function Tt(e, r, n, i, v) {
425
+ function Tt(e, r, n, o, x) {
426
426
  {
427
- var y, f = {}, u = null, k = null;
428
- n !== void 0 && (Ae(n), u = "" + n), bt(r) && (Ae(r.key), u = "" + r.key), jt(r) && (k = r.ref, yt(r, v));
429
- for (y in r)
430
- te.call(r, y) && !gt.hasOwnProperty(y) && (f[y] = r[y]);
427
+ var j, m = {}, u = null, k = null;
428
+ n !== void 0 && (Ie(n), u = "" + n), bt(r) && (Ie(r.key), u = "" + r.key), jt(r) && (k = r.ref, wt(r, x));
429
+ for (j in r)
430
+ ee.call(r, j) && !_t.hasOwnProperty(j) && (m[j] = r[j]);
431
431
  if (e && e.defaultProps) {
432
- var S = e.defaultProps;
433
- for (y in S)
434
- f[y] === void 0 && (f[y] = S[y]);
432
+ var E = e.defaultProps;
433
+ for (j in E)
434
+ m[j] === void 0 && (m[j] = E[j]);
435
435
  }
436
436
  if (u || k) {
437
- var P = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
438
- u && wt(f, P), k && Ct(f, P);
437
+ var R = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
438
+ u && yt(m, R), k && Ct(m, R);
439
439
  }
440
- return Nt(e, u, k, v, i, Ie.current, f);
440
+ return Nt(e, u, k, x, o, Ae.current, m);
441
441
  }
442
442
  }
443
- var ge = D.ReactCurrentOwner, De = D.ReactDebugCurrentFrame;
444
- function V(e) {
443
+ var me = F.ReactCurrentOwner, Oe = F.ReactDebugCurrentFrame;
444
+ function U(e) {
445
445
  if (e) {
446
- var r = e._owner, n = ce(e.type, e._source, r ? r.type : null);
447
- De.setExtraStackFrame(n);
446
+ var r = e._owner, n = ie(e.type, e._source, r ? r.type : null);
447
+ Oe.setExtraStackFrame(n);
448
448
  } else
449
- De.setExtraStackFrame(null);
449
+ Oe.setExtraStackFrame(null);
450
450
  }
451
- var je;
452
- je = !1;
453
- function be(e) {
451
+ var he;
452
+ he = !1;
453
+ function xe(e) {
454
454
  return typeof e == "object" && e !== null && e.$$typeof === p;
455
455
  }
456
456
  function Fe() {
457
457
  {
458
- if (ge.current) {
459
- var e = M(ge.current.type);
458
+ if (me.current) {
459
+ var e = M(me.current.type);
460
460
  if (e)
461
461
  return `
462
462
 
@@ -465,11 +465,11 @@ Check the render method of \`` + e + "`.";
465
465
  return "";
466
466
  }
467
467
  }
468
- function St(e) {
468
+ function Et(e) {
469
469
  return "";
470
470
  }
471
471
  var Be = {};
472
- function Et(e) {
472
+ function Pt(e) {
473
473
  {
474
474
  var r = Fe();
475
475
  if (!r) {
@@ -486,34 +486,34 @@ Check the top-level render call using <` + n + ">.");
486
486
  if (!e._store || e._store.validated || e.key != null)
487
487
  return;
488
488
  e._store.validated = !0;
489
- var n = Et(r);
489
+ var n = Pt(r);
490
490
  if (Be[n])
491
491
  return;
492
492
  Be[n] = !0;
493
- var i = "";
494
- e && e._owner && e._owner !== ge.current && (i = " It was passed a child from " + M(e._owner.type) + "."), V(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, i), V(null);
493
+ var o = "";
494
+ e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + M(e._owner.type) + "."), U(e), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, o), U(null);
495
495
  }
496
496
  }
497
497
  function $e(e, r) {
498
498
  {
499
499
  if (typeof e != "object")
500
500
  return;
501
- if (ve(e))
501
+ if (fe(e))
502
502
  for (var n = 0; n < e.length; n++) {
503
- var i = e[n];
504
- be(i) && We(i, r);
503
+ var o = e[n];
504
+ xe(o) && We(o, r);
505
505
  }
506
- else if (be(e))
506
+ else if (xe(e))
507
507
  e._store && (e._store.validated = !0);
508
508
  else if (e) {
509
- var v = W(e);
510
- if (typeof v == "function" && v !== e.entries)
511
- for (var y = v.call(e), f; !(f = y.next()).done; )
512
- be(f.value) && We(f.value, r);
509
+ var x = B(e);
510
+ if (typeof x == "function" && x !== e.entries)
511
+ for (var j = x.call(e), m; !(m = j.next()).done; )
512
+ xe(m.value) && We(m.value, r);
513
513
  }
514
514
  }
515
515
  }
516
- function Pt(e) {
516
+ function Rt(e) {
517
517
  {
518
518
  var r = e.type;
519
519
  if (r == null || typeof r == "string")
@@ -521,93 +521,93 @@ Check the top-level render call using <` + n + ">.");
521
521
  var n;
522
522
  if (typeof r == "function")
523
523
  n = r.propTypes;
524
- else if (typeof r == "object" && (r.$$typeof === m || // Note: Memo only checks outer props here.
524
+ else if (typeof r == "object" && (r.$$typeof === f || // Note: Memo only checks outer props here.
525
525
  // Inner props are checked in the reconciler.
526
- r.$$typeof === w))
526
+ r.$$typeof === y))
527
527
  n = r.propTypes;
528
528
  else
529
529
  return;
530
530
  if (n) {
531
- var i = M(r);
532
- ht(n, e.props, "prop", i, e);
533
- } else if (r.PropTypes !== void 0 && !je) {
534
- je = !0;
535
- var v = M(r);
536
- E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
531
+ var o = M(r);
532
+ ht(n, e.props, "prop", o, e);
533
+ } else if (r.PropTypes !== void 0 && !he) {
534
+ he = !0;
535
+ var x = M(r);
536
+ P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
537
537
  }
538
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
538
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
539
539
  }
540
540
  }
541
- function Rt(e) {
541
+ function St(e) {
542
542
  {
543
543
  for (var r = Object.keys(e.props), n = 0; n < r.length; n++) {
544
- var i = r[n];
545
- if (i !== "children" && i !== "key") {
546
- V(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), V(null);
544
+ var o = r[n];
545
+ if (o !== "children" && o !== "key") {
546
+ U(e), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), U(null);
547
547
  break;
548
548
  }
549
549
  }
550
- e.ref !== null && (V(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
550
+ e.ref !== null && (U(e), P("Invalid attribute `ref` supplied to `React.Fragment`."), U(null));
551
551
  }
552
552
  }
553
553
  var Me = {};
554
- function Ue(e, r, n, i, v, y) {
554
+ function Ye(e, r, n, o, x, j) {
555
555
  {
556
- var f = fe(e);
557
- if (!f) {
556
+ var m = N(e);
557
+ if (!m) {
558
558
  var u = "";
559
559
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " 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 k = St();
560
+ var k = Et();
561
561
  k ? u += k : u += Fe();
562
- var S;
563
- e === null ? S = "null" : ve(e) ? S = "array" : e !== void 0 && e.$$typeof === p ? (S = "<" + (M(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, u);
562
+ var E;
563
+ e === null ? E = "null" : fe(e) ? E = "array" : e !== void 0 && e.$$typeof === p ? (E = "<" + (M(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, u);
564
564
  }
565
- var P = Tt(e, r, n, v, y);
566
- if (P == null)
567
- return P;
568
- if (f) {
569
- var F = r.children;
570
- if (F !== void 0)
571
- if (i)
572
- if (ve(F)) {
573
- for (var z = 0; z < F.length; z++)
574
- $e(F[z], e);
575
- Object.freeze && Object.freeze(F);
565
+ var R = Tt(e, r, n, x, j);
566
+ if (R == null)
567
+ return R;
568
+ if (m) {
569
+ var D = r.children;
570
+ if (D !== void 0)
571
+ if (o)
572
+ if (fe(D)) {
573
+ for (var V = 0; V < D.length; V++)
574
+ $e(D[V], e);
575
+ Object.freeze && Object.freeze(D);
576
576
  } else
577
- E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
577
+ P("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
- $e(F, e);
579
+ $e(D, e);
580
580
  }
581
- if (te.call(r, "key")) {
582
- var H = M(e), A = Object.keys(r).filter(function(Dt) {
583
- return Dt !== "key";
584
- }), ye = A.length > 0 ? "{key: someKey, " + A.join(": ..., ") + ": ...}" : "{key: someKey}";
585
- if (!Me[H + ye]) {
586
- var Ot = A.length > 0 ? "{" + A.join(": ..., ") + ": ...}" : "{}";
587
- E(`A props object containing a "key" prop is being spread into JSX:
581
+ if (ee.call(r, "key")) {
582
+ var H = M(e), I = Object.keys(r).filter(function(Ot) {
583
+ return Ot !== "key";
584
+ }), ve = I.length > 0 ? "{key: someKey, " + I.join(": ..., ") + ": ...}" : "{key: someKey}";
585
+ if (!Me[H + ve]) {
586
+ var Dt = I.length > 0 ? "{" + I.join(": ..., ") + ": ...}" : "{}";
587
+ P(`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} />`, ye, H, Ot, H), Me[H + ye] = !0;
592
+ <%s key={someKey} {...props} />`, ve, H, Dt, H), Me[H + ve] = !0;
593
593
  }
594
594
  }
595
- return e === l ? Rt(P) : Pt(P), P;
595
+ return e === c ? St(R) : Rt(R), R;
596
596
  }
597
597
  }
598
598
  function kt(e, r, n) {
599
- return Ue(e, r, n, !0);
599
+ return Ye(e, r, n, !0);
600
600
  }
601
- function At(e, r, n) {
602
- return Ue(e, r, n, !1);
601
+ function It(e, r, n) {
602
+ return Ye(e, r, n, !1);
603
603
  }
604
- var It = At, Lt = kt;
605
- ne.Fragment = l, ne.jsx = It, ne.jsxs = Lt;
606
- })()), ne;
604
+ var At = It, Lt = kt;
605
+ re.Fragment = c, re.jsx = At, re.jsxs = Lt;
606
+ })()), re;
607
607
  }
608
608
  var Ve;
609
609
  function $t() {
610
- return Ve || (Ve = 1, process.env.NODE_ENV === "production" ? de.exports = Bt() : de.exports = Wt()), de.exports;
610
+ return Ve || (Ve = 1, process.env.NODE_ENV === "production" ? ce.exports = Bt() : ce.exports = Wt()), ce.exports;
611
611
  }
612
612
  var t = $t();
613
613
  const Mt = {
@@ -658,7 +658,7 @@ const Mt = {
658
658
  hours: "HRS",
659
659
  minutes: "MIN",
660
660
  secondsLabel: "SEC"
661
- }, Ut = {
661
+ }, Yt = {
662
662
  landingPage: "लैंडिंग पेज",
663
663
  successPage: "सफलता पेज",
664
664
  jaiShreeRam: "जय श्री राम",
@@ -706,83 +706,83 @@ const Mt = {
706
706
  hours: "घंटे",
707
707
  minutes: "मिनट",
708
708
  secondsLabel: "सेकंड"
709
- }, Yt = {
709
+ }, Ht = {
710
710
  en: Mt,
711
- hi: Ut
712
- }, it = st(null), Cn = ({
713
- locale: s,
711
+ hi: Yt
712
+ }, it = st(null), _n = ({
713
+ locale: a,
714
714
  children: p
715
715
  }) => {
716
- const l = { locale: s, t: (d) => Yt[s]?.[d] ?? d };
717
- return /* @__PURE__ */ t.jsx(it.Provider, { value: l, children: p });
716
+ const c = { locale: a, t: (d) => Ht[a]?.[d] ?? d };
717
+ return /* @__PURE__ */ t.jsx(it.Provider, { value: c, children: p });
718
718
  };
719
- function we() {
719
+ function ge() {
720
720
  return at(it);
721
721
  }
722
722
  const ot = st(void 0), ct = () => {
723
- const s = at(ot);
724
- if (!s)
723
+ const a = at(ot);
724
+ if (!a)
725
725
  throw new Error("useAppContext must be used within AppContextProvider");
726
- return s;
727
- }, Nn = ({
728
- children: s
726
+ return a;
727
+ }, jn = ({
728
+ children: a
729
729
  }) => {
730
- const [p, j] = R(null), [l, d] = R(!1);
730
+ const [p, g] = S(null), [c, d] = S(!1);
731
731
  return /* @__PURE__ */ t.jsx(
732
732
  ot.Provider,
733
733
  {
734
734
  value: {
735
735
  userData: p,
736
- setUserData: j,
737
- showSuccess: l,
736
+ setUserData: g,
737
+ showSuccess: c,
738
738
  setShowSuccess: d
739
739
  },
740
- children: s
740
+ children: a
741
741
  }
742
742
  );
743
- }, Ht = "_landingPage_14yn1_1", ze = {
744
- landingPage: Ht,
743
+ }, Ut = "_landingPage_14yn1_1", ze = {
744
+ landingPage: Ut,
745
745
  "sf-select": "_sf-select_14yn1_7"
746
- }, Vt = ({ targetDate: s }) => {
747
- const j = we()?.t || ((h) => h), l = () => {
748
- const m = (typeof s == "string" ? new Date(s) : s).getTime() - Date.now();
749
- if (m > 0) {
750
- const g = Math.floor(m / 864e5), c = Math.floor(m % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), w = Math.floor(m % (1e3 * 60 * 60) / (1e3 * 60)), T = Math.floor(m % (1e3 * 60) / 1e3);
751
- return { days: g, hours: c, minutes: w, seconds: T };
746
+ }, Vt = ({ targetDate: a }) => {
747
+ const g = ge()?.t || ((h) => h), c = () => {
748
+ const f = (typeof a == "string" ? new Date(a) : a).getTime() - Date.now();
749
+ if (f > 0) {
750
+ const T = Math.floor(f / 864e5), l = Math.floor(f % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), y = Math.floor(f % (1e3 * 60 * 60) / (1e3 * 60)), C = Math.floor(f % (1e3 * 60) / 1e3);
751
+ return { days: T, hours: l, minutes: y, seconds: C };
752
752
  }
753
753
  return { days: 0, hours: 0, minutes: 0, seconds: 0 };
754
- }, [d, _] = R({ days: 0, hours: 0, minutes: 0, seconds: 0 });
755
- I(() => {
756
- _(l());
754
+ }, [d, v] = S({ days: 0, hours: 0, minutes: 0, seconds: 0 });
755
+ O(() => {
756
+ v(c());
757
757
  const h = setInterval(() => {
758
- _(l());
758
+ v(c());
759
759
  }, 1e3);
760
760
  return () => clearInterval(h);
761
- }, [s]);
762
- const o = (h) => h.toString().padStart(2, "0");
761
+ }, [a]);
762
+ const i = (h) => h.toString().padStart(2, "0");
763
763
  return /* @__PURE__ */ t.jsxs("div", { className: "flex items-center justify-center gap-3 sm:gap-4", children: [
764
764
  /* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-1", children: [
765
765
  /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col items-center", children: [
766
- /* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: o(d.days) }),
767
- /* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: j("days") })
766
+ /* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: i(d.days) }),
767
+ /* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: g("days") })
768
768
  ] }),
769
769
  /* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none mb-2.5", children: ":" }),
770
770
  /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col items-center", children: [
771
- /* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: o(d.hours) }),
772
- /* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: j("hours") })
771
+ /* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: i(d.hours) }),
772
+ /* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: g("hours") })
773
773
  ] }),
774
774
  /* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none mb-2.5", children: ":" }),
775
775
  /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col items-center", children: [
776
- /* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: o(d.minutes) }),
777
- /* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: j("minutes") })
776
+ /* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: i(d.minutes) }),
777
+ /* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: g("minutes") })
778
778
  ] }),
779
779
  /* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none mb-2.5", children: ":" }),
780
780
  /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col items-center", children: [
781
- /* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: o(d.seconds) }),
782
- /* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: j("secondsLabel") })
781
+ /* @__PURE__ */ t.jsx("span", { className: "text-[#D2461E] text-[24px] sm:text-[28px] font-bold leading-none", suppressHydrationWarning: !0, children: i(d.seconds) }),
782
+ /* @__PURE__ */ t.jsx("span", { className: "text-[#907250] text-[8px] font-semibold tracking-wide mt-0.5", children: g("secondsLabel") })
783
783
  ] })
784
784
  ] }),
785
- /* @__PURE__ */ t.jsx("p", { className: "text-[#907250] text-[11px] sm:text-[12px] font-medium", children: j("timerLabel") })
785
+ /* @__PURE__ */ t.jsx("p", { className: "text-[#907250] text-[11px] sm:text-[12px] font-medium", children: g("timerLabel") })
786
786
  ] });
787
787
  }, zt = [
788
788
  {
@@ -870,21 +870,21 @@ const ot = st(void 0), ct = () => {
870
870
  // { code: "+975", country: "Bhutan" },
871
871
  // { code: "+976", country: "Mongolia" },
872
872
  // { code: "+977", country: "Nepal" },
873
- ], Tn = ({
874
- targetDate: s,
873
+ ], bn = ({
874
+ targetDate: a,
875
875
  onSubmit: p,
876
- isGlobal: j = !1,
877
- analytics: l,
876
+ isGlobal: g = !1,
877
+ analytics: c,
878
878
  showToast: d
879
879
  }) => {
880
- const o = we()?.t || ((N) => N), [h, m] = R(j ? "+1" : "+91"), [g, c] = R(!1), { setUserData: w, setShowSuccess: T } = ct(), [b, O] = R(""), [L, W] = R(""), D = G(!1), E = `${h}-${L}`, X = Je.find(
881
- (N) => N.code === h
880
+ const i = ge()?.t || ((w) => w), [h, f] = S(g ? "+1" : "+91"), [T, l] = S(!1), { setUserData: y, setShowSuccess: C } = ct(), [_, A] = S(""), [L, B] = S(""), F = q(!1), P = `${h}-${L}`, X = Je.find(
881
+ (w) => w.code === h
882
882
  );
883
- I(() => {
884
- !D.current && l?.trackLandingPageViewed && (l.trackLandingPageViewed(), D.current = !0);
885
- }, [l]);
886
- const Z = (N) => {
887
- if (N.preventDefault(), !b || b.trim() === "") {
883
+ O(() => {
884
+ !F.current && c?.trackLandingPageViewed && (c.trackLandingPageViewed(), F.current = !0);
885
+ }, [c]);
886
+ const G = (w) => {
887
+ if (w.preventDefault(), !_ || _.trim() === "") {
888
888
  d?.("error", "Please enter your name");
889
889
  return;
890
890
  }
@@ -892,82 +892,82 @@ const ot = st(void 0), ct = () => {
892
892
  d?.("error", "Please enter a valid 10-digit WhatsApp number");
893
893
  return;
894
894
  }
895
- l?.trackSubmitClicked?.(), w({ name: b, fullPhoneNumber: E }), d?.("success", "Registration Successful"), T(!0), p?.({ name: b, fullPhoneNumber: E });
895
+ c?.trackSubmitClicked?.(), y({ name: _, fullPhoneNumber: P }), d?.("success", "Registration Successful"), C(!0), p?.({ name: _, fullPhoneNumber: P });
896
896
  };
897
897
  return /* @__PURE__ */ t.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ t.jsxs("div", { className: ze.landingPage, children: [
898
898
  /* @__PURE__ */ t.jsx("div", { className: "relative w-full flex justify-center bg-[#FFF8EF]", children: /* @__PURE__ */ t.jsx(
899
899
  "img",
900
900
  {
901
901
  src: "https://srm-cdn.a4b.io/yoda/1774445719594.webp",
902
- alt: o("eventTitle"),
902
+ alt: i("eventTitle"),
903
903
  className: "w-full max-w-2xl h-auto max-h-[600px] object-contain"
904
904
  }
905
905
  ) }),
906
- /* @__PURE__ */ t.jsx("div", { className: "py-3 px-4 bg-white border-b border-[#D4C5B0]", children: /* @__PURE__ */ t.jsx(Vt, { targetDate: s }) }),
906
+ /* @__PURE__ */ t.jsx("div", { className: "py-3 px-4 bg-white border-b border-[#D4C5B0]", children: /* @__PURE__ */ t.jsx(Vt, { targetDate: a }) }),
907
907
  /* @__PURE__ */ t.jsxs("div", { className: "px-4 bg-[#FFF8EF]", children: [
908
908
  /* @__PURE__ */ t.jsxs("div", { className: "max-w-md mx-auto flex items-center justify-center gap-4 p-4", children: [
909
909
  /* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(
910
910
  "img",
911
911
  {
912
912
  src: "https://srm-cdn.a4b.io/yoda/1774092358685.png",
913
- alt: o("panditName"),
913
+ alt: i("panditName"),
914
914
  className: "w-[88px] h-[88px] rounded-full object-cover"
915
915
  }
916
916
  ) }),
917
917
  /* @__PURE__ */ t.jsxs("div", { children: [
918
- /* @__PURE__ */ t.jsx("h3", { className: "text-[#D2461E] text-[20px] font-bold leading-tight", children: o("panditName") }),
919
- /* @__PURE__ */ t.jsx("p", { className: "text-[#8B7355] text-[14px] mt-1", children: o("panditCredentials") })
918
+ /* @__PURE__ */ t.jsx("h3", { className: "text-[#D2461E] text-[20px] font-bold leading-tight", children: i("panditName") }),
919
+ /* @__PURE__ */ t.jsx("p", { className: "text-[#8B7355] text-[14px] mt-1", children: i("panditCredentials") })
920
920
  ] })
921
921
  ] }),
922
922
  /* @__PURE__ */ t.jsx("hr", { className: "w-[75%] mx-auto border-t-[0.5px] border-[#907250] mt-2" })
923
923
  ] }),
924
924
  /* @__PURE__ */ t.jsx("div", { className: "px-4 py-6 bg-[#FFF8EF]", children: /* @__PURE__ */ t.jsxs("div", { className: "max-w-md mx-auto px-4", children: [
925
- /* @__PURE__ */ t.jsx("p", { className: "text-center text-[#6F5642] text-[14px] mb-6", children: o("formTitle") }),
926
- /* @__PURE__ */ t.jsxs("form", { onSubmit: Z, className: "space-y-4", children: [
925
+ /* @__PURE__ */ t.jsx("p", { className: "text-center text-[#6F5642] text-[14px] mb-6", children: i("formTitle") }),
926
+ /* @__PURE__ */ t.jsxs("form", { onSubmit: G, className: "space-y-4", children: [
927
927
  /* @__PURE__ */ t.jsxs("div", { children: [
928
- /* @__PURE__ */ t.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children: o("nameLabel") }),
928
+ /* @__PURE__ */ t.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children: i("nameLabel") }),
929
929
  /* @__PURE__ */ t.jsx(
930
930
  "input",
931
931
  {
932
932
  type: "text",
933
- value: b,
934
- onChange: (N) => {
935
- O(N.target.value), N.target.value && !b && l?.trackNameFilled?.();
933
+ value: _,
934
+ onChange: (w) => {
935
+ A(w.target.value), w.target.value && !_ && c?.trackNameFilled?.();
936
936
  },
937
- onFocus: () => l?.trackNameClicked?.(),
938
- placeholder: o("namePlaceholder"),
937
+ onFocus: () => c?.trackNameClicked?.(),
938
+ placeholder: i("namePlaceholder"),
939
939
  className: "w-full px-4 py-3 bg-[#F9F3EF] border border-[#ECD4C2] rounded-lg text-[#5C4A3A] placeholder:text-[#BCA491] focus:outline-none focus:ring-2 focus:ring-[#C84532]/20 focus:border-[#C84532]",
940
940
  required: !0
941
941
  }
942
942
  )
943
943
  ] }),
944
944
  /* @__PURE__ */ t.jsxs("div", { children: [
945
- /* @__PURE__ */ t.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children: o("whatsappLabel") }),
945
+ /* @__PURE__ */ t.jsx("label", { className: "block text-[#614938] text-[14px] font-medium mb-2", children: i("whatsappLabel") }),
946
946
  /* @__PURE__ */ t.jsxs("div", { className: "flex gap-2", children: [
947
947
  /* @__PURE__ */ t.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ t.jsxs("div", { className: "relative w-20", children: [
948
948
  /* @__PURE__ */ t.jsx(
949
949
  "div",
950
950
  {
951
- onClick: () => c(!g),
951
+ onClick: () => l(!T),
952
952
  className: `${ze["sf-select"]} text-center text-[#614938] bg-[#F9F3EF] border-[#ECD4C2]`,
953
953
  children: X?.code
954
954
  }
955
955
  ),
956
- g && /* @__PURE__ */ t.jsx("div", { className: "absolute top-full left-0 w-full bg-white border border-[#D4C5B0] rounded-lg mt-1 shadow-lg z-50", children: Je.map((N) => /* @__PURE__ */ t.jsxs(
956
+ T && /* @__PURE__ */ t.jsx("div", { className: "absolute top-full left-0 w-full bg-white border border-[#D4C5B0] rounded-lg mt-1 shadow-lg z-50", children: Je.map((w) => /* @__PURE__ */ t.jsxs(
957
957
  "div",
958
958
  {
959
959
  onClick: () => {
960
- m(N.code), c(!1);
960
+ f(w.code), l(!1);
961
961
  },
962
962
  className: "px-3 py-2 hover:bg-gray-100 cursor-pointer text-[10px] whitespace-nowrap",
963
963
  children: [
964
- N.country,
964
+ w.country,
965
965
  " (",
966
- N.code,
966
+ w.code,
967
967
  ")"
968
968
  ]
969
969
  },
970
- N.code
970
+ w.code
971
971
  )) })
972
972
  ] }) }),
973
973
  /* @__PURE__ */ t.jsx(
@@ -975,12 +975,12 @@ const ot = st(void 0), ct = () => {
975
975
  {
976
976
  type: "tel",
977
977
  value: L,
978
- onChange: (N) => {
979
- const $ = N.target.value.replace(/\D/g, "");
980
- W($), $ && !L && l?.trackPhoneFilled?.();
978
+ onChange: (w) => {
979
+ const W = w.target.value.replace(/\D/g, "");
980
+ B(W), W && !L && c?.trackPhoneFilled?.();
981
981
  },
982
- onFocus: () => l?.trackPhoneClicked?.(),
983
- placeholder: o("whatsappPlaceholder"),
982
+ onFocus: () => c?.trackPhoneClicked?.(),
983
+ placeholder: i("whatsappPlaceholder"),
984
984
  className: "flex-1 px-4 py-3 bg-[#F9F3EF] border border-[#ECD4C2] rounded-lg text-[#5C4A3A] placeholder:text-[#BCA491] focus:outline-none focus:ring-2 focus:ring-[#C84532]/20 focus:border-[#C84532]",
985
985
  maxLength: 10,
986
986
  required: !0
@@ -993,30 +993,30 @@ const ot = st(void 0), ct = () => {
993
993
  {
994
994
  type: "submit",
995
995
  className: "w-full bg-[#E34331] text-white text-[16px] font-semibold py-4 rounded-lg hover:bg-[#C83728] transition-colors shadow-lg",
996
- children: o("ctaButton")
996
+ children: i("ctaButton")
997
997
  }
998
998
  )
999
999
  ] }),
1000
- /* @__PURE__ */ t.jsx("p", { className: "text-center text-[#6F5642] text-[12px] mt-4 leading-relaxed", children: o("formDisclaimer") }),
1000
+ /* @__PURE__ */ t.jsx("p", { className: "text-center text-[#6F5642] text-[12px] mt-4 leading-relaxed", children: i("formDisclaimer") }),
1001
1001
  /* @__PURE__ */ t.jsx("hr", { className: "w-[75%] mx-auto border-t-[0.5px] border-[#907250] mt-6 px-8" })
1002
1002
  ] }) }),
1003
1003
  /* @__PURE__ */ t.jsx("div", { className: "px-4 pb-8 bg-[#FFF8EF]", children: /* @__PURE__ */ t.jsxs("div", { className: "max-w-md mx-auto px-4", children: [
1004
- /* @__PURE__ */ t.jsx("h2", { className: "text-[#614938] text-[18px] font-bold mb-6", children: o("expectTitle") }),
1005
- /* @__PURE__ */ t.jsx("div", { className: "space-y-4", children: zt.map((N, $) => /* @__PURE__ */ t.jsxs("div", { className: "flex items-start gap-4", children: [
1006
- /* @__PURE__ */ t.jsx("img", { src: N.icon, alt: "", className: "w-10 h-10" }),
1004
+ /* @__PURE__ */ t.jsx("h2", { className: "text-[#614938] text-[18px] font-bold mb-6", children: i("expectTitle") }),
1005
+ /* @__PURE__ */ t.jsx("div", { className: "space-y-4", children: zt.map((w, W) => /* @__PURE__ */ t.jsxs("div", { className: "flex items-start gap-4", children: [
1006
+ /* @__PURE__ */ t.jsx("img", { src: w.icon, alt: "", className: "w-10 h-10" }),
1007
1007
  /* @__PURE__ */ t.jsxs("div", { className: "flex-1", children: [
1008
- /* @__PURE__ */ t.jsx("h3", { className: "text-[#614938] text-[14px] font-semibold", children: o(N.titleKey) }),
1009
- /* @__PURE__ */ t.jsx("p", { className: "text-[#907250] text-[12px]", children: o(N.descKey) })
1008
+ /* @__PURE__ */ t.jsx("h3", { className: "text-[#614938] text-[14px] font-semibold", children: i(w.titleKey) }),
1009
+ /* @__PURE__ */ t.jsx("p", { className: "text-[#907250] text-[12px]", children: i(w.descKey) })
1010
1010
  ] })
1011
- ] }, $)) })
1011
+ ] }, W)) })
1012
1012
  ] }) })
1013
1013
  ] }) });
1014
- }, Jt = "_successPage_8t8j5_1", Kt = "_profileImageContainer_8t8j5_7", qt = "_profileImage_8t8j5_7", Gt = "_greeting_8t8j5_19", Xt = "_jaiShreeRam_8t8j5_23", Zt = "_userName_8t8j5_29", Qt = "_registrationCard_8t8j5_34", er = "_registeredText_8t8j5_48", tr = "_eventName_8t8j5_53", rr = "_eventDetails_8t8j5_61", nr = "_whatsappButton_8t8j5_66", ar = "_redirectInfo_8t8j5_75", sr = "_redirectText_8t8j5_79", ir = "_countdown_8t8j5_84", or = "_nextSteps_8t8j5_90", cr = "_nextStepsTitle_8t8j5_96", lr = "_stepsList_8t8j5_101", dr = "_step_8t8j5_101", ur = "_stepNumber_8t8j5_109", pr = "_stepText_8t8j5_113", C = {
1014
+ }, Jt = "_successPage_8t8j5_1", Kt = "_profileImageContainer_8t8j5_7", qt = "_profileImage_8t8j5_7", Xt = "_greeting_8t8j5_19", Gt = "_jaiShreeRam_8t8j5_23", Zt = "_userName_8t8j5_29", Qt = "_registrationCard_8t8j5_34", er = "_registeredText_8t8j5_48", tr = "_eventName_8t8j5_53", rr = "_eventDetails_8t8j5_61", nr = "_whatsappButton_8t8j5_66", ar = "_redirectInfo_8t8j5_75", sr = "_redirectText_8t8j5_79", ir = "_countdown_8t8j5_84", or = "_nextSteps_8t8j5_90", cr = "_nextStepsTitle_8t8j5_96", lr = "_stepsList_8t8j5_101", dr = "_step_8t8j5_101", ur = "_stepNumber_8t8j5_109", pr = "_stepText_8t8j5_113", b = {
1015
1015
  successPage: Jt,
1016
1016
  profileImageContainer: Kt,
1017
1017
  profileImage: qt,
1018
- greeting: Gt,
1019
- jaiShreeRam: Xt,
1018
+ greeting: Xt,
1019
+ jaiShreeRam: Gt,
1020
1020
  userName: Zt,
1021
1021
  registrationCard: Qt,
1022
1022
  registeredText: er,
@@ -1032,154 +1032,149 @@ const ot = st(void 0), ct = () => {
1032
1032
  step: dr,
1033
1033
  stepNumber: ur,
1034
1034
  stepText: pr
1035
- }, fr = "918151810300", mr = "I'm interested in the Rasrajji Hanuman Jayanti Path", Ke = `https://wa.me/${fr}?text=${encodeURIComponent(mr)}`, Sn = ({
1036
- userName: s = "Rahul",
1035
+ }, fr = "918151810300", mr = "I'm interested in the Rasrajji Hanuman Jayanti Path", Ke = `https://wa.me/${fr}?text=${encodeURIComponent(mr)}`, wn = ({
1036
+ userName: a = "Rahul",
1037
1037
  eventName: p = "Hanuman Jayanti Maha Path",
1038
- eventDate: j = "2nd April",
1039
- eventTime: l = "9:00 AM onwards",
1038
+ eventDate: g = "2nd April",
1039
+ eventTime: c = "9:00 AM onwards",
1040
1040
  onWhatsAppClick: d,
1041
- redirectSeconds: _ = 10,
1042
- analytics: o,
1041
+ redirectSeconds: v = 10,
1042
+ analytics: i,
1043
1043
  showToast: h,
1044
- disableRedirect: m = !1
1044
+ disableRedirect: f = !1
1045
1045
  }) => {
1046
- const c = we()?.t || ((W) => W), { userData: w } = ct(), [T, b] = R(_), O = G(!1), L = w?.name || s;
1047
- return I(() => {
1048
- !O.current && o?.trackSuccessPageViewed && (o.trackSuccessPageViewed({
1049
- name: w?.name,
1050
- phone: w?.fullPhoneNumber
1051
- }), O.current = !0);
1052
- }, [o, w?.name, w?.fullPhoneNumber]), I(() => {
1053
- if (!m)
1054
- if (T > 0) {
1055
- const W = setTimeout(() => b(T - 1), 1e3);
1056
- return () => clearTimeout(W);
1057
- } else T === 0 && (window.location.href = Ke);
1058
- }, [T, m]), /* @__PURE__ */ t.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ t.jsxs("div", { className: C.successPage, children: [
1059
- /* @__PURE__ */ t.jsx("div", { className: C.profileImageContainer, children: /* @__PURE__ */ t.jsx(
1046
+ const l = ge()?.t || ((B) => B), { userData: y } = ct(), [C, _] = S(v), A = q(!1), L = y?.name || a;
1047
+ return O(() => {
1048
+ !A.current && i?.trackSuccessPageViewed && (i.trackSuccessPageViewed({
1049
+ name: y?.name,
1050
+ phone: y?.fullPhoneNumber
1051
+ }), A.current = !0);
1052
+ }, [i, y?.name, y?.fullPhoneNumber]), O(() => {
1053
+ if (!f)
1054
+ if (C > 0) {
1055
+ const B = setTimeout(() => _(C - 1), 1e3);
1056
+ return () => clearTimeout(B);
1057
+ } else C === 0 && (window.location.href = Ke);
1058
+ }, [C, f]), /* @__PURE__ */ t.jsx("div", { className: "hanuman-chalisa-root", children: /* @__PURE__ */ t.jsxs("div", { className: b.successPage, children: [
1059
+ /* @__PURE__ */ t.jsx("div", { className: b.profileImageContainer, children: /* @__PURE__ */ t.jsx(
1060
1060
  "img",
1061
1061
  {
1062
1062
  src: "https://srm-cdn.a4b.io/yoda/1774094253562.webp",
1063
1063
  alt: "Profile",
1064
- className: C.profileImage,
1064
+ className: b.profileImage,
1065
1065
  width: 88,
1066
1066
  height: 88,
1067
1067
  loading: "eager"
1068
1068
  }
1069
1069
  ) }),
1070
- /* @__PURE__ */ t.jsxs("div", { className: C.greeting, children: [
1071
- /* @__PURE__ */ t.jsx("p", { className: C.jaiShreeRam, children: c("jaiShreeRam") }),
1072
- /* @__PURE__ */ t.jsxs("h1", { className: C.userName, children: [
1073
- c("namaste"),
1070
+ /* @__PURE__ */ t.jsxs("div", { className: b.greeting, children: [
1071
+ /* @__PURE__ */ t.jsx("p", { className: b.jaiShreeRam, children: l("jaiShreeRam") }),
1072
+ /* @__PURE__ */ t.jsxs("h1", { className: b.userName, children: [
1073
+ l("namaste"),
1074
1074
  ", ",
1075
1075
  L,
1076
1076
  " Ji"
1077
1077
  ] })
1078
1078
  ] }),
1079
- /* @__PURE__ */ t.jsxs("div", { className: C.registrationCard, children: [
1080
- /* @__PURE__ */ t.jsx("p", { className: C.registeredText, children: c("registeredFor") }),
1081
- /* @__PURE__ */ t.jsx("h2", { className: C.eventName, children: p }),
1082
- /* @__PURE__ */ t.jsxs("p", { className: C.eventDetails, children: [
1083
- j,
1079
+ /* @__PURE__ */ t.jsxs("div", { className: b.registrationCard, children: [
1080
+ /* @__PURE__ */ t.jsx("p", { className: b.registeredText, children: l("registeredFor") }),
1081
+ /* @__PURE__ */ t.jsx("h2", { className: b.eventName, children: p }),
1082
+ /* @__PURE__ */ t.jsxs("p", { className: b.eventDetails, children: [
1083
+ g,
1084
1084
  " · ",
1085
- l
1085
+ c
1086
1086
  ] })
1087
1087
  ] }),
1088
1088
  /* @__PURE__ */ t.jsx(
1089
1089
  "button",
1090
1090
  {
1091
- className: C.whatsappButton,
1091
+ className: b.whatsappButton,
1092
1092
  onClick: () => {
1093
- o?.trackWhatsappBtnClicked?.(), h?.("success", "Redirecting to WhatsApp..."), setTimeout(() => {
1093
+ i?.trackWhatsappBtnClicked?.(), h?.("success", "Redirecting to WhatsApp..."), setTimeout(() => {
1094
1094
  window.location.href = Ke;
1095
1095
  }, 500), d?.();
1096
1096
  },
1097
1097
  type: "button",
1098
- children: c("sendlinkonwhatsapp")
1098
+ children: l("sendlinkonwhatsapp")
1099
1099
  }
1100
1100
  ),
1101
- /* @__PURE__ */ t.jsxs("div", { className: C.redirectInfo, children: [
1102
- /* @__PURE__ */ t.jsx("p", { className: C.redirectText, children: c("redirectingIn") }),
1103
- /* @__PURE__ */ t.jsxs("p", { className: C.countdown, children: [
1104
- T.toString().padStart(2, "0"),
1101
+ /* @__PURE__ */ t.jsxs("div", { className: b.redirectInfo, children: [
1102
+ /* @__PURE__ */ t.jsx("p", { className: b.redirectText, children: l("redirectingIn") }),
1103
+ /* @__PURE__ */ t.jsxs("p", { className: b.countdown, children: [
1104
+ C.toString().padStart(2, "0"),
1105
1105
  " ",
1106
- c("seconds")
1106
+ l("seconds")
1107
1107
  ] })
1108
1108
  ] }),
1109
- /* @__PURE__ */ t.jsxs("div", { className: C.nextSteps, children: [
1110
- /* @__PURE__ */ t.jsx("h3", { className: C.nextStepsTitle, children: c("whatHappensNext") }),
1111
- /* @__PURE__ */ t.jsxs("div", { className: C.stepsList, children: [
1112
- /* @__PURE__ */ t.jsxs("div", { className: C.step, children: [
1113
- /* @__PURE__ */ t.jsx("span", { className: C.stepNumber, children: "1" }),
1114
- /* @__PURE__ */ t.jsx("p", { className: C.stepText, children: c("step1") })
1109
+ /* @__PURE__ */ t.jsxs("div", { className: b.nextSteps, children: [
1110
+ /* @__PURE__ */ t.jsx("h3", { className: b.nextStepsTitle, children: l("whatHappensNext") }),
1111
+ /* @__PURE__ */ t.jsxs("div", { className: b.stepsList, children: [
1112
+ /* @__PURE__ */ t.jsxs("div", { className: b.step, children: [
1113
+ /* @__PURE__ */ t.jsx("span", { className: b.stepNumber, children: "1" }),
1114
+ /* @__PURE__ */ t.jsx("p", { className: b.stepText, children: l("step1") })
1115
1115
  ] }),
1116
- /* @__PURE__ */ t.jsxs("div", { className: C.step, children: [
1117
- /* @__PURE__ */ t.jsx("span", { className: C.stepNumber, children: "2" }),
1118
- /* @__PURE__ */ t.jsx("p", { className: C.stepText, children: c("step2") })
1116
+ /* @__PURE__ */ t.jsxs("div", { className: b.step, children: [
1117
+ /* @__PURE__ */ t.jsx("span", { className: b.stepNumber, children: "2" }),
1118
+ /* @__PURE__ */ t.jsx("p", { className: b.stepText, children: l("step2") })
1119
1119
  ] }),
1120
- /* @__PURE__ */ t.jsxs("div", { className: C.step, children: [
1121
- /* @__PURE__ */ t.jsx("span", { className: C.stepNumber, children: "3" }),
1122
- /* @__PURE__ */ t.jsx("p", { className: C.stepText, children: c("step3") })
1120
+ /* @__PURE__ */ t.jsxs("div", { className: b.step, children: [
1121
+ /* @__PURE__ */ t.jsx("span", { className: b.stepNumber, children: "3" }),
1122
+ /* @__PURE__ */ t.jsx("p", { className: b.stepText, children: l("step3") })
1123
1123
  ] })
1124
1124
  ] })
1125
1125
  ] })
1126
1126
  ] }) });
1127
- }, hr = "_container_1asl5_2", xr = "_video_1asl5_24", _r = "_videoFullscreenWithBelowBanner_1asl5_36", vr = "_banner_1asl5_43", gr = "_bannerCard_1asl5_60", jr = "_bannerTitle_1asl5_68", br = "_scroll_1asl5_79", yr = "_card_1asl5_86", wr = "_divider_1asl5_96", Cr = "_chat_1asl5_105", Nr = "_iframe_1asl5_111", Tr = "_fullscreenBtn_1asl5_118", Sr = "_chatToggleBtn_1asl5_156", Er = "_chatToggleBtnText_1asl5_209", Pr = "_fullscreenChatPanel_1asl5_216", Rr = "_fullscreenChatCloseBtn_1asl5_229", kr = "_chatLoader_1asl5_258", Ar = "_chatLoaderCompact_1asl5_271", Ir = "_devotionalLoader_1asl5_275", Lr = "_chatLoaderText_1asl5_317", Or = "_imageWrapper_1asl5_341", Dr = "_image_1asl5_341", Fr = "_addBtn_1asl5_353", Br = "_title_1asl5_367", Wr = "_price_1asl5_374", $r = "_priceRow_1asl5_380", Mr = "_originalPrice_1asl5_388", Ur = "_discountBadge_1asl5_394", Yr = "_landscapeCard_1asl5_404", Hr = "_landscapeImageWrapper_1asl5_417", Vr = "_landscapeImage_1asl5_417", zr = "_landscapeContent_1asl5_430", Jr = "_landscapeTitle_1asl5_437", Kr = "_landscapePriceRow_1asl5_446", qr = "_landscapePrice_1asl5_446", Gr = "_landscapeOriginalPrice_1asl5_459", Xr = "_landscapeDiscount_1asl5_465", Zr = "_landscapeAdd_1asl5_475", Qr = "_paymentSuccessOverlay_1asl5_495", en = "_paymentSuccessCard_1asl5_506", tn = "_paymentSuccessTitle_1asl5_516", rn = "_paymentSuccessText_1asl5_523", nn = "_paymentSuccessBtn_1asl5_529", an = "_carousel_1asl5_546", sn = "_carouselTrack_1asl5_576", on = "_carouselSlide_1asl5_582", cn = "_carouselArrow_1asl5_587", ln = "_carouselArrowLeft_1asl5_612", dn = "_carouselArrowRight_1asl5_616", un = "_carouselDots_1asl5_621", pn = "_dot_1asl5_629", fn = "_dotActive_1asl5_640", mn = "_pujaBanner_1asl5_646", hn = "_pujaBannerPlaceholder_1asl5_662", a = {
1127
+ }, hr = "_container_1asl5_2", xr = "_video_1asl5_24", vr = "_videoFullscreenWithBelowBanner_1asl5_36", gr = "_banner_1asl5_43", _r = "_bannerCard_1asl5_60", jr = "_bannerTitle_1asl5_68", br = "_scroll_1asl5_79", wr = "_card_1asl5_86", yr = "_divider_1asl5_96", Cr = "_chat_1asl5_105", Nr = "_iframe_1asl5_111", Tr = "_fullscreenBtn_1asl5_118", Er = "_chatToggleBtn_1asl5_156", Pr = "_chatToggleBtnText_1asl5_209", Rr = "_fullscreenChatPanel_1asl5_216", Sr = "_fullscreenChatCloseBtn_1asl5_229", kr = "_chatLoader_1asl5_258", Ir = "_chatLoaderCompact_1asl5_271", Ar = "_devotionalLoader_1asl5_275", Lr = "_chatLoaderText_1asl5_317", Dr = "_imageWrapper_1asl5_341", Or = "_image_1asl5_341", Fr = "_addBtn_1asl5_353", Br = "_title_1asl5_367", Wr = "_price_1asl5_374", $r = "_priceRow_1asl5_380", Mr = "_originalPrice_1asl5_388", Yr = "_discountBadge_1asl5_394", Hr = "_landscapeCard_1asl5_404", Ur = "_landscapeImageWrapper_1asl5_417", Vr = "_landscapeImage_1asl5_417", zr = "_landscapeContent_1asl5_430", Jr = "_landscapeTitle_1asl5_437", Kr = "_landscapePriceRow_1asl5_446", qr = "_landscapePrice_1asl5_446", Xr = "_landscapeOriginalPrice_1asl5_459", Gr = "_landscapeDiscount_1asl5_465", Zr = "_landscapeAdd_1asl5_475", Qr = "_carousel_1asl5_546", en = "_carouselTrack_1asl5_576", tn = "_carouselSlide_1asl5_582", rn = "_carouselArrow_1asl5_587", nn = "_carouselArrowLeft_1asl5_612", an = "_carouselArrowRight_1asl5_616", sn = "_carouselDots_1asl5_621", on = "_dot_1asl5_629", cn = "_dotActive_1asl5_640", ln = "_pujaBanner_1asl5_646", dn = "_pujaBannerPlaceholder_1asl5_662", s = {
1128
1128
  container: hr,
1129
1129
  video: xr,
1130
- videoFullscreenWithBelowBanner: _r,
1131
- banner: vr,
1132
- bannerCard: gr,
1130
+ videoFullscreenWithBelowBanner: vr,
1131
+ banner: gr,
1132
+ bannerCard: _r,
1133
1133
  bannerTitle: jr,
1134
1134
  scroll: br,
1135
- card: yr,
1136
- divider: wr,
1135
+ card: wr,
1136
+ divider: yr,
1137
1137
  chat: Cr,
1138
1138
  iframe: Nr,
1139
1139
  fullscreenBtn: Tr,
1140
- chatToggleBtn: Sr,
1141
- chatToggleBtnText: Er,
1142
- fullscreenChatPanel: Pr,
1143
- fullscreenChatCloseBtn: Rr,
1140
+ chatToggleBtn: Er,
1141
+ chatToggleBtnText: Pr,
1142
+ fullscreenChatPanel: Rr,
1143
+ fullscreenChatCloseBtn: Sr,
1144
1144
  chatLoader: kr,
1145
- chatLoaderCompact: Ar,
1146
- devotionalLoader: Ir,
1145
+ chatLoaderCompact: Ir,
1146
+ devotionalLoader: Ar,
1147
1147
  chatLoaderText: Lr,
1148
- imageWrapper: Or,
1149
- image: Dr,
1148
+ imageWrapper: Dr,
1149
+ image: Or,
1150
1150
  addBtn: Fr,
1151
1151
  title: Br,
1152
1152
  price: Wr,
1153
1153
  priceRow: $r,
1154
1154
  originalPrice: Mr,
1155
- discountBadge: Ur,
1156
- landscapeCard: Yr,
1157
- landscapeImageWrapper: Hr,
1155
+ discountBadge: Yr,
1156
+ landscapeCard: Hr,
1157
+ landscapeImageWrapper: Ur,
1158
1158
  landscapeImage: Vr,
1159
1159
  landscapeContent: zr,
1160
1160
  landscapeTitle: Jr,
1161
1161
  landscapePriceRow: Kr,
1162
1162
  landscapePrice: qr,
1163
- landscapeOriginalPrice: Gr,
1164
- landscapeDiscount: Xr,
1163
+ landscapeOriginalPrice: Xr,
1164
+ landscapeDiscount: Gr,
1165
1165
  landscapeAdd: Zr,
1166
- paymentSuccessOverlay: Qr,
1167
- paymentSuccessCard: en,
1168
- paymentSuccessTitle: tn,
1169
- paymentSuccessText: rn,
1170
- paymentSuccessBtn: nn,
1171
- carousel: an,
1172
- carouselTrack: sn,
1173
- carouselSlide: on,
1174
- carouselArrow: cn,
1175
- carouselArrowLeft: ln,
1176
- carouselArrowRight: dn,
1177
- carouselDots: un,
1178
- dot: pn,
1179
- dotActive: fn,
1180
- pujaBanner: mn,
1181
- pujaBannerPlaceholder: hn
1182
- }, qe = "hanuman-live-sindoor", Ge = "hanuman-live-peda", Xe = "hanuman-live-sindoor-peda", J = {
1166
+ carousel: Qr,
1167
+ carouselTrack: en,
1168
+ carouselSlide: tn,
1169
+ carouselArrow: rn,
1170
+ carouselArrowLeft: nn,
1171
+ carouselArrowRight: an,
1172
+ carouselDots: sn,
1173
+ dot: on,
1174
+ dotActive: cn,
1175
+ pujaBanner: ln,
1176
+ pujaBannerPlaceholder: dn
1177
+ }, qe = "hanuman-live-sindoor", Xe = "hanuman-live-peda", Ge = "hanuman-live-sindoor-peda", z = {
1183
1178
  sindoor: "https://rzp.io/rzp/Pb7xgDj",
1184
1179
  peda: "https://rzp.io/rzp/LfL86khp",
1185
1180
  sindoorPeda: "https://rzp.io/rzp/NM9b4lx"
@@ -1191,23 +1186,23 @@ const ot = st(void 0), ct = () => {
1191
1186
  inventory_id: qe,
1192
1187
  name: "Sindoor",
1193
1188
  price: 51,
1194
- razorpay_link: J.sindoor,
1189
+ razorpay_link: z.sindoor,
1195
1190
  image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
1196
1191
  },
1197
1192
  {
1198
- inventory_id: Ge,
1193
+ inventory_id: Xe,
1199
1194
  name: "Peda",
1200
1195
  price: 101,
1201
- razorpay_link: J.peda,
1196
+ razorpay_link: z.peda,
1202
1197
  image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
1203
1198
  },
1204
1199
  {
1205
- inventory_id: Xe,
1200
+ inventory_id: Ge,
1206
1201
  name: "Sindoor + Peda",
1207
1202
  price: 121,
1208
1203
  original_price: "101 + 51",
1209
1204
  discount: "20%",
1210
- razorpay_link: J.sindoorPeda,
1205
+ razorpay_link: z.sindoorPeda,
1211
1206
  image_url: "https://srm-cdn.a4b.io/yoda/1774866992046.png"
1212
1207
  }
1213
1208
  ]
@@ -1219,160 +1214,132 @@ const ot = st(void 0), ct = () => {
1219
1214
  inventory_id: qe,
1220
1215
  name: "Sindoor",
1221
1216
  price: 51,
1222
- razorpay_link: J.sindoor,
1217
+ razorpay_link: z.sindoor,
1223
1218
  image_url: "https://srm-cdn.a4b.io/yoda/1774866984116.png"
1224
1219
  },
1225
1220
  {
1226
- inventory_id: Ge,
1221
+ inventory_id: Xe,
1227
1222
  name: "Peda",
1228
1223
  price: 101,
1229
- razorpay_link: J.peda,
1224
+ razorpay_link: z.peda,
1230
1225
  image_url: "https://srm-cdn.a4b.io/yoda/1774866963967.png"
1231
1226
  },
1232
1227
  {
1233
- inventory_id: Xe,
1228
+ inventory_id: Ge,
1234
1229
  name: "Sindoor + Peda",
1235
1230
  price: 121,
1236
1231
  original_price: "101 + 51",
1237
1232
  discount: "20%",
1238
- razorpay_link: J.sindoorPeda,
1233
+ razorpay_link: z.sindoorPeda,
1239
1234
  image_url: "https://srm-cdn.a4b.io/yoda/1774866992046.png"
1240
1235
  }
1241
1236
  ]
1242
1237
  }
1243
- ], Qe = (s) => {
1244
- if (!s)
1238
+ ], Qe = (a) => {
1239
+ if (!a)
1245
1240
  return;
1246
- const p = s.trim();
1241
+ const p = a.trim();
1247
1242
  if (!p)
1248
1243
  return;
1249
- const j = /^https?:\/\//i.test(p) ? p : `https://${p}`;
1244
+ const g = /^https?:\/\//i.test(p) ? p : `https://${p}`;
1250
1245
  try {
1251
- return new URL(j).hostname;
1246
+ return new URL(g).hostname;
1252
1247
  } catch {
1253
1248
  return p.replace(/^https?:\/\//i, "").replace(/\/$/, "").replace(/:\d+$/, "");
1254
1249
  }
1255
- }, En = ({
1256
- videoId: s,
1250
+ }, yn = ({
1251
+ videoId: a,
1257
1252
  title: p = "Live Stream",
1258
- chatHost: j,
1259
- isGlobal: l = !1,
1253
+ chatHost: g,
1254
+ isGlobal: c = !1,
1260
1255
  onOfferingClick: d
1261
1256
  }) => {
1262
- const _ = "offering_payment_status", o = "success", h = "offering_name", m = G(null), [g, c] = R(!1), [w, T] = R(!1), [b, O] = R(!0), [L, W] = R(!1), [D, E] = R(!1), [X, Z] = R(""), [N, $] = R(!1), [ue, pe] = R(""), ae = typeof window < "u" ? window.location.origin : "https://www.srimandir.com", fe = Qe(X) || Qe(j) || "www.srimandir.com", me = `https://www.youtube-nocookie.com/embed/${s}?fs=0&modestbranding=1&rel=0&playsinline=1&disablekb=1&iv_load_policy=3&origin=${encodeURIComponent(ae)}`, Q = `https://www.youtube.com/live_chat?v=${s}&embed_domain=${encodeURIComponent(
1263
- fe
1264
- )}`, M = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent);
1265
- I(() => {
1266
- const x = () => {
1267
- E(window.innerWidth > window.innerHeight);
1257
+ const v = q(null), [i, h] = S(!1), [f, T] = S(!1), [l, y] = S(!0), [C, _] = S(!1), [A, L] = S(!1), [B, F] = S(""), P = typeof window < "u" ? window.location.origin : "https://www.srimandir.com", X = Qe(B) || Qe(g) || "www.srimandir.com", G = `https://www.youtube-nocookie.com/embed/${a}?fs=0&modestbranding=1&rel=0&playsinline=1&disablekb=1&iv_load_policy=3&origin=${encodeURIComponent(P)}`, w = `https://www.youtube.com/live_chat?v=${a}&embed_domain=${encodeURIComponent(
1258
+ X
1259
+ )}`, W = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent);
1260
+ O(() => {
1261
+ const N = () => {
1262
+ L(window.innerWidth > window.innerHeight);
1268
1263
  };
1269
- return x(), window.addEventListener("resize", x), () => window.removeEventListener("resize", x);
1270
- }, []), I(() => {
1271
- typeof window < "u" && Z(window.location.hostname);
1272
- }, []), I(() => {
1273
- if (typeof window > "u")
1274
- return;
1275
- const x = new URL(window.location.href), B = x.searchParams.get(_), se = x.searchParams.get(h);
1276
- B === o && (pe(se || "Offering"), $(!0), x.searchParams.delete(_), x.searchParams.delete(h), window.history.replaceState({}, "", x.toString()));
1277
- }, [h, _, o]), I(() => {
1278
- if (!N)
1279
- return;
1280
- const x = window.setTimeout(() => {
1281
- $(!1);
1282
- }, 4e3);
1283
- return () => window.clearTimeout(x);
1284
- }, [N]);
1285
- const U = async () => {
1286
- const x = m.current;
1287
- if (x?.requestFullscreen)
1264
+ return N(), window.addEventListener("resize", N), () => window.removeEventListener("resize", N);
1265
+ }, []), O(() => {
1266
+ typeof window < "u" && F(window.location.hostname);
1267
+ }, []);
1268
+ const le = async () => {
1269
+ const N = v.current;
1270
+ if (N?.requestFullscreen)
1288
1271
  try {
1289
- await x.requestFullscreen();
1290
- } catch (B) {
1291
- console.error("Fullscreen error:", B);
1272
+ await N.requestFullscreen();
1273
+ } catch ($) {
1274
+ console.error("Fullscreen error:", $);
1292
1275
  }
1293
1276
  try {
1294
- const B = screen.orientation;
1295
- !M && B?.lock && await B.lock("landscape");
1296
- } catch (B) {
1297
- console.error("Orientation lock error:", B);
1277
+ const $ = screen.orientation;
1278
+ !W && $?.lock && await $.lock("landscape");
1279
+ } catch ($) {
1280
+ console.error("Orientation lock error:", $);
1298
1281
  }
1299
- c(!0);
1300
- }, Y = async () => {
1282
+ h(!0);
1283
+ }, ne = async () => {
1301
1284
  if (document.fullscreenElement && document.exitFullscreen)
1302
1285
  try {
1303
1286
  await document.exitFullscreen();
1304
- } catch (x) {
1305
- console.error("Exit fullscreen error:", x);
1287
+ } catch (N) {
1288
+ console.error("Exit fullscreen error:", N);
1306
1289
  }
1307
1290
  try {
1308
- const x = screen.orientation;
1309
- x?.unlock && x.unlock();
1310
- } catch (x) {
1311
- console.error("Orientation unlock error:", x);
1291
+ const N = screen.orientation;
1292
+ N?.unlock && N.unlock();
1293
+ } catch (N) {
1294
+ console.error("Orientation unlock error:", N);
1312
1295
  }
1313
- c(!1);
1296
+ h(!1);
1314
1297
  };
1315
- I(() => {
1316
- const x = () => {
1317
- document.fullscreenElement || c(!1);
1298
+ O(() => {
1299
+ const N = () => {
1300
+ document.fullscreenElement || h(!1);
1318
1301
  };
1319
- return document.addEventListener("fullscreenchange", x), () => document.removeEventListener("fullscreenchange", x);
1320
- }, []), I(() => {
1321
- g || T(!1);
1322
- }, [g]), I(() => {
1323
- w && W(!0);
1324
- }, [w]);
1325
- const ee = async (x) => {
1326
- g && document.fullscreenElement && await Y(), d && await d(x);
1302
+ return document.addEventListener("fullscreenchange", N), () => document.removeEventListener("fullscreenchange", N);
1303
+ }, []), O(() => {
1304
+ i || T(!1);
1305
+ }, [i]), O(() => {
1306
+ f && _(!0);
1307
+ }, [f]);
1308
+ const Z = async (N) => {
1309
+ i && document.fullscreenElement && await ne(), d && await d(N);
1327
1310
  };
1328
- return /* @__PURE__ */ t.jsxs("div", { ref: m, className: a.container, children: [
1329
- N && /* @__PURE__ */ t.jsx("div", { className: a.paymentSuccessOverlay, children: /* @__PURE__ */ t.jsxs("div", { className: a.paymentSuccessCard, children: [
1330
- /* @__PURE__ */ t.jsx("p", { className: a.paymentSuccessTitle, children: "Payment Success" }),
1331
- /* @__PURE__ */ t.jsxs("p", { className: a.paymentSuccessText, children: [
1332
- ue,
1333
- " payment completed successfully."
1334
- ] }),
1335
- /* @__PURE__ */ t.jsx(
1336
- "button",
1337
- {
1338
- className: a.paymentSuccessBtn,
1339
- onClick: () => $(!1),
1340
- "aria-label": "Close payment success message",
1341
- children: "Continue"
1342
- }
1343
- )
1344
- ] }) }),
1311
+ return /* @__PURE__ */ t.jsxs("div", { ref: v, className: s.container, children: [
1345
1312
  /* @__PURE__ */ t.jsxs(
1346
1313
  "div",
1347
1314
  {
1348
- className: g ? a.videoFullscreenWithBelowBanner : a.video,
1315
+ className: i ? s.videoFullscreenWithBelowBanner : s.video,
1349
1316
  children: [
1350
1317
  /* @__PURE__ */ t.jsx(
1351
1318
  "iframe",
1352
1319
  {
1353
- src: me,
1320
+ src: G,
1354
1321
  title: p,
1355
1322
  frameBorder: "0",
1356
1323
  allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
1357
1324
  sandbox: "allow-scripts allow-same-origin allow-presentation",
1358
1325
  referrerPolicy: "strict-origin-when-cross-origin",
1359
- className: a.iframe
1326
+ className: s.iframe
1360
1327
  }
1361
1328
  ),
1362
1329
  /* @__PURE__ */ t.jsx(
1363
1330
  "button",
1364
1331
  {
1365
- className: a.fullscreenBtn,
1366
- onClick: g ? Y : U,
1367
- "aria-label": g ? "Exit Fullscreen" : "Enter Fullscreen",
1368
- children: g ? "⤡" : "⤢"
1332
+ className: s.fullscreenBtn,
1333
+ onClick: i ? ne : le,
1334
+ "aria-label": i ? "Exit Fullscreen" : "Enter Fullscreen",
1335
+ children: i ? "⤡" : "⤢"
1369
1336
  }
1370
1337
  ),
1371
- g && !w && /* @__PURE__ */ t.jsxs(
1338
+ i && !f && /* @__PURE__ */ t.jsxs(
1372
1339
  "button",
1373
1340
  {
1374
- className: a.chatToggleBtn,
1375
- onClick: () => T((x) => !x),
1341
+ className: s.chatToggleBtn,
1342
+ onClick: () => T((N) => !N),
1376
1343
  "aria-label": "Show Chat",
1377
1344
  children: [
1378
1345
  /* @__PURE__ */ t.jsx(
@@ -1387,15 +1354,15 @@ const ot = st(void 0), ct = () => {
1387
1354
  children: /* @__PURE__ */ t.jsx("polyline", { points: "15 18 9 12 15 6" })
1388
1355
  }
1389
1356
  ),
1390
- /* @__PURE__ */ t.jsx("span", { className: a.chatToggleBtnText, children: "Live Chat" })
1357
+ /* @__PURE__ */ t.jsx("span", { className: s.chatToggleBtnText, children: "Live Chat" })
1391
1358
  ]
1392
1359
  }
1393
1360
  ),
1394
- g && w && /* @__PURE__ */ t.jsxs("div", { className: a.fullscreenChatPanel, children: [
1361
+ i && f && /* @__PURE__ */ t.jsxs("div", { className: s.fullscreenChatPanel, children: [
1395
1362
  /* @__PURE__ */ t.jsx(
1396
1363
  "button",
1397
1364
  {
1398
- className: a.fullscreenChatCloseBtn,
1365
+ className: s.fullscreenChatCloseBtn,
1399
1366
  onClick: () => T(!1),
1400
1367
  "aria-label": "Close chat",
1401
1368
  children: /* @__PURE__ */ t.jsxs(
@@ -1415,52 +1382,52 @@ const ot = st(void 0), ct = () => {
1415
1382
  )
1416
1383
  }
1417
1384
  ),
1418
- L && /* @__PURE__ */ t.jsx(et, { message: "Loading chat...", compact: !0 }),
1385
+ C && /* @__PURE__ */ t.jsx(et, { message: "Loading chat...", compact: !0 }),
1419
1386
  /* @__PURE__ */ t.jsx(
1420
1387
  "iframe",
1421
1388
  {
1422
- src: Q,
1389
+ src: w,
1423
1390
  title: "Live Chat Fullscreen",
1424
1391
  frameBorder: "0",
1425
- onLoad: () => W(!1),
1392
+ onLoad: () => _(!1),
1426
1393
  referrerPolicy: "origin",
1427
- className: a.iframe,
1428
- style: { opacity: L ? 0 : 1 }
1394
+ className: s.iframe,
1395
+ style: { opacity: C ? 0 : 1 }
1429
1396
  }
1430
1397
  )
1431
1398
  ] })
1432
1399
  ]
1433
1400
  }
1434
1401
  ),
1435
- g && /* @__PURE__ */ t.jsx(
1402
+ i && /* @__PURE__ */ t.jsx(
1436
1403
  tt,
1437
1404
  {
1438
- isGlobal: l,
1439
- isLandscape: D,
1440
- onOfferingClick: ee
1405
+ isGlobal: c,
1406
+ isLandscape: A,
1407
+ onOfferingClick: Z
1441
1408
  }
1442
1409
  ),
1443
- !g && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1410
+ !i && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1444
1411
  /* @__PURE__ */ t.jsx(
1445
1412
  tt,
1446
1413
  {
1447
- isGlobal: l,
1448
- isLandscape: D,
1449
- onOfferingClick: ee
1414
+ isGlobal: c,
1415
+ isLandscape: A,
1416
+ onOfferingClick: Z
1450
1417
  }
1451
1418
  ),
1452
- /* @__PURE__ */ t.jsxs("div", { className: a.chat, children: [
1453
- b && /* @__PURE__ */ t.jsx(et, { message: "Loading chat..." }),
1419
+ /* @__PURE__ */ t.jsxs("div", { className: s.chat, children: [
1420
+ l && /* @__PURE__ */ t.jsx(et, { message: "Loading chat..." }),
1454
1421
  /* @__PURE__ */ t.jsx(
1455
1422
  "iframe",
1456
1423
  {
1457
- src: Q,
1424
+ src: w,
1458
1425
  title: "Live Chat",
1459
1426
  frameBorder: "0",
1460
- onLoad: () => O(!1),
1427
+ onLoad: () => y(!1),
1461
1428
  referrerPolicy: "origin",
1462
- className: a.iframe,
1463
- style: { opacity: b ? 0 : 1 }
1429
+ className: s.iframe,
1430
+ style: { opacity: l ? 0 : 1 }
1464
1431
  }
1465
1432
  )
1466
1433
  ] })
@@ -1468,15 +1435,15 @@ const ot = st(void 0), ct = () => {
1468
1435
  ] });
1469
1436
  };
1470
1437
  function et({
1471
- message: s,
1438
+ message: a,
1472
1439
  compact: p = !1
1473
1440
  }) {
1474
1441
  return /* @__PURE__ */ t.jsxs(
1475
1442
  "div",
1476
1443
  {
1477
- className: `${a.chatLoader} ${p ? a.chatLoaderCompact : ""}`,
1444
+ className: `${s.chatLoader} ${p ? s.chatLoaderCompact : ""}`,
1478
1445
  children: [
1479
- /* @__PURE__ */ t.jsx("div", { className: a.devotionalLoader, children: /* @__PURE__ */ t.jsxs(
1446
+ /* @__PURE__ */ t.jsx("div", { className: s.devotionalLoader, children: /* @__PURE__ */ t.jsxs(
1480
1447
  "svg",
1481
1448
  {
1482
1449
  viewBox: "0 0 24 24",
@@ -1507,75 +1474,75 @@ function et({
1507
1474
  ]
1508
1475
  }
1509
1476
  ) }),
1510
- /* @__PURE__ */ t.jsx("div", { className: a.chatLoaderText, children: s })
1477
+ /* @__PURE__ */ t.jsx("div", { className: s.chatLoaderText, children: a })
1511
1478
  ]
1512
1479
  }
1513
1480
  );
1514
1481
  }
1515
- const lt = 300, xn = 60, _n = lt + xn, vn = 1620, K = 0, q = 1;
1516
- function gn() {
1517
- const [s, p] = R(0), j = G(Date.now());
1518
- I(() => {
1519
- const o = setInterval(() => {
1520
- p(Math.floor((Date.now() - j.current) / 1e3));
1482
+ const lt = 300, un = 60, pn = lt + un, fn = 1620, J = 0, K = 1;
1483
+ function mn() {
1484
+ const [a, p] = S(0), g = q(Date.now());
1485
+ O(() => {
1486
+ const i = setInterval(() => {
1487
+ p(Math.floor((Date.now() - g.current) / 1e3));
1521
1488
  }, 1e3);
1522
- return () => clearInterval(o);
1489
+ return () => clearInterval(i);
1523
1490
  }, []);
1524
- const l = s >= vn;
1525
- let d = K;
1526
- return l ? d = q : d = s % _n < lt ? K : q, { autoSlide: d, isLockedToPuja: l };
1491
+ const c = a >= fn;
1492
+ let d = J;
1493
+ return c ? d = K : d = a % pn < lt ? J : K, { autoSlide: d, isLockedToPuja: c };
1527
1494
  }
1528
1495
  function tt({
1529
- isGlobal: s,
1496
+ isGlobal: a,
1530
1497
  isLandscape: p,
1531
- onOfferingClick: j
1498
+ onOfferingClick: g
1532
1499
  }) {
1533
- const { autoSlide: l, isLockedToPuja: d } = gn(), [_, o] = R(null), h = G(null), m = G(0);
1534
- I(() => {
1535
- o(null);
1536
- }, [l]);
1537
- const g = _ !== null ? _ : l, c = Ft(
1538
- (b) => {
1539
- d || (o(b), h.current && clearTimeout(h.current), h.current = setTimeout(() => o(null), 1e4));
1500
+ const { autoSlide: c, isLockedToPuja: d } = mn(), [v, i] = S(null), h = q(null), f = q(0);
1501
+ O(() => {
1502
+ i(null);
1503
+ }, [c]);
1504
+ const T = v !== null ? v : c, l = Ft(
1505
+ (_) => {
1506
+ d || (i(_), h.current && clearTimeout(h.current), h.current = setTimeout(() => i(null), 1e4));
1540
1507
  },
1541
1508
  [d]
1542
1509
  );
1543
- I(() => () => {
1510
+ O(() => () => {
1544
1511
  h.current && clearTimeout(h.current);
1545
1512
  }, []);
1546
- const w = (b) => {
1547
- d || (m.current = b.touches[0].clientX);
1548
- }, T = (b) => {
1513
+ const y = (_) => {
1514
+ d || (f.current = _.touches[0].clientX);
1515
+ }, C = (_) => {
1549
1516
  if (d) return;
1550
- const O = m.current - b.changedTouches[0].clientX;
1551
- Math.abs(O) < 50 || (O > 0 ? c(q) : c(K));
1517
+ const A = f.current - _.changedTouches[0].clientX;
1518
+ Math.abs(A) < 50 || (A > 0 ? l(K) : l(J));
1552
1519
  };
1553
- return s ? /* @__PURE__ */ t.jsx("div", { className: a.carousel, children: /* @__PURE__ */ t.jsx(rt, {}) }) : /* @__PURE__ */ t.jsxs("div", { className: a.carousel, children: [
1520
+ return a ? /* @__PURE__ */ t.jsx("div", { className: s.carousel, children: /* @__PURE__ */ t.jsx(rt, {}) }) : /* @__PURE__ */ t.jsxs("div", { className: s.carousel, children: [
1554
1521
  /* @__PURE__ */ t.jsxs(
1555
1522
  "div",
1556
1523
  {
1557
- className: a.carouselTrack,
1558
- style: { transform: `translateX(-${g * 50}%)` },
1559
- onTouchStart: w,
1560
- onTouchEnd: T,
1524
+ className: s.carouselTrack,
1525
+ style: { transform: `translateX(-${T * 50}%)` },
1526
+ onTouchStart: y,
1527
+ onTouchEnd: C,
1561
1528
  children: [
1562
- /* @__PURE__ */ t.jsx("div", { className: a.carouselSlide, children: /* @__PURE__ */ t.jsx(
1563
- jn,
1529
+ /* @__PURE__ */ t.jsx("div", { className: s.carouselSlide, children: /* @__PURE__ */ t.jsx(
1530
+ hn,
1564
1531
  {
1565
1532
  isLandscape: p,
1566
- onOfferingClick: j
1533
+ onOfferingClick: g
1567
1534
  }
1568
1535
  ) }),
1569
- /* @__PURE__ */ t.jsx("div", { className: a.carouselSlide, children: /* @__PURE__ */ t.jsx(rt, {}) })
1536
+ /* @__PURE__ */ t.jsx("div", { className: s.carouselSlide, children: /* @__PURE__ */ t.jsx(rt, {}) })
1570
1537
  ]
1571
1538
  }
1572
1539
  ),
1573
1540
  !d && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1574
- g !== K && /* @__PURE__ */ t.jsx(
1541
+ T !== J && /* @__PURE__ */ t.jsx(
1575
1542
  "button",
1576
1543
  {
1577
- className: `${a.carouselArrow} ${a.carouselArrowLeft}`,
1578
- onClick: () => c(K),
1544
+ className: `${s.carouselArrow} ${s.carouselArrowLeft}`,
1545
+ onClick: () => l(J),
1579
1546
  "aria-label": "Previous slide",
1580
1547
  children: /* @__PURE__ */ t.jsx(
1581
1548
  "svg",
@@ -1593,11 +1560,11 @@ function tt({
1593
1560
  )
1594
1561
  }
1595
1562
  ),
1596
- g !== q && /* @__PURE__ */ t.jsx(
1563
+ T !== K && /* @__PURE__ */ t.jsx(
1597
1564
  "button",
1598
1565
  {
1599
- className: `${a.carouselArrow} ${a.carouselArrowRight}`,
1600
- onClick: () => c(q),
1566
+ className: `${s.carouselArrow} ${s.carouselArrowRight}`,
1567
+ onClick: () => l(K),
1601
1568
  "aria-label": "Next slide",
1602
1569
  children: /* @__PURE__ */ t.jsx(
1603
1570
  "svg",
@@ -1616,149 +1583,150 @@ function tt({
1616
1583
  }
1617
1584
  )
1618
1585
  ] }),
1619
- !d && /* @__PURE__ */ t.jsx("div", { className: a.carouselDots, children: [K, q].map((b) => /* @__PURE__ */ t.jsx(
1586
+ !d && /* @__PURE__ */ t.jsx("div", { className: s.carouselDots, children: [J, K].map((_) => /* @__PURE__ */ t.jsx(
1620
1587
  "button",
1621
1588
  {
1622
- className: `${a.dot} ${g === b ? a.dotActive : ""}`,
1623
- onClick: () => c(b),
1624
- "aria-label": `Go to slide ${b + 1}`
1589
+ className: `${s.dot} ${T === _ ? s.dotActive : ""}`,
1590
+ onClick: () => l(_),
1591
+ "aria-label": `Go to slide ${_ + 1}`
1625
1592
  },
1626
- b
1593
+ _
1627
1594
  )) })
1628
1595
  ] });
1629
1596
  }
1630
- function jn({
1631
- isLandscape: s,
1597
+ function hn({
1598
+ isLandscape: a,
1632
1599
  onOfferingClick: p
1633
1600
  }) {
1634
- const l = (() => {
1635
- const _ = /* @__PURE__ */ new Date();
1636
- return Ze.slice().reverse().find((h) => new Date(h.afterTime) <= _) || Ze[0];
1637
- })(), d = async (_) => {
1601
+ const c = (() => {
1602
+ const v = /* @__PURE__ */ new Date();
1603
+ return Ze.slice().reverse().find((h) => new Date(h.afterTime) <= v) || Ze[0];
1604
+ })(), d = async (v) => {
1638
1605
  if (p)
1639
1606
  try {
1640
- await p(_);
1641
- } catch (o) {
1642
- console.error("Offering click handler failed:", o);
1607
+ await p(v);
1608
+ } catch (i) {
1609
+ console.error("Offering click handler failed:", i);
1643
1610
  }
1644
1611
  };
1645
- return /* @__PURE__ */ t.jsx("div", { className: a.banner, children: /* @__PURE__ */ t.jsxs("div", { className: a.bannerCard, children: [
1646
- /* @__PURE__ */ t.jsxs("p", { className: a.bannerTitle, children: [
1612
+ return /* @__PURE__ */ t.jsx("div", { className: s.banner, children: /* @__PURE__ */ t.jsxs("div", { className: s.bannerCard, children: [
1613
+ /* @__PURE__ */ t.jsxs("p", { className: s.bannerTitle, children: [
1647
1614
  "Make ",
1648
1615
  /* @__PURE__ */ t.jsx("span", { children: "Live" }),
1649
1616
  " Offering on your behalf"
1650
1617
  ] }),
1651
- /* @__PURE__ */ t.jsx("div", { className: a.scroll, children: l.items.map(
1652
- (_, o) => s ? /* @__PURE__ */ t.jsx(
1653
- yn,
1618
+ /* @__PURE__ */ t.jsx("div", { className: s.scroll, children: c.items.map(
1619
+ (v, i) => a ? /* @__PURE__ */ t.jsx(
1620
+ vn,
1654
1621
  {
1655
- item: _,
1656
- onClick: () => d(_)
1622
+ item: v,
1623
+ onClick: () => d(v)
1657
1624
  },
1658
- _.inventory_id
1625
+ v.inventory_id
1659
1626
  ) : /* @__PURE__ */ t.jsx(
1660
- bn,
1627
+ xn,
1661
1628
  {
1662
- item: _,
1663
- index: o,
1664
- totalItems: l.items.length,
1665
- onClick: () => d(_)
1629
+ item: v,
1630
+ index: i,
1631
+ totalItems: c.items.length,
1632
+ onClick: () => d(v)
1666
1633
  },
1667
- _.inventory_id
1634
+ v.inventory_id
1668
1635
  )
1669
1636
  ) })
1670
1637
  ] }) });
1671
1638
  }
1672
1639
  function rt() {
1673
- return /* @__PURE__ */ t.jsx("div", { className: a.pujaBanner, children: /* @__PURE__ */ t.jsx("div", { className: a.pujaBannerPlaceholder, children: "Puja Banner Coming Soon" }) });
1640
+ return /* @__PURE__ */ t.jsx("div", { className: s.pujaBanner, children: /* @__PURE__ */ t.jsx("div", { className: s.pujaBannerPlaceholder, children: "Puja Banner Coming Soon" }) });
1674
1641
  }
1675
- function bn({
1676
- item: s,
1642
+ function xn({
1643
+ item: a,
1677
1644
  index: p,
1678
- totalItems: j,
1679
- onClick: l
1645
+ totalItems: g,
1646
+ onClick: c
1680
1647
  }) {
1681
- return /* @__PURE__ */ t.jsxs("div", { className: a.card, children: [
1682
- /* @__PURE__ */ t.jsxs("div", { className: a.imageWrapper, children: [
1683
- /* @__PURE__ */ t.jsx("img", { src: s.image_url, alt: s.name, className: a.image }),
1648
+ return /* @__PURE__ */ t.jsxs("div", { className: s.card, children: [
1649
+ /* @__PURE__ */ t.jsxs("div", { className: s.imageWrapper, children: [
1650
+ /* @__PURE__ */ t.jsx("img", { src: a.image_url, alt: a.name, className: s.image }),
1684
1651
  /* @__PURE__ */ t.jsx(
1685
1652
  "button",
1686
1653
  {
1687
- className: a.addBtn,
1688
- onClick: l,
1689
- "aria-label": `Add ${s.name}`,
1654
+ className: s.addBtn,
1655
+ onClick: c,
1656
+ "aria-label": `Add ${a.name}`,
1690
1657
  children: "+"
1691
1658
  }
1692
1659
  )
1693
1660
  ] }),
1694
- /* @__PURE__ */ t.jsx("p", { className: a.title, children: s.name }),
1695
- /* @__PURE__ */ t.jsxs("div", { className: a.priceRow, children: [
1696
- /* @__PURE__ */ t.jsxs("span", { className: a.price, children: [
1661
+ /* @__PURE__ */ t.jsx("p", { className: s.title, children: a.name }),
1662
+ /* @__PURE__ */ t.jsxs("div", { className: s.priceRow, children: [
1663
+ /* @__PURE__ */ t.jsxs("span", { className: s.price, children: [
1697
1664
  "₹",
1698
- s.price
1665
+ a.price
1699
1666
  ] }),
1700
- s.original_price && /* @__PURE__ */ t.jsxs("span", { className: a.originalPrice, children: [
1667
+ a.original_price && /* @__PURE__ */ t.jsxs("span", { className: s.originalPrice, children: [
1701
1668
  "₹",
1702
- s.original_price
1669
+ a.original_price
1703
1670
  ] }),
1704
- s.discount && /* @__PURE__ */ t.jsxs("span", { className: a.discountBadge, children: [
1671
+ a.discount && /* @__PURE__ */ t.jsxs("span", { className: s.discountBadge, children: [
1705
1672
  "Save ",
1706
- s.discount
1673
+ a.discount
1707
1674
  ] })
1708
1675
  ] }),
1709
- p !== j - 1 && /* @__PURE__ */ t.jsx("div", { className: a.divider })
1676
+ p !== g - 1 && /* @__PURE__ */ t.jsx("div", { className: s.divider })
1710
1677
  ] });
1711
1678
  }
1712
- function yn({
1713
- item: s,
1679
+ function vn({
1680
+ item: a,
1714
1681
  onClick: p
1715
1682
  }) {
1716
- return /* @__PURE__ */ t.jsxs("div", { className: a.landscapeCard, children: [
1717
- /* @__PURE__ */ t.jsxs("div", { className: a.landscapeImageWrapper, children: [
1683
+ return /* @__PURE__ */ t.jsxs("div", { className: s.landscapeCard, children: [
1684
+ /* @__PURE__ */ t.jsxs("div", { className: s.landscapeImageWrapper, children: [
1718
1685
  /* @__PURE__ */ t.jsx(
1719
1686
  "img",
1720
1687
  {
1721
- src: s.image_url,
1722
- alt: s.name,
1723
- className: a.landscapeImage
1688
+ src: a.image_url,
1689
+ alt: a.name,
1690
+ className: s.landscapeImage
1724
1691
  }
1725
1692
  ),
1726
1693
  /* @__PURE__ */ t.jsx(
1727
1694
  "button",
1728
1695
  {
1729
- className: a.landscapeAdd,
1696
+ className: s.landscapeAdd,
1730
1697
  onClick: p,
1731
- "aria-label": `Add ${s.name}`,
1698
+ "aria-label": `Add ${a.name}`,
1732
1699
  children: "+"
1733
1700
  }
1734
1701
  )
1735
1702
  ] }),
1736
- /* @__PURE__ */ t.jsxs("div", { className: a.landscapeContent, children: [
1737
- /* @__PURE__ */ t.jsx("p", { className: a.landscapeTitle, children: s.name }),
1738
- /* @__PURE__ */ t.jsxs("div", { className: a.landscapePriceRow, children: [
1739
- /* @__PURE__ */ t.jsxs("span", { className: a.landscapePrice, children: [
1703
+ /* @__PURE__ */ t.jsxs("div", { className: s.landscapeContent, children: [
1704
+ /* @__PURE__ */ t.jsx("p", { className: s.landscapeTitle, children: a.name }),
1705
+ /* @__PURE__ */ t.jsxs("div", { className: s.landscapePriceRow, children: [
1706
+ /* @__PURE__ */ t.jsxs("span", { className: s.landscapePrice, children: [
1740
1707
  "₹",
1741
- s.price
1708
+ a.price
1742
1709
  ] }),
1743
- s.original_price && /* @__PURE__ */ t.jsxs("span", { className: a.landscapeOriginalPrice, children: [
1710
+ a.original_price && /* @__PURE__ */ t.jsxs("span", { className: s.landscapeOriginalPrice, children: [
1744
1711
  "₹",
1745
- s.original_price
1712
+ a.original_price
1746
1713
  ] }),
1747
- s.discount && /* @__PURE__ */ t.jsxs("span", { className: a.landscapeDiscount, children: [
1714
+ a.discount && /* @__PURE__ */ t.jsxs("span", { className: s.landscapeDiscount, children: [
1748
1715
  "Save ",
1749
- s.discount
1716
+ a.discount
1750
1717
  ] })
1751
1718
  ] })
1752
1719
  ] })
1753
1720
  ] });
1754
1721
  }
1755
1722
  export {
1756
- Nn as AppContextProvider,
1757
- Cn as I18nProvider,
1758
- Tn as LandingPage,
1759
- Sn as SuccessPage,
1760
- En as VideoPage,
1723
+ jn as AppContextProvider,
1724
+ Ze as BANNER_ITEMS,
1725
+ _n as I18nProvider,
1726
+ bn as LandingPage,
1727
+ wn as SuccessPage,
1728
+ yn as VideoPage,
1761
1729
  ct as useAppContext,
1762
- we as useI18n
1730
+ ge as useI18n
1763
1731
  };
1764
1732
  //# sourceMappingURL=hanuman-chalisa.js.map