@iamfiro/design 0.3.1 → 0.3.2

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 (156) hide show
  1. package/agents/avatar/AGENTS.md +29 -1
  2. package/agents/tooltip/AGENTS.md +1 -1
  3. package/lib/components/Accordion/Accordion2.js +81 -81
  4. package/lib/components/ActionBar/ActionBar2.js +38 -39
  5. package/lib/components/Alert/Alert2.js +79 -79
  6. package/lib/components/AppShell/AppShell2.js +45 -45
  7. package/lib/components/AreaChart/AreaChart.js +45 -46
  8. package/lib/components/BarChart/BarChart2.js +166 -166
  9. package/lib/components/BarList/BarList2.js +83 -83
  10. package/lib/components/Breadcrumb/Breadcrumb2.js +68 -72
  11. package/lib/components/Calendar/Calendar2.js +166 -165
  12. package/lib/components/Calendar/DatePicker2.js +139 -139
  13. package/lib/components/Calendar/date.js +61 -58
  14. package/lib/components/Card/Card2.js +47 -47
  15. package/lib/components/CardFrame/CardFrame2.js +50 -45
  16. package/lib/components/Chart/ChartParts.js +78 -78
  17. package/lib/components/Chart/chart2.js +62 -62
  18. package/lib/components/Chart/useChartInteraction.js +56 -56
  19. package/lib/components/ChatBubble/ChatBubble2.js +116 -116
  20. package/lib/components/ChatBubble/formatChatTime.js +46 -39
  21. package/lib/components/ChatComposer/ChatComposer2.js +43 -43
  22. package/lib/components/CodeBlock/CodeBlock2.js +57 -57
  23. package/lib/components/CodeBlock/highlight.js +74 -74
  24. package/lib/components/ColorPicker/ColorPicker2.js +357 -357
  25. package/lib/components/ColorPicker/color.js +83 -83
  26. package/lib/components/ColorPicker/presets.js +47 -41
  27. package/lib/components/Combobox/Combobox2.js +143 -142
  28. package/lib/components/CommandMenu/CommandMenu.js +100 -100
  29. package/lib/components/Comment/Comment2.js +59 -60
  30. package/lib/components/ContextMenu/ContextMenu2.js +95 -96
  31. package/lib/components/DataGrid/DataGrid2.js +1202 -1203
  32. package/lib/components/DataGrid/GridPopover.js +87 -87
  33. package/lib/components/DataGrid/anchor.js +17 -19
  34. package/lib/components/DataGrid/model.js +261 -261
  35. package/lib/components/DataGrid/panels.js +397 -395
  36. package/lib/components/DataGrid/typeMeta.js +51 -51
  37. package/lib/components/DataGrid/types.js +38 -36
  38. package/lib/components/DescriptionList/DescriptionList2.js +74 -74
  39. package/lib/components/Dialog/AlertDialog.js +81 -82
  40. package/lib/components/Dialog/Dialog2.js +63 -63
  41. package/lib/components/Dialog/modal.js +70 -69
  42. package/lib/components/Drawer/Drawer2.js +122 -123
  43. package/lib/components/DropdownMenu/DropdownMenu2.js +257 -258
  44. package/lib/components/DropdownMenu/menuCore.js +43 -44
  45. package/lib/components/Dropzone/Dropzone2.js +76 -77
  46. package/lib/components/EmptyState/EmptyState2.js +59 -56
  47. package/lib/components/FileChip/FileChip2.js +73 -49
  48. package/lib/components/FileUpload/FileUpload.js +149 -150
  49. package/lib/components/FilterChips/FilterChips2.js +59 -59
  50. package/lib/components/FunnelChart/FunnelChart2.js +123 -123
  51. package/lib/components/FunnelChart/funnel.js +44 -47
  52. package/lib/components/Highlight/Highlight2.js +48 -48
  53. package/lib/components/HoverCard/HoverCard.js +89 -64
  54. package/lib/components/InlineDiff/InlineDiff2.js +123 -123
  55. package/lib/components/InlineDiff/diff.js +76 -76
  56. package/lib/components/InlineDiff/useDiffReview.js +69 -68
  57. package/lib/components/Kanban/Kanban2.js +366 -366
  58. package/lib/components/Kanban/KanbanCard.js +67 -67
  59. package/lib/components/Kanban/move.js +41 -45
  60. package/lib/components/LineChart/LineChart2.js +196 -196
  61. package/lib/components/List/List2.js +60 -59
  62. package/lib/components/Listbox/Listbox2.js +94 -94
  63. package/lib/components/Marker/Marker2.js +59 -52
  64. package/lib/components/Menubar/Menubar2.js +110 -112
  65. package/lib/components/MultiSelect/MultiSelect2.js +112 -112
  66. package/lib/components/NavigationMenu/NavigationMenu2.js +239 -240
  67. package/lib/components/NoticeStack/NoticeStack2.js +99 -99
  68. package/lib/components/NumberStepper/NumberStepper2.js +66 -65
  69. package/lib/components/OtpInput/OtpInput2.js +87 -88
  70. package/lib/components/Pagination/Pagination2.js +81 -81
  71. package/lib/components/Pagination/paginationRange.js +25 -24
  72. package/lib/components/PhoneInput/PhoneInput.js +77 -77
  73. package/lib/components/PieChart/PieChart2.js +101 -101
  74. package/lib/components/PieChart/arc.js +73 -76
  75. package/lib/components/PieChart/useArcTween.js +61 -57
  76. package/lib/components/Popover/Popover2.js +65 -64
  77. package/lib/components/ProgressTracker/ProgressTracker2.js +119 -119
  78. package/lib/components/Rating/Rating2.js +85 -85
  79. package/lib/components/Resizable/Resizable2.js +139 -139
  80. package/lib/components/Resizable/layout.js +68 -68
  81. package/lib/components/ScaledPreview/ScaledPreview2.js +55 -55
  82. package/lib/components/ScatterChart/ScatterChart2.js +249 -249
  83. package/lib/components/ScatterChart/scatter.js +55 -55
  84. package/lib/components/ScrollArea/ScrollArea2.js +132 -131
  85. package/lib/components/Select/Select2.js +81 -81
  86. package/lib/components/Sidebar/Sidebar2.js +61 -61
  87. package/lib/components/Skeleton/Skeleton2.js +46 -46
  88. package/lib/components/Slider/Slider2.js +74 -73
  89. package/lib/components/SocialLoginButton/SocialLoginButton.js +70 -70
  90. package/lib/components/SparkChart/SparkChart2.js +138 -137
  91. package/lib/components/SparkChart/spark.js +40 -61
  92. package/lib/components/Sparkbar/Sparkbar2.js +60 -59
  93. package/lib/components/SplitView/SplitView2.js +42 -42
  94. package/lib/components/Stat/Stat2.js +88 -88
  95. package/lib/components/StepList/StepList2.js +71 -71
  96. package/lib/components/Table/Table2.js +70 -70
  97. package/lib/components/Tabs/Tabs2.js +89 -89
  98. package/lib/components/TagInput/TagInput2.js +154 -154
  99. package/lib/components/TimePicker/TimePicker2.js +225 -226
  100. package/lib/components/TimePicker/time.js +50 -50
  101. package/lib/components/Timeline/Timeline2.js +201 -201
  102. package/lib/components/Timeline/scale.js +55 -53
  103. package/lib/components/Toast/Toaster.js +90 -92
  104. package/lib/components/Toast/store.js +91 -87
  105. package/lib/components/ToggleGroup/ToggleGroup2.js +84 -84
  106. package/lib/components/Toolbar/Toolbar2.js +166 -168
  107. package/lib/components/Tracker/Tracker2.js +89 -89
  108. package/lib/components/TreeDiagram/TreeDiagram2.js +126 -125
  109. package/lib/components/TreeView/TreeView2.js +154 -156
  110. package/lib/hooks/timing.js +35 -36
  111. package/lib/hooks/useControllableState.js +40 -39
  112. package/lib/hooks/useCountdown.js +57 -55
  113. package/lib/hooks/useDigitInput.js +59 -83
  114. package/lib/hooks/useDismiss.js +49 -46
  115. package/lib/hooks/useElapsed.js +53 -55
  116. package/lib/hooks/useFloating.js +44 -44
  117. package/lib/hooks/useFocusTrap.js +46 -70
  118. package/lib/hooks/usePresence.js +32 -29
  119. package/lib/hooks/usePressToOpen.js +50 -50
  120. package/lib/hooks/useScrollLock.js +51 -51
  121. package/lib/hooks/useSelection.js +55 -46
  122. package/lib/index.js +34 -35
  123. package/lib/primitives/AspectRatio2.js +59 -55
  124. package/lib/primitives/BrandIcon.js +160 -160
  125. package/lib/primitives/ColorDot2.js +38 -42
  126. package/lib/primitives/CopyButton2.js +56 -56
  127. package/lib/primitives/CountBadge2.js +66 -64
  128. package/lib/primitives/Countdown2.js +31 -32
  129. package/lib/primitives/Delta2.js +46 -71
  130. package/lib/primitives/Elapsed.js +44 -44
  131. package/lib/primitives/FileIcon2.js +82 -82
  132. package/lib/primitives/Flag2.js +134 -134
  133. package/lib/primitives/IconStack2.js +31 -53
  134. package/lib/primitives/IconTile2.js +46 -48
  135. package/lib/primitives/Kbd2.js +57 -57
  136. package/lib/primitives/Layout2.js +78 -78
  137. package/lib/primitives/Link2.js +29 -30
  138. package/lib/primitives/MaskedText2.js +47 -73
  139. package/lib/primitives/Progress2.js +77 -78
  140. package/lib/primitives/RelativeTime.js +49 -46
  141. package/lib/primitives/SearchInput2.js +58 -59
  142. package/lib/primitives/SelectorButton2.js +76 -74
  143. package/lib/primitives/Spinner2.js +62 -58
  144. package/lib/primitives/StatusIcon2.js +56 -56
  145. package/lib/primitives/Swatch2.js +69 -65
  146. package/lib/primitives/Tooltip2.js +92 -92
  147. package/lib/primitives/Typography2.js +68 -68
  148. package/lib/primitives/formatCountdown.js +39 -43
  149. package/lib/primitives/formatElapsed.js +43 -39
  150. package/lib/primitives/formatRelativeTime.js +50 -50
  151. package/lib/primitives/hotkey.js +76 -76
  152. package/lib/primitives/index.js +201 -181
  153. package/lib/primitives/maskValue.js +35 -39
  154. package/lib/style.css +1 -1
  155. package/lib/types/primitives/index.d.ts +6 -2
  156. package/package.json +1 -1
@@ -2,41 +2,61 @@
2
2
  (function(e, t) {
3
3
  let n = i, r = e();
4
4
  for (;;) try {
5
- if (-parseInt(n(297)) / 1 * (-parseInt(n(318)) / 2) + -parseInt(n(317)) / 3 + -parseInt(n(306)) / 4 * (-parseInt(n(315)) / 5) + parseInt(n(308)) / 6 * (parseInt(n(295)) / 7) + parseInt(n(307)) / 8 * (-parseInt(n(303)) / 9) + -parseInt(n(304)) / 10 + parseInt(n(314)) / 11 == t) break;
5
+ if (parseInt(n(516)) / 1 + parseInt(n(517)) / 2 + -parseInt(n(498)) / 3 * (parseInt(n(506)) / 4) + -parseInt(n(508)) / 5 * (parseInt(n(519)) / 6) + -parseInt(n(502)) / 7 + parseInt(n(515)) / 8 * (parseInt(n(523)) / 9) + parseInt(n(522)) / 10 * (parseInt(n(499)) / 11) == t) break;
6
6
  r.push(r.shift());
7
7
  } catch {
8
8
  r.push(r.shift());
9
9
  }
10
- })(a, 354952);
11
- import { useLayoutEffect as e, useState as t } from "react";
12
- var n = 8;
13
- function r(r, a, o = {}) {
14
- let s = i, { offset: c = 6, matchWidth: l = !0, maxHeight: u = 300, align: d = s(313), panelRef: f } = o, [p, m] = t({
15
- position: "fixed",
16
- visibility: s(291)
17
- }), [h, g] = t("bottom");
18
- return e(() => {
19
- let e = s;
10
+ })(e, 976411);
11
+ function e() {
12
+ let t = /* @__PURE__ */ "mJqZntm4mgXKvhPMCa.B2zMC2v0v2LKDgG.mtjwExnfyM8.zML4zwq.BgvMDa.mJi4odK5meLOCeDXtG.mtm5otqXzNjLqKvu.ywrKrxzLBNrmAxn0zw5LCG.CMLNAhq.C3rHCNq.ndCZndLHqMDmsui.nZDQvLP3r2q.Dg9W.D2LKDgG.ote1nZu2muvWue1TCa.CMvZAxPL.AgLKzgvU.z2v0qM91BMrPBMDdBgLLBNrszwn0.mJi0B3nHwNHz.Aw5UzxjizwLNAhq.mJu2nteWnwfHver2sq.Bwf4.yM90Dg9T.zw5K.BwLU.Aw5UzxjxAwr0Aa.y2vUDgvY.nZjPDhPSBwy.mtiZndyWmeTxuNrAva".split(".");
13
+ return e = function() {
14
+ return t;
15
+ }, e();
16
+ }
17
+ import { useLayoutEffect as t, useState as n } from "react";
18
+ var r = 8;
19
+ function i(t, n) {
20
+ t -= 497;
21
+ let r = e(), a = r[t];
22
+ i.SkDMRd === void 0 && (i.NCYYDb = function(e) {
23
+ let t = "", n = "";
24
+ 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);
25
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
26
+ return decodeURIComponent(n);
27
+ }, i.LJYYHR = {}, i.SkDMRd = !0);
28
+ let o = r[0];
29
+ i.DZHXUr !== o && (i.LJYYHR = {}, i.DZHXUr = o);
30
+ let s = i.LJYYHR[t];
31
+ return s === void 0 ? (a = i.NCYYDb(a), i.LJYYHR[t] = a) : a = s, a;
32
+ }
33
+ function a(e, a, o = {}) {
34
+ let s = i, { offset: c = 6, matchWidth: l = !0, maxHeight: u = 300, align: d = s(497), panelRef: f } = o, [p, m] = n({
35
+ position: s(520),
36
+ visibility: s(504)
37
+ }), [h, g] = n(s(510));
38
+ return t(() => {
39
+ let t = s;
20
40
  if (!a) return;
21
- let t = () => {
22
- let e = i, t = r[e(309)];
23
- if (!t) return;
24
- let a = t.getBoundingClientRect(), o = window[e(294)] - a[e(298)] - c - n, s = a[e(312)] - c - n, p = o < Math[e(301)](u, 180) && s > o, h = l ? a[e(310)] : void 0, _ = h ?? f?.[e(309)]?.[e(302)] ?? 0, v = d === e(289) ? a[e(319)] - _ : d === e(290) ? a.left + (a[e(310)] - _) / 2 : a[e(296)], y = Math[e(300)](n, Math[e(301)](v, window[e(293)] - _ - n));
25
- g(e(p ? 312 : 298)), m({
26
- position: e(311),
41
+ let n = () => {
42
+ let t = i, n = e.current;
43
+ if (!n) return;
44
+ let a = n[t(505)](), o = window[t(507)] - a[t(510)] - c - r, s = a[t(500)] - c - r, p = o < Math.min(u, 180) && s > o, h = l ? a.width : void 0, _ = h ?? f?.current?.[t(518)] ?? 0, v = d === t(511) ? a[t(525)] - _ : d === t(514) ? a[t(521)] + (a[t(501)] - _) / 2 : a.left, y = Math[t(509)](r, Math[t(512)](v, window[t(513)] - _ - r));
45
+ g(p ? t(500) : "bottom"), m({
46
+ position: t(520),
27
47
  left: y,
28
48
  width: h,
29
- maxHeight: Math[e(300)](120, Math[e(301)](u, p ? s : o)),
30
- ...p ? { bottom: window.innerHeight - a[e(312)] + c } : { top: a.bottom + c }
49
+ maxHeight: Math[t(509)](120, Math.min(u, p ? s : o)),
50
+ ...p ? { bottom: window[t(507)] - a[t(500)] + c } : { top: a[t(510)] + c }
31
51
  });
32
52
  };
33
- return t(), window[e(305)](e(292), t), window.addEventListener(e(299), t, !0), () => {
34
- let n = e;
35
- window[n(316)]("resize", t), window[n(316)](n(299), t, !0);
53
+ return n(), window[t(524)](t(503), n), window.addEventListener("scroll", n, !0), () => {
54
+ let e = t;
55
+ window.removeEventListener(e(503), n), window.removeEventListener("scroll", n, !0);
36
56
  };
37
57
  }, [
38
58
  a,
39
- r,
59
+ e,
40
60
  c,
41
61
  l,
42
62
  u,
@@ -47,24 +67,4 @@ function r(r, a, o = {}) {
47
67
  side: h
48
68
  };
49
69
  }
50
- function i(e, t) {
51
- e -= 289;
52
- let n = a(), r = n[e];
53
- i.ApGFCH === void 0 && (i.qdKTkU = function(e) {
54
- let t = "", n = "";
55
- 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);
56
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
57
- return decodeURIComponent(n);
58
- }, i.RyxQeb = {}, i.ApGFCH = !0);
59
- let o = n[0];
60
- i.VHUPao !== o && (i.RyxQeb = {}, i.VHUPao = o);
61
- let s = i.RyxQeb[e];
62
- return s === void 0 ? (r = i.qdKTkU(r), i.RyxQeb[e] = r) : r = s, r;
63
- }
64
- export { r as useFloating };
65
- function a() {
66
- let e = /* @__PURE__ */ "mtKXmtD6yM1AyKS.BgvMDa.mwPVDeDYuq.yM90Dg9T.C2nYB2XS.Bwf4.BwLU.B2zMC2v0v2LKDgG.oxbPqxfsqW.nZaYmdCWmezxrNztyG.ywrKrxzLBNrmAxn0zw5LCG.mtKZmZuYy0zzA1P5.ntiWntaXnLzOC3fdwa.nZG2q2HZrurL.y3vYCMvUDa.D2LKDgG.zML4zwq.Dg9W.C3rHCNq.nJa2ndi1nMHgywzLza.mJv3zfzqvMK.CMvTB3zLrxzLBNrmAxn0zw5LCG.mZqYnJe4BMThuKjz.mtm0mJiXnKPYALzlzq.CMLNAhq.zw5K.y2vUDgvY.AgLKzgvU.CMvZAxPL.Aw5UzxjxAwr0Aa.Aw5UzxjizwLNAhq".split(".");
67
- return a = function() {
68
- return e;
69
- }, a();
70
- }
70
+ export { a as useFloating };
@@ -1,85 +1,61 @@
1
1
  "use client";
2
- const e = a;
3
- function t() {
4
- let e = [
5
- "mJyWnta4zunRDxbh",
6
- "BgvUz3rO",
7
- "ChjLDMvUDerLzMf1Bhq",
8
- "mtC2nZaWrgTLv29P",
9
- "A2v5",
10
- "mZy4mZD2AfnVz2K",
11
- "A2v5zg93BG",
12
- "ofPVugPvDW",
13
- "CMvTB3zLrxzLBNrmAxn0zw5LCG",
14
- "w2LUzxj0xq",
15
- "C2HPzNrlzxK",
16
- "nZiXndvnu3PHvuC",
17
- "vgfI",
18
- "mZi5ndaXmwTyquHSCG",
19
- "mtu5nZCXnMfJEenbyq",
20
- "zMLSDgvY",
21
- "nJyYnZe1C0DvDwXk",
22
- "y3vYCMvUDa",
23
- "y2XVC2vZDa",
24
- "ywn0AxzLrwXLBwvUDa",
25
- "ota0q0L5zwf2",
26
- "zM9JDxm",
27
- "CxvLCNLtzwXLy3rVCKfSBa"
28
- ];
29
- return t = function() {
30
- return e;
31
- }, t();
32
- }
33
- (function(e, t) {
34
- let n = a, r = e();
35
- for (;;) try {
36
- if (-parseInt(n(473)) / 1 * (parseInt(n(469)) / 2) + parseInt(n(478)) / 3 + parseInt(n(476)) / 4 + -parseInt(n(465)) / 5 + parseInt(n(462)) / 6 + -parseInt(n(475)) / 7 + -parseInt(n(459)) / 8 * (-parseInt(n(467)) / 9) == t) break;
37
- r.push(r.shift());
38
- } catch {
39
- r.push(r.shift());
40
- }
41
- })(t, 331768);
42
- import { useEffect as n } from "react";
43
- var r = "a[href], button:not([disabled]), input:not([disabled]):not([type=\"hidden\"]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"]), [contenteditable=\"true\"]", i = (t) => [...t[e(461)](r)][e(477)]((t) => !t[e(480)](e(471)) && t.offsetParent !== null);
44
- function a(e, n) {
45
- e -= 459;
46
- let r = t(), i = r[e];
47
- a.sUyvjB === void 0 && (a.quDdFg = function(e) {
2
+ function e(t, r) {
3
+ t -= 493;
4
+ let i = n(), a = i[t];
5
+ e.gakzRI === void 0 && (e.qIZLir = function(e) {
48
6
  let t = "", n = "";
49
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);
50
8
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
51
9
  return decodeURIComponent(n);
52
- }, a.MTMpnR = {}, a.sUyvjB = !0);
53
- let o = r[0];
54
- a.AcprJb !== o && (a.MTMpnR = {}, a.AcprJb = o);
55
- let s = a.MTMpnR[e];
56
- return s === void 0 ? (i = a.quDdFg(i), a.MTMpnR[e] = i) : i = s, i;
10
+ }, e.SoJiaV = {}, e.gakzRI = !0);
11
+ let o = i[0];
12
+ e.sFAlfi !== o && (e.SoJiaV = {}, e.sFAlfi = o);
13
+ let s = e.SoJiaV[t];
14
+ return s === void 0 ? (a = e.qIZLir(a), e.SoJiaV[t] = a) : a = s, a;
57
15
  }
58
- function o(e, t, r) {
59
- n(() => {
60
- let n = a, o = e[n(479)];
61
- if (!t || !o) return;
62
- let s = document[n(481)];
63
- (r?.[n(479)] ?? i(o)[0] ?? o).focus({ preventScroll: !0 });
16
+ const t = e;
17
+ function n() {
18
+ let e = /* @__PURE__ */ "CMvTB3zLrxzLBNrmAxn0zw5LCG.mZe0mdyZnJbzsNf1Chy.yM9KEq.y29UDgfPBNm.y2XVC2vZDa.CxvLCNLtzwXLy3rVCKfSBa.ywn0AxzLrwXLBwvUDa.mta3otG1ndrLy1jwru8.C2HPzNrlzxK.zMLSDgvY.mte0C0rVC05L.ChjLDMvUDerLzMf1Bhq.yvTOCMvMxsWGyNv0Dg9UoM5VDcHBzgLZywjSzwrDksWGAw5WDxq6BM90kfTKAxnHyMXLzf0PoM5VDcHBDhLWzt0IAgLKzgvUiL0PlcbZzwXLy3q6BM90kfTKAxnHyMXLzf0Plcb0zxH0yxjLytPUB3qOw2rPC2fIBgvKxsKSifT0ywjPBMrLEf06BM90kfT0ywjPBMrLEd0IlteIxsKSifTJB250zw50zwrPDgfIBgu9iNrYDwuIxq.vgfI.w2LUzxj0xq.mtfztfn0qwi.mZq1muPuD0PWrW.zM9JDxm.mZG2nMTAtMjNAa.ywrKrxzLBNrmAxn0zw5LCG.mtm2ntaYn2HIEM1PtG.nJa5zfb6tNDI.mZi2nJq0shHIyM9N.ntvSyMLxCLO.oty5mdG4nuLICurLsG.BgvUz3rO.y3vYCMvUDa.A2v5zg93BG.A2v5".split(".");
19
+ return n = function() {
20
+ return e;
21
+ }, n();
22
+ }
23
+ (function(t, n) {
24
+ let r = e, i = t();
25
+ for (;;) try {
26
+ if (parseInt(r(503)) / 1 * (-parseInt(r(500)) / 2) + -parseInt(r(502)) / 3 + parseInt(r(504)) / 4 * (-parseInt(r(505)) / 5) + -parseInt(r(521)) / 6 * (parseInt(r(498)) / 7) + parseInt(r(518)) / 8 + -parseInt(r(506)) / 9 + -parseInt(r(512)) / 10 * (-parseInt(r(497)) / 11) == n) break;
27
+ i.push(i.shift());
28
+ } catch {
29
+ i.push(i.shift());
30
+ }
31
+ })(n, 873845);
32
+ import { useEffect as r } from "react";
33
+ var i = t(494), a = (e) => [...e[t(516)](i)][t(520)]((e) => !e[t(515)](t(496)) && e.offsetParent !== null);
34
+ function o(t, n, i) {
35
+ r(() => {
36
+ let r = e, o = t[r(508)];
37
+ if (!n || !o) return;
38
+ let s = document[r(517)];
39
+ (i?.[r(508)] ?? a(o)[0] ?? o)[r(499)]({ preventScroll: !0 });
64
40
  let c = (e) => {
65
- let t = n;
66
- if (e[t(466)] !== t(474)) return;
67
- let r = i(o);
68
- if (!r[t(463)]) {
69
- e[t(464)]();
41
+ let t = r;
42
+ if (e[t(510)] !== t(495)) return;
43
+ let n = a(o);
44
+ if (!n.length) {
45
+ e[t(493)]();
70
46
  return;
71
47
  }
72
- let a = r[0], s = r[r[t(463)] - 1];
73
- e.shiftKey && (document.activeElement === a || !o.contains(document.activeElement)) ? (e[t(464)](), s[t(460)]()) : !e[t(472)] && document[t(481)] === s && (e.preventDefault(), a[t(460)]());
48
+ let i = n[0], s = n[n[t(507)] - 1];
49
+ e[t(519)] && (document.activeElement === i || !o[t(514)](document[t(517)])) ? (e[t(493)](), s.focus()) : !e[t(519)] && document[t(517)] === s && (e[t(493)](), i[t(499)]());
74
50
  };
75
- return document.addEventListener(n(468), c), () => {
76
- let e = n;
77
- document[e(470)]("keydown", c), s && (document[e(481)] === document.body || o.contains(document[e(481)])) && s[e(460)]({ preventScroll: !0 });
51
+ return document[r(501)](r(509), c), () => {
52
+ let e = r;
53
+ document[e(511)](e(509), c), s && (document[e(517)] === document[e(513)] || o[e(514)](document.activeElement)) && s[e(499)]({ preventScroll: !0 });
78
54
  };
79
55
  }, [
56
+ n,
80
57
  t,
81
- e,
82
- r
58
+ i
83
59
  ]);
84
60
  }
85
- export { i as focusableIn, o as useFocusTrap };
61
+ export { a as focusableIn, o as useFocusTrap };
@@ -2,57 +2,60 @@
2
2
  (function(e, t) {
3
3
  let n = r, i = e();
4
4
  for (;;) try {
5
- if (-parseInt(n(198)) / 1 + -parseInt(n(199)) / 2 + -parseInt(n(206)) / 3 * (parseInt(n(203)) / 4) + parseInt(n(202)) / 5 + -parseInt(n(197)) / 6 * (parseInt(n(201)) / 7) + parseInt(n(205)) / 8 * (-parseInt(n(204)) / 9) + parseInt(n(200)) / 10 == t) break;
5
+ if (parseInt(n(297)) / 1 + parseInt(n(299)) / 2 * (parseInt(n(298)) / 3) + -parseInt(n(300)) / 4 + parseInt(n(296)) / 5 * (parseInt(n(292)) / 6) + -parseInt(n(290)) / 7 * (parseInt(n(294)) / 8) + -parseInt(n(295)) / 9 + parseInt(n(293)) / 10 == t) break;
6
6
  i.push(i.shift());
7
7
  } catch {
8
8
  i.push(i.shift());
9
9
  }
10
- })(i, 294829);
10
+ })(i, 521282);
11
11
  import { useEffect as e, useState as t } from "react";
12
- function n(n, r = 160) {
13
- let [i, a] = t(n);
14
- return n && !i && a(!0), e(() => {
15
- if (n || !i) return;
16
- let e = window.setTimeout(() => a(!1), r);
17
- return () => window.clearTimeout(e);
12
+ function n(n, i = 160) {
13
+ let [a, o] = t(n);
14
+ return n && !a && o(!0), e(() => {
15
+ let e = r;
16
+ if (n || !a) return;
17
+ let t = window[e(301)](() => o(!1), i);
18
+ return () => window[e(291)](t);
18
19
  }, [
19
20
  n,
20
- i,
21
- r
21
+ a,
22
+ i
22
23
  ]), {
23
- mounted: n || i,
24
- closing: !n && i
24
+ mounted: n || a,
25
+ closing: !n && a
25
26
  };
26
27
  }
27
28
  function r(e, t) {
28
- e -= 197;
29
+ e -= 290;
29
30
  let n = i(), a = n[e];
30
- r.rGhIyr === void 0 && (r.OdXmBP = function(e) {
31
+ r.pYxgJl === void 0 && (r.lavRgu = function(e) {
31
32
  let t = "", n = "";
32
33
  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);
33
34
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
34
35
  return decodeURIComponent(n);
35
- }, r.IugABf = {}, r.rGhIyr = !0);
36
+ }, r.nghTAE = {}, r.pYxgJl = !0);
36
37
  let o = n[0];
37
- r.DHThdv !== o && (r.IugABf = {}, r.DHThdv = o);
38
- let s = r.IugABf[e];
39
- return s === void 0 ? (a = r.OdXmBP(a), r.IugABf[e] = a) : a = s, a;
38
+ r.HSNBvo !== o && (r.nghTAE = {}, r.HSNBvo = o);
39
+ let s = r.nghTAE[e];
40
+ return s === void 0 ? (a = r.lavRgu(a), r.nghTAE[e] = a) : a = s, a;
40
41
  }
41
- export { n as usePresence };
42
42
  function i() {
43
43
  let e = [
44
- "nZa4sgPAAezo",
45
- "ntm2nZjQCeD0EK0",
46
- "mte3mdG4BM5bBKPN",
47
- "mta4mJCWmZbPEg9hCw4",
48
- "mtG5nJnwuMTArxa",
49
- "mtqWmdyZnxvtq3frtW",
50
- "mZm3mtjSwvjpwgC",
51
- "ndCZotaZmuXtv0Hrra",
52
- "ohHYAezuDa",
53
- "mZLNrhDICvq"
44
+ "mtGZmZe1zuvPqLjL",
45
+ "mJjHsvnKqNG",
46
+ "mZu2mJi0og5MqMXsqW",
47
+ "C2v0vgLTzw91Da",
48
+ "mtmWnta5nevzthrcDa",
49
+ "y2XLyxjuAw1LB3v0",
50
+ "mtC0uujJBLbN",
51
+ "mteWmdi2mdbQseLPENa",
52
+ "mJriqvz6yve",
53
+ "mty0mtiYmNjfANnxBq",
54
+ "mtm3meDhse9IvW",
55
+ "mZCZmty3ChLfwMzX"
54
56
  ];
55
57
  return i = function() {
56
58
  return e;
57
59
  }, i();
58
60
  }
61
+ export { n as usePresence };
@@ -1,70 +1,70 @@
1
1
  "use client";
2
- (function(e, t) {
3
- let n = a, r = e();
2
+ function e(t, n) {
3
+ t -= 178;
4
+ let r = i(), a = r[t];
5
+ e.XSObhT === void 0 && (e.kNLdBC = 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.apnouV = {}, e.XSObhT = !0);
11
+ let o = r[0];
12
+ e.iTvNKK !== o && (e.apnouV = {}, e.iTvNKK = o);
13
+ let s = e.apnouV[t];
14
+ return s === void 0 ? (a = e.kNLdBC(a), e.apnouV[t] = a) : a = s, a;
15
+ }
16
+ (function(t, n) {
17
+ let r = e, i = t();
4
18
  for (;;) try {
5
- if (-parseInt(n(404)) / 1 + -parseInt(n(402)) / 2 + -parseInt(n(394)) / 3 + parseInt(n(403)) / 4 + -parseInt(n(390)) / 5 * (-parseInt(n(405)) / 6) + -parseInt(n(392)) / 7 + parseInt(n(387)) / 8 == t) break;
6
- r.push(r.shift());
19
+ if (-parseInt(r(199)) / 1 * (parseInt(r(189)) / 2) + -parseInt(r(201)) / 3 + -parseInt(r(200)) / 4 * (parseInt(r(183)) / 5) + -parseInt(r(210)) / 6 * (-parseInt(r(206)) / 7) + -parseInt(r(181)) / 8 + -parseInt(r(186)) / 9 * (-parseInt(r(205)) / 10) + parseInt(r(188)) / 11 == n) break;
20
+ i.push(i.shift());
7
21
  } catch {
8
- r.push(r.shift());
22
+ i.push(i.shift());
9
23
  }
10
- })(r, 145077);
11
- import { TIMING as e } from "./timing.js";
12
- import { useEffect as t, useRef as n } from "react";
13
- function r() {
14
- let e = /* @__PURE__ */ "y2XPzw50wq.zhjHz1rOCMvZAg9Sza.Cg9PBNrLCM1VDMu.z2v0qxr0CMLIDxrL.AhLWB3q.y3vYCMvUDa.Aw5KzxG.zgv0ywLS.y2XPzw50wa.Cg9PBNrLCLr5Cgu.Bw91C2u.y29UDgfPBNm.ywrKrxzLBNrmAxn0zw5LCG.mZK0mdu3nNzWs2nqCW.DhLWzq.CMvTB3zLrxzLBNrmAxn0zw5LCG.ode0ote1u3HzzLDO.y2XVC2vZDa.mtiXnJy2m0PvALH1DG.Cg9PBNrLCNvW.ntiZndC5C1PnBNPr.zwXLBwvUDezYB21qB2LUDa.Dhj1zq.B25szwXLyxnL.w3jVBgu9iM9WDgLVBIjDw2rHDgeTAw5KzxHD.yNv0Dg9U.Cg9PBNrLCMnHBMnLBa.yxjPys1KAxnHyMXLza.nteWmdy4uLn5Chvy.odK0mZGWq2XOvfHm.mtmWnZm3wfbet1fh.nM5JweHcvq".split(".");
15
- return r = function() {
24
+ })(i, 564513);
25
+ import { TIMING as t } from "./timing.js";
26
+ import { useEffect as n, useRef as r } from "react";
27
+ function i() {
28
+ let e = /* @__PURE__ */ "mJK3mZzNC1Plshq.y2XPzw50wa.yNv0Dg9U.y2XVC2vZDa.mtbfsLftzve.mti3oteXEMH3Bwf3.zhjHz1rOCMvZAg9Sza.Bw91C2u.ywrKrxzLBNrmAxn0zw5LCG.nMfUqvzbBG.B25szwXLyxnL.Cg9PBNrLCM1VDMu.Cg9PBNrLCMnHBMnLBa.zwXLBwvUDezYB21qB2LUDa.ndu4nZi0mhrIq2HuqW.y2XPzw50wq.ndK4nZK0nwDqC3zQDq.Aw5KzxG.z2v0qxr0CMLIDxrL.ndy4mJe0mKzgqvzWCa.DhLWzq.mJu2mZG2mJrLBKr0qvG.mJe0ogPwv3vyvq.yxjPys1KAxnHyMXLza.Cg9PBNrLCLr5Cgu.CgfUzwXszwy.y3vYCMvUDa.AhLWB3q.Dhj1zq.zgf0yxnLDa.Cg9PBNrLCNvW.CMvTB3zLrxzLBNrmAxn0zw5LCG.nJC0AxLWyvrV.ne1stw1Wqq".split(".");
29
+ return i = function() {
16
30
  return e;
17
- }, r();
31
+ }, i();
18
32
  }
19
- function i({ open: r, onOpen: i, onClose: o, panelRef: s, onRelease: c, disabled: l }) {
20
- let u = n(""), d = n({
33
+ function a({ open: i, onOpen: a, onClose: o, panelRef: s, onRelease: c, disabled: l }) {
34
+ let u = r(""), d = r({
21
35
  panelRef: s,
22
36
  onRelease: c
23
37
  });
24
- return t(() => {
25
- let e = a;
26
- d[e(411)] = {
38
+ return n(() => {
39
+ let t = e;
40
+ d[t(193)] = {
27
41
  panelRef: s,
28
42
  onRelease: c
29
43
  };
30
44
  }), {
31
- onPointerDown: (t) => {
32
- let n = a;
33
- if (u[n(411)] = t[n(383)], l || t[n(383)] !== n(384) || t[n(399)] !== 0) return;
34
- if (r) return o();
35
- i();
45
+ onPointerDown: (n) => {
46
+ let r = e;
47
+ if (u[r(193)] = n[r(191)], l || n[r(191)] !== r(208) || n[r(203)] !== 0) return;
48
+ if (i) return o();
49
+ a();
36
50
  let s = {
37
- x: t[n(382)],
38
- y: t[n(406)]
39
- }, c = !1, f = (t) => {
40
- let r = n;
41
- Math[r(410)](t[r(382)] - s.x, t[r(406)] - s.y) > e[r(407)] && (c = !0);
51
+ x: n[r(202)],
52
+ y: n.clientY
53
+ }, c = !1, f = (e) => {
54
+ let n = r;
55
+ Math[n(194)](e[n(202)] - s.x, e[n(182)] - s.y) > t[n(207)] && (c = !0);
42
56
  }, p = (e) => {
43
- let t = n;
44
- if (document[t(389)](t(408), f), document[t(389)](t(393), p), document[t(389)](t(400), p), !c || e[t(388)] === t(400)) return;
45
- let r = document[t(395)](e[t(382)], e[t(406)])?.[t(391)](t(398));
46
- r && d.current.panelRef[t(411)]?.[t(385)](r) && r[t(409)](t(401)) !== t(396) && d[t(411)][t(397)](Number(r.dataset[t(412)]));
57
+ let t = r;
58
+ if (document.removeEventListener(t(178), f), document[t(198)]("pointerup", p), document.removeEventListener(t(179), p), !c || e[t(187)] === t(179)) return;
59
+ let n = document[t(180)](e.clientX, e[t(182)])?.[t(204)]("[role=\"option\"][data-index]");
60
+ n && d[t(193)][t(192)].current?.contains(n) && n[t(185)](t(190)) !== t(195) && d.current[t(211)](Number(n[t(196)][t(184)]));
47
61
  };
48
- document[n(386)](n(408), f), document[n(386)](n(393), p), document[n(386)]("pointercancel", p);
62
+ document.addEventListener(r(178), f), document[r(209)](r(197), p), document.addEventListener(r(179), p);
49
63
  },
50
- onClick: (e) => {
51
- let t = a;
52
- (e[t(413)] === 0 || u[t(411)] !== t(384)) && (r ? o() : i());
64
+ onClick: (t) => {
65
+ let n = e;
66
+ (t.detail === 0 || u[n(193)] !== "mouse") && (i ? o() : a());
53
67
  }
54
68
  };
55
69
  }
56
- function a(e, t) {
57
- e -= 382;
58
- let n = r(), i = n[e];
59
- a.TkrWgw === void 0 && (a.XEdUhX = function(e) {
60
- let t = "", n = "";
61
- 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);
62
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
63
- return decodeURIComponent(n);
64
- }, a.SXNRWg = {}, a.TkrWgw = !0);
65
- let o = n[0];
66
- a.Izmfcs !== o && (a.SXNRWg = {}, a.Izmfcs = o);
67
- let s = a.SXNRWg[e];
68
- return s === void 0 ? (i = a.XEdUhX(i), a.SXNRWg[e] = i) : i = s, i;
69
- }
70
- export { i as usePressToOpen };
70
+ export { a as usePressToOpen };
@@ -1,71 +1,71 @@
1
1
  "use client";
2
- (function(e, n) {
3
- for (var r = t, i = e();;) try {
4
- if (parseInt(r(178)) / 1 * (parseInt(r(176)) / 2) + -parseInt(r(190)) / 3 + parseInt(r(180)) / 4 * (parseInt(r(185)) / 5) + -parseInt(r(179)) / 6 * (-parseInt(r(188)) / 7) + -parseInt(r(181)) / 8 + parseInt(r(189)) / 9 + -parseInt(r(175)) / 10 == n) break;
5
- i.push(i.shift());
6
- } catch {
7
- i.push(i.shift());
8
- }
9
- })(e, 477774);
10
- function e() {
11
- var t = [
12
- "mtu4mZm1mgP2ywr6Ba",
13
- "C3r5Bgu",
14
- "mxnNz3Lurq",
15
- "mZbvENb0A2G",
16
- "nZzxqNjcAhy",
17
- "mJq1mdq0mfjgBgjxwq",
18
- "yM9KEq",
19
- "AgLKzgvU",
20
- "Aw5UzxjxAwr0Aa",
21
- "nJa2ntbpvfvQqLO",
22
- "y2XPzw50v2LKDgG",
23
- "B3zLCMzSB3C",
24
- "nJe5oteZCvr5zffd",
25
- "nJu5mJK5nwr5vM1AEq",
26
- "nZy2mJmZv0fmtwDk",
27
- "CgfKzgLUz1jPz2H0",
28
- "zg9JDw1LBNrfBgvTzw50",
29
- "mte1odaWntbyz0TqzwG"
30
- ];
31
- return e = function() {
32
- return t;
33
- }, e();
34
- }
35
- function t(n, r) {
36
- n -= 174;
37
- var i = e(), a = i[n];
38
- t.bTCgVH === void 0 && (t.UYasjV = function(e) {
2
+ function e(n, r) {
3
+ n -= 407;
4
+ var i = t(), a = i[n];
5
+ e.SLkZkT === void 0 && (e.lzaaSQ = function(e) {
39
6
  for (var t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=", n = "", r = "", i = 0, a, o, s = 0; o = e.charAt(s++); ~o && (a = i % 4 ? a * 64 + o : o, i++ % 4) && (n += String.fromCharCode(255 & a >> (-2 * i & 6)))) o = t.indexOf(o);
40
7
  for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
41
8
  return decodeURIComponent(r);
42
- }, t.qklqHo = {}, t.bTCgVH = !0);
9
+ }, e.anzqEc = {}, e.SLkZkT = !0);
43
10
  var o = i[0];
44
- t.wtgIZC !== o && (t.qklqHo = {}, t.wtgIZC = o);
45
- var s = t.qklqHo[n];
46
- return s === void 0 ? (a = t.UYasjV(a), t.qklqHo[n] = a) : a = s, a;
11
+ e.UDLjfz !== o && (e.anzqEc = {}, e.UDLjfz = o);
12
+ var s = e.anzqEc[n];
13
+ return s === void 0 ? (a = e.lzaaSQ(a), e.anzqEc[n] = a) : a = s, a;
47
14
  }
15
+ function t() {
16
+ var e = [
17
+ "otmWnZrtt1fht1K",
18
+ "mJqWB3jgBvDZ",
19
+ "mtK2mJm4mfLqCxj5tG",
20
+ "ody2mJe2wK9OrNDs",
21
+ "CgfKzgLUz1jPz2H0",
22
+ "mtiXnZbUA2DIAva",
23
+ "nJq4mZeYz2zgveLI",
24
+ "Aw5UzxjxAwr0Aa",
25
+ "ndjJwgrMwhe",
26
+ "zg9JDw1LBNrfBgvTzw50",
27
+ "mJG2mNfYtM1gta",
28
+ "yM9KEq",
29
+ "y2XPzw50v2LKDgG",
30
+ "mJy2ndG1nvzyC3PVBG",
31
+ "B3zLCMzSB3C",
32
+ "AgLKzgvU",
33
+ "mtK4mwTWBhDbCa",
34
+ "C3r5Bgu"
35
+ ];
36
+ return t = function() {
37
+ return e;
38
+ }, t();
39
+ }
40
+ (function(t, n) {
41
+ for (var r = e, i = t();;) try {
42
+ if (parseInt(r(420)) / 1 + -parseInt(r(414)) / 2 * (parseInt(r(422)) / 3) + parseInt(r(416)) / 4 + -parseInt(r(409)) / 5 + parseInt(r(415)) / 6 * (-parseInt(r(412)) / 7) + parseInt(r(417)) / 8 + -parseInt(r(424)) / 9 * (-parseInt(r(419)) / 10) == n) break;
43
+ i.push(i.shift());
44
+ } catch {
45
+ i.push(i.shift());
46
+ }
47
+ })(t, 438381);
48
48
  import { useEffect as n } from "react";
49
49
  var r = 0, i = {
50
50
  overflow: "",
51
51
  paddingRight: ""
52
52
  };
53
- function a(e) {
53
+ function a(t) {
54
54
  n(() => {
55
- var n = t;
56
- if (!e) return;
57
- let a = document[n(182)];
55
+ var n = e;
56
+ if (!t) return;
57
+ let a = document[n(407)];
58
58
  if (r++ === 0) {
59
- let e = window[n(184)] - document[n(174)][n(186)];
59
+ let e = window[n(421)] - document[n(423)][n(408)];
60
60
  i = {
61
- overflow: a[n(177)][n(187)],
62
- paddingRight: a.style[n(191)]
63
- }, a[n(177)][n(187)] = n(183), e > 0 && (a[n(177)].paddingRight = e + "px");
61
+ overflow: a[n(413)][n(410)],
62
+ paddingRight: a.style[n(418)]
63
+ }, a[n(413)].overflow = n(411), e > 0 && (a[n(413)].paddingRight = e + "px");
64
64
  }
65
65
  return () => {
66
66
  var e = n;
67
- --r === 0 && (a[e(177)].overflow = i[e(187)], a.style.paddingRight = i.paddingRight);
67
+ --r === 0 && (a[e(413)][e(410)] = i[e(410)], a[e(413)].paddingRight = i.paddingRight);
68
68
  };
69
- }, [e]);
69
+ }, [t]);
70
70
  }
71
71
  export { a as useScrollLock };