@luminescent/ui 0.7.4 → 0.7.6
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/lib/index.qwik.cjs +1967 -0
- package/lib/index.qwik.mjs +1967 -0
- package/lib-types/components/elements/Anchor.d.ts +5 -0
- package/lib-types/components/elements/Button.d.ts +32 -0
- package/lib-types/components/elements/Card.d.ts +105 -0
- package/lib-types/components/elements/ColorInput.d.ts +9 -0
- package/lib-types/components/elements/Header.d.ts +8 -0
- package/lib-types/components/elements/LoadingIcon.d.ts +10 -0
- package/lib-types/components/elements/NumberInput.d.ts +25 -0
- package/lib-types/components/elements/SelectInput.d.ts +14 -0
- package/lib-types/components/elements/TextArea.d.ts +13 -0
- package/lib-types/components/elements/TextInput.d.ts +15 -0
- package/lib-types/components/elements/Toggle.d.ts +12 -0
- package/lib-types/components/elements.d.ts +11 -0
- package/lib-types/components/logos/Birdflop.d.ts +7 -0
- package/lib-types/components/logos/Discord.d.ts +2 -0
- package/lib-types/components/logos/Fabric.d.ts +2 -0
- package/lib-types/components/logos/Forge.d.ts +2 -0
- package/lib-types/components/logos/IconProps.d.ts +3 -0
- package/lib-types/components/logos/Luminescent.d.ts +3 -0
- package/lib-types/components/logos/Paper.d.ts +2 -0
- package/lib-types/components/logos/Pterodactyl.d.ts +2 -0
- package/lib-types/components/logos/Purpur.d.ts +2 -0
- package/lib-types/components/logos/Velocity.d.ts +2 -0
- package/lib-types/components/logos/Waterfall.d.ts +2 -0
- package/lib-types/components/logos.d.ts +10 -0
- package/lib-types/entry.dev.d.ts +2 -0
- package/lib-types/entry.ssr.d.ts +14 -0
- package/lib-types/index.d.ts +2 -0
- package/lib-types/root.d.ts +3 -0
- package/lib-types/svg/ChevronDown.d.ts +2 -0
- package/lib-types/svg/Minus.d.ts +2 -0
- package/lib-types/svg/Plus.d.ts +2 -0
- package/lib-types/tailwind.config.d.ts +122 -0
- package/lib-types/utils/simple-color-picker/color.d.ts +51 -0
- package/lib-types/utils/simple-color-picker/index.d.ts +145 -0
- package/lib-types/utils/simple-color-picker/utils.d.ts +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1967 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const qwik = require("@builder.io/qwik");
|
|
4
|
+
const build = require("@builder.io/qwik/build");
|
|
5
|
+
const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
|
|
6
|
+
const Anchor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => /* @__PURE__ */ qwik._jsxQ("span", null, {
|
|
7
|
+
class: "block h-32 -mt-32",
|
|
8
|
+
id: qwik._fnSignal((p0) => p0.id, [
|
|
9
|
+
props
|
|
10
|
+
], "p0.id")
|
|
11
|
+
}, null, 3, "Oa_0"), "Anchor_component_O7y4zyaazA0"));
|
|
12
|
+
const buttonColorClasses = {
|
|
13
|
+
blue: "bg-blue-600/90 border-blue-500 hover:bg-blue-500 active:bg-blue-400 focus:border-blue-400",
|
|
14
|
+
purple: "bg-purple-600/90 border-purple-500 hover:bg-purple-500 active:bg-purple-400 focus:border-purple-400",
|
|
15
|
+
pink: "bg-pink-600/90 border-pink-500 hover:bg-pink-500 active:bg-pink-400 focus:border-pink-400",
|
|
16
|
+
gray: "bg-gray-700/90 border-gray-600 hover:bg-gray-600 active:bg-gray-500 focus:border-gray-500",
|
|
17
|
+
darkgray: "bg-gray-800/90 border-gray-700 hover:bg-gray-700 active:bg-gray-600 focus:border-gray-600",
|
|
18
|
+
red: "bg-red-700/90 border-red-600 hover:bg-red-600 active:bg-red-500 focus:border-red-500",
|
|
19
|
+
green: "bg-green-700/90 border-green-600 hover:bg-green-600 active:bg-green-500 focus:border-green-500",
|
|
20
|
+
yellow: "bg-yellow-700/90 border-yellow-600 hover:bg-yellow-600 active:bg-yellow-500 focus:border-yellow-500"
|
|
21
|
+
};
|
|
22
|
+
const sizeClasses = {
|
|
23
|
+
sm: "text-sm px-2 py-1 rounded-md gap-2 active:px-1",
|
|
24
|
+
md: "text-base px-4 py-2 rounded-md gap-3",
|
|
25
|
+
lg: "text-base px-6 py-3 rounded-lg gap-3",
|
|
26
|
+
xl: "text-base px-8 py-4 rounded-xl gap-4"
|
|
27
|
+
};
|
|
28
|
+
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";
|
|
29
|
+
const Button = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
30
|
+
const props1 = qwik._restProps(props, [
|
|
31
|
+
"color",
|
|
32
|
+
"size"
|
|
33
|
+
]);
|
|
34
|
+
props1.class = {
|
|
35
|
+
[buttonClass]: true,
|
|
36
|
+
[buttonColorClasses[props.color ?? "darkgray"]]: true,
|
|
37
|
+
[sizeClasses[props.size ?? "md"]]: true,
|
|
38
|
+
...props1.class
|
|
39
|
+
};
|
|
40
|
+
return /* @__PURE__ */ qwik._jsxS("button", {
|
|
41
|
+
...props1,
|
|
42
|
+
children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "7H_0")
|
|
43
|
+
}, null, 0, "7H_1");
|
|
44
|
+
}, "Button_component_40p6lkzzQYM"));
|
|
45
|
+
const ButtonAnchor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
46
|
+
const props1 = qwik._restProps(props, [
|
|
47
|
+
"color",
|
|
48
|
+
"size"
|
|
49
|
+
]);
|
|
50
|
+
props1.class = {
|
|
51
|
+
[buttonClass]: true,
|
|
52
|
+
[buttonColorClasses[props.color ?? "darkgray"]]: true,
|
|
53
|
+
[sizeClasses[props.size ?? "md"]]: true,
|
|
54
|
+
...props1.class
|
|
55
|
+
};
|
|
56
|
+
return /* @__PURE__ */ qwik._jsxS("a", {
|
|
57
|
+
...props1,
|
|
58
|
+
children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "7H_2")
|
|
59
|
+
}, null, 0, "7H_3");
|
|
60
|
+
}, "ButtonAnchor_component_vQT9xS0lqew"));
|
|
61
|
+
const cardColorClasses = {
|
|
62
|
+
pink: {
|
|
63
|
+
card: {
|
|
64
|
+
bg_blobs: "bg-pink-400/10 border-pink-400/20",
|
|
65
|
+
bg: "bg-pink-400/60 border-pink-400",
|
|
66
|
+
hover: "hover:bg-pink-400/20",
|
|
67
|
+
click: "active:bg-pink-300/20"
|
|
68
|
+
},
|
|
69
|
+
blobs: [
|
|
70
|
+
"bg-pink-400",
|
|
71
|
+
"bg-pink-500",
|
|
72
|
+
"bg-pink-600"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
red: {
|
|
76
|
+
card: {
|
|
77
|
+
bg_blobs: "bg-red-400/10 border-red-400/20",
|
|
78
|
+
bg: "bg-red-400/60 border-red-400",
|
|
79
|
+
hover: "hover:bg-red-400/20",
|
|
80
|
+
click: "active:bg-red-300/20"
|
|
81
|
+
},
|
|
82
|
+
blobs: [
|
|
83
|
+
"bg-red-400",
|
|
84
|
+
"bg-red-500",
|
|
85
|
+
"bg-red-600"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
orange: {
|
|
89
|
+
card: {
|
|
90
|
+
bg_blobs: "bg-orange-400/10 border-orange-400/20",
|
|
91
|
+
bg: "bg-orange-400/60 border-orange-400",
|
|
92
|
+
hover: "hover:bg-orange-400/20",
|
|
93
|
+
click: "active:bg-orange-300/20"
|
|
94
|
+
},
|
|
95
|
+
blobs: [
|
|
96
|
+
"bg-orange-400",
|
|
97
|
+
"bg-orange-500",
|
|
98
|
+
"bg-orange-600"
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
yellow: {
|
|
102
|
+
card: {
|
|
103
|
+
bg_blobs: "bg-yellow-400/10 border-yellow-400/20",
|
|
104
|
+
bg: "bg-yellow-400/60 border-yellow-400",
|
|
105
|
+
hover: "hover:bg-yellow-400/20",
|
|
106
|
+
click: "active:bg-yellow-300/20"
|
|
107
|
+
},
|
|
108
|
+
blobs: [
|
|
109
|
+
"bg-yellow-400",
|
|
110
|
+
"bg-yellow-500",
|
|
111
|
+
"bg-yellow-600"
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
green: {
|
|
115
|
+
card: {
|
|
116
|
+
bg_blobs: "bg-green-400/10 border-green-400/20",
|
|
117
|
+
bg: "bg-green-400/60 border-green-400",
|
|
118
|
+
hover: "hover:bg-green-400/20",
|
|
119
|
+
click: "active:bg-green-300/20"
|
|
120
|
+
},
|
|
121
|
+
blobs: [
|
|
122
|
+
"bg-green-400",
|
|
123
|
+
"bg-green-500",
|
|
124
|
+
"bg-green-600"
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
blue: {
|
|
128
|
+
card: {
|
|
129
|
+
bg_blobs: "bg-blue-400/10 border-blue-400/20",
|
|
130
|
+
bg: "bg-blue-400/60 border-blue-400",
|
|
131
|
+
hover: "hover:bg-blue-400/20",
|
|
132
|
+
click: "active:bg-blue-300/20"
|
|
133
|
+
},
|
|
134
|
+
blobs: [
|
|
135
|
+
"bg-blue-400",
|
|
136
|
+
"bg-blue-500",
|
|
137
|
+
"bg-blue-600"
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
purple: {
|
|
141
|
+
card: {
|
|
142
|
+
bg_blobs: "bg-purple-400/10 border-purple-400/20",
|
|
143
|
+
bg: "bg-purple-400/60 border-purple-400",
|
|
144
|
+
hover: "hover:bg-purple-400/20",
|
|
145
|
+
click: "active:bg-purple-300/20"
|
|
146
|
+
},
|
|
147
|
+
blobs: [
|
|
148
|
+
"bg-purple-400",
|
|
149
|
+
"bg-purple-500",
|
|
150
|
+
"bg-purple-600"
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
gray: {
|
|
154
|
+
card: {
|
|
155
|
+
bg_blobs: "bg-gray-400/10 border-gray-400/20",
|
|
156
|
+
bg: "bg-gray-400/60 border-gray-400",
|
|
157
|
+
hover: "hover:bg-gray-400/20",
|
|
158
|
+
click: "active:bg-gray-300/20"
|
|
159
|
+
},
|
|
160
|
+
blobs: [
|
|
161
|
+
"bg-gray-400",
|
|
162
|
+
"bg-gray-500",
|
|
163
|
+
"bg-gray-600"
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
darkgray: {
|
|
167
|
+
card: {
|
|
168
|
+
bg_blobs: "bg-gray-800/10 border-gray-800/40",
|
|
169
|
+
bg: "bg-gray-800/60 border-gray-800",
|
|
170
|
+
hover: "hover:bg-gray-800/40",
|
|
171
|
+
click: "active:bg-gray-700/40"
|
|
172
|
+
},
|
|
173
|
+
blobs: [
|
|
174
|
+
"bg-gray-500",
|
|
175
|
+
"bg-gray-600",
|
|
176
|
+
"bg-gray-700"
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
darkergray: {
|
|
180
|
+
card: {
|
|
181
|
+
bg_blobs: "bg-gray-900/10 border-gray-900/50",
|
|
182
|
+
bg: "bg-gray-900/60 border-gray-900",
|
|
183
|
+
hover: "hover:bg-gray-900/50",
|
|
184
|
+
click: "active:bg-gray-800/50"
|
|
185
|
+
},
|
|
186
|
+
blobs: [
|
|
187
|
+
"bg-gray-600",
|
|
188
|
+
"bg-gray-700",
|
|
189
|
+
"bg-gray-800"
|
|
190
|
+
]
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
const blobClasses = [
|
|
194
|
+
"animate-blob",
|
|
195
|
+
"animate-blob1",
|
|
196
|
+
"animate-blob2",
|
|
197
|
+
"animate-blob3",
|
|
198
|
+
"animate-blob4",
|
|
199
|
+
"animate-blob5",
|
|
200
|
+
"animate-blob6"
|
|
201
|
+
];
|
|
202
|
+
const Card = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
203
|
+
const props1 = qwik._restProps(props, [
|
|
204
|
+
"color",
|
|
205
|
+
"hover",
|
|
206
|
+
"row",
|
|
207
|
+
"blobs"
|
|
208
|
+
]);
|
|
209
|
+
const blob = Math.round(Math.random() * 6);
|
|
210
|
+
return /* @__PURE__ */ qwik._jsxS("div", {
|
|
211
|
+
...props1,
|
|
212
|
+
children: [
|
|
213
|
+
/* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
214
|
+
class: qwik._fnSignal((p0) => ({
|
|
215
|
+
"flex gap-4": true,
|
|
216
|
+
"flex-col": !p0.row,
|
|
217
|
+
"flex-row items-center": p0.row
|
|
218
|
+
}), [
|
|
219
|
+
props
|
|
220
|
+
], '{"flex gap-4":true,"flex-col":!p0.row,"flex-row items-center":p0.row}')
|
|
221
|
+
}, /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "OW_0"), 1, null),
|
|
222
|
+
props1.href && /* @__PURE__ */ qwik._jsxQ("a", {
|
|
223
|
+
href: qwik._wrapSignal(props1, "href")
|
|
224
|
+
}, {
|
|
225
|
+
class: "absolute inset-0"
|
|
226
|
+
}, null, 3, "OW_1"),
|
|
227
|
+
props.blobs && /* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
228
|
+
class: "absolute -z-10 inset-0 transition-all overflow-clip animate-in fade-in anim-duration-[2s]",
|
|
229
|
+
style: {
|
|
230
|
+
containerType: "size"
|
|
231
|
+
}
|
|
232
|
+
}, [
|
|
233
|
+
/* @__PURE__ */ qwik._jsxQ("div", {
|
|
234
|
+
class: {
|
|
235
|
+
"absolute top-0 w-[30cqw] h-[30cqw] rounded-full opacity-20 ease-in-out blur-xl": true,
|
|
236
|
+
[blobClasses[blob]]: true,
|
|
237
|
+
[cardColorClasses[props.color ?? "darkgray"].blobs[0]]: true
|
|
238
|
+
}
|
|
239
|
+
}, null, null, 3, null),
|
|
240
|
+
/* @__PURE__ */ qwik._jsxQ("div", {
|
|
241
|
+
class: {
|
|
242
|
+
"absolute top-0 w-[30cqw] h-[30cqw] rounded-full opacity-20 ease-in-out blur-xl": true,
|
|
243
|
+
"anim-delay-[-5s]": true,
|
|
244
|
+
[blobClasses[blob]]: true,
|
|
245
|
+
[cardColorClasses[props.color ?? "darkgray"].blobs[1]]: true
|
|
246
|
+
}
|
|
247
|
+
}, null, null, 3, null),
|
|
248
|
+
/* @__PURE__ */ qwik._jsxQ("div", {
|
|
249
|
+
class: {
|
|
250
|
+
"absolute top-0 w-[30cqw] h-[30cqw] rounded-full opacity-20 ease-in-out blur-xl": true,
|
|
251
|
+
"anim-delay-[-10s]": true,
|
|
252
|
+
[blobClasses[blob]]: true,
|
|
253
|
+
[cardColorClasses[props.color ?? "darkgray"].blobs[2]]: true
|
|
254
|
+
}
|
|
255
|
+
}, null, null, 3, null)
|
|
256
|
+
], 1, "OW_2")
|
|
257
|
+
],
|
|
258
|
+
class: {
|
|
259
|
+
"relative p-8 border rounded-lg transition-all": true,
|
|
260
|
+
[cardColorClasses[props.color ?? "darkgray"].card.bg]: !props.blobs,
|
|
261
|
+
[cardColorClasses[props.color ?? "darkgray"].card.bg_blobs]: props.blobs,
|
|
262
|
+
[cardColorClasses[props.color ?? "darkgray"].card.hover + " hover:shadow-lg"]: props.hover,
|
|
263
|
+
[cardColorClasses[props.color ?? "darkgray"].card.click + " active:scale-[99%] cursor-pointer select-none"]: props.hover == "clickable",
|
|
264
|
+
...props1.class
|
|
265
|
+
}
|
|
266
|
+
}, null, 0, "OW_3");
|
|
267
|
+
}, "Card_component_DlkkcTEVka4"));
|
|
268
|
+
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";
|
|
269
|
+
const TextInput = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
270
|
+
return /* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
271
|
+
class: "flex flex-col"
|
|
272
|
+
}, [
|
|
273
|
+
/* @__PURE__ */ qwik._jsxQ("label", null, {
|
|
274
|
+
class: "pb-2",
|
|
275
|
+
for: qwik._fnSignal((p0) => p0.id, [
|
|
276
|
+
props
|
|
277
|
+
], "p0.id")
|
|
278
|
+
}, /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "dC_0"), 1, null),
|
|
279
|
+
/* @__PURE__ */ qwik._jsxC(TextInputRaw, {
|
|
280
|
+
...props,
|
|
281
|
+
children: void 0
|
|
282
|
+
}, 0, "dC_1")
|
|
283
|
+
], 1, "dC_2");
|
|
284
|
+
}, "TextInput_component_AXp2j5aulZI"));
|
|
285
|
+
const TextInputRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
286
|
+
return /* @__PURE__ */ qwik._jsxS("input", {
|
|
287
|
+
...props,
|
|
288
|
+
class: {
|
|
289
|
+
[InputClasses]: true,
|
|
290
|
+
...props.class
|
|
291
|
+
}
|
|
292
|
+
}, null, 0, "dC_3");
|
|
293
|
+
}, "TextInputRaw_component_ssloWlmBB4w"));
|
|
294
|
+
const clamp = (value, min, max) => Math.min(Math.max(value, min), max);
|
|
295
|
+
function getMousePosition(e) {
|
|
296
|
+
if (window.TouchEvent && e instanceof TouchEvent) {
|
|
297
|
+
const touch = e.touches[0];
|
|
298
|
+
return {
|
|
299
|
+
x: touch.clientX,
|
|
300
|
+
y: touch.clientY
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
const mouse = e;
|
|
304
|
+
return {
|
|
305
|
+
x: mouse.clientX,
|
|
306
|
+
y: mouse.clientY
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
const pad2 = (c) => c.length == 1 ? "0" + c : "" + c;
|
|
310
|
+
class Color {
|
|
311
|
+
constructor(color) {
|
|
312
|
+
this._rgba = {
|
|
313
|
+
r: 0,
|
|
314
|
+
g: 0,
|
|
315
|
+
b: 0,
|
|
316
|
+
a: 1
|
|
317
|
+
};
|
|
318
|
+
this._hsva = {
|
|
319
|
+
h: 0,
|
|
320
|
+
s: 0,
|
|
321
|
+
v: 0,
|
|
322
|
+
a: 1
|
|
323
|
+
};
|
|
324
|
+
this.fromHex(color);
|
|
325
|
+
}
|
|
326
|
+
fromHex(color = 0) {
|
|
327
|
+
if (typeof color === "number") {
|
|
328
|
+
this._hexNumber = color;
|
|
329
|
+
this._hexString = numberToHexString(this._hexNumber);
|
|
330
|
+
} else {
|
|
331
|
+
this._hexString = color.toUpperCase();
|
|
332
|
+
this._hexNumber = hexStringToNumber(this._hexString);
|
|
333
|
+
}
|
|
334
|
+
const { r, g, b } = hexNumberToRgb(this._hexNumber);
|
|
335
|
+
this._rgba.r = r;
|
|
336
|
+
this._rgba.g = g;
|
|
337
|
+
this._rgba.b = b;
|
|
338
|
+
const { h, s, v } = rgbToHsv(this._rgba);
|
|
339
|
+
this._hsva.h = h;
|
|
340
|
+
this._hsva.s = s;
|
|
341
|
+
this._hsva.v = v;
|
|
342
|
+
this._updateBrightness();
|
|
343
|
+
}
|
|
344
|
+
fromHsv(color) {
|
|
345
|
+
const { h, s, v } = color;
|
|
346
|
+
this._hsva.h = h;
|
|
347
|
+
this._hsva.s = s;
|
|
348
|
+
this._hsva.v = v;
|
|
349
|
+
const { r, g, b } = hsvToRgb(this._hsva);
|
|
350
|
+
this._rgba.r = r;
|
|
351
|
+
this._rgba.g = g;
|
|
352
|
+
this._rgba.b = b;
|
|
353
|
+
this._hexString = rgbToHex(this._rgba);
|
|
354
|
+
this._hexNumber = hexStringToNumber(this._hexString);
|
|
355
|
+
this._updateBrightness();
|
|
356
|
+
}
|
|
357
|
+
_updateBrightness() {
|
|
358
|
+
this._brightness = getBrightness(this._rgba);
|
|
359
|
+
this._isDark = this._brightness < 0.5;
|
|
360
|
+
this._isLight = !this._isDark;
|
|
361
|
+
}
|
|
362
|
+
get rgb() {
|
|
363
|
+
return this._rgba;
|
|
364
|
+
}
|
|
365
|
+
get hsv() {
|
|
366
|
+
return this._hsva;
|
|
367
|
+
}
|
|
368
|
+
get hex() {
|
|
369
|
+
return this._hexNumber;
|
|
370
|
+
}
|
|
371
|
+
get hexString() {
|
|
372
|
+
return this._hexString;
|
|
373
|
+
}
|
|
374
|
+
get brightness() {
|
|
375
|
+
return this._brightness;
|
|
376
|
+
}
|
|
377
|
+
get isDark() {
|
|
378
|
+
return this._isDark;
|
|
379
|
+
}
|
|
380
|
+
get isLight() {
|
|
381
|
+
return this._isLight;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
function getBrightness(color) {
|
|
385
|
+
const { r, g, b } = color;
|
|
386
|
+
return (r * 299 + g * 587 + b * 114) / 1e3;
|
|
387
|
+
}
|
|
388
|
+
function hexNumberToRgb(color) {
|
|
389
|
+
const r = (color >> 16 & 255) / 255;
|
|
390
|
+
const g = (color >> 8 & 255) / 255;
|
|
391
|
+
const b = (color & 255) / 255;
|
|
392
|
+
return {
|
|
393
|
+
r,
|
|
394
|
+
g,
|
|
395
|
+
b
|
|
396
|
+
};
|
|
397
|
+
}
|
|
398
|
+
function rgbToHex(color) {
|
|
399
|
+
const { r, g, b } = color;
|
|
400
|
+
const hex = [
|
|
401
|
+
"#",
|
|
402
|
+
pad2(Math.round(r * 255).toString(16)),
|
|
403
|
+
pad2(Math.round(g * 255).toString(16)),
|
|
404
|
+
pad2(Math.round(b * 255).toString(16))
|
|
405
|
+
];
|
|
406
|
+
return hex.join("").toUpperCase();
|
|
407
|
+
}
|
|
408
|
+
const numberToHexString = (color) => "#" + ("00000" + (color | 0).toString(16)).substr(-6).toUpperCase();
|
|
409
|
+
const hexStringToNumber = (color) => parseInt(color.replace("#", ""), 16);
|
|
410
|
+
function hsvToRgb(color) {
|
|
411
|
+
let { h } = color;
|
|
412
|
+
const { s, v } = color;
|
|
413
|
+
h *= 6;
|
|
414
|
+
const i = Math.floor(h);
|
|
415
|
+
const f = h - i;
|
|
416
|
+
const p = v * (1 - s);
|
|
417
|
+
const q = v * (1 - f * s);
|
|
418
|
+
const t = v * (1 - (1 - f) * s);
|
|
419
|
+
const mod = i % 6;
|
|
420
|
+
const r = [
|
|
421
|
+
v,
|
|
422
|
+
q,
|
|
423
|
+
p,
|
|
424
|
+
p,
|
|
425
|
+
t,
|
|
426
|
+
v
|
|
427
|
+
][mod];
|
|
428
|
+
const g = [
|
|
429
|
+
t,
|
|
430
|
+
v,
|
|
431
|
+
v,
|
|
432
|
+
q,
|
|
433
|
+
p,
|
|
434
|
+
p
|
|
435
|
+
][mod];
|
|
436
|
+
const b = [
|
|
437
|
+
p,
|
|
438
|
+
p,
|
|
439
|
+
t,
|
|
440
|
+
v,
|
|
441
|
+
v,
|
|
442
|
+
q
|
|
443
|
+
][mod];
|
|
444
|
+
return {
|
|
445
|
+
r,
|
|
446
|
+
g,
|
|
447
|
+
b
|
|
448
|
+
};
|
|
449
|
+
}
|
|
450
|
+
function rgbToHsv(color) {
|
|
451
|
+
const { r, g, b } = color;
|
|
452
|
+
const max = Math.max(r, g, b);
|
|
453
|
+
const min = Math.min(r, g, b);
|
|
454
|
+
const d = max - min;
|
|
455
|
+
const s = max === 0 ? 0 : d / max;
|
|
456
|
+
const v = max;
|
|
457
|
+
let h = 0;
|
|
458
|
+
if (max != min) {
|
|
459
|
+
switch (max) {
|
|
460
|
+
case r:
|
|
461
|
+
h = (g - b) / d + (g < b ? 6 : 0);
|
|
462
|
+
break;
|
|
463
|
+
case g:
|
|
464
|
+
h = (b - r) / d + 2;
|
|
465
|
+
break;
|
|
466
|
+
case b:
|
|
467
|
+
h = (r - g) / d + 4;
|
|
468
|
+
break;
|
|
469
|
+
}
|
|
470
|
+
h /= 6;
|
|
471
|
+
}
|
|
472
|
+
return {
|
|
473
|
+
h,
|
|
474
|
+
s,
|
|
475
|
+
v
|
|
476
|
+
};
|
|
477
|
+
}
|
|
478
|
+
class ColorPicker {
|
|
479
|
+
constructor(options = {}) {
|
|
480
|
+
this._widthUnits = "px";
|
|
481
|
+
this._heightUnits = "px";
|
|
482
|
+
this._huePosition = 0;
|
|
483
|
+
this._hueHeight = 0;
|
|
484
|
+
this._maxHue = 0;
|
|
485
|
+
this._inputIsNumber = false;
|
|
486
|
+
this._saturationWidth = 0;
|
|
487
|
+
this._isChoosing = false;
|
|
488
|
+
this._callbacks = [];
|
|
489
|
+
this.width = 0;
|
|
490
|
+
this.height = 0;
|
|
491
|
+
this.hue = 0;
|
|
492
|
+
this.position = {
|
|
493
|
+
x: 0,
|
|
494
|
+
y: 0
|
|
495
|
+
};
|
|
496
|
+
this.color = new Color(0);
|
|
497
|
+
this.backgroundColor = new Color(0);
|
|
498
|
+
this.hueColor = new Color(0);
|
|
499
|
+
this._onSaturationMouseDown = (e) => {
|
|
500
|
+
const sbOffset = this.$saturation.getBoundingClientRect();
|
|
501
|
+
const { x, y } = getMousePosition(e);
|
|
502
|
+
this._isChoosing = true;
|
|
503
|
+
this._moveSelectorTo(x - sbOffset.left, y - sbOffset.top);
|
|
504
|
+
this._updateColorFromPosition();
|
|
505
|
+
this._window.addEventListener("mouseup", this._onSaturationMouseUp);
|
|
506
|
+
this._window.addEventListener("touchend", this._onSaturationMouseUp);
|
|
507
|
+
this._window.addEventListener("mousemove", this._onSaturationMouseMove);
|
|
508
|
+
this._window.addEventListener("touchmove", this._onSaturationMouseMove);
|
|
509
|
+
e.preventDefault();
|
|
510
|
+
};
|
|
511
|
+
this._onSaturationMouseMove = (e) => {
|
|
512
|
+
const sbOffset = this.$saturation.getBoundingClientRect();
|
|
513
|
+
const { x, y } = getMousePosition(e);
|
|
514
|
+
this._moveSelectorTo(x - sbOffset.left, y - sbOffset.top);
|
|
515
|
+
this._updateColorFromPosition();
|
|
516
|
+
};
|
|
517
|
+
this._onSaturationMouseUp = () => {
|
|
518
|
+
this._isChoosing = false;
|
|
519
|
+
this._window.removeEventListener("mouseup", this._onSaturationMouseUp);
|
|
520
|
+
this._window.removeEventListener("touchend", this._onSaturationMouseUp);
|
|
521
|
+
this._window.removeEventListener("mousemove", this._onSaturationMouseMove);
|
|
522
|
+
this._window.removeEventListener("touchmove", this._onSaturationMouseMove);
|
|
523
|
+
};
|
|
524
|
+
this._onHueMouseDown = (e) => {
|
|
525
|
+
const hOffset = this.$hue.getBoundingClientRect();
|
|
526
|
+
const { y } = getMousePosition(e);
|
|
527
|
+
this._isChoosing = true;
|
|
528
|
+
this._moveHueTo(y - hOffset.top);
|
|
529
|
+
this._updateHueFromPosition();
|
|
530
|
+
this._window.addEventListener("mouseup", this._onHueMouseUp);
|
|
531
|
+
this._window.addEventListener("touchend", this._onHueMouseUp);
|
|
532
|
+
this._window.addEventListener("mousemove", this._onHueMouseMove);
|
|
533
|
+
this._window.addEventListener("touchmove", this._onHueMouseMove);
|
|
534
|
+
e.preventDefault();
|
|
535
|
+
};
|
|
536
|
+
this._onHueMouseMove = (e) => {
|
|
537
|
+
const hOffset = this.$hue.getBoundingClientRect();
|
|
538
|
+
const { y } = getMousePosition(e);
|
|
539
|
+
this._moveHueTo(y - hOffset.top);
|
|
540
|
+
this._updateHueFromPosition();
|
|
541
|
+
};
|
|
542
|
+
this._onHueMouseUp = () => {
|
|
543
|
+
this._isChoosing = false;
|
|
544
|
+
this._window.removeEventListener("mouseup", this._onHueMouseUp);
|
|
545
|
+
this._window.removeEventListener("touchend", this._onHueMouseUp);
|
|
546
|
+
this._window.removeEventListener("mousemove", this._onHueMouseMove);
|
|
547
|
+
this._window.removeEventListener("touchmove", this._onHueMouseMove);
|
|
548
|
+
};
|
|
549
|
+
this._window = options.window || window;
|
|
550
|
+
this._document = this._window.document;
|
|
551
|
+
this.$el = this._document.createElement("div");
|
|
552
|
+
this.$el.className = "color-picker";
|
|
553
|
+
this.$el.innerHTML = `
|
|
554
|
+
<div class="color-picker-saturation">
|
|
555
|
+
<div class="color-picker-brightness"></div>
|
|
556
|
+
<div class="color-picker-sbSelector"></div>
|
|
557
|
+
</div>
|
|
558
|
+
<div class="color-picker-hue">
|
|
559
|
+
<div class="color-picker-hSelector"></div>
|
|
560
|
+
</div>
|
|
561
|
+
`;
|
|
562
|
+
this.$saturation = this.$el.querySelector(".color-picker-saturation");
|
|
563
|
+
this.$hue = this.$el.querySelector(".color-picker-hue");
|
|
564
|
+
this.$sbSelector = this.$el.querySelector(".color-picker-sbSelector");
|
|
565
|
+
this.$hSelector = this.$el.querySelector(".color-picker-hSelector");
|
|
566
|
+
this.$saturation.addEventListener("mousedown", this._onSaturationMouseDown);
|
|
567
|
+
this.$saturation.addEventListener("touchstart", this._onSaturationMouseDown);
|
|
568
|
+
this.$hue.addEventListener("mousedown", this._onHueMouseDown);
|
|
569
|
+
this.$hue.addEventListener("touchstart", this._onHueMouseDown);
|
|
570
|
+
if (options.el)
|
|
571
|
+
this.appendTo(options.el);
|
|
572
|
+
if (options.background)
|
|
573
|
+
this.setBackgroundColor(options.background);
|
|
574
|
+
if (options.widthUnits)
|
|
575
|
+
this._widthUnits = options.widthUnits;
|
|
576
|
+
if (options.heightUnits)
|
|
577
|
+
this._heightUnits = options.heightUnits;
|
|
578
|
+
if (options.colors) {
|
|
579
|
+
this.$colors = this._document.createElement("div");
|
|
580
|
+
this.$colors.className = "color-picker-colors";
|
|
581
|
+
this.$el.appendChild(this.$colors);
|
|
582
|
+
this.$colors.innerHTML = options.colors.map((color) => `<div class="color-picker-color" style="background: ${color}"></div>`).join("");
|
|
583
|
+
}
|
|
584
|
+
this.setSize(options.width || 175, options.height || 150);
|
|
585
|
+
this.setColor(options.color);
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
* Add the ColorPicker instance to a DOM element.
|
|
589
|
+
* @param {HTMLElement} el
|
|
590
|
+
* @return {ColorPicker} Returns itself for chaining purpose
|
|
591
|
+
*/
|
|
592
|
+
appendTo(el) {
|
|
593
|
+
if (typeof el === "string")
|
|
594
|
+
document.querySelector(el).appendChild(this.$el);
|
|
595
|
+
else
|
|
596
|
+
el.appendChild(this.$el);
|
|
597
|
+
return this;
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* Removes picker from its parent and kill all listeners.
|
|
601
|
+
* Call this method for proper destroy.
|
|
602
|
+
*/
|
|
603
|
+
remove() {
|
|
604
|
+
this._callbacks = [];
|
|
605
|
+
this._onSaturationMouseUp();
|
|
606
|
+
this._onHueMouseUp();
|
|
607
|
+
this.$saturation.removeEventListener("mousedown", this._onSaturationMouseDown);
|
|
608
|
+
this.$saturation.removeEventListener("touchstart", this._onSaturationMouseDown);
|
|
609
|
+
this.$hue.removeEventListener("mousedown", this._onHueMouseDown);
|
|
610
|
+
this.$hue.removeEventListener("touchstart", this._onHueMouseDown);
|
|
611
|
+
if (this.$el.parentNode)
|
|
612
|
+
this.$el.parentNode.removeChild(this.$el);
|
|
613
|
+
}
|
|
614
|
+
/**
|
|
615
|
+
* Manually set the current color of the picker. This is the method
|
|
616
|
+
* used on instantiation to convert `color` option to actual color for
|
|
617
|
+
* the picker. Param can be a hexadecimal number or an hex String.
|
|
618
|
+
* @param {String|Number} color hex color desired
|
|
619
|
+
* @return {ColorPicker} Returns itself for chaining purpose
|
|
620
|
+
*/
|
|
621
|
+
setColor(color) {
|
|
622
|
+
this._inputIsNumber = !isNaN(Number(color));
|
|
623
|
+
this.color.fromHex(color);
|
|
624
|
+
const { h, s, v } = this.color.hsv;
|
|
625
|
+
if (!isNaN(h))
|
|
626
|
+
this.hue = h;
|
|
627
|
+
this._moveSelectorTo(this._saturationWidth * s, (1 - v) * this._hueHeight);
|
|
628
|
+
this._moveHueTo((1 - this.hue) * this._hueHeight);
|
|
629
|
+
this._updateHue();
|
|
630
|
+
return this;
|
|
631
|
+
}
|
|
632
|
+
/**
|
|
633
|
+
* Set size of the color picker for a given width and height. Note that
|
|
634
|
+
* a padding of 5px will be added if you chose to use the background option
|
|
635
|
+
* of the constructor.
|
|
636
|
+
* @param {Number} width
|
|
637
|
+
* @param {Number} height
|
|
638
|
+
* @return {ColorPicker} Returns itself for chaining purpose
|
|
639
|
+
*/
|
|
640
|
+
setSize(width, height) {
|
|
641
|
+
this.width = width;
|
|
642
|
+
this.height = height;
|
|
643
|
+
this.$el.style.width = this.width + this._widthUnits;
|
|
644
|
+
this.$el.style.height = this.height + this._heightUnits;
|
|
645
|
+
this._saturationWidth = this.width - 25;
|
|
646
|
+
this.$saturation.style.width = this._saturationWidth + "px";
|
|
647
|
+
this._hueHeight = this.height;
|
|
648
|
+
this._maxHue = this._hueHeight - 2;
|
|
649
|
+
return this;
|
|
650
|
+
}
|
|
651
|
+
/**
|
|
652
|
+
* Set the background color of the picker. It also adds a 5px padding
|
|
653
|
+
* for design purpose.
|
|
654
|
+
* @param {String|Number} color hex color desired for background
|
|
655
|
+
* @return {ColorPicker} Returns itself for chaining purpose
|
|
656
|
+
*/
|
|
657
|
+
setBackgroundColor(color) {
|
|
658
|
+
this.backgroundColor.fromHex(color);
|
|
659
|
+
this.$el.style.padding = "5px";
|
|
660
|
+
this.$el.style.background = this.backgroundColor.hexString;
|
|
661
|
+
return this;
|
|
662
|
+
}
|
|
663
|
+
/**
|
|
664
|
+
* Removes background of the picker if previously set. It's no use
|
|
665
|
+
* calling this method if you didn't set the background option on start
|
|
666
|
+
* or if you didn't call setBackgroundColor previously.
|
|
667
|
+
*/
|
|
668
|
+
setNoBackground() {
|
|
669
|
+
this.$el.style.padding = "0px";
|
|
670
|
+
this.$el.style.background = "none";
|
|
671
|
+
return this;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* Registers callback to the update event of the picker.
|
|
675
|
+
* picker inherits from [component/emitter](https://github.com/component/emitter)
|
|
676
|
+
* so you could do the same thing by calling `colorPicker.on('update');`
|
|
677
|
+
* @param {Function} callback
|
|
678
|
+
* @return {ColorPicker} Returns itself for chaining purpose
|
|
679
|
+
*/
|
|
680
|
+
onChange(callback) {
|
|
681
|
+
if (this._callbacks.indexOf(callback) < 0) {
|
|
682
|
+
this._callbacks.push(callback);
|
|
683
|
+
callback(this.getHexString());
|
|
684
|
+
}
|
|
685
|
+
return this;
|
|
686
|
+
}
|
|
687
|
+
/**
|
|
688
|
+
* Is true when mouse is down and user is currently choosing a color.
|
|
689
|
+
*/
|
|
690
|
+
get isChoosing() {
|
|
691
|
+
return this._isChoosing;
|
|
692
|
+
}
|
|
693
|
+
/* =============================================================================
|
|
694
|
+
Color getters
|
|
695
|
+
============================================================================= */
|
|
696
|
+
/**
|
|
697
|
+
* Main color getter, will return a formatted color string depending on input
|
|
698
|
+
* or a number depending on the last setColor call.
|
|
699
|
+
* @return {Number|String}
|
|
700
|
+
*/
|
|
701
|
+
getColor() {
|
|
702
|
+
if (this._inputIsNumber)
|
|
703
|
+
return this.getHexNumber();
|
|
704
|
+
return this.getHexString();
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* Returns color as css hex string (ex: '#FF0000').
|
|
708
|
+
* @return {String}
|
|
709
|
+
*/
|
|
710
|
+
getHexString() {
|
|
711
|
+
return this.color.hexString.toUpperCase();
|
|
712
|
+
}
|
|
713
|
+
/**
|
|
714
|
+
* Returns color as number (ex: 0xFF0000).
|
|
715
|
+
* @return {Number}
|
|
716
|
+
*/
|
|
717
|
+
getHexNumber() {
|
|
718
|
+
return this.color.hex;
|
|
719
|
+
}
|
|
720
|
+
/**
|
|
721
|
+
* Returns color as {r: 1, g: 0, b: 0} object.
|
|
722
|
+
* @return {Object}
|
|
723
|
+
*/
|
|
724
|
+
getRGB() {
|
|
725
|
+
return this.color.rgb;
|
|
726
|
+
}
|
|
727
|
+
/**
|
|
728
|
+
* Returns color as {h: 100, s: 1, v: 1} object.
|
|
729
|
+
* @return {Object}
|
|
730
|
+
*/
|
|
731
|
+
getHSV() {
|
|
732
|
+
return this.color.hsv;
|
|
733
|
+
}
|
|
734
|
+
/**
|
|
735
|
+
* Returns true if color is perceived as dark
|
|
736
|
+
* @return {Boolean}
|
|
737
|
+
*/
|
|
738
|
+
isDark() {
|
|
739
|
+
return this.color.isDark;
|
|
740
|
+
}
|
|
741
|
+
/**
|
|
742
|
+
* Returns true if color is perceived as light
|
|
743
|
+
* @return {Boolean}
|
|
744
|
+
*/
|
|
745
|
+
isLight() {
|
|
746
|
+
return this.color.isLight;
|
|
747
|
+
}
|
|
748
|
+
/* =============================================================================
|
|
749
|
+
Private methods
|
|
750
|
+
============================================================================= */
|
|
751
|
+
_moveSelectorTo(x, y) {
|
|
752
|
+
this.position.x = clamp(x, 0, this._saturationWidth);
|
|
753
|
+
this.position.y = clamp(y, 0, this._hueHeight);
|
|
754
|
+
this.$sbSelector.style.transform = `translate(${this.position.x}px, ${this.position.y}px)`;
|
|
755
|
+
}
|
|
756
|
+
_updateColorFromPosition() {
|
|
757
|
+
this.color.fromHsv({
|
|
758
|
+
h: this.hue,
|
|
759
|
+
s: this.position.x / this._saturationWidth,
|
|
760
|
+
v: 1 - this.position.y / this._hueHeight
|
|
761
|
+
});
|
|
762
|
+
this._updateColor();
|
|
763
|
+
}
|
|
764
|
+
_moveHueTo(y) {
|
|
765
|
+
this._huePosition = clamp(y, 0, this._maxHue);
|
|
766
|
+
this.$hSelector.style.transform = `translateY(${this._huePosition}px)`;
|
|
767
|
+
}
|
|
768
|
+
_updateHueFromPosition() {
|
|
769
|
+
const hsvColor = this.getHSV();
|
|
770
|
+
this.hue = 1 - this._huePosition / this._maxHue;
|
|
771
|
+
this.color.fromHsv({
|
|
772
|
+
h: this.hue,
|
|
773
|
+
s: hsvColor.s,
|
|
774
|
+
v: hsvColor.v
|
|
775
|
+
});
|
|
776
|
+
this._updateHue();
|
|
777
|
+
}
|
|
778
|
+
_updateHue() {
|
|
779
|
+
this.hueColor.fromHsv({
|
|
780
|
+
h: this.hue,
|
|
781
|
+
s: 1,
|
|
782
|
+
v: 1
|
|
783
|
+
});
|
|
784
|
+
this.$hSelector.style.background = this.hueColor.hexString;
|
|
785
|
+
this.$saturation.style.background = `linear-gradient(to right, #fff, ${this.hueColor.hexString})`;
|
|
786
|
+
this._updateColor();
|
|
787
|
+
}
|
|
788
|
+
_updateColor() {
|
|
789
|
+
this.$sbSelector.style.background = this.getHexString();
|
|
790
|
+
this.$sbSelector.style.borderColor = this.isDark() ? "#fff" : "#000";
|
|
791
|
+
this._triggerChange();
|
|
792
|
+
}
|
|
793
|
+
_triggerChange() {
|
|
794
|
+
this._callbacks.forEach((callback) => callback(this.getHexString()));
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
const ColorInput = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
798
|
+
const props1 = qwik._restProps(props, [
|
|
799
|
+
"onInput$",
|
|
800
|
+
"value",
|
|
801
|
+
"presetColors",
|
|
802
|
+
"preview"
|
|
803
|
+
]);
|
|
804
|
+
qwik.useStylesQrl(/* @__PURE__ */ qwik.inlinedQrl(`
|
|
805
|
+
.color-picker {
|
|
806
|
+
display: flex;
|
|
807
|
+
gap: 12px;
|
|
808
|
+
height: 185px !important;
|
|
809
|
+
width: 100% !important;
|
|
810
|
+
padding: 15px;
|
|
811
|
+
border-radius: 10px;
|
|
812
|
+
border: 1px solid rgb(31 41 55);
|
|
813
|
+
filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
|
|
814
|
+
background: rgba(31 41 55 / 40%);
|
|
815
|
+
backdrop-filter: blur(10px);
|
|
816
|
+
user-select: none;
|
|
817
|
+
position: relative;
|
|
818
|
+
z-index: 1000;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
.color-picker-saturation {
|
|
822
|
+
position: relative;
|
|
823
|
+
height: 100%;
|
|
824
|
+
width: 100%;
|
|
825
|
+
background: linear-gradient(to right, #FFFFFF, #FF0000);
|
|
826
|
+
float: left;
|
|
827
|
+
border-radius: 5px;
|
|
828
|
+
border: 1px solid rgb(31 41 55);
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
.color-picker-brightness {
|
|
832
|
+
width: 100%;
|
|
833
|
+
height: 100%;
|
|
834
|
+
background: linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 1));
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
.color-picker-sbSelector {
|
|
838
|
+
border: 1px solid white;
|
|
839
|
+
position: absolute;
|
|
840
|
+
width: 14px;
|
|
841
|
+
height: 14px;
|
|
842
|
+
background: white;
|
|
843
|
+
border-radius: 10px;
|
|
844
|
+
top: -7px;
|
|
845
|
+
left: -7px;
|
|
846
|
+
box-sizing: border-box;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
.color-picker-hue {
|
|
850
|
+
width: 8px;
|
|
851
|
+
border-radius: 5px;
|
|
852
|
+
height: 100%;
|
|
853
|
+
position: relative;
|
|
854
|
+
float: left;
|
|
855
|
+
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%);
|
|
856
|
+
border: 1px solid rgb(31 41 55);
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
.color-picker-colors {
|
|
860
|
+
height: 100%;
|
|
861
|
+
position: relative;
|
|
862
|
+
display: flex;
|
|
863
|
+
flex-direction: column;
|
|
864
|
+
gap: 5px;
|
|
865
|
+
float: left;
|
|
866
|
+
justify-content: space-evenly;
|
|
867
|
+
flex-wrap: wrap;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
.color-picker-color {
|
|
871
|
+
height: 25px;
|
|
872
|
+
width: 25px;
|
|
873
|
+
border-radius: 5px;
|
|
874
|
+
position: relative;
|
|
875
|
+
background: red;
|
|
876
|
+
border: 1px solid rgb(31 41 55);
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
.color-picker-hSelector {
|
|
880
|
+
border: 1px solid white;
|
|
881
|
+
position: absolute;
|
|
882
|
+
width: 14px;
|
|
883
|
+
height: 14px;
|
|
884
|
+
background: white;
|
|
885
|
+
border-radius: 10px;
|
|
886
|
+
top: -6px;
|
|
887
|
+
left: -4px;
|
|
888
|
+
box-sizing: border-box;
|
|
889
|
+
}
|
|
890
|
+
`, "ColorInput_component_useStyles_SMNFl4Oy0IA"));
|
|
891
|
+
return /* @__PURE__ */ qwik._jsxQ("div", null, null, [
|
|
892
|
+
/* @__PURE__ */ qwik._jsxQ("label", {
|
|
893
|
+
for: qwik._wrapSignal(props1, "id")
|
|
894
|
+
}, {
|
|
895
|
+
class: "mb-2 flex"
|
|
896
|
+
}, /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "0s_0"), 1, null),
|
|
897
|
+
/* @__PURE__ */ qwik._jsxC(TextInputRaw, {
|
|
898
|
+
...props1,
|
|
899
|
+
get value() {
|
|
900
|
+
return props.value ?? "#000000";
|
|
901
|
+
},
|
|
902
|
+
onBlur$: /* @__PURE__ */ qwik.inlinedQrl(() => {
|
|
903
|
+
const [props12] = qwik.useLexicalScope();
|
|
904
|
+
const pickerDiv = document.getElementById(`${props12.id}-color-picker`);
|
|
905
|
+
pickerDiv.classList.add("opacity-0", "pointer-events-none", "scale-95");
|
|
906
|
+
}, "ColorInput_component_div_TextInputRaw_onBlur_giB7aSy8tnc", [
|
|
907
|
+
props1
|
|
908
|
+
]),
|
|
909
|
+
onFocus$: /* @__PURE__ */ qwik.inlinedQrl((event, element) => {
|
|
910
|
+
const [props12, props2] = qwik.useLexicalScope();
|
|
911
|
+
const pickerDiv = document.getElementById(`${props12.id}-color-picker`);
|
|
912
|
+
if (!pickerDiv.children.length) {
|
|
913
|
+
if (build.isServer)
|
|
914
|
+
return;
|
|
915
|
+
const picker = new ColorPicker({
|
|
916
|
+
el: pickerDiv,
|
|
917
|
+
color: props2.value ?? "#000000",
|
|
918
|
+
colors: props2.presetColors,
|
|
919
|
+
width: 150,
|
|
920
|
+
height: 150
|
|
921
|
+
});
|
|
922
|
+
picker.onChange((color) => {
|
|
923
|
+
element.value = color;
|
|
924
|
+
switch (props2.preview ?? "left") {
|
|
925
|
+
case "full":
|
|
926
|
+
element.style.backgroundColor = color;
|
|
927
|
+
element.style.color = getBrightness(hexNumberToRgb(hexStringToNumber(color))) > 0.5 ? "black" : "white";
|
|
928
|
+
break;
|
|
929
|
+
case "left":
|
|
930
|
+
element.style.borderLeft = `40px solid ${color}`;
|
|
931
|
+
break;
|
|
932
|
+
case "right":
|
|
933
|
+
element.style.borderRight = `40px solid ${color}`;
|
|
934
|
+
break;
|
|
935
|
+
case "top":
|
|
936
|
+
element.style.borderTop = `10px solid ${color}`;
|
|
937
|
+
break;
|
|
938
|
+
case "bottom":
|
|
939
|
+
element.style.borderBottom = `10px solid ${color}`;
|
|
940
|
+
break;
|
|
941
|
+
}
|
|
942
|
+
if (props2.onInput$)
|
|
943
|
+
props2.onInput$(color, element);
|
|
944
|
+
});
|
|
945
|
+
element.addEventListener("input", () => picker.setColor(element.value));
|
|
946
|
+
}
|
|
947
|
+
pickerDiv.classList.remove("opacity-0", "pointer-events-none", "scale-95");
|
|
948
|
+
}, "ColorInput_component_div_TextInputRaw_onFocus_9bHrhSeTgfI", [
|
|
949
|
+
props1,
|
|
950
|
+
props
|
|
951
|
+
]),
|
|
952
|
+
style: (props.preview ?? "left") == "full" ? {
|
|
953
|
+
backgroundColor: `${props.value ?? "#000000"}`,
|
|
954
|
+
color: getBrightness(hexNumberToRgb(hexStringToNumber(props.value ?? "#000000"))) > 0.5 ? "black" : "white"
|
|
955
|
+
} : (props.preview ?? "left") == "left" ? {
|
|
956
|
+
borderLeft: `40px solid ${props.value ?? "#000000"}`
|
|
957
|
+
} : (props.preview ?? "left") == "right" ? {
|
|
958
|
+
borderRight: `40px solid ${props.value ?? "#000000"}`
|
|
959
|
+
} : (props.preview ?? "left") == "top" ? {
|
|
960
|
+
borderTop: `10px solid ${props.value ?? "#000000"}`
|
|
961
|
+
} : (props.preview ?? "left") == "bottom" ? {
|
|
962
|
+
borderBottom: `10px solid ${props.value ?? "#000000"}`
|
|
963
|
+
} : {},
|
|
964
|
+
[qwik._IMMUTABLE]: {
|
|
965
|
+
value: qwik._fnSignal((p0) => p0.value ?? "#000000", [
|
|
966
|
+
props
|
|
967
|
+
], 'p0.value??"#000000"')
|
|
968
|
+
}
|
|
969
|
+
}, 0, "0s_1"),
|
|
970
|
+
/* @__PURE__ */ qwik._jsxQ("div", {
|
|
971
|
+
id: `${props1.id}-color-picker`
|
|
972
|
+
}, {
|
|
973
|
+
class: "absolute mt-2 opacity-0 transition-all pointer-events-none scale-95"
|
|
974
|
+
}, null, 3, null)
|
|
975
|
+
], 1, "0s_2");
|
|
976
|
+
}, "ColorInput_component_jilGo0Bn3Ps"));
|
|
977
|
+
const LoadingIcon = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
978
|
+
const props1 = qwik._restProps(props, [
|
|
979
|
+
"width",
|
|
980
|
+
"speed"
|
|
981
|
+
]);
|
|
982
|
+
return /* @__PURE__ */ qwik._jsxS("div", {
|
|
983
|
+
...props1,
|
|
984
|
+
class: {
|
|
985
|
+
"animate-spin rounded-full border-transparent border-l-current border-t-current": true,
|
|
986
|
+
...props1.class
|
|
987
|
+
}
|
|
988
|
+
}, {
|
|
989
|
+
style: qwik._fnSignal((p0) => ({
|
|
990
|
+
borderWidth: p0.width / 8,
|
|
991
|
+
width: p0.width,
|
|
992
|
+
height: p0.width,
|
|
993
|
+
animation: `spin ${p0.speed ?? "0.6s"} ease-in-out infinite`
|
|
994
|
+
}), [
|
|
995
|
+
props
|
|
996
|
+
], '{borderWidth:p0.width/8,width:p0.width,height:p0.width,animation:`spin ${p0.speed??"0.6s"} ease-in-out infinite`}')
|
|
997
|
+
}, 0, "1A_0");
|
|
998
|
+
}, "LoadingIcon_component_QMsA9D0RcAM"));
|
|
999
|
+
const Header = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1000
|
+
qwik._jsxBranch();
|
|
1001
|
+
let Component = /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
|
|
1002
|
+
children: /* @__PURE__ */ qwik._jsxQ("h2", null, {
|
|
1003
|
+
class: "flex flex-1 items-center font-bold text-2xl"
|
|
1004
|
+
}, [
|
|
1005
|
+
props.id && /* @__PURE__ */ qwik._jsxC(Anchor, {
|
|
1006
|
+
get id() {
|
|
1007
|
+
return props.id;
|
|
1008
|
+
},
|
|
1009
|
+
[qwik._IMMUTABLE]: {
|
|
1010
|
+
id: qwik._fnSignal((p0) => p0.id, [
|
|
1011
|
+
props
|
|
1012
|
+
], "p0.id")
|
|
1013
|
+
}
|
|
1014
|
+
}, 3, "dL_0"),
|
|
1015
|
+
/* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "dL_1")
|
|
1016
|
+
], 1, null)
|
|
1017
|
+
}, 1, "dL_2");
|
|
1018
|
+
if (props.subheader)
|
|
1019
|
+
Component = /* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
1020
|
+
class: "flex flex-1 flex-col gap-1"
|
|
1021
|
+
}, [
|
|
1022
|
+
Component,
|
|
1023
|
+
/* @__PURE__ */ qwik._jsxQ("h3", null, {
|
|
1024
|
+
class: "flex flex-1 items-center text-gray-400 text-sm"
|
|
1025
|
+
}, qwik._fnSignal((p0) => p0.subheader, [
|
|
1026
|
+
props
|
|
1027
|
+
], "p0.subheader"), 3, null)
|
|
1028
|
+
], 1, "dL_3");
|
|
1029
|
+
if (props.loading !== void 0)
|
|
1030
|
+
Component = /* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
1031
|
+
class: "flex"
|
|
1032
|
+
}, [
|
|
1033
|
+
Component,
|
|
1034
|
+
/* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
1035
|
+
class: qwik._fnSignal((p0) => ({
|
|
1036
|
+
"transition-all duration-200": true,
|
|
1037
|
+
"opacity-0": !p0.loading,
|
|
1038
|
+
"opacity-100": p0.loading
|
|
1039
|
+
}), [
|
|
1040
|
+
props
|
|
1041
|
+
], '{"transition-all duration-200":true,"opacity-0":!p0.loading,"opacity-100":p0.loading}')
|
|
1042
|
+
}, /* @__PURE__ */ qwik._jsxC(LoadingIcon, {
|
|
1043
|
+
width: 24,
|
|
1044
|
+
[qwik._IMMUTABLE]: {
|
|
1045
|
+
width: qwik._IMMUTABLE
|
|
1046
|
+
}
|
|
1047
|
+
}, 3, "dL_4"), 1, null)
|
|
1048
|
+
], 1, "dL_5");
|
|
1049
|
+
return Component;
|
|
1050
|
+
}, "Header_component_FfGOhhBNG5k"));
|
|
1051
|
+
const Plus = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1052
|
+
return /* @__PURE__ */ qwik._jsxS("svg", {
|
|
1053
|
+
...props,
|
|
1054
|
+
children: /* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1055
|
+
d: "M256 112v288M400 256H112",
|
|
1056
|
+
fill: "none",
|
|
1057
|
+
stroke: "currentColor",
|
|
1058
|
+
"stroke-linecap": "round",
|
|
1059
|
+
"stroke-linejoin": "round",
|
|
1060
|
+
"stroke-width": "32"
|
|
1061
|
+
}, null, 3, null)
|
|
1062
|
+
}, {
|
|
1063
|
+
height: qwik._fnSignal((p0) => p0.width, [
|
|
1064
|
+
props
|
|
1065
|
+
], "p0.width"),
|
|
1066
|
+
viewBox: "0 0 512 512",
|
|
1067
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1068
|
+
}, 0, "qR_0");
|
|
1069
|
+
}, "Plus_component_a7LdBXNrC2w"));
|
|
1070
|
+
const Minus = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1071
|
+
return /* @__PURE__ */ qwik._jsxS("svg", {
|
|
1072
|
+
...props,
|
|
1073
|
+
children: /* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1074
|
+
d: "M400 256H112",
|
|
1075
|
+
fill: "none",
|
|
1076
|
+
stroke: "currentColor",
|
|
1077
|
+
"stroke-linecap": "round",
|
|
1078
|
+
"stroke-linejoin": "round",
|
|
1079
|
+
"stroke-width": "32"
|
|
1080
|
+
}, null, 3, null)
|
|
1081
|
+
}, {
|
|
1082
|
+
height: qwik._fnSignal((p0) => p0.width, [
|
|
1083
|
+
props
|
|
1084
|
+
], "p0.width"),
|
|
1085
|
+
viewBox: "0 0 512 512",
|
|
1086
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1087
|
+
}, 0, "0g_0");
|
|
1088
|
+
}, "Minus_component_oP9l58XNP1Q"));
|
|
1089
|
+
const NumberInput = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1090
|
+
return /* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
1091
|
+
class: "flex flex-col"
|
|
1092
|
+
}, [
|
|
1093
|
+
/* @__PURE__ */ qwik._jsxQ("label", null, {
|
|
1094
|
+
class: "pb-2",
|
|
1095
|
+
for: qwik._fnSignal((p0) => p0.id, [
|
|
1096
|
+
props
|
|
1097
|
+
], "p0.id")
|
|
1098
|
+
}, /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "gk_0"), 1, null),
|
|
1099
|
+
/* @__PURE__ */ qwik._jsxC(NumberInputRaw, {
|
|
1100
|
+
...props,
|
|
1101
|
+
children: void 0
|
|
1102
|
+
}, 0, "gk_1")
|
|
1103
|
+
], 1, "gk_2");
|
|
1104
|
+
}, "NumberInput_component_1NmuE0VG00M"));
|
|
1105
|
+
const NumberInputRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1106
|
+
const props1 = qwik._restProps(props, [
|
|
1107
|
+
"input",
|
|
1108
|
+
"onDecrement$",
|
|
1109
|
+
"onIncrement$",
|
|
1110
|
+
"value",
|
|
1111
|
+
"step"
|
|
1112
|
+
]);
|
|
1113
|
+
qwik.useStylesQrl(/* @__PURE__ */ qwik.inlinedQrl(`
|
|
1114
|
+
input::-webkit-outer-spin-button,
|
|
1115
|
+
input::-webkit-inner-spin-button {
|
|
1116
|
+
-webkit-appearance: none;
|
|
1117
|
+
margin: 0;
|
|
1118
|
+
}
|
|
1119
|
+
input[type=number] {
|
|
1120
|
+
-moz-appearance: textfield;
|
|
1121
|
+
}
|
|
1122
|
+
`, "NumberInputRaw_component_useStyles_v5EsWTMt0DU"));
|
|
1123
|
+
const store = qwik.useStore({
|
|
1124
|
+
value: props.value ?? 0
|
|
1125
|
+
});
|
|
1126
|
+
return /* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
1127
|
+
class: qwik._fnSignal((p0) => ({
|
|
1128
|
+
"flex text-gray-50": true,
|
|
1129
|
+
"gap-2": !p0.input
|
|
1130
|
+
}), [
|
|
1131
|
+
props
|
|
1132
|
+
], '{"flex text-gray-50":true,"gap-2":!p0.input}')
|
|
1133
|
+
}, [
|
|
1134
|
+
/* @__PURE__ */ qwik._jsxC(Button, {
|
|
1135
|
+
get color() {
|
|
1136
|
+
return props.input ? "gray" : "darkgray";
|
|
1137
|
+
},
|
|
1138
|
+
"aria-label": "Decrement",
|
|
1139
|
+
"data-action": "decrement",
|
|
1140
|
+
disabled: props1.min ? store.value <= props1.min : false,
|
|
1141
|
+
onClick$: /* @__PURE__ */ qwik.inlinedQrl((event, element) => {
|
|
1142
|
+
const [props2, store2] = qwik.useLexicalScope();
|
|
1143
|
+
store2.value = store2.value - (props2.step ?? 1);
|
|
1144
|
+
props2.onDecrement$(event, element, store2);
|
|
1145
|
+
}, "NumberInputRaw_component_div_Button_onClick_PgKg57gfX0I", [
|
|
1146
|
+
props,
|
|
1147
|
+
store
|
|
1148
|
+
]),
|
|
1149
|
+
get class() {
|
|
1150
|
+
return {
|
|
1151
|
+
"mr-2": props.input
|
|
1152
|
+
};
|
|
1153
|
+
},
|
|
1154
|
+
children: /* @__PURE__ */ qwik._jsxC(Minus, {
|
|
1155
|
+
class: "fill-current",
|
|
1156
|
+
width: "24",
|
|
1157
|
+
[qwik._IMMUTABLE]: {
|
|
1158
|
+
class: qwik._IMMUTABLE,
|
|
1159
|
+
width: qwik._IMMUTABLE
|
|
1160
|
+
}
|
|
1161
|
+
}, 3, "gk_3"),
|
|
1162
|
+
[qwik._IMMUTABLE]: {
|
|
1163
|
+
"aria-label": qwik._IMMUTABLE,
|
|
1164
|
+
class: qwik._fnSignal((p0) => ({
|
|
1165
|
+
"mr-2": p0.input
|
|
1166
|
+
}), [
|
|
1167
|
+
props
|
|
1168
|
+
], '{"mr-2":p0.input}'),
|
|
1169
|
+
color: qwik._fnSignal((p0) => p0.input ? "gray" : "darkgray", [
|
|
1170
|
+
props
|
|
1171
|
+
], 'p0.input?"gray":"darkgray"'),
|
|
1172
|
+
"data-action": qwik._IMMUTABLE,
|
|
1173
|
+
onClick$: qwik._IMMUTABLE
|
|
1174
|
+
}
|
|
1175
|
+
}, 1, "gk_4"),
|
|
1176
|
+
props.input && /* @__PURE__ */ qwik._jsxS("input", {
|
|
1177
|
+
...props1,
|
|
1178
|
+
class: {
|
|
1179
|
+
[InputClasses]: true,
|
|
1180
|
+
...props1.class
|
|
1181
|
+
}
|
|
1182
|
+
}, {
|
|
1183
|
+
step: qwik._fnSignal((p0) => p0.step ?? 1, [
|
|
1184
|
+
props
|
|
1185
|
+
], "p0.step??1"),
|
|
1186
|
+
type: "number",
|
|
1187
|
+
value: qwik._fnSignal((p0) => p0.value, [
|
|
1188
|
+
store
|
|
1189
|
+
], "p0.value")
|
|
1190
|
+
}, 0, "gk_5"),
|
|
1191
|
+
/* @__PURE__ */ qwik._jsxC(Button, {
|
|
1192
|
+
get color() {
|
|
1193
|
+
return props.input ? "gray" : "darkgray";
|
|
1194
|
+
},
|
|
1195
|
+
"aria-label": "Increment",
|
|
1196
|
+
"data-action": "increment",
|
|
1197
|
+
disabled: props1.max ? store.value >= props1.max : false,
|
|
1198
|
+
onClick$: /* @__PURE__ */ qwik.inlinedQrl((event, element) => {
|
|
1199
|
+
const [props2, store2] = qwik.useLexicalScope();
|
|
1200
|
+
store2.value = store2.value + (props2.step ?? 1);
|
|
1201
|
+
props2.onIncrement$(event, element, store2);
|
|
1202
|
+
}, "NumberInputRaw_component_div_Button_onClick_1_UzVlUpg1uGs", [
|
|
1203
|
+
props,
|
|
1204
|
+
store
|
|
1205
|
+
]),
|
|
1206
|
+
get class() {
|
|
1207
|
+
return {
|
|
1208
|
+
"ml-2": props.input
|
|
1209
|
+
};
|
|
1210
|
+
},
|
|
1211
|
+
children: /* @__PURE__ */ qwik._jsxC(Plus, {
|
|
1212
|
+
class: "fill-current",
|
|
1213
|
+
width: "24",
|
|
1214
|
+
[qwik._IMMUTABLE]: {
|
|
1215
|
+
class: qwik._IMMUTABLE,
|
|
1216
|
+
width: qwik._IMMUTABLE
|
|
1217
|
+
}
|
|
1218
|
+
}, 3, "gk_6"),
|
|
1219
|
+
[qwik._IMMUTABLE]: {
|
|
1220
|
+
"aria-label": qwik._IMMUTABLE,
|
|
1221
|
+
class: qwik._fnSignal((p0) => ({
|
|
1222
|
+
"ml-2": p0.input
|
|
1223
|
+
}), [
|
|
1224
|
+
props
|
|
1225
|
+
], '{"ml-2":p0.input}'),
|
|
1226
|
+
color: qwik._fnSignal((p0) => p0.input ? "gray" : "darkgray", [
|
|
1227
|
+
props
|
|
1228
|
+
], 'p0.input?"gray":"darkgray"'),
|
|
1229
|
+
"data-action": qwik._IMMUTABLE,
|
|
1230
|
+
onClick$: qwik._IMMUTABLE
|
|
1231
|
+
}
|
|
1232
|
+
}, 1, "gk_7")
|
|
1233
|
+
], 1, "gk_8");
|
|
1234
|
+
}, "NumberInputRaw_component_8sGf0eS1rvo"));
|
|
1235
|
+
const ChevronDown = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1236
|
+
return /* @__PURE__ */ qwik._jsxS("svg", {
|
|
1237
|
+
...props,
|
|
1238
|
+
children: /* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1239
|
+
d: "M112 184l144 144 144-144",
|
|
1240
|
+
fill: "none",
|
|
1241
|
+
stroke: "currentColor",
|
|
1242
|
+
"stroke-linecap": "round",
|
|
1243
|
+
"stroke-linejoin": "round",
|
|
1244
|
+
"stroke-width": "48"
|
|
1245
|
+
}, null, 3, null)
|
|
1246
|
+
}, {
|
|
1247
|
+
height: qwik._fnSignal((p0) => p0.width, [
|
|
1248
|
+
props
|
|
1249
|
+
], "p0.width"),
|
|
1250
|
+
viewBox: "0 0 512 512",
|
|
1251
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1252
|
+
}, 0, "rN_0");
|
|
1253
|
+
}, "ChevronDown_component_V0linof0cMQ"));
|
|
1254
|
+
const SelectInput = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1255
|
+
return /* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
1256
|
+
class: "flex flex-col"
|
|
1257
|
+
}, [
|
|
1258
|
+
/* @__PURE__ */ qwik._jsxQ("label", null, {
|
|
1259
|
+
class: "pb-2",
|
|
1260
|
+
for: qwik._fnSignal((p0) => p0.id, [
|
|
1261
|
+
props
|
|
1262
|
+
], "p0.id")
|
|
1263
|
+
}, /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "cA_0"), 1, null),
|
|
1264
|
+
/* @__PURE__ */ qwik._jsxC(SelectInputRaw, {
|
|
1265
|
+
...props
|
|
1266
|
+
}, 0, "cA_1")
|
|
1267
|
+
], 1, "cA_2");
|
|
1268
|
+
}, "SelectInput_component_m80ag1KuJSk"));
|
|
1269
|
+
const SelectInputRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1270
|
+
const props1 = qwik._restProps(props, [
|
|
1271
|
+
"id",
|
|
1272
|
+
"values",
|
|
1273
|
+
"class"
|
|
1274
|
+
]);
|
|
1275
|
+
const store = qwik.useStore({
|
|
1276
|
+
opened: false
|
|
1277
|
+
});
|
|
1278
|
+
qwik.useStylesQrl(/* @__PURE__ */ qwik.inlinedQrl(`
|
|
1279
|
+
.lui-scroll {
|
|
1280
|
+
scroll-behavior: smooth;
|
|
1281
|
+
}
|
|
1282
|
+
.lui-scroll::-webkit-scrollbar {
|
|
1283
|
+
appearance: none;
|
|
1284
|
+
-webkit-appearance: none;
|
|
1285
|
+
width: 8px;
|
|
1286
|
+
height: 8px;
|
|
1287
|
+
}
|
|
1288
|
+
.lui-scroll::-webkit-scrollbar-track {
|
|
1289
|
+
background-color: transparent;
|
|
1290
|
+
}
|
|
1291
|
+
.lui-scroll::-webkit-scrollbar-thumb {
|
|
1292
|
+
background-color: #ffffff20;
|
|
1293
|
+
border: 1px solid #ffffff20;
|
|
1294
|
+
border-radius: 3px;
|
|
1295
|
+
}
|
|
1296
|
+
.lui-scroll::-webkit-scrollbar-corner {
|
|
1297
|
+
background-color: transparent;
|
|
1298
|
+
}
|
|
1299
|
+
`, "SelectInputRaw_component_useStyles_Zc40Za0ngqc"));
|
|
1300
|
+
return /* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
1301
|
+
class: "relative"
|
|
1302
|
+
}, [
|
|
1303
|
+
/* @__PURE__ */ qwik._jsxS("select", {
|
|
1304
|
+
...props1,
|
|
1305
|
+
children: props.values.map((value, i) => {
|
|
1306
|
+
return /* @__PURE__ */ qwik._jsxQ("option", {
|
|
1307
|
+
value: qwik._wrapSignal(value, "value")
|
|
1308
|
+
}, null, value.name, 1, i);
|
|
1309
|
+
})
|
|
1310
|
+
}, {
|
|
1311
|
+
class: {
|
|
1312
|
+
"hidden": true
|
|
1313
|
+
},
|
|
1314
|
+
id: qwik._fnSignal((p0) => p0.id, [
|
|
1315
|
+
props
|
|
1316
|
+
], "p0.id")
|
|
1317
|
+
}, 0, null),
|
|
1318
|
+
/* @__PURE__ */ qwik._jsxC(Button, {
|
|
1319
|
+
get class() {
|
|
1320
|
+
return {
|
|
1321
|
+
"flex focus:bg-gray-700": true,
|
|
1322
|
+
...props.class
|
|
1323
|
+
};
|
|
1324
|
+
},
|
|
1325
|
+
children: [
|
|
1326
|
+
/* @__PURE__ */ qwik._jsxQ("span", null, {
|
|
1327
|
+
class: "flex-1 text-left",
|
|
1328
|
+
id: qwik._fnSignal((p0) => `lui-${p0.id}-name`, [
|
|
1329
|
+
props
|
|
1330
|
+
], "`lui-${p0.id}-name`")
|
|
1331
|
+
}, props.values.find((value) => value.value.toString() === props1.value)?.name ?? props.values[0].name, 1, null),
|
|
1332
|
+
/* @__PURE__ */ qwik._jsxC(ChevronDown, {
|
|
1333
|
+
width: 16,
|
|
1334
|
+
get class() {
|
|
1335
|
+
return {
|
|
1336
|
+
"transition-all duration-200": true,
|
|
1337
|
+
"transform rotate-180": store.opened
|
|
1338
|
+
};
|
|
1339
|
+
},
|
|
1340
|
+
[qwik._IMMUTABLE]: {
|
|
1341
|
+
class: qwik._fnSignal((p0) => ({
|
|
1342
|
+
"transition-all duration-200": true,
|
|
1343
|
+
"transform rotate-180": p0.opened
|
|
1344
|
+
}), [
|
|
1345
|
+
store
|
|
1346
|
+
], '{"transition-all duration-200":true,"transform rotate-180":p0.opened}'),
|
|
1347
|
+
width: qwik._IMMUTABLE
|
|
1348
|
+
}
|
|
1349
|
+
}, 3, "cA_3")
|
|
1350
|
+
],
|
|
1351
|
+
onClick$: /* @__PURE__ */ qwik.inlinedQrl(() => {
|
|
1352
|
+
const [store2] = qwik.useLexicalScope();
|
|
1353
|
+
store2.opened = !store2.opened;
|
|
1354
|
+
}, "SelectInputRaw_component_div_Button_onClick_9Gkbglaqsdw", [
|
|
1355
|
+
store
|
|
1356
|
+
]),
|
|
1357
|
+
[qwik._IMMUTABLE]: {
|
|
1358
|
+
class: qwik._fnSignal((p0) => ({
|
|
1359
|
+
"flex focus:bg-gray-700": true,
|
|
1360
|
+
...p0.class
|
|
1361
|
+
}), [
|
|
1362
|
+
props
|
|
1363
|
+
], '{"flex focus:bg-gray-700":true,...p0.class}'),
|
|
1364
|
+
onClick$: qwik._IMMUTABLE
|
|
1365
|
+
}
|
|
1366
|
+
}, 1, "cA_4"),
|
|
1367
|
+
/* @__PURE__ */ qwik._jsxQ("div", {
|
|
1368
|
+
class: {
|
|
1369
|
+
"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 lui-scroll overflow-auto select-none": true,
|
|
1370
|
+
"pointer-events-none opacity-0 scale-95": !store.opened
|
|
1371
|
+
}
|
|
1372
|
+
}, {
|
|
1373
|
+
id: qwik._fnSignal((p0) => `lui-${p0.id}-opts`, [
|
|
1374
|
+
props
|
|
1375
|
+
], "`lui-${p0.id}-opts`")
|
|
1376
|
+
}, props.values.map((value, i) => {
|
|
1377
|
+
return /* @__PURE__ */ qwik._jsxC(Button, {
|
|
1378
|
+
onClick$: /* @__PURE__ */ qwik.inlinedQrl(() => {
|
|
1379
|
+
const [props2, store2, value2] = qwik.useLexicalScope();
|
|
1380
|
+
store2.opened = false;
|
|
1381
|
+
const select = document.getElementById(props2.id);
|
|
1382
|
+
select.value = value2.value.toString();
|
|
1383
|
+
const name = document.getElementById(`lui-${props2.id}-name`);
|
|
1384
|
+
name.textContent = value2.name;
|
|
1385
|
+
select.dispatchEvent(new Event("change"));
|
|
1386
|
+
}, "SelectInputRaw_component_div_div_Button_onClick_mLa0FdeKCLw", [
|
|
1387
|
+
props,
|
|
1388
|
+
store,
|
|
1389
|
+
value
|
|
1390
|
+
]),
|
|
1391
|
+
get class() {
|
|
1392
|
+
return {
|
|
1393
|
+
"border-0 bg-transparent": true,
|
|
1394
|
+
"opacity-0": !store.opened
|
|
1395
|
+
};
|
|
1396
|
+
},
|
|
1397
|
+
children: qwik._wrapSignal(value, "name"),
|
|
1398
|
+
[qwik._IMMUTABLE]: {
|
|
1399
|
+
class: qwik._fnSignal((p0) => ({
|
|
1400
|
+
"border-0 bg-transparent": true,
|
|
1401
|
+
"opacity-0": !p0.opened
|
|
1402
|
+
}), [
|
|
1403
|
+
store
|
|
1404
|
+
], '{"border-0 bg-transparent":true,"opacity-0":!p0.opened}')
|
|
1405
|
+
}
|
|
1406
|
+
}, 1, i);
|
|
1407
|
+
}), 1, null)
|
|
1408
|
+
], 1, "cA_5");
|
|
1409
|
+
}, "SelectInputRaw_component_Itdx5yPeQd4"));
|
|
1410
|
+
const TextArea = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1411
|
+
return /* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
1412
|
+
class: "flex flex-col"
|
|
1413
|
+
}, [
|
|
1414
|
+
/* @__PURE__ */ qwik._jsxQ("label", null, {
|
|
1415
|
+
class: "pb-2",
|
|
1416
|
+
for: qwik._fnSignal((p0) => p0.id, [
|
|
1417
|
+
props
|
|
1418
|
+
], "p0.id")
|
|
1419
|
+
}, /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "UP_0"), 1, null),
|
|
1420
|
+
/* @__PURE__ */ qwik._jsxC(TextAreaRaw, {
|
|
1421
|
+
...props
|
|
1422
|
+
}, 0, "UP_1")
|
|
1423
|
+
], 1, "UP_2");
|
|
1424
|
+
}, "TextArea_component_rWDoQFL2c0g"));
|
|
1425
|
+
const TextAreaRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1426
|
+
const props1 = qwik._restProps(props, [
|
|
1427
|
+
"output"
|
|
1428
|
+
]);
|
|
1429
|
+
return /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
|
|
1430
|
+
children: /* @__PURE__ */ qwik._jsxS("textarea", {
|
|
1431
|
+
...props1,
|
|
1432
|
+
class: {
|
|
1433
|
+
[InputClasses]: true,
|
|
1434
|
+
"h-32": true,
|
|
1435
|
+
"cursor-pointer active:bg-gray-600": props.output,
|
|
1436
|
+
...props1.class
|
|
1437
|
+
},
|
|
1438
|
+
onClick$: props.output ? /* @__PURE__ */ qwik.inlinedQrl((event, element) => {
|
|
1439
|
+
navigator.clipboard.writeText(element.value);
|
|
1440
|
+
const notification = document.createElement("div");
|
|
1441
|
+
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";
|
|
1442
|
+
notification.innerText = "Copied to clipboard!";
|
|
1443
|
+
document.body.appendChild(notification);
|
|
1444
|
+
setTimeout(() => {
|
|
1445
|
+
notification.remove();
|
|
1446
|
+
}, 1e3);
|
|
1447
|
+
}, "TextAreaRaw_component__Fragment_textarea_onClick_YAQUkxxJ6Sg") : void 0
|
|
1448
|
+
}, {
|
|
1449
|
+
readOnly: qwik._fnSignal((p0) => p0.output, [
|
|
1450
|
+
props
|
|
1451
|
+
], "p0.output")
|
|
1452
|
+
}, 0, null)
|
|
1453
|
+
}, 1, "UP_3");
|
|
1454
|
+
}, "TextAreaRaw_component_PZiPScYxgNk"));
|
|
1455
|
+
const Toggle = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1456
|
+
const props1 = qwik._restProps(props, [
|
|
1457
|
+
"center",
|
|
1458
|
+
"label"
|
|
1459
|
+
]);
|
|
1460
|
+
return /* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
1461
|
+
class: qwik._fnSignal((p0) => ({
|
|
1462
|
+
"flex gap-3 items-center": true,
|
|
1463
|
+
"justify-center": p0.center
|
|
1464
|
+
}), [
|
|
1465
|
+
props
|
|
1466
|
+
], '{"flex gap-3 items-center":true,"justify-center":p0.center}')
|
|
1467
|
+
}, [
|
|
1468
|
+
/* @__PURE__ */ qwik._jsxQ("label", null, {
|
|
1469
|
+
class: "inline-flex relative items-center cursor-pointer"
|
|
1470
|
+
}, [
|
|
1471
|
+
/* @__PURE__ */ qwik._jsxS("input", {
|
|
1472
|
+
...props1,
|
|
1473
|
+
class: {
|
|
1474
|
+
"sr-only peer": true,
|
|
1475
|
+
...props1.class
|
|
1476
|
+
}
|
|
1477
|
+
}, {
|
|
1478
|
+
type: "checkbox"
|
|
1479
|
+
}, 0, null),
|
|
1480
|
+
/* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
1481
|
+
class: {
|
|
1482
|
+
"transition ease-in-out w-12 h-7 rounded-md peer border hover:shadow-lg": true,
|
|
1483
|
+
"bg-gray-800 border-gray-700 hover:bg-gray-700 active:bg-gray-600": true,
|
|
1484
|
+
"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,
|
|
1485
|
+
"after:bg-gray-700 after:border-gray-600 after:hover:bg-gray-600 after:active:bg-gray-500": true,
|
|
1486
|
+
"peer-checked:bg-blue-700 peer-checked:border-blue-600 peer-checked:hover:bg-blue-600 peer-checked:active:bg-blue-500": true,
|
|
1487
|
+
"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
|
|
1488
|
+
}
|
|
1489
|
+
}, null, 3, null)
|
|
1490
|
+
], 1, null),
|
|
1491
|
+
props.label && /* @__PURE__ */ qwik._jsxQ("label", {
|
|
1492
|
+
for: qwik._wrapSignal(props1, "id")
|
|
1493
|
+
}, {
|
|
1494
|
+
class: "text-gray-100"
|
|
1495
|
+
}, qwik._fnSignal((p0) => p0.label, [
|
|
1496
|
+
props
|
|
1497
|
+
], "p0.label"), 3, "yu_0")
|
|
1498
|
+
], 1, "yu_1");
|
|
1499
|
+
}, "Toggle_component_ujuOvR082hY"));
|
|
1500
|
+
const LogoBirdflop = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1501
|
+
const props1 = qwik._restProps(props, [
|
|
1502
|
+
"confused",
|
|
1503
|
+
"fillGradient"
|
|
1504
|
+
]);
|
|
1505
|
+
return /* @__PURE__ */ qwik._jsxS("svg", {
|
|
1506
|
+
...props1,
|
|
1507
|
+
children: [
|
|
1508
|
+
/* @__PURE__ */ qwik._jsxQ("defs", null, null, [
|
|
1509
|
+
props.fillGradient && /* @__PURE__ */ qwik._jsxQ("linearGradient", null, {
|
|
1510
|
+
gradientUnits: "objectBoundingBox",
|
|
1511
|
+
id: "linear-gradient",
|
|
1512
|
+
x1: "0.5",
|
|
1513
|
+
x2: "0.5",
|
|
1514
|
+
y2: "1"
|
|
1515
|
+
}, props.fillGradient.map((color, i) => /* @__PURE__ */ qwik._jsxQ("stop", {
|
|
1516
|
+
offset: i / (props.fillGradient.length - 1),
|
|
1517
|
+
"stop-color": color
|
|
1518
|
+
}, null, null, 3, i)), 1, "Ie_0"),
|
|
1519
|
+
/* @__PURE__ */ qwik._jsxQ("clipPath", null, {
|
|
1520
|
+
id: "clip-bf_3"
|
|
1521
|
+
}, /* @__PURE__ */ qwik._jsxQ("rect", null, {
|
|
1522
|
+
height: "1080",
|
|
1523
|
+
width: "1080"
|
|
1524
|
+
}, null, 3, null), 3, null)
|
|
1525
|
+
], 1, null),
|
|
1526
|
+
/* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1527
|
+
"clip-path": "url(#clip-bf_3)",
|
|
1528
|
+
"data-name": "bf - 3",
|
|
1529
|
+
fill: "currentColor",
|
|
1530
|
+
id: "bf_3"
|
|
1531
|
+
}, /* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1532
|
+
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",
|
|
1533
|
+
"data-name": "Union 26",
|
|
1534
|
+
fill: qwik._fnSignal((p0) => p0.fillGradient ? "url(#linear-gradient)" : "", [
|
|
1535
|
+
props
|
|
1536
|
+
], 'p0.fillGradient?"url(#linear-gradient)":""'),
|
|
1537
|
+
id: "Union_26",
|
|
1538
|
+
transform: "translate(2479.9 1169.7)"
|
|
1539
|
+
}, null, 3, null), 3, null),
|
|
1540
|
+
props.confused && /* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1541
|
+
fill: "#1E2837",
|
|
1542
|
+
stroke: "#1E2837",
|
|
1543
|
+
style: "transform: translate(595px, 460px) scale(0.375)"
|
|
1544
|
+
}, [
|
|
1545
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1546
|
+
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",
|
|
1547
|
+
fill: "none",
|
|
1548
|
+
"stroke-linecap": "round",
|
|
1549
|
+
"stroke-miterlimit": "10",
|
|
1550
|
+
"stroke-width": "80"
|
|
1551
|
+
}, null, 3, null),
|
|
1552
|
+
/* @__PURE__ */ qwik._jsxQ("circle", null, {
|
|
1553
|
+
cx: "248",
|
|
1554
|
+
cy: "399.99",
|
|
1555
|
+
r: "40",
|
|
1556
|
+
style: "transform: translate(0, 30px)"
|
|
1557
|
+
}, null, 3, null)
|
|
1558
|
+
], 3, "Ie_1")
|
|
1559
|
+
],
|
|
1560
|
+
height: qwik._wrapSignal(props1, "width")
|
|
1561
|
+
}, {
|
|
1562
|
+
viewBox: "0 0 1080 1080",
|
|
1563
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1564
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
1565
|
+
}, 0, "Ie_2");
|
|
1566
|
+
}, "LogoBirdflop_component_mKG3xZaEE5w"));
|
|
1567
|
+
const LogoDiscord = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1568
|
+
return /* @__PURE__ */ qwik._jsxS("svg", {
|
|
1569
|
+
...props,
|
|
1570
|
+
children: /* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1571
|
+
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"
|
|
1572
|
+
}, null, 3, null)
|
|
1573
|
+
}, {
|
|
1574
|
+
fill: "currentColor",
|
|
1575
|
+
height: qwik._fnSignal((p0) => p0.width, [
|
|
1576
|
+
props
|
|
1577
|
+
], "p0.width"),
|
|
1578
|
+
viewBox: "0 0 127.14 96.36",
|
|
1579
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1580
|
+
}, 0, "V4_0");
|
|
1581
|
+
}, "LogoDiscord_component_pyJvo9cIDdU"));
|
|
1582
|
+
const LogoFabric = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1583
|
+
return /* @__PURE__ */ qwik._jsxS("svg", {
|
|
1584
|
+
...props,
|
|
1585
|
+
children: [
|
|
1586
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1587
|
+
d: "M0 0h24v24H0z",
|
|
1588
|
+
fill: "none"
|
|
1589
|
+
}, null, 3, null),
|
|
1590
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1591
|
+
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",
|
|
1592
|
+
fill: "none",
|
|
1593
|
+
stroke: "currentColor",
|
|
1594
|
+
"stroke-width": "23",
|
|
1595
|
+
transform: "matrix(.08671 0 0 .0867 -49.8 -56)"
|
|
1596
|
+
}, null, 3, null)
|
|
1597
|
+
]
|
|
1598
|
+
}, {
|
|
1599
|
+
"clip-rule": "evenodd",
|
|
1600
|
+
"fill-rule": "evenodd",
|
|
1601
|
+
height: qwik._fnSignal((p0) => p0.width, [
|
|
1602
|
+
props
|
|
1603
|
+
], "p0.width"),
|
|
1604
|
+
"stroke-linecap": "round",
|
|
1605
|
+
"stroke-linejoin": "round",
|
|
1606
|
+
viewBox: "0 0 24 24",
|
|
1607
|
+
"xml:space": "preserve",
|
|
1608
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1609
|
+
}, 0, "W4_0");
|
|
1610
|
+
}, "LogoFabric_component_bOPyyyFEHuI"));
|
|
1611
|
+
const LogoForge = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1612
|
+
return /* @__PURE__ */ qwik._jsxS("svg", {
|
|
1613
|
+
...props,
|
|
1614
|
+
children: [
|
|
1615
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1616
|
+
d: "M0 0h24v24H0z",
|
|
1617
|
+
fill: "none"
|
|
1618
|
+
}, null, 3, null),
|
|
1619
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1620
|
+
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",
|
|
1621
|
+
fill: "none",
|
|
1622
|
+
stroke: "currentColor",
|
|
1623
|
+
"stroke-width": "2"
|
|
1624
|
+
}, null, 3, null)
|
|
1625
|
+
]
|
|
1626
|
+
}, {
|
|
1627
|
+
"clip-rule": "evenodd",
|
|
1628
|
+
"fill-rule": "evenodd",
|
|
1629
|
+
height: qwik._fnSignal((p0) => p0.width, [
|
|
1630
|
+
props
|
|
1631
|
+
], "p0.width"),
|
|
1632
|
+
"stroke-linecap": "round",
|
|
1633
|
+
"stroke-linejoin": "round",
|
|
1634
|
+
"stroke-miterlimit": "1.5",
|
|
1635
|
+
viewBox: "0 0 24 24",
|
|
1636
|
+
"xml:space": "preserve"
|
|
1637
|
+
}, 0, "6E_0");
|
|
1638
|
+
}, "LogoForge_component_mRpm0rEP3vY"));
|
|
1639
|
+
const LogoLuminescent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1640
|
+
return /* @__PURE__ */ qwik._jsxS("svg", {
|
|
1641
|
+
...props,
|
|
1642
|
+
children: /* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1643
|
+
"fill-opacity": "1"
|
|
1644
|
+
}, /* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1645
|
+
transform: "translate(86.97656, 254.624983)"
|
|
1646
|
+
}, /* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1647
|
+
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 "
|
|
1648
|
+
}, null, 3, null), 3, null), 3, null)
|
|
1649
|
+
}, {
|
|
1650
|
+
fill: "currentColor",
|
|
1651
|
+
height: qwik._fnSignal((p0) => p0.width, [
|
|
1652
|
+
props
|
|
1653
|
+
], "p0.width"),
|
|
1654
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
1655
|
+
version: "1.0",
|
|
1656
|
+
viewBox: "80 80 220 220",
|
|
1657
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1658
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
1659
|
+
zoomAndPan: "magnify"
|
|
1660
|
+
}, 0, "Jv_0");
|
|
1661
|
+
}, "LogoLuminescent_component_2ppcIednMJs"));
|
|
1662
|
+
const LogoLuminescentFull = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1663
|
+
return /* @__PURE__ */ qwik._jsxS("svg", {
|
|
1664
|
+
...props,
|
|
1665
|
+
children: [
|
|
1666
|
+
/* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1667
|
+
"fill-opacity": "1"
|
|
1668
|
+
}, /* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1669
|
+
transform: "translate(12.743357, 223.612604)"
|
|
1670
|
+
}, /* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1671
|
+
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 "
|
|
1672
|
+
}, null, 3, null), 3, null), 3, null),
|
|
1673
|
+
/* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1674
|
+
"fill-opacity": "1"
|
|
1675
|
+
}, /* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1676
|
+
transform: "translate(151.868279, 223.612604)"
|
|
1677
|
+
}, /* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1678
|
+
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 "
|
|
1679
|
+
}, null, 3, null), 3, null), 3, null),
|
|
1680
|
+
/* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1681
|
+
"fill-opacity": "1"
|
|
1682
|
+
}, /* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1683
|
+
transform: "translate(265.444396, 223.612604)"
|
|
1684
|
+
}, /* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1685
|
+
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 "
|
|
1686
|
+
}, null, 3, null), 3, null), 3, null),
|
|
1687
|
+
/* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1688
|
+
"fill-opacity": "1"
|
|
1689
|
+
}, /* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1690
|
+
transform: "translate(428.260051, 223.612604)"
|
|
1691
|
+
}, /* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1692
|
+
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 "
|
|
1693
|
+
}, null, 3, null), 3, null), 3, null),
|
|
1694
|
+
/* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1695
|
+
"fill-opacity": "1"
|
|
1696
|
+
}, /* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1697
|
+
transform: "translate(484.467457, 223.612604)"
|
|
1698
|
+
}, /* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1699
|
+
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 "
|
|
1700
|
+
}, null, 3, null), 3, null), 3, null),
|
|
1701
|
+
/* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1702
|
+
"fill-opacity": "1"
|
|
1703
|
+
}, /* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1704
|
+
transform: "translate(597.346777, 223.612604)"
|
|
1705
|
+
}, /* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1706
|
+
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 "
|
|
1707
|
+
}, null, 3, null), 3, null), 3, null),
|
|
1708
|
+
/* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1709
|
+
"fill-opacity": "1"
|
|
1710
|
+
}, /* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1711
|
+
transform: "translate(699.542059, 223.612604)"
|
|
1712
|
+
}, /* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1713
|
+
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 "
|
|
1714
|
+
}, null, 3, null), 3, null), 3, null),
|
|
1715
|
+
/* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1716
|
+
"fill-opacity": "1"
|
|
1717
|
+
}, /* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1718
|
+
transform: "translate(802.898632, 223.612604)"
|
|
1719
|
+
}, /* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1720
|
+
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 "
|
|
1721
|
+
}, null, 3, null), 3, null), 3, null),
|
|
1722
|
+
/* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1723
|
+
"fill-opacity": "1"
|
|
1724
|
+
}, /* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1725
|
+
transform: "translate(900.21642, 223.612604)"
|
|
1726
|
+
}, /* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1727
|
+
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 "
|
|
1728
|
+
}, null, 3, null), 3, null), 3, null),
|
|
1729
|
+
/* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1730
|
+
"fill-opacity": "1"
|
|
1731
|
+
}, /* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1732
|
+
transform: "translate(1002.411702, 223.612604)"
|
|
1733
|
+
}, /* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1734
|
+
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 "
|
|
1735
|
+
}, null, 3, null), 3, null), 3, null),
|
|
1736
|
+
/* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1737
|
+
"fill-opacity": "1"
|
|
1738
|
+
}, /* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1739
|
+
transform: "translate(1115.290992, 223.612604)"
|
|
1740
|
+
}, /* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1741
|
+
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 "
|
|
1742
|
+
}, null, 3, null), 3, null), 3, null)
|
|
1743
|
+
]
|
|
1744
|
+
}, {
|
|
1745
|
+
fill: "currentColor",
|
|
1746
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
1747
|
+
version: "1.0",
|
|
1748
|
+
viewBox: "30 60 1160 200",
|
|
1749
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1750
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
1751
|
+
zoomAndPan: "magnify"
|
|
1752
|
+
}, 0, "Jv_1");
|
|
1753
|
+
}, "LogoLuminescentFull_component_UNzyq3QUKpA"));
|
|
1754
|
+
const LogoPaper = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1755
|
+
return /* @__PURE__ */ qwik._jsxS("svg", {
|
|
1756
|
+
...props,
|
|
1757
|
+
children: [
|
|
1758
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1759
|
+
d: "M0 0h24v24H0z",
|
|
1760
|
+
fill: "none"
|
|
1761
|
+
}, null, 3, null),
|
|
1762
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1763
|
+
d: "m12 18 6 2 3-17L2 14l6 2",
|
|
1764
|
+
fill: "none",
|
|
1765
|
+
stroke: "currentColor",
|
|
1766
|
+
"stroke-width": "2"
|
|
1767
|
+
}, null, 3, null),
|
|
1768
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1769
|
+
d: "m9 21-1-5 4 2-3 3Z",
|
|
1770
|
+
stroke: "currentColor",
|
|
1771
|
+
"stroke-width": "2"
|
|
1772
|
+
}, null, 3, null),
|
|
1773
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1774
|
+
d: "m12 18-4-2 10-9-6 11Z",
|
|
1775
|
+
fill: "currentColor"
|
|
1776
|
+
}, null, 3, null)
|
|
1777
|
+
]
|
|
1778
|
+
}, {
|
|
1779
|
+
"clip-rule": "evenodd",
|
|
1780
|
+
"fill-rule": "evenodd",
|
|
1781
|
+
height: qwik._fnSignal((p0) => p0.width, [
|
|
1782
|
+
props
|
|
1783
|
+
], "p0.width"),
|
|
1784
|
+
"stroke-linecap": "round",
|
|
1785
|
+
"stroke-linejoin": "round",
|
|
1786
|
+
"stroke-miterlimit": "1.5",
|
|
1787
|
+
viewBox: "0 0 24 24",
|
|
1788
|
+
"xml:space": "preserve"
|
|
1789
|
+
}, 0, "2r_0");
|
|
1790
|
+
}, "LogoPaper_component_pBDmaKNS7m4"));
|
|
1791
|
+
const LogoPterodactyl = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1792
|
+
return /* @__PURE__ */ qwik._jsxS("svg", {
|
|
1793
|
+
...props,
|
|
1794
|
+
children: /* @__PURE__ */ qwik._jsxQ("g", null, {
|
|
1795
|
+
fill: "currentColor",
|
|
1796
|
+
stroke: "none",
|
|
1797
|
+
transform: "translate(0,180) scale(0.100000,-0.100000)"
|
|
1798
|
+
}, [
|
|
1799
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1800
|
+
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"
|
|
1801
|
+
}, null, 3, null),
|
|
1802
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1803
|
+
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"
|
|
1804
|
+
}, null, 3, null),
|
|
1805
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1806
|
+
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"
|
|
1807
|
+
}, null, 3, null),
|
|
1808
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1809
|
+
d: "M1012 441 c-19 -11 64 -51 106 -51 39 0 40 4 5 35 -29 25 -85 33 -111 16z"
|
|
1810
|
+
}, null, 3, null)
|
|
1811
|
+
], 3, null)
|
|
1812
|
+
}, {
|
|
1813
|
+
height: qwik._fnSignal((p0) => p0.width, [
|
|
1814
|
+
props
|
|
1815
|
+
], "p0.width"),
|
|
1816
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
1817
|
+
version: "1.0",
|
|
1818
|
+
viewBox: "0 0 180 180",
|
|
1819
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1820
|
+
}, 0, "DN_0");
|
|
1821
|
+
}, "LogoPterodactyl_component_wVJW9cHcHoo"));
|
|
1822
|
+
const LogoPurpur = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1823
|
+
return /* @__PURE__ */ qwik._jsxS("svg", {
|
|
1824
|
+
...props,
|
|
1825
|
+
children: [
|
|
1826
|
+
/* @__PURE__ */ qwik._jsxQ("defs", null, null, /* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1827
|
+
d: "m264 41.95 8-4v8l-8 4v-8Z",
|
|
1828
|
+
fill: "none",
|
|
1829
|
+
id: "purpur",
|
|
1830
|
+
stroke: "currentColor",
|
|
1831
|
+
"stroke-width": "1.68"
|
|
1832
|
+
}, null, 3, null), 3, null),
|
|
1833
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1834
|
+
d: "M0 0h24v24H0z",
|
|
1835
|
+
fill: "none"
|
|
1836
|
+
}, null, 3, null),
|
|
1837
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1838
|
+
d: "m264 29.95-8 4 8 4.42 8-4.42-8-4Z",
|
|
1839
|
+
fill: "none",
|
|
1840
|
+
stroke: "currentColor",
|
|
1841
|
+
"stroke-width": "1.77",
|
|
1842
|
+
transform: "matrix(1.125 0 0 1.1372 -285 -31.69)"
|
|
1843
|
+
}, null, 3, null),
|
|
1844
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1845
|
+
d: "m272 38.37-8 4.42-8-4.42",
|
|
1846
|
+
fill: "none",
|
|
1847
|
+
stroke: "currentColor",
|
|
1848
|
+
"stroke-width": "1.77",
|
|
1849
|
+
transform: "matrix(1.125 0 0 1.1372 -285 -31.69)"
|
|
1850
|
+
}, null, 3, null),
|
|
1851
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1852
|
+
d: "m260 31.95 8 4.21V45",
|
|
1853
|
+
fill: "none",
|
|
1854
|
+
stroke: "currentColor",
|
|
1855
|
+
"stroke-width": "1.77",
|
|
1856
|
+
transform: "matrix(1.125 0 0 1.1372 -285 -31.69)"
|
|
1857
|
+
}, null, 3, null),
|
|
1858
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1859
|
+
d: "M260 45v-8.84l8-4.21",
|
|
1860
|
+
fill: "none",
|
|
1861
|
+
stroke: "currentColor",
|
|
1862
|
+
"stroke-width": "1.77",
|
|
1863
|
+
transform: "matrix(1.125 0 0 1.1372 -285 -31.69)"
|
|
1864
|
+
}, null, 3, null),
|
|
1865
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1866
|
+
d: "m264 41.95 8-4v8l-8 4v-8Z",
|
|
1867
|
+
fill: "none",
|
|
1868
|
+
stroke: "currentColor",
|
|
1869
|
+
"stroke-width": "1.68",
|
|
1870
|
+
transform: "matrix(1.125 0 0 1.2569 -285 -40.78)"
|
|
1871
|
+
}, null, 3, null),
|
|
1872
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1873
|
+
d: "m264 41.95 8-4v8l-8 4v-8Z",
|
|
1874
|
+
fill: "none",
|
|
1875
|
+
stroke: "currentColor",
|
|
1876
|
+
"stroke-width": "1.68",
|
|
1877
|
+
transform: "matrix(-1.125 0 0 1.2569 309 -40.78)"
|
|
1878
|
+
}, null, 3, null)
|
|
1879
|
+
]
|
|
1880
|
+
}, {
|
|
1881
|
+
"clip-rule": "evenodd",
|
|
1882
|
+
"fill-rule": "evenodd",
|
|
1883
|
+
height: qwik._fnSignal((p0) => p0.width, [
|
|
1884
|
+
props
|
|
1885
|
+
], "p0.width"),
|
|
1886
|
+
"stroke-linecap": "round",
|
|
1887
|
+
"stroke-linejoin": "round",
|
|
1888
|
+
"stroke-miterlimit": "1.5",
|
|
1889
|
+
viewBox: "0 0 24 24",
|
|
1890
|
+
"xml:space": "preserve"
|
|
1891
|
+
}, 0, "Xw_0");
|
|
1892
|
+
}, "LogoPurpur_component_sVHzeC1GCZ4"));
|
|
1893
|
+
const LogoVelocity = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1894
|
+
return /* @__PURE__ */ qwik._jsxS("svg", {
|
|
1895
|
+
...props,
|
|
1896
|
+
children: [
|
|
1897
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1898
|
+
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"
|
|
1899
|
+
}, null, 3, null),
|
|
1900
|
+
/* @__PURE__ */ qwik._jsxQ("circle", null, {
|
|
1901
|
+
cx: "416.44",
|
|
1902
|
+
cy: "236.11",
|
|
1903
|
+
r: "9.83"
|
|
1904
|
+
}, null, 3, null),
|
|
1905
|
+
/* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1906
|
+
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"
|
|
1907
|
+
}, null, 3, null)
|
|
1908
|
+
]
|
|
1909
|
+
}, {
|
|
1910
|
+
fill: "currentColor",
|
|
1911
|
+
height: qwik._fnSignal((p0) => p0.width, [
|
|
1912
|
+
props
|
|
1913
|
+
], "p0.width"),
|
|
1914
|
+
viewBox: "0 0 500 500"
|
|
1915
|
+
}, 0, "Ea_0");
|
|
1916
|
+
}, "LogoVelocity_component_SNoCdG0zr0s"));
|
|
1917
|
+
const LogoWaterfall = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
1918
|
+
return /* @__PURE__ */ qwik._jsxS("svg", {
|
|
1919
|
+
...props,
|
|
1920
|
+
children: /* @__PURE__ */ qwik._jsxQ("path", null, {
|
|
1921
|
+
d: "M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z"
|
|
1922
|
+
}, null, 3, null)
|
|
1923
|
+
}, {
|
|
1924
|
+
fill: "none",
|
|
1925
|
+
height: qwik._fnSignal((p0) => p0.width, [
|
|
1926
|
+
props
|
|
1927
|
+
], "p0.width"),
|
|
1928
|
+
stroke: "currentColor",
|
|
1929
|
+
"stroke-linecap": "round",
|
|
1930
|
+
"stroke-linejoin": "round",
|
|
1931
|
+
"stroke-width": "2",
|
|
1932
|
+
viewBox: "0 0 24 24"
|
|
1933
|
+
}, 0, "Pt_0");
|
|
1934
|
+
}, "LogoWaterfall_component_1hFl8GlECLI"));
|
|
1935
|
+
exports.Anchor = Anchor;
|
|
1936
|
+
exports.Button = Button;
|
|
1937
|
+
exports.ButtonAnchor = ButtonAnchor;
|
|
1938
|
+
exports.Card = Card;
|
|
1939
|
+
exports.ColorInput = ColorInput;
|
|
1940
|
+
exports.Header = Header;
|
|
1941
|
+
exports.InputClasses = InputClasses;
|
|
1942
|
+
exports.LoadingIcon = LoadingIcon;
|
|
1943
|
+
exports.LogoBirdflop = LogoBirdflop;
|
|
1944
|
+
exports.LogoDiscord = LogoDiscord;
|
|
1945
|
+
exports.LogoFabric = LogoFabric;
|
|
1946
|
+
exports.LogoForge = LogoForge;
|
|
1947
|
+
exports.LogoLuminescent = LogoLuminescent;
|
|
1948
|
+
exports.LogoLuminescentFull = LogoLuminescentFull;
|
|
1949
|
+
exports.LogoPaper = LogoPaper;
|
|
1950
|
+
exports.LogoPterodactyl = LogoPterodactyl;
|
|
1951
|
+
exports.LogoPurpur = LogoPurpur;
|
|
1952
|
+
exports.LogoVelocity = LogoVelocity;
|
|
1953
|
+
exports.LogoWaterfall = LogoWaterfall;
|
|
1954
|
+
exports.NumberInput = NumberInput;
|
|
1955
|
+
exports.NumberInputRaw = NumberInputRaw;
|
|
1956
|
+
exports.SelectInput = SelectInput;
|
|
1957
|
+
exports.SelectInputRaw = SelectInputRaw;
|
|
1958
|
+
exports.TextArea = TextArea;
|
|
1959
|
+
exports.TextAreaRaw = TextAreaRaw;
|
|
1960
|
+
exports.TextInput = TextInput;
|
|
1961
|
+
exports.TextInputRaw = TextInputRaw;
|
|
1962
|
+
exports.Toggle = Toggle;
|
|
1963
|
+
exports._auto_blobClasses = blobClasses;
|
|
1964
|
+
exports._auto_buttonClass = buttonClass;
|
|
1965
|
+
exports.buttonColorClasses = buttonColorClasses;
|
|
1966
|
+
exports.cardColorClasses = cardColorClasses;
|
|
1967
|
+
exports.sizeClasses = sizeClasses;
|