@luminescent/ui 0.7.2 → 0.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/LICENSE +661 -661
  2. package/README.md +48 -48
  3. package/package.json +62 -62
  4. package/src/tailwind.config.js +71 -71
  5. package/lib/index.qwik.cjs +0 -1944
  6. package/lib/index.qwik.mjs +0 -1944
  7. package/lib-types/components/elements/Anchor.d.ts +0 -5
  8. package/lib-types/components/elements/Button.d.ts +0 -32
  9. package/lib-types/components/elements/Card.d.ts +0 -105
  10. package/lib-types/components/elements/ColorInput.d.ts +0 -9
  11. package/lib-types/components/elements/Header.d.ts +0 -8
  12. package/lib-types/components/elements/LoadingIcon.d.ts +0 -10
  13. package/lib-types/components/elements/NumberInput.d.ts +0 -25
  14. package/lib-types/components/elements/SelectInput.d.ts +0 -14
  15. package/lib-types/components/elements/TextArea.d.ts +0 -13
  16. package/lib-types/components/elements/TextInput.d.ts +0 -15
  17. package/lib-types/components/elements/Toggle.d.ts +0 -12
  18. package/lib-types/components/elements.d.ts +0 -11
  19. package/lib-types/components/logos/Birdflop.d.ts +0 -7
  20. package/lib-types/components/logos/Discord.d.ts +0 -2
  21. package/lib-types/components/logos/Fabric.d.ts +0 -2
  22. package/lib-types/components/logos/Forge.d.ts +0 -2
  23. package/lib-types/components/logos/IconProps.d.ts +0 -3
  24. package/lib-types/components/logos/LoadingIcon.d.ts +0 -8
  25. package/lib-types/components/logos/Luminescent.d.ts +0 -3
  26. package/lib-types/components/logos/Paper.d.ts +0 -2
  27. package/lib-types/components/logos/Pterodactyl.d.ts +0 -2
  28. package/lib-types/components/logos/Purpur.d.ts +0 -2
  29. package/lib-types/components/logos/Velocity.d.ts +0 -2
  30. package/lib-types/components/logos/Waterfall.d.ts +0 -2
  31. package/lib-types/components/logos.d.ts +0 -10
  32. package/lib-types/entry.dev.d.ts +0 -2
  33. package/lib-types/entry.ssr.d.ts +0 -14
  34. package/lib-types/index.d.ts +0 -2
  35. package/lib-types/root.d.ts +0 -3
  36. package/lib-types/svg/ChevronDown.d.ts +0 -2
  37. package/lib-types/svg/Minus.d.ts +0 -2
  38. package/lib-types/svg/Plus.d.ts +0 -2
  39. package/lib-types/tailwind.config.d.ts +0 -122
  40. package/lib-types/utils/simple-color-picker/color.d.ts +0 -51
  41. package/lib-types/utils/simple-color-picker/index.d.ts +0 -145
  42. package/lib-types/utils/simple-color-picker/utils.d.ts +0 -6
@@ -1,1944 +0,0 @@
1
- import { componentQrl, inlinedQrl, _jsxQ, _fnSignal, _restProps, _jsxS, _jsxC, Slot, _wrapSignal, useStylesQrl, useLexicalScope, _IMMUTABLE, _jsxBranch, useStore } from "@builder.io/qwik";
2
- import { isServer } from "@builder.io/qwik/build";
3
- import { Fragment } from "@builder.io/qwik/jsx-runtime";
4
- const Anchor = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => /* @__PURE__ */ _jsxQ("span", null, {
5
- class: "block h-32 -mt-32",
6
- id: _fnSignal((p0) => p0.id, [
7
- props
8
- ], "p0.id")
9
- }, null, 3, "Oa_0"), "Anchor_component_O7y4zyaazA0"));
10
- const buttonColorClasses = {
11
- blue: "bg-blue-600/90 border-blue-500 hover:bg-blue-500 active:bg-blue-400 focus:border-blue-400",
12
- purple: "bg-purple-600/90 border-purple-500 hover:bg-purple-500 active:bg-purple-400 focus:border-purple-400",
13
- pink: "bg-pink-600/90 border-pink-500 hover:bg-pink-500 active:bg-pink-400 focus:border-pink-400",
14
- gray: "bg-gray-700/90 border-gray-600 hover:bg-gray-600 active:bg-gray-500 focus:border-gray-500",
15
- darkgray: "bg-gray-800/90 border-gray-700 hover:bg-gray-700 active:bg-gray-600 focus:border-gray-600",
16
- red: "bg-red-700/90 border-red-600 hover:bg-red-600 active:bg-red-500 focus:border-red-500",
17
- green: "bg-green-700/90 border-green-600 hover:bg-green-600 active:bg-green-500 focus:border-green-500",
18
- yellow: "bg-yellow-700/90 border-yellow-600 hover:bg-yellow-600 active:bg-yellow-500 focus:border-yellow-500"
19
- };
20
- const sizeClasses = {
21
- sm: "text-sm px-2 py-1 rounded-md gap-2 active:px-1",
22
- md: "text-base px-4 py-2 rounded-md gap-3",
23
- lg: "text-base px-6 py-3 rounded-lg gap-3",
24
- xl: "text-base px-8 py-4 rounded-xl gap-4"
25
- };
26
- const buttonClass = "relative flex items-center gap-3 transition ease-in-out border text-gray-50 fill-gray-50 disabled:opacity-50 hover:shadow-lg active:scale-95";
27
- const Button = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
28
- const props1 = _restProps(props, [
29
- "color",
30
- "size"
31
- ]);
32
- props1.class = {
33
- [buttonClass]: true,
34
- [buttonColorClasses[props.color ?? "darkgray"]]: true,
35
- [sizeClasses[props.size ?? "md"]]: true,
36
- ...props1.class
37
- };
38
- return /* @__PURE__ */ _jsxS("button", {
39
- ...props1,
40
- children: /* @__PURE__ */ _jsxC(Slot, null, 3, "7H_0")
41
- }, null, 0, "7H_1");
42
- }, "Button_component_40p6lkzzQYM"));
43
- const ButtonAnchor = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
44
- const props1 = _restProps(props, [
45
- "color",
46
- "size"
47
- ]);
48
- props1.class = {
49
- [buttonClass]: true,
50
- [buttonColorClasses[props.color ?? "darkgray"]]: true,
51
- [sizeClasses[props.size ?? "md"]]: true,
52
- ...props1.class
53
- };
54
- return /* @__PURE__ */ _jsxS("a", {
55
- ...props1,
56
- children: /* @__PURE__ */ _jsxC(Slot, null, 3, "7H_2")
57
- }, null, 0, "7H_3");
58
- }, "ButtonAnchor_component_vQT9xS0lqew"));
59
- const cardColorClasses = {
60
- pink: {
61
- card: {
62
- bg_blobs: "bg-pink-400/10 border-pink-400/20",
63
- bg: "bg-pink-400/60 border-pink-400",
64
- hover: "hover:bg-pink-400/20",
65
- click: "active:bg-pink-300/20"
66
- },
67
- blobs: [
68
- "bg-pink-400",
69
- "bg-pink-500",
70
- "bg-pink-600"
71
- ]
72
- },
73
- red: {
74
- card: {
75
- bg_blobs: "bg-red-400/10 border-red-400/20",
76
- bg: "bg-red-400/60 border-red-400",
77
- hover: "hover:bg-red-400/20",
78
- click: "active:bg-red-300/20"
79
- },
80
- blobs: [
81
- "bg-red-400",
82
- "bg-red-500",
83
- "bg-red-600"
84
- ]
85
- },
86
- orange: {
87
- card: {
88
- bg_blobs: "bg-orange-400/10 border-orange-400/20",
89
- bg: "bg-orange-400/60 border-orange-400",
90
- hover: "hover:bg-orange-400/20",
91
- click: "active:bg-orange-300/20"
92
- },
93
- blobs: [
94
- "bg-orange-400",
95
- "bg-orange-500",
96
- "bg-orange-600"
97
- ]
98
- },
99
- yellow: {
100
- card: {
101
- bg_blobs: "bg-yellow-400/10 border-yellow-400/20",
102
- bg: "bg-yellow-400/60 border-yellow-400",
103
- hover: "hover:bg-yellow-400/20",
104
- click: "active:bg-yellow-300/20"
105
- },
106
- blobs: [
107
- "bg-yellow-400",
108
- "bg-yellow-500",
109
- "bg-yellow-600"
110
- ]
111
- },
112
- green: {
113
- card: {
114
- bg_blobs: "bg-green-400/10 border-green-400/20",
115
- bg: "bg-green-400/60 border-green-400",
116
- hover: "hover:bg-green-400/20",
117
- click: "active:bg-green-300/20"
118
- },
119
- blobs: [
120
- "bg-green-400",
121
- "bg-green-500",
122
- "bg-green-600"
123
- ]
124
- },
125
- blue: {
126
- card: {
127
- bg_blobs: "bg-blue-400/10 border-blue-400/20",
128
- bg: "bg-blue-400/60 border-blue-400",
129
- hover: "hover:bg-blue-400/20",
130
- click: "active:bg-blue-300/20"
131
- },
132
- blobs: [
133
- "bg-blue-400",
134
- "bg-blue-500",
135
- "bg-blue-600"
136
- ]
137
- },
138
- purple: {
139
- card: {
140
- bg_blobs: "bg-purple-400/10 border-purple-400/20",
141
- bg: "bg-purple-400/60 border-purple-400",
142
- hover: "hover:bg-purple-400/20",
143
- click: "active:bg-purple-300/20"
144
- },
145
- blobs: [
146
- "bg-purple-400",
147
- "bg-purple-500",
148
- "bg-purple-600"
149
- ]
150
- },
151
- gray: {
152
- card: {
153
- bg_blobs: "bg-gray-400/10 border-gray-400/20",
154
- bg: "bg-gray-400/60 border-gray-400",
155
- hover: "hover:bg-gray-400/20",
156
- click: "active:bg-gray-300/20"
157
- },
158
- blobs: [
159
- "bg-gray-400",
160
- "bg-gray-500",
161
- "bg-gray-600"
162
- ]
163
- },
164
- darkgray: {
165
- card: {
166
- bg_blobs: "bg-gray-800/10 border-gray-800/40",
167
- bg: "bg-gray-800/60 border-gray-800",
168
- hover: "hover:bg-gray-800/40",
169
- click: "active:bg-gray-700/40"
170
- },
171
- blobs: [
172
- "bg-gray-500",
173
- "bg-gray-600",
174
- "bg-gray-700"
175
- ]
176
- },
177
- darkergray: {
178
- card: {
179
- bg_blobs: "bg-gray-900/10 border-gray-900/50",
180
- bg: "bg-gray-900/60 border-gray-900",
181
- hover: "hover:bg-gray-900/50",
182
- click: "active:bg-gray-800/50"
183
- },
184
- blobs: [
185
- "bg-gray-600",
186
- "bg-gray-700",
187
- "bg-gray-800"
188
- ]
189
- }
190
- };
191
- const blobClasses = [
192
- "animate-blob",
193
- "animate-blob1",
194
- "animate-blob2",
195
- "animate-blob3",
196
- "animate-blob4",
197
- "animate-blob5",
198
- "animate-blob6"
199
- ];
200
- const Card = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
201
- const props1 = _restProps(props, [
202
- "color",
203
- "hover",
204
- "row",
205
- "blobs"
206
- ]);
207
- const blob = Math.round(Math.random() * 6);
208
- let Component = /* @__PURE__ */ _jsxS("div", {
209
- ...props1,
210
- children: /* @__PURE__ */ _jsxC(Slot, null, 3, "OW_0"),
211
- class: {
212
- "flex gap-4 p-8 border rounded-lg transition-all": true,
213
- [cardColorClasses[props.color ?? "darkgray"].card.bg]: !props.blobs,
214
- [cardColorClasses[props.color ?? "darkgray"].card.bg_blobs]: props.blobs,
215
- [cardColorClasses[props.color ?? "darkgray"].card.hover + " hover:shadow-lg"]: props.hover,
216
- [cardColorClasses[props.color ?? "darkgray"].card.click + " active:scale-[99%] cursor-pointer select-none"]: props.hover == "clickable",
217
- "h-full": props1.href,
218
- "flex-col": !props.row,
219
- "flex-row items-center": props.row,
220
- ...props1.class
221
- }
222
- }, null, 0, "OW_1");
223
- if (props.blobs)
224
- Component = /* @__PURE__ */ _jsxQ("div", null, {
225
- class: "relative"
226
- }, [
227
- Component,
228
- /* @__PURE__ */ _jsxQ("div", null, {
229
- class: "absolute -z-10 inset-0 w-full h-full transition-all overflow-clip animate-in fade-in anim-duration-[2s]",
230
- style: {
231
- containerType: "size"
232
- }
233
- }, [
234
- /* @__PURE__ */ _jsxQ("div", {
235
- class: {
236
- "absolute top-0 w-[30cqw] h-[30cqw] rounded-full opacity-20 ease-in-out blur-xl": true,
237
- [blobClasses[blob]]: true,
238
- [cardColorClasses[props.color ?? "darkgray"].blobs[0]]: true
239
- }
240
- }, null, null, 3, null),
241
- /* @__PURE__ */ _jsxQ("div", {
242
- class: {
243
- "absolute top-0 w-[30cqw] h-[30cqw] rounded-full opacity-20 ease-in-out blur-xl": true,
244
- "anim-delay-[-5s]": true,
245
- [blobClasses[blob]]: true,
246
- [cardColorClasses[props.color ?? "darkgray"].blobs[1]]: true
247
- }
248
- }, null, null, 3, null),
249
- /* @__PURE__ */ _jsxQ("div", {
250
- class: {
251
- "absolute top-0 w-[30cqw] h-[30cqw] rounded-full opacity-20 ease-in-out blur-xl": true,
252
- "anim-delay-[-10s]": true,
253
- [blobClasses[blob]]: true,
254
- [cardColorClasses[props.color ?? "darkgray"].blobs[2]]: true
255
- }
256
- }, null, null, 3, null)
257
- ], 1, null)
258
- ], 1, "OW_2");
259
- if (props1.href)
260
- Component = /* @__PURE__ */ _jsxQ("a", {
261
- href: _wrapSignal(props1, "href")
262
- }, null, Component, 1, "OW_3");
263
- return Component;
264
- }, "Card_component_DlkkcTEVka4"));
265
- const InputClasses = "transition ease-in-out text-lg border border-gray-700 bg-gray-800 text-gray-50 hover:bg-gray-700 hover:shadow-lg focus:bg-gray-700 focus:outline-none focus:border-gray-400 rounded-md px-3 py-2";
266
- const TextInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
267
- return /* @__PURE__ */ _jsxQ("div", null, {
268
- class: "flex flex-col"
269
- }, [
270
- /* @__PURE__ */ _jsxQ("label", null, {
271
- class: "pb-2",
272
- for: _fnSignal((p0) => p0.id, [
273
- props
274
- ], "p0.id")
275
- }, /* @__PURE__ */ _jsxC(Slot, null, 3, "dC_0"), 1, null),
276
- /* @__PURE__ */ _jsxC(TextInputRaw, {
277
- ...props,
278
- children: void 0
279
- }, 0, "dC_1")
280
- ], 1, "dC_2");
281
- }, "TextInput_component_AXp2j5aulZI"));
282
- const TextInputRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
283
- return /* @__PURE__ */ _jsxS("input", {
284
- ...props,
285
- class: {
286
- [InputClasses]: true,
287
- ...props.class
288
- }
289
- }, null, 0, "dC_3");
290
- }, "TextInputRaw_component_ssloWlmBB4w"));
291
- const clamp = (value, min, max) => Math.min(Math.max(value, min), max);
292
- function getMousePosition(e) {
293
- if (e instanceof TouchEvent) {
294
- const touch = e.touches[0];
295
- return {
296
- x: touch.clientX,
297
- y: touch.clientY
298
- };
299
- }
300
- const mouse = e;
301
- return {
302
- x: mouse.clientX,
303
- y: mouse.clientY
304
- };
305
- }
306
- const pad2 = (c) => c.length == 1 ? "0" + c : "" + c;
307
- class Color {
308
- constructor(color) {
309
- this._rgba = {
310
- r: 0,
311
- g: 0,
312
- b: 0,
313
- a: 1
314
- };
315
- this._hsva = {
316
- h: 0,
317
- s: 0,
318
- v: 0,
319
- a: 1
320
- };
321
- this.fromHex(color);
322
- }
323
- fromHex(color = 0) {
324
- if (typeof color === "number") {
325
- this._hexNumber = color;
326
- this._hexString = numberToHexString(this._hexNumber);
327
- } else {
328
- this._hexString = color.toUpperCase();
329
- this._hexNumber = hexStringToNumber(this._hexString);
330
- }
331
- const { r, g, b } = hexNumberToRgb(this._hexNumber);
332
- this._rgba.r = r;
333
- this._rgba.g = g;
334
- this._rgba.b = b;
335
- const { h, s, v } = rgbToHsv(this._rgba);
336
- this._hsva.h = h;
337
- this._hsva.s = s;
338
- this._hsva.v = v;
339
- this._updateBrightness();
340
- }
341
- fromHsv(color) {
342
- const { h, s, v } = color;
343
- this._hsva.h = h;
344
- this._hsva.s = s;
345
- this._hsva.v = v;
346
- const { r, g, b } = hsvToRgb(this._hsva);
347
- this._rgba.r = r;
348
- this._rgba.g = g;
349
- this._rgba.b = b;
350
- this._hexString = rgbToHex(this._rgba);
351
- this._hexNumber = hexStringToNumber(this._hexString);
352
- this._updateBrightness();
353
- }
354
- _updateBrightness() {
355
- this._brightness = getBrightness(this._rgba);
356
- this._isDark = this._brightness < 0.5;
357
- this._isLight = !this._isDark;
358
- }
359
- get rgb() {
360
- return this._rgba;
361
- }
362
- get hsv() {
363
- return this._hsva;
364
- }
365
- get hex() {
366
- return this._hexNumber;
367
- }
368
- get hexString() {
369
- return this._hexString;
370
- }
371
- get brightness() {
372
- return this._brightness;
373
- }
374
- get isDark() {
375
- return this._isDark;
376
- }
377
- get isLight() {
378
- return this._isLight;
379
- }
380
- }
381
- function getBrightness(color) {
382
- const { r, g, b } = color;
383
- return (r * 299 + g * 587 + b * 114) / 1e3;
384
- }
385
- function hexNumberToRgb(color) {
386
- const r = (color >> 16 & 255) / 255;
387
- const g = (color >> 8 & 255) / 255;
388
- const b = (color & 255) / 255;
389
- return {
390
- r,
391
- g,
392
- b
393
- };
394
- }
395
- function rgbToHex(color) {
396
- const { r, g, b } = color;
397
- const hex = [
398
- "#",
399
- pad2(Math.round(r * 255).toString(16)),
400
- pad2(Math.round(g * 255).toString(16)),
401
- pad2(Math.round(b * 255).toString(16))
402
- ];
403
- return hex.join("").toUpperCase();
404
- }
405
- const numberToHexString = (color) => "#" + ("00000" + (color | 0).toString(16)).substr(-6).toUpperCase();
406
- const hexStringToNumber = (color) => parseInt(color.replace("#", ""), 16);
407
- function hsvToRgb(color) {
408
- let { h } = color;
409
- const { s, v } = color;
410
- h *= 6;
411
- const i = Math.floor(h);
412
- const f = h - i;
413
- const p = v * (1 - s);
414
- const q = v * (1 - f * s);
415
- const t = v * (1 - (1 - f) * s);
416
- const mod = i % 6;
417
- const r = [
418
- v,
419
- q,
420
- p,
421
- p,
422
- t,
423
- v
424
- ][mod];
425
- const g = [
426
- t,
427
- v,
428
- v,
429
- q,
430
- p,
431
- p
432
- ][mod];
433
- const b = [
434
- p,
435
- p,
436
- t,
437
- v,
438
- v,
439
- q
440
- ][mod];
441
- return {
442
- r,
443
- g,
444
- b
445
- };
446
- }
447
- function rgbToHsv(color) {
448
- const { r, g, b } = color;
449
- const max = Math.max(r, g, b);
450
- const min = Math.min(r, g, b);
451
- const d = max - min;
452
- const s = max === 0 ? 0 : d / max;
453
- const v = max;
454
- let h = 0;
455
- if (max != min) {
456
- switch (max) {
457
- case r:
458
- h = (g - b) / d + (g < b ? 6 : 0);
459
- break;
460
- case g:
461
- h = (b - r) / d + 2;
462
- break;
463
- case b:
464
- h = (r - g) / d + 4;
465
- break;
466
- }
467
- h /= 6;
468
- }
469
- return {
470
- h,
471
- s,
472
- v
473
- };
474
- }
475
- class ColorPicker {
476
- constructor(options = {}) {
477
- this._widthUnits = "px";
478
- this._heightUnits = "px";
479
- this._huePosition = 0;
480
- this._hueHeight = 0;
481
- this._maxHue = 0;
482
- this._inputIsNumber = false;
483
- this._saturationWidth = 0;
484
- this._isChoosing = false;
485
- this._callbacks = [];
486
- this.width = 0;
487
- this.height = 0;
488
- this.hue = 0;
489
- this.position = {
490
- x: 0,
491
- y: 0
492
- };
493
- this.color = new Color(0);
494
- this.backgroundColor = new Color(0);
495
- this.hueColor = new Color(0);
496
- this._onSaturationMouseDown = (e) => {
497
- const sbOffset = this.$saturation.getBoundingClientRect();
498
- const { x, y } = getMousePosition(e);
499
- this._isChoosing = true;
500
- this._moveSelectorTo(x - sbOffset.left, y - sbOffset.top);
501
- this._updateColorFromPosition();
502
- this._window.addEventListener("mouseup", this._onSaturationMouseUp);
503
- this._window.addEventListener("touchend", this._onSaturationMouseUp);
504
- this._window.addEventListener("mousemove", this._onSaturationMouseMove);
505
- this._window.addEventListener("touchmove", this._onSaturationMouseMove);
506
- e.preventDefault();
507
- };
508
- this._onSaturationMouseMove = (e) => {
509
- const sbOffset = this.$saturation.getBoundingClientRect();
510
- const { x, y } = getMousePosition(e);
511
- this._moveSelectorTo(x - sbOffset.left, y - sbOffset.top);
512
- this._updateColorFromPosition();
513
- };
514
- this._onSaturationMouseUp = () => {
515
- this._isChoosing = false;
516
- this._window.removeEventListener("mouseup", this._onSaturationMouseUp);
517
- this._window.removeEventListener("touchend", this._onSaturationMouseUp);
518
- this._window.removeEventListener("mousemove", this._onSaturationMouseMove);
519
- this._window.removeEventListener("touchmove", this._onSaturationMouseMove);
520
- };
521
- this._onHueMouseDown = (e) => {
522
- const hOffset = this.$hue.getBoundingClientRect();
523
- const { y } = getMousePosition(e);
524
- this._isChoosing = true;
525
- this._moveHueTo(y - hOffset.top);
526
- this._updateHueFromPosition();
527
- this._window.addEventListener("mouseup", this._onHueMouseUp);
528
- this._window.addEventListener("touchend", this._onHueMouseUp);
529
- this._window.addEventListener("mousemove", this._onHueMouseMove);
530
- this._window.addEventListener("touchmove", this._onHueMouseMove);
531
- e.preventDefault();
532
- };
533
- this._onHueMouseMove = (e) => {
534
- const hOffset = this.$hue.getBoundingClientRect();
535
- const { y } = getMousePosition(e);
536
- this._moveHueTo(y - hOffset.top);
537
- this._updateHueFromPosition();
538
- };
539
- this._onHueMouseUp = () => {
540
- this._isChoosing = false;
541
- this._window.removeEventListener("mouseup", this._onHueMouseUp);
542
- this._window.removeEventListener("touchend", this._onHueMouseUp);
543
- this._window.removeEventListener("mousemove", this._onHueMouseMove);
544
- this._window.removeEventListener("touchmove", this._onHueMouseMove);
545
- };
546
- this._window = options.window || window;
547
- this._document = this._window.document;
548
- this.$el = this._document.createElement("div");
549
- this.$el.className = "color-picker";
550
- this.$el.innerHTML = `
551
- <div class="color-picker-saturation">
552
- <div class="color-picker-brightness"></div>
553
- <div class="color-picker-sbSelector"></div>
554
- </div>
555
- <div class="color-picker-hue">
556
- <div class="color-picker-hSelector"></div>
557
- </div>
558
- `;
559
- this.$saturation = this.$el.querySelector(".color-picker-saturation");
560
- this.$hue = this.$el.querySelector(".color-picker-hue");
561
- this.$sbSelector = this.$el.querySelector(".color-picker-sbSelector");
562
- this.$hSelector = this.$el.querySelector(".color-picker-hSelector");
563
- this.$saturation.addEventListener("mousedown", this._onSaturationMouseDown);
564
- this.$saturation.addEventListener("touchstart", this._onSaturationMouseDown);
565
- this.$hue.addEventListener("mousedown", this._onHueMouseDown);
566
- this.$hue.addEventListener("touchstart", this._onHueMouseDown);
567
- if (options.el)
568
- this.appendTo(options.el);
569
- if (options.background)
570
- this.setBackgroundColor(options.background);
571
- if (options.widthUnits)
572
- this._widthUnits = options.widthUnits;
573
- if (options.heightUnits)
574
- this._heightUnits = options.heightUnits;
575
- if (options.colors) {
576
- this.$colors = this._document.createElement("div");
577
- this.$colors.className = "color-picker-colors";
578
- this.$el.appendChild(this.$colors);
579
- this.$colors.innerHTML = options.colors.map((color) => `<div class="color-picker-color" style="background: ${color}"></div>`).join("");
580
- }
581
- this.setSize(options.width || 175, options.height || 150);
582
- this.setColor(options.color);
583
- }
584
- /**
585
- * Add the ColorPicker instance to a DOM element.
586
- * @param {HTMLElement} el
587
- * @return {ColorPicker} Returns itself for chaining purpose
588
- */
589
- appendTo(el) {
590
- if (typeof el === "string")
591
- document.querySelector(el).appendChild(this.$el);
592
- else
593
- el.appendChild(this.$el);
594
- return this;
595
- }
596
- /**
597
- * Removes picker from its parent and kill all listeners.
598
- * Call this method for proper destroy.
599
- */
600
- remove() {
601
- this._callbacks = [];
602
- this._onSaturationMouseUp();
603
- this._onHueMouseUp();
604
- this.$saturation.removeEventListener("mousedown", this._onSaturationMouseDown);
605
- this.$saturation.removeEventListener("touchstart", this._onSaturationMouseDown);
606
- this.$hue.removeEventListener("mousedown", this._onHueMouseDown);
607
- this.$hue.removeEventListener("touchstart", this._onHueMouseDown);
608
- if (this.$el.parentNode)
609
- this.$el.parentNode.removeChild(this.$el);
610
- }
611
- /**
612
- * Manually set the current color of the picker. This is the method
613
- * used on instantiation to convert `color` option to actual color for
614
- * the picker. Param can be a hexadecimal number or an hex String.
615
- * @param {String|Number} color hex color desired
616
- * @return {ColorPicker} Returns itself for chaining purpose
617
- */
618
- setColor(color) {
619
- this._inputIsNumber = !isNaN(Number(color));
620
- this.color.fromHex(color);
621
- const { h, s, v } = this.color.hsv;
622
- if (!isNaN(h))
623
- this.hue = h;
624
- this._moveSelectorTo(this._saturationWidth * s, (1 - v) * this._hueHeight);
625
- this._moveHueTo((1 - this.hue) * this._hueHeight);
626
- this._updateHue();
627
- return this;
628
- }
629
- /**
630
- * Set size of the color picker for a given width and height. Note that
631
- * a padding of 5px will be added if you chose to use the background option
632
- * of the constructor.
633
- * @param {Number} width
634
- * @param {Number} height
635
- * @return {ColorPicker} Returns itself for chaining purpose
636
- */
637
- setSize(width, height) {
638
- this.width = width;
639
- this.height = height;
640
- this.$el.style.width = this.width + this._widthUnits;
641
- this.$el.style.height = this.height + this._heightUnits;
642
- this._saturationWidth = this.width - 25;
643
- this.$saturation.style.width = this._saturationWidth + "px";
644
- this._hueHeight = this.height;
645
- this._maxHue = this._hueHeight - 2;
646
- return this;
647
- }
648
- /**
649
- * Set the background color of the picker. It also adds a 5px padding
650
- * for design purpose.
651
- * @param {String|Number} color hex color desired for background
652
- * @return {ColorPicker} Returns itself for chaining purpose
653
- */
654
- setBackgroundColor(color) {
655
- this.backgroundColor.fromHex(color);
656
- this.$el.style.padding = "5px";
657
- this.$el.style.background = this.backgroundColor.hexString;
658
- return this;
659
- }
660
- /**
661
- * Removes background of the picker if previously set. It's no use
662
- * calling this method if you didn't set the background option on start
663
- * or if you didn't call setBackgroundColor previously.
664
- */
665
- setNoBackground() {
666
- this.$el.style.padding = "0px";
667
- this.$el.style.background = "none";
668
- return this;
669
- }
670
- /**
671
- * Registers callback to the update event of the picker.
672
- * picker inherits from [component/emitter](https://github.com/component/emitter)
673
- * so you could do the same thing by calling `colorPicker.on('update');`
674
- * @param {Function} callback
675
- * @return {ColorPicker} Returns itself for chaining purpose
676
- */
677
- onChange(callback) {
678
- if (this._callbacks.indexOf(callback) < 0) {
679
- this._callbacks.push(callback);
680
- callback(this.getHexString());
681
- }
682
- return this;
683
- }
684
- /**
685
- * Is true when mouse is down and user is currently choosing a color.
686
- */
687
- get isChoosing() {
688
- return this._isChoosing;
689
- }
690
- /* =============================================================================
691
- Color getters
692
- ============================================================================= */
693
- /**
694
- * Main color getter, will return a formatted color string depending on input
695
- * or a number depending on the last setColor call.
696
- * @return {Number|String}
697
- */
698
- getColor() {
699
- if (this._inputIsNumber)
700
- return this.getHexNumber();
701
- return this.getHexString();
702
- }
703
- /**
704
- * Returns color as css hex string (ex: '#FF0000').
705
- * @return {String}
706
- */
707
- getHexString() {
708
- return this.color.hexString.toUpperCase();
709
- }
710
- /**
711
- * Returns color as number (ex: 0xFF0000).
712
- * @return {Number}
713
- */
714
- getHexNumber() {
715
- return this.color.hex;
716
- }
717
- /**
718
- * Returns color as {r: 1, g: 0, b: 0} object.
719
- * @return {Object}
720
- */
721
- getRGB() {
722
- return this.color.rgb;
723
- }
724
- /**
725
- * Returns color as {h: 100, s: 1, v: 1} object.
726
- * @return {Object}
727
- */
728
- getHSV() {
729
- return this.color.hsv;
730
- }
731
- /**
732
- * Returns true if color is perceived as dark
733
- * @return {Boolean}
734
- */
735
- isDark() {
736
- return this.color.isDark;
737
- }
738
- /**
739
- * Returns true if color is perceived as light
740
- * @return {Boolean}
741
- */
742
- isLight() {
743
- return this.color.isLight;
744
- }
745
- /* =============================================================================
746
- Private methods
747
- ============================================================================= */
748
- _moveSelectorTo(x, y) {
749
- this.position.x = clamp(x, 0, this._saturationWidth);
750
- this.position.y = clamp(y, 0, this._hueHeight);
751
- this.$sbSelector.style.transform = `translate(${this.position.x}px, ${this.position.y}px)`;
752
- }
753
- _updateColorFromPosition() {
754
- this.color.fromHsv({
755
- h: this.hue,
756
- s: this.position.x / this._saturationWidth,
757
- v: 1 - this.position.y / this._hueHeight
758
- });
759
- this._updateColor();
760
- }
761
- _moveHueTo(y) {
762
- this._huePosition = clamp(y, 0, this._maxHue);
763
- this.$hSelector.style.transform = `translateY(${this._huePosition}px)`;
764
- }
765
- _updateHueFromPosition() {
766
- const hsvColor = this.getHSV();
767
- this.hue = 1 - this._huePosition / this._maxHue;
768
- this.color.fromHsv({
769
- h: this.hue,
770
- s: hsvColor.s,
771
- v: hsvColor.v
772
- });
773
- this._updateHue();
774
- }
775
- _updateHue() {
776
- this.hueColor.fromHsv({
777
- h: this.hue,
778
- s: 1,
779
- v: 1
780
- });
781
- this.$hSelector.style.background = this.hueColor.hexString;
782
- this.$saturation.style.background = `linear-gradient(to right, #fff, ${this.hueColor.hexString})`;
783
- this._updateColor();
784
- }
785
- _updateColor() {
786
- this.$sbSelector.style.background = this.getHexString();
787
- this.$sbSelector.style.borderColor = this.isDark() ? "#fff" : "#000";
788
- this._triggerChange();
789
- }
790
- _triggerChange() {
791
- this._callbacks.forEach((callback) => callback(this.getHexString()));
792
- }
793
- }
794
- const ColorInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
795
- const props1 = _restProps(props, [
796
- "onInput$",
797
- "value",
798
- "presetColors",
799
- "preview"
800
- ]);
801
- useStylesQrl(/* @__PURE__ */ inlinedQrl(`
802
- .color-picker {
803
- display: flex;
804
- gap: 12px;
805
- height: 185px !important;
806
- width: 100% !important;
807
- padding: 15px;
808
- border-radius: 10px;
809
- border: 1px solid rgb(31 41 55);
810
- filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
811
- background: rgba(31 41 55 / 40%);
812
- backdrop-filter: blur(10px);
813
- user-select: none;
814
- position: relative;
815
- z-index: 1000;
816
- }
817
-
818
- .color-picker-saturation {
819
- position: relative;
820
- height: 100%;
821
- width: 100%;
822
- background: linear-gradient(to right, #FFFFFF, #FF0000);
823
- float: left;
824
- border-radius: 5px;
825
- border: 1px solid rgb(31 41 55);
826
- }
827
-
828
- .color-picker-brightness {
829
- width: 100%;
830
- height: 100%;
831
- background: linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 1));
832
- }
833
-
834
- .color-picker-sbSelector {
835
- border: 1px solid white;
836
- position: absolute;
837
- width: 14px;
838
- height: 14px;
839
- background: white;
840
- border-radius: 10px;
841
- top: -7px;
842
- left: -7px;
843
- box-sizing: border-box;
844
- }
845
-
846
- .color-picker-hue {
847
- width: 8px;
848
- border-radius: 5px;
849
- height: 100%;
850
- position: relative;
851
- float: left;
852
- background: linear-gradient(rgb(255, 0, 0) 0%, rgb(255, 0, 255) 17%, rgb(0, 0, 255) 34%, rgb(0, 255, 255) 50%, rgb(0, 255, 0) 67%, rgb(255, 255, 0) 84%, rgb(255, 0, 0) 100%);
853
- border: 1px solid rgb(31 41 55);
854
- }
855
-
856
- .color-picker-colors {
857
- height: 100%;
858
- position: relative;
859
- display: flex;
860
- flex-direction: column;
861
- gap: 5px;
862
- float: left;
863
- justify-content: space-evenly;
864
- flex-wrap: wrap;
865
- }
866
-
867
- .color-picker-color {
868
- height: 25px;
869
- width: 25px;
870
- border-radius: 5px;
871
- position: relative;
872
- background: red;
873
- border: 1px solid rgb(31 41 55);
874
- }
875
-
876
- .color-picker-hSelector {
877
- border: 1px solid white;
878
- position: absolute;
879
- width: 14px;
880
- height: 14px;
881
- background: white;
882
- border-radius: 10px;
883
- top: -6px;
884
- left: -4px;
885
- box-sizing: border-box;
886
- }
887
- `, "ColorInput_component_useStyles_SMNFl4Oy0IA"));
888
- return /* @__PURE__ */ _jsxQ("div", null, null, [
889
- /* @__PURE__ */ _jsxQ("label", {
890
- for: _wrapSignal(props1, "id")
891
- }, {
892
- class: "mb-2 flex"
893
- }, /* @__PURE__ */ _jsxC(Slot, null, 3, "0s_0"), 1, null),
894
- /* @__PURE__ */ _jsxC(TextInputRaw, {
895
- ...props1,
896
- get value() {
897
- return props.value ?? "#000000";
898
- },
899
- onBlur$: /* @__PURE__ */ inlinedQrl(() => {
900
- const [props12] = useLexicalScope();
901
- const pickerDiv = document.getElementById(`${props12.id}-color-picker`);
902
- pickerDiv.classList.add("opacity-0", "pointer-events-none", "scale-95");
903
- }, "ColorInput_component_div_TextInputRaw_onBlur_giB7aSy8tnc", [
904
- props1
905
- ]),
906
- onFocus$: /* @__PURE__ */ inlinedQrl((event, element) => {
907
- const [props12, props2] = useLexicalScope();
908
- const pickerDiv = document.getElementById(`${props12.id}-color-picker`);
909
- if (!pickerDiv.children.length) {
910
- if (isServer)
911
- return;
912
- const picker = new ColorPicker({
913
- el: pickerDiv,
914
- color: props2.value ?? "#000000",
915
- colors: props2.presetColors,
916
- width: 150,
917
- height: 150
918
- });
919
- picker.onChange((color) => {
920
- element.value = color;
921
- switch (props2.preview ?? "left") {
922
- case "full":
923
- element.style.backgroundColor = color;
924
- element.style.color = getBrightness(hexNumberToRgb(hexStringToNumber(color))) > 0.5 ? "black" : "white";
925
- break;
926
- case "left":
927
- element.style.borderLeft = `40px solid ${color}`;
928
- break;
929
- case "right":
930
- element.style.borderRight = `40px solid ${color}`;
931
- break;
932
- case "top":
933
- element.style.borderTop = `10px solid ${color}`;
934
- break;
935
- case "bottom":
936
- element.style.borderBottom = `10px solid ${color}`;
937
- break;
938
- }
939
- if (props2.onInput$)
940
- props2.onInput$(color, element);
941
- });
942
- element.addEventListener("input", () => picker.setColor(element.value));
943
- }
944
- pickerDiv.classList.remove("opacity-0", "pointer-events-none", "scale-95");
945
- }, "ColorInput_component_div_TextInputRaw_onFocus_9bHrhSeTgfI", [
946
- props1,
947
- props
948
- ]),
949
- style: (props.preview ?? "left") == "full" ? {
950
- backgroundColor: `${props.value ?? "#000000"}`,
951
- color: getBrightness(hexNumberToRgb(hexStringToNumber(props.value ?? "#000000"))) > 0.5 ? "black" : "white"
952
- } : (props.preview ?? "left") == "left" ? {
953
- borderLeft: `40px solid ${props.value ?? "#000000"}`
954
- } : (props.preview ?? "left") == "right" ? {
955
- borderRight: `40px solid ${props.value ?? "#000000"}`
956
- } : (props.preview ?? "left") == "top" ? {
957
- borderTop: `10px solid ${props.value ?? "#000000"}`
958
- } : (props.preview ?? "left") == "bottom" ? {
959
- borderBottom: `10px solid ${props.value ?? "#000000"}`
960
- } : {},
961
- [_IMMUTABLE]: {
962
- value: _fnSignal((p0) => p0.value ?? "#000000", [
963
- props
964
- ], 'p0.value??"#000000"')
965
- }
966
- }, 0, "0s_1"),
967
- /* @__PURE__ */ _jsxQ("div", {
968
- id: `${props1.id}-color-picker`
969
- }, {
970
- class: "absolute mt-2 opacity-0 transition-all pointer-events-none scale-95"
971
- }, null, 3, null)
972
- ], 1, "0s_2");
973
- }, "ColorInput_component_jilGo0Bn3Ps"));
974
- const LoadingIcon = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
975
- const props1 = _restProps(props, [
976
- "width",
977
- "speed"
978
- ]);
979
- return /* @__PURE__ */ _jsxS("div", {
980
- ...props1,
981
- class: {
982
- "animate-spin rounded-full border-transparent border-l-current border-t-current": true,
983
- ...props1.class
984
- }
985
- }, {
986
- style: _fnSignal((p0) => ({
987
- borderWidth: p0.width / 8,
988
- width: p0.width,
989
- height: p0.width,
990
- animation: `spin ${p0.speed ?? "0.6s"} ease-in-out infinite`
991
- }), [
992
- props
993
- ], '{borderWidth:p0.width/8,width:p0.width,height:p0.width,animation:`spin ${p0.speed??"0.6s"} ease-in-out infinite`}')
994
- }, 0, "1A_0");
995
- }, "LoadingIcon_component_QMsA9D0RcAM"));
996
- const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
997
- _jsxBranch();
998
- let Component = /* @__PURE__ */ _jsxC(Fragment, {
999
- children: /* @__PURE__ */ _jsxQ("h2", null, {
1000
- class: "flex flex-1 items-center font-bold text-2xl"
1001
- }, [
1002
- props.id && /* @__PURE__ */ _jsxC(Anchor, {
1003
- get id() {
1004
- return props.id;
1005
- },
1006
- [_IMMUTABLE]: {
1007
- id: _fnSignal((p0) => p0.id, [
1008
- props
1009
- ], "p0.id")
1010
- }
1011
- }, 3, "dL_0"),
1012
- /* @__PURE__ */ _jsxC(Slot, null, 3, "dL_1")
1013
- ], 1, null)
1014
- }, 1, "dL_2");
1015
- if (props.subheader)
1016
- Component = /* @__PURE__ */ _jsxQ("div", null, {
1017
- class: "flex flex-1 flex-col gap-1"
1018
- }, [
1019
- Component,
1020
- /* @__PURE__ */ _jsxQ("h3", null, {
1021
- class: "flex flex-1 items-center text-gray-400 text-sm"
1022
- }, _fnSignal((p0) => p0.subheader, [
1023
- props
1024
- ], "p0.subheader"), 3, null)
1025
- ], 1, "dL_3");
1026
- if (props.loading !== void 0)
1027
- Component = /* @__PURE__ */ _jsxQ("div", null, {
1028
- class: "flex"
1029
- }, [
1030
- Component,
1031
- /* @__PURE__ */ _jsxQ("div", null, {
1032
- class: _fnSignal((p0) => ({
1033
- "transition-all duration-200": true,
1034
- "opacity-0": !p0.loading,
1035
- "opacity-100": p0.loading
1036
- }), [
1037
- props
1038
- ], '{"transition-all duration-200":true,"opacity-0":!p0.loading,"opacity-100":p0.loading}')
1039
- }, /* @__PURE__ */ _jsxC(LoadingIcon, {
1040
- width: 24,
1041
- [_IMMUTABLE]: {
1042
- width: _IMMUTABLE
1043
- }
1044
- }, 3, "dL_4"), 1, null)
1045
- ], 1, "dL_5");
1046
- return Component;
1047
- }, "Header_component_FfGOhhBNG5k"));
1048
- const Plus = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1049
- return /* @__PURE__ */ _jsxS("svg", {
1050
- ...props,
1051
- children: /* @__PURE__ */ _jsxQ("path", null, {
1052
- d: "M256 112v288M400 256H112",
1053
- fill: "none",
1054
- stroke: "currentColor",
1055
- "stroke-linecap": "round",
1056
- "stroke-linejoin": "round",
1057
- "stroke-width": "32"
1058
- }, null, 3, null)
1059
- }, {
1060
- height: _fnSignal((p0) => p0.width, [
1061
- props
1062
- ], "p0.width"),
1063
- viewBox: "0 0 512 512",
1064
- xmlns: "http://www.w3.org/2000/svg"
1065
- }, 0, "qR_0");
1066
- }, "Plus_component_a7LdBXNrC2w"));
1067
- const Minus = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1068
- return /* @__PURE__ */ _jsxS("svg", {
1069
- ...props,
1070
- children: /* @__PURE__ */ _jsxQ("path", null, {
1071
- d: "M400 256H112",
1072
- fill: "none",
1073
- stroke: "currentColor",
1074
- "stroke-linecap": "round",
1075
- "stroke-linejoin": "round",
1076
- "stroke-width": "32"
1077
- }, null, 3, null)
1078
- }, {
1079
- height: _fnSignal((p0) => p0.width, [
1080
- props
1081
- ], "p0.width"),
1082
- viewBox: "0 0 512 512",
1083
- xmlns: "http://www.w3.org/2000/svg"
1084
- }, 0, "0g_0");
1085
- }, "Minus_component_oP9l58XNP1Q"));
1086
- const NumberInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1087
- return /* @__PURE__ */ _jsxQ("div", null, {
1088
- class: "flex flex-col"
1089
- }, [
1090
- /* @__PURE__ */ _jsxQ("label", null, {
1091
- class: "pb-2",
1092
- for: _fnSignal((p0) => p0.id, [
1093
- props
1094
- ], "p0.id")
1095
- }, /* @__PURE__ */ _jsxC(Slot, null, 3, "gk_0"), 1, null),
1096
- /* @__PURE__ */ _jsxC(NumberInputRaw, {
1097
- ...props,
1098
- children: void 0
1099
- }, 0, "gk_1")
1100
- ], 1, "gk_2");
1101
- }, "NumberInput_component_1NmuE0VG00M"));
1102
- const NumberInputRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1103
- const props1 = _restProps(props, [
1104
- "input",
1105
- "onDecrement$",
1106
- "onIncrement$",
1107
- "value",
1108
- "step"
1109
- ]);
1110
- useStylesQrl(/* @__PURE__ */ inlinedQrl(`
1111
- input::-webkit-outer-spin-button,
1112
- input::-webkit-inner-spin-button {
1113
- -webkit-appearance: none;
1114
- margin: 0;
1115
- }
1116
- input[type=number] {
1117
- -moz-appearance: textfield;
1118
- }
1119
- `, "NumberInputRaw_component_useStyles_v5EsWTMt0DU"));
1120
- const store = useStore({
1121
- value: props.value ?? 0
1122
- });
1123
- return /* @__PURE__ */ _jsxQ("div", null, {
1124
- class: _fnSignal((p0) => ({
1125
- "flex text-gray-50": true,
1126
- "gap-2": !p0.input
1127
- }), [
1128
- props
1129
- ], '{"flex text-gray-50":true,"gap-2":!p0.input}')
1130
- }, [
1131
- /* @__PURE__ */ _jsxC(Button, {
1132
- get color() {
1133
- return props.input ? "gray" : "darkgray";
1134
- },
1135
- "aria-label": "Decrement",
1136
- "data-action": "decrement",
1137
- disabled: props1.min ? store.value <= props1.min : false,
1138
- onClick$: /* @__PURE__ */ inlinedQrl((event, element) => {
1139
- const [props2, store2] = useLexicalScope();
1140
- store2.value = store2.value - (props2.step ?? 1);
1141
- props2.onDecrement$(event, element, store2);
1142
- }, "NumberInputRaw_component_div_Button_onClick_PgKg57gfX0I", [
1143
- props,
1144
- store
1145
- ]),
1146
- get class() {
1147
- return {
1148
- "mr-2": props.input
1149
- };
1150
- },
1151
- children: /* @__PURE__ */ _jsxC(Minus, {
1152
- class: "fill-current",
1153
- width: "24",
1154
- [_IMMUTABLE]: {
1155
- class: _IMMUTABLE,
1156
- width: _IMMUTABLE
1157
- }
1158
- }, 3, "gk_3"),
1159
- [_IMMUTABLE]: {
1160
- "aria-label": _IMMUTABLE,
1161
- class: _fnSignal((p0) => ({
1162
- "mr-2": p0.input
1163
- }), [
1164
- props
1165
- ], '{"mr-2":p0.input}'),
1166
- color: _fnSignal((p0) => p0.input ? "gray" : "darkgray", [
1167
- props
1168
- ], 'p0.input?"gray":"darkgray"'),
1169
- "data-action": _IMMUTABLE,
1170
- onClick$: _IMMUTABLE
1171
- }
1172
- }, 1, "gk_4"),
1173
- props.input && /* @__PURE__ */ _jsxS("input", {
1174
- ...props1,
1175
- class: {
1176
- [InputClasses]: true,
1177
- ...props1.class
1178
- }
1179
- }, {
1180
- step: _fnSignal((p0) => p0.step ?? 1, [
1181
- props
1182
- ], "p0.step??1"),
1183
- type: "number",
1184
- value: _fnSignal((p0) => p0.value, [
1185
- store
1186
- ], "p0.value")
1187
- }, 0, "gk_5"),
1188
- /* @__PURE__ */ _jsxC(Button, {
1189
- get color() {
1190
- return props.input ? "gray" : "darkgray";
1191
- },
1192
- "aria-label": "Increment",
1193
- "data-action": "increment",
1194
- disabled: props1.max ? store.value >= props1.max : false,
1195
- onClick$: /* @__PURE__ */ inlinedQrl((event, element) => {
1196
- const [props2, store2] = useLexicalScope();
1197
- store2.value = store2.value + (props2.step ?? 1);
1198
- props2.onIncrement$(event, element, store2);
1199
- }, "NumberInputRaw_component_div_Button_onClick_1_UzVlUpg1uGs", [
1200
- props,
1201
- store
1202
- ]),
1203
- get class() {
1204
- return {
1205
- "ml-2": props.input
1206
- };
1207
- },
1208
- children: /* @__PURE__ */ _jsxC(Plus, {
1209
- class: "fill-current",
1210
- width: "24",
1211
- [_IMMUTABLE]: {
1212
- class: _IMMUTABLE,
1213
- width: _IMMUTABLE
1214
- }
1215
- }, 3, "gk_6"),
1216
- [_IMMUTABLE]: {
1217
- "aria-label": _IMMUTABLE,
1218
- class: _fnSignal((p0) => ({
1219
- "ml-2": p0.input
1220
- }), [
1221
- props
1222
- ], '{"ml-2":p0.input}'),
1223
- color: _fnSignal((p0) => p0.input ? "gray" : "darkgray", [
1224
- props
1225
- ], 'p0.input?"gray":"darkgray"'),
1226
- "data-action": _IMMUTABLE,
1227
- onClick$: _IMMUTABLE
1228
- }
1229
- }, 1, "gk_7")
1230
- ], 1, "gk_8");
1231
- }, "NumberInputRaw_component_8sGf0eS1rvo"));
1232
- const ChevronDown = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1233
- return /* @__PURE__ */ _jsxS("svg", {
1234
- ...props,
1235
- children: /* @__PURE__ */ _jsxQ("path", null, {
1236
- d: "M112 184l144 144 144-144",
1237
- fill: "none",
1238
- stroke: "currentColor",
1239
- "stroke-linecap": "round",
1240
- "stroke-linejoin": "round",
1241
- "stroke-width": "48"
1242
- }, null, 3, null)
1243
- }, {
1244
- height: _fnSignal((p0) => p0.width, [
1245
- props
1246
- ], "p0.width"),
1247
- viewBox: "0 0 512 512",
1248
- xmlns: "http://www.w3.org/2000/svg"
1249
- }, 0, "rN_0");
1250
- }, "ChevronDown_component_V0linof0cMQ"));
1251
- const SelectInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1252
- return /* @__PURE__ */ _jsxQ("div", null, {
1253
- class: "flex flex-col"
1254
- }, [
1255
- /* @__PURE__ */ _jsxQ("label", null, {
1256
- class: "pb-2",
1257
- for: _fnSignal((p0) => p0.id, [
1258
- props
1259
- ], "p0.id")
1260
- }, /* @__PURE__ */ _jsxC(Slot, null, 3, "cA_0"), 1, null),
1261
- /* @__PURE__ */ _jsxC(SelectInputRaw, {
1262
- ...props
1263
- }, 0, "cA_1")
1264
- ], 1, "cA_2");
1265
- }, "SelectInput_component_m80ag1KuJSk"));
1266
- const SelectInputRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1267
- const props1 = _restProps(props, [
1268
- "id",
1269
- "values",
1270
- "class"
1271
- ]);
1272
- const store = useStore({
1273
- opened: false
1274
- });
1275
- return /* @__PURE__ */ _jsxQ("div", null, {
1276
- class: "relative"
1277
- }, [
1278
- /* @__PURE__ */ _jsxS("select", {
1279
- ...props1,
1280
- children: props.values.map((value, i) => {
1281
- return /* @__PURE__ */ _jsxQ("option", {
1282
- value: _wrapSignal(value, "value")
1283
- }, null, value.name, 1, i);
1284
- })
1285
- }, {
1286
- class: {
1287
- "hidden": true
1288
- },
1289
- id: _fnSignal((p0) => p0.id, [
1290
- props
1291
- ], "p0.id")
1292
- }, 0, null),
1293
- /* @__PURE__ */ _jsxC(Button, {
1294
- get class() {
1295
- return {
1296
- "flex focus:bg-gray-700": true,
1297
- ...props.class
1298
- };
1299
- },
1300
- children: [
1301
- /* @__PURE__ */ _jsxQ("span", null, {
1302
- class: "flex-1 text-left",
1303
- id: _fnSignal((p0) => `lui-${p0.id}-name`, [
1304
- props
1305
- ], "`lui-${p0.id}-name`")
1306
- }, props.values.find((value) => value.value.toString() === props1.value)?.name ?? props.values[0].name, 1, null),
1307
- /* @__PURE__ */ _jsxC(ChevronDown, {
1308
- width: 16,
1309
- get class() {
1310
- return {
1311
- "transition-all duration-200": true,
1312
- "transform rotate-180": store.opened
1313
- };
1314
- },
1315
- [_IMMUTABLE]: {
1316
- class: _fnSignal((p0) => ({
1317
- "transition-all duration-200": true,
1318
- "transform rotate-180": p0.opened
1319
- }), [
1320
- store
1321
- ], '{"transition-all duration-200":true,"transform rotate-180":p0.opened}'),
1322
- width: _IMMUTABLE
1323
- }
1324
- }, 3, "cA_3")
1325
- ],
1326
- onClick$: /* @__PURE__ */ inlinedQrl(() => {
1327
- const [store2] = useLexicalScope();
1328
- store2.opened = !store2.opened;
1329
- }, "SelectInputRaw_component_div_Button_onClick_9Gkbglaqsdw", [
1330
- store
1331
- ]),
1332
- [_IMMUTABLE]: {
1333
- class: _fnSignal((p0) => ({
1334
- "flex focus:bg-gray-700": true,
1335
- ...p0.class
1336
- }), [
1337
- props
1338
- ], '{"flex focus:bg-gray-700":true,...p0.class}'),
1339
- onClick$: _IMMUTABLE
1340
- }
1341
- }, 1, "cA_4"),
1342
- /* @__PURE__ */ _jsxQ("div", {
1343
- class: {
1344
- "transition-all absolute top-full left-0 p-1 mt-2 gap-1 bg-gray-800/50 backdrop-blur-xl flex flex-col rounded-lg border border-gray-700 z-[1000] max-h-72 overflow-scroll select-none": true,
1345
- "pointer-events-none opacity-0 scale-95": !store.opened
1346
- }
1347
- }, {
1348
- id: _fnSignal((p0) => `lui-${p0.id}-opts`, [
1349
- props
1350
- ], "`lui-${p0.id}-opts`")
1351
- }, props.values.map((value, i) => {
1352
- return /* @__PURE__ */ _jsxC(Button, {
1353
- onClick$: /* @__PURE__ */ inlinedQrl(() => {
1354
- const [props2, store2, value2] = useLexicalScope();
1355
- store2.opened = false;
1356
- const select = document.getElementById(props2.id);
1357
- select.value = value2.value.toString();
1358
- const name = document.getElementById(`lui-${props2.id}-name`);
1359
- name.textContent = value2.name;
1360
- select.dispatchEvent(new Event("change"));
1361
- }, "SelectInputRaw_component_div_div_Button_onClick_mLa0FdeKCLw", [
1362
- props,
1363
- store,
1364
- value
1365
- ]),
1366
- get class() {
1367
- return {
1368
- "border-0 bg-transparent": true,
1369
- "opacity-0": !store.opened
1370
- };
1371
- },
1372
- children: _wrapSignal(value, "name"),
1373
- [_IMMUTABLE]: {
1374
- class: _fnSignal((p0) => ({
1375
- "border-0 bg-transparent": true,
1376
- "opacity-0": !p0.opened
1377
- }), [
1378
- store
1379
- ], '{"border-0 bg-transparent":true,"opacity-0":!p0.opened}')
1380
- }
1381
- }, 1, i);
1382
- }), 1, null)
1383
- ], 1, "cA_5");
1384
- }, "SelectInputRaw_component_Itdx5yPeQd4"));
1385
- const TextArea = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1386
- return /* @__PURE__ */ _jsxQ("div", null, {
1387
- class: "flex flex-col"
1388
- }, [
1389
- /* @__PURE__ */ _jsxQ("label", null, {
1390
- class: "pb-2",
1391
- for: _fnSignal((p0) => p0.id, [
1392
- props
1393
- ], "p0.id")
1394
- }, /* @__PURE__ */ _jsxC(Slot, null, 3, "UP_0"), 1, null),
1395
- /* @__PURE__ */ _jsxC(TextAreaRaw, {
1396
- ...props
1397
- }, 0, "UP_1")
1398
- ], 1, "UP_2");
1399
- }, "TextArea_component_rWDoQFL2c0g"));
1400
- const TextAreaRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1401
- const props1 = _restProps(props, [
1402
- "output"
1403
- ]);
1404
- return /* @__PURE__ */ _jsxC(Fragment, {
1405
- children: /* @__PURE__ */ _jsxS("textarea", {
1406
- ...props1,
1407
- class: {
1408
- [InputClasses]: true,
1409
- "h-32": true,
1410
- "cursor-pointer active:bg-gray-600": props.output,
1411
- ...props1.class
1412
- },
1413
- onClick$: props.output ? /* @__PURE__ */ inlinedQrl((event, element) => {
1414
- navigator.clipboard.writeText(element.value);
1415
- const notification = document.createElement("div");
1416
- notification.className = "fixed bottom-0 right-0 px-6 py-4 m-6 bg-green-600/50 border border-green-500 text-gray-50 rounded-md shadow-lg whitespace-nowrap backdrop-blur-xl";
1417
- notification.innerText = "Copied to clipboard!";
1418
- document.body.appendChild(notification);
1419
- setTimeout(() => {
1420
- notification.remove();
1421
- }, 1e3);
1422
- }, "TextAreaRaw_component__Fragment_textarea_onClick_YAQUkxxJ6Sg") : void 0
1423
- }, {
1424
- readOnly: _fnSignal((p0) => p0.output, [
1425
- props
1426
- ], "p0.output")
1427
- }, 0, null)
1428
- }, 1, "UP_3");
1429
- }, "TextAreaRaw_component_PZiPScYxgNk"));
1430
- const Toggle = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1431
- const props1 = _restProps(props, [
1432
- "center",
1433
- "label"
1434
- ]);
1435
- return /* @__PURE__ */ _jsxQ("div", null, {
1436
- class: _fnSignal((p0) => ({
1437
- "flex gap-3 items-center": true,
1438
- "justify-center": p0.center
1439
- }), [
1440
- props
1441
- ], '{"flex gap-3 items-center":true,"justify-center":p0.center}')
1442
- }, [
1443
- /* @__PURE__ */ _jsxQ("label", null, {
1444
- class: "inline-flex relative items-center cursor-pointer"
1445
- }, [
1446
- /* @__PURE__ */ _jsxS("input", {
1447
- ...props1,
1448
- class: {
1449
- "sr-only peer": true,
1450
- ...props1.class
1451
- }
1452
- }, {
1453
- type: "checkbox"
1454
- }, 0, null),
1455
- /* @__PURE__ */ _jsxQ("div", null, {
1456
- class: {
1457
- "transition ease-in-out w-12 h-7 rounded-md peer border hover:shadow-lg": true,
1458
- "bg-gray-800 border-gray-700 hover:bg-gray-700 active:bg-gray-600": true,
1459
- "after:content-[''] after:absolute after:top-[4px] after:left-[4px] after:border after:rounded-md after:h-5 after:w-5 after:transition-all after:ease-in-out": true,
1460
- "after:bg-gray-700 after:border-gray-600 after:hover:bg-gray-600 after:active:bg-gray-500": true,
1461
- "peer-checked:bg-blue-700 peer-checked:border-blue-600 peer-checked:hover:bg-blue-600 peer-checked:active:bg-blue-500": true,
1462
- "peer-checked:after:translate-x-full peer-checked:after:bg-blue-600 peer-checked:after:border-blue-500 peer-checked:after:hover:bg-blue-500 peer-checked:after:active:bg-blue-400": true
1463
- }
1464
- }, null, 3, null)
1465
- ], 1, null),
1466
- props.label && /* @__PURE__ */ _jsxQ("label", {
1467
- for: _wrapSignal(props1, "id")
1468
- }, {
1469
- class: "text-gray-100"
1470
- }, _fnSignal((p0) => p0.label, [
1471
- props
1472
- ], "p0.label"), 3, "yu_0")
1473
- ], 1, "yu_1");
1474
- }, "Toggle_component_ujuOvR082hY"));
1475
- const LogoBirdflop = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1476
- const props1 = _restProps(props, [
1477
- "confused",
1478
- "fillGradient"
1479
- ]);
1480
- return /* @__PURE__ */ _jsxS("svg", {
1481
- ...props1,
1482
- children: [
1483
- /* @__PURE__ */ _jsxQ("defs", null, null, [
1484
- props.fillGradient && /* @__PURE__ */ _jsxQ("linearGradient", null, {
1485
- gradientUnits: "objectBoundingBox",
1486
- id: "linear-gradient",
1487
- x1: "0.5",
1488
- x2: "0.5",
1489
- y2: "1"
1490
- }, props.fillGradient.map((color, i) => /* @__PURE__ */ _jsxQ("stop", {
1491
- offset: i / (props.fillGradient.length - 1),
1492
- "stop-color": color
1493
- }, null, null, 3, i)), 1, "Ie_0"),
1494
- /* @__PURE__ */ _jsxQ("clipPath", null, {
1495
- id: "clip-bf_3"
1496
- }, /* @__PURE__ */ _jsxQ("rect", null, {
1497
- height: "1080",
1498
- width: "1080"
1499
- }, null, 3, null), 3, null)
1500
- ], 1, null),
1501
- /* @__PURE__ */ _jsxQ("g", null, {
1502
- "clip-path": "url(#clip-bf_3)",
1503
- "data-name": "bf - 3",
1504
- fill: "currentColor",
1505
- id: "bf_3"
1506
- }, /* @__PURE__ */ _jsxQ("path", null, {
1507
- d: "M-1886.608-89.36c-8.311-65.774-27.64-219.008-27.64-221.333a.279.279,0,0,1,.09-.159q-.474-4.88-.477-9.885A101.066,101.066,0,0,1-1813.61-421.844a100.671,100.671,0,0,1,71.913,30.1l.093-.042c-.077-.093-8.783-10.549-22.7-24.758-8.216-8.388-16.645-16.459-25.052-23.993-10.51-9.417-21.018-18.013-31.23-25.552a120.5,120.5,0,0,0-40.468-71.567,119.916,119.916,0,0,0-77.984-28.881c-66.215,0-120.083,53.941-120.083,120.244h-.237v116.01h-.24c-.131,132.971-107.6,240.728-240.16,240.728V-330.289H-2300V-449.818h.362V-931.536h0V-1170c132.71,0,240.293,106.764,240.293,238.464v145.112a358.089,358.089,0,0,1,47.7-13.28,362.475,362.475,0,0,1,72.6-7.329,362.455,362.455,0,0,1,72.6,7.329,358.112,358.112,0,0,1,67.622,21.02,360.042,360.042,0,0,1,61.191,33.26,362.833,362.833,0,0,1,53.315,44.049,363.178,363.178,0,0,1,43.99,53.387,360.83,360.83,0,0,1,33.213,61.276A359.3,359.3,0,0,1-1586.118-519a363.948,363.948,0,0,1,7.317,72.7,363.957,363.957,0,0,1-7.317,72.7,359.333,359.333,0,0,1-20.992,67.714,360.95,360.95,0,0,1-33.213,61.277,363.233,363.233,0,0,1-43.99,53.388,362.833,362.833,0,0,1-53.315,44.049,360.017,360.017,0,0,1-61.191,33.259,358.108,358.108,0,0,1-67.622,21.02c-6.636,1.36-13.421,2.548-20.165,3.532Zm-79.831-365.056a27.049,27.049,0,0,1,27.038-27.059,27.048,27.048,0,0,1,27.037,27.059,27.049,27.049,0,0,1-27.037,27.06A27.05,27.05,0,0,1-1966.439-454.416Z",
1508
- "data-name": "Union 26",
1509
- fill: _fnSignal((p0) => p0.fillGradient ? "url(#linear-gradient)" : "", [
1510
- props
1511
- ], 'p0.fillGradient?"url(#linear-gradient)":""'),
1512
- id: "Union_26",
1513
- transform: "translate(2479.9 1169.7)"
1514
- }, null, 3, null), 3, null),
1515
- props.confused && /* @__PURE__ */ _jsxQ("g", null, {
1516
- fill: "#1E2837",
1517
- stroke: "#1E2837",
1518
- style: "transform: translate(595px, 460px) scale(0.375)"
1519
- }, [
1520
- /* @__PURE__ */ _jsxQ("path", null, {
1521
- d: "M160 164s1.44-33 33.54-59.46C212.6 88.83 235.49 84.28 256 84c18.73-.23 35.47 2.94 45.48 7.82C318.59 100.2 352 120.6 352 164c0 45.67-29.18 66.37-62.35 89.18S248 298.36 248 324",
1522
- fill: "none",
1523
- "stroke-linecap": "round",
1524
- "stroke-miterlimit": "10",
1525
- "stroke-width": "80"
1526
- }, null, 3, null),
1527
- /* @__PURE__ */ _jsxQ("circle", null, {
1528
- cx: "248",
1529
- cy: "399.99",
1530
- r: "40",
1531
- style: "transform: translate(0, 30px)"
1532
- }, null, 3, null)
1533
- ], 3, "Ie_1")
1534
- ],
1535
- height: _wrapSignal(props1, "width")
1536
- }, {
1537
- viewBox: "0 0 1080 1080",
1538
- xmlns: "http://www.w3.org/2000/svg",
1539
- "xmlns:xlink": "http://www.w3.org/1999/xlink"
1540
- }, 0, "Ie_2");
1541
- }, "LogoBirdflop_component_mKG3xZaEE5w"));
1542
- const LogoDiscord = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1543
- return /* @__PURE__ */ _jsxS("svg", {
1544
- ...props,
1545
- children: /* @__PURE__ */ _jsxQ("path", null, {
1546
- d: "M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z"
1547
- }, null, 3, null)
1548
- }, {
1549
- fill: "currentColor",
1550
- height: _fnSignal((p0) => p0.width, [
1551
- props
1552
- ], "p0.width"),
1553
- viewBox: "0 0 127.14 96.36",
1554
- xmlns: "http://www.w3.org/2000/svg"
1555
- }, 0, "V4_0");
1556
- }, "LogoDiscord_component_pyJvo9cIDdU"));
1557
- const LogoFabric = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1558
- return /* @__PURE__ */ _jsxS("svg", {
1559
- ...props,
1560
- children: [
1561
- /* @__PURE__ */ _jsxQ("path", null, {
1562
- d: "M0 0h24v24H0z",
1563
- fill: "none"
1564
- }, null, 3, null),
1565
- /* @__PURE__ */ _jsxQ("path", null, {
1566
- d: "m820 761-85.6-87.6c-4.6-4.7-10.4-9.6-25.9 1-19.9 13.6-8.4 21.9-5.2 25.4 8.2 9 84.1 89 97.2 104 2.5 2.8-20.3-22.5-6.5-39.7 5.4-7 18-12 26-3 6.5 7.3 10.7 18-3.4 29.7-24.7 20.4-102 82.4-127 103-12.5 10.3-28.5 2.3-35.8-6-7.5-8.9-30.6-34.6-51.3-58.2-5.5-6.3-4.1-19.6 2.3-25 35-30.3 91.9-73.8 111.9-90.8",
1567
- fill: "none",
1568
- stroke: "currentColor",
1569
- "stroke-width": "23",
1570
- transform: "matrix(.08671 0 0 .0867 -49.8 -56)"
1571
- }, null, 3, null)
1572
- ]
1573
- }, {
1574
- "clip-rule": "evenodd",
1575
- "fill-rule": "evenodd",
1576
- height: _fnSignal((p0) => p0.width, [
1577
- props
1578
- ], "p0.width"),
1579
- "stroke-linecap": "round",
1580
- "stroke-linejoin": "round",
1581
- viewBox: "0 0 24 24",
1582
- "xml:space": "preserve",
1583
- xmlns: "http://www.w3.org/2000/svg"
1584
- }, 0, "W4_0");
1585
- }, "LogoFabric_component_bOPyyyFEHuI"));
1586
- const LogoForge = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1587
- return /* @__PURE__ */ _jsxS("svg", {
1588
- ...props,
1589
- children: [
1590
- /* @__PURE__ */ _jsxQ("path", null, {
1591
- d: "M0 0h24v24H0z",
1592
- fill: "none"
1593
- }, null, 3, null),
1594
- /* @__PURE__ */ _jsxQ("path", null, {
1595
- d: "M2 7.5h8v-2h12v2s-7 3.4-7 6 3.1 3.1 3.1 3.1l.9 3.9H5l1-4.1s3.8.1 4-2.9c.2-2.7-6.5-.7-8-6Z",
1596
- fill: "none",
1597
- stroke: "currentColor",
1598
- "stroke-width": "2"
1599
- }, null, 3, null)
1600
- ]
1601
- }, {
1602
- "clip-rule": "evenodd",
1603
- "fill-rule": "evenodd",
1604
- height: _fnSignal((p0) => p0.width, [
1605
- props
1606
- ], "p0.width"),
1607
- "stroke-linecap": "round",
1608
- "stroke-linejoin": "round",
1609
- "stroke-miterlimit": "1.5",
1610
- viewBox: "0 0 24 24",
1611
- "xml:space": "preserve"
1612
- }, 0, "6E_0");
1613
- }, "LogoForge_component_mRpm0rEP3vY"));
1614
- const LogoLuminescent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1615
- return /* @__PURE__ */ _jsxS("svg", {
1616
- ...props,
1617
- children: /* @__PURE__ */ _jsxQ("g", null, {
1618
- "fill-opacity": "1"
1619
- }, /* @__PURE__ */ _jsxQ("g", null, {
1620
- transform: "translate(86.97656, 254.624983)"
1621
- }, /* @__PURE__ */ _jsxQ("path", null, {
1622
- d: "M 119.476562 -167.570312 C 90.671875 -133.253906 37.820312 -144.527344 30.308594 -109.710938 C 26.550781 -92.175781 39.074219 -75.644531 62.367188 -76.394531 C 67.878906 -77.398438 69.882812 -87.917969 66.628906 -90.671875 C 56.859375 -92.675781 55.855469 -99.691406 57.609375 -107.453125 C 62.117188 -125.988281 93.929688 -123.734375 113.96875 -147.28125 C 103.949219 -115.21875 96.933594 -78.902344 83.910156 -43.582031 C 59.363281 -58.863281 23.796875 -50.847656 21.542969 -27.050781 C 19.285156 -8.765625 32.8125 3.257812 55.355469 2.253906 C 72.386719 1.753906 80.902344 -4.007812 89.921875 -12.023438 C 112.464844 15.277344 138.261719 52.097656 181.347656 37.570312 C 188.609375 30.558594 183.347656 14.777344 177.085938 15.277344 C 147.28125 25.546875 132 1.253906 104.699219 -28.054688 C 119.476562 -56.105469 134.003906 -124.738281 148.53125 -167.320312 C 147.53125 -173.582031 124.488281 -177.339844 119.476562 -167.570312 Z M 46.339844 -28.804688 C 50.347656 -38.324219 68.128906 -36.570312 77.148438 -27.550781 C 72.890625 -20.789062 66.628906 -15.027344 57.359375 -15.027344 C 46.085938 -15.027344 43.332031 -22.792969 46.339844 -28.804688 Z M 46.339844 -28.804688 "
1623
- }, null, 3, null), 3, null), 3, null)
1624
- }, {
1625
- fill: "currentColor",
1626
- height: _fnSignal((p0) => p0.width, [
1627
- props
1628
- ], "p0.width"),
1629
- preserveAspectRatio: "xMidYMid meet",
1630
- version: "1.0",
1631
- viewBox: "80 80 220 220",
1632
- xmlns: "http://www.w3.org/2000/svg",
1633
- "xmlns:xlink": "http://www.w3.org/1999/xlink",
1634
- zoomAndPan: "magnify"
1635
- }, 0, "Jv_0");
1636
- }, "LogoLuminescent_component_2ppcIednMJs"));
1637
- const LogoLuminescentFull = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1638
- return /* @__PURE__ */ _jsxS("svg", {
1639
- ...props,
1640
- children: [
1641
- /* @__PURE__ */ _jsxQ("g", null, {
1642
- "fill-opacity": "1"
1643
- }, /* @__PURE__ */ _jsxQ("g", null, {
1644
- transform: "translate(12.743357, 223.612604)"
1645
- }, /* @__PURE__ */ _jsxQ("path", null, {
1646
- d: "M 110.792969 -155.390625 C 84.082031 -123.570312 35.074219 -134.023438 28.105469 -101.734375 C 24.621094 -85.476562 36.234375 -70.148438 57.835938 -70.84375 C 62.945312 -71.773438 64.804688 -81.527344 61.785156 -84.082031 C 52.726562 -85.941406 51.796875 -92.445312 53.421875 -99.644531 C 57.605469 -116.832031 87.101562 -114.742188 105.683594 -136.578125 C 96.394531 -106.84375 89.890625 -73.167969 77.8125 -40.414062 C 55.046875 -54.585938 22.066406 -47.152344 19.976562 -25.085938 C 17.886719 -8.128906 30.429688 3.019531 51.332031 2.089844 C 67.128906 1.625 75.023438 -3.714844 83.386719 -11.148438 C 104.289062 14.167969 128.214844 48.3125 168.164062 34.839844 C 174.902344 28.335938 170.023438 13.703125 164.21875 14.167969 C 136.578125 23.691406 122.40625 1.160156 97.089844 -26.015625 C 110.792969 -52.027344 124.265625 -115.671875 137.738281 -155.160156 C 136.808594 -160.964844 115.441406 -164.449219 110.792969 -155.390625 Z M 42.96875 -26.710938 C 46.6875 -35.539062 63.179688 -33.910156 71.539062 -25.550781 C 67.589844 -19.277344 61.785156 -13.9375 53.191406 -13.9375 C 42.738281 -13.9375 40.183594 -21.136719 42.96875 -26.710938 Z M 42.96875 -26.710938 "
1647
- }, null, 3, null), 3, null), 3, null),
1648
- /* @__PURE__ */ _jsxQ("g", null, {
1649
- "fill-opacity": "1"
1650
- }, /* @__PURE__ */ _jsxQ("g", null, {
1651
- transform: "translate(151.868279, 223.612604)"
1652
- }, /* @__PURE__ */ _jsxQ("path", null, {
1653
- d: "M 72.003906 -95.464844 C 67.589844 -79.902344 62.945312 -62.945312 58.066406 -48.3125 C 51.101562 -28.570312 36.46875 -14.867188 27.410156 -14.867188 C 18.8125 -14.867188 21.136719 -26.945312 24.390625 -40.183594 C 28.570312 -58.765625 34.609375 -79.4375 37.859375 -92.445312 C 37.859375 -98.714844 16.492188 -100.804688 13.703125 -95 C 8.363281 -74.328125 0.230469 -51.566406 -3.949219 -28.335938 C -6.96875 -12.078125 -2.324219 1.859375 16.027344 2.089844 C 31.589844 2.554688 46.222656 -5.109375 59.695312 -27.410156 C 56.210938 -13.472656 61.085938 1.160156 73.863281 1.160156 C 98.019531 1.394531 115.207031 -30.890625 123.105469 -46.6875 C 124.5 -49.472656 116.367188 -54.351562 114.976562 -51.332031 C 106.613281 -31.820312 92.675781 -14.632812 83.851562 -14.867188 C 72.003906 -14.867188 90.121094 -70.609375 96.160156 -92.210938 C 94.535156 -98.949219 74.792969 -100.574219 72.003906 -95.464844 Z M 72.003906 -95.464844 "
1654
- }, null, 3, null), 3, null), 3, null),
1655
- /* @__PURE__ */ _jsxQ("g", null, {
1656
- "fill-opacity": "1"
1657
- }, /* @__PURE__ */ _jsxQ("g", null, {
1658
- transform: "translate(265.444396, 223.612604)"
1659
- }, /* @__PURE__ */ _jsxQ("path", null, {
1660
- d: "M 123.570312 2.089844 C 146.101562 1.394531 163.054688 -26.246094 172.578125 -46.6875 C 173.972656 -49.472656 165.609375 -54.121094 164.449219 -51.332031 C 156.085938 -31.589844 141.6875 -14.167969 132.859375 -14.167969 C 120.78125 -13.9375 136.34375 -51.796875 140.292969 -68.519531 C 144.707031 -87.566406 139.828125 -98.949219 122.175781 -98.949219 C 107.078125 -99.179688 94.304688 -87.101562 85.476562 -75.722656 C 88.03125 -89.65625 81.527344 -98.949219 69.21875 -98.949219 C 55.28125 -99.179688 40.648438 -85.476562 32.519531 -74.09375 L 37.628906 -92.445312 C 36.46875 -99.179688 17.1875 -101.039062 13.472656 -95.929688 C 4.414062 -61.785156 -2.789062 -36.003906 -10.917969 -5.109375 C -11.847656 3.019531 12.773438 2.789062 14.867188 -2.554688 C 19.046875 -20.671875 22.761719 -36.46875 28.105469 -54.351562 C 36.003906 -68.054688 47.382812 -79.902344 54.585938 -79.902344 C 61.320312 -80.132812 60.855469 -72.46875 59.230469 -66.429688 C 53.191406 -42.042969 48.546875 -23.226562 43.898438 -3.714844 C 44.828125 3.019531 66.894531 2.324219 69.449219 -2.789062 C 72.933594 -16.027344 77.8125 -38.558594 81.992188 -53.65625 C 87.101562 -66.199219 100.804688 -80.132812 108.9375 -80.367188 C 116.367188 -80.367188 114.976562 -72.238281 113.347656 -65.5 C 110.328125 -53.191406 104.753906 -32.984375 103.128906 -23.691406 C 100.109375 -7.898438 105.453125 2.789062 123.570312 2.089844 Z M 123.570312 2.089844 "
1661
- }, null, 3, null), 3, null), 3, null),
1662
- /* @__PURE__ */ _jsxQ("g", null, {
1663
- "fill-opacity": "1"
1664
- }, /* @__PURE__ */ _jsxQ("g", null, {
1665
- transform: "translate(428.260051, 223.612604)"
1666
- }, /* @__PURE__ */ _jsxQ("path", null, {
1667
- d: "M 32.285156 -112.421875 C 41.578125 -112.421875 48.082031 -118.226562 49.007812 -126.589844 C 50.171875 -134.71875 45.0625 -140.523438 36.699219 -140.523438 C 28.105469 -140.757812 21.601562 -134.949219 20.207031 -126.589844 C 19.046875 -118.460938 24.621094 -112.421875 32.285156 -112.421875 Z M 14.632812 2.089844 C 38.789062 1.625 56.210938 -25.550781 65.964844 -46.453125 C 67.359375 -49.472656 59.230469 -54.351562 57.835938 -51.332031 C 49.9375 -32.285156 34.609375 -14.167969 23.925781 -14.167969 C 19.046875 -13.9375 19.277344 -20.207031 21.136719 -29.5 C 24.621094 -45.292969 29.5 -60.390625 38.558594 -92.675781 C 36.929688 -98.25 17.886719 -101.039062 14.167969 -95.695312 C 6.039062 -67.589844 0.464844 -48.777344 -4.644531 -26.945312 C -8.828125 -9.058594 -4.644531 2.554688 14.632812 2.089844 Z M 14.632812 2.089844 "
1668
- }, null, 3, null), 3, null), 3, null),
1669
- /* @__PURE__ */ _jsxQ("g", null, {
1670
- "fill-opacity": "1"
1671
- }, /* @__PURE__ */ _jsxQ("g", null, {
1672
- transform: "translate(484.467457, 223.612604)"
1673
- }, /* @__PURE__ */ _jsxQ("path", null, {
1674
- d: "M 72.238281 -98.949219 C 56.90625 -99.179688 41.113281 -84.082031 32.75 -74.328125 C 34.839844 -81.0625 35.769531 -85.011719 37.859375 -92.445312 C 35.539062 -99.644531 17.421875 -100.804688 13.703125 -95.695312 C 4.414062 -61.785156 -3.484375 -35.304688 -10.917969 -4.414062 C -10.453125 3.25 12.542969 2.554688 15.097656 -2.554688 C 19.976562 -23.460938 22.53125 -35.304688 29.035156 -57.140625 C 37.628906 -68.753906 49.9375 -79.667969 58.066406 -79.902344 C 65.964844 -80.132812 64.804688 -72.46875 63.179688 -65.5 C 61.085938 -55.976562 54.585938 -30.660156 53.191406 -22.761719 C 50.402344 -7.664062 55.746094 2.554688 73.398438 2.089844 C 95.929688 1.859375 113.347656 -26.480469 122.640625 -46.6875 C 123.800781 -49.472656 115.671875 -54.121094 114.511719 -51.332031 C 105.917969 -31.355469 92.210938 -14.167969 82.6875 -14.167969 C 76.882812 -14.167969 78.042969 -22.996094 79.902344 -31.589844 C 82.457031 -42.738281 87.335938 -55.746094 89.890625 -66.429688 C 94.304688 -85.246094 89.890625 -98.714844 72.238281 -98.949219 Z M 72.238281 -98.949219 "
1675
- }, null, 3, null), 3, null), 3, null),
1676
- /* @__PURE__ */ _jsxQ("g", null, {
1677
- "fill-opacity": "1"
1678
- }, /* @__PURE__ */ _jsxQ("g", null, {
1679
- transform: "translate(597.346777, 223.612604)"
1680
- }, /* @__PURE__ */ _jsxQ("path", null, {
1681
- d: "M 58.996094 -98.484375 C 31.820312 -99.414062 7.433594 -80.367188 1.160156 -49.9375 C -4.644531 -23.925781 7.898438 1.160156 43.203125 2.324219 C 65.269531 3.019531 93.140625 -4.644531 111.957031 -46.6875 C 113.117188 -49.472656 104.988281 -54.121094 103.59375 -51.332031 C 90.121094 -20.671875 65.5 -12.542969 49.707031 -14.167969 C 33.449219 -15.792969 24.851562 -25.316406 26.246094 -40.183594 C 53.191406 -33.910156 75.257812 -42.042969 83.851562 -59.460938 C 92.675781 -76.417969 85.011719 -97.554688 58.996094 -98.484375 Z M 55.976562 -81.992188 C 64.804688 -81.761719 65.035156 -73.398438 61.320312 -65.734375 C 56.675781 -55.511719 45.0625 -49.472656 27.871094 -52.027344 C 32.054688 -68.753906 45.0625 -82.6875 55.976562 -81.992188 Z M 55.976562 -81.992188 "
1682
- }, null, 3, null), 3, null), 3, null),
1683
- /* @__PURE__ */ _jsxQ("g", null, {
1684
- "fill-opacity": "1"
1685
- }, /* @__PURE__ */ _jsxQ("g", null, {
1686
- transform: "translate(699.542059, 223.612604)"
1687
- }, /* @__PURE__ */ _jsxQ("path", null, {
1688
- d: "M 35.074219 2.554688 C 49.007812 2.789062 62.015625 -2.789062 68.753906 -12.542969 C 84.316406 -12.078125 100.574219 -19.277344 113.117188 -46.6875 C 114.277344 -49.242188 106.148438 -54.121094 104.988281 -51.566406 C 95.929688 -30.429688 84.082031 -23.460938 73.628906 -22.996094 C 79.207031 -46.453125 65.734375 -63.179688 61.550781 -92.675781 C 73.398438 -108.238281 51.566406 -116.367188 35.304688 -101.039062 C 20.441406 -87.566406 7.433594 -65.035156 -2.324219 -43.433594 C -3.949219 -40.183594 4.414062 -36.003906 5.808594 -39.023438 C 15.097656 -58.300781 26.710938 -78.972656 38.558594 -90.820312 C 40.183594 -71.539062 50.402344 -52.261719 50.171875 -35.769531 C 43.433594 -35.769531 40.183594 -25.316406 46.222656 -19.742188 C 44.132812 -16.722656 39.71875 -14.167969 35.304688 -14.167969 C 27.640625 -14.167969 22.066406 -20.671875 23.691406 -30.660156 C 20.671875 -33.449219 10.683594 -31.820312 8.828125 -25.550781 C 7.664062 -7.199219 21.367188 2.554688 35.074219 2.554688 Z M 35.074219 2.554688 "
1689
- }, null, 3, null), 3, null), 3, null),
1690
- /* @__PURE__ */ _jsxQ("g", null, {
1691
- "fill-opacity": "1"
1692
- }, /* @__PURE__ */ _jsxQ("g", null, {
1693
- transform: "translate(802.898632, 223.612604)"
1694
- }, /* @__PURE__ */ _jsxQ("path", null, {
1695
- d: "M 57.835938 -98.714844 C 25.085938 -99.179688 0.929688 -70.378906 -0.695312 -41.578125 C -1.859375 -19.046875 13.472656 0.929688 37.628906 1.859375 C 62.015625 3.019531 88.496094 -5.574219 107.078125 -46.6875 C 108.238281 -49.242188 100.109375 -54.121094 98.949219 -51.332031 C 87.335938 -24.851562 68.054688 -13.703125 49.242188 -14.402344 C 33.910156 -14.867188 24.621094 -25.316406 26.015625 -41.578125 C 28.105469 -64.339844 43.203125 -83.617188 56.210938 -82.226562 C 65.734375 -81.296875 60.855469 -68.753906 55.511719 -62.015625 C 55.511719 -56.90625 72.933594 -55.511719 77.8125 -61.085938 C 90.585938 -74.558594 88.496094 -98.25 57.835938 -98.714844 Z M 57.835938 -98.714844 "
1696
- }, null, 3, null), 3, null), 3, null),
1697
- /* @__PURE__ */ _jsxQ("g", null, {
1698
- "fill-opacity": "1"
1699
- }, /* @__PURE__ */ _jsxQ("g", null, {
1700
- transform: "translate(900.21642, 223.612604)"
1701
- }, /* @__PURE__ */ _jsxQ("path", null, {
1702
- d: "M 58.996094 -98.484375 C 31.820312 -99.414062 7.433594 -80.367188 1.160156 -49.9375 C -4.644531 -23.925781 7.898438 1.160156 43.203125 2.324219 C 65.269531 3.019531 93.140625 -4.644531 111.957031 -46.6875 C 113.117188 -49.472656 104.988281 -54.121094 103.59375 -51.332031 C 90.121094 -20.671875 65.5 -12.542969 49.707031 -14.167969 C 33.449219 -15.792969 24.851562 -25.316406 26.246094 -40.183594 C 53.191406 -33.910156 75.257812 -42.042969 83.851562 -59.460938 C 92.675781 -76.417969 85.011719 -97.554688 58.996094 -98.484375 Z M 55.976562 -81.992188 C 64.804688 -81.761719 65.035156 -73.398438 61.320312 -65.734375 C 56.675781 -55.511719 45.0625 -49.472656 27.871094 -52.027344 C 32.054688 -68.753906 45.0625 -82.6875 55.976562 -81.992188 Z M 55.976562 -81.992188 "
1703
- }, null, 3, null), 3, null), 3, null),
1704
- /* @__PURE__ */ _jsxQ("g", null, {
1705
- "fill-opacity": "1"
1706
- }, /* @__PURE__ */ _jsxQ("g", null, {
1707
- transform: "translate(1002.411702, 223.612604)"
1708
- }, /* @__PURE__ */ _jsxQ("path", null, {
1709
- d: "M 72.238281 -98.949219 C 56.90625 -99.179688 41.113281 -84.082031 32.75 -74.328125 C 34.839844 -81.0625 35.769531 -85.011719 37.859375 -92.445312 C 35.539062 -99.644531 17.421875 -100.804688 13.703125 -95.695312 C 4.414062 -61.785156 -3.484375 -35.304688 -10.917969 -4.414062 C -10.453125 3.25 12.542969 2.554688 15.097656 -2.554688 C 19.976562 -23.460938 22.53125 -35.304688 29.035156 -57.140625 C 37.628906 -68.753906 49.9375 -79.667969 58.066406 -79.902344 C 65.964844 -80.132812 64.804688 -72.46875 63.179688 -65.5 C 61.085938 -55.976562 54.585938 -30.660156 53.191406 -22.761719 C 50.402344 -7.664062 55.746094 2.554688 73.398438 2.089844 C 95.929688 1.859375 113.347656 -26.480469 122.640625 -46.6875 C 123.800781 -49.472656 115.671875 -54.121094 114.511719 -51.332031 C 105.917969 -31.355469 92.210938 -14.167969 82.6875 -14.167969 C 76.882812 -14.167969 78.042969 -22.996094 79.902344 -31.589844 C 82.457031 -42.738281 87.335938 -55.746094 89.890625 -66.429688 C 94.304688 -85.246094 89.890625 -98.714844 72.238281 -98.949219 Z M 72.238281 -98.949219 "
1710
- }, null, 3, null), 3, null), 3, null),
1711
- /* @__PURE__ */ _jsxQ("g", null, {
1712
- "fill-opacity": "1"
1713
- }, /* @__PURE__ */ _jsxQ("g", null, {
1714
- transform: "translate(1115.290992, 223.612604)"
1715
- }, /* @__PURE__ */ _jsxQ("path", null, {
1716
- d: "M 28.570312 2.089844 C 51.796875 1.859375 68.753906 -17.421875 81.296875 -46.453125 C 82.457031 -49.472656 74.558594 -54.121094 73.167969 -51.332031 C 63.410156 -29.265625 46.917969 -13.9375 33.449219 -14.167969 C 22.066406 -14.402344 22.066406 -30.195312 26.945312 -51.566406 C 29.035156 -61.320312 32.519531 -73.628906 36.003906 -85.707031 L 57.835938 -85.707031 C 61.320312 -86.871094 64.105469 -97.785156 59.695312 -101.039062 L 40.183594 -101.039062 C 45.527344 -118.691406 50.867188 -135.183594 55.976562 -149.351562 C 55.746094 -156.085938 34.609375 -158.644531 31.355469 -153.996094 C 26.710938 -142.152344 19.511719 -120.550781 13.472656 -101.039062 L 4.179688 -101.039062 C 0.464844 -99.644531 -2.324219 -88.265625 2.324219 -85.707031 L 9.289062 -85.707031 C -1.394531 -45.0625 -12.078125 2.554688 28.570312 2.089844 Z M 28.570312 2.089844 "
1717
- }, null, 3, null), 3, null), 3, null)
1718
- ]
1719
- }, {
1720
- fill: "currentColor",
1721
- preserveAspectRatio: "xMidYMid meet",
1722
- version: "1.0",
1723
- viewBox: "30 60 1160 200",
1724
- xmlns: "http://www.w3.org/2000/svg",
1725
- "xmlns:xlink": "http://www.w3.org/1999/xlink",
1726
- zoomAndPan: "magnify"
1727
- }, 0, "Jv_1");
1728
- }, "LogoLuminescentFull_component_UNzyq3QUKpA"));
1729
- const LogoPaper = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1730
- return /* @__PURE__ */ _jsxS("svg", {
1731
- ...props,
1732
- children: [
1733
- /* @__PURE__ */ _jsxQ("path", null, {
1734
- d: "M0 0h24v24H0z",
1735
- fill: "none"
1736
- }, null, 3, null),
1737
- /* @__PURE__ */ _jsxQ("path", null, {
1738
- d: "m12 18 6 2 3-17L2 14l6 2",
1739
- fill: "none",
1740
- stroke: "currentColor",
1741
- "stroke-width": "2"
1742
- }, null, 3, null),
1743
- /* @__PURE__ */ _jsxQ("path", null, {
1744
- d: "m9 21-1-5 4 2-3 3Z",
1745
- stroke: "currentColor",
1746
- "stroke-width": "2"
1747
- }, null, 3, null),
1748
- /* @__PURE__ */ _jsxQ("path", null, {
1749
- d: "m12 18-4-2 10-9-6 11Z",
1750
- fill: "currentColor"
1751
- }, null, 3, null)
1752
- ]
1753
- }, {
1754
- "clip-rule": "evenodd",
1755
- "fill-rule": "evenodd",
1756
- height: _fnSignal((p0) => p0.width, [
1757
- props
1758
- ], "p0.width"),
1759
- "stroke-linecap": "round",
1760
- "stroke-linejoin": "round",
1761
- "stroke-miterlimit": "1.5",
1762
- viewBox: "0 0 24 24",
1763
- "xml:space": "preserve"
1764
- }, 0, "2r_0");
1765
- }, "LogoPaper_component_pBDmaKNS7m4"));
1766
- const LogoPterodactyl = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1767
- return /* @__PURE__ */ _jsxS("svg", {
1768
- ...props,
1769
- children: /* @__PURE__ */ _jsxQ("g", null, {
1770
- fill: "currentColor",
1771
- stroke: "none",
1772
- transform: "translate(0,180) scale(0.100000,-0.100000)"
1773
- }, [
1774
- /* @__PURE__ */ _jsxQ("path", null, {
1775
- d: "M965 1489 c-86 -13 -231 -63 -305 -107 -70 -41 -175 -138 -204 -190 l-18 -34 53 32 c127 75 410 193 425 177 3 -3 -3 -18 -13 -34 l-18 -28 40 33 c39 32 136 99 205 140 l35 22 -70 -1 c-38 -1 -97 -5 -130 -10z"
1776
- }, null, 3, null),
1777
- /* @__PURE__ */ _jsxQ("path", null, {
1778
- d: "M1149 1320 c-147 -23 -282 -103 -431 -254 -103 -104 -143 -125 -65 -34 48 56 188 261 182 266 -6 7 -191 -71 -265 -111 -245 -132 -410 -289 -502 -474 -27 -56 -48 -107 -46 -112 1 -5 41 20 88 56 120 93 200 146 200 133 0 -6 -46 -59 -103 -117 -56 -59 -95 -104 -87 -101 8 3 89 36 180 73 150 61 165 66 175 50 64 -109 121 -158 225 -194 103 -36 259 -47 366 -26 13 3 42 -11 80 -39 32 -24 78 -49 101 -55 27 -7 44 -19 48 -31 8 -27 41 -43 71 -36 28 7 32 26 5 26 -24 0 -44 24 -39 47 2 10 18 25 35 34 18 9 30 19 26 23 -13 13 -58 5 -79 -15 -15 -14 -29 -18 -48 -13 -29 7 -79 60 -73 78 2 6 29 20 60 31 31 11 57 23 57 27 0 13 -181 96 -248 114 l-64 18 6 40 c11 71 63 162 132 231 101 101 239 159 582 246 28 7 52 15 52 19 0 7 -209 64 -310 84 -99 19 -241 27 -311 16z m-819 -401 c-13 -22 -37 -35 -48 -24 -7 7 34 45 49 45 6 0 5 -9 -1 -21z"
1779
- }, null, 3, null),
1780
- /* @__PURE__ */ _jsxQ("path", null, {
1781
- d: "M1224 496 c-14 -11 -16 -17 -7 -26 9 -10 17 -8 37 6 14 11 26 22 26 27 0 12 -35 8 -56 -7z"
1782
- }, null, 3, null),
1783
- /* @__PURE__ */ _jsxQ("path", null, {
1784
- d: "M1012 441 c-19 -11 64 -51 106 -51 39 0 40 4 5 35 -29 25 -85 33 -111 16z"
1785
- }, null, 3, null)
1786
- ], 3, null)
1787
- }, {
1788
- height: _fnSignal((p0) => p0.width, [
1789
- props
1790
- ], "p0.width"),
1791
- preserveAspectRatio: "xMidYMid meet",
1792
- version: "1.0",
1793
- viewBox: "0 0 180 180",
1794
- xmlns: "http://www.w3.org/2000/svg"
1795
- }, 0, "DN_0");
1796
- }, "LogoPterodactyl_component_wVJW9cHcHoo"));
1797
- const LogoPurpur = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1798
- return /* @__PURE__ */ _jsxS("svg", {
1799
- ...props,
1800
- children: [
1801
- /* @__PURE__ */ _jsxQ("defs", null, null, /* @__PURE__ */ _jsxQ("path", null, {
1802
- d: "m264 41.95 8-4v8l-8 4v-8Z",
1803
- fill: "none",
1804
- id: "purpur",
1805
- stroke: "currentColor",
1806
- "stroke-width": "1.68"
1807
- }, null, 3, null), 3, null),
1808
- /* @__PURE__ */ _jsxQ("path", null, {
1809
- d: "M0 0h24v24H0z",
1810
- fill: "none"
1811
- }, null, 3, null),
1812
- /* @__PURE__ */ _jsxQ("path", null, {
1813
- d: "m264 29.95-8 4 8 4.42 8-4.42-8-4Z",
1814
- fill: "none",
1815
- stroke: "currentColor",
1816
- "stroke-width": "1.77",
1817
- transform: "matrix(1.125 0 0 1.1372 -285 -31.69)"
1818
- }, null, 3, null),
1819
- /* @__PURE__ */ _jsxQ("path", null, {
1820
- d: "m272 38.37-8 4.42-8-4.42",
1821
- fill: "none",
1822
- stroke: "currentColor",
1823
- "stroke-width": "1.77",
1824
- transform: "matrix(1.125 0 0 1.1372 -285 -31.69)"
1825
- }, null, 3, null),
1826
- /* @__PURE__ */ _jsxQ("path", null, {
1827
- d: "m260 31.95 8 4.21V45",
1828
- fill: "none",
1829
- stroke: "currentColor",
1830
- "stroke-width": "1.77",
1831
- transform: "matrix(1.125 0 0 1.1372 -285 -31.69)"
1832
- }, null, 3, null),
1833
- /* @__PURE__ */ _jsxQ("path", null, {
1834
- d: "M260 45v-8.84l8-4.21",
1835
- fill: "none",
1836
- stroke: "currentColor",
1837
- "stroke-width": "1.77",
1838
- transform: "matrix(1.125 0 0 1.1372 -285 -31.69)"
1839
- }, null, 3, null),
1840
- /* @__PURE__ */ _jsxQ("path", null, {
1841
- d: "m264 41.95 8-4v8l-8 4v-8Z",
1842
- fill: "none",
1843
- stroke: "currentColor",
1844
- "stroke-width": "1.68",
1845
- transform: "matrix(1.125 0 0 1.2569 -285 -40.78)"
1846
- }, null, 3, null),
1847
- /* @__PURE__ */ _jsxQ("path", null, {
1848
- d: "m264 41.95 8-4v8l-8 4v-8Z",
1849
- fill: "none",
1850
- stroke: "currentColor",
1851
- "stroke-width": "1.68",
1852
- transform: "matrix(-1.125 0 0 1.2569 309 -40.78)"
1853
- }, null, 3, null)
1854
- ]
1855
- }, {
1856
- "clip-rule": "evenodd",
1857
- "fill-rule": "evenodd",
1858
- height: _fnSignal((p0) => p0.width, [
1859
- props
1860
- ], "p0.width"),
1861
- "stroke-linecap": "round",
1862
- "stroke-linejoin": "round",
1863
- "stroke-miterlimit": "1.5",
1864
- viewBox: "0 0 24 24",
1865
- "xml:space": "preserve"
1866
- }, 0, "Xw_0");
1867
- }, "LogoPurpur_component_sVHzeC1GCZ4"));
1868
- const LogoVelocity = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1869
- return /* @__PURE__ */ _jsxS("svg", {
1870
- ...props,
1871
- children: [
1872
- /* @__PURE__ */ _jsxQ("path", null, {
1873
- d: "M236.25 232.55l-54.08-73.79a11.86 11.86 0 00-11.91-4.62L84 171.57a11.88 11.88 0 00-8 5.88l-42.64 77.07a11.84 11.84 0 00.81 12.75l54.21 74a11.86 11.86 0 0011.91 4.62l86-17.37a11.85 11.85 0 008-5.89l42.78-77.3a11.86 11.86 0 00-.82-12.78zm-59.45 74.21a9.57 9.57 0 01-13.39-2.06l-31-42.24a16 16 0 00-16-6.21l-52.58 10.63a9.58 9.58 0 01-11.29-7.49A9.58 9.58 0 0160 248.1l57-11.52a16 16 0 0010.81-7.92L156.42 177a9.58 9.58 0 0113-3.75 9.58 9.58 0 013.75 13L146.81 234a16 16 0 001.09 17.16l31 42.23a9.58 9.58 0 01-2.1 13.37z"
1874
- }, null, 3, null),
1875
- /* @__PURE__ */ _jsxQ("circle", null, {
1876
- cx: "416.44",
1877
- cy: "236.11",
1878
- r: "9.83"
1879
- }, null, 3, null),
1880
- /* @__PURE__ */ _jsxQ("path", null, {
1881
- d: "M458.29 265.6H280.52a9.83 9.83 0 110-19.66h106.22a9.84 9.84 0 000-19.67h-70.2a9.83 9.83 0 110-19.66H422.9a9.84 9.84 0 000-19.67H202.83l33.42 45.61a11.86 11.86 0 01.81 12.75l-42.78 77.3a11.75 11.75 0 01-1.4 2h212.29a9.83 9.83 0 100-19.66h-53.53a9.84 9.84 0 110-19.67h106.65a9.84 9.84 0 100-19.67z"
1882
- }, null, 3, null)
1883
- ]
1884
- }, {
1885
- fill: "currentColor",
1886
- height: _fnSignal((p0) => p0.width, [
1887
- props
1888
- ], "p0.width"),
1889
- viewBox: "0 0 500 500"
1890
- }, 0, "Ea_0");
1891
- }, "LogoVelocity_component_SNoCdG0zr0s"));
1892
- const LogoWaterfall = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1893
- return /* @__PURE__ */ _jsxS("svg", {
1894
- ...props,
1895
- children: /* @__PURE__ */ _jsxQ("path", null, {
1896
- d: "M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z"
1897
- }, null, 3, null)
1898
- }, {
1899
- fill: "none",
1900
- height: _fnSignal((p0) => p0.width, [
1901
- props
1902
- ], "p0.width"),
1903
- stroke: "currentColor",
1904
- "stroke-linecap": "round",
1905
- "stroke-linejoin": "round",
1906
- "stroke-width": "2",
1907
- viewBox: "0 0 24 24"
1908
- }, 0, "Pt_0");
1909
- }, "LogoWaterfall_component_1hFl8GlECLI"));
1910
- export {
1911
- Anchor,
1912
- Button,
1913
- ButtonAnchor,
1914
- Card,
1915
- ColorInput,
1916
- Header,
1917
- InputClasses,
1918
- LoadingIcon,
1919
- LogoBirdflop,
1920
- LogoDiscord,
1921
- LogoFabric,
1922
- LogoForge,
1923
- LogoLuminescent,
1924
- LogoLuminescentFull,
1925
- LogoPaper,
1926
- LogoPterodactyl,
1927
- LogoPurpur,
1928
- LogoVelocity,
1929
- LogoWaterfall,
1930
- NumberInput,
1931
- NumberInputRaw,
1932
- SelectInput,
1933
- SelectInputRaw,
1934
- TextArea,
1935
- TextAreaRaw,
1936
- TextInput,
1937
- TextInputRaw,
1938
- Toggle,
1939
- blobClasses as _auto_blobClasses,
1940
- buttonClass as _auto_buttonClass,
1941
- buttonColorClasses,
1942
- cardColorClasses,
1943
- sizeClasses
1944
- };