@endsoul/react-ui 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,40 +1,47 @@
1
1
  import * as e from "react";
2
2
  import { createElement as t } from "react";
3
+ import * as n from "react-dom";
3
4
  //#region \0rolldown/runtime.js
4
- var n = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), r = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof require < "u" ? require : e)[t] }) : e)(function(e) {
5
+ var r = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), i = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof require < "u" ? require : e)[t] }) : e)(function(e) {
5
6
  if (typeof require < "u") return require.apply(this, arguments);
6
7
  throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
7
8
  });
8
9
  //#endregion
9
10
  //#region node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
10
- function i() {
11
+ function a() {
11
12
  return typeof window < "u";
12
13
  }
13
- function a(e) {
14
+ function o(e) {
14
15
  var t;
15
16
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
16
17
  }
17
- function o(e) {
18
- return i() ? e instanceof HTMLElement || e instanceof a(e).HTMLElement : !1;
18
+ function s(e) {
19
+ return a() ? e instanceof HTMLElement || e instanceof o(e).HTMLElement : !1;
20
+ }
21
+ function c(e) {
22
+ return !a() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof o(e).ShadowRoot;
23
+ }
24
+ function l(e) {
25
+ return o(e).getComputedStyle(e);
19
26
  }
20
27
  //#endregion
21
28
  //#region node_modules/@base-ui/utils/safeReact.mjs
22
- var s = { ...e }, c = {};
23
- function l(t, n) {
24
- let r = e.useRef(c);
25
- return r.current === c && (r.current = t(n)), r;
29
+ var u = { ...e }, d = {};
30
+ function f(t, n) {
31
+ let r = e.useRef(d);
32
+ return r.current === d && (r.current = t(n)), r;
26
33
  }
27
34
  //#endregion
28
35
  //#region node_modules/@base-ui/utils/useStableCallback.mjs
29
- var u = s.useInsertionEffect, d = u && u !== s.useLayoutEffect ? u : (e) => e();
30
- function f(e) {
31
- let t = l(p).current;
32
- return t.next = e, d(t.effect), t.trampoline;
36
+ var p = u.useInsertionEffect, m = p && p !== u.useLayoutEffect ? p : (e) => e();
37
+ function h(e) {
38
+ let t = f(g).current;
39
+ return t.next = e, m(t.effect), t.trampoline;
33
40
  }
34
- function p() {
41
+ function g() {
35
42
  let e = {
36
43
  next: void 0,
37
- callback: m,
44
+ callback: _,
38
45
  trampoline: (...t) => e.callback?.(...t),
39
46
  effect: () => {
40
47
  e.callback = e.next;
@@ -42,23 +49,23 @@ function p() {
42
49
  };
43
50
  return e;
44
51
  }
45
- function m() {
52
+ function _() {
46
53
  if (process.env.NODE_ENV !== "production") throw Error("Base UI: Cannot call an event handler while rendering.");
47
54
  }
48
55
  //#endregion
49
56
  //#region node_modules/@base-ui/utils/error.mjs
50
- var h;
51
- process.env.NODE_ENV !== "production" && (h = /* @__PURE__ */ new Set());
52
- function g(...e) {
57
+ var v;
58
+ process.env.NODE_ENV !== "production" && (v = /* @__PURE__ */ new Set());
59
+ function y(...e) {
53
60
  if (process.env.NODE_ENV !== "production") {
54
61
  let t = e.join(" ");
55
- h.has(t) || (h.add(t), console.error(`Base UI: ${t}`));
62
+ v.has(t) || (v.add(t), console.error(`Base UI: ${t}`));
56
63
  }
57
64
  }
58
- var ee = typeof document < "u" ? e.useLayoutEffect : () => {};
65
+ var b = typeof document < "u" ? e.useLayoutEffect : () => {};
59
66
  //#endregion
60
67
  //#region node_modules/@base-ui/utils/mergeObjects.mjs
61
- function _(e, t) {
68
+ function x(e, t) {
62
69
  if (e && !t) return e;
63
70
  if (!e && t) return t;
64
71
  if (e || t) return {
@@ -68,107 +75,107 @@ function _(e, t) {
68
75
  }
69
76
  //#endregion
70
77
  //#region node_modules/@base-ui/react/merge-props/mergeProps.mjs
71
- var v = {};
72
- function y(e, t, n, r, i) {
73
- if (!n && !r && !i && !e) return b(t);
74
- let a = b(e);
75
- return t && (a = x(a, t)), n && (a = x(a, n)), r && (a = x(a, r)), i && (a = x(a, i)), a;
76
- }
77
- function te(e) {
78
- if (e.length === 0) return v;
79
- if (e.length === 1) return b(e[0]);
80
- let t = b(e[0]);
81
- for (let n = 1; n < e.length; n += 1) t = x(t, e[n]);
78
+ var S = {};
79
+ function C(e, t, n, r, i) {
80
+ if (!n && !r && !i && !e) return T(t);
81
+ let a = T(e);
82
+ return t && (a = E(a, t)), n && (a = E(a, n)), r && (a = E(a, r)), i && (a = E(a, i)), a;
83
+ }
84
+ function w(e) {
85
+ if (e.length === 0) return S;
86
+ if (e.length === 1) return T(e[0]);
87
+ let t = T(e[0]);
88
+ for (let n = 1; n < e.length; n += 1) t = E(t, e[n]);
82
89
  return t;
83
90
  }
84
- function b(e) {
85
- return w(e) ? { ...T(e, v) } : S(e);
91
+ function T(e) {
92
+ return A(e) ? { ...j(e, S) } : D(e);
86
93
  }
87
- function x(e, t) {
88
- return w(t) ? T(t, e) : C(e, t);
94
+ function E(e, t) {
95
+ return A(t) ? j(t, e) : O(e, t);
89
96
  }
90
- function S(e) {
97
+ function D(e) {
91
98
  let t = { ...e };
92
99
  for (let e in t) {
93
100
  let n = t[e];
94
- ne(e, n) && (t[e] = E(n));
101
+ k(e, n) && (t[e] = N(n));
95
102
  }
96
103
  return t;
97
104
  }
98
- function C(e, t) {
105
+ function O(e, t) {
99
106
  if (!t) return e;
100
107
  for (let n in t) {
101
108
  let r = t[n];
102
109
  switch (n) {
103
110
  case "style":
104
- e[n] = _(e.style, r);
111
+ e[n] = x(e.style, r);
105
112
  break;
106
113
  case "className":
107
- e[n] = O(e.className, r);
114
+ e[n] = F(e.className, r);
108
115
  break;
109
- default: e[n] = ne(n, r) ? re(e[n], r) : r;
116
+ default: e[n] = k(n, r) ? M(e[n], r) : r;
110
117
  }
111
118
  }
112
119
  return e;
113
120
  }
114
- function ne(e, t) {
121
+ function k(e, t) {
115
122
  let n = e.charCodeAt(0), r = e.charCodeAt(1), i = e.charCodeAt(2);
116
123
  return n === 111 && r === 110 && i >= 65 && i <= 90 && (typeof t == "function" || t === void 0);
117
124
  }
118
- function w(e) {
125
+ function A(e) {
119
126
  return typeof e == "function";
120
127
  }
121
- function T(e, t) {
122
- return w(e) ? e(t) : e ?? v;
128
+ function j(e, t) {
129
+ return A(e) ? e(t) : e ?? S;
123
130
  }
124
- function re(e, t) {
131
+ function M(e, t) {
125
132
  return t ? e ? (...n) => {
126
133
  let r = n[0];
127
- if (k(r)) {
134
+ if (I(r)) {
128
135
  let i = r;
129
- D(i);
136
+ P(i);
130
137
  let a = t(...n);
131
138
  return i.baseUIHandlerPrevented || e?.(...n), a;
132
139
  }
133
140
  let i = t(...n);
134
141
  return e?.(...n), i;
135
- } : E(t) : e;
142
+ } : N(t) : e;
136
143
  }
137
- function E(e) {
144
+ function N(e) {
138
145
  return e && ((...t) => {
139
146
  let n = t[0];
140
- return k(n) && D(n), e(...t);
147
+ return I(n) && P(n), e(...t);
141
148
  });
142
149
  }
143
- function D(e) {
150
+ function P(e) {
144
151
  return e.preventBaseUIHandler = () => {
145
152
  e.baseUIHandlerPrevented = !0;
146
153
  }, e;
147
154
  }
148
- function O(e, t) {
155
+ function F(e, t) {
149
156
  return t ? e ? t + " " + e : t : e;
150
157
  }
151
- function k(e) {
158
+ function I(e) {
152
159
  return typeof e == "object" && !!e && "nativeEvent" in e;
153
160
  }
154
161
  //#endregion
155
162
  //#region node_modules/@base-ui/utils/formatErrorMessage.mjs
156
- function A(e, t) {
163
+ function ee(e, t) {
157
164
  return function(n, ...r) {
158
165
  let i = new URL(e);
159
166
  return i.searchParams.set("code", n.toString()), r.forEach((e) => i.searchParams.append("args[]", e)), `${t} error #${n}; visit ${i} for the full message.`;
160
167
  };
161
168
  }
162
- var j = A("https://base-ui.com/production-error", "Base UI"), M = /*#__PURE__*/ e.createContext(void 0);
163
- process.env.NODE_ENV !== "production" && (M.displayName = "CompositeRootContext");
164
- function N(t = !1) {
165
- let n = e.useContext(M);
166
- if (n === void 0 && !t) throw Error(process.env.NODE_ENV === "production" ? j(16) : "Base UI: CompositeRootContext is missing. Composite parts must be placed within <Composite.Root>.");
169
+ var L = ee("https://base-ui.com/production-error", "Base UI"), R = /*#__PURE__*/ e.createContext(void 0);
170
+ process.env.NODE_ENV !== "production" && (R.displayName = "CompositeRootContext");
171
+ function z(t = !1) {
172
+ let n = e.useContext(R);
173
+ if (n === void 0 && !t) throw Error(process.env.NODE_ENV === "production" ? L(16) : "Base UI: CompositeRootContext is missing. Composite parts must be placed within <Composite.Root>.");
167
174
  return n;
168
175
  }
169
176
  //#endregion
170
177
  //#region node_modules/@base-ui/react/utils/useFocusableWhenDisabled.mjs
171
- function P(t) {
178
+ function B(t) {
172
179
  let { focusableWhenDisabled: n, disabled: r, composite: i = !1, tabIndex: a = 0, isNativeButton: o } = t, s = i && n !== !1, c = i && n === !1;
173
180
  return { props: e.useMemo(() => {
174
181
  let e = { onKeyDown(e) {
@@ -186,9 +193,14 @@ function P(t) {
186
193
  ]) };
187
194
  }
188
195
  //#endregion
196
+ //#region node_modules/@base-ui/utils/owner.mjs
197
+ function V(e) {
198
+ return e?.ownerDocument || document;
199
+ }
200
+ //#endregion
189
201
  //#region node_modules/@base-ui/react/utils/dispatchClickWithModifiers.mjs
190
- function F(e, t, { detail: n = 0 } = {}) {
191
- e.dispatchEvent(new (a(e)).PointerEvent("click", {
202
+ function H(e, t, { detail: n = 0 } = {}) {
203
+ e.dispatchEvent(new (o(e)).PointerEvent("click", {
192
204
  bubbles: !0,
193
205
  cancelable: !0,
194
206
  composed: !0,
@@ -201,31 +213,31 @@ function F(e, t, { detail: n = 0 } = {}) {
201
213
  }
202
214
  //#endregion
203
215
  //#region node_modules/@base-ui/react/internals/use-button/useButton.mjs
204
- function ie(t = {}) {
205
- let { disabled: n = !1, focusableWhenDisabled: r, tabIndex: i = 0, native: a = !0, composite: o } = t, c = e.useRef(null), l = N(!0), u = o ?? l !== void 0, { props: d } = P({
216
+ function te(t = {}) {
217
+ let { disabled: n = !1, focusableWhenDisabled: r, tabIndex: i = 0, native: a = !0, composite: o } = t, s = e.useRef(null), c = z(!0), l = o ?? c !== void 0, { props: d } = B({
206
218
  focusableWhenDisabled: r,
207
219
  disabled: n,
208
- composite: u,
220
+ composite: l,
209
221
  tabIndex: i,
210
222
  isNativeButton: a
211
223
  });
212
224
  process.env.NODE_ENV !== "production" && e.useEffect(() => {
213
- if (!c.current) return;
214
- let e = I(c.current);
215
- a ? e || g(`A component that acts as a button expected a native <button> because the \`nativeButton\` prop is true. Rendering a non-<button> removes native button semantics, which can impact forms and accessibility. Use a real <button> in the \`render\` prop, or set \`nativeButton\` to \`false\`.${s.captureOwnerStack?.() || ""}`) : e && g(`A component that acts as a button expected a non-<button> because the \`nativeButton\` prop is false. Rendering a <button> keeps native behavior while Base UI applies non-native attributes and handlers, which can add unintended extra attributes (such as \`role\` or \`aria-disabled\`). Use a non-<button> in the \`render\` prop, or set \`nativeButton\` to \`true\`.${s.captureOwnerStack?.() || ""}`);
225
+ if (!s.current) return;
226
+ let e = U(s.current);
227
+ a ? e || y(`A component that acts as a button expected a native <button> because the \`nativeButton\` prop is true. Rendering a non-<button> removes native button semantics, which can impact forms and accessibility. Use a real <button> in the \`render\` prop, or set \`nativeButton\` to \`false\`.${u.captureOwnerStack?.() || ""}`) : e && y(`A component that acts as a button expected a non-<button> because the \`nativeButton\` prop is false. Rendering a <button> keeps native behavior while Base UI applies non-native attributes and handlers, which can add unintended extra attributes (such as \`role\` or \`aria-disabled\`). Use a non-<button> in the \`render\` prop, or set \`nativeButton\` to \`true\`.${u.captureOwnerStack?.() || ""}`);
216
228
  }, [a]);
217
- let p = e.useCallback(() => {
218
- let e = c.current;
219
- I(e) && u && n && d.disabled === void 0 && e.disabled && (e.disabled = !1);
229
+ let f = e.useCallback(() => {
230
+ let e = s.current;
231
+ U(e) && l && n && d.disabled === void 0 && e.disabled && (e.disabled = !1);
220
232
  }, [
221
233
  n,
222
234
  d.disabled,
223
- u
235
+ l
224
236
  ]);
225
- return ee(p, [p]), {
237
+ return b(f, [f]), {
226
238
  getButtonProps: e.useCallback((e = {}) => {
227
239
  let { onClick: t, onMouseDown: r, onKeyUp: i, onKeyDown: o, onPointerDown: s, ...c } = e;
228
- return y({
240
+ return C({
229
241
  onClick(e) {
230
242
  if (n) {
231
243
  e.preventDefault();
@@ -237,26 +249,26 @@ function ie(t = {}) {
237
249
  n || r?.(e);
238
250
  },
239
251
  onKeyDown(e) {
240
- if (n || (D(e), o?.(e), e.baseUIHandlerPrevented)) return;
241
- let t = e.target === e.currentTarget, r = e.currentTarget, i = I(r), s = !a && L(r), c = t && (a ? i : !s), l = e.key === "Enter", d = e.key === " ", f = r.getAttribute("role"), p = f?.startsWith("menuitem") || f === "option" || f === "gridcell";
242
- if (t && u && d) {
252
+ if (n || (P(e), o?.(e), e.baseUIHandlerPrevented)) return;
253
+ let t = e.target === e.currentTarget, r = e.currentTarget, i = U(r), s = !a && ne(r), c = t && (a ? i : !s), u = e.key === "Enter", d = e.key === " ", f = r.getAttribute("role"), p = f?.startsWith("menuitem") || f === "option" || f === "gridcell";
254
+ if (t && l && d) {
243
255
  if (e.defaultPrevented && p) return;
244
- e.preventDefault(), (!a || i) && (e.preventBaseUIHandler(), F(r, e));
256
+ e.preventDefault(), (!a || i) && (e.preventBaseUIHandler(), H(r, e));
245
257
  return;
246
258
  }
247
- if (!c || a || !d && !l) {
259
+ if (!c || a || !d && !u) {
248
260
  t && s && d && e.preventDefault();
249
261
  return;
250
262
  }
251
- e.defaultPrevented || (e.preventDefault(), l && (e.preventBaseUIHandler(), F(r, e)));
263
+ e.defaultPrevented || (e.preventDefault(), u && (e.preventBaseUIHandler(), H(r, e)));
252
264
  },
253
265
  onKeyUp(e) {
254
266
  if (!n) {
255
- if (D(e), i?.(e), e.target === e.currentTarget && a && u && I(e.currentTarget) && e.key === " ") {
267
+ if (P(e), i?.(e), e.target === e.currentTarget && a && l && U(e.currentTarget) && e.key === " ") {
256
268
  e.preventDefault();
257
269
  return;
258
270
  }
259
- e.baseUIHandlerPrevented || e.target === e.currentTarget && !a && !u && !e.defaultPrevented && e.key === " " && (e.preventBaseUIHandler(), F(e.currentTarget, e));
271
+ e.baseUIHandlerPrevented || e.target === e.currentTarget && !a && !l && !e.defaultPrevented && e.key === " " && (e.preventBaseUIHandler(), H(e.currentTarget, e));
260
272
  }
261
273
  },
262
274
  onPointerDown(e) {
@@ -270,49 +282,49 @@ function ie(t = {}) {
270
282
  }, [
271
283
  n,
272
284
  d,
273
- u,
285
+ l,
274
286
  a
275
287
  ]),
276
- buttonRef: f((e) => {
277
- c.current = e, p();
288
+ buttonRef: h((e) => {
289
+ s.current = e, f();
278
290
  })
279
291
  };
280
292
  }
281
- function I(e) {
282
- return o(e) && e.tagName === "BUTTON";
293
+ function U(e) {
294
+ return s(e) && e.tagName === "BUTTON";
283
295
  }
284
- function L(e) {
285
- return o(e) && e.tagName === "A" && !!e.href;
296
+ function ne(e) {
297
+ return s(e) && e.tagName === "A" && !!e.href;
286
298
  }
287
299
  //#endregion
288
300
  //#region node_modules/@base-ui/utils/useMergedRefs.mjs
289
- function R(e, t, n, r) {
290
- let i = l(z).current;
291
- return oe(i, e, t, n, r) && B(i, [
301
+ function W(e, t, n, r) {
302
+ let i = f(ie).current;
303
+ return ae(i, e, t, n, r) && se(i, [
292
304
  e,
293
305
  t,
294
306
  n,
295
307
  r
296
308
  ]), i.callback;
297
309
  }
298
- function ae(e) {
299
- let t = l(z).current;
300
- return se(t, e) && B(t, e), t.callback;
310
+ function re(e) {
311
+ let t = f(ie).current;
312
+ return oe(t, e) && se(t, e), t.callback;
301
313
  }
302
- function z() {
314
+ function ie() {
303
315
  return {
304
316
  callback: null,
305
317
  cleanup: null,
306
318
  refs: []
307
319
  };
308
320
  }
309
- function oe(e, t, n, r, i) {
321
+ function ae(e, t, n, r, i) {
310
322
  return e.refs[0] !== t || e.refs[1] !== n || e.refs[2] !== r || e.refs[3] !== i;
311
323
  }
312
- function se(e, t) {
324
+ function oe(e, t) {
313
325
  return e.refs.length !== t.length || e.refs.some((e, n) => e !== t[n]);
314
326
  }
315
- function B(e, t) {
327
+ function se(e, t) {
316
328
  if (e.refs = t, t.every((e) => e == null)) {
317
329
  e.callback = null;
318
330
  return;
@@ -350,31 +362,33 @@ function B(e, t) {
350
362
  //#endregion
351
363
  //#region node_modules/@base-ui/utils/reactVersion.mjs
352
364
  var ce = parseInt(e.version, 10);
353
- function V(e) {
365
+ function le(e) {
354
366
  return ce >= e;
355
367
  }
356
368
  //#endregion
357
369
  //#region node_modules/@base-ui/utils/getReactElementRef.mjs
358
- function le(t) {
370
+ function ue(t) {
359
371
  if (!/*#__PURE__*/ e.isValidElement(t)) return null;
360
372
  let n = t, r = n.props;
361
- return (V(19) ? r?.ref : n.ref) ?? null;
373
+ return (le(19) ? r?.ref : n.ref) ?? null;
362
374
  }
363
375
  //#endregion
364
376
  //#region node_modules/@base-ui/utils/warn.mjs
365
- var ue;
366
- process.env.NODE_ENV !== "production" && (ue = /* @__PURE__ */ new Set());
367
- function de(...e) {
377
+ var de;
378
+ process.env.NODE_ENV !== "production" && (de = /* @__PURE__ */ new Set());
379
+ function fe(...e) {
368
380
  if (process.env.NODE_ENV !== "production") {
369
381
  let t = e.join(" ");
370
- ue.has(t) || (ue.add(t), console.warn(`Base UI: ${t}`));
382
+ de.has(t) || (de.add(t), console.warn(`Base UI: ${t}`));
371
383
  }
372
384
  }
373
- Object.freeze([]);
374
- var H = Object.freeze({});
385
+ //#endregion
386
+ //#region node_modules/@base-ui/utils/empty.mjs
387
+ function pe() {}
388
+ var me = Object.freeze([]), he = Object.freeze({});
375
389
  //#endregion
376
390
  //#region node_modules/@base-ui/react/internals/getStateAttributesProps.mjs
377
- function fe(e, t) {
391
+ function ge(e, t) {
378
392
  let n = {};
379
393
  for (let r in e) {
380
394
  let i = e[r];
@@ -389,53 +403,53 @@ function fe(e, t) {
389
403
  }
390
404
  //#endregion
391
405
  //#region node_modules/@base-ui/react/utils/resolveClassName.mjs
392
- function pe(e, t) {
406
+ function _e(e, t) {
393
407
  return typeof e == "function" ? e(t) : e;
394
408
  }
395
409
  //#endregion
396
410
  //#region node_modules/@base-ui/react/utils/resolveStyle.mjs
397
- function me(e, t) {
411
+ function ve(e, t) {
398
412
  return typeof e == "function" ? e(t) : e;
399
413
  }
400
414
  //#endregion
401
415
  //#region node_modules/@base-ui/react/internals/useRenderElement.mjs
402
- function he(e, t, n = {}) {
403
- let r = t.render, i = ge(t, n);
404
- return n.enabled === !1 ? null : xe(e, r, i, n.state ?? H);
416
+ function ye(e, t, n = {}) {
417
+ let r = t.render, i = be(t, n);
418
+ return n.enabled === !1 ? null : Te(e, r, i, n.state ?? he);
405
419
  }
406
- function ge(e, t = {}) {
407
- let { className: n, style: r, render: i } = e, { state: a = H, ref: o, props: s, stateAttributesMapping: c, enabled: l = !0 } = t, u = l ? pe(n, a) : void 0, d = l ? me(r, a) : void 0, f = l ? fe(a, c) : H, p = l && s ? _e(s) : void 0, m = l ? _(f, p) ?? {} : H;
408
- return typeof document < "u" && (l ? m.ref = Array.isArray(o) ? ae([
420
+ function be(e, t = {}) {
421
+ let { className: n, style: r, render: i } = e, { state: a = he, ref: o, props: s, stateAttributesMapping: c, enabled: l = !0 } = t, u = l ? _e(n, a) : void 0, d = l ? ve(r, a) : void 0, f = l ? ge(a, c) : he, p = l && s ? xe(s) : void 0, m = l ? x(f, p) ?? {} : he;
422
+ return typeof document < "u" && (l ? m.ref = Array.isArray(o) ? re([
409
423
  m.ref,
410
- le(i),
424
+ ue(i),
411
425
  ...o
412
- ]) : R(m.ref, le(i), o) : R(null, null)), l ? (u !== void 0 && (m.className = O(m.className, u)), d !== void 0 && (m.style = _(m.style, d)), m) : H;
426
+ ]) : W(m.ref, ue(i), o) : W(null, null)), l ? (u !== void 0 && (m.className = F(m.className, u)), d !== void 0 && (m.style = x(m.style, d)), m) : he;
413
427
  }
414
- function _e(e) {
415
- return Array.isArray(e) ? te(e) : y(void 0, e);
428
+ function xe(e) {
429
+ return Array.isArray(e) ? w(e) : C(void 0, e);
416
430
  }
417
- var ve = Symbol.for("react.lazy"), ye = /^[A-Z][A-Za-z0-9$]*$/, be = /[a-z]/;
418
- function xe(t, n, r, i) {
431
+ var Se = Symbol.for("react.lazy"), Ce = /^[A-Z][A-Za-z0-9$]*$/, we = /[a-z]/;
432
+ function Te(t, n, r, i) {
419
433
  if (n) {
420
- if (typeof n == "function") return process.env.NODE_ENV !== "production" && Se(n), n(r, i);
421
- let t = y(r, n.props);
434
+ if (typeof n == "function") return process.env.NODE_ENV !== "production" && Ee(n), n(r, i);
435
+ let t = C(r, n.props);
422
436
  t.ref = r.ref;
423
437
  let a = n;
424
- if (a?.$$typeof === ve && (a = e.Children.toArray(n)[0]), process.env.NODE_ENV !== "production" && !/*#__PURE__*/ e.isValidElement(a)) throw Error([
438
+ if (a?.$$typeof === Se && (a = e.Children.toArray(n)[0]), process.env.NODE_ENV !== "production" && !/*#__PURE__*/ e.isValidElement(a)) throw Error([
425
439
  "Base UI: The `render` prop was provided an invalid React element as `React.isValidElement(render)` is `false`.",
426
440
  "A valid React element must be provided to the `render` prop because it is cloned with props to replace the default element.",
427
441
  "https://base-ui.com/r/invalid-render-prop"
428
442
  ].join("\n"));
429
443
  return /*#__PURE__*/ e.cloneElement(a, t);
430
444
  }
431
- if (t && typeof t == "string") return Ce(t, r);
432
- throw Error(process.env.NODE_ENV === "production" ? j(8) : "Base UI: Render element or function are not defined.");
445
+ if (t && typeof t == "string") return De(t, r);
446
+ throw Error(process.env.NODE_ENV === "production" ? L(8) : "Base UI: Render element or function are not defined.");
433
447
  }
434
- function Se(e) {
448
+ function Ee(e) {
435
449
  let t = e.name;
436
- t.length !== 0 && ye.test(t) && be.test(t) && de(`The \`render\` prop received a function named \`${t}\` that starts with an uppercase letter.`, "This usually means a React component was passed directly as `render={Component}`.", "Base UI calls `render` as a plain function, which can break the Rules of Hooks during reconciliation.", "If this is an intentional render callback, rename it to start with a lowercase letter.", "Use `render={<Component />}` or `render={(props) => <Component {...props} />}` instead.", "https://base-ui.com/r/invalid-render-prop");
450
+ t.length !== 0 && Ce.test(t) && we.test(t) && fe(`The \`render\` prop received a function named \`${t}\` that starts with an uppercase letter.`, "This usually means a React component was passed directly as `render={Component}`.", "Base UI calls `render` as a plain function, which can break the Rules of Hooks during reconciliation.", "If this is an intentional render callback, rename it to start with a lowercase letter.", "Use `render={<Component />}` or `render={(props) => <Component {...props} />}` instead.", "https://base-ui.com/r/invalid-render-prop");
437
451
  }
438
- function Ce(n, r) {
452
+ function De(n, r) {
439
453
  return n === "button" ? /*#__PURE__*/ t("button", {
440
454
  type: "button",
441
455
  ...r,
@@ -448,50 +462,50 @@ function Ce(n, r) {
448
462
  }
449
463
  //#endregion
450
464
  //#region node_modules/@base-ui/react/button/Button.mjs
451
- var we = /*#__PURE__*/ e.forwardRef(function(e, t) {
452
- let { render: n, className: r, disabled: i = !1, focusableWhenDisabled: a = !1, nativeButton: o = !0, style: s, ...c } = e, { getButtonProps: l, buttonRef: u } = ie({
465
+ var Oe = /*#__PURE__*/ e.forwardRef(function(e, t) {
466
+ let { render: n, className: r, disabled: i = !1, focusableWhenDisabled: a = !1, nativeButton: o = !0, style: s, ...c } = e, { getButtonProps: l, buttonRef: u } = te({
453
467
  disabled: i,
454
468
  focusableWhenDisabled: a,
455
469
  native: o
456
470
  });
457
- return he("button", e, {
471
+ return ye("button", e, {
458
472
  state: { disabled: i },
459
473
  ref: [t, u],
460
474
  props: [c, l]
461
475
  });
462
476
  });
463
- process.env.NODE_ENV !== "production" && (we.displayName = "Button");
477
+ process.env.NODE_ENV !== "production" && (Oe.displayName = "Button");
464
478
  //#endregion
465
479
  //#region node_modules/clsx/dist/clsx.mjs
466
- function Te(e) {
480
+ function ke(e) {
467
481
  var t, n, r = "";
468
482
  if (typeof e == "string" || typeof e == "number") r += e;
469
483
  else if (typeof e == "object") {
470
484
  if (Array.isArray(e)) {
471
485
  var i = e.length;
472
- for (t = 0; t < i; t++) e[t] && (n = Te(e[t])) && (r && (r += " "), r += n);
486
+ for (t = 0; t < i; t++) e[t] && (n = ke(e[t])) && (r && (r += " "), r += n);
473
487
  } else for (n in e) e[n] && (r && (r += " "), r += n);
474
488
  }
475
489
  return r;
476
490
  }
477
- function Ee() {
478
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Te(e)) && (r && (r += " "), r += t);
491
+ function Ae() {
492
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = ke(e)) && (r && (r += " "), r += t);
479
493
  return r;
480
494
  }
481
495
  //#endregion
482
496
  //#region node_modules/class-variance-authority/dist/index.mjs
483
- var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke = (e, t) => (n) => {
484
- if (t?.variants == null) return Oe(e, n?.class, n?.className);
497
+ var je = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Me = Ae, Ne = (e, t) => (n) => {
498
+ if (t?.variants == null) return Me(e, n?.class, n?.className);
485
499
  let { variants: r, defaultVariants: i } = t, a = Object.keys(r).map((e) => {
486
500
  let t = n?.[e], a = i?.[e];
487
501
  if (t === null) return null;
488
- let o = De(t) || De(a);
502
+ let o = je(t) || je(a);
489
503
  return r[e][o];
490
504
  }), o = n && Object.entries(n).reduce((e, t) => {
491
505
  let [n, r] = t;
492
506
  return r === void 0 || (e[n] = r), e;
493
507
  }, {});
494
- return Oe(e, a, t?.compoundVariants?.reduce((e, t) => {
508
+ return Me(e, a, t?.compoundVariants?.reduce((e, t) => {
495
509
  let { class: n, className: r, ...a } = t;
496
510
  return Object.entries(a).every((e) => {
497
511
  let [t, n] = e;
@@ -508,100 +522,100 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
508
522
  r
509
523
  ] : e;
510
524
  }, []), n?.class, n?.className);
511
- }, Ae = (e, t) => {
525
+ }, Pe = (e, t) => {
512
526
  let n = Array(e.length + t.length);
513
527
  for (let t = 0; t < e.length; t++) n[t] = e[t];
514
528
  for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
515
529
  return n;
516
- }, je = (e, t) => ({
530
+ }, Fe = (e, t) => ({
517
531
  classGroupId: e,
518
532
  validator: t
519
- }), Me = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
533
+ }), Ie = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
520
534
  nextPart: e,
521
535
  validators: t,
522
536
  classGroupId: n
523
- }), Ne = "-", Pe = [], Fe = "arbitrary..", Ie = (e) => {
524
- let t = ze(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
537
+ }), Le = "-", Re = [], ze = "arbitrary..", Be = (e) => {
538
+ let t = Ue(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
525
539
  return {
526
540
  getClassGroupId: (e) => {
527
- if (e.startsWith("[") && e.endsWith("]")) return Re(e);
528
- let n = e.split(Ne);
529
- return Le(n, +(n[0] === "" && n.length > 1), t);
541
+ if (e.startsWith("[") && e.endsWith("]")) return He(e);
542
+ let n = e.split(Le);
543
+ return Ve(n, +(n[0] === "" && n.length > 1), t);
530
544
  },
531
545
  getConflictingClassGroupIds: (e, t) => {
532
546
  if (t) {
533
547
  let t = r[e], i = n[e];
534
- return t ? i ? Ae(i, t) : t : i || Pe;
548
+ return t ? i ? Pe(i, t) : t : i || Re;
535
549
  }
536
- return n[e] || Pe;
550
+ return n[e] || Re;
537
551
  }
538
552
  };
539
- }, Le = (e, t, n) => {
553
+ }, Ve = (e, t, n) => {
540
554
  if (e.length - t === 0) return n.classGroupId;
541
555
  let r = e[t], i = n.nextPart.get(r);
542
556
  if (i) {
543
- let n = Le(e, t + 1, i);
557
+ let n = Ve(e, t + 1, i);
544
558
  if (n) return n;
545
559
  }
546
560
  let a = n.validators;
547
561
  if (a === null) return;
548
- let o = t === 0 ? e.join(Ne) : e.slice(t).join(Ne), s = a.length;
562
+ let o = t === 0 ? e.join(Le) : e.slice(t).join(Le), s = a.length;
549
563
  for (let e = 0; e < s; e++) {
550
564
  let t = a[e];
551
565
  if (t.validator(o)) return t.classGroupId;
552
566
  }
553
- }, Re = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
567
+ }, He = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
554
568
  let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
555
- return r ? Fe + r : void 0;
556
- })(), ze = (e) => {
569
+ return r ? ze + r : void 0;
570
+ })(), Ue = (e) => {
557
571
  let { theme: t, classGroups: n } = e;
558
- return Be(n, t);
559
- }, Be = (e, t) => {
560
- let n = Me();
572
+ return We(n, t);
573
+ }, We = (e, t) => {
574
+ let n = Ie();
561
575
  for (let r in e) {
562
576
  let i = e[r];
563
- Ve(i, n, r, t);
577
+ Ge(i, n, r, t);
564
578
  }
565
579
  return n;
566
- }, Ve = (e, t, n, r) => {
580
+ }, Ge = (e, t, n, r) => {
567
581
  let i = e.length;
568
582
  for (let a = 0; a < i; a++) {
569
583
  let i = e[a];
570
- He(i, t, n, r);
584
+ Ke(i, t, n, r);
571
585
  }
572
- }, He = (e, t, n, r) => {
586
+ }, Ke = (e, t, n, r) => {
573
587
  if (typeof e == "string") {
574
- Ue(e, t, n);
588
+ qe(e, t, n);
575
589
  return;
576
590
  }
577
591
  if (typeof e == "function") {
578
- We(e, t, n, r);
592
+ Je(e, t, n, r);
579
593
  return;
580
594
  }
581
- Ge(e, t, n, r);
582
- }, Ue = (e, t, n) => {
583
- let r = e === "" ? t : Ke(t, e);
595
+ Ye(e, t, n, r);
596
+ }, qe = (e, t, n) => {
597
+ let r = e === "" ? t : Xe(t, e);
584
598
  r.classGroupId = n;
585
- }, We = (e, t, n, r) => {
586
- if (qe(e)) {
587
- Ve(e(r), t, n, r);
599
+ }, Je = (e, t, n, r) => {
600
+ if (Ze(e)) {
601
+ Ge(e(r), t, n, r);
588
602
  return;
589
603
  }
590
- t.validators === null && (t.validators = []), t.validators.push(je(n, e));
591
- }, Ge = (e, t, n, r) => {
604
+ t.validators === null && (t.validators = []), t.validators.push(Fe(n, e));
605
+ }, Ye = (e, t, n, r) => {
592
606
  let i = Object.entries(e), a = i.length;
593
607
  for (let e = 0; e < a; e++) {
594
608
  let [a, o] = i[e];
595
- Ve(o, Ke(t, a), n, r);
609
+ Ge(o, Xe(t, a), n, r);
596
610
  }
597
- }, Ke = (e, t) => {
598
- let n = e, r = t.split(Ne), i = r.length;
611
+ }, Xe = (e, t) => {
612
+ let n = e, r = t.split(Le), i = r.length;
599
613
  for (let e = 0; e < i; e++) {
600
614
  let t = r[e], i = n.nextPart.get(t);
601
- i || (i = Me(), n.nextPart.set(t, i)), n = i;
615
+ i || (i = Ie(), n.nextPart.set(t, i)), n = i;
602
616
  }
603
617
  return n;
604
- }, qe = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Je = (e) => {
618
+ }, Ze = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Qe = (e) => {
605
619
  if (e < 1) return {
606
620
  get: () => void 0,
607
621
  set: () => {}
@@ -619,19 +633,19 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
619
633
  e in n ? n[e] = t : i(e, t);
620
634
  }
621
635
  };
622
- }, Ye = "!", Xe = ":", Ze = [], Qe = (e, t, n, r, i) => ({
636
+ }, $e = "!", et = ":", tt = [], nt = (e, t, n, r, i) => ({
623
637
  modifiers: e,
624
638
  hasImportantModifier: t,
625
639
  baseClassName: n,
626
640
  maybePostfixModifierPosition: r,
627
641
  isExternal: i
628
- }), $e = (e) => {
642
+ }), rt = (e) => {
629
643
  let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
630
644
  let t = [], n = 0, r = 0, i = 0, a, o = e.length;
631
645
  for (let s = 0; s < o; s++) {
632
646
  let o = e[s];
633
647
  if (n === 0 && r === 0) {
634
- if (o === Xe) {
648
+ if (o === et) {
635
649
  t.push(e.slice(i, s)), i = s + 1;
636
650
  continue;
637
651
  }
@@ -643,13 +657,13 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
643
657
  o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
644
658
  }
645
659
  let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
646
- s.endsWith(Ye) ? (c = s.slice(0, -1), l = !0) : s.startsWith(Ye) && (c = s.slice(1), l = !0);
660
+ s.endsWith($e) ? (c = s.slice(0, -1), l = !0) : s.startsWith($e) && (c = s.slice(1), l = !0);
647
661
  let u = a && a > i ? a - i : void 0;
648
- return Qe(t, l, c, u);
662
+ return nt(t, l, c, u);
649
663
  };
650
664
  if (t) {
651
- let e = t + Xe, n = r;
652
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : Qe(Ze, !1, t, void 0, !0);
665
+ let e = t + et, n = r;
666
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : nt(tt, !1, t, void 0, !0);
653
667
  }
654
668
  if (n) {
655
669
  let e = r;
@@ -659,7 +673,7 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
659
673
  });
660
674
  }
661
675
  return r;
662
- }, et = (e) => {
676
+ }, it = (e) => {
663
677
  let t = /* @__PURE__ */ new Map();
664
678
  return e.orderSensitiveModifiers.forEach((e, n) => {
665
679
  t.set(e, 1e6 + n);
@@ -671,18 +685,18 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
671
685
  }
672
686
  return r.length > 0 && (r.sort(), n.push(...r)), n;
673
687
  };
674
- }, tt = (e) => ({
675
- cache: Je(e.cacheSize),
676
- parseClassName: $e(e),
677
- sortModifiers: et(e),
678
- postfixLookupClassGroupIds: nt(e),
679
- ...Ie(e)
680
- }), nt = (e) => {
688
+ }, at = (e) => ({
689
+ cache: Qe(e.cacheSize),
690
+ parseClassName: rt(e),
691
+ sortModifiers: it(e),
692
+ postfixLookupClassGroupIds: ot(e),
693
+ ...Be(e)
694
+ }), ot = (e) => {
681
695
  let t = Object.create(null), n = e.postfixLookupClassGroups;
682
696
  if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
683
697
  return t;
684
- }, rt = /\s+/, it = (e, t) => {
685
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(rt), l = "";
698
+ }, st = /\s+/, ct = (e, t) => {
699
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(st), l = "";
686
700
  for (let e = c.length - 1; e >= 0; --e) {
687
701
  let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
688
702
  if (u) {
@@ -706,45 +720,45 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
706
720
  }
707
721
  h = !1;
708
722
  }
709
- let ee = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), _ = f ? ee + Ye : ee, v = _ + g;
710
- if (s.indexOf(v) > -1) continue;
711
- s.push(v);
712
- let y = i(g, h);
713
- for (let e = 0; e < y.length; ++e) {
714
- let t = y[e];
715
- s.push(_ + t);
723
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + $e : _, y = v + g;
724
+ if (s.indexOf(y) > -1) continue;
725
+ s.push(y);
726
+ let b = i(g, h);
727
+ for (let e = 0; e < b.length; ++e) {
728
+ let t = b[e];
729
+ s.push(v + t);
716
730
  }
717
731
  l = t + (l.length > 0 ? " " + l : l);
718
732
  }
719
733
  return l;
720
- }, at = (...e) => {
734
+ }, lt = (...e) => {
721
735
  let t = 0, n, r, i = "";
722
- for (; t < e.length;) (n = e[t++]) && (r = ot(n)) && (i && (i += " "), i += r);
736
+ for (; t < e.length;) (n = e[t++]) && (r = ut(n)) && (i && (i += " "), i += r);
723
737
  return i;
724
- }, ot = (e) => {
738
+ }, ut = (e) => {
725
739
  if (typeof e == "string") return e;
726
740
  let t, n = "";
727
- for (let r = 0; r < e.length; r++) e[r] && (t = ot(e[r])) && (n && (n += " "), n += t);
741
+ for (let r = 0; r < e.length; r++) e[r] && (t = ut(e[r])) && (n && (n += " "), n += t);
728
742
  return n;
729
- }, st = (e, ...t) => {
730
- let n, r, i, a, o = (o) => (n = tt(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
743
+ }, dt = (e, ...t) => {
744
+ let n, r, i, a, o = (o) => (n = at(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
731
745
  let t = r(e);
732
746
  if (t) return t;
733
- let a = it(e, n);
747
+ let a = ct(e, n);
734
748
  return i(e, a), a;
735
749
  };
736
- return a = o, (...e) => a(at(...e));
737
- }, ct = [], U = (e) => {
738
- let t = (t) => t[e] || ct;
750
+ return a = o, (...e) => a(lt(...e));
751
+ }, ft = [], G = (e) => {
752
+ let t = (t) => t[e] || ft;
739
753
  return t.isThemeGetter = !0, t;
740
- }, lt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ut = /^\((?:(\w[\w-]*):)?(.+)\)$/i, dt = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, ft = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, pt = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, mt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, ht = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, gt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, W = (e) => dt.test(e), G = (e) => !!e && !Number.isNaN(Number(e)), K = (e) => !!e && Number.isInteger(Number(e)), _t = (e) => e.endsWith("%") && G(e.slice(0, -1)), q = (e) => ft.test(e), vt = () => !0, yt = (e) => pt.test(e) && !mt.test(e), bt = () => !1, xt = (e) => ht.test(e), St = (e) => gt.test(e), Ct = (e) => !J(e) && !X(e), wt = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), Tt = (e) => Q(e, Bt, bt), J = (e) => lt.test(e), Y = (e) => Q(e, Vt, yt), Et = (e) => Q(e, Ht, G), Dt = (e) => Q(e, Wt, vt), Ot = (e) => Q(e, Ut, bt), kt = (e) => Q(e, Rt, bt), At = (e) => Q(e, zt, St), jt = (e) => Q(e, Gt, xt), X = (e) => ut.test(e), Z = (e) => $(e, Vt), Mt = (e) => $(e, Ut), Nt = (e) => $(e, Rt), Pt = (e) => $(e, Bt), Ft = (e) => $(e, zt), It = (e) => $(e, Gt, !0), Lt = (e) => $(e, Wt, !0), Q = (e, t, n) => {
741
- let r = lt.exec(e);
754
+ }, pt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, mt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ht = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, gt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, _t = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, vt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, yt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, bt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, K = (e) => ht.test(e), q = (e) => !!e && !Number.isNaN(Number(e)), J = (e) => !!e && Number.isInteger(Number(e)), xt = (e) => e.endsWith("%") && q(e.slice(0, -1)), Y = (e) => gt.test(e), St = () => !0, Ct = (e) => _t.test(e) && !vt.test(e), wt = () => !1, Tt = (e) => yt.test(e), Et = (e) => bt.test(e), Dt = (e) => !X(e) && !Z(e), Ot = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), kt = (e) => Q(e, qt, wt), X = (e) => pt.test(e), At = (e) => Q(e, Jt, Ct), jt = (e) => Q(e, Yt, q), Mt = (e) => Q(e, Zt, St), Nt = (e) => Q(e, Xt, wt), Pt = (e) => Q(e, Gt, wt), Ft = (e) => Q(e, Kt, Et), It = (e) => Q(e, Qt, Tt), Z = (e) => mt.test(e), Lt = (e) => Wt(e, Jt), Rt = (e) => Wt(e, Xt), zt = (e) => Wt(e, Gt), Bt = (e) => Wt(e, qt), Vt = (e) => Wt(e, Kt), Ht = (e) => Wt(e, Qt, !0), Ut = (e) => Wt(e, Zt, !0), Q = (e, t, n) => {
755
+ let r = pt.exec(e);
742
756
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
743
- }, $ = (e, t, n = !1) => {
744
- let r = ut.exec(e);
757
+ }, Wt = (e, t, n = !1) => {
758
+ let r = mt.exec(e);
745
759
  return r ? r[1] ? t(r[1]) : n : !1;
746
- }, Rt = (e) => e === "position" || e === "percentage", zt = (e) => e === "image" || e === "url", Bt = (e) => e === "length" || e === "size" || e === "bg-size", Vt = (e) => e === "length", Ht = (e) => e === "number", Ut = (e) => e === "family-name", Wt = (e) => e === "number" || e === "weight", Gt = (e) => e === "shadow", Kt = /*#__PURE__*/ st(() => {
747
- let e = U("color"), t = U("font"), n = U("text"), r = U("font-weight"), i = U("tracking"), a = U("leading"), o = U("breakpoint"), s = U("container"), c = U("spacing"), l = U("radius"), u = U("shadow"), d = U("inset-shadow"), f = U("text-shadow"), p = U("drop-shadow"), m = U("blur"), h = U("perspective"), g = U("aspect"), ee = U("ease"), _ = U("animate"), v = () => [
760
+ }, Gt = (e) => e === "position" || e === "percentage", Kt = (e) => e === "image" || e === "url", qt = (e) => e === "length" || e === "size" || e === "bg-size", Jt = (e) => e === "length", Yt = (e) => e === "number", Xt = (e) => e === "family-name", Zt = (e) => e === "number" || e === "weight", Qt = (e) => e === "shadow", $t = /*#__PURE__*/ dt(() => {
761
+ let e = G("color"), t = G("font"), n = G("text"), r = G("font-weight"), i = G("tracking"), a = G("leading"), o = G("breakpoint"), s = G("container"), c = G("spacing"), l = G("radius"), u = G("shadow"), d = G("inset-shadow"), f = G("text-shadow"), p = G("drop-shadow"), m = G("blur"), h = G("perspective"), g = G("aspect"), _ = G("ease"), v = G("animate"), y = () => [
748
762
  "auto",
749
763
  "avoid",
750
764
  "all",
@@ -753,7 +767,7 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
753
767
  "left",
754
768
  "right",
755
769
  "column"
756
- ], y = () => [
770
+ ], b = () => [
757
771
  "center",
758
772
  "top",
759
773
  "bottom",
@@ -767,59 +781,59 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
767
781
  "right-bottom",
768
782
  "bottom-left",
769
783
  "left-bottom"
770
- ], te = () => [
771
- ...y(),
772
- X,
773
- J
774
- ], b = () => [
784
+ ], x = () => [
785
+ ...b(),
786
+ Z,
787
+ X
788
+ ], S = () => [
775
789
  "auto",
776
790
  "hidden",
777
791
  "clip",
778
792
  "visible",
779
793
  "scroll"
780
- ], x = () => [
794
+ ], C = () => [
781
795
  "auto",
782
796
  "contain",
783
797
  "none"
784
- ], S = () => [
798
+ ], w = () => [
799
+ Z,
785
800
  X,
786
- J,
787
801
  c
788
- ], C = () => [
789
- W,
802
+ ], T = () => [
803
+ K,
790
804
  "full",
791
805
  "auto",
792
- ...S()
793
- ], ne = () => [
794
- K,
806
+ ...w()
807
+ ], E = () => [
808
+ J,
795
809
  "none",
796
810
  "subgrid",
797
- X,
798
- J
799
- ], w = () => [
811
+ Z,
812
+ X
813
+ ], D = () => [
800
814
  "auto",
801
815
  { span: [
802
816
  "full",
803
- K,
804
- X,
805
- J
817
+ J,
818
+ Z,
819
+ X
806
820
  ] },
807
- K,
808
- X,
809
- J
810
- ], T = () => [
811
- K,
821
+ J,
822
+ Z,
823
+ X
824
+ ], O = () => [
825
+ J,
812
826
  "auto",
813
- X,
814
- J
815
- ], re = () => [
827
+ Z,
828
+ X
829
+ ], k = () => [
816
830
  "auto",
817
831
  "min",
818
832
  "max",
819
833
  "fr",
820
- X,
821
- J
822
- ], E = () => [
834
+ Z,
835
+ X
836
+ ], A = () => [
823
837
  "start",
824
838
  "end",
825
839
  "center",
@@ -830,15 +844,15 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
830
844
  "baseline",
831
845
  "center-safe",
832
846
  "end-safe"
833
- ], D = () => [
847
+ ], j = () => [
834
848
  "start",
835
849
  "end",
836
850
  "center",
837
851
  "stretch",
838
852
  "center-safe",
839
853
  "end-safe"
840
- ], O = () => ["auto", ...S()], k = () => [
841
- W,
854
+ ], M = () => ["auto", ...w()], N = () => [
855
+ K,
842
856
  "auto",
843
857
  "full",
844
858
  "dvw",
@@ -850,9 +864,9 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
850
864
  "min",
851
865
  "max",
852
866
  "fit",
853
- ...S()
854
- ], A = () => [
855
- W,
867
+ ...w()
868
+ ], P = () => [
869
+ K,
856
870
  "screen",
857
871
  "full",
858
872
  "dvw",
@@ -861,9 +875,9 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
861
875
  "min",
862
876
  "max",
863
877
  "fit",
864
- ...S()
865
- ], j = () => [
866
- W,
878
+ ...w()
879
+ ], F = () => [
880
+ K,
867
881
  "screen",
868
882
  "full",
869
883
  "lh",
@@ -873,51 +887,51 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
873
887
  "min",
874
888
  "max",
875
889
  "fit",
876
- ...S()
877
- ], M = () => [
890
+ ...w()
891
+ ], I = () => [
878
892
  e,
879
- X,
880
- J
881
- ], N = () => [
882
- ...y(),
883
- Nt,
884
- kt,
885
- { position: [X, J] }
886
- ], P = () => ["no-repeat", { repeat: [
893
+ Z,
894
+ X
895
+ ], ee = () => [
896
+ ...b(),
897
+ zt,
898
+ Pt,
899
+ { position: [Z, X] }
900
+ ], L = () => ["no-repeat", { repeat: [
887
901
  "",
888
902
  "x",
889
903
  "y",
890
904
  "space",
891
905
  "round"
892
- ] }], F = () => [
906
+ ] }], R = () => [
893
907
  "auto",
894
908
  "cover",
895
909
  "contain",
896
- Pt,
897
- Tt,
898
- { size: [X, J] }
899
- ], ie = () => [
900
- _t,
901
- Z,
902
- Y
903
- ], I = () => [
910
+ Bt,
911
+ kt,
912
+ { size: [Z, X] }
913
+ ], z = () => [
914
+ xt,
915
+ Lt,
916
+ At
917
+ ], B = () => [
904
918
  "",
905
919
  "none",
906
920
  "full",
907
921
  l,
908
- X,
909
- J
910
- ], L = () => [
911
- "",
912
- G,
913
922
  Z,
914
- Y
915
- ], R = () => [
923
+ X
924
+ ], V = () => [
925
+ "",
926
+ q,
927
+ Lt,
928
+ At
929
+ ], H = () => [
916
930
  "solid",
917
931
  "dashed",
918
932
  "dotted",
919
933
  "double"
920
- ], ae = () => [
934
+ ], te = () => [
921
935
  "normal",
922
936
  "multiply",
923
937
  "screen",
@@ -934,35 +948,35 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
934
948
  "saturation",
935
949
  "color",
936
950
  "luminosity"
937
- ], z = () => [
938
- G,
939
- _t,
940
- Nt,
941
- kt
942
- ], oe = () => [
951
+ ], U = () => [
952
+ q,
953
+ xt,
954
+ zt,
955
+ Pt
956
+ ], ne = () => [
943
957
  "",
944
958
  "none",
945
959
  m,
946
- X,
947
- J
948
- ], se = () => [
960
+ Z,
961
+ X
962
+ ], W = () => [
949
963
  "none",
950
- G,
951
- X,
952
- J
953
- ], B = () => [
964
+ q,
965
+ Z,
966
+ X
967
+ ], re = () => [
954
968
  "none",
955
- G,
956
- X,
957
- J
958
- ], ce = () => [
959
- G,
960
- X,
961
- J
962
- ], V = () => [
963
- W,
969
+ q,
970
+ Z,
971
+ X
972
+ ], ie = () => [
973
+ q,
974
+ Z,
975
+ X
976
+ ], ae = () => [
977
+ K,
964
978
  "full",
965
- ...S()
979
+ ...w()
966
980
  ];
967
981
  return {
968
982
  cacheSize: 500,
@@ -974,17 +988,17 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
974
988
  "bounce"
975
989
  ],
976
990
  aspect: ["video"],
977
- blur: [q],
978
- breakpoint: [q],
979
- color: [vt],
980
- container: [q],
981
- "drop-shadow": [q],
991
+ blur: [Y],
992
+ breakpoint: [Y],
993
+ color: [St],
994
+ container: [Y],
995
+ "drop-shadow": [Y],
982
996
  ease: [
983
997
  "in",
984
998
  "out",
985
999
  "in-out"
986
1000
  ],
987
- font: [Ct],
1001
+ font: [Dt],
988
1002
  "font-weight": [
989
1003
  "thin",
990
1004
  "extralight",
@@ -996,7 +1010,7 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
996
1010
  "extrabold",
997
1011
  "black"
998
1012
  ],
999
- "inset-shadow": [q],
1013
+ "inset-shadow": [Y],
1000
1014
  leading: [
1001
1015
  "none",
1002
1016
  "tight",
@@ -1013,11 +1027,11 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1013
1027
  "distant",
1014
1028
  "none"
1015
1029
  ],
1016
- radius: [q],
1017
- shadow: [q],
1018
- spacing: ["px", G],
1019
- text: [q],
1020
- "text-shadow": [q],
1030
+ radius: [Y],
1031
+ shadow: [Y],
1032
+ spacing: ["px", q],
1033
+ text: [Y],
1034
+ "text-shadow": [Y],
1021
1035
  tracking: [
1022
1036
  "tighter",
1023
1037
  "tight",
@@ -1031,9 +1045,9 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1031
1045
  aspect: [{ aspect: [
1032
1046
  "auto",
1033
1047
  "square",
1034
- W,
1035
- J,
1048
+ K,
1036
1049
  X,
1050
+ Z,
1037
1051
  g
1038
1052
  ] }],
1039
1053
  container: ["container"],
@@ -1041,18 +1055,18 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1041
1055
  "",
1042
1056
  "normal",
1043
1057
  "size",
1044
- X,
1045
- J
1058
+ Z,
1059
+ X
1046
1060
  ] }],
1047
- "container-named": [wt],
1061
+ "container-named": [Ot],
1048
1062
  columns: [{ columns: [
1049
- G,
1050
- J,
1063
+ q,
1051
1064
  X,
1065
+ Z,
1052
1066
  s
1053
1067
  ] }],
1054
- "break-after": [{ "break-after": v() }],
1055
- "break-before": [{ "break-before": v() }],
1068
+ "break-after": [{ "break-after": y() }],
1069
+ "break-before": [{ "break-before": y() }],
1056
1070
  "break-inside": [{ "break-inside": [
1057
1071
  "auto",
1058
1072
  "avoid",
@@ -1108,13 +1122,13 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1108
1122
  "none",
1109
1123
  "scale-down"
1110
1124
  ] }],
1111
- "object-position": [{ object: te() }],
1112
- overflow: [{ overflow: b() }],
1113
- "overflow-x": [{ "overflow-x": b() }],
1114
- "overflow-y": [{ "overflow-y": b() }],
1115
- overscroll: [{ overscroll: x() }],
1116
- "overscroll-x": [{ "overscroll-x": x() }],
1117
- "overscroll-y": [{ "overscroll-y": x() }],
1125
+ "object-position": [{ object: x() }],
1126
+ overflow: [{ overflow: S() }],
1127
+ "overflow-x": [{ "overflow-x": S() }],
1128
+ "overflow-y": [{ "overflow-y": S() }],
1129
+ overscroll: [{ overscroll: C() }],
1130
+ "overscroll-x": [{ "overscroll-x": C() }],
1131
+ "overscroll-y": [{ "overscroll-y": C() }],
1118
1132
  position: [
1119
1133
  "static",
1120
1134
  "fixed",
@@ -1122,40 +1136,40 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1122
1136
  "relative",
1123
1137
  "sticky"
1124
1138
  ],
1125
- inset: [{ inset: C() }],
1126
- "inset-x": [{ "inset-x": C() }],
1127
- "inset-y": [{ "inset-y": C() }],
1139
+ inset: [{ inset: T() }],
1140
+ "inset-x": [{ "inset-x": T() }],
1141
+ "inset-y": [{ "inset-y": T() }],
1128
1142
  start: [{
1129
- "inset-s": C(),
1130
- start: C()
1143
+ "inset-s": T(),
1144
+ start: T()
1131
1145
  }],
1132
1146
  end: [{
1133
- "inset-e": C(),
1134
- end: C()
1147
+ "inset-e": T(),
1148
+ end: T()
1135
1149
  }],
1136
- "inset-bs": [{ "inset-bs": C() }],
1137
- "inset-be": [{ "inset-be": C() }],
1138
- top: [{ top: C() }],
1139
- right: [{ right: C() }],
1140
- bottom: [{ bottom: C() }],
1141
- left: [{ left: C() }],
1150
+ "inset-bs": [{ "inset-bs": T() }],
1151
+ "inset-be": [{ "inset-be": T() }],
1152
+ top: [{ top: T() }],
1153
+ right: [{ right: T() }],
1154
+ bottom: [{ bottom: T() }],
1155
+ left: [{ left: T() }],
1142
1156
  visibility: [
1143
1157
  "visible",
1144
1158
  "invisible",
1145
1159
  "collapse"
1146
1160
  ],
1147
1161
  z: [{ z: [
1148
- K,
1162
+ J,
1149
1163
  "auto",
1150
- X,
1151
- J
1164
+ Z,
1165
+ X
1152
1166
  ] }],
1153
1167
  basis: [{ basis: [
1154
- W,
1168
+ K,
1155
1169
  "full",
1156
1170
  "auto",
1157
1171
  s,
1158
- ...S()
1172
+ ...w()
1159
1173
  ] }],
1160
1174
  "flex-direction": [{ flex: [
1161
1175
  "row",
@@ -1169,41 +1183,41 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1169
1183
  "wrap-reverse"
1170
1184
  ] }],
1171
1185
  flex: [{ flex: [
1172
- G,
1173
- W,
1186
+ q,
1187
+ K,
1174
1188
  "auto",
1175
1189
  "initial",
1176
1190
  "none",
1177
- J
1191
+ X
1178
1192
  ] }],
1179
1193
  grow: [{ grow: [
1180
1194
  "",
1181
- G,
1182
- X,
1183
- J
1195
+ q,
1196
+ Z,
1197
+ X
1184
1198
  ] }],
1185
1199
  shrink: [{ shrink: [
1186
1200
  "",
1187
- G,
1188
- X,
1189
- J
1201
+ q,
1202
+ Z,
1203
+ X
1190
1204
  ] }],
1191
1205
  order: [{ order: [
1192
- K,
1206
+ J,
1193
1207
  "first",
1194
1208
  "last",
1195
1209
  "none",
1196
- X,
1197
- J
1198
- ] }],
1199
- "grid-cols": [{ "grid-cols": ne() }],
1200
- "col-start-end": [{ col: w() }],
1201
- "col-start": [{ "col-start": T() }],
1202
- "col-end": [{ "col-end": T() }],
1203
- "grid-rows": [{ "grid-rows": ne() }],
1204
- "row-start-end": [{ row: w() }],
1205
- "row-start": [{ "row-start": T() }],
1206
- "row-end": [{ "row-end": T() }],
1210
+ Z,
1211
+ X
1212
+ ] }],
1213
+ "grid-cols": [{ "grid-cols": E() }],
1214
+ "col-start-end": [{ col: D() }],
1215
+ "col-start": [{ "col-start": O() }],
1216
+ "col-end": [{ "col-end": O() }],
1217
+ "grid-rows": [{ "grid-rows": E() }],
1218
+ "row-start-end": [{ row: D() }],
1219
+ "row-start": [{ "row-start": O() }],
1220
+ "row-end": [{ "row-end": O() }],
1207
1221
  "grid-flow": [{ "grid-flow": [
1208
1222
  "row",
1209
1223
  "col",
@@ -1211,67 +1225,67 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1211
1225
  "row-dense",
1212
1226
  "col-dense"
1213
1227
  ] }],
1214
- "auto-cols": [{ "auto-cols": re() }],
1215
- "auto-rows": [{ "auto-rows": re() }],
1216
- gap: [{ gap: S() }],
1217
- "gap-x": [{ "gap-x": S() }],
1218
- "gap-y": [{ "gap-y": S() }],
1219
- "justify-content": [{ justify: [...E(), "normal"] }],
1220
- "justify-items": [{ "justify-items": [...D(), "normal"] }],
1221
- "justify-self": [{ "justify-self": ["auto", ...D()] }],
1222
- "align-content": [{ content: ["normal", ...E()] }],
1223
- "align-items": [{ items: [...D(), { baseline: ["", "last"] }] }],
1228
+ "auto-cols": [{ "auto-cols": k() }],
1229
+ "auto-rows": [{ "auto-rows": k() }],
1230
+ gap: [{ gap: w() }],
1231
+ "gap-x": [{ "gap-x": w() }],
1232
+ "gap-y": [{ "gap-y": w() }],
1233
+ "justify-content": [{ justify: [...A(), "normal"] }],
1234
+ "justify-items": [{ "justify-items": [...j(), "normal"] }],
1235
+ "justify-self": [{ "justify-self": ["auto", ...j()] }],
1236
+ "align-content": [{ content: ["normal", ...A()] }],
1237
+ "align-items": [{ items: [...j(), { baseline: ["", "last"] }] }],
1224
1238
  "align-self": [{ self: [
1225
1239
  "auto",
1226
- ...D(),
1240
+ ...j(),
1227
1241
  { baseline: ["", "last"] }
1228
1242
  ] }],
1229
- "place-content": [{ "place-content": E() }],
1230
- "place-items": [{ "place-items": [...D(), "baseline"] }],
1231
- "place-self": [{ "place-self": ["auto", ...D()] }],
1232
- p: [{ p: S() }],
1233
- px: [{ px: S() }],
1234
- py: [{ py: S() }],
1235
- ps: [{ ps: S() }],
1236
- pe: [{ pe: S() }],
1237
- pbs: [{ pbs: S() }],
1238
- pbe: [{ pbe: S() }],
1239
- pt: [{ pt: S() }],
1240
- pr: [{ pr: S() }],
1241
- pb: [{ pb: S() }],
1242
- pl: [{ pl: S() }],
1243
- m: [{ m: O() }],
1244
- mx: [{ mx: O() }],
1245
- my: [{ my: O() }],
1246
- ms: [{ ms: O() }],
1247
- me: [{ me: O() }],
1248
- mbs: [{ mbs: O() }],
1249
- mbe: [{ mbe: O() }],
1250
- mt: [{ mt: O() }],
1251
- mr: [{ mr: O() }],
1252
- mb: [{ mb: O() }],
1253
- ml: [{ ml: O() }],
1254
- "space-x": [{ "space-x": S() }],
1243
+ "place-content": [{ "place-content": A() }],
1244
+ "place-items": [{ "place-items": [...j(), "baseline"] }],
1245
+ "place-self": [{ "place-self": ["auto", ...j()] }],
1246
+ p: [{ p: w() }],
1247
+ px: [{ px: w() }],
1248
+ py: [{ py: w() }],
1249
+ ps: [{ ps: w() }],
1250
+ pe: [{ pe: w() }],
1251
+ pbs: [{ pbs: w() }],
1252
+ pbe: [{ pbe: w() }],
1253
+ pt: [{ pt: w() }],
1254
+ pr: [{ pr: w() }],
1255
+ pb: [{ pb: w() }],
1256
+ pl: [{ pl: w() }],
1257
+ m: [{ m: M() }],
1258
+ mx: [{ mx: M() }],
1259
+ my: [{ my: M() }],
1260
+ ms: [{ ms: M() }],
1261
+ me: [{ me: M() }],
1262
+ mbs: [{ mbs: M() }],
1263
+ mbe: [{ mbe: M() }],
1264
+ mt: [{ mt: M() }],
1265
+ mr: [{ mr: M() }],
1266
+ mb: [{ mb: M() }],
1267
+ ml: [{ ml: M() }],
1268
+ "space-x": [{ "space-x": w() }],
1255
1269
  "space-x-reverse": ["space-x-reverse"],
1256
- "space-y": [{ "space-y": S() }],
1270
+ "space-y": [{ "space-y": w() }],
1257
1271
  "space-y-reverse": ["space-y-reverse"],
1258
- size: [{ size: k() }],
1259
- "inline-size": [{ inline: ["auto", ...A()] }],
1260
- "min-inline-size": [{ "min-inline": ["auto", ...A()] }],
1261
- "max-inline-size": [{ "max-inline": ["none", ...A()] }],
1262
- "block-size": [{ block: ["auto", ...j()] }],
1263
- "min-block-size": [{ "min-block": ["auto", ...j()] }],
1264
- "max-block-size": [{ "max-block": ["none", ...j()] }],
1272
+ size: [{ size: N() }],
1273
+ "inline-size": [{ inline: ["auto", ...P()] }],
1274
+ "min-inline-size": [{ "min-inline": ["auto", ...P()] }],
1275
+ "max-inline-size": [{ "max-inline": ["none", ...P()] }],
1276
+ "block-size": [{ block: ["auto", ...F()] }],
1277
+ "min-block-size": [{ "min-block": ["auto", ...F()] }],
1278
+ "max-block-size": [{ "max-block": ["none", ...F()] }],
1265
1279
  w: [{ w: [
1266
1280
  s,
1267
1281
  "screen",
1268
- ...k()
1282
+ ...N()
1269
1283
  ] }],
1270
1284
  "min-w": [{ "min-w": [
1271
1285
  s,
1272
1286
  "screen",
1273
1287
  "none",
1274
- ...k()
1288
+ ...N()
1275
1289
  ] }],
1276
1290
  "max-w": [{ "max-w": [
1277
1291
  s,
@@ -1279,36 +1293,36 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1279
1293
  "none",
1280
1294
  "prose",
1281
1295
  { screen: [o] },
1282
- ...k()
1296
+ ...N()
1283
1297
  ] }],
1284
1298
  h: [{ h: [
1285
1299
  "screen",
1286
1300
  "lh",
1287
- ...k()
1301
+ ...N()
1288
1302
  ] }],
1289
1303
  "min-h": [{ "min-h": [
1290
1304
  "screen",
1291
1305
  "lh",
1292
1306
  "none",
1293
- ...k()
1307
+ ...N()
1294
1308
  ] }],
1295
1309
  "max-h": [{ "max-h": [
1296
1310
  "screen",
1297
1311
  "lh",
1298
- ...k()
1312
+ ...N()
1299
1313
  ] }],
1300
1314
  "font-size": [{ text: [
1301
1315
  "base",
1302
1316
  n,
1303
- Z,
1304
- Y
1317
+ Lt,
1318
+ At
1305
1319
  ] }],
1306
1320
  "font-smoothing": ["antialiased", "subpixel-antialiased"],
1307
1321
  "font-style": ["italic", "not-italic"],
1308
1322
  "font-weight": [{ font: [
1309
1323
  r,
1310
- Lt,
1311
- Dt
1324
+ Ut,
1325
+ Mt
1312
1326
  ] }],
1313
1327
  "font-stretch": [{ "font-stretch": [
1314
1328
  "ultra-condensed",
@@ -1320,15 +1334,15 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1320
1334
  "expanded",
1321
1335
  "extra-expanded",
1322
1336
  "ultra-expanded",
1323
- _t,
1324
- J
1337
+ xt,
1338
+ X
1325
1339
  ] }],
1326
1340
  "font-family": [{ font: [
1327
- Mt,
1328
- Ot,
1341
+ Rt,
1342
+ Nt,
1329
1343
  t
1330
1344
  ] }],
1331
- "font-features": [{ "font-features": [J] }],
1345
+ "font-features": [{ "font-features": [X] }],
1332
1346
  "fvn-normal": ["normal-nums"],
1333
1347
  "fvn-ordinal": ["ordinal"],
1334
1348
  "fvn-slashed-zero": ["slashed-zero"],
@@ -1337,28 +1351,28 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1337
1351
  "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1338
1352
  tracking: [{ tracking: [
1339
1353
  i,
1340
- X,
1341
- J
1354
+ Z,
1355
+ X
1342
1356
  ] }],
1343
1357
  "line-clamp": [{ "line-clamp": [
1344
- G,
1358
+ q,
1345
1359
  "none",
1346
- X,
1347
- Et
1360
+ Z,
1361
+ jt
1348
1362
  ] }],
1349
- leading: [{ leading: [a, ...S()] }],
1363
+ leading: [{ leading: [a, ...w()] }],
1350
1364
  "list-image": [{ "list-image": [
1351
1365
  "none",
1352
- X,
1353
- J
1366
+ Z,
1367
+ X
1354
1368
  ] }],
1355
1369
  "list-style-position": [{ list: ["inside", "outside"] }],
1356
1370
  "list-style-type": [{ list: [
1357
1371
  "disc",
1358
1372
  "decimal",
1359
1373
  "none",
1360
- X,
1361
- J
1374
+ Z,
1375
+ X
1362
1376
  ] }],
1363
1377
  "text-alignment": [{ text: [
1364
1378
  "left",
@@ -1368,28 +1382,28 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1368
1382
  "start",
1369
1383
  "end"
1370
1384
  ] }],
1371
- "placeholder-color": [{ placeholder: M() }],
1372
- "text-color": [{ text: M() }],
1385
+ "placeholder-color": [{ placeholder: I() }],
1386
+ "text-color": [{ text: I() }],
1373
1387
  "text-decoration": [
1374
1388
  "underline",
1375
1389
  "overline",
1376
1390
  "line-through",
1377
1391
  "no-underline"
1378
1392
  ],
1379
- "text-decoration-style": [{ decoration: [...R(), "wavy"] }],
1393
+ "text-decoration-style": [{ decoration: [...H(), "wavy"] }],
1380
1394
  "text-decoration-thickness": [{ decoration: [
1381
- G,
1395
+ q,
1382
1396
  "from-font",
1383
1397
  "auto",
1384
- X,
1385
- Y
1398
+ Z,
1399
+ At
1386
1400
  ] }],
1387
- "text-decoration-color": [{ decoration: M() }],
1401
+ "text-decoration-color": [{ decoration: I() }],
1388
1402
  "underline-offset": [{ "underline-offset": [
1389
- G,
1403
+ q,
1390
1404
  "auto",
1391
- X,
1392
- J
1405
+ Z,
1406
+ X
1393
1407
  ] }],
1394
1408
  "text-transform": [
1395
1409
  "uppercase",
@@ -1408,11 +1422,11 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1408
1422
  "balance",
1409
1423
  "pretty"
1410
1424
  ] }],
1411
- indent: [{ indent: S() }],
1425
+ indent: [{ indent: w() }],
1412
1426
  "tab-size": [{ tab: [
1413
- K,
1414
- X,
1415
- J
1427
+ J,
1428
+ Z,
1429
+ X
1416
1430
  ] }],
1417
1431
  "vertical-align": [{ align: [
1418
1432
  "baseline",
@@ -1423,8 +1437,8 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1423
1437
  "text-bottom",
1424
1438
  "sub",
1425
1439
  "super",
1426
- X,
1427
- J
1440
+ Z,
1441
+ X
1428
1442
  ] }],
1429
1443
  whitespace: [{ whitespace: [
1430
1444
  "normal",
@@ -1452,8 +1466,8 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1452
1466
  ] }],
1453
1467
  content: [{ content: [
1454
1468
  "none",
1455
- X,
1456
- J
1469
+ Z,
1470
+ X
1457
1471
  ] }],
1458
1472
  "bg-attachment": [{ bg: [
1459
1473
  "fixed",
@@ -1471,9 +1485,9 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1471
1485
  "padding",
1472
1486
  "content"
1473
1487
  ] }],
1474
- "bg-position": [{ bg: N() }],
1475
- "bg-repeat": [{ bg: P() }],
1476
- "bg-size": [{ bg: F() }],
1488
+ "bg-position": [{ bg: ee() }],
1489
+ "bg-repeat": [{ bg: L() }],
1490
+ "bg-size": [{ bg: R() }],
1477
1491
  "bg-image": [{ bg: [
1478
1492
  "none",
1479
1493
  {
@@ -1488,140 +1502,140 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1488
1502
  "l",
1489
1503
  "tl"
1490
1504
  ] },
1491
- K,
1492
- X,
1493
- J
1505
+ J,
1506
+ Z,
1507
+ X
1494
1508
  ],
1495
1509
  radial: [
1496
1510
  "",
1497
- X,
1498
- J
1511
+ Z,
1512
+ X
1499
1513
  ],
1500
1514
  conic: [
1501
- K,
1502
- X,
1503
- J
1515
+ J,
1516
+ Z,
1517
+ X
1504
1518
  ]
1505
1519
  },
1506
- Ft,
1507
- At
1508
- ] }],
1509
- "bg-color": [{ bg: M() }],
1510
- "gradient-from-pos": [{ from: ie() }],
1511
- "gradient-via-pos": [{ via: ie() }],
1512
- "gradient-to-pos": [{ to: ie() }],
1513
- "gradient-from": [{ from: M() }],
1514
- "gradient-via": [{ via: M() }],
1515
- "gradient-to": [{ to: M() }],
1516
- rounded: [{ rounded: I() }],
1517
- "rounded-s": [{ "rounded-s": I() }],
1518
- "rounded-e": [{ "rounded-e": I() }],
1519
- "rounded-t": [{ "rounded-t": I() }],
1520
- "rounded-r": [{ "rounded-r": I() }],
1521
- "rounded-b": [{ "rounded-b": I() }],
1522
- "rounded-l": [{ "rounded-l": I() }],
1523
- "rounded-ss": [{ "rounded-ss": I() }],
1524
- "rounded-se": [{ "rounded-se": I() }],
1525
- "rounded-ee": [{ "rounded-ee": I() }],
1526
- "rounded-es": [{ "rounded-es": I() }],
1527
- "rounded-tl": [{ "rounded-tl": I() }],
1528
- "rounded-tr": [{ "rounded-tr": I() }],
1529
- "rounded-br": [{ "rounded-br": I() }],
1530
- "rounded-bl": [{ "rounded-bl": I() }],
1531
- "border-w": [{ border: L() }],
1532
- "border-w-x": [{ "border-x": L() }],
1533
- "border-w-y": [{ "border-y": L() }],
1534
- "border-w-s": [{ "border-s": L() }],
1535
- "border-w-e": [{ "border-e": L() }],
1536
- "border-w-bs": [{ "border-bs": L() }],
1537
- "border-w-be": [{ "border-be": L() }],
1538
- "border-w-t": [{ "border-t": L() }],
1539
- "border-w-r": [{ "border-r": L() }],
1540
- "border-w-b": [{ "border-b": L() }],
1541
- "border-w-l": [{ "border-l": L() }],
1542
- "divide-x": [{ "divide-x": L() }],
1520
+ Vt,
1521
+ Ft
1522
+ ] }],
1523
+ "bg-color": [{ bg: I() }],
1524
+ "gradient-from-pos": [{ from: z() }],
1525
+ "gradient-via-pos": [{ via: z() }],
1526
+ "gradient-to-pos": [{ to: z() }],
1527
+ "gradient-from": [{ from: I() }],
1528
+ "gradient-via": [{ via: I() }],
1529
+ "gradient-to": [{ to: I() }],
1530
+ rounded: [{ rounded: B() }],
1531
+ "rounded-s": [{ "rounded-s": B() }],
1532
+ "rounded-e": [{ "rounded-e": B() }],
1533
+ "rounded-t": [{ "rounded-t": B() }],
1534
+ "rounded-r": [{ "rounded-r": B() }],
1535
+ "rounded-b": [{ "rounded-b": B() }],
1536
+ "rounded-l": [{ "rounded-l": B() }],
1537
+ "rounded-ss": [{ "rounded-ss": B() }],
1538
+ "rounded-se": [{ "rounded-se": B() }],
1539
+ "rounded-ee": [{ "rounded-ee": B() }],
1540
+ "rounded-es": [{ "rounded-es": B() }],
1541
+ "rounded-tl": [{ "rounded-tl": B() }],
1542
+ "rounded-tr": [{ "rounded-tr": B() }],
1543
+ "rounded-br": [{ "rounded-br": B() }],
1544
+ "rounded-bl": [{ "rounded-bl": B() }],
1545
+ "border-w": [{ border: V() }],
1546
+ "border-w-x": [{ "border-x": V() }],
1547
+ "border-w-y": [{ "border-y": V() }],
1548
+ "border-w-s": [{ "border-s": V() }],
1549
+ "border-w-e": [{ "border-e": V() }],
1550
+ "border-w-bs": [{ "border-bs": V() }],
1551
+ "border-w-be": [{ "border-be": V() }],
1552
+ "border-w-t": [{ "border-t": V() }],
1553
+ "border-w-r": [{ "border-r": V() }],
1554
+ "border-w-b": [{ "border-b": V() }],
1555
+ "border-w-l": [{ "border-l": V() }],
1556
+ "divide-x": [{ "divide-x": V() }],
1543
1557
  "divide-x-reverse": ["divide-x-reverse"],
1544
- "divide-y": [{ "divide-y": L() }],
1558
+ "divide-y": [{ "divide-y": V() }],
1545
1559
  "divide-y-reverse": ["divide-y-reverse"],
1546
1560
  "border-style": [{ border: [
1547
- ...R(),
1561
+ ...H(),
1548
1562
  "hidden",
1549
1563
  "none"
1550
1564
  ] }],
1551
1565
  "divide-style": [{ divide: [
1552
- ...R(),
1566
+ ...H(),
1553
1567
  "hidden",
1554
1568
  "none"
1555
1569
  ] }],
1556
- "border-color": [{ border: M() }],
1557
- "border-color-x": [{ "border-x": M() }],
1558
- "border-color-y": [{ "border-y": M() }],
1559
- "border-color-s": [{ "border-s": M() }],
1560
- "border-color-e": [{ "border-e": M() }],
1561
- "border-color-bs": [{ "border-bs": M() }],
1562
- "border-color-be": [{ "border-be": M() }],
1563
- "border-color-t": [{ "border-t": M() }],
1564
- "border-color-r": [{ "border-r": M() }],
1565
- "border-color-b": [{ "border-b": M() }],
1566
- "border-color-l": [{ "border-l": M() }],
1567
- "divide-color": [{ divide: M() }],
1570
+ "border-color": [{ border: I() }],
1571
+ "border-color-x": [{ "border-x": I() }],
1572
+ "border-color-y": [{ "border-y": I() }],
1573
+ "border-color-s": [{ "border-s": I() }],
1574
+ "border-color-e": [{ "border-e": I() }],
1575
+ "border-color-bs": [{ "border-bs": I() }],
1576
+ "border-color-be": [{ "border-be": I() }],
1577
+ "border-color-t": [{ "border-t": I() }],
1578
+ "border-color-r": [{ "border-r": I() }],
1579
+ "border-color-b": [{ "border-b": I() }],
1580
+ "border-color-l": [{ "border-l": I() }],
1581
+ "divide-color": [{ divide: I() }],
1568
1582
  "outline-style": [{ outline: [
1569
- ...R(),
1583
+ ...H(),
1570
1584
  "none",
1571
1585
  "hidden"
1572
1586
  ] }],
1573
1587
  "outline-offset": [{ "outline-offset": [
1574
- G,
1575
- X,
1576
- J
1588
+ q,
1589
+ Z,
1590
+ X
1577
1591
  ] }],
1578
1592
  "outline-w": [{ outline: [
1579
1593
  "",
1580
- G,
1581
- Z,
1582
- Y
1594
+ q,
1595
+ Lt,
1596
+ At
1583
1597
  ] }],
1584
- "outline-color": [{ outline: M() }],
1598
+ "outline-color": [{ outline: I() }],
1585
1599
  shadow: [{ shadow: [
1586
1600
  "",
1587
1601
  "none",
1588
1602
  u,
1589
- It,
1590
- jt
1603
+ Ht,
1604
+ It
1591
1605
  ] }],
1592
- "shadow-color": [{ shadow: M() }],
1606
+ "shadow-color": [{ shadow: I() }],
1593
1607
  "inset-shadow": [{ "inset-shadow": [
1594
1608
  "none",
1595
1609
  d,
1596
- It,
1597
- jt
1610
+ Ht,
1611
+ It
1598
1612
  ] }],
1599
- "inset-shadow-color": [{ "inset-shadow": M() }],
1600
- "ring-w": [{ ring: L() }],
1613
+ "inset-shadow-color": [{ "inset-shadow": I() }],
1614
+ "ring-w": [{ ring: V() }],
1601
1615
  "ring-w-inset": ["ring-inset"],
1602
- "ring-color": [{ ring: M() }],
1603
- "ring-offset-w": [{ "ring-offset": [G, Y] }],
1604
- "ring-offset-color": [{ "ring-offset": M() }],
1605
- "inset-ring-w": [{ "inset-ring": L() }],
1606
- "inset-ring-color": [{ "inset-ring": M() }],
1616
+ "ring-color": [{ ring: I() }],
1617
+ "ring-offset-w": [{ "ring-offset": [q, At] }],
1618
+ "ring-offset-color": [{ "ring-offset": I() }],
1619
+ "inset-ring-w": [{ "inset-ring": V() }],
1620
+ "inset-ring-color": [{ "inset-ring": I() }],
1607
1621
  "text-shadow": [{ "text-shadow": [
1608
1622
  "none",
1609
1623
  f,
1610
- It,
1611
- jt
1624
+ Ht,
1625
+ It
1612
1626
  ] }],
1613
- "text-shadow-color": [{ "text-shadow": M() }],
1627
+ "text-shadow-color": [{ "text-shadow": I() }],
1614
1628
  opacity: [{ opacity: [
1615
- G,
1616
- X,
1617
- J
1629
+ q,
1630
+ Z,
1631
+ X
1618
1632
  ] }],
1619
1633
  "mix-blend": [{ "mix-blend": [
1620
- ...ae(),
1634
+ ...te(),
1621
1635
  "plus-darker",
1622
1636
  "plus-lighter"
1623
1637
  ] }],
1624
- "bg-blend": [{ "bg-blend": ae() }],
1638
+ "bg-blend": [{ "bg-blend": te() }],
1625
1639
  "mask-clip": [{ "mask-clip": [
1626
1640
  "border",
1627
1641
  "padding",
@@ -1636,51 +1650,51 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1636
1650
  "intersect",
1637
1651
  "exclude"
1638
1652
  ] }],
1639
- "mask-image-linear-pos": [{ "mask-linear": [G] }],
1640
- "mask-image-linear-from-pos": [{ "mask-linear-from": z() }],
1641
- "mask-image-linear-to-pos": [{ "mask-linear-to": z() }],
1642
- "mask-image-linear-from-color": [{ "mask-linear-from": M() }],
1643
- "mask-image-linear-to-color": [{ "mask-linear-to": M() }],
1644
- "mask-image-t-from-pos": [{ "mask-t-from": z() }],
1645
- "mask-image-t-to-pos": [{ "mask-t-to": z() }],
1646
- "mask-image-t-from-color": [{ "mask-t-from": M() }],
1647
- "mask-image-t-to-color": [{ "mask-t-to": M() }],
1648
- "mask-image-r-from-pos": [{ "mask-r-from": z() }],
1649
- "mask-image-r-to-pos": [{ "mask-r-to": z() }],
1650
- "mask-image-r-from-color": [{ "mask-r-from": M() }],
1651
- "mask-image-r-to-color": [{ "mask-r-to": M() }],
1652
- "mask-image-b-from-pos": [{ "mask-b-from": z() }],
1653
- "mask-image-b-to-pos": [{ "mask-b-to": z() }],
1654
- "mask-image-b-from-color": [{ "mask-b-from": M() }],
1655
- "mask-image-b-to-color": [{ "mask-b-to": M() }],
1656
- "mask-image-l-from-pos": [{ "mask-l-from": z() }],
1657
- "mask-image-l-to-pos": [{ "mask-l-to": z() }],
1658
- "mask-image-l-from-color": [{ "mask-l-from": M() }],
1659
- "mask-image-l-to-color": [{ "mask-l-to": M() }],
1660
- "mask-image-x-from-pos": [{ "mask-x-from": z() }],
1661
- "mask-image-x-to-pos": [{ "mask-x-to": z() }],
1662
- "mask-image-x-from-color": [{ "mask-x-from": M() }],
1663
- "mask-image-x-to-color": [{ "mask-x-to": M() }],
1664
- "mask-image-y-from-pos": [{ "mask-y-from": z() }],
1665
- "mask-image-y-to-pos": [{ "mask-y-to": z() }],
1666
- "mask-image-y-from-color": [{ "mask-y-from": M() }],
1667
- "mask-image-y-to-color": [{ "mask-y-to": M() }],
1668
- "mask-image-radial": [{ "mask-radial": [X, J] }],
1669
- "mask-image-radial-from-pos": [{ "mask-radial-from": z() }],
1670
- "mask-image-radial-to-pos": [{ "mask-radial-to": z() }],
1671
- "mask-image-radial-from-color": [{ "mask-radial-from": M() }],
1672
- "mask-image-radial-to-color": [{ "mask-radial-to": M() }],
1653
+ "mask-image-linear-pos": [{ "mask-linear": [q] }],
1654
+ "mask-image-linear-from-pos": [{ "mask-linear-from": U() }],
1655
+ "mask-image-linear-to-pos": [{ "mask-linear-to": U() }],
1656
+ "mask-image-linear-from-color": [{ "mask-linear-from": I() }],
1657
+ "mask-image-linear-to-color": [{ "mask-linear-to": I() }],
1658
+ "mask-image-t-from-pos": [{ "mask-t-from": U() }],
1659
+ "mask-image-t-to-pos": [{ "mask-t-to": U() }],
1660
+ "mask-image-t-from-color": [{ "mask-t-from": I() }],
1661
+ "mask-image-t-to-color": [{ "mask-t-to": I() }],
1662
+ "mask-image-r-from-pos": [{ "mask-r-from": U() }],
1663
+ "mask-image-r-to-pos": [{ "mask-r-to": U() }],
1664
+ "mask-image-r-from-color": [{ "mask-r-from": I() }],
1665
+ "mask-image-r-to-color": [{ "mask-r-to": I() }],
1666
+ "mask-image-b-from-pos": [{ "mask-b-from": U() }],
1667
+ "mask-image-b-to-pos": [{ "mask-b-to": U() }],
1668
+ "mask-image-b-from-color": [{ "mask-b-from": I() }],
1669
+ "mask-image-b-to-color": [{ "mask-b-to": I() }],
1670
+ "mask-image-l-from-pos": [{ "mask-l-from": U() }],
1671
+ "mask-image-l-to-pos": [{ "mask-l-to": U() }],
1672
+ "mask-image-l-from-color": [{ "mask-l-from": I() }],
1673
+ "mask-image-l-to-color": [{ "mask-l-to": I() }],
1674
+ "mask-image-x-from-pos": [{ "mask-x-from": U() }],
1675
+ "mask-image-x-to-pos": [{ "mask-x-to": U() }],
1676
+ "mask-image-x-from-color": [{ "mask-x-from": I() }],
1677
+ "mask-image-x-to-color": [{ "mask-x-to": I() }],
1678
+ "mask-image-y-from-pos": [{ "mask-y-from": U() }],
1679
+ "mask-image-y-to-pos": [{ "mask-y-to": U() }],
1680
+ "mask-image-y-from-color": [{ "mask-y-from": I() }],
1681
+ "mask-image-y-to-color": [{ "mask-y-to": I() }],
1682
+ "mask-image-radial": [{ "mask-radial": [Z, X] }],
1683
+ "mask-image-radial-from-pos": [{ "mask-radial-from": U() }],
1684
+ "mask-image-radial-to-pos": [{ "mask-radial-to": U() }],
1685
+ "mask-image-radial-from-color": [{ "mask-radial-from": I() }],
1686
+ "mask-image-radial-to-color": [{ "mask-radial-to": I() }],
1673
1687
  "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
1674
1688
  "mask-image-radial-size": [{ "mask-radial": [{
1675
1689
  closest: ["side", "corner"],
1676
1690
  farthest: ["side", "corner"]
1677
1691
  }] }],
1678
- "mask-image-radial-pos": [{ "mask-radial-at": y() }],
1679
- "mask-image-conic-pos": [{ "mask-conic": [G] }],
1680
- "mask-image-conic-from-pos": [{ "mask-conic-from": z() }],
1681
- "mask-image-conic-to-pos": [{ "mask-conic-to": z() }],
1682
- "mask-image-conic-from-color": [{ "mask-conic-from": M() }],
1683
- "mask-image-conic-to-color": [{ "mask-conic-to": M() }],
1692
+ "mask-image-radial-pos": [{ "mask-radial-at": b() }],
1693
+ "mask-image-conic-pos": [{ "mask-conic": [q] }],
1694
+ "mask-image-conic-from-pos": [{ "mask-conic-from": U() }],
1695
+ "mask-image-conic-to-pos": [{ "mask-conic-to": U() }],
1696
+ "mask-image-conic-from-color": [{ "mask-conic-from": I() }],
1697
+ "mask-image-conic-to-color": [{ "mask-conic-to": I() }],
1684
1698
  "mask-mode": [{ mask: [
1685
1699
  "alpha",
1686
1700
  "luminance",
@@ -1694,122 +1708,122 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1694
1708
  "stroke",
1695
1709
  "view"
1696
1710
  ] }],
1697
- "mask-position": [{ mask: N() }],
1698
- "mask-repeat": [{ mask: P() }],
1699
- "mask-size": [{ mask: F() }],
1711
+ "mask-position": [{ mask: ee() }],
1712
+ "mask-repeat": [{ mask: L() }],
1713
+ "mask-size": [{ mask: R() }],
1700
1714
  "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
1701
1715
  "mask-image": [{ mask: [
1702
1716
  "none",
1703
- X,
1704
- J
1717
+ Z,
1718
+ X
1705
1719
  ] }],
1706
1720
  filter: [{ filter: [
1707
1721
  "",
1708
1722
  "none",
1709
- X,
1710
- J
1723
+ Z,
1724
+ X
1711
1725
  ] }],
1712
- blur: [{ blur: oe() }],
1726
+ blur: [{ blur: ne() }],
1713
1727
  brightness: [{ brightness: [
1714
- G,
1715
- X,
1716
- J
1728
+ q,
1729
+ Z,
1730
+ X
1717
1731
  ] }],
1718
1732
  contrast: [{ contrast: [
1719
- G,
1720
- X,
1721
- J
1733
+ q,
1734
+ Z,
1735
+ X
1722
1736
  ] }],
1723
1737
  "drop-shadow": [{ "drop-shadow": [
1724
1738
  "",
1725
1739
  "none",
1726
1740
  p,
1727
- It,
1728
- jt
1741
+ Ht,
1742
+ It
1729
1743
  ] }],
1730
- "drop-shadow-color": [{ "drop-shadow": M() }],
1744
+ "drop-shadow-color": [{ "drop-shadow": I() }],
1731
1745
  grayscale: [{ grayscale: [
1732
1746
  "",
1733
- G,
1734
- X,
1735
- J
1747
+ q,
1748
+ Z,
1749
+ X
1736
1750
  ] }],
1737
1751
  "hue-rotate": [{ "hue-rotate": [
1738
- G,
1739
- X,
1740
- J
1752
+ q,
1753
+ Z,
1754
+ X
1741
1755
  ] }],
1742
1756
  invert: [{ invert: [
1743
1757
  "",
1744
- G,
1745
- X,
1746
- J
1758
+ q,
1759
+ Z,
1760
+ X
1747
1761
  ] }],
1748
1762
  saturate: [{ saturate: [
1749
- G,
1750
- X,
1751
- J
1763
+ q,
1764
+ Z,
1765
+ X
1752
1766
  ] }],
1753
1767
  sepia: [{ sepia: [
1754
1768
  "",
1755
- G,
1756
- X,
1757
- J
1769
+ q,
1770
+ Z,
1771
+ X
1758
1772
  ] }],
1759
1773
  "backdrop-filter": [{ "backdrop-filter": [
1760
1774
  "",
1761
1775
  "none",
1762
- X,
1763
- J
1776
+ Z,
1777
+ X
1764
1778
  ] }],
1765
- "backdrop-blur": [{ "backdrop-blur": oe() }],
1779
+ "backdrop-blur": [{ "backdrop-blur": ne() }],
1766
1780
  "backdrop-brightness": [{ "backdrop-brightness": [
1767
- G,
1768
- X,
1769
- J
1781
+ q,
1782
+ Z,
1783
+ X
1770
1784
  ] }],
1771
1785
  "backdrop-contrast": [{ "backdrop-contrast": [
1772
- G,
1773
- X,
1774
- J
1786
+ q,
1787
+ Z,
1788
+ X
1775
1789
  ] }],
1776
1790
  "backdrop-grayscale": [{ "backdrop-grayscale": [
1777
1791
  "",
1778
- G,
1779
- X,
1780
- J
1792
+ q,
1793
+ Z,
1794
+ X
1781
1795
  ] }],
1782
1796
  "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
1783
- G,
1784
- X,
1785
- J
1797
+ q,
1798
+ Z,
1799
+ X
1786
1800
  ] }],
1787
1801
  "backdrop-invert": [{ "backdrop-invert": [
1788
1802
  "",
1789
- G,
1790
- X,
1791
- J
1803
+ q,
1804
+ Z,
1805
+ X
1792
1806
  ] }],
1793
1807
  "backdrop-opacity": [{ "backdrop-opacity": [
1794
- G,
1795
- X,
1796
- J
1808
+ q,
1809
+ Z,
1810
+ X
1797
1811
  ] }],
1798
1812
  "backdrop-saturate": [{ "backdrop-saturate": [
1799
- G,
1800
- X,
1801
- J
1813
+ q,
1814
+ Z,
1815
+ X
1802
1816
  ] }],
1803
1817
  "backdrop-sepia": [{ "backdrop-sepia": [
1804
1818
  "",
1805
- G,
1806
- X,
1807
- J
1819
+ q,
1820
+ Z,
1821
+ X
1808
1822
  ] }],
1809
1823
  "border-collapse": [{ border: ["collapse", "separate"] }],
1810
- "border-spacing": [{ "border-spacing": S() }],
1811
- "border-spacing-x": [{ "border-spacing-x": S() }],
1812
- "border-spacing-y": [{ "border-spacing-y": S() }],
1824
+ "border-spacing": [{ "border-spacing": w() }],
1825
+ "border-spacing-x": [{ "border-spacing-x": w() }],
1826
+ "border-spacing-y": [{ "border-spacing-y": w() }],
1813
1827
  "table-layout": [{ table: ["auto", "fixed"] }],
1814
1828
  caption: [{ caption: ["top", "bottom"] }],
1815
1829
  transition: [{ transition: [
@@ -1820,76 +1834,76 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1820
1834
  "shadow",
1821
1835
  "transform",
1822
1836
  "none",
1823
- X,
1824
- J
1837
+ Z,
1838
+ X
1825
1839
  ] }],
1826
1840
  "transition-behavior": [{ transition: ["normal", "discrete"] }],
1827
1841
  duration: [{ duration: [
1828
- G,
1842
+ q,
1829
1843
  "initial",
1830
- X,
1831
- J
1844
+ Z,
1845
+ X
1832
1846
  ] }],
1833
1847
  ease: [{ ease: [
1834
1848
  "linear",
1835
1849
  "initial",
1836
- ee,
1837
- X,
1838
- J
1850
+ _,
1851
+ Z,
1852
+ X
1839
1853
  ] }],
1840
1854
  delay: [{ delay: [
1841
- G,
1842
- X,
1843
- J
1855
+ q,
1856
+ Z,
1857
+ X
1844
1858
  ] }],
1845
1859
  animate: [{ animate: [
1846
1860
  "none",
1847
- _,
1848
- X,
1849
- J
1861
+ v,
1862
+ Z,
1863
+ X
1850
1864
  ] }],
1851
1865
  backface: [{ backface: ["hidden", "visible"] }],
1852
1866
  perspective: [{ perspective: [
1853
1867
  h,
1854
- X,
1855
- J
1856
- ] }],
1857
- "perspective-origin": [{ "perspective-origin": te() }],
1858
- rotate: [{ rotate: se() }],
1859
- "rotate-x": [{ "rotate-x": se() }],
1860
- "rotate-y": [{ "rotate-y": se() }],
1861
- "rotate-z": [{ "rotate-z": se() }],
1862
- scale: [{ scale: B() }],
1863
- "scale-x": [{ "scale-x": B() }],
1864
- "scale-y": [{ "scale-y": B() }],
1865
- "scale-z": [{ "scale-z": B() }],
1868
+ Z,
1869
+ X
1870
+ ] }],
1871
+ "perspective-origin": [{ "perspective-origin": x() }],
1872
+ rotate: [{ rotate: W() }],
1873
+ "rotate-x": [{ "rotate-x": W() }],
1874
+ "rotate-y": [{ "rotate-y": W() }],
1875
+ "rotate-z": [{ "rotate-z": W() }],
1876
+ scale: [{ scale: re() }],
1877
+ "scale-x": [{ "scale-x": re() }],
1878
+ "scale-y": [{ "scale-y": re() }],
1879
+ "scale-z": [{ "scale-z": re() }],
1866
1880
  "scale-3d": ["scale-3d"],
1867
- skew: [{ skew: ce() }],
1868
- "skew-x": [{ "skew-x": ce() }],
1869
- "skew-y": [{ "skew-y": ce() }],
1881
+ skew: [{ skew: ie() }],
1882
+ "skew-x": [{ "skew-x": ie() }],
1883
+ "skew-y": [{ "skew-y": ie() }],
1870
1884
  transform: [{ transform: [
1885
+ Z,
1871
1886
  X,
1872
- J,
1873
1887
  "",
1874
1888
  "none",
1875
1889
  "gpu",
1876
1890
  "cpu"
1877
1891
  ] }],
1878
- "transform-origin": [{ origin: te() }],
1892
+ "transform-origin": [{ origin: x() }],
1879
1893
  "transform-style": [{ transform: ["3d", "flat"] }],
1880
- translate: [{ translate: V() }],
1881
- "translate-x": [{ "translate-x": V() }],
1882
- "translate-y": [{ "translate-y": V() }],
1883
- "translate-z": [{ "translate-z": V() }],
1894
+ translate: [{ translate: ae() }],
1895
+ "translate-x": [{ "translate-x": ae() }],
1896
+ "translate-y": [{ "translate-y": ae() }],
1897
+ "translate-z": [{ "translate-z": ae() }],
1884
1898
  "translate-none": ["translate-none"],
1885
1899
  zoom: [{ zoom: [
1886
- K,
1887
- X,
1888
- J
1900
+ J,
1901
+ Z,
1902
+ X
1889
1903
  ] }],
1890
- accent: [{ accent: M() }],
1904
+ accent: [{ accent: I() }],
1891
1905
  appearance: [{ appearance: ["none", "auto"] }],
1892
- "caret-color": [{ caret: M() }],
1906
+ "caret-color": [{ caret: I() }],
1893
1907
  "color-scheme": [{ scheme: [
1894
1908
  "normal",
1895
1909
  "dark",
@@ -1935,8 +1949,8 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1935
1949
  "nwse-resize",
1936
1950
  "zoom-in",
1937
1951
  "zoom-out",
1938
- X,
1939
- J
1952
+ Z,
1953
+ X
1940
1954
  ] }],
1941
1955
  "field-sizing": [{ "field-sizing": ["fixed", "content"] }],
1942
1956
  "pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -1947,8 +1961,8 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1947
1961
  "x"
1948
1962
  ] }],
1949
1963
  "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
1950
- "scrollbar-thumb-color": [{ "scrollbar-thumb": M() }],
1951
- "scrollbar-track-color": [{ "scrollbar-track": M() }],
1964
+ "scrollbar-thumb-color": [{ "scrollbar-thumb": I() }],
1965
+ "scrollbar-track-color": [{ "scrollbar-track": I() }],
1952
1966
  "scrollbar-gutter": [{ "scrollbar-gutter": [
1953
1967
  "auto",
1954
1968
  "stable",
@@ -1959,28 +1973,28 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
1959
1973
  "thin",
1960
1974
  "none"
1961
1975
  ] }],
1962
- "scroll-m": [{ "scroll-m": S() }],
1963
- "scroll-mx": [{ "scroll-mx": S() }],
1964
- "scroll-my": [{ "scroll-my": S() }],
1965
- "scroll-ms": [{ "scroll-ms": S() }],
1966
- "scroll-me": [{ "scroll-me": S() }],
1967
- "scroll-mbs": [{ "scroll-mbs": S() }],
1968
- "scroll-mbe": [{ "scroll-mbe": S() }],
1969
- "scroll-mt": [{ "scroll-mt": S() }],
1970
- "scroll-mr": [{ "scroll-mr": S() }],
1971
- "scroll-mb": [{ "scroll-mb": S() }],
1972
- "scroll-ml": [{ "scroll-ml": S() }],
1973
- "scroll-p": [{ "scroll-p": S() }],
1974
- "scroll-px": [{ "scroll-px": S() }],
1975
- "scroll-py": [{ "scroll-py": S() }],
1976
- "scroll-ps": [{ "scroll-ps": S() }],
1977
- "scroll-pe": [{ "scroll-pe": S() }],
1978
- "scroll-pbs": [{ "scroll-pbs": S() }],
1979
- "scroll-pbe": [{ "scroll-pbe": S() }],
1980
- "scroll-pt": [{ "scroll-pt": S() }],
1981
- "scroll-pr": [{ "scroll-pr": S() }],
1982
- "scroll-pb": [{ "scroll-pb": S() }],
1983
- "scroll-pl": [{ "scroll-pl": S() }],
1976
+ "scroll-m": [{ "scroll-m": w() }],
1977
+ "scroll-mx": [{ "scroll-mx": w() }],
1978
+ "scroll-my": [{ "scroll-my": w() }],
1979
+ "scroll-ms": [{ "scroll-ms": w() }],
1980
+ "scroll-me": [{ "scroll-me": w() }],
1981
+ "scroll-mbs": [{ "scroll-mbs": w() }],
1982
+ "scroll-mbe": [{ "scroll-mbe": w() }],
1983
+ "scroll-mt": [{ "scroll-mt": w() }],
1984
+ "scroll-mr": [{ "scroll-mr": w() }],
1985
+ "scroll-mb": [{ "scroll-mb": w() }],
1986
+ "scroll-ml": [{ "scroll-ml": w() }],
1987
+ "scroll-p": [{ "scroll-p": w() }],
1988
+ "scroll-px": [{ "scroll-px": w() }],
1989
+ "scroll-py": [{ "scroll-py": w() }],
1990
+ "scroll-ps": [{ "scroll-ps": w() }],
1991
+ "scroll-pe": [{ "scroll-pe": w() }],
1992
+ "scroll-pbs": [{ "scroll-pbs": w() }],
1993
+ "scroll-pbe": [{ "scroll-pbe": w() }],
1994
+ "scroll-pt": [{ "scroll-pt": w() }],
1995
+ "scroll-pr": [{ "scroll-pr": w() }],
1996
+ "scroll-pb": [{ "scroll-pb": w() }],
1997
+ "scroll-pl": [{ "scroll-pl": w() }],
1984
1998
  "snap-align": [{ snap: [
1985
1999
  "start",
1986
2000
  "end",
@@ -2022,17 +2036,17 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
2022
2036
  "scroll",
2023
2037
  "contents",
2024
2038
  "transform",
2025
- X,
2026
- J
2039
+ Z,
2040
+ X
2027
2041
  ] }],
2028
- fill: [{ fill: ["none", ...M()] }],
2042
+ fill: [{ fill: ["none", ...I()] }],
2029
2043
  "stroke-w": [{ stroke: [
2030
- G,
2031
- Z,
2032
- Y,
2033
- Et
2044
+ q,
2045
+ Lt,
2046
+ At,
2047
+ jt
2034
2048
  ] }],
2035
- stroke: [{ stroke: ["none", ...M()] }],
2049
+ stroke: [{ stroke: ["none", ...I()] }],
2036
2050
  "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
2037
2051
  },
2038
2052
  conflictingClassGroups: {
@@ -2221,12 +2235,12 @@ var De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ee, ke
2221
2235
  });
2222
2236
  //#endregion
2223
2237
  //#region src/lib/utils.ts
2224
- function qt(...e) {
2225
- return Kt(Ee(e));
2238
+ function en(...e) {
2239
+ return $t(Ae(e));
2226
2240
  }
2227
2241
  //#endregion
2228
2242
  //#region node_modules/react/cjs/react-jsx-runtime.production.js
2229
- var Jt = /* @__PURE__ */ n(((e) => {
2243
+ var tn = /* @__PURE__ */ r(((e) => {
2230
2244
  var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
2231
2245
  function r(e, n, r) {
2232
2246
  var i = null;
@@ -2241,29 +2255,29 @@ var Jt = /* @__PURE__ */ n(((e) => {
2241
2255
  };
2242
2256
  }
2243
2257
  e.Fragment = n, e.jsx = r, e.jsxs = r;
2244
- })), Yt = /* @__PURE__ */ n(((e) => {
2258
+ })), nn = /* @__PURE__ */ r(((e) => {
2245
2259
  process.env.NODE_ENV !== "production" && (function() {
2246
2260
  function t(e) {
2247
2261
  if (e == null) return null;
2248
- if (typeof e == "function") return e.$$typeof === re ? null : e.displayName || e.name || null;
2262
+ if (typeof e == "function") return e.$$typeof === k ? null : e.displayName || e.name || null;
2249
2263
  if (typeof e == "string") return e;
2250
2264
  switch (e) {
2251
- case _: return "Fragment";
2252
- case y: return "Profiler";
2253
- case v: return "StrictMode";
2254
- case S: return "Suspense";
2255
- case C: return "SuspenseList";
2256
- case T: return "Activity";
2265
+ case v: return "Fragment";
2266
+ case b: return "Profiler";
2267
+ case y: return "StrictMode";
2268
+ case w: return "Suspense";
2269
+ case T: return "SuspenseList";
2270
+ case O: return "Activity";
2257
2271
  }
2258
2272
  if (typeof e == "object") switch (typeof e.tag == "number" && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), e.$$typeof) {
2259
- case ee: return "Portal";
2260
- case b: return e.displayName || "Context";
2261
- case te: return (e._context.displayName || "Context") + ".Consumer";
2262
- case x:
2273
+ case _: return "Portal";
2274
+ case S: return e.displayName || "Context";
2275
+ case x: return (e._context.displayName || "Context") + ".Consumer";
2276
+ case C:
2263
2277
  var n = e.render;
2264
2278
  return e = e.displayName, e ||= (e = n.displayName || n.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;
2265
- case ne: return n = e.displayName || null, n === null ? t(e.type) || "Memo" : n;
2266
- case w:
2279
+ case E: return n = e.displayName || null, n === null ? t(e.type) || "Memo" : n;
2280
+ case D:
2267
2281
  n = e._payload, e = e._init;
2268
2282
  try {
2269
2283
  return t(e(n));
@@ -2274,7 +2288,7 @@ var Jt = /* @__PURE__ */ n(((e) => {
2274
2288
  function n(e) {
2275
2289
  return "" + e;
2276
2290
  }
2277
- function i(e) {
2291
+ function r(e) {
2278
2292
  try {
2279
2293
  n(e);
2280
2294
  var t = !1;
@@ -2288,8 +2302,8 @@ var Jt = /* @__PURE__ */ n(((e) => {
2288
2302
  }
2289
2303
  }
2290
2304
  function a(e) {
2291
- if (e === _) return "<>";
2292
- if (typeof e == "object" && e && e.$$typeof === w) return "<...>";
2305
+ if (e === v) return "<>";
2306
+ if (typeof e == "object" && e && e.$$typeof === D) return "<...>";
2293
2307
  try {
2294
2308
  var n = t(e);
2295
2309
  return n ? "<" + n + ">" : "<...>";
@@ -2298,14 +2312,14 @@ var Jt = /* @__PURE__ */ n(((e) => {
2298
2312
  }
2299
2313
  }
2300
2314
  function o() {
2301
- var e = E.A;
2315
+ var e = A.A;
2302
2316
  return e === null ? null : e.getOwner();
2303
2317
  }
2304
2318
  function s() {
2305
2319
  return Error("react-stack-top-frame");
2306
2320
  }
2307
2321
  function c(e) {
2308
- if (D.call(e, "key")) {
2322
+ if (j.call(e, "key")) {
2309
2323
  var t = Object.getOwnPropertyDescriptor(e, "key").get;
2310
2324
  if (t && t.isReactWarning) return !1;
2311
2325
  }
@@ -2313,7 +2327,7 @@ var Jt = /* @__PURE__ */ n(((e) => {
2313
2327
  }
2314
2328
  function l(e, t) {
2315
2329
  function n() {
2316
- A || (A = !0, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", t));
2330
+ P || (P = !0, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", t));
2317
2331
  }
2318
2332
  n.isReactWarning = !0, Object.defineProperty(e, "key", {
2319
2333
  get: n,
@@ -2322,7 +2336,7 @@ var Jt = /* @__PURE__ */ n(((e) => {
2322
2336
  }
2323
2337
  function u() {
2324
2338
  var e = t(this.type);
2325
- return j[e] || (j[e] = !0, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")), e = this.props.ref, e === void 0 ? null : e;
2339
+ return F[e] || (F[e] = !0, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")), e = this.props.ref, e === void 0 ? null : e;
2326
2340
  }
2327
2341
  function d(e, t, n, r, i, a) {
2328
2342
  var o = n.ref;
@@ -2360,51 +2374,51 @@ var Jt = /* @__PURE__ */ n(((e) => {
2360
2374
  value: a
2361
2375
  }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
2362
2376
  }
2363
- function f(e, n, r, a, s, u) {
2377
+ function f(e, n, i, a, s, u) {
2364
2378
  var f = n.children;
2365
2379
  if (f !== void 0) {
2366
2380
  if (a) {
2367
- if (O(f)) {
2381
+ if (M(f)) {
2368
2382
  for (a = 0; a < f.length; a++) p(f[a]);
2369
2383
  Object.freeze && Object.freeze(f);
2370
2384
  } else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
2371
2385
  } else p(f);
2372
2386
  }
2373
- if (D.call(n, "key")) {
2387
+ if (j.call(n, "key")) {
2374
2388
  f = t(e);
2375
2389
  var m = Object.keys(n).filter(function(e) {
2376
2390
  return e !== "key";
2377
2391
  });
2378
- a = 0 < m.length ? "{key: someKey, " + m.join(": ..., ") + ": ...}" : "{key: someKey}", P[f + a] || (m = 0 < m.length ? "{" + m.join(": ..., ") + ": ...}" : "{}", console.error("A props object containing a \"key\" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />", a, f, m, f), P[f + a] = !0);
2392
+ a = 0 < m.length ? "{key: someKey, " + m.join(": ..., ") + ": ...}" : "{key: someKey}", L[f + a] || (m = 0 < m.length ? "{" + m.join(": ..., ") + ": ...}" : "{}", console.error("A props object containing a \"key\" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />", a, f, m, f), L[f + a] = !0);
2379
2393
  }
2380
- if (f = null, r !== void 0 && (i(r), f = "" + r), c(n) && (i(n.key), f = "" + n.key), "key" in n) for (var h in r = {}, n) h !== "key" && (r[h] = n[h]);
2381
- else r = n;
2382
- return f && l(r, typeof e == "function" ? e.displayName || e.name || "Unknown" : e), d(e, f, r, o(), s, u);
2394
+ if (f = null, i !== void 0 && (r(i), f = "" + i), c(n) && (r(n.key), f = "" + n.key), "key" in n) for (var h in i = {}, n) h !== "key" && (i[h] = n[h]);
2395
+ else i = n;
2396
+ return f && l(i, typeof e == "function" ? e.displayName || e.name || "Unknown" : e), d(e, f, i, o(), s, u);
2383
2397
  }
2384
2398
  function p(e) {
2385
- m(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e && e.$$typeof === w && (e._payload.status === "fulfilled" ? m(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
2399
+ m(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e && e.$$typeof === D && (e._payload.status === "fulfilled" ? m(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
2386
2400
  }
2387
2401
  function m(e) {
2388
2402
  return typeof e == "object" && !!e && e.$$typeof === g;
2389
2403
  }
2390
- var h = r("react"), g = Symbol.for("react.transitional.element"), ee = Symbol.for("react.portal"), _ = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), te = Symbol.for("react.consumer"), b = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), C = Symbol.for("react.suspense_list"), ne = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), T = Symbol.for("react.activity"), re = Symbol.for("react.client.reference"), E = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, D = Object.prototype.hasOwnProperty, O = Array.isArray, k = console.createTask ? console.createTask : function() {
2404
+ var h = i("react"), g = Symbol.for("react.transitional.element"), _ = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), S = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), O = Symbol.for("react.activity"), k = Symbol.for("react.client.reference"), A = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, j = Object.prototype.hasOwnProperty, M = Array.isArray, N = console.createTask ? console.createTask : function() {
2391
2405
  return null;
2392
2406
  };
2393
2407
  h = { react_stack_bottom_frame: function(e) {
2394
2408
  return e();
2395
2409
  } };
2396
- var A, j = {}, M = h.react_stack_bottom_frame.bind(h, s)(), N = k(a(s)), P = {};
2397
- e.Fragment = _, e.jsx = function(e, t, n) {
2398
- var r = 1e4 > E.recentlyCreatedOwnerStacks++;
2399
- return f(e, t, n, !1, r ? Error("react-stack-top-frame") : M, r ? k(a(e)) : N);
2410
+ var P, F = {}, I = h.react_stack_bottom_frame.bind(h, s)(), ee = N(a(s)), L = {};
2411
+ e.Fragment = v, e.jsx = function(e, t, n) {
2412
+ var r = 1e4 > A.recentlyCreatedOwnerStacks++;
2413
+ return f(e, t, n, !1, r ? Error("react-stack-top-frame") : I, r ? N(a(e)) : ee);
2400
2414
  }, e.jsxs = function(e, t, n) {
2401
- var r = 1e4 > E.recentlyCreatedOwnerStacks++;
2402
- return f(e, t, n, !0, r ? Error("react-stack-top-frame") : M, r ? k(a(e)) : N);
2415
+ var r = 1e4 > A.recentlyCreatedOwnerStacks++;
2416
+ return f(e, t, n, !0, r ? Error("react-stack-top-frame") : I, r ? N(a(e)) : ee);
2403
2417
  };
2404
2418
  })();
2405
- })), Xt = (/* @__PURE__ */ n(((e, t) => {
2406
- t.exports = process.env.NODE_ENV === "production" ? Jt() : Yt();
2407
- })))(), Zt = ke("inline-flex items-center justify-center gap-2 rounded-md border text-sm transition-all hover:brightness-90 disabled:pointer-events-none disabled:opacity-50", {
2419
+ })), $ = (/* @__PURE__ */ r(((e, t) => {
2420
+ t.exports = process.env.NODE_ENV === "production" ? tn() : nn();
2421
+ })))(), rn = Ne("inline-flex items-center justify-center gap-2 rounded-md border text-sm transition-all hover:brightness-90 disabled:pointer-events-none disabled:opacity-50", {
2408
2422
  variants: {
2409
2423
  variant: {
2410
2424
  default: "",
@@ -2417,9 +2431,9 @@ var Jt = /* @__PURE__ */ n(((e) => {
2417
2431
  size: "default"
2418
2432
  }
2419
2433
  });
2420
- function Qt({ className: e, variant: t = "default", size: n = "default", ...r }) {
2421
- return /* @__PURE__ */ (0, Xt.jsx)(we, {
2422
- className: qt(Zt({
2434
+ function an({ className: e, variant: t = "default", size: n = "default", ...r }) {
2435
+ return /* @__PURE__ */ (0, $.jsx)(Oe, {
2436
+ className: en(rn({
2423
2437
  variant: t,
2424
2438
  size: n,
2425
2439
  className: e
@@ -2428,4 +2442,1290 @@ function Qt({ className: e, variant: t = "default", size: n = "default", ...r })
2428
2442
  });
2429
2443
  }
2430
2444
  //#endregion
2431
- export { Qt as Button, qt as cn };
2445
+ //#region node_modules/@base-ui/utils/useControlled.mjs
2446
+ function on({ controlled: t, default: n, name: r, state: i = "value" }) {
2447
+ let { current: a } = e.useRef(t !== void 0), [o, s] = e.useState(n), c = a ? t : o;
2448
+ if (process.env.NODE_ENV !== "production") {
2449
+ e.useEffect(() => {
2450
+ a !== (t !== void 0) && y([
2451
+ `A component is changing the ${a ? "" : "un"}controlled ${i} state of ${r} to be ${a ? "un" : ""}controlled.`,
2452
+ "Elements should not switch from uncontrolled to controlled (or vice versa).",
2453
+ `Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,
2454
+ "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.",
2455
+ "More info: https://fb.me/react-controlled-components"
2456
+ ].join("\n"));
2457
+ }, [
2458
+ i,
2459
+ r,
2460
+ t
2461
+ ]);
2462
+ let { current: o } = e.useRef(n);
2463
+ e.useEffect(() => {
2464
+ !a && sn(o) !== sn(n) && y([`A component is changing the default ${i} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join("\n"));
2465
+ }, [n]);
2466
+ }
2467
+ return [c, e.useCallback((e) => {
2468
+ a || s(e);
2469
+ }, [])];
2470
+ }
2471
+ function sn(e) {
2472
+ let t = 0, n = /* @__PURE__ */ new WeakMap();
2473
+ try {
2474
+ return JSON.stringify(e, function(e, r) {
2475
+ if (!(e === "_owner" && this != null && typeof this == "object" && "$$typeof" in this)) {
2476
+ if (typeof r == "bigint") return `__bigint__:${r}`;
2477
+ if (typeof r == "object" && r) {
2478
+ let e = n.get(r);
2479
+ if (e !== void 0) return `__object__:${e}`;
2480
+ n.set(r, t), t += 1;
2481
+ }
2482
+ return r;
2483
+ }
2484
+ }) ?? `__top__:${typeof e}`;
2485
+ } catch {
2486
+ return "__unserializable__";
2487
+ }
2488
+ }
2489
+ //#endregion
2490
+ //#region node_modules/@base-ui/react/internals/composite/list/CompositeListContext.mjs
2491
+ var cn = /*#__PURE__*/ e.createContext({
2492
+ register: () => {},
2493
+ unregister: () => {},
2494
+ subscribeMapChange: () => () => {},
2495
+ nextIndexRef: { current: 0 }
2496
+ });
2497
+ process.env.NODE_ENV !== "production" && (cn.displayName = "CompositeListContext");
2498
+ function ln() {
2499
+ return e.useContext(cn);
2500
+ }
2501
+ //#endregion
2502
+ //#region node_modules/@base-ui/react/internals/composite/list/CompositeList.mjs
2503
+ function un(t) {
2504
+ let { children: n, elementsRef: r, labelsRef: i, onMapChange: a } = t, o = h(a), [, s] = e.useState(!1), c = f(fn).current, l = f(dn).current, u = e.useRef(0), d = e.useRef(!0), p = e.useRef([]), m = e.useRef(null), g = h(() => {
2505
+ d.current || (d.current = !0, s((e) => !e));
2506
+ }), _ = h((e, t) => {
2507
+ l.set(e, t), g();
2508
+ }), v = h((e) => {
2509
+ l.delete(e), g();
2510
+ }), y = h((e) => {
2511
+ let t = /* @__PURE__ */ new Map();
2512
+ return r.current.length = 0, i && (i.current.length = 0), e.forEach((e) => {
2513
+ t.set(e.element, {
2514
+ ...e.registration.metadata ?? {},
2515
+ index: e.index
2516
+ }), r.current[e.index] = e.element, i && (i.current[e.index] = e.registration.label === void 0 ? e.registration.textRef?.current?.textContent ?? e.element.textContent : e.registration.label);
2517
+ }), u.current = r.current.length, t;
2518
+ });
2519
+ function x(e) {
2520
+ if (m.current?.disconnect(), m.current = null, typeof MutationObserver != "function" || e.length < 2) return;
2521
+ let t = new MutationObserver((n) => {
2522
+ if (!hn(n)) return;
2523
+ let r = null;
2524
+ for (let n of e) if (n.isConnected) {
2525
+ if (r && gn(r, n) > 0) {
2526
+ t.disconnect(), g();
2527
+ return;
2528
+ }
2529
+ r = n;
2530
+ }
2531
+ });
2532
+ m.current = t;
2533
+ let n = /* @__PURE__ */ new Set();
2534
+ for (let t = 1; t < e.length; t += 1) {
2535
+ let r = mn(e[t - 1], e[t]);
2536
+ r && n.add(r);
2537
+ }
2538
+ n.forEach((e) => t.observe(e, { childList: !0 }));
2539
+ }
2540
+ let S = h(() => {
2541
+ let [e, t] = pn(l), n = y(e);
2542
+ x(t), p.current = e, d.current = !1, c.forEach((e) => e(n)), o(n);
2543
+ });
2544
+ b(() => (d.current || y(p.current), () => {
2545
+ r.current = [], i && (i.current = []);
2546
+ }), [
2547
+ r,
2548
+ i,
2549
+ y
2550
+ ]), b(() => {
2551
+ d.current && S();
2552
+ }), b(() => () => {
2553
+ m.current?.disconnect(), d.current = !0;
2554
+ }, []);
2555
+ let C = h((e) => (c.add(e), () => {
2556
+ c.delete(e);
2557
+ })), w = e.useMemo(() => ({
2558
+ register: _,
2559
+ unregister: v,
2560
+ subscribeMapChange: C,
2561
+ nextIndexRef: u
2562
+ }), [
2563
+ _,
2564
+ v,
2565
+ C,
2566
+ u
2567
+ ]);
2568
+ return /*#__PURE__*/ (0, $.jsx)(cn.Provider, {
2569
+ value: w,
2570
+ children: n
2571
+ });
2572
+ }
2573
+ function dn() {
2574
+ return /* @__PURE__ */ new Map();
2575
+ }
2576
+ function fn() {
2577
+ return /* @__PURE__ */ new Set();
2578
+ }
2579
+ function pn(e) {
2580
+ let t = /* @__PURE__ */ new Set(), n = [], r = [];
2581
+ e.forEach((e, i) => {
2582
+ if (!i.isConnected) return;
2583
+ let a = e.index, o = {
2584
+ index: a ?? -1,
2585
+ element: i,
2586
+ registration: e
2587
+ };
2588
+ a === null ? r.push(o) : a >= 0 && (t.add(a), n.push(o));
2589
+ });
2590
+ let i = 0;
2591
+ return r.sort((e, t) => gn(e.element, t.element)), r.forEach((e) => {
2592
+ for (; t.has(i);) i += 1;
2593
+ e.index = i, n.push(e), i += 1;
2594
+ }), t.size > 0 && n.sort((e, t) => e.index - t.index), [n, r.map((e) => e.element)];
2595
+ }
2596
+ function mn(e, t) {
2597
+ let n = e.parentElement;
2598
+ for (; n && !n.contains(t);) n = n.parentElement;
2599
+ return n;
2600
+ }
2601
+ function hn(e) {
2602
+ for (let t of e) for (let e = 0; e < t.removedNodes.length; e += 1) if (t.removedNodes[e].isConnected) return !0;
2603
+ return !1;
2604
+ }
2605
+ function gn(e, t) {
2606
+ return e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1;
2607
+ }
2608
+ //#endregion
2609
+ //#region node_modules/@base-ui/react/tabs/root/TabsRootContext.mjs
2610
+ var _n = /*#__PURE__*/ e.createContext(void 0);
2611
+ process.env.NODE_ENV !== "production" && (_n.displayName = "TabsRootContext");
2612
+ function vn() {
2613
+ let t = e.useContext(_n);
2614
+ if (t === void 0) throw Error(process.env.NODE_ENV === "production" ? L(64) : "Base UI: TabsRootContext is missing. Tabs parts must be placed within <Tabs.Root>.");
2615
+ return t;
2616
+ }
2617
+ //#endregion
2618
+ //#region node_modules/@base-ui/react/tabs/root/stateAttributesMapping.mjs
2619
+ var yn = { tabActivationDirection: (e) => ({ "data-activation-direction": e }) }, bn = "none", xn = "disabled", Sn = "missing", Cn = "initial";
2620
+ //#endregion
2621
+ //#region node_modules/@base-ui/react/internals/createBaseUIEventDetails.mjs
2622
+ function wn(e, t, n, r) {
2623
+ let i = !1, a = !1, o = r ?? he;
2624
+ return {
2625
+ reason: e,
2626
+ event: t ?? new Event("base-ui"),
2627
+ cancel() {
2628
+ i = !0;
2629
+ },
2630
+ allowPropagation() {
2631
+ a = !0;
2632
+ },
2633
+ get isCanceled() {
2634
+ return i;
2635
+ },
2636
+ get isPropagationAllowed() {
2637
+ return a;
2638
+ },
2639
+ trigger: n,
2640
+ ...o
2641
+ };
2642
+ }
2643
+ //#endregion
2644
+ //#region node_modules/@base-ui/react/tabs/root/TabsRoot.mjs
2645
+ var Tn = /*#__PURE__*/ e.forwardRef(function(t, n) {
2646
+ let { className: r, defaultValue: i = 0, onValueChange: a, orientation: o = "horizontal", render: s, value: c, style: l, ...u } = t, d = t.defaultValue !== void 0, f = e.useRef([]), [p, m] = e.useState(() => /* @__PURE__ */ new Map()), [g, _] = on({
2647
+ controlled: c,
2648
+ default: i,
2649
+ name: "Tabs",
2650
+ state: "value"
2651
+ }), v = c !== void 0, [y, x] = e.useState(() => /* @__PURE__ */ new Map()), S = e.useRef(void 0), C = e.useCallback((e) => En(y, e), [y]), [w, T] = e.useState(() => ({
2652
+ previousValue: g,
2653
+ tabActivationDirection: "none"
2654
+ })), { previousValue: E, tabActivationDirection: D } = w, O = D, k = !1;
2655
+ E !== g && (O = Dn(E, g, o, y), k = E != null && g != null && C(g) == null);
2656
+ let A = k ? E : g, j = E !== A || D !== O;
2657
+ b(() => {
2658
+ j && T({
2659
+ previousValue: A,
2660
+ tabActivationDirection: O
2661
+ });
2662
+ }, [
2663
+ A,
2664
+ j,
2665
+ O
2666
+ ]);
2667
+ let M = h((e, t) => {
2668
+ t.activationDirection = Dn(g, e, o, y), a?.(e, t), !t.isCanceled && _(e);
2669
+ }), N = h((e, t) => {
2670
+ a?.(e, wn(t, void 0, void 0, { activationDirection: "none" }));
2671
+ }), P = h((e, t) => (m((n) => {
2672
+ let r = new Map(n);
2673
+ return r.set(e, t), r;
2674
+ }), () => {
2675
+ m((n) => {
2676
+ if (n.get(e) !== t) return n;
2677
+ let r = new Map(n);
2678
+ return r.delete(e), r;
2679
+ });
2680
+ })), F = e.useCallback((e) => p.get(e), [p]), I = e.useCallback((e) => {
2681
+ for (let t of y.values()) if (e === t.value) return t.id;
2682
+ }, [y]), ee = e.useMemo(() => ({
2683
+ getTabElementBySelectedValue: C,
2684
+ getTabIdByPanelValue: I,
2685
+ getTabPanelIdByValue: F,
2686
+ onValueChange: M,
2687
+ orientation: o,
2688
+ registerMountedTabPanel: P,
2689
+ setTabMap: x,
2690
+ tabActivationDirection: O,
2691
+ value: g
2692
+ }), [
2693
+ C,
2694
+ I,
2695
+ F,
2696
+ M,
2697
+ o,
2698
+ P,
2699
+ x,
2700
+ O,
2701
+ g
2702
+ ]), L = e.useMemo(() => {
2703
+ for (let e of y.values()) if (e.value === g) return e;
2704
+ }, [y, g]), R = e.useMemo(() => {
2705
+ for (let e of y.values()) if (!e.disabled) return e.value;
2706
+ }, [y]), z = e.useRef(!d), B = e.useRef(i), V = e.useRef(d), H = e.useRef(!1);
2707
+ b(() => {
2708
+ if (v) return;
2709
+ function e(e, t) {
2710
+ _(e), T({
2711
+ previousValue: e,
2712
+ tabActivationDirection: "none"
2713
+ }), N(e, t), z.current = !1;
2714
+ }
2715
+ if (y.size === 0) {
2716
+ H.current && g !== null && !S.current?.isConnected && e(null, Sn);
2717
+ return;
2718
+ }
2719
+ H.current = !0, S.current = y.keys().next().value;
2720
+ let t = L?.disabled, n = L == null && g !== null;
2721
+ if (!t && g === B.current && (V.current = !1), V.current && t && g === B.current) return;
2722
+ let r = z.current;
2723
+ if (t || n) {
2724
+ let n = R ?? null;
2725
+ if (g === n) {
2726
+ z.current = !1;
2727
+ return;
2728
+ }
2729
+ let i = Sn;
2730
+ r ? i = Cn : t && (i = xn), e(n, i);
2731
+ return;
2732
+ }
2733
+ r && L != null && (N(g, Cn), z.current = !1);
2734
+ }, [
2735
+ R,
2736
+ v,
2737
+ N,
2738
+ L,
2739
+ _,
2740
+ y,
2741
+ g
2742
+ ]);
2743
+ let te = ye("div", t, {
2744
+ state: {
2745
+ orientation: o,
2746
+ tabActivationDirection: O
2747
+ },
2748
+ ref: n,
2749
+ props: u,
2750
+ stateAttributesMapping: yn
2751
+ });
2752
+ return /*#__PURE__*/ (0, $.jsx)(_n.Provider, {
2753
+ value: ee,
2754
+ children: /*#__PURE__*/ (0, $.jsx)(un, {
2755
+ elementsRef: f,
2756
+ children: te
2757
+ })
2758
+ });
2759
+ });
2760
+ process.env.NODE_ENV !== "production" && (Tn.displayName = "TabsRoot");
2761
+ function En(e, t) {
2762
+ for (let [n, r] of e.entries()) if (t === r.value) return n;
2763
+ return null;
2764
+ }
2765
+ function Dn(e, t, n, r) {
2766
+ if (e == null || t == null) return "none";
2767
+ let [i, a, o] = n === "horizontal" ? [
2768
+ "left",
2769
+ "left",
2770
+ "right"
2771
+ ] : [
2772
+ "top",
2773
+ "up",
2774
+ "down"
2775
+ ], s = En(r, e), c = En(r, t);
2776
+ if (s == null || c == null) return s !== c && (typeof e == "number" || typeof e == "string") && typeof e == typeof t ? t > e ? o : a : "none";
2777
+ let l = s.getBoundingClientRect()[i], u = c.getBoundingClientRect()[i];
2778
+ return u < l ? a : u > l ? o : "none";
2779
+ }
2780
+ //#endregion
2781
+ //#region node_modules/@base-ui/utils/useId.mjs
2782
+ var On = 0;
2783
+ function kn(t, n = "mui") {
2784
+ let [r, i] = e.useState(t), a = t || r;
2785
+ return e.useEffect(() => {
2786
+ r ?? (On += 1, i(`${n}-${On}`));
2787
+ }, [r, n]), a;
2788
+ }
2789
+ var An = u.useId;
2790
+ function jn(e, t) {
2791
+ if (An !== void 0) {
2792
+ let n = An();
2793
+ return e ?? (t ? `${t}-${n}` : n);
2794
+ }
2795
+ return kn(e, t);
2796
+ }
2797
+ //#endregion
2798
+ //#region node_modules/@base-ui/react/internals/useBaseUiId.mjs
2799
+ function Mn(e) {
2800
+ return jn(e, "base-ui");
2801
+ }
2802
+ //#endregion
2803
+ //#region node_modules/@base-ui/react/internals/composite/constants.mjs
2804
+ var Nn = "data-composite-item-active";
2805
+ //#endregion
2806
+ //#region node_modules/@base-ui/react/internals/composite/list/useCompositeListItem.mjs
2807
+ function Pn(t = {}) {
2808
+ let { guess: n, label: r, metadata: i, textRef: a, index: o } = t, { register: s, unregister: c, subscribeMapChange: l, nextIndexRef: u } = ln(), d = e.useRef(-1), [f, p] = e.useState(o == null && n ? () => {
2809
+ if (d.current === -1) {
2810
+ let e = u.current;
2811
+ u.current += 1, d.current = e;
2812
+ }
2813
+ return d.current;
2814
+ } : -1), m = o ?? f, h = e.useRef(null), g = e.useCallback((e) => {
2815
+ let t = h.current;
2816
+ t && c(t), h.current = e, e && s(e, {
2817
+ metadata: i ?? null,
2818
+ index: o ?? null,
2819
+ label: r,
2820
+ textRef: a
2821
+ });
2822
+ }, [
2823
+ o,
2824
+ s,
2825
+ c,
2826
+ i,
2827
+ r,
2828
+ a
2829
+ ]);
2830
+ return b(() => {
2831
+ if (o == null) return l((e) => {
2832
+ let t = h.current ? e.get(h.current)?.index : null;
2833
+ t != null && p(t);
2834
+ });
2835
+ }, [o, l]), {
2836
+ ref: g,
2837
+ index: m
2838
+ };
2839
+ }
2840
+ //#endregion
2841
+ //#region node_modules/@base-ui/react/internals/composite/item/useCompositeItem.mjs
2842
+ function Fn(t = {}) {
2843
+ let { highlightItemOnHover: n, highlightedIndex: r, onHighlightedIndexChange: i } = z(), { ref: a, index: o } = Pn(t), s = r === o, c = e.useRef(null), l = W(a, c);
2844
+ return {
2845
+ compositeProps: {
2846
+ tabIndex: s ? 0 : -1,
2847
+ onFocus() {
2848
+ i(o);
2849
+ },
2850
+ onMouseMove() {
2851
+ let e = c.current;
2852
+ if (!n || !e) return;
2853
+ let t = e.hasAttribute("disabled") || e.ariaDisabled === "true";
2854
+ !s && !t && e.focus();
2855
+ }
2856
+ },
2857
+ compositeRef: l,
2858
+ index: o
2859
+ };
2860
+ }
2861
+ //#endregion
2862
+ //#region node_modules/@base-ui/react/tabs/list/TabsListContext.mjs
2863
+ var In = /*#__PURE__*/ e.createContext(void 0);
2864
+ process.env.NODE_ENV !== "production" && (In.displayName = "TabsListContext");
2865
+ function Ln() {
2866
+ let t = e.useContext(In);
2867
+ if (t === void 0) throw Error(process.env.NODE_ENV === "production" ? L(65) : "Base UI: TabsListContext is missing. TabsList parts must be placed within <Tabs.List>.");
2868
+ return t;
2869
+ }
2870
+ //#endregion
2871
+ //#region node_modules/@base-ui/react/internals/shadowDom.mjs
2872
+ function Rn(e) {
2873
+ let t = e.activeElement;
2874
+ for (; t?.shadowRoot?.activeElement != null;) t = t.shadowRoot.activeElement;
2875
+ return t;
2876
+ }
2877
+ function zn(e, t) {
2878
+ if (!e || !t) return !1;
2879
+ let n = t.getRootNode?.();
2880
+ if (e.contains(t)) return !0;
2881
+ if (n && c(n)) {
2882
+ let n = t;
2883
+ for (; n;) {
2884
+ if (e === n) return !0;
2885
+ n = n.parentNode || n.host;
2886
+ }
2887
+ }
2888
+ return !1;
2889
+ }
2890
+ function Bn(e) {
2891
+ return "composedPath" in e ? e.composedPath()[0] : e.target;
2892
+ }
2893
+ //#endregion
2894
+ //#region node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
2895
+ var Vn = Math.round;
2896
+ //#endregion
2897
+ //#region node_modules/@base-ui/react/floating-ui-react/utils/composite.mjs
2898
+ function Hn(e, t) {
2899
+ return t < 0 || t >= e.length;
2900
+ }
2901
+ function Un(e, t) {
2902
+ return Gn(e.current, { disabledIndices: t });
2903
+ }
2904
+ function Wn(e, t) {
2905
+ return Gn(e.current, {
2906
+ decrement: !0,
2907
+ startingIndex: e.current.length,
2908
+ disabledIndices: t
2909
+ });
2910
+ }
2911
+ function Gn(e, { startingIndex: t = -1, decrement: n = !1, disabledIndices: r, amount: i = 1 } = {}) {
2912
+ let a = t;
2913
+ do
2914
+ a += n ? -i : i;
2915
+ while (a >= 0 && a <= e.length - 1 && Kn(e, a, r));
2916
+ return a;
2917
+ }
2918
+ function Kn(e, t, n) {
2919
+ if (typeof n == "function" ? n(t) : n?.includes(t) ?? !1) return !0;
2920
+ let r = e[t];
2921
+ return r ? !Jn(r) || r.matches(":disabled") ? !0 : !n && (r.hasAttribute("disabled") || r.getAttribute("aria-disabled") === "true") : !1;
2922
+ }
2923
+ function qn(e) {
2924
+ return e.visibility === "hidden" || e.visibility === "collapse";
2925
+ }
2926
+ function Jn(e, t = e ? l(e) : null) {
2927
+ return !e || !e.isConnected || !t || qn(t) ? !1 : typeof e.checkVisibility == "function" ? e.checkVisibility() : t.display !== "none" && t.display !== "contents";
2928
+ }
2929
+ //#endregion
2930
+ //#region node_modules/@base-ui/react/tabs/tab/TabsTab.mjs
2931
+ var Yn = /*#__PURE__*/ e.forwardRef(function(t, n) {
2932
+ let { className: r, disabled: i = !1, render: a, value: o, id: s, nativeButton: c = !0, style: l, ...u } = t, { value: d, getTabPanelIdByValue: f, onValueChange: p, orientation: m, tabActivationDirection: g } = vn(), { activateOnFocus: _, registerTabResizeObserverElement: v, tabsListElement: y } = Ln(), { highlightedIndex: x, onHighlightedIndexChange: S } = z(), C = Mn(s), { compositeProps: w, compositeRef: T, index: E } = Fn({ metadata: e.useMemo(() => ({
2933
+ disabled: i,
2934
+ id: C,
2935
+ value: o
2936
+ }), [
2937
+ i,
2938
+ C,
2939
+ o
2940
+ ]) }), D = o === d, O = e.useRef(!1), k = e.useRef(null), A = h((e) => {
2941
+ k.current?.(), k.current = e ? v(e) : null;
2942
+ });
2943
+ b(() => {
2944
+ if (O.current) {
2945
+ O.current = !1;
2946
+ return;
2947
+ }
2948
+ if (!(D && E > -1 && x !== E)) return;
2949
+ let e = y;
2950
+ if (e != null) {
2951
+ let t = Rn(V(e));
2952
+ if (t && zn(e, t)) return;
2953
+ }
2954
+ i || S(E);
2955
+ }, [
2956
+ D,
2957
+ E,
2958
+ x,
2959
+ S,
2960
+ i,
2961
+ y
2962
+ ]);
2963
+ let { getButtonProps: j, buttonRef: M } = te({
2964
+ disabled: i,
2965
+ native: c,
2966
+ focusableWhenDisabled: !0
2967
+ }), N = f(o), P = e.useRef(!1), F = e.useRef(!1);
2968
+ function I(e) {
2969
+ p(o, wn(bn, e.nativeEvent, void 0, { activationDirection: "none" }));
2970
+ }
2971
+ function ee(e) {
2972
+ D || i || I(e);
2973
+ }
2974
+ function L(e) {
2975
+ D || i || _ && (!P.current || F.current) && I(e);
2976
+ }
2977
+ function R(e) {
2978
+ if (D || i) return;
2979
+ P.current = !0, F.current = e.button === 0;
2980
+ let t = V(e.currentTarget);
2981
+ function n() {
2982
+ P.current = !1, F.current = !1, t.removeEventListener("pointerup", n), t.removeEventListener("pointercancel", n);
2983
+ }
2984
+ t.addEventListener("pointerup", n), t.addEventListener("pointercancel", n);
2985
+ }
2986
+ return ye("button", t, {
2987
+ state: {
2988
+ disabled: i,
2989
+ active: D,
2990
+ orientation: m,
2991
+ tabActivationDirection: g
2992
+ },
2993
+ ref: [
2994
+ n,
2995
+ M,
2996
+ T,
2997
+ A
2998
+ ],
2999
+ props: [
3000
+ w,
3001
+ {
3002
+ role: "tab",
3003
+ "aria-controls": N,
3004
+ "aria-selected": D,
3005
+ id: C,
3006
+ onClick: ee,
3007
+ onFocus: L,
3008
+ onPointerDown: R,
3009
+ [Nn]: D ? "" : void 0,
3010
+ onKeyDownCapture() {
3011
+ O.current = !0;
3012
+ }
3013
+ },
3014
+ u,
3015
+ j
3016
+ ],
3017
+ stateAttributesMapping: yn
3018
+ });
3019
+ });
3020
+ process.env.NODE_ENV !== "production" && (Yn.displayName = "TabsTab");
3021
+ //#endregion
3022
+ //#region node_modules/@base-ui/utils/useForcedRerendering.mjs
3023
+ function Xn() {
3024
+ let [, t] = e.useState({});
3025
+ return e.useCallback(() => {
3026
+ t({});
3027
+ }, []);
3028
+ }
3029
+ //#endregion
3030
+ //#region node_modules/@base-ui/react/utils/getCssDimensions.mjs
3031
+ function Zn(e) {
3032
+ let t = l(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = s(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r;
3033
+ return (Vn(n) !== a || Vn(r) !== o) && (n = a, r = o), {
3034
+ width: n,
3035
+ height: r
3036
+ };
3037
+ }
3038
+ //#endregion
3039
+ //#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
3040
+ var Qn = /* @__PURE__ */ r(((e) => {
3041
+ var t = i("react");
3042
+ function n(e, t) {
3043
+ return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
3044
+ }
3045
+ var r = typeof Object.is == "function" ? Object.is : n, a = t.useState, o = t.useEffect, s = t.useLayoutEffect, c = t.useDebugValue;
3046
+ function l(e, t) {
3047
+ var n = t(), r = a({ inst: {
3048
+ value: n,
3049
+ getSnapshot: t
3050
+ } }), i = r[0].inst, l = r[1];
3051
+ return s(function() {
3052
+ i.value = n, i.getSnapshot = t, u(i) && l({ inst: i });
3053
+ }, [
3054
+ e,
3055
+ n,
3056
+ t
3057
+ ]), o(function() {
3058
+ return u(i) && l({ inst: i }), e(function() {
3059
+ u(i) && l({ inst: i });
3060
+ });
3061
+ }, [e]), c(n), n;
3062
+ }
3063
+ function u(e) {
3064
+ var t = e.getSnapshot;
3065
+ e = e.value;
3066
+ try {
3067
+ var n = t();
3068
+ return !r(e, n);
3069
+ } catch {
3070
+ return !0;
3071
+ }
3072
+ }
3073
+ function d(e, t) {
3074
+ return t();
3075
+ }
3076
+ var f = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? d : l;
3077
+ e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? f : t.useSyncExternalStore;
3078
+ })), $n = /* @__PURE__ */ r(((e) => {
3079
+ process.env.NODE_ENV !== "production" && (function() {
3080
+ function t(e, t) {
3081
+ return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
3082
+ }
3083
+ function n(e, t) {
3084
+ f || o.startTransition === void 0 || (f = !0, console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
3085
+ var n = t();
3086
+ if (!p) {
3087
+ var i = t();
3088
+ s(n, i) || (console.error("The result of getSnapshot should be cached to avoid an infinite loop"), p = !0);
3089
+ }
3090
+ i = c({ inst: {
3091
+ value: n,
3092
+ getSnapshot: t
3093
+ } });
3094
+ var a = i[0].inst, m = i[1];
3095
+ return u(function() {
3096
+ a.value = n, a.getSnapshot = t, r(a) && m({ inst: a });
3097
+ }, [
3098
+ e,
3099
+ n,
3100
+ t
3101
+ ]), l(function() {
3102
+ return r(a) && m({ inst: a }), e(function() {
3103
+ r(a) && m({ inst: a });
3104
+ });
3105
+ }, [e]), d(n), n;
3106
+ }
3107
+ function r(e) {
3108
+ var t = e.getSnapshot;
3109
+ e = e.value;
3110
+ try {
3111
+ var n = t();
3112
+ return !s(e, n);
3113
+ } catch {
3114
+ return !0;
3115
+ }
3116
+ }
3117
+ function a(e, t) {
3118
+ return t();
3119
+ }
3120
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
3121
+ var o = i("react"), s = typeof Object.is == "function" ? Object.is : t, c = o.useState, l = o.useEffect, u = o.useLayoutEffect, d = o.useDebugValue, f = !1, p = !1, m = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? a : n;
3122
+ e.useSyncExternalStore = o.useSyncExternalStore === void 0 ? m : o.useSyncExternalStore, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
3123
+ })();
3124
+ })), er = (/* @__PURE__ */ r(((e, t) => {
3125
+ t.exports = process.env.NODE_ENV === "production" ? Qn() : $n();
3126
+ })))();
3127
+ function tr() {
3128
+ return pe;
3129
+ }
3130
+ function nr() {
3131
+ return !1;
3132
+ }
3133
+ function rr() {
3134
+ return !0;
3135
+ }
3136
+ function ir() {
3137
+ return (0, er.useSyncExternalStore)(tr, nr, rr);
3138
+ }
3139
+ //#endregion
3140
+ //#region node_modules/@base-ui/react/internals/csp-context/CSPContext.mjs
3141
+ var ar = /*#__PURE__*/ e.createContext(void 0);
3142
+ process.env.NODE_ENV !== "production" && (ar.displayName = "CSPContext");
3143
+ var or = { disableStyleElements: !1 };
3144
+ function sr() {
3145
+ return e.useContext(ar) ?? or;
3146
+ }
3147
+ //#endregion
3148
+ //#region node_modules/@base-ui/react/internals/PrehydrationScript.mjs
3149
+ function cr(e) {
3150
+ let { script: t } = e, { nonce: n } = sr();
3151
+ return ir() ? /*#__PURE__*/ (0, $.jsx)("script", {
3152
+ nonce: n,
3153
+ dangerouslySetInnerHTML: { __html: t },
3154
+ suppressHydrationWarning: !0
3155
+ }) : null;
3156
+ }
3157
+ //#endregion
3158
+ //#region node_modules/@base-ui/react/tabs/indicator/TabsIndicator.mjs
3159
+ var lr, ur = {
3160
+ ...yn,
3161
+ activeTabPosition: () => null,
3162
+ activeTabSize: () => null
3163
+ }, dr = /*#__PURE__*/ e.forwardRef(function(t, n) {
3164
+ let { className: r, render: i, renderBeforeHydration: a = !1, style: o, ...s } = t, { getTabElementBySelectedValue: c, orientation: l, tabActivationDirection: u, value: d } = vn(), { tabsListElement: f, registerIndicatorUpdateListener: p } = Ln(), m = Xn();
3165
+ e.useEffect(() => p(m), [p, m]);
3166
+ let h = 0, g = 0, _ = 0, v = 0, y = 0, b = 0, x = !1;
3167
+ if (d != null && f != null) {
3168
+ let e = c(d);
3169
+ if (e != null) {
3170
+ x = !0;
3171
+ let { width: t, height: n } = Zn(e), { width: r, height: i } = Zn(f), a = e.getBoundingClientRect(), o = f.getBoundingClientRect(), s = r > 0 ? o.width / r : 1, c = i > 0 ? o.height / i : 1;
3172
+ if (s > 2 ** -52 && c > 2 ** -52) {
3173
+ let e = a.left - o.left, t = a.top - o.top;
3174
+ h = e / s + f.scrollLeft - f.clientLeft, _ = t / c + f.scrollTop - f.clientTop;
3175
+ } else h = e.offsetLeft, _ = e.offsetTop;
3176
+ y = t, b = n, g = f.scrollWidth - h - y, v = f.scrollHeight - _ - b;
3177
+ }
3178
+ }
3179
+ let S = x ? {
3180
+ left: h,
3181
+ right: g,
3182
+ top: _,
3183
+ bottom: v
3184
+ } : null, C = x ? {
3185
+ width: y,
3186
+ height: b
3187
+ } : null, w = x ? {
3188
+ "--active-tab-left": `${h}px`,
3189
+ "--active-tab-right": `${g}px`,
3190
+ "--active-tab-top": `${_}px`,
3191
+ "--active-tab-bottom": `${v}px`,
3192
+ "--active-tab-width": `${y}px`,
3193
+ "--active-tab-height": `${b}px`
3194
+ } : void 0, T = ye("span", t, {
3195
+ state: {
3196
+ orientation: l,
3197
+ activeTabPosition: S,
3198
+ activeTabSize: C,
3199
+ tabActivationDirection: u
3200
+ },
3201
+ ref: n,
3202
+ props: [
3203
+ {
3204
+ role: "presentation",
3205
+ style: w,
3206
+ hidden: !(x && y > 0 && b > 0)
3207
+ },
3208
+ s,
3209
+ { suppressHydrationWarning: !0 }
3210
+ ],
3211
+ stateAttributesMapping: ur
3212
+ });
3213
+ return d == null ? null : /*#__PURE__*/ (0, $.jsxs)(e.Fragment, { children: [T, a && (lr ||= /*#__PURE__*/ (0, $.jsx)(cr, { script: "" }))] });
3214
+ });
3215
+ process.env.NODE_ENV !== "production" && (dr.displayName = "TabsIndicator");
3216
+ //#endregion
3217
+ //#region node_modules/@base-ui/utils/inertValue.mjs
3218
+ function fr(e) {
3219
+ return le(19) ? e : e ? "true" : void 0;
3220
+ }
3221
+ //#endregion
3222
+ //#region node_modules/@base-ui/react/internals/stateAttributesMapping.mjs
3223
+ var pr = { "data-starting-style": "" }, mr = { "data-ending-style": "" }, hr = { transitionStatus(e) {
3224
+ return e === "starting" ? pr : e === "ending" ? mr : null;
3225
+ } };
3226
+ //#endregion
3227
+ //#region node_modules/@base-ui/utils/useOnMount.mjs
3228
+ function gr(t) {
3229
+ e.useEffect(t, me);
3230
+ }
3231
+ //#endregion
3232
+ //#region node_modules/@base-ui/utils/useAnimationFrame.mjs
3233
+ var _r = null, vr = globalThis.requestAnimationFrame, yr = new class {
3234
+ callbacks = [];
3235
+ callbacksCount = 0;
3236
+ nextId = 1;
3237
+ startId = 1;
3238
+ isScheduled = !1;
3239
+ tick = (e) => {
3240
+ this.isScheduled = !1;
3241
+ let t = this.callbacks, n = this.callbacksCount;
3242
+ if (this.callbacks = [], this.callbacksCount = 0, this.startId = this.nextId, n > 0) for (let n = 0; n < t.length; n += 1) t[n]?.(e);
3243
+ };
3244
+ request(e) {
3245
+ let t = this.nextId;
3246
+ this.nextId += 1, this.callbacks.push(e), this.callbacksCount += 1;
3247
+ let n = process.env.NODE_ENV !== "production" && vr !== requestAnimationFrame && (vr = requestAnimationFrame, !0);
3248
+ return (!this.isScheduled || n) && (requestAnimationFrame(this.tick), this.isScheduled = !0), t;
3249
+ }
3250
+ cancel(e) {
3251
+ let t = e - this.startId;
3252
+ t < 0 || t >= this.callbacks.length || (this.callbacks[t] = null, --this.callbacksCount);
3253
+ }
3254
+ }(), br = class e {
3255
+ static create() {
3256
+ return new e();
3257
+ }
3258
+ static request(e) {
3259
+ return yr.request(e);
3260
+ }
3261
+ static cancel(e) {
3262
+ return yr.cancel(e);
3263
+ }
3264
+ currentId = _r;
3265
+ request(e) {
3266
+ this.cancel(), this.currentId = yr.request(() => {
3267
+ this.currentId = _r, e();
3268
+ });
3269
+ }
3270
+ cancel = () => {
3271
+ this.currentId !== _r && (yr.cancel(this.currentId), this.currentId = _r);
3272
+ };
3273
+ disposeEffect = () => this.cancel;
3274
+ };
3275
+ function xr() {
3276
+ let e = f(br.create).current;
3277
+ return gr(e.disposeEffect), e;
3278
+ }
3279
+ //#endregion
3280
+ //#region node_modules/@base-ui/react/utils/resolveRef.mjs
3281
+ function Sr(e) {
3282
+ return e == null ? e : "current" in e ? e.current : e;
3283
+ }
3284
+ //#endregion
3285
+ //#region node_modules/@base-ui/react/internals/useAnimationsFinished.mjs
3286
+ function Cr(e, t = !1) {
3287
+ let r = xr();
3288
+ return h((i, a = null) => {
3289
+ r.cancel();
3290
+ let o = Sr(e);
3291
+ if (o == null) return;
3292
+ let s = o, c = () => {
3293
+ n.flushSync(i);
3294
+ };
3295
+ if (typeof s.getAnimations != "function" || globalThis.BASE_UI_ANIMATIONS_DISABLED) {
3296
+ i();
3297
+ return;
3298
+ }
3299
+ function l() {
3300
+ Promise.all(s.getAnimations().map((e) => e.finished)).then(() => {
3301
+ a?.aborted || c();
3302
+ }, () => {
3303
+ if (!a?.aborted) {
3304
+ if (s.getAnimations().some((e) => e.pending || e.playState !== "finished")) {
3305
+ l();
3306
+ return;
3307
+ }
3308
+ c();
3309
+ }
3310
+ });
3311
+ }
3312
+ if (t) {
3313
+ let e = "data-starting-style";
3314
+ if (!s.hasAttribute(e)) {
3315
+ r.request(l);
3316
+ return;
3317
+ }
3318
+ let t = new MutationObserver(() => {
3319
+ s.hasAttribute(e) || (t.disconnect(), l());
3320
+ });
3321
+ t.observe(s, {
3322
+ attributes: !0,
3323
+ attributeFilter: [e]
3324
+ }), a?.addEventListener("abort", () => t.disconnect(), { once: !0 });
3325
+ return;
3326
+ }
3327
+ r.request(l);
3328
+ });
3329
+ }
3330
+ //#endregion
3331
+ //#region node_modules/@base-ui/react/internals/useOpenChangeComplete.mjs
3332
+ function wr(t) {
3333
+ let { enabled: n = !0, open: r, ref: i, onComplete: a } = t, o = h(a), s = Cr(i, r);
3334
+ e.useEffect(() => {
3335
+ if (!n) return;
3336
+ let e = new AbortController();
3337
+ return s(o, e.signal), () => {
3338
+ e.abort();
3339
+ };
3340
+ }, [
3341
+ n,
3342
+ r,
3343
+ o,
3344
+ s
3345
+ ]);
3346
+ }
3347
+ //#endregion
3348
+ //#region node_modules/@base-ui/react/internals/useTransitionStatus.mjs
3349
+ function Tr(t, n = !1, r = !1) {
3350
+ let [i, a] = e.useState(t && n ? "idle" : void 0), [o, s] = e.useState(t);
3351
+ return t && !o && (s(!0), a("starting")), !t && o && i !== "ending" && !r && a("ending"), !t && !o && i === "ending" && a(void 0), b(() => {
3352
+ if (!t && o && i !== "ending" && r) {
3353
+ let e = br.request(() => {
3354
+ a("ending");
3355
+ });
3356
+ return () => {
3357
+ br.cancel(e);
3358
+ };
3359
+ }
3360
+ }, [
3361
+ t,
3362
+ o,
3363
+ i,
3364
+ r
3365
+ ]), b(() => {
3366
+ if (!t || n) return;
3367
+ let e = br.request(() => {
3368
+ a(void 0);
3369
+ });
3370
+ return () => {
3371
+ br.cancel(e);
3372
+ };
3373
+ }, [n, t]), b(() => {
3374
+ if (!t || !n) return;
3375
+ t && o && i !== "idle" && a("starting");
3376
+ let e = br.request(() => {
3377
+ a("idle");
3378
+ });
3379
+ return () => {
3380
+ br.cancel(e);
3381
+ };
3382
+ }, [
3383
+ n,
3384
+ t,
3385
+ o,
3386
+ i
3387
+ ]), {
3388
+ mounted: o,
3389
+ setMounted: s,
3390
+ transitionStatus: i
3391
+ };
3392
+ }
3393
+ //#endregion
3394
+ //#region node_modules/@base-ui/react/tabs/panel/TabsPanel.mjs
3395
+ var Er = {
3396
+ ...yn,
3397
+ ...hr
3398
+ }, Dr = /*#__PURE__*/ e.forwardRef(function(t, n) {
3399
+ let { className: r, value: i, render: a, keepMounted: o = !1, style: s, ...c } = t, { value: l, getTabIdByPanelValue: u, orientation: d, tabActivationDirection: f, registerMountedTabPanel: p } = vn(), m = Mn(), { ref: h, index: g } = Pn(), _ = i === l, { mounted: v, transitionStatus: y, setMounted: x } = Tr(_), S = !v, C = u(i), w = {
3400
+ hidden: S,
3401
+ orientation: d,
3402
+ tabActivationDirection: f,
3403
+ transitionStatus: y
3404
+ }, T = e.useRef(null), E = ye("div", t, {
3405
+ state: w,
3406
+ ref: [
3407
+ n,
3408
+ h,
3409
+ T
3410
+ ],
3411
+ props: [{
3412
+ "aria-labelledby": C,
3413
+ hidden: S,
3414
+ id: m,
3415
+ role: "tabpanel",
3416
+ tabIndex: _ ? 0 : -1,
3417
+ inert: fr(!_),
3418
+ "data-index": g
3419
+ }, c],
3420
+ stateAttributesMapping: Er
3421
+ });
3422
+ return wr({
3423
+ open: _,
3424
+ ref: T,
3425
+ onComplete() {
3426
+ _ || x(!1);
3427
+ }
3428
+ }), b(() => {
3429
+ if (!(m == null || S && !o)) return p(i, m);
3430
+ }, [
3431
+ S,
3432
+ o,
3433
+ i,
3434
+ m,
3435
+ p
3436
+ ]), o || v ? E : null;
3437
+ });
3438
+ process.env.NODE_ENV !== "production" && (Dr.displayName = "TabsPanel");
3439
+ //#endregion
3440
+ //#region node_modules/@base-ui/utils/isElementDisabled.mjs
3441
+ function Or(e) {
3442
+ return e == null || e.hasAttribute("disabled") || e.getAttribute("aria-disabled") === "true";
3443
+ }
3444
+ //#endregion
3445
+ //#region node_modules/@base-ui/react/internals/composite/composite.mjs
3446
+ var kr = "ArrowUp", Ar = "ArrowDown", jr = "ArrowLeft", Mr = "ArrowRight", Nr = /* @__PURE__ */ new Set([
3447
+ kr,
3448
+ Ar,
3449
+ jr,
3450
+ Mr,
3451
+ "Home",
3452
+ "End"
3453
+ ]), Pr = [
3454
+ "Shift",
3455
+ "Control",
3456
+ "Alt",
3457
+ "Meta"
3458
+ ];
3459
+ function Fr(e) {
3460
+ return s(e) && e.tagName === "INPUT";
3461
+ }
3462
+ function Ir(e) {
3463
+ return !!(Fr(e) && e.selectionStart != null || s(e) && e.tagName === "TEXTAREA");
3464
+ }
3465
+ function Lr(e, t, n, r) {
3466
+ if (!e || !t || !t.scrollTo) return;
3467
+ let i = e.scrollLeft, a = e.scrollTop, o = e.clientWidth < e.scrollWidth, s = e.clientHeight < e.scrollHeight;
3468
+ if (o && r !== "vertical") {
3469
+ let r = Rr(e, t, "left"), a = zr(e), o = zr(t);
3470
+ n === "ltr" && (r + t.offsetWidth + o.scrollMarginRight > e.scrollLeft + e.clientWidth - a.scrollPaddingRight ? i = r + t.offsetWidth + o.scrollMarginRight - e.clientWidth + a.scrollPaddingRight : r - o.scrollMarginLeft < e.scrollLeft + a.scrollPaddingLeft && (i = r - o.scrollMarginLeft - a.scrollPaddingLeft)), n === "rtl" && (r - o.scrollMarginLeft < e.scrollLeft + a.scrollPaddingLeft ? i = r - o.scrollMarginLeft - a.scrollPaddingLeft : r + t.offsetWidth + o.scrollMarginRight > e.scrollLeft + e.clientWidth - a.scrollPaddingRight && (i = r + t.offsetWidth + o.scrollMarginRight - e.clientWidth + a.scrollPaddingRight));
3471
+ }
3472
+ if (s && r !== "horizontal") {
3473
+ let n = Rr(e, t, "top"), r = zr(e), i = zr(t);
3474
+ n - i.scrollMarginTop < e.scrollTop + r.scrollPaddingTop ? a = n - i.scrollMarginTop - r.scrollPaddingTop : n + t.offsetHeight + i.scrollMarginBottom > e.scrollTop + e.clientHeight - r.scrollPaddingBottom && (a = n + t.offsetHeight + i.scrollMarginBottom - e.clientHeight + r.scrollPaddingBottom);
3475
+ }
3476
+ e.scrollTo({
3477
+ left: i,
3478
+ top: a,
3479
+ behavior: "auto"
3480
+ });
3481
+ }
3482
+ function Rr(e, t, n) {
3483
+ let r = n === "left" ? "offsetLeft" : "offsetTop", i = 0;
3484
+ for (; t.offsetParent && (i += t[r], t.offsetParent !== e);) t = t.offsetParent;
3485
+ return i;
3486
+ }
3487
+ function zr(e) {
3488
+ let t = getComputedStyle(e);
3489
+ return {
3490
+ scrollMarginTop: parseFloat(t.scrollMarginTop) || 0,
3491
+ scrollMarginRight: parseFloat(t.scrollMarginRight) || 0,
3492
+ scrollMarginBottom: parseFloat(t.scrollMarginBottom) || 0,
3493
+ scrollMarginLeft: parseFloat(t.scrollMarginLeft) || 0,
3494
+ scrollPaddingTop: parseFloat(t.scrollPaddingTop) || 0,
3495
+ scrollPaddingRight: parseFloat(t.scrollPaddingRight) || 0,
3496
+ scrollPaddingBottom: parseFloat(t.scrollPaddingBottom) || 0,
3497
+ scrollPaddingLeft: parseFloat(t.scrollPaddingLeft) || 0
3498
+ };
3499
+ }
3500
+ //#endregion
3501
+ //#region node_modules/@base-ui/react/internals/composite/root/useCompositeRoot.mjs
3502
+ var Br = [];
3503
+ function Vr(t) {
3504
+ let { loopFocus: n = !0, orientation: r = "both", grid: i, onLoop: a, direction: o, highlightedIndex: s, onHighlightedIndexChange: c, rootRef: l, enableHomeAndEndKeys: u = !1, stopEventPropagation: d, disabledIndices: f, modifierKeys: p = Br } = t, [m, g] = e.useState(0), _ = i != null, v = e.useRef(null), y = W(v, l), x = e.useRef([]), S = e.useRef(!1), C = s ?? m, w = h((e, t = !1) => {
3505
+ if ((c ?? g)(e), t) {
3506
+ let t = x.current[e];
3507
+ Lr(v.current, t, o, r);
3508
+ }
3509
+ }), T = h((e) => {
3510
+ if (e.size === 0 || S.current) return;
3511
+ S.current = !0;
3512
+ let t = Array.from(e.keys()), n = t.find((e) => e?.hasAttribute("data-composite-item-active")) ?? null, i = n ? e.get(n)?.index ?? -1 : -1;
3513
+ if (i !== -1) w(i);
3514
+ else if (Kn(t, C, f)) {
3515
+ let e = Gn(t, { disabledIndices: f });
3516
+ Hn(t, e) || w(e);
3517
+ }
3518
+ Lr(v.current, n, o, r);
3519
+ });
3520
+ b(() => {
3521
+ if (f == null || s != null || !S.current) return;
3522
+ let e = x.current;
3523
+ if (Kn(e, C, f)) {
3524
+ let t = Gn(e, { disabledIndices: f });
3525
+ Hn(e, t) || w(t);
3526
+ }
3527
+ }, [
3528
+ f,
3529
+ s,
3530
+ C,
3531
+ x,
3532
+ w
3533
+ ]);
3534
+ let E = h((e, t, n) => a ? a(e, t, n, x) : n), D = h((e) => {
3535
+ let t = e.key === "Home" || e.key === "End";
3536
+ if (!Nr.has(e.key) || !u && t || Hr(e, p) || !v.current) return;
3537
+ let s = o === "rtl", c = s ? jr : Mr, l = s ? Mr : jr, m = r === "vertical" ? Ar : c, h = r === "vertical" ? kr : l, g = Bn(e.nativeEvent);
3538
+ if (g != null && Ir(g) && !Or(g)) {
3539
+ let t = g.selectionStart, n = g.selectionEnd, r = g.value;
3540
+ if (t == null || e.shiftKey || t !== n || e.key !== h && t < r.length || e.key !== m && t > 0) return;
3541
+ }
3542
+ let y = C, b = Un(x, f), S = Wn(x, f);
3543
+ i != null && (y = i({
3544
+ disabledIndices: f,
3545
+ elementsRef: x,
3546
+ event: e,
3547
+ highlightedIndex: C,
3548
+ loopFocus: n,
3549
+ maxIndex: S,
3550
+ minIndex: b,
3551
+ onLoop: E,
3552
+ orientation: r,
3553
+ rtl: s
3554
+ }));
3555
+ let T = r !== "vertical" && e.key === c || r !== "horizontal" && e.key === "ArrowDown", D = r !== "vertical" && e.key === l || r !== "horizontal" && e.key === "ArrowUp";
3556
+ u && (e.key === "Home" ? y = b : e.key === "End" && (y = S)), y === C && (T || D) && (n && y === S && T ? (y = b, a && (y = a(e, C, y, x))) : n && y === b && D ? (y = S, a && (y = a(e, C, y, x))) : y = Gn(x.current, {
3557
+ startingIndex: y,
3558
+ decrement: D,
3559
+ disabledIndices: f
3560
+ })), y !== C && !Hn(x.current, y) && (d && e.stopPropagation(), (_ || t || T || D) && e.preventDefault(), w(y, !0), queueMicrotask(() => {
3561
+ x.current[y]?.focus();
3562
+ }));
3563
+ });
3564
+ return {
3565
+ props: {
3566
+ ref: y,
3567
+ onFocus(e) {
3568
+ let t = v.current, n = Bn(e.nativeEvent);
3569
+ !t || n == null || !Ir(n) || n.setSelectionRange(0, n.value.length);
3570
+ },
3571
+ onKeyDown: D
3572
+ },
3573
+ highlightedIndex: C,
3574
+ onHighlightedIndexChange: w,
3575
+ elementsRef: x,
3576
+ onMapChange: T,
3577
+ relayKeyboardEvent: D
3578
+ };
3579
+ }
3580
+ function Hr(e, t) {
3581
+ for (let n of Pr) if (!t.includes(n) && e.getModifierState(n)) return !0;
3582
+ return !1;
3583
+ }
3584
+ //#endregion
3585
+ //#region node_modules/@base-ui/react/internals/direction-context/DirectionContext.mjs
3586
+ var Ur = /*#__PURE__*/ e.createContext(void 0);
3587
+ process.env.NODE_ENV !== "production" && (Ur.displayName = "DirectionContext");
3588
+ function Wr() {
3589
+ return e.useContext(Ur)?.direction ?? "ltr";
3590
+ }
3591
+ //#endregion
3592
+ //#region node_modules/@base-ui/react/internals/composite/root/CompositeRoot.mjs
3593
+ function Gr(t) {
3594
+ let { render: n, className: r, style: i, refs: a = me, props: o = me, state: s = he, stateAttributesMapping: c, highlightedIndex: l, onHighlightedIndexChange: u, orientation: d, grid: f, loopFocus: p, onLoop: m, enableHomeAndEndKeys: h, onMapChange: g, stopEventPropagation: _ = !0, rootRef: v, disabledIndices: y, modifierKeys: b, highlightItemOnHover: x = !1, tag: S = "div", ...C } = t, { props: w, highlightedIndex: T, onHighlightedIndexChange: E, elementsRef: D, onMapChange: O, relayKeyboardEvent: k } = Vr({
3595
+ grid: f,
3596
+ loopFocus: p,
3597
+ onLoop: m,
3598
+ orientation: d,
3599
+ highlightedIndex: l,
3600
+ onHighlightedIndexChange: u,
3601
+ rootRef: v,
3602
+ stopEventPropagation: _,
3603
+ enableHomeAndEndKeys: h,
3604
+ direction: Wr(),
3605
+ disabledIndices: y,
3606
+ modifierKeys: b
3607
+ }), A = ye(S, t, {
3608
+ state: s,
3609
+ ref: a,
3610
+ props: [
3611
+ w,
3612
+ ...o,
3613
+ C
3614
+ ],
3615
+ stateAttributesMapping: c
3616
+ }), j = e.useMemo(() => ({
3617
+ highlightedIndex: T,
3618
+ onHighlightedIndexChange: E,
3619
+ highlightItemOnHover: x,
3620
+ relayKeyboardEvent: k
3621
+ }), [
3622
+ T,
3623
+ E,
3624
+ x,
3625
+ k
3626
+ ]);
3627
+ return /*#__PURE__*/ (0, $.jsx)(R.Provider, {
3628
+ value: j,
3629
+ children: /*#__PURE__*/ (0, $.jsx)(un, {
3630
+ elementsRef: D,
3631
+ onMapChange: (e) => {
3632
+ g?.(e), O(e);
3633
+ },
3634
+ children: A
3635
+ })
3636
+ });
3637
+ }
3638
+ //#endregion
3639
+ //#region node_modules/@base-ui/react/tabs/list/TabsList.mjs
3640
+ var Kr = /*#__PURE__*/ e.forwardRef(function(t, n) {
3641
+ let { activateOnFocus: r = !1, className: i, loopFocus: a = !0, render: o, style: s, ...c } = t, { orientation: l, setTabMap: u, tabActivationDirection: d } = vn(), [f, p] = e.useState(0), [m, g] = e.useState(null), _ = e.useRef(/* @__PURE__ */ new Set()), v = e.useRef(/* @__PURE__ */ new Set()), y = e.useRef(null);
3642
+ b(() => {
3643
+ if (typeof ResizeObserver > "u") return;
3644
+ let e = new ResizeObserver(() => {
3645
+ _.current.forEach((e) => {
3646
+ e();
3647
+ });
3648
+ });
3649
+ return y.current = e, m && e.observe(m), v.current.forEach((t) => {
3650
+ e.observe(t);
3651
+ }), () => {
3652
+ e.disconnect(), y.current = null;
3653
+ };
3654
+ }, [m]);
3655
+ let x = h((e) => (_.current.add(e), () => {
3656
+ _.current.delete(e);
3657
+ })), S = h((e) => (v.current.add(e), y.current?.observe(e), () => {
3658
+ v.current.delete(e), y.current?.unobserve(e);
3659
+ })), C = {
3660
+ orientation: l,
3661
+ tabActivationDirection: d
3662
+ }, w = {
3663
+ "aria-orientation": l === "vertical" ? "vertical" : void 0,
3664
+ role: "tablist"
3665
+ }, T = e.useMemo(() => ({
3666
+ activateOnFocus: r,
3667
+ registerIndicatorUpdateListener: x,
3668
+ registerTabResizeObserverElement: S,
3669
+ tabsListElement: m
3670
+ }), [
3671
+ r,
3672
+ x,
3673
+ S,
3674
+ m
3675
+ ]);
3676
+ return /*#__PURE__*/ (0, $.jsx)(In.Provider, {
3677
+ value: T,
3678
+ children: /*#__PURE__*/ (0, $.jsx)(Gr, {
3679
+ render: o,
3680
+ className: i,
3681
+ style: s,
3682
+ state: C,
3683
+ refs: [n, g],
3684
+ props: [w, c],
3685
+ stateAttributesMapping: yn,
3686
+ highlightedIndex: f,
3687
+ enableHomeAndEndKeys: !0,
3688
+ loopFocus: a,
3689
+ orientation: l,
3690
+ onHighlightedIndexChange: p,
3691
+ onMapChange: u,
3692
+ disabledIndices: me
3693
+ })
3694
+ });
3695
+ });
3696
+ process.env.NODE_ENV !== "production" && (Kr.displayName = "TabsList");
3697
+ //#endregion
3698
+ //#region src/components/tabs/tabs.tsx
3699
+ function qr({ className: e, ...t }) {
3700
+ return /* @__PURE__ */ (0, $.jsx)(Tn, {
3701
+ className: en("w-fit", e),
3702
+ ...t
3703
+ });
3704
+ }
3705
+ function Jr({ className: e, ...t }) {
3706
+ return /* @__PURE__ */ (0, $.jsx)(Kr, {
3707
+ className: en("relative z-1 -mb-px inline-flex gap-4 text-black", e),
3708
+ ...t
3709
+ });
3710
+ }
3711
+ var Yr = Ne("h-9 cursor-pointer px-3 text-sm");
3712
+ function Xr({ className: e, ...t }) {
3713
+ return /* @__PURE__ */ (0, $.jsx)(Yn, {
3714
+ className: en(Yr(), e),
3715
+ ...t
3716
+ });
3717
+ }
3718
+ function Zr({ className: e, ...t }) {
3719
+ return /* @__PURE__ */ (0, $.jsx)(dr, {
3720
+ className: en("absolute top-0 left-0 -z-1 h-full w-(--active-tab-width) translate-x-(--active-tab-left) border-x border-t border-black bg-white transition-[translate,width]", e),
3721
+ ...t
3722
+ });
3723
+ }
3724
+ function Qr({ className: e, ...t }) {
3725
+ return /* @__PURE__ */ (0, $.jsx)(Dr, {
3726
+ className: en("p-4", e),
3727
+ ...t
3728
+ });
3729
+ }
3730
+ //#endregion
3731
+ export { an as Button, qr as Tabs, Zr as TabsIndicator, Jr as TabsList, Qr as TabsPanel, Xr as TabsTab, en as cn };