react-attendance-calendar 1.0.0 → 2.0.1

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,5 +1,5 @@
1
- import re, { useRef as te, useState as oe, useEffect as ne, useMemo as L } from "react";
2
- var M = { exports: {} }, g = {};
1
+ import Le, { useRef as $e, useState as Fe, useEffect as We, useMemo as fe } from "react";
2
+ var ce = { exports: {} }, se = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.js
@@ -9,29 +9,29 @@ var M = { exports: {} }, g = {};
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var H;
13
- function se() {
14
- if (H) return g;
15
- H = 1;
16
- var t = Symbol.for("react.transitional.element"), d = Symbol.for("react.fragment");
17
- function m(E, c, f) {
18
- var p = null;
19
- if (f !== void 0 && (p = "" + f), c.key !== void 0 && (p = "" + c.key), "key" in c) {
20
- f = {};
21
- for (var b in c)
22
- b !== "key" && (f[b] = c[b]);
23
- } else f = c;
24
- return c = f.ref, {
25
- $$typeof: t,
26
- type: E,
27
- key: p,
28
- ref: c !== void 0 ? c : null,
29
- props: f
12
+ var ke;
13
+ function De() {
14
+ if (ke) return se;
15
+ ke = 1;
16
+ var e = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
17
+ function o(t, l, d) {
18
+ var c = null;
19
+ if (d !== void 0 && (c = "" + d), l.key !== void 0 && (c = "" + l.key), "key" in l) {
20
+ d = {};
21
+ for (var h in l)
22
+ h !== "key" && (d[h] = l[h]);
23
+ } else d = l;
24
+ return l = d.ref, {
25
+ $$typeof: e,
26
+ type: t,
27
+ key: c,
28
+ ref: l !== void 0 ? l : null,
29
+ props: d
30
30
  };
31
31
  }
32
- return g.Fragment = d, g.jsx = m, g.jsxs = m, g;
32
+ return se.Fragment = n, se.jsx = o, se.jsxs = o, se;
33
33
  }
34
- var k = {};
34
+ var ae = {};
35
35
  /**
36
36
  * @license React
37
37
  * react-jsx-runtime.development.js
@@ -41,243 +41,2982 @@ var k = {};
41
41
  * This source code is licensed under the MIT license found in the
42
42
  * LICENSE file in the root directory of this source tree.
43
43
  */
44
- var Z;
45
- function ae() {
46
- return Z || (Z = 1, process.env.NODE_ENV !== "production" && (function() {
47
- function t(e) {
48
- if (e == null) return null;
49
- if (typeof e == "function")
50
- return e.$$typeof === D ? null : e.displayName || e.name || null;
51
- if (typeof e == "string") return e;
52
- switch (e) {
53
- case y:
44
+ var we;
45
+ function Ye() {
46
+ return we || (we = 1, process.env.NODE_ENV !== "production" && (function() {
47
+ function e(r) {
48
+ if (r == null) return null;
49
+ if (typeof r == "function")
50
+ return r.$$typeof === H ? null : r.displayName || r.name || null;
51
+ if (typeof r == "string") return r;
52
+ switch (r) {
53
+ case M:
54
54
  return "Fragment";
55
- case s:
55
+ case B:
56
56
  return "Profiler";
57
- case U:
57
+ case N:
58
58
  return "StrictMode";
59
- case T:
59
+ case S:
60
60
  return "Suspense";
61
- case O:
61
+ case W:
62
62
  return "SuspenseList";
63
- case x:
63
+ case q:
64
64
  return "Activity";
65
65
  }
66
- if (typeof e == "object")
67
- switch (typeof e.tag == "number" && console.error(
66
+ if (typeof r == "object")
67
+ switch (typeof r.tag == "number" && console.error(
68
68
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
69
- ), e.$$typeof) {
70
- case $:
69
+ ), r.$$typeof) {
70
+ case v:
71
71
  return "Portal";
72
- case o:
73
- return e.displayName || "Context";
74
- case I:
75
- return (e._context.displayName || "Context") + ".Consumer";
76
- case h:
77
- var r = e.render;
78
- return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
79
- case P:
80
- return r = e.displayName || null, r !== null ? r : t(e.type) || "Memo";
81
- case C:
82
- r = e._payload, e = e._init;
72
+ case O:
73
+ return r.displayName || "Context";
74
+ case F:
75
+ return (r._context.displayName || "Context") + ".Consumer";
76
+ case G:
77
+ var f = r.render;
78
+ return r = r.displayName, r || (r = f.displayName || f.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r;
79
+ case s:
80
+ return f = r.displayName || null, f !== null ? f : e(r.type) || "Memo";
81
+ case k:
82
+ f = r._payload, r = r._init;
83
83
  try {
84
- return t(e(r));
84
+ return e(r(f));
85
85
  } catch {
86
86
  }
87
87
  }
88
88
  return null;
89
89
  }
90
- function d(e) {
91
- return "" + e;
90
+ function n(r) {
91
+ return "" + r;
92
92
  }
93
- function m(e) {
93
+ function o(r) {
94
94
  try {
95
- d(e);
96
- var r = !1;
95
+ n(r);
96
+ var f = !1;
97
97
  } catch {
98
- r = !0;
98
+ f = !0;
99
99
  }
100
- if (r) {
101
- r = console;
102
- var n = r.error, a = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
103
- return n.call(
104
- r,
100
+ if (f) {
101
+ f = console;
102
+ var b = f.error, x = typeof Symbol == "function" && Symbol.toStringTag && r[Symbol.toStringTag] || r.constructor.name || "Object";
103
+ return b.call(
104
+ f,
105
105
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
106
- a
107
- ), d(e);
106
+ x
107
+ ), n(r);
108
108
  }
109
109
  }
110
- function E(e) {
111
- if (e === y) return "<>";
112
- if (typeof e == "object" && e !== null && e.$$typeof === C)
110
+ function t(r) {
111
+ if (r === M) return "<>";
112
+ if (typeof r == "object" && r !== null && r.$$typeof === k)
113
113
  return "<...>";
114
114
  try {
115
- var r = t(e);
116
- return r ? "<" + r + ">" : "<...>";
115
+ var f = e(r);
116
+ return f ? "<" + f + ">" : "<...>";
117
117
  } catch {
118
118
  return "<...>";
119
119
  }
120
120
  }
121
- function c() {
122
- var e = Y.A;
123
- return e === null ? null : e.getOwner();
121
+ function l() {
122
+ var r = A.A;
123
+ return r === null ? null : r.getOwner();
124
124
  }
125
- function f() {
125
+ function d() {
126
126
  return Error("react-stack-top-frame");
127
127
  }
128
- function p(e) {
129
- if (q.call(e, "key")) {
130
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
131
- if (r && r.isReactWarning) return !1;
128
+ function c(r) {
129
+ if (D.call(r, "key")) {
130
+ var f = Object.getOwnPropertyDescriptor(r, "key").get;
131
+ if (f && f.isReactWarning) return !1;
132
132
  }
133
- return e.key !== void 0;
133
+ return r.key !== void 0;
134
134
  }
135
- function b(e, r) {
136
- function n() {
137
- G || (G = !0, console.error(
135
+ function h(r, f) {
136
+ function b() {
137
+ j || (j = !0, console.error(
138
138
  "%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)",
139
- r
139
+ f
140
140
  ));
141
141
  }
142
- n.isReactWarning = !0, Object.defineProperty(e, "key", {
143
- get: n,
142
+ b.isReactWarning = !0, Object.defineProperty(r, "key", {
143
+ get: b,
144
144
  configurable: !0
145
145
  });
146
146
  }
147
- function _() {
148
- var e = t(this.type);
149
- return J[e] || (J[e] = !0, console.error(
147
+ function m() {
148
+ var r = e(this.type);
149
+ return $[r] || ($[r] = !0, console.error(
150
150
  "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."
151
- )), e = this.props.ref, e !== void 0 ? e : null;
151
+ )), r = this.props.ref, r !== void 0 ? r : null;
152
152
  }
153
- function i(e, r, n, a, w, F) {
154
- var l = n.ref;
155
- return e = {
156
- $$typeof: N,
157
- type: e,
158
- key: r,
159
- props: n,
160
- _owner: a
161
- }, (l !== void 0 ? l : null) !== null ? Object.defineProperty(e, "ref", {
153
+ function y(r, f, b, x, Y, Q) {
154
+ var g = b.ref;
155
+ return r = {
156
+ $$typeof: R,
157
+ type: r,
158
+ key: f,
159
+ props: b,
160
+ _owner: x
161
+ }, (g !== void 0 ? g : null) !== null ? Object.defineProperty(r, "ref", {
162
162
  enumerable: !1,
163
- get: _
164
- }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
163
+ get: m
164
+ }) : Object.defineProperty(r, "ref", { enumerable: !1, value: null }), r._store = {}, Object.defineProperty(r._store, "validated", {
165
165
  configurable: !1,
166
166
  enumerable: !1,
167
167
  writable: !0,
168
168
  value: 0
169
- }), Object.defineProperty(e, "_debugInfo", {
169
+ }), Object.defineProperty(r, "_debugInfo", {
170
170
  configurable: !1,
171
171
  enumerable: !1,
172
172
  writable: !0,
173
173
  value: null
174
- }), Object.defineProperty(e, "_debugStack", {
174
+ }), Object.defineProperty(r, "_debugStack", {
175
175
  configurable: !1,
176
176
  enumerable: !1,
177
177
  writable: !0,
178
- value: w
179
- }), Object.defineProperty(e, "_debugTask", {
178
+ value: Y
179
+ }), Object.defineProperty(r, "_debugTask", {
180
180
  configurable: !1,
181
181
  enumerable: !1,
182
182
  writable: !0,
183
- value: F
184
- }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
183
+ value: Q
184
+ }), Object.freeze && (Object.freeze(r.props), Object.freeze(r)), r;
185
185
  }
186
- function j(e, r, n, a, w, F) {
187
- var l = r.children;
188
- if (l !== void 0)
189
- if (a)
190
- if (K(l)) {
191
- for (a = 0; a < l.length; a++)
192
- A(l[a]);
193
- Object.freeze && Object.freeze(l);
186
+ function w(r, f, b, x, Y, Q) {
187
+ var g = f.children;
188
+ if (g !== void 0)
189
+ if (x)
190
+ if (T(g)) {
191
+ for (x = 0; x < g.length; x++)
192
+ C(g[x]);
193
+ Object.freeze && Object.freeze(g);
194
194
  } else
195
195
  console.error(
196
196
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
197
197
  );
198
- else A(l);
199
- if (q.call(r, "key")) {
200
- l = t(e);
201
- var R = Object.keys(r).filter(function(ee) {
202
- return ee !== "key";
198
+ else C(g);
199
+ if (D.call(f, "key")) {
200
+ g = e(r);
201
+ var V = Object.keys(f).filter(function(K) {
202
+ return K !== "key";
203
203
  });
204
- a = 0 < R.length ? "{key: someKey, " + R.join(": ..., ") + ": ...}" : "{key: someKey}", X[l + a] || (R = 0 < R.length ? "{" + R.join(": ..., ") + ": ...}" : "{}", console.error(
204
+ x = 0 < V.length ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}", ne[g + x] || (V = 0 < V.length ? "{" + V.join(": ..., ") + ": ...}" : "{}", console.error(
205
205
  `A props object containing a "key" prop is being spread into JSX:
206
206
  let props = %s;
207
207
  <%s {...props} />
208
208
  React keys must be passed directly to JSX without using spread:
209
209
  let props = %s;
210
210
  <%s key={someKey} {...props} />`,
211
- a,
212
- l,
213
- R,
214
- l
215
- ), X[l + a] = !0);
211
+ x,
212
+ g,
213
+ V,
214
+ g
215
+ ), ne[g + x] = !0);
216
216
  }
217
- if (l = null, n !== void 0 && (m(n), l = "" + n), p(r) && (m(r.key), l = "" + r.key), "key" in r) {
218
- n = {};
219
- for (var z in r)
220
- z !== "key" && (n[z] = r[z]);
221
- } else n = r;
222
- return l && b(
223
- n,
224
- typeof e == "function" ? e.displayName || e.name || "Unknown" : e
225
- ), i(
226
- e,
227
- l,
228
- n,
229
- c(),
230
- w,
231
- F
217
+ if (g = null, b !== void 0 && (o(b), g = "" + b), c(f) && (o(f.key), g = "" + f.key), "key" in f) {
218
+ b = {};
219
+ for (var J in f)
220
+ J !== "key" && (b[J] = f[J]);
221
+ } else b = f;
222
+ return g && h(
223
+ b,
224
+ typeof r == "function" ? r.displayName || r.name || "Unknown" : r
225
+ ), y(
226
+ r,
227
+ g,
228
+ b,
229
+ l(),
230
+ Y,
231
+ Q
232
232
  );
233
233
  }
234
- function A(e) {
235
- S(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === C && (e._payload.status === "fulfilled" ? S(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
234
+ function C(r) {
235
+ I(r) ? r._store && (r._store.validated = 1) : typeof r == "object" && r !== null && r.$$typeof === k && (r._payload.status === "fulfilled" ? I(r._payload.value) && r._payload.value._store && (r._payload.value._store.validated = 1) : r._store && (r._store.validated = 1));
236
236
  }
237
- function S(e) {
238
- return typeof e == "object" && e !== null && e.$$typeof === N;
237
+ function I(r) {
238
+ return typeof r == "object" && r !== null && r.$$typeof === R;
239
239
  }
240
- var v = re, N = Symbol.for("react.transitional.element"), $ = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), I = Symbol.for("react.consumer"), o = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), O = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), x = Symbol.for("react.activity"), D = Symbol.for("react.client.reference"), Y = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, q = Object.prototype.hasOwnProperty, K = Array.isArray, W = console.createTask ? console.createTask : function() {
240
+ var z = Le, R = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), M = Symbol.for("react.fragment"), N = Symbol.for("react.strict_mode"), B = Symbol.for("react.profiler"), F = Symbol.for("react.consumer"), O = Symbol.for("react.context"), G = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), W = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), q = Symbol.for("react.activity"), H = Symbol.for("react.client.reference"), A = z.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, D = Object.prototype.hasOwnProperty, T = Array.isArray, L = console.createTask ? console.createTask : function() {
241
241
  return null;
242
242
  };
243
- v = {
244
- react_stack_bottom_frame: function(e) {
245
- return e();
243
+ z = {
244
+ react_stack_bottom_frame: function(r) {
245
+ return r();
246
246
  }
247
247
  };
248
- var G, J = {}, B = v.react_stack_bottom_frame.bind(
249
- v,
250
- f
251
- )(), V = W(E(f)), X = {};
252
- k.Fragment = y, k.jsx = function(e, r, n) {
253
- var a = 1e4 > Y.recentlyCreatedOwnerStacks++;
254
- return j(
255
- e,
248
+ var j, $ = {}, u = z.react_stack_bottom_frame.bind(
249
+ z,
250
+ d
251
+ )(), oe = L(t(d)), ne = {};
252
+ ae.Fragment = M, ae.jsx = function(r, f, b) {
253
+ var x = 1e4 > A.recentlyCreatedOwnerStacks++;
254
+ return w(
256
255
  r,
257
- n,
256
+ f,
257
+ b,
258
258
  !1,
259
- a ? Error("react-stack-top-frame") : B,
260
- a ? W(E(e)) : V
259
+ x ? Error("react-stack-top-frame") : u,
260
+ x ? L(t(r)) : oe
261
261
  );
262
- }, k.jsxs = function(e, r, n) {
263
- var a = 1e4 > Y.recentlyCreatedOwnerStacks++;
264
- return j(
265
- e,
262
+ }, ae.jsxs = function(r, f, b) {
263
+ var x = 1e4 > A.recentlyCreatedOwnerStacks++;
264
+ return w(
266
265
  r,
267
- n,
266
+ f,
267
+ b,
268
268
  !0,
269
- a ? Error("react-stack-top-frame") : B,
270
- a ? W(E(e)) : V
269
+ x ? Error("react-stack-top-frame") : u,
270
+ x ? L(t(r)) : oe
271
271
  );
272
272
  };
273
- })()), k;
273
+ })()), ae;
274
+ }
275
+ var ve;
276
+ function Ve() {
277
+ return ve || (ve = 1, process.env.NODE_ENV === "production" ? ce.exports = De() : ce.exports = Ye()), ce.exports;
274
278
  }
275
- var Q;
276
- function le() {
277
- return Q || (Q = 1, process.env.NODE_ENV === "production" ? M.exports = se() : M.exports = ae()), M.exports;
279
+ var _ = Ve();
280
+ function Se(e) {
281
+ var n, o, t = "";
282
+ if (typeof e == "string" || typeof e == "number") t += e;
283
+ else if (typeof e == "object") if (Array.isArray(e)) {
284
+ var l = e.length;
285
+ for (n = 0; n < l; n++) e[n] && (o = Se(e[n])) && (t && (t += " "), t += o);
286
+ } else for (o in e) e[o] && (t && (t += " "), t += o);
287
+ return t;
278
288
  }
279
- var u = le();
280
- const ce = [
289
+ function Ue() {
290
+ for (var e, n, o = 0, t = "", l = arguments.length; o < l; o++) (e = arguments[o]) && (n = Se(e)) && (t && (t += " "), t += n);
291
+ return t;
292
+ }
293
+ const ye = "-", Be = (e) => {
294
+ const n = Je(e), {
295
+ conflictingClassGroups: o,
296
+ conflictingClassGroupModifiers: t
297
+ } = e;
298
+ return {
299
+ getClassGroupId: (c) => {
300
+ const h = c.split(ye);
301
+ return h[0] === "" && h.length !== 1 && h.shift(), Ce(h, n) || qe(c);
302
+ },
303
+ getConflictingClassGroupIds: (c, h) => {
304
+ const m = o[c] || [];
305
+ return h && t[c] ? [...m, ...t[c]] : m;
306
+ }
307
+ };
308
+ }, Ce = (e, n) => {
309
+ if (e.length === 0)
310
+ return n.classGroupId;
311
+ const o = e[0], t = n.nextPart.get(o), l = t ? Ce(e.slice(1), t) : void 0;
312
+ if (l)
313
+ return l;
314
+ if (n.validators.length === 0)
315
+ return;
316
+ const d = e.join(ye);
317
+ return n.validators.find(({
318
+ validator: c
319
+ }) => c(d))?.classGroupId;
320
+ }, Re = /^\[(.+)\]$/, qe = (e) => {
321
+ if (Re.test(e)) {
322
+ const n = Re.exec(e)[1], o = n?.substring(0, n.indexOf(":"));
323
+ if (o)
324
+ return "arbitrary.." + o;
325
+ }
326
+ }, Je = (e) => {
327
+ const {
328
+ theme: n,
329
+ classGroups: o
330
+ } = e, t = {
331
+ nextPart: /* @__PURE__ */ new Map(),
332
+ validators: []
333
+ };
334
+ for (const l in o)
335
+ ge(o[l], t, l, n);
336
+ return t;
337
+ }, ge = (e, n, o, t) => {
338
+ e.forEach((l) => {
339
+ if (typeof l == "string") {
340
+ const d = l === "" ? n : Ee(n, l);
341
+ d.classGroupId = o;
342
+ return;
343
+ }
344
+ if (typeof l == "function") {
345
+ if (Xe(l)) {
346
+ ge(l(t), n, o, t);
347
+ return;
348
+ }
349
+ n.validators.push({
350
+ validator: l,
351
+ classGroupId: o
352
+ });
353
+ return;
354
+ }
355
+ Object.entries(l).forEach(([d, c]) => {
356
+ ge(c, Ee(n, d), o, t);
357
+ });
358
+ });
359
+ }, Ee = (e, n) => {
360
+ let o = e;
361
+ return n.split(ye).forEach((t) => {
362
+ o.nextPart.has(t) || o.nextPart.set(t, {
363
+ nextPart: /* @__PURE__ */ new Map(),
364
+ validators: []
365
+ }), o = o.nextPart.get(t);
366
+ }), o;
367
+ }, Xe = (e) => e.isThemeGetter, He = (e) => {
368
+ if (e < 1)
369
+ return {
370
+ get: () => {
371
+ },
372
+ set: () => {
373
+ }
374
+ };
375
+ let n = 0, o = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map();
376
+ const l = (d, c) => {
377
+ o.set(d, c), n++, n > e && (n = 0, t = o, o = /* @__PURE__ */ new Map());
378
+ };
379
+ return {
380
+ get(d) {
381
+ let c = o.get(d);
382
+ if (c !== void 0)
383
+ return c;
384
+ if ((c = t.get(d)) !== void 0)
385
+ return l(d, c), c;
386
+ },
387
+ set(d, c) {
388
+ o.has(d) ? o.set(d, c) : l(d, c);
389
+ }
390
+ };
391
+ }, he = "!", xe = ":", Ze = xe.length, Qe = (e) => {
392
+ const {
393
+ prefix: n,
394
+ experimentalParseClassName: o
395
+ } = e;
396
+ let t = (l) => {
397
+ const d = [];
398
+ let c = 0, h = 0, m = 0, y;
399
+ for (let R = 0; R < l.length; R++) {
400
+ let v = l[R];
401
+ if (c === 0 && h === 0) {
402
+ if (v === xe) {
403
+ d.push(l.slice(m, R)), m = R + Ze;
404
+ continue;
405
+ }
406
+ if (v === "/") {
407
+ y = R;
408
+ continue;
409
+ }
410
+ }
411
+ v === "[" ? c++ : v === "]" ? c-- : v === "(" ? h++ : v === ")" && h--;
412
+ }
413
+ const w = d.length === 0 ? l : l.substring(m), C = Ke(w), I = C !== w, z = y && y > m ? y - m : void 0;
414
+ return {
415
+ modifiers: d,
416
+ hasImportantModifier: I,
417
+ baseClassName: C,
418
+ maybePostfixModifierPosition: z
419
+ };
420
+ };
421
+ if (n) {
422
+ const l = n + xe, d = t;
423
+ t = (c) => c.startsWith(l) ? d(c.substring(l.length)) : {
424
+ isExternal: !0,
425
+ modifiers: [],
426
+ hasImportantModifier: !1,
427
+ baseClassName: c,
428
+ maybePostfixModifierPosition: void 0
429
+ };
430
+ }
431
+ if (o) {
432
+ const l = t;
433
+ t = (d) => o({
434
+ className: d,
435
+ parseClassName: l
436
+ });
437
+ }
438
+ return t;
439
+ }, Ke = (e) => e.endsWith(he) ? e.substring(0, e.length - 1) : e.startsWith(he) ? e.substring(1) : e, er = (e) => {
440
+ const n = Object.fromEntries(e.orderSensitiveModifiers.map((t) => [t, !0]));
441
+ return (t) => {
442
+ if (t.length <= 1)
443
+ return t;
444
+ const l = [];
445
+ let d = [];
446
+ return t.forEach((c) => {
447
+ c[0] === "[" || n[c] ? (l.push(...d.sort(), c), d = []) : d.push(c);
448
+ }), l.push(...d.sort()), l;
449
+ };
450
+ }, rr = (e) => ({
451
+ cache: He(e.cacheSize),
452
+ parseClassName: Qe(e),
453
+ sortModifiers: er(e),
454
+ ...Be(e)
455
+ }), tr = /\s+/, or = (e, n) => {
456
+ const {
457
+ parseClassName: o,
458
+ getClassGroupId: t,
459
+ getConflictingClassGroupIds: l,
460
+ sortModifiers: d
461
+ } = n, c = [], h = e.trim().split(tr);
462
+ let m = "";
463
+ for (let y = h.length - 1; y >= 0; y -= 1) {
464
+ const w = h[y], {
465
+ isExternal: C,
466
+ modifiers: I,
467
+ hasImportantModifier: z,
468
+ baseClassName: R,
469
+ maybePostfixModifierPosition: v
470
+ } = o(w);
471
+ if (C) {
472
+ m = w + (m.length > 0 ? " " + m : m);
473
+ continue;
474
+ }
475
+ let M = !!v, N = t(M ? R.substring(0, v) : R);
476
+ if (!N) {
477
+ if (!M) {
478
+ m = w + (m.length > 0 ? " " + m : m);
479
+ continue;
480
+ }
481
+ if (N = t(R), !N) {
482
+ m = w + (m.length > 0 ? " " + m : m);
483
+ continue;
484
+ }
485
+ M = !1;
486
+ }
487
+ const B = d(I).join(":"), F = z ? B + he : B, O = F + N;
488
+ if (c.includes(O))
489
+ continue;
490
+ c.push(O);
491
+ const G = l(N, M);
492
+ for (let S = 0; S < G.length; ++S) {
493
+ const W = G[S];
494
+ c.push(F + W);
495
+ }
496
+ m = w + (m.length > 0 ? " " + m : m);
497
+ }
498
+ return m;
499
+ };
500
+ function nr() {
501
+ let e = 0, n, o, t = "";
502
+ for (; e < arguments.length; )
503
+ (n = arguments[e++]) && (o = Te(n)) && (t && (t += " "), t += o);
504
+ return t;
505
+ }
506
+ const Te = (e) => {
507
+ if (typeof e == "string")
508
+ return e;
509
+ let n, o = "";
510
+ for (let t = 0; t < e.length; t++)
511
+ e[t] && (n = Te(e[t])) && (o && (o += " "), o += n);
512
+ return o;
513
+ };
514
+ function sr(e, ...n) {
515
+ let o, t, l, d = c;
516
+ function c(m) {
517
+ const y = n.reduce((w, C) => C(w), e());
518
+ return o = rr(y), t = o.cache.get, l = o.cache.set, d = h, h(m);
519
+ }
520
+ function h(m) {
521
+ const y = t(m);
522
+ if (y)
523
+ return y;
524
+ const w = or(m, o);
525
+ return l(m, w), w;
526
+ }
527
+ return function() {
528
+ return d(nr.apply(null, arguments));
529
+ };
530
+ }
531
+ const E = (e) => {
532
+ const n = (o) => o[e] || [];
533
+ return n.isThemeGetter = !0, n;
534
+ }, Pe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ze = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ar = /^\d+\/\d+$/, ir = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, lr = /\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$/, cr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, dr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ur = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ee = (e) => ar.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), X = (e) => !!e && Number.isInteger(Number(e)), pe = (e) => e.endsWith("%") && p(e.slice(0, -1)), U = (e) => ir.test(e), mr = () => !0, fr = (e) => (
535
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
536
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
537
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
538
+ lr.test(e) && !cr.test(e)
539
+ ), Me = () => !1, pr = (e) => dr.test(e), br = (e) => ur.test(e), gr = (e) => !a(e) && !i(e), hr = (e) => re(e, Ie, Me), a = (e) => Pe.test(e), Z = (e) => re(e, Oe, fr), be = (e) => re(e, vr, p), _e = (e) => re(e, je, Me), xr = (e) => re(e, Ne, br), de = (e) => re(e, Ge, pr), i = (e) => ze.test(e), ie = (e) => te(e, Oe), yr = (e) => te(e, Rr), Ae = (e) => te(e, je), kr = (e) => te(e, Ie), wr = (e) => te(e, Ne), ue = (e) => te(e, Ge, !0), re = (e, n, o) => {
540
+ const t = Pe.exec(e);
541
+ return t ? t[1] ? n(t[1]) : o(t[2]) : !1;
542
+ }, te = (e, n, o = !1) => {
543
+ const t = ze.exec(e);
544
+ return t ? t[1] ? n(t[1]) : o : !1;
545
+ }, je = (e) => e === "position" || e === "percentage", Ne = (e) => e === "image" || e === "url", Ie = (e) => e === "length" || e === "size" || e === "bg-size", Oe = (e) => e === "length", vr = (e) => e === "number", Rr = (e) => e === "family-name", Ge = (e) => e === "shadow", Er = () => {
546
+ const e = E("color"), n = E("font"), o = E("text"), t = E("font-weight"), l = E("tracking"), d = E("leading"), c = E("breakpoint"), h = E("container"), m = E("spacing"), y = E("radius"), w = E("shadow"), C = E("inset-shadow"), I = E("text-shadow"), z = E("drop-shadow"), R = E("blur"), v = E("perspective"), M = E("aspect"), N = E("ease"), B = E("animate"), F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], O = () => [
547
+ "center",
548
+ "top",
549
+ "bottom",
550
+ "left",
551
+ "right",
552
+ "top-left",
553
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
554
+ "left-top",
555
+ "top-right",
556
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
557
+ "right-top",
558
+ "bottom-right",
559
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
560
+ "right-bottom",
561
+ "bottom-left",
562
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
563
+ "left-bottom"
564
+ ], G = () => [...O(), i, a], S = () => ["auto", "hidden", "clip", "visible", "scroll"], W = () => ["auto", "contain", "none"], s = () => [i, a, m], k = () => [ee, "full", "auto", ...s()], q = () => [X, "none", "subgrid", i, a], H = () => ["auto", {
565
+ span: ["full", X, i, a]
566
+ }, X, i, a], A = () => [X, "auto", i, a], D = () => ["auto", "min", "max", "fr", i, a], T = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], L = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], j = () => ["auto", ...s()], $ = () => [ee, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...s()], u = () => [e, i, a], oe = () => [...O(), Ae, _e, {
567
+ position: [i, a]
568
+ }], ne = () => ["no-repeat", {
569
+ repeat: ["", "x", "y", "space", "round"]
570
+ }], r = () => ["auto", "cover", "contain", kr, hr, {
571
+ size: [i, a]
572
+ }], f = () => [pe, ie, Z], b = () => [
573
+ // Deprecated since Tailwind CSS v4.0.0
574
+ "",
575
+ "none",
576
+ "full",
577
+ y,
578
+ i,
579
+ a
580
+ ], x = () => ["", p, ie, Z], Y = () => ["solid", "dashed", "dotted", "double"], Q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], g = () => [p, pe, Ae, _e], V = () => [
581
+ // Deprecated since Tailwind CSS v4.0.0
582
+ "",
583
+ "none",
584
+ R,
585
+ i,
586
+ a
587
+ ], J = () => ["none", p, i, a], K = () => ["none", p, i, a], me = () => [p, i, a], le = () => [ee, "full", ...s()];
588
+ return {
589
+ cacheSize: 500,
590
+ theme: {
591
+ animate: ["spin", "ping", "pulse", "bounce"],
592
+ aspect: ["video"],
593
+ blur: [U],
594
+ breakpoint: [U],
595
+ color: [mr],
596
+ container: [U],
597
+ "drop-shadow": [U],
598
+ ease: ["in", "out", "in-out"],
599
+ font: [gr],
600
+ "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
601
+ "inset-shadow": [U],
602
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
603
+ perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
604
+ radius: [U],
605
+ shadow: [U],
606
+ spacing: ["px", p],
607
+ text: [U],
608
+ "text-shadow": [U],
609
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
610
+ },
611
+ classGroups: {
612
+ // --------------
613
+ // --- Layout ---
614
+ // --------------
615
+ /**
616
+ * Aspect Ratio
617
+ * @see https://tailwindcss.com/docs/aspect-ratio
618
+ */
619
+ aspect: [{
620
+ aspect: ["auto", "square", ee, a, i, M]
621
+ }],
622
+ /**
623
+ * Container
624
+ * @see https://tailwindcss.com/docs/container
625
+ * @deprecated since Tailwind CSS v4.0.0
626
+ */
627
+ container: ["container"],
628
+ /**
629
+ * Columns
630
+ * @see https://tailwindcss.com/docs/columns
631
+ */
632
+ columns: [{
633
+ columns: [p, a, i, h]
634
+ }],
635
+ /**
636
+ * Break After
637
+ * @see https://tailwindcss.com/docs/break-after
638
+ */
639
+ "break-after": [{
640
+ "break-after": F()
641
+ }],
642
+ /**
643
+ * Break Before
644
+ * @see https://tailwindcss.com/docs/break-before
645
+ */
646
+ "break-before": [{
647
+ "break-before": F()
648
+ }],
649
+ /**
650
+ * Break Inside
651
+ * @see https://tailwindcss.com/docs/break-inside
652
+ */
653
+ "break-inside": [{
654
+ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
655
+ }],
656
+ /**
657
+ * Box Decoration Break
658
+ * @see https://tailwindcss.com/docs/box-decoration-break
659
+ */
660
+ "box-decoration": [{
661
+ "box-decoration": ["slice", "clone"]
662
+ }],
663
+ /**
664
+ * Box Sizing
665
+ * @see https://tailwindcss.com/docs/box-sizing
666
+ */
667
+ box: [{
668
+ box: ["border", "content"]
669
+ }],
670
+ /**
671
+ * Display
672
+ * @see https://tailwindcss.com/docs/display
673
+ */
674
+ display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
675
+ /**
676
+ * Screen Reader Only
677
+ * @see https://tailwindcss.com/docs/display#screen-reader-only
678
+ */
679
+ sr: ["sr-only", "not-sr-only"],
680
+ /**
681
+ * Floats
682
+ * @see https://tailwindcss.com/docs/float
683
+ */
684
+ float: [{
685
+ float: ["right", "left", "none", "start", "end"]
686
+ }],
687
+ /**
688
+ * Clear
689
+ * @see https://tailwindcss.com/docs/clear
690
+ */
691
+ clear: [{
692
+ clear: ["left", "right", "both", "none", "start", "end"]
693
+ }],
694
+ /**
695
+ * Isolation
696
+ * @see https://tailwindcss.com/docs/isolation
697
+ */
698
+ isolation: ["isolate", "isolation-auto"],
699
+ /**
700
+ * Object Fit
701
+ * @see https://tailwindcss.com/docs/object-fit
702
+ */
703
+ "object-fit": [{
704
+ object: ["contain", "cover", "fill", "none", "scale-down"]
705
+ }],
706
+ /**
707
+ * Object Position
708
+ * @see https://tailwindcss.com/docs/object-position
709
+ */
710
+ "object-position": [{
711
+ object: G()
712
+ }],
713
+ /**
714
+ * Overflow
715
+ * @see https://tailwindcss.com/docs/overflow
716
+ */
717
+ overflow: [{
718
+ overflow: S()
719
+ }],
720
+ /**
721
+ * Overflow X
722
+ * @see https://tailwindcss.com/docs/overflow
723
+ */
724
+ "overflow-x": [{
725
+ "overflow-x": S()
726
+ }],
727
+ /**
728
+ * Overflow Y
729
+ * @see https://tailwindcss.com/docs/overflow
730
+ */
731
+ "overflow-y": [{
732
+ "overflow-y": S()
733
+ }],
734
+ /**
735
+ * Overscroll Behavior
736
+ * @see https://tailwindcss.com/docs/overscroll-behavior
737
+ */
738
+ overscroll: [{
739
+ overscroll: W()
740
+ }],
741
+ /**
742
+ * Overscroll Behavior X
743
+ * @see https://tailwindcss.com/docs/overscroll-behavior
744
+ */
745
+ "overscroll-x": [{
746
+ "overscroll-x": W()
747
+ }],
748
+ /**
749
+ * Overscroll Behavior Y
750
+ * @see https://tailwindcss.com/docs/overscroll-behavior
751
+ */
752
+ "overscroll-y": [{
753
+ "overscroll-y": W()
754
+ }],
755
+ /**
756
+ * Position
757
+ * @see https://tailwindcss.com/docs/position
758
+ */
759
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
760
+ /**
761
+ * Top / Right / Bottom / Left
762
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
763
+ */
764
+ inset: [{
765
+ inset: k()
766
+ }],
767
+ /**
768
+ * Right / Left
769
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
770
+ */
771
+ "inset-x": [{
772
+ "inset-x": k()
773
+ }],
774
+ /**
775
+ * Top / Bottom
776
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
777
+ */
778
+ "inset-y": [{
779
+ "inset-y": k()
780
+ }],
781
+ /**
782
+ * Start
783
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
784
+ */
785
+ start: [{
786
+ start: k()
787
+ }],
788
+ /**
789
+ * End
790
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
791
+ */
792
+ end: [{
793
+ end: k()
794
+ }],
795
+ /**
796
+ * Top
797
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
798
+ */
799
+ top: [{
800
+ top: k()
801
+ }],
802
+ /**
803
+ * Right
804
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
805
+ */
806
+ right: [{
807
+ right: k()
808
+ }],
809
+ /**
810
+ * Bottom
811
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
812
+ */
813
+ bottom: [{
814
+ bottom: k()
815
+ }],
816
+ /**
817
+ * Left
818
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
819
+ */
820
+ left: [{
821
+ left: k()
822
+ }],
823
+ /**
824
+ * Visibility
825
+ * @see https://tailwindcss.com/docs/visibility
826
+ */
827
+ visibility: ["visible", "invisible", "collapse"],
828
+ /**
829
+ * Z-Index
830
+ * @see https://tailwindcss.com/docs/z-index
831
+ */
832
+ z: [{
833
+ z: [X, "auto", i, a]
834
+ }],
835
+ // ------------------------
836
+ // --- Flexbox and Grid ---
837
+ // ------------------------
838
+ /**
839
+ * Flex Basis
840
+ * @see https://tailwindcss.com/docs/flex-basis
841
+ */
842
+ basis: [{
843
+ basis: [ee, "full", "auto", h, ...s()]
844
+ }],
845
+ /**
846
+ * Flex Direction
847
+ * @see https://tailwindcss.com/docs/flex-direction
848
+ */
849
+ "flex-direction": [{
850
+ flex: ["row", "row-reverse", "col", "col-reverse"]
851
+ }],
852
+ /**
853
+ * Flex Wrap
854
+ * @see https://tailwindcss.com/docs/flex-wrap
855
+ */
856
+ "flex-wrap": [{
857
+ flex: ["nowrap", "wrap", "wrap-reverse"]
858
+ }],
859
+ /**
860
+ * Flex
861
+ * @see https://tailwindcss.com/docs/flex
862
+ */
863
+ flex: [{
864
+ flex: [p, ee, "auto", "initial", "none", a]
865
+ }],
866
+ /**
867
+ * Flex Grow
868
+ * @see https://tailwindcss.com/docs/flex-grow
869
+ */
870
+ grow: [{
871
+ grow: ["", p, i, a]
872
+ }],
873
+ /**
874
+ * Flex Shrink
875
+ * @see https://tailwindcss.com/docs/flex-shrink
876
+ */
877
+ shrink: [{
878
+ shrink: ["", p, i, a]
879
+ }],
880
+ /**
881
+ * Order
882
+ * @see https://tailwindcss.com/docs/order
883
+ */
884
+ order: [{
885
+ order: [X, "first", "last", "none", i, a]
886
+ }],
887
+ /**
888
+ * Grid Template Columns
889
+ * @see https://tailwindcss.com/docs/grid-template-columns
890
+ */
891
+ "grid-cols": [{
892
+ "grid-cols": q()
893
+ }],
894
+ /**
895
+ * Grid Column Start / End
896
+ * @see https://tailwindcss.com/docs/grid-column
897
+ */
898
+ "col-start-end": [{
899
+ col: H()
900
+ }],
901
+ /**
902
+ * Grid Column Start
903
+ * @see https://tailwindcss.com/docs/grid-column
904
+ */
905
+ "col-start": [{
906
+ "col-start": A()
907
+ }],
908
+ /**
909
+ * Grid Column End
910
+ * @see https://tailwindcss.com/docs/grid-column
911
+ */
912
+ "col-end": [{
913
+ "col-end": A()
914
+ }],
915
+ /**
916
+ * Grid Template Rows
917
+ * @see https://tailwindcss.com/docs/grid-template-rows
918
+ */
919
+ "grid-rows": [{
920
+ "grid-rows": q()
921
+ }],
922
+ /**
923
+ * Grid Row Start / End
924
+ * @see https://tailwindcss.com/docs/grid-row
925
+ */
926
+ "row-start-end": [{
927
+ row: H()
928
+ }],
929
+ /**
930
+ * Grid Row Start
931
+ * @see https://tailwindcss.com/docs/grid-row
932
+ */
933
+ "row-start": [{
934
+ "row-start": A()
935
+ }],
936
+ /**
937
+ * Grid Row End
938
+ * @see https://tailwindcss.com/docs/grid-row
939
+ */
940
+ "row-end": [{
941
+ "row-end": A()
942
+ }],
943
+ /**
944
+ * Grid Auto Flow
945
+ * @see https://tailwindcss.com/docs/grid-auto-flow
946
+ */
947
+ "grid-flow": [{
948
+ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
949
+ }],
950
+ /**
951
+ * Grid Auto Columns
952
+ * @see https://tailwindcss.com/docs/grid-auto-columns
953
+ */
954
+ "auto-cols": [{
955
+ "auto-cols": D()
956
+ }],
957
+ /**
958
+ * Grid Auto Rows
959
+ * @see https://tailwindcss.com/docs/grid-auto-rows
960
+ */
961
+ "auto-rows": [{
962
+ "auto-rows": D()
963
+ }],
964
+ /**
965
+ * Gap
966
+ * @see https://tailwindcss.com/docs/gap
967
+ */
968
+ gap: [{
969
+ gap: s()
970
+ }],
971
+ /**
972
+ * Gap X
973
+ * @see https://tailwindcss.com/docs/gap
974
+ */
975
+ "gap-x": [{
976
+ "gap-x": s()
977
+ }],
978
+ /**
979
+ * Gap Y
980
+ * @see https://tailwindcss.com/docs/gap
981
+ */
982
+ "gap-y": [{
983
+ "gap-y": s()
984
+ }],
985
+ /**
986
+ * Justify Content
987
+ * @see https://tailwindcss.com/docs/justify-content
988
+ */
989
+ "justify-content": [{
990
+ justify: [...T(), "normal"]
991
+ }],
992
+ /**
993
+ * Justify Items
994
+ * @see https://tailwindcss.com/docs/justify-items
995
+ */
996
+ "justify-items": [{
997
+ "justify-items": [...L(), "normal"]
998
+ }],
999
+ /**
1000
+ * Justify Self
1001
+ * @see https://tailwindcss.com/docs/justify-self
1002
+ */
1003
+ "justify-self": [{
1004
+ "justify-self": ["auto", ...L()]
1005
+ }],
1006
+ /**
1007
+ * Align Content
1008
+ * @see https://tailwindcss.com/docs/align-content
1009
+ */
1010
+ "align-content": [{
1011
+ content: ["normal", ...T()]
1012
+ }],
1013
+ /**
1014
+ * Align Items
1015
+ * @see https://tailwindcss.com/docs/align-items
1016
+ */
1017
+ "align-items": [{
1018
+ items: [...L(), {
1019
+ baseline: ["", "last"]
1020
+ }]
1021
+ }],
1022
+ /**
1023
+ * Align Self
1024
+ * @see https://tailwindcss.com/docs/align-self
1025
+ */
1026
+ "align-self": [{
1027
+ self: ["auto", ...L(), {
1028
+ baseline: ["", "last"]
1029
+ }]
1030
+ }],
1031
+ /**
1032
+ * Place Content
1033
+ * @see https://tailwindcss.com/docs/place-content
1034
+ */
1035
+ "place-content": [{
1036
+ "place-content": T()
1037
+ }],
1038
+ /**
1039
+ * Place Items
1040
+ * @see https://tailwindcss.com/docs/place-items
1041
+ */
1042
+ "place-items": [{
1043
+ "place-items": [...L(), "baseline"]
1044
+ }],
1045
+ /**
1046
+ * Place Self
1047
+ * @see https://tailwindcss.com/docs/place-self
1048
+ */
1049
+ "place-self": [{
1050
+ "place-self": ["auto", ...L()]
1051
+ }],
1052
+ // Spacing
1053
+ /**
1054
+ * Padding
1055
+ * @see https://tailwindcss.com/docs/padding
1056
+ */
1057
+ p: [{
1058
+ p: s()
1059
+ }],
1060
+ /**
1061
+ * Padding X
1062
+ * @see https://tailwindcss.com/docs/padding
1063
+ */
1064
+ px: [{
1065
+ px: s()
1066
+ }],
1067
+ /**
1068
+ * Padding Y
1069
+ * @see https://tailwindcss.com/docs/padding
1070
+ */
1071
+ py: [{
1072
+ py: s()
1073
+ }],
1074
+ /**
1075
+ * Padding Start
1076
+ * @see https://tailwindcss.com/docs/padding
1077
+ */
1078
+ ps: [{
1079
+ ps: s()
1080
+ }],
1081
+ /**
1082
+ * Padding End
1083
+ * @see https://tailwindcss.com/docs/padding
1084
+ */
1085
+ pe: [{
1086
+ pe: s()
1087
+ }],
1088
+ /**
1089
+ * Padding Top
1090
+ * @see https://tailwindcss.com/docs/padding
1091
+ */
1092
+ pt: [{
1093
+ pt: s()
1094
+ }],
1095
+ /**
1096
+ * Padding Right
1097
+ * @see https://tailwindcss.com/docs/padding
1098
+ */
1099
+ pr: [{
1100
+ pr: s()
1101
+ }],
1102
+ /**
1103
+ * Padding Bottom
1104
+ * @see https://tailwindcss.com/docs/padding
1105
+ */
1106
+ pb: [{
1107
+ pb: s()
1108
+ }],
1109
+ /**
1110
+ * Padding Left
1111
+ * @see https://tailwindcss.com/docs/padding
1112
+ */
1113
+ pl: [{
1114
+ pl: s()
1115
+ }],
1116
+ /**
1117
+ * Margin
1118
+ * @see https://tailwindcss.com/docs/margin
1119
+ */
1120
+ m: [{
1121
+ m: j()
1122
+ }],
1123
+ /**
1124
+ * Margin X
1125
+ * @see https://tailwindcss.com/docs/margin
1126
+ */
1127
+ mx: [{
1128
+ mx: j()
1129
+ }],
1130
+ /**
1131
+ * Margin Y
1132
+ * @see https://tailwindcss.com/docs/margin
1133
+ */
1134
+ my: [{
1135
+ my: j()
1136
+ }],
1137
+ /**
1138
+ * Margin Start
1139
+ * @see https://tailwindcss.com/docs/margin
1140
+ */
1141
+ ms: [{
1142
+ ms: j()
1143
+ }],
1144
+ /**
1145
+ * Margin End
1146
+ * @see https://tailwindcss.com/docs/margin
1147
+ */
1148
+ me: [{
1149
+ me: j()
1150
+ }],
1151
+ /**
1152
+ * Margin Top
1153
+ * @see https://tailwindcss.com/docs/margin
1154
+ */
1155
+ mt: [{
1156
+ mt: j()
1157
+ }],
1158
+ /**
1159
+ * Margin Right
1160
+ * @see https://tailwindcss.com/docs/margin
1161
+ */
1162
+ mr: [{
1163
+ mr: j()
1164
+ }],
1165
+ /**
1166
+ * Margin Bottom
1167
+ * @see https://tailwindcss.com/docs/margin
1168
+ */
1169
+ mb: [{
1170
+ mb: j()
1171
+ }],
1172
+ /**
1173
+ * Margin Left
1174
+ * @see https://tailwindcss.com/docs/margin
1175
+ */
1176
+ ml: [{
1177
+ ml: j()
1178
+ }],
1179
+ /**
1180
+ * Space Between X
1181
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1182
+ */
1183
+ "space-x": [{
1184
+ "space-x": s()
1185
+ }],
1186
+ /**
1187
+ * Space Between X Reverse
1188
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1189
+ */
1190
+ "space-x-reverse": ["space-x-reverse"],
1191
+ /**
1192
+ * Space Between Y
1193
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1194
+ */
1195
+ "space-y": [{
1196
+ "space-y": s()
1197
+ }],
1198
+ /**
1199
+ * Space Between Y Reverse
1200
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1201
+ */
1202
+ "space-y-reverse": ["space-y-reverse"],
1203
+ // --------------
1204
+ // --- Sizing ---
1205
+ // --------------
1206
+ /**
1207
+ * Size
1208
+ * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1209
+ */
1210
+ size: [{
1211
+ size: $()
1212
+ }],
1213
+ /**
1214
+ * Width
1215
+ * @see https://tailwindcss.com/docs/width
1216
+ */
1217
+ w: [{
1218
+ w: [h, "screen", ...$()]
1219
+ }],
1220
+ /**
1221
+ * Min-Width
1222
+ * @see https://tailwindcss.com/docs/min-width
1223
+ */
1224
+ "min-w": [{
1225
+ "min-w": [
1226
+ h,
1227
+ "screen",
1228
+ /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1229
+ "none",
1230
+ ...$()
1231
+ ]
1232
+ }],
1233
+ /**
1234
+ * Max-Width
1235
+ * @see https://tailwindcss.com/docs/max-width
1236
+ */
1237
+ "max-w": [{
1238
+ "max-w": [
1239
+ h,
1240
+ "screen",
1241
+ "none",
1242
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1243
+ "prose",
1244
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1245
+ {
1246
+ screen: [c]
1247
+ },
1248
+ ...$()
1249
+ ]
1250
+ }],
1251
+ /**
1252
+ * Height
1253
+ * @see https://tailwindcss.com/docs/height
1254
+ */
1255
+ h: [{
1256
+ h: ["screen", "lh", ...$()]
1257
+ }],
1258
+ /**
1259
+ * Min-Height
1260
+ * @see https://tailwindcss.com/docs/min-height
1261
+ */
1262
+ "min-h": [{
1263
+ "min-h": ["screen", "lh", "none", ...$()]
1264
+ }],
1265
+ /**
1266
+ * Max-Height
1267
+ * @see https://tailwindcss.com/docs/max-height
1268
+ */
1269
+ "max-h": [{
1270
+ "max-h": ["screen", "lh", ...$()]
1271
+ }],
1272
+ // ------------------
1273
+ // --- Typography ---
1274
+ // ------------------
1275
+ /**
1276
+ * Font Size
1277
+ * @see https://tailwindcss.com/docs/font-size
1278
+ */
1279
+ "font-size": [{
1280
+ text: ["base", o, ie, Z]
1281
+ }],
1282
+ /**
1283
+ * Font Smoothing
1284
+ * @see https://tailwindcss.com/docs/font-smoothing
1285
+ */
1286
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1287
+ /**
1288
+ * Font Style
1289
+ * @see https://tailwindcss.com/docs/font-style
1290
+ */
1291
+ "font-style": ["italic", "not-italic"],
1292
+ /**
1293
+ * Font Weight
1294
+ * @see https://tailwindcss.com/docs/font-weight
1295
+ */
1296
+ "font-weight": [{
1297
+ font: [t, i, be]
1298
+ }],
1299
+ /**
1300
+ * Font Stretch
1301
+ * @see https://tailwindcss.com/docs/font-stretch
1302
+ */
1303
+ "font-stretch": [{
1304
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", pe, a]
1305
+ }],
1306
+ /**
1307
+ * Font Family
1308
+ * @see https://tailwindcss.com/docs/font-family
1309
+ */
1310
+ "font-family": [{
1311
+ font: [yr, a, n]
1312
+ }],
1313
+ /**
1314
+ * Font Variant Numeric
1315
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1316
+ */
1317
+ "fvn-normal": ["normal-nums"],
1318
+ /**
1319
+ * Font Variant Numeric
1320
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1321
+ */
1322
+ "fvn-ordinal": ["ordinal"],
1323
+ /**
1324
+ * Font Variant Numeric
1325
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1326
+ */
1327
+ "fvn-slashed-zero": ["slashed-zero"],
1328
+ /**
1329
+ * Font Variant Numeric
1330
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1331
+ */
1332
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1333
+ /**
1334
+ * Font Variant Numeric
1335
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1336
+ */
1337
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1338
+ /**
1339
+ * Font Variant Numeric
1340
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1341
+ */
1342
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1343
+ /**
1344
+ * Letter Spacing
1345
+ * @see https://tailwindcss.com/docs/letter-spacing
1346
+ */
1347
+ tracking: [{
1348
+ tracking: [l, i, a]
1349
+ }],
1350
+ /**
1351
+ * Line Clamp
1352
+ * @see https://tailwindcss.com/docs/line-clamp
1353
+ */
1354
+ "line-clamp": [{
1355
+ "line-clamp": [p, "none", i, be]
1356
+ }],
1357
+ /**
1358
+ * Line Height
1359
+ * @see https://tailwindcss.com/docs/line-height
1360
+ */
1361
+ leading: [{
1362
+ leading: [
1363
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1364
+ d,
1365
+ ...s()
1366
+ ]
1367
+ }],
1368
+ /**
1369
+ * List Style Image
1370
+ * @see https://tailwindcss.com/docs/list-style-image
1371
+ */
1372
+ "list-image": [{
1373
+ "list-image": ["none", i, a]
1374
+ }],
1375
+ /**
1376
+ * List Style Position
1377
+ * @see https://tailwindcss.com/docs/list-style-position
1378
+ */
1379
+ "list-style-position": [{
1380
+ list: ["inside", "outside"]
1381
+ }],
1382
+ /**
1383
+ * List Style Type
1384
+ * @see https://tailwindcss.com/docs/list-style-type
1385
+ */
1386
+ "list-style-type": [{
1387
+ list: ["disc", "decimal", "none", i, a]
1388
+ }],
1389
+ /**
1390
+ * Text Alignment
1391
+ * @see https://tailwindcss.com/docs/text-align
1392
+ */
1393
+ "text-alignment": [{
1394
+ text: ["left", "center", "right", "justify", "start", "end"]
1395
+ }],
1396
+ /**
1397
+ * Placeholder Color
1398
+ * @deprecated since Tailwind CSS v3.0.0
1399
+ * @see https://v3.tailwindcss.com/docs/placeholder-color
1400
+ */
1401
+ "placeholder-color": [{
1402
+ placeholder: u()
1403
+ }],
1404
+ /**
1405
+ * Text Color
1406
+ * @see https://tailwindcss.com/docs/text-color
1407
+ */
1408
+ "text-color": [{
1409
+ text: u()
1410
+ }],
1411
+ /**
1412
+ * Text Decoration
1413
+ * @see https://tailwindcss.com/docs/text-decoration
1414
+ */
1415
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1416
+ /**
1417
+ * Text Decoration Style
1418
+ * @see https://tailwindcss.com/docs/text-decoration-style
1419
+ */
1420
+ "text-decoration-style": [{
1421
+ decoration: [...Y(), "wavy"]
1422
+ }],
1423
+ /**
1424
+ * Text Decoration Thickness
1425
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1426
+ */
1427
+ "text-decoration-thickness": [{
1428
+ decoration: [p, "from-font", "auto", i, Z]
1429
+ }],
1430
+ /**
1431
+ * Text Decoration Color
1432
+ * @see https://tailwindcss.com/docs/text-decoration-color
1433
+ */
1434
+ "text-decoration-color": [{
1435
+ decoration: u()
1436
+ }],
1437
+ /**
1438
+ * Text Underline Offset
1439
+ * @see https://tailwindcss.com/docs/text-underline-offset
1440
+ */
1441
+ "underline-offset": [{
1442
+ "underline-offset": [p, "auto", i, a]
1443
+ }],
1444
+ /**
1445
+ * Text Transform
1446
+ * @see https://tailwindcss.com/docs/text-transform
1447
+ */
1448
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1449
+ /**
1450
+ * Text Overflow
1451
+ * @see https://tailwindcss.com/docs/text-overflow
1452
+ */
1453
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1454
+ /**
1455
+ * Text Wrap
1456
+ * @see https://tailwindcss.com/docs/text-wrap
1457
+ */
1458
+ "text-wrap": [{
1459
+ text: ["wrap", "nowrap", "balance", "pretty"]
1460
+ }],
1461
+ /**
1462
+ * Text Indent
1463
+ * @see https://tailwindcss.com/docs/text-indent
1464
+ */
1465
+ indent: [{
1466
+ indent: s()
1467
+ }],
1468
+ /**
1469
+ * Vertical Alignment
1470
+ * @see https://tailwindcss.com/docs/vertical-align
1471
+ */
1472
+ "vertical-align": [{
1473
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", i, a]
1474
+ }],
1475
+ /**
1476
+ * Whitespace
1477
+ * @see https://tailwindcss.com/docs/whitespace
1478
+ */
1479
+ whitespace: [{
1480
+ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1481
+ }],
1482
+ /**
1483
+ * Word Break
1484
+ * @see https://tailwindcss.com/docs/word-break
1485
+ */
1486
+ break: [{
1487
+ break: ["normal", "words", "all", "keep"]
1488
+ }],
1489
+ /**
1490
+ * Overflow Wrap
1491
+ * @see https://tailwindcss.com/docs/overflow-wrap
1492
+ */
1493
+ wrap: [{
1494
+ wrap: ["break-word", "anywhere", "normal"]
1495
+ }],
1496
+ /**
1497
+ * Hyphens
1498
+ * @see https://tailwindcss.com/docs/hyphens
1499
+ */
1500
+ hyphens: [{
1501
+ hyphens: ["none", "manual", "auto"]
1502
+ }],
1503
+ /**
1504
+ * Content
1505
+ * @see https://tailwindcss.com/docs/content
1506
+ */
1507
+ content: [{
1508
+ content: ["none", i, a]
1509
+ }],
1510
+ // -------------------
1511
+ // --- Backgrounds ---
1512
+ // -------------------
1513
+ /**
1514
+ * Background Attachment
1515
+ * @see https://tailwindcss.com/docs/background-attachment
1516
+ */
1517
+ "bg-attachment": [{
1518
+ bg: ["fixed", "local", "scroll"]
1519
+ }],
1520
+ /**
1521
+ * Background Clip
1522
+ * @see https://tailwindcss.com/docs/background-clip
1523
+ */
1524
+ "bg-clip": [{
1525
+ "bg-clip": ["border", "padding", "content", "text"]
1526
+ }],
1527
+ /**
1528
+ * Background Origin
1529
+ * @see https://tailwindcss.com/docs/background-origin
1530
+ */
1531
+ "bg-origin": [{
1532
+ "bg-origin": ["border", "padding", "content"]
1533
+ }],
1534
+ /**
1535
+ * Background Position
1536
+ * @see https://tailwindcss.com/docs/background-position
1537
+ */
1538
+ "bg-position": [{
1539
+ bg: oe()
1540
+ }],
1541
+ /**
1542
+ * Background Repeat
1543
+ * @see https://tailwindcss.com/docs/background-repeat
1544
+ */
1545
+ "bg-repeat": [{
1546
+ bg: ne()
1547
+ }],
1548
+ /**
1549
+ * Background Size
1550
+ * @see https://tailwindcss.com/docs/background-size
1551
+ */
1552
+ "bg-size": [{
1553
+ bg: r()
1554
+ }],
1555
+ /**
1556
+ * Background Image
1557
+ * @see https://tailwindcss.com/docs/background-image
1558
+ */
1559
+ "bg-image": [{
1560
+ bg: ["none", {
1561
+ linear: [{
1562
+ to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1563
+ }, X, i, a],
1564
+ radial: ["", i, a],
1565
+ conic: [X, i, a]
1566
+ }, wr, xr]
1567
+ }],
1568
+ /**
1569
+ * Background Color
1570
+ * @see https://tailwindcss.com/docs/background-color
1571
+ */
1572
+ "bg-color": [{
1573
+ bg: u()
1574
+ }],
1575
+ /**
1576
+ * Gradient Color Stops From Position
1577
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1578
+ */
1579
+ "gradient-from-pos": [{
1580
+ from: f()
1581
+ }],
1582
+ /**
1583
+ * Gradient Color Stops Via Position
1584
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1585
+ */
1586
+ "gradient-via-pos": [{
1587
+ via: f()
1588
+ }],
1589
+ /**
1590
+ * Gradient Color Stops To Position
1591
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1592
+ */
1593
+ "gradient-to-pos": [{
1594
+ to: f()
1595
+ }],
1596
+ /**
1597
+ * Gradient Color Stops From
1598
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1599
+ */
1600
+ "gradient-from": [{
1601
+ from: u()
1602
+ }],
1603
+ /**
1604
+ * Gradient Color Stops Via
1605
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1606
+ */
1607
+ "gradient-via": [{
1608
+ via: u()
1609
+ }],
1610
+ /**
1611
+ * Gradient Color Stops To
1612
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1613
+ */
1614
+ "gradient-to": [{
1615
+ to: u()
1616
+ }],
1617
+ // ---------------
1618
+ // --- Borders ---
1619
+ // ---------------
1620
+ /**
1621
+ * Border Radius
1622
+ * @see https://tailwindcss.com/docs/border-radius
1623
+ */
1624
+ rounded: [{
1625
+ rounded: b()
1626
+ }],
1627
+ /**
1628
+ * Border Radius Start
1629
+ * @see https://tailwindcss.com/docs/border-radius
1630
+ */
1631
+ "rounded-s": [{
1632
+ "rounded-s": b()
1633
+ }],
1634
+ /**
1635
+ * Border Radius End
1636
+ * @see https://tailwindcss.com/docs/border-radius
1637
+ */
1638
+ "rounded-e": [{
1639
+ "rounded-e": b()
1640
+ }],
1641
+ /**
1642
+ * Border Radius Top
1643
+ * @see https://tailwindcss.com/docs/border-radius
1644
+ */
1645
+ "rounded-t": [{
1646
+ "rounded-t": b()
1647
+ }],
1648
+ /**
1649
+ * Border Radius Right
1650
+ * @see https://tailwindcss.com/docs/border-radius
1651
+ */
1652
+ "rounded-r": [{
1653
+ "rounded-r": b()
1654
+ }],
1655
+ /**
1656
+ * Border Radius Bottom
1657
+ * @see https://tailwindcss.com/docs/border-radius
1658
+ */
1659
+ "rounded-b": [{
1660
+ "rounded-b": b()
1661
+ }],
1662
+ /**
1663
+ * Border Radius Left
1664
+ * @see https://tailwindcss.com/docs/border-radius
1665
+ */
1666
+ "rounded-l": [{
1667
+ "rounded-l": b()
1668
+ }],
1669
+ /**
1670
+ * Border Radius Start Start
1671
+ * @see https://tailwindcss.com/docs/border-radius
1672
+ */
1673
+ "rounded-ss": [{
1674
+ "rounded-ss": b()
1675
+ }],
1676
+ /**
1677
+ * Border Radius Start End
1678
+ * @see https://tailwindcss.com/docs/border-radius
1679
+ */
1680
+ "rounded-se": [{
1681
+ "rounded-se": b()
1682
+ }],
1683
+ /**
1684
+ * Border Radius End End
1685
+ * @see https://tailwindcss.com/docs/border-radius
1686
+ */
1687
+ "rounded-ee": [{
1688
+ "rounded-ee": b()
1689
+ }],
1690
+ /**
1691
+ * Border Radius End Start
1692
+ * @see https://tailwindcss.com/docs/border-radius
1693
+ */
1694
+ "rounded-es": [{
1695
+ "rounded-es": b()
1696
+ }],
1697
+ /**
1698
+ * Border Radius Top Left
1699
+ * @see https://tailwindcss.com/docs/border-radius
1700
+ */
1701
+ "rounded-tl": [{
1702
+ "rounded-tl": b()
1703
+ }],
1704
+ /**
1705
+ * Border Radius Top Right
1706
+ * @see https://tailwindcss.com/docs/border-radius
1707
+ */
1708
+ "rounded-tr": [{
1709
+ "rounded-tr": b()
1710
+ }],
1711
+ /**
1712
+ * Border Radius Bottom Right
1713
+ * @see https://tailwindcss.com/docs/border-radius
1714
+ */
1715
+ "rounded-br": [{
1716
+ "rounded-br": b()
1717
+ }],
1718
+ /**
1719
+ * Border Radius Bottom Left
1720
+ * @see https://tailwindcss.com/docs/border-radius
1721
+ */
1722
+ "rounded-bl": [{
1723
+ "rounded-bl": b()
1724
+ }],
1725
+ /**
1726
+ * Border Width
1727
+ * @see https://tailwindcss.com/docs/border-width
1728
+ */
1729
+ "border-w": [{
1730
+ border: x()
1731
+ }],
1732
+ /**
1733
+ * Border Width X
1734
+ * @see https://tailwindcss.com/docs/border-width
1735
+ */
1736
+ "border-w-x": [{
1737
+ "border-x": x()
1738
+ }],
1739
+ /**
1740
+ * Border Width Y
1741
+ * @see https://tailwindcss.com/docs/border-width
1742
+ */
1743
+ "border-w-y": [{
1744
+ "border-y": x()
1745
+ }],
1746
+ /**
1747
+ * Border Width Start
1748
+ * @see https://tailwindcss.com/docs/border-width
1749
+ */
1750
+ "border-w-s": [{
1751
+ "border-s": x()
1752
+ }],
1753
+ /**
1754
+ * Border Width End
1755
+ * @see https://tailwindcss.com/docs/border-width
1756
+ */
1757
+ "border-w-e": [{
1758
+ "border-e": x()
1759
+ }],
1760
+ /**
1761
+ * Border Width Top
1762
+ * @see https://tailwindcss.com/docs/border-width
1763
+ */
1764
+ "border-w-t": [{
1765
+ "border-t": x()
1766
+ }],
1767
+ /**
1768
+ * Border Width Right
1769
+ * @see https://tailwindcss.com/docs/border-width
1770
+ */
1771
+ "border-w-r": [{
1772
+ "border-r": x()
1773
+ }],
1774
+ /**
1775
+ * Border Width Bottom
1776
+ * @see https://tailwindcss.com/docs/border-width
1777
+ */
1778
+ "border-w-b": [{
1779
+ "border-b": x()
1780
+ }],
1781
+ /**
1782
+ * Border Width Left
1783
+ * @see https://tailwindcss.com/docs/border-width
1784
+ */
1785
+ "border-w-l": [{
1786
+ "border-l": x()
1787
+ }],
1788
+ /**
1789
+ * Divide Width X
1790
+ * @see https://tailwindcss.com/docs/border-width#between-children
1791
+ */
1792
+ "divide-x": [{
1793
+ "divide-x": x()
1794
+ }],
1795
+ /**
1796
+ * Divide Width X Reverse
1797
+ * @see https://tailwindcss.com/docs/border-width#between-children
1798
+ */
1799
+ "divide-x-reverse": ["divide-x-reverse"],
1800
+ /**
1801
+ * Divide Width Y
1802
+ * @see https://tailwindcss.com/docs/border-width#between-children
1803
+ */
1804
+ "divide-y": [{
1805
+ "divide-y": x()
1806
+ }],
1807
+ /**
1808
+ * Divide Width Y Reverse
1809
+ * @see https://tailwindcss.com/docs/border-width#between-children
1810
+ */
1811
+ "divide-y-reverse": ["divide-y-reverse"],
1812
+ /**
1813
+ * Border Style
1814
+ * @see https://tailwindcss.com/docs/border-style
1815
+ */
1816
+ "border-style": [{
1817
+ border: [...Y(), "hidden", "none"]
1818
+ }],
1819
+ /**
1820
+ * Divide Style
1821
+ * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1822
+ */
1823
+ "divide-style": [{
1824
+ divide: [...Y(), "hidden", "none"]
1825
+ }],
1826
+ /**
1827
+ * Border Color
1828
+ * @see https://tailwindcss.com/docs/border-color
1829
+ */
1830
+ "border-color": [{
1831
+ border: u()
1832
+ }],
1833
+ /**
1834
+ * Border Color X
1835
+ * @see https://tailwindcss.com/docs/border-color
1836
+ */
1837
+ "border-color-x": [{
1838
+ "border-x": u()
1839
+ }],
1840
+ /**
1841
+ * Border Color Y
1842
+ * @see https://tailwindcss.com/docs/border-color
1843
+ */
1844
+ "border-color-y": [{
1845
+ "border-y": u()
1846
+ }],
1847
+ /**
1848
+ * Border Color S
1849
+ * @see https://tailwindcss.com/docs/border-color
1850
+ */
1851
+ "border-color-s": [{
1852
+ "border-s": u()
1853
+ }],
1854
+ /**
1855
+ * Border Color E
1856
+ * @see https://tailwindcss.com/docs/border-color
1857
+ */
1858
+ "border-color-e": [{
1859
+ "border-e": u()
1860
+ }],
1861
+ /**
1862
+ * Border Color Top
1863
+ * @see https://tailwindcss.com/docs/border-color
1864
+ */
1865
+ "border-color-t": [{
1866
+ "border-t": u()
1867
+ }],
1868
+ /**
1869
+ * Border Color Right
1870
+ * @see https://tailwindcss.com/docs/border-color
1871
+ */
1872
+ "border-color-r": [{
1873
+ "border-r": u()
1874
+ }],
1875
+ /**
1876
+ * Border Color Bottom
1877
+ * @see https://tailwindcss.com/docs/border-color
1878
+ */
1879
+ "border-color-b": [{
1880
+ "border-b": u()
1881
+ }],
1882
+ /**
1883
+ * Border Color Left
1884
+ * @see https://tailwindcss.com/docs/border-color
1885
+ */
1886
+ "border-color-l": [{
1887
+ "border-l": u()
1888
+ }],
1889
+ /**
1890
+ * Divide Color
1891
+ * @see https://tailwindcss.com/docs/divide-color
1892
+ */
1893
+ "divide-color": [{
1894
+ divide: u()
1895
+ }],
1896
+ /**
1897
+ * Outline Style
1898
+ * @see https://tailwindcss.com/docs/outline-style
1899
+ */
1900
+ "outline-style": [{
1901
+ outline: [...Y(), "none", "hidden"]
1902
+ }],
1903
+ /**
1904
+ * Outline Offset
1905
+ * @see https://tailwindcss.com/docs/outline-offset
1906
+ */
1907
+ "outline-offset": [{
1908
+ "outline-offset": [p, i, a]
1909
+ }],
1910
+ /**
1911
+ * Outline Width
1912
+ * @see https://tailwindcss.com/docs/outline-width
1913
+ */
1914
+ "outline-w": [{
1915
+ outline: ["", p, ie, Z]
1916
+ }],
1917
+ /**
1918
+ * Outline Color
1919
+ * @see https://tailwindcss.com/docs/outline-color
1920
+ */
1921
+ "outline-color": [{
1922
+ outline: u()
1923
+ }],
1924
+ // ---------------
1925
+ // --- Effects ---
1926
+ // ---------------
1927
+ /**
1928
+ * Box Shadow
1929
+ * @see https://tailwindcss.com/docs/box-shadow
1930
+ */
1931
+ shadow: [{
1932
+ shadow: [
1933
+ // Deprecated since Tailwind CSS v4.0.0
1934
+ "",
1935
+ "none",
1936
+ w,
1937
+ ue,
1938
+ de
1939
+ ]
1940
+ }],
1941
+ /**
1942
+ * Box Shadow Color
1943
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
1944
+ */
1945
+ "shadow-color": [{
1946
+ shadow: u()
1947
+ }],
1948
+ /**
1949
+ * Inset Box Shadow
1950
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1951
+ */
1952
+ "inset-shadow": [{
1953
+ "inset-shadow": ["none", C, ue, de]
1954
+ }],
1955
+ /**
1956
+ * Inset Box Shadow Color
1957
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
1958
+ */
1959
+ "inset-shadow-color": [{
1960
+ "inset-shadow": u()
1961
+ }],
1962
+ /**
1963
+ * Ring Width
1964
+ * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1965
+ */
1966
+ "ring-w": [{
1967
+ ring: x()
1968
+ }],
1969
+ /**
1970
+ * Ring Width Inset
1971
+ * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
1972
+ * @deprecated since Tailwind CSS v4.0.0
1973
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1974
+ */
1975
+ "ring-w-inset": ["ring-inset"],
1976
+ /**
1977
+ * Ring Color
1978
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
1979
+ */
1980
+ "ring-color": [{
1981
+ ring: u()
1982
+ }],
1983
+ /**
1984
+ * Ring Offset Width
1985
+ * @see https://v3.tailwindcss.com/docs/ring-offset-width
1986
+ * @deprecated since Tailwind CSS v4.0.0
1987
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1988
+ */
1989
+ "ring-offset-w": [{
1990
+ "ring-offset": [p, Z]
1991
+ }],
1992
+ /**
1993
+ * Ring Offset Color
1994
+ * @see https://v3.tailwindcss.com/docs/ring-offset-color
1995
+ * @deprecated since Tailwind CSS v4.0.0
1996
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1997
+ */
1998
+ "ring-offset-color": [{
1999
+ "ring-offset": u()
2000
+ }],
2001
+ /**
2002
+ * Inset Ring Width
2003
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2004
+ */
2005
+ "inset-ring-w": [{
2006
+ "inset-ring": x()
2007
+ }],
2008
+ /**
2009
+ * Inset Ring Color
2010
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
2011
+ */
2012
+ "inset-ring-color": [{
2013
+ "inset-ring": u()
2014
+ }],
2015
+ /**
2016
+ * Text Shadow
2017
+ * @see https://tailwindcss.com/docs/text-shadow
2018
+ */
2019
+ "text-shadow": [{
2020
+ "text-shadow": ["none", I, ue, de]
2021
+ }],
2022
+ /**
2023
+ * Text Shadow Color
2024
+ * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
2025
+ */
2026
+ "text-shadow-color": [{
2027
+ "text-shadow": u()
2028
+ }],
2029
+ /**
2030
+ * Opacity
2031
+ * @see https://tailwindcss.com/docs/opacity
2032
+ */
2033
+ opacity: [{
2034
+ opacity: [p, i, a]
2035
+ }],
2036
+ /**
2037
+ * Mix Blend Mode
2038
+ * @see https://tailwindcss.com/docs/mix-blend-mode
2039
+ */
2040
+ "mix-blend": [{
2041
+ "mix-blend": [...Q(), "plus-darker", "plus-lighter"]
2042
+ }],
2043
+ /**
2044
+ * Background Blend Mode
2045
+ * @see https://tailwindcss.com/docs/background-blend-mode
2046
+ */
2047
+ "bg-blend": [{
2048
+ "bg-blend": Q()
2049
+ }],
2050
+ /**
2051
+ * Mask Clip
2052
+ * @see https://tailwindcss.com/docs/mask-clip
2053
+ */
2054
+ "mask-clip": [{
2055
+ "mask-clip": ["border", "padding", "content", "fill", "stroke", "view"]
2056
+ }, "mask-no-clip"],
2057
+ /**
2058
+ * Mask Composite
2059
+ * @see https://tailwindcss.com/docs/mask-composite
2060
+ */
2061
+ "mask-composite": [{
2062
+ mask: ["add", "subtract", "intersect", "exclude"]
2063
+ }],
2064
+ /**
2065
+ * Mask Image
2066
+ * @see https://tailwindcss.com/docs/mask-image
2067
+ */
2068
+ "mask-image-linear-pos": [{
2069
+ "mask-linear": [p]
2070
+ }],
2071
+ "mask-image-linear-from-pos": [{
2072
+ "mask-linear-from": g()
2073
+ }],
2074
+ "mask-image-linear-to-pos": [{
2075
+ "mask-linear-to": g()
2076
+ }],
2077
+ "mask-image-linear-from-color": [{
2078
+ "mask-linear-from": u()
2079
+ }],
2080
+ "mask-image-linear-to-color": [{
2081
+ "mask-linear-to": u()
2082
+ }],
2083
+ "mask-image-t-from-pos": [{
2084
+ "mask-t-from": g()
2085
+ }],
2086
+ "mask-image-t-to-pos": [{
2087
+ "mask-t-to": g()
2088
+ }],
2089
+ "mask-image-t-from-color": [{
2090
+ "mask-t-from": u()
2091
+ }],
2092
+ "mask-image-t-to-color": [{
2093
+ "mask-t-to": u()
2094
+ }],
2095
+ "mask-image-r-from-pos": [{
2096
+ "mask-r-from": g()
2097
+ }],
2098
+ "mask-image-r-to-pos": [{
2099
+ "mask-r-to": g()
2100
+ }],
2101
+ "mask-image-r-from-color": [{
2102
+ "mask-r-from": u()
2103
+ }],
2104
+ "mask-image-r-to-color": [{
2105
+ "mask-r-to": u()
2106
+ }],
2107
+ "mask-image-b-from-pos": [{
2108
+ "mask-b-from": g()
2109
+ }],
2110
+ "mask-image-b-to-pos": [{
2111
+ "mask-b-to": g()
2112
+ }],
2113
+ "mask-image-b-from-color": [{
2114
+ "mask-b-from": u()
2115
+ }],
2116
+ "mask-image-b-to-color": [{
2117
+ "mask-b-to": u()
2118
+ }],
2119
+ "mask-image-l-from-pos": [{
2120
+ "mask-l-from": g()
2121
+ }],
2122
+ "mask-image-l-to-pos": [{
2123
+ "mask-l-to": g()
2124
+ }],
2125
+ "mask-image-l-from-color": [{
2126
+ "mask-l-from": u()
2127
+ }],
2128
+ "mask-image-l-to-color": [{
2129
+ "mask-l-to": u()
2130
+ }],
2131
+ "mask-image-x-from-pos": [{
2132
+ "mask-x-from": g()
2133
+ }],
2134
+ "mask-image-x-to-pos": [{
2135
+ "mask-x-to": g()
2136
+ }],
2137
+ "mask-image-x-from-color": [{
2138
+ "mask-x-from": u()
2139
+ }],
2140
+ "mask-image-x-to-color": [{
2141
+ "mask-x-to": u()
2142
+ }],
2143
+ "mask-image-y-from-pos": [{
2144
+ "mask-y-from": g()
2145
+ }],
2146
+ "mask-image-y-to-pos": [{
2147
+ "mask-y-to": g()
2148
+ }],
2149
+ "mask-image-y-from-color": [{
2150
+ "mask-y-from": u()
2151
+ }],
2152
+ "mask-image-y-to-color": [{
2153
+ "mask-y-to": u()
2154
+ }],
2155
+ "mask-image-radial": [{
2156
+ "mask-radial": [i, a]
2157
+ }],
2158
+ "mask-image-radial-from-pos": [{
2159
+ "mask-radial-from": g()
2160
+ }],
2161
+ "mask-image-radial-to-pos": [{
2162
+ "mask-radial-to": g()
2163
+ }],
2164
+ "mask-image-radial-from-color": [{
2165
+ "mask-radial-from": u()
2166
+ }],
2167
+ "mask-image-radial-to-color": [{
2168
+ "mask-radial-to": u()
2169
+ }],
2170
+ "mask-image-radial-shape": [{
2171
+ "mask-radial": ["circle", "ellipse"]
2172
+ }],
2173
+ "mask-image-radial-size": [{
2174
+ "mask-radial": [{
2175
+ closest: ["side", "corner"],
2176
+ farthest: ["side", "corner"]
2177
+ }]
2178
+ }],
2179
+ "mask-image-radial-pos": [{
2180
+ "mask-radial-at": O()
2181
+ }],
2182
+ "mask-image-conic-pos": [{
2183
+ "mask-conic": [p]
2184
+ }],
2185
+ "mask-image-conic-from-pos": [{
2186
+ "mask-conic-from": g()
2187
+ }],
2188
+ "mask-image-conic-to-pos": [{
2189
+ "mask-conic-to": g()
2190
+ }],
2191
+ "mask-image-conic-from-color": [{
2192
+ "mask-conic-from": u()
2193
+ }],
2194
+ "mask-image-conic-to-color": [{
2195
+ "mask-conic-to": u()
2196
+ }],
2197
+ /**
2198
+ * Mask Mode
2199
+ * @see https://tailwindcss.com/docs/mask-mode
2200
+ */
2201
+ "mask-mode": [{
2202
+ mask: ["alpha", "luminance", "match"]
2203
+ }],
2204
+ /**
2205
+ * Mask Origin
2206
+ * @see https://tailwindcss.com/docs/mask-origin
2207
+ */
2208
+ "mask-origin": [{
2209
+ "mask-origin": ["border", "padding", "content", "fill", "stroke", "view"]
2210
+ }],
2211
+ /**
2212
+ * Mask Position
2213
+ * @see https://tailwindcss.com/docs/mask-position
2214
+ */
2215
+ "mask-position": [{
2216
+ mask: oe()
2217
+ }],
2218
+ /**
2219
+ * Mask Repeat
2220
+ * @see https://tailwindcss.com/docs/mask-repeat
2221
+ */
2222
+ "mask-repeat": [{
2223
+ mask: ne()
2224
+ }],
2225
+ /**
2226
+ * Mask Size
2227
+ * @see https://tailwindcss.com/docs/mask-size
2228
+ */
2229
+ "mask-size": [{
2230
+ mask: r()
2231
+ }],
2232
+ /**
2233
+ * Mask Type
2234
+ * @see https://tailwindcss.com/docs/mask-type
2235
+ */
2236
+ "mask-type": [{
2237
+ "mask-type": ["alpha", "luminance"]
2238
+ }],
2239
+ /**
2240
+ * Mask Image
2241
+ * @see https://tailwindcss.com/docs/mask-image
2242
+ */
2243
+ "mask-image": [{
2244
+ mask: ["none", i, a]
2245
+ }],
2246
+ // ---------------
2247
+ // --- Filters ---
2248
+ // ---------------
2249
+ /**
2250
+ * Filter
2251
+ * @see https://tailwindcss.com/docs/filter
2252
+ */
2253
+ filter: [{
2254
+ filter: [
2255
+ // Deprecated since Tailwind CSS v3.0.0
2256
+ "",
2257
+ "none",
2258
+ i,
2259
+ a
2260
+ ]
2261
+ }],
2262
+ /**
2263
+ * Blur
2264
+ * @see https://tailwindcss.com/docs/blur
2265
+ */
2266
+ blur: [{
2267
+ blur: V()
2268
+ }],
2269
+ /**
2270
+ * Brightness
2271
+ * @see https://tailwindcss.com/docs/brightness
2272
+ */
2273
+ brightness: [{
2274
+ brightness: [p, i, a]
2275
+ }],
2276
+ /**
2277
+ * Contrast
2278
+ * @see https://tailwindcss.com/docs/contrast
2279
+ */
2280
+ contrast: [{
2281
+ contrast: [p, i, a]
2282
+ }],
2283
+ /**
2284
+ * Drop Shadow
2285
+ * @see https://tailwindcss.com/docs/drop-shadow
2286
+ */
2287
+ "drop-shadow": [{
2288
+ "drop-shadow": [
2289
+ // Deprecated since Tailwind CSS v4.0.0
2290
+ "",
2291
+ "none",
2292
+ z,
2293
+ ue,
2294
+ de
2295
+ ]
2296
+ }],
2297
+ /**
2298
+ * Drop Shadow Color
2299
+ * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2300
+ */
2301
+ "drop-shadow-color": [{
2302
+ "drop-shadow": u()
2303
+ }],
2304
+ /**
2305
+ * Grayscale
2306
+ * @see https://tailwindcss.com/docs/grayscale
2307
+ */
2308
+ grayscale: [{
2309
+ grayscale: ["", p, i, a]
2310
+ }],
2311
+ /**
2312
+ * Hue Rotate
2313
+ * @see https://tailwindcss.com/docs/hue-rotate
2314
+ */
2315
+ "hue-rotate": [{
2316
+ "hue-rotate": [p, i, a]
2317
+ }],
2318
+ /**
2319
+ * Invert
2320
+ * @see https://tailwindcss.com/docs/invert
2321
+ */
2322
+ invert: [{
2323
+ invert: ["", p, i, a]
2324
+ }],
2325
+ /**
2326
+ * Saturate
2327
+ * @see https://tailwindcss.com/docs/saturate
2328
+ */
2329
+ saturate: [{
2330
+ saturate: [p, i, a]
2331
+ }],
2332
+ /**
2333
+ * Sepia
2334
+ * @see https://tailwindcss.com/docs/sepia
2335
+ */
2336
+ sepia: [{
2337
+ sepia: ["", p, i, a]
2338
+ }],
2339
+ /**
2340
+ * Backdrop Filter
2341
+ * @see https://tailwindcss.com/docs/backdrop-filter
2342
+ */
2343
+ "backdrop-filter": [{
2344
+ "backdrop-filter": [
2345
+ // Deprecated since Tailwind CSS v3.0.0
2346
+ "",
2347
+ "none",
2348
+ i,
2349
+ a
2350
+ ]
2351
+ }],
2352
+ /**
2353
+ * Backdrop Blur
2354
+ * @see https://tailwindcss.com/docs/backdrop-blur
2355
+ */
2356
+ "backdrop-blur": [{
2357
+ "backdrop-blur": V()
2358
+ }],
2359
+ /**
2360
+ * Backdrop Brightness
2361
+ * @see https://tailwindcss.com/docs/backdrop-brightness
2362
+ */
2363
+ "backdrop-brightness": [{
2364
+ "backdrop-brightness": [p, i, a]
2365
+ }],
2366
+ /**
2367
+ * Backdrop Contrast
2368
+ * @see https://tailwindcss.com/docs/backdrop-contrast
2369
+ */
2370
+ "backdrop-contrast": [{
2371
+ "backdrop-contrast": [p, i, a]
2372
+ }],
2373
+ /**
2374
+ * Backdrop Grayscale
2375
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
2376
+ */
2377
+ "backdrop-grayscale": [{
2378
+ "backdrop-grayscale": ["", p, i, a]
2379
+ }],
2380
+ /**
2381
+ * Backdrop Hue Rotate
2382
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2383
+ */
2384
+ "backdrop-hue-rotate": [{
2385
+ "backdrop-hue-rotate": [p, i, a]
2386
+ }],
2387
+ /**
2388
+ * Backdrop Invert
2389
+ * @see https://tailwindcss.com/docs/backdrop-invert
2390
+ */
2391
+ "backdrop-invert": [{
2392
+ "backdrop-invert": ["", p, i, a]
2393
+ }],
2394
+ /**
2395
+ * Backdrop Opacity
2396
+ * @see https://tailwindcss.com/docs/backdrop-opacity
2397
+ */
2398
+ "backdrop-opacity": [{
2399
+ "backdrop-opacity": [p, i, a]
2400
+ }],
2401
+ /**
2402
+ * Backdrop Saturate
2403
+ * @see https://tailwindcss.com/docs/backdrop-saturate
2404
+ */
2405
+ "backdrop-saturate": [{
2406
+ "backdrop-saturate": [p, i, a]
2407
+ }],
2408
+ /**
2409
+ * Backdrop Sepia
2410
+ * @see https://tailwindcss.com/docs/backdrop-sepia
2411
+ */
2412
+ "backdrop-sepia": [{
2413
+ "backdrop-sepia": ["", p, i, a]
2414
+ }],
2415
+ // --------------
2416
+ // --- Tables ---
2417
+ // --------------
2418
+ /**
2419
+ * Border Collapse
2420
+ * @see https://tailwindcss.com/docs/border-collapse
2421
+ */
2422
+ "border-collapse": [{
2423
+ border: ["collapse", "separate"]
2424
+ }],
2425
+ /**
2426
+ * Border Spacing
2427
+ * @see https://tailwindcss.com/docs/border-spacing
2428
+ */
2429
+ "border-spacing": [{
2430
+ "border-spacing": s()
2431
+ }],
2432
+ /**
2433
+ * Border Spacing X
2434
+ * @see https://tailwindcss.com/docs/border-spacing
2435
+ */
2436
+ "border-spacing-x": [{
2437
+ "border-spacing-x": s()
2438
+ }],
2439
+ /**
2440
+ * Border Spacing Y
2441
+ * @see https://tailwindcss.com/docs/border-spacing
2442
+ */
2443
+ "border-spacing-y": [{
2444
+ "border-spacing-y": s()
2445
+ }],
2446
+ /**
2447
+ * Table Layout
2448
+ * @see https://tailwindcss.com/docs/table-layout
2449
+ */
2450
+ "table-layout": [{
2451
+ table: ["auto", "fixed"]
2452
+ }],
2453
+ /**
2454
+ * Caption Side
2455
+ * @see https://tailwindcss.com/docs/caption-side
2456
+ */
2457
+ caption: [{
2458
+ caption: ["top", "bottom"]
2459
+ }],
2460
+ // ---------------------------------
2461
+ // --- Transitions and Animation ---
2462
+ // ---------------------------------
2463
+ /**
2464
+ * Transition Property
2465
+ * @see https://tailwindcss.com/docs/transition-property
2466
+ */
2467
+ transition: [{
2468
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", i, a]
2469
+ }],
2470
+ /**
2471
+ * Transition Behavior
2472
+ * @see https://tailwindcss.com/docs/transition-behavior
2473
+ */
2474
+ "transition-behavior": [{
2475
+ transition: ["normal", "discrete"]
2476
+ }],
2477
+ /**
2478
+ * Transition Duration
2479
+ * @see https://tailwindcss.com/docs/transition-duration
2480
+ */
2481
+ duration: [{
2482
+ duration: [p, "initial", i, a]
2483
+ }],
2484
+ /**
2485
+ * Transition Timing Function
2486
+ * @see https://tailwindcss.com/docs/transition-timing-function
2487
+ */
2488
+ ease: [{
2489
+ ease: ["linear", "initial", N, i, a]
2490
+ }],
2491
+ /**
2492
+ * Transition Delay
2493
+ * @see https://tailwindcss.com/docs/transition-delay
2494
+ */
2495
+ delay: [{
2496
+ delay: [p, i, a]
2497
+ }],
2498
+ /**
2499
+ * Animation
2500
+ * @see https://tailwindcss.com/docs/animation
2501
+ */
2502
+ animate: [{
2503
+ animate: ["none", B, i, a]
2504
+ }],
2505
+ // ------------------
2506
+ // --- Transforms ---
2507
+ // ------------------
2508
+ /**
2509
+ * Backface Visibility
2510
+ * @see https://tailwindcss.com/docs/backface-visibility
2511
+ */
2512
+ backface: [{
2513
+ backface: ["hidden", "visible"]
2514
+ }],
2515
+ /**
2516
+ * Perspective
2517
+ * @see https://tailwindcss.com/docs/perspective
2518
+ */
2519
+ perspective: [{
2520
+ perspective: [v, i, a]
2521
+ }],
2522
+ /**
2523
+ * Perspective Origin
2524
+ * @see https://tailwindcss.com/docs/perspective-origin
2525
+ */
2526
+ "perspective-origin": [{
2527
+ "perspective-origin": G()
2528
+ }],
2529
+ /**
2530
+ * Rotate
2531
+ * @see https://tailwindcss.com/docs/rotate
2532
+ */
2533
+ rotate: [{
2534
+ rotate: J()
2535
+ }],
2536
+ /**
2537
+ * Rotate X
2538
+ * @see https://tailwindcss.com/docs/rotate
2539
+ */
2540
+ "rotate-x": [{
2541
+ "rotate-x": J()
2542
+ }],
2543
+ /**
2544
+ * Rotate Y
2545
+ * @see https://tailwindcss.com/docs/rotate
2546
+ */
2547
+ "rotate-y": [{
2548
+ "rotate-y": J()
2549
+ }],
2550
+ /**
2551
+ * Rotate Z
2552
+ * @see https://tailwindcss.com/docs/rotate
2553
+ */
2554
+ "rotate-z": [{
2555
+ "rotate-z": J()
2556
+ }],
2557
+ /**
2558
+ * Scale
2559
+ * @see https://tailwindcss.com/docs/scale
2560
+ */
2561
+ scale: [{
2562
+ scale: K()
2563
+ }],
2564
+ /**
2565
+ * Scale X
2566
+ * @see https://tailwindcss.com/docs/scale
2567
+ */
2568
+ "scale-x": [{
2569
+ "scale-x": K()
2570
+ }],
2571
+ /**
2572
+ * Scale Y
2573
+ * @see https://tailwindcss.com/docs/scale
2574
+ */
2575
+ "scale-y": [{
2576
+ "scale-y": K()
2577
+ }],
2578
+ /**
2579
+ * Scale Z
2580
+ * @see https://tailwindcss.com/docs/scale
2581
+ */
2582
+ "scale-z": [{
2583
+ "scale-z": K()
2584
+ }],
2585
+ /**
2586
+ * Scale 3D
2587
+ * @see https://tailwindcss.com/docs/scale
2588
+ */
2589
+ "scale-3d": ["scale-3d"],
2590
+ /**
2591
+ * Skew
2592
+ * @see https://tailwindcss.com/docs/skew
2593
+ */
2594
+ skew: [{
2595
+ skew: me()
2596
+ }],
2597
+ /**
2598
+ * Skew X
2599
+ * @see https://tailwindcss.com/docs/skew
2600
+ */
2601
+ "skew-x": [{
2602
+ "skew-x": me()
2603
+ }],
2604
+ /**
2605
+ * Skew Y
2606
+ * @see https://tailwindcss.com/docs/skew
2607
+ */
2608
+ "skew-y": [{
2609
+ "skew-y": me()
2610
+ }],
2611
+ /**
2612
+ * Transform
2613
+ * @see https://tailwindcss.com/docs/transform
2614
+ */
2615
+ transform: [{
2616
+ transform: [i, a, "", "none", "gpu", "cpu"]
2617
+ }],
2618
+ /**
2619
+ * Transform Origin
2620
+ * @see https://tailwindcss.com/docs/transform-origin
2621
+ */
2622
+ "transform-origin": [{
2623
+ origin: G()
2624
+ }],
2625
+ /**
2626
+ * Transform Style
2627
+ * @see https://tailwindcss.com/docs/transform-style
2628
+ */
2629
+ "transform-style": [{
2630
+ transform: ["3d", "flat"]
2631
+ }],
2632
+ /**
2633
+ * Translate
2634
+ * @see https://tailwindcss.com/docs/translate
2635
+ */
2636
+ translate: [{
2637
+ translate: le()
2638
+ }],
2639
+ /**
2640
+ * Translate X
2641
+ * @see https://tailwindcss.com/docs/translate
2642
+ */
2643
+ "translate-x": [{
2644
+ "translate-x": le()
2645
+ }],
2646
+ /**
2647
+ * Translate Y
2648
+ * @see https://tailwindcss.com/docs/translate
2649
+ */
2650
+ "translate-y": [{
2651
+ "translate-y": le()
2652
+ }],
2653
+ /**
2654
+ * Translate Z
2655
+ * @see https://tailwindcss.com/docs/translate
2656
+ */
2657
+ "translate-z": [{
2658
+ "translate-z": le()
2659
+ }],
2660
+ /**
2661
+ * Translate None
2662
+ * @see https://tailwindcss.com/docs/translate
2663
+ */
2664
+ "translate-none": ["translate-none"],
2665
+ // ---------------------
2666
+ // --- Interactivity ---
2667
+ // ---------------------
2668
+ /**
2669
+ * Accent Color
2670
+ * @see https://tailwindcss.com/docs/accent-color
2671
+ */
2672
+ accent: [{
2673
+ accent: u()
2674
+ }],
2675
+ /**
2676
+ * Appearance
2677
+ * @see https://tailwindcss.com/docs/appearance
2678
+ */
2679
+ appearance: [{
2680
+ appearance: ["none", "auto"]
2681
+ }],
2682
+ /**
2683
+ * Caret Color
2684
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2685
+ */
2686
+ "caret-color": [{
2687
+ caret: u()
2688
+ }],
2689
+ /**
2690
+ * Color Scheme
2691
+ * @see https://tailwindcss.com/docs/color-scheme
2692
+ */
2693
+ "color-scheme": [{
2694
+ scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
2695
+ }],
2696
+ /**
2697
+ * Cursor
2698
+ * @see https://tailwindcss.com/docs/cursor
2699
+ */
2700
+ cursor: [{
2701
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", i, a]
2702
+ }],
2703
+ /**
2704
+ * Field Sizing
2705
+ * @see https://tailwindcss.com/docs/field-sizing
2706
+ */
2707
+ "field-sizing": [{
2708
+ "field-sizing": ["fixed", "content"]
2709
+ }],
2710
+ /**
2711
+ * Pointer Events
2712
+ * @see https://tailwindcss.com/docs/pointer-events
2713
+ */
2714
+ "pointer-events": [{
2715
+ "pointer-events": ["auto", "none"]
2716
+ }],
2717
+ /**
2718
+ * Resize
2719
+ * @see https://tailwindcss.com/docs/resize
2720
+ */
2721
+ resize: [{
2722
+ resize: ["none", "", "y", "x"]
2723
+ }],
2724
+ /**
2725
+ * Scroll Behavior
2726
+ * @see https://tailwindcss.com/docs/scroll-behavior
2727
+ */
2728
+ "scroll-behavior": [{
2729
+ scroll: ["auto", "smooth"]
2730
+ }],
2731
+ /**
2732
+ * Scroll Margin
2733
+ * @see https://tailwindcss.com/docs/scroll-margin
2734
+ */
2735
+ "scroll-m": [{
2736
+ "scroll-m": s()
2737
+ }],
2738
+ /**
2739
+ * Scroll Margin X
2740
+ * @see https://tailwindcss.com/docs/scroll-margin
2741
+ */
2742
+ "scroll-mx": [{
2743
+ "scroll-mx": s()
2744
+ }],
2745
+ /**
2746
+ * Scroll Margin Y
2747
+ * @see https://tailwindcss.com/docs/scroll-margin
2748
+ */
2749
+ "scroll-my": [{
2750
+ "scroll-my": s()
2751
+ }],
2752
+ /**
2753
+ * Scroll Margin Start
2754
+ * @see https://tailwindcss.com/docs/scroll-margin
2755
+ */
2756
+ "scroll-ms": [{
2757
+ "scroll-ms": s()
2758
+ }],
2759
+ /**
2760
+ * Scroll Margin End
2761
+ * @see https://tailwindcss.com/docs/scroll-margin
2762
+ */
2763
+ "scroll-me": [{
2764
+ "scroll-me": s()
2765
+ }],
2766
+ /**
2767
+ * Scroll Margin Top
2768
+ * @see https://tailwindcss.com/docs/scroll-margin
2769
+ */
2770
+ "scroll-mt": [{
2771
+ "scroll-mt": s()
2772
+ }],
2773
+ /**
2774
+ * Scroll Margin Right
2775
+ * @see https://tailwindcss.com/docs/scroll-margin
2776
+ */
2777
+ "scroll-mr": [{
2778
+ "scroll-mr": s()
2779
+ }],
2780
+ /**
2781
+ * Scroll Margin Bottom
2782
+ * @see https://tailwindcss.com/docs/scroll-margin
2783
+ */
2784
+ "scroll-mb": [{
2785
+ "scroll-mb": s()
2786
+ }],
2787
+ /**
2788
+ * Scroll Margin Left
2789
+ * @see https://tailwindcss.com/docs/scroll-margin
2790
+ */
2791
+ "scroll-ml": [{
2792
+ "scroll-ml": s()
2793
+ }],
2794
+ /**
2795
+ * Scroll Padding
2796
+ * @see https://tailwindcss.com/docs/scroll-padding
2797
+ */
2798
+ "scroll-p": [{
2799
+ "scroll-p": s()
2800
+ }],
2801
+ /**
2802
+ * Scroll Padding X
2803
+ * @see https://tailwindcss.com/docs/scroll-padding
2804
+ */
2805
+ "scroll-px": [{
2806
+ "scroll-px": s()
2807
+ }],
2808
+ /**
2809
+ * Scroll Padding Y
2810
+ * @see https://tailwindcss.com/docs/scroll-padding
2811
+ */
2812
+ "scroll-py": [{
2813
+ "scroll-py": s()
2814
+ }],
2815
+ /**
2816
+ * Scroll Padding Start
2817
+ * @see https://tailwindcss.com/docs/scroll-padding
2818
+ */
2819
+ "scroll-ps": [{
2820
+ "scroll-ps": s()
2821
+ }],
2822
+ /**
2823
+ * Scroll Padding End
2824
+ * @see https://tailwindcss.com/docs/scroll-padding
2825
+ */
2826
+ "scroll-pe": [{
2827
+ "scroll-pe": s()
2828
+ }],
2829
+ /**
2830
+ * Scroll Padding Top
2831
+ * @see https://tailwindcss.com/docs/scroll-padding
2832
+ */
2833
+ "scroll-pt": [{
2834
+ "scroll-pt": s()
2835
+ }],
2836
+ /**
2837
+ * Scroll Padding Right
2838
+ * @see https://tailwindcss.com/docs/scroll-padding
2839
+ */
2840
+ "scroll-pr": [{
2841
+ "scroll-pr": s()
2842
+ }],
2843
+ /**
2844
+ * Scroll Padding Bottom
2845
+ * @see https://tailwindcss.com/docs/scroll-padding
2846
+ */
2847
+ "scroll-pb": [{
2848
+ "scroll-pb": s()
2849
+ }],
2850
+ /**
2851
+ * Scroll Padding Left
2852
+ * @see https://tailwindcss.com/docs/scroll-padding
2853
+ */
2854
+ "scroll-pl": [{
2855
+ "scroll-pl": s()
2856
+ }],
2857
+ /**
2858
+ * Scroll Snap Align
2859
+ * @see https://tailwindcss.com/docs/scroll-snap-align
2860
+ */
2861
+ "snap-align": [{
2862
+ snap: ["start", "end", "center", "align-none"]
2863
+ }],
2864
+ /**
2865
+ * Scroll Snap Stop
2866
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
2867
+ */
2868
+ "snap-stop": [{
2869
+ snap: ["normal", "always"]
2870
+ }],
2871
+ /**
2872
+ * Scroll Snap Type
2873
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2874
+ */
2875
+ "snap-type": [{
2876
+ snap: ["none", "x", "y", "both"]
2877
+ }],
2878
+ /**
2879
+ * Scroll Snap Type Strictness
2880
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2881
+ */
2882
+ "snap-strictness": [{
2883
+ snap: ["mandatory", "proximity"]
2884
+ }],
2885
+ /**
2886
+ * Touch Action
2887
+ * @see https://tailwindcss.com/docs/touch-action
2888
+ */
2889
+ touch: [{
2890
+ touch: ["auto", "none", "manipulation"]
2891
+ }],
2892
+ /**
2893
+ * Touch Action X
2894
+ * @see https://tailwindcss.com/docs/touch-action
2895
+ */
2896
+ "touch-x": [{
2897
+ "touch-pan": ["x", "left", "right"]
2898
+ }],
2899
+ /**
2900
+ * Touch Action Y
2901
+ * @see https://tailwindcss.com/docs/touch-action
2902
+ */
2903
+ "touch-y": [{
2904
+ "touch-pan": ["y", "up", "down"]
2905
+ }],
2906
+ /**
2907
+ * Touch Action Pinch Zoom
2908
+ * @see https://tailwindcss.com/docs/touch-action
2909
+ */
2910
+ "touch-pz": ["touch-pinch-zoom"],
2911
+ /**
2912
+ * User Select
2913
+ * @see https://tailwindcss.com/docs/user-select
2914
+ */
2915
+ select: [{
2916
+ select: ["none", "text", "all", "auto"]
2917
+ }],
2918
+ /**
2919
+ * Will Change
2920
+ * @see https://tailwindcss.com/docs/will-change
2921
+ */
2922
+ "will-change": [{
2923
+ "will-change": ["auto", "scroll", "contents", "transform", i, a]
2924
+ }],
2925
+ // -----------
2926
+ // --- SVG ---
2927
+ // -----------
2928
+ /**
2929
+ * Fill
2930
+ * @see https://tailwindcss.com/docs/fill
2931
+ */
2932
+ fill: [{
2933
+ fill: ["none", ...u()]
2934
+ }],
2935
+ /**
2936
+ * Stroke Width
2937
+ * @see https://tailwindcss.com/docs/stroke-width
2938
+ */
2939
+ "stroke-w": [{
2940
+ stroke: [p, ie, Z, be]
2941
+ }],
2942
+ /**
2943
+ * Stroke
2944
+ * @see https://tailwindcss.com/docs/stroke
2945
+ */
2946
+ stroke: [{
2947
+ stroke: ["none", ...u()]
2948
+ }],
2949
+ // ---------------------
2950
+ // --- Accessibility ---
2951
+ // ---------------------
2952
+ /**
2953
+ * Forced Color Adjust
2954
+ * @see https://tailwindcss.com/docs/forced-color-adjust
2955
+ */
2956
+ "forced-color-adjust": [{
2957
+ "forced-color-adjust": ["auto", "none"]
2958
+ }]
2959
+ },
2960
+ conflictingClassGroups: {
2961
+ overflow: ["overflow-x", "overflow-y"],
2962
+ overscroll: ["overscroll-x", "overscroll-y"],
2963
+ inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
2964
+ "inset-x": ["right", "left"],
2965
+ "inset-y": ["top", "bottom"],
2966
+ flex: ["basis", "grow", "shrink"],
2967
+ gap: ["gap-x", "gap-y"],
2968
+ p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
2969
+ px: ["pr", "pl"],
2970
+ py: ["pt", "pb"],
2971
+ m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
2972
+ mx: ["mr", "ml"],
2973
+ my: ["mt", "mb"],
2974
+ size: ["w", "h"],
2975
+ "font-size": ["leading"],
2976
+ "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
2977
+ "fvn-ordinal": ["fvn-normal"],
2978
+ "fvn-slashed-zero": ["fvn-normal"],
2979
+ "fvn-figure": ["fvn-normal"],
2980
+ "fvn-spacing": ["fvn-normal"],
2981
+ "fvn-fraction": ["fvn-normal"],
2982
+ "line-clamp": ["display", "overflow"],
2983
+ rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
2984
+ "rounded-s": ["rounded-ss", "rounded-es"],
2985
+ "rounded-e": ["rounded-se", "rounded-ee"],
2986
+ "rounded-t": ["rounded-tl", "rounded-tr"],
2987
+ "rounded-r": ["rounded-tr", "rounded-br"],
2988
+ "rounded-b": ["rounded-br", "rounded-bl"],
2989
+ "rounded-l": ["rounded-tl", "rounded-bl"],
2990
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
2991
+ "border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
2992
+ "border-w-x": ["border-w-r", "border-w-l"],
2993
+ "border-w-y": ["border-w-t", "border-w-b"],
2994
+ "border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
2995
+ "border-color-x": ["border-color-r", "border-color-l"],
2996
+ "border-color-y": ["border-color-t", "border-color-b"],
2997
+ translate: ["translate-x", "translate-y", "translate-none"],
2998
+ "translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
2999
+ "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
3000
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
3001
+ "scroll-my": ["scroll-mt", "scroll-mb"],
3002
+ "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
3003
+ "scroll-px": ["scroll-pr", "scroll-pl"],
3004
+ "scroll-py": ["scroll-pt", "scroll-pb"],
3005
+ touch: ["touch-x", "touch-y", "touch-pz"],
3006
+ "touch-x": ["touch"],
3007
+ "touch-y": ["touch"],
3008
+ "touch-pz": ["touch"]
3009
+ },
3010
+ conflictingClassGroupModifiers: {
3011
+ "font-size": ["leading"]
3012
+ },
3013
+ orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3014
+ };
3015
+ }, _r = /* @__PURE__ */ sr(Er);
3016
+ function P(...e) {
3017
+ return _r(Ue(e));
3018
+ }
3019
+ const Ar = [
281
3020
  "Sun",
282
3021
  "Mon",
283
3022
  "Tue",
@@ -286,204 +3025,192 @@ const ce = [
286
3025
  "Fri",
287
3026
  "Sat"
288
3027
  ];
289
- function ie({ year: t, monthIndex: d }, m) {
290
- const c = new Date(t, d, 1).getDay(), f = new Date(t, d + 1, 0).getDate(), p = new Date(t, d, 0).getDate(), b = [];
291
- for (let i = 0; i < c; i++)
292
- b.push({
293
- day: p - c + 1 + i,
3028
+ function Sr({ year: e, monthIndex: n }, o) {
3029
+ const l = new Date(e, n, 1).getDay(), d = new Date(e, n + 1, 0).getDate(), c = new Date(e, n, 0).getDate(), h = [];
3030
+ for (let y = 0; y < l; y++)
3031
+ h.push({
3032
+ day: c - l + 1 + y,
294
3033
  inCurrentMonth: !1
295
3034
  });
296
- for (let i = 1; i <= f; i++)
297
- b.push({ day: i, inCurrentMonth: !0 });
298
- let _ = 1;
299
- for (; b.length % m !== 0; )
300
- b.push({ day: _, inCurrentMonth: !1 }), _++;
301
- return b;
3035
+ for (let y = 1; y <= d; y++)
3036
+ h.push({ day: y, inCurrentMonth: !0 });
3037
+ let m = 1;
3038
+ for (; h.length % o !== 0; )
3039
+ h.push({ day: m, inCurrentMonth: !1 }), m++;
3040
+ return h;
302
3041
  }
303
- function fe({
304
- view: t,
305
- onChangeView: d,
306
- attendanceData: m,
307
- theme: E = {},
308
- onDateClick: c,
309
- showNavigation: f = !0,
310
- showWeekdayHeaders: p = !0,
311
- className: b = ""
3042
+ function Tr({
3043
+ view: e,
3044
+ onChangeView: n,
3045
+ attendanceData: o,
3046
+ onDateClick: t,
3047
+ showNavigation: l = !0,
3048
+ showWeekdayHeaders: d = !0,
3049
+ className: c = "",
3050
+ // Customization props
3051
+ cellClassName: h = "",
3052
+ presentCellClassName: m = "",
3053
+ absentCellClassName: y = "",
3054
+ navigationButtonClassName: w = "",
3055
+ weekdayHeaderClassName: C = "",
3056
+ monthTitleClassName: I = "",
3057
+ containerClassName: z = ""
312
3058
  }) {
313
- const _ = te(null), [i, j] = oe(7);
314
- ne(() => {
315
- if (!_.current) return;
316
- const o = _.current, h = new ResizeObserver((T) => {
317
- const x = (T[0]?.contentRect.width ?? o.clientWidth) >= 8 * 64 + 156;
318
- j(x ? 14 : 7);
3059
+ const R = $e(null), [v, M] = Fe(7);
3060
+ We(() => {
3061
+ if (!R.current) return;
3062
+ const s = R.current, k = new ResizeObserver((q) => {
3063
+ const T = (q[0]?.contentRect.width ?? s.clientWidth) >= 8 * 64 + 156;
3064
+ M(T ? 14 : 7);
319
3065
  });
320
- return h.observe(o), () => h.disconnect();
3066
+ return k.observe(s), () => k.disconnect();
321
3067
  }, []);
322
- const A = L(() => ie(t, i), [t, i]), S = L(() => Array.from({ length: i }).map((o, h) => ce[h % 7]), [i]), v = L(
323
- () => new Date(t.year, t.monthIndex).toLocaleString("en-US", {
3068
+ const N = fe(() => Sr(e, v), [e, v]), B = fe(() => Array.from({ length: v }).map((s, k) => Ar[k % 7]), [v]), F = fe(
3069
+ () => new Date(e.year, e.monthIndex).toLocaleString("en-US", {
324
3070
  month: "long"
325
3071
  }),
326
- [t]
327
- ), N = () => {
328
- const o = t.monthIndex - 1;
329
- o < 0 ? d({ year: t.year - 1, monthIndex: 11 }) : d({ ...t, monthIndex: o });
330
- }, $ = () => {
331
- const o = t.monthIndex + 1;
332
- o > 11 ? d({ year: t.year + 1, monthIndex: 0 }) : d({ ...t, monthIndex: o });
333
- }, y = m !== void 0 && t.year === m.year && t.monthIndex === m.monthIndex, s = { ...{
334
- primaryColor: "#10b981",
335
- // Modern emerald
336
- absentColor: "#f59e0b",
337
- // Modern amber
338
- textColor: "#0f172a",
339
- // Slate 900
340
- borderColor: "#e2e8f0",
341
- // Slate 200
342
- mutedTextColor: "#64748b",
343
- // Slate 500
344
- hoverColor: "#f1f5f9",
345
- // Slate 100
346
- backgroundColor: "#ffffff"
347
- }, ...E }, I = (o) => {
348
- c && y && c(o, t.monthIndex, t.year);
3072
+ [e]
3073
+ ), O = () => {
3074
+ const s = e.monthIndex - 1;
3075
+ s < 0 ? n({ year: e.year - 1, monthIndex: 11 }) : n({ ...e, monthIndex: s });
3076
+ }, G = () => {
3077
+ const s = e.monthIndex + 1;
3078
+ s > 11 ? n({ year: e.year + 1, monthIndex: 0 }) : n({ ...e, monthIndex: s });
3079
+ }, S = o !== void 0 && e.year === o.year && e.monthIndex === o.monthIndex, W = (s) => {
3080
+ t && S && t(s, e.monthIndex, e.year);
349
3081
  };
350
- return /* @__PURE__ */ u.jsxs(
351
- "div",
352
- {
353
- className: `w-full ${b}`,
354
- style: { backgroundColor: s.backgroundColor },
355
- children: [
356
- f && /* @__PURE__ */ u.jsxs("div", { className: "flex items-center justify-between mb-8", children: [
357
- /* @__PURE__ */ u.jsxs("div", { className: "flex items-center gap-3", children: [
358
- /* @__PURE__ */ u.jsx(
359
- "button",
360
- {
361
- onClick: N,
362
- className: "size-10 rounded-xl border-2 grid place-items-center",
363
- style: {
364
- borderColor: s.borderColor,
365
- color: s.textColor,
366
- backgroundColor: s.hoverColor
367
- },
368
- "aria-label": "Previous month",
369
- children: /* @__PURE__ */ u.jsx(
370
- "svg",
371
- {
372
- width: "16",
373
- height: "16",
374
- viewBox: "0 0 24 24",
375
- fill: "none",
376
- stroke: "currentColor",
377
- strokeWidth: "2",
378
- children: /* @__PURE__ */ u.jsx("polyline", { points: "15,18 9,12 15,6" })
379
- }
380
- )
381
- }
3082
+ return /* @__PURE__ */ _.jsxs("div", { className: P("w-full", c, z), children: [
3083
+ l && /* @__PURE__ */ _.jsxs("div", { className: "flex items-center justify-between mb-8", children: [
3084
+ /* @__PURE__ */ _.jsxs("div", { className: "flex items-center gap-3", children: [
3085
+ /* @__PURE__ */ _.jsx(
3086
+ "button",
3087
+ {
3088
+ onClick: O,
3089
+ className: P(
3090
+ "size-10 rounded-xl border-2 border-slate-200 text-slate-700 grid place-items-center",
3091
+ "transition-colors duration-200 hover:bg-slate-50",
3092
+ w
382
3093
  ),
383
- /* @__PURE__ */ u.jsx(
384
- "button",
3094
+ "aria-label": "Previous month",
3095
+ children: /* @__PURE__ */ _.jsx(
3096
+ "svg",
385
3097
  {
386
- onClick: $,
387
- className: "size-10 rounded-xl border-2 grid place-items-center",
388
- style: {
389
- borderColor: s.borderColor,
390
- color: s.textColor,
391
- backgroundColor: s.hoverColor
392
- },
393
- "aria-label": "Next month",
394
- children: /* @__PURE__ */ u.jsx(
395
- "svg",
396
- {
397
- width: "16",
398
- height: "16",
399
- viewBox: "0 0 24 24",
400
- fill: "none",
401
- stroke: "currentColor",
402
- strokeWidth: "2",
403
- children: /* @__PURE__ */ u.jsx("polyline", { points: "9,18 15,12 9,6" })
404
- }
405
- )
3098
+ width: "16",
3099
+ height: "16",
3100
+ viewBox: "0 0 24 24",
3101
+ fill: "none",
3102
+ stroke: "currentColor",
3103
+ strokeWidth: "2",
3104
+ children: /* @__PURE__ */ _.jsx("polyline", { points: "15,18 9,12 15,6" })
406
3105
  }
407
3106
  )
408
- ] }),
409
- /* @__PURE__ */ u.jsxs(
410
- "h2",
411
- {
412
- className: "text-2xl font-bold",
413
- style: { color: s.textColor },
414
- children: [
415
- v,
416
- " ",
417
- t.year
418
- ]
419
- }
420
- ),
421
- /* @__PURE__ */ u.jsx("div", { className: "w-20" }),
422
- " "
423
- ] }),
424
- p && /* @__PURE__ */ u.jsx(
425
- "div",
426
- {
427
- className: "grid gap-4 text-center mb-6",
428
- style: { gridTemplateColumns: `repeat(${i}, minmax(0, 1fr))` },
429
- children: S.map((o, h) => /* @__PURE__ */ u.jsx(
430
- "div",
431
- {
432
- className: "text-sm font-semibold uppercase tracking-wide py-2",
433
- style: {
434
- color: s.mutedTextColor,
435
- backgroundColor: s.hoverColor,
436
- borderRadius: "12px"
437
- },
438
- children: o
439
- },
440
- h
441
- ))
442
3107
  }
443
3108
  ),
444
- /* @__PURE__ */ u.jsx(
445
- "div",
3109
+ /* @__PURE__ */ _.jsx(
3110
+ "button",
446
3111
  {
447
- ref: _,
448
- className: "grid gap-4",
449
- style: { gridTemplateColumns: `repeat(${i}, minmax(0, 1fr))` },
450
- children: A.map((o, h) => {
451
- const T = y && o.inCurrentMonth && m?.presentDays.has(o.day), O = y && o.inCurrentMonth && m?.absentDays.has(o.day), P = i >= 14 ? "size-8 sm:size-12 rounded-2xl grid place-items-center text-sm font-semibold cursor-pointer" : "size-12 sm:size-14 rounded-2xl grid place-items-center text-base font-semibold cursor-pointer", C = c && o.inCurrentMonth && y;
452
- let x = {}, D = P;
453
- return o.inCurrentMonth ? T ? x = {
454
- backgroundColor: s.primaryColor,
455
- color: "#ffffff",
456
- border: `2px solid ${s.primaryColor}`
457
- } : O ? x = {
458
- backgroundColor: s.absentColor,
459
- color: "#ffffff",
460
- border: `2px solid ${s.absentColor}`
461
- } : x = {
462
- color: s.textColor,
463
- backgroundColor: "transparent",
464
- border: `2px solid ${s.borderColor}`
465
- } : x = {
466
- color: s.mutedTextColor,
467
- backgroundColor: s.hoverColor,
468
- border: `2px solid ${s.borderColor}`
469
- }, /* @__PURE__ */ u.jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ u.jsx(
470
- "div",
471
- {
472
- className: D,
473
- style: x,
474
- onClick: () => C && I(o.day),
475
- title: C ? `Click to interact with ${o.day}` : void 0,
476
- children: o.day
477
- }
478
- ) }, h);
479
- })
3112
+ onClick: G,
3113
+ className: P(
3114
+ "size-10 rounded-xl border-2 border-slate-200 text-slate-700 grid place-items-center",
3115
+ "transition-colors duration-200 hover:bg-slate-50",
3116
+ w
3117
+ ),
3118
+ "aria-label": "Next month",
3119
+ children: /* @__PURE__ */ _.jsx(
3120
+ "svg",
3121
+ {
3122
+ width: "16",
3123
+ height: "16",
3124
+ viewBox: "0 0 24 24",
3125
+ fill: "none",
3126
+ stroke: "currentColor",
3127
+ strokeWidth: "2",
3128
+ children: /* @__PURE__ */ _.jsx("polyline", { points: "9,18 15,12 9,6" })
3129
+ }
3130
+ )
480
3131
  }
481
3132
  )
482
- ]
483
- }
484
- );
3133
+ ] }),
3134
+ /* @__PURE__ */ _.jsxs(
3135
+ "h2",
3136
+ {
3137
+ className: P(
3138
+ "text-2xl font-bold text-slate-900",
3139
+ I
3140
+ ),
3141
+ children: [
3142
+ F,
3143
+ " ",
3144
+ e.year
3145
+ ]
3146
+ }
3147
+ ),
3148
+ /* @__PURE__ */ _.jsx("div", { className: "w-20" }),
3149
+ " "
3150
+ ] }),
3151
+ d && /* @__PURE__ */ _.jsx(
3152
+ "div",
3153
+ {
3154
+ className: P("grid gap-4 text-center mb-6"),
3155
+ style: { gridTemplateColumns: `repeat(${v}, minmax(0, 1fr))` },
3156
+ children: B.map((s, k) => /* @__PURE__ */ _.jsx(
3157
+ "div",
3158
+ {
3159
+ className: P(
3160
+ "text-sm font-semibold uppercase tracking-wide py-2",
3161
+ "text-slate-500 bg-transparent rounded-xl",
3162
+ C
3163
+ ),
3164
+ children: s
3165
+ },
3166
+ k
3167
+ ))
3168
+ }
3169
+ ),
3170
+ /* @__PURE__ */ _.jsx(
3171
+ "div",
3172
+ {
3173
+ ref: R,
3174
+ className: P("grid gap-4"),
3175
+ style: { gridTemplateColumns: `repeat(${v}, minmax(0, 1fr))` },
3176
+ children: N.map((s, k) => {
3177
+ const q = S && s.inCurrentMonth && o?.presentDays.has(s.day), H = S && s.inCurrentMonth && o?.absentDays.has(s.day), A = P(
3178
+ "rounded-2xl grid place-items-center font-semibold cursor-pointer",
3179
+ "transition-all duration-200",
3180
+ v >= 14 ? "size-8 sm:size-12 text-sm" : "size-12 sm:size-14 text-base",
3181
+ h
3182
+ ), D = t && s.inCurrentMonth && S;
3183
+ let T = A;
3184
+ return s.inCurrentMonth ? q ? T = P(
3185
+ A,
3186
+ "bg-emerald-500 text-white border-2 border-emerald-500",
3187
+ m
3188
+ ) : H ? T = P(
3189
+ A,
3190
+ "bg-amber-500 text-white border-2 border-amber-500",
3191
+ y
3192
+ ) : T = P(
3193
+ A,
3194
+ "text-slate-700 border-2 border-slate-200"
3195
+ ) : T = P(
3196
+ A,
3197
+ "text-slate-400 border-2 border-slate-200"
3198
+ ), /* @__PURE__ */ _.jsx("div", { className: P("flex items-center justify-center"), children: /* @__PURE__ */ _.jsx(
3199
+ "div",
3200
+ {
3201
+ className: T,
3202
+ onClick: () => D && W(s.day),
3203
+ title: D ? `Click to interact with ${s.day}` : void 0,
3204
+ children: s.day
3205
+ }
3206
+ ) }, k);
3207
+ })
3208
+ }
3209
+ )
3210
+ ] });
485
3211
  }
486
3212
  export {
487
- fe as AttendanceCalendar
3213
+ Tr as AttendanceCalendar,
3214
+ P as cn
488
3215
  };
489
3216
  //# sourceMappingURL=index.js.map