@szymonpiatek/designsystem 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,22 +1,88 @@
1
1
  'use strict';
2
2
 
3
- var react$1 = require('react');
3
+ var React = require('react');
4
4
  var styles = require('@mui/material/styles');
5
- var react = require('@emotion/react');
5
+ var CircularProgress = require('@mui/material/CircularProgress');
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
+ var ExpandMoreIcon = require('@mui/icons-material/ExpandMore');
8
+ var FileUploadIcon = require('@mui/icons-material/FileUpload');
9
+ var CloudUploadMuiIcon = require('@mui/icons-material/CloudUpload');
10
+ var InsertDriveFileIcon = require('@mui/icons-material/InsertDriveFile');
11
+ var DeleteOutlinedIcon = require('@mui/icons-material/DeleteOutlined');
12
+ var CloseIcon = require('@mui/icons-material/Close');
13
+ var CheckIcon = require('@mui/icons-material/Check');
14
+ var VisibilityIcon = require('@mui/icons-material/Visibility');
15
+ var VisibilityOffIcon = require('@mui/icons-material/VisibilityOff');
16
+ var SearchMuiIcon = require('@mui/icons-material/Search');
7
17
  var libphonenumberJs = require('libphonenumber-js');
18
+ var CalendarMonthIcon = require('@mui/icons-material/CalendarMonth');
19
+ var AccessTimeIcon = require('@mui/icons-material/AccessTime');
20
+ var ChevronLeftIcon = require('@mui/icons-material/ChevronLeft');
21
+ var ChevronRightIcon = require('@mui/icons-material/ChevronRight');
22
+ var KeyboardArrowUpIcon = require('@mui/icons-material/KeyboardArrowUp');
23
+ var KeyboardArrowDownIcon = require('@mui/icons-material/KeyboardArrowDown');
24
+ var react = require('@emotion/react');
25
+ var ArticleIcon = require('@mui/icons-material/Article');
26
+ var CheckCircleOutlinedIcon = require('@mui/icons-material/CheckCircleOutlined');
27
+ var HighlightOffIcon = require('@mui/icons-material/HighlightOff');
8
28
  var reactDom = require('react-dom');
29
+ var KeyboardDoubleArrowLeftIcon = require('@mui/icons-material/KeyboardDoubleArrowLeft');
30
+ var KeyboardDoubleArrowRightIcon = require('@mui/icons-material/KeyboardDoubleArrowRight');
31
+ var ArrowForwardIcon = require('@mui/icons-material/ArrowForward');
32
+ var MenuIcon = require('@mui/icons-material/Menu');
9
33
  var CssBaseline = require('@mui/material/CssBaseline');
34
+ var navigation = require('next/navigation');
35
+ var createCache = require('@emotion/cache');
10
36
 
11
37
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
12
38
 
39
+ function _interopNamespace(e) {
40
+ if (e && e.__esModule) return e;
41
+ var n = Object.create(null);
42
+ if (e) {
43
+ Object.keys(e).forEach(function (k) {
44
+ if (k !== 'default') {
45
+ var d = Object.getOwnPropertyDescriptor(e, k);
46
+ Object.defineProperty(n, k, d.get ? d : {
47
+ enumerable: true,
48
+ get: function () { return e[k]; }
49
+ });
50
+ }
51
+ });
52
+ }
53
+ n.default = e;
54
+ return Object.freeze(n);
55
+ }
56
+
57
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
58
+ var CircularProgress__default = /*#__PURE__*/_interopDefault(CircularProgress);
59
+ var ExpandMoreIcon__default = /*#__PURE__*/_interopDefault(ExpandMoreIcon);
60
+ var FileUploadIcon__default = /*#__PURE__*/_interopDefault(FileUploadIcon);
61
+ var CloudUploadMuiIcon__default = /*#__PURE__*/_interopDefault(CloudUploadMuiIcon);
62
+ var InsertDriveFileIcon__default = /*#__PURE__*/_interopDefault(InsertDriveFileIcon);
63
+ var DeleteOutlinedIcon__default = /*#__PURE__*/_interopDefault(DeleteOutlinedIcon);
64
+ var CloseIcon__default = /*#__PURE__*/_interopDefault(CloseIcon);
65
+ var CheckIcon__default = /*#__PURE__*/_interopDefault(CheckIcon);
66
+ var VisibilityIcon__default = /*#__PURE__*/_interopDefault(VisibilityIcon);
67
+ var VisibilityOffIcon__default = /*#__PURE__*/_interopDefault(VisibilityOffIcon);
68
+ var SearchMuiIcon__default = /*#__PURE__*/_interopDefault(SearchMuiIcon);
69
+ var CalendarMonthIcon__default = /*#__PURE__*/_interopDefault(CalendarMonthIcon);
70
+ var AccessTimeIcon__default = /*#__PURE__*/_interopDefault(AccessTimeIcon);
71
+ var ChevronLeftIcon__default = /*#__PURE__*/_interopDefault(ChevronLeftIcon);
72
+ var ChevronRightIcon__default = /*#__PURE__*/_interopDefault(ChevronRightIcon);
73
+ var KeyboardArrowUpIcon__default = /*#__PURE__*/_interopDefault(KeyboardArrowUpIcon);
74
+ var KeyboardArrowDownIcon__default = /*#__PURE__*/_interopDefault(KeyboardArrowDownIcon);
75
+ var ArticleIcon__default = /*#__PURE__*/_interopDefault(ArticleIcon);
76
+ var CheckCircleOutlinedIcon__default = /*#__PURE__*/_interopDefault(CheckCircleOutlinedIcon);
77
+ var HighlightOffIcon__default = /*#__PURE__*/_interopDefault(HighlightOffIcon);
78
+ var KeyboardDoubleArrowLeftIcon__default = /*#__PURE__*/_interopDefault(KeyboardDoubleArrowLeftIcon);
79
+ var KeyboardDoubleArrowRightIcon__default = /*#__PURE__*/_interopDefault(KeyboardDoubleArrowRightIcon);
80
+ var ArrowForwardIcon__default = /*#__PURE__*/_interopDefault(ArrowForwardIcon);
81
+ var MenuIcon__default = /*#__PURE__*/_interopDefault(MenuIcon);
13
82
  var CssBaseline__default = /*#__PURE__*/_interopDefault(CssBaseline);
83
+ var createCache__default = /*#__PURE__*/_interopDefault(createCache);
14
84
 
15
85
  // src/components/atoms/buttons/Button/Button.tsx
16
- var spin = react.keyframes`
17
- from { transform: rotate(0deg); }
18
- to { transform: rotate(360deg); }
19
- `;
20
86
  var sizeMap = {
21
87
  sm: { padding: "0.25rem 0.75rem", fontSize: "0.75rem", gap: "0.25rem" },
22
88
  md: { padding: "0.5rem 1.25rem", fontSize: "0.875rem", gap: "0.375rem" },
@@ -85,10 +151,9 @@ var IconSlot = styles.styled("span")({
85
151
  alignItems: "center"
86
152
  });
87
153
  var Spinner = styles.styled("span")({
88
- display: "inline-flex",
89
- animation: `${spin} 700ms linear infinite`
154
+ display: "inline-flex"
90
155
  });
91
- var Button = react$1.forwardRef(
156
+ var Button = React.forwardRef(
92
157
  ({
93
158
  variant = "primary",
94
159
  size = "md",
@@ -118,21 +183,7 @@ var Button = react$1.forwardRef(
118
183
  "aria-label": ariaLabel,
119
184
  "aria-current": ariaCurrent,
120
185
  children: [
121
- loading ? /* @__PURE__ */ jsxRuntime.jsx(Spinner, { "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsxs(
122
- "svg",
123
- {
124
- width: "1em",
125
- height: "1em",
126
- viewBox: "0 0 24 24",
127
- fill: "none",
128
- stroke: "currentColor",
129
- strokeWidth: "2",
130
- children: [
131
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", strokeOpacity: "0.25" }),
132
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 2a10 10 0 0 1 10 10" })
133
- ]
134
- }
135
- ) }) : startIcon && /* @__PURE__ */ jsxRuntime.jsx(IconSlot, { children: startIcon }),
186
+ loading ? /* @__PURE__ */ jsxRuntime.jsx(Spinner, { "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx(CircularProgress__default.default, { size: "1em", color: "inherit", thickness: 5 }) }) : startIcon && /* @__PURE__ */ jsxRuntime.jsx(IconSlot, { children: startIcon }),
136
187
  /* @__PURE__ */ jsxRuntime.jsx("span", { children }),
137
188
  endIcon && /* @__PURE__ */ jsxRuntime.jsx(IconSlot, { children: endIcon })
138
189
  ]
@@ -185,21 +236,7 @@ var DropdownPanel = styles.styled("div")(({ theme }) => ({
185
236
  borderRadius: theme.shape.borderRadius,
186
237
  boxShadow: theme.shadows[4]
187
238
  }));
188
- var Chevron = () => /* @__PURE__ */ jsxRuntime.jsx(
189
- "svg",
190
- {
191
- viewBox: "0 0 24 24",
192
- width: "1em",
193
- height: "1em",
194
- fill: "none",
195
- stroke: "currentColor",
196
- strokeWidth: 2,
197
- strokeLinecap: "round",
198
- strokeLinejoin: "round",
199
- "aria-hidden": true,
200
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "6 9 12 15 18 9" })
201
- }
202
- );
239
+ var Chevron = () => /* @__PURE__ */ jsxRuntime.jsx(ExpandMoreIcon__default.default, { "aria-hidden": true, sx: { fontSize: "1em" } });
203
240
  var inputColors = (theme, error) => ({
204
241
  borderColor: error ? theme.palette.error.main : theme.palette.divider,
205
242
  "&:hover:not(:focus-within):not([data-disabled])": {
@@ -260,7 +297,7 @@ var Adornment = styles.styled("span")(({ theme }) => ({
260
297
  color: theme.palette.text.secondary,
261
298
  flexShrink: 0
262
299
  }));
263
- var BaseInput = react$1.forwardRef(
300
+ var BaseInput = React.forwardRef(
264
301
  ({
265
302
  label,
266
303
  helperText,
@@ -273,7 +310,7 @@ var BaseInput = react$1.forwardRef(
273
310
  id,
274
311
  ...rest
275
312
  }, ref) => {
276
- const autoId = react$1.useId();
313
+ const autoId = React.useId();
277
314
  const inputId = id ?? autoId;
278
315
  return /* @__PURE__ */ jsxRuntime.jsxs(Root, { $fullWidth: fullWidth, children: [
279
316
  label && /* @__PURE__ */ jsxRuntime.jsx(Label, { htmlFor: inputId, error, size, children: label }),
@@ -384,7 +421,7 @@ var Root2 = styles.styled("span")(({ $disabled }) => ({
384
421
  flexDirection: "column",
385
422
  cursor: $disabled ? "not-allowed" : "pointer"
386
423
  }));
387
- var CheckboxInput = react$1.forwardRef(
424
+ var CheckboxInput = React.forwardRef(
388
425
  ({
389
426
  label,
390
427
  helperText,
@@ -395,10 +432,10 @@ var CheckboxInput = react$1.forwardRef(
395
432
  id,
396
433
  ...rest
397
434
  }, ref) => {
398
- const autoId = react$1.useId();
435
+ const autoId = React.useId();
399
436
  const inputId = id ?? autoId;
400
- const innerRef = react$1.useRef(null);
401
- react$1.useEffect(() => {
437
+ const innerRef = React.useRef(null);
438
+ React.useEffect(() => {
402
439
  if (innerRef.current) {
403
440
  innerRef.current.indeterminate = indeterminate;
404
441
  }
@@ -432,99 +469,11 @@ var formatSize = (bytes) => {
432
469
  if (bytes < 1024 ** 2) return `${(bytes / 1024).toFixed(1)} KB`;
433
470
  return `${(bytes / 1024 ** 2).toFixed(1)} MB`;
434
471
  };
435
- var UploadArrowIcon = ({ size = 13 }) => /* @__PURE__ */ jsxRuntime.jsxs(
436
- "svg",
437
- {
438
- width: size,
439
- height: size,
440
- viewBox: "0 0 24 24",
441
- fill: "none",
442
- stroke: "currentColor",
443
- strokeWidth: 2.5,
444
- strokeLinecap: "round",
445
- strokeLinejoin: "round",
446
- "aria-hidden": true,
447
- children: [
448
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "17 8 12 3 7 8" }),
449
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "12", y1: "3", x2: "12", y2: "15" }),
450
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 15v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-4" })
451
- ]
452
- }
453
- );
454
- var CloudUploadIcon = ({ size }) => /* @__PURE__ */ jsxRuntime.jsxs(
455
- "svg",
456
- {
457
- width: size,
458
- height: size,
459
- viewBox: "0 0 24 24",
460
- fill: "none",
461
- stroke: "currentColor",
462
- strokeWidth: 1.5,
463
- strokeLinecap: "round",
464
- strokeLinejoin: "round",
465
- "aria-hidden": true,
466
- children: [
467
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "16 16 12 12 8 16" }),
468
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "12", y1: "12", x2: "12", y2: "21" }),
469
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3" })
470
- ]
471
- }
472
- );
473
- var FileDocIcon = ({ size }) => /* @__PURE__ */ jsxRuntime.jsxs(
474
- "svg",
475
- {
476
- width: size,
477
- height: size,
478
- viewBox: "0 0 24 24",
479
- fill: "none",
480
- stroke: "currentColor",
481
- strokeWidth: 1.75,
482
- strokeLinecap: "round",
483
- strokeLinejoin: "round",
484
- "aria-hidden": true,
485
- children: [
486
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }),
487
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "14 2 14 8 20 8" })
488
- ]
489
- }
490
- );
491
- var TrashIcon = ({ size = 12 }) => /* @__PURE__ */ jsxRuntime.jsxs(
492
- "svg",
493
- {
494
- width: size,
495
- height: size,
496
- viewBox: "0 0 24 24",
497
- fill: "none",
498
- stroke: "currentColor",
499
- strokeWidth: 2.5,
500
- strokeLinecap: "round",
501
- strokeLinejoin: "round",
502
- "aria-hidden": true,
503
- children: [
504
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "3 6 5 6 21 6" }),
505
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6" }),
506
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10 11v6M14 11v6" }),
507
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9 6V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2" })
508
- ]
509
- }
510
- );
511
- var XIcon = () => /* @__PURE__ */ jsxRuntime.jsxs(
512
- "svg",
513
- {
514
- width: "11",
515
- height: "11",
516
- viewBox: "0 0 24 24",
517
- fill: "none",
518
- stroke: "currentColor",
519
- strokeWidth: 2.5,
520
- strokeLinecap: "round",
521
- "aria-hidden": true,
522
- children: [
523
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
524
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
525
- ]
526
- }
527
- );
472
+ var UploadArrowIcon = ({ size = 13 }) => /* @__PURE__ */ jsxRuntime.jsx(FileUploadIcon__default.default, { "aria-hidden": true, style: { fontSize: size } });
473
+ var CloudUploadIcon = ({ size }) => /* @__PURE__ */ jsxRuntime.jsx(CloudUploadMuiIcon__default.default, { "aria-hidden": true, style: { fontSize: size } });
474
+ var FileDocIcon = ({ size }) => /* @__PURE__ */ jsxRuntime.jsx(InsertDriveFileIcon__default.default, { "aria-hidden": true, style: { fontSize: size } });
475
+ var TrashIcon = ({ size = 12 }) => /* @__PURE__ */ jsxRuntime.jsx(DeleteOutlinedIcon__default.default, { "aria-hidden": true, style: { fontSize: size } });
476
+ var XIcon = () => /* @__PURE__ */ jsxRuntime.jsx(CloseIcon__default.default, { "aria-hidden": true, style: { fontSize: 11 } });
528
477
  var Root3 = styles.styled("div")(({ $fullWidth }) => ({
529
478
  display: $fullWidth ? "block" : "inline-block",
530
479
  width: $fullWidth ? "100%" : "auto"
@@ -916,7 +865,7 @@ var FileActionBtn = styles.styled("button")(({
916
865
  "&:disabled": { opacity: 0.5, cursor: "not-allowed" }
917
866
  };
918
867
  });
919
- var FileInput = react$1.forwardRef(
868
+ var FileInput = React.forwardRef(
920
869
  ({
921
870
  label,
922
871
  helperText,
@@ -944,11 +893,11 @@ var FileInput = react$1.forwardRef(
944
893
  onChange,
945
894
  ...rest
946
895
  }, ref) => {
947
- const autoId = react$1.useId();
896
+ const autoId = React.useId();
948
897
  const inputId = id ?? autoId;
949
- const innerRef = react$1.useRef(null);
950
- const [files, setFiles] = react$1.useState([]);
951
- const [isDragging, setIsDragging] = react$1.useState(false);
898
+ const innerRef = React.useRef(null);
899
+ const [files, setFiles] = React.useState([]);
900
+ const [isDragging, setIsDragging] = React.useState(false);
952
901
  const assignRef = (node) => {
953
902
  innerRef.current = node;
954
903
  if (typeof ref === "function") ref(node);
@@ -1205,7 +1154,7 @@ var filterEmailString = (value) => {
1205
1154
  const domain = value.slice(atIdx + 1).replace(/@/g, "").replace(/[^a-zA-Z0-9.-]/g, "");
1206
1155
  return `${local}@${domain}`;
1207
1156
  };
1208
- var EmailInput = react$1.forwardRef(
1157
+ var EmailInput = React.forwardRef(
1209
1158
  ({ onKeyDown, onPaste, ...props }, ref) => {
1210
1159
  const handleKeyDown = (e) => {
1211
1160
  onKeyDown?.(e);
@@ -1347,13 +1296,13 @@ var BaseSelectInput = ({
1347
1296
  id
1348
1297
  }) => {
1349
1298
  const checkSelected = isSelected ?? ((option) => option.value === value);
1350
- const autoId = react$1.useId();
1299
+ const autoId = React.useId();
1351
1300
  const inputId = id ?? autoId;
1352
1301
  const listboxId = `${inputId}-listbox`;
1353
- const [internalOpen, setInternalOpen] = react$1.useState(false);
1302
+ const [internalOpen, setInternalOpen] = React.useState(false);
1354
1303
  const isOpen = controlledOpen ?? internalOpen;
1355
- const rootRef = react$1.useRef(null);
1356
- const close = react$1.useCallback(() => {
1304
+ const rootRef = React.useRef(null);
1305
+ const close = React.useCallback(() => {
1357
1306
  setInternalOpen(false);
1358
1307
  onOpenChange?.(false);
1359
1308
  }, [onOpenChange]);
@@ -1367,7 +1316,7 @@ var BaseSelectInput = ({
1367
1316
  onSelect?.(option, close);
1368
1317
  }
1369
1318
  };
1370
- react$1.useEffect(() => {
1319
+ React.useEffect(() => {
1371
1320
  if (!isOpen) return;
1372
1321
  const handleMouseDown = (e) => {
1373
1322
  if (rootRef.current && !rootRef.current.contains(e.target)) {
@@ -1421,7 +1370,7 @@ var BaseSelectInput = ({
1421
1370
  ] });
1422
1371
  };
1423
1372
  BaseSelectInput.displayName = "BaseSelectInput";
1424
- var NumberInput = react$1.forwardRef(
1373
+ var NumberInput = React.forwardRef(
1425
1374
  (props, ref) => /* @__PURE__ */ jsxRuntime.jsx(BaseInput, { ref, type: "number", ...props })
1426
1375
  );
1427
1376
  NumberInput.displayName = "NumberInput";
@@ -1462,21 +1411,7 @@ var CheckboxBox = styles.styled("span")(({ theme, $checked }) => ({
1462
1411
  flexShrink: 0,
1463
1412
  transition: "background-color 150ms ease, border-color 150ms ease"
1464
1413
  }));
1465
- var CheckmarkIcon = () => /* @__PURE__ */ jsxRuntime.jsx(
1466
- "svg",
1467
- {
1468
- viewBox: "0 0 24 24",
1469
- width: "0.65rem",
1470
- height: "0.65rem",
1471
- fill: "none",
1472
- stroke: "currentColor",
1473
- strokeWidth: 3,
1474
- strokeLinecap: "round",
1475
- strokeLinejoin: "round",
1476
- "aria-hidden": true,
1477
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "20 6 9 17 4 12" })
1478
- }
1479
- );
1414
+ var CheckmarkIcon = () => /* @__PURE__ */ jsxRuntime.jsx(CheckIcon__default.default, { "aria-hidden": true, style: { width: "0.65rem", height: "0.65rem" } });
1480
1415
  var renderTrigger = (value, options, placeholder) => {
1481
1416
  const MultiSelectTrigger = () => {
1482
1417
  if (value.length === 0) {
@@ -1537,45 +1472,11 @@ var ToggleButton = styles.styled("button")(({ theme }) => ({
1537
1472
  cursor: "not-allowed"
1538
1473
  }
1539
1474
  }));
1540
- var EyeIcon = () => /* @__PURE__ */ jsxRuntime.jsxs(
1541
- "svg",
1542
- {
1543
- viewBox: "0 0 24 24",
1544
- width: "1em",
1545
- height: "1em",
1546
- fill: "none",
1547
- stroke: "currentColor",
1548
- strokeWidth: 2,
1549
- strokeLinecap: "round",
1550
- strokeLinejoin: "round",
1551
- "aria-hidden": true,
1552
- children: [
1553
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
1554
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "3" })
1555
- ]
1556
- }
1557
- );
1558
- var EyeOffIcon = () => /* @__PURE__ */ jsxRuntime.jsxs(
1559
- "svg",
1560
- {
1561
- viewBox: "0 0 24 24",
1562
- width: "1em",
1563
- height: "1em",
1564
- fill: "none",
1565
- stroke: "currentColor",
1566
- strokeWidth: 2,
1567
- strokeLinecap: "round",
1568
- strokeLinejoin: "round",
1569
- "aria-hidden": true,
1570
- children: [
1571
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24" }),
1572
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
1573
- ]
1574
- }
1575
- );
1576
- var PasswordInput = react$1.forwardRef(
1475
+ var EyeIcon = () => /* @__PURE__ */ jsxRuntime.jsx(VisibilityIcon__default.default, { "aria-hidden": true, sx: { fontSize: "1em" } });
1476
+ var EyeOffIcon = () => /* @__PURE__ */ jsxRuntime.jsx(VisibilityOffIcon__default.default, { "aria-hidden": true, sx: { fontSize: "1em" } });
1477
+ var PasswordInput = React.forwardRef(
1577
1478
  ({ disabled, showPasswordLabel = "Poka\u017C has\u0142o", hidePasswordLabel = "Ukryj has\u0142o", ...props }, ref) => {
1578
- const [show, setShow] = react$1.useState(false);
1479
+ const [show, setShow] = React.useState(false);
1579
1480
  return /* @__PURE__ */ jsxRuntime.jsx(
1580
1481
  BaseInput,
1581
1482
  {
@@ -1613,46 +1514,12 @@ var ClearButton = styles.styled("button")(({ theme }) => ({
1613
1514
  color: theme.palette.text.primary
1614
1515
  }
1615
1516
  }));
1616
- var SearchIcon = () => /* @__PURE__ */ jsxRuntime.jsxs(
1617
- "svg",
1618
- {
1619
- viewBox: "0 0 24 24",
1620
- width: "1em",
1621
- height: "1em",
1622
- fill: "none",
1623
- stroke: "currentColor",
1624
- strokeWidth: 2,
1625
- strokeLinecap: "round",
1626
- strokeLinejoin: "round",
1627
- "aria-hidden": true,
1628
- children: [
1629
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "11", cy: "11", r: "8" }),
1630
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
1631
- ]
1632
- }
1633
- );
1634
- var XIcon2 = () => /* @__PURE__ */ jsxRuntime.jsxs(
1635
- "svg",
1636
- {
1637
- viewBox: "0 0 24 24",
1638
- width: "1em",
1639
- height: "1em",
1640
- fill: "none",
1641
- stroke: "currentColor",
1642
- strokeWidth: 2,
1643
- strokeLinecap: "round",
1644
- strokeLinejoin: "round",
1645
- "aria-hidden": true,
1646
- children: [
1647
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
1648
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
1649
- ]
1650
- }
1651
- );
1652
- var SearchInput = react$1.forwardRef(
1517
+ var SearchIcon = () => /* @__PURE__ */ jsxRuntime.jsx(SearchMuiIcon__default.default, { "aria-hidden": true, sx: { fontSize: "1em" } });
1518
+ var XIcon2 = () => /* @__PURE__ */ jsxRuntime.jsx(CloseIcon__default.default, { "aria-hidden": true, sx: { fontSize: "1em" } });
1519
+ var SearchInput = React.forwardRef(
1653
1520
  ({ value, onChange, onClear, clearAriaLabel = "Wyczy\u015B\u0107", ...props }, forwardedRef) => {
1654
- const innerRef = react$1.useRef(null);
1655
- const attachRef = react$1.useCallback(
1521
+ const innerRef = React.useRef(null);
1522
+ const attachRef = React.useCallback(
1656
1523
  (el) => {
1657
1524
  innerRef.current = el;
1658
1525
  if (typeof forwardedRef === "function") forwardedRef(el);
@@ -1662,7 +1529,7 @@ var SearchInput = react$1.forwardRef(
1662
1529
  [forwardedRef]
1663
1530
  );
1664
1531
  const isControlled = value !== void 0;
1665
- const [localValue, setLocalValue] = react$1.useState("");
1532
+ const [localValue, setLocalValue] = React.useState("");
1666
1533
  const hasValue = isControlled ? !!value : !!localValue;
1667
1534
  const handleChange = (e) => {
1668
1535
  if (!isControlled) setLocalValue(e.target.value);
@@ -1698,21 +1565,7 @@ var SearchInput = react$1.forwardRef(
1698
1565
  }
1699
1566
  );
1700
1567
  SearchInput.displayName = "SearchInput";
1701
- var Checkmark = () => /* @__PURE__ */ jsxRuntime.jsx(
1702
- "svg",
1703
- {
1704
- viewBox: "0 0 24 24",
1705
- width: "1em",
1706
- height: "1em",
1707
- fill: "none",
1708
- stroke: "currentColor",
1709
- strokeWidth: 2.5,
1710
- strokeLinecap: "round",
1711
- strokeLinejoin: "round",
1712
- "aria-hidden": true,
1713
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "20 6 9 17 4 12" })
1714
- }
1715
- );
1568
+ var Checkmark = () => /* @__PURE__ */ jsxRuntime.jsx(CheckIcon__default.default, { "aria-hidden": true, sx: { fontSize: "1em" } });
1716
1569
  var renderOption2 = (selected) => {
1717
1570
  const SelectOption = (option) => /* @__PURE__ */ jsxRuntime.jsxs(
1718
1571
  "span",
@@ -1782,7 +1635,7 @@ var StyledTextarea = styles.styled("textarea")(({ theme, $size, $fullWidth, $err
1782
1635
  color: theme.palette.text.disabled
1783
1636
  }
1784
1637
  }));
1785
- var TextareaInput = react$1.forwardRef(
1638
+ var TextareaInput = React.forwardRef(
1786
1639
  ({
1787
1640
  label,
1788
1641
  helperText,
@@ -1794,7 +1647,7 @@ var TextareaInput = react$1.forwardRef(
1794
1647
  id,
1795
1648
  ...rest
1796
1649
  }, ref) => {
1797
- const autoId = react$1.useId();
1650
+ const autoId = React.useId();
1798
1651
  const inputId = id ?? autoId;
1799
1652
  return /* @__PURE__ */ jsxRuntime.jsxs(Root5, { $fullWidth: fullWidth, children: [
1800
1653
  label && /* @__PURE__ */ jsxRuntime.jsx(Label, { htmlFor: inputId, error, size, children: label }),
@@ -3572,7 +3425,7 @@ var EmptyMessage = styles.styled("p")(({ theme }) => ({
3572
3425
  fontSize: "0.875rem",
3573
3426
  color: theme.palette.text.secondary
3574
3427
  }));
3575
- var PhoneInput = react$1.forwardRef(
3428
+ var PhoneInput = React.forwardRef(
3576
3429
  ({
3577
3430
  value,
3578
3431
  defaultValue = "",
@@ -3594,30 +3447,30 @@ var PhoneInput = react$1.forwardRef(
3594
3447
  countrySearchAriaLabel = "Szukaj kraju",
3595
3448
  digitsLabel = "cyfr"
3596
3449
  }, ref) => {
3597
- const autoId = react$1.useId();
3450
+ const autoId = React.useId();
3598
3451
  const inputId = id ?? autoId;
3599
3452
  const listboxId = `${inputId}-listbox`;
3600
- const initialCountry = react$1.useMemo(
3453
+ const initialCountry = React.useMemo(
3601
3454
  () => COUNTRIES.find((c) => c.flagCode === defaultCountry) ?? DEFAULT_COUNTRY,
3602
3455
  [defaultCountry]
3603
3456
  );
3604
- const [selectedCountry, setSelectedCountry] = react$1.useState(initialCountry);
3605
- const [isOpen, setIsOpen] = react$1.useState(false);
3606
- const [searchQuery, setSearchQuery] = react$1.useState("");
3607
- const [focused, setFocused] = react$1.useState(false);
3457
+ const [selectedCountry, setSelectedCountry] = React.useState(initialCountry);
3458
+ const [isOpen, setIsOpen] = React.useState(false);
3459
+ const [searchQuery, setSearchQuery] = React.useState("");
3460
+ const [focused, setFocused] = React.useState(false);
3608
3461
  const isControlled = value !== void 0;
3609
- const [internalValue, setInternalValue] = react$1.useState(defaultValue);
3462
+ const [internalValue, setInternalValue] = React.useState(defaultValue);
3610
3463
  const phoneValue = isControlled ? value : internalValue;
3611
- const rootRef = react$1.useRef(null);
3612
- const searchRef = react$1.useRef(null);
3613
- const filteredCountries = react$1.useMemo(() => {
3464
+ const rootRef = React.useRef(null);
3465
+ const searchRef = React.useRef(null);
3466
+ const filteredCountries = React.useMemo(() => {
3614
3467
  const q = searchQuery.toLowerCase().trim();
3615
3468
  if (!q) return COUNTRIES;
3616
3469
  return COUNTRIES.filter(
3617
3470
  (c) => c.country.toLowerCase().includes(q) || c.flagCode.toLowerCase().includes(q) || c.dialCode.includes(q)
3618
3471
  );
3619
3472
  }, [searchQuery]);
3620
- const close = react$1.useCallback(() => {
3473
+ const close = React.useCallback(() => {
3621
3474
  setIsOpen(false);
3622
3475
  setSearchQuery("");
3623
3476
  }, []);
@@ -3649,7 +3502,7 @@ var PhoneInput = react$1.forwardRef(
3649
3502
  if (e.ctrlKey || e.metaKey || e.altKey || e.key.length > 1) return;
3650
3503
  if (!/^\d$/.test(e.key)) e.preventDefault();
3651
3504
  };
3652
- react$1.useEffect(() => {
3505
+ React.useEffect(() => {
3653
3506
  if (!isOpen) return;
3654
3507
  const handler = (e) => {
3655
3508
  if (rootRef.current && !rootRef.current.contains(e.target)) close();
@@ -3753,7 +3606,7 @@ var PhoneInput = react$1.forwardRef(
3753
3606
  }
3754
3607
  );
3755
3608
  PhoneInput.displayName = "PhoneInput";
3756
- var TextInput = react$1.forwardRef(
3609
+ var TextInput = React.forwardRef(
3757
3610
  ({ type = "text", ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(BaseInput, { ref, type, ...rest })
3758
3611
  );
3759
3612
  TextInput.displayName = "TextInput";
@@ -3844,7 +3697,7 @@ var LabelText2 = styles.styled("span")(
3844
3697
  fontFamily: theme.typography.fontFamily
3845
3698
  })
3846
3699
  );
3847
- var SwitchInput = react$1.forwardRef(
3700
+ var SwitchInput = React.forwardRef(
3848
3701
  ({
3849
3702
  label,
3850
3703
  helperText,
@@ -3856,7 +3709,7 @@ var SwitchInput = react$1.forwardRef(
3856
3709
  id,
3857
3710
  ...rest
3858
3711
  }, ref) => {
3859
- const autoId = react$1.useId();
3712
+ const autoId = React.useId();
3860
3713
  const inputId = id ?? autoId;
3861
3714
  return /* @__PURE__ */ jsxRuntime.jsxs(Root7, { $disabled: disabled, children: [
3862
3715
  /* @__PURE__ */ jsxRuntime.jsxs(Row2, { htmlFor: inputId, $placement: labelPlacement, children: [
@@ -3960,7 +3813,7 @@ function pct(value, min, max) {
3960
3813
  function clamp(v, min, max) {
3961
3814
  return Math.min(max, Math.max(min, v));
3962
3815
  }
3963
- var RangeSlider = react$1.forwardRef(
3816
+ var RangeSlider = React.forwardRef(
3964
3817
  ({
3965
3818
  min = 0,
3966
3819
  max = 100,
@@ -3977,9 +3830,9 @@ var RangeSlider = react$1.forwardRef(
3977
3830
  id,
3978
3831
  ...props
3979
3832
  }, ref) => {
3980
- const autoId = react$1.useId();
3833
+ const autoId = React.useId();
3981
3834
  const inputId = id ?? autoId;
3982
- const getInitial = react$1.useCallback(() => {
3835
+ const getInitial = React.useCallback(() => {
3983
3836
  if (range) {
3984
3837
  const dv2 = defaultValue ?? controlledValue;
3985
3838
  return dv2 ?? [min, max];
@@ -3987,7 +3840,7 @@ var RangeSlider = react$1.forwardRef(
3987
3840
  const dv = defaultValue ?? controlledValue;
3988
3841
  return [dv ?? min, max];
3989
3842
  }, [range, defaultValue, controlledValue, min, max]);
3990
- const [internal, setInternal] = react$1.useState(getInitial);
3843
+ const [internal, setInternal] = React.useState(getInitial);
3991
3844
  const [lo, hi] = controlledValue !== void 0 ? range ? controlledValue : [controlledValue, max] : internal;
3992
3845
  const emit = (next) => {
3993
3846
  setInternal(next);
@@ -4361,135 +4214,27 @@ var ActionBtn = styles.styled("button")(({ theme, $primary }) => ({
4361
4214
  "&:focus-visible": { outline: `2px solid ${theme.palette.primary.main}`, outlineOffset: "1px" }
4362
4215
  }));
4363
4216
  function IconCalendar() {
4364
- return /* @__PURE__ */ jsxRuntime.jsxs(
4365
- "svg",
4366
- {
4367
- width: "16",
4368
- height: "16",
4369
- viewBox: "0 0 24 24",
4370
- fill: "none",
4371
- stroke: "currentColor",
4372
- strokeWidth: 1.75,
4373
- strokeLinecap: "round",
4374
- strokeLinejoin: "round",
4375
- "aria-hidden": "true",
4376
- children: [
4377
- /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2" }),
4378
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "16", y1: "2", x2: "16", y2: "6" }),
4379
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "8", y1: "2", x2: "8", y2: "6" }),
4380
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
4381
- ]
4382
- }
4383
- );
4217
+ return /* @__PURE__ */ jsxRuntime.jsx(CalendarMonthIcon__default.default, { "aria-hidden": "true", style: { fontSize: 16 } });
4384
4218
  }
4385
4219
  function IconClock() {
4386
- return /* @__PURE__ */ jsxRuntime.jsxs(
4387
- "svg",
4388
- {
4389
- width: "16",
4390
- height: "16",
4391
- viewBox: "0 0 24 24",
4392
- fill: "none",
4393
- stroke: "currentColor",
4394
- strokeWidth: 1.75,
4395
- strokeLinecap: "round",
4396
- strokeLinejoin: "round",
4397
- "aria-hidden": "true",
4398
- children: [
4399
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10" }),
4400
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "12 6 12 12 16 14" })
4401
- ]
4402
- }
4403
- );
4220
+ return /* @__PURE__ */ jsxRuntime.jsx(AccessTimeIcon__default.default, { "aria-hidden": "true", style: { fontSize: 16 } });
4404
4221
  }
4405
4222
  function IconChevronLeft() {
4406
- return /* @__PURE__ */ jsxRuntime.jsx(
4407
- "svg",
4408
- {
4409
- width: "16",
4410
- height: "16",
4411
- viewBox: "0 0 24 24",
4412
- fill: "none",
4413
- stroke: "currentColor",
4414
- strokeWidth: 2,
4415
- strokeLinecap: "round",
4416
- strokeLinejoin: "round",
4417
- "aria-hidden": "true",
4418
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "15 18 9 12 15 6" })
4419
- }
4420
- );
4223
+ return /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon__default.default, { "aria-hidden": "true", style: { fontSize: 16 } });
4421
4224
  }
4422
4225
  function IconChevronRight() {
4423
- return /* @__PURE__ */ jsxRuntime.jsx(
4424
- "svg",
4425
- {
4426
- width: "16",
4427
- height: "16",
4428
- viewBox: "0 0 24 24",
4429
- fill: "none",
4430
- stroke: "currentColor",
4431
- strokeWidth: 2,
4432
- strokeLinecap: "round",
4433
- strokeLinejoin: "round",
4434
- "aria-hidden": "true",
4435
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "9 18 15 12 9 6" })
4436
- }
4437
- );
4226
+ return /* @__PURE__ */ jsxRuntime.jsx(ChevronRightIcon__default.default, { "aria-hidden": "true", style: { fontSize: 16 } });
4438
4227
  }
4439
4228
  function IconChevronUp() {
4440
- return /* @__PURE__ */ jsxRuntime.jsx(
4441
- "svg",
4442
- {
4443
- width: "12",
4444
- height: "12",
4445
- viewBox: "0 0 24 24",
4446
- fill: "none",
4447
- stroke: "currentColor",
4448
- strokeWidth: 2.5,
4449
- strokeLinecap: "round",
4450
- strokeLinejoin: "round",
4451
- "aria-hidden": "true",
4452
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "18 15 12 9 6 15" })
4453
- }
4454
- );
4229
+ return /* @__PURE__ */ jsxRuntime.jsx(KeyboardArrowUpIcon__default.default, { "aria-hidden": "true", style: { fontSize: 12 } });
4455
4230
  }
4456
4231
  function IconChevronDown() {
4457
- return /* @__PURE__ */ jsxRuntime.jsx(
4458
- "svg",
4459
- {
4460
- width: "12",
4461
- height: "12",
4462
- viewBox: "0 0 24 24",
4463
- fill: "none",
4464
- stroke: "currentColor",
4465
- strokeWidth: 2.5,
4466
- strokeLinecap: "round",
4467
- strokeLinejoin: "round",
4468
- "aria-hidden": "true",
4469
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "6 9 12 15 18 9" })
4470
- }
4471
- );
4232
+ return /* @__PURE__ */ jsxRuntime.jsx(KeyboardArrowDownIcon__default.default, { "aria-hidden": "true", style: { fontSize: 12 } });
4472
4233
  }
4473
4234
  function IconX() {
4474
- return /* @__PURE__ */ jsxRuntime.jsxs(
4475
- "svg",
4476
- {
4477
- width: "14",
4478
- height: "14",
4479
- viewBox: "0 0 24 24",
4480
- fill: "none",
4481
- stroke: "currentColor",
4482
- strokeWidth: 2,
4483
- strokeLinecap: "round",
4484
- "aria-hidden": "true",
4485
- children: [
4486
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
4487
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
4488
- ]
4489
- }
4490
- );
4235
+ return /* @__PURE__ */ jsxRuntime.jsx(CloseIcon__default.default, { "aria-hidden": "true", style: { fontSize: 14 } });
4491
4236
  }
4492
- var DateTimePicker = react$1.forwardRef(
4237
+ var DateTimePicker = React.forwardRef(
4493
4238
  ({
4494
4239
  value,
4495
4240
  defaultValue,
@@ -4506,26 +4251,26 @@ var DateTimePicker = react$1.forwardRef(
4506
4251
  max,
4507
4252
  id
4508
4253
  }, ref) => {
4509
- const autoId = react$1.useId();
4254
+ const autoId = React.useId();
4510
4255
  const inputId = id ?? autoId;
4511
- const rootRef = react$1.useRef(null);
4256
+ const rootRef = React.useRef(null);
4512
4257
  const isControlled = value !== void 0;
4513
- const [internalDate, setInternalDate] = react$1.useState(defaultValue ?? null);
4258
+ const [internalDate, setInternalDate] = React.useState(defaultValue ?? null);
4514
4259
  const selectedDate = isControlled ? value ?? null : internalDate;
4515
- const [open, setOpen] = react$1.useState(false);
4260
+ const [open, setOpen] = React.useState(false);
4516
4261
  const today = /* @__PURE__ */ new Date();
4517
- const [viewYear, setViewYear] = react$1.useState(selectedDate?.getFullYear() ?? today.getFullYear());
4518
- const [viewMonth, setViewMonth] = react$1.useState(selectedDate?.getMonth() ?? today.getMonth());
4519
- const [hours, setHours] = react$1.useState(selectedDate?.getHours() ?? 12);
4520
- const [minutes, setMinutes] = react$1.useState(selectedDate?.getMinutes() ?? 0);
4521
- const [hourInput, setHourInput] = react$1.useState(
4262
+ const [viewYear, setViewYear] = React.useState(selectedDate?.getFullYear() ?? today.getFullYear());
4263
+ const [viewMonth, setViewMonth] = React.useState(selectedDate?.getMonth() ?? today.getMonth());
4264
+ const [hours, setHours] = React.useState(selectedDate?.getHours() ?? 12);
4265
+ const [minutes, setMinutes] = React.useState(selectedDate?.getMinutes() ?? 0);
4266
+ const [hourInput, setHourInput] = React.useState(
4522
4267
  String(selectedDate?.getHours() ?? 12).padStart(2, "0")
4523
4268
  );
4524
- const [minInput, setMinInput] = react$1.useState(
4269
+ const [minInput, setMinInput] = React.useState(
4525
4270
  String(selectedDate?.getMinutes() ?? 0).padStart(2, "0")
4526
4271
  );
4527
- const [draftDate, setDraftDate] = react$1.useState(null);
4528
- const calendarDays = react$1.useMemo(
4272
+ const [draftDate, setDraftDate] = React.useState(null);
4273
+ const calendarDays = React.useMemo(
4529
4274
  () => buildCalendarDays(viewYear, viewMonth),
4530
4275
  [viewYear, viewMonth]
4531
4276
  );
@@ -4544,7 +4289,7 @@ var DateTimePicker = react$1.forwardRef(
4544
4289
  }
4545
4290
  setOpen(true);
4546
4291
  };
4547
- const commit = react$1.useCallback(
4292
+ const commit = React.useCallback(
4548
4293
  (d) => {
4549
4294
  if (!isControlled) setInternalDate(d);
4550
4295
  onChange?.(d);
@@ -4619,7 +4364,7 @@ var DateTimePicker = react$1.forwardRef(
4619
4364
  setMinutes(val);
4620
4365
  setMinInput(String(val).padStart(2, "0"));
4621
4366
  };
4622
- react$1.useEffect(() => {
4367
+ React.useEffect(() => {
4623
4368
  if (!open) return;
4624
4369
  const handler = (e) => {
4625
4370
  if (rootRef.current && !rootRef.current.contains(e.target)) setOpen(false);
@@ -4627,7 +4372,7 @@ var DateTimePicker = react$1.forwardRef(
4627
4372
  document.addEventListener("mousedown", handler);
4628
4373
  return () => document.removeEventListener("mousedown", handler);
4629
4374
  }, [open]);
4630
- react$1.useEffect(() => {
4375
+ React.useEffect(() => {
4631
4376
  if (!open) return;
4632
4377
  const handler = (e) => {
4633
4378
  if (e.key === "Escape") setOpen(false);
@@ -4956,7 +4701,7 @@ var StyledCard = styles.styled("div", {
4956
4701
  borderRadius: roundedMap[$rounded],
4957
4702
  ...getVariantStyles($variant, theme)
4958
4703
  }));
4959
- var Card = react$1.forwardRef(
4704
+ var Card = React.forwardRef(
4960
4705
  ({ variant = "default", padding = "md", rounded = "lg", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledCard, { ref, $variant: variant, $padding: padding, $rounded: rounded, ...props })
4961
4706
  );
4962
4707
  Card.displayName = "Card";
@@ -5203,7 +4948,7 @@ var SIZE_MAP = {
5203
4948
  lg: "2rem",
5204
4949
  xl: "3rem"
5205
4950
  };
5206
- var spin2 = react.keyframes`to { transform: rotate(360deg); }`;
4951
+ var spin = react.keyframes`to { transform: rotate(360deg); }`;
5207
4952
  var fade = react.keyframes`0%,100%{opacity:.15} 50%{opacity:1}`;
5208
4953
  var scalePulse = react.keyframes`0%,100%{transform:scale(0.6);opacity:.4} 50%{transform:scale(1);opacity:1}`;
5209
4954
  var barAnim = react.keyframes`0%,100%{transform:scaleY(.4);opacity:.5} 50%{transform:scaleY(1);opacity:1}`;
@@ -5226,7 +4971,7 @@ var Root10 = styles.styled("span", {
5226
4971
  flexShrink: 0
5227
4972
  };
5228
4973
  });
5229
- var RingSvg = styles.styled("svg")({ animation: `${spin2} 700ms linear infinite` });
4974
+ var RingSvg = styles.styled("svg")({ animation: `${spin} 700ms linear infinite` });
5230
4975
  function Ring() {
5231
4976
  return /* @__PURE__ */ jsxRuntime.jsxs(RingSvg, { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
5232
4977
  /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "3", strokeOpacity: "0.25" }),
@@ -5465,7 +5210,7 @@ function ProgressCircle({
5465
5210
  children,
5466
5211
  ...props
5467
5212
  }) {
5468
- const gradientId = react$1.useId().replace(/:/g, "");
5213
+ const gradientId = React.useId().replace(/:/g, "");
5469
5214
  const px = PX_MAP[size];
5470
5215
  const stroke = thickness ?? Math.max(3, px * 0.09);
5471
5216
  const r = (px - stroke) / 2;
@@ -5598,7 +5343,7 @@ var StyledBox = styles.styled("div")(
5598
5343
  return css;
5599
5344
  }
5600
5345
  );
5601
- var Box2 = react$1.forwardRef(
5346
+ var Box2 = React.forwardRef(
5602
5347
  ({ direction = "row", wrap = "nowrap", gap = 0, cols, rows, children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
5603
5348
  StyledBox,
5604
5349
  {
@@ -5635,7 +5380,7 @@ var StyledContainer = styles.styled("div")(({ theme, $maxWidth }) => ({
5635
5380
  paddingRight: "2rem"
5636
5381
  }
5637
5382
  }));
5638
- var Container = react$1.forwardRef(
5383
+ var Container = React.forwardRef(
5639
5384
  ({ maxWidth = "xl", children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledContainer, { ref, $maxWidth: maxWidth, ...rest, children })
5640
5385
  );
5641
5386
  Container.displayName = "Container";
@@ -5647,7 +5392,7 @@ var StyledSection = styles.styled("section")(({ theme }) => ({
5647
5392
  paddingBottom: "3rem"
5648
5393
  }
5649
5394
  }));
5650
- var Section = react$1.forwardRef(({ children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledSection, { ref, ...rest, children }));
5395
+ var Section = React.forwardRef(({ children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledSection, { ref, ...rest, children }));
5651
5396
  Section.displayName = "Section";
5652
5397
  var getTypographyStyles = (theme) => ({
5653
5398
  fontFamily: theme.typography.fontFamily,
@@ -5807,13 +5552,13 @@ var spacingStyles = {
5807
5552
  var StyledMain = styles.styled("main")(({ theme }) => ({
5808
5553
  ...getTypographyStyles(theme)
5809
5554
  }));
5810
- var Main = react$1.forwardRef(({ children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledMain, { ref, ...rest, children }));
5555
+ var Main = React.forwardRef(({ children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledMain, { ref, ...rest, children }));
5811
5556
  Main.displayName = "Main";
5812
5557
  var StyledProse = styles.styled("div")(({ theme }) => ({
5813
5558
  ...getTypographyStyles(theme),
5814
5559
  ...spacingStyles
5815
5560
  }));
5816
- var Prose = react$1.forwardRef(({ children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledProse, { ref, ...rest, children }));
5561
+ var Prose = React.forwardRef(({ children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledProse, { ref, ...rest, children }));
5817
5562
  Prose.displayName = "Prose";
5818
5563
  var StyledArticle = styles.styled("article")(({ theme }) => ({
5819
5564
  maxWidth: "56rem",
@@ -5823,7 +5568,7 @@ var StyledArticle = styles.styled("article")(({ theme }) => ({
5823
5568
  ...getHeaderSpacingStyles(),
5824
5569
  ...spacingStyles
5825
5570
  }));
5826
- var Article = react$1.forwardRef(({ children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledArticle, { ref, ...rest, children }));
5571
+ var Article = React.forwardRef(({ children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledArticle, { ref, ...rest, children }));
5827
5572
  Article.displayName = "Article";
5828
5573
  var sizeMap4 = {
5829
5574
  sm: "1rem",
@@ -5861,7 +5606,7 @@ var Meta = styles.styled("span")(({ theme }) => ({
5861
5606
  fontSize: "0.875rem",
5862
5607
  color: theme.palette.text.secondary
5863
5608
  }));
5864
- var Rating = react$1.forwardRef(
5609
+ var Rating = React.forwardRef(
5865
5610
  ({ value, max = 5, readonly = true, size = "md", label, count, onChange, ...props }, ref) => {
5866
5611
  const roundedValue = Math.round(value);
5867
5612
  const meta = label ?? (count !== void 0 ? `(${count})` : void 0);
@@ -5917,7 +5662,7 @@ var Root13 = styles.styled("div")({
5917
5662
  objectFit: "cover"
5918
5663
  }
5919
5664
  });
5920
- var AspectRatio = react$1.forwardRef(
5665
+ var AspectRatio = React.forwardRef(
5921
5666
  ({ ratio = "16/9", children, style, ...props }, ref) => {
5922
5667
  const numericRatio = typeof ratio === "string" ? PRESET_MAP[ratio] ?? 16 / 9 : ratio;
5923
5668
  const paddingBottom = `${1 / numericRatio * 100}%`;
@@ -5999,7 +5744,7 @@ function formatPrice(amount, currency, locale) {
5999
5744
  function calcDiscount(price, original) {
6000
5745
  return Math.round((1 - price / original) * 100);
6001
5746
  }
6002
- var Price = react$1.forwardRef(
5747
+ var Price = React.forwardRef(
6003
5748
  ({
6004
5749
  price,
6005
5750
  originalPrice,
@@ -6091,7 +5836,7 @@ var Footer = styles.styled("div")({
6091
5836
  marginTop: "auto",
6092
5837
  paddingTop: "1rem"
6093
5838
  });
6094
- var ProductCard = react$1.forwardRef(
5839
+ var ProductCard = React.forwardRef(
6095
5840
  ({
6096
5841
  name,
6097
5842
  imageUrl,
@@ -6159,28 +5904,7 @@ var Overlay = styles.styled("div")({
6159
5904
  background: "linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 50%)",
6160
5905
  pointerEvents: "none"
6161
5906
  });
6162
- var FileTextIcon = () => /* @__PURE__ */ jsxRuntime.jsxs(
6163
- "svg",
6164
- {
6165
- width: "32",
6166
- height: "32",
6167
- viewBox: "0 0 24 24",
6168
- fill: "none",
6169
- stroke: "currentColor",
6170
- strokeWidth: "1.5",
6171
- strokeLinecap: "round",
6172
- strokeLinejoin: "round",
6173
- "aria-hidden": "true",
6174
- style: { opacity: 0.3 },
6175
- children: [
6176
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }),
6177
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "14 2 14 8 20 8" }),
6178
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "16", y1: "13", x2: "8", y2: "13" }),
6179
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "16", y1: "17", x2: "8", y2: "17" }),
6180
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "10 9 9 9 8 9" })
6181
- ]
6182
- }
6183
- );
5907
+ var FileTextIcon = () => /* @__PURE__ */ jsxRuntime.jsx(ArticleIcon__default.default, { "aria-hidden": "true", style: { fontSize: 32, opacity: 0.3 } });
6184
5908
  function toAspectRatioCss(ratio) {
6185
5909
  if (typeof ratio === "number") return String(ratio);
6186
5910
  return ratio.replace("/", " / ");
@@ -6193,7 +5917,7 @@ var PostCardImage = ({
6193
5917
  className,
6194
5918
  style
6195
5919
  }) => {
6196
- const [imgError, setImgError] = react$1.useState(false);
5920
+ const [imgError, setImgError] = React.useState(false);
6197
5921
  const showPlaceholder = !src || imgError;
6198
5922
  return /* @__PURE__ */ jsxRuntime.jsxs(ImageWrapper, { $ar: toAspectRatioCss(aspectRatio), className, style, children: [
6199
5923
  showPlaceholder ? /* @__PURE__ */ jsxRuntime.jsx(Placeholder2, { children: /* @__PURE__ */ jsxRuntime.jsx(FileTextIcon, {}) }) : /* @__PURE__ */ jsxRuntime.jsx(Img, { src, alt, onError: () => setImgError(true) }),
@@ -6356,7 +6080,7 @@ var FeaturedImageWrapper = styles.styled("div")({
6356
6080
  aspectRatio: "auto"
6357
6081
  }
6358
6082
  });
6359
- var PostCard = react$1.forwardRef(
6083
+ var PostCard = React.forwardRef(
6360
6084
  ({
6361
6085
  title,
6362
6086
  excerpt,
@@ -6501,50 +6225,13 @@ var CtaLink = styles.styled("a", {
6501
6225
  var CtaWrapper = styles.styled("div")({
6502
6226
  marginTop: "1.5rem"
6503
6227
  });
6504
- function CheckIcon() {
6505
- return /* @__PURE__ */ jsxRuntime.jsxs(
6506
- "svg",
6507
- {
6508
- width: "16",
6509
- height: "16",
6510
- viewBox: "0 0 16 16",
6511
- fill: "none",
6512
- "aria-hidden": "true",
6513
- style: { flexShrink: 0 },
6514
- children: [
6515
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "8", cy: "8", r: "7", fill: "currentColor", fillOpacity: "0.15" }),
6516
- /* @__PURE__ */ jsxRuntime.jsx(
6517
- "path",
6518
- {
6519
- d: "M5 8l2 2 4-4",
6520
- stroke: "currentColor",
6521
- strokeWidth: "1.5",
6522
- strokeLinecap: "round",
6523
- strokeLinejoin: "round"
6524
- }
6525
- )
6526
- ]
6527
- }
6528
- );
6228
+ function CheckIcon3() {
6229
+ return /* @__PURE__ */ jsxRuntime.jsx(CheckCircleOutlinedIcon__default.default, { "aria-hidden": "true", style: { fontSize: 16, flexShrink: 0 } });
6529
6230
  }
6530
6231
  function XIcon3() {
6531
- return /* @__PURE__ */ jsxRuntime.jsxs(
6532
- "svg",
6533
- {
6534
- width: "16",
6535
- height: "16",
6536
- viewBox: "0 0 16 16",
6537
- fill: "none",
6538
- "aria-hidden": "true",
6539
- style: { flexShrink: 0 },
6540
- children: [
6541
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "8", cy: "8", r: "7", fill: "currentColor", fillOpacity: "0.10" }),
6542
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 6l4 4M10 6l-4 4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
6543
- ]
6544
- }
6545
- );
6232
+ return /* @__PURE__ */ jsxRuntime.jsx(HighlightOffIcon__default.default, { "aria-hidden": "true", style: { fontSize: 16, flexShrink: 0 } });
6546
6233
  }
6547
- var PricingCard = react$1.forwardRef(
6234
+ var PricingCard = React.forwardRef(
6548
6235
  ({
6549
6236
  name,
6550
6237
  price,
@@ -6579,7 +6266,7 @@ var PricingCard = react$1.forwardRef(
6579
6266
  /* @__PURE__ */ jsxRuntime.jsx(FeatureList, { children: features.map((feature, i) => {
6580
6267
  const included = feature.included !== false;
6581
6268
  return /* @__PURE__ */ jsxRuntime.jsxs(FeatureItem, { $included: included, children: [
6582
- included ? /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, {}) : /* @__PURE__ */ jsxRuntime.jsx(XIcon3, {}),
6269
+ included ? /* @__PURE__ */ jsxRuntime.jsx(CheckIcon3, {}) : /* @__PURE__ */ jsxRuntime.jsx(XIcon3, {}),
6583
6270
  feature.text
6584
6271
  ] }, i);
6585
6272
  }) })
@@ -6618,7 +6305,7 @@ var Description3 = styles.styled("p")(({ theme }) => ({
6618
6305
  color: theme.palette.text.secondary,
6619
6306
  lineHeight: 1.5
6620
6307
  }));
6621
- var StatCard = react$1.forwardRef(
6308
+ var StatCard = React.forwardRef(
6622
6309
  ({ stat, cardVariant = "default", align = "center", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(Root17, { ref, variant: cardVariant, padding: "lg", rounded: "lg", $align: align, ...props, children: [
6623
6310
  /* @__PURE__ */ jsxRuntime.jsx(Value, { children: stat.value }),
6624
6311
  /* @__PURE__ */ jsxRuntime.jsx(Label3, { children: stat.label }),
@@ -6680,7 +6367,7 @@ var AuthorRole = styles.styled("p")(({ theme }) => ({
6680
6367
  fontSize: "0.8125rem",
6681
6368
  color: theme.palette.text.secondary
6682
6369
  }));
6683
- var TestimonialCard = react$1.forwardRef(
6370
+ var TestimonialCard = React.forwardRef(
6684
6371
  ({ testimonial, cardVariant = "default", ...props }, ref) => {
6685
6372
  const initials = testimonial.authorInitials ?? testimonial.authorName.split(" ").filter(Boolean).slice(0, 2).map((p) => p[0]).join("").toUpperCase();
6686
6373
  return /* @__PURE__ */ jsxRuntime.jsxs(Root18, { ref, variant: cardVariant, padding: "lg", rounded: "lg", ...props, children: [
@@ -6740,7 +6427,7 @@ function getInitials(member) {
6740
6427
  }
6741
6428
  return member.name.split(" ").filter(Boolean).slice(0, 2).map((part) => part[0]).join("").toUpperCase();
6742
6429
  }
6743
- var TeamMemberCard = react$1.forwardRef(
6430
+ var TeamMemberCard = React.forwardRef(
6744
6431
  ({ member, cardVariant = "default", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(Root19, { ref, variant: cardVariant, padding: "lg", rounded: "lg", ...props, children: [
6745
6432
  member.avatarUrl ? /* @__PURE__ */ jsxRuntime.jsx(AvatarImage2, { src: member.avatarUrl, alt: member.avatarAlt ?? member.name }) : /* @__PURE__ */ jsxRuntime.jsx(Avatar, { initials: getInitials(member), size: "xl", color: member.avatarColor ?? "primary" }),
6746
6433
  /* @__PURE__ */ jsxRuntime.jsxs(Content, { children: [
@@ -6861,7 +6548,7 @@ var ValueCell = styles.styled("td", {
6861
6548
  fontWeight: $highlight ? 700 : 400,
6862
6549
  backgroundColor: $highlight ? theme.palette.mode === "dark" ? "rgba(99,102,241,0.08)" : "rgba(99,102,241,0.06)" : "transparent"
6863
6550
  }));
6864
- var BoolIcon = ({ value }) => /* @__PURE__ */ jsxRuntime.jsx("span", { "aria-label": value ? "Tak" : "Nie", style: { fontSize: "1.125rem" }, children: value ? "\u2713" : "\u2717" });
6551
+ var BoolIcon = ({ value }) => /* @__PURE__ */ jsxRuntime.jsx("span", { "aria-label": value ? "Tak" : "Nie", style: { display: "inline-flex", fontSize: "1.125rem" }, children: value ? /* @__PURE__ */ jsxRuntime.jsx(CheckIcon__default.default, {}) : /* @__PURE__ */ jsxRuntime.jsx(CloseIcon__default.default, {}) });
6865
6552
  function formatValue(v) {
6866
6553
  if (typeof v === "boolean") return /* @__PURE__ */ jsxRuntime.jsx(BoolIcon, { value: v });
6867
6554
  return String(v);
@@ -6922,7 +6609,7 @@ function CompareTool({
6922
6609
  }) })
6923
6610
  ] }) });
6924
6611
  }
6925
- var spin3 = styles.keyframes`to { transform: rotate(360deg); }`;
6612
+ var spin2 = styles.keyframes`to { transform: rotate(360deg); }`;
6926
6613
  var Root20 = styles.styled("div")({
6927
6614
  display: "flex",
6928
6615
  flexDirection: "column",
@@ -6996,7 +6683,7 @@ var Spinner4 = styles.styled("span")({
6996
6683
  border: "2px solid rgba(255,255,255,0.3)",
6997
6684
  borderTopColor: "#fff",
6998
6685
  borderRadius: "50%",
6999
- animation: `${spin3} 600ms linear infinite`,
6686
+ animation: `${spin2} 600ms linear infinite`,
7000
6687
  verticalAlign: "middle"
7001
6688
  });
7002
6689
  var Message = styles.styled("p", {
@@ -7059,7 +6746,7 @@ function CouponInput({
7059
6746
  successMessage,
7060
6747
  className
7061
6748
  }) {
7062
- const id = react$1.useId();
6749
+ const id = React.useId();
7063
6750
  const errorId = `${id}-error`;
7064
6751
  const successId = `${id}-success`;
7065
6752
  const isDisabled = disabled || loading;
@@ -7147,9 +6834,9 @@ var ThumbnailButton = styles.styled("button")(({ theme, $active }) => ({
7147
6834
  var ThumbnailImage = styles.styled("img")({
7148
6835
  objectFit: "cover"
7149
6836
  });
7150
- var ProductGallery = react$1.forwardRef(
6837
+ var ProductGallery = React.forwardRef(
7151
6838
  ({ images, selectedIndex, onSelect, ...props }, ref) => {
7152
- const [internalIndex, setInternalIndex] = react$1.useState(0);
6839
+ const [internalIndex, setInternalIndex] = React.useState(0);
7153
6840
  const activeIndex = selectedIndex ?? internalIndex;
7154
6841
  const activeImage = images[activeIndex] ?? images[0];
7155
6842
  const handleSelect = (index) => {
@@ -7181,7 +6868,8 @@ var Root22 = styles.styled("div")(({ theme, $variant }) => ({
7181
6868
  display: "flex",
7182
6869
  alignItems: "center",
7183
6870
  justifyContent: "center",
7184
- gap: "1rem",
6871
+ flexWrap: "wrap",
6872
+ gap: "0 1rem",
7185
6873
  width: "100%",
7186
6874
  padding: "0.75rem 1rem",
7187
6875
  fontFamily: theme.typography.fontFamily,
@@ -7195,7 +6883,7 @@ var Link = styles.styled("a")(({ theme }) => ({
7195
6883
  textDecoration: "underline",
7196
6884
  textUnderlineOffset: "0.2em"
7197
6885
  }));
7198
- var PromoStrip = react$1.forwardRef(
6886
+ var PromoStrip = React.forwardRef(
7199
6887
  ({ message, actionLabel, href, variant = "info", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(Root22, { ref, $variant: variant, ...props, children: [
7200
6888
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: message }),
7201
6889
  actionLabel && href && /* @__PURE__ */ jsxRuntime.jsx(Link, { href, children: actionLabel })
@@ -7235,7 +6923,7 @@ var Value2 = styles.styled("span")(({ theme }) => ({
7235
6923
  borderRight: `1px solid ${theme.palette.divider}`,
7236
6924
  fontWeight: 600
7237
6925
  }));
7238
- var QuantitySelector = react$1.forwardRef(
6926
+ var QuantitySelector = React.forwardRef(
7239
6927
  ({ value, min = 1, max = 99, step = 1, disabled = false, onChange, ...props }, ref) => {
7240
6928
  const decrease = Math.max(min, value - step);
7241
6929
  const increase = Math.min(max, value + step);
@@ -7323,7 +7011,7 @@ var Dot2 = styles.styled("span", {
7323
7011
  flexShrink: 0
7324
7012
  };
7325
7013
  });
7326
- var StockStatus = react$1.forwardRef(
7014
+ var StockStatus = React.forwardRef(
7327
7015
  ({ status, count, label, showIcon = true, size = "md", ...props }, ref) => {
7328
7016
  const color = COLOR_MAP[status];
7329
7017
  const text = label ?? getDefaultLabel(status, count);
@@ -7366,7 +7054,7 @@ var Trigger2 = styles.styled("button")(({ theme }) => ({
7366
7054
  borderRadius: "2px"
7367
7055
  }
7368
7056
  }));
7369
- var ChevronIcon2 = styles.styled("svg", {
7057
+ var ChevronIcon2 = styles.styled(ExpandMoreIcon__default.default, {
7370
7058
  shouldForwardProp: (prop) => prop !== "$open"
7371
7059
  })(({ $open }) => ({
7372
7060
  width: "1.25rem",
@@ -7386,24 +7074,13 @@ var PanelInner = styles.styled("p")(({ theme }) => ({
7386
7074
  fontSize: "0.9375rem",
7387
7075
  lineHeight: 1.7
7388
7076
  }));
7389
- var FaqItem = react$1.forwardRef(
7077
+ var FaqItem = React.forwardRef(
7390
7078
  ({ item, defaultOpen = false, ...props }, ref) => {
7391
- const [open, setOpen] = react$1.useState(defaultOpen);
7079
+ const [open, setOpen] = React.useState(defaultOpen);
7392
7080
  return /* @__PURE__ */ jsxRuntime.jsxs(Root25, { ref, ...props, children: [
7393
7081
  /* @__PURE__ */ jsxRuntime.jsxs(Trigger2, { type: "button", "aria-expanded": open, onClick: () => setOpen((prev) => !prev), children: [
7394
7082
  item.question,
7395
- /* @__PURE__ */ jsxRuntime.jsx(
7396
- ChevronIcon2,
7397
- {
7398
- $open: open,
7399
- viewBox: "0 0 24 24",
7400
- fill: "none",
7401
- stroke: "currentColor",
7402
- strokeWidth: 2,
7403
- "aria-hidden": "true",
7404
- children: /* @__PURE__ */ jsxRuntime.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M19 9l-7 7-7-7" })
7405
- }
7406
- )
7083
+ /* @__PURE__ */ jsxRuntime.jsx(ChevronIcon2, { $open: open, "aria-hidden": "true" })
7407
7084
  ] }),
7408
7085
  open && /* @__PURE__ */ jsxRuntime.jsx(Panel, { role: "region", children: /* @__PURE__ */ jsxRuntime.jsx(PanelInner, { children: item.answer }) })
7409
7086
  ] });
@@ -7455,7 +7132,7 @@ var Description4 = styles.styled("p")(({ theme }) => ({
7455
7132
  color: theme.palette.text.secondary,
7456
7133
  lineHeight: 1.6
7457
7134
  }));
7458
- var FeatureItem2 = react$1.forwardRef(
7135
+ var FeatureItem2 = React.forwardRef(
7459
7136
  ({ feature, cardVariant = "default", layout = "card", ...props }, ref) => {
7460
7137
  if (layout === "icon-left") {
7461
7138
  return /* @__PURE__ */ jsxRuntime.jsxs(IconLeftRoot, { ref, ...props, children: [
@@ -7523,7 +7200,7 @@ var Description5 = styles.styled("p")(({ theme }) => ({
7523
7200
  lineHeight: 1.6,
7524
7201
  maxWidth: "18rem"
7525
7202
  }));
7526
- var ProcessStep = react$1.forwardRef(
7203
+ var ProcessStep = React.forwardRef(
7527
7204
  ({ step, title, description, icon, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(Root26, { ref, ...props, children: [
7528
7205
  /* @__PURE__ */ jsxRuntime.jsx(StepBadge, { "aria-hidden": "true", children: icon ? /* @__PURE__ */ jsxRuntime.jsx(IconWrapper2, { children: icon }) : /* @__PURE__ */ jsxRuntime.jsx(StepNumber, { children: step }) }),
7529
7206
  /* @__PURE__ */ jsxRuntime.jsx(Title3, { children: title }),
@@ -7607,7 +7284,7 @@ function renderLogo(logo, monochrome, logoHeight) {
7607
7284
  }
7608
7285
  );
7609
7286
  }
7610
- var LogoTile = react$1.forwardRef(
7287
+ var LogoTile = React.forwardRef(
7611
7288
  ({ logo, variant = "plain", monochrome = true, logoHeight = 40, ...props }, ref) => {
7612
7289
  const content = renderLogo(logo, monochrome, logoHeight);
7613
7290
  if (logo.href) {
@@ -7742,23 +7419,7 @@ var Description6 = styles.styled("div")(({ theme }) => ({
7742
7419
  }));
7743
7420
  function StatusIcon({ status }) {
7744
7421
  if (status === "error") {
7745
- return /* @__PURE__ */ jsxRuntime.jsxs(
7746
- "svg",
7747
- {
7748
- width: "10",
7749
- height: "10",
7750
- viewBox: "0 0 24 24",
7751
- fill: "none",
7752
- stroke: "currentColor",
7753
- strokeWidth: 3,
7754
- strokeLinecap: "round",
7755
- "aria-hidden": "true",
7756
- children: [
7757
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
7758
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
7759
- ]
7760
- }
7761
- );
7422
+ return /* @__PURE__ */ jsxRuntime.jsx(CloseIcon__default.default, { "aria-hidden": "true", style: { fontSize: 10 } });
7762
7423
  }
7763
7424
  return null;
7764
7425
  }
@@ -7780,7 +7441,7 @@ function TimelineItemComponent({
7780
7441
  ] })
7781
7442
  ] });
7782
7443
  }
7783
- var Timeline = react$1.forwardRef(
7444
+ var Timeline = React.forwardRef(
7784
7445
  ({ items, variant = "default", align: _align = "left", ...props }, ref) => {
7785
7446
  const compact = variant === "compact";
7786
7447
  return /* @__PURE__ */ jsxRuntime.jsx(List, { ref, "aria-label": "O\u015B czasu", ...props, children: items.map((item, i) => /* @__PURE__ */ jsxRuntime.jsx(
@@ -7886,23 +7547,23 @@ function Carousel({
7886
7547
  loop = true,
7887
7548
  className
7888
7549
  }) {
7889
- const [index, setIndex] = react$1.useState(0);
7890
- const timerRef = react$1.useRef(null);
7550
+ const [index, setIndex] = React.useState(0);
7551
+ const timerRef = React.useRef(null);
7891
7552
  const count = slides.length;
7892
- const prev = react$1.useCallback(() => {
7553
+ const prev = React.useCallback(() => {
7893
7554
  setIndex((i) => loop ? (i - 1 + count) % count : Math.max(0, i - 1));
7894
7555
  }, [count, loop]);
7895
- const next = react$1.useCallback(() => {
7556
+ const next = React.useCallback(() => {
7896
7557
  setIndex((i) => loop ? (i + 1) % count : Math.min(count - 1, i + 1));
7897
7558
  }, [count, loop]);
7898
- react$1.useEffect(() => {
7559
+ React.useEffect(() => {
7899
7560
  if (!autoPlay) return;
7900
7561
  timerRef.current = setInterval(next, autoPlayInterval);
7901
7562
  return () => {
7902
7563
  if (timerRef.current) clearInterval(timerRef.current);
7903
7564
  };
7904
7565
  }, [autoPlay, autoPlayInterval, next]);
7905
- react$1.useEffect(() => {
7566
+ React.useEffect(() => {
7906
7567
  const handleKey = (e) => {
7907
7568
  if (e.key === "ArrowLeft") prev();
7908
7569
  if (e.key === "ArrowRight") next();
@@ -7931,20 +7592,7 @@ function Carousel({
7931
7592
  "aria-label": "Poprzedni slajd",
7932
7593
  onClick: prev,
7933
7594
  disabled: !loop && index === 0,
7934
- children: /* @__PURE__ */ jsxRuntime.jsx(
7935
- "svg",
7936
- {
7937
- width: "16",
7938
- height: "16",
7939
- viewBox: "0 0 24 24",
7940
- fill: "none",
7941
- stroke: "currentColor",
7942
- strokeWidth: 2.5,
7943
- strokeLinecap: "round",
7944
- strokeLinejoin: "round",
7945
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "15 18 9 12 15 6" })
7946
- }
7947
- )
7595
+ children: /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon__default.default, { "aria-hidden": true, style: { fontSize: 16 } })
7948
7596
  }
7949
7597
  ),
7950
7598
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -7954,20 +7602,7 @@ function Carousel({
7954
7602
  "aria-label": "Nast\u0119pny slajd",
7955
7603
  onClick: next,
7956
7604
  disabled: !loop && index === count - 1,
7957
- children: /* @__PURE__ */ jsxRuntime.jsx(
7958
- "svg",
7959
- {
7960
- width: "16",
7961
- height: "16",
7962
- viewBox: "0 0 24 24",
7963
- fill: "none",
7964
- stroke: "currentColor",
7965
- strokeWidth: 2.5,
7966
- strokeLinecap: "round",
7967
- strokeLinejoin: "round",
7968
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "9 18 15 12 9 6" })
7969
- }
7970
- )
7605
+ children: /* @__PURE__ */ jsxRuntime.jsx(ChevronRightIcon__default.default, { "aria-hidden": true, style: { fontSize: 16 } })
7971
7606
  }
7972
7607
  )
7973
7608
  ] })
@@ -8193,19 +7828,19 @@ var Counter = styles.styled("span")({
8193
7828
  pointerEvents: "none"
8194
7829
  });
8195
7830
  function Lightbox({ images, columns = 3, gap = 8, className }) {
8196
- const [activeIndex, setActiveIndex] = react$1.useState(null);
7831
+ const [activeIndex, setActiveIndex] = React.useState(null);
8197
7832
  const isOpen = activeIndex !== null;
8198
7833
  const count = images.length;
8199
- const close = react$1.useCallback(() => setActiveIndex(null), []);
8200
- const prev = react$1.useCallback(
7834
+ const close = React.useCallback(() => setActiveIndex(null), []);
7835
+ const prev = React.useCallback(
8201
7836
  () => setActiveIndex((i) => i === null ? null : (i - 1 + count) % count),
8202
7837
  [count]
8203
7838
  );
8204
- const next = react$1.useCallback(
7839
+ const next = React.useCallback(
8205
7840
  () => setActiveIndex((i) => i === null ? null : (i + 1) % count),
8206
7841
  [count]
8207
7842
  );
8208
- react$1.useEffect(() => {
7843
+ React.useEffect(() => {
8209
7844
  if (!isOpen) return;
8210
7845
  const handler = (e) => {
8211
7846
  if (e.key === "Escape") close();
@@ -8239,22 +7874,7 @@ function Lightbox({ images, columns = 3, gap = 8, className }) {
8239
7874
  " / ",
8240
7875
  count
8241
7876
  ] }),
8242
- /* @__PURE__ */ jsxRuntime.jsx(CloseButton, { "aria-label": "Zamknij", onClick: close, children: /* @__PURE__ */ jsxRuntime.jsxs(
8243
- "svg",
8244
- {
8245
- width: "18",
8246
- height: "18",
8247
- viewBox: "0 0 24 24",
8248
- fill: "none",
8249
- stroke: "currentColor",
8250
- strokeWidth: 2.5,
8251
- strokeLinecap: "round",
8252
- children: [
8253
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
8254
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
8255
- ]
8256
- }
8257
- ) }),
7877
+ /* @__PURE__ */ jsxRuntime.jsx(CloseButton, { "aria-label": "Zamknij", onClick: close, children: /* @__PURE__ */ jsxRuntime.jsx(CloseIcon__default.default, { "aria-hidden": true, style: { fontSize: 18 } }) }),
8258
7878
  /* @__PURE__ */ jsxRuntime.jsx(
8259
7879
  LightboxImage,
8260
7880
  {
@@ -8275,20 +7895,7 @@ function Lightbox({ images, columns = 3, gap = 8, className }) {
8275
7895
  e.stopPropagation();
8276
7896
  prev();
8277
7897
  },
8278
- children: /* @__PURE__ */ jsxRuntime.jsx(
8279
- "svg",
8280
- {
8281
- width: "20",
8282
- height: "20",
8283
- viewBox: "0 0 24 24",
8284
- fill: "none",
8285
- stroke: "currentColor",
8286
- strokeWidth: 2.5,
8287
- strokeLinecap: "round",
8288
- strokeLinejoin: "round",
8289
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "15 18 9 12 15 6" })
8290
- }
8291
- )
7898
+ children: /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon__default.default, { "aria-hidden": true, style: { fontSize: 20 } })
8292
7899
  }
8293
7900
  ),
8294
7901
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -8300,20 +7907,7 @@ function Lightbox({ images, columns = 3, gap = 8, className }) {
8300
7907
  e.stopPropagation();
8301
7908
  next();
8302
7909
  },
8303
- children: /* @__PURE__ */ jsxRuntime.jsx(
8304
- "svg",
8305
- {
8306
- width: "20",
8307
- height: "20",
8308
- viewBox: "0 0 24 24",
8309
- fill: "none",
8310
- stroke: "currentColor",
8311
- strokeWidth: 2.5,
8312
- strokeLinecap: "round",
8313
- strokeLinejoin: "round",
8314
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "9 18 15 12 9 6" })
8315
- }
8316
- )
7910
+ children: /* @__PURE__ */ jsxRuntime.jsx(ChevronRightIcon__default.default, { "aria-hidden": true, style: { fontSize: 20 } })
8317
7911
  }
8318
7912
  )
8319
7913
  ] })
@@ -8350,7 +7944,7 @@ var Current2 = styles.styled("span")(({ theme }) => ({
8350
7944
  var Separator2 = styles.styled("span")(({ theme }) => ({
8351
7945
  color: theme.palette.text.disabled
8352
7946
  }));
8353
- var Breadcrumbs = react$1.forwardRef(
7947
+ var Breadcrumbs = React.forwardRef(
8354
7948
  ({ items, separator = "/", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(Nav, { ref, "aria-label": "\u015Acie\u017Cka nawigacji", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(List2, { children: items.map((item, index) => {
8355
7949
  const isLast = index === items.length - 1;
8356
7950
  return /* @__PURE__ */ jsxRuntime.jsxs("li", { children: [
@@ -8404,7 +7998,7 @@ var StyledButton2 = styles.styled("button")(({ theme, $isActive, $size }) => ({
8404
7998
  pointerEvents: "none"
8405
7999
  }
8406
8000
  }));
8407
- var PaginationButton = react$1.forwardRef(
8001
+ var PaginationButton = React.forwardRef(
8408
8002
  ({ onClick, isActive = false, disabled = false, size = "md", children, "aria-label": ariaLabel }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
8409
8003
  StyledButton2,
8410
8004
  {
@@ -8468,72 +8062,10 @@ function buildPageItems(currentPage, totalPages, siblingCount) {
8468
8062
  );
8469
8063
  return [1, DOTS, ...middleRange, DOTS, totalPages];
8470
8064
  }
8471
- var ChevronLeft = () => /* @__PURE__ */ jsxRuntime.jsx(
8472
- "svg",
8473
- {
8474
- width: "1em",
8475
- height: "1em",
8476
- viewBox: "0 0 24 24",
8477
- fill: "none",
8478
- stroke: "currentColor",
8479
- strokeWidth: "2",
8480
- strokeLinecap: "round",
8481
- strokeLinejoin: "round",
8482
- "aria-hidden": "true",
8483
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "15 18 9 12 15 6" })
8484
- }
8485
- );
8486
- var ChevronRight = () => /* @__PURE__ */ jsxRuntime.jsx(
8487
- "svg",
8488
- {
8489
- width: "1em",
8490
- height: "1em",
8491
- viewBox: "0 0 24 24",
8492
- fill: "none",
8493
- stroke: "currentColor",
8494
- strokeWidth: "2",
8495
- strokeLinecap: "round",
8496
- strokeLinejoin: "round",
8497
- "aria-hidden": "true",
8498
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "9 18 15 12 9 6" })
8499
- }
8500
- );
8501
- var ChevronsLeft = () => /* @__PURE__ */ jsxRuntime.jsxs(
8502
- "svg",
8503
- {
8504
- width: "1em",
8505
- height: "1em",
8506
- viewBox: "0 0 24 24",
8507
- fill: "none",
8508
- stroke: "currentColor",
8509
- strokeWidth: "2",
8510
- strokeLinecap: "round",
8511
- strokeLinejoin: "round",
8512
- "aria-hidden": "true",
8513
- children: [
8514
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "11 17 6 12 11 7" }),
8515
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "18 17 13 12 18 7" })
8516
- ]
8517
- }
8518
- );
8519
- var ChevronsRight = () => /* @__PURE__ */ jsxRuntime.jsxs(
8520
- "svg",
8521
- {
8522
- width: "1em",
8523
- height: "1em",
8524
- viewBox: "0 0 24 24",
8525
- fill: "none",
8526
- stroke: "currentColor",
8527
- strokeWidth: "2",
8528
- strokeLinecap: "round",
8529
- strokeLinejoin: "round",
8530
- "aria-hidden": "true",
8531
- children: [
8532
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "13 17 18 12 13 7" }),
8533
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "6 17 11 12 6 7" })
8534
- ]
8535
- }
8536
- );
8065
+ var ChevronLeft = () => /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon__default.default, { "aria-hidden": "true", sx: { fontSize: "1em" } });
8066
+ var ChevronRight = () => /* @__PURE__ */ jsxRuntime.jsx(ChevronRightIcon__default.default, { "aria-hidden": "true", sx: { fontSize: "1em" } });
8067
+ var ChevronsLeft = () => /* @__PURE__ */ jsxRuntime.jsx(KeyboardDoubleArrowLeftIcon__default.default, { "aria-hidden": "true", sx: { fontSize: "1em" } });
8068
+ var ChevronsRight = () => /* @__PURE__ */ jsxRuntime.jsx(KeyboardDoubleArrowRightIcon__default.default, { "aria-hidden": "true", sx: { fontSize: "1em" } });
8537
8069
  var PaginationBar = ({
8538
8070
  currentPage,
8539
8071
  totalPages,
@@ -8664,7 +8196,7 @@ var Trigger3 = styles.styled("button", {
8664
8196
  outlineOffset: "-2px"
8665
8197
  }
8666
8198
  }));
8667
- var ChevronIcon3 = styles.styled("svg", {
8199
+ var ChevronIcon3 = styles.styled(ExpandMoreIcon__default.default, {
8668
8200
  shouldForwardProp: (p) => p !== "$open"
8669
8201
  })(({ $open }) => ({
8670
8202
  width: "1.125rem",
@@ -8690,7 +8222,7 @@ var PanelContent = styles.styled("div")(({ theme }) => ({
8690
8222
  fontSize: "0.9375rem",
8691
8223
  lineHeight: 1.7
8692
8224
  }));
8693
- var Accordion = react$1.forwardRef(
8225
+ var Accordion = React.forwardRef(
8694
8226
  ({
8695
8227
  items,
8696
8228
  defaultOpenKeys = [],
@@ -8700,7 +8232,7 @@ var Accordion = react$1.forwardRef(
8700
8232
  variant = "default",
8701
8233
  ...props
8702
8234
  }, ref) => {
8703
- const [internalKeys, setInternalKeys] = react$1.useState(defaultOpenKeys);
8235
+ const [internalKeys, setInternalKeys] = React.useState(defaultOpenKeys);
8704
8236
  const openKeys = controlledKeys ?? internalKeys;
8705
8237
  const toggle = (key, disabled) => {
8706
8238
  if (disabled) return;
@@ -8732,18 +8264,7 @@ var Accordion = react$1.forwardRef(
8732
8264
  onClick: () => toggle(item.key, item.disabled),
8733
8265
  children: [
8734
8266
  item.header,
8735
- /* @__PURE__ */ jsxRuntime.jsx(
8736
- ChevronIcon3,
8737
- {
8738
- $open: isOpen,
8739
- viewBox: "0 0 24 24",
8740
- fill: "none",
8741
- stroke: "currentColor",
8742
- strokeWidth: 2,
8743
- "aria-hidden": "true",
8744
- children: /* @__PURE__ */ jsxRuntime.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M19 9l-7 7-7-7" })
8745
- }
8746
- )
8267
+ /* @__PURE__ */ jsxRuntime.jsx(ChevronIcon3, { $open: isOpen, "aria-hidden": "true" })
8747
8268
  ]
8748
8269
  }
8749
8270
  ),
@@ -8815,9 +8336,9 @@ function BackToTop({
8815
8336
  label = "Wr\xF3\u0107 na g\xF3r\u0119",
8816
8337
  scrollTarget
8817
8338
  }) {
8818
- const [visible, setVisible] = react$1.useState(false);
8819
- const getTarget = react$1.useCallback(() => scrollTarget ? scrollTarget() : window, [scrollTarget]);
8820
- react$1.useEffect(() => {
8339
+ const [visible, setVisible] = React.useState(false);
8340
+ const getTarget = React.useCallback(() => scrollTarget ? scrollTarget() : window, [scrollTarget]);
8341
+ React.useEffect(() => {
8821
8342
  const target = getTarget();
8822
8343
  const onScroll = () => {
8823
8344
  const scrollY = target instanceof Window ? target.scrollY : target.scrollTop;
@@ -8839,21 +8360,7 @@ function BackToTop({
8839
8360
  $visible: visible,
8840
8361
  $position: position,
8841
8362
  onClick: scrollToTop,
8842
- children: /* @__PURE__ */ jsxRuntime.jsx(
8843
- "svg",
8844
- {
8845
- width: "18",
8846
- height: "18",
8847
- viewBox: "0 0 24 24",
8848
- fill: "none",
8849
- stroke: "currentColor",
8850
- strokeWidth: 2.5,
8851
- strokeLinecap: "round",
8852
- strokeLinejoin: "round",
8853
- "aria-hidden": "true",
8854
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "18 15 12 9 6 15" })
8855
- }
8856
- )
8363
+ children: /* @__PURE__ */ jsxRuntime.jsx(KeyboardArrowUpIcon__default.default, { "aria-hidden": "true", style: { fontSize: 18 } })
8857
8364
  }
8858
8365
  );
8859
8366
  }
@@ -8929,12 +8436,12 @@ function clampToViewport(x, y, el) {
8929
8436
  y: Math.min(y, window.innerHeight - h - MENU_MARGIN)
8930
8437
  };
8931
8438
  }
8932
- var ContextMenu = react$1.forwardRef(
8439
+ var ContextMenu = React.forwardRef(
8933
8440
  ({ items, children, disabled = false, ...props }, ref) => {
8934
- const [pos, setPos] = react$1.useState(null);
8935
- const menuRef = react$1.useRef(null);
8936
- const close = react$1.useCallback(() => setPos(null), []);
8937
- const handleContextMenu = react$1.useCallback(
8441
+ const [pos, setPos] = React.useState(null);
8442
+ const menuRef = React.useRef(null);
8443
+ const close = React.useCallback(() => setPos(null), []);
8444
+ const handleContextMenu = React.useCallback(
8938
8445
  (e) => {
8939
8446
  if (disabled) return;
8940
8447
  e.preventDefault();
@@ -8942,7 +8449,7 @@ var ContextMenu = react$1.forwardRef(
8942
8449
  },
8943
8450
  [disabled]
8944
8451
  );
8945
- react$1.useEffect(() => {
8452
+ React.useEffect(() => {
8946
8453
  if (!pos) return;
8947
8454
  if (menuRef.current) {
8948
8455
  const clamped = clampToViewport(pos.x, pos.y, menuRef.current);
@@ -9109,7 +8616,7 @@ var SuffixWrap = styles.styled("span")({
9109
8616
  display: "flex",
9110
8617
  alignItems: "center"
9111
8618
  });
9112
- var List3 = react$1.forwardRef(
8619
+ var List3 = React.forwardRef(
9113
8620
  ({ items, size = "md", variant = "default", dividers = true, ...props }, ref) => {
9114
8621
  const effectiveVariant = !dividers && variant === "default" ? "default" : variant;
9115
8622
  return /* @__PURE__ */ jsxRuntime.jsx(Root29, { ref, $variant: effectiveVariant, role: "list", ...props, children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
@@ -9175,7 +8682,7 @@ var ItemWrap = styles.styled("div", {
9175
8682
  flexShrink: 0,
9176
8683
  gap: $gap
9177
8684
  }));
9178
- var Marquee = react$1.forwardRef(
8685
+ var Marquee = React.forwardRef(
9179
8686
  ({ children, direction = "left", speed = "normal", pauseOnHover = true, gap = "2rem", ...props }, ref) => {
9180
8687
  const gapValue = typeof gap === "number" ? `${gap}px` : gap;
9181
8688
  const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -9292,8 +8799,8 @@ function Modal({
9292
8799
  closeOnBackdrop = true,
9293
8800
  hideCloseButton = false
9294
8801
  }) {
9295
- const dialogRef = react$1.useRef(null);
9296
- react$1.useEffect(() => {
8802
+ const dialogRef = React.useRef(null);
8803
+ React.useEffect(() => {
9297
8804
  if (!open) return;
9298
8805
  const prev = document.body.style.overflow;
9299
8806
  document.body.style.overflow = "hidden";
@@ -9301,7 +8808,7 @@ function Modal({
9301
8808
  document.body.style.overflow = prev;
9302
8809
  };
9303
8810
  }, [open]);
9304
- react$1.useEffect(() => {
8811
+ React.useEffect(() => {
9305
8812
  if (!open) return;
9306
8813
  const handleKey = (e) => {
9307
8814
  if (e.key === "Escape") onClose();
@@ -9309,7 +8816,7 @@ function Modal({
9309
8816
  document.addEventListener("keydown", handleKey);
9310
8817
  return () => document.removeEventListener("keydown", handleKey);
9311
8818
  }, [open, onClose]);
9312
- react$1.useEffect(() => {
8819
+ React.useEffect(() => {
9313
8820
  if (open) dialogRef.current?.focus();
9314
8821
  }, [open]);
9315
8822
  if (!open) return null;
@@ -9327,22 +8834,7 @@ function Modal({
9327
8834
  children: [
9328
8835
  (title || !hideCloseButton) && /* @__PURE__ */ jsxRuntime.jsxs(Header, { children: [
9329
8836
  title ? /* @__PURE__ */ jsxRuntime.jsx(Title5, { id: "modal-title", children: title }) : /* @__PURE__ */ jsxRuntime.jsx("span", {}),
9330
- !hideCloseButton && /* @__PURE__ */ jsxRuntime.jsx(CloseButton2, { "aria-label": "Zamknij", onClick: onClose, children: /* @__PURE__ */ jsxRuntime.jsxs(
9331
- "svg",
9332
- {
9333
- width: "16",
9334
- height: "16",
9335
- viewBox: "0 0 24 24",
9336
- fill: "none",
9337
- stroke: "currentColor",
9338
- strokeWidth: 2,
9339
- strokeLinecap: "round",
9340
- children: [
9341
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
9342
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
9343
- ]
9344
- }
9345
- ) })
8837
+ !hideCloseButton && /* @__PURE__ */ jsxRuntime.jsx(CloseButton2, { "aria-label": "Zamknij", onClick: onClose, children: /* @__PURE__ */ jsxRuntime.jsx(CloseIcon__default.default, { "aria-hidden": true, style: { fontSize: 16 } }) })
9346
8838
  ] }),
9347
8839
  children && /* @__PURE__ */ jsxRuntime.jsx(Body, { children }),
9348
8840
  footer && /* @__PURE__ */ jsxRuntime.jsx(Footer3, { children: footer })
@@ -9424,9 +8916,9 @@ var Panel2 = styles.styled("div")(({ theme }) => ({
9424
8916
  fontFamily: theme.typography.fontFamily,
9425
8917
  color: theme.palette.text.primary
9426
8918
  }));
9427
- var Tabs = react$1.forwardRef(
8919
+ var Tabs = React.forwardRef(
9428
8920
  ({ tabs, defaultActiveKey, activeKey: controlledKey, onChange, variant = "underline", ...props }, ref) => {
9429
- const [internalKey, setInternalKey] = react$1.useState(defaultActiveKey ?? tabs[0]?.key ?? "");
8921
+ const [internalKey, setInternalKey] = React.useState(defaultActiveKey ?? tabs[0]?.key ?? "");
9430
8922
  const activeKey = controlledKey ?? internalKey;
9431
8923
  const handleSelect = (key) => {
9432
8924
  if (controlledKey === void 0) setInternalKey(key);
@@ -9561,7 +9053,7 @@ var Footer4 = styles.styled("div")(({ theme }) => ({
9561
9053
  padding: "1rem 1.25rem",
9562
9054
  borderTop: `1px solid ${theme.palette.divider}`
9563
9055
  }));
9564
- var CartDrawer = react$1.forwardRef(
9056
+ var CartDrawer = React.forwardRef(
9565
9057
  ({
9566
9058
  open,
9567
9059
  title = "Koszyk",
@@ -9686,7 +9178,7 @@ function renderOptions(options, selected, onToggle) {
9686
9178
  option.count !== void 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { children: option.count })
9687
9179
  ] }, option.value));
9688
9180
  }
9689
- var FilterSidebar = react$1.forwardRef(
9181
+ var FilterSidebar = React.forwardRef(
9690
9182
  ({
9691
9183
  categories = [],
9692
9184
  colors = [],
@@ -9830,7 +9322,7 @@ var TotalRow = styles.styled(Row5)(({ theme }) => ({
9830
9322
  fontSize: "1rem",
9831
9323
  fontWeight: 800
9832
9324
  }));
9833
- var OrderSummary = react$1.forwardRef(
9325
+ var OrderSummary = React.forwardRef(
9834
9326
  ({
9835
9327
  title = "Podsumowanie zam\xF3wienia",
9836
9328
  items = [],
@@ -9899,7 +9391,7 @@ OrderSummary.displayName = "OrderSummary";
9899
9391
  var List4 = styles.styled("div")(({ $hasHeading }) => ({
9900
9392
  marginTop: $hasHeading ? "2.5rem" : 0
9901
9393
  }));
9902
- var FaqSection = react$1.forwardRef(
9394
+ var FaqSection = React.forwardRef(
9903
9395
  ({
9904
9396
  title = "Najcz\u0119\u015Bciej zadawane pytania",
9905
9397
  description,
@@ -9938,7 +9430,7 @@ var Grid2 = styles.styled("div", {
9938
9430
  gridTemplateColumns: `repeat(${$columns}, minmax(0, 1fr))`
9939
9431
  }
9940
9432
  }));
9941
- var FeatureGrid = react$1.forwardRef(
9433
+ var FeatureGrid = React.forwardRef(
9942
9434
  ({
9943
9435
  title,
9944
9436
  description,
@@ -9982,7 +9474,7 @@ var Grid3 = styles.styled("div", {
9982
9474
  gridTemplateColumns: `repeat(${$columns}, minmax(0, 1fr))`
9983
9475
  }
9984
9476
  }));
9985
- var LogoCloud = react$1.forwardRef(
9477
+ var LogoCloud = React.forwardRef(
9986
9478
  ({
9987
9479
  title = "Zaufali nam",
9988
9480
  description,
@@ -10083,7 +9575,7 @@ var SuccessMessage = styles.styled("p")(({ theme }) => ({
10083
9575
  fontFamily: theme.typography.fontFamily,
10084
9576
  textAlign: "center"
10085
9577
  }));
10086
- var NewsletterSection = react$1.forwardRef(
9578
+ var NewsletterSection = React.forwardRef(
10087
9579
  ({
10088
9580
  title = "B\u0105d\u017A na bie\u017C\u0105co",
10089
9581
  description = "Zapisz si\u0119 do newslettera i otrzymuj najnowsze informacje prosto na swoj\u0105 skrzynk\u0119.",
@@ -10098,8 +9590,8 @@ var NewsletterSection = react$1.forwardRef(
10098
9590
  onSubmit,
10099
9591
  ...rest
10100
9592
  }, ref) => {
10101
- const [email, setEmail] = react$1.useState("");
10102
- const [submitted, setSubmitted] = react$1.useState(false);
9593
+ const [email, setEmail] = React.useState("");
9594
+ const [submitted, setSubmitted] = React.useState(false);
10103
9595
  const handleSubmit = (e) => {
10104
9596
  e.preventDefault();
10105
9597
  if (!email) return;
@@ -10211,21 +9703,12 @@ var Connector = styles.styled("div")(({ theme }) => ({
10211
9703
  }
10212
9704
  }));
10213
9705
  function ArrowIcon() {
10214
- return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx(
10215
- "path",
10216
- {
10217
- d: "M5 12h14M13 6l6 6-6 6",
10218
- stroke: "currentColor",
10219
- strokeWidth: "1.5",
10220
- strokeLinecap: "round",
10221
- strokeLinejoin: "round"
10222
- }
10223
- ) });
9706
+ return /* @__PURE__ */ jsxRuntime.jsx(ArrowForwardIcon__default.default, { "aria-hidden": "true", style: { fontSize: 24 } });
10224
9707
  }
10225
9708
  function ProcessSection({ title, description, steps, ...props }) {
10226
9709
  return /* @__PURE__ */ jsxRuntime.jsx(Section3, { ...props, children: /* @__PURE__ */ jsxRuntime.jsxs(Inner2, { children: [
10227
9710
  (title || description) && /* @__PURE__ */ jsxRuntime.jsx(SectionHeading, { title: title ?? "", description, align: "center" }),
10228
- /* @__PURE__ */ jsxRuntime.jsx(StepsRow, { children: steps.map((step, i) => /* @__PURE__ */ jsxRuntime.jsxs(react$1.Fragment, { children: [
9711
+ /* @__PURE__ */ jsxRuntime.jsx(StepsRow, { children: steps.map((step, i) => /* @__PURE__ */ jsxRuntime.jsxs(React.Fragment, { children: [
10229
9712
  /* @__PURE__ */ jsxRuntime.jsx(StepWrapper, { children: /* @__PURE__ */ jsxRuntime.jsx(
10230
9713
  ProcessStep,
10231
9714
  {
@@ -10253,7 +9736,7 @@ var Grid5 = styles.styled("div", {
10253
9736
  gridTemplateColumns: `repeat(${$columns}, minmax(0, 1fr))`
10254
9737
  }
10255
9738
  }));
10256
- var StatsSection = react$1.forwardRef(
9739
+ var StatsSection = React.forwardRef(
10257
9740
  ({
10258
9741
  title,
10259
9742
  description,
@@ -10296,7 +9779,7 @@ var Grid6 = styles.styled("div", {
10296
9779
  gridTemplateColumns: `repeat(${$columns}, minmax(0, 1fr))`
10297
9780
  }
10298
9781
  }));
10299
- var TeamSection = react$1.forwardRef(
9782
+ var TeamSection = React.forwardRef(
10300
9783
  ({
10301
9784
  title = "Nasz zesp\xF3\u0142",
10302
9785
  description,
@@ -10338,7 +9821,7 @@ var Grid7 = styles.styled("div", {
10338
9821
  gridTemplateColumns: `repeat(${$columns}, minmax(0, 1fr))`
10339
9822
  }
10340
9823
  }));
10341
- var TestimonialsSection = react$1.forwardRef(
9824
+ var TestimonialsSection = React.forwardRef(
10342
9825
  ({
10343
9826
  title = "Co m\xF3wi\u0105 nasi klienci",
10344
9827
  description,
@@ -10404,7 +9887,7 @@ var SearchRow = styles.styled("div")(({ theme }) => ({
10404
9887
  borderBottom: `1px solid ${theme.palette.divider}`,
10405
9888
  flexShrink: 0
10406
9889
  }));
10407
- var SearchIcon2 = styles.styled("div")(({ theme }) => ({
9890
+ var SearchIconWrap = styles.styled("div")(({ theme }) => ({
10408
9891
  flexShrink: 0,
10409
9892
  color: theme.palette.text.secondary,
10410
9893
  display: "flex"
@@ -10548,14 +10031,14 @@ function CommandPalette({
10548
10031
  emptyLabel = "Brak wynik\xF3w dla podanej frazy.",
10549
10032
  onSelect
10550
10033
  }) {
10551
- const id = react$1.useId();
10552
- const [query, setQuery] = react$1.useState("");
10553
- const [activeIndex, setActiveIndex] = react$1.useState(0);
10554
- const inputRef = react$1.useRef(null);
10555
- const activeItemRef = react$1.useRef(null);
10034
+ const id = React.useId();
10035
+ const [query, setQuery] = React.useState("");
10036
+ const [activeIndex, setActiveIndex] = React.useState(0);
10037
+ const inputRef = React.useRef(null);
10038
+ const activeItemRef = React.useRef(null);
10556
10039
  const filtered = filterGroups(groups, query);
10557
10040
  const flat = flatItems(filtered);
10558
- const handleSelect = react$1.useCallback(
10041
+ const handleSelect = React.useCallback(
10559
10042
  (item) => {
10560
10043
  item.onSelect?.();
10561
10044
  onSelect?.(item);
@@ -10563,20 +10046,20 @@ function CommandPalette({
10563
10046
  },
10564
10047
  [onSelect, onClose]
10565
10048
  );
10566
- react$1.useEffect(() => {
10049
+ React.useEffect(() => {
10567
10050
  if (open) {
10568
10051
  setQuery("");
10569
10052
  setActiveIndex(0);
10570
10053
  setTimeout(() => inputRef.current?.focus(), 0);
10571
10054
  }
10572
10055
  }, [open]);
10573
- react$1.useEffect(() => {
10056
+ React.useEffect(() => {
10574
10057
  setActiveIndex(0);
10575
10058
  }, [query]);
10576
- react$1.useEffect(() => {
10059
+ React.useEffect(() => {
10577
10060
  activeItemRef.current?.scrollIntoView?.({ block: "nearest" });
10578
10061
  }, [activeIndex]);
10579
- react$1.useEffect(() => {
10062
+ React.useEffect(() => {
10580
10063
  const handler = (e) => {
10581
10064
  if (!open) return;
10582
10065
  if (e.key === "Escape") {
@@ -10620,23 +10103,7 @@ function CommandPalette({
10620
10103
  "aria-describedby": `${id}-hint`,
10621
10104
  children: [
10622
10105
  /* @__PURE__ */ jsxRuntime.jsxs(SearchRow, { children: [
10623
- /* @__PURE__ */ jsxRuntime.jsx(SearchIcon2, { "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsxs(
10624
- "svg",
10625
- {
10626
- width: "18",
10627
- height: "18",
10628
- viewBox: "0 0 24 24",
10629
- fill: "none",
10630
- stroke: "currentColor",
10631
- strokeWidth: "2",
10632
- strokeLinecap: "round",
10633
- strokeLinejoin: "round",
10634
- children: [
10635
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "11", cy: "11", r: "8" }),
10636
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
10637
- ]
10638
- }
10639
- ) }),
10106
+ /* @__PURE__ */ jsxRuntime.jsx(SearchIconWrap, { "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx(SearchMuiIcon__default.default, { style: { fontSize: 18 } }) }),
10640
10107
  /* @__PURE__ */ jsxRuntime.jsx(
10641
10108
  SearchInput3,
10642
10109
  {
@@ -10900,9 +10367,9 @@ function CookieConsent({
10900
10367
  privacyPolicyLabel,
10901
10368
  privacyPolicyHref
10902
10369
  }) {
10903
- const id = react$1.useId();
10904
- const [expanded, setExpanded] = react$1.useState(false);
10905
- const [prefs, setPrefs] = react$1.useState(
10370
+ const id = React.useId();
10371
+ const [expanded, setExpanded] = React.useState(false);
10372
+ const [prefs, setPrefs] = React.useState(
10906
10373
  () => Object.fromEntries(categories.map((c) => [c.id, c.defaultEnabled ?? false]))
10907
10374
  );
10908
10375
  if (!open) return null;
@@ -11249,69 +10716,7 @@ var MobileNavLink = styles.styled("a", {
11249
10716
  }
11250
10717
  }));
11251
10718
  function HamburgerIcon({ open }) {
11252
- return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: open ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
11253
- /* @__PURE__ */ jsxRuntime.jsx(
11254
- "line",
11255
- {
11256
- x1: "4",
11257
- y1: "4",
11258
- x2: "20",
11259
- y2: "20",
11260
- stroke: "currentColor",
11261
- strokeWidth: "2",
11262
- strokeLinecap: "round"
11263
- }
11264
- ),
11265
- /* @__PURE__ */ jsxRuntime.jsx(
11266
- "line",
11267
- {
11268
- x1: "20",
11269
- y1: "4",
11270
- x2: "4",
11271
- y2: "20",
11272
- stroke: "currentColor",
11273
- strokeWidth: "2",
11274
- strokeLinecap: "round"
11275
- }
11276
- )
11277
- ] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
11278
- /* @__PURE__ */ jsxRuntime.jsx(
11279
- "line",
11280
- {
11281
- x1: "4",
11282
- y1: "7",
11283
- x2: "20",
11284
- y2: "7",
11285
- stroke: "currentColor",
11286
- strokeWidth: "2",
11287
- strokeLinecap: "round"
11288
- }
11289
- ),
11290
- /* @__PURE__ */ jsxRuntime.jsx(
11291
- "line",
11292
- {
11293
- x1: "4",
11294
- y1: "12",
11295
- x2: "20",
11296
- y2: "12",
11297
- stroke: "currentColor",
11298
- strokeWidth: "2",
11299
- strokeLinecap: "round"
11300
- }
11301
- ),
11302
- /* @__PURE__ */ jsxRuntime.jsx(
11303
- "line",
11304
- {
11305
- x1: "4",
11306
- y1: "17",
11307
- x2: "20",
11308
- y2: "17",
11309
- stroke: "currentColor",
11310
- strokeWidth: "2",
11311
- strokeLinecap: "round"
11312
- }
11313
- )
11314
- ] }) });
10719
+ return open ? /* @__PURE__ */ jsxRuntime.jsx(CloseIcon__default.default, { "aria-hidden": "true", style: { fontSize: 24 } }) : /* @__PURE__ */ jsxRuntime.jsx(MenuIcon__default.default, { "aria-hidden": "true", style: { fontSize: 24 } });
11315
10720
  }
11316
10721
  function Navbar({
11317
10722
  logo,
@@ -11320,7 +10725,7 @@ function Navbar({
11320
10725
  sticky = false,
11321
10726
  variant = "filled"
11322
10727
  }) {
11323
- const [mobileOpen, setMobileOpen] = react$1.useState(false);
10728
+ const [mobileOpen, setMobileOpen] = React.useState(false);
11324
10729
  return /* @__PURE__ */ jsxRuntime.jsxs(Root35, { $sticky: sticky, $variant: variant, children: [
11325
10730
  /* @__PURE__ */ jsxRuntime.jsxs(Inner5, { children: [
11326
10731
  logo && /* @__PURE__ */ jsxRuntime.jsx(LogoSlot, { children: logo }),
@@ -11429,7 +10834,7 @@ var MyThemeProvider = ({
11429
10834
  disableCssBaseline = false,
11430
10835
  children
11431
10836
  }) => {
11432
- const resolvedTheme = react$1.useMemo(() => {
10837
+ const resolvedTheme = React.useMemo(() => {
11433
10838
  if (theme) return theme;
11434
10839
  switch (mode) {
11435
10840
  case "dark":
@@ -11446,6 +10851,41 @@ var MyThemeProvider = ({
11446
10851
  children
11447
10852
  ] });
11448
10853
  };
10854
+ function EmotionRegistry({ children }) {
10855
+ const [{ cache, flush }] = React__namespace.useState(() => {
10856
+ const c = createCache__default.default({ key: "css", prepend: true });
10857
+ c.compat = true;
10858
+ const prevInsert = c.insert.bind(c);
10859
+ let inserted = [];
10860
+ c.insert = (...args) => {
10861
+ const serialized = args[1];
10862
+ if (c.inserted[serialized.name] === void 0) {
10863
+ inserted.push(serialized.name);
10864
+ }
10865
+ return prevInsert(...args);
10866
+ };
10867
+ return {
10868
+ cache: c,
10869
+ flush: () => {
10870
+ const s = inserted;
10871
+ inserted = [];
10872
+ return s;
10873
+ }
10874
+ };
10875
+ });
10876
+ navigation.useServerInsertedHTML(() => {
10877
+ const names = flush();
10878
+ if (!names.length) return null;
10879
+ return /* @__PURE__ */ jsxRuntime.jsx(
10880
+ "style",
10881
+ {
10882
+ "data-emotion": `${cache.key} ${names.join(" ")}`,
10883
+ dangerouslySetInnerHTML: { __html: names.map((n) => cache.inserted[n]).join("") }
10884
+ }
10885
+ );
10886
+ });
10887
+ return /* @__PURE__ */ jsxRuntime.jsx(react.CacheProvider, { value: cache, children });
10888
+ }
11449
10889
 
11450
10890
  exports.Accordion = Accordion;
11451
10891
  exports.Article = Article;
@@ -11471,6 +10911,7 @@ exports.CountryFlag = CountryFlag;
11471
10911
  exports.CouponInput = CouponInput;
11472
10912
  exports.DateTimePicker = DateTimePicker;
11473
10913
  exports.EmailInput = EmailInput;
10914
+ exports.EmotionRegistry = EmotionRegistry;
11474
10915
  exports.FaqItem = FaqItem;
11475
10916
  exports.FaqSection = FaqSection;
11476
10917
  exports.FeatureGrid = FeatureGrid;