highsoft-ui 1.0.111 → 1.0.113

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 (68) hide show
  1. package/dist/Button-Bbc4vmW_.js +45 -0
  2. package/dist/Container-LAkF4ShX.js +11 -0
  3. package/dist/CookiePolicyModal-BH2uHybE.js +90 -0
  4. package/dist/Footer-DY0QJnxb.js +783 -0
  5. package/dist/GPTInput-DRFGKJ2u.js +66 -0
  6. package/dist/Header-DbSqXuvO.js +383 -0
  7. package/dist/Logo-CZ5LYqub.js +194 -0
  8. package/dist/NewTag-C-3mRyvV.js +26 -0
  9. package/dist/Notification-_vWBqFiA.js +96 -0
  10. package/dist/PrefPanel-DmiRZs1n.js +1548 -0
  11. package/dist/Search-D_fsZ-hm.js +4673 -0
  12. package/dist/clsx-ROFf4vs9.js +16 -0
  13. package/dist/components/Button/index.js +2 -81
  14. package/dist/components/Container/index.js +2 -11
  15. package/dist/components/Footer/CookiePolicyModal.js +2 -9
  16. package/dist/components/Footer/index.js +2 -833
  17. package/dist/components/GPTInput/index.js +2 -86
  18. package/dist/components/Header/index.js +2 -611
  19. package/dist/components/Logo/index.js +2 -255
  20. package/dist/components/NewTag/index.js +2 -54
  21. package/dist/components/Notification/index.js +2 -100
  22. package/dist/components/PrefPanel/index.js +2 -1945
  23. package/dist/components/Search/index.js +2 -9
  24. package/dist/components/ThemeLoader/index.js +6 -34
  25. package/dist/components/icons/Bubble.js +37 -52
  26. package/dist/components/icons/MadeInNorway.js +110 -145
  27. package/dist/components/icons/Plane.js +17 -23
  28. package/dist/dist-0f0-S8_q.js +211 -0
  29. package/dist/dist-CjrKJb_1.js +27 -0
  30. package/dist/es2015-CzBBLWyD.js +1140 -0
  31. package/dist/esm-C1TDRARf.js +479 -0
  32. package/dist/highsoft-ui.css +2 -1
  33. package/dist/main.js +12 -28
  34. package/dist/php-client.js +9 -9
  35. package/dist/php.js +10 -16
  36. package/dist/utils-C4QGLbxr.js +162 -0
  37. package/dist/utils.js +2 -11
  38. package/package.json +14 -8
  39. package/dist/Announcement03-obPaH4LK.js +0 -23
  40. package/dist/Check-Cm4roSEj.js +0 -23
  41. package/dist/CookiePolicyModal-C5FOuvB-.js +0 -82
  42. package/dist/XClose-CCu1vrNS.js +0 -23
  43. package/dist/clsx-OuTLNxxd.js +0 -16
  44. package/dist/extends-hS2Bh-Yp.js +0 -12
  45. package/dist/index-CUCGgBGk.js +0 -5654
  46. package/dist/index-CYz8LhDn.js +0 -1110
  47. package/dist/index-DThcOQDt.js +0 -234
  48. package/dist/index-hYJmp-0x.js +0 -30
  49. package/dist/utils-BKDJp1i0.js +0 -140
  50. /package/dist/{components → lib/components}/Button/index.d.ts +0 -0
  51. /package/dist/{components → lib/components}/Container/index.d.ts +0 -0
  52. /package/dist/{components → lib/components}/Footer/CookiePolicyModal.d.ts +0 -0
  53. /package/dist/{components → lib/components}/Footer/index.d.ts +0 -0
  54. /package/dist/{components → lib/components}/GPTInput/index.d.ts +0 -0
  55. /package/dist/{components → lib/components}/Header/index.d.ts +0 -0
  56. /package/dist/{components → lib/components}/Logo/index.d.ts +0 -0
  57. /package/dist/{components → lib/components}/NewTag/index.d.ts +0 -0
  58. /package/dist/{components → lib/components}/Notification/index.d.ts +0 -0
  59. /package/dist/{components → lib/components}/PrefPanel/index.d.ts +0 -0
  60. /package/dist/{components → lib/components}/Search/index.d.ts +0 -0
  61. /package/dist/{components → lib/components}/ThemeLoader/index.d.ts +0 -0
  62. /package/dist/{components → lib/components}/icons/Bubble.d.ts +0 -0
  63. /package/dist/{components → lib/components}/icons/MadeInNorway.d.ts +0 -0
  64. /package/dist/{components → lib/components}/icons/Plane.d.ts +0 -0
  65. /package/dist/{main.d.ts → lib/main.d.ts} +0 -0
  66. /package/dist/{php-client.d.ts → lib/php-client.d.ts} +0 -0
  67. /package/dist/{php.d.ts → lib/php.d.ts} +0 -0
  68. /package/dist/{utils.d.ts → lib/utils.d.ts} +0 -0
@@ -0,0 +1,783 @@
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-Bbc4vmW_.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-BH2uHybE.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/morningstar-data/"
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/highcharts-advantage/"
426
+ }, {
427
+ title: "Advantage Plus",
428
+ url: "https://www.highcharts.com/products/highcharts-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.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
+ variant: N ? "danger" : "brand",
670
+ loading: c,
671
+ children: "Sign up"
672
+ }),
673
+ N && /* @__PURE__ */ A("div", {
674
+ className: S.newsletterError,
675
+ children: [N, /* @__PURE__ */ k("svg", {
676
+ xmlns: "http://www.w3.org/2000/svg",
677
+ width: "13",
678
+ height: "7",
679
+ viewBox: "0 0 13 7",
680
+ fill: "none",
681
+ children: /* @__PURE__ */ k("path", {
682
+ d: "M12.5 0H0L4.58809 4.97043C5.35857 5.80512 6.66869 5.83131 7.47191 5.02809L12.5 0Z",
683
+ fill: "black"
684
+ })
685
+ })]
686
+ })
687
+ ]
688
+ }),
689
+ /* @__PURE__ */ A("p", { children: [
690
+ "By signing up, you agree to the",
691
+ " ",
692
+ /* @__PURE__ */ k(t, {
693
+ href: $("https://www.highcharts.com/privacy/", i),
694
+ children: "Privacy Policy"
695
+ })
696
+ ] })
697
+ ]
698
+ }), /* @__PURE__ */ A("a", {
699
+ className: S.discord,
700
+ href: "https://discord.com/invite/xHxxcyyy6K",
701
+ ref: s,
702
+ children: [
703
+ /* @__PURE__ */ A("h2", { children: [
704
+ /* @__PURE__ */ k(Z, {}),
705
+ "Discord ",
706
+ /* @__PURE__ */ k("span", { children: "/ Total" })
707
+ ] }),
708
+ /* @__PURE__ */ A("p", {
709
+ className: S.discordContent,
710
+ children: [
711
+ /* @__PURE__ */ k("span", {
712
+ className: S.discordJoin,
713
+ children: "Join us"
714
+ }),
715
+ " ",
716
+ !!F && /* @__PURE__ */ A("span", {
717
+ className: S.discordMembers,
718
+ children: [F, " members"]
719
+ })
720
+ ]
721
+ }),
722
+ /* @__PURE__ */ A("ul", {
723
+ className: S.discordAvatars,
724
+ 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", {
725
+ className: S.discordPlus,
726
+ children: "+"
727
+ })]
728
+ })
729
+ ]
730
+ })]
731
+ })
732
+ ]
733
+ }),
734
+ /* @__PURE__ */ A("div", {
735
+ className: S.help,
736
+ children: [/* @__PURE__ */ A("div", {
737
+ className: S.helpWays,
738
+ children: [/* @__PURE__ */ k("span", { children: "Ways to get help" }), /* @__PURE__ */ A("p", { children: [
739
+ "We operate in CET",
740
+ z ? " " : /* @__PURE__ */ k("br", {}),
741
+ "Monday - Friday"
742
+ ] })]
743
+ }), ee.map(({ icon: e, subtitle: n, title: r, url: a }, o) => /* @__PURE__ */ A(t, {
744
+ href: $(a, i),
745
+ className: S.helpItem,
746
+ children: [/* @__PURE__ */ k("div", {
747
+ className: S.helpBall,
748
+ children: e
749
+ }), /* @__PURE__ */ A("div", {
750
+ className: S.helpContent,
751
+ children: [/* @__PURE__ */ k("span", { children: n }), /* @__PURE__ */ k("span", { children: r })]
752
+ })]
753
+ }, o))]
754
+ }),
755
+ /* @__PURE__ */ A("div", {
756
+ className: S.links,
757
+ 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, {
758
+ href: $(n, i),
759
+ className: r({ [S.tagged]: a }),
760
+ target: n.includes("highcharts.com") ? void 0 : "_blank",
761
+ children: [a ? /* @__PURE__ */ k("span", { children: e }) : e, a && /* @__PURE__ */ k(b, {
762
+ variant: "brand",
763
+ icon: !1,
764
+ border: !0
765
+ })]
766
+ }) }, o)) })] }, a)), /* @__PURE__ */ k("div", {
767
+ className: S.norway,
768
+ children: /* @__PURE__ */ k(x, {})
769
+ })]
770
+ }),
771
+ /* @__PURE__ */ k("div", {
772
+ className: S.bottom,
773
+ children: B ? /* @__PURE__ */ A(O, { children: [/* @__PURE__ */ k("div", {
774
+ className: S.tabletBottomLeft,
775
+ children: W
776
+ }), K] }) : /* @__PURE__ */ A(O, { children: [W, K] })
777
+ })
778
+ ]
779
+ })
780
+ });
781
+ }
782
+ //#endregion
783
+ export { ie as t };