newspaperui 0.2.0 → 0.3.0
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/README.md +52 -0
- package/dist/charts/BarChart.d.ts +9 -0
- package/dist/charts/BarChart.d.ts.map +1 -0
- package/dist/charts/ChartFrame.d.ts +17 -0
- package/dist/charts/ChartFrame.d.ts.map +1 -0
- package/dist/charts/LineChart.d.ts +21 -0
- package/dist/charts/LineChart.d.ts.map +1 -0
- package/dist/charts/PieChart.d.ts +8 -0
- package/dist/charts/PieChart.d.ts.map +1 -0
- package/dist/charts/shared.d.ts +56 -0
- package/dist/charts/shared.d.ts.map +1 -0
- package/dist/index.cjs +4 -4
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +816 -420
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,133 +1,133 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useContext as
|
|
3
|
-
const
|
|
1
|
+
import { jsx as n, jsxs as d, Fragment as X } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as ne, createContext as ie, useId as Z, useRef as me, useState as pe, useEffect as ge } from "react";
|
|
3
|
+
const ae = ie({ columns: 24 }), fe = () => ne(ae), be = ({
|
|
4
4
|
columns: e = 24,
|
|
5
5
|
maxWidth: i = "1280px",
|
|
6
|
-
padding:
|
|
7
|
-
theme:
|
|
8
|
-
className:
|
|
9
|
-
style:
|
|
10
|
-
children:
|
|
11
|
-
}) => /* @__PURE__ */
|
|
6
|
+
padding: a = "var(--nui-space-6)",
|
|
7
|
+
theme: t,
|
|
8
|
+
className: r,
|
|
9
|
+
style: o,
|
|
10
|
+
children: s
|
|
11
|
+
}) => /* @__PURE__ */ n(ae.Provider, { value: { columns: e }, children: /* @__PURE__ */ n(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
|
-
"data-theme":
|
|
15
|
-
className:
|
|
14
|
+
"data-theme": t,
|
|
15
|
+
className: r,
|
|
16
16
|
style: {
|
|
17
17
|
maxWidth: i,
|
|
18
18
|
margin: "0 auto",
|
|
19
|
-
padding:
|
|
19
|
+
padding: a,
|
|
20
20
|
overflowX: "hidden",
|
|
21
21
|
background: "var(--nui-bg-page)",
|
|
22
22
|
color: "var(--nui-text-body)",
|
|
23
23
|
fontFamily: "var(--font-family-body)",
|
|
24
|
-
...
|
|
24
|
+
...o
|
|
25
25
|
},
|
|
26
|
-
children:
|
|
26
|
+
children: s
|
|
27
27
|
}
|
|
28
28
|
) });
|
|
29
|
-
function
|
|
29
|
+
function M(e, i) {
|
|
30
30
|
return Number.isNaN(e) || e < 1 ? 1 : e > i ? i : Math.floor(e);
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function x(...e) {
|
|
33
33
|
return e.filter(Boolean).join(" ");
|
|
34
34
|
}
|
|
35
|
-
const
|
|
35
|
+
const re = ie({ columns: 24 }), T = () => ne(re), Se = ({
|
|
36
36
|
columns: e,
|
|
37
37
|
gap: i = "var(--nui-gutter)",
|
|
38
|
-
breakable:
|
|
39
|
-
divider:
|
|
40
|
-
responsive:
|
|
41
|
-
className:
|
|
42
|
-
style:
|
|
38
|
+
breakable: a = !0,
|
|
39
|
+
divider: t = "none",
|
|
40
|
+
responsive: r,
|
|
41
|
+
className: o,
|
|
42
|
+
style: s,
|
|
43
43
|
children: c
|
|
44
44
|
}) => {
|
|
45
|
-
const
|
|
46
|
-
@media (max-width: 768px) { .${
|
|
47
|
-
@media (min-width: 769px) and (max-width: 1024px) { .${
|
|
48
|
-
` : "",
|
|
49
|
-
return (
|
|
50
|
-
f && /* @__PURE__ */
|
|
51
|
-
/* @__PURE__ */
|
|
45
|
+
const u = fe(), h = M(e, u.columns), S = `nui-s-${Z().replace(/:/g, "")}`, f = r ? `
|
|
46
|
+
@media (max-width: 768px) { .${S} { grid-template-columns: repeat(${r.sm ?? 12}, 1fr) !important; } }
|
|
47
|
+
@media (min-width: 769px) and (max-width: 1024px) { .${S} { grid-template-columns: repeat(${r.md ?? 16}, 1fr) !important; } }
|
|
48
|
+
` : "", $ = {};
|
|
49
|
+
return (t === "top" || t === "both") && ($.borderTop = "1px solid var(--nui-rule-hairline)"), (t === "bottom" || t === "both") && ($.borderBottom = "1px solid var(--nui-rule-hairline)"), /* @__PURE__ */ d(re.Provider, { value: { columns: h }, children: [
|
|
50
|
+
f && /* @__PURE__ */ n("style", { dangerouslySetInnerHTML: { __html: f } }),
|
|
51
|
+
/* @__PURE__ */ n(
|
|
52
52
|
"section",
|
|
53
53
|
{
|
|
54
|
-
className:
|
|
54
|
+
className: x("nui-section", S, o),
|
|
55
55
|
style: {
|
|
56
56
|
display: "grid",
|
|
57
|
-
gridTemplateColumns: `repeat(${
|
|
57
|
+
gridTemplateColumns: `repeat(${h}, 1fr)`,
|
|
58
58
|
gap: i,
|
|
59
|
-
breakInside:
|
|
60
|
-
|
|
61
|
-
paddingTop:
|
|
62
|
-
paddingBottom:
|
|
63
|
-
...
|
|
59
|
+
breakInside: a ? "auto" : "avoid",
|
|
60
|
+
...$,
|
|
61
|
+
paddingTop: t === "top" || t === "both" ? "var(--nui-space-4)" : void 0,
|
|
62
|
+
paddingBottom: t === "bottom" || t === "both" ? "var(--nui-space-4)" : void 0,
|
|
63
|
+
...s
|
|
64
64
|
},
|
|
65
|
-
"data-columns":
|
|
65
|
+
"data-columns": h,
|
|
66
66
|
children: c
|
|
67
67
|
}
|
|
68
68
|
)
|
|
69
69
|
] });
|
|
70
|
-
},
|
|
70
|
+
}, Ne = ({
|
|
71
71
|
span: e,
|
|
72
72
|
breakable: i = !0,
|
|
73
|
-
className:
|
|
74
|
-
style:
|
|
75
|
-
children:
|
|
73
|
+
className: a,
|
|
74
|
+
style: t,
|
|
75
|
+
children: r
|
|
76
76
|
}) => {
|
|
77
|
-
const
|
|
78
|
-
return /* @__PURE__ */
|
|
77
|
+
const o = T(), s = e ? M(e, o.columns) : o.columns;
|
|
78
|
+
return /* @__PURE__ */ n(
|
|
79
79
|
"article",
|
|
80
80
|
{
|
|
81
|
-
className:
|
|
81
|
+
className: x("nui-article", a),
|
|
82
82
|
style: {
|
|
83
|
-
gridColumn: `span ${
|
|
83
|
+
gridColumn: `span ${s}`,
|
|
84
84
|
breakInside: i ? "auto" : "avoid",
|
|
85
|
-
...
|
|
85
|
+
...t
|
|
86
86
|
},
|
|
87
|
-
"data-span":
|
|
88
|
-
children:
|
|
87
|
+
"data-span": s,
|
|
88
|
+
children: r
|
|
89
89
|
}
|
|
90
90
|
);
|
|
91
|
-
},
|
|
91
|
+
}, $e = ({
|
|
92
92
|
position: e = "absolute",
|
|
93
93
|
top: i,
|
|
94
|
-
left:
|
|
95
|
-
right:
|
|
96
|
-
bottom:
|
|
97
|
-
zIndex:
|
|
98
|
-
className:
|
|
94
|
+
left: a,
|
|
95
|
+
right: t,
|
|
96
|
+
bottom: r,
|
|
97
|
+
zIndex: o,
|
|
98
|
+
className: s,
|
|
99
99
|
style: c,
|
|
100
|
-
children:
|
|
101
|
-
}) => /* @__PURE__ */
|
|
100
|
+
children: u
|
|
101
|
+
}) => /* @__PURE__ */ n(
|
|
102
102
|
"div",
|
|
103
103
|
{
|
|
104
|
-
className:
|
|
105
|
-
style: { position: e, top: i, left:
|
|
106
|
-
children:
|
|
104
|
+
className: s,
|
|
105
|
+
style: { position: e, top: i, left: a, right: t, bottom: r, zIndex: o, ...c },
|
|
106
|
+
children: u
|
|
107
107
|
}
|
|
108
|
-
),
|
|
108
|
+
), Fe = ({
|
|
109
109
|
title: e,
|
|
110
110
|
kicker: i,
|
|
111
|
-
edition:
|
|
112
|
-
date:
|
|
113
|
-
price:
|
|
114
|
-
variant:
|
|
115
|
-
as:
|
|
111
|
+
edition: a,
|
|
112
|
+
date: t,
|
|
113
|
+
price: r,
|
|
114
|
+
variant: o = "classic",
|
|
115
|
+
as: s = "h1",
|
|
116
116
|
className: c
|
|
117
117
|
}) => {
|
|
118
|
-
const
|
|
118
|
+
const u = o === "blackletter" ? "var(--font-family-blackletter)" : "var(--font-family-masthead)", h = o === "modern" ? "left" : "center";
|
|
119
119
|
return /* @__PURE__ */ d(
|
|
120
120
|
"header",
|
|
121
121
|
{
|
|
122
|
-
className:
|
|
122
|
+
className: x("nui-masthead", `nui-masthead--${o}`, c),
|
|
123
123
|
style: {
|
|
124
124
|
gridColumn: "1 / -1",
|
|
125
|
-
textAlign:
|
|
125
|
+
textAlign: h,
|
|
126
126
|
color: "var(--nui-text-primary)"
|
|
127
127
|
},
|
|
128
128
|
children: [
|
|
129
|
-
/* @__PURE__ */
|
|
130
|
-
i && /* @__PURE__ */
|
|
129
|
+
/* @__PURE__ */ n("div", { className: "nui-masthead-rule-top" }),
|
|
130
|
+
i && /* @__PURE__ */ n(
|
|
131
131
|
"div",
|
|
132
132
|
{
|
|
133
133
|
className: "nui-small-caps",
|
|
@@ -140,27 +140,27 @@ const H = z({ columns: 24 }), h = () => b(H), B = ({
|
|
|
140
140
|
children: i
|
|
141
141
|
}
|
|
142
142
|
),
|
|
143
|
-
/* @__PURE__ */
|
|
144
|
-
|
|
143
|
+
/* @__PURE__ */ n(
|
|
144
|
+
s,
|
|
145
145
|
{
|
|
146
146
|
style: {
|
|
147
|
-
fontFamily:
|
|
147
|
+
fontFamily: u,
|
|
148
148
|
fontWeight: 700,
|
|
149
|
-
fontSize:
|
|
149
|
+
fontSize: o === "modern" ? "clamp(40px, 6vw, 72px)" : "clamp(48px, 8vw, 96px)",
|
|
150
150
|
lineHeight: 1,
|
|
151
|
-
letterSpacing:
|
|
151
|
+
letterSpacing: o === "blackletter" ? "0" : "0.02em",
|
|
152
152
|
margin: "var(--nui-space-2) 0 var(--nui-space-3) 0"
|
|
153
153
|
},
|
|
154
154
|
children: e
|
|
155
155
|
}
|
|
156
156
|
),
|
|
157
|
-
(
|
|
157
|
+
(a || t || r) && /* @__PURE__ */ d(
|
|
158
158
|
"div",
|
|
159
159
|
{
|
|
160
160
|
className: "nui-small-caps",
|
|
161
161
|
style: {
|
|
162
162
|
display: "flex",
|
|
163
|
-
justifyContent:
|
|
163
|
+
justifyContent: h === "left" ? "flex-start" : "space-between",
|
|
164
164
|
gap: "var(--nui-space-6)",
|
|
165
165
|
fontSize: "11px",
|
|
166
166
|
color: "var(--nui-text-muted)",
|
|
@@ -169,54 +169,54 @@ const H = z({ columns: 24 }), h = () => b(H), B = ({
|
|
|
169
169
|
letterSpacing: "0.08em"
|
|
170
170
|
},
|
|
171
171
|
children: [
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
172
|
+
a && /* @__PURE__ */ n("span", { children: a }),
|
|
173
|
+
t && /* @__PURE__ */ n("span", { children: t }),
|
|
174
|
+
r && /* @__PURE__ */ n("span", { children: r })
|
|
175
175
|
]
|
|
176
176
|
}
|
|
177
177
|
),
|
|
178
|
-
/* @__PURE__ */
|
|
178
|
+
/* @__PURE__ */ n("div", { className: "nui-masthead-rule-bottom" })
|
|
179
179
|
]
|
|
180
180
|
}
|
|
181
181
|
);
|
|
182
|
-
},
|
|
182
|
+
}, ke = ({
|
|
183
183
|
variant: e = "hairline",
|
|
184
184
|
orientation: i = "horizontal",
|
|
185
|
-
span:
|
|
186
|
-
className:
|
|
187
|
-
style:
|
|
185
|
+
span: a,
|
|
186
|
+
className: t,
|
|
187
|
+
style: r
|
|
188
188
|
}) => {
|
|
189
|
-
const
|
|
189
|
+
const o = i === "horizontal", s = o ? { width: "100%", border: 0, margin: 0 } : { height: "100%", width: "1px", border: 0, margin: 0 }, c = e === "hairline" ? o ? { borderTop: "1px solid var(--nui-rule-hairline)" } : { background: "var(--nui-rule-hairline)" } : e === "thick" ? o ? { borderTop: "3px solid var(--nui-rule-decorative)" } : { width: "3px", background: "var(--nui-rule-decorative)" } : o ? {
|
|
190
190
|
height: "6px",
|
|
191
191
|
background: "linear-gradient(to bottom, var(--nui-rule-decorative) 0 1px, transparent 1px 4px, var(--nui-rule-decorative) 4px 6px)"
|
|
192
192
|
} : {
|
|
193
193
|
width: "6px",
|
|
194
194
|
background: "linear-gradient(to right, var(--nui-rule-decorative) 0 1px, transparent 1px 4px, var(--nui-rule-decorative) 4px 6px)"
|
|
195
195
|
};
|
|
196
|
-
return /* @__PURE__ */
|
|
196
|
+
return /* @__PURE__ */ n(
|
|
197
197
|
"hr",
|
|
198
198
|
{
|
|
199
|
-
className:
|
|
199
|
+
className: x("nui-rule", `nui-rule--${e}`, t),
|
|
200
200
|
style: {
|
|
201
|
-
...
|
|
201
|
+
...s,
|
|
202
202
|
...c,
|
|
203
|
-
gridColumn:
|
|
204
|
-
...
|
|
203
|
+
gridColumn: o && a ? `span ${a}` : o ? "1 / -1" : void 0,
|
|
204
|
+
...r
|
|
205
205
|
},
|
|
206
206
|
"aria-orientation": i
|
|
207
207
|
}
|
|
208
208
|
);
|
|
209
|
-
},
|
|
209
|
+
}, ze = ({
|
|
210
210
|
copyright: e,
|
|
211
211
|
edition: i,
|
|
212
|
-
links:
|
|
213
|
-
className:
|
|
214
|
-
style:
|
|
215
|
-
children:
|
|
212
|
+
links: a,
|
|
213
|
+
className: t,
|
|
214
|
+
style: r,
|
|
215
|
+
children: o
|
|
216
216
|
}) => /* @__PURE__ */ d(
|
|
217
217
|
"footer",
|
|
218
218
|
{
|
|
219
|
-
className:
|
|
219
|
+
className: x("nui-footer nui-small-caps", t),
|
|
220
220
|
style: {
|
|
221
221
|
gridColumn: "1 / -1",
|
|
222
222
|
borderTop: "2px solid var(--nui-rule-decorative)",
|
|
@@ -231,47 +231,47 @@ const H = z({ columns: 24 }), h = () => b(H), B = ({
|
|
|
231
231
|
alignItems: "center",
|
|
232
232
|
flexWrap: "wrap",
|
|
233
233
|
gap: "var(--nui-space-4)",
|
|
234
|
-
...
|
|
234
|
+
...r
|
|
235
235
|
},
|
|
236
236
|
children: [
|
|
237
237
|
/* @__PURE__ */ d("div", { children: [
|
|
238
|
-
e && /* @__PURE__ */
|
|
239
|
-
i && /* @__PURE__ */
|
|
238
|
+
e && /* @__PURE__ */ n("span", { children: e }),
|
|
239
|
+
i && /* @__PURE__ */ n("span", { style: { marginLeft: "var(--nui-space-4)" }, children: i })
|
|
240
240
|
] }),
|
|
241
|
-
|
|
242
|
-
|
|
241
|
+
a && /* @__PURE__ */ n("nav", { style: { display: "flex", gap: "var(--nui-space-4)" }, children: a.map((s) => /* @__PURE__ */ n("a", { href: s.href, style: { color: "var(--nui-text-muted)", textDecoration: "none" }, children: s.label }, s.href)) }),
|
|
242
|
+
o
|
|
243
243
|
]
|
|
244
244
|
}
|
|
245
|
-
),
|
|
245
|
+
), We = ({
|
|
246
246
|
span: e,
|
|
247
247
|
position: i = "right",
|
|
248
|
-
divider:
|
|
249
|
-
className:
|
|
250
|
-
style:
|
|
251
|
-
children:
|
|
248
|
+
divider: a = !1,
|
|
249
|
+
className: t,
|
|
250
|
+
style: r,
|
|
251
|
+
children: o
|
|
252
252
|
}) => {
|
|
253
|
-
const
|
|
254
|
-
return /* @__PURE__ */
|
|
253
|
+
const s = T(), c = e ? M(e, s.columns) : 6, u = a ? i === "left" ? { borderRight: "1px solid var(--nui-rule-hairline)", paddingRight: "var(--nui-space-4)" } : { borderLeft: "1px solid var(--nui-rule-hairline)", paddingLeft: "var(--nui-space-4)" } : {};
|
|
254
|
+
return /* @__PURE__ */ n(
|
|
255
255
|
"aside",
|
|
256
256
|
{
|
|
257
|
-
className:
|
|
257
|
+
className: x("nui-sidebar", t),
|
|
258
258
|
style: {
|
|
259
259
|
gridColumn: `span ${c}`,
|
|
260
|
-
...
|
|
261
|
-
...
|
|
260
|
+
...u,
|
|
261
|
+
...r
|
|
262
262
|
},
|
|
263
|
-
children:
|
|
263
|
+
children: o
|
|
264
264
|
}
|
|
265
265
|
);
|
|
266
|
-
},
|
|
266
|
+
}, He = ({
|
|
267
267
|
label: e = "BREAKING",
|
|
268
268
|
className: i,
|
|
269
|
-
style:
|
|
270
|
-
children:
|
|
269
|
+
style: a,
|
|
270
|
+
children: t
|
|
271
271
|
}) => /* @__PURE__ */ d(
|
|
272
272
|
"div",
|
|
273
273
|
{
|
|
274
|
-
className:
|
|
274
|
+
className: x("nui-breaking", i),
|
|
275
275
|
role: "alert",
|
|
276
276
|
style: {
|
|
277
277
|
gridColumn: "1 / -1",
|
|
@@ -284,19 +284,19 @@ const H = z({ columns: 24 }), h = () => b(H), B = ({
|
|
|
284
284
|
display: "flex",
|
|
285
285
|
alignItems: "center",
|
|
286
286
|
gap: "var(--nui-space-4)",
|
|
287
|
-
...
|
|
287
|
+
...a
|
|
288
288
|
},
|
|
289
289
|
children: [
|
|
290
|
-
/* @__PURE__ */
|
|
290
|
+
/* @__PURE__ */ n("span", { style: {
|
|
291
291
|
fontVariantCaps: "small-caps",
|
|
292
292
|
letterSpacing: "0.1em",
|
|
293
293
|
fontWeight: 700,
|
|
294
294
|
flexShrink: 0
|
|
295
295
|
}, children: e }),
|
|
296
|
-
/* @__PURE__ */
|
|
296
|
+
/* @__PURE__ */ n("span", { style: { flex: 1 }, children: t })
|
|
297
297
|
]
|
|
298
298
|
}
|
|
299
|
-
),
|
|
299
|
+
), D = {
|
|
300
300
|
Headline: {
|
|
301
301
|
High: {
|
|
302
302
|
fontFamily: "--font-family-display",
|
|
@@ -477,226 +477,226 @@ const H = z({ columns: 24 }), h = () => b(H), B = ({
|
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
479
|
};
|
|
480
|
-
function
|
|
480
|
+
function Y(e) {
|
|
481
481
|
if (Array.isArray(e)) {
|
|
482
|
-
const i = e[0],
|
|
483
|
-
return `clamp(${i}, ${
|
|
482
|
+
const i = e[0], a = e[1], t = parseFloat(i), r = parseFloat(a), o = ((t + r) / 2 / 16 * 1.5).toFixed(2);
|
|
483
|
+
return `clamp(${i}, ${o}vw, ${a})`;
|
|
484
484
|
}
|
|
485
485
|
return e;
|
|
486
486
|
}
|
|
487
|
-
const
|
|
487
|
+
const ye = {
|
|
488
488
|
High: "h1",
|
|
489
489
|
Medium: "h2",
|
|
490
490
|
Low: "h3"
|
|
491
|
-
},
|
|
491
|
+
}, we = ({
|
|
492
492
|
weight: e = "High",
|
|
493
493
|
span: i,
|
|
494
|
-
as:
|
|
495
|
-
align:
|
|
496
|
-
className:
|
|
497
|
-
style:
|
|
498
|
-
children:
|
|
494
|
+
as: a,
|
|
495
|
+
align: t,
|
|
496
|
+
className: r,
|
|
497
|
+
style: o,
|
|
498
|
+
children: s
|
|
499
499
|
}) => {
|
|
500
500
|
var f;
|
|
501
|
-
const c =
|
|
502
|
-
return /* @__PURE__ */
|
|
503
|
-
|
|
501
|
+
const c = T(), u = D.Headline[e], h = a ?? ye[e], b = i ? M(i, c.columns) : void 0, S = (f = u.fontVariant) != null && f.includes("lining") ? "nui-tnum" : "nui-osf";
|
|
502
|
+
return /* @__PURE__ */ n(
|
|
503
|
+
h,
|
|
504
504
|
{
|
|
505
|
-
className:
|
|
505
|
+
className: x("nui-headline", S, r),
|
|
506
506
|
style: {
|
|
507
|
-
fontFamily: `var(${
|
|
508
|
-
fontSize:
|
|
509
|
-
fontWeight:
|
|
510
|
-
lineHeight:
|
|
511
|
-
letterSpacing:
|
|
512
|
-
color: `var(${
|
|
513
|
-
margin:
|
|
514
|
-
textAlign:
|
|
507
|
+
fontFamily: `var(${u.fontFamily})`,
|
|
508
|
+
fontSize: Y(u.fontSize),
|
|
509
|
+
fontWeight: u.fontWeight,
|
|
510
|
+
lineHeight: u.lineHeight,
|
|
511
|
+
letterSpacing: u.letterSpacing,
|
|
512
|
+
color: `var(${u.color})`,
|
|
513
|
+
margin: u.margin,
|
|
514
|
+
textAlign: t,
|
|
515
515
|
textWrap: "balance",
|
|
516
|
-
gridColumn:
|
|
517
|
-
...
|
|
516
|
+
gridColumn: b ? `span ${b}` : void 0,
|
|
517
|
+
...o
|
|
518
518
|
},
|
|
519
519
|
"data-weight": e,
|
|
520
|
-
children:
|
|
520
|
+
children: s
|
|
521
521
|
}
|
|
522
522
|
);
|
|
523
|
-
},
|
|
523
|
+
}, Me = ({
|
|
524
524
|
weight: e = "Medium",
|
|
525
525
|
span: i,
|
|
526
|
-
as:
|
|
527
|
-
className:
|
|
528
|
-
style:
|
|
529
|
-
children:
|
|
526
|
+
as: a = "p",
|
|
527
|
+
className: t,
|
|
528
|
+
style: r,
|
|
529
|
+
children: o
|
|
530
530
|
}) => {
|
|
531
|
-
const
|
|
532
|
-
return /* @__PURE__ */
|
|
533
|
-
|
|
531
|
+
const s = T(), c = D.Subhead[e], u = a, h = i ? M(i, s.columns) : void 0;
|
|
532
|
+
return /* @__PURE__ */ n(
|
|
533
|
+
u,
|
|
534
534
|
{
|
|
535
|
-
className:
|
|
535
|
+
className: x("nui-subhead nui-osf", t),
|
|
536
536
|
style: {
|
|
537
537
|
fontFamily: `var(${c.fontFamily})`,
|
|
538
|
-
fontSize:
|
|
538
|
+
fontSize: Y(c.fontSize),
|
|
539
539
|
fontWeight: c.fontWeight,
|
|
540
540
|
fontStyle: c.fontStyle,
|
|
541
541
|
lineHeight: c.lineHeight,
|
|
542
542
|
color: `var(${c.color})`,
|
|
543
543
|
margin: c.margin,
|
|
544
|
-
gridColumn:
|
|
545
|
-
...
|
|
544
|
+
gridColumn: h ? `span ${h}` : void 0,
|
|
545
|
+
...r
|
|
546
546
|
},
|
|
547
547
|
"data-weight": e,
|
|
548
|
-
children:
|
|
548
|
+
children: o
|
|
549
549
|
}
|
|
550
550
|
);
|
|
551
|
-
},
|
|
552
|
-
const
|
|
553
|
-
return /* @__PURE__ */
|
|
551
|
+
}, Ce = ({ className: e, style: i, children: a }) => {
|
|
552
|
+
const t = D.Kicker.Standard;
|
|
553
|
+
return /* @__PURE__ */ n(
|
|
554
554
|
"div",
|
|
555
555
|
{
|
|
556
|
-
className:
|
|
556
|
+
className: x("nui-kicker nui-small-caps", e),
|
|
557
557
|
style: {
|
|
558
|
-
fontFamily: `var(${
|
|
559
|
-
fontSize:
|
|
560
|
-
fontWeight:
|
|
561
|
-
lineHeight:
|
|
562
|
-
letterSpacing:
|
|
563
|
-
color: `var(${
|
|
564
|
-
margin:
|
|
558
|
+
fontFamily: `var(${t.fontFamily})`,
|
|
559
|
+
fontSize: Y(t.fontSize),
|
|
560
|
+
fontWeight: t.fontWeight,
|
|
561
|
+
lineHeight: t.lineHeight,
|
|
562
|
+
letterSpacing: t.letterSpacing,
|
|
563
|
+
color: `var(${t.color})`,
|
|
564
|
+
margin: t.margin,
|
|
565
565
|
...i
|
|
566
566
|
},
|
|
567
|
-
children:
|
|
567
|
+
children: a
|
|
568
568
|
}
|
|
569
569
|
);
|
|
570
|
-
},
|
|
570
|
+
}, Te = ({
|
|
571
571
|
weight: e = "Medium",
|
|
572
572
|
span: i,
|
|
573
|
-
columns:
|
|
574
|
-
columnWidth:
|
|
575
|
-
columnFill:
|
|
576
|
-
dropCap:
|
|
577
|
-
className:
|
|
573
|
+
columns: a = 1,
|
|
574
|
+
columnWidth: t,
|
|
575
|
+
columnFill: r = "balance",
|
|
576
|
+
dropCap: o = !1,
|
|
577
|
+
className: s,
|
|
578
578
|
style: c,
|
|
579
|
-
children:
|
|
579
|
+
children: u
|
|
580
580
|
}) => {
|
|
581
|
-
const
|
|
582
|
-
return /* @__PURE__ */
|
|
581
|
+
const h = T(), b = D.BodyText[e], S = i ? M(i, h.columns) : void 0, f = a >= 2;
|
|
582
|
+
return /* @__PURE__ */ n(
|
|
583
583
|
"div",
|
|
584
584
|
{
|
|
585
|
-
className:
|
|
585
|
+
className: x(
|
|
586
586
|
"nui-bodytext",
|
|
587
587
|
"nui-paragraph-flow",
|
|
588
588
|
"nui-osf",
|
|
589
589
|
"nui-hanging-punctuation",
|
|
590
590
|
f && "nui-column-rule",
|
|
591
|
-
|
|
592
|
-
|
|
591
|
+
o && "nui-drop-cap",
|
|
592
|
+
s
|
|
593
593
|
),
|
|
594
594
|
style: {
|
|
595
|
-
fontFamily: `var(${
|
|
596
|
-
fontSize:
|
|
597
|
-
fontWeight:
|
|
598
|
-
lineHeight:
|
|
599
|
-
color: `var(${
|
|
600
|
-
margin:
|
|
601
|
-
gridColumn:
|
|
602
|
-
columnCount: f ?
|
|
603
|
-
columnWidth: f ?
|
|
595
|
+
fontFamily: `var(${b.fontFamily})`,
|
|
596
|
+
fontSize: Y(b.fontSize),
|
|
597
|
+
fontWeight: b.fontWeight,
|
|
598
|
+
lineHeight: b.lineHeight,
|
|
599
|
+
color: `var(${b.color})`,
|
|
600
|
+
margin: b.margin,
|
|
601
|
+
gridColumn: S ? `span ${S}` : void 0,
|
|
602
|
+
columnCount: f ? a : void 0,
|
|
603
|
+
columnWidth: f ? t : void 0,
|
|
604
604
|
columnGap: f ? "var(--nui-gutter)" : void 0,
|
|
605
|
-
columnFill: f ?
|
|
605
|
+
columnFill: f ? r : void 0,
|
|
606
606
|
...c
|
|
607
607
|
},
|
|
608
608
|
"data-weight": e,
|
|
609
|
-
"data-columns":
|
|
610
|
-
children:
|
|
609
|
+
"data-columns": a,
|
|
610
|
+
children: u
|
|
611
611
|
}
|
|
612
612
|
);
|
|
613
|
-
},
|
|
613
|
+
}, Be = ({
|
|
614
614
|
variant: e = "block",
|
|
615
615
|
weight: i = "Medium",
|
|
616
|
-
span:
|
|
617
|
-
cite:
|
|
618
|
-
className:
|
|
619
|
-
style:
|
|
620
|
-
children:
|
|
616
|
+
span: a,
|
|
617
|
+
cite: t,
|
|
618
|
+
className: r,
|
|
619
|
+
style: o,
|
|
620
|
+
children: s
|
|
621
621
|
}) => {
|
|
622
|
-
const c =
|
|
623
|
-
return e === "inline" ? /* @__PURE__ */
|
|
622
|
+
const c = T(), u = D.Quote[i], h = a ? M(a, c.columns) : void 0;
|
|
623
|
+
return e === "inline" ? /* @__PURE__ */ n("em", { className: x("nui-quote nui-quote--inline", r), style: o, children: s }) : /* @__PURE__ */ n(
|
|
624
624
|
"blockquote",
|
|
625
625
|
{
|
|
626
|
-
cite:
|
|
627
|
-
className:
|
|
626
|
+
cite: t,
|
|
627
|
+
className: x("nui-quote nui-quote--block nui-osf", r),
|
|
628
628
|
style: {
|
|
629
|
-
fontFamily: `var(${
|
|
630
|
-
fontSize:
|
|
631
|
-
fontWeight:
|
|
632
|
-
lineHeight:
|
|
633
|
-
color: `var(${
|
|
634
|
-
margin:
|
|
635
|
-
gridColumn:
|
|
629
|
+
fontFamily: `var(${u.fontFamily})`,
|
|
630
|
+
fontSize: Y(u.fontSize),
|
|
631
|
+
fontWeight: u.fontWeight,
|
|
632
|
+
lineHeight: u.lineHeight,
|
|
633
|
+
color: `var(${u.color})`,
|
|
634
|
+
margin: u.margin,
|
|
635
|
+
gridColumn: h ? `span ${h}` : void 0,
|
|
636
636
|
borderLeft: "none",
|
|
637
|
-
...
|
|
637
|
+
...o
|
|
638
638
|
},
|
|
639
639
|
"data-weight": i,
|
|
640
|
-
children:
|
|
640
|
+
children: s
|
|
641
641
|
}
|
|
642
642
|
);
|
|
643
|
-
},
|
|
644
|
-
const
|
|
645
|
-
return /* @__PURE__ */
|
|
643
|
+
}, Ie = ({ className: e, style: i, children: a }) => {
|
|
644
|
+
const t = D.Byline.Standard;
|
|
645
|
+
return /* @__PURE__ */ n(
|
|
646
646
|
"div",
|
|
647
647
|
{
|
|
648
|
-
className:
|
|
648
|
+
className: x("nui-byline nui-small-caps", e),
|
|
649
649
|
style: {
|
|
650
|
-
fontFamily: `var(${
|
|
651
|
-
fontSize:
|
|
652
|
-
fontWeight:
|
|
653
|
-
lineHeight:
|
|
654
|
-
letterSpacing:
|
|
655
|
-
color: `var(${
|
|
656
|
-
margin:
|
|
650
|
+
fontFamily: `var(${t.fontFamily})`,
|
|
651
|
+
fontSize: Y(t.fontSize),
|
|
652
|
+
fontWeight: t.fontWeight,
|
|
653
|
+
lineHeight: t.lineHeight,
|
|
654
|
+
letterSpacing: t.letterSpacing,
|
|
655
|
+
color: `var(${t.color})`,
|
|
656
|
+
margin: t.margin,
|
|
657
657
|
...i
|
|
658
658
|
},
|
|
659
|
-
children:
|
|
659
|
+
children: a
|
|
660
660
|
}
|
|
661
661
|
);
|
|
662
|
-
},
|
|
663
|
-
const
|
|
664
|
-
return /* @__PURE__ */
|
|
662
|
+
}, Ve = ({ className: e, style: i, children: a }) => {
|
|
663
|
+
const t = D.Dateline.Standard;
|
|
664
|
+
return /* @__PURE__ */ n(
|
|
665
665
|
"span",
|
|
666
666
|
{
|
|
667
|
-
className:
|
|
667
|
+
className: x("nui-dateline nui-small-caps", e),
|
|
668
668
|
style: {
|
|
669
|
-
fontFamily: `var(${
|
|
670
|
-
fontSize:
|
|
671
|
-
fontWeight:
|
|
672
|
-
lineHeight:
|
|
673
|
-
letterSpacing:
|
|
674
|
-
color: `var(${
|
|
675
|
-
margin:
|
|
669
|
+
fontFamily: `var(${t.fontFamily})`,
|
|
670
|
+
fontSize: Y(t.fontSize),
|
|
671
|
+
fontWeight: t.fontWeight,
|
|
672
|
+
lineHeight: t.lineHeight,
|
|
673
|
+
letterSpacing: t.letterSpacing,
|
|
674
|
+
color: `var(${t.color})`,
|
|
675
|
+
margin: t.margin,
|
|
676
676
|
...i
|
|
677
677
|
},
|
|
678
|
-
children:
|
|
678
|
+
children: a
|
|
679
679
|
}
|
|
680
680
|
);
|
|
681
|
-
},
|
|
682
|
-
const
|
|
681
|
+
}, le = ({ credit: e, className: i, style: a, children: t }) => {
|
|
682
|
+
const r = D.Caption.Standard;
|
|
683
683
|
return /* @__PURE__ */ d(
|
|
684
684
|
"figcaption",
|
|
685
685
|
{
|
|
686
|
-
className:
|
|
686
|
+
className: x("nui-caption nui-osf", i),
|
|
687
687
|
style: {
|
|
688
|
-
fontFamily: `var(${
|
|
689
|
-
fontSize:
|
|
690
|
-
fontWeight:
|
|
691
|
-
fontStyle:
|
|
692
|
-
lineHeight:
|
|
693
|
-
color: `var(${
|
|
694
|
-
margin:
|
|
695
|
-
...
|
|
688
|
+
fontFamily: `var(${r.fontFamily})`,
|
|
689
|
+
fontSize: Y(r.fontSize),
|
|
690
|
+
fontWeight: r.fontWeight,
|
|
691
|
+
fontStyle: r.fontStyle,
|
|
692
|
+
lineHeight: r.lineHeight,
|
|
693
|
+
color: `var(${r.color})`,
|
|
694
|
+
margin: r.margin,
|
|
695
|
+
...a
|
|
696
696
|
},
|
|
697
697
|
children: [
|
|
698
|
-
|
|
699
|
-
e && /* @__PURE__ */
|
|
698
|
+
t,
|
|
699
|
+
e && /* @__PURE__ */ n(
|
|
700
700
|
"span",
|
|
701
701
|
{
|
|
702
702
|
className: "nui-small-caps",
|
|
@@ -714,141 +714,141 @@ const N = {
|
|
|
714
714
|
]
|
|
715
715
|
}
|
|
716
716
|
);
|
|
717
|
-
},
|
|
717
|
+
}, Ae = ({
|
|
718
718
|
src: e,
|
|
719
719
|
alt: i,
|
|
720
|
-
span:
|
|
721
|
-
loading:
|
|
722
|
-
aspectRatio:
|
|
723
|
-
sizes:
|
|
724
|
-
className:
|
|
720
|
+
span: a,
|
|
721
|
+
loading: t,
|
|
722
|
+
aspectRatio: r,
|
|
723
|
+
sizes: o,
|
|
724
|
+
className: s,
|
|
725
725
|
style: c
|
|
726
726
|
}) => {
|
|
727
|
-
const
|
|
728
|
-
return /* @__PURE__ */
|
|
727
|
+
const u = T(), h = a ? M(a, u.columns) : void 0;
|
|
728
|
+
return /* @__PURE__ */ n(
|
|
729
729
|
"img",
|
|
730
730
|
{
|
|
731
731
|
src: e,
|
|
732
732
|
alt: i,
|
|
733
|
-
loading:
|
|
734
|
-
sizes:
|
|
735
|
-
className:
|
|
733
|
+
loading: t ?? "lazy",
|
|
734
|
+
sizes: o,
|
|
735
|
+
className: x("nui-image", s),
|
|
736
736
|
style: {
|
|
737
737
|
display: "block",
|
|
738
738
|
width: "100%",
|
|
739
739
|
height: "auto",
|
|
740
|
-
aspectRatio:
|
|
741
|
-
gridColumn:
|
|
740
|
+
aspectRatio: r,
|
|
741
|
+
gridColumn: h ? `span ${h}` : void 0,
|
|
742
742
|
...c
|
|
743
743
|
}
|
|
744
744
|
}
|
|
745
745
|
);
|
|
746
|
-
},
|
|
746
|
+
}, De = ({
|
|
747
747
|
src: e,
|
|
748
748
|
alt: i,
|
|
749
|
-
caption:
|
|
750
|
-
credit:
|
|
751
|
-
span:
|
|
752
|
-
loading:
|
|
753
|
-
aspectRatio:
|
|
749
|
+
caption: a,
|
|
750
|
+
credit: t,
|
|
751
|
+
span: r,
|
|
752
|
+
loading: o,
|
|
753
|
+
aspectRatio: s,
|
|
754
754
|
sizes: c,
|
|
755
|
-
className:
|
|
756
|
-
style:
|
|
757
|
-
children:
|
|
755
|
+
className: u,
|
|
756
|
+
style: h,
|
|
757
|
+
children: b
|
|
758
758
|
}) => {
|
|
759
|
-
const
|
|
759
|
+
const S = T(), f = r ? M(r, S.columns) : void 0;
|
|
760
760
|
return /* @__PURE__ */ d(
|
|
761
761
|
"figure",
|
|
762
762
|
{
|
|
763
|
-
className:
|
|
763
|
+
className: x("nui-figure nui-avoid-break", u),
|
|
764
764
|
style: {
|
|
765
765
|
margin: 0,
|
|
766
766
|
gridColumn: f ? `span ${f}` : void 0,
|
|
767
|
-
...
|
|
767
|
+
...h
|
|
768
768
|
},
|
|
769
769
|
children: [
|
|
770
|
-
e ? /* @__PURE__ */
|
|
770
|
+
e ? /* @__PURE__ */ n(
|
|
771
771
|
"img",
|
|
772
772
|
{
|
|
773
773
|
src: e,
|
|
774
774
|
alt: i ?? "",
|
|
775
|
-
loading:
|
|
775
|
+
loading: o ?? "lazy",
|
|
776
776
|
sizes: c,
|
|
777
|
-
style: { display: "block", width: "100%", height: "auto", aspectRatio:
|
|
777
|
+
style: { display: "block", width: "100%", height: "auto", aspectRatio: s }
|
|
778
778
|
}
|
|
779
|
-
) :
|
|
780
|
-
(
|
|
779
|
+
) : b,
|
|
780
|
+
(a || t) && /* @__PURE__ */ n(le, { credit: t, children: a })
|
|
781
781
|
]
|
|
782
782
|
}
|
|
783
783
|
);
|
|
784
|
-
},
|
|
784
|
+
}, Ye = ({
|
|
785
785
|
src: e,
|
|
786
786
|
poster: i,
|
|
787
|
-
caption:
|
|
788
|
-
credit:
|
|
789
|
-
span:
|
|
790
|
-
controls:
|
|
791
|
-
className:
|
|
787
|
+
caption: a,
|
|
788
|
+
credit: t,
|
|
789
|
+
span: r,
|
|
790
|
+
controls: o = !0,
|
|
791
|
+
className: s,
|
|
792
792
|
style: c
|
|
793
793
|
}) => {
|
|
794
|
-
const
|
|
794
|
+
const u = T(), h = r ? M(r, u.columns) : void 0;
|
|
795
795
|
return /* @__PURE__ */ d(
|
|
796
796
|
"figure",
|
|
797
797
|
{
|
|
798
|
-
className:
|
|
799
|
-
style: { margin: 0, gridColumn:
|
|
798
|
+
className: x("nui-video nui-avoid-break", s),
|
|
799
|
+
style: { margin: 0, gridColumn: h ? `span ${h}` : void 0, ...c },
|
|
800
800
|
children: [
|
|
801
|
-
/* @__PURE__ */
|
|
802
|
-
(
|
|
801
|
+
/* @__PURE__ */ n("video", { src: e, poster: i, controls: o, style: { width: "100%", height: "auto" } }),
|
|
802
|
+
(a || t) && /* @__PURE__ */ n(le, { credit: t, children: a })
|
|
803
803
|
]
|
|
804
804
|
}
|
|
805
805
|
);
|
|
806
|
-
},
|
|
806
|
+
}, Re = ({
|
|
807
807
|
weight: e = "High",
|
|
808
808
|
span: i,
|
|
809
|
-
spanAllColumns:
|
|
810
|
-
author:
|
|
811
|
-
align:
|
|
812
|
-
className:
|
|
813
|
-
style:
|
|
809
|
+
spanAllColumns: a = !1,
|
|
810
|
+
author: t,
|
|
811
|
+
align: r = "left",
|
|
812
|
+
className: o,
|
|
813
|
+
style: s,
|
|
814
814
|
children: c
|
|
815
815
|
}) => {
|
|
816
|
-
const
|
|
816
|
+
const u = T(), h = D.PullQuote[e], b = i ? M(i, u.columns) : void 0;
|
|
817
817
|
return /* @__PURE__ */ d(
|
|
818
818
|
"aside",
|
|
819
819
|
{
|
|
820
|
-
className:
|
|
820
|
+
className: x(
|
|
821
821
|
"nui-pullquote nui-avoid-break nui-tnum",
|
|
822
|
-
|
|
823
|
-
|
|
822
|
+
a && "nui-span-all-columns",
|
|
823
|
+
o
|
|
824
824
|
),
|
|
825
825
|
style: {
|
|
826
|
-
margin:
|
|
826
|
+
margin: h.margin,
|
|
827
827
|
padding: "var(--nui-space-4) 0",
|
|
828
828
|
borderTop: "1px solid var(--nui-rule-hairline)",
|
|
829
829
|
borderBottom: "1px solid var(--nui-rule-hairline)",
|
|
830
|
-
textAlign:
|
|
831
|
-
gridColumn:
|
|
832
|
-
...
|
|
830
|
+
textAlign: r,
|
|
831
|
+
gridColumn: b ? `span ${b}` : void 0,
|
|
832
|
+
...s
|
|
833
833
|
},
|
|
834
834
|
children: [
|
|
835
|
-
/* @__PURE__ */
|
|
835
|
+
/* @__PURE__ */ n(
|
|
836
836
|
"div",
|
|
837
837
|
{
|
|
838
838
|
style: {
|
|
839
|
-
fontFamily: `var(${
|
|
840
|
-
fontSize:
|
|
841
|
-
fontWeight:
|
|
842
|
-
lineHeight:
|
|
843
|
-
letterSpacing:
|
|
844
|
-
color: `var(${
|
|
839
|
+
fontFamily: `var(${h.fontFamily})`,
|
|
840
|
+
fontSize: Y(h.fontSize),
|
|
841
|
+
fontWeight: h.fontWeight,
|
|
842
|
+
lineHeight: h.lineHeight,
|
|
843
|
+
letterSpacing: h.letterSpacing,
|
|
844
|
+
color: `var(${h.color})`,
|
|
845
845
|
margin: 0,
|
|
846
846
|
textWrap: "balance"
|
|
847
847
|
},
|
|
848
848
|
children: c
|
|
849
849
|
}
|
|
850
850
|
),
|
|
851
|
-
|
|
851
|
+
t && /* @__PURE__ */ d(
|
|
852
852
|
"footer",
|
|
853
853
|
{
|
|
854
854
|
className: "nui-small-caps",
|
|
@@ -860,30 +860,30 @@ const N = {
|
|
|
860
860
|
},
|
|
861
861
|
children: [
|
|
862
862
|
"— ",
|
|
863
|
-
|
|
863
|
+
t
|
|
864
864
|
]
|
|
865
865
|
}
|
|
866
866
|
)
|
|
867
867
|
]
|
|
868
868
|
}
|
|
869
869
|
);
|
|
870
|
-
},
|
|
870
|
+
}, je = ({
|
|
871
871
|
title: e = "Related",
|
|
872
872
|
articles: i,
|
|
873
|
-
className:
|
|
874
|
-
style:
|
|
873
|
+
className: a,
|
|
874
|
+
style: t
|
|
875
875
|
}) => /* @__PURE__ */ d(
|
|
876
876
|
"aside",
|
|
877
877
|
{
|
|
878
|
-
className:
|
|
878
|
+
className: x("nui-related", a),
|
|
879
879
|
style: {
|
|
880
880
|
borderTop: "2px solid var(--nui-rule-decorative)",
|
|
881
881
|
paddingTop: "var(--nui-space-4)",
|
|
882
882
|
marginTop: "var(--nui-space-6)",
|
|
883
|
-
...
|
|
883
|
+
...t
|
|
884
884
|
},
|
|
885
885
|
children: [
|
|
886
|
-
/* @__PURE__ */
|
|
886
|
+
/* @__PURE__ */ n("h4", { style: {
|
|
887
887
|
fontFamily: "var(--font-family-meta)",
|
|
888
888
|
fontSize: "11px",
|
|
889
889
|
fontWeight: 700,
|
|
@@ -892,45 +892,45 @@ const N = {
|
|
|
892
892
|
color: "var(--nui-accent-primary)",
|
|
893
893
|
margin: "0 0 var(--nui-space-3) 0"
|
|
894
894
|
}, children: e }),
|
|
895
|
-
/* @__PURE__ */
|
|
895
|
+
/* @__PURE__ */ n("ul", { style: { listStyle: "none", padding: 0, margin: 0 }, children: i.map((r, o) => /* @__PURE__ */ d("li", { style: {
|
|
896
896
|
borderBottom: "1px solid var(--nui-rule-hairline)",
|
|
897
897
|
padding: "var(--nui-space-2) 0"
|
|
898
898
|
}, children: [
|
|
899
|
-
|
|
899
|
+
r.category && /* @__PURE__ */ n("span", { style: {
|
|
900
900
|
fontFamily: "var(--font-family-meta)",
|
|
901
901
|
fontSize: "10px",
|
|
902
902
|
fontVariantCaps: "small-caps",
|
|
903
903
|
letterSpacing: "0.06em",
|
|
904
904
|
color: "var(--nui-text-muted)",
|
|
905
905
|
marginRight: "var(--nui-space-2)"
|
|
906
|
-
}, children:
|
|
907
|
-
/* @__PURE__ */
|
|
906
|
+
}, children: r.category }),
|
|
907
|
+
/* @__PURE__ */ n("a", { href: r.href, style: {
|
|
908
908
|
fontFamily: "var(--font-family-headline)",
|
|
909
909
|
fontSize: "14px",
|
|
910
910
|
fontWeight: 500,
|
|
911
911
|
lineHeight: 1.3,
|
|
912
912
|
color: "var(--nui-text-primary)",
|
|
913
913
|
textDecoration: "none"
|
|
914
|
-
}, children:
|
|
915
|
-
] },
|
|
914
|
+
}, children: r.title })
|
|
915
|
+
] }, o)) })
|
|
916
916
|
]
|
|
917
917
|
}
|
|
918
|
-
),
|
|
918
|
+
), Pe = ({
|
|
919
919
|
page: e,
|
|
920
920
|
section: i,
|
|
921
|
-
date:
|
|
922
|
-
publication:
|
|
923
|
-
align:
|
|
924
|
-
className:
|
|
925
|
-
style:
|
|
921
|
+
date: a,
|
|
922
|
+
publication: t,
|
|
923
|
+
align: r = "between",
|
|
924
|
+
className: o,
|
|
925
|
+
style: s
|
|
926
926
|
}) => /* @__PURE__ */ d(
|
|
927
927
|
"div",
|
|
928
928
|
{
|
|
929
|
-
className:
|
|
929
|
+
className: x("nui-folio nui-small-caps", o),
|
|
930
930
|
style: {
|
|
931
931
|
gridColumn: "1 / -1",
|
|
932
932
|
display: "flex",
|
|
933
|
-
justifyContent:
|
|
933
|
+
justifyContent: r === "between" ? "space-between" : r === "center" ? "center" : "flex-start",
|
|
934
934
|
alignItems: "baseline",
|
|
935
935
|
gap: "var(--nui-space-4)",
|
|
936
936
|
fontFamily: "var(--font-family-meta)",
|
|
@@ -941,33 +941,33 @@ const N = {
|
|
|
941
941
|
borderBottom: "1px solid var(--nui-rule-hairline)",
|
|
942
942
|
paddingBottom: "var(--nui-space-2)",
|
|
943
943
|
marginBottom: "var(--nui-space-4)",
|
|
944
|
-
...
|
|
944
|
+
...s
|
|
945
945
|
},
|
|
946
946
|
children: [
|
|
947
|
-
/* @__PURE__ */
|
|
948
|
-
i && /* @__PURE__ */
|
|
949
|
-
|
|
950
|
-
|
|
947
|
+
/* @__PURE__ */ n("span", { style: { fontWeight: 700, color: "var(--nui-text-secondary)" }, children: e }),
|
|
948
|
+
i && /* @__PURE__ */ n("span", { children: i }),
|
|
949
|
+
t && /* @__PURE__ */ n("span", { children: t }),
|
|
950
|
+
a && /* @__PURE__ */ n("span", { children: a })
|
|
951
951
|
]
|
|
952
952
|
}
|
|
953
|
-
),
|
|
953
|
+
), qe = ({
|
|
954
954
|
title: e = "Inside",
|
|
955
955
|
items: i,
|
|
956
|
-
className:
|
|
957
|
-
style:
|
|
956
|
+
className: a,
|
|
957
|
+
style: t
|
|
958
958
|
}) => /* @__PURE__ */ d(
|
|
959
959
|
"div",
|
|
960
960
|
{
|
|
961
|
-
className:
|
|
961
|
+
className: x("nui-index-box", a),
|
|
962
962
|
style: {
|
|
963
963
|
border: "1px solid var(--nui-rule-hairline)",
|
|
964
964
|
borderTop: "3px solid var(--nui-rule-decorative)",
|
|
965
965
|
padding: "var(--nui-space-3)",
|
|
966
966
|
background: "var(--nui-bg-surface)",
|
|
967
|
-
...
|
|
967
|
+
...t
|
|
968
968
|
},
|
|
969
969
|
children: [
|
|
970
|
-
/* @__PURE__ */
|
|
970
|
+
/* @__PURE__ */ n("h4", { style: {
|
|
971
971
|
fontFamily: "var(--font-family-meta)",
|
|
972
972
|
fontSize: "11px",
|
|
973
973
|
fontWeight: 700,
|
|
@@ -978,22 +978,22 @@ const N = {
|
|
|
978
978
|
paddingBottom: "var(--nui-space-2)",
|
|
979
979
|
borderBottom: "1px solid var(--nui-rule-hairline)"
|
|
980
980
|
}, children: e }),
|
|
981
|
-
/* @__PURE__ */
|
|
981
|
+
/* @__PURE__ */ n("ul", { style: { listStyle: "none", padding: 0, margin: 0 }, children: i.map((r, o) => /* @__PURE__ */ d("li", { style: {
|
|
982
982
|
display: "flex",
|
|
983
983
|
gap: "var(--nui-space-2)",
|
|
984
984
|
padding: "var(--nui-space-1) 0",
|
|
985
|
-
borderBottom:
|
|
985
|
+
borderBottom: o < i.length - 1 ? "1px solid var(--nui-rule-hairline)" : "none",
|
|
986
986
|
alignItems: "baseline"
|
|
987
987
|
}, children: [
|
|
988
|
-
/* @__PURE__ */
|
|
988
|
+
/* @__PURE__ */ n("span", { style: {
|
|
989
989
|
fontFamily: "var(--font-family-meta)",
|
|
990
990
|
fontSize: "10px",
|
|
991
991
|
fontWeight: 700,
|
|
992
992
|
color: "var(--nui-text-secondary)",
|
|
993
993
|
flexShrink: 0,
|
|
994
994
|
width: "24px"
|
|
995
|
-
}, children:
|
|
996
|
-
/* @__PURE__ */
|
|
995
|
+
}, children: r.page }),
|
|
996
|
+
/* @__PURE__ */ n("span", { style: {
|
|
997
997
|
fontFamily: "var(--font-family-meta)",
|
|
998
998
|
fontSize: "10px",
|
|
999
999
|
fontVariantCaps: "small-caps",
|
|
@@ -1001,26 +1001,26 @@ const N = {
|
|
|
1001
1001
|
color: "var(--nui-text-muted)",
|
|
1002
1002
|
flexShrink: 0,
|
|
1003
1003
|
width: "48px"
|
|
1004
|
-
}, children:
|
|
1005
|
-
|
|
1004
|
+
}, children: r.title }),
|
|
1005
|
+
r.headline && /* @__PURE__ */ n("span", { style: {
|
|
1006
1006
|
fontFamily: "var(--font-family-body)",
|
|
1007
1007
|
fontSize: "12px",
|
|
1008
1008
|
color: "var(--nui-text-body)",
|
|
1009
1009
|
lineHeight: 1.3,
|
|
1010
1010
|
flex: 1
|
|
1011
|
-
}, children:
|
|
1012
|
-
] },
|
|
1011
|
+
}, children: r.headline })
|
|
1012
|
+
] }, o)) })
|
|
1013
1013
|
]
|
|
1014
1014
|
}
|
|
1015
|
-
),
|
|
1015
|
+
), Le = ({
|
|
1016
1016
|
title: e,
|
|
1017
1017
|
span: i,
|
|
1018
|
-
variant:
|
|
1019
|
-
className:
|
|
1020
|
-
style:
|
|
1021
|
-
children:
|
|
1018
|
+
variant: a = "default",
|
|
1019
|
+
className: t,
|
|
1020
|
+
style: r,
|
|
1021
|
+
children: o
|
|
1022
1022
|
}) => {
|
|
1023
|
-
const
|
|
1023
|
+
const s = T(), c = i ? M(i, s.columns) : void 0, u = {
|
|
1024
1024
|
default: {
|
|
1025
1025
|
border: "1px solid var(--nui-rule-hairline)",
|
|
1026
1026
|
borderTop: "3px solid var(--nui-rule-decorative)",
|
|
@@ -1040,46 +1040,46 @@ const N = {
|
|
|
1040
1040
|
return /* @__PURE__ */ d(
|
|
1041
1041
|
"aside",
|
|
1042
1042
|
{
|
|
1043
|
-
className:
|
|
1043
|
+
className: x("nui-factbox nui-avoid-break", t),
|
|
1044
1044
|
style: {
|
|
1045
|
-
...
|
|
1045
|
+
...u[a],
|
|
1046
1046
|
padding: "var(--nui-space-4)",
|
|
1047
1047
|
gridColumn: c ? `span ${c}` : void 0,
|
|
1048
|
-
...
|
|
1048
|
+
...r
|
|
1049
1049
|
},
|
|
1050
1050
|
children: [
|
|
1051
|
-
e && /* @__PURE__ */
|
|
1051
|
+
e && /* @__PURE__ */ n("h4", { style: {
|
|
1052
1052
|
fontFamily: "var(--font-family-meta)",
|
|
1053
1053
|
fontSize: "11px",
|
|
1054
1054
|
fontWeight: 700,
|
|
1055
1055
|
fontVariantCaps: "small-caps",
|
|
1056
1056
|
letterSpacing: "0.08em",
|
|
1057
|
-
color:
|
|
1057
|
+
color: a === "highlight" ? "var(--nui-accent-primary)" : "var(--nui-text-primary)",
|
|
1058
1058
|
margin: "0 0 var(--nui-space-3) 0",
|
|
1059
1059
|
paddingBottom: "var(--nui-space-2)",
|
|
1060
1060
|
borderBottom: "1px solid var(--nui-rule-hairline)"
|
|
1061
1061
|
}, children: e }),
|
|
1062
|
-
/* @__PURE__ */
|
|
1062
|
+
/* @__PURE__ */ n("div", { style: {
|
|
1063
1063
|
fontFamily: "var(--font-family-body)",
|
|
1064
1064
|
fontSize: "13px",
|
|
1065
1065
|
lineHeight: 1.5,
|
|
1066
1066
|
color: "var(--nui-text-body)"
|
|
1067
|
-
}, children:
|
|
1067
|
+
}, children: o })
|
|
1068
1068
|
]
|
|
1069
1069
|
}
|
|
1070
1070
|
);
|
|
1071
|
-
},
|
|
1071
|
+
}, Qe = ({
|
|
1072
1072
|
name: e,
|
|
1073
1073
|
role: i,
|
|
1074
|
-
bio:
|
|
1075
|
-
avatar:
|
|
1076
|
-
email:
|
|
1077
|
-
className:
|
|
1078
|
-
style:
|
|
1074
|
+
bio: a,
|
|
1075
|
+
avatar: t,
|
|
1076
|
+
email: r,
|
|
1077
|
+
className: o,
|
|
1078
|
+
style: s
|
|
1079
1079
|
}) => /* @__PURE__ */ d(
|
|
1080
1080
|
"div",
|
|
1081
1081
|
{
|
|
1082
|
-
className:
|
|
1082
|
+
className: x("nui-author-card", o),
|
|
1083
1083
|
style: {
|
|
1084
1084
|
borderTop: "1px solid var(--nui-rule-hairline)",
|
|
1085
1085
|
paddingTop: "var(--nui-space-4)",
|
|
@@ -1087,13 +1087,13 @@ const N = {
|
|
|
1087
1087
|
display: "flex",
|
|
1088
1088
|
gap: "var(--nui-space-4)",
|
|
1089
1089
|
alignItems: "flex-start",
|
|
1090
|
-
...
|
|
1090
|
+
...s
|
|
1091
1091
|
},
|
|
1092
1092
|
children: [
|
|
1093
|
-
|
|
1093
|
+
t && /* @__PURE__ */ n(
|
|
1094
1094
|
"img",
|
|
1095
1095
|
{
|
|
1096
|
-
src:
|
|
1096
|
+
src: t,
|
|
1097
1097
|
alt: e,
|
|
1098
1098
|
loading: "lazy",
|
|
1099
1099
|
style: {
|
|
@@ -1106,7 +1106,7 @@ const N = {
|
|
|
1106
1106
|
}
|
|
1107
1107
|
),
|
|
1108
1108
|
/* @__PURE__ */ d("div", { children: [
|
|
1109
|
-
/* @__PURE__ */
|
|
1109
|
+
/* @__PURE__ */ n("div", { style: {
|
|
1110
1110
|
fontFamily: "var(--font-family-meta)",
|
|
1111
1111
|
fontSize: "13px",
|
|
1112
1112
|
fontWeight: 600,
|
|
@@ -1114,20 +1114,20 @@ const N = {
|
|
|
1114
1114
|
letterSpacing: "0.06em",
|
|
1115
1115
|
color: "var(--nui-text-primary)"
|
|
1116
1116
|
}, children: e }),
|
|
1117
|
-
i && /* @__PURE__ */
|
|
1117
|
+
i && /* @__PURE__ */ n("div", { style: {
|
|
1118
1118
|
fontFamily: "var(--font-family-meta)",
|
|
1119
1119
|
fontSize: "12px",
|
|
1120
1120
|
color: "var(--nui-text-muted)",
|
|
1121
1121
|
marginTop: "2px"
|
|
1122
1122
|
}, children: i }),
|
|
1123
|
-
|
|
1123
|
+
a && /* @__PURE__ */ n("p", { style: {
|
|
1124
1124
|
fontFamily: "var(--font-family-body)",
|
|
1125
1125
|
fontSize: "13px",
|
|
1126
1126
|
lineHeight: 1.5,
|
|
1127
1127
|
color: "var(--nui-text-secondary)",
|
|
1128
1128
|
margin: "var(--nui-space-2) 0 0 0"
|
|
1129
|
-
}, children:
|
|
1130
|
-
|
|
1129
|
+
}, children: a }),
|
|
1130
|
+
r && /* @__PURE__ */ n("a", { href: `mailto:${r}`, style: {
|
|
1131
1131
|
fontFamily: "var(--font-family-meta)",
|
|
1132
1132
|
fontSize: "11px",
|
|
1133
1133
|
color: "var(--nui-accent-primary)",
|
|
@@ -1136,19 +1136,19 @@ const N = {
|
|
|
1136
1136
|
minHeight: "44px",
|
|
1137
1137
|
display: "inline-flex",
|
|
1138
1138
|
alignItems: "center"
|
|
1139
|
-
}, children:
|
|
1139
|
+
}, children: r })
|
|
1140
1140
|
] })
|
|
1141
1141
|
]
|
|
1142
1142
|
}
|
|
1143
|
-
),
|
|
1143
|
+
), Ee = ({
|
|
1144
1144
|
direction: e,
|
|
1145
1145
|
page: i,
|
|
1146
|
-
className:
|
|
1147
|
-
style:
|
|
1148
|
-
}) => /* @__PURE__ */
|
|
1146
|
+
className: a,
|
|
1147
|
+
style: t
|
|
1148
|
+
}) => /* @__PURE__ */ n(
|
|
1149
1149
|
"div",
|
|
1150
1150
|
{
|
|
1151
|
-
className:
|
|
1151
|
+
className: x("nui-jump-line nui-small-caps", a),
|
|
1152
1152
|
style: {
|
|
1153
1153
|
fontFamily: "var(--font-family-meta)",
|
|
1154
1154
|
fontSize: "10px",
|
|
@@ -1159,39 +1159,435 @@ const N = {
|
|
|
1159
1159
|
marginTop: e === "to" ? "var(--nui-space-3)" : "0",
|
|
1160
1160
|
marginBottom: e === "from" ? "var(--nui-space-3)" : "0",
|
|
1161
1161
|
fontStyle: "italic",
|
|
1162
|
-
...
|
|
1162
|
+
...t
|
|
1163
1163
|
},
|
|
1164
1164
|
children: e === "to" ? `Continued on ${i} →` : `← Continued from ${i}`
|
|
1165
1165
|
}
|
|
1166
|
-
)
|
|
1166
|
+
), Oe = ({
|
|
1167
|
+
title: e,
|
|
1168
|
+
description: i,
|
|
1169
|
+
source: a,
|
|
1170
|
+
sourceLabel: t = "Source",
|
|
1171
|
+
note: r,
|
|
1172
|
+
number: o,
|
|
1173
|
+
as: s = "h3",
|
|
1174
|
+
span: c,
|
|
1175
|
+
className: u,
|
|
1176
|
+
style: h,
|
|
1177
|
+
children: b
|
|
1178
|
+
}) => {
|
|
1179
|
+
const S = Z(), f = T();
|
|
1180
|
+
return /* @__PURE__ */ d(
|
|
1181
|
+
"figure",
|
|
1182
|
+
{
|
|
1183
|
+
className: x("nui-chart-frame nui-avoid-break", u),
|
|
1184
|
+
"aria-labelledby": S,
|
|
1185
|
+
style: { gridColumn: c ? `span ${M(c, f.columns)}` : void 0, ...h },
|
|
1186
|
+
children: [
|
|
1187
|
+
/* @__PURE__ */ d("header", { className: "nui-chart-header", children: [
|
|
1188
|
+
o && /* @__PURE__ */ n("span", { className: "nui-chart-number", children: o }),
|
|
1189
|
+
/* @__PURE__ */ n(s, { id: S, className: "nui-chart-title", children: e }),
|
|
1190
|
+
i && /* @__PURE__ */ n("p", { className: "nui-chart-description", children: i })
|
|
1191
|
+
] }),
|
|
1192
|
+
b,
|
|
1193
|
+
(a || r) && /* @__PURE__ */ d("figcaption", { className: "nui-chart-caption", children: [
|
|
1194
|
+
a && /* @__PURE__ */ d("div", { children: [
|
|
1195
|
+
t,
|
|
1196
|
+
": ",
|
|
1197
|
+
a
|
|
1198
|
+
] }),
|
|
1199
|
+
r && /* @__PURE__ */ n("div", { children: r })
|
|
1200
|
+
] })
|
|
1201
|
+
]
|
|
1202
|
+
}
|
|
1203
|
+
);
|
|
1204
|
+
}, C = "var(--nui-text-primary)", O = "var(--nui-text-secondary)", q = "var(--nui-accent-primary)", G = "var(--nui-bg-page)", _ = "var(--nui-rule-hairline)", K = ["", "7 4", "2 4", "9 3 2 3"];
|
|
1205
|
+
function U(e = "en") {
|
|
1206
|
+
return e.toLowerCase().startsWith("zh") ? { data: "查看数据", category: "类别", value: "数值", share: "占比", empty: "暂无数据", invalid: "数据无效,请检查数值。", missing: "缺失", zero: "总量为零,无法计算占比。" } : { data: "View data", category: "Category", value: "Value", share: "Share", empty: "No data available", invalid: "Invalid data. Check the supplied values.", missing: "Missing", zero: "The total is zero; shares cannot be calculated." };
|
|
1207
|
+
}
|
|
1208
|
+
function ee(e = "en", i) {
|
|
1209
|
+
return i ?? new Intl.NumberFormat(e, { maximumFractionDigits: 2 }).format;
|
|
1210
|
+
}
|
|
1211
|
+
function oe() {
|
|
1212
|
+
const e = me(null), [i, a] = pe(640);
|
|
1213
|
+
return ge(() => {
|
|
1214
|
+
const t = e.current;
|
|
1215
|
+
if (!t) return;
|
|
1216
|
+
const r = () => {
|
|
1217
|
+
const s = t.getBoundingClientRect().width;
|
|
1218
|
+
s > 0 && a(Math.max(240, Math.round(s)));
|
|
1219
|
+
};
|
|
1220
|
+
if (r(), typeof ResizeObserver > "u") return;
|
|
1221
|
+
const o = new ResizeObserver(r);
|
|
1222
|
+
return o.observe(t), () => o.disconnect();
|
|
1223
|
+
}, []), { ref: e, width: i };
|
|
1224
|
+
}
|
|
1225
|
+
function se(e) {
|
|
1226
|
+
let i = 0, a = 0;
|
|
1227
|
+
for (const s of e)
|
|
1228
|
+
i = Math.min(i, s), a = Math.max(a, s);
|
|
1229
|
+
if (i === a) return [0, 1];
|
|
1230
|
+
const t = de(i, a, 4);
|
|
1231
|
+
if (!t) return [i, a];
|
|
1232
|
+
const r = Math.floor(i / t) * t, o = Math.ceil(a / t) * t;
|
|
1233
|
+
return [Number.isFinite(r) ? r : i, Number.isFinite(o) ? o : a];
|
|
1234
|
+
}
|
|
1235
|
+
function ce(e, i, a, t, r) {
|
|
1236
|
+
const o = Math.max(Math.abs(i), Math.abs(a)) || 1;
|
|
1237
|
+
return t + (e / o - i / o) / (a / o - i / o) * (r - t);
|
|
1238
|
+
}
|
|
1239
|
+
function de(e, i, a) {
|
|
1240
|
+
const t = i / a - e / a;
|
|
1241
|
+
if (!Number.isFinite(t) || t <= 0) return 0;
|
|
1242
|
+
const r = 10 ** Math.floor(Math.log10(t)), o = t / r;
|
|
1243
|
+
return (o <= 1 ? 1 : o <= 2 ? 2 : o <= 2.5 ? 2.5 : o <= 5 ? 5 : 10) * r;
|
|
1244
|
+
}
|
|
1245
|
+
function ue(e, i, a = 4) {
|
|
1246
|
+
const t = de(e, i, a);
|
|
1247
|
+
if (!t || !Number.isFinite(t)) return [e, 0, i].filter((s, c, u) => u.indexOf(s) === c);
|
|
1248
|
+
const r = Math.ceil(e / t), o = Math.floor(i / t);
|
|
1249
|
+
return Array.from({ length: o - r + 1 }, (s, c) => {
|
|
1250
|
+
const u = (r + c) * t;
|
|
1251
|
+
return Math.abs(u) < t / 1e6 ? 0 : Number(u.toPrecision(12));
|
|
1252
|
+
});
|
|
1253
|
+
}
|
|
1254
|
+
function L(e, i) {
|
|
1255
|
+
const a = Array.from(e);
|
|
1256
|
+
let t = 0;
|
|
1257
|
+
for (let r = 0; r < a.length; r++)
|
|
1258
|
+
if (t += /[^\u0000-\u00ff]/.test(a[r]) ? 12 : 7, t > i - 12) return `${a.slice(0, r).join("")}…`;
|
|
1259
|
+
return e;
|
|
1260
|
+
}
|
|
1261
|
+
function Q({ children: e }) {
|
|
1262
|
+
return /* @__PURE__ */ n("p", { className: "nui-chart-message", role: "status", children: e });
|
|
1263
|
+
}
|
|
1264
|
+
function te({ label: e, locale: i, headers: a, rows: t }) {
|
|
1265
|
+
return /* @__PURE__ */ d("details", { className: "nui-chart-data", children: [
|
|
1266
|
+
/* @__PURE__ */ n("summary", { children: U(i).data }),
|
|
1267
|
+
/* @__PURE__ */ n("div", { className: "nui-chart-table-scroll", tabIndex: 0, role: "region", "aria-label": e, children: /* @__PURE__ */ d("table", { children: [
|
|
1268
|
+
/* @__PURE__ */ n("caption", { children: e }),
|
|
1269
|
+
/* @__PURE__ */ n("thead", { children: /* @__PURE__ */ n("tr", { children: a.map((r, o) => /* @__PURE__ */ n("th", { scope: "col", children: r }, o)) }) }),
|
|
1270
|
+
/* @__PURE__ */ n("tbody", { children: t.map((r, o) => /* @__PURE__ */ n("tr", { children: r.map((s, c) => c === 0 ? /* @__PURE__ */ n("th", { scope: "row", children: s }, c) : /* @__PURE__ */ n("td", { children: s }, c)) }, o)) })
|
|
1271
|
+
] }) })
|
|
1272
|
+
] });
|
|
1273
|
+
}
|
|
1274
|
+
const _e = ({
|
|
1275
|
+
data: e,
|
|
1276
|
+
label: i,
|
|
1277
|
+
unit: a,
|
|
1278
|
+
locale: t,
|
|
1279
|
+
formatValue: r,
|
|
1280
|
+
orientation: o = "horizontal",
|
|
1281
|
+
referenceLine: s,
|
|
1282
|
+
className: c,
|
|
1283
|
+
style: u
|
|
1284
|
+
}) => {
|
|
1285
|
+
const { ref: h, width: b } = oe(), S = U(t), f = ee(t, r), $ = e.some((v) => !Number.isFinite(v.value)) || s && !Number.isFinite(s.value), [V, j] = se($ ? [] : [...e.map((v) => v.value), ...s ? [s.value] : []]), p = o === "horizontal", F = p ? 8 : 64, w = b - 16, m = p ? e.length * 54 + 8 : 224, g = p ? m + 32 : 292, N = (v) => ce(v, V, j, p ? F : m, p ? w : 30), z = N(0), H = (w - F) / Math.max(1, e.length), A = Math.min(48, H * 0.5), B = e.some((v) => v.highlight);
|
|
1286
|
+
return /* @__PURE__ */ d("div", { ref: h, className: x("nui-chart nui-bar-chart", c), style: u, children: [
|
|
1287
|
+
a && /* @__PURE__ */ n("div", { className: "nui-chart-unit", children: a }),
|
|
1288
|
+
$ ? /* @__PURE__ */ n(Q, { children: S.invalid }) : e.length ? /* @__PURE__ */ d(X, { children: [
|
|
1289
|
+
/* @__PURE__ */ d("svg", { className: "nui-chart-svg", viewBox: `0 0 ${b} ${g}`, role: "img", "aria-label": i, children: [
|
|
1290
|
+
/* @__PURE__ */ n("title", { children: i }),
|
|
1291
|
+
ue(V, j, b < 400 ? 2 : 4).map((v, k, W) => /* @__PURE__ */ d("g", { children: [
|
|
1292
|
+
!p && /* @__PURE__ */ n("line", { x1: F, x2: w, y1: N(v), y2: N(v), stroke: _, strokeWidth: 0.6 }),
|
|
1293
|
+
/* @__PURE__ */ d(
|
|
1294
|
+
"text",
|
|
1295
|
+
{
|
|
1296
|
+
x: p ? N(v) : F - 8,
|
|
1297
|
+
y: p ? m + 22 : N(v) + 4,
|
|
1298
|
+
textAnchor: p ? k === 0 ? "start" : k === W.length - 1 ? "end" : "middle" : "end",
|
|
1299
|
+
className: "nui-chart-tick",
|
|
1300
|
+
children: [
|
|
1301
|
+
L(f(v), p ? b / W.length : 60),
|
|
1302
|
+
/* @__PURE__ */ n("title", { children: f(v) })
|
|
1303
|
+
]
|
|
1304
|
+
}
|
|
1305
|
+
)
|
|
1306
|
+
] }, k)),
|
|
1307
|
+
e.map((v, k) => {
|
|
1308
|
+
const W = N(v.value), l = p ? Math.min(z, W) : F + H * (k + 0.5) - A / 2, y = p ? k * 54 + 30 : Math.min(W, z);
|
|
1309
|
+
return /* @__PURE__ */ d("g", { children: [
|
|
1310
|
+
p && /* @__PURE__ */ n("line", { x1: F, x2: w, y1: y + 5, y2: y + 5, stroke: _, strokeWidth: 0.6 }),
|
|
1311
|
+
/* @__PURE__ */ n(
|
|
1312
|
+
"rect",
|
|
1313
|
+
{
|
|
1314
|
+
x: l,
|
|
1315
|
+
y,
|
|
1316
|
+
width: p ? Math.abs(W - z) : A,
|
|
1317
|
+
height: p ? 10 : Math.abs(W - z),
|
|
1318
|
+
fill: v.highlight ? q : B ? O : C,
|
|
1319
|
+
children: /* @__PURE__ */ n("title", { children: `${v.label}: ${f(v.value)}${a ? ` ${a}` : ""}` })
|
|
1320
|
+
}
|
|
1321
|
+
),
|
|
1322
|
+
/* @__PURE__ */ d(
|
|
1323
|
+
"text",
|
|
1324
|
+
{
|
|
1325
|
+
x: p ? F : F + H * (k + 0.5),
|
|
1326
|
+
y: p ? k * 54 + 17 : m + 24,
|
|
1327
|
+
textAnchor: p ? "start" : "middle",
|
|
1328
|
+
children: [
|
|
1329
|
+
L(v.label, p ? b - 112 : H - 6),
|
|
1330
|
+
/* @__PURE__ */ n("title", { children: v.label })
|
|
1331
|
+
]
|
|
1332
|
+
}
|
|
1333
|
+
),
|
|
1334
|
+
/* @__PURE__ */ d(
|
|
1335
|
+
"text",
|
|
1336
|
+
{
|
|
1337
|
+
x: p ? w : F + H * (k + 0.5),
|
|
1338
|
+
y: p ? k * 54 + 17 : 16,
|
|
1339
|
+
textAnchor: p ? "end" : "middle",
|
|
1340
|
+
className: "nui-chart-value",
|
|
1341
|
+
children: [
|
|
1342
|
+
L(f(v.value), p ? 100 : H - 4),
|
|
1343
|
+
/* @__PURE__ */ n("title", { children: f(v.value) })
|
|
1344
|
+
]
|
|
1345
|
+
}
|
|
1346
|
+
)
|
|
1347
|
+
] }, k);
|
|
1348
|
+
}),
|
|
1349
|
+
p ? e.map((v, k) => /* @__PURE__ */ n("line", { x1: z, x2: z, y1: k * 54 + 28, y2: k * 54 + 42, stroke: C, strokeWidth: 0.6 }, k)) : /* @__PURE__ */ n("line", { x1: F, x2: w, y1: z, y2: z, stroke: C, strokeWidth: 0.8 }),
|
|
1350
|
+
s && /* @__PURE__ */ n(
|
|
1351
|
+
"line",
|
|
1352
|
+
{
|
|
1353
|
+
className: "nui-chart-reference",
|
|
1354
|
+
x1: p ? N(s.value) : F,
|
|
1355
|
+
x2: p ? N(s.value) : w,
|
|
1356
|
+
y1: p ? 24 : N(s.value),
|
|
1357
|
+
y2: p ? m - 8 : N(s.value),
|
|
1358
|
+
stroke: O,
|
|
1359
|
+
strokeWidth: 0.8,
|
|
1360
|
+
strokeDasharray: "2 4"
|
|
1361
|
+
}
|
|
1362
|
+
)
|
|
1363
|
+
] }),
|
|
1364
|
+
s && /* @__PURE__ */ d("p", { className: "nui-chart-reference-label", children: [
|
|
1365
|
+
s.label,
|
|
1366
|
+
": ",
|
|
1367
|
+
f(s.value),
|
|
1368
|
+
a ? ` ${a}` : ""
|
|
1369
|
+
] })
|
|
1370
|
+
] }) : /* @__PURE__ */ n(Q, { children: S.empty }),
|
|
1371
|
+
!$ && e.length > 0 && /* @__PURE__ */ n(
|
|
1372
|
+
te,
|
|
1373
|
+
{
|
|
1374
|
+
label: i,
|
|
1375
|
+
locale: t,
|
|
1376
|
+
headers: [S.category, a || S.value],
|
|
1377
|
+
rows: e.map((v) => [v.label, f(v.value)])
|
|
1378
|
+
}
|
|
1379
|
+
)
|
|
1380
|
+
] });
|
|
1381
|
+
}, Ke = ({
|
|
1382
|
+
labels: e,
|
|
1383
|
+
series: i,
|
|
1384
|
+
label: a,
|
|
1385
|
+
unit: t,
|
|
1386
|
+
locale: r,
|
|
1387
|
+
formatValue: o,
|
|
1388
|
+
annotations: s = [],
|
|
1389
|
+
referenceLine: c,
|
|
1390
|
+
className: u,
|
|
1391
|
+
style: h
|
|
1392
|
+
}) => {
|
|
1393
|
+
const { ref: b, width: S } = oe(), f = U(r), $ = ee(r, o), V = i.some((l) => l.values.length !== e.length || l.values.some((y) => y !== null && !Number.isFinite(y))) || c && !Number.isFinite(c.value) || s.some((l) => !Number.isInteger(l.index) || l.index < 0 || l.index >= e.length), j = i.flatMap((l) => l.values.filter((y) => y !== null)), p = !e.length || !i.length || !j.length, [F, w] = se(V ? [] : [...j, ...c ? [c.value] : []]), m = 64, g = S >= 480 && i.length <= 4 && i.every((l) => l.values[l.values.length - 1] !== null), N = S - (g ? 116 : 16), z = 30, H = 234, A = (l) => e.length === 1 ? (m + N) / 2 : m + l * (N - m) / (e.length - 1), B = (l) => ce(l, F, w, H, z), v = Math.max(1, Math.ceil(e.length / Math.max(2, Math.floor((N - m) / 76)))), k = e.map((l, y) => y).filter((l) => l === 0 || l === e.length - 1 || l % v === 0 && l < e.length - 1 - v / 2), W = V ? [] : i.flatMap((l, y) => {
|
|
1394
|
+
const I = l.values.reduce((J, E, R) => E === null ? J : R, -1);
|
|
1395
|
+
return I < 0 ? [] : [{ index: y, last: I, pointY: B(l.values[I]), labelY: B(l.values[I]) }];
|
|
1396
|
+
}).sort((l, y) => l.pointY - y.pointY);
|
|
1397
|
+
W.forEach((l, y) => {
|
|
1398
|
+
l.labelY = Math.max(l.pointY, y ? W[y - 1].labelY + 34 : z);
|
|
1399
|
+
});
|
|
1400
|
+
for (let l = W.length - 1; l >= 0; l--)
|
|
1401
|
+
W[l].labelY = Math.min(W[l].labelY, l === W.length - 1 ? H - 14 : W[l + 1].labelY - 34);
|
|
1402
|
+
return /* @__PURE__ */ d("div", { ref: b, className: x("nui-chart nui-line-chart", u), style: h, children: [
|
|
1403
|
+
t && /* @__PURE__ */ n("div", { className: "nui-chart-unit", children: t }),
|
|
1404
|
+
V ? /* @__PURE__ */ n(Q, { children: f.invalid }) : p ? /* @__PURE__ */ n(Q, { children: f.empty }) : /* @__PURE__ */ d(X, { children: [
|
|
1405
|
+
/* @__PURE__ */ d("svg", { className: "nui-chart-svg", viewBox: `0 0 ${S} 276`, role: "img", "aria-label": a, children: [
|
|
1406
|
+
/* @__PURE__ */ n("title", { children: a }),
|
|
1407
|
+
ue(F, w).map((l, y) => /* @__PURE__ */ d("g", { children: [
|
|
1408
|
+
/* @__PURE__ */ n("line", { x1: m, x2: N, y1: B(l), y2: B(l), stroke: l === 0 ? C : _, strokeWidth: l === 0 ? 0.8 : 0.6 }),
|
|
1409
|
+
/* @__PURE__ */ d("text", { x: m - 8, y: B(l) + 4, textAnchor: "end", className: "nui-chart-tick", children: [
|
|
1410
|
+
L($(l), 60),
|
|
1411
|
+
/* @__PURE__ */ n("title", { children: $(l) })
|
|
1412
|
+
] })
|
|
1413
|
+
] }, y)),
|
|
1414
|
+
k.map((l) => /* @__PURE__ */ d(
|
|
1415
|
+
"text",
|
|
1416
|
+
{
|
|
1417
|
+
x: A(l),
|
|
1418
|
+
y: H + 24,
|
|
1419
|
+
textAnchor: l === 0 ? "start" : l === e.length - 1 ? "end" : "middle",
|
|
1420
|
+
className: "nui-chart-tick",
|
|
1421
|
+
children: [
|
|
1422
|
+
L(e[l], Math.min(76, (N - m) / Math.max(1, k.length - 1))),
|
|
1423
|
+
/* @__PURE__ */ n("title", { children: e[l] })
|
|
1424
|
+
]
|
|
1425
|
+
},
|
|
1426
|
+
l
|
|
1427
|
+
)),
|
|
1428
|
+
s.map((l, y) => /* @__PURE__ */ d("g", { children: [
|
|
1429
|
+
/* @__PURE__ */ n("line", { x1: A(l.index), x2: A(l.index), y1: z, y2: H, stroke: _, strokeDasharray: "2 4" }),
|
|
1430
|
+
/* @__PURE__ */ n("text", { x: A(l.index), y: z - 12, textAnchor: "middle", className: "nui-chart-marker", children: String(y + 1).padStart(2, "0") })
|
|
1431
|
+
] }, y)),
|
|
1432
|
+
c && /* @__PURE__ */ n("line", { className: "nui-chart-reference", x1: m, x2: N, y1: B(c.value), y2: B(c.value), stroke: O, strokeWidth: 0.8, strokeDasharray: "2 4" }),
|
|
1433
|
+
i.map((l, y) => {
|
|
1434
|
+
let I = !1;
|
|
1435
|
+
const J = l.values.map((R, P) => {
|
|
1436
|
+
if (R === null)
|
|
1437
|
+
return I = !1, "";
|
|
1438
|
+
const he = I ? "L" : "M";
|
|
1439
|
+
return I = !0, `${he}${A(P)},${B(R)}`;
|
|
1440
|
+
}).join(" "), E = l.highlight ? q : O;
|
|
1441
|
+
return /* @__PURE__ */ d("g", { children: [
|
|
1442
|
+
/* @__PURE__ */ n("path", { className: "nui-chart-line", d: J, fill: "none", stroke: E, strokeWidth: l.highlight ? 1.8 : 1.4, strokeLinecap: "round", strokeLinejoin: "round", strokeDasharray: K[y % K.length] }),
|
|
1443
|
+
l.values.map((R, P) => R === null ? null : /* @__PURE__ */ n("circle", { cx: A(P), cy: B(R), r: P === e.length - 1 ? 3 : 2.3, fill: P === e.length - 1 ? E : G, stroke: E, strokeWidth: 1.2, children: /* @__PURE__ */ n("title", { children: `${l.label} · ${e[P]}: ${$(R)}` }) }, P))
|
|
1444
|
+
] }, y);
|
|
1445
|
+
}),
|
|
1446
|
+
g && W.map((l) => /* @__PURE__ */ d("g", { children: [
|
|
1447
|
+
/* @__PURE__ */ n("path", { d: `M${A(l.last) + 5},${l.pointY} L${N + 8},${l.labelY} H${N + 14}`, fill: "none", stroke: _, strokeWidth: 0.6 }),
|
|
1448
|
+
/* @__PURE__ */ d("text", { x: N + 18, y: l.labelY - 3, className: "nui-chart-end-label", children: [
|
|
1449
|
+
L(i[l.index].label, 90),
|
|
1450
|
+
/* @__PURE__ */ n("title", { children: i[l.index].label })
|
|
1451
|
+
] }),
|
|
1452
|
+
/* @__PURE__ */ d("text", { x: N + 18, y: l.labelY + 15, className: "nui-chart-end-value", children: [
|
|
1453
|
+
L($(i[l.index].values[l.last]), 64),
|
|
1454
|
+
/* @__PURE__ */ n("title", { children: $(i[l.index].values[l.last]) })
|
|
1455
|
+
] })
|
|
1456
|
+
] }, l.index))
|
|
1457
|
+
] }),
|
|
1458
|
+
!g && /* @__PURE__ */ n("ul", { className: "nui-chart-legend", children: i.map((l, y) => /* @__PURE__ */ d("li", { children: [
|
|
1459
|
+
/* @__PURE__ */ n("svg", { width: "28", height: "12", "aria-hidden": "true", children: /* @__PURE__ */ n("line", { x1: "0", x2: "28", y1: "6", y2: "6", stroke: l.highlight ? q : O, strokeWidth: "1.5", strokeDasharray: K[y % K.length] }) }),
|
|
1460
|
+
/* @__PURE__ */ n("span", { children: l.label })
|
|
1461
|
+
] }, y)) }),
|
|
1462
|
+
c && /* @__PURE__ */ d("p", { className: "nui-chart-reference-label", children: [
|
|
1463
|
+
c.label,
|
|
1464
|
+
": ",
|
|
1465
|
+
$(c.value),
|
|
1466
|
+
t ? ` ${t}` : ""
|
|
1467
|
+
] }),
|
|
1468
|
+
s.length > 0 && /* @__PURE__ */ n("ol", { className: "nui-chart-annotations", children: s.map((l, y) => /* @__PURE__ */ d("li", { children: [
|
|
1469
|
+
e[l.index],
|
|
1470
|
+
" — ",
|
|
1471
|
+
l.label
|
|
1472
|
+
] }, y)) })
|
|
1473
|
+
] }),
|
|
1474
|
+
!V && e.length > 0 && i.length > 0 && /* @__PURE__ */ n(
|
|
1475
|
+
te,
|
|
1476
|
+
{
|
|
1477
|
+
label: a,
|
|
1478
|
+
locale: r,
|
|
1479
|
+
headers: [f.category, ...i.map((l) => t ? `${l.label} (${t})` : l.label)],
|
|
1480
|
+
rows: e.map((l, y) => [l, ...i.map((I) => I.values[y] === null ? f.missing : $(I.values[y]))])
|
|
1481
|
+
}
|
|
1482
|
+
)
|
|
1483
|
+
] });
|
|
1484
|
+
}, Ge = ({
|
|
1485
|
+
data: e,
|
|
1486
|
+
label: i,
|
|
1487
|
+
unit: a,
|
|
1488
|
+
locale: t,
|
|
1489
|
+
formatValue: r,
|
|
1490
|
+
variant: o = "pie",
|
|
1491
|
+
className: s,
|
|
1492
|
+
style: c
|
|
1493
|
+
}) => {
|
|
1494
|
+
const u = `nui-pie-${Z().replace(/:/g, "")}`, h = U(t), b = ee(t, r), S = new Intl.NumberFormat(t ?? "en", { style: "percent", maximumFractionDigits: 1 }), f = e.some((m) => !Number.isFinite(m.value) || m.value < 0), $ = e.reduce((m, g) => Math.max(m, g.value), 0), V = f || $ === 0 ? [] : e.map((m) => m.value / $), j = V.reduce((m, g) => m + g, 0), p = V.map((m) => m / j);
|
|
1495
|
+
let F = -Math.PI / 2;
|
|
1496
|
+
const w = (m) => `${120 + 104 * Math.cos(m)},${120 + 104 * Math.sin(m)}`;
|
|
1497
|
+
return /* @__PURE__ */ d("div", { className: x("nui-chart nui-pie-chart", s), style: c, children: [
|
|
1498
|
+
a && /* @__PURE__ */ n("div", { className: "nui-chart-unit", children: a }),
|
|
1499
|
+
f ? /* @__PURE__ */ n(Q, { children: h.invalid }) : e.length ? $ === 0 ? /* @__PURE__ */ n(Q, { children: h.zero }) : /* @__PURE__ */ d("div", { className: "nui-pie-layout", children: [
|
|
1500
|
+
/* @__PURE__ */ d("svg", { className: "nui-pie-svg", viewBox: "0 0 240 240", role: "img", "aria-label": i, children: [
|
|
1501
|
+
/* @__PURE__ */ n("title", { children: i }),
|
|
1502
|
+
/* @__PURE__ */ n("defs", { children: e.map((m, g) => /* @__PURE__ */ d(
|
|
1503
|
+
"pattern",
|
|
1504
|
+
{
|
|
1505
|
+
id: `${u}-${g}`,
|
|
1506
|
+
width: 7 + g % 3,
|
|
1507
|
+
height: 7 + g % 3,
|
|
1508
|
+
patternUnits: "userSpaceOnUse",
|
|
1509
|
+
patternTransform: `rotate(${g % 2 ? 45 : -45})`,
|
|
1510
|
+
children: [
|
|
1511
|
+
/* @__PURE__ */ n("rect", { width: "12", height: "12", fill: g % 4 === 0 ? m.highlight ? q : C : G }),
|
|
1512
|
+
g % 4 === 1 && /* @__PURE__ */ n("line", { x1: "0", x2: "0", y1: "0", y2: "12", stroke: m.highlight ? q : C, strokeWidth: "0.9" }),
|
|
1513
|
+
g % 4 === 2 && /* @__PURE__ */ n("circle", { cx: "3.5", cy: "3.5", r: "0.85", fill: m.highlight ? q : C }),
|
|
1514
|
+
g % 4 === 3 && /* @__PURE__ */ n("path", { d: "M0,0 V12 M0,0 H12", fill: "none", stroke: m.highlight ? q : C, strokeWidth: "0.55" })
|
|
1515
|
+
]
|
|
1516
|
+
},
|
|
1517
|
+
g
|
|
1518
|
+
)) }),
|
|
1519
|
+
e.map((m, g) => {
|
|
1520
|
+
const N = F;
|
|
1521
|
+
if (F += p[g] * Math.PI * 2, p[g] === 0) return null;
|
|
1522
|
+
const z = `url(#${u}-${g})`, H = `${m.label}: ${b(m.value)} (${S.format(p[g])})`;
|
|
1523
|
+
return p[g] >= 1 ? /* @__PURE__ */ n("circle", { cx: "120", cy: "120", r: "104", fill: z, stroke: C, children: /* @__PURE__ */ n("title", { children: H }) }, g) : /* @__PURE__ */ n(
|
|
1524
|
+
"path",
|
|
1525
|
+
{
|
|
1526
|
+
d: `M120,120 L${w(N)} A104,104 0 ${p[g] > 0.5 ? 1 : 0},1 ${w(F)} Z`,
|
|
1527
|
+
fill: z,
|
|
1528
|
+
stroke: G,
|
|
1529
|
+
strokeWidth: "1.5",
|
|
1530
|
+
children: /* @__PURE__ */ n("title", { children: H })
|
|
1531
|
+
},
|
|
1532
|
+
g
|
|
1533
|
+
);
|
|
1534
|
+
}),
|
|
1535
|
+
/* @__PURE__ */ n("circle", { cx: "120", cy: "120", r: "104", fill: "none", stroke: C, strokeWidth: "0.65" }),
|
|
1536
|
+
o === "donut" && /* @__PURE__ */ d(X, { children: [
|
|
1537
|
+
/* @__PURE__ */ n("circle", { cx: "120", cy: "120", r: "72", fill: G, stroke: C, strokeWidth: "0.65" }),
|
|
1538
|
+
/* @__PURE__ */ n("text", { x: "120", y: "120", textAnchor: "middle", className: "nui-pie-total", children: S.format(1) }),
|
|
1539
|
+
/* @__PURE__ */ n("text", { x: "120", y: "141", textAnchor: "middle", className: "nui-pie-total-label", children: t != null && t.toLowerCase().startsWith("zh") ? "合计" : "TOTAL" })
|
|
1540
|
+
] })
|
|
1541
|
+
] }),
|
|
1542
|
+
/* @__PURE__ */ n("ul", { className: "nui-pie-labels", children: e.map((m, g) => /* @__PURE__ */ d("li", { children: [
|
|
1543
|
+
/* @__PURE__ */ n("svg", { width: "12", height: "12", "aria-hidden": "true", children: /* @__PURE__ */ n("rect", { x: "1", y: "1", width: "10", height: "10", fill: `url(#${u}-${g})`, stroke: C, strokeWidth: "0.65" }) }),
|
|
1544
|
+
/* @__PURE__ */ n("span", { children: m.label }),
|
|
1545
|
+
/* @__PURE__ */ n("strong", { children: S.format(p[g]) })
|
|
1546
|
+
] }, g)) })
|
|
1547
|
+
] }) : /* @__PURE__ */ n(Q, { children: h.empty }),
|
|
1548
|
+
!f && e.length > 0 && /* @__PURE__ */ n(
|
|
1549
|
+
te,
|
|
1550
|
+
{
|
|
1551
|
+
label: i,
|
|
1552
|
+
locale: t,
|
|
1553
|
+
headers: [h.category, a || h.value, h.share],
|
|
1554
|
+
rows: e.map((m, g) => [m.label, b(m.value), $ === 0 ? "—" : S.format(p[g])])
|
|
1555
|
+
}
|
|
1556
|
+
)
|
|
1557
|
+
] });
|
|
1558
|
+
};
|
|
1167
1559
|
export {
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1560
|
+
Ne as Article,
|
|
1561
|
+
Qe as AuthorCard,
|
|
1562
|
+
_e as BarChart,
|
|
1563
|
+
Te as BodyText,
|
|
1564
|
+
He as BreakingNewsBanner,
|
|
1565
|
+
Ie as Byline,
|
|
1566
|
+
le as Caption,
|
|
1567
|
+
Oe as ChartFrame,
|
|
1568
|
+
Ve as Dateline,
|
|
1569
|
+
Le as Factbox,
|
|
1570
|
+
De as Figure,
|
|
1571
|
+
Pe as Folio,
|
|
1572
|
+
ze as Footer,
|
|
1573
|
+
we as Headline,
|
|
1574
|
+
Ae as Image,
|
|
1575
|
+
qe as IndexBox,
|
|
1576
|
+
Ee as JumpLine,
|
|
1577
|
+
Ce as Kicker,
|
|
1578
|
+
$e as Layer,
|
|
1579
|
+
be as Layout,
|
|
1580
|
+
Ke as LineChart,
|
|
1581
|
+
Fe as Masthead,
|
|
1582
|
+
We as NewsSidebar,
|
|
1583
|
+
Ge as PieChart,
|
|
1584
|
+
Re as PullQuote,
|
|
1585
|
+
Be as Quote,
|
|
1586
|
+
je as RelatedArticles,
|
|
1587
|
+
ke as Rule,
|
|
1588
|
+
Se as Section,
|
|
1589
|
+
Me as Subhead,
|
|
1590
|
+
Ye as Video,
|
|
1591
|
+
fe as useLayout,
|
|
1592
|
+
T as useSection
|
|
1197
1593
|
};
|