@nswds/app 0.1.12 → 0.1.14
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/index.cjs +487 -1044
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +235 -303
- package/dist/index.d.ts +235 -303
- package/dist/index.js +461 -1037
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1,24 +1,22 @@
|
|
|
1
|
-
'use strict'
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true })
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var reactSlot = require('@radix-ui/react-slot')
|
|
6
|
-
var classVarianceAuthority = require('class-variance-authority')
|
|
7
|
-
var jsxRuntime = require('react/jsx-runtime')
|
|
8
|
-
var react = require('react')
|
|
9
|
-
var Link3 = require('next/link')
|
|
10
|
-
var navigation = require('next/navigation')
|
|
11
|
-
var clsx = require('clsx')
|
|
12
|
-
var slugify = require('@sindresorhus/slugify')
|
|
13
|
-
var nextThemes = require('next-themes')
|
|
14
|
-
var tailwindMerge = require('tailwind-merge')
|
|
5
|
+
var reactSlot = require('@radix-ui/react-slot');
|
|
6
|
+
var classVarianceAuthority = require('class-variance-authority');
|
|
7
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
8
|
+
var react = require('react');
|
|
9
|
+
var Link3 = require('next/link');
|
|
10
|
+
var navigation = require('next/navigation');
|
|
11
|
+
var clsx = require('clsx');
|
|
12
|
+
var slugify = require('@sindresorhus/slugify');
|
|
13
|
+
var nextThemes = require('next-themes');
|
|
14
|
+
var tailwindMerge = require('tailwind-merge');
|
|
15
15
|
|
|
16
|
-
function _interopDefault(e) {
|
|
17
|
-
return e && e.__esModule ? e : { default: e }
|
|
18
|
-
}
|
|
16
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
19
17
|
|
|
20
|
-
var Link3__default = /*#__PURE__*/
|
|
21
|
-
var clsx__default = /*#__PURE__*/
|
|
18
|
+
var Link3__default = /*#__PURE__*/_interopDefault(Link3);
|
|
19
|
+
var clsx__default = /*#__PURE__*/_interopDefault(clsx);
|
|
22
20
|
|
|
23
21
|
// src/components/Button.tsx
|
|
24
22
|
var buttonVariants = classVarianceAuthority.cva(
|
|
@@ -26,1120 +24,563 @@ var buttonVariants = classVarianceAuthority.cva(
|
|
|
26
24
|
{
|
|
27
25
|
variants: {
|
|
28
26
|
variant: {
|
|
29
|
-
default:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
secondary:
|
|
36
|
-
'bg-zinc-100 text-zinc-900 shadow-xs hover:bg-zinc-100/80 dark:bg-zinc-800 dark:text-zinc-50 dark:hover:bg-zinc-800/80',
|
|
37
|
-
ghost:
|
|
38
|
-
'hover:bg-zinc-100 hover:text-zinc-900 dark:hover:bg-zinc-100/50 dark:hover:bg-zinc-800 dark:hover:text-zinc-50 dark:dark:hover:bg-zinc-800/50',
|
|
39
|
-
link: 'text-zinc-900 underline-offset-4 hover:underline dark:text-zinc-50',
|
|
27
|
+
default: "bg-zinc-900 text-zinc-50 shadow-xs hover:bg-zinc-900/90 dark:bg-zinc-50 dark:text-zinc-900 dark:hover:bg-zinc-50/90",
|
|
28
|
+
destructive: "bg-red-500 text-white shadow-xs hover:bg-red-500/90 focus-visible:ring-red-500/20 dark:focus-visible:ring-red-500/40 dark:bg-red-500/60 dark:bg-red-900 dark:hover:bg-red-900/90 dark:focus-visible:ring-red-900/20 dark:dark:focus-visible:ring-red-900/40 dark:dark:bg-red-900/60",
|
|
29
|
+
outline: "border bg-white shadow-xs hover:bg-zinc-100 hover:text-zinc-900 dark:bg-zinc-200/30 dark:border-zinc-200 dark:hover:bg-zinc-200/50 dark:bg-zinc-950 dark:hover:bg-zinc-800 dark:hover:text-zinc-50 dark:dark:bg-zinc-800/30 dark:dark:border-zinc-800 dark:dark:hover:bg-zinc-800/50",
|
|
30
|
+
secondary: "bg-zinc-100 text-zinc-900 shadow-xs hover:bg-zinc-100/80 dark:bg-zinc-800 dark:text-zinc-50 dark:hover:bg-zinc-800/80",
|
|
31
|
+
ghost: "hover:bg-zinc-100 hover:text-zinc-900 dark:hover:bg-zinc-100/50 dark:hover:bg-zinc-800 dark:hover:text-zinc-50 dark:dark:hover:bg-zinc-800/50",
|
|
32
|
+
link: "text-zinc-900 underline-offset-4 hover:underline dark:text-zinc-50"
|
|
40
33
|
},
|
|
41
34
|
size: {
|
|
42
|
-
default:
|
|
43
|
-
sm:
|
|
44
|
-
lg:
|
|
45
|
-
icon:
|
|
46
|
-
}
|
|
35
|
+
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
36
|
+
sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
|
|
37
|
+
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
|
|
38
|
+
icon: "size-9"
|
|
39
|
+
}
|
|
47
40
|
},
|
|
48
41
|
defaultVariants: {
|
|
49
|
-
variant:
|
|
50
|
-
size:
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
)
|
|
54
|
-
function Button({
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
42
|
+
variant: "default",
|
|
43
|
+
size: "default"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
function Button({
|
|
48
|
+
className,
|
|
49
|
+
variant,
|
|
50
|
+
size,
|
|
51
|
+
asChild = false,
|
|
52
|
+
...props
|
|
53
|
+
}) {
|
|
54
|
+
const Comp = asChild ? reactSlot.Slot : "button";
|
|
55
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
56
|
+
Comp,
|
|
57
|
+
{
|
|
58
|
+
"data-slot": "button",
|
|
59
|
+
className: cn(buttonVariants({ variant, size, className })),
|
|
60
|
+
...props
|
|
61
|
+
}
|
|
62
|
+
);
|
|
61
63
|
}
|
|
62
64
|
function DynamicFavicon({ lightModeFavicon, darkModeFavicon }) {
|
|
63
65
|
react.useEffect(() => {
|
|
64
66
|
const updateFavicon = () => {
|
|
65
|
-
const isDarkMode = window.matchMedia(
|
|
66
|
-
const favicon = document.querySelector("link[rel='icon']")
|
|
67
|
+
const isDarkMode = window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
68
|
+
const favicon = document.querySelector("link[rel='icon']");
|
|
67
69
|
if (favicon) {
|
|
68
|
-
favicon.href = isDarkMode ? darkModeFavicon : lightModeFavicon
|
|
70
|
+
favicon.href = isDarkMode ? darkModeFavicon : lightModeFavicon;
|
|
69
71
|
} else {
|
|
70
|
-
const newFavicon = document.createElement(
|
|
71
|
-
newFavicon.rel =
|
|
72
|
-
newFavicon.href = isDarkMode ? darkModeFavicon : lightModeFavicon
|
|
73
|
-
document.head.appendChild(newFavicon)
|
|
72
|
+
const newFavicon = document.createElement("link");
|
|
73
|
+
newFavicon.rel = "icon";
|
|
74
|
+
newFavicon.href = isDarkMode ? darkModeFavicon : lightModeFavicon;
|
|
75
|
+
document.head.appendChild(newFavicon);
|
|
74
76
|
}
|
|
75
|
-
}
|
|
76
|
-
updateFavicon()
|
|
77
|
-
const mediaQuery = window.matchMedia(
|
|
78
|
-
mediaQuery.addEventListener(
|
|
79
|
-
return () => mediaQuery.removeEventListener(
|
|
80
|
-
}, [lightModeFavicon, darkModeFavicon])
|
|
81
|
-
return null
|
|
77
|
+
};
|
|
78
|
+
updateFavicon();
|
|
79
|
+
const mediaQuery = window.matchMedia("(prefers-color-scheme: dark)");
|
|
80
|
+
mediaQuery.addEventListener("change", updateFavicon);
|
|
81
|
+
return () => mediaQuery.removeEventListener("change", updateFavicon);
|
|
82
|
+
}, [lightModeFavicon, darkModeFavicon]);
|
|
83
|
+
return null;
|
|
82
84
|
}
|
|
83
85
|
var Icons = {
|
|
84
|
-
logo: (props) =>
|
|
85
|
-
/* @__PURE__ */ jsxRuntime.
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
linkedin: (props) =>
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
...props,
|
|
206
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
207
|
-
d: 'm382-354 339-339q12-12 28-12t28 12q12 12 12 28.5T777-636L410-268q-12 12-28 12t-28-12L182-440q-12-12-11.5-28.5T183-497q12-12 28.5-12t28.5 12l142 143Z',
|
|
208
|
-
}),
|
|
209
|
-
}),
|
|
210
|
-
chevron_down: (props) =>
|
|
211
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
212
|
-
fill: 'currentColor',
|
|
213
|
-
viewBox: '0 -960 960 960',
|
|
214
|
-
...props,
|
|
215
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
216
|
-
d: 'M480-361q-8 0-15-2.5t-13-8.5L268-556q-11-11-11-28t11-28q11-11 28-11t28 11l156 156 156-156q11-11 28-11t28 11q11 11 11 28t-11 28L508-372q-6 6-13 8.5t-15 2.5Z',
|
|
217
|
-
}),
|
|
218
|
-
}),
|
|
219
|
-
chevron_left: (props) =>
|
|
220
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
221
|
-
fill: 'currentColor',
|
|
222
|
-
viewBox: '0 -960 960 960',
|
|
223
|
-
...props,
|
|
224
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
225
|
-
d: 'm432-480 156 156q11 11 11 28t-11 28q-11 11-28 11t-28-11L348-452q-6-6-8.5-13t-2.5-15q0-8 2.5-15t8.5-13l184-184q11-11 28-11t28 11q11 11 11 28t-11 28L432-480Z',
|
|
226
|
-
}),
|
|
227
|
-
}),
|
|
228
|
-
chevron_right: (props) =>
|
|
229
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
230
|
-
fill: 'currentColor',
|
|
231
|
-
viewBox: '0 -960 960 960',
|
|
232
|
-
...props,
|
|
233
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
234
|
-
d: 'M504-480 348-636q-11-11-11-28t11-28q11-11 28-11t28 11l184 184q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L404-268q-11 11-28 11t-28-11q-11-11-11-28t11-28l156-156Z',
|
|
235
|
-
}),
|
|
236
|
-
}),
|
|
237
|
-
chevron_up: (props) =>
|
|
238
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
239
|
-
fill: 'currentColor',
|
|
240
|
-
viewBox: '0 -960 960 960',
|
|
241
|
-
...props,
|
|
242
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
243
|
-
d: 'M480-528 324-372q-11 11-28 11t-28-11q-11-11-11-28t11-28l184-184q12-12 28-12t28 12l184 184q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-528Z',
|
|
244
|
-
}),
|
|
245
|
-
}),
|
|
246
|
-
close: (props) =>
|
|
247
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
248
|
-
fill: 'currentColor',
|
|
249
|
-
viewBox: '0 -960 960 960',
|
|
250
|
-
...props,
|
|
251
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
252
|
-
d: 'M480-424 284-228q-11 11-28 11t-28-11q-11-11-11-28t11-28l196-196-196-196q-11-11-11-28t11-28q11-11 28-11t28 11l196 196 196-196q11-11 28-11t28 11q11 11 11 28t-11 28L536-480l196 196q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-424Z',
|
|
253
|
-
}),
|
|
254
|
-
}),
|
|
255
|
-
collapse_all: (props) =>
|
|
256
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
257
|
-
fill: 'currentColor',
|
|
258
|
-
viewBox: '0 -960 960 960',
|
|
259
|
-
...props,
|
|
260
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
261
|
-
d: 'M480-264 324-108q-11 11-28 11t-28-11q-11-11-11-28t11-28l155-155q23-23 57-23t57 23l155 155q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-264Zm0-432 156-156q11-11 28-11t28 11q11 11 11 28t-11 28L537-641q-23 23-57 23t-57-23L268-796q-11-11-11-28t11-28q11-11 28-11t28 11l156 156Z',
|
|
262
|
-
}),
|
|
263
|
-
}),
|
|
264
|
-
computer: (props) =>
|
|
265
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
266
|
-
fill: 'currentColor',
|
|
267
|
-
viewBox: '0 -960 960 960',
|
|
268
|
-
...props,
|
|
269
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
270
|
-
d: 'M80-120q-17 0-28.5-11.5T40-160q0-17 11.5-28.5T80-200h800q17 0 28.5 11.5T920-160q0 17-11.5 28.5T880-120H80Zm80-120q-33 0-56.5-23.5T80-320v-440q0-33 23.5-56.5T160-840h640q33 0 56.5 23.5T880-760v440q0 33-23.5 56.5T800-240H160Zm0-80h640v-440H160v440Zm0 0v-440 440Z',
|
|
271
|
-
}),
|
|
272
|
-
}),
|
|
273
|
-
copy: (props) =>
|
|
274
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
275
|
-
fill: 'currentColor',
|
|
276
|
-
viewBox: '0 -960 960 960',
|
|
277
|
-
...props,
|
|
278
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
279
|
-
d: 'M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-520q0-17 11.5-28.5T160-720q17 0 28.5 11.5T200-680v520h400q17 0 28.5 11.5T640-120q0 17-11.5 28.5T600-80H200Zm160-240v-480 480Z',
|
|
280
|
-
}),
|
|
281
|
-
}),
|
|
282
|
-
dark_mode: (props) =>
|
|
283
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
284
|
-
fill: 'currentColor',
|
|
285
|
-
viewBox: '0 -960 960 960',
|
|
286
|
-
...props,
|
|
287
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
288
|
-
d: 'M480-120q-151 0-255.5-104.5T120-480q0-138 90-239.5T440-838q13-2 23 3.5t16 14.5q6 9 6.5 21t-7.5 23q-17 26-25.5 55t-8.5 61q0 90 63 153t153 63q31 0 61.5-9t54.5-25q11-7 22.5-6.5T819-479q10 5 15.5 15t3.5 24q-14 138-117.5 229T480-120Zm0-80q88 0 158-48.5T740-375q-20 5-40 8t-40 3q-123 0-209.5-86.5T364-660q0-20 3-40t8-40q-78 32-126.5 102T200-480q0 116 82 198t198 82Zm-10-270Z',
|
|
289
|
-
}),
|
|
290
|
-
}),
|
|
291
|
-
dock_to_left: (props) =>
|
|
292
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
293
|
-
fill: 'currentColor',
|
|
294
|
-
viewBox: '0 -960 960 960',
|
|
295
|
-
...props,
|
|
296
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
297
|
-
d: 'M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm440-80h120v-560H640v560Zm-80 0v-560H200v560h360Zm80 0h120-120Z',
|
|
298
|
-
}),
|
|
299
|
-
}),
|
|
300
|
-
dock_to_right: (props) =>
|
|
301
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
302
|
-
fill: 'currentColor',
|
|
303
|
-
viewBox: '0 -960 960 960',
|
|
304
|
-
...props,
|
|
305
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
306
|
-
d: 'M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm120-80v-560H200v560h120Zm80 0h360v-560H400v560Zm-80 0H200h120Z',
|
|
307
|
-
}),
|
|
308
|
-
}),
|
|
309
|
-
delete: (props) =>
|
|
310
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
311
|
-
fill: 'currentColor',
|
|
312
|
-
viewBox: '0 -960 960 960',
|
|
313
|
-
...props,
|
|
314
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
315
|
-
d: 'M280-120q-33 0-56.5-23.5T200-200v-520q-17 0-28.5-11.5T160-760q0-17 11.5-28.5T200-800h160q0-17 11.5-28.5T400-840h160q17 0 28.5 11.5T600-800h160q17 0 28.5 11.5T800-760q0 17-11.5 28.5T760-720v520q0 33-23.5 56.5T680-120H280Zm400-600H280v520h400v-520ZM400-280q17 0 28.5-11.5T440-320v-280q0-17-11.5-28.5T400-640q-17 0-28.5 11.5T360-600v280q0 17 11.5 28.5T400-280Zm160 0q17 0 28.5-11.5T600-320v-280q0-17-11.5-28.5T560-640q-17 0-28.5 11.5T520-600v280q0 17 11.5 28.5T560-280ZM280-720v520-520Z',
|
|
316
|
-
}),
|
|
317
|
-
}),
|
|
318
|
-
desktop: (props) =>
|
|
319
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
320
|
-
fill: 'currentColor',
|
|
321
|
-
viewBox: '0 -960 960 960',
|
|
322
|
-
...props,
|
|
323
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
324
|
-
d: 'M400-200v-80H160q-33 0-56.5-23.5T80-360v-400q0-33 23.5-56.5T160-840h640q33 0 56.5 23.5T880-760v400q0 33-23.5 56.5T800-280H560v80h40q17 0 28.5 11.5T640-160q0 17-11.5 28.5T600-120H360q-17 0-28.5-11.5T320-160q0-17 11.5-28.5T360-200h40ZM160-360h640v-400H160v400Zm0 0v-400 400Z',
|
|
325
|
-
}),
|
|
326
|
-
}),
|
|
327
|
-
display_settings: (props) =>
|
|
328
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
329
|
-
fill: 'currentColor',
|
|
330
|
-
viewBox: '0 -960 960 960',
|
|
331
|
-
...props,
|
|
332
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
333
|
-
d: 'M300-410v20q0 13 8.5 21.5T330-360q13 0 21.5-8.5T360-390v-100q0-13-8.5-21.5T330-520q-13 0-21.5 8.5T300-490v20h-30q-13 0-21.5 8.5T240-440q0 13 8.5 21.5T270-410h30Zm130 0h260q13 0 21.5-8.5T720-440q0-13-8.5-21.5T690-470H430q-13 0-21.5 8.5T400-440q0 13 8.5 21.5T430-410Zm230-160h30q13 0 21.5-8.5T720-600q0-13-8.5-21.5T690-630h-30v-20q0-13-8.5-21.5T630-680q-13 0-21.5 8.5T600-650v100q0 13 8.5 21.5T630-520q13 0 21.5-8.5T660-550v-20Zm-390 0h260q13 0 21.5-8.5T560-600q0-13-8.5-21.5T530-630H270q-13 0-21.5 8.5T240-600q0 13 8.5 21.5T270-570ZM160-200q-33 0-56.5-23.5T80-280v-480q0-33 23.5-56.5T160-840h640q33 0 56.5 23.5T880-760v480q0 33-23.5 56.5T800-200H640v40q0 17-11.5 28.5T600-120H360q-17 0-28.5-11.5T320-160v-40H160Zm0-80h640v-480H160v480Zm0 0v-480 480Z',
|
|
334
|
-
}),
|
|
335
|
-
}),
|
|
336
|
-
double_arrow_left: (props) =>
|
|
337
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
338
|
-
fill: 'currentColor',
|
|
339
|
-
viewBox: '0 -960 960 960',
|
|
340
|
-
...props,
|
|
341
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
342
|
-
d: 'm313-480 155 156q11 11 11.5 27.5T468-268q-11 11-28 11t-28-11L228-452q-6-6-8.5-13t-2.5-15q0-8 2.5-15t8.5-13l184-184q11-11 27.5-11.5T468-692q11 11 11 28t-11 28L313-480Zm264 0 155 156q11 11 11.5 27.5T732-268q-11 11-28 11t-28-11L492-452q-6-6-8.5-13t-2.5-15q0-8 2.5-15t8.5-13l184-184q11-11 27.5-11.5T732-692q11 11 11 28t-11 28L577-480Z',
|
|
343
|
-
}),
|
|
344
|
-
}),
|
|
345
|
-
double_arrow_right: (props) =>
|
|
346
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
347
|
-
fill: 'currentColor',
|
|
348
|
-
viewBox: '0 -960 960 960',
|
|
349
|
-
...props,
|
|
350
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
351
|
-
d: 'M383-480 228-636q-11-11-11.5-27.5T228-692q11-11 28-11t28 11l184 184q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L284-268q-11 11-27.5 11.5T228-268q-11-11-11-28t11-28l155-156Zm264 0L492-636q-11-11-11.5-27.5T492-692q11-11 28-11t28 11l184 184q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L548-268q-11 11-27.5 11.5T492-268q-11-11-11-28t11-28l155-156Z',
|
|
352
|
-
}),
|
|
353
|
-
}),
|
|
354
|
-
download: (props) =>
|
|
355
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
356
|
-
fill: 'currentColor',
|
|
357
|
-
viewBox: '0 -960 960 960',
|
|
358
|
-
...props,
|
|
359
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
360
|
-
d: 'M480-337q-8 0-15-2.5t-13-8.5L308-492q-12-12-11.5-28t11.5-28q12-12 28.5-12.5T365-549l75 75v-286q0-17 11.5-28.5T480-800q17 0 28.5 11.5T520-760v286l75-75q12-12 28.5-11.5T652-548q11 12 11.5 28T652-492L508-348q-6 6-13 8.5t-15 2.5ZM240-160q-33 0-56.5-23.5T160-240v-80q0-17 11.5-28.5T200-360q17 0 28.5 11.5T240-320v80h480v-80q0-17 11.5-28.5T760-360q17 0 28.5 11.5T800-320v80q0 33-23.5 56.5T720-160H240Z',
|
|
361
|
-
}),
|
|
362
|
-
}),
|
|
363
|
-
east: (props) =>
|
|
364
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
365
|
-
fill: 'currentColor',
|
|
366
|
-
viewBox: '0 -960 960 960',
|
|
367
|
-
...props,
|
|
368
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
369
|
-
d: 'M727-440H120q-17 0-28.5-11.5T80-480q0-17 11.5-28.5T120-520h607L572-676q-11-11-11.5-27.5T572-732q11-11 28-11t28 11l224 224q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L628-228q-11 11-27.5 11T572-228q-12-12-12-28.5t12-28.5l155-155Z',
|
|
370
|
-
}),
|
|
371
|
-
}),
|
|
372
|
-
error: (props) =>
|
|
373
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
374
|
-
fill: 'currentColor',
|
|
375
|
-
viewBox: '0 -960 960 960',
|
|
376
|
-
...props,
|
|
377
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
378
|
-
d: 'M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm0-160q17 0 28.5-11.5T520-480v-160q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640v160q0 17 11.5 28.5T480-440Zm0 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z',
|
|
379
|
-
}),
|
|
380
|
-
}),
|
|
381
|
-
exclamation: (props) =>
|
|
382
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
383
|
-
fill: 'currentColor',
|
|
384
|
-
viewBox: '0 -960 960 960',
|
|
385
|
-
...props,
|
|
386
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
387
|
-
d: 'M480-400q-17 0-28.5-11.5T440-440v-280q0-17 11.5-28.5T480-760q17 0 28.5 11.5T520-720v280q0 17-11.5 28.5T480-400Zm0 200q-17 0-28.5-11.5T440-240q0-17 11.5-28.5T480-280q17 0 28.5 11.5T520-240q0 17-11.5 28.5T480-200Z',
|
|
388
|
-
}),
|
|
389
|
-
}),
|
|
390
|
-
help: (props) =>
|
|
391
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
392
|
-
fill: 'currentColor',
|
|
393
|
-
viewBox: '0 -960 960 960',
|
|
394
|
-
...props,
|
|
395
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
396
|
-
d: 'M478-240q21 0 35.5-14.5T528-290q0-21-14.5-35.5T478-340q-21 0-35.5 14.5T428-290q0 21 14.5 35.5T478-240Zm2 160q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Zm4-172q25 0 43.5 16t18.5 40q0 22-13.5 39T502-525q-23 20-40.5 44T444-427q0 14 10.5 23.5T479-394q15 0 25.5-10t13.5-25q4-21 18-37.5t30-31.5q23-22 39.5-48t16.5-58q0-51-41.5-83.5T484-720q-38 0-72.5 16T359-655q-7 12-4.5 25.5T368-609q14 8 29 5t25-17q11-15 27.5-23t34.5-8Z',
|
|
397
|
-
}),
|
|
398
|
-
}),
|
|
399
|
-
info: (props) =>
|
|
400
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
401
|
-
fill: 'currentColor',
|
|
402
|
-
viewBox: '0 -960 960 960',
|
|
403
|
-
...props,
|
|
404
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
405
|
-
d: 'M480-280q17 0 28.5-11.5T520-320v-160q0-17-11.5-28.5T480-520q-17 0-28.5 11.5T440-480v160q0 17 11.5 28.5T480-280Zm0-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z',
|
|
406
|
-
}),
|
|
407
|
-
}),
|
|
408
|
-
light_mode: (props) =>
|
|
409
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
410
|
-
fill: 'currentColor',
|
|
411
|
-
viewBox: '0 -960 960 960',
|
|
412
|
-
...props,
|
|
413
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
414
|
-
d: 'M480-360q50 0 85-35t35-85q0-50-35-85t-85-35q-50 0-85 35t-35 85q0 50 35 85t85 35Zm0 80q-83 0-141.5-58.5T280-480q0-83 58.5-141.5T480-680q83 0 141.5 58.5T680-480q0 83-58.5 141.5T480-280ZM80-440q-17 0-28.5-11.5T40-480q0-17 11.5-28.5T80-520h80q17 0 28.5 11.5T200-480q0 17-11.5 28.5T160-440H80Zm720 0q-17 0-28.5-11.5T760-480q0-17 11.5-28.5T800-520h80q17 0 28.5 11.5T920-480q0 17-11.5 28.5T880-440h-80ZM480-760q-17 0-28.5-11.5T440-800v-80q0-17 11.5-28.5T480-920q17 0 28.5 11.5T520-880v80q0 17-11.5 28.5T480-760Zm0 720q-17 0-28.5-11.5T440-80v-80q0-17 11.5-28.5T480-200q17 0 28.5 11.5T520-160v80q0 17-11.5 28.5T480-40ZM226-678l-43-42q-12-11-11.5-28t11.5-29q12-12 29-12t28 12l42 43q11 12 11 28t-11 28q-11 12-27.5 11.5T226-678Zm494 495-42-43q-11-12-11-28.5t11-27.5q11-12 27.5-11.5T734-282l43 42q12 11 11.5 28T777-183q-12 12-29 12t-28-12Zm-42-495q-12-11-11.5-27.5T678-734l42-43q11-12 28-11.5t29 11.5q12 12 12 29t-12 28l-43 42q-12 11-28 11t-28-11ZM183-183q-12-12-12-29t12-28l43-42q12-11 28.5-11t27.5 11q12 11 11.5 27.5T282-226l-42 43q-11 12-28 11.5T183-183Zm297-297Z',
|
|
415
|
-
}),
|
|
416
|
-
}),
|
|
417
|
-
link: (props) =>
|
|
418
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
419
|
-
fill: 'currentColor',
|
|
420
|
-
viewBox: '0 -960 960 960',
|
|
421
|
-
...props,
|
|
422
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
423
|
-
d: 'M280-280q-83 0-141.5-58.5T80-480q0-83 58.5-141.5T280-680h120q17 0 28.5 11.5T440-640q0 17-11.5 28.5T400-600H280q-50 0-85 35t-35 85q0 50 35 85t85 35h120q17 0 28.5 11.5T440-320q0 17-11.5 28.5T400-280H280Zm80-160q-17 0-28.5-11.5T320-480q0-17 11.5-28.5T360-520h240q17 0 28.5 11.5T640-480q0 17-11.5 28.5T600-440H360Zm200 160q-17 0-28.5-11.5T520-320q0-17 11.5-28.5T560-360h120q50 0 85-35t35-85q0-50-35-85t-85-35H560q-17 0-28.5-11.5T520-640q0-17 11.5-28.5T560-680h120q83 0 141.5 58.5T880-480q0 83-58.5 141.5T680-280H560Z',
|
|
424
|
-
}),
|
|
425
|
-
}),
|
|
426
|
-
login: (props) =>
|
|
427
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
428
|
-
fill: 'currentColor',
|
|
429
|
-
viewBox: '0 -960 960 960',
|
|
430
|
-
...props,
|
|
431
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
432
|
-
d: 'M520-120q-17 0-28.5-11.5T480-160q0-17 11.5-28.5T520-200h240v-560H520q-17 0-28.5-11.5T480-800q0-17 11.5-28.5T520-840h240q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H520Zm-73-320H160q-17 0-28.5-11.5T120-480q0-17 11.5-28.5T160-520h287l-75-75q-11-11-11-27t11-28q11-12 28-12.5t29 11.5l143 143q12 12 12 28t-12 28L429-309q-12 12-28.5 11.5T372-310q-11-12-10.5-28.5T373-366l74-74Z',
|
|
433
|
-
}),
|
|
434
|
-
}),
|
|
435
|
-
logout: (props) =>
|
|
436
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
437
|
-
fill: 'currentColor',
|
|
438
|
-
viewBox: '0 -960 960 960',
|
|
439
|
-
...props,
|
|
440
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
441
|
-
d: 'M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h240q17 0 28.5 11.5T480-800q0 17-11.5 28.5T440-760H200v560h240q17 0 28.5 11.5T480-160q0 17-11.5 28.5T440-120H200Zm487-320H400q-17 0-28.5-11.5T360-480q0-17 11.5-28.5T400-520h287l-75-75q-11-11-11-27t11-28q11-12 28-12.5t29 11.5l143 143q12 12 12 28t-12 28L669-309q-12 12-28.5 11.5T612-310q-11-12-10.5-28.5T613-366l74-74Z',
|
|
442
|
-
}),
|
|
443
|
-
}),
|
|
444
|
-
menu: (props) =>
|
|
445
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
446
|
-
fill: 'currentColor',
|
|
447
|
-
viewBox: '0 -960 960 960',
|
|
448
|
-
...props,
|
|
449
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
450
|
-
d: 'M160-240q-17 0-28.5-11.5T120-280q0-17 11.5-28.5T160-320h640q17 0 28.5 11.5T840-280q0 17-11.5 28.5T800-240H160Zm0-200q-17 0-28.5-11.5T120-480q0-17 11.5-28.5T160-520h640q17 0 28.5 11.5T840-480q0 17-11.5 28.5T800-440H160Zm0-200q-17 0-28.5-11.5T120-680q0-17 11.5-28.5T160-720h640q17 0 28.5 11.5T840-680q0 17-11.5 28.5T800-640H160Z',
|
|
451
|
-
}),
|
|
452
|
-
}),
|
|
453
|
-
more_horiz: (props) =>
|
|
454
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
455
|
-
fill: 'currentColor',
|
|
456
|
-
viewBox: '0 -960 960 960',
|
|
457
|
-
...props,
|
|
458
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
459
|
-
d: 'M240-400q-33 0-56.5-23.5T160-480q0-33 23.5-56.5T240-560q33 0 56.5 23.5T320-480q0 33-23.5 56.5T240-400Zm240 0q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm240 0q-33 0-56.5-23.5T640-480q0-33 23.5-56.5T720-560q33 0 56.5 23.5T800-480q0 33-23.5 56.5T720-400Z',
|
|
460
|
-
}),
|
|
461
|
-
}),
|
|
462
|
-
more_vert: (props) =>
|
|
463
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
464
|
-
fill: 'currentColor',
|
|
465
|
-
viewBox: '0 -960 960 960',
|
|
466
|
-
...props,
|
|
467
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
468
|
-
d: 'M480-160q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm0-240q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm0-240q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Z',
|
|
469
|
-
}),
|
|
470
|
-
}),
|
|
471
|
-
north: (props) =>
|
|
472
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
473
|
-
fill: 'currentColor',
|
|
474
|
-
viewBox: '0 -960 960 960',
|
|
475
|
-
...props,
|
|
476
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
477
|
-
d: 'M480-80q-17 0-28.5-11.5T440-120v-607L284-572q-11 11-27.5 11.5T228-572q-11-11-11-28t11-28l224-224q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l224 224q11 11 11 27.5T732-572q-12 12-28.5 12T675-572L520-727v607q0 17-11.5 28.5T480-80Z',
|
|
478
|
-
}),
|
|
479
|
-
}),
|
|
480
|
-
open_in_new: (props) =>
|
|
481
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
482
|
-
fill: 'currentColor',
|
|
483
|
-
viewBox: '0 -960 960 960',
|
|
484
|
-
...props,
|
|
485
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
486
|
-
d: 'M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h240q17 0 28.5 11.5T480-800q0 17-11.5 28.5T440-760H200v560h560v-240q0-17 11.5-28.5T800-480q17 0 28.5 11.5T840-440v240q0 33-23.5 56.5T760-120H200Zm560-584L416-360q-11 11-28 11t-28-11q-11-11-11-28t11-28l344-344H600q-17 0-28.5-11.5T560-800q0-17 11.5-28.5T600-840h200q17 0 28.5 11.5T840-800v200q0 17-11.5 28.5T800-560q-17 0-28.5-11.5T760-600v-104Z',
|
|
487
|
-
}),
|
|
488
|
-
}),
|
|
489
|
-
print: (props) =>
|
|
490
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
491
|
-
fill: 'currentColor',
|
|
492
|
-
viewBox: '0 -960 960 960',
|
|
493
|
-
...props,
|
|
494
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
495
|
-
d: 'M320-120q-33 0-56.5-23.5T240-200v-80h-80q-33 0-56.5-23.5T80-360v-160q0-51 35-85.5t85-34.5h560q51 0 85.5 34.5T880-520v160q0 33-23.5 56.5T800-280h-80v80q0 33-23.5 56.5T640-120H320ZM160-360h80q0-33 23.5-56.5T320-440h320q33 0 56.5 23.5T720-360h80v-160q0-17-11.5-28.5T760-560H200q-17 0-28.5 11.5T160-520v160Zm480-280v-120H320v120h-80v-120q0-33 23.5-56.5T320-840h320q33 0 56.5 23.5T720-760v120h-80Zm80 180q17 0 28.5-11.5T760-500q0-17-11.5-28.5T720-540q-17 0-28.5 11.5T680-500q0 17 11.5 28.5T720-460Zm-80 260v-160H320v160h320ZM160-560h640-640Z',
|
|
496
|
-
}),
|
|
497
|
-
}),
|
|
498
|
-
progress_activity: (props) =>
|
|
499
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
500
|
-
fill: 'currentColor',
|
|
501
|
-
viewBox: '0 -960 960 960',
|
|
502
|
-
...props,
|
|
503
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
504
|
-
d: 'M480-80q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 31.5-155.5t86-127Q252-817 325-848.5T480-880q17 0 28.5 11.5T520-840q0 17-11.5 28.5T480-800q-133 0-226.5 93.5T160-480q0 133 93.5 226.5T480-160q133 0 226.5-93.5T800-480q0-17 11.5-28.5T840-520q17 0 28.5 11.5T880-480q0 82-31.5 155t-86 127.5q-54.5 54.5-127 86T480-80Z',
|
|
505
|
-
}),
|
|
506
|
-
}),
|
|
507
|
-
remove: (props) =>
|
|
508
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
509
|
-
fill: 'currentColor',
|
|
510
|
-
viewBox: '0 -960 960 960',
|
|
511
|
-
...props,
|
|
512
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
513
|
-
d: 'M240-440q-17 0-28.5-11.5T200-480q0-17 11.5-28.5T240-520h480q17 0 28.5 11.5T760-480q0 17-11.5 28.5T720-440H240Z',
|
|
514
|
-
}),
|
|
515
|
-
}),
|
|
516
|
-
search: (props) =>
|
|
517
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
518
|
-
fill: 'currentColor',
|
|
519
|
-
viewBox: '0 -960 960 960',
|
|
520
|
-
...props,
|
|
521
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
522
|
-
d: 'M380-320q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l224 224q11 11 11 28t-11 28q-11 11-28 11t-28-11L532-372q-30 24-69 38t-83 14Zm0-80q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z',
|
|
523
|
-
}),
|
|
524
|
-
}),
|
|
525
|
-
settings_brightness: (props) =>
|
|
526
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
527
|
-
fill: 'currentColor',
|
|
528
|
-
viewBox: '0 -960 960 960',
|
|
529
|
-
...props,
|
|
530
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
531
|
-
d: 'm420-320 46 46q6 6 14 6t14-6l46-46h80q8 0 14-6t6-14v-80l46-46q6-6 6-14t-6-14l-46-46v-80q0-8-6-14t-14-6h-80l-46-46q-6-6-14-6t-14 6l-46 46h-80q-8 0-14 6t-6 14v80l-46 46q-6 6-6 14t6 14l46 46v80q0 8 6 14t14 6h80Zm60-40v-240q50 0 85 35t35 85q0 50-35 85t-85 35ZM160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm0-80h640v-480H160v480Zm0 0v-480 480Z',
|
|
532
|
-
}),
|
|
533
|
-
}),
|
|
534
|
-
share: (props) =>
|
|
535
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
536
|
-
fill: 'currentColor',
|
|
537
|
-
viewBox: '0 -960 960 960',
|
|
538
|
-
...props,
|
|
539
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
540
|
-
d: 'M680-80q-50 0-85-35t-35-85q0-6 3-28L282-392q-16 15-37 23.5t-45 8.5q-50 0-85-35t-35-85q0-50 35-85t85-35q24 0 45 8.5t37 23.5l281-164q-2-7-2.5-13.5T560-760q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35q-24 0-45-8.5T598-672L317-508q2 7 2.5 13.5t.5 14.5q0 8-.5 14.5T317-452l281 164q16-15 37-23.5t45-8.5q50 0 85 35t35 85q0 50-35 85t-85 35Zm0-80q17 0 28.5-11.5T720-200q0-17-11.5-28.5T680-240q-17 0-28.5 11.5T640-200q0 17 11.5 28.5T680-160ZM200-440q17 0 28.5-11.5T240-480q0-17-11.5-28.5T200-520q-17 0-28.5 11.5T160-480q0 17 11.5 28.5T200-440Zm480-280q17 0 28.5-11.5T720-760q0-17-11.5-28.5T680-800q-17 0-28.5 11.5T640-760q0 17 11.5 28.5T680-720Zm0 520ZM200-480Zm480-280Z',
|
|
541
|
-
}),
|
|
542
|
-
}),
|
|
543
|
-
side_navigation: (props) =>
|
|
544
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
545
|
-
fill: 'currentColor',
|
|
546
|
-
viewBox: '0 -960 960 960',
|
|
547
|
-
...props,
|
|
548
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
549
|
-
d: 'M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm280-80h280v-560H480v560Z',
|
|
550
|
-
}),
|
|
551
|
-
}),
|
|
552
|
-
south: (props) =>
|
|
553
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
554
|
-
fill: 'currentColor',
|
|
555
|
-
viewBox: '0 -960 960 960',
|
|
556
|
-
...props,
|
|
557
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
558
|
-
d: 'M480-97q-8 0-15-2.5t-13-8.5L228-332q-11-11-11-28t11-28q12-12 28.5-11.5T284-388l156 155v-607q0-17 11.5-28.5T480-880q17 0 28.5 11.5T520-840v607l155-155q12-12 28.5-12t28.5 12q11 12 11 28.5T732-332L508-108q-6 6-13 8.5T480-97Z',
|
|
559
|
-
}),
|
|
560
|
-
}),
|
|
561
|
-
unfold_less: (props) =>
|
|
562
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
563
|
-
fill: 'currentColor',
|
|
564
|
-
viewBox: '0 -960 960 960',
|
|
565
|
-
...props,
|
|
566
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
567
|
-
d: 'm480-284-96 96q-11 11-28 11t-28-11q-11-11-11-28t11-28l124-124q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l124 124q11 11 11 28t-11 28q-11 11-28 11t-28-11l-96-96Zm0-392 96-96q11-11 28-11t28 11q11 11 11 28t-11 28L508-592q-6 6-13 8.5t-15 2.5q-8 0-15-2.5t-13-8.5L328-716q-11-11-11-28t11-28q11-11 28-11t28 11l96 96Z',
|
|
568
|
-
}),
|
|
569
|
-
}),
|
|
570
|
-
unfold_more: (props) =>
|
|
571
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
572
|
-
fill: 'currentColor',
|
|
573
|
-
viewBox: '0 -960 960 960',
|
|
574
|
-
...props,
|
|
575
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
576
|
-
d: 'm480-236 93-93q12-12 29-12t29 12q12 12 12 29t-12 29L508-148q-6 6-13 8.5t-15 2.5q-8 0-15-2.5t-13-8.5L329-271q-12-12-12-29t12-29q12-12 29-12t29 12l93 93Zm0-484-93 93q-12 12-29 12t-29-12q-12-12-12-29t12-29l123-123q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l123 123q12 12 12 29t-12 29q-12 12-29 12t-29-12l-93-93Z',
|
|
577
|
-
}),
|
|
578
|
-
}),
|
|
579
|
-
upload: (props) =>
|
|
580
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
581
|
-
fill: 'currentColor',
|
|
582
|
-
viewBox: '0 -960 960 960',
|
|
583
|
-
...props,
|
|
584
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
585
|
-
d: 'M240-160q-33 0-56.5-23.5T160-240v-80q0-17 11.5-28.5T200-360q17 0 28.5 11.5T240-320v80h480v-80q0-17 11.5-28.5T760-360q17 0 28.5 11.5T800-320v80q0 33-23.5 56.5T720-160H240Zm200-486-75 75q-12 12-28.5 11.5T308-572q-11-12-11.5-28t11.5-28l144-144q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l144 144q12 12 11.5 28T652-572q-12 12-28.5 12.5T595-571l-75-75v286q0 17-11.5 28.5T480-320q-17 0-28.5-11.5T440-360v-286Z',
|
|
586
|
-
}),
|
|
587
|
-
}),
|
|
588
|
-
west: (props) =>
|
|
589
|
-
/* @__PURE__ */ jsxRuntime.jsx('svg', {
|
|
590
|
-
fill: 'currentColor',
|
|
591
|
-
viewBox: '0 -960 960 960',
|
|
592
|
-
...props,
|
|
593
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
594
|
-
d: 'M233-440h607q17 0 28.5-11.5T880-480q0-17-11.5-28.5T840-520H233l155-156q11-11 11.5-27.5T388-732q-11-11-28-11t-28 11L108-508q-6 6-8.5 13T97-480q0 8 2.5 15t8.5 13l224 224q11 11 27.5 11t28.5-11q12-12 12-28.5T388-285L233-440Z',
|
|
595
|
-
}),
|
|
596
|
-
}),
|
|
597
|
-
}
|
|
598
|
-
function SocialLink({ href, icon: Icon, children }) {
|
|
599
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Link3__default.default, {
|
|
600
|
-
href,
|
|
601
|
-
className: 'group',
|
|
602
|
-
children: [
|
|
603
|
-
/* @__PURE__ */ jsxRuntime.jsx('span', { className: 'sr-only', children }),
|
|
604
|
-
/* @__PURE__ */ jsxRuntime.jsx(Icon, {
|
|
605
|
-
className:
|
|
606
|
-
'h-5 w-5 fill-zinc-700 transition group-hover:fill-zinc-900 dark:group-hover:fill-zinc-500',
|
|
607
|
-
}),
|
|
608
|
-
],
|
|
609
|
-
})
|
|
86
|
+
logo: (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { viewBox: "0 0 259 280", "aria-hidden": "true", ...props, children: [
|
|
87
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
88
|
+
"path",
|
|
89
|
+
{
|
|
90
|
+
fillRule: "evenodd",
|
|
91
|
+
clipRule: "evenodd",
|
|
92
|
+
d: "M24.208 270.207h-5.045v-4.277l11.15.054v13.676H26.08v-2.491c-.266.278-.553.556-.86.833-.673.585-1.49 1.07-2.433 1.434-.96.373-2.143.564-3.513.564-2.33 0-4.385-.539-6.109-1.6-1.727-1.065-3.073-2.594-4.007-4.538-.926-1.927-1.395-4.231-1.395-6.85 0-2.657.494-4.994 1.47-6.946.971-1.96 2.363-3.498 4.132-4.571 1.768-1.065 3.849-1.604 6.183-1.604 1.515 0 2.915.245 4.156.725 1.255.485 2.36 1.157 3.273 1.985a9.61 9.61 0 0 1 2.192 2.852 8.196 8.196 0 0 1 .872 3.319l.021.435h-6.038l-.062-.339a5.22 5.22 0 0 0-.814-1.981 4.562 4.562 0 0 0-1.537-1.43c-.614-.352-1.345-.531-2.175-.531-1.005 0-1.931.261-2.741.775-.806.51-1.458 1.351-1.935 2.495-.486 1.169-.731 2.74-.731 4.679 0 1.579.162 2.897.482 3.925.311 1.011.739 1.819 1.266 2.403.523.581 1.117.991 1.773 1.219a6.036 6.036 0 0 0 2.089.369c.669 0 1.27-.112 1.79-.328.523-.224.98-.514 1.354-.866.377-.356.676-.746.884-1.152.216-.41.349-.816.399-1.21l.14-1.028Zm20.878-16.312c2.354 0 4.435.534 6.179 1.587 1.752 1.061 3.13 2.59 4.086 4.546.947 1.935 1.428 4.281 1.428 6.967 0 2.648-.473 4.969-1.412 6.9-.946 1.948-2.317 3.469-4.073 4.521-1.744 1.053-3.837 1.583-6.212 1.583-2.396 0-4.502-.534-6.254-1.583-1.753-1.044-3.135-2.557-4.099-4.505-.947-1.927-1.428-4.252-1.428-6.912 0-2.673.486-5.015 1.449-6.954.968-1.956 2.355-3.486 4.12-4.551 1.764-1.061 3.853-1.599 6.216-1.599Zm0 21.185c1.117 0 2.093-.265 2.898-.787.802-.523 1.433-1.372 1.881-2.516.453-1.185.686-2.772.686-4.712 0-1.993-.237-3.618-.698-4.832-.444-1.181-1.08-2.056-1.885-2.603-.814-.543-1.782-.82-2.878-.82-1.1 0-2.072.277-2.886.82-.81.543-1.453 1.422-1.906 2.611-.47 1.223-.706 2.843-.706 4.82 0 1.944.237 3.531.702 4.712.452 1.148 1.092 1.997 1.902 2.515.81.527 1.781.792 2.89.792Zm23.764-2.93-6.162-17.829H57.09l8.654 25.251h6.195l8.73-25.251h-5.607L68.85 272.15Zm30.312-2.827H88.863v5.206l12.043.016v5.027H83.103v-25.251h17.632l-.016 4.99H88.892v5.089h10.27v4.923Zm22.482-1.529c.685-.613 1.246-1.401 1.678-2.341.419-.933.635-2.081.635-3.419 0-1.497-.311-2.835-.93-3.983-.619-1.169-1.599-2.093-2.919-2.756-1.3-.647-2.973-.974-4.975-.974h-10.738v25.243h5.759v-9.404h4.24l3.991 9.404h6.046l-4.651-10.456c.673-.357 1.3-.8 1.864-1.314Zm-3.513-5.64c0 .999-.336 1.79-1.025 2.428-.69.63-1.649.949-2.857.949h-4.095v-6.606h4.456c1.038 0 1.873.286 2.545.875.657.576.976 1.347.976 2.354Zm15.159-7.833 10.527 15.23v-15.23h5.776v25.251h-5.086l-10.98-15.86v15.86h-5.759v-25.251h5.522Zm33.949 16.461-5.29-16.461h-7.894v25.251h5.809v-16.266l5.124 16.266h4.485l5.162-16.357v16.357h5.826v-25.251h-7.878l-5.344 16.461Zm33.727-1.459h-10.298v5.206l12.046.016v5.027h-17.806v-25.251h17.636l-.021 4.99h-11.818v5.089h10.261v4.923Zm21.494.228-10.523-15.23h-5.527v25.251h5.756v-15.86l10.979 15.86h5.087v-25.251h-5.772v15.23Zm15.586-10.004h-7.388v-5.226h20.402v5.226h-7.217v20.025h-5.797v-20.025Z",
|
|
93
|
+
className: "fill-nsw-blue-800 dark:fill-white"
|
|
94
|
+
}
|
|
95
|
+
),
|
|
96
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
97
|
+
"path",
|
|
98
|
+
{
|
|
99
|
+
fillRule: "evenodd",
|
|
100
|
+
clipRule: "evenodd",
|
|
101
|
+
d: "M146.699 209.236c-1.482-2.395-3.717-4.571-6.64-6.465-2.919-1.894-6.897-3.34-11.81-4.297l-13.678-2.814c-4.132-.891-6.981-2.043-8.468-3.419-1.449-1.343-2.184-3.129-2.184-5.309 0-1.388.316-2.652.943-3.759.623-1.111 1.528-2.093 2.687-2.922 1.166-.828 2.616-1.483 4.306-1.943 1.711-.469 3.633-.705 5.714-.705 2.74 0 5.211.361 7.346 1.078 2.109.713 3.857 1.881 5.194 3.481 1.338 1.6 2.16 3.775 2.442 6.465l.038.373h16.971l-.008-.427c-.075-4.575-1.371-8.773-3.85-12.474-2.483-3.705-6.141-6.681-10.879-8.852-4.726-2.164-10.623-3.262-17.528-3.262-5.801 0-11.117 1.011-15.805 3.009-4.7 2.002-8.475 4.89-11.212 8.587-2.749 3.717-4.12 8.164-4.078 13.224.112 6.175 1.99 11.186 5.577 14.903 3.576 3.697 8.476 6.158 14.567 7.306l13.795 2.81c2.529.502 4.825 1.16 6.823 1.96 1.96.784 3.525 1.803 4.651 3.03 1.1 1.197 1.657 2.772 1.657 4.67 0 2.114-.694 3.9-2.06 5.301-1.4 1.434-3.301 2.515-5.643 3.224-2.388.721-5.058 1.086-7.936 1.086-2.807 0-5.394-.435-7.686-1.297-2.28-.85-4.194-2.093-5.689-3.693-1.491-1.591-2.513-3.585-3.04-5.918l-.075-.327H83.846l.045.46c.407 4.045 1.666 7.629 3.738 10.659 2.068 3.009 4.717 5.545 7.873 7.551 3.148 1.993 6.677 3.514 10.494 4.513a46.33 46.33 0 0 0 11.693 1.5c6.466 0 12.2-1.019 17.046-3.034 4.867-2.022 8.717-4.807 11.449-8.276 2.753-3.493 4.148-7.476 4.148-11.848 0-2.064-.232-4.36-.697-6.822-.478-2.482-1.466-4.948-2.936-7.327ZM25.937 191.763l36.916 53.312H77.87v-79.724H61.072v51.282L25.754 165.53l-.125-.179H9.19v79.724h16.748v-53.312Zm196.637 24.577 14.388-50.987h16.457l-23.587 79.724h-13.367l-14.554-50.469-14.659 50.469h-13.147l-23.533-79.724h16.511l14.384 50.979 14.389-50.979h12.167l14.551 50.987Z",
|
|
102
|
+
className: "fill-nsw-blue-800 dark:fill-white"
|
|
103
|
+
}
|
|
104
|
+
),
|
|
105
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
106
|
+
"path",
|
|
107
|
+
{
|
|
108
|
+
d: "M122.291 145.572c-19.75-2.424-38.934 3.904-72.69-5.263-3.447-.937-4.718 2.694-2.854 5.736 9.07 14.803 54.881 3.203 75.635 1.065.906-.095.814-1.426-.091-1.538ZM208.735 140.309c-33.756 9.167-52.941 2.839-72.691 5.263-.905.112-1 1.447-.091 1.538 20.759 2.138 66.566 13.738 75.635-1.065 1.864-3.042.594-6.673-2.853-5.736ZM59.882 119.132c-6.864-10.058-12.474-21.31-16.818-33.69-13.101 3.826-26.51 9.346-40.16 16.57a5.388 5.388 0 0 0-2.902 4.67 5.38 5.38 0 0 0 2.653 4.812c26.431 15.802 52.273 24.841 76.93 26.933-7.34-4.475-14.072-11.044-19.703-19.295ZM23.059 85.513a201.529 201.529 0 0 1 17.976-6.233c-2.126-6.896-3.87-14.12-5.249-21.658-6.827-.85-13.89-1.4-21.199-1.641-.062 0-.128-.004-.19-.004a5.391 5.391 0 0 0-4.647 2.602 5.383 5.383 0 0 0-.12 5.483c4.243 7.659 8.724 14.808 13.429 21.45ZM88.005 135.572c4.099 1.807 8.293 2.818 12.358 3.029-9.953-7.12-17.773-19.192-22.278-34.58-5.805-19.81-7.745-41.666-5.83-65.247-7.832-4.936-16.32-9.557-25.46-13.85a5.428 5.428 0 0 0-5.402.43 5.396 5.396 0 0 0-2.388 4.841c2.126 34.215 10.95 62.915 26.223 85.298 6.404 9.391 14.281 16.332 22.777 20.079ZM107.488 23.577A253.323 253.323 0 0 0 92.235 6.735c-1.063-1.078-2.433-1.65-3.85-1.65-.506 0-1.017.075-1.523.224-1.923.568-3.314 2.106-3.733 4.115-1.072 5.164-3.11 15.69-4.012 26.101 7.014 4.613 13.492 9.49 19.426 14.621 2.3-8.757 5.29-17.63 8.945-26.569ZM255.42 102.007c-13.65-7.223-27.058-12.744-40.16-16.569-4.343 12.38-9.953 23.631-16.818 33.689-5.63 8.255-12.362 14.82-19.708 19.296 24.658-2.093 50.5-11.132 76.931-26.934 1.715-1.024 2.707-2.822 2.653-4.811-.045-1.99-1.133-3.734-2.898-4.671ZM235.273 85.513c4.705-6.643 9.186-13.796 13.43-21.455.963-1.74.922-3.788-.121-5.483a5.4 5.4 0 0 0-4.837-2.598c-7.309.24-14.377.796-21.199 1.641-1.375 7.539-3.123 14.762-5.249 21.658a203.803 203.803 0 0 1 17.976 6.237ZM180.247 104.025c-4.505 15.384-12.329 27.46-22.278 34.58 4.065-.211 8.263-1.227 12.358-3.034 8.496-3.746 16.373-10.688 22.777-20.075 15.273-22.383 24.097-51.082 26.223-85.297a5.394 5.394 0 0 0-2.388-4.84 5.428 5.428 0 0 0-5.402-.432c-9.14 4.29-17.628 8.91-25.46 13.85 1.915 23.582-.029 45.434-5.83 65.248ZM179.214 35.52c-.901-10.406-2.94-20.932-4.011-26.1-.416-2.01-1.811-3.547-3.733-4.115a5.39 5.39 0 0 0-1.524-.224c-1.416 0-2.787.572-3.85 1.65-5.485 5.549-10.568 11.164-15.252 16.842 3.654 8.939 6.644 17.812 8.949 26.565 5.934-5.127 12.407-10.005 19.421-14.617ZM129.144 87.229c6.64-13.092 17.246-24.829 25.21-32.243-4.372-17.779-11.104-34.55-20.397-52.097C132.998 1.078 131.195 0 129.148 0s-3.845 1.082-4.808 2.889c-9.389 17.604-16.237 35.122-20.377 52.093 8.313 7.688 19.28 20.224 25.181 32.247Z",
|
|
109
|
+
className: "fill-nsw-red-600 dark:fill-white"
|
|
110
|
+
}
|
|
111
|
+
),
|
|
112
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
113
|
+
"path",
|
|
114
|
+
{
|
|
115
|
+
d: "M153.541 133.686c6.885-4.833 13.77-13.254 18.139-24.97 8.458-22.681 9.334-47.945 8.122-65.823-15.331 10.215-39.665 31.55-47.975 54.36-3.911 10.734-5.734 25.355-2.72 33.511 1.259 3.411 3.401 5.997 6.345 7.227 4.46 1.865 11.312.456 18.089-4.305ZM125.713 95.261c-2.027-4.724-4.261-9.18-7.728-14.186-9.809-14.16-23.026-26.933-39.475-38.185-.17 2.652-2.57 31.297 5.851 59.304 6.408 21.302 17.354 29.98 23.354 33.333 6.038 3.369 11.561 4.165 18.039 2.557-6.565-8.935-5.747-27.27-.041-42.823Z",
|
|
116
|
+
className: "fill-nsw-red-600 dark:fill-white"
|
|
117
|
+
}
|
|
118
|
+
)
|
|
119
|
+
] }),
|
|
120
|
+
github: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 0 17 17", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
121
|
+
"path",
|
|
122
|
+
{
|
|
123
|
+
fillRule: "evenodd",
|
|
124
|
+
d: "M8.977.83C4.549.83.97 4.32.97 8.636c0 3.45 2.293 6.371 5.475 7.405.397.078.543-.168.543-.375 0-.18-.013-.8-.013-1.447-2.227.465-2.691-.93-2.691-.93-.358-.905-.888-1.138-.888-1.138-.73-.478.053-.478.053-.478.808.052 1.233.801 1.233.801.715 1.19 1.869.853 2.333.646.066-.504.278-.853.504-1.046-1.777-.181-3.646-.853-3.646-3.852 0-.853.318-1.55.822-2.093-.08-.194-.358-.995.08-2.068 0 0 .676-.207 2.2.801a7.94 7.94 0 0 1 2.002-.258c.676 0 1.365.09 2.001.258 1.525-1.008 2.2-.801 2.2-.801.438 1.073.16 1.874.08 2.068.517.542.822 1.24.822 2.093 0 2.999-1.869 3.658-3.659 3.852.292.245.544.71.544 1.447 0 1.047-.013 1.887-.013 2.145 0 .207.146.453.543.375 3.182-1.034 5.475-3.955 5.475-7.405C16.983 4.319 13.39.83 8.977.83Z",
|
|
125
|
+
clipRule: "evenodd"
|
|
126
|
+
}
|
|
127
|
+
) }) }),
|
|
128
|
+
linkedin: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 0 17 17", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
129
|
+
"path",
|
|
130
|
+
{
|
|
131
|
+
fill: "currentColor",
|
|
132
|
+
d: "M15.776.83H2.14C1.488.83.96 1.329.96 1.946v13.249c0 .617.528 1.119 1.181 1.119h13.635c.653 0 1.184-.502 1.184-1.116V1.946c0-.617-.531-1.116-1.184-1.116ZM5.706 14.025H3.333V6.633h2.375v7.392ZM4.52 5.626c-.762 0-1.378-.595-1.378-1.33 0-.735.616-1.33 1.378-1.33.76 0 1.375.595 1.375 1.33 0 .732-.615 1.33-1.375 1.33Zm10.075 8.399h-2.371v-3.593c0-.856-.016-1.96-1.235-1.96-1.234 0-1.422.935-1.422 1.9v3.653H7.197V6.633h2.275v1.01h.032c.315-.58 1.09-1.194 2.244-1.194 2.403 0 2.846 1.53 2.846 3.52v4.056Z"
|
|
133
|
+
}
|
|
134
|
+
) }) }),
|
|
135
|
+
twitter: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 0 17 17", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
136
|
+
"path",
|
|
137
|
+
{
|
|
138
|
+
fill: "currentColor",
|
|
139
|
+
d: "M13.158 2.058h2.248l-4.913 5.435 5.78 7.395h-4.525l-3.545-4.485-4.056 4.485h-2.25l5.255-5.813-5.545-7.017h4.64l3.205 4.1 3.706-4.1Zm-.79 11.527h1.246L5.57 3.293H4.233l8.135 10.292Z"
|
|
140
|
+
}
|
|
141
|
+
) }) }),
|
|
142
|
+
youtube: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 0 17 17", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
143
|
+
"path",
|
|
144
|
+
{
|
|
145
|
+
fill: "currentColor",
|
|
146
|
+
d: "M16.79 5.475s-.156-1.067-.637-1.536c-.61-.617-1.29-.62-1.603-.656-2.238-.158-5.597-.158-5.597-.158h-.006s-3.36 0-5.597.158c-.313.036-.994.039-1.603.656-.481.469-.635 1.536-.635 1.536S.95 6.73.95 7.982v1.174c0 1.252.16 2.507.16 2.507s.156 1.067.634 1.536c.61.617 1.41.596 1.765.662 1.282.118 5.441.154 5.441.154s3.363-.006 5.6-.16c.313-.036.994-.04 1.603-.656.481-.469.638-1.536.638-1.536s.159-1.252.159-2.507V7.982c0-1.252-.16-2.507-.16-2.507ZM7.298 10.58V6.228l4.322 2.184-4.322 2.168Z"
|
|
147
|
+
}
|
|
148
|
+
) }) }),
|
|
149
|
+
account_circle: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M234-276q51-39 114-61.5T480-360q69 0 132 22.5T726-276q35-41 54.5-93T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 59 19.5 111t54.5 93Zm246-164q-59 0-99.5-40.5T340-580q0-59 40.5-99.5T480-720q59 0 99.5 40.5T620-580q0 59-40.5 99.5T480-440Zm0 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q53 0 100-15.5t86-44.5q-39-29-86-44.5T480-280q-53 0-100 15.5T294-220q39 29 86 44.5T480-160Zm0-360q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm0-60Zm0 360Z" }) }),
|
|
150
|
+
attach_file: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M720-330q0 104-73 177T470-80q-104 0-177-73t-73-177v-370q0-75 52.5-127.5T400-880q75 0 127.5 52.5T580-700v350q0 46-32 78t-78 32q-46 0-78-32t-32-78v-330q0-17 11.5-28.5T400-720q17 0 28.5 11.5T440-680v330q0 13 8.5 21.5T470-320q13 0 21.5-8.5T500-350v-350q-1-42-29.5-71T400-800q-42 0-71 29t-29 71v370q-1 71 49 120.5T470-160q70 0 119-49.5T640-330v-350q0-17 11.5-28.5T680-720q17 0 28.5 11.5T720-680v350Z" }) }),
|
|
151
|
+
cancel: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m480-424 116 116q11 11 28 11t28-11q11-11 11-28t-11-28L536-480l116-116q11-11 11-28t-11-28q-11-11-28-11t-28 11L480-536 364-652q-11-11-28-11t-28 11q-11 11-11 28t11 28l116 116-116 116q-11 11-11 28t11 28q11 11 28 11t28-11l116-116Zm0 344q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" }) }),
|
|
152
|
+
check_circle: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m424-408-86-86q-11-11-28-11t-28 11q-11 11-11 28t11 28l114 114q12 12 28 12t28-12l226-226q11-11 11-28t-11-28q-11-11-28-11t-28 11L424-408Zm56 328q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" }) }),
|
|
153
|
+
check: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m382-354 339-339q12-12 28-12t28 12q12 12 12 28.5T777-636L410-268q-12 12-28 12t-28-12L182-440q-12-12-11.5-28.5T183-497q12-12 28.5-12t28.5 12l142 143Z" }) }),
|
|
154
|
+
chevron_down: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M480-361q-8 0-15-2.5t-13-8.5L268-556q-11-11-11-28t11-28q11-11 28-11t28 11l156 156 156-156q11-11 28-11t28 11q11 11 11 28t-11 28L508-372q-6 6-13 8.5t-15 2.5Z" }) }),
|
|
155
|
+
chevron_left: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m432-480 156 156q11 11 11 28t-11 28q-11 11-28 11t-28-11L348-452q-6-6-8.5-13t-2.5-15q0-8 2.5-15t8.5-13l184-184q11-11 28-11t28 11q11 11 11 28t-11 28L432-480Z" }) }),
|
|
156
|
+
chevron_right: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M504-480 348-636q-11-11-11-28t11-28q11-11 28-11t28 11l184 184q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L404-268q-11 11-28 11t-28-11q-11-11-11-28t11-28l156-156Z" }) }),
|
|
157
|
+
chevron_up: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M480-528 324-372q-11 11-28 11t-28-11q-11-11-11-28t11-28l184-184q12-12 28-12t28 12l184 184q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-528Z" }) }),
|
|
158
|
+
close: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M480-424 284-228q-11 11-28 11t-28-11q-11-11-11-28t11-28l196-196-196-196q-11-11-11-28t11-28q11-11 28-11t28 11l196 196 196-196q11-11 28-11t28 11q11 11 11 28t-11 28L536-480l196 196q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-424Z" }) }),
|
|
159
|
+
collapse_all: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M480-264 324-108q-11 11-28 11t-28-11q-11-11-11-28t11-28l155-155q23-23 57-23t57 23l155 155q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-264Zm0-432 156-156q11-11 28-11t28 11q11 11 11 28t-11 28L537-641q-23 23-57 23t-57-23L268-796q-11-11-11-28t11-28q11-11 28-11t28 11l156 156Z" }) }),
|
|
160
|
+
computer: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M80-120q-17 0-28.5-11.5T40-160q0-17 11.5-28.5T80-200h800q17 0 28.5 11.5T920-160q0 17-11.5 28.5T880-120H80Zm80-120q-33 0-56.5-23.5T80-320v-440q0-33 23.5-56.5T160-840h640q33 0 56.5 23.5T880-760v440q0 33-23.5 56.5T800-240H160Zm0-80h640v-440H160v440Zm0 0v-440 440Z" }) }),
|
|
161
|
+
copy: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-520q0-17 11.5-28.5T160-720q17 0 28.5 11.5T200-680v520h400q17 0 28.5 11.5T640-120q0 17-11.5 28.5T600-80H200Zm160-240v-480 480Z" }) }),
|
|
162
|
+
dark_mode: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M480-120q-151 0-255.5-104.5T120-480q0-138 90-239.5T440-838q13-2 23 3.5t16 14.5q6 9 6.5 21t-7.5 23q-17 26-25.5 55t-8.5 61q0 90 63 153t153 63q31 0 61.5-9t54.5-25q11-7 22.5-6.5T819-479q10 5 15.5 15t3.5 24q-14 138-117.5 229T480-120Zm0-80q88 0 158-48.5T740-375q-20 5-40 8t-40 3q-123 0-209.5-86.5T364-660q0-20 3-40t8-40q-78 32-126.5 102T200-480q0 116 82 198t198 82Zm-10-270Z" }) }),
|
|
163
|
+
dock_to_left: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm440-80h120v-560H640v560Zm-80 0v-560H200v560h360Zm80 0h120-120Z" }) }),
|
|
164
|
+
dock_to_right: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm120-80v-560H200v560h120Zm80 0h360v-560H400v560Zm-80 0H200h120Z" }) }),
|
|
165
|
+
delete: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M280-120q-33 0-56.5-23.5T200-200v-520q-17 0-28.5-11.5T160-760q0-17 11.5-28.5T200-800h160q0-17 11.5-28.5T400-840h160q17 0 28.5 11.5T600-800h160q17 0 28.5 11.5T800-760q0 17-11.5 28.5T760-720v520q0 33-23.5 56.5T680-120H280Zm400-600H280v520h400v-520ZM400-280q17 0 28.5-11.5T440-320v-280q0-17-11.5-28.5T400-640q-17 0-28.5 11.5T360-600v280q0 17 11.5 28.5T400-280Zm160 0q17 0 28.5-11.5T600-320v-280q0-17-11.5-28.5T560-640q-17 0-28.5 11.5T520-600v280q0 17 11.5 28.5T560-280ZM280-720v520-520Z" }) }),
|
|
166
|
+
desktop: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M400-200v-80H160q-33 0-56.5-23.5T80-360v-400q0-33 23.5-56.5T160-840h640q33 0 56.5 23.5T880-760v400q0 33-23.5 56.5T800-280H560v80h40q17 0 28.5 11.5T640-160q0 17-11.5 28.5T600-120H360q-17 0-28.5-11.5T320-160q0-17 11.5-28.5T360-200h40ZM160-360h640v-400H160v400Zm0 0v-400 400Z" }) }),
|
|
167
|
+
display_settings: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M300-410v20q0 13 8.5 21.5T330-360q13 0 21.5-8.5T360-390v-100q0-13-8.5-21.5T330-520q-13 0-21.5 8.5T300-490v20h-30q-13 0-21.5 8.5T240-440q0 13 8.5 21.5T270-410h30Zm130 0h260q13 0 21.5-8.5T720-440q0-13-8.5-21.5T690-470H430q-13 0-21.5 8.5T400-440q0 13 8.5 21.5T430-410Zm230-160h30q13 0 21.5-8.5T720-600q0-13-8.5-21.5T690-630h-30v-20q0-13-8.5-21.5T630-680q-13 0-21.5 8.5T600-650v100q0 13 8.5 21.5T630-520q13 0 21.5-8.5T660-550v-20Zm-390 0h260q13 0 21.5-8.5T560-600q0-13-8.5-21.5T530-630H270q-13 0-21.5 8.5T240-600q0 13 8.5 21.5T270-570ZM160-200q-33 0-56.5-23.5T80-280v-480q0-33 23.5-56.5T160-840h640q33 0 56.5 23.5T880-760v480q0 33-23.5 56.5T800-200H640v40q0 17-11.5 28.5T600-120H360q-17 0-28.5-11.5T320-160v-40H160Zm0-80h640v-480H160v480Zm0 0v-480 480Z" }) }),
|
|
168
|
+
double_arrow_left: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m313-480 155 156q11 11 11.5 27.5T468-268q-11 11-28 11t-28-11L228-452q-6-6-8.5-13t-2.5-15q0-8 2.5-15t8.5-13l184-184q11-11 27.5-11.5T468-692q11 11 11 28t-11 28L313-480Zm264 0 155 156q11 11 11.5 27.5T732-268q-11 11-28 11t-28-11L492-452q-6-6-8.5-13t-2.5-15q0-8 2.5-15t8.5-13l184-184q11-11 27.5-11.5T732-692q11 11 11 28t-11 28L577-480Z" }) }),
|
|
169
|
+
double_arrow_right: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M383-480 228-636q-11-11-11.5-27.5T228-692q11-11 28-11t28 11l184 184q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L284-268q-11 11-27.5 11.5T228-268q-11-11-11-28t11-28l155-156Zm264 0L492-636q-11-11-11.5-27.5T492-692q11-11 28-11t28 11l184 184q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L548-268q-11 11-27.5 11.5T492-268q-11-11-11-28t11-28l155-156Z" }) }),
|
|
170
|
+
download: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M480-337q-8 0-15-2.5t-13-8.5L308-492q-12-12-11.5-28t11.5-28q12-12 28.5-12.5T365-549l75 75v-286q0-17 11.5-28.5T480-800q17 0 28.5 11.5T520-760v286l75-75q12-12 28.5-11.5T652-548q11 12 11.5 28T652-492L508-348q-6 6-13 8.5t-15 2.5ZM240-160q-33 0-56.5-23.5T160-240v-80q0-17 11.5-28.5T200-360q17 0 28.5 11.5T240-320v80h480v-80q0-17 11.5-28.5T760-360q17 0 28.5 11.5T800-320v80q0 33-23.5 56.5T720-160H240Z" }) }),
|
|
171
|
+
east: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M727-440H120q-17 0-28.5-11.5T80-480q0-17 11.5-28.5T120-520h607L572-676q-11-11-11.5-27.5T572-732q11-11 28-11t28 11l224 224q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L628-228q-11 11-27.5 11T572-228q-12-12-12-28.5t12-28.5l155-155Z" }) }),
|
|
172
|
+
error: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm0-160q17 0 28.5-11.5T520-480v-160q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640v160q0 17 11.5 28.5T480-440Zm0 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" }) }),
|
|
173
|
+
exclamation: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M480-400q-17 0-28.5-11.5T440-440v-280q0-17 11.5-28.5T480-760q17 0 28.5 11.5T520-720v280q0 17-11.5 28.5T480-400Zm0 200q-17 0-28.5-11.5T440-240q0-17 11.5-28.5T480-280q17 0 28.5 11.5T520-240q0 17-11.5 28.5T480-200Z" }) }),
|
|
174
|
+
help: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M478-240q21 0 35.5-14.5T528-290q0-21-14.5-35.5T478-340q-21 0-35.5 14.5T428-290q0 21 14.5 35.5T478-240Zm2 160q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Zm4-172q25 0 43.5 16t18.5 40q0 22-13.5 39T502-525q-23 20-40.5 44T444-427q0 14 10.5 23.5T479-394q15 0 25.5-10t13.5-25q4-21 18-37.5t30-31.5q23-22 39.5-48t16.5-58q0-51-41.5-83.5T484-720q-38 0-72.5 16T359-655q-7 12-4.5 25.5T368-609q14 8 29 5t25-17q11-15 27.5-23t34.5-8Z" }) }),
|
|
175
|
+
info: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M480-280q17 0 28.5-11.5T520-320v-160q0-17-11.5-28.5T480-520q-17 0-28.5 11.5T440-480v160q0 17 11.5 28.5T480-280Zm0-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" }) }),
|
|
176
|
+
light_mode: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M480-360q50 0 85-35t35-85q0-50-35-85t-85-35q-50 0-85 35t-35 85q0 50 35 85t85 35Zm0 80q-83 0-141.5-58.5T280-480q0-83 58.5-141.5T480-680q83 0 141.5 58.5T680-480q0 83-58.5 141.5T480-280ZM80-440q-17 0-28.5-11.5T40-480q0-17 11.5-28.5T80-520h80q17 0 28.5 11.5T200-480q0 17-11.5 28.5T160-440H80Zm720 0q-17 0-28.5-11.5T760-480q0-17 11.5-28.5T800-520h80q17 0 28.5 11.5T920-480q0 17-11.5 28.5T880-440h-80ZM480-760q-17 0-28.5-11.5T440-800v-80q0-17 11.5-28.5T480-920q17 0 28.5 11.5T520-880v80q0 17-11.5 28.5T480-760Zm0 720q-17 0-28.5-11.5T440-80v-80q0-17 11.5-28.5T480-200q17 0 28.5 11.5T520-160v80q0 17-11.5 28.5T480-40ZM226-678l-43-42q-12-11-11.5-28t11.5-29q12-12 29-12t28 12l42 43q11 12 11 28t-11 28q-11 12-27.5 11.5T226-678Zm494 495-42-43q-11-12-11-28.5t11-27.5q11-12 27.5-11.5T734-282l43 42q12 11 11.5 28T777-183q-12 12-29 12t-28-12Zm-42-495q-12-11-11.5-27.5T678-734l42-43q11-12 28-11.5t29 11.5q12 12 12 29t-12 28l-43 42q-12 11-28 11t-28-11ZM183-183q-12-12-12-29t12-28l43-42q12-11 28.5-11t27.5 11q12 11 11.5 27.5T282-226l-42 43q-11 12-28 11.5T183-183Zm297-297Z" }) }),
|
|
177
|
+
link: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M280-280q-83 0-141.5-58.5T80-480q0-83 58.5-141.5T280-680h120q17 0 28.5 11.5T440-640q0 17-11.5 28.5T400-600H280q-50 0-85 35t-35 85q0 50 35 85t85 35h120q17 0 28.5 11.5T440-320q0 17-11.5 28.5T400-280H280Zm80-160q-17 0-28.5-11.5T320-480q0-17 11.5-28.5T360-520h240q17 0 28.5 11.5T640-480q0 17-11.5 28.5T600-440H360Zm200 160q-17 0-28.5-11.5T520-320q0-17 11.5-28.5T560-360h120q50 0 85-35t35-85q0-50-35-85t-85-35H560q-17 0-28.5-11.5T520-640q0-17 11.5-28.5T560-680h120q83 0 141.5 58.5T880-480q0 83-58.5 141.5T680-280H560Z" }) }),
|
|
178
|
+
login: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M520-120q-17 0-28.5-11.5T480-160q0-17 11.5-28.5T520-200h240v-560H520q-17 0-28.5-11.5T480-800q0-17 11.5-28.5T520-840h240q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H520Zm-73-320H160q-17 0-28.5-11.5T120-480q0-17 11.5-28.5T160-520h287l-75-75q-11-11-11-27t11-28q11-12 28-12.5t29 11.5l143 143q12 12 12 28t-12 28L429-309q-12 12-28.5 11.5T372-310q-11-12-10.5-28.5T373-366l74-74Z" }) }),
|
|
179
|
+
logout: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h240q17 0 28.5 11.5T480-800q0 17-11.5 28.5T440-760H200v560h240q17 0 28.5 11.5T480-160q0 17-11.5 28.5T440-120H200Zm487-320H400q-17 0-28.5-11.5T360-480q0-17 11.5-28.5T400-520h287l-75-75q-11-11-11-27t11-28q11-12 28-12.5t29 11.5l143 143q12 12 12 28t-12 28L669-309q-12 12-28.5 11.5T612-310q-11-12-10.5-28.5T613-366l74-74Z" }) }),
|
|
180
|
+
menu: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M160-240q-17 0-28.5-11.5T120-280q0-17 11.5-28.5T160-320h640q17 0 28.5 11.5T840-280q0 17-11.5 28.5T800-240H160Zm0-200q-17 0-28.5-11.5T120-480q0-17 11.5-28.5T160-520h640q17 0 28.5 11.5T840-480q0 17-11.5 28.5T800-440H160Zm0-200q-17 0-28.5-11.5T120-680q0-17 11.5-28.5T160-720h640q17 0 28.5 11.5T840-680q0 17-11.5 28.5T800-640H160Z" }) }),
|
|
181
|
+
more_horiz: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M240-400q-33 0-56.5-23.5T160-480q0-33 23.5-56.5T240-560q33 0 56.5 23.5T320-480q0 33-23.5 56.5T240-400Zm240 0q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm240 0q-33 0-56.5-23.5T640-480q0-33 23.5-56.5T720-560q33 0 56.5 23.5T800-480q0 33-23.5 56.5T720-400Z" }) }),
|
|
182
|
+
more_vert: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M480-160q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm0-240q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm0-240q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Z" }) }),
|
|
183
|
+
north: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M480-80q-17 0-28.5-11.5T440-120v-607L284-572q-11 11-27.5 11.5T228-572q-11-11-11-28t11-28l224-224q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l224 224q11 11 11 27.5T732-572q-12 12-28.5 12T675-572L520-727v607q0 17-11.5 28.5T480-80Z" }) }),
|
|
184
|
+
open_in_new: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h240q17 0 28.5 11.5T480-800q0 17-11.5 28.5T440-760H200v560h560v-240q0-17 11.5-28.5T800-480q17 0 28.5 11.5T840-440v240q0 33-23.5 56.5T760-120H200Zm560-584L416-360q-11 11-28 11t-28-11q-11-11-11-28t11-28l344-344H600q-17 0-28.5-11.5T560-800q0-17 11.5-28.5T600-840h200q17 0 28.5 11.5T840-800v200q0 17-11.5 28.5T800-560q-17 0-28.5-11.5T760-600v-104Z" }) }),
|
|
185
|
+
print: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M320-120q-33 0-56.5-23.5T240-200v-80h-80q-33 0-56.5-23.5T80-360v-160q0-51 35-85.5t85-34.5h560q51 0 85.5 34.5T880-520v160q0 33-23.5 56.5T800-280h-80v80q0 33-23.5 56.5T640-120H320ZM160-360h80q0-33 23.5-56.5T320-440h320q33 0 56.5 23.5T720-360h80v-160q0-17-11.5-28.5T760-560H200q-17 0-28.5 11.5T160-520v160Zm480-280v-120H320v120h-80v-120q0-33 23.5-56.5T320-840h320q33 0 56.5 23.5T720-760v120h-80Zm80 180q17 0 28.5-11.5T760-500q0-17-11.5-28.5T720-540q-17 0-28.5 11.5T680-500q0 17 11.5 28.5T720-460Zm-80 260v-160H320v160h320ZM160-560h640-640Z" }) }),
|
|
186
|
+
progress_activity: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M480-80q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 31.5-155.5t86-127Q252-817 325-848.5T480-880q17 0 28.5 11.5T520-840q0 17-11.5 28.5T480-800q-133 0-226.5 93.5T160-480q0 133 93.5 226.5T480-160q133 0 226.5-93.5T800-480q0-17 11.5-28.5T840-520q17 0 28.5 11.5T880-480q0 82-31.5 155t-86 127.5q-54.5 54.5-127 86T480-80Z" }) }),
|
|
187
|
+
remove: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M240-440q-17 0-28.5-11.5T200-480q0-17 11.5-28.5T240-520h480q17 0 28.5 11.5T760-480q0 17-11.5 28.5T720-440H240Z" }) }),
|
|
188
|
+
search: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M380-320q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l224 224q11 11 11 28t-11 28q-11 11-28 11t-28-11L532-372q-30 24-69 38t-83 14Zm0-80q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z" }) }),
|
|
189
|
+
settings_brightness: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m420-320 46 46q6 6 14 6t14-6l46-46h80q8 0 14-6t6-14v-80l46-46q6-6 6-14t-6-14l-46-46v-80q0-8-6-14t-14-6h-80l-46-46q-6-6-14-6t-14 6l-46 46h-80q-8 0-14 6t-6 14v80l-46 46q-6 6-6 14t6 14l46 46v80q0 8 6 14t14 6h80Zm60-40v-240q50 0 85 35t35 85q0 50-35 85t-85 35ZM160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm0-80h640v-480H160v480Zm0 0v-480 480Z" }) }),
|
|
190
|
+
share: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M680-80q-50 0-85-35t-35-85q0-6 3-28L282-392q-16 15-37 23.5t-45 8.5q-50 0-85-35t-35-85q0-50 35-85t85-35q24 0 45 8.5t37 23.5l281-164q-2-7-2.5-13.5T560-760q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35q-24 0-45-8.5T598-672L317-508q2 7 2.5 13.5t.5 14.5q0 8-.5 14.5T317-452l281 164q16-15 37-23.5t45-8.5q50 0 85 35t35 85q0 50-35 85t-85 35Zm0-80q17 0 28.5-11.5T720-200q0-17-11.5-28.5T680-240q-17 0-28.5 11.5T640-200q0 17 11.5 28.5T680-160ZM200-440q17 0 28.5-11.5T240-480q0-17-11.5-28.5T200-520q-17 0-28.5 11.5T160-480q0 17 11.5 28.5T200-440Zm480-280q17 0 28.5-11.5T720-760q0-17-11.5-28.5T680-800q-17 0-28.5 11.5T640-760q0 17 11.5 28.5T680-720Zm0 520ZM200-480Zm480-280Z" }) }),
|
|
191
|
+
side_navigation: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm280-80h280v-560H480v560Z" }) }),
|
|
192
|
+
south: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M480-97q-8 0-15-2.5t-13-8.5L228-332q-11-11-11-28t11-28q12-12 28.5-11.5T284-388l156 155v-607q0-17 11.5-28.5T480-880q17 0 28.5 11.5T520-840v607l155-155q12-12 28.5-12t28.5 12q11 12 11 28.5T732-332L508-108q-6 6-13 8.5T480-97Z" }) }),
|
|
193
|
+
unfold_less: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m480-284-96 96q-11 11-28 11t-28-11q-11-11-11-28t11-28l124-124q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l124 124q11 11 11 28t-11 28q-11 11-28 11t-28-11l-96-96Zm0-392 96-96q11-11 28-11t28 11q11 11 11 28t-11 28L508-592q-6 6-13 8.5t-15 2.5q-8 0-15-2.5t-13-8.5L328-716q-11-11-11-28t11-28q11-11 28-11t28 11l96 96Z" }) }),
|
|
194
|
+
unfold_more: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m480-236 93-93q12-12 29-12t29 12q12 12 12 29t-12 29L508-148q-6 6-13 8.5t-15 2.5q-8 0-15-2.5t-13-8.5L329-271q-12-12-12-29t12-29q12-12 29-12t29 12l93 93Zm0-484-93 93q-12 12-29 12t-29-12q-12-12-12-29t12-29l123-123q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l123 123q12 12 12 29t-12 29q-12 12-29 12t-29-12l-93-93Z" }) }),
|
|
195
|
+
upload: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M240-160q-33 0-56.5-23.5T160-240v-80q0-17 11.5-28.5T200-360q17 0 28.5 11.5T240-320v80h480v-80q0-17 11.5-28.5T760-360q17 0 28.5 11.5T800-320v80q0 33-23.5 56.5T720-160H240Zm200-486-75 75q-12 12-28.5 11.5T308-572q-11-12-11.5-28t11.5-28l144-144q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l144 144q12 12 11.5 28T652-572q-12 12-28.5 12.5T595-571l-75-75v286q0 17-11.5 28.5T480-320q-17 0-28.5-11.5T440-360v-286Z" }) }),
|
|
196
|
+
west: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M233-440h607q17 0 28.5-11.5T880-480q0-17-11.5-28.5T840-520H233l155-156q11-11 11.5-27.5T388-732q-11-11-28-11t-28 11L108-508q-6 6-8.5 13T97-480q0 8 2.5 15t8.5 13l224 224q11 11 27.5 11t28.5-11q12-12 12-28.5T388-285L233-440Z" }) })
|
|
197
|
+
};
|
|
198
|
+
function SocialLink({
|
|
199
|
+
href,
|
|
200
|
+
icon: Icon,
|
|
201
|
+
children
|
|
202
|
+
}) {
|
|
203
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Link3__default.default, { href, className: "group", children: [
|
|
204
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children }),
|
|
205
|
+
/* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "h-5 w-5 fill-zinc-700 transition group-hover:fill-zinc-900 dark:group-hover:fill-zinc-500" })
|
|
206
|
+
] });
|
|
610
207
|
}
|
|
611
208
|
function SmallPrint() {
|
|
612
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
613
|
-
className:
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
/* @__PURE__ */ new Date().getFullYear(),
|
|
621
|
-
'. All rights reserved.',
|
|
622
|
-
],
|
|
623
|
-
}),
|
|
624
|
-
/* @__PURE__ */ jsxRuntime.jsx('div', {
|
|
625
|
-
className: 'flex gap-4',
|
|
626
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(SocialLink, {
|
|
627
|
-
href: '#',
|
|
628
|
-
icon: Icons.github,
|
|
629
|
-
children: 'Follow us on GitHub',
|
|
630
|
-
}),
|
|
631
|
-
}),
|
|
632
|
-
],
|
|
633
|
-
})
|
|
209
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center justify-between gap-5 border-t border-zinc-900/5 pt-8 sm:flex-row dark:border-white/5", children: [
|
|
210
|
+
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-xs text-zinc-600 dark:text-zinc-400", children: [
|
|
211
|
+
"\xA9 Copyright ",
|
|
212
|
+
(/* @__PURE__ */ new Date()).getFullYear(),
|
|
213
|
+
". All rights reserved."
|
|
214
|
+
] }),
|
|
215
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex gap-4", children: /* @__PURE__ */ jsxRuntime.jsx(SocialLink, { href: "#", icon: Icons.github, children: "Follow us on GitHub" }) })
|
|
216
|
+
] });
|
|
634
217
|
}
|
|
635
218
|
function Footer() {
|
|
636
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
637
|
-
className: 'mx-auto w-full max-w-2xl space-y-10 pb-16 lg:max-w-5xl',
|
|
638
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(SmallPrint, {}),
|
|
639
|
-
})
|
|
219
|
+
return /* @__PURE__ */ jsxRuntime.jsx("footer", { className: "mx-auto w-full max-w-2xl space-y-10 pb-16 lg:max-w-5xl", children: /* @__PURE__ */ jsxRuntime.jsx(SmallPrint, {}) });
|
|
640
220
|
}
|
|
641
221
|
function getNodeText(node) {
|
|
642
|
-
let text =
|
|
222
|
+
let text = "";
|
|
643
223
|
for (const child of node.children ?? []) {
|
|
644
|
-
if (
|
|
645
|
-
text += child.attributes?.content ??
|
|
224
|
+
if ("type" in child && child.type === "text") {
|
|
225
|
+
text += child.attributes?.content ?? "";
|
|
646
226
|
} else if (child instanceof HTMLElement) {
|
|
647
|
-
text += getNodeText(child)
|
|
227
|
+
text += getNodeText(child);
|
|
648
228
|
}
|
|
649
229
|
}
|
|
650
|
-
return text
|
|
230
|
+
return text;
|
|
651
231
|
}
|
|
652
232
|
function domToSimple(node) {
|
|
653
233
|
if (node.nodeType === Node.TEXT_NODE) {
|
|
654
234
|
return {
|
|
655
|
-
type:
|
|
235
|
+
type: "text",
|
|
656
236
|
attributes: {
|
|
657
|
-
content: node.textContent ?? void 0
|
|
658
|
-
}
|
|
659
|
-
}
|
|
237
|
+
content: node.textContent ?? void 0
|
|
238
|
+
}
|
|
239
|
+
};
|
|
660
240
|
}
|
|
661
241
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
662
242
|
return {
|
|
663
243
|
type: node.nodeName.toLowerCase(),
|
|
664
244
|
attributes: {},
|
|
665
|
-
children: Array.from(node.childNodes).map(domToSimple)
|
|
666
|
-
}
|
|
245
|
+
children: Array.from(node.childNodes).map(domToSimple)
|
|
246
|
+
};
|
|
667
247
|
}
|
|
668
|
-
throw new Error(
|
|
248
|
+
throw new Error("Unsupported node type");
|
|
669
249
|
}
|
|
670
250
|
function getHeadings(slugify$1 = slugify.slugifyWithCounter()) {
|
|
671
|
-
const content = document.querySelector(
|
|
251
|
+
const content = document.querySelector("article");
|
|
672
252
|
if (!content) {
|
|
673
|
-
return []
|
|
253
|
+
return [];
|
|
674
254
|
}
|
|
675
|
-
const headings = Array.from(content.querySelectorAll(
|
|
676
|
-
const result = []
|
|
677
|
-
const stack = []
|
|
255
|
+
const headings = Array.from(content.querySelectorAll("h2, h3, h4, h5, h6"));
|
|
256
|
+
const result = [];
|
|
257
|
+
const stack = [];
|
|
678
258
|
headings.forEach((el) => {
|
|
679
|
-
const simplifiedNode = domToSimple(el)
|
|
680
|
-
const title = getNodeText(simplifiedNode).trim()
|
|
681
|
-
const slugifiedTitle = slugify$1(title)
|
|
682
|
-
const id = el.id || slugifiedTitle
|
|
683
|
-
const level = parseInt(el.tagName[1])
|
|
684
|
-
const node = { level, id, title, children: [] }
|
|
685
|
-
if (!el.id) el.id = id
|
|
259
|
+
const simplifiedNode = domToSimple(el);
|
|
260
|
+
const title = getNodeText(simplifiedNode).trim();
|
|
261
|
+
const slugifiedTitle = slugify$1(title);
|
|
262
|
+
const id = el.id || slugifiedTitle;
|
|
263
|
+
const level = parseInt(el.tagName[1]);
|
|
264
|
+
const node = { level, id, title, children: [] };
|
|
265
|
+
if (!el.id) el.id = id;
|
|
686
266
|
if (level === 2) {
|
|
687
|
-
result.push(node)
|
|
688
|
-
stack.length = 0
|
|
689
|
-
stack.push(node)
|
|
267
|
+
result.push(node);
|
|
268
|
+
stack.length = 0;
|
|
269
|
+
stack.push(node);
|
|
690
270
|
} else {
|
|
691
271
|
while (stack.length && stack[stack.length - 1].level >= level) {
|
|
692
|
-
stack.pop()
|
|
272
|
+
stack.pop();
|
|
693
273
|
}
|
|
694
274
|
if (stack.length) {
|
|
695
|
-
stack[stack.length - 1].children.push(node)
|
|
275
|
+
stack[stack.length - 1].children.push(node);
|
|
696
276
|
}
|
|
697
|
-
stack.push(node)
|
|
277
|
+
stack.push(node);
|
|
698
278
|
}
|
|
699
|
-
})
|
|
700
|
-
return result
|
|
279
|
+
});
|
|
280
|
+
return result;
|
|
701
281
|
}
|
|
702
282
|
function Masthead() {
|
|
703
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
704
|
-
className: 'bg-primary h-[var(--masthead-height)] w-full',
|
|
705
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('div', {
|
|
706
|
-
className: 'mx-auto flex w-full items-center justify-between px-4 py-2 sm:px-6 lg:px-8',
|
|
707
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('div', {
|
|
708
|
-
className: 'flex items-center gap-x-12',
|
|
709
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('p', {
|
|
710
|
-
className: 'text-xs text-white',
|
|
711
|
-
children: 'A NSW Government website',
|
|
712
|
-
}),
|
|
713
|
-
}),
|
|
714
|
-
}),
|
|
715
|
-
})
|
|
283
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "bg-primary h-[var(--masthead-height)] w-full", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto flex w-full items-center justify-between px-4 py-2 sm:px-6 lg:px-8", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-x-12", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-white", children: "A NSW Government website" }) }) }) });
|
|
716
284
|
}
|
|
717
285
|
function Logo(props) {
|
|
718
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
719
|
-
children:
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
],
|
|
723
|
-
})
|
|
286
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
287
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "NSW Government" }),
|
|
288
|
+
/* @__PURE__ */ jsxRuntime.jsx(Icons.logo, { ...props })
|
|
289
|
+
] });
|
|
724
290
|
}
|
|
725
|
-
function Navigation({
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
291
|
+
function Navigation({
|
|
292
|
+
className,
|
|
293
|
+
onLinkClick,
|
|
294
|
+
navigation: navigation$1
|
|
295
|
+
}) {
|
|
296
|
+
const pathname = navigation.usePathname();
|
|
297
|
+
return /* @__PURE__ */ jsxRuntime.jsx("nav", { className: clsx__default.default("text-base lg:text-sm", className), children: /* @__PURE__ */ jsxRuntime.jsx("ul", { role: "list", className: "flex flex-col gap-9", children: navigation$1.map((section) => /* @__PURE__ */ jsxRuntime.jsxs("li", { children: [
|
|
298
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: "font-display text-foreground font-medium dark:text-white", children: section.title }),
|
|
299
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
300
|
+
"ul",
|
|
301
|
+
{
|
|
302
|
+
role: "list",
|
|
303
|
+
className: "border-nsw-grey-400 dark:border-nsw-grey-200/15 mt-2 flex flex-col gap-2 border-l lg:mt-4",
|
|
304
|
+
children: section.links.map((link) => /* @__PURE__ */ jsxRuntime.jsx("li", { className: "-ml-px flex flex-col items-start gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
305
|
+
Link3__default.default,
|
|
735
306
|
{
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
href: link.href,
|
|
752
|
-
onClick: onLinkClick,
|
|
753
|
-
className: clsx__default.default(
|
|
754
|
-
'text-foreground inline-block border-l pl-5 text-base/8 sm:pl-4 sm:text-sm/6',
|
|
755
|
-
'hover:border-nsw-grey-950 hover:text-nsw-gray-950 hover:font-semibold',
|
|
756
|
-
'dark:text-nsw-grey-400',
|
|
757
|
-
'dark:hover:border-nsw-grey-400 dark:hover:text-white',
|
|
758
|
-
link.href === pathname &&
|
|
759
|
-
'border-primary text-primary border-l font-semibold dark:border-white',
|
|
760
|
-
),
|
|
761
|
-
children: link.title,
|
|
762
|
-
}),
|
|
763
|
-
},
|
|
764
|
-
link.href,
|
|
765
|
-
),
|
|
766
|
-
),
|
|
767
|
-
}),
|
|
768
|
-
],
|
|
769
|
-
},
|
|
770
|
-
section.title,
|
|
771
|
-
),
|
|
772
|
-
),
|
|
773
|
-
}),
|
|
774
|
-
})
|
|
307
|
+
href: link.href,
|
|
308
|
+
onClick: onLinkClick,
|
|
309
|
+
className: clsx__default.default(
|
|
310
|
+
"text-foreground inline-block border-l pl-5 text-base/8 sm:pl-4 sm:text-sm/6",
|
|
311
|
+
"hover:border-nsw-grey-950 hover:text-nsw-gray-950 hover:font-semibold",
|
|
312
|
+
"dark:text-nsw-grey-400",
|
|
313
|
+
"dark:hover:border-nsw-grey-400 dark:hover:text-white",
|
|
314
|
+
link.href === pathname && "border-primary text-primary border-l font-semibold dark:border-white"
|
|
315
|
+
),
|
|
316
|
+
children: link.title
|
|
317
|
+
}
|
|
318
|
+
) }, link.href))
|
|
319
|
+
}
|
|
320
|
+
)
|
|
321
|
+
] }, section.title)) }) });
|
|
775
322
|
}
|
|
776
323
|
function ThemeSwitcher() {
|
|
777
|
-
const { resolvedTheme, setTheme } = nextThemes.useTheme()
|
|
778
|
-
const [mounted, setMounted] = react.useState(false)
|
|
779
|
-
const classes =
|
|
324
|
+
const { resolvedTheme, setTheme } = nextThemes.useTheme();
|
|
325
|
+
const [mounted, setMounted] = react.useState(false);
|
|
326
|
+
const classes = "fill-nsw-grey-600 dark:fill-nsw-grey-100 size-6";
|
|
780
327
|
react.useEffect(() => {
|
|
781
|
-
setMounted(true)
|
|
782
|
-
}, [])
|
|
328
|
+
setMounted(true);
|
|
329
|
+
}, []);
|
|
783
330
|
if (!mounted) {
|
|
784
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Button, {
|
|
785
|
-
variant: 'ghost',
|
|
786
|
-
size: 'icon',
|
|
787
|
-
className: 'h-10 w-10',
|
|
788
|
-
disabled: true,
|
|
789
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(Icons.light_mode, { className: classes }),
|
|
790
|
-
})
|
|
331
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "ghost", size: "icon", className: "h-10 w-10", disabled: true, children: /* @__PURE__ */ jsxRuntime.jsx(Icons.light_mode, { className: classes }) });
|
|
791
332
|
}
|
|
792
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
resolvedTheme ===
|
|
800
|
-
|
|
801
|
-
: /* @__PURE__ */ jsxRuntime.jsx(Icons.dark_mode, { className: classes }),
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
],
|
|
807
|
-
})
|
|
333
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
334
|
+
Button,
|
|
335
|
+
{
|
|
336
|
+
variant: "outline",
|
|
337
|
+
size: "icon",
|
|
338
|
+
className: "h-10 w-10 cursor-pointer",
|
|
339
|
+
onClick: () => setTheme(resolvedTheme === "dark" ? "light" : "dark"),
|
|
340
|
+
"aria-label": `Switch to ${resolvedTheme === "dark" ? "light" : "dark"} theme`,
|
|
341
|
+
children: [
|
|
342
|
+
resolvedTheme === "dark" ? /* @__PURE__ */ jsxRuntime.jsx(Icons.light_mode, { className: classes }) : /* @__PURE__ */ jsxRuntime.jsx(Icons.dark_mode, { className: classes }),
|
|
343
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: resolvedTheme === "dark" ? "Switch to light theme" : "Switch to dark theme" })
|
|
344
|
+
]
|
|
345
|
+
}
|
|
346
|
+
);
|
|
808
347
|
}
|
|
809
348
|
function TableOfContents({ tableOfContents }) {
|
|
810
|
-
const [currentSection, setCurrentSection] = react.useState(tableOfContents[0]?.id)
|
|
349
|
+
const [currentSection, setCurrentSection] = react.useState(tableOfContents[0]?.id);
|
|
811
350
|
const getHeadings2 = react.useCallback((tableOfContents2) => {
|
|
812
|
-
return tableOfContents2
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
})
|
|
822
|
-
.filter((x) => x !== null)
|
|
823
|
-
}, [])
|
|
351
|
+
return tableOfContents2.flatMap((node) => [node.id, ...node.children.map((child) => child.id)]).map((id) => {
|
|
352
|
+
const el = document.getElementById(id);
|
|
353
|
+
if (!el) return null;
|
|
354
|
+
const style = window.getComputedStyle(el);
|
|
355
|
+
const scrollMt = parseFloat(style.scrollMarginTop);
|
|
356
|
+
const top = window.scrollY + el.getBoundingClientRect().top - scrollMt;
|
|
357
|
+
return { id, top };
|
|
358
|
+
}).filter((x) => x !== null);
|
|
359
|
+
}, []);
|
|
824
360
|
react.useEffect(() => {
|
|
825
|
-
if (tableOfContents.length === 0) return
|
|
826
|
-
const headings = getHeadings2(tableOfContents)
|
|
361
|
+
if (tableOfContents.length === 0) return;
|
|
362
|
+
const headings = getHeadings2(tableOfContents);
|
|
827
363
|
function onScroll() {
|
|
828
|
-
const top = window.scrollY
|
|
829
|
-
let current = headings[0].id
|
|
364
|
+
const top = window.scrollY;
|
|
365
|
+
let current = headings[0].id;
|
|
830
366
|
for (const heading of headings) {
|
|
831
367
|
if (top >= heading.top - 10) {
|
|
832
|
-
current = heading.id
|
|
368
|
+
current = heading.id;
|
|
833
369
|
} else {
|
|
834
|
-
break
|
|
370
|
+
break;
|
|
835
371
|
}
|
|
836
372
|
}
|
|
837
|
-
setCurrentSection(current)
|
|
373
|
+
setCurrentSection(current);
|
|
838
374
|
}
|
|
839
|
-
window.addEventListener(
|
|
840
|
-
onScroll()
|
|
375
|
+
window.addEventListener("scroll", onScroll, { passive: true });
|
|
376
|
+
onScroll();
|
|
841
377
|
return () => {
|
|
842
|
-
window.removeEventListener(
|
|
843
|
-
}
|
|
844
|
-
}, [getHeadings2, tableOfContents])
|
|
378
|
+
window.removeEventListener("scroll", onScroll);
|
|
379
|
+
};
|
|
380
|
+
}, [getHeadings2, tableOfContents]);
|
|
845
381
|
function isActive(section) {
|
|
846
382
|
if (section.id === currentSection) {
|
|
847
|
-
return true
|
|
383
|
+
return true;
|
|
848
384
|
}
|
|
849
385
|
if (!section.children) {
|
|
850
|
-
return false
|
|
386
|
+
return false;
|
|
851
387
|
}
|
|
852
|
-
return section.children.findIndex(isActive) > -1
|
|
388
|
+
return section.children.findIndex(isActive) > -1;
|
|
853
389
|
}
|
|
854
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
className: 'mt-2 space-y-3 pl-5 text-slate-500 dark:text-slate-400',
|
|
892
|
-
children: section.children.map((subSection) =>
|
|
893
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
894
|
-
'li',
|
|
895
|
-
{
|
|
896
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(Link3__default.default, {
|
|
897
|
-
href: `#${subSection.id}`,
|
|
898
|
-
className: isActive(subSection)
|
|
899
|
-
? 'text-primary-light font-semibold'
|
|
900
|
-
: 'hover:text-slate-600 dark:hover:text-slate-300',
|
|
901
|
-
children: subSection.title,
|
|
902
|
-
}),
|
|
903
|
-
},
|
|
904
|
-
subSection.id,
|
|
905
|
-
),
|
|
906
|
-
),
|
|
907
|
-
}),
|
|
908
|
-
],
|
|
909
|
-
},
|
|
910
|
-
section.id,
|
|
911
|
-
),
|
|
912
|
-
),
|
|
913
|
-
}),
|
|
914
|
-
],
|
|
915
|
-
}),
|
|
916
|
-
}),
|
|
917
|
-
})
|
|
390
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden xl:sticky xl:top-[4.75rem] xl:-mr-6 xl:block xl:h-[calc(100vh-4.75rem)] xl:flex-none xl:overflow-y-auto xl:py-16 xl:pr-6", children: /* @__PURE__ */ jsxRuntime.jsx("nav", { "aria-labelledby": "on-this-page-title", className: "w-56", children: tableOfContents.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
391
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
392
|
+
"h2",
|
|
393
|
+
{
|
|
394
|
+
id: "on-this-page-title",
|
|
395
|
+
className: "font-display text-sm font-medium text-slate-900 dark:text-white",
|
|
396
|
+
children: "On this page"
|
|
397
|
+
}
|
|
398
|
+
),
|
|
399
|
+
/* @__PURE__ */ jsxRuntime.jsx("ol", { role: "list", className: "mt-4 space-y-3 text-sm", children: tableOfContents.map((section) => /* @__PURE__ */ jsxRuntime.jsxs("li", { children: [
|
|
400
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
401
|
+
Link3__default.default,
|
|
402
|
+
{
|
|
403
|
+
href: `#${section.id}`,
|
|
404
|
+
className: clsx__default.default(
|
|
405
|
+
isActive(section) ? "text-primary font-semibold" : "font-normal text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-300"
|
|
406
|
+
),
|
|
407
|
+
children: section.title
|
|
408
|
+
}
|
|
409
|
+
) }),
|
|
410
|
+
section.children.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
411
|
+
"ol",
|
|
412
|
+
{
|
|
413
|
+
role: "list",
|
|
414
|
+
className: "mt-2 space-y-3 pl-5 text-slate-500 dark:text-slate-400",
|
|
415
|
+
children: section.children.map((subSection) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
416
|
+
Link3__default.default,
|
|
417
|
+
{
|
|
418
|
+
href: `#${subSection.id}`,
|
|
419
|
+
className: isActive(subSection) ? "text-primary-light font-semibold" : "hover:text-slate-600 dark:hover:text-slate-300",
|
|
420
|
+
children: subSection.title
|
|
421
|
+
}
|
|
422
|
+
) }, subSection.id))
|
|
423
|
+
}
|
|
424
|
+
)
|
|
425
|
+
] }, section.id)) })
|
|
426
|
+
] }) }) });
|
|
918
427
|
}
|
|
919
428
|
function ArrowIcon(props) {
|
|
920
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
921
|
-
viewBox: '0 0 16 16',
|
|
922
|
-
'aria-hidden': 'true',
|
|
923
|
-
...props,
|
|
924
|
-
children: /* @__PURE__ */ jsxRuntime.jsx('path', {
|
|
925
|
-
d: 'm9.182 13.423-1.17-1.16 3.505-3.505H3V7.065h8.517l-3.506-3.5L9.181 2.4l5.512 5.511-5.511 5.512Z',
|
|
926
|
-
}),
|
|
927
|
-
})
|
|
429
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 16 16", "aria-hidden": "true", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m9.182 13.423-1.17-1.16 3.505-3.505H3V7.065h8.517l-3.506-3.5L9.181 2.4l5.512 5.511-5.511 5.512Z" }) });
|
|
928
430
|
}
|
|
929
|
-
function PageLink({
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
})
|
|
431
|
+
function PageLink({
|
|
432
|
+
title,
|
|
433
|
+
href,
|
|
434
|
+
dir = "next",
|
|
435
|
+
...props
|
|
436
|
+
}) {
|
|
437
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ...props, children: [
|
|
438
|
+
/* @__PURE__ */ jsxRuntime.jsx("dt", { className: "font-display text-sm font-medium text-slate-900 dark:text-white", children: dir === "next" ? "Next" : "Previous" }),
|
|
439
|
+
/* @__PURE__ */ jsxRuntime.jsx("dd", { className: "mt-1", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
440
|
+
Link3__default.default,
|
|
441
|
+
{
|
|
442
|
+
href,
|
|
443
|
+
className: clsx__default.default(
|
|
444
|
+
"flex items-center gap-x-1 text-base font-semibold text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-slate-300",
|
|
445
|
+
dir === "previous" && "flex-row-reverse"
|
|
446
|
+
),
|
|
447
|
+
children: [
|
|
448
|
+
title,
|
|
449
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
450
|
+
ArrowIcon,
|
|
451
|
+
{
|
|
452
|
+
className: clsx__default.default("h-4 w-4 flex-none fill-current", dir === "previous" && "-scale-x-100")
|
|
453
|
+
}
|
|
454
|
+
)
|
|
455
|
+
]
|
|
456
|
+
}
|
|
457
|
+
) })
|
|
458
|
+
] });
|
|
958
459
|
}
|
|
959
460
|
function PrevNextLinks({ navigation: navigation$1 }) {
|
|
960
|
-
const pathname = navigation.usePathname()
|
|
961
|
-
const allLinks = navigation$1.flatMap((section) => section.links)
|
|
962
|
-
const linkIndex = allLinks.findIndex((link) => link.href === pathname)
|
|
963
|
-
const previousPage = linkIndex > -1 ? allLinks[linkIndex - 1] : null
|
|
964
|
-
const nextPage = linkIndex > -1 ? allLinks[linkIndex + 1] : null
|
|
461
|
+
const pathname = navigation.usePathname();
|
|
462
|
+
const allLinks = navigation$1.flatMap((section) => section.links);
|
|
463
|
+
const linkIndex = allLinks.findIndex((link) => link.href === pathname);
|
|
464
|
+
const previousPage = linkIndex > -1 ? allLinks[linkIndex - 1] : null;
|
|
465
|
+
const nextPage = linkIndex > -1 ? allLinks[linkIndex + 1] : null;
|
|
965
466
|
if (!nextPage && !previousPage) {
|
|
966
|
-
return null
|
|
467
|
+
return null;
|
|
967
468
|
}
|
|
968
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
/* @__PURE__ */ jsxRuntime.jsx(PageLink, { dir: 'previous', ...previousPage }),
|
|
973
|
-
nextPage &&
|
|
974
|
-
/* @__PURE__ */ jsxRuntime.jsx(PageLink, { className: 'ml-auto text-right', ...nextPage }),
|
|
975
|
-
],
|
|
976
|
-
})
|
|
469
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("dl", { className: "mt-12 flex border-t border-slate-200 pt-6 dark:border-slate-800", children: [
|
|
470
|
+
previousPage && /* @__PURE__ */ jsxRuntime.jsx(PageLink, { dir: "previous", ...previousPage }),
|
|
471
|
+
nextPage && /* @__PURE__ */ jsxRuntime.jsx(PageLink, { className: "ml-auto text-right", ...nextPage })
|
|
472
|
+
] });
|
|
977
473
|
}
|
|
978
474
|
var defaultNavigation = [
|
|
979
475
|
{
|
|
980
|
-
title:
|
|
476
|
+
title: "Getting Started",
|
|
981
477
|
links: [
|
|
982
|
-
{ title:
|
|
983
|
-
{ title:
|
|
984
|
-
]
|
|
478
|
+
{ title: "Introduction", href: "/" },
|
|
479
|
+
{ title: "Installation", href: "/installation" }
|
|
480
|
+
]
|
|
985
481
|
},
|
|
986
482
|
{
|
|
987
|
-
title:
|
|
483
|
+
title: "Components",
|
|
988
484
|
links: [
|
|
989
|
-
{ title:
|
|
990
|
-
{ title:
|
|
991
|
-
{ title:
|
|
992
|
-
]
|
|
993
|
-
}
|
|
994
|
-
]
|
|
485
|
+
{ title: "Button", href: "/components/button" },
|
|
486
|
+
{ title: "Layout", href: "/components/layout" },
|
|
487
|
+
{ title: "Navigation", href: "/components/navigation" }
|
|
488
|
+
]
|
|
489
|
+
}
|
|
490
|
+
];
|
|
995
491
|
function usePageHeadings() {
|
|
996
|
-
const [headings, setHeadings] = react.useState([])
|
|
492
|
+
const [headings, setHeadings] = react.useState([]);
|
|
997
493
|
react.useEffect(() => {
|
|
998
|
-
const result = getHeadings()
|
|
999
|
-
setHeadings(result)
|
|
1000
|
-
}, [])
|
|
1001
|
-
return headings
|
|
494
|
+
const result = getHeadings();
|
|
495
|
+
setHeadings(result);
|
|
496
|
+
}, []);
|
|
497
|
+
return headings;
|
|
1002
498
|
}
|
|
1003
499
|
function Header({ sitename } = {}) {
|
|
1004
|
-
const [isScrolled, setIsScrolled] = react.useState(false)
|
|
500
|
+
const [isScrolled, setIsScrolled] = react.useState(false);
|
|
1005
501
|
react.useEffect(() => {
|
|
1006
502
|
function onScroll() {
|
|
1007
|
-
setIsScrolled(window.scrollY > 0)
|
|
503
|
+
setIsScrolled(window.scrollY > 0);
|
|
1008
504
|
}
|
|
1009
|
-
onScroll()
|
|
1010
|
-
window.addEventListener(
|
|
505
|
+
onScroll();
|
|
506
|
+
window.addEventListener("scroll", onScroll, { passive: true });
|
|
1011
507
|
return () => {
|
|
1012
|
-
window.removeEventListener(
|
|
1013
|
-
}
|
|
1014
|
-
}, [])
|
|
1015
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
:
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
children: [
|
|
1031
|
-
/* @__PURE__ */ jsxRuntime.jsx(Logo, { className: 'h-12 w-auto lg:h-14' }),
|
|
1032
|
-
/* @__PURE__ */ jsxRuntime.jsx('h2', {
|
|
1033
|
-
className: 'text-primary ml-6 text-2xl font-semibold dark:text-white',
|
|
1034
|
-
children: sitename,
|
|
1035
|
-
}),
|
|
1036
|
-
],
|
|
1037
|
-
}),
|
|
1038
|
-
}),
|
|
1039
|
-
/* @__PURE__ */ jsxRuntime.jsx('div', { className: '-my-5 mr-6 sm:mr-8 md:mr-0' }),
|
|
1040
|
-
/* @__PURE__ */ jsxRuntime.jsxs('div', {
|
|
1041
|
-
className: 'relative flex basis-0 justify-end gap-2 sm:gap-4 md:grow',
|
|
1042
|
-
children: [
|
|
508
|
+
window.removeEventListener("scroll", onScroll);
|
|
509
|
+
};
|
|
510
|
+
}, []);
|
|
511
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
512
|
+
"header",
|
|
513
|
+
{
|
|
514
|
+
className: clsx__default.default(
|
|
515
|
+
"sticky top-0 z-50 flex flex-none flex-wrap items-center justify-between bg-white px-4 py-5 shadow-md shadow-slate-900/5 transition duration-500 sm:px-6 lg:px-8 dark:shadow-none",
|
|
516
|
+
isScrolled ? "dark:bg-slate-900/95 dark:backdrop-blur-sm dark:[@supports(backdrop-filter:blur(0))]:bg-slate-900/75" : "dark:bg-transparent"
|
|
517
|
+
),
|
|
518
|
+
children: [
|
|
519
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mr-6 flex lg:hidden" }),
|
|
520
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex grow basis-0 items-center", children: /* @__PURE__ */ jsxRuntime.jsxs(Link3__default.default, { href: "/", "aria-label": "Home page", className: "flex items-center justify-between", children: [
|
|
521
|
+
/* @__PURE__ */ jsxRuntime.jsx(Logo, { className: "h-12 w-auto lg:h-14" }),
|
|
522
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-primary ml-6 text-2xl font-semibold dark:text-white", children: sitename })
|
|
523
|
+
] }) }),
|
|
524
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "-my-5 mr-6 sm:mr-8 md:mr-0" }),
|
|
525
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex basis-0 justify-end gap-2 sm:gap-4 md:grow", children: [
|
|
1043
526
|
/* @__PURE__ */ jsxRuntime.jsx(ThemeSwitcher, {}),
|
|
1044
|
-
/* @__PURE__ */ jsxRuntime.jsx(Button, {
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(Link3__default.default, {
|
|
1050
|
-
href: 'https://github.com',
|
|
1051
|
-
className: 'group',
|
|
1052
|
-
'aria-label': 'GitHub',
|
|
1053
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(Icons.github, {
|
|
1054
|
-
className: 'fill-nsw-grey-600 dark:fill-nsw-grey-100 size-6',
|
|
1055
|
-
}),
|
|
1056
|
-
}),
|
|
1057
|
-
}),
|
|
1058
|
-
],
|
|
1059
|
-
}),
|
|
1060
|
-
],
|
|
1061
|
-
})
|
|
527
|
+
/* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "outline", size: "icon", className: "h-10 w-10", asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(Link3__default.default, { href: "https://github.com", className: "group", "aria-label": "GitHub", children: /* @__PURE__ */ jsxRuntime.jsx(Icons.github, { className: "fill-nsw-grey-600 dark:fill-nsw-grey-100 size-6" }) }) })
|
|
528
|
+
] })
|
|
529
|
+
]
|
|
530
|
+
}
|
|
531
|
+
);
|
|
1062
532
|
}
|
|
1063
533
|
function Layout({ children, sitename, navigation: navigation$1 = defaultNavigation }) {
|
|
1064
|
-
const pathname = navigation.usePathname()
|
|
1065
|
-
const isHomePage = pathname ===
|
|
1066
|
-
const tableOfContents = usePageHeadings()
|
|
1067
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
className:
|
|
1075
|
-
|
|
1076
|
-
children:
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
}),
|
|
1091
|
-
/* @__PURE__ */ jsxRuntime.jsx('div', {
|
|
1092
|
-
className:
|
|
1093
|
-
'sticky top-[4.75rem] -ml-0.5 h-[calc(100vh-4.75rem)] w-64 overflow-x-hidden overflow-y-auto py-16 pr-8 pl-0.5 xl:w-72 xl:pr-16',
|
|
1094
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(Navigation, { navigation: navigation$1 }),
|
|
1095
|
-
}),
|
|
1096
|
-
],
|
|
1097
|
-
}),
|
|
1098
|
-
/* @__PURE__ */ jsxRuntime.jsxs('div', {
|
|
1099
|
-
className: 'flex flex-1 flex-col',
|
|
1100
|
-
children: [
|
|
1101
|
-
/* @__PURE__ */ jsxRuntime.jsxs('div', {
|
|
1102
|
-
className: 'flex flex-1',
|
|
1103
|
-
children: [
|
|
1104
|
-
/* @__PURE__ */ jsxRuntime.jsxs('div', {
|
|
1105
|
-
className:
|
|
1106
|
-
'max-w-2xl min-w-0 flex-auto px-4 py-16 lg:max-w-none lg:pr-0 lg:pl-8 xl:px-16',
|
|
1107
|
-
children: [
|
|
1108
|
-
/* @__PURE__ */ jsxRuntime.jsx('article', { children }),
|
|
1109
|
-
/* @__PURE__ */ jsxRuntime.jsx(PrevNextLinks, { navigation: navigation$1 }),
|
|
1110
|
-
],
|
|
1111
|
-
}),
|
|
1112
|
-
/* @__PURE__ */ jsxRuntime.jsx(TableOfContents, { tableOfContents }),
|
|
1113
|
-
],
|
|
1114
|
-
}),
|
|
1115
|
-
/* @__PURE__ */ jsxRuntime.jsx(Footer, {}),
|
|
1116
|
-
],
|
|
1117
|
-
}),
|
|
1118
|
-
],
|
|
1119
|
-
}),
|
|
1120
|
-
],
|
|
1121
|
-
})
|
|
534
|
+
const pathname = navigation.usePathname();
|
|
535
|
+
const isHomePage = pathname === "/";
|
|
536
|
+
const tableOfContents = usePageHeadings();
|
|
537
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full flex-col", children: [
|
|
538
|
+
/* @__PURE__ */ jsxRuntime.jsx(Masthead, {}),
|
|
539
|
+
/* @__PURE__ */ jsxRuntime.jsx(Header, { sitename }),
|
|
540
|
+
isHomePage && /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, {}),
|
|
541
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-8xl relative mx-auto flex w-full flex-auto justify-center sm:px-2 lg:px-8 xl:px-12", children: [
|
|
542
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "hidden lg:relative lg:block lg:flex-none", children: [
|
|
543
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "bg-nsw-grey-50 absolute inset-y-0 right-0 w-[50vw] dark:hidden" }),
|
|
544
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "from-nsw-grey-600 absolute top-16 right-0 bottom-0 hidden h-12 w-px bg-linear-to-t dark:block" }),
|
|
545
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "bg-nsw-grey-600 absolute top-28 right-0 bottom-0 hidden w-px dark:block" }),
|
|
546
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sticky top-[4.75rem] -ml-0.5 h-[calc(100vh-4.75rem)] w-64 overflow-x-hidden overflow-y-auto py-16 pr-8 pl-0.5 xl:w-72 xl:pr-16", children: /* @__PURE__ */ jsxRuntime.jsx(Navigation, { navigation: navigation$1 }) })
|
|
547
|
+
] }),
|
|
548
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
549
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1", children: [
|
|
550
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-2xl min-w-0 flex-auto px-4 py-16 lg:max-w-none lg:pr-0 lg:pl-8 xl:px-16", children: [
|
|
551
|
+
/* @__PURE__ */ jsxRuntime.jsx("article", { children }),
|
|
552
|
+
/* @__PURE__ */ jsxRuntime.jsx(PrevNextLinks, { navigation: navigation$1 })
|
|
553
|
+
] }),
|
|
554
|
+
/* @__PURE__ */ jsxRuntime.jsx(TableOfContents, { tableOfContents })
|
|
555
|
+
] }),
|
|
556
|
+
/* @__PURE__ */ jsxRuntime.jsx(Footer, {})
|
|
557
|
+
] })
|
|
558
|
+
] })
|
|
559
|
+
] });
|
|
1122
560
|
}
|
|
1123
561
|
function ThemeProvider({ children, ...props }) {
|
|
1124
|
-
return /* @__PURE__ */ jsxRuntime.jsx(nextThemes.ThemeProvider, { ...props, children })
|
|
562
|
+
return /* @__PURE__ */ jsxRuntime.jsx(nextThemes.ThemeProvider, { ...props, children });
|
|
563
|
+
}
|
|
564
|
+
function Providers({ children }) {
|
|
565
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(ThemeProvider, { attribute: "class", defaultTheme: "system", enableSystem: true, disableTransitionOnChange: true, children: [
|
|
566
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicFavicon, { lightModeFavicon: "/icon-light.ico", darkModeFavicon: "/icon-dark.ico" }),
|
|
567
|
+
children
|
|
568
|
+
] });
|
|
1125
569
|
}
|
|
1126
570
|
function cn(...inputs) {
|
|
1127
|
-
return tailwindMerge.twMerge(clsx.clsx(inputs))
|
|
571
|
+
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
1128
572
|
}
|
|
1129
573
|
function truncate(text, maxLength) {
|
|
1130
574
|
if (text.length <= maxLength) {
|
|
1131
|
-
return text
|
|
575
|
+
return text;
|
|
1132
576
|
}
|
|
1133
|
-
return text.slice(0, maxLength) +
|
|
577
|
+
return text.slice(0, maxLength) + "...";
|
|
1134
578
|
}
|
|
1135
579
|
function kebabCase(str) {
|
|
1136
|
-
return str
|
|
1137
|
-
.replace(/([a-z])([A-Z])/g, '$1-$2')
|
|
1138
|
-
.replace(/[\s_]+/g, '-')
|
|
1139
|
-
.toLowerCase()
|
|
580
|
+
return str.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase();
|
|
1140
581
|
}
|
|
1141
582
|
function camelCase(str) {
|
|
1142
|
-
return str.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (_, chr) => chr.toUpperCase())
|
|
583
|
+
return str.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (_, chr) => chr.toUpperCase());
|
|
1143
584
|
}
|
|
1144
585
|
|
|
1145
586
|
// src/packages/index.ts
|
|
@@ -1154,32 +595,34 @@ var nswdsExports = {
|
|
|
1154
595
|
Navigation,
|
|
1155
596
|
PrevNextLinks,
|
|
1156
597
|
TableOfContents,
|
|
598
|
+
Providers,
|
|
1157
599
|
ThemeProvider,
|
|
1158
600
|
ThemeSwitcher,
|
|
1159
|
-
defaultNavigation
|
|
1160
|
-
}
|
|
1161
|
-
var index_default = nswdsExports
|
|
601
|
+
defaultNavigation
|
|
602
|
+
};
|
|
603
|
+
var index_default = nswdsExports;
|
|
1162
604
|
|
|
1163
|
-
exports.Button = Button
|
|
1164
|
-
exports.DynamicFavicon = DynamicFavicon
|
|
1165
|
-
exports.Footer = Footer
|
|
1166
|
-
exports.Icons = Icons
|
|
1167
|
-
exports.Layout = Layout
|
|
1168
|
-
exports.Logo = Logo
|
|
1169
|
-
exports.Masthead = Masthead
|
|
1170
|
-
exports.Navigation = Navigation
|
|
1171
|
-
exports.PrevNextLinks = PrevNextLinks
|
|
1172
|
-
exports.
|
|
1173
|
-
exports.
|
|
1174
|
-
exports.
|
|
1175
|
-
exports.
|
|
1176
|
-
exports.
|
|
1177
|
-
exports.
|
|
1178
|
-
exports.
|
|
1179
|
-
exports.
|
|
1180
|
-
exports.
|
|
1181
|
-
exports.
|
|
1182
|
-
exports.
|
|
1183
|
-
exports.
|
|
1184
|
-
|
|
605
|
+
exports.Button = Button;
|
|
606
|
+
exports.DynamicFavicon = DynamicFavicon;
|
|
607
|
+
exports.Footer = Footer;
|
|
608
|
+
exports.Icons = Icons;
|
|
609
|
+
exports.Layout = Layout;
|
|
610
|
+
exports.Logo = Logo;
|
|
611
|
+
exports.Masthead = Masthead;
|
|
612
|
+
exports.Navigation = Navigation;
|
|
613
|
+
exports.PrevNextLinks = PrevNextLinks;
|
|
614
|
+
exports.Providers = Providers;
|
|
615
|
+
exports.TableOfContents = TableOfContents;
|
|
616
|
+
exports.ThemeProvider = ThemeProvider;
|
|
617
|
+
exports.ThemeSwitcher = ThemeSwitcher;
|
|
618
|
+
exports.camelCase = camelCase;
|
|
619
|
+
exports.cn = cn;
|
|
620
|
+
exports.default = index_default;
|
|
621
|
+
exports.defaultNavigation = defaultNavigation;
|
|
622
|
+
exports.domToSimple = domToSimple;
|
|
623
|
+
exports.getHeadings = getHeadings;
|
|
624
|
+
exports.getNodeText = getNodeText;
|
|
625
|
+
exports.kebabCase = kebabCase;
|
|
626
|
+
exports.truncate = truncate;
|
|
1185
627
|
//# sourceMappingURL=index.cjs.map
|
|
628
|
+
//# sourceMappingURL=index.cjs.map
|