highsoft-ui 1.0.63 → 1.0.65
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/dist/components/Button/index.js +50 -50
- package/dist/components/Container/index.js +1 -1
- package/dist/components/Footer/index.js +237 -237
- package/dist/components/GPTInput/index.js +31 -31
- package/dist/components/Header/index.js +130 -130
- package/dist/components/NewTag/index.js +15 -15
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/PrefPanel/index.js +227 -227
- package/dist/highsoft-ui.css +1 -1
- package/dist/index-pnL-sAld.js +68 -0
- package/dist/main.js +1 -1
- package/package.json +2 -1
- package/dist/index-DvBbx2s8.js +0 -68
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsx as e, jsxs as r, Fragment as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { a as
|
|
4
|
-
import { A
|
|
5
|
-
import { _ as
|
|
6
|
-
import { N as
|
|
1
|
+
import { jsx as e, jsxs as r, Fragment as V } from "react/jsx-runtime";
|
|
2
|
+
import { useState as S, useEffect as U } from "react";
|
|
3
|
+
import { a as q, J as z } from "../../utils-C7rfowvr.js";
|
|
4
|
+
import { A } from "../../Announcement03-obPaH4LK.js";
|
|
5
|
+
import { _ as m } from "../../extends-hS2Bh-Yp.js";
|
|
6
|
+
import { N as E, X as J } from "../../index-pnL-sAld.js";
|
|
7
7
|
import { c as g } from "../../clsx-OuTLNxxd.js";
|
|
8
8
|
import { Button as h } from "../Button/index.js";
|
|
9
|
-
import { Container as
|
|
10
|
-
import { ThemedLogo as
|
|
11
|
-
import { PrefPanel as
|
|
12
|
-
var
|
|
13
|
-
return /* @__PURE__ */ e("svg",
|
|
9
|
+
import { Container as W } from "../Container/index.js";
|
|
10
|
+
import { ThemedLogo as Q } from "../Logo/index.js";
|
|
11
|
+
import { PrefPanel as M } from "../PrefPanel/index.js";
|
|
12
|
+
var G = function(n) {
|
|
13
|
+
return /* @__PURE__ */ e("svg", m({
|
|
14
14
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15
15
|
width: 24,
|
|
16
16
|
height: 24,
|
|
@@ -25,8 +25,8 @@ var F = function(n) {
|
|
|
25
25
|
d: "M6 11v4m12-6v4m-1-9c2.4487 0 3.7731.3748 4.4321.6654.0878.0388.1317.0581.2583.179.0759.0724.2145.285.2501.3837.0595.1646.0595.2546.0595.4346v10.7484c0 .9088 0 1.3632-.1363 1.5968-.1386.2375-.2723.348-.5318.4393-.255.0897-.7699-.0092-1.7997-.2071A13.45 13.45 0 0 0 17 18c-3 0-6 2-10 2-2.4487 0-3.7731-.3748-4.4321-.6654-.0878-.0388-.1317-.0581-.2583-.179-.076-.0724-.2145-.285-.2501-.3837C2 18.6073 2 18.5173 2 18.3373V7.5889c0-.9088 0-1.3632.1363-1.5968.1386-.2375.2723-.348.5318-.4393.255-.0898.77.0092 1.7997.207A13.44 13.44 0 0 0 7 6c3 0 6-2 10-2m-2.5 8c0 1.3807-1.1193 2.5-2.5 2.5S9.5 13.3807 9.5 12s1.1193-2.5 2.5-2.5 2.5 1.1193 2.5 2.5"
|
|
26
26
|
})
|
|
27
27
|
}));
|
|
28
|
-
},
|
|
29
|
-
return /* @__PURE__ */ e("svg",
|
|
28
|
+
}, F = function(n) {
|
|
29
|
+
return /* @__PURE__ */ e("svg", m({
|
|
30
30
|
xmlns: "http://www.w3.org/2000/svg",
|
|
31
31
|
width: 24,
|
|
32
32
|
height: 24,
|
|
@@ -42,7 +42,7 @@ var F = function(n) {
|
|
|
42
42
|
})
|
|
43
43
|
}));
|
|
44
44
|
}, D = function(n) {
|
|
45
|
-
return /* @__PURE__ */ e("svg",
|
|
45
|
+
return /* @__PURE__ */ e("svg", m({
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg",
|
|
47
47
|
width: 24,
|
|
48
48
|
height: 24,
|
|
@@ -58,7 +58,7 @@ var F = function(n) {
|
|
|
58
58
|
})
|
|
59
59
|
}));
|
|
60
60
|
}, K = function(n) {
|
|
61
|
-
return /* @__PURE__ */ e("svg",
|
|
61
|
+
return /* @__PURE__ */ e("svg", m({
|
|
62
62
|
xmlns: "http://www.w3.org/2000/svg",
|
|
63
63
|
width: 24,
|
|
64
64
|
height: 24,
|
|
@@ -74,7 +74,7 @@ var F = function(n) {
|
|
|
74
74
|
})
|
|
75
75
|
}));
|
|
76
76
|
}, R = function(n) {
|
|
77
|
-
return /* @__PURE__ */ e("svg",
|
|
77
|
+
return /* @__PURE__ */ e("svg", m({
|
|
78
78
|
xmlns: "http://www.w3.org/2000/svg",
|
|
79
79
|
width: 24,
|
|
80
80
|
height: 24,
|
|
@@ -90,7 +90,7 @@ var F = function(n) {
|
|
|
90
90
|
})
|
|
91
91
|
}));
|
|
92
92
|
}, X = function(n) {
|
|
93
|
-
return /* @__PURE__ */ e("svg",
|
|
93
|
+
return /* @__PURE__ */ e("svg", m({
|
|
94
94
|
xmlns: "http://www.w3.org/2000/svg",
|
|
95
95
|
width: 24,
|
|
96
96
|
height: 24,
|
|
@@ -105,8 +105,8 @@ var F = function(n) {
|
|
|
105
105
|
d: "M12 16v5m6 0-3.9514-3.2928c-.7288-.6074-1.0932-.911-1.4999-1.0271a2 2 0 0 0-1.0974 0c-.4067.1161-.7711.4197-1.4999 1.0271L6 21m2-10v1m4-3v3m4-5v5m6-9H2m1 0h18v8.2c0 1.6802 0 2.5202-.327 3.162a3 3 0 0 1-1.311 1.311C18.7202 16 17.8802 16 16.2 16H7.8c-1.6802 0-2.5202 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 13.7202 3 12.8802 3 11.2z"
|
|
106
106
|
})
|
|
107
107
|
}));
|
|
108
|
-
},
|
|
109
|
-
return /* @__PURE__ */ e("svg",
|
|
108
|
+
}, L = function(n) {
|
|
109
|
+
return /* @__PURE__ */ e("svg", m({
|
|
110
110
|
xmlns: "http://www.w3.org/2000/svg",
|
|
111
111
|
width: 24,
|
|
112
112
|
height: 24,
|
|
@@ -121,8 +121,8 @@ var F = function(n) {
|
|
|
121
121
|
d: "m21 21-4.35-4.35M19 11c0 4.4183-3.5817 8-8 8s-8-3.5817-8-8 3.5817-8 8-8 8 3.5817 8 8"
|
|
122
122
|
})
|
|
123
123
|
}));
|
|
124
|
-
},
|
|
125
|
-
return /* @__PURE__ */ e("svg",
|
|
124
|
+
}, T = function(n) {
|
|
125
|
+
return /* @__PURE__ */ e("svg", m({
|
|
126
126
|
xmlns: "http://www.w3.org/2000/svg",
|
|
127
127
|
width: 24,
|
|
128
128
|
height: 24,
|
|
@@ -137,8 +137,8 @@ var F = function(n) {
|
|
|
137
137
|
d: "M4.5 22v-5m0-10V2M2 4.5h5m-5 15h5M13 3l-1.7342 4.5089c-.282.7332-.423 1.0998-.6423 1.4082a3 3 0 0 1-.7064.7064c-.3084.2193-.675.3603-1.4082.6423L4 12l4.5089 1.7342c.7332.282 1.0998.423 1.4082.6423.2733.1943.5121.4331.7064.7064.2193.3084.3603.675.6423 1.4082L13 21l1.7342-4.5089c.282-.7332.423-1.0998.6423-1.4082a3 3 0 0 1 .7064-.7064c.3084-.2193.675-.3603 1.4082-.6423L22 12l-4.5089-1.7342c-.7332-.282-1.0998-.423-1.4082-.6423a3 3 0 0 1-.7064-.7064c-.2193-.3084-.3603-.675-.6423-1.4082z"
|
|
138
138
|
})
|
|
139
139
|
}));
|
|
140
|
-
},
|
|
141
|
-
return /* @__PURE__ */ e("svg",
|
|
140
|
+
}, y = function(n) {
|
|
141
|
+
return /* @__PURE__ */ e("svg", m({
|
|
142
142
|
xmlns: "http://www.w3.org/2000/svg",
|
|
143
143
|
width: 24,
|
|
144
144
|
height: 24,
|
|
@@ -153,8 +153,8 @@ var F = function(n) {
|
|
|
153
153
|
d: "m7 15 3-3-3-3m6 6h4m-9.2 6h8.4c1.6802 0 2.5202 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 18.7202 21 17.8802 21 16.2V7.8c0-1.6802 0-2.5202-.327-3.162a3 3 0 0 0-1.311-1.311C18.7202 3 17.8802 3 16.2 3H7.8c-1.6802 0-2.5202 0-3.162.327a3 3 0 0 0-1.311 1.311C3 5.2798 3 6.1198 3 7.8v8.4c0 1.6802 0 2.5202.327 3.162a3 3 0 0 0 1.311 1.311C5.2798 21 6.1198 21 7.8 21"
|
|
154
154
|
})
|
|
155
155
|
}));
|
|
156
|
-
},
|
|
157
|
-
return /* @__PURE__ */ e("svg",
|
|
156
|
+
}, H = function(n) {
|
|
157
|
+
return /* @__PURE__ */ e("svg", m({
|
|
158
158
|
xmlns: "http://www.w3.org/2000/svg",
|
|
159
159
|
width: 24,
|
|
160
160
|
height: 24,
|
|
@@ -170,37 +170,37 @@ var F = function(n) {
|
|
|
170
170
|
})
|
|
171
171
|
}));
|
|
172
172
|
};
|
|
173
|
-
const $ = "
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
"subTag-brand": "_subTag-brand_jco8t_431",
|
|
189
|
-
selectedIcon: he,
|
|
173
|
+
const $ = "m_QBtq_buttons", Y = "m_QBtq_container", Z = "m_QBtq_gpt", ee = "m_QBtq_header", te = "m_QBtq_icon", ne = "m_QBtq_icons", oe = "m_QBtq_links", re = "m_QBtq_logo", se = "m_QBtq_main", ie = "m_QBtq_menu", ae = "m_QBtq_mobile", ce = "m_QBtq_mobileOverlay", le = "m_QBtq_open", he = "m_QBtq_outer", de = "m_QBtq_selectableIcon", me = "m_QBtq_selected", ue = "m_QBtq_selectedIcon", pe = "m_QBtq_show", we = "m_QBtq_skip", ge = "m_QBtq_slideUp", ve = "m_QBtq_sub", fe = "m_QBtq_subContainer", ke = "m_QBtq_subTag", t = {
|
|
174
|
+
buttons: $,
|
|
175
|
+
container: Y,
|
|
176
|
+
gpt: Z,
|
|
177
|
+
header: ee,
|
|
178
|
+
icon: te,
|
|
179
|
+
icons: ne,
|
|
180
|
+
links: oe,
|
|
181
|
+
logo: re,
|
|
182
|
+
main: se,
|
|
183
|
+
menu: ie,
|
|
184
|
+
mobile: ae,
|
|
185
|
+
mobileOverlay: ce,
|
|
186
|
+
open: le,
|
|
187
|
+
outer: he,
|
|
190
188
|
selectableIcon: de,
|
|
191
|
-
|
|
192
|
-
|
|
189
|
+
selected: me,
|
|
190
|
+
selectedIcon: ue,
|
|
193
191
|
show: pe,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
192
|
+
skip: we,
|
|
193
|
+
slideUp: ge,
|
|
194
|
+
sub: ve,
|
|
195
|
+
subContainer: fe,
|
|
196
|
+
subTag: ke,
|
|
197
|
+
"subTag-brand": "m_QBtq_subTag-brand",
|
|
198
|
+
"subTag-success": "m_QBtq_subTag-success"
|
|
199
|
+
}, I = [
|
|
200
200
|
{
|
|
201
201
|
title: "Products",
|
|
202
202
|
url: "https://www.highcharts.com/products/",
|
|
203
|
-
icon: /* @__PURE__ */ e(
|
|
203
|
+
icon: /* @__PURE__ */ e(F, {})
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
206
|
title: "Demos",
|
|
@@ -220,38 +220,38 @@ const $ = "_header_jco8t_300", Y = "_outer_jco8t_311", Z = "_main_jco8t_320", ee
|
|
|
220
220
|
{
|
|
221
221
|
title: "Pricing",
|
|
222
222
|
url: "https://shop.highcharts.com/",
|
|
223
|
-
icon: /* @__PURE__ */ e(
|
|
223
|
+
icon: /* @__PURE__ */ e(G, {})
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
226
|
title: "Blog",
|
|
227
227
|
url: "https://www.highcharts.com/blog/",
|
|
228
|
-
icon: /* @__PURE__ */ e(
|
|
228
|
+
icon: /* @__PURE__ */ e(A, {})
|
|
229
229
|
}
|
|
230
230
|
];
|
|
231
231
|
function d(s, n) {
|
|
232
232
|
return n ? s.replace(n, "") : s;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function _e({
|
|
235
235
|
items: s,
|
|
236
236
|
link: n = "a",
|
|
237
237
|
host: p = "https://www.highcharts.com",
|
|
238
|
-
pathname:
|
|
238
|
+
pathname: c = typeof window < "u" ? window.location.pathname : ""
|
|
239
239
|
}) {
|
|
240
|
-
return /* @__PURE__ */ e("div", { className: g(t.sub, t.outer), children: /* @__PURE__ */ e(
|
|
241
|
-
({ title: l, url: f, icon:
|
|
242
|
-
const v = typeof window < "u" && window.location.origin || "http://example.com", w = new URL(f, v), C = w.origin === v && w.pathname ===
|
|
240
|
+
return /* @__PURE__ */ e("div", { className: g(t.sub, t.outer), children: /* @__PURE__ */ e(W, { className: t.subContainer, as: "ul", children: s.map(
|
|
241
|
+
({ title: l, url: f, icon: k, selectedIcon: _, tag: b, tagVariant: u = "success" }, B) => {
|
|
242
|
+
const v = typeof window < "u" && window.location.origin || "http://example.com", w = new URL(f, v), C = w.origin === v && w.pathname === c;
|
|
243
243
|
return /* @__PURE__ */ e("li", { children: /* @__PURE__ */ r(
|
|
244
244
|
n,
|
|
245
245
|
{
|
|
246
246
|
href: d(f, p),
|
|
247
247
|
className: g({
|
|
248
|
-
[t.selectableIcon]:
|
|
248
|
+
[t.selectableIcon]: _,
|
|
249
249
|
[t.selected]: C
|
|
250
250
|
}),
|
|
251
251
|
children: [
|
|
252
252
|
/* @__PURE__ */ r("span", { className: t.icons, children: [
|
|
253
|
-
/* @__PURE__ */ e("span", { className: t.selectedIcon, children:
|
|
254
|
-
/* @__PURE__ */ e("span", { className: t.icon, children:
|
|
253
|
+
/* @__PURE__ */ e("span", { className: t.selectedIcon, children: _ }),
|
|
254
|
+
/* @__PURE__ */ e("span", { className: t.icon, children: k })
|
|
255
255
|
] }),
|
|
256
256
|
/* @__PURE__ */ r("span", { children: [
|
|
257
257
|
l,
|
|
@@ -260,7 +260,7 @@ function ke({
|
|
|
260
260
|
{
|
|
261
261
|
className: g(
|
|
262
262
|
t.subTag,
|
|
263
|
-
t[`subTag-${
|
|
263
|
+
t[`subTag-${u}`]
|
|
264
264
|
),
|
|
265
265
|
children: b
|
|
266
266
|
}
|
|
@@ -268,28 +268,28 @@ function ke({
|
|
|
268
268
|
] })
|
|
269
269
|
]
|
|
270
270
|
}
|
|
271
|
-
) },
|
|
271
|
+
) }, B);
|
|
272
272
|
}
|
|
273
273
|
) }) });
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function ye({
|
|
276
276
|
subItems: s,
|
|
277
277
|
children: n,
|
|
278
278
|
notifications: p = [],
|
|
279
279
|
// TODO: Fetch these from the internets
|
|
280
|
-
link:
|
|
280
|
+
link: c = "a",
|
|
281
281
|
host: l = "https://www.highcharts.com",
|
|
282
282
|
pathname: f = typeof window < "u" ? window.location.pathname : ""
|
|
283
283
|
}) {
|
|
284
|
-
const
|
|
285
|
-
|
|
284
|
+
const k = q("(max-width: 374px)"), _ = q("(max-width: 849px)"), b = q("(min-width: 850px) and (max-width: 999px)"), [u, B] = S(!1), [v, w] = S([]);
|
|
285
|
+
U(() => {
|
|
286
286
|
if (p.length) {
|
|
287
287
|
const o = localStorage.getItem("notifications");
|
|
288
288
|
if (o) {
|
|
289
|
-
const
|
|
289
|
+
const i = JSON.parse(o);
|
|
290
290
|
w(
|
|
291
291
|
p.filter(
|
|
292
|
-
(
|
|
292
|
+
(a) => !a.id || !i.closed.includes(a.id)
|
|
293
293
|
)
|
|
294
294
|
);
|
|
295
295
|
} else
|
|
@@ -298,17 +298,17 @@ function He({
|
|
|
298
298
|
}, [p]);
|
|
299
299
|
const C = (o) => {
|
|
300
300
|
if (o.preventDefault(), !(o.nativeEvent instanceof KeyboardEvent) || o.nativeEvent.code === "Enter" || o.nativeEvent.code === "Space") {
|
|
301
|
-
const
|
|
302
|
-
|
|
301
|
+
const i = document.querySelector("main");
|
|
302
|
+
i && (i.scrollIntoView(), i.getAttribute("tabindex") !== "-1" && i.setAttribute("tabindex", "-1"), i.focus());
|
|
303
303
|
}
|
|
304
|
-
},
|
|
305
|
-
|
|
306
|
-
},
|
|
307
|
-
w(v.filter((
|
|
308
|
-
const
|
|
309
|
-
if (
|
|
310
|
-
const
|
|
311
|
-
|
|
304
|
+
}, N = () => {
|
|
305
|
+
B(!u);
|
|
306
|
+
}, j = (o) => {
|
|
307
|
+
w(v.filter((a) => !a.id || a.id !== o));
|
|
308
|
+
const i = localStorage.getItem("notifications");
|
|
309
|
+
if (i) {
|
|
310
|
+
const a = JSON.parse(i);
|
|
311
|
+
a.closed.includes(o) || (a.closed.push(o), localStorage.setItem("notifications", JSON.stringify(a)));
|
|
312
312
|
} else
|
|
313
313
|
localStorage.setItem(
|
|
314
314
|
"notifications",
|
|
@@ -317,21 +317,21 @@ function He({
|
|
|
317
317
|
})
|
|
318
318
|
);
|
|
319
319
|
};
|
|
320
|
-
return /* @__PURE__ */ e(
|
|
320
|
+
return /* @__PURE__ */ e(z, { children: /* @__PURE__ */ r("header", { className: t.header, children: [
|
|
321
321
|
v?.map(
|
|
322
|
-
({ id: o, title:
|
|
323
|
-
|
|
322
|
+
({ id: o, title: i, description: a, variant: x, closable: O }, P) => /* @__PURE__ */ e(
|
|
323
|
+
E,
|
|
324
324
|
{
|
|
325
|
-
description:
|
|
326
|
-
variant:
|
|
327
|
-
closable:
|
|
328
|
-
onClose: () =>
|
|
329
|
-
children:
|
|
325
|
+
description: a,
|
|
326
|
+
variant: x,
|
|
327
|
+
closable: O,
|
|
328
|
+
onClose: () => j(o),
|
|
329
|
+
children: i
|
|
330
330
|
},
|
|
331
|
-
|
|
331
|
+
P
|
|
332
332
|
)
|
|
333
333
|
),
|
|
334
|
-
/* @__PURE__ */ e("div", { className: g(t.main, t.outer), children: /* @__PURE__ */ r(
|
|
334
|
+
/* @__PURE__ */ e("div", { className: g(t.main, t.outer), children: /* @__PURE__ */ r(W, { as: "nav", className: t.container, children: [
|
|
335
335
|
/* @__PURE__ */ e(
|
|
336
336
|
h,
|
|
337
337
|
{
|
|
@@ -345,62 +345,62 @@ function He({
|
|
|
345
345
|
}
|
|
346
346
|
),
|
|
347
347
|
/* @__PURE__ */ e(
|
|
348
|
-
|
|
348
|
+
c,
|
|
349
349
|
{
|
|
350
350
|
className: t.logo,
|
|
351
351
|
href: d("https://www.highcharts.com/", l),
|
|
352
|
-
children: /* @__PURE__ */ e(
|
|
352
|
+
children: /* @__PURE__ */ e(Q, { showText: !b && !k })
|
|
353
353
|
}
|
|
354
354
|
),
|
|
355
|
-
/* @__PURE__ */ e("ul", { className: t.links, children:
|
|
355
|
+
/* @__PURE__ */ e("ul", { className: t.links, children: I.map(({ title: o, url: i }, a) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
|
|
356
356
|
h,
|
|
357
357
|
{
|
|
358
358
|
variant: "plain",
|
|
359
359
|
size: 300,
|
|
360
|
-
as:
|
|
361
|
-
href: d(
|
|
360
|
+
as: c,
|
|
361
|
+
href: d(i, l),
|
|
362
362
|
children: o
|
|
363
363
|
}
|
|
364
|
-
) },
|
|
364
|
+
) }, a)) }),
|
|
365
365
|
/* @__PURE__ */ r("div", { className: t.buttons, children: [
|
|
366
366
|
/* @__PURE__ */ r(
|
|
367
367
|
h,
|
|
368
368
|
{
|
|
369
369
|
variant: "transparent",
|
|
370
|
-
as:
|
|
370
|
+
as: c,
|
|
371
371
|
href: d(
|
|
372
372
|
"https://www.highcharts.com/chat/gpt/",
|
|
373
373
|
l
|
|
374
374
|
),
|
|
375
375
|
children: [
|
|
376
376
|
/* @__PURE__ */ e("span", { className: t.gpt, children: "Highcharts GPT" }),
|
|
377
|
-
/* @__PURE__ */ e(
|
|
377
|
+
/* @__PURE__ */ e(T, {})
|
|
378
378
|
]
|
|
379
379
|
}
|
|
380
380
|
),
|
|
381
|
-
/* @__PURE__ */ e(h, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(
|
|
382
|
-
/* @__PURE__ */ e(
|
|
381
|
+
/* @__PURE__ */ e(h, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(L, {}) }),
|
|
382
|
+
/* @__PURE__ */ e(M, {}),
|
|
383
383
|
/* @__PURE__ */ e(
|
|
384
384
|
h,
|
|
385
385
|
{
|
|
386
386
|
variant: "brand",
|
|
387
|
-
as:
|
|
387
|
+
as: c,
|
|
388
388
|
href: d("https://shop.highcharts.com/account", l),
|
|
389
389
|
"aria-label": "Login",
|
|
390
|
-
children: /* @__PURE__ */ e(
|
|
390
|
+
children: /* @__PURE__ */ e(H, {})
|
|
391
391
|
}
|
|
392
392
|
),
|
|
393
393
|
/* @__PURE__ */ r(
|
|
394
394
|
h,
|
|
395
395
|
{
|
|
396
396
|
variant: "success",
|
|
397
|
-
as:
|
|
397
|
+
as: c,
|
|
398
398
|
href: d(
|
|
399
399
|
"https://www.highcharts.com/download/",
|
|
400
400
|
l
|
|
401
401
|
),
|
|
402
402
|
children: [
|
|
403
|
-
/* @__PURE__ */ e(
|
|
403
|
+
/* @__PURE__ */ e(y, {}),
|
|
404
404
|
"Get started"
|
|
405
405
|
]
|
|
406
406
|
}
|
|
@@ -408,49 +408,49 @@ function He({
|
|
|
408
408
|
/* @__PURE__ */ r(
|
|
409
409
|
h,
|
|
410
410
|
{
|
|
411
|
-
variant:
|
|
411
|
+
variant: u ? "white" : "transparent",
|
|
412
412
|
className: t.menu,
|
|
413
|
-
onClick:
|
|
413
|
+
onClick: N,
|
|
414
414
|
children: [
|
|
415
|
-
|
|
416
|
-
|
|
415
|
+
u ? "Close" : "Menu",
|
|
416
|
+
u ? /* @__PURE__ */ e(J, {}) : /* @__PURE__ */ e(K, {})
|
|
417
417
|
]
|
|
418
418
|
}
|
|
419
419
|
)
|
|
420
420
|
] })
|
|
421
421
|
] }) }),
|
|
422
422
|
!!s?.length && /* @__PURE__ */ e(
|
|
423
|
-
|
|
423
|
+
_e,
|
|
424
424
|
{
|
|
425
425
|
items: s,
|
|
426
|
-
link:
|
|
426
|
+
link: c,
|
|
427
427
|
host: l,
|
|
428
428
|
pathname: f
|
|
429
429
|
}
|
|
430
430
|
),
|
|
431
431
|
n,
|
|
432
|
-
|
|
432
|
+
_ && /* @__PURE__ */ r(V, { children: [
|
|
433
433
|
/* @__PURE__ */ e(
|
|
434
434
|
"div",
|
|
435
435
|
{
|
|
436
|
-
className: g(t.mobileOverlay, { [t.open]:
|
|
437
|
-
onClick:
|
|
436
|
+
className: g(t.mobileOverlay, { [t.open]: u }),
|
|
437
|
+
onClick: N
|
|
438
438
|
}
|
|
439
439
|
),
|
|
440
440
|
/* @__PURE__ */ r(
|
|
441
441
|
"nav",
|
|
442
442
|
{
|
|
443
443
|
className: g(t.mobile, {
|
|
444
|
-
[t.open]:
|
|
444
|
+
[t.open]: u
|
|
445
445
|
}),
|
|
446
446
|
children: [
|
|
447
447
|
/* @__PURE__ */ r("div", { className: t.container, children: [
|
|
448
448
|
/* @__PURE__ */ e(
|
|
449
|
-
|
|
449
|
+
c,
|
|
450
450
|
{
|
|
451
451
|
className: t.logo,
|
|
452
452
|
href: d("https://www.highcharts.com/", l),
|
|
453
|
-
children: /* @__PURE__ */ e(
|
|
453
|
+
children: /* @__PURE__ */ e(Q, { showText: !k })
|
|
454
454
|
}
|
|
455
455
|
),
|
|
456
456
|
/* @__PURE__ */ r("div", { className: t.buttons, children: [
|
|
@@ -458,19 +458,19 @@ function He({
|
|
|
458
458
|
h,
|
|
459
459
|
{
|
|
460
460
|
variant: "transparent",
|
|
461
|
-
as:
|
|
461
|
+
as: c,
|
|
462
462
|
href: d(
|
|
463
463
|
"https://www.highcharts.com/chat/gpt/",
|
|
464
464
|
l
|
|
465
465
|
),
|
|
466
466
|
children: [
|
|
467
467
|
/* @__PURE__ */ e("span", { className: t.gpt, children: "Highcharts GPT" }),
|
|
468
|
-
/* @__PURE__ */ e(
|
|
468
|
+
/* @__PURE__ */ e(T, {})
|
|
469
469
|
]
|
|
470
470
|
}
|
|
471
471
|
),
|
|
472
|
-
/* @__PURE__ */ e(h, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(
|
|
473
|
-
/* @__PURE__ */ e(
|
|
472
|
+
/* @__PURE__ */ e(h, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(L, {}) }),
|
|
473
|
+
/* @__PURE__ */ e(M, {})
|
|
474
474
|
] })
|
|
475
475
|
] }),
|
|
476
476
|
/* @__PURE__ */ r("div", { className: t.buttons, children: [
|
|
@@ -479,13 +479,13 @@ function He({
|
|
|
479
479
|
{
|
|
480
480
|
variant: "brand",
|
|
481
481
|
fullWidth: !0,
|
|
482
|
-
as:
|
|
482
|
+
as: c,
|
|
483
483
|
href: d(
|
|
484
484
|
"https://shop.highcharts.com/account",
|
|
485
485
|
l
|
|
486
486
|
),
|
|
487
487
|
children: [
|
|
488
|
-
/* @__PURE__ */ e(
|
|
488
|
+
/* @__PURE__ */ e(H, {}),
|
|
489
489
|
"Login"
|
|
490
490
|
]
|
|
491
491
|
}
|
|
@@ -495,32 +495,32 @@ function He({
|
|
|
495
495
|
{
|
|
496
496
|
variant: "success",
|
|
497
497
|
fullWidth: !0,
|
|
498
|
-
as:
|
|
498
|
+
as: c,
|
|
499
499
|
href: d(
|
|
500
500
|
"https://www.highcharts.com/download/",
|
|
501
501
|
l
|
|
502
502
|
),
|
|
503
503
|
children: [
|
|
504
|
-
/* @__PURE__ */ e(
|
|
504
|
+
/* @__PURE__ */ e(y, {}),
|
|
505
505
|
"Get started"
|
|
506
506
|
]
|
|
507
507
|
}
|
|
508
508
|
)
|
|
509
509
|
] }),
|
|
510
|
-
/* @__PURE__ */ e("ul", { className: t.links, children:
|
|
510
|
+
/* @__PURE__ */ e("ul", { className: t.links, children: I.map(({ title: o, url: i, icon: a }, x) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ r(
|
|
511
511
|
h,
|
|
512
512
|
{
|
|
513
513
|
variant: "plain",
|
|
514
514
|
size: 500,
|
|
515
515
|
fullWidth: !0,
|
|
516
|
-
as:
|
|
517
|
-
href: d(
|
|
516
|
+
as: c,
|
|
517
|
+
href: d(i, l),
|
|
518
518
|
children: [
|
|
519
|
-
|
|
519
|
+
a,
|
|
520
520
|
o
|
|
521
521
|
]
|
|
522
522
|
}
|
|
523
|
-
) },
|
|
523
|
+
) }, x)) })
|
|
524
524
|
]
|
|
525
525
|
}
|
|
526
526
|
)
|
|
@@ -528,6 +528,6 @@ function He({
|
|
|
528
528
|
] }) });
|
|
529
529
|
}
|
|
530
530
|
export {
|
|
531
|
-
|
|
532
|
-
|
|
531
|
+
ye as Header,
|
|
532
|
+
_e as SubHeader
|
|
533
533
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as r, jsxs as c } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import { _ as a } from "../../extends-hS2Bh-Yp.js";
|
|
4
|
-
import { c as
|
|
5
|
-
var
|
|
4
|
+
import { c as i } from "../../clsx-OuTLNxxd.js";
|
|
5
|
+
var m = function(t) {
|
|
6
6
|
return /* @__PURE__ */ r("svg", a({
|
|
7
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8
8
|
width: 24,
|
|
@@ -19,17 +19,17 @@ var i = function(t) {
|
|
|
19
19
|
})
|
|
20
20
|
}));
|
|
21
21
|
};
|
|
22
|
-
const d = "
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
22
|
+
const d = "zmzqxW_attention", z = "zmzqxW_border", l = "zmzqxW_brand", u = "zmzqxW_danger", x = "zmzqxW_icon", g = "zmzqxW_neutral", h = "zmzqxW_success", _ = "zmzqxW_tag", n = {
|
|
23
|
+
attention: d,
|
|
24
|
+
border: z,
|
|
25
|
+
brand: l,
|
|
26
|
+
danger: u,
|
|
27
|
+
icon: x,
|
|
28
|
+
neutral: g,
|
|
29
|
+
success: h,
|
|
30
|
+
tag: _
|
|
31
31
|
};
|
|
32
|
-
function
|
|
32
|
+
function b({
|
|
33
33
|
variant: s = "success",
|
|
34
34
|
icon: t = !0,
|
|
35
35
|
border: o,
|
|
@@ -38,17 +38,17 @@ function L({
|
|
|
38
38
|
return /* @__PURE__ */ c(
|
|
39
39
|
"span",
|
|
40
40
|
{
|
|
41
|
-
className:
|
|
41
|
+
className: i(e, n.tag, n[s], {
|
|
42
42
|
[n.icon]: t,
|
|
43
43
|
[n.border]: o
|
|
44
44
|
}),
|
|
45
45
|
children: [
|
|
46
|
-
t && /* @__PURE__ */ r(
|
|
46
|
+
t && /* @__PURE__ */ r(m, {}),
|
|
47
47
|
"New"
|
|
48
48
|
]
|
|
49
49
|
}
|
|
50
50
|
);
|
|
51
51
|
}
|
|
52
52
|
export {
|
|
53
|
-
|
|
53
|
+
b as NewTag
|
|
54
54
|
};
|