@mxenabled/mxui 1.6.0-alpha.5 → 2.0.0-alpha.1

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.
Files changed (28) hide show
  1. package/dist/components/icon/Icon.d.ts +1 -9
  2. package/dist/components/icon/icons/index.d.ts +0 -13
  3. package/dist/components/icon/index.d.ts +1 -1
  4. package/dist/components/selectionbox/SelectionBox.d.ts +3 -1
  5. package/dist/index.d.ts +0 -1
  6. package/dist/index.es.js +564 -917
  7. package/dist/index.es.js.map +1 -1
  8. package/dist/themes/Augmentations.d.ts +2 -43
  9. package/dist/themes/Palette.d.ts +0 -21
  10. package/dist/themes/Typography.d.ts +55 -31
  11. package/package.json +36 -42
  12. package/dist/components/icon/icons/AccountsFilledIcon.d.ts +0 -3
  13. package/dist/components/icon/icons/AccountsIcon.d.ts +0 -3
  14. package/dist/components/icon/icons/ArrowLeftIcon.d.ts +0 -3
  15. package/dist/components/icon/icons/AttentionFilledIcon.d.ts +0 -3
  16. package/dist/components/icon/icons/CalendarIcon.d.ts +0 -3
  17. package/dist/components/icon/icons/CheckmarkFilledIcon.d.ts +0 -3
  18. package/dist/components/icon/icons/ChevronDownIcon.d.ts +0 -3
  19. package/dist/components/icon/icons/ChevronLeftIcon.d.ts +0 -3
  20. package/dist/components/icon/icons/ChevronRightIcon.d.ts +0 -3
  21. package/dist/components/icon/icons/CloseIcon.d.ts +0 -3
  22. package/dist/components/icon/icons/EditIcon.d.ts +0 -3
  23. package/dist/components/icon/icons/FilterIcon.d.ts +0 -3
  24. package/dist/components/icon/icons/HeartIcon.d.ts +0 -3
  25. package/dist/components/tokenprovider/Constants.d.ts +0 -9
  26. package/dist/components/tokenprovider/Hooks.d.ts +0 -1
  27. package/dist/components/tokenprovider/TokenProvider.d.ts +0 -11
  28. package/dist/components/tokenprovider/index.d.ts +0 -3
package/dist/index.es.js CHANGED
@@ -1,196 +1,55 @@
1
- import { jsx as a, jsxs as x } from "react/jsx-runtime";
2
- import C from "react";
3
- import F from "@mui/material/Stack";
4
- import { useTheme as H, createTheme as j } from "@mui/material/styles";
5
- import { Icon as de, Close as ue } from "@mxenabled/mx-icons";
6
- import { endOfMonth as U } from "date-fns/endOfMonth";
7
- import { endOfYear as pe } from "date-fns/endOfYear";
8
- import { startOfToday as he } from "date-fns/startOfToday";
9
- import { startOfMonth as W } from "date-fns/startOfMonth";
10
- import { startOfYear as Z } from "date-fns/startOfYear";
11
- import { subDays as Y } from "date-fns/subDays";
12
- import { subMonths as ge } from "date-fns/subMonths";
13
- import { subYears as fe } from "date-fns/subYears";
14
- import me from "@mui/material/useMediaQuery";
15
- import { LocalizationProvider as be, StaticDateRangePicker as Te } from "@mui/x-date-pickers-pro";
16
- import { AdapterDateFns as Ce } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
17
- import Q from "@mui/material/Box";
18
- import xe from "@mui/material/ToggleButton";
19
- import Re from "@mui/material/ToggleButtonGroup";
20
- import J from "@mui/material/Slide";
21
- import B from "@mui/material/Button";
22
- import q from "@mui/material/IconButton";
23
- import Me from "@mui/material/Typography";
24
- import Ae from "@mui/material/Drawer";
25
- import Ee from "@mui/material/TextField";
26
- import Se from "@mui/material/Snackbar";
27
- import Ie from "@mui/material/Alert";
28
- import { light as ee, buildTheme as z, dark as ve } from "@mxenabled/design-tokens";
29
- import { Paper as He, Box as X, Typography as K, Radio as D, Checkbox as ye, alpha as b, darken as N, lighten as y, getContrastRatio as Oe } from "@mui/material";
30
- import { circularProgressClasses as Fe } from "@mui/material/CircularProgress";
31
- import { LicenseInfo as ke } from "@mui/x-license-pro";
32
- const f = ({
1
+ import { jsx as a, jsxs as T } from "react/jsx-runtime";
2
+ import L from "react";
3
+ import E from "@mui/material/Stack";
4
+ import { useTheme as O, createTheme as Y } from "@mui/material/styles";
5
+ import { Icon as re, Close as te } from "@mxenabled/mx-icons";
6
+ import { endOfMonth as $ } from "date-fns/endOfMonth";
7
+ import { endOfYear as ie } from "date-fns/endOfYear";
8
+ import { startOfToday as ae } from "date-fns/startOfToday";
9
+ import { startOfMonth as U } from "date-fns/startOfMonth";
10
+ import { startOfYear as G } from "date-fns/startOfYear";
11
+ import { subDays as W } from "date-fns/subDays";
12
+ import { subMonths as ne } from "date-fns/subMonths";
13
+ import { subYears as le } from "date-fns/subYears";
14
+ import se from "@mui/material/useMediaQuery";
15
+ import { LocalizationProvider as ce, StaticDateRangePicker as de } from "@mui/x-date-pickers-pro";
16
+ import { AdapterDateFns as pe } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
17
+ import K from "@mui/material/Box";
18
+ import ue from "@mui/material/ToggleButton";
19
+ import he from "@mui/material/ToggleButtonGroup";
20
+ import j from "@mui/material/Slide";
21
+ import P from "@mui/material/Button";
22
+ import X from "@mui/material/IconButton";
23
+ import ge from "@mui/material/Typography";
24
+ import fe from "@mui/material/Drawer";
25
+ import me from "@mui/material/TextField";
26
+ import be from "@mui/material/Snackbar";
27
+ import Te from "@mui/material/Alert";
28
+ import { FormControlLabel as xe, Box as B, Typography as V, Radio as _, Checkbox as Re, alpha as m, darken as N, lighten as I, getContrastRatio as Me } from "@mui/material";
29
+ import { circularProgressClasses as Se } from "@mui/material/CircularProgress";
30
+ import { LicenseInfo as Ce } from "@mui/x-license-pro";
31
+ const D = ({
33
32
  children: e,
34
- height: o,
35
- size: i = 16,
33
+ height: i,
34
+ size: r = 16,
36
35
  viewBox: n = "0 0 16 16",
37
- width: r
36
+ width: o
38
37
  }) => /* @__PURE__ */ a(
39
38
  "svg",
40
39
  {
41
40
  "aria-hidden": !0,
42
41
  className: "mx-kmui-icon",
43
42
  focusable: !1,
44
- height: o || i,
43
+ height: i || r,
45
44
  viewBox: n,
46
- width: r || i,
45
+ width: o || r,
47
46
  xmlns: "http://www.w3.org/2000/svg",
48
47
  children: e
49
48
  }
50
- );
51
- var Le = /* @__PURE__ */ ((e) => (e[e.Lighter = 100] = "Lighter", e[e.Light = 200] = "Light", e[e.Normal = 300] = "Normal", e[e.Dark = 400] = "Dark", e[e.Darker = 500] = "Darker", e))(Le || {});
52
- const M = ({
53
- color: e,
54
- fill: o = !1,
55
- name: i,
56
- size: n = 20,
57
- sx: r,
58
- weight: d = 300,
59
- ...c
60
- }) => /* @__PURE__ */ a(
61
- de,
62
- {
63
- color: e,
64
- fill: o,
65
- name: i,
66
- size: n,
67
- sx: r,
68
- weight: d,
69
- ...c
70
- }
71
- ), S0 = ({
72
- color: e = "currentColor",
73
- ...o
74
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
75
- "path",
76
- {
77
- d: "M2.24801 6.76647H0.573286C0.327604 6.76647 0.110586 6.60678 0.0327867 6.37748C-0.0450124 6.14408 0.0327866 5.88612 0.229332 5.73871L7.6571 0.116699C7.85774 -0.0388996 8.14027 -0.0388996 8.34501 0.116699L15.7728 5.73871C15.9693 5.89021 16.0471 6.14408 15.9693 6.37748C15.8915 6.61088 15.6745 6.76647 15.4288 6.76647H13.7582V12.323H14.3929C14.7122 12.323 14.9661 12.5809 14.9661 12.8962C14.9661 13.2156 14.7082 13.4695 14.3929 13.4695H1.60924C1.28986 13.4695 1.03599 13.2115 1.03599 12.8962C1.03599 12.5768 1.29395 12.323 1.60924 12.323H2.24801V6.76647ZM5.70393 6.76647H3.39043V12.323H5.70393V6.76647ZM9.15985 12.323V6.76647H6.84635V12.323H9.15985ZM10.3023 12.3189H12.6158V6.76647H10.3023V12.3189ZM0.573256 14.8535H15.4288C15.7441 14.8535 15.998 15.1115 15.998 15.4267C15.998 15.7461 15.74 16 15.4247 16H0.573256C0.253871 16 0 15.742 0 15.4267C0 15.1074 0.257965 14.8535 0.573256 14.8535Z",
78
- fill: e
79
- }
80
- ) })), I0 = ({
81
- color: e = "currentColor",
82
- ...o
83
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
84
- "path",
85
- {
86
- d: "M15.429 14.854H.573a.572.572 0 100 1.146h14.852a.572.572 0 00.004-1.146zM.573 6.766h1.675v5.557h-.639a.572.572 0 100 1.146h12.784a.572.572 0 100-1.146h-.635V6.766h1.67a.568.568 0 00.541-.389.574.574 0 00-.196-.638L8.345.117a.565.565 0 00-.688 0L.23 5.739a.572.572 0 00.344 1.027zm2.817 0h2.314v5.557H3.39V6.766zm5.77 0v5.557H6.846V6.766H9.16zm3.456 5.553h-2.314V6.766h2.314v5.553zM8 1.288l5.724 4.336H2.277L8 1.288z",
87
- fill: e
88
- }
89
- ) })), v0 = ({
90
- color: e = "currentColor",
91
- ...o
92
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
93
- "path",
94
- {
95
- d: "M5.854 3.133a.426.426 0 010 .643L1.757 7.5h13.774c.26 0 .469.224.469.5s-.21.5-.469.5H1.757l4.097 3.724a.426.426 0 010 .643.536.536 0 01-.708 0l-5-4.546a.426.426 0 010-.642l5-4.546a.536.536 0 01.708 0z",
96
- fill: e
97
- }
98
- ) })), H0 = ({
99
- color: e = "currentColor",
100
- ...o
101
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
102
- "path",
103
- {
104
- clipRule: "evenodd",
105
- d: "M8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8zm0 11a1 1 0 100 2 1 1 0 000-2zm.02-8c-.398 0-.72.364-.72.813v4.874c0 .45.322.813.72.813.398 0 .72-.364.72-.813V3.814c0-.45-.322-.813-.72-.813z",
106
- fill: e,
107
- fillRule: "evenodd"
108
- }
109
- ) })), y0 = ({
110
- color: e = "currentColor",
111
- ...o
112
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
113
- "path",
114
- {
115
- d: "M11.5 0a.5.5 0 01.5.5V2h2.5A1.5 1.5 0 0116 3.5v11a1.5 1.5 0 01-1.5 1.5h-13A1.5 1.5 0 010 14.5v-11A1.5 1.5 0 011.5 2H4V.5a.5.5 0 011 0V2h6V.5a.5.5 0 01.5-.5zM15 6H1v8.5a.5.5 0 00.5.5h13a.5.5 0 00.5-.5V6zm-4.5 1a.5.5 0 01.5.5V10h2.5a.5.5 0 010 1H11v2.5a.5.5 0 01-1 0V11H6v2.5a.5.5 0 01-1 0V11H2.5a.5.5 0 010-1H5V7.5a.5.5 0 011 0V10h4V7.5a.5.5 0 01.5-.5zm4-4h-13a.5.5 0 00-.5.5V5h14V3.5a.5.5 0 00-.5-.5z",
116
- fill: e
117
- }
118
- ) })), O0 = ({
49
+ ), R = ({ color: e, fill: i = !1, name: r, size: n = 20, sx: o, ...s }) => /* @__PURE__ */ a(re, { color: e, fill: i, name: r, size: n, sx: o, ...s }), fo = ({
119
50
  color: e = "currentColor",
120
- ...o
121
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
122
- "path",
123
- {
124
- d: "M8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8zm4.358 5.151a.5.5 0 00-.707-.01L6.858 9.803 4.35 7.363a.5.5 0 10-.698.718l2.858 2.777a.5.5 0 00.697 0l5.142-5a.5.5 0 00.01-.707z",
125
- fill: e
126
- }
127
- ) })), F0 = ({
128
- color: e = "currentColor",
129
- ...o
130
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
131
- "path",
132
- {
133
- d: "M2.68 5.201a.6.6 0 01.848-.011L8 9.543l4.472-4.353a.6.6 0 11.837.86l-4.89 4.76a.6.6 0 01-.838 0l-4.89-4.76a.6.6 0 01-.012-.849z",
134
- fill: e
135
- }
136
- ) })), k0 = ({
137
- color: e = "currentColor",
138
- ...o
139
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
140
- "path",
141
- {
142
- d: "M10.799 2.68a.6.6 0 01.011.848L6.457 8l4.353 4.472a.6.6 0 01-.86.837L5.19 8.42a.6.6 0 010-.838l4.76-4.89a.6.6 0 01.849-.012z",
143
- fill: e
144
- }
145
- ) })), L0 = ({
146
- color: e = "currentColor",
147
- ...o
148
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
149
- "path",
150
- {
151
- d: "M5.207 13.32a.6.6 0 01-.012-.848L9.55 8 5.195 3.528a.6.6 0 11.86-.837l4.76 4.89a.6.6 0 010 .838l-4.76 4.89a.6.6 0 01-.848.012z",
152
- fill: e
153
- }
154
- ) })), D0 = ({
155
- color: e = "currentColor",
156
- ...o
157
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
158
- "path",
159
- {
160
- d: "M13.79 2.21a.72.72 0 0 1 0 1.02L9.018 8l4.77 4.77a.72.72 0 1 1-1.018 1.02L8 9.018l-4.77 4.77a.72.72 0 1 1-1.02-1.018L6.982 8l-4.77-4.77A.72.72 0 0 1 3.23 2.21L8 6.982l4.77-4.77a.72.72 0 0 1 1.02 0Z",
161
- fill: e
162
- }
163
- ) })), N0 = ({
164
- color: e = "currentColor",
165
- ...o
166
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
167
- "path",
168
- {
169
- d: "M12.644.156l3.2 3.2a.533.533 0 010 .754L5.177 14.777a.534.534 0 01-.247.14L.663 15.984a.533.533 0 01-.647-.647l1.067-4.267a.534.534 0 01.14-.248L11.89.156a.533.533 0 01.754 0zM10.133 3.42l-8.051 8.052-.815 3.261 3.26-.815 8.052-8.052-2.446-2.446zm2.134-2.132l-1.38 1.378 2.446 2.446 1.38-1.379-2.446-2.445z",
170
- fill: e
171
- }
172
- ) })), w0 = ({
173
- color: e = "currentColor",
174
- ...o
175
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
176
- "path",
177
- {
178
- d: "M1.5 1.933l5.4 6.72c.066.081.1.18.1.28v5.134h2V8.933c0-.1.036-.199.1-.28l5.4-6.72h-13zM6 9.09L.1 1.747C-.145 1.439.09 1 .5 1h15c.413 0 .648.439.4.747L10 9.089v5.444c0 .258-.223.467-.5.467h-3c-.275 0-.5-.209-.5-.467V9.09z",
179
- fill: e
180
- }
181
- ) })), P0 = ({
182
- color: e = "currentColor",
183
- ...o
184
- }) => (console.warn('<HeartIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
185
- "path",
186
- {
187
- d: "M1.317 2.317a4.5 4.5 0 016.364 0c.117.117.223.238.32.363.095-.124.2-.245.316-.362a4.5 4.5 0 016.364 6.364l-.004.004-6.328 6.172a.5.5 0 01-.698 0L1.317 8.682a4.5 4.5 0 010-6.365zm5.657.708a3.5 3.5 0 00-4.952 4.947L8 13.802l5.977-5.83a3.5 3.5 0 00-4.952-4.947c-.235.235-.42.51-.586.815a.5.5 0 01-.878 0 3.46 3.46 0 00-.587-.815z",
188
- fill: e
189
- }
190
- ) })), _0 = ({
191
- color: e = "currentColor",
192
- ...o
193
- }) => /* @__PURE__ */ x(f, { ...o, children: [
51
+ ...i
52
+ }) => /* @__PURE__ */ T(D, { ...i, children: [
194
53
  /* @__PURE__ */ a(
195
54
  "path",
196
55
  {
@@ -205,10 +64,10 @@ const M = ({
205
64
  fill: e
206
65
  }
207
66
  )
208
- ] }), B0 = ({
67
+ ] }), mo = ({
209
68
  color: e = "currentColor",
210
- ...o
211
- }) => /* @__PURE__ */ x(f, { ...o, children: [
69
+ ...i
70
+ }) => /* @__PURE__ */ T(D, { ...i, children: [
212
71
  /* @__PURE__ */ a(
213
72
  "path",
214
73
  {
@@ -241,10 +100,10 @@ const M = ({
241
100
  fillRule: "evenodd"
242
101
  }
243
102
  )
244
- ] }), z0 = ({
103
+ ] }), bo = ({
245
104
  color: e = "currentColor",
246
- ...o
247
- }) => /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
105
+ ...i
106
+ }) => /* @__PURE__ */ a(D, { ...i, children: /* @__PURE__ */ a(
248
107
  "path",
249
108
  {
250
109
  clipRule: "evenodd",
@@ -252,10 +111,10 @@ const M = ({
252
111
  fill: e,
253
112
  fillRule: "evenodd"
254
113
  }
255
- ) }), V0 = ({
114
+ ) }), To = ({
256
115
  color: e = "currentColor",
257
- ...o
258
- }) => /* @__PURE__ */ x(f, { ...o, children: [
116
+ ...i
117
+ }) => /* @__PURE__ */ T(D, { ...i, children: [
259
118
  /* @__PURE__ */ a(
260
119
  "path",
261
120
  {
@@ -280,12 +139,12 @@ const M = ({
280
139
  }
281
140
  )
282
141
  ] });
283
- var g = /* @__PURE__ */ ((e) => (e.AutoTransport = "CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874", e.BillsUtilities = "CAT-79b02f2f-2adc-88f0-ac2b-4e71ead9cfc8", e.BusinessServices = "CAT-94b11142-e97b-941a-f67f-6e18d246a23f", e.Education = "CAT-bf5c9cca-c96b-b50d-440d-38d9adfda5b0", e.Entertainment = "CAT-e04e9d1e-e041-c315-2e50-094143ab3f73", e.FeesCharges = "CAT-d73ee74b-13a4-ac3e-4015-fc4ba9a62b2a", e.Financial = "CAT-6c7de3f8-de6c-7061-1dd2-b093044014bf", e.FoodDining = "CAT-bd56d35a-a9a7-6e10-66c1-5b9cc1b6c81a", e.GiftsDonations = "CAT-8edf9663-623e-4735-490e-31288f0a70b0", e.HealthFitness = "CAT-52fa4693-c088-afb2-2a99-7bc39bb23a0f", e.Home = "CAT-b709172b-4eb7-318e-3b5d-e0f0500b32ac", e.Income = "CAT-bf9f3294-4c40-1677-d269-54fbc189faf3", e.Investments = "CAT-ccd42390-9e8c-3fb6-a5d9-6c31182d9c5c", e.Kids = "CAT-0cb1d99d-f558-99e3-2282-b31f359b411a", e.PersonalCare = "CAT-e5154228-fe45-790d-a280-f6bf5ae5ac9f", e.Pets = "CAT-7cccbafa-87d7-c9a6-661b-8b3402fe9e78", e.Shopping = "CAT-aad51b46-d6f7-3da5-fd6e-492328b3023f", e.Taxes = "CAT-d00fc539-aa14-009b-4ffb-7e8c7b839954", e.Transfer = "CAT-bce48142-fea4-ff45-20d9-0a642d44de83", e.Travel = "CAT-ea23d844-cbd1-eb10-f6ac-0df9610e59ae", e.Uncategorized = "CAT-d7851c65-3353-e490-1953-fb9235e681e4", e))(g || {}), De = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(De || {});
284
- const oe = {
142
+ var g = /* @__PURE__ */ ((e) => (e.AutoTransport = "CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874", e.BillsUtilities = "CAT-79b02f2f-2adc-88f0-ac2b-4e71ead9cfc8", e.BusinessServices = "CAT-94b11142-e97b-941a-f67f-6e18d246a23f", e.Education = "CAT-bf5c9cca-c96b-b50d-440d-38d9adfda5b0", e.Entertainment = "CAT-e04e9d1e-e041-c315-2e50-094143ab3f73", e.FeesCharges = "CAT-d73ee74b-13a4-ac3e-4015-fc4ba9a62b2a", e.Financial = "CAT-6c7de3f8-de6c-7061-1dd2-b093044014bf", e.FoodDining = "CAT-bd56d35a-a9a7-6e10-66c1-5b9cc1b6c81a", e.GiftsDonations = "CAT-8edf9663-623e-4735-490e-31288f0a70b0", e.HealthFitness = "CAT-52fa4693-c088-afb2-2a99-7bc39bb23a0f", e.Home = "CAT-b709172b-4eb7-318e-3b5d-e0f0500b32ac", e.Income = "CAT-bf9f3294-4c40-1677-d269-54fbc189faf3", e.Investments = "CAT-ccd42390-9e8c-3fb6-a5d9-6c31182d9c5c", e.Kids = "CAT-0cb1d99d-f558-99e3-2282-b31f359b411a", e.PersonalCare = "CAT-e5154228-fe45-790d-a280-f6bf5ae5ac9f", e.Pets = "CAT-7cccbafa-87d7-c9a6-661b-8b3402fe9e78", e.Shopping = "CAT-aad51b46-d6f7-3da5-fd6e-492328b3023f", e.Taxes = "CAT-d00fc539-aa14-009b-4ffb-7e8c7b839954", e.Transfer = "CAT-bce48142-fea4-ff45-20d9-0a642d44de83", e.Travel = "CAT-ea23d844-cbd1-eb10-f6ac-0df9610e59ae", e.Uncategorized = "CAT-d7851c65-3353-e490-1953-fb9235e681e4", e))(g || {}), Ae = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(Ae || {});
143
+ const Z = {
285
144
  guid: g.Uncategorized,
286
145
  colorName: "uncategorized",
287
146
  icon: "category"
288
- }, Ne = [
147
+ }, ye = [
289
148
  {
290
149
  guid: g.AutoTransport,
291
150
  colorName: "autoTransport",
@@ -386,58 +245,58 @@ const oe = {
386
245
  colorName: "travel",
387
246
  icon: "airplane_ticket"
388
247
  },
389
- oe
390
- ], we = 0.625, Pe = ({
248
+ Z
249
+ ], Oe = 0.625, Ie = ({
391
250
  categoryGuid: e,
392
- icon_ratio: o = we,
393
- size: i = 32,
251
+ icon_ratio: i = Oe,
252
+ size: r = 32,
394
253
  sx: n = {},
395
- variant: r = "filled"
254
+ variant: o = "filled"
396
255
  }) => {
397
- const d = H(), c = C.useMemo(
398
- () => Ne.find((u) => u.guid === e) ?? oe,
256
+ const s = O(), l = L.useMemo(
257
+ () => ye.find((p) => p.guid === e) ?? Z,
399
258
  [e]
400
- ), l = d.palette.categories[c.colorName];
259
+ ), d = s.palette.categories[l.colorName];
401
260
  return /* @__PURE__ */ a(
402
- F,
261
+ E,
403
262
  {
404
263
  alignItems: "center",
405
264
  bgcolor: () => {
406
- let u = l;
407
- return r === "twotone" && (u = `${u}20`), r === "transparent" || r === "basic" ? "transparent" : u;
265
+ let p = d;
266
+ return o === "twotone" && (p = `${p}20`), o === "transparent" || o === "basic" ? "transparent" : p;
408
267
  },
409
268
  borderRadius: 1,
410
269
  color: () => {
411
- const u = r === "filled" ? d.palette.common.white : l;
412
- return r === "basic" ? d.palette.text.primary : u;
270
+ const p = o === "filled" ? s.palette.common.white : d;
271
+ return o === "basic" ? s.palette.text.primary : p;
413
272
  },
414
- height: i,
273
+ height: r,
415
274
  justifyContent: "center",
416
275
  sx: [...Array.isArray(n) ? n : [n]],
417
- width: i,
418
- children: /* @__PURE__ */ a(M, { name: c.icon, size: i * o })
276
+ width: r,
277
+ children: /* @__PURE__ */ a(R, { name: l.icon, size: r * i })
419
278
  }
420
279
  );
421
- }, _e = ({
280
+ }, Ee = ({
422
281
  items: e,
423
- onChange: o,
424
- isValid: i,
282
+ onChange: i,
283
+ isValid: r,
425
284
  selected: n
426
285
  }) => {
427
- const r = H(), d = e?.map((c) => {
428
- const l = c.getValue({ isValid: i });
286
+ const o = O(), s = e?.map((l) => {
287
+ const d = l.getValue({ isValid: r });
429
288
  return {
430
- label: c.label,
289
+ label: l.label,
431
290
  onClick: () => {
432
- o(l, "accept", c);
291
+ i(d, "accept", l);
433
292
  },
434
- disabled: !i(l)
293
+ disabled: !r(d)
435
294
  };
436
295
  });
437
- return /* @__PURE__ */ a(Q, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(Re, { color: "primary", orientation: "vertical", value: n, children: d?.map((c) => /* @__PURE__ */ a(
438
- xe,
296
+ return /* @__PURE__ */ a(K, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(he, { color: "primary", orientation: "vertical", value: n, children: s?.map((l) => /* @__PURE__ */ a(
297
+ ue,
439
298
  {
440
- onClick: c.onClick,
299
+ onClick: l.onClick,
441
300
  sx: {
442
301
  borderWidth: 1,
443
302
  color: "secondary.main",
@@ -448,65 +307,65 @@ const oe = {
448
307
  boxShadow: "0px 0px 0px 2px rgba(82, 138, 224, 0.8)"
449
308
  },
450
309
  "&:hover": {
451
- bgcolor: r.palette.action.hover,
452
- borderTop: `1px solid ${r.palette.secondary.light}`
310
+ bgcolor: o.palette.action.hover,
311
+ borderTop: `1px solid ${o.palette.secondary.light}`
453
312
  },
454
313
  "&.Mui-selected": {
455
- border: `2px solid ${r.palette.primary.main} !important`,
314
+ border: `2px solid ${o.palette.primary.main} !important`,
456
315
  marginTop: "-2px !important",
457
316
  color: "primary"
458
317
  }
459
318
  },
460
- value: c.label,
461
- children: c.label
319
+ value: l.label,
320
+ children: l.label
462
321
  },
463
- c.label
322
+ l.label
464
323
  )) }) });
465
- }, G0 = ({
324
+ }, xo = ({
466
325
  copy: e,
467
- dateRange: o,
468
- onRangeChanged: i,
326
+ dateRange: i,
327
+ onRangeChanged: r,
469
328
  selectedShortcut: n = e.dateRangeThisMonth,
470
- sx: r = {}
329
+ sx: o = {}
471
330
  }) => {
472
- const d = H(), c = me(d.breakpoints.down("sm")), l = C.useMemo(() => {
473
- const t = he(), u = ge(t, 1), T = fe(t, 1);
331
+ const s = O(), l = se(s.breakpoints.down("sm")), d = L.useMemo(() => {
332
+ const t = ae(), p = ne(t, 1), b = le(t, 1);
474
333
  return [
475
334
  {
476
335
  label: e.dateRangeThisMonth,
477
- getValue: () => [W(t), U(t)]
336
+ getValue: () => [U(t), $(t)]
478
337
  },
479
338
  {
480
339
  label: e.dateRangeLastMonth,
481
- getValue: () => [W(u), U(u)]
340
+ getValue: () => [U(p), $(p)]
482
341
  },
483
342
  {
484
343
  label: e.dateRangeLast30Days,
485
- getValue: () => [Y(t, 30), t]
344
+ getValue: () => [W(t, 30), t]
486
345
  },
487
346
  {
488
347
  label: e.dateRangeLast90Days,
489
- getValue: () => [Y(t, 90), t]
348
+ getValue: () => [W(t, 90), t]
490
349
  },
491
350
  {
492
351
  label: e.dateRangeYTD,
493
- getValue: () => [Z(t), t]
352
+ getValue: () => [G(t), t]
494
353
  },
495
354
  {
496
355
  label: e.dateRangeLastYear,
497
- getValue: () => [Z(T), pe(T)]
356
+ getValue: () => [G(b), ie(b)]
498
357
  },
499
358
  {
500
359
  label: e.dateRangeCustom,
501
360
  getValue: () => [t, t]
502
361
  }
503
362
  ];
504
- }, [e]), s = (t, u) => {
505
- const T = u.shortcut;
506
- i?.(t, T ? T.label : e.dateRangeCustom);
363
+ }, [e]), c = (t, p) => {
364
+ const b = p.shortcut;
365
+ r?.(t, b ? b.label : e.dateRangeCustom);
507
366
  };
508
- return /* @__PURE__ */ a(F, { gap: 16, m: 8, children: /* @__PURE__ */ a(be, { dateAdapter: Ce, children: /* @__PURE__ */ a(
509
- Te,
367
+ return /* @__PURE__ */ a(E, { gap: 16, m: 8, children: /* @__PURE__ */ a(ce, { dateAdapter: pe, children: /* @__PURE__ */ a(
368
+ de,
510
369
  {
511
370
  calendars: 1,
512
371
  localeText: {
@@ -514,39 +373,39 @@ const oe = {
514
373
  end: e.dateRangeTo,
515
374
  toolbarTitle: e.dateRangeToolbarTitle
516
375
  },
517
- onChange: s,
376
+ onChange: c,
518
377
  showDaysOutsideCurrentMonth: !0,
519
378
  slotProps: {
520
379
  actionBar: { actions: [] },
521
380
  shortcuts: {
522
- items: c ? [] : l
381
+ items: l ? [] : d
523
382
  },
524
383
  toolbar: {
525
384
  toolbarFormat: "MMM d, yyyy"
526
385
  }
527
386
  },
528
387
  slots: {
529
- leftArrowIcon: () => /* @__PURE__ */ a(M, { name: "chevron_left", size: 28 }),
530
- shortcuts: (t) => /* @__PURE__ */ a(_e, { selected: n, ...t }),
531
- rightArrowIcon: () => /* @__PURE__ */ a(M, { name: "chevron_right", size: 28 })
388
+ leftArrowIcon: () => /* @__PURE__ */ a(R, { name: "chevron_left", size: 28 }),
389
+ shortcuts: (t) => /* @__PURE__ */ a(Ee, { selected: n, ...t }),
390
+ rightArrowIcon: () => /* @__PURE__ */ a(R, { name: "chevron_right", size: 28 })
532
391
  },
533
- sx: { ...r },
534
- value: o
392
+ sx: { ...o },
393
+ value: i
535
394
  }
536
395
  ) }) });
537
- }, $0 = C.forwardRef(function(o, i) {
538
- return /* @__PURE__ */ a(J, { direction: "up", ref: i, ...o });
539
- }), Be = ({
396
+ }, Ro = L.forwardRef(function(i, r) {
397
+ return /* @__PURE__ */ a(j, { direction: "up", ref: r, ...i });
398
+ }), ve = ({
540
399
  hasSecondaryAction: e = !0,
541
- isPrimaryDisabled: o,
542
- onPrimaryAction: i,
400
+ isPrimaryDisabled: i,
401
+ onPrimaryAction: r,
543
402
  onSecondaryAction: n,
544
- primaryColor: r = "primary",
545
- primaryText: d = "Save",
546
- secondaryColor: c = "primary",
547
- secondaryText: l = "Cancel"
548
- }) => /* @__PURE__ */ x(
549
- F,
403
+ primaryColor: o = "primary",
404
+ primaryText: s = "Save",
405
+ secondaryColor: l = "primary",
406
+ secondaryText: d = "Cancel"
407
+ }) => /* @__PURE__ */ T(
408
+ E,
550
409
  {
551
410
  direction: "row",
552
411
  gap: 16,
@@ -554,103 +413,69 @@ const oe = {
554
413
  sx: { bgcolor: "background.paper", width: "100%", p: 24 },
555
414
  children: [
556
415
  e && /* @__PURE__ */ a(
557
- B,
416
+ P,
558
417
  {
559
- color: c,
418
+ color: l,
560
419
  onClick: n,
561
- variant: i ? "outlined" : "contained",
562
- children: l
420
+ variant: r ? "outlined" : "contained",
421
+ children: d
563
422
  }
564
423
  ),
565
- i && /* @__PURE__ */ a(
566
- B,
424
+ r && /* @__PURE__ */ a(
425
+ P,
567
426
  {
568
- color: r,
569
- disabled: o,
570
- onClick: i,
427
+ color: o,
428
+ disabled: i,
429
+ onClick: r,
571
430
  variant: "contained",
572
- children: d
431
+ children: s
573
432
  }
574
433
  )
575
434
  ]
576
435
  }
577
- ), k = ({
436
+ ), v = ({
578
437
  bold: e,
579
- className: o = "",
580
- children: i,
438
+ className: i = "",
439
+ children: r,
581
440
  color: n,
582
- sx: r = {},
583
- truncate: d = !0,
584
- uppercase: c,
585
- ...l
586
- }) => {
587
- switch (l.variant) {
588
- case "Body":
589
- l.variant = "body1";
590
- break;
591
- case "Button":
592
- l.variant = "button";
593
- break;
594
- case "H1":
595
- l.variant = "h1";
596
- break;
597
- case "H2":
598
- l.variant = "h2";
599
- break;
600
- case "H3":
601
- l.variant = "h3";
602
- break;
603
- case "Paragraph":
604
- l.variant = "subtitle1";
605
- break;
606
- case "ParagraphSmall":
607
- l.variant = "subtitle2";
608
- break;
609
- case "Small":
610
- l.variant = "body2";
611
- break;
612
- case "Tiny":
613
- l.variant = "tiny";
614
- break;
615
- case "XSmall":
616
- l.variant = "caption";
617
- break;
441
+ sx: o = {},
442
+ truncate: s = !0,
443
+ uppercase: l,
444
+ ...d
445
+ }) => /* @__PURE__ */ a(
446
+ ge,
447
+ {
448
+ className: `mx-kmui-text ${i}`,
449
+ color: n,
450
+ sx: [
451
+ e ? {
452
+ fontWeight: 600
453
+ } : {},
454
+ s ? {
455
+ overflow: "hidden",
456
+ textOverflow: "ellipsis",
457
+ whiteSpace: "nowrap"
458
+ } : {},
459
+ l ? {
460
+ textTransform: "uppercase"
461
+ } : {},
462
+ ...Array.isArray(o) ? o : [o]
463
+ ],
464
+ ...d,
465
+ children: r
618
466
  }
619
- return /* @__PURE__ */ a(
620
- Me,
621
- {
622
- className: `mx-kmui-text ${o}`,
623
- color: n,
624
- sx: [
625
- e ? {
626
- fontWeight: 600
627
- } : {},
628
- d ? {
629
- overflow: "hidden",
630
- textOverflow: "ellipsis",
631
- whiteSpace: "nowrap"
632
- } : {},
633
- c ? {
634
- textTransform: "uppercase"
635
- } : {},
636
- ...Array.isArray(r) ? r : [r]
637
- ],
638
- ...l,
639
- children: i
640
- }
641
- );
642
- }, ze = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...i, children: o }), U0 = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...i, children: o }), W0 = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...i, children: o }), Z0 = ({ className: e = "", children: o, truncate: i, ...n }) => /* @__PURE__ */ a(
643
- k,
467
+ ), Fe = ({ className: e = "", children: i, ...r }) => /* @__PURE__ */ a(v, { className: `mx-mxui-text h1 ${e}`, component: "h1", variant: "h1", ...r, children: i }), Mo = ({ className: e = "", children: i, ...r }) => /* @__PURE__ */ a(v, { className: `mx-mxui-text h2 ${e}`, component: "h2", variant: "h2", ...r, children: i }), So = ({ className: e = "", children: i, ...r }) => /* @__PURE__ */ a(v, { className: `mx-mxui-text h3 ${e}`, component: "h3", variant: "h3", ...r, children: i }), Co = ({ className: e = "", children: i, truncate: r, ...n }) => /* @__PURE__ */ a(
468
+ v,
644
469
  {
645
- className: `mx-kmui-text p ${e}`,
470
+ className: `mx-mxui-text p ${e}`,
646
471
  component: "p",
647
- truncate: i || !1,
472
+ truncate: r || !1,
648
473
  variant: "body1",
649
474
  ...n,
650
- children: o
475
+ children: i
651
476
  }
652
- ), Y0 = ({ copy: e, onClose: o }) => /* @__PURE__ */ x(
653
- F,
477
+ ), Ao = ({ copy: e, onClose: i }) => /* @__PURE__ */ T(
478
+ E,
654
479
  {
655
480
  sx: {
656
481
  alignItems: "center",
@@ -660,83 +485,83 @@ const oe = {
660
485
  py: 14
661
486
  },
662
487
  children: [
663
- /* @__PURE__ */ a(ze, { variant: "h3", children: e.title }),
664
- /* @__PURE__ */ a(q, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ a(ue, {}) })
488
+ /* @__PURE__ */ a(Fe, { variant: "h3", children: e.title }),
489
+ /* @__PURE__ */ a(X, { "aria-label": e.close_aria, onClick: i, sx: { mr: -12 }, children: /* @__PURE__ */ a(te, {}) })
665
490
  ]
666
491
  }
667
- ), X0 = ({
492
+ ), yo = ({
668
493
  className: e,
669
- disableSave: o,
670
- id: i,
494
+ disableSave: i,
495
+ id: r,
671
496
  isOpen: n,
672
- onClose: r,
673
- onSave: d,
674
- primaryText: c,
675
- secondaryText: l,
676
- children: s,
497
+ onClose: o,
498
+ onSave: s,
499
+ primaryText: l,
500
+ secondaryText: d,
501
+ children: c,
677
502
  ...t
678
- }) => /* @__PURE__ */ x(
679
- Ae,
503
+ }) => /* @__PURE__ */ T(
504
+ fe,
680
505
  {
681
506
  anchor: "right",
682
507
  className: `mx-kmui-drawer ${e}`,
683
- id: i ?? void 0,
684
- onClose: r,
508
+ id: r ?? void 0,
509
+ onClose: o,
685
510
  open: n,
686
511
  variant: "temporary",
687
512
  ...t,
688
513
  children: [
689
- s,
690
- d && /* @__PURE__ */ a(
691
- Be,
514
+ c,
515
+ s && /* @__PURE__ */ a(
516
+ ve,
692
517
  {
693
- isPrimaryDisabled: o,
694
- onPrimaryAction: d,
695
- onSecondaryAction: r,
696
- primaryText: c,
697
- secondaryText: l
518
+ isPrimaryDisabled: i,
519
+ onPrimaryAction: s,
520
+ onSecondaryAction: o,
521
+ primaryText: l,
522
+ secondaryText: d
698
523
  }
699
524
  )
700
525
  ]
701
526
  }
702
- ), re = 32, V = "https://content.moneydesktop.com/storage/MD_Assets", Ve = `${V}/serenity/default_institution_logo.png`, K0 = ({
527
+ ), Q = 32, z = "https://content.moneydesktop.com/storage/MD_Assets", Ne = `${z}/serenity/default_institution_logo.png`, Oo = ({
703
528
  alt: e,
704
- institutionGuid: o,
705
- logoUrl: i,
706
- size: n = re,
707
- ...r
529
+ institutionGuid: i,
530
+ logoUrl: r,
531
+ size: n = Q,
532
+ ...o
708
533
  }) => /* @__PURE__ */ a(
709
534
  "img",
710
535
  {
711
536
  alt: e,
712
537
  height: n,
713
- onError: (d) => d.target.src = Ve,
714
- src: i || `${V}/Ipad%20Logos/100x100/${o}_100x100.png`,
538
+ onError: (s) => s.target.src = Ne,
539
+ src: r || `${z}/Ipad%20Logos/100x100/${i}_100x100.png`,
715
540
  style: {
716
541
  borderRadius: 4
717
542
  },
718
543
  width: n,
719
- ...r
544
+ ...o
720
545
  }
721
- ), j0 = ({
546
+ ), Io = ({
722
547
  alt: e = "",
723
- categoryGuid: o,
724
- merchantGuid: i,
725
- size: n = re,
726
- ...r
548
+ categoryGuid: i,
549
+ merchantGuid: r,
550
+ size: n = Q,
551
+ ...o
727
552
  }) => {
728
- const [d, c] = C.useState(!1), l = H();
729
- return /* @__PURE__ */ x(Q, { display: "inline-block", position: "relative", ...r, children: [
730
- i && !d && /* @__PURE__ */ a(
553
+ const [s, l] = L.useState(!1), d = O();
554
+ return /* @__PURE__ */ T(K, { display: "inline-block", position: "relative", ...o, children: [
555
+ r && !s && /* @__PURE__ */ a(
731
556
  "img",
732
557
  {
733
558
  alt: e,
734
559
  "aria-hidden": !e,
735
560
  height: n,
736
- onError: () => c(!0),
737
- src: `${V}/merchant_logos/${i}.png`,
561
+ onError: () => l(!0),
562
+ src: `${z}/merchant_logos/${r}.png`,
738
563
  style: {
739
- backgroundColor: l.palette.common.white,
564
+ backgroundColor: d.palette.common.white,
740
565
  borderRadius: 4,
741
566
  boxSizing: "border-box",
742
567
  position: "absolute"
@@ -744,108 +569,108 @@ const oe = {
744
569
  width: n
745
570
  }
746
571
  ),
747
- /* @__PURE__ */ a(Pe, { categoryGuid: o, size: n })
572
+ /* @__PURE__ */ a(Ie, { categoryGuid: i, size: n })
748
573
  ] });
749
- }, Q0 = ({
574
+ }, Eo = ({
750
575
  disabled: e = !1,
751
- label: o = "",
752
- shrink: i = !0,
576
+ label: i = "",
577
+ shrink: r = !0,
753
578
  variant: n = "outlined",
754
- ...r
579
+ ...o
755
580
  }) => /* @__PURE__ */ a(
756
- Ee,
581
+ me,
757
582
  {
758
583
  InputLabelProps: {
759
- shrink: i
584
+ shrink: r
760
585
  },
761
586
  disabled: e,
762
- label: o,
587
+ label: i,
763
588
  variant: n,
764
- ...r
589
+ ...o
765
590
  }
766
591
  );
767
- function Ge(e) {
768
- return /* @__PURE__ */ a(J, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
592
+ function He(e) {
593
+ return /* @__PURE__ */ a(j, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
769
594
  }
770
- const J0 = ({
595
+ const vo = ({
771
596
  open: e,
772
- handleClose: o,
773
- message: i,
597
+ handleClose: i,
598
+ message: r,
774
599
  autoHideDuration: n = 3e3,
775
- severity: r = "success",
776
- snackbarSx: d,
777
- showAction: c = !1,
778
- showClose: l = !1,
779
- actionText: s = "Undo",
600
+ severity: o = "success",
601
+ snackbarSx: s,
602
+ showAction: l = !1,
603
+ showClose: d = !1,
604
+ actionText: c = "Undo",
780
605
  onActionClick: t,
781
- multiLine: u = !1
606
+ multiLine: p = !1
782
607
  }) => {
783
- const T = H(), L = /* @__PURE__ */ x(
784
- F,
608
+ const b = O(), F = /* @__PURE__ */ T(
609
+ E,
785
610
  {
786
- alignItems: u ? "flex-end" : "center",
787
- direction: u ? "column-reverse" : "row",
611
+ alignItems: p ? "flex-end" : "center",
612
+ direction: p ? "column-reverse" : "row",
788
613
  justifyContent: (
789
614
  // eslint-disable-next-line no-nested-ternary
790
- u && c && l ? "space-between" : "flex-end"
615
+ p && l && d ? "space-between" : "flex-end"
791
616
  ),
792
617
  children: [
793
- c && /* @__PURE__ */ a(
794
- B,
618
+ l && /* @__PURE__ */ a(
619
+ P,
795
620
  {
796
621
  color: "inherit",
797
- onClick: t || o,
622
+ onClick: t || i,
798
623
  size: "small",
799
624
  sx: {
800
- color: T.palette.success.contrastText,
625
+ color: b.palette.success.contrastText,
801
626
  height: 44
802
627
  },
803
- children: s
628
+ children: c
804
629
  }
805
630
  ),
806
- l && /* @__PURE__ */ a(
807
- q,
631
+ d && /* @__PURE__ */ a(
632
+ X,
808
633
  {
809
634
  "aria-label": "close",
810
635
  color: "inherit",
811
- onClick: o,
636
+ onClick: i,
812
637
  sx: { height: 44, width: 44 },
813
- children: /* @__PURE__ */ a(M, { fill: !0, name: "close", size: 24, weight: 400 })
638
+ children: /* @__PURE__ */ a(R, { fill: !0, name: "close", size: 24 })
814
639
  }
815
640
  )
816
641
  ]
817
642
  }
818
643
  );
819
644
  return /* @__PURE__ */ a(
820
- Se,
645
+ be,
821
646
  {
822
- TransitionComponent: Ge,
647
+ TransitionComponent: He,
823
648
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
824
649
  autoHideDuration: n,
825
- onClose: o,
650
+ onClose: i,
826
651
  open: e,
827
652
  sx: {
828
- ...d,
829
- width: u ? 400 : 325
653
+ ...s,
654
+ width: p ? 400 : 325
830
655
  },
831
656
  children: /* @__PURE__ */ a(
832
- Ie,
657
+ Te,
833
658
  {
834
- action: L,
835
- severity: r,
659
+ action: F,
660
+ severity: o,
836
661
  sx: {
837
662
  display: "flex",
838
663
  alignItems: "stretch",
839
- minHeight: l && c && u ? 120 : 56,
840
- maxHeight: u ? 120 : 56,
664
+ minHeight: d && l && p ? 120 : 56,
665
+ maxHeight: p ? 120 : 56,
841
666
  width: "100%",
842
667
  "& .MuiAlert-icon": {
843
- alignSelf: u ? "flex-start" : "center"
668
+ alignSelf: p ? "flex-start" : "center"
844
669
  },
845
670
  "& .MuiAlert-message": {
846
- paddingTop: u ? 12 : 8,
847
- paddingBottom: u ? 12 : 8,
848
- alignSelf: u ? "flex-start" : "center"
671
+ paddingTop: p ? 12 : 8,
672
+ paddingBottom: p ? 12 : 8,
673
+ alignSelf: p ? "flex-start" : "center"
849
674
  },
850
675
  "& .MuiAlert-action": {
851
676
  alignItems: "stretch",
@@ -854,178 +679,129 @@ const J0 = ({
854
679
  },
855
680
  variant: "filled",
856
681
  children: /* @__PURE__ */ a(
857
- k,
682
+ v,
858
683
  {
859
684
  sx: {
860
- lineHeight: T.typography.body1.lineHeight,
861
- whiteSpace: u ? "normal" : "nowrap",
862
- overflow: u ? "visible" : "hidden",
863
- textOverflow: u ? "clip" : "ellipsis"
685
+ lineHeight: b.typography.body1.lineHeight,
686
+ whiteSpace: p ? "normal" : "nowrap",
687
+ overflow: p ? "visible" : "hidden",
688
+ textOverflow: p ? "clip" : "ellipsis"
864
689
  },
865
- truncate: !u,
866
- children: i
690
+ truncate: !p,
691
+ children: r
867
692
  }
868
693
  )
869
694
  }
870
695
  )
871
696
  }
872
697
  );
873
- }, O = {
874
- REACT: "react",
875
- REACT_NATIVE: "react_native",
876
- NATIVE: "native"
877
- }, P = {
878
- LIGHT: "light",
879
- DARK: "dark"
880
- }, te = C.createContext(ee), ie = C.createContext(
881
- z(P.LIGHT, O.REACT_NATIVE)
882
- ), q0 = ({
883
- children: e,
884
- target: o = O.REACT,
885
- theme: i = P.LIGHT,
886
- tokenOverrides: n
887
- }) => {
888
- const [r, d] = C.useState(i === P.LIGHT ? ee : ve), c = C.useMemo(() => ({
889
- ...n
890
- }), [n]);
891
- return C.useEffect(() => {
892
- const l = z(i, o, { ...c });
893
- d(l);
894
- }, [i, o, c]), o === O.REACT ? /* @__PURE__ */ a(te.Provider, { value: r, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ a(ie.Provider, { value: r, children: e }));
895
- }, eo = (e = O.REACT, o = {}) => {
896
- const i = e === O.REACT ? te : ie, n = C.useContext(i);
897
- return n || z(P.LIGHT, e, { ...o });
898
- }, oo = ({
899
- component: e = D,
900
- variant: o = "outlined",
901
- selected: i,
698
+ }, Fo = ({
699
+ component: e = _,
700
+ variant: i = "outlined",
701
+ selected: r,
902
702
  onChange: n,
903
- headline: r,
904
- message: d,
905
- name: c,
906
- value: l,
907
- disabled: s = !1,
703
+ headline: o,
704
+ message: s,
705
+ name: l,
706
+ value: d,
707
+ disabled: c = !1,
908
708
  error: t = !1,
909
- icon: u = !1,
910
- sx: T = {},
911
- ...L
709
+ icon: p = !1,
710
+ sx: b = {},
711
+ ...F
912
712
  }) => {
913
- const m = H(), ae = () => {
914
- if (!s && n) {
915
- const $ = e === D ? !0 : !i;
916
- n({
917
- target: { value: l, checked: $ }
918
- }, $);
919
- }
920
- }, ne = () => m.palette.background.paper, G = () => t ? `inset 0px 0px 0px 2px ${m.palette.error.main}` : s ? i ? `inset 0px 0px 0px 2px ${m.palette.action.disabled}` : o === "outlined" ? `inset 0px 0px 0px 1px ${m.palette.action.disabledBackground}` : void 0 : i ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : o === "outlined" ? `inset 0px 0px 0px 1px ${b(m.palette.common.black, 0.23)}` : void 0, le = () => s || t ? m.palette.background.paper : b(m.palette.primary.main, 0.1), ce = () => s || t ? G() : i ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : o === "outlined" ? `inset 0px 0px 0px 1px ${b(m.palette.primary.main, 0.5)}` : void 0, se = () => s || t ? m.palette.background.paper : b(m.palette.primary.main, 0.3);
921
- return /* @__PURE__ */ x(
922
- He,
713
+ const f = O(), J = () => f.palette.background.paper, w = () => t ? `inset 0px 0px 0px 2px ${f.palette.error.main}` : c ? r ? `inset 0px 0px 0px 2px ${f.palette.action.disabled}` : i === "outlined" ? `inset 0px 0px 0px 1px ${f.palette.action.disabledBackground}` : `inset 0px 0px 0px 1px ${f.palette.action.disabled}` : i === "outlined" ? r ? `inset 0px 0px 0px 2px ${m(f.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${m(f.palette.common.black, 0.23)}` : r ? `inset 0px 0px 0px 2px ${m(f.palette.primary.main, 0.5)}` : f.shadows[1], q = () => c || t ? f.palette.background.paper : m(f.palette.primary.main, 0.1), ee = () => c || t ? w() : i === "outlined" ? r ? `inset 0px 0px 0px 2px ${m(f.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${m(f.palette.primary.main, 0.5)}` : w(), oe = () => c || t ? f.palette.background.paper : m(f.palette.primary.main, 0.3);
714
+ return /* @__PURE__ */ a(
715
+ xe,
923
716
  {
924
- elevation: o === "elevation" ? 1 : 0,
925
- onClick: ae,
717
+ checked: r,
718
+ control: e === _ ? /* @__PURE__ */ a(
719
+ _,
720
+ {
721
+ name: l,
722
+ sx: {
723
+ p: 0,
724
+ ml: 16,
725
+ mt: "8px",
726
+ flexShrink: 0,
727
+ "& .MuiSvgIcon-root": {
728
+ fontSize: "20px"
729
+ }
730
+ },
731
+ ...F
732
+ }
733
+ ) : /* @__PURE__ */ a(
734
+ Re,
735
+ {
736
+ name: l,
737
+ sx: {
738
+ p: 0,
739
+ ml: 16,
740
+ mt: "8px",
741
+ flexShrink: 0,
742
+ "& .MuiSvgIcon-root": {
743
+ fontSize: "20px"
744
+ }
745
+ },
746
+ ...F
747
+ }
748
+ ),
749
+ disabled: c,
750
+ label: /* @__PURE__ */ T(B, { sx: { display: "flex", alignItems: "flex-start", width: "100%" }, children: [
751
+ p && /* @__PURE__ */ a(B, { sx: { mr: 12, mt: "8px", flexShrink: 0 }, children: p }),
752
+ /* @__PURE__ */ T(B, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
753
+ o && /* @__PURE__ */ a(V, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: o }),
754
+ /* @__PURE__ */ a(V, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: s })
755
+ ] })
756
+ ] }),
757
+ labelPlacement: "start",
758
+ onChange: n,
926
759
  sx: {
927
760
  display: "flex",
928
761
  padding: "6px 16px",
929
762
  alignItems: "flex-start",
930
763
  justifyContent: "space-between",
931
- borderRadius: m.shape.borderRadius / 2,
764
+ borderRadius: f.shape.borderRadius / 2,
932
765
  mb: 16,
933
- cursor: s ? "not-allowed" : "pointer",
934
- opacity: s ? 0.6 : 1,
935
- backgroundColor: ne(),
766
+ cursor: c ? "not-allowed" : "pointer",
767
+ opacity: c ? 0.6 : 1,
768
+ backgroundColor: J(),
936
769
  border: "none",
937
- boxShadow: G(),
770
+ boxShadow: w(),
938
771
  boxSizing: "border-box",
939
- transition: m.transitions.create(["background-color", "box-shadow"], {
940
- duration: m.transitions.duration.short
772
+ transition: f.transitions.create(["background-color", "box-shadow"], {
773
+ duration: f.transitions.duration.short
941
774
  }),
942
775
  "&:hover": {
943
- backgroundColor: le(),
944
- boxShadow: ce()
776
+ backgroundColor: q(),
777
+ boxShadow: ee()
945
778
  },
946
779
  "&:active": {
947
- backgroundColor: se()
780
+ backgroundColor: oe()
948
781
  },
949
782
  "&:focus-visible": {
950
- outline: `2px solid ${m.palette.info.main}`,
783
+ outline: `2px solid ${f.palette.info.main}`,
951
784
  outlineOffset: "2px"
952
785
  },
953
- ...T
786
+ ...b
954
787
  },
955
- tabIndex: 0,
956
- variant: o,
957
- children: [
958
- u && /* @__PURE__ */ a(
959
- X,
960
- {
961
- sx: {
962
- mr: 12,
963
- mt: "8px",
964
- flexShrink: 0
965
- },
966
- children: u
967
- }
968
- ),
969
- /* @__PURE__ */ x(X, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
970
- r && /* @__PURE__ */ a(K, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: r }),
971
- /* @__PURE__ */ a(K, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: d })
972
- ] }),
973
- e === D ? /* @__PURE__ */ a(
974
- D,
975
- {
976
- checked: i,
977
- disabled: s,
978
- name: c,
979
- onChange: n,
980
- sx: {
981
- p: 0,
982
- ml: 16,
983
- mt: "8px",
984
- flexShrink: 0,
985
- "& .MuiSvgIcon-root": {
986
- fontSize: "20px"
987
- }
988
- },
989
- value: l,
990
- ...L
991
- }
992
- ) : /* @__PURE__ */ a(
993
- ye,
994
- {
995
- checked: i,
996
- disabled: s,
997
- name: c,
998
- onChange: n,
999
- sx: {
1000
- p: 0,
1001
- ml: 16,
1002
- mt: "8px",
1003
- flexShrink: 0,
1004
- "& .MuiSvgIcon-root": {
1005
- fontSize: "20px"
1006
- }
1007
- },
1008
- value: l,
1009
- ...L
1010
- }
1011
- )
1012
- ]
788
+ value: d
1013
789
  }
1014
790
  );
1015
- }, v = {
791
+ }, y = {
1016
792
  LIGHT: "light"
1017
- }, A = (e) => ({
1018
- 50: y(e, 0.95),
1019
- 100: y(e, 0.85),
1020
- 200: y(e, 0.7),
1021
- 300: y(e, 0.55),
1022
- 400: y(e, 0.3),
793
+ }, M = (e) => ({
794
+ 50: I(e, 0.95),
795
+ 100: I(e, 0.85),
796
+ 200: I(e, 0.7),
797
+ 300: I(e, 0.55),
798
+ 400: I(e, 0.3),
1023
799
  500: e,
1024
800
  600: N(e, 0.3),
1025
801
  700: N(e, 0.5),
1026
802
  800: N(e, 0.65),
1027
803
  900: N(e, 0.75)
1028
- }), R = "#FFFFFF", w = "#000000", $e = "#F9F9F9", E = {
804
+ }), x = "#FFFFFF", H = "#000000", Le = "#F9F9F9", De = "#1A1A1A", S = {
1029
805
  PRIMARY: "#2C64EF",
1030
806
  SECONDARY: "#808080",
1031
807
  INFO: "#2C64EF",
@@ -1033,7 +809,7 @@ const J0 = ({
1033
809
  WARNING: "#FF7B00",
1034
810
  ERROR: "#E32727",
1035
811
  GREY: "#808080"
1036
- }, S = {
812
+ }, C = {
1037
813
  CHART1: "#74E4DA",
1038
814
  CHART2: "#ED64A4",
1039
815
  CHART3: "#F3DC46",
@@ -1041,14 +817,14 @@ const J0 = ({
1041
817
  CHART5: "#60A9FF",
1042
818
  CHART6: "#C8BAEE",
1043
819
  CHART7: "#585E67"
1044
- }, I = {
820
+ }, A = {
1045
821
  CHART_MONO1: "#C3EAFF",
1046
822
  CHART_MONO2: "#8ED7FF",
1047
823
  CHART_MONO3: "#60A9FF",
1048
824
  CHART_MONO4: "#2F73DA",
1049
825
  CHART_MONO5: "#034AB3",
1050
826
  CHART_MONO6: "#002966"
1051
- }, p = {
827
+ }, u = {
1052
828
  AUTO_TRANSPORTT: "#00B0FF",
1053
829
  BILLS_UTILITIES: "#F949BD",
1054
830
  BUSINESS_SERVICES: "#2979FF",
@@ -1094,304 +870,188 @@ const J0 = ({
1094
870
  TRANSFER: "#75C7B7",
1095
871
  TRAVEL: "#76ACF7",
1096
872
  UNCATEGORIZED: "#BCC6D4"
1097
- }, Ue = (e, o) => {
1098
- const i = A(o?.primary || E.PRIMARY), n = A(o?.secondary || E.SECONDARY), r = A(o?.error || E.ERROR), d = A(o?.warning || E.WARNING), c = A(o?.info || E.INFO), l = A(o?.success || E.SUCCESS), s = A(o?.grey || E.GREY), t = e === v.LIGHT;
873
+ }, ke = (e, i) => {
874
+ const r = M(i?.primary || S.PRIMARY), n = M(i?.secondary || S.SECONDARY), o = M(i?.error || S.ERROR), s = M(i?.warning || S.WARNING), l = M(i?.info || S.INFO), d = M(i?.success || S.SUCCESS), c = M(i?.grey || S.GREY), t = e === y.LIGHT;
1099
875
  return {
1100
876
  mode: e,
1101
- // DEPRECATED: Use grey instead
1102
- border: {
1103
- /* DEPRECATED: Use light instead */
1104
- lighter: t ? s[300] : s[700],
1105
- light: t ? s[300] : s[700],
1106
- main: t ? s[400] : s[600],
1107
- dark: s[500],
1108
- /* DEPRECATED: Use light instead */
1109
- darker: s[500]
1110
- },
1111
877
  common: {
1112
- white: R,
1113
- black: w
878
+ white: x,
879
+ black: H
1114
880
  },
1115
881
  primary: {
1116
- ...i,
1117
- /* DEPRECATED: Use light instead */
1118
- lighter: t ? i[100] : i[800],
1119
- light: t ? i[300] : i[600],
1120
- main: t ? i[500] : i[400],
1121
- dark: t ? i[700] : i[200],
1122
- /* DEPRECATED: Use dark instead */
1123
- darker: t ? i[900] : i[100]
882
+ ...r,
883
+ light: t ? r[300] : r[600],
884
+ main: t ? r[500] : r[400],
885
+ dark: t ? r[700] : r[200]
1124
886
  },
1125
887
  secondary: {
1126
888
  ...n,
1127
- /* DEPRECATED: Use light instead */
1128
- lighter: t ? n[100] : n[800],
1129
889
  light: t ? n[300] : n[600],
1130
890
  main: t ? n[500] : n[400],
1131
- dark: t ? n[700] : n[200],
1132
- /* DEPRECATED: Use dark instead */
1133
- darker: t ? n[900] : n[100]
891
+ dark: t ? n[700] : n[200]
1134
892
  },
1135
893
  neutral: {
1136
- ...s,
1137
- /* DEPRECATED: Use light instead */
1138
- lighter: t ? s[100] : s[800],
1139
- light: t ? s[300] : s[600],
1140
- main: t ? s[500] : s[400],
1141
- dark: t ? s[700] : s[200],
1142
- /* DEPRECATED: Use dark instead */
1143
- darker: t ? s[900] : s[100],
1144
- contrastText: Oe(t ? s[700] : s[400], "#fff") > 4.5 ? R : s[900]
894
+ ...c,
895
+ light: t ? c[300] : c[600],
896
+ main: t ? c[500] : c[400],
897
+ dark: t ? c[700] : c[200],
898
+ contrastText: Me(t ? c[700] : c[400], "#fff") > 4.5 ? x : c[900]
1145
899
  },
1146
900
  text: {
1147
- primary: t ? s[900] : R,
1148
- secondary: t ? s[600] : b(R, 0.7),
1149
- disabled: t ? s[500] : b(R, 0.38)
901
+ primary: t ? c[900] : x,
902
+ secondary: t ? c[600] : m(x, 0.7),
903
+ disabled: t ? c[500] : m(x, 0.38)
1150
904
  },
1151
905
  error: {
1152
- ...r,
1153
- /* DEPRECATED: Use light instead */
1154
- lighter: t ? r[100] : r[800],
1155
- light: t ? r[300] : r[600],
1156
- main: t ? r[500] : r[400],
1157
- dark: t ? r[700] : r[200],
1158
- /* DEPRECATED: Use light instead */
1159
- darker: t ? r[900] : r[100]
906
+ ...o,
907
+ light: t ? o[300] : o[600],
908
+ main: t ? o[500] : o[400],
909
+ dark: t ? o[700] : o[200]
1160
910
  },
1161
911
  warning: {
1162
- ...d,
1163
- /* DEPRECATED: Use light instead */
1164
- lighter: t ? d[100] : d[800],
1165
- light: t ? d[300] : d[600],
1166
- main: t ? d[500] : d[400],
1167
- dark: t ? d[700] : d[200],
1168
- /* DEPRECATED: Use light instead */
1169
- darker: t ? d[900] : d[100]
912
+ ...s,
913
+ light: t ? s[300] : s[600],
914
+ main: t ? s[500] : s[400],
915
+ dark: t ? s[700] : s[200]
1170
916
  },
1171
917
  info: {
1172
- ...c,
1173
- /* DEPRECATED: Use light instead */
1174
- lighter: t ? c[100] : c[800],
1175
- light: t ? c[300] : c[600],
1176
- main: t ? c[500] : c[400],
1177
- dark: t ? c[700] : c[200],
1178
- /* DEPRECATED: Use light instead */
1179
- darker: t ? c[900] : c[100]
1180
- },
1181
- success: {
1182
918
  ...l,
1183
- /* DEPRECATED: Use light instead */
1184
- lighter: t ? l[100] : l[800],
1185
919
  light: t ? l[300] : l[600],
1186
920
  main: t ? l[500] : l[400],
1187
- dark: t ? l[700] : l[200],
1188
- /* DEPRECATED: Use light instead */
1189
- darker: t ? l[900] : l[100]
921
+ dark: t ? l[700] : l[200]
922
+ },
923
+ success: {
924
+ ...d,
925
+ light: t ? d[300] : d[600],
926
+ main: t ? d[500] : d[400],
927
+ dark: t ? d[700] : d[200]
1190
928
  },
1191
- grey: s,
929
+ grey: c,
1192
930
  action: {
1193
- active: t ? b(w, 0.56) : b(R, 0.56),
931
+ active: t ? m(H, 0.56) : m(x, 0.56),
1194
932
  hoverOpacity: t ? 0.1 : 0.2,
1195
933
  selectedOpacity: t ? 0.16 : 0.25,
1196
934
  focusOpacity: 0.3
1197
935
  },
1198
936
  background: {
1199
- default: t ? $e : w,
1200
- // ? paletteCustomizations?.background?.default?.light || DEFAULT_BACKGROUND_LIGHT
1201
- // : paletteCustomizations?.background?.default?.dark || DEFAULT_BACKGROUND_DARK,
1202
- paper: t ? R : s[900],
1203
- // ? paletteCustomizations?.background?.paper?.light || WHITE
1204
- // : paletteCustomizations?.background?.paper?.dark || BLACK,
1205
- highlight: t ? s[200] : s[600],
1206
- highlightPrimary: t ? i[100] : i[500]
937
+ default: t ? i?.background?.default?.light || Le : i?.background?.default?.dark || H,
938
+ paper: t ? i?.background?.paper?.light || x : i?.background?.paper?.dark || De,
939
+ highlight: t ? c[200] : c[600],
940
+ highlightPrimary: t ? r[100] : r[500]
1207
941
  },
1208
- divider: t ? b(w, 0.12) : b(R, 0.24),
942
+ divider: t ? m(H, 0.12) : m(x, 0.24),
1209
943
  categories: {
1210
- autoTransport: t ? p.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
1211
- billsUtilities: t ? p.BILLS_UTILITIES : h.BILLS_UTILITIES,
1212
- businessServices: t ? p.BUSINESS_SERVICES : h.BUSINESS_SERVICES,
1213
- education: t ? p.EDUCATION : h.EDUCATION,
1214
- entertainment: t ? p.ENTERTAINMENT : h.ENTERTAINMENT,
1215
- feesCharges: t ? p.FEES_CHARGES : h.FEES_CHARGES,
1216
- financial: t ? p.FINANCIAL : h.FINANCIAL,
1217
- foodDining: t ? p.FOOD_DINING : h.FOOD_DINING,
1218
- giftsDonations: t ? p.GIFTS_DONATIONS : h.GIFTS_DONATIONS,
1219
- healthFitness: t ? p.HEALTH_FITNESS : h.HEALTH_FITNESS,
1220
- home: t ? p.HOME : h.HOME,
1221
- income: t ? p.INCOME : h.INCOME,
1222
- investments: t ? p.INVESTMENTS : h.INVESTMENTS,
1223
- kids: t ? p.KIDS : h.KIDS,
1224
- others: t ? p.OTHERS : h.OTHERS,
1225
- personalCare: t ? p.PERSONAL_CARE : h.PERSONAL_CARE,
1226
- pets: t ? p.PETS : h.PETS,
1227
- shopping: t ? p.SHOPPING : h.SHOPPING,
1228
- taxes: t ? p.TAXES : h.TAXES,
1229
- transfer: t ? p.TRANSFER : h.TRANSFER,
1230
- travel: t ? p.TRAVEL : h.TRAVEL,
1231
- uncategorized: t ? p.UNCATEGORIZED : h.UNCATEGORIZED
944
+ autoTransport: t ? u.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
945
+ billsUtilities: t ? u.BILLS_UTILITIES : h.BILLS_UTILITIES,
946
+ businessServices: t ? u.BUSINESS_SERVICES : h.BUSINESS_SERVICES,
947
+ education: t ? u.EDUCATION : h.EDUCATION,
948
+ entertainment: t ? u.ENTERTAINMENT : h.ENTERTAINMENT,
949
+ feesCharges: t ? u.FEES_CHARGES : h.FEES_CHARGES,
950
+ financial: t ? u.FINANCIAL : h.FINANCIAL,
951
+ foodDining: t ? u.FOOD_DINING : h.FOOD_DINING,
952
+ giftsDonations: t ? u.GIFTS_DONATIONS : h.GIFTS_DONATIONS,
953
+ healthFitness: t ? u.HEALTH_FITNESS : h.HEALTH_FITNESS,
954
+ home: t ? u.HOME : h.HOME,
955
+ income: t ? u.INCOME : h.INCOME,
956
+ investments: t ? u.INVESTMENTS : h.INVESTMENTS,
957
+ kids: t ? u.KIDS : h.KIDS,
958
+ others: t ? u.OTHERS : h.OTHERS,
959
+ personalCare: t ? u.PERSONAL_CARE : h.PERSONAL_CARE,
960
+ pets: t ? u.PETS : h.PETS,
961
+ shopping: t ? u.SHOPPING : h.SHOPPING,
962
+ taxes: t ? u.TAXES : h.TAXES,
963
+ transfer: t ? u.TRANSFER : h.TRANSFER,
964
+ travel: t ? u.TRAVEL : h.TRAVEL,
965
+ uncategorized: t ? u.UNCATEGORIZED : h.UNCATEGORIZED
1232
966
  },
1233
967
  chart: {
1234
- chart1: S.CHART1,
1235
- chart2: S.CHART2,
1236
- chart3: S.CHART3,
1237
- chart4: S.CHART4,
1238
- chart5: S.CHART5,
1239
- chart6: S.CHART6,
1240
- chart7: S.CHART7
968
+ chart1: C.CHART1,
969
+ chart2: C.CHART2,
970
+ chart3: C.CHART3,
971
+ chart4: C.CHART4,
972
+ chart5: C.CHART5,
973
+ chart6: C.CHART6,
974
+ chart7: C.CHART7
1241
975
  },
1242
976
  chartMono: {
1243
- chartMono1: I.CHART_MONO1,
1244
- chartMono2: I.CHART_MONO2,
1245
- chartMono3: I.CHART_MONO3,
1246
- chartMono4: I.CHART_MONO4,
1247
- chartMono5: I.CHART_MONO5,
1248
- chartMono6: I.CHART_MONO6
977
+ chartMono1: A.CHART_MONO1,
978
+ chartMono2: A.CHART_MONO2,
979
+ chartMono3: A.CHART_MONO3,
980
+ chartMono4: A.CHART_MONO4,
981
+ chartMono5: A.CHART_MONO5,
982
+ chartMono6: A.CHART_MONO6
1249
983
  }
1250
984
  };
1251
- }, We = "Inter, Helvetica, Arial, sans-serif", Ze = (e) => {
1252
- const o = e?.fontFamily || We;
985
+ }, we = "Inter, Helvetica, Arial, sans-serif", Be = (e) => {
986
+ const i = e?.fontFamily || we;
1253
987
  return {
1254
- fontFamily: o,
988
+ fontFamily: i,
1255
989
  fontSize: 15,
1256
- Body: {
1257
- // DEPRECATED: Use body1 instead
1258
- fontFamily: o,
1259
- fontSize: 15,
1260
- lineHeight: "20px"
1261
- },
1262
990
  body1: {
1263
- fontFamily: o,
1264
- fontSize: 15,
1265
- lineHeight: "20px"
1266
- },
1267
- Small: {
1268
- // DEPRECATED: Use body2 instead
1269
- fontFamily: o,
991
+ fontFamily: i,
1270
992
  fontSize: 15,
1271
993
  lineHeight: "20px"
1272
994
  },
1273
995
  body2: {
1274
- fontFamily: o,
996
+ fontFamily: i,
1275
997
  fontSize: 13,
1276
998
  lineHeight: "16px"
1277
999
  },
1278
- Button: {
1279
- // DEPRECATED: Use button instead
1280
- fontFamily: o,
1281
- fontSize: 15
1282
- },
1283
1000
  button: {
1284
- fontFamily: o,
1001
+ fontFamily: i,
1285
1002
  fontSize: 15
1286
1003
  },
1287
- XSmall: {
1288
- // DEPRECATED: Use caption instead
1289
- fontFamily: o,
1290
- fontSize: 11,
1291
- lineHeight: "16px"
1292
- },
1293
1004
  caption: {
1294
- fontFamily: o,
1005
+ fontFamily: i,
1295
1006
  fontSize: 11,
1296
1007
  lineHeight: "16px"
1297
1008
  },
1298
- H1: {
1299
- // DEPRECATED: Use h1 instead
1300
- fontFamily: o,
1301
- fontWeight: 700,
1302
- fontSize: 31,
1303
- lineHeight: "40px"
1304
- },
1305
1009
  h1: {
1306
- fontFamily: o,
1010
+ fontFamily: i,
1307
1011
  fontWeight: 700,
1308
1012
  fontSize: 31,
1309
1013
  lineHeight: "40px"
1310
1014
  },
1311
- H2: {
1312
- // DEPRECATED: Use h2 instead
1313
- fontFamily: o,
1314
- fontWeight: 700,
1315
- fontSize: 23,
1316
- lineHeight: "32px"
1317
- },
1318
1015
  h2: {
1319
- fontFamily: o,
1016
+ fontFamily: i,
1320
1017
  fontWeight: 700,
1321
1018
  fontSize: 23,
1322
1019
  lineHeight: "32px"
1323
1020
  },
1324
- H3: {
1325
- // DEPRECATED: Use h3 instead
1326
- fontFamily: o,
1327
- fontWeight: 700,
1328
- fontSize: 18,
1329
- lineHeight: "24px"
1330
- },
1331
1021
  h3: {
1332
- fontFamily: o,
1022
+ fontFamily: i,
1333
1023
  fontWeight: 700,
1334
1024
  fontSize: 18,
1335
1025
  lineHeight: "24px"
1336
1026
  },
1337
- // h4: {
1338
- // fontFamily,
1339
- // },
1340
- // h5: {
1341
- // fontFamily,
1342
- // },
1343
- // h6: {
1344
- // fontFamily,
1345
- // },
1346
- // overline: {
1347
- // fontFamily,
1348
- // },
1349
- Paragraph: {
1350
- // DEPRECATED: Use subtitle1 instead
1351
- fontFamily: o,
1352
- fontSize: 15,
1353
- lineHeight: "24px"
1354
- },
1355
1027
  subtitle1: {
1356
- fontFamily: o,
1028
+ fontFamily: i,
1357
1029
  fontSize: 15,
1358
1030
  lineHeight: "24px"
1359
1031
  },
1360
- ParagraphSmall: {
1361
- // DEPRECATED: Use subtitle2 instead
1362
- fontFamily: o,
1363
- fontSize: 13,
1364
- lineHeight: "20px"
1365
- },
1366
1032
  subtitle2: {
1367
- fontFamily: o,
1033
+ fontFamily: i,
1368
1034
  fontSize: 13,
1369
1035
  lineHeight: "20px"
1370
1036
  },
1371
- Tiny: {
1372
- // DEPRECATED: Use tiny instead
1373
- fontFamily: o,
1374
- fontSize: 9,
1375
- lineHeight: "12px"
1376
- },
1377
1037
  tiny: {
1378
- fontFamily: o,
1038
+ fontFamily: i,
1379
1039
  fontSize: 9,
1380
1040
  lineHeight: "12px"
1381
1041
  },
1382
1042
  ...e
1383
1043
  };
1384
1044
  };
1385
- ke.setLicenseKey(
1045
+ Ce.setLicenseKey(
1386
1046
  "6e7dd593526efa1f157230ecf06c9b02Tz0xMDA5NjAsRT0xNzYyMDQxNjAwMDAwLFM9cHJvLExNPWFubnVhbCxQVj1RMy0yMDI0LEtWPTI="
1387
1047
  );
1388
- const _ = [...j().shadows];
1389
- _[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
1390
- _[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
1391
- _[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
1392
- const ro = (e, o) => {
1393
- const i = Ue(e, o?.paletteOptions), n = Ze(o?.typographyOptions);
1394
- return j({
1048
+ const k = [...Y().shadows];
1049
+ k[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
1050
+ k[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
1051
+ k[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
1052
+ const No = (e, i) => {
1053
+ const r = ke(e, i?.paletteOptions), n = Be(i?.typographyOptions);
1054
+ return Y({
1395
1055
  breakpoints: {
1396
1056
  values: {
1397
1057
  xs: 444,
@@ -1401,10 +1061,10 @@ const ro = (e, o) => {
1401
1061
  xl: 1536
1402
1062
  }
1403
1063
  },
1404
- palette: i,
1405
- shadows: _,
1064
+ palette: r,
1065
+ shadows: k,
1406
1066
  shape: {
1407
- borderRadius: o?.shapeOptions?.borderRadius || 4
1067
+ borderRadius: i?.shapeOptions?.borderRadius || 4
1408
1068
  },
1409
1069
  spacing: 1,
1410
1070
  // TODO: update spacing, we're back to a 8-base which is default for MUI 2.x
@@ -1413,27 +1073,27 @@ const ro = (e, o) => {
1413
1073
  MuiAlert: {
1414
1074
  defaultProps: {
1415
1075
  iconMapping: {
1416
- success: /* @__PURE__ */ a(M, { fill: !0, name: "check_circle", size: 24, weight: 400 }),
1417
- error: /* @__PURE__ */ a(M, { fill: !0, name: "error", size: 24, weight: 400 }),
1418
- warning: /* @__PURE__ */ a(M, { fill: !0, name: "warning", size: 24, weight: 400 }),
1419
- info: /* @__PURE__ */ a(M, { fill: !0, name: "info", size: 24, weight: 400 })
1076
+ success: /* @__PURE__ */ a(R, { fill: !0, name: "check_circle", size: 24 }),
1077
+ error: /* @__PURE__ */ a(R, { fill: !0, name: "error", size: 24 }),
1078
+ warning: /* @__PURE__ */ a(R, { fill: !0, name: "warning", size: 24 }),
1079
+ info: /* @__PURE__ */ a(R, { fill: !0, name: "info", size: 24 })
1420
1080
  },
1421
1081
  variant: "outlined"
1422
1082
  },
1423
1083
  styleOverrides: {
1424
- root: ({ theme: r, ownerState: d }) => {
1425
- const c = d.severity || "info";
1426
- let l = r.palette.mode === v.LIGHT ? r.palette[c]?.[50] : r.palette[c]?.[800];
1427
- if (d.variant === "filled") {
1428
- const s = c === "warning";
1429
- l = r.palette[c]?.[s ? 400 : 600];
1084
+ root: ({ theme: o, ownerState: s }) => {
1085
+ const l = s.severity || "info";
1086
+ let d = o.palette.mode === y.LIGHT ? o.palette[l]?.[50] : o.palette[l]?.[800];
1087
+ if (s.variant === "filled") {
1088
+ const c = l === "warning";
1089
+ d = o.palette[l]?.[c ? 400 : 600];
1430
1090
  }
1431
1091
  return {
1432
- backgroundColor: l,
1433
- borderRadius: r.shape.borderRadius,
1092
+ backgroundColor: d,
1093
+ borderRadius: o.shape.borderRadius,
1434
1094
  "& .MuiAlert-message": {
1435
- fontSize: r.typography.subtitle1.fontSize,
1436
- lineHeight: r.typography.subtitle1.lineHeight,
1095
+ fontSize: o.typography.subtitle1.fontSize,
1096
+ lineHeight: o.typography.subtitle1.lineHeight,
1437
1097
  marginTop: "auto",
1438
1098
  marginBottom: "auto"
1439
1099
  },
@@ -1459,14 +1119,14 @@ const ro = (e, o) => {
1459
1119
  disableElevation: !0
1460
1120
  },
1461
1121
  styleOverrides: {
1462
- root: ({ theme: r }) => ({
1122
+ root: ({ theme: o }) => ({
1463
1123
  fontWeight: 600,
1464
1124
  textTransform: "none",
1465
1125
  "&.Mui-disabled": {
1466
1126
  cursor: "not-allowed"
1467
1127
  },
1468
1128
  "&.Mui-focusVisible": {
1469
- outline: `2px solid ${r.palette.info.main}`,
1129
+ outline: `2px solid ${o.palette.info.main}`,
1470
1130
  outlineOffset: "2px"
1471
1131
  }
1472
1132
  }),
@@ -1503,7 +1163,7 @@ const ro = (e, o) => {
1503
1163
  styleOverrides: {
1504
1164
  root: {
1505
1165
  "&.Mui-focusVisible": {
1506
- boxShadow: `inset 0 0 0 2px ${i.info.main}`
1166
+ boxShadow: `inset 0 0 0 2px ${r.info.main}`
1507
1167
  }
1508
1168
  }
1509
1169
  }
@@ -1511,7 +1171,7 @@ const ro = (e, o) => {
1511
1171
  MuiCircularProgress: {
1512
1172
  styleOverrides: {
1513
1173
  root: {
1514
- [`& .${Fe.circle}`]: {
1174
+ [`& .${Se.circle}`]: {
1515
1175
  strokeLinecap: "round"
1516
1176
  }
1517
1177
  }
@@ -1532,22 +1192,22 @@ const ro = (e, o) => {
1532
1192
  },
1533
1193
  MuiDataGrid: {
1534
1194
  styleOverrides: {
1535
- root: ({ theme: r }) => ({
1195
+ root: ({ theme: o }) => ({
1536
1196
  border: "none",
1537
1197
  borderRadius: 0,
1538
- fontSize: r.typography.body2.fontSize,
1198
+ fontSize: o.typography.body2.fontSize,
1539
1199
  "& .MuiDataGrid-cell": {
1540
1200
  display: "flex",
1541
1201
  alignItems: "center",
1542
1202
  borderTop: "1px solid",
1543
- borderColor: r.palette.background.highlight
1203
+ borderColor: o.palette.background.highlight
1544
1204
  },
1545
1205
  "& .MuiDataGrid-cell:focus": { outline: "unset" },
1546
1206
  "& .MuiDataGrid-iconSeparator": { display: "none" },
1547
1207
  "& .MuiDataGrid-columnHeaders": {
1548
- backgroundColor: r.palette.background.paper,
1208
+ backgroundColor: o.palette.background.paper,
1549
1209
  borderBottom: "2px solid",
1550
- borderColor: r.palette.divider
1210
+ borderColor: o.palette.divider
1551
1211
  },
1552
1212
  "& .MuiDataGrid-columnHeaderTitle": {
1553
1213
  fontWeight: 600
@@ -1565,42 +1225,42 @@ const ro = (e, o) => {
1565
1225
  },
1566
1226
  MuiDateRangePickerDay: {
1567
1227
  styleOverrides: {
1568
- root: ({ theme: r }) => ({
1228
+ root: ({ theme: o }) => ({
1569
1229
  ":first-of-type": {
1570
- borderTopLeftRadius: r.shape.borderRadius,
1571
- borderBottomLeftRadius: r.shape.borderRadius,
1230
+ borderTopLeftRadius: o.shape.borderRadius,
1231
+ borderBottomLeftRadius: o.shape.borderRadius,
1572
1232
  "& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
1573
- borderTopLeftRadius: r.shape.borderRadius,
1574
- borderBottomLeftRadius: r.shape.borderRadius
1233
+ borderTopLeftRadius: o.shape.borderRadius,
1234
+ borderBottomLeftRadius: o.shape.borderRadius
1575
1235
  }
1576
1236
  },
1577
1237
  ":last-of-type": {
1578
- borderTopRightRadius: r.shape.borderRadius,
1579
- borderBottomRightRadius: r.shape.borderRadius,
1238
+ borderTopRightRadius: o.shape.borderRadius,
1239
+ borderBottomRightRadius: o.shape.borderRadius,
1580
1240
  "& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
1581
- borderTopRightRadius: r.shape.borderRadius,
1582
- borderBottomRightRadius: r.shape.borderRadius
1241
+ borderTopRightRadius: o.shape.borderRadius,
1242
+ borderBottomRightRadius: o.shape.borderRadius
1583
1243
  }
1584
1244
  },
1585
1245
  "& .Mui-selected": {
1586
- borderRadius: r.shape.borderRadius
1246
+ borderRadius: o.shape.borderRadius
1587
1247
  },
1588
1248
  "& .MuiPickersDay-dayOutsideMonth": {
1589
- color: r.palette.action.disabled
1249
+ color: o.palette.action.disabled
1590
1250
  }
1591
1251
  }),
1592
- day: ({ theme: r }) => ({
1593
- borderRadius: r.shape.borderRadius
1252
+ day: ({ theme: o }) => ({
1253
+ borderRadius: o.shape.borderRadius
1594
1254
  }),
1595
- rangeIntervalDayPreview: ({ theme: r }) => ({
1596
- borderRadius: r.shape.borderRadius
1255
+ rangeIntervalDayPreview: ({ theme: o }) => ({
1256
+ borderRadius: o.shape.borderRadius
1597
1257
  })
1598
1258
  }
1599
1259
  },
1600
1260
  MuiDayCalendar: {
1601
1261
  styleOverrides: {
1602
- weekDayLabel: ({ theme: r }) => ({
1603
- fontSize: r.typography.body2.fontSize,
1262
+ weekDayLabel: ({ theme: o }) => ({
1263
+ fontSize: o.typography.body2.fontSize,
1604
1264
  fontWeight: 700
1605
1265
  })
1606
1266
  }
@@ -1642,14 +1302,14 @@ const ro = (e, o) => {
1642
1302
  },
1643
1303
  MuiFormHelperText: {
1644
1304
  styleOverrides: {
1645
- root: ({ theme: r }) => ({
1305
+ root: ({ theme: o }) => ({
1646
1306
  fontSize: 13,
1647
1307
  // Small
1648
1308
  marginLeft: 0,
1649
1309
  display: "flex",
1650
1310
  alignItems: "center",
1651
1311
  position: "relative",
1652
- color: r.palette.text.secondary,
1312
+ color: o.palette.text.secondary,
1653
1313
  "& .MuiSvgIcon-root": {
1654
1314
  height: "16px",
1655
1315
  width: "16px",
@@ -1665,7 +1325,7 @@ const ro = (e, o) => {
1665
1325
  MuiFormLabel: {
1666
1326
  styleOverrides: {
1667
1327
  asterisk: {
1668
- color: i.error.main
1328
+ color: r.error.main
1669
1329
  }
1670
1330
  }
1671
1331
  },
@@ -1680,19 +1340,19 @@ const ro = (e, o) => {
1680
1340
  disableFocusRipple: !0
1681
1341
  },
1682
1342
  styleOverrides: {
1683
- root: ({ theme: r }) => ({
1684
- borderRadius: r.shape.borderRadius,
1343
+ root: ({ theme: o }) => ({
1344
+ borderRadius: o.shape.borderRadius,
1685
1345
  minHeight: 44,
1686
1346
  // touch target
1687
1347
  minWidth: 44,
1688
1348
  // touch target
1689
1349
  "&.Mui-focusVisible": {
1690
- outline: `2px solid ${r.palette.info.main}`,
1350
+ outline: `2px solid ${o.palette.info.main}`,
1691
1351
  outlineOffset: "2px"
1692
1352
  },
1693
1353
  "& .MuiTouchRipple-root": {
1694
1354
  "& .MuiTouchRipple-child": {
1695
- borderRadius: r.shape.borderRadius
1355
+ borderRadius: o.shape.borderRadius
1696
1356
  }
1697
1357
  }
1698
1358
  })
@@ -1713,13 +1373,13 @@ const ro = (e, o) => {
1713
1373
  borderRadius: 4
1714
1374
  },
1715
1375
  colorPrimary: {
1716
- backgroundColor: i.grey[300]
1376
+ backgroundColor: r.grey[300]
1717
1377
  }
1718
1378
  }
1719
1379
  },
1720
1380
  MuiLink: {
1721
1381
  styleOverrides: {
1722
- root: ({ theme: r, color: d }) => ({
1382
+ root: ({ theme: o, color: s }) => ({
1723
1383
  cursor: "pointer",
1724
1384
  fontWeight: 600,
1725
1385
  textDecoration: "none",
@@ -1731,10 +1391,10 @@ const ro = (e, o) => {
1731
1391
  outlineOffset: "2px"
1732
1392
  },
1733
1393
  "&:hover": {
1734
- backgroundColor: r.palette.action.hover
1394
+ backgroundColor: o.palette.action.hover
1735
1395
  },
1736
1396
  "&:active": {
1737
- backgroundColor: r.palette.mode === v.LIGHT ? r.palette[d].light : r.palette[d].dark
1397
+ backgroundColor: o.palette.mode === y.LIGHT ? o.palette[s].light : o.palette[s].dark
1738
1398
  }
1739
1399
  })
1740
1400
  }
@@ -1761,9 +1421,9 @@ const ro = (e, o) => {
1761
1421
  disablePadding: !0
1762
1422
  },
1763
1423
  styleOverrides: {
1764
- root: ({ ownerState: r }) => ({
1424
+ root: ({ ownerState: o }) => ({
1765
1425
  minHeight: 64,
1766
- ...!r.disablePadding && {
1426
+ ...!o.disablePadding && {
1767
1427
  paddingTop: 12,
1768
1428
  paddingBottom: 12,
1769
1429
  paddingLeft: 24
@@ -1787,7 +1447,7 @@ const ro = (e, o) => {
1787
1447
  },
1788
1448
  MuiListItemButton: {
1789
1449
  styleOverrides: {
1790
- root: ({ theme: r }) => ({
1450
+ root: ({ theme: o }) => ({
1791
1451
  minHeight: 64,
1792
1452
  paddingLeft: 24,
1793
1453
  paddingRight: 24,
@@ -1796,7 +1456,7 @@ const ro = (e, o) => {
1796
1456
  "&.Mui-focusVisible": {
1797
1457
  backgroundColor: "transparent",
1798
1458
  borderRadius: 8,
1799
- outline: `2px solid ${r.palette.info.main}`,
1459
+ outline: `2px solid ${o.palette.info.main}`,
1800
1460
  outlineOffset: -2
1801
1461
  }
1802
1462
  })
@@ -1812,13 +1472,19 @@ const ro = (e, o) => {
1812
1472
  },
1813
1473
  MuiListItemText: {
1814
1474
  defaultProps: {
1815
- primaryTypographyProps: {
1816
- fontWeight: 600,
1817
- fontSize: 15
1475
+ slotProps: {
1476
+ primary: {
1477
+ fontWeight: 600,
1478
+ fontSize: 15
1479
+ },
1480
+ secondary: {
1481
+ fontSize: 11,
1482
+ color: "text.primary"
1483
+ }
1818
1484
  },
1819
1485
  secondaryTypographyProps: {
1820
1486
  fontSize: 11,
1821
- color: i.text.secondary
1487
+ color: r.text.secondary
1822
1488
  }
1823
1489
  },
1824
1490
  styleOverrides: {
@@ -1838,7 +1504,7 @@ const ro = (e, o) => {
1838
1504
  lineHeight: "inherit",
1839
1505
  top: -1,
1840
1506
  // This fixes an issue where there is a 1px gap when the subheader sticks to the top while scrolling
1841
- backgroundColor: i.background.default
1507
+ backgroundColor: r.background.default
1842
1508
  }
1843
1509
  }
1844
1510
  },
@@ -1880,7 +1546,6 @@ const ro = (e, o) => {
1880
1546
  styleOverrides: {
1881
1547
  root: {
1882
1548
  borderRadius: 8
1883
- // backgroundImage: 'unset',
1884
1549
  }
1885
1550
  }
1886
1551
  },
@@ -1922,11 +1587,11 @@ const ro = (e, o) => {
1922
1587
  },
1923
1588
  MuiPickersToolbar: {
1924
1589
  styleOverrides: {
1925
- content: ({ theme: r }) => ({
1590
+ content: ({ theme: o }) => ({
1926
1591
  marginTop: 4,
1927
1592
  "& .MuiTypography-root": {
1928
- fontSize: r.typography.h3.fontSize,
1929
- lineHeight: r.typography.h3.lineHeight
1593
+ fontSize: o.typography.h3.fontSize,
1594
+ lineHeight: o.typography.h3.lineHeight
1930
1595
  }
1931
1596
  })
1932
1597
  }
@@ -1952,7 +1617,7 @@ const ro = (e, o) => {
1952
1617
  disableFocusRipple: !0
1953
1618
  },
1954
1619
  styleOverrides: {
1955
- root: ({ theme: r }) => ({
1620
+ root: ({ theme: o }) => ({
1956
1621
  width: 37,
1957
1622
  height: 20,
1958
1623
  padding: 0,
@@ -1963,7 +1628,7 @@ const ro = (e, o) => {
1963
1628
  "&.Mui-checked": {
1964
1629
  transform: "translateX(16px)",
1965
1630
  "& + .MuiSwitch-track": {
1966
- backgroundColor: r.palette.success.main,
1631
+ backgroundColor: o.palette.success.main,
1967
1632
  opacity: 1,
1968
1633
  border: 0
1969
1634
  },
@@ -1972,27 +1637,27 @@ const ro = (e, o) => {
1972
1637
  }
1973
1638
  },
1974
1639
  "&.Mui-disabled .MuiSwitch-thumb": {
1975
- color: r.palette.common.white
1640
+ color: o.palette.common.white
1976
1641
  },
1977
1642
  "&.Mui-disabled + .MuiSwitch-track": {
1978
- backgroundColor: r.palette.action.disabledBackground,
1643
+ backgroundColor: o.palette.action.disabledBackground,
1979
1644
  opacity: 1
1980
1645
  }
1981
1646
  },
1982
1647
  "& .MuiSwitch-input": {
1983
1648
  "&:focus-visible ~ .MuiSwitch-thumb": {
1984
- outline: `2px solid ${r.palette.info.main}`,
1649
+ outline: `2px solid ${o.palette.info.main}`,
1985
1650
  outlineOffset: 0
1986
1651
  }
1987
1652
  },
1988
1653
  "& .MuiSwitch-thumb": {
1989
1654
  boxSizing: "border-box",
1990
- backgroundColor: r.palette.background.paper,
1655
+ backgroundColor: o.palette.background.paper,
1991
1656
  width: 16,
1992
1657
  height: 16
1993
1658
  },
1994
1659
  "& .MuiSwitch-track": {
1995
- backgroundColor: r.palette.action.active,
1660
+ backgroundColor: o.palette.action.active,
1996
1661
  borderRadius: 20 / 2,
1997
1662
  opacity: 1
1998
1663
  }
@@ -2009,7 +1674,7 @@ const ro = (e, o) => {
2009
1674
  fontWeight: 600,
2010
1675
  "&.Mui-focusVisible": {
2011
1676
  outline: "none",
2012
- boxShadow: `inset 0 0 0 2px ${i.info.main}`,
1677
+ boxShadow: `inset 0 0 0 2px ${r.info.main}`,
2013
1678
  borderRadius: 4
2014
1679
  }
2015
1680
  }
@@ -2020,7 +1685,7 @@ const ro = (e, o) => {
2020
1685
  root: {
2021
1686
  borderBottomStyle: "solid",
2022
1687
  borderBottomWidth: 1,
2023
- borderColor: i.divider,
1688
+ borderColor: r.divider,
2024
1689
  marginBottom: 8
2025
1690
  }
2026
1691
  }
@@ -2034,7 +1699,7 @@ const ro = (e, o) => {
2034
1699
  },
2035
1700
  styleOverrides: {
2036
1701
  root: {
2037
- backgroundColor: i.background.paper
1702
+ backgroundColor: r.background.paper
2038
1703
  }
2039
1704
  }
2040
1705
  },
@@ -2045,29 +1710,29 @@ const ro = (e, o) => {
2045
1710
  },
2046
1711
  styleOverrides: {
2047
1712
  root: {
2048
- color: i.text.primary,
1713
+ color: r.text.primary,
2049
1714
  fontSize: 13,
2050
1715
  lineHeight: "16px",
2051
1716
  textTransform: "none",
2052
1717
  "&:focus-visible": {
2053
- outline: `2px solid ${i.info.main}`,
1718
+ outline: `2px solid ${r.info.main}`,
2054
1719
  outlineOffset: "2px"
2055
1720
  },
2056
1721
  "&:hover": {
2057
- backgroundColor: b(i.primary.main, i.mode === v.LIGHT ? 0.1 : 0.2),
2058
- borderColor: i.primary.main
1722
+ backgroundColor: m(r.primary.main, r.mode === y.LIGHT ? 0.1 : 0.2),
1723
+ borderColor: r.primary.main
2059
1724
  },
2060
1725
  "&.Mui-selected": {
2061
1726
  fontWeight: 600,
2062
- borderColor: i.primary.main,
1727
+ borderColor: r.primary.main,
2063
1728
  "&:hover": {
2064
- boxShadow: `inset 0px 0px 0px 2px ${i.primary.main}`
1729
+ boxShadow: `inset 0px 0px 0px 2px ${r.primary.main}`
2065
1730
  }
2066
1731
  },
2067
1732
  "& .MuiTouchRipple-root": {
2068
1733
  "& .MuiTouchRipple-ripple": {
2069
1734
  "& .MuiTouchRipple-child": {
2070
- backgroundColor: i.primary.main
1735
+ backgroundColor: r.primary.main
2071
1736
  }
2072
1737
  }
2073
1738
  }
@@ -2078,19 +1743,19 @@ const ro = (e, o) => {
2078
1743
  props: { color: "error" },
2079
1744
  style: {
2080
1745
  "&:hover": {
2081
- backgroundColor: b(i.error.main, i.mode === v.LIGHT ? 0.1 : 0.2),
2082
- borderColor: i.error.main
1746
+ backgroundColor: m(r.error.main, r.mode === y.LIGHT ? 0.1 : 0.2),
1747
+ borderColor: r.error.main
2083
1748
  },
2084
1749
  "&.Mui-selected": {
2085
- borderColor: i.error.main,
1750
+ borderColor: r.error.main,
2086
1751
  "&:hover": {
2087
- boxShadow: `inset 0px 0px 0px 2px ${i.error.main}`
1752
+ boxShadow: `inset 0px 0px 0px 2px ${r.error.main}`
2088
1753
  }
2089
1754
  },
2090
1755
  "& .MuiTouchRipple-root": {
2091
1756
  "& .MuiTouchRipple-ripple": {
2092
1757
  "& .MuiTouchRipple-child": {
2093
- backgroundColor: i.error.main
1758
+ backgroundColor: r.error.main
2094
1759
  }
2095
1760
  }
2096
1761
  }
@@ -2100,22 +1765,22 @@ const ro = (e, o) => {
2100
1765
  props: { color: "standard" },
2101
1766
  style: {
2102
1767
  "&:hover": {
2103
- backgroundColor: b(
2104
- i.secondary.main,
2105
- i.mode === v.LIGHT ? 0.1 : 0.2
1768
+ backgroundColor: m(
1769
+ r.secondary.main,
1770
+ r.mode === y.LIGHT ? 0.1 : 0.2
2106
1771
  ),
2107
- borderColor: i.secondary.main
1772
+ borderColor: r.secondary.main
2108
1773
  },
2109
1774
  "&.Mui-selected": {
2110
- borderColor: i.secondary.main,
1775
+ borderColor: r.secondary.main,
2111
1776
  "&:hover": {
2112
- boxShadow: `inset 0px 0px 0px 2px ${i.secondary.main}`
1777
+ boxShadow: `inset 0px 0px 0px 2px ${r.secondary.main}`
2113
1778
  }
2114
1779
  },
2115
1780
  "& .MuiTouchRipple-root": {
2116
1781
  "& .MuiTouchRipple-ripple": {
2117
1782
  "& .MuiTouchRipple-child": {
2118
- backgroundColor: i.secondary.main
1783
+ backgroundColor: r.secondary.main
2119
1784
  }
2120
1785
  }
2121
1786
  }
@@ -2142,51 +1807,33 @@ const ro = (e, o) => {
2142
1807
  });
2143
1808
  };
2144
1809
  export {
2145
- S0 as AccountsFilledIcon,
2146
- I0 as AccountsIcon,
2147
- v0 as ArrowLeftIcon,
2148
- H0 as AttentionFilledIcon,
2149
- f as BaseIcon,
2150
- $0 as BottomSheetTransition,
2151
- y0 as CalendarIcon,
1810
+ D as BaseIcon,
1811
+ Ro as BottomSheetTransition,
2152
1812
  g as CategoryGuids,
2153
- Pe as CategoryIcon,
2154
- Ne as CategoryIconList,
2155
- De as CategoryIconVariants,
2156
- O0 as CheckmarkFilledIcon,
2157
- F0 as ChevronDownIcon,
2158
- k0 as ChevronLeftIcon,
2159
- L0 as ChevronRightIcon,
2160
- D0 as CloseIcon,
2161
- G0 as DateRangePicker,
2162
- Be as DialogFooter,
2163
- Y0 as DialogHeader,
2164
- X0 as Drawer,
2165
- N0 as EditIcon,
2166
- w0 as FilterIcon,
2167
- Be as Footer,
2168
- ze as H1,
2169
- U0 as H2,
2170
- W0 as H3,
2171
- P0 as HeartIcon,
2172
- We as INTER,
2173
- M as Icon,
2174
- Le as IconWeight,
2175
- K0 as InstitutionLogo,
2176
- B0 as MXLogoCopyrightIcon,
2177
- z0 as MXLogoFilledIcon,
2178
- _0 as MXLogoIcon,
2179
- V0 as MXLogoOutlineIcon,
2180
- j0 as MerchantLogo,
2181
- Z0 as P,
2182
- oo as SelectionBox,
2183
- O as TARGETS,
2184
- P as THEMES,
2185
- k as Text,
2186
- Q0 as TextField,
2187
- J0 as Toast,
2188
- q0 as TokenProvider,
2189
- ro as createMXTheme,
2190
- eo as useTokens
1813
+ Ie as CategoryIcon,
1814
+ ye as CategoryIconList,
1815
+ Ae as CategoryIconVariants,
1816
+ xo as DateRangePicker,
1817
+ ve as DialogFooter,
1818
+ Ao as DialogHeader,
1819
+ yo as Drawer,
1820
+ ve as Footer,
1821
+ Fe as H1,
1822
+ Mo as H2,
1823
+ So as H3,
1824
+ we as INTER,
1825
+ R as Icon,
1826
+ Oo as InstitutionLogo,
1827
+ mo as MXLogoCopyrightIcon,
1828
+ bo as MXLogoFilledIcon,
1829
+ fo as MXLogoIcon,
1830
+ To as MXLogoOutlineIcon,
1831
+ Io as MerchantLogo,
1832
+ Co as P,
1833
+ Fo as SelectionBox,
1834
+ v as Text,
1835
+ Eo as TextField,
1836
+ vo as Toast,
1837
+ No as createMXTheme
2191
1838
  };
2192
1839
  //# sourceMappingURL=index.es.js.map