@iamfiro/design 0.3.0 → 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.
- package/agents/avatar/AGENTS.md +29 -1
- package/agents/tooltip/AGENTS.md +1 -1
- package/lib/components/Accordion/Accordion2.js +76 -76
- package/lib/components/ActionBar/ActionBar2.js +43 -43
- package/lib/components/Alert/Alert2.js +46 -46
- package/lib/components/AppShell/AppShell2.js +58 -58
- package/lib/components/AreaChart/AreaChart.js +39 -40
- package/lib/components/BarChart/BarChart2.js +169 -169
- package/lib/components/BarList/BarList2.js +99 -99
- package/lib/components/Breadcrumb/Breadcrumb2.js +65 -66
- package/lib/components/Calendar/Calendar2.js +172 -171
- package/lib/components/Calendar/DatePicker2.js +101 -102
- package/lib/components/Calendar/date.js +71 -71
- package/lib/components/Card/Card2.js +55 -56
- package/lib/components/CardFrame/CardFrame2.js +52 -52
- package/lib/components/Chart/ChartParts.js +90 -90
- package/lib/components/Chart/chart2.js +52 -52
- package/lib/components/Chart/useChartInteraction.js +44 -44
- package/lib/components/ChatBubble/ChatBubble2.js +112 -112
- package/lib/components/ChatBubble/formatChatTime.js +44 -42
- package/lib/components/ChatComposer/ChatComposer2.js +94 -94
- package/lib/components/CodeBlock/CodeBlock2.js +66 -66
- package/lib/components/CodeBlock/highlight.js +67 -70
- package/lib/components/ColorPicker/ColorPicker2.js +404 -405
- package/lib/components/ColorPicker/color.js +81 -81
- package/lib/components/ColorPicker/presets.js +44 -43
- package/lib/components/Combobox/Combobox2.js +128 -128
- package/lib/components/CommandMenu/CommandMenu.js +137 -137
- package/lib/components/Comment/Comment2.js +55 -80
- package/lib/components/ContextMenu/ContextMenu2.js +93 -94
- package/lib/components/DataGrid/DataGrid2.js +1181 -1180
- package/lib/components/DataGrid/GridPopover.js +112 -112
- package/lib/components/DataGrid/anchor.js +23 -25
- package/lib/components/DataGrid/model.js +274 -275
- package/lib/components/DataGrid/panels.js +423 -423
- package/lib/components/DataGrid/typeMeta.js +21 -22
- package/lib/components/DataGrid/types.js +38 -37
- package/lib/components/DescriptionList/DescriptionList2.js +107 -107
- package/lib/components/Dialog/AlertDialog.js +53 -53
- package/lib/components/Dialog/Dialog2.js +71 -70
- package/lib/components/Dialog/modal.js +59 -58
- package/lib/components/Drawer/Drawer2.js +123 -124
- package/lib/components/DropdownMenu/DropdownMenu2.js +198 -200
- package/lib/components/DropdownMenu/menuCore.js +46 -47
- package/lib/components/Dropzone/Dropzone2.js +77 -77
- package/lib/components/EmptyState/EmptyState2.js +57 -56
- package/lib/components/FileChip/FileChip2.js +71 -71
- package/lib/components/FileUpload/FileUpload.js +119 -119
- package/lib/components/FilterChips/FilterChips2.js +61 -61
- package/lib/components/FunnelChart/FunnelChart2.js +141 -141
- package/lib/components/FunnelChart/funnel.js +51 -51
- package/lib/components/Highlight/Highlight2.js +54 -54
- package/lib/components/HoverCard/HoverCard.js +108 -83
- package/lib/components/InlineDiff/InlineDiff2.js +126 -126
- package/lib/components/InlineDiff/diff.js +82 -82
- package/lib/components/InlineDiff/useDiffReview.js +62 -60
- package/lib/components/Kanban/Kanban2.js +382 -382
- package/lib/components/Kanban/KanbanCard.js +92 -92
- package/lib/components/Kanban/move.js +45 -49
- package/lib/components/LineChart/LineChart2.js +207 -207
- package/lib/components/List/List2.js +71 -71
- package/lib/components/Listbox/Listbox2.js +115 -115
- package/lib/components/Marker/Marker2.js +67 -60
- package/lib/components/Menubar/Menubar2.js +130 -133
- package/lib/components/MultiSelect/MultiSelect2.js +104 -104
- package/lib/components/NavigationMenu/NavigationMenu2.js +261 -262
- package/lib/components/NoticeStack/NoticeStack2.js +105 -105
- package/lib/components/NumberStepper/NumberStepper2.js +67 -67
- package/lib/components/OtpInput/OtpInput2.js +66 -67
- package/lib/components/Pagination/Pagination2.js +90 -90
- package/lib/components/Pagination/paginationRange.js +24 -24
- package/lib/components/PhoneInput/PhoneInput.js +74 -74
- package/lib/components/PieChart/PieChart2.js +119 -119
- package/lib/components/PieChart/arc.js +63 -42
- package/lib/components/PieChart/useArcTween.js +56 -54
- package/lib/components/Popover/Popover2.js +61 -61
- package/lib/components/ProgressTracker/ProgressTracker2.js +127 -127
- package/lib/components/Rating/Rating2.js +81 -81
- package/lib/components/Resizable/Resizable2.js +112 -110
- package/lib/components/Resizable/layout.js +50 -50
- package/lib/components/ScaledPreview/ScaledPreview2.js +49 -50
- package/lib/components/ScatterChart/ScatterChart2.js +226 -227
- package/lib/components/ScatterChart/scatter.js +59 -57
- package/lib/components/ScrollArea/ScrollArea2.js +112 -112
- package/lib/components/Select/Select2.js +79 -79
- package/lib/components/Sidebar/Sidebar2.js +79 -79
- package/lib/components/Skeleton/Skeleton2.js +68 -68
- package/lib/components/Slider/Slider2.js +78 -77
- package/lib/components/SocialLoginButton/SocialLoginButton.js +65 -66
- package/lib/components/SparkChart/SparkChart2.js +146 -145
- package/lib/components/SparkChart/spark.js +41 -67
- package/lib/components/Sparkbar/Sparkbar2.js +61 -60
- package/lib/components/SplitView/SplitView2.js +53 -53
- package/lib/components/Stat/Stat2.js +94 -94
- package/lib/components/StepList/StepList2.js +70 -70
- package/lib/components/Table/Table2.js +63 -63
- package/lib/components/Tabs/Tabs2.js +70 -70
- package/lib/components/TagInput/TagInput2.js +236 -239
- package/lib/components/TimePicker/TimePicker2.js +231 -232
- package/lib/components/TimePicker/time.js +63 -65
- package/lib/components/Timeline/Timeline2.js +167 -167
- package/lib/components/Timeline/scale.js +55 -55
- package/lib/components/Toast/Toaster.js +151 -152
- package/lib/components/Toast/store.js +90 -87
- package/lib/components/ToggleGroup/ToggleGroup2.js +91 -91
- package/lib/components/Toolbar/Toolbar2.js +145 -145
- package/lib/components/Tracker/Tracker2.js +76 -76
- package/lib/components/TreeDiagram/TreeDiagram2.js +112 -111
- package/lib/components/TreeView/TreeView2.js +124 -124
- package/lib/hooks/timing.js +30 -29
- package/lib/hooks/useControllableState.js +37 -36
- package/lib/hooks/useCountdown.js +56 -59
- package/lib/hooks/useDigitInput.js +52 -78
- package/lib/hooks/useDismiss.js +58 -57
- package/lib/hooks/useElapsed.js +54 -54
- package/lib/hooks/useFloating.js +26 -26
- package/lib/hooks/useFocusTrap.js +42 -42
- package/lib/hooks/usePresence.js +49 -48
- package/lib/hooks/usePressToOpen.js +42 -41
- package/lib/hooks/useScrollLock.js +45 -44
- package/lib/hooks/useSelection.js +45 -39
- package/lib/index.js +71 -71
- package/lib/primitives/AspectRatio2.js +60 -60
- package/lib/primitives/BrandIcon.js +161 -161
- package/lib/primitives/ColorDot2.js +42 -45
- package/lib/primitives/CopyButton2.js +57 -56
- package/lib/primitives/CountBadge2.js +55 -51
- package/lib/primitives/Countdown2.js +41 -46
- package/lib/primitives/Delta2.js +36 -36
- package/lib/primitives/Elapsed.js +49 -49
- package/lib/primitives/FileIcon2.js +96 -96
- package/lib/primitives/Flag2.js +135 -135
- package/lib/primitives/IconStack2.js +38 -60
- package/lib/primitives/IconTile2.js +28 -29
- package/lib/primitives/Kbd2.js +50 -50
- package/lib/primitives/Layout2.js +71 -71
- package/lib/primitives/Link2.js +32 -31
- package/lib/primitives/MaskedText2.js +49 -74
- package/lib/primitives/Progress2.js +65 -66
- package/lib/primitives/RelativeTime.js +58 -57
- package/lib/primitives/SearchInput2.js +65 -65
- package/lib/primitives/SelectorButton2.js +74 -73
- package/lib/primitives/Spinner2.js +50 -50
- package/lib/primitives/StatusIcon2.js +68 -68
- package/lib/primitives/Swatch2.js +59 -55
- package/lib/primitives/Tooltip2.js +81 -81
- package/lib/primitives/Typography2.js +53 -53
- package/lib/primitives/formatCountdown.js +21 -22
- package/lib/primitives/formatElapsed.js +43 -42
- package/lib/primitives/formatRelativeTime.js +50 -50
- package/lib/primitives/hotkey.js +82 -82
- package/lib/primitives/index.js +193 -174
- package/lib/primitives/maskValue.js +28 -28
- package/lib/style.css +1 -1
- package/lib/types/primitives/index.d.ts +6 -2
- package/package.json +1 -1
|
@@ -1,125 +1,125 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
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;
|
|
3
23
|
(function(e, n) {
|
|
4
24
|
let r = t, i = e();
|
|
5
25
|
for (;;) try {
|
|
6
|
-
if (-parseInt(r(
|
|
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;
|
|
7
27
|
i.push(i.shift());
|
|
8
28
|
} catch {
|
|
9
29
|
i.push(i.shift());
|
|
10
30
|
}
|
|
11
|
-
})(
|
|
12
|
-
function t(e, n) {
|
|
13
|
-
e -= 224;
|
|
14
|
-
let r = s(), i = r[e];
|
|
15
|
-
t.MtkZTK === void 0 && (t.zwgGiR = function(e) {
|
|
16
|
-
let t = "", n = "";
|
|
17
|
-
for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
|
|
18
|
-
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
19
|
-
return decodeURIComponent(n);
|
|
20
|
-
}, t.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;
|
|
25
|
-
}
|
|
31
|
+
})(e, 601111);
|
|
26
32
|
/* empty css */
|
|
27
|
-
import { jsx as
|
|
28
|
-
var
|
|
29
|
-
pdf:
|
|
30
|
-
png:
|
|
31
|
-
jpg:
|
|
32
|
-
jpeg:
|
|
33
|
-
gif:
|
|
34
|
-
webp:
|
|
35
|
-
svg:
|
|
36
|
-
heic:
|
|
37
|
-
avif:
|
|
38
|
-
xls:
|
|
39
|
-
xlsx:
|
|
40
|
-
csv:
|
|
41
|
-
tsv:
|
|
42
|
-
numbers:
|
|
43
|
-
doc:
|
|
44
|
-
docx:
|
|
45
|
-
txt:
|
|
46
|
-
md:
|
|
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),
|
|
47
53
|
rtf: "doc",
|
|
48
|
-
hwp:
|
|
49
|
-
hwpx:
|
|
50
|
-
pages:
|
|
51
|
-
ppt:
|
|
52
|
-
pptx:
|
|
53
|
-
key:
|
|
54
|
-
mp4:
|
|
55
|
-
mov:
|
|
56
|
-
webm:
|
|
57
|
-
avi:
|
|
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",
|
|
58
64
|
mkv: "video",
|
|
59
|
-
mp3:
|
|
60
|
-
wav:
|
|
61
|
-
m4a:
|
|
62
|
-
aac:
|
|
63
|
-
flac:
|
|
64
|
-
zip:
|
|
65
|
-
rar:
|
|
66
|
-
"7z":
|
|
67
|
-
tar:
|
|
68
|
-
gz:
|
|
69
|
-
js:
|
|
70
|
-
ts:
|
|
71
|
-
tsx:
|
|
72
|
-
json:
|
|
73
|
-
html:
|
|
74
|
-
css:
|
|
75
|
-
py:
|
|
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)
|
|
76
82
|
};
|
|
77
|
-
function
|
|
78
|
-
let
|
|
79
|
-
if (r
|
|
80
|
-
let [e,
|
|
81
|
-
return e ===
|
|
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");
|
|
82
88
|
}
|
|
83
|
-
return
|
|
89
|
+
return a[r[t(254)](r[t(258)](".") + 1)] ?? t(250);
|
|
84
90
|
}
|
|
85
|
-
function
|
|
86
|
-
let l =
|
|
87
|
-
return
|
|
88
|
-
className: [
|
|
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)](" "),
|
|
89
95
|
style: {
|
|
90
|
-
"--_c":
|
|
96
|
+
"--_c": l(248) + u + ")",
|
|
91
97
|
...c
|
|
92
98
|
},
|
|
93
99
|
"data-kind": u,
|
|
94
|
-
width:
|
|
95
|
-
height:
|
|
96
|
-
viewBox: l(
|
|
97
|
-
fill: l(
|
|
100
|
+
width: a,
|
|
101
|
+
height: a,
|
|
102
|
+
viewBox: l(261),
|
|
103
|
+
fill: l(242),
|
|
98
104
|
"aria-hidden": !0,
|
|
99
105
|
children: [
|
|
100
|
-
|
|
101
|
-
className: l(
|
|
102
|
-
d: l(
|
|
106
|
+
r("path", {
|
|
107
|
+
className: l(245),
|
|
108
|
+
d: l(243)
|
|
103
109
|
}),
|
|
104
|
-
|
|
105
|
-
className:
|
|
106
|
-
d:
|
|
110
|
+
r("path", {
|
|
111
|
+
className: l(256),
|
|
112
|
+
d: "M13.5 2.75v3.5a1 1 0 0 0 1 1h3.75"
|
|
107
113
|
}),
|
|
108
|
-
|
|
114
|
+
r("rect", {
|
|
109
115
|
className: "ds-file-icon__tab",
|
|
110
116
|
x: "3",
|
|
111
|
-
y: l(
|
|
117
|
+
y: l(264),
|
|
112
118
|
width: "11",
|
|
113
|
-
height: l(
|
|
114
|
-
rx:
|
|
119
|
+
height: l(263),
|
|
120
|
+
rx: l(244)
|
|
115
121
|
})
|
|
116
122
|
]
|
|
117
123
|
});
|
|
118
124
|
}
|
|
119
|
-
|
|
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 };
|
package/lib/primitives/Flag2.js
CHANGED
|
@@ -1,32 +1,52 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e =
|
|
2
|
+
const e = i;
|
|
3
3
|
(function(e, t) {
|
|
4
|
-
let n =
|
|
4
|
+
let n = i, r = e();
|
|
5
5
|
for (;;) try {
|
|
6
|
-
if (parseInt(n(
|
|
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
7
|
r.push(r.shift());
|
|
8
8
|
} catch {
|
|
9
9
|
r.push(r.shift());
|
|
10
10
|
}
|
|
11
|
-
})(
|
|
11
|
+
})(a, 506336);
|
|
12
12
|
/* empty css */
|
|
13
13
|
import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
let
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
function i(e, t) {
|
|
15
|
+
e -= 151;
|
|
16
|
+
let n = a(), r = n[e];
|
|
17
|
+
i.xwAUMs === void 0 && (i.qkZMQm = 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
|
+
}, 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;
|
|
27
|
+
}
|
|
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() {
|
|
31
|
+
return e;
|
|
32
|
+
}, a();
|
|
33
|
+
}
|
|
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) => {
|
|
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);
|
|
19
39
|
});
|
|
20
|
-
return n(
|
|
40
|
+
return n("polygon", { points: s[o(159)](" ") });
|
|
21
41
|
}
|
|
22
|
-
function
|
|
23
|
-
let
|
|
42
|
+
function l(e, t, a, o) {
|
|
43
|
+
let s = i;
|
|
24
44
|
return n("g", {
|
|
25
|
-
transform:
|
|
26
|
-
fill:
|
|
27
|
-
children:
|
|
28
|
-
let i =
|
|
29
|
-
return e ? r("g", { children: [n(
|
|
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", {
|
|
30
50
|
x: a,
|
|
31
51
|
y: -3.4,
|
|
32
52
|
width: 1.2,
|
|
@@ -36,7 +56,7 @@ function s(e, t, i, a) {
|
|
|
36
56
|
y: .4,
|
|
37
57
|
width: 1.2,
|
|
38
58
|
height: 3
|
|
39
|
-
})] }, t) : n(i(
|
|
59
|
+
})] }, t) : n(i(196), {
|
|
40
60
|
x: a,
|
|
41
61
|
y: -3.4,
|
|
42
62
|
width: 1.2,
|
|
@@ -45,219 +65,199 @@ function s(e, t, i, a) {
|
|
|
45
65
|
})
|
|
46
66
|
});
|
|
47
67
|
}
|
|
48
|
-
|
|
49
|
-
e -= 472;
|
|
50
|
-
let n = f(), r = n[e];
|
|
51
|
-
c.FgHMEU === void 0 && (c.IUmihC = function(e) {
|
|
52
|
-
let t = "", n = "";
|
|
53
|
-
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
|
-
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
55
|
-
return decodeURIComponent(n);
|
|
56
|
-
}, c.DLhNYj = {}, c.FgHMEU = !0);
|
|
57
|
-
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;
|
|
61
|
-
}
|
|
62
|
-
var l = Math[e(479)](a, i) * 180 / Math.PI, u = {
|
|
68
|
+
var u = Math[e(155)](s, o) * 180 / Math.PI, d = {
|
|
63
69
|
KR: r(t, { children: [
|
|
64
|
-
n(
|
|
65
|
-
width:
|
|
66
|
-
height:
|
|
67
|
-
fill:
|
|
70
|
+
n("rect", {
|
|
71
|
+
width: o,
|
|
72
|
+
height: s,
|
|
73
|
+
fill: e(171)
|
|
68
74
|
}),
|
|
69
75
|
r("g", {
|
|
70
|
-
transform:
|
|
76
|
+
transform: "rotate(" + u + e(170),
|
|
71
77
|
children: [
|
|
72
|
-
n(e(
|
|
73
|
-
d:
|
|
74
|
-
fill: e(
|
|
78
|
+
n(e(193), {
|
|
79
|
+
d: "M12 12a6 6 0 0 1 12 0z",
|
|
80
|
+
fill: e(158)
|
|
75
81
|
}),
|
|
76
|
-
n(
|
|
77
|
-
d: e(
|
|
78
|
-
fill:
|
|
82
|
+
n("path", {
|
|
83
|
+
d: e(182),
|
|
84
|
+
fill: e(175)
|
|
79
85
|
}),
|
|
80
|
-
n(e(
|
|
86
|
+
n(e(166), {
|
|
81
87
|
cx: 15,
|
|
82
88
|
cy: 12,
|
|
83
89
|
r: 3,
|
|
84
90
|
fill: "#cd2e3a"
|
|
85
91
|
}),
|
|
86
|
-
n(e(
|
|
92
|
+
n(e(166), {
|
|
87
93
|
cx: 21,
|
|
88
94
|
cy: 12,
|
|
89
95
|
r: 3,
|
|
90
|
-
fill: e(
|
|
96
|
+
fill: e(175)
|
|
91
97
|
})
|
|
92
98
|
]
|
|
93
99
|
}),
|
|
94
|
-
|
|
100
|
+
l(8.6, 5.7, u, [
|
|
95
101
|
!1,
|
|
96
102
|
!1,
|
|
97
103
|
!1
|
|
98
104
|
]),
|
|
99
|
-
|
|
105
|
+
l(27.4, 18.3, u, [
|
|
100
106
|
!0,
|
|
101
107
|
!0,
|
|
102
108
|
!0
|
|
103
109
|
]),
|
|
104
|
-
|
|
110
|
+
l(27.4, 5.7, -u, [
|
|
105
111
|
!0,
|
|
106
112
|
!1,
|
|
107
113
|
!0
|
|
108
114
|
]),
|
|
109
|
-
|
|
115
|
+
l(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(
|
|
117
|
-
width:
|
|
118
|
-
height:
|
|
119
|
-
fill:
|
|
122
|
+
n(e(196), {
|
|
123
|
+
width: o,
|
|
124
|
+
height: s,
|
|
125
|
+
fill: "#fff"
|
|
120
126
|
}),
|
|
121
|
-
Array
|
|
122
|
-
y: r * 2 *
|
|
123
|
-
width:
|
|
124
|
-
height:
|
|
125
|
-
fill: e(
|
|
127
|
+
Array[e(177)]({ length: 7 }, (t, r) => n(e(196), {
|
|
128
|
+
y: r * 2 * s / 13,
|
|
129
|
+
width: o,
|
|
130
|
+
height: s / 13,
|
|
131
|
+
fill: e(152)
|
|
126
132
|
}, r)),
|
|
127
|
-
n(e(
|
|
133
|
+
n(e(196), {
|
|
128
134
|
width: 14.4,
|
|
129
135
|
height: 168 / 13,
|
|
130
136
|
fill: "#3c3b6e"
|
|
131
137
|
}),
|
|
132
138
|
n("g", {
|
|
133
|
-
fill: e(
|
|
134
|
-
children: Array
|
|
139
|
+
fill: e(171),
|
|
140
|
+
children: Array[e(177)]({ length: 12 }, (t, r) => n(e(166), {
|
|
135
141
|
cx: 2 + r % 4 * 3.4,
|
|
136
|
-
cy: 1.9 + Math[e(
|
|
142
|
+
cy: 1.9 + Math[e(187)](r / 4) * 3.4,
|
|
137
143
|
r: .6
|
|
138
144
|
}, r))
|
|
139
145
|
})
|
|
140
146
|
] }),
|
|
141
|
-
JP: r(t, { children: [n(
|
|
142
|
-
width:
|
|
143
|
-
height:
|
|
144
|
-
fill: e(
|
|
145
|
-
}), n(
|
|
147
|
+
JP: r(t, { children: [n("rect", {
|
|
148
|
+
width: o,
|
|
149
|
+
height: s,
|
|
150
|
+
fill: e(171)
|
|
151
|
+
}), n(e(166), {
|
|
146
152
|
cx: 18,
|
|
147
153
|
cy: 12,
|
|
148
154
|
r: 7.2,
|
|
149
|
-
fill:
|
|
155
|
+
fill: e(172)
|
|
150
156
|
})] }),
|
|
151
|
-
CN: r(t, { children: [n(e(
|
|
152
|
-
width:
|
|
153
|
-
height:
|
|
154
|
-
fill: e(
|
|
157
|
+
CN: r(t, { children: [n(e(196), {
|
|
158
|
+
width: o,
|
|
159
|
+
height: s,
|
|
160
|
+
fill: e(183)
|
|
155
161
|
}), r("g", {
|
|
156
|
-
fill:
|
|
162
|
+
fill: e(195),
|
|
157
163
|
children: [
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
164
|
+
c(6, 6, 3.6),
|
|
165
|
+
c(12, 2.4, 1.2, 23),
|
|
166
|
+
c(14.4, 4.8, 1.2, 46),
|
|
167
|
+
c(14.4, 8.4, 1.2, 70),
|
|
168
|
+
c(12, 10.8, 1.2, 21)
|
|
163
169
|
]
|
|
164
170
|
})] }),
|
|
165
|
-
VN: r(t, { children: [n(e(
|
|
166
|
-
width:
|
|
167
|
-
height:
|
|
168
|
-
fill: e(
|
|
171
|
+
VN: r(t, { children: [n(e(196), {
|
|
172
|
+
width: o,
|
|
173
|
+
height: s,
|
|
174
|
+
fill: e(176)
|
|
169
175
|
}), n("g", {
|
|
170
|
-
fill:
|
|
171
|
-
children:
|
|
176
|
+
fill: e(173),
|
|
177
|
+
children: c(18, 12.6, 7.2)
|
|
172
178
|
})] }),
|
|
173
179
|
GB: r(t, { children: [
|
|
174
|
-
n(
|
|
175
|
-
width:
|
|
176
|
-
height:
|
|
177
|
-
fill: e(
|
|
180
|
+
n(e(196), {
|
|
181
|
+
width: o,
|
|
182
|
+
height: s,
|
|
183
|
+
fill: e(190)
|
|
178
184
|
}),
|
|
179
|
-
n(e(
|
|
180
|
-
d: e(
|
|
181
|
-
stroke: e(
|
|
185
|
+
n(e(193), {
|
|
186
|
+
d: e(189),
|
|
187
|
+
stroke: e(171),
|
|
182
188
|
strokeWidth: 4.8
|
|
183
189
|
}),
|
|
184
|
-
n(
|
|
185
|
-
d: e(
|
|
186
|
-
stroke:
|
|
190
|
+
n(e(193), {
|
|
191
|
+
d: e(189),
|
|
192
|
+
stroke: "#c8102e",
|
|
187
193
|
strokeWidth: 1.6
|
|
188
194
|
}),
|
|
189
|
-
n(
|
|
190
|
-
d: e(
|
|
191
|
-
stroke:
|
|
195
|
+
n("path", {
|
|
196
|
+
d: e(164),
|
|
197
|
+
stroke: "#fff",
|
|
192
198
|
strokeWidth: 8
|
|
193
199
|
}),
|
|
194
|
-
n(
|
|
195
|
-
d:
|
|
196
|
-
stroke: e(
|
|
200
|
+
n(e(193), {
|
|
201
|
+
d: e(164),
|
|
202
|
+
stroke: e(153),
|
|
197
203
|
strokeWidth: 4.8
|
|
198
204
|
})
|
|
199
205
|
] }),
|
|
200
206
|
DE: r(t, { children: [
|
|
201
|
-
n(e(
|
|
202
|
-
width:
|
|
207
|
+
n(e(196), {
|
|
208
|
+
width: o,
|
|
203
209
|
height: 8,
|
|
204
|
-
fill: e(
|
|
210
|
+
fill: e(178)
|
|
205
211
|
}),
|
|
206
|
-
n(
|
|
212
|
+
n(e(196), {
|
|
207
213
|
y: 8,
|
|
208
|
-
width:
|
|
214
|
+
width: o,
|
|
209
215
|
height: 8,
|
|
210
|
-
fill:
|
|
216
|
+
fill: e(161)
|
|
211
217
|
}),
|
|
212
|
-
n(e(
|
|
218
|
+
n(e(196), {
|
|
213
219
|
y: 16,
|
|
214
|
-
width:
|
|
220
|
+
width: o,
|
|
215
221
|
height: 8,
|
|
216
222
|
fill: "#ffce00"
|
|
217
223
|
})
|
|
218
224
|
] }),
|
|
219
225
|
FR: r(t, { children: [
|
|
220
|
-
n(e(
|
|
226
|
+
n(e(196), {
|
|
221
227
|
width: 12,
|
|
222
|
-
height:
|
|
223
|
-
fill: e(
|
|
228
|
+
height: s,
|
|
229
|
+
fill: e(162)
|
|
224
230
|
}),
|
|
225
|
-
n(
|
|
231
|
+
n("rect", {
|
|
226
232
|
x: 12,
|
|
227
233
|
width: 12,
|
|
228
|
-
height:
|
|
229
|
-
fill: e(
|
|
234
|
+
height: s,
|
|
235
|
+
fill: e(171)
|
|
230
236
|
}),
|
|
231
|
-
n(
|
|
237
|
+
n(e(196), {
|
|
232
238
|
x: 24,
|
|
233
239
|
width: 12,
|
|
234
|
-
height:
|
|
235
|
-
fill: e(
|
|
240
|
+
height: s,
|
|
241
|
+
fill: e(191)
|
|
236
242
|
})
|
|
237
243
|
] })
|
|
238
244
|
};
|
|
239
|
-
function
|
|
245
|
+
function f({ code: t, size: r = 20, label: i, className: a, style: c }) {
|
|
240
246
|
let l = e;
|
|
241
|
-
return n(
|
|
242
|
-
className: [l(
|
|
247
|
+
return n(l(192), {
|
|
248
|
+
className: [l(197), a].filter(Boolean).join(" "),
|
|
243
249
|
style: {
|
|
244
250
|
"--_w": r + "px",
|
|
245
251
|
...c
|
|
246
252
|
},
|
|
247
|
-
role:
|
|
248
|
-
"aria-label":
|
|
249
|
-
"aria-hidden": !
|
|
250
|
-
children: n(l(
|
|
251
|
-
viewBox:
|
|
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,
|
|
252
258
|
preserveAspectRatio: "none",
|
|
253
|
-
children:
|
|
259
|
+
children: d[t]
|
|
254
260
|
})
|
|
255
261
|
});
|
|
256
262
|
}
|
|
257
|
-
export {
|
|
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 };
|