@ienlab/react-library 0.16.0-beta.1 → 0.16.0-beta.3

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.
@@ -2,24 +2,25 @@ import { createContext as e, useContext as t, useEffect as n, useMemo as r, useS
2
2
  import { AnimatePresence as a, Reorder as o, motion as s } from "motion/react";
3
3
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
4
4
  import { useTranslation as u } from "react-i18next";
5
- import { documentId as d, getDoc as f, getDocs as p, onSnapshot as m, query as h, serverTimestamp as g, where as _ } from "firebase/firestore";
6
- import { useStore as v } from "zustand/react";
7
- import y from "i18next";
8
- import { getDownloadURL as b, ref as x, uploadBytes as S } from "firebase/storage";
5
+ import { flexRender as d, getCoreRowModel as f, getExpandedRowModel as p, useReactTable as m } from "@tanstack/react-table";
6
+ import { documentId as h, getDoc as g, getDocs as _, onSnapshot as v, query as y, serverTimestamp as b, where as x } from "firebase/firestore";
7
+ import { useStore as S } from "zustand/react";
8
+ import C from "i18next";
9
+ import { getDownloadURL as w, ref as T, uploadBytes as E } from "firebase/storage";
9
10
  //#region \0rolldown/runtime.js
10
- var C = Object.create, w = Object.defineProperty, T = Object.getOwnPropertyDescriptor, E = Object.getOwnPropertyNames, D = Object.getPrototypeOf, O = Object.prototype.hasOwnProperty, k = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), A = (e, t, n, r) => {
11
- if (t && typeof t == "object" || typeof t == "function") for (var i = E(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !O.call(e, s) && s !== n && w(e, s, {
11
+ var D = Object.create, O = Object.defineProperty, ee = Object.getOwnPropertyDescriptor, te = Object.getOwnPropertyNames, k = Object.getPrototypeOf, A = Object.prototype.hasOwnProperty, j = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), ne = (e, t, n, r) => {
12
+ if (t && typeof t == "object" || typeof t == "function") for (var i = te(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !A.call(e, s) && s !== n && O(e, s, {
12
13
  get: ((e) => t[e]).bind(null, s),
13
- enumerable: !(r = T(t, s)) || r.enumerable
14
+ enumerable: !(r = ee(t, s)) || r.enumerable
14
15
  });
15
16
  return e;
16
- }, ee = (e, t, n) => (n = e == null ? {} : C(D(e)), A(t || !e || !e.__esModule ? w(n, "default", {
17
+ }, re = (e, t, n) => (n = e == null ? {} : D(k(e)), ne(t || !e || !e.__esModule ? O(n, "default", {
17
18
  value: e,
18
19
  enumerable: !0
19
20
  }) : n, e));
20
21
  //#endregion
21
22
  //#region src/components/image/CrossfadeImage.tsx
22
- function j({ placeholder: e, src: t, onLoadError: r, ...o }) {
23
+ function M({ placeholder: e, src: t, onLoadError: r, ...o }) {
23
24
  let [l, u] = i(() => {
24
25
  if (typeof window > "u" || !t) return !1;
25
26
  let e = new Image();
@@ -49,20 +50,20 @@ function j({ placeholder: e, src: t, onLoadError: r, ...o }) {
49
50
  }
50
51
  //#endregion
51
52
  //#region src/types/image.tsx
52
- var M = ({ children: e }) => /* @__PURE__ */ c("div", { children: e }), N = (e) => /* @__PURE__ */ c("label", { ...e }), P = ({ children: e }) => /* @__PURE__ */ c("p", { children: e }), F = (e) => /* @__PURE__ */ c("input", { ...e }), I = ({ children: e, ...t }) => /* @__PURE__ */ c("div", {
53
+ var ie = ({ children: e }) => /* @__PURE__ */ c("div", { children: e }), ae = (e) => /* @__PURE__ */ c("label", { ...e }), oe = ({ children: e }) => /* @__PURE__ */ c("p", { children: e }), N = (e) => /* @__PURE__ */ c("input", { ...e }), P = ({ children: e, ...t }) => /* @__PURE__ */ c("div", {
53
54
  ...t,
54
55
  children: e
55
- }), L = (e) => null, te = ({ children: e, ...t }) => /* @__PURE__ */ c("div", {
56
+ }), F = (e) => null, I = ({ children: e, ...t }) => /* @__PURE__ */ c("div", {
56
57
  ...t,
57
58
  children: e
58
- }), ne = ({ children: e, type: t = "button", ...n }) => /* @__PURE__ */ c("button", {
59
+ }), se = ({ children: e, type: t = "button", ...n }) => /* @__PURE__ */ c("button", {
59
60
  type: t,
60
61
  ...n,
61
62
  children: e
62
- }), re = ({ className: e }) => /* @__PURE__ */ c("span", {
63
+ }), L = ({ className: e }) => /* @__PURE__ */ c("span", {
63
64
  className: e,
64
65
  children: "×"
65
- }), ie = ["ko", "en"], R = class {
66
+ }), ce = ["ko", "en"], R = class {
66
67
  url = "";
67
68
  file = null;
68
69
  constructor(e = {}) {
@@ -77,7 +78,7 @@ var M = ({ children: e }) => /* @__PURE__ */ c("div", { children: e }), N = (e)
77
78
  get isEmpty() {
78
79
  return !this.file && !this.url;
79
80
  }
80
- }, z = {
81
+ }, z = (e) => /* @__PURE__ */ c("table", { ...e }), B = (e) => /* @__PURE__ */ c("thead", { ...e }), V = (e) => /* @__PURE__ */ c("tbody", { ...e }), le = (e) => /* @__PURE__ */ c("tr", { ...e }), ue = (e) => /* @__PURE__ */ c("th", { ...e }), de = (e) => /* @__PURE__ */ c("td", { ...e }), H = {
81
82
  wrapper: {
82
83
  display: "flex",
83
84
  flexDirection: "column",
@@ -151,52 +152,52 @@ var M = ({ children: e }) => /* @__PURE__ */ c("div", { children: e }), N = (e)
151
152
  transition: "box-shadow 160ms ease"
152
153
  }
153
154
  };
154
- function B({ id: e, label: t, uploadHintText: n, descriptionText: r, value: a, onChange: o, aspectRatio: s = "1 / 1", accept: d = "image/*", components: f }) {
155
- let { t: p } = u(), m = f?.Field ?? M, h = f?.FieldLabel ?? N, g = f?.FieldDescription ?? P, _ = f?.Input ?? F, v = {
156
- ...z.imageBox,
155
+ function fe({ id: e, label: t, uploadHintText: n, descriptionText: r, value: a, onChange: o, aspectRatio: s = "1 / 1", accept: d = "image/*", components: f }) {
156
+ let { t: p } = u(), m = f?.Field ?? ie, h = f?.FieldLabel ?? ae, g = f?.FieldDescription ?? oe, _ = f?.Input ?? N, v = {
157
+ ...H.imageBox,
157
158
  aspectRatio: s
158
159
  }, [y, b] = i(!1);
159
160
  return /* @__PURE__ */ l(m, { children: [/* @__PURE__ */ c(h, {
160
161
  htmlFor: e,
161
162
  children: t
162
163
  }), /* @__PURE__ */ l("div", {
163
- style: z.wrapper,
164
+ style: H.wrapper,
164
165
  children: [
165
166
  /* @__PURE__ */ c("label", {
166
167
  htmlFor: e,
167
168
  style: {
168
- ...z.trigger,
169
+ ...H.trigger,
169
170
  backgroundColor: y ? "#f9fafb" : "#ffffff"
170
171
  },
171
172
  onMouseEnter: () => b(!0),
172
173
  onMouseLeave: () => b(!1),
173
174
  children: /* @__PURE__ */ l("div", {
174
- style: z.card,
175
+ style: H.card,
175
176
  children: [/* @__PURE__ */ c("div", {
176
- style: z.frame,
177
+ style: H.frame,
177
178
  children: a.url ? /* @__PURE__ */ c("div", {
178
- style: z.imageLayer,
179
+ style: H.imageLayer,
179
180
  children: /* @__PURE__ */ c("div", {
180
181
  style: v,
181
- children: /* @__PURE__ */ c(j, {
182
+ children: /* @__PURE__ */ c(M, {
182
183
  src: a.url,
183
184
  className: "",
184
185
  alt: t,
185
- style: z.image
186
+ style: H.image
186
187
  })
187
188
  })
188
189
  }) : /* @__PURE__ */ l("div", {
189
- style: z.empty,
190
+ style: H.empty,
190
191
  children: [/* @__PURE__ */ c("div", {
191
- style: z.badge,
192
+ style: H.badge,
192
193
  children: p("libs:add_assets")
193
194
  }), /* @__PURE__ */ c("p", {
194
- style: z.hint,
195
+ style: H.hint,
195
196
  children: n
196
197
  })]
197
198
  })
198
199
  }), /* @__PURE__ */ c("div", { style: {
199
- ...z.overlay,
200
+ ...H.overlay,
200
201
  boxShadow: y ? "inset 0 0 0 2px rgba(59, 130, 246, 0.16)" : "inset 0 0 0 0 rgba(59, 130, 246, 0)"
201
202
  } })]
202
203
  })
@@ -220,7 +221,7 @@ function B({ id: e, label: t, uploadHintText: n, descriptionText: r, value: a, o
220
221
  }
221
222
  //#endregion
222
223
  //#region src/components/image/ImageUploadSortableField.tsx
223
- var V = {
224
+ var U = {
224
225
  wrapper: {
225
226
  display: "flex",
226
227
  flexDirection: "column",
@@ -324,8 +325,8 @@ var V = {
324
325
  marginRight: "1rem"
325
326
  }
326
327
  };
327
- function H({ id: e, label: t, descriptionText: n, uploadHintText: r, items: i, onChange: a, aspectRatio: s = "1 / 1", accept: d = "image/*", components: f }) {
328
- let { t: p } = u(), m = f?.Field ?? M, h = f?.FieldLabel ?? N, g = f?.FieldDescription ?? P, _ = f?.Input ?? F, v = f?.ScrollArea ?? I, y = f?.ScrollBar ?? L, b = f?.Card ?? te, x = f?.Button ?? ne, S = f?.CloseIcon ?? re, C = (e) => {
328
+ function pe({ id: e, label: t, descriptionText: n, uploadHintText: r, items: i, onChange: a, aspectRatio: s = "1 / 1", accept: d = "image/*", components: f }) {
329
+ let { t: p } = u(), m = f?.Field ?? ie, h = f?.FieldLabel ?? ae, g = f?.FieldDescription ?? oe, _ = f?.Input ?? N, v = f?.ScrollArea ?? P, y = f?.ScrollBar ?? F, b = f?.Card ?? I, x = f?.Button ?? se, S = f?.CloseIcon ?? L, C = (e) => {
329
330
  e.revokeIfNeeded(), a(i.filter((t) => t !== e));
330
331
  }, w = (e) => {
331
332
  !e || e.length === 0 || a([...i, ...Array.from(e).map((e) => new R({
@@ -333,43 +334,43 @@ function H({ id: e, label: t, descriptionText: n, uploadHintText: r, items: i, o
333
334
  url: URL.createObjectURL(e)
334
335
  }))]);
335
336
  }, T = {
336
- ...V.card,
337
+ ...U.card,
337
338
  aspectRatio: s
338
339
  }, E = {
339
- ...V.uploadCard,
340
+ ...U.uploadCard,
340
341
  aspectRatio: s
341
342
  };
342
343
  return /* @__PURE__ */ l(m, { children: [/* @__PURE__ */ c(h, {
343
344
  htmlFor: e,
344
345
  children: t
345
346
  }), /* @__PURE__ */ l("div", {
346
- style: V.wrapper,
347
+ style: U.wrapper,
347
348
  children: [/* @__PURE__ */ l("div", {
348
- style: V.outerBox,
349
+ style: U.outerBox,
349
350
  children: [/* @__PURE__ */ l(v, {
350
- style: V.scrollArea,
351
+ style: U.scrollArea,
351
352
  children: [/* @__PURE__ */ l(o.Group, {
352
353
  axis: "x",
353
354
  values: i,
354
355
  onReorder: a,
355
356
  layoutScroll: !0,
356
- style: V.list,
357
+ style: U.list,
357
358
  children: [i.map((e) => /* @__PURE__ */ c(o.Item, {
358
359
  value: e,
359
- style: V.item,
360
+ style: U.item,
360
361
  children: /* @__PURE__ */ c(b, {
361
362
  style: T,
362
363
  children: /* @__PURE__ */ l("div", {
363
- style: V.cardInner,
364
- children: [/* @__PURE__ */ c(j, {
364
+ style: U.cardInner,
365
+ children: [/* @__PURE__ */ c(M, {
365
366
  src: e.url,
366
367
  className: "",
367
368
  alt: t,
368
- style: V.image,
369
+ style: U.image,
369
370
  draggable: !1
370
371
  }), /* @__PURE__ */ c(x, {
371
372
  type: "button",
372
- style: V.removeButton,
373
+ style: U.removeButton,
373
374
  onClick: () => C(e),
374
375
  children: /* @__PURE__ */ c(S, {})
375
376
  })]
@@ -377,7 +378,7 @@ function H({ id: e, label: t, descriptionText: n, uploadHintText: r, items: i, o
377
378
  })
378
379
  }, e.url)), /* @__PURE__ */ c("label", {
379
380
  htmlFor: e,
380
- style: V.uploadLabel,
381
+ style: U.uploadLabel,
381
382
  children: /* @__PURE__ */ c(b, {
382
383
  style: E,
383
384
  onMouseEnter: (e) => {
@@ -387,12 +388,12 @@ function H({ id: e, label: t, descriptionText: n, uploadHintText: r, items: i, o
387
388
  e.currentTarget.style.backgroundColor = "#ffffff";
388
389
  },
389
390
  children: /* @__PURE__ */ l("div", {
390
- style: V.uploadCardInner,
391
+ style: U.uploadCardInner,
391
392
  children: [/* @__PURE__ */ c("div", {
392
- style: V.badge,
393
+ style: U.badge,
393
394
  children: p("libs:add_assets")
394
395
  }), /* @__PURE__ */ c("p", {
395
- style: V.hint,
396
+ style: U.hint,
396
397
  children: r
397
398
  })]
398
399
  })
@@ -400,7 +401,7 @@ function H({ id: e, label: t, descriptionText: n, uploadHintText: r, items: i, o
400
401
  })]
401
402
  }), /* @__PURE__ */ c(y, {
402
403
  orientation: "horizontal",
403
- style: V.scrollBar
404
+ style: U.scrollBar
404
405
  })]
405
406
  }), /* @__PURE__ */ c(_, {
406
407
  id: e,
@@ -410,65 +411,1867 @@ function H({ id: e, label: t, descriptionText: n, uploadHintText: r, items: i, o
410
411
  onChange: (e) => {
411
412
  w(e.target.files), e.currentTarget.value = "";
412
413
  },
413
- style: V.hiddenInput
414
+ style: U.hiddenInput
414
415
  })]
415
416
  }), /* @__PURE__ */ c("div", {
416
- style: V.description,
417
+ style: U.description,
417
418
  children: /* @__PURE__ */ c(g, { children: n })
418
419
  })]
419
420
  })] });
420
421
  }
421
422
  //#endregion
423
+ //#region node_modules/clsx/dist/clsx.mjs
424
+ function me(e) {
425
+ var t, n, r = "";
426
+ if (typeof e == "string" || typeof e == "number") r += e;
427
+ else if (typeof e == "object") if (Array.isArray(e)) {
428
+ var i = e.length;
429
+ for (t = 0; t < i; t++) e[t] && (n = me(e[t])) && (r && (r += " "), r += n);
430
+ } else for (n in e) e[n] && (r && (r += " "), r += n);
431
+ return r;
432
+ }
433
+ function he() {
434
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = me(e)) && (r && (r += " "), r += t);
435
+ return r;
436
+ }
437
+ //#endregion
438
+ //#region node_modules/tailwind-merge/dist/bundle-mjs.mjs
439
+ var ge = (e, t) => {
440
+ let n = Array(e.length + t.length);
441
+ for (let t = 0; t < e.length; t++) n[t] = e[t];
442
+ for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
443
+ return n;
444
+ }, _e = (e, t) => ({
445
+ classGroupId: e,
446
+ validator: t
447
+ }), ve = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
448
+ nextPart: e,
449
+ validators: t,
450
+ classGroupId: n
451
+ }), ye = "-", be = [], xe = "arbitrary..", Se = (e) => {
452
+ let t = Te(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
453
+ return {
454
+ getClassGroupId: (e) => {
455
+ if (e.startsWith("[") && e.endsWith("]")) return we(e);
456
+ let n = e.split(ye);
457
+ return Ce(n, +(n[0] === "" && n.length > 1), t);
458
+ },
459
+ getConflictingClassGroupIds: (e, t) => {
460
+ if (t) {
461
+ let t = r[e], i = n[e];
462
+ return t ? i ? ge(i, t) : t : i || be;
463
+ }
464
+ return n[e] || be;
465
+ }
466
+ };
467
+ }, Ce = (e, t, n) => {
468
+ if (e.length - t === 0) return n.classGroupId;
469
+ let r = e[t], i = n.nextPart.get(r);
470
+ if (i) {
471
+ let n = Ce(e, t + 1, i);
472
+ if (n) return n;
473
+ }
474
+ let a = n.validators;
475
+ if (a === null) return;
476
+ let o = t === 0 ? e.join(ye) : e.slice(t).join(ye), s = a.length;
477
+ for (let e = 0; e < s; e++) {
478
+ let t = a[e];
479
+ if (t.validator(o)) return t.classGroupId;
480
+ }
481
+ }, we = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
482
+ let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
483
+ return r ? xe + r : void 0;
484
+ })(), Te = (e) => {
485
+ let { theme: t, classGroups: n } = e;
486
+ return Ee(n, t);
487
+ }, Ee = (e, t) => {
488
+ let n = ve();
489
+ for (let r in e) {
490
+ let i = e[r];
491
+ De(i, n, r, t);
492
+ }
493
+ return n;
494
+ }, De = (e, t, n, r) => {
495
+ let i = e.length;
496
+ for (let a = 0; a < i; a++) {
497
+ let i = e[a];
498
+ Oe(i, t, n, r);
499
+ }
500
+ }, Oe = (e, t, n, r) => {
501
+ if (typeof e == "string") {
502
+ ke(e, t, n);
503
+ return;
504
+ }
505
+ if (typeof e == "function") {
506
+ Ae(e, t, n, r);
507
+ return;
508
+ }
509
+ je(e, t, n, r);
510
+ }, ke = (e, t, n) => {
511
+ let r = e === "" ? t : Me(t, e);
512
+ r.classGroupId = n;
513
+ }, Ae = (e, t, n, r) => {
514
+ if (Ne(e)) {
515
+ De(e(r), t, n, r);
516
+ return;
517
+ }
518
+ t.validators === null && (t.validators = []), t.validators.push(_e(n, e));
519
+ }, je = (e, t, n, r) => {
520
+ let i = Object.entries(e), a = i.length;
521
+ for (let e = 0; e < a; e++) {
522
+ let [a, o] = i[e];
523
+ De(o, Me(t, a), n, r);
524
+ }
525
+ }, Me = (e, t) => {
526
+ let n = e, r = t.split(ye), i = r.length;
527
+ for (let e = 0; e < i; e++) {
528
+ let t = r[e], i = n.nextPart.get(t);
529
+ i || (i = ve(), n.nextPart.set(t, i)), n = i;
530
+ }
531
+ return n;
532
+ }, Ne = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Pe = (e) => {
533
+ if (e < 1) return {
534
+ get: () => void 0,
535
+ set: () => {}
536
+ };
537
+ let t = 0, n = Object.create(null), r = Object.create(null), i = (i, a) => {
538
+ n[i] = a, t++, t > e && (t = 0, r = n, n = Object.create(null));
539
+ };
540
+ return {
541
+ get(e) {
542
+ let t = n[e];
543
+ if (t !== void 0) return t;
544
+ if ((t = r[e]) !== void 0) return i(e, t), t;
545
+ },
546
+ set(e, t) {
547
+ e in n ? n[e] = t : i(e, t);
548
+ }
549
+ };
550
+ }, Fe = "!", Ie = ":", Le = [], Re = (e, t, n, r, i) => ({
551
+ modifiers: e,
552
+ hasImportantModifier: t,
553
+ baseClassName: n,
554
+ maybePostfixModifierPosition: r,
555
+ isExternal: i
556
+ }), ze = (e) => {
557
+ let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
558
+ let t = [], n = 0, r = 0, i = 0, a, o = e.length;
559
+ for (let s = 0; s < o; s++) {
560
+ let o = e[s];
561
+ if (n === 0 && r === 0) {
562
+ if (o === Ie) {
563
+ t.push(e.slice(i, s)), i = s + 1;
564
+ continue;
565
+ }
566
+ if (o === "/") {
567
+ a = s;
568
+ continue;
569
+ }
570
+ }
571
+ o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
572
+ }
573
+ let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
574
+ s.endsWith(Fe) ? (c = s.slice(0, -1), l = !0) : s.startsWith(Fe) && (c = s.slice(1), l = !0);
575
+ let u = a && a > i ? a - i : void 0;
576
+ return Re(t, l, c, u);
577
+ };
578
+ if (t) {
579
+ let e = t + Ie, n = r;
580
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : Re(Le, !1, t, void 0, !0);
581
+ }
582
+ if (n) {
583
+ let e = r;
584
+ r = (t) => n({
585
+ className: t,
586
+ parseClassName: e
587
+ });
588
+ }
589
+ return r;
590
+ }, Be = (e) => {
591
+ let t = /* @__PURE__ */ new Map();
592
+ return e.orderSensitiveModifiers.forEach((e, n) => {
593
+ t.set(e, 1e6 + n);
594
+ }), (e) => {
595
+ let n = [], r = [];
596
+ for (let i = 0; i < e.length; i++) {
597
+ let a = e[i], o = a[0] === "[", s = t.has(a);
598
+ o || s ? (r.length > 0 && (r.sort(), n.push(...r), r = []), n.push(a)) : r.push(a);
599
+ }
600
+ return r.length > 0 && (r.sort(), n.push(...r)), n;
601
+ };
602
+ }, Ve = (e) => ({
603
+ cache: Pe(e.cacheSize),
604
+ parseClassName: ze(e),
605
+ sortModifiers: Be(e),
606
+ postfixLookupClassGroupIds: He(e),
607
+ ...Se(e)
608
+ }), He = (e) => {
609
+ let t = Object.create(null), n = e.postfixLookupClassGroups;
610
+ if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
611
+ return t;
612
+ }, Ue = /\s+/, We = (e, t) => {
613
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Ue), l = "";
614
+ for (let e = c.length - 1; e >= 0; --e) {
615
+ let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
616
+ if (u) {
617
+ l = t + (l.length > 0 ? " " + l : l);
618
+ continue;
619
+ }
620
+ let h = !!m, g;
621
+ if (h) {
622
+ g = r(p.substring(0, m));
623
+ let e = g && o[g] ? r(p) : void 0;
624
+ e && e !== g && (g = e, h = !1);
625
+ } else g = r(p);
626
+ if (!g) {
627
+ if (!h) {
628
+ l = t + (l.length > 0 ? " " + l : l);
629
+ continue;
630
+ }
631
+ if (g = r(p), !g) {
632
+ l = t + (l.length > 0 ? " " + l : l);
633
+ continue;
634
+ }
635
+ h = !1;
636
+ }
637
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + Fe : _, y = v + g;
638
+ if (s.indexOf(y) > -1) continue;
639
+ s.push(y);
640
+ let b = i(g, h);
641
+ for (let e = 0; e < b.length; ++e) {
642
+ let t = b[e];
643
+ s.push(v + t);
644
+ }
645
+ l = t + (l.length > 0 ? " " + l : l);
646
+ }
647
+ return l;
648
+ }, Ge = (...e) => {
649
+ let t = 0, n, r, i = "";
650
+ for (; t < e.length;) (n = e[t++]) && (r = Ke(n)) && (i && (i += " "), i += r);
651
+ return i;
652
+ }, Ke = (e) => {
653
+ if (typeof e == "string") return e;
654
+ let t, n = "";
655
+ for (let r = 0; r < e.length; r++) e[r] && (t = Ke(e[r])) && (n && (n += " "), n += t);
656
+ return n;
657
+ }, qe = (e, ...t) => {
658
+ let n, r, i, a, o = (o) => (n = Ve(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
659
+ let t = r(e);
660
+ if (t) return t;
661
+ let a = We(e, n);
662
+ return i(e, a), a;
663
+ };
664
+ return a = o, (...e) => a(Ge(...e));
665
+ }, Je = [], W = (e) => {
666
+ let t = (t) => t[e] || Je;
667
+ return t.isThemeGetter = !0, t;
668
+ }, Ye = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Xe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ze = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Qe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, $e = /\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$/, et = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, tt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, nt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, G = (e) => Ze.test(e), K = (e) => !!e && !Number.isNaN(Number(e)), q = (e) => !!e && Number.isInteger(Number(e)), rt = (e) => e.endsWith("%") && K(e.slice(0, -1)), J = (e) => Qe.test(e), it = () => !0, at = (e) => $e.test(e) && !et.test(e), ot = () => !1, st = (e) => tt.test(e), ct = (e) => nt.test(e), lt = (e) => !Y(e) && !Z(e), ut = (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)), dt = (e) => Q(e, Dt, ot), Y = (e) => Ye.test(e), X = (e) => Q(e, Ot, at), ft = (e) => Q(e, kt, K), pt = (e) => Q(e, jt, it), mt = (e) => Q(e, At, ot), ht = (e) => Q(e, Tt, ot), gt = (e) => Q(e, Et, ct), _t = (e) => Q(e, Mt, st), Z = (e) => Xe.test(e), vt = (e) => $(e, Ot), yt = (e) => $(e, At), bt = (e) => $(e, Tt), xt = (e) => $(e, Dt), St = (e) => $(e, Et), Ct = (e) => $(e, Mt, !0), wt = (e) => $(e, jt, !0), Q = (e, t, n) => {
669
+ let r = Ye.exec(e);
670
+ return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
671
+ }, $ = (e, t, n = !1) => {
672
+ let r = Xe.exec(e);
673
+ return r ? r[1] ? t(r[1]) : n : !1;
674
+ }, Tt = (e) => e === "position" || e === "percentage", Et = (e) => e === "image" || e === "url", Dt = (e) => e === "length" || e === "size" || e === "bg-size", Ot = (e) => e === "length", kt = (e) => e === "number", At = (e) => e === "family-name", jt = (e) => e === "number" || e === "weight", Mt = (e) => e === "shadow", Nt = /* @__PURE__ */ qe(() => {
675
+ let e = W("color"), t = W("font"), n = W("text"), r = W("font-weight"), i = W("tracking"), a = W("leading"), o = W("breakpoint"), s = W("container"), c = W("spacing"), l = W("radius"), u = W("shadow"), d = W("inset-shadow"), f = W("text-shadow"), p = W("drop-shadow"), m = W("blur"), h = W("perspective"), g = W("aspect"), _ = W("ease"), v = W("animate"), y = () => [
676
+ "auto",
677
+ "avoid",
678
+ "all",
679
+ "avoid-page",
680
+ "page",
681
+ "left",
682
+ "right",
683
+ "column"
684
+ ], b = () => [
685
+ "center",
686
+ "top",
687
+ "bottom",
688
+ "left",
689
+ "right",
690
+ "top-left",
691
+ "left-top",
692
+ "top-right",
693
+ "right-top",
694
+ "bottom-right",
695
+ "right-bottom",
696
+ "bottom-left",
697
+ "left-bottom"
698
+ ], x = () => [
699
+ ...b(),
700
+ Z,
701
+ Y
702
+ ], S = () => [
703
+ "auto",
704
+ "hidden",
705
+ "clip",
706
+ "visible",
707
+ "scroll"
708
+ ], C = () => [
709
+ "auto",
710
+ "contain",
711
+ "none"
712
+ ], w = () => [
713
+ Z,
714
+ Y,
715
+ c
716
+ ], T = () => [
717
+ G,
718
+ "full",
719
+ "auto",
720
+ ...w()
721
+ ], E = () => [
722
+ q,
723
+ "none",
724
+ "subgrid",
725
+ Z,
726
+ Y
727
+ ], D = () => [
728
+ "auto",
729
+ { span: [
730
+ "full",
731
+ q,
732
+ Z,
733
+ Y
734
+ ] },
735
+ q,
736
+ Z,
737
+ Y
738
+ ], O = () => [
739
+ q,
740
+ "auto",
741
+ Z,
742
+ Y
743
+ ], ee = () => [
744
+ "auto",
745
+ "min",
746
+ "max",
747
+ "fr",
748
+ Z,
749
+ Y
750
+ ], te = () => [
751
+ "start",
752
+ "end",
753
+ "center",
754
+ "between",
755
+ "around",
756
+ "evenly",
757
+ "stretch",
758
+ "baseline",
759
+ "center-safe",
760
+ "end-safe"
761
+ ], k = () => [
762
+ "start",
763
+ "end",
764
+ "center",
765
+ "stretch",
766
+ "center-safe",
767
+ "end-safe"
768
+ ], A = () => ["auto", ...w()], j = () => [
769
+ G,
770
+ "auto",
771
+ "full",
772
+ "dvw",
773
+ "dvh",
774
+ "lvw",
775
+ "lvh",
776
+ "svw",
777
+ "svh",
778
+ "min",
779
+ "max",
780
+ "fit",
781
+ ...w()
782
+ ], ne = () => [
783
+ G,
784
+ "screen",
785
+ "full",
786
+ "dvw",
787
+ "lvw",
788
+ "svw",
789
+ "min",
790
+ "max",
791
+ "fit",
792
+ ...w()
793
+ ], re = () => [
794
+ G,
795
+ "screen",
796
+ "full",
797
+ "lh",
798
+ "dvh",
799
+ "lvh",
800
+ "svh",
801
+ "min",
802
+ "max",
803
+ "fit",
804
+ ...w()
805
+ ], M = () => [
806
+ e,
807
+ Z,
808
+ Y
809
+ ], ie = () => [
810
+ ...b(),
811
+ bt,
812
+ ht,
813
+ { position: [Z, Y] }
814
+ ], ae = () => ["no-repeat", { repeat: [
815
+ "",
816
+ "x",
817
+ "y",
818
+ "space",
819
+ "round"
820
+ ] }], oe = () => [
821
+ "auto",
822
+ "cover",
823
+ "contain",
824
+ xt,
825
+ dt,
826
+ { size: [Z, Y] }
827
+ ], N = () => [
828
+ rt,
829
+ vt,
830
+ X
831
+ ], P = () => [
832
+ "",
833
+ "none",
834
+ "full",
835
+ l,
836
+ Z,
837
+ Y
838
+ ], F = () => [
839
+ "",
840
+ K,
841
+ vt,
842
+ X
843
+ ], I = () => [
844
+ "solid",
845
+ "dashed",
846
+ "dotted",
847
+ "double"
848
+ ], se = () => [
849
+ "normal",
850
+ "multiply",
851
+ "screen",
852
+ "overlay",
853
+ "darken",
854
+ "lighten",
855
+ "color-dodge",
856
+ "color-burn",
857
+ "hard-light",
858
+ "soft-light",
859
+ "difference",
860
+ "exclusion",
861
+ "hue",
862
+ "saturation",
863
+ "color",
864
+ "luminosity"
865
+ ], L = () => [
866
+ K,
867
+ rt,
868
+ bt,
869
+ ht
870
+ ], ce = () => [
871
+ "",
872
+ "none",
873
+ m,
874
+ Z,
875
+ Y
876
+ ], R = () => [
877
+ "none",
878
+ K,
879
+ Z,
880
+ Y
881
+ ], z = () => [
882
+ "none",
883
+ K,
884
+ Z,
885
+ Y
886
+ ], B = () => [
887
+ K,
888
+ Z,
889
+ Y
890
+ ], V = () => [
891
+ G,
892
+ "full",
893
+ ...w()
894
+ ];
895
+ return {
896
+ cacheSize: 500,
897
+ theme: {
898
+ animate: [
899
+ "spin",
900
+ "ping",
901
+ "pulse",
902
+ "bounce"
903
+ ],
904
+ aspect: ["video"],
905
+ blur: [J],
906
+ breakpoint: [J],
907
+ color: [it],
908
+ container: [J],
909
+ "drop-shadow": [J],
910
+ ease: [
911
+ "in",
912
+ "out",
913
+ "in-out"
914
+ ],
915
+ font: [lt],
916
+ "font-weight": [
917
+ "thin",
918
+ "extralight",
919
+ "light",
920
+ "normal",
921
+ "medium",
922
+ "semibold",
923
+ "bold",
924
+ "extrabold",
925
+ "black"
926
+ ],
927
+ "inset-shadow": [J],
928
+ leading: [
929
+ "none",
930
+ "tight",
931
+ "snug",
932
+ "normal",
933
+ "relaxed",
934
+ "loose"
935
+ ],
936
+ perspective: [
937
+ "dramatic",
938
+ "near",
939
+ "normal",
940
+ "midrange",
941
+ "distant",
942
+ "none"
943
+ ],
944
+ radius: [J],
945
+ shadow: [J],
946
+ spacing: ["px", K],
947
+ text: [J],
948
+ "text-shadow": [J],
949
+ tracking: [
950
+ "tighter",
951
+ "tight",
952
+ "normal",
953
+ "wide",
954
+ "wider",
955
+ "widest"
956
+ ]
957
+ },
958
+ classGroups: {
959
+ aspect: [{ aspect: [
960
+ "auto",
961
+ "square",
962
+ G,
963
+ Y,
964
+ Z,
965
+ g
966
+ ] }],
967
+ container: ["container"],
968
+ "container-type": [{ "@container": [
969
+ "",
970
+ "normal",
971
+ "size",
972
+ Z,
973
+ Y
974
+ ] }],
975
+ "container-named": [ut],
976
+ columns: [{ columns: [
977
+ K,
978
+ Y,
979
+ Z,
980
+ s
981
+ ] }],
982
+ "break-after": [{ "break-after": y() }],
983
+ "break-before": [{ "break-before": y() }],
984
+ "break-inside": [{ "break-inside": [
985
+ "auto",
986
+ "avoid",
987
+ "avoid-page",
988
+ "avoid-column"
989
+ ] }],
990
+ "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
991
+ box: [{ box: ["border", "content"] }],
992
+ display: [
993
+ "block",
994
+ "inline-block",
995
+ "inline",
996
+ "flex",
997
+ "inline-flex",
998
+ "table",
999
+ "inline-table",
1000
+ "table-caption",
1001
+ "table-cell",
1002
+ "table-column",
1003
+ "table-column-group",
1004
+ "table-footer-group",
1005
+ "table-header-group",
1006
+ "table-row-group",
1007
+ "table-row",
1008
+ "flow-root",
1009
+ "grid",
1010
+ "inline-grid",
1011
+ "contents",
1012
+ "list-item",
1013
+ "hidden"
1014
+ ],
1015
+ sr: ["sr-only", "not-sr-only"],
1016
+ float: [{ float: [
1017
+ "right",
1018
+ "left",
1019
+ "none",
1020
+ "start",
1021
+ "end"
1022
+ ] }],
1023
+ clear: [{ clear: [
1024
+ "left",
1025
+ "right",
1026
+ "both",
1027
+ "none",
1028
+ "start",
1029
+ "end"
1030
+ ] }],
1031
+ isolation: ["isolate", "isolation-auto"],
1032
+ "object-fit": [{ object: [
1033
+ "contain",
1034
+ "cover",
1035
+ "fill",
1036
+ "none",
1037
+ "scale-down"
1038
+ ] }],
1039
+ "object-position": [{ object: x() }],
1040
+ overflow: [{ overflow: S() }],
1041
+ "overflow-x": [{ "overflow-x": S() }],
1042
+ "overflow-y": [{ "overflow-y": S() }],
1043
+ overscroll: [{ overscroll: C() }],
1044
+ "overscroll-x": [{ "overscroll-x": C() }],
1045
+ "overscroll-y": [{ "overscroll-y": C() }],
1046
+ position: [
1047
+ "static",
1048
+ "fixed",
1049
+ "absolute",
1050
+ "relative",
1051
+ "sticky"
1052
+ ],
1053
+ inset: [{ inset: T() }],
1054
+ "inset-x": [{ "inset-x": T() }],
1055
+ "inset-y": [{ "inset-y": T() }],
1056
+ start: [{
1057
+ "inset-s": T(),
1058
+ start: T()
1059
+ }],
1060
+ end: [{
1061
+ "inset-e": T(),
1062
+ end: T()
1063
+ }],
1064
+ "inset-bs": [{ "inset-bs": T() }],
1065
+ "inset-be": [{ "inset-be": T() }],
1066
+ top: [{ top: T() }],
1067
+ right: [{ right: T() }],
1068
+ bottom: [{ bottom: T() }],
1069
+ left: [{ left: T() }],
1070
+ visibility: [
1071
+ "visible",
1072
+ "invisible",
1073
+ "collapse"
1074
+ ],
1075
+ z: [{ z: [
1076
+ q,
1077
+ "auto",
1078
+ Z,
1079
+ Y
1080
+ ] }],
1081
+ basis: [{ basis: [
1082
+ G,
1083
+ "full",
1084
+ "auto",
1085
+ s,
1086
+ ...w()
1087
+ ] }],
1088
+ "flex-direction": [{ flex: [
1089
+ "row",
1090
+ "row-reverse",
1091
+ "col",
1092
+ "col-reverse"
1093
+ ] }],
1094
+ "flex-wrap": [{ flex: [
1095
+ "nowrap",
1096
+ "wrap",
1097
+ "wrap-reverse"
1098
+ ] }],
1099
+ flex: [{ flex: [
1100
+ K,
1101
+ G,
1102
+ "auto",
1103
+ "initial",
1104
+ "none",
1105
+ Y
1106
+ ] }],
1107
+ grow: [{ grow: [
1108
+ "",
1109
+ K,
1110
+ Z,
1111
+ Y
1112
+ ] }],
1113
+ shrink: [{ shrink: [
1114
+ "",
1115
+ K,
1116
+ Z,
1117
+ Y
1118
+ ] }],
1119
+ order: [{ order: [
1120
+ q,
1121
+ "first",
1122
+ "last",
1123
+ "none",
1124
+ Z,
1125
+ Y
1126
+ ] }],
1127
+ "grid-cols": [{ "grid-cols": E() }],
1128
+ "col-start-end": [{ col: D() }],
1129
+ "col-start": [{ "col-start": O() }],
1130
+ "col-end": [{ "col-end": O() }],
1131
+ "grid-rows": [{ "grid-rows": E() }],
1132
+ "row-start-end": [{ row: D() }],
1133
+ "row-start": [{ "row-start": O() }],
1134
+ "row-end": [{ "row-end": O() }],
1135
+ "grid-flow": [{ "grid-flow": [
1136
+ "row",
1137
+ "col",
1138
+ "dense",
1139
+ "row-dense",
1140
+ "col-dense"
1141
+ ] }],
1142
+ "auto-cols": [{ "auto-cols": ee() }],
1143
+ "auto-rows": [{ "auto-rows": ee() }],
1144
+ gap: [{ gap: w() }],
1145
+ "gap-x": [{ "gap-x": w() }],
1146
+ "gap-y": [{ "gap-y": w() }],
1147
+ "justify-content": [{ justify: [...te(), "normal"] }],
1148
+ "justify-items": [{ "justify-items": [...k(), "normal"] }],
1149
+ "justify-self": [{ "justify-self": ["auto", ...k()] }],
1150
+ "align-content": [{ content: ["normal", ...te()] }],
1151
+ "align-items": [{ items: [...k(), { baseline: ["", "last"] }] }],
1152
+ "align-self": [{ self: [
1153
+ "auto",
1154
+ ...k(),
1155
+ { baseline: ["", "last"] }
1156
+ ] }],
1157
+ "place-content": [{ "place-content": te() }],
1158
+ "place-items": [{ "place-items": [...k(), "baseline"] }],
1159
+ "place-self": [{ "place-self": ["auto", ...k()] }],
1160
+ p: [{ p: w() }],
1161
+ px: [{ px: w() }],
1162
+ py: [{ py: w() }],
1163
+ ps: [{ ps: w() }],
1164
+ pe: [{ pe: w() }],
1165
+ pbs: [{ pbs: w() }],
1166
+ pbe: [{ pbe: w() }],
1167
+ pt: [{ pt: w() }],
1168
+ pr: [{ pr: w() }],
1169
+ pb: [{ pb: w() }],
1170
+ pl: [{ pl: w() }],
1171
+ m: [{ m: A() }],
1172
+ mx: [{ mx: A() }],
1173
+ my: [{ my: A() }],
1174
+ ms: [{ ms: A() }],
1175
+ me: [{ me: A() }],
1176
+ mbs: [{ mbs: A() }],
1177
+ mbe: [{ mbe: A() }],
1178
+ mt: [{ mt: A() }],
1179
+ mr: [{ mr: A() }],
1180
+ mb: [{ mb: A() }],
1181
+ ml: [{ ml: A() }],
1182
+ "space-x": [{ "space-x": w() }],
1183
+ "space-x-reverse": ["space-x-reverse"],
1184
+ "space-y": [{ "space-y": w() }],
1185
+ "space-y-reverse": ["space-y-reverse"],
1186
+ size: [{ size: j() }],
1187
+ "inline-size": [{ inline: ["auto", ...ne()] }],
1188
+ "min-inline-size": [{ "min-inline": ["auto", ...ne()] }],
1189
+ "max-inline-size": [{ "max-inline": ["none", ...ne()] }],
1190
+ "block-size": [{ block: ["auto", ...re()] }],
1191
+ "min-block-size": [{ "min-block": ["auto", ...re()] }],
1192
+ "max-block-size": [{ "max-block": ["none", ...re()] }],
1193
+ w: [{ w: [
1194
+ s,
1195
+ "screen",
1196
+ ...j()
1197
+ ] }],
1198
+ "min-w": [{ "min-w": [
1199
+ s,
1200
+ "screen",
1201
+ "none",
1202
+ ...j()
1203
+ ] }],
1204
+ "max-w": [{ "max-w": [
1205
+ s,
1206
+ "screen",
1207
+ "none",
1208
+ "prose",
1209
+ { screen: [o] },
1210
+ ...j()
1211
+ ] }],
1212
+ h: [{ h: [
1213
+ "screen",
1214
+ "lh",
1215
+ ...j()
1216
+ ] }],
1217
+ "min-h": [{ "min-h": [
1218
+ "screen",
1219
+ "lh",
1220
+ "none",
1221
+ ...j()
1222
+ ] }],
1223
+ "max-h": [{ "max-h": [
1224
+ "screen",
1225
+ "lh",
1226
+ ...j()
1227
+ ] }],
1228
+ "font-size": [{ text: [
1229
+ "base",
1230
+ n,
1231
+ vt,
1232
+ X
1233
+ ] }],
1234
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1235
+ "font-style": ["italic", "not-italic"],
1236
+ "font-weight": [{ font: [
1237
+ r,
1238
+ wt,
1239
+ pt
1240
+ ] }],
1241
+ "font-stretch": [{ "font-stretch": [
1242
+ "ultra-condensed",
1243
+ "extra-condensed",
1244
+ "condensed",
1245
+ "semi-condensed",
1246
+ "normal",
1247
+ "semi-expanded",
1248
+ "expanded",
1249
+ "extra-expanded",
1250
+ "ultra-expanded",
1251
+ rt,
1252
+ Y
1253
+ ] }],
1254
+ "font-family": [{ font: [
1255
+ yt,
1256
+ mt,
1257
+ t
1258
+ ] }],
1259
+ "font-features": [{ "font-features": [Y] }],
1260
+ "fvn-normal": ["normal-nums"],
1261
+ "fvn-ordinal": ["ordinal"],
1262
+ "fvn-slashed-zero": ["slashed-zero"],
1263
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1264
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1265
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1266
+ tracking: [{ tracking: [
1267
+ i,
1268
+ Z,
1269
+ Y
1270
+ ] }],
1271
+ "line-clamp": [{ "line-clamp": [
1272
+ K,
1273
+ "none",
1274
+ Z,
1275
+ ft
1276
+ ] }],
1277
+ leading: [{ leading: [a, ...w()] }],
1278
+ "list-image": [{ "list-image": [
1279
+ "none",
1280
+ Z,
1281
+ Y
1282
+ ] }],
1283
+ "list-style-position": [{ list: ["inside", "outside"] }],
1284
+ "list-style-type": [{ list: [
1285
+ "disc",
1286
+ "decimal",
1287
+ "none",
1288
+ Z,
1289
+ Y
1290
+ ] }],
1291
+ "text-alignment": [{ text: [
1292
+ "left",
1293
+ "center",
1294
+ "right",
1295
+ "justify",
1296
+ "start",
1297
+ "end"
1298
+ ] }],
1299
+ "placeholder-color": [{ placeholder: M() }],
1300
+ "text-color": [{ text: M() }],
1301
+ "text-decoration": [
1302
+ "underline",
1303
+ "overline",
1304
+ "line-through",
1305
+ "no-underline"
1306
+ ],
1307
+ "text-decoration-style": [{ decoration: [...I(), "wavy"] }],
1308
+ "text-decoration-thickness": [{ decoration: [
1309
+ K,
1310
+ "from-font",
1311
+ "auto",
1312
+ Z,
1313
+ X
1314
+ ] }],
1315
+ "text-decoration-color": [{ decoration: M() }],
1316
+ "underline-offset": [{ "underline-offset": [
1317
+ K,
1318
+ "auto",
1319
+ Z,
1320
+ Y
1321
+ ] }],
1322
+ "text-transform": [
1323
+ "uppercase",
1324
+ "lowercase",
1325
+ "capitalize",
1326
+ "normal-case"
1327
+ ],
1328
+ "text-overflow": [
1329
+ "truncate",
1330
+ "text-ellipsis",
1331
+ "text-clip"
1332
+ ],
1333
+ "text-wrap": [{ text: [
1334
+ "wrap",
1335
+ "nowrap",
1336
+ "balance",
1337
+ "pretty"
1338
+ ] }],
1339
+ indent: [{ indent: w() }],
1340
+ "tab-size": [{ tab: [
1341
+ q,
1342
+ Z,
1343
+ Y
1344
+ ] }],
1345
+ "vertical-align": [{ align: [
1346
+ "baseline",
1347
+ "top",
1348
+ "middle",
1349
+ "bottom",
1350
+ "text-top",
1351
+ "text-bottom",
1352
+ "sub",
1353
+ "super",
1354
+ Z,
1355
+ Y
1356
+ ] }],
1357
+ whitespace: [{ whitespace: [
1358
+ "normal",
1359
+ "nowrap",
1360
+ "pre",
1361
+ "pre-line",
1362
+ "pre-wrap",
1363
+ "break-spaces"
1364
+ ] }],
1365
+ break: [{ break: [
1366
+ "normal",
1367
+ "words",
1368
+ "all",
1369
+ "keep"
1370
+ ] }],
1371
+ wrap: [{ wrap: [
1372
+ "break-word",
1373
+ "anywhere",
1374
+ "normal"
1375
+ ] }],
1376
+ hyphens: [{ hyphens: [
1377
+ "none",
1378
+ "manual",
1379
+ "auto"
1380
+ ] }],
1381
+ content: [{ content: [
1382
+ "none",
1383
+ Z,
1384
+ Y
1385
+ ] }],
1386
+ "bg-attachment": [{ bg: [
1387
+ "fixed",
1388
+ "local",
1389
+ "scroll"
1390
+ ] }],
1391
+ "bg-clip": [{ "bg-clip": [
1392
+ "border",
1393
+ "padding",
1394
+ "content",
1395
+ "text"
1396
+ ] }],
1397
+ "bg-origin": [{ "bg-origin": [
1398
+ "border",
1399
+ "padding",
1400
+ "content"
1401
+ ] }],
1402
+ "bg-position": [{ bg: ie() }],
1403
+ "bg-repeat": [{ bg: ae() }],
1404
+ "bg-size": [{ bg: oe() }],
1405
+ "bg-image": [{ bg: [
1406
+ "none",
1407
+ {
1408
+ linear: [
1409
+ { to: [
1410
+ "t",
1411
+ "tr",
1412
+ "r",
1413
+ "br",
1414
+ "b",
1415
+ "bl",
1416
+ "l",
1417
+ "tl"
1418
+ ] },
1419
+ q,
1420
+ Z,
1421
+ Y
1422
+ ],
1423
+ radial: [
1424
+ "",
1425
+ Z,
1426
+ Y
1427
+ ],
1428
+ conic: [
1429
+ q,
1430
+ Z,
1431
+ Y
1432
+ ]
1433
+ },
1434
+ St,
1435
+ gt
1436
+ ] }],
1437
+ "bg-color": [{ bg: M() }],
1438
+ "gradient-from-pos": [{ from: N() }],
1439
+ "gradient-via-pos": [{ via: N() }],
1440
+ "gradient-to-pos": [{ to: N() }],
1441
+ "gradient-from": [{ from: M() }],
1442
+ "gradient-via": [{ via: M() }],
1443
+ "gradient-to": [{ to: M() }],
1444
+ rounded: [{ rounded: P() }],
1445
+ "rounded-s": [{ "rounded-s": P() }],
1446
+ "rounded-e": [{ "rounded-e": P() }],
1447
+ "rounded-t": [{ "rounded-t": P() }],
1448
+ "rounded-r": [{ "rounded-r": P() }],
1449
+ "rounded-b": [{ "rounded-b": P() }],
1450
+ "rounded-l": [{ "rounded-l": P() }],
1451
+ "rounded-ss": [{ "rounded-ss": P() }],
1452
+ "rounded-se": [{ "rounded-se": P() }],
1453
+ "rounded-ee": [{ "rounded-ee": P() }],
1454
+ "rounded-es": [{ "rounded-es": P() }],
1455
+ "rounded-tl": [{ "rounded-tl": P() }],
1456
+ "rounded-tr": [{ "rounded-tr": P() }],
1457
+ "rounded-br": [{ "rounded-br": P() }],
1458
+ "rounded-bl": [{ "rounded-bl": P() }],
1459
+ "border-w": [{ border: F() }],
1460
+ "border-w-x": [{ "border-x": F() }],
1461
+ "border-w-y": [{ "border-y": F() }],
1462
+ "border-w-s": [{ "border-s": F() }],
1463
+ "border-w-e": [{ "border-e": F() }],
1464
+ "border-w-bs": [{ "border-bs": F() }],
1465
+ "border-w-be": [{ "border-be": F() }],
1466
+ "border-w-t": [{ "border-t": F() }],
1467
+ "border-w-r": [{ "border-r": F() }],
1468
+ "border-w-b": [{ "border-b": F() }],
1469
+ "border-w-l": [{ "border-l": F() }],
1470
+ "divide-x": [{ "divide-x": F() }],
1471
+ "divide-x-reverse": ["divide-x-reverse"],
1472
+ "divide-y": [{ "divide-y": F() }],
1473
+ "divide-y-reverse": ["divide-y-reverse"],
1474
+ "border-style": [{ border: [
1475
+ ...I(),
1476
+ "hidden",
1477
+ "none"
1478
+ ] }],
1479
+ "divide-style": [{ divide: [
1480
+ ...I(),
1481
+ "hidden",
1482
+ "none"
1483
+ ] }],
1484
+ "border-color": [{ border: M() }],
1485
+ "border-color-x": [{ "border-x": M() }],
1486
+ "border-color-y": [{ "border-y": M() }],
1487
+ "border-color-s": [{ "border-s": M() }],
1488
+ "border-color-e": [{ "border-e": M() }],
1489
+ "border-color-bs": [{ "border-bs": M() }],
1490
+ "border-color-be": [{ "border-be": M() }],
1491
+ "border-color-t": [{ "border-t": M() }],
1492
+ "border-color-r": [{ "border-r": M() }],
1493
+ "border-color-b": [{ "border-b": M() }],
1494
+ "border-color-l": [{ "border-l": M() }],
1495
+ "divide-color": [{ divide: M() }],
1496
+ "outline-style": [{ outline: [
1497
+ ...I(),
1498
+ "none",
1499
+ "hidden"
1500
+ ] }],
1501
+ "outline-offset": [{ "outline-offset": [
1502
+ K,
1503
+ Z,
1504
+ Y
1505
+ ] }],
1506
+ "outline-w": [{ outline: [
1507
+ "",
1508
+ K,
1509
+ vt,
1510
+ X
1511
+ ] }],
1512
+ "outline-color": [{ outline: M() }],
1513
+ shadow: [{ shadow: [
1514
+ "",
1515
+ "none",
1516
+ u,
1517
+ Ct,
1518
+ _t
1519
+ ] }],
1520
+ "shadow-color": [{ shadow: M() }],
1521
+ "inset-shadow": [{ "inset-shadow": [
1522
+ "none",
1523
+ d,
1524
+ Ct,
1525
+ _t
1526
+ ] }],
1527
+ "inset-shadow-color": [{ "inset-shadow": M() }],
1528
+ "ring-w": [{ ring: F() }],
1529
+ "ring-w-inset": ["ring-inset"],
1530
+ "ring-color": [{ ring: M() }],
1531
+ "ring-offset-w": [{ "ring-offset": [K, X] }],
1532
+ "ring-offset-color": [{ "ring-offset": M() }],
1533
+ "inset-ring-w": [{ "inset-ring": F() }],
1534
+ "inset-ring-color": [{ "inset-ring": M() }],
1535
+ "text-shadow": [{ "text-shadow": [
1536
+ "none",
1537
+ f,
1538
+ Ct,
1539
+ _t
1540
+ ] }],
1541
+ "text-shadow-color": [{ "text-shadow": M() }],
1542
+ opacity: [{ opacity: [
1543
+ K,
1544
+ Z,
1545
+ Y
1546
+ ] }],
1547
+ "mix-blend": [{ "mix-blend": [
1548
+ ...se(),
1549
+ "plus-darker",
1550
+ "plus-lighter"
1551
+ ] }],
1552
+ "bg-blend": [{ "bg-blend": se() }],
1553
+ "mask-clip": [{ "mask-clip": [
1554
+ "border",
1555
+ "padding",
1556
+ "content",
1557
+ "fill",
1558
+ "stroke",
1559
+ "view"
1560
+ ] }, "mask-no-clip"],
1561
+ "mask-composite": [{ mask: [
1562
+ "add",
1563
+ "subtract",
1564
+ "intersect",
1565
+ "exclude"
1566
+ ] }],
1567
+ "mask-image-linear-pos": [{ "mask-linear": [K] }],
1568
+ "mask-image-linear-from-pos": [{ "mask-linear-from": L() }],
1569
+ "mask-image-linear-to-pos": [{ "mask-linear-to": L() }],
1570
+ "mask-image-linear-from-color": [{ "mask-linear-from": M() }],
1571
+ "mask-image-linear-to-color": [{ "mask-linear-to": M() }],
1572
+ "mask-image-t-from-pos": [{ "mask-t-from": L() }],
1573
+ "mask-image-t-to-pos": [{ "mask-t-to": L() }],
1574
+ "mask-image-t-from-color": [{ "mask-t-from": M() }],
1575
+ "mask-image-t-to-color": [{ "mask-t-to": M() }],
1576
+ "mask-image-r-from-pos": [{ "mask-r-from": L() }],
1577
+ "mask-image-r-to-pos": [{ "mask-r-to": L() }],
1578
+ "mask-image-r-from-color": [{ "mask-r-from": M() }],
1579
+ "mask-image-r-to-color": [{ "mask-r-to": M() }],
1580
+ "mask-image-b-from-pos": [{ "mask-b-from": L() }],
1581
+ "mask-image-b-to-pos": [{ "mask-b-to": L() }],
1582
+ "mask-image-b-from-color": [{ "mask-b-from": M() }],
1583
+ "mask-image-b-to-color": [{ "mask-b-to": M() }],
1584
+ "mask-image-l-from-pos": [{ "mask-l-from": L() }],
1585
+ "mask-image-l-to-pos": [{ "mask-l-to": L() }],
1586
+ "mask-image-l-from-color": [{ "mask-l-from": M() }],
1587
+ "mask-image-l-to-color": [{ "mask-l-to": M() }],
1588
+ "mask-image-x-from-pos": [{ "mask-x-from": L() }],
1589
+ "mask-image-x-to-pos": [{ "mask-x-to": L() }],
1590
+ "mask-image-x-from-color": [{ "mask-x-from": M() }],
1591
+ "mask-image-x-to-color": [{ "mask-x-to": M() }],
1592
+ "mask-image-y-from-pos": [{ "mask-y-from": L() }],
1593
+ "mask-image-y-to-pos": [{ "mask-y-to": L() }],
1594
+ "mask-image-y-from-color": [{ "mask-y-from": M() }],
1595
+ "mask-image-y-to-color": [{ "mask-y-to": M() }],
1596
+ "mask-image-radial": [{ "mask-radial": [Z, Y] }],
1597
+ "mask-image-radial-from-pos": [{ "mask-radial-from": L() }],
1598
+ "mask-image-radial-to-pos": [{ "mask-radial-to": L() }],
1599
+ "mask-image-radial-from-color": [{ "mask-radial-from": M() }],
1600
+ "mask-image-radial-to-color": [{ "mask-radial-to": M() }],
1601
+ "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
1602
+ "mask-image-radial-size": [{ "mask-radial": [{
1603
+ closest: ["side", "corner"],
1604
+ farthest: ["side", "corner"]
1605
+ }] }],
1606
+ "mask-image-radial-pos": [{ "mask-radial-at": b() }],
1607
+ "mask-image-conic-pos": [{ "mask-conic": [K] }],
1608
+ "mask-image-conic-from-pos": [{ "mask-conic-from": L() }],
1609
+ "mask-image-conic-to-pos": [{ "mask-conic-to": L() }],
1610
+ "mask-image-conic-from-color": [{ "mask-conic-from": M() }],
1611
+ "mask-image-conic-to-color": [{ "mask-conic-to": M() }],
1612
+ "mask-mode": [{ mask: [
1613
+ "alpha",
1614
+ "luminance",
1615
+ "match"
1616
+ ] }],
1617
+ "mask-origin": [{ "mask-origin": [
1618
+ "border",
1619
+ "padding",
1620
+ "content",
1621
+ "fill",
1622
+ "stroke",
1623
+ "view"
1624
+ ] }],
1625
+ "mask-position": [{ mask: ie() }],
1626
+ "mask-repeat": [{ mask: ae() }],
1627
+ "mask-size": [{ mask: oe() }],
1628
+ "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
1629
+ "mask-image": [{ mask: [
1630
+ "none",
1631
+ Z,
1632
+ Y
1633
+ ] }],
1634
+ filter: [{ filter: [
1635
+ "",
1636
+ "none",
1637
+ Z,
1638
+ Y
1639
+ ] }],
1640
+ blur: [{ blur: ce() }],
1641
+ brightness: [{ brightness: [
1642
+ K,
1643
+ Z,
1644
+ Y
1645
+ ] }],
1646
+ contrast: [{ contrast: [
1647
+ K,
1648
+ Z,
1649
+ Y
1650
+ ] }],
1651
+ "drop-shadow": [{ "drop-shadow": [
1652
+ "",
1653
+ "none",
1654
+ p,
1655
+ Ct,
1656
+ _t
1657
+ ] }],
1658
+ "drop-shadow-color": [{ "drop-shadow": M() }],
1659
+ grayscale: [{ grayscale: [
1660
+ "",
1661
+ K,
1662
+ Z,
1663
+ Y
1664
+ ] }],
1665
+ "hue-rotate": [{ "hue-rotate": [
1666
+ K,
1667
+ Z,
1668
+ Y
1669
+ ] }],
1670
+ invert: [{ invert: [
1671
+ "",
1672
+ K,
1673
+ Z,
1674
+ Y
1675
+ ] }],
1676
+ saturate: [{ saturate: [
1677
+ K,
1678
+ Z,
1679
+ Y
1680
+ ] }],
1681
+ sepia: [{ sepia: [
1682
+ "",
1683
+ K,
1684
+ Z,
1685
+ Y
1686
+ ] }],
1687
+ "backdrop-filter": [{ "backdrop-filter": [
1688
+ "",
1689
+ "none",
1690
+ Z,
1691
+ Y
1692
+ ] }],
1693
+ "backdrop-blur": [{ "backdrop-blur": ce() }],
1694
+ "backdrop-brightness": [{ "backdrop-brightness": [
1695
+ K,
1696
+ Z,
1697
+ Y
1698
+ ] }],
1699
+ "backdrop-contrast": [{ "backdrop-contrast": [
1700
+ K,
1701
+ Z,
1702
+ Y
1703
+ ] }],
1704
+ "backdrop-grayscale": [{ "backdrop-grayscale": [
1705
+ "",
1706
+ K,
1707
+ Z,
1708
+ Y
1709
+ ] }],
1710
+ "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
1711
+ K,
1712
+ Z,
1713
+ Y
1714
+ ] }],
1715
+ "backdrop-invert": [{ "backdrop-invert": [
1716
+ "",
1717
+ K,
1718
+ Z,
1719
+ Y
1720
+ ] }],
1721
+ "backdrop-opacity": [{ "backdrop-opacity": [
1722
+ K,
1723
+ Z,
1724
+ Y
1725
+ ] }],
1726
+ "backdrop-saturate": [{ "backdrop-saturate": [
1727
+ K,
1728
+ Z,
1729
+ Y
1730
+ ] }],
1731
+ "backdrop-sepia": [{ "backdrop-sepia": [
1732
+ "",
1733
+ K,
1734
+ Z,
1735
+ Y
1736
+ ] }],
1737
+ "border-collapse": [{ border: ["collapse", "separate"] }],
1738
+ "border-spacing": [{ "border-spacing": w() }],
1739
+ "border-spacing-x": [{ "border-spacing-x": w() }],
1740
+ "border-spacing-y": [{ "border-spacing-y": w() }],
1741
+ "table-layout": [{ table: ["auto", "fixed"] }],
1742
+ caption: [{ caption: ["top", "bottom"] }],
1743
+ transition: [{ transition: [
1744
+ "",
1745
+ "all",
1746
+ "colors",
1747
+ "opacity",
1748
+ "shadow",
1749
+ "transform",
1750
+ "none",
1751
+ Z,
1752
+ Y
1753
+ ] }],
1754
+ "transition-behavior": [{ transition: ["normal", "discrete"] }],
1755
+ duration: [{ duration: [
1756
+ K,
1757
+ "initial",
1758
+ Z,
1759
+ Y
1760
+ ] }],
1761
+ ease: [{ ease: [
1762
+ "linear",
1763
+ "initial",
1764
+ _,
1765
+ Z,
1766
+ Y
1767
+ ] }],
1768
+ delay: [{ delay: [
1769
+ K,
1770
+ Z,
1771
+ Y
1772
+ ] }],
1773
+ animate: [{ animate: [
1774
+ "none",
1775
+ v,
1776
+ Z,
1777
+ Y
1778
+ ] }],
1779
+ backface: [{ backface: ["hidden", "visible"] }],
1780
+ perspective: [{ perspective: [
1781
+ h,
1782
+ Z,
1783
+ Y
1784
+ ] }],
1785
+ "perspective-origin": [{ "perspective-origin": x() }],
1786
+ rotate: [{ rotate: R() }],
1787
+ "rotate-x": [{ "rotate-x": R() }],
1788
+ "rotate-y": [{ "rotate-y": R() }],
1789
+ "rotate-z": [{ "rotate-z": R() }],
1790
+ scale: [{ scale: z() }],
1791
+ "scale-x": [{ "scale-x": z() }],
1792
+ "scale-y": [{ "scale-y": z() }],
1793
+ "scale-z": [{ "scale-z": z() }],
1794
+ "scale-3d": ["scale-3d"],
1795
+ skew: [{ skew: B() }],
1796
+ "skew-x": [{ "skew-x": B() }],
1797
+ "skew-y": [{ "skew-y": B() }],
1798
+ transform: [{ transform: [
1799
+ Z,
1800
+ Y,
1801
+ "",
1802
+ "none",
1803
+ "gpu",
1804
+ "cpu"
1805
+ ] }],
1806
+ "transform-origin": [{ origin: x() }],
1807
+ "transform-style": [{ transform: ["3d", "flat"] }],
1808
+ translate: [{ translate: V() }],
1809
+ "translate-x": [{ "translate-x": V() }],
1810
+ "translate-y": [{ "translate-y": V() }],
1811
+ "translate-z": [{ "translate-z": V() }],
1812
+ "translate-none": ["translate-none"],
1813
+ zoom: [{ zoom: [
1814
+ q,
1815
+ Z,
1816
+ Y
1817
+ ] }],
1818
+ accent: [{ accent: M() }],
1819
+ appearance: [{ appearance: ["none", "auto"] }],
1820
+ "caret-color": [{ caret: M() }],
1821
+ "color-scheme": [{ scheme: [
1822
+ "normal",
1823
+ "dark",
1824
+ "light",
1825
+ "light-dark",
1826
+ "only-dark",
1827
+ "only-light"
1828
+ ] }],
1829
+ cursor: [{ cursor: [
1830
+ "auto",
1831
+ "default",
1832
+ "pointer",
1833
+ "wait",
1834
+ "text",
1835
+ "move",
1836
+ "help",
1837
+ "not-allowed",
1838
+ "none",
1839
+ "context-menu",
1840
+ "progress",
1841
+ "cell",
1842
+ "crosshair",
1843
+ "vertical-text",
1844
+ "alias",
1845
+ "copy",
1846
+ "no-drop",
1847
+ "grab",
1848
+ "grabbing",
1849
+ "all-scroll",
1850
+ "col-resize",
1851
+ "row-resize",
1852
+ "n-resize",
1853
+ "e-resize",
1854
+ "s-resize",
1855
+ "w-resize",
1856
+ "ne-resize",
1857
+ "nw-resize",
1858
+ "se-resize",
1859
+ "sw-resize",
1860
+ "ew-resize",
1861
+ "ns-resize",
1862
+ "nesw-resize",
1863
+ "nwse-resize",
1864
+ "zoom-in",
1865
+ "zoom-out",
1866
+ Z,
1867
+ Y
1868
+ ] }],
1869
+ "field-sizing": [{ "field-sizing": ["fixed", "content"] }],
1870
+ "pointer-events": [{ "pointer-events": ["auto", "none"] }],
1871
+ resize: [{ resize: [
1872
+ "none",
1873
+ "",
1874
+ "y",
1875
+ "x"
1876
+ ] }],
1877
+ "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
1878
+ "scrollbar-thumb-color": [{ "scrollbar-thumb": M() }],
1879
+ "scrollbar-track-color": [{ "scrollbar-track": M() }],
1880
+ "scrollbar-gutter": [{ "scrollbar-gutter": [
1881
+ "auto",
1882
+ "stable",
1883
+ "both"
1884
+ ] }],
1885
+ "scrollbar-w": [{ scrollbar: [
1886
+ "auto",
1887
+ "thin",
1888
+ "none"
1889
+ ] }],
1890
+ "scroll-m": [{ "scroll-m": w() }],
1891
+ "scroll-mx": [{ "scroll-mx": w() }],
1892
+ "scroll-my": [{ "scroll-my": w() }],
1893
+ "scroll-ms": [{ "scroll-ms": w() }],
1894
+ "scroll-me": [{ "scroll-me": w() }],
1895
+ "scroll-mbs": [{ "scroll-mbs": w() }],
1896
+ "scroll-mbe": [{ "scroll-mbe": w() }],
1897
+ "scroll-mt": [{ "scroll-mt": w() }],
1898
+ "scroll-mr": [{ "scroll-mr": w() }],
1899
+ "scroll-mb": [{ "scroll-mb": w() }],
1900
+ "scroll-ml": [{ "scroll-ml": w() }],
1901
+ "scroll-p": [{ "scroll-p": w() }],
1902
+ "scroll-px": [{ "scroll-px": w() }],
1903
+ "scroll-py": [{ "scroll-py": w() }],
1904
+ "scroll-ps": [{ "scroll-ps": w() }],
1905
+ "scroll-pe": [{ "scroll-pe": w() }],
1906
+ "scroll-pbs": [{ "scroll-pbs": w() }],
1907
+ "scroll-pbe": [{ "scroll-pbe": w() }],
1908
+ "scroll-pt": [{ "scroll-pt": w() }],
1909
+ "scroll-pr": [{ "scroll-pr": w() }],
1910
+ "scroll-pb": [{ "scroll-pb": w() }],
1911
+ "scroll-pl": [{ "scroll-pl": w() }],
1912
+ "snap-align": [{ snap: [
1913
+ "start",
1914
+ "end",
1915
+ "center",
1916
+ "align-none"
1917
+ ] }],
1918
+ "snap-stop": [{ snap: ["normal", "always"] }],
1919
+ "snap-type": [{ snap: [
1920
+ "none",
1921
+ "x",
1922
+ "y",
1923
+ "both"
1924
+ ] }],
1925
+ "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
1926
+ touch: [{ touch: [
1927
+ "auto",
1928
+ "none",
1929
+ "manipulation"
1930
+ ] }],
1931
+ "touch-x": [{ "touch-pan": [
1932
+ "x",
1933
+ "left",
1934
+ "right"
1935
+ ] }],
1936
+ "touch-y": [{ "touch-pan": [
1937
+ "y",
1938
+ "up",
1939
+ "down"
1940
+ ] }],
1941
+ "touch-pz": ["touch-pinch-zoom"],
1942
+ select: [{ select: [
1943
+ "none",
1944
+ "text",
1945
+ "all",
1946
+ "auto"
1947
+ ] }],
1948
+ "will-change": [{ "will-change": [
1949
+ "auto",
1950
+ "scroll",
1951
+ "contents",
1952
+ "transform",
1953
+ Z,
1954
+ Y
1955
+ ] }],
1956
+ fill: [{ fill: ["none", ...M()] }],
1957
+ "stroke-w": [{ stroke: [
1958
+ K,
1959
+ vt,
1960
+ X,
1961
+ ft
1962
+ ] }],
1963
+ stroke: [{ stroke: ["none", ...M()] }],
1964
+ "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
1965
+ },
1966
+ conflictingClassGroups: {
1967
+ "container-named": ["container-type"],
1968
+ overflow: ["overflow-x", "overflow-y"],
1969
+ overscroll: ["overscroll-x", "overscroll-y"],
1970
+ inset: [
1971
+ "inset-x",
1972
+ "inset-y",
1973
+ "inset-bs",
1974
+ "inset-be",
1975
+ "start",
1976
+ "end",
1977
+ "top",
1978
+ "right",
1979
+ "bottom",
1980
+ "left"
1981
+ ],
1982
+ "inset-x": ["right", "left"],
1983
+ "inset-y": ["top", "bottom"],
1984
+ flex: [
1985
+ "basis",
1986
+ "grow",
1987
+ "shrink"
1988
+ ],
1989
+ gap: ["gap-x", "gap-y"],
1990
+ p: [
1991
+ "px",
1992
+ "py",
1993
+ "ps",
1994
+ "pe",
1995
+ "pbs",
1996
+ "pbe",
1997
+ "pt",
1998
+ "pr",
1999
+ "pb",
2000
+ "pl"
2001
+ ],
2002
+ px: ["pr", "pl"],
2003
+ py: ["pt", "pb"],
2004
+ m: [
2005
+ "mx",
2006
+ "my",
2007
+ "ms",
2008
+ "me",
2009
+ "mbs",
2010
+ "mbe",
2011
+ "mt",
2012
+ "mr",
2013
+ "mb",
2014
+ "ml"
2015
+ ],
2016
+ mx: ["mr", "ml"],
2017
+ my: ["mt", "mb"],
2018
+ size: ["w", "h"],
2019
+ "font-size": ["leading"],
2020
+ "fvn-normal": [
2021
+ "fvn-ordinal",
2022
+ "fvn-slashed-zero",
2023
+ "fvn-figure",
2024
+ "fvn-spacing",
2025
+ "fvn-fraction"
2026
+ ],
2027
+ "fvn-ordinal": ["fvn-normal"],
2028
+ "fvn-slashed-zero": ["fvn-normal"],
2029
+ "fvn-figure": ["fvn-normal"],
2030
+ "fvn-spacing": ["fvn-normal"],
2031
+ "fvn-fraction": ["fvn-normal"],
2032
+ "line-clamp": ["display", "overflow"],
2033
+ rounded: [
2034
+ "rounded-s",
2035
+ "rounded-e",
2036
+ "rounded-t",
2037
+ "rounded-r",
2038
+ "rounded-b",
2039
+ "rounded-l",
2040
+ "rounded-ss",
2041
+ "rounded-se",
2042
+ "rounded-ee",
2043
+ "rounded-es",
2044
+ "rounded-tl",
2045
+ "rounded-tr",
2046
+ "rounded-br",
2047
+ "rounded-bl"
2048
+ ],
2049
+ "rounded-s": ["rounded-ss", "rounded-es"],
2050
+ "rounded-e": ["rounded-se", "rounded-ee"],
2051
+ "rounded-t": ["rounded-tl", "rounded-tr"],
2052
+ "rounded-r": ["rounded-tr", "rounded-br"],
2053
+ "rounded-b": ["rounded-br", "rounded-bl"],
2054
+ "rounded-l": ["rounded-tl", "rounded-bl"],
2055
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
2056
+ "border-w": [
2057
+ "border-w-x",
2058
+ "border-w-y",
2059
+ "border-w-s",
2060
+ "border-w-e",
2061
+ "border-w-bs",
2062
+ "border-w-be",
2063
+ "border-w-t",
2064
+ "border-w-r",
2065
+ "border-w-b",
2066
+ "border-w-l"
2067
+ ],
2068
+ "border-w-x": ["border-w-r", "border-w-l"],
2069
+ "border-w-y": ["border-w-t", "border-w-b"],
2070
+ "border-color": [
2071
+ "border-color-x",
2072
+ "border-color-y",
2073
+ "border-color-s",
2074
+ "border-color-e",
2075
+ "border-color-bs",
2076
+ "border-color-be",
2077
+ "border-color-t",
2078
+ "border-color-r",
2079
+ "border-color-b",
2080
+ "border-color-l"
2081
+ ],
2082
+ "border-color-x": ["border-color-r", "border-color-l"],
2083
+ "border-color-y": ["border-color-t", "border-color-b"],
2084
+ translate: [
2085
+ "translate-x",
2086
+ "translate-y",
2087
+ "translate-none"
2088
+ ],
2089
+ "translate-none": [
2090
+ "translate",
2091
+ "translate-x",
2092
+ "translate-y",
2093
+ "translate-z"
2094
+ ],
2095
+ "scroll-m": [
2096
+ "scroll-mx",
2097
+ "scroll-my",
2098
+ "scroll-ms",
2099
+ "scroll-me",
2100
+ "scroll-mbs",
2101
+ "scroll-mbe",
2102
+ "scroll-mt",
2103
+ "scroll-mr",
2104
+ "scroll-mb",
2105
+ "scroll-ml"
2106
+ ],
2107
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
2108
+ "scroll-my": ["scroll-mt", "scroll-mb"],
2109
+ "scroll-p": [
2110
+ "scroll-px",
2111
+ "scroll-py",
2112
+ "scroll-ps",
2113
+ "scroll-pe",
2114
+ "scroll-pbs",
2115
+ "scroll-pbe",
2116
+ "scroll-pt",
2117
+ "scroll-pr",
2118
+ "scroll-pb",
2119
+ "scroll-pl"
2120
+ ],
2121
+ "scroll-px": ["scroll-pr", "scroll-pl"],
2122
+ "scroll-py": ["scroll-pt", "scroll-pb"],
2123
+ touch: [
2124
+ "touch-x",
2125
+ "touch-y",
2126
+ "touch-pz"
2127
+ ],
2128
+ "touch-x": ["touch"],
2129
+ "touch-y": ["touch"],
2130
+ "touch-pz": ["touch"]
2131
+ },
2132
+ conflictingClassGroupModifiers: { "font-size": ["leading"] },
2133
+ postfixLookupClassGroups: ["container-type"],
2134
+ orderSensitiveModifiers: [
2135
+ "*",
2136
+ "**",
2137
+ "after",
2138
+ "backdrop",
2139
+ "before",
2140
+ "details-content",
2141
+ "file",
2142
+ "first-letter",
2143
+ "first-line",
2144
+ "marker",
2145
+ "placeholder",
2146
+ "selection"
2147
+ ]
2148
+ };
2149
+ });
2150
+ //#endregion
2151
+ //#region src/lib/utils.ts
2152
+ function Pt(...e) {
2153
+ return Nt(he(e));
2154
+ }
2155
+ //#endregion
2156
+ //#region src/components/table/data-table.tsx
2157
+ function Ft({ columns: e, data: t, getRowId: n, selectionState: r, onClick: i, components: a }) {
2158
+ let [o, s] = r, p = m({
2159
+ data: t,
2160
+ columns: e,
2161
+ state: { rowSelection: o },
2162
+ getRowId: n,
2163
+ enableRowSelection: !0,
2164
+ onRowSelectionChange: s,
2165
+ getCoreRowModel: f()
2166
+ }), { t: h } = u(), g = a?.Table ?? z, _ = a?.TableHeader ?? B, v = a?.TableBody ?? V, y = a?.TableRow ?? le, b = a?.TableHead ?? ue, x = a?.TableCell ?? de;
2167
+ return /* @__PURE__ */ l(g, { children: [/* @__PURE__ */ c(_, { children: p.getHeaderGroups().map((e) => /* @__PURE__ */ c(y, { children: e.headers.map((e) => /* @__PURE__ */ c(b, {
2168
+ className: Pt(e.column.columnDef.meta?.className),
2169
+ children: e.isPlaceholder ? null : d(e.column.columnDef.header, e.getContext())
2170
+ }, e.id)) }, e.id)) }), /* @__PURE__ */ c(v, { children: p.getRowModel().rows?.length ? p.getRowModel().rows.map((e) => /* @__PURE__ */ c(y, {
2171
+ "data-state": e.getIsSelected() && "selected",
2172
+ onClick: () => i(e.original),
2173
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ c(x, {
2174
+ className: Pt(e.column.columnDef.meta?.className),
2175
+ children: d(e.column.columnDef.cell, e.getContext())
2176
+ }, e.id))
2177
+ }, e.id)) : /* @__PURE__ */ c(y, { children: /* @__PURE__ */ c(x, {
2178
+ colSpan: e.length,
2179
+ className: "h-24 text-center",
2180
+ children: h("libs:no_results")
2181
+ }) }) })] });
2182
+ }
2183
+ //#endregion
2184
+ //#region src/components/table/data-table-grouped.tsx
2185
+ function It({ columns: e, data: t, getRowId: n, selectionState: r, onClick: i, components: a }) {
2186
+ let [o, s] = r, h = m({
2187
+ data: t,
2188
+ columns: e,
2189
+ state: {
2190
+ rowSelection: o,
2191
+ expanded: !0
2192
+ },
2193
+ getRowId: n,
2194
+ enableRowSelection: !0,
2195
+ onRowSelectionChange: s,
2196
+ getSubRows: (e) => e.subRows,
2197
+ getCoreRowModel: f(),
2198
+ getExpandedRowModel: p()
2199
+ }), { t: g } = u(), _ = a?.Table ?? z, v = a?.TableHeader ?? B, y = a?.TableBody ?? V, b = a?.TableRow ?? le, x = a?.TableHead ?? ue, S = a?.TableCell ?? de;
2200
+ return /* @__PURE__ */ l(_, { children: [/* @__PURE__ */ c(v, { children: h.getHeaderGroups().map((e) => /* @__PURE__ */ c(b, { children: e.headers.map((e) => /* @__PURE__ */ c(x, {
2201
+ className: Pt(e.column.columnDef.meta?.className),
2202
+ children: e.isPlaceholder ? null : d(e.column.columnDef.header, e.getContext())
2203
+ }, e.id)) }, e.id)) }), /* @__PURE__ */ c(y, { children: h.getRowModel().rows?.length ? h.getRowModel().rows.map((e) => /* @__PURE__ */ c(b, {
2204
+ id: e.id,
2205
+ "data-state": e.getIsSelected() && "selected",
2206
+ onClick: () => i(e.original),
2207
+ children: e.getVisibleCells().map((t, n) => {
2208
+ let r = n === 0 ? e.depth * 24 : 0;
2209
+ return /* @__PURE__ */ l(S, {
2210
+ className: Pt(t.column.columnDef.meta?.className),
2211
+ style: { paddingLeft: r ? `${r}px` : void 0 },
2212
+ children: [n === 0 && e.depth > 0 && /* @__PURE__ */ c("span", {
2213
+ className: "mr-2 text-muted-foreground",
2214
+ children: "↳"
2215
+ }), d(t.column.columnDef.cell, t.getContext())]
2216
+ }, t.id);
2217
+ })
2218
+ }, e.id)) : /* @__PURE__ */ c(b, { children: /* @__PURE__ */ c(S, {
2219
+ colSpan: e.length,
2220
+ className: "h-24 text-center",
2221
+ children: g("strings:no_results")
2222
+ }) }) })] });
2223
+ }
2224
+ //#endregion
422
2225
  //#region src/utils/firestore.ts
423
- function U(e) {
2226
+ function Lt(e) {
424
2227
  return {
425
2228
  ...e.data(),
426
2229
  id: e.id
427
2230
  };
428
2231
  }
429
- async function W(e, t, n, r) {
2232
+ async function Rt(e, t, n, r) {
430
2233
  let i = r.filter((e) => !!(e && !n.has(e.path)));
431
2234
  for (let r = 0; r < i.length; r += 30) {
432
2235
  let a = i.slice(r, r + 30);
433
- (await p(h(e, _(d(), "in", a.map((e) => e.id))))).forEach((e) => {
2236
+ (await _(y(e, x(h(), "in", a.map((e) => e.id))))).forEach((e) => {
434
2237
  let r = t(e);
435
2238
  n.set(e.ref.path, r);
436
2239
  });
437
2240
  }
438
2241
  }
439
- async function G(e, t, n) {
2242
+ async function zt(e, t, n) {
440
2243
  let r = n.filter((e) => !!(e && !t.has(e.path)));
441
2244
  await Promise.all(r.map(async (n) => {
442
- let r = e(await f(n));
2245
+ let r = e(await g(n));
443
2246
  t.set(n.path, r);
444
2247
  }));
445
2248
  }
446
- function K(e = {}) {
2249
+ function Bt(e = {}) {
447
2250
  let { cache: t = !0, includeMetadataChanges: n } = e;
448
2251
  return {
449
2252
  listenOptions: { includeMetadataChanges: n ?? !t },
450
2253
  cache: t
451
2254
  };
452
2255
  }
453
- function q(e, t) {
2256
+ function Vt(e, t) {
454
2257
  return t !== !1 || !e;
455
2258
  }
456
- function J(e, t, n = {}) {
457
- let { listenOptions: r, cache: i } = K(n), { onError: a } = n;
458
- return e.type, m(e, r, (e) => {
459
- q(e.metadata.fromCache, i) && t(e);
2259
+ function Ht(e, t, n = {}) {
2260
+ let { listenOptions: r, cache: i } = Bt(n), { onError: a } = n;
2261
+ return e.type, v(e, r, (e) => {
2262
+ Vt(e.metadata.fromCache, i) && t(e);
460
2263
  }, a);
461
2264
  }
462
2265
  //#endregion
463
2266
  //#region src/utils/platform.ts
464
- function ae() {
2267
+ function Ut() {
465
2268
  if (typeof window > "u") return "pc";
466
2269
  let e = navigator.userAgent, t = navigator.platform, n = /Android/i.test(e), r = /iPhone|iPad|iPod/i.test(e) || t === "MacIntel" && navigator.maxTouchPoints > 1;
467
2270
  return n ? "android" : r ? "ios" : "pc";
468
2271
  }
469
2272
  //#endregion
470
2273
  //#region src/utils/zustand.tsx
471
- function oe(n) {
2274
+ function Wt(n) {
472
2275
  let r = e(null);
473
2276
  function a({ children: e, ...t }) {
474
2277
  let [a] = i(() => n(t));
@@ -480,7 +2283,7 @@ function oe(n) {
480
2283
  function o(e) {
481
2284
  let n = t(r);
482
2285
  if (!n) throw Error("Provider가 필요합니다.");
483
- return v(n, e);
2286
+ return S(n, e);
484
2287
  }
485
2288
  let s = /* @__PURE__ */ new Map();
486
2289
  return {
@@ -491,7 +2294,7 @@ function oe(n) {
491
2294
  }
492
2295
  //#endregion
493
2296
  //#region node_modules/dayjs/dayjs.min.js
494
- var Y = /* @__PURE__ */ k(((e, t) => {
2297
+ var Gt = /* @__PURE__ */ j(((e, t) => {
495
2298
  (function(n, r) {
496
2299
  typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs = r();
497
2300
  })(e, (function() {
@@ -785,9 +2588,9 @@ var Y = /* @__PURE__ */ k(((e, t) => {
785
2588
  return w(1e3 * e);
786
2589
  }, w.en = b[y], w.Ls = b, w.p = {}, w;
787
2590
  }));
788
- })), se = /* @__PURE__ */ k(((e, t) => {
2591
+ })), Kt = /* @__PURE__ */ j(((e, t) => {
789
2592
  (function(n, r) {
790
- typeof e == "object" && t !== void 0 ? t.exports = r(Y()) : typeof define == "function" && define.amd ? define(["dayjs"], r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_locale_ko = r(n.dayjs);
2593
+ typeof e == "object" && t !== void 0 ? t.exports = r(Gt()) : typeof define == "function" && define.amd ? define(["dayjs"], r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_locale_ko = r(n.dayjs);
791
2594
  })(e, (function(e) {
792
2595
  function t(e) {
793
2596
  return e && typeof e == "object" && "default" in e ? e : { default: e };
@@ -835,7 +2638,7 @@ var Y = /* @__PURE__ */ k(((e, t) => {
835
2638
  };
836
2639
  return n.default.locale(r, null, !0), r;
837
2640
  }));
838
- })), ce = /* @__PURE__ */ k(((e, t) => {
2641
+ })), qt = /* @__PURE__ */ j(((e, t) => {
839
2642
  (function(n, r) {
840
2643
  typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_locale_en = r();
841
2644
  })(e, (function() {
@@ -854,63 +2657,63 @@ var Y = /* @__PURE__ */ k(((e, t) => {
854
2657
  }
855
2658
  };
856
2659
  }));
857
- })), X = /* @__PURE__ */ ee(Y(), 1);
858
- se(), ce();
859
- function Z(e, t, n) {
860
- let r = (0, X.default)(e);
2660
+ })), Jt = /* @__PURE__ */ re(Gt(), 1);
2661
+ Kt(), qt();
2662
+ function Yt(e, t, n) {
2663
+ let r = (0, Jt.default)(e);
861
2664
  return !e || !r.isValid() ? "" : r.format(n(t));
862
2665
  }
863
- function le() {
2666
+ function Xt() {
864
2667
  let { t: e } = u();
865
2668
  return r(() => ({
866
- basicDateTimeFormat: (t, n) => Z(t, n, e),
867
- dateTimeFormat: (t) => Z(t, "libs:datetime.date_time_format", e),
868
- dateFormat: (t) => Z(t, "libs:datetime.date_format", e),
869
- timeFormat: (t) => Z(t, "libs:datetime.time_format", e)
2669
+ basicDateTimeFormat: (t, n) => Yt(t, n, e),
2670
+ dateTimeFormat: (t) => Yt(t, "libs:datetime.date_time_format", e),
2671
+ dateFormat: (t) => Yt(t, "libs:datetime.date_format", e),
2672
+ timeFormat: (t) => Yt(t, "libs:datetime.time_format", e)
870
2673
  }), [e]);
871
2674
  }
872
- function ue(e) {
873
- let t = (0, X.default)(e);
2675
+ function Zt(e) {
2676
+ let t = (0, Jt.default)(e);
874
2677
  return t.isValid() ? t.format("YYYYMMDD") : "";
875
2678
  }
876
- function de(e) {
877
- let t = (0, X.default)(e);
2679
+ function Qt(e) {
2680
+ let t = (0, Jt.default)(e);
878
2681
  return t.isValid() ? t.format("HH:mm") : "";
879
2682
  }
880
- var Q = (e) => {
2683
+ var $t = (e) => {
881
2684
  let t = e?.split("-")[0] === "ko" ? "ko" : "en";
882
- X.default.locale(t);
2685
+ Jt.default.locale(t);
883
2686
  };
884
- y.isInitialized && Q(y.resolvedLanguage || y.language), y.on("languageChanged", Q);
2687
+ C.isInitialized && $t(C.resolvedLanguage || C.language), C.on("languageChanged", $t);
885
2688
  //#endregion
886
2689
  //#region src/utils/file.ts
887
- function $(e) {
2690
+ function en(e) {
888
2691
  let t = e.lastIndexOf(".");
889
2692
  return t === -1 ? "" : e.substring(t + 1);
890
2693
  }
891
2694
  //#endregion
892
2695
  //#region src/utils/fb-storage.ts
893
- async function fe(e, t, n) {
2696
+ async function tn(e, t, n) {
894
2697
  if (!n.file) return n.url;
895
2698
  try {
896
- let r = $(n.file.name);
897
- return await b((await S(x(e, r ? t + "." + r : t), n.file, { contentType: n.file.type })).ref);
2699
+ let r = en(n.file.name);
2700
+ return await w((await E(T(e, r ? t + "." + r : t), n.file, { contentType: n.file.type })).ref);
898
2701
  } catch (e) {
899
2702
  throw console.error("Firebase image upload failed:", e), e;
900
2703
  }
901
2704
  }
902
2705
  //#endregion
903
2706
  //#region src/constant/firestore.ts
904
- var pe = () => ({
905
- updateAt: g(),
2707
+ var nn = () => ({
2708
+ updateAt: b(),
906
2709
  delete: !0
907
- }), me = () => ({
908
- updateAt: g(),
2710
+ }), rn = () => ({
2711
+ updateAt: b(),
909
2712
  delete: !1
910
2713
  });
911
2714
  //#endregion
912
2715
  //#region src/constant/auth.ts
913
- function he(e) {
2716
+ function an(e) {
914
2717
  switch (e) {
915
2718
  case "auth/user-not-found": return "libs:auth.errors.user_not_found";
916
2719
  case "auth/wrong-password": return "libs:auth.errors.wrong_password";
@@ -932,7 +2735,7 @@ function he(e) {
932
2735
  default: return "libs:auth.errors.default";
933
2736
  }
934
2737
  }
935
- var ge = {
2738
+ var on = {
936
2739
  add_assets: "애셋 추가",
937
2740
  auth: { errors: {
938
2741
  account_exists_with_different_credential: "이미 다른 로그인 방식으로 가입된 이메일이에요. 기존 방식으로 로그인해 주세요.",
@@ -963,7 +2766,7 @@ var ge = {
963
2766
  },
964
2767
  no_results: "결과 없음",
965
2768
  unknown_error_occurred: "알 수 없는 오류가 발생했습니다."
966
- }, _e = {
2769
+ }, sn = {
967
2770
  add_assets: "Add Assets",
968
2771
  auth: { errors: {
969
2772
  account_exists_with_different_credential: "This email is already linked to another sign-in method. Please use that method to sign in.",
@@ -997,12 +2800,12 @@ var ge = {
997
2800
  };
998
2801
  //#endregion
999
2802
  //#region src/locales/i18n.ts
1000
- function ve(e) {
1001
- e.hasResourceBundle("ko", "libs") || e.addResourceBundle("ko", "libs", ge, !0, !1), e.hasResourceBundle("en", "libs") || e.addResourceBundle("en", "libs", _e, !0, !1);
2803
+ function cn(e) {
2804
+ e.hasResourceBundle("ko", "libs") || e.addResourceBundle("ko", "libs", on, !0, !1), e.hasResourceBundle("en", "libs") || e.addResourceBundle("en", "libs", sn, !0, !1);
1002
2805
  }
1003
2806
  //#endregion
1004
2807
  //#region src/css/toast.ts
1005
- var ye = {
2808
+ var ln = {
1006
2809
  Info: {
1007
2810
  Soft: {
1008
2811
  "--normal-bg": "color-mix(in oklab, light-dark(var(--color-sky-600), var(--color-sky-400)) 10%, var(--background))",
@@ -1073,4 +2876,4 @@ var ye = {
1073
2876
  }
1074
2877
  };
1075
2878
  //#endregion
1076
- export { j as CrossfadeImage, B as ImageUploadField, R as ImageUploadItem, H as ImageUploadSortableField, ie as SUPPORTED_LOCALES, ye as ToastCSS, oe as createZustandContext, ue as dateIdFormat, pe as deleteItem, W as fetchItems, G as fetchItemsByOne, he as getAuthErrorKey, $ as getFileExtension, ae as getPlatformType, J as getSnapshots, ve as initIenlabI18n, U as snapshotToData, de as time24Format, me as undeleteItem, fe as uploadImage, le as useDateTimeFormatters };
2879
+ export { M as CrossfadeImage, Ft as DataTable, z as DefaultTable, V as DefaultTableBody, de as DefaultTableCell, ue as DefaultTableHead, B as DefaultTableHeader, le as DefaultTableRow, It as GroupedDataTable, fe as ImageUploadField, R as ImageUploadItem, pe as ImageUploadSortableField, ce as SUPPORTED_LOCALES, ln as ToastCSS, Wt as createZustandContext, Zt as dateIdFormat, nn as deleteItem, Rt as fetchItems, zt as fetchItemsByOne, an as getAuthErrorKey, en as getFileExtension, Ut as getPlatformType, Ht as getSnapshots, cn as initIenlabI18n, Lt as snapshotToData, Qt as time24Format, rn as undeleteItem, tn as uploadImage, Xt as useDateTimeFormatters };