highsoft-ui 1.0.117 → 1.0.119

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.
Files changed (92) hide show
  1. package/.cursorrules +845 -0
  2. package/CLAUDE.md +845 -0
  3. package/dist/Box-Bi-n_ZxQ.js +69 -0
  4. package/dist/Button-CJp__tle.js +63 -0
  5. package/dist/ButtonGroup-M9-A5Xva.js +53 -0
  6. package/dist/{Container-LAkF4ShX.js → Container-DI2smQRq.js} +1 -1
  7. package/dist/{CookiePolicyModal-B2mvebvV.js → CookiePolicyModal-BZkVbILl.js} +9 -43
  8. package/dist/CopyCode-BLXf0o74.js +40 -0
  9. package/dist/DiscordInvite-Mkr81Pib.js +92 -0
  10. package/dist/Footer-bUIou6Hl.js +83 -0
  11. package/dist/FooterBottom-_AezmdZB.js +133 -0
  12. package/dist/FooterHelp-CdeMRh1G.js +112 -0
  13. package/dist/FooterLinks-BUKcScC4.js +287 -0
  14. package/dist/{GPTInput-DRFGKJ2u.js → GPTInput-DKxJOGYt.js} +1 -1
  15. package/dist/{Header-BW8ilZxt.js → Header-6RIZc0v3.js} +90 -85
  16. package/dist/Heading-DuolDa27.js +19 -0
  17. package/dist/Icon-Dwo9ZDNX.js +31 -0
  18. package/dist/InputGrouped-CiA86XL7.js +221 -0
  19. package/dist/InputSolo-cLqKBh1c.js +122 -0
  20. package/dist/Label-BH3YxfNt.js +29 -0
  21. package/dist/Link-DGMiLJES.js +21 -0
  22. package/dist/{Logo-CZ5LYqub.js → Logo-h9bQL-cT.js} +1 -1
  23. package/dist/NewsletterSignup-eGx4jwiM.js +137 -0
  24. package/dist/{Notification-DHcQtd1k.js → Notification-CJ3iQv3Z.js} +6 -6
  25. package/dist/{PrefPanel-BTX6RAo4.js → PrefPanel-25erkPRB.js} +8 -8
  26. package/dist/{Search-DAPCZo13.js → Search-CDHkDXCm.js} +15 -15
  27. package/dist/Typography-nzBx3Yxn.js +49 -0
  28. package/dist/YoutubeModal-DNaiM6RL.js +89 -0
  29. package/dist/components/Box/index.js +2 -0
  30. package/dist/components/Button/index.js +1 -1
  31. package/dist/components/ButtonGroup/index.js +2 -0
  32. package/dist/components/Container/index.js +1 -1
  33. package/dist/components/CopyCode/index.js +2 -0
  34. package/dist/components/DiscordInvite/index.js +2 -0
  35. package/dist/components/Footer/CookiePolicyModal.js +1 -1
  36. package/dist/components/Footer/FooterBottom.js +2 -0
  37. package/dist/components/Footer/FooterHelp.js +2 -0
  38. package/dist/components/Footer/FooterLinks.js +2 -0
  39. package/dist/components/Footer/YoutubeModal.js +2 -0
  40. package/dist/components/Footer/index.js +1 -1
  41. package/dist/components/GPTInput/index.js +1 -1
  42. package/dist/components/Header/index.js +1 -1
  43. package/dist/components/Heading/index.js +2 -0
  44. package/dist/components/Icon/index.js +2 -0
  45. package/dist/components/InputGrouped/index.js +2 -0
  46. package/dist/components/InputSolo/index.js +2 -0
  47. package/dist/components/Label/index.js +2 -0
  48. package/dist/components/Link/index.js +2 -0
  49. package/dist/components/Logo/index.js +1 -1
  50. package/dist/components/NewsletterSignup/index.js +2 -0
  51. package/dist/components/Notification/index.js +1 -1
  52. package/dist/components/PrefPanel/index.js +1 -1
  53. package/dist/components/Search/index.js +1 -1
  54. package/dist/components/Typography/index.js +2 -0
  55. package/dist/{dist-CjrKJb_1.js → dist-GNbC83fc.js} +1 -1
  56. package/dist/{dist-0f0-S8_q.js → dist-fJmWSp8_.js} +1 -1
  57. package/dist/{esm-C1TDRARf.js → esm-T3Xn_ZHF.js} +208 -104
  58. package/dist/fa-ByhY-7YY.js +187 -0
  59. package/dist/highsoft-ui.css +1 -1
  60. package/dist/lib/components/Box/index.d.ts +28 -0
  61. package/dist/lib/components/Button/index.d.ts +9 -1
  62. package/dist/lib/components/ButtonGroup/index.d.ts +29 -0
  63. package/dist/lib/components/CopyCode/index.d.ts +12 -0
  64. package/dist/lib/components/DiscordInvite/index.d.ts +8 -0
  65. package/dist/lib/components/Footer/FooterBottom.d.ts +7 -0
  66. package/dist/lib/components/Footer/FooterHelp.d.ts +7 -0
  67. package/dist/lib/components/Footer/FooterLinks.d.ts +7 -0
  68. package/dist/lib/components/Footer/YoutubeModal.d.ts +1 -0
  69. package/dist/lib/components/Header/index.d.ts +14 -9
  70. package/dist/lib/components/Heading/index.d.ts +8 -0
  71. package/dist/lib/components/Icon/index.d.ts +26 -0
  72. package/dist/lib/components/InputGrouped/index.d.ts +60 -0
  73. package/dist/lib/components/InputSolo/index.d.ts +23 -0
  74. package/dist/lib/components/Label/index.d.ts +25 -0
  75. package/dist/lib/components/Link/index.d.ts +15 -0
  76. package/dist/lib/components/NewsletterSignup/index.d.ts +33 -0
  77. package/dist/lib/components/Typography/index.d.ts +13 -0
  78. package/dist/lib/main.d.ts +26 -3
  79. package/dist/lib/utils.d.ts +28 -0
  80. package/dist/main.js +23 -12
  81. package/dist/scss/mixins.scss +36 -0
  82. package/dist/scss/variables.scss +107 -0
  83. package/dist/{utils-C4QGLbxr.js → utils-BCI5dixg.js} +35 -15
  84. package/dist/utils.js +2 -2
  85. package/package.json +14 -6
  86. package/dist/Button-9RIB8ZR0.js +0 -47
  87. package/dist/Footer-5yMo5akY.js +0 -784
  88. package/dist/NewTag-C-3mRyvV.js +0 -26
  89. package/dist/components/NewTag/index.js +0 -2
  90. package/dist/lib/components/NewTag/index.d.ts +0 -8
  91. /package/dist/{clsx-ROFf4vs9.js → clsx-D7D_XZ_-.js} +0 -0
  92. /package/dist/{es2015-CzBBLWyD.js → es2015-C6iv4436.js} +0 -0
@@ -1,784 +0,0 @@
1
- import { i as e, n as t, s as n } from "./utils-C4QGLbxr.js";
2
- import { t as r } from "./clsx-ROFf4vs9.js";
3
- import { E as i, M as a, T as o, a as s, u as c, x as l } from "./esm-C1TDRARf.js";
4
- import { t as u } from "./Button-9RIB8ZR0.js";
5
- import { t as d } from "./Container-LAkF4ShX.js";
6
- import { t as f } from "./dist-CjrKJb_1.js";
7
- import { a as p, i as m, n as h, o as g, r as _, s as v } from "./dist-0f0-S8_q.js";
8
- import { t as y } from "./Logo-CZ5LYqub.js";
9
- import { t as b } from "./NewTag-C-3mRyvV.js";
10
- import x from "./components/icons/MadeInNorway.js";
11
- import { n as S, t as C } from "./CookiePolicyModal-B2mvebvV.js";
12
- import w, { useEffect as T, useRef as E, useState as D } from "react";
13
- import { Fragment as O, jsx as k, jsxs as A } from "react/jsx-runtime";
14
- //#region node_modules/react-icons/lib/iconContext.mjs
15
- var j = {
16
- color: void 0,
17
- size: void 0,
18
- className: void 0,
19
- style: void 0,
20
- attr: void 0
21
- }, M = w.createContext && /* @__PURE__ */ w.createContext(j), N = [
22
- "attr",
23
- "size",
24
- "title"
25
- ];
26
- function P(e, t) {
27
- if (e == null) return {};
28
- var n, r, i = F(e, t);
29
- if (Object.getOwnPropertySymbols) {
30
- var a = Object.getOwnPropertySymbols(e);
31
- for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
32
- }
33
- return i;
34
- }
35
- function F(e, t) {
36
- if (e == null) return {};
37
- var n = {};
38
- for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
39
- if (t.indexOf(r) !== -1) continue;
40
- n[r] = e[r];
41
- }
42
- return n;
43
- }
44
- function I() {
45
- return I = Object.assign ? Object.assign.bind() : function(e) {
46
- for (var t = 1; t < arguments.length; t++) {
47
- var n = arguments[t];
48
- for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
49
- }
50
- return e;
51
- }, I.apply(null, arguments);
52
- }
53
- function L(e, t) {
54
- var n = Object.keys(e);
55
- if (Object.getOwnPropertySymbols) {
56
- var r = Object.getOwnPropertySymbols(e);
57
- t && (r = r.filter(function(t) {
58
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
59
- })), n.push.apply(n, r);
60
- }
61
- return n;
62
- }
63
- function R(e) {
64
- for (var t = 1; t < arguments.length; t++) {
65
- var n = arguments[t] == null ? {} : arguments[t];
66
- t % 2 ? L(Object(n), !0).forEach(function(t) {
67
- z(e, t, n[t]);
68
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L(Object(n)).forEach(function(t) {
69
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
70
- });
71
- }
72
- return e;
73
- }
74
- function z(e, t, n) {
75
- return (t = B(t)) in e ? Object.defineProperty(e, t, {
76
- value: n,
77
- enumerable: !0,
78
- configurable: !0,
79
- writable: !0
80
- }) : e[t] = n, e;
81
- }
82
- function B(e) {
83
- var t = V(e, "string");
84
- return typeof t == "symbol" ? t : t + "";
85
- }
86
- function V(e, t) {
87
- if (typeof e != "object" || !e) return e;
88
- var n = e[Symbol.toPrimitive];
89
- if (n !== void 0) {
90
- var r = n.call(e, t || "default");
91
- if (typeof r != "object") return r;
92
- throw TypeError("@@toPrimitive must return a primitive value.");
93
- }
94
- return (t === "string" ? String : Number)(e);
95
- }
96
- function H(e) {
97
- return e && e.map((e, t) => /* @__PURE__ */ w.createElement(e.tag, R({ key: t }, e.attr), H(e.child)));
98
- }
99
- function U(e) {
100
- return (t) => /* @__PURE__ */ w.createElement(W, I({ attr: R({}, e.attr) }, t), H(e.child));
101
- }
102
- function W(e) {
103
- var t = (t) => {
104
- var { attr: n, size: r, title: i } = e, a = P(e, N), o = r || t.size || "1em", s;
105
- return t.className && (s = t.className), e.className && (s = (s ? s + " " : "") + e.className), /* @__PURE__ */ w.createElement("svg", I({
106
- stroke: "currentColor",
107
- fill: "currentColor",
108
- strokeWidth: "0"
109
- }, t.attr, n, a, {
110
- className: s,
111
- style: R(R({ color: e.color || t.color }, t.style), e.style),
112
- height: o,
113
- width: o,
114
- xmlns: "http://www.w3.org/2000/svg"
115
- }), i && /* @__PURE__ */ w.createElement("title", null, i), e.children);
116
- };
117
- return M === void 0 ? t(j) : /* @__PURE__ */ w.createElement(M.Consumer, null, (e) => t(e));
118
- }
119
- //#endregion
120
- //#region node_modules/react-icons/fa/index.mjs
121
- function G(e) {
122
- return U({
123
- tag: "svg",
124
- attr: { viewBox: "0 0 576 512" },
125
- child: [{
126
- tag: "path",
127
- attr: { d: "M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z" },
128
- child: []
129
- }]
130
- })(e);
131
- }
132
- function K(e) {
133
- return U({
134
- tag: "svg",
135
- attr: { viewBox: "0 0 384 512" },
136
- child: [{
137
- tag: "path",
138
- attr: { d: "M290.7 311L95 269.7 86.8 309l195.7 41zm51-87L188.2 95.7l-25.5 30.8 153.5 128.3zm-31.2 39.7L129.2 179l-16.7 36.5L293.7 300zM262 32l-32 24 119.3 160.3 32-24zm20.5 328h-200v39.7h200zm39.7 80H42.7V320h-40v160h359.5V320h-40z" },
139
- child: []
140
- }]
141
- })(e);
142
- }
143
- function q(e) {
144
- return U({
145
- tag: "svg",
146
- attr: { viewBox: "0 0 448 512" },
147
- child: [{
148
- tag: "path",
149
- attr: { d: "M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z" },
150
- child: []
151
- }]
152
- })(e);
153
- }
154
- function J(e) {
155
- return U({
156
- tag: "svg",
157
- attr: { viewBox: "0 0 448 512" },
158
- child: [{
159
- tag: "path",
160
- attr: { d: "M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z" },
161
- child: []
162
- }]
163
- })(e);
164
- }
165
- function Y(e) {
166
- return U({
167
- tag: "svg",
168
- attr: { viewBox: "0 0 496 512" },
169
- child: [{
170
- tag: "path",
171
- attr: { d: "M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z" },
172
- child: []
173
- }]
174
- })(e);
175
- }
176
- function X(e) {
177
- return U({
178
- tag: "svg",
179
- attr: { viewBox: "0 0 512 512" },
180
- child: [{
181
- tag: "path",
182
- attr: { d: "M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z" },
183
- child: []
184
- }]
185
- })(e);
186
- }
187
- function Z(e) {
188
- return U({
189
- tag: "svg",
190
- attr: { viewBox: "0 0 640 512" },
191
- child: [{
192
- tag: "path",
193
- attr: { d: "M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z" },
194
- child: []
195
- }]
196
- })(e);
197
- }
198
- //#endregion
199
- //#region node_modules/react-icons/fa6/index.mjs
200
- function Q(e) {
201
- return U({
202
- tag: "svg",
203
- attr: { viewBox: "0 0 512 512" },
204
- child: [{
205
- tag: "path",
206
- attr: { d: "M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z" },
207
- child: []
208
- }]
209
- })(e);
210
- }
211
- //#endregion
212
- //#region lib/components/Footer/index.tsx
213
- function $(e, t) {
214
- return t ? e.replace(t, "") : e;
215
- }
216
- var ee = [
217
- {
218
- icon: /* @__PURE__ */ k(s, {}),
219
- subtitle: "Ask tech and sales questions with",
220
- title: "Highcharts GPT",
221
- url: "https://www.highcharts.com/chat/gpt/"
222
- },
223
- {
224
- icon: /* @__PURE__ */ k(K, {}),
225
- subtitle: "Search answers on",
226
- title: "StackOverflow",
227
- url: "https://stackoverflow.com/questions/tagged/highcharts"
228
- },
229
- {
230
- icon: /* @__PURE__ */ k(Y, {}),
231
- subtitle: "Report issues on",
232
- title: "GitHub",
233
- url: "https://github.com/highcharts/highcharts/issues"
234
- },
235
- {
236
- icon: /* @__PURE__ */ k(c, {}),
237
- subtitle: "Contact sales about",
238
- title: "Licensing Options",
239
- url: "https://shop.highcharts.com/contact"
240
- }
241
- ], te = {
242
- Products: [
243
- {
244
- title: "Core",
245
- url: "https://www.highcharts.com/products/highcharts/"
246
- },
247
- {
248
- title: "Stock",
249
- url: "https://www.highcharts.com/products/stock/"
250
- },
251
- {
252
- title: "Maps",
253
- url: "https://www.highcharts.com/products/maps/"
254
- },
255
- {
256
- title: "Gantt",
257
- url: "https://www.highcharts.com/products/gantt/"
258
- },
259
- {
260
- title: "Dashboards",
261
- url: "https://www.highcharts.com/products/dashboards/"
262
- },
263
- {
264
- title: "Grid",
265
- url: "https://www.highcharts.com/products/grid/",
266
- tag: "New"
267
- }
268
- ],
269
- Integrations: [
270
- {
271
- title: "React",
272
- url: "https://www.highcharts.com/integrations/react/"
273
- },
274
- {
275
- title: "TypeScript",
276
- url: "https://www.highcharts.com/integrations/typescript/"
277
- },
278
- {
279
- title: "Angular",
280
- url: "https://www.highcharts.com/integrations/angular/"
281
- },
282
- {
283
- title: "Vue",
284
- url: "https://www.highcharts.com/integrations/vue/"
285
- },
286
- {
287
- title: "JavaScript",
288
- url: "https://www.highcharts.com/integrations/javascript/"
289
- },
290
- {
291
- title: "Flutter",
292
- url: "https://www.highcharts.com/integrations/flutter/",
293
- tag: "New"
294
- },
295
- {
296
- title: "Node.js",
297
- url: "https://www.highcharts.com/integrations/node/"
298
- },
299
- {
300
- title: "Python",
301
- url: "https://www.highcharts.com/integrations/python/"
302
- },
303
- {
304
- title: "Svelte",
305
- url: "https://www.highcharts.com/integrations/svelte/"
306
- }
307
- ],
308
- Documentation: [
309
- {
310
- title: "Demos",
311
- url: "https://www.highcharts.com/demo"
312
- },
313
- {
314
- title: "Docs",
315
- url: "https://www.highcharts.com/docs/index"
316
- },
317
- {
318
- title: "API Reference",
319
- url: "https://api.highcharts.com/highcharts/"
320
- },
321
- {
322
- title: "Roadmap",
323
- url: "https://www.highcharts.com/roadmap/"
324
- },
325
- {
326
- title: "Changelog",
327
- url: "https://www.highcharts.com/changelog/"
328
- }
329
- ],
330
- Support: [
331
- {
332
- title: "Ask Highcharts GPT",
333
- url: "https://www.highcharts.com/chat/gpt/"
334
- },
335
- {
336
- title: "Highcharts Forum",
337
- url: "https://www.highcharts.com/forum/"
338
- },
339
- {
340
- title: "Customer Support Portal",
341
- url: "https://www.highcharts.com/support/"
342
- },
343
- {
344
- title: "Highcharts for Python Support",
345
- url: "https://www.highchartspython.com/get-help"
346
- },
347
- {
348
- title: "FAQ",
349
- url: "https://shop.highcharts.com/faq"
350
- },
351
- {
352
- title: "Channel Partner",
353
- url: "https://shop.highcharts.com/channel-partners"
354
- }
355
- ],
356
- Learning: [
357
- {
358
- title: "Highcharts Academy",
359
- url: "https://www.highcharts.com/highcharts-academy/"
360
- },
361
- {
362
- title: "Chart Chooser",
363
- url: "https://www.highcharts.com/chartchooser/"
364
- },
365
- {
366
- title: "Educational License",
367
- url: "https://www.highcharts.com/education/"
368
- },
369
- {
370
- title: "Accessibility",
371
- url: "https://www.highcharts.com/accessibility/"
372
- },
373
- {
374
- title: "Inspiration",
375
- url: "https://www.highcharts.com/blog/inspirations/"
376
- }
377
- ],
378
- Community: [
379
- {
380
- title: "Highsoft Lab",
381
- url: "https://lab.highsoft.com/"
382
- },
383
- {
384
- title: "Discord",
385
- url: "https://www.highcharts.com/highcharts-discord/",
386
- tag: "New"
387
- },
388
- {
389
- title: "Blog",
390
- url: "https://www.highcharts.com/blog/home/"
391
- }
392
- ],
393
- About: [
394
- {
395
- title: "Our Story",
396
- url: "https://www.highcharts.com/about/"
397
- },
398
- {
399
- title: "Discover the Team",
400
- url: "https://www.highcharts.com/people/"
401
- },
402
- {
403
- title: "Join the Team",
404
- url: "https://highsoft.teamtailor.com/"
405
- },
406
- {
407
- title: "Contact Us",
408
- url: "https://www.highcharts.com/contact/"
409
- },
410
- {
411
- title: "Highsoft",
412
- url: "https://www.highsoft.com/"
413
- }
414
- ],
415
- "Data Connectors": [{
416
- title: "Morningstar Data",
417
- url: "https://www.highcharts.com/products/data-connector-for-morningstar/"
418
- }],
419
- "Pro Services": [{
420
- title: "Custom Projects",
421
- url: "https://www.highcharts.com/products/custom-projects/"
422
- }],
423
- "Support Plans": [{
424
- title: "Advantage",
425
- url: "https://www.highcharts.com/products/advantage/"
426
- }, {
427
- title: "Advantage Plus",
428
- url: "https://www.highcharts.com/products/advantage/"
429
- }],
430
- Tools: [
431
- {
432
- title: "Figma Plugin",
433
- url: "https://www.figma.com/community/plugin/1369795683946720598/highcharts-core"
434
- },
435
- {
436
- title: "Editor",
437
- url: "https://www.highcharts.com/products/highcharts-editor/"
438
- },
439
- {
440
- title: "Highcharts GPT",
441
- url: "https://www.highcharts.com/chat/gpt/"
442
- }
443
- ],
444
- Legal: [
445
- {
446
- title: "Privacy Policy",
447
- url: "https://www.highcharts.com/privacy/"
448
- },
449
- {
450
- title: "EULA & AUP",
451
- url: "https://shop.highcharts.com/license-eula"
452
- },
453
- {
454
- title: "Refund Policy",
455
- url: "https://www.highcharts.com/refund-policy-pdf"
456
- },
457
- {
458
- title: "Standard License Agreement",
459
- url: "https://shop.highcharts.com/license"
460
- },
461
- {
462
- title: "Code of Conduct",
463
- url: "https://www.highcharts.com/code-of-business-conduct-and-ethics"
464
- },
465
- {
466
- title: "Due Diligence Transparency Act",
467
- url: "https://www.highcharts.com/aktsomhetsvurdering"
468
- }
469
- ]
470
- }, ne = [
471
- {
472
- icon: /* @__PURE__ */ k(K, {}),
473
- url: "https://stackoverflow.com/questions/tagged/highcharts",
474
- label: "StackOverlow"
475
- },
476
- {
477
- icon: /* @__PURE__ */ k(Y, {}),
478
- url: "https://github.com/highcharts/highcharts",
479
- label: "GitHub"
480
- },
481
- {
482
- icon: /* @__PURE__ */ k(Q, {}),
483
- url: "https://twitter.com/Highcharts",
484
- label: "X"
485
- },
486
- {
487
- icon: /* @__PURE__ */ k(X, {}),
488
- url: "https://www.facebook.com/Highcharts",
489
- label: "Facebook"
490
- },
491
- {
492
- icon: /* @__PURE__ */ k(J, {}),
493
- url: "https://www.instagram.com/highsoftcompany/",
494
- label: "Instagram"
495
- },
496
- {
497
- icon: /* @__PURE__ */ k(q, {}),
498
- url: "https://www.linkedin.com/company/highsoft",
499
- label: "LinkedIn"
500
- },
501
- {
502
- icon: /* @__PURE__ */ k(Z, {}),
503
- url: "https://www.highcharts.com/highcharts-discord/",
504
- label: "Discord"
505
- },
506
- {
507
- icon: /* @__PURE__ */ k(G, {}),
508
- url: "https://www.youtube.com/channel/UCzxXofPTQ0DoT7uIy3Fxw7A",
509
- label: "Youtube"
510
- }
511
- ];
512
- function re() {
513
- let [e, n] = t(), r = "npm install highcharts";
514
- return /* @__PURE__ */ A(u, {
515
- variant: "neutral",
516
- onClick: () => e(r),
517
- children: [r, k(n ? i : o, {})]
518
- });
519
- }
520
- function ie({ link: t = "a", host: i = "https://www.highcharts.com" }) {
521
- let o = E(null), s = E(null), [c, w] = D(!1), [j, M] = D(!1), [N, P] = D(""), [F, I] = D(0), [L, R] = D(), z = e("(max-width: 849px)"), B = e("(min-width: 850px) and (max-width: 999px)");
522
- T(() => {
523
- if (s.current) {
524
- let e = async () => {
525
- try {
526
- return (await (await fetch("https://discord.com/api/v9/invites/xHxxcyyy6K?with_counts=true")).json())?.approximate_member_count || 0;
527
- } catch {
528
- return 0;
529
- }
530
- }, t = async () => {
531
- try {
532
- let e = await (await fetch("https://discord.com/api/guilds/1318933807059042305/widget.json")).json() || {};
533
- return e.members = e.members || [], e;
534
- } catch {}
535
- }, n = new IntersectionObserver(async (r) => {
536
- if (r[0].isIntersecting) {
537
- n.disconnect();
538
- let [r, i] = await Promise.all([e(), t()]);
539
- I(r), R(i);
540
- }
541
- }, { rootMargin: "100px" });
542
- return n.observe(s.current), () => n.disconnect();
543
- }
544
- }, [s.current]);
545
- let V = !!N && N !== "Something went wrong", H = (e) => {
546
- V ? n(e.target.value) && P("") : N && P("");
547
- }, U = async (e) => {
548
- e.preventDefault();
549
- let t = o.current;
550
- if (t) {
551
- if (!t.value.trim()) {
552
- t.value = "", t.focus();
553
- return;
554
- }
555
- if (V) {
556
- V && t.focus();
557
- return;
558
- }
559
- if (!n(t.value)) {
560
- P("Check the email format and try again"), t.focus();
561
- return;
562
- }
563
- P(""), w(!0);
564
- try {
565
- (await fetch("https://hc-dev-theme.highcharts.com/wp-json/activecampaign/v1/newsletter-signup", {
566
- method: "POST",
567
- headers: { "Content-Type": "application/json" },
568
- body: JSON.stringify({ email: t.value })
569
- })).ok ? M(!0) : P("Something went wrong");
570
- } catch {
571
- P("Something went wrong");
572
- } finally {
573
- w(!1);
574
- }
575
- }
576
- }, W = /* @__PURE__ */ A(O, { children: [/* @__PURE__ */ A("span", {
577
- className: S.copyright,
578
- children: [
579
- "© ",
580
- (/* @__PURE__ */ new Date()).getFullYear(),
581
- " Highsoft. All rights reserved."
582
- ]
583
- }), /* @__PURE__ */ A("div", {
584
- className: S.bottomLinks,
585
- children: [
586
- /* @__PURE__ */ k(t, {
587
- href: "https://www.highcharts.com/blog/article/accessibility-statement/",
588
- children: "Accessibility Statement"
589
- }),
590
- /* @__PURE__ */ k(t, {
591
- href: "https://www.highcharts.com/sitemap.xml",
592
- children: "Sitemap"
593
- }),
594
- /* @__PURE__ */ k("button", {
595
- onClick: () => window.CookieConsent?.renew(),
596
- children: "Cookie Preferences"
597
- }),
598
- /* @__PURE__ */ k(C, {})
599
- ]
600
- })] }), K = /* @__PURE__ */ k("ul", {
601
- className: S.socials,
602
- children: ne.map(({ icon: e, url: t, label: n }, r) => /* @__PURE__ */ k("li", { children: /* @__PURE__ */ k("a", {
603
- href: t,
604
- "aria-label": n,
605
- children: e
606
- }) }, r))
607
- });
608
- return /* @__PURE__ */ k("footer", {
609
- className: S.outer,
610
- children: /* @__PURE__ */ A(d, {
611
- className: S.footer,
612
- children: [
613
- /* @__PURE__ */ A("div", {
614
- className: S.top,
615
- children: [
616
- /* @__PURE__ */ A("div", {
617
- className: S.highcharts,
618
- children: [
619
- /* @__PURE__ */ k(t, {
620
- className: S.logo,
621
- href: $("https://www.highcharts.com/", i),
622
- children: /* @__PURE__ */ k(y, {})
623
- }),
624
- /* @__PURE__ */ k("p", { children: "We make it easy for developers to create charts and dashboards for web and mobile platforms." }),
625
- /* @__PURE__ */ k(re, {})
626
- ]
627
- }),
628
- /* @__PURE__ */ A(p, { children: [/* @__PURE__ */ k(v, {
629
- asChild: !0,
630
- children: /* @__PURE__ */ A("button", {
631
- className: S.youtube,
632
- children: [/* @__PURE__ */ k(G, {}), /* @__PURE__ */ k("p", { children: "Meet the team behind the charts" })]
633
- })
634
- }), /* @__PURE__ */ A(m, { children: [/* @__PURE__ */ k(_, { className: S.youtubeOverlay }), /* @__PURE__ */ A(h, {
635
- className: S.youtubeContent,
636
- "aria-describedby": void 0,
637
- children: [/* @__PURE__ */ k(f, {
638
- asChild: !0,
639
- children: /* @__PURE__ */ k(g, { children: "Video: Meet the team behind the charts" })
640
- }), /* @__PURE__ */ k("iframe", {
641
- width: "100%",
642
- height: "100%",
643
- src: "https://player.vimeo.com/video/955924808?autoplay=1",
644
- allow: "autoplay",
645
- allowFullScreen: !0
646
- })]
647
- })] })] }),
648
- /* @__PURE__ */ A("div", {
649
- className: S.notCharts,
650
- children: [/* @__PURE__ */ A("div", {
651
- className: r(S.newsletter, { [S.success]: j }),
652
- "data-theme": j && "light",
653
- children: [
654
- /* @__PURE__ */ A("h2", { children: [/* @__PURE__ */ k(a, {}), "Stay in the Loop"] }),
655
- j ? /* @__PURE__ */ A("div", {
656
- className: S.newsletterContent,
657
- children: [/* @__PURE__ */ k(l, {}), "Check your inbox and confirm your email to finish signing up."]
658
- }) : /* @__PURE__ */ A("form", {
659
- onSubmit: U,
660
- children: [
661
- /* @__PURE__ */ k("input", {
662
- className: r({ [S.error]: N }),
663
- placeholder: "Email address",
664
- "aria-invalid": V,
665
- onChange: H,
666
- ref: o
667
- }),
668
- /* @__PURE__ */ k(u, {
669
- type: "submit",
670
- variant: N ? "danger" : "brand",
671
- loading: c,
672
- children: "Sign up"
673
- }),
674
- N && /* @__PURE__ */ A("div", {
675
- className: S.newsletterError,
676
- children: [N, /* @__PURE__ */ k("svg", {
677
- xmlns: "http://www.w3.org/2000/svg",
678
- width: "13",
679
- height: "7",
680
- viewBox: "0 0 13 7",
681
- fill: "none",
682
- children: /* @__PURE__ */ k("path", {
683
- d: "M12.5 0H0L4.58809 4.97043C5.35857 5.80512 6.66869 5.83131 7.47191 5.02809L12.5 0Z",
684
- fill: "black"
685
- })
686
- })]
687
- })
688
- ]
689
- }),
690
- /* @__PURE__ */ A("p", { children: [
691
- "By signing up, you agree to the",
692
- " ",
693
- /* @__PURE__ */ k(t, {
694
- href: $("https://www.highcharts.com/privacy/", i),
695
- children: "Privacy Policy"
696
- })
697
- ] })
698
- ]
699
- }), /* @__PURE__ */ A("a", {
700
- className: S.discord,
701
- href: "https://discord.com/invite/xHxxcyyy6K",
702
- ref: s,
703
- children: [
704
- /* @__PURE__ */ A("h2", { children: [
705
- /* @__PURE__ */ k(Z, {}),
706
- "Discord ",
707
- /* @__PURE__ */ k("span", { children: "/ Total" })
708
- ] }),
709
- /* @__PURE__ */ A("p", {
710
- className: S.discordContent,
711
- children: [
712
- /* @__PURE__ */ k("span", {
713
- className: S.discordJoin,
714
- children: "Join us"
715
- }),
716
- " ",
717
- !!F && /* @__PURE__ */ A("span", {
718
- className: S.discordMembers,
719
- children: [F, " members"]
720
- })
721
- ]
722
- }),
723
- /* @__PURE__ */ A("ul", {
724
- className: S.discordAvatars,
725
- children: [L?.members.slice(0, 5).map(({ status: e, avatar_url: t }, n) => /* @__PURE__ */ A("li", { children: [/* @__PURE__ */ k("img", { src: t }), /* @__PURE__ */ k("span", { className: r(S.discordAvatarStatus, { [S.online]: e === "online" }) })] }, n)), /* @__PURE__ */ k("li", {
726
- className: S.discordPlus,
727
- children: "+"
728
- })]
729
- })
730
- ]
731
- })]
732
- })
733
- ]
734
- }),
735
- /* @__PURE__ */ A("div", {
736
- className: S.help,
737
- children: [/* @__PURE__ */ A("div", {
738
- className: S.helpWays,
739
- children: [/* @__PURE__ */ k("span", { children: "Ways to get help" }), /* @__PURE__ */ A("p", { children: [
740
- "We operate in CET",
741
- z ? " " : /* @__PURE__ */ k("br", {}),
742
- "Monday - Friday"
743
- ] })]
744
- }), ee.map(({ icon: e, subtitle: n, title: r, url: a }, o) => /* @__PURE__ */ A(t, {
745
- href: $(a, i),
746
- className: S.helpItem,
747
- children: [/* @__PURE__ */ k("div", {
748
- className: S.helpBall,
749
- children: e
750
- }), /* @__PURE__ */ A("div", {
751
- className: S.helpContent,
752
- children: [/* @__PURE__ */ k("span", { children: n }), /* @__PURE__ */ k("span", { children: r })]
753
- })]
754
- }, o))]
755
- }),
756
- /* @__PURE__ */ A("div", {
757
- className: S.links,
758
- children: [Object.entries(te).map(([e, n], a) => /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("h2", { children: e }), /* @__PURE__ */ k("ul", { children: n.map(({ title: e, url: n, tag: a }, o) => /* @__PURE__ */ k("li", { children: /* @__PURE__ */ A(t, {
759
- href: $(n, i),
760
- className: r({ [S.tagged]: a }),
761
- target: n.includes("highcharts.com") ? void 0 : "_blank",
762
- children: [a ? /* @__PURE__ */ k("span", { children: e }) : e, a && /* @__PURE__ */ k(b, {
763
- variant: "brand",
764
- icon: !1,
765
- border: !0
766
- })]
767
- }) }, o)) })] }, a)), /* @__PURE__ */ k("div", {
768
- className: S.norway,
769
- children: /* @__PURE__ */ k(x, {})
770
- })]
771
- }),
772
- /* @__PURE__ */ k("div", {
773
- className: S.bottom,
774
- children: B ? /* @__PURE__ */ A(O, { children: [/* @__PURE__ */ k("div", {
775
- className: S.tabletBottomLeft,
776
- children: W
777
- }), K] }) : /* @__PURE__ */ A(O, { children: [W, K] })
778
- })
779
- ]
780
- })
781
- });
782
- }
783
- //#endregion
784
- export { ie as t };