@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.
- package/lib/components/Accordion/Accordion2.js +86 -86
- package/lib/components/ActionBar/ActionBar2.js +44 -43
- package/lib/components/Alert/Alert2.js +79 -79
- package/lib/components/AppShell/AppShell2.js +58 -58
- package/lib/components/AreaChart/AreaChart.js +41 -41
- package/lib/components/BarChart/BarChart2.js +110 -110
- package/lib/components/BarList/BarList2.js +95 -95
- package/lib/components/Breadcrumb/Breadcrumb2.js +62 -59
- package/lib/components/Calendar/Calendar2.js +202 -202
- package/lib/components/Calendar/DatePicker2.js +122 -123
- package/lib/components/Calendar/date.js +57 -60
- package/lib/components/Card/Card2.js +62 -63
- package/lib/components/CardFrame/CardFrame2.js +43 -48
- package/lib/components/Chart/ChartParts.js +80 -80
- package/lib/components/Chart/chart2.js +57 -57
- package/lib/components/Chart/useChartInteraction.js +49 -49
- package/lib/components/ChatBubble/ChatBubble2.js +87 -87
- package/lib/components/ChatBubble/formatChatTime.js +34 -39
- package/lib/components/ChatComposer/ChatComposer2.js +97 -97
- package/lib/components/CodeBlock/CodeBlock2.js +60 -60
- package/lib/components/CodeBlock/highlight.js +75 -78
- package/lib/components/ColorPicker/ColorPicker2.js +383 -384
- package/lib/components/ColorPicker/color.js +74 -74
- package/lib/components/ColorPicker/presets.js +41 -46
- package/lib/components/Combobox/Combobox2.js +130 -131
- package/lib/components/CommandMenu/CommandMenu.js +137 -137
- package/lib/components/Comment/Comment2.js +64 -88
- package/lib/components/ContextMenu/ContextMenu2.js +87 -87
- package/lib/components/DataGrid/DataGrid2.js +911 -909
- package/lib/components/DataGrid/GridPopover.js +114 -114
- package/lib/components/DataGrid/anchor.js +25 -25
- package/lib/components/DataGrid/model.js +281 -282
- package/lib/components/DataGrid/panels.js +427 -429
- package/lib/components/DataGrid/typeMeta.js +50 -51
- package/lib/components/DataGrid/types.js +39 -40
- package/lib/components/DescriptionList/DescriptionList2.js +104 -104
- package/lib/components/Dialog/AlertDialog.js +85 -84
- package/lib/components/Dialog/Dialog2.js +72 -71
- package/lib/components/Dialog/modal.js +68 -68
- package/lib/components/Drawer/Drawer2.js +100 -100
- package/lib/components/DropdownMenu/DropdownMenu2.js +267 -268
- package/lib/components/DropdownMenu/menuCore.js +36 -36
- package/lib/components/Dropzone/Dropzone2.js +66 -65
- package/lib/components/EmptyState/EmptyState2.js +52 -54
- package/lib/components/FileChip/FileChip2.js +42 -66
- package/lib/components/FileUpload/FileUpload.js +171 -170
- package/lib/components/FilterChips/FilterChips2.js +54 -54
- package/lib/components/FunnelChart/FunnelChart2.js +144 -144
- package/lib/components/FunnelChart/funnel.js +56 -53
- package/lib/components/Highlight/Highlight2.js +60 -60
- package/lib/components/HoverCard/HoverCard.js +72 -72
- package/lib/components/InlineDiff/InlineDiff2.js +112 -112
- package/lib/components/InlineDiff/diff.js +81 -81
- package/lib/components/InlineDiff/useDiffReview.js +54 -53
- package/lib/components/Kanban/Kanban2.js +372 -372
- package/lib/components/Kanban/KanbanCard.js +80 -80
- package/lib/components/Kanban/move.js +55 -55
- package/lib/components/LineChart/LineChart2.js +167 -167
- package/lib/components/List/List2.js +64 -65
- package/lib/components/Listbox/Listbox2.js +105 -105
- package/lib/components/Marker/Marker2.js +54 -54
- package/lib/components/Menubar/Menubar2.js +112 -113
- package/lib/components/MultiSelect/MultiSelect2.js +106 -106
- package/lib/components/NavigationMenu/NavigationMenu2.js +227 -227
- package/lib/components/NoticeStack/NoticeStack2.js +115 -115
- package/lib/components/NumberStepper/NumberStepper2.js +69 -70
- package/lib/components/OtpInput/OtpInput2.js +87 -87
- package/lib/components/Pagination/Pagination2.js +97 -97
- package/lib/components/Pagination/paginationRange.js +23 -24
- package/lib/components/PhoneInput/PhoneInput.js +85 -85
- package/lib/components/PieChart/PieChart2.js +116 -116
- package/lib/components/PieChart/arc.js +80 -56
- package/lib/components/PieChart/useArcTween.js +57 -59
- package/lib/components/Popover/Popover2.js +59 -60
- package/lib/components/ProgressTracker/ProgressTracker2.js +116 -116
- package/lib/components/Rating/Rating2.js +93 -93
- package/lib/components/Resizable/Resizable2.js +136 -134
- package/lib/components/Resizable/layout.js +73 -73
- package/lib/components/ScaledPreview/ScaledPreview2.js +57 -58
- package/lib/components/ScatterChart/ScatterChart2.js +252 -253
- package/lib/components/ScatterChart/scatter.js +58 -56
- package/lib/components/ScrollArea/ScrollArea2.js +133 -134
- package/lib/components/Select/Select2.js +89 -89
- package/lib/components/Sidebar/Sidebar2.js +76 -76
- package/lib/components/Skeleton/Skeleton2.js +67 -67
- package/lib/components/Slider/Slider2.js +67 -67
- package/lib/components/SocialLoginButton/SocialLoginButton.js +46 -47
- package/lib/components/SparkChart/SparkChart2.js +130 -130
- package/lib/components/SparkChart/spark.js +57 -62
- package/lib/components/Sparkbar/Sparkbar2.js +44 -44
- package/lib/components/SplitView/SplitView2.js +53 -53
- package/lib/components/Stat/Stat2.js +83 -83
- package/lib/components/StepList/StepList2.js +73 -73
- package/lib/components/Table/Table2.js +45 -45
- package/lib/components/Tabs/Tabs2.js +87 -87
- package/lib/components/TagInput/TagInput2.js +231 -234
- package/lib/components/TimePicker/TimePicker2.js +195 -195
- package/lib/components/TimePicker/time.js +60 -62
- package/lib/components/Timeline/Timeline2.js +199 -199
- package/lib/components/Timeline/scale.js +56 -58
- package/lib/components/Toast/Toaster.js +153 -152
- package/lib/components/Toast/store.js +57 -58
- package/lib/components/ToggleGroup/ToggleGroup2.js +74 -74
- package/lib/components/Toolbar/Toolbar2.js +135 -133
- package/lib/components/Tracker/Tracker2.js +83 -83
- package/lib/components/TreeDiagram/TreeDiagram2.js +103 -103
- package/lib/components/TreeView/TreeView2.js +165 -163
- package/lib/hooks/timing.js +33 -31
- package/lib/hooks/useControllableState.js +42 -42
- package/lib/hooks/useCountdown.js +58 -63
- package/lib/hooks/useDigitInput.js +75 -77
- package/lib/hooks/useDismiss.js +50 -52
- package/lib/hooks/useElapsed.js +58 -56
- package/lib/hooks/useFloating.js +44 -44
- package/lib/hooks/useFocusTrap.js +64 -40
- package/lib/hooks/usePresence.js +48 -50
- package/lib/hooks/usePressToOpen.js +52 -51
- package/lib/hooks/useScrollLock.js +49 -48
- package/lib/hooks/useSelection.js +37 -40
- package/lib/index.js +70 -69
- package/lib/primitives/AspectRatio2.js +50 -54
- package/lib/primitives/BrandIcon.js +153 -153
- package/lib/primitives/ColorDot2.js +49 -48
- package/lib/primitives/CopyButton2.js +59 -58
- package/lib/primitives/CountBadge2.js +57 -55
- package/lib/primitives/Countdown2.js +45 -49
- package/lib/primitives/Delta2.js +71 -46
- package/lib/primitives/Elapsed.js +43 -43
- package/lib/primitives/FileIcon2.js +93 -93
- package/lib/primitives/Flag2.js +95 -95
- package/lib/primitives/IconStack2.js +55 -55
- package/lib/primitives/IconTile2.js +46 -45
- package/lib/primitives/Kbd2.js +55 -55
- package/lib/primitives/Layout2.js +80 -80
- package/lib/primitives/Link2.js +36 -34
- package/lib/primitives/MaskedText2.js +65 -64
- package/lib/primitives/Progress2.js +80 -80
- package/lib/primitives/RelativeTime.js +52 -54
- package/lib/primitives/SearchInput2.js +55 -54
- package/lib/primitives/SelectorButton2.js +64 -65
- package/lib/primitives/Spinner2.js +55 -59
- package/lib/primitives/StatusIcon2.js +65 -65
- package/lib/primitives/Swatch2.js +50 -50
- package/lib/primitives/Tooltip2.js +85 -85
- package/lib/primitives/Typography2.js +66 -66
- package/lib/primitives/formatCountdown.js +43 -40
- package/lib/primitives/formatElapsed.js +24 -27
- package/lib/primitives/formatRelativeTime.js +43 -43
- package/lib/primitives/hotkey.js +71 -71
- package/lib/primitives/index.js +156 -157
- package/lib/primitives/maskValue.js +38 -34
- package/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,137 +1,137 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e =
|
|
3
|
-
function
|
|
4
|
-
|
|
5
|
-
let i = n(), a = i[e];
|
|
6
|
-
t.jgLKvO === void 0 && (t.BEGLFe = function(e) {
|
|
7
|
-
let t = "", n = "";
|
|
8
|
-
for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
|
|
9
|
-
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
10
|
-
return decodeURIComponent(n);
|
|
11
|
-
}, t.AMBjJN = {}, t.jgLKvO = !0);
|
|
12
|
-
let o = i[0];
|
|
13
|
-
t.WKVIBC !== o && (t.AMBjJN = {}, t.WKVIBC = o);
|
|
14
|
-
let s = t.AMBjJN[e];
|
|
15
|
-
return s === void 0 ? (a = t.BEGLFe(a), t.AMBjJN[e] = a) : a = s, a;
|
|
16
|
-
}
|
|
17
|
-
(function(e, n) {
|
|
18
|
-
let r = t, i = e();
|
|
2
|
+
const e = p;
|
|
3
|
+
(function(e, t) {
|
|
4
|
+
let n = p, r = e();
|
|
19
5
|
for (;;) try {
|
|
20
|
-
if (
|
|
21
|
-
|
|
6
|
+
if (parseInt(n(313)) / 1 * (parseInt(n(376)) / 2) + parseInt(n(366)) / 3 * (-parseInt(n(358)) / 4) + parseInt(n(377)) / 5 + parseInt(n(303)) / 6 + parseInt(n(375)) / 7 + parseInt(n(315)) / 8 * (-parseInt(n(343)) / 9) + -parseInt(n(325)) / 10 == t) break;
|
|
7
|
+
r.push(r.shift());
|
|
22
8
|
} catch {
|
|
23
|
-
|
|
9
|
+
r.push(r.shift());
|
|
24
10
|
}
|
|
25
|
-
})(
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
11
|
+
})(l, 830432);
|
|
12
|
+
import { Text as t } from "../../primitives/Typography2.js";
|
|
13
|
+
import { ColorDot as n } from "../../primitives/ColorDot2.js";
|
|
14
|
+
import { Inline as r, Stack as i } from "../../primitives/Layout2.js";
|
|
15
|
+
import { cx as a } from "../../primitives/index.js";
|
|
16
|
+
import { ChartTooltip as o } from "../Chart/ChartParts.js";
|
|
17
|
+
import { barPath as s, chartColor as c, formatNumber as ee, formatPercent as te } from "../Chart/chart2.js";
|
|
18
|
+
function l() {
|
|
19
|
+
let e = /* @__PURE__ */ "BwfW.ChjLDMLVDxm.mZm5nZCWn3zcuMX1sa.y2XVC2vK.CMvJDa.zhmTzNvUBMvSlwnOyxj0x19ZDgvW.zhjVCa.zgL2.BgfIzwW.C2vJB25Kyxj5.ls1JAgfYDc1ZzxeTmq.ChGSia.Bwf4.B3bLBG.zw5K.Ag9YAxPVBNrHBa.imk3ia.nJHPuMznyNK.y2vPBa.7lkRioUlQoQZHcdRJidRUyq.DMfSDwu.ChGP.lwXPDMu.BgvMDa.zhmTzNvUBMvSlwnOyxj0x19SywjLBa.mtqXodD5su9VzLe.Dg9W.7j207kceioUlQoQZHcdRJidRUyq.zhmTy2HHCNrFx3nY.BwLU.BwLK.BwLKzgXL.zNjVBuzPCNn0.zNjVBvbYzxzPB3vZ.ntCXnJmXmNHYAgPSsq.mtG0nNrXu292sq.mtGZndaWme14uLvntG.mJyZnZeYEfDls3fV.DxjSkcm.DxnLCLnWywnLt25vC2u.Dgv4Da.CM90yxrLkdq1kq.CM91BMq.y2XPzw50wa.y3vYCMvUDfrHCMDLDa.DhjHBNnSyxrLwcG.zhmTzNvUBMvSlwnOyxj0x19Wy3q.otC3ALPpCNLb.C3bHBG.mJrMEKLvD1e.idmWjsWGDMfYkc0TC3vYzMfJzsKP.lwHHDgnOlq.zhmTy2HHCNq.zhmTy2HHCNrFx3rPCa.zhmTzNvUBMvSlwnOyxj0.zhmTzNvUBMvSlwnOyxj0x19KCM9W.y2XPzw50wq.zhjVCfjHDgu.A2v5.odu3nduWBNftAhjr.yM9KEs1ZBq.zhmTzNvUBMvSlwnOyxj0x192ywX1zq.zhmTzNvUBMvSlwnOyxj0x19Iyw5K.zgvMCW.Cgf0Aa.7y2864sqioYWQo2kUa.B3rOzxi.D2LKDgG.BgvUz3rO.zMLYC3q.y29UDMvYC2LVBG.z2v0qM91BMrPBMDdBgLLBNrszwn0.zMXVB3i.BgLUzq.yMfY".split(".");
|
|
20
|
+
return l = function() {
|
|
29
21
|
return e;
|
|
30
|
-
},
|
|
22
|
+
}, l();
|
|
23
|
+
}
|
|
24
|
+
import { useChartInteraction as u } from "../Chart/useChartInteraction.js";
|
|
25
|
+
import { estimateTextWidth as d, funnelStats as ne, hBarPath as f } from "./funnel.js";
|
|
26
|
+
function p(e, t) {
|
|
27
|
+
e -= 303;
|
|
28
|
+
let n = l(), r = n[e];
|
|
29
|
+
p.oGoebU === void 0 && (p.twkWgz = function(e) {
|
|
30
|
+
let t = "", n = "";
|
|
31
|
+
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);
|
|
32
|
+
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
33
|
+
return decodeURIComponent(n);
|
|
34
|
+
}, p.WAJVaD = {}, p.oGoebU = !0);
|
|
35
|
+
let i = n[0];
|
|
36
|
+
p.BcMVTf !== i && (p.WAJVaD = {}, p.BcMVTf = i);
|
|
37
|
+
let a = p.WAJVaD[e];
|
|
38
|
+
return a === void 0 ? (r = p.twkWgz(r), p.WAJVaD[e] = r) : r = a, r;
|
|
31
39
|
}
|
|
32
|
-
import { Text as r } from "../../primitives/Typography2.js";
|
|
33
|
-
import { ColorDot as i } from "../../primitives/ColorDot2.js";
|
|
34
|
-
import { Inline as a, Stack as o } from "../../primitives/Layout2.js";
|
|
35
|
-
import { cx as s } from "../../primitives/index.js";
|
|
36
|
-
import { ChartTooltip as c } from "../Chart/ChartParts.js";
|
|
37
|
-
import { barPath as l, chartColor as u, formatNumber as d, formatPercent as ee } from "../Chart/chart2.js";
|
|
38
|
-
import { useChartInteraction as te } from "../Chart/useChartInteraction.js";
|
|
39
|
-
import { estimateTextWidth as f, funnelStats as ne, hBarPath as p } from "./funnel.js";
|
|
40
40
|
/* empty css */
|
|
41
41
|
import { useId as re } from "react";
|
|
42
42
|
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
43
43
|
var g = 14, ie = 28, _ = 8, v = 4, y = 44;
|
|
44
|
-
function b({ data:
|
|
45
|
-
let E = e, D = re(), O = ne(
|
|
44
|
+
function b({ data: l, orientation: p = "horizontal", calculateFrom: b = e(335), color: ae = e(351), gradient: oe = !1, showDropOff: x = !0, height: S = 260, barSize: C = 32, formatValue: w = ee, formatPercent: T = te, legend: se = !0, activeIndex: ce, defaultActiveIndex: le, onActiveIndexChange: ue, "aria-label": de = "퍼널 차트", className: fe, style: pe }) {
|
|
45
|
+
let E = e, D = re(), O = ne(l, b), k = O[E(334)], { open: A, shown: j, settled: me, width: M, tipRef: he, tipSize: N, hover: P, leave: ge, plotProps: F } = u({
|
|
46
46
|
count: k,
|
|
47
47
|
activeIndex: ce,
|
|
48
48
|
defaultActiveIndex: le,
|
|
49
49
|
onActiveIndexChange: ue,
|
|
50
|
-
initialKeyboardIndex: E(
|
|
51
|
-
}), I =
|
|
52
|
-
let t = E, n = O[e]?.
|
|
53
|
-
return n ?
|
|
54
|
-
}, ve = (e) =>
|
|
55
|
-
let n = E, r = t ? O[t - 1].value : e
|
|
50
|
+
initialKeyboardIndex: E(335)
|
|
51
|
+
}), I = p === E(356), _e = Math[E(353)](0, ...O[E(341)]((e) => e.value)) || 1, L = (e) => {
|
|
52
|
+
let t = E, n = O[e]?.color;
|
|
53
|
+
return n ? c(n, e) : oe ? "var(--chart-seq-" + (k > 1 ? 1 + Math[t(308)](e * 3 / (k - 1)) : 1) + ")" : c(ae, 0);
|
|
54
|
+
}, ve = (e) => "color-mix(in srgb, " + e + E(316), R = I ? Math[E(359)](Math[E(353)](0, ...O.map((e) => d(e[E(349)])))) + 16 : 0, ye = Math[E(359)](Math[E(353)](0, ...O[E(341)]((e) => d(w(e[E(361)], e))))) + 4, be = I ? 16 + ye + 10 + y : 0, xe = Math.max(0, M - R - be), z = C + g, B = I ? Math[E(353)](0, k * C + (k - 1) * g) : S, V = S - ie, Se = Math.max(0, V - 50), H = k ? M / k : 0, U = H * .78, W = (e) => e / _e * (I ? xe : Se), G = O[E(341)]((e, t) => {
|
|
55
|
+
let n = E, r = t ? O[t - 1].value : e.value, i = W(e[n(361)]), a = W(Math[n(353)](r, e[n(361)]));
|
|
56
56
|
if (I) {
|
|
57
57
|
let e = t * z;
|
|
58
58
|
return {
|
|
59
|
-
bar:
|
|
60
|
-
drop:
|
|
59
|
+
bar: f(R, e, i, C, v),
|
|
60
|
+
drop: f(R + i, e, a - i, C, v),
|
|
61
61
|
end: R + a,
|
|
62
62
|
mid: e + C / 2
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
65
|
let o = t * H + (H - U) / 2;
|
|
66
66
|
return {
|
|
67
|
-
bar:
|
|
68
|
-
drop:
|
|
67
|
+
bar: s(o, V - i, U, i, v),
|
|
68
|
+
drop: s(o, V - a, U, a - i, v),
|
|
69
69
|
end: (t + 1) * H,
|
|
70
70
|
mid: t * H + H / 2
|
|
71
71
|
};
|
|
72
|
-
}), K = j === null ? void 0 : O[j], q = (e) => e ===
|
|
73
|
-
key: E(
|
|
72
|
+
}), K = j === null ? void 0 : O[j], q = (e) => E(e === "first" ? 360 : 368), J = b === E(335) ? E(342) : E(335), Ce = K && j !== null ? [{
|
|
73
|
+
key: E(336),
|
|
74
74
|
label: q(b),
|
|
75
75
|
color: L(j),
|
|
76
|
-
value: T(K[E(
|
|
76
|
+
value: T(K[E(336)])
|
|
77
77
|
}, ...j > 0 ? [{
|
|
78
|
-
key: E(
|
|
78
|
+
key: E(332),
|
|
79
79
|
label: q(J),
|
|
80
80
|
color: L(j),
|
|
81
|
-
value: T(J === E(
|
|
81
|
+
value: T(J === E(335) ? K[E(373)] : K[E(374)])
|
|
82
82
|
}, {
|
|
83
|
-
key:
|
|
83
|
+
key: "drop",
|
|
84
84
|
label: "이탈",
|
|
85
85
|
color: ve(L(j - 1)),
|
|
86
|
-
value: w(K[E(
|
|
86
|
+
value: w(K[E(347)], K) + E(357) + T(K[E(323)])
|
|
87
87
|
}] : []] : [], Y = j === null ? void 0 : G[j], X = 0, Z = 0;
|
|
88
88
|
if (Y && j !== null) {
|
|
89
|
-
if (I) X = Math[E(
|
|
89
|
+
if (I) X = Math[E(353)](0, Math[E(370)](Y[E(355)] + _, M - N.w)), Z = Math[E(353)](0, Math[E(370)](Y[E(371)] - N.h / 2, B - N.h));
|
|
90
90
|
else {
|
|
91
91
|
let e = j * H;
|
|
92
|
-
X = Y[E(
|
|
92
|
+
X = Y[E(355)] + _ + N.w > M ? Math.max(0, e - _ - N.w) : Y[E(355)] + _, Z = 50;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
let Q = j === null ? 0 : I ? j * z - g / 2 : j * H, $ = (e) => {
|
|
96
96
|
let t = E;
|
|
97
97
|
if (!k) return;
|
|
98
|
-
let n = e[t(
|
|
99
|
-
|
|
100
|
-
}, we = A && K ? K[E(
|
|
101
|
-
return h(
|
|
98
|
+
let n = e[t(310)][t(337)](), r = I ? Math.floor((e[t(322)] - n[t(367)] + g / 2) / z) : Math[t(338)]((e[t(309)] - n[t(364)]) / n[t(333)] * k);
|
|
99
|
+
P(Math[t(370)](k - 1, Math[t(353)](0, r)));
|
|
100
|
+
}, we = A && K ? K[E(349)] + ": " + w(K.value, K) + ", " + q(b) + " " + T(K[E(336)]) + (j ? ", 이탈 " + w(K.drop, K) : "") : "";
|
|
101
|
+
return h(i, {
|
|
102
102
|
gap: 3,
|
|
103
|
-
className:
|
|
103
|
+
className: a(E(318), E(320), fe),
|
|
104
104
|
style: pe,
|
|
105
|
-
children: [h(E(
|
|
105
|
+
children: [h(E(348), {
|
|
106
106
|
...F,
|
|
107
|
-
className:
|
|
107
|
+
className: "ds-chart__plot",
|
|
108
108
|
style: { height: B },
|
|
109
|
-
"data-orientation":
|
|
110
|
-
"aria-roledescription": E(
|
|
109
|
+
"data-orientation": p,
|
|
110
|
+
"aria-roledescription": E(331),
|
|
111
111
|
"aria-label": de,
|
|
112
|
-
"aria-describedby": D +
|
|
112
|
+
"aria-describedby": D + "-live",
|
|
113
113
|
children: [
|
|
114
|
-
M > 0 && h(
|
|
115
|
-
className:
|
|
114
|
+
M > 0 && h("svg", {
|
|
115
|
+
className: "ds-chart__svg ds-funnel-chart__svg",
|
|
116
116
|
width: M,
|
|
117
117
|
height: B,
|
|
118
118
|
"aria-hidden": !0,
|
|
119
|
-
"data-orientation":
|
|
119
|
+
"data-orientation": p,
|
|
120
120
|
children: [
|
|
121
|
-
m(E(
|
|
122
|
-
id: D +
|
|
121
|
+
m(E(329), { children: O[E(341)]((e, t) => t > 0 ? h("pattern", {
|
|
122
|
+
id: D + E(317) + t,
|
|
123
123
|
width: 6,
|
|
124
124
|
height: 6,
|
|
125
|
-
patternUnits:
|
|
126
|
-
patternTransform: E(
|
|
127
|
-
children: [m(E(
|
|
125
|
+
patternUnits: E(305),
|
|
126
|
+
patternTransform: E(307),
|
|
127
|
+
children: [m(E(345), {
|
|
128
128
|
width: 6,
|
|
129
129
|
height: 6,
|
|
130
130
|
style: {
|
|
131
131
|
fill: L(t - 1),
|
|
132
132
|
fillOpacity: .1
|
|
133
133
|
}
|
|
134
|
-
}), m(E(
|
|
134
|
+
}), m(E(339), {
|
|
135
135
|
x1: 1.5,
|
|
136
136
|
y1: 0,
|
|
137
137
|
x2: 1.5,
|
|
@@ -142,88 +142,88 @@ function b({ data: t, orientation: n = e(345), calculateFrom: b = e(347), color:
|
|
|
142
142
|
strokeOpacity: .28
|
|
143
143
|
}
|
|
144
144
|
})]
|
|
145
|
-
}, e
|
|
146
|
-
m(E(
|
|
147
|
-
className: E(
|
|
148
|
-
"data-state": A ?
|
|
145
|
+
}, e.key) : null) }),
|
|
146
|
+
m(E(345), {
|
|
147
|
+
className: E(328),
|
|
148
|
+
"data-state": E(A ? 354 : 344),
|
|
149
149
|
x: 0,
|
|
150
150
|
y: 0,
|
|
151
151
|
width: I ? M : H,
|
|
152
152
|
height: I ? z : B,
|
|
153
153
|
rx: 8,
|
|
154
|
-
style: { transform: I ?
|
|
154
|
+
style: { transform: I ? "translateY(" + Q + E(362) : E(311) + Q + E(362) }
|
|
155
155
|
}),
|
|
156
|
-
O
|
|
156
|
+
O.map((e, t) => {
|
|
157
157
|
let n = E, r = G[t], i = A && j !== t || void 0, a = { "--_i": t };
|
|
158
158
|
return h("g", {
|
|
159
|
-
className: n(
|
|
159
|
+
className: n(346),
|
|
160
160
|
"data-faded": i,
|
|
161
|
-
children: [x && t > 0 && m(n(
|
|
162
|
-
className: n(
|
|
163
|
-
d: r[n(
|
|
164
|
-
fill:
|
|
161
|
+
children: [x && t > 0 && m(n(330), {
|
|
162
|
+
className: n(321),
|
|
163
|
+
d: r[n(347)],
|
|
164
|
+
fill: n(304) + D + n(317) + t + ")",
|
|
165
165
|
style: a
|
|
166
|
-
}), m(n(
|
|
167
|
-
className:
|
|
168
|
-
d: r[n(
|
|
166
|
+
}), m(n(330), {
|
|
167
|
+
className: "ds-funnel-chart__bar",
|
|
168
|
+
d: r[n(340)],
|
|
169
169
|
fill: L(t),
|
|
170
170
|
style: a
|
|
171
171
|
})]
|
|
172
|
-
}, e
|
|
172
|
+
}, e.key);
|
|
173
173
|
}),
|
|
174
|
-
O[E(
|
|
175
|
-
let n = E, r = G[t], i = w(e
|
|
174
|
+
O[E(341)]((e, t) => {
|
|
175
|
+
let n = E, r = G[t], i = w(e.value, e), a = T(e[n(336)]);
|
|
176
176
|
return I ? h("g", { children: [
|
|
177
|
-
m(n(
|
|
178
|
-
className:
|
|
177
|
+
m(n(306), {
|
|
178
|
+
className: "ds-funnel-chart__label",
|
|
179
179
|
x: 0,
|
|
180
|
-
y: r
|
|
181
|
-
dominantBaseline: n(
|
|
182
|
-
children: e
|
|
180
|
+
y: r[n(371)],
|
|
181
|
+
dominantBaseline: n(372),
|
|
182
|
+
children: e.label
|
|
183
183
|
}),
|
|
184
|
-
m(n(
|
|
185
|
-
className: n(
|
|
184
|
+
m(n(306), {
|
|
185
|
+
className: n(327),
|
|
186
186
|
x: M - y - 10,
|
|
187
|
-
y: r
|
|
188
|
-
dominantBaseline: n(
|
|
189
|
-
textAnchor: n(
|
|
187
|
+
y: r[n(371)],
|
|
188
|
+
dominantBaseline: n(372),
|
|
189
|
+
textAnchor: n(355),
|
|
190
190
|
children: i
|
|
191
191
|
}),
|
|
192
|
-
m(
|
|
193
|
-
className:
|
|
192
|
+
m(n(306), {
|
|
193
|
+
className: n(312),
|
|
194
194
|
x: M,
|
|
195
|
-
y: r[n(
|
|
196
|
-
dominantBaseline:
|
|
197
|
-
textAnchor:
|
|
195
|
+
y: r[n(371)],
|
|
196
|
+
dominantBaseline: n(372),
|
|
197
|
+
textAnchor: "end",
|
|
198
198
|
children: a
|
|
199
199
|
})
|
|
200
|
-
] }, e[n(
|
|
201
|
-
m(
|
|
202
|
-
className:
|
|
203
|
-
x: r[n(
|
|
200
|
+
] }, e[n(324)]) : h("g", { children: [
|
|
201
|
+
m(n(306), {
|
|
202
|
+
className: n(327),
|
|
203
|
+
x: r[n(371)],
|
|
204
204
|
y: 16,
|
|
205
|
-
dominantBaseline: n(
|
|
205
|
+
dominantBaseline: n(372),
|
|
206
206
|
textAnchor: "middle",
|
|
207
207
|
children: i
|
|
208
208
|
}),
|
|
209
|
-
m(n(
|
|
210
|
-
className: n(
|
|
211
|
-
x: r
|
|
209
|
+
m(n(306), {
|
|
210
|
+
className: n(312),
|
|
211
|
+
x: r[n(371)],
|
|
212
212
|
y: 35,
|
|
213
|
-
dominantBaseline: n(
|
|
214
|
-
textAnchor:
|
|
213
|
+
dominantBaseline: n(372),
|
|
214
|
+
textAnchor: n(372),
|
|
215
215
|
children: a
|
|
216
216
|
}),
|
|
217
|
-
m(
|
|
218
|
-
className: n(
|
|
219
|
-
x: r
|
|
217
|
+
m("text", {
|
|
218
|
+
className: n(365),
|
|
219
|
+
x: r[n(371)],
|
|
220
220
|
y: S - 6,
|
|
221
|
-
textAnchor: n(
|
|
222
|
-
children: e[n(
|
|
221
|
+
textAnchor: n(372),
|
|
222
|
+
children: e[n(349)]
|
|
223
223
|
})
|
|
224
|
-
] }, e
|
|
224
|
+
] }, e[n(324)]);
|
|
225
225
|
}),
|
|
226
|
-
m(E(
|
|
226
|
+
m(E(345), {
|
|
227
227
|
className: "ds-chart__hit",
|
|
228
228
|
x: 0,
|
|
229
229
|
y: 0,
|
|
@@ -231,49 +231,49 @@ function b({ data: t, orientation: n = e(345), calculateFrom: b = e(347), color:
|
|
|
231
231
|
height: B,
|
|
232
232
|
onPointerMove: $,
|
|
233
233
|
onPointerDown: $,
|
|
234
|
-
onPointerLeave:
|
|
234
|
+
onPointerLeave: ge
|
|
235
235
|
})
|
|
236
236
|
]
|
|
237
237
|
}),
|
|
238
|
-
m(E(
|
|
238
|
+
m(E(348), {
|
|
239
239
|
ref: he,
|
|
240
|
-
className: E(
|
|
241
|
-
"data-state": E(A ?
|
|
240
|
+
className: E(319),
|
|
241
|
+
"data-state": E(A ? 354 : 344),
|
|
242
242
|
"data-settled": me || void 0,
|
|
243
|
-
style: { transform:
|
|
243
|
+
style: { transform: "translate(" + X + E(352) + Z + E(362) },
|
|
244
244
|
"aria-hidden": !0,
|
|
245
|
-
children: m(
|
|
246
|
-
title: K?.
|
|
247
|
-
value: K ? w(K[E(
|
|
245
|
+
children: m(o, {
|
|
246
|
+
title: K?.[E(349)],
|
|
247
|
+
value: K ? w(K[E(361)], K) : void 0,
|
|
248
248
|
rows: Ce
|
|
249
249
|
})
|
|
250
250
|
}),
|
|
251
|
-
m(E(
|
|
252
|
-
id: D + E(
|
|
253
|
-
className:
|
|
251
|
+
m(E(314), {
|
|
252
|
+
id: D + E(363),
|
|
253
|
+
className: E(369),
|
|
254
254
|
"aria-live": "polite",
|
|
255
255
|
children: we
|
|
256
256
|
})
|
|
257
257
|
]
|
|
258
|
-
}), se && x && h(
|
|
258
|
+
}), se && x && h(r, {
|
|
259
259
|
gap: 4,
|
|
260
|
-
children: [h(
|
|
260
|
+
children: [h(r, {
|
|
261
261
|
gap: 2,
|
|
262
262
|
wrap: !1,
|
|
263
|
-
children: [m(
|
|
264
|
-
variant: E(
|
|
265
|
-
tone: E(
|
|
263
|
+
children: [m(n, { color: L(0) }), m(t, {
|
|
264
|
+
variant: E(326),
|
|
265
|
+
tone: E(350),
|
|
266
266
|
children: "전환"
|
|
267
267
|
})]
|
|
268
|
-
}), h(
|
|
268
|
+
}), h(r, {
|
|
269
269
|
gap: 2,
|
|
270
270
|
wrap: !1,
|
|
271
|
-
children: [m(
|
|
271
|
+
children: [m(n, {
|
|
272
272
|
color: L(0),
|
|
273
|
-
variant:
|
|
274
|
-
}), m(
|
|
275
|
-
variant:
|
|
276
|
-
tone: E(
|
|
273
|
+
variant: "hatched"
|
|
274
|
+
}), m(t, {
|
|
275
|
+
variant: E(326),
|
|
276
|
+
tone: E(350),
|
|
277
277
|
children: "이탈"
|
|
278
278
|
})]
|
|
279
279
|
})]
|
|
@@ -1,69 +1,72 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e =
|
|
3
|
-
(function(e,
|
|
4
|
-
let
|
|
2
|
+
const e = i;
|
|
3
|
+
(function(e, t) {
|
|
4
|
+
let n = i, r = e();
|
|
5
5
|
for (;;) try {
|
|
6
|
-
if (parseInt(
|
|
7
|
-
|
|
6
|
+
if (-parseInt(n(238)) / 1 * (-parseInt(n(232)) / 2) + -parseInt(n(239)) / 3 + -parseInt(n(235)) / 4 * (parseInt(n(234)) / 5) + -parseInt(n(233)) / 6 * (-parseInt(n(231)) / 7) + parseInt(n(226)) / 8 + -parseInt(n(221)) / 9 * (-parseInt(n(222)) / 10) + -parseInt(n(223)) / 11 * (parseInt(n(230)) / 12) == t) break;
|
|
7
|
+
r.push(r.shift());
|
|
8
8
|
} catch {
|
|
9
|
-
|
|
9
|
+
r.push(r.shift());
|
|
10
10
|
}
|
|
11
|
-
})(
|
|
12
|
-
function t(
|
|
13
|
-
e
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
11
|
+
})(t, 912199);
|
|
12
|
+
function t() {
|
|
13
|
+
let e = [
|
|
14
|
+
"mZK2mdy2mfvWzvH0vq",
|
|
15
|
+
"nfnby0nHrG",
|
|
16
|
+
"Bwf4",
|
|
17
|
+
"BwLU",
|
|
18
|
+
"nty3nZKWBhf5yxvV",
|
|
19
|
+
"mtm0nJm0m1fZuenIBq",
|
|
20
|
+
"ovDmuKnlvG",
|
|
21
|
+
"mtaYnJK1ntbxDeLKD1u",
|
|
22
|
+
"mtG3zKrvvvzi",
|
|
23
|
+
"BwfW",
|
|
24
|
+
"zNjVBq",
|
|
25
|
+
"nJq1mJu1mLHRsKHQqG",
|
|
26
|
+
"DMfSDwu",
|
|
27
|
+
"y29KzvbVAw50qxq",
|
|
28
|
+
"zMLYC3q",
|
|
29
|
+
"mta2ndu1nKfuAwHpBq",
|
|
30
|
+
"ndG0ndKWm0HSDvbZta",
|
|
31
|
+
"nfr4DK9Tsq",
|
|
32
|
+
"nK5ZD2PdrG"
|
|
33
|
+
];
|
|
34
|
+
return t = function() {
|
|
35
|
+
return e;
|
|
36
|
+
}, t();
|
|
25
37
|
}
|
|
26
|
-
function n(e,
|
|
27
|
-
let
|
|
28
|
-
return e[
|
|
29
|
-
let o =
|
|
38
|
+
function n(e, t) {
|
|
39
|
+
let n = i, r = e[0]?.[n(227)] ?? 0;
|
|
40
|
+
return e[n(224)]((i, a) => {
|
|
41
|
+
let o = n, s = Math[o(236)](0, i[o(227)]), c = a ? Math[o(236)](0, e[a - 1][o(227)]) : s, l = a === 0 ? 1 : r > 0 ? s / r : 0, u = a === 0 ? 1 : c > 0 ? s / c : 0, d = a ? Math[o(236)](0, c - s) : 0;
|
|
30
42
|
return {
|
|
31
|
-
...
|
|
43
|
+
...i,
|
|
32
44
|
value: s,
|
|
33
45
|
fromFirst: l,
|
|
34
46
|
fromPrevious: u,
|
|
35
|
-
conversion:
|
|
47
|
+
conversion: t === o(229) ? l : u,
|
|
36
48
|
drop: d,
|
|
37
49
|
dropRate: a && c > 0 ? d / c : 0
|
|
38
50
|
};
|
|
39
51
|
});
|
|
40
52
|
}
|
|
41
|
-
function r() {
|
|
42
|
-
let
|
|
43
|
-
|
|
44
|
-
"BwLU",
|
|
45
|
-
"mJuYnJC5BhjPBeLs",
|
|
46
|
-
"mJy5mZGZufvfsLbM",
|
|
47
|
-
"nLrkCMPwwG",
|
|
48
|
-
"y29KzvbVAw50qxq",
|
|
49
|
-
"mJu4D2LhAMPO",
|
|
50
|
-
"zNjVBq",
|
|
51
|
-
"ndKZntvMwgzJr1u",
|
|
52
|
-
"Bwf4",
|
|
53
|
-
"BwfW",
|
|
54
|
-
"mtG2mdC1ouDkBNHxAa",
|
|
55
|
-
"ntmXodaXmfvOyMLrzq",
|
|
56
|
-
"DMfSDwu",
|
|
57
|
-
"mJi1nteZsNnVy2fH",
|
|
58
|
-
"mJq4v09nshHV"
|
|
59
|
-
];
|
|
60
|
-
return r = function() {
|
|
61
|
-
return e;
|
|
62
|
-
}, r();
|
|
53
|
+
function r(e, t, n, r, a) {
|
|
54
|
+
let o = i, s = Math[o(236)](0, Math[o(237)](a, r / 2, n));
|
|
55
|
+
return "M" + e + "," + t + "H" + (e + n - s) + "Q" + (e + n) + "," + t + " " + (e + n) + "," + (t + s) + "V" + (t + r - s) + "Q" + (e + n) + "," + (t + r) + " " + (e + n - s) + "," + (t + r) + "H" + e + "Z";
|
|
63
56
|
}
|
|
64
|
-
function i(e, n
|
|
65
|
-
|
|
66
|
-
|
|
57
|
+
function i(e, n) {
|
|
58
|
+
e -= 221;
|
|
59
|
+
let r = t(), a = r[e];
|
|
60
|
+
i.FUblpD === void 0 && (i.PXnMZL = function(e) {
|
|
61
|
+
let t = "", n = "";
|
|
62
|
+
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);
|
|
63
|
+
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
64
|
+
return decodeURIComponent(n);
|
|
65
|
+
}, i.osNwMa = {}, i.FUblpD = !0);
|
|
66
|
+
let o = r[0];
|
|
67
|
+
i.ZjMToi !== o && (i.osNwMa = {}, i.ZjMToi = o);
|
|
68
|
+
let s = i.osNwMa[e];
|
|
69
|
+
return s === void 0 ? (a = i.PXnMZL(a), i.osNwMa[e] = a) : a = s, a;
|
|
67
70
|
}
|
|
68
|
-
var a = (t) => Array[e(
|
|
69
|
-
export { a as estimateTextWidth, n as funnelStats,
|
|
71
|
+
var a = (t) => Array[e(225)](t).reduce((t, n) => t + ((n[e(228)](0) ?? 0) >= 11904 ? 13 : 7.5), 0);
|
|
72
|
+
export { a as estimateTextWidth, n as funnelStats, r as hBarPath };
|