@srimandir/make-your-own-ritual 0.53.0 → 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/make-your-own-ritual.js +599 -601
- package/dist/make-your-own-ritual.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createI18n as va, BottomSheet as Ut, cn as Se } from "@srimandir/common";
|
|
2
2
|
import { SelectorCard as Ze, Button as kt, ALL_ANCESTORS_ID as ke, StepProgressHeader as Vt, AudioQuestionCard as Kt, ANCESTOR_OPTIONS as qt, Chip as _t, AddAncestorSheet as _a, getMonthLabels as Ta, TITHI_NAME_KEYS as ht, AncestorTabRow as Ca, SelectorCardInfoRow as Ra, DEATH_TITHI_OPTIONS as ja, SelectorCardEditableField as Et, formatDisplayDate as Bt, TithiPickerSheet as Sa, getAncestorAvatarUrl as Tt, DatePickerSheet as ka, formatIsoDate as Aa, parseIsoDate as Pa, AvatarCardDialog as Na, useOutcomeI18n as At, TopBar as Qt, EventHeader as Oa, RitualProceedBar as wa, OutcomeBillDetails as Jt, OutcomeButton as Pt, CheckIcon as Xt, PlusIcon as Zt, HeroLogoBadge as Da, OutcomeEmptyRituals as La, OnlinePujaTestimonial as Ia, WhySriMandir as Ea, ProcessInvolved as Ba, OutcomeStickyCta as Ha, PujaDetailsCarouselHeader as Ma, PujaBenefitsSection as Fa, TempleSignificanceSection as Ya, OutcomeAncestorEditModal as $a, ConfinedBottomSheet as Wa, PackageSelect as Ga, CheckoutBar as za, getPackageSelectDefaultCopy as Ua } from "@srimandir/pitru-paksh-common";
|
|
3
3
|
import { ALL_ANCESTORS_ID as jn, ANCESTOR_OPTIONS as Sn, ServiceOfferCard as kn, PujaBenefitsSection as An, PujaDetailsCarouselHeader as Pn, TempleSignificanceSection as Nn } from "@srimandir/pitru-paksh-common";
|
|
4
|
-
import ve, { useRef as et, useEffect as Ie, useId as Va, useState as
|
|
4
|
+
import ve, { useRef as et, useEffect as Ie, useId as Va, useState as W, useMemo as ut, Fragment as ea } from "react";
|
|
5
5
|
const Ka = {
|
|
6
6
|
// Header
|
|
7
7
|
headerBadge: "Pitru Paksh Special",
|
|
@@ -209,8 +209,8 @@ Arrangement Fee`,
|
|
|
209
209
|
confirmLabel: "आगे बढ़ें",
|
|
210
210
|
ancestorEditQuestion: "किन पितरों के लिए सुझाई गई पूजा-विधि हटाना चाहते हैं?",
|
|
211
211
|
ancestorEditConfirmLabel: "कन्फर्म करें",
|
|
212
|
-
ancestorRemoveWarningPrefix: "क्या आप सुनिश्चित रूप
|
|
213
|
-
ancestorRemoveWarningSuffix: " लिए सुझाई गई पूजा-विधि हटाना चाहते हैं?",
|
|
212
|
+
ancestorRemoveWarningPrefix: "क्या आप सुनिश्चित रूप से ",
|
|
213
|
+
ancestorRemoveWarningSuffix: " के लिए सुझाई गई पूजा-विधि हटाना चाहते हैं?",
|
|
214
214
|
ancestorRemoveWarningConfirmLabel: "हाँ",
|
|
215
215
|
ancestorRemoveWarningCancelLabel: "नहीं",
|
|
216
216
|
// MakeYourOwnRitualPage
|
|
@@ -671,21 +671,21 @@ var Ht;
|
|
|
671
671
|
function Za() {
|
|
672
672
|
if (Ht) return Je;
|
|
673
673
|
Ht = 1;
|
|
674
|
-
var a = ve, i = /* @__PURE__ */ Symbol.for("react.element"), n = /* @__PURE__ */ Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, h = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
675
|
-
function
|
|
676
|
-
var l,
|
|
677
|
-
A !== void 0 && (D = "" + A), c.key !== void 0 && (D = "" + c.key), c.ref !== void 0 && (
|
|
678
|
-
for (l in c) r.call(c, l) && !
|
|
679
|
-
if (u && u.defaultProps) for (l in c = u.defaultProps, c)
|
|
680
|
-
return { $$typeof: i, type: u, key: D, ref:
|
|
674
|
+
var a = ve, i = /* @__PURE__ */ Symbol.for("react.element"), n = /* @__PURE__ */ Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, h = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, f = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
675
|
+
function y(u, c, A) {
|
|
676
|
+
var l, _ = {}, D = null, I = null;
|
|
677
|
+
A !== void 0 && (D = "" + A), c.key !== void 0 && (D = "" + c.key), c.ref !== void 0 && (I = c.ref);
|
|
678
|
+
for (l in c) r.call(c, l) && !f.hasOwnProperty(l) && (_[l] = c[l]);
|
|
679
|
+
if (u && u.defaultProps) for (l in c = u.defaultProps, c) _[l] === void 0 && (_[l] = c[l]);
|
|
680
|
+
return { $$typeof: i, type: u, key: D, ref: I, props: _, _owner: h.current };
|
|
681
681
|
}
|
|
682
|
-
return Je.Fragment = n, Je.jsx =
|
|
682
|
+
return Je.Fragment = n, Je.jsx = y, Je.jsxs = y, Je;
|
|
683
683
|
}
|
|
684
684
|
var Xe = {};
|
|
685
685
|
var Mt;
|
|
686
686
|
function ei() {
|
|
687
687
|
return Mt || (Mt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
688
|
-
var a = ve, i = /* @__PURE__ */ Symbol.for("react.element"), n = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), h = /* @__PURE__ */ Symbol.for("react.strict_mode"),
|
|
688
|
+
var a = ve, i = /* @__PURE__ */ Symbol.for("react.element"), n = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), h = /* @__PURE__ */ Symbol.for("react.strict_mode"), f = /* @__PURE__ */ Symbol.for("react.profiler"), y = /* @__PURE__ */ Symbol.for("react.provider"), u = /* @__PURE__ */ Symbol.for("react.context"), c = /* @__PURE__ */ Symbol.for("react.forward_ref"), A = /* @__PURE__ */ Symbol.for("react.suspense"), l = /* @__PURE__ */ Symbol.for("react.suspense_list"), _ = /* @__PURE__ */ Symbol.for("react.memo"), D = /* @__PURE__ */ Symbol.for("react.lazy"), I = /* @__PURE__ */ Symbol.for("react.offscreen"), $ = Symbol.iterator, P = "@@iterator";
|
|
689
689
|
function v(t) {
|
|
690
690
|
if (t === null || typeof t != "object")
|
|
691
691
|
return null;
|
|
@@ -693,46 +693,46 @@ function ei() {
|
|
|
693
693
|
return typeof o == "function" ? o : null;
|
|
694
694
|
}
|
|
695
695
|
var b = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
696
|
-
function
|
|
696
|
+
function T(t) {
|
|
697
697
|
{
|
|
698
698
|
for (var o = arguments.length, d = new Array(o > 1 ? o - 1 : 0), g = 1; g < o; g++)
|
|
699
699
|
d[g - 1] = arguments[g];
|
|
700
|
-
|
|
700
|
+
E("error", t, d);
|
|
701
701
|
}
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function E(t, o, d) {
|
|
704
704
|
{
|
|
705
705
|
var g = b.ReactDebugCurrentFrame, w = g.getStackAddendum();
|
|
706
706
|
w !== "" && (o += "%s", d = d.concat([w]));
|
|
707
|
-
var
|
|
707
|
+
var F = d.map(function(k) {
|
|
708
708
|
return String(k);
|
|
709
709
|
});
|
|
710
|
-
|
|
710
|
+
F.unshift("Warning: " + o), Function.prototype.apply.call(console[t], console, F);
|
|
711
711
|
}
|
|
712
712
|
}
|
|
713
|
-
var R = !1,
|
|
714
|
-
|
|
715
|
-
function
|
|
716
|
-
return !!(typeof t == "string" || typeof t == "function" || t === r || t ===
|
|
713
|
+
var R = !1, Q = !1, H = !1, re = !1, C = !1, m;
|
|
714
|
+
m = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
715
|
+
function te(t) {
|
|
716
|
+
return !!(typeof t == "string" || typeof t == "function" || t === r || t === f || C || t === h || t === A || t === l || re || t === I || R || Q || H || typeof t == "object" && t !== null && (t.$$typeof === D || t.$$typeof === _ || t.$$typeof === y || t.$$typeof === u || t.$$typeof === c || // This needs to include all possible module reference object
|
|
717
717
|
// types supported by any Flight configuration anywhere since
|
|
718
718
|
// we don't know which Flight build this will end up being used
|
|
719
719
|
// with.
|
|
720
|
-
t.$$typeof ===
|
|
720
|
+
t.$$typeof === m || t.getModuleId !== void 0));
|
|
721
721
|
}
|
|
722
|
-
function
|
|
722
|
+
function X(t, o, d) {
|
|
723
723
|
var g = t.displayName;
|
|
724
724
|
if (g)
|
|
725
725
|
return g;
|
|
726
726
|
var w = o.displayName || o.name || "";
|
|
727
727
|
return w !== "" ? d + "(" + w + ")" : d;
|
|
728
728
|
}
|
|
729
|
-
function
|
|
729
|
+
function ae(t) {
|
|
730
730
|
return t.displayName || "Context";
|
|
731
731
|
}
|
|
732
|
-
function
|
|
732
|
+
function U(t) {
|
|
733
733
|
if (t == null)
|
|
734
734
|
return null;
|
|
735
|
-
if (typeof t.tag == "number" &&
|
|
735
|
+
if (typeof t.tag == "number" && T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
736
736
|
return t.displayName || t.name || null;
|
|
737
737
|
if (typeof t == "string")
|
|
738
738
|
return t;
|
|
@@ -741,7 +741,7 @@ function ei() {
|
|
|
741
741
|
return "Fragment";
|
|
742
742
|
case n:
|
|
743
743
|
return "Portal";
|
|
744
|
-
case
|
|
744
|
+
case f:
|
|
745
745
|
return "Profiler";
|
|
746
746
|
case h:
|
|
747
747
|
return "StrictMode";
|
|
@@ -754,19 +754,19 @@ function ei() {
|
|
|
754
754
|
switch (t.$$typeof) {
|
|
755
755
|
case u:
|
|
756
756
|
var o = t;
|
|
757
|
-
return
|
|
758
|
-
case
|
|
757
|
+
return ae(o) + ".Consumer";
|
|
758
|
+
case y:
|
|
759
759
|
var d = t;
|
|
760
|
-
return
|
|
760
|
+
return ae(d._context) + ".Provider";
|
|
761
761
|
case c:
|
|
762
|
-
return
|
|
763
|
-
case
|
|
762
|
+
return X(t, t.render, "ForwardRef");
|
|
763
|
+
case _:
|
|
764
764
|
var g = t.displayName || null;
|
|
765
|
-
return g !== null ? g :
|
|
765
|
+
return g !== null ? g : U(t.type) || "Memo";
|
|
766
766
|
case D: {
|
|
767
|
-
var w = t,
|
|
767
|
+
var w = t, F = w._payload, k = w._init;
|
|
768
768
|
try {
|
|
769
|
-
return
|
|
769
|
+
return U(k(F));
|
|
770
770
|
} catch {
|
|
771
771
|
return null;
|
|
772
772
|
}
|
|
@@ -774,14 +774,14 @@ function ei() {
|
|
|
774
774
|
}
|
|
775
775
|
return null;
|
|
776
776
|
}
|
|
777
|
-
var Z = Object.assign,
|
|
777
|
+
var Z = Object.assign, M = 0, he, p, _e, xe, be, Ee, Ye;
|
|
778
778
|
function x() {
|
|
779
779
|
}
|
|
780
780
|
x.__reactDisabledLog = !0;
|
|
781
|
-
function
|
|
781
|
+
function Y() {
|
|
782
782
|
{
|
|
783
|
-
if (
|
|
784
|
-
he = console.log,
|
|
783
|
+
if (M === 0) {
|
|
784
|
+
he = console.log, p = console.info, _e = console.warn, xe = console.error, be = console.group, Ee = console.groupCollapsed, Ye = console.groupEnd;
|
|
785
785
|
var t = {
|
|
786
786
|
configurable: !0,
|
|
787
787
|
enumerable: !0,
|
|
@@ -798,12 +798,12 @@ function ei() {
|
|
|
798
798
|
groupEnd: t
|
|
799
799
|
});
|
|
800
800
|
}
|
|
801
|
-
|
|
801
|
+
M++;
|
|
802
802
|
}
|
|
803
803
|
}
|
|
804
|
-
function
|
|
804
|
+
function L() {
|
|
805
805
|
{
|
|
806
|
-
if (
|
|
806
|
+
if (M--, M === 0) {
|
|
807
807
|
var t = {
|
|
808
808
|
configurable: !0,
|
|
809
809
|
enumerable: !0,
|
|
@@ -814,7 +814,7 @@ function ei() {
|
|
|
814
814
|
value: he
|
|
815
815
|
}),
|
|
816
816
|
info: Z({}, t, {
|
|
817
|
-
value:
|
|
817
|
+
value: p
|
|
818
818
|
}),
|
|
819
819
|
warn: Z({}, t, {
|
|
820
820
|
value: _e
|
|
@@ -833,10 +833,10 @@ function ei() {
|
|
|
833
833
|
})
|
|
834
834
|
});
|
|
835
835
|
}
|
|
836
|
-
|
|
836
|
+
M < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
837
837
|
}
|
|
838
838
|
}
|
|
839
|
-
var
|
|
839
|
+
var G = b.ReactCurrentDispatcher, Ae;
|
|
840
840
|
function me(t, o, d) {
|
|
841
841
|
{
|
|
842
842
|
if (Ae === void 0)
|
|
@@ -867,8 +867,8 @@ function ei() {
|
|
|
867
867
|
Pe = !0;
|
|
868
868
|
var w = Error.prepareStackTrace;
|
|
869
869
|
Error.prepareStackTrace = void 0;
|
|
870
|
-
var
|
|
871
|
-
|
|
870
|
+
var F;
|
|
871
|
+
F = G.current, G.current = null, Y();
|
|
872
872
|
try {
|
|
873
873
|
if (o) {
|
|
874
874
|
var k = function() {
|
|
@@ -881,52 +881,52 @@ function ei() {
|
|
|
881
881
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
882
882
|
try {
|
|
883
883
|
Reflect.construct(k, []);
|
|
884
|
-
} catch (
|
|
885
|
-
g =
|
|
884
|
+
} catch (le) {
|
|
885
|
+
g = le;
|
|
886
886
|
}
|
|
887
887
|
Reflect.construct(t, [], k);
|
|
888
888
|
} else {
|
|
889
889
|
try {
|
|
890
890
|
k.call();
|
|
891
|
-
} catch (
|
|
892
|
-
g =
|
|
891
|
+
} catch (le) {
|
|
892
|
+
g = le;
|
|
893
893
|
}
|
|
894
894
|
t.call(k.prototype);
|
|
895
895
|
}
|
|
896
896
|
} else {
|
|
897
897
|
try {
|
|
898
898
|
throw Error();
|
|
899
|
-
} catch (
|
|
900
|
-
g =
|
|
899
|
+
} catch (le) {
|
|
900
|
+
g = le;
|
|
901
901
|
}
|
|
902
902
|
t();
|
|
903
903
|
}
|
|
904
|
-
} catch (
|
|
905
|
-
if (
|
|
906
|
-
for (var j =
|
|
907
|
-
`),
|
|
908
|
-
`),
|
|
909
|
-
|
|
910
|
-
for (;
|
|
911
|
-
if (j[
|
|
912
|
-
if (
|
|
904
|
+
} catch (le) {
|
|
905
|
+
if (le && g && typeof le.stack == "string") {
|
|
906
|
+
for (var j = le.stack.split(`
|
|
907
|
+
`), se = g.stack.split(`
|
|
908
|
+
`), V = j.length - 1, q = se.length - 1; V >= 1 && q >= 0 && j[V] !== se[q]; )
|
|
909
|
+
q--;
|
|
910
|
+
for (; V >= 1 && q >= 0; V--, q--)
|
|
911
|
+
if (j[V] !== se[q]) {
|
|
912
|
+
if (V !== 1 || q !== 1)
|
|
913
913
|
do
|
|
914
|
-
if (
|
|
914
|
+
if (V--, q--, q < 0 || j[V] !== se[q]) {
|
|
915
915
|
var de = `
|
|
916
|
-
` + j[
|
|
916
|
+
` + j[V].replace(" at new ", " at ");
|
|
917
917
|
return t.displayName && de.includes("<anonymous>") && (de = de.replace("<anonymous>", t.displayName)), typeof t == "function" && Te.set(t, de), de;
|
|
918
918
|
}
|
|
919
|
-
while (
|
|
919
|
+
while (V >= 1 && q >= 0);
|
|
920
920
|
break;
|
|
921
921
|
}
|
|
922
922
|
}
|
|
923
923
|
} finally {
|
|
924
|
-
Pe = !1,
|
|
924
|
+
Pe = !1, G.current = F, L(), Error.prepareStackTrace = w;
|
|
925
925
|
}
|
|
926
926
|
var ze = t ? t.displayName || t.name : "", Fe = ze ? me(ze) : "";
|
|
927
927
|
return typeof t == "function" && Te.set(t, Fe), Fe;
|
|
928
928
|
}
|
|
929
|
-
function
|
|
929
|
+
function ne(t, o, d) {
|
|
930
930
|
return pe(t, !1);
|
|
931
931
|
}
|
|
932
932
|
function tt(t) {
|
|
@@ -949,13 +949,13 @@ function ei() {
|
|
|
949
949
|
if (typeof t == "object")
|
|
950
950
|
switch (t.$$typeof) {
|
|
951
951
|
case c:
|
|
952
|
-
return
|
|
953
|
-
case
|
|
952
|
+
return ne(t.render);
|
|
953
|
+
case _:
|
|
954
954
|
return Oe(t.type, o, d);
|
|
955
955
|
case D: {
|
|
956
|
-
var g = t, w = g._payload,
|
|
956
|
+
var g = t, w = g._payload, F = g._init;
|
|
957
957
|
try {
|
|
958
|
-
return Oe(
|
|
958
|
+
return Oe(F(w), o, d);
|
|
959
959
|
} catch {
|
|
960
960
|
}
|
|
961
961
|
}
|
|
@@ -972,20 +972,20 @@ function ei() {
|
|
|
972
972
|
}
|
|
973
973
|
function yt(t, o, d, g, w) {
|
|
974
974
|
{
|
|
975
|
-
var
|
|
975
|
+
var F = Function.call.bind(Ce);
|
|
976
976
|
for (var k in t)
|
|
977
|
-
if (
|
|
977
|
+
if (F(t, k)) {
|
|
978
978
|
var j = void 0;
|
|
979
979
|
try {
|
|
980
980
|
if (typeof t[k] != "function") {
|
|
981
|
-
var
|
|
982
|
-
throw
|
|
981
|
+
var se = Error((g || "React class") + ": " + d + " type `" + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[k] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
982
|
+
throw se.name = "Invariant Violation", se;
|
|
983
983
|
}
|
|
984
984
|
j = t[k](o, k, g, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
985
|
-
} catch (
|
|
986
|
-
j =
|
|
985
|
+
} catch (V) {
|
|
986
|
+
j = V;
|
|
987
987
|
}
|
|
988
|
-
j && !(j instanceof Error) && (Be(w),
|
|
988
|
+
j && !(j instanceof Error) && (Be(w), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", g || "React class", d, k, typeof j), Be(null)), j instanceof Error && !(j.message in Ke) && (Ke[j.message] = !0, Be(w), T("Failed %s type: %s", d, j.message), Be(null));
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
991
|
}
|
|
@@ -1011,7 +1011,7 @@ function ei() {
|
|
|
1011
1011
|
}
|
|
1012
1012
|
function qe(t) {
|
|
1013
1013
|
if (We(t))
|
|
1014
|
-
return
|
|
1014
|
+
return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", we(t)), at(t);
|
|
1015
1015
|
}
|
|
1016
1016
|
var Qe = b.ReactCurrentOwner, it = {
|
|
1017
1017
|
key: !0,
|
|
@@ -1041,7 +1041,7 @@ function ei() {
|
|
|
1041
1041
|
function gt(t, o) {
|
|
1042
1042
|
{
|
|
1043
1043
|
var d = function() {
|
|
1044
|
-
rt || (rt = !0,
|
|
1044
|
+
rt || (rt = !0, T("%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)", o));
|
|
1045
1045
|
};
|
|
1046
1046
|
d.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
1047
1047
|
get: d,
|
|
@@ -1052,7 +1052,7 @@ function ei() {
|
|
|
1052
1052
|
function ot(t, o) {
|
|
1053
1053
|
{
|
|
1054
1054
|
var d = function() {
|
|
1055
|
-
st || (st = !0,
|
|
1055
|
+
st || (st = !0, T("%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)", o));
|
|
1056
1056
|
};
|
|
1057
1057
|
d.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
1058
1058
|
get: d,
|
|
@@ -1060,7 +1060,7 @@ function ei() {
|
|
|
1060
1060
|
});
|
|
1061
1061
|
}
|
|
1062
1062
|
}
|
|
1063
|
-
var nt = function(t, o, d, g, w,
|
|
1063
|
+
var nt = function(t, o, d, g, w, F, k) {
|
|
1064
1064
|
var j = {
|
|
1065
1065
|
// This tag allows us to uniquely identify this as a React Element
|
|
1066
1066
|
$$typeof: i,
|
|
@@ -1070,7 +1070,7 @@ function ei() {
|
|
|
1070
1070
|
ref: d,
|
|
1071
1071
|
props: k,
|
|
1072
1072
|
// Record the component responsible for creating this element.
|
|
1073
|
-
_owner:
|
|
1073
|
+
_owner: F
|
|
1074
1074
|
};
|
|
1075
1075
|
return j._store = {}, Object.defineProperty(j._store, "validated", {
|
|
1076
1076
|
configurable: !1,
|
|
@@ -1091,24 +1091,24 @@ function ei() {
|
|
|
1091
1091
|
};
|
|
1092
1092
|
function s(t, o, d, g, w) {
|
|
1093
1093
|
{
|
|
1094
|
-
var
|
|
1095
|
-
d !== void 0 && (qe(d), j = "" + d), Ge(o) && (qe(o.key), j = "" + o.key), xt(o) && (
|
|
1096
|
-
for (
|
|
1097
|
-
Ce.call(o,
|
|
1094
|
+
var F, k = {}, j = null, se = null;
|
|
1095
|
+
d !== void 0 && (qe(d), j = "" + d), Ge(o) && (qe(o.key), j = "" + o.key), xt(o) && (se = o.ref, bt(o, w));
|
|
1096
|
+
for (F in o)
|
|
1097
|
+
Ce.call(o, F) && !it.hasOwnProperty(F) && (k[F] = o[F]);
|
|
1098
1098
|
if (t && t.defaultProps) {
|
|
1099
|
-
var
|
|
1100
|
-
for (
|
|
1101
|
-
k[
|
|
1099
|
+
var V = t.defaultProps;
|
|
1100
|
+
for (F in V)
|
|
1101
|
+
k[F] === void 0 && (k[F] = V[F]);
|
|
1102
1102
|
}
|
|
1103
|
-
if (j ||
|
|
1104
|
-
var
|
|
1105
|
-
j && gt(k,
|
|
1103
|
+
if (j || se) {
|
|
1104
|
+
var q = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
1105
|
+
j && gt(k, q), se && ot(k, q);
|
|
1106
1106
|
}
|
|
1107
|
-
return nt(t, j,
|
|
1107
|
+
return nt(t, j, se, w, g, Qe.current, k);
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
|
-
var
|
|
1111
|
-
function
|
|
1110
|
+
var B = b.ReactCurrentOwner, fe = b.ReactDebugCurrentFrame;
|
|
1111
|
+
function J(t) {
|
|
1112
1112
|
if (t) {
|
|
1113
1113
|
var o = t._owner, d = Oe(t.type, t._source, o ? o.type : null);
|
|
1114
1114
|
fe.setExtraStackFrame(d);
|
|
@@ -1122,8 +1122,8 @@ function ei() {
|
|
|
1122
1122
|
}
|
|
1123
1123
|
function je() {
|
|
1124
1124
|
{
|
|
1125
|
-
if (
|
|
1126
|
-
var t =
|
|
1125
|
+
if (B.current) {
|
|
1126
|
+
var t = U(B.current.type);
|
|
1127
1127
|
if (t)
|
|
1128
1128
|
return `
|
|
1129
1129
|
|
|
@@ -1158,7 +1158,7 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1158
1158
|
return;
|
|
1159
1159
|
lt[d] = !0;
|
|
1160
1160
|
var g = "";
|
|
1161
|
-
t && t._owner && t._owner !==
|
|
1161
|
+
t && t._owner && t._owner !== B.current && (g = " It was passed a child from " + U(t._owner.type) + "."), J(t), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, g), J(null);
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
1164
1164
|
function Dt(t, o) {
|
|
@@ -1175,7 +1175,7 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1175
1175
|
else if (t) {
|
|
1176
1176
|
var w = v(t);
|
|
1177
1177
|
if (typeof w == "function" && w !== t.entries)
|
|
1178
|
-
for (var
|
|
1178
|
+
for (var F = w.call(t), k; !(k = F.next()).done; )
|
|
1179
1179
|
He(k.value) && wt(k.value, o);
|
|
1180
1180
|
}
|
|
1181
1181
|
}
|
|
@@ -1190,19 +1190,19 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1190
1190
|
d = o.propTypes;
|
|
1191
1191
|
else if (typeof o == "object" && (o.$$typeof === c || // Note: Memo only checks outer props here.
|
|
1192
1192
|
// Inner props are checked in the reconciler.
|
|
1193
|
-
o.$$typeof ===
|
|
1193
|
+
o.$$typeof === _))
|
|
1194
1194
|
d = o.propTypes;
|
|
1195
1195
|
else
|
|
1196
1196
|
return;
|
|
1197
1197
|
if (d) {
|
|
1198
|
-
var g =
|
|
1198
|
+
var g = U(o);
|
|
1199
1199
|
yt(d, t.props, "prop", g, t);
|
|
1200
1200
|
} else if (o.PropTypes !== void 0 && !De) {
|
|
1201
1201
|
De = !0;
|
|
1202
|
-
var w =
|
|
1203
|
-
|
|
1202
|
+
var w = U(o);
|
|
1203
|
+
T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", w || "Unknown");
|
|
1204
1204
|
}
|
|
1205
|
-
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved &&
|
|
1205
|
+
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1206
1206
|
}
|
|
1207
1207
|
}
|
|
1208
1208
|
function ma(t) {
|
|
@@ -1210,28 +1210,28 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1210
1210
|
for (var o = Object.keys(t.props), d = 0; d < o.length; d++) {
|
|
1211
1211
|
var g = o[d];
|
|
1212
1212
|
if (g !== "children" && g !== "key") {
|
|
1213
|
-
|
|
1213
|
+
J(t), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", g), J(null);
|
|
1214
1214
|
break;
|
|
1215
1215
|
}
|
|
1216
1216
|
}
|
|
1217
|
-
t.ref !== null && (
|
|
1217
|
+
t.ref !== null && (J(t), T("Invalid attribute `ref` supplied to `React.Fragment`."), J(null));
|
|
1218
1218
|
}
|
|
1219
1219
|
}
|
|
1220
1220
|
var Lt = {};
|
|
1221
|
-
function It(t, o, d, g, w,
|
|
1221
|
+
function It(t, o, d, g, w, F) {
|
|
1222
1222
|
{
|
|
1223
|
-
var k =
|
|
1223
|
+
var k = te(t);
|
|
1224
1224
|
if (!k) {
|
|
1225
1225
|
var j = "";
|
|
1226
1226
|
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (j += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1227
|
-
var
|
|
1228
|
-
|
|
1229
|
-
var
|
|
1230
|
-
t === null ?
|
|
1227
|
+
var se = Me();
|
|
1228
|
+
se ? j += se : j += je();
|
|
1229
|
+
var V;
|
|
1230
|
+
t === null ? V = "null" : $e(t) ? V = "array" : t !== void 0 && t.$$typeof === i ? (V = "<" + (U(t.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : V = typeof t, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", V, j);
|
|
1231
1231
|
}
|
|
1232
|
-
var
|
|
1233
|
-
if (
|
|
1234
|
-
return
|
|
1232
|
+
var q = s(t, o, d, w, F);
|
|
1233
|
+
if (q == null)
|
|
1234
|
+
return q;
|
|
1235
1235
|
if (k) {
|
|
1236
1236
|
var de = o.children;
|
|
1237
1237
|
if (de !== void 0)
|
|
@@ -1241,17 +1241,17 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1241
1241
|
Dt(de[ze], t);
|
|
1242
1242
|
Object.freeze && Object.freeze(de);
|
|
1243
1243
|
} else
|
|
1244
|
-
|
|
1244
|
+
T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1245
1245
|
else
|
|
1246
1246
|
Dt(de, t);
|
|
1247
1247
|
}
|
|
1248
1248
|
if (Ce.call(o, "key")) {
|
|
1249
|
-
var Fe =
|
|
1249
|
+
var Fe = U(t), le = Object.keys(o).filter(function(ga) {
|
|
1250
1250
|
return ga !== "key";
|
|
1251
|
-
}), vt =
|
|
1251
|
+
}), vt = le.length > 0 ? "{key: someKey, " + le.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1252
1252
|
if (!Lt[Fe + vt]) {
|
|
1253
|
-
var ba =
|
|
1254
|
-
|
|
1253
|
+
var ba = le.length > 0 ? "{" + le.join(": ..., ") + ": ...}" : "{}";
|
|
1254
|
+
T(`A props object containing a "key" prop is being spread into JSX:
|
|
1255
1255
|
let props = %s;
|
|
1256
1256
|
<%s {...props} />
|
|
1257
1257
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -1259,7 +1259,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1259
1259
|
<%s key={someKey} {...props} />`, vt, Fe, ba, Fe), Lt[Fe + vt] = !0;
|
|
1260
1260
|
}
|
|
1261
1261
|
}
|
|
1262
|
-
return t === r ? ma(
|
|
1262
|
+
return t === r ? ma(q) : ha(q), q;
|
|
1263
1263
|
}
|
|
1264
1264
|
}
|
|
1265
1265
|
function pa(t, o, d) {
|
|
@@ -1287,8 +1287,8 @@ function ii(a, i) {
|
|
|
1287
1287
|
if (a == null) return {};
|
|
1288
1288
|
var n, r, h = ri(a, i);
|
|
1289
1289
|
if (Object.getOwnPropertySymbols) {
|
|
1290
|
-
var
|
|
1291
|
-
for (r = 0; r <
|
|
1290
|
+
var f = Object.getOwnPropertySymbols(a);
|
|
1291
|
+
for (r = 0; r < f.length; r++) n = f[r], i.indexOf(n) === -1 && {}.propertyIsEnumerable.call(a, n) && (h[n] = a[n]);
|
|
1292
1292
|
}
|
|
1293
1293
|
return h;
|
|
1294
1294
|
}
|
|
@@ -1353,19 +1353,19 @@ function sa(a) {
|
|
|
1353
1353
|
key: n
|
|
1354
1354
|
}, i.attr), sa(i.child)));
|
|
1355
1355
|
}
|
|
1356
|
-
function
|
|
1356
|
+
function oe(a) {
|
|
1357
1357
|
return (i) => /* @__PURE__ */ ve.createElement(li, mt({
|
|
1358
1358
|
attr: pt({}, a.attr)
|
|
1359
1359
|
}, i), sa(a.child));
|
|
1360
1360
|
}
|
|
1361
1361
|
function li(a) {
|
|
1362
1362
|
var i = (n) => {
|
|
1363
|
-
var r = a.attr, h = a.size,
|
|
1363
|
+
var r = a.attr, h = a.size, f = a.title, y = ii(a, ai), u = h || n.size || "1em", c;
|
|
1364
1364
|
return n.className && (c = n.className), a.className && (c = (c ? c + " " : "") + a.className), /* @__PURE__ */ ve.createElement("svg", mt({
|
|
1365
1365
|
stroke: "currentColor",
|
|
1366
1366
|
fill: "currentColor",
|
|
1367
1367
|
strokeWidth: "0"
|
|
1368
|
-
}, n.attr, r,
|
|
1368
|
+
}, n.attr, r, y, {
|
|
1369
1369
|
className: c,
|
|
1370
1370
|
style: pt(pt({
|
|
1371
1371
|
color: a.color || n.color
|
|
@@ -1373,39 +1373,39 @@ function li(a) {
|
|
|
1373
1373
|
height: u,
|
|
1374
1374
|
width: u,
|
|
1375
1375
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1376
|
-
}),
|
|
1376
|
+
}), f && /* @__PURE__ */ ve.createElement("title", null, f), a.children);
|
|
1377
1377
|
};
|
|
1378
1378
|
return Yt !== void 0 ? /* @__PURE__ */ ve.createElement(Yt.Consumer, null, (n) => i(n)) : i(ra);
|
|
1379
1379
|
}
|
|
1380
1380
|
function ci(a) {
|
|
1381
|
-
return
|
|
1381
|
+
return oe({ 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);
|
|
1382
1382
|
}
|
|
1383
1383
|
function di(a) {
|
|
1384
|
-
return
|
|
1384
|
+
return oe({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" }, child: [] }] })(a);
|
|
1385
1385
|
}
|
|
1386
1386
|
function oa(a) {
|
|
1387
|
-
return
|
|
1387
|
+
return oe({ 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: "16", x2: "12", y2: "12" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "8", x2: "12.01", y2: "8" }, child: [] }] })(a);
|
|
1388
1388
|
}
|
|
1389
1389
|
function ui(a) {
|
|
1390
|
-
return
|
|
1390
|
+
return oe({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z" }, child: [] }] })(a);
|
|
1391
1391
|
}
|
|
1392
1392
|
function na(a) {
|
|
1393
|
-
return
|
|
1393
|
+
return oe({ 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);
|
|
1394
1394
|
}
|
|
1395
1395
|
function la(a) {
|
|
1396
|
-
return
|
|
1396
|
+
return oe({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "rect", attr: { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }, child: [] }, { tag: "line", attr: { x1: "16", y1: "2", x2: "16", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "8", y1: "2", x2: "8", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "3", y1: "10", x2: "21", y2: "10" }, child: [] }] })(a);
|
|
1397
1397
|
}
|
|
1398
1398
|
function Nt(a) {
|
|
1399
|
-
return
|
|
1399
|
+
return oe({ 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);
|
|
1400
1400
|
}
|
|
1401
1401
|
function ca(a) {
|
|
1402
|
-
return
|
|
1402
|
+
return oe({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "19", y1: "12", x2: "5", y2: "12" }, child: [] }, { tag: "polyline", attr: { points: "12 19 5 12 12 5" }, child: [] }] })(a);
|
|
1403
1403
|
}
|
|
1404
1404
|
function Ot(a) {
|
|
1405
|
-
return
|
|
1405
|
+
return oe({ 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);
|
|
1406
1406
|
}
|
|
1407
1407
|
function hi(a) {
|
|
1408
|
-
return
|
|
1408
|
+
return oe({ attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z" }, child: [] }] })(a);
|
|
1409
1409
|
}
|
|
1410
1410
|
function mi(a, i) {
|
|
1411
1411
|
const n = a.findIndex((r) => r.id === i);
|
|
@@ -1415,7 +1415,7 @@ function mi(a, i) {
|
|
|
1415
1415
|
status: h < n ? "completed" : h === n ? "active" : "pending"
|
|
1416
1416
|
}));
|
|
1417
1417
|
}
|
|
1418
|
-
const pi = "myor_row_Uonz3", fi = "myor_connector_6c2qX", yi = "myor_tab_fzhnb", xi = "myor_highlight_53sSp", bi = "myor_dotRow_Ie5Oo", gi = "myor_connectorFill_tlvAz", vi = "myor_connectorFillHidden_RcyYJ", _i = "myor_dot_Mdkyj", Ti = "myor_dotCompleted_CXFHi", Ci = "myor_dotInner_tkCjz", Ri = "myor_dotIcon_-WMDU", ji = "myor_label_pzOs7", Si = "myor_labelActive_Uwkku",
|
|
1418
|
+
const pi = "myor_row_Uonz3", fi = "myor_connector_6c2qX", yi = "myor_tab_fzhnb", xi = "myor_highlight_53sSp", bi = "myor_dotRow_Ie5Oo", gi = "myor_connectorFill_tlvAz", vi = "myor_connectorFillHidden_RcyYJ", _i = "myor_dot_Mdkyj", Ti = "myor_dotCompleted_CXFHi", Ci = "myor_dotInner_tkCjz", Ri = "myor_dotIcon_-WMDU", ji = "myor_label_pzOs7", Si = "myor_labelActive_Uwkku", ie = {
|
|
1419
1419
|
row: pi,
|
|
1420
1420
|
connector: fi,
|
|
1421
1421
|
tab: yi,
|
|
@@ -1434,33 +1434,33 @@ const pi = "myor_row_Uonz3", fi = "myor_connector_6c2qX", yi = "myor_tab_fzhnb",
|
|
|
1434
1434
|
onTabClick: i,
|
|
1435
1435
|
className: n
|
|
1436
1436
|
}) => {
|
|
1437
|
-
const r = et(null), h = a.find((
|
|
1437
|
+
const r = et(null), h = a.find((f) => f.status === "active")?.id;
|
|
1438
1438
|
return Ie(() => {
|
|
1439
1439
|
r.current?.scrollIntoView({ behavior: "smooth", inline: "center", block: "nearest" });
|
|
1440
|
-
}, [h]), /* @__PURE__ */ e.jsx("div", { className: [
|
|
1441
|
-
const u =
|
|
1440
|
+
}, [h]), /* @__PURE__ */ e.jsx("div", { className: [ie.row, n].filter(Boolean).join(" "), children: a.map((f, y) => {
|
|
1441
|
+
const u = f.status !== "pending" && !!i;
|
|
1442
1442
|
return /* @__PURE__ */ e.jsxs(ve.Fragment, { children: [
|
|
1443
|
-
|
|
1443
|
+
y > 0 && /* @__PURE__ */ e.jsx("div", { className: ie.connector }),
|
|
1444
1444
|
/* @__PURE__ */ e.jsxs(
|
|
1445
1445
|
"button",
|
|
1446
1446
|
{
|
|
1447
|
-
ref:
|
|
1447
|
+
ref: f.status === "active" ? r : void 0,
|
|
1448
1448
|
type: "button",
|
|
1449
|
-
className:
|
|
1449
|
+
className: ie.tab,
|
|
1450
1450
|
disabled: !u,
|
|
1451
|
-
onClick: u ? () => i?.(
|
|
1451
|
+
onClick: u ? () => i?.(f.id) : void 0,
|
|
1452
1452
|
children: [
|
|
1453
|
-
|
|
1454
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1455
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1456
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1457
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1453
|
+
f.status === "active" && /* @__PURE__ */ e.jsx("div", { className: ie.highlight }),
|
|
1454
|
+
/* @__PURE__ */ e.jsxs("div", { className: ie.dotRow, children: [
|
|
1455
|
+
/* @__PURE__ */ e.jsx("div", { className: y === 0 ? ie.connectorFillHidden : ie.connectorFill }),
|
|
1456
|
+
/* @__PURE__ */ e.jsx("div", { className: f.status === "completed" ? `${ie.dot} ${ie.dotCompleted}` : ie.dot, children: f.status === "completed" ? /* @__PURE__ */ e.jsx(ui, { size: 12, className: ie.dotIcon, "aria-hidden": !0 }) : /* @__PURE__ */ e.jsx("div", { className: ie.dotInner }) }),
|
|
1457
|
+
/* @__PURE__ */ e.jsx("div", { className: y === a.length - 1 ? ie.connectorFillHidden : ie.connectorFill })
|
|
1458
1458
|
] }),
|
|
1459
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1459
|
+
/* @__PURE__ */ e.jsx("p", { className: f.status === "active" ? `${ie.label} ${ie.labelActive}` : ie.label, children: f.label })
|
|
1460
1460
|
]
|
|
1461
1461
|
}
|
|
1462
1462
|
)
|
|
1463
|
-
] },
|
|
1463
|
+
] }, f.id);
|
|
1464
1464
|
}) });
|
|
1465
1465
|
}, Ai = "myor_ribbon_zosLj", Pi = "myor_ribbonImage_IghAk", Ni = "myor_ribbonLabel_qGrW0", Ct = {
|
|
1466
1466
|
ribbon: Ai,
|
|
@@ -1508,7 +1508,7 @@ const pi = "myor_row_Uonz3", fi = "myor_connector_6c2qX", yi = "myor_tab_fzhnb",
|
|
|
1508
1508
|
),
|
|
1509
1509
|
/* @__PURE__ */ e.jsx("span", { className: Ct.ribbonLabel, children: a })
|
|
1510
1510
|
] });
|
|
1511
|
-
}, Oi = "myor_header_QbWgF", wi = "myor_body_s1J5Z", Di = "myor_card_gepPI", Li = "myor_cardSelected_ZDSxw", Ii = "myor_cardUnselected_OzjAa", Ei = "myor_cardIcon_jJSy5", Bi = "myor_ribbonContainer_Eh-1M", Hi = "myor_icon_QDijY", Mi = "myor_moonIcon_P-DpM", Fi = "myor_footer_n41O8", Yi = "myor_ctaButton_ZB1gf",
|
|
1511
|
+
}, Oi = "myor_header_QbWgF", wi = "myor_body_s1J5Z", Di = "myor_card_gepPI", Li = "myor_cardSelected_ZDSxw", Ii = "myor_cardUnselected_OzjAa", Ei = "myor_cardIcon_jJSy5", Bi = "myor_ribbonContainer_Eh-1M", Hi = "myor_icon_QDijY", Mi = "myor_moonIcon_P-DpM", Fi = "myor_footer_n41O8", Yi = "myor_ctaButton_ZB1gf", ce = {
|
|
1512
1512
|
header: Oi,
|
|
1513
1513
|
body: wi,
|
|
1514
1514
|
card: Di,
|
|
@@ -1526,7 +1526,7 @@ const pi = "myor_row_Uonz3", fi = "myor_connector_6c2qX", yi = "myor_tab_fzhnb",
|
|
|
1526
1526
|
onCtaClick: n,
|
|
1527
1527
|
amavasyaOnly: r
|
|
1528
1528
|
}) => {
|
|
1529
|
-
const { t: h } = Ve(), [
|
|
1529
|
+
const { t: h } = Ve(), [f, y] = W("amavasya"), u = r ? "amavasya" : f;
|
|
1530
1530
|
return /* @__PURE__ */ e.jsx(
|
|
1531
1531
|
Ut,
|
|
1532
1532
|
{
|
|
@@ -1535,13 +1535,13 @@ const pi = "myor_row_Uonz3", fi = "myor_connector_6c2qX", yi = "myor_tab_fzhnb",
|
|
|
1535
1535
|
showDragHandle: !0,
|
|
1536
1536
|
closeButtonOutside: !0,
|
|
1537
1537
|
ariaLabel: h("selectRitualDaySheetHeading"),
|
|
1538
|
-
header: /* @__PURE__ */ e.jsx("p", { className:
|
|
1539
|
-
footer: /* @__PURE__ */ e.jsx("div", { className:
|
|
1538
|
+
header: /* @__PURE__ */ e.jsx("p", { className: ce.header, children: h("selectRitualDaySheetHeading") }),
|
|
1539
|
+
footer: /* @__PURE__ */ e.jsx("div", { className: ce.footer, children: /* @__PURE__ */ e.jsx(
|
|
1540
1540
|
kt,
|
|
1541
1541
|
{
|
|
1542
1542
|
variant: "primary",
|
|
1543
1543
|
size: "xl",
|
|
1544
|
-
className:
|
|
1544
|
+
className: ce.ctaButton,
|
|
1545
1545
|
rightIcon: /* @__PURE__ */ e.jsx(Nt, { "aria-hidden": !0 }),
|
|
1546
1546
|
onClick: () => n(u),
|
|
1547
1547
|
children: h(
|
|
@@ -1552,7 +1552,7 @@ const pi = "myor_row_Uonz3", fi = "myor_connector_6c2qX", yi = "myor_tab_fzhnb",
|
|
|
1552
1552
|
children: /* @__PURE__ */ e.jsxs(
|
|
1553
1553
|
"div",
|
|
1554
1554
|
{
|
|
1555
|
-
className:
|
|
1555
|
+
className: ce.body,
|
|
1556
1556
|
role: r ? void 0 : "radiogroup",
|
|
1557
1557
|
"aria-label": r ? void 0 : h("selectRitualDaySheetHeading"),
|
|
1558
1558
|
children: [
|
|
@@ -1560,14 +1560,14 @@ const pi = "myor_row_Uonz3", fi = "myor_connector_6c2qX", yi = "myor_tab_fzhnb",
|
|
|
1560
1560
|
Ze,
|
|
1561
1561
|
{
|
|
1562
1562
|
selected: u === "amavasya",
|
|
1563
|
-
className: u === "amavasya" ? `${
|
|
1564
|
-
onSelect: () =>
|
|
1563
|
+
className: u === "amavasya" ? `${ce.card} ${ce.cardSelected}` : `${ce.card} ${ce.cardUnselected}`,
|
|
1564
|
+
onSelect: () => y("amavasya"),
|
|
1565
1565
|
showRadio: !r,
|
|
1566
1566
|
radioVariant: "check",
|
|
1567
1567
|
tag: /* @__PURE__ */ e.jsx(da, { label: h("selectRitualDaySheetTag") }),
|
|
1568
|
-
tagClassName:
|
|
1569
|
-
icon: /* @__PURE__ */ e.jsx(Ot, { size: 20, className:
|
|
1570
|
-
iconClassName:
|
|
1568
|
+
tagClassName: ce.ribbonContainer,
|
|
1569
|
+
icon: /* @__PURE__ */ e.jsx(Ot, { size: 20, className: ce.icon, "aria-hidden": !0 }),
|
|
1570
|
+
iconClassName: ce.cardIcon,
|
|
1571
1571
|
title: h(
|
|
1572
1572
|
r ? "selectRitualDaySheetAllAncestorsCardTitle" : "selectRitualDaySheetCardTitle"
|
|
1573
1573
|
),
|
|
@@ -1580,17 +1580,17 @@ const pi = "myor_row_Uonz3", fi = "myor_connector_6c2qX", yi = "myor_tab_fzhnb",
|
|
|
1580
1580
|
Ze,
|
|
1581
1581
|
{
|
|
1582
1582
|
selected: u === "death-anniversary",
|
|
1583
|
-
onSelect: () =>
|
|
1583
|
+
onSelect: () => y("death-anniversary"),
|
|
1584
1584
|
radioVariant: "check",
|
|
1585
1585
|
icon: /* @__PURE__ */ e.jsx(
|
|
1586
1586
|
"img",
|
|
1587
1587
|
{
|
|
1588
1588
|
src: "https://srm-cdn.a4b.io/yoda/1788883529190.svg",
|
|
1589
1589
|
alt: "",
|
|
1590
|
-
className:
|
|
1590
|
+
className: ce.moonIcon
|
|
1591
1591
|
}
|
|
1592
1592
|
),
|
|
1593
|
-
iconClassName:
|
|
1593
|
+
iconClassName: ce.cardIcon,
|
|
1594
1594
|
title: h("selectRitualDaySheetDeathAnniversaryTitle"),
|
|
1595
1595
|
description: h("selectRitualDaySheetDeathAnniversaryDescription")
|
|
1596
1596
|
}
|
|
@@ -1600,7 +1600,7 @@ const pi = "myor_row_Uonz3", fi = "myor_connector_6c2qX", yi = "myor_tab_fzhnb",
|
|
|
1600
1600
|
)
|
|
1601
1601
|
}
|
|
1602
1602
|
);
|
|
1603
|
-
}, ft = (a) => a === "close_button" ? "dismiss_icon" : "back", Wi = "myor_page_O8VCY", Gi = "myor_topBar_5KO0J", zi = "myor_backButton_lfV-P", Ui = "myor_progressHeader_WYJ0X", Vi = "myor_question_CKUP0", Ki = "myor_pujaTabs_Thsu2", qi = "myor_body_yDXCo", Qi = "myor_card_X3obj", Ji = "myor_cardHeader_hNn0a", Xi = "myor_iconContainer_OIZOZ", Zi = "myor_icon_uNORg", er = "myor_addMoreIcon_1OjCv", tr = "myor_cardHeading_fPn0e", ar = "myor_chipRow_A64AY", ir = "myor_chipDisabled_AxfL-", rr = "myor_allAncestorsChip_M5rpL", sr = "myor_ctaBar_-KGIO", or = "myor_ctaCaption_jHwSu", nr = "myor_ctaButton_Z8NOX",
|
|
1603
|
+
}, ft = (a) => a === "close_button" ? "dismiss_icon" : "back", Wi = "myor_page_O8VCY", Gi = "myor_topBar_5KO0J", zi = "myor_backButton_lfV-P", Ui = "myor_progressHeader_WYJ0X", Vi = "myor_question_CKUP0", Ki = "myor_pujaTabs_Thsu2", qi = "myor_body_yDXCo", Qi = "myor_card_X3obj", Ji = "myor_cardHeader_hNn0a", Xi = "myor_iconContainer_OIZOZ", Zi = "myor_icon_uNORg", er = "myor_addMoreIcon_1OjCv", tr = "myor_cardHeading_fPn0e", ar = "myor_chipRow_A64AY", ir = "myor_chipDisabled_AxfL-", rr = "myor_allAncestorsChip_M5rpL", sr = "myor_ctaBar_-KGIO", or = "myor_ctaCaption_jHwSu", nr = "myor_ctaButton_Z8NOX", K = {
|
|
1604
1604
|
page: Wi,
|
|
1605
1605
|
topBar: Gi,
|
|
1606
1606
|
backButton: zi,
|
|
@@ -1626,33 +1626,33 @@ const pi = "myor_row_Uonz3", fi = "myor_connector_6c2qX", yi = "myor_tab_fzhnb",
|
|
|
1626
1626
|
avatarUrl: n,
|
|
1627
1627
|
audioSrc: r,
|
|
1628
1628
|
onBackClick: h,
|
|
1629
|
-
onProceed:
|
|
1630
|
-
onInteraction:
|
|
1629
|
+
onProceed: f,
|
|
1630
|
+
onInteraction: y
|
|
1631
1631
|
}) => {
|
|
1632
|
-
const { t: u } = Ve(), c = a.currentPujaId, { selectedAncestors: A, customAncestorNames: l } = a.ancestorsByPuja[c], [
|
|
1633
|
-
(
|
|
1634
|
-
),
|
|
1635
|
-
|
|
1632
|
+
const { t: u } = Ve(), c = a.currentPujaId, { selectedAncestors: A, customAncestorNames: l } = a.ancestorsByPuja[c], [_, D] = W(!1), [I, $] = W(!1), { selectedRitual: P } = a, v = P.findIndex((C) => C.id === c), b = v === P.length - 1, T = A.includes(ke), E = b && T, R = P.every(
|
|
1633
|
+
(C) => a.ancestorsByPuja[C.id].selectedAncestors.includes(ke)
|
|
1634
|
+
), Q = mi(P, c), H = (C) => {
|
|
1635
|
+
y?.({ type: "tab_switch", pujaId: C }), i({ type: "SET_CURRENT_PUJA_ID", payload: C });
|
|
1636
1636
|
};
|
|
1637
1637
|
Ie(() => {
|
|
1638
|
-
|
|
1638
|
+
y?.({ type: "form_impression", pujaId: c });
|
|
1639
1639
|
}, [c]);
|
|
1640
|
-
const
|
|
1641
|
-
if (
|
|
1640
|
+
const re = () => {
|
|
1641
|
+
if (y?.({ type: "proceed_click", isLastRitual: b }), !b) {
|
|
1642
1642
|
i({ type: "SET_CURRENT_PUJA_ID", payload: P[v + 1].id });
|
|
1643
1643
|
return;
|
|
1644
1644
|
}
|
|
1645
|
-
|
|
1645
|
+
y?.({ type: "ritual_day_prompt_shown" }), $(!0);
|
|
1646
1646
|
};
|
|
1647
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
1648
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1647
|
+
return /* @__PURE__ */ e.jsxs("div", { className: K.page, children: [
|
|
1648
|
+
/* @__PURE__ */ e.jsxs("div", { className: K.topBar, children: [
|
|
1649
1649
|
/* @__PURE__ */ e.jsx(
|
|
1650
1650
|
"button",
|
|
1651
1651
|
{
|
|
1652
1652
|
type: "button",
|
|
1653
1653
|
onClick: h,
|
|
1654
1654
|
"aria-label": u("selectAncestorsBackAriaLabel"),
|
|
1655
|
-
className:
|
|
1655
|
+
className: K.backButton,
|
|
1656
1656
|
children: /* @__PURE__ */ e.jsx(ca, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
1657
1657
|
}
|
|
1658
1658
|
),
|
|
@@ -1662,7 +1662,7 @@ const pi = "myor_row_Uonz3", fi = "myor_connector_6c2qX", yi = "myor_tab_fzhnb",
|
|
|
1662
1662
|
quote: u("selectAncestorsProgressLabel"),
|
|
1663
1663
|
currentStep: a.currentStep,
|
|
1664
1664
|
totalSteps: a.totalSteps,
|
|
1665
|
-
className:
|
|
1665
|
+
className: K.progressHeader
|
|
1666
1666
|
}
|
|
1667
1667
|
)
|
|
1668
1668
|
] }),
|
|
@@ -1670,89 +1670,89 @@ const pi = "myor_row_Uonz3", fi = "myor_connector_6c2qX", yi = "myor_tab_fzhnb",
|
|
|
1670
1670
|
Kt,
|
|
1671
1671
|
{
|
|
1672
1672
|
avatarUrl: n,
|
|
1673
|
-
question: /* @__PURE__ */ e.jsx("p", { className:
|
|
1673
|
+
question: /* @__PURE__ */ e.jsx("p", { className: K.question, children: u("selectAncestorsQuestion") }),
|
|
1674
1674
|
audioSrc: r
|
|
1675
1675
|
}
|
|
1676
1676
|
),
|
|
1677
1677
|
/* @__PURE__ */ e.jsx(
|
|
1678
1678
|
ki,
|
|
1679
1679
|
{
|
|
1680
|
-
items:
|
|
1681
|
-
onTabClick:
|
|
1682
|
-
className:
|
|
1680
|
+
items: Q,
|
|
1681
|
+
onTabClick: H,
|
|
1682
|
+
className: K.pujaTabs
|
|
1683
1683
|
}
|
|
1684
1684
|
),
|
|
1685
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1686
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1687
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1688
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1685
|
+
/* @__PURE__ */ e.jsx("div", { className: K.body, children: /* @__PURE__ */ e.jsxs("div", { className: K.card, children: [
|
|
1686
|
+
/* @__PURE__ */ e.jsxs("div", { className: K.cardHeader, children: [
|
|
1687
|
+
/* @__PURE__ */ e.jsx("div", { className: K.iconContainer, children: /* @__PURE__ */ e.jsx(Ot, { size: 20, className: K.icon, "aria-hidden": !0 }) }),
|
|
1688
|
+
/* @__PURE__ */ e.jsx("p", { className: K.cardHeading, children: u("selectAncestorsCardHeading") })
|
|
1689
1689
|
] }),
|
|
1690
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1691
|
-
qt.map((
|
|
1692
|
-
const
|
|
1690
|
+
/* @__PURE__ */ e.jsxs("div", { className: K.chipRow, children: [
|
|
1691
|
+
qt.map((C) => {
|
|
1692
|
+
const m = C.id !== ke && T, te = A.includes(C.id);
|
|
1693
1693
|
return /* @__PURE__ */ e.jsx(
|
|
1694
1694
|
_t,
|
|
1695
1695
|
{
|
|
1696
|
-
label: u(
|
|
1697
|
-
selected:
|
|
1698
|
-
disabled:
|
|
1696
|
+
label: u(C.labelKey),
|
|
1697
|
+
selected: te,
|
|
1698
|
+
disabled: m,
|
|
1699
1699
|
className: Se(
|
|
1700
|
-
|
|
1701
|
-
|
|
1700
|
+
m && K.chipDisabled,
|
|
1701
|
+
C.id === ke && !te && K.allAncestorsChip
|
|
1702
1702
|
),
|
|
1703
1703
|
onClick: () => {
|
|
1704
|
-
|
|
1704
|
+
y?.({
|
|
1705
1705
|
type: "ancestor_toggle",
|
|
1706
|
-
ancestor:
|
|
1707
|
-
selected: !A.includes(
|
|
1708
|
-
}), i({ type: "TOGGLE_ANCESTOR", payload: { pujaId: c, ancestor:
|
|
1706
|
+
ancestor: C.id,
|
|
1707
|
+
selected: !A.includes(C.id)
|
|
1708
|
+
}), i({ type: "TOGGLE_ANCESTOR", payload: { pujaId: c, ancestor: C.id } });
|
|
1709
1709
|
}
|
|
1710
1710
|
},
|
|
1711
|
-
|
|
1711
|
+
C.id
|
|
1712
1712
|
);
|
|
1713
1713
|
}),
|
|
1714
|
-
l.map((
|
|
1714
|
+
l.map((C) => /* @__PURE__ */ e.jsx(
|
|
1715
1715
|
_t,
|
|
1716
1716
|
{
|
|
1717
|
-
label:
|
|
1718
|
-
selected: A.includes(
|
|
1719
|
-
disabled:
|
|
1720
|
-
className:
|
|
1717
|
+
label: C,
|
|
1718
|
+
selected: A.includes(C),
|
|
1719
|
+
disabled: T,
|
|
1720
|
+
className: T ? K.chipDisabled : void 0,
|
|
1721
1721
|
onClick: () => {
|
|
1722
|
-
|
|
1722
|
+
y?.({
|
|
1723
1723
|
type: "ancestor_toggle",
|
|
1724
|
-
ancestor:
|
|
1725
|
-
selected: !A.includes(
|
|
1726
|
-
}), i({ type: "TOGGLE_ANCESTOR", payload: { pujaId: c, ancestor:
|
|
1724
|
+
ancestor: C,
|
|
1725
|
+
selected: !A.includes(C)
|
|
1726
|
+
}), i({ type: "TOGGLE_ANCESTOR", payload: { pujaId: c, ancestor: C } });
|
|
1727
1727
|
}
|
|
1728
1728
|
},
|
|
1729
|
-
|
|
1729
|
+
C
|
|
1730
1730
|
)),
|
|
1731
1731
|
/* @__PURE__ */ e.jsx(
|
|
1732
1732
|
_t,
|
|
1733
1733
|
{
|
|
1734
1734
|
label: u(b ? "selectAncestorsAndAddMoreLabel" : "selectAncestorsAddMoreLabel"),
|
|
1735
|
-
icon: /* @__PURE__ */ e.jsx(ci, { size: 20, className:
|
|
1736
|
-
disabled:
|
|
1737
|
-
className:
|
|
1735
|
+
icon: /* @__PURE__ */ e.jsx(ci, { size: 20, className: K.addMoreIcon }),
|
|
1736
|
+
disabled: T,
|
|
1737
|
+
className: T ? K.chipDisabled : void 0,
|
|
1738
1738
|
onClick: () => {
|
|
1739
|
-
|
|
1739
|
+
y?.({ type: "add_more_click" }), D(!0);
|
|
1740
1740
|
}
|
|
1741
1741
|
}
|
|
1742
1742
|
)
|
|
1743
1743
|
] })
|
|
1744
1744
|
] }) }),
|
|
1745
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1746
|
-
|
|
1745
|
+
/* @__PURE__ */ e.jsxs("div", { className: K.ctaBar, children: [
|
|
1746
|
+
E && /* @__PURE__ */ e.jsx("p", { className: K.ctaCaption, children: u("selectAncestorsAllAncestorsCaption") }),
|
|
1747
1747
|
/* @__PURE__ */ e.jsx(
|
|
1748
1748
|
kt,
|
|
1749
1749
|
{
|
|
1750
1750
|
variant: "primary",
|
|
1751
1751
|
size: "xl",
|
|
1752
|
-
className:
|
|
1752
|
+
className: K.ctaButton,
|
|
1753
1753
|
rightIcon: /* @__PURE__ */ e.jsx(Nt, { "aria-hidden": !0 }),
|
|
1754
1754
|
disabled: A.length === 0,
|
|
1755
|
-
onClick:
|
|
1755
|
+
onClick: re,
|
|
1756
1756
|
children: u(b ? "selectAncestorsCtaProceed" : "selectAncestorsCtaNextRitual")
|
|
1757
1757
|
}
|
|
1758
1758
|
)
|
|
@@ -1760,12 +1760,12 @@ const pi = "myor_row_Uonz3", fi = "myor_connector_6c2qX", yi = "myor_tab_fzhnb",
|
|
|
1760
1760
|
/* @__PURE__ */ e.jsx(
|
|
1761
1761
|
_a,
|
|
1762
1762
|
{
|
|
1763
|
-
isOpen:
|
|
1764
|
-
onClose: (
|
|
1765
|
-
|
|
1763
|
+
isOpen: _,
|
|
1764
|
+
onClose: (C) => {
|
|
1765
|
+
y?.({ type: "add_ancestor_dismiss", dismissType: ft(C) }), D(!1);
|
|
1766
1766
|
},
|
|
1767
|
-
onSave: (
|
|
1768
|
-
|
|
1767
|
+
onSave: (C) => {
|
|
1768
|
+
y?.({ type: "add_ancestor_save", names: C }), i({ type: "ADD_CUSTOM_ANCESTORS", payload: { pujaId: c, names: C } }), D(!1);
|
|
1769
1769
|
},
|
|
1770
1770
|
title: u("addAncestorModalTitle"),
|
|
1771
1771
|
fieldLabel: u("addAncestorModalFieldLabel"),
|
|
@@ -1778,12 +1778,12 @@ const pi = "myor_row_Uonz3", fi = "myor_connector_6c2qX", yi = "myor_tab_fzhnb",
|
|
|
1778
1778
|
/* @__PURE__ */ e.jsx(
|
|
1779
1779
|
$i,
|
|
1780
1780
|
{
|
|
1781
|
-
isOpen:
|
|
1782
|
-
onClose: (
|
|
1783
|
-
|
|
1781
|
+
isOpen: I,
|
|
1782
|
+
onClose: (C) => {
|
|
1783
|
+
y?.({ type: "ritual_day_prompt_dismissed", dismissType: ft(C) }), $(!1);
|
|
1784
1784
|
},
|
|
1785
|
-
onCtaClick: (
|
|
1786
|
-
$(!1),
|
|
1785
|
+
onCtaClick: (C) => {
|
|
1786
|
+
$(!1), f?.(C);
|
|
1787
1787
|
},
|
|
1788
1788
|
amavasyaOnly: R
|
|
1789
1789
|
}
|
|
@@ -1791,7 +1791,7 @@ const pi = "myor_row_Uonz3", fi = "myor_connector_6c2qX", yi = "myor_tab_fzhnb",
|
|
|
1791
1791
|
] });
|
|
1792
1792
|
};
|
|
1793
1793
|
function lr(a) {
|
|
1794
|
-
return
|
|
1794
|
+
return oe({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M21 12c-6.597 0 -9 2.403 -9 9c0 -6.597 -2.403 -9 -9 -9c6.597 0 9 -2.403 9 -9c0 6.597 2.403 9 9 9" }, child: [] }] })(a);
|
|
1795
1795
|
}
|
|
1796
1796
|
const cr = "myor_page_B9Ri2", dr = "myor_topBar_CtY2Q", ur = "myor_backButton_JxiAe", hr = "myor_progressHeader_JXcG5", mr = "myor_question_ZNnHU", pr = "myor_questionHighlight_no4lT", fr = "myor_subtext_cZKGs", yr = "myor_subtextHighlight_LMTAA", xr = "myor_body_V56mX", br = "myor_ancestorRow_DUply", gr = "myor_optionList_bT36o", vr = "myor_sarvPitruCard_YOpQA", _r = "myor_sarvPitruIconBadge_ypOx1", Tr = "myor_sarvPitruIcon_0QwWU", Cr = "myor_sarvPitruTag_6w-hN", Rr = "myor_ctaBar_JSe0J", jr = "myor_ctaButton_qK06K", ee = {
|
|
1797
1797
|
page: cr,
|
|
@@ -1818,13 +1818,13 @@ function gn({
|
|
|
1818
1818
|
avatarUrl: n,
|
|
1819
1819
|
audioSrc: r,
|
|
1820
1820
|
onBackClick: h,
|
|
1821
|
-
onProceed:
|
|
1822
|
-
onResolveTithiForDate:
|
|
1821
|
+
onProceed: f,
|
|
1822
|
+
onResolveTithiForDate: y,
|
|
1823
1823
|
onValidateTithi: u,
|
|
1824
1824
|
onInteraction: c,
|
|
1825
1825
|
maxDate: A
|
|
1826
1826
|
}) {
|
|
1827
|
-
const { t: l } = Ve(),
|
|
1827
|
+
const { t: l } = Ve(), _ = a.currentPujaId, D = ut(
|
|
1828
1828
|
() => [
|
|
1829
1829
|
...new Set(
|
|
1830
1830
|
Object.values(a.ancestorsByPuja).flatMap(
|
|
@@ -1834,67 +1834,65 @@ function gn({
|
|
|
1834
1834
|
],
|
|
1835
1835
|
[a.ancestorsByPuja]
|
|
1836
1836
|
), {
|
|
1837
|
-
deathTithiMethodByAncestor:
|
|
1837
|
+
deathTithiMethodByAncestor: I,
|
|
1838
1838
|
deathTithiValueByAncestor: $,
|
|
1839
1839
|
deathDateByAncestor: P,
|
|
1840
1840
|
tithiValidityByAncestor: v,
|
|
1841
|
-
tithiPreviewByAncestor: b
|
|
1842
|
-
|
|
1843
|
-
} = a.deathTithiByPuja[T], [Y, R] = G(!1), [ae, L] = G(!1), [ce, _] = G(null), [y, U] = G(
|
|
1841
|
+
tithiPreviewByAncestor: b
|
|
1842
|
+
} = a.deathTithiByPuja[_], [T, E] = W(!1), [R, Q] = W(!1), [H, re] = W(null), [C, m] = W(
|
|
1844
1843
|
null
|
|
1845
|
-
),
|
|
1846
|
-
const
|
|
1847
|
-
return { key: x, label:
|
|
1844
|
+
), te = ut(() => Ta(), []), X = ut(() => ht.map((x) => l(x)), [l]), ae = D.filter((x) => x !== ke).map((x) => {
|
|
1845
|
+
const Y = qt.find((L) => L.id === x);
|
|
1846
|
+
return { key: x, label: Y ? l(Y.labelKey) : x };
|
|
1848
1847
|
});
|
|
1849
|
-
D.includes(ke) &&
|
|
1848
|
+
D.includes(ke) && ae.push({
|
|
1850
1849
|
key: ke,
|
|
1851
1850
|
label: l("selectAncestorsOptionAll")
|
|
1852
1851
|
});
|
|
1853
|
-
const
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
), [H, he] = G(Z);
|
|
1852
|
+
const U = ae.findIndex(
|
|
1853
|
+
(x) => !I[x.key]
|
|
1854
|
+
), Z = U === -1 ? Math.max(ae.length - 1, 0) : U, [M, he] = W(Z);
|
|
1857
1855
|
Ie(() => {
|
|
1858
1856
|
he(Z);
|
|
1859
1857
|
}, [Z]);
|
|
1860
|
-
const
|
|
1858
|
+
const p = ae[M], _e = M === ae.length - 1, xe = p ? I[p.key] : void 0, be = p ? v[p.key]?.active === !1 ? "tithi" : b[p.key]?.bookable === !1 ? "date" : void 0 : void 0, Ee = !!(p && xe && (xe === "date" ? b[p.key] != null : v[p.key] != null));
|
|
1861
1859
|
Ie(() => {
|
|
1862
|
-
|
|
1860
|
+
p && c?.({
|
|
1863
1861
|
type: "form_impression",
|
|
1864
|
-
ancestorKey:
|
|
1865
|
-
ancestorPosition:
|
|
1862
|
+
ancestorKey: p.key,
|
|
1863
|
+
ancestorPosition: M + 1
|
|
1866
1864
|
});
|
|
1867
|
-
}, [
|
|
1868
|
-
if (!
|
|
1869
|
-
const x =
|
|
1865
|
+
}, [p?.key]), Ie(() => {
|
|
1866
|
+
if (!p || p.key !== ke || I[p.key]) return;
|
|
1867
|
+
const x = p.key;
|
|
1870
1868
|
i({
|
|
1871
1869
|
type: "SET_DEATH_TITHI_METHOD",
|
|
1872
|
-
payload: { pujaId:
|
|
1870
|
+
payload: { pujaId: _, ancestorKey: x, method: "unknown" }
|
|
1873
1871
|
}), i({
|
|
1874
1872
|
type: "SET_DEATH_TITHI_VALUE",
|
|
1875
|
-
payload: { pujaId:
|
|
1876
|
-
}),
|
|
1873
|
+
payload: { pujaId: _, ancestorKey: x, tithi: dt }
|
|
1874
|
+
}), m(x), u?.(dt, x).then((Y) => {
|
|
1877
1875
|
i({
|
|
1878
1876
|
type: "SET_TITHI_VALIDITY",
|
|
1879
|
-
payload: { pujaId:
|
|
1877
|
+
payload: { pujaId: _, ancestorKey: x, validity: Y }
|
|
1880
1878
|
});
|
|
1881
1879
|
}).finally(() => {
|
|
1882
|
-
|
|
1880
|
+
m((Y) => Y === x ? null : Y);
|
|
1883
1881
|
});
|
|
1884
|
-
}, [
|
|
1882
|
+
}, [p?.key]);
|
|
1885
1883
|
const Ye = () => {
|
|
1886
|
-
if (!Ee || !
|
|
1884
|
+
if (!Ee || !p) return;
|
|
1887
1885
|
if (c?.({
|
|
1888
1886
|
type: "proceed_click",
|
|
1889
|
-
ancestorKey:
|
|
1890
|
-
ancestorPosition:
|
|
1887
|
+
ancestorKey: p.key,
|
|
1888
|
+
ancestorPosition: M + 1,
|
|
1891
1889
|
isLastAncestor: _e
|
|
1892
1890
|
}), _e) {
|
|
1893
|
-
|
|
1891
|
+
f?.();
|
|
1894
1892
|
return;
|
|
1895
1893
|
}
|
|
1896
|
-
const x =
|
|
1897
|
-
he(x), x > Z && i({ type: "ADVANCE_DEATH_TITHI_ANCESTOR", payload: { pujaId:
|
|
1894
|
+
const x = M + 1;
|
|
1895
|
+
he(x), x > Z && i({ type: "ADVANCE_DEATH_TITHI_ANCESTOR", payload: { pujaId: _ } });
|
|
1898
1896
|
};
|
|
1899
1897
|
return /* @__PURE__ */ e.jsxs("div", { className: ee.page, children: [
|
|
1900
1898
|
/* @__PURE__ */ e.jsxs("div", { className: ee.topBar, children: [
|
|
@@ -1938,15 +1936,15 @@ function gn({
|
|
|
1938
1936
|
/* @__PURE__ */ e.jsx(
|
|
1939
1937
|
Ca,
|
|
1940
1938
|
{
|
|
1941
|
-
entries:
|
|
1942
|
-
viewedIndex:
|
|
1943
|
-
isEntryFilled: (x) => !!
|
|
1939
|
+
entries: ae,
|
|
1940
|
+
viewedIndex: M,
|
|
1941
|
+
isEntryFilled: (x) => !!I[x],
|
|
1944
1942
|
isEntryReachable: (x) => x <= Z,
|
|
1945
1943
|
onSelect: he,
|
|
1946
1944
|
className: ee.ancestorRow
|
|
1947
1945
|
}
|
|
1948
1946
|
),
|
|
1949
|
-
|
|
1947
|
+
p?.key === ke ? /* @__PURE__ */ e.jsx("div", { className: ee.optionList, children: /* @__PURE__ */ e.jsx(
|
|
1950
1948
|
Ze,
|
|
1951
1949
|
{
|
|
1952
1950
|
showRadio: !1,
|
|
@@ -1966,7 +1964,7 @@ function gn({
|
|
|
1966
1964
|
className: ee.sarvPitruCard
|
|
1967
1965
|
}
|
|
1968
1966
|
) }) : /* @__PURE__ */ e.jsxs("div", { className: ee.optionList, children: [
|
|
1969
|
-
|
|
1967
|
+
p && be && /* @__PURE__ */ e.jsx(
|
|
1970
1968
|
Ze,
|
|
1971
1969
|
{
|
|
1972
1970
|
selected: !0,
|
|
@@ -1976,41 +1974,41 @@ function gn({
|
|
|
1976
1974
|
Ra,
|
|
1977
1975
|
{
|
|
1978
1976
|
value: l("tithiNameAmavasya"),
|
|
1979
|
-
onInfoClick: () =>
|
|
1977
|
+
onInfoClick: () => re({ ancestorKey: p.key, source: be })
|
|
1980
1978
|
}
|
|
1981
1979
|
)
|
|
1982
1980
|
}
|
|
1983
1981
|
),
|
|
1984
1982
|
ja.map((x) => {
|
|
1985
|
-
const
|
|
1983
|
+
const Y = !be && xe === x.value, L = x.value === "unknown", G = p && $[p.key], Ae = p && v[p.key], me = p && P[p.key], Pe = p && b[p.key], Te = Y && x.value === "tithi" && G && Ae?.active !== !1 ? /* @__PURE__ */ e.jsx(
|
|
1986
1984
|
Et,
|
|
1987
1985
|
{
|
|
1988
|
-
value: l(
|
|
1986
|
+
value: l(G),
|
|
1989
1987
|
onClick: () => {
|
|
1990
1988
|
c?.({
|
|
1991
1989
|
type: "tithi_picker_shown",
|
|
1992
|
-
ancestorKey:
|
|
1993
|
-
ancestorPosition:
|
|
1994
|
-
}),
|
|
1990
|
+
ancestorKey: p.key,
|
|
1991
|
+
ancestorPosition: M + 1
|
|
1992
|
+
}), E(!0);
|
|
1995
1993
|
}
|
|
1996
1994
|
}
|
|
1997
|
-
) :
|
|
1995
|
+
) : Y && x.value === "date" && me ? /* @__PURE__ */ e.jsx(
|
|
1998
1996
|
Et,
|
|
1999
1997
|
{
|
|
2000
|
-
value: Pe?.tithiKey ? `${Bt(me,
|
|
1998
|
+
value: Pe?.tithiKey ? `${Bt(me, te)} (${l(Pe.tithiKey)})` : Bt(me, te),
|
|
2001
1999
|
onClick: () => {
|
|
2002
2000
|
c?.({
|
|
2003
2001
|
type: "date_picker_shown",
|
|
2004
|
-
ancestorKey:
|
|
2005
|
-
ancestorPosition:
|
|
2006
|
-
}),
|
|
2002
|
+
ancestorKey: p.key,
|
|
2003
|
+
ancestorPosition: M + 1
|
|
2004
|
+
}), Q(!0);
|
|
2007
2005
|
}
|
|
2008
2006
|
}
|
|
2009
2007
|
) : null, Ne = /* @__PURE__ */ e.jsx(
|
|
2010
2008
|
Ze,
|
|
2011
2009
|
{
|
|
2012
|
-
selected:
|
|
2013
|
-
disabled: !
|
|
2010
|
+
selected: Y,
|
|
2011
|
+
disabled: !p,
|
|
2014
2012
|
icon: /* @__PURE__ */ e.jsx(
|
|
2015
2013
|
"img",
|
|
2016
2014
|
{
|
|
@@ -2023,178 +2021,178 @@ function gn({
|
|
|
2023
2021
|
title: l(x.titleKey),
|
|
2024
2022
|
description: l(x.subtextKey),
|
|
2025
2023
|
onSelect: () => {
|
|
2026
|
-
if (!
|
|
2024
|
+
if (!p) return;
|
|
2027
2025
|
if (c?.({
|
|
2028
2026
|
type: "method_select",
|
|
2029
|
-
ancestorKey:
|
|
2030
|
-
ancestorPosition:
|
|
2027
|
+
ancestorKey: p.key,
|
|
2028
|
+
ancestorPosition: M + 1,
|
|
2031
2029
|
method: x.value
|
|
2032
2030
|
}), x.value === "tithi") {
|
|
2033
2031
|
c?.({
|
|
2034
2032
|
type: "tithi_picker_shown",
|
|
2035
|
-
ancestorKey:
|
|
2036
|
-
ancestorPosition:
|
|
2037
|
-
}),
|
|
2033
|
+
ancestorKey: p.key,
|
|
2034
|
+
ancestorPosition: M + 1
|
|
2035
|
+
}), E(!0);
|
|
2038
2036
|
return;
|
|
2039
2037
|
}
|
|
2040
2038
|
if (x.value === "date") {
|
|
2041
2039
|
c?.({
|
|
2042
2040
|
type: "date_picker_shown",
|
|
2043
|
-
ancestorKey:
|
|
2044
|
-
ancestorPosition:
|
|
2045
|
-
}),
|
|
2041
|
+
ancestorKey: p.key,
|
|
2042
|
+
ancestorPosition: M + 1
|
|
2043
|
+
}), Q(!0);
|
|
2046
2044
|
return;
|
|
2047
2045
|
}
|
|
2048
|
-
const pe =
|
|
2046
|
+
const pe = p.key;
|
|
2049
2047
|
i({
|
|
2050
2048
|
type: "SET_DEATH_TITHI_METHOD",
|
|
2051
|
-
payload: { pujaId:
|
|
2049
|
+
payload: { pujaId: _, ancestorKey: pe, method: x.value }
|
|
2052
2050
|
}), i({
|
|
2053
2051
|
type: "SET_DEATH_TITHI_VALUE",
|
|
2054
|
-
payload: { pujaId:
|
|
2055
|
-
}),
|
|
2052
|
+
payload: { pujaId: _, ancestorKey: pe, tithi: dt }
|
|
2053
|
+
}), m(pe), u?.(dt, pe).then((ne) => {
|
|
2056
2054
|
i({
|
|
2057
2055
|
type: "SET_TITHI_VALIDITY",
|
|
2058
|
-
payload: { pujaId:
|
|
2056
|
+
payload: { pujaId: _, ancestorKey: pe, validity: ne }
|
|
2059
2057
|
});
|
|
2060
2058
|
}).finally(() => {
|
|
2061
|
-
|
|
2062
|
-
(
|
|
2059
|
+
m(
|
|
2060
|
+
(ne) => ne === pe ? null : ne
|
|
2063
2061
|
);
|
|
2064
2062
|
});
|
|
2065
2063
|
},
|
|
2066
|
-
note:
|
|
2064
|
+
note: Y && L ? /* @__PURE__ */ e.jsxs("div", { className: "pb-3 text-left", children: [
|
|
2067
2065
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs leading-4 font-bold", children: l("deathTithiOption3ExpandedTitle") }),
|
|
2068
2066
|
/* @__PURE__ */ e.jsx("p", { className: "mt-1 text-[10px] leading-[0.875rem] font-medium", children: l("deathTithiOption3ExpandedBody") })
|
|
2069
2067
|
] }) : void 0,
|
|
2070
2068
|
children: Te
|
|
2071
2069
|
}
|
|
2072
2070
|
);
|
|
2073
|
-
return
|
|
2071
|
+
return L && Y ? /* @__PURE__ */ e.jsx("div", { className: "rounded-2xl bg-[#fef5e9] p-1", children: Ne }, x.value) : /* @__PURE__ */ e.jsx(ea, { children: Ne }, x.value);
|
|
2074
2072
|
})
|
|
2075
2073
|
] })
|
|
2076
2074
|
] }),
|
|
2077
|
-
|
|
2075
|
+
p && /* @__PURE__ */ e.jsx(
|
|
2078
2076
|
Sa,
|
|
2079
2077
|
{
|
|
2080
|
-
isOpen:
|
|
2078
|
+
isOpen: T,
|
|
2081
2079
|
onClose: (x) => {
|
|
2082
2080
|
c?.({
|
|
2083
2081
|
type: "tithi_picker_dismiss",
|
|
2084
|
-
ancestorKey:
|
|
2085
|
-
ancestorPosition:
|
|
2082
|
+
ancestorKey: p.key,
|
|
2083
|
+
ancestorPosition: M + 1,
|
|
2086
2084
|
dismissType: ft(x)
|
|
2087
|
-
}),
|
|
2085
|
+
}), E(!1);
|
|
2088
2086
|
},
|
|
2089
|
-
avatarUrl: Tt(
|
|
2090
|
-
heading: `${
|
|
2091
|
-
tithis:
|
|
2087
|
+
avatarUrl: Tt(p.key),
|
|
2088
|
+
heading: `${p.label}${l("deathTithiPickerHeadingSuffix")}`,
|
|
2089
|
+
tithis: X,
|
|
2092
2090
|
confirmLabel: l("deathTithiPickerConfirmCta"),
|
|
2093
|
-
initialTithi: $[
|
|
2091
|
+
initialTithi: $[p.key] ? l($[p.key]) : void 0,
|
|
2094
2092
|
onConfirm: (x) => {
|
|
2095
|
-
const
|
|
2093
|
+
const Y = ht[X.indexOf(x)] ?? x, L = p.key;
|
|
2096
2094
|
c?.({
|
|
2097
2095
|
type: "tithi_picker_confirm",
|
|
2098
|
-
ancestorKey:
|
|
2099
|
-
ancestorPosition:
|
|
2100
|
-
tithiKey:
|
|
2096
|
+
ancestorKey: L,
|
|
2097
|
+
ancestorPosition: M + 1,
|
|
2098
|
+
tithiKey: Y
|
|
2101
2099
|
}), i({
|
|
2102
2100
|
type: "SET_DEATH_TITHI_METHOD",
|
|
2103
|
-
payload: { pujaId:
|
|
2101
|
+
payload: { pujaId: _, ancestorKey: L, method: "tithi" }
|
|
2104
2102
|
}), i({
|
|
2105
2103
|
type: "SET_DEATH_TITHI_VALUE",
|
|
2106
|
-
payload: { pujaId:
|
|
2107
|
-
}),
|
|
2104
|
+
payload: { pujaId: _, ancestorKey: L, tithi: Y }
|
|
2105
|
+
}), E(!1), m(L), u?.(Y, L).then((G) => {
|
|
2108
2106
|
i({
|
|
2109
2107
|
type: "SET_TITHI_VALIDITY",
|
|
2110
|
-
payload: { pujaId:
|
|
2111
|
-
}),
|
|
2108
|
+
payload: { pujaId: _, ancestorKey: L, validity: G }
|
|
2109
|
+
}), G?.active === !1 && (c?.({
|
|
2112
2110
|
type: "date_passed_popup_shown",
|
|
2113
|
-
ancestorKey:
|
|
2114
|
-
ancestorPosition:
|
|
2115
|
-
}),
|
|
2111
|
+
ancestorKey: L,
|
|
2112
|
+
ancestorPosition: M + 1
|
|
2113
|
+
}), re({ ancestorKey: L, source: "tithi" }));
|
|
2116
2114
|
}).finally(() => {
|
|
2117
|
-
|
|
2118
|
-
(
|
|
2115
|
+
m(
|
|
2116
|
+
(G) => G === L ? null : G
|
|
2119
2117
|
);
|
|
2120
2118
|
});
|
|
2121
2119
|
}
|
|
2122
2120
|
}
|
|
2123
2121
|
),
|
|
2124
|
-
|
|
2122
|
+
p && /* @__PURE__ */ e.jsx(
|
|
2125
2123
|
ka,
|
|
2126
2124
|
{
|
|
2127
|
-
isOpen:
|
|
2125
|
+
isOpen: R,
|
|
2128
2126
|
onClose: (x) => {
|
|
2129
2127
|
c?.({
|
|
2130
2128
|
type: "date_picker_dismiss",
|
|
2131
|
-
ancestorKey:
|
|
2132
|
-
ancestorPosition:
|
|
2129
|
+
ancestorKey: p.key,
|
|
2130
|
+
ancestorPosition: M + 1,
|
|
2133
2131
|
dismissType: ft(x)
|
|
2134
|
-
}),
|
|
2132
|
+
}), Q(!1);
|
|
2135
2133
|
},
|
|
2136
|
-
avatarUrl: Tt(
|
|
2137
|
-
heading: `${
|
|
2138
|
-
monthLabels:
|
|
2134
|
+
avatarUrl: Tt(p.key),
|
|
2135
|
+
heading: `${p.label}${l("deathTithiPickerHeadingSuffix")}`,
|
|
2136
|
+
monthLabels: te,
|
|
2139
2137
|
confirmLabel: l("deathDatePickerConfirmCta"),
|
|
2140
2138
|
timezoneLabel: l("deathDatePickerTimezoneLabel"),
|
|
2141
2139
|
maxDate: A,
|
|
2142
|
-
initialDate: Pa(P[
|
|
2140
|
+
initialDate: Pa(P[p.key]),
|
|
2143
2141
|
onConfirm: (x) => {
|
|
2144
|
-
const
|
|
2142
|
+
const Y = Aa(x), L = p.key;
|
|
2145
2143
|
c?.({
|
|
2146
2144
|
type: "date_picker_confirm",
|
|
2147
|
-
ancestorKey:
|
|
2148
|
-
ancestorPosition:
|
|
2149
|
-
date:
|
|
2145
|
+
ancestorKey: L,
|
|
2146
|
+
ancestorPosition: M + 1,
|
|
2147
|
+
date: Y
|
|
2150
2148
|
}), i({
|
|
2151
2149
|
type: "SET_DEATH_TITHI_METHOD",
|
|
2152
|
-
payload: { pujaId:
|
|
2150
|
+
payload: { pujaId: _, ancestorKey: L, method: "date" }
|
|
2153
2151
|
}), i({
|
|
2154
2152
|
type: "SET_DEATH_DATE",
|
|
2155
|
-
payload: { pujaId:
|
|
2156
|
-
}),
|
|
2153
|
+
payload: { pujaId: _, ancestorKey: L, date: Y }
|
|
2154
|
+
}), Q(!1), m(L), y?.(Y, L).then((G) => {
|
|
2157
2155
|
i({
|
|
2158
2156
|
type: "SET_TITHI_PREVIEW",
|
|
2159
|
-
payload: { pujaId:
|
|
2160
|
-
}),
|
|
2157
|
+
payload: { pujaId: _, ancestorKey: L, preview: G }
|
|
2158
|
+
}), G?.bookable === !1 && (c?.({
|
|
2161
2159
|
type: "date_passed_popup_shown",
|
|
2162
|
-
ancestorKey:
|
|
2163
|
-
ancestorPosition:
|
|
2164
|
-
}),
|
|
2160
|
+
ancestorKey: L,
|
|
2161
|
+
ancestorPosition: M + 1
|
|
2162
|
+
}), re({ ancestorKey: L, source: "date" }));
|
|
2165
2163
|
}).finally(() => {
|
|
2166
|
-
|
|
2167
|
-
(
|
|
2164
|
+
m(
|
|
2165
|
+
(G) => G === L ? null : G
|
|
2168
2166
|
);
|
|
2169
2167
|
});
|
|
2170
2168
|
}
|
|
2171
2169
|
}
|
|
2172
2170
|
),
|
|
2173
|
-
|
|
2171
|
+
p && /* @__PURE__ */ e.jsx(
|
|
2174
2172
|
Na,
|
|
2175
2173
|
{
|
|
2176
|
-
isOpen:
|
|
2174
|
+
isOpen: H?.ancestorKey === p.key,
|
|
2177
2175
|
onClose: () => {
|
|
2178
2176
|
c?.({
|
|
2179
2177
|
type: "date_passed_popup_dismiss",
|
|
2180
|
-
ancestorKey:
|
|
2181
|
-
ancestorPosition:
|
|
2178
|
+
ancestorKey: p.key,
|
|
2179
|
+
ancestorPosition: M + 1,
|
|
2182
2180
|
// AvatarCardDialog only ever dismisses via a backdrop tap — no
|
|
2183
2181
|
// close icon, no Escape handler — so this is never ambiguous.
|
|
2184
2182
|
dismissType: "back"
|
|
2185
|
-
}),
|
|
2183
|
+
}), re(null);
|
|
2186
2184
|
},
|
|
2187
|
-
avatarUrl: Tt(
|
|
2185
|
+
avatarUrl: Tt(p.key),
|
|
2188
2186
|
heading: l(
|
|
2189
|
-
|
|
2187
|
+
H?.source === "date" ? "amavasyaFallbackDatePassedHeader" : "amavasyaFallbackTithiPassedHeader"
|
|
2190
2188
|
),
|
|
2191
2189
|
ctaLabel: l("amavasyaFallbackCta"),
|
|
2192
2190
|
onCtaClick: () => {
|
|
2193
2191
|
c?.({
|
|
2194
2192
|
type: "date_passed_popup_proceed",
|
|
2195
|
-
ancestorKey:
|
|
2196
|
-
ancestorPosition:
|
|
2197
|
-
}),
|
|
2193
|
+
ancestorKey: p.key,
|
|
2194
|
+
ancestorPosition: M + 1
|
|
2195
|
+
}), re(null);
|
|
2198
2196
|
},
|
|
2199
2197
|
cardIcon: /* @__PURE__ */ e.jsx(di, { size: 20, className: "text-[#f97e4e]", "aria-hidden": !0 }),
|
|
2200
2198
|
cardTitle: l("amavasyaFallbackCardTitle"),
|
|
@@ -2210,14 +2208,14 @@ function gn({
|
|
|
2210
2208
|
className: ee.ctaButton,
|
|
2211
2209
|
rightIcon: /* @__PURE__ */ e.jsx(Nt, { "aria-hidden": !0 }),
|
|
2212
2210
|
disabled: !Ee,
|
|
2213
|
-
loading: !!(
|
|
2211
|
+
loading: !!(p && C === p.key),
|
|
2214
2212
|
onClick: Ye,
|
|
2215
2213
|
children: l(_e ? "deathTithiFinalCtaLabel" : "deathTithiCtaLabel")
|
|
2216
2214
|
}
|
|
2217
2215
|
) })
|
|
2218
2216
|
] });
|
|
2219
2217
|
}
|
|
2220
|
-
const Ar = "myor_page_0fc3b", Pr = "myor_hero_VTF6-", Nr = "myor_title_RCNWg", Or = "myor_subtitle_qOj8s", wr = "myor_cta_WFwW0", Dr = "myor_heroCta_OutHC", Lr = "myor_section_VfEGQ", Ir = "myor_sectionTitle_jsvQW", Er = "myor_body_9i6aD", Br = "myor_list_tgxt8", Hr = "myor_steps_Pcxtv", Mr = "myor_listItem_wXXQh", Fr = "myor_step_oLrPF", Yr = "myor_stepIndex_3qBph", $r = "myor_stepTitle_du-O-", Wr = "myor_stepText_uT1qY", Gr = "myor_footerCta_HTx-T",
|
|
2218
|
+
const Ar = "myor_page_0fc3b", Pr = "myor_hero_VTF6-", Nr = "myor_title_RCNWg", Or = "myor_subtitle_qOj8s", wr = "myor_cta_WFwW0", Dr = "myor_heroCta_OutHC", Lr = "myor_section_VfEGQ", Ir = "myor_sectionTitle_jsvQW", Er = "myor_body_9i6aD", Br = "myor_list_tgxt8", Hr = "myor_steps_Pcxtv", Mr = "myor_listItem_wXXQh", Fr = "myor_step_oLrPF", Yr = "myor_stepIndex_3qBph", $r = "myor_stepTitle_du-O-", Wr = "myor_stepText_uT1qY", Gr = "myor_footerCta_HTx-T", z = {
|
|
2221
2219
|
page: Ar,
|
|
2222
2220
|
hero: Pr,
|
|
2223
2221
|
title: Nr,
|
|
@@ -2240,12 +2238,12 @@ const Ar = "myor_page_0fc3b", Pr = "myor_hero_VTF6-", Nr = "myor_title_RCNWg", O
|
|
|
2240
2238
|
ctaLabel: i,
|
|
2241
2239
|
className: n = ""
|
|
2242
2240
|
}) => {
|
|
2243
|
-
const { t: r } = Ve(), h = i ?? r("makeYourOwnRitualCtaLabel"),
|
|
2241
|
+
const { t: r } = Ve(), h = i ?? r("makeYourOwnRitualCtaLabel"), f = [
|
|
2244
2242
|
r("makeYourOwnRitualChoiceDeity"),
|
|
2245
2243
|
r("makeYourOwnRitualChoiceTemple"),
|
|
2246
2244
|
r("makeYourOwnRitualChoiceSankalp"),
|
|
2247
2245
|
r("makeYourOwnRitualChoiceOfferings")
|
|
2248
|
-
],
|
|
2246
|
+
], y = [
|
|
2249
2247
|
{
|
|
2250
2248
|
title: r("makeYourOwnRitualStep1Title"),
|
|
2251
2249
|
text: r("makeYourOwnRitualStep1Text")
|
|
@@ -2259,38 +2257,38 @@ const Ar = "myor_page_0fc3b", Pr = "myor_hero_VTF6-", Nr = "myor_title_RCNWg", O
|
|
|
2259
2257
|
text: r("makeYourOwnRitualStep3Text")
|
|
2260
2258
|
}
|
|
2261
2259
|
];
|
|
2262
|
-
return /* @__PURE__ */ e.jsxs("div", { className: `${
|
|
2263
|
-
/* @__PURE__ */ e.jsxs("section", { className:
|
|
2264
|
-
/* @__PURE__ */ e.jsx("h1", { className:
|
|
2265
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2266
|
-
/* @__PURE__ */ e.jsx("button", { type: "button", className: `${
|
|
2260
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${z.page} ${n}`, children: [
|
|
2261
|
+
/* @__PURE__ */ e.jsxs("section", { className: z.hero, children: [
|
|
2262
|
+
/* @__PURE__ */ e.jsx("h1", { className: z.title, children: r("makeYourOwnRitualHeroTitle") }),
|
|
2263
|
+
/* @__PURE__ */ e.jsx("p", { className: z.subtitle, children: r("makeYourOwnRitualHeroSubtitle") }),
|
|
2264
|
+
/* @__PURE__ */ e.jsx("button", { type: "button", className: `${z.cta} ${z.heroCta}`, onClick: a, children: h })
|
|
2267
2265
|
] }),
|
|
2268
|
-
/* @__PURE__ */ e.jsxs("section", { className:
|
|
2269
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
2270
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2266
|
+
/* @__PURE__ */ e.jsxs("section", { className: z.section, children: [
|
|
2267
|
+
/* @__PURE__ */ e.jsx("h2", { className: z.sectionTitle, children: r("makeYourOwnRitualIntroTitle") }),
|
|
2268
|
+
/* @__PURE__ */ e.jsx("p", { className: z.body, children: r("makeYourOwnRitualIntroBody") })
|
|
2271
2269
|
] }),
|
|
2272
|
-
/* @__PURE__ */ e.jsxs("section", { className:
|
|
2273
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
2274
|
-
/* @__PURE__ */ e.jsx("ul", { className:
|
|
2270
|
+
/* @__PURE__ */ e.jsxs("section", { className: z.section, children: [
|
|
2271
|
+
/* @__PURE__ */ e.jsx("h2", { className: z.sectionTitle, children: r("makeYourOwnRitualChoicesTitle") }),
|
|
2272
|
+
/* @__PURE__ */ e.jsx("ul", { className: z.list, children: f.map((u) => /* @__PURE__ */ e.jsx("li", { className: z.listItem, children: u }, u)) })
|
|
2275
2273
|
] }),
|
|
2276
|
-
/* @__PURE__ */ e.jsxs("section", { className:
|
|
2277
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
2278
|
-
/* @__PURE__ */ e.jsx("ol", { className:
|
|
2279
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2274
|
+
/* @__PURE__ */ e.jsxs("section", { className: z.section, children: [
|
|
2275
|
+
/* @__PURE__ */ e.jsx("h2", { className: z.sectionTitle, children: r("makeYourOwnRitualStepsTitle") }),
|
|
2276
|
+
/* @__PURE__ */ e.jsx("ol", { className: z.steps, children: y.map((u, c) => /* @__PURE__ */ e.jsxs("li", { className: z.step, children: [
|
|
2277
|
+
/* @__PURE__ */ e.jsx("span", { className: z.stepIndex, children: c + 1 }),
|
|
2280
2278
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
2281
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2282
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2279
|
+
/* @__PURE__ */ e.jsx("p", { className: z.stepTitle, children: u.title }),
|
|
2280
|
+
/* @__PURE__ */ e.jsx("p", { className: z.stepText, children: u.text })
|
|
2283
2281
|
] })
|
|
2284
2282
|
] }, u.title)) })
|
|
2285
2283
|
] }),
|
|
2286
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2284
|
+
/* @__PURE__ */ e.jsx("div", { className: z.footerCta, children: /* @__PURE__ */ e.jsx("button", { type: "button", className: z.cta, onClick: a, children: h }) })
|
|
2287
2285
|
] });
|
|
2288
2286
|
};
|
|
2289
2287
|
function zr(a) {
|
|
2290
|
-
return
|
|
2288
|
+
return oe({ 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);
|
|
2291
2289
|
}
|
|
2292
2290
|
function Ur(a) {
|
|
2293
|
-
return
|
|
2291
|
+
return oe({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z" }, child: [] }] })(a);
|
|
2294
2292
|
}
|
|
2295
2293
|
const Vr = "myor_card_POf7K", Kr = "myor_cardSelected_wCllF", qr = "myor_cardUnselected_BPzTK", Qr = "myor_toggleButton_u8t2I", Jr = "myor_image_t2gR7", Xr = "myor_textCol_DMIK2", Zr = "myor_title_K9YEj", es = "myor_description_gY9eW", ts = "myor_checkboxWrap_oI9If", as = "myor_checkboxIconSelected_BGx0o", is = "myor_checkboxIconUnselected_jVp8v", rs = "myor_divider_FKvWz", ss = "myor_dividerRule_QJsNV", os = "myor_locationRow_8mnFW", ns = "myor_locationIcon_-Rlkl", ls = "myor_locationLabel_WobTw", cs = "myor_tagsRow_USLYk", ds = "myor_tagsRowBleed_Zo3-x", us = "myor_tagRowDefault_greq1", hs = "myor_tagText_nMC6Y", ms = "myor_tagTextDefault_h-vQx", ps = "myor_tagDot_sKYge", fs = "myor_priceRow_Rgvwn", ys = "myor_priceGroup_2-XnO", xs = "myor_priceLabel_d0XGz", bs = "myor_priceValue_JTX-v", gs = "myor_linkButton_SY8Y0", vs = "myor_linkIcon_Ux61m", O = {
|
|
2296
2294
|
card: Vr,
|
|
@@ -2328,8 +2326,8 @@ function _s(a) {
|
|
|
2328
2326
|
const r = i.current;
|
|
2329
2327
|
if (!r || !a) return;
|
|
2330
2328
|
const h = new IntersectionObserver(
|
|
2331
|
-
([
|
|
2332
|
-
!
|
|
2329
|
+
([f]) => {
|
|
2330
|
+
!f?.isIntersecting || n.current || (n.current = !0, a());
|
|
2333
2331
|
},
|
|
2334
2332
|
{ threshold: 0.5 }
|
|
2335
2333
|
);
|
|
@@ -2343,36 +2341,36 @@ function Cs({
|
|
|
2343
2341
|
title: n,
|
|
2344
2342
|
titleClassName: r,
|
|
2345
2343
|
description: h,
|
|
2346
|
-
descriptionClassName:
|
|
2347
|
-
locationLabel:
|
|
2344
|
+
descriptionClassName: f,
|
|
2345
|
+
locationLabel: y,
|
|
2348
2346
|
ratingLabel: u,
|
|
2349
2347
|
bookedLabel: c,
|
|
2350
2348
|
tagClassName: A,
|
|
2351
2349
|
tagTextClassName: l,
|
|
2352
|
-
priceLabel:
|
|
2350
|
+
priceLabel: _,
|
|
2353
2351
|
price: D,
|
|
2354
|
-
linkLabel:
|
|
2352
|
+
linkLabel: I,
|
|
2355
2353
|
onLinkClick: $,
|
|
2356
2354
|
selected: P,
|
|
2357
2355
|
onToggle: v,
|
|
2358
2356
|
selectAriaLabel: b = "Select ritual",
|
|
2359
|
-
className:
|
|
2360
|
-
onImpression:
|
|
2357
|
+
className: T,
|
|
2358
|
+
onImpression: E
|
|
2361
2359
|
}) {
|
|
2362
|
-
const R = _s(
|
|
2363
|
-
return /* @__PURE__ */ e.jsxs("div", { ref: R, className: Se(O.card, P ? O.cardSelected : O.cardUnselected,
|
|
2360
|
+
const R = _s(E);
|
|
2361
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: R, className: Se(O.card, P ? O.cardSelected : O.cardUnselected, T), children: [
|
|
2364
2362
|
/* @__PURE__ */ e.jsxs("button", { type: "button", onClick: v, "aria-pressed": P, "aria-label": b, className: O.toggleButton, children: [
|
|
2365
2363
|
/* @__PURE__ */ e.jsx("img", { src: a, alt: i, className: O.image }),
|
|
2366
2364
|
/* @__PURE__ */ e.jsxs("div", { className: O.textCol, children: [
|
|
2367
2365
|
/* @__PURE__ */ e.jsx("p", { className: Se(O.title, r), children: n }),
|
|
2368
|
-
/* @__PURE__ */ e.jsx("p", { className: Se(O.description,
|
|
2366
|
+
/* @__PURE__ */ e.jsx("p", { className: Se(O.description, f), children: h })
|
|
2369
2367
|
] }),
|
|
2370
2368
|
/* @__PURE__ */ e.jsx("span", { className: O.checkboxWrap, "aria-hidden": !0, children: P ? /* @__PURE__ */ e.jsx(Ur, { className: O.checkboxIconSelected }) : /* @__PURE__ */ e.jsx(zr, { className: O.checkboxIconUnselected }) })
|
|
2371
2369
|
] }),
|
|
2372
|
-
(
|
|
2373
|
-
|
|
2370
|
+
(y || u || c) && /* @__PURE__ */ e.jsx("hr", { className: Se(O.divider, O.dividerRule) }),
|
|
2371
|
+
y && /* @__PURE__ */ e.jsxs("div", { className: O.locationRow, children: [
|
|
2374
2372
|
/* @__PURE__ */ e.jsx("img", { src: Ts, alt: "", "aria-hidden": !0, className: O.locationIcon }),
|
|
2375
|
-
/* @__PURE__ */ e.jsx("p", { className: O.locationLabel, children:
|
|
2373
|
+
/* @__PURE__ */ e.jsx("p", { className: O.locationLabel, children: y })
|
|
2376
2374
|
] }),
|
|
2377
2375
|
(u || c) && /* @__PURE__ */ e.jsxs("div", { className: Se(O.tagsRow, O.tagsRowBleed, A ?? O.tagRowDefault), children: [
|
|
2378
2376
|
u && /* @__PURE__ */ e.jsx("p", { className: Se(O.tagText, l ?? O.tagTextDefault), children: u }),
|
|
@@ -2381,11 +2379,11 @@ function Cs({
|
|
|
2381
2379
|
] }),
|
|
2382
2380
|
/* @__PURE__ */ e.jsxs("div", { className: O.priceRow, children: [
|
|
2383
2381
|
/* @__PURE__ */ e.jsxs("p", { className: O.priceGroup, children: [
|
|
2384
|
-
|
|
2382
|
+
_ && /* @__PURE__ */ e.jsx("span", { className: O.priceLabel, children: _ }),
|
|
2385
2383
|
/* @__PURE__ */ e.jsx("span", { className: O.priceValue, children: D })
|
|
2386
2384
|
] }),
|
|
2387
2385
|
/* @__PURE__ */ e.jsxs("button", { type: "button", onClick: $, className: O.linkButton, children: [
|
|
2388
|
-
|
|
2386
|
+
I,
|
|
2389
2387
|
/* @__PURE__ */ e.jsx(na, { "aria-hidden": !0, className: O.linkIcon })
|
|
2390
2388
|
] })
|
|
2391
2389
|
] })
|
|
@@ -2415,35 +2413,35 @@ function _n({
|
|
|
2415
2413
|
onProceed: n,
|
|
2416
2414
|
onLocaleChange: r,
|
|
2417
2415
|
onAboutRitualClick: h,
|
|
2418
|
-
onCardImpression:
|
|
2419
|
-
onCardToggle:
|
|
2416
|
+
onCardImpression: f,
|
|
2417
|
+
onCardToggle: y,
|
|
2420
2418
|
packages: u,
|
|
2421
2419
|
onBackClick: c,
|
|
2422
2420
|
isGlobalUser: A = !1
|
|
2423
2421
|
}) {
|
|
2424
|
-
const { t: l, locale:
|
|
2422
|
+
const { t: l, locale: _ } = Ve(), { t: D } = At(), [I, $] = W(!1), P = a.selectedRituals.size, v = ut(
|
|
2425
2423
|
() => Array.from(a.selectedRituals.values()).reduce(
|
|
2426
|
-
(
|
|
2424
|
+
(m, te) => m + te.price,
|
|
2427
2425
|
0
|
|
2428
2426
|
),
|
|
2429
2427
|
[a.selectedRituals]
|
|
2430
|
-
), b = a.rituals.find((
|
|
2431
|
-
(
|
|
2432
|
-
),
|
|
2433
|
-
...R ? [{ name: l("mandapFeeItemLabel"), subtitle: "", lineTotal: `${
|
|
2434
|
-
...a.rituals.filter((
|
|
2435
|
-
name:
|
|
2436
|
-
subtitle:
|
|
2437
|
-
lineTotal: `${
|
|
2428
|
+
), b = a.rituals.find((m) => a.selectedRituals.has(m.id))?.currency_symbol ?? "₹", T = a.rituals.some(
|
|
2429
|
+
(m) => m.ritualType === "ritual" && a.selectedRituals.has(m.id)
|
|
2430
|
+
), E = u?.[0], R = T && E != null, Q = E ? `${E.currency_symbol ?? "₹"}${E.price}` : void 0, H = R && Q ? Rt(l("mandapFeeLabel"), { amount: Q }) : void 0, re = [
|
|
2431
|
+
...R ? [{ name: l("mandapFeeItemLabel"), subtitle: "", lineTotal: `${Q}/-` }] : [],
|
|
2432
|
+
...a.rituals.filter((m) => a.selectedRituals.has(m.id)).map((m) => ({
|
|
2433
|
+
name: m.title,
|
|
2434
|
+
subtitle: m.locationLabel ?? "",
|
|
2435
|
+
lineTotal: `${m.currency_symbol}${m.price}/-`
|
|
2438
2436
|
}))
|
|
2439
|
-
],
|
|
2437
|
+
], C = `${b}${v + (R ? E.price : 0)}/-`;
|
|
2440
2438
|
return /* @__PURE__ */ e.jsxs("main", { className: ge.root, children: [
|
|
2441
2439
|
/* @__PURE__ */ e.jsx(
|
|
2442
2440
|
Qt,
|
|
2443
2441
|
{
|
|
2444
|
-
locale:
|
|
2442
|
+
locale: _,
|
|
2445
2443
|
localeOptions: A ? [] : Ls,
|
|
2446
|
-
onLocaleChange: (
|
|
2444
|
+
onLocaleChange: (m) => r(m),
|
|
2447
2445
|
onBackClick: c,
|
|
2448
2446
|
className: ge.topBar
|
|
2449
2447
|
}
|
|
@@ -2463,60 +2461,60 @@ function _n({
|
|
|
2463
2461
|
/* @__PURE__ */ e.jsx("p", { className: ge.infoText, children: l("nextStepInfoNote") })
|
|
2464
2462
|
] })
|
|
2465
2463
|
] }),
|
|
2466
|
-
/* @__PURE__ */ e.jsx("div", { className: ge.ritualList, children: a.rituals.map((
|
|
2467
|
-
const
|
|
2464
|
+
/* @__PURE__ */ e.jsx("div", { className: ge.ritualList, children: a.rituals.map((m, te) => {
|
|
2465
|
+
const X = a.selectedRituals.has(m.id), ae = te + 1;
|
|
2468
2466
|
return /* @__PURE__ */ e.jsx(
|
|
2469
2467
|
Cs,
|
|
2470
2468
|
{
|
|
2471
|
-
onImpression: () =>
|
|
2472
|
-
imageUrl:
|
|
2473
|
-
title:
|
|
2474
|
-
description:
|
|
2475
|
-
locationLabel:
|
|
2476
|
-
ratingLabel:
|
|
2469
|
+
onImpression: () => f?.(m, ae),
|
|
2470
|
+
imageUrl: m.image,
|
|
2471
|
+
title: m.title,
|
|
2472
|
+
description: m.description,
|
|
2473
|
+
locationLabel: m.locationLabel,
|
|
2474
|
+
ratingLabel: m.rating == null ? void 0 : Rt(
|
|
2477
2475
|
l(
|
|
2478
|
-
|
|
2476
|
+
m.ritualType === "ritual" ? "ritualRatingTemplate" : "sevaRatingTemplate"
|
|
2479
2477
|
),
|
|
2480
|
-
{ rating:
|
|
2478
|
+
{ rating: m.rating }
|
|
2481
2479
|
),
|
|
2482
|
-
bookedLabel:
|
|
2483
|
-
bookings:
|
|
2480
|
+
bookedLabel: m.bookings == null ? void 0 : Rt(l("ritualBookedTemplate"), {
|
|
2481
|
+
bookings: m.bookings
|
|
2484
2482
|
}),
|
|
2485
|
-
priceLabel:
|
|
2486
|
-
price: `${
|
|
2483
|
+
priceLabel: m.ritualType === "ritual" ? l("ritualPriceLabel") : void 0,
|
|
2484
|
+
price: `${m.currency_symbol}${m.price}`,
|
|
2487
2485
|
linkLabel: l(
|
|
2488
|
-
|
|
2486
|
+
m.ritualType === "ritual" ? "ritualAboutLink" : m.ritualType === "chadhava" ? "ritualAboutChadhava" : "ritualAboutSeva"
|
|
2489
2487
|
),
|
|
2490
|
-
onLinkClick: () => h?.(
|
|
2491
|
-
selected:
|
|
2488
|
+
onLinkClick: () => h?.(m.id),
|
|
2489
|
+
selected: X,
|
|
2492
2490
|
onToggle: () => {
|
|
2493
|
-
|
|
2494
|
-
const
|
|
2495
|
-
|
|
2496
|
-
id:
|
|
2497
|
-
ritual_name:
|
|
2498
|
-
ritual_description:
|
|
2499
|
-
cutoff_hour:
|
|
2500
|
-
cutoff_minute:
|
|
2501
|
-
price:
|
|
2491
|
+
y?.(m, ae, !X);
|
|
2492
|
+
const U = new Map(a.selectedRituals);
|
|
2493
|
+
X ? U.delete(m.id) : U.set(m.id, {
|
|
2494
|
+
id: m.id,
|
|
2495
|
+
ritual_name: m.ritual_name,
|
|
2496
|
+
ritual_description: m.description,
|
|
2497
|
+
cutoff_hour: m.cutoff_hour,
|
|
2498
|
+
cutoff_minute: m.cutoff_minute,
|
|
2499
|
+
price: m.price,
|
|
2502
2500
|
// Seva and chadhava are both donation/offering add-ons.
|
|
2503
|
-
type:
|
|
2504
|
-
}), i({ type: "SET_SELECTED_RITUALS", payload: Array.from(
|
|
2501
|
+
type: m.ritualType === "ritual" ? "seva" : "chadava"
|
|
2502
|
+
}), i({ type: "SET_SELECTED_RITUALS", payload: Array.from(U.values()) });
|
|
2505
2503
|
},
|
|
2506
2504
|
selectAriaLabel: l("ritualSelectAriaLabel")
|
|
2507
2505
|
},
|
|
2508
|
-
|
|
2506
|
+
m.id
|
|
2509
2507
|
);
|
|
2510
2508
|
}) }),
|
|
2511
2509
|
/* @__PURE__ */ e.jsx("div", { className: ge.proceedBarWrap, children: /* @__PURE__ */ e.jsx(
|
|
2512
2510
|
wa,
|
|
2513
2511
|
{
|
|
2514
2512
|
amount: P > 0 ? `${b}${v}/-` : void 0,
|
|
2515
|
-
subtitle: P === 0 ? void 0 :
|
|
2516
|
-
`).map((
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
] },
|
|
2513
|
+
subtitle: P === 0 ? void 0 : H ? H.split(`
|
|
2514
|
+
`).map((m, te) => /* @__PURE__ */ e.jsxs(ea, { children: [
|
|
2515
|
+
te > 0 && /* @__PURE__ */ e.jsx("br", {}),
|
|
2516
|
+
m
|
|
2517
|
+
] }, te)) : `${P} ${l(
|
|
2520
2518
|
P === 1 ? "ritualCountSingular" : "ritualCountPlural"
|
|
2521
2519
|
)}`,
|
|
2522
2520
|
proceedLabel: l("ctaProceed"),
|
|
@@ -2528,13 +2526,13 @@ function _n({
|
|
|
2528
2526
|
/* @__PURE__ */ e.jsx(
|
|
2529
2527
|
Jt,
|
|
2530
2528
|
{
|
|
2531
|
-
isOpen:
|
|
2529
|
+
isOpen: I,
|
|
2532
2530
|
onClose: () => $(!1),
|
|
2533
2531
|
closeButtonAriaLabel: D("billDetailsCloseAriaLabel"),
|
|
2534
2532
|
heading: D("billDetailsHeading"),
|
|
2535
|
-
items:
|
|
2533
|
+
items: re,
|
|
2536
2534
|
totalLabel: D("billDetailsTotalLabel"),
|
|
2537
|
-
totalAmount:
|
|
2535
|
+
totalAmount: C
|
|
2538
2536
|
}
|
|
2539
2537
|
)
|
|
2540
2538
|
] });
|
|
@@ -2554,8 +2552,8 @@ const Is = "myor_body_tSY6L", Es = "myor_image_bxDy8", Bs = "myor_title_i9OQr",
|
|
|
2554
2552
|
imageUrl: n,
|
|
2555
2553
|
title: r,
|
|
2556
2554
|
description: h,
|
|
2557
|
-
dateLabel:
|
|
2558
|
-
locationLabel:
|
|
2555
|
+
dateLabel: f,
|
|
2556
|
+
locationLabel: y
|
|
2559
2557
|
}) => /* @__PURE__ */ e.jsx(
|
|
2560
2558
|
Ut,
|
|
2561
2559
|
{
|
|
@@ -2568,21 +2566,21 @@ const Is = "myor_body_tSY6L", Es = "myor_image_bxDy8", Bs = "myor_title_i9OQr",
|
|
|
2568
2566
|
/* @__PURE__ */ e.jsx("img", { src: n, alt: "", className: ye.image }),
|
|
2569
2567
|
/* @__PURE__ */ e.jsx("p", { className: ye.title, children: r }),
|
|
2570
2568
|
/* @__PURE__ */ e.jsx("p", { className: ye.description, children: h }),
|
|
2571
|
-
(
|
|
2572
|
-
|
|
2569
|
+
(f || y) && /* @__PURE__ */ e.jsxs("div", { className: ye.detailsCol, children: [
|
|
2570
|
+
f && /* @__PURE__ */ e.jsxs("div", { className: ye.detailRow, children: [
|
|
2573
2571
|
/* @__PURE__ */ e.jsx(la, { "aria-hidden": !0, className: ye.detailIcon }),
|
|
2574
|
-
/* @__PURE__ */ e.jsx("p", { className: ye.detailText, children:
|
|
2572
|
+
/* @__PURE__ */ e.jsx("p", { className: ye.detailText, children: f })
|
|
2575
2573
|
] }),
|
|
2576
|
-
|
|
2574
|
+
y && /* @__PURE__ */ e.jsxs("div", { className: ye.detailRow, children: [
|
|
2577
2575
|
/* @__PURE__ */ e.jsx("img", { src: Ws, alt: "", "aria-hidden": !0, className: ye.detailIcon }),
|
|
2578
|
-
/* @__PURE__ */ e.jsx("p", { className: ye.detailText, children:
|
|
2576
|
+
/* @__PURE__ */ e.jsx("p", { className: ye.detailText, children: y })
|
|
2579
2577
|
] })
|
|
2580
2578
|
] })
|
|
2581
2579
|
] })
|
|
2582
2580
|
}
|
|
2583
2581
|
);
|
|
2584
2582
|
function zs(a) {
|
|
2585
|
-
return
|
|
2583
|
+
return oe({ attr: { fill: "none", viewBox: "0 0 24 24", strokeWidth: "1.5", stroke: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { strokeLinecap: "round", strokeLinejoin: "round", d: "m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10" }, child: [] }] })(a);
|
|
2586
2584
|
}
|
|
2587
2585
|
const Us = "myor_card_zVyav", Vs = "myor_headerRow_2iyfI", Ks = "myor_ancestorChip_GOm2o", qs = "myor_indexBadge_j--oH", Qs = "myor_ancestorLabel_1Qa8p", Js = "myor_editButton_raHuP", Xs = "myor_editIcon_aWi6O", Zs = "myor_imageRow_-tgd9", eo = "myor_imageWrap_PInsw", to = "myor_image_lw6dk", ao = "myor_contentCol_HZBny", io = "myor_title_wGpCJ", ro = "myor_description_HsA1D", so = "myor_learnMoreLink_2Wgfw", oo = "myor_learnMoreIcon_WSLCs", no = "myor_detailsDivider_8Hj2f", lo = "myor_detailsCol_-1DMK", co = "myor_detailRow_Y1Uo5", uo = "myor_detailIcon_0OXyv", ho = "myor_detailText_fmivs", mo = "myor_locationIcon_Eaj9I", po = "myor_statsRow_ZHGac", fo = "myor_statsText_Cmn-Z", yo = "myor_statsDot_vFj-o", xo = "myor_footerRow_C8E5n", bo = "myor_priceCol_QSiOg", go = "myor_priceLabelRow_FEmIE", vo = "myor_priceLabel_x8K7g", _o = "myor_priceInfoButton_a1I3K", To = "myor_priceInfoIcon_z-X-f", Co = "myor_priceValue_6-v5z", Ro = "myor_ctaWrap_51mcA", S = {
|
|
2588
2586
|
card: Us,
|
|
@@ -2624,26 +2622,26 @@ function So({
|
|
|
2624
2622
|
onEditClick: n,
|
|
2625
2623
|
imageUrl: r,
|
|
2626
2624
|
imageAlt: h,
|
|
2627
|
-
ratingLabel:
|
|
2628
|
-
bookedLabel:
|
|
2625
|
+
ratingLabel: f,
|
|
2626
|
+
bookedLabel: y,
|
|
2629
2627
|
title: u,
|
|
2630
2628
|
description: c,
|
|
2631
2629
|
learnMoreLabel: A = "About This Seva",
|
|
2632
2630
|
editButtonAriaLabel: l = "Edit ancestors",
|
|
2633
|
-
priceLabel:
|
|
2631
|
+
priceLabel: _ = "Puja Amount",
|
|
2634
2632
|
priceInfoAriaLabel: D = "More info",
|
|
2635
|
-
addLabel:
|
|
2633
|
+
addLabel: I = "Add",
|
|
2636
2634
|
addedLabel: $ = "Added",
|
|
2637
2635
|
onLearnMoreClick: P,
|
|
2638
2636
|
learnMoreHref: v,
|
|
2639
2637
|
dateLabel: b,
|
|
2640
|
-
locationLabel:
|
|
2641
|
-
price:
|
|
2638
|
+
locationLabel: T,
|
|
2639
|
+
price: E,
|
|
2642
2640
|
isAdded: R,
|
|
2643
|
-
onCtaClick:
|
|
2644
|
-
onPriceInfoClick:
|
|
2641
|
+
onCtaClick: Q,
|
|
2642
|
+
onPriceInfoClick: H
|
|
2645
2643
|
}) {
|
|
2646
|
-
const
|
|
2644
|
+
const re = f != null || y != null, C = b != null || T != null;
|
|
2647
2645
|
return /* @__PURE__ */ e.jsxs("div", { className: S.card, children: [
|
|
2648
2646
|
/* @__PURE__ */ e.jsxs("div", { className: S.headerRow, children: [
|
|
2649
2647
|
/* @__PURE__ */ e.jsxs("div", { className: S.ancestorChip, children: [
|
|
@@ -2672,48 +2670,48 @@ function So({
|
|
|
2672
2670
|
] })
|
|
2673
2671
|
] })
|
|
2674
2672
|
] }),
|
|
2675
|
-
|
|
2673
|
+
C && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2676
2674
|
/* @__PURE__ */ e.jsx("hr", { className: S.detailsDivider }),
|
|
2677
2675
|
/* @__PURE__ */ e.jsxs("div", { className: S.detailsCol, children: [
|
|
2678
2676
|
b != null && /* @__PURE__ */ e.jsxs("div", { className: S.detailRow, children: [
|
|
2679
2677
|
/* @__PURE__ */ e.jsx(la, { "aria-hidden": !0, className: S.detailIcon }),
|
|
2680
2678
|
/* @__PURE__ */ e.jsx("p", { className: S.detailText, children: b })
|
|
2681
2679
|
] }),
|
|
2682
|
-
|
|
2680
|
+
T != null && /* @__PURE__ */ e.jsxs("div", { className: S.detailRow, children: [
|
|
2683
2681
|
/* @__PURE__ */ e.jsx("img", { src: jo, alt: "", "aria-hidden": !0, className: S.locationIcon }),
|
|
2684
|
-
/* @__PURE__ */ e.jsx("p", { className: S.detailText, children:
|
|
2682
|
+
/* @__PURE__ */ e.jsx("p", { className: S.detailText, children: T })
|
|
2685
2683
|
] })
|
|
2686
2684
|
] })
|
|
2687
2685
|
] }),
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2686
|
+
re && /* @__PURE__ */ e.jsxs("div", { className: S.statsRow, children: [
|
|
2687
|
+
f != null && /* @__PURE__ */ e.jsx("p", { className: S.statsText, children: f }),
|
|
2688
|
+
f != null && y != null && /* @__PURE__ */ e.jsx("span", { className: S.statsDot, "aria-hidden": !0 }),
|
|
2689
|
+
y != null && /* @__PURE__ */ e.jsx("p", { className: S.statsText, children: y })
|
|
2692
2690
|
] }),
|
|
2693
2691
|
/* @__PURE__ */ e.jsxs("div", { className: S.footerRow, children: [
|
|
2694
2692
|
/* @__PURE__ */ e.jsxs("div", { className: S.priceCol, children: [
|
|
2695
2693
|
/* @__PURE__ */ e.jsxs("div", { className: S.priceLabelRow, children: [
|
|
2696
|
-
/* @__PURE__ */ e.jsx("p", { className: S.priceLabel, children:
|
|
2697
|
-
|
|
2694
|
+
/* @__PURE__ */ e.jsx("p", { className: S.priceLabel, children: _ }),
|
|
2695
|
+
H && /* @__PURE__ */ e.jsx(
|
|
2698
2696
|
"button",
|
|
2699
2697
|
{
|
|
2700
2698
|
type: "button",
|
|
2701
2699
|
className: S.priceInfoButton,
|
|
2702
|
-
onClick:
|
|
2700
|
+
onClick: H,
|
|
2703
2701
|
"aria-label": D,
|
|
2704
2702
|
children: /* @__PURE__ */ e.jsx(oa, { "aria-hidden": !0, className: S.priceInfoIcon })
|
|
2705
2703
|
}
|
|
2706
2704
|
)
|
|
2707
2705
|
] }),
|
|
2708
|
-
/* @__PURE__ */ e.jsx("p", { className: S.priceValue, children:
|
|
2706
|
+
/* @__PURE__ */ e.jsx("p", { className: S.priceValue, children: E })
|
|
2709
2707
|
] }),
|
|
2710
2708
|
/* @__PURE__ */ e.jsx("div", { className: S.ctaWrap, children: /* @__PURE__ */ e.jsx(
|
|
2711
2709
|
Pt,
|
|
2712
2710
|
{
|
|
2713
2711
|
variant: R ? "secondary" : "primary",
|
|
2714
2712
|
leftIcon: R ? /* @__PURE__ */ e.jsx(Xt, {}) : /* @__PURE__ */ e.jsx(Zt, {}),
|
|
2715
|
-
onClick:
|
|
2716
|
-
children: R ? $ :
|
|
2713
|
+
onClick: Q,
|
|
2714
|
+
children: R ? $ : I
|
|
2717
2715
|
}
|
|
2718
2716
|
) })
|
|
2719
2717
|
] })
|
|
@@ -2739,8 +2737,8 @@ function Mo({
|
|
|
2739
2737
|
title: n,
|
|
2740
2738
|
description: r,
|
|
2741
2739
|
originalPrice: h,
|
|
2742
|
-
price:
|
|
2743
|
-
isAdded:
|
|
2740
|
+
price: f,
|
|
2741
|
+
isAdded: y,
|
|
2744
2742
|
onCtaClick: u,
|
|
2745
2743
|
disabled: c
|
|
2746
2744
|
}) {
|
|
@@ -2756,17 +2754,17 @@ function Mo({
|
|
|
2756
2754
|
/* @__PURE__ */ e.jsxs("div", { className: ue.priceCol, children: [
|
|
2757
2755
|
/* @__PURE__ */ e.jsxs("div", { className: ue.priceRow, children: [
|
|
2758
2756
|
h != null && /* @__PURE__ */ e.jsx("p", { className: ue.originalPrice, children: h }),
|
|
2759
|
-
/* @__PURE__ */ e.jsx("p", { className: ue.price, children:
|
|
2757
|
+
/* @__PURE__ */ e.jsx("p", { className: ue.price, children: f })
|
|
2760
2758
|
] }),
|
|
2761
2759
|
/* @__PURE__ */ e.jsx(
|
|
2762
2760
|
Pt,
|
|
2763
2761
|
{
|
|
2764
|
-
variant:
|
|
2765
|
-
leftIcon:
|
|
2762
|
+
variant: y ? "secondary" : "primary",
|
|
2763
|
+
leftIcon: y ? /* @__PURE__ */ e.jsx(Xt, { className: "size-5" }) : /* @__PURE__ */ e.jsx(Zt, { className: "size-5" }),
|
|
2766
2764
|
onClick: u,
|
|
2767
2765
|
disabled: c,
|
|
2768
2766
|
style: c ? { backgroundImage: "none", color: "#6b7280", borderColor: "#d1d5db" } : void 0,
|
|
2769
|
-
children: A(
|
|
2767
|
+
children: A(y ? "outcomeAddedLabel" : "outcomeAddLabel")
|
|
2770
2768
|
}
|
|
2771
2769
|
)
|
|
2772
2770
|
] })
|
|
@@ -2796,10 +2794,10 @@ function tn({
|
|
|
2796
2794
|
closeButtonAriaLabel: n = "Close",
|
|
2797
2795
|
dragHandleAriaLabel: r = "Drag to expand",
|
|
2798
2796
|
footer: h,
|
|
2799
|
-
children:
|
|
2800
|
-
onScroll:
|
|
2797
|
+
children: f,
|
|
2798
|
+
onScroll: y
|
|
2801
2799
|
}) {
|
|
2802
|
-
const [u, c] =
|
|
2800
|
+
const [u, c] = W(null), [A, l] = W(!1), [_, D] = W(!1), I = et(null);
|
|
2803
2801
|
if (Ie(() => {
|
|
2804
2802
|
if (!a) {
|
|
2805
2803
|
l(!1), c(null);
|
|
@@ -2809,15 +2807,15 @@ function tn({
|
|
|
2809
2807
|
}, [a]), !a)
|
|
2810
2808
|
return null;
|
|
2811
2809
|
const $ = (b) => {
|
|
2812
|
-
b.target.setPointerCapture(b.pointerId),
|
|
2810
|
+
b.target.setPointerCapture(b.pointerId), I.current = { y: b.clientY, height: u ?? window.innerHeight * jt }, D(!0);
|
|
2813
2811
|
}, P = (b) => {
|
|
2814
|
-
if (!
|
|
2815
|
-
const
|
|
2816
|
-
c(
|
|
2812
|
+
if (!I.current) return;
|
|
2813
|
+
const T = I.current.y - b.clientY, E = Math.min(window.innerHeight, Math.max(200, I.current.height + T));
|
|
2814
|
+
c(E);
|
|
2817
2815
|
}, v = () => {
|
|
2818
|
-
if (!
|
|
2816
|
+
if (!I.current) return;
|
|
2819
2817
|
const b = (u ?? 0) >= window.innerHeight * en;
|
|
2820
|
-
|
|
2818
|
+
I.current = null, D(!1), l(b), c(b ? window.innerHeight : window.innerHeight * jt);
|
|
2821
2819
|
};
|
|
2822
2820
|
return /* @__PURE__ */ e.jsxs("div", { className: Le.overlay, children: [
|
|
2823
2821
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2847,7 +2845,7 @@ function tn({
|
|
|
2847
2845
|
height: u ?? void 0,
|
|
2848
2846
|
borderTopLeftRadius: A ? 0 : 24,
|
|
2849
2847
|
borderTopRightRadius: A ? 0 : 24,
|
|
2850
|
-
transition:
|
|
2848
|
+
transition: _ ? "none" : `height 0.4s ${Wt}, border-radius 0.4s ${Wt}`
|
|
2851
2849
|
},
|
|
2852
2850
|
children: [
|
|
2853
2851
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2868,15 +2866,15 @@ function tn({
|
|
|
2868
2866
|
"div",
|
|
2869
2867
|
{
|
|
2870
2868
|
className: Le.body,
|
|
2871
|
-
onScroll:
|
|
2872
|
-
const
|
|
2873
|
-
|
|
2874
|
-
scrollTop:
|
|
2875
|
-
scrollHeight:
|
|
2876
|
-
clientHeight:
|
|
2869
|
+
onScroll: y ? (b) => {
|
|
2870
|
+
const T = b.currentTarget;
|
|
2871
|
+
y({
|
|
2872
|
+
scrollTop: T.scrollTop,
|
|
2873
|
+
scrollHeight: T.scrollHeight,
|
|
2874
|
+
clientHeight: T.clientHeight
|
|
2877
2875
|
});
|
|
2878
2876
|
} : void 0,
|
|
2879
|
-
children:
|
|
2877
|
+
children: f
|
|
2880
2878
|
}
|
|
2881
2879
|
),
|
|
2882
2880
|
h && /* @__PURE__ */ e.jsx("div", { className: Le.footer, children: h })
|
|
@@ -2891,33 +2889,33 @@ function an({
|
|
|
2891
2889
|
readMoreLabel: n,
|
|
2892
2890
|
readLessLabel: r
|
|
2893
2891
|
}) {
|
|
2894
|
-
const [h,
|
|
2895
|
-
if (Ie(() =>
|
|
2892
|
+
const [h, f] = W(!1);
|
|
2893
|
+
if (Ie(() => f(!1), [i]), !i)
|
|
2896
2894
|
return null;
|
|
2897
|
-
const
|
|
2895
|
+
const y = i.replace(/<[^>]*>/g, "").length > 180;
|
|
2898
2896
|
return /* @__PURE__ */ e.jsxs("section", { className: "flex w-full flex-col items-start gap-3 border-b border-gray-100 p-4", children: [
|
|
2899
2897
|
/* @__PURE__ */ e.jsx("p", { className: "text-lg font-bold leading-6 text-[#22272b]", children: a }),
|
|
2900
2898
|
/* @__PURE__ */ e.jsx(
|
|
2901
2899
|
"div",
|
|
2902
2900
|
{
|
|
2903
|
-
className: `w-full text-sm font-normal leading-5 text-gray-500 ${
|
|
2901
|
+
className: `w-full text-sm font-normal leading-5 text-gray-500 ${y && !h ? "line-clamp-3" : ""}`,
|
|
2904
2902
|
dangerouslySetInnerHTML: { __html: i }
|
|
2905
2903
|
}
|
|
2906
2904
|
),
|
|
2907
|
-
|
|
2905
|
+
y && /* @__PURE__ */ e.jsx(
|
|
2908
2906
|
"button",
|
|
2909
2907
|
{
|
|
2910
2908
|
type: "button",
|
|
2911
2909
|
className: "text-sm font-semibold text-[#F68D1C] underline",
|
|
2912
2910
|
"aria-expanded": h,
|
|
2913
|
-
onClick: () =>
|
|
2911
|
+
onClick: () => f((u) => !u),
|
|
2914
2912
|
children: h ? r : n
|
|
2915
2913
|
}
|
|
2916
2914
|
)
|
|
2917
2915
|
] });
|
|
2918
2916
|
}
|
|
2919
2917
|
function rn(a) {
|
|
2920
|
-
return
|
|
2918
|
+
return oe({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M399 384.2C376.9 345.8 335.4 320 288 320l-64 0c-47.4 0-88.9 25.8-111 64.2c35.2 39.2 86.2 63.8 143 63.8s107.8-24.7 143-63.8zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm256 16a72 72 0 1 0 0-144 72 72 0 1 0 0 144z" }, child: [] }] })(a);
|
|
2921
2919
|
}
|
|
2922
2920
|
const Gt = 3;
|
|
2923
2921
|
function sn({
|
|
@@ -2926,29 +2924,29 @@ function sn({
|
|
|
2926
2924
|
mediaHeading: n,
|
|
2927
2925
|
mediaSubtitle: r,
|
|
2928
2926
|
reviews: h,
|
|
2929
|
-
reviewMedia:
|
|
2930
|
-
seeMoreLabel:
|
|
2927
|
+
reviewMedia: f,
|
|
2928
|
+
seeMoreLabel: y,
|
|
2931
2929
|
onSeeMoreClick: u
|
|
2932
2930
|
}) {
|
|
2933
|
-
const [c, A] =
|
|
2931
|
+
const [c, A] = W(!1), l = c ? h : h.slice(0, Gt), _ = f != null && f.length > 0, [D, I] = W(0), $ = et(null), P = () => {
|
|
2934
2932
|
const v = $.current;
|
|
2935
2933
|
if (!v || v.children.length === 0) return;
|
|
2936
2934
|
const b = v.children[0].offsetWidth + 12;
|
|
2937
|
-
|
|
2935
|
+
I(Math.round(v.scrollLeft / b));
|
|
2938
2936
|
};
|
|
2939
2937
|
return /* @__PURE__ */ e.jsxs("section", { className: "flex w-full flex-col items-start bg-white pb-6 pt-7", children: [
|
|
2940
2938
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1 px-4 py-2", children: [
|
|
2941
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-lg font-bold leading-6 text-gray-900", children:
|
|
2942
|
-
/* @__PURE__ */ e.jsx("p", { className: "w-full text-base font-normal leading-[22px] text-black", children:
|
|
2939
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-lg font-bold leading-6 text-gray-900", children: _ ? n ?? a : a }),
|
|
2940
|
+
/* @__PURE__ */ e.jsx("p", { className: "w-full text-base font-normal leading-[22px] text-black", children: _ ? r ?? i : i })
|
|
2943
2941
|
] }),
|
|
2944
|
-
|
|
2942
|
+
_ && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2945
2943
|
/* @__PURE__ */ e.jsx(
|
|
2946
2944
|
"div",
|
|
2947
2945
|
{
|
|
2948
2946
|
ref: $,
|
|
2949
2947
|
onScroll: P,
|
|
2950
|
-
className: `flex w-full snap-x snap-mandatory gap-3 overflow-x-auto px-4 pt-4 ${
|
|
2951
|
-
children:
|
|
2948
|
+
className: `flex w-full snap-x snap-mandatory gap-3 overflow-x-auto px-4 pt-4 ${f.length === 1 ? "justify-center" : ""}`,
|
|
2949
|
+
children: f.map((v, b) => /* @__PURE__ */ e.jsxs("div", { className: "flex w-60 shrink-0 snap-start flex-col gap-3", children: [
|
|
2952
2950
|
/* @__PURE__ */ e.jsx("div", { className: "h-40 w-full overflow-hidden rounded-xl", children: v.videoUrl ? /* @__PURE__ */ e.jsx(
|
|
2953
2951
|
"video",
|
|
2954
2952
|
{
|
|
@@ -2976,7 +2974,7 @@ function sn({
|
|
|
2976
2974
|
] }, `${v.name}-${b}`))
|
|
2977
2975
|
}
|
|
2978
2976
|
),
|
|
2979
|
-
|
|
2977
|
+
f.length > 1 && /* @__PURE__ */ e.jsx("div", { className: "flex w-full items-center justify-center gap-1.5 pt-3", children: f.map((v, b) => /* @__PURE__ */ e.jsx(
|
|
2980
2978
|
"span",
|
|
2981
2979
|
{
|
|
2982
2980
|
className: `size-2 rounded ${b === D ? "bg-[#f18912]" : "bg-gray-300"}`
|
|
@@ -2984,7 +2982,7 @@ function sn({
|
|
|
2984
2982
|
b
|
|
2985
2983
|
)) })
|
|
2986
2984
|
] }),
|
|
2987
|
-
|
|
2985
|
+
_ && h.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1 px-4 pt-7", children: [
|
|
2988
2986
|
/* @__PURE__ */ e.jsx("p", { className: "text-lg font-bold leading-6 text-gray-900", children: a }),
|
|
2989
2987
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-base font-normal leading-[22px] text-black", children: i })
|
|
2990
2988
|
] }),
|
|
@@ -3005,12 +3003,12 @@ function sn({
|
|
|
3005
3003
|
] })
|
|
3006
3004
|
] }),
|
|
3007
3005
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-2 px-4 pt-3", children: [
|
|
3008
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-2", children: Array.from({ length: v.stars }).map((
|
|
3006
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-2", children: Array.from({ length: v.stars }).map((T, E) => /* @__PURE__ */ e.jsx(hi, { "aria-hidden": !0, className: "size-5 text-[#F06A16]" }, E)) }),
|
|
3009
3007
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-sm font-normal leading-5 text-gray-500", children: v.text })
|
|
3010
3008
|
] }),
|
|
3011
3009
|
b < l.length - 1 && /* @__PURE__ */ e.jsx("hr", { className: "mt-6 w-full border-t border-gray-200" })
|
|
3012
3010
|
] }, `${v.name}-${v.date}-${b}`)) }),
|
|
3013
|
-
!c && h.length > Gt &&
|
|
3011
|
+
!c && h.length > Gt && y && /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col items-center px-4 pt-5", children: /* @__PURE__ */ e.jsx(
|
|
3014
3012
|
"button",
|
|
3015
3013
|
{
|
|
3016
3014
|
type: "button",
|
|
@@ -3018,7 +3016,7 @@ function sn({
|
|
|
3018
3016
|
A(!0), u?.();
|
|
3019
3017
|
},
|
|
3020
3018
|
className: "flex h-10 w-full items-center justify-center rounded-lg border border-[#e6e4eb] bg-white text-base font-medium leading-[22px] text-[#1573df]",
|
|
3021
|
-
children:
|
|
3019
|
+
children: y
|
|
3022
3020
|
}
|
|
3023
3021
|
) })
|
|
3024
3022
|
] });
|
|
@@ -3052,63 +3050,63 @@ function Tn({
|
|
|
3052
3050
|
reviewMedia: n,
|
|
3053
3051
|
onDevoteesReviewsSeeMoreClick: r,
|
|
3054
3052
|
totalPrice: h,
|
|
3055
|
-
onPriceInfoClick:
|
|
3056
|
-
onProceedClick:
|
|
3053
|
+
onPriceInfoClick: f,
|
|
3054
|
+
onProceedClick: y,
|
|
3057
3055
|
skipPackageSelect: u,
|
|
3058
3056
|
onBack: c,
|
|
3059
3057
|
backButtonAriaLabel: A,
|
|
3060
3058
|
onLocaleChange: l,
|
|
3061
|
-
onProceedCtaClick:
|
|
3059
|
+
onProceedCtaClick: _,
|
|
3062
3060
|
onPackageSheetOpen: D,
|
|
3063
|
-
onPackageInteraction:
|
|
3061
|
+
onPackageInteraction: I,
|
|
3064
3062
|
onPackageSheetDismiss: $,
|
|
3065
3063
|
onAboutPujaDismiss: P,
|
|
3066
3064
|
onAboutPujaScroll: v,
|
|
3067
3065
|
onBillDetailsDismiss: b,
|
|
3068
|
-
onCardRef:
|
|
3069
|
-
packageSelectOptions:
|
|
3066
|
+
onCardRef: T,
|
|
3067
|
+
packageSelectOptions: E
|
|
3070
3068
|
}) {
|
|
3071
|
-
const { t: R, locale:
|
|
3069
|
+
const { t: R, locale: Q } = At(), { t: H } = Ve(), [re, C] = W(
|
|
3072
3070
|
() => Object.fromEntries(a.map((s) => [s.index, s.isAdded]))
|
|
3073
|
-
), [
|
|
3071
|
+
), [m, te] = W(i?.isAdded ?? !1), [X, ae] = W(null), [U, Z] = W(null), [M, he] = W(null), [p, _e] = W(
|
|
3074
3072
|
() => Object.fromEntries(
|
|
3075
|
-
a.filter((s) => s.ancestorPujaItems).map((s) => [s.index, s.ancestorPujaItems.map((
|
|
3073
|
+
a.filter((s) => s.ancestorPujaItems).map((s) => [s.index, s.ancestorPujaItems.map((B) => B.isActive)])
|
|
3076
3074
|
)
|
|
3077
|
-
), [xe, be] =
|
|
3078
|
-
|
|
3079
|
-
), [x,
|
|
3080
|
-
|
|
3081
|
-
),
|
|
3082
|
-
({ extraPrice: s, ...
|
|
3083
|
-
), Te =
|
|
3075
|
+
), [xe, be] = W(!1), [Ee, Ye] = W(
|
|
3076
|
+
E[0]?.id
|
|
3077
|
+
), [x, Y] = W(
|
|
3078
|
+
E[0]?.id
|
|
3079
|
+
), L = St(h), G = hn(h), Ae = E.find((s) => s.id === x), me = Ae?.extraPrice ?? 0, Pe = E.map(
|
|
3080
|
+
({ extraPrice: s, ...B }) => B
|
|
3081
|
+
), Te = E[0]?.extraPrice ?? 0, Ne = i ? St(i.price) : 0, pe = i ? St(i.originalPrice ?? i.price) - Ne : 0, ne = i ? {
|
|
3084
3082
|
...i,
|
|
3085
|
-
price: `${
|
|
3086
|
-
originalPrice: `${
|
|
3083
|
+
price: `${G}${Ne + Te}`,
|
|
3084
|
+
originalPrice: `${G}${Ne + Te + pe}`
|
|
3087
3085
|
} : void 0, tt = () => {
|
|
3088
|
-
Ye(x),
|
|
3089
|
-
}, Oe = (s) => s.ancestorPujaItems?.length ?
|
|
3090
|
-
const
|
|
3091
|
-
return
|
|
3086
|
+
Ye(x), y?.(x.toString()), be(!1);
|
|
3087
|
+
}, Oe = (s) => s.ancestorPujaItems?.length ? p[s.index] ?? s.ancestorPujaItems.map((B) => B.isActive) : null, Ce = (s) => {
|
|
3088
|
+
const B = Oe(s);
|
|
3089
|
+
return B ? B.some(Boolean) : re[s.index] ?? s.isAdded;
|
|
3092
3090
|
}, Ke = (s) => {
|
|
3093
|
-
const
|
|
3094
|
-
return
|
|
3091
|
+
const B = Oe(s);
|
|
3092
|
+
return B ? s.ancestorPujaItems.filter((fe, J) => !B[J]).map((fe) => fe.name) : [];
|
|
3095
3093
|
}, Re = a.filter(Ce), Be = a.filter(
|
|
3096
3094
|
(s) => !Ce(s) || Ke(s).length > 0
|
|
3097
|
-
), yt = Be.length > 0, N = a.find((s) => s.index ===
|
|
3095
|
+
), yt = Be.length > 0, N = a.find((s) => s.index === X) ?? null, $e = N?.ritualType != null && N.ritualType !== "ritual", we = a.find((s) => s.index === M) ?? null, We = we?.ancestorPujaItems?.map((s, B) => ({
|
|
3098
3096
|
...s,
|
|
3099
|
-
isActive:
|
|
3100
|
-
})), at = R("billDetailsFeeLabel"), qe = (s) => typeof s == "string" ? s : "", Qe = (s,
|
|
3097
|
+
isActive: p[we.index]?.[B] ?? s.isActive
|
|
3098
|
+
})), at = R("billDetailsFeeLabel"), qe = (s) => typeof s == "string" ? s : "", Qe = (s, B, fe, J) => ({
|
|
3101
3099
|
name: `${qe(s)} ${at}`,
|
|
3102
|
-
subtitle:
|
|
3103
|
-
quantityLabel:
|
|
3100
|
+
subtitle: B,
|
|
3101
|
+
quantityLabel: J?.quantityLabel,
|
|
3104
3102
|
lineTotal: `${qe(fe)}/-`
|
|
3105
3103
|
}), it = (s) => Qe(s.title, s.billSubtitle ?? s.locationLabel ?? "", s.price, {
|
|
3106
3104
|
quantityLabel: s.billQuantityLabel
|
|
3107
|
-
}), rt = Re.map(it), st =
|
|
3105
|
+
}), rt = Re.map(it), st = ne && m ? [Qe(ne.title, ne.description, ne.price)] : [], xt = [...rt, ...st], Ge = typeof U == "number" ? a.find((s) => s.index === U) ?? null : null, bt = Ge ? [it(Ge)] : xt, gt = Ge ? Ge.price : xe && Ae ? `${G}${(L + me).toFixed(1)}/-` : h, ot = `${Re.length} ${R(
|
|
3108
3106
|
Re.length === 1 ? "outcomeStickyCtaRitualSingular" : "outcomeStickyCtaRitualPlural"
|
|
3109
|
-
)}`, nt = (s,
|
|
3110
|
-
const fe = Ke(s),
|
|
3111
|
-
return /* @__PURE__ */ e.jsx("div", { ref:
|
|
3107
|
+
)}`, nt = (s, B = "added") => {
|
|
3108
|
+
const fe = Ke(s), J = Ce(s), De = B === "removed" && fe.length > 0 ? fe.join(" • ") : s.ancestorsLabel, He = B === "removed" ? s.removedAncestorsPrice ?? s.price : s.price;
|
|
3109
|
+
return /* @__PURE__ */ e.jsx("div", { ref: T ? (je) => T(s.index, je) : void 0, children: /* @__PURE__ */ e.jsx(
|
|
3112
3110
|
So,
|
|
3113
3111
|
{
|
|
3114
3112
|
...s,
|
|
@@ -3120,13 +3118,13 @@ function Tn({
|
|
|
3120
3118
|
priceInfoAriaLabel: R("outcomeStickyCtaPriceInfoAriaLabel"),
|
|
3121
3119
|
addLabel: R("outcomeAddLabel"),
|
|
3122
3120
|
addedLabel: R("outcomeAddedLabel"),
|
|
3123
|
-
isAdded:
|
|
3121
|
+
isAdded: B === "removed" ? !1 : J,
|
|
3124
3122
|
onCtaClick: () => {
|
|
3125
|
-
if (
|
|
3123
|
+
if (J && s.ancestorPujaItems && s.ancestorPujaItems.length > 0) {
|
|
3126
3124
|
he(s.index), s.onEditClick?.();
|
|
3127
3125
|
return;
|
|
3128
3126
|
}
|
|
3129
|
-
if (!
|
|
3127
|
+
if (!J && s.ancestorPujaItems?.length) {
|
|
3130
3128
|
const je = Oe(s) ?? s.ancestorPujaItems.map((Me) => Me.isActive);
|
|
3131
3129
|
s.ancestorPujaItems.forEach((Me, lt) => {
|
|
3132
3130
|
je[lt] || s.onAncestorToggle?.(Me.id, !0);
|
|
@@ -3136,13 +3134,13 @@ function Tn({
|
|
|
3136
3134
|
}));
|
|
3137
3135
|
return;
|
|
3138
3136
|
}
|
|
3139
|
-
|
|
3137
|
+
C((je) => ({
|
|
3140
3138
|
...je,
|
|
3141
3139
|
[s.index]: !je[s.index]
|
|
3142
3140
|
})), s.onCtaClick?.();
|
|
3143
3141
|
},
|
|
3144
3142
|
onLearnMoreClick: () => {
|
|
3145
|
-
|
|
3143
|
+
ae(s.index), s.onLearnMoreClick?.();
|
|
3146
3144
|
},
|
|
3147
3145
|
onEditClick: () => {
|
|
3148
3146
|
he(s.index), s.onEditClick?.();
|
|
@@ -3159,30 +3157,30 @@ function Tn({
|
|
|
3159
3157
|
{
|
|
3160
3158
|
onBackClick: c,
|
|
3161
3159
|
backButtonAriaLabel: A ?? R("landingTopBarBackButtonAriaLabel"),
|
|
3162
|
-
locale:
|
|
3160
|
+
locale: Q,
|
|
3163
3161
|
localeOptions: mn,
|
|
3164
3162
|
onLocaleChange: (s) => l?.(s),
|
|
3165
3163
|
className: Ue.topBar
|
|
3166
3164
|
}
|
|
3167
3165
|
),
|
|
3168
3166
|
/* @__PURE__ */ e.jsxs("section", { className: "relative flex w-full flex-col items-center gap-3 rounded-b-4xl border-b-2 border-[#FCCF9A] bg-linear-to-b from-white to-[#FFEFDB] px-5 py-4 z-20", children: [
|
|
3169
|
-
/* @__PURE__ */ e.jsx(Da, { badgeLabel:
|
|
3170
|
-
/* @__PURE__ */ e.jsx("p", { className: "px-4 text-center text-[18px] font-bold leading-6 text-[#22272b]", children:
|
|
3171
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children: ["pandits", "gotra", "video"].map((s,
|
|
3167
|
+
/* @__PURE__ */ e.jsx(Da, { badgeLabel: H("outcomeSummaryBadge"), className: "w-full" }),
|
|
3168
|
+
/* @__PURE__ */ e.jsx("p", { className: "px-4 text-center text-[18px] font-bold leading-6 text-[#22272b]", children: H("outcomeSummaryHeading") }),
|
|
3169
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children: ["pandits", "gotra", "video"].map((s, B) => /* @__PURE__ */ e.jsxs("div", { className: "flex w-25 flex-col items-center gap-1 py-2", children: [
|
|
3172
3170
|
/* @__PURE__ */ e.jsx(un, { variant: s }),
|
|
3173
|
-
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children:
|
|
3171
|
+
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children: H(`outcomeSummaryTrust${B + 1}`) })
|
|
3174
3172
|
] }, s)) })
|
|
3175
3173
|
] }),
|
|
3176
3174
|
/* @__PURE__ */ e.jsxs("div", { className: Ue.addedSection, children: [
|
|
3177
3175
|
Re.length === 0 && /* @__PURE__ */ e.jsx(La, {}),
|
|
3178
3176
|
Re.map((s) => nt(s)),
|
|
3179
|
-
|
|
3177
|
+
ne && /* @__PURE__ */ e.jsx(
|
|
3180
3178
|
Mo,
|
|
3181
3179
|
{
|
|
3182
|
-
...
|
|
3183
|
-
isAdded:
|
|
3180
|
+
...ne,
|
|
3181
|
+
isAdded: m,
|
|
3184
3182
|
onCtaClick: () => {
|
|
3185
|
-
|
|
3183
|
+
te((s) => !s), ne.onCtaClick?.();
|
|
3186
3184
|
}
|
|
3187
3185
|
}
|
|
3188
3186
|
)
|
|
@@ -3200,14 +3198,14 @@ function Tn({
|
|
|
3200
3198
|
totalPrice: h,
|
|
3201
3199
|
ritualCountLabel: ot,
|
|
3202
3200
|
onPriceInfoClick: () => {
|
|
3203
|
-
Z("cart"),
|
|
3201
|
+
Z("cart"), f?.();
|
|
3204
3202
|
},
|
|
3205
3203
|
onProceedClick: () => {
|
|
3206
|
-
if (
|
|
3204
|
+
if (_?.(), u) {
|
|
3207
3205
|
tt();
|
|
3208
3206
|
return;
|
|
3209
3207
|
}
|
|
3210
|
-
|
|
3208
|
+
Y(Ee), be(!0), D?.();
|
|
3211
3209
|
},
|
|
3212
3210
|
disabled: Re.length === 0
|
|
3213
3211
|
}
|
|
@@ -3215,9 +3213,9 @@ function Tn({
|
|
|
3215
3213
|
/* @__PURE__ */ e.jsx(
|
|
3216
3214
|
Jt,
|
|
3217
3215
|
{
|
|
3218
|
-
isOpen:
|
|
3216
|
+
isOpen: U != null,
|
|
3219
3217
|
onClose: () => {
|
|
3220
|
-
|
|
3218
|
+
U != null && b?.(U), Z(null);
|
|
3221
3219
|
},
|
|
3222
3220
|
closeButtonAriaLabel: R("billDetailsCloseAriaLabel"),
|
|
3223
3221
|
heading: R("billDetailsHeading"),
|
|
@@ -3231,7 +3229,7 @@ function Tn({
|
|
|
3231
3229
|
{
|
|
3232
3230
|
isOpen: !0,
|
|
3233
3231
|
onClose: () => {
|
|
3234
|
-
|
|
3232
|
+
X != null && P?.(X), ae(null);
|
|
3235
3233
|
},
|
|
3236
3234
|
imageUrl: N.imageUrl ?? "",
|
|
3237
3235
|
title: N.title,
|
|
@@ -3245,7 +3243,7 @@ function Tn({
|
|
|
3245
3243
|
{
|
|
3246
3244
|
isOpen: N != null && !$e,
|
|
3247
3245
|
onClose: () => {
|
|
3248
|
-
|
|
3246
|
+
X != null && P?.(X), ae(null);
|
|
3249
3247
|
},
|
|
3250
3248
|
closeButtonAriaLabel: R("billDetailsCloseAriaLabel"),
|
|
3251
3249
|
dragHandleAriaLabel: R("pujaDetailsDragHandleAriaLabel"),
|
|
@@ -3256,19 +3254,19 @@ function Tn({
|
|
|
3256
3254
|
size: "lg",
|
|
3257
3255
|
className: Ue.fullWidth,
|
|
3258
3256
|
onClick: () => {
|
|
3259
|
-
|
|
3257
|
+
X != null && P?.(X), ae(null);
|
|
3260
3258
|
},
|
|
3261
3259
|
children: R("pujaDetailsGotItLabel")
|
|
3262
3260
|
}
|
|
3263
3261
|
),
|
|
3264
|
-
onScroll: v &&
|
|
3262
|
+
onScroll: v && X != null ? (s) => v(X, s) : void 0,
|
|
3265
3263
|
children: [
|
|
3266
3264
|
N && /* @__PURE__ */ e.jsx(
|
|
3267
3265
|
Ma,
|
|
3268
3266
|
{
|
|
3269
3267
|
images: N.detailImages ?? (N.imageUrl ? [N.imageUrl] : []),
|
|
3270
3268
|
title: N.detailTitle ?? N.title,
|
|
3271
|
-
|
|
3269
|
+
useCase: N.pooja_usecase,
|
|
3272
3270
|
dateLabel: N.dateLabel ?? "",
|
|
3273
3271
|
locationLabel: N.locationLabel ?? ""
|
|
3274
3272
|
}
|
|
@@ -3276,10 +3274,10 @@ function Tn({
|
|
|
3276
3274
|
N && /* @__PURE__ */ e.jsx(
|
|
3277
3275
|
an,
|
|
3278
3276
|
{
|
|
3279
|
-
heading:
|
|
3277
|
+
heading: H("ritualAboutLink"),
|
|
3280
3278
|
description: N.detailDescription ?? N.description,
|
|
3281
|
-
readMoreLabel:
|
|
3282
|
-
readLessLabel:
|
|
3279
|
+
readMoreLabel: H("ritualReadMore"),
|
|
3280
|
+
readLessLabel: H("ritualReadLess")
|
|
3283
3281
|
}
|
|
3284
3282
|
),
|
|
3285
3283
|
N?.detailBenefits && /* @__PURE__ */ e.jsx(Fa, { heading: R("pujaBenefitsHeading"), benefits: N.detailBenefits }),
|
|
@@ -3289,8 +3287,8 @@ function Tn({
|
|
|
3289
3287
|
{
|
|
3290
3288
|
heading: R("devoteesReviewsHeading"),
|
|
3291
3289
|
subtitle: R("devoteesReviewsSubtitle"),
|
|
3292
|
-
mediaHeading:
|
|
3293
|
-
mediaSubtitle:
|
|
3290
|
+
mediaHeading: H("pujaVideoTestimonialsHeading"),
|
|
3291
|
+
mediaSubtitle: H("pujaVideoTestimonialsSubtitle"),
|
|
3294
3292
|
reviews: N.devoteesReviews,
|
|
3295
3293
|
reviewMedia: n,
|
|
3296
3294
|
seeMoreLabel: R("devoteesReviewsSeeMoreLabel"),
|
|
@@ -3305,24 +3303,24 @@ function Tn({
|
|
|
3305
3303
|
{
|
|
3306
3304
|
isOpen: !0,
|
|
3307
3305
|
onClose: () => he(null),
|
|
3308
|
-
question:
|
|
3306
|
+
question: H("ancestorEditQuestion"),
|
|
3309
3307
|
ancestors: We,
|
|
3310
3308
|
onToggle: (s) => {
|
|
3311
|
-
_e((
|
|
3312
|
-
const
|
|
3313
|
-
|
|
3309
|
+
_e((B) => {
|
|
3310
|
+
const J = [...B[we.index] ?? We.map((He) => He.isActive)];
|
|
3311
|
+
J[s] = !J[s];
|
|
3314
3312
|
const De = We[s]?.id;
|
|
3315
|
-
return De && we.onAncestorToggle?.(De,
|
|
3313
|
+
return De && we.onAncestorToggle?.(De, J[s]), { ...B, [we.index]: J };
|
|
3316
3314
|
});
|
|
3317
3315
|
},
|
|
3318
|
-
confirmLabel:
|
|
3316
|
+
confirmLabel: H("ancestorEditConfirmLabel"),
|
|
3319
3317
|
onConfirmClick: () => he(null),
|
|
3320
3318
|
addAgainLabel: R("ancestorEditAddAgainLabel"),
|
|
3321
3319
|
removeLabel: R("ancestorEditRemoveLabel"),
|
|
3322
|
-
removeWarningMessagePrefix:
|
|
3323
|
-
removeWarningMessageSuffix:
|
|
3324
|
-
removeWarningConfirmLabel:
|
|
3325
|
-
removeWarningCancelLabel:
|
|
3320
|
+
removeWarningMessagePrefix: H("ancestorRemoveWarningPrefix"),
|
|
3321
|
+
removeWarningMessageSuffix: H("ancestorRemoveWarningSuffix"),
|
|
3322
|
+
removeWarningConfirmLabel: H("ancestorRemoveWarningConfirmLabel"),
|
|
3323
|
+
removeWarningCancelLabel: H("ancestorRemoveWarningCancelLabel")
|
|
3326
3324
|
}
|
|
3327
3325
|
),
|
|
3328
3326
|
xe && /* @__PURE__ */ e.jsx(
|
|
@@ -3332,14 +3330,14 @@ function Tn({
|
|
|
3332
3330
|
onClose: () => {
|
|
3333
3331
|
be(!1), $?.();
|
|
3334
3332
|
},
|
|
3335
|
-
ariaLabel: Ua(
|
|
3333
|
+
ariaLabel: Ua(Q).title,
|
|
3336
3334
|
showDragHandle: !0,
|
|
3337
3335
|
showCloseButton: !1,
|
|
3338
3336
|
footer: /* @__PURE__ */ e.jsx(
|
|
3339
3337
|
za,
|
|
3340
3338
|
{
|
|
3341
|
-
locale:
|
|
3342
|
-
amount: `${
|
|
3339
|
+
locale: Q,
|
|
3340
|
+
amount: `${G}${(L + me).toFixed(1)}/-`,
|
|
3343
3341
|
subtitle: ot,
|
|
3344
3342
|
onProceed: tt,
|
|
3345
3343
|
onInfoClick: () => Z("cart")
|
|
@@ -3348,11 +3346,11 @@ function Tn({
|
|
|
3348
3346
|
children: /* @__PURE__ */ e.jsx(
|
|
3349
3347
|
Ga,
|
|
3350
3348
|
{
|
|
3351
|
-
locale:
|
|
3349
|
+
locale: Q,
|
|
3352
3350
|
options: Pe,
|
|
3353
3351
|
value: x,
|
|
3354
3352
|
onChange: (s) => {
|
|
3355
|
-
|
|
3353
|
+
Y(s), I?.(s.toString());
|
|
3356
3354
|
}
|
|
3357
3355
|
}
|
|
3358
3356
|
)
|