@natoora-libs/core 0.0.2 → 0.0.31

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.
@@ -0,0 +1,4738 @@
1
+ import {
2
+ featuresAreEnabled_default
3
+ } from "../chunk-BRRN6KSW.js";
4
+ import {
5
+ Loading_default,
6
+ colors,
7
+ isDarkModeEnabled
8
+ } from "../chunk-RHG2EMI3.js";
9
+
10
+ // src/components/alerts/AlertDialog.tsx
11
+ import { Box, Button, Dialog, Typography } from "@mui/material";
12
+ import { makeStyles } from "tss-react/mui";
13
+ import { jsx, jsxs } from "react/jsx-runtime";
14
+ var useStyles = makeStyles()((theme) => ({
15
+ dialog: {
16
+ padding: 24
17
+ },
18
+ topSection: {
19
+ display: "flex",
20
+ flexDirection: "column",
21
+ justifyContent: "center",
22
+ gap: 8,
23
+ marginBottom: 20
24
+ },
25
+ title: {
26
+ color: theme.palette.text.secondary
27
+ },
28
+ bottomSection: {
29
+ display: "flex",
30
+ justifyContent: "center",
31
+ gap: 8
32
+ }
33
+ }));
34
+ var AlertDialog = ({
35
+ alertTitle,
36
+ description,
37
+ maxWidth,
38
+ fullWidth,
39
+ handleAlertAccept,
40
+ handleAlertReject,
41
+ fullScreen,
42
+ open,
43
+ rejectCopy,
44
+ acceptCopy,
45
+ content
46
+ }) => {
47
+ const { classes } = useStyles();
48
+ return /* @__PURE__ */ jsx(
49
+ Dialog,
50
+ {
51
+ open,
52
+ onClose: handleAlertReject,
53
+ maxWidth,
54
+ fullScreen,
55
+ fullWidth,
56
+ children: /* @__PURE__ */ jsxs(Box, { className: classes.dialog, children: [
57
+ /* @__PURE__ */ jsxs(Box, { className: classes.topSection, children: [
58
+ alertTitle ? /* @__PURE__ */ jsx(Typography, { variant: "h5", className: classes.title, children: alertTitle }) : null,
59
+ description ? /* @__PURE__ */ jsx(Typography, { variant: "body1", children: description }) : null
60
+ ] }),
61
+ content || null,
62
+ rejectCopy || acceptCopy ? /* @__PURE__ */ jsxs(Box, { className: classes.bottomSection, children: [
63
+ /* @__PURE__ */ jsx(Button, { onClick: handleAlertReject, children: rejectCopy || "Reject" }),
64
+ /* @__PURE__ */ jsx(Button, { onClick: handleAlertAccept, color: "primary", autoFocus: true, children: acceptCopy || "Accept" })
65
+ ] }) : null
66
+ ] })
67
+ }
68
+ );
69
+ };
70
+ var AlertDialog_default = AlertDialog;
71
+
72
+ // src/components/alerts/AlertDialogFullScreen.js
73
+ import React from "react";
74
+ import { Button as Button2, Dialog as Dialog2, DialogActions, DialogContent } from "@mui/material";
75
+ import { any } from "prop-types";
76
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
77
+ var AlertDialogFullScreen = ({
78
+ handleAlertAccept,
79
+ handleAlertReject,
80
+ fullScreen,
81
+ open,
82
+ rejectCopy,
83
+ acceptCopy,
84
+ content
85
+ }) => /* @__PURE__ */ jsx2(
86
+ Dialog2,
87
+ {
88
+ "aria-describedby": "alert-dialog-description",
89
+ "aria-labelledby": "alert-dialog-title",
90
+ fullScreen,
91
+ open: open || false,
92
+ children: /* @__PURE__ */ jsxs2("div", { children: [
93
+ /* @__PURE__ */ jsx2(DialogContent, { style: { padding: 0 }, children: content }),
94
+ (rejectCopy || acceptCopy) && /* @__PURE__ */ jsxs2(DialogActions, { style: { padding: 24 }, children: [
95
+ /* @__PURE__ */ jsx2(Button2, { onClick: handleAlertReject, children: rejectCopy || "Reject" }),
96
+ /* @__PURE__ */ jsx2(Button2, { onClick: handleAlertAccept, color: "primary", autoFocus: true, children: acceptCopy || "Accept" })
97
+ ] })
98
+ ] })
99
+ }
100
+ );
101
+ AlertDialogFullScreen.propTypes = {
102
+ acceptCopy: any,
103
+ content: any,
104
+ fullScreen: any,
105
+ handleAlertAccept: any,
106
+ handleAlertReject: any,
107
+ open: any,
108
+ rejectCopy: any
109
+ };
110
+ var AlertDialogFullScreen_default = AlertDialogFullScreen;
111
+
112
+ // src/components/AppLabel/AppLabel.tsx
113
+ import { Box as Box2, Typography as Typography2 } from "@mui/material";
114
+ import { makeStyles as makeStyles2 } from "tss-react/mui";
115
+ import { jsx as jsx3 } from "react/jsx-runtime";
116
+ var useStyles2 = makeStyles2()(() => ({
117
+ wrapper: {
118
+ opacity: 0.7
119
+ },
120
+ asset: {
121
+ color: colors.contrast,
122
+ height: 10
123
+ },
124
+ name: {
125
+ fontWeight: 600,
126
+ textTransform: "uppercase",
127
+ maxWidth: 100,
128
+ lineHeight: 1.2
129
+ }
130
+ }));
131
+ var AppLabel = ({ appName }) => {
132
+ const { classes } = useStyles2();
133
+ return /* @__PURE__ */ jsx3(
134
+ Box2,
135
+ {
136
+ sx: {
137
+ display: "flex",
138
+ alignItems: "center",
139
+ paddingLeft: 1,
140
+ paddingRight: 2
141
+ },
142
+ children: /* @__PURE__ */ jsx3("div", { className: classes.wrapper, children: /* @__PURE__ */ jsx3(Typography2, { className: classes.name, variant: "subtitle2", children: appName }) })
143
+ }
144
+ );
145
+ };
146
+ var AppLabel_default = AppLabel;
147
+
148
+ // src/components/BackHeader/BackHeader.tsx
149
+ import { useNavigate } from "react-router-dom";
150
+ import KeyboardBackspaceIcon from "@mui/icons-material/KeyboardBackspace";
151
+ import { Box as Box3, Button as Button3, Typography as Typography3 } from "@mui/material";
152
+ import { makeStyles as makeStyles3 } from "tss-react/mui";
153
+ import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
154
+ var useStyles3 = makeStyles3()((theme) => ({
155
+ header: {
156
+ padding: theme.spacing(2, 3),
157
+ borderBottom: `1px solid ${colors.borderColor}`,
158
+ backgroundColor: colors.backgroundContentLayer
159
+ },
160
+ icon: {
161
+ color: colors.muiPrimary
162
+ },
163
+ button: {
164
+ padding: 0,
165
+ "&:hover": {
166
+ background: "inherit"
167
+ }
168
+ },
169
+ text: {
170
+ display: "flex",
171
+ alignItems: "center",
172
+ gap: theme.spacing(2),
173
+ textTransform: "none"
174
+ }
175
+ }));
176
+ var BackHeader = ({ appName, onGoBackClick }) => {
177
+ const { classes } = useStyles3();
178
+ const navigate = useNavigate();
179
+ const handleBackClick = () => {
180
+ if (onGoBackClick) {
181
+ return onGoBackClick();
182
+ }
183
+ return navigate(-1);
184
+ };
185
+ return /* @__PURE__ */ jsx4(Box3, { component: "header", className: classes.header, children: /* @__PURE__ */ jsx4(Button3, { className: classes.button, onClick: handleBackClick, children: /* @__PURE__ */ jsxs3(Box3, { component: "span", className: classes.text, children: [
186
+ /* @__PURE__ */ jsx4(KeyboardBackspaceIcon, { className: classes.icon }),
187
+ /* @__PURE__ */ jsx4(Typography3, { variant: "body1", children: appName })
188
+ ] }) }) });
189
+ };
190
+ var BackHeader_default = BackHeader;
191
+
192
+ // src/components/BottomBar/BottomBar.tsx
193
+ import { Box as Box5, Paper } from "@mui/material";
194
+ import { bool as bool2, func as func2, node, string as string2 } from "prop-types";
195
+ import { makeStyles as makeStyles5 } from "tss-react/mui";
196
+
197
+ // src/components/Buttons/ExtendedButton/ExtendedButton.tsx
198
+ import { memo } from "react";
199
+ import {
200
+ Add,
201
+ ChildCare,
202
+ CloudUpload,
203
+ Delete,
204
+ Edit,
205
+ ImportExport,
206
+ Notes,
207
+ Print,
208
+ Save,
209
+ Refresh,
210
+ GetApp,
211
+ Publish
212
+ } from "@mui/icons-material";
213
+ import AppsIcon from "@mui/icons-material/Apps";
214
+ import { Box as Box4 } from "@mui/material";
215
+ import Button4 from "@mui/material/Button";
216
+ import Tooltip from "@mui/material/Tooltip";
217
+ import { bool, func, oneOf, string } from "prop-types";
218
+ import { makeStyles as makeStyles4 } from "tss-react/mui";
219
+ import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
220
+ var useStyles4 = makeStyles4()((theme) => ({
221
+ default: {
222
+ boxShadow: "none",
223
+ borderRadius: 25,
224
+ border: `1px solid ${colors.grey300}`,
225
+ paddingLeft: theme.spacing(2),
226
+ paddingRight: theme.spacing(2),
227
+ maxHeight: 36,
228
+ minHeight: 36,
229
+ minWidth: "min-content",
230
+ margin: 8,
231
+ textTransform: "capitalize"
232
+ },
233
+ noOutline: {
234
+ boxShadow: "none",
235
+ borderRadius: 25,
236
+ paddingLeft: theme.spacing(2),
237
+ paddingRight: theme.spacing(2),
238
+ maxHeight: 36,
239
+ minHeight: 36,
240
+ minWidth: "min-content",
241
+ margin: 8,
242
+ textTransform: "capitalize"
243
+ },
244
+ primary: {
245
+ boxShadow: "none",
246
+ color: isDarkModeEnabled ? "black" : "white",
247
+ background: theme.palette.primary.main,
248
+ border: `1px solid ${theme.palette.primary.main}`,
249
+ borderRadius: 25,
250
+ paddingLeft: theme.spacing(2),
251
+ paddingRight: theme.spacing(2),
252
+ maxHeight: 36,
253
+ minHeight: 36,
254
+ minWidth: "min-content",
255
+ margin: 8,
256
+ textTransform: "capitalize",
257
+ "&:hover": {
258
+ background: theme.palette.primary.dark
259
+ },
260
+ "&:disabled": {
261
+ background: colors.disabledColor
262
+ }
263
+ },
264
+ icon: {
265
+ marginRight: 8,
266
+ color: colors.muiPrimary
267
+ },
268
+ copy: {
269
+ display: "flex",
270
+ flexDirection: "column",
271
+ lineHeight: "initial",
272
+ textTransform: "uppercase",
273
+ whiteSpace: "nowrap",
274
+ "& span": {
275
+ fontSize: ".750rem",
276
+ fontWeight: 200
277
+ }
278
+ }
279
+ }));
280
+ var ExtendedButton = ({
281
+ buttonType,
282
+ className,
283
+ color,
284
+ copy,
285
+ disabled,
286
+ href,
287
+ onClick,
288
+ subcopy,
289
+ type,
290
+ variant,
291
+ component,
292
+ tooltip
293
+ }) => {
294
+ const { classes, cx } = useStyles4();
295
+ const icons2 = {
296
+ add: Add,
297
+ apps: AppsIcon,
298
+ childCare: ChildCare,
299
+ delete: Delete,
300
+ edit: Edit,
301
+ importExport: ImportExport,
302
+ notes: Notes,
303
+ print: Print,
304
+ save: Save,
305
+ upload: CloudUpload,
306
+ refresh: Refresh,
307
+ download: GetApp,
308
+ publish: Publish
309
+ };
310
+ const IconComponent = icons2[type];
311
+ return /* @__PURE__ */ jsx5(Tooltip, { title: tooltip, children: /* @__PURE__ */ jsx5(Box4, { children: /* @__PURE__ */ jsxs4(
312
+ Button4,
313
+ {
314
+ className: cx(classes[color], className),
315
+ color: color === "noOutline" ? "default" : color,
316
+ component,
317
+ "data-testid": copy ? `extended-button-${copy.toLowerCase()}` : "extended-button",
318
+ disabled,
319
+ href,
320
+ onClick,
321
+ type: buttonType,
322
+ variant,
323
+ children: [
324
+ type ? /* @__PURE__ */ jsx5(IconComponent, { fontSize: "small", className: classes.icon }) : null,
325
+ /* @__PURE__ */ jsxs4("div", { className: classes.copy, children: [
326
+ copy,
327
+ /* @__PURE__ */ jsx5("span", { children: subcopy })
328
+ ] })
329
+ ]
330
+ }
331
+ ) }) });
332
+ };
333
+ ExtendedButton.defaultProps = {
334
+ buttonType: "button",
335
+ color: "default",
336
+ disabled: false,
337
+ href: "",
338
+ tooltip: "",
339
+ component: "button",
340
+ type: void 0,
341
+ className: void 0,
342
+ onClick: void 0,
343
+ subcopy: void 0,
344
+ variant: "outlined"
345
+ };
346
+ ExtendedButton.propTypes = {
347
+ buttonType: oneOf(["button", "submit"]),
348
+ className: string,
349
+ color: oneOf(["default", "inherit", "primary", "secondary", "noOutline"]),
350
+ copy: string.isRequired,
351
+ disabled: bool,
352
+ href: string,
353
+ onClick: func,
354
+ subcopy: string,
355
+ tooltip: string,
356
+ component: string,
357
+ type: oneOf([
358
+ "add",
359
+ "apps",
360
+ "childCare",
361
+ "delete",
362
+ "edit",
363
+ "importExport",
364
+ "notes",
365
+ "print",
366
+ "save",
367
+ "upload",
368
+ "refresh",
369
+ "download",
370
+ "publish"
371
+ ]),
372
+ variant: oneOf(["contained", "outlined", "text"])
373
+ };
374
+ var ExtendedButton_default = memo(ExtendedButton);
375
+
376
+ // src/components/BottomBar/BottomBar.tsx
377
+ import { jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
378
+ var useStyles5 = makeStyles5()((theme) => ({
379
+ footer: {
380
+ backgroundColor: colors.tableRow1,
381
+ borderRadius: theme.spacing(0, 0, 0.5, 0.5),
382
+ borderTop: `1px solid ${colors.brightGray}`,
383
+ padding: theme.spacing(2)
384
+ },
385
+ insideWrapper: {
386
+ height: "100%"
387
+ },
388
+ button: {
389
+ margin: 0
390
+ }
391
+ }));
392
+ var BottomBar = ({ className, children, isLoading, onRefreshClick }) => {
393
+ const { classes, cx } = useStyles5();
394
+ return /* @__PURE__ */ jsx6(Paper, { className: cx(classes.footer, className), elevation: 1, children: /* @__PURE__ */ jsxs5(
395
+ Box5,
396
+ {
397
+ className: classes.insideWrapper,
398
+ sx: {
399
+ display: "flex",
400
+ alignItems: "center",
401
+ justifyContent: "space-between"
402
+ },
403
+ children: [
404
+ onRefreshClick ? /* @__PURE__ */ jsx6(
405
+ ExtendedButton_default,
406
+ {
407
+ className: classes.button,
408
+ copy: "Refresh",
409
+ disabled: isLoading,
410
+ onClick: () => onRefreshClick(),
411
+ type: "refresh",
412
+ variant: "outlined"
413
+ }
414
+ ) : null,
415
+ children
416
+ ]
417
+ }
418
+ ) });
419
+ };
420
+ BottomBar.defaultProps = {
421
+ className: "",
422
+ children: null,
423
+ isLoading: false,
424
+ onRefreshClick: null
425
+ };
426
+ BottomBar.propTypes = {
427
+ className: string2,
428
+ children: node,
429
+ isLoading: bool2,
430
+ onRefreshClick: func2
431
+ };
432
+ var BottomBar_default = BottomBar;
433
+
434
+ // src/components/BoxButton/BoxButton.tsx
435
+ import React3 from "react";
436
+ import { Grid2 as Grid, Typography as Typography4, ButtonBase } from "@mui/material";
437
+ import green from "@mui/material/colors/green";
438
+ import orange from "@mui/material/colors/orange";
439
+ import red from "@mui/material/colors/red";
440
+ import PropTypes from "prop-types";
441
+ import { makeStyles as makeStyles6 } from "tss-react/mui";
442
+ import { jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
443
+ var useStyles6 = makeStyles6()((theme) => ({
444
+ boxTab: {
445
+ minWidth: 130,
446
+ width: "100%",
447
+ textAlign: "start",
448
+ alignItems: "normal",
449
+ flexDirection: "column",
450
+ padding: theme.spacing(1),
451
+ paddingLeft: theme.spacing(1.5),
452
+ paddingRight: theme.spacing(1.5),
453
+ backgroundColor: colors.background,
454
+ borderRadius: theme.spacing(0.5),
455
+ boxShadow: `0px 3px 1px -2px ${colors.transparent.black20}, 0px 2px 2px 0px ${colors.transparent.black10}, 0px 1px 5px 0px ${colors.transparent.black10}`,
456
+ "& .MuiGrid-container": {
457
+ marginTop: theme.spacing(0.5)
458
+ }
459
+ },
460
+ none: {},
461
+ main: {
462
+ borderColor: theme.palette.primary.main,
463
+ borderWidth: 3,
464
+ borderStyle: "solid"
465
+ },
466
+ green: {
467
+ borderColor: green["500"],
468
+ borderWidth: 3,
469
+ borderStyle: "solid"
470
+ },
471
+ red: {
472
+ borderColor: red["500"],
473
+ borderWidth: 3,
474
+ borderStyle: "solid"
475
+ },
476
+ orange: {
477
+ borderColor: orange["500"],
478
+ borderWidth: 3,
479
+ borderStyle: "solid"
480
+ },
481
+ c_box_button__extra: {
482
+ display: "flex",
483
+ justifyContent: "flex-end"
484
+ }
485
+ }));
486
+ var BoxButton = (props) => {
487
+ const { classes } = useStyles6();
488
+ const { label, onClick, main, extra, borderColor } = props;
489
+ return /* @__PURE__ */ jsxs6(
490
+ ButtonBase,
491
+ {
492
+ component: "button",
493
+ className: [classes.boxTab, classes[borderColor]].join(" "),
494
+ onClick,
495
+ children: [
496
+ /* @__PURE__ */ jsx7(Typography4, { variant: "button", children: label }),
497
+ /* @__PURE__ */ jsxs6(
498
+ Grid,
499
+ {
500
+ container: true,
501
+ direction: "row",
502
+ sx: {
503
+ justifyContent: "center",
504
+ alignItems: "center"
505
+ },
506
+ children: [
507
+ /* @__PURE__ */ jsx7(Grid, { size: 9, children: main }),
508
+ /* @__PURE__ */ jsx7(Grid, { className: classes.c_box_button__extra, size: 3, children: extra })
509
+ ]
510
+ }
511
+ )
512
+ ]
513
+ }
514
+ );
515
+ };
516
+ BoxButton.propTypes = {
517
+ label: PropTypes.any,
518
+ onClick: PropTypes.any,
519
+ main: PropTypes.any,
520
+ extra: PropTypes.any,
521
+ borderColor: PropTypes.any
522
+ };
523
+ var BoxButton_default = React3.memo(BoxButton);
524
+
525
+ // src/components/Buttons/FilledButton/FilledButton.tsx
526
+ import { memo as memo2 } from "react";
527
+ import { CircularProgress } from "@mui/material";
528
+ import Button5 from "@mui/material/Button";
529
+ import { bool as bool3, func as func3, oneOf as oneOf2, string as string3 } from "prop-types";
530
+ import { makeStyles as makeStyles7 } from "tss-react/mui";
531
+ import { jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
532
+ var useStyles7 = makeStyles7()((theme) => ({
533
+ button: {
534
+ background: colors.muiDefault,
535
+ paddingLeft: theme.spacing(2),
536
+ paddingRight: theme.spacing(2),
537
+ margin: theme.spacing(1),
538
+ borderRadius: 25,
539
+ "&:disabled": {
540
+ color: theme.palette.common.white,
541
+ opacity: "0.32"
542
+ }
543
+ },
544
+ primary: {
545
+ color: colors.white,
546
+ background: colors.muiPrimary,
547
+ "&:disabled": {
548
+ color: colors.white,
549
+ opacity: "0.32"
550
+ }
551
+ },
552
+ secondary: {
553
+ color: theme.palette.primary.light,
554
+ background: `linear-gradient(45deg, ${theme.palette.secondary.main}, ${theme.palette.secondary.alternate})`,
555
+ "&:hover": {
556
+ background: `linear-gradient(45deg, ${theme.palette.secondary.main} 40%, ${theme.palette.secondary.alternate})`
557
+ }
558
+ },
559
+ success: {
560
+ color: theme.palette.common.white,
561
+ background: theme.palette.success.main,
562
+ "&:hover": {
563
+ background: theme.palette.success.main
564
+ }
565
+ },
566
+ disabled: {
567
+ color: theme.palette.common.white,
568
+ background: "#A8A8A8",
569
+ "&:disabled": {
570
+ opacity: "1"
571
+ }
572
+ },
573
+ default: {
574
+ background: theme.palette.common.white,
575
+ color: theme.palette.common.black,
576
+ "&:disabled": {
577
+ opacity: "1"
578
+ }
579
+ },
580
+ loading: {
581
+ paddingRight: theme.spacing(1.5)
582
+ },
583
+ loadingText: {
584
+ marginLeft: theme.spacing(1)
585
+ }
586
+ }));
587
+ var FilledButton = ({
588
+ autoFocus = false,
589
+ className,
590
+ color = "primary",
591
+ copy,
592
+ disabled = false,
593
+ href = "",
594
+ isLoading = false,
595
+ onClick,
596
+ type,
597
+ variant = "contained"
598
+ }) => {
599
+ const { classes, cx } = useStyles7();
600
+ return /* @__PURE__ */ jsxs7(
601
+ Button5,
602
+ {
603
+ autoFocus,
604
+ className: cx(classes.button, className, classes[color], {
605
+ [classes.loading]: isLoading
606
+ }),
607
+ disabled: disabled || isLoading,
608
+ focusRipple: autoFocus,
609
+ href,
610
+ onClick,
611
+ type,
612
+ variant,
613
+ children: [
614
+ copy,
615
+ isLoading && /* @__PURE__ */ jsx8(
616
+ CircularProgress,
617
+ {
618
+ className: classes.loadingText,
619
+ color: "inherit",
620
+ size: 18
621
+ }
622
+ )
623
+ ]
624
+ }
625
+ );
626
+ };
627
+ FilledButton.propTypes = {
628
+ autoFocus: bool3,
629
+ className: string3,
630
+ color: oneOf2([
631
+ "default",
632
+ "error",
633
+ "info",
634
+ "inherit",
635
+ "primary",
636
+ "secondary",
637
+ "success",
638
+ "warning"
639
+ ]),
640
+ copy: string3.isRequired,
641
+ isLoading: bool3,
642
+ disabled: bool3,
643
+ href: string3,
644
+ onClick: func3,
645
+ type: oneOf2(["button", "submit"]),
646
+ variant: oneOf2(["contained", "outlined", "text"])
647
+ };
648
+ var FilledButton_default = memo2(FilledButton);
649
+
650
+ // src/components/Buttons/FilledButton/FilledButtonLg.tsx
651
+ import React5 from "react";
652
+ import { Box as Box6, CircularProgress as CircularProgress2 } from "@mui/material";
653
+ import Button6 from "@mui/material/Button";
654
+ import PropTypes2 from "prop-types";
655
+ import { withStyles } from "tss-react/mui";
656
+ import { jsx as jsx9, jsxs as jsxs8 } from "react/jsx-runtime";
657
+ var FilledButtonLg = ({
658
+ classes,
659
+ disabled,
660
+ variant,
661
+ color,
662
+ copy,
663
+ handleClick,
664
+ loading = false,
665
+ loadingProps
666
+ }) => /* @__PURE__ */ jsx9(
667
+ Button6,
668
+ {
669
+ variant,
670
+ className: classes[color],
671
+ onClick: handleClick,
672
+ disabled: disabled || loading,
673
+ children: /* @__PURE__ */ jsxs8(
674
+ Box6,
675
+ {
676
+ sx: {
677
+ display: "flex",
678
+ alignItems: "center",
679
+ justifyContent: "center"
680
+ },
681
+ children: [
682
+ copy,
683
+ loading && /* @__PURE__ */ jsx9(
684
+ CircularProgress2,
685
+ {
686
+ color: loadingProps?.color || "inherit",
687
+ size: loadingProps?.size || 22,
688
+ style: { marginLeft: "15px", ...loadingProps?.style }
689
+ }
690
+ )
691
+ ]
692
+ }
693
+ )
694
+ }
695
+ );
696
+ var ActionButtonLg = withStyles(FilledButtonLg, (theme) => ({
697
+ default: {
698
+ backgroundColor: colors.muiDefault,
699
+ borderRadius: 48,
700
+ paddingLeft: 22,
701
+ paddingRight: 22,
702
+ margin: 16,
703
+ minHeight: 56,
704
+ height: 56,
705
+ fontWeight: 600,
706
+ minWidth: "calc(100% - 32px)",
707
+ fontSize: "1.3rem",
708
+ display: "block",
709
+ boxShadow: `0px 3px 1px -2px ${colors.transparent.black20}, 0px 2px 2px 0px ${colors.transparent.black10}, 0px 1px 5px 0px ${colors.transparent.black10}`,
710
+ "&:hover": {
711
+ background: `linear-gradient(45deg, ${colors.transparent.white10} 40%, ${colors.transparent.white20})`
712
+ }
713
+ },
714
+ primary: {
715
+ color: colors.white,
716
+ background: colors.muiPrimary,
717
+ borderRadius: 48,
718
+ paddingLeft: 22,
719
+ paddingRight: 22,
720
+ margin: 16,
721
+ minHeight: 56,
722
+ height: 56,
723
+ fontWeight: 600,
724
+ minWidth: "calc(100% - 32px)",
725
+ fontSize: "1.3rem",
726
+ display: "block",
727
+ "&:hover": {
728
+ background: colors.muiPrimaryHover
729
+ },
730
+ "&:disabled": {
731
+ color: "white",
732
+ opacity: "0.32"
733
+ }
734
+ },
735
+ secondary: {
736
+ color: theme.palette.primary.light,
737
+ background: `linear-gradient(45deg, ${theme.palette.secondary.main}, ${theme.palette.secondary.alternate})`,
738
+ borderRadius: 48,
739
+ paddingLeft: 22,
740
+ paddingRight: 22,
741
+ margin: 16,
742
+ minHeight: 56,
743
+ height: 56,
744
+ fontWeight: 600,
745
+ minWidth: "calc(100% - 32px)",
746
+ fontSize: "1.3rem",
747
+ display: "block",
748
+ "&:hover": {
749
+ background: `linear-gradient(45deg, ${theme.palette.secondary.main} 40%, ${theme.palette.secondary.alternate})`
750
+ },
751
+ "&:disabled": {
752
+ color: "white",
753
+ opacity: "0.32"
754
+ }
755
+ }
756
+ }));
757
+ FilledButtonLg.propTypes = {
758
+ classes: PropTypes2.any,
759
+ disabled: PropTypes2.any,
760
+ variant: PropTypes2.string,
761
+ color: PropTypes2.string,
762
+ copy: PropTypes2.any,
763
+ handleClick: PropTypes2.any,
764
+ loading: PropTypes2.bool,
765
+ loadingProps: PropTypes2.shape({
766
+ color: PropTypes2.oneOf(["primary", "secondary", "inherit"]),
767
+ size: PropTypes2.number,
768
+ style: PropTypes2.string
769
+ })
770
+ };
771
+ var FilledButtonLg_default = React5.memo(ActionButtonLg);
772
+
773
+ // src/components/Buttons/OutlinedButton/OutlinedButton.tsx
774
+ import React6 from "react";
775
+ import Button7 from "@mui/material/Button";
776
+ import CircularProgress3 from "@mui/material/CircularProgress";
777
+ import {
778
+ bool as bool4,
779
+ func as func4,
780
+ node as node2,
781
+ number,
782
+ oneOf as oneOf3,
783
+ oneOfType,
784
+ shape,
785
+ string as string4
786
+ } from "prop-types";
787
+ import { makeStyles as makeStyles8 } from "tss-react/mui";
788
+ import { jsx as jsx10, jsxs as jsxs9 } from "react/jsx-runtime";
789
+ var useStyles8 = makeStyles8()((theme) => ({
790
+ default: {
791
+ boxShadow: "none",
792
+ borderRadius: 25,
793
+ border: `1px solid ${colors.grey300}`,
794
+ paddingLeft: theme.spacing(3),
795
+ paddingRight: theme.spacing(3),
796
+ minHeight: 36,
797
+ minWidth: "min-content",
798
+ margin: 8,
799
+ fontWeight: 500,
800
+ color: theme.palette.mode === "dark" ? theme.palette.common.white : theme.palette.common.black,
801
+ "&:hover": {
802
+ background: theme.palette.mode === "dark" ? "rgba(255, 255, 255, 0.08)" : "rgba(0, 0, 0, 0.08)"
803
+ }
804
+ },
805
+ primary: {
806
+ color: colors.muiPrimary,
807
+ boxShadow: "none",
808
+ border: `1px solid ${colors.muiPrimary}`,
809
+ borderRadius: 25,
810
+ paddingLeft: theme.spacing(3),
811
+ paddingRight: theme.spacing(3),
812
+ minHeight: 36,
813
+ minWidth: "min-content",
814
+ margin: 8,
815
+ fontWeight: 600,
816
+ "&:hover": {
817
+ background: colors.muiPrimary30
818
+ }
819
+ },
820
+ secondary: {
821
+ color: colors.muiSecondaryAlternate,
822
+ boxShadow: "none",
823
+ border: `1px solid ${colors.muiSecondaryAlternate}`,
824
+ borderRadius: 25,
825
+ paddingLeft: theme.spacing(3),
826
+ paddingRight: theme.spacing(3),
827
+ minHeight: 36,
828
+ minWidth: "min-content",
829
+ margin: 8,
830
+ fontWeight: 600,
831
+ "&:hover": {
832
+ background: colors.muiSecondaryAlternate30
833
+ }
834
+ },
835
+ copy: {
836
+ display: "flex",
837
+ flexDirection: "column",
838
+ lineHeight: "initial",
839
+ "& span": {
840
+ fontSize: ".750rem",
841
+ fontWeight: 200,
842
+ textTransform: "capitalize"
843
+ }
844
+ },
845
+ loading: {
846
+ paddingRight: theme.spacing(1.5)
847
+ },
848
+ loadingCopy: {
849
+ flexDirection: "row"
850
+ },
851
+ loadingIcon: {
852
+ marginLeft: theme.spacing(1)
853
+ }
854
+ }));
855
+ var OutlinedButton = ({
856
+ className,
857
+ color,
858
+ copy,
859
+ disabled,
860
+ href = "",
861
+ isLoading,
862
+ onClick,
863
+ startIcon,
864
+ style,
865
+ subcopy,
866
+ type = "button"
867
+ }) => {
868
+ const { classes, cx } = useStyles8();
869
+ return /* @__PURE__ */ jsx10(
870
+ Button7,
871
+ {
872
+ className: cx(color ? classes[color] : classes.default, className, {
873
+ [classes.loading]: isLoading
874
+ }),
875
+ disabled: disabled || isLoading,
876
+ href,
877
+ onClick,
878
+ startIcon,
879
+ style,
880
+ type,
881
+ variant: "outlined",
882
+ children: /* @__PURE__ */ jsxs9(
883
+ "div",
884
+ {
885
+ className: cx(classes.copy, {
886
+ [classes.loadingCopy]: isLoading
887
+ }),
888
+ children: [
889
+ copy,
890
+ subcopy && /* @__PURE__ */ jsx10("span", { children: subcopy }),
891
+ isLoading && /* @__PURE__ */ jsx10(
892
+ CircularProgress3,
893
+ {
894
+ className: classes.loadingIcon,
895
+ color: "primary",
896
+ size: 18
897
+ }
898
+ )
899
+ ]
900
+ }
901
+ )
902
+ }
903
+ );
904
+ };
905
+ OutlinedButton.propTypes = {
906
+ className: string4,
907
+ color: string4,
908
+ copy: oneOfType([number, string4]).isRequired,
909
+ disabled: bool4,
910
+ href: string4,
911
+ isLoading: bool4,
912
+ onClick: func4,
913
+ startIcon: node2,
914
+ style: shape({}),
915
+ subcopy: string4,
916
+ type: oneOf3(["button", "submit"])
917
+ };
918
+ var OutlinedButton_default = React6.memo(OutlinedButton);
919
+
920
+ // src/components/Buttons/RoundButton/RoundButton.tsx
921
+ import {
922
+ Add as Add2,
923
+ Apps,
924
+ ArrowBack,
925
+ ArrowForward,
926
+ BackspaceOutlined,
927
+ Block,
928
+ CallSplit,
929
+ ChevronRight,
930
+ Close,
931
+ Comment,
932
+ Done,
933
+ Delete as Delete2,
934
+ Edit as Edit2,
935
+ Email,
936
+ GroupAdd,
937
+ History,
938
+ KeyboardArrowUp,
939
+ KeyboardArrowDown,
940
+ Menu,
941
+ MoreHoriz,
942
+ PlayArrowRounded,
943
+ Refresh as Refresh2,
944
+ Remove,
945
+ Search,
946
+ Send,
947
+ ThumbDown,
948
+ ThumbUp,
949
+ Undo
950
+ } from "@mui/icons-material";
951
+ import { Fab, Tooltip as Tooltip2 } from "@mui/material";
952
+ import { makeStyles as makeStyles9 } from "tss-react/mui";
953
+
954
+ // src/components/icons/BallsLogo.js
955
+ import React7 from "react";
956
+ import { jsx as jsx11, jsxs as jsxs10 } from "react/jsx-runtime";
957
+ var SvgBallsLogo = (props) => /* @__PURE__ */ jsxs10("svg", { viewBox: "0 0 1024 305.8", ...props, fill: "currentColor", children: [
958
+ /* @__PURE__ */ jsx11("path", { d: "M586.9,152.3c0,82.2-66,148.1-148.1,148.1s-148.1-66-148.1-148.1S356.6,4.2,438.8,4.2C520.9,2.9,586.9,70.2,586.9,152.3" }),
959
+ /* @__PURE__ */ jsx11("path", { d: "M5.6,4.2c80.9,0,146.9,66,146.9,146.9S86.5,297.9,5.6,297.9C5.6,297.9,5.6,4.2,5.6,4.2z" }),
960
+ /* @__PURE__ */ jsx11("path", { d: "M1018.9,152.3c0-82.2-66-148.1-148.1-148.1s-148.1,66-148.1,148.1s66,148.1,148.1,148.1L1018.9,152.3z" })
961
+ ] });
962
+ var BallsLogo_default = SvgBallsLogo;
963
+
964
+ // src/components/icons/EmptyGlassIcon.js
965
+ import React8 from "react";
966
+ import { jsx as jsx12, jsxs as jsxs11 } from "react/jsx-runtime";
967
+ var SvgEmptyGlassIcon = (props) => /* @__PURE__ */ jsxs11(
968
+ "svg",
969
+ {
970
+ xmlns: "http://www.w3.org/2000/svg",
971
+ width: "140",
972
+ height: "140",
973
+ viewBox: "0 0 140 140",
974
+ fill: "none",
975
+ ...props,
976
+ children: [
977
+ /* @__PURE__ */ jsx12("g", { id: "Frame", clipPath: "url(#clip0_454_24067)", children: /* @__PURE__ */ jsxs11("g", { id: "Clip path group", children: [
978
+ /* @__PURE__ */ jsx12(
979
+ "mask",
980
+ {
981
+ id: "mask0_454_24067",
982
+ maskUnits: "userSpaceOnUse",
983
+ x: "0",
984
+ y: "0",
985
+ width: "140",
986
+ height: "140",
987
+ children: /* @__PURE__ */ jsx12("g", { id: "__lottie_element_11", children: /* @__PURE__ */ jsx12("path", { id: "Vector", d: "M140 0H0V140H140V0Z", fill: "white" }) })
988
+ }
989
+ ),
990
+ /* @__PURE__ */ jsx12("g", { mask: "url(#mask0_454_24067)", children: /* @__PURE__ */ jsx12("g", { id: "Group", children: /* @__PURE__ */ jsxs11("g", { id: "Clip path group_2", children: [
991
+ /* @__PURE__ */ jsx12(
992
+ "mask",
993
+ {
994
+ id: "mask1_454_24067",
995
+ maskUnits: "userSpaceOnUse",
996
+ x: "0",
997
+ y: "0",
998
+ width: "140",
999
+ height: "140",
1000
+ children: /* @__PURE__ */ jsx12("g", { id: "__lottie_element_13", children: /* @__PURE__ */ jsx12("path", { id: "Vector_2", d: "M0 0H140V140H0V0Z", fill: "white" }) })
1001
+ }
1002
+ ),
1003
+ /* @__PURE__ */ jsx12("g", { mask: "url(#mask1_454_24067)", children: /* @__PURE__ */ jsx12("g", { id: "Group_2", children: /* @__PURE__ */ jsxs11("g", { id: "Group_3", children: [
1004
+ /* @__PURE__ */ jsx12("g", { id: "Group_4", children: /* @__PURE__ */ jsx12(
1005
+ "path",
1006
+ {
1007
+ id: "Vector_3",
1008
+ d: "M18.3421 33.0791C16.7957 33.0791 15.5421 34.3327 15.5421 35.8791C15.5421 37.4255 16.7957 38.6791 18.3421 38.6791C19.8886 38.6791 21.1421 37.4255 21.1421 35.8791C21.1421 34.3327 19.8886 33.0791 18.3421 33.0791Z",
1009
+ fill: "#B6B2D8"
1010
+ }
1011
+ ) }),
1012
+ /* @__PURE__ */ jsx12("g", { id: "Group_5", children: /* @__PURE__ */ jsx12(
1013
+ "path",
1014
+ {
1015
+ id: "Vector_4",
1016
+ d: "M108.08 14C107.307 14 106.68 14.6269 106.68 15.4C106.68 16.1731 107.307 16.8 108.08 16.8C108.853 16.8 109.48 16.1731 109.48 15.4C109.48 14.6269 108.853 14 108.08 14Z",
1017
+ fill: "#EECB3A"
1018
+ }
1019
+ ) }),
1020
+ /* @__PURE__ */ jsx12("g", { id: "Group_6", children: /* @__PURE__ */ jsx12(
1021
+ "path",
1022
+ {
1023
+ id: "Vector_5",
1024
+ d: "M70.28 15.3994C41.6715 15.3994 18.48 38.591 18.48 67.1994C18.48 95.8079 41.6715 118.999 70.28 118.999C98.8884 118.999 122.08 95.8079 122.08 67.1994C122.08 38.591 98.8884 15.3994 70.28 15.3994Z",
1025
+ fill: "#F1F1F2"
1026
+ }
1027
+ ) }),
1028
+ /* @__PURE__ */ jsx12("g", { id: "Group_7", children: /* @__PURE__ */ jsx12(
1029
+ "path",
1030
+ {
1031
+ id: "Vector_6",
1032
+ d: "M116.48 12.9854C113.6 12.9854 111.266 15.3199 111.266 18.1999C111.266 21.0798 113.6 23.4144 116.48 23.4144C119.36 23.4144 121.695 21.0798 121.695 18.1999C121.695 15.3199 119.36 12.9854 116.48 12.9854Z",
1033
+ fill: "#EECB3A"
1034
+ }
1035
+ ) }),
1036
+ /* @__PURE__ */ jsx12("g", { id: "Group_8", children: /* @__PURE__ */ jsx12(
1037
+ "path",
1038
+ {
1039
+ id: "Vector_7",
1040
+ d: "M122.927 31.1133C121.381 31.1133 120.127 32.3668 120.127 33.9133C120.127 35.4597 121.381 36.7133 122.927 36.7133C124.473 36.7133 125.727 35.4597 125.727 33.9133C125.727 32.3668 124.473 31.1133 122.927 31.1133Z",
1041
+ fill: "#B6B2D8"
1042
+ }
1043
+ ) }),
1044
+ /* @__PURE__ */ jsx12("g", { id: "Group_9", children: /* @__PURE__ */ jsx12(
1045
+ "path",
1046
+ {
1047
+ id: "Vector_8",
1048
+ d: "M110.403 100.27C108.964 100.27 107.796 101.438 107.796 102.877C107.796 104.317 108.964 105.485 110.403 105.485C111.843 105.485 113.011 104.317 113.011 102.877C113.011 101.438 111.843 100.27 110.403 100.27ZM24.3639 80.7158C21.4839 80.7158 19.1494 83.0504 19.1494 85.9303C19.1494 88.8103 21.4839 91.1448 24.3639 91.1448C27.2439 91.1448 29.5784 88.8103 29.5784 85.9303C29.5784 83.0504 27.2439 80.7158 24.3639 80.7158Z",
1049
+ fill: "#F6D977"
1050
+ }
1051
+ ) }),
1052
+ /* @__PURE__ */ jsx12("g", { id: "Group_10", opacity: "0.655813", children: /* @__PURE__ */ jsx12(
1053
+ "path",
1054
+ {
1055
+ id: "Vector_9",
1056
+ d: "M35.28 116.2C33.7335 116.2 32.48 117.454 32.48 119C32.48 120.546 33.7335 121.8 35.28 121.8C36.8264 121.8 38.08 120.546 38.08 119C38.08 117.454 36.8264 116.2 35.28 116.2Z",
1057
+ fill: "#B6B2D8"
1058
+ }
1059
+ ) }),
1060
+ /* @__PURE__ */ jsx12("g", { id: "Group_11", children: /* @__PURE__ */ jsx12(
1061
+ "path",
1062
+ {
1063
+ id: "Vector_10",
1064
+ d: "M26.18 68.5996C24.2472 68.5996 22.68 70.1668 22.68 72.0996C22.68 74.0324 24.2472 75.5996 26.18 75.5996C28.1128 75.5996 29.68 74.0324 29.68 72.0996C29.68 70.1668 28.1128 68.5996 26.18 68.5996Z",
1065
+ fill: "#FFFEFF"
1066
+ }
1067
+ ) }),
1068
+ /* @__PURE__ */ jsx12("g", { id: "Group_12", children: /* @__PURE__ */ jsx12(
1069
+ "path",
1070
+ {
1071
+ id: "Vector_11",
1072
+ d: "M32.6867 90.4473C31.9136 90.4473 31.2867 91.0739 31.2867 91.8473C31.2867 92.6206 31.9136 93.2473 32.6867 93.2473C33.4598 93.2473 34.0867 92.6206 34.0867 91.8473C34.0867 91.0739 33.4598 90.4473 32.6867 90.4473Z",
1073
+ fill: "#EECB3A"
1074
+ }
1075
+ ) }),
1076
+ /* @__PURE__ */ jsx12("g", { id: "Group_13", children: /* @__PURE__ */ jsx12(
1077
+ "path",
1078
+ {
1079
+ id: "Vector_12",
1080
+ d: "M112.28 43.3994C111.507 43.3994 110.88 44.0263 110.88 44.7994C110.88 45.5725 111.507 46.1994 112.28 46.1994C113.053 46.1994 113.68 45.5725 113.68 44.7994C113.68 44.0263 113.053 43.3994 112.28 43.3994Z",
1081
+ fill: "#FFFEFF"
1082
+ }
1083
+ ) }),
1084
+ /* @__PURE__ */ jsxs11("g", { id: "Group_14", children: [
1085
+ /* @__PURE__ */ jsx12("g", { id: "Group_15", children: /* @__PURE__ */ jsx12(
1086
+ "path",
1087
+ {
1088
+ id: "Vector_13",
1089
+ d: "M109.38 118.149C108.369 121.418 104.765 123.318 101.497 122.307C99.7765 121.774 98.4414 120.607 97.6098 119.03L84.8399 92.0818C84.365 91.1808 84.6845 90.1484 85.5855 89.6735L91.4423 86.5854C92.343 86.1103 93.3751 86.4295 93.8503 87.3308L108.819 113.264C109.704 114.668 109.86 116.601 109.38 118.149Z",
1090
+ fill: "#BF7F42"
1091
+ }
1092
+ ) }),
1093
+ /* @__PURE__ */ jsx12("g", { id: "Group_16", children: /* @__PURE__ */ jsx12(
1094
+ "path",
1095
+ {
1096
+ id: "Vector_14",
1097
+ d: "M90.7249 86.9195L86.2654 89.2707L82.7382 82.5815L87.1975 80.2295L90.7249 86.9195Z",
1098
+ fill: "#C2D1E0"
1099
+ }
1100
+ ) }),
1101
+ /* @__PURE__ */ jsx12("g", { id: "Group_17", children: /* @__PURE__ */ jsx12(
1102
+ "path",
1103
+ {
1104
+ id: "Vector_15",
1105
+ d: "M81.0593 33.0454C66.7827 28.6265 51.691 36.5844 47.272 50.861C42.8531 65.1379 50.8107 80.2296 65.0876 84.6489C79.3642 89.0676 94.4565 81.11 98.8752 66.8333C103.294 52.5564 95.3363 37.4644 81.0593 33.0454ZM66.6847 79.4882C55.3321 75.9742 48.9184 63.8113 52.4324 52.4584C55.9461 41.1055 68.1093 34.6916 79.4622 38.2056C90.8151 41.7193 97.2285 53.8833 93.7145 65.2359C90.2008 76.5888 78.0376 83.0022 66.6847 79.4882Z",
1106
+ fill: "#D2E0EA"
1107
+ }
1108
+ ) }),
1109
+ /* @__PURE__ */ jsx12("g", { id: "Group_18", children: /* @__PURE__ */ jsx12(
1110
+ "path",
1111
+ {
1112
+ id: "Vector_16",
1113
+ d: "M79.4625 38.2053C90.8624 41.7339 97.2433 53.8355 93.7148 65.2354C90.1865 76.6353 78.0843 83.0165 66.6844 79.4879C55.2845 75.9594 48.9036 63.8575 52.4321 52.4576C55.9604 41.0579 68.0626 34.6767 79.4625 38.2053Z",
1114
+ fill: "#8EC5EA"
1115
+ }
1116
+ ) }),
1117
+ /* @__PURE__ */ jsx12("g", { id: "Group_19", children: /* @__PURE__ */ jsx12(
1118
+ "path",
1119
+ {
1120
+ id: "Vector_17",
1121
+ d: "M53.6196 54.7106C57.1336 43.358 69.2971 36.9443 80.6497 40.4583C85.9823 42.1086 89.9877 45.6103 92.8137 49.8778C90.3604 44.406 85.6547 40.1223 79.4622 38.2057C68.1096 34.6917 55.9458 41.1054 52.4321 52.4583C50.5152 58.6505 51.5638 65.0068 54.5206 70.0686C52.5959 65.3262 51.969 60.0429 53.6196 54.7106Z",
1122
+ fill: "#70AFDE"
1123
+ }
1124
+ ) }),
1125
+ /* @__PURE__ */ jsx12("g", { id: "Group_20", children: /* @__PURE__ */ jsx12(
1126
+ "path",
1127
+ {
1128
+ id: "Vector_18",
1129
+ d: "M108.7 113.039L107.935 111.859C108.475 113.158 108.565 114.693 108.139 116.069C107.447 118.306 104.428 118.314 103.36 116.287L90.889 92.6353C90.1764 91.2838 88.628 90.8044 87.2767 91.5173L85.0244 92.7048L97.5443 118.633C98.2572 119.985 99.3669 121.271 100.69 121.869C102.529 122.626 104.634 122.524 106.21 121.693C107.787 120.861 109.061 119.182 109.475 117.237C109.9 115.86 109.413 114.39 108.7 113.039Z",
1130
+ fill: "#B5713E"
1131
+ }
1132
+ ) }),
1133
+ /* @__PURE__ */ jsx12("g", { id: "Group_21", opacity: "0.2", children: /* @__PURE__ */ jsx12(
1134
+ "path",
1135
+ {
1136
+ id: "Vector_19",
1137
+ d: "M72.9785 53.375C69.8053 53.375 67.2329 55.9474 67.2329 59.1206C67.2329 62.2938 69.8053 64.8662 72.9785 64.8662C76.1518 64.8662 78.7244 62.2938 78.7244 59.1206C78.7244 55.9474 76.1518 53.375 72.9785 53.375Z",
1138
+ fill: "#FFFEFF"
1139
+ }
1140
+ ) })
1141
+ ] })
1142
+ ] }) }) })
1143
+ ] }) }) })
1144
+ ] }) }),
1145
+ /* @__PURE__ */ jsx12("defs", { children: /* @__PURE__ */ jsx12("clipPath", { id: "clip0_454_24067", children: /* @__PURE__ */ jsx12("rect", { width: "140", height: "140", fill: "white" }) }) })
1146
+ ]
1147
+ }
1148
+ );
1149
+ var EmptyGlassIcon_default = SvgEmptyGlassIcon;
1150
+
1151
+ // src/components/icons/IconAccount.js
1152
+ import React9 from "react";
1153
+ import { jsx as jsx13, jsxs as jsxs12 } from "react/jsx-runtime";
1154
+ var SvgIconAccount = (props) => /* @__PURE__ */ jsxs12("svg", { viewBox: "0 0 55 56.7", ...props, children: [
1155
+ /* @__PURE__ */ jsx13(
1156
+ "path",
1157
+ {
1158
+ className: "icon-account_svg__st0",
1159
+ d: "M672.6 1136.6c-1.6 0-3 1.3-3 2.9s1.4 3 3 3 3-1.4 2.9-2.9c-.1-1.6-1.3-3-2.9-3zM683.4 1136.5c-1.7 0-3 1.4-3 3s1.4 3 3 3 3-1.4 3-3.1c0-1.7-1.4-2.9-3-2.9z"
1160
+ }
1161
+ ),
1162
+ /* @__PURE__ */ jsx13(
1163
+ "path",
1164
+ {
1165
+ className: "icon-account_svg__st0",
1166
+ d: "M672.4 1130.2h.9v1.2c0 1.1.9 2 2 2h6.9c-1.6.3-3 1.3-4 2.7h-.5c-1.5-2.2-3.5-2.7-5.1-2.7-1.2 0-2.3.3-3.3.9v-3.7-.1c.1 0 .2-.1.7-.2m17.2 3.1v1.3c-.6-.5-1.2-.8-1.8-1.1h.3c.4 0 .7-.1 1.2-.2.2.1.3 0 .3 0m.8-15.1c-.7 0-1.3.5-1.4 1.1v12.1c-.4.1-.7.1-.9.1-.4 0-.5-.2-.8-.9-1.6-3.7-3.1-7.4-4.7-11.1-.2-.7-.8-1-1.6-1h-7.3c-1.1 0-1.6.3-1.6 1.6v8.1c-1.6.2-2.4 1-2.4 2.3v6.8c0 .2.2.7.5.7.1 0 .3.1.5.1s.4-.1.6-.4c.8-1.6 2.1-2.4 3.8-2.4s2.9.8 3.7 2.3c.1.3.3.5.7.5h1.9c.5 0 .6-.2.8-.6.8-1.5 2.1-2.3 3.8-2.3 1.7 0 2.9.9 3.7 2.4.5.9.5 1.8.2 3h5.4c.7 0 1.1-.6 1.1-1 0-.7-.3-1.1-.9-1.4-.2-.1-.6-.1-.8-.1h-2.9v-1.1-16.9-.7c-.3-.8-.7-1.2-1.4-1.2zm-15.6 9.9v-7.2h5.5c.1 0 .3.1.3.3 1.4 3.3 2.9 6.6 4.2 9.9v.1h-7.2v-2.3c0-.8-.1-.9-.9-.9-.7.1-1.3.1-1.9.1z"
1167
+ }
1168
+ ),
1169
+ /* @__PURE__ */ jsx13(
1170
+ "path",
1171
+ {
1172
+ className: "icon-account_svg__st1",
1173
+ d: "M27.3 27.8c1.6 0 3.1-.6 4.2-1.7 1.2-1.2 1.7-2.5 1.7-4.2 0-1.5-.6-2.9-1.7-4.2-1.1-1.1-2.5-1.7-4.2-1.7s-3.1.6-4.2 1.7-1.7 2.5-1.7 4.2.6 3.1 1.7 4.2 2.6 1.7 4.2 1.7zm0-9.4c1 0 1.8.3 2.4.9.5.5 1 1.4 1 2.5s-.3 1.8-1 2.5-1.5 1-2.5 1-1.8-.3-2.5-1-1-1.5-1-2.5.3-1.8 1-2.5c.8-.6 1.6-.9 2.6-.9z"
1174
+ }
1175
+ ),
1176
+ /* @__PURE__ */ jsx13(
1177
+ "path",
1178
+ {
1179
+ className: "icon-account_svg__st1",
1180
+ d: "M37.8 33.4c-.1-.6-.2-1.1-.4-1.6-.1-.5-.4-1-.6-1.6-.3-.6-.5-.9-1-1.4-.1-.1-.2-.1-.3-.2-.3-.2-.6-.5-1.1-.6-.5-.1-1-.3-1.7-.3-.2 0-.3.1-.5.2-.1.1-.2.1-.3.2l-1 .9c-.4.2-1 .5-1.6.7-.6.2-1.3.4-1.9.4-.6 0-1.4-.1-1.9-.4-.6-.2-1.2-.5-1.6-.7l-1.1-.8c-.1-.1-.2-.1-.3-.2-.2-.1-.3-.2-.5-.2-.6 0-1.2 0-1.7.3-.5.1-.9.4-1.4.9-.1.1-.2.3-.3.4-.2.3-.4.5-.6.9-.3.5-.5 1-.6 1.5-.1.5-.3 1-.4 1.6l-.1.3c-.1.5-.2.9-.2 1.4v1.5c0 1.3.4 2.2 1.2 3.1.9.7 1.8 1.1 3 1.1h13c1.4 0 2.3-.3 3.1-1.1.8-.8 1.2-1.8 1.2-3.1.1-1.1-.4-3.1-.4-3.2zm-16.5-3.1l1.2.7c.6.4 1.3.7 2 1 .8.3 1.9.5 2.8.5.9 0 2-.2 2.8-.5.8-.3 1.5-.6 2-1l1.1-.7c.2 0 .3.1.5.1.1 0 .2.1.2.2.1.1.1.1.2.1.1.2.2.3.4.6.2.4.4.8.5 1.1.1.5.2.9.3 1.5v.1c.1.5.4 2 .4 2.6 0 .7-.2 1-.5 1.3-.2.2-.4.4-1.3.4H21c-.7 0-1.1-.2-1.4-.4-.3-.3-.4-.6-.4-1.3v-1.5c0-.2.1-.5.1-.9l.1-.3c.1-.6.2-1 .4-1.5.1-.3.3-.6.5-1.1.1-.1.2-.3.3-.5.1-.1.2-.2.2-.3l.1-.1c.1 0 .3-.1.4-.1z"
1181
+ }
1182
+ )
1183
+ ] });
1184
+ var IconAccount_default = SvgIconAccount;
1185
+
1186
+ // src/components/icons/IconAccounts.js
1187
+ import React10 from "react";
1188
+ import { jsx as jsx14 } from "react/jsx-runtime";
1189
+ var SvgIconAccounts = (props) => /* @__PURE__ */ jsx14("svg", { viewBox: "0 0 55 56.7", ...props, children: /* @__PURE__ */ jsx14(
1190
+ "path",
1191
+ {
1192
+ className: "icon-accounts_svg__st0",
1193
+ d: "M21.6 27.2h-2.4v8.3h2.4v-8.3zm7.1 0h-2.4v8.3h2.4v-8.3zm10.1 10.6H16.2v2.4h22.5v-2.4zm-3-10.6h-2.4v8.3h2.4v-8.3zm-8.3-8l6.2 3.3H21.3l6.2-3.3m0-2.7l-11.3 5.9v2.4h22.5v-2.4l-11.2-5.9z"
1194
+ }
1195
+ ) });
1196
+ var IconAccounts_default = SvgIconAccounts;
1197
+
1198
+ // src/components/icons/IconAvocado.js
1199
+ import React11 from "react";
1200
+ import { jsx as jsx15, jsxs as jsxs13 } from "react/jsx-runtime";
1201
+ var SvgIconAvocado = () => /* @__PURE__ */ jsxs13(
1202
+ "svg",
1203
+ {
1204
+ width: "20",
1205
+ height: "24",
1206
+ viewBox: "0 0 20 24",
1207
+ fill: "none",
1208
+ xmlns: "http://www.w3.org/2000/svg",
1209
+ children: [
1210
+ /* @__PURE__ */ jsx15(
1211
+ "path",
1212
+ {
1213
+ d: "M19 14.3511C19 20.3582 14.9662 22.875 10 22.875C5.03376 22.875 1 20.3582 1 14.3511C1 8.34393 5.03376 1.125 10 1.125C14.9662 1.125 19 8.34393 19 14.3511Z",
1214
+ stroke: colors.grey650,
1215
+ strokeWidth: "2",
1216
+ strokeMiterlimit: "10"
1217
+ }
1218
+ ),
1219
+ /* @__PURE__ */ jsx15(
1220
+ "path",
1221
+ {
1222
+ d: "M10 19.125C12.8995 19.125 15.25 16.7745 15.25 13.875C15.25 10.9755 12.8995 8.625 10 8.625C7.1005 8.625 4.75 10.9755 4.75 13.875C4.75 16.7745 7.1005 19.125 10 19.125Z",
1223
+ stroke: colors.grey650,
1224
+ strokeWidth: "2",
1225
+ strokeMiterlimit: "10"
1226
+ }
1227
+ )
1228
+ ]
1229
+ }
1230
+ );
1231
+ var IconAvocado_default = SvgIconAvocado;
1232
+
1233
+ // src/components/icons/IconBanana.js
1234
+ import React12 from "react";
1235
+ import { jsx as jsx16, jsxs as jsxs14 } from "react/jsx-runtime";
1236
+ var SvgIconBanana = () => /* @__PURE__ */ jsxs14(
1237
+ "svg",
1238
+ {
1239
+ width: "24",
1240
+ height: "22",
1241
+ viewBox: "0 0 24 22",
1242
+ fill: "none",
1243
+ xmlns: "http://www.w3.org/2000/svg",
1244
+ children: [
1245
+ /* @__PURE__ */ jsx16("g", { clipPath: "url(#clip0_0_2321)", children: /* @__PURE__ */ jsx16(
1246
+ "path",
1247
+ {
1248
+ d: "M23.0247 5.42267C22.7775 5.12356 22.4901 4.88302 22.1652 4.70103V0H18.8424V4.69592C18.6156 4.83467 18.3894 5.00524 18.1656 5.20705C17.4915 5.81607 16.9872 6.58066 16.7601 7.05064C16.4487 7.6948 15.6291 8.61014 15.3399 8.90835L15.3258 8.92337C13.0806 11.3673 9.5079 12.0928 6.9063 12.2709C4.0155 12.4691 1.6404 12.0544 1.617 12.0502L1.0053 11.9406L0 14.7755L0.1854 15.0752C0.633 15.7983 1.3155 16.438 2.2134 16.977C2.5812 17.1978 2.9691 17.3996 3.3732 17.584L3.2196 20.0912L3.4806 20.3279C4.1103 20.8991 4.9428 21.3252 5.9544 21.5949C6.9639 21.864 8.0517 22 9.1911 22C9.261 22 9.3315 21.9994 9.402 21.9985C12.8361 21.9483 16.1847 20.7919 18.831 18.7423C20.19 17.6897 21.3129 16.4416 22.1685 15.0325C23.0745 13.5403 23.6568 11.9039 23.8992 10.1681C24.0639 8.99004 24.1692 6.80679 23.0247 5.42237V5.42267ZM20.3082 1.46701H20.7V4.25027H20.3082V1.46701ZM4.203 15.2238C3.7473 14.9506 3.3876 14.6454 3.1308 14.3145L3.4125 13.5208C4.1535 13.6166 5.6514 13.7586 7.4016 13.6412C8.8503 13.5442 10.1715 13.2877 11.3289 12.8793C12.8013 12.3598 14.0127 11.5916 14.9295 10.5958C14.9484 10.5763 15.0021 10.5201 15.0792 10.4363C15.0783 10.4384 15.0771 10.4408 15.0762 10.4429C15.0687 10.4588 15.0612 10.4745 15.054 10.4898C15.0525 10.4928 15.051 10.4961 15.0495 10.4991C15.0219 10.5567 14.9958 10.6105 14.9715 10.6585C14.9709 10.6597 14.9703 10.661 14.9697 10.6622C14.9625 10.6769 14.9553 10.6907 14.9484 10.7045C14.9475 10.7063 14.9466 10.7081 14.9457 10.7102C14.9391 10.7234 14.9328 10.7357 14.9265 10.7477C14.9256 10.7492 14.925 10.7507 14.9241 10.7522C14.9103 10.779 14.8974 10.8033 14.8863 10.8243L14.8788 10.8387C14.8509 10.8946 14.8224 10.9498 14.793 11.0045C14.7834 11.0225 14.7732 11.0402 14.7633 11.0583C14.7432 11.0946 14.7234 11.1309 14.7027 11.167C14.6901 11.1886 14.6772 11.2099 14.6646 11.2312C14.646 11.2628 14.6274 11.2946 14.6082 11.3258C14.5941 11.3487 14.5797 11.3712 14.5653 11.3937C14.5467 11.4231 14.5284 11.4526 14.5095 11.4814C14.4945 11.5045 14.4786 11.5273 14.4633 11.5505C14.4444 11.5784 14.4261 11.6066 14.4069 11.6343C14.3907 11.6574 14.3742 11.6802 14.358 11.703C14.3388 11.7297 14.3199 11.7568 14.3004 11.7835C14.2836 11.8066 14.2659 11.8292 14.2488 11.8523C14.2293 11.8781 14.2098 11.9042 14.19 11.9298C14.1723 11.9526 14.154 11.9751 14.136 11.9976C14.1162 12.0229 14.0961 12.0481 14.076 12.0727C14.0574 12.0952 14.0388 12.1174 14.0199 12.14C13.9995 12.1643 13.9791 12.1889 13.9584 12.2129C13.9392 12.2352 13.9197 12.2574 13.9002 12.2793C13.8795 12.3027 13.8588 12.3265 13.8378 12.3499C13.818 12.3718 13.7976 12.3934 13.7775 12.4154C13.7562 12.4382 13.7352 12.4613 13.7136 12.4838C13.6932 12.5054 13.6722 12.5268 13.6515 12.5481C13.6299 12.5703 13.6083 12.5928 13.5864 12.6148C13.5654 12.6361 13.5441 12.6568 13.5228 12.6778C13.5009 12.6994 13.4787 12.7214 13.4565 12.7427C13.4349 12.7634 13.413 12.7841 13.3911 12.8049C13.3686 12.8259 13.3464 12.8472 13.3236 12.8679C13.3014 12.8883 13.2792 12.9085 13.2567 12.9286C13.2339 12.9493 13.2111 12.9697 13.1883 12.9901C13.1658 13.0103 13.1427 13.0301 13.1199 13.0499C13.0968 13.07 13.0737 13.0898 13.0506 13.1097C13.0275 13.1295 13.0041 13.1487 12.9807 13.1682C12.9573 13.1877 12.9339 13.207 12.9105 13.2262C12.8868 13.2454 12.8631 13.2643 12.8394 13.2835C12.8157 13.3025 12.792 13.3214 12.768 13.34C12.744 13.3589 12.7197 13.3775 12.6957 13.3959C12.6717 13.4142 12.6477 13.4328 12.6234 13.4508C12.5991 13.4691 12.5745 13.4875 12.5499 13.5055C12.5256 13.5235 12.5013 13.5412 12.477 13.5589C12.4521 13.5769 12.4272 13.595 12.4023 13.6127C12.378 13.6301 12.3534 13.6472 12.3288 13.6646C12.3036 13.6824 12.2781 13.6998 12.2526 13.7172C12.228 13.734 12.2034 13.7508 12.1785 13.7673C12.153 13.7845 12.1272 13.8016 12.1014 13.8187C12.0765 13.8352 12.0516 13.8514 12.0267 13.8676C12.0009 13.8845 11.9748 13.9013 11.9487 13.9178C11.9238 13.9337 11.8986 13.9496 11.8737 13.9652C11.8476 13.9818 11.8212 13.998 11.7948 14.0142C11.7696 14.0295 11.7444 14.0448 11.7192 14.0601C11.6925 14.0761 11.6661 14.0923 11.6394 14.1079C11.6142 14.1229 11.589 14.1376 11.5635 14.1523C11.5368 14.168 11.5098 14.1836 11.4831 14.1989C11.4579 14.2133 11.4324 14.2277 11.4069 14.2421C11.3799 14.2574 11.3529 14.2725 11.3256 14.2878C11.3001 14.3019 11.2749 14.3157 11.2494 14.3298C11.2221 14.3448 11.1948 14.3596 11.1675 14.3743C11.1423 14.3878 11.1168 14.4013 11.0916 14.4148C11.064 14.4295 11.0364 14.4439 11.0088 14.4584C10.9836 14.4716 10.9581 14.4845 10.9329 14.4974C10.9053 14.5115 10.8774 14.5259 10.8495 14.5397C10.8243 14.5526 10.7988 14.565 10.7733 14.5776C10.7454 14.5914 10.7175 14.6052 10.6896 14.6187C10.6644 14.631 10.6389 14.643 10.6137 14.6554C10.5858 14.6689 10.5576 14.6824 10.5297 14.6956C10.5045 14.7076 10.4793 14.7193 10.4541 14.731C10.4259 14.7442 10.3977 14.7572 10.3695 14.7701C10.3446 14.7815 10.3194 14.7926 10.2945 14.804C10.266 14.8169 10.2375 14.8298 10.209 14.8424C10.1841 14.8536 10.1595 14.8641 10.1346 14.8749C10.1061 14.8875 10.0773 14.8998 10.0488 14.9121C10.0239 14.9226 9.9993 14.9331 9.9747 14.9437C9.9462 14.9557 9.9174 14.968 9.8889 14.98C9.8646 14.9902 9.8403 15.0001 9.816 15.01C9.7872 15.022 9.7584 15.0337 9.7293 15.0455C9.705 15.0554 9.681 15.065 9.6567 15.0746C9.6279 15.086 9.5991 15.0977 9.5703 15.1091C9.5466 15.1184 9.5232 15.1274 9.4995 15.1364C9.4701 15.1479 9.441 15.1593 9.4116 15.1704C9.3888 15.1791 9.3663 15.1875 9.3435 15.1959C9.3138 15.207 9.2838 15.2184 9.2541 15.2295C9.2319 15.2377 9.2097 15.2458 9.1878 15.2539C9.1578 15.265 9.1275 15.2761 9.0975 15.2866C9.0765 15.2941 9.0555 15.3016 9.0345 15.3088C9.0036 15.3199 8.9727 15.3307 8.9418 15.3416C8.922 15.3485 8.9025 15.3551 8.883 15.362C8.8512 15.3731 8.8191 15.3839 8.7876 15.3947C8.7702 15.4004 8.7531 15.4061 8.736 15.4121C8.7021 15.4235 8.6682 15.435 8.6346 15.4461C8.6274 15.4485 8.6199 15.4509 8.6127 15.4533C8.4822 15.4962 8.3535 15.5368 8.2266 15.5755C8.2137 15.5794 8.2005 15.5836 8.1876 15.5875C8.1573 15.5965 8.1276 15.6055 8.0976 15.6142C8.0787 15.6199 8.0598 15.6257 8.0409 15.6311C8.0133 15.6392 7.986 15.647 7.9587 15.6548C7.938 15.6608 7.917 15.6671 7.8963 15.6728C7.8696 15.6803 7.8432 15.6878 7.8165 15.6953C7.7958 15.701 7.7748 15.7073 7.7541 15.713C7.728 15.7202 7.7025 15.7272 7.6767 15.7344C7.6557 15.7401 7.6347 15.7461 7.6137 15.7515C7.5888 15.7581 7.5639 15.7647 7.5393 15.7713C7.5183 15.777 7.497 15.7827 7.476 15.7881C7.4517 15.7944 7.4277 15.8007 7.4037 15.807C7.3827 15.8124 7.3614 15.8181 7.3407 15.8233C7.3176 15.8293 7.2948 15.835 7.2717 15.8407C7.2504 15.8461 7.2291 15.8515 7.2078 15.8566C7.1853 15.8623 7.1631 15.8677 7.1409 15.8731C7.1199 15.8782 7.0989 15.8833 7.0782 15.8884C7.0563 15.8938 7.0347 15.8989 7.0128 15.904C6.9921 15.9088 6.9714 15.9139 6.951 15.9188C6.9297 15.9239 6.9087 15.9287 6.8874 15.9335C6.8673 15.938 6.8472 15.9428 6.8274 15.9473C6.8067 15.9521 6.7863 15.9566 6.7656 15.9611C6.7458 15.9656 6.726 15.9701 6.7065 15.9743C6.6867 15.9788 6.6675 15.983 6.648 15.9872C6.6282 15.9914 6.6084 15.9959 6.5889 16.0001C6.5703 16.004 6.552 16.0079 6.5337 16.0118C6.5139 16.0161 6.4941 16.0203 6.4746 16.0245C6.4569 16.0281 6.4395 16.0317 6.4224 16.0353C6.4029 16.0392 6.3834 16.0434 6.3645 16.0473C6.3477 16.0506 6.3312 16.0539 6.3147 16.0575C6.2958 16.0614 6.2769 16.065 6.2583 16.0689C6.2421 16.0722 6.2262 16.0752 6.2106 16.0782C6.1992 16.0803 6.1881 16.0827 6.1767 16.0848C5.4552 15.8656 4.7916 15.5758 4.2021 15.222L4.203 15.2238ZM21.7242 10.2258C20.9643 15.6665 15.8076 19.8363 9.7296 19.9252C8.7369 19.9396 7.7952 19.8303 6.9309 19.5999C6.3408 19.4429 5.847 19.22 5.4582 18.936L5.5173 17.969C5.667 17.9458 5.8437 17.917 6.0429 17.8813H6.0441L6.2007 17.8524C6.2448 17.8443 6.2895 17.8356 6.3348 17.8269C7.1979 17.6608 8.3028 17.4002 9.4947 16.9987C10.2474 16.7449 11.0349 16.4353 11.8182 16.0575C14.3601 14.8319 16.1742 13.2211 17.2134 11.2679C17.247 11.2048 17.2797 11.1414 17.3115 11.0778C17.3808 10.9474 18.063 9.64561 18.2292 8.68012C18.2418 8.60624 18.2598 8.52546 18.282 8.44017C18.4971 7.61582 19.1388 6.35333 19.86 6.35333C19.9008 6.35333 19.9443 6.35453 19.9962 6.35723C20.5296 6.38366 20.9292 6.56594 21.2172 6.9146C21.7362 7.54285 21.9258 8.78042 21.7239 10.2258H21.7242Z",
1249
+ fill: colors.grey650
1250
+ }
1251
+ ) }),
1252
+ /* @__PURE__ */ jsx16("defs", { children: /* @__PURE__ */ jsx16("clipPath", { id: "clip0_0_2321", children: /* @__PURE__ */ jsx16("rect", { width: "24", height: "22", fill: "white" }) }) })
1253
+ ]
1254
+ }
1255
+ );
1256
+ var IconBanana_default = SvgIconBanana;
1257
+
1258
+ // src/components/icons/IconBuying.js
1259
+ import React13 from "react";
1260
+ import { jsx as jsx17, jsxs as jsxs15 } from "react/jsx-runtime";
1261
+ var SvgIconBuying = (props) => /* @__PURE__ */ jsxs15("svg", { viewBox: "0 0 55 56.7", ...props, children: [
1262
+ /* @__PURE__ */ jsx17(
1263
+ "path",
1264
+ {
1265
+ className: "icon-buying_svg__st0",
1266
+ d: "M672.6 1136.6c-1.6 0-3 1.3-3 2.9s1.4 3 3 3 3-1.4 2.9-2.9c-.1-1.6-1.3-3-2.9-3zM683.4 1136.5c-1.7 0-3 1.4-3 3s1.4 3 3 3 3-1.4 3-3.1c0-1.7-1.4-2.9-3-2.9z"
1267
+ }
1268
+ ),
1269
+ /* @__PURE__ */ jsx17(
1270
+ "path",
1271
+ {
1272
+ className: "icon-buying_svg__st0",
1273
+ d: "M672.4 1130.2h.9v1.2c0 1.1.9 2 2 2h6.9c-1.6.3-3 1.3-4 2.7h-.5c-1.5-2.2-3.5-2.7-5.1-2.7-1.2 0-2.3.3-3.3.9v-3.7-.1c.1 0 .2-.1.7-.2m17.2 3.1v1.3c-.6-.5-1.2-.8-1.8-1.1h.3c.4 0 .7-.1 1.2-.2.2.1.3 0 .3 0m.8-15.1c-.7 0-1.3.5-1.4 1.1v12.1c-.4.1-.7.1-.9.1-.4 0-.5-.2-.8-.9-1.6-3.7-3.1-7.4-4.7-11.1-.2-.7-.8-1-1.6-1h-7.3c-1.1 0-1.6.3-1.6 1.6v8.1c-1.6.2-2.4 1-2.4 2.3v6.8c0 .2.2.7.5.7.1 0 .3.1.5.1s.4-.1.6-.4c.8-1.6 2.1-2.4 3.8-2.4s2.9.8 3.7 2.3c.1.3.3.5.7.5h1.9c.5 0 .6-.2.8-.6.8-1.5 2.1-2.3 3.8-2.3 1.7 0 2.9.9 3.7 2.4.5.9.5 1.8.2 3h5.4c.7 0 1.1-.6 1.1-1 0-.7-.3-1.1-.9-1.4-.2-.1-.6-.1-.8-.1h-2.9v-1.1-16.9-.7c-.3-.8-.7-1.2-1.4-1.2zm-15.6 9.9v-7.2h5.5c.1 0 .3.1.3.3 1.4 3.3 2.9 6.6 4.2 9.9v.1h-7.2v-2.3c0-.8-.1-.9-.9-.9-.7.1-1.3.1-1.9.1zM39 18.7c-.3-.1-.7-.1-.9-.1H21.2c-.5 0-.6-.1-.7-.4-.1-.3-.3-.6-.4-.8-.1-.2-.2-.5-.4-.8l-.1-.1c-.1-.1-.2-.3-.3-.3h-3.9v2.7h2.1c.2 0 .4 0 .5.3.5.9.9 1.9 1.4 2.8.9 1.8 1.9 3.7 2.7 5.7 0 0 .1.1.1.2s0 .2-.1.2c-.2.5-.5 1-.8 1.5-.2.3-.3.5-.5.9-.5.9-.6 2-.1 2.8.5.8 1.3 1.3 2.4 1.3h14.4V32H23.4c-.3 0-.5 0-.5-.1s.1-.3.1-.5c.3-.3.5-.7.7-1.2.2-.3.4-.4.8-.4h8.3c1.1 0 2-.5 2.6-1.7.7-1.3 1.4-2.7 2.3-4.1.6-1.1 1.3-2.3 1.9-3.5.4-.8-.1-1.5-.6-1.8zm-2.2 2.1c-.4.7-.8 1.4-1.1 2-.8 1.4-1.6 2.8-2.3 4.1-.3.5-.4.5-.6.5H24.2c0-.3-.1-.7-.3-.9-.8-2-1.8-3.8-2.7-5.7v-.1h15.6zM22.8 35.5c-1.4 0-2.6 1.2-2.6 2.6s1.2 2.6 2.6 2.6 2.6-1.2 2.6-2.6-1.2-2.6-2.6-2.6z"
1274
+ }
1275
+ ),
1276
+ /* @__PURE__ */ jsx17("circle", { className: "icon-buying_svg__st0", cx: 34.7, cy: 38.1, r: 2.6 })
1277
+ ] });
1278
+ var IconBuying_default = SvgIconBuying;
1279
+
1280
+ // src/components/icons/IconContentManagement.js
1281
+ import React14 from "react";
1282
+ import { jsx as jsx18, jsxs as jsxs16 } from "react/jsx-runtime";
1283
+ var IconContentManagement = (props) => /* @__PURE__ */ jsxs16("svg", { viewBox: "0 0 55 56.7", ...props, fill: "0000", strokeWidth: "0px", children: [
1284
+ /* @__PURE__ */ jsx18(
1285
+ "path",
1286
+ {
1287
+ className: "cls-1",
1288
+ d: "M33,38.1c0,1.2-1.2,2.2-2.8,2.2h-11c-1.6,0-2.8-1.2-2.8-2.8v-18.3c0-1.5,1.1-2.8,2.5-2.9,1.1-.1,3.2-.1,4.4-.1h1.6v2.1h-5.2c-1.2,0-1.3.1-1.3,1.3v16.9c0,1.1.2,1.3,1.3,1.3h9.7c1.2,0,1.3,0,1.3-1.4v-5.9h2.2v2.6c0,1.7.2,3.4,0,5Z"
1289
+ }
1290
+ ),
1291
+ /* @__PURE__ */ jsx18("rect", { className: "cls-1", x: "21.6", y: "34.1", width: "3.6", height: "5.2" }),
1292
+ /* @__PURE__ */ jsx18(
1293
+ "path",
1294
+ {
1295
+ className: "cls-1",
1296
+ d: "M31.9,23.5c-.5,0-1-.2-1.3-.5-.3-.3-.5-.8-.5-1.3s.2-.9.5-1.3c.3-.3.8-.5,1.3-.5s1,.2,1.3.5c.3.3.5.8.5,1.3s-.2.9-.5,1.3c-.3.3-.8.5-1.3.5ZM35.8,22.2c0-.2,0-.3,0-.5s0-.3,0-.5l1.1-.8c0,0,.1-.2,0-.3l-1.1-1.8c0-.1-.2-.2-.3-.1l-1.3.5c-.3-.2-.6-.4-.9-.5l-.2-1.4c0-.1-.1-.2-.3-.2h-2.1c-.1,0-.2,0-.3.2l-.2,1.4c-.3.1-.6.3-.9.5l-1.3-.5c-.1,0-.3,0-.3.1l-1.1,1.8c0,.1,0,.3,0,.3l1.1.8c0,.2,0,.3,0,.5s0,.3,0,.5l-1.1.8c0,0-.1.2,0,.3l1.1,1.8c0,.1.2.2.3.1l1.3-.5c.3.2.6.4.9.5l.2,1.4c0,.1.1.2.3.2h2.1c.1,0,.2,0,.3-.2l.2-1.4c.3-.1.6-.3.9-.5l1.3.5c.1,0,.3,0,.3-.1l1.1-1.8c0-.1,0-.3,0-.3l-1.1-.8Z"
1297
+ }
1298
+ )
1299
+ ] });
1300
+ var IconContentManagement_default = IconContentManagement;
1301
+
1302
+ // src/components/icons/IconGoodsin.js
1303
+ import React15 from "react";
1304
+ import { jsx as jsx19, jsxs as jsxs17 } from "react/jsx-runtime";
1305
+ var SvgIconGoodsin = (props) => /* @__PURE__ */ jsxs17("svg", { viewBox: "0 0 55 56.7", ...props, children: [
1306
+ /* @__PURE__ */ jsx19(
1307
+ "path",
1308
+ {
1309
+ className: "icon-goodsin_svg__st0",
1310
+ d: "M672.6 1136.6c-1.6 0-3 1.3-3 2.9s1.4 3 3 3 3-1.4 2.9-2.9c-.1-1.6-1.3-3-2.9-3zM683.4 1136.5c-1.7 0-3 1.4-3 3s1.4 3 3 3 3-1.4 3-3.1c0-1.7-1.4-2.9-3-2.9z"
1311
+ }
1312
+ ),
1313
+ /* @__PURE__ */ jsx19(
1314
+ "path",
1315
+ {
1316
+ className: "icon-goodsin_svg__st0",
1317
+ d: "M672.4 1130.2h.9v1.2c0 1.1.9 2 2 2h6.9c-1.6.3-3 1.3-4 2.7h-.5c-1.5-2.2-3.5-2.7-5.1-2.7-1.2 0-2.3.3-3.3.9v-3.7-.1c.1 0 .2-.1.7-.2m17.2 3.1v1.3c-.6-.5-1.2-.8-1.8-1.1h.3c.4 0 .7-.1 1.2-.2.2.1.3 0 .3 0m.8-15.1c-.7 0-1.3.5-1.4 1.1v12.1c-.4.1-.7.1-.9.1-.4 0-.5-.2-.8-.9-1.6-3.7-3.1-7.4-4.7-11.1-.2-.7-.8-1-1.6-1h-7.3c-1.1 0-1.6.3-1.6 1.6v8.1c-1.6.2-2.4 1-2.4 2.3v6.8c0 .2.2.7.5.7.1 0 .3.1.5.1s.4-.1.6-.4c.8-1.6 2.1-2.4 3.8-2.4s2.9.8 3.7 2.3c.1.3.3.5.7.5h1.9c.5 0 .6-.2.8-.6.8-1.5 2.1-2.3 3.8-2.3 1.7 0 2.9.9 3.7 2.4.5.9.5 1.8.2 3h5.4c.7 0 1.1-.6 1.1-1 0-.7-.3-1.1-.9-1.4-.2-.1-.6-.1-.8-.1h-2.9v-1.1-16.9-.7c-.3-.8-.7-1.2-1.4-1.2zm-15.6 9.9v-7.2h5.5c.1 0 .3.1.3.3 1.4 3.3 2.9 6.6 4.2 9.9v.1h-7.2v-2.3c0-.8-.1-.9-.9-.9-.7.1-1.3.1-1.9.1zM19.5 34.6c-1.6 0-3 1.3-3 2.9s1.4 3 3 3 3-1.4 2.9-2.9c0-1.6-1.3-3-2.9-3zM30.4 34.5c-1.7 0-3 1.4-3 3s1.4 3 3 3 3-1.4 3-3.1c-.1-1.7-1.4-2.9-3-2.9z"
1318
+ }
1319
+ ),
1320
+ /* @__PURE__ */ jsx19(
1321
+ "path",
1322
+ {
1323
+ className: "icon-goodsin_svg__st0",
1324
+ d: "M19.3 28.2h.9v1.2c0 1.1.9 2 2 2h6.9c-1.6.3-3 1.3-4 2.7h-.5c-1.5-2.2-3.5-2.7-5.1-2.7-1.2 0-2.3.3-3.3.9v-3.7-.1c.1 0 .2-.1.7-.2m17.3 3.1v1.3c-.6-.5-1.2-.8-1.8-1.1h.3c.4 0 .7-.1 1.2-.2.1.1.2 0 .3 0m.7-15.1c-.7 0-1.3.5-1.4 1.1v12.1c-.4.1-.7.1-.9.1-.4 0-.5-.2-.8-.9-1.6-3.7-3.1-7.4-4.7-11.1-.2-.7-.8-1-1.6-1h-7.3c-1.1 0-1.6.3-1.6 1.6v8.1c-1.6.2-2.4 1-2.4 2.3v6.8c0 .2.2.7.5.7.1 0 .3.1.5.1s.4-.1.6-.4c.8-1.6 2.1-2.4 3.8-2.4s2.9.8 3.7 2.3c.1.3.3.5.7.5h1.9c.5 0 .6-.2.8-.6.8-1.5 2.1-2.3 3.8-2.3 1.7 0 2.9.9 3.7 2.4.5.9.5 1.8.2 3h5.4c.7 0 1.1-.6 1.1-1 0-.7-.3-1.1-.9-1.4-.2-.1-.6-.1-.8-.1h-2.9v-1.1-16.9-.7c-.2-.8-.7-1.2-1.4-1.2zm-15.6 9.9V19h5.5c.1 0 .3.1.3.3 1.4 3.3 2.9 6.6 4.2 9.9v.1h-7.2V27c0-.8-.1-.9-.9-.9-.7.1-1.2.1-1.9.1z"
1325
+ }
1326
+ )
1327
+ ] });
1328
+ var IconGoodsin_default = SvgIconGoodsin;
1329
+
1330
+ // src/components/icons/IconGrape.js
1331
+ import React16 from "react";
1332
+ import { jsx as jsx20 } from "react/jsx-runtime";
1333
+ var SvgIconGrape = (props) => /* @__PURE__ */ jsx20(
1334
+ "svg",
1335
+ {
1336
+ width: "24",
1337
+ height: "24",
1338
+ viewBox: "0 0 24 24",
1339
+ fill: "none",
1340
+ xmlns: "http://www.w3.org/2000/svg",
1341
+ ...props,
1342
+ children: /* @__PURE__ */ jsx20(
1343
+ "path",
1344
+ {
1345
+ d: "M21 12C20.9984 10.6744 20.4711 9.40355 19.5338 8.46621C18.5964 7.52888 17.3256 7.00158 16 6.99999C14.9141 7.00504 13.86 7.36695 13 8.02999C13 8.02099 13.005 8.01399 13.005 8.00499C12.9832 7.60549 13.0456 7.20586 13.1882 6.83205C13.3309 6.45824 13.5506 6.11862 13.833 5.83523C14.1154 5.55185 14.4543 5.33104 14.8277 5.18714C15.201 5.04325 15.6004 4.97948 16 4.99999C16.2652 4.99999 16.5196 4.89464 16.7071 4.7071C16.8946 4.51956 17 4.26521 17 3.99999C17 3.73478 16.8946 3.48042 16.7071 3.29289C16.5196 3.10535 16.2652 2.99999 16 2.99999C15.3032 2.96439 14.6071 3.08408 13.9622 3.35041C13.3173 3.61675 12.7396 4.02307 12.271 4.53999C11.8704 3.47457 11.1471 2.56079 10.2022 1.92617C9.25727 1.29156 8.1378 0.967771 6.99999 0.999994C6.73478 0.999994 6.48042 1.10535 6.29289 1.29289C6.10535 1.48042 5.99999 1.73478 5.99999 1.99999C5.99703 3.81487 6.5846 5.58144 7.67399 7.03299C6.45538 7.10841 5.30691 7.62879 4.44673 8.49528C3.58655 9.36177 3.07458 10.514 3.00807 11.7331C2.94156 12.9523 3.32514 14.1534 4.08596 15.1083C4.84677 16.0632 5.93182 16.7055 7.13499 16.913C7.04927 17.2691 7.00398 17.6337 6.99999 18C6.99557 18.7054 7.14048 19.4038 7.4252 20.0493C7.70991 20.6947 8.12799 21.2726 8.65196 21.745C9.17592 22.2174 9.79392 22.5735 10.4653 22.79C11.1367 23.0065 11.8464 23.0785 12.5476 23.0012C13.2488 22.924 13.9257 22.6992 14.5339 22.3417C15.142 21.9841 15.6676 21.502 16.0762 20.9268C16.4847 20.3517 16.7669 19.6967 16.9042 19.0047C17.0416 18.3127 17.0309 17.5995 16.873 16.912C18.0277 16.7072 19.0738 16.1031 19.8282 15.2052C20.5826 14.3073 20.9974 13.1728 21 12ZM10.882 6.85099C8.99399 6.30899 8.34299 4.40599 8.11799 3.15099C10.006 3.69099 10.657 5.59299 10.882 6.85099ZM4.99999 12C4.99999 11.2043 5.31606 10.4413 5.87867 9.87867C6.44128 9.31606 7.20434 8.99999 7.99999 8.99999C8.79564 8.99999 9.55871 9.31606 10.1213 9.87867C10.6839 10.4413 11 11.2043 11 12C11 15.975 4.99999 15.976 4.99999 12ZM12 21C11.2043 21 10.4413 20.6839 9.87867 20.1213C9.31606 19.5587 8.99999 18.7956 8.99999 18C8.9999 17.5953 9.08544 17.1952 9.25099 16.826C10.3394 16.5388 11.3007 15.8961 11.982 15C12.4994 15.0066 13.0067 15.1437 13.457 15.3985C13.9073 15.6534 14.286 16.0178 14.558 16.458C14.8368 16.911 14.9893 17.4304 14.9996 17.9622C15.01 18.494 14.8778 19.0189 14.6167 19.4824C14.3557 19.9459 13.9754 20.331 13.5152 20.5979C13.0551 20.8648 12.5319 21.0036 12 21ZM16 15H15.982C15.3229 14.1283 14.3951 13.4979 13.342 13.206C13.311 13.197 13.282 13.182 13.251 13.174C13.0854 12.8047 12.9999 12.4047 13 12C13 11.4066 13.1759 10.8266 13.5056 10.3333C13.8352 9.83994 14.3038 9.45542 14.8519 9.22835C15.4001 9.00129 16.0033 8.94188 16.5853 9.05764C17.1672 9.17339 17.7018 9.45912 18.1213 9.87867C18.5409 10.2982 18.8266 10.8328 18.9424 11.4147C19.0581 11.9967 18.9987 12.5999 18.7716 13.148C18.5446 13.6962 18.1601 14.1648 17.6667 14.4944C17.1734 14.824 16.5933 15 16 15Z",
1346
+ fill: colors.grey650
1347
+ }
1348
+ )
1349
+ }
1350
+ );
1351
+ var IconGrape_default = SvgIconGrape;
1352
+
1353
+ // src/components/icons/IconHome.js
1354
+ import React17 from "react";
1355
+ import { jsx as jsx21, jsxs as jsxs18 } from "react/jsx-runtime";
1356
+ var SvgIconHome = (props) => /* @__PURE__ */ jsxs18("svg", { viewBox: "0 0 55 56.7", ...props, children: [
1357
+ /* @__PURE__ */ jsx21(
1358
+ "path",
1359
+ {
1360
+ className: "icon-home_svg__st0",
1361
+ d: "M672.6 1136.6c-1.6 0-3 1.3-3 2.9s1.4 3 3 3 3-1.4 2.9-2.9c-.1-1.6-1.3-3-2.9-3zM683.4 1136.5c-1.7 0-3 1.4-3 3s1.4 3 3 3 3-1.4 3-3.1c0-1.7-1.4-2.9-3-2.9z"
1362
+ }
1363
+ ),
1364
+ /* @__PURE__ */ jsx21(
1365
+ "path",
1366
+ {
1367
+ className: "icon-home_svg__st0",
1368
+ d: "M672.4 1130.2h.9v1.2c0 1.1.9 2 2 2h6.9c-1.6.3-3 1.3-4 2.7h-.5c-1.5-2.2-3.5-2.7-5.1-2.7-1.2 0-2.3.3-3.3.9v-3.7-.1c.1 0 .2-.1.7-.2m17.2 3.1v1.3c-.6-.5-1.2-.8-1.8-1.1h.3c.4 0 .7-.1 1.2-.2.2.1.3 0 .3 0m.8-15.1c-.7 0-1.3.5-1.4 1.1v12.1c-.4.1-.7.1-.9.1-.4 0-.5-.2-.8-.9-1.6-3.7-3.1-7.4-4.7-11.1-.2-.7-.8-1-1.6-1h-7.3c-1.1 0-1.6.3-1.6 1.6v8.1c-1.6.2-2.4 1-2.4 2.3v6.8c0 .2.2.7.5.7.1 0 .3.1.5.1s.4-.1.6-.4c.8-1.6 2.1-2.4 3.8-2.4s2.9.8 3.7 2.3c.1.3.3.5.7.5h1.9c.5 0 .6-.2.8-.6.8-1.5 2.1-2.3 3.8-2.3 1.7 0 2.9.9 3.7 2.4.5.9.5 1.8.2 3h5.4c.7 0 1.1-.6 1.1-1 0-.7-.3-1.1-.9-1.4-.2-.1-.6-.1-.8-.1h-2.9v-1.1-16.9-.7c-.3-.8-.7-1.2-1.4-1.2zm-15.6 9.9v-7.2h5.5c.1 0 .3.1.3.3 1.4 3.3 2.9 6.6 4.2 9.9v.1h-7.2v-2.3c0-.8-.1-.9-.9-.9-.7.1-1.3.1-1.9.1z"
1369
+ }
1370
+ ),
1371
+ /* @__PURE__ */ jsx21(
1372
+ "path",
1373
+ {
1374
+ className: "icon-home_svg__st1",
1375
+ d: "M38 24.3l-9.1-7.6c-.4-.4-.9-.6-1.4-.6-.5 0-1 .2-1.3.5l-9.4 7.9c-.6.5-.8 1.5-.6 2.2.3.9 1.2 1.4 2 1.4h.1v9.2c0 1.9 1.5 3.4 3.4 3.4h2.8c.6 0 1.2-.5 1.2-1.2v-5.7H29v5.7c0 .6.5 1.2 1.2 1.2h3.1c1.9 0 3.4-1.5 3.4-3.4V28h.2c1.1 0 2-1 2-2 0-.7-.4-1.4-.9-1.7zm-4.7 14h-1.9v-4.9c0-1.1-.9-1.9-1.9-1.9h-4.1c-1.1 0-1.9.9-1.9 1.9v4.9h-1.7c-.6 0-1-.5-1-1v-13l6.7-5.7 6.9 5.7v13c-.1.5-.6 1-1.1 1z"
1376
+ }
1377
+ )
1378
+ ] });
1379
+ var IconHome_default = SvgIconHome;
1380
+
1381
+ // src/components/icons/IconImport.js
1382
+ import React18 from "react";
1383
+ import { jsx as jsx22 } from "react/jsx-runtime";
1384
+ var SvgIconImport = (props) => /* @__PURE__ */ jsx22("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "-8 -8 40 40", ...props, children: /* @__PURE__ */ jsx22(
1385
+ "path",
1386
+ {
1387
+ className: "icon-runs_svg__st0",
1388
+ d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6m-.5 14v3h-3v-3H8l4-4 4 4h-2.5M13 9V3.5L18.5 9H13Z"
1389
+ }
1390
+ ) });
1391
+ var IconImport_default = SvgIconImport;
1392
+
1393
+ // src/components/icons/IconLocation.js
1394
+ import React19 from "react";
1395
+ import { jsx as jsx23, jsxs as jsxs19 } from "react/jsx-runtime";
1396
+ var SvgIconLocation = (props) => /* @__PURE__ */ jsxs19("svg", { viewBox: "0 0 55 56.7", ...props, children: [
1397
+ /* @__PURE__ */ jsx23(
1398
+ "path",
1399
+ {
1400
+ className: "icon-location_svg__st0",
1401
+ d: "M36.8 25.4c-.1-2.5-1.1-4.8-2.9-6.5-1.8-1.8-4.1-2.7-6.6-2.7-5.1 0-9.2 4.2-9.2 9.3 0 1.8.5 3.5 1.6 5.1 1.6 2.6 3.4 5.3 5.5 8.5.8 1.1 1.7 1.4 2.3 1.4h.1c.6 0 1.5-.3 2.2-1.4.5-.7.9-1.4 1.4-2.2l.1-.2c1.2-1.9 2.5-3.8 3.7-5.7 1.3-1.7 1.9-3.6 1.8-5.6zm-9.4-6.6h.1c1.7 0 3.4.7 4.6 1.9 1.3 1.3 2.1 3 2.1 4.8.1 1.7-.7 3.1-1.3 4l-.1.1c-1.2 1.9-2.4 3.8-3.7 5.7-.5.8-1 1.5-1.5 2.3-.1.1-.1.2-.2.2l-.2-.2c-2.1-3.1-3.8-5.8-5.5-8.4-.8-1.1-1.1-2.4-1.1-3.7.1-3.7 3.1-6.7 6.8-6.7zm.1 21.3z"
1402
+ }
1403
+ ),
1404
+ /* @__PURE__ */ jsx23(
1405
+ "path",
1406
+ {
1407
+ className: "icon-location_svg__st0",
1408
+ d: "M27.6 30.2c-2.5 0-4.6-2.1-4.6-4.6 0-2.5 2.1-4.6 4.6-4.6 2.6 0 4.7 2.1 4.6 4.6l-4.6 4.6z"
1409
+ }
1410
+ )
1411
+ ] });
1412
+ var IconLocation_default = SvgIconLocation;
1413
+
1414
+ // src/components/icons/IconLogin.js
1415
+ import React20 from "react";
1416
+ import { jsx as jsx24, jsxs as jsxs20 } from "react/jsx-runtime";
1417
+ var SvgIconLogin = (props) => /* @__PURE__ */ jsxs20("svg", { viewBox: "0 0 55 56.7", ...props, children: [
1418
+ /* @__PURE__ */ jsx24(
1419
+ "path",
1420
+ {
1421
+ className: "icon-login_svg__st0",
1422
+ d: "M24.4 35.7h-4.1c-1.4 0-2.2-.9-2.2-2.2v-9.9c0-1.4.9-2.2 2.2-2.2h4.2c.6 0 1-.4 1-1v-.5c0-.8-.4-1-1-1H20c-1 0-2 .4-2.9 1.2-.8.7-1.2 1.8-1.4 2.6v11.4c0 .1 0 .2.1.3v.1c.4 1.9 2.1 3.4 3.9 3.4h4.8c.2 0 .6 0 .6-.3.1-.4.2-1 .1-1.3 0-.5-.7-.6-.8-.6z"
1423
+ }
1424
+ ),
1425
+ /* @__PURE__ */ jsx24(
1426
+ "path",
1427
+ {
1428
+ className: "icon-login_svg__st0",
1429
+ d: "M39.2 28.1c-.2-.2-.2-.3-.3-.4-.1-.1-.1-.2-.2-.2l-7.9-7.9c-.4-.4-1-.6-1.4-.4-.8.3-.8 1-.8 1.3v3.9h-6.1c-1.1 0-1.5.4-1.5 1.5v5.2c0 1.1.4 1.5 1.5 1.5h6.2v3.9c0 .5.3.9.8 1.1.2.1.3.1.5.1.3 0 .5-.1.8-.4l.2-.2c.9-.9 1.7-1.7 2.6-2.5 1.7-1.6 3.4-3.3 5-5 .1-.1.2-.2.3-.4l.3-.3.1-.1v-.1c0-.1 0-.3-.1-.6zm-10.2 2h-5.4v-3.2h5.3c1.2 0 2.2-1 2.2-2.2v-1.2l5.1 5.1-4.3 4.3-.6.6v-1.1c0-1.3-1-2.3-2.3-2.3z"
1430
+ }
1431
+ )
1432
+ ] });
1433
+ var IconLogin_default = SvgIconLogin;
1434
+
1435
+ // src/components/icons/IconNotification.js
1436
+ import React21 from "react";
1437
+ import { jsx as jsx25, jsxs as jsxs21 } from "react/jsx-runtime";
1438
+ var SvgIconNotification = (props) => /* @__PURE__ */ jsxs21("svg", { viewBox: "0 0 55 56.7", ...props, children: [
1439
+ /* @__PURE__ */ jsx25(
1440
+ "path",
1441
+ {
1442
+ className: "icon-notification_svg__st0",
1443
+ d: "M33 38.1c-.1 1.2-1.2 2.2-2.8 2.2h-11c-1.6 0-2.8-1.2-2.8-2.8V19.2c0-1.5 1.1-2.8 2.5-2.9 1.1-.1 3.2-.1 4.4-.1H24.9v2.1H19.7c-1.2 0-1.3.1-1.3 1.3v16.9c0 1.1.2 1.3 1.3 1.3h9.7c1.2 0 1.3-.1 1.3-1.4v-5.9h2.2v2.6c.1 1.7.2 3.4.1 5z"
1444
+ }
1445
+ ),
1446
+ /* @__PURE__ */ jsx25(
1447
+ "path",
1448
+ {
1449
+ className: "icon-notification_svg__st0",
1450
+ d: "M21.6 34.1h6.6v2.2h-6.6zM37.2 26.8H26.7v-.5l1.2-1.2v-3.4c0-1.9 1.2-3.5 3.1-3.9v-.4c0-.5.4-.9.9-.9.6 0 .9.4.9.9v.4c1.8.4 3.1 2 3.1 3.9v3.4l1.2 1.2.1.5z"
1451
+ }
1452
+ )
1453
+ ] });
1454
+ var IconNotification_default = SvgIconNotification;
1455
+
1456
+ // src/components/icons/IconOpsMetrics.js
1457
+ import React22 from "react";
1458
+ import { jsx as jsx26, jsxs as jsxs22 } from "react/jsx-runtime";
1459
+ var SvgIconOpsMetrics = (props) => /* @__PURE__ */ jsxs22("svg", { viewBox: "0 0 55 56.7", ...props, children: [
1460
+ /* @__PURE__ */ jsx26("path", { d: "M672.6 1136.6c-1.6 0-3 1.3-3 2.9s1.4 3 3 3 3-1.4 2.9-2.9c-.1-1.6-1.3-3-2.9-3zM683.4 1136.5c-1.7 0-3 1.4-3 3s1.4 3 3 3 3-1.4 3-3.1c0-1.7-1.4-2.9-3-2.9z" }),
1461
+ /* @__PURE__ */ jsx26("path", { d: "M672.4 1130.2h.9v1.2c0 1.1.9 2 2 2h6.9c-1.6.3-3 1.3-4 2.7h-.5c-1.5-2.2-3.5-2.7-5.1-2.7-1.2 0-2.3.3-3.3.9v-3.7-.1c.1 0 .2-.1.7-.2m17.2 3.1v1.3c-.6-.5-1.2-.8-1.8-1.1h.3c.4 0 .7-.1 1.2-.2.2.1.3 0 .3 0m.8-15.1c-.7 0-1.3.5-1.4 1.1v12.1c-.4.1-.7.1-.9.1-.4 0-.5-.2-.8-.9-1.6-3.7-3.1-7.4-4.7-11.1-.2-.7-.8-1-1.6-1h-7.3c-1.1 0-1.6.3-1.6 1.6v8.1c-1.6.2-2.4 1-2.4 2.3v6.8c0 .2.2.7.5.7.1 0 .3.1.5.1s.4-.1.6-.4c.8-1.6 2.1-2.4 3.8-2.4s2.9.8 3.7 2.3c.1.3.3.5.7.5h1.9c.5 0 .6-.2.8-.6.8-1.5 2.1-2.3 3.8-2.3s2.9.9 3.7 2.4c.5.9.5 1.8.2 3h5.4c.7 0 1.1-.6 1.1-1 0-.7-.3-1.1-.9-1.4-.2-.1-.6-.1-.8-.1h-2.9v-1.1-16.9-.7c-.3-.8-.7-1.2-1.4-1.2zm-15.6 9.9v-7.2h5.5c.1 0 .3.1.3.3 1.4 3.3 2.9 6.6 4.2 9.9v.1h-7.2v-2.3c0-.8-.1-.9-.9-.9-.7.1-1.3.1-1.9.1zM39.5 40.7H29V28.2h10.5v12.5zm-8-2.5H37v-7.5h-5.5v7.5zm-6 2.5H15v-8.5h10.5v8.5zm-8-2.5H23v-3.5h-5.5v3.5zm8-9.5H15V16.2h10.5v12.5zm-8-2.5H23v-7.5h-5.5v7.5zm22-1.5H29v-8.5h10.5v8.5zm-8-2.5H37v-3.5h-5.5v3.5z" })
1462
+ ] });
1463
+ var IconOpsMetrics_default = SvgIconOpsMetrics;
1464
+
1465
+ // src/components/icons/IconOrders.js
1466
+ import React23 from "react";
1467
+ import { jsx as jsx27, jsxs as jsxs23 } from "react/jsx-runtime";
1468
+ var SvgIconOrders = (props) => /* @__PURE__ */ jsxs23("svg", { viewBox: "0 0 55 56.7", ...props, children: [
1469
+ /* @__PURE__ */ jsx27(
1470
+ "path",
1471
+ {
1472
+ className: "icon-orders_svg__st0",
1473
+ d: "M36.1 23.3l-6.6-6.6c-.2-.2-.5-.3-.8-.3h-8.8c-1.8 0-3.3 1.5-3.3 3.3v17.7c0 1.8 1.5 3.3 3.3 3.3h13.2c1.8 0 3.3-1.5 3.3-3.3V24.1c0-.3-.1-.6-.3-.8zm-1.9 14.1c0 .6-.5 1.1-1.1 1.1H19.9c-.6 0-1.1-.5-1.1-1.1V19.7c0-.6.5-1.1 1.1-1.1h8.4l6 6-.1 12.8z"
1474
+ }
1475
+ ),
1476
+ /* @__PURE__ */ jsx27(
1477
+ "path",
1478
+ {
1479
+ className: "icon-orders_svg__st0",
1480
+ d: "M22.1 33h8.8v2.2h-8.8zM22.1 28.6h8.8v2.2h-8.8zM26.8 25.9h6l-6-6.1z"
1481
+ }
1482
+ )
1483
+ ] });
1484
+ var IconOrders_default = SvgIconOrders;
1485
+
1486
+ // src/components/icons/IconPhone.js
1487
+ import React24 from "react";
1488
+ import { jsx as jsx28 } from "react/jsx-runtime";
1489
+ var SvgIconPhone = (props) => /* @__PURE__ */ jsx28("svg", { viewBox: "0 0 55 56.7", ...props, children: /* @__PURE__ */ jsx28(
1490
+ "path",
1491
+ {
1492
+ className: "icon-phone_svg__st0",
1493
+ d: "M34 22.9c-3 0-5.5 2.5-5.5 5.5 0 1.3.5 2.6 1.3 3.5h-4.5c.8-.9 1.3-2.2 1.3-3.5 0-3-2.5-5.5-5.5-5.5s-5.5 2.5-5.5 5.5 2.5 5.5 5.5 5.5h13c3 0 5.5-2.5 5.5-5.5S37 22.9 34 22.9zm-13 9c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3.5-3.5 3.5 1.6 3.5 3.5-1.6 3.5-3.5 3.5zm13 0c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3.5-3.5 3.5 1.6 3.5 3.5-1.6 3.5-3.5 3.5z"
1494
+ }
1495
+ ) });
1496
+ var IconPhone_default = SvgIconPhone;
1497
+
1498
+ // src/components/icons/IconPriceList.js
1499
+ import React25 from "react";
1500
+ import { jsx as jsx29, jsxs as jsxs24 } from "react/jsx-runtime";
1501
+ var SvgIconPriceList = (props) => /* @__PURE__ */ jsxs24("svg", { viewBox: "0 0 55 56.7", ...props, children: [
1502
+ /* @__PURE__ */ jsx29(
1503
+ "path",
1504
+ {
1505
+ className: "icon-price-list_svg__st0",
1506
+ d: "M672.6 1136.6c-1.6 0-3 1.3-3 2.9s1.4 3 3 3 3-1.4 2.9-2.9c-.1-1.6-1.3-3-2.9-3zM683.4 1136.5c-1.7 0-3 1.4-3 3s1.4 3 3 3 3-1.4 3-3.1c0-1.7-1.4-2.9-3-2.9z"
1507
+ }
1508
+ ),
1509
+ /* @__PURE__ */ jsx29(
1510
+ "path",
1511
+ {
1512
+ className: "icon-price-list_svg__st0",
1513
+ d: "M672.4 1130.2h.9v1.2c0 1.1.9 2 2 2h6.9c-1.6.3-3 1.3-4 2.7h-.5c-1.5-2.2-3.5-2.7-5.1-2.7-1.2 0-2.3.3-3.3.9v-3.7-.1c.1 0 .2-.1.7-.2m17.2 3.1v1.3c-.6-.5-1.2-.8-1.8-1.1h.3c.4 0 .7-.1 1.2-.2.2.1.3 0 .3 0m.8-15.1c-.7 0-1.3.5-1.4 1.1v12.1c-.4.1-.7.1-.9.1-.4 0-.5-.2-.8-.9-1.6-3.7-3.1-7.4-4.7-11.1-.2-.7-.8-1-1.6-1h-7.3c-1.1 0-1.6.3-1.6 1.6v8.1c-1.6.2-2.4 1-2.4 2.3v6.8c0 .2.2.7.5.7.1 0 .3.1.5.1s.4-.1.6-.4c.8-1.6 2.1-2.4 3.8-2.4s2.9.8 3.7 2.3c.1.3.3.5.7.5h1.9c.5 0 .6-.2.8-.6.8-1.5 2.1-2.3 3.8-2.3 1.7 0 2.9.9 3.7 2.4.5.9.5 1.8.2 3h5.4c.7 0 1.1-.6 1.1-1 0-.7-.3-1.1-.9-1.4-.2-.1-.6-.1-.8-.1h-2.9v-1.1-16.9-.7c-.3-.8-.7-1.2-1.4-1.2zm-15.6 9.9v-7.2h5.5c.1 0 .3.1.3.3 1.4 3.3 2.9 6.6 4.2 9.9v.1h-7.2v-2.3c0-.8-.1-.9-.9-.9-.7.1-1.3.1-1.9.1z"
1514
+ }
1515
+ ),
1516
+ /* @__PURE__ */ jsx29(
1517
+ "path",
1518
+ {
1519
+ className: "icon-price-list_svg__st1",
1520
+ d: "M27.3 33c2.6 0 4.8-2.1 4.8-4.7 0-2.5-2.1-4.6-4.8-4.6-2.6 0-4.8 2.1-4.8 4.7 0 1.2.5 2.3 1.4 3.2.9.9 2.1 1.4 3.4 1.4zm-2.4-4.6c0-1.3 1.1-2.3 2.4-2.3 1.3 0 2.4 1 2.4 2.2 0 1.3-1.1 2.3-2.4 2.3-.7 0-1.3-.3-1.7-.7-.5-.4-.7-1-.7-1.5z"
1521
+ }
1522
+ ),
1523
+ /* @__PURE__ */ jsx29(
1524
+ "path",
1525
+ {
1526
+ className: "icon-price-list_svg__st1",
1527
+ d: "M39.4 33.9l-2-1.8c.5-1.2.7-2.5.7-3.7 0-1.4-.2-2.6-.7-3.9l1.9-1.9c.4-.4.6-.9.6-1.5s-.3-1.1-.7-1.5l-3.2-3c-.8-.8-2.2-.7-2.9.1l-1.7 1.8c-.7-.3-1.3-.5-2-.6-1-.2-1.9-.2-3-.1-1 .1-2 .3-3 .7l-1.3-1.2-.1-.1-.6-.6c-.8-.7-2.1-.6-2.9.1l-3 3.1c-.4.4-.6.9-.6 1.5s.3 1.1.7 1.5l1.7 1.6c-.5 1.2-.7 2.5-.7 3.8 0 1.4.2 2.6.7 3.9l-1.8 1.8c-.4.4-.6.9-.6 1.5v.6c0 .6.2 1.2.7 1.5l3 2.8c.8.7 2.1.7 2.9-.1l1.9-1.9c1.2.5 2.6.8 4 .8s2.8-.3 4-.8l2.1 2c.4.4.9.6 1.4.6.6 0 1.1-.2 1.5-.6l3-3.1c.4-.4.6-1 .6-1.5.1-.9-.2-1.4-.6-1.8zm-22.1 1.5l2.8-2.9-.1-.2c-.7-1.4-1.1-2.7-1.1-4.2s.4-2.9 1.2-4.1l.1-.2-2.8-2.6 2.7-2.8.5.4 2.4 2.3.2-.1c1.1-.6 2.2-1 3.5-1.1.9-.1 1.6-.1 2.3.1.9.2 1.9.5 2.8 1.1l.2.1 2.7-2.8 2.9 2.7-3 2.9.1.2c.7 1.4 1.1 2.7 1.1 4.2 0 1.4-.4 2.8-1.2 4.1l-.1.2 3.1 2.8-2.7 2.8-3.1-2.9-.2.1c-1.3.8-2.7 1.2-4.3 1.2s-3-.4-4.3-1.2v-.2l-3 3-2.8-2.5v-.4z"
1528
+ }
1529
+ )
1530
+ ] });
1531
+ var IconPriceList_default = SvgIconPriceList;
1532
+
1533
+ // src/components/icons/IconProducts.js
1534
+ import React26 from "react";
1535
+ import { jsx as jsx30, jsxs as jsxs25 } from "react/jsx-runtime";
1536
+ var SvgIconProducts = (props) => /* @__PURE__ */ jsxs25("svg", { viewBox: "0 0 55 56.7", ...props, children: [
1537
+ /* @__PURE__ */ jsx30(
1538
+ "path",
1539
+ {
1540
+ className: "icon-products_svg__st0",
1541
+ d: "M23.2 30.2c0-.9-.6-1.5-1.5-1.5-.8 0-1.7.8-1.7 1.5 0 1 .8 1.6 1.6 1.7h.2c.3 0 .6-.1.8-.3.4-.3.6-.8.6-1.4zM23.1 32c-.3-.1-.6 0-.8.1-.3.2-.5.6-.5 1 .1.5.3 1 1.1 1 .7 0 1.1-.4 1.1-1.1 0-.7-.6-.9-.9-1zM22.5 23.4c-1.4 0-2.5 1.1-2.5 2.5s1 2.3 2.5 2.4h.2c.6 0 1.2-.3 1.7-.8.4-.5.6-1.1.5-1.6-.2-1.5-1.1-2.5-2.4-2.5z"
1542
+ }
1543
+ ),
1544
+ /* @__PURE__ */ jsx30(
1545
+ "path",
1546
+ {
1547
+ className: "icon-products_svg__st0",
1548
+ d: "M38.7 10.5c-2.5-.4-4.3-.4-5.8 0-2.7.7-4.6 2.6-5.1 5.2-.1-.2-.1-.4-.2-.6l-.3-.5c-.4-.6-.7-1.2-1.2-1.8-.1-.1-.6-.3-.8-.2l-.3.1v.1c-.1.2-.1.4-.1.7 0 .3.2.5.3.6h.1c.8 1 1 1.7 1.2 2.8-.4.1-1.2.2-1.4.2-5.6.8-9.9 6.4-9.1 12.1.8 5.8 5.2 9.8 10.9 9.8.7 0 1.4-.1 2.1-.2 2.8-.5 5.3-2.2 7-4.8 1.7-2.5 2.2-5.7 1.5-8.5-1.1-4.7-4.7-7.8-9.5-8.5 0-.3-.1-.6-.2-.9h.2c.6-.1 1.2-.2 1.9-.2 1.2-.1 2.4-.2 3.4-.5 2-.5 3.5-1.3 4.4-2.5.3-.4.5-.7.7-1.1.1-.3.3-.5.5-.8l.2-.3-.4-.2zM35.4 26c.5 2.3.1 4.7-1.2 6.8-1.3 2-3.2 3.3-5.4 3.8-.6.1-1.2.2-1.7.2-4.5 0-8-3.1-8.6-7.8-.6-4.4 2.7-8.8 7-9.5.6 0 1.2-.2 1.6-.3.2.1.3.1.5.2h.3c3.7.4 6.5 2.8 7.5 6.6zm-8.5-8.9z"
1549
+ }
1550
+ )
1551
+ ] });
1552
+ var IconProducts_default = SvgIconProducts;
1553
+
1554
+ // src/components/icons/IconPromoCode.js
1555
+ import React27 from "react";
1556
+ import { jsx as jsx31, jsxs as jsxs26 } from "react/jsx-runtime";
1557
+ var SvgIconPromoCode = (props) => /* @__PURE__ */ jsxs26("svg", { viewBox: "0 0 42.5 42.5", ...props, children: [
1558
+ /* @__PURE__ */ jsx31(
1559
+ "path",
1560
+ {
1561
+ className: "promo_code_svg_st0",
1562
+ d: "M11.5,15.9c1.2,0,0.8-1,0.8-1.7c0-1.5,0.2-1.5,1.7-1.7c0.7,0,1.7,0.3,1.7-0.8c0,0,0,0,0-0.1\n c0-0.3-0.1-0.4-0.2-0.5c-0.3-0.4-1.1-0.2-1.5-0.2c-2.7,0-3.5,0.8-3.3,3.3c0,0.3,0,0.6,0,0.8C10.7,15.6,10.8,16,11.5,15.9z"
1563
+ }
1564
+ ),
1565
+ /* @__PURE__ */ jsx31(
1566
+ "path",
1567
+ {
1568
+ className: "promo_code_svg_st0",
1569
+ d: "M14.9,17.5C14.9,17.6,14.9,17.6,14.9,17.5C14.9,17.6,14.9,17.6,14.9,17.5c0,1.5,1.1,2.5,2.5,2.5c0,0,0,0,0,0\n c0,0,0,0,0,0s0,0,0,0c1.4,0,2.5-1.1,2.5-2.4c0,0,0-0.1,0-0.1c0-1.4-1.1-2.5-2.5-2.5c0,0,0,0,0,0s0,0,0,0c0,0,0,0,0,0\n C16,15.1,14.9,16.2,14.9,17.5z"
1570
+ }
1571
+ ),
1572
+ /* @__PURE__ */ jsx31(
1573
+ "path",
1574
+ {
1575
+ className: "promo_code_svg_st0",
1576
+ d: "M26.7,24.4C26.7,24.4,26.7,24.4,26.7,24.4C26.7,24.4,26.7,24.4,26.7,24.4c0-1.4-1.1-2.5-2.5-2.5\n c-0.1,0-0.1,0-0.2,0c-1.4,0-2.5,1.2-2.5,2.7c0,1.4,1.2,2.5,2.7,2.5C25.6,27,26.8,25.9,26.7,24.4z"
1577
+ }
1578
+ ),
1579
+ /* @__PURE__ */ jsx31(
1580
+ "path",
1581
+ {
1582
+ className: "promo_code_svg_st0",
1583
+ d: "M30,18.4c-0.5,0-0.8,0.4-0.8,0.8v0v3.5v0c0,0.5,0.4,0.8,0.8,0.8s0.8-0.4,0.8-0.8v0v-1.7v0v0v-1.8v0\n C30.9,18.8,30.5,18.4,30,18.4z"
1584
+ }
1585
+ ),
1586
+ /* @__PURE__ */ jsx31(
1587
+ "path",
1588
+ {
1589
+ className: "promo_code_svg_st0",
1590
+ d: "M25.9,16.8c0-0.3-0.2-0.5-0.5-0.7c-0.5-0.3-0.8,0-1.2,0.3c0,0-0.1,0.1-0.1,0.1L16,24.6\n c-0.1,0.1-0.2,0.1-0.3,0.2c-0.2,0.3-0.2,0.8,0.1,1c0,0,0,0,0.1,0.1c0.5,0.5,1,0.2,1.3-0.2l0.2-0.2c0,0,0,0,0,0l8-8\n C25.7,17.4,25.9,17.1,25.9,16.8z"
1591
+ }
1592
+ ),
1593
+ /* @__PURE__ */ jsx31(
1594
+ "path",
1595
+ {
1596
+ className: "promo_code_svg_st0",
1597
+ d: "M19,12.6L19,12.6C19.1,12.6,19.1,12.6,19,12.6c0.1,0,0.1,0,0.2,0h3.3c0.4,0,0.8-0.3,0.8-0.7c0,0,0-0.1,0-0.1\n c0-0.4-0.3-0.8-0.7-0.8c0,0-0.1,0-0.1,0h-0.2c0,0,0,0,0,0h-1.5h-1.7c-0.7,0-1,0.2-1,0.8c0,0,0,0.1,0,0.1\n C18.2,12.3,18.6,12.6,19,12.6z"
1598
+ }
1599
+ ),
1600
+ /* @__PURE__ */ jsx31(
1601
+ "path",
1602
+ {
1603
+ className: "promo_code_svg_st0",
1604
+ d: "M12.4,19.2c0-0.4-0.4-0.8-0.8-0.7c0,0-0.1,0-0.1,0c-0.4,0-0.8,0.4-0.7,0.8v0.2v3.2v0.1v0.1\n c0,0.4,0.3,0.8,0.7,0.8c0,0,0.1,0,0.1,0c0.4,0,0.8-0.3,0.8-0.7c0,0,0-0.1,0-0.1l0-1.7v-1.7c0,0,0,0,0,0V19.2\n C12.4,19.2,12.4,19.2,12.4,19.2z"
1605
+ }
1606
+ ),
1607
+ /* @__PURE__ */ jsx31(
1608
+ "path",
1609
+ {
1610
+ className: "promo_code_svg_st0",
1611
+ d: "M22.4,29.4H22h-1.3h-1.2h-0.3c-0.5,0-0.9,0.3-1,0.8c0,0.4,0.3,0.8,0.7,0.8c0,0,0.1,0,0.1,0h0.3h2.8h0.3\n c0,0,0.1,0,0.1,0c0.4,0,0.8-0.4,0.7-0.8C23.3,29.8,22.9,29.4,22.4,29.4z"
1612
+ }
1613
+ ),
1614
+ /* @__PURE__ */ jsx31(
1615
+ "path",
1616
+ {
1617
+ className: "promo_code_svg_st0",
1618
+ d: "M27.5,12.6L27.5,12.6c1.5,0,1.7,0.2,1.7,1.6v0.1c0,0.7-0.3,1.6,0.8,1.6c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0\n c0.2,0,0.3,0,0.4-0.1c0,0,0,0,0,0c0.6-0.2,0.4-1,0.4-1.6l0-0.2c0.1-0.8-0.1-1.6-0.5-2.3c-1.1-0.9-2.6-1.2-4-0.8\n c-0.1,0-0.1,0.1-0.1,0.1c-0.2,0.1-0.4,0.3-0.4,0.7C25.9,12.9,26.9,12.6,27.5,12.6z"
1619
+ }
1620
+ ),
1621
+ /* @__PURE__ */ jsx31(
1622
+ "path",
1623
+ {
1624
+ className: "promo_code_svg_st0",
1625
+ d: "M30.1,26.1C30.1,26.1,30.1,26.1,30.1,26.1C30,26.1,30,26.1,30.1,26.1c-1.2,0-0.8,1-0.8,1.7\n c0,0.5,0,0.9-0.1,1.1c0,0.1-0.1,0.2-0.2,0.3c0,0,0,0,0,0c-0.1,0.1-0.2,0.1-0.3,0.2c-0.2,0.1-0.6,0.1-1.1,0.1h-0.1\n c-0.4,0-0.9-0.1-1.2,0c-0.3,0.1-0.6,0.4-0.6,0.7c0,0,0,0.1,0,0.1c0,0.5,0.3,0.7,0.7,0.8c1.6,0.5,2.8,0.2,3.6-0.6\n c0.4-0.4,0.7-0.9,0.8-1.6c0,0,0,0,0,0c0-0.2,0.1-0.5,0.1-0.7c0-0.1,0-0.1,0-0.2v-0.2C30.9,27.1,31.2,26.1,30.1,26.1z"
1626
+ }
1627
+ ),
1628
+ /* @__PURE__ */ jsx31(
1629
+ "path",
1630
+ {
1631
+ className: "promo_code_svg_st0",
1632
+ d: "M15.7,30.3c0-1.2-1-0.8-1.7-0.8c-1.5,0-1.7-0.2-1.7-1.7c0-0.7,0.3-1.7-0.8-1.7c-0.8,0-0.9,0.5-0.9,1\n c-0.4,1.2-0.2,2.3,0.5,3.1c0.1,0.1,0.2,0.2,0.2,0.3c0.1,0.1,0.1,0.1,0.2,0.1c0.1,0,0.1,0.1,0.2,0.1c0.5,0.3,1.2,0.5,2,0.5h0h0.8\n c0.3,0,0.6-0.1,0.8-0.4c0,0,0,0,0,0c0,0,0-0.1,0.1-0.1c0,0,0-0.1,0-0.2c0,0,0-0.1,0-0.1C15.7,30.4,15.7,30.4,15.7,30.3\n C15.7,30.3,15.7,30.3,15.7,30.3z"
1633
+ }
1634
+ )
1635
+ ] });
1636
+ var IconPromoCode_default = SvgIconPromoCode;
1637
+
1638
+ // src/components/icons/IconQc.js
1639
+ import React28 from "react";
1640
+ import { jsx as jsx32 } from "react/jsx-runtime";
1641
+ var SvgIconQc = (props) => /* @__PURE__ */ jsx32("svg", { viewBox: "0 0 55 56.7", ...props, children: /* @__PURE__ */ jsx32(
1642
+ "path",
1643
+ {
1644
+ className: "icon-qc_svg__st0",
1645
+ d: "M19.4 24h-4.6v14h4.6V24zM28.6 19.6l-.6 2.9c-.2.8 0 1.5.5 2.1.5.6 1.2.9 2 .9h7.2V27c0 .1-.1.1-.1.2l-3.5 8.1h-10V24l4.5-4.4M29.9 14.7l-7.7 7.7c-.4.4-.6 1-.6 1.7v11.6c0 1.3 1 2.3 2.3 2.3h10.5c.8 0 1.7-.6 2-1.4l3.6-8.3c.1-.4.3-.5.3-.9v-2.2c0-1.2-.9-2.2-2.2-2.2h-7.5l1.2-5.4v-.4c0-.5-.1-.9-.5-1.3l-1.4-1.2z"
1646
+ }
1647
+ ) });
1648
+ var IconQc_default = SvgIconQc;
1649
+
1650
+ // src/components/icons/IconReports.js
1651
+ import React29 from "react";
1652
+ import { jsx as jsx33 } from "react/jsx-runtime";
1653
+ var SvgIconReports = (props) => /* @__PURE__ */ jsx33("svg", { viewBox: "0 0 55 56.7", ...props, children: /* @__PURE__ */ jsx33(
1654
+ "path",
1655
+ {
1656
+ className: "icon-reports_svg__st0",
1657
+ d: "M36.3 18.4l-1.8-1.8-1.8 1.8-1.7-1.8-1.8 1.8-1.8-1.8-1.8 1.8-1.6-1.8-1.8 1.8-1.8-1.8-1.8 1.8-1.8-1.8v23.5l1.8-1.8 1.8 1.8 1.8-1.8 1.8 1.8 1.8-1.8 1.8 1.8 1.8-1.8 1.8 1.8 1.8-1.8 1.8 1.8 1.8-1.8 1.8 1.8V16.6l-2.1 1.8zm-.6 18.3H19.3V20h16.4v16.7zm-15.2-4.8h14.1v2.3H20.5v-2.3zm0-4.7h14.1v2.3H20.5v-2.3zm0-4.7h14.1v2.3H20.5v-2.3z"
1658
+ }
1659
+ ) });
1660
+ var IconReports_default = SvgIconReports;
1661
+
1662
+ // src/components/icons/IconRetail.js
1663
+ import React30 from "react";
1664
+ import { jsx as jsx34, jsxs as jsxs27 } from "react/jsx-runtime";
1665
+ var SvgIconRetail = (props) => /* @__PURE__ */ jsxs27("svg", { viewBox: "0 0 55 56.7", ...props, children: [
1666
+ /* @__PURE__ */ jsx34(
1667
+ "path",
1668
+ {
1669
+ className: "icon-retail_svg__st0",
1670
+ d: "M38.2 25.5c1 0 1.7-.2 2.5-1 .7-.7 1-1.5 1-2.5s-.4-1.7-1-2.5c-.7-.7-1.6-1-2.5-1-1 0-1.7.2-2.5 1-.6.6-1 1.5-1 2.5s.2 1.7 1 2.5 1.6 1 2.5 1zm-1.1-4.6c.3-.3.5-.4 1.1-.4.4 0 .7.1 1 .4.4.5.5.8.5 1.1 0 .6-.1.8-.4 1.1-.3.3-.5.4-1.1.4-.5 0-.8-.1-1.1-.4-.3-.3-.4-.5-.4-1.1 0-.4.2-.8.4-1.1zM27.5 28.5c1.1 0 2.1-.4 3-1.2.9-.9 1.2-1.7 1.2-3 0-1.1-.5-2.1-1.2-3-.9-.9-1.9-1.2-3-1.2s-2.1.4-3 1.2c-.9.9-1.2 1.9-1.2 3s.4 2.1 1.2 3c.9.8 1.9 1.2 3 1.2zm-1.6-5.8c.5-.5.9-.7 1.6-.7.6 0 1.1.2 1.5.6.5.6.7 1.1.7 1.6 0 .7-.2 1.1-.7 1.6-.5.5-.9.7-1.6.7-.6 0-1.1-.2-1.6-.7-.5-.5-.7-.9-.7-1.6.2-.6.4-1.1.8-1.5zM16.8 25.7c1 0 1.7-.2 2.5-1 .7-.7 1-1.5 1-2.5s-.4-1.7-1-2.5c-.7-.7-1.6-1-2.5-1-1 0-1.7.2-2.5 1-.6.6-1 1.5-1 2.5s.2 1.7 1 2.5 1.6 1 2.5 1zm-1.1-4.5c.3-.3.5-.4 1.1-.4.4 0 .7.1 1 .4.4.5.5.8.5 1.1 0 .6-.1.8-.4 1.1-.3.3-.5.4-1.1.4-.5 0-.8-.1-1.1-.4-.3-.3-.4-.5-.4-1.1 0-.5.2-.8.4-1.1z"
1671
+ }
1672
+ ),
1673
+ /* @__PURE__ */ jsx34(
1674
+ "path",
1675
+ {
1676
+ className: "icon-retail_svg__st0",
1677
+ d: "M44.4 29.1c-.1-.4-.1-.7-.2-1-.1-.2-.2-.6-.4-.9-.1-.2-.2-.5-.5-.7-.2-.2-.5-.4-.7-.5-.2 0-.6-.1-1-.1-.1 0-.1 0-.4.2-.2.2-.5.2-.7.5s-.6.4-1 .5c-.4.1-.9.2-1.2.2s-.9 0-1.2-.2c-.4-.2-.7-.4-1-.5-.2-.2-.5-.4-.7-.5-.4-.1-.4-.2-.6-.2-.4 0-.7 0-1 .1s-.5.2-.7.5c-.1.2-.4.5-.5.7-.1.2-.2.6-.4.9-.1.2-.1.5-.2.8.2 0 .4.1.6.1.4.1.7.4 1 .6.2.4.4.6.6 1 .2.4.4.7.5 1.1.1.4.2.7.2 1.1 0 0 .1.1.1.4h-.9c-.7 0-1.2-.2-1.7-.6-.5-.4-.7-1-.7-1.7V30c0-.2 0-.6.1-1h-.4c-.1 0-.2 0-.5.2-.2.2-.6.4-.9.6s-.7.4-1.2.6c-.5.1-1 .2-1.5.2s-1 0-1.5-.2-1-.4-1.2-.6c-.2-.2-.6-.4-.9-.6-.2-.1-.4-.2-.5-.2h-.4c.1.1.1.2.1.4 0 0 .2 1.1.2 1.9s-.1 1.2-.6 1.7c-.4.5-1 .6-1.7.7h-1.1c0-.2.1-.4.1-.6 0-.5.1-.9.2-1.2 0-.1.1-.3.1-.4v-.2.2l.3-.6c.1-.4.4-.7.6-1 .4-.4.6-.5 1-.6.2-.1.5-.1.7-.1h-.1c0-.2-.1-.4-.1-.6-.1-.2-.2-.6-.4-.9-.1-.2-.2-.5-.5-.7s-.5-.4-.7-.5c-.2 0-.6-.1-1-.1-.1 0-.1.1-.4.2-.2.2-.5.2-.7.5-.2.2-.6.4-1 .5s-.9.2-1.2.2-.9-.1-1.2-.2c-.4-.2-.7-.4-1-.5-.2-.2-.5-.4-.7-.5s-.2-.2-.4-.2c-.4 0-.7 0-1 .1-.2.1-.5.2-.7.5-.1.2-.4.5-.5.7-.1.2-.2.6-.4.9-.1.2-.1.6-.2 1 0 .4-.1.7-.1 1v.9c0 .7.2 1.2.7 1.7.4.4 1 .6 1.7.6h6.8c-.1.2-.1.4-.1.6v1.1c0 .9.2 1.5.9 2.1.5.5 1.1.7 2.1.7h9.8c.9 0 1.5-.2 2.1-.7.6-.5.9-1.1.9-2.1 0-.6-.1-1.5-.2-2h7.1c.7 0 1.2-.1 1.7-.6s.7-1 .7-1.7c.1-.9-.2-2.1-.2-2.1zm-25.6.5c-.3.3-.6.8-.6 1.3 0 .1-.1.2-.1.3 0 .1-.1.2-.1.4h-5.5c-.2-.2-.2-.2-.2-.3v-.8-.1c0-.2.1-.4.1-.6 0-.2.1-.3.1-.5v-.1c.1-.1.1-.3.2-.5 0-.1.1-.2.1-.2l.1-.1v-.1c.2.2.3.3.5.4.1.1.2.1.4.2s.3.1.4.2c.1.1.3.2.5.2.5.2 1.2.4 1.9.4s1.4-.2 1.9-.4c.2-.1.4-.1.6-.2-.1.1-.2.3-.3.5zm14.5 6.2c-.4.3-.6.4-.9.4h-9.8c-.5 0-.6-.1-.7-.2-.2-.2-.2-.3-.3-.4.8-.2 1.7-.4 2.5-1.3.6-.6.9-1.2 1.1-1.9.9.4 1.6.4 2.2.4.7 0 1.4-.2 2-.3.1 0 .3-.1.4-.2.1 0 .1 0 .2-.1.2.8.7 1.5 1.4 2 .5.4 1.1.8 2.1.9v.2c-.2.4-.2.5-.2.5zm9.2-4.5h-5.8c0-.1-.1-.2-.1-.2-.1-.4-.3-1-.7-1.6-.1-.2-.2-.3-.3-.4-.1-.2-.2-.4-.4-.6 0 0 .1 0 .2.1.2.1.3.1.4.2.9.6 1.8.6 2.4.6.7 0 1.4-.2 1.9-.4s1.1-.4 1.7-.9c.1 0 .1-.1.2-.1 0 0 0 .1.1.1 0 .1.1.2.1.3.1.2.1.3.2.5v.1c0 .2.1.4.1.6.1.5.2 1.1.2 1.4 0 .1 0 .1-.2.3z"
1678
+ }
1679
+ ),
1680
+ /* @__PURE__ */ jsx34(
1681
+ "path",
1682
+ {
1683
+ className: "icon-retail_svg__st0",
1684
+ d: "M32 28.9h-.2v.1c.1 0 .1 0 .2-.1z"
1685
+ }
1686
+ )
1687
+ ] });
1688
+ var IconRetail_default = SvgIconRetail;
1689
+
1690
+ // src/components/icons/IconRuns.js
1691
+ import React31 from "react";
1692
+ import { jsx as jsx35 } from "react/jsx-runtime";
1693
+ var SvgIconRuns = (props) => /* @__PURE__ */ jsx35("svg", { viewBox: "0 0 55 56.7", ...props, children: /* @__PURE__ */ jsx35(
1694
+ "path",
1695
+ {
1696
+ className: "icon-runs_svg__st0",
1697
+ d: "M37.2 23.5h-3.7v-4.9h-17c-1.3 0-2.4 1.1-2.4 2.4v13.4h2.4c0 2 1.6 3.7 3.7 3.7s3.7-1.6 3.7-3.7h7.3c0 2 1.6 3.7 3.7 3.7s3.7-1.6 3.7-3.7H41v-6.1l-3.8-4.8zm-.6 1.8l2.4 3h-5.4v-3h3zM20.2 35.7c-.7 0-1.2-.5-1.2-1.2s.5-1.2 1.2-1.2 1.2.5 1.2 1.2-.5 1.2-1.2 1.2zm2.7-3.7c-.7-.7-1.6-1.2-2.7-1.2s-2 .5-2.7 1.2h-.9V21h14.6v11h-8.3zm11.9 3.7c-.7 0-1.2-.5-1.2-1.2s.5-1.2 1.2-1.2 1.2.5 1.2 1.2-.5 1.2-1.2 1.2z"
1698
+ }
1699
+ ) });
1700
+ var IconRuns_default = SvgIconRuns;
1701
+
1702
+ // src/components/icons/IconScales.js
1703
+ import React32 from "react";
1704
+ import { jsx as jsx36, jsxs as jsxs28 } from "react/jsx-runtime";
1705
+ var SvgIconScales = (props) => /* @__PURE__ */ jsxs28("svg", { viewBox: "0 0 55 56.7", ...props, children: [
1706
+ /* @__PURE__ */ jsx36(
1707
+ "path",
1708
+ {
1709
+ className: "icon-scales_svg__st0",
1710
+ d: "M27.7 28.9c-2.7 0-4.9 2.2-4.9 4.9s2.2 4.9 4.9 4.9 4.9-2.2 4.9-4.9-2.2-4.9-4.9-4.9z"
1711
+ }
1712
+ ),
1713
+ /* @__PURE__ */ jsx36(
1714
+ "path",
1715
+ {
1716
+ className: "icon-scales_svg__st0",
1717
+ d: "M34.1 25.5h-2.5c-.1-.2-.2-.3-.2-.5 0-.3.2-.6.4-.9 3.2-.6 4.6-1.7 4.6-1.7 1.8-1.3 2-2.4 2-2.8 0-.6-.5-1.1-1.1-1.1H18.2c-.6 0-1.1.5-1.1 1.1 0 .5.3 1.5 2 2.8.2.1 1.6 1.1 4.7 1.7.2.3.4.6.4.9 0 .2-.1.4-.2.5h-2.7c-1.4 0-2.6 1.2-2.6 2.5l-1.5 11.4v.1c0 1.4 1.2 2.6 2.6 2.6h15.9c1.4 0 2.6-1.2 2.6-2.7L36.7 28c0-1.4-1.2-2.5-2.6-2.5zm.7-4.8c-.5.3-2.6 1.6-7.1 1.6-.2 0-1.3 0-2.3-.1h-.2c-2.7-.4-4.2-1.1-4.6-1.4h14.2zm.8 19.1H19.7c-.2 0-.4-.2-.4-.3l1.5-11.3v-.1c0-.2.2-.4.4-.4h12.9c.2 0 .4.2.4.4L36 39.4c0 .3-.2.4-.4.4z"
1718
+ }
1719
+ ),
1720
+ /* @__PURE__ */ jsx36(
1721
+ "path",
1722
+ {
1723
+ className: "icon-scales_svg__st1",
1724
+ d: "M28.2 32.8v-1.1c0-.3-.2-.5-.5-.5s-.5.2-.5.5v1.1c-.3.2-.5.5-.5.9 0 .6.5 1 1 1s1-.5 1-1c0-.3-.2-.7-.5-.9z"
1725
+ }
1726
+ )
1727
+ ] });
1728
+ var IconScales_default = SvgIconScales;
1729
+
1730
+ // src/components/icons/IconSearchCategories.js
1731
+ import React33 from "react";
1732
+ import { jsx as jsx37 } from "react/jsx-runtime";
1733
+ var SvgIconSearchCategories = (props) => /* @__PURE__ */ jsx37("svg", { viewBox: "0 0 55 56.7", ...props, children: /* @__PURE__ */ jsx37(
1734
+ "path",
1735
+ {
1736
+ className: "icon-search-categories_svg__st0",
1737
+ d: "M32.9,31h-1l-0.4-0.4c1.3-1.4,2-3.3,2-5.3c0-4.5-3.7-8.2-8.2-8.2s-8.2,3.7-8.2,8.2s3.7,8.2,8.2,8.2\n c2,0,3.9-0.8,5.3-2l0.4,0.4v1l6.3,6.3l1.9-1.9L32.9,31z M25.3,31c-3.1,0-5.7-2.5-5.7-5.7s2.5-5.7,5.7-5.7s5.7,2.5,5.7,5.7\n S28.4,31,25.3,31z"
1738
+ }
1739
+ ) });
1740
+ var IconSearchCategories_default = SvgIconSearchCategories;
1741
+
1742
+ // src/components/icons/IconSetting.js
1743
+ import React34 from "react";
1744
+ import { jsx as jsx38 } from "react/jsx-runtime";
1745
+ var SvgIconSetting = (props) => /* @__PURE__ */ jsx38("svg", { viewBox: "0 0 55 56.7", ...props, children: /* @__PURE__ */ jsx38(
1746
+ "path",
1747
+ {
1748
+ className: "icon-setting_svg__st0",
1749
+ d: "M36.3 29.5c0-.4.1-.8.1-1.2 0-.4 0-.8-.1-1.2l2.5-2c.2-.2.3-.5.1-.8l-2.4-4.1c-.1-.2-.3-.3-.5-.3h-.2l-3 1.2c-.6-.5-1.3-.9-2-1.2l-.3-2.9c0-.3-.3-.5-.6-.5h-4.7c-.3 0-.5.2-.6.5l-.5 3.1c-.7.3-1.4.7-2 1.2l-3-1.2h-.2c-.2 0-.4.1-.5.3L16 24.5c-.2.3-.1.6.1.8l2.5 2c0 .4-.1.8-.1 1.2 0 .4 0 .8.1 1.2l-2.5 2c-.1-.1-.2.3-.1.5l2.4 4.1c.1.2.3.3.5.3h.2l3-1.2c.6.5 1.3.9 2 1.2l.5 3.1c0 .3.3.5.6.5h4.7c.3 0 .5-.2.6-.5l.5-3.1c.7-.3 1.4-.7 2-1.2l3 1.2h.2c.2 0 .4-.1.5-.3l2.4-4.1c.1-.3.1-.6-.1-.8l-2.7-1.9zm-2.3-2c0 .4.1.6.1.9 0 .2 0 .5-.1.9l-.2 1.3 1.1.8 1.3 1-.8 1.4-1.5-.6-1.2-.5-1.1.8c-.5.4-1 .7-1.5.9l-1.3.5-.2 1.3-.2 1.6h-1.7l-.2-1.6-.2-1.3-1.3-.5c-.5-.2-1-.5-1.5-.8l-1.1-.8-1.3.5-1.5.6-.8-1.4 1.3-1 1.1-.8-.2-1.5c0-.4-.1-.6-.1-.9 0-.2 0-.5.1-.9l.2-1.3-1.1-.8-1.3-1 .8-1.4 1.5.6 1.2.5 1.1-.8c.5-.4 1-.7 1.5-.9l1.3-.5.2-1.3.2-1.6h1.6l.2 1.6.2 1.3 1.3.5c.5.2 1 .5 1.5.8l1.1.8 1.3-.5 1.5-.6.8 1.4-1.3 1-1.1.8c.1.1.3 1.5.3 1.5zm-6.5-3.9c-2.6 0-4.7 2.1-4.7 4.7s2.1 4.7 4.7 4.7 4.7-2.1 4.7-4.7-2.1-4.7-4.7-4.7zm0 7.1c-1.3 0-2.4-1.1-2.4-2.4 0-1.3 1.1-2.4 2.4-2.4s2.4 1.1 2.4 2.4c0 1.4-1.1 2.4-2.4 2.4z"
1750
+ }
1751
+ ) });
1752
+ var IconSetting_default = SvgIconSetting;
1753
+
1754
+ // src/components/icons/IconSnail.js
1755
+ import React35 from "react";
1756
+ import { jsx as jsx39 } from "react/jsx-runtime";
1757
+ var SvgIconSnail = (props) => /* @__PURE__ */ jsx39(
1758
+ "svg",
1759
+ {
1760
+ xmlns: "http://www.w3.org/2000/svg",
1761
+ width: "24",
1762
+ height: "24",
1763
+ viewBox: "0 0 24 24",
1764
+ ...props,
1765
+ children: /* @__PURE__ */ jsx39("path", { d: "M20.31 8.03L21.24 4.95C21.67 4.85 22 4.47 22 4C22 3.45 21.55 3 21 3C20.45 3 20 3.45 20 4C20 4.26 20.11 4.5 20.27 4.68L19.5 7.26L18.73 4.68C18.89 4.5 19 4.26 19 4C19 3.45 18.55 3 18 3C17.45 3 17 3.45 17 4C17 4.47 17.33 4.85 17.76 4.95L18.69 8.03C17.73 8.18 17 9 17 10V12.25C15.65 9.16 12.63 7 9.11 7C5.19 7 2 10.26 2 14.26C2 16.1 2.82 17.75 4.1 18.85L2.88 19C2.38 19.06 2 19.5 2 20C2 20.55 2.45 21 3 21H19.12C20.16 21 21 20.16 21 19.12V11.72C21.6 11.38 22 10.74 22 10C22 9 21.27 8.18 20.31 8.03ZM15.6 17.41L12.07 17.86C12.5 17.1 12.8 16.21 12.8 15.26C12.8 12.94 10.95 11.06 8.67 11.06C8.14 11.06 7.62 11.18 7.14 11.41C6.65 11.66 6.44 12.26 6.69 12.75C6.93 13.25 7.53 13.45 8.03 13.21C8.23 13.11 8.45 13.06 8.67 13.06C9.85 13.06 10.8 14.04 10.8 15.26C10.8 16.92 9.5 18.27 7.89 18.27C5.75 18.27 4 16.47 4 14.26C4 11.36 6.29 9 9.11 9C12.77 9 15.75 12.06 15.75 15.82C15.75 16.36 15.69 16.89 15.6 17.41Z" })
1766
+ }
1767
+ );
1768
+ var IconSnail_default = SvgIconSnail;
1769
+
1770
+ // src/components/icons/IconSpecialPrice.js
1771
+ import React36 from "react";
1772
+ import { jsx as jsx40, jsxs as jsxs29 } from "react/jsx-runtime";
1773
+ var SvgIconSpecialPrice = (props) => /* @__PURE__ */ jsxs29("svg", { viewBox: "0 0 55 56.7", ...props, children: [
1774
+ /* @__PURE__ */ jsx40(
1775
+ "path",
1776
+ {
1777
+ className: "icon-special-price_svg__st0",
1778
+ d: "M672.6 1136.6c-1.6 0-3 1.3-3 2.9s1.4 3 3 3 3-1.4 2.9-2.9c-.1-1.6-1.3-3-2.9-3zM683.4 1136.5c-1.7 0-3 1.4-3 3s1.4 3 3 3 3-1.4 3-3.1c0-1.7-1.4-2.9-3-2.9z"
1779
+ }
1780
+ ),
1781
+ /* @__PURE__ */ jsx40(
1782
+ "path",
1783
+ {
1784
+ className: "icon-special-price_svg__st0",
1785
+ d: "M672.4 1130.2h.9v1.2c0 1.1.9 2 2 2h6.9c-1.6.3-3 1.3-4 2.7h-.5c-1.5-2.2-3.5-2.7-5.1-2.7-1.2 0-2.3.3-3.3.9v-3.7-.1c.1 0 .2-.1.7-.2m17.2 3.1v1.3c-.6-.5-1.2-.8-1.8-1.1h.3c.4 0 .7-.1 1.2-.2.2.1.3 0 .3 0m.8-15.1c-.7 0-1.3.5-1.4 1.1v12.1c-.4.1-.7.1-.9.1-.4 0-.5-.2-.8-.9-1.6-3.7-3.1-7.4-4.7-11.1-.2-.7-.8-1-1.6-1h-7.3c-1.1 0-1.6.3-1.6 1.6v8.1c-1.6.2-2.4 1-2.4 2.3v6.8c0 .2.2.7.5.7.1 0 .3.1.5.1s.4-.1.6-.4c.8-1.6 2.1-2.4 3.8-2.4s2.9.8 3.7 2.3c.1.3.3.5.7.5h1.9c.5 0 .6-.2.8-.6.8-1.5 2.1-2.3 3.8-2.3 1.7 0 2.9.9 3.7 2.4.5.9.5 1.8.2 3h5.4c.7 0 1.1-.6 1.1-1 0-.7-.3-1.1-.9-1.4-.2-.1-.6-.1-.8-.1h-2.9v-1.1-16.9-.7c-.3-.8-.7-1.2-1.4-1.2zm-15.6 9.9v-7.2h5.5c.1 0 .3.1.3.3 1.4 3.3 2.9 6.6 4.2 9.9v.1h-7.2v-2.3c0-.8-.1-.9-.9-.9-.7.1-1.3.1-1.9.1zM28.5 38.1h-.1c-.7-.4-6.9-6.2-8.9-8.7-2.1-2.6-2.6-5.6-2.6-5.6l-.2-1.3-.3 1.3c-.7 3.2 4.9 15.6 5.6 16.3.3.3.8.5 1.3.5.4 0 .7-.1.7-.1 4.7-1.9 4.7-1.9 4.7-2.1l-.2-.3z"
1786
+ }
1787
+ ),
1788
+ /* @__PURE__ */ jsx40(
1789
+ "path",
1790
+ {
1791
+ className: "icon-special-price_svg__st0",
1792
+ d: "M38.5 28.6l-.1-.1.1-.1-10.3-10.3c-2.1-1.2-4.2-1.9-6.3-1.9-2.3 0-3.6.7-3.7.7l-.4.4v.1c-.1.2-2.2 4.2 1.1 10l10.2 10.2c.1.1.4.6 1 .6.4 0 .7-.2 1.1-.6l7.2-7.2c.8-.8.3-1.5.1-1.8zm-2.6.7L30 35.2 20.8 26c-1.9-3.4-1.4-5.9-1.1-7 .4-.1 1.2-.3 2.1-.3 1.6 0 3.2.5 4.8 1.4l9.3 9.2z"
1793
+ }
1794
+ ),
1795
+ /* @__PURE__ */ jsx40(
1796
+ "path",
1797
+ {
1798
+ className: "icon-special-price_svg__st0",
1799
+ d: "M21.4 19.3c-.7 0-1.2.6-1.2 1.2s.6 1.2 1.2 1.2c.7 0 1.2-.6 1.2-1.2s-.5-1.2-1.2-1.2z"
1800
+ }
1801
+ )
1802
+ ] });
1803
+ var IconSpecialPrice_default = SvgIconSpecialPrice;
1804
+
1805
+ // src/components/icons/IconStock.js
1806
+ import React37 from "react";
1807
+ import { jsx as jsx41, jsxs as jsxs30 } from "react/jsx-runtime";
1808
+ var SvgIconStock = (props) => /* @__PURE__ */ jsxs30("svg", { viewBox: "0 0 55 56.7", ...props, children: [
1809
+ /* @__PURE__ */ jsx41(
1810
+ "path",
1811
+ {
1812
+ className: "icon-stock_svg__st0",
1813
+ d: "M29.5 16.4v8.8H38v-8.8h-8.5zm6.6 6.8h-4.5v-4.8h4.5v4.8zM29.5 36H38v-8.9h-8.5V36zm2-6.9H36V34h-4.5v-4.9zM18.9 36.2h8.5v-8.9h-8.5v8.9zm2-6.9h4.5v4.9h-4.5v-4.9z"
1814
+ }
1815
+ ),
1816
+ /* @__PURE__ */ jsx41(
1817
+ "path",
1818
+ {
1819
+ className: "icon-stock_svg__st0",
1820
+ d: "M40.2 40.3H14.8V21.6h2.3v16.5h23.1z"
1821
+ }
1822
+ )
1823
+ ] });
1824
+ var IconStock_default = SvgIconStock;
1825
+
1826
+ // src/components/icons/IconStrawberry.js
1827
+ import React38 from "react";
1828
+ import { jsx as jsx42 } from "react/jsx-runtime";
1829
+ var SvgIconStrawberry = () => /* @__PURE__ */ jsx42(
1830
+ "svg",
1831
+ {
1832
+ width: "24",
1833
+ height: "24",
1834
+ viewBox: "0 0 24 24",
1835
+ fill: "none",
1836
+ xmlns: "http://www.w3.org/2000/svg",
1837
+ children: /* @__PURE__ */ jsx42(
1838
+ "path",
1839
+ {
1840
+ fillRule: "evenodd",
1841
+ clipRule: "evenodd",
1842
+ d: "M13.4598 4.6821C11.999 4.10603 10.1634 4.03624 8.44724 4.89439C6.74737 5.74439 5.63985 7.23414 4.94838 9.30462C4.24917 11.3983 3.99976 14.0213 3.99976 16.9999C3.99976 17.6747 4.34721 18.4332 4.95687 19.0428C5.56652 19.6525 6.32499 20 6.99976 20C9.8827 20 12.505 19.7575 14.6233 19.06C16.7233 18.3687 18.253 17.258 19.1056 15.5528C19.9679 13.8281 19.9189 11.9841 19.3567 10.5262C19.108 9.88118 18.7767 9.34894 18.4078 8.94001L18.9806 11.8039C19.0889 12.3454 18.7377 12.8723 18.1961 12.9806C17.6546 13.0889 17.1277 12.7377 17.0194 12.1961L16.6363 10.2806L15.9138 11.9061C15.6895 12.4108 15.0985 12.6381 14.5939 12.4138C14.0892 12.1895 13.8619 11.5985 14.0862 11.0939L15.0302 8.96981L12.9061 9.91382C12.4014 10.1381 11.8105 9.91081 11.5862 9.40612C11.3619 8.90143 11.5892 8.31048 12.0939 8.08618L13.7195 7.36372L11.8039 6.98058C11.2623 6.87225 10.9111 6.34542 11.0194 5.80387C11.1277 5.26231 11.6546 4.9111 12.1961 5.01942L14.9778 5.57579C14.5776 5.23353 14.0688 4.92224 13.4598 4.6821ZM18.7737 6.64046C19.8668 7.33898 20.7216 8.50708 21.2227 9.80662C21.9674 11.7378 22.0321 14.1719 20.8944 16.4472C19.7338 18.7684 17.6849 20.1577 15.2488 20.9597C12.8311 21.7557 9.95984 22 6.99976 22C5.67452 22 4.43299 21.3474 3.54265 20.4571C2.6523 19.5667 1.99976 18.3252 1.99976 16.9999C1.99976 13.9461 2.25047 11.0693 3.05138 8.67108C3.86003 6.24973 5.25264 4.25571 7.55276 3.10556C9.83658 1.96357 12.2699 2.06296 14.1936 2.82154C15.4792 3.32855 16.6391 4.17819 17.3412 5.24451L18.2926 4.29301C18.6831 3.90247 19.3163 3.90243 19.7068 4.29293C20.0974 4.68343 20.0974 5.31659 19.7069 5.70714L18.7737 6.64046ZM13 17C13 17.5523 12.5523 18 12 18C11.4477 18 11 17.5523 11 17C11 16.4477 11.4477 16 12 16C12.5523 16 13 16.4477 13 17ZM17 16C17.5523 16 18 15.5523 18 15C18 14.4477 17.5523 14 17 14C16.4477 14 16 14.4477 16 15C16 15.5523 16.4477 16 17 16ZM12 13C12 13.5523 11.5523 14 11 14C10.4477 14 10 13.5523 10 13C10 12.4477 10.4477 12 11 12C11.5523 12 12 12.4477 12 13ZM7 13C7.55228 13 8 12.5523 8 12C8 11.4477 7.55228 11 7 11C6.44772 11 6 11.4477 6 12C6 12.5523 6.44772 13 7 13ZM8 17C8 17.5523 7.55228 18 7 18C6.44772 18 6 17.5523 6 17C6 16.4477 6.44772 16 7 16C7.55228 16 8 16.4477 8 17ZM9 7.99999C9.55228 7.99999 10 7.55228 10 6.99999C10 6.44771 9.55228 5.99999 9 5.99999C8.44772 5.99999 8 6.44771 8 6.99999C8 7.55228 8.44772 7.99999 9 7.99999Z",
1843
+ fill: colors.grey650
1844
+ }
1845
+ )
1846
+ }
1847
+ );
1848
+ var IconStrawberry_default = SvgIconStrawberry;
1849
+
1850
+ // src/components/icons/IconSupplier.js
1851
+ import React39 from "react";
1852
+ import { jsx as jsx43, jsxs as jsxs31 } from "react/jsx-runtime";
1853
+ var SvgIconSupplier = (props) => /* @__PURE__ */ jsxs31("svg", { viewBox: "0 0 55 56.7", ...props, children: [
1854
+ /* @__PURE__ */ jsx43(
1855
+ "path",
1856
+ {
1857
+ className: "icon-supplier_svg__st0",
1858
+ d: "M18.3 27.5c-2.9 0-5.3 2.4-5.3 5.3s2.3 5.3 5.3 5.3 5.4-2.3 5.3-5.2c.1-2.9-2.3-5.4-5.3-5.4zm-.1 7.6c-1.2 0-2.1-1-2.1-2.1 0-1.2 1-2.1 2.1-2.1 1.3 0 2.2 1 2.1 2.1.1 1.1-.9 2.1-2.1 2.1z"
1859
+ }
1860
+ ),
1861
+ /* @__PURE__ */ jsx43(
1862
+ "path",
1863
+ {
1864
+ className: "icon-supplier_svg__st0",
1865
+ d: "M32.9 29.2c1.2-1.2 2.6-1.6 4.2-1.6 0-1.1-.6-1.8-1.8-1.9-.8 0-1.4-.1-2.2-.1-1.4-.1-2.7-.1-4.1-.2-.1-1.6-.2-3.1-.3-4.7 0-.2.1-.4.2-.5.4-.4.3-.8-.1-1.1-.3-.1-.8-.3-1.1-.3-2.3-.1-4.4-.1-6.6-.1-1.4 0-1.7.4-1.8 1.8-.1 1.4-.2 2.8-.4 4.3h-2.4c-1.4.1-1.9 1-1.6 2.3 2.5-1.6 5-1.6 7.4-.2 2.6 1.4 3.2 3.9 2.9 6.8h6.4c-.2-1.8.3-3.4 1.3-4.5zm-10-4.2c-1.2-.1-1.8-.1-3.1-.2.1-1.6.2-3.1.3-4.6h2.8V25zm3.5 4.2c-.1-.1-.3-.2-.4-.4-.6-1.1-1.4-2.2-2-3.3-.1-.2-.2-.4-.2-.6v-4.6h4.4c.1 2.9.3 5.9.5 9.1-.9-.2-1.6-.2-2.3-.2z"
1866
+ }
1867
+ ),
1868
+ /* @__PURE__ */ jsx43(
1869
+ "path",
1870
+ {
1871
+ className: "icon-supplier_svg__st0",
1872
+ d: "M37.4 29.2c-2.4 0-4.5 2-4.5 4.6s2 4.5 4.6 4.5c2.4 0 4.5-2 4.5-4.6 0-2.5-2-4.5-4.6-4.5zm-.1 6.5c-1.1 0-1.9-.9-1.9-1.9 0-1 .9-1.9 1.9-1.9 1.1 0 1.9.9 1.9 1.9.1 1-.8 1.9-1.9 1.9z"
1873
+ }
1874
+ )
1875
+ ] });
1876
+ var IconSupplier_default = SvgIconSupplier;
1877
+
1878
+ // src/components/icons/IconSupplierPrices.js
1879
+ import React40 from "react";
1880
+ import { jsx as jsx44, jsxs as jsxs32 } from "react/jsx-runtime";
1881
+ var SvgIconSupplierPrices = (props) => /* @__PURE__ */ jsxs32("svg", { viewBox: "0 0 55 56.7", ...props, children: [
1882
+ /* @__PURE__ */ jsx44(
1883
+ "path",
1884
+ {
1885
+ className: "icon-supplier-prices_svg__st0",
1886
+ d: "M13.9 30.6c.2 0 5.7-2.6 7.7-4 2-1.3 2.9-3.2 2.9-3.2-.2 2.1-6.2 9.1-6.8 9.4-.6.3-1.2-.1-1.2-.1s-2.7-2.2-2.6-2.1z"
1887
+ }
1888
+ ),
1889
+ /* @__PURE__ */ jsx44(
1890
+ "path",
1891
+ {
1892
+ className: "icon-supplier-prices_svg__st0",
1893
+ d: "M20.3 18.8c1.5 0 2.5.5 3 .8 0 .7-.2 2.4-2.1 4.2l-7.8 4.1-1.2-2.2-.2-.3-1.2-2.3 7.8-4.1c.7-.1 1.2-.2 1.7-.2m0-1.6c-.7 0-1.4.1-2.2.3l-8.7 4.6c0 .2-.8.4-.3 1.2.5.9 1.6 2.9 1.6 2.9l.2.3s1.1 2.1 1.6 2.9c.2.4.5.5.7.5.3 0 .5-.2.5-.2l8.7-4.6c3.3-3.1 2.7-6.2 2.7-6.2l-.2-.3c-.1.1-1.7-1.4-4.6-1.4z"
1894
+ }
1895
+ ),
1896
+ /* @__PURE__ */ jsx44(
1897
+ "path",
1898
+ {
1899
+ className: "icon-supplier-prices_svg__st0",
1900
+ d: "M21.5 19.9c-.3 0-.6.2-.6.5-.1.4.1.7.4.8h.2c.3 0 .6-.2.6-.5.1-.4-.1-.7-.4-.8h-.2z"
1901
+ }
1902
+ ),
1903
+ /* @__PURE__ */ jsxs32("g", { children: [
1904
+ /* @__PURE__ */ jsx44(
1905
+ "path",
1906
+ {
1907
+ className: "icon-supplier-prices_svg__st0",
1908
+ d: "M24.2 29.7c-2.7 0-4.9 2.2-4.9 4.9s2.2 4.9 4.9 4.9 5-2.2 4.9-4.8c0-2.8-2.2-5-4.9-5zm-.1 7c-1.1 0-2-.9-2-2s.9-2 2-2c1.2 0 2.1.9 2 2 0 1.1-.9 2-2 2z"
1909
+ }
1910
+ ),
1911
+ /* @__PURE__ */ jsx44(
1912
+ "path",
1913
+ {
1914
+ className: "icon-supplier-prices_svg__st0",
1915
+ d: "M37.7 31.2c1.1-1.1 2.4-1.5 3.9-1.5 0-1-.6-1.7-1.7-1.8-.7 0-1.3-.1-2-.1-1.3-.1-2.5-.1-3.8-.2-.1-1.5-.2-2.9-.3-4.4 0-.2.1-.4.2-.5.4-.4.3-.7-.1-1-.3-.1-.7-.3-1-.3-2.1-.1-4.1-.1-6.1-.1-1.3 0-1.6.4-1.7 1.7-.1 1.3-.2 2.6-.4 4h-2.2c-1.3.1-1.8.9-1.5 2.1 2.3-1.5 4.6-1.5 6.9-.2 2.4 1.3 3 3.6 2.7 6.3h5.9c-.2-1.5.2-2.9 1.2-4zm-9.3-3.9c-1.1-.1-1.7-.1-2.9-.2.1-1.5.2-2.9.3-4.3h2.6v4.5zm3.2 3.9c-.1-.1-.3-.2-.4-.4-.6-1-1.3-2-1.9-3.1-.1-.2-.2-.4-.2-.6v-4.3h4.1c.1 2.7.3 5.5.5 8.4h-2.1z"
1916
+ }
1917
+ ),
1918
+ /* @__PURE__ */ jsx44(
1919
+ "path",
1920
+ {
1921
+ className: "icon-supplier-prices_svg__st0",
1922
+ d: "M41.8 31.2c-2.3 0-4.1 1.9-4.1 4.2 0 2.3 1.9 4.1 4.2 4.1 2.3 0 4.1-1.9 4.1-4.2.1-2.2-1.8-4.1-4.2-4.1zm-.1 6c-1 0-1.8-.8-1.8-1.8 0-.9.8-1.7 1.8-1.7s1.8.8 1.8 1.7c0 1-.8 1.8-1.8 1.8z"
1923
+ }
1924
+ )
1925
+ ] })
1926
+ ] });
1927
+ var IconSupplierPrices_default = SvgIconSupplierPrices;
1928
+
1929
+ // src/components/icons/IconUserManagement.tsx
1930
+ import { jsx as jsx45, jsxs as jsxs33 } from "react/jsx-runtime";
1931
+ var SvgIconUserManagement = () => /* @__PURE__ */ jsx45("svg", { xmlns: "http://www.w3.org/2000/svg", version: "1.1", viewBox: "0 0 55 56.7", children: /* @__PURE__ */ jsx45("g", { children: /* @__PURE__ */ jsxs33("g", { id: "Layer_1", children: [
1932
+ /* @__PURE__ */ jsx45("path", { d: "M672.6,1136.6c-1.6,0-3,1.3-3,2.9s1.4,3,3,3,3-1.4,2.9-2.9c0-1.6-1.3-3-2.9-3h0Z" }),
1933
+ /* @__PURE__ */ jsx45("path", { d: "M683.4,1136.5c-1.7,0-3,1.4-3,3s1.4,3,3,3,3-1.4,3-3.1-1.4-2.9-3-2.9h0Z" }),
1934
+ /* @__PURE__ */ jsx45("path", { d: "M672.4,1130.2h.9v1.2c0,1.1.9,2,2,2h6.9c-1.6.3-3,1.3-4,2.7h-.5c-1.5-2.2-3.5-2.7-5.1-2.7s-2.3.3-3.3.9v-3.7h0c0,0,.2-.2.7-.3M687.2,1133.4v1.3c-.6-.5-1.2-.8-1.8-1.1h.3c.4,0,.7,0,1.2-.2.2,0,.3,0,.3,0M688,1118.3c-.7,0-1.3.5-1.4,1.1v12.1c-.4,0-.7,0-.9,0-.4,0-.5-.2-.8-.9-1.6-3.7-3.1-7.4-4.7-11.1-.2-.7-.8-1-1.6-1h-7.3c-1.1,0-1.6.3-1.6,1.6v8.1c-1.6.2-2.4,1-2.4,2.3v6.8c0,.2.2.7.5.7s.3,0,.5,0,.4,0,.6-.4c.8-1.6,2.1-2.4,3.8-2.4s2.9.8,3.7,2.3c0,.3.3.5.7.5h1.9c.5,0,.6-.2.8-.6.8-1.5,2.1-2.3,3.8-2.3s2.9.9,3.7,2.4c.5.9.5,1.8.2,3h5.4c.7,0,1.1-.6,1.1-1,0-.7-.3-1.1-.9-1.4-.2,0-.6,0-.8,0h-2.9v-18.7c-.3-.8-.7-1.2-1.4-1.2h0ZM672.4,1128.2v-7.2h5.5c0,0,.3,0,.3.3,1.4,3.3,2.9,6.6,4.2,9.9h0c-2.3,0-4.7,0-7.2,0v-2.3c0-.8,0-.9-.9-.9-.7,0-1.3,0-1.9,0h0Z" }),
1935
+ /* @__PURE__ */ jsx45("path", { d: "M29.3,26.7c1-1.3,1.5-3,1.5-4.6s-.5-3.3-1.5-4.6c.9-.6,2-.9,3.1-.9,1.5,0,2.9.6,3.9,1.6,1,1,1.6,2.5,1.6,3.9s-.6,2.9-1.6,3.9-2.5,1.6-3.9,1.6c-1.1,0-2.2-.3-3.1-.9ZM17.3,22.1c0-1.1.3-2.2.9-3.1.6-.9,1.5-1.6,2.5-2,1-.4,2.1-.5,3.2-.3,1.1.2,2.1.7,2.8,1.5.8.8,1.3,1.8,1.5,2.8.2,1.1.1,2.2-.3,3.2-.4,1-1.1,1.9-2,2.5-.9.6-2,.9-3.1.9s-2.9-.6-3.9-1.6-1.6-2.5-1.6-3.9ZM20.5,22.1c0,.5.1.9.4,1.3.3.4.6.7,1.1.9.4.2.9.2,1.4.1.5,0,.9-.3,1.2-.7.3-.3.6-.8.7-1.2,0-.5,0-.9-.1-1.4-.2-.4-.5-.8-.9-1.1-.4-.3-.9-.4-1.3-.4s-1.2.3-1.7.7c-.4.4-.7,1.1-.7,1.7ZM34,37.1v3.2H11.8v-3.2s0-6.3,11.1-6.3,11.1,6.3,11.1,6.3ZM30.8,37.1c-.2-1.2-2.1-3.2-7.9-3.2s-7.8,2.1-7.9,3.2M33.9,30.8c1,.8,1.8,1.7,2.3,2.8.6,1.1.9,2.3.9,3.5v3.2h6.3v-3.2s0-5.8-9.6-6.3h0Z" })
1936
+ ] }) }) });
1937
+ var IconUserManagement_default = SvgIconUserManagement;
1938
+
1939
+ // src/components/icons/IconVkc.js
1940
+ import React41 from "react";
1941
+ import { jsx as jsx46 } from "react/jsx-runtime";
1942
+ var SvgIconVkc = (props) => /* @__PURE__ */ jsx46("svg", { viewBox: "0 0 55 56.7", ...props, children: /* @__PURE__ */ jsx46(
1943
+ "path",
1944
+ {
1945
+ className: "icon-vkc_svg__st0",
1946
+ d: "M32.8 16.6h.9c.8 0 1.4.7 1.4 1.4s-.7 1.4-1.4 1.4h-.9c-.8 0-1.4-.7-1.4-1.4s.6-1.4 1.4-1.4zM17.3 16.6h9.2c.8 0 1.4.7 1.4 1.4s-.7 1.4-1.4 1.4h-9.2c-.8 0-1.4-.7-1.4-1.4s.6-1.4 1.4-1.4zM18.2 40.1h-.9c-.8 0-1.4-.7-1.4-1.4 0-.8.7-1.4 1.4-1.4h.9c.8 0 1.4.7 1.4 1.4s-.6 1.4-1.4 1.4zM26.5 40.1h-.9c-.8 0-1.4-.7-1.4-1.4 0-.8.7-1.4 1.4-1.4h.9c.8 0 1.4.7 1.4 1.4.1.7-.6 1.4-1.4 1.4zM38.6 39.7c-.3.3-.7.4-1 .4-.4 0-.8-.1-1-.4-.3-.3-.4-.7-.4-1 0-.4.1-.8.4-1 .5-.5 1.4-.5 2 0 .3.3.4.7.4 1 0 .3-.1.6-.4 1zM37.6 33.2H17.3c-.8 0-1.4-.7-1.4-1.4s.7-1.4 1.4-1.4h20.4c.8 0 1.4.7 1.4 1.4-.1.7-.7 1.4-1.5 1.4zM37.6 26.4H17.3c-.8 0-1.4-.7-1.4-1.4s.7-1.4 1.4-1.4h20.4c.8 0 1.4.7 1.4 1.4s-.7 1.4-1.5 1.4z"
1947
+ }
1948
+ ) });
1949
+ var IconVkc_default = SvgIconVkc;
1950
+
1951
+ // src/components/icons/SamsaraLogo.js
1952
+ import React42 from "react";
1953
+ import { jsx as jsx47, jsxs as jsxs34 } from "react/jsx-runtime";
1954
+ var SvgSamsaraLogo = (props) => /* @__PURE__ */ jsxs34("svg", { viewBox: "0 0 36 52.4", ...props, children: [
1955
+ /* @__PURE__ */ jsx47(
1956
+ "path",
1957
+ {
1958
+ className: "samsara_logo_svg__st0",
1959
+ d: "M27.2 17.6c-.4.9-1 1.6-1.8 2.2-.7.5-1.5.7-2.4.7-.4 0-.7-.3-.7-.6 0-.4.3-.7.6-.7.6 0 1.2-.2 1.7-.5.6-.4 1-.9 1.3-1.6.2-.4.1-.8-.1-1.2-.2-.4-.6-.6-1-.6-.9-.1-1.6.2-2.2.8-.9 1-1.3 2.7-1.5 3.4-.1.6-1.7 7.4-2.3 10.1-.1.4-.5.7-.9.7s-.8-.3-.9-.7l-.2-1c-.7-3.1-2-8.6-2.1-9.1-.2-.7-.5-2.4-1.5-3.4-.6-.6-1.3-.9-2.2-.8-.4 0-.8.2-1 .6-.2.4-.3.8-.1 1.2.3.7.7 1.2 1.3 1.6.5.3 1.1.5 1.7.5.4 0 .7.3.6.7 0 .4-.3.7-.7.6-.9 0-1.7-.3-2.4-.7-.8-.5-1.4-1.2-1.8-2.2-.3-.8-.3-1.7.2-2.5.4-.7 1.2-1.2 2.1-1.3 1.3-.1 2.4.3 3.2 1.2 1.2 1.2 1.7 3.2 1.8 4 .1.5 1.2 5.3 2 8.4.7-3.2 1.8-7.9 2-8.4.2-.8.6-2.8 1.8-4 .8-.9 2-1.3 3.2-1.2.8 0 1.6.5 2.1 1.3s.6 1.7.2 2.5M21.3 7c-.9 0-1.8.2-2.7.5-.4.1-.9.1-1.3 0-.8-.4-1.7-.5-2.6-.5-5.1 0-9.4 5.2-9.4 11.3 0 6.8 5.1 12.8 12.5 14.6h.5c7.4-1.8 12.5-7.8 12.5-14.6C30.7 12.1 26.4 7 21.3 7"
1960
+ }
1961
+ ),
1962
+ /* @__PURE__ */ jsx47(
1963
+ "path",
1964
+ {
1965
+ className: "samsara_logo_svg__st0",
1966
+ d: "M18.5 34.2c-.2 0-.4.1-.5.1-.2 0-.4 0-.5-.1-8-1.9-13.5-8.5-13.5-16C4 11.3 8.9 5.5 14.7 5.5c1 0 2.1.2 3.1.5h.4c1-.3 2.1-.5 3.1-.5 5.8 0 10.7 5.8 10.7 12.7 0 7.5-5.5 14.1-13.5 16zm12.8-1.8c0 .4-.3.7-.7.7-.4 0-.7-.3-.7-.7v-.9c0-.4.3-.7.7-.7.4 0 .7.3.7.7v.9zm0 4.2c0 .4-.3.7-.7.7-.4 0-.7-.3-.7-.7v-.9c0-.4.3-.7.7-.7.4 0 .7.3.7.7v.9zm-4.2 2.2c0 .4-.3.7-.7.7-.4 0-.7-.3-.7-.7v-.9c0-.4.3-.7.7-.7.4 0 .7.3.7.7v.9zm0 4.2c0 .4-.3.7-.7.7-.4 0-.7-.3-.7-.7v-.9c0-.4.3-.7.7-.7.4 0 .7.3.7.7v.9zm-4.2-2.1c0 .4-.3.7-.7.7-.4 0-.7-.3-.7-.7V40c0-.4.3-.7.7-.7.4 0 .7.3.7.7v.9zm0 4.3c0 .4-.3.7-.7.7-.4 0-.7-.3-.7-.7v-.9c0-.4.3-.7.7-.7.4 0 .7.3.7.7v.9zm-4.3-6.4c0 .4-.3.7-.7.7-.4 0-.7-.3-.7-.7v-.9c0-.4.3-.7.7-.7.4 0 .7.3.7.7v.9zm0 4.2c0 .4-.3.7-.7.7-.4 0-.7-.3-.7-.7v-.9c0-.4.3-.7.7-.7.4 0 .7.3.7.7v.9zm-4.2-2.1c0 .4-.3.7-.7.7-.4 0-.7-.3-.7-.7V40c0-.4.3-.7.7-.7.4 0 .7.3.7.7v.9zm0 4.3c0 .4-.3.7-.7.7-.4 0-.7-.3-.7-.7v-.9c0-.4.3-.7.7-.7.4 0 .7.3.7.7v.9zm-4.2-6.4c0 .4-.3.7-.7.7-.4 0-.7-.3-.7-.7v-.9c0-.4.3-.7.7-.7.4 0 .7.3.7.7v.9zm0 4.2c0 .4-.3.7-.7.7-.4 0-.7-.3-.7-.7v-.9c0-.4.3-.7.7-.7.4 0 .7.3.7.7v.9zM6 32.4c0 .3-.3.6-.6.6s-.7-.3-.7-.7v-.9c0-.4.3-.7.7-.7s.6.4.6.7v1zm0 4.2c0 .4-.3.7-.7.7s-.6-.3-.6-.7v-.9c0-.4.3-.7.7-.7s.6.3.6.7v.9zM18 2.2C8.9 2.2 1.5 9.7 1.5 18.9v14.5c0 9.2 7.4 16.7 16.5 16.7s16.5-7.5 16.5-16.7V18.9c0-9.2-7.4-16.7-16.5-16.7z"
1967
+ }
1968
+ )
1969
+ ] });
1970
+ var SamsaraLogo_default = SvgSamsaraLogo;
1971
+
1972
+ // src/components/icons/index.js
1973
+ var icons = {
1974
+ SvgSamsaraLogo: SamsaraLogo_default,
1975
+ SvgIconHome: IconHome_default,
1976
+ SvgIconNotification: IconNotification_default,
1977
+ SvgIconPhone: IconPhone_default,
1978
+ SvgIconAccount: IconAccount_default,
1979
+ SvgIconOrders: IconOrders_default,
1980
+ SvgIconPriceList: IconPriceList_default,
1981
+ SvgIconSpecialPrice: IconSpecialPrice_default,
1982
+ SvgIconBuying: IconBuying_default,
1983
+ SvgIconContentManagement: IconContentManagement_default,
1984
+ SvgIconProducts: IconProducts_default,
1985
+ SvgIconStock: IconStock_default,
1986
+ SvgIconSupplier: IconSupplier_default,
1987
+ SvgIconSupplierPrices: IconSupplierPrices_default,
1988
+ SvgIconGoodsin: IconGoodsin_default,
1989
+ SvgIconVkc: IconVkc_default,
1990
+ SvgIconLocation: IconLocation_default,
1991
+ SvgIconScales: IconScales_default,
1992
+ SvgIconQc: IconQc_default,
1993
+ SvgIconRetail: IconRetail_default,
1994
+ SvgIconRuns: IconRuns_default,
1995
+ SvgIconAccounts: IconAccounts_default,
1996
+ SvgIconReports: IconReports_default,
1997
+ SvgIconSetting: IconSetting_default,
1998
+ SvgIconLogin: IconLogin_default,
1999
+ SvgBallsLogo: BallsLogo_default,
2000
+ SvgIconAvocado: IconAvocado_default,
2001
+ SvgIconBanana: IconBanana_default,
2002
+ SvgIconGrape: IconGrape_default,
2003
+ SvgIconStrawberry: IconStrawberry_default,
2004
+ SvgIconPromoCode: IconPromoCode_default,
2005
+ SvgIconOpsMetrics: IconOpsMetrics_default,
2006
+ SvgIconSearchCategories: IconSearchCategories_default,
2007
+ SvgIconImport: IconImport_default,
2008
+ SvgIconSnail: IconSnail_default,
2009
+ SvgEmptyGlassIcon: EmptyGlassIcon_default,
2010
+ SvgIconUserManagement: IconUserManagement_default
2011
+ };
2012
+ var icons_default = icons;
2013
+
2014
+ // src/components/icons/IconAirplane.js
2015
+ import React43 from "react";
2016
+ import { jsx as jsx48 } from "react/jsx-runtime";
2017
+ var SvgIconAirplane = (props) => /* @__PURE__ */ jsx48(
2018
+ "svg",
2019
+ {
2020
+ width: "24",
2021
+ height: "24",
2022
+ viewBox: "0 0 24 24",
2023
+ fill: "none",
2024
+ xmlns: "http://www.w3.org/2000/svg",
2025
+ ...props,
2026
+ children: /* @__PURE__ */ jsx48(
2027
+ "path",
2028
+ {
2029
+ d: "M20.56 3.90998C21.15 4.49998 21.15 5.44998 20.56 6.02998L16.67 9.91998L18.79 19.11L17.38 20.53L13.5 13.1L9.6 17L9.96 19.47L8.89 20.53L7.13 17.35L3.94 15.58L5 14.5L7.5 14.87L11.37 11L3.94 7.08998L5.36 5.67998L14.55 7.79998L18.44 3.90998C19 3.32998 20 3.32998 20.56 3.90998Z",
2030
+ fill: colors.grey650
2031
+ }
2032
+ )
2033
+ }
2034
+ );
2035
+ var IconAirplane_default = SvgIconAirplane;
2036
+
2037
+ // src/components/icons/IconBicycle.js
2038
+ import React44 from "react";
2039
+ import { jsx as jsx49 } from "react/jsx-runtime";
2040
+ var SvgIconBicycle = () => /* @__PURE__ */ jsx49(
2041
+ "svg",
2042
+ {
2043
+ width: "24",
2044
+ height: "24",
2045
+ viewBox: "0 0 24 24",
2046
+ fill: "none",
2047
+ xmlns: "http://www.w3.org/2000/svg",
2048
+ children: /* @__PURE__ */ jsx49(
2049
+ "path",
2050
+ {
2051
+ d: "M19 10C18.44 10 17.91 10.11 17.41 10.28L14.46 4.5H11V6H13.54L14.42 7.72L12 13.13L10.23 8.95C10.5 8.85 10.74 8.58 10.74 8.25C10.74 7.84 10.41 7.5 10 7.5H8C7.58 7.5 7.24 7.84 7.24 8.25C7.24 8.66 7.58 9 8 9H8.61L10.86 14.25H9.92C9.56 11.85 7.5 10 5 10C2.24 10 0 12.24 0 15C0 17.76 2.24 20 5 20C7.5 20 9.56 18.15 9.92 15.75H12.5L15.29 9.43L16.08 10.96C14.82 11.87 14 13.34 14 15C14 17.76 16.24 20 19 20C21.76 20 24 17.76 24 15C24 12.24 21.76 10 19 10ZM5 18.5C3.07 18.5 1.5 16.93 1.5 15C1.5 13.07 3.07 11.5 5 11.5C6.67 11.5 8.07 12.68 8.41 14.25H4V15.75H8.41C8.07 17.32 6.67 18.5 5 18.5ZM19 18.5C17.07 18.5 15.5 16.93 15.5 15C15.5 13.92 16 12.97 16.77 12.33L18.57 15.85L19.89 15.13L18.1 11.63C18.39 11.56 18.69 11.5 19 11.5C20.93 11.5 22.5 13.07 22.5 15C22.5 16.93 20.93 18.5 19 18.5Z",
2052
+ fill: colors.grey650
2053
+ }
2054
+ )
2055
+ }
2056
+ );
2057
+ var IconBicycle_default = SvgIconBicycle;
2058
+
2059
+ // src/components/icons/IconBus.js
2060
+ import React45 from "react";
2061
+ import { jsx as jsx50 } from "react/jsx-runtime";
2062
+ var SvgIconBus = () => /* @__PURE__ */ jsx50(
2063
+ "svg",
2064
+ {
2065
+ width: "24",
2066
+ height: "24",
2067
+ viewBox: "0 0 24 24",
2068
+ fill: "none",
2069
+ xmlns: "http://www.w3.org/2000/svg",
2070
+ children: /* @__PURE__ */ jsx50(
2071
+ "path",
2072
+ {
2073
+ d: "M3 4C1.89 4 1 4.89 1 6V17H3C3 17.7956 3.31607 18.5587 3.87868 19.1213C4.44129 19.6839 5.20435 20 6 20C6.79565 20 7.55871 19.6839 8.12132 19.1213C8.68393 18.5587 9 17.7956 9 17H15C15 17.7956 15.3161 18.5587 15.8787 19.1213C16.4413 19.6839 17.2044 20 18 20C18.7956 20 19.5587 19.6839 20.1213 19.1213C20.6839 18.5587 21 17.7956 21 17H23V14C23 12.89 22.11 12 21 12H19V9.5H23V6C23 4.89 22.11 4 21 4H3ZM2.5 5.5H6.5V8H2.5V5.5ZM8 5.5H12V8H8V5.5ZM13.5 5.5H17.5V8H13.5V5.5ZM19 5.5H21.5V8H19V5.5ZM13.5 9.5H17.5V12H13.5V9.5ZM2.5 9.5H6.5V12H2.5V9.5ZM8 9.5H12V12H8V9.5ZM6 15.5C6.39782 15.5 6.77936 15.658 7.06066 15.9393C7.34196 16.2206 7.5 16.6022 7.5 17C7.5 17.3978 7.34196 17.7794 7.06066 18.0607C6.77936 18.342 6.39782 18.5 6 18.5C5.60218 18.5 5.22064 18.342 4.93934 18.0607C4.65804 17.7794 4.5 17.3978 4.5 17C4.5 16.6022 4.65804 16.2206 4.93934 15.9393C5.22064 15.658 5.60218 15.5 6 15.5ZM18 15.5C18.3978 15.5 18.7794 15.658 19.0607 15.9393C19.342 16.2206 19.5 16.6022 19.5 17C19.5 17.3978 19.342 17.7794 19.0607 18.0607C18.7794 18.342 18.3978 18.5 18 18.5C17.6022 18.5 17.2206 18.342 16.9393 18.0607C16.658 17.7794 16.5 17.3978 16.5 17C16.5 16.6022 16.658 16.2206 16.9393 15.9393C17.2206 15.658 17.6022 15.5 18 15.5Z",
2074
+ fill: colors.grey650
2075
+ }
2076
+ )
2077
+ }
2078
+ );
2079
+ var IconBus_default = SvgIconBus;
2080
+
2081
+ // src/components/icons/IconCar.js
2082
+ import React46 from "react";
2083
+ import { jsx as jsx51 } from "react/jsx-runtime";
2084
+ var SvgIconCar = () => /* @__PURE__ */ jsx51(
2085
+ "svg",
2086
+ {
2087
+ width: "24",
2088
+ height: "24",
2089
+ viewBox: "0 0 24 24",
2090
+ fill: "none",
2091
+ xmlns: "http://www.w3.org/2000/svg",
2092
+ children: /* @__PURE__ */ jsx51(
2093
+ "path",
2094
+ {
2095
+ d: "M3 6H16L19 10H21C22.11 10 23 10.89 23 12V15H21C21 15.7956 20.6839 16.5587 20.1213 17.1213C19.5587 17.6839 18.7956 18 18 18C17.2044 18 16.4413 17.6839 15.8787 17.1213C15.3161 16.5587 15 15.7956 15 15H9C9 15.7956 8.68393 16.5587 8.12132 17.1213C7.55871 17.6839 6.79565 18 6 18C5.20435 18 4.44129 17.6839 3.87868 17.1213C3.31607 16.5587 3 15.7956 3 15H1V8C1 6.89 1.89 6 3 6ZM2.5 7.5V10H10.5V7.5H2.5ZM12 7.5V10H17.14L15.25 7.5H12ZM6 13.5C5.60218 13.5 5.22064 13.658 4.93934 13.9393C4.65804 14.2206 4.5 14.6022 4.5 15C4.5 15.3978 4.65804 15.7794 4.93934 16.0607C5.22064 16.342 5.60218 16.5 6 16.5C6.39782 16.5 6.77936 16.342 7.06066 16.0607C7.34196 15.7794 7.5 15.3978 7.5 15C7.5 14.6022 7.34196 14.2206 7.06066 13.9393C6.77936 13.658 6.39782 13.5 6 13.5ZM18 13.5C17.6022 13.5 17.2206 13.658 16.9393 13.9393C16.658 14.2206 16.5 14.6022 16.5 15C16.5 15.3978 16.658 15.7794 16.9393 16.0607C17.2206 16.342 17.6022 16.5 18 16.5C18.3978 16.5 18.7794 16.342 19.0607 16.0607C19.342 15.7794 19.5 15.3978 19.5 15C19.5 14.6022 19.342 14.2206 19.0607 13.9393C18.7794 13.658 18.3978 13.5 18 13.5Z",
2096
+ fill: colors.grey650
2097
+ }
2098
+ )
2099
+ }
2100
+ );
2101
+ var IconCar_default = SvgIconCar;
2102
+
2103
+ // src/components/icons/IconFork.js
2104
+ import React47 from "react";
2105
+ import { jsx as jsx52 } from "react/jsx-runtime";
2106
+ var SvgIconFork = () => /* @__PURE__ */ jsx52(
2107
+ "svg",
2108
+ {
2109
+ width: "20",
2110
+ height: "20",
2111
+ viewBox: "0 0 20 20",
2112
+ fill: "none",
2113
+ xmlns: "http://www.w3.org/2000/svg",
2114
+ children: /* @__PURE__ */ jsx52(
2115
+ "path",
2116
+ {
2117
+ d: "M2.17501 19.235L0.765015 17.825L10.415 8.16502L10.215 7.94501C9.43501 7.17501 9.43501 5.91501 10.215 5.13501L14.555 0.765015L15.485 1.68501L12.245 4.94501L13.205 5.88501L16.445 2.63501L17.365 3.55501L14.115 6.79502L15.055 7.75502L18.315 4.50501L19.235 5.44501L14.865 9.78502C14.085 10.565 12.825 10.565 12.055 9.78502L11.835 9.58502L2.17501 19.235Z",
2118
+ fill: colors.grey650
2119
+ }
2120
+ )
2121
+ }
2122
+ );
2123
+ var IconFork_default = SvgIconFork;
2124
+
2125
+ // src/components/icons/IconHeart.js
2126
+ import React48 from "react";
2127
+ import { jsx as jsx53 } from "react/jsx-runtime";
2128
+ var SvgIconHeart = () => /* @__PURE__ */ jsx53(
2129
+ "svg",
2130
+ {
2131
+ width: "20",
2132
+ height: "20",
2133
+ viewBox: "0 0 20 20",
2134
+ fill: "none",
2135
+ xmlns: "http://www.w3.org/2000/svg",
2136
+ children: /* @__PURE__ */ jsx53(
2137
+ "path",
2138
+ {
2139
+ d: "M10 19.175L8.55 17.855C3.4 13.185 0 10.095 0 6.32501C0 3.23501 2.42 0.825012 5.5 0.825012C7.24 0.825012 8.91 1.63501 10 2.90501C11.09 1.63501 12.76 0.825012 14.5 0.825012C17.58 0.825012 20 3.23501 20 6.32501C20 10.095 16.6 13.185 11.45 17.855L10 19.175Z",
2140
+ fill: colors.grey650
2141
+ }
2142
+ )
2143
+ }
2144
+ );
2145
+ var IconHeart_default = SvgIconHeart;
2146
+
2147
+ // src/components/icons/IconKnife.js
2148
+ import React49 from "react";
2149
+ import { jsx as jsx54 } from "react/jsx-runtime";
2150
+ var SvgIconKnife = (props) => /* @__PURE__ */ jsx54(
2151
+ "svg",
2152
+ {
2153
+ width: "20",
2154
+ height: "20",
2155
+ viewBox: "0 0 20 20",
2156
+ fill: "none",
2157
+ xmlns: "http://www.w3.org/2000/svg",
2158
+ ...props,
2159
+ children: /* @__PURE__ */ jsx54(
2160
+ "path",
2161
+ {
2162
+ d: "M18.6191 0C21.9691 5.61 10.4691 18.15 10.4691 18.15L7.5991 15.28L2.9091 20L0.769104 17.86L18.6191 0Z",
2163
+ fill: colors.grey650
2164
+ }
2165
+ )
2166
+ }
2167
+ );
2168
+ var IconKnife_default = SvgIconKnife;
2169
+
2170
+ // src/components/icons/IconSpoon.js
2171
+ import React50 from "react";
2172
+ import { jsx as jsx55 } from "react/jsx-runtime";
2173
+ var SvgIconSpoon = () => /* @__PURE__ */ jsx55(
2174
+ "svg",
2175
+ {
2176
+ width: "20",
2177
+ height: "20",
2178
+ viewBox: "0 0 20 20",
2179
+ fill: "none",
2180
+ xmlns: "http://www.w3.org/2000/svg",
2181
+ children: /* @__PURE__ */ jsx55(
2182
+ "path",
2183
+ {
2184
+ d: "M12.093 9.31795L2.33303 19.0779L0.923035 17.6679L10.683 7.90795C9.97303 6.37795 10.473 4.22795 12.063 2.63795C13.973 0.717946 16.713 0.357947 18.173 1.81795C19.643 3.28795 19.283 6.02795 17.363 7.93795C15.773 9.52795 13.623 10.0279 12.093 9.31795Z",
2185
+ fill: colors.grey650
2186
+ }
2187
+ )
2188
+ }
2189
+ );
2190
+ var IconSpoon_default = SvgIconSpoon;
2191
+
2192
+ // src/resources/icons/BulkIcon.js
2193
+ import React51 from "react";
2194
+ import { jsx as jsx56 } from "react/jsx-runtime";
2195
+ var BulkIcon = (props) => /* @__PURE__ */ jsx56(
2196
+ "svg",
2197
+ {
2198
+ height: 24,
2199
+ viewBox: "0 0 24 24",
2200
+ width: 24,
2201
+ xmlns: "http://www.w3.org/2000/svg",
2202
+ ...props,
2203
+ children: /* @__PURE__ */ jsx56("path", { d: "M4 3h14a2 2 0 012 2v7.08a6.01 6.01 0 00-4.32.92H12v4h1.08c-.11.68-.11 1.35 0 2H4a2 2 0 01-2-2V5c0-1.1.9-2 2-2zm0 4v4h6V7H4zm8 0v4h6V7h-6zm-8 6v4h6v-4H4zM18 19h-2l3 3 3-3h-2v-4h-2v4z" })
2204
+ }
2205
+ );
2206
+ var BulkIcon_default = BulkIcon;
2207
+
2208
+ // src/components/Buttons/RoundButton/RoundButton.tsx
2209
+ import { jsx as jsx57 } from "react/jsx-runtime";
2210
+ var useStyles9 = makeStyles9()(() => ({
2211
+ base: {
2212
+ backgroundColor: "transparent",
2213
+ zIndex: "auto"
2214
+ },
2215
+ default: {
2216
+ border: `1px solid ${colors.roundButton.default.border}`,
2217
+ color: colors.roundButton.default.color,
2218
+ boxShadow: "none",
2219
+ "&:hover": {
2220
+ backgroundColor: colors.roundButton.default.hover.background
2221
+ },
2222
+ "&:disabled": {
2223
+ color: colors.roundButton.default.disabled.color
2224
+ }
2225
+ },
2226
+ filled: {
2227
+ backgroundColor: colors.roundButton.filled.background,
2228
+ color: colors.roundButton.filled.color,
2229
+ fontWeight: 600,
2230
+ "&:hover": {
2231
+ background: colors.roundButton.filled.hover.background
2232
+ }
2233
+ },
2234
+ active: {
2235
+ color: colors.roundButton.active.color,
2236
+ "&:hover": {
2237
+ backgroundColor: colors.roundButton.active.hover.background,
2238
+ borderColor: "transparent"
2239
+ }
2240
+ },
2241
+ focused: {
2242
+ backgroundColor: colors.roundButton.focused.background,
2243
+ color: colors.roundButton.focused.color,
2244
+ borderColor: "transparent",
2245
+ "&:hover": {
2246
+ backgroundColor: colors.roundButton.focused.hover.background,
2247
+ borderColor: "transparent"
2248
+ }
2249
+ },
2250
+ constrat: {
2251
+ borderColor: colors.roundButton.contrast.border,
2252
+ color: colors.roundButton.contrast.color,
2253
+ "&:hover": {
2254
+ backgroundColor: colors.roundButton.contrast.hover.background
2255
+ }
2256
+ },
2257
+ tableButton: {
2258
+ color: colors.roundButton.tableButton.color
2259
+ },
2260
+ noStroke: {
2261
+ border: "none"
2262
+ },
2263
+ defaultPrimary: {
2264
+ border: `1px solid ${colors.roundButton.focused.color}`,
2265
+ color: colors.roundButton.focused.color,
2266
+ boxShadow: "none",
2267
+ "&:hover": {
2268
+ backgroundColor: colors.roundButton.default.hover.background
2269
+ },
2270
+ "&:disabled": {
2271
+ color: colors.roundButton.default.disabled.color
2272
+ }
2273
+ },
2274
+ defaultError: {
2275
+ border: `1px solid ${colors.roundButton.error}`,
2276
+ color: colors.roundButton.error,
2277
+ boxShadow: "none",
2278
+ "&:hover": {
2279
+ backgroundColor: colors.roundButton.default.hover.background
2280
+ },
2281
+ "&:disabled": {
2282
+ color: colors.roundButton.default.disabled.color
2283
+ }
2284
+ },
2285
+ /**
2286
+ * Overrides the size schema of MUI
2287
+ */
2288
+ small: {
2289
+ maxWidth: 36,
2290
+ maxHeight: 36
2291
+ },
2292
+ medium: {
2293
+ maxWidth: 42,
2294
+ maxHeight: 42
2295
+ },
2296
+ large: {
2297
+ fontSize: "1rem"
2298
+ },
2299
+ double: {
2300
+ width: 125,
2301
+ maxHeight: 56,
2302
+ fontSize: "1rem",
2303
+ borderRadius: 50,
2304
+ background: colors.roundButton.filled.hover.background
2305
+ }
2306
+ }));
2307
+ var RoundButton = ({
2308
+ active = false,
2309
+ children,
2310
+ className = "",
2311
+ disabled = false,
2312
+ focused = false,
2313
+ icon = void 0,
2314
+ iconColor = "inherit",
2315
+ isContrast = false,
2316
+ isTableButton = false,
2317
+ noStrokes = false,
2318
+ onClick,
2319
+ size = "medium",
2320
+ tooltip = "",
2321
+ variant = "default",
2322
+ testID
2323
+ }) => {
2324
+ const { classes, cx } = useStyles9();
2325
+ const iconSize = size === "small" ? "small" : "medium";
2326
+ const iconComponentMap = {
2327
+ add: /* @__PURE__ */ jsx57(Add2, { fontSize: iconSize }),
2328
+ apps: /* @__PURE__ */ jsx57(Apps, { fontSize: iconSize }),
2329
+ arrowBack: /* @__PURE__ */ jsx57(ArrowBack, { fontSize: iconSize }),
2330
+ arrowForward: /* @__PURE__ */ jsx57(ArrowForward, { fontSize: iconSize }),
2331
+ avocado: /* @__PURE__ */ jsx57(IconAvocado_default, {}),
2332
+ backspaceOutlined: /* @__PURE__ */ jsx57(BackspaceOutlined, { fontSize: iconSize }),
2333
+ banana: /* @__PURE__ */ jsx57(IconBanana_default, {}),
2334
+ block: /* @__PURE__ */ jsx57(Block, { fontSize: iconSize }),
2335
+ bulk: /* @__PURE__ */ jsx57(BulkIcon_default, { fill: colors.contrast }),
2336
+ callSplit: /* @__PURE__ */ jsx57(CallSplit, { fontSize: iconSize }),
2337
+ chevronRight: /* @__PURE__ */ jsx57(ChevronRight, { fontSize: iconSize }),
2338
+ chevronUp: /* @__PURE__ */ jsx57(KeyboardArrowUp, { fontSize: iconSize }),
2339
+ chevronDown: /* @__PURE__ */ jsx57(KeyboardArrowDown, { fontSize: iconSize }),
2340
+ close: /* @__PURE__ */ jsx57(Close, { fontSize: iconSize }),
2341
+ delete: /* @__PURE__ */ jsx57(Delete2, { fontSize: iconSize, fill: colors.grey650 }),
2342
+ done: /* @__PURE__ */ jsx57(Done, { fontSize: iconSize }),
2343
+ edit: /* @__PURE__ */ jsx57(Edit2, { fontSize: iconSize }),
2344
+ email: /* @__PURE__ */ jsx57(Email, { fontSize: iconSize }),
2345
+ grape: /* @__PURE__ */ jsx57(IconGrape_default, {}),
2346
+ groupAdd: /* @__PURE__ */ jsx57(GroupAdd, { fontSize: iconSize }),
2347
+ history: /* @__PURE__ */ jsx57(History, { fontSize: iconSize }),
2348
+ menu: /* @__PURE__ */ jsx57(Menu, { fontSize: iconSize }),
2349
+ threeDots: /* @__PURE__ */ jsx57(MoreHoriz, { fontSize: iconSize, color: iconColor }),
2350
+ notes: /* @__PURE__ */ jsx57(Comment, { fontSize: iconSize }),
2351
+ refresh: /* @__PURE__ */ jsx57(Refresh2, { fontSize: iconSize }),
2352
+ remove: /* @__PURE__ */ jsx57(Remove, { fontSize: iconSize }),
2353
+ search: /* @__PURE__ */ jsx57(Search, { fontSize: iconSize }),
2354
+ send: /* @__PURE__ */ jsx57(Send, { fontSize: iconSize }),
2355
+ strawberry: /* @__PURE__ */ jsx57(IconStrawberry_default, {}),
2356
+ thumbDown: /* @__PURE__ */ jsx57(ThumbDown, { fontSize: iconSize }),
2357
+ thumbUp: /* @__PURE__ */ jsx57(ThumbUp, { fontSize: iconSize }),
2358
+ undo: /* @__PURE__ */ jsx57(Undo, { fontSize: iconSize }),
2359
+ play: /* @__PURE__ */ jsx57(PlayArrowRounded, { fontSize: iconSize }),
2360
+ snail: /* @__PURE__ */ jsx57(icons_default.SvgIconSnail, { fontSize: iconSize, fill: colors.muiPrimary }),
2361
+ bus: /* @__PURE__ */ jsx57(IconBus_default, {}),
2362
+ spoon: /* @__PURE__ */ jsx57(IconSpoon_default, {}),
2363
+ fork: /* @__PURE__ */ jsx57(IconFork_default, {}),
2364
+ car: /* @__PURE__ */ jsx57(IconCar_default, {}),
2365
+ knife: /* @__PURE__ */ jsx57(IconKnife_default, {}),
2366
+ bicycle: /* @__PURE__ */ jsx57(IconBicycle_default, {}),
2367
+ heart: /* @__PURE__ */ jsx57(IconHeart_default, {}),
2368
+ airplane: /* @__PURE__ */ jsx57(IconAirplane_default, {})
2369
+ };
2370
+ const filteredSize = size === "double" ? void 0 : size;
2371
+ const handleClick = (e) => {
2372
+ if (onClick) {
2373
+ onClick(e);
2374
+ }
2375
+ };
2376
+ const Button10 = /* @__PURE__ */ jsx57(
2377
+ Fab,
2378
+ {
2379
+ className: cx(
2380
+ classes.base,
2381
+ classes[variant],
2382
+ classes[size],
2383
+ {
2384
+ [classes.active]: active,
2385
+ [classes.constrat]: isContrast,
2386
+ [classes.focused]: focused,
2387
+ [classes.noStroke]: noStrokes,
2388
+ [classes.tableButton]: isTableButton
2389
+ },
2390
+ className
2391
+ ),
2392
+ disabled,
2393
+ onClick: handleClick,
2394
+ size: filteredSize,
2395
+ variant: "circular",
2396
+ "data-testid": testID,
2397
+ children: icon ? iconComponentMap[icon] : children || ""
2398
+ }
2399
+ );
2400
+ return tooltip ? /* @__PURE__ */ jsx57(Tooltip2, { title: tooltip, children: Button10 }) : Button10;
2401
+ };
2402
+ var RoundButton_default = RoundButton;
2403
+
2404
+ // src/components/CompanyLogo/CompanyLogo.tsx
2405
+ import { makeStyles as makeStyles10 } from "tss-react/mui";
2406
+ import { jsx as jsx58 } from "react/jsx-runtime";
2407
+ var useStyles10 = makeStyles10()((theme, { imageLogoDarkSmall, imageLogoLightSmall }) => ({
2408
+ logoSmall: {
2409
+ height: 46,
2410
+ width: 112
2411
+ },
2412
+ logoMedium: {
2413
+ height: 72,
2414
+ width: 160
2415
+ },
2416
+ logoDark: {
2417
+ backgroundImage: `url(${imageLogoDarkSmall})`
2418
+ },
2419
+ logoLight: {
2420
+ backgroundImage: `url(${imageLogoLightSmall})`
2421
+ }
2422
+ }));
2423
+ var CompanyLogo = ({
2424
+ size,
2425
+ color,
2426
+ imageLogoDarkSmall,
2427
+ imageLogoLightSmall
2428
+ }) => {
2429
+ const { classes, cx } = useStyles10({
2430
+ imageLogoDarkSmall,
2431
+ imageLogoLightSmall
2432
+ });
2433
+ const className = cx({
2434
+ [classes.logoSmall]: size === "small",
2435
+ [classes.logoMedium]: size === "medium",
2436
+ [classes.logoLight]: color === "light",
2437
+ [classes.logoDark]: color === "dark"
2438
+ });
2439
+ return /* @__PURE__ */ jsx58("div", { className });
2440
+ };
2441
+ var CompanyLogo_default = CompanyLogo;
2442
+
2443
+ // src/lib/moment.js
2444
+ import moment from "moment";
2445
+
2446
+ // src/resources/styles/themes/default.js
2447
+ import grey from "@mui/material/colors/grey";
2448
+ import { createTheme } from "@mui/material/styles";
2449
+ var defaultTheme = createTheme({
2450
+ typography: {
2451
+ fontFamily: "ProximaNova, Arial"
2452
+ },
2453
+ palette: {
2454
+ mode: isDarkModeEnabled ? "dark" : "light",
2455
+ default: {
2456
+ main: colors.grey650,
2457
+ background: colors.white
2458
+ },
2459
+ primary: {
2460
+ main: colors.muiPrimary,
2461
+ alternate: colors.muiPrimaryAlternate,
2462
+ light: grey["100"],
2463
+ contrastText: grey["50"]
2464
+ },
2465
+ secondary: {
2466
+ main: colors.muiSecondary,
2467
+ alternate: colors.muiSecondaryAlternate,
2468
+ dark: grey["900"],
2469
+ light: grey["50"]
2470
+ },
2471
+ success: {
2472
+ main: colors.muiSuccess,
2473
+ alternate: colors.muiSuccessAlternate
2474
+ }
2475
+ },
2476
+ components: {
2477
+ MuiPickersDay: {
2478
+ styleOverrides: {
2479
+ root: {
2480
+ "&.Mui-selected": {
2481
+ color: colors.black,
2482
+ backgroundColor: `${colors.muiPrimary} !important`,
2483
+ "&:hover": {
2484
+ backgroundColor: `${colors.muiPrimaryHover} !important`
2485
+ }
2486
+ }
2487
+ }
2488
+ }
2489
+ },
2490
+ MuiListItem: {
2491
+ styleOverrides: {
2492
+ root: {
2493
+ cursor: "pointer",
2494
+ transition: "background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
2495
+ "&:hover": {
2496
+ backgroundColor: isDarkModeEnabled ? "rgba(255, 255, 255, 0.08)" : "rgba(0, 0, 0, 0.04)"
2497
+ }
2498
+ }
2499
+ }
2500
+ },
2501
+ MuiListItemButton: {
2502
+ styleOverrides: {
2503
+ root: {
2504
+ cursor: "pointer",
2505
+ transition: "background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
2506
+ "&:hover": {
2507
+ backgroundColor: isDarkModeEnabled ? "rgba(255, 255, 255, 0.08)" : "rgba(0, 0, 0, 0.04)"
2508
+ }
2509
+ }
2510
+ }
2511
+ }
2512
+ }
2513
+ });
2514
+ var default_default = defaultTheme;
2515
+
2516
+ // src/config/constants.js
2517
+ var WIDTH_TO_SHRINK = default_default.breakpoints.values.md;
2518
+ var constants = {
2519
+ locale: process.env.REACT_APP_LOCALE
2520
+ };
2521
+ var constants_default = constants;
2522
+
2523
+ // src/lib/moment.js
2524
+ import "moment/dist/locale/en-gb";
2525
+ import "moment/dist/locale/fr";
2526
+ var localizedMoment = moment;
2527
+ localizedMoment.locale(constants_default.locale);
2528
+ var moment_default = localizedMoment;
2529
+
2530
+ // src/components/Date/Date.tsx
2531
+ import { jsx as jsx59 } from "react/jsx-runtime";
2532
+ var Date = ({ datetime, format = "L" }) => {
2533
+ const formattedDate = moment_default(datetime).format(format);
2534
+ return /* @__PURE__ */ jsx59("span", { children: formattedDate === "Invalid date" ? "-" : formattedDate });
2535
+ };
2536
+ var Date_default = Date;
2537
+
2538
+ // src/components/DeleteSubstitutionDialogContent/DeleteSubstitutionDialogContent.tsx
2539
+ import React52 from "react";
2540
+ import { Alert, AlertTitle, Typography as Typography5, Box as Box7 } from "@mui/material";
2541
+ import { makeStyles as makeStyles11 } from "tss-react/mui";
2542
+ import { Fragment, jsx as jsx60, jsxs as jsxs35 } from "react/jsx-runtime";
2543
+ var useStyles11 = makeStyles11()(() => ({
2544
+ alert: { marginBottom: 16 },
2545
+ bottomBar: {
2546
+ marginTop: "12px",
2547
+ display: "flex",
2548
+ justifyContent: "center",
2549
+ borderTop: `1px solid ${colors.borderColor}`,
2550
+ padding: "12px 0px 0px",
2551
+ gap: "12px"
2552
+ }
2553
+ }));
2554
+ var DeleteSubstitutionDialogContent = ({
2555
+ closeDialog,
2556
+ substitutionName,
2557
+ deleteSubstitution
2558
+ }) => {
2559
+ const { classes } = useStyles11();
2560
+ return /* @__PURE__ */ jsxs35(Fragment, { children: [
2561
+ /* @__PURE__ */ jsxs35(Alert, { severity: "warning", className: classes.alert, children: [
2562
+ /* @__PURE__ */ jsxs35(AlertTitle, { children: [
2563
+ "Are you sure you want to delete the substitution \u201C",
2564
+ substitutionName,
2565
+ "\u201D?"
2566
+ ] }),
2567
+ "This action will permanently remove all data and history associated with this substitution, and it cannot be undone."
2568
+ ] }),
2569
+ /* @__PURE__ */ jsx60(Typography5, { variant: "body1", children: "Please confirm if you wish to proceed." }),
2570
+ /* @__PURE__ */ jsxs35(Box7, { className: classes.bottomBar, children: [
2571
+ /* @__PURE__ */ jsx60(ExtendedButton_default, { color: "default", copy: "Cancel", onClick: closeDialog }),
2572
+ /* @__PURE__ */ jsx60(
2573
+ ExtendedButton_default,
2574
+ {
2575
+ copy: "Confirm",
2576
+ color: "primary",
2577
+ buttonType: "button",
2578
+ onClick: deleteSubstitution
2579
+ }
2580
+ )
2581
+ ] })
2582
+ ] });
2583
+ };
2584
+ var DeleteSubstitutionDialogContent_default = React52.memo(DeleteSubstitutionDialogContent);
2585
+
2586
+ // src/components/DeleteUserDialogContent/DeleteUserDialogContent.tsx
2587
+ import React53 from "react";
2588
+ import { Alert as Alert2, AlertTitle as AlertTitle2, Typography as Typography6, Box as Box8 } from "@mui/material";
2589
+ import { makeStyles as makeStyles12 } from "tss-react/mui";
2590
+ import { Fragment as Fragment2, jsx as jsx61, jsxs as jsxs36 } from "react/jsx-runtime";
2591
+ var useStyles12 = makeStyles12()(() => ({
2592
+ alert: { marginBottom: 16 },
2593
+ bottomBar: {
2594
+ marginTop: "12px",
2595
+ display: "flex",
2596
+ justifyContent: "center",
2597
+ borderTop: `1px solid ${colors.borderColor}`,
2598
+ padding: "12px 0px 0px",
2599
+ gap: "12px"
2600
+ }
2601
+ }));
2602
+ var DeleteUserDialogContent = ({
2603
+ closeDialog,
2604
+ userName,
2605
+ deleteUser
2606
+ }) => {
2607
+ const { classes } = useStyles12();
2608
+ return /* @__PURE__ */ jsxs36(Fragment2, { children: [
2609
+ /* @__PURE__ */ jsxs36(Alert2, { severity: "warning", className: classes.alert, children: [
2610
+ /* @__PURE__ */ jsxs36(AlertTitle2, { children: [
2611
+ "Are you sure you want to delete the user ",
2612
+ userName,
2613
+ "?"
2614
+ ] }),
2615
+ "This action will permanently remove all data and history associated with this user, and it cannot be undone."
2616
+ ] }),
2617
+ /* @__PURE__ */ jsx61(Typography6, { variant: "body1", children: "Please confirm if you wish to proceed." }),
2618
+ /* @__PURE__ */ jsxs36(Box8, { className: classes.bottomBar, children: [
2619
+ /* @__PURE__ */ jsx61(ExtendedButton_default, { color: "default", copy: "Cancel", onClick: closeDialog }),
2620
+ /* @__PURE__ */ jsx61(
2621
+ ExtendedButton_default,
2622
+ {
2623
+ copy: "Confirm",
2624
+ color: "primary",
2625
+ buttonType: "button",
2626
+ onClick: deleteUser
2627
+ }
2628
+ )
2629
+ ] })
2630
+ ] });
2631
+ };
2632
+ var DeleteUserDialogContent_default = React53.memo(DeleteUserDialogContent);
2633
+
2634
+ // src/components/DesktopContainer/DesktopContainer.tsx
2635
+ import { Container, Box as Box11 } from "@mui/material";
2636
+ import { makeStyles as makeStyles15 } from "tss-react/mui";
2637
+
2638
+ // src/components/TheToolbar/TheToolbar.tsx
2639
+ import React58 from "react";
2640
+ import { AppBar as AppBar2, Box as Box10, Toolbar as Toolbar2 } from "@mui/material";
2641
+ import { makeStyles as makeStyles14 } from "tss-react/mui";
2642
+
2643
+ // src/components/LeftDrawer/LeftDrawer.tsx
2644
+ import React57, { memo as memo3, useState } from "react";
2645
+ import { useDispatch } from "react-redux";
2646
+ import { ExpandLess, ExpandMore, FiberManualRecord } from "@mui/icons-material";
2647
+ import {
2648
+ AppBar,
2649
+ Collapse,
2650
+ List,
2651
+ ListItem,
2652
+ ListItemIcon,
2653
+ ListItemText,
2654
+ ListSubheader,
2655
+ SwipeableDrawer,
2656
+ Toolbar,
2657
+ Box as Box9,
2658
+ ListItemButton
2659
+ } from "@mui/material";
2660
+ import Icon from "@mui/material/Icon";
2661
+ import { makeStyles as makeStyles13 } from "tss-react/mui";
2662
+
2663
+ // src/components/UserBust/UserBust.tsx
2664
+ import React55 from "react";
2665
+ import Typography7 from "@mui/material/Typography";
2666
+ import PropTypes4 from "prop-types";
2667
+
2668
+ // src/components/UserAvatar/UserAvatar.tsx
2669
+ import React54 from "react";
2670
+ import Avatar from "@mui/material/Avatar";
2671
+ import PropTypes3 from "prop-types";
2672
+ import { jsx as jsx62 } from "react/jsx-runtime";
2673
+ var UserAvatar = ({ src, width, height }) => /* @__PURE__ */ jsx62(Avatar, { alt: "user_avatar", src, style: { width, height } });
2674
+ UserAvatar.propTypes = {
2675
+ src: PropTypes3.any,
2676
+ width: PropTypes3.any,
2677
+ height: PropTypes3.any
2678
+ };
2679
+ var UserAvatar_default = React54.memo(UserAvatar);
2680
+
2681
+ // src/components/UserBust/UserBust.tsx
2682
+ import { jsx as jsx63, jsxs as jsxs37 } from "react/jsx-runtime";
2683
+ var UserBust = ({ user, avatarProps, typographyProps }) => /* @__PURE__ */ jsxs37("div", { children: [
2684
+ /* @__PURE__ */ jsx63(UserAvatar_default, { src: user.profile_picture, ...avatarProps }),
2685
+ /* @__PURE__ */ jsxs37("div", { style: { paddingTop: 16 }, children: [
2686
+ /* @__PURE__ */ jsx63(Typography7, { ...typographyProps.name, children: `${user.first_name} ${user.last_name}` }),
2687
+ /* @__PURE__ */ jsx63(Typography7, { ...typographyProps.username, children: user.username })
2688
+ ] })
2689
+ ] });
2690
+ UserBust.propTypes = {
2691
+ user: PropTypes4.any,
2692
+ avatarProps: PropTypes4.any,
2693
+ typographyProps: PropTypes4.any
2694
+ };
2695
+ var UserBust_default = React55.memo(UserBust);
2696
+
2697
+ // src/components/LeftDrawer/helpers/useGetFilteredDrawerAppList.tsx
2698
+ import { useSelector } from "react-redux";
2699
+
2700
+ // src/components/LeftDrawer/helpers/drawerAppList.js
2701
+ import React56 from "react";
2702
+
2703
+ // src/config/featureName.ts
2704
+ var featureName = {
2705
+ ACCOUNTS: "accounts",
2706
+ ADMIN: "admin",
2707
+ AIRCALL: "aircall",
2708
+ BULK_UPDATE: "product_bulk_update",
2709
+ CUSTOMERS: "customers",
2710
+ GOODS_IN: "goods_in",
2711
+ KANBAN: "kanban",
2712
+ LOCATIONS: "locations",
2713
+ NOTIFICATIONS: "notifications",
2714
+ OPS_METRICS: "ops_metrics",
2715
+ ORDERS: "orders",
2716
+ PICKING_STATIONS: "picking_stations",
2717
+ PRICE_LIST: "price_list",
2718
+ PRODUCTS: "products",
2719
+ PROMO_CODES: "promo_codes",
2720
+ PURCHASE_ORDERS: "purchases",
2721
+ QUALITY_CONTROL: "quality_control",
2722
+ REPORTS: "reports",
2723
+ RETAIL: "retail",
2724
+ RETURNS: "returns",
2725
+ SEARCH_CATEGORIES: "search_categories",
2726
+ SERVICE_DELIVERY: "service_delivery",
2727
+ SPECIAL_PRICES: "special_prices",
2728
+ STOCK: "stock",
2729
+ STOCK_MOVEMENTS: "stock_movements",
2730
+ SUPPLIERS: "suppliers",
2731
+ SUPPLIER_PRICES: "supplier_prices",
2732
+ USER_MANAGEMENT: "users"
2733
+ };
2734
+ var featureName_default = featureName;
2735
+
2736
+ // src/components/LeftDrawer/helpers/drawerAppList.js
2737
+ import { jsx as jsx64 } from "react/jsx-runtime";
2738
+ var drawerAppList = [
2739
+ {
2740
+ groupName: "Home",
2741
+ apps: [
2742
+ {
2743
+ name: "Home",
2744
+ routeName: "home",
2745
+ alwaysDisplay: true,
2746
+ featureNames: [],
2747
+ pinned: null,
2748
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconHome, {}),
2749
+ url: `/#/`
2750
+ }
2751
+ ]
2752
+ },
2753
+ {
2754
+ groupName: "App",
2755
+ apps: [
2756
+ {
2757
+ name: "Notifications",
2758
+ routeName: "appNotifications",
2759
+ alwaysDisplay: false,
2760
+ featureNames: [featureName_default.NOTIFICATIONS],
2761
+ pinned: null,
2762
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconNotification, {}),
2763
+ url: `/#/notifications`
2764
+ },
2765
+ {
2766
+ name: "Promo Codes",
2767
+ routeName: "promo_codes",
2768
+ alwaysDisplay: false,
2769
+ featureNames: [featureName_default.PROMO_CODES],
2770
+ pinned: null,
2771
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconPromoCode, {}),
2772
+ url: "/react/promo_codes"
2773
+ },
2774
+ {
2775
+ name: "Search Categories",
2776
+ routeName: "search-categories",
2777
+ alwaysDisplay: false,
2778
+ featureNames: [featureName_default.SEARCH_CATEGORIES],
2779
+ pinned: null,
2780
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconSearchCategories, {}),
2781
+ url: "/react/search-categories"
2782
+ },
2783
+ {
2784
+ name: "Content Management",
2785
+ routeName: "content-management",
2786
+ alwaysDisplay: false,
2787
+ featureNames: ["cms"],
2788
+ pinned: null,
2789
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconContentManagement, {}),
2790
+ url: "/react/content-management"
2791
+ }
2792
+ ]
2793
+ },
2794
+ {
2795
+ groupName: "Customer Service",
2796
+ apps: [
2797
+ {
2798
+ name: "Aircall",
2799
+ routeName: "recordedcalls",
2800
+ alwaysDisplay: false,
2801
+ featureNames: [featureName_default.AIRCALL],
2802
+ pinned: "recorded_calls",
2803
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconPhone, {}),
2804
+ url: "/react/air-call"
2805
+ },
2806
+ {
2807
+ name: "Customers",
2808
+ routeName: "customers",
2809
+ alwaysDisplay: false,
2810
+ featureNames: [featureName_default.CUSTOMERS],
2811
+ pinned: "customers",
2812
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconAccount, {}),
2813
+ url: `/#/customer-list`,
2814
+ children: [
2815
+ {
2816
+ name: "Sites",
2817
+ routeName: "customer-sites",
2818
+ pinned: "customer-sites",
2819
+ url: "/react/customers/sites"
2820
+ },
2821
+ {
2822
+ name: "Groups",
2823
+ routeName: "customer-groups",
2824
+ pinned: "customer-groups",
2825
+ url: "/react/customers/groups"
2826
+ }
2827
+ ]
2828
+ },
2829
+ {
2830
+ name: "Orders",
2831
+ routeName: "orders",
2832
+ alwaysDisplay: false,
2833
+ featureNames: [featureName_default.ORDERS],
2834
+ pinned: "orders",
2835
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconOrders, {}),
2836
+ url: `/#/orders`
2837
+ },
2838
+ {
2839
+ name: "Price Lists",
2840
+ routeName: "price_list",
2841
+ alwaysDisplay: false,
2842
+ featureNames: [featureName_default.PRICE_LIST],
2843
+ pinned: "price_list",
2844
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconPriceList, {}),
2845
+ url: `/#/price-list`
2846
+ },
2847
+ {
2848
+ name: "Special Prices",
2849
+ routeName: "special_prices",
2850
+ alwaysDisplay: false,
2851
+ featureNames: [featureName_default.SPECIAL_PRICES],
2852
+ pinned: "special_prices",
2853
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconSpecialPrice, {}),
2854
+ url: `/#/pricing/special-prices`
2855
+ }
2856
+ ]
2857
+ },
2858
+ {
2859
+ groupName: "Buying",
2860
+ apps: [
2861
+ {
2862
+ name: "Purchase Orders",
2863
+ routeName: "purchaseOrders",
2864
+ alwaysDisplay: false,
2865
+ featureNames: [featureName_default.PURCHASE_ORDERS],
2866
+ pinned: "purchase_orders",
2867
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconBuying, {}),
2868
+ url: "/react/purchase-orders"
2869
+ },
2870
+ {
2871
+ name: "Products",
2872
+ routeName: "products",
2873
+ alwaysDisplay: false,
2874
+ featureNames: [featureName_default.PRODUCTS],
2875
+ pinned: "products",
2876
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconProducts, {}),
2877
+ url: `/#/product-base-list`
2878
+ },
2879
+ {
2880
+ name: "Suppliers",
2881
+ routeName: "suppliers",
2882
+ alwaysDisplay: false,
2883
+ featureNames: [featureName_default.SUPPLIERS],
2884
+ pinned: "suppliers",
2885
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconSupplier, {}),
2886
+ url: "/react/suppliers"
2887
+ },
2888
+ {
2889
+ name: "Supplier Prices",
2890
+ routeName: "supplier_prices",
2891
+ alwaysDisplay: false,
2892
+ featureNames: [featureName_default.SUPPLIER_PRICES],
2893
+ pinned: "supplier_prices",
2894
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconSupplierPrices, {}),
2895
+ url: `/#/supplier-prices`
2896
+ },
2897
+ {
2898
+ name: "Product Bulk Update",
2899
+ routeName: "bulk-update",
2900
+ alwaysDisplay: false,
2901
+ featureNames: [featureName_default.BULK_UPDATE],
2902
+ pinned: "bulk-update",
2903
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconImport, {}),
2904
+ url: "/react/bulk_update"
2905
+ }
2906
+ ]
2907
+ },
2908
+ {
2909
+ groupName: "Operations",
2910
+ apps: [
2911
+ {
2912
+ name: "Goods In",
2913
+ routeName: "goodsin-list",
2914
+ alwaysDisplay: false,
2915
+ featureNames: [featureName_default.GOODS_IN],
2916
+ pinned: "goods_in",
2917
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconGoodsin, {}),
2918
+ url: "/react/goodsin-list"
2919
+ },
2920
+ {
2921
+ name: "Returns",
2922
+ routeName: "goods-in-list",
2923
+ alwaysDisplay: false,
2924
+ featureNames: [featureName_default.RETURNS],
2925
+ pinned: "goods_in",
2926
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconGoodsin, {}),
2927
+ url: "/react/returns"
2928
+ },
2929
+ {
2930
+ name: "Kanban Cards",
2931
+ routeName: "kanban",
2932
+ alwaysDisplay: false,
2933
+ featureNames: [featureName_default.KANBAN],
2934
+ pinned: "kanbancards",
2935
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconVkc, {}),
2936
+ url: `/#/kanban`
2937
+ },
2938
+ {
2939
+ children: [
2940
+ {
2941
+ name: "Movements",
2942
+ routeName: "movements",
2943
+ url: "/react/movements",
2944
+ featureName: featureName_default.STOCK_MOVEMENTS
2945
+ }
2946
+ ],
2947
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconLocation, {}),
2948
+ name: "Stock and Locations",
2949
+ pinned: "locations",
2950
+ routeName: "locations",
2951
+ featureNames: [featureName_default.STOCK, featureName_default.LOCATIONS],
2952
+ alwaysDisplay: false,
2953
+ url: "/react/locations"
2954
+ },
2955
+ {
2956
+ name: "Picking Stations",
2957
+ routeName: "picking",
2958
+ alwaysDisplay: false,
2959
+ featureNames: [featureName_default.PICKING_STATIONS],
2960
+ pinned: "picking_stations",
2961
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconScales, {}),
2962
+ url: `/#/pickingstation`
2963
+ },
2964
+ {
2965
+ name: "Quality Control",
2966
+ routeName: "qualityControl",
2967
+ alwaysDisplay: false,
2968
+ featureNames: [featureName_default.QUALITY_CONTROL],
2969
+ pinned: "quality_control",
2970
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconQc, {}),
2971
+ url: `/#/quality-control`
2972
+ },
2973
+ {
2974
+ name: "Retail",
2975
+ routeName: "retail",
2976
+ alwaysDisplay: false,
2977
+ featureNames: [featureName_default.RETAIL],
2978
+ pinned: "retail",
2979
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconRetail, {}),
2980
+ url: `/retail/product-availability`
2981
+ },
2982
+ {
2983
+ name: "Service Delivery",
2984
+ routeName: "runs",
2985
+ alwaysDisplay: false,
2986
+ featureNames: [featureName_default.SERVICE_DELIVERY],
2987
+ pinned: "runs",
2988
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconRuns, {}),
2989
+ url: `/#/runs`
2990
+ },
2991
+ {
2992
+ name: "Ops Metrics",
2993
+ routeName: "ops-metrics",
2994
+ alwaysDisplay: false,
2995
+ featureNames: [featureName_default.OPS_METRICS],
2996
+ pinned: "ops-metrics",
2997
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconOpsMetrics, {}),
2998
+ url: "/react/ops-metrics"
2999
+ }
3000
+ ]
3001
+ },
3002
+ {
3003
+ groupName: "Tools",
3004
+ apps: [
3005
+ {
3006
+ name: "Accounts",
3007
+ routeName: "accounts",
3008
+ alwaysDisplay: false,
3009
+ featureNames: [featureName_default.ACCOUNTS],
3010
+ pinned: "accounts",
3011
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconAccounts, {}),
3012
+ url: `/#/accounts`
3013
+ },
3014
+ {
3015
+ name: "Reports",
3016
+ routeName: "reports",
3017
+ alwaysDisplay: false,
3018
+ featureNames: [featureName_default.REPORTS],
3019
+ pinned: "reports",
3020
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconReports, {}),
3021
+ url: `/reports`
3022
+ }
3023
+ ]
3024
+ },
3025
+ {
3026
+ groupName: "Settings",
3027
+ apps: [
3028
+ {
3029
+ name: "Admin",
3030
+ routeName: "admin",
3031
+ alwaysDisplay: false,
3032
+ featureNames: [featureName_default.ADMIN],
3033
+ pinned: "admin",
3034
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconSetting, {}),
3035
+ url: `/admin`
3036
+ },
3037
+ {
3038
+ name: "User Management",
3039
+ routeName: "user-management",
3040
+ alwaysDisplay: false,
3041
+ featureNames: [featureName_default.USER_MANAGEMENT],
3042
+ pinned: "users",
3043
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconUserManagement, {}),
3044
+ url: "/react/user-management"
3045
+ },
3046
+ {
3047
+ name: "Logout",
3048
+ routeName: "logout",
3049
+ alwaysDisplay: true,
3050
+ featureNames: [],
3051
+ pinned: null,
3052
+ icon: /* @__PURE__ */ jsx64(icons_default.SvgIconLogin, {}),
3053
+ url: "/react/logout"
3054
+ }
3055
+ ]
3056
+ }
3057
+ ];
3058
+ var drawerAppList_default = drawerAppList;
3059
+
3060
+ // src/components/LeftDrawer/helpers/useGetFilteredDrawerAppList.tsx
3061
+ var useGetFilteredDrawerAppList = () => {
3062
+ const featureSettings = useSelector((state) => state.FeatureSettingsReducer);
3063
+ if (!featureSettings) {
3064
+ return [];
3065
+ }
3066
+ return drawerAppList_default.map((group) => {
3067
+ const enabledApps = group.apps.filter(
3068
+ (app) => app.alwaysDisplay || featuresAreEnabled_default(featureSettings, app.featureNames, false)
3069
+ ).map((app) => {
3070
+ if (app.children) {
3071
+ const filteredChildren = app.children.filter((child) => {
3072
+ if (child.featureName) {
3073
+ return featureSettings.enabled_features.includes(
3074
+ child.featureName
3075
+ );
3076
+ }
3077
+ return true;
3078
+ });
3079
+ return {
3080
+ ...app,
3081
+ children: filteredChildren
3082
+ };
3083
+ }
3084
+ return app;
3085
+ });
3086
+ return {
3087
+ ...group,
3088
+ apps: enabledApps
3089
+ };
3090
+ }).filter((group) => group.apps.length > 0);
3091
+ };
3092
+ var useGetFilteredDrawerAppList_default = useGetFilteredDrawerAppList;
3093
+
3094
+ // src/components/LeftDrawer/LeftDrawer.tsx
3095
+ import { jsx as jsx65, jsxs as jsxs38 } from "react/jsx-runtime";
3096
+ var useStyles13 = makeStyles13()((theme) => ({
3097
+ subheader: {
3098
+ textTransform: "uppercase",
3099
+ fontSize: theme.spacing(1.5)
3100
+ },
3101
+ menuButton: {
3102
+ marginRight: theme.spacing(2)
3103
+ },
3104
+ inputRoot: {
3105
+ color: "inherit"
3106
+ },
3107
+ inputInput: {
3108
+ transition: theme.transitions.create("width"),
3109
+ width: "100%"
3110
+ },
3111
+ topBar: {
3112
+ backgroundColor: theme.palette.secondary.dark,
3113
+ width: theme.spacing(40),
3114
+ padding: theme.spacing(2),
3115
+ display: "flex",
3116
+ alignItems: "end",
3117
+ justifyContent: "space-between"
3118
+ },
3119
+ drawer: {
3120
+ alignContent: "space-between",
3121
+ flexDirection: "column",
3122
+ minWidth: theme.spacing(80)
3123
+ },
3124
+ drawerBody: {
3125
+ minWidth: "300px",
3126
+ flexGrow: 1,
3127
+ padding: theme.spacing(3)
3128
+ },
3129
+ drawerItem: {
3130
+ width: "300px",
3131
+ marginBottom: theme.spacing(1)
3132
+ },
3133
+ button: {
3134
+ color: theme.palette.primary.contrastText
3135
+ },
3136
+ iconMenu: {
3137
+ height: "40px",
3138
+ width: "40px",
3139
+ opacity: 1,
3140
+ fill: colors.grey500
3141
+ },
3142
+ nested: {
3143
+ paddingLeft: theme.spacing(6),
3144
+ border: colors.grey100
3145
+ },
3146
+ appName: {
3147
+ "& .MuiTypography-body2": {
3148
+ fontWeight: 700
3149
+ }
3150
+ }
3151
+ }));
3152
+ var LeftDrawer = ({ handleClose, handleOpen, open }) => {
3153
+ const [openCollapse, setOpenCollapse] = useState({});
3154
+ const dispatch = useDispatch();
3155
+ const filteredDrawerAppList = useGetFilteredDrawerAppList_default();
3156
+ const handleCollapse = (e, routeName) => {
3157
+ e.stopPropagation();
3158
+ const tempOpenCollapse = { ...openCollapse };
3159
+ tempOpenCollapse[routeName] = !tempOpenCollapse[routeName];
3160
+ setOpenCollapse(tempOpenCollapse);
3161
+ };
3162
+ const { classes } = useStyles13();
3163
+ return /* @__PURE__ */ jsxs38(
3164
+ SwipeableDrawer,
3165
+ {
3166
+ className: classes.drawer,
3167
+ id: "primary-menu",
3168
+ onClose: handleClose,
3169
+ onOpen: handleOpen,
3170
+ open,
3171
+ children: [
3172
+ /* @__PURE__ */ jsx65(AppBar, { position: "static", children: /* @__PURE__ */ jsxs38(Toolbar, { className: classes.topBar, children: [
3173
+ /* @__PURE__ */ jsx65(
3174
+ UserBust_default,
3175
+ {
3176
+ user: {},
3177
+ avatarProps: { height: 50, width: 50 },
3178
+ typographyProps: {
3179
+ name: { variant: "subtitle1" },
3180
+ username: { variant: "caption" }
3181
+ }
3182
+ }
3183
+ ),
3184
+ /* @__PURE__ */ jsx65(Box9, { children: /* @__PURE__ */ jsx65(
3185
+ RoundButton_default,
3186
+ {
3187
+ icon: "edit",
3188
+ isContrast: true,
3189
+ onClick: () => window.location.assign("/#/user-settings"),
3190
+ size: "small",
3191
+ tooltip: "User Settings"
3192
+ }
3193
+ ) })
3194
+ ] }) }),
3195
+ /* @__PURE__ */ jsx65(List, { children: filteredDrawerAppList.map((group) => /* @__PURE__ */ jsxs38(React57.Fragment, { children: [
3196
+ /* @__PURE__ */ jsx65(ListSubheader, { disableSticky: true, className: classes.subheader, children: group.groupName }),
3197
+ group.apps.map((app) => /* @__PURE__ */ jsxs38(React57.Fragment, { children: [
3198
+ /* @__PURE__ */ jsxs38(
3199
+ ListItem,
3200
+ {
3201
+ title: app.url,
3202
+ onClick: () => {
3203
+ if (app.routeName === "logout") {
3204
+ }
3205
+ return window.location.assign(app.url);
3206
+ },
3207
+ children: [
3208
+ /* @__PURE__ */ jsx65(ListItemIcon, { children: /* @__PURE__ */ jsx65(Icon, { className: classes.iconMenu, children: app.icon }) }),
3209
+ /* @__PURE__ */ jsx65(
3210
+ ListItemText,
3211
+ {
3212
+ className: classes.appName,
3213
+ primary: app.name,
3214
+ slotProps: {
3215
+ primary: { variant: "body2" }
3216
+ }
3217
+ }
3218
+ ),
3219
+ app.children?.length > 0 && (openCollapse[app.routeName] ? /* @__PURE__ */ jsx65(
3220
+ ExpandLess,
3221
+ {
3222
+ "data-testid": "svg-close-collapse",
3223
+ onClick: (e) => handleCollapse(e, app.routeName)
3224
+ }
3225
+ ) : /* @__PURE__ */ jsx65(
3226
+ ExpandMore,
3227
+ {
3228
+ "data-testid": "svg-open-collapse",
3229
+ onClick: (e) => handleCollapse(e, app.routeName)
3230
+ }
3231
+ ))
3232
+ ]
3233
+ },
3234
+ app.name
3235
+ ),
3236
+ app.children?.length > 0 && /* @__PURE__ */ jsx65(Collapse, { in: openCollapse[app.routeName], children: /* @__PURE__ */ jsx65(List, { children: app.children.map((child) => /* @__PURE__ */ jsxs38(
3237
+ ListItemButton,
3238
+ {
3239
+ className: classes.nested,
3240
+ disabled: child.disabled,
3241
+ onClick: () => window.location.assign(app.url),
3242
+ title: app.url,
3243
+ children: [
3244
+ /* @__PURE__ */ jsx65(ListItemIcon, { children: /* @__PURE__ */ jsx65(FiberManualRecord, { style: { height: 12 } }) }),
3245
+ /* @__PURE__ */ jsx65(
3246
+ ListItemText,
3247
+ {
3248
+ primary: child.name,
3249
+ slotProps: {
3250
+ primary: { variant: "body2" }
3251
+ }
3252
+ }
3253
+ )
3254
+ ]
3255
+ },
3256
+ child.name
3257
+ )) }) })
3258
+ ] }, `${group.groupName} ${app.name}`))
3259
+ ] }, group.groupName)) })
3260
+ ]
3261
+ }
3262
+ );
3263
+ };
3264
+ var LeftDrawer_default = memo3(LeftDrawer);
3265
+
3266
+ // src/components/TheToolbar/TheToolbar.tsx
3267
+ import { jsx as jsx66, jsxs as jsxs39 } from "react/jsx-runtime";
3268
+ var useStyles14 = makeStyles14()((theme) => ({
3269
+ menuButton: {
3270
+ color: theme.palette.primary.contrastText
3271
+ },
3272
+ searchNatoora: {
3273
+ width: "100%"
3274
+ },
3275
+ searchIcon: {
3276
+ opacity: ".5"
3277
+ },
3278
+ inputRoot: {
3279
+ color: "inherit"
3280
+ },
3281
+ inputInput: {
3282
+ transition: theme.transitions.create("width"),
3283
+ width: "100%"
3284
+ },
3285
+ topBar: {
3286
+ display: "flex",
3287
+ gap: theme.spacing(1),
3288
+ backgroundColor: colors.topBar
3289
+ },
3290
+ drawer: {
3291
+ backgroundColor: "black"
3292
+ },
3293
+ drawerItem: {
3294
+ maxWidth: "300px",
3295
+ width: "80vw"
3296
+ },
3297
+ offset: theme.mixins.toolbar
3298
+ }));
3299
+ var TheToolbar = ({ imageLogoDarkSmall, imageLogoLightSmall }) => {
3300
+ const { classes } = useStyles14();
3301
+ const [open, setOpen] = React58.useState(false);
3302
+ const handleOpen = () => setOpen(true);
3303
+ const handleClose = () => setOpen(false);
3304
+ return /* @__PURE__ */ jsxs39(Box10, { children: [
3305
+ /* @__PURE__ */ jsx66(AppBar2, { children: /* @__PURE__ */ jsxs39(Toolbar2, { className: classes.topBar, children: [
3306
+ /* @__PURE__ */ jsx66(
3307
+ RoundButton_default,
3308
+ {
3309
+ className: classes.menuButton,
3310
+ icon: "menu",
3311
+ noStrokes: true,
3312
+ onClick: handleOpen
3313
+ }
3314
+ ),
3315
+ /* @__PURE__ */ jsx66(
3316
+ CompanyLogo_default,
3317
+ {
3318
+ size: "small",
3319
+ color: "light",
3320
+ imageLogoDarkSmall,
3321
+ imageLogoLightSmall
3322
+ }
3323
+ )
3324
+ ] }) }),
3325
+ /* @__PURE__ */ jsx66(Box10, { className: classes.offset }),
3326
+ /* @__PURE__ */ jsx66(
3327
+ LeftDrawer_default,
3328
+ {
3329
+ open,
3330
+ handleOpen,
3331
+ handleClose
3332
+ }
3333
+ )
3334
+ ] });
3335
+ };
3336
+ var TheToolbar_default = React58.memo(TheToolbar);
3337
+
3338
+ // src/components/DesktopContainer/DesktopContainer.tsx
3339
+ import { jsx as jsx67, jsxs as jsxs40 } from "react/jsx-runtime";
3340
+ var useStyles15 = makeStyles15()((theme) => ({
3341
+ root: {
3342
+ display: "flex",
3343
+ flexDirection: "column",
3344
+ minHeight: "100vh",
3345
+ maxWidth: 1420,
3346
+ padding: 0
3347
+ },
3348
+ content: {
3349
+ height: "100%",
3350
+ flexGrow: 1
3351
+ },
3352
+ [theme.breakpoints.up("xl")]: {
3353
+ root: {
3354
+ maxWidth: 1720
3355
+ }
3356
+ }
3357
+ }));
3358
+ var DesktopContainer = ({
3359
+ imageLogoDarkSmall,
3360
+ imageLogoLightSmall,
3361
+ children
3362
+ }) => {
3363
+ const { classes } = useStyles15();
3364
+ return /* @__PURE__ */ jsxs40(Container, { className: classes.root, maxWidth: "xl", children: [
3365
+ /* @__PURE__ */ jsx67(
3366
+ TheToolbar_default,
3367
+ {
3368
+ imageLogoDarkSmall,
3369
+ imageLogoLightSmall
3370
+ }
3371
+ ),
3372
+ /* @__PURE__ */ jsx67(
3373
+ Box11,
3374
+ {
3375
+ className: classes.content,
3376
+ id: "mainContainer",
3377
+ sx: {
3378
+ display: "flex",
3379
+ flexDirection: "column"
3380
+ },
3381
+ children
3382
+ }
3383
+ )
3384
+ ] });
3385
+ };
3386
+ var DesktopContainer_default = DesktopContainer;
3387
+
3388
+ // src/components/Dialog/TwoButtonDialog.tsx
3389
+ import {
3390
+ Typography as Typography8,
3391
+ Dialog as Dialog3,
3392
+ Backdrop,
3393
+ Box as Box12,
3394
+ Divider,
3395
+ Paper as Paper2
3396
+ } from "@mui/material";
3397
+ import Fade from "@mui/material/Fade";
3398
+ import { makeStyles as makeStyles16 } from "tss-react/mui";
3399
+ import { jsx as jsx68, jsxs as jsxs41 } from "react/jsx-runtime";
3400
+ var useStyles16 = makeStyles16()((theme) => ({
3401
+ paper: {
3402
+ padding: theme.spacing(2)
3403
+ },
3404
+ mt: {
3405
+ marginTop: theme.spacing(2)
3406
+ },
3407
+ mb: {
3408
+ marginBottom: theme.spacing(2)
3409
+ },
3410
+ buttonContainer: {
3411
+ display: "flex",
3412
+ justifyContent: "center",
3413
+ marginTop: theme.spacing(1)
3414
+ }
3415
+ }));
3416
+ var TwoButtonDialog = ({
3417
+ confirmButton,
3418
+ dialogLoading = false,
3419
+ title,
3420
+ subtitle1,
3421
+ subtitle2,
3422
+ open,
3423
+ setOpen
3424
+ }) => {
3425
+ const { classes } = useStyles16();
3426
+ return /* @__PURE__ */ jsx68(
3427
+ Dialog3,
3428
+ {
3429
+ open,
3430
+ disableEnforceFocus: true,
3431
+ maxWidth: "sm",
3432
+ fullWidth: true,
3433
+ closeAfterTransition: true,
3434
+ BackdropComponent: Backdrop,
3435
+ BackdropProps: {
3436
+ timeout: 500
3437
+ },
3438
+ children: /* @__PURE__ */ jsx68(Fade, { in: open, children: /* @__PURE__ */ jsxs41(Paper2, { className: classes.paper, children: [
3439
+ /* @__PURE__ */ jsxs41(Box12, { className: classes.mb, children: [
3440
+ /* @__PURE__ */ jsx68(Typography8, { variant: "h5", component: "div", children: /* @__PURE__ */ jsx68(
3441
+ Box12,
3442
+ {
3443
+ sx: {
3444
+ fontWeight: 600
3445
+ },
3446
+ children: title
3447
+ }
3448
+ ) }),
3449
+ /* @__PURE__ */ jsxs41(
3450
+ Box12,
3451
+ {
3452
+ className: classes.mt,
3453
+ sx: {
3454
+ fontWeight: 600
3455
+ },
3456
+ children: [
3457
+ subtitle1 && /* @__PURE__ */ jsx68(Typography8, { variant: "subtitle1", children: subtitle1 }),
3458
+ subtitle2 && /* @__PURE__ */ jsx68(Typography8, { variant: "subtitle1", children: subtitle2 })
3459
+ ]
3460
+ }
3461
+ )
3462
+ ] }),
3463
+ /* @__PURE__ */ jsx68(Divider, {}),
3464
+ /* @__PURE__ */ jsxs41(Box12, { className: classes.buttonContainer, children: [
3465
+ /* @__PURE__ */ jsx68(FilledButton_default, { copy: "CANCEL", onClick: () => setOpen(false) }),
3466
+ /* @__PURE__ */ jsx68(
3467
+ FilledButton_default,
3468
+ {
3469
+ color: "primary",
3470
+ copy: "CONFIRM",
3471
+ onClick: confirmButton
3472
+ }
3473
+ )
3474
+ ] }),
3475
+ /* @__PURE__ */ jsx68(Loading_default, { isLoading: dialogLoading })
3476
+ ] }) })
3477
+ }
3478
+ );
3479
+ };
3480
+ var TwoButtonDialog_default = TwoButtonDialog;
3481
+
3482
+ // src/components/Pagination/PaginationForTable.tsx
3483
+ import Pagination from "@mui/material/Pagination";
3484
+ import Paper3 from "@mui/material/Paper";
3485
+ import Typography9 from "@mui/material/Typography";
3486
+ import { any as any2, func as func5, object, oneOf as oneOf4, string as string5 } from "prop-types";
3487
+ import { makeStyles as makeStyles17 } from "tss-react/mui";
3488
+ import { jsx as jsx69, jsxs as jsxs42 } from "react/jsx-runtime";
3489
+ var paginationHeight = "56px";
3490
+ var useStyles17 = makeStyles17()((theme) => ({
3491
+ root: {
3492
+ display: "flex",
3493
+ flexDirection: "row",
3494
+ justifyContent: "flex-end",
3495
+ alignItems: "center",
3496
+ borderTop: `1px solid ${colors.grey200}`,
3497
+ backgroundColor: colors.tableRow2,
3498
+ borderRadius: "0 0 4px 4px",
3499
+ width: "100%",
3500
+ height: paginationHeight,
3501
+ "& > *": {
3502
+ margin: theme.spacing(2)
3503
+ },
3504
+ "& .MuiTypography-body1": {
3505
+ fontSize: ".850rem"
3506
+ }
3507
+ },
3508
+ fixed: {
3509
+ position: "fixed",
3510
+ bottom: 0,
3511
+ left: 0
3512
+ },
3513
+ fixedOffset: {
3514
+ height: paginationHeight
3515
+ }
3516
+ }));
3517
+ var PaginationForTable = ({
3518
+ appliedFilters,
3519
+ className,
3520
+ page,
3521
+ pagination,
3522
+ position = "relative",
3523
+ style,
3524
+ updateFilters
3525
+ }) => {
3526
+ const { classes, cx } = useStyles17();
3527
+ const handleChange = (event, value) => {
3528
+ updateFilters({ ...appliedFilters, page: value });
3529
+ };
3530
+ const isFixed = position === "fixed";
3531
+ return /* @__PURE__ */ jsx69(Paper3, { children: /* @__PURE__ */ jsxs42(
3532
+ "div",
3533
+ {
3534
+ style,
3535
+ className: cx(classes.root, className, {
3536
+ [classes.fixed]: isFixed
3537
+ }),
3538
+ children: [
3539
+ /* @__PURE__ */ jsxs42(Typography9, { variant: "body1", children: [
3540
+ "Page: ",
3541
+ page
3542
+ ] }),
3543
+ /* @__PURE__ */ jsx69(
3544
+ Pagination,
3545
+ {
3546
+ count: pagination.num_pages,
3547
+ page,
3548
+ onChange: handleChange
3549
+ }
3550
+ )
3551
+ ]
3552
+ }
3553
+ ) });
3554
+ };
3555
+ PaginationForTable.defaultProps = {
3556
+ className: ""
3557
+ };
3558
+ PaginationForTable.propTypes = {
3559
+ appliedFilters: any2,
3560
+ className: string5,
3561
+ page: any2,
3562
+ pagination: object,
3563
+ position: oneOf4(["relative", "fixed"]),
3564
+ style: any2,
3565
+ updateFilters: func5.isRequired
3566
+ };
3567
+ var PaginationForTable_default = PaginationForTable;
3568
+
3569
+ // src/components/ProductImage/ProductImage.tsx
3570
+ import { CardMedia } from "@mui/material";
3571
+ import { any as any3, string as string6 } from "prop-types";
3572
+ import { withStyles as withStyles2 } from "tss-react/mui";
3573
+ import { jsx as jsx70, jsxs as jsxs43 } from "react/jsx-runtime";
3574
+ var PImage = ({
3575
+ classes,
3576
+ image,
3577
+ size = "c_productbust__image_xs",
3578
+ status
3579
+ }) => /* @__PURE__ */ jsxs43("div", { className: classes.c_productbust__image, children: [
3580
+ /* @__PURE__ */ jsx70(
3581
+ CardMedia,
3582
+ {
3583
+ className: classes[size],
3584
+ image: image || "resources/img/peas.jpg"
3585
+ }
3586
+ ),
3587
+ status && status !== "ACTIVE" && /* @__PURE__ */ jsx70("div", { className: classes.c_productbust__label_status, children: status })
3588
+ ] });
3589
+ var ProductImage = withStyles2(PImage, (theme) => ({
3590
+ c_productbust__label_status: {
3591
+ position: "absolute",
3592
+ color: "white",
3593
+ left: "50%",
3594
+ top: 0,
3595
+ transform: "translateX(-50%)",
3596
+ fontSize: 12,
3597
+ fontWeight: 700,
3598
+ width: "100%",
3599
+ textAlign: "center",
3600
+ padding: "4px 0",
3601
+ backgroundColor: "#A42966",
3602
+ borderRadius: "4px 4px 0 0"
3603
+ },
3604
+ c_productbust__image_sm: {
3605
+ height: 100,
3606
+ width: 132,
3607
+ minWidth: 132,
3608
+ maxWidth: 132,
3609
+ backgroundColor: colors.grey300,
3610
+ borderRadius: theme.spacing(0.5),
3611
+ "& img": {
3612
+ height: 100,
3613
+ width: 132,
3614
+ maxWidth: 132,
3615
+ borderRadius: theme.spacing(0.5)
3616
+ }
3617
+ },
3618
+ c_productbust__image_xs: {
3619
+ height: 84,
3620
+ width: 112,
3621
+ minWidth: 112,
3622
+ maxWidth: 112,
3623
+ backgroundColor: colors.grey300,
3624
+ borderRadius: theme.spacing(0.5),
3625
+ "& img": {
3626
+ height: 84,
3627
+ width: 112,
3628
+ maxWidth: 112,
3629
+ borderRadius: theme.spacing(0.5)
3630
+ }
3631
+ },
3632
+ c_productbust__image_md: {
3633
+ height: 120,
3634
+ width: 160,
3635
+ minWidth: 160,
3636
+ maxWidth: 160,
3637
+ backgroundColor: colors.grey300,
3638
+ borderRadius: theme.spacing(0.5),
3639
+ "& img": {
3640
+ height: 120,
3641
+ width: 160,
3642
+ maxWidth: 160,
3643
+ borderRadius: theme.spacing(0.5)
3644
+ }
3645
+ },
3646
+ c_productbust__image_lg: {
3647
+ height: 140,
3648
+ width: 186,
3649
+ minWidth: 186,
3650
+ maxWidth: 186,
3651
+ backgroundColor: colors.grey300,
3652
+ borderRadius: theme.spacing(0.5),
3653
+ "& img": {
3654
+ height: 140,
3655
+ width: 186,
3656
+ maxWidth: 186,
3657
+ borderRadius: theme.spacing(0.5)
3658
+ }
3659
+ },
3660
+ c_productbust__image: {
3661
+ position: "sticky",
3662
+ left: 0,
3663
+ zIndex: 9
3664
+ }
3665
+ }));
3666
+ PImage.propTypes = {
3667
+ classes: any3,
3668
+ image: string6,
3669
+ size: string6,
3670
+ status: any3
3671
+ };
3672
+ var ProductImage_default = ProductImage;
3673
+
3674
+ // src/components/RenderContentList/RenderContentList.tsx
3675
+ import { useEffect as useEffect2, useState as useState3 } from "react";
3676
+ import {
3677
+ List as List2,
3678
+ ListItemButton as ListItemButton2,
3679
+ ListItemText as ListItemText2,
3680
+ ListSubheader as ListSubheader2
3681
+ } from "@mui/material";
3682
+ import { makeStyles as makeStyles18 } from "tss-react/mui";
3683
+
3684
+ // src/utils/useGetActiveSection.ts
3685
+ import { useEffect, useState as useState2 } from "react";
3686
+ var transformNameToID = (name) => name.replaceAll(" ", "-").toLocaleLowerCase();
3687
+
3688
+ // src/components/RenderContentList/RenderContentList.tsx
3689
+ import { jsx as jsx71 } from "react/jsx-runtime";
3690
+ var useStyles18 = makeStyles18()(
3691
+ (_theme, _params, classes) => ({
3692
+ root: {
3693
+ [`&.${classes.selected}`]: {
3694
+ backgroundColor: colors.transparent.muiPrimary10,
3695
+ "&:hover": {
3696
+ backgroundColor: colors.transparent.muiPrimary20
3697
+ }
3698
+ }
3699
+ },
3700
+ selected: {}
3701
+ })
3702
+ );
3703
+ var RenderContentList = ({ items, activeSection }) => {
3704
+ const { classes } = useStyles18();
3705
+ const [active, setActive] = useState3(activeSection);
3706
+ useEffect2(() => {
3707
+ setActive(activeSection);
3708
+ }, [activeSection]);
3709
+ return /* @__PURE__ */ jsx71(
3710
+ List2,
3711
+ {
3712
+ component: "nav",
3713
+ "aria-labelledby": "nested-list-subheader",
3714
+ subheader: /* @__PURE__ */ jsx71(ListSubheader2, { component: "div", id: "nested-list-subheader", children: "Contents" }),
3715
+ children: items.map((item) => {
3716
+ const id = transformNameToID(item);
3717
+ return /* @__PURE__ */ jsx71(
3718
+ ListItemButton2,
3719
+ {
3720
+ component: "a",
3721
+ href: `#${id}`,
3722
+ onClick: () => setActive(item),
3723
+ selected: active === item,
3724
+ classes: { root: classes.root },
3725
+ children: /* @__PURE__ */ jsx71(ListItemText2, { primary: item })
3726
+ },
3727
+ id
3728
+ );
3729
+ })
3730
+ }
3731
+ );
3732
+ };
3733
+ var RenderContentList_default = RenderContentList;
3734
+
3735
+ // src/components/RowProductCard/RowProductCard.tsx
3736
+ import { Box as Box13, Divider as Divider2, Paper as Paper4, Typography as Typography10 } from "@mui/material";
3737
+ import { makeStyles as makeStyles19 } from "tss-react/mui";
3738
+ import { arrayOf, node as node3, oneOf as oneOf5, oneOfType as oneOfType2, shape as shape2, string as string7 } from "prop-types";
3739
+ import { Fragment as Fragment3, jsx as jsx72, jsxs as jsxs44 } from "react/jsx-runtime";
3740
+ var useStyles19 = makeStyles19()((theme) => ({
3741
+ wrapper: {
3742
+ display: "flex",
3743
+ gap: theme.spacing(2),
3744
+ padding: theme.spacing(1)
3745
+ },
3746
+ divider: {
3747
+ margin: theme.spacing(1, 0)
3748
+ },
3749
+ smallTitle: {
3750
+ color: colors.rowProductCard.locationSubtitle,
3751
+ whiteSpace: "nowrap"
3752
+ },
3753
+ upperRow: {
3754
+ width: "100%"
3755
+ },
3756
+ content: {
3757
+ width: "100%"
3758
+ },
3759
+ onlyProductName: {
3760
+ display: "flex",
3761
+ alignItems: "center"
3762
+ }
3763
+ }));
3764
+ var RowProductCard = ({ children, columns, location, product, size }) => {
3765
+ const { classes, cx } = useStyles19();
3766
+ const hasColumns = columns.length >= 1;
3767
+ const imageSize = {
3768
+ small: "c_productbust__image_sm",
3769
+ medium: "c_productbust__image_md",
3770
+ large: "c_productbust__image_lg"
3771
+ };
3772
+ return /* @__PURE__ */ jsxs44(Paper4, { className: classes.wrapper, children: [
3773
+ /* @__PURE__ */ jsx72(
3774
+ ProductImage_default,
3775
+ {
3776
+ image: product.image,
3777
+ status: product.status,
3778
+ size: imageSize[size]
3779
+ }
3780
+ ),
3781
+ /* @__PURE__ */ jsxs44(
3782
+ "div",
3783
+ {
3784
+ className: cx(classes.content, {
3785
+ [classes.onlyProductName]: !hasColumns && !location
3786
+ }),
3787
+ children: [
3788
+ /* @__PURE__ */ jsxs44(
3789
+ Box13,
3790
+ {
3791
+ className: classes.upperRow,
3792
+ sx: {
3793
+ display: "flex",
3794
+ justifyContent: "space-between",
3795
+ alignItems: "center"
3796
+ },
3797
+ children: [
3798
+ /* @__PURE__ */ jsxs44("div", { children: [
3799
+ location ? /* @__PURE__ */ jsx72(Typography10, { className: classes.smallTitle, variant: "caption", children: `Location: ${location}` }) : null,
3800
+ /* @__PURE__ */ jsx72(Typography10, { variant: "h6", children: product.name })
3801
+ ] }),
3802
+ children
3803
+ ]
3804
+ }
3805
+ ),
3806
+ hasColumns ? /* @__PURE__ */ jsxs44(Fragment3, { children: [
3807
+ /* @__PURE__ */ jsx72(Divider2, { className: classes.divider }),
3808
+ /* @__PURE__ */ jsx72(
3809
+ Box13,
3810
+ {
3811
+ sx: {
3812
+ display: "flex",
3813
+ gap: "24px"
3814
+ },
3815
+ children: columns.map((column) => /* @__PURE__ */ jsxs44("div", { children: [
3816
+ /* @__PURE__ */ jsx72(Typography10, { className: classes.smallTitle, variant: "caption", children: column.title }),
3817
+ typeof column.value === "string" ? /* @__PURE__ */ jsx72(Typography10, { variant: "body1", children: column.value }) : column.value
3818
+ ] }, column.title))
3819
+ }
3820
+ )
3821
+ ] }) : null
3822
+ ]
3823
+ }
3824
+ )
3825
+ ] });
3826
+ };
3827
+ RowProductCard.defaultProps = {
3828
+ children: null,
3829
+ columns: [],
3830
+ location: "",
3831
+ size: "medium"
3832
+ };
3833
+ RowProductCard.propTypes = {
3834
+ /**
3835
+ * Possible actions or buttons that the card can have
3836
+ */
3837
+ children: node3,
3838
+ /**
3839
+ * Details about the product
3840
+ */
3841
+ columns: arrayOf(
3842
+ shape2({
3843
+ title: string7,
3844
+ value: oneOfType2([string7, node3])
3845
+ })
3846
+ ),
3847
+ /**
3848
+ * Where is the product location
3849
+ */
3850
+ location: string7,
3851
+ /**
3852
+ * Product information
3853
+ */
3854
+ product: shape2({
3855
+ image: string7.isRequired,
3856
+ name: string7.isRequired,
3857
+ status: string7
3858
+ }).isRequired,
3859
+ size: oneOf5(["small", "medium", "large"])
3860
+ };
3861
+ var RowProductCard_default = RowProductCard;
3862
+
3863
+ // src/components/SearchAndFilterHeader/SearchAndFilterHeaderForTable.tsx
3864
+ import React61 from "react";
3865
+ import Box15 from "@mui/material/Box";
3866
+ import PropTypes6 from "prop-types";
3867
+ import { makeStyles as makeStyles21 } from "tss-react/mui";
3868
+
3869
+ // src/components/SearchWithFilters/SearchWithFiltersForTable.tsx
3870
+ import React60 from "react";
3871
+ import ArrowDropDownIcon from "@mui/icons-material/ArrowDropDown";
3872
+ import ArrowDropUpIcon from "@mui/icons-material/ArrowDropUp";
3873
+ import SearchIcon from "@mui/icons-material/Search";
3874
+ import { Box as Box14, Button as Button8, Divider as Divider3, InputBase, Paper as Paper5 } from "@mui/material";
3875
+ import PropTypes5 from "prop-types";
3876
+ import { makeStyles as makeStyles20 } from "tss-react/mui";
3877
+ import { Fragment as Fragment4, jsx as jsx73, jsxs as jsxs45 } from "react/jsx-runtime";
3878
+ var useStyles20 = makeStyles20()((theme) => ({
3879
+ c_search: {
3880
+ height: 46,
3881
+ padding: "4px",
3882
+ display: "flex",
3883
+ alignItems: "center",
3884
+ width: 400,
3885
+ boxShadow: "none",
3886
+ border: "1px solid",
3887
+ borderColor: colors.grey300,
3888
+ margin: "8px 16px",
3889
+ "&:hover": {
3890
+ boxShadow: "0 1px 6px 0 rgba(32,33,36,0.28)"
3891
+ },
3892
+ "&:focus": {
3893
+ boxShadow: "0 1px 6px 0 rgba(32,33,36,0.28)"
3894
+ },
3895
+ "&:active": {
3896
+ boxShadow: "0 1px 6px 0 rgba(32,33,36,0.28)"
3897
+ }
3898
+ },
3899
+ c_search__input: {
3900
+ marginLeft: theme.spacing(1),
3901
+ flex: 1
3902
+ },
3903
+ c_search__icon: {
3904
+ padding: "4px 8px",
3905
+ opacity: 0.5,
3906
+ alignContent: "center",
3907
+ display: "flex"
3908
+ },
3909
+ c_search__bt_icon_filter: {
3910
+ padding: 0,
3911
+ marginLeft: 8
3912
+ },
3913
+ c_search__bt_filter: {
3914
+ textTransform: "capitalize",
3915
+ "&:hover": {
3916
+ background: "none"
3917
+ }
3918
+ },
3919
+ c_search__divider: {
3920
+ height: 28,
3921
+ margin: 4
3922
+ },
3923
+ icon: {
3924
+ fill: colors.iconSearch
3925
+ }
3926
+ }));
3927
+ var SearchWithFiltersForTable = (props) => {
3928
+ const {
3929
+ onFilterButtonClick,
3930
+ isOpen,
3931
+ updateSearch,
3932
+ showFilterButton,
3933
+ enterPressedInSearch,
3934
+ searchedValue
3935
+ } = props;
3936
+ const { classes } = useStyles20();
3937
+ const [searchText, setSearchText] = React60.useState("");
3938
+ const handleTextChange = (e) => {
3939
+ const { value } = e.target;
3940
+ setSearchText(value);
3941
+ updateSearch(value);
3942
+ };
3943
+ const handleFilterButtonClick = () => {
3944
+ onFilterButtonClick(!isOpen);
3945
+ };
3946
+ const handleKeyPress = (e) => {
3947
+ if (e.key === "Enter" && typeof enterPressedInSearch === "function") {
3948
+ enterPressedInSearch();
3949
+ }
3950
+ };
3951
+ const ArrowIcon = isOpen ? ArrowDropUpIcon : ArrowDropDownIcon;
3952
+ return /* @__PURE__ */ jsxs45(Paper5, { className: classes.c_search, children: [
3953
+ /* @__PURE__ */ jsx73(Box14, { className: classes.c_search__icon, children: /* @__PURE__ */ jsx73(SearchIcon, { className: classes.icon, fontSize: "small" }) }),
3954
+ /* @__PURE__ */ jsx73(
3955
+ InputBase,
3956
+ {
3957
+ className: classes.c_search__input,
3958
+ placeholder: "Search",
3959
+ value: searchedValue || searchText,
3960
+ onChange: handleTextChange,
3961
+ onKeyDown: handleKeyPress
3962
+ }
3963
+ ),
3964
+ showFilterButton && /* @__PURE__ */ jsxs45(Fragment4, { children: [
3965
+ /* @__PURE__ */ jsx73(
3966
+ Divider3,
3967
+ {
3968
+ className: classes.c_search__divider,
3969
+ orientation: "vertical"
3970
+ }
3971
+ ),
3972
+ /* @__PURE__ */ jsxs45(
3973
+ Button8,
3974
+ {
3975
+ className: classes.c_search__bt_filter,
3976
+ onClick: handleFilterButtonClick,
3977
+ children: [
3978
+ "Filters",
3979
+ /* @__PURE__ */ jsx73(ArrowIcon, { className: classes.c_search__bt_icon_filter })
3980
+ ]
3981
+ }
3982
+ )
3983
+ ] })
3984
+ ] });
3985
+ };
3986
+ SearchWithFiltersForTable.propTypes = {
3987
+ onFilterButtonClick: PropTypes5.func,
3988
+ isOpen: PropTypes5.bool,
3989
+ updateSearch: PropTypes5.func,
3990
+ enterPressedInSearch: PropTypes5.func,
3991
+ showFilterButton: PropTypes5.bool,
3992
+ searchedValue: PropTypes5.string
3993
+ };
3994
+ var SearchWithFiltersForTable_default = React60.memo(SearchWithFiltersForTable);
3995
+
3996
+ // src/components/SearchAndFilterHeader/SearchAndFilterHeaderForTable.tsx
3997
+ import { jsx as jsx74, jsxs as jsxs46 } from "react/jsx-runtime";
3998
+ var useStyles21 = makeStyles21()((theme) => ({
3999
+ container: {
4000
+ display: "flex",
4001
+ alignItems: "center",
4002
+ alignContent: "baseline",
4003
+ flexDirection: "row",
4004
+ padding: theme.spacing(1),
4005
+ justifyContent: "space-between",
4006
+ [theme.breakpoints.down(WIDTH_TO_SHRINK)]: {
4007
+ flexDirection: "column",
4008
+ justifyContent: "start",
4009
+ alignItems: "flex-start"
4010
+ }
4011
+ },
4012
+ leftSection: {
4013
+ display: "flex"
4014
+ }
4015
+ }));
4016
+ var SearchAndFilterHeaderForTable = (props) => {
4017
+ const {
4018
+ appName,
4019
+ copy,
4020
+ updateSearch,
4021
+ isOpen,
4022
+ onFilterButtonClick,
4023
+ showFilterButton,
4024
+ enterPressedInSearch,
4025
+ button,
4026
+ searchedValue
4027
+ } = props;
4028
+ const { classes } = useStyles21();
4029
+ return /* @__PURE__ */ jsxs46(Box15, { className: classes.container, children: [
4030
+ /* @__PURE__ */ jsxs46(Box15, { className: classes.leftSection, children: [
4031
+ /* @__PURE__ */ jsx74(AppLabel_default, { appName }),
4032
+ /* @__PURE__ */ jsx74(
4033
+ SearchWithFiltersForTable_default,
4034
+ {
4035
+ onFilterButtonClick,
4036
+ isOpen,
4037
+ updateSearch,
4038
+ showFilterButton,
4039
+ enterPressedInSearch,
4040
+ searchedValue
4041
+ }
4042
+ ),
4043
+ copy && /* @__PURE__ */ jsx74(
4044
+ Box15,
4045
+ {
4046
+ sx: {
4047
+ margin: 0.5
4048
+ },
4049
+ children: /* @__PURE__ */ jsx74(OutlinedButton_default, { copy })
4050
+ }
4051
+ )
4052
+ ] }),
4053
+ /* @__PURE__ */ jsx74(Box15, { children: button })
4054
+ ] });
4055
+ };
4056
+ SearchAndFilterHeaderForTable.propTypes = {
4057
+ appName: PropTypes6.string,
4058
+ button: PropTypes6.node,
4059
+ copy: PropTypes6.string,
4060
+ enterPressedInSearch: PropTypes6.func,
4061
+ isOpen: PropTypes6.bool,
4062
+ onFilterButtonClick: PropTypes6.func,
4063
+ searchedValue: PropTypes6.string,
4064
+ showFilterButton: PropTypes6.bool,
4065
+ updateSearch: PropTypes6.func
4066
+ };
4067
+ var SearchAndFilterHeaderForTable_default = React61.memo(SearchAndFilterHeaderForTable);
4068
+
4069
+ // src/components/SearchWithFilters/SearchWithFilters.tsx
4070
+ import React62, { useState as useState4, useEffect as useEffect3 } from "react";
4071
+ import ArrowDropDownIcon2 from "@mui/icons-material/ArrowDropDown";
4072
+ import ArrowDropUpIcon2 from "@mui/icons-material/ArrowDropUp";
4073
+ import SearchIcon2 from "@mui/icons-material/Search";
4074
+ import { Button as Button9, Divider as Divider4, InputBase as InputBase2, Paper as Paper6 } from "@mui/material";
4075
+ import { makeStyles as makeStyles22 } from "tss-react/mui";
4076
+ import { jsx as jsx75, jsxs as jsxs47 } from "react/jsx-runtime";
4077
+ var useStyles22 = makeStyles22()((theme) => ({
4078
+ searchContainer: {
4079
+ height: 46,
4080
+ padding: "4px",
4081
+ display: "flex",
4082
+ alignItems: "center",
4083
+ width: 400,
4084
+ border: `1px solid ${colors.grey300}`,
4085
+ boxShadow: "none",
4086
+ "&:hover, &:focus, &:active": {
4087
+ boxShadow: "0 1px 6px rgba(32,33,36,0.28)"
4088
+ }
4089
+ },
4090
+ input: {
4091
+ marginLeft: theme.spacing(1),
4092
+ flex: 1
4093
+ },
4094
+ icon: {
4095
+ margin: "4px 8px",
4096
+ opacity: 0.5
4097
+ },
4098
+ filterButton: {
4099
+ textTransform: "capitalize",
4100
+ padding: 0,
4101
+ marginLeft: 8,
4102
+ "&:hover": {
4103
+ background: "none"
4104
+ }
4105
+ },
4106
+ divider: {
4107
+ height: 28,
4108
+ margin: 4
4109
+ }
4110
+ }));
4111
+ var SearchWithFilters = ({
4112
+ enterPressedInSearch,
4113
+ filterClick,
4114
+ handleClick,
4115
+ searchValue = "",
4116
+ showFilters,
4117
+ updateFilters = () => {
4118
+ },
4119
+ disabled = false
4120
+ }) => {
4121
+ const [searchText, setSearchText] = useState4(searchValue);
4122
+ const { classes } = useStyles22();
4123
+ const handleTextChange = (e) => {
4124
+ const { value } = e.target;
4125
+ setSearchText(value);
4126
+ updateFilters({ search: value });
4127
+ };
4128
+ const handleKeyDown = (e) => {
4129
+ if (e.key === "Enter") {
4130
+ enterPressedInSearch?.();
4131
+ }
4132
+ };
4133
+ useEffect3(() => {
4134
+ setSearchText(searchValue);
4135
+ }, [searchValue]);
4136
+ return /* @__PURE__ */ jsxs47(Paper6, { className: classes.searchContainer, children: [
4137
+ /* @__PURE__ */ jsx75(SearchIcon2, { className: classes.icon, fontSize: "small" }),
4138
+ /* @__PURE__ */ jsx75(
4139
+ InputBase2,
4140
+ {
4141
+ className: classes.input,
4142
+ placeholder: "Search",
4143
+ value: searchText,
4144
+ onChange: handleTextChange,
4145
+ onClick: handleClick,
4146
+ onKeyDown: handleKeyDown,
4147
+ inputProps: { "aria-label": "search" }
4148
+ }
4149
+ ),
4150
+ /* @__PURE__ */ jsx75(Divider4, { className: classes.divider, orientation: "vertical" }),
4151
+ /* @__PURE__ */ jsxs47(
4152
+ Button9,
4153
+ {
4154
+ className: classes.filterButton,
4155
+ onClick: filterClick,
4156
+ disabled,
4157
+ children: [
4158
+ "Filters",
4159
+ showFilters ? /* @__PURE__ */ jsx75(ArrowDropUpIcon2, {}) : /* @__PURE__ */ jsx75(ArrowDropDownIcon2, {})
4160
+ ]
4161
+ }
4162
+ )
4163
+ ] });
4164
+ };
4165
+ var SearchWithFilters_default = React62.memo(SearchWithFilters);
4166
+
4167
+ // src/components/SectionName/SectionName.tsx
4168
+ import InfoIcon from "@mui/icons-material/Info";
4169
+ import { Box as Box16, Tooltip as Tooltip3, Typography as Typography11 } from "@mui/material";
4170
+ import { makeStyles as makeStyles23 } from "tss-react/mui";
4171
+ import { jsx as jsx76, jsxs as jsxs48 } from "react/jsx-runtime";
4172
+ var useStyles23 = makeStyles23()(() => ({
4173
+ container: {
4174
+ display: "flex",
4175
+ alignItems: "flex-end",
4176
+ justifyContent: "space-between"
4177
+ },
4178
+ titleContainer: {
4179
+ display: "flex",
4180
+ padding: "48px 0px 8px 0px",
4181
+ gap: "8px",
4182
+ alignItems: "center",
4183
+ alignSelf: "stretch"
4184
+ },
4185
+ icon: {
4186
+ color: colors.grey400
4187
+ },
4188
+ typography: {
4189
+ cursor: "pointer",
4190
+ textDecoration: "none",
4191
+ color: colors.muiPrimaryBlack
4192
+ },
4193
+ resetButton: {
4194
+ color: colors.muiPrimary,
4195
+ marginBottom: 8
4196
+ }
4197
+ }));
4198
+ var SectionName = ({
4199
+ name,
4200
+ tooltipDescription,
4201
+ sectionId,
4202
+ handleButtonClick,
4203
+ buttonText,
4204
+ buttonDisabled
4205
+ }) => {
4206
+ const { classes } = useStyles23();
4207
+ return /* @__PURE__ */ jsxs48(Box16, { className: classes.container, children: [
4208
+ /* @__PURE__ */ jsxs48(Box16, { className: classes.titleContainer, children: [
4209
+ /* @__PURE__ */ jsx76(
4210
+ Typography11,
4211
+ {
4212
+ variant: "h5",
4213
+ component: "a",
4214
+ href: sectionId,
4215
+ className: classes.typography,
4216
+ children: name
4217
+ }
4218
+ ),
4219
+ tooltipDescription ? /* @__PURE__ */ jsx76(Tooltip3, { title: tooltipDescription, placement: "right", children: /* @__PURE__ */ jsx76(
4220
+ InfoIcon,
4221
+ {
4222
+ fontSize: "small",
4223
+ "data-testid": "InfoIcon",
4224
+ className: classes.icon
4225
+ }
4226
+ ) }) : null
4227
+ ] }),
4228
+ buttonText ? /* @__PURE__ */ jsx76(
4229
+ ExtendedButton_default,
4230
+ {
4231
+ type: "add",
4232
+ buttonType: "button",
4233
+ color: "inherit",
4234
+ copy: buttonText || "",
4235
+ disabled: buttonDisabled,
4236
+ onClick: handleButtonClick,
4237
+ variant: "text",
4238
+ className: classes.resetButton
4239
+ }
4240
+ ) : null
4241
+ ] });
4242
+ };
4243
+ var SectionName_default = SectionName;
4244
+
4245
+ // src/components/Shift/Shift.tsx
4246
+ import { Box as Box17, Typography as Typography12 } from "@mui/material";
4247
+ import { oneOf as oneOf6 } from "prop-types";
4248
+ import { makeStyles as makeStyles24 } from "tss-react/mui";
4249
+
4250
+ // src/resources/icons/DayIcon.js
4251
+ import React63 from "react";
4252
+ import { jsx as jsx77 } from "react/jsx-runtime";
4253
+ var DayIcon = (props) => /* @__PURE__ */ jsx77(
4254
+ "svg",
4255
+ {
4256
+ fill: "none",
4257
+ height: 22,
4258
+ viewBox: "0 0 22 22",
4259
+ width: 22,
4260
+ xmlns: "http://www.w3.org/2000/svg",
4261
+ ...props,
4262
+ children: /* @__PURE__ */ jsx77(
4263
+ "path",
4264
+ {
4265
+ d: "M2.55 18.09L3.96 19.5L5.76 17.71L4.34 16.29M11 5C7.69 5 5 7.69 5 11C5 14.31 7.69 17 11 17C14.31 17 17 14.31 17 11C17 7.68 14.31 5 11 5ZM19 12H22V10H19M16.24 17.71L18.04 19.5L19.45 18.09L17.66 16.29M19.45 4L18.04 2.6L16.24 4.39L17.66 5.81M12 0H10V3H12M5.76 4.39L3.96 2.6L2.55 4L4.34 5.81L5.76 4.39ZM0 12H3V10H0M12 19H10V22H12",
4266
+ fill: "#F2C53D"
4267
+ }
4268
+ )
4269
+ }
4270
+ );
4271
+ var DayIcon_default = DayIcon;
4272
+
4273
+ // src/resources/icons/NightIcon.js
4274
+ import React64 from "react";
4275
+ import { jsx as jsx78 } from "react/jsx-runtime";
4276
+ var NightIcon = (props) => /* @__PURE__ */ jsx78(
4277
+ "svg",
4278
+ {
4279
+ fill: "none",
4280
+ height: "20",
4281
+ viewBox: "0 0 14 20",
4282
+ width: "14",
4283
+ xmlns: "http://www.w3.org/2000/svg",
4284
+ ...props,
4285
+ children: /* @__PURE__ */ jsx78(
4286
+ "path",
4287
+ {
4288
+ d: "M0.92627 9.99963C0.926174 11.5698 1.29582 13.1179 2.00528 14.5186C2.71474 15.9194 3.74407 17.1334 5.00994 18.0623C6.27582 18.9913 7.74265 19.6091 9.29169 19.8657C10.8407 20.1224 12.4284 20.0107 13.9263 19.5396C11.8959 18.9016 10.122 17.6323 8.86268 15.9165C7.60338 14.2008 6.92434 12.1279 6.92434 9.99963C6.92434 7.87132 7.60338 5.79851 8.86268 4.08274C10.122 2.36696 11.8959 1.09772 13.9263 0.459633C12.4284 -0.0114145 10.8407 -0.123133 9.29169 0.133521C7.74265 0.390176 6.27582 1.00799 5.00994 1.93695C3.74407 2.8659 2.71474 4.07989 2.00528 5.48063C1.29582 6.88136 0.926174 8.42948 0.92627 9.99963Z",
4289
+ fill: "#346C8E"
4290
+ }
4291
+ )
4292
+ }
4293
+ );
4294
+ var NightIcon_default = NightIcon;
4295
+
4296
+ // src/components/Shift/Shift.tsx
4297
+ import { jsx as jsx79, jsxs as jsxs49 } from "react/jsx-runtime";
4298
+ var ShiftEnum = {
4299
+ DAY: "Day",
4300
+ NIGHT: "Night"
4301
+ };
4302
+ var useStyles24 = makeStyles24()(() => ({
4303
+ shiftName: {
4304
+ textTransform: "uppercase",
4305
+ fontWeight: 600
4306
+ }
4307
+ }));
4308
+ var Shift = ({ shift }) => {
4309
+ const shiftIcon = {
4310
+ [ShiftEnum.DAY]: /* @__PURE__ */ jsx79(DayIcon_default, { "data-testid": "shift-day" }),
4311
+ [ShiftEnum.NIGHT]: /* @__PURE__ */ jsx79(NightIcon_default, { "data-testid": "shift-night" })
4312
+ };
4313
+ const { classes } = useStyles24();
4314
+ return /* @__PURE__ */ jsxs49(
4315
+ Box17,
4316
+ {
4317
+ sx: {
4318
+ display: "flex",
4319
+ alignItems: "center",
4320
+ gap: "16px"
4321
+ },
4322
+ children: [
4323
+ shiftIcon[shift],
4324
+ /* @__PURE__ */ jsxs49(Typography12, { children: [
4325
+ /* @__PURE__ */ jsxs49("span", { className: classes.shiftName, children: [
4326
+ shift,
4327
+ " "
4328
+ ] }),
4329
+ /* @__PURE__ */ jsx79("span", { children: "Shift" })
4330
+ ] })
4331
+ ]
4332
+ }
4333
+ );
4334
+ };
4335
+ Shift.propTypes = {
4336
+ shift: oneOf6(Object.values(ShiftEnum))
4337
+ };
4338
+ var Shift_default = Shift;
4339
+
4340
+ // src/components/surfaces/FixedFooter/index.js
4341
+ import React65 from "react";
4342
+ import { Box as Box18 } from "@mui/material";
4343
+ import PropTypes7 from "prop-types";
4344
+ import { makeStyles as makeStyles25 } from "tss-react/mui";
4345
+ import { jsx as jsx80, jsxs as jsxs50 } from "react/jsx-runtime";
4346
+ var footerHeight = "64px";
4347
+ var useStyles25 = makeStyles25()((theme) => ({
4348
+ root: {
4349
+ position: "fixed",
4350
+ bottom: 0,
4351
+ left: 0,
4352
+ display: "flex",
4353
+ alignItems: "center",
4354
+ backgroundColor: colors.background,
4355
+ borderTop: `1px solid ${colors.grey300}`,
4356
+ width: "100%",
4357
+ height: footerHeight,
4358
+ padding: theme.spacing(0, 2)
4359
+ },
4360
+ fixedOffset: {
4361
+ height: footerHeight
4362
+ }
4363
+ }));
4364
+ var FixedFooter = ({ justifyContent, children }) => {
4365
+ const { classes } = useStyles25();
4366
+ return /* @__PURE__ */ jsxs50(Box18, { children: [
4367
+ /* @__PURE__ */ jsx80(Box18, { className: classes.fixedOffset }),
4368
+ /* @__PURE__ */ jsx80(
4369
+ Box18,
4370
+ {
4371
+ className: classes.root,
4372
+ sx: {
4373
+ justifyContent
4374
+ },
4375
+ children
4376
+ }
4377
+ )
4378
+ ] });
4379
+ };
4380
+ FixedFooter.propTypes = {
4381
+ children: PropTypes7.node.isRequired,
4382
+ justifyContent: PropTypes7.string
4383
+ };
4384
+ var FixedFooter_default = React65.memo(FixedFooter);
4385
+
4386
+ // src/components/Table/SmartTableHeader.js
4387
+ import React66 from "react";
4388
+ import TableCell from "@mui/material/TableCell";
4389
+ import TableHead from "@mui/material/TableHead";
4390
+ import TableRow from "@mui/material/TableRow";
4391
+ import TableSortLabel from "@mui/material/TableSortLabel";
4392
+ import PropTypes8 from "prop-types";
4393
+ import { makeStyles as makeStyles26 } from "tss-react/mui";
4394
+ import { jsx as jsx81, jsxs as jsxs51 } from "react/jsx-runtime";
4395
+ var useStyles26 = makeStyles26()(() => ({
4396
+ root: {
4397
+ backgroundColor: colors.background,
4398
+ "& .MuiTableSortLabel-root": {
4399
+ fontWeight: 600,
4400
+ fontSize: ".875rem"
4401
+ }
4402
+ },
4403
+ visuallyHidden: {
4404
+ border: 0,
4405
+ clip: "rect(0 0 0 0)",
4406
+ height: 1,
4407
+ margin: -1,
4408
+ overflow: "hidden",
4409
+ padding: 0,
4410
+ position: "absolute",
4411
+ top: 20,
4412
+ width: 1
4413
+ },
4414
+ containerTh: {
4415
+ borderBottom: "1px solid",
4416
+ borderBottomColor: colors.brightGray,
4417
+ backgroundColor: colors.background,
4418
+ outline: "1px solid",
4419
+ outlineColor: colors.background
4420
+ }
4421
+ }));
4422
+ var SmartTableHeader = (props) => {
4423
+ const { classes } = useStyles26();
4424
+ const { order, orderBy, onRequestSort } = props;
4425
+ const createSortHandler = (property) => (event) => {
4426
+ onRequestSort(event, property);
4427
+ };
4428
+ return /* @__PURE__ */ jsx81(TableHead, { className: classes.root, children: /* @__PURE__ */ jsx81(TableRow, { children: props.headCells.map((headCell) => /* @__PURE__ */ jsx81(
4429
+ TableCell,
4430
+ {
4431
+ className: classes.containerTh,
4432
+ align: "left",
4433
+ sortDirection: orderBy === headCell.id ? order : false,
4434
+ children: /* @__PURE__ */ jsxs51(
4435
+ TableSortLabel,
4436
+ {
4437
+ active: orderBy === headCell.id,
4438
+ direction: orderBy === headCell.id ? order : "asc",
4439
+ onClick: createSortHandler(headCell.id),
4440
+ children: [
4441
+ headCell.label,
4442
+ orderBy === headCell.id ? /* @__PURE__ */ jsx81("span", { className: classes.visuallyHidden, children: order === "desc" ? "sorted descending" : "sorted ascending" }) : null
4443
+ ]
4444
+ }
4445
+ )
4446
+ },
4447
+ headCell.id
4448
+ )) }) });
4449
+ };
4450
+ SmartTableHeader.propTypes = {
4451
+ order: PropTypes8.string,
4452
+ orderBy: PropTypes8.string,
4453
+ onRequestSort: PropTypes8.func,
4454
+ headCells: PropTypes8.any
4455
+ };
4456
+ var SmartTableHeader_default = React66.memo(SmartTableHeader);
4457
+
4458
+ // src/components/Table/TableDesktop.tsx
4459
+ import { useState as useState5 } from "react";
4460
+ import {
4461
+ Paper as Paper7,
4462
+ Table,
4463
+ TableBody,
4464
+ TableContainer,
4465
+ Skeleton
4466
+ } from "@mui/material";
4467
+ import { makeStyles as makeStyles28 } from "tss-react/mui";
4468
+
4469
+ // src/components/Table/TableEmptyResult.tsx
4470
+ import { TableCell as TableCell2, TableRow as TableRow2, Typography as Typography13 } from "@mui/material";
4471
+ import { makeStyles as makeStyles27 } from "tss-react/mui";
4472
+ import { jsx as jsx82, jsxs as jsxs52 } from "react/jsx-runtime";
4473
+ var useStyles27 = makeStyles27()(() => ({
4474
+ tableCellIcon: { padding: 24, height: "calc(100vh - 320px)" },
4475
+ tableCellDefault: { padding: 24 }
4476
+ }));
4477
+ var TableEmptyResult = ({
4478
+ showClearFilterButton = false,
4479
+ handleClickOnClearFiltersButton = () => {
4480
+ }
4481
+ }) => {
4482
+ const { classes } = useStyles27();
4483
+ return showClearFilterButton ? /* @__PURE__ */ jsx82(TableRow2, { children: /* @__PURE__ */ jsxs52(TableCell2, { className: classes.tableCellIcon, colSpan: 8, align: "center", children: [
4484
+ /* @__PURE__ */ jsx82(EmptyGlassIcon_default, {}),
4485
+ /* @__PURE__ */ jsx82(Typography13, { variant: "h6", children: "No results found." }),
4486
+ /* @__PURE__ */ jsx82(Typography13, { variant: "subtitle1", children: "Search without applied filters?" }),
4487
+ /* @__PURE__ */ jsx82(
4488
+ FilledButton_default,
4489
+ {
4490
+ copy: "Search",
4491
+ variant: "contained",
4492
+ color: "primary",
4493
+ onClick: handleClickOnClearFiltersButton
4494
+ }
4495
+ )
4496
+ ] }) }) : /* @__PURE__ */ jsx82(TableRow2, { children: /* @__PURE__ */ jsx82(
4497
+ TableCell2,
4498
+ {
4499
+ className: classes.tableCellDefault,
4500
+ colSpan: 8,
4501
+ align: "center",
4502
+ children: "Nothing to display"
4503
+ }
4504
+ ) });
4505
+ };
4506
+ var TableEmptyResult_default = TableEmptyResult;
4507
+
4508
+ // src/components/Table/TableDesktop.tsx
4509
+ import { Fragment as Fragment5, jsx as jsx83, jsxs as jsxs53 } from "react/jsx-runtime";
4510
+ var useStyles28 = makeStyles28()(() => ({
4511
+ root: {
4512
+ justifyContent: "space-between",
4513
+ display: "flex",
4514
+ justifyItems: "stretch"
4515
+ },
4516
+ paper: {
4517
+ width: "100%",
4518
+ display: "flex",
4519
+ flexDirection: "column",
4520
+ justifyContent: "space-between"
4521
+ },
4522
+ container: {
4523
+ maxHeight: "100%"
4524
+ }
4525
+ }));
4526
+ var desc = (a, b, orderBy) => {
4527
+ if (b[orderBy] < a[orderBy]) {
4528
+ return -1;
4529
+ }
4530
+ if (b[orderBy] > a[orderBy]) {
4531
+ return 1;
4532
+ }
4533
+ return 0;
4534
+ };
4535
+ var stableSort = (array, cmp) => array.map((el, index) => [el, index]).sort((a, b) => {
4536
+ const order = cmp(a[0], b[0]);
4537
+ return order !== 0 ? order : a[1] - b[1];
4538
+ }).map((el) => el[0]);
4539
+ var getSorting = (order, orderBy) => order === "desc" ? (a, b) => desc(a, b, orderBy) : (a, b) => -desc(a, b, orderBy);
4540
+ var TableDesktop = ({
4541
+ appliedFilters,
4542
+ children,
4543
+ data,
4544
+ headCells,
4545
+ height,
4546
+ isLoading,
4547
+ RenderItem,
4548
+ rowsPerPage,
4549
+ updateSort,
4550
+ showClearFilterButton,
4551
+ handleClickOnClearFiltersButton,
4552
+ deleteItem,
4553
+ keyField
4554
+ }) => {
4555
+ const [order, setOrder] = useState5(
4556
+ appliedFilters?.sortDir || "desc"
4557
+ );
4558
+ const [orderBy, setOrderBy] = useState5(
4559
+ appliedFilters?.sortField || "delivery_date"
4560
+ );
4561
+ const [page] = useState5(0);
4562
+ const { classes } = useStyles28();
4563
+ const rowHeight = 56;
4564
+ const handleRequestSort = (event, property) => {
4565
+ const isAsc = orderBy === property && order === "asc";
4566
+ const orderDir = isAsc ? "desc" : "asc";
4567
+ setOrder(orderDir);
4568
+ setOrderBy(property);
4569
+ updateSort(property, orderDir);
4570
+ };
4571
+ const emptyRows = rowsPerPage - data.length;
4572
+ return /* @__PURE__ */ jsx83("div", { className: classes.root, style: { height }, children: /* @__PURE__ */ jsx83(Paper7, { className: classes.paper, children: isLoading ? /* @__PURE__ */ jsx83("div", { children: [...Array(Math.floor(rowsPerPage))].map(() => /* @__PURE__ */ jsx83(
4573
+ Skeleton,
4574
+ {
4575
+ animation: "pulse",
4576
+ style: { margin: "8px", opacity: 0.4 },
4577
+ variant: "rectangular",
4578
+ height: rowHeight
4579
+ },
4580
+ Math.random()
4581
+ )) }) : /* @__PURE__ */ jsxs53(Fragment5, { children: [
4582
+ /* @__PURE__ */ jsx83(TableContainer, { className: classes.container, children: /* @__PURE__ */ jsxs53(
4583
+ Table,
4584
+ {
4585
+ "aria-labelledby": "tableTitle",
4586
+ "aria-label": "sticky table",
4587
+ stickyHeader: true,
4588
+ children: [
4589
+ /* @__PURE__ */ jsx83(
4590
+ SmartTableHeader_default,
4591
+ {
4592
+ headCells,
4593
+ order,
4594
+ orderBy,
4595
+ onRequestSort: handleRequestSort
4596
+ }
4597
+ ),
4598
+ /* @__PURE__ */ jsxs53(TableBody, { children: [
4599
+ stableSort(data, getSorting(order, orderBy)).slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage).map((item, index) => /* @__PURE__ */ jsx83(
4600
+ RenderItem,
4601
+ {
4602
+ ...{ ...item, index, deleteItem }
4603
+ },
4604
+ item[keyField]
4605
+ )),
4606
+ rowsPerPage === emptyRows && /* @__PURE__ */ jsx83(
4607
+ TableEmptyResult_default,
4608
+ {
4609
+ showClearFilterButton,
4610
+ handleClickOnClearFiltersButton
4611
+ }
4612
+ )
4613
+ ] })
4614
+ ]
4615
+ }
4616
+ ) }),
4617
+ children
4618
+ ] }) }) });
4619
+ };
4620
+ var TableDesktop_default = TableDesktop;
4621
+
4622
+ // src/components/TableHeader/TableHeader.tsx
4623
+ import { memo as memo4, useEffect as useEffect4, useState as useState6 } from "react";
4624
+ import ImportExportIcon from "@mui/icons-material/ImportExport";
4625
+ import { TableCell as TableCell3, TableHead as TableHead2, TableRow as TableRow3, TableSortLabel as TableSortLabel2 } from "@mui/material";
4626
+ import { arrayOf as arrayOf2, bool as bool5, func as func6, oneOf as oneOf7, shape as shape3, string as string8 } from "prop-types";
4627
+ import { makeStyles as makeStyles29 } from "tss-react/mui";
4628
+ import { jsx as jsx84 } from "react/jsx-runtime";
4629
+ var useStyles29 = makeStyles29()(() => ({
4630
+ sortLabel: {
4631
+ "& .MuiTableSortLabel-icon": {
4632
+ opacity: 1
4633
+ }
4634
+ }
4635
+ }));
4636
+ var TableHeader = ({ cells, onSort }) => {
4637
+ const [sortableCells, setSortableCells] = useState6([]);
4638
+ const { classes } = useStyles29();
4639
+ useEffect4(() => {
4640
+ setSortableCells(cells);
4641
+ }, []);
4642
+ const getNewSortDirection = (direction) => {
4643
+ if (!direction) {
4644
+ return "asc";
4645
+ }
4646
+ if (direction === "asc") {
4647
+ return "desc";
4648
+ }
4649
+ return "";
4650
+ };
4651
+ const handleSortClick = (sortedCell) => {
4652
+ const newDirection = getNewSortDirection(sortedCell?.direction);
4653
+ if (onSort) {
4654
+ onSort({
4655
+ direction: newDirection,
4656
+ name: sortedCell.name
4657
+ });
4658
+ }
4659
+ const sortedCells = sortableCells.map((cell) => {
4660
+ if (cell.name === sortedCell.name) {
4661
+ return {
4662
+ ...cell,
4663
+ direction: newDirection
4664
+ };
4665
+ }
4666
+ return {
4667
+ ...cell,
4668
+ direction: ""
4669
+ };
4670
+ });
4671
+ setSortableCells(sortedCells);
4672
+ };
4673
+ return /* @__PURE__ */ jsx84(TableHead2, { children: /* @__PURE__ */ jsx84(TableRow3, { children: sortableCells.map((cell, key) => /* @__PURE__ */ jsx84(TableCell3, { children: cell.isSortable ? /* @__PURE__ */ jsx84(
4674
+ TableSortLabel2,
4675
+ {
4676
+ className: classes.sortLabel,
4677
+ direction: cell?.direction || "asc",
4678
+ IconComponent: ImportExportIcon,
4679
+ onClick: () => handleSortClick(cell),
4680
+ children: cell.label
4681
+ }
4682
+ ) : cell.label }, cell.label || key)) }) });
4683
+ };
4684
+ TableHeader.defaultProps = {
4685
+ onSort: null
4686
+ };
4687
+ TableHeader.propTypes = {
4688
+ cells: arrayOf2(
4689
+ shape3({
4690
+ direction: oneOf7(["asc", "desc", ""]),
4691
+ isSortable: bool5,
4692
+ label: string8,
4693
+ name: string8
4694
+ })
4695
+ ).isRequired,
4696
+ onSort: func6
4697
+ };
4698
+ var TableHeader_default = memo4(TableHeader);
4699
+ export {
4700
+ AlertDialog_default as AlertDialog,
4701
+ AlertDialogFullScreen_default as AlertDialogFullScreen,
4702
+ AppLabel_default as AppLabel,
4703
+ BackHeader_default as BackHeader,
4704
+ BottomBar_default as BottomBar,
4705
+ BoxButton_default as BoxButton,
4706
+ CompanyLogo_default as CompanyLogo,
4707
+ Date_default as Date,
4708
+ DeleteSubstitutionDialogContent_default as DeleteSubstitutionDialogContent,
4709
+ DeleteUserDialogContent_default as DeleteUserDialogContent,
4710
+ DesktopContainer_default as DesktopContainer,
4711
+ ExtendedButton_default as ExtendedButton,
4712
+ FilledButton_default as FilledButton,
4713
+ FilledButtonLg_default as FilledButtonLg,
4714
+ FixedFooter_default as FixedFooter,
4715
+ LeftDrawer_default as LeftDrawer,
4716
+ Loading_default as Loading,
4717
+ OutlinedButton_default as OutlinedButton,
4718
+ PaginationForTable_default as Pagination,
4719
+ ProductImage_default as ProductImage,
4720
+ RenderContentList_default as RenderContentList,
4721
+ RoundButton_default as RoundButton,
4722
+ RowProductCard_default as RowProductCard,
4723
+ SearchAndFilterHeaderForTable_default as SearchAndFilterHeaderForTable,
4724
+ SearchWithFilters_default as SearchWithFilters,
4725
+ SearchWithFiltersForTable_default as SearchWithFiltersForTable,
4726
+ SectionName_default as SectionName,
4727
+ Shift_default as Shift,
4728
+ SmartTableHeader_default as SmartTableHeader,
4729
+ TableDesktop_default as TableDesktop,
4730
+ TableEmptyResult_default as TableEmptyResult,
4731
+ TableHeader_default as TableHeader,
4732
+ TheToolbar_default as TheToolbar,
4733
+ TwoButtonDialog_default as TwoButtonDialog,
4734
+ UserAvatar_default as UserAvatar,
4735
+ UserBust_default as UserBust,
4736
+ icons_default as icons
4737
+ };
4738
+ //# sourceMappingURL=index.js.map