highsoft-ui 1.0.57 → 1.0.59
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.
- package/dist/Announcement03-obPaH4LK.js +23 -0
- package/dist/components/Footer/index.js +401 -308
- package/dist/components/Header/index.js +114 -129
- package/dist/highsoft-ui.css +1 -1
- package/package.json +1 -1
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
1
|
+
import { jsx as r, jsxs as s, Fragment as O } from "react/jsx-runtime";
|
|
2
2
|
import * as l from "react";
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
import b, { useRef as mt, useState as B, useEffect as wt } from "react";
|
|
4
|
+
import { A as ft } from "../../Announcement03-obPaH4LK.js";
|
|
5
|
+
import { P as D, d as vt, c as yt, e as E, a as I, f as k, g as L, h as bt, R as _t, j as Ct, i as Dt, k as Pt, F as Nt, D as Ot, l as kt, C as xt } from "../../index-CM3YgRXK.js";
|
|
6
|
+
import { _ as T } from "../../extends-hS2Bh-Yp.js";
|
|
7
|
+
import { c as H } from "../../clsx-OuTLNxxd.js";
|
|
8
|
+
import { Button as J } from "../Button/index.js";
|
|
9
|
+
import { Container as zt } from "../Container/index.js";
|
|
10
|
+
import { ThemedLogo as St } from "../Logo/index.js";
|
|
11
|
+
import { NewTag as Mt } from "../NewTag/index.js";
|
|
12
|
+
import { a as V, c as At } from "../../utils-CzQFvGG2.js";
|
|
13
|
+
var Rt = function(e) {
|
|
14
|
+
return /* @__PURE__ */ r("svg", T({
|
|
14
15
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15
16
|
width: 24,
|
|
16
17
|
height: 24,
|
|
@@ -22,11 +23,11 @@ var Dt = function(e) {
|
|
|
22
23
|
strokeLinecap: "round",
|
|
23
24
|
strokeLinejoin: "round",
|
|
24
25
|
strokeWidth: 2,
|
|
25
|
-
d: "
|
|
26
|
+
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"
|
|
26
27
|
})
|
|
27
28
|
}));
|
|
28
|
-
},
|
|
29
|
-
return /* @__PURE__ */ r("svg",
|
|
29
|
+
}, Et = function(e) {
|
|
30
|
+
return /* @__PURE__ */ r("svg", T({
|
|
30
31
|
xmlns: "http://www.w3.org/2000/svg",
|
|
31
32
|
width: 24,
|
|
32
33
|
height: 24,
|
|
@@ -38,11 +39,11 @@ var Dt = function(e) {
|
|
|
38
39
|
strokeLinecap: "round",
|
|
39
40
|
strokeLinejoin: "round",
|
|
40
41
|
strokeWidth: 2,
|
|
41
|
-
d: "
|
|
42
|
+
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"
|
|
42
43
|
})
|
|
43
44
|
}));
|
|
44
|
-
},
|
|
45
|
-
return /* @__PURE__ */ r("svg",
|
|
45
|
+
}, It = function(e) {
|
|
46
|
+
return /* @__PURE__ */ r("svg", T({
|
|
46
47
|
xmlns: "http://www.w3.org/2000/svg",
|
|
47
48
|
width: 24,
|
|
48
49
|
height: 24,
|
|
@@ -54,10 +55,10 @@ var Dt = function(e) {
|
|
|
54
55
|
strokeLinecap: "round",
|
|
55
56
|
strokeLinejoin: "round",
|
|
56
57
|
strokeWidth: 2,
|
|
57
|
-
d: "
|
|
58
|
+
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"
|
|
58
59
|
})
|
|
59
60
|
}));
|
|
60
|
-
},
|
|
61
|
+
}, Lt = Object.freeze({
|
|
61
62
|
// See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
|
|
62
63
|
position: "absolute",
|
|
63
64
|
border: 0,
|
|
@@ -69,225 +70,225 @@ var Dt = function(e) {
|
|
|
69
70
|
clip: "rect(0, 0, 0, 0)",
|
|
70
71
|
whiteSpace: "nowrap",
|
|
71
72
|
wordWrap: "normal"
|
|
72
|
-
}),
|
|
73
|
+
}), Tt = "VisuallyHidden", Y = l.forwardRef(
|
|
73
74
|
(t, e) => /* @__PURE__ */ r(
|
|
74
|
-
|
|
75
|
+
D.span,
|
|
75
76
|
{
|
|
76
77
|
...t,
|
|
77
78
|
ref: e,
|
|
78
|
-
style: { ...
|
|
79
|
+
style: { ...Lt, ...t.style }
|
|
79
80
|
}
|
|
80
81
|
)
|
|
81
82
|
);
|
|
82
|
-
|
|
83
|
-
var
|
|
83
|
+
Y.displayName = Tt;
|
|
84
|
+
var jt = Y, R = "Dialog", [q, or] = yt(R), [Ft, m] = q(R), U = (t) => {
|
|
84
85
|
const {
|
|
85
86
|
__scopeDialog: e,
|
|
86
87
|
children: o,
|
|
87
|
-
open:
|
|
88
|
-
defaultOpen:
|
|
89
|
-
onOpenChange:
|
|
90
|
-
modal:
|
|
91
|
-
} = t, h = l.useRef(null),
|
|
92
|
-
prop:
|
|
93
|
-
defaultProp:
|
|
94
|
-
onChange:
|
|
95
|
-
caller:
|
|
88
|
+
open: n,
|
|
89
|
+
defaultOpen: a,
|
|
90
|
+
onOpenChange: i,
|
|
91
|
+
modal: d = !0
|
|
92
|
+
} = t, h = l.useRef(null), u = l.useRef(null), [P, C] = vt({
|
|
93
|
+
prop: n,
|
|
94
|
+
defaultProp: a ?? !1,
|
|
95
|
+
onChange: i,
|
|
96
|
+
caller: R
|
|
96
97
|
});
|
|
97
98
|
return /* @__PURE__ */ r(
|
|
98
|
-
|
|
99
|
+
Ft,
|
|
99
100
|
{
|
|
100
101
|
scope: e,
|
|
101
102
|
triggerRef: h,
|
|
102
|
-
contentRef:
|
|
103
|
-
contentId:
|
|
104
|
-
titleId:
|
|
105
|
-
descriptionId:
|
|
106
|
-
open:
|
|
107
|
-
onOpenChange:
|
|
108
|
-
onOpenToggle: l.useCallback(() =>
|
|
109
|
-
modal:
|
|
103
|
+
contentRef: u,
|
|
104
|
+
contentId: E(),
|
|
105
|
+
titleId: E(),
|
|
106
|
+
descriptionId: E(),
|
|
107
|
+
open: P,
|
|
108
|
+
onOpenChange: C,
|
|
109
|
+
onOpenToggle: l.useCallback(() => C((x) => !x), [C]),
|
|
110
|
+
modal: d,
|
|
110
111
|
children: o
|
|
111
112
|
}
|
|
112
113
|
);
|
|
113
114
|
};
|
|
114
|
-
|
|
115
|
-
var
|
|
115
|
+
U.displayName = R;
|
|
116
|
+
var K = "DialogTrigger", X = l.forwardRef(
|
|
116
117
|
(t, e) => {
|
|
117
|
-
const { __scopeDialog: o, ...
|
|
118
|
+
const { __scopeDialog: o, ...n } = t, a = m(K, o), i = I(e, a.triggerRef);
|
|
118
119
|
return /* @__PURE__ */ r(
|
|
119
|
-
|
|
120
|
+
D.button,
|
|
120
121
|
{
|
|
121
122
|
type: "button",
|
|
122
123
|
"aria-haspopup": "dialog",
|
|
123
|
-
"aria-expanded":
|
|
124
|
-
"aria-controls":
|
|
125
|
-
"data-state":
|
|
126
|
-
...
|
|
127
|
-
ref:
|
|
128
|
-
onClick:
|
|
124
|
+
"aria-expanded": a.open,
|
|
125
|
+
"aria-controls": a.contentId,
|
|
126
|
+
"data-state": W(a.open),
|
|
127
|
+
...n,
|
|
128
|
+
ref: i,
|
|
129
|
+
onClick: k(t.onClick, a.onOpenToggle)
|
|
129
130
|
}
|
|
130
131
|
);
|
|
131
132
|
}
|
|
132
133
|
);
|
|
133
|
-
|
|
134
|
-
var
|
|
134
|
+
X.displayName = K;
|
|
135
|
+
var j = "DialogPortal", [Wt, Z] = q(j, {
|
|
135
136
|
forceMount: void 0
|
|
136
|
-
}),
|
|
137
|
-
const { __scopeDialog: e, forceMount: o, children:
|
|
138
|
-
return /* @__PURE__ */ r(
|
|
137
|
+
}), Q = (t) => {
|
|
138
|
+
const { __scopeDialog: e, forceMount: o, children: n, container: a } = t, i = m(j, e);
|
|
139
|
+
return /* @__PURE__ */ r(Wt, { scope: e, forceMount: o, children: l.Children.map(n, (d) => /* @__PURE__ */ r(L, { present: o || i.open, children: /* @__PURE__ */ r(bt, { asChild: !0, container: a, children: d }) })) });
|
|
139
140
|
};
|
|
140
|
-
|
|
141
|
-
var
|
|
141
|
+
Q.displayName = j;
|
|
142
|
+
var S = "DialogOverlay", tt = l.forwardRef(
|
|
142
143
|
(t, e) => {
|
|
143
|
-
const o =
|
|
144
|
-
return
|
|
144
|
+
const o = Z(S, t.__scopeDialog), { forceMount: n = o.forceMount, ...a } = t, i = m(S, t.__scopeDialog);
|
|
145
|
+
return i.modal ? /* @__PURE__ */ r(L, { present: n || i.open, children: /* @__PURE__ */ r(Ht, { ...a, ref: e }) }) : null;
|
|
145
146
|
}
|
|
146
147
|
);
|
|
147
|
-
|
|
148
|
-
var
|
|
148
|
+
tt.displayName = S;
|
|
149
|
+
var Bt = Ct("DialogOverlay.RemoveScroll"), Ht = l.forwardRef(
|
|
149
150
|
(t, e) => {
|
|
150
|
-
const { __scopeDialog: o, ...
|
|
151
|
+
const { __scopeDialog: o, ...n } = t, a = m(S, o);
|
|
151
152
|
return (
|
|
152
153
|
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
153
154
|
// ie. when `Overlay` and `Content` are siblings
|
|
154
|
-
/* @__PURE__ */ r(
|
|
155
|
-
|
|
155
|
+
/* @__PURE__ */ r(_t, { as: Bt, allowPinchZoom: !0, shards: [a.contentRef], children: /* @__PURE__ */ r(
|
|
156
|
+
D.div,
|
|
156
157
|
{
|
|
157
|
-
"data-state":
|
|
158
|
-
...
|
|
158
|
+
"data-state": W(a.open),
|
|
159
|
+
...n,
|
|
159
160
|
ref: e,
|
|
160
|
-
style: { pointerEvents: "auto", ...
|
|
161
|
+
style: { pointerEvents: "auto", ...n.style }
|
|
161
162
|
}
|
|
162
163
|
) })
|
|
163
164
|
);
|
|
164
165
|
}
|
|
165
|
-
),
|
|
166
|
+
), _ = "DialogContent", et = l.forwardRef(
|
|
166
167
|
(t, e) => {
|
|
167
|
-
const o =
|
|
168
|
-
return /* @__PURE__ */ r(
|
|
168
|
+
const o = Z(_, t.__scopeDialog), { forceMount: n = o.forceMount, ...a } = t, i = m(_, t.__scopeDialog);
|
|
169
|
+
return /* @__PURE__ */ r(L, { present: n || i.open, children: i.modal ? /* @__PURE__ */ r(Vt, { ...a, ref: e }) : /* @__PURE__ */ r(Gt, { ...a, ref: e }) });
|
|
169
170
|
}
|
|
170
171
|
);
|
|
171
|
-
|
|
172
|
-
var
|
|
172
|
+
et.displayName = _;
|
|
173
|
+
var Vt = l.forwardRef(
|
|
173
174
|
(t, e) => {
|
|
174
|
-
const o =
|
|
175
|
+
const o = m(_, t.__scopeDialog), n = l.useRef(null), a = I(e, o.contentRef, n);
|
|
175
176
|
return l.useEffect(() => {
|
|
176
|
-
const
|
|
177
|
-
if (
|
|
177
|
+
const i = n.current;
|
|
178
|
+
if (i) return Dt(i);
|
|
178
179
|
}, []), /* @__PURE__ */ r(
|
|
179
|
-
|
|
180
|
+
rt,
|
|
180
181
|
{
|
|
181
182
|
...t,
|
|
182
|
-
ref:
|
|
183
|
+
ref: a,
|
|
183
184
|
trapFocus: o.open,
|
|
184
185
|
disableOutsidePointerEvents: !0,
|
|
185
|
-
onCloseAutoFocus:
|
|
186
|
-
|
|
186
|
+
onCloseAutoFocus: k(t.onCloseAutoFocus, (i) => {
|
|
187
|
+
i.preventDefault(), o.triggerRef.current?.focus();
|
|
187
188
|
}),
|
|
188
|
-
onPointerDownOutside:
|
|
189
|
-
const
|
|
190
|
-
(
|
|
189
|
+
onPointerDownOutside: k(t.onPointerDownOutside, (i) => {
|
|
190
|
+
const d = i.detail.originalEvent, h = d.button === 0 && d.ctrlKey === !0;
|
|
191
|
+
(d.button === 2 || h) && i.preventDefault();
|
|
191
192
|
}),
|
|
192
|
-
onFocusOutside:
|
|
193
|
+
onFocusOutside: k(
|
|
193
194
|
t.onFocusOutside,
|
|
194
|
-
(
|
|
195
|
+
(i) => i.preventDefault()
|
|
195
196
|
)
|
|
196
197
|
}
|
|
197
198
|
);
|
|
198
199
|
}
|
|
199
|
-
),
|
|
200
|
+
), Gt = l.forwardRef(
|
|
200
201
|
(t, e) => {
|
|
201
|
-
const o =
|
|
202
|
+
const o = m(_, t.__scopeDialog), n = l.useRef(!1), a = l.useRef(!1);
|
|
202
203
|
return /* @__PURE__ */ r(
|
|
203
|
-
|
|
204
|
+
rt,
|
|
204
205
|
{
|
|
205
206
|
...t,
|
|
206
207
|
ref: e,
|
|
207
208
|
trapFocus: !1,
|
|
208
209
|
disableOutsidePointerEvents: !1,
|
|
209
|
-
onCloseAutoFocus: (
|
|
210
|
-
t.onCloseAutoFocus?.(
|
|
210
|
+
onCloseAutoFocus: (i) => {
|
|
211
|
+
t.onCloseAutoFocus?.(i), i.defaultPrevented || (n.current || o.triggerRef.current?.focus(), i.preventDefault()), n.current = !1, a.current = !1;
|
|
211
212
|
},
|
|
212
|
-
onInteractOutside: (
|
|
213
|
-
t.onInteractOutside?.(
|
|
214
|
-
const
|
|
215
|
-
o.triggerRef.current?.contains(
|
|
213
|
+
onInteractOutside: (i) => {
|
|
214
|
+
t.onInteractOutside?.(i), i.defaultPrevented || (n.current = !0, i.detail.originalEvent.type === "pointerdown" && (a.current = !0));
|
|
215
|
+
const d = i.target;
|
|
216
|
+
o.triggerRef.current?.contains(d) && i.preventDefault(), i.detail.originalEvent.type === "focusin" && a.current && i.preventDefault();
|
|
216
217
|
}
|
|
217
218
|
}
|
|
218
219
|
);
|
|
219
220
|
}
|
|
220
|
-
),
|
|
221
|
+
), rt = l.forwardRef(
|
|
221
222
|
(t, e) => {
|
|
222
|
-
const { __scopeDialog: o, trapFocus:
|
|
223
|
-
return
|
|
223
|
+
const { __scopeDialog: o, trapFocus: n, onOpenAutoFocus: a, onCloseAutoFocus: i, ...d } = t, h = m(_, o), u = l.useRef(null), P = I(e, u);
|
|
224
|
+
return Pt(), /* @__PURE__ */ s(O, { children: [
|
|
224
225
|
/* @__PURE__ */ r(
|
|
225
|
-
|
|
226
|
+
Nt,
|
|
226
227
|
{
|
|
227
228
|
asChild: !0,
|
|
228
229
|
loop: !0,
|
|
229
|
-
trapped:
|
|
230
|
-
onMountAutoFocus:
|
|
231
|
-
onUnmountAutoFocus:
|
|
230
|
+
trapped: n,
|
|
231
|
+
onMountAutoFocus: a,
|
|
232
|
+
onUnmountAutoFocus: i,
|
|
232
233
|
children: /* @__PURE__ */ r(
|
|
233
|
-
|
|
234
|
+
Ot,
|
|
234
235
|
{
|
|
235
236
|
role: "dialog",
|
|
236
237
|
id: h.contentId,
|
|
237
238
|
"aria-describedby": h.descriptionId,
|
|
238
239
|
"aria-labelledby": h.titleId,
|
|
239
|
-
"data-state":
|
|
240
|
-
...
|
|
241
|
-
ref:
|
|
240
|
+
"data-state": W(h.open),
|
|
241
|
+
...d,
|
|
242
|
+
ref: P,
|
|
242
243
|
onDismiss: () => h.onOpenChange(!1)
|
|
243
244
|
}
|
|
244
245
|
)
|
|
245
246
|
}
|
|
246
247
|
),
|
|
247
|
-
/* @__PURE__ */
|
|
248
|
-
/* @__PURE__ */ r(
|
|
249
|
-
/* @__PURE__ */ r(
|
|
248
|
+
/* @__PURE__ */ s(O, { children: [
|
|
249
|
+
/* @__PURE__ */ r(Yt, { titleId: h.titleId }),
|
|
250
|
+
/* @__PURE__ */ r(Ut, { contentRef: u, descriptionId: h.descriptionId })
|
|
250
251
|
] })
|
|
251
252
|
] });
|
|
252
253
|
}
|
|
253
|
-
),
|
|
254
|
+
), F = "DialogTitle", ot = l.forwardRef(
|
|
254
255
|
(t, e) => {
|
|
255
|
-
const { __scopeDialog: o, ...
|
|
256
|
-
return /* @__PURE__ */ r(
|
|
256
|
+
const { __scopeDialog: o, ...n } = t, a = m(F, o);
|
|
257
|
+
return /* @__PURE__ */ r(D.h2, { id: a.titleId, ...n, ref: e });
|
|
257
258
|
}
|
|
258
259
|
);
|
|
259
|
-
|
|
260
|
-
var
|
|
260
|
+
ot.displayName = F;
|
|
261
|
+
var nt = "DialogDescription", $t = l.forwardRef(
|
|
261
262
|
(t, e) => {
|
|
262
|
-
const { __scopeDialog: o, ...
|
|
263
|
-
return /* @__PURE__ */ r(
|
|
263
|
+
const { __scopeDialog: o, ...n } = t, a = m(nt, o);
|
|
264
|
+
return /* @__PURE__ */ r(D.p, { id: a.descriptionId, ...n, ref: e });
|
|
264
265
|
}
|
|
265
266
|
);
|
|
266
|
-
|
|
267
|
-
var
|
|
267
|
+
$t.displayName = nt;
|
|
268
|
+
var at = "DialogClose", Jt = l.forwardRef(
|
|
268
269
|
(t, e) => {
|
|
269
|
-
const { __scopeDialog: o, ...
|
|
270
|
+
const { __scopeDialog: o, ...n } = t, a = m(at, o);
|
|
270
271
|
return /* @__PURE__ */ r(
|
|
271
|
-
|
|
272
|
+
D.button,
|
|
272
273
|
{
|
|
273
274
|
type: "button",
|
|
274
|
-
...
|
|
275
|
+
...n,
|
|
275
276
|
ref: e,
|
|
276
|
-
onClick:
|
|
277
|
+
onClick: k(t.onClick, () => a.onOpenChange(!1))
|
|
277
278
|
}
|
|
278
279
|
);
|
|
279
280
|
}
|
|
280
281
|
);
|
|
281
|
-
|
|
282
|
-
function
|
|
282
|
+
Jt.displayName = at;
|
|
283
|
+
function W(t) {
|
|
283
284
|
return t ? "open" : "closed";
|
|
284
285
|
}
|
|
285
|
-
var
|
|
286
|
-
contentName:
|
|
287
|
-
titleName:
|
|
286
|
+
var it = "DialogTitleWarning", [nr, st] = kt(it, {
|
|
287
|
+
contentName: _,
|
|
288
|
+
titleName: F,
|
|
288
289
|
docsSlug: "dialog"
|
|
289
|
-
}),
|
|
290
|
-
const e =
|
|
290
|
+
}), Yt = ({ titleId: t }) => {
|
|
291
|
+
const e = st(it), o = `\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
|
|
291
292
|
|
|
292
293
|
If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
293
294
|
|
|
@@ -295,196 +296,204 @@ For more information, see https://radix-ui.com/primitives/docs/components/${e.do
|
|
|
295
296
|
return l.useEffect(() => {
|
|
296
297
|
t && (document.getElementById(t) || console.error(o));
|
|
297
298
|
}, [o, t]), null;
|
|
298
|
-
},
|
|
299
|
-
const
|
|
299
|
+
}, qt = "DialogDescriptionWarning", Ut = ({ contentRef: t, descriptionId: e }) => {
|
|
300
|
+
const n = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${st(qt).contentName}}.`;
|
|
300
301
|
return l.useEffect(() => {
|
|
301
|
-
const
|
|
302
|
-
e &&
|
|
303
|
-
}, [
|
|
304
|
-
},
|
|
302
|
+
const a = t.current?.getAttribute("aria-describedby");
|
|
303
|
+
e && a && (document.getElementById(e) || console.warn(n));
|
|
304
|
+
}, [n, t, e]), null;
|
|
305
|
+
}, Kt = U, Xt = X, Zt = Q, Qt = tt, te = et, ee = ot, ct = {
|
|
305
306
|
color: void 0,
|
|
306
307
|
size: void 0,
|
|
307
308
|
className: void 0,
|
|
308
309
|
style: void 0,
|
|
309
310
|
attr: void 0
|
|
310
|
-
},
|
|
311
|
-
function
|
|
311
|
+
}, G = b.createContext && /* @__PURE__ */ b.createContext(ct), re = ["attr", "size", "title"];
|
|
312
|
+
function oe(t, e) {
|
|
312
313
|
if (t == null) return {};
|
|
313
|
-
var o =
|
|
314
|
+
var o = ne(t, e), n, a;
|
|
314
315
|
if (Object.getOwnPropertySymbols) {
|
|
315
|
-
var
|
|
316
|
-
for (
|
|
317
|
-
|
|
316
|
+
var i = Object.getOwnPropertySymbols(t);
|
|
317
|
+
for (a = 0; a < i.length; a++)
|
|
318
|
+
n = i[a], !(e.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(t, n) && (o[n] = t[n]);
|
|
318
319
|
}
|
|
319
320
|
return o;
|
|
320
321
|
}
|
|
321
|
-
function
|
|
322
|
+
function ne(t, e) {
|
|
322
323
|
if (t == null) return {};
|
|
323
324
|
var o = {};
|
|
324
|
-
for (var
|
|
325
|
-
if (Object.prototype.hasOwnProperty.call(t,
|
|
326
|
-
if (e.indexOf(
|
|
327
|
-
o[
|
|
325
|
+
for (var n in t)
|
|
326
|
+
if (Object.prototype.hasOwnProperty.call(t, n)) {
|
|
327
|
+
if (e.indexOf(n) >= 0) continue;
|
|
328
|
+
o[n] = t[n];
|
|
328
329
|
}
|
|
329
330
|
return o;
|
|
330
331
|
}
|
|
331
|
-
function
|
|
332
|
-
return
|
|
332
|
+
function M() {
|
|
333
|
+
return M = Object.assign ? Object.assign.bind() : function(t) {
|
|
333
334
|
for (var e = 1; e < arguments.length; e++) {
|
|
334
335
|
var o = arguments[e];
|
|
335
|
-
for (var
|
|
336
|
-
Object.prototype.hasOwnProperty.call(o,
|
|
336
|
+
for (var n in o)
|
|
337
|
+
Object.prototype.hasOwnProperty.call(o, n) && (t[n] = o[n]);
|
|
337
338
|
}
|
|
338
339
|
return t;
|
|
339
|
-
},
|
|
340
|
+
}, M.apply(this, arguments);
|
|
340
341
|
}
|
|
341
|
-
function
|
|
342
|
+
function $(t, e) {
|
|
342
343
|
var o = Object.keys(t);
|
|
343
344
|
if (Object.getOwnPropertySymbols) {
|
|
344
|
-
var
|
|
345
|
-
e && (
|
|
346
|
-
return Object.getOwnPropertyDescriptor(t,
|
|
347
|
-
})), o.push.apply(o,
|
|
345
|
+
var n = Object.getOwnPropertySymbols(t);
|
|
346
|
+
e && (n = n.filter(function(a) {
|
|
347
|
+
return Object.getOwnPropertyDescriptor(t, a).enumerable;
|
|
348
|
+
})), o.push.apply(o, n);
|
|
348
349
|
}
|
|
349
350
|
return o;
|
|
350
351
|
}
|
|
351
|
-
function
|
|
352
|
+
function A(t) {
|
|
352
353
|
for (var e = 1; e < arguments.length; e++) {
|
|
353
354
|
var o = arguments[e] != null ? arguments[e] : {};
|
|
354
|
-
e % 2 ?
|
|
355
|
-
|
|
356
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(o)) :
|
|
357
|
-
Object.defineProperty(t,
|
|
355
|
+
e % 2 ? $(Object(o), !0).forEach(function(n) {
|
|
356
|
+
ae(t, n, o[n]);
|
|
357
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(o)) : $(Object(o)).forEach(function(n) {
|
|
358
|
+
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(o, n));
|
|
358
359
|
});
|
|
359
360
|
}
|
|
360
361
|
return t;
|
|
361
362
|
}
|
|
362
|
-
function
|
|
363
|
-
return e =
|
|
363
|
+
function ae(t, e, o) {
|
|
364
|
+
return e = ie(e), e in t ? Object.defineProperty(t, e, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = o, t;
|
|
364
365
|
}
|
|
365
|
-
function
|
|
366
|
-
var e =
|
|
366
|
+
function ie(t) {
|
|
367
|
+
var e = se(t, "string");
|
|
367
368
|
return typeof e == "symbol" ? e : e + "";
|
|
368
369
|
}
|
|
369
|
-
function
|
|
370
|
+
function se(t, e) {
|
|
370
371
|
if (typeof t != "object" || !t) return t;
|
|
371
372
|
var o = t[Symbol.toPrimitive];
|
|
372
373
|
if (o !== void 0) {
|
|
373
|
-
var
|
|
374
|
-
if (typeof
|
|
374
|
+
var n = o.call(t, e);
|
|
375
|
+
if (typeof n != "object") return n;
|
|
375
376
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
376
377
|
}
|
|
377
378
|
return (e === "string" ? String : Number)(t);
|
|
378
379
|
}
|
|
379
|
-
function
|
|
380
|
-
return t && t.map((e, o) => /* @__PURE__ */
|
|
380
|
+
function lt(t) {
|
|
381
|
+
return t && t.map((e, o) => /* @__PURE__ */ b.createElement(e.tag, A({
|
|
381
382
|
key: o
|
|
382
|
-
}, e.attr),
|
|
383
|
+
}, e.attr), lt(e.child)));
|
|
383
384
|
}
|
|
384
|
-
function
|
|
385
|
-
return (e) => /* @__PURE__ */
|
|
386
|
-
attr:
|
|
387
|
-
}, e),
|
|
385
|
+
function y(t) {
|
|
386
|
+
return (e) => /* @__PURE__ */ b.createElement(ce, M({
|
|
387
|
+
attr: A({}, t.attr)
|
|
388
|
+
}, e), lt(t.child));
|
|
388
389
|
}
|
|
389
|
-
function
|
|
390
|
+
function ce(t) {
|
|
390
391
|
var e = (o) => {
|
|
391
392
|
var {
|
|
392
|
-
attr:
|
|
393
|
-
size:
|
|
394
|
-
title:
|
|
395
|
-
} = t,
|
|
396
|
-
return o.className && (
|
|
393
|
+
attr: n,
|
|
394
|
+
size: a,
|
|
395
|
+
title: i
|
|
396
|
+
} = t, d = oe(t, re), h = a || o.size || "1em", u;
|
|
397
|
+
return o.className && (u = o.className), t.className && (u = (u ? u + " " : "") + t.className), /* @__PURE__ */ b.createElement("svg", M({
|
|
397
398
|
stroke: "currentColor",
|
|
398
399
|
fill: "currentColor",
|
|
399
400
|
strokeWidth: "0"
|
|
400
|
-
}, o.attr,
|
|
401
|
-
className:
|
|
402
|
-
style:
|
|
401
|
+
}, o.attr, n, d, {
|
|
402
|
+
className: u,
|
|
403
|
+
style: A(A({
|
|
403
404
|
color: t.color || o.color
|
|
404
405
|
}, o.style), t.style),
|
|
405
406
|
height: h,
|
|
406
407
|
width: h,
|
|
407
408
|
xmlns: "http://www.w3.org/2000/svg"
|
|
408
|
-
}),
|
|
409
|
+
}), i && /* @__PURE__ */ b.createElement("title", null, i), t.children);
|
|
409
410
|
};
|
|
410
|
-
return
|
|
411
|
+
return G !== void 0 ? /* @__PURE__ */ b.createElement(G.Consumer, null, (o) => e(o)) : e(ct);
|
|
411
412
|
}
|
|
412
|
-
function
|
|
413
|
-
return
|
|
413
|
+
function ht(t) {
|
|
414
|
+
return y({ 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);
|
|
414
415
|
}
|
|
415
|
-
function
|
|
416
|
-
return
|
|
416
|
+
function le(t) {
|
|
417
|
+
return y({ 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);
|
|
417
418
|
}
|
|
418
|
-
function
|
|
419
|
-
return
|
|
419
|
+
function dt(t) {
|
|
420
|
+
return y({ 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);
|
|
420
421
|
}
|
|
421
|
-
function
|
|
422
|
-
return
|
|
422
|
+
function he(t) {
|
|
423
|
+
return y({ 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);
|
|
423
424
|
}
|
|
424
|
-
function
|
|
425
|
-
return
|
|
425
|
+
function de(t) {
|
|
426
|
+
return y({ 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);
|
|
426
427
|
}
|
|
427
|
-
function
|
|
428
|
-
return
|
|
428
|
+
function ut(t) {
|
|
429
|
+
return y({ 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);
|
|
429
430
|
}
|
|
430
|
-
function
|
|
431
|
-
return
|
|
431
|
+
function pt(t) {
|
|
432
|
+
return y({ 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);
|
|
432
433
|
}
|
|
433
|
-
function
|
|
434
|
-
return
|
|
434
|
+
function ue(t) {
|
|
435
|
+
return y({ 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);
|
|
435
436
|
}
|
|
436
|
-
const
|
|
437
|
-
footer:
|
|
438
|
-
top:
|
|
439
|
-
highcharts:
|
|
440
|
-
logo:
|
|
441
|
-
youtube:
|
|
442
|
-
youtubeOverlay:
|
|
443
|
-
youtubeContent:
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
437
|
+
const pe = "_footer_18yzk_321", ge = "_top_18yzk_343", me = "_highcharts_18yzk_349", we = "_logo_18yzk_358", fe = "_youtube_18yzk_372", ve = "_youtubeOverlay_18yzk_442", ye = "_youtubeContent_18yzk_454", be = "_notCharts_18yzk_471", _e = "_newsletter_18yzk_504", Ce = "_discord_18yzk_561", De = "_discordPlus_18yzk_570", Pe = "_discordJoin_18yzk_574", Ne = "_discordMembers_18yzk_578", Oe = "_discordContent_18yzk_601", ke = "_discordAvatars_18yzk_618", xe = "_discordAvatarStatus_18yzk_645", ze = "_online_18yzk_656", Se = "_help_18yzk_670", Me = "_helpWays_18yzk_678", Ae = "_helpItem_18yzk_691", Re = "_helpContent_18yzk_696", Ee = "_helpBall_18yzk_699", Ie = "_links_18yzk_738", Le = "_tagged_18yzk_768", Te = "_norway_18yzk_772", je = "_bottom_18yzk_782", Fe = "_bottomLinks_18yzk_792", We = "_tabletBottomLeft_18yzk_800", Be = "_socials_18yzk_806", c = {
|
|
438
|
+
footer: pe,
|
|
439
|
+
top: ge,
|
|
440
|
+
highcharts: me,
|
|
441
|
+
logo: we,
|
|
442
|
+
youtube: fe,
|
|
443
|
+
youtubeOverlay: ve,
|
|
444
|
+
youtubeContent: ye,
|
|
445
|
+
notCharts: be,
|
|
446
|
+
newsletter: _e,
|
|
447
|
+
discord: Ce,
|
|
448
|
+
discordPlus: De,
|
|
449
|
+
discordJoin: Pe,
|
|
450
|
+
discordMembers: Ne,
|
|
451
|
+
discordContent: Oe,
|
|
452
|
+
discordAvatars: ke,
|
|
453
|
+
discordAvatarStatus: xe,
|
|
454
|
+
online: ze,
|
|
455
|
+
help: Se,
|
|
456
|
+
helpWays: Me,
|
|
457
|
+
helpItem: Ae,
|
|
458
|
+
helpContent: Re,
|
|
459
|
+
helpBall: Ee,
|
|
460
|
+
links: Ie,
|
|
461
|
+
tagged: Le,
|
|
462
|
+
norway: Te,
|
|
463
|
+
bottom: je,
|
|
464
|
+
bottomLinks: Fe,
|
|
465
|
+
tabletBottomLeft: We,
|
|
466
|
+
socials: Be
|
|
458
467
|
};
|
|
459
|
-
function
|
|
468
|
+
function z(t, e) {
|
|
460
469
|
return e ? t.replace(e, "") : t;
|
|
461
470
|
}
|
|
462
|
-
const
|
|
471
|
+
const He = [
|
|
463
472
|
{
|
|
464
|
-
icon: /* @__PURE__ */ r(
|
|
473
|
+
icon: /* @__PURE__ */ r(It, {}),
|
|
465
474
|
subtitle: "Ask tech and sales questions with",
|
|
466
475
|
title: "Highcharts GPT",
|
|
467
476
|
url: "https://www.highcharts.com/chat/gpt/"
|
|
468
477
|
},
|
|
469
478
|
{
|
|
470
|
-
icon: /* @__PURE__ */ r(
|
|
479
|
+
icon: /* @__PURE__ */ r(ut, {}),
|
|
471
480
|
subtitle: "Search answers on",
|
|
472
481
|
title: "StackOverflow",
|
|
473
482
|
url: "https://stackoverflow.com/questions/tagged/highcharts"
|
|
474
483
|
},
|
|
475
484
|
{
|
|
476
|
-
icon: /* @__PURE__ */ r(
|
|
485
|
+
icon: /* @__PURE__ */ r(dt, {}),
|
|
477
486
|
subtitle: "Report issues on",
|
|
478
487
|
title: "GitHub",
|
|
479
488
|
url: "https://github.com/highcharts/highcharts/issues"
|
|
480
489
|
},
|
|
481
490
|
{
|
|
482
|
-
icon: /* @__PURE__ */ r(
|
|
491
|
+
icon: /* @__PURE__ */ r(Et, {}),
|
|
483
492
|
subtitle: "Contact sales about",
|
|
484
493
|
title: "Licensing Options",
|
|
485
494
|
url: "https://shop.highcharts.com/contact"
|
|
486
495
|
}
|
|
487
|
-
],
|
|
496
|
+
], Ve = {
|
|
488
497
|
Products: [
|
|
489
498
|
{
|
|
490
499
|
title: "Core",
|
|
@@ -703,106 +712,136 @@ const Pe = [
|
|
|
703
712
|
url: "https://www.highcharts.com/chat/gpt/"
|
|
704
713
|
}
|
|
705
714
|
]
|
|
706
|
-
},
|
|
715
|
+
}, Ge = [
|
|
707
716
|
{
|
|
708
|
-
icon: /* @__PURE__ */ r(
|
|
717
|
+
icon: /* @__PURE__ */ r(ut, {}),
|
|
709
718
|
url: "https://stackoverflow.com/questions/tagged/highcharts",
|
|
710
719
|
label: "StackOverlow"
|
|
711
720
|
},
|
|
712
721
|
{
|
|
713
|
-
icon: /* @__PURE__ */ r(
|
|
722
|
+
icon: /* @__PURE__ */ r(dt, {}),
|
|
714
723
|
url: "https://github.com/highcharts/highcharts",
|
|
715
724
|
label: "GitHub"
|
|
716
725
|
},
|
|
717
726
|
{
|
|
718
|
-
icon: /* @__PURE__ */ r(
|
|
727
|
+
icon: /* @__PURE__ */ r(ue, {}),
|
|
719
728
|
url: "https://twitter.com/Highcharts",
|
|
720
729
|
label: "X"
|
|
721
730
|
},
|
|
722
731
|
{
|
|
723
|
-
icon: /* @__PURE__ */ r(
|
|
732
|
+
icon: /* @__PURE__ */ r(le, {}),
|
|
724
733
|
url: "https://www.facebook.com/Highcharts",
|
|
725
734
|
label: "Facebook"
|
|
726
735
|
},
|
|
727
736
|
{
|
|
728
|
-
icon: /* @__PURE__ */ r(
|
|
737
|
+
icon: /* @__PURE__ */ r(he, {}),
|
|
729
738
|
url: "https://www.instagram.com/highcharts",
|
|
730
739
|
label: "Instagram"
|
|
731
740
|
},
|
|
732
741
|
{
|
|
733
|
-
icon: /* @__PURE__ */ r(
|
|
742
|
+
icon: /* @__PURE__ */ r(de, {}),
|
|
734
743
|
url: "https://www.linkedin.com/company/highsoft",
|
|
735
744
|
label: "LinkedIn"
|
|
736
745
|
},
|
|
737
746
|
{
|
|
738
|
-
icon: /* @__PURE__ */ r(
|
|
747
|
+
icon: /* @__PURE__ */ r(ht, {}),
|
|
739
748
|
url: "https://www.highcharts.com/highcharts-discord/",
|
|
740
749
|
label: "Discord"
|
|
741
750
|
},
|
|
742
751
|
{
|
|
743
|
-
icon: /* @__PURE__ */ r(
|
|
752
|
+
icon: /* @__PURE__ */ r(pt, {}),
|
|
744
753
|
url: "https://www.youtube.com/channel/UCzxXofPTQ0DoT7uIy3Fxw7A",
|
|
745
754
|
label: "Youtube"
|
|
746
755
|
}
|
|
747
756
|
];
|
|
748
|
-
function
|
|
749
|
-
const t
|
|
750
|
-
return /* @__PURE__ */
|
|
751
|
-
|
|
752
|
-
{
|
|
753
|
-
|
|
754
|
-
onClick: () => e(a),
|
|
755
|
-
children: [
|
|
756
|
-
a,
|
|
757
|
-
o ? /* @__PURE__ */ r(mt, {}) : /* @__PURE__ */ r(Pt, {})
|
|
758
|
-
]
|
|
759
|
-
}
|
|
760
|
-
);
|
|
757
|
+
function $e() {
|
|
758
|
+
const [t, e] = At(), o = "npm install highcharts --save";
|
|
759
|
+
return /* @__PURE__ */ s(J, { variant: "neutral", onClick: () => t(o), children: [
|
|
760
|
+
o,
|
|
761
|
+
e ? /* @__PURE__ */ r(xt, {}) : /* @__PURE__ */ r(Rt, {})
|
|
762
|
+
] });
|
|
761
763
|
}
|
|
762
|
-
function
|
|
764
|
+
function ar({
|
|
763
765
|
link: t = "a",
|
|
764
766
|
host: e = "https://www.highcharts.com"
|
|
765
767
|
}) {
|
|
766
|
-
const o =
|
|
767
|
-
|
|
768
|
+
const o = mt(null), [n, a] = B(0), [i, d] = B(), h = V("(max-width: 849px)"), u = V("(min-width: 850px) and (max-width: 999px)");
|
|
769
|
+
wt(() => {
|
|
770
|
+
if (o.current) {
|
|
771
|
+
const p = async () => {
|
|
772
|
+
try {
|
|
773
|
+
return (await (await fetch(
|
|
774
|
+
"https://discord.com/api/v9/invites/xHxxcyyy6K?with_counts=true"
|
|
775
|
+
)).json())?.approximate_member_count || 0;
|
|
776
|
+
} catch {
|
|
777
|
+
return 0;
|
|
778
|
+
}
|
|
779
|
+
}, v = async () => {
|
|
780
|
+
try {
|
|
781
|
+
const f = await (await fetch(
|
|
782
|
+
"https://discord.com/api/guilds/1318933807059042305/widget.json"
|
|
783
|
+
)).json() || {};
|
|
784
|
+
return f.members = f.members || [], f;
|
|
785
|
+
} catch {
|
|
786
|
+
}
|
|
787
|
+
}, g = new IntersectionObserver(
|
|
788
|
+
async (w) => {
|
|
789
|
+
if (w[0].isIntersecting) {
|
|
790
|
+
g.disconnect();
|
|
791
|
+
const [f, N] = await Promise.all([
|
|
792
|
+
p(),
|
|
793
|
+
v()
|
|
794
|
+
]);
|
|
795
|
+
a(f), d(N);
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
{ rootMargin: "100px" }
|
|
799
|
+
);
|
|
800
|
+
return g.observe(o.current), () => g.disconnect();
|
|
801
|
+
}
|
|
802
|
+
}, [o.current]);
|
|
803
|
+
const P = (p) => {
|
|
804
|
+
p.preventDefault();
|
|
805
|
+
}, C = /* @__PURE__ */ s(O, { children: [
|
|
806
|
+
/* @__PURE__ */ s("span", { children: [
|
|
768
807
|
"© ",
|
|
769
808
|
(/* @__PURE__ */ new Date()).getFullYear(),
|
|
770
809
|
" Highsoft. All rights reserved."
|
|
771
810
|
] }),
|
|
772
|
-
/* @__PURE__ */
|
|
811
|
+
/* @__PURE__ */ s("div", { className: c.bottomLinks, children: [
|
|
773
812
|
/* @__PURE__ */ r(t, { href: "#", children: "Privacy & Legal Policies" }),
|
|
774
813
|
/* @__PURE__ */ r(t, { href: "#", children: "Accessibility Statement" }),
|
|
775
814
|
/* @__PURE__ */ r(t, { href: "#", children: "Sitemap" })
|
|
776
815
|
] })
|
|
777
|
-
] }),
|
|
778
|
-
return /* @__PURE__ */
|
|
779
|
-
/* @__PURE__ */
|
|
780
|
-
/* @__PURE__ */
|
|
816
|
+
] }), x = /* @__PURE__ */ r("ul", { className: c.socials, children: Ge.map(({ icon: p, url: v, label: g }, w) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ r("a", { href: v, "aria-label": g, children: p }) }, w)) });
|
|
817
|
+
return /* @__PURE__ */ s(zt, { as: "footer", className: c.footer, children: [
|
|
818
|
+
/* @__PURE__ */ s("div", { className: c.top, children: [
|
|
819
|
+
/* @__PURE__ */ s("div", { className: c.highcharts, children: [
|
|
781
820
|
/* @__PURE__ */ r(
|
|
782
821
|
t,
|
|
783
822
|
{
|
|
784
|
-
className:
|
|
785
|
-
href:
|
|
786
|
-
children: /* @__PURE__ */ r(
|
|
823
|
+
className: c.logo,
|
|
824
|
+
href: z("https://www.highcharts.com/", e),
|
|
825
|
+
children: /* @__PURE__ */ r(St, {})
|
|
787
826
|
}
|
|
788
827
|
),
|
|
789
828
|
/* @__PURE__ */ r("p", { children: "We make it easy for developers to create charts and dashboards for web and mobile platforms." }),
|
|
790
|
-
/* @__PURE__ */ r(
|
|
829
|
+
/* @__PURE__ */ r($e, {})
|
|
791
830
|
] }),
|
|
792
|
-
/* @__PURE__ */
|
|
793
|
-
/* @__PURE__ */ r(
|
|
794
|
-
/* @__PURE__ */ r(
|
|
831
|
+
/* @__PURE__ */ s(Kt, { children: [
|
|
832
|
+
/* @__PURE__ */ r(Xt, { asChild: !0, children: /* @__PURE__ */ s("button", { className: c.youtube, children: [
|
|
833
|
+
/* @__PURE__ */ r(pt, {}),
|
|
795
834
|
/* @__PURE__ */ r("p", { children: "Meet the team behind the charts" })
|
|
796
835
|
] }) }),
|
|
797
|
-
/* @__PURE__ */
|
|
798
|
-
/* @__PURE__ */ r(
|
|
799
|
-
/* @__PURE__ */
|
|
800
|
-
|
|
836
|
+
/* @__PURE__ */ s(Zt, { children: [
|
|
837
|
+
/* @__PURE__ */ r(Qt, { className: c.youtubeOverlay }),
|
|
838
|
+
/* @__PURE__ */ s(
|
|
839
|
+
te,
|
|
801
840
|
{
|
|
802
|
-
className:
|
|
841
|
+
className: c.youtubeContent,
|
|
803
842
|
"aria-describedby": void 0,
|
|
804
843
|
children: [
|
|
805
|
-
/* @__PURE__ */ r(
|
|
844
|
+
/* @__PURE__ */ r(jt, { asChild: !0, children: /* @__PURE__ */ r(ee, { children: "Video: Meet the team behind the charts" }) }),
|
|
806
845
|
/* @__PURE__ */ r(
|
|
807
846
|
"iframe",
|
|
808
847
|
{
|
|
@@ -818,53 +857,107 @@ function We({
|
|
|
818
857
|
)
|
|
819
858
|
] })
|
|
820
859
|
] }),
|
|
821
|
-
/* @__PURE__ */
|
|
822
|
-
/* @__PURE__ */
|
|
823
|
-
|
|
824
|
-
|
|
860
|
+
/* @__PURE__ */ s("div", { className: c.notCharts, children: [
|
|
861
|
+
/* @__PURE__ */ s("div", { className: c.newsletter, children: [
|
|
862
|
+
/* @__PURE__ */ s("h2", { children: [
|
|
863
|
+
/* @__PURE__ */ r(ft, {}),
|
|
864
|
+
"Stay in the Loop"
|
|
865
|
+
] }),
|
|
866
|
+
/* @__PURE__ */ s("form", { onSubmit: P, children: [
|
|
867
|
+
/* @__PURE__ */ r("input", { placeholder: "Email address" }),
|
|
868
|
+
/* @__PURE__ */ r(J, { variant: "brand", children: "Sign up" })
|
|
869
|
+
] }),
|
|
870
|
+
/* @__PURE__ */ s("p", { children: [
|
|
871
|
+
"By signing up, you agree to the",
|
|
872
|
+
" ",
|
|
873
|
+
/* @__PURE__ */ r(t, { href: z("https://www.highcharts.com/", e), children: "Privacy Policy" })
|
|
874
|
+
] })
|
|
875
|
+
] }),
|
|
876
|
+
/* @__PURE__ */ s(
|
|
877
|
+
"a",
|
|
878
|
+
{
|
|
879
|
+
className: c.discord,
|
|
880
|
+
href: "https://discord.com/invite/xHxxcyyy6K",
|
|
881
|
+
ref: o,
|
|
882
|
+
children: [
|
|
883
|
+
/* @__PURE__ */ s("h2", { children: [
|
|
884
|
+
/* @__PURE__ */ r(ht, {}),
|
|
885
|
+
"Discord ",
|
|
886
|
+
/* @__PURE__ */ r("span", { children: "/ Total" })
|
|
887
|
+
] }),
|
|
888
|
+
/* @__PURE__ */ s("p", { className: c.discordContent, children: [
|
|
889
|
+
/* @__PURE__ */ r("span", { className: c.discordJoin, children: "Join us" }),
|
|
890
|
+
" ",
|
|
891
|
+
!!n && /* @__PURE__ */ s("span", { className: c.discordMembers, children: [
|
|
892
|
+
n,
|
|
893
|
+
" members"
|
|
894
|
+
] })
|
|
895
|
+
] }),
|
|
896
|
+
/* @__PURE__ */ s("ul", { className: c.discordAvatars, children: [
|
|
897
|
+
i?.members.slice(0, 5).map(
|
|
898
|
+
({
|
|
899
|
+
status: p,
|
|
900
|
+
avatar_url: v
|
|
901
|
+
}, g) => /* @__PURE__ */ s("li", { children: [
|
|
902
|
+
/* @__PURE__ */ r("img", { src: v }),
|
|
903
|
+
/* @__PURE__ */ r(
|
|
904
|
+
"span",
|
|
905
|
+
{
|
|
906
|
+
className: H(c.discordAvatarStatus, {
|
|
907
|
+
[c.online]: p === "online"
|
|
908
|
+
})
|
|
909
|
+
}
|
|
910
|
+
)
|
|
911
|
+
] }, g)
|
|
912
|
+
),
|
|
913
|
+
/* @__PURE__ */ r("li", { className: c.discordPlus, children: "+" })
|
|
914
|
+
] })
|
|
915
|
+
]
|
|
916
|
+
}
|
|
917
|
+
)
|
|
825
918
|
] })
|
|
826
919
|
] }),
|
|
827
|
-
/* @__PURE__ */
|
|
828
|
-
/* @__PURE__ */
|
|
920
|
+
/* @__PURE__ */ s("div", { className: c.help, children: [
|
|
921
|
+
/* @__PURE__ */ s("div", { className: c.helpWays, children: [
|
|
829
922
|
/* @__PURE__ */ r("span", { children: "Ways to get help" }),
|
|
830
|
-
/* @__PURE__ */
|
|
923
|
+
/* @__PURE__ */ s("p", { children: [
|
|
831
924
|
"We operate in CET",
|
|
832
|
-
|
|
925
|
+
h ? " " : /* @__PURE__ */ r("br", {}),
|
|
833
926
|
"Monday - Friday"
|
|
834
927
|
] })
|
|
835
928
|
] }),
|
|
836
|
-
|
|
929
|
+
He.map(({ icon: p, subtitle: v, title: g, url: w }, f) => /* @__PURE__ */ s(
|
|
837
930
|
t,
|
|
838
931
|
{
|
|
839
|
-
href:
|
|
840
|
-
className:
|
|
932
|
+
href: z(w, e),
|
|
933
|
+
className: c.helpItem,
|
|
841
934
|
children: [
|
|
842
|
-
/* @__PURE__ */ r("div", { className:
|
|
843
|
-
/* @__PURE__ */
|
|
844
|
-
/* @__PURE__ */ r("span", { children:
|
|
845
|
-
/* @__PURE__ */ r("span", { children:
|
|
935
|
+
/* @__PURE__ */ r("div", { className: c.helpBall, children: p }),
|
|
936
|
+
/* @__PURE__ */ s("div", { className: c.helpContent, children: [
|
|
937
|
+
/* @__PURE__ */ r("span", { children: v }),
|
|
938
|
+
/* @__PURE__ */ r("span", { children: g })
|
|
846
939
|
] })
|
|
847
940
|
]
|
|
848
941
|
},
|
|
849
942
|
f
|
|
850
943
|
))
|
|
851
944
|
] }),
|
|
852
|
-
/* @__PURE__ */
|
|
853
|
-
Object.entries(
|
|
854
|
-
/* @__PURE__ */ r("h2", { children:
|
|
855
|
-
/* @__PURE__ */ r("ul", { children:
|
|
945
|
+
/* @__PURE__ */ s("div", { className: c.links, children: [
|
|
946
|
+
Object.entries(Ve).map(([p, v], g) => /* @__PURE__ */ s("div", { children: [
|
|
947
|
+
/* @__PURE__ */ r("h2", { children: p }),
|
|
948
|
+
/* @__PURE__ */ r("ul", { children: v.map(({ title: w, url: f, tag: N }, gt) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ s(
|
|
856
949
|
t,
|
|
857
950
|
{
|
|
858
|
-
href:
|
|
859
|
-
className:
|
|
951
|
+
href: z(f, e),
|
|
952
|
+
className: H({ [c.tagged]: N }),
|
|
860
953
|
children: [
|
|
861
|
-
|
|
862
|
-
|
|
954
|
+
N ? /* @__PURE__ */ r("span", { children: w }) : w,
|
|
955
|
+
N && /* @__PURE__ */ r(Mt, { variant: "brand", icon: !1, border: !0 })
|
|
863
956
|
]
|
|
864
957
|
}
|
|
865
|
-
) },
|
|
866
|
-
] },
|
|
867
|
-
/* @__PURE__ */ r("div", { className:
|
|
958
|
+
) }, gt)) })
|
|
959
|
+
] }, g)),
|
|
960
|
+
/* @__PURE__ */ r("div", { className: c.norway, children: /* @__PURE__ */ r(
|
|
868
961
|
"img",
|
|
869
962
|
{
|
|
870
963
|
src: "https://businessnorway.com/images/made-in-norway-logo.png",
|
|
@@ -872,15 +965,15 @@ function We({
|
|
|
872
965
|
}
|
|
873
966
|
) })
|
|
874
967
|
] }),
|
|
875
|
-
/* @__PURE__ */ r("div", { className:
|
|
876
|
-
/* @__PURE__ */ r("div", { className:
|
|
877
|
-
|
|
878
|
-
] }) : /* @__PURE__ */
|
|
879
|
-
|
|
880
|
-
|
|
968
|
+
/* @__PURE__ */ r("div", { className: c.bottom, children: u ? /* @__PURE__ */ s(O, { children: [
|
|
969
|
+
/* @__PURE__ */ r("div", { className: c.tabletBottomLeft, children: C }),
|
|
970
|
+
x
|
|
971
|
+
] }) : /* @__PURE__ */ s(O, { children: [
|
|
972
|
+
C,
|
|
973
|
+
x
|
|
881
974
|
] }) })
|
|
882
975
|
] });
|
|
883
976
|
}
|
|
884
977
|
export {
|
|
885
|
-
|
|
978
|
+
ar as Footer
|
|
886
979
|
};
|