@homlista-devs/ui 1.2.0 → 1.3.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.
@@ -1,21 +1,21 @@
1
- import { jsx as a, jsxs as f, Fragment as pe } from "react/jsx-runtime";
1
+ import { jsx as a, jsxs as f, Fragment as xe } from "react/jsx-runtime";
2
2
  import * as w from "react";
3
- import Pe, { useEffect as be, forwardRef as qe, createElement as Ne, useState as se, useMemo as xe, useCallback as Ve, useContext as wr } from "react";
4
- import { useUnit as kr } from "effector-react";
5
- import { createEvent as Ee, createStore as Nr } from "effector";
6
- function Fe(e, r) {
3
+ import Ae, { useEffect as we, forwardRef as qe, createElement as Pe, useState as ae, useMemo as ke, useCallback as Ve, useContext as wt } from "react";
4
+ import { useUnit as kt } from "effector-react";
5
+ import { createEvent as Re, createStore as Nt } from "effector";
6
+ function Fe(e, t) {
7
7
  if (typeof e == "function")
8
- return e(r);
9
- e != null && (e.current = r);
8
+ return e(t);
9
+ e != null && (e.current = t);
10
10
  }
11
- function Cr(...e) {
12
- return (r) => {
13
- let t = !1;
11
+ function Ct(...e) {
12
+ return (t) => {
13
+ let r = !1;
14
14
  const o = e.map((n) => {
15
- const s = Fe(n, r);
16
- return !t && typeof s == "function" && (t = !0), s;
15
+ const s = Fe(n, t);
16
+ return !r && typeof s == "function" && (r = !0), s;
17
17
  });
18
- if (t)
18
+ if (r)
19
19
  return () => {
20
20
  for (let n = 0; n < o.length; n++) {
21
21
  const s = o[n];
@@ -25,137 +25,137 @@ function Cr(...e) {
25
25
  };
26
26
  }
27
27
  // @__NO_SIDE_EFFECTS__
28
- function Mr(e) {
29
- const r = /* @__PURE__ */ Pr(e), t = w.forwardRef((o, n) => {
30
- const { children: s, ...l } = o, i = w.Children.toArray(s), c = i.find(Ir);
28
+ function Mt(e) {
29
+ const t = /* @__PURE__ */ Pt(e), r = w.forwardRef((o, n) => {
30
+ const { children: s, ...l } = o, i = w.Children.toArray(s), c = i.find(Et);
31
31
  if (c) {
32
32
  const d = c.props.children, m = i.map((u) => u === c ? w.Children.count(d) > 1 ? w.Children.only(null) : w.isValidElement(d) ? d.props.children : null : u);
33
- return /* @__PURE__ */ a(r, { ...l, ref: n, children: w.isValidElement(d) ? w.cloneElement(d, void 0, m) : null });
33
+ return /* @__PURE__ */ a(t, { ...l, ref: n, children: w.isValidElement(d) ? w.cloneElement(d, void 0, m) : null });
34
34
  }
35
- return /* @__PURE__ */ a(r, { ...l, ref: n, children: s });
35
+ return /* @__PURE__ */ a(t, { ...l, ref: n, children: s });
36
36
  });
37
- return t.displayName = `${e}.Slot`, t;
37
+ return r.displayName = `${e}.Slot`, r;
38
38
  }
39
- var Sr = /* @__PURE__ */ Mr("Slot");
39
+ var St = /* @__PURE__ */ Mt("Slot");
40
40
  // @__NO_SIDE_EFFECTS__
41
- function Pr(e) {
42
- const r = w.forwardRef((t, o) => {
43
- const { children: n, ...s } = t;
41
+ function Pt(e) {
42
+ const t = w.forwardRef((r, o) => {
43
+ const { children: n, ...s } = r;
44
44
  if (w.isValidElement(n)) {
45
- const l = Ar(n), i = Rr(s, n.props);
46
- return n.type !== w.Fragment && (i.ref = o ? Cr(o, l) : l), w.cloneElement(n, i);
45
+ const l = At(n), i = zt(s, n.props);
46
+ return n.type !== w.Fragment && (i.ref = o ? Ct(o, l) : l), w.cloneElement(n, i);
47
47
  }
48
48
  return w.Children.count(n) > 1 ? w.Children.only(null) : null;
49
49
  });
50
- return r.displayName = `${e}.SlotClone`, r;
50
+ return t.displayName = `${e}.SlotClone`, t;
51
51
  }
52
- var Er = Symbol("radix.slottable");
53
- function Ir(e) {
54
- return w.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Er;
52
+ var It = Symbol("radix.slottable");
53
+ function Et(e) {
54
+ return w.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === It;
55
55
  }
56
- function Rr(e, r) {
57
- const t = { ...r };
58
- for (const o in r) {
59
- const n = e[o], s = r[o];
60
- /^on[A-Z]/.test(o) ? n && s ? t[o] = (...i) => {
56
+ function zt(e, t) {
57
+ const r = { ...t };
58
+ for (const o in t) {
59
+ const n = e[o], s = t[o];
60
+ /^on[A-Z]/.test(o) ? n && s ? r[o] = (...i) => {
61
61
  const c = s(...i);
62
62
  return n(...i), c;
63
- } : n && (t[o] = n) : o === "style" ? t[o] = { ...n, ...s } : o === "className" && (t[o] = [n, s].filter(Boolean).join(" "));
63
+ } : n && (r[o] = n) : o === "style" ? r[o] = { ...n, ...s } : o === "className" && (r[o] = [n, s].filter(Boolean).join(" "));
64
64
  }
65
- return { ...e, ...t };
65
+ return { ...e, ...r };
66
66
  }
67
- function Ar(e) {
68
- let r = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning;
69
- return t ? e.ref : (r = Object.getOwnPropertyDescriptor(e, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
67
+ function At(e) {
68
+ let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
69
+ return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
70
70
  }
71
71
  function Xe(e) {
72
- var r, t, o = "";
72
+ var t, r, o = "";
73
73
  if (typeof e == "string" || typeof e == "number") o += e;
74
74
  else if (typeof e == "object") if (Array.isArray(e)) {
75
75
  var n = e.length;
76
- for (r = 0; r < n; r++) e[r] && (t = Xe(e[r])) && (o && (o += " "), o += t);
77
- } else for (t in e) e[t] && (o && (o += " "), o += t);
76
+ for (t = 0; t < n; t++) e[t] && (r = Xe(e[t])) && (o && (o += " "), o += r);
77
+ } else for (r in e) e[r] && (o && (o += " "), o += r);
78
78
  return o;
79
79
  }
80
80
  function Ze() {
81
- for (var e, r, t = 0, o = "", n = arguments.length; t < n; t++) (e = arguments[t]) && (r = Xe(e)) && (o && (o += " "), o += r);
81
+ for (var e, t, r = 0, o = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (t = Xe(e)) && (o && (o += " "), o += t);
82
82
  return o;
83
83
  }
84
- const Ie = "-", zr = (e) => {
85
- const r = Tr(e), {
86
- conflictingClassGroups: t,
84
+ const Le = "-", Rt = (e) => {
85
+ const t = Tt(e), {
86
+ conflictingClassGroups: r,
87
87
  conflictingClassGroupModifiers: o
88
88
  } = e;
89
89
  return {
90
90
  getClassGroupId: (l) => {
91
- const i = l.split(Ie);
92
- return i[0] === "" && i.length !== 1 && i.shift(), Ke(i, r) || Lr(l);
91
+ const i = l.split(Le);
92
+ return i[0] === "" && i.length !== 1 && i.shift(), Ke(i, t) || Lt(l);
93
93
  },
94
94
  getConflictingClassGroupIds: (l, i) => {
95
- const c = t[l] || [];
95
+ const c = r[l] || [];
96
96
  return i && o[l] ? [...c, ...o[l]] : c;
97
97
  }
98
98
  };
99
- }, Ke = (e, r) => {
99
+ }, Ke = (e, t) => {
100
100
  if (e.length === 0)
101
- return r.classGroupId;
102
- const t = e[0], o = r.nextPart.get(t), n = o ? Ke(e.slice(1), o) : void 0;
101
+ return t.classGroupId;
102
+ const r = e[0], o = t.nextPart.get(r), n = o ? Ke(e.slice(1), o) : void 0;
103
103
  if (n)
104
104
  return n;
105
- if (r.validators.length === 0)
105
+ if (t.validators.length === 0)
106
106
  return;
107
- const s = e.join(Ie);
108
- return r.validators.find(({
107
+ const s = e.join(Le);
108
+ return t.validators.find(({
109
109
  validator: l
110
110
  }) => l(s))?.classGroupId;
111
- }, _e = /^\[(.+)\]$/, Lr = (e) => {
111
+ }, _e = /^\[(.+)\]$/, Lt = (e) => {
112
112
  if (_e.test(e)) {
113
- const r = _e.exec(e)[1], t = r?.substring(0, r.indexOf(":"));
114
- if (t)
115
- return "arbitrary.." + t;
113
+ const t = _e.exec(e)[1], r = t?.substring(0, t.indexOf(":"));
114
+ if (r)
115
+ return "arbitrary.." + r;
116
116
  }
117
- }, Tr = (e) => {
117
+ }, Tt = (e) => {
118
118
  const {
119
- theme: r,
120
- classGroups: t
119
+ theme: t,
120
+ classGroups: r
121
121
  } = e, o = {
122
122
  nextPart: /* @__PURE__ */ new Map(),
123
123
  validators: []
124
124
  };
125
- for (const n in t)
126
- Ce(t[n], o, n, r);
125
+ for (const n in r)
126
+ Ie(r[n], o, n, t);
127
127
  return o;
128
- }, Ce = (e, r, t, o) => {
128
+ }, Ie = (e, t, r, o) => {
129
129
  e.forEach((n) => {
130
130
  if (typeof n == "string") {
131
- const s = n === "" ? r : De(r, n);
132
- s.classGroupId = t;
131
+ const s = n === "" ? t : De(t, n);
132
+ s.classGroupId = r;
133
133
  return;
134
134
  }
135
135
  if (typeof n == "function") {
136
- if ($r(n)) {
137
- Ce(n(o), r, t, o);
136
+ if (jt(n)) {
137
+ Ie(n(o), t, r, o);
138
138
  return;
139
139
  }
140
- r.validators.push({
140
+ t.validators.push({
141
141
  validator: n,
142
- classGroupId: t
142
+ classGroupId: r
143
143
  });
144
144
  return;
145
145
  }
146
146
  Object.entries(n).forEach(([s, l]) => {
147
- Ce(l, De(r, s), t, o);
147
+ Ie(l, De(t, s), r, o);
148
148
  });
149
149
  });
150
- }, De = (e, r) => {
151
- let t = e;
152
- return r.split(Ie).forEach((o) => {
153
- t.nextPart.has(o) || t.nextPart.set(o, {
150
+ }, De = (e, t) => {
151
+ let r = e;
152
+ return t.split(Le).forEach((o) => {
153
+ r.nextPart.has(o) || r.nextPart.set(o, {
154
154
  nextPart: /* @__PURE__ */ new Map(),
155
155
  validators: []
156
- }), t = t.nextPart.get(o);
157
- }), t;
158
- }, $r = (e) => e.isThemeGetter, jr = (e) => {
156
+ }), r = r.nextPart.get(o);
157
+ }), r;
158
+ }, jt = (e) => e.isThemeGetter, $t = (e) => {
159
159
  if (e < 1)
160
160
  return {
161
161
  get: () => {
@@ -163,54 +163,54 @@ const Ie = "-", zr = (e) => {
163
163
  set: () => {
164
164
  }
165
165
  };
166
- let r = 0, t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
166
+ let t = 0, r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
167
167
  const n = (s, l) => {
168
- t.set(s, l), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
168
+ r.set(s, l), t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ new Map());
169
169
  };
170
170
  return {
171
171
  get(s) {
172
- let l = t.get(s);
172
+ let l = r.get(s);
173
173
  if (l !== void 0)
174
174
  return l;
175
175
  if ((l = o.get(s)) !== void 0)
176
176
  return n(s, l), l;
177
177
  },
178
178
  set(s, l) {
179
- t.has(s) ? t.set(s, l) : n(s, l);
179
+ r.has(s) ? r.set(s, l) : n(s, l);
180
180
  }
181
181
  };
182
- }, Me = "!", Se = ":", Vr = Se.length, Fr = (e) => {
182
+ }, Ee = "!", ze = ":", Vt = ze.length, Ft = (e) => {
183
183
  const {
184
- prefix: r,
185
- experimentalParseClassName: t
184
+ prefix: t,
185
+ experimentalParseClassName: r
186
186
  } = e;
187
187
  let o = (n) => {
188
188
  const s = [];
189
189
  let l = 0, i = 0, c = 0, d;
190
190
  for (let v = 0; v < n.length; v++) {
191
- let k = n[v];
191
+ let N = n[v];
192
192
  if (l === 0 && i === 0) {
193
- if (k === Se) {
194
- s.push(n.slice(c, v)), c = v + Vr;
193
+ if (N === ze) {
194
+ s.push(n.slice(c, v)), c = v + Vt;
195
195
  continue;
196
196
  }
197
- if (k === "/") {
197
+ if (N === "/") {
198
198
  d = v;
199
199
  continue;
200
200
  }
201
201
  }
202
- k === "[" ? l++ : k === "]" ? l-- : k === "(" ? i++ : k === ")" && i--;
202
+ N === "[" ? l++ : N === "]" ? l-- : N === "(" ? i++ : N === ")" && i--;
203
203
  }
204
- const m = s.length === 0 ? n : n.substring(c), u = _r(m), b = u !== m, M = d && d > c ? d - c : void 0;
204
+ const m = s.length === 0 ? n : n.substring(c), u = _t(m), b = u !== m, S = d && d > c ? d - c : void 0;
205
205
  return {
206
206
  modifiers: s,
207
207
  hasImportantModifier: b,
208
208
  baseClassName: u,
209
- maybePostfixModifierPosition: M
209
+ maybePostfixModifierPosition: S
210
210
  };
211
211
  };
212
- if (r) {
213
- const n = r + Se, s = o;
212
+ if (t) {
213
+ const n = t + ze, s = o;
214
214
  o = (l) => l.startsWith(n) ? s(l.substring(n.length)) : {
215
215
  isExternal: !0,
216
216
  modifiers: [],
@@ -219,122 +219,122 @@ const Ie = "-", zr = (e) => {
219
219
  maybePostfixModifierPosition: void 0
220
220
  };
221
221
  }
222
- if (t) {
222
+ if (r) {
223
223
  const n = o;
224
- o = (s) => t({
224
+ o = (s) => r({
225
225
  className: s,
226
226
  parseClassName: n
227
227
  });
228
228
  }
229
229
  return o;
230
- }, _r = (e) => e.endsWith(Me) ? e.substring(0, e.length - 1) : e.startsWith(Me) ? e.substring(1) : e, Dr = (e) => {
231
- const r = Object.fromEntries(e.orderSensitiveModifiers.map((o) => [o, !0]));
230
+ }, _t = (e) => e.endsWith(Ee) ? e.substring(0, e.length - 1) : e.startsWith(Ee) ? e.substring(1) : e, Dt = (e) => {
231
+ const t = Object.fromEntries(e.orderSensitiveModifiers.map((o) => [o, !0]));
232
232
  return (o) => {
233
233
  if (o.length <= 1)
234
234
  return o;
235
235
  const n = [];
236
236
  let s = [];
237
237
  return o.forEach((l) => {
238
- l[0] === "[" || r[l] ? (n.push(...s.sort(), l), s = []) : s.push(l);
238
+ l[0] === "[" || t[l] ? (n.push(...s.sort(), l), s = []) : s.push(l);
239
239
  }), n.push(...s.sort()), n;
240
240
  };
241
- }, Gr = (e) => ({
242
- cache: jr(e.cacheSize),
243
- parseClassName: Fr(e),
244
- sortModifiers: Dr(e),
245
- ...zr(e)
246
- }), Wr = /\s+/, Br = (e, r) => {
241
+ }, Gt = (e) => ({
242
+ cache: $t(e.cacheSize),
243
+ parseClassName: Ft(e),
244
+ sortModifiers: Dt(e),
245
+ ...Rt(e)
246
+ }), Wt = /\s+/, Bt = (e, t) => {
247
247
  const {
248
- parseClassName: t,
248
+ parseClassName: r,
249
249
  getClassGroupId: o,
250
250
  getConflictingClassGroupIds: n,
251
251
  sortModifiers: s
252
- } = r, l = [], i = e.trim().split(Wr);
252
+ } = t, l = [], i = e.trim().split(Wt);
253
253
  let c = "";
254
254
  for (let d = i.length - 1; d >= 0; d -= 1) {
255
255
  const m = i[d], {
256
256
  isExternal: u,
257
257
  modifiers: b,
258
- hasImportantModifier: M,
258
+ hasImportantModifier: S,
259
259
  baseClassName: v,
260
- maybePostfixModifierPosition: k
261
- } = t(m);
260
+ maybePostfixModifierPosition: N
261
+ } = r(m);
262
262
  if (u) {
263
263
  c = m + (c.length > 0 ? " " + c : c);
264
264
  continue;
265
265
  }
266
- let E = !!k, I = o(E ? v.substring(0, k) : v);
267
- if (!I) {
266
+ let E = !!N, z = o(E ? v.substring(0, N) : v);
267
+ if (!z) {
268
268
  if (!E) {
269
269
  c = m + (c.length > 0 ? " " + c : c);
270
270
  continue;
271
271
  }
272
- if (I = o(v), !I) {
272
+ if (z = o(v), !z) {
273
273
  c = m + (c.length > 0 ? " " + c : c);
274
274
  continue;
275
275
  }
276
276
  E = !1;
277
277
  }
278
- const A = s(b).join(":"), L = M ? A + Me : A, P = L + I;
279
- if (l.includes(P))
278
+ const R = s(b).join(":"), k = S ? R + Ee : R, I = k + z;
279
+ if (l.includes(I))
280
280
  continue;
281
- l.push(P);
282
- const S = n(I, E);
283
- for (let V = 0; V < S.length; ++V) {
284
- const z = S[V];
285
- l.push(L + z);
281
+ l.push(I);
282
+ const P = n(z, E);
283
+ for (let F = 0; F < P.length; ++F) {
284
+ const L = P[F];
285
+ l.push(k + L);
286
286
  }
287
287
  c = m + (c.length > 0 ? " " + c : c);
288
288
  }
289
289
  return c;
290
290
  };
291
- function Or() {
292
- let e = 0, r, t, o = "";
291
+ function Ht() {
292
+ let e = 0, t, r, o = "";
293
293
  for (; e < arguments.length; )
294
- (r = arguments[e++]) && (t = Qe(r)) && (o && (o += " "), o += t);
294
+ (t = arguments[e++]) && (r = Qe(t)) && (o && (o += " "), o += r);
295
295
  return o;
296
296
  }
297
297
  const Qe = (e) => {
298
298
  if (typeof e == "string")
299
299
  return e;
300
- let r, t = "";
300
+ let t, r = "";
301
301
  for (let o = 0; o < e.length; o++)
302
- e[o] && (r = Qe(e[o])) && (t && (t += " "), t += r);
303
- return t;
302
+ e[o] && (t = Qe(e[o])) && (r && (r += " "), r += t);
303
+ return r;
304
304
  };
305
- function Hr(e, ...r) {
306
- let t, o, n, s = l;
305
+ function Ot(e, ...t) {
306
+ let r, o, n, s = l;
307
307
  function l(c) {
308
- const d = r.reduce((m, u) => u(m), e());
309
- return t = Gr(d), o = t.cache.get, n = t.cache.set, s = i, i(c);
308
+ const d = t.reduce((m, u) => u(m), e());
309
+ return r = Gt(d), o = r.cache.get, n = r.cache.set, s = i, i(c);
310
310
  }
311
311
  function i(c) {
312
312
  const d = o(c);
313
313
  if (d)
314
314
  return d;
315
- const m = Br(c, t);
315
+ const m = Bt(c, r);
316
316
  return n(c, m), m;
317
317
  }
318
318
  return function() {
319
- return s(Or.apply(null, arguments));
319
+ return s(Ht.apply(null, arguments));
320
320
  };
321
321
  }
322
- const $ = (e) => {
323
- const r = (t) => t[e] || [];
324
- return r.isThemeGetter = !0, r;
325
- }, Je = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ye = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ur = /^\d+\/\d+$/, qr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Xr = /\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$/, Zr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Kr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Qr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ee = (e) => Ur.test(e), N = (e) => !!e && !Number.isNaN(Number(e)), q = (e) => !!e && Number.isInteger(Number(e)), ye = (e) => e.endsWith("%") && N(e.slice(0, -1)), O = (e) => qr.test(e), Jr = () => !0, Yr = (e) => (
322
+ const T = (e) => {
323
+ const t = (r) => r[e] || [];
324
+ return t.isThemeGetter = !0, t;
325
+ }, Je = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ye = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ut = /^\d+\/\d+$/, qt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Xt = /\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$/, Zt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Kt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Qt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, re = (e) => Ut.test(e), M = (e) => !!e && !Number.isNaN(Number(e)), X = (e) => !!e && Number.isInteger(Number(e)), Ne = (e) => e.endsWith("%") && M(e.slice(0, -1)), U = (e) => qt.test(e), Jt = () => !0, Yt = (e) => (
326
326
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
327
327
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
328
328
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
329
- Xr.test(e) && !Zr.test(e)
330
- ), er = () => !1, et = (e) => Kr.test(e), rt = (e) => Qr.test(e), tt = (e) => !p(e) && !g(e), ot = (e) => te(e, or, er), p = (e) => Je.test(e), K = (e) => te(e, ar, Yr), ve = (e) => te(e, lt, N), Ge = (e) => te(e, rr, er), at = (e) => te(e, tr, rt), ue = (e) => te(e, nr, et), g = (e) => Ye.test(e), ae = (e) => oe(e, ar), nt = (e) => oe(e, ct), We = (e) => oe(e, rr), st = (e) => oe(e, or), it = (e) => oe(e, tr), me = (e) => oe(e, nr, !0), te = (e, r, t) => {
329
+ Xt.test(e) && !Zt.test(e)
330
+ ), et = () => !1, er = (e) => Kt.test(e), tr = (e) => Qt.test(e), rr = (e) => !p(e) && !g(e), or = (e) => ne(e, ot, et), p = (e) => Je.test(e), Q = (e) => ne(e, at, Yt), Ce = (e) => ne(e, lr, M), Ge = (e) => ne(e, tt, et), ar = (e) => ne(e, rt, tr), ge = (e) => ne(e, nt, er), g = (e) => Ye.test(e), ce = (e) => se(e, at), nr = (e) => se(e, cr), We = (e) => se(e, tt), sr = (e) => se(e, ot), ir = (e) => se(e, rt), he = (e) => se(e, nt, !0), ne = (e, t, r) => {
331
331
  const o = Je.exec(e);
332
- return o ? o[1] ? r(o[1]) : t(o[2]) : !1;
333
- }, oe = (e, r, t = !1) => {
332
+ return o ? o[1] ? t(o[1]) : r(o[2]) : !1;
333
+ }, se = (e, t, r = !1) => {
334
334
  const o = Ye.exec(e);
335
- return o ? o[1] ? r(o[1]) : t : !1;
336
- }, rr = (e) => e === "position" || e === "percentage", tr = (e) => e === "image" || e === "url", or = (e) => e === "length" || e === "size" || e === "bg-size", ar = (e) => e === "length", lt = (e) => e === "number", ct = (e) => e === "family-name", nr = (e) => e === "shadow", dt = () => {
337
- const e = $("color"), r = $("font"), t = $("text"), o = $("font-weight"), n = $("tracking"), s = $("leading"), l = $("breakpoint"), i = $("container"), c = $("spacing"), d = $("radius"), m = $("shadow"), u = $("inset-shadow"), b = $("text-shadow"), M = $("drop-shadow"), v = $("blur"), k = $("perspective"), E = $("aspect"), I = $("ease"), A = $("animate"), L = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], P = () => [
335
+ return o ? o[1] ? t(o[1]) : r : !1;
336
+ }, tt = (e) => e === "position" || e === "percentage", rt = (e) => e === "image" || e === "url", ot = (e) => e === "length" || e === "size" || e === "bg-size", at = (e) => e === "length", lr = (e) => e === "number", cr = (e) => e === "family-name", nt = (e) => e === "shadow", dr = () => {
337
+ const e = T("color"), t = T("font"), r = T("text"), o = T("font-weight"), n = T("tracking"), s = T("leading"), l = T("breakpoint"), i = T("container"), c = T("spacing"), d = T("radius"), m = T("shadow"), u = T("inset-shadow"), b = T("text-shadow"), S = T("drop-shadow"), v = T("blur"), N = T("perspective"), E = T("aspect"), z = T("ease"), R = T("animate"), k = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], I = () => [
338
338
  "center",
339
339
  "top",
340
340
  "bottom",
@@ -352,15 +352,15 @@ const $ = (e) => {
352
352
  "bottom-left",
353
353
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
354
354
  "left-bottom"
355
- ], S = () => [...P(), g, p], V = () => ["auto", "hidden", "clip", "visible", "scroll"], z = () => ["auto", "contain", "none"], y = () => [g, p, c], _ = () => [ee, "full", "auto", ...y()], H = () => [q, "none", "subgrid", g, p], Y = () => ["auto", {
356
- span: ["full", q, g, p]
357
- }, q, g, p], U = () => [q, "auto", g, p], B = () => ["auto", "min", "max", "fr", g, p], Z = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], G = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], C = () => ["auto", ...y()], T = () => [ee, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...y()], x = () => [e, g, p], ze = () => [...P(), We, Ge, {
355
+ ], P = () => [...I(), g, p], F = () => ["auto", "hidden", "clip", "visible", "scroll"], L = () => ["auto", "contain", "none"], y = () => [g, p, c], _ = () => [re, "full", "auto", ...y()], H = () => [X, "none", "subgrid", g, p], ee = () => ["auto", {
356
+ span: ["full", X, g, p]
357
+ }, X, g, p], q = () => [X, "auto", g, p], te = () => ["auto", "min", "max", "fr", g, p], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], B = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], D = () => ["auto", ...y()], G = () => [re, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...y()], x = () => [e, g, p], ue = () => [...I(), We, Ge, {
358
358
  position: [g, p]
359
- }], Le = () => ["no-repeat", {
359
+ }], ye = () => ["no-repeat", {
360
360
  repeat: ["", "x", "y", "space", "round"]
361
- }], Te = () => ["auto", "cover", "contain", st, ot, {
361
+ }], ie = () => ["auto", "cover", "contain", sr, or, {
362
362
  size: [g, p]
363
- }], ge = () => [ye, ae, K], F = () => [
363
+ }], le = () => [Ne, ce, Q], j = () => [
364
364
  // Deprecated since Tailwind CSS v4.0.0
365
365
  "",
366
366
  "none",
@@ -368,35 +368,35 @@ const $ = (e) => {
368
368
  d,
369
369
  g,
370
370
  p
371
- ], D = () => ["", N, ae, K], ie = () => ["solid", "dashed", "dotted", "double"], $e = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], j = () => [N, ye, We, Ge], je = () => [
371
+ ], C = () => ["", M, ce, Q], $ = () => ["solid", "dashed", "dotted", "double"], O = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], V = () => [M, Ne, We, Ge], $e = () => [
372
372
  // Deprecated since Tailwind CSS v4.0.0
373
373
  "",
374
374
  "none",
375
375
  v,
376
376
  g,
377
377
  p
378
- ], le = () => ["none", N, g, p], ce = () => ["none", N, g, p], he = () => [N, g, p], de = () => [ee, "full", ...y()];
378
+ ], me = () => ["none", M, g, p], fe = () => ["none", M, g, p], ve = () => [M, g, p], pe = () => [re, "full", ...y()];
379
379
  return {
380
380
  cacheSize: 500,
381
381
  theme: {
382
382
  animate: ["spin", "ping", "pulse", "bounce"],
383
383
  aspect: ["video"],
384
- blur: [O],
385
- breakpoint: [O],
386
- color: [Jr],
387
- container: [O],
388
- "drop-shadow": [O],
384
+ blur: [U],
385
+ breakpoint: [U],
386
+ color: [Jt],
387
+ container: [U],
388
+ "drop-shadow": [U],
389
389
  ease: ["in", "out", "in-out"],
390
- font: [tt],
390
+ font: [rr],
391
391
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
392
- "inset-shadow": [O],
392
+ "inset-shadow": [U],
393
393
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
394
394
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
395
- radius: [O],
396
- shadow: [O],
397
- spacing: ["px", N],
398
- text: [O],
399
- "text-shadow": [O],
395
+ radius: [U],
396
+ shadow: [U],
397
+ spacing: ["px", M],
398
+ text: [U],
399
+ "text-shadow": [U],
400
400
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
401
401
  },
402
402
  classGroups: {
@@ -408,7 +408,7 @@ const $ = (e) => {
408
408
  * @see https://tailwindcss.com/docs/aspect-ratio
409
409
  */
410
410
  aspect: [{
411
- aspect: ["auto", "square", ee, p, g, E]
411
+ aspect: ["auto", "square", re, p, g, E]
412
412
  }],
413
413
  /**
414
414
  * Container
@@ -421,21 +421,21 @@ const $ = (e) => {
421
421
  * @see https://tailwindcss.com/docs/columns
422
422
  */
423
423
  columns: [{
424
- columns: [N, p, g, i]
424
+ columns: [M, p, g, i]
425
425
  }],
426
426
  /**
427
427
  * Break After
428
428
  * @see https://tailwindcss.com/docs/break-after
429
429
  */
430
430
  "break-after": [{
431
- "break-after": L()
431
+ "break-after": k()
432
432
  }],
433
433
  /**
434
434
  * Break Before
435
435
  * @see https://tailwindcss.com/docs/break-before
436
436
  */
437
437
  "break-before": [{
438
- "break-before": L()
438
+ "break-before": k()
439
439
  }],
440
440
  /**
441
441
  * Break Inside
@@ -499,49 +499,49 @@ const $ = (e) => {
499
499
  * @see https://tailwindcss.com/docs/object-position
500
500
  */
501
501
  "object-position": [{
502
- object: S()
502
+ object: P()
503
503
  }],
504
504
  /**
505
505
  * Overflow
506
506
  * @see https://tailwindcss.com/docs/overflow
507
507
  */
508
508
  overflow: [{
509
- overflow: V()
509
+ overflow: F()
510
510
  }],
511
511
  /**
512
512
  * Overflow X
513
513
  * @see https://tailwindcss.com/docs/overflow
514
514
  */
515
515
  "overflow-x": [{
516
- "overflow-x": V()
516
+ "overflow-x": F()
517
517
  }],
518
518
  /**
519
519
  * Overflow Y
520
520
  * @see https://tailwindcss.com/docs/overflow
521
521
  */
522
522
  "overflow-y": [{
523
- "overflow-y": V()
523
+ "overflow-y": F()
524
524
  }],
525
525
  /**
526
526
  * Overscroll Behavior
527
527
  * @see https://tailwindcss.com/docs/overscroll-behavior
528
528
  */
529
529
  overscroll: [{
530
- overscroll: z()
530
+ overscroll: L()
531
531
  }],
532
532
  /**
533
533
  * Overscroll Behavior X
534
534
  * @see https://tailwindcss.com/docs/overscroll-behavior
535
535
  */
536
536
  "overscroll-x": [{
537
- "overscroll-x": z()
537
+ "overscroll-x": L()
538
538
  }],
539
539
  /**
540
540
  * Overscroll Behavior Y
541
541
  * @see https://tailwindcss.com/docs/overscroll-behavior
542
542
  */
543
543
  "overscroll-y": [{
544
- "overscroll-y": z()
544
+ "overscroll-y": L()
545
545
  }],
546
546
  /**
547
547
  * Position
@@ -621,7 +621,7 @@ const $ = (e) => {
621
621
  * @see https://tailwindcss.com/docs/z-index
622
622
  */
623
623
  z: [{
624
- z: [q, "auto", g, p]
624
+ z: [X, "auto", g, p]
625
625
  }],
626
626
  // ------------------------
627
627
  // --- Flexbox and Grid ---
@@ -631,7 +631,7 @@ const $ = (e) => {
631
631
  * @see https://tailwindcss.com/docs/flex-basis
632
632
  */
633
633
  basis: [{
634
- basis: [ee, "full", "auto", i, ...y()]
634
+ basis: [re, "full", "auto", i, ...y()]
635
635
  }],
636
636
  /**
637
637
  * Flex Direction
@@ -652,28 +652,28 @@ const $ = (e) => {
652
652
  * @see https://tailwindcss.com/docs/flex
653
653
  */
654
654
  flex: [{
655
- flex: [N, ee, "auto", "initial", "none", p]
655
+ flex: [M, re, "auto", "initial", "none", p]
656
656
  }],
657
657
  /**
658
658
  * Flex Grow
659
659
  * @see https://tailwindcss.com/docs/flex-grow
660
660
  */
661
661
  grow: [{
662
- grow: ["", N, g, p]
662
+ grow: ["", M, g, p]
663
663
  }],
664
664
  /**
665
665
  * Flex Shrink
666
666
  * @see https://tailwindcss.com/docs/flex-shrink
667
667
  */
668
668
  shrink: [{
669
- shrink: ["", N, g, p]
669
+ shrink: ["", M, g, p]
670
670
  }],
671
671
  /**
672
672
  * Order
673
673
  * @see https://tailwindcss.com/docs/order
674
674
  */
675
675
  order: [{
676
- order: [q, "first", "last", "none", g, p]
676
+ order: [X, "first", "last", "none", g, p]
677
677
  }],
678
678
  /**
679
679
  * Grid Template Columns
@@ -687,21 +687,21 @@ const $ = (e) => {
687
687
  * @see https://tailwindcss.com/docs/grid-column
688
688
  */
689
689
  "col-start-end": [{
690
- col: Y()
690
+ col: ee()
691
691
  }],
692
692
  /**
693
693
  * Grid Column Start
694
694
  * @see https://tailwindcss.com/docs/grid-column
695
695
  */
696
696
  "col-start": [{
697
- "col-start": U()
697
+ "col-start": q()
698
698
  }],
699
699
  /**
700
700
  * Grid Column End
701
701
  * @see https://tailwindcss.com/docs/grid-column
702
702
  */
703
703
  "col-end": [{
704
- "col-end": U()
704
+ "col-end": q()
705
705
  }],
706
706
  /**
707
707
  * Grid Template Rows
@@ -715,21 +715,21 @@ const $ = (e) => {
715
715
  * @see https://tailwindcss.com/docs/grid-row
716
716
  */
717
717
  "row-start-end": [{
718
- row: Y()
718
+ row: ee()
719
719
  }],
720
720
  /**
721
721
  * Grid Row Start
722
722
  * @see https://tailwindcss.com/docs/grid-row
723
723
  */
724
724
  "row-start": [{
725
- "row-start": U()
725
+ "row-start": q()
726
726
  }],
727
727
  /**
728
728
  * Grid Row End
729
729
  * @see https://tailwindcss.com/docs/grid-row
730
730
  */
731
731
  "row-end": [{
732
- "row-end": U()
732
+ "row-end": q()
733
733
  }],
734
734
  /**
735
735
  * Grid Auto Flow
@@ -743,14 +743,14 @@ const $ = (e) => {
743
743
  * @see https://tailwindcss.com/docs/grid-auto-columns
744
744
  */
745
745
  "auto-cols": [{
746
- "auto-cols": B()
746
+ "auto-cols": te()
747
747
  }],
748
748
  /**
749
749
  * Grid Auto Rows
750
750
  * @see https://tailwindcss.com/docs/grid-auto-rows
751
751
  */
752
752
  "auto-rows": [{
753
- "auto-rows": B()
753
+ "auto-rows": te()
754
754
  }],
755
755
  /**
756
756
  * Gap
@@ -778,35 +778,35 @@ const $ = (e) => {
778
778
  * @see https://tailwindcss.com/docs/justify-content
779
779
  */
780
780
  "justify-content": [{
781
- justify: [...Z(), "normal"]
781
+ justify: [...K(), "normal"]
782
782
  }],
783
783
  /**
784
784
  * Justify Items
785
785
  * @see https://tailwindcss.com/docs/justify-items
786
786
  */
787
787
  "justify-items": [{
788
- "justify-items": [...G(), "normal"]
788
+ "justify-items": [...B(), "normal"]
789
789
  }],
790
790
  /**
791
791
  * Justify Self
792
792
  * @see https://tailwindcss.com/docs/justify-self
793
793
  */
794
794
  "justify-self": [{
795
- "justify-self": ["auto", ...G()]
795
+ "justify-self": ["auto", ...B()]
796
796
  }],
797
797
  /**
798
798
  * Align Content
799
799
  * @see https://tailwindcss.com/docs/align-content
800
800
  */
801
801
  "align-content": [{
802
- content: ["normal", ...Z()]
802
+ content: ["normal", ...K()]
803
803
  }],
804
804
  /**
805
805
  * Align Items
806
806
  * @see https://tailwindcss.com/docs/align-items
807
807
  */
808
808
  "align-items": [{
809
- items: [...G(), {
809
+ items: [...B(), {
810
810
  baseline: ["", "last"]
811
811
  }]
812
812
  }],
@@ -815,7 +815,7 @@ const $ = (e) => {
815
815
  * @see https://tailwindcss.com/docs/align-self
816
816
  */
817
817
  "align-self": [{
818
- self: ["auto", ...G(), {
818
+ self: ["auto", ...B(), {
819
819
  baseline: ["", "last"]
820
820
  }]
821
821
  }],
@@ -824,21 +824,21 @@ const $ = (e) => {
824
824
  * @see https://tailwindcss.com/docs/place-content
825
825
  */
826
826
  "place-content": [{
827
- "place-content": Z()
827
+ "place-content": K()
828
828
  }],
829
829
  /**
830
830
  * Place Items
831
831
  * @see https://tailwindcss.com/docs/place-items
832
832
  */
833
833
  "place-items": [{
834
- "place-items": [...G(), "baseline"]
834
+ "place-items": [...B(), "baseline"]
835
835
  }],
836
836
  /**
837
837
  * Place Self
838
838
  * @see https://tailwindcss.com/docs/place-self
839
839
  */
840
840
  "place-self": [{
841
- "place-self": ["auto", ...G()]
841
+ "place-self": ["auto", ...B()]
842
842
  }],
843
843
  // Spacing
844
844
  /**
@@ -909,63 +909,63 @@ const $ = (e) => {
909
909
  * @see https://tailwindcss.com/docs/margin
910
910
  */
911
911
  m: [{
912
- m: C()
912
+ m: D()
913
913
  }],
914
914
  /**
915
915
  * Margin X
916
916
  * @see https://tailwindcss.com/docs/margin
917
917
  */
918
918
  mx: [{
919
- mx: C()
919
+ mx: D()
920
920
  }],
921
921
  /**
922
922
  * Margin Y
923
923
  * @see https://tailwindcss.com/docs/margin
924
924
  */
925
925
  my: [{
926
- my: C()
926
+ my: D()
927
927
  }],
928
928
  /**
929
929
  * Margin Start
930
930
  * @see https://tailwindcss.com/docs/margin
931
931
  */
932
932
  ms: [{
933
- ms: C()
933
+ ms: D()
934
934
  }],
935
935
  /**
936
936
  * Margin End
937
937
  * @see https://tailwindcss.com/docs/margin
938
938
  */
939
939
  me: [{
940
- me: C()
940
+ me: D()
941
941
  }],
942
942
  /**
943
943
  * Margin Top
944
944
  * @see https://tailwindcss.com/docs/margin
945
945
  */
946
946
  mt: [{
947
- mt: C()
947
+ mt: D()
948
948
  }],
949
949
  /**
950
950
  * Margin Right
951
951
  * @see https://tailwindcss.com/docs/margin
952
952
  */
953
953
  mr: [{
954
- mr: C()
954
+ mr: D()
955
955
  }],
956
956
  /**
957
957
  * Margin Bottom
958
958
  * @see https://tailwindcss.com/docs/margin
959
959
  */
960
960
  mb: [{
961
- mb: C()
961
+ mb: D()
962
962
  }],
963
963
  /**
964
964
  * Margin Left
965
965
  * @see https://tailwindcss.com/docs/margin
966
966
  */
967
967
  ml: [{
968
- ml: C()
968
+ ml: D()
969
969
  }],
970
970
  /**
971
971
  * Space Between X
@@ -999,14 +999,14 @@ const $ = (e) => {
999
999
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1000
1000
  */
1001
1001
  size: [{
1002
- size: T()
1002
+ size: G()
1003
1003
  }],
1004
1004
  /**
1005
1005
  * Width
1006
1006
  * @see https://tailwindcss.com/docs/width
1007
1007
  */
1008
1008
  w: [{
1009
- w: [i, "screen", ...T()]
1009
+ w: [i, "screen", ...G()]
1010
1010
  }],
1011
1011
  /**
1012
1012
  * Min-Width
@@ -1018,7 +1018,7 @@ const $ = (e) => {
1018
1018
  "screen",
1019
1019
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1020
1020
  "none",
1021
- ...T()
1021
+ ...G()
1022
1022
  ]
1023
1023
  }],
1024
1024
  /**
@@ -1036,7 +1036,7 @@ const $ = (e) => {
1036
1036
  {
1037
1037
  screen: [l]
1038
1038
  },
1039
- ...T()
1039
+ ...G()
1040
1040
  ]
1041
1041
  }],
1042
1042
  /**
@@ -1044,21 +1044,21 @@ const $ = (e) => {
1044
1044
  * @see https://tailwindcss.com/docs/height
1045
1045
  */
1046
1046
  h: [{
1047
- h: ["screen", "lh", ...T()]
1047
+ h: ["screen", "lh", ...G()]
1048
1048
  }],
1049
1049
  /**
1050
1050
  * Min-Height
1051
1051
  * @see https://tailwindcss.com/docs/min-height
1052
1052
  */
1053
1053
  "min-h": [{
1054
- "min-h": ["screen", "lh", "none", ...T()]
1054
+ "min-h": ["screen", "lh", "none", ...G()]
1055
1055
  }],
1056
1056
  /**
1057
1057
  * Max-Height
1058
1058
  * @see https://tailwindcss.com/docs/max-height
1059
1059
  */
1060
1060
  "max-h": [{
1061
- "max-h": ["screen", "lh", ...T()]
1061
+ "max-h": ["screen", "lh", ...G()]
1062
1062
  }],
1063
1063
  // ------------------
1064
1064
  // --- Typography ---
@@ -1068,7 +1068,7 @@ const $ = (e) => {
1068
1068
  * @see https://tailwindcss.com/docs/font-size
1069
1069
  */
1070
1070
  "font-size": [{
1071
- text: ["base", t, ae, K]
1071
+ text: ["base", r, ce, Q]
1072
1072
  }],
1073
1073
  /**
1074
1074
  * Font Smoothing
@@ -1085,21 +1085,21 @@ const $ = (e) => {
1085
1085
  * @see https://tailwindcss.com/docs/font-weight
1086
1086
  */
1087
1087
  "font-weight": [{
1088
- font: [o, g, ve]
1088
+ font: [o, g, Ce]
1089
1089
  }],
1090
1090
  /**
1091
1091
  * Font Stretch
1092
1092
  * @see https://tailwindcss.com/docs/font-stretch
1093
1093
  */
1094
1094
  "font-stretch": [{
1095
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ye, p]
1095
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ne, p]
1096
1096
  }],
1097
1097
  /**
1098
1098
  * Font Family
1099
1099
  * @see https://tailwindcss.com/docs/font-family
1100
1100
  */
1101
1101
  "font-family": [{
1102
- font: [nt, p, r]
1102
+ font: [nr, p, t]
1103
1103
  }],
1104
1104
  /**
1105
1105
  * Font Variant Numeric
@@ -1143,7 +1143,7 @@ const $ = (e) => {
1143
1143
  * @see https://tailwindcss.com/docs/line-clamp
1144
1144
  */
1145
1145
  "line-clamp": [{
1146
- "line-clamp": [N, "none", g, ve]
1146
+ "line-clamp": [M, "none", g, Ce]
1147
1147
  }],
1148
1148
  /**
1149
1149
  * Line Height
@@ -1209,14 +1209,14 @@ const $ = (e) => {
1209
1209
  * @see https://tailwindcss.com/docs/text-decoration-style
1210
1210
  */
1211
1211
  "text-decoration-style": [{
1212
- decoration: [...ie(), "wavy"]
1212
+ decoration: [...$(), "wavy"]
1213
1213
  }],
1214
1214
  /**
1215
1215
  * Text Decoration Thickness
1216
1216
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1217
1217
  */
1218
1218
  "text-decoration-thickness": [{
1219
- decoration: [N, "from-font", "auto", g, K]
1219
+ decoration: [M, "from-font", "auto", g, Q]
1220
1220
  }],
1221
1221
  /**
1222
1222
  * Text Decoration Color
@@ -1230,7 +1230,7 @@ const $ = (e) => {
1230
1230
  * @see https://tailwindcss.com/docs/text-underline-offset
1231
1231
  */
1232
1232
  "underline-offset": [{
1233
- "underline-offset": [N, "auto", g, p]
1233
+ "underline-offset": [M, "auto", g, p]
1234
1234
  }],
1235
1235
  /**
1236
1236
  * Text Transform
@@ -1327,21 +1327,21 @@ const $ = (e) => {
1327
1327
  * @see https://tailwindcss.com/docs/background-position
1328
1328
  */
1329
1329
  "bg-position": [{
1330
- bg: ze()
1330
+ bg: ue()
1331
1331
  }],
1332
1332
  /**
1333
1333
  * Background Repeat
1334
1334
  * @see https://tailwindcss.com/docs/background-repeat
1335
1335
  */
1336
1336
  "bg-repeat": [{
1337
- bg: Le()
1337
+ bg: ye()
1338
1338
  }],
1339
1339
  /**
1340
1340
  * Background Size
1341
1341
  * @see https://tailwindcss.com/docs/background-size
1342
1342
  */
1343
1343
  "bg-size": [{
1344
- bg: Te()
1344
+ bg: ie()
1345
1345
  }],
1346
1346
  /**
1347
1347
  * Background Image
@@ -1351,10 +1351,10 @@ const $ = (e) => {
1351
1351
  bg: ["none", {
1352
1352
  linear: [{
1353
1353
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1354
- }, q, g, p],
1354
+ }, X, g, p],
1355
1355
  radial: ["", g, p],
1356
- conic: [q, g, p]
1357
- }, it, at]
1356
+ conic: [X, g, p]
1357
+ }, ir, ar]
1358
1358
  }],
1359
1359
  /**
1360
1360
  * Background Color
@@ -1368,21 +1368,21 @@ const $ = (e) => {
1368
1368
  * @see https://tailwindcss.com/docs/gradient-color-stops
1369
1369
  */
1370
1370
  "gradient-from-pos": [{
1371
- from: ge()
1371
+ from: le()
1372
1372
  }],
1373
1373
  /**
1374
1374
  * Gradient Color Stops Via Position
1375
1375
  * @see https://tailwindcss.com/docs/gradient-color-stops
1376
1376
  */
1377
1377
  "gradient-via-pos": [{
1378
- via: ge()
1378
+ via: le()
1379
1379
  }],
1380
1380
  /**
1381
1381
  * Gradient Color Stops To Position
1382
1382
  * @see https://tailwindcss.com/docs/gradient-color-stops
1383
1383
  */
1384
1384
  "gradient-to-pos": [{
1385
- to: ge()
1385
+ to: le()
1386
1386
  }],
1387
1387
  /**
1388
1388
  * Gradient Color Stops From
@@ -1413,175 +1413,175 @@ const $ = (e) => {
1413
1413
  * @see https://tailwindcss.com/docs/border-radius
1414
1414
  */
1415
1415
  rounded: [{
1416
- rounded: F()
1416
+ rounded: j()
1417
1417
  }],
1418
1418
  /**
1419
1419
  * Border Radius Start
1420
1420
  * @see https://tailwindcss.com/docs/border-radius
1421
1421
  */
1422
1422
  "rounded-s": [{
1423
- "rounded-s": F()
1423
+ "rounded-s": j()
1424
1424
  }],
1425
1425
  /**
1426
1426
  * Border Radius End
1427
1427
  * @see https://tailwindcss.com/docs/border-radius
1428
1428
  */
1429
1429
  "rounded-e": [{
1430
- "rounded-e": F()
1430
+ "rounded-e": j()
1431
1431
  }],
1432
1432
  /**
1433
1433
  * Border Radius Top
1434
1434
  * @see https://tailwindcss.com/docs/border-radius
1435
1435
  */
1436
1436
  "rounded-t": [{
1437
- "rounded-t": F()
1437
+ "rounded-t": j()
1438
1438
  }],
1439
1439
  /**
1440
1440
  * Border Radius Right
1441
1441
  * @see https://tailwindcss.com/docs/border-radius
1442
1442
  */
1443
1443
  "rounded-r": [{
1444
- "rounded-r": F()
1444
+ "rounded-r": j()
1445
1445
  }],
1446
1446
  /**
1447
1447
  * Border Radius Bottom
1448
1448
  * @see https://tailwindcss.com/docs/border-radius
1449
1449
  */
1450
1450
  "rounded-b": [{
1451
- "rounded-b": F()
1451
+ "rounded-b": j()
1452
1452
  }],
1453
1453
  /**
1454
1454
  * Border Radius Left
1455
1455
  * @see https://tailwindcss.com/docs/border-radius
1456
1456
  */
1457
1457
  "rounded-l": [{
1458
- "rounded-l": F()
1458
+ "rounded-l": j()
1459
1459
  }],
1460
1460
  /**
1461
1461
  * Border Radius Start Start
1462
1462
  * @see https://tailwindcss.com/docs/border-radius
1463
1463
  */
1464
1464
  "rounded-ss": [{
1465
- "rounded-ss": F()
1465
+ "rounded-ss": j()
1466
1466
  }],
1467
1467
  /**
1468
1468
  * Border Radius Start End
1469
1469
  * @see https://tailwindcss.com/docs/border-radius
1470
1470
  */
1471
1471
  "rounded-se": [{
1472
- "rounded-se": F()
1472
+ "rounded-se": j()
1473
1473
  }],
1474
1474
  /**
1475
1475
  * Border Radius End End
1476
1476
  * @see https://tailwindcss.com/docs/border-radius
1477
1477
  */
1478
1478
  "rounded-ee": [{
1479
- "rounded-ee": F()
1479
+ "rounded-ee": j()
1480
1480
  }],
1481
1481
  /**
1482
1482
  * Border Radius End Start
1483
1483
  * @see https://tailwindcss.com/docs/border-radius
1484
1484
  */
1485
1485
  "rounded-es": [{
1486
- "rounded-es": F()
1486
+ "rounded-es": j()
1487
1487
  }],
1488
1488
  /**
1489
1489
  * Border Radius Top Left
1490
1490
  * @see https://tailwindcss.com/docs/border-radius
1491
1491
  */
1492
1492
  "rounded-tl": [{
1493
- "rounded-tl": F()
1493
+ "rounded-tl": j()
1494
1494
  }],
1495
1495
  /**
1496
1496
  * Border Radius Top Right
1497
1497
  * @see https://tailwindcss.com/docs/border-radius
1498
1498
  */
1499
1499
  "rounded-tr": [{
1500
- "rounded-tr": F()
1500
+ "rounded-tr": j()
1501
1501
  }],
1502
1502
  /**
1503
1503
  * Border Radius Bottom Right
1504
1504
  * @see https://tailwindcss.com/docs/border-radius
1505
1505
  */
1506
1506
  "rounded-br": [{
1507
- "rounded-br": F()
1507
+ "rounded-br": j()
1508
1508
  }],
1509
1509
  /**
1510
1510
  * Border Radius Bottom Left
1511
1511
  * @see https://tailwindcss.com/docs/border-radius
1512
1512
  */
1513
1513
  "rounded-bl": [{
1514
- "rounded-bl": F()
1514
+ "rounded-bl": j()
1515
1515
  }],
1516
1516
  /**
1517
1517
  * Border Width
1518
1518
  * @see https://tailwindcss.com/docs/border-width
1519
1519
  */
1520
1520
  "border-w": [{
1521
- border: D()
1521
+ border: C()
1522
1522
  }],
1523
1523
  /**
1524
1524
  * Border Width X
1525
1525
  * @see https://tailwindcss.com/docs/border-width
1526
1526
  */
1527
1527
  "border-w-x": [{
1528
- "border-x": D()
1528
+ "border-x": C()
1529
1529
  }],
1530
1530
  /**
1531
1531
  * Border Width Y
1532
1532
  * @see https://tailwindcss.com/docs/border-width
1533
1533
  */
1534
1534
  "border-w-y": [{
1535
- "border-y": D()
1535
+ "border-y": C()
1536
1536
  }],
1537
1537
  /**
1538
1538
  * Border Width Start
1539
1539
  * @see https://tailwindcss.com/docs/border-width
1540
1540
  */
1541
1541
  "border-w-s": [{
1542
- "border-s": D()
1542
+ "border-s": C()
1543
1543
  }],
1544
1544
  /**
1545
1545
  * Border Width End
1546
1546
  * @see https://tailwindcss.com/docs/border-width
1547
1547
  */
1548
1548
  "border-w-e": [{
1549
- "border-e": D()
1549
+ "border-e": C()
1550
1550
  }],
1551
1551
  /**
1552
1552
  * Border Width Top
1553
1553
  * @see https://tailwindcss.com/docs/border-width
1554
1554
  */
1555
1555
  "border-w-t": [{
1556
- "border-t": D()
1556
+ "border-t": C()
1557
1557
  }],
1558
1558
  /**
1559
1559
  * Border Width Right
1560
1560
  * @see https://tailwindcss.com/docs/border-width
1561
1561
  */
1562
1562
  "border-w-r": [{
1563
- "border-r": D()
1563
+ "border-r": C()
1564
1564
  }],
1565
1565
  /**
1566
1566
  * Border Width Bottom
1567
1567
  * @see https://tailwindcss.com/docs/border-width
1568
1568
  */
1569
1569
  "border-w-b": [{
1570
- "border-b": D()
1570
+ "border-b": C()
1571
1571
  }],
1572
1572
  /**
1573
1573
  * Border Width Left
1574
1574
  * @see https://tailwindcss.com/docs/border-width
1575
1575
  */
1576
1576
  "border-w-l": [{
1577
- "border-l": D()
1577
+ "border-l": C()
1578
1578
  }],
1579
1579
  /**
1580
1580
  * Divide Width X
1581
1581
  * @see https://tailwindcss.com/docs/border-width#between-children
1582
1582
  */
1583
1583
  "divide-x": [{
1584
- "divide-x": D()
1584
+ "divide-x": C()
1585
1585
  }],
1586
1586
  /**
1587
1587
  * Divide Width X Reverse
@@ -1593,7 +1593,7 @@ const $ = (e) => {
1593
1593
  * @see https://tailwindcss.com/docs/border-width#between-children
1594
1594
  */
1595
1595
  "divide-y": [{
1596
- "divide-y": D()
1596
+ "divide-y": C()
1597
1597
  }],
1598
1598
  /**
1599
1599
  * Divide Width Y Reverse
@@ -1605,14 +1605,14 @@ const $ = (e) => {
1605
1605
  * @see https://tailwindcss.com/docs/border-style
1606
1606
  */
1607
1607
  "border-style": [{
1608
- border: [...ie(), "hidden", "none"]
1608
+ border: [...$(), "hidden", "none"]
1609
1609
  }],
1610
1610
  /**
1611
1611
  * Divide Style
1612
1612
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1613
1613
  */
1614
1614
  "divide-style": [{
1615
- divide: [...ie(), "hidden", "none"]
1615
+ divide: [...$(), "hidden", "none"]
1616
1616
  }],
1617
1617
  /**
1618
1618
  * Border Color
@@ -1689,21 +1689,21 @@ const $ = (e) => {
1689
1689
  * @see https://tailwindcss.com/docs/outline-style
1690
1690
  */
1691
1691
  "outline-style": [{
1692
- outline: [...ie(), "none", "hidden"]
1692
+ outline: [...$(), "none", "hidden"]
1693
1693
  }],
1694
1694
  /**
1695
1695
  * Outline Offset
1696
1696
  * @see https://tailwindcss.com/docs/outline-offset
1697
1697
  */
1698
1698
  "outline-offset": [{
1699
- "outline-offset": [N, g, p]
1699
+ "outline-offset": [M, g, p]
1700
1700
  }],
1701
1701
  /**
1702
1702
  * Outline Width
1703
1703
  * @see https://tailwindcss.com/docs/outline-width
1704
1704
  */
1705
1705
  "outline-w": [{
1706
- outline: ["", N, ae, K]
1706
+ outline: ["", M, ce, Q]
1707
1707
  }],
1708
1708
  /**
1709
1709
  * Outline Color
@@ -1725,8 +1725,8 @@ const $ = (e) => {
1725
1725
  "",
1726
1726
  "none",
1727
1727
  m,
1728
- me,
1729
- ue
1728
+ he,
1729
+ ge
1730
1730
  ]
1731
1731
  }],
1732
1732
  /**
@@ -1741,7 +1741,7 @@ const $ = (e) => {
1741
1741
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1742
1742
  */
1743
1743
  "inset-shadow": [{
1744
- "inset-shadow": ["none", u, me, ue]
1744
+ "inset-shadow": ["none", u, he, ge]
1745
1745
  }],
1746
1746
  /**
1747
1747
  * Inset Box Shadow Color
@@ -1755,7 +1755,7 @@ const $ = (e) => {
1755
1755
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1756
1756
  */
1757
1757
  "ring-w": [{
1758
- ring: D()
1758
+ ring: C()
1759
1759
  }],
1760
1760
  /**
1761
1761
  * Ring Width Inset
@@ -1778,7 +1778,7 @@ const $ = (e) => {
1778
1778
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1779
1779
  */
1780
1780
  "ring-offset-w": [{
1781
- "ring-offset": [N, K]
1781
+ "ring-offset": [M, Q]
1782
1782
  }],
1783
1783
  /**
1784
1784
  * Ring Offset Color
@@ -1794,7 +1794,7 @@ const $ = (e) => {
1794
1794
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1795
1795
  */
1796
1796
  "inset-ring-w": [{
1797
- "inset-ring": D()
1797
+ "inset-ring": C()
1798
1798
  }],
1799
1799
  /**
1800
1800
  * Inset Ring Color
@@ -1808,7 +1808,7 @@ const $ = (e) => {
1808
1808
  * @see https://tailwindcss.com/docs/text-shadow
1809
1809
  */
1810
1810
  "text-shadow": [{
1811
- "text-shadow": ["none", b, me, ue]
1811
+ "text-shadow": ["none", b, he, ge]
1812
1812
  }],
1813
1813
  /**
1814
1814
  * Text Shadow Color
@@ -1822,21 +1822,21 @@ const $ = (e) => {
1822
1822
  * @see https://tailwindcss.com/docs/opacity
1823
1823
  */
1824
1824
  opacity: [{
1825
- opacity: [N, g, p]
1825
+ opacity: [M, g, p]
1826
1826
  }],
1827
1827
  /**
1828
1828
  * Mix Blend Mode
1829
1829
  * @see https://tailwindcss.com/docs/mix-blend-mode
1830
1830
  */
1831
1831
  "mix-blend": [{
1832
- "mix-blend": [...$e(), "plus-darker", "plus-lighter"]
1832
+ "mix-blend": [...O(), "plus-darker", "plus-lighter"]
1833
1833
  }],
1834
1834
  /**
1835
1835
  * Background Blend Mode
1836
1836
  * @see https://tailwindcss.com/docs/background-blend-mode
1837
1837
  */
1838
1838
  "bg-blend": [{
1839
- "bg-blend": $e()
1839
+ "bg-blend": O()
1840
1840
  }],
1841
1841
  /**
1842
1842
  * Mask Clip
@@ -1857,13 +1857,13 @@ const $ = (e) => {
1857
1857
  * @see https://tailwindcss.com/docs/mask-image
1858
1858
  */
1859
1859
  "mask-image-linear-pos": [{
1860
- "mask-linear": [N]
1860
+ "mask-linear": [M]
1861
1861
  }],
1862
1862
  "mask-image-linear-from-pos": [{
1863
- "mask-linear-from": j()
1863
+ "mask-linear-from": V()
1864
1864
  }],
1865
1865
  "mask-image-linear-to-pos": [{
1866
- "mask-linear-to": j()
1866
+ "mask-linear-to": V()
1867
1867
  }],
1868
1868
  "mask-image-linear-from-color": [{
1869
1869
  "mask-linear-from": x()
@@ -1872,10 +1872,10 @@ const $ = (e) => {
1872
1872
  "mask-linear-to": x()
1873
1873
  }],
1874
1874
  "mask-image-t-from-pos": [{
1875
- "mask-t-from": j()
1875
+ "mask-t-from": V()
1876
1876
  }],
1877
1877
  "mask-image-t-to-pos": [{
1878
- "mask-t-to": j()
1878
+ "mask-t-to": V()
1879
1879
  }],
1880
1880
  "mask-image-t-from-color": [{
1881
1881
  "mask-t-from": x()
@@ -1884,10 +1884,10 @@ const $ = (e) => {
1884
1884
  "mask-t-to": x()
1885
1885
  }],
1886
1886
  "mask-image-r-from-pos": [{
1887
- "mask-r-from": j()
1887
+ "mask-r-from": V()
1888
1888
  }],
1889
1889
  "mask-image-r-to-pos": [{
1890
- "mask-r-to": j()
1890
+ "mask-r-to": V()
1891
1891
  }],
1892
1892
  "mask-image-r-from-color": [{
1893
1893
  "mask-r-from": x()
@@ -1896,10 +1896,10 @@ const $ = (e) => {
1896
1896
  "mask-r-to": x()
1897
1897
  }],
1898
1898
  "mask-image-b-from-pos": [{
1899
- "mask-b-from": j()
1899
+ "mask-b-from": V()
1900
1900
  }],
1901
1901
  "mask-image-b-to-pos": [{
1902
- "mask-b-to": j()
1902
+ "mask-b-to": V()
1903
1903
  }],
1904
1904
  "mask-image-b-from-color": [{
1905
1905
  "mask-b-from": x()
@@ -1908,10 +1908,10 @@ const $ = (e) => {
1908
1908
  "mask-b-to": x()
1909
1909
  }],
1910
1910
  "mask-image-l-from-pos": [{
1911
- "mask-l-from": j()
1911
+ "mask-l-from": V()
1912
1912
  }],
1913
1913
  "mask-image-l-to-pos": [{
1914
- "mask-l-to": j()
1914
+ "mask-l-to": V()
1915
1915
  }],
1916
1916
  "mask-image-l-from-color": [{
1917
1917
  "mask-l-from": x()
@@ -1920,10 +1920,10 @@ const $ = (e) => {
1920
1920
  "mask-l-to": x()
1921
1921
  }],
1922
1922
  "mask-image-x-from-pos": [{
1923
- "mask-x-from": j()
1923
+ "mask-x-from": V()
1924
1924
  }],
1925
1925
  "mask-image-x-to-pos": [{
1926
- "mask-x-to": j()
1926
+ "mask-x-to": V()
1927
1927
  }],
1928
1928
  "mask-image-x-from-color": [{
1929
1929
  "mask-x-from": x()
@@ -1932,10 +1932,10 @@ const $ = (e) => {
1932
1932
  "mask-x-to": x()
1933
1933
  }],
1934
1934
  "mask-image-y-from-pos": [{
1935
- "mask-y-from": j()
1935
+ "mask-y-from": V()
1936
1936
  }],
1937
1937
  "mask-image-y-to-pos": [{
1938
- "mask-y-to": j()
1938
+ "mask-y-to": V()
1939
1939
  }],
1940
1940
  "mask-image-y-from-color": [{
1941
1941
  "mask-y-from": x()
@@ -1947,10 +1947,10 @@ const $ = (e) => {
1947
1947
  "mask-radial": [g, p]
1948
1948
  }],
1949
1949
  "mask-image-radial-from-pos": [{
1950
- "mask-radial-from": j()
1950
+ "mask-radial-from": V()
1951
1951
  }],
1952
1952
  "mask-image-radial-to-pos": [{
1953
- "mask-radial-to": j()
1953
+ "mask-radial-to": V()
1954
1954
  }],
1955
1955
  "mask-image-radial-from-color": [{
1956
1956
  "mask-radial-from": x()
@@ -1968,16 +1968,16 @@ const $ = (e) => {
1968
1968
  }]
1969
1969
  }],
1970
1970
  "mask-image-radial-pos": [{
1971
- "mask-radial-at": P()
1971
+ "mask-radial-at": I()
1972
1972
  }],
1973
1973
  "mask-image-conic-pos": [{
1974
- "mask-conic": [N]
1974
+ "mask-conic": [M]
1975
1975
  }],
1976
1976
  "mask-image-conic-from-pos": [{
1977
- "mask-conic-from": j()
1977
+ "mask-conic-from": V()
1978
1978
  }],
1979
1979
  "mask-image-conic-to-pos": [{
1980
- "mask-conic-to": j()
1980
+ "mask-conic-to": V()
1981
1981
  }],
1982
1982
  "mask-image-conic-from-color": [{
1983
1983
  "mask-conic-from": x()
@@ -2004,21 +2004,21 @@ const $ = (e) => {
2004
2004
  * @see https://tailwindcss.com/docs/mask-position
2005
2005
  */
2006
2006
  "mask-position": [{
2007
- mask: ze()
2007
+ mask: ue()
2008
2008
  }],
2009
2009
  /**
2010
2010
  * Mask Repeat
2011
2011
  * @see https://tailwindcss.com/docs/mask-repeat
2012
2012
  */
2013
2013
  "mask-repeat": [{
2014
- mask: Le()
2014
+ mask: ye()
2015
2015
  }],
2016
2016
  /**
2017
2017
  * Mask Size
2018
2018
  * @see https://tailwindcss.com/docs/mask-size
2019
2019
  */
2020
2020
  "mask-size": [{
2021
- mask: Te()
2021
+ mask: ie()
2022
2022
  }],
2023
2023
  /**
2024
2024
  * Mask Type
@@ -2055,21 +2055,21 @@ const $ = (e) => {
2055
2055
  * @see https://tailwindcss.com/docs/blur
2056
2056
  */
2057
2057
  blur: [{
2058
- blur: je()
2058
+ blur: $e()
2059
2059
  }],
2060
2060
  /**
2061
2061
  * Brightness
2062
2062
  * @see https://tailwindcss.com/docs/brightness
2063
2063
  */
2064
2064
  brightness: [{
2065
- brightness: [N, g, p]
2065
+ brightness: [M, g, p]
2066
2066
  }],
2067
2067
  /**
2068
2068
  * Contrast
2069
2069
  * @see https://tailwindcss.com/docs/contrast
2070
2070
  */
2071
2071
  contrast: [{
2072
- contrast: [N, g, p]
2072
+ contrast: [M, g, p]
2073
2073
  }],
2074
2074
  /**
2075
2075
  * Drop Shadow
@@ -2080,9 +2080,9 @@ const $ = (e) => {
2080
2080
  // Deprecated since Tailwind CSS v4.0.0
2081
2081
  "",
2082
2082
  "none",
2083
- M,
2084
- me,
2085
- ue
2083
+ S,
2084
+ he,
2085
+ ge
2086
2086
  ]
2087
2087
  }],
2088
2088
  /**
@@ -2097,35 +2097,35 @@ const $ = (e) => {
2097
2097
  * @see https://tailwindcss.com/docs/grayscale
2098
2098
  */
2099
2099
  grayscale: [{
2100
- grayscale: ["", N, g, p]
2100
+ grayscale: ["", M, g, p]
2101
2101
  }],
2102
2102
  /**
2103
2103
  * Hue Rotate
2104
2104
  * @see https://tailwindcss.com/docs/hue-rotate
2105
2105
  */
2106
2106
  "hue-rotate": [{
2107
- "hue-rotate": [N, g, p]
2107
+ "hue-rotate": [M, g, p]
2108
2108
  }],
2109
2109
  /**
2110
2110
  * Invert
2111
2111
  * @see https://tailwindcss.com/docs/invert
2112
2112
  */
2113
2113
  invert: [{
2114
- invert: ["", N, g, p]
2114
+ invert: ["", M, g, p]
2115
2115
  }],
2116
2116
  /**
2117
2117
  * Saturate
2118
2118
  * @see https://tailwindcss.com/docs/saturate
2119
2119
  */
2120
2120
  saturate: [{
2121
- saturate: [N, g, p]
2121
+ saturate: [M, g, p]
2122
2122
  }],
2123
2123
  /**
2124
2124
  * Sepia
2125
2125
  * @see https://tailwindcss.com/docs/sepia
2126
2126
  */
2127
2127
  sepia: [{
2128
- sepia: ["", N, g, p]
2128
+ sepia: ["", M, g, p]
2129
2129
  }],
2130
2130
  /**
2131
2131
  * Backdrop Filter
@@ -2145,63 +2145,63 @@ const $ = (e) => {
2145
2145
  * @see https://tailwindcss.com/docs/backdrop-blur
2146
2146
  */
2147
2147
  "backdrop-blur": [{
2148
- "backdrop-blur": je()
2148
+ "backdrop-blur": $e()
2149
2149
  }],
2150
2150
  /**
2151
2151
  * Backdrop Brightness
2152
2152
  * @see https://tailwindcss.com/docs/backdrop-brightness
2153
2153
  */
2154
2154
  "backdrop-brightness": [{
2155
- "backdrop-brightness": [N, g, p]
2155
+ "backdrop-brightness": [M, g, p]
2156
2156
  }],
2157
2157
  /**
2158
2158
  * Backdrop Contrast
2159
2159
  * @see https://tailwindcss.com/docs/backdrop-contrast
2160
2160
  */
2161
2161
  "backdrop-contrast": [{
2162
- "backdrop-contrast": [N, g, p]
2162
+ "backdrop-contrast": [M, g, p]
2163
2163
  }],
2164
2164
  /**
2165
2165
  * Backdrop Grayscale
2166
2166
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2167
2167
  */
2168
2168
  "backdrop-grayscale": [{
2169
- "backdrop-grayscale": ["", N, g, p]
2169
+ "backdrop-grayscale": ["", M, g, p]
2170
2170
  }],
2171
2171
  /**
2172
2172
  * Backdrop Hue Rotate
2173
2173
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2174
2174
  */
2175
2175
  "backdrop-hue-rotate": [{
2176
- "backdrop-hue-rotate": [N, g, p]
2176
+ "backdrop-hue-rotate": [M, g, p]
2177
2177
  }],
2178
2178
  /**
2179
2179
  * Backdrop Invert
2180
2180
  * @see https://tailwindcss.com/docs/backdrop-invert
2181
2181
  */
2182
2182
  "backdrop-invert": [{
2183
- "backdrop-invert": ["", N, g, p]
2183
+ "backdrop-invert": ["", M, g, p]
2184
2184
  }],
2185
2185
  /**
2186
2186
  * Backdrop Opacity
2187
2187
  * @see https://tailwindcss.com/docs/backdrop-opacity
2188
2188
  */
2189
2189
  "backdrop-opacity": [{
2190
- "backdrop-opacity": [N, g, p]
2190
+ "backdrop-opacity": [M, g, p]
2191
2191
  }],
2192
2192
  /**
2193
2193
  * Backdrop Saturate
2194
2194
  * @see https://tailwindcss.com/docs/backdrop-saturate
2195
2195
  */
2196
2196
  "backdrop-saturate": [{
2197
- "backdrop-saturate": [N, g, p]
2197
+ "backdrop-saturate": [M, g, p]
2198
2198
  }],
2199
2199
  /**
2200
2200
  * Backdrop Sepia
2201
2201
  * @see https://tailwindcss.com/docs/backdrop-sepia
2202
2202
  */
2203
2203
  "backdrop-sepia": [{
2204
- "backdrop-sepia": ["", N, g, p]
2204
+ "backdrop-sepia": ["", M, g, p]
2205
2205
  }],
2206
2206
  // --------------
2207
2207
  // --- Tables ---
@@ -2270,28 +2270,28 @@ const $ = (e) => {
2270
2270
  * @see https://tailwindcss.com/docs/transition-duration
2271
2271
  */
2272
2272
  duration: [{
2273
- duration: [N, "initial", g, p]
2273
+ duration: [M, "initial", g, p]
2274
2274
  }],
2275
2275
  /**
2276
2276
  * Transition Timing Function
2277
2277
  * @see https://tailwindcss.com/docs/transition-timing-function
2278
2278
  */
2279
2279
  ease: [{
2280
- ease: ["linear", "initial", I, g, p]
2280
+ ease: ["linear", "initial", z, g, p]
2281
2281
  }],
2282
2282
  /**
2283
2283
  * Transition Delay
2284
2284
  * @see https://tailwindcss.com/docs/transition-delay
2285
2285
  */
2286
2286
  delay: [{
2287
- delay: [N, g, p]
2287
+ delay: [M, g, p]
2288
2288
  }],
2289
2289
  /**
2290
2290
  * Animation
2291
2291
  * @see https://tailwindcss.com/docs/animation
2292
2292
  */
2293
2293
  animate: [{
2294
- animate: ["none", A, g, p]
2294
+ animate: ["none", R, g, p]
2295
2295
  }],
2296
2296
  // ------------------
2297
2297
  // --- Transforms ---
@@ -2308,70 +2308,70 @@ const $ = (e) => {
2308
2308
  * @see https://tailwindcss.com/docs/perspective
2309
2309
  */
2310
2310
  perspective: [{
2311
- perspective: [k, g, p]
2311
+ perspective: [N, g, p]
2312
2312
  }],
2313
2313
  /**
2314
2314
  * Perspective Origin
2315
2315
  * @see https://tailwindcss.com/docs/perspective-origin
2316
2316
  */
2317
2317
  "perspective-origin": [{
2318
- "perspective-origin": S()
2318
+ "perspective-origin": P()
2319
2319
  }],
2320
2320
  /**
2321
2321
  * Rotate
2322
2322
  * @see https://tailwindcss.com/docs/rotate
2323
2323
  */
2324
2324
  rotate: [{
2325
- rotate: le()
2325
+ rotate: me()
2326
2326
  }],
2327
2327
  /**
2328
2328
  * Rotate X
2329
2329
  * @see https://tailwindcss.com/docs/rotate
2330
2330
  */
2331
2331
  "rotate-x": [{
2332
- "rotate-x": le()
2332
+ "rotate-x": me()
2333
2333
  }],
2334
2334
  /**
2335
2335
  * Rotate Y
2336
2336
  * @see https://tailwindcss.com/docs/rotate
2337
2337
  */
2338
2338
  "rotate-y": [{
2339
- "rotate-y": le()
2339
+ "rotate-y": me()
2340
2340
  }],
2341
2341
  /**
2342
2342
  * Rotate Z
2343
2343
  * @see https://tailwindcss.com/docs/rotate
2344
2344
  */
2345
2345
  "rotate-z": [{
2346
- "rotate-z": le()
2346
+ "rotate-z": me()
2347
2347
  }],
2348
2348
  /**
2349
2349
  * Scale
2350
2350
  * @see https://tailwindcss.com/docs/scale
2351
2351
  */
2352
2352
  scale: [{
2353
- scale: ce()
2353
+ scale: fe()
2354
2354
  }],
2355
2355
  /**
2356
2356
  * Scale X
2357
2357
  * @see https://tailwindcss.com/docs/scale
2358
2358
  */
2359
2359
  "scale-x": [{
2360
- "scale-x": ce()
2360
+ "scale-x": fe()
2361
2361
  }],
2362
2362
  /**
2363
2363
  * Scale Y
2364
2364
  * @see https://tailwindcss.com/docs/scale
2365
2365
  */
2366
2366
  "scale-y": [{
2367
- "scale-y": ce()
2367
+ "scale-y": fe()
2368
2368
  }],
2369
2369
  /**
2370
2370
  * Scale Z
2371
2371
  * @see https://tailwindcss.com/docs/scale
2372
2372
  */
2373
2373
  "scale-z": [{
2374
- "scale-z": ce()
2374
+ "scale-z": fe()
2375
2375
  }],
2376
2376
  /**
2377
2377
  * Scale 3D
@@ -2383,21 +2383,21 @@ const $ = (e) => {
2383
2383
  * @see https://tailwindcss.com/docs/skew
2384
2384
  */
2385
2385
  skew: [{
2386
- skew: he()
2386
+ skew: ve()
2387
2387
  }],
2388
2388
  /**
2389
2389
  * Skew X
2390
2390
  * @see https://tailwindcss.com/docs/skew
2391
2391
  */
2392
2392
  "skew-x": [{
2393
- "skew-x": he()
2393
+ "skew-x": ve()
2394
2394
  }],
2395
2395
  /**
2396
2396
  * Skew Y
2397
2397
  * @see https://tailwindcss.com/docs/skew
2398
2398
  */
2399
2399
  "skew-y": [{
2400
- "skew-y": he()
2400
+ "skew-y": ve()
2401
2401
  }],
2402
2402
  /**
2403
2403
  * Transform
@@ -2411,7 +2411,7 @@ const $ = (e) => {
2411
2411
  * @see https://tailwindcss.com/docs/transform-origin
2412
2412
  */
2413
2413
  "transform-origin": [{
2414
- origin: S()
2414
+ origin: P()
2415
2415
  }],
2416
2416
  /**
2417
2417
  * Transform Style
@@ -2425,28 +2425,28 @@ const $ = (e) => {
2425
2425
  * @see https://tailwindcss.com/docs/translate
2426
2426
  */
2427
2427
  translate: [{
2428
- translate: de()
2428
+ translate: pe()
2429
2429
  }],
2430
2430
  /**
2431
2431
  * Translate X
2432
2432
  * @see https://tailwindcss.com/docs/translate
2433
2433
  */
2434
2434
  "translate-x": [{
2435
- "translate-x": de()
2435
+ "translate-x": pe()
2436
2436
  }],
2437
2437
  /**
2438
2438
  * Translate Y
2439
2439
  * @see https://tailwindcss.com/docs/translate
2440
2440
  */
2441
2441
  "translate-y": [{
2442
- "translate-y": de()
2442
+ "translate-y": pe()
2443
2443
  }],
2444
2444
  /**
2445
2445
  * Translate Z
2446
2446
  * @see https://tailwindcss.com/docs/translate
2447
2447
  */
2448
2448
  "translate-z": [{
2449
- "translate-z": de()
2449
+ "translate-z": pe()
2450
2450
  }],
2451
2451
  /**
2452
2452
  * Translate None
@@ -2728,7 +2728,7 @@ const $ = (e) => {
2728
2728
  * @see https://tailwindcss.com/docs/stroke-width
2729
2729
  */
2730
2730
  "stroke-w": [{
2731
- stroke: [N, ae, K, ve]
2731
+ stroke: [M, ce, Q, Ce]
2732
2732
  }],
2733
2733
  /**
2734
2734
  * Stroke
@@ -2803,40 +2803,40 @@ const $ = (e) => {
2803
2803
  },
2804
2804
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2805
2805
  };
2806
- }, ut = /* @__PURE__ */ Hr(dt);
2806
+ }, ur = /* @__PURE__ */ Ot(dr);
2807
2807
  function h(...e) {
2808
- return ut(Ze(e));
2808
+ return ur(Ze(e));
2809
2809
  }
2810
- const Be = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ze, X = (e, r) => (t) => {
2810
+ const Be = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, He = Ze, Z = (e, t) => (r) => {
2811
2811
  var o;
2812
- if (r?.variants == null) return Oe(e, t?.class, t?.className);
2813
- const { variants: n, defaultVariants: s } = r, l = Object.keys(n).map((d) => {
2814
- const m = t?.[d], u = s?.[d];
2812
+ if (t?.variants == null) return He(e, r?.class, r?.className);
2813
+ const { variants: n, defaultVariants: s } = t, l = Object.keys(n).map((d) => {
2814
+ const m = r?.[d], u = s?.[d];
2815
2815
  if (m === null) return null;
2816
2816
  const b = Be(m) || Be(u);
2817
2817
  return n[d][b];
2818
- }), i = t && Object.entries(t).reduce((d, m) => {
2818
+ }), i = r && Object.entries(r).reduce((d, m) => {
2819
2819
  let [u, b] = m;
2820
2820
  return b === void 0 || (d[u] = b), d;
2821
- }, {}), c = r == null || (o = r.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((d, m) => {
2822
- let { class: u, className: b, ...M } = m;
2823
- return Object.entries(M).every((v) => {
2824
- let [k, E] = v;
2821
+ }, {}), c = t == null || (o = t.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((d, m) => {
2822
+ let { class: u, className: b, ...S } = m;
2823
+ return Object.entries(S).every((v) => {
2824
+ let [N, E] = v;
2825
2825
  return Array.isArray(E) ? E.includes({
2826
2826
  ...s,
2827
2827
  ...i
2828
- }[k]) : {
2828
+ }[N]) : {
2829
2829
  ...s,
2830
2830
  ...i
2831
- }[k] === E;
2831
+ }[N] === E;
2832
2832
  }) ? [
2833
2833
  ...d,
2834
2834
  u,
2835
2835
  b
2836
2836
  ] : d;
2837
2837
  }, []);
2838
- return Oe(e, l, c, t?.class, t?.className);
2839
- }, mt = X(
2838
+ return He(e, l, c, r?.class, r?.className);
2839
+ }, mr = Z(
2840
2840
  "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
2841
2841
  {
2842
2842
  variants: {
@@ -2860,11 +2860,11 @@ const Be = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ze, X
2860
2860
  size: "default"
2861
2861
  }
2862
2862
  }
2863
- ), Q = w.forwardRef(
2864
- ({ className: e, variant: r, size: t, asChild: o = !1, disabled: n, ...s }, l) => /* @__PURE__ */ a(
2865
- o ? Sr : "button",
2863
+ ), J = w.forwardRef(
2864
+ ({ className: e, variant: t, size: r, asChild: o = !1, disabled: n, ...s }, l) => /* @__PURE__ */ a(
2865
+ o ? St : "button",
2866
2866
  {
2867
- className: h(mt({ variant: r, size: t, className: e })),
2867
+ className: h(mr({ variant: t, size: r, className: e })),
2868
2868
  ref: l,
2869
2869
  type: s.type || "button",
2870
2870
  disabled: n,
@@ -2873,8 +2873,8 @@ const Be = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ze, X
2873
2873
  }
2874
2874
  )
2875
2875
  );
2876
- Q.displayName = "Button";
2877
- const ft = (e) => {
2876
+ J.displayName = "Button";
2877
+ const fr = (e) => {
2878
2878
  switch (e) {
2879
2879
  case "h1":
2880
2880
  return "text-4xl font-bold leading-tight tracking-tight";
@@ -2901,7 +2901,7 @@ const ft = (e) => {
2901
2901
  default:
2902
2902
  return "text-base font-normal leading-normal";
2903
2903
  }
2904
- }, pt = (e) => {
2904
+ }, pr = (e) => {
2905
2905
  switch (e) {
2906
2906
  case "primary":
2907
2907
  return "text-foreground";
@@ -2918,7 +2918,7 @@ const ft = (e) => {
2918
2918
  default:
2919
2919
  return "text-foreground";
2920
2920
  }
2921
- }, gt = (e) => {
2921
+ }, gr = (e) => {
2922
2922
  switch (e) {
2923
2923
  case "light":
2924
2924
  return "font-light";
@@ -2933,7 +2933,7 @@ const ft = (e) => {
2933
2933
  default:
2934
2934
  return "";
2935
2935
  }
2936
- }, ht = (e) => {
2936
+ }, hr = (e) => {
2937
2937
  switch (e) {
2938
2938
  case "left":
2939
2939
  return "text-left";
@@ -2946,10 +2946,10 @@ const ft = (e) => {
2946
2946
  default:
2947
2947
  return "text-left";
2948
2948
  }
2949
- }, R = ({
2949
+ }, A = ({
2950
2950
  variant: e = "body",
2951
- color: r = "primary",
2952
- weight: t,
2951
+ color: t = "primary",
2952
+ weight: r,
2953
2953
  align: o = "left",
2954
2954
  truncate: n = !1,
2955
2955
  children: s,
@@ -2957,18 +2957,18 @@ const ft = (e) => {
2957
2957
  as: i,
2958
2958
  ...c
2959
2959
  }) => {
2960
- const d = i || bt(e), m = h(
2960
+ const d = i || br(e), m = h(
2961
2961
  "m-0",
2962
- ft(e),
2963
- pt(r),
2964
- gt(t),
2965
- ht(o),
2962
+ fr(e),
2963
+ pr(t),
2964
+ gr(r),
2965
+ hr(o),
2966
2966
  n && "truncate",
2967
2967
  l
2968
2968
  );
2969
2969
  return /* @__PURE__ */ a(d, { className: m, ...c, children: s });
2970
2970
  };
2971
- function bt(e) {
2971
+ function br(e) {
2972
2972
  switch (e) {
2973
2973
  case "h1":
2974
2974
  return "h1";
@@ -2986,7 +2986,7 @@ function bt(e) {
2986
2986
  return "p";
2987
2987
  }
2988
2988
  }
2989
- const xt = (e) => {
2989
+ const xr = (e) => {
2990
2990
  switch (e) {
2991
2991
  case "sm":
2992
2992
  return "p-4";
@@ -2997,7 +2997,7 @@ const xt = (e) => {
2997
2997
  default:
2998
2998
  return "p-0";
2999
2999
  }
3000
- }, yt = (e) => {
3000
+ }, yr = (e) => {
3001
3001
  switch (e) {
3002
3002
  case "sm":
3003
3003
  return "shadow-sm";
@@ -3008,7 +3008,7 @@ const xt = (e) => {
3008
3008
  default:
3009
3009
  return "shadow-none";
3010
3010
  }
3011
- }, vt = (e) => {
3011
+ }, vr = (e) => {
3012
3012
  switch (e) {
3013
3013
  case "sm":
3014
3014
  return "rounded-sm";
@@ -3019,10 +3019,10 @@ const xt = (e) => {
3019
3019
  default:
3020
3020
  return "rounded-none";
3021
3021
  }
3022
- }, sr = ({
3022
+ }, st = ({
3023
3023
  children: e,
3024
- title: r,
3025
- subtitle: t,
3024
+ title: t,
3025
+ subtitle: r,
3026
3026
  className: o,
3027
3027
  padding: n = "md",
3028
3028
  shadow: s = "md",
@@ -3031,25 +3031,25 @@ const xt = (e) => {
3031
3031
  }) => {
3032
3032
  const c = !!i, d = h(
3033
3033
  "bg-card",
3034
- xt(n),
3035
- yt(s),
3036
- vt(l),
3034
+ xr(n),
3035
+ yr(s),
3036
+ vr(l),
3037
3037
  "transition-all duration-200 ease-in-out",
3038
3038
  c && "cursor-pointer hover:-translate-y-0.5 hover:shadow-lg active:translate-y-0",
3039
3039
  o
3040
3040
  );
3041
3041
  return /* @__PURE__ */ f("div", { className: d, onClick: i, children: [
3042
- (r || t) && /* @__PURE__ */ f("div", { className: "mb-4", children: [
3043
- r && /* @__PURE__ */ a("div", { className: "mb-2", children: /* @__PURE__ */ a(R, { variant: "h3", children: r }) }),
3044
- t && /* @__PURE__ */ a("div", { className: "text-muted-foreground", children: /* @__PURE__ */ a(R, { variant: "body-sm", color: "muted", children: t }) })
3042
+ (t || r) && /* @__PURE__ */ f("div", { className: "mb-4", children: [
3043
+ t && /* @__PURE__ */ a("div", { className: "mb-2", children: /* @__PURE__ */ a(A, { variant: "h3", children: t }) }),
3044
+ r && /* @__PURE__ */ a("div", { className: "text-muted-foreground", children: /* @__PURE__ */ a(A, { variant: "body-sm", color: "muted", children: r }) })
3045
3045
  ] }),
3046
3046
  /* @__PURE__ */ a("div", { className: "flex-1", children: e })
3047
3047
  ] });
3048
- }, wt = ({
3048
+ }, wr = ({
3049
3049
  children: e
3050
- }) => /* @__PURE__ */ a("div", { className: "mt-4 pt-4 border-t border-border", children: e }), Eo = Object.assign(sr, {
3051
- Footer: wt
3052
- }), kt = (e) => {
3050
+ }) => /* @__PURE__ */ a("div", { className: "mt-4 pt-4 border-t border-border", children: e }), Ro = Object.assign(st, {
3051
+ Footer: wr
3052
+ }), kr = (e) => {
3053
3053
  switch (e) {
3054
3054
  case "sm":
3055
3055
  return "max-w-md";
@@ -3062,43 +3062,43 @@ const xt = (e) => {
3062
3062
  default:
3063
3063
  return "max-w-2xl";
3064
3064
  }
3065
- }, Nt = ({
3065
+ }, Nr = ({
3066
3066
  isOpen: e,
3067
- onClose: r,
3068
- title: t,
3067
+ onClose: t,
3068
+ title: r,
3069
3069
  children: o,
3070
3070
  size: n = "md",
3071
3071
  showCloseButton: s = !0,
3072
3072
  closeOnOverlayClick: l = !0,
3073
3073
  closeOnEscape: i = !0
3074
3074
  }) => {
3075
- const c = Pe.useRef(null);
3076
- if (be(() => {
3075
+ const c = Ae.useRef(null);
3076
+ if (we(() => {
3077
3077
  if (!e || !i) return;
3078
- const v = (k) => {
3079
- k.key === "Escape" && r();
3078
+ const v = (N) => {
3079
+ N.key === "Escape" && t();
3080
3080
  };
3081
3081
  return document.addEventListener("keydown", v), () => document.removeEventListener("keydown", v);
3082
- }, [e, i, r]), be(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
3082
+ }, [e, i, t]), we(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
3083
3083
  document.body.style.overflow = "unset";
3084
- }), [e]), be(() => {
3084
+ }), [e]), we(() => {
3085
3085
  e && c.current && c.current.focus();
3086
3086
  }, [e]), !e) return null;
3087
3087
  const d = h(
3088
3088
  "fixed inset-0 bg-black/50 flex items-center justify-center z-50 p-4"
3089
3089
  ), m = h(
3090
3090
  "bg-card rounded-lg shadow-xl w-full max-h-[90vh] overflow-hidden flex flex-col",
3091
- kt(n)
3091
+ kr(n)
3092
3092
  ), u = h(
3093
3093
  "p-6 border-b border-border flex items-center justify-between"
3094
- ), b = h("p-6 overflow-y-auto flex-1"), M = h(
3094
+ ), b = h("p-6 overflow-y-auto flex-1"), S = h(
3095
3095
  "bg-none border-none text-xl cursor-pointer text-muted-foreground p-1 rounded-sm flex items-center justify-center hover:bg-accent hover:text-accent-foreground focus:outline-2 focus:outline-primary focus:outline-offset-2"
3096
3096
  );
3097
3097
  return /* @__PURE__ */ a(
3098
3098
  "div",
3099
3099
  {
3100
3100
  className: d,
3101
- onClick: l ? r : void 0,
3101
+ onClick: l ? t : void 0,
3102
3102
  children: /* @__PURE__ */ f(
3103
3103
  "div",
3104
3104
  {
@@ -3108,16 +3108,16 @@ const xt = (e) => {
3108
3108
  tabIndex: -1,
3109
3109
  role: "dialog",
3110
3110
  "aria-modal": "true",
3111
- "aria-labelledby": t ? "modal-title" : void 0,
3111
+ "aria-labelledby": r ? "modal-title" : void 0,
3112
3112
  children: [
3113
- (t || s) && /* @__PURE__ */ f("div", { className: u, children: [
3114
- t && /* @__PURE__ */ a(R, { variant: "h3", className: "text-foreground", children: t }),
3113
+ (r || s) && /* @__PURE__ */ f("div", { className: u, children: [
3114
+ r && /* @__PURE__ */ a(A, { variant: "h3", className: "text-foreground", children: r }),
3115
3115
  s && /* @__PURE__ */ a(
3116
3116
  "button",
3117
3117
  {
3118
- onClick: r,
3118
+ onClick: t,
3119
3119
  "aria-label": "Close modal",
3120
- className: M,
3120
+ className: S,
3121
3121
  children: "×"
3122
3122
  }
3123
3123
  )
@@ -3128,34 +3128,34 @@ const xt = (e) => {
3128
3128
  )
3129
3129
  }
3130
3130
  );
3131
- }, Ct = ({
3131
+ }, Cr = ({
3132
3132
  children: e,
3133
- actions: r,
3134
- ...t
3135
- }) => /* @__PURE__ */ f(Nt, { ...t, children: [
3133
+ actions: t,
3134
+ ...r
3135
+ }) => /* @__PURE__ */ f(Nr, { ...r, children: [
3136
3136
  /* @__PURE__ */ a("div", { className: "p-6 overflow-y-auto flex-1", children: e }),
3137
- r && /* @__PURE__ */ a("div", { className: "p-6 border-t border-border flex justify-end gap-3", children: r })
3138
- ] }), Io = ({
3137
+ t && /* @__PURE__ */ a("div", { className: "p-6 border-t border-border flex justify-end gap-3", children: t })
3138
+ ] }), Lo = ({
3139
3139
  isOpen: e,
3140
- onClose: r,
3141
- onConfirm: t,
3140
+ onClose: t,
3141
+ onConfirm: r,
3142
3142
  title: o,
3143
3143
  message: n,
3144
3144
  confirmText: s = "Confirm",
3145
3145
  cancelText: l = "Cancel"
3146
3146
  }) => /* @__PURE__ */ a(
3147
- Ct,
3147
+ Cr,
3148
3148
  {
3149
3149
  isOpen: e,
3150
- onClose: r,
3150
+ onClose: t,
3151
3151
  title: o,
3152
- actions: /* @__PURE__ */ f(pe, { children: [
3153
- /* @__PURE__ */ a(Q, { variant: "secondary", onClick: r, children: l }),
3154
- /* @__PURE__ */ a(Q, { variant: "default", onClick: t, children: s })
3152
+ actions: /* @__PURE__ */ f(xe, { children: [
3153
+ /* @__PURE__ */ a(J, { variant: "secondary", onClick: t, children: l }),
3154
+ /* @__PURE__ */ a(J, { variant: "default", onClick: r, children: s })
3155
3155
  ] }),
3156
- children: /* @__PURE__ */ a(R, { children: n })
3156
+ children: /* @__PURE__ */ a(A, { children: n })
3157
3157
  }
3158
- ), Mt = X(
3158
+ ), Mr = Z(
3159
3159
  [
3160
3160
  // Base styles
3161
3161
  "flex w-full rounded-md border bg-background px-3 py-2",
@@ -3183,7 +3183,7 @@ const xt = (e) => {
3183
3183
  inputSize: "default"
3184
3184
  }
3185
3185
  }
3186
- ), St = X(
3186
+ ), Sr = Z(
3187
3187
  ["block text-sm font-medium mb-1.5", "transition-colors"],
3188
3188
  {
3189
3189
  variants: {
@@ -3202,7 +3202,7 @@ const xt = (e) => {
3202
3202
  required: !1
3203
3203
  }
3204
3204
  }
3205
- ), Pt = X("mt-1.5 text-sm", {
3205
+ ), Pr = Z("mt-1.5 text-sm", {
3206
3206
  variants: {
3207
3207
  variant: {
3208
3208
  default: "text-muted-foreground",
@@ -3213,11 +3213,11 @@ const xt = (e) => {
3213
3213
  defaultVariants: {
3214
3214
  variant: "default"
3215
3215
  }
3216
- }), re = w.forwardRef(
3216
+ }), oe = w.forwardRef(
3217
3217
  ({
3218
3218
  className: e,
3219
- containerClassName: r,
3220
- labelClassName: t,
3219
+ containerClassName: t,
3220
+ labelClassName: r,
3221
3221
  variant: o,
3222
3222
  inputSize: n,
3223
3223
  label: s,
@@ -3228,16 +3228,16 @@ const xt = (e) => {
3228
3228
  suffix: m,
3229
3229
  id: u,
3230
3230
  ...b
3231
- }, M) => {
3232
- const v = w.useId(), k = u || v, E = `${k}-helper`, I = `${k}-error`, A = i ? "error" : o, L = i || l;
3233
- return /* @__PURE__ */ f("div", { className: h("w-full", r), children: [
3231
+ }, S) => {
3232
+ const v = w.useId(), N = u || v, E = `${N}-helper`, z = `${N}-error`, R = i ? "error" : o, k = i || l;
3233
+ return /* @__PURE__ */ f("div", { className: h("w-full", t), children: [
3234
3234
  s && /* @__PURE__ */ a(
3235
3235
  "label",
3236
3236
  {
3237
- htmlFor: k,
3237
+ htmlFor: N,
3238
3238
  className: h(
3239
- St({ variant: A, required: c }),
3240
- t
3239
+ Sr({ variant: R, required: c }),
3240
+ r
3241
3241
  ),
3242
3242
  children: s
3243
3243
  }
@@ -3247,49 +3247,49 @@ const xt = (e) => {
3247
3247
  /* @__PURE__ */ a(
3248
3248
  "input",
3249
3249
  {
3250
- id: k,
3251
- ref: M,
3250
+ id: N,
3251
+ ref: S,
3252
3252
  className: h(
3253
- Mt({ variant: A, inputSize: n }),
3253
+ Mr({ variant: R, inputSize: n }),
3254
3254
  d && "pl-10",
3255
3255
  m && "pr-10",
3256
3256
  e
3257
3257
  ),
3258
3258
  "aria-invalid": i ? "true" : "false",
3259
- "aria-describedby": L ? i ? I : E : void 0,
3259
+ "aria-describedby": k ? i ? z : E : void 0,
3260
3260
  ...b
3261
3261
  }
3262
3262
  ),
3263
3263
  m && /* @__PURE__ */ a("div", { className: "absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: m })
3264
3264
  ] }),
3265
- L && /* @__PURE__ */ a(
3265
+ k && /* @__PURE__ */ a(
3266
3266
  "p",
3267
3267
  {
3268
- id: i ? I : E,
3269
- className: Pt({ variant: A }),
3268
+ id: i ? z : E,
3269
+ className: Pr({ variant: R }),
3270
3270
  role: i ? "alert" : void 0,
3271
- children: L
3271
+ children: k
3272
3272
  }
3273
3273
  )
3274
3274
  ] });
3275
3275
  }
3276
3276
  );
3277
- re.displayName = "Input";
3277
+ oe.displayName = "Input";
3278
3278
  /**
3279
3279
  * @license lucide-react v0.547.0 - ISC
3280
3280
  *
3281
3281
  * This source code is licensed under the ISC license.
3282
3282
  * See the LICENSE file in the root directory of this source tree.
3283
3283
  */
3284
- const Et = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), It = (e) => e.replace(
3284
+ const Ir = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Er = (e) => e.replace(
3285
3285
  /^([A-Z])|[\s-_]+(\w)/g,
3286
- (r, t, o) => o ? o.toUpperCase() : t.toLowerCase()
3287
- ), He = (e) => {
3288
- const r = It(e);
3289
- return r.charAt(0).toUpperCase() + r.slice(1);
3290
- }, ir = (...e) => e.filter((r, t, o) => !!r && r.trim() !== "" && o.indexOf(r) === t).join(" ").trim(), Rt = (e) => {
3291
- for (const r in e)
3292
- if (r.startsWith("aria-") || r === "role" || r === "title")
3286
+ (t, r, o) => o ? o.toUpperCase() : r.toLowerCase()
3287
+ ), Oe = (e) => {
3288
+ const t = Er(e);
3289
+ return t.charAt(0).toUpperCase() + t.slice(1);
3290
+ }, it = (...e) => e.filter((t, r, o) => !!t && t.trim() !== "" && o.indexOf(t) === r).join(" ").trim(), zr = (e) => {
3291
+ for (const t in e)
3292
+ if (t.startsWith("aria-") || t === "role" || t === "title")
3293
3293
  return !0;
3294
3294
  };
3295
3295
  /**
@@ -3298,7 +3298,7 @@ const Et = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), It = (
3298
3298
  * This source code is licensed under the ISC license.
3299
3299
  * See the LICENSE file in the root directory of this source tree.
3300
3300
  */
3301
- var At = {
3301
+ var Ar = {
3302
3302
  xmlns: "http://www.w3.org/2000/svg",
3303
3303
  width: 24,
3304
3304
  height: 24,
@@ -3315,31 +3315,31 @@ var At = {
3315
3315
  * This source code is licensed under the ISC license.
3316
3316
  * See the LICENSE file in the root directory of this source tree.
3317
3317
  */
3318
- const zt = qe(
3318
+ const Rr = qe(
3319
3319
  ({
3320
3320
  color: e = "currentColor",
3321
- size: r = 24,
3322
- strokeWidth: t = 2,
3321
+ size: t = 24,
3322
+ strokeWidth: r = 2,
3323
3323
  absoluteStrokeWidth: o,
3324
3324
  className: n = "",
3325
3325
  children: s,
3326
3326
  iconNode: l,
3327
3327
  ...i
3328
- }, c) => Ne(
3328
+ }, c) => Pe(
3329
3329
  "svg",
3330
3330
  {
3331
3331
  ref: c,
3332
- ...At,
3333
- width: r,
3334
- height: r,
3332
+ ...Ar,
3333
+ width: t,
3334
+ height: t,
3335
3335
  stroke: e,
3336
- strokeWidth: o ? Number(t) * 24 / Number(r) : t,
3337
- className: ir("lucide", n),
3338
- ...!s && !Rt(i) && { "aria-hidden": "true" },
3336
+ strokeWidth: o ? Number(r) * 24 / Number(t) : r,
3337
+ className: it("lucide", n),
3338
+ ...!s && !zr(i) && { "aria-hidden": "true" },
3339
3339
  ...i
3340
3340
  },
3341
3341
  [
3342
- ...l.map(([d, m]) => Ne(d, m)),
3342
+ ...l.map(([d, m]) => Pe(d, m)),
3343
3343
  ...Array.isArray(s) ? s : [s]
3344
3344
  ]
3345
3345
  )
@@ -3350,20 +3350,20 @@ const zt = qe(
3350
3350
  * This source code is licensed under the ISC license.
3351
3351
  * See the LICENSE file in the root directory of this source tree.
3352
3352
  */
3353
- const W = (e, r) => {
3354
- const t = qe(
3355
- ({ className: o, ...n }, s) => Ne(zt, {
3353
+ const W = (e, t) => {
3354
+ const r = qe(
3355
+ ({ className: o, ...n }, s) => Pe(Rr, {
3356
3356
  ref: s,
3357
- iconNode: r,
3358
- className: ir(
3359
- `lucide-${Et(He(e))}`,
3357
+ iconNode: t,
3358
+ className: it(
3359
+ `lucide-${Ir(Oe(e))}`,
3360
3360
  `lucide-${e}`,
3361
3361
  o
3362
3362
  ),
3363
3363
  ...n
3364
3364
  })
3365
3365
  );
3366
- return t.displayName = He(e), t;
3366
+ return r.displayName = Oe(e), r;
3367
3367
  };
3368
3368
  /**
3369
3369
  * @license lucide-react v0.547.0 - ISC
@@ -3371,7 +3371,7 @@ const W = (e, r) => {
3371
3371
  * This source code is licensed under the ISC license.
3372
3372
  * See the LICENSE file in the root directory of this source tree.
3373
3373
  */
3374
- const Lt = [
3374
+ const Lr = [
3375
3375
  ["path", { d: "M10 4 8 6", key: "1rru8s" }],
3376
3376
  ["path", { d: "M17 19v2", key: "ts1sot" }],
3377
3377
  ["path", { d: "M2 12h20", key: "9i4pu4" }],
@@ -3383,26 +3383,26 @@ const Lt = [
3383
3383
  key: "14ym8i"
3384
3384
  }
3385
3385
  ]
3386
- ], Tt = W("bath", Lt);
3386
+ ], Tr = W("bath", Lr);
3387
3387
  /**
3388
3388
  * @license lucide-react v0.547.0 - ISC
3389
3389
  *
3390
3390
  * This source code is licensed under the ISC license.
3391
3391
  * See the LICENSE file in the root directory of this source tree.
3392
3392
  */
3393
- const $t = [
3393
+ const jr = [
3394
3394
  ["path", { d: "M2 4v16", key: "vw9hq8" }],
3395
3395
  ["path", { d: "M2 8h18a2 2 0 0 1 2 2v10", key: "1dgv2r" }],
3396
3396
  ["path", { d: "M2 17h20", key: "18nfp3" }],
3397
3397
  ["path", { d: "M6 8v9", key: "1yriud" }]
3398
- ], jt = W("bed", $t);
3398
+ ], $r = W("bed", jr);
3399
3399
  /**
3400
3400
  * @license lucide-react v0.547.0 - ISC
3401
3401
  *
3402
3402
  * This source code is licensed under the ISC license.
3403
3403
  * See the LICENSE file in the root directory of this source tree.
3404
3404
  */
3405
- const Vt = [
3405
+ const Vr = [
3406
3406
  [
3407
3407
  "path",
3408
3408
  {
@@ -3413,48 +3413,48 @@ const Vt = [
3413
3413
  ["circle", { cx: "7", cy: "17", r: "2", key: "u2ysq9" }],
3414
3414
  ["path", { d: "M9 17h6", key: "r8uit2" }],
3415
3415
  ["circle", { cx: "17", cy: "17", r: "2", key: "axvx0g" }]
3416
- ], Ft = W("car", Vt);
3416
+ ], Fr = W("car", Vr);
3417
3417
  /**
3418
3418
  * @license lucide-react v0.547.0 - ISC
3419
3419
  *
3420
3420
  * This source code is licensed under the ISC license.
3421
3421
  * See the LICENSE file in the root directory of this source tree.
3422
3422
  */
3423
- const _t = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Dt = W("chevron-down", _t);
3423
+ const _r = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Dr = W("chevron-down", _r);
3424
3424
  /**
3425
3425
  * @license lucide-react v0.547.0 - ISC
3426
3426
  *
3427
3427
  * This source code is licensed under the ISC license.
3428
3428
  * See the LICENSE file in the root directory of this source tree.
3429
3429
  */
3430
- const Gt = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], Wt = W("chevron-left", Gt);
3430
+ const Gr = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], Wr = W("chevron-left", Gr);
3431
3431
  /**
3432
3432
  * @license lucide-react v0.547.0 - ISC
3433
3433
  *
3434
3434
  * This source code is licensed under the ISC license.
3435
3435
  * See the LICENSE file in the root directory of this source tree.
3436
3436
  */
3437
- const Bt = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], Ot = W("chevron-right", Bt);
3437
+ const Br = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], Hr = W("chevron-right", Br);
3438
3438
  /**
3439
3439
  * @license lucide-react v0.547.0 - ISC
3440
3440
  *
3441
3441
  * This source code is licensed under the ISC license.
3442
3442
  * See the LICENSE file in the root directory of this source tree.
3443
3443
  */
3444
- const Ht = [
3444
+ const Or = [
3445
3445
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
3446
3446
  ["path", { d: "M3 9h18", key: "1pudct" }],
3447
3447
  ["path", { d: "M3 15h18", key: "5xshup" }],
3448
3448
  ["path", { d: "M9 3v18", key: "fh3hqa" }],
3449
3449
  ["path", { d: "M15 3v18", key: "14nvp0" }]
3450
- ], Ut = W("grid-3x3", Ht);
3450
+ ], Ur = W("grid-3x3", Or);
3451
3451
  /**
3452
3452
  * @license lucide-react v0.547.0 - ISC
3453
3453
  *
3454
3454
  * This source code is licensed under the ISC license.
3455
3455
  * See the LICENSE file in the root directory of this source tree.
3456
3456
  */
3457
- const qt = [
3457
+ const qr = [
3458
3458
  [
3459
3459
  "path",
3460
3460
  {
@@ -3462,29 +3462,61 @@ const qt = [
3462
3462
  key: "mvr1a0"
3463
3463
  }
3464
3464
  ]
3465
- ], Xt = W("heart", qt);
3465
+ ], Xr = W("heart", qr);
3466
+ /**
3467
+ * @license lucide-react v0.547.0 - ISC
3468
+ *
3469
+ * This source code is licensed under the ISC license.
3470
+ * See the LICENSE file in the root directory of this source tree.
3471
+ */
3472
+ const Zr = [
3473
+ ["path", { d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8", key: "5wwlr5" }],
3474
+ [
3475
+ "path",
3476
+ {
3477
+ d: "M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",
3478
+ key: "r6nss1"
3479
+ }
3480
+ ]
3481
+ ], Kr = W("house", Zr);
3482
+ /**
3483
+ * @license lucide-react v0.547.0 - ISC
3484
+ *
3485
+ * This source code is licensed under the ISC license.
3486
+ * See the LICENSE file in the root directory of this source tree.
3487
+ */
3488
+ const Qr = [
3489
+ [
3490
+ "path",
3491
+ {
3492
+ d: "M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",
3493
+ key: "1r0f0z"
3494
+ }
3495
+ ],
3496
+ ["circle", { cx: "12", cy: "10", r: "3", key: "ilqhr7" }]
3497
+ ], Jr = W("map-pin", Qr);
3466
3498
  /**
3467
3499
  * @license lucide-react v0.547.0 - ISC
3468
3500
  *
3469
3501
  * This source code is licensed under the ISC license.
3470
3502
  * See the LICENSE file in the root directory of this source tree.
3471
3503
  */
3472
- const Zt = [
3504
+ const Yr = [
3473
3505
  ["path", { d: "M8 3H5a2 2 0 0 0-2 2v3", key: "1dcmit" }],
3474
3506
  ["path", { d: "M21 8V5a2 2 0 0 0-2-2h-3", key: "1e4gt3" }],
3475
3507
  ["path", { d: "M3 16v3a2 2 0 0 0 2 2h3", key: "wsl5sc" }],
3476
3508
  ["path", { d: "M16 21h3a2 2 0 0 0 2-2v-3", key: "18trek" }]
3477
- ], Kt = W("maximize", Zt);
3509
+ ], eo = W("maximize", Yr);
3478
3510
  /**
3479
3511
  * @license lucide-react v0.547.0 - ISC
3480
3512
  *
3481
3513
  * This source code is licensed under the ISC license.
3482
3514
  * See the LICENSE file in the root directory of this source tree.
3483
3515
  */
3484
- const Qt = [
3516
+ const to = [
3485
3517
  ["path", { d: "M16 7h6v6", key: "box55l" }],
3486
3518
  ["path", { d: "m22 7-8.5 8.5-5-5L2 17", key: "1t1m79" }]
3487
- ], Jt = W("trending-up", Qt), Yt = X(
3519
+ ], ro = W("trending-up", to), oo = Z(
3488
3520
  [
3489
3521
  // Base styles
3490
3522
  "flex w-full rounded-md border bg-background px-3 py-2",
@@ -3511,7 +3543,7 @@ const Qt = [
3511
3543
  selectSize: "default"
3512
3544
  }
3513
3545
  }
3514
- ), eo = X(
3546
+ ), ao = Z(
3515
3547
  ["block text-sm font-medium mb-1.5", "transition-colors"],
3516
3548
  {
3517
3549
  variants: {
@@ -3530,7 +3562,7 @@ const Qt = [
3530
3562
  required: !1
3531
3563
  }
3532
3564
  }
3533
- ), ro = X("mt-1.5 text-sm", {
3565
+ ), no = Z("mt-1.5 text-sm", {
3534
3566
  variants: {
3535
3567
  variant: {
3536
3568
  default: "text-muted-foreground",
@@ -3541,11 +3573,11 @@ const Qt = [
3541
3573
  defaultVariants: {
3542
3574
  variant: "default"
3543
3575
  }
3544
- }), lr = w.forwardRef(
3576
+ }), lt = w.forwardRef(
3545
3577
  ({
3546
3578
  className: e,
3547
- containerClassName: r,
3548
- labelClassName: t,
3579
+ containerClassName: t,
3580
+ labelClassName: r,
3549
3581
  variant: o,
3550
3582
  selectSize: n,
3551
3583
  label: s,
@@ -3556,16 +3588,16 @@ const Qt = [
3556
3588
  placeholder: m,
3557
3589
  id: u,
3558
3590
  ...b
3559
- }, M) => {
3560
- const v = w.useId(), k = u || v, E = `${k}-helper`, I = `${k}-error`, A = i ? "error" : o, L = i || l;
3561
- return /* @__PURE__ */ f("div", { className: h("w-full", r), children: [
3591
+ }, S) => {
3592
+ const v = w.useId(), N = u || v, E = `${N}-helper`, z = `${N}-error`, R = i ? "error" : o, k = i || l;
3593
+ return /* @__PURE__ */ f("div", { className: h("w-full", t), children: [
3562
3594
  s && /* @__PURE__ */ a(
3563
3595
  "label",
3564
3596
  {
3565
- htmlFor: k,
3597
+ htmlFor: N,
3566
3598
  className: h(
3567
- eo({ variant: A, required: c }),
3568
- t
3599
+ ao({ variant: R, required: c }),
3600
+ r
3569
3601
  ),
3570
3602
  children: s
3571
3603
  }
@@ -3574,73 +3606,73 @@ const Qt = [
3574
3606
  /* @__PURE__ */ f(
3575
3607
  "select",
3576
3608
  {
3577
- id: k,
3578
- ref: M,
3609
+ id: N,
3610
+ ref: S,
3579
3611
  className: h(
3580
- Yt({ variant: A, selectSize: n }),
3612
+ oo({ variant: R, selectSize: n }),
3581
3613
  "pr-10",
3582
3614
  // Space for chevron icon
3583
3615
  e
3584
3616
  ),
3585
3617
  "aria-invalid": i ? "true" : "false",
3586
- "aria-describedby": L ? i ? I : E : void 0,
3618
+ "aria-describedby": k ? i ? z : E : void 0,
3587
3619
  ...b,
3588
3620
  children: [
3589
3621
  m && /* @__PURE__ */ a("option", { value: "", disabled: !0, children: m }),
3590
- d.map((P) => /* @__PURE__ */ a(
3622
+ d.map((I) => /* @__PURE__ */ a(
3591
3623
  "option",
3592
3624
  {
3593
- value: P.value,
3594
- disabled: P.disabled,
3595
- children: P.label
3625
+ value: I.value,
3626
+ disabled: I.disabled,
3627
+ children: I.label
3596
3628
  },
3597
- P.value
3629
+ I.value
3598
3630
  ))
3599
3631
  ]
3600
3632
  }
3601
3633
  ),
3602
- /* @__PURE__ */ a("div", { className: "pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: /* @__PURE__ */ a(Dt, { className: "h-4 w-4" }) })
3634
+ /* @__PURE__ */ a("div", { className: "pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: /* @__PURE__ */ a(Dr, { className: "h-4 w-4" }) })
3603
3635
  ] }),
3604
- L && /* @__PURE__ */ a(
3636
+ k && /* @__PURE__ */ a(
3605
3637
  "p",
3606
3638
  {
3607
- id: i ? I : E,
3608
- className: ro({ variant: A }),
3639
+ id: i ? z : E,
3640
+ className: no({ variant: R }),
3609
3641
  role: i ? "alert" : void 0,
3610
- children: L
3642
+ children: k
3611
3643
  }
3612
3644
  )
3613
3645
  ] });
3614
3646
  }
3615
3647
  );
3616
- lr.displayName = "Select";
3617
- function to(e, r, t, o, n, s) {
3618
- const l = (e - 90) * Math.PI / 180, i = (r - 90) * Math.PI / 180, c = n + t * Math.cos(l), d = s + t * Math.sin(l), m = n + t * Math.cos(i), u = s + t * Math.sin(i), b = n + o * Math.cos(i), M = s + o * Math.sin(i), v = n + o * Math.cos(l), k = s + o * Math.sin(l), E = r - e > 180 ? 1 : 0;
3648
+ lt.displayName = "Select";
3649
+ function so(e, t, r, o, n, s) {
3650
+ const l = (e - 90) * Math.PI / 180, i = (t - 90) * Math.PI / 180, c = n + r * Math.cos(l), d = s + r * Math.sin(l), m = n + r * Math.cos(i), u = s + r * Math.sin(i), b = n + o * Math.cos(i), S = s + o * Math.sin(i), v = n + o * Math.cos(l), N = s + o * Math.sin(l), E = t - e > 180 ? 1 : 0;
3619
3651
  return [
3620
3652
  `M ${c} ${d}`,
3621
3653
  // Move to start point on outer arc
3622
- `A ${t} ${t} 0 ${E} 1 ${m} ${u}`,
3654
+ `A ${r} ${r} 0 ${E} 1 ${m} ${u}`,
3623
3655
  // Outer arc
3624
- `L ${b} ${M}`,
3656
+ `L ${b} ${S}`,
3625
3657
  // Line to inner arc
3626
- `A ${o} ${o} 0 ${E} 0 ${v} ${k}`,
3658
+ `A ${o} ${o} 0 ${E} 0 ${v} ${N}`,
3627
3659
  // Inner arc (reverse)
3628
3660
  "Z"
3629
3661
  // Close path
3630
3662
  ].join(" ");
3631
3663
  }
3632
- function oo(e, r, t, o, n) {
3664
+ function io(e, t, r, o, n) {
3633
3665
  const s = e.reduce((c, d) => c + d.value, 0);
3634
3666
  if (s === 0)
3635
3667
  return [];
3636
3668
  let l = 0;
3637
3669
  const i = [];
3638
3670
  return e.forEach((c) => {
3639
- const d = c.value / s * 360, m = l, u = l + d, b = to(
3671
+ const d = c.value / s * 360, m = l, u = l + d, b = so(
3640
3672
  m,
3641
3673
  u,
3642
- r,
3643
3674
  t,
3675
+ r,
3644
3676
  o,
3645
3677
  n
3646
3678
  );
@@ -3650,11 +3682,11 @@ function oo(e, r, t, o, n) {
3650
3682
  }), l = u;
3651
3683
  }), i;
3652
3684
  }
3653
- const cr = w.forwardRef(
3685
+ const ct = w.forwardRef(
3654
3686
  ({
3655
3687
  segments: e,
3656
- size: r = 300,
3657
- innerRadiusRatio: t = 0.6,
3688
+ size: t = 300,
3689
+ innerRadiusRatio: r = 0.6,
3658
3690
  centerContent: o,
3659
3691
  showLegend: n = !1,
3660
3692
  legendPosition: s = "bottom",
@@ -3662,22 +3694,22 @@ const cr = w.forwardRef(
3662
3694
  onSegmentClick: i,
3663
3695
  onSegmentHover: c
3664
3696
  }, d) => {
3665
- const [m, u] = w.useState(null), b = r / 2, M = r / 2, v = 2, k = r / 2 - v, E = k * t, I = oo(
3697
+ const [m, u] = w.useState(null), b = t / 2, S = t / 2, v = 2, N = t / 2 - v, E = N * r, z = io(
3666
3698
  e,
3667
- k,
3699
+ N,
3668
3700
  E,
3669
3701
  b,
3670
- M
3671
- ), A = (P) => {
3672
- u(P), c?.(P);
3673
- }, L = s === "left" || s === "right";
3702
+ S
3703
+ ), R = (I) => {
3704
+ u(I), c?.(I);
3705
+ }, k = s === "left" || s === "right";
3674
3706
  return /* @__PURE__ */ f(
3675
3707
  "div",
3676
3708
  {
3677
3709
  ref: d,
3678
3710
  className: h(
3679
3711
  "flex gap-4",
3680
- L ? "flex-row items-center" : "flex-col items-center",
3712
+ k ? "flex-row items-center" : "flex-col items-center",
3681
3713
  s === "right" && "flex-row-reverse",
3682
3714
  s === "top" && "flex-col-reverse",
3683
3715
  l
@@ -3687,25 +3719,25 @@ const cr = w.forwardRef(
3687
3719
  "div",
3688
3720
  {
3689
3721
  className: "relative inline-block",
3690
- style: { width: r, height: r },
3722
+ style: { width: t, height: t },
3691
3723
  children: [
3692
- /* @__PURE__ */ a("svg", { width: r, height: r, viewBox: `0 0 ${r} ${r}`, children: I.map(({ path: P, segment: S }, V) => /* @__PURE__ */ a(
3724
+ /* @__PURE__ */ a("svg", { width: t, height: t, viewBox: `0 0 ${t} ${t}`, children: z.map(({ path: I, segment: P }, F) => /* @__PURE__ */ a(
3693
3725
  "path",
3694
3726
  {
3695
- d: P,
3696
- fill: S.color,
3727
+ d: I,
3728
+ fill: P.color,
3697
3729
  stroke: "white",
3698
3730
  strokeWidth: v,
3699
3731
  className: h(
3700
3732
  "transition-opacity duration-200",
3701
- m && m !== S && "opacity-50",
3733
+ m && m !== P && "opacity-50",
3702
3734
  i && "cursor-pointer"
3703
3735
  ),
3704
- onMouseEnter: () => A(S),
3705
- onMouseLeave: () => A(null),
3706
- onClick: () => i?.(S)
3736
+ onMouseEnter: () => R(P),
3737
+ onMouseLeave: () => R(null),
3738
+ onClick: () => i?.(P)
3707
3739
  },
3708
- `${S.label}-${V}`
3740
+ `${P.label}-${F}`
3709
3741
  )) }),
3710
3742
  o && /* @__PURE__ */ a(
3711
3743
  "div",
@@ -3723,31 +3755,31 @@ const cr = w.forwardRef(
3723
3755
  {
3724
3756
  className: h(
3725
3757
  "flex gap-2",
3726
- L ? "flex-col" : "flex-row flex-wrap justify-center"
3758
+ k ? "flex-col" : "flex-row flex-wrap justify-center"
3727
3759
  ),
3728
- children: e.map((P, S) => /* @__PURE__ */ f(
3760
+ children: e.map((I, P) => /* @__PURE__ */ f(
3729
3761
  "div",
3730
3762
  {
3731
3763
  className: h(
3732
3764
  "flex items-center gap-2 text-sm transition-opacity duration-200",
3733
- m && m !== P && "opacity-50",
3765
+ m && m !== I && "opacity-50",
3734
3766
  i && "cursor-pointer"
3735
3767
  ),
3736
- onMouseEnter: () => A(P),
3737
- onMouseLeave: () => A(null),
3738
- onClick: () => i?.(P),
3768
+ onMouseEnter: () => R(I),
3769
+ onMouseLeave: () => R(null),
3770
+ onClick: () => i?.(I),
3739
3771
  children: [
3740
3772
  /* @__PURE__ */ a(
3741
3773
  "div",
3742
3774
  {
3743
3775
  className: "h-3 w-3 rounded-sm flex-shrink-0",
3744
- style: { backgroundColor: P.color }
3776
+ style: { backgroundColor: I.color }
3745
3777
  }
3746
3778
  ),
3747
- /* @__PURE__ */ a("span", { className: "text-muted-foreground", children: P.label })
3779
+ /* @__PURE__ */ a("span", { className: "text-muted-foreground", children: I.label })
3748
3780
  ]
3749
3781
  },
3750
- `${P.label}-${S}`
3782
+ `${I.label}-${P}`
3751
3783
  ))
3752
3784
  }
3753
3785
  )
@@ -3756,41 +3788,41 @@ const cr = w.forwardRef(
3756
3788
  );
3757
3789
  }
3758
3790
  );
3759
- cr.displayName = "DonutChart";
3760
- function ao(e, r) {
3761
- return !r || r === "all" ? e : e.filter((t) => t.categoryId === r);
3791
+ ct.displayName = "DonutChart";
3792
+ function lo(e, t) {
3793
+ return !t || t === "all" ? e : e.filter((r) => r.categoryId === t);
3762
3794
  }
3763
- function no(e, r) {
3764
- const t = [...e];
3765
- return t.sort((o, n) => {
3795
+ function co(e, t) {
3796
+ const r = [...e];
3797
+ return r.sort((o, n) => {
3766
3798
  let s = "", l = "";
3767
- return r.column === "title" ? (s = o.title.toLowerCase(), l = n.title.toLowerCase()) : r.column === "metric" && (s = Ue(o.metricValue), l = Ue(n.metricValue)), s < l ? r.direction === "asc" ? -1 : 1 : s > l ? r.direction === "asc" ? 1 : -1 : 0;
3768
- }), t;
3799
+ return t.column === "title" ? (s = o.title.toLowerCase(), l = n.title.toLowerCase()) : t.column === "metric" && (s = Ue(o.metricValue), l = Ue(n.metricValue)), s < l ? t.direction === "asc" ? -1 : 1 : s > l ? t.direction === "asc" ? 1 : -1 : 0;
3800
+ }), r;
3769
3801
  }
3770
3802
  function Ue(e) {
3771
3803
  if (!e) return 0;
3772
- const r = e.match(/[\d.]+/);
3773
- return r ? parseFloat(r[0]) : 0;
3804
+ const t = e.match(/[\d.]+/);
3805
+ return t ? parseFloat(t[0]) : 0;
3774
3806
  }
3775
- function so(e, r) {
3776
- return r === "all" ? e.length : e.filter((t) => t.categoryId === r).length;
3807
+ function uo(e, t) {
3808
+ return t === "all" ? e.length : e.filter((r) => r.categoryId === t).length;
3777
3809
  }
3778
- function Ro(e, r, t = {}) {
3810
+ function To(e, t, r = {}) {
3779
3811
  const {
3780
3812
  initialCategory: o = null,
3781
3813
  initialSort: n = null,
3782
3814
  enableSearch: s = !1
3783
- } = t, [l, i] = se(
3815
+ } = r, [l, i] = ae(
3784
3816
  o
3785
- ), [c, d] = se(n), [m, u] = se(""), b = xe(() => ao(e, l), [e, l]), M = xe(() => {
3817
+ ), [c, d] = ae(n), [m, u] = ae(""), b = ke(() => lo(e, l), [e, l]), S = ke(() => {
3786
3818
  if (!s || !m.trim())
3787
3819
  return b;
3788
- const I = m.toLowerCase();
3820
+ const z = m.toLowerCase();
3789
3821
  return b.filter(
3790
- (A) => A.title.toLowerCase().includes(I) || A.subtitle?.toLowerCase().includes(I)
3822
+ (R) => R.title.toLowerCase().includes(z) || R.subtitle?.toLowerCase().includes(z)
3791
3823
  );
3792
- }, [b, m, s]), v = xe(() => c ? no(M, c) : M, [M, c]), k = Ve(
3793
- (I) => so(e, I),
3824
+ }, [b, m, s]), v = ke(() => c ? co(S, c) : S, [S, c]), N = Ve(
3825
+ (z) => uo(e, z),
3794
3826
  [e]
3795
3827
  ), E = Ve(() => {
3796
3828
  i(o), d(n), u("");
@@ -3803,11 +3835,11 @@ function Ro(e, r, t = {}) {
3803
3835
  searchQuery: m,
3804
3836
  setSearchQuery: u,
3805
3837
  filteredEntities: v,
3806
- getCategoryCount: k,
3838
+ getCategoryCount: N,
3807
3839
  resetFilters: E
3808
3840
  };
3809
3841
  }
3810
- const io = X(
3842
+ const mo = Z(
3811
3843
  "inline-flex items-center justify-center whitespace-nowrap rounded-full text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
3812
3844
  {
3813
3845
  variants: {
@@ -3829,11 +3861,11 @@ const io = X(
3829
3861
  size: "default"
3830
3862
  }
3831
3863
  }
3832
- ), Re = w.forwardRef(
3864
+ ), Te = w.forwardRef(
3833
3865
  ({
3834
3866
  className: e,
3835
- variant: r,
3836
- size: t,
3867
+ variant: t,
3868
+ size: r,
3837
3869
  icon: o,
3838
3870
  selected: n,
3839
3871
  dismissible: s,
@@ -3845,7 +3877,7 @@ const io = X(
3845
3877
  "button",
3846
3878
  {
3847
3879
  type: "button",
3848
- className: h(io({ variant: n ? "selected" : r, size: t, className: e })),
3880
+ className: h(mo({ variant: n ? "selected" : t, size: r, className: e })),
3849
3881
  ref: m,
3850
3882
  disabled: c,
3851
3883
  "aria-disabled": c ? "true" : void 0,
@@ -3870,12 +3902,12 @@ const io = X(
3870
3902
  }
3871
3903
  )
3872
3904
  );
3873
- Re.displayName = "Chip";
3874
- const dr = w.forwardRef(
3905
+ Te.displayName = "Chip";
3906
+ const dt = w.forwardRef(
3875
3907
  ({
3876
3908
  categories: e,
3877
- activeCategory: r,
3878
- onCategoryChange: t,
3909
+ activeCategory: t,
3910
+ onCategoryChange: r,
3879
3911
  showCount: o,
3880
3912
  getCategoryCount: n,
3881
3913
  className: s
@@ -3890,9 +3922,9 @@ const dr = w.forwardRef(
3890
3922
  s
3891
3923
  ),
3892
3924
  children: e.map((i) => {
3893
- const c = r === i.id, d = o && n ? n(i.id) : void 0;
3925
+ const c = t === i.id, d = o && n ? n(i.id) : void 0;
3894
3926
  return /* @__PURE__ */ f(
3895
- Re,
3927
+ Te,
3896
3928
  {
3897
3929
  role: "tab",
3898
3930
  "aria-selected": c,
@@ -3900,7 +3932,7 @@ const dr = w.forwardRef(
3900
3932
  selected: c,
3901
3933
  variant: c ? "selected" : "outline",
3902
3934
  icon: typeof i.icon == "string" ? i.icon : i.icon ? w.createElement(i.icon) : void 0,
3903
- onClick: () => t(c ? null : i.id),
3935
+ onClick: () => r(c ? null : i.id),
3904
3936
  children: [
3905
3937
  i.label,
3906
3938
  d !== void 0 && /* @__PURE__ */ f("span", { className: "ml-1.5 opacity-70", children: [
@@ -3916,9 +3948,11 @@ const dr = w.forwardRef(
3916
3948
  }
3917
3949
  )
3918
3950
  );
3919
- dr.displayName = "CategoryChips";
3920
- const lo = (e) => {
3921
- switch (e.variant || co(e.type)) {
3951
+ dt.displayName = "CategoryChips";
3952
+ const fo = (e, t) => {
3953
+ if (t)
3954
+ return "text-accent";
3955
+ switch (e.variant || po(e.type)) {
3922
3956
  case "primary":
3923
3957
  return "bg-primary text-primary-foreground";
3924
3958
  case "secondary":
@@ -3934,7 +3968,7 @@ const lo = (e) => {
3934
3968
  default:
3935
3969
  return "bg-secondary text-secondary-foreground";
3936
3970
  }
3937
- }, co = (e) => {
3971
+ }, po = (e) => {
3938
3972
  switch (e) {
3939
3973
  case "Venta":
3940
3974
  return "primary";
@@ -3947,163 +3981,217 @@ const lo = (e) => {
3947
3981
  default:
3948
3982
  return "secondary";
3949
3983
  }
3950
- }, Ao = ({
3984
+ }, jo = ({
3951
3985
  property: e,
3952
- className: r,
3953
- onLike: t,
3986
+ className: t,
3987
+ onLike: r,
3954
3988
  onImageClick: o,
3955
3989
  showLikeButton: n = !0,
3956
- showNavigation: s = !0
3990
+ showNavigation: s = !0,
3991
+ variant: l = "default",
3992
+ badgeColors: i
3957
3993
  }) => {
3958
- const [l, i] = se(0), [c, d] = se(!1), m = () => {
3959
- i(
3994
+ const [c, d] = ae(0), [m, u] = ae(!1), [b, S] = ae(!1), v = () => {
3995
+ d(
3960
3996
  (C) => C === e.images.length - 1 ? 0 : C + 1
3961
- );
3962
- }, u = () => {
3963
- i(
3997
+ ), S(!1);
3998
+ }, N = () => {
3999
+ d(
3964
4000
  (C) => C === 0 ? e.images.length - 1 : C - 1
3965
- );
3966
- }, b = (C) => {
4001
+ ), S(!1);
4002
+ }, E = (C) => {
3967
4003
  C.preventDefault(), C.stopPropagation();
3968
- const T = !c;
3969
- d(T), t?.(e.id, T);
3970
- }, M = (C) => {
3971
- C.preventDefault(), C.stopPropagation(), o?.(l, e.id);
3972
- }, v = (C, T) => !C || !T ? "Price not available" : `$${C.toLocaleString()} ${T}`, k = h(
3973
- "relative overflow-hidden bg-card rounded-2xl shadow-md transition-all duration-300 ease-out cursor-pointer hover:-translate-y-1 hover:shadow-xl",
3974
- r
3975
- ), E = h("relative overflow-hidden"), I = h(
3976
- "w-full h-full object-cover transition-transform duration-300 hover:scale-105"
3977
- ), A = h("absolute top-4 left-4 flex flex-wrap gap-1 z-10"), L = h(
3978
- "px-2 py-1 rounded-lg text-xs font-medium uppercase tracking-wide"
4004
+ const $ = !m;
4005
+ u($), r?.(e.id, $);
4006
+ }, z = (C) => {
4007
+ C.preventDefault(), C.stopPropagation(), o?.(c, e.id);
4008
+ }, R = (C, $) => !C || !$ ? "Price not available" : `$${C.toLocaleString()} ${$}`, k = l === "compact", I = h(
4009
+ "relative overflow-hidden bg-card shadow-md transition-all duration-300 ease-out cursor-pointer",
4010
+ k ? "rounded-xl hover:shadow-lg" : "rounded-2xl hover:-translate-y-1 hover:shadow-xl",
4011
+ k && "border px-4",
4012
+ t
3979
4013
  ), P = h(
3980
- "absolute top-4 right-4 z-10 bg-background/90 backdrop-blur-sm border border-border/20 text-foreground rounded-full w-10 h-10 flex items-center justify-center cursor-pointer transition-all duration-200 hover:bg-background hover:scale-105"
3981
- ), S = h(
4014
+ "relative overflow-hidden",
4015
+ k && "rounded-xl px-4 shadow-md"
4016
+ ), F = h(
4017
+ "w-full h-full object-cover",
4018
+ !k && "transition-transform duration-300 hover:scale-105"
4019
+ ), L = h(
4020
+ "absolute z-10 flex flex-wrap gap-2",
4021
+ k ? "top-3 left-3" : "top-4 left-4"
4022
+ ), y = h(
4023
+ "text-xs font-semibold",
4024
+ k ? "rounded-full px-3 py-1" : "px-2 py-1 rounded-lg font-medium uppercase tracking-wide"
4025
+ ), _ = h(
4026
+ "absolute z-10 rounded-full cursor-pointer transition-all duration-200",
4027
+ k ? "top-3 right-3 p-1 shadow-md" : "top-4 right-4 bg-background/90 backdrop-blur-sm border border-border/20 text-foreground w-10 h-10 flex items-center justify-center hover:bg-background hover:scale-105"
4028
+ ), H = h(
3982
4029
  "absolute top-1/2 -translate-y-1/2 z-10 bg-background/90 backdrop-blur-sm border border-border/20 text-foreground w-10 h-10 rounded-full p-0 flex items-center justify-center cursor-pointer transition-all duration-200 hover:bg-background hover:scale-105"
3983
- ), V = h(
4030
+ ), ee = h(
3984
4031
  "absolute bottom-4 left-1/2 -translate-x-1/2 flex gap-1 z-10"
3985
- ), z = h(
4032
+ ), q = h(
3986
4033
  "w-2 h-2 rounded-full border-none cursor-pointer transition-all duration-200 hover:scale-120"
3987
- ), y = h("p-6"), _ = h(
3988
- "text-lg font-bold text-foreground mb-2 line-clamp-2 leading-tight"
3989
- ), H = h("text-xl font-bold text-primary mb-2"), Y = h("text-base text-muted-foreground mb-4"), U = h("flex items-center gap-4 mb-4"), B = h(
3990
- "flex items-center gap-1 text-sm text-muted-foreground"
3991
- ), Z = h("text-sm text-muted-foreground line-clamp-2"), G = /* @__PURE__ */ f("div", { className: k, children: [
3992
- /* @__PURE__ */ f("div", { className: h(E, "aspect-[4/3] bg-red-500"), children: [
3993
- /* @__PURE__ */ a(
4034
+ ), te = h(k ? "p-2" : "p-6"), K = h(
4035
+ "font-semibold text-foreground mb-2 line-clamp-2 leading-tight",
4036
+ k ? "text-base" : "text-lg font-bold"
4037
+ ), B = h(
4038
+ "font-bold text-primary mb-2",
4039
+ k ? "text-lg" : "text-xl"
4040
+ ), D = h(
4041
+ "text-muted-foreground mb-4",
4042
+ k ? "text-sm flex items-center gap-1" : "text-base"
4043
+ ), G = h(
4044
+ "flex items-center mb-4",
4045
+ k ? "justify-between mt-3" : "gap-4"
4046
+ ), x = h(
4047
+ "flex items-center gap-1 text-muted-foreground",
4048
+ "text-sm"
4049
+ ), ue = h(
4050
+ "text-sm text-muted-foreground line-clamp-2",
4051
+ k && "mt-2"
4052
+ ), ie = !(e.images && e.images.length > 0) || b, le = () => /* @__PURE__ */ f("div", { className: "w-full h-full bg-gradient-to-br from-primary/10 via-primary/5 to-secondary/10 flex flex-col items-center justify-center gap-3", children: [
4053
+ /* @__PURE__ */ a("div", { className: "rounded-full bg-primary/10 p-6", children: /* @__PURE__ */ a(Kr, { size: k ? 32 : 48, className: "text-primary/40" }) }),
4054
+ /* @__PURE__ */ a("p", { className: "text-sm text-muted-foreground", children: "No image available" })
4055
+ ] }), j = /* @__PURE__ */ f("div", { className: I, children: [
4056
+ /* @__PURE__ */ f("div", { className: h(P, k ? "h-52" : "aspect-[4/3]"), children: [
4057
+ ie ? /* @__PURE__ */ a(le, {}) : /* @__PURE__ */ a(
3994
4058
  "img",
3995
4059
  {
3996
- src: e.images[l],
4060
+ src: e.images[c],
3997
4061
  alt: e.title,
3998
- className: I,
3999
- onClick: o ? M : void 0
4062
+ className: F,
4063
+ onClick: o ? z : void 0,
4064
+ onError: () => S(!0)
4000
4065
  }
4001
4066
  ),
4002
- /* @__PURE__ */ a("div", { className: A, children: e.transactionTypes.map((C, T) => /* @__PURE__ */ a(
4003
- "span",
4004
- {
4005
- className: h(
4006
- L,
4007
- lo(C)
4008
- ),
4009
- children: C.type
4010
- },
4011
- T
4012
- )) }),
4067
+ /* @__PURE__ */ a("div", { className: L, children: e.transactionTypes.map((C, $) => {
4068
+ const O = i?.[C.type];
4069
+ return /* @__PURE__ */ a(
4070
+ "span",
4071
+ {
4072
+ className: h(
4073
+ y,
4074
+ fo(C, O)
4075
+ ),
4076
+ style: O ? { backgroundColor: O } : void 0,
4077
+ children: C.type
4078
+ },
4079
+ $
4080
+ );
4081
+ }) }),
4013
4082
  n && /* @__PURE__ */ a(
4014
4083
  "button",
4015
4084
  {
4016
- onClick: b,
4017
- className: P,
4018
- "aria-label": c ? "Unlike property" : "Like property",
4019
- children: /* @__PURE__ */ a(
4020
- Xt,
4085
+ onClick: E,
4086
+ className: _,
4087
+ "aria-label": m ? "Unlike property" : "Like property",
4088
+ children: k ? /* @__PURE__ */ a(
4089
+ "svg",
4090
+ {
4091
+ xmlns: "http://www.w3.org/2000/svg",
4092
+ fill: m ? "red" : "none",
4093
+ viewBox: "0 0 24 24",
4094
+ strokeWidth: 2,
4095
+ stroke: m ? "red" : "currentColor",
4096
+ className: "h-5 w-5",
4097
+ children: /* @__PURE__ */ a(
4098
+ "path",
4099
+ {
4100
+ strokeLinecap: "round",
4101
+ strokeLinejoin: "round",
4102
+ d: "M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733C11.285 4.876 9.623 3.75 7.688 3.75 5.099 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12z"
4103
+ }
4104
+ )
4105
+ }
4106
+ ) : /* @__PURE__ */ a(
4107
+ Xr,
4021
4108
  {
4022
4109
  size: 20,
4023
- fill: c ? "currentColor" : "none",
4024
- className: c ? "text-destructive" : ""
4110
+ fill: m ? "currentColor" : "none",
4111
+ className: m ? "text-destructive" : ""
4025
4112
  }
4026
4113
  )
4027
4114
  }
4028
4115
  ),
4029
- s && e.images.length > 1 && /* @__PURE__ */ f(pe, { children: [
4116
+ !k && s && !ie && e.images.length > 1 && /* @__PURE__ */ f(xe, { children: [
4030
4117
  /* @__PURE__ */ a(
4031
- Q,
4118
+ J,
4032
4119
  {
4033
4120
  onClick: (C) => {
4034
- C.preventDefault(), C.stopPropagation(), u();
4121
+ C.preventDefault(), C.stopPropagation(), N();
4035
4122
  },
4036
- className: h(S, "left-4"),
4123
+ className: h(H, "left-4"),
4037
4124
  "aria-label": "Previous image",
4038
- children: /* @__PURE__ */ a(Wt, { size: 20 })
4125
+ children: /* @__PURE__ */ a(Wr, { size: 20 })
4039
4126
  }
4040
4127
  ),
4041
4128
  /* @__PURE__ */ a(
4042
- Q,
4129
+ J,
4043
4130
  {
4044
4131
  onClick: (C) => {
4045
- C.preventDefault(), C.stopPropagation(), m();
4132
+ C.preventDefault(), C.stopPropagation(), v();
4046
4133
  },
4047
- className: h(S, "right-4"),
4134
+ className: h(H, "right-4"),
4048
4135
  "aria-label": "Next image",
4049
- children: /* @__PURE__ */ a(Ot, { size: 20 })
4136
+ children: /* @__PURE__ */ a(Hr, { size: 20 })
4050
4137
  }
4051
4138
  ),
4052
- /* @__PURE__ */ a("div", { className: V, children: e.images.map((C, T) => /* @__PURE__ */ a(
4139
+ /* @__PURE__ */ a("div", { className: ee, children: e.images.map((C, $) => /* @__PURE__ */ a(
4053
4140
  "button",
4054
4141
  {
4055
4142
  className: h(
4056
- z,
4057
- T === l ? "bg-background" : "bg-background/50"
4143
+ q,
4144
+ $ === c ? "bg-background" : "bg-background/50"
4058
4145
  ),
4059
- onClick: (x) => {
4060
- x.preventDefault(), x.stopPropagation(), i(T);
4146
+ onClick: (O) => {
4147
+ O.preventDefault(), O.stopPropagation(), d($);
4061
4148
  },
4062
- "aria-label": `Go to image ${T + 1}`,
4063
- "aria-current": T === l
4149
+ "aria-label": `Go to image ${$ + 1}`,
4150
+ "aria-current": $ === c
4064
4151
  },
4065
- T
4152
+ $
4066
4153
  )) })
4067
4154
  ] })
4068
4155
  ] }),
4069
- /* @__PURE__ */ f("div", { className: y, children: [
4070
- /* @__PURE__ */ a("h3", { className: _, children: e.title }),
4071
- /* @__PURE__ */ a("p", { className: H, children: v(e.price?.amount, e.price?.currency) }),
4072
- /* @__PURE__ */ f("p", { className: Y, children: [
4156
+ /* @__PURE__ */ f("div", { className: te, children: [
4157
+ /* @__PURE__ */ a("h3", { className: K, children: e.title }),
4158
+ /* @__PURE__ */ a("p", { className: B, children: R(e.price?.amount, e.price?.currency) }),
4159
+ /* @__PURE__ */ f("p", { className: D, children: [
4160
+ k && /* @__PURE__ */ a(Jr, { size: 14 }),
4073
4161
  e.location.city,
4074
4162
  ", ",
4075
4163
  e.location.state
4076
4164
  ] }),
4077
- /* @__PURE__ */ f("div", { className: U, children: [
4078
- /* @__PURE__ */ f("div", { className: B, children: [
4079
- /* @__PURE__ */ a(jt, { size: 16 }),
4165
+ /* @__PURE__ */ f("div", { className: G, children: [
4166
+ /* @__PURE__ */ f("div", { className: x, children: [
4167
+ /* @__PURE__ */ a($r, { size: 16 }),
4080
4168
  /* @__PURE__ */ a("span", { children: e.features.bedrooms })
4081
4169
  ] }),
4082
- /* @__PURE__ */ f("div", { className: B, children: [
4083
- /* @__PURE__ */ a(Tt, { size: 16 }),
4170
+ /* @__PURE__ */ f("div", { className: x, children: [
4171
+ /* @__PURE__ */ a(Tr, { size: 16 }),
4084
4172
  /* @__PURE__ */ a("span", { children: e.features.bathrooms })
4085
4173
  ] }),
4086
- /* @__PURE__ */ f("div", { className: B, children: [
4087
- /* @__PURE__ */ a(Ft, { size: 16 }),
4174
+ /* @__PURE__ */ f("div", { className: x, children: [
4175
+ /* @__PURE__ */ a(Fr, { size: 16 }),
4088
4176
  /* @__PURE__ */ a("span", { children: e.features.parking })
4089
4177
  ] }),
4090
- /* @__PURE__ */ f("div", { className: B, children: [
4091
- /* @__PURE__ */ a(Kt, { size: 16 }),
4178
+ /* @__PURE__ */ f("div", { className: x, children: [
4179
+ /* @__PURE__ */ a(eo, { size: 16 }),
4092
4180
  /* @__PURE__ */ f("span", { children: [
4093
4181
  e.features.area,
4094
4182
  " m²"
4095
4183
  ] })
4096
4184
  ] })
4097
4185
  ] }),
4098
- e.amenities.length > 0 && /* @__PURE__ */ a("p", { className: Z, children: e.amenities.join(", ") })
4186
+ e.amenities.length > 0 && /* @__PURE__ */ a("p", { className: ue, children: e.amenities.join(", ") })
4099
4187
  ] })
4100
4188
  ] });
4101
- return e.href ? /* @__PURE__ */ a("a", { href: e.href, className: "no-underline text-inherit", children: G }) : G;
4102
- }, uo = Pe.forwardRef(
4189
+ return e.href ? /* @__PURE__ */ a("a", { href: e.href, className: "no-underline text-inherit", children: j }) : j;
4190
+ }, go = Ae.forwardRef(
4103
4191
  ({
4104
4192
  images: e,
4105
- transactionType: r,
4106
- totalPhotos: t,
4193
+ transactionType: t,
4194
+ totalPhotos: r,
4107
4195
  onViewAllClick: o,
4108
4196
  onImageClick: n,
4109
4197
  className: s
@@ -4117,7 +4205,7 @@ const lo = (e) => {
4117
4205
  ref: l,
4118
4206
  className: h("w-full h-full grid grid-cols-2 gap-2", s),
4119
4207
  children: [
4120
- /* @__PURE__ */ a("div", { className: "relative col-span-1 row-span-2 rounded-2xl overflow-hidden group cursor-pointer", children: i[0] ? /* @__PURE__ */ f(pe, { children: [
4208
+ /* @__PURE__ */ a("div", { className: "relative col-span-1 row-span-2 rounded-2xl overflow-hidden group cursor-pointer", children: i[0] ? /* @__PURE__ */ f(xe, { children: [
4121
4209
  /* @__PURE__ */ a(
4122
4210
  "img",
4123
4211
  {
@@ -4127,7 +4215,7 @@ const lo = (e) => {
4127
4215
  onClick: () => c(0)
4128
4216
  }
4129
4217
  ),
4130
- r && /* @__PURE__ */ a("div", { className: "absolute top-4 left-4 bg-white rounded-full px-4 py-2 shadow-md", children: /* @__PURE__ */ a("span", { className: "text-sm font-medium text-foreground", children: r }) })
4218
+ t && /* @__PURE__ */ a("div", { className: "absolute top-4 left-4 bg-white rounded-full px-4 py-2 shadow-md", children: /* @__PURE__ */ a("span", { className: "text-sm font-medium text-foreground", children: t }) })
4131
4219
  ] }) : /* @__PURE__ */ a("div", { className: "w-full h-full bg-muted flex items-center justify-center", children: /* @__PURE__ */ a("span", { className: "text-muted-foreground", children: "No image" }) }) }),
4132
4220
  /* @__PURE__ */ a("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: i[1] ? /* @__PURE__ */ a(
4133
4221
  "img",
@@ -4156,7 +4244,7 @@ const lo = (e) => {
4156
4244
  onClick: () => c(3)
4157
4245
  }
4158
4246
  ) : /* @__PURE__ */ a("div", { className: "w-full h-full bg-muted" }) }),
4159
- /* @__PURE__ */ a("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: i[4] ? /* @__PURE__ */ f(pe, { children: [
4247
+ /* @__PURE__ */ a("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: i[4] ? /* @__PURE__ */ f(xe, { children: [
4160
4248
  /* @__PURE__ */ a(
4161
4249
  "img",
4162
4250
  {
@@ -4166,7 +4254,7 @@ const lo = (e) => {
4166
4254
  onClick: () => c(4)
4167
4255
  }
4168
4256
  ),
4169
- t && t > 5 && /* @__PURE__ */ a("div", { className: "absolute bottom-4 right-4", children: /* @__PURE__ */ f(
4257
+ r && r > 5 && /* @__PURE__ */ a("div", { className: "absolute bottom-4 right-4", children: /* @__PURE__ */ f(
4170
4258
  "button",
4171
4259
  {
4172
4260
  onClick: (d) => {
@@ -4174,10 +4262,10 @@ const lo = (e) => {
4174
4262
  },
4175
4263
  className: "flex items-center gap-2 bg-white rounded-full px-4 py-2 shadow-md hover:shadow-lg transition-all duration-200 hover:scale-105",
4176
4264
  children: [
4177
- /* @__PURE__ */ a(Ut, { className: "w-4 h-4 text-foreground" }),
4265
+ /* @__PURE__ */ a(Ur, { className: "w-4 h-4 text-foreground" }),
4178
4266
  /* @__PURE__ */ f("span", { className: "text-sm font-medium text-foreground", children: [
4179
4267
  "Ver las ",
4180
- t,
4268
+ r,
4181
4269
  " fotos"
4182
4270
  ] })
4183
4271
  ]
@@ -4189,23 +4277,23 @@ const lo = (e) => {
4189
4277
  );
4190
4278
  }
4191
4279
  );
4192
- uo.displayName = "PropertyGallery";
4193
- const ur = w.forwardRef(({ title: e, description: r, className: t }, o) => /* @__PURE__ */ f("div", { ref: o, className: h("space-y-1.5", t), children: [
4194
- /* @__PURE__ */ a(R, { variant: "h2", className: "font-bold", children: e }),
4195
- r && /* @__PURE__ */ a(R, { variant: "body", className: "text-muted-foreground", children: r })
4280
+ go.displayName = "PropertyGallery";
4281
+ const ut = w.forwardRef(({ title: e, description: t, className: r }, o) => /* @__PURE__ */ f("div", { ref: o, className: h("space-y-1.5", r), children: [
4282
+ /* @__PURE__ */ a(A, { variant: "h2", className: "font-bold", children: e }),
4283
+ t && /* @__PURE__ */ a(A, { variant: "body", className: "text-muted-foreground", children: t })
4196
4284
  ] }));
4197
- ur.displayName = "EntityDirectoryHeader";
4198
- const mr = w.forwardRef(
4285
+ ut.displayName = "EntityDirectoryHeader";
4286
+ const mt = w.forwardRef(
4199
4287
  ({
4200
4288
  entity: e,
4201
- categories: r,
4202
- showIcon: t = !0,
4289
+ categories: t,
4290
+ showIcon: r = !0,
4203
4291
  showCategoryBadge: o = !0,
4204
4292
  showMetric: n = !0,
4205
4293
  compact: s = !1,
4206
4294
  className: l
4207
4295
  }, i) => {
4208
- const c = r?.find((b) => b.id === e.categoryId), d = !!e.onClick, m = () => {
4296
+ const c = t?.find((b) => b.id === e.categoryId), d = !!e.onClick, m = () => {
4209
4297
  e.onClick && !e.disabled && e.onClick();
4210
4298
  }, u = (b) => {
4211
4299
  d && (b.key === "Enter" || b.key === " ") && (b.preventDefault(), m());
@@ -4227,7 +4315,7 @@ const mr = w.forwardRef(
4227
4315
  l
4228
4316
  ),
4229
4317
  children: [
4230
- t && /* @__PURE__ */ a(
4318
+ r && /* @__PURE__ */ a(
4231
4319
  "div",
4232
4320
  {
4233
4321
  className: h(
@@ -4240,7 +4328,7 @@ const mr = w.forwardRef(
4240
4328
  ),
4241
4329
  /* @__PURE__ */ f("div", { className: "flex-1 min-w-0", children: [
4242
4330
  /* @__PURE__ */ a(
4243
- R,
4331
+ A,
4244
4332
  {
4245
4333
  variant: s ? "body-sm" : "body",
4246
4334
  className: "font-semibold truncate",
@@ -4248,7 +4336,7 @@ const mr = w.forwardRef(
4248
4336
  }
4249
4337
  ),
4250
4338
  e.subtitle && /* @__PURE__ */ a(
4251
- R,
4339
+ A,
4252
4340
  {
4253
4341
  variant: s ? "caption" : "body-sm",
4254
4342
  className: "text-muted-foreground truncate",
@@ -4257,7 +4345,7 @@ const mr = w.forwardRef(
4257
4345
  )
4258
4346
  ] }),
4259
4347
  o && c && /* @__PURE__ */ a(
4260
- Re,
4348
+ Te,
4261
4349
  {
4262
4350
  variant: "secondary",
4263
4351
  size: s ? "sm" : "default",
@@ -4268,25 +4356,25 @@ const mr = w.forwardRef(
4268
4356
  ),
4269
4357
  n && e.metricValue && /* @__PURE__ */ f("div", { className: "flex-shrink-0 text-right min-w-[4rem]", children: [
4270
4358
  /* @__PURE__ */ a(
4271
- R,
4359
+ A,
4272
4360
  {
4273
4361
  variant: s ? "body-sm" : "body",
4274
4362
  className: "font-medium",
4275
4363
  children: e.metricValue
4276
4364
  }
4277
4365
  ),
4278
- e.metricLabel && /* @__PURE__ */ a(R, { variant: "caption", className: "text-muted-foreground", children: e.metricLabel })
4366
+ e.metricLabel && /* @__PURE__ */ a(A, { variant: "caption", className: "text-muted-foreground", children: e.metricLabel })
4279
4367
  ] })
4280
4368
  ]
4281
4369
  }
4282
4370
  );
4283
4371
  }
4284
4372
  );
4285
- mr.displayName = "EntityDirectoryListItem";
4286
- const fr = w.forwardRef(({ columns: e, showIcon: r, sort: t, onSortChange: o, compact: n, className: s }, l) => {
4373
+ mt.displayName = "EntityDirectoryListItem";
4374
+ const ft = w.forwardRef(({ columns: e, showIcon: t, sort: r, onSortChange: o, compact: n, className: s }, l) => {
4287
4375
  const i = (u) => {
4288
4376
  if (!o) return;
4289
- const b = t?.column === u && t?.direction === "asc" ? "desc" : "asc";
4377
+ const b = r?.column === u && r?.direction === "asc" ? "desc" : "asc";
4290
4378
  o({
4291
4379
  column: u,
4292
4380
  direction: b
@@ -4295,7 +4383,7 @@ const fr = w.forwardRef(({ columns: e, showIcon: r, sort: t, onSortChange: o, co
4295
4383
  i(u);
4296
4384
  }, d = (u, b) => {
4297
4385
  (u.key === "Enter" || u.key === " ") && (u.preventDefault(), i(b));
4298
- }, m = (u) => u !== "title" && u !== "metric" ? null : !t || t.column !== u ? /* @__PURE__ */ a("span", { className: "ml-1 text-muted-foreground opacity-50", "aria-hidden": "true", children: "⇅" }) : /* @__PURE__ */ a("span", { className: "ml-1", "aria-hidden": "true", children: t.direction === "asc" ? "↑" : "↓" });
4386
+ }, m = (u) => u !== "title" && u !== "metric" ? null : !r || r.column !== u ? /* @__PURE__ */ a("span", { className: "ml-1 text-muted-foreground opacity-50", "aria-hidden": "true", children: "⇅" }) : /* @__PURE__ */ a("span", { className: "ml-1", "aria-hidden": "true", children: r.direction === "asc" ? "↑" : "↓" });
4299
4387
  return /* @__PURE__ */ f(
4300
4388
  "div",
4301
4389
  {
@@ -4307,14 +4395,14 @@ const fr = w.forwardRef(({ columns: e, showIcon: r, sort: t, onSortChange: o, co
4307
4395
  s
4308
4396
  ),
4309
4397
  children: [
4310
- r && /* @__PURE__ */ a("div", { className: n ? "w-8" : "w-10" }),
4398
+ t && /* @__PURE__ */ a("div", { className: n ? "w-8" : "w-10" }),
4311
4399
  e.map((u) => {
4312
- const b = u.sortable && (u.key === "title" || u.key === "metric"), M = t?.column === u.key;
4400
+ const b = u.sortable && (u.key === "title" || u.key === "metric"), S = r?.column === u.key;
4313
4401
  return /* @__PURE__ */ f(
4314
4402
  "div",
4315
4403
  {
4316
4404
  role: "columnheader",
4317
- "aria-sort": M ? t?.direction === "asc" ? "ascending" : "descending" : void 0,
4405
+ "aria-sort": S ? r?.direction === "asc" ? "ascending" : "descending" : void 0,
4318
4406
  className: h(
4319
4407
  u.key === "title" && "flex-1",
4320
4408
  u.key === "category" && "w-40",
@@ -4322,7 +4410,7 @@ const fr = w.forwardRef(({ columns: e, showIcon: r, sort: t, onSortChange: o, co
4322
4410
  u.align === "center" && "text-center",
4323
4411
  u.align === "right" && "text-right",
4324
4412
  b && "cursor-pointer hover:text-foreground transition-colors select-none",
4325
- M && "text-foreground"
4413
+ S && "text-foreground"
4326
4414
  ),
4327
4415
  style: u.width ? { width: u.width } : void 0,
4328
4416
  onClick: b && (u.key === "title" || u.key === "metric") ? () => c(u.key) : void 0,
@@ -4340,12 +4428,12 @@ const fr = w.forwardRef(({ columns: e, showIcon: r, sort: t, onSortChange: o, co
4340
4428
  }
4341
4429
  );
4342
4430
  });
4343
- fr.displayName = "EntityDirectoryTableHeader";
4344
- const pr = w.forwardRef(
4431
+ ft.displayName = "EntityDirectoryTableHeader";
4432
+ const pt = w.forwardRef(
4345
4433
  ({
4346
4434
  entities: e,
4347
- categories: r,
4348
- showIcons: t = !0,
4435
+ categories: t,
4436
+ showIcons: r = !0,
4349
4437
  showCategoryBadges: o = !0,
4350
4438
  showMetric: n = !0,
4351
4439
  metricLabel: s,
@@ -4356,7 +4444,7 @@ const pr = w.forwardRef(
4356
4444
  renderItem: m,
4357
4445
  className: u
4358
4446
  }, b) => {
4359
- const M = [
4447
+ const S = [
4360
4448
  {
4361
4449
  key: "title",
4362
4450
  label: s ? "Nombre" : "Name",
@@ -4381,10 +4469,10 @@ const pr = w.forwardRef(
4381
4469
  className: h("border border-border rounded-lg overflow-hidden", u),
4382
4470
  children: [
4383
4471
  /* @__PURE__ */ a(
4384
- fr,
4472
+ ft,
4385
4473
  {
4386
- columns: M,
4387
- showIcon: t,
4474
+ columns: S,
4475
+ showIcon: r,
4388
4476
  sort: i,
4389
4477
  onSortChange: c,
4390
4478
  compact: d
@@ -4392,11 +4480,11 @@ const pr = w.forwardRef(
4392
4480
  ),
4393
4481
  /* @__PURE__ */ a("div", { role: "rowgroup", children: e.map(
4394
4482
  (v) => m ? /* @__PURE__ */ a(w.Fragment, { children: m(v) }, v.id) : /* @__PURE__ */ a(
4395
- mr,
4483
+ mt,
4396
4484
  {
4397
4485
  entity: v,
4398
- categories: r,
4399
- showIcon: t,
4486
+ categories: t,
4487
+ showIcon: r,
4400
4488
  showCategoryBadge: o,
4401
4489
  showMetric: n,
4402
4490
  compact: d
@@ -4409,8 +4497,8 @@ const pr = w.forwardRef(
4409
4497
  );
4410
4498
  }
4411
4499
  );
4412
- pr.displayName = "EntityDirectoryList";
4413
- const gr = w.forwardRef(({ message: e = "No entities found", icon: r, action: t, className: o }, n) => /* @__PURE__ */ f(
4500
+ pt.displayName = "EntityDirectoryList";
4501
+ const gt = w.forwardRef(({ message: e = "No entities found", icon: t, action: r, className: o }, n) => /* @__PURE__ */ f(
4414
4502
  "div",
4415
4503
  {
4416
4504
  ref: n,
@@ -4421,14 +4509,14 @@ const gr = w.forwardRef(({ message: e = "No entities found", icon: r, action: t,
4421
4509
  o
4422
4510
  ),
4423
4511
  children: [
4424
- r && /* @__PURE__ */ a("div", { className: "mb-4 text-4xl opacity-50", "aria-hidden": "true", children: r }),
4425
- /* @__PURE__ */ a(R, { variant: "body-lg", className: "text-muted-foreground mb-4", children: e }),
4426
- t && /* @__PURE__ */ a(Q, { variant: "outline", onClick: t.onClick, children: t.label })
4512
+ t && /* @__PURE__ */ a("div", { className: "mb-4 text-4xl opacity-50", "aria-hidden": "true", children: t }),
4513
+ /* @__PURE__ */ a(A, { variant: "body-lg", className: "text-muted-foreground mb-4", children: e }),
4514
+ r && /* @__PURE__ */ a(J, { variant: "outline", onClick: r.onClick, children: r.label })
4427
4515
  ]
4428
4516
  }
4429
4517
  ));
4430
- gr.displayName = "EntityDirectoryEmptyState";
4431
- const hr = w.forwardRef(({ error: e, onRetry: r, className: t }, o) => {
4518
+ gt.displayName = "EntityDirectoryEmptyState";
4519
+ const ht = w.forwardRef(({ error: e, onRetry: t, className: r }, o) => {
4432
4520
  const n = typeof e == "string" ? e : e.message;
4433
4521
  return /* @__PURE__ */ f(
4434
4522
  "div",
@@ -4438,26 +4526,26 @@ const hr = w.forwardRef(({ error: e, onRetry: r, className: t }, o) => {
4438
4526
  "aria-live": "assertive",
4439
4527
  className: h(
4440
4528
  "flex flex-col items-center justify-center py-12 px-4 text-center",
4441
- t
4529
+ r
4442
4530
  ),
4443
4531
  children: [
4444
4532
  /* @__PURE__ */ a("div", { className: "mb-4 text-4xl", "aria-hidden": "true", children: "⚠️" }),
4445
- /* @__PURE__ */ a(R, { variant: "body-lg", className: "text-destructive mb-2 font-semibold", children: "Error" }),
4446
- /* @__PURE__ */ a(R, { variant: "body", className: "text-muted-foreground mb-4", children: n }),
4447
- r && /* @__PURE__ */ a(Q, { variant: "outline", onClick: r, children: "Try Again" })
4533
+ /* @__PURE__ */ a(A, { variant: "body-lg", className: "text-destructive mb-2 font-semibold", children: "Error" }),
4534
+ /* @__PURE__ */ a(A, { variant: "body", className: "text-muted-foreground mb-4", children: n }),
4535
+ t && /* @__PURE__ */ a(J, { variant: "outline", onClick: t, children: "Try Again" })
4448
4536
  ]
4449
4537
  }
4450
4538
  );
4451
4539
  });
4452
- hr.displayName = "EntityDirectoryErrorState";
4453
- const br = w.forwardRef(({ rows: e = 5, className: r }, t) => /* @__PURE__ */ f(
4540
+ ht.displayName = "EntityDirectoryErrorState";
4541
+ const bt = w.forwardRef(({ rows: e = 5, className: t }, r) => /* @__PURE__ */ f(
4454
4542
  "div",
4455
4543
  {
4456
- ref: t,
4544
+ ref: r,
4457
4545
  role: "status",
4458
4546
  "aria-live": "polite",
4459
4547
  "aria-label": "Loading entities",
4460
- className: h("space-y-3", r),
4548
+ className: h("space-y-3", t),
4461
4549
  children: [
4462
4550
  Array.from({ length: e }).map((o, n) => /* @__PURE__ */ f(
4463
4551
  "div",
@@ -4479,8 +4567,8 @@ const br = w.forwardRef(({ rows: e = 5, className: r }, t) => /* @__PURE__ */ f(
4479
4567
  ]
4480
4568
  }
4481
4569
  ));
4482
- br.displayName = "EntityDirectoryLoadingState";
4483
- const xr = w.forwardRef(({ value: e, onChange: r, placeholder: t = "Search entities...", className: o }, n) => /* @__PURE__ */ f("div", { className: h("relative", o), children: [
4570
+ bt.displayName = "EntityDirectoryLoadingState";
4571
+ const xt = w.forwardRef(({ value: e, onChange: t, placeholder: r = "Search entities...", className: o }, n) => /* @__PURE__ */ f("div", { className: h("relative", o), children: [
4484
4572
  /* @__PURE__ */ a("div", { className: "absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none", children: /* @__PURE__ */ a(
4485
4573
  "svg",
4486
4574
  {
@@ -4507,8 +4595,8 @@ const xr = w.forwardRef(({ value: e, onChange: r, placeholder: t = "Search entit
4507
4595
  ref: n,
4508
4596
  type: "search",
4509
4597
  value: e,
4510
- onChange: (s) => r(s.target.value),
4511
- placeholder: t,
4598
+ onChange: (s) => t(s.target.value),
4599
+ placeholder: r,
4512
4600
  className: h(
4513
4601
  "block w-full pl-10 pr-3 py-2 border border-input rounded-md",
4514
4602
  "bg-background text-foreground placeholder:text-muted-foreground",
@@ -4522,7 +4610,7 @@ const xr = w.forwardRef(({ value: e, onChange: r, placeholder: t = "Search entit
4522
4610
  "button",
4523
4611
  {
4524
4612
  type: "button",
4525
- onClick: () => r(""),
4613
+ onClick: () => t(""),
4526
4614
  className: "absolute inset-y-0 right-0 flex items-center pr-3 text-muted-foreground hover:text-foreground",
4527
4615
  "aria-label": "Clear search",
4528
4616
  children: /* @__PURE__ */ a(
@@ -4546,12 +4634,12 @@ const xr = w.forwardRef(({ value: e, onChange: r, placeholder: t = "Search entit
4546
4634
  }
4547
4635
  )
4548
4636
  ] }));
4549
- xr.displayName = "EntityDirectorySearchFilter";
4550
- const mo = w.forwardRef(
4637
+ xt.displayName = "EntityDirectorySearchFilter";
4638
+ const ho = w.forwardRef(
4551
4639
  ({
4552
4640
  entities: e,
4553
- categories: r,
4554
- title: t,
4641
+ categories: t,
4642
+ title: r,
4555
4643
  description: o,
4556
4644
  activeCategory: n,
4557
4645
  onCategoryChange: s,
@@ -4562,37 +4650,37 @@ const mo = w.forwardRef(
4562
4650
  onSearchChange: m,
4563
4651
  searchPlaceholder: u,
4564
4652
  sortable: b = !1,
4565
- sort: M,
4653
+ sort: S,
4566
4654
  onSortChange: v,
4567
- showIcons: k = !0,
4655
+ showIcons: N = !0,
4568
4656
  showCategoryBadges: E = !0,
4569
- showMetric: I = !0,
4570
- metricLabel: A,
4571
- compact: L = !1,
4572
- loading: P = !1,
4573
- error: S,
4574
- emptyMessage: V,
4575
- onRetry: z,
4657
+ showMetric: z = !0,
4658
+ metricLabel: R,
4659
+ compact: k = !1,
4660
+ loading: I = !1,
4661
+ error: P,
4662
+ emptyMessage: F,
4663
+ onRetry: L,
4576
4664
  emptyState: y,
4577
4665
  errorState: _,
4578
4666
  loadingState: H,
4579
- renderItem: Y,
4580
- className: U,
4581
- style: B
4582
- }, Z) => {
4583
- const G = r && r.length > 0, C = !P && !S && e.length === 0, T = !P && !!S;
4667
+ renderItem: ee,
4668
+ className: q,
4669
+ style: te
4670
+ }, K) => {
4671
+ const B = t && t.length > 0, D = !I && !P && e.length === 0, G = !I && !!P;
4584
4672
  return /* @__PURE__ */ f(
4585
4673
  "div",
4586
4674
  {
4587
- ref: Z,
4588
- className: h("space-y-6", U),
4589
- style: B,
4675
+ ref: K,
4676
+ className: h("space-y-6", q),
4677
+ style: te,
4590
4678
  children: [
4591
- /* @__PURE__ */ a(ur, { title: t, description: o }),
4592
- G && s && /* @__PURE__ */ a(
4593
- dr,
4679
+ /* @__PURE__ */ a(ut, { title: r, description: o }),
4680
+ B && s && /* @__PURE__ */ a(
4681
+ dt,
4594
4682
  {
4595
- categories: r,
4683
+ categories: t,
4596
4684
  activeCategory: n,
4597
4685
  onCategoryChange: s,
4598
4686
  showCount: l,
@@ -4600,30 +4688,30 @@ const mo = w.forwardRef(
4600
4688
  }
4601
4689
  ),
4602
4690
  c && m && /* @__PURE__ */ a(
4603
- xr,
4691
+ xt,
4604
4692
  {
4605
4693
  value: d,
4606
4694
  onChange: m,
4607
4695
  placeholder: u
4608
4696
  }
4609
4697
  ),
4610
- P && (H || /* @__PURE__ */ a(br, {})),
4611
- T && (_ || /* @__PURE__ */ a(hr, { error: S, onRetry: z })),
4612
- C && (y || /* @__PURE__ */ a(gr, { message: V })),
4613
- !P && !T && !C && /* @__PURE__ */ a(
4614
- pr,
4698
+ I && (H || /* @__PURE__ */ a(bt, {})),
4699
+ G && (_ || /* @__PURE__ */ a(ht, { error: P, onRetry: L })),
4700
+ D && (y || /* @__PURE__ */ a(gt, { message: F })),
4701
+ !I && !G && !D && /* @__PURE__ */ a(
4702
+ pt,
4615
4703
  {
4616
4704
  entities: e,
4617
- categories: r,
4618
- showIcons: k,
4705
+ categories: t,
4706
+ showIcons: N,
4619
4707
  showCategoryBadges: E,
4620
- showMetric: I,
4621
- metricLabel: A,
4708
+ showMetric: z,
4709
+ metricLabel: R,
4622
4710
  sortable: b,
4623
- sort: M,
4711
+ sort: S,
4624
4712
  onSortChange: v,
4625
- compact: L,
4626
- renderItem: Y
4713
+ compact: k,
4714
+ renderItem: ee
4627
4715
  }
4628
4716
  )
4629
4717
  ]
@@ -4631,16 +4719,16 @@ const mo = w.forwardRef(
4631
4719
  );
4632
4720
  }
4633
4721
  );
4634
- mo.displayName = "EntityDirectory";
4635
- function fo(e) {
4722
+ ho.displayName = "EntityDirectory";
4723
+ function bo(e) {
4636
4724
  const {
4637
- propertyPrice: r,
4638
- downPayment: t,
4725
+ propertyPrice: t,
4726
+ downPayment: r,
4639
4727
  loanTerm: o,
4640
4728
  interestRate: n,
4641
4729
  propertyTax: s = 0,
4642
4730
  hoaFees: l = 0
4643
- } = e, i = r - t, c = n / 100 / 12, d = o * 12;
4731
+ } = e, i = t - r, c = n / 100 / 12, d = o * 12;
4644
4732
  let m;
4645
4733
  if (c === 0)
4646
4734
  m = i / d;
@@ -4648,10 +4736,10 @@ function fo(e) {
4648
4736
  const v = Math.pow(1 + c, d);
4649
4737
  m = i * (c * v) / (v - 1);
4650
4738
  }
4651
- const u = m * d, b = u - i, M = m + s + l;
4739
+ const u = m * d, b = u - i, S = m + s + l;
4652
4740
  return {
4653
4741
  monthlyPayment: Math.round(m * 100) / 100,
4654
- totalMonthlyPayment: Math.round(M * 100) / 100,
4742
+ totalMonthlyPayment: Math.round(S * 100) / 100,
4655
4743
  totalAmount: Math.round(u * 100) / 100,
4656
4744
  totalInterest: Math.round(b * 100) / 100,
4657
4745
  loanPrincipal: Math.round(i * 100) / 100,
@@ -4662,126 +4750,126 @@ function fo(e) {
4662
4750
  }
4663
4751
  };
4664
4752
  }
4665
- function ne(e, r = "MXN") {
4753
+ function de(e, t = "MXN") {
4666
4754
  return new Intl.NumberFormat("es-MX", {
4667
4755
  style: "currency",
4668
- currency: r,
4756
+ currency: t,
4669
4757
  minimumFractionDigits: 0,
4670
4758
  maximumFractionDigits: 0
4671
4759
  }).format(e);
4672
4760
  }
4673
- function zo(e, r = 3) {
4674
- return `${e.toFixed(r)} %`;
4761
+ function $o(e, t = 3) {
4762
+ return `${e.toFixed(t)} %`;
4675
4763
  }
4676
- function Lo(e) {
4677
- const r = {};
4678
- return (!e.propertyPrice || e.propertyPrice <= 0) && (r.propertyPrice = "El precio de la propiedad debe ser mayor a 0"), (!e.downPayment || e.downPayment < 0) && (r.downPayment = "El enganche debe ser mayor o igual a 0"), e.propertyPrice && e.downPayment && e.downPayment >= e.propertyPrice && (r.downPayment = "El enganche debe ser menor al precio de la propiedad"), (!e.loanTerm || e.loanTerm <= 0) && (r.loanTerm = "El plazo del préstamo debe ser mayor a 0"), (e.interestRate === void 0 || e.interestRate < 0) && (r.interestRate = "La tasa de interés debe ser mayor o igual a 0"), {
4679
- isValid: Object.keys(r).length === 0,
4680
- errors: r
4764
+ function Vo(e) {
4765
+ const t = {};
4766
+ return (!e.propertyPrice || e.propertyPrice <= 0) && (t.propertyPrice = "El precio de la propiedad debe ser mayor a 0"), (!e.downPayment || e.downPayment < 0) && (t.downPayment = "El enganche debe ser mayor o igual a 0"), e.propertyPrice && e.downPayment && e.downPayment >= e.propertyPrice && (t.downPayment = "El enganche debe ser menor al precio de la propiedad"), (!e.loanTerm || e.loanTerm <= 0) && (t.loanTerm = "El plazo del préstamo debe ser mayor a 0"), (e.interestRate === void 0 || e.interestRate < 0) && (t.interestRate = "La tasa de interés debe ser mayor o igual a 0"), {
4767
+ isValid: Object.keys(t).length === 0,
4768
+ errors: t
4681
4769
  };
4682
4770
  }
4683
- const yr = [
4771
+ const yt = [
4684
4772
  { value: "15-years", label: "15 años fijos", years: 15 },
4685
4773
  { value: "20-years", label: "20 años fijos", years: 20 },
4686
4774
  { value: "30-years", label: "30 años fijos", years: 30 },
4687
4775
  { value: "40-years", label: "40 años fijos", years: 40 }
4688
- ], po = yr.map(
4776
+ ], xo = yt.map(
4689
4777
  (e) => ({
4690
4778
  value: e.value,
4691
4779
  label: e.label
4692
4780
  })
4693
- ), fe = {
4781
+ ), be = {
4694
4782
  propertyPrice: 2e7,
4695
4783
  downPayment: 2e5,
4696
4784
  loanProgram: "30-years",
4697
4785
  interestRate: 6.5
4698
- }, we = {
4786
+ }, Me = {
4699
4787
  principalAndInterest: "#0a2540",
4700
4788
  // Dark blue/navy
4701
4789
  propertyTax: "#4da6c7",
4702
4790
  // Light blue
4703
4791
  hoaFees: "#7fc9e3"
4704
4792
  // Very light blue
4705
- }, go = w.forwardRef(
4793
+ }, yo = w.forwardRef(
4706
4794
  ({
4707
- initialPropertyPrice: e = fe.propertyPrice,
4708
- initialDownPayment: r = fe.downPayment,
4709
- initialLoanProgram: t = fe.loanProgram,
4710
- initialInterestRate: o = fe.interestRate,
4795
+ initialPropertyPrice: e = be.propertyPrice,
4796
+ initialDownPayment: t = be.downPayment,
4797
+ initialLoanProgram: r = be.loanProgram,
4798
+ initialInterestRate: o = be.interestRate,
4711
4799
  showPropertyTax: n = !1,
4712
4800
  showHoaFees: s = !1,
4713
4801
  className: l,
4714
4802
  onCalculationChange: i
4715
4803
  }, c) => {
4716
- const [d, m] = w.useState(e), [u, b] = w.useState(r), [M, v] = w.useState(t), [k, E] = w.useState(o), [I, A] = w.useState(0), [L, P] = w.useState(0), S = w.useMemo(() => {
4717
- const y = yr.find(
4718
- (H) => H.value === M
4804
+ const [d, m] = w.useState(e), [u, b] = w.useState(t), [S, v] = w.useState(r), [N, E] = w.useState(o), [z, R] = w.useState(0), [k, I] = w.useState(0), P = w.useMemo(() => {
4805
+ const y = yt.find(
4806
+ (H) => H.value === S
4719
4807
  )?.years || 30;
4720
- return fo({
4808
+ return bo({
4721
4809
  propertyPrice: d,
4722
4810
  downPayment: u,
4723
4811
  loanTerm: y,
4724
- interestRate: k,
4725
- propertyTax: n ? I : void 0,
4726
- hoaFees: s ? L : void 0
4812
+ interestRate: N,
4813
+ propertyTax: n ? z : void 0,
4814
+ hoaFees: s ? k : void 0
4727
4815
  });
4728
4816
  }, [
4729
4817
  d,
4730
4818
  u,
4731
- M,
4819
+ S,
4820
+ N,
4821
+ z,
4732
4822
  k,
4733
- I,
4734
- L,
4735
4823
  n,
4736
4824
  s
4737
4825
  ]);
4738
4826
  w.useEffect(() => {
4739
- i?.(S);
4740
- }, [S, i]);
4741
- const V = w.useMemo(() => {
4742
- const z = [
4827
+ i?.(P);
4828
+ }, [P, i]);
4829
+ const F = w.useMemo(() => {
4830
+ const L = [
4743
4831
  {
4744
4832
  label: "Principal e Intereses",
4745
- value: S.breakdown.principalAndInterest,
4746
- color: we.principalAndInterest
4833
+ value: P.breakdown.principalAndInterest,
4834
+ color: Me.principalAndInterest
4747
4835
  }
4748
4836
  ];
4749
- return n && S.breakdown.propertyTax > 0 && z.push({
4837
+ return n && P.breakdown.propertyTax > 0 && L.push({
4750
4838
  label: "Impuesto Predial",
4751
- value: S.breakdown.propertyTax,
4752
- color: we.propertyTax
4753
- }), s && S.breakdown.hoaFees > 0 && z.push({
4839
+ value: P.breakdown.propertyTax,
4840
+ color: Me.propertyTax
4841
+ }), s && P.breakdown.hoaFees > 0 && L.push({
4754
4842
  label: "Cuota HOA",
4755
- value: S.breakdown.hoaFees,
4756
- color: we.hoaFees
4757
- }), z;
4758
- }, [S, n, s]);
4759
- return /* @__PURE__ */ a("div", { ref: c, className: h("w-full", l), children: /* @__PURE__ */ a(sr, { padding: "lg", className: "w-full", children: /* @__PURE__ */ f("div", { className: "space-y-6", children: [
4843
+ value: P.breakdown.hoaFees,
4844
+ color: Me.hoaFees
4845
+ }), L;
4846
+ }, [P, n, s]);
4847
+ return /* @__PURE__ */ a("div", { ref: c, className: h("w-full", l), children: /* @__PURE__ */ a(st, { padding: "lg", className: "w-full", children: /* @__PURE__ */ f("div", { className: "space-y-6", children: [
4760
4848
  /* @__PURE__ */ f("div", { children: [
4761
- /* @__PURE__ */ a(R, { variant: "h2", className: "mb-2", children: "Calculadora de Hipotecas" }),
4762
- /* @__PURE__ */ a(R, { variant: "body", color: "secondary", className: "max-w-2xl", children: "Calcule el pago mensual de su hipoteca, incluyendo capital e intereses, impuestos prediales y cuota de la asociación de propietarios. Ajuste los valores para obtener una tasa más precisa." })
4849
+ /* @__PURE__ */ a(A, { variant: "h2", className: "mb-2", children: "Calculadora de Hipotecas" }),
4850
+ /* @__PURE__ */ a(A, { variant: "body", color: "secondary", className: "max-w-2xl", children: "Calcule el pago mensual de su hipoteca, incluyendo capital e intereses, impuestos prediales y cuota de la asociación de propietarios. Ajuste los valores para obtener una tasa más precisa." })
4763
4851
  ] }),
4764
4852
  /* @__PURE__ */ f("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-8", children: [
4765
4853
  /* @__PURE__ */ f("div", { className: "space-y-4", children: [
4766
4854
  /* @__PURE__ */ a(
4767
- re,
4855
+ oe,
4768
4856
  {
4769
4857
  label: "Precio de la propiedad",
4770
4858
  type: "number",
4771
4859
  value: d,
4772
- onChange: (z) => m(Number(z.target.value)),
4860
+ onChange: (L) => m(Number(L.target.value)),
4773
4861
  suffix: "MXN",
4774
4862
  min: 0,
4775
4863
  step: 1e4
4776
4864
  }
4777
4865
  ),
4778
4866
  /* @__PURE__ */ a(
4779
- re,
4867
+ oe,
4780
4868
  {
4781
4869
  label: "Enganche",
4782
4870
  type: "number",
4783
4871
  value: u,
4784
- onChange: (z) => b(Number(z.target.value)),
4872
+ onChange: (L) => b(Number(L.target.value)),
4785
4873
  suffix: "MXN",
4786
4874
  min: 0,
4787
4875
  step: 1e4
@@ -4789,21 +4877,21 @@ const yr = [
4789
4877
  ),
4790
4878
  /* @__PURE__ */ f("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
4791
4879
  /* @__PURE__ */ a(
4792
- lr,
4880
+ lt,
4793
4881
  {
4794
4882
  label: "Programa de préstamos",
4795
- value: M,
4796
- onChange: (z) => v(z.target.value),
4797
- options: po
4883
+ value: S,
4884
+ onChange: (L) => v(L.target.value),
4885
+ options: xo
4798
4886
  }
4799
4887
  ),
4800
4888
  /* @__PURE__ */ a(
4801
- re,
4889
+ oe,
4802
4890
  {
4803
4891
  label: "Tasa de interés",
4804
4892
  type: "number",
4805
- value: k,
4806
- onChange: (z) => E(Number(z.target.value)),
4893
+ value: N,
4894
+ onChange: (L) => E(Number(L.target.value)),
4807
4895
  suffix: "%",
4808
4896
  min: 0,
4809
4897
  max: 100,
@@ -4812,24 +4900,24 @@ const yr = [
4812
4900
  )
4813
4901
  ] }),
4814
4902
  n && /* @__PURE__ */ a(
4815
- re,
4903
+ oe,
4816
4904
  {
4817
4905
  label: "Impuesto predial mensual",
4818
4906
  type: "number",
4819
- value: I,
4820
- onChange: (z) => A(Number(z.target.value)),
4907
+ value: z,
4908
+ onChange: (L) => R(Number(L.target.value)),
4821
4909
  suffix: "MXN",
4822
4910
  min: 0,
4823
4911
  step: 100
4824
4912
  }
4825
4913
  ),
4826
4914
  s && /* @__PURE__ */ a(
4827
- re,
4915
+ oe,
4828
4916
  {
4829
4917
  label: "Cuota HOA mensual",
4830
4918
  type: "number",
4831
- value: L,
4832
- onChange: (z) => P(Number(z.target.value)),
4919
+ value: k,
4920
+ onChange: (L) => I(Number(L.target.value)),
4833
4921
  suffix: "MXN",
4834
4922
  min: 0,
4835
4923
  step: 100
@@ -4838,14 +4926,14 @@ const yr = [
4838
4926
  ] }),
4839
4927
  /* @__PURE__ */ f("div", { className: "flex flex-col items-center justify-center", children: [
4840
4928
  /* @__PURE__ */ a(
4841
- cr,
4929
+ ct,
4842
4930
  {
4843
- segments: V,
4931
+ segments: F,
4844
4932
  size: 320,
4845
4933
  innerRadiusRatio: 0.65,
4846
4934
  centerContent: /* @__PURE__ */ f("div", { className: "text-center", children: [
4847
- /* @__PURE__ */ a(R, { variant: "h1", className: "font-bold mb-1", children: ne(S.totalMonthlyPayment) }),
4848
- /* @__PURE__ */ a(R, { variant: "body-sm", color: "secondary", children: "Tu Pago" })
4935
+ /* @__PURE__ */ a(A, { variant: "h1", className: "font-bold mb-1", children: de(P.totalMonthlyPayment) }),
4936
+ /* @__PURE__ */ a(A, { variant: "body-sm", color: "secondary", children: "Tu Pago" })
4849
4937
  ] }),
4850
4938
  showLegend: !0,
4851
4939
  legendPosition: "bottom"
@@ -4853,36 +4941,36 @@ const yr = [
4853
4941
  ),
4854
4942
  /* @__PURE__ */ f("div", { className: "mt-6 text-center space-y-1", children: [
4855
4943
  /* @__PURE__ */ f("div", { className: "flex items-center justify-center gap-2 text-sm text-success", children: [
4856
- /* @__PURE__ */ a(Jt, { className: "h-4 w-4" }),
4944
+ /* @__PURE__ */ a(ro, { className: "h-4 w-4" }),
4857
4945
  /* @__PURE__ */ a("span", { className: "font-medium", children: "Trending up by 5.2% this month" })
4858
4946
  ] }),
4859
- /* @__PURE__ */ a(R, { variant: "caption", color: "secondary", children: "Showing total visitors for the last 6 months" })
4947
+ /* @__PURE__ */ a(A, { variant: "caption", color: "secondary", children: "Showing total visitors for the last 6 months" })
4860
4948
  ] })
4861
4949
  ] })
4862
4950
  ] }),
4863
4951
  /* @__PURE__ */ f("div", { className: "grid grid-cols-2 md:grid-cols-4 gap-4 pt-4 border-t", children: [
4864
4952
  /* @__PURE__ */ f("div", { children: [
4865
- /* @__PURE__ */ a(R, { variant: "caption", color: "secondary", className: "mb-1", children: "Monto del préstamo" }),
4866
- /* @__PURE__ */ a(R, { variant: "body", weight: "semibold", children: ne(S.loanPrincipal) })
4953
+ /* @__PURE__ */ a(A, { variant: "caption", color: "secondary", className: "mb-1", children: "Monto del préstamo" }),
4954
+ /* @__PURE__ */ a(A, { variant: "body", weight: "semibold", children: de(P.loanPrincipal) })
4867
4955
  ] }),
4868
4956
  /* @__PURE__ */ f("div", { children: [
4869
- /* @__PURE__ */ a(R, { variant: "caption", color: "secondary", className: "mb-1", children: "Pago mensual" }),
4870
- /* @__PURE__ */ a(R, { variant: "body", weight: "semibold", children: ne(S.monthlyPayment) })
4957
+ /* @__PURE__ */ a(A, { variant: "caption", color: "secondary", className: "mb-1", children: "Pago mensual" }),
4958
+ /* @__PURE__ */ a(A, { variant: "body", weight: "semibold", children: de(P.monthlyPayment) })
4871
4959
  ] }),
4872
4960
  /* @__PURE__ */ f("div", { children: [
4873
- /* @__PURE__ */ a(R, { variant: "caption", color: "secondary", className: "mb-1", children: "Interés total" }),
4874
- /* @__PURE__ */ a(R, { variant: "body", weight: "semibold", children: ne(S.totalInterest) })
4961
+ /* @__PURE__ */ a(A, { variant: "caption", color: "secondary", className: "mb-1", children: "Interés total" }),
4962
+ /* @__PURE__ */ a(A, { variant: "body", weight: "semibold", children: de(P.totalInterest) })
4875
4963
  ] }),
4876
4964
  /* @__PURE__ */ f("div", { children: [
4877
- /* @__PURE__ */ a(R, { variant: "caption", color: "secondary", className: "mb-1", children: "Total a pagar" }),
4878
- /* @__PURE__ */ a(R, { variant: "body", weight: "semibold", children: ne(S.totalAmount) })
4965
+ /* @__PURE__ */ a(A, { variant: "caption", color: "secondary", className: "mb-1", children: "Total a pagar" }),
4966
+ /* @__PURE__ */ a(A, { variant: "body", weight: "semibold", children: de(P.totalAmount) })
4879
4967
  ] })
4880
4968
  ] })
4881
4969
  ] }) }) });
4882
4970
  }
4883
4971
  );
4884
- go.displayName = "MortgageCalculator";
4885
- const ho = (e) => {
4972
+ yo.displayName = "MortgageCalculator";
4973
+ const vo = (e) => {
4886
4974
  switch (e) {
4887
4975
  case "sm":
4888
4976
  return "p-4";
@@ -4893,32 +4981,32 @@ const ho = (e) => {
4893
4981
  default:
4894
4982
  return "p-0";
4895
4983
  }
4896
- }, Ae = ({
4984
+ }, je = ({
4897
4985
  children: e,
4898
- header: r,
4899
- sidebar: t,
4986
+ header: t,
4987
+ sidebar: r,
4900
4988
  footer: o,
4901
4989
  padding: n = "md"
4902
4990
  }) => {
4903
4991
  const s = h("min-h-screen flex flex-col"), l = h("bg-card border-b border-border z-10"), i = h("flex flex-1"), c = h("w-70 bg-card border-r border-border p-6"), d = h("flex-1 flex flex-col"), m = h(
4904
4992
  "flex-1 mx-auto w-full max-w-7xl",
4905
- ho(n)
4993
+ vo(n)
4906
4994
  );
4907
4995
  return /* @__PURE__ */ f("div", { className: s, children: [
4908
- r && /* @__PURE__ */ a("header", { className: l, children: r }),
4996
+ t && /* @__PURE__ */ a("header", { className: l, children: t }),
4909
4997
  /* @__PURE__ */ f("div", { className: i, children: [
4910
- t && /* @__PURE__ */ a("aside", { className: c, children: t }),
4998
+ r && /* @__PURE__ */ a("aside", { className: c, children: r }),
4911
4999
  /* @__PURE__ */ a("div", { className: d, children: /* @__PURE__ */ a("main", { className: m, children: e }) })
4912
5000
  ] }),
4913
5001
  o && /* @__PURE__ */ a("footer", { className: "bg-card border-t border-border mt-auto", children: o })
4914
5002
  ] });
4915
- }, To = ({ children: e, header: r, sidebar: t }) => /* @__PURE__ */ a(Ae, { header: r, sidebar: t, padding: "lg", children: /* @__PURE__ */ a("div", { className: "max-w-screen-2xl", children: e }) }), $o = ({ children: e, title: r, subtitle: t }) => /* @__PURE__ */ a(Ae, { padding: "lg", children: /* @__PURE__ */ f("div", { className: "max-w-md mx-auto", children: [
5003
+ }, Fo = ({ children: e, header: t, sidebar: r }) => /* @__PURE__ */ a(je, { header: t, sidebar: r, padding: "lg", children: /* @__PURE__ */ a("div", { className: "max-w-screen-2xl", children: e }) }), _o = ({ children: e, title: t, subtitle: r }) => /* @__PURE__ */ a(je, { padding: "lg", children: /* @__PURE__ */ f("div", { className: "max-w-md mx-auto", children: [
4916
5004
  /* @__PURE__ */ f("div", { className: "text-center mb-8", children: [
4917
- r && /* @__PURE__ */ a(R, { variant: "h2", className: "mb-2", children: r }),
4918
- t && /* @__PURE__ */ a(R, { variant: "body", color: "muted", children: t })
5005
+ t && /* @__PURE__ */ a(A, { variant: "h2", className: "mb-2", children: t }),
5006
+ r && /* @__PURE__ */ a(A, { variant: "body", color: "muted", children: r })
4919
5007
  ] }),
4920
5008
  e
4921
- ] }) }), jo = ({ children: e, header: r, footer: t }) => /* @__PURE__ */ a(Ae, { header: r, footer: t, padding: "none", children: e }), bo = {
5009
+ ] }) }), Do = ({ children: e, header: t, footer: r }) => /* @__PURE__ */ a(je, { header: t, footer: r, padding: "none", children: e }), wo = {
4922
5010
  name: "light",
4923
5011
  colors: {
4924
5012
  primary: "#007bff",
@@ -4984,7 +5072,7 @@ const ho = (e) => {
4984
5072
  large: "0 10px 20px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.10)",
4985
5073
  xl: "0 15px 25px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.05)"
4986
5074
  }
4987
- }, xo = {
5075
+ }, ko = {
4988
5076
  name: "dark",
4989
5077
  colors: {
4990
5078
  primary: "#0d6efd",
@@ -5050,7 +5138,7 @@ const ho = (e) => {
5050
5138
  large: "0 10px 20px rgba(0, 0, 0, 0.4), 0 3px 6px rgba(0, 0, 0, 0.3)",
5051
5139
  xl: "0 15px 25px rgba(0, 0, 0, 0.4), 0 5px 10px rgba(0, 0, 0, 0.3)"
5052
5140
  }
5053
- }, yo = {
5141
+ }, No = {
5054
5142
  name: "corporate",
5055
5143
  colors: {
5056
5144
  primary: "#1a365d",
@@ -5116,7 +5204,7 @@ const ho = (e) => {
5116
5204
  large: "0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05)",
5117
5205
  xl: "0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04)"
5118
5206
  }
5119
- }, vo = {
5207
+ }, Co = {
5120
5208
  name: "minimal",
5121
5209
  colors: {
5122
5210
  primary: "#000000",
@@ -5182,27 +5270,27 @@ const ho = (e) => {
5182
5270
  large: "none",
5183
5271
  xl: "none"
5184
5272
  }
5185
- }, ke = {
5186
- light: bo,
5187
- dark: xo,
5188
- corporate: yo,
5189
- minimal: vo
5190
- }, wo = Ee(), ko = Ee(), No = Ee(), J = Nr(ke.light).on(wo, (e, r) => ke[r] || e).on(ko, (e, r) => r).on(No, () => ke.light), Vo = J.map((e) => e.name), Fo = J.map((e) => e.colors);
5191
- J.map((e) => e.shapes);
5192
- J.map((e) => e.typography);
5193
- J.map((e) => e.spacing);
5194
- J.map((e) => e.shadows);
5195
- const vr = Pe.createContext(null), _o = () => {
5196
- const e = wr(vr);
5273
+ }, Se = {
5274
+ light: wo,
5275
+ dark: ko,
5276
+ corporate: No,
5277
+ minimal: Co
5278
+ }, Mo = Re(), So = Re(), Po = Re(), Y = Nt(Se.light).on(Mo, (e, t) => Se[t] || e).on(So, (e, t) => t).on(Po, () => Se.light), Go = Y.map((e) => e.name), Wo = Y.map((e) => e.colors);
5279
+ Y.map((e) => e.shapes);
5280
+ Y.map((e) => e.typography);
5281
+ Y.map((e) => e.spacing);
5282
+ Y.map((e) => e.shadows);
5283
+ const vt = Ae.createContext(null), Bo = () => {
5284
+ const e = wt(vt);
5197
5285
  if (!e)
5198
5286
  throw new Error("useTheme must be used within a ThemeProvider");
5199
5287
  return e;
5200
- }, Do = ({ children: e }) => {
5201
- const t = {
5202
- theme: kr(J)
5288
+ }, Ho = ({ children: e }) => {
5289
+ const r = {
5290
+ theme: kt(Y)
5203
5291
  };
5204
- return /* @__PURE__ */ a(vr.Provider, { value: t, children: e });
5205
- }, Go = {
5292
+ return /* @__PURE__ */ a(vt.Provider, { value: r, children: e });
5293
+ }, Oo = {
5206
5294
  // Spacing scale (in rem)
5207
5295
  spacing: {
5208
5296
  xs: "0.25rem",
@@ -5297,7 +5385,7 @@ const vr = Pe.createContext(null), _o = () => {
5297
5385
  out: "ease-out",
5298
5386
  inOut: "ease-in-out"
5299
5387
  }
5300
- }, Wo = {
5388
+ }, Uo = {
5301
5389
  button: {
5302
5390
  size: {
5303
5391
  sm: "h-9 px-3 text-sm",
@@ -5328,22 +5416,22 @@ const vr = Pe.createContext(null), _o = () => {
5328
5416
  outlined: "bg-card text-card-foreground border-2"
5329
5417
  }
5330
5418
  }
5331
- }, Bo = {
5419
+ }, qo = {
5332
5420
  sm: "640px",
5333
5421
  md: "768px",
5334
5422
  lg: "1024px",
5335
5423
  xl: "1280px",
5336
5424
  "2xl": "1536px"
5337
- }, Oo = {
5425
+ }, Xo = {
5338
5426
  /**
5339
5427
  * Get a color value with opacity support
5340
5428
  */
5341
- withOpacity: (e, r) => r !== void 0 ? `hsl(var(${e}) / ${r})` : `hsl(var(${e}))`,
5429
+ withOpacity: (e, t) => t !== void 0 ? `hsl(var(${e}) / ${t})` : `hsl(var(${e}))`,
5342
5430
  /**
5343
5431
  * Get a color from the design system palette
5344
5432
  */
5345
5433
  get: (e) => `hsl(var(--${e}))`
5346
- }, Ho = {
5434
+ }, Zo = {
5347
5435
  /**
5348
5436
  * Generate a unique ID for form elements and their labels
5349
5437
  */
@@ -5362,7 +5450,7 @@ const vr = Pe.createContext(null), _o = () => {
5362
5450
  only: "absolute w-px h-px p-0 -m-px overflow-hidden whitespace-nowrap border-0",
5363
5451
  not: "not-sr-only"
5364
5452
  }
5365
- }, Uo = {
5453
+ }, Ko = {
5366
5454
  icon: {
5367
5455
  xs: "w-3 h-3",
5368
5456
  sm: "w-4 h-4",
@@ -5377,7 +5465,7 @@ const vr = Pe.createContext(null), _o = () => {
5377
5465
  lg: "w-12 h-12",
5378
5466
  xl: "w-16 h-16"
5379
5467
  }
5380
- }, qo = {
5468
+ }, Qo = {
5381
5469
  /**
5382
5470
  * Fade animations
5383
5471
  */
@@ -5401,7 +5489,7 @@ const vr = Pe.createContext(null), _o = () => {
5401
5489
  in: "animate-in scale-in duration-200",
5402
5490
  out: "animate-out scale-out duration-200"
5403
5491
  }
5404
- }, Xo = {
5492
+ }, Jo = {
5405
5493
  /**
5406
5494
  * Container utilities
5407
5495
  */
@@ -5435,7 +5523,7 @@ const vr = Pe.createContext(null), _o = () => {
5435
5523
  col: "flex flex-col",
5436
5524
  colCenter: "flex flex-col items-center justify-center"
5437
5525
  }
5438
- }, Zo = {
5526
+ }, Yo = {
5439
5527
  /**
5440
5528
  * Check if dark mode is active
5441
5529
  */
@@ -5452,90 +5540,90 @@ const vr = Pe.createContext(null), _o = () => {
5452
5540
  set: (e) => {
5453
5541
  typeof window > "u" || document.documentElement.classList.toggle("dark", e === "dark");
5454
5542
  }
5455
- }, Ko = {
5543
+ }, ea = {
5456
5544
  /**
5457
5545
  * Debounce function for performance optimization
5458
5546
  */
5459
- debounce: (e, r) => {
5460
- let t;
5547
+ debounce: (e, t) => {
5548
+ let r;
5461
5549
  return (...o) => {
5462
- clearTimeout(t), t = setTimeout(() => e(...o), r);
5550
+ clearTimeout(r), r = setTimeout(() => e(...o), t);
5463
5551
  };
5464
5552
  },
5465
5553
  /**
5466
5554
  * Throttle function for performance optimization
5467
5555
  */
5468
- throttle: (e, r) => {
5469
- let t;
5556
+ throttle: (e, t) => {
5557
+ let r;
5470
5558
  return (...o) => {
5471
- t || (e(...o), t = !0, setTimeout(() => t = !1, r));
5559
+ r || (e(...o), r = !0, setTimeout(() => r = !1, t));
5472
5560
  };
5473
5561
  }
5474
- }, Qo = ({ href: e, children: r }) => /* @__PURE__ */ a(
5562
+ }, ta = ({ href: e, children: t }) => /* @__PURE__ */ a(
5475
5563
  "a",
5476
5564
  {
5477
5565
  href: e,
5478
5566
  className: "sr-only focus:not-sr-only focus:absolute focus:top-4 focus:left-4 focus:z-50 focus:px-4 focus:py-2 focus:bg-primary focus:text-white focus:rounded",
5479
- children: r
5567
+ children: t
5480
5568
  }
5481
5569
  );
5482
5570
  export {
5483
- J as $theme,
5484
- Fo as $themeColors,
5485
- Vo as $themeName,
5486
- $o as AuthLayout,
5487
- Q as Button,
5488
- sr as Card,
5489
- dr as CategoryChips,
5490
- Re as Chip,
5491
- Eo as CompoundCard,
5492
- Io as ConfirmModal,
5493
- To as DashboardLayout,
5494
- cr as DonutChart,
5495
- mo as EntityDirectory,
5496
- re as Input,
5497
- jo as MarketingLayout,
5498
- Nt as Modal,
5499
- Ct as ModalWithActions,
5500
- go as MortgageCalculator,
5501
- Ae as PageLayout,
5502
- Ao as PropertyCard,
5503
- uo as PropertyGallery,
5504
- lr as Select,
5505
- Qo as SkipLink,
5506
- R as Text,
5507
- Do as ThemeProvider,
5508
- Ho as a11y,
5509
- Ho as accessibilityUtils,
5510
- qo as animationUtils,
5511
- qo as animations,
5512
- Bo as breakpoints,
5513
- fo as calculateMortgage,
5571
+ Y as $theme,
5572
+ Wo as $themeColors,
5573
+ Go as $themeName,
5574
+ _o as AuthLayout,
5575
+ J as Button,
5576
+ st as Card,
5577
+ dt as CategoryChips,
5578
+ Te as Chip,
5579
+ Ro as CompoundCard,
5580
+ Lo as ConfirmModal,
5581
+ Fo as DashboardLayout,
5582
+ ct as DonutChart,
5583
+ ho as EntityDirectory,
5584
+ oe as Input,
5585
+ Do as MarketingLayout,
5586
+ Nr as Modal,
5587
+ Cr as ModalWithActions,
5588
+ yo as MortgageCalculator,
5589
+ je as PageLayout,
5590
+ jo as PropertyCard,
5591
+ go as PropertyGallery,
5592
+ lt as Select,
5593
+ ta as SkipLink,
5594
+ A as Text,
5595
+ Ho as ThemeProvider,
5596
+ Zo as a11y,
5597
+ Zo as accessibilityUtils,
5598
+ Qo as animationUtils,
5599
+ Qo as animations,
5600
+ qo as breakpoints,
5601
+ bo as calculateMortgage,
5514
5602
  h as cn,
5515
- Oo as colorUtils,
5516
- Oo as colors,
5517
- Uo as componentSizes,
5518
- Wo as componentVariants,
5519
- so as countEntitiesByCategory,
5520
- Go as designSystem,
5521
- ao as filterEntitiesByCategory,
5522
- ne as formatCurrency,
5523
- zo as formatPercentage,
5524
- Xo as layout,
5525
- Xo as layoutUtils,
5526
- Ko as performance,
5527
- Ko as performanceUtils,
5528
- No as resetTheme,
5529
- Bo as responsiveBreakpoints,
5530
- ko as setCustomTheme,
5531
- wo as setTheme,
5532
- Uo as sizes,
5533
- no as sortEntities,
5534
- Zo as theme,
5535
- Zo as themeUtils,
5536
- Ro as useEntityFilter,
5537
- _o as useTheme,
5538
- Lo as validateMortgageInput,
5539
- Wo as variants
5603
+ Xo as colorUtils,
5604
+ Xo as colors,
5605
+ Ko as componentSizes,
5606
+ Uo as componentVariants,
5607
+ uo as countEntitiesByCategory,
5608
+ Oo as designSystem,
5609
+ lo as filterEntitiesByCategory,
5610
+ de as formatCurrency,
5611
+ $o as formatPercentage,
5612
+ Jo as layout,
5613
+ Jo as layoutUtils,
5614
+ ea as performance,
5615
+ ea as performanceUtils,
5616
+ Po as resetTheme,
5617
+ qo as responsiveBreakpoints,
5618
+ So as setCustomTheme,
5619
+ Mo as setTheme,
5620
+ Ko as sizes,
5621
+ co as sortEntities,
5622
+ Yo as theme,
5623
+ Yo as themeUtils,
5624
+ To as useEntityFilter,
5625
+ Bo as useTheme,
5626
+ Vo as validateMortgageInput,
5627
+ Uo as variants
5540
5628
  };
5541
5629
  //# sourceMappingURL=design-system.es.js.map