highsoft-ui 1.0.62 → 1.0.64

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.
@@ -1,16 +1,16 @@
1
1
  import { jsx as e, jsxs as r, Fragment as V } from "react/jsx-runtime";
2
- import { useState as S, useEffect as q } from "react";
3
- import { a as M, J as z } from "../../utils-C7rfowvr.js";
4
- import { A as J } from "../../Announcement03-obPaH4LK.js";
5
- import { _ as u } from "../../extends-hS2Bh-Yp.js";
6
- import { N as A, X as G } from "../../index-DvBbx2s8.js";
7
- import { c as p } from "../../clsx-OuTLNxxd.js";
8
- import { Button as l } from "../Button/index.js";
9
- import { Container as I } from "../Container/index.js";
10
- import { ThemedLogo as L } from "../Logo/index.js";
11
- import { PrefPanel as T } from "../PrefPanel/index.js";
12
- var F = function(n) {
13
- return /* @__PURE__ */ e("svg", u({
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
+ import { c as g } from "../../clsx-OuTLNxxd.js";
8
+ import { Button as h } from "../Button/index.js";
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
- }, Q = function(n) {
29
- return /* @__PURE__ */ e("svg", u({
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,
@@ -41,8 +41,8 @@ var F = function(n) {
41
41
  d: "M11 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 21h8.4c1.6802 0 2.5202 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 18.7202 21 17.8802 21 16.2V13m-9-5h4v4m-.5-8.5V2m3.9393 2.5607L20.5 3.5m.0103 5h1.5M3 13.3471c.652.1007 1.3199.1529 2 .1529 4.3864 0 8.2653-2.1724 10.6197-5.5"
42
42
  })
43
43
  }));
44
- }, R = function(n) {
45
- return /* @__PURE__ */ e("svg", u({
44
+ }, D = function(n) {
45
+ return /* @__PURE__ */ e("svg", m({
46
46
  xmlns: "http://www.w3.org/2000/svg",
47
47
  width: 24,
48
48
  height: 24,
@@ -57,8 +57,8 @@ var F = function(n) {
57
57
  d: "M14 2.2695v4.1306c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C14.7599 8 15.0399 8 15.6 8h4.1305M16 13H8m8 4H8m2-8H8m6-7H8.8c-1.6802 0-2.5202 0-3.162.327a3 3 0 0 0-1.311 1.311C4 4.2798 4 5.1198 4 6.8v10.4c0 1.6802 0 2.5202.327 3.162a3 3 0 0 0 1.311 1.311C6.2798 22 7.1198 22 8.8 22h6.4c1.6802 0 2.5202 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 19.7202 20 18.8802 20 17.2V8z"
58
58
  })
59
59
  }));
60
- }, X = function(n) {
61
- return /* @__PURE__ */ e("svg", u({
60
+ }, K = function(n) {
61
+ return /* @__PURE__ */ e("svg", m({
62
62
  xmlns: "http://www.w3.org/2000/svg",
63
63
  width: 24,
64
64
  height: 24,
@@ -73,8 +73,8 @@ var F = function(n) {
73
73
  d: "M3 12h12M3 6h18M3 18h18"
74
74
  })
75
75
  }));
76
- }, $ = function(n) {
77
- return /* @__PURE__ */ e("svg", u({
76
+ }, R = function(n) {
77
+ return /* @__PURE__ */ e("svg", m({
78
78
  xmlns: "http://www.w3.org/2000/svg",
79
79
  width: 24,
80
80
  height: 24,
@@ -89,8 +89,8 @@ var F = function(n) {
89
89
  d: "M10 8.0022a2.2485 2.2485 0 0 1 2.501-1.4698 2.248 2.248 0 0 1 1.8682 2.2193c0 1.4989-2.2483 2.2483-2.2483 2.2483m.029 3h.01M7 18v2.3355c0 .5329 0 .7993.1092.9361a.5.5 0 0 0 .3913.1881c.1751-.0002.3832-.1666.7993-.4995l2.3854-1.9084c.4873-.3898.731-.5847 1.0023-.7233a3 3 0 0 1 .7617-.2672C12.7477 18 13.0597 18 13.6837 18H16.2c1.6802 0 2.5202 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 15.7202 21 14.8802 21 13.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.8V14c0 .93 0 1.395.1022 1.7765a3 3 0 0 0 2.1213 2.1213C5.605 18 6.07 18 7 18"
90
90
  })
91
91
  }));
92
- }, D = function(n) {
93
- return /* @__PURE__ */ e("svg", u({
92
+ }, X = function(n) {
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
- }, B = function(n) {
109
- return /* @__PURE__ */ e("svg", u({
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
- }, H = function(n) {
125
- return /* @__PURE__ */ e("svg", u({
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
- }, W = function(n) {
141
- return /* @__PURE__ */ e("svg", u({
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
- }, j = function(n) {
157
- return /* @__PURE__ */ e("svg", u({
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,339 +170,357 @@ var F = function(n) {
170
170
  })
171
171
  }));
172
172
  };
173
- const E = "_header_1vg4i_300", K = "_outer_1vg4i_311", Y = "_main_1vg4i_320", Z = "_container_1vg4i_324", ee = "_links_1vg4i_330", te = "_buttons_1vg4i_331", ne = "_menu_1vg4i_339", re = "_logo_1vg4i_344", oe = "_subContainer_1vg4i_356", se = "_selected_1vg4i_384", ie = "_icons_1vg4i_387", ae = "_subTag_1vg4i_407", ce = "_selectedIcon_1vg4i_420", le = "_selectableIcon_1vg4i_424", he = "_icon_1vg4i_387", de = "_mobileOverlay_1vg4i_438", ue = "_show_1vg4i_1", me = "_open_1vg4i_450", ge = "_mobile_1vg4i_438", we = "_slideUp_1vg4i_1", pe = "_sub_1vg4i_356", ve = "_gpt_1vg4i_514", t = {
174
- header: E,
175
- outer: K,
176
- main: Y,
177
- container: Z,
178
- links: ee,
179
- buttons: te,
180
- menu: ne,
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
181
  logo: re,
182
- subContainer: oe,
183
- selected: se,
184
- icons: ie,
185
- subTag: ae,
186
- "subTag-success": "_subTag-success_1vg4i_412",
187
- "subTag-brand": "_subTag-brand_1vg4i_416",
188
- selectedIcon: ce,
189
- selectableIcon: le,
190
- icon: he,
191
- mobileOverlay: de,
192
- show: ue,
193
- open: me,
194
- mobile: ge,
195
- slideUp: we,
196
- sub: pe,
197
- gpt: ve
198
- }, y = [
182
+ main: se,
183
+ menu: ie,
184
+ mobile: ae,
185
+ mobileOverlay: ce,
186
+ open: le,
187
+ outer: he,
188
+ selectableIcon: de,
189
+ selected: me,
190
+ selectedIcon: ue,
191
+ show: pe,
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 = [
199
200
  {
200
201
  title: "Products",
201
202
  url: "https://www.highcharts.com/products/",
202
- icon: /* @__PURE__ */ e(Q, {})
203
+ icon: /* @__PURE__ */ e(F, {})
203
204
  },
204
205
  {
205
206
  title: "Demos",
206
207
  url: "https://www.highcharts.com/demo",
207
- icon: /* @__PURE__ */ e(D, {})
208
+ icon: /* @__PURE__ */ e(X, {})
208
209
  },
209
210
  {
210
211
  title: "Support",
211
212
  url: "https://www.highcharts.com/support/",
212
- icon: /* @__PURE__ */ e($, {})
213
+ icon: /* @__PURE__ */ e(R, {})
213
214
  },
214
215
  {
215
216
  title: "Resources",
216
217
  url: "https://www.highcharts.com/",
217
- icon: /* @__PURE__ */ e(R, {})
218
+ icon: /* @__PURE__ */ e(D, {})
218
219
  },
219
220
  {
220
221
  title: "Pricing",
221
222
  url: "https://shop.highcharts.com/",
222
- icon: /* @__PURE__ */ e(F, {})
223
+ icon: /* @__PURE__ */ e(G, {})
223
224
  },
224
225
  {
225
226
  title: "Blog",
226
227
  url: "https://www.highcharts.com/blog/",
227
- icon: /* @__PURE__ */ e(J, {})
228
+ icon: /* @__PURE__ */ e(A, {})
228
229
  }
229
230
  ];
230
- function h(o, n) {
231
- return n ? o.replace(n, "") : o;
231
+ function d(s, n) {
232
+ return n ? s.replace(n, "") : s;
232
233
  }
233
234
  function _e({
234
- items: o,
235
+ items: s,
235
236
  link: n = "a",
236
- host: g = "https://www.highcharts.com",
237
- pathname: i = typeof window < "u" ? window.location.pathname : ""
237
+ host: p = "https://www.highcharts.com",
238
+ pathname: c = typeof window < "u" ? window.location.pathname : ""
238
239
  }) {
239
- return /* @__PURE__ */ e("div", { className: p(t.sub, t.outer), children: /* @__PURE__ */ e(I, { className: t.subContainer, as: "ul", children: o.map(
240
- ({ title: a, url: _, icon: f, selectedIcon: b, tag: k, tagVariant: m = "success" }, x) => {
241
- const v = typeof window < "u" && window.location.origin || "http://example.com", w = new URL(_, v), C = w.origin === v && w.pathname === i;
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;
242
243
  return /* @__PURE__ */ e("li", { children: /* @__PURE__ */ r(
243
244
  n,
244
245
  {
245
- href: h(_, g),
246
- className: p({
247
- [t.selectableIcon]: b,
246
+ href: d(f, p),
247
+ className: g({
248
+ [t.selectableIcon]: _,
248
249
  [t.selected]: C
249
250
  }),
250
251
  children: [
251
252
  /* @__PURE__ */ r("span", { className: t.icons, children: [
252
- /* @__PURE__ */ e("span", { className: t.selectedIcon, children: b }),
253
- /* @__PURE__ */ e("span", { className: t.icon, children: f })
253
+ /* @__PURE__ */ e("span", { className: t.selectedIcon, children: _ }),
254
+ /* @__PURE__ */ e("span", { className: t.icon, children: k })
254
255
  ] }),
255
256
  /* @__PURE__ */ r("span", { children: [
256
- a,
257
- k && /* @__PURE__ */ e(
257
+ l,
258
+ b && /* @__PURE__ */ e(
258
259
  "span",
259
260
  {
260
- className: p(
261
+ className: g(
261
262
  t.subTag,
262
- t[`subTag-${m}`]
263
+ t[`subTag-${u}`]
263
264
  ),
264
- children: k
265
+ children: b
265
266
  }
266
267
  )
267
268
  ] })
268
269
  ]
269
270
  }
270
- ) }, x);
271
+ ) }, B);
271
272
  }
272
273
  ) }) });
273
274
  }
274
- function He({
275
- subItems: o,
275
+ function ye({
276
+ subItems: s,
276
277
  children: n,
277
- notifications: g = [],
278
+ notifications: p = [],
278
279
  // TODO: Fetch these from the internets
279
- link: i = "a",
280
- host: a = "https://www.highcharts.com",
281
- pathname: _ = typeof window < "u" ? window.location.pathname : ""
280
+ link: c = "a",
281
+ host: l = "https://www.highcharts.com",
282
+ pathname: f = typeof window < "u" ? window.location.pathname : ""
282
283
  }) {
283
- const f = M("(max-width: 374px)"), b = M("(max-width: 849px)"), k = M("(min-width: 850px) and (max-width: 999px)"), [m, x] = S(!1), [v, w] = S([]);
284
- q(() => {
285
- if (g.length) {
286
- const c = localStorage.getItem("notifications");
287
- if (c) {
288
- const d = JSON.parse(c);
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
+ if (p.length) {
287
+ const o = localStorage.getItem("notifications");
288
+ if (o) {
289
+ const i = JSON.parse(o);
289
290
  w(
290
- g.filter(
291
- (s) => !s.id || !d.closed.includes(s.id)
291
+ p.filter(
292
+ (a) => !a.id || !i.closed.includes(a.id)
292
293
  )
293
294
  );
294
295
  } else
295
- w(g);
296
+ w(p);
297
+ }
298
+ }, [p]);
299
+ const C = (o) => {
300
+ if (o.preventDefault(), !(o.nativeEvent instanceof KeyboardEvent) || o.nativeEvent.code === "Enter" || o.nativeEvent.code === "Space") {
301
+ const i = document.querySelector("main");
302
+ i && (i.scrollIntoView(), i.getAttribute("tabindex") !== "-1" && i.setAttribute("tabindex", "-1"), i.focus());
296
303
  }
297
- }, [g]);
298
- const C = () => {
299
- x(!m);
300
- }, O = (c) => {
301
- w(v.filter((s) => !s.id || s.id !== c));
302
- const d = localStorage.getItem("notifications");
303
- if (d) {
304
- const s = JSON.parse(d);
305
- s.closed.includes(c) || (s.closed.push(c), localStorage.setItem("notifications", JSON.stringify(s)));
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)));
306
312
  } else
307
313
  localStorage.setItem(
308
314
  "notifications",
309
315
  JSON.stringify({
310
- closed: [c]
316
+ closed: [o]
311
317
  })
312
318
  );
313
319
  };
314
320
  return /* @__PURE__ */ e(z, { children: /* @__PURE__ */ r("header", { className: t.header, children: [
315
321
  v?.map(
316
- ({ id: c, title: d, description: s, variant: N, closable: P }, U) => /* @__PURE__ */ e(
317
- A,
322
+ ({ id: o, title: i, description: a, variant: x, closable: O }, P) => /* @__PURE__ */ e(
323
+ E,
318
324
  {
319
- description: s,
320
- variant: N,
321
- closable: P,
322
- onClose: () => O(c),
323
- children: d
325
+ description: a,
326
+ variant: x,
327
+ closable: O,
328
+ onClose: () => j(o),
329
+ children: i
324
330
  },
325
- U
331
+ P
326
332
  )
327
333
  ),
328
- /* @__PURE__ */ e("div", { className: p(t.main, t.outer), children: /* @__PURE__ */ r(I, { as: "nav", className: t.container, children: [
334
+ /* @__PURE__ */ e("div", { className: g(t.main, t.outer), children: /* @__PURE__ */ r(W, { as: "nav", className: t.container, children: [
329
335
  /* @__PURE__ */ e(
330
- i,
336
+ h,
337
+ {
338
+ as: "a",
339
+ className: t.skip,
340
+ size: 500,
341
+ tabIndex: "0",
342
+ onClick: C,
343
+ onKeyPress: C,
344
+ children: "Skip to content"
345
+ }
346
+ ),
347
+ /* @__PURE__ */ e(
348
+ c,
331
349
  {
332
350
  className: t.logo,
333
- href: h("https://www.highcharts.com/", a),
334
- children: /* @__PURE__ */ e(L, { showText: !k && !f })
351
+ href: d("https://www.highcharts.com/", l),
352
+ children: /* @__PURE__ */ e(Q, { showText: !b && !k })
335
353
  }
336
354
  ),
337
- /* @__PURE__ */ e("ul", { className: t.links, children: y.map(({ title: c, url: d }, s) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
338
- l,
355
+ /* @__PURE__ */ e("ul", { className: t.links, children: I.map(({ title: o, url: i }, a) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
356
+ h,
339
357
  {
340
358
  variant: "plain",
341
359
  size: 300,
342
- as: i,
343
- href: h(d, a),
344
- children: c
360
+ as: c,
361
+ href: d(i, l),
362
+ children: o
345
363
  }
346
- ) }, s)) }),
364
+ ) }, a)) }),
347
365
  /* @__PURE__ */ r("div", { className: t.buttons, children: [
348
366
  /* @__PURE__ */ r(
349
- l,
367
+ h,
350
368
  {
351
369
  variant: "transparent",
352
- as: i,
353
- href: h(
370
+ as: c,
371
+ href: d(
354
372
  "https://www.highcharts.com/chat/gpt/",
355
- a
373
+ l
356
374
  ),
357
375
  children: [
358
376
  /* @__PURE__ */ e("span", { className: t.gpt, children: "Highcharts GPT" }),
359
- /* @__PURE__ */ e(H, {})
377
+ /* @__PURE__ */ e(T, {})
360
378
  ]
361
379
  }
362
380
  ),
363
- /* @__PURE__ */ e(l, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(B, {}) }),
364
- /* @__PURE__ */ e(T, {}),
381
+ /* @__PURE__ */ e(h, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(L, {}) }),
382
+ /* @__PURE__ */ e(M, {}),
365
383
  /* @__PURE__ */ e(
366
- l,
384
+ h,
367
385
  {
368
386
  variant: "brand",
369
- as: i,
370
- href: h("https://shop.highcharts.com/account", a),
387
+ as: c,
388
+ href: d("https://shop.highcharts.com/account", l),
371
389
  "aria-label": "Login",
372
- children: /* @__PURE__ */ e(j, {})
390
+ children: /* @__PURE__ */ e(H, {})
373
391
  }
374
392
  ),
375
393
  /* @__PURE__ */ r(
376
- l,
394
+ h,
377
395
  {
378
396
  variant: "success",
379
- as: i,
380
- href: h(
397
+ as: c,
398
+ href: d(
381
399
  "https://www.highcharts.com/download/",
382
- a
400
+ l
383
401
  ),
384
402
  children: [
385
- /* @__PURE__ */ e(W, {}),
403
+ /* @__PURE__ */ e(y, {}),
386
404
  "Get started"
387
405
  ]
388
406
  }
389
407
  ),
390
408
  /* @__PURE__ */ r(
391
- l,
409
+ h,
392
410
  {
393
- variant: m ? "white" : "transparent",
411
+ variant: u ? "white" : "transparent",
394
412
  className: t.menu,
395
- onClick: C,
413
+ onClick: N,
396
414
  children: [
397
- m ? "Close" : "Menu",
398
- m ? /* @__PURE__ */ e(G, {}) : /* @__PURE__ */ e(X, {})
415
+ u ? "Close" : "Menu",
416
+ u ? /* @__PURE__ */ e(J, {}) : /* @__PURE__ */ e(K, {})
399
417
  ]
400
418
  }
401
419
  )
402
420
  ] })
403
421
  ] }) }),
404
- !!o?.length && /* @__PURE__ */ e(
422
+ !!s?.length && /* @__PURE__ */ e(
405
423
  _e,
406
424
  {
407
- items: o,
408
- link: i,
409
- host: a,
410
- pathname: _
425
+ items: s,
426
+ link: c,
427
+ host: l,
428
+ pathname: f
411
429
  }
412
430
  ),
413
431
  n,
414
- b && /* @__PURE__ */ r(V, { children: [
432
+ _ && /* @__PURE__ */ r(V, { children: [
415
433
  /* @__PURE__ */ e(
416
434
  "div",
417
435
  {
418
- className: p(t.mobileOverlay, { [t.open]: m }),
419
- onClick: C
436
+ className: g(t.mobileOverlay, { [t.open]: u }),
437
+ onClick: N
420
438
  }
421
439
  ),
422
440
  /* @__PURE__ */ r(
423
441
  "nav",
424
442
  {
425
- className: p(t.mobile, {
426
- [t.open]: m
443
+ className: g(t.mobile, {
444
+ [t.open]: u
427
445
  }),
428
446
  children: [
429
447
  /* @__PURE__ */ r("div", { className: t.container, children: [
430
448
  /* @__PURE__ */ e(
431
- i,
449
+ c,
432
450
  {
433
451
  className: t.logo,
434
- href: h("https://www.highcharts.com/", a),
435
- children: /* @__PURE__ */ e(L, { showText: !f })
452
+ href: d("https://www.highcharts.com/", l),
453
+ children: /* @__PURE__ */ e(Q, { showText: !k })
436
454
  }
437
455
  ),
438
456
  /* @__PURE__ */ r("div", { className: t.buttons, children: [
439
457
  /* @__PURE__ */ r(
440
- l,
458
+ h,
441
459
  {
442
460
  variant: "transparent",
443
- as: i,
444
- href: h(
461
+ as: c,
462
+ href: d(
445
463
  "https://www.highcharts.com/chat/gpt/",
446
- a
464
+ l
447
465
  ),
448
466
  children: [
449
467
  /* @__PURE__ */ e("span", { className: t.gpt, children: "Highcharts GPT" }),
450
- /* @__PURE__ */ e(H, {})
468
+ /* @__PURE__ */ e(T, {})
451
469
  ]
452
470
  }
453
471
  ),
454
- /* @__PURE__ */ e(l, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(B, {}) }),
455
- /* @__PURE__ */ e(T, {})
472
+ /* @__PURE__ */ e(h, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(L, {}) }),
473
+ /* @__PURE__ */ e(M, {})
456
474
  ] })
457
475
  ] }),
458
476
  /* @__PURE__ */ r("div", { className: t.buttons, children: [
459
477
  /* @__PURE__ */ r(
460
- l,
478
+ h,
461
479
  {
462
480
  variant: "brand",
463
481
  fullWidth: !0,
464
- as: i,
465
- href: h(
482
+ as: c,
483
+ href: d(
466
484
  "https://shop.highcharts.com/account",
467
- a
485
+ l
468
486
  ),
469
487
  children: [
470
- /* @__PURE__ */ e(j, {}),
488
+ /* @__PURE__ */ e(H, {}),
471
489
  "Login"
472
490
  ]
473
491
  }
474
492
  ),
475
493
  /* @__PURE__ */ r(
476
- l,
494
+ h,
477
495
  {
478
496
  variant: "success",
479
497
  fullWidth: !0,
480
- as: i,
481
- href: h(
498
+ as: c,
499
+ href: d(
482
500
  "https://www.highcharts.com/download/",
483
- a
501
+ l
484
502
  ),
485
503
  children: [
486
- /* @__PURE__ */ e(W, {}),
504
+ /* @__PURE__ */ e(y, {}),
487
505
  "Get started"
488
506
  ]
489
507
  }
490
508
  )
491
509
  ] }),
492
- /* @__PURE__ */ e("ul", { className: t.links, children: y.map(({ title: c, url: d, icon: s }, N) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ r(
493
- l,
510
+ /* @__PURE__ */ e("ul", { className: t.links, children: I.map(({ title: o, url: i, icon: a }, x) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ r(
511
+ h,
494
512
  {
495
513
  variant: "plain",
496
514
  size: 500,
497
515
  fullWidth: !0,
498
- as: i,
499
- href: h(d, a),
516
+ as: c,
517
+ href: d(i, l),
500
518
  children: [
501
- s,
502
- c
519
+ a,
520
+ o
503
521
  ]
504
522
  }
505
- ) }, N)) })
523
+ ) }, x)) })
506
524
  ]
507
525
  }
508
526
  )
@@ -510,6 +528,6 @@ function He({
510
528
  ] }) });
511
529
  }
512
530
  export {
513
- He as Header,
531
+ ye as Header,
514
532
  _e as SubHeader
515
533
  };