@srimandir/make-your-own-ritual 0.1.9 → 0.1.10
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,6 +1,6 @@
|
|
|
1
1
|
import { createI18n as Vt, BottomSheet as dt, cn as Q } from "@srimandir/common";
|
|
2
2
|
import { SelectorCard as Me, Button as He, ALL_ANCESTORS_ID as je, StepProgressHeader as ut, AudioQuestionCard as ht, ANCESTOR_OPTIONS as ft, Chip as Be, AddAncestorSheet as Kt, getMonthLabels as qt, TITHI_NAME_KEYS as at, AncestorTabRow as Jt, DEATH_TITHI_OPTIONS as Qt, SelectorCardEditableField as rt, formatDisplayDate as ot, SelectorCardNote as Xt, TithiPickerSheet as Zt, getAncestorAvatarUrl as Le, DatePickerSheet as ea, formatIsoDate as ta, parseIsoDate as aa, AvatarCardDialog as ra, TopBar as oa, EventHeader as na, RitualProceedBar as ia } from "@srimandir/pitru-paksh-common";
|
|
3
|
-
import { ALL_ANCESTORS_ID as
|
|
3
|
+
import { ALL_ANCESTORS_ID as tn, ANCESTOR_OPTIONS as an } from "@srimandir/pitru-paksh-common";
|
|
4
4
|
import U, { useState as ae, useMemo as ke, useEffect as sa } from "react";
|
|
5
5
|
const ca = {
|
|
6
6
|
// Header
|
|
@@ -157,7 +157,7 @@ const ca = {
|
|
|
157
157
|
}, ha = {
|
|
158
158
|
en: ca,
|
|
159
159
|
hi: la
|
|
160
|
-
}, pt = Vt(ha),
|
|
160
|
+
}, pt = Vt(ha), Vo = pt.I18nProvider;
|
|
161
161
|
function Re() {
|
|
162
162
|
return pt.useI18n();
|
|
163
163
|
}
|
|
@@ -166,25 +166,25 @@ var nt;
|
|
|
166
166
|
function fa() {
|
|
167
167
|
if (nt) return fe;
|
|
168
168
|
nt = 1;
|
|
169
|
-
var a = U,
|
|
170
|
-
function
|
|
169
|
+
var a = U, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, u = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, _ = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
170
|
+
function m(y, s, d) {
|
|
171
171
|
var j, C = {}, E = null, L = null;
|
|
172
172
|
d !== void 0 && (E = "" + d), s.key !== void 0 && (E = "" + s.key), s.ref !== void 0 && (L = s.ref);
|
|
173
|
-
for (j in s)
|
|
173
|
+
for (j in s) n.call(s, j) && !_.hasOwnProperty(j) && (C[j] = s[j]);
|
|
174
174
|
if (y && y.defaultProps) for (j in s = y.defaultProps, s) C[j] === void 0 && (C[j] = s[j]);
|
|
175
|
-
return { $$typeof:
|
|
175
|
+
return { $$typeof: o, type: y, key: E, ref: L, props: C, _owner: u.current };
|
|
176
176
|
}
|
|
177
|
-
return fe.Fragment = c, fe.jsx =
|
|
177
|
+
return fe.Fragment = c, fe.jsx = m, fe.jsxs = m, fe;
|
|
178
178
|
}
|
|
179
179
|
var pe = {};
|
|
180
180
|
var it;
|
|
181
181
|
function pa() {
|
|
182
182
|
return it || (it = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
183
|
-
var a = U,
|
|
183
|
+
var a = U, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), u = /* @__PURE__ */ Symbol.for("react.strict_mode"), _ = /* @__PURE__ */ Symbol.for("react.profiler"), m = /* @__PURE__ */ Symbol.for("react.provider"), y = /* @__PURE__ */ Symbol.for("react.context"), s = /* @__PURE__ */ Symbol.for("react.forward_ref"), d = /* @__PURE__ */ Symbol.for("react.suspense"), j = /* @__PURE__ */ Symbol.for("react.suspense_list"), C = /* @__PURE__ */ Symbol.for("react.memo"), E = /* @__PURE__ */ Symbol.for("react.lazy"), L = /* @__PURE__ */ Symbol.for("react.offscreen"), M = Symbol.iterator, F = "@@iterator";
|
|
184
184
|
function X(e) {
|
|
185
185
|
if (e === null || typeof e != "object")
|
|
186
186
|
return null;
|
|
187
|
-
var r = M && e[M] || e[
|
|
187
|
+
var r = M && e[M] || e[F];
|
|
188
188
|
return typeof r == "function" ? r : null;
|
|
189
189
|
}
|
|
190
190
|
var D = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -208,7 +208,7 @@ function pa() {
|
|
|
208
208
|
var K = !1, le = !1, k = !1, q = !1, me = !1, Z;
|
|
209
209
|
Z = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
210
210
|
function ee(e) {
|
|
211
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
211
|
+
return !!(typeof e == "string" || typeof e == "function" || e === n || e === _ || me || e === u || e === d || e === j || q || e === L || K || le || k || typeof e == "object" && e !== null && (e.$$typeof === E || e.$$typeof === C || e.$$typeof === m || e.$$typeof === y || e.$$typeof === s || // This needs to include all possible module reference object
|
|
212
212
|
// types supported by any Flight configuration anywhere since
|
|
213
213
|
// we don't know which Flight build this will end up being used
|
|
214
214
|
// with.
|
|
@@ -232,11 +232,11 @@ function pa() {
|
|
|
232
232
|
if (typeof e == "string")
|
|
233
233
|
return e;
|
|
234
234
|
switch (e) {
|
|
235
|
-
case
|
|
235
|
+
case n:
|
|
236
236
|
return "Fragment";
|
|
237
237
|
case c:
|
|
238
238
|
return "Portal";
|
|
239
|
-
case
|
|
239
|
+
case _:
|
|
240
240
|
return "Profiler";
|
|
241
241
|
case u:
|
|
242
242
|
return "StrictMode";
|
|
@@ -250,7 +250,7 @@ function pa() {
|
|
|
250
250
|
case y:
|
|
251
251
|
var r = e;
|
|
252
252
|
return oe(r) + ".Consumer";
|
|
253
|
-
case
|
|
253
|
+
case m:
|
|
254
254
|
var i = e;
|
|
255
255
|
return oe(i._context) + ".Provider";
|
|
256
256
|
case s:
|
|
@@ -269,14 +269,14 @@ function pa() {
|
|
|
269
269
|
}
|
|
270
270
|
return null;
|
|
271
271
|
}
|
|
272
|
-
var Y = Object.assign, J = 0, de, ye, f,
|
|
272
|
+
var Y = Object.assign, J = 0, de, ye, f, O, w, G, ne;
|
|
273
273
|
function ue() {
|
|
274
274
|
}
|
|
275
275
|
ue.__reactDisabledLog = !0;
|
|
276
276
|
function gt() {
|
|
277
277
|
{
|
|
278
278
|
if (J === 0) {
|
|
279
|
-
de = console.log, ye = console.info, f = console.warn,
|
|
279
|
+
de = console.log, ye = console.info, f = console.warn, O = console.error, w = console.group, G = console.groupCollapsed, ne = console.groupEnd;
|
|
280
280
|
var e = {
|
|
281
281
|
configurable: !0,
|
|
282
282
|
enumerable: !0,
|
|
@@ -315,7 +315,7 @@ function pa() {
|
|
|
315
315
|
value: f
|
|
316
316
|
}),
|
|
317
317
|
error: Y({}, e, {
|
|
318
|
-
value:
|
|
318
|
+
value: O
|
|
319
319
|
}),
|
|
320
320
|
group: Y({}, e, {
|
|
321
321
|
value: w
|
|
@@ -331,27 +331,27 @@ function pa() {
|
|
|
331
331
|
J < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
|
-
var Ae = D.ReactCurrentDispatcher,
|
|
334
|
+
var Ae = D.ReactCurrentDispatcher, Pe;
|
|
335
335
|
function ve(e, r, i) {
|
|
336
336
|
{
|
|
337
|
-
if (
|
|
337
|
+
if (Pe === void 0)
|
|
338
338
|
try {
|
|
339
339
|
throw Error();
|
|
340
340
|
} catch (g) {
|
|
341
341
|
var l = g.stack.trim().match(/\n( *(at )?)/);
|
|
342
|
-
|
|
342
|
+
Pe = l && l[1] || "";
|
|
343
343
|
}
|
|
344
344
|
return `
|
|
345
|
-
` +
|
|
345
|
+
` + Pe + e;
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
var
|
|
348
|
+
var Oe = !1, _e;
|
|
349
349
|
{
|
|
350
350
|
var Tt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
351
351
|
_e = new Tt();
|
|
352
352
|
}
|
|
353
|
-
function
|
|
354
|
-
if (!e ||
|
|
353
|
+
function Fe(e, r) {
|
|
354
|
+
if (!e || Oe)
|
|
355
355
|
return "";
|
|
356
356
|
{
|
|
357
357
|
var i = _e.get(e);
|
|
@@ -359,7 +359,7 @@ function pa() {
|
|
|
359
359
|
return i;
|
|
360
360
|
}
|
|
361
361
|
var l;
|
|
362
|
-
|
|
362
|
+
Oe = !0;
|
|
363
363
|
var g = Error.prepareStackTrace;
|
|
364
364
|
Error.prepareStackTrace = void 0;
|
|
365
365
|
var T;
|
|
@@ -416,13 +416,13 @@ function pa() {
|
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
418
|
} finally {
|
|
419
|
-
|
|
419
|
+
Oe = !1, Ae.current = T, xt(), Error.prepareStackTrace = g;
|
|
420
420
|
}
|
|
421
421
|
var se = e ? e.displayName || e.name : "", te = se ? ve(se) : "";
|
|
422
422
|
return typeof e == "function" && _e.set(e, te), te;
|
|
423
423
|
}
|
|
424
424
|
function jt(e, r, i) {
|
|
425
|
-
return
|
|
425
|
+
return Fe(e, !1);
|
|
426
426
|
}
|
|
427
427
|
function kt(e) {
|
|
428
428
|
var r = e.prototype;
|
|
@@ -432,7 +432,7 @@ function pa() {
|
|
|
432
432
|
if (e == null)
|
|
433
433
|
return "";
|
|
434
434
|
if (typeof e == "function")
|
|
435
|
-
return
|
|
435
|
+
return Fe(e, kt(e));
|
|
436
436
|
if (typeof e == "string")
|
|
437
437
|
return ve(e);
|
|
438
438
|
switch (e) {
|
|
@@ -508,13 +508,13 @@ function pa() {
|
|
|
508
508
|
if (At(e))
|
|
509
509
|
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Rt(e)), Ue(e);
|
|
510
510
|
}
|
|
511
|
-
var Ge = D.ReactCurrentOwner,
|
|
511
|
+
var Ge = D.ReactCurrentOwner, Pt = {
|
|
512
512
|
key: !0,
|
|
513
513
|
ref: !0,
|
|
514
514
|
__self: !0,
|
|
515
515
|
__source: !0
|
|
516
516
|
}, Ve, Ke;
|
|
517
|
-
function
|
|
517
|
+
function Ot(e) {
|
|
518
518
|
if (he.call(e, "ref")) {
|
|
519
519
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
520
520
|
if (r && r.isReactWarning)
|
|
@@ -558,7 +558,7 @@ function pa() {
|
|
|
558
558
|
var It = function(e, r, i, l, g, T, v) {
|
|
559
559
|
var p = {
|
|
560
560
|
// This tag allows us to uniquely identify this as a React Element
|
|
561
|
-
$$typeof:
|
|
561
|
+
$$typeof: o,
|
|
562
562
|
// Built-in properties that belong on the element
|
|
563
563
|
type: e,
|
|
564
564
|
key: r,
|
|
@@ -587,9 +587,9 @@ function pa() {
|
|
|
587
587
|
function Bt(e, r, i, l, g) {
|
|
588
588
|
{
|
|
589
589
|
var T, v = {}, p = null, I = null;
|
|
590
|
-
i !== void 0 && (ze(i), p = "" + i), wt(r) && (ze(r.key), p = "" + r.key),
|
|
590
|
+
i !== void 0 && (ze(i), p = "" + i), wt(r) && (ze(r.key), p = "" + r.key), Ot(r) && (I = r.ref, Nt(r, g));
|
|
591
591
|
for (T in r)
|
|
592
|
-
he.call(r, T) && !
|
|
592
|
+
he.call(r, T) && !Pt.hasOwnProperty(T) && (v[T] = r[T]);
|
|
593
593
|
if (e && e.defaultProps) {
|
|
594
594
|
var R = e.defaultProps;
|
|
595
595
|
for (T in R)
|
|
@@ -613,7 +613,7 @@ function pa() {
|
|
|
613
613
|
var Ee;
|
|
614
614
|
Ee = !1;
|
|
615
615
|
function De(e) {
|
|
616
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
616
|
+
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
617
617
|
}
|
|
618
618
|
function Je() {
|
|
619
619
|
{
|
|
@@ -700,7 +700,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
700
700
|
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
701
701
|
}
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function $t(e) {
|
|
704
704
|
{
|
|
705
705
|
for (var r = Object.keys(e.props), i = 0; i < r.length; i++) {
|
|
706
706
|
var l = r[i];
|
|
@@ -722,7 +722,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
722
722
|
var I = Lt();
|
|
723
723
|
I ? p += I : p += Je();
|
|
724
724
|
var R;
|
|
725
|
-
e === null ? R = "null" : we(e) ? R = "array" : e !== void 0 && e.$$typeof ===
|
|
725
|
+
e === null ? R = "null" : we(e) ? R = "array" : e !== void 0 && e.$$typeof === o ? (R = "<" + (h(e.type) || "Unknown") + " />", p = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, p);
|
|
726
726
|
}
|
|
727
727
|
var A = Bt(e, r, i, g, T);
|
|
728
728
|
if (A == null)
|
|
@@ -754,17 +754,17 @@ React keys must be passed directly to JSX without using spread:
|
|
|
754
754
|
<%s key={someKey} {...props} />`, Ie, te, zt, te), et[te + Ie] = !0;
|
|
755
755
|
}
|
|
756
756
|
}
|
|
757
|
-
return e ===
|
|
757
|
+
return e === n ? $t(A) : Ht(A), A;
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
|
-
function
|
|
760
|
+
function Ft(e, r, i) {
|
|
761
761
|
return tt(e, r, i, !0);
|
|
762
762
|
}
|
|
763
763
|
function Yt(e, r, i) {
|
|
764
764
|
return tt(e, r, i, !1);
|
|
765
765
|
}
|
|
766
|
-
var Wt = Yt, Ut =
|
|
767
|
-
pe.Fragment =
|
|
766
|
+
var Wt = Yt, Ut = Ft;
|
|
767
|
+
pe.Fragment = n, pe.jsx = Wt, pe.jsxs = Ut;
|
|
768
768
|
})()), pe;
|
|
769
769
|
}
|
|
770
770
|
var st;
|
|
@@ -778,89 +778,89 @@ var t = ma(), mt = {
|
|
|
778
778
|
style: void 0,
|
|
779
779
|
attr: void 0
|
|
780
780
|
}, ct = U.createContext && /* @__PURE__ */ U.createContext(mt), ya = ["attr", "size", "title"];
|
|
781
|
-
function va(a,
|
|
781
|
+
function va(a, o) {
|
|
782
782
|
if (a == null) return {};
|
|
783
|
-
var c,
|
|
783
|
+
var c, n, u = _a(a, o);
|
|
784
784
|
if (Object.getOwnPropertySymbols) {
|
|
785
|
-
var
|
|
786
|
-
for (
|
|
785
|
+
var _ = Object.getOwnPropertySymbols(a);
|
|
786
|
+
for (n = 0; n < _.length; n++) c = _[n], o.indexOf(c) === -1 && {}.propertyIsEnumerable.call(a, c) && (u[c] = a[c]);
|
|
787
787
|
}
|
|
788
788
|
return u;
|
|
789
789
|
}
|
|
790
|
-
function _a(a,
|
|
790
|
+
function _a(a, o) {
|
|
791
791
|
if (a == null) return {};
|
|
792
792
|
var c = {};
|
|
793
|
-
for (var
|
|
794
|
-
if (
|
|
795
|
-
c[
|
|
793
|
+
for (var n in a) if ({}.hasOwnProperty.call(a, n)) {
|
|
794
|
+
if (o.indexOf(n) !== -1) continue;
|
|
795
|
+
c[n] = a[n];
|
|
796
796
|
}
|
|
797
797
|
return c;
|
|
798
798
|
}
|
|
799
799
|
function Se() {
|
|
800
800
|
return Se = Object.assign ? Object.assign.bind() : function(a) {
|
|
801
|
-
for (var
|
|
802
|
-
var c = arguments[
|
|
803
|
-
for (var
|
|
801
|
+
for (var o = 1; o < arguments.length; o++) {
|
|
802
|
+
var c = arguments[o];
|
|
803
|
+
for (var n in c) ({}).hasOwnProperty.call(c, n) && (a[n] = c[n]);
|
|
804
804
|
}
|
|
805
805
|
return a;
|
|
806
806
|
}, Se.apply(null, arguments);
|
|
807
807
|
}
|
|
808
|
-
function lt(a,
|
|
808
|
+
function lt(a, o) {
|
|
809
809
|
var c = Object.keys(a);
|
|
810
810
|
if (Object.getOwnPropertySymbols) {
|
|
811
|
-
var
|
|
812
|
-
|
|
811
|
+
var n = Object.getOwnPropertySymbols(a);
|
|
812
|
+
o && (n = n.filter(function(u) {
|
|
813
813
|
return Object.getOwnPropertyDescriptor(a, u).enumerable;
|
|
814
|
-
})), c.push.apply(c,
|
|
814
|
+
})), c.push.apply(c, n);
|
|
815
815
|
}
|
|
816
816
|
return c;
|
|
817
817
|
}
|
|
818
818
|
function Ce(a) {
|
|
819
|
-
for (var
|
|
820
|
-
var c = arguments[
|
|
821
|
-
|
|
822
|
-
ba(a,
|
|
823
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(c)) : lt(Object(c)).forEach(function(
|
|
824
|
-
Object.defineProperty(a,
|
|
819
|
+
for (var o = 1; o < arguments.length; o++) {
|
|
820
|
+
var c = arguments[o] != null ? arguments[o] : {};
|
|
821
|
+
o % 2 ? lt(Object(c), !0).forEach(function(n) {
|
|
822
|
+
ba(a, n, c[n]);
|
|
823
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(c)) : lt(Object(c)).forEach(function(n) {
|
|
824
|
+
Object.defineProperty(a, n, Object.getOwnPropertyDescriptor(c, n));
|
|
825
825
|
});
|
|
826
826
|
}
|
|
827
827
|
return a;
|
|
828
828
|
}
|
|
829
|
-
function ba(a,
|
|
830
|
-
return (
|
|
829
|
+
function ba(a, o, c) {
|
|
830
|
+
return (o = ga(o)) in a ? Object.defineProperty(a, o, { value: c, enumerable: !0, configurable: !0, writable: !0 }) : a[o] = c, a;
|
|
831
831
|
}
|
|
832
832
|
function ga(a) {
|
|
833
|
-
var
|
|
834
|
-
return typeof
|
|
833
|
+
var o = xa(a, "string");
|
|
834
|
+
return typeof o == "symbol" ? o : o + "";
|
|
835
835
|
}
|
|
836
|
-
function xa(a,
|
|
836
|
+
function xa(a, o) {
|
|
837
837
|
if (typeof a != "object" || !a) return a;
|
|
838
838
|
var c = a[Symbol.toPrimitive];
|
|
839
839
|
if (c !== void 0) {
|
|
840
|
-
var
|
|
841
|
-
if (typeof
|
|
840
|
+
var n = c.call(a, o);
|
|
841
|
+
if (typeof n != "object") return n;
|
|
842
842
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
843
843
|
}
|
|
844
|
-
return (
|
|
844
|
+
return (o === "string" ? String : Number)(a);
|
|
845
845
|
}
|
|
846
846
|
function yt(a) {
|
|
847
|
-
return a && a.map((
|
|
847
|
+
return a && a.map((o, c) => /* @__PURE__ */ U.createElement(o.tag, Ce({
|
|
848
848
|
key: c
|
|
849
|
-
},
|
|
849
|
+
}, o.attr), yt(o.child)));
|
|
850
850
|
}
|
|
851
851
|
function z(a) {
|
|
852
|
-
return (
|
|
852
|
+
return (o) => /* @__PURE__ */ U.createElement(Ta, Se({
|
|
853
853
|
attr: Ce({}, a.attr)
|
|
854
|
-
},
|
|
854
|
+
}, o), yt(a.child));
|
|
855
855
|
}
|
|
856
856
|
function Ta(a) {
|
|
857
|
-
var
|
|
858
|
-
var
|
|
857
|
+
var o = (c) => {
|
|
858
|
+
var n = a.attr, u = a.size, _ = a.title, m = va(a, ya), y = u || c.size || "1em", s;
|
|
859
859
|
return c.className && (s = c.className), a.className && (s = (s ? s + " " : "") + a.className), /* @__PURE__ */ U.createElement("svg", Se({
|
|
860
860
|
stroke: "currentColor",
|
|
861
861
|
fill: "currentColor",
|
|
862
862
|
strokeWidth: "0"
|
|
863
|
-
}, c.attr,
|
|
863
|
+
}, c.attr, n, m, {
|
|
864
864
|
className: s,
|
|
865
865
|
style: Ce(Ce({
|
|
866
866
|
color: a.color || c.color
|
|
@@ -868,9 +868,9 @@ function Ta(a) {
|
|
|
868
868
|
height: y,
|
|
869
869
|
width: y,
|
|
870
870
|
xmlns: "http://www.w3.org/2000/svg"
|
|
871
|
-
}),
|
|
871
|
+
}), _ && /* @__PURE__ */ U.createElement("title", null, _), a.children);
|
|
872
872
|
};
|
|
873
|
-
return ct !== void 0 ? /* @__PURE__ */ U.createElement(ct.Consumer, null, (c) =>
|
|
873
|
+
return ct !== void 0 ? /* @__PURE__ */ U.createElement(ct.Consumer, null, (c) => o(c)) : o(mt);
|
|
874
874
|
}
|
|
875
875
|
function ja(a) {
|
|
876
876
|
return z({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "circle", attr: { cx: "12", cy: "12", r: "10" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "8", x2: "12", y2: "16" }, child: [] }, { tag: "line", attr: { x1: "8", y1: "12", x2: "16", y2: "12" }, child: [] }] })(a);
|
|
@@ -887,7 +887,7 @@ function Sa(a) {
|
|
|
887
887
|
function Ca(a) {
|
|
888
888
|
return z({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "9 18 15 12 9 6" }, child: [] }] })(a);
|
|
889
889
|
}
|
|
890
|
-
function
|
|
890
|
+
function $e(a) {
|
|
891
891
|
return z({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }, { tag: "polyline", attr: { points: "12 5 19 12 12 19" }, child: [] }] })(a);
|
|
892
892
|
}
|
|
893
893
|
function _t(a) {
|
|
@@ -896,18 +896,18 @@ function _t(a) {
|
|
|
896
896
|
function bt(a) {
|
|
897
897
|
return z({ attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z" }, child: [] }] })(a);
|
|
898
898
|
}
|
|
899
|
-
function Ra(a,
|
|
900
|
-
const c = a.findIndex((
|
|
901
|
-
return a.map((
|
|
902
|
-
id:
|
|
903
|
-
label:
|
|
899
|
+
function Ra(a, o) {
|
|
900
|
+
const c = a.findIndex((n) => n.id === o);
|
|
901
|
+
return a.map((n, u) => ({
|
|
902
|
+
id: n.id,
|
|
903
|
+
label: n.ritual_name,
|
|
904
904
|
status: u < c ? "completed" : u === c ? "active" : "pending"
|
|
905
905
|
}));
|
|
906
906
|
}
|
|
907
|
-
const Aa = "myor_row_Uonz3",
|
|
907
|
+
const Aa = "myor_row_Uonz3", Pa = "myor_connector_6c2qX", Oa = "myor_tab_fzhnb", wa = "myor_highlight_53sSp", Na = "myor_dot_Mdkyj", Ea = "myor_dotCompleted_CXFHi", Da = "myor_dotInner_tkCjz", Ia = "myor_dotIcon_-WMDU", Ba = "myor_label_pzOs7", La = "myor_labelActive_Uwkku", $ = {
|
|
908
908
|
row: Aa,
|
|
909
|
-
connector:
|
|
910
|
-
tab:
|
|
909
|
+
connector: Pa,
|
|
910
|
+
tab: Oa,
|
|
911
911
|
highlight: wa,
|
|
912
912
|
dot: Na,
|
|
913
913
|
dotCompleted: Ea,
|
|
@@ -915,45 +915,45 @@ const Aa = "myor_row_Uonz3", Oa = "myor_connector_6c2qX", Pa = "myor_tab_fzhnb",
|
|
|
915
915
|
dotIcon: Ia,
|
|
916
916
|
label: Ba,
|
|
917
917
|
labelActive: La
|
|
918
|
-
}, Ma = ({ items: a, onTabClick:
|
|
919
|
-
const
|
|
918
|
+
}, Ma = ({ items: a, onTabClick: o, className: c }) => /* @__PURE__ */ t.jsx("div", { className: [$.row, c].filter(Boolean).join(" "), children: a.map((n, u) => {
|
|
919
|
+
const _ = n.status !== "pending" && !!o;
|
|
920
920
|
return /* @__PURE__ */ t.jsxs(U.Fragment, { children: [
|
|
921
|
-
u > 0 && /* @__PURE__ */ t.jsx("div", { className:
|
|
921
|
+
u > 0 && /* @__PURE__ */ t.jsx("div", { className: $.connector }),
|
|
922
922
|
/* @__PURE__ */ t.jsxs(
|
|
923
923
|
"button",
|
|
924
924
|
{
|
|
925
925
|
type: "button",
|
|
926
|
-
className:
|
|
927
|
-
disabled: !
|
|
928
|
-
onClick:
|
|
926
|
+
className: $.tab,
|
|
927
|
+
disabled: !_,
|
|
928
|
+
onClick: _ ? () => o?.(n.id) : void 0,
|
|
929
929
|
children: [
|
|
930
|
-
|
|
931
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
932
|
-
/* @__PURE__ */ t.jsx("p", { className:
|
|
930
|
+
n.status === "active" && /* @__PURE__ */ t.jsx("div", { className: $.highlight }),
|
|
931
|
+
/* @__PURE__ */ t.jsx("div", { className: n.status === "completed" ? `${$.dot} ${$.dotCompleted}` : $.dot, children: n.status === "completed" ? /* @__PURE__ */ t.jsx(Sa, { size: 12, className: $.dotIcon, "aria-hidden": !0 }) : /* @__PURE__ */ t.jsx("div", { className: $.dotInner }) }),
|
|
932
|
+
/* @__PURE__ */ t.jsx("p", { className: n.status === "active" ? `${$.label} ${$.labelActive}` : $.label, children: n.label })
|
|
933
933
|
]
|
|
934
934
|
}
|
|
935
935
|
)
|
|
936
|
-
] },
|
|
937
|
-
}) }), Ha = "myor_header_QbWgF",
|
|
936
|
+
] }, n.id);
|
|
937
|
+
}) }), Ha = "myor_header_QbWgF", $a = "myor_body_s1J5Z", Fa = "myor_card_gepPI", Ya = "myor_cardIcon_jJSy5", Wa = "myor_icon_QDijY", Ua = "myor_footer_n41O8", za = "myor_ctaButton_ZB1gf", V = {
|
|
938
938
|
header: Ha,
|
|
939
|
-
body:
|
|
940
|
-
card:
|
|
939
|
+
body: $a,
|
|
940
|
+
card: Fa,
|
|
941
941
|
cardIcon: Ya,
|
|
942
942
|
icon: Wa,
|
|
943
943
|
footer: Ua,
|
|
944
944
|
ctaButton: za
|
|
945
945
|
}, Ga = ({
|
|
946
946
|
isOpen: a,
|
|
947
|
-
onClose:
|
|
947
|
+
onClose: o,
|
|
948
948
|
onCtaClick: c,
|
|
949
|
-
amavasyaOnly:
|
|
949
|
+
amavasyaOnly: n
|
|
950
950
|
}) => {
|
|
951
|
-
const { t: u } = Re(), [
|
|
951
|
+
const { t: u } = Re(), [_, m] = ae("amavasya"), y = n ? "amavasya" : _;
|
|
952
952
|
return /* @__PURE__ */ t.jsx(
|
|
953
953
|
dt,
|
|
954
954
|
{
|
|
955
955
|
isOpen: a,
|
|
956
|
-
onClose:
|
|
956
|
+
onClose: o,
|
|
957
957
|
showDragHandle: !0,
|
|
958
958
|
closeButtonOutside: !0,
|
|
959
959
|
ariaLabel: u("selectRitualDaySheetHeading"),
|
|
@@ -964,7 +964,7 @@ const Aa = "myor_row_Uonz3", Oa = "myor_connector_6c2qX", Pa = "myor_tab_fzhnb",
|
|
|
964
964
|
variant: "primary",
|
|
965
965
|
size: "xl",
|
|
966
966
|
className: V.ctaButton,
|
|
967
|
-
rightIcon: /* @__PURE__ */ t.jsx(
|
|
967
|
+
rightIcon: /* @__PURE__ */ t.jsx($e, { "aria-hidden": !0 }),
|
|
968
968
|
onClick: () => c(y),
|
|
969
969
|
children: u("selectRitualDaySheetCta")
|
|
970
970
|
}
|
|
@@ -973,15 +973,15 @@ const Aa = "myor_row_Uonz3", Oa = "myor_connector_6c2qX", Pa = "myor_tab_fzhnb",
|
|
|
973
973
|
"div",
|
|
974
974
|
{
|
|
975
975
|
className: V.body,
|
|
976
|
-
role:
|
|
977
|
-
"aria-label":
|
|
976
|
+
role: n ? void 0 : "radiogroup",
|
|
977
|
+
"aria-label": n ? void 0 : u("selectRitualDaySheetHeading"),
|
|
978
978
|
children: [
|
|
979
979
|
/* @__PURE__ */ t.jsx(
|
|
980
980
|
Me,
|
|
981
981
|
{
|
|
982
982
|
selected: y === "amavasya",
|
|
983
|
-
onSelect: () =>
|
|
984
|
-
showRadio: !
|
|
983
|
+
onSelect: () => m("amavasya"),
|
|
984
|
+
showRadio: !n,
|
|
985
985
|
radioVariant: "check",
|
|
986
986
|
tag: u("selectRitualDaySheetTag"),
|
|
987
987
|
icon: /* @__PURE__ */ t.jsx(bt, { size: 20, className: V.icon, "aria-hidden": !0 }),
|
|
@@ -991,11 +991,11 @@ const Aa = "myor_row_Uonz3", Oa = "myor_connector_6c2qX", Pa = "myor_tab_fzhnb",
|
|
|
991
991
|
className: V.card
|
|
992
992
|
}
|
|
993
993
|
),
|
|
994
|
-
!
|
|
994
|
+
!n && /* @__PURE__ */ t.jsx(
|
|
995
995
|
Me,
|
|
996
996
|
{
|
|
997
997
|
selected: y === "death-anniversary",
|
|
998
|
-
onSelect: () =>
|
|
998
|
+
onSelect: () => m("death-anniversary"),
|
|
999
999
|
radioVariant: "check",
|
|
1000
1000
|
icon: /* @__PURE__ */ t.jsx(vt, { size: 20, className: V.icon, "aria-hidden": !0 }),
|
|
1001
1001
|
iconClassName: V.cardIcon,
|
|
@@ -1008,7 +1008,7 @@ const Aa = "myor_row_Uonz3", Oa = "myor_connector_6c2qX", Pa = "myor_tab_fzhnb",
|
|
|
1008
1008
|
)
|
|
1009
1009
|
}
|
|
1010
1010
|
);
|
|
1011
|
-
}, Va = "myor_page_O8VCY", Ka = "myor_topBar_5KO0J", qa = "myor_backButton_lfV-P", Ja = "myor_progressHeader_WYJ0X", Qa = "myor_question_CKUP0", Xa = "myor_pujaTabs_Thsu2", Za = "myor_body_yDXCo", er = "myor_card_X3obj", tr = "myor_cardHeader_hNn0a", ar = "myor_iconContainer_OIZOZ", rr = "myor_icon_uNORg", or = "myor_addMoreIcon_1OjCv", nr = "myor_cardHeading_fPn0e", ir = "myor_chipRow_A64AY", sr = "myor_chipDisabled_AxfL-", cr = "myor_ctaBar_-KGIO", lr = "myor_ctaCaption_jHwSu", dr = "myor_ctaButton_Z8NOX",
|
|
1011
|
+
}, Va = "myor_page_O8VCY", Ka = "myor_topBar_5KO0J", qa = "myor_backButton_lfV-P", Ja = "myor_progressHeader_WYJ0X", Qa = "myor_question_CKUP0", Xa = "myor_pujaTabs_Thsu2", Za = "myor_body_yDXCo", er = "myor_card_X3obj", tr = "myor_cardHeader_hNn0a", ar = "myor_iconContainer_OIZOZ", rr = "myor_icon_uNORg", or = "myor_addMoreIcon_1OjCv", nr = "myor_cardHeading_fPn0e", ir = "myor_chipRow_A64AY", sr = "myor_chipDisabled_AxfL-", cr = "myor_ctaBar_-KGIO", lr = "myor_ctaCaption_jHwSu", dr = "myor_ctaButton_Z8NOX", P = {
|
|
1012
1012
|
page: Va,
|
|
1013
1013
|
topBar: Ka,
|
|
1014
1014
|
backButton: qa,
|
|
@@ -1027,42 +1027,42 @@ const Aa = "myor_row_Uonz3", Oa = "myor_connector_6c2qX", Pa = "myor_tab_fzhnb",
|
|
|
1027
1027
|
ctaBar: cr,
|
|
1028
1028
|
ctaCaption: lr,
|
|
1029
1029
|
ctaButton: dr
|
|
1030
|
-
},
|
|
1030
|
+
}, Ko = ({
|
|
1031
1031
|
store: a,
|
|
1032
|
-
mutate:
|
|
1032
|
+
mutate: o,
|
|
1033
1033
|
avatarUrl: c,
|
|
1034
|
-
audioSrc:
|
|
1034
|
+
audioSrc: n,
|
|
1035
1035
|
onBackClick: u,
|
|
1036
|
-
onProceed:
|
|
1036
|
+
onProceed: _
|
|
1037
1037
|
}) => {
|
|
1038
|
-
const { t:
|
|
1038
|
+
const { t: m } = Re(), y = a.currentPujaId, { selectedAncestors: s, customAncestorNames: d } = a.ancestorsByPuja[y], [j, C] = ae(!1), [E, L] = ae(!1), { selectedRitual: M } = a, F = M.findIndex((k) => k.id === y), X = M[F], D = F === M.length - 1, x = s.includes(je), ce = D && x, K = M.every(
|
|
1039
1039
|
(k) => a.ancestorsByPuja[k.id].selectedAncestors.includes(je)
|
|
1040
1040
|
), le = () => {
|
|
1041
1041
|
if (!D) {
|
|
1042
|
-
|
|
1042
|
+
o({ type: "SET_CURRENT_PUJA_ID", payload: M[F + 1].id });
|
|
1043
1043
|
return;
|
|
1044
1044
|
}
|
|
1045
1045
|
L(!0);
|
|
1046
1046
|
};
|
|
1047
|
-
return /* @__PURE__ */ t.jsxs("div", { className:
|
|
1048
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1047
|
+
return /* @__PURE__ */ t.jsxs("div", { className: P.page, children: [
|
|
1048
|
+
/* @__PURE__ */ t.jsxs("div", { className: P.topBar, children: [
|
|
1049
1049
|
/* @__PURE__ */ t.jsx(
|
|
1050
1050
|
"button",
|
|
1051
1051
|
{
|
|
1052
1052
|
type: "button",
|
|
1053
1053
|
onClick: u,
|
|
1054
|
-
"aria-label":
|
|
1055
|
-
className:
|
|
1054
|
+
"aria-label": m("selectAncestorsBackAriaLabel"),
|
|
1055
|
+
className: P.backButton,
|
|
1056
1056
|
children: /* @__PURE__ */ t.jsx(_t, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
1057
1057
|
}
|
|
1058
1058
|
),
|
|
1059
1059
|
/* @__PURE__ */ t.jsx(
|
|
1060
1060
|
ut,
|
|
1061
1061
|
{
|
|
1062
|
-
quote:
|
|
1062
|
+
quote: m("selectAncestorsProgressLabel"),
|
|
1063
1063
|
currentStep: a.currentStep,
|
|
1064
1064
|
totalSteps: a.totalSteps,
|
|
1065
|
-
className:
|
|
1065
|
+
className: P.progressHeader
|
|
1066
1066
|
}
|
|
1067
1067
|
)
|
|
1068
1068
|
] }),
|
|
@@ -1070,37 +1070,37 @@ const Aa = "myor_row_Uonz3", Oa = "myor_connector_6c2qX", Pa = "myor_tab_fzhnb",
|
|
|
1070
1070
|
ht,
|
|
1071
1071
|
{
|
|
1072
1072
|
avatarUrl: c,
|
|
1073
|
-
question: /* @__PURE__ */ t.jsx("p", { className:
|
|
1074
|
-
audioSrc:
|
|
1073
|
+
question: /* @__PURE__ */ t.jsx("p", { className: P.question, children: m("selectAncestorsQuestion") }),
|
|
1074
|
+
audioSrc: n
|
|
1075
1075
|
}
|
|
1076
1076
|
),
|
|
1077
1077
|
/* @__PURE__ */ t.jsx(
|
|
1078
1078
|
Ma,
|
|
1079
1079
|
{
|
|
1080
1080
|
items: Ra(M, y),
|
|
1081
|
-
onTabClick: (k) =>
|
|
1082
|
-
className:
|
|
1081
|
+
onTabClick: (k) => o({ type: "SET_CURRENT_PUJA_ID", payload: k }),
|
|
1082
|
+
className: P.pujaTabs
|
|
1083
1083
|
}
|
|
1084
1084
|
),
|
|
1085
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
1086
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1087
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
1088
|
-
/* @__PURE__ */ t.jsxs("p", { className:
|
|
1089
|
-
|
|
1085
|
+
/* @__PURE__ */ t.jsx("div", { className: P.body, children: /* @__PURE__ */ t.jsxs("div", { className: P.card, children: [
|
|
1086
|
+
/* @__PURE__ */ t.jsxs("div", { className: P.cardHeader, children: [
|
|
1087
|
+
/* @__PURE__ */ t.jsx("div", { className: P.iconContainer, children: /* @__PURE__ */ t.jsx(bt, { size: 20, className: P.icon, "aria-hidden": !0 }) }),
|
|
1088
|
+
/* @__PURE__ */ t.jsxs("p", { className: P.cardHeading, children: [
|
|
1089
|
+
m("selectAncestorsCardHeadingPrefix"),
|
|
1090
1090
|
X.ritual_name
|
|
1091
1091
|
] })
|
|
1092
1092
|
] }),
|
|
1093
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1093
|
+
/* @__PURE__ */ t.jsxs("div", { className: P.chipRow, children: [
|
|
1094
1094
|
ft.map((k) => {
|
|
1095
1095
|
const q = k.id !== je && x;
|
|
1096
1096
|
return /* @__PURE__ */ t.jsx(
|
|
1097
1097
|
Be,
|
|
1098
1098
|
{
|
|
1099
|
-
label:
|
|
1099
|
+
label: m(k.labelKey),
|
|
1100
1100
|
selected: s.includes(k.id),
|
|
1101
1101
|
disabled: q,
|
|
1102
|
-
className: q ?
|
|
1103
|
-
onClick: () =>
|
|
1102
|
+
className: q ? P.chipDisabled : void 0,
|
|
1103
|
+
onClick: () => o({ type: "TOGGLE_ANCESTOR", payload: { pujaId: y, ancestor: k.id } })
|
|
1104
1104
|
},
|
|
1105
1105
|
k.id
|
|
1106
1106
|
);
|
|
@@ -1111,35 +1111,35 @@ const Aa = "myor_row_Uonz3", Oa = "myor_connector_6c2qX", Pa = "myor_tab_fzhnb",
|
|
|
1111
1111
|
label: k,
|
|
1112
1112
|
selected: s.includes(k),
|
|
1113
1113
|
disabled: x,
|
|
1114
|
-
className: x ?
|
|
1115
|
-
onClick: () =>
|
|
1114
|
+
className: x ? P.chipDisabled : void 0,
|
|
1115
|
+
onClick: () => o({ type: "TOGGLE_ANCESTOR", payload: { pujaId: y, ancestor: k } })
|
|
1116
1116
|
},
|
|
1117
1117
|
k
|
|
1118
1118
|
)),
|
|
1119
1119
|
/* @__PURE__ */ t.jsx(
|
|
1120
1120
|
Be,
|
|
1121
1121
|
{
|
|
1122
|
-
label:
|
|
1123
|
-
icon: /* @__PURE__ */ t.jsx(ja, { size: 20, className:
|
|
1122
|
+
label: m(D ? "selectAncestorsAndAddMoreLabel" : "selectAncestorsAddMoreLabel"),
|
|
1123
|
+
icon: /* @__PURE__ */ t.jsx(ja, { size: 20, className: P.addMoreIcon }),
|
|
1124
1124
|
disabled: x,
|
|
1125
|
-
className: x ?
|
|
1125
|
+
className: x ? P.chipDisabled : void 0,
|
|
1126
1126
|
onClick: () => C(!0)
|
|
1127
1127
|
}
|
|
1128
1128
|
)
|
|
1129
1129
|
] })
|
|
1130
1130
|
] }) }),
|
|
1131
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
1132
|
-
ce && /* @__PURE__ */ t.jsx("p", { className:
|
|
1131
|
+
/* @__PURE__ */ t.jsxs("div", { className: P.ctaBar, children: [
|
|
1132
|
+
ce && /* @__PURE__ */ t.jsx("p", { className: P.ctaCaption, children: m("selectAncestorsAllAncestorsCaption") }),
|
|
1133
1133
|
/* @__PURE__ */ t.jsx(
|
|
1134
1134
|
He,
|
|
1135
1135
|
{
|
|
1136
1136
|
variant: "primary",
|
|
1137
1137
|
size: "xl",
|
|
1138
|
-
className:
|
|
1139
|
-
rightIcon: /* @__PURE__ */ t.jsx(
|
|
1138
|
+
className: P.ctaButton,
|
|
1139
|
+
rightIcon: /* @__PURE__ */ t.jsx($e, { "aria-hidden": !0 }),
|
|
1140
1140
|
disabled: s.length === 0,
|
|
1141
1141
|
onClick: le,
|
|
1142
|
-
children:
|
|
1142
|
+
children: m(D ? "selectAncestorsCtaProceed" : "selectAncestorsCtaNextRitual")
|
|
1143
1143
|
}
|
|
1144
1144
|
)
|
|
1145
1145
|
] }),
|
|
@@ -1148,13 +1148,13 @@ const Aa = "myor_row_Uonz3", Oa = "myor_connector_6c2qX", Pa = "myor_tab_fzhnb",
|
|
|
1148
1148
|
{
|
|
1149
1149
|
isOpen: j,
|
|
1150
1150
|
onClose: () => C(!1),
|
|
1151
|
-
onSave: (k) =>
|
|
1152
|
-
title:
|
|
1153
|
-
fieldLabel:
|
|
1154
|
-
namePrefix:
|
|
1155
|
-
namePlaceholder:
|
|
1156
|
-
addMoreLabel:
|
|
1157
|
-
saveCta:
|
|
1151
|
+
onSave: (k) => o({ type: "ADD_CUSTOM_ANCESTORS", payload: { pujaId: y, names: k } }),
|
|
1152
|
+
title: m("addAncestorModalTitle"),
|
|
1153
|
+
fieldLabel: m("addAncestorModalFieldLabel"),
|
|
1154
|
+
namePrefix: m("addAncestorModalNamePrefix"),
|
|
1155
|
+
namePlaceholder: m("addAncestorModalNamePlaceholder"),
|
|
1156
|
+
addMoreLabel: m("addAncestorModalAddMore"),
|
|
1157
|
+
saveCta: m("addAncestorModalSaveCta")
|
|
1158
1158
|
}
|
|
1159
1159
|
),
|
|
1160
1160
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1163,7 +1163,7 @@ const Aa = "myor_row_Uonz3", Oa = "myor_connector_6c2qX", Pa = "myor_tab_fzhnb",
|
|
|
1163
1163
|
isOpen: E,
|
|
1164
1164
|
onClose: () => L(!1),
|
|
1165
1165
|
onCtaClick: (k) => {
|
|
1166
|
-
L(!1),
|
|
1166
|
+
L(!1), _?.(k);
|
|
1167
1167
|
},
|
|
1168
1168
|
amavasyaOnly: K
|
|
1169
1169
|
}
|
|
@@ -1187,14 +1187,14 @@ const Aa = "myor_row_Uonz3", Oa = "myor_connector_6c2qX", Pa = "myor_tab_fzhnb",
|
|
|
1187
1187
|
ctaBar: Sr,
|
|
1188
1188
|
ctaButton: Cr
|
|
1189
1189
|
}, Rr = 2, Ar = 2;
|
|
1190
|
-
function
|
|
1190
|
+
function qo({
|
|
1191
1191
|
store: a,
|
|
1192
|
-
mutate:
|
|
1192
|
+
mutate: o,
|
|
1193
1193
|
avatarUrl: c,
|
|
1194
|
-
audioSrc:
|
|
1194
|
+
audioSrc: n,
|
|
1195
1195
|
onBackClick: u,
|
|
1196
|
-
onProceed:
|
|
1197
|
-
onResolveTithiForDate:
|
|
1196
|
+
onProceed: _,
|
|
1197
|
+
onResolveTithiForDate: m,
|
|
1198
1198
|
onValidateTithi: y
|
|
1199
1199
|
}) {
|
|
1200
1200
|
const { t: s } = Re(), d = a.currentPujaId, j = ke(
|
|
@@ -1211,11 +1211,11 @@ function Vo({
|
|
|
1211
1211
|
deathTithiValueByAncestor: E,
|
|
1212
1212
|
deathDateByAncestor: L,
|
|
1213
1213
|
tithiValidityByAncestor: M,
|
|
1214
|
-
tithiPreviewByAncestor:
|
|
1214
|
+
tithiPreviewByAncestor: F,
|
|
1215
1215
|
currentDeathTithiAncestorIndex: X
|
|
1216
1216
|
} = a.deathTithiByPuja[d], [D, x] = ae(!1), [ce, K] = ae(!1), [le, k] = ae(null), q = ke(() => qt(), []), me = ke(() => at.map((f) => s(f)), [s]), Z = j.filter((f) => f !== je).map((f) => {
|
|
1217
|
-
const
|
|
1218
|
-
return { key: f, label:
|
|
1217
|
+
const O = ft.find((w) => w.id === f);
|
|
1218
|
+
return { key: f, label: O ? s(O.labelKey) : f };
|
|
1219
1219
|
}), ee = Math.min(
|
|
1220
1220
|
X,
|
|
1221
1221
|
Math.max(Z.length - 1, 0)
|
|
@@ -1226,11 +1226,11 @@ function Vo({
|
|
|
1226
1226
|
const h = Z[re], Y = re === Z.length - 1, J = h ? C[h.key] : void 0, de = !!J, ye = () => {
|
|
1227
1227
|
if (!de) return;
|
|
1228
1228
|
if (Y) {
|
|
1229
|
-
|
|
1229
|
+
_?.();
|
|
1230
1230
|
return;
|
|
1231
1231
|
}
|
|
1232
1232
|
const f = re + 1;
|
|
1233
|
-
oe(f), f > ee &&
|
|
1233
|
+
oe(f), f > ee && o({ type: "ADVANCE_DEATH_TITHI_ANCESTOR", payload: { pujaId: d } });
|
|
1234
1234
|
};
|
|
1235
1235
|
return /* @__PURE__ */ t.jsxs("div", { className: N.page, children: [
|
|
1236
1236
|
/* @__PURE__ */ t.jsxs("div", { className: N.topBar, children: [
|
|
@@ -1267,7 +1267,7 @@ function Vo({
|
|
|
1267
1267
|
s("deathTithiSubtextPrefix"),
|
|
1268
1268
|
/* @__PURE__ */ t.jsx("span", { className: N.subtextHighlight, children: s("deathTithiSubtextHighlight") })
|
|
1269
1269
|
] }),
|
|
1270
|
-
audioSrc:
|
|
1270
|
+
audioSrc: n
|
|
1271
1271
|
}
|
|
1272
1272
|
),
|
|
1273
1273
|
/* @__PURE__ */ t.jsxs("div", { className: N.body, children: [
|
|
@@ -1283,17 +1283,17 @@ function Vo({
|
|
|
1283
1283
|
}
|
|
1284
1284
|
),
|
|
1285
1285
|
/* @__PURE__ */ t.jsx("div", { className: N.optionList, children: Qt.map((f) => {
|
|
1286
|
-
const
|
|
1286
|
+
const O = J === f.value, w = h && E[h.key], G = h && M[h.key], ne = h && L[h.key], ue = h && F[h.key];
|
|
1287
1287
|
return /* @__PURE__ */ t.jsxs(
|
|
1288
1288
|
Me,
|
|
1289
1289
|
{
|
|
1290
|
-
selected:
|
|
1290
|
+
selected: O,
|
|
1291
1291
|
disabled: !h,
|
|
1292
1292
|
icon: /* @__PURE__ */ t.jsx("img", { src: f.iconUrl, alt: "", "aria-hidden": !0, className: "size-5" }),
|
|
1293
1293
|
title: s(f.titleKey),
|
|
1294
1294
|
description: s(f.subtextKey),
|
|
1295
1295
|
onSelect: () => {
|
|
1296
|
-
h && (
|
|
1296
|
+
h && (o({
|
|
1297
1297
|
type: "SET_DEATH_TITHI_METHOD",
|
|
1298
1298
|
payload: {
|
|
1299
1299
|
pujaId: d,
|
|
@@ -1303,21 +1303,21 @@ function Vo({
|
|
|
1303
1303
|
}), f.value === "tithi" && x(!0), f.value === "date" && K(!0));
|
|
1304
1304
|
},
|
|
1305
1305
|
children: [
|
|
1306
|
-
|
|
1306
|
+
O && f.value === "tithi" && w && G?.active !== !1 && /* @__PURE__ */ t.jsx(
|
|
1307
1307
|
rt,
|
|
1308
1308
|
{
|
|
1309
1309
|
value: s(w),
|
|
1310
1310
|
onClick: () => x(!0)
|
|
1311
1311
|
}
|
|
1312
1312
|
),
|
|
1313
|
-
|
|
1313
|
+
O && f.value === "date" && ne && /* @__PURE__ */ t.jsx(
|
|
1314
1314
|
rt,
|
|
1315
1315
|
{
|
|
1316
1316
|
value: ue?.tithiKey ? `${ot(ne, q)} (${s(ue.tithiKey)})` : ot(ne, q),
|
|
1317
1317
|
onClick: () => K(!0)
|
|
1318
1318
|
}
|
|
1319
1319
|
),
|
|
1320
|
-
|
|
1320
|
+
O && f.value === "unknown" && /* @__PURE__ */ t.jsxs(Xt, { className: N.note, children: [
|
|
1321
1321
|
/* @__PURE__ */ t.jsx("p", { className: N.noteTitle, children: s("deathTithiOption3ExpandedTitle") }),
|
|
1322
1322
|
/* @__PURE__ */ t.jsx("p", { className: N.noteBody, children: s("deathTithiOption3ExpandedBody") })
|
|
1323
1323
|
] })
|
|
@@ -1338,12 +1338,12 @@ function Vo({
|
|
|
1338
1338
|
confirmLabel: s("deathTithiPickerConfirmCta"),
|
|
1339
1339
|
initialTithi: E[h.key] ? s(E[h.key]) : void 0,
|
|
1340
1340
|
onConfirm: (f) => {
|
|
1341
|
-
const
|
|
1342
|
-
|
|
1341
|
+
const O = at[me.indexOf(f)] ?? f, w = h.key;
|
|
1342
|
+
o({
|
|
1343
1343
|
type: "SET_DEATH_TITHI_VALUE",
|
|
1344
|
-
payload: { pujaId: d, ancestorKey: w, tithi:
|
|
1345
|
-
}), x(!1), y?.(
|
|
1346
|
-
|
|
1344
|
+
payload: { pujaId: d, ancestorKey: w, tithi: O }
|
|
1345
|
+
}), x(!1), y?.(O, w).then((G) => {
|
|
1346
|
+
o({
|
|
1347
1347
|
type: "SET_TITHI_VALIDITY",
|
|
1348
1348
|
payload: { pujaId: d, ancestorKey: w, validity: G }
|
|
1349
1349
|
}), G?.active === !1 && k(w);
|
|
@@ -1363,12 +1363,12 @@ function Vo({
|
|
|
1363
1363
|
timezoneLabel: s("deathDatePickerTimezoneLabel"),
|
|
1364
1364
|
initialDate: aa(L[h.key]),
|
|
1365
1365
|
onConfirm: (f) => {
|
|
1366
|
-
const
|
|
1367
|
-
|
|
1366
|
+
const O = ta(f), w = h.key;
|
|
1367
|
+
o({
|
|
1368
1368
|
type: "SET_DEATH_DATE",
|
|
1369
|
-
payload: { pujaId: d, ancestorKey: w, date:
|
|
1370
|
-
}), K(!1),
|
|
1371
|
-
|
|
1369
|
+
payload: { pujaId: d, ancestorKey: w, date: O }
|
|
1370
|
+
}), K(!1), m?.(O, w).then((G) => {
|
|
1371
|
+
o({
|
|
1372
1372
|
type: "SET_TITHI_PREVIEW",
|
|
1373
1373
|
payload: { pujaId: d, ancestorKey: w, preview: G }
|
|
1374
1374
|
});
|
|
@@ -1397,7 +1397,7 @@ function Vo({
|
|
|
1397
1397
|
variant: "primary",
|
|
1398
1398
|
size: "xl",
|
|
1399
1399
|
className: N.ctaButton,
|
|
1400
|
-
rightIcon: /* @__PURE__ */ t.jsx(
|
|
1400
|
+
rightIcon: /* @__PURE__ */ t.jsx($e, { "aria-hidden": !0 }),
|
|
1401
1401
|
disabled: !de,
|
|
1402
1402
|
onClick: ye,
|
|
1403
1403
|
children: s(Y ? "deathTithiFinalCtaLabel" : "deathTithiCtaLabel")
|
|
@@ -1405,9 +1405,9 @@ function Vo({
|
|
|
1405
1405
|
) })
|
|
1406
1406
|
] });
|
|
1407
1407
|
}
|
|
1408
|
-
const
|
|
1409
|
-
page:
|
|
1410
|
-
hero:
|
|
1408
|
+
const Pr = "myor_page_0fc3b", Or = "myor_hero_VTF6-", wr = "myor_title_RCNWg", Nr = "myor_subtitle_qOj8s", Er = "myor_cta_WFwW0", Dr = "myor_heroCta_OutHC", Ir = "myor_section_VfEGQ", Br = "myor_sectionTitle_jsvQW", Lr = "myor_body_9i6aD", Mr = "myor_list_tgxt8", Hr = "myor_steps_Pcxtv", $r = "myor_listItem_wXXQh", Fr = "myor_step_oLrPF", Yr = "myor_stepIndex_3qBph", Wr = "myor_stepTitle_du-O-", Ur = "myor_stepText_uT1qY", zr = "myor_footerCta_HTx-T", S = {
|
|
1409
|
+
page: Pr,
|
|
1410
|
+
hero: Or,
|
|
1411
1411
|
title: wr,
|
|
1412
1412
|
subtitle: Nr,
|
|
1413
1413
|
cta: Er,
|
|
@@ -1417,8 +1417,8 @@ const Or = "myor_page_0fc3b", Pr = "myor_hero_VTF6-", wr = "myor_title_RCNWg", N
|
|
|
1417
1417
|
body: Lr,
|
|
1418
1418
|
list: Mr,
|
|
1419
1419
|
steps: Hr,
|
|
1420
|
-
listItem:
|
|
1421
|
-
step:
|
|
1420
|
+
listItem: $r,
|
|
1421
|
+
step: Fr,
|
|
1422
1422
|
stepIndex: Yr,
|
|
1423
1423
|
stepTitle: Wr,
|
|
1424
1424
|
stepText: Ur,
|
|
@@ -1432,15 +1432,15 @@ const Or = "myor_page_0fc3b", Pr = "myor_hero_VTF6-", wr = "myor_title_RCNWg", N
|
|
|
1432
1432
|
{ title: "Pick your intention", text: "Tell us what you are seeking — health, wealth, marriage, protection." },
|
|
1433
1433
|
{ title: "Build your ritual", text: "Choose the deity, temple and offerings that fit your sankalp." },
|
|
1434
1434
|
{ title: "Watch it performed", text: "Your ritual is performed in your name, with a video and prasad sent to you." }
|
|
1435
|
-
],
|
|
1435
|
+
], Jo = ({
|
|
1436
1436
|
onCtaClick: a,
|
|
1437
|
-
ctaLabel:
|
|
1437
|
+
ctaLabel: o = "Build My Ritual",
|
|
1438
1438
|
className: c = ""
|
|
1439
1439
|
}) => /* @__PURE__ */ t.jsxs("div", { className: `${S.page} ${c}`, children: [
|
|
1440
1440
|
/* @__PURE__ */ t.jsxs("section", { className: S.hero, children: [
|
|
1441
1441
|
/* @__PURE__ */ t.jsx("h1", { className: S.title, children: "Make Your Own Ritual" }),
|
|
1442
1442
|
/* @__PURE__ */ t.jsx("p", { className: S.subtitle, children: "Not every prayer fits a fixed puja. Choose the deity, the temple and the sankalp yourself — and have the ritual performed exactly as you intend it." }),
|
|
1443
|
-
/* @__PURE__ */ t.jsx("button", { type: "button", className: `${S.cta} ${S.heroCta}`, onClick: a, children:
|
|
1443
|
+
/* @__PURE__ */ t.jsx("button", { type: "button", className: `${S.cta} ${S.heroCta}`, onClick: a, children: o })
|
|
1444
1444
|
] }),
|
|
1445
1445
|
/* @__PURE__ */ t.jsxs("section", { className: S.section, children: [
|
|
1446
1446
|
/* @__PURE__ */ t.jsx("h2", { className: S.sectionTitle, children: "What is a personalised ritual?" }),
|
|
@@ -1448,19 +1448,19 @@ const Or = "myor_page_0fc3b", Pr = "myor_hero_VTF6-", wr = "myor_title_RCNWg", N
|
|
|
1448
1448
|
] }),
|
|
1449
1449
|
/* @__PURE__ */ t.jsxs("section", { className: S.section, children: [
|
|
1450
1450
|
/* @__PURE__ */ t.jsx("h2", { className: S.sectionTitle, children: "What you can choose" }),
|
|
1451
|
-
/* @__PURE__ */ t.jsx("ul", { className: S.list, children: Gr.map((
|
|
1451
|
+
/* @__PURE__ */ t.jsx("ul", { className: S.list, children: Gr.map((n) => /* @__PURE__ */ t.jsx("li", { className: S.listItem, children: n }, n)) })
|
|
1452
1452
|
] }),
|
|
1453
1453
|
/* @__PURE__ */ t.jsxs("section", { className: S.section, children: [
|
|
1454
1454
|
/* @__PURE__ */ t.jsx("h2", { className: S.sectionTitle, children: "How it works" }),
|
|
1455
|
-
/* @__PURE__ */ t.jsx("ol", { className: S.steps, children: Vr.map((
|
|
1455
|
+
/* @__PURE__ */ t.jsx("ol", { className: S.steps, children: Vr.map((n, u) => /* @__PURE__ */ t.jsxs("li", { className: S.step, children: [
|
|
1456
1456
|
/* @__PURE__ */ t.jsx("span", { className: S.stepIndex, children: u + 1 }),
|
|
1457
1457
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
|
1458
|
-
/* @__PURE__ */ t.jsx("p", { className: S.stepTitle, children:
|
|
1459
|
-
/* @__PURE__ */ t.jsx("p", { className: S.stepText, children:
|
|
1458
|
+
/* @__PURE__ */ t.jsx("p", { className: S.stepTitle, children: n.title }),
|
|
1459
|
+
/* @__PURE__ */ t.jsx("p", { className: S.stepText, children: n.text })
|
|
1460
1460
|
] })
|
|
1461
|
-
] },
|
|
1461
|
+
] }, n.title)) })
|
|
1462
1462
|
] }),
|
|
1463
|
-
/* @__PURE__ */ t.jsx("div", { className: S.footerCta, children: /* @__PURE__ */ t.jsx("button", { type: "button", className: S.cta, onClick: a, children:
|
|
1463
|
+
/* @__PURE__ */ t.jsx("div", { className: S.footerCta, children: /* @__PURE__ */ t.jsx("button", { type: "button", className: S.cta, onClick: a, children: o }) })
|
|
1464
1464
|
] });
|
|
1465
1465
|
function Kr(a) {
|
|
1466
1466
|
return z({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2" }, child: [] }] })(a);
|
|
@@ -1500,12 +1500,12 @@ const Jr = "myor_card_POf7K", Qr = "myor_cardSelected_wCllF", Xr = "myor_cardUns
|
|
|
1500
1500
|
}, So = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
|
|
1501
1501
|
function Co({
|
|
1502
1502
|
imageUrl: a,
|
|
1503
|
-
imageAlt:
|
|
1503
|
+
imageAlt: o = "",
|
|
1504
1504
|
title: c,
|
|
1505
|
-
titleClassName:
|
|
1505
|
+
titleClassName: n,
|
|
1506
1506
|
description: u,
|
|
1507
|
-
descriptionClassName:
|
|
1508
|
-
locationLabel:
|
|
1507
|
+
descriptionClassName: _,
|
|
1508
|
+
locationLabel: m,
|
|
1509
1509
|
ratingLabel: y,
|
|
1510
1510
|
bookedLabel: s,
|
|
1511
1511
|
tagClassName: d,
|
|
@@ -1514,24 +1514,24 @@ function Co({
|
|
|
1514
1514
|
price: E,
|
|
1515
1515
|
linkLabel: L,
|
|
1516
1516
|
onLinkClick: M,
|
|
1517
|
-
selected:
|
|
1517
|
+
selected: F,
|
|
1518
1518
|
onToggle: X,
|
|
1519
1519
|
selectAriaLabel: D = "Select ritual",
|
|
1520
1520
|
className: x
|
|
1521
1521
|
}) {
|
|
1522
|
-
return /* @__PURE__ */ t.jsxs("div", { className: Q(b.card,
|
|
1523
|
-
/* @__PURE__ */ t.jsxs("button", { type: "button", onClick: X, "aria-pressed":
|
|
1524
|
-
/* @__PURE__ */ t.jsx("img", { src: a, alt:
|
|
1522
|
+
return /* @__PURE__ */ t.jsxs("div", { className: Q(b.card, F ? b.cardSelected : b.cardUnselected, x), children: [
|
|
1523
|
+
/* @__PURE__ */ t.jsxs("button", { type: "button", onClick: X, "aria-pressed": F, "aria-label": D, className: b.toggleButton, children: [
|
|
1524
|
+
/* @__PURE__ */ t.jsx("img", { src: a, alt: o, className: b.image }),
|
|
1525
1525
|
/* @__PURE__ */ t.jsxs("div", { className: b.textCol, children: [
|
|
1526
|
-
/* @__PURE__ */ t.jsx("p", { className: Q(b.title,
|
|
1527
|
-
/* @__PURE__ */ t.jsx("p", { className: Q(b.description,
|
|
1526
|
+
/* @__PURE__ */ t.jsx("p", { className: Q(b.title, n), children: c }),
|
|
1527
|
+
/* @__PURE__ */ t.jsx("p", { className: Q(b.description, _), children: u })
|
|
1528
1528
|
] }),
|
|
1529
|
-
/* @__PURE__ */ t.jsx("span", { className: b.checkboxWrap, "aria-hidden": !0, children:
|
|
1529
|
+
/* @__PURE__ */ t.jsx("span", { className: b.checkboxWrap, "aria-hidden": !0, children: F ? /* @__PURE__ */ t.jsx(qr, { className: b.checkboxIconSelected }) : /* @__PURE__ */ t.jsx(Kr, { className: b.checkboxIconUnselected }) })
|
|
1530
1530
|
] }),
|
|
1531
|
-
(
|
|
1532
|
-
|
|
1531
|
+
(m || y || s) && /* @__PURE__ */ t.jsx("hr", { className: Q(b.divider, b.dividerRule) }),
|
|
1532
|
+
m && /* @__PURE__ */ t.jsxs("div", { className: b.locationRow, children: [
|
|
1533
1533
|
/* @__PURE__ */ t.jsx("img", { src: So, alt: "", "aria-hidden": !0, className: b.locationIcon }),
|
|
1534
|
-
/* @__PURE__ */ t.jsx("p", { className: b.locationLabel, children:
|
|
1534
|
+
/* @__PURE__ */ t.jsx("p", { className: b.locationLabel, children: m })
|
|
1535
1535
|
] }),
|
|
1536
1536
|
(y || s) && /* @__PURE__ */ t.jsxs("div", { className: Q(b.tagsRow, b.tagsRowBleed, d ?? b.tagRowDefault), children: [
|
|
1537
1537
|
y && /* @__PURE__ */ t.jsx("p", { className: Q(b.tagText, j ?? b.tagTextDefault), children: y }),
|
|
@@ -1550,11 +1550,11 @@ function Co({
|
|
|
1550
1550
|
] })
|
|
1551
1551
|
] });
|
|
1552
1552
|
}
|
|
1553
|
-
const Ro = "myor_root_TKo8-", Ao = "myor_headerWrap_tY4EN",
|
|
1553
|
+
const Ro = "myor_root_TKo8-", Ao = "myor_headerWrap_tY4EN", Po = "myor_topBar_fFUMc", Oo = "myor_note_41luB", wo = "myor_noteText_OLaJC", No = "myor_infoRow_BiwfM", Eo = "myor_infoIcon_TJtv3", Do = "myor_infoText_pyrVV", Io = "myor_ritualList_D8KyB", Bo = "myor_proceedBarWrap_scIAy", W = {
|
|
1554
1554
|
root: Ro,
|
|
1555
1555
|
headerWrap: Ao,
|
|
1556
|
-
topBar:
|
|
1557
|
-
note:
|
|
1556
|
+
topBar: Po,
|
|
1557
|
+
note: Oo,
|
|
1558
1558
|
noteText: wo,
|
|
1559
1559
|
infoRow: No,
|
|
1560
1560
|
infoIcon: Eo,
|
|
@@ -1564,15 +1564,15 @@ const Ro = "myor_root_TKo8-", Ao = "myor_headerWrap_tY4EN", Oo = "myor_topBar_fF
|
|
|
1564
1564
|
}, Lo = da.map((a) => ({
|
|
1565
1565
|
value: a,
|
|
1566
1566
|
label: ua[a]
|
|
1567
|
-
}))
|
|
1568
|
-
function
|
|
1567
|
+
})), Mo = (a, o) => o == null ? void 0 : a === "hi" ? `${o} ★ पूजा रेटिंग` : `${o} ★ Pooja Rating`, Ho = (a, o) => o == null ? void 0 : a === "hi" ? `${o} भक्तों द्वारा बुक किया गया` : `Booked by ${o} devotees`;
|
|
1568
|
+
function Qo({
|
|
1569
1569
|
store: a,
|
|
1570
|
-
mutate:
|
|
1570
|
+
mutate: o,
|
|
1571
1571
|
onProceed: c,
|
|
1572
|
-
onLocaleChange:
|
|
1572
|
+
onLocaleChange: n,
|
|
1573
1573
|
onAboutRitualClick: u
|
|
1574
1574
|
}) {
|
|
1575
|
-
const { t:
|
|
1575
|
+
const { t: _, locale: m } = Re(), y = a.selectedRituals.size, s = ke(
|
|
1576
1576
|
() => Array.from(a.selectedRituals.values()).reduce(
|
|
1577
1577
|
(d, j) => d + j.price,
|
|
1578
1578
|
0
|
|
@@ -1583,25 +1583,25 @@ function qo({
|
|
|
1583
1583
|
/* @__PURE__ */ t.jsx(
|
|
1584
1584
|
oa,
|
|
1585
1585
|
{
|
|
1586
|
-
locale:
|
|
1586
|
+
locale: m,
|
|
1587
1587
|
localeOptions: Lo,
|
|
1588
|
-
onLocaleChange: (d) =>
|
|
1588
|
+
onLocaleChange: (d) => n(d),
|
|
1589
1589
|
className: W.topBar
|
|
1590
1590
|
}
|
|
1591
1591
|
),
|
|
1592
1592
|
/* @__PURE__ */ t.jsx("div", { className: W.headerWrap, children: /* @__PURE__ */ t.jsx(
|
|
1593
1593
|
na,
|
|
1594
1594
|
{
|
|
1595
|
-
badgeLabel:
|
|
1596
|
-
dateRangeLabel:
|
|
1597
|
-
headline:
|
|
1595
|
+
badgeLabel: _("headerBadge"),
|
|
1596
|
+
dateRangeLabel: _("headerDateRange"),
|
|
1597
|
+
headline: _("headerHeadline")
|
|
1598
1598
|
}
|
|
1599
1599
|
) }),
|
|
1600
1600
|
/* @__PURE__ */ t.jsxs("div", { className: W.note, children: [
|
|
1601
|
-
/* @__PURE__ */ t.jsx("p", { className: W.noteText, children:
|
|
1601
|
+
/* @__PURE__ */ t.jsx("p", { className: W.noteText, children: _("chooseMultipleNote") }),
|
|
1602
1602
|
/* @__PURE__ */ t.jsxs("div", { className: W.infoRow, children: [
|
|
1603
1603
|
/* @__PURE__ */ t.jsx(ka, { "aria-hidden": !0, className: W.infoIcon }),
|
|
1604
|
-
/* @__PURE__ */ t.jsx("p", { className: W.infoText, children:
|
|
1604
|
+
/* @__PURE__ */ t.jsx("p", { className: W.infoText, children: _("nextStepInfoNote") })
|
|
1605
1605
|
] })
|
|
1606
1606
|
] }),
|
|
1607
1607
|
/* @__PURE__ */ t.jsx("div", { className: W.ritualList, children: a.rituals.map((d) => {
|
|
@@ -1613,11 +1613,11 @@ function qo({
|
|
|
1613
1613
|
title: d.title,
|
|
1614
1614
|
description: d.description,
|
|
1615
1615
|
locationLabel: d.locationLabel,
|
|
1616
|
-
ratingLabel: m
|
|
1617
|
-
bookedLabel: m
|
|
1618
|
-
priceLabel:
|
|
1616
|
+
ratingLabel: Mo(m, d.rating),
|
|
1617
|
+
bookedLabel: Ho(m, d.bookings),
|
|
1618
|
+
priceLabel: _("ritualPriceLabel"),
|
|
1619
1619
|
price: `${d.currency_symbol}${d.price}`,
|
|
1620
|
-
linkLabel:
|
|
1620
|
+
linkLabel: _(
|
|
1621
1621
|
d.ritualType === "ritual" ? "ritualAboutLink" : d.ritualType === "chadhava" ? "ritualAboutChadhava" : "ritualAboutSeva"
|
|
1622
1622
|
),
|
|
1623
1623
|
onLinkClick: () => u?.(d.id),
|
|
@@ -1632,9 +1632,9 @@ function qo({
|
|
|
1632
1632
|
cutoff_minute: d.cutoff_minute,
|
|
1633
1633
|
price: d.price,
|
|
1634
1634
|
type: d.ritualType === "chadhava" ? "chadava" : "seva"
|
|
1635
|
-
}),
|
|
1635
|
+
}), o({ type: "SET_SELECTED_RITUALS", payload: Array.from(C.values()) });
|
|
1636
1636
|
},
|
|
1637
|
-
selectAriaLabel:
|
|
1637
|
+
selectAriaLabel: _("ritualSelectAriaLabel")
|
|
1638
1638
|
},
|
|
1639
1639
|
d.id
|
|
1640
1640
|
);
|
|
@@ -1643,49 +1643,49 @@ function qo({
|
|
|
1643
1643
|
ia,
|
|
1644
1644
|
{
|
|
1645
1645
|
amount: y > 0 ? `₹${s}/-` : void 0,
|
|
1646
|
-
subtitle: y > 0 ? `${y} ${
|
|
1647
|
-
proceedLabel:
|
|
1646
|
+
subtitle: y > 0 ? `${y} ${_(y === 1 ? "ritualCountSingular" : "ritualCountPlural")}` : void 0,
|
|
1647
|
+
proceedLabel: _("ctaProceed"),
|
|
1648
1648
|
disabled: y === 0,
|
|
1649
1649
|
onProceed: () => c?.(Array.from(a.selectedRituals.keys()))
|
|
1650
1650
|
}
|
|
1651
1651
|
) })
|
|
1652
1652
|
] });
|
|
1653
1653
|
}
|
|
1654
|
-
const
|
|
1655
|
-
body:
|
|
1656
|
-
image:
|
|
1657
|
-
title:
|
|
1658
|
-
description:
|
|
1659
|
-
},
|
|
1654
|
+
const $o = "myor_body_tSY6L", Fo = "myor_image_bxDy8", Yo = "myor_title_i9OQr", Wo = "myor_description_znbxM", Te = {
|
|
1655
|
+
body: $o,
|
|
1656
|
+
image: Fo,
|
|
1657
|
+
title: Yo,
|
|
1658
|
+
description: Wo
|
|
1659
|
+
}, Xo = ({
|
|
1660
1660
|
isOpen: a,
|
|
1661
|
-
onClose:
|
|
1661
|
+
onClose: o,
|
|
1662
1662
|
imageUrl: c,
|
|
1663
|
-
title:
|
|
1663
|
+
title: n,
|
|
1664
1664
|
description: u
|
|
1665
1665
|
}) => /* @__PURE__ */ t.jsx(
|
|
1666
1666
|
dt,
|
|
1667
1667
|
{
|
|
1668
1668
|
isOpen: a,
|
|
1669
|
-
onClose:
|
|
1669
|
+
onClose: o,
|
|
1670
1670
|
showDragHandle: !0,
|
|
1671
1671
|
closeButtonOutside: !0,
|
|
1672
|
-
ariaLabel:
|
|
1672
|
+
ariaLabel: n,
|
|
1673
1673
|
children: /* @__PURE__ */ t.jsxs("div", { className: Te.body, children: [
|
|
1674
1674
|
/* @__PURE__ */ t.jsx("img", { src: c, alt: "", className: Te.image }),
|
|
1675
|
-
/* @__PURE__ */ t.jsx("p", { className: Te.title, children:
|
|
1675
|
+
/* @__PURE__ */ t.jsx("p", { className: Te.title, children: n }),
|
|
1676
1676
|
/* @__PURE__ */ t.jsx("p", { className: Te.description, children: u })
|
|
1677
1677
|
] })
|
|
1678
1678
|
}
|
|
1679
1679
|
);
|
|
1680
1680
|
export {
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1681
|
+
tn as ALL_ANCESTORS_ID,
|
|
1682
|
+
an as ANCESTOR_OPTIONS,
|
|
1683
|
+
Xo as ChadhavaSevaBottomSheet,
|
|
1684
|
+
qo as DeathTithi,
|
|
1685
|
+
Vo as I18nProvider,
|
|
1686
|
+
Qo as LandingPage,
|
|
1687
|
+
Jo as MakeYourOwnRitualPage,
|
|
1688
|
+
Ko as SelectAncestors,
|
|
1689
1689
|
Re as useI18n
|
|
1690
1690
|
};
|
|
1691
1691
|
//# sourceMappingURL=make-your-own-ritual.js.map
|