highsoft-ui 1.0.17 → 1.0.19

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,34 +1,34 @@
1
- import { jsx as f } from "react/jsx-runtime";
2
- import { forwardRef as i } from "react";
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { forwardRef as r } from "react";
3
3
  import { c } from "../../clsx-OuTLNxxd.js";
4
- const h = "_button_hf7ku_286", l = "_neutral_hf7ku_328", k = "_white_hf7ku_352", z = "_transparent_hf7ku_376", p = "_plain_hf7ku_400", b = "_brand_hf7ku_424", d = "_success_hf7ku_448", m = "_attention_hf7ku_472", w = "_danger_hf7ku_496", g = "_full_hf7ku_622", t = {
5
- button: h,
6
- neutral: l,
7
- white: k,
8
- transparent: z,
9
- plain: p,
10
- brand: b,
11
- success: d,
12
- attention: m,
13
- danger: w,
14
- "size-50": "_size-50_hf7ku_520",
15
- "size-100": "_size-100_hf7ku_537",
16
- "size-200": "_size-200_hf7ku_554",
17
- "size-300": "_size-300_hf7ku_571",
18
- "size-400": "_size-400_hf7ku_588",
19
- "size-500": "_size-500_hf7ku_605",
20
- full: g
21
- }, B = i(
4
+ const g = "_button_lp38g_270", u = "_neutral_lp38g_312", z = "_white_lp38g_336", f = "_transparent_lp38g_360", b = "_plain_lp38g_384", d = "_brand_lp38g_408", m = "_success_lp38g_432", w = "_attention_lp38g_456", h = "_danger_lp38g_480", x = "_full_lp38g_606", t = {
5
+ button: g,
6
+ neutral: u,
7
+ white: z,
8
+ transparent: f,
9
+ plain: b,
10
+ brand: d,
11
+ success: m,
12
+ attention: w,
13
+ danger: h,
14
+ "size-50": "_size-50_lp38g_504",
15
+ "size-100": "_size-100_lp38g_521",
16
+ "size-200": "_size-200_lp38g_538",
17
+ "size-300": "_size-300_lp38g_555",
18
+ "size-400": "_size-400_lp38g_572",
19
+ "size-500": "_size-500_lp38g_589",
20
+ full: x
21
+ }, N = r(
22
22
  ({
23
23
  children: _,
24
24
  variant: s = "neutral",
25
25
  size: n = 200,
26
26
  fullWidth: e = !1,
27
- as: u = "button",
27
+ as: l = "button",
28
28
  className: o,
29
29
  ...a
30
- }, r) => /* @__PURE__ */ f(
31
- u,
30
+ }, p) => /* @__PURE__ */ i(
31
+ l,
32
32
  {
33
33
  className: c(
34
34
  o,
@@ -39,12 +39,12 @@ const h = "_button_hf7ku_286", l = "_neutral_hf7ku_328", k = "_white_hf7ku_352",
39
39
  [t.full]: e
40
40
  }
41
41
  ),
42
- ref: r,
42
+ ref: p,
43
43
  ...a,
44
44
  children: _
45
45
  }
46
46
  )
47
47
  );
48
48
  export {
49
- B as Button
49
+ N as Button
50
50
  };
@@ -2,4 +2,4 @@ import { ElementType, HTMLAttributes } from 'react';
2
2
  export interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
3
3
  as?: ElementType;
4
4
  }
5
- export declare function Container({ children, className, as: Component, ...props }: ContainerProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare const Container: import('react').ForwardRefExoticComponent<ContainerProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,16 +1,11 @@
1
- import { jsx as c } from "react/jsx-runtime";
2
- import { c as s } from "../../clsx-OuTLNxxd.js";
3
- const a = "_container_mh6y2_1", e = {
4
- container: a
5
- };
6
- function f({
7
- children: n,
8
- className: o,
9
- as: t = "div",
10
- ...r
11
- }) {
12
- return /* @__PURE__ */ c(t, { className: s(o, e.container), ...r, children: n });
13
- }
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { forwardRef as c } from "react";
3
+ import { c as e } from "../../clsx-OuTLNxxd.js";
4
+ const i = "_container_mh6y2_1", m = {
5
+ container: i
6
+ }, x = c(
7
+ ({ children: o, className: r, as: n = "div", ...t }, s) => /* @__PURE__ */ a(n, { className: e(r, m.container), ref: s, ...t, children: o })
8
+ );
14
9
  export {
15
- f as Container
10
+ x as Container
16
11
  };
@@ -1,30 +1,30 @@
1
- import { jsx as e, jsxs as l } from "react/jsx-runtime";
1
+ import { jsx as n, jsxs as l } from "react/jsx-runtime";
2
2
  import { useRef as h, useState as b, useLayoutEffect as x } from "react";
3
- import { c as d } from "../../clsx-OuTLNxxd.js";
4
- import g from "../icons/Bubble.js";
5
- import C from "../icons/Plane.js";
6
- const v = "_inputContainer_1ydpn_286", S = "_bottomFade_1ydpn_289", K = "_inputWrap_1ydpn_292", P = "_textarea_1ydpn_295", N = "_button_1ydpn_361", W = "_primary_1ydpn_396", k = "_secondary_1ydpn_405", D = "_disclaimer_1ydpn_411", r = {
7
- inputContainer: v,
8
- bottomFade: S,
9
- inputWrap: K,
10
- textarea: P,
11
- button: N,
12
- primary: W,
13
- secondary: k,
14
- disclaimer: D
3
+ import { c as y } from "../../clsx-OuTLNxxd.js";
4
+ import j from "../icons/Bubble.js";
5
+ import g from "../icons/Plane.js";
6
+ const C = "_inputContainer_4jy94_270", v = "_bottomFade_4jy94_273", S = "_inputWrap_4jy94_276", K = "_textarea_4jy94_279", P = "_button_4jy94_345", N = "_primary_4jy94_380", W = "_secondary_4jy94_389", k = "_disclaimer_4jy94_395", r = {
7
+ inputContainer: C,
8
+ bottomFade: v,
9
+ inputWrap: S,
10
+ textarea: K,
11
+ button: P,
12
+ primary: N,
13
+ secondary: W,
14
+ disclaimer: k
15
15
  };
16
- function F({
16
+ function D({
17
17
  variant: a = "primary",
18
18
  className: s,
19
- children: n,
19
+ children: e,
20
20
  ...o
21
21
  }) {
22
- return /* @__PURE__ */ e(
22
+ return /* @__PURE__ */ n(
23
23
  "button",
24
24
  {
25
- className: d(r.button, r[a], s),
25
+ className: y(r.button, r[a], s),
26
26
  ...o,
27
- children: /* @__PURE__ */ e("span", { children: n })
27
+ children: /* @__PURE__ */ n("span", { children: e })
28
28
  }
29
29
  );
30
30
  }
@@ -32,49 +32,49 @@ function I({
32
32
  autoFocus: a,
33
33
  onSubmit: s
34
34
  }) {
35
- const n = h(null), [o, i] = b(""), c = o.trim(), p = !!c;
35
+ const e = h(null), [o, i] = b(""), c = o.trim(), u = !!c;
36
36
  x(() => {
37
37
  var t;
38
- a && ((t = n.current) == null || t.focus());
38
+ a && ((t = e.current) == null || t.focus());
39
39
  }, [a]);
40
- const u = () => {
41
- const t = n.current;
40
+ const p = () => {
41
+ const t = e.current;
42
42
  t && (t.style.height = "64px", t.style.height = `${t.scrollHeight + 4}px`);
43
- }, y = (t) => {
44
- i(t.target.value), u();
45
- }, m = (t) => {
46
- t.preventDefault(), s(c), i(""), requestAnimationFrame(u);
47
43
  }, _ = (t) => {
44
+ i(t.target.value), p();
45
+ }, m = (t) => {
46
+ t.preventDefault(), s(c), i(""), requestAnimationFrame(p);
47
+ }, d = (t) => {
48
48
  t.key === "Enter" && !t.shiftKey && !t.ctrlKey && !t.metaKey && m(t);
49
49
  }, f = () => {
50
50
  var t;
51
- (t = n.current) == null || t.focus();
51
+ (t = e.current) == null || t.focus();
52
52
  };
53
53
  return /* @__PURE__ */ l(
54
54
  "form",
55
55
  {
56
- className: d(r.inputWrap, { [r.active]: p }),
57
- onKeyDown: _,
56
+ className: y(r.inputWrap, { [r.active]: u }),
57
+ onKeyDown: d,
58
58
  onSubmit: m,
59
59
  children: [
60
- /* @__PURE__ */ e(g, {}),
61
- /* @__PURE__ */ e(
60
+ /* @__PURE__ */ n(j, {}),
61
+ /* @__PURE__ */ n(
62
62
  "textarea",
63
63
  {
64
64
  className: r.textarea,
65
- ref: n,
65
+ ref: e,
66
66
  value: o,
67
- onChange: y
67
+ onChange: _
68
68
  }
69
69
  ),
70
70
  /* @__PURE__ */ l(
71
- F,
71
+ D,
72
72
  {
73
- variant: p ? "primary" : "secondary",
73
+ variant: u ? "primary" : "secondary",
74
74
  onClick: f,
75
75
  children: [
76
- /* @__PURE__ */ e(C, {}),
77
- /* @__PURE__ */ e("span", { className: "sr-only", children: "Send message" })
76
+ /* @__PURE__ */ n(g, {}),
77
+ /* @__PURE__ */ n("span", { className: "sr-only", children: "Send message" })
78
78
  ]
79
79
  }
80
80
  )
@@ -84,5 +84,5 @@ function I({
84
84
  }
85
85
  export {
86
86
  I as GPTInput,
87
- F as default
87
+ D as default
88
88
  };
@@ -6,10 +6,10 @@ export interface SubHeaderItem {
6
6
  icon?: ReactNode;
7
7
  tag?: ReactNode;
8
8
  tagVariant?: 'success' | 'brand';
9
- link?: ElementType;
10
9
  }
11
- export declare function SubHeader({ items, host }: {
10
+ export declare function SubHeader({ items, link: Link, host }: {
12
11
  items: Array<SubHeaderItem>;
12
+ link?: ElementType;
13
13
  host?: string;
14
14
  }): import("react/jsx-runtime").JSX.Element;
15
15
  export interface Notification {
@@ -1,14 +1,14 @@
1
- import { jsx as e, jsxs as o, Fragment as V } from "react/jsx-runtime";
2
- import { useState as M, useEffect as U } from "react";
3
- import { J as z } from "../../index-CMegByeX.js";
1
+ import { jsx as e, jsxs as s, Fragment as V } from "react/jsx-runtime";
2
+ import { useState as M, useEffect as q } from "react";
3
+ import { J as U } from "../../index-CMegByeX.js";
4
4
  import { _ as d } from "../../extends-hS2Bh-Yp.js";
5
- import { N as J, X as A } from "../../index-xicPMd2c.js";
6
- import { c as g } from "../../clsx-OuTLNxxd.js";
5
+ import { N as J, X as A } from "../../index-ChurKizy.js";
6
+ import { c as p } from "../../clsx-OuTLNxxd.js";
7
7
  import { Button as h } from "../Button/index.js";
8
8
  import { Container as W } from "../Container/index.js";
9
- import { ThemedLogo as q } from "../Logo/index.js";
10
- import { PrefPanel as N } from "../PrefPanel/index.js";
11
- import { useMediaQuery as b } from "../../utils.js";
9
+ import { ThemedLogo as N } from "../Logo/index.js";
10
+ import { PrefPanel as z } from "../PrefPanel/index.js";
11
+ import { useMediaQuery as C } from "../../utils.js";
12
12
  var G = function(t) {
13
13
  return /* @__PURE__ */ e("svg", d({
14
14
  xmlns: "http://www.w3.org/2000/svg",
@@ -186,7 +186,7 @@ var G = function(t) {
186
186
  })
187
187
  }));
188
188
  };
189
- const R = "_header_1qm4u_286", I = "_outer_1qm4u_297", K = "_main_1qm4u_306", Y = "_container_1qm4u_310", Z = "_links_1qm4u_316", e1 = "_buttons_1qm4u_317", t1 = "_menu_1qm4u_325", r1 = "_logo_1qm4u_330", n1 = "_subContainer_1qm4u_342", o1 = "_selected_1qm4u_370", s1 = "_subTag_1qm4u_382", i1 = "_mobileOverlay_1qm4u_400", a1 = "_show_1qm4u_1", c1 = "_open_1qm4u_412", h1 = "_mobile_1qm4u_400", l1 = "_slideUp_1qm4u_1", d1 = "_sub_1qm4u_342", u1 = "_gpt_1qm4u_478", r = {
189
+ const R = "_header_1vxsz_270", I = "_outer_1vxsz_281", K = "_main_1vxsz_290", Y = "_container_1vxsz_294", Z = "_links_1vxsz_300", e1 = "_buttons_1vxsz_301", t1 = "_menu_1vxsz_309", r1 = "_logo_1vxsz_314", n1 = "_subContainer_1vxsz_326", s1 = "_selected_1vxsz_354", o1 = "_subTag_1vxsz_366", i1 = "_mobileOverlay_1vxsz_384", a1 = "_show_1vxsz_1", c1 = "_open_1vxsz_396", h1 = "_mobile_1vxsz_384", l1 = "_slideUp_1vxsz_1", d1 = "_sub_1vxsz_326", u1 = "_gpt_1vxsz_462", r = {
190
190
  header: R,
191
191
  outer: I,
192
192
  main: K,
@@ -196,10 +196,10 @@ const R = "_header_1qm4u_286", I = "_outer_1qm4u_297", K = "_main_1qm4u_306", Y
196
196
  menu: t1,
197
197
  logo: r1,
198
198
  subContainer: n1,
199
- selected: o1,
200
- subTag: s1,
201
- "subTag-success": "_subTag-success_1qm4u_387",
202
- "subTag-brand": "_subTag-brand_1qm4u_391",
199
+ selected: s1,
200
+ subTag: o1,
201
+ "subTag-success": "_subTag-success_1vxsz_371",
202
+ "subTag-brand": "_subTag-brand_1vxsz_375",
203
203
  mobileOverlay: i1,
204
204
  show: a1,
205
205
  open: c1,
@@ -244,108 +244,107 @@ function l(n, t) {
244
244
  }
245
245
  function m1({
246
246
  items: n,
247
- host: t
247
+ link: t = "a",
248
+ host: w = "https://www.highcharts.com"
248
249
  }) {
249
- return /* @__PURE__ */ e("div", { className: g(r.sub, r.outer), children: /* @__PURE__ */ e(W, { className: r.subContainer, as: "ul", children: n.map(
250
- ({ title: p, url: c, icon: i, tag: w, tagVariant: f = "success", link: _ = "a" }, m) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ o(_, { href: l(c, t), children: [
250
+ return /* @__PURE__ */ e("div", { className: p(r.sub, r.outer), children: /* @__PURE__ */ e(W, { className: r.subContainer, as: "ul", children: n.map(({ title: i, url: a, icon: g, tag: v, tagVariant: _ = "success" }, m) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ s(t, { href: l(a, w), children: [
251
+ g,
252
+ /* @__PURE__ */ s("span", { children: [
251
253
  i,
252
- /* @__PURE__ */ o("span", { children: [
253
- p,
254
- w && /* @__PURE__ */ e(
255
- "span",
256
- {
257
- className: g(
258
- r.subTag,
259
- r[`subTag-${f}`]
260
- ),
261
- children: w
262
- }
263
- )
264
- ] })
265
- ] }) }, m)
266
- ) }) });
254
+ v && /* @__PURE__ */ e(
255
+ "span",
256
+ {
257
+ className: p(
258
+ r.subTag,
259
+ r[`subTag-${_}`]
260
+ ),
261
+ children: v
262
+ }
263
+ )
264
+ ] })
265
+ ] }) }, m)) }) });
267
266
  }
268
- function q1({
267
+ function N1({
269
268
  subItems: n,
270
269
  children: t,
271
- notifications: p = [],
270
+ notifications: w = [],
272
271
  // TODO: Fetch these from the internets
273
- link: c = "a",
274
- host: i = "https://www.highcharts.com"
272
+ link: i = "a",
273
+ host: a = "https://www.highcharts.com"
275
274
  }) {
276
- const w = b("(max-width: 374px)"), f = b("(max-width: 849px)"), _ = b("(min-width: 850px) and (max-width: 999px)"), [m, j] = M(!1), [v, k] = M([]);
277
- U(() => {
278
- if (p.length) {
279
- const a = localStorage.getItem("notifications");
280
- if (a) {
281
- const u = JSON.parse(a);
282
- k(
283
- p.filter(
284
- (s) => !s.id || !u.closed.includes(s.id)
275
+ const g = C("(max-width: 374px)"), v = C("(max-width: 849px)"), _ = C("(min-width: 850px) and (max-width: 999px)"), [m, j] = M(!1), [f, x] = M([]);
276
+ q(() => {
277
+ if (w.length) {
278
+ const c = localStorage.getItem("notifications");
279
+ if (c) {
280
+ const u = JSON.parse(c);
281
+ x(
282
+ w.filter(
283
+ (o) => !o.id || !u.closed.includes(o.id)
285
284
  )
286
285
  );
287
286
  } else
288
- k(p);
287
+ x(w);
289
288
  }
290
- }, [p]);
291
- const x = () => {
289
+ }, [w]);
290
+ const b = () => {
292
291
  j(!m);
293
- }, O = (a) => {
294
- k(v.filter((s) => !s.id || s.id !== a));
292
+ }, O = (c) => {
293
+ x(f.filter((o) => !o.id || o.id !== c));
295
294
  const u = localStorage.getItem("notifications");
296
295
  if (u) {
297
- const s = JSON.parse(u);
298
- s.closed.includes(a) || (s.closed.push(a), localStorage.setItem("notifications", JSON.stringify(s)));
296
+ const o = JSON.parse(u);
297
+ o.closed.includes(c) || (o.closed.push(c), localStorage.setItem("notifications", JSON.stringify(o)));
299
298
  } else
300
299
  localStorage.setItem(
301
300
  "notifications",
302
301
  JSON.stringify({
303
- closed: [a]
302
+ closed: [c]
304
303
  })
305
304
  );
306
305
  };
307
- return /* @__PURE__ */ e(z, { children: /* @__PURE__ */ o("header", { className: r.header, children: [
308
- v == null ? void 0 : v.map(
309
- ({ id: a, title: u, description: s, variant: C, closable: y }, P) => /* @__PURE__ */ e(
306
+ return /* @__PURE__ */ e(U, { children: /* @__PURE__ */ s("header", { className: r.header, children: [
307
+ f == null ? void 0 : f.map(
308
+ ({ id: c, title: u, description: o, variant: k, closable: y }, P) => /* @__PURE__ */ e(
310
309
  J,
311
310
  {
312
- description: s,
313
- variant: C,
311
+ description: o,
312
+ variant: k,
314
313
  closable: y,
315
- onClose: () => O(a),
314
+ onClose: () => O(c),
316
315
  children: u
317
316
  },
318
317
  P
319
318
  )
320
319
  ),
321
- /* @__PURE__ */ e("div", { className: g(r.main, r.outer), children: /* @__PURE__ */ o(W, { as: "nav", className: r.container, children: [
320
+ /* @__PURE__ */ e("div", { className: p(r.main, r.outer), children: /* @__PURE__ */ s(W, { as: "nav", className: r.container, children: [
322
321
  /* @__PURE__ */ e(
323
- c,
322
+ i,
324
323
  {
325
324
  className: r.logo,
326
- href: l("https://www.highcharts.com/", i),
327
- children: /* @__PURE__ */ e(q, { showText: !_ && !w })
325
+ href: l("https://www.highcharts.com/", a),
326
+ children: /* @__PURE__ */ e(N, { showText: !_ && !g })
328
327
  }
329
328
  ),
330
- /* @__PURE__ */ e("ul", { className: r.links, children: H.map(({ title: a, url: u }, s) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
329
+ /* @__PURE__ */ e("ul", { className: r.links, children: H.map(({ title: c, url: u }, o) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
331
330
  h,
332
331
  {
333
332
  variant: "plain",
334
333
  size: 300,
335
- as: c,
336
- href: l(u, i),
337
- children: a
334
+ as: i,
335
+ href: l(u, a),
336
+ children: c
338
337
  }
339
- ) }, s)) }),
340
- /* @__PURE__ */ o("div", { className: r.buttons, children: [
341
- /* @__PURE__ */ o(
338
+ ) }, o)) }),
339
+ /* @__PURE__ */ s("div", { className: r.buttons, children: [
340
+ /* @__PURE__ */ s(
342
341
  h,
343
342
  {
344
343
  variant: "transparent",
345
- as: c,
344
+ as: i,
346
345
  href: l(
347
346
  "https://www.highcharts.com/chat/gpt/",
348
- i
347
+ a
349
348
  ),
350
349
  children: [
351
350
  /* @__PURE__ */ e("span", { className: r.gpt, children: "Highcharts GPT" }),
@@ -354,25 +353,25 @@ function q1({
354
353
  }
355
354
  ),
356
355
  /* @__PURE__ */ e(h, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(S, {}) }),
357
- /* @__PURE__ */ e(N, {}),
356
+ /* @__PURE__ */ e(z, {}),
358
357
  /* @__PURE__ */ e(
359
358
  h,
360
359
  {
361
360
  variant: "brand",
362
- as: c,
363
- href: l("https://shop.highcharts.com/account", i),
361
+ as: i,
362
+ href: l("https://shop.highcharts.com/account", a),
364
363
  "aria-label": "Login",
365
364
  children: /* @__PURE__ */ e(B, {})
366
365
  }
367
366
  ),
368
- /* @__PURE__ */ o(
367
+ /* @__PURE__ */ s(
369
368
  h,
370
369
  {
371
370
  variant: "success",
372
- as: c,
371
+ as: i,
373
372
  href: l(
374
373
  "https://www.highcharts.com/download/",
375
- i
374
+ a
376
375
  ),
377
376
  children: [
378
377
  /* @__PURE__ */ e(T, {}),
@@ -380,12 +379,12 @@ function q1({
380
379
  ]
381
380
  }
382
381
  ),
383
- /* @__PURE__ */ o(
382
+ /* @__PURE__ */ s(
384
383
  h,
385
384
  {
386
385
  variant: m ? "white" : "transparent",
387
386
  className: r.menu,
388
- onClick: x,
387
+ onClick: b,
389
388
  children: [
390
389
  m ? "Close" : "Menu",
391
390
  m ? /* @__PURE__ */ e(A, {}) : /* @__PURE__ */ e($, {})
@@ -394,41 +393,41 @@ function q1({
394
393
  )
395
394
  ] })
396
395
  ] }) }),
397
- !!(n != null && n.length) && /* @__PURE__ */ e(m1, { items: n, host: i }),
396
+ !!(n != null && n.length) && /* @__PURE__ */ e(m1, { items: n, link: i, host: a }),
398
397
  t,
399
- f && /* @__PURE__ */ o(V, { children: [
398
+ v && /* @__PURE__ */ s(V, { children: [
400
399
  /* @__PURE__ */ e(
401
400
  "div",
402
401
  {
403
- className: g(r.mobileOverlay, { [r.open]: m }),
404
- onClick: x
402
+ className: p(r.mobileOverlay, { [r.open]: m }),
403
+ onClick: b
405
404
  }
406
405
  ),
407
- /* @__PURE__ */ o(
406
+ /* @__PURE__ */ s(
408
407
  "nav",
409
408
  {
410
- className: g(r.mobile, {
409
+ className: p(r.mobile, {
411
410
  [r.open]: m
412
411
  }),
413
412
  children: [
414
- /* @__PURE__ */ o("div", { className: r.container, children: [
413
+ /* @__PURE__ */ s("div", { className: r.container, children: [
415
414
  /* @__PURE__ */ e(
416
- c,
415
+ i,
417
416
  {
418
417
  className: r.logo,
419
- href: l("https://www.highcharts.com/", i),
420
- children: /* @__PURE__ */ e(q, { showText: !w })
418
+ href: l("https://www.highcharts.com/", a),
419
+ children: /* @__PURE__ */ e(N, { showText: !g })
421
420
  }
422
421
  ),
423
- /* @__PURE__ */ o("div", { className: r.buttons, children: [
424
- /* @__PURE__ */ o(
422
+ /* @__PURE__ */ s("div", { className: r.buttons, children: [
423
+ /* @__PURE__ */ s(
425
424
  h,
426
425
  {
427
426
  variant: "transparent",
428
- as: c,
427
+ as: i,
429
428
  href: l(
430
429
  "https://www.highcharts.com/chat/gpt/",
431
- i
430
+ a
432
431
  ),
433
432
  children: [
434
433
  /* @__PURE__ */ e("span", { className: r.gpt, children: "Highcharts GPT" }),
@@ -437,19 +436,19 @@ function q1({
437
436
  }
438
437
  ),
439
438
  /* @__PURE__ */ e(h, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(S, {}) }),
440
- /* @__PURE__ */ e(N, {})
439
+ /* @__PURE__ */ e(z, {})
441
440
  ] })
442
441
  ] }),
443
- /* @__PURE__ */ o("div", { className: r.buttons, children: [
444
- /* @__PURE__ */ o(
442
+ /* @__PURE__ */ s("div", { className: r.buttons, children: [
443
+ /* @__PURE__ */ s(
445
444
  h,
446
445
  {
447
446
  variant: "brand",
448
447
  fullWidth: !0,
449
- as: c,
448
+ as: i,
450
449
  href: l(
451
450
  "https://shop.highcharts.com/account",
452
- i
451
+ a
453
452
  ),
454
453
  children: [
455
454
  /* @__PURE__ */ e(B, {}),
@@ -457,15 +456,15 @@ function q1({
457
456
  ]
458
457
  }
459
458
  ),
460
- /* @__PURE__ */ o(
459
+ /* @__PURE__ */ s(
461
460
  h,
462
461
  {
463
462
  variant: "success",
464
463
  fullWidth: !0,
465
- as: c,
464
+ as: i,
466
465
  href: l(
467
466
  "https://www.highcharts.com/download/",
468
- i
467
+ a
469
468
  ),
470
469
  children: [
471
470
  /* @__PURE__ */ e(T, {}),
@@ -474,20 +473,20 @@ function q1({
474
473
  }
475
474
  )
476
475
  ] }),
477
- /* @__PURE__ */ e("ul", { className: r.links, children: H.map(({ title: a, url: u, icon: s }, C) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ o(
476
+ /* @__PURE__ */ e("ul", { className: r.links, children: H.map(({ title: c, url: u, icon: o }, k) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ s(
478
477
  h,
479
478
  {
480
479
  variant: "plain",
481
480
  size: 500,
482
481
  fullWidth: !0,
483
- as: c,
484
- href: l(u, i),
482
+ as: i,
483
+ href: l(u, a),
485
484
  children: [
486
- s,
487
- a
485
+ o,
486
+ c
488
487
  ]
489
488
  }
490
- ) }, C)) })
489
+ ) }, k)) })
491
490
  ]
492
491
  }
493
492
  )
@@ -495,6 +494,6 @@ function q1({
495
494
  ] }) });
496
495
  }
497
496
  export {
498
- q1 as Header,
497
+ N1 as Header,
499
498
  m1 as SubHeader
500
499
  };
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { N as f } from "../../index-xicPMd2c.js";
3
+ import { N as f } from "../../index-ChurKizy.js";
4
4
  import "../../clsx-OuTLNxxd.js";
5
5
  import "../Button/index.js";
6
6
  import "../Container/index.js";