@andrilla/mado-ui 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,42 +1,15 @@
1
1
  'use client'
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3
- //#region \0rolldown/runtime.js
4
- var __create = Object.create;
5
- var __defProp = Object.defineProperty;
6
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
- var __getOwnPropNames = Object.getOwnPropertyNames;
8
- var __getProtoOf = Object.getPrototypeOf;
9
- var __hasOwnProp = Object.prototype.hasOwnProperty;
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
13
- key = keys[i];
14
- if (!__hasOwnProp.call(to, key) && key !== except) {
15
- __defProp(to, key, {
16
- get: ((k) => from[k]).bind(null, key),
17
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
- });
19
- }
20
- }
21
- }
22
- return to;
23
- };
24
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
25
- value: mod,
26
- enumerable: true
27
- }) : target, mod));
28
-
29
- //#endregion
30
- let tailwind_merge = require("tailwind-merge");
31
- let _headlessui_react = require("@headlessui/react");
32
- let react = require("react");
33
- react = __toESM(react);
34
- let react_dom = require("react-dom");
35
- react_dom = __toESM(react_dom);
2
+ import { extendTailwindMerge, twJoin } from "tailwind-merge";
3
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
+ import { Button as Button$1, Checkbox as Checkbox$1, Description, Dialog, DialogBackdrop, DialogPanel, DialogTitle, Disclosure, DisclosureButton, DisclosurePanel, Field, Fieldset as Fieldset$1, Input as Input$1, Label, Legend, Listbox, ListboxButton, ListboxOption, ListboxOptions, ListboxSelectedOption, Menu, MenuButton, MenuHeading, MenuItem, MenuItems, MenuSection, MenuSeparator, Textarea as Textarea$1 } from "@headlessui/react";
5
+ import * as React from "react";
6
+ import { Children, cloneElement, createContext, isValidElement, useContext, useEffect, useEffectEvent, useId, useLayoutEffect, useRef, useState, useSyncExternalStore } from "react";
7
+ import * as ReactDOM from "react-dom";
8
+ import { createPortal } from "react-dom";
36
9
 
37
10
  //#region src/utils/custom-tailwind-merge.ts
38
11
  const integerList = Array.from({ length: 100 }, (_, i) => `${i + 1}`);
39
- const twMerge = (0, tailwind_merge.extendTailwindMerge)({ extend: { classGroups: {
12
+ const twMerge = extendTailwindMerge({ extend: { classGroups: {
40
13
  animate: [{ animate: [
41
14
  "bounce",
42
15
  "double-spin",
@@ -69,74 +42,6 @@ const twMerge = (0, tailwind_merge.extendTailwindMerge)({ extend: { classGroups:
69
42
  "grid-rows": [{ "grid-rows": ["0fr", "1fr"] }],
70
43
  transition: ["transition-rows"]
71
44
  } } });
72
- function extendMadoTailwindMerge(configExtension) {
73
- const extend = configExtension.extend || {};
74
- const theme = extend.theme || {};
75
- const color = "color" in theme ? theme.color : [];
76
- const classGroups = extend.classGroups || {};
77
- const themeRest = { ...theme };
78
- if ("color" in themeRest) delete themeRest.color;
79
- const extendRest = { ...extend };
80
- delete extendRest.theme;
81
- delete extendRest.classGroups;
82
- return (0, tailwind_merge.extendTailwindMerge)({
83
- extend: {
84
- theme: {
85
- color: [{ ui: [
86
- "red",
87
- "orange",
88
- "yellow",
89
- "green",
90
- "sky-blue",
91
- "blue",
92
- "violet",
93
- "magenta",
94
- "purple",
95
- "brown",
96
- "grey",
97
- "pink"
98
- ] }, ...color],
99
- ...themeRest
100
- },
101
- classGroups: {
102
- animate: [{ animate: [
103
- "bounce",
104
- "double-spin",
105
- "drop-in",
106
- "flip",
107
- "flip-again",
108
- "grid-rows",
109
- "heartbeat",
110
- "ping",
111
- "pulse",
112
- "slide-up",
113
- "spin",
114
- "wave"
115
- ] }],
116
- "animation-direction": [{ "animation-direction": [
117
- "normal",
118
- "reverse",
119
- "alternate",
120
- "alternate-reverse"
121
- ] }],
122
- "animation-fill": [{ "animation-fill": [
123
- "none",
124
- "forwards",
125
- "backwards",
126
- "both"
127
- ] }],
128
- "animation-iteration": [{ "animation-iteration": [...integerList, "infinite"] }],
129
- "animation-state": [{ "animation-state": ["running", "paused"] }],
130
- "grid-cols": [{ "grid-cols": ["0fr", "1fr"] }],
131
- "grid-rows": [{ "grid-rows": ["0fr", "1fr"] }],
132
- transition: ["transition-rows"],
133
- ...classGroups
134
- },
135
- ...extendRest
136
- },
137
- ...configExtension
138
- });
139
- }
140
45
 
141
46
  //#endregion
142
47
  //#region src/components/link.tsx
@@ -147,116 +52,123 @@ function Anchor({ as, className, disabled, href, onClick, target, rel, ...props
147
52
  onClick?.(e);
148
53
  setTimeout(() => history.replaceState({}, document.title, location.pathname), 100);
149
54
  };
150
- const AnchorElement = as || "a";
151
- return <AnchorElement {...props} aria-disabled={disabled} className={twMerge("ease-exponential inline-block transition-transform duration-300 active:scale-95 pointer-fine:active:scale-95", className, disabled && "pointer-events-none")} href={href} target={target || (isExternal ? "_blank" : "_self")} onClick={hasHash ? handleClick : onClick} rel={rel !== void 0 ? rel === "nofollow" ? `${rel} noreferrer noopener` : `${rel} prefetch` : isExternal ? "nofollow noreferrer noopener" : "prefetch"} />;
55
+ return /* @__PURE__ */ jsx(as || "a", {
56
+ ...props,
57
+ "aria-disabled": disabled,
58
+ className: twMerge("ease-exponential inline-block transition-transform duration-300 active:scale-95 pointer-fine:active:scale-95", className, disabled && "pointer-events-none"),
59
+ href,
60
+ target: target || (isExternal ? "_blank" : "_self"),
61
+ onClick: hasHash ? handleClick : onClick,
62
+ rel: rel !== void 0 ? rel === "nofollow" ? `${rel} noreferrer noopener` : `${rel} prefetch` : isExternal ? "nofollow noreferrer noopener" : "prefetch"
63
+ });
152
64
  }
153
65
  const baseClasses = "isolate after:absolute after:left-1/2 after:-z-10 after:-translate-x-1/2 after:duration-500 active:after:opacity-100 pointer-fine:active:after:opacity-100";
154
- const lineStaticClasses = (0, tailwind_merge.twJoin)(baseClasses, "whitespace-nowrap after:-bottom-0.5 after:w-[calc(100%+0.15rem)] after:rounded-full after:border after:border-current");
155
- const lineClasses = (0, tailwind_merge.twJoin)(lineStaticClasses, "whitespace-nowrap after:transition-transform after:ease-exponential");
66
+ const lineStaticClasses = twJoin(baseClasses, "whitespace-nowrap after:-bottom-0.5 after:w-[calc(100%+0.15rem)] after:rounded-full after:border after:border-current");
67
+ const lineClasses = twJoin(lineStaticClasses, "whitespace-nowrap after:transition-transform after:ease-exponential");
156
68
  const scaleXClasses = "after:scale-x-0 active:after:scale-x-100 pointer-fine:hover:after:scale-x-100 pointer-fine:active:after:scale-x-100";
157
69
  const scaleYClasses = "after:scale-y-0 active:after:scale-y-100 pointer-fine:hover:after:scale-y-100 pointer-fine:active:after:scale-y-100";
158
- const lineNormalClasses = (0, tailwind_merge.twJoin)([
70
+ const lineNormalClasses = twJoin([
159
71
  lineClasses,
160
72
  scaleYClasses,
161
73
  "after:origin-bottom after:translate-y-0.5 active:after:translate-y-0 pointer-fine:hover:after:translate-y-0"
162
74
  ]);
163
- const lineLtrClasses = (0, tailwind_merge.twJoin)([
75
+ const lineLtrClasses = twJoin([
164
76
  lineClasses,
165
77
  scaleXClasses,
166
78
  "after:origin-left"
167
79
  ]);
168
- const lineRtlClasses = (0, tailwind_merge.twJoin)([
80
+ const lineRtlClasses = twJoin([
169
81
  lineClasses,
170
82
  scaleXClasses,
171
83
  "after:origin-right"
172
84
  ]);
173
- const lineCenterClasses = (0, tailwind_merge.twJoin)([lineClasses, scaleXClasses]);
174
- const lineLiftClasses = (0, tailwind_merge.twJoin)([
85
+ const lineCenterClasses = twJoin([lineClasses, scaleXClasses]);
86
+ const lineLiftClasses = twJoin([
175
87
  lineClasses,
176
88
  scaleYClasses,
177
89
  "after:origin-bottom after:translate-y-1 after:scale-x-75 active:after:translate-y-0 active:after:scale-x-100 pointer-fine:hover:after:translate-y-0 pointer-fine:hover:after:scale-x-100 pointer-fine:active:after:translate-y-0 pointer-fine:active:after:scale-x-100"
178
90
  ]);
179
- const fillClasses = (0, tailwind_merge.twJoin)(baseClasses, "whitespace-nowrap [--text-color:var(--base-theme-color--foreground)] transition-[transform,color] after:top-1/2 after:h-[calc(100%+0.05rem)] after:w-[calc(100%+0.25rem)] after:-translate-y-1/2 after:rounded after:ease-exponential active:text-(--text-color) pointer-fine:hover:text-(--text-color) pointer-fine:active:text-(--text-color)");
91
+ const fillClasses = twJoin(baseClasses, "whitespace-nowrap [--text-color:var(--base-theme-color--foreground)] transition-[transform,color] after:top-1/2 after:h-[calc(100%+0.05rem)] after:w-[calc(100%+0.25rem)] after:-translate-y-1/2 after:rounded after:ease-exponential active:text-(--text-color) pointer-fine:hover:text-(--text-color) pointer-fine:active:text-(--text-color)");
180
92
  const getFillColorTransitionClasses = (theme = "blue", customTheme) => {
181
- let fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillClasses, "transition-[scale,color] after:bg-(--theme-color)");
93
+ let fillColorTransitionClasses = twJoin(fillClasses, "transition-[scale,color] after:bg-(--theme-color)");
182
94
  switch (theme) {
183
95
  case "amber":
184
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-amber-500)]");
96
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-amber-500)]");
185
97
  break;
186
98
  case "blue":
187
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-blue-500)]");
99
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-blue-500)]");
188
100
  break;
189
101
  case "cyan":
190
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-cyan-500)]");
102
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-cyan-500)]");
191
103
  break;
192
104
  case "emerald":
193
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-emerald-500)]");
105
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-emerald-500)]");
194
106
  break;
195
107
  case "fuchsia":
196
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-fuchsia-500)]");
108
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-fuchsia-500)]");
197
109
  break;
198
110
  case "gray":
199
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-gray-500)]");
111
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-gray-500)]");
200
112
  break;
201
113
  case "green":
202
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-green-500)]");
114
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-green-500)]");
203
115
  break;
204
116
  case "indigo":
205
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-indigo-500)]");
117
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-indigo-500)]");
206
118
  break;
207
119
  case "lime":
208
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-lime-500)]");
120
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-lime-500)]");
209
121
  break;
210
122
  case "mauve":
211
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-mauve-500)]");
123
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-mauve-500)]");
212
124
  break;
213
125
  case "mist":
214
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-mist-500)]");
126
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-mist-500)]");
215
127
  break;
216
128
  case "neutral":
217
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-neutral-500)]");
129
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-neutral-500)]");
218
130
  break;
219
131
  case "olive":
220
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-olive-500)]");
132
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-olive-500)]");
221
133
  break;
222
134
  case "orange":
223
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-orange-500)]");
135
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-orange-500)]");
224
136
  break;
225
137
  case "pink":
226
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-pink-500)]");
138
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-pink-500)]");
227
139
  break;
228
140
  case "purple":
229
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-purple-500)]");
141
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-purple-500)]");
230
142
  break;
231
143
  case "red":
232
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-red-500)]");
144
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-red-500)]");
233
145
  break;
234
146
  case "rose":
235
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-rose-500)]");
147
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-rose-500)]");
236
148
  break;
237
149
  case "sky":
238
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-sky-500)]");
150
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-sky-500)]");
239
151
  break;
240
152
  case "slate":
241
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-slate-500)]");
153
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-slate-500)]");
242
154
  break;
243
155
  case "stone":
244
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-stone-500)]");
156
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-stone-500)]");
245
157
  break;
246
158
  case "taupe":
247
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-taupe-500)]");
159
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-taupe-500)]");
248
160
  break;
249
161
  case "teal":
250
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-teal-500)]");
162
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-teal-500)]");
251
163
  break;
252
164
  case "violet":
253
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-violet-500)]");
165
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-violet-500)]");
254
166
  break;
255
167
  case "yellow":
256
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-yellow-500)]");
168
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-yellow-500)]");
257
169
  break;
258
170
  case "zinc":
259
- fillColorTransitionClasses = (0, tailwind_merge.twJoin)(fillColorTransitionClasses, "[--theme-color:var(--color-zinc-500)]");
171
+ fillColorTransitionClasses = twJoin(fillColorTransitionClasses, "[--theme-color:var(--color-zinc-500)]");
260
172
  break;
261
173
  case "custom":
262
174
  if (customTheme && customTheme.themeColor && !customTheme.themeColor.includes("[--theme-color:")) throw new Error("`customTheme.themeColor` must modify the `--theme-color` variable on the ::after pseudo element. Otherwise, please use `customTheme.classes`.");
@@ -269,85 +181,85 @@ const getFillColorTransitionClasses = (theme = "blue", customTheme) => {
269
181
  return fillColorTransitionClasses;
270
182
  };
271
183
  const getFillCenterClasses = (theme = "blue", customTheme) => {
272
- let fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillClasses, "after:scale-x-50 after:scale-y-[0.25] after:bg-(--theme-color)/0 after:transition-[scale,background-color] active:after:scale-x-100 active:after:scale-y-100 active:after:bg-(--theme-color) pointer-fine:hover:after:scale-x-100 pointer-fine:hover:after:scale-y-100 pointer-fine:hover:after:bg-(--theme-color) pointer-fine:active:after:scale-x-100 pointer-fine:active:after:scale-y-100 pointer-fine:active:after:bg-(--theme-color)");
184
+ let fillCenterColorClasses = twJoin(fillClasses, "after:scale-x-50 after:scale-y-[0.25] after:bg-(--theme-color)/0 after:transition-[scale,background-color] active:after:scale-x-100 active:after:scale-y-100 active:after:bg-(--theme-color) pointer-fine:hover:after:scale-x-100 pointer-fine:hover:after:scale-y-100 pointer-fine:hover:after:bg-(--theme-color) pointer-fine:active:after:scale-x-100 pointer-fine:active:after:scale-y-100 pointer-fine:active:after:bg-(--theme-color)");
273
185
  switch (theme) {
274
186
  case "amber":
275
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-amber-500)]");
187
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-amber-500)]");
276
188
  break;
277
189
  case "blue":
278
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-blue-500)]");
190
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-blue-500)]");
279
191
  break;
280
192
  case "cyan":
281
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-cyan-500)]");
193
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-cyan-500)]");
282
194
  break;
283
195
  case "emerald":
284
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-emerald-500)]");
196
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-emerald-500)]");
285
197
  break;
286
198
  case "fuchsia":
287
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-fuchsia-500)]");
199
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-fuchsia-500)]");
288
200
  break;
289
201
  case "gray":
290
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-gray-500)]");
202
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-gray-500)]");
291
203
  break;
292
204
  case "green":
293
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-green-500)]");
205
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-green-500)]");
294
206
  break;
295
207
  case "indigo":
296
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-indigo-500)]");
208
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-indigo-500)]");
297
209
  break;
298
210
  case "lime":
299
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-lime-500)]");
211
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-lime-500)]");
300
212
  break;
301
213
  case "mauve":
302
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-mauve-500)]");
214
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-mauve-500)]");
303
215
  break;
304
216
  case "mist":
305
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-mist-500)]");
217
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-mist-500)]");
306
218
  break;
307
219
  case "neutral":
308
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-neutral-500)]");
220
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-neutral-500)]");
309
221
  break;
310
222
  case "olive":
311
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-olive-500)]");
223
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-olive-500)]");
312
224
  break;
313
225
  case "orange":
314
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-orange-500)]");
226
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-orange-500)]");
315
227
  break;
316
228
  case "pink":
317
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-pink-500)]");
229
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-pink-500)]");
318
230
  break;
319
231
  case "purple":
320
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-purple-500)]");
232
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-purple-500)]");
321
233
  break;
322
234
  case "red":
323
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-red-500)]");
235
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-red-500)]");
324
236
  break;
325
237
  case "rose":
326
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-rose-500)]");
238
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-rose-500)]");
327
239
  break;
328
240
  case "sky":
329
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-sky-500)]");
241
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-sky-500)]");
330
242
  break;
331
243
  case "slate":
332
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-slate-500)]");
244
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-slate-500)]");
333
245
  break;
334
246
  case "stone":
335
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-stone-500)]");
247
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-stone-500)]");
336
248
  break;
337
249
  case "taupe":
338
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-taupe-500)]");
250
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-taupe-500)]");
339
251
  break;
340
252
  case "teal":
341
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-teal-500)]");
253
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-teal-500)]");
342
254
  break;
343
255
  case "violet":
344
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-violet-500)]");
256
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-violet-500)]");
345
257
  break;
346
258
  case "yellow":
347
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-yellow-500)]");
259
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-yellow-500)]");
348
260
  break;
349
261
  case "zinc":
350
- fillCenterColorClasses = (0, tailwind_merge.twJoin)(fillCenterColorClasses, "[--theme-color:var(--color-zinc-500)]");
262
+ fillCenterColorClasses = twJoin(fillCenterColorClasses, "[--theme-color:var(--color-zinc-500)]");
351
263
  break;
352
264
  case "custom":
353
265
  if (customTheme && customTheme.themeColor && !customTheme.themeColor.includes("[--theme-color:")) throw new Error("`customTheme.themeColor` must modify the `--theme-color` variable on the ::after pseudo element. Otherwise, please use `customTheme.classes`.");
@@ -362,92 +274,92 @@ const getFillCenterClasses = (theme = "blue", customTheme) => {
362
274
  const multilineBaseClasses = "bg-linear-to-r from-current to-current bg-no-repeat active:scale-95";
363
275
  const multilineLineStaticClasses = "underline";
364
276
  const multilineNormalClasses = "underline-offset-1 active:underline pointer-fine:hover:underline";
365
- const multilineLineClasses = (0, tailwind_merge.twJoin)((0, tailwind_merge.twJoin)(multilineBaseClasses, "duration-500 ease-exponential"), "bg-position-[0%_100%] px-px pb-px transition-[background-size]");
366
- const multilineXClasses = (0, tailwind_merge.twJoin)(multilineLineClasses, "bg-size-[0%_2px] focus-visible:bg-size-[100%_2px] active:bg-size-[100%_2px] pointer-fine:hover:bg-size-[100%_2px]");
367
- const multilineLineRtlClasses = (0, tailwind_merge.twJoin)([multilineXClasses, "bg-position-[100%_100%]"]);
368
- const multilineLineCenterClasses = (0, tailwind_merge.twJoin)([multilineXClasses, "bg-position-[50%_100%]"]);
369
- const multilineLineLiftClasses = (0, tailwind_merge.twJoin)(multilineLineClasses, "bg-size-[auto_0px] focus-visible:bg-size-[auto_2px] active:bg-size-[auto_2px] pointer-fine:hover:bg-size-[auto_2px]");
370
- const multilineFillBaseClasses = (0, tailwind_merge.twJoin)(multilineBaseClasses, "rounded px-0.5 py-0.75 focus-visible:text-zinc-50 active:text-zinc-50 pointer-fine:hover:text-zinc-50");
277
+ const multilineLineClasses = twJoin(twJoin(multilineBaseClasses, "duration-500 ease-exponential"), "bg-position-[0%_100%] px-px pb-px transition-[background-size]");
278
+ const multilineXClasses = twJoin(multilineLineClasses, "bg-size-[0%_2px] focus-visible:bg-size-[100%_2px] active:bg-size-[100%_2px] pointer-fine:hover:bg-size-[100%_2px]");
279
+ const multilineLineRtlClasses = twJoin([multilineXClasses, "bg-position-[100%_100%]"]);
280
+ const multilineLineCenterClasses = twJoin([multilineXClasses, "bg-position-[50%_100%]"]);
281
+ const multilineLineLiftClasses = twJoin(multilineLineClasses, "bg-size-[auto_0px] focus-visible:bg-size-[auto_2px] active:bg-size-[auto_2px] pointer-fine:hover:bg-size-[auto_2px]");
282
+ const multilineFillBaseClasses = twJoin(multilineBaseClasses, "rounded px-0.5 py-0.75 focus-visible:text-zinc-50 active:text-zinc-50 pointer-fine:hover:text-zinc-50");
371
283
  const getMultilineFillColorClasses = (theme = "blue", customTheme) => {
372
- let multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillBaseClasses, "from-(--theme-color) to-(--theme-color) transition-[background-size,color]");
284
+ let multilineFillColorClasses = twJoin(multilineFillBaseClasses, "from-(--theme-color) to-(--theme-color) transition-[background-size,color]");
373
285
  switch (theme) {
374
286
  case "amber":
375
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-amber-500)]");
287
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-amber-500)]");
376
288
  break;
377
289
  case "blue":
378
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-blue-500)]");
290
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-blue-500)]");
379
291
  break;
380
292
  case "cyan":
381
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-cyan-500)]");
293
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-cyan-500)]");
382
294
  break;
383
295
  case "emerald":
384
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-emerald-500)]");
296
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-emerald-500)]");
385
297
  break;
386
298
  case "fuchsia":
387
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-fuchsia-500)]");
299
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-fuchsia-500)]");
388
300
  break;
389
301
  case "gray":
390
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-gray-500)]");
302
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-gray-500)]");
391
303
  break;
392
304
  case "green":
393
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-green-500)]");
305
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-green-500)]");
394
306
  break;
395
307
  case "indigo":
396
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-indigo-500)]");
308
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-indigo-500)]");
397
309
  break;
398
310
  case "lime":
399
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-lime-500)]");
311
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-lime-500)]");
400
312
  break;
401
313
  case "mauve":
402
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-mauve-500)]");
314
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-mauve-500)]");
403
315
  break;
404
316
  case "mist":
405
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-mist-500)]");
317
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-mist-500)]");
406
318
  break;
407
319
  case "neutral":
408
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-neutral-500)]");
320
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-neutral-500)]");
409
321
  break;
410
322
  case "olive":
411
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-olive-500)]");
323
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-olive-500)]");
412
324
  break;
413
325
  case "orange":
414
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-orange-500)]");
326
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-orange-500)]");
415
327
  break;
416
328
  case "pink":
417
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-pink-500)]");
329
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-pink-500)]");
418
330
  break;
419
331
  case "purple":
420
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-purple-500)]");
332
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-purple-500)]");
421
333
  break;
422
334
  case "red":
423
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-red-500)]");
335
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-red-500)]");
424
336
  break;
425
337
  case "rose":
426
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-rose-500)]");
338
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-rose-500)]");
427
339
  break;
428
340
  case "sky":
429
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-sky-500)]");
341
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-sky-500)]");
430
342
  break;
431
343
  case "slate":
432
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-slate-500)]");
344
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-slate-500)]");
433
345
  break;
434
346
  case "stone":
435
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-stone-500)]");
347
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-stone-500)]");
436
348
  break;
437
349
  case "taupe":
438
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-taupe-500)]");
350
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-taupe-500)]");
439
351
  break;
440
352
  case "teal":
441
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-teal-500)]");
353
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-teal-500)]");
442
354
  break;
443
355
  case "violet":
444
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-violet-500)]");
356
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-violet-500)]");
445
357
  break;
446
358
  case "yellow":
447
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-yellow-500)]");
359
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-yellow-500)]");
448
360
  break;
449
361
  case "zinc":
450
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-zinc-500)]");
362
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-zinc-500)]");
451
363
  break;
452
364
  case "custom":
453
365
  if (customTheme && customTheme.themeColor && !customTheme.themeColor.includes("[--theme-color:")) throw new Error("`customTheme.themeColor` must modify the `--theme-color` variable. Otherwise, please use `customTheme.classes`.");
@@ -460,85 +372,85 @@ const getMultilineFillColorClasses = (theme = "blue", customTheme) => {
460
372
  return multilineFillColorClasses;
461
373
  };
462
374
  const getMultilineFillClasses = (theme = "blue", customTheme) => {
463
- let multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillBaseClasses, "from-(--theme-color)/0 to-(--theme-color)/0 bg-size-[50%_0px] bg-position-[50%_50%] transition-[background-size,background-image,color] focus-visible:from-(--theme-color) focus-visible:to-(--theme-color) focus-visible:bg-size-[100%_100%] active:from-(--theme-color) active:to-(--theme-color) active:bg-size-[100%_100%] contrast-more:from-(--theme-color)/0 pointer-fine:hover:from-(--theme-color) pointer-fine:hover:to-(--theme-color) pointer-fine:hover:bg-size-[100%_100%]");
375
+ let multilineFillColorClasses = twJoin(multilineFillBaseClasses, "from-(--theme-color)/0 to-(--theme-color)/0 bg-size-[50%_0px] bg-position-[50%_50%] transition-[background-size,background-image,color] focus-visible:from-(--theme-color) focus-visible:to-(--theme-color) focus-visible:bg-size-[100%_100%] active:from-(--theme-color) active:to-(--theme-color) active:bg-size-[100%_100%] contrast-more:from-(--theme-color)/0 pointer-fine:hover:from-(--theme-color) pointer-fine:hover:to-(--theme-color) pointer-fine:hover:bg-size-[100%_100%]");
464
376
  switch (theme) {
465
377
  case "amber":
466
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-amber-500)]");
378
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-amber-500)]");
467
379
  break;
468
380
  case "blue":
469
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-blue-500)]");
381
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-blue-500)]");
470
382
  break;
471
383
  case "cyan":
472
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-cyan-500)]");
384
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-cyan-500)]");
473
385
  break;
474
386
  case "emerald":
475
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-emerald-500)]");
387
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-emerald-500)]");
476
388
  break;
477
389
  case "fuchsia":
478
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-fuchsia-500)]");
390
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-fuchsia-500)]");
479
391
  break;
480
392
  case "gray":
481
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-gray-500)]");
393
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-gray-500)]");
482
394
  break;
483
395
  case "green":
484
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-green-500)]");
396
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-green-500)]");
485
397
  break;
486
398
  case "indigo":
487
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-indigo-500)]");
399
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-indigo-500)]");
488
400
  break;
489
401
  case "lime":
490
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-lime-500)]");
402
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-lime-500)]");
491
403
  break;
492
404
  case "mauve":
493
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-mauve-500)]");
405
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-mauve-500)]");
494
406
  break;
495
407
  case "mist":
496
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-mist-500)]");
408
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-mist-500)]");
497
409
  break;
498
410
  case "neutral":
499
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-neutral-500)]");
411
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-neutral-500)]");
500
412
  break;
501
413
  case "olive":
502
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-olive-500)]");
414
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-olive-500)]");
503
415
  break;
504
416
  case "orange":
505
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-orange-500)]");
417
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-orange-500)]");
506
418
  break;
507
419
  case "pink":
508
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-pink-500)]");
420
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-pink-500)]");
509
421
  break;
510
422
  case "purple":
511
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-purple-500)]");
423
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-purple-500)]");
512
424
  break;
513
425
  case "red":
514
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-red-500)]");
426
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-red-500)]");
515
427
  break;
516
428
  case "rose":
517
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-rose-500)]");
429
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-rose-500)]");
518
430
  break;
519
431
  case "sky":
520
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-sky-500)]");
432
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-sky-500)]");
521
433
  break;
522
434
  case "slate":
523
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-slate-500)]");
435
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-slate-500)]");
524
436
  break;
525
437
  case "stone":
526
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-stone-500)]");
438
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-stone-500)]");
527
439
  break;
528
440
  case "taupe":
529
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-taupe-500)]");
441
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-taupe-500)]");
530
442
  break;
531
443
  case "teal":
532
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-teal-500)]");
444
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-teal-500)]");
533
445
  break;
534
446
  case "violet":
535
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-violet-500)]");
447
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-violet-500)]");
536
448
  break;
537
449
  case "yellow":
538
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-yellow-500)]");
450
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-yellow-500)]");
539
451
  break;
540
452
  case "zinc":
541
- multilineFillColorClasses = (0, tailwind_merge.twJoin)(multilineFillColorClasses, "[--theme-color:var(--color-zinc-500)]");
453
+ multilineFillColorClasses = twJoin(multilineFillColorClasses, "[--theme-color:var(--color-zinc-500)]");
542
454
  break;
543
455
  case "custom":
544
456
  if (customTheme && customTheme.themeColor && !customTheme.themeColor.includes("[--theme-color:")) throw new Error("`customTheme.themeColor` must modify the `--theme-color` variable. Otherwise, please use `customTheme.classes`.");
@@ -551,16 +463,16 @@ const getMultilineFillClasses = (theme = "blue", customTheme) => {
551
463
  return multilineFillColorClasses;
552
464
  };
553
465
  const getMultilineFillLiftClasses = (theme = "blue", customTheme) => {
554
- return (0, tailwind_merge.twJoin)(getMultilineFillColorClasses(theme, customTheme), "bg-size-[auto_0px] bg-position-[50%_100%] focus-visible:bg-size-[auto_100%] active:bg-size-[auto_100%] pointer-fine:hover:bg-size-[auto_100%]");
466
+ return twJoin(getMultilineFillColorClasses(theme, customTheme), "bg-size-[auto_0px] bg-position-[50%_100%] focus-visible:bg-size-[auto_100%] active:bg-size-[auto_100%] pointer-fine:hover:bg-size-[auto_100%]");
555
467
  };
556
468
  const getMultilineFillXClasses = (theme = "blue", customTheme) => {
557
- return (0, tailwind_merge.twJoin)(getMultilineFillColorClasses(theme, customTheme), "bg-size-[0%_100%] focus-visible:bg-size-[100%_100%] active:bg-size-[100%_100%] pointer-fine:hover:bg-size-[100%_100%]");
469
+ return twJoin(getMultilineFillColorClasses(theme, customTheme), "bg-size-[0%_100%] focus-visible:bg-size-[100%_100%] active:bg-size-[100%_100%] pointer-fine:hover:bg-size-[100%_100%]");
558
470
  };
559
471
  const getMultilineFillRtlClasses = (theme = "blue", customTheme) => {
560
- return (0, tailwind_merge.twJoin)(getMultilineFillXClasses(theme, customTheme), "bg-position-[100%_auto]");
472
+ return twJoin(getMultilineFillXClasses(theme, customTheme), "bg-position-[100%_auto]");
561
473
  };
562
474
  const getMultilineFillCenterClasses = (theme = "blue", customTheme) => {
563
- return (0, tailwind_merge.twJoin)(getMultilineFillXClasses(theme, customTheme), "bg-position-[50%_auto]");
475
+ return twJoin(getMultilineFillXClasses(theme, customTheme), "bg-position-[50%_auto]");
564
476
  };
565
477
  function getLinkClasses({ customTheme, theme, type }) {
566
478
  switch (type) {
@@ -570,17 +482,17 @@ function getLinkClasses({ customTheme, theme, type }) {
570
482
  case "center": return lineCenterClasses;
571
483
  case "lift": return lineLiftClasses;
572
484
  case "fill": return getFillCenterClasses(theme, customTheme);
573
- case "fill-ltr": return (0, tailwind_merge.twJoin)([
485
+ case "fill-ltr": return twJoin([
574
486
  getFillColorTransitionClasses(theme, customTheme),
575
487
  scaleXClasses,
576
488
  "after:origin-left"
577
489
  ]);
578
- case "fill-rtl": return (0, tailwind_merge.twJoin)([
490
+ case "fill-rtl": return twJoin([
579
491
  getFillColorTransitionClasses(theme, customTheme),
580
492
  scaleXClasses,
581
493
  "after:origin-right"
582
494
  ]);
583
- case "fill-lift": return (0, tailwind_merge.twJoin)([
495
+ case "fill-lift": return twJoin([
584
496
  getFillColorTransitionClasses(theme, customTheme),
585
497
  scaleYClasses,
586
498
  "after:origin-bottom"
@@ -634,8 +546,10 @@ function Link({ as, className, customTheme, theme, type, ...props }) {
634
546
  theme,
635
547
  type
636
548
  });
637
- const LinkElement = as || Anchor;
638
- return <LinkElement {...props} className={twMerge(linkClasses, className)} />;
549
+ return /* @__PURE__ */ jsx(as || Anchor, {
550
+ ...props,
551
+ className: twMerge(linkClasses, className)
552
+ });
639
553
  }
640
554
  /**
641
555
  * # createLink
@@ -677,13 +591,28 @@ function createLink(config) {
677
591
  else if (as) linkProps.as = as;
678
592
  if (finalTheme && typeof finalTheme === "string" && config.theme && finalTheme in config.theme) {
679
593
  const extendedTheme = config.theme[finalTheme];
680
- if (customTheme) return <Link {...linkProps} theme="custom" customTheme={customTheme} className={twMerge(configClassName, extendedTheme.className, className)} />;
594
+ if (customTheme) return /* @__PURE__ */ jsx(Link, {
595
+ ...linkProps,
596
+ theme: "custom",
597
+ customTheme,
598
+ className: twMerge(configClassName, extendedTheme.className, className)
599
+ });
681
600
  let resolvedCustomTheme;
682
601
  if (extendedTheme.customTheme.themeColor) resolvedCustomTheme = { themeColor: (finalType ? finalType.includes("multiline") : false) ? extendedTheme.customTheme.themeColor.multilineFill : extendedTheme.customTheme.themeColor.fill };
683
602
  else resolvedCustomTheme = { classes: extendedTheme.customTheme.classes };
684
- return <Link {...linkProps} theme="custom" customTheme={resolvedCustomTheme} className={twMerge(configClassName, extendedTheme.className, className)} />;
603
+ return /* @__PURE__ */ jsx(Link, {
604
+ ...linkProps,
605
+ theme: "custom",
606
+ customTheme: resolvedCustomTheme,
607
+ className: twMerge(configClassName, extendedTheme.className, className)
608
+ });
685
609
  }
686
- return <Link {...linkProps} theme={finalTheme} className={twMerge(configClassName, className)} customTheme={customTheme} />;
610
+ return /* @__PURE__ */ jsx(Link, {
611
+ ...linkProps,
612
+ theme: finalTheme,
613
+ className: twMerge(configClassName, className),
614
+ customTheme
615
+ });
687
616
  };
688
617
  }
689
618
 
@@ -757,8 +686,15 @@ function Button({ className, customTheme, gradient = false, padding = "md", roun
757
686
  customTheme && customTheme.classes ? customTheme.classes : [gradient ? "bg-linear-to-t from-[color-mix(in_oklch,var(--theme-color),var(--color-black)_20%)] via-(--theme-color) to-[color-mix(in_oklch,var(--theme-color),var(--color-white)_20%)] bg-size-[100%_200%] transition-[scale,background-position-y] [background-position-y:50%] active:[background-position-y:100%] data-focus:[background-position-y:0%] pointer-fine:hover:[background-position-y:0%] pointer-fine:hover:active:[background-position-y:100%]" : "bg-(--theme-color) transition-[scale,background-color] active:bg-[color-mix(in_oklch,var(--theme-color),var(--color-black)_10%)] data-focus:bg-[color-mix(in_oklch,var(--theme-color),var(--color-white)_10%)] pointer-fine:hover:bg-[color-mix(in_oklch,var(--theme-color),var(--color-white)_10%)] pointer-fine:hover:active:bg-[color-mix(in_oklch,var(--theme-color),var(--color-black)_10%)]", "shadow-(--theme-color)/25"].join(" "),
758
687
  className
759
688
  ]);
760
- if ("href" in props && !props.as && props.href) return <_headlessui_react.Button {...props} as={Anchor} className={buttonClasses} />;
761
- return <_headlessui_react.Button {...props} className={buttonClasses} />;
689
+ if ("href" in props && !props.as && props.href) return /* @__PURE__ */ jsx(Button$1, {
690
+ ...props,
691
+ as: Anchor,
692
+ className: buttonClasses
693
+ });
694
+ return /* @__PURE__ */ jsx(Button$1, {
695
+ ...props,
696
+ className: buttonClasses
697
+ });
762
698
  }
763
699
  /**
764
700
  * # createButton
@@ -812,9 +748,19 @@ function createButton(config) {
812
748
  } else if (as) buttonProps.as = as;
813
749
  if (finalTheme && typeof finalTheme === "string" && config.theme && finalTheme in config.theme) {
814
750
  const extendedTheme = config.theme[finalTheme];
815
- return <Button {...buttonProps} theme="custom" customTheme={customTheme || extendedTheme.customTheme} className={twMerge(configClassName, extendedTheme.className, className)} />;
751
+ return /* @__PURE__ */ jsx(Button, {
752
+ ...buttonProps,
753
+ theme: "custom",
754
+ customTheme: customTheme || extendedTheme.customTheme,
755
+ className: twMerge(configClassName, extendedTheme.className, className)
756
+ });
816
757
  }
817
- return <Button {...buttonProps} theme={finalTheme} className={twMerge(configClassName, className)} customTheme={customTheme} />;
758
+ return /* @__PURE__ */ jsx(Button, {
759
+ ...buttonProps,
760
+ theme: finalTheme,
761
+ className: twMerge(configClassName, className),
762
+ customTheme
763
+ });
818
764
  };
819
765
  }
820
766
 
@@ -822,65 +768,107 @@ function createButton(config) {
822
768
  //#region src/symbols/checkmark.tsx
823
769
  function Checkmark({ weight = "regular", ...props }) {
824
770
  switch (weight) {
825
- case "ultralight": return <svg viewBox="9.76562 -66.2656 60.64 62.07" {...props}>
826
- <path d="M30.5586-4.19382C31.0098-4.19382 31.2974-4.38816 31.5543-4.73143L70.1016-64.2544C70.3414-64.6611 70.4073-64.8691 70.4073-65.0771C70.4073-65.7441 69.8892-66.2656 69.2188-66.2656C68.7779-66.2656 68.4824-66.0884 68.271-65.6963L30.4996-7.29446L12.0064-28.4888C11.7461-28.8672 11.4439-29.0479 10.9678-29.0479C10.252-29.0479 9.76562-28.565 9.76562-27.8946C9.76562-27.5957 9.88721-27.2901 10.1724-26.9878L29.4165-4.73827C29.7847-4.29734 30.062-4.19382 30.5586-4.19382Z" />
827
- </svg>;
828
- case "thin": return <svg viewBox="9.76562 -66.4297 62.1 62.98" {...props}>
829
- <path d="M31.7071-3.44529C32.4864-3.44529 33.0508-3.78319 33.4922-4.42382L71.3731-63.2187C71.7461-63.8203 71.8633-64.2129 71.8633-64.6055C71.8633-65.6621 71.1094-66.4297 70.0391-66.4297C69.3008-66.4297 68.8516-66.1602 68.4453-65.4707L31.6172-8.08401L13.3086-29.8731C12.8535-30.5079 12.377-30.7911 11.6445-30.7911C10.5391-30.7911 9.76562-30.0313 9.76562-28.961C9.76562-28.4981 9.95899-28.0078 10.3672-27.5313L29.7754-4.45116C30.3692-3.71287 30.8926-3.44529 31.7071-3.44529Z" />
830
- </svg>;
831
- case "light": return <svg viewBox="9.76562 -66.75 64.94 64.77" {...props}>
832
- <path d="M33.9492-1.98388C35.3692-1.98388 36.4741-2.60204 37.2759-3.82324L73.8555-61.1968C74.4888-62.1787 74.7061-62.9316 74.7061-63.6846C74.7061-65.502 73.4917-66.75 71.6406-66.75C70.3218-66.75 69.5723-66.3003 68.7856-65.0303L33.7993-9.6255L15.8511-32.5757C15.0156-33.711 14.1987-34.1944 12.9658-34.1944C11.0996-34.1944 9.76562-32.8941 9.76562-31.043C9.76562-30.2598 10.0991-29.4092 10.7476-28.5923L30.4761-3.89062C31.5103-2.57177 32.5142-1.98388 33.9492-1.98388Z" />
833
- </svg>;
834
- case "regular": return <svg viewBox="9.76562 -66.9922 67.09 66.11" {...props}>
835
- <path d="M35.6445-0.878906C37.5488-0.878906 39.0625-1.70898 40.1367-3.36914L75.7324-59.668C76.5625-60.9375 76.8555-61.9629 76.8555-62.9883C76.8555-65.3809 75.293-66.9922 72.8516-66.9922C71.0938-66.9922 70.1172-66.4062 69.043-64.6973L35.4492-10.791L17.7734-34.6191C16.6504-36.1328 15.5762-36.7676 13.9648-36.7676C11.5234-36.7676 9.76562-35.0586 9.76562-32.6172C9.76562-31.5918 10.2051-30.4688 11.0352-29.3945L31.0059-3.4668C32.373-1.70898 33.7402-0.878906 35.6445-0.878906Z" />
836
- </svg>;
837
- case "medium": return <svg viewBox="9.76562 -67.6602 68.7 67.03" {...props}>
838
- <path d="M36.4707-0.632812C38.7002-0.632812 40.46-1.55078 41.6924-3.43066L77.1914-58.9121C78.1182-60.3135 78.4639-61.5322 78.4639-62.707C78.4639-65.6182 76.4268-67.6602 73.4404-67.6602C71.3398-67.6602 70.1084-66.9424 68.8232-64.9082L36.2842-12.9443L19.3379-35.2432C18.0742-36.8711 16.7891-37.5762 14.9229-37.5762C11.9365-37.5762 9.76562-35.4541 9.76562-32.4941C9.76562-31.2139 10.2402-29.9502 11.2988-28.6475L31.208-3.3877C32.7158-1.50684 34.3115-0.632812 36.4707-0.632812Z" />
839
- </svg>;
840
- case "semibold": return <svg viewBox="9.76562 -68.1723 69.93 67.73" {...props}>
841
- <path d="M37.1041-0.444141C39.5829-0.444141 41.5313-1.42949 42.8851-3.47783L78.31-58.3326C79.3108-59.8351 79.697-61.2021 79.697-62.4914C79.697-65.8001 77.296-68.1723 73.8919-68.1723C71.5285-68.1723 70.1017-67.3534 68.6548-65.0699L36.9243-14.5952L20.5373-35.7216C19.1658-37.4371 17.7189-38.1961 15.6573-38.1961C12.2532-38.1961 9.76562-35.7573 9.76562-32.3998C9.76562-30.9241 10.2672-29.5526 11.501-28.0747L31.363-3.32705C32.9786-1.35186 34.7495-0.444141 37.1041-0.444141Z" />
842
- </svg>;
843
- case "bold": return <svg viewBox="9.76562 -68.8477 71.56 68.65" {...props}>
844
- <path d="M37.9395-0.195312C40.7471-0.195312 42.9443-1.26953 44.458-3.54004L79.7852-57.5684C80.8838-59.2041 81.3232-60.7666 81.3232-62.207C81.3232-66.04 78.4424-68.8477 74.4873-68.8477C71.7773-68.8477 70.0928-67.8955 68.4326-65.2832L37.7686-16.7725L22.1191-36.3525C20.6055-38.1836 18.9453-39.0137 16.626-39.0137C12.6709-39.0137 9.76562-36.1572 9.76562-32.2754C9.76562-30.542 10.3027-29.0283 11.7676-27.3193L31.5674-3.24707C33.3252-1.14746 35.3271-0.195312 37.9395-0.195312Z" />
845
- </svg>;
846
- case "heavy": return <svg viewBox="9.76562 -69.8273 73.92 69.99" {...props}>
847
- <path d="M39.1511 0.165596C42.4356 0.165596 44.9938-1.03752 46.7395-3.63027L81.9248-56.4599C83.1652-58.2889 83.682-60.135 83.682-61.7946C83.682-66.3881 80.1051-69.8273 75.3509-69.8273C72.1383-69.8273 70.0799-68.6818 68.1104-65.5926L38.9931-19.9304L24.4135-37.2677C22.6936-39.2663 20.7241-40.1995 18.0309-40.1995C13.2767-40.1995 9.76562-36.7373 9.76562-32.0949C9.76562-29.9877 10.3543-28.2678 12.1543-26.2237L31.8638-3.13106C33.8279-0.851 36.165 0.165596 39.1511 0.165596Z" />
848
- </svg>;
849
- case "black": return <svg viewBox="9.76562 -70.7031 76.03 71.19" {...props}>
850
- <path d="M40.2344 0.488281C43.9453 0.488281 46.8262-0.830078 48.7793-3.71094L83.8379-55.4688C85.2051-57.4707 85.791-59.5703 85.791-61.4258C85.791-66.6992 81.5918-70.7031 76.123-70.7031C72.4609-70.7031 70.0684-69.3848 67.8223-65.8691L40.0879-22.7539L26.4648-38.0859C24.5605-40.2344 22.3145-41.2598 19.2871-41.2598C13.8184-41.2598 9.76562-37.2559 9.76562-31.9336C9.76562-29.4922 10.4004-27.5879 12.5-25.2441L32.1289-3.02734C34.2773-0.585938 36.9141 0.488281 40.2344 0.488281Z" />
851
- </svg>;
771
+ case "ultralight": return /* @__PURE__ */ jsx("svg", {
772
+ viewBox: "9.76562 -66.2656 60.64 62.07",
773
+ ...props,
774
+ children: /* @__PURE__ */ jsx("path", { d: "M30.5586-4.19382C31.0098-4.19382 31.2974-4.38816 31.5543-4.73143L70.1016-64.2544C70.3414-64.6611 70.4073-64.8691 70.4073-65.0771C70.4073-65.7441 69.8892-66.2656 69.2188-66.2656C68.7779-66.2656 68.4824-66.0884 68.271-65.6963L30.4996-7.29446L12.0064-28.4888C11.7461-28.8672 11.4439-29.0479 10.9678-29.0479C10.252-29.0479 9.76562-28.565 9.76562-27.8946C9.76562-27.5957 9.88721-27.2901 10.1724-26.9878L29.4165-4.73827C29.7847-4.29734 30.062-4.19382 30.5586-4.19382Z" })
775
+ });
776
+ case "thin": return /* @__PURE__ */ jsx("svg", {
777
+ viewBox: "9.76562 -66.4297 62.1 62.98",
778
+ ...props,
779
+ children: /* @__PURE__ */ jsx("path", { d: "M31.7071-3.44529C32.4864-3.44529 33.0508-3.78319 33.4922-4.42382L71.3731-63.2187C71.7461-63.8203 71.8633-64.2129 71.8633-64.6055C71.8633-65.6621 71.1094-66.4297 70.0391-66.4297C69.3008-66.4297 68.8516-66.1602 68.4453-65.4707L31.6172-8.08401L13.3086-29.8731C12.8535-30.5079 12.377-30.7911 11.6445-30.7911C10.5391-30.7911 9.76562-30.0313 9.76562-28.961C9.76562-28.4981 9.95899-28.0078 10.3672-27.5313L29.7754-4.45116C30.3692-3.71287 30.8926-3.44529 31.7071-3.44529Z" })
780
+ });
781
+ case "light": return /* @__PURE__ */ jsx("svg", {
782
+ viewBox: "9.76562 -66.75 64.94 64.77",
783
+ ...props,
784
+ children: /* @__PURE__ */ jsx("path", { d: "M33.9492-1.98388C35.3692-1.98388 36.4741-2.60204 37.2759-3.82324L73.8555-61.1968C74.4888-62.1787 74.7061-62.9316 74.7061-63.6846C74.7061-65.502 73.4917-66.75 71.6406-66.75C70.3218-66.75 69.5723-66.3003 68.7856-65.0303L33.7993-9.6255L15.8511-32.5757C15.0156-33.711 14.1987-34.1944 12.9658-34.1944C11.0996-34.1944 9.76562-32.8941 9.76562-31.043C9.76562-30.2598 10.0991-29.4092 10.7476-28.5923L30.4761-3.89062C31.5103-2.57177 32.5142-1.98388 33.9492-1.98388Z" })
785
+ });
786
+ case "regular": return /* @__PURE__ */ jsx("svg", {
787
+ viewBox: "9.76562 -66.9922 67.09 66.11",
788
+ ...props,
789
+ children: /* @__PURE__ */ jsx("path", { d: "M35.6445-0.878906C37.5488-0.878906 39.0625-1.70898 40.1367-3.36914L75.7324-59.668C76.5625-60.9375 76.8555-61.9629 76.8555-62.9883C76.8555-65.3809 75.293-66.9922 72.8516-66.9922C71.0938-66.9922 70.1172-66.4062 69.043-64.6973L35.4492-10.791L17.7734-34.6191C16.6504-36.1328 15.5762-36.7676 13.9648-36.7676C11.5234-36.7676 9.76562-35.0586 9.76562-32.6172C9.76562-31.5918 10.2051-30.4688 11.0352-29.3945L31.0059-3.4668C32.373-1.70898 33.7402-0.878906 35.6445-0.878906Z" })
790
+ });
791
+ case "medium": return /* @__PURE__ */ jsx("svg", {
792
+ viewBox: "9.76562 -67.6602 68.7 67.03",
793
+ ...props,
794
+ children: /* @__PURE__ */ jsx("path", { d: "M36.4707-0.632812C38.7002-0.632812 40.46-1.55078 41.6924-3.43066L77.1914-58.9121C78.1182-60.3135 78.4639-61.5322 78.4639-62.707C78.4639-65.6182 76.4268-67.6602 73.4404-67.6602C71.3398-67.6602 70.1084-66.9424 68.8232-64.9082L36.2842-12.9443L19.3379-35.2432C18.0742-36.8711 16.7891-37.5762 14.9229-37.5762C11.9365-37.5762 9.76562-35.4541 9.76562-32.4941C9.76562-31.2139 10.2402-29.9502 11.2988-28.6475L31.208-3.3877C32.7158-1.50684 34.3115-0.632812 36.4707-0.632812Z" })
795
+ });
796
+ case "semibold": return /* @__PURE__ */ jsx("svg", {
797
+ viewBox: "9.76562 -68.1723 69.93 67.73",
798
+ ...props,
799
+ children: /* @__PURE__ */ jsx("path", { d: "M37.1041-0.444141C39.5829-0.444141 41.5313-1.42949 42.8851-3.47783L78.31-58.3326C79.3108-59.8351 79.697-61.2021 79.697-62.4914C79.697-65.8001 77.296-68.1723 73.8919-68.1723C71.5285-68.1723 70.1017-67.3534 68.6548-65.0699L36.9243-14.5952L20.5373-35.7216C19.1658-37.4371 17.7189-38.1961 15.6573-38.1961C12.2532-38.1961 9.76562-35.7573 9.76562-32.3998C9.76562-30.9241 10.2672-29.5526 11.501-28.0747L31.363-3.32705C32.9786-1.35186 34.7495-0.444141 37.1041-0.444141Z" })
800
+ });
801
+ case "bold": return /* @__PURE__ */ jsx("svg", {
802
+ viewBox: "9.76562 -68.8477 71.56 68.65",
803
+ ...props,
804
+ children: /* @__PURE__ */ jsx("path", { d: "M37.9395-0.195312C40.7471-0.195312 42.9443-1.26953 44.458-3.54004L79.7852-57.5684C80.8838-59.2041 81.3232-60.7666 81.3232-62.207C81.3232-66.04 78.4424-68.8477 74.4873-68.8477C71.7773-68.8477 70.0928-67.8955 68.4326-65.2832L37.7686-16.7725L22.1191-36.3525C20.6055-38.1836 18.9453-39.0137 16.626-39.0137C12.6709-39.0137 9.76562-36.1572 9.76562-32.2754C9.76562-30.542 10.3027-29.0283 11.7676-27.3193L31.5674-3.24707C33.3252-1.14746 35.3271-0.195312 37.9395-0.195312Z" })
805
+ });
806
+ case "heavy": return /* @__PURE__ */ jsx("svg", {
807
+ viewBox: "9.76562 -69.8273 73.92 69.99",
808
+ ...props,
809
+ children: /* @__PURE__ */ jsx("path", { d: "M39.1511 0.165596C42.4356 0.165596 44.9938-1.03752 46.7395-3.63027L81.9248-56.4599C83.1652-58.2889 83.682-60.135 83.682-61.7946C83.682-66.3881 80.1051-69.8273 75.3509-69.8273C72.1383-69.8273 70.0799-68.6818 68.1104-65.5926L38.9931-19.9304L24.4135-37.2677C22.6936-39.2663 20.7241-40.1995 18.0309-40.1995C13.2767-40.1995 9.76562-36.7373 9.76562-32.0949C9.76562-29.9877 10.3543-28.2678 12.1543-26.2237L31.8638-3.13106C33.8279-0.851 36.165 0.165596 39.1511 0.165596Z" })
810
+ });
811
+ case "black": return /* @__PURE__ */ jsx("svg", {
812
+ viewBox: "9.76562 -70.7031 76.03 71.19",
813
+ ...props,
814
+ children: /* @__PURE__ */ jsx("path", { d: "M40.2344 0.488281C43.9453 0.488281 46.8262-0.830078 48.7793-3.71094L83.8379-55.4688C85.2051-57.4707 85.791-59.5703 85.791-61.4258C85.791-66.6992 81.5918-70.7031 76.123-70.7031C72.4609-70.7031 70.0684-69.3848 67.8223-65.8691L40.0879-22.7539L26.4648-38.0859C24.5605-40.2344 22.3145-41.2598 19.2871-41.2598C13.8184-41.2598 9.76562-37.2559 9.76562-31.9336C9.76562-29.4922 10.4004-27.5879 12.5-25.2441L32.1289-3.02734C34.2773-0.585938 36.9141 0.488281 40.2344 0.488281Z" })
815
+ });
852
816
  }
853
817
  }
854
818
 
855
819
  //#endregion
856
820
  //#region src/components/checkbox.tsx
857
821
  function Checkbox({ checkmark, children, className, description, descriptionProps: { className: descriptionClassName, ...descriptionProps } = {}, fieldProps: { className: fieldClassName, ...fieldProps } = {}, labelProps: { className: labelClassName, ...labelProps } = {}, inputContainerProps: { className: inputContainerClassName, ...inputContainerProps } = {}, onChange, required, value, ...props }) {
858
- const [checked, setChecked] = (0, react.useState)(props.defaultChecked || false), [hasInteracted, setHasInteracted] = (0, react.useState)(false);
822
+ const [checked, setChecked] = useState(props.defaultChecked || false), [hasInteracted, setHasInteracted] = useState(false);
859
823
  const handleChange = (newValue) => {
860
824
  setHasInteracted(true);
861
825
  setChecked(newValue);
862
826
  onChange?.(newValue);
863
827
  };
864
- return <_headlessui_react.Field {...fieldProps} className={(bag) => twMerge("ease-exponential corner-super-1.5 -mx-1 grid h-fit w-fit gap-1 rounded-md p-1 transition-[background-color] duration-200 hover:bg-neutral-500/10 data-invalid:ring-1 data-invalid:ring-red-500/50", typeof fieldClassName === "function" ? fieldClassName(bag) : fieldClassName)} {...hasInteracted && required && !checked ? { "data-invalid": "true" } : {}}>
865
- <div {...inputContainerProps} className={twMerge("flex items-start gap-2", inputContainerClassName)}>
866
- <_headlessui_react.Checkbox {...props} {...required ? { "aria-required": "true" } : {}} {...hasInteracted && required && !checked ? { "aria-invalid": "true" } : {}} className={(bag) => twMerge("group/checkbox ease-exponential corner-super-1.5 size-5 shrink-0 cursor-pointer rounded-md border border-neutral-500/50 bg-neutral-100 transition-[background-color] duration-300 [--checkmark-color:var(--base-theme-color--foreground)] [--theme-color:var(--base-theme-color)] focus:ring-3 focus:ring-blue-400 focus:ring-offset-2 focus:ring-offset-(--global-bg) focus:outline-none aria-invalid:border-red-500 data-checked:bg-(--theme-color) dark:bg-neutral-700", typeof className === "function" ? className(bag) : className)} onChange={handleChange} value={value}>
867
- <input checked={props.checked || checked} className="sr-only left-1/2 -translate-x-1/2" onChange={() => {}} onInvalid={() => {
868
- setHasInteracted(true);
869
- }} required={required} role="presentation" tabIndex={-1} type="checkbox" value={value} />
870
-
871
- {checkmark ?? <Checkmark className="ease-exponential size-full scale-0 fill-(--checkmark-color) transition-transform duration-300 group-data-checked/checkbox:scale-60" weight="bold" />}
872
- </_headlessui_react.Checkbox>
873
-
874
- <_headlessui_react.Label {...labelProps} className={(bag) => twMerge("text-sm font-medium", typeof labelClassName === "function" ? labelClassName(bag) : labelClassName)}>
875
- {children}
876
- {required ? <span className="text-red-700">*</span> : ""}
877
- </_headlessui_react.Label>
878
- </div>
879
-
880
- {description && <_headlessui_react.Description {...descriptionProps} className={(bag) => twMerge("text-xs text-current/60", typeof descriptionClassName === "function" ? descriptionClassName(bag) : descriptionClassName)}>
881
- {description}
882
- </_headlessui_react.Description>}
883
- </_headlessui_react.Field>;
828
+ return /* @__PURE__ */ jsxs(Field, {
829
+ ...fieldProps,
830
+ className: (bag) => twMerge("ease-exponential corner-super-1.5 -mx-1 grid h-fit w-fit gap-1 rounded-md p-1 transition-[background-color] duration-200 hover:bg-neutral-500/10 data-invalid:ring-1 data-invalid:ring-red-500/50", typeof fieldClassName === "function" ? fieldClassName(bag) : fieldClassName),
831
+ ...hasInteracted && required && !checked ? { "data-invalid": "true" } : {},
832
+ children: [/* @__PURE__ */ jsxs("div", {
833
+ ...inputContainerProps,
834
+ className: twMerge("flex items-start gap-2", inputContainerClassName),
835
+ children: [/* @__PURE__ */ jsxs(Checkbox$1, {
836
+ ...props,
837
+ ...required ? { "aria-required": "true" } : {},
838
+ ...hasInteracted && required && !checked ? { "aria-invalid": "true" } : {},
839
+ className: (bag) => twMerge("group/checkbox ease-exponential corner-super-1.5 size-5 shrink-0 cursor-pointer rounded-md border border-neutral-500/50 bg-neutral-100 transition-[background-color] duration-300 [--checkmark-color:var(--base-theme-color--foreground)] [--theme-color:var(--base-theme-color)] focus:ring-3 focus:ring-blue-400 focus:ring-offset-2 focus:ring-offset-(--global-bg) focus:outline-none aria-invalid:border-red-500 data-checked:bg-(--theme-color) dark:bg-neutral-700", typeof className === "function" ? className(bag) : className),
840
+ onChange: handleChange,
841
+ value,
842
+ children: [/* @__PURE__ */ jsx("input", {
843
+ checked: props.checked || checked,
844
+ className: "sr-only left-1/2 -translate-x-1/2",
845
+ onChange: () => {},
846
+ onInvalid: () => {
847
+ setHasInteracted(true);
848
+ },
849
+ required,
850
+ role: "presentation",
851
+ tabIndex: -1,
852
+ type: "checkbox",
853
+ value
854
+ }), checkmark ?? /* @__PURE__ */ jsx(Checkmark, {
855
+ className: "ease-exponential size-full scale-0 fill-(--checkmark-color) transition-transform duration-300 group-data-checked/checkbox:scale-60",
856
+ weight: "bold"
857
+ })]
858
+ }), /* @__PURE__ */ jsxs(Label, {
859
+ ...labelProps,
860
+ className: (bag) => twMerge("text-sm font-medium", typeof labelClassName === "function" ? labelClassName(bag) : labelClassName),
861
+ children: [children, required ? /* @__PURE__ */ jsx("span", {
862
+ className: "text-red-700",
863
+ children: "*"
864
+ }) : ""]
865
+ })]
866
+ }), description && /* @__PURE__ */ jsx(Description, {
867
+ ...descriptionProps,
868
+ className: (bag) => twMerge("text-xs text-current/60", typeof descriptionClassName === "function" ? descriptionClassName(bag) : descriptionClassName),
869
+ children: description
870
+ })]
871
+ });
884
872
  }
885
873
 
886
874
  //#endregion
@@ -1063,7 +1051,7 @@ if (isBrowser) {
1063
1051
  * @param {String} str
1064
1052
  * @return {String}
1065
1053
  */
1066
- const toLowerCase$1 = (str) => str.replace(lowerCaseRgx, "$1-$2").toLowerCase();
1054
+ const toLowerCase = (str) => str.replace(lowerCaseRgx, "$1-$2").toLowerCase();
1067
1055
  /**
1068
1056
  * Prioritize this method instead of regex when possible
1069
1057
  * @param {String} str
@@ -1706,7 +1694,7 @@ const sanitizePropertyName = (propertyName, target, tweenType) => {
1706
1694
  const cachedPropertyName = propertyNamesCache[propertyName];
1707
1695
  if (cachedPropertyName) return cachedPropertyName;
1708
1696
  else {
1709
- const lowerCaseName = propertyName ? toLowerCase$1(propertyName) : propertyName;
1697
+ const lowerCaseName = propertyName ? toLowerCase(propertyName) : propertyName;
1710
1698
  propertyNamesCache[propertyName] = lowerCaseName;
1711
1699
  return lowerCaseName;
1712
1700
  }
@@ -1739,7 +1727,7 @@ const cleanInlineStyles = (renderable) => {
1739
1727
  for (let key in cachedTransforms) str += transformsFragmentStrings[key] + cachedTransforms[key] + ") ";
1740
1728
  targetStyle.transform = str;
1741
1729
  }
1742
- } else if (tweenHadNoInlineValue) targetStyle.removeProperty(toLowerCase$1(tweenProperty));
1730
+ } else if (tweenHadNoInlineValue) targetStyle.removeProperty(toLowerCase(tweenProperty));
1743
1731
  else targetStyle[tweenProperty] = originalInlinedValue;
1744
1732
  if (animation._tail === tween) animation.targets.forEach((t) => {
1745
1733
  if (t.getAttribute && t.getAttribute("style") === emptyString) t.removeAttribute("style");
@@ -3673,129 +3661,6 @@ const morphTo = (path2, precision = .33) => ($path1) => {
3673
3661
  return [v1, v2];
3674
3662
  };
3675
3663
 
3676
- //#endregion
3677
- //#region src/utils/class-management.ts
3678
- /**
3679
- * ### Has Class
3680
- * - Returns a boolean based on whether the specified element has the specified class
3681
- * @param {HTMLElement} element Any HTML Element
3682
- * @param {string} className A string of any class to check for
3683
- * @returns {boolean} true if the specified element has the specified class, else false
3684
- */
3685
- function hasClass(element, className) {
3686
- return element.classList.contains(className);
3687
- }
3688
- /**
3689
- * ### Add Class
3690
- * - Adds the specified classes to the specified elements
3691
- * @param {Element|HTMLElement|HTMLElement[]|NodeList|string|undefined} elements An HTML Element, an array of HTML Elements, a Node List, a string (as a selector for a querySelector)
3692
- * @param {string|string[]} classList A string or an array of classes to add to each element
3693
- */
3694
- function addClass(elements, classList) {
3695
- const elementsType = elements.constructor.name, elementsIsString = typeof elements === "string", classListType = classList.constructor.name, classListIsString = typeof classList === "string";
3696
- let elementList, classListGroup;
3697
- switch (elementsType) {
3698
- case "String":
3699
- if (elementsIsString) elementList = Array.from(document.querySelectorAll(elements));
3700
- break;
3701
- case "NodeList":
3702
- if (!elementsIsString) elementList = Array.from(elements);
3703
- break;
3704
- case "Array":
3705
- if (!elementsIsString) elementList = elements;
3706
- break;
3707
- default: if (elementsType.startsWith("HTML") && !elementsIsString) elementList = [elements];
3708
- }
3709
- switch (classListType) {
3710
- case "String":
3711
- if (classListIsString) if (classList.split(" ").length >= 2) classListGroup = classList.split(" ");
3712
- else classListGroup = [classList];
3713
- break;
3714
- case "Array":
3715
- if (!classListIsString) classListGroup = classList;
3716
- break;
3717
- }
3718
- if (!elementList || elementList.length < 1) throw new Error(`Elements are invalid or undefined. elements: ${elements} → elementList: ${elementList}`);
3719
- if (!classListGroup || classListGroup.length < 1) throw new Error(`Class List is invalid or undefined. classList: ${classList} → classListGroup: ${classListGroup}`);
3720
- elementList.forEach((element) => classListGroup.forEach((classItem) => {
3721
- if (hasClass(element, classItem)) return;
3722
- element.classList.add(classItem);
3723
- }));
3724
- }
3725
- /**
3726
- * ### Remove Class
3727
- * - Removes the specified classes from the specified elements
3728
- * @param {HTMLElement|HTMLElement[]|NodeList|string|undefined} elements An HTML Element, an array of HTML Elements, a Node List, a string (as a selector for a querySelector)
3729
- * @param {string|string[]} classList A string or an array of classes to remove from each element
3730
- */
3731
- function removeClass(elements, classList) {
3732
- const elementsType = elements.constructor.name, elementsIsString = typeof elements === "string", classListType = classList.constructor.name, classListIsString = typeof classList === "string";
3733
- let elementList, classListGroup;
3734
- switch (elementsType) {
3735
- case "String":
3736
- if (elementsIsString) elementList = Array.from(document.querySelectorAll(elements));
3737
- break;
3738
- case "NodeList":
3739
- if (!elementsIsString) elementList = Array.from(elements);
3740
- break;
3741
- case "Array":
3742
- if (!elementsIsString) elementList = elements;
3743
- break;
3744
- default: if (elementsType.startsWith("HTML") && !elementsIsString) elementList = [elements];
3745
- }
3746
- switch (classListType) {
3747
- case "String":
3748
- if (classListIsString) if (classList.split(" ").length >= 2) classListGroup = classList.split(" ");
3749
- else classListGroup = [classList];
3750
- break;
3751
- case "Array":
3752
- if (!classListIsString) classListGroup = classList;
3753
- break;
3754
- }
3755
- if (!elementList || elementList.length < 1) throw new Error(`Elements are invalid or undefined. elements: ${elements} → elementList: ${elementList}`);
3756
- if (!classListGroup || classListGroup.length < 1) throw new Error(`Class List is invalid or undefined. classList: ${classList} → classListGroup: ${classListGroup}`);
3757
- elementList.forEach((element) => classListGroup.forEach((classItem) => {
3758
- if (!hasClass(element, classItem)) return;
3759
- element.classList.remove(classItem);
3760
- }));
3761
- }
3762
- /**
3763
- * ### Toggle Class
3764
- * - Toggles the specified classes on the specified elements
3765
- * @param {HTMLElement|HTMLElement[]|NodeList|string|undefined} elements An HTML Element, an array of HTML Elements, a Node List, a string (as a selector for a querySelector)
3766
- * @param {string|string[]} classList A string or an array of classes to toggle on each element
3767
- */
3768
- function toggleClass(elements, classList) {
3769
- const elementsType = elements.constructor.name, elementsIsString = typeof elements === "string", classListType = classList.constructor.name, classListIsString = typeof classList === "string";
3770
- let elementList, classListGroup;
3771
- switch (elementsType) {
3772
- case "String":
3773
- if (elementsIsString) elementList = Array.from(document.querySelectorAll(elements));
3774
- break;
3775
- case "NodeList":
3776
- if (!elementsIsString) elementList = Array.from(elements);
3777
- break;
3778
- case "Array":
3779
- if (!elementsIsString) elementList = elements;
3780
- break;
3781
- default: if (elementsType.startsWith("HTML") && !elementsIsString) elementList = [elements];
3782
- }
3783
- switch (classListType) {
3784
- case "String":
3785
- if (classListIsString) if (classList.split(" ").length >= 2) classListGroup = classList.split(" ");
3786
- else classListGroup = [classList];
3787
- break;
3788
- case "Array":
3789
- if (!classListIsString) classListGroup = classList;
3790
- break;
3791
- }
3792
- if (!elementList || elementList.length < 1) throw new Error(`Elements are invalid or undefined. elements: ${elements} → elementList: ${elementList}`);
3793
- if (!classListGroup || classListGroup.length < 1) throw new Error(`Class List is invalid or undefined. classList: ${classList} → classListGroup: ${classListGroup}`);
3794
- elementList.forEach((element) => classListGroup.forEach((classItem) => {
3795
- element.classList.toggle(classItem);
3796
- }));
3797
- }
3798
-
3799
3664
  //#endregion
3800
3665
  //#region src/utils/get-date.ts
3801
3666
  /** The current date as a Date object */
@@ -3834,25 +3699,6 @@ const currentMonthName = getMonthName();
3834
3699
  /** The name of the current day of the week */
3835
3700
  const currentWeekdayName = getWeekdayName();
3836
3701
  /**
3837
- * ### Days In Month
3838
- * - Returns the number of days in the specified month.
3839
- * @param {Date} date A Date object representing the month to get the number of days for. (Preset to the current date)
3840
- * @returns {number} The number of days in the specified month.
3841
- */
3842
- function daysInMonth(date = d) {
3843
- const selectedYear = date.getFullYear(), selectedMonth = date.getMonth() + 1;
3844
- return new Date(selectedYear, selectedMonth, 0).getDate();
3845
- }
3846
- /**
3847
- * ### First of Month
3848
- * - Returns the first day of the specified month.
3849
- * @param {Date} date A Date object representing the month to get the first day for. (Preset to current date)
3850
- * @returns {Date} A Date object of the given month, with the first day.
3851
- */
3852
- function firstOfMonth(date = d) {
3853
- return new Date(date.getFullYear(), date.getMonth(), 1);
3854
- }
3855
- /**
3856
3702
  * ### Get Date
3857
3703
  * - Returns the date with two digits
3858
3704
  * @param {number|Date} date The date to get date
@@ -3877,28 +3723,6 @@ function getHours(hours = d) {
3877
3723
  return formattedHours;
3878
3724
  }
3879
3725
  /**
3880
- * ### Get Hours in 12
3881
- * - Returns the hour based on the specified 24 hour value in a 12 hour format
3882
- * @param {number|Date} hour The hour to be converted to 12 hour format
3883
- * @returns {number} The hour in a 12 hour format
3884
- */
3885
- function getHoursIn12(hour = d) {
3886
- if (typeof hour !== "number") hour = hour.getHours();
3887
- if (hour > 12) return hour - 12;
3888
- return hour;
3889
- }
3890
- /**
3891
- * ### Get Meridian from Hour
3892
- * - Returns either 'pm' or 'am' based on the specified 24 hour value
3893
- * @param {number|Date} hour The hour to get the meridian from
3894
- * @returns {'am'|'pm'} The meridian for the given hour
3895
- */
3896
- function getMeridianFromHour(hour = d) {
3897
- if (typeof hour !== "number") hour = hour.getHours();
3898
- if (hour >= 12) return "pm";
3899
- return "am";
3900
- }
3901
- /**
3902
3726
  * ### Get Milliseconds
3903
3727
  * - Returns the milliseconds with two digits
3904
3728
  * @param {number|Date} milliseconds The date to get milliseconds
@@ -3934,9 +3758,6 @@ function getMonth(month = d) {
3934
3758
  if (formattedMonth.length === 1) formattedMonth = `0${formattedMonth}`;
3935
3759
  return formattedMonth;
3936
3760
  }
3937
- function getMonthIndexFromName(name) {
3938
- return monthNamesList.findIndex((monthName) => monthName === name);
3939
- }
3940
3761
  /**
3941
3762
  * ### Get Month Name
3942
3763
  * - Returns the name of the specified month
@@ -3948,26 +3769,6 @@ function getMonthName(date = d) {
3948
3769
  return monthNamesList[date.getMonth()];
3949
3770
  }
3950
3771
  /**
3951
- * ### Get Next Month
3952
- * - Returns the number of the following month from the specified month
3953
- * @param {Date} date The Date object representing the month to get the following month from (Preset to current date)
3954
- * @returns {number} The indexed month of the following month
3955
- */
3956
- function getNextMonth(date = d) {
3957
- const givenMonth = date.getMonth();
3958
- return givenMonth === 11 ? 0 : givenMonth + 1;
3959
- }
3960
- /**
3961
- * ### Get Previous Month
3962
- * - Returns the number of the previous month from the specified month
3963
- * @param {Date} date The Date object representing the month to get the previous month from (Preset to current date)
3964
- * @returns {number} The indexed month of the previous month
3965
- */
3966
- function getPreviousMonth(date = d) {
3967
- const givenMonth = date.getMonth();
3968
- return givenMonth === 0 ? 11 : givenMonth - 1;
3969
- }
3970
- /**
3971
3772
  * ### Get Seconds
3972
3773
  * - Returns the seconds with two digits
3973
3774
  * @param {number|Date} seconds The date to get seconds
@@ -3980,25 +3781,6 @@ function getSeconds(seconds = d) {
3980
3781
  return formattedSeconds;
3981
3782
  }
3982
3783
  /**
3983
- * ### Get User Readable Date
3984
- * - Returns a string of the current date in a user-friendly way
3985
- * - Includes `'Yesterday'`, '`Today'`, and `'Tomorrow'`
3986
- * @param date (default: `new Date()`)
3987
- * @returns {'Today'|'Tomorrow'|'Yesterday'|string} `'weekday, month day, year'` | `'Yesterday'` | `'Today'` | `'Tomorrow'`
3988
- */
3989
- function getUserReadableDate(date = d) {
3990
- const dateTime = date.getTime();
3991
- const today = /* @__PURE__ */ new Date();
3992
- if (dateTime === today.getTime()) return "Today";
3993
- if (dateTime === (/* @__PURE__ */ new Date(today.getDate() - 1)).getTime()) return "Yesterday";
3994
- if (dateTime === new Date(today.getDate() + 1).getTime()) return "Tomorrow";
3995
- const thisYear = today.getFullYear();
3996
- return toFullDateString(date, {
3997
- weekday: "code",
3998
- year: !(date.getFullYear() === thisYear)
3999
- });
4000
- }
4001
- /**
4002
3784
  * ### Get Weekday Name
4003
3785
  * - Returns the weekday name of the specified day
4004
3786
  * @param {number | Date} weekday A Date object or number representing the day to get the weekday name from. (Preset to the current date)
@@ -4008,76 +3790,6 @@ function getWeekdayName(weekday = d) {
4008
3790
  if (typeof weekday === "number") return weekdayNamesList[weekday];
4009
3791
  return weekdayNamesList[weekday.getDay()];
4010
3792
  }
4011
- /**
4012
- * ### Get Years in Range
4013
- * - Returns an array of years in between the specified minimum and maximum years
4014
- * @param {number} minYear The minimum year
4015
- * @param {number} maxYear The maximum year
4016
- * @returns {number[]} Array of years
4017
- */
4018
- function getYearsInRange(minYear = 0, maxYear = year) {
4019
- const yearList = [];
4020
- for (let selectedYear = minYear; selectedYear <= maxYear; selectedYear++) yearList.push(selectedYear);
4021
- return yearList;
4022
- }
4023
- /**
4024
- * ### To Full Date String
4025
- * - Returns a formatted string to display the date
4026
- * @param {Date} date (default: `new Date()`)
4027
- * @param {ToFullDateStringOptionsProps} options Change how to display the weekday, month name, day of the month, and year.
4028
- * @returns {string} '`weekday`, `month` `day`, `year`'
4029
- */
4030
- function toFullDateString(date = d, options) {
4031
- let weekdayName = getWeekdayName(date), monthName = getMonthName(date), dayOfMonth = date.getDate(), year = date.getFullYear().toString();
4032
- if (options) {
4033
- const includesWeekday = options.weekday !== false, includesDay = options.day !== false, includesMonth = options.month !== false, includesYear = options.year !== false;
4034
- if (includesWeekday) {
4035
- if (options.weekday === "code") weekdayName = weekdayName.slice(0, 3);
4036
- if (includesMonth || includesDay || includesYear) weekdayName += ", ";
4037
- } else weekdayName = "";
4038
- if (includesMonth) {
4039
- if (options.month === "code") monthName = monthName.slice(0, 3);
4040
- if (includesDay) monthName += " ";
4041
- } else monthName = "";
4042
- if (!includesDay) dayOfMonth = "";
4043
- if (includesYear) {
4044
- if (options.year === "code") year = year.slice(-2);
4045
- if (includesMonth || includesDay) year = ", " + year;
4046
- } else year = "";
4047
- }
4048
- return weekdayName + monthName + dayOfMonth + year;
4049
- }
4050
- /**
4051
- * ### Get User Readable Date From Timestampz
4052
- * - Returns a string of the current date in a user-friendly way
4053
- * - Includes `'Yesterday'`, '`Today'`, and `'Tomorrow'`
4054
- * @param string
4055
- * @returns {'Today'|'Tomorrow'|'Yesterday'|string} `'weekday, month day, year'` | `'Yesterday'` | `'Today'` | `'Tomorrow'`
4056
- */
4057
- function getUserReadableDateFromTimestampz(timestampz) {
4058
- const [date, time] = timestampz.split("T") || [];
4059
- const [year, month, day] = date?.split("-").map((string) => Number(string)) || [];
4060
- const [hms, _timezone] = time?.includes("+") ? time?.split("+") : time?.split("-") || [];
4061
- const [hours, minutes, seconds] = hms?.split(":").map((string) => Number(string)) || [];
4062
- return getUserReadableDate(new Date(year, month - 1, day, hours, minutes, seconds));
4063
- }
4064
- function getLocalTime(time) {
4065
- const date = /* @__PURE__ */ new Date(), [hours, minutes] = typeof time === "string" ? time.split(":") : time;
4066
- const timezone = getTimezone();
4067
- console.log(timezone);
4068
- date.setUTCHours(Number(hours));
4069
- date.setMinutes(Number(minutes));
4070
- return date.toLocaleTimeString([], {
4071
- hour: "numeric",
4072
- minute: "2-digit",
4073
- hour12: true
4074
- });
4075
- }
4076
- function getTimezone() {
4077
- const date = /* @__PURE__ */ new Date();
4078
- const timezonePart = Intl.DateTimeFormat("en-US", { timeZoneName: "short" }).formatToParts(date).find((part) => part.type === "timeZoneName");
4079
- return timezonePart ? timezonePart.value : "";
4080
- }
4081
3793
 
4082
3794
  //#endregion
4083
3795
  //#region src/utils/math.ts
@@ -4085,156 +3797,12 @@ function easeOutExpo(time, start, end, duration) {
4085
3797
  return time == duration ? start + end : end * (-Math.pow(2, -10 * time / duration) + 1) + start;
4086
3798
  }
4087
3799
 
4088
- //#endregion
4089
- //#region src/utils/regex.ts
4090
- const emailRegex = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
4091
- /**
4092
- * # Is Email
4093
- * Checks whether the specified string is in email format
4094
- */
4095
- function isEmail(email) {
4096
- return emailRegex.test(email);
4097
- }
4098
- const telRegex = /(?:\+1\s|1\s|)?\d{3}\.\d{3}\.\d{4}|(?:\+1\s|1\s|)?\d{3}-\d{3}-\d{4}|(?:\+1\s|1\s|)?\(\d{3}\) \d{3}-\d{4}|(?:\+1\s|1\s|\+1|1|)?\d{10}/;
4099
- /**
4100
- * # Is Phone Number
4101
- * Checks whether the specified string is in phone number format
4102
- */
4103
- function isPhoneNumber(tel) {
4104
- return telRegex.test(tel);
4105
- }
4106
-
4107
- //#endregion
4108
- //#region src/utils/string-manipulation.ts
4109
- /**
4110
- * # Format Phone Number
4111
- * Converts any string containing at least 10 numbers to a formatted phone number
4112
- * @param {string} phoneNumber
4113
- * @param options
4114
- * @property {string} `countryCode`
4115
- * @property {'continuous' | 'dot' | 'hyphenated' | 'none' | 'space' | 'standard'} `format`
4116
- *
4117
- * Input: a555b555c5555d
4118
- *
4119
- * @example
4120
- * format: 'continuous'
4121
- * countryCode: '1'
4122
- * returns: +1 5555555555
4123
- *
4124
- * @example
4125
- * format: 'dot'
4126
- * returns: 555.555.5555
4127
- *
4128
- * @example
4129
- * format: 'hyphenated'
4130
- * returns: 555-555-5555
4131
- *
4132
- * @example
4133
- * format: 'none'
4134
- * countryCode: '1'
4135
- * returns: +1 a555b555c5555d
4136
- *
4137
- * @example
4138
- * format: 'space'
4139
- * returns: 555 555 5555
4140
- *
4141
- * @example
4142
- * format: 'standard' (default)
4143
- * returns: (555) 555-5555
4144
- *
4145
- * @returns {string} string formatted
4146
- */
4147
- function formatPhoneNumber(phoneNumber, options) {
4148
- const format = options?.format || "standard";
4149
- if (format !== "none") phoneNumber = phoneNumber.replace(/\D/g, "").slice(-10);
4150
- switch (format) {
4151
- case "dot":
4152
- phoneNumber = phoneNumber.split("").map((char, index) => {
4153
- if (index === 2) return `${char}.`;
4154
- if (index === 5) return `${char}.`;
4155
- return char;
4156
- }).join("");
4157
- break;
4158
- case "hyphenated":
4159
- phoneNumber = phoneNumber.split("").map((char, index) => {
4160
- if (index === 2) return `${char}-`;
4161
- if (index === 5) return `${char}-`;
4162
- return char;
4163
- }).join("");
4164
- break;
4165
- case "space":
4166
- phoneNumber = phoneNumber.split("").map((char, index) => {
4167
- if (index === 2) return `${char} `;
4168
- if (index === 5) return `${char} `;
4169
- return char;
4170
- }).join("");
4171
- break;
4172
- case "standard": phoneNumber = phoneNumber.split("").map((char, index) => {
4173
- if (index === 0) return `(${char}`;
4174
- if (index === 2) return `${char}) `;
4175
- if (index === 5) return `${char}-`;
4176
- return char;
4177
- }).join("");
4178
- }
4179
- return `${options?.countryCode ? `+${options?.countryCode} ` : ""}` + phoneNumber;
4180
- }
4181
- /**
4182
- * ### Split Camel Case
4183
- * - Separates a camel case string with a joiner (default: ' ')
4184
- * @param {string} string
4185
- * @returns {string} string
4186
- */
4187
- function splitCamelCase(string, joiner = " ") {
4188
- if (string[0].match(/[A-Z0-9]/) || string.includes(" ")) return string;
4189
- let lastChar = "";
4190
- return string.split("").map((char) => {
4191
- let returnedString = char;
4192
- if (char.match(/[A-Z0-9]/)) returnedString = ` ${char}`;
4193
- if (lastChar.match(/[0-9]/) && char.match(/[0-9]/)) returnedString = char;
4194
- lastChar = char;
4195
- return returnedString;
4196
- }).join(joiner);
4197
- }
4198
- /**
4199
- * ### To Camel Case
4200
- * - Converts any string to camel case based on spaces
4201
- * - Eliminates no letter-number characters
4202
- * @param {string} string
4203
- * @returns {string} string
4204
- */
4205
- function toCamelCase(string, delimiter = " ") {
4206
- if (typeof string !== "string") return string;
4207
- return string.toLowerCase().replace(/[^a-z0-9]/gi, delimiter).split(delimiter).map((str, index) => index === 0 ? str : str.substring(0, 1).toUpperCase() + str.substring(1, str.length).toLowerCase()).join("");
4208
- }
4209
- /**
4210
- * # To Lower Case
4211
- * Converts a string to lowercase, and offers easy string replacements for creating snake case, kebab case, or your own.
4212
- * @param str - The string to convert to lowercase.
4213
- * @param options - Configuration options.
4214
- * @param options[0] - The delimiter to split the string. Defaults to space.
4215
- * @param options[1] - The string to join the parts back together. Defaults to space.
4216
- * @returns The lowercase version of the input string, with the replacements, if provided.
4217
- */
4218
- function toLowerCase(str, [delimiter, joiner]) {
4219
- return str.toLowerCase().replaceAll(delimiter || " ", joiner || " ");
4220
- }
4221
- /**
4222
- * ### To Title Case
4223
- * - Converts any string to title case based on spaces
4224
- * @param {string} string
4225
- * @returns {string} string
4226
- */
4227
- function toTitleCase(string, delimiter = " ") {
4228
- if (typeof string !== "string") return string;
4229
- return string.toLowerCase().split(delimiter).map((str) => str.substring(0, 1).toUpperCase() + str.substring(1, str.length).toLowerCase()).join(" ");
4230
- }
4231
-
4232
3800
  //#endregion
4233
3801
  //#region src/components/chevron-up-down-anime.tsx
4234
3802
  function ChevronUpDownAnime({ className, isUp = false }) {
4235
- const firstLoadRef = (0, react.useRef)(true);
4236
- const controlPathRef = (0, react.useRef)(null), chevronDownRef = (0, react.useRef)(null), chevronUpRef = (0, react.useRef)(null);
4237
- (0, react.useEffect)(() => {
3803
+ const firstLoadRef = useRef(true);
3804
+ const controlPathRef = useRef(null), chevronDownRef = useRef(null), chevronUpRef = useRef(null);
3805
+ useEffect(() => {
4238
3806
  if (firstLoadRef.current) {
4239
3807
  firstLoadRef.current = false;
4240
3808
  return;
@@ -4251,57 +3819,85 @@ function ChevronUpDownAnime({ className, isUp = false }) {
4251
3819
  ease: "outExpo"
4252
3820
  });
4253
3821
  }, [isUp]);
4254
- return <svg viewBox="0 0 69 39" className={twMerge("w-4", className)}>
4255
- <path d="M3.997,4.008l30.498,30.989l30.498,-30.989" className="fill-none stroke-8" strokeLinecap="round" ref={controlPathRef} />
4256
-
4257
- <g className="opacity-0">
4258
- <path d="M3.997,4.008l30.498,30.989l30.498,-30.989" ref={chevronDownRef} />
4259
-
4260
- <path d="M3.997,34.997l30.498,-30.989l30.498,30.989" ref={chevronUpRef} />
4261
- </g>
4262
- </svg>;
3822
+ return /* @__PURE__ */ jsxs("svg", {
3823
+ viewBox: "0 0 69 39",
3824
+ className: twMerge("w-4", className),
3825
+ children: [/* @__PURE__ */ jsx("path", {
3826
+ d: "M3.997,4.008l30.498,30.989l30.498,-30.989",
3827
+ className: "fill-none stroke-8",
3828
+ strokeLinecap: "round",
3829
+ ref: controlPathRef
3830
+ }), /* @__PURE__ */ jsxs("g", {
3831
+ className: "opacity-0",
3832
+ children: [/* @__PURE__ */ jsx("path", {
3833
+ d: "M3.997,4.008l30.498,30.989l30.498,-30.989",
3834
+ ref: chevronDownRef
3835
+ }), /* @__PURE__ */ jsx("path", {
3836
+ d: "M3.997,34.997l30.498,-30.989l30.498,30.989",
3837
+ ref: chevronUpRef
3838
+ })]
3839
+ })]
3840
+ });
4263
3841
  }
4264
3842
 
4265
3843
  //#endregion
4266
3844
  //#region src/components/details.tsx
4267
3845
  function DetailsSummary({ arrow = true, children, className, onClick, ...props }) {
4268
- const [isUp, setIsUp] = (0, react.useState)(false);
3846
+ const [isUp, setIsUp] = useState(false);
4269
3847
  const handleClick = (e) => {
4270
3848
  setIsUp((previous) => !previous);
4271
3849
  onClick?.(e);
4272
3850
  };
4273
- return <_headlessui_react.DisclosureButton {...props} as={Button} className={twMerge("w-full", className, Boolean(arrow) && "grid grid-cols-[1fr_1rem] gap-2")} onClick={handleClick} role="summary">
4274
- {(bag) => <>
4275
- {typeof children === "function" ? children(bag) : children}
4276
-
4277
- {arrow && (typeof arrow === "boolean" ? <ChevronUpDownAnime className="absolute top-1/2 right-3 block -translate-y-1/2" isUp={isUp} /> : arrow)}
4278
- </>}
4279
- </_headlessui_react.DisclosureButton>;
3851
+ return /* @__PURE__ */ jsx(DisclosureButton, {
3852
+ ...props,
3853
+ as: Button,
3854
+ className: twMerge("w-full", className, Boolean(arrow) && "grid grid-cols-[1fr_1rem] gap-2"),
3855
+ onClick: handleClick,
3856
+ role: "summary",
3857
+ children: (bag) => /* @__PURE__ */ jsxs(Fragment, { children: [typeof children === "function" ? children(bag) : children, arrow && (typeof arrow === "boolean" ? /* @__PURE__ */ jsx(ChevronUpDownAnime, {
3858
+ className: "absolute top-1/2 right-3 block -translate-y-1/2",
3859
+ isUp
3860
+ }) : arrow)] })
3861
+ });
4280
3862
  }
4281
3863
  function DetailsBody({ children, className, ...props }) {
4282
- return <_headlessui_react.DisclosurePanel {...props} className={twMerge("grid-rows-1fr transition-rows ease-exponential data-closed:grid-rows-0fr grid duration-500", className)} transition>
4283
- {(bag) => <div className="overflow-y-hidden px-2 pt-3 pb-1">
4284
- {typeof children === "function" ? children(bag) : children}
4285
- </div>}
4286
- </_headlessui_react.DisclosurePanel>;
3864
+ return /* @__PURE__ */ jsx(DisclosurePanel, {
3865
+ ...props,
3866
+ className: twMerge("grid-rows-1fr transition-rows ease-exponential data-closed:grid-rows-0fr grid duration-500", className),
3867
+ transition: true,
3868
+ children: (bag) => /* @__PURE__ */ jsx("div", {
3869
+ className: "overflow-y-hidden px-2 pt-3 pb-1",
3870
+ children: typeof children === "function" ? children(bag) : children
3871
+ })
3872
+ });
4287
3873
  }
4288
3874
  function Details({ as = "div", className, ...props }) {
4289
- return <_headlessui_react.Disclosure {...props} as={as} className={twMerge("rounded-2xl bg-neutral-500/25 p-2", className)} role="details" />;
3875
+ return /* @__PURE__ */ jsx(Disclosure, {
3876
+ ...props,
3877
+ as,
3878
+ className: twMerge("rounded-2xl bg-neutral-500/25 p-2", className),
3879
+ role: "details"
3880
+ });
4290
3881
  }
4291
3882
 
4292
3883
  //#endregion
4293
3884
  //#region src/components/drop-down.tsx
4294
3885
  function DropDownButton({ arrow = true, as, children, className, ...props }) {
4295
- return <_headlessui_react.MenuButton {...props} as={as || "button"} className={(0, tailwind_merge.twJoin)("group/button", className)}>
4296
- {(bag) => <>
4297
- {typeof children === "function" ? children(bag) : children}
4298
-
4299
- {arrow && (typeof arrow === "boolean" ? <ChevronUpDownAnime className="-mr-1" isUp={bag.open} /> : arrow)}
4300
- </>}
4301
- </_headlessui_react.MenuButton>;
3886
+ return /* @__PURE__ */ jsx(MenuButton, {
3887
+ ...props,
3888
+ as: as || "button",
3889
+ className: twJoin("group/button", className),
3890
+ children: (bag) => /* @__PURE__ */ jsxs(Fragment, { children: [typeof children === "function" ? children(bag) : children, arrow && (typeof arrow === "boolean" ? /* @__PURE__ */ jsx(ChevronUpDownAnime, {
3891
+ className: "-mr-1",
3892
+ isUp: bag.open
3893
+ }) : arrow)] })
3894
+ });
4302
3895
  }
4303
3896
  function DropDownItem({ as, ...props }) {
4304
- return <_headlessui_react.MenuItem {...props} as={as || "div"} />;
3897
+ return /* @__PURE__ */ jsx(MenuItem, {
3898
+ ...props,
3899
+ as: as || "div"
3900
+ });
4305
3901
  }
4306
3902
  function DropDownItems({ anchor, children, className, containerClassName, style, ...props }) {
4307
3903
  const getAnchorProps = () => {
@@ -4320,41 +3916,53 @@ function DropDownItems({ anchor, children, className, containerClassName, style,
4320
3916
  return initialAnchor;
4321
3917
  };
4322
3918
  const anchorProps = getAnchorProps();
4323
- return <_headlessui_react.MenuItems {...props} anchor={anchorProps} className={twMerge("grid-rows-1fr transition-rows ease-exponential not-data-open:not-data-enter:not-data-leave:grid-rows-0fr data-closed:grid-rows-0fr grid rounded-xl shadow-xl duration-500", containerClassName)} static={props.static} style={{
4324
- ...style,
4325
- minWidth: "var(--button-width)"
4326
- }} transition>
4327
- {(bag) => <div className="overflow-y-scroll">
4328
- <div className={twMerge("rounded-xl bg-neutral-50/20 px-6 py-5 backdrop-blur-md backdrop-brightness-150", className)}>
4329
- {typeof children === "function" ? children(bag) : children}
4330
- </div>
4331
- </div>}
4332
- </_headlessui_react.MenuItems>;
3919
+ return /* @__PURE__ */ jsx(MenuItems, {
3920
+ ...props,
3921
+ anchor: anchorProps,
3922
+ className: twMerge("grid-rows-1fr transition-rows ease-exponential not-data-open:not-data-enter:not-data-leave:grid-rows-0fr data-closed:grid-rows-0fr grid rounded-xl shadow-xl duration-500", containerClassName),
3923
+ static: props.static,
3924
+ style: {
3925
+ ...style,
3926
+ minWidth: "var(--button-width)"
3927
+ },
3928
+ transition: true,
3929
+ children: (bag) => /* @__PURE__ */ jsx("div", {
3930
+ className: "overflow-y-scroll",
3931
+ children: /* @__PURE__ */ jsx("div", {
3932
+ className: twMerge("rounded-xl bg-neutral-50/20 px-6 py-5 backdrop-blur-md backdrop-brightness-150", className),
3933
+ children: typeof children === "function" ? children(bag) : children
3934
+ })
3935
+ })
3936
+ });
4333
3937
  }
4334
3938
  function DropDownSection({ children, label, labelProps, separatorAbove, separatorBelow, ...props }) {
4335
3939
  const { labelClassName, ...restLabelProps } = {
4336
3940
  labelClassName: labelProps?.className || "",
4337
3941
  ...labelProps
4338
3942
  };
4339
- return <_headlessui_react.MenuSection {...props}>
4340
- {(sectionBag) => <>
4341
- {separatorAbove && <DropDownSeparator />}
4342
-
4343
- {label && <_headlessui_react.MenuHeading {...restLabelProps} className={(headingBag) => twMerge("text-[larger] font-bold text-current/80", typeof labelClassName === "function" ? labelClassName(headingBag) : labelClassName)}>
4344
- {label}
4345
- </_headlessui_react.MenuHeading>}
4346
-
4347
- {typeof children === "function" ? children(sectionBag) : children}
4348
-
4349
- {separatorBelow && <DropDownSeparator />}
4350
- </>}
4351
- </_headlessui_react.MenuSection>;
3943
+ return /* @__PURE__ */ jsx(MenuSection, {
3944
+ ...props,
3945
+ children: (sectionBag) => /* @__PURE__ */ jsxs(Fragment, { children: [
3946
+ separatorAbove && /* @__PURE__ */ jsx(DropDownSeparator, {}),
3947
+ label && /* @__PURE__ */ jsx(MenuHeading, {
3948
+ ...restLabelProps,
3949
+ className: (headingBag) => twMerge("text-[larger] font-bold text-current/80", typeof labelClassName === "function" ? labelClassName(headingBag) : labelClassName),
3950
+ children: label
3951
+ }),
3952
+ typeof children === "function" ? children(sectionBag) : children,
3953
+ separatorBelow && /* @__PURE__ */ jsx(DropDownSeparator, {})
3954
+ ] })
3955
+ });
4352
3956
  }
4353
3957
  function DropDownSeparator({ as, className, ...props }) {
4354
- return <_headlessui_react.MenuSeparator {...props} as={as || "div"} className={(bag) => twMerge("my-4 block h-px rounded-full bg-neutral-950/20", typeof className === "function" ? className(bag) : className)} />;
3958
+ return /* @__PURE__ */ jsx(MenuSeparator, {
3959
+ ...props,
3960
+ as: as || "div",
3961
+ className: (bag) => twMerge("my-4 block h-px rounded-full bg-neutral-950/20", typeof className === "function" ? className(bag) : className)
3962
+ });
4355
3963
  }
4356
3964
  function DropDown(props) {
4357
- return <_headlessui_react.Menu {...props} />;
3965
+ return /* @__PURE__ */ jsx(Menu, { ...props });
4358
3966
  }
4359
3967
 
4360
3968
  //#endregion
@@ -4362,40 +3970,45 @@ function DropDown(props) {
4362
3970
  function Fieldset({ children, className, legend, legendProps, name, ...props }) {
4363
3971
  const { className: legendClassName, ...restLegendProps } = legendProps || {};
4364
3972
  name = legend || name;
4365
- return <_headlessui_react.Fieldset {...props} name={name} className={(bag) => twMerge("contents", typeof className === "function" ? className(bag) : className)}>
4366
- {(bag) => <>
4367
- {legend && <_headlessui_react.Legend {...restLegendProps} className={twMerge("text-xl font-bold text-current/80", typeof legendClassName === "function" ? legendClassName(bag) : legendClassName)}>
4368
- {legend}
4369
- </_headlessui_react.Legend>}
4370
-
4371
- {typeof children === "function" ? children(bag) : children}
4372
- </>}
4373
- </_headlessui_react.Fieldset>;
3973
+ return /* @__PURE__ */ jsx(Fieldset$1, {
3974
+ ...props,
3975
+ name,
3976
+ className: (bag) => twMerge("contents", typeof className === "function" ? className(bag) : className),
3977
+ children: (bag) => /* @__PURE__ */ jsxs(Fragment, { children: [legend && /* @__PURE__ */ jsx(Legend, {
3978
+ ...restLegendProps,
3979
+ className: twMerge("text-xl font-bold text-current/80", typeof legendClassName === "function" ? legendClassName(bag) : legendClassName),
3980
+ children: legend
3981
+ }), typeof children === "function" ? children(bag) : children] })
3982
+ });
4374
3983
  }
4375
3984
 
4376
3985
  //#endregion
4377
3986
  //#region src/components/form.tsx
4378
3987
  function Form({ children, className, ...props }) {
4379
- return <form {...props} className={twMerge("grid gap-3", className)}>
4380
- {children}
4381
- </form>;
3988
+ return /* @__PURE__ */ jsx("form", {
3989
+ ...props,
3990
+ className: twMerge("grid gap-3", className),
3991
+ children
3992
+ });
4382
3993
  }
4383
3994
 
4384
3995
  //#endregion
4385
3996
  //#region src/components/ghost.tsx
4386
3997
  function Ghost({ children, className, ...props }) {
4387
- return <div {...props} className={twMerge("block w-24 max-w-full animate-pulse rounded bg-neutral-500/15 backdrop-brightness-110", className)}>
4388
- {children || <>&nbsp;</>}
4389
- </div>;
3998
+ return /* @__PURE__ */ jsx("div", {
3999
+ ...props,
4000
+ className: twMerge("block w-24 max-w-full animate-pulse rounded bg-neutral-500/15 backdrop-brightness-110", className),
4001
+ children: children || /* @__PURE__ */ jsx(Fragment, { children: "\xA0" })
4002
+ });
4390
4003
  }
4391
4004
 
4392
4005
  //#endregion
4393
4006
  //#region src/components/heading.tsx
4394
4007
  function getTextFromChildren(children) {
4395
4008
  let text = "";
4396
- react.Children.forEach(children, (child) => {
4009
+ Children.forEach(children, (child) => {
4397
4010
  if (typeof child === "string" || typeof child === "number") text += child;
4398
- else if ((0, react.isValidElement)(child)) text += getTextFromChildren(child.props.children);
4011
+ else if (isValidElement(child)) text += getTextFromChildren(child.props.children);
4399
4012
  });
4400
4013
  return text;
4401
4014
  }
@@ -4418,42 +4031,64 @@ function Heading({ as = "h2", children, customize, className, id, ref, ...props
4418
4031
  }
4419
4032
  };
4420
4033
  const baseClasses = getBaseClasses();
4421
- return <HeadingElement ref={ref} id={targetableID} {...props} className={twMerge(baseClasses, className)}>
4422
- {children}
4423
- </HeadingElement>;
4034
+ return /* @__PURE__ */ jsx(HeadingElement, {
4035
+ ref,
4036
+ id: targetableID,
4037
+ ...props,
4038
+ className: twMerge(baseClasses, className),
4039
+ children
4040
+ });
4424
4041
  }
4425
4042
 
4426
4043
  //#endregion
4427
4044
  //#region src/symbols/chevron.forward.tsx
4428
4045
  function ChevronForward({ weight = "regular", ...props }) {
4429
4046
  switch (weight) {
4430
- case "ultralight": return <svg viewBox="14.6484 -64.7007 33.47 58.89" {...props}>
4431
- <path d="M48.1162-35.2539C48.1162-35.6924 47.9527-35.9424 47.6221-36.2276L16.6289-64.3462C16.396-64.5826 16.1006-64.7007 15.7949-64.7007C15.1802-64.7007 14.6484-64.2178 14.6484-63.5576C14.6484-63.2554 14.7734-63.002 14.9575-62.811L45.2949-35.2539L14.9575-7.69678C14.7734-7.50586 14.6484-7.25585 14.6484-6.95018C14.6484-6.29001 15.1802-5.80709 15.7949-5.80709C16.1006-5.80709 16.396-5.92526 16.6289-6.16159L47.6221-34.2803C47.9527-34.5654 48.1162-34.8154 48.1162-35.2539Z" />
4432
- </svg>;
4433
- case "thin": return <svg viewBox="14.6484 -65.7364 34.55 60.96" {...props}>
4434
- <path d="M49.2032-35.2539C49.2032-35.8359 48.9883-36.25 48.5449-36.6582L17.7364-65.1973C17.3907-65.5567 16.9414-65.7364 16.4512-65.7364C15.457-65.7364 14.6484-64.9766 14.6484-63.9473C14.6484-63.4707 14.8555-63.043 15.1523-62.7187L44.8027-35.2539L15.1523-7.78906C14.8555-7.46484 14.6484-7.05078 14.6484-6.56054C14.6484-5.53123 15.457-4.77146 16.4512-4.77146C16.9414-4.77146 17.3907-4.95115 17.7364-5.31052L48.5449-33.8496C48.9883-34.2578 49.2032-34.6719 49.2032-35.2539Z" />
4435
- </svg>;
4436
- case "light": return <svg viewBox="14.6484 -67.7583 36.68 65.01" {...props}>
4437
- <path d="M51.3252-35.2539C51.3252-36.1162 51.0103-36.8506 50.3467-37.499L19.8985-66.8589C19.3325-67.4585 18.583-67.7583 17.7324-67.7583C15.9976-67.7583 14.6484-66.458 14.6484-64.708C14.6484-63.8911 15.0156-63.123 15.5327-62.5386L43.8418-35.2539L15.5327-7.96924C15.0156-7.38477 14.6484-6.65039 14.6484-5.7998C14.6484-4.0498 15.9976-2.7495 17.7324-2.7495C18.583-2.7495 19.3325-3.04931 19.8985-3.64892L50.3467-33.0088C51.0103-33.6572 51.3252-34.3916 51.3252-35.2539Z" />
4438
- </svg>;
4439
- case "regular": return <svg viewBox="14.6484 -69.2871 38.28 68.07" {...props}>
4440
- <path d="M52.9297-35.2539C52.9297-36.3281 52.5391-37.3047 51.709-38.1348L21.5332-68.1152C20.8008-68.8965 19.8242-69.2871 18.7012-69.2871C16.4062-69.2871 14.6484-67.5781 14.6484-65.2832C14.6484-64.209 15.1367-63.1836 15.8203-62.4023L43.1152-35.2539L15.8203-8.10547C15.1367-7.32422 14.6484-6.34766 14.6484-5.22461C14.6484-2.92969 16.4062-1.2207 18.7012-1.2207C19.8242-1.2207 20.8008-1.61133 21.5332-2.39258L51.709-32.373C52.5391-33.2031 52.9297-34.1797 52.9297-35.2539Z" />
4441
- </svg>;
4442
- case "medium": return <svg viewBox="14.8242 -69.832 39.74 69.17" {...props}>
4443
- <path d="M54.5645-35.2539C54.5557-36.6797 54.0508-37.9023 52.9131-39.0312L23.2559-68.4141C22.3389-69.3711 21.1777-69.832 19.8086-69.832C17.0215-69.832 14.8242-67.6836 14.8242-64.9141C14.8242-63.585 15.4092-62.3223 16.3389-61.3301L42.7109-35.2627L16.3389-9.17773C15.418-8.18555 14.8242-6.96289 14.8242-5.58496C14.8242-2.81543 17.0215-0.666992 19.8086-0.666992C21.1689-0.666992 22.3389-1.12793 23.2559-2.08496L52.9131-31.4766C54.0596-32.6055 54.5645-33.8369 54.5645-35.2539Z" />
4444
- </svg>;
4445
- case "semibold": return <svg viewBox="14.959 -70.2498 40.86 70.01" {...props}>
4446
- <path d="M55.8178-35.2539C55.8022-36.9492 55.2098-38.3605 53.8362-39.7186L24.5766-68.6432C23.5181-69.735 22.2154-70.2498 20.6576-70.2498C17.4932-70.2498 14.959-67.7645 14.959-64.6311C14.959-63.1065 15.6181-61.6619 16.7364-60.508L42.401-35.2694L16.7364-9.9998C15.6336-8.8459 14.959-7.43457 14.959-5.86123C14.959-2.72783 17.4932-0.24248 20.6576-0.24248C22.1999-0.24248 23.5181-0.757324 24.5766-1.84912L53.8362-30.7893C55.2253-32.1473 55.8178-33.5741 55.8178-35.2539Z" />
4447
- </svg>;
4448
- case "bold": return <svg viewBox="15.1367 -70.8008 42.33 71.12" {...props}>
4449
- <path d="M57.4707-35.2539C57.4463-37.3047 56.7383-38.9648 55.0537-40.625L26.3184-68.9453C25.0732-70.2148 23.584-70.8008 21.7773-70.8008C18.1152-70.8008 15.1367-67.8711 15.1367-64.2578C15.1367-62.4756 15.8936-60.791 17.2607-59.4238L41.9922-35.2783L17.2607-11.084C15.918-9.7168 15.1367-8.05664 15.1367-6.22559C15.1367-2.6123 18.1152 0.317383 21.7773 0.317383C23.5596 0.317383 25.0732-0.268555 26.3184-1.53809L55.0537-29.8828C56.7627-31.543 57.4707-33.2275 57.4707-35.2539Z" />
4450
- </svg>;
4451
- case "heavy": return <svg viewBox="15.3945 -71.5999 44.47 72.73" {...props}>
4452
- <path d="M59.8682-35.2539C59.8309-37.8203 58.9553-39.8413 56.8196-41.9397L28.8447-69.3836C27.3289-70.9109 25.569-71.5999 23.4014-71.5999C19.0175-71.5999 15.3945-68.0258 15.3945-63.7164C15.3945-61.5604 16.2931-59.5278 18.0212-57.8513L41.3993-35.2912L18.0212-12.6565C16.3304-10.98 15.3945-8.95891 15.3945-6.75406C15.3945-2.44474 19.0175 1.12943 23.4014 1.12943C25.5317 1.12943 27.3289 0.440373 28.8447-1.08695L56.8196-28.5681C58.9926-30.6665 59.8682-32.7248 59.8682-35.2539Z" />
4453
- </svg>;
4454
- case "black": return <svg viewBox="15.625 -72.3145 46.39 74.17" {...props}>
4455
- <path d="M62.0117-35.2539C61.9629-38.2812 60.9375-40.625 58.3984-43.1152L31.1035-69.7754C29.3457-71.5332 27.3438-72.3145 24.8535-72.3145C19.8242-72.3145 15.625-68.1641 15.625-63.2324C15.625-60.7422 16.6504-58.3984 18.7012-56.4453L40.8691-35.3027L18.7012-14.0625C16.6992-12.1094 15.625-9.76562 15.625-7.22656C15.625-2.29492 19.8242 1.85547 24.8535 1.85547C27.2949 1.85547 29.3457 1.07422 31.1035-0.683594L58.3984-27.3926C60.9863-29.8828 62.0117-32.2754 62.0117-35.2539Z" />
4456
- </svg>;
4047
+ case "ultralight": return /* @__PURE__ */ jsx("svg", {
4048
+ viewBox: "14.6484 -64.7007 33.47 58.89",
4049
+ ...props,
4050
+ children: /* @__PURE__ */ jsx("path", { d: "M48.1162-35.2539C48.1162-35.6924 47.9527-35.9424 47.6221-36.2276L16.6289-64.3462C16.396-64.5826 16.1006-64.7007 15.7949-64.7007C15.1802-64.7007 14.6484-64.2178 14.6484-63.5576C14.6484-63.2554 14.7734-63.002 14.9575-62.811L45.2949-35.2539L14.9575-7.69678C14.7734-7.50586 14.6484-7.25585 14.6484-6.95018C14.6484-6.29001 15.1802-5.80709 15.7949-5.80709C16.1006-5.80709 16.396-5.92526 16.6289-6.16159L47.6221-34.2803C47.9527-34.5654 48.1162-34.8154 48.1162-35.2539Z" })
4051
+ });
4052
+ case "thin": return /* @__PURE__ */ jsx("svg", {
4053
+ viewBox: "14.6484 -65.7364 34.55 60.96",
4054
+ ...props,
4055
+ children: /* @__PURE__ */ jsx("path", { d: "M49.2032-35.2539C49.2032-35.8359 48.9883-36.25 48.5449-36.6582L17.7364-65.1973C17.3907-65.5567 16.9414-65.7364 16.4512-65.7364C15.457-65.7364 14.6484-64.9766 14.6484-63.9473C14.6484-63.4707 14.8555-63.043 15.1523-62.7187L44.8027-35.2539L15.1523-7.78906C14.8555-7.46484 14.6484-7.05078 14.6484-6.56054C14.6484-5.53123 15.457-4.77146 16.4512-4.77146C16.9414-4.77146 17.3907-4.95115 17.7364-5.31052L48.5449-33.8496C48.9883-34.2578 49.2032-34.6719 49.2032-35.2539Z" })
4056
+ });
4057
+ case "light": return /* @__PURE__ */ jsx("svg", {
4058
+ viewBox: "14.6484 -67.7583 36.68 65.01",
4059
+ ...props,
4060
+ children: /* @__PURE__ */ jsx("path", { d: "M51.3252-35.2539C51.3252-36.1162 51.0103-36.8506 50.3467-37.499L19.8985-66.8589C19.3325-67.4585 18.583-67.7583 17.7324-67.7583C15.9976-67.7583 14.6484-66.458 14.6484-64.708C14.6484-63.8911 15.0156-63.123 15.5327-62.5386L43.8418-35.2539L15.5327-7.96924C15.0156-7.38477 14.6484-6.65039 14.6484-5.7998C14.6484-4.0498 15.9976-2.7495 17.7324-2.7495C18.583-2.7495 19.3325-3.04931 19.8985-3.64892L50.3467-33.0088C51.0103-33.6572 51.3252-34.3916 51.3252-35.2539Z" })
4061
+ });
4062
+ case "regular": return /* @__PURE__ */ jsx("svg", {
4063
+ viewBox: "14.6484 -69.2871 38.28 68.07",
4064
+ ...props,
4065
+ children: /* @__PURE__ */ jsx("path", { d: "M52.9297-35.2539C52.9297-36.3281 52.5391-37.3047 51.709-38.1348L21.5332-68.1152C20.8008-68.8965 19.8242-69.2871 18.7012-69.2871C16.4062-69.2871 14.6484-67.5781 14.6484-65.2832C14.6484-64.209 15.1367-63.1836 15.8203-62.4023L43.1152-35.2539L15.8203-8.10547C15.1367-7.32422 14.6484-6.34766 14.6484-5.22461C14.6484-2.92969 16.4062-1.2207 18.7012-1.2207C19.8242-1.2207 20.8008-1.61133 21.5332-2.39258L51.709-32.373C52.5391-33.2031 52.9297-34.1797 52.9297-35.2539Z" })
4066
+ });
4067
+ case "medium": return /* @__PURE__ */ jsx("svg", {
4068
+ viewBox: "14.8242 -69.832 39.74 69.17",
4069
+ ...props,
4070
+ children: /* @__PURE__ */ jsx("path", { d: "M54.5645-35.2539C54.5557-36.6797 54.0508-37.9023 52.9131-39.0312L23.2559-68.4141C22.3389-69.3711 21.1777-69.832 19.8086-69.832C17.0215-69.832 14.8242-67.6836 14.8242-64.9141C14.8242-63.585 15.4092-62.3223 16.3389-61.3301L42.7109-35.2627L16.3389-9.17773C15.418-8.18555 14.8242-6.96289 14.8242-5.58496C14.8242-2.81543 17.0215-0.666992 19.8086-0.666992C21.1689-0.666992 22.3389-1.12793 23.2559-2.08496L52.9131-31.4766C54.0596-32.6055 54.5645-33.8369 54.5645-35.2539Z" })
4071
+ });
4072
+ case "semibold": return /* @__PURE__ */ jsx("svg", {
4073
+ viewBox: "14.959 -70.2498 40.86 70.01",
4074
+ ...props,
4075
+ children: /* @__PURE__ */ jsx("path", { d: "M55.8178-35.2539C55.8022-36.9492 55.2098-38.3605 53.8362-39.7186L24.5766-68.6432C23.5181-69.735 22.2154-70.2498 20.6576-70.2498C17.4932-70.2498 14.959-67.7645 14.959-64.6311C14.959-63.1065 15.6181-61.6619 16.7364-60.508L42.401-35.2694L16.7364-9.9998C15.6336-8.8459 14.959-7.43457 14.959-5.86123C14.959-2.72783 17.4932-0.24248 20.6576-0.24248C22.1999-0.24248 23.5181-0.757324 24.5766-1.84912L53.8362-30.7893C55.2253-32.1473 55.8178-33.5741 55.8178-35.2539Z" })
4076
+ });
4077
+ case "bold": return /* @__PURE__ */ jsx("svg", {
4078
+ viewBox: "15.1367 -70.8008 42.33 71.12",
4079
+ ...props,
4080
+ children: /* @__PURE__ */ jsx("path", { d: "M57.4707-35.2539C57.4463-37.3047 56.7383-38.9648 55.0537-40.625L26.3184-68.9453C25.0732-70.2148 23.584-70.8008 21.7773-70.8008C18.1152-70.8008 15.1367-67.8711 15.1367-64.2578C15.1367-62.4756 15.8936-60.791 17.2607-59.4238L41.9922-35.2783L17.2607-11.084C15.918-9.7168 15.1367-8.05664 15.1367-6.22559C15.1367-2.6123 18.1152 0.317383 21.7773 0.317383C23.5596 0.317383 25.0732-0.268555 26.3184-1.53809L55.0537-29.8828C56.7627-31.543 57.4707-33.2275 57.4707-35.2539Z" })
4081
+ });
4082
+ case "heavy": return /* @__PURE__ */ jsx("svg", {
4083
+ viewBox: "15.3945 -71.5999 44.47 72.73",
4084
+ ...props,
4085
+ children: /* @__PURE__ */ jsx("path", { d: "M59.8682-35.2539C59.8309-37.8203 58.9553-39.8413 56.8196-41.9397L28.8447-69.3836C27.3289-70.9109 25.569-71.5999 23.4014-71.5999C19.0175-71.5999 15.3945-68.0258 15.3945-63.7164C15.3945-61.5604 16.2931-59.5278 18.0212-57.8513L41.3993-35.2912L18.0212-12.6565C16.3304-10.98 15.3945-8.95891 15.3945-6.75406C15.3945-2.44474 19.0175 1.12943 23.4014 1.12943C25.5317 1.12943 27.3289 0.440373 28.8447-1.08695L56.8196-28.5681C58.9926-30.6665 59.8682-32.7248 59.8682-35.2539Z" })
4086
+ });
4087
+ case "black": return /* @__PURE__ */ jsx("svg", {
4088
+ viewBox: "15.625 -72.3145 46.39 74.17",
4089
+ ...props,
4090
+ children: /* @__PURE__ */ jsx("path", { d: "M62.0117-35.2539C61.9629-38.2812 60.9375-40.625 58.3984-43.1152L31.1035-69.7754C29.3457-71.5332 27.3438-72.3145 24.8535-72.3145C19.8242-72.3145 15.625-68.1641 15.625-63.2324C15.625-60.7422 16.6504-58.3984 18.7012-56.4453L40.8691-35.3027L18.7012-14.0625C16.6992-12.1094 15.625-9.76562 15.625-7.22656C15.625-2.29492 19.8242 1.85547 24.8535 1.85547C27.2949 1.85547 29.3457 1.07422 31.1035-0.683594L58.3984-27.3926C60.9863-29.8828 62.0117-32.2754 62.0117-35.2539Z" })
4091
+ });
4457
4092
  }
4458
4093
  }
4459
4094
 
@@ -6130,8 +5765,8 @@ function generateHumanValidationToken() {
6130
5765
  }).join("")}_${weekCode}`;
6131
5766
  }
6132
5767
  function HumanVerification({ children = "Verify", className }) {
6133
- const [dragProgress, setDragProgress] = (0, react.useState)(0);
6134
- const submitButtonRef = (0, react.useRef)(null), buttonRef = (0, react.useRef)(null), buttonContainerRef = (0, react.useRef)(null), draggableRef = (0, react.useRef)(null);
5768
+ const [dragProgress, setDragProgress] = useState(0);
5769
+ const submitButtonRef = useRef(null), buttonRef = useRef(null), buttonContainerRef = useRef(null), draggableRef = useRef(null);
6135
5770
  const handleTrySubmit = (x) => {
6136
5771
  if (x > 239) {
6137
5772
  const form = buttonRef.current?.closest("form");
@@ -6176,7 +5811,7 @@ function HumanVerification({ children = "Verify", className }) {
6176
5811
  setTimeout(() => tokenInput.remove(), 1e3);
6177
5812
  }
6178
5813
  };
6179
- const onDraggable = (0, react.useEffectEvent)(() => {
5814
+ const onDraggable = useEffectEvent(() => {
6180
5815
  if (!buttonRef.current || !buttonContainerRef.current) return;
6181
5816
  const draggable = createDraggable(buttonRef.current, {
6182
5817
  container: buttonContainerRef.current,
@@ -6195,7 +5830,7 @@ function HumanVerification({ children = "Verify", className }) {
6195
5830
  }
6196
5831
  draggableRef.current = draggable;
6197
5832
  });
6198
- (0, react.useEffect)(() => {
5833
+ useEffect(() => {
6199
5834
  onDraggable();
6200
5835
  }, []);
6201
5836
  const moveButton = (e) => {
@@ -6222,32 +5857,54 @@ function HumanVerification({ children = "Verify", className }) {
6222
5857
  setDragProgress(Math.min(100, Math.max(0, Math.round(newX / 240 * 100))));
6223
5858
  handleTrySubmit(newX);
6224
5859
  };
6225
- return <div className={["w-72", className].join(" ")}>
6226
- <div className="h-12 w-72 rounded-md bg-neutral-300 p-1" ref={buttonContainerRef}>
6227
- <button aria-describedby="human-verification-instructions" aria-label={`Human verification: ${children.toLowerCase()} by dragging right or pressing arrow keys`} aria-valuemax={100} aria-valuemin={0} aria-valuenow={dragProgress} className="absolute left-1 z-10 grid aspect-square h-[calc(100%-(var(--spacing)*2))] cursor-grab place-items-center rounded-sm bg-neutral-50 shadow-lg ring ring-neutral-500 focus:ring-3 focus:ring-blue-400 focus:ring-offset-2 focus:ring-offset-neutral-500 focus:outline-none active:cursor-grabbing" onKeyDown={moveButton} ref={buttonRef} role="slider" type="button">
6228
- <ChevronForward className="inline-block h-4 overflow-visible fill-neutral-500 stroke-2" />
6229
- </button>
6230
-
6231
- <div className="flex size-full items-center justify-center pl-8 text-center text-sm font-semibold text-neutral-800">
6232
- <span>
6233
- Swipe to {children}{" "}
6234
- <ChevronForward className="ml-1 inline-block h-3.5 overflow-visible stroke-2" />
6235
- </span>
6236
- </div>
6237
- </div>
6238
-
6239
- <Button ref={submitButtonRef} className="sr-only" type="submit">
6240
- Complete Submit
6241
- </Button>
6242
-
6243
- <div id="human-verification-instructions" className="pt-1 text-center text-xs">
6244
- Human verification challenge.{" "}
6245
- <span className="sr-only">
6246
- Drag the button right to the end to complete the challenge. Use arrow
6247
- keys or spacebar to move without a mouse.
6248
- </span>
6249
- </div>
6250
- </div>;
5860
+ return /* @__PURE__ */ jsxs("div", {
5861
+ className: ["w-72", className].join(" "),
5862
+ children: [
5863
+ /* @__PURE__ */ jsxs("div", {
5864
+ className: "h-12 w-72 rounded-md bg-neutral-300 p-1",
5865
+ ref: buttonContainerRef,
5866
+ children: [/* @__PURE__ */ jsx("button", {
5867
+ "aria-describedby": "human-verification-instructions",
5868
+ "aria-label": `Human verification: ${children.toLowerCase()} by dragging right or pressing arrow keys`,
5869
+ "aria-valuemax": 100,
5870
+ "aria-valuemin": 0,
5871
+ "aria-valuenow": dragProgress,
5872
+ className: "absolute left-1 z-10 grid aspect-square h-[calc(100%-(var(--spacing)*2))] cursor-grab place-items-center rounded-sm bg-neutral-50 shadow-lg ring ring-neutral-500 focus:ring-3 focus:ring-blue-400 focus:ring-offset-2 focus:ring-offset-neutral-500 focus:outline-none active:cursor-grabbing",
5873
+ onKeyDown: moveButton,
5874
+ ref: buttonRef,
5875
+ role: "slider",
5876
+ type: "button",
5877
+ children: /* @__PURE__ */ jsx(ChevronForward, { className: "inline-block h-4 overflow-visible fill-neutral-500 stroke-2" })
5878
+ }), /* @__PURE__ */ jsx("div", {
5879
+ className: "flex size-full items-center justify-center pl-8 text-center text-sm font-semibold text-neutral-800",
5880
+ children: /* @__PURE__ */ jsxs("span", { children: [
5881
+ "Swipe to ",
5882
+ children,
5883
+ " ",
5884
+ /* @__PURE__ */ jsx(ChevronForward, { className: "ml-1 inline-block h-3.5 overflow-visible stroke-2" })
5885
+ ] })
5886
+ })]
5887
+ }),
5888
+ /* @__PURE__ */ jsx(Button, {
5889
+ ref: submitButtonRef,
5890
+ className: "sr-only",
5891
+ type: "submit",
5892
+ children: "Complete Submit"
5893
+ }),
5894
+ /* @__PURE__ */ jsxs("div", {
5895
+ id: "human-verification-instructions",
5896
+ className: "pt-1 text-center text-xs",
5897
+ children: [
5898
+ "Human verification challenge.",
5899
+ " ",
5900
+ /* @__PURE__ */ jsx("span", {
5901
+ className: "sr-only",
5902
+ children: "Drag the button right to the end to complete the challenge. Use arrow keys or spacebar to move without a mouse."
5903
+ })
5904
+ ]
5905
+ })
5906
+ ]
5907
+ });
6251
5908
  }
6252
5909
 
6253
5910
  //#endregion
@@ -6309,7 +5966,14 @@ function IFrame({ allow, className, referrerPolicy = "no-referrer-when-downgrade
6309
5966
  });
6310
5967
  return propertyDefinition.join(" ");
6311
5968
  }) || []).join("; ");
6312
- return <iframe {...props} allow={allowAttribute} allowFullScreen={allowAttribute?.includes("fullscreen") || props.src?.replace(/[^a-zA-Z]/g, "").includes("vimeo") || props.src?.replace(/[^a-zA-Z]/g, "").includes("youtube")} className={twMerge("aspect-video w-full bg-linear-60 from-neutral-700 via-neutral-500 to-neutral-600", className)} referrerPolicy={referrerPolicy} sandbox={sandbox?.join(" ")} />;
5969
+ return /* @__PURE__ */ jsx("iframe", {
5970
+ ...props,
5971
+ allow: allowAttribute,
5972
+ allowFullScreen: allowAttribute?.includes("fullscreen") || props.src?.replace(/[^a-zA-Z]/g, "").includes("vimeo") || props.src?.replace(/[^a-zA-Z]/g, "").includes("youtube"),
5973
+ className: twMerge("aspect-video w-full bg-linear-60 from-neutral-700 via-neutral-500 to-neutral-600", className),
5974
+ referrerPolicy,
5975
+ sandbox: sandbox?.join(" ")
5976
+ });
6313
5977
  }
6314
5978
 
6315
5979
  //#endregion
@@ -6329,54 +5993,78 @@ function IFrame({ allow, className, referrerPolicy = "no-referrer-when-downgrade
6329
5993
  * @prop descriptionProps - The props to be passed to the description component.
6330
5994
  */
6331
5995
  function Input({ children, className, description, descriptionProps: { className: descriptionClassName, ...descriptionProps } = {}, fieldProps: { className: fieldClassName, ...fieldProps } = {}, label, labelProps: { className: labelClassName, ...labelProps } = {}, required = true, ...props }) {
6332
- return <_headlessui_react.Field {...fieldProps} className={(bag) => twMerge("grid h-fit gap-1", typeof fieldClassName === "function" ? fieldClassName(bag) : fieldClassName)}>
6333
- {label && <_headlessui_react.Label {...labelProps} className={(bag) => twMerge("text-sm font-medium", required ? "after:text-red-700 after:content-[\"_*\"]" : "", typeof labelClassName === "function" ? labelClassName(bag) : labelClassName)}>
6334
- {label}
6335
- </_headlessui_react.Label>}
6336
-
6337
- <div>
6338
- <_headlessui_react.Input {...props} className={(bag) => twMerge("ease-exponential corner-super-1.5 w-full rounded-xl border border-neutral-500/50 bg-neutral-100 py-1 pl-2 text-neutral-950 outline-offset-1 outline-blue-400/95 transition-[background-color] duration-300 dark:bg-neutral-700 dark:text-neutral-50", "focus-visible:bg-neutral-50 focus-visible:outline-3 active:bg-neutral-200 dark:focus-visible:bg-neutral-600 dark:active:bg-neutral-800 pointer-fine:hover:bg-neutral-50 pointer-fine:active:bg-neutral-200 dark:pointer-fine:hover:bg-neutral-600 dark:pointer-fine:active:bg-neutral-800", "user-invalid:border-red-500 user-invalid:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-100)_5%)] user-invalid:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-100))] user-invalid:active:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-100))] dark:user-invalid:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-800)_5%)] dark:user-invalid:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-800))] dark:user-invalid:active:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-800)_5%)] user-invalid:pointer-fine:hover:bg-[color-mix(in_oklch,var(--color-red-500)_10%,var(--color-neutral-500)_5%)] user-invalid:pointer-fine:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-100))] user-invalid:pointer-fine:active:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-100))] dark:user-invalid:pointer-fine:hover:bg-[color-mix(in_oklch,var(--color-red-500)_10%,var(--color-neutral-800)_5%)] dark:user-invalid:pointer-fine:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-800))] dark:user-invalid:pointer-fine:active:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-800)_5%)]", typeof className === "function" ? className(bag) : className)} required={required} />
6339
-
6340
- {children}
6341
- </div>
6342
-
6343
- {description && <_headlessui_react.Description {...descriptionProps} className={(bag) => twMerge("text-xs text-current/60", typeof descriptionClassName === "function" ? descriptionClassName(bag) : descriptionClassName)}>
6344
- {description}
6345
- </_headlessui_react.Description>}
6346
- </_headlessui_react.Field>;
5996
+ return /* @__PURE__ */ jsxs(Field, {
5997
+ ...fieldProps,
5998
+ className: (bag) => twMerge("grid h-fit gap-1", typeof fieldClassName === "function" ? fieldClassName(bag) : fieldClassName),
5999
+ children: [
6000
+ label && /* @__PURE__ */ jsx(Label, {
6001
+ ...labelProps,
6002
+ className: (bag) => twMerge("text-sm font-medium", required ? "after:text-red-700 after:content-[\"_*\"]" : "", typeof labelClassName === "function" ? labelClassName(bag) : labelClassName),
6003
+ children: label
6004
+ }),
6005
+ /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx(Input$1, {
6006
+ ...props,
6007
+ className: (bag) => twMerge("ease-exponential corner-super-1.5 w-full rounded-xl border border-neutral-500/50 bg-neutral-100 py-1 pl-2 text-neutral-950 outline-offset-1 outline-blue-400/95 transition-[background-color] duration-300 dark:bg-neutral-700 dark:text-neutral-50", "focus-visible:bg-neutral-50 focus-visible:outline-3 active:bg-neutral-200 dark:focus-visible:bg-neutral-600 dark:active:bg-neutral-800 pointer-fine:hover:bg-neutral-50 pointer-fine:active:bg-neutral-200 dark:pointer-fine:hover:bg-neutral-600 dark:pointer-fine:active:bg-neutral-800", "user-invalid:border-red-500 user-invalid:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-100)_5%)] user-invalid:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-100))] user-invalid:active:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-100))] dark:user-invalid:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-800)_5%)] dark:user-invalid:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-800))] dark:user-invalid:active:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-800)_5%)] user-invalid:pointer-fine:hover:bg-[color-mix(in_oklch,var(--color-red-500)_10%,var(--color-neutral-500)_5%)] user-invalid:pointer-fine:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-100))] user-invalid:pointer-fine:active:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-100))] dark:user-invalid:pointer-fine:hover:bg-[color-mix(in_oklch,var(--color-red-500)_10%,var(--color-neutral-800)_5%)] dark:user-invalid:pointer-fine:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-800))] dark:user-invalid:pointer-fine:active:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-800)_5%)]", typeof className === "function" ? className(bag) : className),
6008
+ required
6009
+ }), children] }),
6010
+ description && /* @__PURE__ */ jsx(Description, {
6011
+ ...descriptionProps,
6012
+ className: (bag) => twMerge("text-xs text-current/60", typeof descriptionClassName === "function" ? descriptionClassName(bag) : descriptionClassName),
6013
+ children: description
6014
+ })
6015
+ ]
6016
+ });
6347
6017
  }
6348
6018
 
6349
6019
  //#endregion
6350
6020
  //#region src/symbols/xmark.tsx
6351
6021
  function Xmark({ weight = "regular", ...props }) {
6352
6022
  switch (weight) {
6353
- case "ultralight": return <svg viewBox="9.64746 -64.0801 57.84 57.84" {...props}>
6354
- <path d="M65.4941-63.6108L10.1167-8.27883C9.65088-7.813 9.64746-7.13232 10.1167-6.66308C10.544-6.23924 11.2212-6.23924 11.6905-6.66308L67.0645-62.0371C67.4883-62.5063 67.4917-63.187 67.0645-63.6108C66.5918-64.0767 65.918-64.0801 65.4941-63.6108ZM67.0645-8.27883L11.6905-63.6108C11.2212-64.0767 10.5405-64.0801 10.1167-63.6108C9.65088-63.1836 9.65088-62.5063 10.1167-62.0371L65.4941-6.66308C65.9146-6.23924 66.5952-6.23924 67.0645-6.66308C67.4883-7.13574 67.4883-7.813 67.0645-8.27883Z" />
6355
- </svg>;
6356
- case "thin": return <svg viewBox="9.58594 -64.5723 58.82 58.8" {...props}>
6357
- <path d="M65.248-63.8672L10.291-8.94533C9.59961-8.25392 9.58594-7.14258 10.291-6.43749C10.9746-5.76757 12.0723-5.76757 12.7774-6.43749L67.7207-61.3808C68.3906-62.0859 68.4043-63.1973 67.7207-63.8672C67.002-64.5586 65.918-64.5723 65.248-63.8672ZM67.7207-8.94533L12.7774-63.8672C12.0723-64.5586 10.9609-64.5723 10.291-63.8672C9.59961-63.1836 9.59961-62.0859 10.291-61.3808L65.248-6.43749C65.9043-5.76757 67.0156-5.76757 67.7207-6.43749C68.3906-7.15625 68.3906-8.25392 67.7207-8.94533Z" />
6358
- </svg>;
6359
- case "light": return <svg viewBox="9.46582 -65.5332 60.72 60.69" {...props}>
6360
- <path d="M64.7676-64.3677L10.6313-10.2466C9.49951-9.11475 9.46582-7.1626 10.6313-5.99707C11.8154-4.84667 13.7339-4.84667 14.8994-5.99707L69.002-60.0996C70.1524-61.2651 70.186-63.2173 69.002-64.3677C67.8027-65.4995 65.918-65.5332 64.7676-64.3677ZM69.002-10.2466L14.8994-64.3677C13.7339-65.4995 11.7817-65.5332 10.6313-64.3677C9.49951-63.1836 9.49951-61.2651 10.6313-60.0996L64.7676-5.99707C65.8843-4.84667 67.8364-4.84667 69.002-5.99707C70.1524-7.19629 70.1524-9.11475 69.002-10.2466Z" />
6361
- </svg>;
6362
- case "regular": return <svg viewBox="9.375 -66.2598 62.16 62.11" {...props}>
6363
- <path d="M64.4043-64.7461L10.8887-11.2305C9.42383-9.76562 9.375-7.17773 10.8887-5.66406C12.4512-4.15039 14.9902-4.15039 16.5039-5.66406L69.9707-59.1309C71.4844-60.6445 71.5332-63.2324 69.9707-64.7461C68.4082-66.2109 65.918-66.2598 64.4043-64.7461ZM69.9707-11.2305L16.5039-64.7461C14.9902-66.2109 12.4023-66.2598 10.8887-64.7461C9.42383-63.1836 9.42383-60.6445 10.8887-59.1309L64.4043-5.66406C65.8691-4.15039 68.457-4.15039 69.9707-5.66406C71.4844-7.22656 71.4844-9.76562 69.9707-11.2305Z" />
6364
- </svg>;
6365
- case "medium": return <svg viewBox="9.30469 -66.7871 63.2 63.17" {...props}>
6366
- <path d="M63.9121-64.9746L11.0996-12.1621C9.35352-10.416 9.30469-7.26562 11.126-5.44434C12.9873-3.62305 16.1152-3.64941 17.8838-5.41797L70.6562-58.1904C72.4688-60.0029 72.5-63.1182 70.6299-64.9482C68.7598-66.7383 65.7246-66.7871 63.9121-64.9746ZM70.6562-12.1709L17.8838-64.9834C16.1064-66.7207 12.9561-66.7871 11.126-64.957C9.33594-63.0869 9.3623-59.9766 11.0996-58.1992L63.9121-5.42676C65.6846-3.61426 68.7998-3.62305 70.6299-5.45312C72.46-7.32324 72.4688-10.3984 70.6562-12.1709Z" />
6367
- </svg>;
6368
- case "semibold": return <svg viewBox="9.25078 -67.1914 63.99 63.99" {...props}>
6369
- <path d="M63.5348-65.1498L11.2613-12.8764C9.29961-10.9146 9.25078-7.33301 11.3079-5.27588C13.3983-3.21875 16.9777-3.26533 18.9417-5.2293L71.1818-57.4694C73.2234-59.511 73.2412-63.0306 71.1353-65.1032C69.0293-67.1426 65.5764-67.1914 63.5348-65.1498ZM71.1818-12.8919L18.9417-65.1653C16.9622-67.1115 13.3806-67.1914 11.3079-65.1188C9.26855-63.0128 9.31514-59.4645 11.2613-57.485L63.5348-5.24482C65.5431-3.20322 69.0626-3.21875 71.1353-5.29141C73.2079-7.39736 73.2234-10.8836 71.1818-12.8919Z" />
6370
- </svg>;
6371
- case "bold": return <svg viewBox="9.17969 -67.7246 65.04 65.06" {...props}>
6372
- <path d="M63.0371-65.3809L11.4746-13.8184C9.22852-11.5723 9.17969-7.42188 11.5479-5.05371C13.9404-2.68555 18.1152-2.75879 20.3369-4.98047L71.875-56.5186C74.2188-58.8623 74.2188-62.915 71.8018-65.3076C69.3848-67.6758 65.3809-67.7246 63.0371-65.3809ZM71.875-13.8428L20.3369-65.4053C18.0908-67.627 13.9404-67.7246 11.5479-65.332C9.17969-62.915 9.25293-58.7891 11.4746-56.543L63.0371-5.00488C65.3564-2.66113 69.4092-2.68555 71.8018-5.07812C74.1943-7.49512 74.2188-11.5234 71.875-13.8428Z" />
6373
- </svg>;
6374
- case "heavy": return <svg viewBox="9.05079 -68.498 66.61 66.62" {...props}>
6375
- <path d="M62.3153-65.716L11.784-15.1847C9.1254-12.5261 9.07657-7.55077 11.8959-4.73147C14.7267-1.91217 19.7651-2.02408 22.3606-4.61956L72.8804-55.1394C75.6624-57.9214 75.6366-62.7475 72.7685-65.6041C69.9003-68.4492 65.0973-68.498 62.3153-65.716ZM72.8804-15.222L22.3606-65.7533C19.7278-68.3745 14.7525-68.498 11.8959-65.6414C9.05079-62.7733 9.1627-57.8095 11.784-55.1767L62.3153-4.65686C65.0858-1.87487 69.9119-1.91217 72.7685-4.76877C75.6251-7.6369 75.6624-12.4515 72.8804-15.222Z" />
6376
- </svg>;
6377
- case "black": return <svg viewBox="8.93555 -69.1895 68.02 68.02" {...props}>
6378
- <path d="M61.6699-66.0156L12.0605-16.4062C9.0332-13.3789 8.98438-7.66602 12.207-4.44336C15.4297-1.2207 21.2402-1.36719 24.1699-4.29688L73.7793-53.9062C76.9531-57.0801 76.9043-62.5977 73.6328-65.8691C70.3613-69.1406 64.8438-69.1895 61.6699-66.0156ZM73.7793-16.4551L24.1699-66.0645C21.1914-69.043 15.4785-69.1895 12.207-65.918C8.93555-62.6465 9.08203-56.9336 12.0605-53.9551L61.6699-4.3457C64.8438-1.17188 70.3613-1.2207 73.6328-4.49219C76.9043-7.76367 76.9531-13.2812 73.7793-16.4551Z" />
6379
- </svg>;
6023
+ case "ultralight": return /* @__PURE__ */ jsx("svg", {
6024
+ viewBox: "9.64746 -64.0801 57.84 57.84",
6025
+ ...props,
6026
+ children: /* @__PURE__ */ jsx("path", { d: "M65.4941-63.6108L10.1167-8.27883C9.65088-7.813 9.64746-7.13232 10.1167-6.66308C10.544-6.23924 11.2212-6.23924 11.6905-6.66308L67.0645-62.0371C67.4883-62.5063 67.4917-63.187 67.0645-63.6108C66.5918-64.0767 65.918-64.0801 65.4941-63.6108ZM67.0645-8.27883L11.6905-63.6108C11.2212-64.0767 10.5405-64.0801 10.1167-63.6108C9.65088-63.1836 9.65088-62.5063 10.1167-62.0371L65.4941-6.66308C65.9146-6.23924 66.5952-6.23924 67.0645-6.66308C67.4883-7.13574 67.4883-7.813 67.0645-8.27883Z" })
6027
+ });
6028
+ case "thin": return /* @__PURE__ */ jsx("svg", {
6029
+ viewBox: "9.58594 -64.5723 58.82 58.8",
6030
+ ...props,
6031
+ children: /* @__PURE__ */ jsx("path", { d: "M65.248-63.8672L10.291-8.94533C9.59961-8.25392 9.58594-7.14258 10.291-6.43749C10.9746-5.76757 12.0723-5.76757 12.7774-6.43749L67.7207-61.3808C68.3906-62.0859 68.4043-63.1973 67.7207-63.8672C67.002-64.5586 65.918-64.5723 65.248-63.8672ZM67.7207-8.94533L12.7774-63.8672C12.0723-64.5586 10.9609-64.5723 10.291-63.8672C9.59961-63.1836 9.59961-62.0859 10.291-61.3808L65.248-6.43749C65.9043-5.76757 67.0156-5.76757 67.7207-6.43749C68.3906-7.15625 68.3906-8.25392 67.7207-8.94533Z" })
6032
+ });
6033
+ case "light": return /* @__PURE__ */ jsx("svg", {
6034
+ viewBox: "9.46582 -65.5332 60.72 60.69",
6035
+ ...props,
6036
+ children: /* @__PURE__ */ jsx("path", { d: "M64.7676-64.3677L10.6313-10.2466C9.49951-9.11475 9.46582-7.1626 10.6313-5.99707C11.8154-4.84667 13.7339-4.84667 14.8994-5.99707L69.002-60.0996C70.1524-61.2651 70.186-63.2173 69.002-64.3677C67.8027-65.4995 65.918-65.5332 64.7676-64.3677ZM69.002-10.2466L14.8994-64.3677C13.7339-65.4995 11.7817-65.5332 10.6313-64.3677C9.49951-63.1836 9.49951-61.2651 10.6313-60.0996L64.7676-5.99707C65.8843-4.84667 67.8364-4.84667 69.002-5.99707C70.1524-7.19629 70.1524-9.11475 69.002-10.2466Z" })
6037
+ });
6038
+ case "regular": return /* @__PURE__ */ jsx("svg", {
6039
+ viewBox: "9.375 -66.2598 62.16 62.11",
6040
+ ...props,
6041
+ children: /* @__PURE__ */ jsx("path", { d: "M64.4043-64.7461L10.8887-11.2305C9.42383-9.76562 9.375-7.17773 10.8887-5.66406C12.4512-4.15039 14.9902-4.15039 16.5039-5.66406L69.9707-59.1309C71.4844-60.6445 71.5332-63.2324 69.9707-64.7461C68.4082-66.2109 65.918-66.2598 64.4043-64.7461ZM69.9707-11.2305L16.5039-64.7461C14.9902-66.2109 12.4023-66.2598 10.8887-64.7461C9.42383-63.1836 9.42383-60.6445 10.8887-59.1309L64.4043-5.66406C65.8691-4.15039 68.457-4.15039 69.9707-5.66406C71.4844-7.22656 71.4844-9.76562 69.9707-11.2305Z" })
6042
+ });
6043
+ case "medium": return /* @__PURE__ */ jsx("svg", {
6044
+ viewBox: "9.30469 -66.7871 63.2 63.17",
6045
+ ...props,
6046
+ children: /* @__PURE__ */ jsx("path", { d: "M63.9121-64.9746L11.0996-12.1621C9.35352-10.416 9.30469-7.26562 11.126-5.44434C12.9873-3.62305 16.1152-3.64941 17.8838-5.41797L70.6562-58.1904C72.4688-60.0029 72.5-63.1182 70.6299-64.9482C68.7598-66.7383 65.7246-66.7871 63.9121-64.9746ZM70.6562-12.1709L17.8838-64.9834C16.1064-66.7207 12.9561-66.7871 11.126-64.957C9.33594-63.0869 9.3623-59.9766 11.0996-58.1992L63.9121-5.42676C65.6846-3.61426 68.7998-3.62305 70.6299-5.45312C72.46-7.32324 72.4688-10.3984 70.6562-12.1709Z" })
6047
+ });
6048
+ case "semibold": return /* @__PURE__ */ jsx("svg", {
6049
+ viewBox: "9.25078 -67.1914 63.99 63.99",
6050
+ ...props,
6051
+ children: /* @__PURE__ */ jsx("path", { d: "M63.5348-65.1498L11.2613-12.8764C9.29961-10.9146 9.25078-7.33301 11.3079-5.27588C13.3983-3.21875 16.9777-3.26533 18.9417-5.2293L71.1818-57.4694C73.2234-59.511 73.2412-63.0306 71.1353-65.1032C69.0293-67.1426 65.5764-67.1914 63.5348-65.1498ZM71.1818-12.8919L18.9417-65.1653C16.9622-67.1115 13.3806-67.1914 11.3079-65.1188C9.26855-63.0128 9.31514-59.4645 11.2613-57.485L63.5348-5.24482C65.5431-3.20322 69.0626-3.21875 71.1353-5.29141C73.2079-7.39736 73.2234-10.8836 71.1818-12.8919Z" })
6052
+ });
6053
+ case "bold": return /* @__PURE__ */ jsx("svg", {
6054
+ viewBox: "9.17969 -67.7246 65.04 65.06",
6055
+ ...props,
6056
+ children: /* @__PURE__ */ jsx("path", { d: "M63.0371-65.3809L11.4746-13.8184C9.22852-11.5723 9.17969-7.42188 11.5479-5.05371C13.9404-2.68555 18.1152-2.75879 20.3369-4.98047L71.875-56.5186C74.2188-58.8623 74.2188-62.915 71.8018-65.3076C69.3848-67.6758 65.3809-67.7246 63.0371-65.3809ZM71.875-13.8428L20.3369-65.4053C18.0908-67.627 13.9404-67.7246 11.5479-65.332C9.17969-62.915 9.25293-58.7891 11.4746-56.543L63.0371-5.00488C65.3564-2.66113 69.4092-2.68555 71.8018-5.07812C74.1943-7.49512 74.2188-11.5234 71.875-13.8428Z" })
6057
+ });
6058
+ case "heavy": return /* @__PURE__ */ jsx("svg", {
6059
+ viewBox: "9.05079 -68.498 66.61 66.62",
6060
+ ...props,
6061
+ children: /* @__PURE__ */ jsx("path", { d: "M62.3153-65.716L11.784-15.1847C9.1254-12.5261 9.07657-7.55077 11.8959-4.73147C14.7267-1.91217 19.7651-2.02408 22.3606-4.61956L72.8804-55.1394C75.6624-57.9214 75.6366-62.7475 72.7685-65.6041C69.9003-68.4492 65.0973-68.498 62.3153-65.716ZM72.8804-15.222L22.3606-65.7533C19.7278-68.3745 14.7525-68.498 11.8959-65.6414C9.05079-62.7733 9.1627-57.8095 11.784-55.1767L62.3153-4.65686C65.0858-1.87487 69.9119-1.91217 72.7685-4.76877C75.6251-7.6369 75.6624-12.4515 72.8804-15.222Z" })
6062
+ });
6063
+ case "black": return /* @__PURE__ */ jsx("svg", {
6064
+ viewBox: "8.93555 -69.1895 68.02 68.02",
6065
+ ...props,
6066
+ children: /* @__PURE__ */ jsx("path", { d: "M61.6699-66.0156L12.0605-16.4062C9.0332-13.3789 8.98438-7.66602 12.207-4.44336C15.4297-1.2207 21.2402-1.36719 24.1699-4.29688L73.7793-53.9062C76.9531-57.0801 76.9043-62.5977 73.6328-65.8691C70.3613-69.1406 64.8438-69.1895 61.6699-66.0156ZM73.7793-16.4551L24.1699-66.0645C21.1914-69.043 15.4785-69.1895 12.207-65.918C8.93555-62.6465 9.08203-56.9336 12.0605-53.9551L61.6699-4.3457C64.8438-1.17188 70.3613-1.2207 73.6328-4.49219C76.9043-7.76367 76.9531-13.2812 73.7793-16.4551Z" })
6067
+ });
6380
6068
  }
6381
6069
  }
6382
6070
 
@@ -6384,7 +6072,7 @@ function Xmark({ weight = "regular", ...props }) {
6384
6072
  //#region src/hooks/create-fast-context.tsx
6385
6073
  function createFastContext(defaultInitialState) {
6386
6074
  function useStoreData(initialState = defaultInitialState) {
6387
- const store = (0, react.useRef)(initialState), get = () => store.current, subscribers = (0, react.useRef)(/* @__PURE__ */ new Set());
6075
+ const store = useRef(initialState), get = () => store.current, subscribers = useRef(/* @__PURE__ */ new Set());
6388
6076
  const set = (value) => {
6389
6077
  if (typeof value === "function") store.current = value(store.current);
6390
6078
  else store.current = value;
@@ -6400,18 +6088,21 @@ function createFastContext(defaultInitialState) {
6400
6088
  subscribe
6401
6089
  };
6402
6090
  }
6403
- const StoreContext = (0, react.createContext)(null);
6091
+ const StoreContext = createContext(null);
6404
6092
  function Provider({ initialValue = defaultInitialState, ...props }) {
6405
- return <StoreContext.Provider value={useStoreData(initialValue)} {...props} />;
6093
+ return /* @__PURE__ */ jsx(StoreContext.Provider, {
6094
+ value: useStoreData(initialValue),
6095
+ ...props
6096
+ });
6406
6097
  }
6407
6098
  function useStore(selector, initialValue) {
6408
- const store = (0, react.useContext)(StoreContext);
6099
+ const store = useContext(StoreContext);
6409
6100
  if (!store) {
6410
6101
  const selectedValue = selector(initialValue !== void 0 ? initialValue : defaultInitialState);
6411
6102
  const noOpSet = () => console.warn("Attempting to set store value outside of Provider");
6412
6103
  return [selectedValue, noOpSet];
6413
6104
  }
6414
- return [(0, react.useSyncExternalStore)(store.subscribe, () => selector(store.get()), () => selector(initialValue !== void 0 ? initialValue : defaultInitialState)), store.set];
6105
+ return [useSyncExternalStore(store.subscribe, () => selector(store.get()), () => selector(initialValue !== void 0 ? initialValue : defaultInitialState)), store.set];
6415
6106
  }
6416
6107
  return {
6417
6108
  Provider,
@@ -6423,128 +6114,6 @@ function createFastContext(defaultInitialState) {
6423
6114
  //#region src/hooks/use-form-status.tsx
6424
6115
  const DEFAULT_STATUS = "incomplete";
6425
6116
  const { Provider, useStore } = createFastContext(DEFAULT_STATUS);
6426
- function FormStatusProvider({ children, initialStatus = DEFAULT_STATUS }) {
6427
- return <react.Suspense>
6428
- <Provider initialValue={initialStatus}>{children}</Provider>
6429
- </react.Suspense>;
6430
- }
6431
- function useFormStatus() {
6432
- return useStore((store) => store);
6433
- }
6434
-
6435
- //#endregion
6436
- //#region src/hooks/use-pointer-movement.ts
6437
- function usePointerMovement(props) {
6438
- const pointerTypeRef = (0, react.useRef)("pointer"), [isTracking, setIsTracking] = (0, react.useState)(false), [delta, setDelta] = (0, react.useState)({
6439
- x: 0,
6440
- y: 0
6441
- }), startCoordsRef = (0, react.useRef)({
6442
- x: 0,
6443
- y: 0
6444
- });
6445
- const styleID = (0, react.useId)();
6446
- const changeCursor = (cursor) => {
6447
- if (cursor === false) {
6448
- document.querySelector(`#${styleID}`)?.remove();
6449
- return;
6450
- }
6451
- const css = `*, *:active { cursor: ${cursor}; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; user-select: none; }`;
6452
- const style = document.createElement("style");
6453
- style.id = styleID;
6454
- style.innerHTML = css;
6455
- document.body.prepend(style);
6456
- };
6457
- const trackPointerMovement = (e) => {
6458
- changeCursor(props?.activeCursor || "grabbing");
6459
- const { type } = e;
6460
- switch (type) {
6461
- case "mousemove":
6462
- case "mouseup":
6463
- case "pointermove":
6464
- case "pointerup":
6465
- case "touchmove":
6466
- case "touchend": throw new Error("To initiate the tracking of pointer movement, you must use a `mousedown`, `pointerdown`, or `touchstart`.");
6467
- case "mousedown":
6468
- pointerTypeRef.current = "mouse";
6469
- break;
6470
- case "pointerdown":
6471
- pointerTypeRef.current = "pointer";
6472
- break;
6473
- case "touchstart":
6474
- pointerTypeRef.current = "touch";
6475
- break;
6476
- }
6477
- let x = 0, y = 0;
6478
- if ("touches" in e) {
6479
- const { touches } = e;
6480
- if (touches.length > 1) return;
6481
- x = touches[0].clientX;
6482
- y = touches[0].clientY;
6483
- } else {
6484
- x = e.clientX;
6485
- y = e.clientY;
6486
- }
6487
- startCoordsRef.current = {
6488
- x,
6489
- y
6490
- };
6491
- setIsTracking(true);
6492
- };
6493
- const updateDelta = (0, react.useCallback)((e) => {
6494
- let clientX = 0, clientY = 0;
6495
- if ("touches" in e) {
6496
- const { touches } = e;
6497
- if (touches.length > 1) return;
6498
- clientX = touches[0].clientX;
6499
- clientY = touches[0].clientY;
6500
- } else {
6501
- clientX = e.clientX;
6502
- clientY = e.clientY;
6503
- }
6504
- const { x, y } = startCoordsRef.current, newDelta = {
6505
- x: clientX - x,
6506
- y: clientY - y
6507
- };
6508
- setDelta(newDelta);
6509
- props?.onChange?.(newDelta);
6510
- }, []);
6511
- const stopTracking = (0, react.useCallback)(() => {
6512
- changeCursor(false);
6513
- setIsTracking(false);
6514
- props?.onEnd?.(delta);
6515
- }, [delta]);
6516
- (0, react.useEffect)(() => {
6517
- if (typeof window === "undefined") return;
6518
- const controller = new AbortController(), signal = controller.signal;
6519
- if (isTracking) switch (pointerTypeRef.current) {
6520
- case "mouse":
6521
- document.body.addEventListener("mousemove", updateDelta, { signal });
6522
- document.body.addEventListener("mouseup", stopTracking, { signal });
6523
- break;
6524
- case "pointer":
6525
- document.body.addEventListener("pointermove", updateDelta, { signal });
6526
- document.body.addEventListener("pointerup", stopTracking, { signal });
6527
- break;
6528
- case "touch":
6529
- document.body.addEventListener("touchmove", updateDelta, { signal });
6530
- document.body.addEventListener("touchend", stopTracking, { signal });
6531
- break;
6532
- }
6533
- else controller.abort();
6534
- return () => {
6535
- controller.abort();
6536
- };
6537
- }, [
6538
- isTracking,
6539
- updateDelta,
6540
- stopTracking
6541
- ]);
6542
- return {
6543
- delta,
6544
- stopTracking,
6545
- trackPointerMovement
6546
- };
6547
- }
6548
6117
 
6549
6118
  //#endregion
6550
6119
  //#region src/components/modal.tsx
@@ -6559,7 +6128,7 @@ const { Provider: ModalControlsProvider, useStore: useModalControls } = createFa
6559
6128
  dialogPanelRef: { current: null }
6560
6129
  });
6561
6130
  function ModalTrigger({ as, onClick, ...props }) {
6562
- const ModalTriggerElement = as || _headlessui_react.Button;
6131
+ const ModalTriggerElement = as || Button$1;
6563
6132
  const [modalControls] = useModalControls((store) => store);
6564
6133
  const { isOpen, openModal, closeModal } = modalControls || {};
6565
6134
  const handleClick = (e) => {
@@ -6567,10 +6136,13 @@ function ModalTrigger({ as, onClick, ...props }) {
6567
6136
  if (!isOpen) openModal?.();
6568
6137
  onClick?.(e);
6569
6138
  };
6570
- return <ModalTriggerElement {...props} onClick={handleClick} />;
6139
+ return /* @__PURE__ */ jsx(ModalTriggerElement, {
6140
+ ...props,
6141
+ onClick: handleClick
6142
+ });
6571
6143
  }
6572
6144
  function ModalTitle(props) {
6573
- return <_headlessui_react.DialogTitle {...props} />;
6145
+ return /* @__PURE__ */ jsx(DialogTitle, { ...props });
6574
6146
  }
6575
6147
  function ModalDialog(props) {
6576
6148
  const [modalControls] = useModalControls((store) => store);
@@ -6584,47 +6156,63 @@ function ModalDialog(props) {
6584
6156
  enableTouchClose: () => {},
6585
6157
  dialogPanelRef: { current: null }
6586
6158
  };
6587
- return <_headlessui_react.Dialog open={isOpen} onClose={() => closeModal?.()} className={["isolate z-50", place === "bottom" && "after:fixed after:inset-x-0 after:bottom-0 after:-z-10 after:h-16 after:bg-neutral-50 sm:after:hidden"].join(" ")}>
6588
- <_headlessui_react.DialogBackdrop transition className={["ease-exponential fixed inset-0 cursor-pointer transition-[opacity,background-color,backdrop-filter,-webkit-backdrop-filter] delay-100 duration-750 data-closed:opacity-0", readyToClose ? "bg-neutral-50/5 backdrop-blur-[1px] dark:bg-neutral-950/5" : "bg-neutral-50/25 backdrop-blur-sm dark:bg-neutral-950/25"].join(" ")}>
6589
- <Button padding="none" rounded="full" className="group/button fixed top-4 right-4 size-7 overflow-x-hidden transition-[scale,width,filter] pointer-fine:hover:w-20">
6590
- <div className="ease-exponential absolute top-1 right-1 flex items-center gap-1 pt-px transition-transform duration-300 pointer-fine:group-hover/button:-translate-x-0.5">
6591
- <span className="block text-xs leading-none uppercase">
6592
- Close<span className="sr-only">Modal</span>
6593
- </span>
6594
-
6595
- <Xmark className="-top-px block size-4 scale-75 rotate-90 transition-transform duration-300 ease-in-out group-hover/button:rotate-0" />
6596
- </div>
6597
- </Button>
6598
- </_headlessui_react.DialogBackdrop>
6599
-
6600
- <_headlessui_react.DialogPanel ref={dialogPanelRef} transition className={twMerge("ease-exponential fixed left-1/2 -translate-x-1/2 overflow-y-scroll bg-neutral-50 p-4 shadow-[0_-15px_50px_-12px] shadow-neutral-950/25 transition-[transform,translate,opacity] duration-750 data-closed:scale-50 data-closed:opacity-0 sm:w-[calc(100vw-2rem)] sm:max-w-fit sm:p-6 sm:shadow-2xl lg:p-8 dark:bg-neutral-900", place === "center" ? "top-1/2 -translate-y-1/2 rounded-2xl data-enter:translate-y-[calc(-50%+12rem)] data-leave:translate-y-[calc(-50%-8rem)]" : "bottom-0 h-fit max-h-[calc(100dvh-4rem)] translate-y-0 rounded-t-4xl data-enter:translate-y-full data-leave:translate-y-full sm:top-1/2 sm:bottom-auto sm:rounded-t-2xl sm:rounded-b-2xl sm:data-enter:translate-y-[calc(-50%+12rem)] sm:data-leave:translate-y-[calc(-50%-8rem)] sm:data-open:-translate-y-1/2 pointer-fine:top-1/2 pointer-fine:bottom-auto pointer-fine:-translate-y-1/2 pointer-fine:rounded-2xl", className)}>
6601
- <button className={["after:ease-exponential absolute inset-x-0 top-0 z-10 flex h-6 cursor-grab items-center justify-center after:h-1 after:w-8 after:rounded-full after:transition-[transform,background-color] after:duration-500 active:cursor-grabbing", readyToClose ? "after:scale-x-200 after:scale-y-200 after:bg-blue-500" : "after:bg-neutral-500/50 active:after:scale-x-150 active:after:scale-y-125 active:after:bg-neutral-500 pointer-fine:hover:after:scale-x-125 pointer-fine:hover:after:bg-neutral-500/75 pointer-fine:active:after:scale-x-150 pointer-fine:active:after:bg-neutral-500"].join(" ")} onTouchStart={enableTouchClose} onMouseDown={enableMouseClose} type="button">
6602
- <span className="sr-only">Drag down to close</span>
6603
- </button>
6604
-
6605
- <div {...props} />
6606
- </_headlessui_react.DialogPanel>
6607
- </_headlessui_react.Dialog>;
6159
+ return /* @__PURE__ */ jsxs(Dialog, {
6160
+ open: isOpen,
6161
+ onClose: () => closeModal?.(),
6162
+ className: ["isolate z-50", place === "bottom" && "after:fixed after:inset-x-0 after:bottom-0 after:-z-10 after:h-16 after:bg-neutral-50 sm:after:hidden"].join(" "),
6163
+ children: [/* @__PURE__ */ jsx(DialogBackdrop, {
6164
+ transition: true,
6165
+ className: ["ease-exponential fixed inset-0 cursor-pointer transition-[opacity,background-color,backdrop-filter,-webkit-backdrop-filter] delay-100 duration-750 data-closed:opacity-0", readyToClose ? "bg-neutral-50/5 backdrop-blur-[1px] dark:bg-neutral-950/5" : "bg-neutral-50/25 backdrop-blur-sm dark:bg-neutral-950/25"].join(" "),
6166
+ children: /* @__PURE__ */ jsx(Button, {
6167
+ padding: "none",
6168
+ rounded: "full",
6169
+ className: "group/button fixed top-4 right-4 size-7 overflow-x-hidden transition-[scale,width,filter] pointer-fine:hover:w-20",
6170
+ children: /* @__PURE__ */ jsxs("div", {
6171
+ className: "ease-exponential absolute top-1 right-1 flex items-center gap-1 pt-px transition-transform duration-300 pointer-fine:group-hover/button:-translate-x-0.5",
6172
+ children: [/* @__PURE__ */ jsxs("span", {
6173
+ className: "block text-xs leading-none uppercase",
6174
+ children: ["Close", /* @__PURE__ */ jsx("span", {
6175
+ className: "sr-only",
6176
+ children: "Modal"
6177
+ })]
6178
+ }), /* @__PURE__ */ jsx(Xmark, { className: "-top-px block size-4 scale-75 rotate-90 transition-transform duration-300 ease-in-out group-hover/button:rotate-0" })]
6179
+ })
6180
+ })
6181
+ }), /* @__PURE__ */ jsxs(DialogPanel, {
6182
+ ref: dialogPanelRef,
6183
+ transition: true,
6184
+ className: twMerge("ease-exponential fixed left-1/2 -translate-x-1/2 overflow-y-scroll bg-neutral-50 p-4 shadow-[0_-15px_50px_-12px] shadow-neutral-950/25 transition-[transform,translate,opacity] duration-750 data-closed:scale-50 data-closed:opacity-0 sm:w-[calc(100vw-2rem)] sm:max-w-fit sm:p-6 sm:shadow-2xl lg:p-8 dark:bg-neutral-900", place === "center" ? "top-1/2 -translate-y-1/2 rounded-2xl data-enter:translate-y-[calc(-50%+12rem)] data-leave:translate-y-[calc(-50%-8rem)]" : "bottom-0 h-fit max-h-[calc(100dvh-4rem)] translate-y-0 rounded-t-4xl data-enter:translate-y-full data-leave:translate-y-full sm:top-1/2 sm:bottom-auto sm:rounded-t-2xl sm:rounded-b-2xl sm:data-enter:translate-y-[calc(-50%+12rem)] sm:data-leave:translate-y-[calc(-50%-8rem)] sm:data-open:-translate-y-1/2 pointer-fine:top-1/2 pointer-fine:bottom-auto pointer-fine:-translate-y-1/2 pointer-fine:rounded-2xl", className),
6185
+ children: [/* @__PURE__ */ jsx("button", {
6186
+ className: ["after:ease-exponential absolute inset-x-0 top-0 z-10 flex h-6 cursor-grab items-center justify-center after:h-1 after:w-8 after:rounded-full after:transition-[transform,background-color] after:duration-500 active:cursor-grabbing", readyToClose ? "after:scale-x-200 after:scale-y-200 after:bg-blue-500" : "after:bg-neutral-500/50 active:after:scale-x-150 active:after:scale-y-125 active:after:bg-neutral-500 pointer-fine:hover:after:scale-x-125 pointer-fine:hover:after:bg-neutral-500/75 pointer-fine:active:after:scale-x-150 pointer-fine:active:after:bg-neutral-500"].join(" "),
6187
+ onTouchStart: enableTouchClose,
6188
+ onMouseDown: enableMouseClose,
6189
+ type: "button",
6190
+ children: /* @__PURE__ */ jsx("span", {
6191
+ className: "sr-only",
6192
+ children: "Drag down to close"
6193
+ })
6194
+ }), /* @__PURE__ */ jsx("div", { ...props })]
6195
+ })]
6196
+ });
6608
6197
  }
6609
6198
  function ModalClose({ as, ...props }) {
6610
- const ModalCloseElement = as || _headlessui_react.Button;
6611
- return <ModalCloseElement {...props} />;
6199
+ return /* @__PURE__ */ jsx(as || Button$1, { ...props });
6612
6200
  }
6613
6201
  function ModalDisplay({ children, className, onClose, onOpen, place = "bottom" }) {
6614
- const [bodyElement, setBodyElement] = (0, react.useState)(null);
6615
- const onVisible = (0, react.useEffectEvent)(() => {
6202
+ const [bodyElement, setBodyElement] = useState(null);
6203
+ const onVisible = useEffectEvent(() => {
6616
6204
  setBodyElement(document.body);
6617
6205
  });
6618
- (0, react.useEffect)(() => {
6206
+ useEffect(() => {
6619
6207
  if (typeof window !== "undefined") onVisible();
6620
6208
  }, []);
6621
6209
  const [, setModalControls] = useModalControls(() => null);
6622
- const [isOpen, setIsOpen] = (0, react.useState)(false);
6623
- const dragMoveBoxRef = (0, react.useRef)(null), startDragCoords = (0, react.useRef)({
6210
+ const [isOpen, setIsOpen] = useState(false);
6211
+ const dragMoveBoxRef = useRef(null), startDragCoords = useRef({
6624
6212
  x: 0,
6625
6213
  y: 0
6626
- }), localDialogPanelRef = (0, react.useRef)(null);
6627
- const [allowDragClose, setAllowDragClose] = (0, react.useState)(false), [readyToClose, setReadyToClose] = (0, react.useState)(false);
6214
+ }), localDialogPanelRef = useRef(null);
6215
+ const [allowDragClose, setAllowDragClose] = useState(false), [readyToClose, setReadyToClose] = useState(false);
6628
6216
  const openModal = () => {
6629
6217
  setIsOpen((previous) => {
6630
6218
  if (previous) return previous;
@@ -6684,7 +6272,7 @@ function ModalDisplay({ children, className, onClose, onOpen, place = "bottom" }
6684
6272
  const { clientY } = e;
6685
6273
  disableDragClose(clientY);
6686
6274
  };
6687
- (0, react.useEffect)(() => {
6275
+ useEffect(() => {
6688
6276
  setModalControls?.((previous) => ({
6689
6277
  ...previous,
6690
6278
  isOpen,
@@ -6708,49 +6296,66 @@ function ModalDisplay({ children, className, onClose, onOpen, place = "bottom" }
6708
6296
  readyToClose,
6709
6297
  setModalControls
6710
6298
  ]);
6711
- return <>
6712
- {allowDragClose && bodyElement && (0, react_dom.createPortal)(<div ref={dragMoveBoxRef} className="fixed inset-0 z-99 h-dvh w-screen bg-transparent active:cursor-grabbing pointer-coarse:hidden" onMouseMove={handleMouseMove} onMouseUp={disableMouseDragClose} />, bodyElement)}
6713
-
6714
- {children}
6715
- </>;
6299
+ return /* @__PURE__ */ jsxs(Fragment, { children: [allowDragClose && bodyElement && createPortal(/* @__PURE__ */ jsx("div", {
6300
+ ref: dragMoveBoxRef,
6301
+ className: "fixed inset-0 z-99 h-dvh w-screen bg-transparent active:cursor-grabbing pointer-coarse:hidden",
6302
+ onMouseMove: handleMouseMove,
6303
+ onMouseUp: disableMouseDragClose
6304
+ }), bodyElement), children] });
6716
6305
  }
6717
6306
  function Modal(props) {
6718
- return <ModalControlsProvider>
6719
- <ModalDisplay {...props} />
6720
- </ModalControlsProvider>;
6307
+ return /* @__PURE__ */ jsx(ModalControlsProvider, { children: /* @__PURE__ */ jsx(ModalDisplay, { ...props }) });
6721
6308
  }
6722
6309
 
6723
6310
  //#endregion
6724
6311
  //#region src/symbols/chevron.up.chevron.down.tsx
6725
6312
  function ChevronUpChevronDown({ weight = "regular", ...props }) {
6726
6313
  switch (weight) {
6727
- case "ultralight": return <svg viewBox="9.76562 -70.5083 50.44 70.51" {...props}>
6728
- <path d="M34.9849-70.5083C34.4976-70.5083 34.1113-70.2505 33.7808-69.9199L10.2075-46.96C9.89063-46.6397 9.76562-46.3511 9.76562-46.0318C9.76562-45.417 10.252-44.9761 10.9121-44.9761C11.1587-44.9761 11.503-45.084 11.795-45.3306L34.9849-68.039L58.1714-45.3306C58.4633-45.042 58.7656-44.9761 59.0576-44.9761C59.6724-44.9761 60.2007-45.417 60.2007-46.0318C60.2007-46.3511 60.0791-46.6397 59.7588-46.96L36.189-69.9199C35.8096-70.2505 35.4688-70.5083 34.9849-70.5083ZM34.9849 0.000503659C35.4688 0.000503659 35.8096-0.25731 36.189-0.587881L59.7588-23.5478C60.0791-23.8681 60.2007-24.1567 60.2007-24.4761C60.2007-25.0908 59.6724-25.5317 59.0576-25.5317C58.7656-25.5317 58.4633-25.4658 58.1714-25.1772L34.9849-2.46879L11.795-25.1772C11.503-25.4238 11.1587-25.5317 10.9121-25.5317C10.252-25.5317 9.76562-25.0908 9.76562-24.4761C9.76562-24.1567 9.89063-23.8681 10.2075-23.5478L33.7808-0.587881C34.1113-0.25731 34.4976 0.000503659 34.9849 0.000503659Z" />
6729
- </svg>;
6730
- case "thin": return <svg viewBox="9.76562 -70.9492 50.57 71.39" {...props}>
6731
- <path d="M35.0566-70.9492C34.4258-70.9492 33.9062-70.6504 33.4629-70.207L10.3613-47.8008C9.97266-47.3985 9.76562-46.9766 9.76562-46.4317C9.76562-45.4375 10.5391-44.6992 11.5684-44.6992C11.9688-44.6992 12.4668-44.8379 12.9024-45.2383L35.0566-66.9316L57.1972-45.2383C57.6328-44.8164 58.1094-44.6992 58.5449-44.6992C59.5391-44.6992 60.334-45.4375 60.334-46.4317C60.334-46.9766 60.1406-47.3985 59.7383-47.8008L36.6504-70.207C36.1582-70.6504 35.6738-70.9492 35.0566-70.9492ZM35.0566 0.441418C35.6738 0.441418 36.1582 0.142589 36.6504-0.300773L59.7383-22.707C60.1406-23.1094 60.334-23.5312 60.334-24.0762C60.334-25.0703 59.5391-25.8086 58.5449-25.8086C58.1094-25.8086 57.6328-25.6914 57.1972-25.2695L35.0566-3.5762L12.9024-25.2695C12.4668-25.6699 11.9688-25.8086 11.5684-25.8086C10.5391-25.8086 9.76562-25.0703 9.76562-24.0762C9.76562-23.5312 9.97266-23.1094 10.3613-22.707L33.4629-0.300773C33.9062 0.142589 34.4258 0.441418 35.0566 0.441418Z" />
6732
- </svg>;
6733
- case "light": return <svg viewBox="9.76562 -71.8101 50.83 73.11" {...props}>
6734
- <path d="M35.1968-71.8101C34.2856-71.8101 33.5059-71.4312 32.8423-70.7676L10.6616-49.4424C10.1328-48.8799 9.76562-48.1978 9.76562-47.2124C9.76562-45.4775 11.0996-44.1587 12.8496-44.1587C13.5503-44.1587 14.3486-44.3574 15.0645-45.0581L35.1968-64.7695L55.2954-45.0581C56.0112-44.376 56.8281-44.1587 57.5439-44.1587C59.2788-44.1587 60.5942-45.4775 60.5942-47.2124C60.5942-48.1978 60.2607-48.8799 59.6982-49.4424L37.5513-70.7676C36.8389-71.4312 36.0742-71.8101 35.1968-71.8101ZM35.1968 1.30225C36.0742 1.30225 36.8389 0.923344 37.5513 0.259769L59.6982-21.0654C60.2607-21.6279 60.5942-22.3101 60.5942-23.2954C60.5942-25.0303 59.2788-26.3491 57.5439-26.3491C56.8281-26.3491 56.0112-26.1318 55.2954-25.4497L35.1968-5.73829L15.0645-25.4497C14.3486-26.1504 13.5503-26.3491 12.8496-26.3491C11.0996-26.3491 9.76562-25.0303 9.76562-23.2954C9.76562-22.3101 10.1328-21.6279 10.6616-21.0654L32.8423 0.259769C33.5059 0.923344 34.2856 1.30225 35.1968 1.30225Z" />
6735
- </svg>;
6736
- case "regular": return <svg viewBox="9.76562 -72.4609 51.03 74.41" {...props}>
6737
- <path d="M35.3027-72.4609C34.1797-72.4609 33.2031-72.0215 32.373-71.1914L10.8887-50.6836C10.2539-50 9.76562-49.1211 9.76562-47.8027C9.76562-45.5078 11.5234-43.75 13.8184-43.75C14.7461-43.75 15.7715-43.9941 16.6992-44.9219L35.3027-63.1348L53.8574-44.9219C54.7852-44.043 55.8594-43.75 56.7871-43.75C59.082-43.75 60.791-45.5078 60.791-47.8027C60.791-49.1211 60.3516-50 59.668-50.6836L38.2324-71.1914C37.3535-72.0215 36.377-72.4609 35.3027-72.4609ZM35.3027 1.95312C36.377 1.95312 37.3535 1.51367 38.2324 0.683594L59.668-19.8242C60.3516-20.5078 60.791-21.3867 60.791-22.7051C60.791-25 59.082-26.7578 56.7871-26.7578C55.8594-26.7578 54.7852-26.4648 53.8574-25.5859L35.3027-7.37305L16.6992-25.5859C15.7715-26.5137 14.7461-26.7578 13.8184-26.7578C11.5234-26.7578 9.76562-25 9.76562-22.7051C9.76562-21.3867 10.2539-20.5078 10.8887-19.8242L32.373 0.683594C33.2031 1.51367 34.1797 1.95312 35.3027 1.95312Z" />
6738
- </svg>;
6739
- case "medium": return <svg viewBox="9.76562 -74.0254 53.67 77.54" {...props}>
6740
- <path d="M36.6211-74.0254C35.1641-74.0254 33.9326-73.4453 32.8037-72.334L11.3369-51.8174C10.4385-50.8965 9.76562-49.7451 9.76562-48.2246C9.76562-45.3584 12.0508-43.249 14.7236-43.249C15.915-43.249 17.1953-43.5898 18.2988-44.6846L36.6211-62.6162L54.9033-44.6846C56.0068-43.6299 57.3271-43.249 58.5186-43.249C61.1914-43.249 63.4365-45.3584 63.4365-48.2246C63.4365-49.7451 62.8037-50.8965 61.8652-51.8174L40.4385-72.334C39.2695-73.4453 38.0381-74.0254 36.6211-74.0254ZM36.6211 3.51758C38.0381 3.51758 39.2695 2.9375 40.4385 1.82617L61.8652-18.6904C62.8037-19.6113 63.4365-20.7627 63.4365-22.2832C63.4365-25.1494 61.1914-27.2588 58.5186-27.2588C57.3271-27.2588 56.0068-26.8779 54.9033-25.8232L36.6211-7.8916L18.2988-25.8232C17.1953-26.918 15.915-27.2588 14.7236-27.2588C12.0508-27.2588 9.76562-25.1494 9.76562-22.2832C9.76562-20.7627 10.4385-19.6113 11.3369-18.6904L32.8037 1.82617C33.9326 2.9375 35.1641 3.51758 36.6211 3.51758Z" />
6741
- </svg>;
6742
- case "semibold": return <svg viewBox="9.76562 -75.2248 55.7 79.94" {...props}>
6743
- <path d="M37.6318-75.2248C35.9188-75.2248 34.4919-74.5369 33.1339-73.21L11.6806-52.6866C10.58-51.5838 9.76562-50.2235 9.76562-48.548C9.76562-45.2438 12.4551-42.8649 15.4177-42.8649C16.8112-42.8649 18.2869-43.2799 19.5252-44.5026L37.6318-62.2187L55.7052-44.5026C56.9435-43.3132 58.4524-42.8649 59.846-42.8649C62.8086-42.8649 65.4647-45.2438 65.4647-48.548C65.4647-50.2235 64.6837-51.5838 63.5498-52.6866L42.1298-73.21C40.7385-74.5369 39.3116-75.2248 37.6318-75.2248ZM37.6318 4.71699C39.3116 4.71699 40.7385 4.0291 42.1298 2.70215L63.5498-17.8212C64.6837-18.924 65.4647-20.2843 65.4647-21.9598C65.4647-25.264 62.8086-27.6429 59.846-27.6429C58.4524-27.6429 56.9435-27.1946 55.7052-26.0052L37.6318-8.28916L19.5252-26.0052C18.2869-27.2279 16.8112-27.6429 15.4177-27.6429C12.4551-27.6429 9.76562-25.264 9.76562-21.9598C9.76562-20.2843 10.58-18.924 11.6806-17.8212L33.1339 2.70215C34.4919 4.0291 35.9188 4.71699 37.6318 4.71699Z" />
6744
- </svg>;
6745
- case "bold": return <svg viewBox="9.76562 -76.8066 58.37 83.11" {...props}>
6746
- <path d="M38.9648-76.8066C36.9141-76.8066 35.2295-75.9766 33.5693-74.3652L12.1338-53.833C10.7666-52.4902 9.76562-50.8545 9.76562-48.9746C9.76562-45.0928 12.9883-42.3584 16.333-42.3584C17.9932-42.3584 19.7266-42.8711 21.1426-44.2627L38.9648-61.6943L56.7627-44.2627C58.1787-42.8955 59.9365-42.3584 61.5967-42.3584C64.9414-42.3584 68.1396-45.0928 68.1396-48.9746C68.1396-50.8545 67.1631-52.4902 65.7715-53.833L44.3604-74.3652C42.6758-75.9766 40.9912-76.8066 38.9648-76.8066ZM38.9648 6.29883C40.9912 6.29883 42.6758 5.46875 44.3604 3.85742L65.7715-16.6748C67.1631-18.0176 68.1396-19.6533 68.1396-21.5332C68.1396-25.415 64.9414-28.1494 61.5967-28.1494C59.9365-28.1494 58.1787-27.6123 56.7627-26.2451L38.9648-8.81348L21.1426-26.2451C19.7266-27.6367 17.9932-28.1494 16.333-28.1494C12.9883-28.1494 9.76562-25.415 9.76562-21.5332C9.76562-19.6533 10.7666-18.0176 12.1338-16.6748L33.5693 3.85742C35.2295 5.46875 36.9141 6.29883 38.9648 6.29883Z" />
6747
- </svg>;
6748
- case "heavy": return <svg viewBox="9.76562 -79.101 62.25 87.69" {...props}>
6749
- <path d="M40.8983-79.101C38.3577-79.101 36.2993-78.0647 34.2009-76.0409L12.7912-55.4958C11.0373-53.805 9.76562-51.7697 9.76562-49.5933C9.76562-44.8737 13.7617-41.6237 17.6606-41.6237C19.7075-41.6237 21.8147-42.2782 23.4885-43.9147L40.8983-60.9338L58.2966-43.9147C59.9704-42.2897 62.0891-41.6237 64.1359-41.6237C68.0349-41.6237 72.0194-44.8737 72.0194-49.5933C72.0194-51.7697 70.7593-53.805 68.9939-55.4958L47.5956-76.0409C45.4857-78.0647 43.4273-79.101 40.8983-79.101ZM40.8983 8.59318C43.4273 8.59318 45.4857 7.55686 47.5956 5.53307L68.9939-15.012C70.7593-16.7028 72.0194-18.7382 72.0194-20.9145C72.0194-25.6342 68.0349-28.8841 64.1359-28.8841C62.0891-28.8841 59.9704-28.2181 58.2966-26.5931L40.8983-9.57396L23.4885-26.5931C21.8147-28.2296 19.7075-28.8841 17.6606-28.8841C13.7617-28.8841 9.76562-25.6342 9.76562-20.9145C9.76562-18.7382 11.0373-16.7028 12.7912-15.012L34.2009 5.53307C36.2993 7.55686 38.3577 8.59318 40.8983 8.59318Z" />
6750
- </svg>;
6751
- case "black": return <svg viewBox="9.76562 -81.1523 65.72 91.8" {...props}>
6752
- <path d="M42.627-81.1523C39.6484-81.1523 37.2559-79.9316 34.7656-77.5391L13.3789-56.9824C11.2793-54.9805 9.76562-52.5879 9.76562-50.1465C9.76562-44.6777 14.4531-40.9668 18.8477-40.9668C21.2402-40.9668 23.6816-41.748 25.5859-43.6035L42.627-60.2539L59.668-43.6035C61.5723-41.748 64.0137-40.9668 66.4062-40.9668C70.8008-40.9668 75.4883-44.6777 75.4883-50.1465C75.4883-52.5879 73.9746-54.9805 71.875-56.9824L50.4883-77.5391C47.998-79.9316 45.6055-81.1523 42.627-81.1523ZM42.627 10.6445C45.6055 10.6445 47.998 9.42383 50.4883 7.03125L71.875-13.5254C73.9746-15.5273 75.4883-17.9199 75.4883-20.3613C75.4883-25.8301 70.8008-29.541 66.4062-29.541C64.0137-29.541 61.5723-28.7598 59.668-26.9043L42.627-10.2539L25.5859-26.9043C23.6816-28.7598 21.2402-29.541 18.8477-29.541C14.4531-29.541 9.76562-25.8301 9.76562-20.3613C9.76562-17.9199 11.2793-15.5273 13.3789-13.5254L34.7656 7.03125C37.2559 9.42383 39.6484 10.6445 42.627 10.6445Z" />
6753
- </svg>;
6314
+ case "ultralight": return /* @__PURE__ */ jsx("svg", {
6315
+ viewBox: "9.76562 -70.5083 50.44 70.51",
6316
+ ...props,
6317
+ children: /* @__PURE__ */ jsx("path", { d: "M34.9849-70.5083C34.4976-70.5083 34.1113-70.2505 33.7808-69.9199L10.2075-46.96C9.89063-46.6397 9.76562-46.3511 9.76562-46.0318C9.76562-45.417 10.252-44.9761 10.9121-44.9761C11.1587-44.9761 11.503-45.084 11.795-45.3306L34.9849-68.039L58.1714-45.3306C58.4633-45.042 58.7656-44.9761 59.0576-44.9761C59.6724-44.9761 60.2007-45.417 60.2007-46.0318C60.2007-46.3511 60.0791-46.6397 59.7588-46.96L36.189-69.9199C35.8096-70.2505 35.4688-70.5083 34.9849-70.5083ZM34.9849 0.000503659C35.4688 0.000503659 35.8096-0.25731 36.189-0.587881L59.7588-23.5478C60.0791-23.8681 60.2007-24.1567 60.2007-24.4761C60.2007-25.0908 59.6724-25.5317 59.0576-25.5317C58.7656-25.5317 58.4633-25.4658 58.1714-25.1772L34.9849-2.46879L11.795-25.1772C11.503-25.4238 11.1587-25.5317 10.9121-25.5317C10.252-25.5317 9.76562-25.0908 9.76562-24.4761C9.76562-24.1567 9.89063-23.8681 10.2075-23.5478L33.7808-0.587881C34.1113-0.25731 34.4976 0.000503659 34.9849 0.000503659Z" })
6318
+ });
6319
+ case "thin": return /* @__PURE__ */ jsx("svg", {
6320
+ viewBox: "9.76562 -70.9492 50.57 71.39",
6321
+ ...props,
6322
+ children: /* @__PURE__ */ jsx("path", { d: "M35.0566-70.9492C34.4258-70.9492 33.9062-70.6504 33.4629-70.207L10.3613-47.8008C9.97266-47.3985 9.76562-46.9766 9.76562-46.4317C9.76562-45.4375 10.5391-44.6992 11.5684-44.6992C11.9688-44.6992 12.4668-44.8379 12.9024-45.2383L35.0566-66.9316L57.1972-45.2383C57.6328-44.8164 58.1094-44.6992 58.5449-44.6992C59.5391-44.6992 60.334-45.4375 60.334-46.4317C60.334-46.9766 60.1406-47.3985 59.7383-47.8008L36.6504-70.207C36.1582-70.6504 35.6738-70.9492 35.0566-70.9492ZM35.0566 0.441418C35.6738 0.441418 36.1582 0.142589 36.6504-0.300773L59.7383-22.707C60.1406-23.1094 60.334-23.5312 60.334-24.0762C60.334-25.0703 59.5391-25.8086 58.5449-25.8086C58.1094-25.8086 57.6328-25.6914 57.1972-25.2695L35.0566-3.5762L12.9024-25.2695C12.4668-25.6699 11.9688-25.8086 11.5684-25.8086C10.5391-25.8086 9.76562-25.0703 9.76562-24.0762C9.76562-23.5312 9.97266-23.1094 10.3613-22.707L33.4629-0.300773C33.9062 0.142589 34.4258 0.441418 35.0566 0.441418Z" })
6323
+ });
6324
+ case "light": return /* @__PURE__ */ jsx("svg", {
6325
+ viewBox: "9.76562 -71.8101 50.83 73.11",
6326
+ ...props,
6327
+ children: /* @__PURE__ */ jsx("path", { d: "M35.1968-71.8101C34.2856-71.8101 33.5059-71.4312 32.8423-70.7676L10.6616-49.4424C10.1328-48.8799 9.76562-48.1978 9.76562-47.2124C9.76562-45.4775 11.0996-44.1587 12.8496-44.1587C13.5503-44.1587 14.3486-44.3574 15.0645-45.0581L35.1968-64.7695L55.2954-45.0581C56.0112-44.376 56.8281-44.1587 57.5439-44.1587C59.2788-44.1587 60.5942-45.4775 60.5942-47.2124C60.5942-48.1978 60.2607-48.8799 59.6982-49.4424L37.5513-70.7676C36.8389-71.4312 36.0742-71.8101 35.1968-71.8101ZM35.1968 1.30225C36.0742 1.30225 36.8389 0.923344 37.5513 0.259769L59.6982-21.0654C60.2607-21.6279 60.5942-22.3101 60.5942-23.2954C60.5942-25.0303 59.2788-26.3491 57.5439-26.3491C56.8281-26.3491 56.0112-26.1318 55.2954-25.4497L35.1968-5.73829L15.0645-25.4497C14.3486-26.1504 13.5503-26.3491 12.8496-26.3491C11.0996-26.3491 9.76562-25.0303 9.76562-23.2954C9.76562-22.3101 10.1328-21.6279 10.6616-21.0654L32.8423 0.259769C33.5059 0.923344 34.2856 1.30225 35.1968 1.30225Z" })
6328
+ });
6329
+ case "regular": return /* @__PURE__ */ jsx("svg", {
6330
+ viewBox: "9.76562 -72.4609 51.03 74.41",
6331
+ ...props,
6332
+ children: /* @__PURE__ */ jsx("path", { d: "M35.3027-72.4609C34.1797-72.4609 33.2031-72.0215 32.373-71.1914L10.8887-50.6836C10.2539-50 9.76562-49.1211 9.76562-47.8027C9.76562-45.5078 11.5234-43.75 13.8184-43.75C14.7461-43.75 15.7715-43.9941 16.6992-44.9219L35.3027-63.1348L53.8574-44.9219C54.7852-44.043 55.8594-43.75 56.7871-43.75C59.082-43.75 60.791-45.5078 60.791-47.8027C60.791-49.1211 60.3516-50 59.668-50.6836L38.2324-71.1914C37.3535-72.0215 36.377-72.4609 35.3027-72.4609ZM35.3027 1.95312C36.377 1.95312 37.3535 1.51367 38.2324 0.683594L59.668-19.8242C60.3516-20.5078 60.791-21.3867 60.791-22.7051C60.791-25 59.082-26.7578 56.7871-26.7578C55.8594-26.7578 54.7852-26.4648 53.8574-25.5859L35.3027-7.37305L16.6992-25.5859C15.7715-26.5137 14.7461-26.7578 13.8184-26.7578C11.5234-26.7578 9.76562-25 9.76562-22.7051C9.76562-21.3867 10.2539-20.5078 10.8887-19.8242L32.373 0.683594C33.2031 1.51367 34.1797 1.95312 35.3027 1.95312Z" })
6333
+ });
6334
+ case "medium": return /* @__PURE__ */ jsx("svg", {
6335
+ viewBox: "9.76562 -74.0254 53.67 77.54",
6336
+ ...props,
6337
+ children: /* @__PURE__ */ jsx("path", { d: "M36.6211-74.0254C35.1641-74.0254 33.9326-73.4453 32.8037-72.334L11.3369-51.8174C10.4385-50.8965 9.76562-49.7451 9.76562-48.2246C9.76562-45.3584 12.0508-43.249 14.7236-43.249C15.915-43.249 17.1953-43.5898 18.2988-44.6846L36.6211-62.6162L54.9033-44.6846C56.0068-43.6299 57.3271-43.249 58.5186-43.249C61.1914-43.249 63.4365-45.3584 63.4365-48.2246C63.4365-49.7451 62.8037-50.8965 61.8652-51.8174L40.4385-72.334C39.2695-73.4453 38.0381-74.0254 36.6211-74.0254ZM36.6211 3.51758C38.0381 3.51758 39.2695 2.9375 40.4385 1.82617L61.8652-18.6904C62.8037-19.6113 63.4365-20.7627 63.4365-22.2832C63.4365-25.1494 61.1914-27.2588 58.5186-27.2588C57.3271-27.2588 56.0068-26.8779 54.9033-25.8232L36.6211-7.8916L18.2988-25.8232C17.1953-26.918 15.915-27.2588 14.7236-27.2588C12.0508-27.2588 9.76562-25.1494 9.76562-22.2832C9.76562-20.7627 10.4385-19.6113 11.3369-18.6904L32.8037 1.82617C33.9326 2.9375 35.1641 3.51758 36.6211 3.51758Z" })
6338
+ });
6339
+ case "semibold": return /* @__PURE__ */ jsx("svg", {
6340
+ viewBox: "9.76562 -75.2248 55.7 79.94",
6341
+ ...props,
6342
+ children: /* @__PURE__ */ jsx("path", { d: "M37.6318-75.2248C35.9188-75.2248 34.4919-74.5369 33.1339-73.21L11.6806-52.6866C10.58-51.5838 9.76562-50.2235 9.76562-48.548C9.76562-45.2438 12.4551-42.8649 15.4177-42.8649C16.8112-42.8649 18.2869-43.2799 19.5252-44.5026L37.6318-62.2187L55.7052-44.5026C56.9435-43.3132 58.4524-42.8649 59.846-42.8649C62.8086-42.8649 65.4647-45.2438 65.4647-48.548C65.4647-50.2235 64.6837-51.5838 63.5498-52.6866L42.1298-73.21C40.7385-74.5369 39.3116-75.2248 37.6318-75.2248ZM37.6318 4.71699C39.3116 4.71699 40.7385 4.0291 42.1298 2.70215L63.5498-17.8212C64.6837-18.924 65.4647-20.2843 65.4647-21.9598C65.4647-25.264 62.8086-27.6429 59.846-27.6429C58.4524-27.6429 56.9435-27.1946 55.7052-26.0052L37.6318-8.28916L19.5252-26.0052C18.2869-27.2279 16.8112-27.6429 15.4177-27.6429C12.4551-27.6429 9.76562-25.264 9.76562-21.9598C9.76562-20.2843 10.58-18.924 11.6806-17.8212L33.1339 2.70215C34.4919 4.0291 35.9188 4.71699 37.6318 4.71699Z" })
6343
+ });
6344
+ case "bold": return /* @__PURE__ */ jsx("svg", {
6345
+ viewBox: "9.76562 -76.8066 58.37 83.11",
6346
+ ...props,
6347
+ children: /* @__PURE__ */ jsx("path", { d: "M38.9648-76.8066C36.9141-76.8066 35.2295-75.9766 33.5693-74.3652L12.1338-53.833C10.7666-52.4902 9.76562-50.8545 9.76562-48.9746C9.76562-45.0928 12.9883-42.3584 16.333-42.3584C17.9932-42.3584 19.7266-42.8711 21.1426-44.2627L38.9648-61.6943L56.7627-44.2627C58.1787-42.8955 59.9365-42.3584 61.5967-42.3584C64.9414-42.3584 68.1396-45.0928 68.1396-48.9746C68.1396-50.8545 67.1631-52.4902 65.7715-53.833L44.3604-74.3652C42.6758-75.9766 40.9912-76.8066 38.9648-76.8066ZM38.9648 6.29883C40.9912 6.29883 42.6758 5.46875 44.3604 3.85742L65.7715-16.6748C67.1631-18.0176 68.1396-19.6533 68.1396-21.5332C68.1396-25.415 64.9414-28.1494 61.5967-28.1494C59.9365-28.1494 58.1787-27.6123 56.7627-26.2451L38.9648-8.81348L21.1426-26.2451C19.7266-27.6367 17.9932-28.1494 16.333-28.1494C12.9883-28.1494 9.76562-25.415 9.76562-21.5332C9.76562-19.6533 10.7666-18.0176 12.1338-16.6748L33.5693 3.85742C35.2295 5.46875 36.9141 6.29883 38.9648 6.29883Z" })
6348
+ });
6349
+ case "heavy": return /* @__PURE__ */ jsx("svg", {
6350
+ viewBox: "9.76562 -79.101 62.25 87.69",
6351
+ ...props,
6352
+ children: /* @__PURE__ */ jsx("path", { d: "M40.8983-79.101C38.3577-79.101 36.2993-78.0647 34.2009-76.0409L12.7912-55.4958C11.0373-53.805 9.76562-51.7697 9.76562-49.5933C9.76562-44.8737 13.7617-41.6237 17.6606-41.6237C19.7075-41.6237 21.8147-42.2782 23.4885-43.9147L40.8983-60.9338L58.2966-43.9147C59.9704-42.2897 62.0891-41.6237 64.1359-41.6237C68.0349-41.6237 72.0194-44.8737 72.0194-49.5933C72.0194-51.7697 70.7593-53.805 68.9939-55.4958L47.5956-76.0409C45.4857-78.0647 43.4273-79.101 40.8983-79.101ZM40.8983 8.59318C43.4273 8.59318 45.4857 7.55686 47.5956 5.53307L68.9939-15.012C70.7593-16.7028 72.0194-18.7382 72.0194-20.9145C72.0194-25.6342 68.0349-28.8841 64.1359-28.8841C62.0891-28.8841 59.9704-28.2181 58.2966-26.5931L40.8983-9.57396L23.4885-26.5931C21.8147-28.2296 19.7075-28.8841 17.6606-28.8841C13.7617-28.8841 9.76562-25.6342 9.76562-20.9145C9.76562-18.7382 11.0373-16.7028 12.7912-15.012L34.2009 5.53307C36.2993 7.55686 38.3577 8.59318 40.8983 8.59318Z" })
6353
+ });
6354
+ case "black": return /* @__PURE__ */ jsx("svg", {
6355
+ viewBox: "9.76562 -81.1523 65.72 91.8",
6356
+ ...props,
6357
+ children: /* @__PURE__ */ jsx("path", { d: "M42.627-81.1523C39.6484-81.1523 37.2559-79.9316 34.7656-77.5391L13.3789-56.9824C11.2793-54.9805 9.76562-52.5879 9.76562-50.1465C9.76562-44.6777 14.4531-40.9668 18.8477-40.9668C21.2402-40.9668 23.6816-41.748 25.5859-43.6035L42.627-60.2539L59.668-43.6035C61.5723-41.748 64.0137-40.9668 66.4062-40.9668C70.8008-40.9668 75.4883-44.6777 75.4883-50.1465C75.4883-52.5879 73.9746-54.9805 71.875-56.9824L50.4883-77.5391C47.998-79.9316 45.6055-81.1523 42.627-81.1523ZM42.627 10.6445C45.6055 10.6445 47.998 9.42383 50.4883 7.03125L71.875-13.5254C73.9746-15.5273 75.4883-17.9199 75.4883-20.3613C75.4883-25.8301 70.8008-29.541 66.4062-29.541C64.0137-29.541 61.5723-28.7598 59.668-26.9043L42.627-10.2539L25.5859-26.9043C23.6816-28.7598 21.2402-29.541 18.8477-29.541C14.4531-29.541 9.76562-25.8301 9.76562-20.3613C9.76562-17.9199 11.2793-15.5273 13.3789-13.5254L34.7656 7.03125C37.2559 9.42383 39.6484 10.6445 42.627 10.6445Z" })
6358
+ });
6754
6359
  }
6755
6360
  }
6756
6361
 
@@ -6762,7 +6367,10 @@ function ChevronUpChevronDown({ weight = "regular", ...props }) {
6762
6367
  * Displays a simple title.
6763
6368
  */
6764
6369
  function SelectSectionTitle({ className, ...props }) {
6765
- return <div className={twMerge("sticky -top-1 z-10 -mx-1 bg-inherit mask-t-from-transparent mask-t-from-0 mask-t-to-white mask-t-to-1.5 pl-2 font-bold text-neutral-500/50 backdrop-blur-[2px] backdrop-brightness-101", className)} {...props} />;
6370
+ return /* @__PURE__ */ jsx("div", {
6371
+ className: twMerge("sticky -top-1 z-10 -mx-1 bg-inherit mask-t-from-transparent mask-t-from-0 mask-t-to-white mask-t-to-1.5 pl-2 font-bold text-neutral-500/50 backdrop-blur-[2px] backdrop-brightness-101", className),
6372
+ ...props
6373
+ });
6766
6374
  }
6767
6375
  /**
6768
6376
  * ## SelectOption
@@ -6772,15 +6380,17 @@ function SelectSectionTitle({ className, ...props }) {
6772
6380
  * @prop value - This is used for FormData
6773
6381
  */
6774
6382
  function SelectOption({ children, className, name, ...props }) {
6775
- return <_headlessui_react.ListboxOption className="group/option contents" {...props}>
6776
- {(bag) => bag.selectedOption ? <span className='mr-3 before:absolute before:-left-3 before:content-[",_"]'>
6777
- {name}
6778
- </span> : <div className={twMerge("ease-exponential corner-super-1.5 flex cursor-pointer items-center gap-2 rounded-lg px-2 py-1 transition-[background-color] duration-200 select-none [--theme-color:var(--base-theme-color)] group-disabled/option:opacity-50 group-data-focus/option:bg-(--theme-color)/15 group-data-selected/option:cursor-default group-data-selected/option:text-(--theme-color) group-data-focus/option:group-data-selected/option:bg-transparent dark:group-data-focus/option:bg-(--theme-color)/15", className)}>
6779
- <Checkmark className="invisible size-3.5 group-data-selected/option:visible" />
6780
-
6781
- {typeof children === "function" ? children(bag) : children}
6782
- </div>}
6783
- </_headlessui_react.ListboxOption>;
6383
+ return /* @__PURE__ */ jsx(ListboxOption, {
6384
+ className: "group/option contents",
6385
+ ...props,
6386
+ children: (bag) => bag.selectedOption ? /* @__PURE__ */ jsx("span", {
6387
+ className: "mr-3 before:absolute before:-left-3 before:content-[\",_\"]",
6388
+ children: name
6389
+ }) : /* @__PURE__ */ jsxs("div", {
6390
+ className: twMerge("ease-exponential corner-super-1.5 flex cursor-pointer items-center gap-2 rounded-lg px-2 py-1 transition-[background-color] duration-200 select-none [--theme-color:var(--base-theme-color)] group-disabled/option:opacity-50 group-data-focus/option:bg-(--theme-color)/15 group-data-selected/option:cursor-default group-data-selected/option:text-(--theme-color) group-data-focus/option:group-data-selected/option:bg-transparent dark:group-data-focus/option:bg-(--theme-color)/15", className),
6391
+ children: [/* @__PURE__ */ jsx(Checkmark, { className: "invisible size-3.5 group-data-selected/option:visible" }), typeof children === "function" ? children(bag) : children]
6392
+ })
6393
+ });
6784
6394
  }
6785
6395
  /**
6786
6396
  * # Select
@@ -6805,12 +6415,12 @@ function SelectOption({ children, className, name, ...props }) {
6805
6415
  * @prop anchor - The anchor point for the drop down menu.
6806
6416
  */
6807
6417
  function Select({ buttonProps, children, className, description, descriptionProps: { className: descriptionClassName, ...descriptionProps } = {}, fieldProps: { className: fieldClassName, ...fieldProps } = {}, invalid, label, labelProps: { className: labelClassName, ...labelProps } = {}, onChange, optionsProps: { anchor, className: optionsClassName, transition, ...optionsProps } = {}, placeholder, required, selectedOptionProps: { ...selectedOptionProps } = {}, ...props }) {
6808
- const uniqueId = (0, react.useId)();
6418
+ const uniqueId = useId();
6809
6419
  const multiple = props.multiple;
6810
- const selectOptionList = react.Children.toArray(children).filter((child) => (0, react.isValidElement)(child) && child.props && typeof child.props === "object" && "name" in child.props && "value" in child.props && "children" in child.props);
6811
- const listboxButtonRef = (0, react.useRef)(null);
6812
- const [isInvalid, setIsInvalid] = (0, react.useState)(invalid);
6813
- const [selectedOptionSync, setSelectedOptionSync] = (0, react.useState)(multiple ? [] : "");
6420
+ const selectOptionList = Children.toArray(children).filter((child) => isValidElement(child) && child.props && typeof child.props === "object" && "name" in child.props && "value" in child.props && "children" in child.props);
6421
+ const listboxButtonRef = useRef(null);
6422
+ const [isInvalid, setIsInvalid] = useState(invalid);
6423
+ const [selectedOptionSync, setSelectedOptionSync] = useState(multiple ? [] : "");
6814
6424
  const handleChange = (selected) => {
6815
6425
  setIsInvalid(false);
6816
6426
  setSelectedOptionSync(selected);
@@ -6818,31 +6428,61 @@ function Select({ buttonProps, children, className, description, descriptionProp
6818
6428
  };
6819
6429
  const handleInvalid = () => setIsInvalid(true);
6820
6430
  const refocus = () => listboxButtonRef.current?.focus();
6821
- return <_headlessui_react.Field {...fieldProps} className={(bag) => twMerge("grid gap-1", typeof fieldClassName === "function" ? fieldClassName(bag) : fieldClassName)}>
6822
- {label && <_headlessui_react.Label {...labelProps} className={(bag) => twMerge("text-sm font-medium", required ? "after:text-red-700 after:content-[\"_*\"]" : "", typeof labelClassName === "function" ? labelClassName(bag) : labelClassName)}>
6823
- {label}
6824
- </_headlessui_react.Label>}
6825
-
6826
- <_headlessui_react.Listbox {...props} invalid={isInvalid || invalid} onChange={handleChange}>
6827
- <_headlessui_react.ListboxButton {...buttonProps} className={(bag) => twMerge("ease-exponential corner-super-1.5 inline-block w-full overflow-clip rounded-xl border border-neutral-500/50 bg-neutral-100 py-1 pr-4.5 pl-2 text-left text-neutral-950 outline-offset-1 outline-blue-400/95 transition-[background-color] duration-300 dark:bg-neutral-700 dark:text-neutral-50", "focus:outline-3 focus-visible:bg-neutral-50 focus-visible:outline-3 active:bg-neutral-200 dark:focus-visible:bg-neutral-600 dark:active:bg-neutral-800 pointer-fine:hover:bg-neutral-50 pointer-fine:active:bg-neutral-200 dark:pointer-fine:hover:bg-neutral-600 dark:pointer-fine:active:bg-neutral-800", "data-invalid:border-red-500 data-invalid:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-100)_5%)] data-invalid:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-100))] data-invalid:active:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-100))] dark:data-invalid:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-800)_5%)] dark:data-invalid:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-800))] dark:data-invalid:active:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-800)_5%)] data-invalid:pointer-fine:hover:bg-[color-mix(in_oklch,var(--color-red-500)_10%,var(--color-neutral-500)_5%)] data-invalid:pointer-fine:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-100))] data-invalid:pointer-fine:active:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-100))] dark:data-invalid:pointer-fine:hover:bg-[color-mix(in_oklch,var(--color-red-500)_10%,var(--color-neutral-800)_5%)] dark:data-invalid:pointer-fine:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-800))] dark:data-invalid:pointer-fine:active:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-800)_5%)]", typeof className === "function" ? className(bag) : className)} ref={listboxButtonRef}>
6828
- <input aria-hidden="true" className="sr-only top-0 left-1/2" id={props.name + ":input:id" + uniqueId} name={props.name + ":input:name" + uniqueId} onChange={() => {}} onInvalid={handleInvalid} onFocus={refocus} required={required} tabIndex={-1} value={Array.isArray(selectedOptionSync) ? selectedOptionSync.join(", ") : selectedOptionSync} />
6829
-
6830
- <_headlessui_react.ListboxSelectedOption {...selectedOptionProps} options={selectOptionList} placeholder={<span className="opacity-50">
6831
- {placeholder || (multiple ? "Choose Any" : "Choose One")}
6832
- </span>} />
6833
-
6834
- <ChevronUpChevronDown className="absolute top-1/2 right-2 size-3 -translate-y-1/2 fill-current/50" />
6835
- </_headlessui_react.ListboxButton>
6836
-
6837
- <_headlessui_react.ListboxOptions {...optionsProps} anchor={anchor || "bottom start"} className={(bag) => twMerge("ease-exponential corner-super-1.5 z-50 w-(--button-width) origin-top rounded-xl border border-neutral-500/50 bg-neutral-50/95 p-1 backdrop-blur-sm backdrop-brightness-110 transition-[opacity,scale,translate] duration-300 [--anchor-gap:--spacing(1)] focus:outline-none data-closed:-translate-y-0.5 data-closed:scale-y-0 data-closed:opacity-0 data-[anchor*=top]:origin-bottom dark:bg-neutral-800/95", typeof optionsClassName === "function" ? optionsClassName(bag) : optionsClassName)} transition={transition || true}>
6838
- {children}
6839
- </_headlessui_react.ListboxOptions>
6840
- </_headlessui_react.Listbox>
6841
-
6842
- {description && <_headlessui_react.Description {...descriptionProps} className={(bag) => twMerge("text-xs text-current/60", typeof descriptionClassName === "function" ? descriptionClassName(bag) : descriptionClassName)}>
6843
- {description}
6844
- </_headlessui_react.Description>}
6845
- </_headlessui_react.Field>;
6431
+ return /* @__PURE__ */ jsxs(Field, {
6432
+ ...fieldProps,
6433
+ className: (bag) => twMerge("grid gap-1", typeof fieldClassName === "function" ? fieldClassName(bag) : fieldClassName),
6434
+ children: [
6435
+ label && /* @__PURE__ */ jsx(Label, {
6436
+ ...labelProps,
6437
+ className: (bag) => twMerge("text-sm font-medium", required ? "after:text-red-700 after:content-[\"_*\"]" : "", typeof labelClassName === "function" ? labelClassName(bag) : labelClassName),
6438
+ children: label
6439
+ }),
6440
+ /* @__PURE__ */ jsxs(Listbox, {
6441
+ ...props,
6442
+ invalid: isInvalid || invalid,
6443
+ onChange: handleChange,
6444
+ children: [/* @__PURE__ */ jsxs(ListboxButton, {
6445
+ ...buttonProps,
6446
+ className: (bag) => twMerge("ease-exponential corner-super-1.5 inline-block w-full overflow-clip rounded-xl border border-neutral-500/50 bg-neutral-100 py-1 pr-4.5 pl-2 text-left text-neutral-950 outline-offset-1 outline-blue-400/95 transition-[background-color] duration-300 dark:bg-neutral-700 dark:text-neutral-50", "focus:outline-3 focus-visible:bg-neutral-50 focus-visible:outline-3 active:bg-neutral-200 dark:focus-visible:bg-neutral-600 dark:active:bg-neutral-800 pointer-fine:hover:bg-neutral-50 pointer-fine:active:bg-neutral-200 dark:pointer-fine:hover:bg-neutral-600 dark:pointer-fine:active:bg-neutral-800", "data-invalid:border-red-500 data-invalid:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-100)_5%)] data-invalid:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-100))] data-invalid:active:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-100))] dark:data-invalid:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-800)_5%)] dark:data-invalid:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-800))] dark:data-invalid:active:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-800)_5%)] data-invalid:pointer-fine:hover:bg-[color-mix(in_oklch,var(--color-red-500)_10%,var(--color-neutral-500)_5%)] data-invalid:pointer-fine:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-100))] data-invalid:pointer-fine:active:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-100))] dark:data-invalid:pointer-fine:hover:bg-[color-mix(in_oklch,var(--color-red-500)_10%,var(--color-neutral-800)_5%)] dark:data-invalid:pointer-fine:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-800))] dark:data-invalid:pointer-fine:active:bg-[color-mix(in_oklch,var(--color-red-500)_5%,var(--color-neutral-800)_5%)]", typeof className === "function" ? className(bag) : className),
6447
+ ref: listboxButtonRef,
6448
+ children: [
6449
+ /* @__PURE__ */ jsx("input", {
6450
+ "aria-hidden": "true",
6451
+ className: "sr-only top-0 left-1/2",
6452
+ id: props.name + ":input:id" + uniqueId,
6453
+ name: props.name + ":input:name" + uniqueId,
6454
+ onChange: () => {},
6455
+ onInvalid: handleInvalid,
6456
+ onFocus: refocus,
6457
+ required,
6458
+ tabIndex: -1,
6459
+ value: Array.isArray(selectedOptionSync) ? selectedOptionSync.join(", ") : selectedOptionSync
6460
+ }),
6461
+ /* @__PURE__ */ jsx(ListboxSelectedOption, {
6462
+ ...selectedOptionProps,
6463
+ options: selectOptionList,
6464
+ placeholder: /* @__PURE__ */ jsx("span", {
6465
+ className: "opacity-50",
6466
+ children: placeholder || (multiple ? "Choose Any" : "Choose One")
6467
+ })
6468
+ }),
6469
+ /* @__PURE__ */ jsx(ChevronUpChevronDown, { className: "absolute top-1/2 right-2 size-3 -translate-y-1/2 fill-current/50" })
6470
+ ]
6471
+ }), /* @__PURE__ */ jsx(ListboxOptions, {
6472
+ ...optionsProps,
6473
+ anchor: anchor || "bottom start",
6474
+ className: (bag) => twMerge("ease-exponential corner-super-1.5 z-50 w-(--button-width) origin-top rounded-xl border border-neutral-500/50 bg-neutral-50/95 p-1 backdrop-blur-sm backdrop-brightness-110 transition-[opacity,scale,translate] duration-300 [--anchor-gap:--spacing(1)] focus:outline-none data-closed:-translate-y-0.5 data-closed:scale-y-0 data-closed:opacity-0 data-[anchor*=top]:origin-bottom dark:bg-neutral-800/95", typeof optionsClassName === "function" ? optionsClassName(bag) : optionsClassName),
6475
+ transition: transition || true,
6476
+ children
6477
+ })]
6478
+ }),
6479
+ description && /* @__PURE__ */ jsx(Description, {
6480
+ ...descriptionProps,
6481
+ className: (bag) => twMerge("text-xs text-current/60", typeof descriptionClassName === "function" ? descriptionClassName(bag) : descriptionClassName),
6482
+ children: description
6483
+ })
6484
+ ]
6485
+ });
6846
6486
  }
6847
6487
 
6848
6488
  //#endregion
@@ -6870,21 +6510,28 @@ function SubmitButton({ children, className, customTheme, error, formStatus = "r
6870
6510
  const getButtonText = () => {
6871
6511
  switch (formStatus) {
6872
6512
  case "incomplete": return incomplete || "Complete Form";
6873
- case "loading": return loading || <>
6874
- <span className="animate-wave animation-delay-300 inline-block">
6875
-
6876
- </span>
6877
- <span className="animate-wave animation-delay-150 inline-block">
6878
-
6879
- </span>
6880
- <span className="animate-wave inline-block">•</span>
6881
- </>;
6882
- case "error": return <>
6883
- {error || "Error"}{" "}
6884
- <span className="absolute top-1/2 ml-1.5 translate-y-[calc(-50%-1.5px)] text-2xl">
6885
- &times;
6886
- </span>
6887
- </>;
6513
+ case "loading": return loading || /* @__PURE__ */ jsxs(Fragment, { children: [
6514
+ /* @__PURE__ */ jsx("span", {
6515
+ className: "animate-wave animation-delay-300 inline-block",
6516
+ children: "•"
6517
+ }),
6518
+ /* @__PURE__ */ jsx("span", {
6519
+ className: "animate-wave animation-delay-150 inline-block",
6520
+ children: ""
6521
+ }),
6522
+ /* @__PURE__ */ jsx("span", {
6523
+ className: "animate-wave inline-block",
6524
+ children: ""
6525
+ })
6526
+ ] });
6527
+ case "error": return /* @__PURE__ */ jsxs(Fragment, { children: [
6528
+ error || "Error",
6529
+ " ",
6530
+ /* @__PURE__ */ jsx("span", {
6531
+ className: "absolute top-1/2 ml-1.5 translate-y-[calc(-50%-1.5px)] text-2xl",
6532
+ children: "×"
6533
+ })
6534
+ ] });
6888
6535
  case "readonly": return readonly || children;
6889
6536
  case "success": return success || "Successfully Submitted";
6890
6537
  default: return children || "Submit";
@@ -6903,13 +6550,19 @@ function SubmitButton({ children, className, customTheme, error, formStatus = "r
6903
6550
  }
6904
6551
  };
6905
6552
  const dataFormState = getDataFormState();
6906
- return <Button {...props} {...dataFormState} className={twMerge([
6907
- formStatusButtonClasses,
6908
- "w-full text-white",
6909
- className
6910
- ])} customTheme={{ themeColor: twMerge("data-error:[--theme-color:var(--color-red-500)] data-incomplete:[--theme-color:var(--color-neutral-500)] data-loading:[--theme-color:var(--color-yellow-500)] data-readonly:[--theme-color:var(--color-neutral-500)] data-ready:[--theme-color:var(--base-theme-color)] data-success:[--theme-color:var(--color-green-500)]", customTheme?.themeColor) }} theme="custom" type={type || "submit"}>
6911
- {buttonText}
6912
- </Button>;
6553
+ return /* @__PURE__ */ jsx(Button, {
6554
+ ...props,
6555
+ ...dataFormState,
6556
+ className: twMerge([
6557
+ formStatusButtonClasses,
6558
+ "w-full text-white",
6559
+ className
6560
+ ]),
6561
+ customTheme: { themeColor: twMerge("data-error:[--theme-color:var(--color-red-500)] data-incomplete:[--theme-color:var(--color-neutral-500)] data-loading:[--theme-color:var(--color-yellow-500)] data-readonly:[--theme-color:var(--color-neutral-500)] data-ready:[--theme-color:var(--base-theme-color)] data-success:[--theme-color:var(--color-green-500)]", customTheme?.themeColor) },
6562
+ theme: "custom",
6563
+ type: type || "submit",
6564
+ children: buttonText
6565
+ });
6913
6566
  }
6914
6567
 
6915
6568
  //#endregion
@@ -6958,21 +6611,27 @@ function Textarea({ children, className, description, descriptionProps: { classN
6958
6611
  }
6959
6612
  resizeClassName = resizeClassList.join(" ");
6960
6613
  }
6961
- return <_headlessui_react.Field {...fieldProps} className={(bag) => twMerge("grid h-fit gap-1", typeof fieldClassName === "function" ? fieldClassName(bag) : fieldClassName)}>
6962
- {label && <_headlessui_react.Label {...labelProps} className={(bag) => twMerge("text-sm font-medium", required ? "after:text-red-700 after:content-[\"_*\"]" : "", typeof labelClassName === "function" ? labelClassName(bag) : labelClassName)}>
6963
- {label}
6964
- </_headlessui_react.Label>}
6965
-
6966
- <div>
6967
- <_headlessui_react.Textarea {...props} className={(bag) => twMerge("corner-super-1.5 ease-exponential w-full rounded-xl border border-neutral-500/50 bg-neutral-100 py-1 pl-2 text-neutral-950 outline-offset-1 outline-blue-400/95 transition-[background-color] duration-300 dark:bg-neutral-700 dark:text-neutral-50", "focus-visible:bg-neutral-50 focus-visible:outline-3 active:bg-neutral-200 dark:focus-visible:bg-neutral-600 dark:active:bg-neutral-800 pointer-fine:hover:bg-neutral-50 pointer-fine:active:bg-neutral-200 dark:pointer-fine:hover:bg-neutral-600 dark:pointer-fine:active:bg-neutral-800", "user-invalid:border-red-500 user-invalid:bg-[color-mix(in_oklch,var(--color-red-500)_20%,var(--color-neutral-100))] user-invalid:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-100))] user-invalid:active:bg-[color-mix(in_oklch,var(--color-red-500)_25%,var(--color-neutral-100))] dark:user-invalid:bg-[color-mix(in_oklch,var(--color-red-500)_20%,var(--color-neutral-800))] dark:user-invalid:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-800))] dark:user-invalid:active:bg-[color-mix(in_oklch,var(--color-red-500)_25%,var(--color-neutral-800))] user-invalid:pointer-fine:hover:bg-[color-mix(in_oklch,var(--color-red-500)_10%,var(--color-neutral-100))] user-invalid:pointer-fine:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-100))] user-invalid:pointer-fine:active:bg-[color-mix(in_oklch,var(--color-red-500)_25%,var(--color-neutral-100))] dark:user-invalid:pointer-fine:hover:bg-[color-mix(in_oklch,var(--color-red-500)_10%,var(--color-neutral-800))] dark:user-invalid:pointer-fine:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-800))] dark:user-invalid:pointer-fine:active:bg-[color-mix(in_oklch,var(--color-red-500)_25%,var(--color-neutral-800))]", resizeClassName, typeof className === "function" ? className(bag) : className)} required={required} />
6968
-
6969
- {children}
6970
- </div>
6971
-
6972
- {description && <_headlessui_react.Description {...descriptionProps} className={(bag) => twMerge("text-xs text-current/60", typeof descriptionClassName === "function" ? descriptionClassName(bag) : descriptionClassName)}>
6973
- {description}
6974
- </_headlessui_react.Description>}
6975
- </_headlessui_react.Field>;
6614
+ return /* @__PURE__ */ jsxs(Field, {
6615
+ ...fieldProps,
6616
+ className: (bag) => twMerge("grid h-fit gap-1", typeof fieldClassName === "function" ? fieldClassName(bag) : fieldClassName),
6617
+ children: [
6618
+ label && /* @__PURE__ */ jsx(Label, {
6619
+ ...labelProps,
6620
+ className: (bag) => twMerge("text-sm font-medium", required ? "after:text-red-700 after:content-[\"_*\"]" : "", typeof labelClassName === "function" ? labelClassName(bag) : labelClassName),
6621
+ children: label
6622
+ }),
6623
+ /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx(Textarea$1, {
6624
+ ...props,
6625
+ className: (bag) => twMerge("corner-super-1.5 ease-exponential w-full rounded-xl border border-neutral-500/50 bg-neutral-100 py-1 pl-2 text-neutral-950 outline-offset-1 outline-blue-400/95 transition-[background-color] duration-300 dark:bg-neutral-700 dark:text-neutral-50", "focus-visible:bg-neutral-50 focus-visible:outline-3 active:bg-neutral-200 dark:focus-visible:bg-neutral-600 dark:active:bg-neutral-800 pointer-fine:hover:bg-neutral-50 pointer-fine:active:bg-neutral-200 dark:pointer-fine:hover:bg-neutral-600 dark:pointer-fine:active:bg-neutral-800", "user-invalid:border-red-500 user-invalid:bg-[color-mix(in_oklch,var(--color-red-500)_20%,var(--color-neutral-100))] user-invalid:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-100))] user-invalid:active:bg-[color-mix(in_oklch,var(--color-red-500)_25%,var(--color-neutral-100))] dark:user-invalid:bg-[color-mix(in_oklch,var(--color-red-500)_20%,var(--color-neutral-800))] dark:user-invalid:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-800))] dark:user-invalid:active:bg-[color-mix(in_oklch,var(--color-red-500)_25%,var(--color-neutral-800))] user-invalid:pointer-fine:hover:bg-[color-mix(in_oklch,var(--color-red-500)_10%,var(--color-neutral-100))] user-invalid:pointer-fine:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-100))] user-invalid:pointer-fine:active:bg-[color-mix(in_oklch,var(--color-red-500)_25%,var(--color-neutral-100))] dark:user-invalid:pointer-fine:hover:bg-[color-mix(in_oklch,var(--color-red-500)_10%,var(--color-neutral-800))] dark:user-invalid:pointer-fine:focus-visible:bg-[color-mix(in_oklch,var(--color-red-500)_1%,var(--color-neutral-800))] dark:user-invalid:pointer-fine:active:bg-[color-mix(in_oklch,var(--color-red-500)_25%,var(--color-neutral-800))]", resizeClassName, typeof className === "function" ? className(bag) : className),
6626
+ required
6627
+ }), children] }),
6628
+ description && /* @__PURE__ */ jsx(Description, {
6629
+ ...descriptionProps,
6630
+ className: (bag) => twMerge("text-xs text-current/60", typeof descriptionClassName === "function" ? descriptionClassName(bag) : descriptionClassName),
6631
+ children: description
6632
+ })
6633
+ ]
6634
+ });
6976
6635
  }
6977
6636
 
6978
6637
  //#endregion
@@ -6994,7 +6653,7 @@ function Textarea({ children, className, description, descriptionProps: { classN
6994
6653
  * @prop year - Include the year in the display.
6995
6654
  */
6996
6655
  function Time({ children, dateObject, dateTime, day, hours, milliseconds, minutes, month, seconds, year, ref, ...props }) {
6997
- const [date, setDate] = (0, react.useState)(dateObject || void 0);
6656
+ const [date, setDate] = useState(dateObject || void 0);
6998
6657
  const getDateAndTime = () => {
6999
6658
  if (dateTime) return dateTime;
7000
6659
  if (!date) return "";
@@ -7030,15 +6689,18 @@ function Time({ children, dateObject, dateTime, day, hours, milliseconds, minute
7030
6689
  ].filter(Boolean).join(" ");
7031
6690
  };
7032
6691
  const dateDisplay = getDateDisplay();
7033
- const onVisible = (0, react.useEffectEvent)(() => {
6692
+ const onVisible = useEffectEvent(() => {
7034
6693
  if (date === void 0 && dateObject === void 0 && dateTime === void 0 && typeof window !== "undefined" && (dateAndTime === "" || dateDisplay === "")) setDate(/* @__PURE__ */ new Date());
7035
6694
  });
7036
- (0, react.useEffect)(() => {
6695
+ useEffect(() => {
7037
6696
  onVisible();
7038
6697
  }, []);
7039
- return <time dateTime={dateAndTime} ref={ref} {...props}>
7040
- {dateDisplay}
7041
- </time>;
6698
+ return /* @__PURE__ */ jsx("time", {
6699
+ dateTime: dateAndTime,
6700
+ ref,
6701
+ ...props,
6702
+ children: dateDisplay
6703
+ });
7042
6704
  }
7043
6705
 
7044
6706
  //#endregion
@@ -8298,7 +7960,7 @@ const computePosition = (reference, floating, options) => {
8298
7960
 
8299
7961
  //#endregion
8300
7962
  //#region node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs
8301
- var index = typeof document !== "undefined" ? react.useLayoutEffect : function noop() {};
7963
+ var index = typeof document !== "undefined" ? useLayoutEffect : function noop() {};
8302
7964
  function deepEqual(a, b) {
8303
7965
  if (a === b) return true;
8304
7966
  if (typeof a !== typeof b) return false;
@@ -8335,7 +7997,7 @@ function roundByDPR(element, value) {
8335
7997
  return Math.round(value * dpr) / dpr;
8336
7998
  }
8337
7999
  function useLatestRef(value) {
8338
- const ref = react.useRef(value);
8000
+ const ref = React.useRef(value);
8339
8001
  index(() => {
8340
8002
  ref.current = value;
8341
8003
  });
@@ -8348,7 +8010,7 @@ function useLatestRef(value) {
8348
8010
  function useFloating(options) {
8349
8011
  if (options === void 0) options = {};
8350
8012
  const { placement = "bottom", strategy = "absolute", middleware = [], platform, elements: { reference: externalReference, floating: externalFloating } = {}, transform = true, whileElementsMounted, open } = options;
8351
- const [data, setData] = react.useState({
8013
+ const [data, setData] = React.useState({
8352
8014
  x: 0,
8353
8015
  y: 0,
8354
8016
  strategy,
@@ -8356,17 +8018,17 @@ function useFloating(options) {
8356
8018
  middlewareData: {},
8357
8019
  isPositioned: false
8358
8020
  });
8359
- const [latestMiddleware, setLatestMiddleware] = react.useState(middleware);
8021
+ const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);
8360
8022
  if (!deepEqual(latestMiddleware, middleware)) setLatestMiddleware(middleware);
8361
- const [_reference, _setReference] = react.useState(null);
8362
- const [_floating, _setFloating] = react.useState(null);
8363
- const setReference = react.useCallback((node) => {
8023
+ const [_reference, _setReference] = React.useState(null);
8024
+ const [_floating, _setFloating] = React.useState(null);
8025
+ const setReference = React.useCallback((node) => {
8364
8026
  if (node !== referenceRef.current) {
8365
8027
  referenceRef.current = node;
8366
8028
  _setReference(node);
8367
8029
  }
8368
8030
  }, []);
8369
- const setFloating = react.useCallback((node) => {
8031
+ const setFloating = React.useCallback((node) => {
8370
8032
  if (node !== floatingRef.current) {
8371
8033
  floatingRef.current = node;
8372
8034
  _setFloating(node);
@@ -8374,14 +8036,14 @@ function useFloating(options) {
8374
8036
  }, []);
8375
8037
  const referenceEl = externalReference || _reference;
8376
8038
  const floatingEl = externalFloating || _floating;
8377
- const referenceRef = react.useRef(null);
8378
- const floatingRef = react.useRef(null);
8379
- const dataRef = react.useRef(data);
8039
+ const referenceRef = React.useRef(null);
8040
+ const floatingRef = React.useRef(null);
8041
+ const dataRef = React.useRef(data);
8380
8042
  const hasWhileElementsMounted = whileElementsMounted != null;
8381
8043
  const whileElementsMountedRef = useLatestRef(whileElementsMounted);
8382
8044
  const platformRef = useLatestRef(platform);
8383
8045
  const openRef = useLatestRef(open);
8384
- const update = react.useCallback(() => {
8046
+ const update = React.useCallback(() => {
8385
8047
  if (!referenceRef.current || !floatingRef.current) return;
8386
8048
  const config = {
8387
8049
  placement,
@@ -8396,7 +8058,7 @@ function useFloating(options) {
8396
8058
  };
8397
8059
  if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {
8398
8060
  dataRef.current = fullData;
8399
- react_dom.flushSync(() => {
8061
+ ReactDOM.flushSync(() => {
8400
8062
  setData(fullData);
8401
8063
  });
8402
8064
  }
@@ -8417,7 +8079,7 @@ function useFloating(options) {
8417
8079
  }));
8418
8080
  }
8419
8081
  }, [open]);
8420
- const isMountedRef = react.useRef(false);
8082
+ const isMountedRef = React.useRef(false);
8421
8083
  index(() => {
8422
8084
  isMountedRef.current = true;
8423
8085
  return () => {
@@ -8438,17 +8100,17 @@ function useFloating(options) {
8438
8100
  whileElementsMountedRef,
8439
8101
  hasWhileElementsMounted
8440
8102
  ]);
8441
- const refs = react.useMemo(() => ({
8103
+ const refs = React.useMemo(() => ({
8442
8104
  reference: referenceRef,
8443
8105
  floating: floatingRef,
8444
8106
  setReference,
8445
8107
  setFloating
8446
8108
  }), [setReference, setFloating]);
8447
- const elements = react.useMemo(() => ({
8109
+ const elements = React.useMemo(() => ({
8448
8110
  reference: referenceEl,
8449
8111
  floating: floatingEl
8450
8112
  }), [referenceEl, floatingEl]);
8451
- const floatingStyles = react.useMemo(() => {
8113
+ const floatingStyles = React.useMemo(() => {
8452
8114
  const initialStyles = {
8453
8115
  position: strategy,
8454
8116
  left: 0,
@@ -8474,7 +8136,7 @@ function useFloating(options) {
8474
8136
  data.x,
8475
8137
  data.y
8476
8138
  ]);
8477
- return react.useMemo(() => ({
8139
+ return React.useMemo(() => ({
8478
8140
  ...data,
8479
8141
  update,
8480
8142
  refs,
@@ -8599,7 +8261,7 @@ const { Provider: TooltipContextProvider, useStore: useTooltipContext } = create
8599
8261
  * @prop asChild - Whether to render the children as the trigger element.
8600
8262
  */
8601
8263
  function TooltipTrigger({ as, asChild = false, children, onMouseEnter, onMouseLeave, onFocus, onBlur, onTouchStart, ...props }) {
8602
- const TooltipTriggerElement = as || _headlessui_react.Button;
8264
+ const TooltipTriggerElement = as || Button$1;
8603
8265
  const [tooltipContext] = useTooltipContext((store) => store);
8604
8266
  const { isOpen, openTooltip, closeTooltip, refs } = tooltipContext || {};
8605
8267
  const handleMouseEnter = (e) => {
@@ -8632,10 +8294,11 @@ function TooltipTrigger({ as, asChild = false, children, onMouseEnter, onMouseLe
8632
8294
  onTouchStart: handleTouchStart,
8633
8295
  "aria-describedby": isOpen ? "tooltip" : void 0
8634
8296
  };
8635
- if (asChild && (0, react.isValidElement)(children)) return (0, react.cloneElement)(children, triggerProps);
8636
- return <TooltipTriggerElement {...triggerProps}>
8637
- {children}
8638
- </TooltipTriggerElement>;
8297
+ if (asChild && isValidElement(children)) return cloneElement(children, triggerProps);
8298
+ return /* @__PURE__ */ jsx(TooltipTriggerElement, {
8299
+ ...triggerProps,
8300
+ children
8301
+ });
8639
8302
  }
8640
8303
  /**
8641
8304
  * ## Tooltip Panel
@@ -8646,7 +8309,7 @@ function TooltipPanel({ as, children, className, style, onMouseEnter, onMouseLea
8646
8309
  const TooltipPanelElement = as || "div";
8647
8310
  const [tooltipContext] = useTooltipContext((store) => store);
8648
8311
  const { isOpen, refs, floatingStyles, isPositioned, placement, middlewareData, arrowRef, arrow: contextArrow, arrowClassName: contextArrowClassName, openTooltip, closeTooltip } = tooltipContext || {};
8649
- if (!isOpen) return <></>;
8312
+ if (!isOpen) return /* @__PURE__ */ jsx(Fragment, {});
8650
8313
  const reversedAnchor = {
8651
8314
  top: "bottom",
8652
8315
  right: "left",
@@ -8706,33 +8369,44 @@ function TooltipPanel({ as, children, className, style, onMouseEnter, onMouseLea
8706
8369
  openTooltip?.();
8707
8370
  onTouchStart?.(e);
8708
8371
  };
8709
- return <TooltipPanelElement {...props} ref={(node) => {
8710
- if (node && typeof node.querySelector === "function") {
8711
- refs?.setFloating(node);
8712
- if (contextArrow) {
8713
- const arrowElement = node.querySelector("[data-tooltip-arrow]");
8714
- if (arrowElement && arrowRef) arrowRef.current = arrowElement;
8372
+ return /* @__PURE__ */ jsxs(TooltipPanelElement, {
8373
+ ...props,
8374
+ ref: (node) => {
8375
+ if (node && typeof node.querySelector === "function") {
8376
+ refs?.setFloating(node);
8377
+ if (contextArrow) {
8378
+ const arrowElement = node.querySelector("[data-tooltip-arrow]");
8379
+ if (arrowElement && arrowRef) arrowRef.current = arrowElement;
8380
+ }
8715
8381
  }
8716
- }
8717
- }} className={twMerge("data-ready:animate-fade-in absolute top-0 left-0 z-50 w-max rounded-md bg-neutral-50 px-2 py-1 text-sm text-neutral-950 opacity-0 shadow-lg outline-1 outline-neutral-400 data-portal:fixed dark:bg-neutral-800 dark:text-neutral-50 dark:shadow-none dark:-outline-offset-1 dark:outline-neutral-600", className)} style={{
8718
- ...style,
8719
- ...floatingStyles,
8720
- transformOrigin: reversedAnchor,
8721
- pointerEvents: "none"
8722
- }} onMouseEnter={handleMouseEnter} onMouseLeave={handleMouseLeave} onTouchStart={handleTouchStart} role="tooltip" {...isPositioned ? { "data-ready": true } : {}}>
8723
- {children}
8724
-
8725
- {contextArrow && <ArrowSvg className={twMerge("absolute", arrowLocationClasses, contextArrowClassName)} style={arrowStyles} data-tooltip-arrow />}
8726
- </TooltipPanelElement>;
8382
+ },
8383
+ className: twMerge("data-ready:animate-fade-in absolute top-0 left-0 z-50 w-max rounded-md bg-neutral-50 px-2 py-1 text-sm text-neutral-950 opacity-0 shadow-lg outline-1 outline-neutral-400 data-portal:fixed dark:bg-neutral-800 dark:text-neutral-50 dark:shadow-none dark:-outline-offset-1 dark:outline-neutral-600", className),
8384
+ style: {
8385
+ ...style,
8386
+ ...floatingStyles,
8387
+ transformOrigin: reversedAnchor,
8388
+ pointerEvents: "none"
8389
+ },
8390
+ onMouseEnter: handleMouseEnter,
8391
+ onMouseLeave: handleMouseLeave,
8392
+ onTouchStart: handleTouchStart,
8393
+ role: "tooltip",
8394
+ ...isPositioned ? { "data-ready": true } : {},
8395
+ children: [children, contextArrow && /* @__PURE__ */ jsx(ArrowSvg, {
8396
+ className: twMerge("absolute", arrowLocationClasses, contextArrowClassName),
8397
+ style: arrowStyles,
8398
+ "data-tooltip-arrow": true
8399
+ })]
8400
+ });
8727
8401
  }
8728
8402
  function TooltipDisplay({ anchor = "top", arrow: arrow$4, arrowClassName, children, delay = 500, offset: offset$3 = 8, onClose, onOpen, portal }) {
8729
- const [isOpen, setIsOpen] = (0, react.useState)(false), timeoutRef = (0, react.useRef)(void 0), arrowRef = (0, react.useRef)(null);
8730
- const [bodyElement, setBodyElement] = (0, react.useState)(() => typeof window !== "undefined" ? document.body : null);
8731
- const onReady = (0, react.useEffectEvent)(() => {
8403
+ const [isOpen, setIsOpen] = useState(false), timeoutRef = useRef(void 0), arrowRef = useRef(null);
8404
+ const [bodyElement, setBodyElement] = useState(() => typeof window !== "undefined" ? document.body : null);
8405
+ const onReady = useEffectEvent(() => {
8732
8406
  const documentBody = document.body;
8733
8407
  setBodyElement(documentBody);
8734
8408
  });
8735
- (0, react.useEffect)(() => {
8409
+ useEffect(() => {
8736
8410
  if (typeof window !== "undefined" && !bodyElement) onReady();
8737
8411
  }, [bodyElement, portal]);
8738
8412
  const { refs, floatingStyles, isPositioned, placement, middlewareData } = useFloating({
@@ -8768,13 +8442,13 @@ function TooltipDisplay({ anchor = "top", arrow: arrow$4, arrowClassName, childr
8768
8442
  setIsOpen(false);
8769
8443
  onClose?.();
8770
8444
  };
8771
- (0, react.useEffect)(() => {
8445
+ useEffect(() => {
8772
8446
  return () => {
8773
8447
  clearTimeout(timeoutRef.current);
8774
8448
  };
8775
8449
  }, []);
8776
8450
  const [, setTooltipContext] = useTooltipContext(() => void 0, defaultTooltipContext);
8777
- (0, react.useEffect)(() => {
8451
+ useEffect(() => {
8778
8452
  setTooltipContext?.((previous) => {
8779
8453
  const nextArrow = arrow$4 || false, nextArrowClassName = arrowClassName || "";
8780
8454
  if (previous.isOpen === isOpen && previous.openTooltip === openTooltip && previous.closeTooltip === closeTooltip && previous.refs === refs && previous.floatingStyles === floatingStyles && previous.isPositioned === isPositioned && previous.placement === placement && previous.middlewareData === middlewareData && previous.arrowRef === arrowRef && previous.arrow === nextArrow && previous.arrowClassName === nextArrowClassName) return previous;
@@ -8810,9 +8484,7 @@ function TooltipDisplay({ anchor = "top", arrow: arrow$4, arrowClassName, childr
8810
8484
  openTooltip,
8811
8485
  closeTooltip
8812
8486
  }) : children;
8813
- return <>
8814
- {portal ? bodyElement ? (0, react_dom.createPortal)(content, bodyElement) : null : content}
8815
- </>;
8487
+ return /* @__PURE__ */ jsx(Fragment, { children: portal ? bodyElement ? createPortal(content, bodyElement) : null : content });
8816
8488
  }
8817
8489
  /**
8818
8490
  * # Tooltip
@@ -8830,297 +8502,29 @@ function TooltipDisplay({ anchor = "top", arrow: arrow$4, arrowClassName, childr
8830
8502
  * @prop portal - Whether to use a portal for the tooltip.
8831
8503
  */
8832
8504
  function Tooltip(props) {
8833
- return <TooltipContextProvider>
8834
- <TooltipDisplay {...props} />
8835
- </TooltipContextProvider>;
8505
+ return /* @__PURE__ */ jsx(TooltipContextProvider, { children: /* @__PURE__ */ jsx(TooltipDisplay, { ...props }) });
8836
8506
  }
8837
8507
  function ArrowSvg({ className, ...props }) {
8838
- return <svg viewBox="0 0 20 10" className={twMerge("h-2.5 w-5 fill-none", className)} {...props}>
8839
- <path d="M9.66437 2.60207L4.80758 6.97318C4.07308 7.63423 3.11989 8 2.13172 8H0V10H20V8H18.5349C17.5468 8 16.5936 7.63423 15.8591 6.97318L11.0023 2.60207C10.622 2.2598 10.0447 2.25979 9.66437 2.60207Z" className="fill-neutral-50 dark:fill-neutral-800" />
8840
- <path d="M8.99542 1.85876C9.75604 1.17425 10.9106 1.17422 11.6713 1.85878L16.5281 6.22989C17.0789 6.72568 17.7938 7.00001 18.5349 7.00001L15.89 7L11.0023 2.60207C10.622 2.2598 10.0447 2.2598 9.66436 2.60207L4.77734 7L2.13171 7.00001C2.87284 7.00001 3.58774 6.72568 4.13861 6.22989L8.99542 1.85876Z" className="fill-neutral-400 dark:fill-none" />
8841
- <path d="M10.3333 3.34539L5.47654 7.71648C4.55842 8.54279 3.36693 9 2.13172 9H0V8H2.13172C3.11989 8 4.07308 7.63423 4.80758 6.97318L9.66437 2.60207C10.0447 2.25979 10.622 2.2598 11.0023 2.60207L15.8591 6.97318C16.5936 7.63423 17.5468 8 18.5349 8H20V9H18.5349C17.2998 9 16.1083 8.54278 15.1901 7.71648L10.3333 3.34539Z" className="dark:fill-neutral-600" />
8842
- </svg>;
8843
- }
8844
-
8845
- //#endregion
8846
- //#region src/graphics/social-media/facebook-logo.tsx
8847
- /**
8848
- * # Facebook Logo
8849
- *
8850
- * ```ts
8851
- * cutout: boolean = false
8852
- * targets: {
8853
- * background: [data-name="background"],
8854
- * f: [data-name="f"]
8855
- * }
8856
- * variant: 'circle' | 'f' = 'circle'
8857
- * ```
8858
- */
8859
- function FacebookLogo({ className, cutout = false, targets, variant = "circle", ...props }) {
8860
- return <svg {...props} className={twMerge(variant === "circle" && cutout ? "fill-[url(#facebook-gradient)]" : "**-data-[name=\"f\"]:fill-white **-data-[name=\"background\"]:fill-[url(#facebook-gradient)]", variant === "f" && "fill-[url(#facebook-gradient)]", className)} viewBox={`0 0 ${variant === "circle" ? "1024" : "551"} ${variant === "circle" && cutout ? "1017" : "1024"}`}>
8861
- {variant === "circle" && (cutout ? <path {...targets?.background} data-name="background" d="M426.672,1016.91C184.64,976.24 0,765.504 0,512C0,229.424 229.424,0 512,0C794.576,0 1024,229.424 1024,512C1024,765.504 839.36,976.24 597.328,1016.91L597.328,651.376L711.104,651.376L733.872,509.152L597.328,509.152L597.328,409.6C597.328,369.776 611.552,338.496 674.128,338.496L739.552,338.496L739.552,207.648C702.576,201.952 662.752,196.272 625.776,196.272C509.152,196.272 426.672,267.376 426.672,395.376L426.672,509.152L298.672,509.152L298.672,651.376L426.672,651.376L426.672,1016.91Z" /> : <>
8862
- <circle {...targets?.background} data-name="background" cx="512" cy="512" r="512" />
8863
- <path {...targets && "f" in targets ? targets?.f : {}} data-name="f" d="M426.672,1016.91L426.672,651.376L298.672,651.376L298.672,509.152L426.672,509.152L426.672,395.376C426.672,267.376 509.152,196.272 625.776,196.272C662.752,196.272 702.576,201.952 739.552,207.648L739.552,338.496L674.128,338.496C611.552,338.496 597.328,369.776 597.328,409.6L597.328,509.152L733.872,509.152L711.104,651.376L597.328,651.376L597.328,1016.91C569.584,1021.57 541.072,1024 512,1024C482.928,1024 454.416,1021.57 426.672,1016.91Z" />
8864
- </>)}
8865
- {variant === "f" && <path d="M159.712,1024L159.712,567.888L0,567.888L0,390.432L159.712,390.432L159.712,248.448C159.712,88.736 262.656,0 408.176,0C454.304,0 504,7.104 550.144,14.192L550.144,177.472L468.512,177.472C390.432,177.472 372.672,216.512 372.672,266.192L372.672,390.432L543.04,390.432L514.656,567.888L372.672,567.888L372.672,1024L159.712,1024Z" />}
8866
- <defs>
8867
- {variant === "circle" && <linearGradient id="facebook-gradient" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(2.81599e-13,-994.078,994.078,2.81599e-13,512,994.078)">
8868
- <stop offset="0" stopColor="rgb(0 98 224)" stopOpacity={1} />
8869
- <stop offset="1" stopColor="rgb(25 175 255)" stopOpacity={1} />
8870
- </linearGradient>}
8871
- {variant === "f" && <linearGradient id="facebook-gradient" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.0108513,-1032.85,1032.85,0.0108513,266.187,1032.85)">
8872
- <stop offset="0" stopColor="rgb(0 98 224)" stopOpacity={1} />
8873
- <stop offset="1" stopColor="rgb(25 175 255)" stopOpacity={1} />
8874
- </linearGradient>}
8875
- </defs>
8876
- </svg>;
8877
- }
8878
-
8879
- //#endregion
8880
- //#region src/graphics/social-media/google-logo.tsx
8881
- /**
8882
- * # Google Logo
8883
- *
8884
- * ```ts
8885
- * gradient: boolean = true
8886
- * ```
8887
- */
8888
- function GoogleLogo({ gradient = true, ...props }) {
8889
- return <svg {...props} viewBox="0 0 1003 1024">
8890
- {gradient ? <>
8891
- <path d="M992.945,417.01L511.964,417.01L511.964,613.859L788.338,613.859C783.897,641.717 773.921,669.122 759.31,694.112C742.575,722.744 721.881,744.542 700.67,761.138C637.14,810.865 563.07,821.031 511.628,821.031C381.685,821.031 270.653,735.251 227.672,618.689C225.937,614.461 224.786,610.09 223.383,605.772C213.887,576.108 208.697,544.687 208.697,512.032C208.697,478.046 214.317,445.514 224.561,414.789C264.982,293.606 378.511,203.097 511.721,203.097C538.518,203.097 564.319,206.353 588.786,212.851C644.708,227.698 684.261,256.943 708.499,280.075L854.747,133.794C765.786,50.482 649.815,0 511.478,0C400.888,-0.004 298.788,35.19 215.121,94.667C147.265,142.902 91.616,207.482 54.06,282.487C19.128,352.029 0,429.093 0,511.953C0,594.821 19.158,672.685 54.09,741.588L54.09,742.052C90.988,815.198 144.943,878.178 210.526,926.192C267.816,968.135 370.54,1024 511.478,1024C592.529,1024 664.363,1009.08 727.713,981.104C773.413,960.926 813.904,934.608 850.563,900.787C899,856.093 936.938,800.815 962.829,737.214C988.724,673.612 1002.57,601.692 1002.57,523.719C1002.57,487.404 999.002,450.524 992.945,417.01Z" fill="url(#google-gradient-1)" />
8892
- <path d="M962.829,737.214L788.338,613.859C783.897,641.717 773.921,669.122 759.31,694.112C742.575,722.744 721.881,744.542 700.67,761.138C637.14,810.865 563.07,821.031 511.628,821.031C381.685,821.031 270.653,735.251 227.672,618.689C225.937,614.461 224.786,610.09 223.383,605.772C213.887,576.108 208.697,544.687 208.697,512.032L0,511.953C0,594.821 19.158,672.685 54.09,741.588L54.09,742.052C90.988,815.198 144.943,878.178 210.526,926.192C267.816,968.135 370.54,1024 511.478,1024C592.529,1024 664.363,1009.08 727.713,981.104C773.413,960.926 813.904,934.608 850.563,900.787C899,856.093 936.938,800.815 962.829,737.214Z" fill="url(#google-gradient-2)" />
8893
- <path d="M0,511.953L208.697,512.032C208.697,478.046 214.317,445.514 224.561,414.789C264.982,293.606 378.511,203.097 511.721,203.097C538.518,203.097 564.319,206.353 588.786,212.851C644.708,227.698 684.261,256.943 708.499,280.075L854.747,133.794C765.786,50.482 649.815,0 511.478,0C400.888,-0.004 298.788,35.19 215.121,94.667C147.265,142.902 91.616,207.482 54.06,282.487C19.128,352.029 0,429.093 0,511.953Z" fill="url(#google-gradient-3)" />
8894
- <defs>
8895
- <linearGradient id="google-gradient-1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-23.365,-1.73106,1.73106,-23.365,500.07,513.731)">
8896
- <stop offset="0" stopColor="rgb(48,134,255)" stopOpacity={1} />
8897
- <stop offset="1" stopColor="rgb(254,206,5)" stopOpacity={1} />
8898
- </linearGradient>
8899
- <radialGradient id="google-gradient-2" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(762.024,46.0057,-28.7966,476.978,457.583,993.176)">
8900
- <stop offset="0" stopColor="rgb(15,188,92)" stopOpacity={1} />
8901
- <stop offset="0.38" stopColor="rgb(15,188,92)" stopOpacity={1} />
8902
- <stop offset="0.71" stopColor="rgb(15,188,92)" stopOpacity={.28} />
8903
- <stop offset="1" stopColor="rgb(15,188,92)" stopOpacity={0} />
8904
- </radialGradient>
8905
- <linearGradient id="google-gradient-3" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-220.623,431.86,-270.317,-138.096,806.553,181.999)">
8906
- <stop offset="0" stopColor="rgb(251,78,90)" stopOpacity={1} />
8907
- <stop offset="0.39" stopColor="rgb(255,71,63)" stopOpacity={1} />
8908
- <stop offset="1" stopColor="rgb(251,78,90)" stopOpacity={0} />
8909
- </linearGradient>
8910
- </defs>
8911
- </> : <path d="M992.945,417.01L511.964,417.01L511.964,613.859L788.338,613.859C783.897,641.717 773.921,669.122 759.31,694.112C742.575,722.744 721.881,744.542 700.67,761.138C637.14,810.865 563.07,821.031 511.628,821.031C381.685,821.031 270.653,735.251 227.672,618.689C225.937,614.461 224.786,610.09 223.383,605.772C213.887,576.108 208.697,544.687 208.697,512.032C208.697,478.046 214.317,445.514 224.561,414.789C264.982,293.606 378.511,203.097 511.721,203.097C538.518,203.097 564.319,206.353 588.786,212.851C644.708,227.698 684.261,256.943 708.499,280.075L854.747,133.794C765.786,50.482 649.815,0 511.478,0C400.888,-0.004 298.788,35.19 215.121,94.667C147.265,142.902 91.616,207.482 54.06,282.487C19.128,352.029 0,429.093 0,511.953C0,594.821 19.158,672.685 54.09,741.588L54.09,742.052C90.988,815.198 144.943,878.178 210.526,926.192C267.816,968.135 370.54,1024 511.478,1024C592.529,1024 664.363,1009.08 727.713,981.104C773.413,960.926 813.904,934.608 850.563,900.787C899,856.093 936.938,800.815 962.829,737.214C988.724,673.612 1002.57,601.692 1002.57,523.719C1002.57,487.404 999.002,450.524 992.945,417.01Z" />}
8912
- </svg>;
8913
- }
8914
-
8915
- //#endregion
8916
- //#region src/graphics/social-media/instagram-logo.tsx
8917
- /**
8918
- * # Instagram Logo
8919
- *
8920
- * ```ts
8921
- * gradient: boolean = true
8922
- * ```
8923
- */
8924
- function InstagramLogo({ gradient = true, ...props }) {
8925
- return <svg {...props} viewBox="0 0 1024 1024">
8926
- {gradient ? <>
8927
- <path d="M512,0C651.052,0 668.488,0.588 723.096,3.08C777.592,5.568 814.812,14.224 847.38,26.88C881.048,39.96 909.6,57.472 938.064,85.936C966.528,114.4 984.036,142.952 997.12,176.624C1009.78,209.188 1018.43,246.408 1020.92,300.904C1023.41,355.512 1024,372.948 1024,512C1024,651.052 1023.41,668.488 1020.92,723.1C1018.43,777.596 1009.78,814.812 997.12,847.38C984.036,881.052 966.528,909.604 938.064,938.068C909.6,966.532 881.048,984.04 847.376,997.12C814.812,1009.78 777.592,1018.43 723.096,1020.92C668.488,1023.41 651.052,1024 512,1024C372.948,1024 355.512,1023.41 300.9,1020.92C246.404,1018.43 209.188,1009.78 176.62,997.12C142.948,984.036 114.396,966.532 85.932,938.068C57.468,909.604 39.96,881.048 26.88,847.38C14.22,814.816 5.568,777.596 3.08,723.096C0.588,668.488 0,651.052 0,512C0,372.948 0.588,355.512 3.08,300.904C5.568,246.408 14.22,209.188 26.88,176.62C39.964,142.952 57.468,114.4 85.932,85.936C114.396,57.472 142.948,39.964 176.62,26.88C209.184,14.224 246.404,5.568 300.904,3.08C355.512,0.588 372.948,0 512,0ZM512,92.256C375.288,92.256 359.096,92.776 305.108,95.236C255.188,97.516 228.076,105.856 210.036,112.868C186.14,122.156 169.084,133.248 151.164,151.168C133.248,169.084 122.152,186.14 112.868,210.036C105.856,228.08 97.516,255.192 95.236,305.112C92.772,359.1 92.252,375.292 92.252,512C92.252,648.712 92.772,664.904 95.236,718.892C97.512,768.812 105.856,795.924 112.868,813.964C122.152,837.86 133.248,854.916 151.164,872.836C169.08,890.752 186.14,901.848 210.036,911.132C228.08,918.144 255.188,926.484 305.108,928.764C359.088,931.228 375.28,931.748 512,931.748C648.716,931.748 664.908,931.228 718.888,928.764C768.808,926.488 795.92,918.144 813.964,911.132C837.86,901.848 854.916,890.752 872.832,872.836C890.748,854.92 901.844,837.86 911.132,813.964C918.144,795.92 926.484,768.812 928.764,718.892C931.224,664.904 931.744,648.712 931.744,512C931.744,375.292 931.224,359.1 928.764,305.108C926.484,255.192 918.144,228.08 911.132,210.036C901.844,186.14 890.752,169.084 872.832,151.168C854.916,133.252 837.86,122.156 813.964,112.868C795.92,105.856 768.808,97.516 718.888,95.236C664.9,92.776 648.708,92.256 512,92.256ZM512,249.08C657.204,249.08 774.92,366.796 774.92,512C774.92,657.208 657.204,774.92 512,774.92C366.792,774.92 249.08,657.208 249.08,512C249.08,366.8 366.792,249.08 512,249.08ZM512,682.668C606.256,682.668 682.668,606.256 682.668,512C682.668,417.744 606.256,341.332 512,341.332C417.744,341.332 341.332,417.744 341.332,512C341.332,606.256 417.744,682.668 512,682.668ZM846.744,238.692C846.744,272.628 819.24,300.132 785.304,300.132C751.372,300.132 723.864,272.628 723.864,238.692C723.864,204.76 751.372,177.252 785.304,177.252C819.24,177.252 846.744,204.76 846.744,238.692Z" fill="url(#instagram-gradient-1)" />
8928
- <path d="M512,0C651.052,0 668.488,0.588 723.096,3.08C777.592,5.568 814.812,14.224 847.38,26.88C881.048,39.96 909.6,57.472 938.064,85.936C966.528,114.4 984.036,142.952 997.12,176.624C1009.78,209.188 1018.43,246.408 1020.92,300.904C1023.41,355.512 1024,372.948 1024,512C1024,651.052 1023.41,668.488 1020.92,723.1C1018.43,777.596 1009.78,814.812 997.12,847.38C984.036,881.052 966.528,909.604 938.064,938.068C909.6,966.532 881.048,984.04 847.376,997.12C814.812,1009.78 777.592,1018.43 723.096,1020.92C668.488,1023.41 651.052,1024 512,1024C372.948,1024 355.512,1023.41 300.9,1020.92C246.404,1018.43 209.188,1009.78 176.62,997.12C142.948,984.036 114.396,966.532 85.932,938.068C57.468,909.604 39.96,881.048 26.88,847.38C14.22,814.816 5.568,777.596 3.08,723.096C0.588,668.488 0,651.052 0,512C0,372.948 0.588,355.512 3.08,300.904C5.568,246.408 14.22,209.188 26.88,176.62C39.964,142.952 57.468,114.4 85.932,85.936C114.396,57.472 142.948,39.964 176.62,26.88C209.184,14.224 246.404,5.568 300.904,3.08C355.512,0.588 372.948,0 512,0ZM512,92.256C375.288,92.256 359.096,92.776 305.108,95.236C255.188,97.516 228.076,105.856 210.036,112.868C186.14,122.156 169.084,133.248 151.164,151.168C133.248,169.084 122.152,186.14 112.868,210.036C105.856,228.08 97.516,255.192 95.236,305.112C92.772,359.1 92.252,375.292 92.252,512C92.252,648.712 92.772,664.904 95.236,718.892C97.512,768.812 105.856,795.924 112.868,813.964C122.152,837.86 133.248,854.916 151.164,872.836C169.08,890.752 186.14,901.848 210.036,911.132C228.08,918.144 255.188,926.484 305.108,928.764C359.088,931.228 375.28,931.748 512,931.748C648.716,931.748 664.908,931.228 718.888,928.764C768.808,926.488 795.92,918.144 813.964,911.132C837.86,901.848 854.916,890.752 872.832,872.836C890.748,854.92 901.844,837.86 911.132,813.964C918.144,795.92 926.484,768.812 928.764,718.892C931.224,664.904 931.744,648.712 931.744,512C931.744,375.292 931.224,359.1 928.764,305.108C926.484,255.192 918.144,228.08 911.132,210.036C901.844,186.14 890.752,169.084 872.832,151.168C854.916,133.252 837.86,122.156 813.964,112.868C795.92,105.856 768.808,97.516 718.888,95.236C664.9,92.776 648.708,92.256 512,92.256ZM512,249.08C657.204,249.08 774.92,366.796 774.92,512C774.92,657.208 657.204,774.92 512,774.92C366.792,774.92 249.08,657.208 249.08,512C249.08,366.8 366.792,249.08 512,249.08ZM512,682.668C606.256,682.668 682.668,606.256 682.668,512C682.668,417.744 606.256,341.332 512,341.332C417.744,341.332 341.332,417.744 341.332,512C341.332,606.256 417.744,682.668 512,682.668ZM846.744,238.692C846.744,272.628 819.24,300.132 785.304,300.132C751.372,300.132 723.864,272.628 723.864,238.692C723.864,204.76 751.372,177.252 785.304,177.252C819.24,177.252 846.744,204.76 846.744,238.692Z" fill="url(#instagram-gradient-2)" />
8929
- <path d="M512,0C651.052,-0 668.488,0.588 723.096,3.08C777.592,5.568 814.812,14.224 847.38,26.88C881.048,39.96 909.6,57.472 938.064,85.936C966.528,114.4 984.036,142.952 997.12,176.624C1009.78,209.188 1018.43,246.408 1020.92,300.904C1023.41,355.512 1024,372.948 1024,512C1024,651.052 1023.41,668.488 1020.92,723.1C1018.43,777.596 1009.78,814.812 997.12,847.38C984.036,881.052 966.528,909.604 938.064,938.068C909.6,966.532 881.048,984.04 847.376,997.12C814.812,1009.78 777.592,1018.43 723.096,1020.92C668.488,1023.41 651.052,1024 512,1024C372.948,1024 355.512,1023.41 300.9,1020.92C246.404,1018.43 209.188,1009.78 176.62,997.12C142.948,984.036 114.396,966.532 85.932,938.068C57.468,909.604 39.96,881.048 26.88,847.38C14.22,814.816 5.568,777.596 3.08,723.096C0.588,668.488 0,651.052 0,512C0,372.948 0.588,355.512 3.08,300.904C5.568,246.408 14.22,209.188 26.88,176.62C39.964,142.952 57.468,114.4 85.932,85.936C114.396,57.472 142.948,39.964 176.62,26.88C209.184,14.224 246.404,5.568 300.904,3.08C355.512,0.588 372.948,0 512,0ZM512,92.256C375.288,92.256 359.096,92.776 305.108,95.236C255.188,97.516 228.076,105.856 210.036,112.868C186.14,122.156 169.084,133.248 151.164,151.168C133.248,169.084 122.152,186.14 112.868,210.036C105.856,228.08 97.516,255.192 95.236,305.112C92.772,359.1 92.252,375.292 92.252,512C92.252,648.712 92.772,664.904 95.236,718.892C97.512,768.812 105.856,795.924 112.868,813.964C122.152,837.86 133.248,854.916 151.164,872.836C169.08,890.752 186.14,901.848 210.036,911.132C228.08,918.144 255.188,926.484 305.108,928.764C359.088,931.228 375.28,931.748 512,931.748C648.716,931.748 664.908,931.228 718.888,928.764C768.808,926.488 795.92,918.144 813.964,911.132C837.86,901.848 854.916,890.752 872.832,872.836C890.748,854.92 901.844,837.86 911.132,813.964C918.144,795.92 926.484,768.812 928.764,718.892C931.224,664.904 931.744,648.712 931.744,512C931.744,375.292 931.224,359.1 928.764,305.108C926.484,255.192 918.144,228.08 911.132,210.036C901.844,186.14 890.752,169.084 872.832,151.168C854.916,133.252 837.86,122.156 813.964,112.868C795.92,105.856 768.808,97.516 718.888,95.236C664.9,92.776 648.708,92.256 512,92.256ZM512,249.08C657.204,249.08 774.92,366.796 774.92,512C774.92,657.208 657.204,774.92 512,774.92C366.792,774.92 249.08,657.208 249.08,512C249.08,366.8 366.792,249.08 512,249.08ZM512,682.668C606.256,682.668 682.668,606.256 682.668,512C682.668,417.744 606.256,341.332 512,341.332C417.744,341.332 341.332,417.744 341.332,512C341.332,606.256 417.744,682.668 512,682.668ZM846.744,238.692C846.744,272.628 819.24,300.132 785.304,300.132C751.372,300.132 723.864,272.628 723.864,238.692C723.864,204.76 751.372,177.252 785.304,177.252C819.24,177.252 846.744,204.76 846.744,238.692Z" fill="url(#instagram-gradient-3)" />
8930
- <defs>
8931
- <radialGradient id="instagram-gradient-1" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(871.396,269.57,-152.264,492.2,322.577,976.97)">
8932
- <stop offset="0" stopColor="rgb(255 213 1)" stopOpacity={1} />
8933
- <stop offset="0.32" stopColor="rgb(255 189 7)" stopOpacity={1} />
8934
- <stop offset="0.59" stopColor="rgb(255 103 29)" stopOpacity={1} />
8935
- <stop offset="1" stopColor="rgb(255 0 185)" stopOpacity={1} />
8936
- </radialGradient>
8937
- <radialGradient id="instagram-gradient-2" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(94.7015,306.205,-937.345,289.897,119.251,57.4757)">
8938
- <stop offset="0" stopColor="rgb(109 25 255)" stopOpacity={1} />
8939
- <stop offset="0.43" stopColor="rgb(151 18 235)" stopOpacity={1} />
8940
- <stop offset="0.96" stopColor="rgb(250 1 187)" stopOpacity={1} />
8941
- <stop offset="1" stopColor="rgb(255 0 185)" stopOpacity={0} />
8942
- </radialGradient>
8943
- <radialGradient id="instagram-gradient-3" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(112.098,-864.179,131.728,17.0873,1003.58,829.183)">
8944
- <stop offset="0" stopColor="rgb(254 21 138)" stopOpacity={1} />
8945
- <stop offset="0.46" stopColor="rgb(255 2 62)" stopOpacity={1} />
8946
- <stop offset="1" stopColor="rgb(255 0 55)" stopOpacity={0} />
8947
- </radialGradient>
8948
- </defs>
8949
- </> : <>
8950
- <path d="M512,0C651.052,0 668.488,0.588 723.096,3.08C777.592,5.568 814.812,14.224 847.38,26.88C881.048,39.96 909.6,57.472 938.064,85.936C966.528,114.4 984.036,142.952 997.12,176.624C1009.78,209.188 1018.43,246.408 1020.92,300.904C1023.41,355.512 1024,372.948 1024,512C1024,651.052 1023.41,668.488 1020.92,723.1C1018.43,777.596 1009.78,814.812 997.12,847.38C984.036,881.052 966.528,909.604 938.064,938.068C909.6,966.532 881.048,984.04 847.376,997.12C814.812,1009.78 777.592,1018.43 723.096,1020.92C668.488,1023.41 651.052,1024 512,1024C372.948,1024 355.512,1023.41 300.9,1020.92C246.404,1018.43 209.188,1009.78 176.62,997.12C142.948,984.036 114.396,966.532 85.932,938.068C57.468,909.604 39.96,881.048 26.88,847.38C14.22,814.816 5.568,777.596 3.08,723.096C0.588,668.488 0,651.052 0,512C0,372.948 0.588,355.512 3.08,300.904C5.568,246.408 14.22,209.188 26.88,176.62C39.964,142.952 57.468,114.4 85.932,85.936C114.396,57.472 142.948,39.964 176.62,26.88C209.184,14.224 246.404,5.568 300.904,3.08C355.512,0.588 372.948,0 512,0ZM512,92.256C375.288,92.256 359.096,92.776 305.108,95.236C255.188,97.516 228.076,105.856 210.036,112.868C186.14,122.156 169.084,133.248 151.164,151.168C133.248,169.084 122.152,186.14 112.868,210.036C105.856,228.08 97.516,255.192 95.236,305.112C92.772,359.1 92.252,375.292 92.252,512C92.252,648.712 92.772,664.904 95.236,718.892C97.512,768.812 105.856,795.924 112.868,813.964C122.152,837.86 133.248,854.916 151.164,872.836C169.08,890.752 186.14,901.848 210.036,911.132C228.08,918.144 255.188,926.484 305.108,928.764C359.088,931.228 375.28,931.748 512,931.748C648.716,931.748 664.908,931.228 718.888,928.764C768.808,926.488 795.92,918.144 813.964,911.132C837.86,901.848 854.916,890.752 872.832,872.836C890.748,854.92 901.844,837.86 911.132,813.964C918.144,795.92 926.484,768.812 928.764,718.892C931.224,664.904 931.744,648.712 931.744,512C931.744,375.292 931.224,359.1 928.764,305.108C926.484,255.192 918.144,228.08 911.132,210.036C901.844,186.14 890.752,169.084 872.832,151.168C854.916,133.252 837.86,122.156 813.964,112.868C795.92,105.856 768.808,97.516 718.888,95.236C664.9,92.776 648.708,92.256 512,92.256Z" />
8951
- <path d="M512,249.08C657.204,249.08 774.92,366.796 774.92,512C774.92,657.208 657.204,774.92 512,774.92C366.792,774.92 249.08,657.208 249.08,512C249.08,366.8 366.792,249.08 512,249.08ZM512,682.668C606.256,682.668 682.668,606.256 682.668,512C682.668,417.744 606.256,341.332 512,341.332C417.744,341.332 341.332,417.744 341.332,512C341.332,606.256 417.744,682.668 512,682.668Z" />
8952
- <path d="M846.744,238.692C846.744,272.628 819.24,300.132 785.304,300.132C751.372,300.132 723.864,272.628 723.864,238.692C723.864,204.76 751.372,177.252 785.304,177.252C819.24,177.252 846.744,204.76 846.744,238.692Z" />
8953
- </>}
8954
- </svg>;
8955
- }
8956
-
8957
- //#endregion
8958
- //#region src/graphics/social-media/linkedin-logo.tsx
8959
- /**
8960
- * # LinkedIn Logo
8961
- *
8962
- * ```ts
8963
- * cutout: boolean
8964
- * targets: {
8965
- * in: [data-name="in"]
8966
- * background: [data-name="background"]
8967
- * }
8968
- * ```
8969
- */
8970
- function LinkedInLogo({ className, cutout, targets, ...props }) {
8971
- return <svg {...props} className={twMerge(cutout ? "fill-[rgb(10_102_194)]" : "**-data-[name=\"background\"]:fill-[rgb(10_102_194)] **-data-[name=\"in\"]:fill-white", className)} viewBox="0 0 1024 1024">
8972
- {!cutout && <rect {...targets?.in} data-name="in" x="112" y="112" width="800" height="800" />}
8973
- <path {...targets?.background} data-name="background" d="M872.496,872.511L720.772,872.511L720.772,634.899C720.772,578.239 719.76,505.299 641.86,505.299C562.836,505.299 550.744,567.035 550.744,630.775L550.744,872.495L399.024,872.495L399.024,383.871L544.676,383.871L544.676,450.647L546.716,450.647C576.374,399.935 631.721,369.536 690.428,371.715C844.208,371.715 872.56,472.867 872.56,604.459L872.496,872.511ZM227.824,317.083C179.196,317.091 139.768,277.675 139.76,229.047C139.752,180.419 179.164,140.991 227.792,140.983C276.42,140.971 315.848,180.387 315.856,229.015C315.865,277.317 276.126,317.072 227.824,317.083M303.688,872.515L151.804,872.515L151.804,383.871L303.684,383.871L303.684,872.511L303.688,872.515ZM948.136,0.075L75.564,0.075C34.324,-0.389 0.504,32.647 0,73.887L0,950.099C0.488,991.359 34.304,1024.43 75.56,1024L948.136,1024C989.48,1024.51 1023.43,991.439 1024,950.099L1024,73.819C1023.41,32.499 989.46,-0.533 948.136,0.007" />
8974
- </svg>;
8975
- }
8976
-
8977
- //#endregion
8978
- //#region src/graphics/social-media/tiktok-logo.tsx
8979
- /**
8980
- * # TikTok Logo
8981
- *
8982
- * ```ts
8983
- * variant: 'multicolor' | 'solid' = 'multicolor'
8984
- * targets: {
8985
- * bottom: [data-name="bottom"]
8986
- * middle: [data-name="middle"]
8987
- * top: [data-name="top"]
8988
- * }
8989
- * ```
8990
- */
8991
- function TikTokLogo({ className, targets, variant = "multicolor", ...props }) {
8992
- return <svg {...props} className={twMerge(variant === "multicolor" && "**-data-[name=\"bottom\"]:fill-[rgb(0_242_234)] **-data-[name=\"middle\"]:fill-black **-data-[name=\"top\"]:fill-[rgb(255_0_79)]", className)} viewBox={`0 0 ${variant === "solid" ? "914" : "907"} 1024`}>
8993
- {variant === "multicolor" && <>
8994
- <path {...targets?.top} data-name="top" d="M671.592,369.642C737.71,416.882 818.708,444.676 906.19,444.676L906.19,276.422C889.634,276.425 873.12,274.7 856.923,271.27L856.923,403.71C769.448,403.71 688.461,375.915 622.325,328.679L622.325,672.038C622.325,843.804 483.01,983.037 311.168,983.037C247.049,983.037 187.453,963.663 137.947,930.435C194.45,988.179 273.248,1024 360.424,1024C532.278,1024 671.599,884.767 671.599,712.994L671.599,369.642L671.592,369.642ZM732.368,199.894C698.578,162.997 676.392,115.315 671.592,62.6L671.592,40.959L624.904,40.959C636.656,107.96 676.74,165.201 732.368,199.894ZM246.638,798.627C227.759,773.886 217.557,743.621 217.603,712.502C217.603,633.943 281.324,570.246 359.939,570.246C374.59,570.243 389.154,572.485 403.116,576.913L403.116,404.898C386.799,402.663 370.331,401.714 353.87,402.062L353.87,535.95C339.897,531.522 325.327,529.273 310.672,529.287C232.057,529.287 168.339,592.977 168.339,671.546C168.339,727.1 200.189,775.197 246.638,798.627Z" />
8995
- <path {...targets?.middle} data-name="middle" d="M622.325,328.676C688.461,375.912 769.448,403.706 856.923,403.706L856.923,271.266C808.095,260.871 764.869,235.367 732.368,199.894C676.737,165.197 636.656,107.956 624.904,40.959L502.269,40.959L502.269,712.987C501.991,791.331 438.379,854.768 359.932,854.768C313.705,854.768 272.637,832.744 246.627,798.627C200.182,775.197 168.332,727.097 168.332,671.55C168.332,592.987 232.05,529.29 310.665,529.29C325.727,529.29 340.245,531.634 353.863,535.954L353.863,402.065C185.039,405.551 49.264,543.425 49.264,712.99C49.264,797.636 83.075,874.371 137.951,930.438C187.457,963.663 247.053,983.041 311.171,983.041C483.017,983.041 622.328,843.8 622.328,672.038L622.328,328.676L622.325,328.676Z" />
8996
- <path {...targets?.bottom} data-name="bottom" d="M856.923,271.266L856.923,235.455C812.892,235.522 769.725,223.197 732.368,199.89C765.438,236.077 808.984,261.029 856.923,271.266ZM624.904,40.959C623.783,34.557 622.923,28.113 622.325,21.641L622.325,0L452.998,0L452.998,672.035C452.728,750.369 389.119,813.805 310.665,813.805C287.632,813.805 265.886,808.341 246.627,798.631C272.637,832.744 313.705,854.765 359.932,854.765C438.372,854.765 501.995,791.335 502.269,712.99L502.269,40.959L624.904,40.959ZM353.87,402.065L353.87,363.942C339.721,362.009 325.457,361.039 311.175,361.046C139.314,361.046 0,500.283 0,672.035C0,779.713 54.753,874.61 137.954,930.431C83.078,874.368 49.267,797.629 49.267,712.987C49.267,543.425 185.039,405.551 353.87,402.065L353.87,402.065Z" />
8997
- </>}
8998
- {variant === "solid" && <path d="M667.348,44.69C680.075,111.724 720.791,169.313 777.229,205.249L777.286,205.307C816.62,230.358 863.44,244.986 913.716,244.986L913.716,420.98C820.306,420.98 733.749,391.782 663.086,342.197L663.086,700.001C663.086,878.644 514.39,1024 331.543,1024C260.881,1024 195.401,1002.23 141.555,965.316L141.44,965.201C55.977,906.517 0,809.536 0,699.944C0,521.301 148.754,375.887 331.543,375.887C346.747,375.887 361.605,377.154 376.233,379.054L376.233,558.849C362.066,554.53 347.15,551.996 331.543,551.996C248.038,551.996 180.14,618.397 180.14,700.001C180.14,756.784 213.139,806.196 261.284,830.96C282.304,841.787 306.204,847.949 331.543,847.949C413.09,847.949 479.663,784.543 482.658,705.53L482.946,0L663.086,0C663.086,15.261 664.584,30.177 667.348,44.69Z" />}
8999
- </svg>;
9000
- }
9001
-
9002
- //#endregion
9003
- //#region src/graphics/social-media/x-logo.tsx
9004
- /**
9005
- * # 𝕏 Logo
9006
- */
9007
- function XLogo(props) {
9008
- return <svg {...props} viewBox="0 0 1024 926">
9009
- <path d="M806.464,0L963.472,0L620.432,392.08L1024,925.6L708.016,925.6L460.528,602.016L177.328,925.6L20.224,925.6L387.136,506.24L0,0L324,0L547.712,295.76L806.464,0ZM751.344,831.616L838.352,831.616L276.736,89.04L183.36,89.04L751.344,831.616Z" />
9010
- </svg>;
9011
- }
9012
-
9013
- //#endregion
9014
- //#region src/graphics/social-media/youtube-logo.tsx
9015
- /**
9016
- * # YouTube Logo
9017
- *
9018
- * ```ts
9019
- * cutout: boolean = false
9020
- * targets: {
9021
- * background: [data-name="background"],
9022
- * play: [data-name="play"]
9023
- * }
9024
- * ```
9025
- */
9026
- function YouTubeLogo({ className, cutout = false, targets, ...props }) {
9027
- return <svg {...props} className={twMerge(cutout ? "fill-[rgb(255_0_0)]" : "**-data-[name=\"background\"]:fill-[rgb(255_0_0)] **-data-[name=\"play\"]:fill-white", className)} viewBox="0 0 1024 718">
9028
- {cutout ? <path {...targets?.background} data-name="background" d="M1001.4,112.302L1001.4,112.306C1035.22,248.444 1027.41,463.456 1002.06,604.85C990.119,648.968 955.546,683.541 911.428,695.48C831.967,717.152 512.141,717.152 512.141,717.152C512.141,717.152 192.312,717.152 112.847,695.48C68.73,683.54 34.159,648.967 22.221,604.85C-11.799,469.304 -2.475,254.156 21.561,112.962C33.498,68.844 68.069,34.269 112.187,22.328C191.652,0.656 511.489,0 511.489,0C511.489,0 831.311,0 910.776,21.672C954.892,33.612 989.464,68.185 1001.4,112.302ZM409.692,512.249L675.008,358.574L409.692,204.899L409.692,512.249Z" /> : <>
9029
- <path {...targets?.background} data-name="background" d="M1001.4,112.302C989.464,68.185 954.892,33.612 910.776,21.672C831.311,0 511.489,0 511.489,0C511.489,0 191.652,0.656 112.187,22.328C68.069,34.269 33.498,68.844 21.561,112.962C-2.475,254.156 -11.799,469.304 22.221,604.85C34.159,648.967 68.73,683.54 112.847,695.48C192.312,717.152 512.141,717.152 512.141,717.152C512.141,717.152 831.967,717.152 911.428,695.48C955.546,683.541 990.119,648.968 1002.06,604.85C1027.41,463.456 1035.22,248.444 1001.4,112.306L1001.4,112.302Z" />
9030
- <path {...targets && "play" in targets ? targets?.play : {}} data-name="play" d="M409.692,512.249L675.008,358.574L409.692,204.899L409.692,512.249Z" />
9031
- </>}
9032
- </svg>;
8508
+ return /* @__PURE__ */ jsxs("svg", {
8509
+ viewBox: "0 0 20 10",
8510
+ className: twMerge("h-2.5 w-5 fill-none", className),
8511
+ ...props,
8512
+ children: [
8513
+ /* @__PURE__ */ jsx("path", {
8514
+ d: "M9.66437 2.60207L4.80758 6.97318C4.07308 7.63423 3.11989 8 2.13172 8H0V10H20V8H18.5349C17.5468 8 16.5936 7.63423 15.8591 6.97318L11.0023 2.60207C10.622 2.2598 10.0447 2.25979 9.66437 2.60207Z",
8515
+ className: "fill-neutral-50 dark:fill-neutral-800"
8516
+ }),
8517
+ /* @__PURE__ */ jsx("path", {
8518
+ d: "M8.99542 1.85876C9.75604 1.17425 10.9106 1.17422 11.6713 1.85878L16.5281 6.22989C17.0789 6.72568 17.7938 7.00001 18.5349 7.00001L15.89 7L11.0023 2.60207C10.622 2.2598 10.0447 2.2598 9.66436 2.60207L4.77734 7L2.13171 7.00001C2.87284 7.00001 3.58774 6.72568 4.13861 6.22989L8.99542 1.85876Z",
8519
+ className: "fill-neutral-400 dark:fill-none"
8520
+ }),
8521
+ /* @__PURE__ */ jsx("path", {
8522
+ d: "M10.3333 3.34539L5.47654 7.71648C4.55842 8.54279 3.36693 9 2.13172 9H0V8H2.13172C3.11989 8 4.07308 7.63423 4.80758 6.97318L9.66437 2.60207C10.0447 2.25979 10.622 2.2598 11.0023 2.60207L15.8591 6.97318C16.5936 7.63423 17.5468 8 18.5349 8H20V9H18.5349C17.2998 9 16.1083 8.54278 15.1901 7.71648L10.3333 3.34539Z",
8523
+ className: "dark:fill-neutral-600"
8524
+ })
8525
+ ]
8526
+ });
9033
8527
  }
9034
8528
 
9035
8529
  //#endregion
9036
- exports.Anchor = Anchor;
9037
- exports.Button = Button;
9038
- exports.Checkbox = Checkbox;
9039
- exports.Details = Details;
9040
- exports.DetailsBody = DetailsBody;
9041
- exports.DetailsSummary = DetailsSummary;
9042
- exports.DropDown = DropDown;
9043
- exports.DropDownButton = DropDownButton;
9044
- exports.DropDownItem = DropDownItem;
9045
- exports.DropDownItems = DropDownItems;
9046
- exports.DropDownSection = DropDownSection;
9047
- exports.DropDownSeparator = DropDownSeparator;
9048
- exports.FacebookLogo = FacebookLogo;
9049
- exports.Fieldset = Fieldset;
9050
- exports.Form = Form;
9051
- exports.FormStatusProvider = FormStatusProvider;
9052
- exports.Ghost = Ghost;
9053
- exports.GoogleLogo = GoogleLogo;
9054
- exports.Heading = Heading;
9055
- exports.HumanVerification = HumanVerification;
9056
- exports.IFrame = IFrame;
9057
- exports.Input = Input;
9058
- exports.InstagramLogo = InstagramLogo;
9059
- exports.Link = Link;
9060
- exports.LinkedInLogo = LinkedInLogo;
9061
- exports.Modal = Modal;
9062
- exports.ModalClose = ModalClose;
9063
- exports.ModalDialog = ModalDialog;
9064
- exports.ModalTitle = ModalTitle;
9065
- exports.ModalTrigger = ModalTrigger;
9066
- exports.Select = Select;
9067
- exports.SelectOption = SelectOption;
9068
- exports.SelectSectionTitle = SelectSectionTitle;
9069
- exports.SubmitButton = SubmitButton;
9070
- exports.Textarea = Textarea;
9071
- exports.TikTokLogo = TikTokLogo;
9072
- exports.Time = Time;
9073
- exports.Tooltip = Tooltip;
9074
- exports.TooltipPanel = TooltipPanel;
9075
- exports.TooltipTrigger = TooltipTrigger;
9076
- exports.XLogo = XLogo;
9077
- exports.YouTubeLogo = YouTubeLogo;
9078
- exports.addClass = addClass;
9079
- exports.createButton = createButton;
9080
- exports.createFastContext = createFastContext;
9081
- exports.createLink = createLink;
9082
- exports.currentMonthName = currentMonthName;
9083
- exports.currentWeekdayName = currentWeekdayName;
9084
- exports.daysInMonth = daysInMonth;
9085
- exports.easeOutExpo = easeOutExpo;
9086
- exports.emailRegex = emailRegex;
9087
- exports.extendMadoTailwindMerge = extendMadoTailwindMerge;
9088
- exports.firstOfMonth = firstOfMonth;
9089
- exports.formatPhoneNumber = formatPhoneNumber;
9090
- exports.generateHumanValidationToken = generateHumanValidationToken;
9091
- exports.getDate = getDate;
9092
- exports.getHours = getHours;
9093
- exports.getHoursIn12 = getHoursIn12;
9094
- exports.getLinkClasses = getLinkClasses;
9095
- exports.getLocalTime = getLocalTime;
9096
- exports.getMeridianFromHour = getMeridianFromHour;
9097
- exports.getMilliseconds = getMilliseconds;
9098
- exports.getMinutes = getMinutes;
9099
- exports.getMonth = getMonth;
9100
- exports.getMonthIndexFromName = getMonthIndexFromName;
9101
- exports.getMonthName = getMonthName;
9102
- exports.getNextMonth = getNextMonth;
9103
- exports.getPreviousMonth = getPreviousMonth;
9104
- exports.getSeconds = getSeconds;
9105
- exports.getTimezone = getTimezone;
9106
- exports.getUserReadableDate = getUserReadableDate;
9107
- exports.getUserReadableDateFromTimestampz = getUserReadableDateFromTimestampz;
9108
- exports.getWeekdayName = getWeekdayName;
9109
- exports.getYearsInRange = getYearsInRange;
9110
- exports.hasClass = hasClass;
9111
- exports.isEmail = isEmail;
9112
- exports.isPhoneNumber = isPhoneNumber;
9113
- exports.monthNamesList = monthNamesList;
9114
- exports.removeClass = removeClass;
9115
- exports.splitCamelCase = splitCamelCase;
9116
- exports.telRegex = telRegex;
9117
- exports.toCamelCase = toCamelCase;
9118
- exports.toFullDateString = toFullDateString;
9119
- exports.toLowerCase = toLowerCase;
9120
- exports.toTitleCase = toTitleCase;
9121
- exports.toggleClass = toggleClass;
9122
- exports.twMerge = twMerge;
9123
- exports.useFormStatus = useFormStatus;
9124
- exports.usePointerMovement = usePointerMovement;
9125
- exports.validateHuman = validateHuman;
9126
- exports.weekdayNamesList = weekdayNamesList;
8530
+ export { Anchor, Button, Checkbox, Details, DetailsBody, DetailsSummary, DropDown, DropDownButton, DropDownItem, DropDownItems, DropDownSection, DropDownSeparator, Fieldset, Form, Ghost, Heading, HumanVerification, IFrame, Input, Link, Modal, ModalClose, ModalDialog, ModalTitle, ModalTrigger, Select, SelectOption, SelectSectionTitle, SubmitButton, Textarea, Time, Tooltip, TooltipPanel, TooltipTrigger, createButton, createLink, generateHumanValidationToken, getLinkClasses, validateHuman };