highsoft-ui 1.0.82 → 1.0.84

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.
@@ -2,8 +2,8 @@ import { jsxs as s, jsx as o } from "react/jsx-runtime";
2
2
  import { useState as l, useRef as a, useEffect as i } from "react";
3
3
  import { X as d } from "./XClose-CCu1vrNS.js";
4
4
  import { Button as _ } from "./components/Button/index.js";
5
- import { R as w, T as h, P as u, O as y, C as x, b as G, a as U } from "./index-BSgacgd-.js";
6
- const p = "wUsx_G_bottom", m = "wUsx_G_bottomLinks", C = "wUsx_G_cookiePolicy", b = "wUsx_G_cookiePolicyClose", k = "wUsx_G_copyright", f = "wUsx_G_discord", P = "wUsx_G_discordAvatars", g = "wUsx_G_discordAvatarStatus", v = "wUsx_G_discordContent", L = "wUsx_G_discordJoin", B = "wUsx_G_discordMembers", E = "wUsx_G_discordPlus", O = "wUsx_G_error", A = "wUsx_G_footer", M = "wUsx_G_help", S = "wUsx_G_helpBall", R = "wUsx_G_helpContent", j = "wUsx_G_helpItem", I = "wUsx_G_helpWays", J = "wUsx_G_highcharts", N = "wUsx_G_links", T = "wUsx_G_logo", W = "wUsx_G_newsletter", X = "wUsx_G_newsletterContent", q = "wUsx_G_newsletterError", z = "wUsx_G_norway", D = "wUsx_G_notCharts", F = "wUsx_G_online", H = "wUsx_G_socials", K = "wUsx_G_success", Q = "wUsx_G_tabletBottomLeft", V = "wUsx_G_tagged", Y = "wUsx_G_top", Z = "wUsx_G_youtube", $ = "wUsx_G_youtubeContent", oo = "wUsx_G_youtubeOverlay", n = {
5
+ import { R as u, T as w, P as h, O as y, C as x, b as G, a as U } from "./index-BSgacgd-.js";
6
+ const p = "wUsx_G_bottom", m = "wUsx_G_bottomLinks", C = "wUsx_G_cookiePolicy", b = "wUsx_G_cookiePolicyClose", k = "wUsx_G_copyright", f = "wUsx_G_discord", P = "wUsx_G_discordAvatars", g = "wUsx_G_discordAvatarStatus", v = "wUsx_G_discordContent", L = "wUsx_G_discordJoin", B = "wUsx_G_discordMembers", E = "wUsx_G_discordPlus", O = "wUsx_G_error", A = "wUsx_G_footer", M = "wUsx_G_help", S = "wUsx_G_helpBall", R = "wUsx_G_helpContent", j = "wUsx_G_helpItem", I = "wUsx_G_helpWays", J = "wUsx_G_highcharts", N = "wUsx_G_links", T = "wUsx_G_logo", W = "wUsx_G_newsletter", X = "wUsx_G_newsletterContent", q = "wUsx_G_newsletterError", z = "wUsx_G_norway", D = "wUsx_G_notCharts", F = "wUsx_G_online", H = "wUsx_G_outer", K = "wUsx_G_socials", Q = "wUsx_G_success", V = "wUsx_G_tabletBottomLeft", Y = "wUsx_G_tagged", Z = "wUsx_G_top", $ = "wUsx_G_youtube", oo = "wUsx_G_youtubeContent", to = "wUsx_G_youtubeOverlay", n = {
7
7
  bottom: p,
8
8
  bottomLinks: m,
9
9
  cookiePolicy: C,
@@ -32,16 +32,17 @@ const p = "wUsx_G_bottom", m = "wUsx_G_bottomLinks", C = "wUsx_G_cookiePolicy",
32
32
  norway: z,
33
33
  notCharts: D,
34
34
  online: F,
35
- socials: H,
36
- success: K,
37
- tabletBottomLeft: Q,
38
- tagged: V,
39
- top: Y,
40
- youtube: Z,
41
- youtubeContent: $,
42
- youtubeOverlay: oo
35
+ outer: H,
36
+ socials: K,
37
+ success: Q,
38
+ tabletBottomLeft: V,
39
+ tagged: Y,
40
+ top: Z,
41
+ youtube: $,
42
+ youtubeContent: oo,
43
+ youtubeOverlay: to
43
44
  };
44
- function ro() {
45
+ function io() {
45
46
  const [e, r] = l(!1), c = a(null);
46
47
  return i(() => {
47
48
  const t = () => r(!0);
@@ -53,9 +54,9 @@ function ro() {
53
54
  t.src = "https://consent.cookiebot.com/8be0770c-8b7f-4e2d-aeb5-2cfded81e177/cd.js", c.current.appendChild(t);
54
55
  }
55
56
  });
56
- }, [e]), /* @__PURE__ */ s(w, { open: e, onOpenChange: r, children: [
57
- /* @__PURE__ */ o(h, { asChild: !0, children: /* @__PURE__ */ o("button", { id: "cookiePolicyModal", children: "Cookie Policy" }) }),
58
- /* @__PURE__ */ s(u, { children: [
57
+ }, [e]), /* @__PURE__ */ s(u, { open: e, onOpenChange: r, children: [
58
+ /* @__PURE__ */ o(w, { asChild: !0, children: /* @__PURE__ */ o("button", { id: "cookiePolicyModal", children: "Cookie Policy" }) }),
59
+ /* @__PURE__ */ s(h, { children: [
59
60
  /* @__PURE__ */ o(y, { className: n.youtubeOverlay }),
60
61
  /* @__PURE__ */ s(
61
62
  x,
@@ -76,6 +77,6 @@ function ro() {
76
77
  ] });
77
78
  }
78
79
  export {
79
- ro as C,
80
+ io as C,
80
81
  n as s
81
82
  };
@@ -1,5 +1,6 @@
1
1
  import { ElementType, HTMLAttributes } from 'react';
2
2
  export interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
3
3
  as?: ElementType;
4
+ [prop: string]: any;
4
5
  }
5
- export declare const Container: import('react').ForwardRefExoticComponent<ContainerProps & import('react').RefAttributes<HTMLDivElement>>;
6
+ export declare const Container: import('react').ForwardRefExoticComponent<Omit<ContainerProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../XClose-CCu1vrNS.js";
4
4
  import "../Button/index.js";
5
- import { C as e } from "../../CookiePolicyModal-ChXNzv49.js";
5
+ import { C as e } from "../../CookiePolicyModal-yxjfkjT3.js";
6
6
  import "../../index-BSgacgd-.js";
7
7
  export {
8
8
  e as default
@@ -3,13 +3,13 @@ import g, { useRef as A, useState as y, useEffect as Y } from "react";
3
3
  import { A as $ } from "../../Announcement03-obPaH4LK.js";
4
4
  import { C as tt } from "../../Check-Cm4roSEj.js";
5
5
  import { _ as j } from "../../extends-hS2Bh-Yp.js";
6
- import { c as N } from "../../clsx-OuTLNxxd.js";
6
+ import { c as x } from "../../clsx-OuTLNxxd.js";
7
7
  import { Button as T } from "../Button/index.js";
8
8
  import { Container as et } from "../Container/index.js";
9
9
  import { Logo as rt } from "../Logo/index.js";
10
10
  import { NewTag as it } from "../NewTag/index.js";
11
11
  import ct from "../icons/MadeInNorway.js";
12
- import { s as a, C as at } from "../../CookiePolicyModal-ChXNzv49.js";
12
+ import { s as c, C as at } from "../../CookiePolicyModal-yxjfkjT3.js";
13
13
  import { a as H, c as st, v as D } from "../../utils-CT0G9Gzw.js";
14
14
  import { R as ot, T as nt, P as ht, O as lt, C as ut, a as dt } from "../../index-BSgacgd-.js";
15
15
  import { R as mt } from "../../index-C_wmZvxw.js";
@@ -86,21 +86,21 @@ var wt = function(r) {
86
86
  }, E = g.createContext && /* @__PURE__ */ g.createContext(B), vt = ["attr", "size", "title"];
87
87
  function bt(t, r) {
88
88
  if (t == null) return {};
89
- var i = yt(t, r), c, u;
89
+ var i = yt(t, r), a, u;
90
90
  if (Object.getOwnPropertySymbols) {
91
91
  var w = Object.getOwnPropertySymbols(t);
92
92
  for (u = 0; u < w.length; u++)
93
- c = w[u], !(r.indexOf(c) >= 0) && Object.prototype.propertyIsEnumerable.call(t, c) && (i[c] = t[c]);
93
+ a = w[u], !(r.indexOf(a) >= 0) && Object.prototype.propertyIsEnumerable.call(t, a) && (i[a] = t[a]);
94
94
  }
95
95
  return i;
96
96
  }
97
97
  function yt(t, r) {
98
98
  if (t == null) return {};
99
99
  var i = {};
100
- for (var c in t)
101
- if (Object.prototype.hasOwnProperty.call(t, c)) {
102
- if (r.indexOf(c) >= 0) continue;
103
- i[c] = t[c];
100
+ for (var a in t)
101
+ if (Object.prototype.hasOwnProperty.call(t, a)) {
102
+ if (r.indexOf(a) >= 0) continue;
103
+ i[a] = t[a];
104
104
  }
105
105
  return i;
106
106
  }
@@ -108,8 +108,8 @@ function S() {
108
108
  return S = Object.assign ? Object.assign.bind() : function(t) {
109
109
  for (var r = 1; r < arguments.length; r++) {
110
110
  var i = arguments[r];
111
- for (var c in i)
112
- Object.prototype.hasOwnProperty.call(i, c) && (t[c] = i[c]);
111
+ for (var a in i)
112
+ Object.prototype.hasOwnProperty.call(i, a) && (t[a] = i[a]);
113
113
  }
114
114
  return t;
115
115
  }, S.apply(this, arguments);
@@ -117,37 +117,37 @@ function S() {
117
117
  function F(t, r) {
118
118
  var i = Object.keys(t);
119
119
  if (Object.getOwnPropertySymbols) {
120
- var c = Object.getOwnPropertySymbols(t);
121
- r && (c = c.filter(function(u) {
120
+ var a = Object.getOwnPropertySymbols(t);
121
+ r && (a = a.filter(function(u) {
122
122
  return Object.getOwnPropertyDescriptor(t, u).enumerable;
123
- })), i.push.apply(i, c);
123
+ })), i.push.apply(i, a);
124
124
  }
125
125
  return i;
126
126
  }
127
127
  function O(t) {
128
128
  for (var r = 1; r < arguments.length; r++) {
129
129
  var i = arguments[r] != null ? arguments[r] : {};
130
- r % 2 ? F(Object(i), !0).forEach(function(c) {
131
- Ct(t, c, i[c]);
132
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : F(Object(i)).forEach(function(c) {
133
- Object.defineProperty(t, c, Object.getOwnPropertyDescriptor(i, c));
130
+ r % 2 ? F(Object(i), !0).forEach(function(a) {
131
+ Ct(t, a, i[a]);
132
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : F(Object(i)).forEach(function(a) {
133
+ Object.defineProperty(t, a, Object.getOwnPropertyDescriptor(i, a));
134
134
  });
135
135
  }
136
136
  return t;
137
137
  }
138
138
  function Ct(t, r, i) {
139
- return r = xt(r), r in t ? Object.defineProperty(t, r, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[r] = i, t;
139
+ return r = Nt(r), r in t ? Object.defineProperty(t, r, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[r] = i, t;
140
140
  }
141
- function xt(t) {
142
- var r = Nt(t, "string");
141
+ function Nt(t) {
142
+ var r = xt(t, "string");
143
143
  return typeof r == "symbol" ? r : r + "";
144
144
  }
145
- function Nt(t, r) {
145
+ function xt(t, r) {
146
146
  if (typeof t != "object" || !t) return t;
147
147
  var i = t[Symbol.toPrimitive];
148
148
  if (i !== void 0) {
149
- var c = i.call(t, r);
150
- if (typeof c != "object") return c;
149
+ var a = i.call(t, r);
150
+ if (typeof a != "object") return a;
151
151
  throw new TypeError("@@toPrimitive must return a primitive value.");
152
152
  }
153
153
  return (r === "string" ? String : Number)(t);
@@ -165,7 +165,7 @@ function p(t) {
165
165
  function Pt(t) {
166
166
  var r = (i) => {
167
167
  var {
168
- attr: c,
168
+ attr: a,
169
169
  size: u,
170
170
  title: w
171
171
  } = t, v = bt(t, vt), C = u || i.size || "1em", n;
@@ -173,7 +173,7 @@ function Pt(t) {
173
173
  stroke: "currentColor",
174
174
  fill: "currentColor",
175
175
  strokeWidth: "0"
176
- }, i.attr, c, v, {
176
+ }, i.attr, a, v, {
177
177
  className: n,
178
178
  style: O(O({
179
179
  color: t.color || i.color
@@ -520,9 +520,9 @@ function Zt({
520
520
  link: t = "a",
521
521
  host: r = "https://www.highcharts.com"
522
522
  }) {
523
- const i = A(null), c = A(null), [u, w] = y(!1), [v, C] = y(!1), [n, f] = y(""), [L, G] = y(0), [J, q] = y(), U = H("(max-width: 849px)"), Z = H("(min-width: 850px) and (max-width: 999px)");
523
+ const i = A(null), a = A(null), [u, w] = y(!1), [v, C] = y(!1), [n, f] = y(""), [L, G] = y(0), [J, q] = y(), U = H("(max-width: 849px)"), Z = H("(min-width: 850px) and (max-width: 999px)");
524
524
  Y(() => {
525
- if (c.current) {
525
+ if (a.current) {
526
526
  const h = async () => {
527
527
  try {
528
528
  return (await (await fetch(
@@ -552,11 +552,11 @@ function Zt({
552
552
  },
553
553
  { rootMargin: "100px" }
554
554
  );
555
- return l.observe(c.current), () => l.disconnect();
555
+ return l.observe(a.current), () => l.disconnect();
556
556
  }
557
- }, [c.current]);
558
- const x = !!n && n !== "Something went wrong", K = (h) => {
559
- x ? D(h.target.value) && f("") : n && f("");
557
+ }, [a.current]);
558
+ const N = !!n && n !== "Something went wrong", K = (h) => {
559
+ N ? D(h.target.value) && f("") : n && f("");
560
560
  }, Q = async (h) => {
561
561
  h.preventDefault();
562
562
  const o = i.current;
@@ -565,8 +565,8 @@ function Zt({
565
565
  o.value = "", o.focus();
566
566
  return;
567
567
  }
568
- if (x) {
569
- x && o.focus();
568
+ if (N) {
569
+ N && o.focus();
570
570
  return;
571
571
  }
572
572
  if (!D(o.value)) {
@@ -592,25 +592,25 @@ function Zt({
592
592
  }
593
593
  }
594
594
  }, z = /* @__PURE__ */ s(k, { children: [
595
- /* @__PURE__ */ s("span", { className: a.copyright, children: [
595
+ /* @__PURE__ */ s("span", { className: c.copyright, children: [
596
596
  "© ",
597
597
  (/* @__PURE__ */ new Date()).getFullYear(),
598
598
  " Highsoft. All rights reserved."
599
599
  ] }),
600
- /* @__PURE__ */ s("div", { className: a.bottomLinks, children: [
600
+ /* @__PURE__ */ s("div", { className: c.bottomLinks, children: [
601
601
  /* @__PURE__ */ e(t, { href: "https://www.highcharts.com/blog/article/accessibility-statement/", children: "Accessibility Statement" }),
602
602
  /* @__PURE__ */ e(t, { href: "https://www.highcharts.com/sitemap.xml", children: "Sitemap" }),
603
603
  /* @__PURE__ */ e("button", { onClick: () => window.CookieConsent?.renew(), children: "Cookie Preferences" }),
604
604
  /* @__PURE__ */ e(at, {})
605
605
  ] })
606
- ] }), M = /* @__PURE__ */ e("ul", { className: a.socials, children: Mt.map(({ icon: h, url: o, label: l }, d) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e("a", { href: o, "aria-label": l, children: h }) }, d)) });
607
- return /* @__PURE__ */ s(et, { as: "footer", className: a.footer, children: [
608
- /* @__PURE__ */ s("div", { className: a.top, children: [
609
- /* @__PURE__ */ s("div", { className: a.highcharts, children: [
606
+ ] }), M = /* @__PURE__ */ e("ul", { className: c.socials, children: Mt.map(({ icon: h, url: o, label: l }, d) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e("a", { href: o, "aria-label": l, children: h }) }, d)) });
607
+ return /* @__PURE__ */ e("footer", { className: c.outer, children: /* @__PURE__ */ s(et, { className: c.footer, children: [
608
+ /* @__PURE__ */ s("div", { className: c.top, children: [
609
+ /* @__PURE__ */ s("div", { className: c.highcharts, children: [
610
610
  /* @__PURE__ */ e(
611
611
  t,
612
612
  {
613
- className: a.logo,
613
+ className: c.logo,
614
614
  href: P("https://www.highcharts.com/", r),
615
615
  children: /* @__PURE__ */ e(rt, {})
616
616
  }
@@ -619,16 +619,16 @@ function Zt({
619
619
  /* @__PURE__ */ e(At, {})
620
620
  ] }),
621
621
  /* @__PURE__ */ s(ot, { children: [
622
- /* @__PURE__ */ e(nt, { asChild: !0, children: /* @__PURE__ */ s("button", { className: a.youtube, children: [
622
+ /* @__PURE__ */ e(nt, { asChild: !0, children: /* @__PURE__ */ s("button", { className: c.youtube, children: [
623
623
  /* @__PURE__ */ e(R, {}),
624
624
  /* @__PURE__ */ e("p", { children: "Meet the team behind the charts" })
625
625
  ] }) }),
626
626
  /* @__PURE__ */ s(ht, { children: [
627
- /* @__PURE__ */ e(lt, { className: a.youtubeOverlay }),
627
+ /* @__PURE__ */ e(lt, { className: c.youtubeOverlay }),
628
628
  /* @__PURE__ */ s(
629
629
  ut,
630
630
  {
631
- className: a.youtubeContent,
631
+ className: c.youtubeContent,
632
632
  "aria-describedby": void 0,
633
633
  children: [
634
634
  /* @__PURE__ */ e(mt, { asChild: !0, children: /* @__PURE__ */ e(dt, { children: "Video: Meet the team behind the charts" }) }),
@@ -647,12 +647,12 @@ function Zt({
647
647
  )
648
648
  ] })
649
649
  ] }),
650
- /* @__PURE__ */ s("div", { className: a.notCharts, children: [
650
+ /* @__PURE__ */ s("div", { className: c.notCharts, children: [
651
651
  /* @__PURE__ */ s(
652
652
  "div",
653
653
  {
654
- className: N(a.newsletter, {
655
- [a.success]: v
654
+ className: x(c.newsletter, {
655
+ [c.success]: v
656
656
  }),
657
657
  "data-theme": v && "light",
658
658
  children: [
@@ -660,16 +660,16 @@ function Zt({
660
660
  /* @__PURE__ */ e($, {}),
661
661
  "Stay in the Loop"
662
662
  ] }),
663
- v ? /* @__PURE__ */ s("div", { className: a.newsletterContent, children: [
663
+ v ? /* @__PURE__ */ s("div", { className: c.newsletterContent, children: [
664
664
  /* @__PURE__ */ e(pt, {}),
665
665
  "Check your inbox and confirm your email to finish signing up."
666
666
  ] }) : /* @__PURE__ */ s("form", { onSubmit: Q, children: [
667
667
  /* @__PURE__ */ e(
668
668
  "input",
669
669
  {
670
- className: N({ [a.error]: n }),
670
+ className: x({ [c.error]: n }),
671
671
  placeholder: "Email address",
672
- "aria-invalid": x,
672
+ "aria-invalid": N,
673
673
  onChange: K,
674
674
  ref: i
675
675
  }
@@ -682,7 +682,7 @@ function Zt({
682
682
  children: "Sign up"
683
683
  }
684
684
  ),
685
- n && /* @__PURE__ */ s("div", { className: a.newsletterError, children: [
685
+ n && /* @__PURE__ */ s("div", { className: c.newsletterError, children: [
686
686
  n,
687
687
  /* @__PURE__ */ e(
688
688
  "svg",
@@ -709,7 +709,10 @@ function Zt({
709
709
  /* @__PURE__ */ e(
710
710
  t,
711
711
  {
712
- href: P("https://www.highcharts.com/privacy/", r),
712
+ href: P(
713
+ "https://www.highcharts.com/privacy/",
714
+ r
715
+ ),
713
716
  children: "Privacy Policy"
714
717
  }
715
718
  )
@@ -720,44 +723,44 @@ function Zt({
720
723
  /* @__PURE__ */ s(
721
724
  "a",
722
725
  {
723
- className: a.discord,
726
+ className: c.discord,
724
727
  href: "https://discord.com/invite/xHxxcyyy6K",
725
- ref: c,
728
+ ref: a,
726
729
  children: [
727
730
  /* @__PURE__ */ s("h2", { children: [
728
731
  /* @__PURE__ */ e(V, {}),
729
732
  "Discord ",
730
733
  /* @__PURE__ */ e("span", { children: "/ Total" })
731
734
  ] }),
732
- /* @__PURE__ */ s("p", { className: a.discordContent, children: [
733
- /* @__PURE__ */ e("span", { className: a.discordJoin, children: "Join us" }),
735
+ /* @__PURE__ */ s("p", { className: c.discordContent, children: [
736
+ /* @__PURE__ */ e("span", { className: c.discordJoin, children: "Join us" }),
734
737
  " ",
735
- !!L && /* @__PURE__ */ s("span", { className: a.discordMembers, children: [
738
+ !!L && /* @__PURE__ */ s("span", { className: c.discordMembers, children: [
736
739
  L,
737
740
  " members"
738
741
  ] })
739
742
  ] }),
740
- /* @__PURE__ */ s("ul", { className: a.discordAvatars, children: [
743
+ /* @__PURE__ */ s("ul", { className: c.discordAvatars, children: [
741
744
  J?.members.slice(0, 5).map(({ status: h, avatar_url: o }, l) => /* @__PURE__ */ s("li", { children: [
742
745
  /* @__PURE__ */ e("img", { src: o }),
743
746
  /* @__PURE__ */ e(
744
747
  "span",
745
748
  {
746
- className: N(a.discordAvatarStatus, {
747
- [a.online]: h === "online"
749
+ className: x(c.discordAvatarStatus, {
750
+ [c.online]: h === "online"
748
751
  })
749
752
  }
750
753
  )
751
754
  ] }, l)),
752
- /* @__PURE__ */ e("li", { className: a.discordPlus, children: "+" })
755
+ /* @__PURE__ */ e("li", { className: c.discordPlus, children: "+" })
753
756
  ] })
754
757
  ]
755
758
  }
756
759
  )
757
760
  ] })
758
761
  ] }),
759
- /* @__PURE__ */ s("div", { className: a.help, children: [
760
- /* @__PURE__ */ s("div", { className: a.helpWays, children: [
762
+ /* @__PURE__ */ s("div", { className: c.help, children: [
763
+ /* @__PURE__ */ s("div", { className: c.helpWays, children: [
761
764
  /* @__PURE__ */ e("span", { children: "Ways to get help" }),
762
765
  /* @__PURE__ */ s("p", { children: [
763
766
  "We operate in CET",
@@ -769,10 +772,10 @@ function Zt({
769
772
  t,
770
773
  {
771
774
  href: P(d, r),
772
- className: a.helpItem,
775
+ className: c.helpItem,
773
776
  children: [
774
- /* @__PURE__ */ e("div", { className: a.helpBall, children: h }),
775
- /* @__PURE__ */ s("div", { className: a.helpContent, children: [
777
+ /* @__PURE__ */ e("div", { className: c.helpBall, children: h }),
778
+ /* @__PURE__ */ s("div", { className: c.helpContent, children: [
776
779
  /* @__PURE__ */ e("span", { children: o }),
777
780
  /* @__PURE__ */ e("span", { children: l })
778
781
  ] })
@@ -781,14 +784,14 @@ function Zt({
781
784
  m
782
785
  ))
783
786
  ] }),
784
- /* @__PURE__ */ s("div", { className: a.links, children: [
787
+ /* @__PURE__ */ s("div", { className: c.links, children: [
785
788
  Object.entries(zt).map(([h, o], l) => /* @__PURE__ */ s("div", { children: [
786
789
  /* @__PURE__ */ e("h2", { children: h }),
787
790
  /* @__PURE__ */ e("ul", { children: o.map(({ title: d, url: m, tag: b }, X) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ s(
788
791
  t,
789
792
  {
790
793
  href: P(m, r),
791
- className: N({ [a.tagged]: b }),
794
+ className: x({ [c.tagged]: b }),
792
795
  children: [
793
796
  b ? /* @__PURE__ */ e("span", { children: d }) : d,
794
797
  b && /* @__PURE__ */ e(it, { variant: "brand", icon: !1, border: !0 })
@@ -796,16 +799,16 @@ function Zt({
796
799
  }
797
800
  ) }, X)) })
798
801
  ] }, l)),
799
- /* @__PURE__ */ e("div", { className: a.norway, children: /* @__PURE__ */ e(ct, {}) })
802
+ /* @__PURE__ */ e("div", { className: c.norway, children: /* @__PURE__ */ e(ct, {}) })
800
803
  ] }),
801
- /* @__PURE__ */ e("div", { className: a.bottom, children: Z ? /* @__PURE__ */ s(k, { children: [
802
- /* @__PURE__ */ e("div", { className: a.tabletBottomLeft, children: z }),
804
+ /* @__PURE__ */ e("div", { className: c.bottom, children: Z ? /* @__PURE__ */ s(k, { children: [
805
+ /* @__PURE__ */ e("div", { className: c.tabletBottomLeft, children: z }),
803
806
  M
804
807
  ] }) : /* @__PURE__ */ s(k, { children: [
805
808
  z,
806
809
  M
807
810
  ] }) })
808
- ] });
811
+ ] }) });
809
812
  }
810
813
  export {
811
814
  Zt as Footer
@@ -22,12 +22,12 @@ export interface Notification {
22
22
  closable?: boolean;
23
23
  }
24
24
  export declare function Header({ subItems, children, notifications: initialNotifications, // TODO: Fetch these from the internets
25
- link: Link, host, pathname, topCssVariable }: {
25
+ link: Link, host, pathname, cssVariable }: {
26
26
  subItems?: Array<SubHeaderItem>;
27
27
  children?: ReactNode;
28
28
  notifications?: Array<Notification>;
29
29
  link?: ElementType;
30
30
  host?: string;
31
31
  pathname?: string;
32
- topCssVariable?: boolean;
32
+ cssVariable?: boolean;
33
33
  }): import("react/jsx-runtime").JSX.Element;