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