@clickhouse/click-ui 0.0.169 → 0.0.170

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.
@@ -1,6 +1,6 @@
1
1
  (function(global2, factory) {
2
2
  typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react/jsx-runtime"), require("styled-components"), require("react"), require("react-dom")) : typeof define === "function" && define.amd ? define(["exports", "react/jsx-runtime", "styled-components", "react", "react-dom"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2["click-ui"] = {}, global2.jsxRuntime, global2.styled, global2.React, global2.ReactDOM));
3
- })(this, function(exports2, jsxRuntime, styledComponents, React, ReactDOM) {
3
+ })(this, function(exports2, jsxRuntime, styled, React, ReactDOM) {
4
4
  "use strict";var __defProp = Object.defineProperty;
5
5
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6
6
  var __publicField = (obj, key, value) => {
@@ -237,7 +237,7 @@ var __publicField = (obj, key, value) => {
237
237
  /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M4 8.6V21h16V8.6" }),
238
238
  /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "m2 10 10-7 10 7M15 21v-6a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v6" })
239
239
  ] });
240
- const animationCircle1 = styledComponents.keyframes`
240
+ const animationCircle1 = styled.keyframes`
241
241
  0 {
242
242
  r: 0;
243
243
  }
@@ -251,7 +251,7 @@ var __publicField = (obj, key, value) => {
251
251
  r: 0;
252
252
  }
253
253
  `;
254
- const animationCircle2 = styledComponents.keyframes`
254
+ const animationCircle2 = styled.keyframes`
255
255
  0 {
256
256
  r: 0;
257
257
  }
@@ -268,7 +268,7 @@ var __publicField = (obj, key, value) => {
268
268
  r: 0
269
269
  }
270
270
  `;
271
- const animationCircle3 = styledComponents.keyframes`
271
+ const animationCircle3 = styled.keyframes`
272
272
  0 {
273
273
  r: 0;
274
274
  }
@@ -282,7 +282,7 @@ var __publicField = (obj, key, value) => {
282
282
  r: 0
283
283
  }
284
284
  `;
285
- const HorizontalLoading = styledComponents.styled(DotsHorizontal).withConfig({
285
+ const HorizontalLoading = styled.styled(DotsHorizontal).withConfig({
286
286
  componentId: "sc-1b02o5c-0"
287
287
  })(["circle{animation-name:horizontal-loading;animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;-webkit-animation-name:horizontal-loading;-webkit-animation-duration:1.5s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;-moz-animation-name:horizontal-loading;-moz-animation-duration:1.5s;-moz-animation-iteration-count:infinite;-moz-animation-timing-function:linear;&:nth-child(1){animation-name:", ";-webkit-animation-name:", ";-moz-animation-name:", ";}&:nth-child(2){animation-name:", ";-webkit-animation-name:", ";-moz-animation-name:", ";}&:nth-child(3){animation-name:", ";-webkit-animation-name:", ";-moz-animation-name:", ";}}"], animationCircle1, animationCircle1, animationCircle1, animationCircle2, animationCircle2, animationCircle2, animationCircle3, animationCircle3, animationCircle3);
288
288
  const Http = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M3 13.8v-3.6M5.88 10.2v3.6M5.88 12H3M10.92 10.2H8.04M9.48 10.2v3.6M18.12 10.2v3.6M15.96 10.2h-2.88M14.52 10.2v3.6M18.12 10.2h1.755c.621 0 1.125.504 1.125 1.125v0c0 .621-.504 1.125-1.125 1.125H18.12M3 7V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v2M21 17v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2" }) });
@@ -318,7 +318,7 @@ var __publicField = (obj, key, value) => {
318
318
  /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.25, d: "M16.375 15.125H19.5v3.125" }),
319
319
  /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M4.5 12a7.495 7.495 0 0 0 14.312 3.125" })
320
320
  ] });
321
- const LoadingFlipped = styledComponents.styled(Loading).withConfig({
321
+ const LoadingFlipped = styled.styled(Loading).withConfig({
322
322
  componentId: "sc-15ao23s-0"
323
323
  })(["transform:scaleX(-1);"]);
324
324
  const Lock = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
@@ -326,7 +326,7 @@ var __publicField = (obj, key, value) => {
326
326
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12.375 14.458V17.5537", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
327
327
  /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.375 21.6813H7.375C6.27 21.6813 5.375 20.7578 5.375 19.6176V12.3943C5.375 11.2541 6.27 10.3306 7.375 10.3306H17.375C18.48 10.3306 19.375 11.2541 19.375 12.3943V19.6176C19.375 20.7578 18.48 21.6813 17.375 21.6813Z", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
328
328
  ] });
329
- const spin = styledComponents.keyframes`
329
+ const spin = styled.keyframes`
330
330
  from {
331
331
  transform: rotate(0deg) scaleX(-1);
332
332
  }
@@ -334,7 +334,7 @@ var __publicField = (obj, key, value) => {
334
334
  transform: rotate(360deg) scaleX(-1);
335
335
  }
336
336
  `;
337
- const LoadingAnimated = styledComponents.styled(LoadingFlipped).withConfig({
337
+ const LoadingAnimated = styled.styled(LoadingFlipped).withConfig({
338
338
  componentId: "sc-1h6qu7m-0"
339
339
  })(["animation:", " 1s infinite linear;"], spin);
340
340
  const Metrics = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...props, children: [
@@ -605,7 +605,7 @@ var __publicField = (obj, key, value) => {
605
605
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 4V8C8 8.63 8.296 9.222 8.8 9.6L12 12L15.2 9.6C15.704 9.222 16 8.63 16 8V4", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
606
606
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16 20V16C16 15.37 15.704 14.778 15.2 14.4L12 12L8.8 14.4C8.296 14.778 8 15.37 8 16V20", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
607
607
  ] });
608
- const Calendar = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
608
+ const Calendar$1 = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
609
609
  /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "2.99609", y: "2.99658", width: "18.0075", height: "18.0075", rx: "3", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
610
610
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21.0036 7.99826H2.99609", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
611
611
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17.3022 11.4997C17.3022 11.5273 17.2798 11.5497 17.2522 11.5497C17.2245 11.5497 17.2021 11.5273 17.2021 11.4997C17.2021 11.4721 17.2245 11.4497 17.2522 11.4497", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
@@ -704,7 +704,7 @@ var __publicField = (obj, key, value) => {
704
704
  briefcase: Briefcase,
705
705
  building: Building,
706
706
  "burger-menu": BurgerMenu,
707
- calendar: Calendar,
707
+ calendar: Calendar$1,
708
708
  "calendar-with-time": CalendarWithTime,
709
709
  cards: Cards,
710
710
  "cell-tower": CellTower,
@@ -1387,7 +1387,7 @@ var __publicField = (obj, key, value) => {
1387
1387
  ] }),
1388
1388
  /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_5333_368", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "30", height: "20", rx: "1", fill: "white" }) }) })
1389
1389
  ] });
1390
- const FormRoot = styledComponents.styled.div.withConfig({
1390
+ const FormRoot = styled.styled.div.withConfig({
1391
1391
  componentId: "sc-1sddmxu-0"
1392
1392
  })(["display:flex;width:100%;gap:", ";", " *{box-shadow:none;outline:none;}"], ({
1393
1393
  theme: theme2
@@ -1406,7 +1406,7 @@ var __publicField = (obj, key, value) => {
1406
1406
  }
1407
1407
  ` : ""}
1408
1408
  `);
1409
- const Error$1 = styledComponents.styled.div.withConfig({
1409
+ const Error$1 = styled.styled.div.withConfig({
1410
1410
  componentId: "sc-1sddmxu-1"
1411
1411
  })(["", ";"], ({
1412
1412
  theme: theme2
@@ -1414,10 +1414,10 @@ var __publicField = (obj, key, value) => {
1414
1414
  font: ${theme2.click.field.typography.label.error};
1415
1415
  color: ${theme2.click.field.color.label.error};
1416
1416
  `);
1417
- const EmptyButton$1 = styledComponents.styled.button.withConfig({
1417
+ const EmptyButton$1 = styled.styled.button.withConfig({
1418
1418
  componentId: "sc-1sddmxu-2"
1419
1419
  })(["background:transparent;border:none;cursor:pointer;outline:none;padding:0;border:0;color:inherit;font:inherit;&:disabled{cursor:not-allowed;}"]);
1420
- const CrossButton = styledComponents.styled(EmptyButton$1).withConfig({
1420
+ const CrossButton = styled.styled(EmptyButton$1).withConfig({
1421
1421
  componentId: "sc-1sddmxu-3"
1422
1422
  })(["padding:", " ", ";background:", ";border-radius:", ";&:hover{background:", ";}"], ({
1423
1423
  theme: theme2
@@ -1430,10 +1430,10 @@ var __publicField = (obj, key, value) => {
1430
1430
  }) => theme2.click.button.iconButton.radii.all, ({
1431
1431
  theme: theme2
1432
1432
  }) => theme2.click.button.iconButton.color.primary.background.hover);
1433
- styledComponents.styled.div.withConfig({
1433
+ styled.styled.div.withConfig({
1434
1434
  componentId: "sc-1sddmxu-4"
1435
1435
  })(["display:grid;place-items:center;width:100%;height:100%;"]);
1436
- const BaseButton = styledComponents.styled.button.withConfig({
1436
+ const BaseButton = styled.styled.button.withConfig({
1437
1437
  componentId: "sc-1sddmxu-5"
1438
1438
  })(["display:flex;flex-direction:row;justify-content:center;align-items:center;cursor:pointer;", ""], ({
1439
1439
  theme: theme2
@@ -1459,7 +1459,7 @@ var __publicField = (obj, key, value) => {
1459
1459
  cursor: not-allowed;
1460
1460
  }
1461
1461
  `);
1462
- const SvgImageElement = styledComponents.styled.svg.withConfig({
1462
+ const SvgImageElement = styled.styled.svg.withConfig({
1463
1463
  componentId: "sc-1sddmxu-6"
1464
1464
  })(["display:flex;align-items:center;", ""], ({
1465
1465
  theme: theme2,
@@ -1470,12 +1470,12 @@ var __publicField = (obj, key, value) => {
1470
1470
  height: ${theme2.click.image[$size].size.height};
1471
1471
  ` : ""}
1472
1472
  `);
1473
- const FormElementContainer = styledComponents.styled.div.withConfig({
1473
+ const FormElementContainer = styled.styled.div.withConfig({
1474
1474
  componentId: "sc-1sddmxu-7"
1475
1475
  })(["display:flex;flex-direction:column;align-items:flex-start;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;gap:", ";"], ({
1476
1476
  theme: theme2
1477
1477
  }) => theme2.click.field.space.gap);
1478
- styledComponents.styled.span.withConfig({
1478
+ styled.styled.span.withConfig({
1479
1479
  componentId: "sc-1sddmxu-8"
1480
1480
  })(["display:flex;white-space:nowrap;overflow:hidden;justify-content:flex-end;gap:inherit;& > *:not(button){overflow:hidden;text-overflow:ellipsis;}"]);
1481
1481
  const Switzerland = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "30", height: "20", viewBox: "0 0 30 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
@@ -2234,7 +2234,7 @@ var __publicField = (obj, key, value) => {
2234
2234
  }) => {
2235
2235
  const {
2236
2236
  name: themeName
2237
- } = styledComponents.useTheme();
2237
+ } = styled.useTheme();
2238
2238
  const Component = ["light", "classic"].includes(theme2 ?? themeName) ? LogosLight[name2] : LogosDark[name2];
2239
2239
  if (!Component) {
2240
2240
  return null;
@@ -2313,7 +2313,7 @@ var __publicField = (obj, key, value) => {
2313
2313
  }
2314
2314
  return /* @__PURE__ */ jsxRuntime.jsx(SvgWrapper, { $color: color, $width: width, $height: height, $size: size2, className, state, children: /* @__PURE__ */ jsxRuntime.jsx(Component, { ...props }) });
2315
2315
  };
2316
- const SvgWrapper = styledComponents.styled.div.withConfig({
2316
+ const SvgWrapper = styled.styled.div.withConfig({
2317
2317
  componentId: "sc-29ieut-0"
2318
2318
  })(["display:flex;align-items:center;", " ", ""], ({
2319
2319
  theme: theme2,
@@ -2373,7 +2373,7 @@ var __publicField = (obj, key, value) => {
2373
2373
  return /* @__PURE__ */ jsxRuntime.jsx(Button$2, { ...props, $styleType: type, $size: size2, ref, role: "button", "aria-label": iconName, children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: icon, size: "sm" }) });
2374
2374
  });
2375
2375
  IconButton$1.displayName = "IconButton";
2376
- const Button$2 = styledComponents.styled.button.withConfig({
2376
+ const Button$2 = styled.styled.button.withConfig({
2377
2377
  componentId: "sc-4ff7ue-0"
2378
2378
  })(["", ""], ({
2379
2379
  theme: theme2,
@@ -2411,7 +2411,7 @@ var __publicField = (obj, key, value) => {
2411
2411
  cursor: not-allowed;
2412
2412
  }
2413
2413
  `);
2414
- const FormFieldLabel$1 = styledComponents.styled.label.withConfig({
2414
+ const FormFieldLabel$1 = styled.styled.label.withConfig({
2415
2415
  componentId: "sc-1gg29zb-0"
2416
2416
  })(["", ""], ({
2417
2417
  theme: theme2,
@@ -2443,7 +2443,7 @@ var __publicField = (obj, key, value) => {
2443
2443
  children,
2444
2444
  ...props
2445
2445
  }) => /* @__PURE__ */ jsxRuntime.jsx(FormFieldLabel$1, { disabled, $error: error2, ...props, children });
2446
- const FormFieldLabel = styledComponents.styled.label.withConfig({
2446
+ const FormFieldLabel = styled.styled.label.withConfig({
2447
2447
  componentId: "sc-e2xmgs-0"
2448
2448
  })(["", ""], ({
2449
2449
  theme: theme2,
@@ -7553,7 +7553,7 @@ var __publicField = (obj, key, value) => {
7553
7553
  const $d08ef79370b62062$export$d7a01e11500dfb6f = $d08ef79370b62062$export$2f307d81a64f5442;
7554
7554
  const $d08ef79370b62062$export$2ea8a7a591ac5eac = $d08ef79370b62062$export$21dcb7ec56f874cf;
7555
7555
  const $d08ef79370b62062$export$6d4de93b380beddf = $d08ef79370b62062$export$f34ec8bc2482cc5f;
7556
- const GenericMenuPanel = styledComponents.styled.div.withConfig({
7556
+ const GenericMenuPanel = styled.styled.div.withConfig({
7557
7557
  componentId: "sc-1fv0ktx-0"
7558
7558
  })(["outline:none;max-width:var(--radix-", "-content-available-width);max-height:var(--radix-", "-content-available-height);overflow:hidden;display:flex;align-items:flex-start;pointer-events:auto;", ";", ";"], ({
7559
7559
  $type
@@ -7583,7 +7583,7 @@ var __publicField = (obj, key, value) => {
7583
7583
  margin-left: -1px;
7584
7584
  }
7585
7585
  ` : "");
7586
- const GenericPopoverMenuPanel = styledComponents.styled.div.withConfig({
7586
+ const GenericPopoverMenuPanel = styled.styled.div.withConfig({
7587
7587
  componentId: "sc-1fv0ktx-1"
7588
7588
  })(["outline:none;max-width:var(--radix-", "-content-available-width);max-height:var(--radix-", "-content-available-height);overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;z-index:1;", " ", ";"], ({
7589
7589
  $type
@@ -7600,7 +7600,7 @@ var __publicField = (obj, key, value) => {
7600
7600
  `, ({
7601
7601
  $showArrow
7602
7602
  }) => $showArrow ? "margin: -1px 0;" : "");
7603
- const Arrow$1 = styledComponents.styled.svg.withConfig({
7603
+ const Arrow$1 = styled.styled.svg.withConfig({
7604
7604
  componentId: "sc-1fv0ktx-2"
7605
7605
  })(["filter:drop-shadow(rgba(0,0,0,0.1) 0px 4px 6px);", ";"], ({
7606
7606
  theme: theme2
@@ -7608,7 +7608,7 @@ var __publicField = (obj, key, value) => {
7608
7608
  fill: ${theme2.click.genericMenu.panel.color.background.default};
7609
7609
  stroke: ${theme2.click.genericMenu.panel.color.stroke.default};
7610
7610
  `);
7611
- const GenericMenuItem = styledComponents.styled.div.withConfig({
7611
+ const GenericMenuItem = styled.styled.div.withConfig({
7612
7612
  componentId: "sc-1fv0ktx-3"
7613
7613
  })(["display:flex;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;align-items:center;justify-content:flex-start;cursor:default;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;outline:none;&[aria-selected]{outline:none;}", ';position:relative;&:hover .dropdown-arrow,&[data-state="open"] .dropdown-arrow{left:0.5rem;}&[hidden]{display:none;}'], ({
7614
7614
  theme: theme2
@@ -7654,7 +7654,7 @@ var __publicField = (obj, key, value) => {
7654
7654
  }
7655
7655
  });
7656
7656
  };
7657
- const EllipsisContainer$1 = styledComponents.styled.div.withConfig({
7657
+ const EllipsisContainer$1 = styled.styled.div.withConfig({
7658
7658
  componentId: "sc-1ibz5fp-0"
7659
7659
  })(["display:inline-block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;justify-content:flex-start;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;& > *:not(button){overflow:hidden;text-overflow:ellipsis;}"]);
7660
7660
  const _EllipsisContent = ({
@@ -7668,7 +7668,7 @@ var __publicField = (obj, key, value) => {
7668
7668
  }]), ...props });
7669
7669
  };
7670
7670
  const EllipsisContent = React.forwardRef(_EllipsisContent);
7671
- const LabelContainer$1 = styledComponents.styled.div.withConfig({
7671
+ const LabelContainer$1 = styled.styled.div.withConfig({
7672
7672
  componentId: "sc-1likhxd-0"
7673
7673
  })(["display:grid;grid-template-columns:", ";align-items:center;justify-content:flex-start;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;gap:", ";"], ({
7674
7674
  $hasIcon,
@@ -7692,7 +7692,7 @@ var __publicField = (obj, key, value) => {
7692
7692
  ] });
7693
7693
  };
7694
7694
  const Dropdown = (props) => /* @__PURE__ */ jsxRuntime.jsx($d08ef79370b62062$export$be92b6f5f03c0fe9, { ...props });
7695
- const DropdownMenuItem = styledComponents.styled(GenericMenuItem).withConfig({
7695
+ const DropdownMenuItem = styled.styled(GenericMenuItem).withConfig({
7696
7696
  componentId: "sc-18bhwbw-0"
7697
7697
  })(['position:relative;display:flex;&[data-state="open"]{', "}"], ({
7698
7698
  theme: theme2
@@ -7702,7 +7702,7 @@ var __publicField = (obj, key, value) => {
7702
7702
  color: ${theme2.click.genericMenu.item.color.text.hover};
7703
7703
  cursor: pointer;
7704
7704
  `);
7705
- const Trigger$5 = styledComponents.styled($d08ef79370b62062$export$41fb9f06171c75f4).withConfig({
7705
+ const Trigger$5 = styled.styled($d08ef79370b62062$export$41fb9f06171c75f4).withConfig({
7706
7706
  componentId: "sc-18bhwbw-1"
7707
7707
  })(["cursor:pointer;width:fit-content;&[disabled]{cursor:not-allowed;}"]);
7708
7708
  const DropdownTrigger = ({
@@ -7725,7 +7725,7 @@ var __publicField = (obj, key, value) => {
7725
7725
  };
7726
7726
  DropdownTrigger.displayName = "DropdownTrigger";
7727
7727
  Dropdown.Trigger = DropdownTrigger;
7728
- const DropdownMenuContent = styledComponents.styled(GenericMenuPanel).withConfig({
7728
+ const DropdownMenuContent = styled.styled(GenericMenuPanel).withConfig({
7729
7729
  componentId: "sc-18bhwbw-2"
7730
7730
  })(["min-width:", ";flex-direction:column;z-index:1;"], ({
7731
7731
  theme: theme2
@@ -7744,7 +7744,7 @@ var __publicField = (obj, key, value) => {
7744
7744
  };
7745
7745
  DropdownContent$1.displayName = "DropdownContent";
7746
7746
  Dropdown.Content = DropdownContent$1;
7747
- const DropdownMenuGroup = styledComponents.styled($d08ef79370b62062$export$eb2fcfdbd7ba97d4).withConfig({
7747
+ const DropdownMenuGroup = styled.styled($d08ef79370b62062$export$eb2fcfdbd7ba97d4).withConfig({
7748
7748
  componentId: "sc-18bhwbw-3"
7749
7749
  })(["width:100%;border-bottom:1px solid ", ";"], ({
7750
7750
  theme: theme2
@@ -7754,7 +7754,7 @@ var __publicField = (obj, key, value) => {
7754
7754
  };
7755
7755
  DropdownGroup.displayName = "DropdownGroup";
7756
7756
  Dropdown.Group = DropdownGroup;
7757
- const DropdownMenuSub = styledComponents.styled($d08ef79370b62062$export$d7a01e11500dfb6f).withConfig({
7757
+ const DropdownMenuSub = styled.styled($d08ef79370b62062$export$d7a01e11500dfb6f).withConfig({
7758
7758
  componentId: "sc-18bhwbw-4"
7759
7759
  })(["border-bottom:1px solid ", ";"], ({
7760
7760
  theme: theme2
@@ -8194,12 +8194,12 @@ var __publicField = (obj, key, value) => {
8194
8194
  children
8195
8195
  ] })
8196
8196
  ] }) });
8197
- const AccordionRoot$1 = styledComponents.styled($1bf158f521e1b1b4$export$be92b6f5f03c0fe9).withConfig({
8197
+ const AccordionRoot$1 = styled.styled($1bf158f521e1b1b4$export$be92b6f5f03c0fe9).withConfig({
8198
8198
  componentId: "sc-1ysh219-0"
8199
8199
  })(["", ";"], ({
8200
8200
  $fillWidth
8201
8201
  }) => $fillWidth && "width: 100%");
8202
- const AccordionTrigger$1 = styledComponents.styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withConfig({
8202
+ const AccordionTrigger$1 = styled.styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withConfig({
8203
8203
  componentId: "sc-1ysh219-1"
8204
8204
  })(["border:none;padding:0;background-color:transparent;display:flex;align-items:center;", " ", ";"], ({
8205
8205
  theme: theme2,
@@ -8223,21 +8223,21 @@ var __publicField = (obj, key, value) => {
8223
8223
  `, ({
8224
8224
  $fillWidth
8225
8225
  }) => $fillWidth && "width: 100%");
8226
- const AccordionIconWrapper$1 = styledComponents.styled.div.withConfig({
8226
+ const AccordionIconWrapper$1 = styled.styled.div.withConfig({
8227
8227
  componentId: "sc-1ysh219-2"
8228
8228
  })(["display:flex;align-items:center;justify-content:center;transition:transform 200ms cubic-bezier(0.87,0,0.13,1);", "[data-state='open'] &{transform:rotate(90deg);}"], AccordionTrigger$1);
8229
- const AccordionIconsWrapper$1 = styledComponents.styled.div.withConfig({
8229
+ const AccordionIconsWrapper$1 = styled.styled.div.withConfig({
8230
8230
  componentId: "sc-1ysh219-3"
8231
8231
  })(["display:flex;align-items:center;justify-content:center;"]);
8232
- const AccordionContent$1 = styledComponents.styled($1bf158f521e1b1b4$export$7c6e2c02157bb7d2).withConfig({
8232
+ const AccordionContent$1 = styled.styled($1bf158f521e1b1b4$export$7c6e2c02157bb7d2).withConfig({
8233
8233
  componentId: "sc-1ysh219-4"
8234
8234
  })([""]);
8235
- styledComponents.styled(Accordion).withConfig({
8235
+ styled.styled(Accordion).withConfig({
8236
8236
  componentId: "sc-1ysh219-5"
8237
8237
  })(["", "{gap:", ";}p{margin:0;}", "{visibility:hidden;}&:hover ", "{visibility:revert;}&:active ", "{visibility:revert;}", "[data-state='open'] ", "{visibility:revert;}"], AccordionTrigger$1, ({
8238
8238
  theme: theme2
8239
8239
  }) => theme2.click.sidebar.navigation.item.default.space.gap, AccordionIconWrapper$1, AccordionIconWrapper$1, AccordionIconWrapper$1, AccordionTrigger$1, AccordionIconWrapper$1);
8240
- const AccordionToExport = styledComponents.styled(Accordion).withConfig({
8240
+ const AccordionToExport = styled.styled(Accordion).withConfig({
8241
8241
  componentId: "sc-1ysh219-6"
8242
8242
  })([""]);
8243
8243
  const stateIconMap = {
@@ -8269,7 +8269,7 @@ var __publicField = (obj, key, value) => {
8269
8269
  dismissible && /* @__PURE__ */ jsxRuntime.jsx(DismissWrapper$1, { "data-testid": "click-alert-dismiss-button", onClick: () => setIsVisible(false), children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "cross", "aria-label": "close" }) })
8270
8270
  ] }) : null;
8271
8271
  };
8272
- const Wrapper$d = styledComponents.styled.div.withConfig({
8272
+ const Wrapper$d = styled.styled.div.withConfig({
8273
8273
  componentId: "sc-1wvczk0-0"
8274
8274
  })(["display:flex;border-radius:", ";justify-content:", ";overflow:hidden;background-color:", ";color:", ";width:100%;"], ({
8275
8275
  $type,
@@ -8283,7 +8283,7 @@ var __publicField = (obj, key, value) => {
8283
8283
  $state = "neutral",
8284
8284
  theme: theme2
8285
8285
  }) => theme2.click.alert.color.text[$state]);
8286
- const IconWrapper$2 = styledComponents.styled.div.withConfig({
8286
+ const IconWrapper$2 = styled.styled.div.withConfig({
8287
8287
  componentId: "sc-1wvczk0-1"
8288
8288
  })(["display:flex;align-items:center;background-color:", ";", ""], ({
8289
8289
  $state = "neutral",
@@ -8297,7 +8297,7 @@ var __publicField = (obj, key, value) => {
8297
8297
  color: ${theme2.click.alert.color.iconForeground[$state]};
8298
8298
  padding: ${theme2.click.alert[$size].space.y} ${theme2.click.alert[$size].space.x};
8299
8299
  `);
8300
- const StyledIcon = styledComponents.styled(SvgImage).withConfig({
8300
+ const StyledIcon = styled.styled(SvgImage).withConfig({
8301
8301
  componentId: "sc-1wvczk0-2"
8302
8302
  })(["", ""], ({
8303
8303
  $size,
@@ -8306,7 +8306,7 @@ var __publicField = (obj, key, value) => {
8306
8306
  height: ${theme2.click.alert[$size].icon.height};
8307
8307
  width: ${theme2.click.alert[$size].icon.width};
8308
8308
  `);
8309
- const TextWrapper = styledComponents.styled.div.withConfig({
8309
+ const TextWrapper = styled.styled.div.withConfig({
8310
8310
  componentId: "sc-1wvczk0-3"
8311
8311
  })(["display:flex;flex-flow:column;word-break:break-word;", ""], ({
8312
8312
  $size,
@@ -8320,19 +8320,19 @@ var __publicField = (obj, key, value) => {
8320
8320
  text-decoration: underline;
8321
8321
  }
8322
8322
  `);
8323
- const Title$4 = styledComponents.styled.h6.withConfig({
8323
+ const Title$4 = styled.styled.h6.withConfig({
8324
8324
  componentId: "sc-1wvczk0-4"
8325
8325
  })(["margin:0;font:", ";"], ({
8326
8326
  theme: theme2,
8327
8327
  $size
8328
8328
  }) => theme2.click.alert[$size].typography.title.default);
8329
- const Text$1 = styledComponents.styled.div.withConfig({
8329
+ const Text$1 = styled.styled.div.withConfig({
8330
8330
  componentId: "sc-1wvczk0-5"
8331
8331
  })(["margin:0;font:", ";"], ({
8332
8332
  theme: theme2,
8333
8333
  $size
8334
8334
  }) => theme2.click.alert[$size].typography.text.default);
8335
- const DismissWrapper$1 = styledComponents.styled.button.withConfig({
8335
+ const DismissWrapper$1 = styled.styled.button.withConfig({
8336
8336
  componentId: "sc-1wvczk0-6"
8337
8337
  })(["display:flex;align-items:center;margin-left:auto;border:none;background-color:transparent;color:inherit;cursor:pointer;"]);
8338
8338
  const DangerAlert = (props) => /* @__PURE__ */ jsxRuntime.jsx(Alert, { ...props, state: "danger" });
@@ -8644,7 +8644,7 @@ var __publicField = (obj, key, value) => {
8644
8644
  return /* @__PURE__ */ jsxRuntime.jsx(Item, { ...props }, `autocomplete-${id}-item-${index2}`);
8645
8645
  }
8646
8646
  });
8647
- const SelectPopoverRoot$1 = styledComponents.styled($cb5cc270b50c6fcd$export$be92b6f5f03c0fe9).withConfig({
8647
+ const SelectPopoverRoot$1 = styled.styled($cb5cc270b50c6fcd$export$be92b6f5f03c0fe9).withConfig({
8648
8648
  componentId: "sc-87wbnc-0"
8649
8649
  })(["width:100%;", " overflow:hidden;display:flex;padding:0.5rem 0rem;align-items:flex-start;gap:0.625rem;"], ({
8650
8650
  theme: theme2
@@ -8655,10 +8655,10 @@ var __publicField = (obj, key, value) => {
8655
8655
  0px 1px 2px 0px rgba(16, 24, 40, 0.06);
8656
8656
  border-radius: 0.25rem;
8657
8657
  `);
8658
- const PopoverContent$1 = styledComponents.styled($cb5cc270b50c6fcd$export$7c6e2c02157bb7d2).withConfig({
8658
+ const PopoverContent$1 = styled.styled($cb5cc270b50c6fcd$export$7c6e2c02157bb7d2).withConfig({
8659
8659
  componentId: "sc-87wbnc-1"
8660
8660
  })(["width:var(--radix-popover-trigger-width);display:flex;flex-direction:column;align-items:flex-start;gap:5px;"]);
8661
- const SelectGroupContainer$1 = styledComponents.styled.div.withConfig({
8661
+ const SelectGroupContainer$1 = styled.styled.div.withConfig({
8662
8662
  componentId: "sc-87wbnc-2"
8663
8663
  })(["display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:-webkit-fill-available;width:fill-available;width:stretch;overflow:hidden;background:transparent;&[aria-selected]{outline:none;}", ";&[hidden]{display:none;}"], ({
8664
8664
  theme: theme2
@@ -8666,7 +8666,7 @@ var __publicField = (obj, key, value) => {
8666
8666
  font: ${theme2.click.genericMenu.item.typography.sectionHeader.default};
8667
8667
  color: ${theme2.click.genericMenu.item.color.text.muted};
8668
8668
  `);
8669
- const SelectGroupName$1 = styledComponents.styled.div.withConfig({
8669
+ const SelectGroupName$1 = styled.styled.div.withConfig({
8670
8670
  componentId: "sc-87wbnc-3"
8671
8671
  })(["display:flex;width:100%;flex-direction:column;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;", ""], ({
8672
8672
  theme: theme2
@@ -8677,10 +8677,10 @@ var __publicField = (obj, key, value) => {
8677
8677
  gap: ${theme2.click.genericMenu.item.space.gap};
8678
8678
  border-bottom: 1px solid ${theme2.click.genericMenu.item.color.stroke.default};
8679
8679
  `);
8680
- const SelectGroupContent$1 = styledComponents.styled.div.withConfig({
8680
+ const SelectGroupContent$1 = styled.styled.div.withConfig({
8681
8681
  componentId: "sc-87wbnc-4"
8682
8682
  })(["width:inherit;"]);
8683
- const SelectListContent$1 = styledComponents.styled.div.withConfig({
8683
+ const SelectListContent$1 = styled.styled.div.withConfig({
8684
8684
  componentId: "sc-87wbnc-5"
8685
8685
  })(["width:inherit;overflow:overlay;flex:1;"]);
8686
8686
  const childrenToComboboxItemArray$1 = (children, callback, heading) => {
@@ -8714,7 +8714,7 @@ var __publicField = (obj, key, value) => {
8714
8714
  return [];
8715
8715
  });
8716
8716
  };
8717
- const SelectNoDataContainer$1 = styledComponents.styled.div.withConfig({
8717
+ const SelectNoDataContainer$1 = styled.styled.div.withConfig({
8718
8718
  componentId: "sc-87wbnc-6"
8719
8719
  })(['border:none;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;cursor:default;&[hidden="true"]{display:none;}', ""], ({
8720
8720
  theme: theme2
@@ -8724,7 +8724,7 @@ var __publicField = (obj, key, value) => {
8724
8724
  background: ${theme2.click.genericMenu.button.color.background.default};
8725
8725
  color: ${theme2.click.genericMenu.button.color.label.default};
8726
8726
  `);
8727
- const SelectList$1 = styledComponents.styled.div.withConfig({
8727
+ const SelectList$1 = styled.styled.div.withConfig({
8728
8728
  componentId: "sc-87wbnc-7"
8729
8729
  })(["display:flex;flex-direction:column;width:inherit;max-height:var(--radix-popover-content-available-height);", ""], ({
8730
8730
  theme: theme2
@@ -8959,7 +8959,7 @@ var __publicField = (obj, key, value) => {
8959
8959
  ] });
8960
8960
  });
8961
8961
  Group.displayName = "AutoComplete.Group";
8962
- const CheckIcon$2 = styledComponents.styled.svg.withConfig({
8962
+ const CheckIcon$2 = styled.styled.svg.withConfig({
8963
8963
  componentId: "sc-87wbnc-8"
8964
8964
  })(["opacity:", ";"], ({
8965
8965
  $showCheck
@@ -9109,13 +9109,13 @@ var __publicField = (obj, key, value) => {
9109
9109
  /* @__PURE__ */ jsxRuntime.jsx(AvatarImage, { src, srcSet, alt: text2 }),
9110
9110
  /* @__PURE__ */ jsxRuntime.jsx(StyledFallback, { $textSize: textSize, delayMs: 0, children: text2.trim().replace(/(^.)([^ ]* )?(.).*/, "$1$3").trim().toUpperCase() })
9111
9111
  ] });
9112
- const StyledRoot = styledComponents.styled($cddcb0b647441e34$export$be92b6f5f03c0fe9).withConfig({
9112
+ const StyledRoot = styled.styled($cddcb0b647441e34$export$be92b6f5f03c0fe9).withConfig({
9113
9113
  componentId: "sc-181etfq-0"
9114
9114
  })(["width:", ";height:", ";display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;overflow:hidden;user-select:none;background-color:", ";color:", ";border-radius:", ";&:active{background-color:", ";color:", ";}&:hover{background-color:", ";color:", ";}"], (props) => props.theme.click.avatar.size.width, (props) => props.theme.click.avatar.size.height, (props) => props.theme.click.avatar.color.background.default, (props) => props.theme.click.avatar.color.text.default, (props) => props.theme.click.avatar.radii.all, (props) => props.theme.click.avatar.color.background.active, (props) => props.theme.click.avatar.color.text.active, (props) => props.theme.click.avatar.color.background.hover, (props) => props.theme.click.avatar.color.text.hover);
9115
- const AvatarImage = styledComponents.styled($cddcb0b647441e34$export$3e431a229df88919).withConfig({
9115
+ const AvatarImage = styled.styled($cddcb0b647441e34$export$3e431a229df88919).withConfig({
9116
9116
  componentId: "sc-181etfq-1"
9117
9117
  })(["width:100%;height:100%;object-fit:cover;border-radius:inherit;"]);
9118
- const StyledFallback = styledComponents.styled($cddcb0b647441e34$export$fb8d7f40caaeea67).withConfig({
9118
+ const StyledFallback = styled.styled($cddcb0b647441e34$export$fb8d7f40caaeea67).withConfig({
9119
9119
  componentId: "sc-181etfq-2"
9120
9120
  })(["width:", ";display:inline-flex;align-items:center;justify-content:center;", ""], (props) => props.theme.click.avatar.size.label.width, ({
9121
9121
  theme: theme2,
@@ -9131,7 +9131,7 @@ var __publicField = (obj, key, value) => {
9131
9131
  font: ${theme2.click.avatar.typography.label[$textSize].hover};
9132
9132
  }
9133
9133
  `);
9134
- const Wrapper$c = styledComponents.styled.div.withConfig({
9134
+ const Wrapper$c = styled.styled.div.withConfig({
9135
9135
  componentId: "sc-471xo0-0"
9136
9136
  })(["display:inline-flex;", ""], ({
9137
9137
  $state = "default",
@@ -9145,13 +9145,13 @@ var __publicField = (obj, key, value) => {
9145
9145
  border: ${theme2.click.badge.stroke} solid ${theme2.click.badge.color.stroke[$state]};
9146
9146
  padding: ${theme2.click.badge.space[$size].y} ${theme2.click.badge.space[$size].x};
9147
9147
  `);
9148
- const Content$4 = styledComponents.styled.div.withConfig({
9148
+ const Content$4 = styled.styled.div.withConfig({
9149
9149
  componentId: "sc-471xo0-1"
9150
9150
  })(["display:inline-flex;align-items:center;gap:", ";max-width:100%;justify-content:flex-start;"], ({
9151
9151
  $size = "md",
9152
9152
  theme: theme2
9153
9153
  }) => theme2.click.badge.space[$size].gap);
9154
- const SvgContainer = styledComponents.styled.svg.withConfig({
9154
+ const SvgContainer = styled.styled.svg.withConfig({
9155
9155
  componentId: "sc-471xo0-2"
9156
9156
  })(["", ""], ({
9157
9157
  $state = "default",
@@ -9162,7 +9162,7 @@ var __publicField = (obj, key, value) => {
9162
9162
  height: ${theme2.click.badge.icon[$size].size.height};
9163
9163
  width: ${theme2.click.badge.icon[$size].size.width};
9164
9164
  `);
9165
- const BadgeContent = styledComponents.styled.div.withConfig({
9165
+ const BadgeContent = styled.styled.div.withConfig({
9166
9166
  componentId: "sc-471xo0-3"
9167
9167
  })(["width:auto;overflow:hidden;svg{", "}"], ({
9168
9168
  $state = "default",
@@ -9202,7 +9202,7 @@ var __publicField = (obj, key, value) => {
9202
9202
  /* @__PURE__ */ jsxRuntime.jsx(Label, { $state: state, $size: size2, children: label }),
9203
9203
  /* @__PURE__ */ jsxRuntime.jsx(Title$3, { $state: state, $size: size2, children: title })
9204
9204
  ] });
9205
- const Wrapper$b = styledComponents.styled.div.withConfig({
9205
+ const Wrapper$b = styled.styled.div.withConfig({
9206
9206
  componentId: "sc-u5029o-0"
9207
9207
  })(["display:flex;justify-content:center;box-sizing:border-box;", ""], ({
9208
9208
  $fillWidth = false,
@@ -9226,7 +9226,7 @@ var __publicField = (obj, key, value) => {
9226
9226
  width: ${$fillWidth === true ? "100%" : "auto"};
9227
9227
  max-width: ${$maxWidth ? $maxWidth : "none"};
9228
9228
  `);
9229
- const Label = styledComponents.styled.div.withConfig({
9229
+ const Label = styled.styled.div.withConfig({
9230
9230
  componentId: "sc-u5029o-1"
9231
9231
  })(["", ""], ({
9232
9232
  $state = "default",
@@ -9236,7 +9236,7 @@ var __publicField = (obj, key, value) => {
9236
9236
  color: ${theme2.click.bigStat.color.label[$state]};
9237
9237
  font: ${theme2.click.bigStat.typography[$size].label[$state]};
9238
9238
  `);
9239
- const Title$3 = styledComponents.styled.div.withConfig({
9239
+ const Title$3 = styled.styled.div.withConfig({
9240
9240
  componentId: "sc-u5029o-2"
9241
9241
  })(["", ""], ({
9242
9242
  $state = "default",
@@ -9265,7 +9265,7 @@ var __publicField = (obj, key, value) => {
9265
9265
  });
9266
9266
  return /* @__PURE__ */ jsxRuntime.jsx(ButtonGroupWrapper, { $fillWidth: fillWidth, $type: type, ...props, children: btns });
9267
9267
  };
9268
- const ButtonGroupWrapper = styledComponents.styled.div.withConfig({
9268
+ const ButtonGroupWrapper = styled.styled.div.withConfig({
9269
9269
  componentId: "sc-ukgugp-0"
9270
9270
  })(["box-sizing:border-box;display:inline-flex;flex-direction:row;justify-content:center;align-items:center;padding:0px;gap:", ";border:1px solid ", ";background:", ";border-radius:", ";width:", ";"], ({
9271
9271
  theme: theme2,
@@ -9284,7 +9284,7 @@ var __publicField = (obj, key, value) => {
9284
9284
  const leftBorderRadius = `${endRadii} 0px 0px ${endRadii}`;
9285
9285
  const rightBorderRadius = `0px ${endRadii} ${endRadii} 0px`;
9286
9286
  const centerBorderRadius = "var(--click-button-button-group-radii-center)";
9287
- const Button$1 = styledComponents.styled.button.attrs((props) => ({
9287
+ const Button$1 = styled.styled.button.attrs((props) => ({
9288
9288
  "aria-pressed": props.$active
9289
9289
  })).withConfig({
9290
9290
  componentId: "sc-ukgugp-1"
@@ -9354,10 +9354,10 @@ var __publicField = (obj, key, value) => {
9354
9354
  showLabelWithLoading ? label ?? children : ""
9355
9355
  ] })
9356
9356
  ] });
9357
- const LoadingIconWrapper = styledComponents.styled.div.withConfig({
9357
+ const LoadingIconWrapper = styled.styled.div.withConfig({
9358
9358
  componentId: "sc-1k4tz4c-0"
9359
9359
  })(["background-color:inherit;top:0;left:0;bottom:0;right:0;display:flex;align-content:center;justify-content:center;align-items:center;gap:0.5rem;"]);
9360
- const StyledButton = styledComponents.styled(BaseButton).withConfig({
9360
+ const StyledButton = styled.styled(BaseButton).withConfig({
9361
9361
  componentId: "sc-1k4tz4c-1"
9362
9362
  })(["width:", ";color:", ";background-color:", ";border:", " solid ", ";font:", ";position:relative;display:flex;align-items:center;justify-content:", ";white-space:nowrap;&:hover{background-color:", ";border:", " solid ", ";transition:", ";font:", ";}&:active,&:focus{background-color:", ";border:1px solid ", ";font:", ";}&:disabled,&:disabled:hover,&:disabled:active{background-color:", ";color:", ";border:", " solid ", ";font:", ";}"], ({
9363
9363
  $fillWidth
@@ -9410,7 +9410,7 @@ var __publicField = (obj, key, value) => {
9410
9410
  }) => theme2.click.button.basic.color[$styleType].stroke.disabled, ({
9411
9411
  theme: theme2
9412
9412
  }) => theme2.click.button.basic.typography.label.disabled);
9413
- const ButtonIcon = styledComponents.styled(SvgImage).withConfig({
9413
+ const ButtonIcon = styled.styled(SvgImage).withConfig({
9414
9414
  componentId: "sc-1k4tz4c-2"
9415
9415
  })(["height:", ";width:", ";svg{height:", ";width:", ";}"], ({
9416
9416
  theme: theme2
@@ -9430,7 +9430,7 @@ var __publicField = (obj, key, value) => {
9430
9430
  children,
9431
9431
  ...props
9432
9432
  }, ref) => /* @__PURE__ */ jsxRuntime.jsx(CuiTitle, { ref, $align: align, $color: color, $size: size2, $family: family, as: type, ...props, children }));
9433
- const CuiTitle = styledComponents.styled.div.withConfig({
9433
+ const CuiTitle = styled.styled.div.withConfig({
9434
9434
  componentId: "sc-1bq7thb-0"
9435
9435
  })(["font:", ";color:", ";margin:0;padding:0;font-style:inherit;text-align:", ";a,a:visited{color:", ";cursor:pointer;}a:hover{color:", ";}"], ({
9436
9436
  $size = "md",
@@ -9458,7 +9458,7 @@ var __publicField = (obj, key, value) => {
9458
9458
  fillWidth,
9459
9459
  ...props
9460
9460
  }, ref) => /* @__PURE__ */ jsxRuntime.jsx(CuiText, { as: component ?? "p", ref, $align: align, $color: color, $size: size2, $weight: weight, $fillWidth: fillWidth, className, ...props, children });
9461
- const CuiText = styledComponents.styled.p.withConfig({
9461
+ const CuiText = styled.styled.p.withConfig({
9462
9462
  componentId: "sc-6r74pj-0"
9463
9463
  })(["font:", ";color:", ";text-align:", ";margin:0;", ";"], ({
9464
9464
  $size = "md",
@@ -9474,10 +9474,10 @@ var __publicField = (obj, key, value) => {
9474
9474
  }) => $fillWidth && "width: 100%");
9475
9475
  _Text.displayName = "Text";
9476
9476
  const Text = React.forwardRef(_Text);
9477
- const Header$4 = styledComponents.styled.div.withConfig({
9477
+ const Header$4 = styled.styled.div.withConfig({
9478
9478
  componentId: "sc-1drx130-0"
9479
9479
  })(["display:flex;justify-content:space-between;align-items:center;"]);
9480
- const HeaderLeft = styledComponents.styled.div.withConfig({
9480
+ const HeaderLeft = styled.styled.div.withConfig({
9481
9481
  componentId: "sc-1drx130-1"
9482
9482
  })(["display:flex;align-items:center;gap:", ";h3,svg{color:", ";}"], ({
9483
9483
  theme: theme2
@@ -9485,24 +9485,24 @@ var __publicField = (obj, key, value) => {
9485
9485
  $disabled,
9486
9486
  theme: theme2
9487
9487
  }) => $disabled == true ? theme2.click.global.color.text.muted : theme2.click.global.color.text.default);
9488
- const Content$3 = styledComponents.styled.div.withConfig({
9488
+ const Content$3 = styled.styled.div.withConfig({
9489
9489
  componentId: "sc-1drx130-2"
9490
9490
  })(["display:flex;flex-direction:column;flex:1;"]);
9491
- const CustomIcon$1 = styledComponents.styled.img.withConfig({
9491
+ const CustomIcon$1 = styled.styled.img.withConfig({
9492
9492
  componentId: "sc-1drx130-3"
9493
9493
  })(["height:", ";width:", ";"], ({
9494
9494
  theme: theme2
9495
9495
  }) => theme2.click.image.lg.size.height, ({
9496
9496
  theme: theme2
9497
9497
  }) => theme2.click.image.lg.size.width);
9498
- const InfoLink = styledComponents.styled.a.withConfig({
9498
+ const InfoLink = styled.styled.a.withConfig({
9499
9499
  componentId: "sc-1drx130-4"
9500
9500
  })(["display:flex;align-items:center;color:", ";gap:", ";text-decoration:none;"], ({
9501
9501
  theme: theme2
9502
9502
  }) => theme2.click.card.secondary.color.link.default, ({
9503
9503
  theme: theme2
9504
9504
  }) => theme2.click.card.secondary.space.link.gap);
9505
- const LinkIconContainer = styledComponents.styled(SvgImage).withConfig({
9505
+ const LinkIconContainer = styled.styled(SvgImage).withConfig({
9506
9506
  componentId: "sc-1drx130-5"
9507
9507
  })(["color:", ";height:", ";width:", ";"], ({
9508
9508
  theme: theme2
@@ -9511,13 +9511,13 @@ var __publicField = (obj, key, value) => {
9511
9511
  }) => theme2.click.image.md.size.height, ({
9512
9512
  theme: theme2
9513
9513
  }) => theme2.click.image.md.size.width);
9514
- const LinkText = styledComponents.styled(Text).withConfig({
9514
+ const LinkText = styled.styled(Text).withConfig({
9515
9515
  componentId: "sc-1drx130-6"
9516
9516
  })([""]);
9517
- const LinkIcon = styledComponents.styled(LinkIconContainer).withConfig({
9517
+ const LinkIcon = styled.styled(LinkIconContainer).withConfig({
9518
9518
  componentId: "sc-1drx130-7"
9519
9519
  })([""]);
9520
- const Wrapper$a = styledComponents.styled.div.withConfig({
9520
+ const Wrapper$a = styled.styled.div.withConfig({
9521
9521
  componentId: "sc-1drx130-8"
9522
9522
  })(["background-color:", ";border-radius:", ";border:", ";max-width:420px;min-width:320px;display:flex;flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,:focus{background-color:", ";cursor:pointer;", ",", "{color:", ';}}&[aria-disabled="true"],&[aria-disabled="true"]:hover,&[aria-disabled="true"]:focus,&[aria-disabled="true"]:active{', "}"], ({
9523
9523
  theme: theme2
@@ -9602,7 +9602,7 @@ var __publicField = (obj, key, value) => {
9602
9602
  }, ref) => {
9603
9603
  return /* @__PURE__ */ jsxRuntime.jsx(Wrapper$9, { ref, as: component ?? "div", $alignItems: alignItems ?? (orientation === "vertical" ? "start" : "center"), $fillWidth: fillWidth, $gapSize: gap, $grow: grow, $shrink: shrink, $isResponsive: isResponsive, $justifyContent: justifyContent, $maxWidth: maxWidth, $minWidth: minWidth, $orientation: orientation, $paddingSize: padding, $wrap: wrap, $fillHeight: fillHeight, $maxHeight: maxHeight, $minHeight: minHeight, $overflow: overflow, "data-testid": "container", ...props, children });
9604
9604
  };
9605
- const Wrapper$9 = styledComponents.styled.div.withConfig({
9605
+ const Wrapper$9 = styled.styled.div.withConfig({
9606
9606
  componentId: "sc-bcplth-0"
9607
9607
  })(["display:flex;", " ", " ", " flex-wrap:", ";gap:", ";max-width:", ";min-width:", ";padding:", ";width:", ";flex-direction:", ";align-items:", ";justify-content:", ";@media (max-width:", "){width:", ";max-width:", ";flex-direction:", ";}"], ({
9608
9608
  $grow,
@@ -9653,10 +9653,10 @@ var __publicField = (obj, key, value) => {
9653
9653
  $isResponsive = true
9654
9654
  }) => $isResponsive === true ? "column" : "auto");
9655
9655
  const Container = React.forwardRef(_Container);
9656
- const TopBadgeWrapper = styledComponents.styled(Container).withConfig({
9656
+ const TopBadgeWrapper = styled.styled(Container).withConfig({
9657
9657
  componentId: "sc-1d5pqpo-0"
9658
9658
  })(["position:relative;"]);
9659
- const CardPrimaryTopBadge = styledComponents.styled(Badge).withConfig({
9659
+ const CardPrimaryTopBadge = styled.styled(Badge).withConfig({
9660
9660
  componentId: "sc-1d5pqpo-1"
9661
9661
  })(["position:absolute;top:0;left:50%;transform:translate(-50%,-50%);", " div:active + &{border-color:", ";}"], ({
9662
9662
  $isSelected,
@@ -9673,7 +9673,7 @@ var __publicField = (obj, key, value) => {
9673
9673
  topBadgeText && /* @__PURE__ */ jsxRuntime.jsx(CardPrimaryTopBadge, { "data-testid": "card-top-badge", text: topBadgeText, $isSelected: props.isSelected || false })
9674
9674
  ] });
9675
9675
  };
9676
- const Wrapper$8 = styledComponents.styled.div.withConfig({
9676
+ const Wrapper$8 = styled.styled.div.withConfig({
9677
9677
  componentId: "sc-2dguvi-0"
9678
9678
  })(["background-color:", ";border-radius:", ";border:", ";display:flex;width:100%;max-width:100%;text-align:", ";flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,&:focus{background-color:", ";cursor:pointer;button{background-color:", ";border-color:", ";&:active{background-color:", ";border-color:", ";}}}&:active{border-color:", ';}&[aria-disabled="true"],&[aria-disabled="true"]:hover,&[aria-disabled="true"]:focus,&[aria-disabled="true"]:active{', "}", ""], ({
9679
9679
  theme: theme2
@@ -9723,7 +9723,7 @@ var __publicField = (obj, key, value) => {
9723
9723
  $isSelected,
9724
9724
  theme: theme2
9725
9725
  }) => $isSelected ? `border-color: ${theme2.click.button.basic.color.primary.stroke.active};` : "");
9726
- const Header$3 = styledComponents.styled.div.withConfig({
9726
+ const Header$3 = styled.styled.div.withConfig({
9727
9727
  componentId: "sc-2dguvi-1"
9728
9728
  })(["display:flex;flex-direction:column;align-items:", ";gap:", ";h3{color:", ";}svg,img{height:", ";width:", ";}"], ({
9729
9729
  $alignContent = "center"
@@ -9740,7 +9740,7 @@ var __publicField = (obj, key, value) => {
9740
9740
  $size = "md",
9741
9741
  theme: theme2
9742
9742
  }) => theme2.click.card.primary.size.icon[$size].all);
9743
- const Content$2 = styledComponents.styled.div.withConfig({
9743
+ const Content$2 = styled.styled.div.withConfig({
9744
9744
  componentId: "sc-2dguvi-2"
9745
9745
  })(["width:100%;display:flex;flex-direction:column;align-self:", ";gap:", ";flex:1;"], ({
9746
9746
  $alignContent = "center"
@@ -9793,15 +9793,15 @@ var __publicField = (obj, key, value) => {
9793
9793
  ] });
9794
9794
  };
9795
9795
  const CardPrimary = withTopBadge(Card);
9796
- const Header$2 = styledComponents.styled.div.withConfig({
9796
+ const Header$2 = styled.styled.div.withConfig({
9797
9797
  componentId: "sc-1qnbjoa-0"
9798
9798
  })(["display:flex;flex-direction:column;align-items:center;width:fit-content;max-width:100%;gap:inherit;"]);
9799
- const Description = styledComponents.styled.div.withConfig({
9799
+ const Description = styled.styled.div.withConfig({
9800
9800
  componentId: "sc-1qnbjoa-1"
9801
9801
  })(["display:flex;flex-direction:column;align-self:center;gap:", ";flex:1;"], ({
9802
9802
  theme: theme2
9803
9803
  }) => theme2.click.card.horizontal.space.gap);
9804
- const Wrapper$7 = styledComponents.styled.div.withConfig({
9804
+ const Wrapper$7 = styled.styled.div.withConfig({
9805
9805
  componentId: "sc-1qnbjoa-2"
9806
9806
  })(["display:inline-flex;width:100%;max-width:100%;align-items:center;justify-content:flex-start;", ""], ({
9807
9807
  theme: theme2,
@@ -9859,7 +9859,7 @@ var __publicField = (obj, key, value) => {
9859
9859
  }
9860
9860
  ` : ""}
9861
9861
  `);
9862
- const CardIcon$1 = styledComponents.styled(SvgImage).withConfig({
9862
+ const CardIcon$1 = styled.styled(SvgImage).withConfig({
9863
9863
  componentId: "sc-1qnbjoa-3"
9864
9864
  })(["", ""], ({
9865
9865
  theme: theme2
@@ -9867,7 +9867,7 @@ var __publicField = (obj, key, value) => {
9867
9867
  height: ${theme2.click.card.horizontal.icon.size.all};
9868
9868
  width: ${theme2.click.card.horizontal.icon.size.all};
9869
9869
  `);
9870
- const ContentWrapper = styledComponents.styled.div.withConfig({
9870
+ const ContentWrapper = styled.styled.div.withConfig({
9871
9871
  componentId: "sc-1qnbjoa-4"
9872
9872
  })(["display:flex;flex-direction:column;"]);
9873
9873
  const CardHorizontal = ({
@@ -9889,7 +9889,7 @@ var __publicField = (obj, key, value) => {
9889
9889
  ] })
9890
9890
  ] });
9891
9891
  };
9892
- const Background = styledComponents.styled.div.withConfig({
9892
+ const Background = styled.styled.div.withConfig({
9893
9893
  componentId: "sc-6jamj6-0"
9894
9894
  })(["", ""], ({
9895
9895
  theme: theme2
@@ -9904,7 +9904,7 @@ var __publicField = (obj, key, value) => {
9904
9904
  background: ${theme2.click.card.promotion.color.stroke.focus};
9905
9905
  }
9906
9906
  `);
9907
- const Wrapper$6 = styledComponents.styled.div.withConfig({
9907
+ const Wrapper$6 = styled.styled.div.withConfig({
9908
9908
  componentId: "sc-6jamj6-1"
9909
9909
  })(["display:flex;width:100%;align-items:center;justify-content:flex-start;cursor:pointer;", ""], ({
9910
9910
  theme: theme2
@@ -9926,7 +9926,7 @@ var __publicField = (obj, key, value) => {
9926
9926
  color: ${theme2.click.card.promotion.color.text.active};
9927
9927
  }
9928
9928
  `);
9929
- const CardIcon = styledComponents.styled(SvgImage).withConfig({
9929
+ const CardIcon = styled.styled(SvgImage).withConfig({
9930
9930
  componentId: "sc-6jamj6-2"
9931
9931
  })(["", ""], ({
9932
9932
  theme: theme2
@@ -9935,7 +9935,7 @@ var __publicField = (obj, key, value) => {
9935
9935
  width: ${theme2.click.card.promotion.icon.size.all};
9936
9936
  color: ${theme2.click.card.promotion.color.icon.default};
9937
9937
  `);
9938
- const DismissWrapper = styledComponents.styled.button.withConfig({
9938
+ const DismissWrapper = styled.styled.button.withConfig({
9939
9939
  componentId: "sc-6jamj6-3"
9940
9940
  })(["display:flex;align-items:center;margin-left:auto;border:none;background-color:transparent;color:inherit;cursor:pointer;"]);
9941
9941
  const CardPromotion = ({
@@ -10102,7 +10102,7 @@ var __publicField = (obj, key, value) => {
10102
10102
  }
10103
10103
  const $e698a72e93240346$export$be92b6f5f03c0fe9 = $e698a72e93240346$export$48513f6b9f8ce62d;
10104
10104
  const $e698a72e93240346$export$adb584737d712b70 = $e698a72e93240346$export$59aad738f51d1c05;
10105
- const Wrapper$5 = styledComponents.styled(FormRoot).withConfig({
10105
+ const Wrapper$5 = styled.styled(FormRoot).withConfig({
10106
10106
  componentId: "sc-1sck1ja-0"
10107
10107
  })(["align-items:center;max-width:fit-content;"]);
10108
10108
  const Checkbox = ({
@@ -10120,7 +10120,7 @@ var __publicField = (obj, key, value) => {
10120
10120
  label && /* @__PURE__ */ jsxRuntime.jsx(GenericLabel, { htmlFor: id ?? defaultId, disabled, children: label })
10121
10121
  ] });
10122
10122
  };
10123
- const CheckInput = styledComponents.styled($e698a72e93240346$export$be92b6f5f03c0fe9).withConfig({
10123
+ const CheckInput = styled.styled($e698a72e93240346$export$be92b6f5f03c0fe9).withConfig({
10124
10124
  componentId: "sc-1sck1ja-1"
10125
10125
  })(["display:flex;align-items:center;justify-content:center;", ";"], ({
10126
10126
  theme: theme2,
@@ -10149,7 +10149,7 @@ var __publicField = (obj, key, value) => {
10149
10149
  }
10150
10150
  }
10151
10151
  `);
10152
- const CheckIconWrapper = styledComponents.styled($e698a72e93240346$export$adb584737d712b70).withConfig({
10152
+ const CheckIconWrapper = styled.styled($e698a72e93240346$export$adb584737d712b70).withConfig({
10153
10153
  componentId: "sc-1sck1ja-2"
10154
10154
  })(["", ""], ({
10155
10155
  theme: theme2
@@ -12470,14 +12470,14 @@ var __publicField = (obj, key, value) => {
12470
12470
  return high.listLanguages();
12471
12471
  }
12472
12472
  function registerAlias(name2, alias) {
12473
- var map = name2;
12473
+ var map2 = name2;
12474
12474
  var key;
12475
12475
  if (alias) {
12476
- map = {};
12477
- map[name2] = alias;
12476
+ map2 = {};
12477
+ map2[name2] = alias;
12478
12478
  }
12479
- for (key in map) {
12480
- high.registerAliases(map[key], { languageName: key });
12479
+ for (key in map2) {
12480
+ high.registerAliases(map2[key], { languageName: key });
12481
12481
  }
12482
12482
  }
12483
12483
  function Emitter(options2) {
@@ -13415,7 +13415,7 @@ var __publicField = (obj, key, value) => {
13415
13415
  var SyntaxHighlighter = highlight$2(core$1, {});
13416
13416
  SyntaxHighlighter.registerLanguage = core$1.registerLanguage;
13417
13417
  const useColorStyle = (defaultTheme) => {
13418
- const theme2 = styledComponents.useTheme();
13418
+ const theme2 = styled.useTheme();
13419
13419
  const inheritedThemeName = theme2.name !== "classic" ? theme2.name : "light";
13420
13420
  const themeName = !defaultTheme ? inheritedThemeName : defaultTheme;
13421
13421
  const codeTheme = theme2.click.codeblock[`${themeName}Mode`].color;
@@ -13582,7 +13582,7 @@ var __publicField = (obj, key, value) => {
13582
13582
  SyntaxHighlighter.registerLanguage("sql", sql);
13583
13583
  SyntaxHighlighter.registerLanguage("bash", bash);
13584
13584
  SyntaxHighlighter.registerLanguage("json", json);
13585
- const CodeBlockContainer = styledComponents.styled.div.withConfig({
13585
+ const CodeBlockContainer = styled.styled.div.withConfig({
13586
13586
  componentId: "sc-18gnqgi-0"
13587
13587
  })(["width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;position:relative;cursor:pointer;", ""], ({
13588
13588
  theme: theme2,
@@ -13597,7 +13597,7 @@ var __publicField = (obj, key, value) => {
13597
13597
  }
13598
13598
  `;
13599
13599
  });
13600
- const CodeButton = styledComponents.styled(EmptyButton$1).withConfig({
13600
+ const CodeButton = styled.styled(EmptyButton$1).withConfig({
13601
13601
  componentId: "sc-18gnqgi-1"
13602
13602
  })(["", ""], ({
13603
13603
  $copied,
@@ -13608,13 +13608,13 @@ var __publicField = (obj, key, value) => {
13608
13608
  padding: 0;
13609
13609
  border: 0;
13610
13610
  `);
13611
- const Highlighter = styledComponents.styled(SyntaxHighlighter).withConfig({
13611
+ const Highlighter = styled.styled(SyntaxHighlighter).withConfig({
13612
13612
  componentId: "sc-18gnqgi-2"
13613
13613
  })(["background:transparent;padding:0;margin:0;"]);
13614
- const CodeContent = styledComponents.styled.code.withConfig({
13614
+ const CodeContent = styled.styled.code.withConfig({
13615
13615
  componentId: "sc-18gnqgi-3"
13616
13616
  })(["font-family:inherit;color:inherit;"]);
13617
- const ButtonContainer = styledComponents.styled.div.withConfig({
13617
+ const ButtonContainer = styled.styled.div.withConfig({
13618
13618
  componentId: "sc-18gnqgi-4"
13619
13619
  })(["position:absolute;display:flex;", ""], ({
13620
13620
  theme: theme2
@@ -13694,6 +13694,778 @@ var __publicField = (obj, key, value) => {
13694
13694
  }, showLineNumbers, wrapLines: wrap || wrapLines, wrapLongLines: wrap || wrapLines, children })
13695
13695
  ] });
13696
13696
  };
13697
+ const constructFromSymbol = Symbol.for("constructDateFrom");
13698
+ function constructFrom(date, value) {
13699
+ if (typeof date === "function")
13700
+ return date(value);
13701
+ if (date && typeof date === "object" && constructFromSymbol in date)
13702
+ return date[constructFromSymbol](value);
13703
+ if (date instanceof Date)
13704
+ return new date.constructor(value);
13705
+ return new Date(value);
13706
+ }
13707
+ function toDate(argument, context) {
13708
+ return constructFrom(context || argument, argument);
13709
+ }
13710
+ function addDays(date, amount, options2) {
13711
+ const _date = toDate(date, options2 == null ? void 0 : options2.in);
13712
+ if (isNaN(amount))
13713
+ return constructFrom(date, NaN);
13714
+ if (!amount)
13715
+ return _date;
13716
+ _date.setDate(_date.getDate() + amount);
13717
+ return _date;
13718
+ }
13719
+ function addMonths(date, amount, options2) {
13720
+ const _date = toDate(date, options2 == null ? void 0 : options2.in);
13721
+ if (isNaN(amount))
13722
+ return constructFrom(date, NaN);
13723
+ if (!amount) {
13724
+ return _date;
13725
+ }
13726
+ const dayOfMonth = _date.getDate();
13727
+ const endOfDesiredMonth = constructFrom(date, _date.getTime());
13728
+ endOfDesiredMonth.setMonth(_date.getMonth() + amount + 1, 0);
13729
+ const daysInMonth = endOfDesiredMonth.getDate();
13730
+ if (dayOfMonth >= daysInMonth) {
13731
+ return endOfDesiredMonth;
13732
+ } else {
13733
+ _date.setFullYear(
13734
+ endOfDesiredMonth.getFullYear(),
13735
+ endOfDesiredMonth.getMonth(),
13736
+ dayOfMonth
13737
+ );
13738
+ return _date;
13739
+ }
13740
+ }
13741
+ function isWeekend(date, options2) {
13742
+ const day = toDate(date, options2 == null ? void 0 : options2.in).getDay();
13743
+ return day === 0 || day === 6;
13744
+ }
13745
+ let defaultOptions = {};
13746
+ function getDefaultOptions() {
13747
+ return defaultOptions;
13748
+ }
13749
+ function startOfWeek(date, options2) {
13750
+ var _a, _b, _c, _d;
13751
+ const defaultOptions2 = getDefaultOptions();
13752
+ const weekStartsOn = (options2 == null ? void 0 : options2.weekStartsOn) ?? ((_b = (_a = options2 == null ? void 0 : options2.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.weekStartsOn) ?? defaultOptions2.weekStartsOn ?? ((_d = (_c = defaultOptions2.locale) == null ? void 0 : _c.options) == null ? void 0 : _d.weekStartsOn) ?? 0;
13753
+ const _date = toDate(date, options2 == null ? void 0 : options2.in);
13754
+ const day = _date.getDay();
13755
+ const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
13756
+ _date.setDate(_date.getDate() - diff);
13757
+ _date.setHours(0, 0, 0, 0);
13758
+ return _date;
13759
+ }
13760
+ function normalizeDates(context, ...dates) {
13761
+ const normalize = constructFrom.bind(
13762
+ null,
13763
+ dates.find((date) => typeof date === "object")
13764
+ );
13765
+ return dates.map(normalize);
13766
+ }
13767
+ function addWeeks(date, amount, options2) {
13768
+ return addDays(date, amount * 7, options2);
13769
+ }
13770
+ function startOfMonth(date, options2) {
13771
+ const _date = toDate(date, options2 == null ? void 0 : options2.in);
13772
+ _date.setDate(1);
13773
+ _date.setHours(0, 0, 0, 0);
13774
+ return _date;
13775
+ }
13776
+ function getDate(date, options2) {
13777
+ return toDate(date, options2 == null ? void 0 : options2.in).getDate();
13778
+ }
13779
+ function getDay(date, options2) {
13780
+ return toDate(date, options2 == null ? void 0 : options2.in).getDay();
13781
+ }
13782
+ function getDaysInMonth(date, options2) {
13783
+ const _date = toDate(date, options2 == null ? void 0 : options2.in);
13784
+ const year = _date.getFullYear();
13785
+ const monthIndex = _date.getMonth();
13786
+ const lastDayOfMonth = constructFrom(_date, 0);
13787
+ lastDayOfMonth.setFullYear(year, monthIndex + 1, 0);
13788
+ lastDayOfMonth.setHours(0, 0, 0, 0);
13789
+ return lastDayOfMonth.getDate();
13790
+ }
13791
+ function isEqual$1(leftDate, rightDate) {
13792
+ return +toDate(leftDate) === +toDate(rightDate);
13793
+ }
13794
+ function setDay(date, day, options2) {
13795
+ var _a, _b;
13796
+ const defaultOptions2 = getDefaultOptions();
13797
+ const weekStartsOn = defaultOptions2.weekStartsOn ?? ((_b = (_a = defaultOptions2.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.weekStartsOn) ?? 0;
13798
+ const date_ = toDate(date, options2 == null ? void 0 : options2.in);
13799
+ const currentDay = date_.getDay();
13800
+ const remainder = day % 7;
13801
+ const dayIndex = (remainder + 7) % 7;
13802
+ const delta = 7 - weekStartsOn;
13803
+ const diff = day < 0 || day > 6 ? day - (currentDay + delta) % 7 : (dayIndex + delta) % 7 - (currentDay + delta) % 7;
13804
+ return addDays(date_, diff, options2);
13805
+ }
13806
+ function isSameMonth(laterDate, earlierDate, options2) {
13807
+ const [laterDate_, earlierDate_] = normalizeDates(
13808
+ options2 == null ? void 0 : options2.in,
13809
+ laterDate,
13810
+ earlierDate
13811
+ );
13812
+ return laterDate_.getFullYear() === earlierDate_.getFullYear() && laterDate_.getMonth() === earlierDate_.getMonth();
13813
+ }
13814
+ function isSameYear(laterDate, earlierDate, options2) {
13815
+ const [laterDate_, earlierDate_] = normalizeDates(
13816
+ options2 == null ? void 0 : options2.in,
13817
+ laterDate,
13818
+ earlierDate
13819
+ );
13820
+ return laterDate_.getFullYear() === earlierDate_.getFullYear();
13821
+ }
13822
+ function subDays(date, amount, options2) {
13823
+ return addDays(date, -amount, options2);
13824
+ }
13825
+ function setHours(date, hours, options2) {
13826
+ const _date = toDate(date, options2 == null ? void 0 : options2.in);
13827
+ _date.setHours(hours);
13828
+ return _date;
13829
+ }
13830
+ function setMilliseconds(date, milliseconds, options2) {
13831
+ const _date = toDate(date, options2 == null ? void 0 : options2.in);
13832
+ _date.setMilliseconds(milliseconds);
13833
+ return _date;
13834
+ }
13835
+ function setMinutes(date, minutes, options2) {
13836
+ const date_ = toDate(date, options2 == null ? void 0 : options2.in);
13837
+ date_.setMinutes(minutes);
13838
+ return date_;
13839
+ }
13840
+ function setSeconds(date, seconds, options2) {
13841
+ const _date = toDate(date, options2 == null ? void 0 : options2.in);
13842
+ _date.setSeconds(seconds);
13843
+ return _date;
13844
+ }
13845
+ function subMonths(date, amount, options2) {
13846
+ return addMonths(date, -amount, options2);
13847
+ }
13848
+ function subWeeks(date, amount, options2) {
13849
+ return addWeeks(date, -amount, options2);
13850
+ }
13851
+ var CalendarViewtype = /* @__PURE__ */ ((CalendarViewtype2) => {
13852
+ CalendarViewtype2["Month"] = "month";
13853
+ CalendarViewtype2["Week"] = "week";
13854
+ CalendarViewtype2["Day"] = "day";
13855
+ return CalendarViewtype2;
13856
+ })(CalendarViewtype || {});
13857
+ var CalendarViewType_default = CalendarViewtype;
13858
+ function arrayOf(count) {
13859
+ return [...new Array(count).keys()];
13860
+ }
13861
+ var randomId = 0;
13862
+ var map = /* @__PURE__ */ new Map();
13863
+ function generateID(prefix2) {
13864
+ if (map.has(prefix2)) {
13865
+ const id = map.get(prefix2);
13866
+ const newId = id + 1;
13867
+ map.set(prefix2, newId);
13868
+ randomId = newId;
13869
+ } else {
13870
+ const id = 1;
13871
+ map.set(prefix2, id);
13872
+ randomId = id;
13873
+ }
13874
+ return `${prefix2}-${randomId}`;
13875
+ }
13876
+ function resetTimeOfDate(date) {
13877
+ return setHours(setMinutes(setSeconds(setMilliseconds(date, 0), 0), 0), 0);
13878
+ }
13879
+ function isSameDate(baseDate, targetDate) {
13880
+ const base = resetTimeOfDate(baseDate);
13881
+ const target = resetTimeOfDate(targetDate);
13882
+ return isEqual$1(base, target);
13883
+ }
13884
+ function isSameYearAndMonth(baseDate, targetDate) {
13885
+ return isSameMonth(targetDate, baseDate) && isSameYear(targetDate, baseDate);
13886
+ }
13887
+ function parseDate(date) {
13888
+ return {
13889
+ year: date.getFullYear(),
13890
+ month: date.getMonth(),
13891
+ day: date.getDate()
13892
+ };
13893
+ }
13894
+ function pipe(...fns) {
13895
+ return (...initialParams) => fns.reduce((value, fn, index2) => {
13896
+ const params = index2 === 0 ? value : [value];
13897
+ return fn(...params);
13898
+ }, initialParams);
13899
+ }
13900
+ function pipeWith(value, ...fns) {
13901
+ return pipe(
13902
+ ...fns
13903
+ )(value);
13904
+ }
13905
+ function withKey(arr, keyPrefix) {
13906
+ return arr.map((value) => {
13907
+ return {
13908
+ ...value,
13909
+ key: generateID(keyPrefix)
13910
+ };
13911
+ });
13912
+ }
13913
+ function withDateProps(baseDate, cursorDate) {
13914
+ return function(cell) {
13915
+ const { value: targetDate } = cell;
13916
+ const isCurrentMonth = isSameYearAndMonth(cursorDate, targetDate);
13917
+ const isCurrentDate = isSameDate(baseDate, targetDate);
13918
+ const isWeekend$1 = isWeekend(targetDate);
13919
+ return {
13920
+ ...cell,
13921
+ date: getDate(targetDate),
13922
+ isCurrentMonth,
13923
+ isCurrentDate,
13924
+ isWeekend: isWeekend$1
13925
+ };
13926
+ };
13927
+ }
13928
+ function withKeyProps(keyPrefix) {
13929
+ return function(cell) {
13930
+ return {
13931
+ ...cell,
13932
+ key: generateID(keyPrefix)
13933
+ };
13934
+ };
13935
+ }
13936
+ function createCalendarInfo(cursorDate, { weekStartsOn }) {
13937
+ const { year, month, day } = parseDate(cursorDate);
13938
+ const startWeekdayInMonth = getStartWeekdayInMonth(cursorDate, weekStartsOn);
13939
+ const weeksInMonth = getWeeksInMonth(cursorDate, startWeekdayInMonth);
13940
+ const weekendDays = arrayOf(7).map((index2) => ({
13941
+ value: setDay(cursorDate, index2 + weekStartsOn)
13942
+ }));
13943
+ const getDateCellByIndex = (weekIndex, dayIndex) => {
13944
+ const day2 = weekIndex * 7 + dayIndex - startWeekdayInMonth + 1;
13945
+ return { value: new Date(year, month, day2) };
13946
+ };
13947
+ return {
13948
+ cursorDate,
13949
+ year,
13950
+ month,
13951
+ day,
13952
+ weekStartsOn,
13953
+ startWeekdayInMonth,
13954
+ weeksInMonth,
13955
+ weekendDays,
13956
+ today: {
13957
+ weekIndex: getCurrentWeekIndex(day, startWeekdayInMonth),
13958
+ dateIndex: getDay(cursorDate)
13959
+ },
13960
+ getDateCellByIndex
13961
+ };
13962
+ }
13963
+ function getStartWeekdayInMonth(date, weekStartsOn) {
13964
+ const monthStartsAt = (startOfMonth(date).getDay() - weekStartsOn) % 7;
13965
+ return monthStartsAt < 0 ? monthStartsAt + 7 : monthStartsAt;
13966
+ }
13967
+ function getWeeksInMonth(date, startWeekdayInMonth) {
13968
+ const totalDaysOfMonth = getDaysInMonth(date);
13969
+ return Math.ceil((startWeekdayInMonth + totalDaysOfMonth) / 7);
13970
+ }
13971
+ function getCurrentWeekIndex(day, startWeekdayInMonth) {
13972
+ if ((day + startWeekdayInMonth) % 7 > 0) {
13973
+ return Math.floor((day + startWeekdayInMonth) / 7);
13974
+ }
13975
+ return Math.floor((day + startWeekdayInMonth) / 7) - 1;
13976
+ }
13977
+ function useIsMounted() {
13978
+ const [mounted, setMounted] = React.useState(false);
13979
+ React.useEffect(() => {
13980
+ setMounted(true);
13981
+ }, []);
13982
+ return mounted;
13983
+ }
13984
+ function useCalendar({
13985
+ defaultDate,
13986
+ defaultWeekStart = 0,
13987
+ defaultViewType = CalendarViewType_default.Month
13988
+ } = {}) {
13989
+ const isMounted = useIsMounted();
13990
+ const baseDate = React.useMemo(() => {
13991
+ return defaultDate != null ? new Date(defaultDate) : /* @__PURE__ */ new Date();
13992
+ }, [defaultDate, isMounted]);
13993
+ const [weekStartsOn, setWeekStartsOn] = React.useState(defaultWeekStart);
13994
+ const [cursorDate, setCursorDate] = React.useState(baseDate);
13995
+ const [viewType, setViewType] = React.useState(defaultViewType);
13996
+ const calendar = createCalendarInfo(cursorDate, { weekStartsOn });
13997
+ const { weekendDays, weeksInMonth, today, getDateCellByIndex } = calendar;
13998
+ const getHeaders = React.useCallback(
13999
+ (viewType2) => {
14000
+ switch (viewType2) {
14001
+ case CalendarViewType_default.Month:
14002
+ case CalendarViewType_default.Week:
14003
+ return {
14004
+ weekDays: withKey(weekendDays, "weekdays")
14005
+ };
14006
+ case CalendarViewType_default.Day:
14007
+ default:
14008
+ return {
14009
+ weekDays: withKey([{ value: cursorDate }], "weekdays")
14010
+ };
14011
+ }
14012
+ },
14013
+ [cursorDate, weekendDays]
14014
+ );
14015
+ const createMatrix = React.useCallback(
14016
+ (weeksInMonth2) => ({
14017
+ value: arrayOf(weeksInMonth2).map((weekIndex) => {
14018
+ return {
14019
+ key: generateID("weeks"),
14020
+ value: arrayOf(7).map((dayIndex) => {
14021
+ return pipeWith(
14022
+ getDateCellByIndex(weekIndex, dayIndex),
14023
+ withDateProps(baseDate, cursorDate),
14024
+ withKeyProps("days")
14025
+ );
14026
+ })
14027
+ };
14028
+ })
14029
+ }),
14030
+ [baseDate, cursorDate, getDateCellByIndex]
14031
+ );
14032
+ const getBody = React.useCallback(
14033
+ (viewType2) => {
14034
+ var _a;
14035
+ const matrix2 = createMatrix(weeksInMonth);
14036
+ const { weekIndex, dateIndex } = today;
14037
+ return {
14038
+ [CalendarViewType_default.Month]: matrix2,
14039
+ [CalendarViewType_default.Week]: {
14040
+ value: [matrix2.value[weekIndex]]
14041
+ },
14042
+ [CalendarViewType_default.Day]: {
14043
+ value: [
14044
+ {
14045
+ key: "week-day-type",
14046
+ value: [(_a = matrix2.value[weekIndex]) == null ? void 0 : _a.value[dateIndex]]
14047
+ }
14048
+ ]
14049
+ }
14050
+ }[viewType2];
14051
+ },
14052
+ [createMatrix, today, weeksInMonth]
14053
+ );
14054
+ const setNext = React.useMemo(() => {
14055
+ switch (viewType) {
14056
+ case CalendarViewType_default.Month:
14057
+ return (date) => addMonths(startOfMonth(date), 1);
14058
+ case CalendarViewType_default.Week:
14059
+ return (date) => addWeeks(startOfWeek(date, { weekStartsOn }), 1);
14060
+ case CalendarViewType_default.Day:
14061
+ return (date) => addDays(date, 1);
14062
+ }
14063
+ }, [viewType, weekStartsOn]);
14064
+ const setPrev = React.useMemo(() => {
14065
+ switch (viewType) {
14066
+ case CalendarViewType_default.Month:
14067
+ return (date) => subMonths(startOfMonth(date), 1);
14068
+ case CalendarViewType_default.Week:
14069
+ return (date) => subWeeks(startOfWeek(date, { weekStartsOn }), 1);
14070
+ case CalendarViewType_default.Day:
14071
+ return (date) => subDays(date, 1);
14072
+ }
14073
+ }, [viewType, weekStartsOn]);
14074
+ return React.useMemo(
14075
+ () => ({
14076
+ ...calendar,
14077
+ headers: getHeaders(viewType),
14078
+ body: getBody(viewType),
14079
+ navigation: {
14080
+ toNext: () => setCursorDate((date) => setNext(date)),
14081
+ toPrev: () => setCursorDate((date) => setPrev(date)),
14082
+ setToday: () => setCursorDate(/* @__PURE__ */ new Date()),
14083
+ setDate: (date) => setCursorDate(date)
14084
+ },
14085
+ view: {
14086
+ type: viewType,
14087
+ setViewType,
14088
+ setWeekStartsOn,
14089
+ isMonthView: viewType === CalendarViewType_default.Month,
14090
+ isWeekView: viewType === CalendarViewType_default.Week,
14091
+ isDayView: viewType === CalendarViewType_default.Day,
14092
+ showMonthView: () => setViewType(CalendarViewType_default.Month),
14093
+ showWeekView: () => setViewType(CalendarViewType_default.Week),
14094
+ showDayView: () => setViewType(CalendarViewType_default.Day)
14095
+ }
14096
+ }),
14097
+ [calendar, getBody, getHeaders, setNext, setPrev, viewType]
14098
+ );
14099
+ }
14100
+ const Wrapper$4 = styled.styled.div.withConfig({
14101
+ componentId: "sc-1pvd2nj-0"
14102
+ })(["width:inherit;display:flex;align-items:center;justify-content:space-between;align-items:center;span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}", ""], ({
14103
+ theme: theme2,
14104
+ $error,
14105
+ $resize
14106
+ }) => `
14107
+ gap: ${theme2.click.field.space.gap};
14108
+ border-radius: ${theme2.click.field.radii.all};
14109
+ font: ${theme2.click.field.typography.fieldText.default};
14110
+ color: ${theme2.click.field.color.text.default};
14111
+ border: 1px solid ${theme2.click.field.color.stroke.default};
14112
+ background: ${theme2.click.field.color.background.default};
14113
+
14114
+ *:autofill,
14115
+ *:-webkit-autofill {
14116
+ -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.default} inset;
14117
+ -webkit-text-fill-color: ${theme2.click.field.color.text.default};
14118
+ caret-color: ${theme2.click.field.color.text.default};
14119
+ }
14120
+
14121
+ &:hover {
14122
+ border: 1px solid ${theme2.click.field.color.stroke.hover};
14123
+ background: ${theme2.click.field.color.background.hover};
14124
+ color: ${theme2.click.field.color.text.hover};
14125
+
14126
+ *:autofill,
14127
+ *:-webkit-autofill {
14128
+ -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.hover} inset;
14129
+ -webkit-text-fill-color: ${theme2.click.field.color.text.hover};
14130
+ caret-color: ${theme2.click.field.color.text.hover};
14131
+ }
14132
+ }
14133
+ ${$resize === "none" ? "" : `
14134
+ resize: ${$resize};
14135
+ overflow: auto;
14136
+ `}
14137
+ padding: 0 ${theme2.click.field.space.x};
14138
+ ${$error ? `
14139
+ font: ${theme2.click.field.typography.fieldText.error};
14140
+ border: 1px solid ${theme2.click.field.color.stroke.error};
14141
+ background: ${theme2.click.field.color.background.active};
14142
+ color: ${theme2.click.field.color.text.error};
14143
+
14144
+ *:autofill,
14145
+ *:-webkit-autofill {
14146
+ -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
14147
+ -webkit-text-fill-color: ${theme2.click.field.color.text.error};
14148
+ caret-color: ${theme2.click.field.color.text.error};
14149
+ }
14150
+
14151
+ &:hover {
14152
+ border: 1px solid ${theme2.click.field.color.stroke.error};
14153
+ color: ${theme2.click.field.color.text.error};
14154
+ *:autofill,
14155
+ *:-webkit-autofill {
14156
+ -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
14157
+ -webkit-text-fill-color: ${theme2.click.field.color.text.error};
14158
+ caret-color: ${theme2.click.field.color.text.error};
14159
+ }
14160
+ }
14161
+ ` : `
14162
+ &:focus-within,
14163
+ &[data-state="open"] {
14164
+ font: ${theme2.click.field.typography.fieldText.active};
14165
+ border: 1px solid ${theme2.click.field.color.stroke.active};
14166
+ background: ${theme2.click.field.color.background.active};
14167
+ color: ${theme2.click.field.color.text.active};
14168
+
14169
+ *:autofill,
14170
+ *:-webkit-autofill {
14171
+ -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.active} inset;
14172
+ -webkit-text-fill-color: ${theme2.click.field.color.text.active};
14173
+ caret-color: ${theme2.click.field.color.text.active};
14174
+ }
14175
+ }
14176
+ `};
14177
+ &:disabled, &.disabled {
14178
+ font: ${theme2.click.field.typography.fieldText.disabled};
14179
+ border: 1px solid ${theme2.click.field.color.stroke.disabled};
14180
+ background: ${theme2.click.field.color.background.disabled};
14181
+ color: ${theme2.click.field.color.text.disabled};
14182
+
14183
+ *:autofill,
14184
+ *:-webkit-autofill {
14185
+ -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.disabled} inset;
14186
+ -webkit-text-fill-color: ${theme2.click.field.color.text.disabled};
14187
+ caret-color: ${theme2.click.field.color.text.disabled};
14188
+ }
14189
+ }
14190
+ `);
14191
+ const StyledLabel = styled.styled(Label$1).withConfig({
14192
+ componentId: "sc-1pvd2nj-1"
14193
+ })(["", ""], ({
14194
+ $labelColor
14195
+ }) => `
14196
+ ${$labelColor ? `color: ${$labelColor};` : ""}
14197
+ `);
14198
+ const InputWrapper = ({
14199
+ className,
14200
+ id,
14201
+ label = "",
14202
+ labelColor,
14203
+ error: error2,
14204
+ disabled,
14205
+ children,
14206
+ orientation,
14207
+ dir,
14208
+ resize = "none"
14209
+ }) => {
14210
+ return /* @__PURE__ */ jsxRuntime.jsxs(FormRoot, { $orientation: orientation, $dir: dir, $addLabelPadding: true, children: [
14211
+ /* @__PURE__ */ jsxRuntime.jsxs(FormElementContainer, { children: [
14212
+ /* @__PURE__ */ jsxRuntime.jsx(Wrapper$4, { $error: !!error2, $resize: resize, "data-resize": resize, className: disabled ? `disabled ${className}` : className, children }),
14213
+ !!error2 && error2 !== true && /* @__PURE__ */ jsxRuntime.jsx(Error$1, { children: error2 })
14214
+ ] }),
14215
+ label && /* @__PURE__ */ jsxRuntime.jsx(StyledLabel, { htmlFor: id, disabled, error: !!error2, $labelColor: labelColor, children: label })
14216
+ ] });
14217
+ };
14218
+ const InputElement = styled.styled.input.withConfig({
14219
+ componentId: "sc-1pvd2nj-2"
14220
+ })(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;", ""], ({
14221
+ theme: theme2
14222
+ }) => `
14223
+ padding: ${theme2.click.field.space.y} 0;
14224
+ &::placeholder {
14225
+ color: ${theme2.click.field.color.placeholder.default};
14226
+ }
14227
+
14228
+ &:disabled, &.disabled {
14229
+ &::placeholder {
14230
+ color: ${theme2.click.field.color.placeholder.disabled};
14231
+ }
14232
+ `);
14233
+ const NumberInputElement = styled.styled(InputElement).withConfig({
14234
+ componentId: "sc-1pvd2nj-3"
14235
+ })(["", ""], ({
14236
+ $hideControls
14237
+ }) => `
14238
+ ${$hideControls ? `
14239
+ &::-webkit-outer-spin-button,
14240
+ &::-webkit-inner-spin-button {
14241
+ -webkit-appearance: none;
14242
+ margin: 0;
14243
+ }
14244
+
14245
+ -moz-appearance: textfield;
14246
+ ` : ""}
14247
+ `);
14248
+ const TextAreaElement = styled.styled.textarea.withConfig({
14249
+ componentId: "sc-1pvd2nj-4"
14250
+ })(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;resize:none;", ""], ({
14251
+ theme: theme2
14252
+ }) => `
14253
+ padding: ${theme2.click.field.space.y} 0;
14254
+ align-self: stretch;
14255
+ &::placeholder {
14256
+ color: ${theme2.click.field.color.placeholder.default};
14257
+ }
14258
+ `);
14259
+ styled.styled(InputWrapper).withConfig({
14260
+ componentId: "sc-1pvd2nj-5"
14261
+ })(["resize:vertical;overflow:auto;color:red;"]);
14262
+ const IconButton = styled.styled.button.withConfig({
14263
+ componentId: "sc-1pvd2nj-6"
14264
+ })(["background:transparent;color:inherit;border:none;padding:0;outline:none;&:not(:disabled){cursor:pointer;}", ""], ({
14265
+ theme: theme2,
14266
+ $show
14267
+ }) => `
14268
+ padding: ${theme2.click.field.space.y} 0;
14269
+ visibility: ${$show ? "visible" : "hidden"};
14270
+ `);
14271
+ styled.styled.svg.withConfig({
14272
+ componentId: "sc-1pvd2nj-7"
14273
+ })(["", ""], ({
14274
+ theme: theme2
14275
+ }) => `
14276
+ &:first-of-type {
14277
+ padding-left: ${theme2.click.field.space.gap};
14278
+ }
14279
+ &:last-of-type {
14280
+ padding-right: ${theme2.click.field.space.x};
14281
+ }
14282
+ `);
14283
+ const locale = "en-US";
14284
+ const weekdayFormatter = new Intl.DateTimeFormat(locale, {
14285
+ weekday: "short"
14286
+ });
14287
+ const headerDateFormatter = new Intl.DateTimeFormat(locale, {
14288
+ month: "short",
14289
+ year: "numeric"
14290
+ });
14291
+ const selectedDateFormatter = new Intl.DateTimeFormat(locale, {
14292
+ day: "2-digit",
14293
+ month: "short",
14294
+ year: "numeric"
14295
+ });
14296
+ const explicitWidth = "250px";
14297
+ const HighlightedInputWrapper = styled(InputWrapper).withConfig({
14298
+ componentId: "sc-1kfphgn-0"
14299
+ })(["", " width:", ";}"], ({
14300
+ $isActive,
14301
+ theme: theme2
14302
+ }) => {
14303
+ return `border: ${theme2.click.datePicker.dateOption.stroke} solid ${$isActive ? theme2.click.datePicker.dateOption.color.stroke.active : theme2.click.field.color.stroke.default};`;
14304
+ }, explicitWidth);
14305
+ const DatePickerContainer = styled(Container).withConfig({
14306
+ componentId: "sc-1kfphgn-1"
14307
+ })(["background:", ";"], ({
14308
+ theme: theme2
14309
+ }) => theme2.click.datePicker.dateOption.color.background.default);
14310
+ const UnselectableTitle = styled.h2.withConfig({
14311
+ componentId: "sc-1kfphgn-2"
14312
+ })(["", " user-select:none;"], ({
14313
+ theme: theme2
14314
+ }) => `
14315
+ color: ${theme2.click.datePicker.color.title.default};
14316
+ font: ${theme2.click.datePicker.typography.title.default};
14317
+ `);
14318
+ const DateTable = styled.table.withConfig({
14319
+ componentId: "sc-1kfphgn-3"
14320
+ })(["border-collapse:separate;border-spacing:0;font:", " table-layout:fixed;user-select:none;width:", ";thead tr{height:", ";}tbody{cursor:pointer;}td,th{", ";padding:4px;}"], ({
14321
+ theme: theme2
14322
+ }) => theme2.typography.styles.product.text.normal.md, explicitWidth, ({
14323
+ theme: theme2
14324
+ }) => theme2.click.datePicker.dateOption.size.height, ({
14325
+ theme: theme2
14326
+ }) => `border: ${theme2.click.datePicker.dateOption.stroke} solid ${theme2.click.datePicker.dateOption.color.stroke.default}`);
14327
+ const DateTableHeader = styled.th.withConfig({
14328
+ componentId: "sc-1kfphgn-4"
14329
+ })(["", " width:14%;"], ({
14330
+ theme: theme2
14331
+ }) => `
14332
+ color: ${theme2.click.datePicker.color.daytitle.default};
14333
+ font: ${theme2.click.datePicker.typography.daytitle.default};
14334
+ `);
14335
+ const DateTableCell = styled.td.withConfig({
14336
+ componentId: "sc-1kfphgn-5"
14337
+ })(["", " ", " ", " text-align:center;", " &:hover{", ";}"], ({
14338
+ theme: theme2
14339
+ }) => `
14340
+ border-radius: ${theme2.click.datePicker.dateOption.radii.default};
14341
+ font: ${theme2.click.datePicker.dateOption.typography.label.default};
14342
+ `, ({
14343
+ $isCurrentMonth,
14344
+ $isDisabled,
14345
+ theme: theme2
14346
+ }) => (!$isCurrentMonth || $isDisabled) && `
14347
+ color: ${theme2.click.datePicker.dateOption.color.label.disabled};
14348
+ font: ${theme2.click.datePicker.dateOption.typography.label.disabled};
14349
+ `, ({
14350
+ $isSelected,
14351
+ theme: theme2
14352
+ }) => $isSelected && `
14353
+ background: ${theme2.click.datePicker.dateOption.color.background.active};
14354
+ color: ${theme2.click.datePicker.dateOption.color.label.active};
14355
+ `, ({
14356
+ $isToday,
14357
+ theme: theme2
14358
+ }) => $isToday && `font: ${theme2.click.datePicker.dateOption.typography.label.active};`, ({
14359
+ $isDisabled,
14360
+ theme: theme2
14361
+ }) => `border: ${theme2.click.datePicker.dateOption.stroke} solid ${$isDisabled ? theme2.click.datePicker.dateOption.color.stroke.disabled : theme2.click.datePicker.dateOption.color.stroke.hover}`);
14362
+ const DatePickerInput = ({
14363
+ isActive,
14364
+ disabled,
14365
+ id,
14366
+ placeholder,
14367
+ selectedDate
14368
+ }) => {
14369
+ const defaultId = React.useId();
14370
+ const formattedSelectedDate = selectedDate instanceof Date ? selectedDateFormatter.format(selectedDate) : "";
14371
+ return /* @__PURE__ */ jsxRuntime.jsxs(HighlightedInputWrapper, { $isActive: isActive, disabled, id: id ?? defaultId, children: [
14372
+ /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "calendar" }),
14373
+ /* @__PURE__ */ jsxRuntime.jsx(InputElement, { "data-testid": "datepicker-input", placeholder, readOnly: true, value: formattedSelectedDate })
14374
+ ] });
14375
+ };
14376
+ const Calendar = ({
14377
+ closeDatepicker,
14378
+ futureDatesDisabled,
14379
+ selectedDate,
14380
+ setSelectedDate
14381
+ }) => {
14382
+ const calendarOptions = {
14383
+ defaultWeekStart: 1
14384
+ };
14385
+ if (selectedDate) {
14386
+ calendarOptions.defaultDate = selectedDate;
14387
+ }
14388
+ const {
14389
+ body,
14390
+ headers,
14391
+ month,
14392
+ navigation,
14393
+ year
14394
+ } = useCalendar(calendarOptions);
14395
+ const handleNextClick = () => {
14396
+ navigation.toNext();
14397
+ };
14398
+ const handlePreviousClick = () => {
14399
+ navigation.toPrev();
14400
+ };
14401
+ const headerDate = /* @__PURE__ */ new Date();
14402
+ headerDate.setMonth(month);
14403
+ headerDate.setFullYear(year);
14404
+ return /* @__PURE__ */ jsxRuntime.jsxs(DatePickerContainer, { "data-testid": "datepicker-calendar-container", isResponsive: false, fillWidth: false, orientation: "vertical", padding: "sm", children: [
14405
+ /* @__PURE__ */ jsxRuntime.jsxs(Container, { isResponsive: false, justifyContent: "space-between", orientation: "horizontal", children: [
14406
+ /* @__PURE__ */ jsxRuntime.jsx(IconButton$1, { icon: "chevron-left", onClick: handlePreviousClick, size: "sm", type: "ghost" }),
14407
+ /* @__PURE__ */ jsxRuntime.jsx(UnselectableTitle, { children: headerDateFormatter.format(headerDate) }),
14408
+ /* @__PURE__ */ jsxRuntime.jsx(IconButton$1, { icon: "chevron-right", onClick: handleNextClick, size: "sm", type: "ghost" })
14409
+ ] }),
14410
+ /* @__PURE__ */ jsxRuntime.jsxs(DateTable, { children: [
14411
+ /* @__PURE__ */ jsxRuntime.jsx("thead", { children: /* @__PURE__ */ jsxRuntime.jsx("tr", { children: headers.weekDays.map(({
14412
+ key,
14413
+ value: date
14414
+ }) => {
14415
+ return /* @__PURE__ */ jsxRuntime.jsx(DateTableHeader, { children: weekdayFormatter.format(date) }, key);
14416
+ }) }) }),
14417
+ /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: body.value.map(({
14418
+ key: weekKey,
14419
+ value: week
14420
+ }) => {
14421
+ return /* @__PURE__ */ jsxRuntime.jsx("tr", { children: week.map(({
14422
+ date,
14423
+ isCurrentMonth,
14424
+ key: dayKey,
14425
+ value: fullDate
14426
+ }) => {
14427
+ const isSelected = selectedDate ? isSameDate(selectedDate, fullDate) : false;
14428
+ const today = /* @__PURE__ */ new Date();
14429
+ const isCurrentDate = isSameDate(today, fullDate);
14430
+ const isDisabled = futureDatesDisabled ? fullDate > today : false;
14431
+ return /* @__PURE__ */ jsxRuntime.jsx(DateTableCell, { $isCurrentMonth: isCurrentMonth, $isDisabled: isDisabled, $isSelected: isSelected, $isToday: isCurrentDate, onClick: () => {
14432
+ if (isDisabled) {
14433
+ return false;
14434
+ }
14435
+ setSelectedDate(fullDate);
14436
+ closeDatepicker();
14437
+ }, children: date }, dayKey);
14438
+ }) }, weekKey);
14439
+ }) })
14440
+ ] })
14441
+ ] });
14442
+ };
14443
+ const DatePicker = ({
14444
+ date,
14445
+ disabled = false,
14446
+ futureDatesDisabled = false,
14447
+ onSelectDate,
14448
+ placeholder
14449
+ }) => {
14450
+ const [isOpen, setIsOpen] = React.useState(false);
14451
+ const [selectedDate, setSelectedDate] = React.useState();
14452
+ React.useEffect(() => {
14453
+ if (date) {
14454
+ setSelectedDate(date);
14455
+ }
14456
+ }, [date]);
14457
+ const closeDatePicker = () => {
14458
+ setIsOpen(false);
14459
+ };
14460
+ const handleSelectDate = (selectedDate2) => {
14461
+ setSelectedDate(selectedDate2);
14462
+ onSelectDate(selectedDate2);
14463
+ };
14464
+ return /* @__PURE__ */ jsxRuntime.jsxs(Dropdown, { onOpenChange: setIsOpen, open: isOpen, children: [
14465
+ /* @__PURE__ */ jsxRuntime.jsx(Dropdown.Trigger, { disabled, children: /* @__PURE__ */ jsxRuntime.jsx(DatePickerInput, { "data-testid": "datepicker-inpcontainer", disabled, isActive: isOpen, placeholder, selectedDate }) }),
14466
+ /* @__PURE__ */ jsxRuntime.jsx(Dropdown.Content, { align: "start", children: /* @__PURE__ */ jsxRuntime.jsx(Calendar, { closeDatepicker: closeDatePicker, futureDatesDisabled, selectedDate, setSelectedDate: handleSelectDate }) })
14467
+ ] });
14468
+ };
13697
14469
  const $5d3850c4d0b4e6c7$var$DIALOG_NAME = "Dialog";
13698
14470
  const [$5d3850c4d0b4e6c7$var$createDialogContext, $5d3850c4d0b4e6c7$export$cc702773b8ea3e41] = $c512c27ab02ef895$export$50c7b4e9d9f19c1($5d3850c4d0b4e6c7$var$DIALOG_NAME);
13699
14471
  const [$5d3850c4d0b4e6c7$var$DialogProvider, $5d3850c4d0b4e6c7$var$useDialogContext] = $5d3850c4d0b4e6c7$var$createDialogContext($5d3850c4d0b4e6c7$var$DIALOG_NAME);
@@ -13961,7 +14733,7 @@ var __publicField = (obj, key, value) => {
13961
14733
  }) => {
13962
14734
  return /* @__PURE__ */ jsxRuntime.jsx($5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9, { ...props, children });
13963
14735
  };
13964
- const Trigger$4 = styledComponents.styled($5d3850c4d0b4e6c7$export$41fb9f06171c75f4).withConfig({
14736
+ const Trigger$4 = styled.styled($5d3850c4d0b4e6c7$export$41fb9f06171c75f4).withConfig({
13965
14737
  componentId: "sc-1wr6otn-0"
13966
14738
  })(["width:fit-content;background:transparent;border:none;cursor:pointer;"]);
13967
14739
  const DialogTrigger = ({
@@ -13979,7 +14751,7 @@ var __publicField = (obj, key, value) => {
13979
14751
  }) => /* @__PURE__ */ jsxRuntime.jsx($5d3850c4d0b4e6c7$export$f39c2d165cd861fe, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(Button, { type, label, ...props }) });
13980
14752
  DialogClose.displayName = "DialogClose";
13981
14753
  Dialog.Close = DialogClose;
13982
- const overlayShow = styledComponents.keyframes({
14754
+ const overlayShow = styled.keyframes({
13983
14755
  "0%": {
13984
14756
  opacity: 0
13985
14757
  },
@@ -13987,7 +14759,7 @@ var __publicField = (obj, key, value) => {
13987
14759
  opacity: 1
13988
14760
  }
13989
14761
  });
13990
- const contentShow = styledComponents.keyframes({
14762
+ const contentShow = styled.keyframes({
13991
14763
  "0%": {
13992
14764
  opacity: 0,
13993
14765
  transform: "translate(-50%, -48%) scale(.96)"
@@ -13997,12 +14769,12 @@ var __publicField = (obj, key, value) => {
13997
14769
  transform: "translate(-50%, -50%) scale(1)"
13998
14770
  }
13999
14771
  });
14000
- const DialogOverlay = styledComponents.styled($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff).withConfig({
14772
+ const DialogOverlay = styled.styled($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff).withConfig({
14001
14773
  componentId: "sc-1wr6otn-1"
14002
14774
  })(["background-color:", ";position:fixed;inset:0;animation:", " 150ms cubic-bezier(0.16,1,0.3,1);"], ({
14003
14775
  theme: theme2
14004
14776
  }) => theme2.click.dialog.color.opaqueBackground.default, overlayShow);
14005
- const ContentArea = styledComponents.styled($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2).withConfig({
14777
+ const ContentArea = styled.styled($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2).withConfig({
14006
14778
  componentId: "sc-1wr6otn-2"
14007
14779
  })(["background:", ";border-radius:", ";padding:", " ", ";box-shadow:", ";border:1px solid ", ";width:75%;max-width:670px;position:fixed;top:50%;left:50%;max-height:75%;overflow:auto;transform:translate(-50%,-50%);animation:", " 150ms cubic-bezier(0.16,1,0.3,1);outline:none;"], ({
14008
14780
  theme: theme2
@@ -14017,12 +14789,12 @@ var __publicField = (obj, key, value) => {
14017
14789
  }) => theme2.click.dialog.shadow.default, ({
14018
14790
  theme: theme2
14019
14791
  }) => theme2.click.global.color.stroke.default, contentShow);
14020
- const TitleArea = styledComponents.styled.div.withConfig({
14792
+ const TitleArea = styled.styled.div.withConfig({
14021
14793
  componentId: "sc-1wr6otn-3"
14022
14794
  })(["display:flex;justify-content:space-between;align-items:center;min-height:", ";"], ({
14023
14795
  theme: theme2
14024
14796
  }) => theme2.sizes[9]);
14025
- const Title$1 = styledComponents.styled.h2.withConfig({
14797
+ const Title$1 = styled.styled.h2.withConfig({
14026
14798
  componentId: "sc-1wr6otn-4"
14027
14799
  })(["font:", ";padding:0;margin:0;"], ({
14028
14800
  theme: theme2
@@ -14054,10 +14826,10 @@ var __publicField = (obj, key, value) => {
14054
14826
  };
14055
14827
  DialogContent$1.displayName = "DialogContent";
14056
14828
  Dialog.Content = DialogContent$1;
14057
- const ActionsWrapper = styledComponents.styled.div.withConfig({
14829
+ const ActionsWrapper = styled.styled.div.withConfig({
14058
14830
  componentId: "sc-6eozxy-0"
14059
14831
  })(["display:flex;justify-content:flex-end;gap:", ";"], (props) => props.theme.click.dialog.space.gap);
14060
- const DialogContent = styledComponents.styled.div.withConfig({
14832
+ const DialogContent = styled.styled.div.withConfig({
14061
14833
  componentId: "sc-6eozxy-1"
14062
14834
  })(["overflow:hidden;display:flex;flex-direction:column;"]);
14063
14835
  const ConfirmationDialog = ({
@@ -14107,7 +14879,7 @@ var __publicField = (obj, key, value) => {
14107
14879
  };
14108
14880
  Trigger$3.displayName = "Flyout.Trigger";
14109
14881
  Flyout.Trigger = Trigger$3;
14110
- const animationWidth = () => styledComponents.keyframes({
14882
+ const animationWidth = () => styled.keyframes({
14111
14883
  from: {
14112
14884
  width: 0
14113
14885
  },
@@ -14115,7 +14887,7 @@ var __publicField = (obj, key, value) => {
14115
14887
  width: "fit-content"
14116
14888
  }
14117
14889
  });
14118
- const FlyoutContent = styledComponents.styled($5d3850c4d0b4e6c7$export$b6d9565de1e068cf).withConfig({
14890
+ const FlyoutContent = styled.styled($5d3850c4d0b4e6c7$export$b6d9565de1e068cf).withConfig({
14119
14891
  componentId: "sc-1vtv6sf-0"
14120
14892
  })(["display:flex;flex-direction:column;align-items:center;overflow:hidden;top:0;bottom:0;width:fit-content;--flyout-width:", ";animation:", " 500ms cubic-bezier(0.16,1,0.3,1) forwards;", ""], ({
14121
14893
  theme: theme2,
@@ -14151,7 +14923,7 @@ var __publicField = (obj, key, value) => {
14151
14923
  }
14152
14924
  }
14153
14925
  `);
14154
- const FlyoutContainer = styledComponents.styled.div.withConfig({
14926
+ const FlyoutContainer = styled.styled.div.withConfig({
14155
14927
  componentId: "sc-1vtv6sf-1"
14156
14928
  })(["display:flex;gap:0;width:var(--flyout-width);max-width:100%;flex-flow:column nowrap;gap:inherit;"]);
14157
14929
  const Content$1 = ({
@@ -14181,7 +14953,7 @@ var __publicField = (obj, key, value) => {
14181
14953
  };
14182
14954
  Content$1.displayName = "Flyout.Content";
14183
14955
  Flyout.Content = Content$1;
14184
- const FlyoutElement = styledComponents.styled(Container).withConfig({
14956
+ const FlyoutElement = styled.styled(Container).withConfig({
14185
14957
  componentId: "sc-1vtv6sf-2"
14186
14958
  })(["max-width:100%;max-width:-webkit-fill-available;max-width:fill-available;max-width:stretch;", ""], ({
14187
14959
  theme: theme2,
@@ -14196,7 +14968,7 @@ var __publicField = (obj, key, value) => {
14196
14968
  }) => /* @__PURE__ */ jsxRuntime.jsx(FlyoutElement, { orientation: "vertical", padding: "none", gap: "none", $type: type, ...props });
14197
14969
  Element$1.displayName = "Flyout.Element";
14198
14970
  Flyout.Element = Element$1;
14199
- const FlyoutHeaderContainer = styledComponents.styled(Container).withConfig({
14971
+ const FlyoutHeaderContainer = styled.styled(Container).withConfig({
14200
14972
  componentId: "sc-1vtv6sf-3"
14201
14973
  })(["", ""], ({
14202
14974
  theme: theme2,
@@ -14206,7 +14978,7 @@ var __publicField = (obj, key, value) => {
14206
14978
  column-gap: ${theme2.click.flyout.space[$type].content["column-gap"]};
14207
14979
  padding: ${theme2.click.flyout.space[$type].y} ${theme2.click.flyout.space[$type].y} 0 ${theme2.click.flyout.space[$type].y} ;
14208
14980
  `);
14209
- const FlyoutTitle = styledComponents.styled($5d3850c4d0b4e6c7$export$16f7638e4a34b909).withConfig({
14981
+ const FlyoutTitle = styled.styled($5d3850c4d0b4e6c7$export$16f7638e4a34b909).withConfig({
14210
14982
  componentId: "sc-1vtv6sf-4"
14211
14983
  })(["", ""], ({
14212
14984
  theme: theme2,
@@ -14217,7 +14989,7 @@ var __publicField = (obj, key, value) => {
14217
14989
  margin: 0;
14218
14990
  padding: 0;
14219
14991
  `);
14220
- const FlyoutDescription = styledComponents.styled($5d3850c4d0b4e6c7$export$94e94c2ec2c954d5).withConfig({
14992
+ const FlyoutDescription = styled.styled($5d3850c4d0b4e6c7$export$94e94c2ec2c954d5).withConfig({
14221
14993
  componentId: "sc-1vtv6sf-5"
14222
14994
  })(["", ""], ({
14223
14995
  theme: theme2,
@@ -14259,7 +15031,7 @@ var __publicField = (obj, key, value) => {
14259
15031
  };
14260
15032
  Header$1.displayName = "Flyout.Header";
14261
15033
  Flyout.Header = Header$1;
14262
- const FlyoutBody = styledComponents.styled(Container).withConfig({
15034
+ const FlyoutBody = styled.styled(Container).withConfig({
14263
15035
  componentId: "sc-1vtv6sf-6"
14264
15036
  })(["width:var(--flyout-width);max-width:100%;margin-top:", ";"], ({
14265
15037
  $align = "default"
@@ -14270,7 +15042,7 @@ var __publicField = (obj, key, value) => {
14270
15042
  }) => /* @__PURE__ */ jsxRuntime.jsx(FlyoutBody, { overflow: "auto", orientation: "vertical", grow: "1", $align: align, ...props });
14271
15043
  Body.displayName = "Flyout.Body";
14272
15044
  Flyout.Body = Body;
14273
- const FlyoutFooter = styledComponents.styled(Container).withConfig({
15045
+ const FlyoutFooter = styled.styled(Container).withConfig({
14274
15046
  componentId: "sc-1vtv6sf-7"
14275
15047
  })(["", ""], ({
14276
15048
  theme: theme2,
@@ -14288,7 +15060,7 @@ var __publicField = (obj, key, value) => {
14288
15060
  };
14289
15061
  FlyoutClose.displayName = "Flyout.Close";
14290
15062
  Flyout.Close = FlyoutClose;
14291
- const FooterContainer = styledComponents.styled(Container).withConfig({
15063
+ const FooterContainer = styled.styled(Container).withConfig({
14292
15064
  componentId: "sc-1vtv6sf-8"
14293
15065
  })(["width:var(--flyout-width);max-width:100%;"]);
14294
15066
  const Footer = (props) => {
@@ -14299,7 +15071,7 @@ var __publicField = (obj, key, value) => {
14299
15071
  };
14300
15072
  Footer.displayName = "Flyout.Footer";
14301
15073
  Flyout.Footer = Footer;
14302
- const CustomCodeBlock = styledComponents.styled(CodeBlock).withConfig({
15074
+ const CustomCodeBlock = styled.styled(CodeBlock).withConfig({
14303
15075
  componentId: "sc-1vtv6sf-9"
14304
15076
  })(["display:flex;height:100%;pre{flex:1;overflow-wrap:break-word;code{display:inline-block;max-width:calc(100% - 1rem);}}"]);
14305
15077
  const FlyoutCodeBlock = ({
@@ -14361,9 +15133,9 @@ var __publicField = (obj, key, value) => {
14361
15133
  overflow,
14362
15134
  ...props
14363
15135
  }) => {
14364
- return /* @__PURE__ */ jsxRuntime.jsx(Wrapper$4, { $alignItems: alignItems, $alignContent: alignContent, $columnGap: columnGap, $gap: gap, $gridAutoColumns: gridAutoColumns, $gridAutoFlow: gridAutoFlow, $gridAutoRows: gridAutoRows, $gridTemplateAreas: gridTemplateAreas, $gridTemplateColumns: gridTemplateColumns, $gridTemplateRows: gridTemplateRows, $gridTemplate: gridTemplate, $inline: inline, $isResponsive: isResponsive, $justifyContent: justifyContent, $justifyItems: justifyItems, $rowGap: rowGap, $height: height, $maxHeight: maxHeight, $minHeight: minHeight, $fillWidth: fillWidth, $maxWidth: maxWidth, $minWidth: minWidth, $overflow: overflow, "data-testid": "grid-container", ...props, children });
15136
+ return /* @__PURE__ */ jsxRuntime.jsx(Wrapper$3, { $alignItems: alignItems, $alignContent: alignContent, $columnGap: columnGap, $gap: gap, $gridAutoColumns: gridAutoColumns, $gridAutoFlow: gridAutoFlow, $gridAutoRows: gridAutoRows, $gridTemplateAreas: gridTemplateAreas, $gridTemplateColumns: gridTemplateColumns, $gridTemplateRows: gridTemplateRows, $gridTemplate: gridTemplate, $inline: inline, $isResponsive: isResponsive, $justifyContent: justifyContent, $justifyItems: justifyItems, $rowGap: rowGap, $height: height, $maxHeight: maxHeight, $minHeight: minHeight, $fillWidth: fillWidth, $maxWidth: maxWidth, $minWidth: minWidth, $overflow: overflow, "data-testid": "grid-container", ...props, children });
14365
15137
  };
14366
- const Wrapper$4 = styledComponents.styled.div.withConfig({
15138
+ const Wrapper$3 = styled.styled.div.withConfig({
14367
15139
  componentId: "sc-r57kdn-0"
14368
15140
  })(["align-items:", ";align-content:", ";display:", ";", ";", ";", ";", ";", ";", ";", ";justify-content:", ";justify-items:", ";", " ", " ", " ", " @media (max-width:", "){grid-template-columns:", ";}"], ({
14369
15141
  $alignItems = "stretch"
@@ -14425,7 +15197,7 @@ var __publicField = (obj, key, value) => {
14425
15197
  }) => $isResponsive === true ? "1fr" : ({
14426
15198
  $gridTemplateColumns
14427
15199
  }) => $gridTemplateColumns || "auto");
14428
- const InlineContainer = styledComponents.styled.span.withConfig({
15200
+ const InlineContainer = styled.styled.span.withConfig({
14429
15201
  componentId: "sc-ugg5k0-0"
14430
15202
  })(["", ""], ({
14431
15203
  theme: theme2
@@ -14666,7 +15438,7 @@ var __publicField = (obj, key, value) => {
14666
15438
  };
14667
15439
  ContextMenuSubTrigger.displayName = "ContextMenuSubTrigger";
14668
15440
  ContextMenu.SubTrigger = ContextMenuSubTrigger;
14669
- const RightMenuContent = styledComponents.styled(GenericMenuPanel).withConfig({
15441
+ const RightMenuContent = styled.styled(GenericMenuPanel).withConfig({
14670
15442
  componentId: "sc-8z6kye-0"
14671
15443
  })(["flex-direction:column;z-index:1;", ";"], ({
14672
15444
  $showArrow
@@ -14705,7 +15477,7 @@ var __publicField = (obj, key, value) => {
14705
15477
  };
14706
15478
  ContextMenuContent.displayName = "ContextMenuContent";
14707
15479
  ContextMenu.Content = ContextMenuContent;
14708
- const RightMenuGroup = styledComponents.styled($1b0217ee4a91d156$export$eb2fcfdbd7ba97d4).withConfig({
15480
+ const RightMenuGroup = styled.styled($1b0217ee4a91d156$export$eb2fcfdbd7ba97d4).withConfig({
14709
15481
  componentId: "sc-8z6kye-1"
14710
15482
  })(["width:100%;border-bottom:1px solid ", ";"], ({
14711
15483
  theme: theme2
@@ -14715,7 +15487,7 @@ var __publicField = (obj, key, value) => {
14715
15487
  };
14716
15488
  ContextMenuGroup.displayName = "ContextMenuGroup";
14717
15489
  ContextMenu.Group = ContextMenuGroup;
14718
- const RightMenuSub = styledComponents.styled($1b0217ee4a91d156$export$d7a01e11500dfb6f).withConfig({
15490
+ const RightMenuSub = styled.styled($1b0217ee4a91d156$export$d7a01e11500dfb6f).withConfig({
14719
15491
  componentId: "sc-8z6kye-2"
14720
15492
  })(["border-bottom:1px solid ", ";"], ({
14721
15493
  theme: theme2
@@ -15823,7 +16595,7 @@ var __publicField = (obj, key, value) => {
15823
16595
  }, !bailoutOnChildren && children(childParams));
15824
16596
  }
15825
16597
  }
15826
- const StyledCell = styledComponents.styled.div.withConfig({
16598
+ const StyledCell = styled.styled.div.withConfig({
15827
16599
  componentId: "sc-30izhw-0"
15828
16600
  })(['display:block;text-align:left;&[data-align="right"]{text-align:right;}overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:default;width:100%;box-sizing:border-box;', " ", ";"], ({
15829
16601
  theme: theme2,
@@ -15878,7 +16650,7 @@ var __publicField = (obj, key, value) => {
15878
16650
  ${$selectionType === "selectDirect" && $isLastColumn ? `border-right: 1px solid ${theme2.click.grid[$type].cell.color.stroke.selectDirect};` : ""}
15879
16651
  }
15880
16652
  ` : "");
15881
- const RowNumberColumnContainer = styledComponents.styled.div.withConfig({
16653
+ const RowNumberColumnContainer = styled.styled.div.withConfig({
15882
16654
  componentId: "sc-7gbi4d-0"
15883
16655
  })(["position:sticky;left:0;", " ", ""], ({
15884
16656
  $height,
@@ -15891,7 +16663,7 @@ var __publicField = (obj, key, value) => {
15891
16663
  $scrolledHorizontal,
15892
16664
  theme: theme2
15893
16665
  }) => $scrolledHorizontal ? `box-shadow: 0px 0 0px 1px ${theme2.click.grid.header.cell.color.stroke.default};` : "");
15894
- const RowNumberCell = styledComponents.styled.div.withConfig({
16666
+ const RowNumberCell = styled.styled.div.withConfig({
15895
16667
  componentId: "sc-7gbi4d-1"
15896
16668
  })(["position:absolute;left:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;", ""], ({
15897
16669
  $height,
@@ -16150,7 +16922,7 @@ var __publicField = (obj, key, value) => {
16150
16922
  }
16151
16923
  var throttle_1 = throttle$1;
16152
16924
  const throttle$2 = /* @__PURE__ */ getDefaultExportFromCjs(throttle_1);
16153
- const ResizeSpan = styledComponents.styled.div.withConfig({
16925
+ const ResizeSpan = styled.styled.div.withConfig({
16154
16926
  componentId: "sc-1r6e5v3-0"
16155
16927
  })(["top:0;left:calc(100% - 4px);z-index:1;position:absolute;height:", "px;cursor:col-resize;width:4px;overflow:auto;&:hover,&:active,&:hover{background:", ";}", ""], ({
16156
16928
  $height
@@ -16228,7 +17000,7 @@ var __publicField = (obj, key, value) => {
16228
17000
  }
16229
17001
  }, onMouseMove, onMouseDown, onClick: (e) => e.stopPropagation(), onMouseUp, "data-resize": true });
16230
17002
  };
16231
- const HeaderContainer = styledComponents.styled.div.withConfig({
17003
+ const HeaderContainer = styled.styled.div.withConfig({
16232
17004
  componentId: "sc-1oadqc8-0"
16233
17005
  })(["position:sticky;top:0;left:0;display:flex;flex-direction:row;height:", "px;", ""], ({
16234
17006
  $height
@@ -16236,12 +17008,12 @@ var __publicField = (obj, key, value) => {
16236
17008
  $scrolledVertical,
16237
17009
  theme: theme2
16238
17010
  }) => $scrolledVertical ? `box-shadow: 0px 0 0px 1px ${theme2.click.grid.header.cell.color.stroke.default};` : "");
16239
- const ScrollableHeaderContainer = styledComponents.styled.div.withConfig({
17011
+ const ScrollableHeaderContainer = styled.styled.div.withConfig({
16240
17012
  componentId: "sc-1oadqc8-1"
16241
17013
  })(["position:relative;left:", "px;"], ({
16242
17014
  $left
16243
17015
  }) => $left);
16244
- const HeaderCellContainer = styledComponents.styled.div.withConfig({
17016
+ const HeaderCellContainer = styled.styled.div.withConfig({
16245
17017
  componentId: "sc-1oadqc8-2"
16246
17018
  })(["position:absolute;display:flex;width:", ";height:", "px;left:", "px;&:hover [data-resize]{background:", ";}"], ({
16247
17019
  $width
@@ -16252,7 +17024,7 @@ var __publicField = (obj, key, value) => {
16252
17024
  }) => $columnPosition, ({
16253
17025
  theme: theme2
16254
17026
  }) => theme2.click.grid.header.cell.color.stroke.selectDirect);
16255
- const RowColumnContainer = styledComponents.styled(HeaderCellContainer).withConfig({
17027
+ const RowColumnContainer = styled.styled(HeaderCellContainer).withConfig({
16256
17028
  componentId: "sc-1oadqc8-3"
16257
17029
  })(["position:sticky;top:0;left:0;width:", ";text-align:right;", ""], ({
16258
17030
  $width
@@ -16260,7 +17032,7 @@ var __publicField = (obj, key, value) => {
16260
17032
  $scrolledHorizontal,
16261
17033
  theme: theme2
16262
17034
  }) => $scrolledHorizontal ? `box-shadow: 0px 0 0px 1px ${theme2.click.grid.header.cell.color.stroke.default};` : "");
16263
- const RowColumn = styledComponents.styled(StyledCell).withConfig({
17035
+ const RowColumn = styled.styled(StyledCell).withConfig({
16264
17036
  componentId: "sc-1oadqc8-4"
16265
17037
  })(["width:100%;text-align:right;"]);
16266
17038
  const Column = ({
@@ -30838,7 +31610,7 @@ var __publicField = (obj, key, value) => {
30838
31610
  const NO_BUTTONS_PRESSED = 0;
30839
31611
  const LEFT_BUTTON_PRESSED = 1;
30840
31612
  const RIGHT_BUTTON_PRESSED = 2;
30841
- const GridContainer = styledComponents.styled.div.withConfig({
31613
+ const GridContainer = styled.styled.div.withConfig({
30842
31614
  componentId: "sc-175eneg-0"
30843
31615
  })(["display:flex;flex-direction:column-reverse;user-select:none;overflow-anchor:none;"]);
30844
31616
  const getRenderedCursor = (children) => children.reduce(([minRow, maxRow, minColumn, maxColumn], {
@@ -30861,7 +31633,7 @@ var __publicField = (obj, key, value) => {
30861
31633
  }
30862
31634
  return [minRow, maxRow, minColumn, maxColumn];
30863
31635
  }, [Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY]);
30864
- const GridDataContainer = styledComponents.styled.div.withConfig({
31636
+ const GridDataContainer = styled.styled.div.withConfig({
30865
31637
  componentId: "sc-175eneg-1"
30866
31638
  })(["position:absolute;top:0;left:0;", ""], ({
30867
31639
  $top,
@@ -30870,7 +31642,7 @@ var __publicField = (obj, key, value) => {
30870
31642
  margin-top: ${$top}px;
30871
31643
  margin-left: ${$left}px;
30872
31644
  `);
30873
- const ContextMenuTrigger = styledComponents.styled.div.withConfig({
31645
+ const ContextMenuTrigger = styled.styled.div.withConfig({
30874
31646
  componentId: "sc-175eneg-2"
30875
31647
  })(["outline:none;overflow:hidden;height:", ";width:100%;background:", ";border-radius:", ";", ";"], ({
30876
31648
  $height
@@ -31617,7 +32389,7 @@ var __publicField = (obj, key, value) => {
31617
32389
  }) => {
31618
32390
  return /* @__PURE__ */ jsxRuntime.jsx($cef8881cdc69808e$export$be92b6f5f03c0fe9, { ...props, children });
31619
32391
  };
31620
- const Trigger$2 = styledComponents.styled($cef8881cdc69808e$export$41fb9f06171c75f4).withConfig({
32392
+ const Trigger$2 = styled.styled($cef8881cdc69808e$export$41fb9f06171c75f4).withConfig({
31621
32393
  componentId: "sc-1ect7b6-0"
31622
32394
  })(["width:fit-content;"]);
31623
32395
  const HoverCardTrigger = ({
@@ -31642,7 +32414,7 @@ var __publicField = (obj, key, value) => {
31642
32414
  };
31643
32415
  HoverCardContent.displayName = "HoverCardContent";
31644
32416
  HoverCard.Content = HoverCardContent;
31645
- const CuiLink = styledComponents.styled.a.withConfig({
32417
+ const CuiLink = styled.styled.a.withConfig({
31646
32418
  componentId: "sc-1bwz77u-0"
31647
32419
  })(["font:", ";color:", ";margin:0;text-decoration:none;display:inline-flex;gap:", ";margin-right:", ";align-items:center;&:hover,&:focus{color:", ";transition:", ";text-decoration:underline;cursor:pointer;}&:visited{color:", ";}"], ({
31648
32420
  $size,
@@ -31663,7 +32435,7 @@ var __publicField = (obj, key, value) => {
31663
32435
  }) => theme2.transition.default, ({
31664
32436
  theme: theme2
31665
32437
  }) => theme2.click.global.color.text.link.default);
31666
- const IconWrapper$1 = styledComponents.styled.span.withConfig({
32438
+ const IconWrapper$1 = styled.styled.span.withConfig({
31667
32439
  componentId: "sc-1bwz77u-1"
31668
32440
  })([".external-icon{height:", ";width:", ";}"], ({
31669
32441
  $size,
@@ -31685,188 +32457,6 @@ var __publicField = (obj, key, value) => {
31685
32457
  icon && /* @__PURE__ */ jsxRuntime.jsx(IconWrapper$1, { $size: size2, children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: icon, className: "external-icon", "data-testid": icon }) })
31686
32458
  ] });
31687
32459
  const Link = React.forwardRef(_Link);
31688
- const Wrapper$3 = styledComponents.styled.div.withConfig({
31689
- componentId: "sc-1pvd2nj-0"
31690
- })(["width:inherit;display:flex;align-items:center;justify-content:space-between;align-items:center;span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}", ""], ({
31691
- theme: theme2,
31692
- $error,
31693
- $resize
31694
- }) => `
31695
- gap: ${theme2.click.field.space.gap};
31696
- border-radius: ${theme2.click.field.radii.all};
31697
- font: ${theme2.click.field.typography.fieldText.default};
31698
- color: ${theme2.click.field.color.text.default};
31699
- border: 1px solid ${theme2.click.field.color.stroke.default};
31700
- background: ${theme2.click.field.color.background.default};
31701
-
31702
- *:autofill,
31703
- *:-webkit-autofill {
31704
- -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.default} inset;
31705
- -webkit-text-fill-color: ${theme2.click.field.color.text.default};
31706
- caret-color: ${theme2.click.field.color.text.default};
31707
- }
31708
-
31709
- &:hover {
31710
- border: 1px solid ${theme2.click.field.color.stroke.hover};
31711
- background: ${theme2.click.field.color.background.hover};
31712
- color: ${theme2.click.field.color.text.hover};
31713
-
31714
- *:autofill,
31715
- *:-webkit-autofill {
31716
- -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.hover} inset;
31717
- -webkit-text-fill-color: ${theme2.click.field.color.text.hover};
31718
- caret-color: ${theme2.click.field.color.text.hover};
31719
- }
31720
- }
31721
- ${$resize === "none" ? "" : `
31722
- resize: ${$resize};
31723
- overflow: auto;
31724
- `}
31725
- padding: 0 ${theme2.click.field.space.x};
31726
- ${$error ? `
31727
- font: ${theme2.click.field.typography.fieldText.error};
31728
- border: 1px solid ${theme2.click.field.color.stroke.error};
31729
- background: ${theme2.click.field.color.background.active};
31730
- color: ${theme2.click.field.color.text.error};
31731
-
31732
- *:autofill,
31733
- *:-webkit-autofill {
31734
- -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
31735
- -webkit-text-fill-color: ${theme2.click.field.color.text.error};
31736
- caret-color: ${theme2.click.field.color.text.error};
31737
- }
31738
-
31739
- &:hover {
31740
- border: 1px solid ${theme2.click.field.color.stroke.error};
31741
- color: ${theme2.click.field.color.text.error};
31742
- *:autofill,
31743
- *:-webkit-autofill {
31744
- -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
31745
- -webkit-text-fill-color: ${theme2.click.field.color.text.error};
31746
- caret-color: ${theme2.click.field.color.text.error};
31747
- }
31748
- }
31749
- ` : `
31750
- &:focus-within,
31751
- &[data-state="open"] {
31752
- font: ${theme2.click.field.typography.fieldText.active};
31753
- border: 1px solid ${theme2.click.field.color.stroke.active};
31754
- background: ${theme2.click.field.color.background.active};
31755
- color: ${theme2.click.field.color.text.active};
31756
-
31757
- *:autofill,
31758
- *:-webkit-autofill {
31759
- -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.active} inset;
31760
- -webkit-text-fill-color: ${theme2.click.field.color.text.active};
31761
- caret-color: ${theme2.click.field.color.text.active};
31762
- }
31763
- }
31764
- `};
31765
- &:disabled, &.disabled {
31766
- font: ${theme2.click.field.typography.fieldText.disabled};
31767
- border: 1px solid ${theme2.click.field.color.stroke.disabled};
31768
- background: ${theme2.click.field.color.background.disabled};
31769
- color: ${theme2.click.field.color.text.disabled};
31770
-
31771
- *:autofill,
31772
- *:-webkit-autofill {
31773
- -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.disabled} inset;
31774
- -webkit-text-fill-color: ${theme2.click.field.color.text.disabled};
31775
- caret-color: ${theme2.click.field.color.text.disabled};
31776
- }
31777
- }
31778
- `);
31779
- const StyledLabel = styledComponents.styled(Label$1).withConfig({
31780
- componentId: "sc-1pvd2nj-1"
31781
- })(["", ""], ({
31782
- $labelColor
31783
- }) => `
31784
- ${$labelColor ? `color: ${$labelColor};` : ""}
31785
- `);
31786
- const InputWrapper = ({
31787
- id,
31788
- label = "",
31789
- labelColor,
31790
- error: error2,
31791
- disabled,
31792
- children,
31793
- orientation,
31794
- dir,
31795
- resize = "none"
31796
- }) => {
31797
- return /* @__PURE__ */ jsxRuntime.jsxs(FormRoot, { $orientation: orientation, $dir: dir, $addLabelPadding: true, children: [
31798
- /* @__PURE__ */ jsxRuntime.jsxs(FormElementContainer, { children: [
31799
- /* @__PURE__ */ jsxRuntime.jsx(Wrapper$3, { $error: !!error2, $resize: resize, "data-resize": resize, className: disabled ? "disabled" : "", children }),
31800
- !!error2 && error2 !== true && /* @__PURE__ */ jsxRuntime.jsx(Error$1, { children: error2 })
31801
- ] }),
31802
- label && /* @__PURE__ */ jsxRuntime.jsx(StyledLabel, { htmlFor: id, disabled, error: !!error2, $labelColor: labelColor, children: label })
31803
- ] });
31804
- };
31805
- const InputElement = styledComponents.styled.input.withConfig({
31806
- componentId: "sc-1pvd2nj-2"
31807
- })(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;", ""], ({
31808
- theme: theme2
31809
- }) => `
31810
- padding: ${theme2.click.field.space.y} 0;
31811
- &::placeholder {
31812
- color: ${theme2.click.field.color.placeholder.default};
31813
- }
31814
-
31815
- &:disabled, &.disabled {
31816
- &::placeholder {
31817
- color: ${theme2.click.field.color.placeholder.disabled};
31818
- }
31819
- `);
31820
- const NumberInputElement = styledComponents.styled(InputElement).withConfig({
31821
- componentId: "sc-1pvd2nj-3"
31822
- })(["", ""], ({
31823
- $hideControls
31824
- }) => `
31825
- ${$hideControls ? `
31826
- &::-webkit-outer-spin-button,
31827
- &::-webkit-inner-spin-button {
31828
- -webkit-appearance: none;
31829
- margin: 0;
31830
- }
31831
-
31832
- -moz-appearance: textfield;
31833
- ` : ""}
31834
- `);
31835
- const TextAreaElement = styledComponents.styled.textarea.withConfig({
31836
- componentId: "sc-1pvd2nj-4"
31837
- })(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;resize:none;", ""], ({
31838
- theme: theme2
31839
- }) => `
31840
- padding: ${theme2.click.field.space.y} 0;
31841
- align-self: stretch;
31842
- &::placeholder {
31843
- color: ${theme2.click.field.color.placeholder.default};
31844
- }
31845
- `);
31846
- styledComponents.styled(InputWrapper).withConfig({
31847
- componentId: "sc-1pvd2nj-5"
31848
- })(["resize:vertical;overflow:auto;color:red;"]);
31849
- const IconButton = styledComponents.styled.button.withConfig({
31850
- componentId: "sc-1pvd2nj-6"
31851
- })(["background:transparent;color:inherit;border:none;padding:0;outline:none;&:not(:disabled){cursor:pointer;}", ""], ({
31852
- theme: theme2,
31853
- $show
31854
- }) => `
31855
- padding: ${theme2.click.field.space.y} 0;
31856
- visibility: ${$show ? "visible" : "hidden"};
31857
- `);
31858
- styledComponents.styled.svg.withConfig({
31859
- componentId: "sc-1pvd2nj-7"
31860
- })(["", ""], ({
31861
- theme: theme2
31862
- }) => `
31863
- &:first-of-type {
31864
- padding-left: ${theme2.click.field.space.gap};
31865
- }
31866
- &:last-of-type {
31867
- padding-right: ${theme2.click.field.space.x};
31868
- }
31869
- `);
31870
32460
  const NumberField = React.forwardRef(({
31871
32461
  disabled,
31872
32462
  label,
@@ -31918,7 +32508,7 @@ var __publicField = (obj, key, value) => {
31918
32508
  }) => {
31919
32509
  return /* @__PURE__ */ jsxRuntime.jsx($cb5cc270b50c6fcd$export$be92b6f5f03c0fe9, { ...props, children });
31920
32510
  };
31921
- const Trigger$1 = styledComponents.styled($cb5cc270b50c6fcd$export$41fb9f06171c75f4).withConfig({
32511
+ const Trigger$1 = styled.styled($cb5cc270b50c6fcd$export$41fb9f06171c75f4).withConfig({
31922
32512
  componentId: "sc-1dii14g-0"
31923
32513
  })(["width:fit-content;font:inherit;color:inherit;background:inherit;border:none;"]);
31924
32514
  const PopoverTrigger = ({
@@ -31933,7 +32523,7 @@ var __publicField = (obj, key, value) => {
31933
32523
  };
31934
32524
  PopoverTrigger.displayName = "PopoverTrigger";
31935
32525
  Popover.Trigger = PopoverTrigger;
31936
- const MenuPanel = styledComponents.styled(GenericMenuPanel).withConfig({
32526
+ const MenuPanel = styled.styled(GenericMenuPanel).withConfig({
31937
32527
  componentId: "sc-1dii14g-1"
31938
32528
  })(["display:block;padding:", " ", ";background-color:", ";border:1px solid ", ";border-radius:", ";box-shadow:", ";", ";"], ({
31939
32529
  theme: theme2
@@ -31950,7 +32540,7 @@ var __publicField = (obj, key, value) => {
31950
32540
  }) => theme2.click.popover.shadow.default, ({
31951
32541
  $showClose
31952
32542
  }) => $showClose ? "padding-top: 1rem;" : "");
31953
- const CloseButton = styledComponents.styled(EmptyButton$1).withConfig({
32543
+ const CloseButton = styled.styled(EmptyButton$1).withConfig({
31954
32544
  componentId: "sc-1dii14g-2"
31955
32545
  })(["position:absolute;top:", ";right:", ";width:", ";height:", ";"], ({
31956
32546
  theme: theme2
@@ -31977,7 +32567,7 @@ var __publicField = (obj, key, value) => {
31977
32567
  };
31978
32568
  PopoverContent.displayName = "PopoverContent";
31979
32569
  Popover.Content = PopoverContent;
31980
- const CustomSelect = styledComponents.styled.div.withConfig({
32570
+ const CustomSelect = styled.styled.div.withConfig({
31981
32571
  componentId: "sc-dicnqe-0"
31982
32572
  })(["width:150px;"]);
31983
32573
  const Pagination = ({
@@ -32091,7 +32681,7 @@ var __publicField = (obj, key, value) => {
32091
32681
  alignItems = "center",
32092
32682
  ...props
32093
32683
  }) => /* @__PURE__ */ jsxRuntime.jsx(Wrapper$2, { $hasBorder: hasBorder, $hasShadow: hasShadow, $color: color, $padding: padding, $gap: gap, $width: width, $radii: radii, $orientation: orientation, $fillWidth: fillWidth, $height: height, $fillHeight: fillHeight, $alignItems: alignItems, ...props, children });
32094
- const Wrapper$2 = styledComponents.styled.div.withConfig({
32684
+ const Wrapper$2 = styled.styled.div.withConfig({
32095
32685
  componentId: "sc-1q78udp-0"
32096
32686
  })(["display:flex;flex-flow:", ";align-items:", ";width:", ";height:", ";background-color:", ";border-radius:", ";padding:", ";border:", ";box-shadow:", ";gap:", ";"], ({
32097
32687
  $orientation = "horizontal"
@@ -32122,7 +32712,7 @@ var __publicField = (obj, key, value) => {
32122
32712
  $gap = "sm",
32123
32713
  theme: theme2
32124
32714
  }) => theme2.click.panel.space.gap[$gap]);
32125
- const ProgressContainer = styledComponents.styled.div.withConfig({
32715
+ const ProgressContainer = styled.styled.div.withConfig({
32126
32716
  componentId: "sc-16gr3cg-0"
32127
32717
  })(["display:flex;justify-content:space-between;align-items:center;overflow:hidden;transition:all 100ms ease-in-out;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;min-height:2px;", ";"], ({
32128
32718
  theme: theme2,
@@ -32153,10 +32743,10 @@ var __publicField = (obj, key, value) => {
32153
32743
  background-position: center;
32154
32744
  }
32155
32745
  `);
32156
- const ProgressText = styledComponents.styled.span.withConfig({
32746
+ const ProgressText = styled.styled.span.withConfig({
32157
32747
  componentId: "sc-16gr3cg-1"
32158
32748
  })(["width:100%;font:inherit;mix-blend-mode:difference;"]);
32159
- const ProgressCloseButton = styledComponents.styled.button.withConfig({
32749
+ const ProgressCloseButton = styled.styled.button.withConfig({
32160
32750
  componentId: "sc-16gr3cg-2"
32161
32751
  })(["mix-blend-mode:difference;border:0;visibility:", ";"], ({
32162
32752
  $dismissable
@@ -32382,7 +32972,7 @@ var __publicField = (obj, key, value) => {
32382
32972
  const $f99a8c78507165f7$export$be92b6f5f03c0fe9 = $f99a8c78507165f7$export$a98f0dcb43a68a25;
32383
32973
  const $f99a8c78507165f7$export$6d08773d2e66f8f2 = $f99a8c78507165f7$export$9f866c100ef519e4;
32384
32974
  const $f99a8c78507165f7$export$adb584737d712b70 = $f99a8c78507165f7$export$5fb54c671a65c88;
32385
- const RadioGroupRoot = styledComponents.styled($f99a8c78507165f7$export$be92b6f5f03c0fe9).withConfig({
32975
+ const RadioGroupRoot = styled.styled($f99a8c78507165f7$export$be92b6f5f03c0fe9).withConfig({
32386
32976
  componentId: "sc-p6cydr-0"
32387
32977
  })(["display:flex;flex-wrap:wrap;gap:", ";flex-direction:", ";label{", "}"], ({
32388
32978
  theme: theme2
@@ -32428,14 +33018,14 @@ var __publicField = (obj, key, value) => {
32428
33018
  };
32429
33019
  RadioGroupItem.displayName = "RadioGroupItem";
32430
33020
  RadioGroup.Item = RadioGroupItem;
32431
- const Wrapper$1 = styledComponents.styled(FormRoot).withConfig({
33021
+ const Wrapper$1 = styled.styled(FormRoot).withConfig({
32432
33022
  componentId: "sc-p6cydr-1"
32433
33023
  })(["padding:", ";display:flex;align-items:center;gap:", ";width:auto;"], ({
32434
33024
  theme: theme2
32435
33025
  }) => theme2.click.checkbox.space.all, ({
32436
33026
  theme: theme2
32437
33027
  }) => theme2.click.checkbox.space.gap);
32438
- const RadioInput = styledComponents.styled($f99a8c78507165f7$export$6d08773d2e66f8f2).withConfig({
33028
+ const RadioInput = styled.styled($f99a8c78507165f7$export$6d08773d2e66f8f2).withConfig({
32439
33029
  componentId: "sc-p6cydr-2"
32440
33030
  })(["display:flex;align-items:center;justify-content:center;outline:none;cursor:pointer;", ";"], ({
32441
33031
  theme: theme2
@@ -32458,7 +33048,7 @@ var __publicField = (obj, key, value) => {
32458
33048
  border-color: ${theme2.click.radio.color.stroke.disabled};
32459
33049
  }
32460
33050
  `);
32461
- const RadioGroupIndicator = styledComponents.styled($f99a8c78507165f7$export$adb584737d712b70).withConfig({
33051
+ const RadioGroupIndicator = styled.styled($f99a8c78507165f7$export$adb584737d712b70).withConfig({
32462
33052
  componentId: "sc-p6cydr-3"
32463
33053
  })(["", ""], ({
32464
33054
  theme: theme2
@@ -32520,13 +33110,13 @@ var __publicField = (obj, key, value) => {
32520
33110
  loading && /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "loading-animated", size: "sm" })
32521
33111
  ] });
32522
33112
  });
32523
- const SelectPopoverRoot = styledComponents.styled($cb5cc270b50c6fcd$export$be92b6f5f03c0fe9).withConfig({
33113
+ const SelectPopoverRoot = styled.styled($cb5cc270b50c6fcd$export$be92b6f5f03c0fe9).withConfig({
32524
33114
  componentId: "sc-oudbwg-0"
32525
33115
  })(["width:100%;"]);
32526
- const SelectValue = styledComponents.styled.div.withConfig({
33116
+ const SelectValue = styled.styled.div.withConfig({
32527
33117
  componentId: "sc-oudbwg-1"
32528
33118
  })(["text-align:left;flex:1;gap:inherit;color:inherit;font:inherit;overflow:hidden;"]);
32529
- const StyledSelectTrigger = styledComponents.styled($cb5cc270b50c6fcd$export$41fb9f06171c75f4).withConfig({
33119
+ const StyledSelectTrigger = styled.styled($cb5cc270b50c6fcd$export$41fb9f06171c75f4).withConfig({
32530
33120
  componentId: "sc-oudbwg-2"
32531
33121
  })(["width:100%;display:flex;align-items:center;justify-content:space-between;align-items:center;cursor:pointer;span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}", " [data-hide-in-trigger]{display:none;}"], ({
32532
33122
  theme: theme2,
@@ -32574,7 +33164,7 @@ var __publicField = (obj, key, value) => {
32574
33164
  cursor: not-allowed;
32575
33165
  }
32576
33166
  `);
32577
- const SelectPopoverContent = styledComponents.styled($cb5cc270b50c6fcd$export$7c6e2c02157bb7d2).withConfig({
33167
+ const SelectPopoverContent = styled.styled($cb5cc270b50c6fcd$export$7c6e2c02157bb7d2).withConfig({
32578
33168
  componentId: "sc-oudbwg-3"
32579
33169
  })(["width:var(--radix-popover-trigger-width);max-height:var(--radix-popover-content-available-height);border-radius:0.25rem;pointer-events:auto;", " ", " overflow:hidden;display:flex;padding:0.5rem 0rem;align-items:flex-start;gap:0.625rem;"], ({
32580
33170
  $useFullWidthItems,
@@ -32594,7 +33184,7 @@ var __publicField = (obj, key, value) => {
32594
33184
  0px 1px 2px 0px rgba(16, 24, 40, 0.06);
32595
33185
  border-radius: 0.25rem;
32596
33186
  `);
32597
- const SearchBarContainer = styledComponents.styled.div.withConfig({
33187
+ const SearchBarContainer = styled.styled.div.withConfig({
32598
33188
  componentId: "sc-oudbwg-4"
32599
33189
  })(["width:auto;position:relative;display:flex;justify-content:flex-start;align-items:center;", ""], ({
32600
33190
  theme: theme2,
@@ -32605,7 +33195,7 @@ var __publicField = (obj, key, value) => {
32605
33195
  font: ${theme2.click.genericMenu.autocomplete.typography.search.term.default};
32606
33196
  height: ${$showSearch ? "auto" : " 0"};
32607
33197
  `);
32608
- const SearchBar = styledComponents.styled.input.withConfig({
33198
+ const SearchBar = styled.styled.input.withConfig({
32609
33199
  componentId: "sc-oudbwg-5"
32610
33200
  })(["background:transparent;border:none;width:100%;outline:none;", ""], ({
32611
33201
  theme: theme2,
@@ -32624,7 +33214,7 @@ var __publicField = (obj, key, value) => {
32624
33214
  font: ${theme2.click.genericMenu.autocomplete.typography.search.placeholder.default};
32625
33215
  }
32626
33216
  `);
32627
- const SearchClose = styledComponents.styled.button.withConfig({
33217
+ const SearchClose = styled.styled.button.withConfig({
32628
33218
  componentId: "sc-oudbwg-6"
32629
33219
  })(["position:absolute;", " visibility:", ";"], ({
32630
33220
  theme: theme2
@@ -32634,16 +33224,16 @@ var __publicField = (obj, key, value) => {
32634
33224
  `, ({
32635
33225
  $showClose
32636
33226
  }) => $showClose ? "visible" : "hidden");
32637
- const SelectList = styledComponents.styled.div.withConfig({
33227
+ const SelectList = styled.styled.div.withConfig({
32638
33228
  componentId: "sc-oudbwg-7"
32639
33229
  })(["display:flex;flex-direction:column;width:inherit;max-height:calc(var(--radix-popover-content-available-height) - 1rem);"]);
32640
- const SelectListContent = styledComponents.styled.div.withConfig({
33230
+ const SelectListContent = styled.styled.div.withConfig({
32641
33231
  componentId: "sc-oudbwg-8"
32642
33232
  })(["width:inherit;overflow:auto;flex:1;"]);
32643
- const HiddenSelectElement = styledComponents.styled.select.withConfig({
33233
+ const HiddenSelectElement = styled.styled.select.withConfig({
32644
33234
  componentId: "sc-oudbwg-9"
32645
33235
  })(["visibility:hidden;position:absolute;z-index:-1;height:0;"]);
32646
- const SelectGroupContainer = styledComponents.styled.div.withConfig({
33236
+ const SelectGroupContainer = styled.styled.div.withConfig({
32647
33237
  componentId: "sc-oudbwg-10"
32648
33238
  })(["display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:-webkit-fill-available;width:fill-available;width:stretch;overflow:hidden;background:transparent;&[aria-selected]{outline:none;}", ";&[hidden]{display:none;}"], ({
32649
33239
  theme: theme2
@@ -32651,7 +33241,7 @@ var __publicField = (obj, key, value) => {
32651
33241
  font: ${theme2.click.genericMenu.item.typography.sectionHeader.default};
32652
33242
  color: ${theme2.click.genericMenu.item.color.text.muted};
32653
33243
  `);
32654
- const SelectGroupName = styledComponents.styled.div.withConfig({
33244
+ const SelectGroupName = styled.styled.div.withConfig({
32655
33245
  componentId: "sc-oudbwg-11"
32656
33246
  })(["display:flex;width:100%;flex-direction:column;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;", ""], ({
32657
33247
  theme: theme2
@@ -32662,10 +33252,10 @@ var __publicField = (obj, key, value) => {
32662
33252
  gap: ${theme2.click.genericMenu.item.space.gap};
32663
33253
  border-bottom: 1px solid ${theme2.click.genericMenu.item.color.stroke.default};
32664
33254
  `);
32665
- const SelectGroupContent = styledComponents.styled.div.withConfig({
33255
+ const SelectGroupContent = styled.styled.div.withConfig({
32666
33256
  componentId: "sc-oudbwg-12"
32667
33257
  })(["width:inherit;"]);
32668
- const SelectNoDataContainer = styledComponents.styled.div.withConfig({
33258
+ const SelectNoDataContainer = styled.styled.div.withConfig({
32669
33259
  componentId: "sc-oudbwg-13"
32670
33260
  })(['border:none;display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;&[hidden="true"]{display:none;}', ""], ({
32671
33261
  theme: theme2,
@@ -35974,10 +36564,10 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
35974
36564
  $parcel$exportWildcard(module2.exports, $faefaad95e5fcca0$exports);
35975
36565
  })(dist);
35976
36566
  var distExports = dist.exports;
35977
- const BadgeList = styledComponents.styled.div.withConfig({
36567
+ const BadgeList = styled.styled.div.withConfig({
35978
36568
  componentId: "sc-1ryyiol-0"
35979
36569
  })(["display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:inherit;font:inherit;color:inherit;"]);
35980
- const MultiSelectBadge = styledComponents.styled.div.withConfig({
36570
+ const MultiSelectBadge = styled.styled.div.withConfig({
35981
36571
  componentId: "sc-1ryyiol-1"
35982
36572
  })(["width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;max-width:fit-content;"]);
35983
36573
  const MultiSelectValue = ({
@@ -36037,7 +36627,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
36037
36627
  return /* @__PURE__ */ jsxRuntime.jsx(MultiSelectBadge, { as: Badge, size: "sm", state: disabled ? "disabled" : "default", ...otherProps }, `multi-select-${id}-${value}`);
36038
36628
  }) });
36039
36629
  };
36040
- const SelectValueContainer = styledComponents.styled.div.withConfig({
36630
+ const SelectValueContainer = styled.styled.div.withConfig({
36041
36631
  componentId: "sc-1bceuv1-0"
36042
36632
  })(["display:flex;width:100%;align-items:center;cursor:inherit;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:inherit;"]);
36043
36633
  const SingleSelectValue = ({
@@ -36357,7 +36947,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
36357
36947
  ] });
36358
36948
  });
36359
36949
  SelectGroup.displayName = "Select.Group";
36360
- const CheckIcon$1 = styledComponents.styled.svg.withConfig({
36950
+ const CheckIcon$1 = styled.styled.svg.withConfig({
36361
36951
  componentId: "sc-howzwz-0"
36362
36952
  })(["opacity:", ";"], ({
36363
36953
  $showCheck
@@ -36653,7 +37243,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
36653
37243
  return $89eedd556c436f6a$var$ORIENTATIONS.includes(orientation);
36654
37244
  }
36655
37245
  const $89eedd556c436f6a$export$be92b6f5f03c0fe9 = $89eedd556c436f6a$export$1ff3c3f08ae963c0;
36656
- const CUISeparator = styledComponents.styled($89eedd556c436f6a$export$be92b6f5f03c0fe9).withConfig({
37246
+ const CUISeparator = styled.styled($89eedd556c436f6a$export$be92b6f5f03c0fe9).withConfig({
36657
37247
  componentId: "sc-ladr1y-0"
36658
37248
  })(["", ""], ({
36659
37249
  theme: theme2,
@@ -36674,12 +37264,12 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
36674
37264
  orientation = "horizontal",
36675
37265
  ...props
36676
37266
  }) => /* @__PURE__ */ jsxRuntime.jsx(CUISeparator, { orientation, ...props });
36677
- const LabelContainer = styledComponents.styled.span.withConfig({
37267
+ const LabelContainer = styled.styled.span.withConfig({
36678
37268
  componentId: "sc-1cu1l45-0"
36679
37269
  })(["display:flex;align-items:center;justify-content:flex-start;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;flex:1;gap:", ";overflow:hidden;"], ({
36680
37270
  theme: theme2
36681
37271
  }) => theme2.click.sidebar.navigation.item.default.space.gap);
36682
- const EllipsisContainer = styledComponents.styled.span.withConfig({
37272
+ const EllipsisContainer = styled.styled.span.withConfig({
36683
37273
  componentId: "sc-1cu1l45-1"
36684
37274
  })(["display:flex;white-space:nowrap;overflow:hidden;justify-content:flex-start;gap:inherit;flex:1;& > *:not(button){overflow:hidden;text-overflow:ellipsis;}"]);
36685
37275
  const IconWrapper = ({
@@ -36705,7 +37295,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
36705
37295
  }, ref) => {
36706
37296
  return /* @__PURE__ */ jsxRuntime.jsx(SidebarItemWrapper, { $level: level, "data-selected": selected, $type: type, ref, "aria-disabled": disabled, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(IconWrapper, { icon, iconDir, children: label }) });
36707
37297
  });
36708
- const SidebarItemWrapper = styledComponents.styled.div.withConfig({
37298
+ const SidebarItemWrapper = styled.styled.div.withConfig({
36709
37299
  componentId: "sc-1rz759l-0"
36710
37300
  })(["display:flex;align-items:center;border:none;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;white-space:nowrap;overflow:hidden;flex-wrap:nowrap;", ""], ({
36711
37301
  theme: theme2,
@@ -36777,7 +37367,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
36777
37367
  open: false,
36778
37368
  onOpenChange: () => null
36779
37369
  });
36780
- const CollapsibleContainer = styledComponents.styled.div.withConfig({
37370
+ const CollapsibleContainer = styled.styled.div.withConfig({
36781
37371
  componentId: "sc-guwmyz-0"
36782
37372
  })(['width:100%;[data-trigger-icon]{visibility:hidden;transition:transform 150ms cubic-bezier(0.87,0,0.13,1);&[data-open="true"]{transform:rotate(90deg);}}[data-collapsible-header]:hover [data-trigger-icon]{visibility:visible;}']);
36783
37373
  const Collapsible = ({
@@ -36804,7 +37394,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
36804
37394
  };
36805
37395
  return /* @__PURE__ */ jsxRuntime.jsx(CollapsibleContainer, { ...props, children: /* @__PURE__ */ jsxRuntime.jsx(NavContext.Provider, { value, children }) });
36806
37396
  };
36807
- const CollapsipleHeaderContainer = styledComponents.styled.div.withConfig({
37397
+ const CollapsipleHeaderContainer = styled.styled.div.withConfig({
36808
37398
  componentId: "sc-guwmyz-1"
36809
37399
  })(["margin-left:", ";user-select:none;"], ({
36810
37400
  theme: theme2,
@@ -36837,7 +37427,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
36837
37427
  });
36838
37428
  CollapsipleHeader.displayName = "CollapsibleHeader";
36839
37429
  Collapsible.Header = CollapsipleHeader;
36840
- const CollapsipleTriggerButton = styledComponents.styled(EmptyButton$1).withConfig({
37430
+ const CollapsipleTriggerButton = styled.styled(EmptyButton$1).withConfig({
36841
37431
  componentId: "sc-guwmyz-2"
36842
37432
  })(["display:flex;align-items:center;font:inherit;color:inherit;cursor:inherit;"]);
36843
37433
  const CollapsipleTrigger = ({
@@ -36868,7 +37458,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
36868
37458
  };
36869
37459
  CollapsipleTrigger.displayName = "CollapsibleTrigger";
36870
37460
  Collapsible.Trigger = CollapsipleTrigger;
36871
- const CollapsibleContentWrapper = styledComponents.styled.div.withConfig({
37461
+ const CollapsibleContentWrapper = styled.styled.div.withConfig({
36872
37462
  componentId: "sc-guwmyz-3"
36873
37463
  })(["", ""], ({
36874
37464
  theme: theme2,
@@ -36919,7 +37509,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
36919
37509
  }) => {
36920
37510
  return /* @__PURE__ */ jsxRuntime.jsx(SidebarTitleWrapper, { "data-selected": selected, $type: type, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(IconWrapper, { icon, iconDir, children: label }) });
36921
37511
  };
36922
- const SidebarTitleWrapper = styledComponents.styled.button.withConfig({
37512
+ const SidebarTitleWrapper = styled.styled.button.withConfig({
36923
37513
  componentId: "sc-1rg1a4o-0"
36924
37514
  })(["display:inline-flex;align-items:center;background:transparent;border:none;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;white-space:nowrap;overflow:hidden;cursor:pointer;", " a{color:inherit;text-decoration:none;&:active{color:inherit;}}"], ({
36925
37515
  theme: theme2,
@@ -36964,7 +37554,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
36964
37554
  /* @__PURE__ */ jsxRuntime.jsx(Collapsible.Content, { children })
36965
37555
  ] });
36966
37556
  };
36967
- const CUISpacer = styledComponents.styled.div.withConfig({
37557
+ const CUISpacer = styled.styled.div.withConfig({
36968
37558
  componentId: "sc-6ga865-0"
36969
37559
  })(["background:transparent;display:flex;padding:", ";"], ({
36970
37560
  theme: theme2,
@@ -37013,7 +37603,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37013
37603
  /* @__PURE__ */ jsxRuntime.jsx(DropdownContent, { as: Dropdown.Content, side, $width: width, sideOffset: 4, align: "end", children: menu.map((item, index2) => /* @__PURE__ */ jsxRuntime.jsx(MenuContentItem, { parentKey: `split-menu-option-${index2}`, ...item }, `split-menu-option-${index2}`)) })
37014
37604
  ] });
37015
37605
  };
37016
- const DropdownContent = styledComponents.styled.div.withConfig({
37606
+ const DropdownContent = styled.styled.div.withConfig({
37017
37607
  componentId: "sc-85zs9e-0"
37018
37608
  })(["min-width:", "px;"], ({
37019
37609
  $width
@@ -37040,7 +37630,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37040
37630
  ] });
37041
37631
  }
37042
37632
  };
37043
- const SplitButtonTrigger = styledComponents.styled.div.withConfig({
37633
+ const SplitButtonTrigger = styled.styled.div.withConfig({
37044
37634
  componentId: "sc-85zs9e-1"
37045
37635
  })(["display:inline-flex;align-items:center;overflow:hidden;user-select:none;", ""], ({
37046
37636
  theme: theme2,
@@ -37063,7 +37653,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37063
37653
  }
37064
37654
  `}
37065
37655
  `);
37066
- const PrimaryButton = styledComponents.styled(BaseButton).withConfig({
37656
+ const PrimaryButton = styled.styled(BaseButton).withConfig({
37067
37657
  componentId: "sc-85zs9e-2"
37068
37658
  })(["border:none;align-self:stretch;border-radius:0;align-items:center;padding:", ";", ""], ({
37069
37659
  theme: theme2
@@ -37093,7 +37683,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37093
37683
  font: ${theme2.click.button.split.typography.label.disabled};
37094
37684
  }
37095
37685
  `);
37096
- const SecondaryButton = styledComponents.styled(BaseButton).withConfig({
37686
+ const SecondaryButton = styled.styled(BaseButton).withConfig({
37097
37687
  componentId: "sc-85zs9e-3"
37098
37688
  })(["border:none;align-self:stretch;border-radius:0;", ""], ({
37099
37689
  theme: theme2,
@@ -37115,7 +37705,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37115
37705
  color: ${theme2.click.button.split[$type].text.disabled};
37116
37706
  }
37117
37707
  `);
37118
- const ButtonData = styledComponents.styled.div.withConfig({
37708
+ const ButtonData = styled.styled.div.withConfig({
37119
37709
  componentId: "sc-85zs9e-4"
37120
37710
  })(["width:auto;"]);
37121
37711
  const $6be4966fd9bbc698$var$SWITCH_NAME = "Switch";
@@ -37228,7 +37818,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37228
37818
  }
37229
37819
  const $6be4966fd9bbc698$export$be92b6f5f03c0fe9 = $6be4966fd9bbc698$export$b5d5cf8927ab7262;
37230
37820
  const $6be4966fd9bbc698$export$6521433ed15a34db = $6be4966fd9bbc698$export$4d07bf653ea69106;
37231
- const Wrapper = styledComponents.styled(FormRoot).withConfig({
37821
+ const Wrapper = styled.styled(FormRoot).withConfig({
37232
37822
  componentId: "sc-egkkgl-0"
37233
37823
  })(["align-items:center;max-width:fit-content;"]);
37234
37824
  const Switch = React.forwardRef(({
@@ -37287,7 +37877,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37287
37877
  };
37288
37878
  }
37289
37879
  };
37290
- const SwitchRoot = styledComponents.styled($6be4966fd9bbc698$export$be92b6f5f03c0fe9).withConfig({
37880
+ const SwitchRoot = styled.styled($6be4966fd9bbc698$export$be92b6f5f03c0fe9).withConfig({
37291
37881
  componentId: "sc-egkkgl-1"
37292
37882
  })((props) => {
37293
37883
  const vars = getRootVars(props.theme, props.disabled, props.checked);
@@ -37301,7 +37891,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37301
37891
  padding: 0
37302
37892
  };
37303
37893
  });
37304
- const SwitchThumb = styledComponents.styled($6be4966fd9bbc698$export$6521433ed15a34db).withConfig({
37894
+ const SwitchThumb = styled.styled($6be4966fd9bbc698$export$6521433ed15a34db).withConfig({
37305
37895
  componentId: "sc-egkkgl-2"
37306
37896
  })((props) => {
37307
37897
  const vars = getThumbVars(props.theme, props.$disabled, props.$checked);
@@ -37453,13 +38043,13 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37453
38043
  const $69cb30bb0017df05$export$54c2e3dc7acea9f5 = $69cb30bb0017df05$export$9712d22edc0d78c1;
37454
38044
  const $69cb30bb0017df05$export$41fb9f06171c75f4 = $69cb30bb0017df05$export$8114b9fdfdf9f3ba;
37455
38045
  const $69cb30bb0017df05$export$7c6e2c02157bb7d2 = $69cb30bb0017df05$export$bd905d70e8fd2ebb;
37456
- const Trigger = styledComponents.styled($69cb30bb0017df05$export$41fb9f06171c75f4).withConfig({
38046
+ const Trigger = styled.styled($69cb30bb0017df05$export$41fb9f06171c75f4).withConfig({
37457
38047
  componentId: "sc-tj736u-0"
37458
38048
  })(["padding:", ";border-top-left-radius:", ";border-top-right-radius:", ";border:none;border-bottom:2px solid ", ";background-color:", ";color:", ";font:", ';cursor:pointer;&[data-state="active"]{border-bottom:2px solid ', ";color:", ";font:", ";&:hover{font:", ";}}&:hover{border-bottom:2px solid ", ";background-color:", ";color:", ";font:", ';}&:hover[data-state="active"]{border-bottom:2px solid ', ";}"], (props) => `${props.theme.click.tabs.space.y} ${props.theme.click.tabs.space.x}`, (props) => props.theme.click.tabs.radii.all, (props) => props.theme.click.tabs.radii.all, (props) => props.theme.click.tabs.basic.color.stroke.default, (props) => props.theme.click.tabs.basic.color.background.default, (props) => props.theme.click.tabs.basic.color.text.default, (props) => props.theme.click.tabs.typography.label.default, (props) => props.theme.click.tabs.basic.color.stroke.active, (props) => props.theme.click.tabs.basic.color.text.active, (props) => props.theme.click.tabs.typography.label.active, (props) => props.theme.click.tabs.typography.label.active, (props) => props.theme.click.tabs.basic.color.stroke.hover, (props) => props.theme.click.tabs.basic.color.background.hover, (props) => props.theme.click.tabs.basic.color.text.hover, (props) => props.theme.click.tabs.typography.label.hover, (props) => props.theme.click.tabs.basic.color.stroke.active);
37459
- const Content = styledComponents.styled($69cb30bb0017df05$export$7c6e2c02157bb7d2).withConfig({
38049
+ const Content = styled.styled($69cb30bb0017df05$export$7c6e2c02157bb7d2).withConfig({
37460
38050
  componentId: "sc-tj736u-1"
37461
38051
  })([""]);
37462
- const TriggersList = styledComponents.styled($69cb30bb0017df05$export$54c2e3dc7acea9f5).withConfig({
38052
+ const TriggersList = styled.styled($69cb30bb0017df05$export$54c2e3dc7acea9f5).withConfig({
37463
38053
  componentId: "sc-tj736u-2"
37464
38054
  })(["border-bottom:1px solid ", ";display:flex;"], (props) => props.theme.click.global.color.stroke.default);
37465
38055
  const Tabs = ({
@@ -37474,10 +38064,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37474
38064
  Tabs.TriggersList = TriggersList;
37475
38065
  Tabs.Trigger = Trigger;
37476
38066
  Tabs.Content = Content;
37477
- const FullWidthTabs = styledComponents.styled(Tabs).withConfig({
38067
+ const FullWidthTabs = styled.styled(Tabs).withConfig({
37478
38068
  componentId: "sc-tj736u-3"
37479
38069
  })(["width:100%;"]);
37480
- FullWidthTabs.Trigger = styledComponents.styled(Trigger).withConfig({
38070
+ FullWidthTabs.Trigger = styled.styled(Trigger).withConfig({
37481
38071
  componentId: "sc-tj736u-4"
37482
38072
  })(["", ";"], (props) => props.width ? `width: ${props.width};` : `
37483
38073
  flex-basis: auto;
@@ -37485,12 +38075,12 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37485
38075
  flex-shrink: 1;
37486
38076
  `);
37487
38077
  FullWidthTabs.TriggersList = TriggersList;
37488
- const TabsContainer = styledComponents.styled.div.withConfig({
38078
+ const TabsContainer = styled.styled.div.withConfig({
37489
38079
  componentId: "sc-137ymle-0"
37490
38080
  })(["display:flex;position:relative;overflow:auto;overscroll-behavior:none;scrollbar-width:0;max-width:", ";&::-webkit-scrollbar{height:0;}"], ({
37491
38081
  $count
37492
38082
  }) => `${$count * 200}px`);
37493
- const TabsSortableContainer = styledComponents.styled.div.withConfig({
38083
+ const TabsSortableContainer = styled.styled.div.withConfig({
37494
38084
  componentId: "sc-137ymle-1"
37495
38085
  })(["display:flex;& > div{height:100%;outline:none;min-width:100px;width:clamp(100px,100%,200px);&.sortable-ghost{opacity:0;}}"]);
37496
38086
  const TabContext = React.createContext({
@@ -37561,7 +38151,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37561
38151
  }
37562
38152
  }, revertOnSpill: true, ...props, children: React.Children.map(children, (child, index2) => /* @__PURE__ */ jsxRuntime.jsx("div", { tabIndex: index2 + 1, role: "tab", onClick: onSelect(index2), children: child }, `tab-element-${index2}`)) }) }) });
37563
38153
  };
37564
- const TabElement = styledComponents.styled.div.withConfig({
38154
+ const TabElement = styled.styled.div.withConfig({
37565
38155
  componentId: "sc-137ymle-2"
37566
38156
  })(["display:grid;justify-content:flex-start;align-items:center;outline:none;max-width:100%;max-width:-webkit-fill-available;max-width:fill-available;max-width:stretch;border:none;cursor:pointer;height:100%;max-height:100%;box-sizing:border-box;", ' [data-type="close"]{display:none;}[data-indicator]{display:block;}&:hover{[data-type="close"]{display:block;}[data-indicator]{display:none;}}'], ({
37567
38157
  theme: theme2,
@@ -37599,7 +38189,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37599
38189
  `}
37600
38190
  ${$preview === true ? "font-style: italic;" : ""}
37601
38191
  `);
37602
- const Indicator = styledComponents.styled.div.withConfig({
38192
+ const Indicator = styled.styled.div.withConfig({
37603
38193
  componentId: "sc-137ymle-3"
37604
38194
  })(['position:relative;&::after{position:absolute;left:0.25rem;top:0.25rem;content:"";width:0.5rem;height:0.5rem;', "}"], ({
37605
38195
  theme: theme2,
@@ -37608,15 +38198,15 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37608
38198
  background: ${$status === "default" ? "transparent" : theme2.click.alert.color.text[$status]};
37609
38199
  border-radius: 50%;
37610
38200
  `);
37611
- const TabContent = styledComponents.styled.div.withConfig({
38201
+ const TabContent = styled.styled.div.withConfig({
37612
38202
  componentId: "sc-137ymle-4"
37613
38203
  })(["display:flex;justify-content:flex-start;align-items:center;flex-wrap:nowrap;overflow:hidden;gap:", ";"], ({
37614
38204
  theme: theme2
37615
38205
  }) => theme2.click.tabs.fileTabs.space.gap);
37616
- const TabContentText = styledComponents.styled.span.withConfig({
38206
+ const TabContentText = styled.styled.span.withConfig({
37617
38207
  componentId: "sc-137ymle-5"
37618
38208
  })(["display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;"]);
37619
- const EmptyButton = styledComponents.styled.button.withConfig({
38209
+ const EmptyButton = styled.styled.button.withConfig({
37620
38210
  componentId: "sc-137ymle-6"
37621
38211
  })(["padding:0;", ";&:hover{background:", ";}"], ({
37622
38212
  theme: theme2
@@ -37675,7 +38265,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37675
38265
  children && /* @__PURE__ */ jsxRuntime.jsx(TabContentText, { children })
37676
38266
  ] });
37677
38267
  };
37678
- const StyledHeader = styledComponents.styled.th.withConfig({
38268
+ const StyledHeader = styled.styled.th.withConfig({
37679
38269
  componentId: "sc-1q458rb-0"
37680
38270
  })(["", " text-align:left;"], ({
37681
38271
  theme: theme2,
@@ -37685,10 +38275,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37685
38275
  font: ${theme2.click.table.header.title.default};
37686
38276
  color: ${theme2.click.table.header.color.title.default};
37687
38277
  `);
37688
- const HeaderContentWrapper = styledComponents.styled.div.withConfig({
38278
+ const HeaderContentWrapper = styled.styled.div.withConfig({
37689
38279
  componentId: "sc-1q458rb-1"
37690
38280
  })(["display:flex;align-items:center;justify-content:start;gap:inherit;"]);
37691
- const SortIcon = styledComponents.styled(SvgImage).withConfig({
38281
+ const SortIcon = styled.styled(SvgImage).withConfig({
37692
38282
  componentId: "sc-1q458rb-2"
37693
38283
  })(["transition:all 200ms;transform:rotate(", ");"], ({
37694
38284
  $sortDir
@@ -37748,7 +38338,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37748
38338
  ] }) })
37749
38339
  ] });
37750
38340
  };
37751
- const TableRow = styledComponents.styled.tr.withConfig({
38341
+ const TableRow = styled.styled.tr.withConfig({
37752
38342
  componentId: "sc-1q458rb-3"
37753
38343
  })(["overflow:hidden;", " &:last-of-type,&:last-child{border-bottom:none;}@media (max-width:768px){position:relative;display:flex;flex-wrap:wrap;", "}"], ({
37754
38344
  theme: theme2,
@@ -37781,7 +38371,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37781
38371
  ${$isSelectable ? `padding-left: calc(${theme2.click.table.body.cell.space.sm.x} + ${theme2.click.table.body.cell.space.sm.x} + ${theme2.click.checkbox.size.all});` : ""}
37782
38372
  ${$showActions ? `padding-right: calc(${theme2.click.table.body.cell.space.sm.x} + ${theme2.click.table.body.cell.space.sm.x} + ${theme2.click.image.sm.size.width} + ${theme2.click.button.iconButton.default.space.x} + ${theme2.click.button.iconButton.default.space.x});` : ""}
37783
38373
  `);
37784
- const TableData = styledComponents.styled.td.withConfig({
38374
+ const TableData = styled.styled.td.withConfig({
37785
38375
  componentId: "sc-1q458rb-4"
37786
38376
  })(["overflow:hidden;", " @media (max-width:768px){width:auto;min-width:40%;", "}"], ({
37787
38377
  theme: theme2,
@@ -37795,10 +38385,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37795
38385
  }) => `
37796
38386
  padding: ${theme2.click.table.body.cell.space.sm.y} ${theme2.click.table.body.cell.space.sm.x};
37797
38387
  `);
37798
- const StyledColGroup = styledComponents.styled.colgroup.withConfig({
38388
+ const StyledColGroup = styled.styled.colgroup.withConfig({
37799
38389
  componentId: "sc-1q458rb-5"
37800
38390
  })(["@media (max-width:768px){display:none;}"]);
37801
- const StyledThead = styledComponents.styled.thead.withConfig({
38391
+ const StyledThead = styled.styled.thead.withConfig({
37802
38392
  componentId: "sc-1q458rb-6"
37803
38393
  })(["tr{overflow:hidden;background-color:", ";", "}@media (max-width:768px){display:none;}"], ({
37804
38394
  theme: theme2
@@ -37806,7 +38396,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37806
38396
  theme: theme2
37807
38397
  }) => ` border-bottom: ${theme2.click.table.cell.stroke} solid ${theme2.click.table.row.color.stroke.default};
37808
38398
  `);
37809
- const MobileHeader = styledComponents.styled.div.withConfig({
38399
+ const MobileHeader = styled.styled.div.withConfig({
37810
38400
  componentId: "sc-1q458rb-7"
37811
38401
  })(["display:none;", " @media (max-width:768px){display:block;}"], ({
37812
38402
  theme: theme2
@@ -37814,10 +38404,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37814
38404
  color: ${theme2.click.table.row.color.label.default};
37815
38405
  font: ${theme2.click.table.cell.label.default};
37816
38406
  `);
37817
- const Tbody = styledComponents.styled.tbody.withConfig({
38407
+ const Tbody = styled.styled.tbody.withConfig({
37818
38408
  componentId: "sc-1q458rb-8"
37819
38409
  })(["@media (max-width:768px){display:flex;flex-direction:column;gap:0.25rem;}"]);
37820
- const SelectData = styledComponents.styled.td.withConfig({
38410
+ const SelectData = styled.styled.td.withConfig({
37821
38411
  componentId: "sc-1q458rb-9"
37822
38412
  })(["overflow:hidden;", " @media (max-width:768px){width:auto;align-self:stretch;position:absolute;left:0;top:0;bottom:0;", "}"], ({
37823
38413
  theme: theme2,
@@ -37832,7 +38422,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37832
38422
  padding: ${theme2.click.table.body.cell.space.sm.y} ${theme2.click.table.body.cell.space.sm.x};
37833
38423
  border-right: ${theme2.click.table.cell.stroke} solid ${theme2.click.table.row.color.stroke.default};
37834
38424
  `);
37835
- const ActionsList = styledComponents.styled.td.withConfig({
38425
+ const ActionsList = styled.styled.td.withConfig({
37836
38426
  componentId: "sc-1q458rb-10"
37837
38427
  })(["overflow:hidden;", " @media (max-width:768px){width:auto;align-self:stretch;position:absolute;right:0;top:0;bottom:0;", "}"], ({
37838
38428
  theme: theme2,
@@ -37847,10 +38437,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37847
38437
  padding: ${theme2.click.table.body.cell.space.sm.y} ${theme2.click.table.body.cell.space.sm.x};
37848
38438
  border-left: 1px solid ${theme2.click.table.row.color.stroke.default};
37849
38439
  `);
37850
- const ActionsContainer = styledComponents.styled.div.withConfig({
38440
+ const ActionsContainer = styled.styled.div.withConfig({
37851
38441
  componentId: "sc-1q458rb-11"
37852
38442
  })(["display:flex;flex-wrap:wrap;gap:0.5rem;overflow:hidden;@media (max-width:768px){flex-direction:column;overflow:auto;flex-wrap:nowrap;}"]);
37853
- const TableWrapper = styledComponents.styled.div.withConfig({
38443
+ const TableWrapper = styled.styled.div.withConfig({
37854
38444
  componentId: "sc-1q458rb-12"
37855
38445
  })(["width:100%;height:100%;overflow:auto;", ""], ({
37856
38446
  theme: theme2
@@ -37858,18 +38448,18 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37858
38448
  border: ${theme2.click.table.cell.stroke} solid ${theme2.click.table.global.color.stroke.default};
37859
38449
  border-radius: ${theme2.click.table.radii.all}
37860
38450
  `);
37861
- const TableOuterContainer = styledComponents.styled.div.withConfig({
38451
+ const TableOuterContainer = styled.styled.div.withConfig({
37862
38452
  componentId: "sc-1q458rb-13"
37863
38453
  })(["display:flex;flex-direction:column;gap:1rem;width:100%;"]);
37864
- const MobileActions = styledComponents.styled.div.withConfig({
38454
+ const MobileActions = styled.styled.div.withConfig({
37865
38455
  componentId: "sc-1q458rb-14"
37866
38456
  })(["display:none;@media (max-width:768px){display:flex;justify-content:space-between;align-items:center;padding:0 ", ";}"], ({
37867
38457
  theme: theme2
37868
38458
  }) => theme2.click.table.body.cell.space.sm.x);
37869
- const EditButton = styledComponents.styled.button.withConfig({
38459
+ const EditButton = styled.styled.button.withConfig({
37870
38460
  componentId: "sc-1q458rb-15"
37871
38461
  })(["&:disabled{background:transparent;}"]);
37872
- const TableRowCloseButton = styledComponents.styled.button.withConfig({
38462
+ const TableRowCloseButton = styled.styled.button.withConfig({
37873
38463
  componentId: "sc-1q458rb-16"
37874
38464
  })(["svg{transition:transform 200ms;", "}&:disabled{background:transparent;}"], ({
37875
38465
  $isDeleted
@@ -37909,10 +38499,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37909
38499
  ] }) })
37910
38500
  ] });
37911
38501
  };
37912
- const SpanedTableData = styledComponents.styled(TableData).withConfig({
38502
+ const SpanedTableData = styled.styled(TableData).withConfig({
37913
38503
  componentId: "sc-1q458rb-17"
37914
38504
  })(["text-align:center;"]);
37915
- const CustomTableDataMessage = styledComponents.styled.div.withConfig({
38505
+ const CustomTableDataMessage = styled.styled.div.withConfig({
37916
38506
  componentId: "sc-1q458rb-18"
37917
38507
  })(["display:flex;gap:0.5rem;justify-content:center;"]);
37918
38508
  const LoadingData = () => {
@@ -37999,7 +38589,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37999
38589
  ] }) })
38000
38590
  ] });
38001
38591
  });
38002
- const StyledTable = styledComponents.styled.table.withConfig({
38592
+ const StyledTable = styled.styled.table.withConfig({
38003
38593
  componentId: "sc-1q458rb-19"
38004
38594
  })(["width:100%;border-collapse:collapse;overflow:hidden;table-layout:fixed;@media (max-width:768px){border:none;table-layout:auto;}"]);
38005
38595
  const TextAreaField = React.forwardRef(({
@@ -38605,7 +39195,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
38605
39195
  };
38606
39196
  TooltipTrigger.displayName = "TooltipTrigger";
38607
39197
  Tooltip.Trigger = TooltipTrigger;
38608
- const RadixTooltipContent = styledComponents.styled($a093c7e1ec25a057$export$7c6e2c02157bb7d2).withConfig({
39198
+ const RadixTooltipContent = styled.styled($a093c7e1ec25a057$export$7c6e2c02157bb7d2).withConfig({
38609
39199
  componentId: "sc-ymqkp1-0"
38610
39200
  })(["display:flex;align-items:flex-start;", ""], ({
38611
39201
  theme: theme2,
@@ -38619,7 +39209,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
38619
39209
  white-space: pre-wrap;
38620
39210
  ${$maxWidth && `max-width: ${$maxWidth}`};
38621
39211
  `);
38622
- const Arrow = styledComponents.styled.svg.withConfig({
39212
+ const Arrow = styled.styled.svg.withConfig({
38623
39213
  componentId: "sc-ymqkp1-1"
38624
39214
  })(["", ";"], ({
38625
39215
  theme: theme2
@@ -39330,7 +39920,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
39330
39920
  const ToastContext = React.createContext({
39331
39921
  createToast: () => null
39332
39922
  });
39333
- const ToastIcon = styledComponents.styled(SvgImage).withConfig({
39923
+ const ToastIcon = styled.styled(SvgImage).withConfig({
39334
39924
  componentId: "sc-tmc8vl-0"
39335
39925
  })(["", ""], ({
39336
39926
  theme: theme2,
@@ -39340,7 +39930,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
39340
39930
  height: ${theme2.click.toast.icon.size.height};
39341
39931
  color: ${theme2.click.toast.color.icon[$type]}
39342
39932
  `);
39343
- const hide = styledComponents.keyframes`
39933
+ const hide = styled.keyframes`
39344
39934
  from {
39345
39935
  opacity: 1;
39346
39936
  }
@@ -39348,7 +39938,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
39348
39938
  opacity: 0;
39349
39939
  }
39350
39940
  `;
39351
- const slideIn = styledComponents.keyframes`
39941
+ const slideIn = styled.keyframes`
39352
39942
  from {
39353
39943
  transform: translateX(calc(100% + var(--viewport-padding)));
39354
39944
  }
@@ -39356,7 +39946,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
39356
39946
  transform: translateX(0);
39357
39947
  }
39358
39948
  `;
39359
- const swipeOut = styledComponents.keyframes`
39949
+ const swipeOut = styled.keyframes`
39360
39950
  from {
39361
39951
  transform: translateX(var(--radix-toast-swipe-end-x));
39362
39952
  }
@@ -39364,7 +39954,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
39364
39954
  transform: translateX(calc(100% + var(--viewport-padding)));
39365
39955
  }
39366
39956
  `;
39367
- const ToastRoot = styledComponents.styled($054eb8030ebde76e$export$be92b6f5f03c0fe9).withConfig({
39957
+ const ToastRoot = styled.styled($054eb8030ebde76e$export$be92b6f5f03c0fe9).withConfig({
39368
39958
  componentId: "sc-tmc8vl-1"
39369
39959
  })(["display:flex;flex-direction:column;align-items:flex-start;width:100%;", " &[data-state='open']{animation:", ' 150ms cubic-bezier(0.16,1,0.3,1);}&[data-state="closed"]{animation:', ' 100ms ease-in;}&[data-swipe="move"]{transform:translateX(var(--radix-toast-swipe-move-x));}&[data-swipe="cancel"]{transform:translateX(0);transition:transform 200ms ease-out;}&[data-swipe="end"]{animation:', " 100ms ease-out;}"], ({
39370
39960
  theme: theme2
@@ -39376,7 +39966,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
39376
39966
  background: ${theme2.click.global.color.background.default};
39377
39967
  box-shadow: ${theme2.click.toast.shadow};
39378
39968
  `, slideIn, hide, swipeOut);
39379
- const ToastHeader = styledComponents.styled($054eb8030ebde76e$export$f99233281efd08a0).withConfig({
39969
+ const ToastHeader = styled.styled($054eb8030ebde76e$export$f99233281efd08a0).withConfig({
39380
39970
  componentId: "sc-tmc8vl-2"
39381
39971
  })(["display:flex;justify-content:space-between;align-items:center;width:100%;gap:inherit;", ""], ({
39382
39972
  theme: theme2
@@ -39384,7 +39974,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
39384
39974
  font: ${theme2.click.toast.typography.title.default};
39385
39975
  color: ${theme2.click.toast.color.title.default};
39386
39976
  `);
39387
- const ToastDescriptionContainer = styledComponents.styled.div.withConfig({
39977
+ const ToastDescriptionContainer = styled.styled.div.withConfig({
39388
39978
  componentId: "sc-tmc8vl-3"
39389
39979
  })(["display:flex;justify-content:space-between;width:100%;align-items:flex-end;gap:inherit;", ""], ({
39390
39980
  theme: theme2
@@ -39392,7 +39982,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
39392
39982
  font: ${theme2.click.toast.typography.title.default};
39393
39983
  color: ${theme2.click.toast.color.title.default};
39394
39984
  `);
39395
- const ToastDescriptionContent = styledComponents.styled.div.withConfig({
39985
+ const ToastDescriptionContent = styled.styled.div.withConfig({
39396
39986
  componentId: "sc-tmc8vl-4"
39397
39987
  })(["display:flex;align-self:stretch;gap:inherit;", ""], ({
39398
39988
  theme: theme2
@@ -39400,7 +39990,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
39400
39990
  font: ${theme2.click.toast.typography.description.default};
39401
39991
  color: ${theme2.click.toast.color.description.default};
39402
39992
  `);
39403
- const Title = styledComponents.styled.div.withConfig({
39993
+ const Title = styled.styled.div.withConfig({
39404
39994
  componentId: "sc-tmc8vl-5"
39405
39995
  })(["flex:1;"]);
39406
39996
  const Toast = ({
@@ -39434,7 +40024,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
39434
40024
  ] })
39435
40025
  ] });
39436
40026
  };
39437
- const Viewport = styledComponents.styled($054eb8030ebde76e$export$d5c6c08dc2d3ca7).withConfig({
40027
+ const Viewport = styled.styled($054eb8030ebde76e$export$d5c6c08dc2d3ca7).withConfig({
39438
40028
  componentId: "sc-tmc8vl-6"
39439
40029
  })(["--viewport-padding:25px;position:fixed;bottom:0;right:0;display:flex;flex-direction:column;padding:var(--viewport-padding);gap:", ";width:", ";max-width:100vw;margin:0;list-style:none;z-index:2147483647;outline:none;"], ({
39440
40030
  theme: theme2
@@ -39723,8 +40313,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
39723
40313
  }
39724
40314
  var _isKeyable = isKeyable$1;
39725
40315
  var isKeyable = _isKeyable;
39726
- function getMapData$4(map, key) {
39727
- var data = map.__data__;
40316
+ function getMapData$4(map2, key) {
40317
+ var data = map2.__data__;
39728
40318
  return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
39729
40319
  }
39730
40320
  var _getMapData = getMapData$4;
@@ -41101,6 +41691,41 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
41101
41691
  }
41102
41692
  }
41103
41693
  },
41694
+ datePicker: {
41695
+ dateOption: {
41696
+ color: {
41697
+ label: {
41698
+ "default": "#161517",
41699
+ hover: "#161517",
41700
+ active: "#ffffff",
41701
+ disabled: "#a0a0a0",
41702
+ range: "#161517"
41703
+ },
41704
+ background: {
41705
+ "default": "#ffffff",
41706
+ hover: "#ffffff",
41707
+ active: "#151515",
41708
+ disabled: "#ffffff",
41709
+ range: "#e6e7e9"
41710
+ },
41711
+ stroke: {
41712
+ "default": "#ffffff",
41713
+ hover: "#151515",
41714
+ active: "#151515",
41715
+ disabled: "#ffffff",
41716
+ range: "#e6e7e9"
41717
+ }
41718
+ }
41719
+ },
41720
+ color: {
41721
+ title: {
41722
+ "default": "lch(10.2 1.39 305)"
41723
+ },
41724
+ daytitle: {
41725
+ "default": "#696e79"
41726
+ }
41727
+ }
41728
+ },
41104
41729
  global: {
41105
41730
  color: {
41106
41731
  text: {
@@ -42706,6 +43331,41 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42706
43331
  }
42707
43332
  }
42708
43333
  },
43334
+ datePicker: {
43335
+ dateOption: {
43336
+ color: {
43337
+ label: {
43338
+ "default": "#ffffff",
43339
+ hover: "#ffffff",
43340
+ active: "#1F1F1C",
43341
+ disabled: "#a0a0a0",
43342
+ range: "#ffffff"
43343
+ },
43344
+ background: {
43345
+ "default": "#1F1F1C",
43346
+ hover: "#1F1F1C",
43347
+ active: "#FAFF69",
43348
+ disabled: "#1F1F1C",
43349
+ range: "#323232"
43350
+ },
43351
+ stroke: {
43352
+ "default": "#1F1F1C",
43353
+ hover: "#FAFF69",
43354
+ active: "#FAFF69",
43355
+ disabled: "#1F1F1C",
43356
+ range: "#323232"
43357
+ }
43358
+ }
43359
+ },
43360
+ color: {
43361
+ title: {
43362
+ "default": "rgb(97.5% 97.5% 97.5%)"
43363
+ },
43364
+ daytitle: {
43365
+ "default": "#b3b6bd"
43366
+ }
43367
+ }
43368
+ },
42709
43369
  global: {
42710
43370
  color: {
42711
43371
  background: {
@@ -43486,8 +44146,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
43486
44146
  },
43487
44147
  stroke: {
43488
44148
  "default": "#62de85",
43489
- hover: "#66FF73",
43490
- active: "#66FF73",
44149
+ hover: "#62de85",
44150
+ active: "#62de85",
43491
44151
  disabled: "#c0c0c0"
43492
44152
  },
43493
44153
  check: {
@@ -44346,6 +45006,41 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
44346
45006
  }
44347
45007
  }
44348
45008
  },
45009
+ datePicker: {
45010
+ dateOption: {
45011
+ color: {
45012
+ label: {
45013
+ "default": "#161517",
45014
+ hover: "#161517",
45015
+ active: "#ffffff",
45016
+ disabled: "#a0a0a0",
45017
+ range: "#161517"
45018
+ },
45019
+ background: {
45020
+ "default": "#ffffff",
45021
+ hover: "#ffffff",
45022
+ active: "#151515",
45023
+ disabled: "#ffffff",
45024
+ range: "#e6e7e9"
45025
+ },
45026
+ stroke: {
45027
+ "default": "#ffffff",
45028
+ hover: "#151515",
45029
+ active: "#151515",
45030
+ disabled: "#ffffff",
45031
+ range: "#e6e7e9"
45032
+ }
45033
+ }
45034
+ },
45035
+ color: {
45036
+ title: {
45037
+ "default": "lch(11.1 1.37 305)"
45038
+ },
45039
+ daytitle: {
45040
+ "default": "#696e79"
45041
+ }
45042
+ }
45043
+ },
44349
45044
  global: {
44350
45045
  color: {
44351
45046
  background: {
@@ -45606,8 +46301,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
45606
46301
  },
45607
46302
  stroke: {
45608
46303
  "default": "#62de85",
45609
- hover: "#66FF73",
45610
- active: "#66FF73",
46304
+ hover: "#62de85",
46305
+ active: "#62de85",
45611
46306
  disabled: "#c0c0c0"
45612
46307
  },
45613
46308
  check: {
@@ -47158,6 +47853,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
47158
47853
  narrow: {
47159
47854
  width: "21rem",
47160
47855
  height: "100%"
47856
+ },
47857
+ widest: {
47858
+ width: "55rem",
47859
+ height: "100vh"
47161
47860
  }
47162
47861
  },
47163
47862
  typography: {
@@ -47361,6 +48060,73 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
47361
48060
  }
47362
48061
  }
47363
48062
  },
48063
+ datePicker: {
48064
+ dateOption: {
48065
+ space: {
48066
+ gap: "2px"
48067
+ },
48068
+ radii: {
48069
+ "default": "0.25rem",
48070
+ range: "0"
48071
+ },
48072
+ stroke: "1px",
48073
+ size: {
48074
+ height: "2rem",
48075
+ width: "2rem"
48076
+ },
48077
+ typography: {
48078
+ label: {
48079
+ "default": `400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,
48080
+ hover: `400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,
48081
+ active: `600 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,
48082
+ disabled: `400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,
48083
+ range: `400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`
48084
+ }
48085
+ },
48086
+ color: {
48087
+ label: {
48088
+ "default": "#161517",
48089
+ hover: "#161517",
48090
+ active: "#ffffff",
48091
+ disabled: "#a0a0a0",
48092
+ range: "#161517"
48093
+ },
48094
+ background: {
48095
+ "default": "#ffffff",
48096
+ hover: "#ffffff",
48097
+ active: "#151515",
48098
+ disabled: "#ffffff",
48099
+ range: "#e6e7e9"
48100
+ },
48101
+ stroke: {
48102
+ "default": "#ffffff",
48103
+ hover: "#151515",
48104
+ active: "#151515",
48105
+ disabled: "#ffffff",
48106
+ range: "#e6e7e9"
48107
+ }
48108
+ }
48109
+ },
48110
+ space: {
48111
+ gap: "0.25rem"
48112
+ },
48113
+ typography: {
48114
+ daytitle: {
48115
+ "default": `400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`
48116
+ },
48117
+ title: {
48118
+ "default": `600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`
48119
+ }
48120
+ },
48121
+ color: {
48122
+ title: {
48123
+ "default": "lch(11.1 1.37 305)"
48124
+ },
48125
+ daytitle: {
48126
+ "default": "#696e79"
48127
+ }
48128
+ }
48129
+ },
47364
48130
  global: {
47365
48131
  color: {
47366
48132
  background: {
@@ -47895,7 +48661,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
47895
48661
  classic: merge$1({}, theme, classicTheme)
47896
48662
  };
47897
48663
  const useCUITheme = () => {
47898
- const theme2 = styledComponents.useTheme();
48664
+ const theme2 = styled.useTheme();
47899
48665
  return {
47900
48666
  breakpoint: theme2.breakpoint,
47901
48667
  global: theme2.global,
@@ -47903,11 +48669,11 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
47903
48669
  sizes: theme2.sizes
47904
48670
  };
47905
48671
  };
47906
- const GlobalStyle = styledComponents.createGlobalStyle(["body{color:", ";background-color:", "}"], (props) => props.theme.click.global.color.text.default, (props) => props.theme.click.global.color.background.default);
48672
+ const GlobalStyle = styled.createGlobalStyle(["body{color:", ";background-color:", "}"], (props) => props.theme.click.global.color.text.default, (props) => props.theme.click.global.color.background.default);
47907
48673
  const ThemeProvider = ({
47908
48674
  theme: name2,
47909
48675
  children
47910
- }) => /* @__PURE__ */ jsxRuntime.jsxs(styledComponents.ThemeProvider, { theme: themes[name2], children: [
48676
+ }) => /* @__PURE__ */ jsxRuntime.jsxs(styled.ThemeProvider, { theme: themes[name2], children: [
47911
48677
  /* @__PURE__ */ jsxRuntime.jsx(GlobalStyle, {}),
47912
48678
  children
47913
48679
  ] });
@@ -47932,7 +48698,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
47932
48698
  const StepperContext = React.createContext({
47933
48699
  type: "numbered"
47934
48700
  });
47935
- const StepRoot = styledComponents.styled.div.withConfig({
48701
+ const StepRoot = styled.styled.div.withConfig({
47936
48702
  componentId: "sc-xro1ly-0"
47937
48703
  })(["display:flex;flex-direction:column;align-items:flex-start;counter-reset:vertical-stepper;width:100%;"]);
47938
48704
  const VerticalStepper = ({
@@ -47945,7 +48711,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
47945
48711
  };
47946
48712
  return /* @__PURE__ */ jsxRuntime.jsx(StepRoot, { ...props, children: /* @__PURE__ */ jsxRuntime.jsx(StepperContext.Provider, { value, children }) });
47947
48713
  };
47948
- const StepItem = styledComponents.styled.div.withConfig({
48714
+ const StepItem = styled.styled.div.withConfig({
47949
48715
  componentId: "sc-xro1ly-1"
47950
48716
  })(["display:flex;flex-direction:column;position:relative;width:100%;padding:0;", ""], ({
47951
48717
  theme: theme2,
@@ -47970,7 +48736,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
47970
48736
  }
47971
48737
  }
47972
48738
  `);
47973
- const StepTrigger = styledComponents.styled.button.withConfig({
48739
+ const StepTrigger = styled.styled.button.withConfig({
47974
48740
  componentId: "sc-xro1ly-2"
47975
48741
  })(["", ""], ({
47976
48742
  $status
@@ -47985,7 +48751,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
47985
48751
  cursor: ${$status === "active" ? "default" : $status === "complete" ? "pointer" : "not-allowed"};
47986
48752
  flex-direction: row;
47987
48753
  `);
47988
- const StepBubble = styledComponents.styled.div.withConfig({
48754
+ const StepBubble = styled.styled.div.withConfig({
47989
48755
  componentId: "sc-xro1ly-3"
47990
48756
  })(["", ""], ({
47991
48757
  theme: theme2,
@@ -48024,10 +48790,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
48024
48790
  }
48025
48791
  ` : ""};
48026
48792
  `);
48027
- const CheckIcon = styledComponents.styled(SvgImage).withConfig({
48793
+ const CheckIcon = styled.styled(SvgImage).withConfig({
48028
48794
  componentId: "sc-xro1ly-4"
48029
48795
  })(["color:inherit;path{stroke-width:3;}"]);
48030
- const StepLabel = styledComponents.styled.div.withConfig({
48796
+ const StepLabel = styled.styled.div.withConfig({
48031
48797
  componentId: "sc-xro1ly-5"
48032
48798
  })(["display:flex;flex-direction:column;", ")"], ({
48033
48799
  theme: theme2,
@@ -48038,7 +48804,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
48038
48804
  color: ${theme2.click.stepper.vertical[$type].color.title[$status]};
48039
48805
  gap: inherit;
48040
48806
  `);
48041
- const StepContent = styledComponents.styled.div.withConfig({
48807
+ const StepContent = styled.styled.div.withConfig({
48042
48808
  componentId: "sc-xro1ly-6"
48043
48809
  })(["display:flex;width:100%;flex-direction:column;", ""], ({
48044
48810
  theme: theme2,
@@ -48137,7 +48903,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
48137
48903
  };
48138
48904
  MultiAccordionItem.displayName = "MultiAccordion.Item";
48139
48905
  MultiAccordion.Item = MultiAccordionItem;
48140
- const AccordionRoot = styledComponents.styled($1bf158f521e1b1b4$export$be92b6f5f03c0fe9).withConfig({
48906
+ const AccordionRoot = styled.styled($1bf158f521e1b1b4$export$be92b6f5f03c0fe9).withConfig({
48141
48907
  componentId: "sc-1lb3204-0"
48142
48908
  })(["display:flex;flex-direction:column;justify-content:start;align-items:start;gap:", ";", ";"], ({
48143
48909
  theme: theme2,
@@ -48145,7 +48911,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
48145
48911
  }) => theme2.click.container.gap[$gap], ({
48146
48912
  $fillWidth
48147
48913
  }) => $fillWidth && "width: 100%");
48148
- const AccordionItem = styledComponents.styled($1bf158f521e1b1b4$export$6d08773d2e66f8f2).withConfig({
48914
+ const AccordionItem = styled.styled($1bf158f521e1b1b4$export$6d08773d2e66f8f2).withConfig({
48149
48915
  componentId: "sc-1lb3204-1"
48150
48916
  })(["", ";", ";"], ({
48151
48917
  theme: theme2,
@@ -48156,7 +48922,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
48156
48922
  `, ({
48157
48923
  $fillWidth
48158
48924
  }) => $fillWidth && "width: 100%");
48159
- const AccordionTrigger = styledComponents.styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withConfig({
48925
+ const AccordionTrigger = styled.styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withConfig({
48160
48926
  componentId: "sc-1lb3204-2"
48161
48927
  })(["width:100%;border:none;padding:0;background-color:transparent;display:flex;align-items:center;", ';border-radius:inherit;&[data-state="open"]{border-bottom-left-radius:0px;border-bottom-right-radius:0px;[data-icon="accordion-status"]{color:', ";}}"], ({
48162
48928
  theme: theme2,
@@ -48189,13 +48955,13 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
48189
48955
  }, ({
48190
48956
  theme: theme2
48191
48957
  }) => theme2.global.color.accent.default);
48192
- const AccordionIconWrapper = styledComponents.styled.div.withConfig({
48958
+ const AccordionIconWrapper = styled.styled.div.withConfig({
48193
48959
  componentId: "sc-1lb3204-3"
48194
48960
  })(["display:flex;align-items:center;justify-content:center;transition:transform 200ms cubic-bezier(0.87,0,0.13,1);", "[data-state='open'] &{transform:rotate(90deg);}"], AccordionTrigger);
48195
- const AccordionIconsWrapper = styledComponents.styled.div.withConfig({
48961
+ const AccordionIconsWrapper = styled.styled.div.withConfig({
48196
48962
  componentId: "sc-1lb3204-4"
48197
48963
  })(["display:flex;align-items:center;justify-content:center;"]);
48198
- const CustomIcon = styledComponents.styled(SvgImage).withConfig({
48964
+ const CustomIcon = styled.styled(SvgImage).withConfig({
48199
48965
  componentId: "sc-1lb3204-5"
48200
48966
  })(["", ""], ({
48201
48967
  $isCompleted,
@@ -48209,7 +48975,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
48209
48975
  fill: ${theme2.global.color.accent.default} !important;;
48210
48976
  }
48211
48977
  `);
48212
- const AccordionContent = styledComponents.styled($1bf158f521e1b1b4$export$7c6e2c02157bb7d2).withConfig({
48978
+ const AccordionContent = styled.styled($1bf158f521e1b1b4$export$7c6e2c02157bb7d2).withConfig({
48213
48979
  componentId: "sc-1lb3204-6"
48214
48980
  })(["padding:", ";padding-top:0;"], ({
48215
48981
  theme: theme2,
@@ -48235,6 +49001,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
48235
49001
  exports2.Container = Container;
48236
49002
  exports2.ContextMenu = ContextMenu;
48237
49003
  exports2.DangerAlert = DangerAlert;
49004
+ exports2.DatePicker = DatePicker;
48238
49005
  exports2.Dialog = Dialog;
48239
49006
  exports2.Dropdown = Dropdown;
48240
49007
  exports2.EllipsisContent = EllipsisContent;