@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,89 +1,63 @@
1
1
  "use client";
2
- const e = l;
2
+ const e = d;
3
3
  (function(e, t) {
4
- let n = l, r = e();
4
+ let n = d, r = e();
5
5
  for (;;) try {
6
- if (-parseInt(n(213)) / 1 + parseInt(n(228)) / 2 + -parseInt(n(209)) / 3 + -parseInt(n(214)) / 4 * (parseInt(n(212)) / 5) + parseInt(n(222)) / 6 * (-parseInt(n(210)) / 7) + -parseInt(n(208)) / 8 + -parseInt(n(207)) / 9 * (-parseInt(n(221)) / 10) == t) break;
6
+ if (parseInt(n(346)) / 1 * (parseInt(n(362)) / 2) + -parseInt(n(347)) / 3 * (parseInt(n(345)) / 4) + parseInt(n(342)) / 5 + parseInt(n(365)) / 6 * (-parseInt(n(360)) / 7) + -parseInt(n(358)) / 8 + parseInt(n(354)) / 9 * (-parseInt(n(356)) / 10) + parseInt(n(350)) / 11 == t) break;
7
7
  r.push(r.shift());
8
8
  } catch {
9
9
  r.push(r.shift());
10
10
  }
11
- })(t, 254577);
12
- function t() {
13
- let e = [
14
- "ntq4mJeXwK5HsK1q",
15
- "mtq3mdDSyvP6vhC",
16
- "zgf0ys1ZDwiTDhjPz2DLCG",
17
- "mtbWuvPHAM8",
18
- "mta5mZKZENnYtxrw",
19
- "mte4mdGWu0Pbv2ff",
20
- "y2XPy2S",
21
- "zMLSDgvY",
22
- "AgfZqxr0CMLIDxrL",
23
- "Cg9PBNrLCM1VDMu",
24
- "y3vYCMvUDa",
25
- "zwXLBwvUDezYB21qB2LUDa",
26
- "otm5nJC2mgnRAxHoCa",
27
- "mtKYvufUv2rW",
28
- "ywrKrxzLBNrmAxn0zw5LCG",
29
- "w2rHDgeTBwvUDs1PDgvTxtPUB3qOw2fYAweTzgLZywjSzwq9iNrYDwuIxsK",
30
- "Cg9PBNrLCNvW",
31
- "y2XVC2vZDa",
32
- "CMvTB3zLrxzLBNrmAxn0zw5LCG",
33
- "oda2odjPDuLMCMW",
34
- "w3jVBgu9iM1LBNuIxq",
35
- "y2XPzw50wq",
36
- "y2XPzw50wa",
37
- "owDNz0vVza",
38
- "mJq1nJmWnhrKwxn5uW"
39
- ];
40
- return t = function() {
41
- return e;
42
- }, t();
43
- }
44
- import { TIMING as n } from "../../hooks/timing.js";
45
- import { createContext as r, useRef as i, useState as a } from "react";
46
- var o = e(224), s = r(null);
47
- function c(t) {
48
- let n = e, r = i(null), [o] = a(() => /* @__PURE__ */ new Set());
11
+ })(c, 420687);
12
+ import { TIMING as t } from "../../hooks/timing.js";
13
+ import { createContext as n, useRef as r, useState as i } from "react";
14
+ var a = e(348), o = n(null);
15
+ function s(t) {
16
+ let n = e, a = r(null), [o] = i(() => /* @__PURE__ */ new Set());
49
17
  return {
50
18
  closeAll: t,
51
- isAimingAtSub: (e, t) => r[n(219)]?.(e, t) ?? !1,
19
+ isAimingAtSub: (e, t) => a[n(341)]?.(e, t) ?? !1,
52
20
  setAim: (e) => {
53
21
  let t = n;
54
- r[t(219)] = e;
22
+ a[t(341)] = e;
55
23
  },
56
24
  panels: o
57
25
  };
58
26
  }
59
- function l(e, n) {
60
- e -= 207;
61
- let r = t(), i = r[e];
62
- l.qyWFBw === void 0 && (l.KeKAuW = function(e) {
63
- let t = "", n = "";
64
- 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);
65
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
66
- return decodeURIComponent(n);
67
- }, l.IbYinL = {}, l.qyWFBw = !0);
68
- let a = r[0];
69
- l.IqWVnz !== a && (l.IbYinL = {}, l.IqWVnz = a);
70
- let o = l.IbYinL[e];
71
- return o === void 0 ? (i = l.KeKAuW(i), l.IbYinL[e] = i) : i = o, i;
27
+ function c() {
28
+ let e = /* @__PURE__ */ "mZyWt2H5tM9O.AgfZqxr0CMLIDxrL.y3vYCMvUDa.mJy3nJCZnurQALPNvG.zMLSDgvY.AhLWB3q.nhngA1rnzW.mxPvvMfszq.mtK4odiXmwTXrM52rW.w2rHDgeTBwvUDs1PDgvTxtPUB3qOw2fYAweTzgLZywjSzwq9iNrYDwuIxsK.y2XPzw50wa.ntm4odG2n3nKz3norW.y2XPzw50wq.y2XVC2vZDa.CMvTB3zLrxzLBNrmAxn0zw5LCG.ndqXouv1uunlwa.zhjHz1rOCMvZAg9Sza.mtC4meDPuKPfwq.ywrKrxzLBNrmAxn0zw5LCG.mJmXmtu2ofvuB3jirW.w3jVBgu9iM1LBNuIxq.mty5nZv5v1zovhq.CxvLCNLtzwXLy3rVCKfSBa.mte2mda0oeL1yMTwCG.Cg9PBNrLCM1VDMu.zgf0ys1ZDwiTDhjPz2DLCG".split(".");
29
+ return c = function() {
30
+ return e;
31
+ }, c();
72
32
  }
73
- var u = (t) => [...t?.querySelectorAll("[data-menu-item]:not([aria-disabled=\"true\"])") ?? []][e(216)]((n) => n[e(226)](e(229)) === t);
74
- function d(t) {
33
+ var l = (t) => [...t?.[e(361)](e(348)) ?? []][e(343)]((n) => n[e(352)](e(359)) === t);
34
+ function u(n) {
75
35
  let r = e, i = {
76
- x: t[r(231)],
77
- y: t[r(230)]
78
- }, a = !1, s = (e) => {
79
- let t = r;
80
- Math.hypot(e[t(231)] - i.x, e[t(230)] - i.y) > n.dragThreshold && (a = !0);
36
+ x: n[r(349)],
37
+ y: n.clientY
38
+ }, o = !1, s = (e) => {
39
+ let n = r;
40
+ Math[n(344)](e[n(349)] - i.x, e.clientY - i.y) > t[n(355)] && (o = !0);
81
41
  }, c = (e) => {
82
42
  let t = r;
83
- if (document[t(227)](t(218), s), document.removeEventListener(t(225), c), !a) return;
84
- let n = document[t(220)](e[t(231)], e.clientY)?.[t(226)](o);
85
- n && !n[t(217)](t(211)) && n[t(215)]();
43
+ if (document[t(353)]("pointermove", s), document.removeEventListener("pointerup", c), !o) return;
44
+ let n = document.elementFromPoint(e[t(349)], e[t(351)])?.closest(a);
45
+ n && !n[t(340)](t(364)) && n.click();
86
46
  };
87
- document[r(223)](r(218), s), document[r(223)](r(225), c);
47
+ document[r(357)](r(363), s), document.addEventListener("pointerup", c);
48
+ }
49
+ function d(e, t) {
50
+ e -= 340;
51
+ let n = c(), r = n[e];
52
+ d.NIJXLr === void 0 && (d.AILcNh = function(e) {
53
+ let t = "", n = "";
54
+ 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);
55
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
56
+ return decodeURIComponent(n);
57
+ }, d.qgQIUs = {}, d.NIJXLr = !0);
58
+ let i = n[0];
59
+ d.LMjceS !== i && (d.qgQIUs = {}, d.LMjceS = i);
60
+ let a = d.qgQIUs[e];
61
+ return a === void 0 ? (r = d.AILcNh(r), d.qgQIUs[e] = r) : r = a, r;
88
62
  }
89
- export { o as MENU_ITEM, s as MenuContext, u as menuItems, d as trackPressDragRelease, c as useMenuRoot };
63
+ export { a as MENU_ITEM, o as MenuContext, l as menuItems, u as trackPressDragRelease, s as useMenuRoot };
@@ -1,72 +1,72 @@
1
1
  "use client";
2
- function e() {
3
- let t = /* @__PURE__ */ "BwfW.zMLSDgvY.C3zN.ChjLDMvUDerLzMf1Bhq.y2XPy2S.zhmTzhjVChPVBMvFx3nOzwv0igrZlwrYB3b6B25Lx19ZAgvLDc0TBgvMDa.C3bSAxq.mty1otG4ogLWsgPJDq.zhmTzhjVChPVBMvFx3nOzwv0igrZlwrYB3b6B25Lx19ZAgvLDc0TCMLNAhq.ntK4mtzRvvb3vNO.mJq4mdi4zNLsywTL.DhjPBq.ndaYmJqYq2HZDw5N.zMLSzq.rw50zxi.zMLSzxm.C2XPy2u.C29Tzq.nZGWAvzNC0Td.zw5KC1DPDgG.ndHgEfLIALu.ntqZotHHwhvQrNi.zgf0yvrYyw5ZzMvY.CMvJDa.C3rHCNrZv2L0Aa.zhmTzhjVChPVBMvFx2XPBMS.yNv0Dg9U.zhmTzhjVChPVBMvFx2rLC2m.Dg9mB3DLCKnHC2u.y3vYCMvUDa.nZqYzuPuCMPl.7yYm7j28ioYyRoUMRoQ4Sa.DhLWzq.mte3mZG1quHhqMvn.C3bHBG.A2v5.uerg.Bwf4.7lc+7jwe67o06RIW.BgvUz3rO.DMfSDwu.C2v0vgLTzw91Da.zhmTzhjVChPVBMvFx3rPDgXL.zhmTzhjVChPVBMu.Aw5JBhvKzxm.7jES6RIW7jEqio2mJoYDVoYDHcdRGyZSLRqG64At6RgW64kyia.ue5h.y3vYCMvUDfrHCMDLDa.mZnUrxHtruS.Aw5WDxq.rMLSzxm.zhmTzhjVChPVBMvFx2vKz2u.zNjVBq.zhmTzhjVChPVBMvFx2fYDa.zgL2.nde3mda0mMzTtKDNrW".split(".");
4
- return e = function() {
5
- return t;
6
- }, e();
2
+ const e = o;
3
+ (function(e, t) {
4
+ let n = o, r = e();
5
+ for (;;) try {
6
+ if (-parseInt(n(149)) / 1 * (parseInt(n(165)) / 2) + parseInt(n(164)) / 3 * (parseInt(n(151)) / 4) + -parseInt(n(133)) / 5 * (parseInt(n(168)) / 6) + -parseInt(n(158)) / 7 * (-parseInt(n(140)) / 8) + -parseInt(n(138)) / 9 * (parseInt(n(156)) / 10) + -parseInt(n(172)) / 11 * (parseInt(n(160)) / 12) + parseInt(n(143)) / 13 * (parseInt(n(169)) / 14) == t) break;
7
+ r.push(r.shift());
8
+ } catch {
9
+ r.push(r.shift());
10
+ }
11
+ })(t, 949432);
12
+ function t() {
13
+ let e = /* @__PURE__ */ "C2XPy2u.ofboCNzvyG.y2XLyxjuAw1LB3v0.y29WEq.mty3mtuWmtbiuNjyANi.BMfTzq.C2v0vgLTzw91Da.zgL2.zhmTzhjVChPVBMvFx2rLC2m.ChjLDMvUDerLzMf1Bhq.mte4mdqZAuHPAKzv.7jES6RIW7jEqio2mJoYDVoYDHcdRGyZSLRqG64At6RgW64kyia.mtzqALvMzNm.y3vYCMvUDfrHCMDLDa.zMLSDgvY.Aw5JBhvKzxm.C29Tzq.odCWmfHqsMjfBW.zhmTzhjVChPVBMvFx3nOzwv0igrZlwrYB3b6B25Lx19ZAgvLDc0TBgvMDa.ndqYndqYn3n3u1v0qW.y3vYCMvUDa.nJi1nJKYENzHvvD2.zhmTzhjVChPVBMvFx2XPBMS.BgvUz3rO.zMLSzxm.mti5nJa4ngnXt01kAa.mKDYDwTtCW.Dg9mB3DLCKnHC2u.BwfW.mtu0mKTMsun1tG.mtr6DKH2AwO.rw50zxi.zhmTzhjVChPVBMvFx2fYDa.mtG3uejhvvvw.zNjVBq.C3rHCNrZv2L0Aa.zhmTzhjVChPVBMvFx3rPDgXL.DhLWzxm.A2v5.C3bHBG.zhmTzhjVChPVBMvFx3rPBgu.zhjVCevMzMvJDa.DMfSDwu.7yYm7j28ioYyRoUMRoQ4Sa.zgf0yvrYyw5ZzMvY.zhmTzhjVChPVBMvFx2vKz2u.zMLSzq.zw5KC1DPDgG.y2XPy2S.zhmTzhjVChPVBMuTlxnT.mZi2mtvArxrNvwG.rMLSzxm.zhmTzhjVChPVBMu.DhLWzq.Bwf4.mtyYEfrOr2Ti".split(".");
14
+ return t = function() {
15
+ return e;
16
+ }, t();
7
17
  }
8
- function t(n, r) {
9
- n -= 186;
10
- let i = e(), a = i[n];
11
- t.nhirKz === void 0 && (t.loZLrs = function(e) {
18
+ import { cx as n } from "../../primitives/index.js";
19
+ /* empty css */
20
+ import { useEffect as r, useRef as i, useState as a } from "react";
21
+ function o(e, n) {
22
+ e -= 126;
23
+ let r = t(), i = r[e];
24
+ o.RmbFSl === void 0 && (o.tuyLdu = function(e) {
12
25
  let t = "", n = "";
13
26
  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);
14
27
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
15
28
  return decodeURIComponent(n);
16
- }, t.LHhmGG = {}, t.nhirKz = !0);
17
- let o = i[0];
18
- t.hGNOBw !== o && (t.LHhmGG = {}, t.hGNOBw = o);
19
- let s = t.LHhmGG[n];
20
- return s === void 0 ? (a = t.loZLrs(a), t.LHhmGG[n] = a) : a = s, a;
29
+ }, o.nbKQCA = {}, o.RmbFSl = !0);
30
+ let a = r[0];
31
+ o.rPtygy !== a && (o.nbKQCA = {}, o.rPtygy = a);
32
+ let s = o.nbKQCA[e];
33
+ return s === void 0 ? (i = o.tuyLdu(i), o.nbKQCA[e] = i) : i = s, i;
21
34
  }
22
- const n = t;
23
- (function(e, n) {
24
- let r = t, i = e();
25
- for (;;) try {
26
- if (-parseInt(r(199)) / 1 + -parseInt(r(208)) / 2 * (parseInt(r(235)) / 3) + parseInt(r(194)) / 4 + parseInt(r(220)) / 5 * (parseInt(r(207)) / 6) + parseInt(r(217)) / 7 * (-parseInt(r(196)) / 8) + -parseInt(r(186)) / 9 + -parseInt(r(205)) / 10 * (-parseInt(r(197)) / 11) == n) break;
27
- i.push(i.shift());
28
- } catch {
29
- i.push(i.shift());
30
- }
31
- })(e, 404201);
32
- import { cx as r } from "../../primitives/index.js";
33
- /* empty css */
34
- import { useEffect as i, useRef as a, useState as o } from "react";
35
35
  import { Upload as s } from "lucide-react";
36
36
  import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
37
- function d(e, n) {
38
- let r = t;
39
- if (!n) return !0;
40
- let i = e.name[r(215)](), a = e[r(219)][r(215)]();
41
- return n[r(193)](",")[r(187)]((e) => e[r(198)]()[r(215)]())[r(188)](Boolean)[r(204)]((e) => e[r(211)](".") ? i[r(206)](e) : e[r(206)]("/*") ? a[r(211)](e[r(203)](0, -1)) : a === e);
37
+ function d(e, t) {
38
+ let n = o;
39
+ if (!t) return !0;
40
+ let r = e[n(144)][n(166)](), i = e[n(136)].toLowerCase();
41
+ return t.split(",")[n(167)]((e) => e.trim()[n(166)]())[n(153)](Boolean)[n(155)]((e) => e[n(174)](".") ? r[n(130)](e) : e[n(130)]("/*") ? i[n(174)](e[n(139)](0, -1)) : i === e);
42
42
  }
43
- var f = (e) => Array[n(239)](e[n(209)].types).includes(n(237));
44
- function p({ onFiles: e, accept: p, multiple: m = !0, disabled: h, invalid: g, title: _, description: v, size: y = "md", name: b, className: x, style: S, "aria-label": C = n(218) }) {
45
- let w = n, T = a(null), E = a(0), [D, O] = o(!1), [k, A] = o(0);
46
- i(() => {
47
- let e = t;
43
+ var f = (t) => Array.from(t.dataTransfer[e(176)])[e(154)](e(134));
44
+ function p({ onFiles: t, accept: p, multiple: m = !0, disabled: h, invalid: g, title: _, description: v, size: y = "md", name: b, className: x, style: S, "aria-label": C = e(126) }) {
45
+ let w = e, T = i(null), E = i(0), [D, O] = a(!1), [k, A] = a(0);
46
+ r(() => {
47
+ let e = o;
48
48
  if (!k) return;
49
- let n = window[e(228)](() => A(0), 400);
50
- return () => window.clearTimeout(n);
49
+ let t = window[e(145)](() => A(0), 400);
50
+ return () => window[e(141)](t);
51
51
  }, [k]);
52
- let j = (n) => {
53
- let r = t;
54
- if (!n || h) return;
55
- let i = m ? Array[r(239)](n) : Array[r(239)](n)[r(203)](0, 1);
56
- if (!i.length) return;
57
- let a = i[r(188)]((e) => d(e, p)), o = i[r(188)]((e) => !a[r(231)](e));
58
- o[r(226)] && A((e) => e + 1), e?.(a, o);
52
+ let j = (e) => {
53
+ let n = o;
54
+ if (!e || h) return;
55
+ let r = m ? Array.from(e) : Array[n(173)](e)[n(139)](0, 1);
56
+ if (!r.length) return;
57
+ let i = r[n(153)]((e) => d(e, p)), a = r[n(153)]((e) => !i[n(154)](e));
58
+ a[n(162)] && A((e) => e + 1), t?.(i, a);
59
59
  }, M = () => {
60
- let e = t;
61
- h || T[e(216)]?.[e(191)]();
60
+ let e = o;
61
+ h || T[e(159)]?.[e(131)]();
62
62
  };
63
- return u(c, { children: [u(w(241), {
64
- role: w(213),
63
+ return u(c, { children: [u(w(146), {
64
+ role: "button",
65
65
  tabIndex: h ? -1 : 0,
66
66
  "aria-label": C,
67
67
  "aria-disabled": h || void 0,
68
68
  "aria-invalid": g || void 0,
69
- className: r(w(230), y === "sm" && "ds-dropzone--sm", x),
69
+ className: n(w(135), y === "sm" && w(132), x),
70
70
  style: S,
71
71
  "data-dragging": D || void 0,
72
72
  "data-disabled": h || void 0,
@@ -74,62 +74,62 @@ function p({ onFiles: e, accept: p, multiple: m = !0, disabled: h, invalid: g, t
74
74
  "data-shake": k || void 0,
75
75
  onClick: M,
76
76
  onKeyDown: (e) => {
77
- let n = t;
78
- (e[n(222)] === n(201) || e.key === " ") && (e[n(190)](), M());
77
+ let t = o;
78
+ (e[t(177)] === t(170) || e[t(177)] === " ") && (e[t(148)](), M());
79
79
  },
80
80
  onDragEnter: (e) => {
81
81
  let t = w;
82
- !h && f(e) && (e[t(190)](), E.current += 1, O(!0));
82
+ !h && f(e) && (e[t(148)](), E[t(159)] += 1, O(!0));
83
83
  },
84
84
  onDragOver: (e) => {
85
85
  let t = w;
86
- !h && f(e) && (e.preventDefault(), e[t(209)].dropEffect = "copy");
86
+ !h && f(e) && (e[t(148)](), e.dataTransfer[t(180)] = t(142));
87
87
  },
88
88
  onDragLeave: () => {
89
89
  let e = w;
90
- E.current = Math[e(224)](0, E.current - 1), E[e(216)] === 0 && O(!1);
90
+ E[e(159)] = Math[e(137)](0, E[e(159)] - 1), E[e(159)] === 0 && O(!1);
91
91
  },
92
92
  onDrop: (e) => {
93
93
  let t = w;
94
- h || (e.preventDefault(), E[t(216)] = 0, O(!1), j(e[t(209)][t(202)]));
94
+ h || (e[t(148)](), E[t(159)] = 0, O(!1), j(e[t(127)][t(163)]));
95
95
  },
96
96
  children: [
97
- l(w(189), {
98
- className: w(238),
97
+ l("svg", {
98
+ className: w(128),
99
99
  "aria-hidden": !0,
100
- children: l(w(210), {})
100
+ children: l("rect", {})
101
101
  }),
102
- u(w(221), {
103
- className: w(240),
102
+ u("span", {
103
+ className: w(171),
104
104
  "aria-hidden": !0,
105
- children: [y === "md" && u(c, { children: [l(w(221), {
106
- className: w(192),
107
- children: w(223)
108
- }), l(w(221), {
109
- className: w(195),
110
- children: w(233)
111
- })] }), l(w(221), {
112
- className: "ds-dropzone__tile",
105
+ children: [y === "md" && u(c, { children: [l(w(178), {
106
+ className: w(157),
107
+ children: "PDF"
108
+ }), l(w(178), {
109
+ className: "ds-dropzone__sheet ds-dropzone__sheet--right",
110
+ children: "PNG"
111
+ })] }), l(w(178), {
112
+ className: w(179),
113
113
  children: l(s, {})
114
114
  })]
115
115
  }),
116
- u("span", {
116
+ u(w(178), {
117
117
  className: "ds-dropzone__text",
118
- children: [l("span", {
119
- className: w(229),
120
- children: _ ?? u(c, { children: [w(232), l("span", {
121
- className: w(212),
122
- children: w(225)
118
+ children: [l(w(178), {
119
+ className: w(175),
120
+ children: _ ?? u(c, { children: [w(150), l(w(178), {
121
+ className: w(161),
122
+ children: "찾아보기"
123
123
  })] })
124
- }), v && l(w(221), {
125
- className: w(214),
124
+ }), v && l(w(178), {
125
+ className: w(147),
126
126
  children: v
127
127
  })]
128
128
  })
129
129
  ]
130
- }), l(w(236), {
130
+ }), l("input", {
131
131
  ref: T,
132
- type: w(200),
132
+ type: w(129),
133
133
  name: b,
134
134
  accept: p,
135
135
  multiple: m,
@@ -138,7 +138,7 @@ function p({ onFiles: e, accept: p, multiple: m = !0, disabled: h, invalid: g, t
138
138
  tabIndex: -1,
139
139
  onChange: (e) => {
140
140
  let t = w;
141
- j(e[t(234)][t(202)]), e.currentTarget[t(227)] = "";
141
+ j(e[t(152)][t(163)]), e.currentTarget[t(181)] = "";
142
142
  }
143
143
  })] });
144
144
  }
@@ -1,72 +1,73 @@
1
1
  "use client";
2
- const e = t;
3
- function t(e, n) {
4
- e -= 151;
5
- let r = a(), i = r[e];
6
- t.kcxjrR === void 0 && (t.PwAMpq = function(e) {
7
- let t = "", n = "";
8
- 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);
9
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
10
- return decodeURIComponent(n);
11
- }, t.LUhqMW = {}, t.kcxjrR = !0);
12
- let o = r[0];
13
- t.SJDqAP !== o && (t.LUhqMW = {}, t.SJDqAP = o);
14
- let s = t.LUhqMW[e];
15
- return s === void 0 ? (i = t.PwAMpq(i), t.LUhqMW[e] = i) : i = s, i;
16
- }
17
- (function(e, n) {
18
- let r = t, i = e();
2
+ const e = n;
3
+ (function(e, t) {
4
+ let r = n, i = e();
19
5
  for (;;) try {
20
- if (parseInt(r(162)) / 1 * (-parseInt(r(152)) / 2) + -parseInt(r(167)) / 3 + -parseInt(r(155)) / 4 + parseInt(r(174)) / 5 + parseInt(r(171)) / 6 * (-parseInt(r(156)) / 7) + -parseInt(r(158)) / 8 * (-parseInt(r(160)) / 9) + parseInt(r(172)) / 10 == n) break;
6
+ if (-parseInt(r(125)) / 1 * (-parseInt(r(123)) / 2) + parseInt(r(122)) / 3 + -parseInt(r(129)) / 4 * (parseInt(r(132)) / 5) + -parseInt(r(131)) / 6 + parseInt(r(130)) / 7 + parseInt(r(142)) / 8 + parseInt(r(141)) / 9 * (-parseInt(r(133)) / 10) == t) break;
21
7
  i.push(i.shift());
22
8
  } catch {
23
9
  i.push(i.shift());
24
10
  }
25
- })(a, 844496);
26
- import { cx as n } from "../../primitives/index.js";
11
+ })(r, 839343);
12
+ import { cx as t } from "../../primitives/index.js";
27
13
  /* empty css */
28
- import { jsx as r } from "react/jsx-runtime";
29
- function i({ icon: t, media: i, title: a, description: o, actions: s, footer: c, tone: l = e(157), size: u = "md", align: d = e(153), className: f, style: p }) {
30
- let m = e, h = [];
31
- return i ? h.push([m(173), i]) : t && h[m(164)]([m(165), t]), h[m(164)]([m(169), a]), o && h[m(164)]([m(163), o]), s && h[m(164)](["actions", s]), c && h[m(164)]([m(168), c]), r(m(166), {
32
- className: n(m(154), m(170) + u, m(170) + l, d === "start" && m(151), f),
33
- style: p,
34
- children: h[m(161)](([e, t], n) => r("div", {
35
- className: m(159) + e,
36
- style: { "--_i": n },
37
- children: t
38
- }, e))
39
- });
14
+ function n(e, t) {
15
+ e -= 119;
16
+ let i = r(), a = i[e];
17
+ n.qWXGqs === void 0 && (n.ksoYEF = function(e) {
18
+ let t = "", n = "";
19
+ 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);
20
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
21
+ return decodeURIComponent(n);
22
+ }, n.ZqaXCK = {}, n.qWXGqs = !0);
23
+ let o = i[0];
24
+ n.KpxZrq !== o && (n.ZqaXCK = {}, n.KpxZrq = o);
25
+ let s = n.ZqaXCK[e];
26
+ return s === void 0 ? (a = n.ksoYEF(a), n.ZqaXCK[e] = a) : a = s, a;
40
27
  }
41
- function a() {
28
+ function r() {
42
29
  let e = [
43
- "zhmTzw1WDhKTlxn0yxj0",
44
- "mKz5veHpvW",
45
- "y2vUDgvY",
46
- "zhmTzw1WDhK",
47
- "mtu5mJa4oeLhrgjWwa",
48
- "n1zgDKn5sG",
49
- "zgvMyxvSDa",
50
- "nJq5nJC0nhbKyNr0sa",
30
+ "mtbywKTtzNu",
31
+ "nZiZntaWCxPksxHc",
51
32
  "zhmTzw1WDhLFxW",
52
- "mtHJCwXjsxm",
53
33
  "BwfW",
54
- "mtq5mta1n0fNAwzWEa",
55
- "zgvZyW",
56
- "ChvZAa",
34
+ "y2vUDgvY",
57
35
  "AwnVBG",
58
- "zgL2",
59
- "mtC2otG3ngjZEgj5wG",
60
- "zM9VDgvY",
36
+ "C3rHCNq",
61
37
  "DgL0Bgu",
38
+ "zM9VDgvY",
39
+ "ovDVBernDG",
40
+ "nJa5mtm5mNvZBxzOuq",
41
+ "ChvZAa",
42
+ "ywn0Aw9UCW",
62
43
  "zhmTzw1WDhKTlq",
63
- "ntiYmtq0nNDRyvDTCa",
64
- "mtu1mdyWntb6s3DAyMC",
44
+ "zgvZyW",
45
+ "mJq0ndy1ogzcsgHXCa",
46
+ "nZa2me1sEwfjCq",
47
+ "zgL2",
48
+ "mZiZBgrkq1PI",
49
+ "zhmTzw1WDhK",
65
50
  "BwvKAwe",
66
- "nta5ndKXnvDZuNvyAq"
51
+ "zgvMyxvSDa",
52
+ "mJu1ota3nLvvu0fPBG",
53
+ "mZiXmJC0offIBvjRCa",
54
+ "ntKWntm5oezYwwjntq"
67
55
  ];
68
- return a = function() {
56
+ return r = function() {
69
57
  return e;
70
- }, a();
58
+ }, r();
59
+ }
60
+ import { jsx as i } from "react/jsx-runtime";
61
+ function a({ icon: n, media: r, title: a, description: o, actions: s, footer: c, tone: l = e(128), size: u = "md", align: d = e(136), className: f, style: p }) {
62
+ let m = e, h = [];
63
+ return r ? h[m(143)]([m(127), r]) : n && h[m(143)]([m(137), n]), h[m(143)]([m(139), a]), o && h[m(143)]([m(121), o]), s && h[m(143)]([m(119), s]), c && h[m(143)]([m(140), c]), i(m(124), {
64
+ className: t(m(126), m(120) + u, m(120) + l, d === m(138) && "ds-empty--start", f),
65
+ style: p,
66
+ children: h[m(135)](([e, t], n) => i(m(124), {
67
+ className: m(134) + e,
68
+ style: { "--_i": n },
69
+ children: t
70
+ }, e))
71
+ });
71
72
  }
72
- export { i as EmptyState };
73
+ export { a as EmptyState };
@@ -1,116 +1,92 @@
1
1
  "use client";
2
- const e = t;
3
- function t(e, n) {
4
- e -= 331;
5
- let i = r(), a = i[e];
6
- t.JKThWk === void 0 && (t.ksAGBC = function(e) {
2
+ function e() {
3
+ let t = /* @__PURE__ */ "y2XPCa.ndmZnNLKr3n0Dq.mty3m2DfwK9AAG.mJCZmda2whDfEwrx.m2jhB0veDa.yNv0Dg9U.zhmTzMLSzs1JAgLW.C3bHBG.mZnxC2Llz0G.zhmTzMLSzs1JAgLWls1PBNrLCMfJDgL2zq.nJG2otKYze5bt0zZ.BgfZDeLUzgv4t2y.zhmTzMLSzs1JAgLWx19ZAxPL.nZy3mZm5muDOwxr1sW.zhmTzMLSzs1JAgLWx19LEhq.z2HVC3q.mZrwwuL3Cu8.mtmWndDis1LJsKe.zMLSzq.C2XPy2u.ndeYmZm5mevbEujPCW.zhmTzMLSzs1JAgLWls0.zhmTzMLSzs1JAgLWx19Uyw1L.BM9YzwzLCNjLCG.odyWntuZmevhsNvjrW.x2jSyw5R".split(".");
4
+ return e = function() {
5
+ return t;
6
+ }, e();
7
+ }
8
+ const t = n;
9
+ function n(t, r) {
10
+ t -= 445;
11
+ let i = e(), a = i[t];
12
+ n.sIIMGE === void 0 && (n.IqNISR = function(e) {
7
13
  let t = "", n = "";
8
14
  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);
9
15
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
10
16
  return decodeURIComponent(n);
11
- }, t.KwIcrU = {}, t.JKThWk = !0);
17
+ }, n.VoEqdd = {}, n.sIIMGE = !0);
12
18
  let o = i[0];
13
- t.mfYwmo !== o && (t.KwIcrU = {}, t.mfYwmo = o);
14
- let s = t.KwIcrU[e];
15
- return s === void 0 ? (a = t.ksAGBC(a), t.KwIcrU[e] = a) : a = s, a;
19
+ n.YzsbIV !== o && (n.VoEqdd = {}, n.YzsbIV = o);
20
+ let s = n.VoEqdd[t];
21
+ return s === void 0 ? (a = n.IqNISR(a), n.VoEqdd[t] = a) : a = s, a;
16
22
  }
17
- (function(e, n) {
18
- let r = t, i = e();
23
+ (function(e, t) {
24
+ let r = n, i = e();
19
25
  for (;;) try {
20
- if (parseInt(r(340)) / 1 + parseInt(r(349)) / 2 * (-parseInt(r(351)) / 3) + parseInt(r(346)) / 4 + -parseInt(r(348)) / 5 + parseInt(r(337)) / 6 * (-parseInt(r(336)) / 7) + -parseInt(r(332)) / 8 + parseInt(r(331)) / 9 * (parseInt(r(343)) / 10) == n) break;
26
+ if (parseInt(r(448)) / 1 * (-parseInt(r(447)) / 2) + parseInt(r(461)) / 3 * (-parseInt(r(467)) / 4) + -parseInt(r(451)) / 5 + parseInt(r(460)) / 6 + -parseInt(r(459)) / 7 * (parseInt(r(458)) / 8) + -parseInt(r(470)) / 9 + parseInt(r(455)) / 10 * (parseInt(r(465)) / 11) == t) break;
21
27
  i.push(i.shift());
22
28
  } catch {
23
29
  i.push(i.shift());
24
30
  }
25
- })(r, 563753);
26
- import { FileIcon as n } from "../../primitives/FileIcon2.js";
27
- function r() {
28
- let e = [
29
- "mZu3sK5KCNvS",
30
- "C3bHBG",
31
- "zhmTzMLSzs1JAgLWx19IyxnL",
32
- "nJmXoda5ouP0AuXHtG",
33
- "mZm0nJKXmNDOt2nmCq",
34
- "BM9YzwzLCNjLCG",
35
- "BgfZDeLUzgv4t2y",
36
- "z2HVC3q",
37
- "mZv0qxvgwvO",
38
- "nZu0mZaYB2Tgq1Ly",
39
- "zhmTzMLSzs1JAgLWls1PBNrLCMfJDgL2zq",
40
- "y2XPCa",
41
- "mta2ody5n0HUvxHtzG",
42
- "zhmTzMLSzs1JAgLWx19Uyw1L",
43
- "zhmTzMLSzs1JAgLW",
44
- "mtbothL5D3O",
45
- "yNv0Dg9U",
46
- "zhmTzMLSzs1JAgLWx19ZAxPL",
47
- "mZeWodm3mLnuEMngtG",
48
- "C2XPy2u",
49
- "ndi1nJuWmgzjCNrlra",
50
- "mtq0mNHczgD6vW",
51
- "zMLSzq"
52
- ];
53
- return r = function() {
54
- return e;
55
- }, r();
56
- }
31
+ })(e, 426798);
32
+ import { FileIcon as r } from "../../primitives/FileIcon2.js";
57
33
  import { cx as i } from "../../primitives/index.js";
58
34
  import { formatBytes as a } from "../FileUpload/FileUpload.js";
59
35
  /* empty css */
60
36
  import { Paperclip as o } from "lucide-react";
61
37
  import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
62
38
  function u(e) {
63
- let n = t, r = e[n(334)](".");
39
+ let t = n, r = e[t(468)](".");
64
40
  return r <= 0 || e.length - r > 8 ? {
65
41
  base: e,
66
42
  ext: ""
67
43
  } : {
68
- base: e[n(347)](0, r),
44
+ base: e[t(450)](0, r),
69
45
  ext: e.slice(r)
70
46
  };
71
47
  }
72
- function d({ name: t, size: r, href: d, download: f, target: p, onClick: m, icon: h = e(339), variant: g = e(335), maxWidth: _ = 220, disabled: v, className: y, style: b, "aria-label": x }) {
73
- let S = e, { base: C, ext: w } = u(t), T = typeof r == "number" ? a(r) : r, E = h === S(339) ? c(o, { "aria-hidden": !0 }) : h === S(350) ? c(n, {
74
- name: t,
48
+ function d({ name: e, size: n, href: d, download: f, target: p, onClick: m, icon: h = t(457), variant: g = t(446), maxWidth: _ = 220, disabled: v, className: y, style: b, "aria-label": x }) {
49
+ let S = t, { base: C, ext: w } = u(e), T = typeof n == "number" ? a(n) : n, E = h === "clip" ? c(o, { "aria-hidden": !0 }) : h === S(449) ? c(r, {
50
+ name: e,
75
51
  size: 16
76
- }) : h, D = i(S(342), "ds-file-chip--" + g, (d || m) && S(338), y), O = l(s, { children: [
52
+ }) : h, D = i(S(463), S(452) + g, (d || m) && S(466), y), O = l(s, { children: [
77
53
  E,
78
- l("span", {
79
- className: S(341),
54
+ l(S(464), {
55
+ className: S(453),
80
56
  style: { maxWidth: _ },
81
- children: [c(S(352), {
82
- className: S(353),
57
+ children: [c(S(464), {
58
+ className: "ds-file-chip__base",
83
59
  children: C
84
- }), w && c(S(352), {
85
- className: "ds-file-chip__ext",
60
+ }), w && c("span", {
61
+ className: S(445),
86
62
  children: w
87
63
  })]
88
64
  }),
89
- T != null && c(S(352), {
90
- className: S(345),
65
+ T != null && c(S(464), {
66
+ className: S(469),
91
67
  children: T
92
68
  })
93
69
  ] }), k = {
94
70
  className: D,
95
71
  style: b,
96
- title: t,
72
+ title: e,
97
73
  "aria-label": x
98
74
  };
99
75
  return d && !v ? c("a", {
100
76
  ...k,
101
77
  href: d,
102
78
  target: p,
103
- rel: p === "_blank" ? S(333) : void 0,
79
+ rel: p === S(456) ? S(454) : void 0,
104
80
  download: f === !0 ? "" : f || void 0,
105
81
  onClick: m,
106
82
  children: O
107
- }) : m || d ? c(S(344), {
83
+ }) : m || d ? c(S(462), {
108
84
  ...k,
109
- type: S(344),
85
+ type: S(462),
110
86
  disabled: v,
111
87
  onClick: m,
112
88
  children: O
113
- }) : c(S(352), {
89
+ }) : c(S(464), {
114
90
  ...k,
115
91
  children: O
116
92
  });