highsoft-ui 1.0.110 → 1.0.112

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 -828
  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 +4 -4
  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
@@ -1,828 +1,2 @@
1
- import { jsx as e, jsxs as s, Fragment as O } from "react/jsx-runtime";
2
- import g, { useRef as A, useState as y, useEffect as Y } from "react";
3
- import { A as $ } from "../../Announcement03-obPaH4LK.js";
4
- import { C as tt } from "../../Check-Cm4roSEj.js";
5
- import { _ as j } from "../../extends-hS2Bh-Yp.js";
6
- import { c as N } from "../../clsx-OuTLNxxd.js";
7
- import { Button as B } from "../Button/index.js";
8
- import { Container as et } from "../Container/index.js";
9
- import { Logo as rt } from "../Logo/index.js";
10
- import { NewTag as it } from "../NewTag/index.js";
11
- import ct from "../icons/MadeInNorway.js";
12
- import { s as c, C as st } from "../../CookiePolicyModal-C5FOuvB-.js";
13
- import { a as D, d as at, v as H } from "../../utils-BKDJp1i0.js";
14
- import { R as ot, T as nt, P as ht, O as lt, C as ut, a as dt } from "../../index-DThcOQDt.js";
15
- import { R as mt } from "../../index-hYJmp-0x.js";
16
- var wt = function(r) {
17
- return /* @__PURE__ */ e("svg", j({
18
- xmlns: "http://www.w3.org/2000/svg",
19
- width: 24,
20
- height: 24,
21
- fill: "none",
22
- viewBox: "0 0 24 24"
23
- }, r, {
24
- children: /* @__PURE__ */ e("path", {
25
- stroke: "currentColor",
26
- strokeLinecap: "round",
27
- strokeLinejoin: "round",
28
- strokeWidth: 2,
29
- d: "M5 15c-.9319 0-1.3978 0-1.7654-.1522a2 2 0 0 1-1.0824-1.0824C2 13.3978 2 12.9319 2 12V5.2c0-1.1201 0-1.6802.218-2.108a2 2 0 0 1 .874-.874C3.5198 2 4.08 2 5.2 2H12c.9319 0 1.3978 0 1.7654.1522.49.203.8794.5924 1.0824 1.0824C15 3.6022 15 4.0681 15 5m-2.8 17h6.6c1.1201 0 1.6802 0 2.108-.218a2 2 0 0 0 .874-.874C22 20.4802 22 19.9201 22 18.8v-6.6c0-1.1201 0-1.6802-.218-2.108a2 2 0 0 0-.874-.874C20.4802 9 19.9201 9 18.8 9h-6.6c-1.1201 0-1.6802 0-2.108.218a2 2 0 0 0-.874.874C9 10.5198 9 11.0799 9 12.2v6.6c0 1.1201 0 1.6802.218 2.108.1917.3763.4977.6823.874.874.4278.218.9879.218 2.108.218"
30
- })
31
- }));
32
- }, pt = function(r) {
33
- return /* @__PURE__ */ e("svg", j({
34
- xmlns: "http://www.w3.org/2000/svg",
35
- width: 24,
36
- height: 24,
37
- fill: "none",
38
- viewBox: "0 0 24 24"
39
- }, r, {
40
- children: /* @__PURE__ */ e("path", {
41
- stroke: "currentColor",
42
- strokeLinecap: "round",
43
- strokeLinejoin: "round",
44
- strokeWidth: 2,
45
- d: "M2.5 12h3.382A1.809 1.809 0 0 1 7.5 13c.3064.6129.9328 1 1.618 1h5.764a1.809 1.809 0 0 0 1.618-1c.3064-.6129.9328-1 1.618-1H21.5M8.9666 4h6.0668c1.0769 0 1.6153 0 2.0907.164.4204.145.8033.3816 1.121.6928.3592.3518.6.8334 1.0816 1.7966l2.1665 4.3331c.189.378.2835.567.3502.765.0592.176.1019.357.1276.5408.029.2069.029.4182.029.8408V15.2c0 1.6802 0 2.5202-.327 3.162a3 3 0 0 1-1.311 1.311C19.7202 20 18.8802 20 17.2 20H6.8c-1.6802 0-2.5202 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 17.7202 2 16.8802 2 15.2v-2.0669c0-.4226 0-.6339.029-.8408a3 3 0 0 1 .1276-.5408c.0667-.198.1612-.387.3501-.765l2.1666-4.3331c.4816-.9632.7224-1.4448 1.0816-1.7967a3 3 0 0 1 1.121-.6927C7.3513 4 7.8897 4 8.9666 4"
46
- })
47
- }));
48
- }, gt = function(r) {
49
- return /* @__PURE__ */ e("svg", j({
50
- xmlns: "http://www.w3.org/2000/svg",
51
- width: 24,
52
- height: 24,
53
- fill: "none",
54
- viewBox: "0 0 24 24"
55
- }, r, {
56
- children: /* @__PURE__ */ e("path", {
57
- stroke: "currentColor",
58
- strokeLinecap: "round",
59
- strokeLinejoin: "round",
60
- strokeWidth: 2,
61
- d: "m10.4995 13.5001 10.5-10.5M10.6271 13.828l2.6281 6.758c.2315.5954.3473.893.5141.9799a.5.5 0 0 0 .4615.0003c.1669-.0867.2831-.3842.5153-.9793l6.5903-16.8877c.2097-.5372.3145-.8058.2571-.9775a.5.5 0 0 0-.3158-.3158c-.1716-.0573-.4402.0475-.9774.2571L3.4126 9.2536c-.5951.2322-.8926.3483-.9793.5152a.5.5 0 0 0 .0002.4616c.087.1668.3846.2825.98.5141l6.758 2.6281c.1208.047.1812.0705.2321.1068a.5.5 0 0 1 .1167.1167c.0363.0508.0598.1113.1068.2321"
62
- })
63
- }));
64
- }, ft = function(r) {
65
- return /* @__PURE__ */ e("svg", j({
66
- xmlns: "http://www.w3.org/2000/svg",
67
- width: 24,
68
- height: 24,
69
- fill: "none",
70
- viewBox: "0 0 24 24"
71
- }, r, {
72
- children: /* @__PURE__ */ e("path", {
73
- stroke: "currentColor",
74
- strokeLinecap: "round",
75
- strokeLinejoin: "round",
76
- strokeWidth: 2,
77
- d: "m6.5 13 .7845 1.5689c.2654.531.3982.7965.5755 1.0265a3 3 0 0 0 .5446.5446c.23.1773.4955.3101 1.0265.5755L11 17.5l-1.569.7845c-.5309.2654-.7964.3982-1.0264.5755a3 3 0 0 0-.5446.5446c-.1773.23-.31.4955-.5755 1.0265L6.5 22l-.7845-1.5689c-.2654-.531-.3982-.7965-.5755-1.0265a3 3 0 0 0-.5446-.5446c-.23-.1773-.4955-.3101-1.0265-.5755L2 17.5l1.569-.7845c.5309-.2654.7964-.3982 1.0264-.5755a3 3 0 0 0 .5446-.5446c.1773-.23.31-.4955.5755-1.0265zM15 2l1.1786 3.0644c.282.7333.423 1.0999.6423 1.4082.1944.2733.4331.5122.7065.7065.3083.2193.675.3603 1.4082.6423L22 9l-3.0644 1.1786c-.7332.282-1.0999.423-1.4082.6423a3 3 0 0 0-.7065.7065c-.2193.3083-.3603.675-.6423 1.4082L15 16l-1.1786-3.0644c-.282-.7332-.423-1.0999-.6423-1.4082a3 3 0 0 0-.7065-.7065c-.3083-.2193-.675-.3603-1.4082-.6423L8 9l3.0644-1.1786c.7332-.282 1.0999-.423 1.4082-.6423a3 3 0 0 0 .7065-.7065c.2193-.3083.3603-.675.6423-1.4082z"
78
- })
79
- }));
80
- }, F = {
81
- color: void 0,
82
- size: void 0,
83
- className: void 0,
84
- style: void 0,
85
- attr: void 0
86
- }, E = g.createContext && /* @__PURE__ */ g.createContext(F), vt = ["attr", "size", "title"];
87
- function bt(t, r) {
88
- if (t == null) return {};
89
- var i, a, m = yt(t, r);
90
- if (Object.getOwnPropertySymbols) {
91
- var w = Object.getOwnPropertySymbols(t);
92
- for (a = 0; a < w.length; a++) i = w[a], r.indexOf(i) === -1 && {}.propertyIsEnumerable.call(t, i) && (m[i] = t[i]);
93
- }
94
- return m;
95
- }
96
- function yt(t, r) {
97
- if (t == null) return {};
98
- var i = {};
99
- for (var a in t) if ({}.hasOwnProperty.call(t, a)) {
100
- if (r.indexOf(a) !== -1) continue;
101
- i[a] = t[a];
102
- }
103
- return i;
104
- }
105
- function S() {
106
- return S = Object.assign ? Object.assign.bind() : function(t) {
107
- for (var r = 1; r < arguments.length; r++) {
108
- var i = arguments[r];
109
- for (var a in i) ({}).hasOwnProperty.call(i, a) && (t[a] = i[a]);
110
- }
111
- return t;
112
- }, S.apply(null, arguments);
113
- }
114
- function T(t, r) {
115
- var i = Object.keys(t);
116
- if (Object.getOwnPropertySymbols) {
117
- var a = Object.getOwnPropertySymbols(t);
118
- r && (a = a.filter(function(m) {
119
- return Object.getOwnPropertyDescriptor(t, m).enumerable;
120
- })), i.push.apply(i, a);
121
- }
122
- return i;
123
- }
124
- function k(t) {
125
- for (var r = 1; r < arguments.length; r++) {
126
- var i = arguments[r] != null ? arguments[r] : {};
127
- r % 2 ? T(Object(i), !0).forEach(function(a) {
128
- Ct(t, a, i[a]);
129
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : T(Object(i)).forEach(function(a) {
130
- Object.defineProperty(t, a, Object.getOwnPropertyDescriptor(i, a));
131
- });
132
- }
133
- return t;
134
- }
135
- function Ct(t, r, i) {
136
- return (r = xt(r)) in t ? Object.defineProperty(t, r, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[r] = i, t;
137
- }
138
- function xt(t) {
139
- var r = Nt(t, "string");
140
- return typeof r == "symbol" ? r : r + "";
141
- }
142
- function Nt(t, r) {
143
- if (typeof t != "object" || !t) return t;
144
- var i = t[Symbol.toPrimitive];
145
- if (i !== void 0) {
146
- var a = i.call(t, r);
147
- if (typeof a != "object") return a;
148
- throw new TypeError("@@toPrimitive must return a primitive value.");
149
- }
150
- return (r === "string" ? String : Number)(t);
151
- }
152
- function I(t) {
153
- return t && t.map((r, i) => /* @__PURE__ */ g.createElement(r.tag, k({
154
- key: i
155
- }, r.attr), I(r.child)));
156
- }
157
- function p(t) {
158
- return (r) => /* @__PURE__ */ g.createElement(Pt, S({
159
- attr: k({}, t.attr)
160
- }, r), I(t.child));
161
- }
162
- function Pt(t) {
163
- var r = (i) => {
164
- var {
165
- attr: a,
166
- size: m,
167
- title: w
168
- } = t, v = bt(t, vt), C = m || i.size || "1em", n;
169
- return i.className && (n = i.className), t.className && (n = (n ? n + " " : "") + t.className), /* @__PURE__ */ g.createElement("svg", S({
170
- stroke: "currentColor",
171
- fill: "currentColor",
172
- strokeWidth: "0"
173
- }, i.attr, a, v, {
174
- className: n,
175
- style: k(k({
176
- color: t.color || i.color
177
- }, i.style), t.style),
178
- height: C,
179
- width: C,
180
- xmlns: "http://www.w3.org/2000/svg"
181
- }), w && /* @__PURE__ */ g.createElement("title", null, w), t.children);
182
- };
183
- return E !== void 0 ? /* @__PURE__ */ g.createElement(E.Consumer, null, (i) => r(i)) : r(F);
184
- }
185
- function V(t) {
186
- return p({ attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", 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" }, child: [] }] })(t);
187
- }
188
- function _(t) {
189
- return p({ attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", 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" }, child: [] }] })(t);
190
- }
191
- function St(t) {
192
- return p({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", 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" }, child: [] }] })(t);
193
- }
194
- function kt(t) {
195
- return p({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", 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" }, child: [] }] })(t);
196
- }
197
- function W(t) {
198
- return p({ attr: { viewBox: "0 0 496 512" }, child: [{ tag: "path", 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" }, child: [] }] })(t);
199
- }
200
- function jt(t) {
201
- return p({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", 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" }, child: [] }] })(t);
202
- }
203
- function R(t) {
204
- return p({ attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", 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" }, child: [] }] })(t);
205
- }
206
- function Ot(t) {
207
- return p({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", 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" }, child: [] }] })(t);
208
- }
209
- function P(t, r) {
210
- return r ? t.replace(r, "") : t;
211
- }
212
- const Lt = [
213
- {
214
- icon: /* @__PURE__ */ e(ft, {}),
215
- subtitle: "Ask tech and sales questions with",
216
- title: "Highcharts GPT",
217
- url: "https://www.highcharts.com/chat/gpt/"
218
- },
219
- {
220
- icon: /* @__PURE__ */ e(_, {}),
221
- subtitle: "Search answers on",
222
- title: "StackOverflow",
223
- url: "https://stackoverflow.com/questions/tagged/highcharts"
224
- },
225
- {
226
- icon: /* @__PURE__ */ e(W, {}),
227
- subtitle: "Report issues on",
228
- title: "GitHub",
229
- url: "https://github.com/highcharts/highcharts/issues"
230
- },
231
- {
232
- icon: /* @__PURE__ */ e(gt, {}),
233
- subtitle: "Contact sales about",
234
- title: "Licensing Options",
235
- url: "https://shop.highcharts.com/contact"
236
- }
237
- ], zt = {
238
- Products: [
239
- {
240
- title: "Core",
241
- url: "https://www.highcharts.com/products/highcharts/"
242
- },
243
- {
244
- title: "Stock",
245
- url: "https://www.highcharts.com/products/stock/"
246
- },
247
- {
248
- title: "Maps",
249
- url: "https://www.highcharts.com/products/maps/"
250
- },
251
- {
252
- title: "Gantt",
253
- url: "https://www.highcharts.com/products/gantt/"
254
- },
255
- {
256
- title: "Dashboards",
257
- url: "https://www.highcharts.com/products/dashboards/"
258
- },
259
- {
260
- title: "Grid",
261
- url: "https://www.highcharts.com/products/grid/",
262
- tag: "New"
263
- }
264
- ],
265
- Integrations: [
266
- {
267
- title: "React",
268
- url: "https://www.highcharts.com/integrations/react/"
269
- },
270
- {
271
- title: "TypeScript",
272
- url: "https://www.highcharts.com/integrations/typescript/"
273
- },
274
- {
275
- title: "Angular",
276
- url: "https://www.highcharts.com/integrations/angular/"
277
- },
278
- {
279
- title: "Vue",
280
- url: "https://www.highcharts.com/integrations/vue/"
281
- },
282
- {
283
- title: "JavaScript",
284
- url: "https://www.highcharts.com/integrations/javascript/"
285
- },
286
- {
287
- title: "Flutter",
288
- url: "https://www.highcharts.com/integrations/flutter/",
289
- tag: "New"
290
- },
291
- {
292
- title: "Node.js",
293
- url: "https://www.highcharts.com/integrations/node/"
294
- },
295
- {
296
- title: "Python",
297
- url: "https://www.highcharts.com/integrations/python/"
298
- },
299
- {
300
- title: "Svelte",
301
- url: "https://www.highcharts.com/integrations/svelte/"
302
- }
303
- ],
304
- Documentation: [
305
- {
306
- title: "Demos",
307
- url: "https://www.highcharts.com/demo"
308
- },
309
- {
310
- title: "Docs",
311
- url: "https://www.highcharts.com/docs/index"
312
- },
313
- {
314
- title: "API Reference",
315
- url: "https://api.highcharts.com/highcharts/"
316
- },
317
- {
318
- title: "Roadmap",
319
- url: "https://www.highcharts.com/roadmap/"
320
- },
321
- {
322
- title: "Changelog",
323
- url: "https://www.highcharts.com/changelog/"
324
- }
325
- ],
326
- Support: [
327
- {
328
- title: "Ask Highcharts GPT",
329
- url: "https://www.highcharts.com/chat/gpt/"
330
- },
331
- {
332
- title: "Highcharts Forum",
333
- url: "https://www.highcharts.com/forum/"
334
- },
335
- {
336
- title: "Customer Support Portal",
337
- url: "https://www.highcharts.com/support/"
338
- },
339
- {
340
- title: "Highcharts for Python Support",
341
- url: "https://www.highchartspython.com/get-help"
342
- },
343
- {
344
- title: "FAQ",
345
- url: "https://shop.highcharts.com/faq"
346
- },
347
- {
348
- title: "Channel Partner",
349
- url: "https://shop.highcharts.com/channel-partners"
350
- }
351
- ],
352
- Learning: [
353
- {
354
- title: "Highcharts Academy",
355
- url: "https://www.highcharts.com/highcharts-academy/"
356
- },
357
- {
358
- title: "Chart Chooser",
359
- url: "https://www.highcharts.com/chartchooser/"
360
- },
361
- {
362
- title: "Educational License",
363
- url: "https://www.highcharts.com/education/"
364
- },
365
- {
366
- title: "Accessibility",
367
- url: "https://www.highcharts.com/accessibility/"
368
- },
369
- {
370
- title: "Inspiration",
371
- url: "https://www.highcharts.com/blog/inspirations/"
372
- }
373
- ],
374
- Community: [
375
- {
376
- title: "Highsoft Lab",
377
- url: "https://lab.highsoft.com/"
378
- },
379
- {
380
- title: "Discord",
381
- url: "https://www.highcharts.com/highcharts-discord/",
382
- tag: "New"
383
- },
384
- {
385
- title: "Blog",
386
- url: "https://www.highcharts.com/blog/home/"
387
- }
388
- ],
389
- About: [
390
- {
391
- title: "Our Story",
392
- url: "https://www.highcharts.com/about/"
393
- },
394
- {
395
- title: "Discover the Team",
396
- url: "https://www.highcharts.com/people/"
397
- },
398
- {
399
- title: "Join the Team",
400
- url: "https://highsoft.teamtailor.com/"
401
- },
402
- {
403
- title: "Contact Us",
404
- url: "https://www.highcharts.com/contact/"
405
- }
406
- ],
407
- /*Solutions: [
408
- {
409
- title: 'Finance',
410
- url: '#'
411
- },
412
- {
413
- title: 'Software',
414
- url: '#'
415
- },
416
- {
417
- title: 'Healthcare',
418
- url: '#'
419
- }
420
- ],*/
421
- "Data Connectors": [
422
- {
423
- title: "Morningstar Data",
424
- url: "https://www.highcharts.com/products/morningstar-data/"
425
- }
426
- ],
427
- "Pro Services": [
428
- {
429
- title: "Custom Projects",
430
- url: "https://www.highcharts.com/products/custom-projects/"
431
- }
432
- ],
433
- "Support Plans": [
434
- {
435
- title: "Advantage",
436
- url: "https://www.highcharts.com/products/highcharts-advantage/"
437
- },
438
- {
439
- title: "Advantage Plus",
440
- url: "https://www.highcharts.com/products/highcharts-advantage/"
441
- }
442
- ],
443
- Tools: [
444
- {
445
- title: "Figma Plugin",
446
- url: "https://www.figma.com/community/plugin/1369795683946720598/highcharts-core"
447
- },
448
- {
449
- title: "Editor",
450
- url: "https://www.highcharts.com/products/highcharts-editor/"
451
- },
452
- {
453
- title: "Highcharts GPT",
454
- url: "https://www.highcharts.com/chat/gpt/"
455
- }
456
- ],
457
- Legal: [
458
- {
459
- title: "Privacy Policy",
460
- url: "https://www.highcharts.com/privacy/"
461
- },
462
- {
463
- title: "EULA & AUP",
464
- url: "https://shop.highcharts.com/license-eula"
465
- },
466
- {
467
- title: "Refund Policy",
468
- url: "https://www.highcharts.com/refund-policy-pdf"
469
- },
470
- {
471
- title: "Standard License Agreement",
472
- url: "https://shop.highcharts.com/license"
473
- },
474
- {
475
- title: "Code of Conduct",
476
- url: "https://www.highcharts.com/code-of-business-conduct-and-ethics"
477
- },
478
- {
479
- title: "Due Diligence Transparency Act",
480
- url: "https://www.highcharts.com/aktsomhetsvurdering"
481
- }
482
- ]
483
- }, Mt = [
484
- {
485
- icon: /* @__PURE__ */ e(_, {}),
486
- url: "https://stackoverflow.com/questions/tagged/highcharts",
487
- label: "StackOverlow"
488
- },
489
- {
490
- icon: /* @__PURE__ */ e(W, {}),
491
- url: "https://github.com/highcharts/highcharts",
492
- label: "GitHub"
493
- },
494
- {
495
- icon: /* @__PURE__ */ e(Ot, {}),
496
- url: "https://twitter.com/Highcharts",
497
- label: "X"
498
- },
499
- {
500
- icon: /* @__PURE__ */ e(jt, {}),
501
- url: "https://www.facebook.com/Highcharts",
502
- label: "Facebook"
503
- },
504
- {
505
- icon: /* @__PURE__ */ e(kt, {}),
506
- url: "https://www.instagram.com/highsoftcompany/",
507
- label: "Instagram"
508
- },
509
- {
510
- icon: /* @__PURE__ */ e(St, {}),
511
- url: "https://www.linkedin.com/company/highsoft",
512
- label: "LinkedIn"
513
- },
514
- {
515
- icon: /* @__PURE__ */ e(R, {}),
516
- url: "https://www.highcharts.com/highcharts-discord/",
517
- label: "Discord"
518
- },
519
- {
520
- icon: /* @__PURE__ */ e(V, {}),
521
- url: "https://www.youtube.com/channel/UCzxXofPTQ0DoT7uIy3Fxw7A",
522
- label: "Youtube"
523
- }
524
- ];
525
- function At() {
526
- const [t, r] = at(), i = "npm install highcharts";
527
- return /* @__PURE__ */ s(B, { variant: "neutral", onClick: () => t(i), children: [
528
- i,
529
- r ? /* @__PURE__ */ e(tt, {}) : /* @__PURE__ */ e(wt, {})
530
- ] });
531
- }
532
- function Kt({
533
- link: t = "a",
534
- host: r = "https://www.highcharts.com"
535
- }) {
536
- const i = A(null), a = A(null), [m, w] = y(!1), [v, C] = y(!1), [n, f] = y(""), [L, G] = y(0), [J, U] = y(), q = D("(max-width: 849px)"), K = D("(min-width: 850px) and (max-width: 999px)");
537
- Y(() => {
538
- if (a.current) {
539
- const h = async () => {
540
- try {
541
- return (await (await fetch(
542
- "https://discord.com/api/v9/invites/xHxxcyyy6K?with_counts=true"
543
- )).json())?.approximate_member_count || 0;
544
- } catch {
545
- return 0;
546
- }
547
- }, o = async () => {
548
- try {
549
- const d = await (await fetch(
550
- "https://discord.com/api/guilds/1318933807059042305/widget.json"
551
- )).json() || {};
552
- return d.members = d.members || [], d;
553
- } catch {
554
- }
555
- }, l = new IntersectionObserver(
556
- async (u) => {
557
- if (u[0].isIntersecting) {
558
- l.disconnect();
559
- const [d, b] = await Promise.all([
560
- h(),
561
- o()
562
- ]);
563
- G(d), U(b);
564
- }
565
- },
566
- { rootMargin: "100px" }
567
- );
568
- return l.observe(a.current), () => l.disconnect();
569
- }
570
- }, [a.current]);
571
- const x = !!n && n !== "Something went wrong", Z = (h) => {
572
- x ? H(h.target.value) && f("") : n && f("");
573
- }, Q = async (h) => {
574
- h.preventDefault();
575
- const o = i.current;
576
- if (o) {
577
- if (!o.value.trim()) {
578
- o.value = "", o.focus();
579
- return;
580
- }
581
- if (x) {
582
- x && o.focus();
583
- return;
584
- }
585
- if (!H(o.value)) {
586
- f("Check the email format and try again"), o.focus();
587
- return;
588
- }
589
- f(""), w(!0);
590
- try {
591
- (await fetch(
592
- "https://hc-dev.highcharts.com/wp-json/activecampaign/v1/newsletter-signup",
593
- {
594
- method: "POST",
595
- headers: {
596
- "Content-Type": "application/json"
597
- },
598
- body: JSON.stringify({ email: o.value })
599
- }
600
- )).ok ? C(!0) : f("Something went wrong");
601
- } catch {
602
- f("Something went wrong");
603
- } finally {
604
- w(!1);
605
- }
606
- }
607
- }, z = /* @__PURE__ */ s(O, { children: [
608
- /* @__PURE__ */ s("span", { className: c.copyright, children: [
609
- "© ",
610
- (/* @__PURE__ */ new Date()).getFullYear(),
611
- " Highsoft. All rights reserved."
612
- ] }),
613
- /* @__PURE__ */ s("div", { className: c.bottomLinks, children: [
614
- /* @__PURE__ */ e(t, { href: "https://www.highcharts.com/blog/article/accessibility-statement/", children: "Accessibility Statement" }),
615
- /* @__PURE__ */ e(t, { href: "https://www.highcharts.com/sitemap.xml", children: "Sitemap" }),
616
- /* @__PURE__ */ e("button", { onClick: () => window.CookieConsent?.renew(), children: "Cookie Preferences" }),
617
- /* @__PURE__ */ e(st, {})
618
- ] })
619
- ] }), M = /* @__PURE__ */ e("ul", { className: c.socials, children: Mt.map(({ icon: h, url: o, label: l }, u) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e("a", { href: o, "aria-label": l, children: h }) }, u)) });
620
- return /* @__PURE__ */ e("footer", { className: c.outer, children: /* @__PURE__ */ s(et, { className: c.footer, children: [
621
- /* @__PURE__ */ s("div", { className: c.top, children: [
622
- /* @__PURE__ */ s("div", { className: c.highcharts, children: [
623
- /* @__PURE__ */ e(
624
- t,
625
- {
626
- className: c.logo,
627
- href: P("https://www.highcharts.com/", r),
628
- children: /* @__PURE__ */ e(rt, {})
629
- }
630
- ),
631
- /* @__PURE__ */ e("p", { children: "We make it easy for developers to create charts and dashboards for web and mobile platforms." }),
632
- /* @__PURE__ */ e(At, {})
633
- ] }),
634
- /* @__PURE__ */ s(ot, { children: [
635
- /* @__PURE__ */ e(nt, { asChild: !0, children: /* @__PURE__ */ s("button", { className: c.youtube, children: [
636
- /* @__PURE__ */ e(V, {}),
637
- /* @__PURE__ */ e("p", { children: "Meet the team behind the charts" })
638
- ] }) }),
639
- /* @__PURE__ */ s(ht, { children: [
640
- /* @__PURE__ */ e(lt, { className: c.youtubeOverlay }),
641
- /* @__PURE__ */ s(
642
- ut,
643
- {
644
- className: c.youtubeContent,
645
- "aria-describedby": void 0,
646
- children: [
647
- /* @__PURE__ */ e(mt, { asChild: !0, children: /* @__PURE__ */ e(dt, { children: "Video: Meet the team behind the charts" }) }),
648
- /* @__PURE__ */ e(
649
- "iframe",
650
- {
651
- width: "100%",
652
- height: "100%",
653
- src: "https://player.vimeo.com/video/955924808?autoplay=1",
654
- allow: "autoplay",
655
- allowFullScreen: !0
656
- }
657
- )
658
- ]
659
- }
660
- )
661
- ] })
662
- ] }),
663
- /* @__PURE__ */ s("div", { className: c.notCharts, children: [
664
- /* @__PURE__ */ s(
665
- "div",
666
- {
667
- className: N(c.newsletter, {
668
- [c.success]: v
669
- }),
670
- "data-theme": v && "light",
671
- children: [
672
- /* @__PURE__ */ s("h2", { children: [
673
- /* @__PURE__ */ e($, {}),
674
- "Stay in the Loop"
675
- ] }),
676
- v ? /* @__PURE__ */ s("div", { className: c.newsletterContent, children: [
677
- /* @__PURE__ */ e(pt, {}),
678
- "Check your inbox and confirm your email to finish signing up."
679
- ] }) : /* @__PURE__ */ s("form", { onSubmit: Q, children: [
680
- /* @__PURE__ */ e(
681
- "input",
682
- {
683
- className: N({ [c.error]: n }),
684
- placeholder: "Email address",
685
- "aria-invalid": x,
686
- onChange: Z,
687
- ref: i
688
- }
689
- ),
690
- /* @__PURE__ */ e(
691
- B,
692
- {
693
- variant: n ? "danger" : "brand",
694
- loading: m,
695
- children: "Sign up"
696
- }
697
- ),
698
- n && /* @__PURE__ */ s("div", { className: c.newsletterError, children: [
699
- n,
700
- /* @__PURE__ */ e(
701
- "svg",
702
- {
703
- xmlns: "http://www.w3.org/2000/svg",
704
- width: "13",
705
- height: "7",
706
- viewBox: "0 0 13 7",
707
- fill: "none",
708
- children: /* @__PURE__ */ e(
709
- "path",
710
- {
711
- d: "M12.5 0H0L4.58809 4.97043C5.35857 5.80512 6.66869 5.83131 7.47191 5.02809L12.5 0Z",
712
- fill: "black"
713
- }
714
- )
715
- }
716
- )
717
- ] })
718
- ] }),
719
- /* @__PURE__ */ s("p", { children: [
720
- "By signing up, you agree to the",
721
- " ",
722
- /* @__PURE__ */ e(
723
- t,
724
- {
725
- href: P(
726
- "https://www.highcharts.com/privacy/",
727
- r
728
- ),
729
- children: "Privacy Policy"
730
- }
731
- )
732
- ] })
733
- ]
734
- }
735
- ),
736
- /* @__PURE__ */ s(
737
- "a",
738
- {
739
- className: c.discord,
740
- href: "https://discord.com/invite/xHxxcyyy6K",
741
- ref: a,
742
- children: [
743
- /* @__PURE__ */ s("h2", { children: [
744
- /* @__PURE__ */ e(R, {}),
745
- "Discord ",
746
- /* @__PURE__ */ e("span", { children: "/ Total" })
747
- ] }),
748
- /* @__PURE__ */ s("p", { className: c.discordContent, children: [
749
- /* @__PURE__ */ e("span", { className: c.discordJoin, children: "Join us" }),
750
- " ",
751
- !!L && /* @__PURE__ */ s("span", { className: c.discordMembers, children: [
752
- L,
753
- " members"
754
- ] })
755
- ] }),
756
- /* @__PURE__ */ s("ul", { className: c.discordAvatars, children: [
757
- J?.members.slice(0, 5).map(({ status: h, avatar_url: o }, l) => /* @__PURE__ */ s("li", { children: [
758
- /* @__PURE__ */ e("img", { src: o }),
759
- /* @__PURE__ */ e(
760
- "span",
761
- {
762
- className: N(c.discordAvatarStatus, {
763
- [c.online]: h === "online"
764
- })
765
- }
766
- )
767
- ] }, l)),
768
- /* @__PURE__ */ e("li", { className: c.discordPlus, children: "+" })
769
- ] })
770
- ]
771
- }
772
- )
773
- ] })
774
- ] }),
775
- /* @__PURE__ */ s("div", { className: c.help, children: [
776
- /* @__PURE__ */ s("div", { className: c.helpWays, children: [
777
- /* @__PURE__ */ e("span", { children: "Ways to get help" }),
778
- /* @__PURE__ */ s("p", { children: [
779
- "We operate in CET",
780
- q ? " " : /* @__PURE__ */ e("br", {}),
781
- "Monday - Friday"
782
- ] })
783
- ] }),
784
- Lt.map(({ icon: h, subtitle: o, title: l, url: u }, d) => /* @__PURE__ */ s(
785
- t,
786
- {
787
- href: P(u, r),
788
- className: c.helpItem,
789
- children: [
790
- /* @__PURE__ */ e("div", { className: c.helpBall, children: h }),
791
- /* @__PURE__ */ s("div", { className: c.helpContent, children: [
792
- /* @__PURE__ */ e("span", { children: o }),
793
- /* @__PURE__ */ e("span", { children: l })
794
- ] })
795
- ]
796
- },
797
- d
798
- ))
799
- ] }),
800
- /* @__PURE__ */ s("div", { className: c.links, children: [
801
- Object.entries(zt).map(([h, o], l) => /* @__PURE__ */ s("div", { children: [
802
- /* @__PURE__ */ e("h2", { children: h }),
803
- /* @__PURE__ */ e("ul", { children: o.map(({ title: u, url: d, tag: b }, X) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ s(
804
- t,
805
- {
806
- href: P(d, r),
807
- className: N({ [c.tagged]: b }),
808
- children: [
809
- b ? /* @__PURE__ */ e("span", { children: u }) : u,
810
- b && /* @__PURE__ */ e(it, { variant: "brand", icon: !1, border: !0 })
811
- ]
812
- }
813
- ) }, X)) })
814
- ] }, l)),
815
- /* @__PURE__ */ e("div", { className: c.norway, children: /* @__PURE__ */ e(ct, {}) })
816
- ] }),
817
- /* @__PURE__ */ e("div", { className: c.bottom, children: K ? /* @__PURE__ */ s(O, { children: [
818
- /* @__PURE__ */ e("div", { className: c.tabletBottomLeft, children: z }),
819
- M
820
- ] }) : /* @__PURE__ */ s(O, { children: [
821
- z,
822
- M
823
- ] }) })
824
- ] }) });
825
- }
826
- export {
827
- Kt as Footer
828
- };
1
+ import { t as e } from "../../Footer-DY0QJnxb.js";
2
+ export { e as Footer };