@mxenabled/mxui 1.3.1-alpha.bb1 → 1.4.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/index.es.js CHANGED
@@ -1,41 +1,41 @@
1
1
  import { jsx as i, jsxs as A } from "react/jsx-runtime";
2
- import f from "react";
3
- import y from "@mui/material/Stack";
4
- import { useTheme as F, createTheme as $ } from "@mui/material/styles";
5
- import { Icon as e0, Close as o0 } from "@mxenabled/mx-icons";
6
- import { endOfMonth as z } from "date-fns/endOfMonth";
7
- import { endOfYear as r0 } from "date-fns/endOfYear";
8
- import { startOfToday as t0 } from "date-fns/startOfToday";
9
- import { startOfMonth as V } from "date-fns/startOfMonth";
10
- import { startOfYear as G } from "date-fns/startOfYear";
11
- import { subDays as U } from "date-fns/subDays";
12
- import { subMonths as i0 } from "date-fns/subMonths";
13
- import { subYears as a0 } from "date-fns/subYears";
14
- import n0 from "@mui/material/useMediaQuery";
15
- import { LocalizationProvider as l0, StaticDateRangePicker as c0 } from "@mui/x-date-pickers-pro";
16
- import { AdapterDateFns as s0 } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
17
- import W from "@mui/material/Box";
18
- import d0 from "@mui/material/ToggleButton";
19
- import u0 from "@mui/material/ToggleButtonGroup";
20
- import Z from "@mui/material/Slide";
21
- import _ from "@mui/material/Button";
22
- import K from "@mui/material/IconButton";
23
- import h0 from "@mui/material/Typography";
24
- import p0 from "@mui/material/Drawer";
25
- import g0 from "@mui/material/TextField";
26
- import m0 from "@mui/material/Snackbar";
27
- import f0 from "@mui/material/Alert";
28
- import { light as Y, buildTheme as P, dark as b0 } from "@mxenabled/design-tokens";
29
- import { darken as L, lighten as x, alpha as b, getContrastRatio as T0 } from "@mui/material";
30
- import { circularProgressClasses as C0 } from "@mui/material/CircularProgress";
31
- import { LicenseInfo as R0 } from "@mui/x-license-pro";
32
- import A0 from "@mui/material/styles/createPalette";
33
- import M0 from "@mui/material/styles/createTypography";
34
- const m = ({
2
+ import C from "react";
3
+ import D from "@mui/material/Stack";
4
+ import { useTheme as y, createTheme as ee } from "@mui/material/styles";
5
+ import { Icon as ge, Close as fe } from "@mxenabled/mx-icons";
6
+ import { endOfMonth as K } from "date-fns/endOfMonth";
7
+ import { endOfYear as be } from "date-fns/endOfYear";
8
+ import { startOfToday as Te } from "date-fns/startOfToday";
9
+ import { startOfMonth as X } from "date-fns/startOfMonth";
10
+ import { startOfYear as Y } from "date-fns/startOfYear";
11
+ import { subDays as j } from "date-fns/subDays";
12
+ import { subMonths as Ce } from "date-fns/subMonths";
13
+ import { subYears as Ae } from "date-fns/subYears";
14
+ import Re from "@mui/material/useMediaQuery";
15
+ import { LocalizationProvider as Me, StaticDateRangePicker as Ee } from "@mui/x-date-pickers-pro";
16
+ import { AdapterDateFns as Se } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
17
+ import oe from "@mui/material/Box";
18
+ import xe from "@mui/material/ToggleButton";
19
+ import Ie from "@mui/material/ToggleButtonGroup";
20
+ import re from "@mui/material/Slide";
21
+ import U from "@mui/material/Button";
22
+ import te from "@mui/material/IconButton";
23
+ import ve from "@mui/material/Typography";
24
+ import He from "@mui/material/Drawer";
25
+ import ye from "@mui/material/TextField";
26
+ import Fe from "@mui/material/Snackbar";
27
+ import Oe from "@mui/material/Alert";
28
+ import { light as ie, buildTheme as G, dark as Le } from "@mxenabled/design-tokens";
29
+ import { Paper as De, Box as Q, Typography as J, Radio as q, alpha as T, darken as w, lighten as O } from "@mui/material";
30
+ import { circularProgressClasses as Ne } from "@mui/material/CircularProgress";
31
+ import { LicenseInfo as ke } from "@mui/x-license-pro";
32
+ import we from "@mui/material/styles/createPalette";
33
+ import _e from "@mui/material/styles/createTypography";
34
+ const f = ({
35
35
  children: e,
36
- height: r,
37
- size: o = 16,
38
- viewBox: n = "0 0 16 16",
36
+ height: o,
37
+ size: n = 16,
38
+ viewBox: r = "0 0 16 16",
39
39
  width: a
40
40
  }) => /* @__PURE__ */ i(
41
41
  "svg",
@@ -43,64 +43,64 @@ const m = ({
43
43
  "aria-hidden": !0,
44
44
  className: "mx-kmui-icon",
45
45
  focusable: !1,
46
- height: r || o,
47
- viewBox: n,
48
- width: a || o,
46
+ height: o || n,
47
+ viewBox: r,
48
+ width: a || n,
49
49
  xmlns: "http://www.w3.org/2000/svg",
50
50
  children: e
51
51
  }
52
52
  );
53
- var E0 = /* @__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))(E0 || {});
53
+ var Pe = /* @__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))(Pe || {});
54
54
  const R = ({
55
55
  color: e,
56
- fill: r = !1,
57
- name: o,
58
- size: n = 20,
56
+ fill: o = !1,
57
+ name: n,
58
+ size: r = 20,
59
59
  sx: a,
60
60
  weight: s = 300,
61
- ...l
61
+ ...c
62
62
  }) => /* @__PURE__ */ i(
63
- e0,
63
+ ge,
64
64
  {
65
65
  color: e,
66
- fill: r,
67
- name: o,
68
- size: n,
66
+ fill: o,
67
+ name: n,
68
+ size: r,
69
69
  sx: a,
70
70
  weight: s,
71
- ...l
71
+ ...c
72
72
  }
73
- ), fe = ({
73
+ ), L0 = ({
74
74
  color: e = "currentColor",
75
- ...r
76
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(m, { ...r, children: /* @__PURE__ */ i(
75
+ ...o
76
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
77
77
  "path",
78
78
  {
79
79
  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",
80
80
  fill: e
81
81
  }
82
- ) })), be = ({
82
+ ) })), D0 = ({
83
83
  color: e = "currentColor",
84
- ...r
85
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(m, { ...r, children: /* @__PURE__ */ i(
84
+ ...o
85
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
86
86
  "path",
87
87
  {
88
88
  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",
89
89
  fill: e
90
90
  }
91
- ) })), Te = ({
91
+ ) })), N0 = ({
92
92
  color: e = "currentColor",
93
- ...r
94
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(m, { ...r, children: /* @__PURE__ */ i(
93
+ ...o
94
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
95
95
  "path",
96
96
  {
97
97
  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",
98
98
  fill: e
99
99
  }
100
- ) })), Ce = ({
100
+ ) })), k0 = ({
101
101
  color: e = "currentColor",
102
- ...r
103
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(m, { ...r, children: /* @__PURE__ */ i(
102
+ ...o
103
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
104
104
  "path",
105
105
  {
106
106
  clipRule: "evenodd",
@@ -108,91 +108,91 @@ const R = ({
108
108
  fill: e,
109
109
  fillRule: "evenodd"
110
110
  }
111
- ) })), Re = ({
111
+ ) })), w0 = ({
112
112
  color: e = "currentColor",
113
- ...r
114
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(m, { ...r, children: /* @__PURE__ */ i(
113
+ ...o
114
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
115
115
  "path",
116
116
  {
117
117
  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",
118
118
  fill: e
119
119
  }
120
- ) })), Ae = ({
120
+ ) })), _0 = ({
121
121
  color: e = "currentColor",
122
- ...r
123
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(m, { ...r, children: /* @__PURE__ */ i(
122
+ ...o
123
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
124
124
  "path",
125
125
  {
126
126
  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",
127
127
  fill: e
128
128
  }
129
- ) })), Me = ({
129
+ ) })), P0 = ({
130
130
  color: e = "currentColor",
131
- ...r
132
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(m, { ...r, children: /* @__PURE__ */ i(
131
+ ...o
132
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
133
133
  "path",
134
134
  {
135
135
  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",
136
136
  fill: e
137
137
  }
138
- ) })), Ee = ({
138
+ ) })), B0 = ({
139
139
  color: e = "currentColor",
140
- ...r
141
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(m, { ...r, children: /* @__PURE__ */ i(
140
+ ...o
141
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
142
142
  "path",
143
143
  {
144
144
  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",
145
145
  fill: e
146
146
  }
147
- ) })), Se = ({
147
+ ) })), z0 = ({
148
148
  color: e = "currentColor",
149
- ...r
150
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(m, { ...r, children: /* @__PURE__ */ i(
149
+ ...o
150
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
151
151
  "path",
152
152
  {
153
153
  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",
154
154
  fill: e
155
155
  }
156
- ) })), Ie = ({
156
+ ) })), V0 = ({
157
157
  color: e = "currentColor",
158
- ...r
159
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(m, { ...r, children: /* @__PURE__ */ i(
158
+ ...o
159
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
160
160
  "path",
161
161
  {
162
162
  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",
163
163
  fill: e
164
164
  }
165
- ) })), ve = ({
165
+ ) })), U0 = ({
166
166
  color: e = "currentColor",
167
- ...r
168
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(m, { ...r, children: /* @__PURE__ */ i(
167
+ ...o
168
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
169
169
  "path",
170
170
  {
171
171
  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",
172
172
  fill: e
173
173
  }
174
- ) })), He = ({
174
+ ) })), G0 = ({
175
175
  color: e = "currentColor",
176
- ...r
177
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(m, { ...r, children: /* @__PURE__ */ i(
176
+ ...o
177
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
178
178
  "path",
179
179
  {
180
180
  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",
181
181
  fill: e
182
182
  }
183
- ) })), xe = ({
183
+ ) })), $0 = ({
184
184
  color: e = "currentColor",
185
- ...r
186
- }) => (console.warn('<HeartIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(m, { ...r, children: /* @__PURE__ */ i(
185
+ ...o
186
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
187
187
  "path",
188
188
  {
189
189
  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",
190
190
  fill: e
191
191
  }
192
- ) })), Oe = ({
192
+ ) })), W0 = ({
193
193
  color: e = "currentColor",
194
- ...r
195
- }) => /* @__PURE__ */ A(m, { ...r, children: [
194
+ ...o
195
+ }) => /* @__PURE__ */ A(f, { ...o, children: [
196
196
  /* @__PURE__ */ i(
197
197
  "path",
198
198
  {
@@ -207,10 +207,10 @@ const R = ({
207
207
  fill: e
208
208
  }
209
209
  )
210
- ] }), ye = ({
210
+ ] }), Z0 = ({
211
211
  color: e = "currentColor",
212
- ...r
213
- }) => /* @__PURE__ */ A(m, { ...r, children: [
212
+ ...o
213
+ }) => /* @__PURE__ */ A(f, { ...o, children: [
214
214
  /* @__PURE__ */ i(
215
215
  "path",
216
216
  {
@@ -243,10 +243,10 @@ const R = ({
243
243
  fillRule: "evenodd"
244
244
  }
245
245
  )
246
- ] }), Fe = ({
246
+ ] }), K0 = ({
247
247
  color: e = "currentColor",
248
- ...r
249
- }) => /* @__PURE__ */ i(m, { ...r, children: /* @__PURE__ */ i(
248
+ ...o
249
+ }) => /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
250
250
  "path",
251
251
  {
252
252
  clipRule: "evenodd",
@@ -254,10 +254,10 @@ const R = ({
254
254
  fill: e,
255
255
  fillRule: "evenodd"
256
256
  }
257
- ) }), De = ({
257
+ ) }), X0 = ({
258
258
  color: e = "currentColor",
259
- ...r
260
- }) => /* @__PURE__ */ A(m, { ...r, children: [
259
+ ...o
260
+ }) => /* @__PURE__ */ A(f, { ...o, children: [
261
261
  /* @__PURE__ */ i(
262
262
  "path",
263
263
  {
@@ -282,164 +282,164 @@ const R = ({
282
282
  }
283
283
  )
284
284
  ] });
285
- 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 || {}), S0 = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(S0 || {});
286
- const X = {
287
- guid: g.Uncategorized,
285
+ var m = /* @__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))(m || {}), Be = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(Be || {});
286
+ const ne = {
287
+ guid: m.Uncategorized,
288
288
  colorName: "uncategorized",
289
289
  icon: "category"
290
- }, I0 = [
290
+ }, ze = [
291
291
  {
292
- guid: g.AutoTransport,
292
+ guid: m.AutoTransport,
293
293
  colorName: "autoTransport",
294
294
  icon: "directions_car"
295
295
  },
296
296
  {
297
- guid: g.BillsUtilities,
297
+ guid: m.BillsUtilities,
298
298
  colorName: "billsUtilities",
299
299
  icon: "electrical_services"
300
300
  },
301
301
  {
302
- guid: g.BusinessServices,
302
+ guid: m.BusinessServices,
303
303
  colorName: "businessServices",
304
304
  icon: "business_center"
305
305
  },
306
306
  {
307
- guid: g.Education,
307
+ guid: m.Education,
308
308
  colorName: "education",
309
309
  icon: "school"
310
310
  },
311
311
  {
312
- guid: g.Entertainment,
312
+ guid: m.Entertainment,
313
313
  colorName: "entertainment",
314
314
  icon: "stadium"
315
315
  },
316
316
  {
317
- guid: g.FeesCharges,
317
+ guid: m.FeesCharges,
318
318
  colorName: "feesCharges",
319
319
  icon: "problem"
320
320
  },
321
321
  {
322
- guid: g.Financial,
322
+ guid: m.Financial,
323
323
  colorName: "financial",
324
324
  icon: "price_check"
325
325
  },
326
326
  {
327
- guid: g.FoodDining,
327
+ guid: m.FoodDining,
328
328
  colorName: "foodDining",
329
329
  icon: "grocery"
330
330
  },
331
331
  {
332
- guid: g.GiftsDonations,
332
+ guid: m.GiftsDonations,
333
333
  colorName: "giftsDonations",
334
334
  icon: "featured_seasonal_and_gifts"
335
335
  },
336
336
  {
337
- guid: g.HealthFitness,
337
+ guid: m.HealthFitness,
338
338
  colorName: "healthFitness",
339
339
  icon: "ecg_heart"
340
340
  },
341
341
  {
342
- guid: g.Home,
342
+ guid: m.Home,
343
343
  colorName: "home",
344
344
  icon: "cottage"
345
345
  },
346
346
  {
347
- guid: g.Income,
347
+ guid: m.Income,
348
348
  colorName: "income",
349
349
  icon: "monetization_on"
350
350
  },
351
351
  {
352
- guid: g.Investments,
352
+ guid: m.Investments,
353
353
  colorName: "investments",
354
354
  icon: "bid_landscape"
355
355
  },
356
356
  {
357
- guid: g.Kids,
357
+ guid: m.Kids,
358
358
  colorName: "kids",
359
359
  icon: "face"
360
360
  },
361
361
  {
362
- guid: g.PersonalCare,
362
+ guid: m.PersonalCare,
363
363
  colorName: "personalCare",
364
364
  icon: "volunteer_activism"
365
365
  },
366
366
  {
367
- guid: g.Pets,
367
+ guid: m.Pets,
368
368
  colorName: "pets",
369
369
  icon: "pet_supplies"
370
370
  },
371
371
  {
372
- guid: g.Shopping,
372
+ guid: m.Shopping,
373
373
  colorName: "shopping",
374
374
  icon: "shopping_cart"
375
375
  },
376
376
  {
377
- guid: g.Taxes,
377
+ guid: m.Taxes,
378
378
  colorName: "taxes",
379
379
  icon: "heap_snapshot_large"
380
380
  },
381
381
  {
382
- guid: g.Transfer,
382
+ guid: m.Transfer,
383
383
  colorName: "transfer",
384
384
  icon: "compare_arrows"
385
385
  },
386
386
  {
387
- guid: g.Travel,
387
+ guid: m.Travel,
388
388
  colorName: "travel",
389
389
  icon: "airplane_ticket"
390
390
  },
391
- X
392
- ], v0 = 0.625, H0 = ({
391
+ ne
392
+ ], Ve = 0.625, Ue = ({
393
393
  categoryGuid: e,
394
- icon_ratio: r = v0,
395
- size: o = 32,
396
- sx: n = {},
394
+ icon_ratio: o = Ve,
395
+ size: n = 32,
396
+ sx: r = {},
397
397
  variant: a = "filled"
398
398
  }) => {
399
- const s = F(), l = f.useMemo(
400
- () => I0.find((u) => u.guid === e) ?? X,
399
+ const s = y(), c = C.useMemo(
400
+ () => ze.find((d) => d.guid === e) ?? ne,
401
401
  [e]
402
- ), c = s.palette.categories[l.colorName];
402
+ ), l = s.palette.categories[c.colorName];
403
403
  return /* @__PURE__ */ i(
404
- y,
404
+ D,
405
405
  {
406
406
  alignItems: "center",
407
407
  bgcolor: () => {
408
- let u = c;
409
- return a === "twotone" && (u = `${u}20`), a === "transparent" || a === "basic" ? "transparent" : u;
408
+ let d = l;
409
+ return a === "twotone" && (d = `${d}20`), a === "transparent" || a === "basic" ? "transparent" : d;
410
410
  },
411
411
  borderRadius: 1,
412
412
  color: () => {
413
- const u = a === "filled" ? s.palette.common.white : c;
414
- return a === "basic" ? s.palette.text.primary : u;
413
+ const d = a === "filled" ? s.palette.common.white : l;
414
+ return a === "basic" ? s.palette.text.primary : d;
415
415
  },
416
- height: o,
416
+ height: n,
417
417
  justifyContent: "center",
418
- sx: [...Array.isArray(n) ? n : [n]],
419
- width: o,
420
- children: /* @__PURE__ */ i(R, { name: l.icon, size: o * r })
418
+ sx: [...Array.isArray(r) ? r : [r]],
419
+ width: n,
420
+ children: /* @__PURE__ */ i(R, { name: c.icon, size: n * o })
421
421
  }
422
422
  );
423
- }, x0 = ({
423
+ }, Ge = ({
424
424
  items: e,
425
- onChange: r,
426
- isValid: o,
427
- selected: n
425
+ onChange: o,
426
+ isValid: n,
427
+ selected: r
428
428
  }) => {
429
- const a = F(), s = e?.map((l) => {
430
- const c = l.getValue({ isValid: o });
429
+ const a = y(), s = e?.map((c) => {
430
+ const l = c.getValue({ isValid: n });
431
431
  return {
432
- label: l.label,
432
+ label: c.label,
433
433
  onClick: () => {
434
- r(c, "accept", l);
434
+ o(l, "accept", c);
435
435
  },
436
- disabled: !o(c)
436
+ disabled: !n(l)
437
437
  };
438
438
  });
439
- return /* @__PURE__ */ i(W, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ i(u0, { color: "primary", orientation: "vertical", value: n, children: s?.map((l) => /* @__PURE__ */ i(
440
- d0,
439
+ return /* @__PURE__ */ i(oe, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ i(Ie, { color: "primary", orientation: "vertical", value: r, children: s?.map((c) => /* @__PURE__ */ i(
440
+ xe,
441
441
  {
442
- onClick: l.onClick,
442
+ onClick: c.onClick,
443
443
  sx: {
444
444
  borderWidth: 1,
445
445
  color: "secondary.main",
@@ -459,56 +459,56 @@ const X = {
459
459
  color: "primary"
460
460
  }
461
461
  },
462
- value: l.label,
463
- children: l.label
462
+ value: c.label,
463
+ children: c.label
464
464
  },
465
- l.label
465
+ c.label
466
466
  )) }) });
467
- }, Le = ({
467
+ }, Y0 = ({
468
468
  copy: e,
469
- dateRange: r,
470
- onRangeChanged: o,
471
- selectedShortcut: n = e.dateRangeThisMonth,
469
+ dateRange: o,
470
+ onRangeChanged: n,
471
+ selectedShortcut: r = e.dateRangeThisMonth,
472
472
  sx: a = {}
473
473
  }) => {
474
- const s = F(), l = n0(s.breakpoints.down("sm")), c = f.useMemo(() => {
475
- const t = t0(), u = i0(t, 1), T = a0(t, 1);
474
+ const s = y(), c = Re(s.breakpoints.down("sm")), l = C.useMemo(() => {
475
+ const u = Te(), d = Ce(u, 1), b = Ae(u, 1);
476
476
  return [
477
477
  {
478
478
  label: e.dateRangeThisMonth,
479
- getValue: () => [V(t), z(t)]
479
+ getValue: () => [X(u), K(u)]
480
480
  },
481
481
  {
482
482
  label: e.dateRangeLastMonth,
483
- getValue: () => [V(u), z(u)]
483
+ getValue: () => [X(d), K(d)]
484
484
  },
485
485
  {
486
486
  label: e.dateRangeLast30Days,
487
- getValue: () => [U(t, 30), t]
487
+ getValue: () => [j(u, 30), u]
488
488
  },
489
489
  {
490
490
  label: e.dateRangeLast90Days,
491
- getValue: () => [U(t, 90), t]
491
+ getValue: () => [j(u, 90), u]
492
492
  },
493
493
  {
494
494
  label: e.dateRangeYTD,
495
- getValue: () => [G(t), t]
495
+ getValue: () => [Y(u), u]
496
496
  },
497
497
  {
498
498
  label: e.dateRangeLastYear,
499
- getValue: () => [G(T), r0(T)]
499
+ getValue: () => [Y(b), be(b)]
500
500
  },
501
501
  {
502
502
  label: e.dateRangeCustom,
503
- getValue: () => [t, t]
503
+ getValue: () => [u, u]
504
504
  }
505
505
  ];
506
- }, [e]), d = (t, u) => {
507
- const T = u.shortcut;
508
- o?.(t, T ? T.label : e.dateRangeCustom);
506
+ }, [e]), t = (u, d) => {
507
+ const b = d.shortcut;
508
+ n?.(u, b ? b.label : e.dateRangeCustom);
509
509
  };
510
- return /* @__PURE__ */ i(y, { gap: 16, m: 8, children: /* @__PURE__ */ i(l0, { dateAdapter: s0, children: /* @__PURE__ */ i(
511
- c0,
510
+ return /* @__PURE__ */ i(D, { gap: 16, m: 8, children: /* @__PURE__ */ i(Me, { dateAdapter: Se, children: /* @__PURE__ */ i(
511
+ Ee,
512
512
  {
513
513
  calendars: 1,
514
514
  localeText: {
@@ -516,12 +516,12 @@ const X = {
516
516
  end: e.dateRangeTo,
517
517
  toolbarTitle: e.dateRangeToolbarTitle
518
518
  },
519
- onChange: d,
519
+ onChange: t,
520
520
  showDaysOutsideCurrentMonth: !0,
521
521
  slotProps: {
522
522
  actionBar: { actions: [] },
523
523
  shortcuts: {
524
- items: l ? [] : c
524
+ items: c ? [] : l
525
525
  },
526
526
  toolbar: {
527
527
  toolbarFormat: "MMM d, yyyy"
@@ -529,26 +529,26 @@ const X = {
529
529
  },
530
530
  slots: {
531
531
  leftArrowIcon: () => /* @__PURE__ */ i(R, { name: "chevron_left", size: 28 }),
532
- shortcuts: (t) => /* @__PURE__ */ i(x0, { selected: n, ...t }),
532
+ shortcuts: (u) => /* @__PURE__ */ i(Ge, { selected: r, ...u }),
533
533
  rightArrowIcon: () => /* @__PURE__ */ i(R, { name: "chevron_right", size: 28 })
534
534
  },
535
535
  sx: { ...a },
536
- value: r
536
+ value: o
537
537
  }
538
538
  ) }) });
539
- }, Ne = f.forwardRef(function(r, o) {
540
- return /* @__PURE__ */ i(Z, { direction: "up", ref: o, ...r });
541
- }), O0 = ({
539
+ }, j0 = C.forwardRef(function(o, n) {
540
+ return /* @__PURE__ */ i(re, { direction: "up", ref: n, ...o });
541
+ }), $e = ({
542
542
  hasSecondaryAction: e = !0,
543
- isPrimaryDisabled: r,
544
- onPrimaryAction: o,
545
- onSecondaryAction: n,
543
+ isPrimaryDisabled: o,
544
+ onPrimaryAction: n,
545
+ onSecondaryAction: r,
546
546
  primaryColor: a = "primary",
547
547
  primaryText: s = "Save",
548
- secondaryColor: l = "primary",
549
- secondaryText: c = "Cancel"
548
+ secondaryColor: c = "primary",
549
+ secondaryText: l = "Cancel"
550
550
  }) => /* @__PURE__ */ A(
551
- y,
551
+ D,
552
552
  {
553
553
  direction: "row",
554
554
  gap: 16,
@@ -556,73 +556,73 @@ const X = {
556
556
  sx: { bgcolor: "background.paper", width: "100%", p: 24 },
557
557
  children: [
558
558
  e && /* @__PURE__ */ i(
559
- _,
559
+ U,
560
560
  {
561
- color: l,
562
- onClick: n,
563
- variant: o ? "outlined" : "contained",
564
- children: c
561
+ color: c,
562
+ onClick: r,
563
+ variant: n ? "outlined" : "contained",
564
+ children: l
565
565
  }
566
566
  ),
567
- o && /* @__PURE__ */ i(
568
- _,
567
+ n && /* @__PURE__ */ i(
568
+ U,
569
569
  {
570
570
  color: a,
571
- disabled: r,
572
- onClick: o,
571
+ disabled: o,
572
+ onClick: n,
573
573
  variant: "contained",
574
574
  children: s
575
575
  }
576
576
  )
577
577
  ]
578
578
  }
579
- ), D = ({
579
+ ), N = ({
580
580
  bold: e,
581
- className: r = "",
582
- children: o,
583
- color: n,
581
+ className: o = "",
582
+ children: n,
583
+ color: r,
584
584
  sx: a = {},
585
585
  truncate: s = !0,
586
- uppercase: l,
587
- ...c
586
+ uppercase: c,
587
+ ...l
588
588
  }) => {
589
- switch (c.variant) {
589
+ switch (l.variant) {
590
590
  case "Body":
591
- c.variant = "body1";
591
+ l.variant = "body1";
592
592
  break;
593
593
  case "Button":
594
- c.variant = "button";
594
+ l.variant = "button";
595
595
  break;
596
596
  case "H1":
597
- c.variant = "h1";
597
+ l.variant = "h1";
598
598
  break;
599
599
  case "H2":
600
- c.variant = "h2";
600
+ l.variant = "h2";
601
601
  break;
602
602
  case "H3":
603
- c.variant = "h3";
603
+ l.variant = "h3";
604
604
  break;
605
605
  case "Paragraph":
606
- c.variant = "subtitle1";
606
+ l.variant = "subtitle1";
607
607
  break;
608
608
  case "ParagraphSmall":
609
- c.variant = "subtitle2";
609
+ l.variant = "subtitle2";
610
610
  break;
611
611
  case "Small":
612
- c.variant = "body2";
612
+ l.variant = "body2";
613
613
  break;
614
614
  case "Tiny":
615
- c.variant = "tiny";
615
+ l.variant = "tiny";
616
616
  break;
617
617
  case "XSmall":
618
- c.variant = "caption";
618
+ l.variant = "caption";
619
619
  break;
620
620
  }
621
621
  return /* @__PURE__ */ i(
622
- h0,
622
+ ve,
623
623
  {
624
- className: `mx-kmui-text ${r}`,
625
- color: n,
624
+ className: `mx-kmui-text ${o}`,
625
+ color: r,
626
626
  sx: [
627
627
  e ? {
628
628
  fontWeight: 600
@@ -632,27 +632,27 @@ const X = {
632
632
  textOverflow: "ellipsis",
633
633
  whiteSpace: "nowrap"
634
634
  } : {},
635
- l ? {
635
+ c ? {
636
636
  textTransform: "uppercase"
637
637
  } : {},
638
638
  ...Array.isArray(a) ? a : [a]
639
639
  ],
640
- ...c,
641
- children: o
640
+ ...l,
641
+ children: n
642
642
  }
643
643
  );
644
- }, y0 = ({ className: e = "", children: r, ...o }) => /* @__PURE__ */ i(D, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...o, children: r }), ke = ({ className: e = "", children: r, ...o }) => /* @__PURE__ */ i(D, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...o, children: r }), we = ({ className: e = "", children: r, ...o }) => /* @__PURE__ */ i(D, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...o, children: r }), _e = ({ className: e = "", children: r, truncate: o, ...n }) => /* @__PURE__ */ i(
645
- D,
644
+ }, We = ({ className: e = "", children: o, ...n }) => /* @__PURE__ */ i(N, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...n, children: o }), Q0 = ({ className: e = "", children: o, ...n }) => /* @__PURE__ */ i(N, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...n, children: o }), J0 = ({ className: e = "", children: o, ...n }) => /* @__PURE__ */ i(N, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...n, children: o }), q0 = ({ className: e = "", children: o, truncate: n, ...r }) => /* @__PURE__ */ i(
645
+ N,
646
646
  {
647
647
  className: `mx-kmui-text p ${e}`,
648
648
  component: "p",
649
- truncate: o || !1,
649
+ truncate: n || !1,
650
650
  variant: "body1",
651
- ...n,
652
- children: r
651
+ ...r,
652
+ children: o
653
653
  }
654
- ), Pe = ({ copy: e, onClose: r }) => /* @__PURE__ */ A(
655
- y,
654
+ ), eo = ({ copy: e, onClose: o }) => /* @__PURE__ */ A(
655
+ D,
656
656
  {
657
657
  sx: {
658
658
  alignItems: "center",
@@ -662,155 +662,160 @@ const X = {
662
662
  py: 14
663
663
  },
664
664
  children: [
665
- /* @__PURE__ */ i(y0, { variant: "h3", children: e.title }),
666
- /* @__PURE__ */ i(K, { "aria-label": e.close_aria, onClick: r, sx: { mr: -12 }, children: /* @__PURE__ */ i(o0, {}) })
665
+ /* @__PURE__ */ i(We, { variant: "h3", children: e.title }),
666
+ /* @__PURE__ */ i(te, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ i(fe, {}) })
667
667
  ]
668
668
  }
669
- ), Be = ({
669
+ ), oo = ({
670
670
  className: e,
671
- disableSave: r,
672
- id: o,
673
- isOpen: n,
671
+ disableSave: o,
672
+ id: n,
673
+ isOpen: r,
674
674
  onClose: a,
675
675
  onSave: s,
676
- primaryText: l,
677
- secondaryText: c,
678
- children: d,
679
- ...t
676
+ primaryText: c,
677
+ secondaryText: l,
678
+ children: t,
679
+ ...u
680
680
  }) => /* @__PURE__ */ A(
681
- p0,
681
+ He,
682
682
  {
683
683
  anchor: "right",
684
684
  className: `mx-kmui-drawer ${e}`,
685
- id: o ?? void 0,
685
+ id: n ?? void 0,
686
686
  onClose: a,
687
- open: n,
687
+ open: r,
688
688
  variant: "temporary",
689
- ...t,
689
+ ...u,
690
690
  children: [
691
- d,
691
+ t,
692
692
  s && /* @__PURE__ */ i(
693
- O0,
693
+ $e,
694
694
  {
695
- isPrimaryDisabled: r,
695
+ isPrimaryDisabled: o,
696
696
  onPrimaryAction: s,
697
697
  onSecondaryAction: a,
698
- primaryText: l,
699
- secondaryText: c
698
+ primaryText: c,
699
+ secondaryText: l
700
700
  }
701
701
  )
702
702
  ]
703
703
  }
704
- ), j = 32, B = "https://content.moneydesktop.com/storage/MD_Assets", F0 = `${B}/serenity/default_institution_logo.png`, ze = ({
704
+ ), ae = 32, $ = "https://content.moneydesktop.com/storage/MD_Assets", Ze = `${$}/serenity/default_institution_logo.png`, ro = ({
705
705
  alt: e,
706
- institutionGuid: r,
707
- logoUrl: o,
708
- size: n = j,
706
+ institutionGuid: o,
707
+ logoUrl: n,
708
+ size: r = ae,
709
709
  ...a
710
710
  }) => /* @__PURE__ */ i(
711
711
  "img",
712
712
  {
713
713
  alt: e,
714
- height: n,
715
- onError: (s) => s.target.src = F0,
716
- src: o || `${B}/Ipad%20Logos/100x100/${r}_100x100.png`,
714
+ height: r,
715
+ onError: (s) => s.target.src = Ze,
716
+ src: n || `${$}/Ipad%20Logos/100x100/${o}_100x100.png`,
717
717
  style: {
718
718
  borderRadius: 4
719
719
  },
720
- width: n,
720
+ width: r,
721
721
  ...a
722
722
  }
723
- ), Ve = ({
723
+ ), to = ({
724
724
  alt: e = "",
725
- categoryGuid: r,
726
- merchantGuid: o,
727
- size: n = j,
725
+ categoryGuid: o,
726
+ merchantGuid: n,
727
+ size: r = ae,
728
728
  ...a
729
729
  }) => {
730
- const [s, l] = f.useState(!1), c = F();
731
- return /* @__PURE__ */ A(W, { display: "inline-block", position: "relative", ...a, children: [
732
- o && !s && /* @__PURE__ */ i(
730
+ const [s, c] = C.useState(!1), l = y();
731
+ return /* @__PURE__ */ A(oe, { display: "inline-block", position: "relative", ...a, children: [
732
+ n && !s && /* @__PURE__ */ i(
733
733
  "img",
734
734
  {
735
735
  alt: e,
736
736
  "aria-hidden": !e,
737
- height: n,
738
- onError: () => l(!0),
739
- src: `${B}/merchant_logos/${o}.png`,
737
+ height: r,
738
+ onError: () => c(!0),
739
+ src: `${$}/merchant_logos/${n}.png`,
740
740
  style: {
741
- backgroundColor: c.palette.common.white,
741
+ backgroundColor: l.palette.common.white,
742
742
  borderRadius: 4,
743
743
  boxSizing: "border-box",
744
744
  position: "absolute"
745
745
  },
746
- width: n
746
+ width: r
747
747
  }
748
748
  ),
749
- /* @__PURE__ */ i(H0, { categoryGuid: r, size: n })
749
+ /* @__PURE__ */ i(Ue, { categoryGuid: o, size: r })
750
750
  ] });
751
- }, Ge = ({
751
+ }, io = ({
752
752
  disabled: e = !1,
753
- label: r = "",
754
- shrink: o = !0,
755
- variant: n = "outlined",
753
+ label: o = "",
754
+ shrink: n = !0,
755
+ variant: r = "outlined",
756
756
  ...a
757
757
  }) => /* @__PURE__ */ i(
758
- g0,
758
+ ye,
759
759
  {
760
760
  InputLabelProps: {
761
- shrink: o
761
+ shrink: n
762
762
  },
763
763
  disabled: e,
764
- label: r,
765
- variant: n,
764
+ label: o,
765
+ variant: r,
766
766
  ...a
767
767
  }
768
768
  );
769
- function D0(e) {
770
- return /* @__PURE__ */ i(Z, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
769
+ function Ke(e) {
770
+ return /* @__PURE__ */ i(re, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
771
771
  }
772
- const Ue = ({
772
+ const no = ({
773
773
  open: e,
774
- handleClose: r,
775
- message: o,
776
- autoHideDuration: n = 3e3,
774
+ handleClose: o,
775
+ message: n,
776
+ autoHideDuration: r = 3e3,
777
777
  severity: a = "success",
778
778
  snackbarSx: s,
779
- showAction: l = !1,
780
- showClose: c = !1,
781
- actionText: d = "Undo",
782
- onActionClick: t,
783
- multiLine: u = !1
779
+ showAction: c = !1,
780
+ showClose: l = !1,
781
+ actionText: t = "Undo",
782
+ onActionClick: u,
783
+ multiLine: d = !1
784
784
  }) => {
785
- const T = F(), q = /* @__PURE__ */ A(
786
- y,
785
+ const b = y(), g = {
786
+ success: b.palette.success.dark,
787
+ error: b.palette.error.light,
788
+ info: b.palette.info.lighter,
789
+ warning: b.palette.warning.lighter
790
+ }, z = /* @__PURE__ */ A(
791
+ D,
787
792
  {
788
- alignItems: u ? "flex-end" : "center",
789
- direction: u ? "column-reverse" : "row",
793
+ alignItems: d ? "flex-end" : "center",
794
+ direction: d ? "column-reverse" : "row",
790
795
  justifyContent: (
791
796
  // eslint-disable-next-line no-nested-ternary
792
- u && l && c ? "space-between" : "flex-end"
797
+ d && c && l ? "space-between" : "flex-end"
793
798
  ),
794
799
  children: [
795
- l && /* @__PURE__ */ i(
796
- _,
800
+ c && /* @__PURE__ */ i(
801
+ U,
797
802
  {
798
803
  color: "inherit",
799
- onClick: t || r,
804
+ onClick: u || o,
800
805
  size: "small",
801
806
  sx: {
802
- color: T.palette.success.contrastText,
807
+ color: b.palette.success.contrastText,
803
808
  height: 44
804
809
  },
805
- children: d
810
+ children: t
806
811
  }
807
812
  ),
808
- c && /* @__PURE__ */ i(
809
- K,
813
+ l && /* @__PURE__ */ i(
814
+ te,
810
815
  {
811
816
  "aria-label": "close",
812
817
  color: "inherit",
813
- onClick: r,
818
+ onClick: o,
814
819
  sx: { height: 44, width: 44 },
815
820
  children: /* @__PURE__ */ i(R, { fill: !0, name: "close", size: 24, weight: 400 })
816
821
  }
@@ -819,35 +824,36 @@ const Ue = ({
819
824
  }
820
825
  );
821
826
  return /* @__PURE__ */ i(
822
- m0,
827
+ Fe,
823
828
  {
824
- TransitionComponent: D0,
829
+ TransitionComponent: Ke,
825
830
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
826
- autoHideDuration: n,
827
- onClose: r,
831
+ autoHideDuration: r,
832
+ onClose: o,
828
833
  open: e,
829
834
  sx: {
830
835
  ...s,
831
- width: u ? 400 : 325
836
+ width: d ? 400 : 325
832
837
  },
833
838
  children: /* @__PURE__ */ i(
834
- f0,
839
+ Oe,
835
840
  {
836
- action: q,
841
+ action: z,
837
842
  severity: a,
838
843
  sx: {
839
844
  display: "flex",
840
845
  alignItems: "stretch",
841
- minHeight: c && l && u ? 120 : 56,
842
- maxHeight: u ? 120 : 56,
846
+ minHeight: l && c && d ? 120 : 56,
847
+ maxHeight: d ? 120 : 56,
848
+ backgroundColor: (k) => k.palette.mode === "light" ? k.palette[a].main : g[a],
843
849
  width: "100%",
844
850
  "& .MuiAlert-icon": {
845
- alignSelf: u ? "flex-start" : "center"
851
+ alignSelf: d ? "flex-start" : "center"
846
852
  },
847
853
  "& .MuiAlert-message": {
848
- paddingTop: u ? 12 : 8,
849
- paddingBottom: u ? 12 : 8,
850
- alignSelf: u ? "flex-start" : "center"
854
+ paddingTop: d ? 12 : 8,
855
+ paddingBottom: d ? 12 : 8,
856
+ alignSelf: d ? "flex-start" : "center"
851
857
  },
852
858
  "& .MuiAlert-action": {
853
859
  alignItems: "stretch",
@@ -856,69 +862,170 @@ const Ue = ({
856
862
  },
857
863
  variant: "filled",
858
864
  children: /* @__PURE__ */ i(
859
- D,
865
+ N,
860
866
  {
861
867
  sx: {
862
- lineHeight: T.typography.body1.lineHeight,
863
- whiteSpace: u ? "normal" : "nowrap",
864
- overflow: u ? "visible" : "hidden",
865
- textOverflow: u ? "clip" : "ellipsis"
868
+ lineHeight: b.typography.body1.lineHeight,
869
+ whiteSpace: d ? "normal" : "nowrap",
870
+ overflow: d ? "visible" : "hidden",
871
+ textOverflow: d ? "clip" : "ellipsis"
866
872
  },
867
- truncate: !u,
868
- children: o
873
+ truncate: !d,
874
+ children: n
869
875
  }
870
876
  )
871
877
  }
872
878
  )
873
879
  }
874
880
  );
875
- }, O = {
881
+ }, L = {
876
882
  REACT: "react",
877
883
  REACT_NATIVE: "react_native",
878
884
  NATIVE: "native"
879
- }, k = {
885
+ }, P = {
880
886
  LIGHT: "light",
881
887
  DARK: "dark"
882
- }, Q = f.createContext(Y), J = f.createContext(
883
- P(k.LIGHT, O.REACT_NATIVE)
884
- ), $e = ({
888
+ }, le = C.createContext(ie), ce = C.createContext(
889
+ G(P.LIGHT, L.REACT_NATIVE)
890
+ ), ao = ({
885
891
  children: e,
886
- target: r = O.REACT,
887
- theme: o = k.LIGHT,
888
- tokenOverrides: n
892
+ target: o = L.REACT,
893
+ theme: n = P.LIGHT,
894
+ tokenOverrides: r
889
895
  }) => {
890
- const [a, s] = f.useState(o === k.LIGHT ? Y : b0), l = f.useMemo(() => ({
891
- ...n
892
- }), [n]);
893
- return f.useEffect(() => {
894
- const c = P(o, r, { ...l });
895
- s(c);
896
- }, [o, r, l]), r === O.REACT ? /* @__PURE__ */ i(Q.Provider, { value: a, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ i(J.Provider, { value: a, children: e }));
897
- }, We = (e = O.REACT, r = {}) => {
898
- const o = e === O.REACT ? Q : J, n = f.useContext(o);
899
- return n || P(k.LIGHT, e, { ...r });
896
+ const [a, s] = C.useState(n === P.LIGHT ? ie : Le), c = C.useMemo(() => ({
897
+ ...r
898
+ }), [r]);
899
+ return C.useEffect(() => {
900
+ const l = G(n, o, { ...c });
901
+ s(l);
902
+ }, [n, o, c]), o === L.REACT ? /* @__PURE__ */ i(le.Provider, { value: a, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ i(ce.Provider, { value: a, children: e }));
903
+ }, lo = (e = L.REACT, o = {}) => {
904
+ const n = e === L.REACT ? le : ce, r = C.useContext(n);
905
+ return r || G(P.LIGHT, e, { ...o });
906
+ }, co = ({
907
+ component: e = q,
908
+ variant: o = "outlined",
909
+ selected: n,
910
+ onChange: r,
911
+ headline: a,
912
+ message: s,
913
+ name: c,
914
+ value: l,
915
+ disabled: t = !1,
916
+ error: u = !1,
917
+ icon: d = !1,
918
+ sx: b = {}
919
+ }) => {
920
+ const g = y(), z = e, k = () => {
921
+ if (!t && r && l) {
922
+ const Z = e === q ? !0 : !n;
923
+ r({
924
+ target: { value: l, checked: Z }
925
+ }, Z);
926
+ }
927
+ }, W = () => u ? g.palette.error.main : n ? T(g.palette.primary.main, 0.5) : g.palette.border.main, F = () => g.palette.background.paper, se = () => n ? "2px" : "1px", de = () => {
928
+ if (!t)
929
+ return u ? g.palette.error.main : T(g.palette.primary.main, 0.5);
930
+ }, ue = () => t || u ? F() : T(g.palette.primary.main, 0.1), pe = () => {
931
+ if (!t)
932
+ return u ? g.palette.error.main : T(g.palette.primary.main, 0.5);
933
+ }, he = () => t || u ? F() : T(g.palette.primary.main, 0.3), me = () => t ? W() : u ? g.palette.error.main : g.palette.info.main, V = () => !!(o === "outlined" || o === "elevation" && (u || n));
934
+ return /* @__PURE__ */ A(
935
+ De,
936
+ {
937
+ elevation: o === "elevation" ? 1 : 0,
938
+ onClick: k,
939
+ sx: {
940
+ display: "flex",
941
+ padding: "6px 16px",
942
+ alignItems: "flex-start",
943
+ justifyContent: "space-between",
944
+ borderRadius: g.shape.borderRadius / 2,
945
+ mb: 16,
946
+ cursor: t ? "not-allowed" : "pointer",
947
+ opacity: t ? 0.6 : 1,
948
+ backgroundColor: F(),
949
+ border: V() ? `${se()} solid ${W()}` : "none",
950
+ transition: g.transitions.create(["border-color", "box-shadow", "background-color"], {
951
+ duration: g.transitions.duration.short
952
+ }),
953
+ "&:hover": {
954
+ borderColor: V() ? de() : void 0,
955
+ backgroundColor: ue()
956
+ },
957
+ "&:active": {
958
+ borderColor: V() ? pe() : void 0,
959
+ backgroundColor: he()
960
+ },
961
+ "&:focus-visible": {
962
+ outline: `2px solid ${me()}`,
963
+ outlineOffset: "2px"
964
+ },
965
+ ...b
966
+ },
967
+ tabIndex: 0,
968
+ variant: o,
969
+ children: [
970
+ d && /* @__PURE__ */ i(
971
+ Q,
972
+ {
973
+ sx: {
974
+ mr: 16,
975
+ mt: "8px",
976
+ flexShrink: 0
977
+ },
978
+ children: d
979
+ }
980
+ ),
981
+ /* @__PURE__ */ A(Q, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
982
+ a && /* @__PURE__ */ i(J, { fontWeight: 600, sx: { lineHeight: "24px" }, variant: "body1", children: a }),
983
+ /* @__PURE__ */ i(J, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: s })
984
+ ] }),
985
+ /* @__PURE__ */ i(
986
+ z,
987
+ {
988
+ checked: n,
989
+ disabled: t,
990
+ name: c,
991
+ onChange: r,
992
+ sx: {
993
+ p: 0,
994
+ ml: 16,
995
+ mt: "8px",
996
+ flexShrink: 0,
997
+ "& .MuiSvgIcon-root": {
998
+ fontSize: "20px"
999
+ }
1000
+ },
1001
+ value: l
1002
+ }
1003
+ )
1004
+ ]
1005
+ }
1006
+ );
900
1007
  }, H = {
901
1008
  LIGHT: "light"
902
1009
  }, M = (e) => ({
903
- 50: x(e, 0.95),
904
- 100: x(e, 0.85),
905
- 200: x(e, 0.7),
906
- 300: x(e, 0.55),
907
- 400: x(e, 0.3),
1010
+ 50: O(e, 0.95),
1011
+ 100: O(e, 0.85),
1012
+ 200: O(e, 0.7),
1013
+ 300: O(e, 0.55),
1014
+ 400: O(e, 0.3),
908
1015
  500: e,
909
- 600: L(e, 0.3),
910
- 700: L(e, 0.5),
911
- 800: L(e, 0.65),
912
- 900: L(e, 0.75)
913
- }), C = "#FFFFFF", N = "#000000", L0 = "#F9F9F9", N0 = "#1A1A1A", E = {
1016
+ 600: w(e, 0.3),
1017
+ 700: w(e, 0.5),
1018
+ 800: w(e, 0.65),
1019
+ 900: w(e, 0.75)
1020
+ }), E = "#FFFFFF", _ = "#000000", Xe = "#F9F9F9", Ye = "#1A1A1A", S = {
914
1021
  PRIMARY: "#2C64EF",
915
1022
  SECONDARY: "#808080",
916
1023
  INFO: "#2C64EF",
917
1024
  SUCCESS: "#12875E",
918
1025
  WARNING: "#FF7B00",
919
1026
  ERROR: "#E32727",
920
- GREY: "#808080"
921
- }, S = {
1027
+ NEUTRAL: "#808080"
1028
+ }, x = {
922
1029
  CHART1: "#74E4DA",
923
1030
  CHART2: "#ED64A4",
924
1031
  CHART3: "#F3DC46",
@@ -933,7 +1040,7 @@ const Ue = ({
933
1040
  CHART_MONO4: "#2F73DA",
934
1041
  CHART_MONO5: "#034AB3",
935
1042
  CHART_MONO6: "#002966"
936
- }, h = {
1043
+ }, p = {
937
1044
  AUTO_TRANSPORTT: "#00B0FF",
938
1045
  BILLS_UTILITIES: "#F949BD",
939
1046
  BUSINESS_SERVICES: "#2979FF",
@@ -956,7 +1063,7 @@ const Ue = ({
956
1063
  TRANSFER: "#2B9580",
957
1064
  TRAVEL: "#3D5AFE",
958
1065
  UNCATEGORIZED: "#8495AD"
959
- }, p = {
1066
+ }, h = {
960
1067
  AUTO_TRANSPORTT: "#77DAFF",
961
1068
  BILLS_UTILITIES: "#FF81D4",
962
1069
  BUSINESS_SERVICES: "#4BBAFF",
@@ -979,23 +1086,23 @@ const Ue = ({
979
1086
  TRANSFER: "#75C7B7",
980
1087
  TRAVEL: "#76ACF7",
981
1088
  UNCATEGORIZED: "#BCC6D4"
982
- }, k0 = (e, r) => {
983
- const o = M(r?.primary || E.PRIMARY), n = M(r?.secondary || E.SECONDARY), a = M(r?.error || E.ERROR), s = M(r?.warning || E.WARNING), l = M(r?.info || E.INFO), c = M(r?.success || E.SUCCESS), d = M(r?.grey || E.GREY), t = e === H.LIGHT;
984
- return A0({
1089
+ }, je = (e) => {
1090
+ const o = M(S.PRIMARY), n = M(S.SECONDARY), r = M(S.ERROR), a = M(S.WARNING), s = M(S.INFO), c = M(S.SUCCESS), l = M(S.NEUTRAL), t = e === H.LIGHT;
1091
+ return we({
985
1092
  mode: e,
986
- // DEPRECATED: Use grey instead
1093
+ // DEPRECATED: Use Neutral instead
987
1094
  border: {
988
1095
  /* DEPRECATED: Use light instead */
989
- lighter: t ? d[300] : d[700],
990
- light: t ? d[300] : d[700],
991
- main: t ? d[400] : d[600],
992
- dark: d[500],
1096
+ lighter: t ? l[300] : l[700],
1097
+ light: t ? l[300] : l[700],
1098
+ main: t ? l[400] : l[600],
1099
+ dark: l[500],
993
1100
  /* DEPRECATED: Use light instead */
994
- darker: d[500]
1101
+ darker: l[500]
995
1102
  },
996
1103
  common: {
997
- white: C,
998
- black: N
1104
+ white: E,
1105
+ black: _
999
1106
  },
1000
1107
  primary: {
1001
1108
  ...o,
@@ -1010,30 +1117,29 @@ const Ue = ({
1010
1117
  secondary: {
1011
1118
  ...n,
1012
1119
  /* DEPRECATED: Use light instead */
1013
- lighter: t ? n[100] : n[800],
1014
- light: t ? n[300] : n[600],
1015
- main: t ? n[500] : n[400],
1016
- dark: t ? n[700] : n[200],
1120
+ lighter: t ? n[300] : n[700],
1121
+ light: n[500],
1122
+ main: t ? n[700] : n[300],
1123
+ dark: t ? n[900] : n[100],
1017
1124
  /* DEPRECATED: Use dark instead */
1018
- darker: t ? n[900] : n[100]
1019
- },
1020
- neutral: {
1021
- ...d,
1022
- /* DEPRECATED: Use light instead */
1023
- lighter: t ? d[100] : d[800],
1024
- light: t ? d[300] : d[600],
1025
- main: t ? d[500] : d[400],
1026
- dark: t ? d[700] : d[200],
1027
- /* DEPRECATED: Use dark instead */
1028
- darker: t ? d[900] : d[100],
1029
- contrastText: T0(t ? d[700] : d[400], "#fff") > 4.5 ? C : d[900]
1125
+ darker: t ? n[900] : n[50]
1030
1126
  },
1031
1127
  text: {
1032
- primary: t ? d[900] : C,
1033
- secondary: t ? d[600] : b(C, 0.7),
1034
- disabled: t ? d[500] : b(C, 0.38)
1128
+ primary: t ? l[900] : E,
1129
+ secondary: t ? l[600] : T(E, 0.7),
1130
+ disabled: t ? l[500] : T(E, 0.38)
1035
1131
  },
1036
1132
  error: {
1133
+ ...r,
1134
+ /* DEPRECATED: Use light instead */
1135
+ lighter: t ? r[100] : r[800],
1136
+ light: t ? r[300] : r[600],
1137
+ main: t ? r[500] : r[400],
1138
+ dark: t ? r[700] : r[200],
1139
+ /* DEPRECATED: Use light instead */
1140
+ darker: t ? r[900] : r[100]
1141
+ },
1142
+ warning: {
1037
1143
  ...a,
1038
1144
  /* DEPRECATED: Use light instead */
1039
1145
  lighter: t ? a[100] : a[800],
@@ -1043,7 +1149,7 @@ const Ue = ({
1043
1149
  /* DEPRECATED: Use light instead */
1044
1150
  darker: t ? a[900] : a[100]
1045
1151
  },
1046
- warning: {
1152
+ info: {
1047
1153
  ...s,
1048
1154
  /* DEPRECATED: Use light instead */
1049
1155
  lighter: t ? s[100] : s[800],
@@ -1053,16 +1159,6 @@ const Ue = ({
1053
1159
  /* DEPRECATED: Use light instead */
1054
1160
  darker: t ? s[900] : s[100]
1055
1161
  },
1056
- info: {
1057
- ...l,
1058
- /* DEPRECATED: Use light instead */
1059
- lighter: t ? l[100] : l[800],
1060
- light: t ? l[300] : l[600],
1061
- main: t ? l[500] : l[400],
1062
- dark: t ? l[700] : l[200],
1063
- /* DEPRECATED: Use light instead */
1064
- darker: t ? l[900] : l[100]
1065
- },
1066
1162
  success: {
1067
1163
  ...c,
1068
1164
  /* DEPRECATED: Use light instead */
@@ -1073,52 +1169,52 @@ const Ue = ({
1073
1169
  /* DEPRECATED: Use light instead */
1074
1170
  darker: t ? c[900] : c[100]
1075
1171
  },
1076
- grey: d,
1172
+ grey: l,
1077
1173
  action: {
1078
- active: t ? b(N, 0.56) : b(C, 0.56),
1174
+ active: t ? T(_, 0.56) : T(E, 0.56),
1079
1175
  hoverOpacity: t ? 0.1 : 0.2,
1080
1176
  selectedOpacity: t ? 0.16 : 0.25,
1081
1177
  focusOpacity: 0.3
1082
1178
  },
1083
1179
  background: {
1084
- default: t ? r?.background?.default?.light || L0 : r?.background?.default?.dark || N0,
1085
- paper: t ? r?.background?.paper?.light || C : r?.background?.paper?.dark || N,
1086
- highlight: t ? d[200] : d[600],
1180
+ default: t ? Xe : Ye,
1181
+ paper: t ? E : _,
1182
+ highlight: t ? l[200] : l[600],
1087
1183
  highlightPrimary: t ? o[100] : o[500]
1088
1184
  },
1089
- divider: t ? b(N, 0.12) : b(C, 0.24),
1185
+ divider: t ? T(_, 0.12) : T(E, 0.24),
1090
1186
  categories: {
1091
- autoTransport: t ? h.AUTO_TRANSPORTT : p.AUTO_TRANSPORTT,
1092
- billsUtilities: t ? h.BILLS_UTILITIES : p.BILLS_UTILITIES,
1093
- businessServices: t ? h.BUSINESS_SERVICES : p.BUSINESS_SERVICES,
1094
- education: t ? h.EDUCATION : p.EDUCATION,
1095
- entertainment: t ? h.ENTERTAINMENT : p.ENTERTAINMENT,
1096
- feesCharges: t ? h.FEES_CHARGES : p.FEES_CHARGES,
1097
- financial: t ? h.FINANCIAL : p.FINANCIAL,
1098
- foodDining: t ? h.FOOD_DINING : p.FOOD_DINING,
1099
- giftsDonations: t ? h.GIFTS_DONATIONS : p.GIFTS_DONATIONS,
1100
- healthFitness: t ? h.HEALTH_FITNESS : p.HEALTH_FITNESS,
1101
- home: t ? h.HOME : p.HOME,
1102
- income: t ? h.INCOME : p.INCOME,
1103
- investments: t ? h.INVESTMENTS : p.INVESTMENTS,
1104
- kids: t ? h.KIDS : p.KIDS,
1105
- others: t ? h.OTHERS : p.OTHERS,
1106
- personalCare: t ? h.PERSONAL_CARE : p.PERSONAL_CARE,
1107
- pets: t ? h.PETS : p.PETS,
1108
- shopping: t ? h.SHOPPING : p.SHOPPING,
1109
- taxes: t ? h.TAXES : p.TAXES,
1110
- transfer: t ? h.TRANSFER : p.TRANSFER,
1111
- travel: t ? h.TRAVEL : p.TRAVEL,
1112
- uncategorized: t ? h.UNCATEGORIZED : p.UNCATEGORIZED
1187
+ autoTransport: t ? p.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
1188
+ billsUtilities: t ? p.BILLS_UTILITIES : h.BILLS_UTILITIES,
1189
+ businessServices: t ? p.BUSINESS_SERVICES : h.BUSINESS_SERVICES,
1190
+ education: t ? p.EDUCATION : h.EDUCATION,
1191
+ entertainment: t ? p.ENTERTAINMENT : h.ENTERTAINMENT,
1192
+ feesCharges: t ? p.FEES_CHARGES : h.FEES_CHARGES,
1193
+ financial: t ? p.FINANCIAL : h.FINANCIAL,
1194
+ foodDining: t ? p.FOOD_DINING : h.FOOD_DINING,
1195
+ giftsDonations: t ? p.GIFTS_DONATIONS : h.GIFTS_DONATIONS,
1196
+ healthFitness: t ? p.HEALTH_FITNESS : h.HEALTH_FITNESS,
1197
+ home: t ? p.HOME : h.HOME,
1198
+ income: t ? p.INCOME : h.INCOME,
1199
+ investments: t ? p.INVESTMENTS : h.INVESTMENTS,
1200
+ kids: t ? p.KIDS : h.KIDS,
1201
+ others: t ? p.OTHERS : h.OTHERS,
1202
+ personalCare: t ? p.PERSONAL_CARE : h.PERSONAL_CARE,
1203
+ pets: t ? p.PETS : h.PETS,
1204
+ shopping: t ? p.SHOPPING : h.SHOPPING,
1205
+ taxes: t ? p.TAXES : h.TAXES,
1206
+ transfer: t ? p.TRANSFER : h.TRANSFER,
1207
+ travel: t ? p.TRAVEL : h.TRAVEL,
1208
+ uncategorized: t ? p.UNCATEGORIZED : h.UNCATEGORIZED
1113
1209
  },
1114
1210
  chart: {
1115
- chart1: S.CHART1,
1116
- chart2: S.CHART2,
1117
- chart3: S.CHART3,
1118
- chart4: S.CHART4,
1119
- chart5: S.CHART5,
1120
- chart6: S.CHART6,
1121
- chart7: S.CHART7
1211
+ chart1: x.CHART1,
1212
+ chart2: x.CHART2,
1213
+ chart3: x.CHART3,
1214
+ chart4: x.CHART4,
1215
+ chart5: x.CHART5,
1216
+ chart6: x.CHART6,
1217
+ chart7: x.CHART7
1122
1218
  },
1123
1219
  chartMono: {
1124
1220
  chartMono1: v.CHART_MONO1,
@@ -1129,7 +1225,7 @@ const Ue = ({
1129
1225
  chartMono6: v.CHART_MONO6
1130
1226
  }
1131
1227
  });
1132
- }, I = "Inter, Helvetica, Arial, sans-serif", w0 = (e, r) => M0(e, {
1228
+ }, I = "Inter, Helvetica, Arial, sans-serif", Qe = (e) => _e(e, {
1133
1229
  fontFamily: I,
1134
1230
  fontSize: 15,
1135
1231
  Body: {
@@ -1235,19 +1331,18 @@ const Ue = ({
1235
1331
  tiny: {
1236
1332
  fontSize: 9,
1237
1333
  lineHeight: "12px"
1238
- },
1239
- ...r
1334
+ }
1240
1335
  });
1241
- R0.setLicenseKey(
1336
+ ke.setLicenseKey(
1242
1337
  "6e7dd593526efa1f157230ecf06c9b02Tz0xMDA5NjAsRT0xNzYyMDQxNjAwMDAwLFM9cHJvLExNPWFubnVhbCxQVj1RMy0yMDI0LEtWPTI="
1243
1338
  );
1244
- const w = [...$().shadows];
1245
- w[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
1246
- w[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
1247
- w[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
1248
- const Ze = (e, r) => {
1249
- const o = k0(e, r?.paletteOptions), n = w0(o, r?.typographyOptions);
1250
- return $({
1339
+ const B = [...ee().shadows];
1340
+ B[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
1341
+ B[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
1342
+ B[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
1343
+ const so = (e) => {
1344
+ const o = je(e), n = Qe(o);
1345
+ return ee({
1251
1346
  breakpoints: {
1252
1347
  values: {
1253
1348
  xs: 444,
@@ -1258,9 +1353,9 @@ const Ze = (e, r) => {
1258
1353
  }
1259
1354
  },
1260
1355
  palette: o,
1261
- shadows: w,
1356
+ shadows: B,
1262
1357
  shape: {
1263
- borderRadius: r?.shapeOptions?.borderRadius || 4
1358
+ borderRadius: 4
1264
1359
  },
1265
1360
  spacing: 1,
1266
1361
  // TODO: update spacing, we're back to a 8-base which is default for MUI 2.x
@@ -1277,16 +1372,12 @@ const Ze = (e, r) => {
1277
1372
  variant: "outlined"
1278
1373
  },
1279
1374
  styleOverrides: {
1280
- root: ({ theme: a, ownerState: s }) => {
1281
- const l = s.severity || "info";
1282
- let c = o.mode === H.LIGHT ? o[l]?.[50] : o[l]?.[800];
1283
- if (s.variant === "filled") {
1284
- const d = l === "warning";
1285
- c = o[l]?.[d ? 400 : 600];
1286
- }
1287
- return {
1375
+ root: ({ theme: r, ownerState: a }) => {
1376
+ const s = a.severity || "info";
1377
+ let c = o.mode === H.LIGHT ? o[s]?.[50] : o[s]?.[800];
1378
+ return a.variant === "filled" && (c = o[s]?.main), {
1288
1379
  backgroundColor: c,
1289
- borderRadius: a.shape.borderRadius,
1380
+ borderRadius: r.shape.borderRadius,
1290
1381
  "& .MuiAlert-message": {
1291
1382
  fontSize: n.subtitle1.fontSize,
1292
1383
  lineHeight: n.subtitle1.lineHeight,
@@ -1367,7 +1458,7 @@ const Ze = (e, r) => {
1367
1458
  MuiCircularProgress: {
1368
1459
  styleOverrides: {
1369
1460
  root: {
1370
- [`& .${C0.circle}`]: {
1461
+ [`& .${Ne.circle}`]: {
1371
1462
  strokeLinecap: "round"
1372
1463
  }
1373
1464
  }
@@ -1421,42 +1512,42 @@ const Ze = (e, r) => {
1421
1512
  },
1422
1513
  MuiDateRangePickerDay: {
1423
1514
  styleOverrides: {
1424
- root: ({ theme: a }) => ({
1515
+ root: ({ theme: r }) => ({
1425
1516
  ":first-of-type": {
1426
- borderTopLeftRadius: a.shape.borderRadius,
1427
- borderBottomLeftRadius: a.shape.borderRadius,
1517
+ borderTopLeftRadius: r.shape.borderRadius,
1518
+ borderBottomLeftRadius: r.shape.borderRadius,
1428
1519
  "& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
1429
- borderTopLeftRadius: a.shape.borderRadius,
1430
- borderBottomLeftRadius: a.shape.borderRadius
1520
+ borderTopLeftRadius: r.shape.borderRadius,
1521
+ borderBottomLeftRadius: r.shape.borderRadius
1431
1522
  }
1432
1523
  },
1433
1524
  ":last-of-type": {
1434
- borderTopRightRadius: a.shape.borderRadius,
1435
- borderBottomRightRadius: a.shape.borderRadius,
1525
+ borderTopRightRadius: r.shape.borderRadius,
1526
+ borderBottomRightRadius: r.shape.borderRadius,
1436
1527
  "& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
1437
- borderTopRightRadius: a.shape.borderRadius,
1438
- borderBottomRightRadius: a.shape.borderRadius
1528
+ borderTopRightRadius: r.shape.borderRadius,
1529
+ borderBottomRightRadius: r.shape.borderRadius
1439
1530
  }
1440
1531
  },
1441
1532
  "& .Mui-selected": {
1442
- borderRadius: a.shape.borderRadius
1533
+ borderRadius: r.shape.borderRadius
1443
1534
  },
1444
1535
  "& .MuiPickersDay-dayOutsideMonth": {
1445
1536
  color: o.action.disabled
1446
1537
  }
1447
1538
  }),
1448
- day: ({ theme: a }) => ({
1449
- borderRadius: a.shape.borderRadius
1539
+ day: ({ theme: r }) => ({
1540
+ borderRadius: r.shape.borderRadius
1450
1541
  }),
1451
- rangeIntervalDayPreview: ({ theme: a }) => ({
1452
- borderRadius: a.shape.borderRadius
1542
+ rangeIntervalDayPreview: ({ theme: r }) => ({
1543
+ borderRadius: r.shape.borderRadius
1453
1544
  })
1454
1545
  }
1455
1546
  },
1456
1547
  MuiDayCalendar: {
1457
1548
  styleOverrides: {
1458
- weekDayLabel: ({ theme: a }) => ({
1459
- fontSize: a.typography.body2.fontSize,
1549
+ weekDayLabel: ({ theme: r }) => ({
1550
+ fontSize: r.typography.body2.fontSize,
1460
1551
  fontWeight: 700
1461
1552
  })
1462
1553
  }
@@ -1498,14 +1589,14 @@ const Ze = (e, r) => {
1498
1589
  },
1499
1590
  MuiFormHelperText: {
1500
1591
  styleOverrides: {
1501
- root: ({ theme: a }) => ({
1592
+ root: ({ theme: r }) => ({
1502
1593
  fontSize: 13,
1503
1594
  // Small
1504
1595
  marginLeft: 0,
1505
1596
  display: "flex",
1506
1597
  alignItems: "center",
1507
1598
  position: "relative",
1508
- color: a.palette.text.secondary,
1599
+ color: r.palette.text.secondary,
1509
1600
  "& .MuiSvgIcon-root": {
1510
1601
  height: "16px",
1511
1602
  width: "16px",
@@ -1536,8 +1627,8 @@ const Ze = (e, r) => {
1536
1627
  disableFocusRipple: !0
1537
1628
  },
1538
1629
  styleOverrides: {
1539
- root: ({ theme: a }) => ({
1540
- borderRadius: a.shape.borderRadius,
1630
+ root: ({ theme: r }) => ({
1631
+ borderRadius: r.shape.borderRadius,
1541
1632
  minHeight: 44,
1542
1633
  // touch target
1543
1634
  minWidth: 44,
@@ -1548,7 +1639,7 @@ const Ze = (e, r) => {
1548
1639
  },
1549
1640
  "& .MuiTouchRipple-root": {
1550
1641
  "& .MuiTouchRipple-child": {
1551
- borderRadius: a.shape.borderRadius
1642
+ borderRadius: r.shape.borderRadius
1552
1643
  }
1553
1644
  }
1554
1645
  })
@@ -1575,7 +1666,7 @@ const Ze = (e, r) => {
1575
1666
  },
1576
1667
  MuiLink: {
1577
1668
  styleOverrides: {
1578
- root: ({ color: a }) => ({
1669
+ root: ({ color: r }) => ({
1579
1670
  cursor: "pointer",
1580
1671
  fontWeight: 600,
1581
1672
  textDecoration: "none",
@@ -1590,7 +1681,7 @@ const Ze = (e, r) => {
1590
1681
  backgroundColor: o.action.hover
1591
1682
  },
1592
1683
  "&:active": {
1593
- backgroundColor: o.mode === H.LIGHT ? o[a].light : o[a].dark
1684
+ backgroundColor: o.mode === H.LIGHT ? o[r].light : o[r].dark
1594
1685
  }
1595
1686
  })
1596
1687
  }
@@ -1617,9 +1708,9 @@ const Ze = (e, r) => {
1617
1708
  disablePadding: !0
1618
1709
  },
1619
1710
  styleOverrides: {
1620
- root: ({ ownerState: a }) => ({
1711
+ root: ({ ownerState: r }) => ({
1621
1712
  minHeight: 64,
1622
- ...!a.disablePadding && {
1713
+ ...!r.disablePadding && {
1623
1714
  paddingTop: 12,
1624
1715
  paddingBottom: 12,
1625
1716
  paddingLeft: 24
@@ -1779,11 +1870,11 @@ const Ze = (e, r) => {
1779
1870
  },
1780
1871
  MuiPickersToolbar: {
1781
1872
  styleOverrides: {
1782
- content: ({ theme: a }) => ({
1873
+ content: ({ theme: r }) => ({
1783
1874
  marginTop: 4,
1784
1875
  "& .MuiTypography-root": {
1785
- fontSize: a.typography.h3.fontSize,
1786
- lineHeight: a.typography.h3.lineHeight
1876
+ fontSize: r.typography.h3.fontSize,
1877
+ lineHeight: r.typography.h3.lineHeight
1787
1878
  }
1788
1879
  })
1789
1880
  }
@@ -1911,7 +2002,7 @@ const Ze = (e, r) => {
1911
2002
  outlineOffset: "2px"
1912
2003
  },
1913
2004
  "&:hover": {
1914
- backgroundColor: b(o.primary.main, o.mode === H.LIGHT ? 0.1 : 0.2),
2005
+ backgroundColor: T(o.primary.main, o.mode === H.LIGHT ? 0.1 : 0.2),
1915
2006
  borderColor: o.primary.main
1916
2007
  },
1917
2008
  "&.Mui-selected": {
@@ -1935,7 +2026,7 @@ const Ze = (e, r) => {
1935
2026
  props: { color: "error" },
1936
2027
  style: {
1937
2028
  "&:hover": {
1938
- backgroundColor: b(o.error.main, o.mode === H.LIGHT ? 0.1 : 0.2),
2029
+ backgroundColor: T(o.error.main, o.mode === H.LIGHT ? 0.1 : 0.2),
1939
2030
  borderColor: o.error.main
1940
2031
  },
1941
2032
  "&.Mui-selected": {
@@ -1957,7 +2048,7 @@ const Ze = (e, r) => {
1957
2048
  props: { color: "standard" },
1958
2049
  style: {
1959
2050
  "&:hover": {
1960
- backgroundColor: b(
2051
+ backgroundColor: T(
1961
2052
  o.secondary.main,
1962
2053
  o.mode === H.LIGHT ? 0.1 : 0.2
1963
2054
  ),
@@ -1999,50 +2090,51 @@ const Ze = (e, r) => {
1999
2090
  });
2000
2091
  };
2001
2092
  export {
2002
- fe as AccountsFilledIcon,
2003
- be as AccountsIcon,
2004
- Te as ArrowLeftIcon,
2005
- Ce as AttentionFilledIcon,
2006
- m as BaseIcon,
2007
- Ne as BottomSheetTransition,
2008
- Re as CalendarIcon,
2009
- g as CategoryGuids,
2010
- H0 as CategoryIcon,
2011
- I0 as CategoryIconList,
2012
- S0 as CategoryIconVariants,
2013
- Ae as CheckmarkFilledIcon,
2014
- Me as ChevronDownIcon,
2015
- Ee as ChevronLeftIcon,
2016
- Se as ChevronRightIcon,
2017
- Ie as CloseIcon,
2018
- Le as DateRangePicker,
2019
- O0 as DialogFooter,
2020
- Pe as DialogHeader,
2021
- Be as Drawer,
2022
- ve as EditIcon,
2023
- He as FilterIcon,
2024
- O0 as Footer,
2025
- y0 as H1,
2026
- ke as H2,
2027
- we as H3,
2028
- xe as HeartIcon,
2093
+ L0 as AccountsFilledIcon,
2094
+ D0 as AccountsIcon,
2095
+ N0 as ArrowLeftIcon,
2096
+ k0 as AttentionFilledIcon,
2097
+ f as BaseIcon,
2098
+ j0 as BottomSheetTransition,
2099
+ w0 as CalendarIcon,
2100
+ m as CategoryGuids,
2101
+ Ue as CategoryIcon,
2102
+ ze as CategoryIconList,
2103
+ Be as CategoryIconVariants,
2104
+ _0 as CheckmarkFilledIcon,
2105
+ P0 as ChevronDownIcon,
2106
+ B0 as ChevronLeftIcon,
2107
+ z0 as ChevronRightIcon,
2108
+ V0 as CloseIcon,
2109
+ Y0 as DateRangePicker,
2110
+ $e as DialogFooter,
2111
+ eo as DialogHeader,
2112
+ oo as Drawer,
2113
+ U0 as EditIcon,
2114
+ G0 as FilterIcon,
2115
+ $e as Footer,
2116
+ We as H1,
2117
+ Q0 as H2,
2118
+ J0 as H3,
2119
+ $0 as HeartIcon,
2029
2120
  I as INTER,
2030
2121
  R as Icon,
2031
- E0 as IconWeight,
2032
- ze as InstitutionLogo,
2033
- ye as MXLogoCopyrightIcon,
2034
- Fe as MXLogoFilledIcon,
2035
- Oe as MXLogoIcon,
2036
- De as MXLogoOutlineIcon,
2037
- Ve as MerchantLogo,
2038
- _e as P,
2039
- O as TARGETS,
2040
- k as THEMES,
2041
- D as Text,
2042
- Ge as TextField,
2043
- Ue as Toast,
2044
- $e as TokenProvider,
2045
- Ze as createMXTheme,
2046
- We as useTokens
2122
+ Pe as IconWeight,
2123
+ ro as InstitutionLogo,
2124
+ Z0 as MXLogoCopyrightIcon,
2125
+ K0 as MXLogoFilledIcon,
2126
+ W0 as MXLogoIcon,
2127
+ X0 as MXLogoOutlineIcon,
2128
+ to as MerchantLogo,
2129
+ q0 as P,
2130
+ co as SelectionBox,
2131
+ L as TARGETS,
2132
+ P as THEMES,
2133
+ N as Text,
2134
+ io as TextField,
2135
+ no as Toast,
2136
+ ao as TokenProvider,
2137
+ so as createMXTheme,
2138
+ lo as useTokens
2047
2139
  };
2048
2140
  //# sourceMappingURL=index.es.js.map