@iamfiro/design 0.3.2 → 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 (163) hide show
  1. package/agents/INDEX.md +1 -1
  2. package/agents/app-shell/AGENTS.md +99 -1
  3. package/agents/brand-icon/AGENTS.md +1 -1
  4. package/agents/social-login-button/AGENTS.md +4 -3
  5. package/lib/components/Accordion/Accordion2.js +74 -74
  6. package/lib/components/ActionBar/ActionBar2.js +44 -42
  7. package/lib/components/Alert/Alert2.js +67 -67
  8. package/lib/components/AppShell/AppShell2.js +72 -66
  9. package/lib/components/AreaChart/AreaChart.js +45 -45
  10. package/lib/components/BarChart/BarChart2.js +128 -128
  11. package/lib/components/BarList/BarList2.js +105 -105
  12. package/lib/components/Breadcrumb/Breadcrumb2.js +63 -64
  13. package/lib/components/Calendar/Calendar2.js +197 -197
  14. package/lib/components/Calendar/DatePicker2.js +100 -100
  15. package/lib/components/Calendar/date.js +47 -70
  16. package/lib/components/Card/Card2.js +101 -74
  17. package/lib/components/CardFrame/CardFrame2.js +52 -56
  18. package/lib/components/Chart/ChartParts.js +88 -88
  19. package/lib/components/Chart/chart2.js +63 -63
  20. package/lib/components/Chart/useChartInteraction.js +43 -43
  21. package/lib/components/ChatBubble/ChatBubble2.js +111 -111
  22. package/lib/components/ChatBubble/formatChatTime.js +38 -43
  23. package/lib/components/ChatComposer/ChatComposer2.js +96 -96
  24. package/lib/components/CodeBlock/CodeBlock2.js +65 -65
  25. package/lib/components/CodeBlock/highlight.js +84 -84
  26. package/lib/components/ColorPicker/ColorPicker2.js +263 -263
  27. package/lib/components/ColorPicker/color.js +92 -92
  28. package/lib/components/ColorPicker/presets.js +35 -39
  29. package/lib/components/Combobox/Combobox2.js +134 -134
  30. package/lib/components/CommandMenu/CommandMenu.js +130 -131
  31. package/lib/components/Comment/Comment2.js +64 -63
  32. package/lib/components/ContextMenu/ContextMenu2.js +84 -84
  33. package/lib/components/DataGrid/DataGrid2.js +1182 -1180
  34. package/lib/components/DataGrid/GridPopover.js +84 -84
  35. package/lib/components/DataGrid/anchor.js +29 -28
  36. package/lib/components/DataGrid/model.js +308 -307
  37. package/lib/components/DataGrid/panels.js +398 -399
  38. package/lib/components/DataGrid/typeMeta.js +41 -40
  39. package/lib/components/DataGrid/types.js +39 -40
  40. package/lib/components/DescriptionList/DescriptionList2.js +105 -105
  41. package/lib/components/Dialog/AlertDialog.js +90 -89
  42. package/lib/components/Dialog/Dialog2.js +71 -72
  43. package/lib/components/Dialog/modal.js +62 -60
  44. package/lib/components/Drawer/Drawer2.js +167 -166
  45. package/lib/components/DropdownMenu/DropdownMenu2.js +260 -258
  46. package/lib/components/DropdownMenu/menuCore.js +29 -28
  47. package/lib/components/Dropzone/Dropzone2.js +78 -77
  48. package/lib/components/EmptyState/EmptyState2.js +57 -57
  49. package/lib/components/FileChip/FileChip2.js +53 -77
  50. package/lib/components/FileUpload/FileUpload.js +168 -167
  51. package/lib/components/FilterChips/FilterChips2.js +60 -60
  52. package/lib/components/FunnelChart/FunnelChart2.js +174 -174
  53. package/lib/components/FunnelChart/funnel.js +44 -42
  54. package/lib/components/Highlight/Highlight2.js +55 -55
  55. package/lib/components/HoverCard/HoverCard.js +71 -96
  56. package/lib/components/InlineDiff/InlineDiff2.js +128 -129
  57. package/lib/components/InlineDiff/diff.js +79 -79
  58. package/lib/components/InlineDiff/useDiffReview.js +61 -62
  59. package/lib/components/Kanban/Kanban2.js +387 -389
  60. package/lib/components/Kanban/KanbanCard.js +84 -84
  61. package/lib/components/Kanban/move.js +32 -25
  62. package/lib/components/LineChart/LineChart2.js +228 -228
  63. package/lib/components/List/List2.js +62 -62
  64. package/lib/components/Listbox/Listbox2.js +92 -92
  65. package/lib/components/Marker/Marker2.js +50 -56
  66. package/lib/components/Menubar/Menubar2.js +117 -116
  67. package/lib/components/MultiSelect/MultiSelect2.js +111 -111
  68. package/lib/components/NavigationMenu/NavigationMenu2.js +231 -231
  69. package/lib/components/NoticeStack/NoticeStack2.js +99 -99
  70. package/lib/components/NumberStepper/NumberStepper2.js +60 -60
  71. package/lib/components/OtpInput/OtpInput2.js +90 -89
  72. package/lib/components/Pagination/Pagination2.js +105 -105
  73. package/lib/components/Pagination/paginationRange.js +37 -37
  74. package/lib/components/PhoneInput/PhoneInput.js +75 -76
  75. package/lib/components/PieChart/PieChart2.js +166 -166
  76. package/lib/components/PieChart/arc.js +71 -69
  77. package/lib/components/PieChart/useArcTween.js +60 -62
  78. package/lib/components/Popover/Popover2.js +85 -86
  79. package/lib/components/ProgressTracker/ProgressTracker2.js +134 -134
  80. package/lib/components/Rating/Rating2.js +90 -89
  81. package/lib/components/Resizable/Resizable2.js +128 -129
  82. package/lib/components/Resizable/layout.js +51 -51
  83. package/lib/components/ScaledPreview/ScaledPreview2.js +49 -48
  84. package/lib/components/ScatterChart/ScatterChart2.js +214 -213
  85. package/lib/components/ScatterChart/scatter.js +49 -52
  86. package/lib/components/ScrollArea/ScrollArea2.js +115 -117
  87. package/lib/components/Select/Select2.js +82 -82
  88. package/lib/components/Sidebar/Sidebar2.js +91 -85
  89. package/lib/components/Sidebar/rail.js +43 -0
  90. package/lib/components/Skeleton/Skeleton2.js +63 -64
  91. package/lib/components/Slider/Slider2.js +65 -66
  92. package/lib/components/SocialLoginButton/SocialLoginButton.js +76 -69
  93. package/lib/components/SparkChart/SparkChart2.js +126 -127
  94. package/lib/components/SparkChart/spark.js +66 -42
  95. package/lib/components/Sparkbar/Sparkbar2.js +60 -60
  96. package/lib/components/SplitView/SplitView2.js +51 -51
  97. package/lib/components/Stat/Stat2.js +79 -79
  98. package/lib/components/StepList/StepList2.js +75 -75
  99. package/lib/components/Table/Table2.js +71 -71
  100. package/lib/components/Tabs/Tabs2.js +74 -74
  101. package/lib/components/TagInput/TagInput2.js +223 -221
  102. package/lib/components/TimePicker/TimePicker2.js +197 -195
  103. package/lib/components/TimePicker/time.js +59 -56
  104. package/lib/components/Timeline/Timeline2.js +195 -195
  105. package/lib/components/Timeline/scale.js +64 -66
  106. package/lib/components/Toast/Toaster.js +139 -139
  107. package/lib/components/Toast/store.js +72 -76
  108. package/lib/components/ToggleGroup/ToggleGroup2.js +79 -79
  109. package/lib/components/Toolbar/Toolbar2.js +165 -164
  110. package/lib/components/Tracker/Tracker2.js +72 -72
  111. package/lib/components/TreeDiagram/TreeDiagram2.js +96 -97
  112. package/lib/components/TreeView/TreeView2.js +152 -151
  113. package/lib/hooks/timing.js +34 -36
  114. package/lib/hooks/useControllableState.js +29 -30
  115. package/lib/hooks/useCountdown.js +51 -53
  116. package/lib/hooks/useDigitInput.js +81 -55
  117. package/lib/hooks/useDismiss.js +53 -56
  118. package/lib/hooks/useElapsed.js +48 -49
  119. package/lib/hooks/useFloating.js +36 -36
  120. package/lib/hooks/useFocusTrap.js +32 -32
  121. package/lib/hooks/usePresence.js +49 -49
  122. package/lib/hooks/usePressToOpen.js +40 -40
  123. package/lib/hooks/useScrollLock.js +50 -49
  124. package/lib/hooks/useSelection.js +42 -47
  125. package/lib/index.js +138 -139
  126. package/lib/primitives/AspectRatio2.js +58 -57
  127. package/lib/primitives/BrandIcon.js +210 -179
  128. package/lib/primitives/ColorDot2.js +42 -41
  129. package/lib/primitives/CopyButton2.js +59 -58
  130. package/lib/primitives/CountBadge2.js +58 -63
  131. package/lib/primitives/Countdown2.js +38 -37
  132. package/lib/primitives/Delta2.js +37 -37
  133. package/lib/primitives/Elapsed.js +42 -40
  134. package/lib/primitives/FileIcon2.js +102 -102
  135. package/lib/primitives/Flag2.js +124 -124
  136. package/lib/primitives/IconStack2.js +45 -23
  137. package/lib/primitives/IconTile2.js +45 -41
  138. package/lib/primitives/Kbd2.js +48 -48
  139. package/lib/primitives/Layout2.js +71 -71
  140. package/lib/primitives/Link2.js +40 -42
  141. package/lib/primitives/MaskedText2.js +50 -50
  142. package/lib/primitives/Progress2.js +78 -77
  143. package/lib/primitives/RelativeTime.js +55 -58
  144. package/lib/primitives/SearchInput2.js +72 -68
  145. package/lib/primitives/SelectorButton2.js +60 -61
  146. package/lib/primitives/Spinner2.js +48 -49
  147. package/lib/primitives/StatusIcon2.js +69 -69
  148. package/lib/primitives/Swatch2.js +65 -69
  149. package/lib/primitives/Tooltip2.js +92 -92
  150. package/lib/primitives/Typography2.js +37 -37
  151. package/lib/primitives/formatCountdown.js +38 -38
  152. package/lib/primitives/formatElapsed.js +43 -45
  153. package/lib/primitives/formatRelativeTime.js +54 -54
  154. package/lib/primitives/hotkey.js +77 -77
  155. package/lib/primitives/index.js +162 -161
  156. package/lib/primitives/maskValue.js +54 -51
  157. package/lib/style.css +1 -1
  158. package/lib/types/components/AppShell/AppShell.d.ts +9 -2
  159. package/lib/types/components/Sidebar/rail.d.ts +4 -0
  160. package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +1 -1
  161. package/lib/types/components/index.d.ts +1 -0
  162. package/lib/types/primitives/BrandIcon.d.ts +1 -1
  163. package/package.json +1 -1
@@ -1,125 +1,125 @@
1
1
  "use client";
2
- function e() {
3
- let t = /* @__PURE__ */ "mtC5nZq2ofjovhrdDW.nte3mteYmhvUDKrPua.BM9Uzq.ttyUnsaYlJC1AdCUmJvSnc41idqUnxyXmI41yteUnsaXlJuGmcaWideTms41ideUnuG2lJvbms41ideUnsaWidaGmsa1ide5lJC1DI0Xns41yteUnsaXlJuGmcaWideGms41lteUnvO.ms41.zhmTzMLSzs1Py29Ux19WywDL.C3zN.y29Kzq.DMfYkc0TzMLSzs0.DMLKzw8.B3rOzxi.ChjLC2vUDgf0Aw9U.zMLSDgvY.C2HLzxq.C2XPy2u.oePvtMDpuG.zhmTzMLSzs1Py29Ux19MB2XK.mJe3EuHJtNvU.BgfZDeLUzgv4t2y.Aw5JBhvKzxm.mtm4nZeWBxzjC0T1.mcaWidi0idi0.odqZndjNvvzksM0.ns41.mtmUmJu.ndmWotm0AfPjDwXN.CgrM.C2XPzgu.AM9PBG.Aw1Hz2u.yxjJAgL2zq.mJiYoti0m0Hhr29mzq.zg9J.mtKXodqWodvprgPiAg8.yxvKAw8".split(".");
4
- return e = function() {
5
- return t;
6
- }, e();
7
- }
8
- function t(n, r) {
9
- n -= 231;
10
- let i = e(), a = i[n];
11
- t.hmoQWP === void 0 && (t.JitKNk = function(e) {
12
- let t = "", n = "";
13
- 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
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
15
- return decodeURIComponent(n);
16
- }, t.ZCYGLp = {}, t.hmoQWP = !0);
17
- let o = i[0];
18
- t.kOwzqV !== o && (t.ZCYGLp = {}, t.kOwzqV = o);
19
- let s = t.ZCYGLp[n];
20
- return s === void 0 ? (a = t.JitKNk(a), t.ZCYGLp[n] = a) : a = s, a;
21
- }
22
- const n = t;
23
- (function(e, n) {
24
- let r = t, i = e();
2
+ const e = s;
3
+ (function(e, t) {
4
+ let n = s, r = e();
25
5
  for (;;) try {
26
- if (-parseInt(r(260)) / 1 + -parseInt(r(265)) / 2 + parseInt(r(236)) / 3 + -parseInt(r(240)) / 4 + -parseInt(r(241)) / 5 + parseInt(r(262)) / 6 * (-parseInt(r(257)) / 7) + parseInt(r(255)) / 8 * (parseInt(r(238)) / 9) == n) break;
27
- i.push(i.shift());
6
+ if (parseInt(n(215)) / 1 + -parseInt(n(218)) / 2 + -parseInt(n(232)) / 3 * (parseInt(n(213)) / 4) + -parseInt(n(217)) / 5 + parseInt(n(199)) / 6 * (parseInt(n(208)) / 7) + parseInt(n(219)) / 8 + parseInt(n(201)) / 9 * (parseInt(n(204)) / 10) == t) break;
7
+ r.push(r.shift());
28
8
  } catch {
29
- i.push(i.shift());
9
+ r.push(r.shift());
30
10
  }
31
- })(e, 601111);
11
+ })(t, 463309);
12
+ function t() {
13
+ let e = /* @__PURE__ */ "C2XPzgu.mcaWidi0idi0.mZCXEuX1sKf1.DMLKzw8.mtmUmJu.ttyUnsaYlJC1AdCUmJvSnc41idqUnxyXmI41yteUnsaXlJuGmcaWideTms41ideUnuG2lJvbms41ideUnsaWidaGmsa1ide5lJC1DI0Xns41yteUnsaXlJuGmcaWideGms41lteUnvO.Cgf0Aa.nJi0ngrPAvDKBW.zg9J.ndmYmZL0rvfnq2m.yxjJAgL2zq.ndmXoti4nxHZDuHnrW.mte5mJu5ofrWruH0AW.mJm0ntiYnfnzwfL1uW.ChjLC2vUDgf0Aw9U.C2XPy2u.CMvJDa.tteZlJuGmI43nxyZlJvHmsaXidaGmcaWideGmwGZlJC1.BgfZDeLUzgv4t2y.zhmTzMLSzs1Py29Ux19MB2XK.ns41.y29Kzq.AM9PBG.C3zN.Aw1Hz2u.C2HLzxq.mtiZAur4wxLx.Aw5JBhvKzxm.CgrM.zhmTzMLSzs1Py29Ux190ywi.yxvKAw8.ntG0nZb0DKjiAhq.zhmTzMLSzs1Py29Ux19WywDL.nZi5owDLwNvtAG.ms41.B3rOzxi.mtm5otb4shbnrKO.BM9Uzq".split(".");
14
+ return t = function() {
15
+ return e;
16
+ }, t();
17
+ }
32
18
  /* empty css */
33
- import { jsx as r, jsxs as i } from "react/jsx-runtime";
34
- var a = {
35
- pdf: n(231),
36
- png: n(234),
37
- jpg: n(234),
38
- jpeg: n(234),
39
- gif: n(234),
40
- webp: n(234),
41
- svg: n(234),
42
- heic: n(234),
43
- avif: n(234),
44
- xls: n(253),
45
- xlsx: n(253),
46
- csv: "sheet",
47
- tsv: n(253),
48
- numbers: "sheet",
49
- doc: n(237),
50
- docx: n(237),
51
- txt: n(237),
52
- md: n(237),
19
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
20
+ var i = {
21
+ pdf: e(234),
22
+ png: e(230),
23
+ jpg: "image",
24
+ jpeg: "image",
25
+ gif: e(230),
26
+ webp: e(230),
27
+ svg: e(230),
28
+ heic: e(230),
29
+ avif: e(230),
30
+ xls: e(231),
31
+ xlsx: "sheet",
32
+ csv: e(231),
33
+ tsv: e(231),
34
+ numbers: e(231),
35
+ doc: e(214),
36
+ docx: e(214),
37
+ txt: e(214),
38
+ md: e(214),
53
39
  rtf: "doc",
54
- hwp: n(237),
55
- hwpx: n(237),
56
- pages: n(237),
57
- ppt: n(232),
58
- pptx: n(232),
59
- key: "slide",
60
- mp4: n(249),
61
- mov: n(249),
62
- webm: n(249),
63
- avi: "video",
64
- mkv: "video",
65
- mp3: n(239),
66
- wav: "audio",
67
- m4a: "audio",
68
- aac: n(239),
69
- flac: n(239),
70
- zip: n(235),
71
- rar: n(235),
72
- "7z": "archive",
73
- tar: n(235),
74
- gz: n(235),
75
- js: n(247),
76
- ts: "code",
77
- tsx: n(247),
78
- json: n(247),
79
- html: n(247),
80
- css: n(247),
81
- py: n(247)
40
+ hwp: e(214),
41
+ hwpx: "doc",
42
+ pages: "doc",
43
+ ppt: e(206),
44
+ pptx: e(206),
45
+ key: e(206),
46
+ mp4: "video",
47
+ mov: e(209),
48
+ webm: "video",
49
+ avi: e(209),
50
+ mkv: e(209),
51
+ mp3: e(236),
52
+ wav: e(236),
53
+ m4a: e(236),
54
+ aac: "audio",
55
+ flac: "audio",
56
+ zip: "archive",
57
+ rar: e(216),
58
+ "7z": e(216),
59
+ tar: "archive",
60
+ gz: e(216),
61
+ js: "code",
62
+ ts: e(227),
63
+ tsx: e(227),
64
+ json: e(227),
65
+ html: "code",
66
+ css: e(227),
67
+ py: "code"
82
68
  };
83
- function o(e) {
84
- let t = n, r = e.toLowerCase();
85
- if (r[t(259)]("/")) {
86
- let [e, n] = r.split("/");
87
- return e === t(234) || e === "video" || e === t(239) ? e : a[n] ?? (n[t(259)](t(253)) ? t(253) : n[t(259)](t(251)) ? t(232) : "other");
69
+ function a(t) {
70
+ let n = e, r = t.toLowerCase();
71
+ if (r[n(233)]("/")) {
72
+ let [e, t] = r.split("/");
73
+ return e === "image" || e === n(209) || e === n(236) ? e : i[t] ?? (t.includes(n(231)) ? "sheet" : t[n(233)](n(220)) ? n(206) : n(203));
88
74
  }
89
- return a[r[t(254)](r[t(258)](".") + 1)] ?? t(250);
75
+ return i[r[n(221)](r[n(224)](".") + 1)] ?? n(203);
90
76
  }
91
- function s({ name: e = "", kind: t, size: a = 20, className: s, style: c }) {
92
- let l = n, u = t ?? o(e);
93
- return i(l(246), {
94
- className: ["ds-file-icon", s][l(252)](Boolean)[l(233)](" "),
77
+ function o({ name: t = "", kind: i, size: o = 20, className: s, style: c }) {
78
+ let l = e, u = i ?? a(t);
79
+ return r(l(229), {
80
+ className: ["ds-file-icon", s].filter(Boolean)[l(228)](" "),
95
81
  style: {
96
- "--_c": l(248) + u + ")",
82
+ "--_c": "var(--file-" + u + ")",
97
83
  ...c
98
84
  },
99
85
  "data-kind": u,
100
- width: a,
101
- height: a,
102
- viewBox: l(261),
103
- fill: l(242),
86
+ width: o,
87
+ height: o,
88
+ viewBox: l(207),
89
+ fill: l(205),
104
90
  "aria-hidden": !0,
105
91
  children: [
106
- r("path", {
107
- className: l(245),
108
- d: l(243)
92
+ n(l(212), {
93
+ className: l(200),
94
+ d: l(211)
109
95
  }),
110
- r("path", {
111
- className: l(256),
112
- d: "M13.5 2.75v3.5a1 1 0 0 0 1 1h3.75"
96
+ n(l(212), {
97
+ className: l(225),
98
+ d: l(223)
113
99
  }),
114
- r("rect", {
115
- className: "ds-file-icon__tab",
100
+ n(l(222), {
101
+ className: l(235),
116
102
  x: "3",
117
- y: l(264),
103
+ y: l(210),
118
104
  width: "11",
119
- height: l(263),
120
- rx: l(244)
105
+ height: l(226),
106
+ rx: l(202)
121
107
  })
122
108
  ]
123
109
  });
124
110
  }
125
- export { s as FileIcon, o as fileKind };
111
+ function s(e, n) {
112
+ e -= 199;
113
+ let r = t(), i = r[e];
114
+ s.aIWWJy === void 0 && (s.CYTpkD = function(e) {
115
+ let t = "", n = "";
116
+ 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);
117
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
118
+ return decodeURIComponent(n);
119
+ }, s.pRbuZz = {}, s.aIWWJy = !0);
120
+ let a = r[0];
121
+ s.XVdnXt !== a && (s.pRbuZz = {}, s.XVdnXt = a);
122
+ let o = s.pRbuZz[e];
123
+ return o === void 0 ? (i = s.CYTpkD(i), s.pRbuZz[e] = i) : i = o, i;
124
+ }
125
+ export { o as FileIcon, a as fileKind };
@@ -1,63 +1,63 @@
1
1
  "use client";
2
- const e = i;
3
- (function(e, t) {
4
- let n = i, r = e();
5
- for (;;) try {
6
- if (-parseInt(n(167)) / 1 * (-parseInt(n(156)) / 2) + -parseInt(n(157)) / 3 + -parseInt(n(168)) / 4 * (parseInt(n(184)) / 5) + parseInt(n(179)) / 6 + -parseInt(n(154)) / 7 * (parseInt(n(160)) / 8) + -parseInt(n(169)) / 9 * (-parseInt(n(163)) / 10) + parseInt(n(188)) / 11 * (parseInt(n(180)) / 12) == t) break;
7
- r.push(r.shift());
8
- } catch {
9
- r.push(r.shift());
10
- }
11
- })(a, 506336);
12
- /* empty css */
13
- import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
14
- function i(e, t) {
15
- e -= 151;
16
- let n = a(), r = n[e];
17
- i.xwAUMs === void 0 && (i.qkZMQm = function(e) {
2
+ function e(t, r) {
3
+ t -= 407;
4
+ let i = n(), a = i[t];
5
+ e.lnHJab === void 0 && (e.BOgTzY = function(e) {
18
6
  let t = "", n = "";
19
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);
20
8
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
21
9
  return decodeURIComponent(n);
22
- }, i.YrFFcZ = {}, i.xwAUMs = !0);
23
- let o = n[0];
24
- i.CqFraN !== o && (i.YrFFcZ = {}, i.CqFraN = o);
25
- let s = i.YrFFcZ[e];
26
- return s === void 0 ? (r = i.qkZMQm(r), i.YrFFcZ[e] = r) : r = s, r;
10
+ }, e.KFcEqs = {}, e.lnHJab = !0);
11
+ let o = i[0];
12
+ e.ChTgOj !== o && (e.KFcEqs = {}, e.ChTgOj = o);
13
+ let s = e.KFcEqs[t];
14
+ return s === void 0 ? (a = e.BOgTzY(a), e.KFcEqs[t] = a) : a = s, a;
27
15
  }
28
- function a() {
29
- let e = /* @__PURE__ */ "odqZmJH0wefdD1G.i2rKmdaWma.iZaWmJy1na.mJuWrvzJEvPX.tte4idbwmJrnmcaXmKGZnG.DhjHBNnSyxrLka.y2LYy2XL.mJqXAezMtePc.mJbyCgTUCfC.mtm2nJGZBgzgCgDk.ide4ideYkq.i2zMzG.i2jJmdaYza.i2zMy2qWma.Dg9gAxHLza.iZaWndDHma.i2rHmJuXza.zNjVBq.iZaWma.mZKXmZa2mMrHBwTKva.ndm4nZjSDxLWDfe.BwfW.tteYideYytyGnIaWidaGmcaXmIaWEG.i2rLmJKXma.mZyWnZu1yxjVuMHq.y29Z.mcaWia.zMXVB3i.mte2nMfMsNHdsa.ttaGmeWZnIaYne0ZnIaWtdaGmJq.iZaXmJe2oq.i2nLmteYnG.C3bHBG.Cgf0Aa.C3zN.i2zMzguWma.CMvJDa.zhmTzMXHzW.Aw1N.i2iYmJiZna.i2m4mtaYzq.mJq1q3LJC2zz.yxrHBJi.mJe3mLnRDLvksG.mtmZnti2nfDctevPra.i2nKmMuZyq.AM9PBG".split(".");
30
- return a = function() {
16
+ const t = e;
17
+ (function(t, n) {
18
+ let r = e, i = t();
19
+ for (;;) try {
20
+ if (-parseInt(r(424)) / 1 + parseInt(r(422)) / 2 * (-parseInt(r(430)) / 3) + parseInt(r(448)) / 4 * (-parseInt(r(443)) / 5) + parseInt(r(435)) / 6 * (parseInt(r(432)) / 7) + -parseInt(r(425)) / 8 * (-parseInt(r(441)) / 9) + parseInt(r(415)) / 10 + parseInt(r(439)) / 11 == n) break;
21
+ i.push(i.shift());
22
+ } catch {
23
+ i.push(i.shift());
24
+ }
25
+ })(n, 808483);
26
+ /* empty css */
27
+ function n() {
28
+ let e = /* @__PURE__ */ "iZaWmJy1na.i2nLmteYnG.i2iYmJiZna.iZaXmJe2oq.Cgf0Aa.nZq0mJzlswPru0O.CMvJDa.ntiWmda5A3v5C0vm.mtC2ohrbuxzWzG.i2rLmJKXma.AM9PBG.tteYideYytyGnIaWidaGmsaXmIaWEG.y29Z.mZLIvu1kDNO.tte4idbwmJrnmcaXmKGZnG.nJu2nNrHuKXlAW.ide4ideYkq.C3zN.nZq5ne5NqxL5ua.i2jJmdaYza.tteYideYytyGnIaWidaGmcaXmIaWEG.Aw1N.mJqXnJq5mxfjCMv4uW.i2rKmdaWma.mJG0nJDYzuXuteG.C2LU.mZeZntvqCgDeuxm.ttaGmeWZnIaYne0ZnIaWtdaGmJq.i2zMzG.yxrHBJi.i2m4mtaYzq.mtK2swnjAwH3.y2LYy2XL.iZaWndDHma.iZnJm2i2zq.ksbYB3rHDguO.i2nKmMuZyq.BwfW.Dg9gAxHLza.i2rHmJuXza.iZaWma.mcaWia.zNjVBq.mJKYnZqWyLLIDNzP.i2zMzguWma".split(".");
29
+ return n = function() {
31
30
  return e;
32
- }, a();
31
+ }, n();
33
32
  }
33
+ import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
34
34
  var o = 36, s = 24;
35
- function c(e, t, r, a = 0) {
36
- let o = i, s = Array[o(177)]({ length: 10 }, (n, i) => {
35
+ function c(t, n, r, a = 0) {
36
+ let o = e, s = Array[o(414)]({ length: 10 }, (e, i) => {
37
37
  let s = o, c = (a + i * 36) * Math.PI / 180, l = i % 2 ? r * .382 : r;
38
- return (e + l * Math.sin(c))[s(174)](2) + "," + (t - l * Math[s(185)](c))[s(174)](2);
38
+ return (t + l * Math[s(442)](c))[s(410)](2) + "," + (n - l * Math[s(429)](c))[s(410)](2);
39
39
  });
40
- return n("polygon", { points: s[o(159)](" ") });
40
+ return i("polygon", { points: s.join(" ") });
41
41
  }
42
- function l(e, t, a, o) {
43
- let s = i;
44
- return n("g", {
45
- transform: s(165) + e + " " + t + ") rotate(" + a + ")",
46
- fill: s(178),
47
- children: o[s(181)]((e, t) => {
48
- let i = s, a = -2.4 + t * 1.8;
49
- return e ? r("g", { children: [n("rect", {
50
- x: a,
42
+ function l(t, n, r, o) {
43
+ let s = e;
44
+ return i("g", {
45
+ transform: "translate(" + t + " " + n + s(407) + r + ")",
46
+ fill: s(412),
47
+ children: o[s(409)]((e, t) => {
48
+ let n = s, r = -2.4 + t * 1.8;
49
+ return e ? a("g", { children: [i(n(423), {
50
+ x: r,
51
51
  y: -3.4,
52
52
  width: 1.2,
53
53
  height: 3
54
- }), n("rect", {
55
- x: a,
54
+ }), i("rect", {
55
+ x: r,
56
56
  y: .4,
57
57
  width: 1.2,
58
58
  height: 3
59
- })] }, t) : n(i(196), {
60
- x: a,
59
+ })] }, t) : i(n(423), {
60
+ x: r,
61
61
  y: -3.4,
62
62
  width: 1.2,
63
63
  height: 6.8
@@ -65,35 +65,35 @@ function l(e, t, a, o) {
65
65
  })
66
66
  });
67
67
  }
68
- var u = Math[e(155)](s, o) * 180 / Math.PI, d = {
69
- KR: r(t, { children: [
70
- n("rect", {
68
+ var u = Math[t(446)](s, o) * 180 / Math.PI, d = {
69
+ KR: a(r, { children: [
70
+ i(t(423), {
71
71
  width: o,
72
72
  height: s,
73
- fill: e(171)
73
+ fill: "#fff"
74
74
  }),
75
- r("g", {
76
- transform: "rotate(" + u + e(170),
75
+ a("g", {
76
+ transform: "rotate(" + u + t(433),
77
77
  children: [
78
- n(e(193), {
79
- d: "M12 12a6 6 0 0 1 12 0z",
80
- fill: e(158)
78
+ i(t(421), {
79
+ d: t(428),
80
+ fill: "#cd2e3a"
81
81
  }),
82
- n("path", {
83
- d: e(182),
84
- fill: e(175)
82
+ i(t(421), {
83
+ d: t(437),
84
+ fill: "#0047a0"
85
85
  }),
86
- n(e(166), {
86
+ i(t(449), {
87
87
  cx: 15,
88
88
  cy: 12,
89
89
  r: 3,
90
- fill: "#cd2e3a"
90
+ fill: t(408)
91
91
  }),
92
- n(e(166), {
92
+ i(t(449), {
93
93
  cx: 21,
94
94
  cy: 12,
95
95
  r: 3,
96
- fill: e(175)
96
+ fill: t(450)
97
97
  })
98
98
  ]
99
99
  }),
@@ -118,48 +118,48 @@ var u = Math[e(155)](s, o) * 180 / Math.PI, d = {
118
118
  !1
119
119
  ])
120
120
  ] }),
121
- US: r(t, { children: [
122
- n(e(196), {
121
+ US: a(r, { children: [
122
+ i(t(423), {
123
123
  width: o,
124
124
  height: s,
125
- fill: "#fff"
125
+ fill: t(445)
126
126
  }),
127
- Array[e(177)]({ length: 7 }, (t, r) => n(e(196), {
128
- y: r * 2 * s / 13,
127
+ Array[t(414)]({ length: 7 }, (e, n) => i(t(423), {
128
+ y: n * 2 * s / 13,
129
129
  width: o,
130
130
  height: s / 13,
131
- fill: e(152)
132
- }, r)),
133
- n(e(196), {
131
+ fill: t(419)
132
+ }, n)),
133
+ i(t(423), {
134
134
  width: 14.4,
135
135
  height: 168 / 13,
136
- fill: "#3c3b6e"
136
+ fill: t(451)
137
137
  }),
138
- n("g", {
139
- fill: e(171),
140
- children: Array[e(177)]({ length: 12 }, (t, r) => n(e(166), {
141
- cx: 2 + r % 4 * 3.4,
142
- cy: 1.9 + Math[e(187)](r / 4) * 3.4,
138
+ i("g", {
139
+ fill: "#fff",
140
+ children: Array[t(414)]({ length: 12 }, (e, n) => i(t(449), {
141
+ cx: 2 + n % 4 * 3.4,
142
+ cy: 1.9 + Math.floor(n / 4) * 3.4,
143
143
  r: .6
144
- }, r))
144
+ }, n))
145
145
  })
146
146
  ] }),
147
- JP: r(t, { children: [n("rect", {
147
+ JP: a(r, { children: [i(t(423), {
148
148
  width: o,
149
149
  height: s,
150
- fill: e(171)
151
- }), n(e(166), {
150
+ fill: t(445)
151
+ }), i(t(449), {
152
152
  cx: 18,
153
153
  cy: 12,
154
154
  r: 7.2,
155
- fill: e(172)
155
+ fill: t(436)
156
156
  })] }),
157
- CN: r(t, { children: [n(e(196), {
157
+ CN: a(r, { children: [i(t(423), {
158
158
  width: o,
159
159
  height: s,
160
- fill: e(183)
161
- }), r("g", {
162
- fill: e(195),
160
+ fill: t(426)
161
+ }), a("g", {
162
+ fill: t(416),
163
163
  children: [
164
164
  c(6, 6, 3.6),
165
165
  c(12, 2.4, 1.2, 23),
@@ -168,95 +168,95 @@ var u = Math[e(155)](s, o) * 180 / Math.PI, d = {
168
168
  c(12, 10.8, 1.2, 21)
169
169
  ]
170
170
  })] }),
171
- VN: r(t, { children: [n(e(196), {
171
+ VN: a(r, { children: [i(t(423), {
172
172
  width: o,
173
173
  height: s,
174
- fill: e(176)
175
- }), n("g", {
176
- fill: e(173),
174
+ fill: t(411)
175
+ }), i("g", {
176
+ fill: "#ffcd00",
177
177
  children: c(18, 12.6, 7.2)
178
178
  })] }),
179
- GB: r(t, { children: [
180
- n(e(196), {
179
+ GB: a(r, { children: [
180
+ i(t(423), {
181
181
  width: o,
182
182
  height: s,
183
- fill: e(190)
183
+ fill: t(420)
184
184
  }),
185
- n(e(193), {
186
- d: e(189),
187
- stroke: e(171),
185
+ i(t(421), {
186
+ d: t(444),
187
+ stroke: "#fff",
188
188
  strokeWidth: 4.8
189
189
  }),
190
- n(e(193), {
191
- d: e(189),
192
- stroke: "#c8102e",
190
+ i("path", {
191
+ d: t(444),
192
+ stroke: t(447),
193
193
  strokeWidth: 1.6
194
194
  }),
195
- n("path", {
196
- d: e(164),
197
- stroke: "#fff",
195
+ i(t(421), {
196
+ d: "M18 0V24M0 12H36",
197
+ stroke: t(445),
198
198
  strokeWidth: 8
199
199
  }),
200
- n(e(193), {
201
- d: e(164),
202
- stroke: e(153),
200
+ i(t(421), {
201
+ d: t(431),
202
+ stroke: t(447),
203
203
  strokeWidth: 4.8
204
204
  })
205
205
  ] }),
206
- DE: r(t, { children: [
207
- n(e(196), {
206
+ DE: a(r, { children: [
207
+ i("rect", {
208
208
  width: o,
209
209
  height: 8,
210
- fill: e(178)
210
+ fill: "#000"
211
211
  }),
212
- n(e(196), {
212
+ i(t(423), {
213
213
  y: 8,
214
214
  width: o,
215
215
  height: 8,
216
- fill: e(161)
216
+ fill: t(440)
217
217
  }),
218
- n(e(196), {
218
+ i("rect", {
219
219
  y: 16,
220
220
  width: o,
221
221
  height: 8,
222
222
  fill: "#ffce00"
223
223
  })
224
224
  ] }),
225
- FR: r(t, { children: [
226
- n(e(196), {
225
+ FR: a(r, { children: [
226
+ i(t(423), {
227
227
  width: 12,
228
228
  height: s,
229
- fill: e(162)
229
+ fill: t(417)
230
230
  }),
231
- n("rect", {
231
+ i(t(423), {
232
232
  x: 12,
233
233
  width: 12,
234
234
  height: s,
235
- fill: e(171)
235
+ fill: t(445)
236
236
  }),
237
- n(e(196), {
237
+ i("rect", {
238
238
  x: 24,
239
239
  width: 12,
240
240
  height: s,
241
- fill: e(191)
241
+ fill: t(418)
242
242
  })
243
243
  ] })
244
244
  };
245
- function f({ code: t, size: r = 20, label: i, className: a, style: c }) {
246
- let l = e;
247
- return n(l(192), {
248
- className: [l(197), a].filter(Boolean).join(" "),
245
+ function f({ code: e, size: n = 20, label: r, className: a, style: c }) {
246
+ let l = t;
247
+ return i("span", {
248
+ className: ["ds-flag", a].filter(Boolean)[l(427)](" "),
249
249
  style: {
250
- "--_w": r + "px",
250
+ "--_w": n + "px",
251
251
  ...c
252
252
  },
253
- role: i ? l(151) : void 0,
254
- "aria-label": i,
255
- "aria-hidden": !i || void 0,
256
- children: n(l(194), {
257
- viewBox: l(186) + o + " " + s,
253
+ role: r ? l(438) : void 0,
254
+ "aria-label": r,
255
+ "aria-hidden": !r || void 0,
256
+ children: i(l(434), {
257
+ viewBox: l(413) + o + " " + s,
258
258
  preserveAspectRatio: "none",
259
- children: d[t]
259
+ children: d[e]
260
260
  })
261
261
  });
262
262
  }