highsoft-ui 1.0.63 → 1.0.65
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/components/Button/index.js +50 -50
- package/dist/components/Container/index.js +1 -1
- package/dist/components/Footer/index.js +237 -237
- package/dist/components/GPTInput/index.js +31 -31
- package/dist/components/Header/index.js +130 -130
- package/dist/components/NewTag/index.js +15 -15
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/PrefPanel/index.js +227 -227
- package/dist/highsoft-ui.css +1 -1
- package/dist/index-pnL-sAld.js +68 -0
- package/dist/main.js +1 -1
- package/package.json +2 -1
- package/dist/index-DvBbx2s8.js +0 -68
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsx as r, jsxs as a, Fragment as
|
|
1
|
+
import { jsx as r, jsxs as a, Fragment as O } from "react/jsx-runtime";
|
|
2
2
|
import * as l from "react";
|
|
3
|
-
import
|
|
4
|
-
import { A as
|
|
5
|
-
import { P as
|
|
6
|
-
import { _ as
|
|
3
|
+
import C, { useRef as $, useState as P, useEffect as Pt } from "react";
|
|
4
|
+
import { A as Ot } from "../../Announcement03-obPaH4LK.js";
|
|
5
|
+
import { P as D, d as St, c as Et, e as j, a as z, f as S, g as F, h as Mt, R as At, j as Rt, i as It, k as Lt, F as Gt, D as kt, l as Tt, C as jt } from "../../index-CM3YgRXK.js";
|
|
6
|
+
import { _ as G } from "../../extends-hS2Bh-Yp.js";
|
|
7
7
|
import { c as M } from "../../clsx-OuTLNxxd.js";
|
|
8
8
|
import { Button as K } from "../Button/index.js";
|
|
9
|
-
import { Container as
|
|
10
|
-
import { ThemedLogo as
|
|
11
|
-
import { NewTag as
|
|
12
|
-
import
|
|
13
|
-
import { a as
|
|
14
|
-
var
|
|
15
|
-
return /* @__PURE__ */ r("svg",
|
|
9
|
+
import { Container as zt } from "../Container/index.js";
|
|
10
|
+
import { ThemedLogo as Ft } from "../Logo/index.js";
|
|
11
|
+
import { NewTag as Ut } from "../NewTag/index.js";
|
|
12
|
+
import Wt from "../icons/MadeInNorway.js";
|
|
13
|
+
import { a as J, c as Bt, v as Y } from "../../utils-C7rfowvr.js";
|
|
14
|
+
var Ht = function(e) {
|
|
15
|
+
return /* @__PURE__ */ r("svg", G({
|
|
16
16
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17
17
|
width: 24,
|
|
18
18
|
height: 24,
|
|
@@ -27,8 +27,8 @@ var Gt = function(e) {
|
|
|
27
27
|
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"
|
|
28
28
|
})
|
|
29
29
|
}));
|
|
30
|
-
},
|
|
31
|
-
return /* @__PURE__ */ r("svg",
|
|
30
|
+
}, Vt = function(e) {
|
|
31
|
+
return /* @__PURE__ */ r("svg", G({
|
|
32
32
|
xmlns: "http://www.w3.org/2000/svg",
|
|
33
33
|
width: 24,
|
|
34
34
|
height: 24,
|
|
@@ -43,8 +43,8 @@ var Gt = function(e) {
|
|
|
43
43
|
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"
|
|
44
44
|
})
|
|
45
45
|
}));
|
|
46
|
-
},
|
|
47
|
-
return /* @__PURE__ */ r("svg",
|
|
46
|
+
}, $t = function(e) {
|
|
47
|
+
return /* @__PURE__ */ r("svg", G({
|
|
48
48
|
xmlns: "http://www.w3.org/2000/svg",
|
|
49
49
|
width: 24,
|
|
50
50
|
height: 24,
|
|
@@ -59,8 +59,8 @@ var Gt = function(e) {
|
|
|
59
59
|
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"
|
|
60
60
|
})
|
|
61
61
|
}));
|
|
62
|
-
},
|
|
63
|
-
return /* @__PURE__ */ r("svg",
|
|
62
|
+
}, Jt = function(e) {
|
|
63
|
+
return /* @__PURE__ */ r("svg", G({
|
|
64
64
|
xmlns: "http://www.w3.org/2000/svg",
|
|
65
65
|
width: 24,
|
|
66
66
|
height: 24,
|
|
@@ -75,7 +75,7 @@ var Gt = function(e) {
|
|
|
75
75
|
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"
|
|
76
76
|
})
|
|
77
77
|
}));
|
|
78
|
-
},
|
|
78
|
+
}, Yt = Object.freeze({
|
|
79
79
|
// See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
|
|
80
80
|
position: "absolute",
|
|
81
81
|
border: 0,
|
|
@@ -87,30 +87,30 @@ var Gt = function(e) {
|
|
|
87
87
|
clip: "rect(0, 0, 0, 0)",
|
|
88
88
|
whiteSpace: "nowrap",
|
|
89
89
|
wordWrap: "normal"
|
|
90
|
-
}),
|
|
90
|
+
}), qt = "VisuallyHidden", X = l.forwardRef(
|
|
91
91
|
(t, e) => /* @__PURE__ */ r(
|
|
92
|
-
|
|
92
|
+
D.span,
|
|
93
93
|
{
|
|
94
94
|
...t,
|
|
95
95
|
ref: e,
|
|
96
|
-
style: { ...
|
|
96
|
+
style: { ...Yt, ...t.style }
|
|
97
97
|
}
|
|
98
98
|
)
|
|
99
99
|
);
|
|
100
|
-
X.displayName =
|
|
101
|
-
var Zt = X,
|
|
100
|
+
X.displayName = qt;
|
|
101
|
+
var Zt = X, k = "Dialog", [Q, yr] = Et(k), [Kt, w] = Q(k), tt = (t) => {
|
|
102
102
|
const {
|
|
103
103
|
__scopeDialog: e,
|
|
104
104
|
children: o,
|
|
105
105
|
open: n,
|
|
106
|
-
defaultOpen:
|
|
107
|
-
onOpenChange:
|
|
106
|
+
defaultOpen: i,
|
|
107
|
+
onOpenChange: s,
|
|
108
108
|
modal: u = !0
|
|
109
|
-
} = t, p = l.useRef(null), h = l.useRef(null), [f,
|
|
109
|
+
} = t, p = l.useRef(null), h = l.useRef(null), [f, x] = St({
|
|
110
110
|
prop: n,
|
|
111
|
-
defaultProp:
|
|
112
|
-
onChange:
|
|
113
|
-
caller:
|
|
111
|
+
defaultProp: i ?? !1,
|
|
112
|
+
onChange: s,
|
|
113
|
+
caller: k
|
|
114
114
|
});
|
|
115
115
|
return /* @__PURE__ */ r(
|
|
116
116
|
Kt,
|
|
@@ -118,61 +118,61 @@ var Zt = X, T = "Dialog", [Q, br] = Et(T), [Kt, w] = Q(T), tt = (t) => {
|
|
|
118
118
|
scope: e,
|
|
119
119
|
triggerRef: p,
|
|
120
120
|
contentRef: h,
|
|
121
|
-
contentId:
|
|
122
|
-
titleId:
|
|
123
|
-
descriptionId:
|
|
121
|
+
contentId: j(),
|
|
122
|
+
titleId: j(),
|
|
123
|
+
descriptionId: j(),
|
|
124
124
|
open: f,
|
|
125
|
-
onOpenChange:
|
|
126
|
-
onOpenToggle: l.useCallback(() =>
|
|
125
|
+
onOpenChange: x,
|
|
126
|
+
onOpenToggle: l.useCallback(() => x((T) => !T), [x]),
|
|
127
127
|
modal: u,
|
|
128
128
|
children: o
|
|
129
129
|
}
|
|
130
130
|
);
|
|
131
131
|
};
|
|
132
|
-
tt.displayName =
|
|
132
|
+
tt.displayName = k;
|
|
133
133
|
var et = "DialogTrigger", rt = l.forwardRef(
|
|
134
134
|
(t, e) => {
|
|
135
|
-
const { __scopeDialog: o, ...n } = t,
|
|
135
|
+
const { __scopeDialog: o, ...n } = t, i = w(et, o), s = z(e, i.triggerRef);
|
|
136
136
|
return /* @__PURE__ */ r(
|
|
137
|
-
|
|
137
|
+
D.button,
|
|
138
138
|
{
|
|
139
139
|
type: "button",
|
|
140
140
|
"aria-haspopup": "dialog",
|
|
141
|
-
"aria-expanded":
|
|
142
|
-
"aria-controls":
|
|
143
|
-
"data-state":
|
|
141
|
+
"aria-expanded": i.open,
|
|
142
|
+
"aria-controls": i.contentId,
|
|
143
|
+
"data-state": B(i.open),
|
|
144
144
|
...n,
|
|
145
|
-
ref:
|
|
146
|
-
onClick: S(t.onClick,
|
|
145
|
+
ref: s,
|
|
146
|
+
onClick: S(t.onClick, i.onOpenToggle)
|
|
147
147
|
}
|
|
148
148
|
);
|
|
149
149
|
}
|
|
150
150
|
);
|
|
151
151
|
rt.displayName = et;
|
|
152
|
-
var
|
|
152
|
+
var U = "DialogPortal", [Xt, ot] = Q(U, {
|
|
153
153
|
forceMount: void 0
|
|
154
154
|
}), nt = (t) => {
|
|
155
|
-
const { __scopeDialog: e, forceMount: o, children: n, container:
|
|
156
|
-
return /* @__PURE__ */ r(Xt, { scope: e, forceMount: o, children: l.Children.map(n, (u) => /* @__PURE__ */ r(
|
|
155
|
+
const { __scopeDialog: e, forceMount: o, children: n, container: i } = t, s = w(U, e);
|
|
156
|
+
return /* @__PURE__ */ r(Xt, { scope: e, forceMount: o, children: l.Children.map(n, (u) => /* @__PURE__ */ r(F, { present: o || s.open, children: /* @__PURE__ */ r(Mt, { asChild: !0, container: i, children: u }) })) });
|
|
157
157
|
};
|
|
158
|
-
nt.displayName =
|
|
159
|
-
var R = "DialogOverlay",
|
|
158
|
+
nt.displayName = U;
|
|
159
|
+
var R = "DialogOverlay", st = l.forwardRef(
|
|
160
160
|
(t, e) => {
|
|
161
|
-
const o = ot(R, t.__scopeDialog), { forceMount: n = o.forceMount, ...
|
|
162
|
-
return
|
|
161
|
+
const o = ot(R, t.__scopeDialog), { forceMount: n = o.forceMount, ...i } = t, s = w(R, t.__scopeDialog);
|
|
162
|
+
return s.modal ? /* @__PURE__ */ r(F, { present: n || s.open, children: /* @__PURE__ */ r(te, { ...i, ref: e }) }) : null;
|
|
163
163
|
}
|
|
164
164
|
);
|
|
165
|
-
|
|
165
|
+
st.displayName = R;
|
|
166
166
|
var Qt = Rt("DialogOverlay.RemoveScroll"), te = l.forwardRef(
|
|
167
167
|
(t, e) => {
|
|
168
|
-
const { __scopeDialog: o, ...n } = t,
|
|
168
|
+
const { __scopeDialog: o, ...n } = t, i = w(R, o);
|
|
169
169
|
return (
|
|
170
170
|
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
171
171
|
// ie. when `Overlay` and `Content` are siblings
|
|
172
|
-
/* @__PURE__ */ r(At, { as: Qt, allowPinchZoom: !0, shards: [
|
|
173
|
-
|
|
172
|
+
/* @__PURE__ */ r(At, { as: Qt, allowPinchZoom: !0, shards: [i.contentRef], children: /* @__PURE__ */ r(
|
|
173
|
+
D.div,
|
|
174
174
|
{
|
|
175
|
-
"data-state":
|
|
175
|
+
"data-state": B(i.open),
|
|
176
176
|
...n,
|
|
177
177
|
ref: e,
|
|
178
178
|
style: { pointerEvents: "auto", ...n.style }
|
|
@@ -180,43 +180,43 @@ var Qt = Rt("DialogOverlay.RemoveScroll"), te = l.forwardRef(
|
|
|
180
180
|
) })
|
|
181
181
|
);
|
|
182
182
|
}
|
|
183
|
-
),
|
|
183
|
+
), _ = "DialogContent", it = l.forwardRef(
|
|
184
184
|
(t, e) => {
|
|
185
|
-
const o = ot(
|
|
186
|
-
return /* @__PURE__ */ r(
|
|
185
|
+
const o = ot(_, t.__scopeDialog), { forceMount: n = o.forceMount, ...i } = t, s = w(_, t.__scopeDialog);
|
|
186
|
+
return /* @__PURE__ */ r(F, { present: n || s.open, children: s.modal ? /* @__PURE__ */ r(ee, { ...i, ref: e }) : /* @__PURE__ */ r(re, { ...i, ref: e }) });
|
|
187
187
|
}
|
|
188
188
|
);
|
|
189
|
-
|
|
189
|
+
it.displayName = _;
|
|
190
190
|
var ee = l.forwardRef(
|
|
191
191
|
(t, e) => {
|
|
192
|
-
const o = w(
|
|
192
|
+
const o = w(_, t.__scopeDialog), n = l.useRef(null), i = z(e, o.contentRef, n);
|
|
193
193
|
return l.useEffect(() => {
|
|
194
|
-
const
|
|
195
|
-
if (
|
|
194
|
+
const s = n.current;
|
|
195
|
+
if (s) return It(s);
|
|
196
196
|
}, []), /* @__PURE__ */ r(
|
|
197
197
|
at,
|
|
198
198
|
{
|
|
199
199
|
...t,
|
|
200
|
-
ref:
|
|
200
|
+
ref: i,
|
|
201
201
|
trapFocus: o.open,
|
|
202
202
|
disableOutsidePointerEvents: !0,
|
|
203
|
-
onCloseAutoFocus: S(t.onCloseAutoFocus, (
|
|
204
|
-
|
|
203
|
+
onCloseAutoFocus: S(t.onCloseAutoFocus, (s) => {
|
|
204
|
+
s.preventDefault(), o.triggerRef.current?.focus();
|
|
205
205
|
}),
|
|
206
|
-
onPointerDownOutside: S(t.onPointerDownOutside, (
|
|
207
|
-
const u =
|
|
208
|
-
(u.button === 2 || p) &&
|
|
206
|
+
onPointerDownOutside: S(t.onPointerDownOutside, (s) => {
|
|
207
|
+
const u = s.detail.originalEvent, p = u.button === 0 && u.ctrlKey === !0;
|
|
208
|
+
(u.button === 2 || p) && s.preventDefault();
|
|
209
209
|
}),
|
|
210
210
|
onFocusOutside: S(
|
|
211
211
|
t.onFocusOutside,
|
|
212
|
-
(
|
|
212
|
+
(s) => s.preventDefault()
|
|
213
213
|
)
|
|
214
214
|
}
|
|
215
215
|
);
|
|
216
216
|
}
|
|
217
217
|
), re = l.forwardRef(
|
|
218
218
|
(t, e) => {
|
|
219
|
-
const o = w(
|
|
219
|
+
const o = w(_, t.__scopeDialog), n = l.useRef(!1), i = l.useRef(!1);
|
|
220
220
|
return /* @__PURE__ */ r(
|
|
221
221
|
at,
|
|
222
222
|
{
|
|
@@ -224,37 +224,37 @@ var ee = l.forwardRef(
|
|
|
224
224
|
ref: e,
|
|
225
225
|
trapFocus: !1,
|
|
226
226
|
disableOutsidePointerEvents: !1,
|
|
227
|
-
onCloseAutoFocus: (
|
|
228
|
-
t.onCloseAutoFocus?.(
|
|
227
|
+
onCloseAutoFocus: (s) => {
|
|
228
|
+
t.onCloseAutoFocus?.(s), s.defaultPrevented || (n.current || o.triggerRef.current?.focus(), s.preventDefault()), n.current = !1, i.current = !1;
|
|
229
229
|
},
|
|
230
|
-
onInteractOutside: (
|
|
231
|
-
t.onInteractOutside?.(
|
|
232
|
-
const u =
|
|
233
|
-
o.triggerRef.current?.contains(u) &&
|
|
230
|
+
onInteractOutside: (s) => {
|
|
231
|
+
t.onInteractOutside?.(s), s.defaultPrevented || (n.current = !0, s.detail.originalEvent.type === "pointerdown" && (i.current = !0));
|
|
232
|
+
const u = s.target;
|
|
233
|
+
o.triggerRef.current?.contains(u) && s.preventDefault(), s.detail.originalEvent.type === "focusin" && i.current && s.preventDefault();
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
);
|
|
237
237
|
}
|
|
238
238
|
), at = l.forwardRef(
|
|
239
239
|
(t, e) => {
|
|
240
|
-
const { __scopeDialog: o, trapFocus: n, onOpenAutoFocus:
|
|
241
|
-
return Lt(), /* @__PURE__ */ a(
|
|
240
|
+
const { __scopeDialog: o, trapFocus: n, onOpenAutoFocus: i, onCloseAutoFocus: s, ...u } = t, p = w(_, o), h = l.useRef(null), f = z(e, h);
|
|
241
|
+
return Lt(), /* @__PURE__ */ a(O, { children: [
|
|
242
242
|
/* @__PURE__ */ r(
|
|
243
|
-
|
|
243
|
+
Gt,
|
|
244
244
|
{
|
|
245
245
|
asChild: !0,
|
|
246
246
|
loop: !0,
|
|
247
247
|
trapped: n,
|
|
248
|
-
onMountAutoFocus:
|
|
249
|
-
onUnmountAutoFocus:
|
|
248
|
+
onMountAutoFocus: i,
|
|
249
|
+
onUnmountAutoFocus: s,
|
|
250
250
|
children: /* @__PURE__ */ r(
|
|
251
|
-
|
|
251
|
+
kt,
|
|
252
252
|
{
|
|
253
253
|
role: "dialog",
|
|
254
254
|
id: p.contentId,
|
|
255
255
|
"aria-describedby": p.descriptionId,
|
|
256
256
|
"aria-labelledby": p.titleId,
|
|
257
|
-
"data-state":
|
|
257
|
+
"data-state": B(p.open),
|
|
258
258
|
...u,
|
|
259
259
|
ref: f,
|
|
260
260
|
onDismiss: () => p.onOpenChange(!1)
|
|
@@ -262,49 +262,49 @@ var ee = l.forwardRef(
|
|
|
262
262
|
)
|
|
263
263
|
}
|
|
264
264
|
),
|
|
265
|
-
/* @__PURE__ */ a(
|
|
266
|
-
/* @__PURE__ */ r(
|
|
265
|
+
/* @__PURE__ */ a(O, { children: [
|
|
266
|
+
/* @__PURE__ */ r(se, { titleId: p.titleId }),
|
|
267
267
|
/* @__PURE__ */ r(ae, { contentRef: h, descriptionId: p.descriptionId })
|
|
268
268
|
] })
|
|
269
269
|
] });
|
|
270
270
|
}
|
|
271
|
-
),
|
|
271
|
+
), W = "DialogTitle", ct = l.forwardRef(
|
|
272
272
|
(t, e) => {
|
|
273
|
-
const { __scopeDialog: o, ...n } = t,
|
|
274
|
-
return /* @__PURE__ */ r(
|
|
273
|
+
const { __scopeDialog: o, ...n } = t, i = w(W, o);
|
|
274
|
+
return /* @__PURE__ */ r(D.h2, { id: i.titleId, ...n, ref: e });
|
|
275
275
|
}
|
|
276
276
|
);
|
|
277
|
-
ct.displayName =
|
|
277
|
+
ct.displayName = W;
|
|
278
278
|
var lt = "DialogDescription", oe = l.forwardRef(
|
|
279
279
|
(t, e) => {
|
|
280
|
-
const { __scopeDialog: o, ...n } = t,
|
|
281
|
-
return /* @__PURE__ */ r(
|
|
280
|
+
const { __scopeDialog: o, ...n } = t, i = w(lt, o);
|
|
281
|
+
return /* @__PURE__ */ r(D.p, { id: i.descriptionId, ...n, ref: e });
|
|
282
282
|
}
|
|
283
283
|
);
|
|
284
284
|
oe.displayName = lt;
|
|
285
285
|
var ht = "DialogClose", ne = l.forwardRef(
|
|
286
286
|
(t, e) => {
|
|
287
|
-
const { __scopeDialog: o, ...n } = t,
|
|
287
|
+
const { __scopeDialog: o, ...n } = t, i = w(ht, o);
|
|
288
288
|
return /* @__PURE__ */ r(
|
|
289
|
-
|
|
289
|
+
D.button,
|
|
290
290
|
{
|
|
291
291
|
type: "button",
|
|
292
292
|
...n,
|
|
293
293
|
ref: e,
|
|
294
|
-
onClick: S(t.onClick, () =>
|
|
294
|
+
onClick: S(t.onClick, () => i.onOpenChange(!1))
|
|
295
295
|
}
|
|
296
296
|
);
|
|
297
297
|
}
|
|
298
298
|
);
|
|
299
299
|
ne.displayName = ht;
|
|
300
|
-
function
|
|
300
|
+
function B(t) {
|
|
301
301
|
return t ? "open" : "closed";
|
|
302
302
|
}
|
|
303
|
-
var dt = "DialogTitleWarning", [
|
|
304
|
-
contentName:
|
|
305
|
-
titleName:
|
|
303
|
+
var dt = "DialogTitleWarning", [Cr, ut] = Tt(dt, {
|
|
304
|
+
contentName: _,
|
|
305
|
+
titleName: W,
|
|
306
306
|
docsSlug: "dialog"
|
|
307
|
-
}),
|
|
307
|
+
}), se = ({ titleId: t }) => {
|
|
308
308
|
const e = ut(dt), o = `\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
|
|
309
309
|
|
|
310
310
|
If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
@@ -313,26 +313,26 @@ For more information, see https://radix-ui.com/primitives/docs/components/${e.do
|
|
|
313
313
|
return l.useEffect(() => {
|
|
314
314
|
t && (document.getElementById(t) || console.error(o));
|
|
315
315
|
}, [o, t]), null;
|
|
316
|
-
},
|
|
317
|
-
const n = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${ut(
|
|
316
|
+
}, ie = "DialogDescriptionWarning", ae = ({ contentRef: t, descriptionId: e }) => {
|
|
317
|
+
const n = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${ut(ie).contentName}}.`;
|
|
318
318
|
return l.useEffect(() => {
|
|
319
|
-
const
|
|
320
|
-
e &&
|
|
319
|
+
const i = t.current?.getAttribute("aria-describedby");
|
|
320
|
+
e && i && (document.getElementById(e) || console.warn(n));
|
|
321
321
|
}, [n, t, e]), null;
|
|
322
|
-
}, ce = tt, le = rt, he = nt, de =
|
|
322
|
+
}, ce = tt, le = rt, he = nt, de = st, ue = it, pe = ct, pt = {
|
|
323
323
|
color: void 0,
|
|
324
324
|
size: void 0,
|
|
325
325
|
className: void 0,
|
|
326
326
|
style: void 0,
|
|
327
327
|
attr: void 0
|
|
328
|
-
},
|
|
328
|
+
}, q = C.createContext && /* @__PURE__ */ C.createContext(pt), ge = ["attr", "size", "title"];
|
|
329
329
|
function me(t, e) {
|
|
330
330
|
if (t == null) return {};
|
|
331
|
-
var o = we(t, e), n,
|
|
331
|
+
var o = we(t, e), n, i;
|
|
332
332
|
if (Object.getOwnPropertySymbols) {
|
|
333
|
-
var
|
|
334
|
-
for (
|
|
335
|
-
n = i
|
|
333
|
+
var s = Object.getOwnPropertySymbols(t);
|
|
334
|
+
for (i = 0; i < s.length; i++)
|
|
335
|
+
n = s[i], !(e.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(t, n) && (o[n] = t[n]);
|
|
336
336
|
}
|
|
337
337
|
return o;
|
|
338
338
|
}
|
|
@@ -360,8 +360,8 @@ function Z(t, e) {
|
|
|
360
360
|
var o = Object.keys(t);
|
|
361
361
|
if (Object.getOwnPropertySymbols) {
|
|
362
362
|
var n = Object.getOwnPropertySymbols(t);
|
|
363
|
-
e && (n = n.filter(function(
|
|
364
|
-
return Object.getOwnPropertyDescriptor(t,
|
|
363
|
+
e && (n = n.filter(function(i) {
|
|
364
|
+
return Object.getOwnPropertyDescriptor(t, i).enumerable;
|
|
365
365
|
})), o.push.apply(o, n);
|
|
366
366
|
}
|
|
367
367
|
return o;
|
|
@@ -381,10 +381,10 @@ function fe(t, e, o) {
|
|
|
381
381
|
return e = ve(e), e in t ? Object.defineProperty(t, e, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = o, t;
|
|
382
382
|
}
|
|
383
383
|
function ve(t) {
|
|
384
|
-
var e =
|
|
384
|
+
var e = be(t, "string");
|
|
385
385
|
return typeof e == "symbol" ? e : e + "";
|
|
386
386
|
}
|
|
387
|
-
function
|
|
387
|
+
function be(t, e) {
|
|
388
388
|
if (typeof t != "object" || !t) return t;
|
|
389
389
|
var o = t[Symbol.toPrimitive];
|
|
390
390
|
if (o !== void 0) {
|
|
@@ -395,23 +395,23 @@ function ye(t, e) {
|
|
|
395
395
|
return (e === "string" ? String : Number)(t);
|
|
396
396
|
}
|
|
397
397
|
function gt(t) {
|
|
398
|
-
return t && t.map((e, o) => /* @__PURE__ */
|
|
398
|
+
return t && t.map((e, o) => /* @__PURE__ */ C.createElement(e.tag, L({
|
|
399
399
|
key: o
|
|
400
400
|
}, e.attr), gt(e.child)));
|
|
401
401
|
}
|
|
402
|
-
function
|
|
403
|
-
return (e) => /* @__PURE__ */
|
|
402
|
+
function y(t) {
|
|
403
|
+
return (e) => /* @__PURE__ */ C.createElement(ye, I({
|
|
404
404
|
attr: L({}, t.attr)
|
|
405
405
|
}, e), gt(t.child));
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function ye(t) {
|
|
408
408
|
var e = (o) => {
|
|
409
409
|
var {
|
|
410
410
|
attr: n,
|
|
411
|
-
size:
|
|
412
|
-
title:
|
|
413
|
-
} = t, u = me(t, ge), p =
|
|
414
|
-
return o.className && (h = o.className), t.className && (h = (h ? h + " " : "") + t.className), /* @__PURE__ */
|
|
411
|
+
size: i,
|
|
412
|
+
title: s
|
|
413
|
+
} = t, u = me(t, ge), p = i || o.size || "1em", h;
|
|
414
|
+
return o.className && (h = o.className), t.className && (h = (h ? h + " " : "") + t.className), /* @__PURE__ */ C.createElement("svg", I({
|
|
415
415
|
stroke: "currentColor",
|
|
416
416
|
fill: "currentColor",
|
|
417
417
|
strokeWidth: "0"
|
|
@@ -423,75 +423,75 @@ function be(t) {
|
|
|
423
423
|
height: p,
|
|
424
424
|
width: p,
|
|
425
425
|
xmlns: "http://www.w3.org/2000/svg"
|
|
426
|
-
}),
|
|
426
|
+
}), s && /* @__PURE__ */ C.createElement("title", null, s), t.children);
|
|
427
427
|
};
|
|
428
|
-
return
|
|
428
|
+
return q !== void 0 ? /* @__PURE__ */ C.createElement(q.Consumer, null, (o) => e(o)) : e(pt);
|
|
429
429
|
}
|
|
430
430
|
function mt(t) {
|
|
431
|
-
return
|
|
431
|
+
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);
|
|
432
432
|
}
|
|
433
|
-
function
|
|
434
|
-
return
|
|
433
|
+
function Ce(t) {
|
|
434
|
+
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);
|
|
435
435
|
}
|
|
436
436
|
function wt(t) {
|
|
437
|
-
return
|
|
437
|
+
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);
|
|
438
438
|
}
|
|
439
|
-
function
|
|
440
|
-
return
|
|
439
|
+
function _e(t) {
|
|
440
|
+
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);
|
|
441
441
|
}
|
|
442
|
-
function
|
|
443
|
-
return
|
|
442
|
+
function xe(t) {
|
|
443
|
+
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);
|
|
444
444
|
}
|
|
445
445
|
function ft(t) {
|
|
446
|
-
return
|
|
446
|
+
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);
|
|
447
447
|
}
|
|
448
448
|
function vt(t) {
|
|
449
|
-
return
|
|
449
|
+
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);
|
|
450
450
|
}
|
|
451
|
-
function
|
|
452
|
-
return
|
|
451
|
+
function De(t) {
|
|
452
|
+
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);
|
|
453
453
|
}
|
|
454
|
-
const
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
454
|
+
const Ne = "wUsx_G_bottom", Pe = "wUsx_G_bottomLinks", Oe = "wUsx_G_discord", Se = "wUsx_G_discordAvatars", Ee = "wUsx_G_discordAvatarStatus", Me = "wUsx_G_discordContent", Ae = "wUsx_G_discordJoin", Re = "wUsx_G_discordMembers", Ie = "wUsx_G_discordPlus", Le = "wUsx_G_error", Ge = "wUsx_G_footer", ke = "wUsx_G_help", Te = "wUsx_G_helpBall", je = "wUsx_G_helpContent", ze = "wUsx_G_helpItem", Fe = "wUsx_G_helpWays", Ue = "wUsx_G_highcharts", We = "wUsx_G_links", Be = "wUsx_G_logo", He = "wUsx_G_newsletter", Ve = "wUsx_G_newsletterContent", $e = "wUsx_G_newsletterError", Je = "wUsx_G_norway", Ye = "wUsx_G_notCharts", qe = "wUsx_G_online", Ze = "wUsx_G_socials", Ke = "wUsx_G_success", Xe = "wUsx_G_tabletBottomLeft", Qe = "wUsx_G_tagged", tr = "wUsx_G_top", er = "wUsx_G_youtube", rr = "wUsx_G_youtubeContent", or = "wUsx_G_youtubeOverlay", c = {
|
|
455
|
+
bottom: Ne,
|
|
456
|
+
bottomLinks: Pe,
|
|
457
|
+
discord: Oe,
|
|
458
|
+
discordAvatars: Se,
|
|
459
|
+
discordAvatarStatus: Ee,
|
|
460
|
+
discordContent: Me,
|
|
461
|
+
discordJoin: Ae,
|
|
462
|
+
discordMembers: Re,
|
|
463
|
+
discordPlus: Ie,
|
|
464
|
+
error: Le,
|
|
465
|
+
footer: Ge,
|
|
466
|
+
help: ke,
|
|
467
|
+
helpBall: Te,
|
|
468
|
+
helpContent: je,
|
|
469
|
+
helpItem: ze,
|
|
470
|
+
helpWays: Fe,
|
|
471
|
+
highcharts: Ue,
|
|
472
|
+
links: We,
|
|
473
|
+
logo: Be,
|
|
474
|
+
newsletter: He,
|
|
475
|
+
newsletterContent: Ve,
|
|
476
|
+
newsletterError: $e,
|
|
477
|
+
norway: Je,
|
|
478
|
+
notCharts: Ye,
|
|
479
|
+
online: qe,
|
|
480
|
+
socials: Ze,
|
|
481
|
+
success: Ke,
|
|
482
|
+
tabletBottomLeft: Xe,
|
|
483
|
+
tagged: Qe,
|
|
484
|
+
top: tr,
|
|
485
|
+
youtube: er,
|
|
486
|
+
youtubeContent: rr,
|
|
487
|
+
youtubeOverlay: or
|
|
488
488
|
};
|
|
489
489
|
function A(t, e) {
|
|
490
490
|
return e ? t.replace(e, "") : t;
|
|
491
491
|
}
|
|
492
492
|
const nr = [
|
|
493
493
|
{
|
|
494
|
-
icon: /* @__PURE__ */ r(
|
|
494
|
+
icon: /* @__PURE__ */ r(Jt, {}),
|
|
495
495
|
subtitle: "Ask tech and sales questions with",
|
|
496
496
|
title: "Highcharts GPT",
|
|
497
497
|
url: "https://www.highcharts.com/chat/gpt/"
|
|
@@ -509,12 +509,12 @@ const nr = [
|
|
|
509
509
|
url: "https://github.com/highcharts/highcharts/issues"
|
|
510
510
|
},
|
|
511
511
|
{
|
|
512
|
-
icon: /* @__PURE__ */ r(
|
|
512
|
+
icon: /* @__PURE__ */ r($t, {}),
|
|
513
513
|
subtitle: "Contact sales about",
|
|
514
514
|
title: "Licensing Options",
|
|
515
515
|
url: "https://shop.highcharts.com/contact"
|
|
516
516
|
}
|
|
517
|
-
],
|
|
517
|
+
], sr = {
|
|
518
518
|
Products: [
|
|
519
519
|
{
|
|
520
520
|
title: "Core",
|
|
@@ -546,19 +546,31 @@ const nr = [
|
|
|
546
546
|
}
|
|
547
547
|
],
|
|
548
548
|
Integrations: [
|
|
549
|
+
{
|
|
550
|
+
title: "React",
|
|
551
|
+
url: "https://www.highcharts.com/integrations/react/"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
title: "TypeScript",
|
|
555
|
+
url: "https://www.highcharts.com/integrations/typescript/"
|
|
556
|
+
},
|
|
549
557
|
{
|
|
550
558
|
title: "Angular",
|
|
551
559
|
url: "https://www.highcharts.com/integrations/angular/"
|
|
552
560
|
},
|
|
553
561
|
{
|
|
554
|
-
title: "
|
|
555
|
-
url: "https://www.highcharts.com/integrations/
|
|
556
|
-
tag: "New"
|
|
562
|
+
title: "Vue",
|
|
563
|
+
url: "https://www.highcharts.com/integrations/vue/"
|
|
557
564
|
},
|
|
558
565
|
{
|
|
559
566
|
title: "JavaScript",
|
|
560
567
|
url: "https://www.highcharts.com/integrations/javascript/"
|
|
561
568
|
},
|
|
569
|
+
{
|
|
570
|
+
title: "Flutter",
|
|
571
|
+
url: "https://www.highcharts.com/integrations/flutter/",
|
|
572
|
+
tag: "New"
|
|
573
|
+
},
|
|
562
574
|
{
|
|
563
575
|
title: "Node.js",
|
|
564
576
|
url: "https://www.highcharts.com/integrations/node/"
|
|
@@ -567,21 +579,9 @@ const nr = [
|
|
|
567
579
|
title: "Python",
|
|
568
580
|
url: "https://www.highcharts.com/integrations/python/"
|
|
569
581
|
},
|
|
570
|
-
{
|
|
571
|
-
title: "React",
|
|
572
|
-
url: "https://www.highcharts.com/integrations/react/"
|
|
573
|
-
},
|
|
574
582
|
{
|
|
575
583
|
title: "Svelte",
|
|
576
584
|
url: "https://www.highcharts.com/integrations/svelte/"
|
|
577
|
-
},
|
|
578
|
-
{
|
|
579
|
-
title: "TypeScript",
|
|
580
|
-
url: "https://www.highcharts.com/integrations/typescript/"
|
|
581
|
-
},
|
|
582
|
-
{
|
|
583
|
-
title: "Vue",
|
|
584
|
-
url: "https://www.highcharts.com/integrations/vue/"
|
|
585
585
|
}
|
|
586
586
|
],
|
|
587
587
|
Documentation: [
|
|
@@ -733,7 +733,7 @@ const nr = [
|
|
|
733
733
|
url: "https://www.highcharts.com/chat/gpt/"
|
|
734
734
|
}
|
|
735
735
|
]
|
|
736
|
-
},
|
|
736
|
+
}, ir = [
|
|
737
737
|
{
|
|
738
738
|
icon: /* @__PURE__ */ r(ft, {}),
|
|
739
739
|
url: "https://stackoverflow.com/questions/tagged/highcharts",
|
|
@@ -745,22 +745,22 @@ const nr = [
|
|
|
745
745
|
label: "GitHub"
|
|
746
746
|
},
|
|
747
747
|
{
|
|
748
|
-
icon: /* @__PURE__ */ r(
|
|
748
|
+
icon: /* @__PURE__ */ r(De, {}),
|
|
749
749
|
url: "https://twitter.com/Highcharts",
|
|
750
750
|
label: "X"
|
|
751
751
|
},
|
|
752
752
|
{
|
|
753
|
-
icon: /* @__PURE__ */ r(
|
|
753
|
+
icon: /* @__PURE__ */ r(Ce, {}),
|
|
754
754
|
url: "https://www.facebook.com/Highcharts",
|
|
755
755
|
label: "Facebook"
|
|
756
756
|
},
|
|
757
757
|
{
|
|
758
|
-
icon: /* @__PURE__ */ r(
|
|
758
|
+
icon: /* @__PURE__ */ r(_e, {}),
|
|
759
759
|
url: "https://www.instagram.com/highcharts",
|
|
760
760
|
label: "Instagram"
|
|
761
761
|
},
|
|
762
762
|
{
|
|
763
|
-
icon: /* @__PURE__ */ r(
|
|
763
|
+
icon: /* @__PURE__ */ r(xe, {}),
|
|
764
764
|
url: "https://www.linkedin.com/company/highsoft",
|
|
765
765
|
label: "LinkedIn"
|
|
766
766
|
},
|
|
@@ -776,18 +776,18 @@ const nr = [
|
|
|
776
776
|
}
|
|
777
777
|
];
|
|
778
778
|
function ar() {
|
|
779
|
-
const [t, e] =
|
|
779
|
+
const [t, e] = Bt(), o = "npm install highcharts --save";
|
|
780
780
|
return /* @__PURE__ */ a(K, { variant: "neutral", onClick: () => t(o), children: [
|
|
781
781
|
o,
|
|
782
|
-
e ? /* @__PURE__ */ r(
|
|
782
|
+
e ? /* @__PURE__ */ r(jt, {}) : /* @__PURE__ */ r(Ht, {})
|
|
783
783
|
] });
|
|
784
784
|
}
|
|
785
|
-
function
|
|
785
|
+
function _r({
|
|
786
786
|
link: t = "a",
|
|
787
787
|
host: e = "https://www.highcharts.com"
|
|
788
788
|
}) {
|
|
789
|
-
const o =
|
|
790
|
-
|
|
789
|
+
const o = $(null), n = $(null), [i, s] = P(!1), [u, p] = P(!1), [h, f] = P(""), [x, T] = P(0), [bt, yt] = P(), Ct = J("(max-width: 849px)"), _t = J("(min-width: 850px) and (max-width: 999px)");
|
|
790
|
+
Pt(() => {
|
|
791
791
|
if (n.current) {
|
|
792
792
|
const g = async () => {
|
|
793
793
|
try {
|
|
@@ -799,21 +799,21 @@ function Cr({
|
|
|
799
799
|
}
|
|
800
800
|
}, d = async () => {
|
|
801
801
|
try {
|
|
802
|
-
const
|
|
802
|
+
const b = await (await fetch(
|
|
803
803
|
"https://discord.com/api/guilds/1318933807059042305/widget.json"
|
|
804
804
|
)).json() || {};
|
|
805
|
-
return
|
|
805
|
+
return b.members = b.members || [], b;
|
|
806
806
|
} catch {
|
|
807
807
|
}
|
|
808
808
|
}, m = new IntersectionObserver(
|
|
809
809
|
async (v) => {
|
|
810
810
|
if (v[0].isIntersecting) {
|
|
811
811
|
m.disconnect();
|
|
812
|
-
const [
|
|
812
|
+
const [b, N] = await Promise.all([
|
|
813
813
|
g(),
|
|
814
814
|
d()
|
|
815
815
|
]);
|
|
816
|
-
|
|
816
|
+
T(b), yt(N);
|
|
817
817
|
}
|
|
818
818
|
},
|
|
819
819
|
{ rootMargin: "100px" }
|
|
@@ -821,9 +821,9 @@ function Cr({
|
|
|
821
821
|
return m.observe(n.current), () => m.disconnect();
|
|
822
822
|
}
|
|
823
823
|
}, [n.current]);
|
|
824
|
-
const E = !!h && h !== "Something went wrong",
|
|
825
|
-
E ?
|
|
826
|
-
},
|
|
824
|
+
const E = !!h && h !== "Something went wrong", xt = (g) => {
|
|
825
|
+
E ? Y(g.target.value) && f("") : h && f("");
|
|
826
|
+
}, Dt = async (g) => {
|
|
827
827
|
g.preventDefault();
|
|
828
828
|
const d = o.current;
|
|
829
829
|
if (d) {
|
|
@@ -835,11 +835,11 @@ function Cr({
|
|
|
835
835
|
E && d.focus();
|
|
836
836
|
return;
|
|
837
837
|
}
|
|
838
|
-
if (!
|
|
838
|
+
if (!Y(d.value)) {
|
|
839
839
|
f("Check the email format and try again"), d.focus();
|
|
840
840
|
return;
|
|
841
841
|
}
|
|
842
|
-
f(""),
|
|
842
|
+
f(""), s(!0);
|
|
843
843
|
try {
|
|
844
844
|
(await fetch(
|
|
845
845
|
"https://hc-dev.highcharts.com/wp-json/activecampaign/v1/newsletter-signup",
|
|
@@ -854,10 +854,10 @@ function Cr({
|
|
|
854
854
|
} catch {
|
|
855
855
|
f("Something went wrong");
|
|
856
856
|
} finally {
|
|
857
|
-
|
|
857
|
+
s(!1);
|
|
858
858
|
}
|
|
859
859
|
}
|
|
860
|
-
},
|
|
860
|
+
}, H = /* @__PURE__ */ a(O, { children: [
|
|
861
861
|
/* @__PURE__ */ a("span", { children: [
|
|
862
862
|
"© ",
|
|
863
863
|
(/* @__PURE__ */ new Date()).getFullYear(),
|
|
@@ -868,8 +868,8 @@ function Cr({
|
|
|
868
868
|
/* @__PURE__ */ r(t, { href: "#", children: "Accessibility Statement" }),
|
|
869
869
|
/* @__PURE__ */ r(t, { href: "#", children: "Sitemap" })
|
|
870
870
|
] })
|
|
871
|
-
] }),
|
|
872
|
-
return /* @__PURE__ */ a(
|
|
871
|
+
] }), V = /* @__PURE__ */ r("ul", { className: c.socials, children: ir.map(({ icon: g, url: d, label: m }, v) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ r("a", { href: d, "aria-label": m, children: g }) }, v)) });
|
|
872
|
+
return /* @__PURE__ */ a(zt, { as: "footer", className: c.footer, children: [
|
|
873
873
|
/* @__PURE__ */ a("div", { className: c.top, children: [
|
|
874
874
|
/* @__PURE__ */ a("div", { className: c.highcharts, children: [
|
|
875
875
|
/* @__PURE__ */ r(
|
|
@@ -877,7 +877,7 @@ function Cr({
|
|
|
877
877
|
{
|
|
878
878
|
className: c.logo,
|
|
879
879
|
href: A("https://www.highcharts.com/", e),
|
|
880
|
-
children: /* @__PURE__ */ r(
|
|
880
|
+
children: /* @__PURE__ */ r(Ft, {})
|
|
881
881
|
}
|
|
882
882
|
),
|
|
883
883
|
/* @__PURE__ */ r("p", { children: "We make it easy for developers to create charts and dashboards for web and mobile platforms." }),
|
|
@@ -922,20 +922,20 @@ function Cr({
|
|
|
922
922
|
"data-theme": u && "light",
|
|
923
923
|
children: [
|
|
924
924
|
/* @__PURE__ */ a("h2", { children: [
|
|
925
|
-
/* @__PURE__ */ r(
|
|
925
|
+
/* @__PURE__ */ r(Ot, {}),
|
|
926
926
|
"Stay in the Loop"
|
|
927
927
|
] }),
|
|
928
928
|
u ? /* @__PURE__ */ a("div", { className: c.newsletterContent, children: [
|
|
929
|
-
/* @__PURE__ */ r(
|
|
929
|
+
/* @__PURE__ */ r(Vt, {}),
|
|
930
930
|
"Check your inbox and confirm your email to finish signing up."
|
|
931
|
-
] }) : /* @__PURE__ */ a("form", { onSubmit:
|
|
931
|
+
] }) : /* @__PURE__ */ a("form", { onSubmit: Dt, children: [
|
|
932
932
|
/* @__PURE__ */ r(
|
|
933
933
|
"input",
|
|
934
934
|
{
|
|
935
935
|
className: M({ [c.error]: h }),
|
|
936
936
|
placeholder: "Email address",
|
|
937
937
|
"aria-invalid": E,
|
|
938
|
-
onChange:
|
|
938
|
+
onChange: xt,
|
|
939
939
|
ref: o
|
|
940
940
|
}
|
|
941
941
|
),
|
|
@@ -943,7 +943,7 @@ function Cr({
|
|
|
943
943
|
K,
|
|
944
944
|
{
|
|
945
945
|
variant: h ? "danger" : "brand",
|
|
946
|
-
loading:
|
|
946
|
+
loading: i,
|
|
947
947
|
children: "Sign up"
|
|
948
948
|
}
|
|
949
949
|
),
|
|
@@ -991,13 +991,13 @@ function Cr({
|
|
|
991
991
|
/* @__PURE__ */ a("p", { className: c.discordContent, children: [
|
|
992
992
|
/* @__PURE__ */ r("span", { className: c.discordJoin, children: "Join us" }),
|
|
993
993
|
" ",
|
|
994
|
-
!!
|
|
995
|
-
|
|
994
|
+
!!x && /* @__PURE__ */ a("span", { className: c.discordMembers, children: [
|
|
995
|
+
x,
|
|
996
996
|
" members"
|
|
997
997
|
] })
|
|
998
998
|
] }),
|
|
999
999
|
/* @__PURE__ */ a("ul", { className: c.discordAvatars, children: [
|
|
1000
|
-
|
|
1000
|
+
bt?.members.slice(0, 5).map(({ status: g, avatar_url: d }, m) => /* @__PURE__ */ a("li", { children: [
|
|
1001
1001
|
/* @__PURE__ */ r("img", { src: d }),
|
|
1002
1002
|
/* @__PURE__ */ r(
|
|
1003
1003
|
"span",
|
|
@@ -1020,11 +1020,11 @@ function Cr({
|
|
|
1020
1020
|
/* @__PURE__ */ r("span", { children: "Ways to get help" }),
|
|
1021
1021
|
/* @__PURE__ */ a("p", { children: [
|
|
1022
1022
|
"We operate in CET",
|
|
1023
|
-
|
|
1023
|
+
Ct ? " " : /* @__PURE__ */ r("br", {}),
|
|
1024
1024
|
"Monday - Friday"
|
|
1025
1025
|
] })
|
|
1026
1026
|
] }),
|
|
1027
|
-
nr.map(({ icon: g, subtitle: d, title: m, url: v },
|
|
1027
|
+
nr.map(({ icon: g, subtitle: d, title: m, url: v }, b) => /* @__PURE__ */ a(
|
|
1028
1028
|
t,
|
|
1029
1029
|
{
|
|
1030
1030
|
href: A(v, e),
|
|
@@ -1037,35 +1037,35 @@ function Cr({
|
|
|
1037
1037
|
] })
|
|
1038
1038
|
]
|
|
1039
1039
|
},
|
|
1040
|
-
|
|
1040
|
+
b
|
|
1041
1041
|
))
|
|
1042
1042
|
] }),
|
|
1043
1043
|
/* @__PURE__ */ a("div", { className: c.links, children: [
|
|
1044
|
-
Object.entries(
|
|
1044
|
+
Object.entries(sr).map(([g, d], m) => /* @__PURE__ */ a("div", { children: [
|
|
1045
1045
|
/* @__PURE__ */ r("h2", { children: g }),
|
|
1046
|
-
/* @__PURE__ */ r("ul", { children: d.map(({ title: v, url:
|
|
1046
|
+
/* @__PURE__ */ r("ul", { children: d.map(({ title: v, url: b, tag: N }, Nt) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ a(
|
|
1047
1047
|
t,
|
|
1048
1048
|
{
|
|
1049
|
-
href: A(
|
|
1050
|
-
className: M({ [c.tagged]:
|
|
1049
|
+
href: A(b, e),
|
|
1050
|
+
className: M({ [c.tagged]: N }),
|
|
1051
1051
|
children: [
|
|
1052
|
-
|
|
1053
|
-
|
|
1052
|
+
N ? /* @__PURE__ */ r("span", { children: v }) : v,
|
|
1053
|
+
N && /* @__PURE__ */ r(Ut, { variant: "brand", icon: !1, border: !0 })
|
|
1054
1054
|
]
|
|
1055
1055
|
}
|
|
1056
|
-
) },
|
|
1056
|
+
) }, Nt)) })
|
|
1057
1057
|
] }, m)),
|
|
1058
|
-
/* @__PURE__ */ r("div", { className: c.norway, children: /* @__PURE__ */ r(
|
|
1058
|
+
/* @__PURE__ */ r("div", { className: c.norway, children: /* @__PURE__ */ r(Wt, {}) })
|
|
1059
1059
|
] }),
|
|
1060
|
-
/* @__PURE__ */ r("div", { className: c.bottom, children:
|
|
1061
|
-
/* @__PURE__ */ r("div", { className: c.tabletBottomLeft, children:
|
|
1062
|
-
|
|
1063
|
-
] }) : /* @__PURE__ */ a(
|
|
1064
|
-
|
|
1065
|
-
|
|
1060
|
+
/* @__PURE__ */ r("div", { className: c.bottom, children: _t ? /* @__PURE__ */ a(O, { children: [
|
|
1061
|
+
/* @__PURE__ */ r("div", { className: c.tabletBottomLeft, children: H }),
|
|
1062
|
+
V
|
|
1063
|
+
] }) : /* @__PURE__ */ a(O, { children: [
|
|
1064
|
+
H,
|
|
1065
|
+
V
|
|
1066
1066
|
] }) })
|
|
1067
1067
|
] });
|
|
1068
1068
|
}
|
|
1069
1069
|
export {
|
|
1070
|
-
|
|
1070
|
+
_r as Footer
|
|
1071
1071
|
};
|