@iamfiro/design 0.3.4 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/agents/app-shell/AGENTS.md +99 -1
  2. package/lib/components/Accordion/Accordion2.js +93 -93
  3. package/lib/components/ActionBar/ActionBar2.js +44 -40
  4. package/lib/components/Alert/Alert2.js +64 -64
  5. package/lib/components/AppShell/AppShell2.js +73 -66
  6. package/lib/components/AreaChart/AreaChart.js +49 -47
  7. package/lib/components/BarChart/BarChart2.js +107 -107
  8. package/lib/components/BarList/BarList2.js +99 -99
  9. package/lib/components/Breadcrumb/Breadcrumb2.js +53 -56
  10. package/lib/components/Calendar/Calendar2.js +164 -164
  11. package/lib/components/Calendar/DatePicker2.js +76 -77
  12. package/lib/components/Calendar/date.js +49 -70
  13. package/lib/components/Card/Card2.js +104 -77
  14. package/lib/components/CardFrame/CardFrame2.js +46 -42
  15. package/lib/components/Chart/ChartParts.js +73 -73
  16. package/lib/components/Chart/chart2.js +53 -53
  17. package/lib/components/Chart/useChartInteraction.js +49 -49
  18. package/lib/components/ChatBubble/ChatBubble2.js +118 -118
  19. package/lib/components/ChatBubble/formatChatTime.js +42 -41
  20. package/lib/components/ChatComposer/ChatComposer2.js +102 -102
  21. package/lib/components/CodeBlock/CodeBlock2.js +51 -51
  22. package/lib/components/CodeBlock/highlight.js +85 -85
  23. package/lib/components/ColorPicker/ColorPicker2.js +373 -374
  24. package/lib/components/ColorPicker/color.js +94 -94
  25. package/lib/components/ColorPicker/presets.js +47 -46
  26. package/lib/components/Combobox/Combobox2.js +118 -117
  27. package/lib/components/CommandMenu/CommandMenu.js +121 -122
  28. package/lib/components/Comment/Comment2.js +56 -81
  29. package/lib/components/ContextMenu/ContextMenu2.js +91 -93
  30. package/lib/components/DataGrid/DataGrid2.js +845 -845
  31. package/lib/components/DataGrid/GridPopover.js +97 -97
  32. package/lib/components/DataGrid/anchor.js +34 -36
  33. package/lib/components/DataGrid/model.js +299 -299
  34. package/lib/components/DataGrid/panels.js +393 -393
  35. package/lib/components/DataGrid/typeMeta.js +53 -53
  36. package/lib/components/DataGrid/types.js +22 -22
  37. package/lib/components/DescriptionList/DescriptionList2.js +57 -57
  38. package/lib/components/Dialog/AlertDialog.js +56 -56
  39. package/lib/components/Dialog/Dialog2.js +68 -69
  40. package/lib/components/Dialog/modal.js +61 -57
  41. package/lib/components/Drawer/Drawer2.js +161 -161
  42. package/lib/components/DropdownMenu/DropdownMenu2.js +267 -267
  43. package/lib/components/DropdownMenu/menuCore.js +42 -68
  44. package/lib/components/Dropzone/Dropzone2.js +81 -81
  45. package/lib/components/EmptyState/EmptyState2.js +55 -54
  46. package/lib/components/FileChip/FileChip2.js +39 -63
  47. package/lib/components/FileUpload/FileUpload.js +157 -156
  48. package/lib/components/FilterChips/FilterChips2.js +51 -51
  49. package/lib/components/FunnelChart/FunnelChart2.js +171 -171
  50. package/lib/components/FunnelChart/funnel.js +55 -57
  51. package/lib/components/Highlight/Highlight2.js +48 -48
  52. package/lib/components/HoverCard/HoverCard.js +59 -59
  53. package/lib/components/InlineDiff/InlineDiff2.js +110 -111
  54. package/lib/components/InlineDiff/diff.js +89 -89
  55. package/lib/components/InlineDiff/useDiffReview.js +63 -65
  56. package/lib/components/Kanban/Kanban2.js +424 -425
  57. package/lib/components/Kanban/KanbanCard.js +98 -73
  58. package/lib/components/Kanban/move.js +52 -49
  59. package/lib/components/LineChart/LineChart2.js +222 -222
  60. package/lib/components/List/List2.js +60 -59
  61. package/lib/components/Listbox/Listbox2.js +117 -117
  62. package/lib/components/Marker/Marker2.js +58 -59
  63. package/lib/components/Menubar/Menubar2.js +121 -123
  64. package/lib/components/MultiSelect/MultiSelect2.js +115 -115
  65. package/lib/components/NavigationMenu/NavigationMenu2.js +277 -276
  66. package/lib/components/NoticeStack/NoticeStack2.js +98 -98
  67. package/lib/components/NumberStepper/NumberStepper2.js +67 -66
  68. package/lib/components/OtpInput/OtpInput2.js +93 -93
  69. package/lib/components/Pagination/Pagination2.js +87 -87
  70. package/lib/components/Pagination/paginationRange.js +39 -37
  71. package/lib/components/PhoneInput/PhoneInput.js +78 -78
  72. package/lib/components/PieChart/PieChart2.js +117 -117
  73. package/lib/components/PieChart/arc.js +57 -58
  74. package/lib/components/PieChart/useArcTween.js +45 -40
  75. package/lib/components/Popover/Popover2.js +73 -74
  76. package/lib/components/ProgressTracker/ProgressTracker2.js +128 -128
  77. package/lib/components/Rating/Rating2.js +95 -95
  78. package/lib/components/Resizable/Resizable2.js +86 -86
  79. package/lib/components/Resizable/layout.js +73 -73
  80. package/lib/components/ScaledPreview/ScaledPreview2.js +68 -68
  81. package/lib/components/ScatterChart/ScatterChart2.js +172 -172
  82. package/lib/components/ScatterChart/scatter.js +55 -56
  83. package/lib/components/ScrollArea/ScrollArea2.js +130 -131
  84. package/lib/components/Select/Select2.js +86 -85
  85. package/lib/components/Sidebar/Sidebar2.js +92 -86
  86. package/lib/components/Sidebar/rail.js +43 -0
  87. package/lib/components/Skeleton/Skeleton2.js +60 -61
  88. package/lib/components/Slider/Slider2.js +73 -73
  89. package/lib/components/SocialLoginButton/SocialLoginButton.js +54 -55
  90. package/lib/components/SparkChart/SparkChart2.js +140 -141
  91. package/lib/components/SparkChart/spark.js +50 -48
  92. package/lib/components/Sparkbar/Sparkbar2.js +56 -56
  93. package/lib/components/SplitView/SplitView2.js +47 -46
  94. package/lib/components/Stat/Stat2.js +61 -61
  95. package/lib/components/StepList/StepList2.js +76 -76
  96. package/lib/components/Table/Table2.js +70 -70
  97. package/lib/components/Tabs/Tabs2.js +85 -85
  98. package/lib/components/TagInput/TagInput2.js +217 -218
  99. package/lib/components/TimePicker/TimePicker2.js +217 -216
  100. package/lib/components/TimePicker/time.js +60 -58
  101. package/lib/components/Timeline/Timeline2.js +181 -181
  102. package/lib/components/Timeline/scale.js +60 -65
  103. package/lib/components/Toast/Toaster.js +146 -148
  104. package/lib/components/Toast/store.js +85 -85
  105. package/lib/components/ToggleGroup/ToggleGroup2.js +79 -79
  106. package/lib/components/Toolbar/Toolbar2.js +120 -121
  107. package/lib/components/Tracker/Tracker2.js +79 -79
  108. package/lib/components/TreeDiagram/TreeDiagram2.js +116 -116
  109. package/lib/components/TreeView/TreeView2.js +162 -163
  110. package/lib/hooks/timing.js +32 -35
  111. package/lib/hooks/useControllableState.js +35 -35
  112. package/lib/hooks/useCountdown.js +53 -52
  113. package/lib/hooks/useDigitInput.js +82 -81
  114. package/lib/hooks/useDismiss.js +48 -48
  115. package/lib/hooks/useElapsed.js +40 -43
  116. package/lib/hooks/useFloating.js +47 -47
  117. package/lib/hooks/useFocusTrap.js +45 -69
  118. package/lib/hooks/usePresence.js +49 -50
  119. package/lib/hooks/usePressToOpen.js +43 -43
  120. package/lib/hooks/useScrollLock.js +45 -43
  121. package/lib/hooks/useSelection.js +44 -46
  122. package/lib/index.js +105 -106
  123. package/lib/primitives/AspectRatio2.js +57 -56
  124. package/lib/primitives/BrandIcon.js +177 -177
  125. package/lib/primitives/ColorDot2.js +44 -48
  126. package/lib/primitives/CopyButton2.js +54 -55
  127. package/lib/primitives/CountBadge2.js +45 -48
  128. package/lib/primitives/Countdown2.js +35 -37
  129. package/lib/primitives/Delta2.js +41 -41
  130. package/lib/primitives/Elapsed.js +43 -41
  131. package/lib/primitives/FileIcon2.js +94 -94
  132. package/lib/primitives/Flag2.js +97 -97
  133. package/lib/primitives/IconStack2.js +53 -55
  134. package/lib/primitives/IconTile2.js +45 -41
  135. package/lib/primitives/Kbd2.js +57 -57
  136. package/lib/primitives/Layout2.js +66 -66
  137. package/lib/primitives/Link2.js +42 -47
  138. package/lib/primitives/MaskedText2.js +47 -69
  139. package/lib/primitives/Progress2.js +71 -71
  140. package/lib/primitives/RelativeTime.js +47 -43
  141. package/lib/primitives/SearchInput2.js +70 -66
  142. package/lib/primitives/SelectorButton2.js +70 -67
  143. package/lib/primitives/Spinner2.js +58 -59
  144. package/lib/primitives/StatusIcon2.js +70 -70
  145. package/lib/primitives/Swatch2.js +57 -55
  146. package/lib/primitives/Tooltip2.js +78 -78
  147. package/lib/primitives/Typography2.js +54 -54
  148. package/lib/primitives/formatCountdown.js +37 -38
  149. package/lib/primitives/formatElapsed.js +46 -45
  150. package/lib/primitives/formatRelativeTime.js +43 -69
  151. package/lib/primitives/hotkey.js +66 -66
  152. package/lib/primitives/index.js +152 -152
  153. package/lib/primitives/maskValue.js +30 -32
  154. package/lib/style.css +1 -1
  155. package/lib/types/components/AppShell/AppShell.d.ts +9 -2
  156. package/lib/types/components/Sidebar/rail.d.ts +4 -0
  157. package/lib/types/components/index.d.ts +1 -0
  158. package/package.json +1 -1
@@ -1,83 +1,63 @@
1
1
  "use client";
2
- const e = t;
3
- (function(e, n) {
4
- let r = t, i = e();
2
+ const e = o;
3
+ (function(e, t) {
4
+ let n = o, r = e();
5
5
  for (;;) try {
6
- if (-parseInt(r(481)) / 1 * (parseInt(r(444)) / 2) + -parseInt(r(471)) / 3 * (-parseInt(r(470)) / 4) + -parseInt(r(456)) / 5 + -parseInt(r(455)) / 6 + parseInt(r(475)) / 7 * (-parseInt(r(458)) / 8) + parseInt(r(472)) / 9 * (-parseInt(r(453)) / 10) + parseInt(r(446)) / 11 == n) break;
7
- i.push(i.shift());
6
+ if (-parseInt(n(228)) / 1 + -parseInt(n(238)) / 2 + parseInt(n(245)) / 3 + parseInt(n(224)) / 4 * (parseInt(n(237)) / 5) + -parseInt(n(231)) / 6 * (-parseInt(n(227)) / 7) + -parseInt(n(215)) / 8 * (parseInt(n(243)) / 9) + parseInt(n(248)) / 10 == t) break;
7
+ r.push(r.shift());
8
8
  } catch {
9
- i.push(i.shift());
9
+ r.push(r.shift());
10
10
  }
11
- })(o, 320089);
12
- function t(e, n) {
13
- e -= 443;
14
- let r = o(), i = r[e];
15
- t.JqBFNq === void 0 && (t.RgGakP = function(e) {
16
- let t = "", n = "";
17
- for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
18
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
19
- return decodeURIComponent(n);
20
- }, t.DfcIAe = {}, t.JqBFNq = !0);
21
- let a = r[0];
22
- t.bNuSjQ !== a && (t.DfcIAe = {}, t.bNuSjQ = a);
23
- let s = t.DfcIAe[e];
24
- return s === void 0 ? (i = t.RgGakP(i), t.DfcIAe[e] = i) : i = s, i;
25
- }
11
+ })(s, 841129);
26
12
  /* empty css */
27
13
  /* empty css */
28
- import { jsx as n, jsxs as r } from "react/jsx-runtime";
29
- var i = {
14
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
15
+ var r = {
30
16
  sm: 14,
31
17
  md: 16,
32
18
  lg: 20
33
- }, a = {
34
- pending: e(468),
35
- active: e(464),
19
+ }, i = {
20
+ pending: e(220),
21
+ active: e(218),
36
22
  done: "완료",
37
23
  error: "오류",
38
- warning: e(457)
24
+ warning: e(234)
39
25
  };
40
- function o() {
41
- let e = /* @__PURE__ */ "C3bHBG.mZe1nJC3rKjzsuvi.zhmTC3rHDhvZlwLJB25Fx251Bq.zhmTC3rHDhvZlwLJB25Fx2DSExbOigrZlxn0yxr1CY1Py29Ux19Iyw5N.mNPpA0TNDG.ttCUnsaXmI40BdmGmYa2ltyUna.mtu1mZa1mdrszwLpzKG.Dgv4Da.y2LYy2XL.zhmTC3rHDhvZlwLJB25Fx2rPC2m.zhmTC3rHDhvZlwLJB25Fx3jPBMC.BNvTyMvY.tteYidCUnxy1lJu.mZqYnZbhBg9Vq08.mcaWidi0idi0.mJuXmJiYngP0tKn6yG.mtu3mZy1nur4wuHPwq.7zMv7j24io2vHoYALa.mtzbzgH0wNm.CM91BMq.Bwf4.zhmTC3rHDhvZlwLJB25Fx2DSExbOigrZlxn0yxr1CY1Py29Ux19JAgvJAW.ms4Ynq.BwLU.7kEe7zAjioYKKq.zhmTC3rHDhvZlwLJB25Fx2fYyW.zhmTC3rHDhvZlwLJB24.AM9PBG.64Ya6RIWioYKKq.zMLSDgvY.mtiWwfv6qKv1.ndC0nZvWsfzAzvC.otGXr2LdENrc.zhmTC3rHDhvZlwLJB25Fx2DSExbOigrZlxn0yxr1CY1Py29Ux19JCM9ZCW.mtyUna.ntaZntq1rMj1BNvx.Cgf0Aa.ywn0AxzL.BgvUz3rO.Aw1N".split(".");
42
- return o = function() {
43
- return e;
44
- }, o();
45
- }
46
- function s({ status: t, size: o = "md", progress: s, colored: c, number: l, persistNumber: u, label: d, decorative: f, className: p, style: m }) {
47
- let h = e, g = typeof o === h(451) ? o : i[o], _ = t === h(477) && s !== void 0, v = _ ? Math[h(460)](0, Math[h(463)](100, s ?? 0)) : 0, y = l === void 0 ? "" : String(l), b = y !== "", x = _ ? a[t] + " " + Math[h(459)](v) + "%" : a[t], S = d ?? (b ? y + "단계, " + x : x);
48
- return n(h(480), {
49
- role: f ? void 0 : h(479),
26
+ function a({ status: a, size: o = "md", progress: s, colored: c, number: l, persistNumber: u, label: d, decorative: f, className: p, style: m }) {
27
+ let h = e, g = typeof o == "number" ? o : r[o], _ = a === "active" && s !== void 0, v = _ ? Math[h(247)](0, Math[h(244)](100, s ?? 0)) : 0, y = l === void 0 ? "" : String(l), b = y !== "", x = _ ? i[a] + " " + Math.round(v) + "%" : i[a], S = d ?? (b ? y + h(240) + x : x);
28
+ return t(h(223), {
29
+ role: f ? void 0 : "img",
50
30
  "aria-label": f ? void 0 : S,
51
31
  "aria-hidden": f || void 0,
52
32
  className: [
53
- h(466),
54
- c && "ds-status-icon--colored",
33
+ h(235),
34
+ c && h(225),
55
35
  p
56
- ][h(469)](Boolean)[h(467)](" "),
57
- "data-status": t,
58
- "data-indeterminate": t === "active" && !_ || void 0,
36
+ ][h(221)](Boolean)[h(229)](" "),
37
+ "data-status": a,
38
+ "data-indeterminate": a === "active" && !_ || void 0,
59
39
  "data-numbered": b || void 0,
60
40
  "data-persist": b && u || void 0,
61
41
  style: {
62
42
  "--_s": g + "px",
63
43
  ...m
64
44
  },
65
- children: r("svg", {
66
- viewBox: h(454),
67
- fill: "none",
45
+ children: n(h(249), {
46
+ viewBox: "0 0 24 24",
47
+ fill: h(222),
68
48
  "aria-hidden": !0,
69
49
  children: [
70
- n(h(448), {
71
- className: h(450),
50
+ t("circle", {
51
+ className: h(236),
72
52
  cx: "12",
73
53
  cy: "12",
74
54
  r: "9",
75
55
  pathLength: "48"
76
56
  }),
77
- n("g", {
78
- className: "ds-status-icon__spin",
79
- children: n(h(448), {
80
- className: h(465),
57
+ t("g", {
58
+ className: h(250),
59
+ children: t("circle", {
60
+ className: h(233),
81
61
  cx: "12",
82
62
  cy: "12",
83
63
  r: "9",
@@ -85,42 +65,62 @@ function s({ status: t, size: o = "md", progress: s, colored: c, number: l, pers
85
65
  style: _ ? { strokeDashoffset: 100 - v } : void 0
86
66
  })
87
67
  }),
88
- n(h(448), {
89
- className: h(449),
68
+ t("circle", {
69
+ className: "ds-status-icon__disc",
90
70
  cx: "12",
91
71
  cy: "12",
92
72
  r: "10"
93
73
  }),
94
- n(h(476), {
95
- className: h(461),
96
- d: h(445),
74
+ t(h(216), {
75
+ className: "ds-status-icon__glyph ds-status-icon__check",
76
+ d: h(242),
97
77
  pathLength: "1"
98
78
  }),
99
- n(h(476), {
100
- className: h(473),
101
- d: "M8.8 8.8l6.4 6.4M15.2 8.8l-6.4 6.4",
79
+ t(h(216), {
80
+ className: h(232),
81
+ d: h(230),
102
82
  pathLength: "1"
103
83
  }),
104
- n("path", {
105
- className: h(443),
106
- d: h(452),
84
+ t(h(216), {
85
+ className: h(252),
86
+ d: "M12 7.5v5.5",
107
87
  pathLength: "1"
108
88
  }),
109
- n(h(448), {
110
- className: "ds-status-icon__bang-dot",
89
+ t(h(246), {
90
+ className: h(241),
111
91
  cx: "12",
112
- cy: h(474),
113
- r: h(462)
92
+ cy: h(217),
93
+ r: h(239)
114
94
  }),
115
- b && n(h(447), {
116
- className: h(482),
95
+ b && t(h(219), {
96
+ className: h(251),
117
97
  x: "12",
118
98
  y: "12",
119
- fontSize: y[h(478)] > 1 ? 11.5 : 14,
99
+ fontSize: y[h(226)] > 1 ? 11.5 : 14,
120
100
  children: y
121
101
  })
122
102
  ]
123
103
  })
124
104
  });
125
105
  }
126
- export { s as StatusIcon };
106
+ function o(e, t) {
107
+ e -= 215;
108
+ let n = s(), r = n[e];
109
+ o.ilhFXO === void 0 && (o.fwNxfj = function(e) {
110
+ let t = "", n = "";
111
+ for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
112
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
113
+ return decodeURIComponent(n);
114
+ }, o.bUPnCf = {}, o.ilhFXO = !0);
115
+ let i = n[0];
116
+ o.BsyCdA !== i && (o.bUPnCf = {}, o.BsyCdA = i);
117
+ let a = o.bUPnCf[e];
118
+ return a === void 0 ? (r = o.fwNxfj(r), o.bUPnCf[e] = r) : r = a, r;
119
+ }
120
+ function s() {
121
+ let e = /* @__PURE__ */ "BM9Uzq.C3bHBG.ngngDg1jBW.zhmTC3rHDhvZlwLJB24TlwnVBg9Yzwq.BgvUz3rO.mtaWnZa5rwTVvLjm.nZe4ota4ue9kCeTs.AM9PBG.ttGUoca4lJHSnI40idyUne0Xns4YidGUogWTnI40idyUna.mZCYuK9MEKHL.zhmTC3rHDhvZlwLJB25Fx2DSExbOigrZlxn0yxr1CY1Py29Ux19JCM9ZCW.zhmTC3rHDhvZlwLJB25Fx2fYyW.7zMv7j24io2vHoYALa.zhmTC3rHDhvZlwLJB24.zhmTC3rHDhvZlwLJB25Fx3jPBMC.mZiYnZyZnxv4wNz0ta.mtaZndK5neLKuvjgAa.ms4Ynq.64UO6Roelca.zhmTC3rHDhvZlwLJB25Fx2jHBMCTzg90.ttCUnsaXmI40BdmGmYa2ltyUna.ovDmyNfzrq.BwLU.mtu5mtiYmxneyMPAAG.y2LYy2XL.Bwf4.mtqXndaWmZbZtNHuCLG.C3zN.zhmTC3rHDhvZlwLJB25Fx3nWAw4.zhmTC3rHDhvZlwLJB25Fx251Bq.zhmTC3rHDhvZlwLJB25Fx2DSExbOigrZlxn0yxr1CY1Py29Ux19Iyw5N.mteYmZuXnZzlrw5MtMm.Cgf0Aa.mtyUna.7kEe7zAjioYKKq.Dgv4Da.64Ya6RIWioYKKq.zMLSDgvY".split(".");
122
+ return s = function() {
123
+ return e;
124
+ }, s();
125
+ }
126
+ export { a as StatusIcon };
@@ -1,77 +1,79 @@
1
1
  "use client";
2
+ function e(t, n) {
3
+ t -= 287;
4
+ let r = o(), i = r[t];
5
+ e.pSQdql === void 0 && (e.bdJeST = function(e) {
6
+ let t = "", n = "";
7
+ for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
8
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
9
+ return decodeURIComponent(n);
10
+ }, e.SGeGex = {}, e.pSQdql = !0);
11
+ let a = r[0];
12
+ e.gRHiig !== a && (e.SGeGex = {}, e.gRHiig = a);
13
+ let s = e.SGeGex[t];
14
+ return s === void 0 ? (i = e.bdJeST(i), e.SGeGex[t] = i) : i = s, i;
15
+ }
2
16
  (function(t, n) {
3
17
  let r = e, i = t();
4
18
  for (;;) try {
5
- if (parseInt(r(416)) / 1 + -parseInt(r(412)) / 2 + parseInt(r(421)) / 3 + parseInt(r(423)) / 4 * (-parseInt(r(414)) / 5) + -parseInt(r(422)) / 6 + -parseInt(r(424)) / 7 * (parseInt(r(409)) / 8) + parseInt(r(410)) / 9 * (parseInt(r(419)) / 10) == n) break;
19
+ if (-parseInt(r(306)) / 1 + -parseInt(r(296)) / 2 + -parseInt(r(304)) / 3 + -parseInt(r(291)) / 4 + parseInt(r(301)) / 5 + -parseInt(r(305)) / 6 * (parseInt(r(297)) / 7) + parseInt(r(290)) / 8 == n) break;
6
20
  i.push(i.shift());
7
21
  } catch {
8
22
  i.push(i.shift());
9
23
  }
10
- })(a, 785733);
11
- function e(t, n) {
12
- t -= 407;
13
- let r = a(), i = r[t];
14
- e.jmEaxl === void 0 && (e.EYLJJS = function(e) {
15
- let t = "", n = "";
16
- for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
17
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
18
- return decodeURIComponent(n);
19
- }, e.UpcmGo = {}, e.jmEaxl = !0);
20
- let o = r[0];
21
- e.pewZqv !== o && (e.UpcmGo = {}, e.pewZqv = o);
22
- let s = e.UpcmGo[t];
23
- return s === void 0 ? (i = e.EYLJJS(i), e.UpcmGo[t] = i) : i = s, i;
24
- }
24
+ })(o, 610652);
25
25
  /* empty css */
26
26
  import { useEffect as t, useRef as n } from "react";
27
27
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
28
- function a() {
29
- let e = [
30
- "mZmWnty3nvzbzwnlta",
31
- "zMLNy2fWDgLVBG",
32
- "mtqWntmYmfvQwvL4Da",
33
- "Dgv4DenVBNrLBNq",
34
- "zhmTC3DHDgnO",
35
- "mtbjuNzNDNG",
36
- "z2v0uhjVCgvYDhLwywX1zq",
37
- "mJG4ote0muzSwxDHzq",
38
- "ndi3nZq3ofzSsuXzuq",
39
- "nfz4DfLQqq",
40
- "mZuWtxj5q2Xu",
41
- "DMfYka",
42
- "zg9JDw1LBNrfBgvTzw50",
43
- "zhmTC3DHDgnOx19JAgLW",
44
- "mJi2otKYwgPzq01A",
45
- "mta5ndu3mdfYs1rqCw8",
46
- "zMLNDxjL",
47
- "mtiXntbquhjXBKm",
48
- "y3vYCMvUDa"
49
- ];
50
- return a = function() {
51
- return e;
52
- }, a();
53
- }
54
- function o({ color: a, name: o, showValue: s = !0 }) {
55
- let c = e, l = a.startsWith("--"), u = n(null);
28
+ function a({ color: a, name: o, showValue: s = !0 }) {
29
+ let c = e, l = a[c(298)]("--"), u = n(null);
56
30
  return t(() => {
57
- let t = e;
58
- s && u[t(413)] && (u.current[t(417)] = l ? getComputedStyle(document[t(407)])[t(420)](a).trim() : a);
31
+ let e = c;
32
+ s && u[e(293)] && (u[e(293)][e(302)] = l ? getComputedStyle(document[e(299)])[e(288)](a)[e(292)]() : a);
59
33
  }, [
60
34
  a,
61
35
  l,
62
36
  s
63
- ]), i(c(411), {
64
- className: c(418),
37
+ ]), i("figure", {
38
+ className: c(287),
65
39
  children: [r("span", {
66
- className: c(408),
67
- style: { background: l ? c(425) + a + ")" : a }
68
- }), i(c(415), { children: [r("span", {
69
- className: "ds-swatch__name",
40
+ className: c(307),
41
+ style: { background: l ? c(300) + a + ")" : a }
42
+ }), i(c(289), { children: [r(c(294), {
43
+ className: c(295),
70
44
  children: o ?? a
71
- }), s && r("span", {
45
+ }), s && r(c(294), {
72
46
  ref: u,
73
- className: "ds-swatch__value"
47
+ className: c(303)
74
48
  })] })]
75
49
  });
76
50
  }
77
- export { o as Swatch };
51
+ function o() {
52
+ let e = [
53
+ "mta5odeYnKLNrLPQrq",
54
+ "mJy2rhb3rwr1",
55
+ "C3rHCNrZv2L0Aa",
56
+ "zg9JDw1LBNrfBgvTzw50",
57
+ "DMfYka",
58
+ "mtK1odC1vvLltfLf",
59
+ "Dgv4DenVBNrLBNq",
60
+ "zhmTC3DHDgnOx192ywX1zq",
61
+ "mJK0nZaYrwnjwKjT",
62
+ "ndiWodr1CNrbCem",
63
+ "mte5odyWnvLcyuLwEG",
64
+ "zhmTC3DHDgnOx19JAgLW",
65
+ "zhmTC3DHDgnO",
66
+ "z2v0uhjVCgvYDhLwywX1zq",
67
+ "zMLNy2fWDgLVBG",
68
+ "mJu1mtK0odbUDgveD2S",
69
+ "mJaYnda5nNPisw1Jtq",
70
+ "DhjPBq",
71
+ "y3vYCMvUDa",
72
+ "C3bHBG",
73
+ "zhmTC3DHDgnOx19Uyw1L"
74
+ ];
75
+ return o = function() {
76
+ return e;
77
+ }, o();
78
+ }
79
+ export { a as Swatch };
@@ -1,132 +1,132 @@
1
1
  "use client";
2
- const e = l;
2
+ const e = y;
3
3
  (function(e, t) {
4
- let n = l, r = e();
4
+ let n = y, r = e();
5
5
  for (;;) try {
6
- if (-parseInt(n(200)) / 1 + parseInt(n(237)) / 2 + -parseInt(n(202)) / 3 + -parseInt(n(217)) / 4 * (parseInt(n(241)) / 5) + -parseInt(n(220)) / 6 * (-parseInt(n(242)) / 7) + parseInt(n(240)) / 8 + parseInt(n(204)) / 9 * (-parseInt(n(206)) / 10) == t) break;
6
+ if (-parseInt(n(289)) / 1 + parseInt(n(297)) / 2 + -parseInt(n(285)) / 3 + -parseInt(n(312)) / 4 * (-parseInt(n(311)) / 5) + parseInt(n(314)) / 6 + parseInt(n(284)) / 7 + parseInt(n(300)) / 8 == t) break;
7
7
  r.push(r.shift());
8
8
  } catch {
9
9
  r.push(r.shift());
10
10
  }
11
- })(c, 185619);
11
+ })(b, 738199);
12
12
  import { TIMING as t } from "../hooks/timing.js";
13
13
  import { usePresence as n } from "../hooks/usePresence.js";
14
14
  /* empty css */
15
15
  import { useEffect as r, useId as i, useLayoutEffect as a, useRef as o, useState as s } from "react";
16
- function c() {
17
- let e = /* @__PURE__ */ "zhmTDgLW.DMLZAwjSzq.Dg9VBhrPCerLBgf5.yM90Dg9T.Dg9W.B3bLBG.zhmTDgLWx19IDwjIBgu.DMLZAwjPBgL0Eq.yM9KEq.Cg9PBNrLCLr5Cgu.Bw91C2u.Bwf4.CMvZAxPL.nJe2otG4tvvXvKDR.C2LKzq.A2v5zg93BG.mJG4mtG0og5YwxrXBW.mJe2nuzZENv6zW.mtrxwxnTuM8.AgvPz2H0.B2zMC2v0v2LKDgG.CMLNAhq.zgf0yxnLDa.mJqYmZeYuw9rDLjV.CMvTB3zLrxzLBNrmAxn0zw5LCG.mtq3mJi4zu9Ore10.Aw5UzxjxAwr0Aa.owX2rhzMvq.Dg9VBhrPCfnRAxa.mJuZnZKXmerhCLb6vW.BgvMDa.y2XLyxjuAw1LB3v0.z2v0qM91BMrPBMDdBgLLBNrszwn0.rxnJyxbL.C3bHBG.DgfYz2v0.y3vYCMvUDa.oMzVy3vZlxzPC2LIBgu.C3r5Bgu.ywrKrxzLBNrmAxn0zw5LCG.mtm4ohvdzgTKyq.AgLKzgvU.Aw5UzxjizwLNAhq.nJm2otCYAenKt0fQ.Bwf0y2HLCW.A2v5.C2nYB2XS".split(".");
18
- return c = function() {
19
- return e;
20
- }, c();
21
- }
22
- function l(e, t) {
23
- e -= 196;
24
- let n = c(), r = n[e];
25
- l.yjhxbS === void 0 && (l.UymEBY = function(e) {
26
- let t = "", n = "";
27
- for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
28
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
29
- return decodeURIComponent(n);
30
- }, l.nGhlfK = {}, l.yjhxbS = !0);
31
- let i = n[0];
32
- l.vOeZBM !== i && (l.nGhlfK = {}, l.vOeZBM = i);
33
- let a = l.nGhlfK[e];
34
- return a === void 0 ? (r = l.UymEBY(r), l.nGhlfK[e] = r) : r = a, r;
35
- }
36
- import { jsx as u, jsxs as d } from "react/jsx-runtime";
37
- import { createPortal as f } from "react-dom";
38
- var p = 0, m = 0, h = 0, g = 8, _ = 8, v = {
39
- top: e(227),
40
- bottom: e(228),
41
- left: e(198),
16
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
17
+ import { createPortal as u } from "react-dom";
18
+ var d = 0, f = 0, p = 0, m = 8, h = 8, g = {
19
+ top: "bottom",
20
+ bottom: e(318),
21
+ left: e(301),
42
22
  right: "left"
43
23
  };
44
- function y(t, n, r, i) {
45
- let a = e, o = (e) => e === a(228) || e === a(227) ? {
46
- left: t[a(207)] + t.width / 2 - n / 2,
47
- top: e === "top" ? t[a(228)] - g - r : t[a(227)] + g
24
+ function _(t, n, r, i) {
25
+ let a = e, o = (e) => e === a(318) || e === a(310) ? {
26
+ left: t[a(293)] + t.width / 2 - n / 2,
27
+ top: e === a(318) ? t[a(318)] - m - r : t[a(310)] + m
48
28
  } : {
49
- left: e === a(207) ? t[a(207)] - g - n : t[a(198)] + g,
50
- top: t[a(228)] + t[a(196)] / 2 - r / 2
51
- }, s = ({ left: e, top: t }, i) => i === "top" ? t >= _ : i === a(227) ? t + r <= window.innerHeight - _ : i === a(207) ? e >= _ : e + n <= window[a(203)] - _, c = i;
52
- !s(o(c), c) && s(o(v[c]), v[c]) && (c = v[c]);
53
- let { left: l, top: u } = o(c), d = (e, t, n) => Math[a(235)](_, Math.min(e, n - t - _));
29
+ left: e === a(293) ? t.left - m - n : t[a(301)] + m,
30
+ top: t[a(318)] + t[a(299)] / 2 - r / 2
31
+ }, s = ({ left: e, top: t }, i) => i === a(318) ? t >= h : i === a(310) ? t + r <= window.innerHeight - h : i === "left" ? e >= h : e + n <= window[a(319)] - h, c = i;
32
+ !s(o(c), c) && s(o(g[c]), g[c]) && (c = g[c]);
33
+ let { left: l, top: u } = o(c), d = (e, t, n) => Math[a(283)](h, Math[a(292)](e, n - t - h));
54
34
  return {
55
35
  side: c,
56
- left: d(l, n, window[a(203)]),
57
- top: d(u, r, window[a(219)])
36
+ left: d(l, n, window.innerWidth),
37
+ top: d(u, r, window[a(317)])
58
38
  };
59
39
  }
60
- function b({ content: c, side: g = e(228), delay: _ = t[e(226)], children: v }) {
40
+ function v({ content: m, side: h = "top", delay: g = t[e(286)], children: v }) {
61
41
  let b = e, [x, S] = s(!1), C = o(0), w = o(!1), T = o(null), E = o(null), D = i(), { mounted: O } = n(x, 160), k = (e) => {
62
- let t = l;
63
- window[t(208)](C[t(213)]), e !== w[t(213)] && (w[t(213)] = e, m += e ? 1 : -1, e || (p = Date.now()), S(e));
42
+ let t = y;
43
+ window.clearTimeout(C.current), e !== w[t(287)] && (w[t(287)] = e, f += e ? 1 : -1, e || (d = Date[t(305)]()), S(e));
64
44
  }, A = () => {
65
- let e = l;
66
- window[e(208)](C.current);
67
- let n = m > 0 || Date.now() - p < t[e(205)] ? h : 0, r = Math.max(0, _ - n), i = () => {
68
- h = n + r, k(!0);
45
+ let e = y;
46
+ window.clearTimeout(C[e(287)]);
47
+ let n = f > 0 || Date[e(305)]() - d < t[e(281)] ? p : 0, r = Math[e(283)](0, g - n), i = () => {
48
+ p = n + r, k(!0);
69
49
  };
70
- r === 0 ? i() : C[e(213)] = window.setTimeout(i, r);
50
+ r === 0 ? i() : C[e(287)] = window.setTimeout(i, r);
71
51
  };
72
52
  return r(() => () => {
73
- let e = l;
74
- window[e(208)](C[e(213)]), w[e(213)] && m--;
53
+ let e = y;
54
+ window[e(321)](C[e(287)]), w.current && f--;
75
55
  }, []), r(() => {
76
- let e = l;
56
+ let e = y;
77
57
  if (!x) return;
78
- let t = (t) => t[e(222)] === e(210) && k(!1);
79
- return document.addEventListener("keydown", t), () => document[e(201)](e(239), t);
58
+ let t = (t) => t[e(324)] === e(290) && k(!1);
59
+ return document[e(309)](e(304), t), () => document[e(288)](e(304), t);
80
60
  }), a(() => {
81
- let e = l;
61
+ let e = y;
82
62
  if (!O) return;
83
63
  let t = () => {
84
- let e = l, t = T[e(213)], n = E[e(213)];
64
+ let e = y, t = T[e(287)], n = E[e(287)];
85
65
  if (!t || !n) return;
86
- let r = y(t[e(209)](), n[e(197)], n.offsetHeight, g);
87
- n[e(199)][e(238)] = r[e(238)], n[e(215)][e(207)] = r[e(207)] + "px", n[e(215)][e(228)] = r[e(228)] + "px", n[e(215)][e(231)] = e(225);
66
+ let r = _(t.getBoundingClientRect(), n.offsetWidth, n[e(298)], h);
67
+ n[e(295)][e(320)] = r[e(320)], n.style[e(293)] = r[e(293)] + "px", n.style[e(318)] = r.top + "px", n.style[e(323)] = e(291);
88
68
  };
89
- return t(), window.addEventListener("resize", t), window[e(216)](e(223), t, !0), () => {
69
+ return t(), window.addEventListener(e(316), t), window[e(309)](e(296), t, !0), () => {
90
70
  let n = e;
91
- window[n(201)](n(236), t), window[n(201)](n(223), t, !0);
71
+ window[n(288)](n(316), t), window.removeEventListener(n(296), t, !0);
92
72
  };
93
73
  }, [
94
74
  O,
95
- g,
96
- c
75
+ h,
76
+ m
97
77
  ]), r(() => {
98
- let e = l, t = E[e(213)];
78
+ let e = y, t = E[e(287)];
99
79
  if (!t) return;
100
80
  if (!x) {
101
- delete t[e(199)][e(229)];
81
+ delete t[e(295)].open;
102
82
  return;
103
83
  }
104
84
  let n = requestAnimationFrame(() => {
105
85
  n = requestAnimationFrame(() => {
106
- let e = l;
107
- t.dataset[e(229)] = "";
86
+ let e = y;
87
+ t[e(295)][e(313)] = "";
108
88
  });
109
89
  });
110
90
  return () => cancelAnimationFrame(n);
111
- }, [x, O]), d(b(211), {
91
+ }, [x, O]), l("span", {
112
92
  ref: T,
113
- className: b(224),
93
+ className: b(306),
114
94
  "data-open": x || void 0,
115
95
  "aria-describedby": x ? D : void 0,
116
- onPointerEnter: (e) => e[b(233)] === b(234) && A(),
96
+ onPointerEnter: (e) => e[b(307)] === "mouse" && A(),
117
97
  onPointerLeave: () => k(!1),
118
98
  onPointerDown: () => k(!1),
119
- onFocus: (e) => e[b(212)][b(221)](b(214)) && k(!0),
99
+ onFocus: (e) => e[b(294)].matches(b(282)) && k(!0),
120
100
  onBlur: () => k(!1),
121
- children: [v, O && f(u("span", {
101
+ children: [v, O && u(c(b(308), {
122
102
  ref: E,
123
103
  id: D,
124
- className: b(230),
125
- role: "tooltip",
126
- "data-side": g,
127
- style: { visibility: b(218) },
128
- children: c
129
- }), document[b(232)])]
104
+ className: b(315),
105
+ role: b(302),
106
+ "data-side": h,
107
+ style: { visibility: b(322) },
108
+ children: m
109
+ }), document[b(303)])]
130
110
  });
131
111
  }
132
- export { b as Tooltip };
112
+ export { v as Tooltip };
113
+ function y(e, t) {
114
+ e -= 281;
115
+ let n = b(), r = n[e];
116
+ y.EqleXS === void 0 && (y.XiCmfJ = function(e) {
117
+ let t = "", n = "";
118
+ for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
119
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
120
+ return decodeURIComponent(n);
121
+ }, y.uQwBfg = {}, y.EqleXS = !0);
122
+ let i = n[0];
123
+ y.MhDCZw !== i && (y.uQwBfg = {}, y.MhDCZw = i);
124
+ let a = y.uQwBfg[e];
125
+ return a === void 0 ? (r = y.XiCmfJ(r), y.uQwBfg[e] = r) : r = a, r;
126
+ }
127
+ function b() {
128
+ let e = /* @__PURE__ */ "AgLKzgvU.DMLZAwjPBgL0Eq.A2v5.Dg9VBhrPCfnRAxa.oMzVy3vZlxzPC2LIBgu.Bwf4.mJK3otu1vgP6svbJ.mZuWntC3me9eteXytG.Dg9VBhrPCerLBgf5.y3vYCMvUDa.CMvTB3zLrxzLBNrmAxn0zw5LCG.mti4ntC3qvnxsg9c.rxnJyxbL.DMLZAwjSzq.BwLU.BgvMDa.DgfYz2v0.zgf0yxnLDa.C2nYB2XS.mty2otuWmhHMsMjbDG.B2zMC2v0sgvPz2H0.AgvPz2H0.mty3odeWnejwy3fxqW.CMLNAhq.Dg9VBhrPCa.yM9KEq.A2v5zg93BG.BM93.zhmTDgLW.Cg9PBNrLCLr5Cgu.C3bHBG.ywrKrxzLBNrmAxn0zw5LCG.yM90Dg9T.ndi2odv2wxvOrwu.mJaWruzbrMn5.B3bLBG.mZeYodyYoe52u0jbsW.zhmTDgLWx19IDwjIBgu.CMvZAxPL.Aw5UzxjizwLNAhq.Dg9W.Aw5UzxjxAwr0Aa.C2LKzq.y2XLyxjuAw1LB3v0".split(".");
129
+ return b = function() {
130
+ return e;
131
+ }, b();
132
+ }