@iamfiro/design 0.3.0 → 0.3.1

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 (153) hide show
  1. package/lib/components/Accordion/Accordion2.js +86 -86
  2. package/lib/components/ActionBar/ActionBar2.js +44 -43
  3. package/lib/components/Alert/Alert2.js +79 -79
  4. package/lib/components/AppShell/AppShell2.js +58 -58
  5. package/lib/components/AreaChart/AreaChart.js +41 -41
  6. package/lib/components/BarChart/BarChart2.js +110 -110
  7. package/lib/components/BarList/BarList2.js +95 -95
  8. package/lib/components/Breadcrumb/Breadcrumb2.js +62 -59
  9. package/lib/components/Calendar/Calendar2.js +202 -202
  10. package/lib/components/Calendar/DatePicker2.js +122 -123
  11. package/lib/components/Calendar/date.js +57 -60
  12. package/lib/components/Card/Card2.js +62 -63
  13. package/lib/components/CardFrame/CardFrame2.js +43 -48
  14. package/lib/components/Chart/ChartParts.js +80 -80
  15. package/lib/components/Chart/chart2.js +57 -57
  16. package/lib/components/Chart/useChartInteraction.js +49 -49
  17. package/lib/components/ChatBubble/ChatBubble2.js +87 -87
  18. package/lib/components/ChatBubble/formatChatTime.js +34 -39
  19. package/lib/components/ChatComposer/ChatComposer2.js +97 -97
  20. package/lib/components/CodeBlock/CodeBlock2.js +60 -60
  21. package/lib/components/CodeBlock/highlight.js +75 -78
  22. package/lib/components/ColorPicker/ColorPicker2.js +383 -384
  23. package/lib/components/ColorPicker/color.js +74 -74
  24. package/lib/components/ColorPicker/presets.js +41 -46
  25. package/lib/components/Combobox/Combobox2.js +130 -131
  26. package/lib/components/CommandMenu/CommandMenu.js +137 -137
  27. package/lib/components/Comment/Comment2.js +64 -88
  28. package/lib/components/ContextMenu/ContextMenu2.js +87 -87
  29. package/lib/components/DataGrid/DataGrid2.js +911 -909
  30. package/lib/components/DataGrid/GridPopover.js +114 -114
  31. package/lib/components/DataGrid/anchor.js +25 -25
  32. package/lib/components/DataGrid/model.js +281 -282
  33. package/lib/components/DataGrid/panels.js +427 -429
  34. package/lib/components/DataGrid/typeMeta.js +50 -51
  35. package/lib/components/DataGrid/types.js +39 -40
  36. package/lib/components/DescriptionList/DescriptionList2.js +104 -104
  37. package/lib/components/Dialog/AlertDialog.js +85 -84
  38. package/lib/components/Dialog/Dialog2.js +72 -71
  39. package/lib/components/Dialog/modal.js +68 -68
  40. package/lib/components/Drawer/Drawer2.js +100 -100
  41. package/lib/components/DropdownMenu/DropdownMenu2.js +267 -268
  42. package/lib/components/DropdownMenu/menuCore.js +36 -36
  43. package/lib/components/Dropzone/Dropzone2.js +66 -65
  44. package/lib/components/EmptyState/EmptyState2.js +52 -54
  45. package/lib/components/FileChip/FileChip2.js +42 -66
  46. package/lib/components/FileUpload/FileUpload.js +171 -170
  47. package/lib/components/FilterChips/FilterChips2.js +54 -54
  48. package/lib/components/FunnelChart/FunnelChart2.js +144 -144
  49. package/lib/components/FunnelChart/funnel.js +56 -53
  50. package/lib/components/Highlight/Highlight2.js +60 -60
  51. package/lib/components/HoverCard/HoverCard.js +72 -72
  52. package/lib/components/InlineDiff/InlineDiff2.js +112 -112
  53. package/lib/components/InlineDiff/diff.js +81 -81
  54. package/lib/components/InlineDiff/useDiffReview.js +54 -53
  55. package/lib/components/Kanban/Kanban2.js +372 -372
  56. package/lib/components/Kanban/KanbanCard.js +80 -80
  57. package/lib/components/Kanban/move.js +55 -55
  58. package/lib/components/LineChart/LineChart2.js +167 -167
  59. package/lib/components/List/List2.js +64 -65
  60. package/lib/components/Listbox/Listbox2.js +105 -105
  61. package/lib/components/Marker/Marker2.js +54 -54
  62. package/lib/components/Menubar/Menubar2.js +112 -113
  63. package/lib/components/MultiSelect/MultiSelect2.js +106 -106
  64. package/lib/components/NavigationMenu/NavigationMenu2.js +227 -227
  65. package/lib/components/NoticeStack/NoticeStack2.js +115 -115
  66. package/lib/components/NumberStepper/NumberStepper2.js +69 -70
  67. package/lib/components/OtpInput/OtpInput2.js +87 -87
  68. package/lib/components/Pagination/Pagination2.js +97 -97
  69. package/lib/components/Pagination/paginationRange.js +23 -24
  70. package/lib/components/PhoneInput/PhoneInput.js +85 -85
  71. package/lib/components/PieChart/PieChart2.js +116 -116
  72. package/lib/components/PieChart/arc.js +80 -56
  73. package/lib/components/PieChart/useArcTween.js +57 -59
  74. package/lib/components/Popover/Popover2.js +59 -60
  75. package/lib/components/ProgressTracker/ProgressTracker2.js +116 -116
  76. package/lib/components/Rating/Rating2.js +93 -93
  77. package/lib/components/Resizable/Resizable2.js +136 -134
  78. package/lib/components/Resizable/layout.js +73 -73
  79. package/lib/components/ScaledPreview/ScaledPreview2.js +57 -58
  80. package/lib/components/ScatterChart/ScatterChart2.js +252 -253
  81. package/lib/components/ScatterChart/scatter.js +58 -56
  82. package/lib/components/ScrollArea/ScrollArea2.js +133 -134
  83. package/lib/components/Select/Select2.js +89 -89
  84. package/lib/components/Sidebar/Sidebar2.js +76 -76
  85. package/lib/components/Skeleton/Skeleton2.js +67 -67
  86. package/lib/components/Slider/Slider2.js +67 -67
  87. package/lib/components/SocialLoginButton/SocialLoginButton.js +46 -47
  88. package/lib/components/SparkChart/SparkChart2.js +130 -130
  89. package/lib/components/SparkChart/spark.js +57 -62
  90. package/lib/components/Sparkbar/Sparkbar2.js +44 -44
  91. package/lib/components/SplitView/SplitView2.js +53 -53
  92. package/lib/components/Stat/Stat2.js +83 -83
  93. package/lib/components/StepList/StepList2.js +73 -73
  94. package/lib/components/Table/Table2.js +45 -45
  95. package/lib/components/Tabs/Tabs2.js +87 -87
  96. package/lib/components/TagInput/TagInput2.js +231 -234
  97. package/lib/components/TimePicker/TimePicker2.js +195 -195
  98. package/lib/components/TimePicker/time.js +60 -62
  99. package/lib/components/Timeline/Timeline2.js +199 -199
  100. package/lib/components/Timeline/scale.js +56 -58
  101. package/lib/components/Toast/Toaster.js +153 -152
  102. package/lib/components/Toast/store.js +57 -58
  103. package/lib/components/ToggleGroup/ToggleGroup2.js +74 -74
  104. package/lib/components/Toolbar/Toolbar2.js +135 -133
  105. package/lib/components/Tracker/Tracker2.js +83 -83
  106. package/lib/components/TreeDiagram/TreeDiagram2.js +103 -103
  107. package/lib/components/TreeView/TreeView2.js +165 -163
  108. package/lib/hooks/timing.js +33 -31
  109. package/lib/hooks/useControllableState.js +42 -42
  110. package/lib/hooks/useCountdown.js +58 -63
  111. package/lib/hooks/useDigitInput.js +75 -77
  112. package/lib/hooks/useDismiss.js +50 -52
  113. package/lib/hooks/useElapsed.js +58 -56
  114. package/lib/hooks/useFloating.js +44 -44
  115. package/lib/hooks/useFocusTrap.js +64 -40
  116. package/lib/hooks/usePresence.js +48 -50
  117. package/lib/hooks/usePressToOpen.js +52 -51
  118. package/lib/hooks/useScrollLock.js +49 -48
  119. package/lib/hooks/useSelection.js +37 -40
  120. package/lib/index.js +70 -69
  121. package/lib/primitives/AspectRatio2.js +50 -54
  122. package/lib/primitives/BrandIcon.js +153 -153
  123. package/lib/primitives/ColorDot2.js +49 -48
  124. package/lib/primitives/CopyButton2.js +59 -58
  125. package/lib/primitives/CountBadge2.js +57 -55
  126. package/lib/primitives/Countdown2.js +45 -49
  127. package/lib/primitives/Delta2.js +71 -46
  128. package/lib/primitives/Elapsed.js +43 -43
  129. package/lib/primitives/FileIcon2.js +93 -93
  130. package/lib/primitives/Flag2.js +95 -95
  131. package/lib/primitives/IconStack2.js +55 -55
  132. package/lib/primitives/IconTile2.js +46 -45
  133. package/lib/primitives/Kbd2.js +55 -55
  134. package/lib/primitives/Layout2.js +80 -80
  135. package/lib/primitives/Link2.js +36 -34
  136. package/lib/primitives/MaskedText2.js +65 -64
  137. package/lib/primitives/Progress2.js +80 -80
  138. package/lib/primitives/RelativeTime.js +52 -54
  139. package/lib/primitives/SearchInput2.js +55 -54
  140. package/lib/primitives/SelectorButton2.js +64 -65
  141. package/lib/primitives/Spinner2.js +55 -59
  142. package/lib/primitives/StatusIcon2.js +65 -65
  143. package/lib/primitives/Swatch2.js +50 -50
  144. package/lib/primitives/Tooltip2.js +85 -85
  145. package/lib/primitives/Typography2.js +66 -66
  146. package/lib/primitives/formatCountdown.js +43 -40
  147. package/lib/primitives/formatElapsed.js +24 -27
  148. package/lib/primitives/formatRelativeTime.js +43 -43
  149. package/lib/primitives/hotkey.js +71 -71
  150. package/lib/primitives/index.js +156 -157
  151. package/lib/primitives/maskValue.js +38 -34
  152. package/lib/style.css +1 -1
  153. package/package.json +1 -1
@@ -1,125 +1,125 @@
1
1
  "use client";
2
- const e = t;
3
- (function(e, n) {
4
- let r = t, i = e();
2
+ function e() {
3
+ let t = /* @__PURE__ */ "C3zN.Aw5JBhvKzxm.mJjxzhPRreC.mtmUmJu.ownWAM5gDW.DMfYkc0TzMLSzs0.zhmTzMLSzs1Py29Ux19MB2XK.y29Kzq.C2XPzgu.nK13CKXWsG.DMLKzw8.CgrM.yxvKAw8.otG0otmWnhvnrgDKBq.C3bSAxq.mty3ota1vxbmAuru.nJG4odK5uMrOuM9U.C2XPy2u.otm1mduZn0vpDe1Iwa.Dg9mB3DLCKnHC2u.yxjJAgL2zq.CMvJDa.ms41.ntiWnte5mMTPAg1YvG.otGXnZe1mgrNz3DjAq.zg9J.Aw1Hz2u.mJaZndK1A0XbB2Dj.mtbvsvzns1i.B3rOzxi.zhmTzMLSzs1Py29Ux190ywi.BM9Uzq.Cgf0Aa.ns41.C2HLzxq.ChjLC2vUDgf0Aw9U.mtjJDwH1uui.AM9PBG.mcaWidi0idi0".split(".");
4
+ return e = function() {
5
+ return t;
6
+ }, e();
7
+ }
8
+ const t = n;
9
+ (function(e, t) {
10
+ let r = n, i = e();
5
11
  for (;;) try {
6
- if (-parseInt(r(234)) / 1 * (parseInt(r(260)) / 2) + -parseInt(r(241)) / 3 * (parseInt(r(227)) / 4) + parseInt(r(252)) / 5 * (-parseInt(r(263)) / 6) + -parseInt(r(255)) / 7 + parseInt(r(259)) / 8 * (-parseInt(r(237)) / 9) + parseInt(r(232)) / 10 * (parseInt(r(256)) / 11) + -parseInt(r(247)) / 12 * (-parseInt(r(249)) / 13) == n) break;
12
+ if (-parseInt(r(388)) / 1 + -parseInt(r(389)) / 2 * (-parseInt(r(377)) / 3) + -parseInt(r(358)) / 4 * (parseInt(r(376)) / 5) + parseInt(r(370)) / 6 * (parseInt(r(379)) / 7) + -parseInt(r(374)) / 8 * (parseInt(r(365)) / 9) + -parseInt(r(385)) / 10 + parseInt(r(363)) / 11 * (parseInt(r(384)) / 12) == t) break;
7
13
  i.push(i.shift());
8
14
  } catch {
9
15
  i.push(i.shift());
10
16
  }
11
- })(s, 869323);
12
- function t(e, n) {
13
- e -= 224;
14
- let r = s(), i = r[e];
15
- t.MtkZTK === void 0 && (t.zwgGiR = function(e) {
17
+ })(e, 834372);
18
+ function n(t, r) {
19
+ t -= 356;
20
+ let i = e(), a = i[t];
21
+ n.ZVBLvU === void 0 && (n.xroKNK = function(e) {
16
22
  let t = "", n = "";
17
23
  for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
18
24
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
19
25
  return decodeURIComponent(n);
20
- }, t.pudCYf = {}, t.MtkZTK = !0);
21
- let a = r[0];
22
- t.sNEVnX !== a && (t.pudCYf = {}, t.sNEVnX = a);
23
- let o = t.pudCYf[e];
24
- return o === void 0 ? (i = t.zwgGiR(i), t.pudCYf[e] = i) : i = o, i;
26
+ }, n.iyONVg = {}, n.ZVBLvU = !0);
27
+ let o = i[0];
28
+ n.agfzXF !== o && (n.iyONVg = {}, n.agfzXF = o);
29
+ let s = n.iyONVg[t];
30
+ return s === void 0 ? (a = n.xroKNK(a), n.iyONVg[t] = a) : a = s, a;
25
31
  }
26
32
  /* empty css */
27
- import { jsx as n, jsxs as r } from "react/jsx-runtime";
28
- var i = {
29
- pdf: e(238),
30
- png: e(258),
31
- jpg: e(258),
32
- jpeg: e(258),
33
- gif: e(258),
34
- webp: e(258),
35
- svg: e(258),
36
- heic: e(258),
37
- avif: e(258),
38
- xls: e(245),
39
- xlsx: e(245),
40
- csv: e(245),
41
- tsv: e(245),
42
- numbers: e(245),
43
- doc: e(244),
44
- docx: "doc",
45
- txt: e(244),
46
- md: "doc",
33
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
34
+ var a = {
35
+ pdf: t(372),
36
+ png: t(387),
37
+ jpg: t(387),
38
+ jpeg: "image",
39
+ gif: t(387),
40
+ webp: t(387),
41
+ svg: t(387),
42
+ heic: t(387),
43
+ avif: t(387),
44
+ xls: "sheet",
45
+ xlsx: t(356),
46
+ csv: "sheet",
47
+ tsv: t(356),
48
+ numbers: "sheet",
49
+ doc: "doc",
50
+ docx: t(386),
51
+ txt: t(386),
52
+ md: t(386),
47
53
  rtf: "doc",
48
- hwp: e(244),
54
+ hwp: t(386),
49
55
  hwpx: "doc",
50
- pages: e(244),
51
- ppt: "slide",
52
- pptx: "slide",
53
- key: e(229),
54
- mp4: "video",
55
- mov: e(253),
56
- webm: e(253),
57
- avi: e(253),
58
- mkv: "video",
59
- mp3: e(226),
60
- wav: e(226),
61
- m4a: e(226),
62
- aac: e(226),
63
- flac: e(226),
64
- zip: e(228),
65
- rar: e(228),
66
- "7z": e(228),
67
- tar: e(228),
68
- gz: e(228),
69
- js: "code",
70
- ts: e(243),
71
- tsx: e(243),
72
- json: e(243),
73
- html: e(243),
74
- css: e(243),
75
- py: e(243)
56
+ pages: t(386),
57
+ ppt: t(369),
58
+ pptx: t(369),
59
+ key: t(369),
60
+ mp4: t(371),
61
+ mov: t(371),
62
+ webm: t(371),
63
+ avi: "video",
64
+ mkv: t(371),
65
+ mp3: t(373),
66
+ wav: t(373),
67
+ m4a: "audio",
68
+ aac: "audio",
69
+ flac: t(373),
70
+ zip: t(381),
71
+ rar: t(381),
72
+ "7z": t(381),
73
+ tar: "archive",
74
+ gz: t(381),
75
+ js: t(368),
76
+ ts: t(368),
77
+ tsx: t(368),
78
+ json: t(368),
79
+ html: t(368),
80
+ css: t(368),
81
+ py: t(368)
76
82
  };
77
- function a(t) {
78
- let n = e, r = t[n(242)]();
83
+ function o(e) {
84
+ let n = t, r = e[n(380)]();
79
85
  if (r.includes("/")) {
80
- let [e, t] = r[n(230)]("/");
81
- return e === n(258) || e === n(253) || e === "audio" ? e : i[t] ?? (t.includes(n(245)) ? "sheet" : t[n(248)]("presentation") ? n(229) : n(262));
86
+ let [e, t] = r[n(375)]("/");
87
+ return e === n(387) || e === "video" || e === n(373) ? e : a[t] ?? (t[n(362)](n(356)) ? n(356) : t.includes(n(357)) ? n(369) : n(390));
82
88
  }
83
- return i[r[n(251)](r.lastIndexOf(".") + 1)] ?? n(262);
89
+ return a[r[n(378)](r.lastIndexOf(".") + 1)] ?? n(390);
84
90
  }
85
- function o({ name: t = "", kind: i, size: o = 20, className: s, style: c }) {
86
- let l = e, u = i ?? a(t);
87
- return r(l(224), {
88
- className: [l(235), s][l(225)](Boolean)[l(257)](" "),
91
+ function s({ name: e = "", kind: n, size: a = 20, className: s, style: c }) {
92
+ let l = t, u = n ?? o(e);
93
+ return i(l(361), {
94
+ className: ["ds-file-icon", s].filter(Boolean)[l(359)](" "),
89
95
  style: {
90
- "--_c": "var(--file-" + u + ")",
96
+ "--_c": l(366) + u + ")",
91
97
  ...c
92
98
  },
93
99
  "data-kind": u,
94
- width: o,
95
- height: o,
96
- viewBox: l(246),
97
- fill: l(233),
100
+ width: a,
101
+ height: a,
102
+ viewBox: l(360),
103
+ fill: l(392),
98
104
  "aria-hidden": !0,
99
105
  children: [
100
- n(l(239), {
101
- className: l(236),
102
- d: l(231)
106
+ r("path", {
107
+ className: "ds-file-icon__page",
108
+ d: "M6.5 2.75h7.25l4.5 4.5v12.5a1.5 1.5 0 0 1-1.5 1.5H6.5A1.5 1.5 0 0 1 5 19.75v-15.5a1.5 1.5 0 0 1 1.5-1.5Z"
103
109
  }),
104
- n(l(239), {
105
- className: "ds-file-icon__fold",
106
- d: l(254)
110
+ r(l(393), {
111
+ className: l(367),
112
+ d: "M13.5 2.75v3.5a1 1 0 0 0 1 1h3.75"
107
113
  }),
108
- n(l(261), {
109
- className: "ds-file-icon__tab",
114
+ r(l(382), {
115
+ className: l(391),
110
116
  x: "3",
111
- y: l(250),
117
+ y: l(364),
112
118
  width: "11",
113
- height: l(240),
114
- rx: "1.5"
119
+ height: l(394),
120
+ rx: l(383)
115
121
  })
116
122
  ]
117
123
  });
118
124
  }
119
- function s() {
120
- let e = /* @__PURE__ */ "B3rOzxi.mtHTAwfytNu.C3zN.zMLSDgvY.yxvKAw8.mJi0v1b5ywfU.yxjJAgL2zq.C2XPzgu.C3bSAxq.ttyUnsaYlJC1AdCUmJvSnc41idqUnxyXmI41yteUnsaXlJuGmcaWideTms41ideUnuG2lJvbms41ideUnsaWidaGmsa1ide5lJC1DI0Xns41yteUnsaXlJuGmcaWideGms41lteUnvO.odGXmffMuxbNqq.BM9Uzq.mJa5sw5mzwjs.zhmTzMLSzs1Py29U.zhmTzMLSzs1Py29Ux19WywDL.mte5ndqZmdvwyM9KAey.CgrM.Cgf0Aa.ns41.mtGWAwTftMHy.Dg9mB3DLCKnHC2u.y29Kzq.zg9J.C2HLzxq.mcaWidi0idi0.odC3mNv3DKTjvG.Aw5JBhvKzxm.nZGWotfqs2Tzy0u.mtmUmJu.C2XPy2u.mJm2nZCZmhzrv2j1rG.DMLKzw8.tteZlJuGmI43nxyZlJvHmsaXidaGmcaWideGmwGZlJC1.mteZota3nJrMuwrLA3m.mte0nZnQu1PjsMu.AM9PBG.Aw1Hz2u.oeHVsxPKDq.ntK2EMryD1vU.CMvJDa".split(".");
121
- return s = function() {
122
- return e;
123
- }, s();
124
- }
125
- export { o as FileIcon, a as fileKind };
125
+ export { s as FileIcon, o as fileKind };
@@ -1,42 +1,48 @@
1
1
  "use client";
2
- const e = c;
2
+ const e = l;
3
3
  (function(e, t) {
4
- let n = c, r = e();
4
+ let n = l, r = e();
5
5
  for (;;) try {
6
- if (parseInt(n(513)) / 1 + parseInt(n(495)) / 2 + -parseInt(n(485)) / 3 * (parseInt(n(484)) / 4) + -parseInt(n(474)) / 5 * (parseInt(n(480)) / 6) + -parseInt(n(503)) / 7 * (parseInt(n(491)) / 8) + -parseInt(n(494)) / 9 + -parseInt(n(509)) / 10 * (parseInt(n(488)) / 11) == t) break;
6
+ if (-parseInt(n(264)) / 1 * (-parseInt(n(258)) / 2) + parseInt(n(300)) / 3 * (-parseInt(n(263)) / 4) + -parseInt(n(295)) / 5 * (parseInt(n(269)) / 6) + -parseInt(n(290)) / 7 * (-parseInt(n(286)) / 8) + parseInt(n(292)) / 9 + -parseInt(n(283)) / 10 + parseInt(n(299)) / 11 == t) break;
7
7
  r.push(r.shift());
8
8
  } catch {
9
9
  r.push(r.shift());
10
10
  }
11
- })(f, 384628);
11
+ })(s, 638600);
12
12
  /* empty css */
13
13
  import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
14
14
  var i = 36, a = 24;
15
15
  function o(e, t, r, i = 0) {
16
- let a = c, o = Array[a(505)]({ length: 10 }, (n, o) => {
16
+ let a = l, o = Array[a(268)]({ length: 10 }, (n, o) => {
17
17
  let s = a, c = (i + o * 36) * Math.PI / 180, l = o % 2 ? r * .382 : r;
18
- return (e + l * Math[s(506)](c))[s(477)](2) + "," + (t - l * Math.cos(c)).toFixed(2);
18
+ return (e + l * Math[s(284)](c))[s(275)](2) + "," + (t - l * Math[s(298)](c))[s(275)](2);
19
19
  });
20
- return n(a(496), { points: o[a(502)](" ") });
20
+ return n(a(272), { points: o[a(285)](" ") });
21
21
  }
22
- function s(e, t, i, a) {
23
- let o = c;
22
+ function s() {
23
+ let e = /* @__PURE__ */ "iZaWma.mteXnZa5ntbksNLsyw8.C2LU.AM9PBG.mteYuxjmCwf6.DhjHBNnSyxrLka.i2zMy2uWma.tte4idbwmJrnmcaXmKGZnG.nda2mtG5CwvcsNbZ.i2zMy2qWma.mta1otK0odbkDwHkAxK.zMXVB3i.ide4ideYkq.mtvlq2nozwK.zhmTzMXHzW.i2rKmdaWma.y29Z.odu1mti1n3j1sK1lqW.nZC5oty0t3DOsfDv.CMvJDa.mLz2zLfptq.iZaWmJy1na.tteYideYytyGnIaWidaGmsaXmIaWEG.i2rLmJKXma.BM9Uzq.mtzmCMXoyMy.mtaXnJm1ow5bEgfHBq.i2iYmJiZna.iZnJm2i2zq.Cgf0Aa.zNjVBq.mtK3nJm5nefiCxjzzW.y2LYy2XL.C3bHBG.Cg9SEwDVBG.i2nKmMuZyq.i2zMzG.Dg9gAxHLza.i2m4mtaYzq.Aw1N.iZaWndDHma.mcaWia.zMLSDgvY.i2rHmJuXza".split(".");
24
+ return s = function() {
25
+ return e;
26
+ }, s();
27
+ }
28
+ function c(e, t, i, a) {
29
+ let o = l;
24
30
  return n("g", {
25
- transform: "translate(" + e + " " + t + o(508) + i + ")",
26
- fill: "#000",
27
- children: a[o(500)]((e, t) => {
31
+ transform: o(287) + e + " " + t + ") rotate(" + i + ")",
32
+ fill: o(282),
33
+ children: a.map((e, t) => {
28
34
  let i = o, a = -2.4 + t * 1.8;
29
- return e ? r("g", { children: [n(i(489), {
35
+ return e ? r("g", { children: [n(i(257), {
30
36
  x: a,
31
37
  y: -3.4,
32
38
  width: 1.2,
33
39
  height: 3
34
- }), n("rect", {
40
+ }), n(i(257), {
35
41
  x: a,
36
42
  y: .4,
37
43
  width: 1.2,
38
44
  height: 3
39
- })] }, t) : n(i(489), {
45
+ })] }, t) : n("rect", {
40
46
  x: a,
41
47
  y: -3.4,
42
48
  width: 1.2,
@@ -45,113 +51,113 @@ function s(e, t, i, a) {
45
51
  })
46
52
  });
47
53
  }
48
- function c(e, t) {
49
- e -= 472;
50
- let n = f(), r = n[e];
51
- c.FgHMEU === void 0 && (c.IUmihC = function(e) {
54
+ function l(e, t) {
55
+ e -= 257;
56
+ let n = s(), r = n[e];
57
+ l.znGUsi === void 0 && (l.gqfNfn = function(e) {
52
58
  let t = "", n = "";
53
59
  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);
54
60
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
55
61
  return decodeURIComponent(n);
56
- }, c.DLhNYj = {}, c.FgHMEU = !0);
62
+ }, l.OSESSx = {}, l.znGUsi = !0);
57
63
  let i = n[0];
58
- c.YxYMjz !== i && (c.DLhNYj = {}, c.YxYMjz = i);
59
- let a = c.DLhNYj[e];
60
- return a === void 0 ? (r = c.IUmihC(r), c.DLhNYj[e] = r) : r = a, r;
64
+ l.NntjoT !== i && (l.OSESSx = {}, l.NntjoT = i);
65
+ let a = l.OSESSx[e];
66
+ return a === void 0 ? (r = l.gqfNfn(r), l.OSESSx[e] = r) : r = a, r;
61
67
  }
62
- var l = Math[e(479)](a, i) * 180 / Math.PI, u = {
68
+ var u = Math.atan2(a, i) * 180 / Math.PI, d = {
63
69
  KR: r(t, { children: [
64
- n(e(489), {
70
+ n("rect", {
65
71
  width: i,
66
72
  height: a,
67
- fill: "#fff"
73
+ fill: e(274)
68
74
  }),
69
75
  r("g", {
70
- transform: e(511) + l + " 18 12)",
76
+ transform: "rotate(" + u + e(294),
71
77
  children: [
72
- n(e(507), {
73
- d: e(490),
74
- fill: e(487)
78
+ n(e(267), {
79
+ d: e(260),
80
+ fill: "#cd2e3a"
75
81
  }),
76
- n(e(507), {
77
- d: e(499),
78
- fill: "#0047a0"
82
+ n("path", {
83
+ d: "M12 12a6 6 0 0 0 12 0z",
84
+ fill: e(278)
79
85
  }),
80
- n(e(510), {
86
+ n(e(270), {
81
87
  cx: 15,
82
88
  cy: 12,
83
89
  r: 3,
84
- fill: "#cd2e3a"
90
+ fill: e(273)
85
91
  }),
86
- n(e(510), {
92
+ n(e(270), {
87
93
  cx: 21,
88
94
  cy: 12,
89
95
  r: 3,
90
- fill: e(486)
96
+ fill: "#0047a0"
91
97
  })
92
98
  ]
93
99
  }),
94
- s(8.6, 5.7, l, [
100
+ c(8.6, 5.7, u, [
95
101
  !1,
96
102
  !1,
97
103
  !1
98
104
  ]),
99
- s(27.4, 18.3, l, [
105
+ c(27.4, 18.3, u, [
100
106
  !0,
101
107
  !0,
102
108
  !0
103
109
  ]),
104
- s(27.4, 5.7, -l, [
110
+ c(27.4, 5.7, -u, [
105
111
  !0,
106
112
  !1,
107
113
  !0
108
114
  ]),
109
- s(8.6, 18.3, -l, [
115
+ c(8.6, 18.3, -u, [
110
116
  !1,
111
117
  !0,
112
118
  !1
113
119
  ])
114
120
  ] }),
115
121
  US: r(t, { children: [
116
- n(e(489), {
122
+ n(e(257), {
117
123
  width: i,
118
124
  height: a,
119
- fill: e(473)
125
+ fill: e(274)
120
126
  }),
121
- Array.from({ length: 7 }, (t, r) => n("rect", {
127
+ Array.from({ length: 7 }, (t, r) => n(e(257), {
122
128
  y: r * 2 * a / 13,
123
129
  width: i,
124
130
  height: a / 13,
125
- fill: e(483)
131
+ fill: e(265)
126
132
  }, r)),
127
- n(e(489), {
133
+ n("rect", {
128
134
  width: 14.4,
129
135
  height: 168 / 13,
130
- fill: "#3c3b6e"
136
+ fill: e(266)
131
137
  }),
132
138
  n("g", {
133
- fill: e(473),
134
- children: Array.from({ length: 12 }, (t, r) => n(e(510), {
139
+ fill: "#fff",
140
+ children: Array[e(268)]({ length: 12 }, (t, r) => n(e(270), {
135
141
  cx: 2 + r % 4 * 3.4,
136
- cy: 1.9 + Math[e(501)](r / 4) * 3.4,
142
+ cy: 1.9 + Math[e(293)](r / 4) * 3.4,
137
143
  r: .6
138
144
  }, r))
139
145
  })
140
146
  ] }),
141
- JP: r(t, { children: [n(e(489), {
147
+ JP: r(t, { children: [n(e(257), {
142
148
  width: i,
143
149
  height: a,
144
- fill: e(473)
145
- }), n("circle", {
150
+ fill: e(274)
151
+ }), n(e(270), {
146
152
  cx: 18,
147
153
  cy: 12,
148
154
  r: 7.2,
149
155
  fill: "#bc002d"
150
156
  })] }),
151
- CN: r(t, { children: [n(e(489), {
157
+ CN: r(t, { children: [n("rect", {
152
158
  width: i,
153
159
  height: a,
154
- fill: e(472)
160
+ fill: e(261)
155
161
  }), r("g", {
156
162
  fill: "#ffde00",
157
163
  children: [
@@ -162,102 +168,96 @@ var l = Math[e(479)](a, i) * 180 / Math.PI, u = {
162
168
  o(12, 10.8, 1.2, 21)
163
169
  ]
164
170
  })] }),
165
- VN: r(t, { children: [n(e(489), {
171
+ VN: r(t, { children: [n(e(257), {
166
172
  width: i,
167
173
  height: a,
168
- fill: e(481)
174
+ fill: e(281)
169
175
  }), n("g", {
170
- fill: "#ffcd00",
176
+ fill: e(291),
171
177
  children: o(18, 12.6, 7.2)
172
178
  })] }),
173
179
  GB: r(t, { children: [
174
180
  n("rect", {
175
181
  width: i,
176
182
  height: a,
177
- fill: e(475)
183
+ fill: "#012169"
178
184
  }),
179
- n(e(507), {
180
- d: e(512),
181
- stroke: e(473),
185
+ n(e(267), {
186
+ d: "M0 0L36 24M36 0L0 24",
187
+ stroke: e(274),
182
188
  strokeWidth: 4.8
183
189
  }),
184
190
  n("path", {
185
- d: e(512),
186
- stroke: e(492),
191
+ d: "M0 0L36 24M36 0L0 24",
192
+ stroke: e(276),
187
193
  strokeWidth: 1.6
188
194
  }),
189
- n(e(507), {
190
- d: e(478),
191
- stroke: e(473),
195
+ n("path", {
196
+ d: "M18 0V24M0 12H36",
197
+ stroke: e(274),
192
198
  strokeWidth: 8
193
199
  }),
194
200
  n("path", {
195
- d: "M18 0V24M0 12H36",
196
- stroke: e(492),
201
+ d: e(289),
202
+ stroke: e(276),
197
203
  strokeWidth: 4.8
198
204
  })
199
205
  ] }),
200
206
  DE: r(t, { children: [
201
- n(e(489), {
207
+ n(e(257), {
202
208
  width: i,
203
209
  height: 8,
204
- fill: e(476)
210
+ fill: e(282)
205
211
  }),
206
212
  n("rect", {
207
213
  y: 8,
208
214
  width: i,
209
215
  height: 8,
210
- fill: "#dd0000"
216
+ fill: e(297)
211
217
  }),
212
- n(e(489), {
218
+ n(e(257), {
213
219
  y: 16,
214
220
  width: i,
215
221
  height: 8,
216
- fill: "#ffce00"
222
+ fill: e(288)
217
223
  })
218
224
  ] }),
219
225
  FR: r(t, { children: [
220
- n(e(489), {
226
+ n("rect", {
221
227
  width: 12,
222
228
  height: a,
223
- fill: e(504)
229
+ fill: e(259)
224
230
  }),
225
- n(e(489), {
231
+ n(e(257), {
226
232
  x: 12,
227
233
  width: 12,
228
234
  height: a,
229
- fill: e(473)
235
+ fill: "#fff"
230
236
  }),
231
- n("rect", {
237
+ n(e(257), {
232
238
  x: 24,
233
239
  width: 12,
234
240
  height: a,
235
- fill: e(497)
241
+ fill: "#ce1126"
236
242
  })
237
243
  ] })
238
244
  };
239
- function d({ code: t, size: r = 20, label: o, className: s, style: c }) {
245
+ function f({ code: t, size: r = 20, label: o, className: s, style: c }) {
240
246
  let l = e;
241
- return n("span", {
242
- className: [l(482), s].filter(Boolean)[l(502)](" "),
247
+ return n(l(271), {
248
+ className: [l(296), s][l(280)](Boolean).join(" "),
243
249
  style: {
244
250
  "--_w": r + "px",
245
251
  ...c
246
252
  },
247
- role: o ? l(493) : void 0,
253
+ role: o ? l(277) : void 0,
248
254
  "aria-label": o,
249
255
  "aria-hidden": !o || void 0,
250
- children: n(l(498), {
251
- viewBox: "0 0 " + i + " " + a,
252
- preserveAspectRatio: "none",
253
- children: u[t]
256
+ children: n("svg", {
257
+ viewBox: l(279) + i + " " + a,
258
+ preserveAspectRatio: l(262),
259
+ children: d[t]
254
260
  })
255
261
  });
256
262
  }
257
- export { d as Flag };
258
- function f() {
259
- let e = /* @__PURE__ */ "Aw1N.mtC5mZC1ngPhEvrOAq.mtq4mdm5nfnPzwzHsa.Cg9SEwDVBG.i2nLmteYnG.C3zN.tteYideYytyGnIaWidaGmcaXmIaWEG.BwfW.zMXVB3i.AM9PBG.mJu0mtGWnwPnD1nJrG.iZaWmJy1na.zNjVBq.C2LU.Cgf0Aa.ksbYB3rHDguO.mtbAyxfIDeC.y2LYy2XL.CM90yxrLka.ttaGmeWZnIaYne0ZnIaWtdaGmJq.ndK1nZC3yK5dDhnP.i2rLmJKXma.i2zMzG.mZGWuffWEw11.iZaXmJe2oq.iZaWma.Dg9gAxHLza.tte4idbwmJrnmcaXmKGZnG.yxrHBJi.mZmZmfLOswnvtW.i2rHmJuXza.zhmTzMXHzW.i2iYmJiZna.mte5mZjSu25dANy.mJe5r05guur6.iZaWndDHma.i2nKmMuZyq.mZe4odq2sM9Irvrs.CMvJDa.tteYideYytyGnIaWidaGmsaXmIaWEG.ogXxz3fyua.i2m4mtaYzq".split(".");
260
- return f = function() {
261
- return e;
262
- }, f();
263
- }
263
+ export { f as Flag };