@vincisys/eyeson 0.4.3 → 0.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -26,7 +26,7 @@ function P(e, t, n) {
26
26
  }
27
27
  //#endregion
28
28
  //#region src/components/Button/Button.tsx
29
- var F = /* @__PURE__ */ new Set([
29
+ var ee = /* @__PURE__ */ new Set([
30
30
  "blue-background",
31
31
  "green-background",
32
32
  "green-main",
@@ -38,7 +38,7 @@ var F = /* @__PURE__ */ new Set([
38
38
  "red-background",
39
39
  "red-dark",
40
40
  "red-middle"
41
- ]), I = {
41
+ ]), F = {
42
42
  size: {
43
43
  sm: { classes: "h-[calc(1.75rem*1.188*1.1)] gap-1 rounded-[min(var(--radius-eds-xs),12px)] px-[calc(0.625rem*1.188*1.15)] text-[0.8rem] has-data-[icon=inline-end]:pr-[calc(0.375rem*1.188*1.15)] has-data-[icon=inline-start]:pl-[calc(0.375rem*1.188*1.15)] [&_svg:not([class*='size-'])]:size-3.5 [&_.eds-btn-icon-wrap]:size-3.5" },
44
44
  md: { classes: "h-[calc(2rem*1.188*1.1)] gap-1.5 px-[calc(0.625rem*1.188*1.15)] has-data-[icon=inline-end]:pr-[calc(0.5rem*1.188*1.15)] has-data-[icon=inline-start]:pl-[calc(0.5rem*1.188*1.15)] [&_.eds-btn-icon-wrap]:size-4" },
@@ -50,22 +50,22 @@ var F = /* @__PURE__ */ new Set([
50
50
  ghost: { classes: "border-transparent bg-transparent text-[var(--eds-btn-accent)] hover:bg-[color-mix(in_srgb,var(--eds-btn-accent)_10%,transparent)] hover:text-[color-mix(in_srgb,var(--eds-btn-accent)_88%,black)] data-disabled:not-data-loading:text-eds-neutral-disabled data-loading:data-disabled:text-[var(--eds-btn-accent)]" },
51
51
  link: { classes: "h-auto border-transparent bg-transparent px-0 text-[var(--eds-btn-accent)] underline-offset-4 hover:underline data-disabled:not-data-loading:text-eds-neutral-disabled data-loading:data-disabled:text-[var(--eds-btn-accent)]" }
52
52
  }
53
- }, L = {
53
+ }, I = {
54
54
  size: "md",
55
55
  variant: "solid"
56
- }, ee = {
56
+ }, L = {
57
57
  sm: 14,
58
58
  md: 16,
59
59
  lg: 16
60
60
  };
61
- function R({ variant: e = L.variant, size: t = L.size, fluid: n = !1 }) {
62
- let r = P(I.size, t, L.size), i = P(I.variant, e, L.variant);
61
+ function R({ variant: e = I.variant, size: t = I.size, fluid: n = !1 }) {
62
+ let r = P(F.size, t, I.size), i = P(F.variant, e, I.variant);
63
63
  return N("eds-btn group/button inline-flex shrink-0 items-center justify-center rounded-lg border bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none cursor-pointer box-border m-0", "focus-visible:border-[var(--eds-btn-accent)] focus-visible:ring-3 focus-visible:ring-[color-mix(in_srgb,var(--eds-btn-accent)_50%,transparent)]", "active:not-aria-[haspopup]:translate-y-px", "data-disabled:pointer-events-none data-disabled:not-data-loading:opacity-50 data-loading:data-disabled:cursor-wait data-loading:data-disabled:opacity-100", "[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", r.classes, i.classes, n && "w-full");
64
64
  }
65
65
  function z({ text: t = "Button", className: n, icon: r, iconPosition: i = "start", variant: a = "solid", color: o = "blue-main", size: c = "md", fluid: l = !1, isLoading: u = !1, disabled: m, style: h, ...g }) {
66
- let _ = ee[c], v = !!(m || u), y = !!(u || r), b = i === "end" ? "inline-end" : "inline-start", x = {
66
+ let _ = L[c], v = !!(m || u), y = !!(u || r), b = i === "end" ? "inline-end" : "inline-start", x = {
67
67
  "--eds-btn-accent": `var(--color-eds-${o})`,
68
- ...F.has(o) ? { "--eds-btn-solid-fg": "#fff" } : {},
68
+ ...ee.has(o) ? { "--eds-btn-solid-fg": "#fff" } : {},
69
69
  ...h
70
70
  }, S = y ? /* @__PURE__ */ f("span", {
71
71
  className: "eds-btn-icon-wrap flex shrink-0 items-center justify-center",
@@ -117,142 +117,142 @@ var B = [
117
117
  "red-dark",
118
118
  "red-main",
119
119
  "red-middle"
120
- ], te = 365.2425, ne = 6048e5, re = 864e5, ie = 3600 * 24;
121
- ie * 7, ie * te / 12 * 3;
122
- var V = Symbol.for("constructDateFrom");
120
+ ], te = 365.2425, V = 6048e5, ne = 864e5, re = 3600 * 24;
121
+ re * 7, re * te / 12 * 3;
122
+ var H = Symbol.for("constructDateFrom");
123
123
  //#endregion
124
124
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js
125
- function H(e, t) {
126
- return typeof e == "function" ? e(t) : e && typeof e == "object" && V in e ? e[V](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
125
+ function U(e, t) {
126
+ return typeof e == "function" ? e(t) : e && typeof e == "object" && H in e ? e[H](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
127
127
  }
128
128
  //#endregion
129
129
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js
130
- function U(e, t) {
131
- return H(t || e, e);
130
+ function W(e, t) {
131
+ return U(t || e, e);
132
132
  }
133
133
  //#endregion
134
134
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/addDays.js
135
- function ae(e, t, n) {
136
- let r = U(e, n?.in);
137
- return isNaN(t) ? H(n?.in || e, NaN) : (t && r.setDate(r.getDate() + t), r);
135
+ function ie(e, t, n) {
136
+ let r = W(e, n?.in);
137
+ return isNaN(t) ? U(n?.in || e, NaN) : (t && r.setDate(r.getDate() + t), r);
138
138
  }
139
139
  //#endregion
140
140
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/addMonths.js
141
- function oe(e, t, n) {
142
- let r = U(e, n?.in);
143
- if (isNaN(t)) return H(n?.in || e, NaN);
141
+ function ae(e, t, n) {
142
+ let r = W(e, n?.in);
143
+ if (isNaN(t)) return U(n?.in || e, NaN);
144
144
  if (!t) return r;
145
- let i = r.getDate(), a = H(n?.in || e, r.getTime());
145
+ let i = r.getDate(), a = U(n?.in || e, r.getTime());
146
146
  return a.setMonth(r.getMonth() + t + 1, 0), i >= a.getDate() ? a : (r.setFullYear(a.getFullYear(), a.getMonth(), i), r);
147
147
  }
148
148
  //#endregion
149
149
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js
150
- var se = {};
151
- function ce() {
152
- return se;
150
+ var oe = {};
151
+ function se() {
152
+ return oe;
153
153
  }
154
154
  //#endregion
155
155
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js
156
- function W(e, t) {
157
- let n = ce(), r = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, i = U(e, t?.in), a = i.getDay(), o = (a < r ? 7 : 0) + a - r;
156
+ function G(e, t) {
157
+ let n = se(), r = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, i = W(e, t?.in), a = i.getDay(), o = (a < r ? 7 : 0) + a - r;
158
158
  return i.setDate(i.getDate() - o), i.setHours(0, 0, 0, 0), i;
159
159
  }
160
160
  //#endregion
161
161
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js
162
- function G(e, t) {
163
- return W(e, {
162
+ function K(e, t) {
163
+ return G(e, {
164
164
  ...t,
165
165
  weekStartsOn: 1
166
166
  });
167
167
  }
168
168
  //#endregion
169
169
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js
170
- function K(e, t) {
171
- let n = U(e, t?.in), r = n.getFullYear(), i = H(n, 0);
170
+ function q(e, t) {
171
+ let n = W(e, t?.in), r = n.getFullYear(), i = U(n, 0);
172
172
  i.setFullYear(r + 1, 0, 4), i.setHours(0, 0, 0, 0);
173
- let a = G(i), o = H(n, 0);
173
+ let a = K(i), o = U(n, 0);
174
174
  o.setFullYear(r, 0, 4), o.setHours(0, 0, 0, 0);
175
- let s = G(o);
175
+ let s = K(o);
176
176
  return n.getTime() >= a.getTime() ? r + 1 : n.getTime() >= s.getTime() ? r : r - 1;
177
177
  }
178
178
  //#endregion
179
179
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js
180
- function le(e) {
181
- let t = U(e), n = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
180
+ function ce(e) {
181
+ let t = W(e), n = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
182
182
  return n.setUTCFullYear(t.getFullYear()), e - +n;
183
183
  }
184
184
  //#endregion
185
185
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js
186
- function ue(e, ...t) {
187
- let n = H.bind(null, e || t.find((e) => typeof e == "object"));
186
+ function le(e, ...t) {
187
+ let n = U.bind(null, e || t.find((e) => typeof e == "object"));
188
188
  return t.map(n);
189
189
  }
190
190
  //#endregion
191
191
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js
192
- function de(e, t) {
193
- let n = U(e, t?.in);
192
+ function ue(e, t) {
193
+ let n = W(e, t?.in);
194
194
  return n.setHours(0, 0, 0, 0), n;
195
195
  }
196
196
  //#endregion
197
197
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js
198
- function fe(e, t, n) {
199
- let [r, i] = ue(n?.in, e, t), a = de(r), o = de(i), s = +a - le(a), c = +o - le(o);
200
- return Math.round((s - c) / re);
198
+ function de(e, t, n) {
199
+ let [r, i] = le(n?.in, e, t), a = ue(r), o = ue(i), s = +a - ce(a), c = +o - ce(o);
200
+ return Math.round((s - c) / ne);
201
201
  }
202
202
  //#endregion
203
203
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js
204
- function pe(e, t) {
205
- let n = K(e, t), r = H(t?.in || e, 0);
206
- return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), G(r);
204
+ function fe(e, t) {
205
+ let n = q(e, t), r = U(t?.in || e, 0);
206
+ return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), K(r);
207
207
  }
208
208
  //#endregion
209
209
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructNow.js
210
- function me(e) {
211
- return H(e, Date.now());
210
+ function pe(e) {
211
+ return U(e, Date.now());
212
212
  }
213
213
  //#endregion
214
214
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isSameDay.js
215
- function he(e, t, n) {
216
- let [r, i] = ue(n?.in, e, t);
217
- return +de(r) == +de(i);
215
+ function me(e, t, n) {
216
+ let [r, i] = le(n?.in, e, t);
217
+ return +ue(r) == +ue(i);
218
218
  }
219
219
  //#endregion
220
220
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js
221
- function ge(e) {
221
+ function he(e) {
222
222
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
223
223
  }
224
224
  //#endregion
225
225
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js
226
- function _e(e) {
227
- return !(!ge(e) && typeof e != "number" || isNaN(+U(e)));
226
+ function ge(e) {
227
+ return !(!he(e) && typeof e != "number" || isNaN(+W(e)));
228
228
  }
229
229
  //#endregion
230
230
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/endOfMonth.js
231
- function ve(e, t) {
232
- let n = U(e, t?.in), r = n.getMonth();
231
+ function _e(e, t) {
232
+ let n = W(e, t?.in), r = n.getMonth();
233
233
  return n.setFullYear(n.getFullYear(), r + 1, 0), n.setHours(23, 59, 59, 999), n;
234
234
  }
235
235
  //#endregion
236
236
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfMonth.js
237
- function ye(e, t) {
238
- let n = U(e, t?.in);
237
+ function ve(e, t) {
238
+ let n = W(e, t?.in);
239
239
  return n.setDate(1), n.setHours(0, 0, 0, 0), n;
240
240
  }
241
241
  //#endregion
242
242
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js
243
- function be(e, t) {
244
- let n = U(e, t?.in);
243
+ function ye(e, t) {
244
+ let n = W(e, t?.in);
245
245
  return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
246
246
  }
247
247
  //#endregion
248
248
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/endOfWeek.js
249
- function xe(e, t) {
250
- let n = ce(), r = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, i = U(e, t?.in), a = i.getDay(), o = (a < r ? -7 : 0) + 6 - (a - r);
249
+ function be(e, t) {
250
+ let n = se(), r = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, i = W(e, t?.in), a = i.getDay(), o = (a < r ? -7 : 0) + 6 - (a - r);
251
251
  return i.setDate(i.getDate() + o), i.setHours(23, 59, 59, 999), i;
252
252
  }
253
253
  //#endregion
254
254
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js
255
- var Se = {
255
+ var xe = {
256
256
  lessThanXSeconds: {
257
257
  one: "less than a second",
258
258
  other: "less than {{count}} seconds"
@@ -314,20 +314,20 @@ var Se = {
314
314
  one: "almost 1 year",
315
315
  other: "almost {{count}} years"
316
316
  }
317
- }, Ce = (e, t, n) => {
318
- let r, i = Se[e];
317
+ }, Se = (e, t, n) => {
318
+ let r, i = xe[e];
319
319
  return r = typeof i == "string" ? i : t === 1 ? i.one : i.other.replace("{{count}}", t.toString()), n?.addSuffix ? n.comparison && n.comparison > 0 ? "in " + r : r + " ago" : r;
320
320
  };
321
321
  //#endregion
322
322
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js
323
- function we(e) {
323
+ function Ce(e) {
324
324
  return (t = {}) => {
325
325
  let n = t.width ? String(t.width) : e.defaultWidth;
326
326
  return e.formats[n] || e.formats[e.defaultWidth];
327
327
  };
328
328
  }
329
- var Te = {
330
- date: we({
329
+ var we = {
330
+ date: Ce({
331
331
  formats: {
332
332
  full: "EEEE, MMMM do, y",
333
333
  long: "MMMM do, y",
@@ -336,7 +336,7 @@ var Te = {
336
336
  },
337
337
  defaultWidth: "full"
338
338
  }),
339
- time: we({
339
+ time: Ce({
340
340
  formats: {
341
341
  full: "h:mm:ss a zzzz",
342
342
  long: "h:mm:ss a z",
@@ -345,7 +345,7 @@ var Te = {
345
345
  },
346
346
  defaultWidth: "full"
347
347
  }),
348
- dateTime: we({
348
+ dateTime: Ce({
349
349
  formats: {
350
350
  full: "{{date}} 'at' {{time}}",
351
351
  long: "{{date}} 'at' {{time}}",
@@ -354,17 +354,17 @@ var Te = {
354
354
  },
355
355
  defaultWidth: "full"
356
356
  })
357
- }, Ee = {
357
+ }, Te = {
358
358
  lastWeek: "'last' eeee 'at' p",
359
359
  yesterday: "'yesterday at' p",
360
360
  today: "'today at' p",
361
361
  tomorrow: "'tomorrow at' p",
362
362
  nextWeek: "eeee 'at' p",
363
363
  other: "P"
364
- }, De = (e, t, n, r) => Ee[e];
364
+ }, Ee = (e, t, n, r) => Te[e];
365
365
  //#endregion
366
366
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js
367
- function q(e) {
367
+ function J(e) {
368
368
  return (t, n) => {
369
369
  let r = n?.context ? String(n.context) : "standalone", i;
370
370
  if (r === "formatting" && e.formattingValues) {
@@ -378,7 +378,7 @@ function q(e) {
378
378
  return i[a];
379
379
  };
380
380
  }
381
- var Oe = {
381
+ var De = {
382
382
  ordinalNumber: (e, t) => {
383
383
  let n = Number(e), r = n % 100;
384
384
  if (r > 20 || r < 10) switch (r % 10) {
@@ -388,7 +388,7 @@ var Oe = {
388
388
  }
389
389
  return n + "th";
390
390
  },
391
- era: q({
391
+ era: J({
392
392
  values: {
393
393
  narrow: ["B", "A"],
394
394
  abbreviated: ["BC", "AD"],
@@ -396,7 +396,7 @@ var Oe = {
396
396
  },
397
397
  defaultWidth: "wide"
398
398
  }),
399
- quarter: q({
399
+ quarter: J({
400
400
  values: {
401
401
  narrow: [
402
402
  "1",
@@ -420,7 +420,7 @@ var Oe = {
420
420
  defaultWidth: "wide",
421
421
  argumentCallback: (e) => e - 1
422
422
  }),
423
- month: q({
423
+ month: J({
424
424
  values: {
425
425
  narrow: [
426
426
  "J",
@@ -467,7 +467,7 @@ var Oe = {
467
467
  },
468
468
  defaultWidth: "wide"
469
469
  }),
470
- day: q({
470
+ day: J({
471
471
  values: {
472
472
  narrow: [
473
473
  "S",
@@ -508,7 +508,7 @@ var Oe = {
508
508
  },
509
509
  defaultWidth: "wide"
510
510
  }),
511
- dayPeriod: q({
511
+ dayPeriod: J({
512
512
  values: {
513
513
  narrow: {
514
514
  am: "a",
@@ -579,11 +579,11 @@ var Oe = {
579
579
  };
580
580
  //#endregion
581
581
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js
582
- function J(e) {
582
+ function Y(e) {
583
583
  return (t, n = {}) => {
584
584
  let r = n.width, i = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], a = t.match(i);
585
585
  if (!a) return null;
586
- let o = a[0], s = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(s) ? Ae(s, (e) => e.test(o)) : ke(s, (e) => e.test(o)), l;
586
+ let o = a[0], s = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(s) ? ke(s, (e) => e.test(o)) : Oe(s, (e) => e.test(o)), l;
587
587
  l = e.valueCallback ? e.valueCallback(c) : c, l = n.valueCallback ? n.valueCallback(l) : l;
588
588
  let u = t.slice(o.length);
589
589
  return {
@@ -592,15 +592,15 @@ function J(e) {
592
592
  };
593
593
  };
594
594
  }
595
- function ke(e, t) {
595
+ function Oe(e, t) {
596
596
  for (let n in e) if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n])) return n;
597
597
  }
598
- function Ae(e, t) {
598
+ function ke(e, t) {
599
599
  for (let n = 0; n < e.length; n++) if (t(e[n])) return n;
600
600
  }
601
601
  //#endregion
602
602
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
603
- function je(e) {
603
+ function Ae(e) {
604
604
  return (t, n = {}) => {
605
605
  let r = t.match(e.matchPattern);
606
606
  if (!r) return null;
@@ -617,19 +617,19 @@ function je(e) {
617
617
  }
618
618
  //#endregion
619
619
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js
620
- var Me = {
620
+ var je = {
621
621
  code: "en-US",
622
- formatDistance: Ce,
623
- formatLong: Te,
624
- formatRelative: De,
625
- localize: Oe,
622
+ formatDistance: Se,
623
+ formatLong: we,
624
+ formatRelative: Ee,
625
+ localize: De,
626
626
  match: {
627
- ordinalNumber: je({
627
+ ordinalNumber: Ae({
628
628
  matchPattern: /^(\d+)(th|st|nd|rd)?/i,
629
629
  parsePattern: /\d+/i,
630
630
  valueCallback: (e) => parseInt(e, 10)
631
631
  }),
632
- era: J({
632
+ era: Y({
633
633
  matchPatterns: {
634
634
  narrow: /^(b|a)/i,
635
635
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
@@ -639,7 +639,7 @@ var Me = {
639
639
  parsePatterns: { any: [/^b/i, /^(a|c)/i] },
640
640
  defaultParseWidth: "any"
641
641
  }),
642
- quarter: J({
642
+ quarter: Y({
643
643
  matchPatterns: {
644
644
  narrow: /^[1234]/i,
645
645
  abbreviated: /^q[1234]/i,
@@ -655,7 +655,7 @@ var Me = {
655
655
  defaultParseWidth: "any",
656
656
  valueCallback: (e) => e + 1
657
657
  }),
658
- month: J({
658
+ month: Y({
659
659
  matchPatterns: {
660
660
  narrow: /^[jfmasond]/i,
661
661
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
@@ -694,7 +694,7 @@ var Me = {
694
694
  },
695
695
  defaultParseWidth: "any"
696
696
  }),
697
- day: J({
697
+ day: Y({
698
698
  matchPatterns: {
699
699
  narrow: /^[smtwf]/i,
700
700
  short: /^(su|mo|tu|we|th|fr|sa)/i,
@@ -724,7 +724,7 @@ var Me = {
724
724
  },
725
725
  defaultParseWidth: "any"
726
726
  }),
727
- dayPeriod: J({
727
+ dayPeriod: Y({
728
728
  matchPatterns: {
729
729
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
730
730
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
@@ -750,56 +750,56 @@ var Me = {
750
750
  };
751
751
  //#endregion
752
752
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js
753
- function Ne(e, t) {
754
- let n = U(e, t?.in);
755
- return fe(n, be(n)) + 1;
753
+ function Me(e, t) {
754
+ let n = W(e, t?.in);
755
+ return de(n, ye(n)) + 1;
756
756
  }
757
757
  //#endregion
758
758
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js
759
- function Pe(e, t) {
760
- let n = U(e, t?.in), r = G(n) - +pe(n);
761
- return Math.round(r / ne) + 1;
759
+ function Ne(e, t) {
760
+ let n = W(e, t?.in), r = K(n) - +fe(n);
761
+ return Math.round(r / V) + 1;
762
762
  }
763
763
  //#endregion
764
764
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js
765
- function Fe(e, t) {
766
- let n = U(e, t?.in), r = n.getFullYear(), i = ce(), a = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? i.firstWeekContainsDate ?? i.locale?.options?.firstWeekContainsDate ?? 1, o = H(t?.in || e, 0);
765
+ function Pe(e, t) {
766
+ let n = W(e, t?.in), r = n.getFullYear(), i = se(), a = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? i.firstWeekContainsDate ?? i.locale?.options?.firstWeekContainsDate ?? 1, o = U(t?.in || e, 0);
767
767
  o.setFullYear(r + 1, 0, a), o.setHours(0, 0, 0, 0);
768
- let s = W(o, t), c = H(t?.in || e, 0);
768
+ let s = G(o, t), c = U(t?.in || e, 0);
769
769
  c.setFullYear(r, 0, a), c.setHours(0, 0, 0, 0);
770
- let l = W(c, t);
770
+ let l = G(c, t);
771
771
  return +n >= +s ? r + 1 : +n >= +l ? r : r - 1;
772
772
  }
773
773
  //#endregion
774
774
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js
775
- function Ie(e, t) {
776
- let n = ce(), r = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, i = Fe(e, t), a = H(t?.in || e, 0);
777
- return a.setFullYear(i, 0, r), a.setHours(0, 0, 0, 0), W(a, t);
775
+ function Fe(e, t) {
776
+ let n = se(), r = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, i = Pe(e, t), a = U(t?.in || e, 0);
777
+ return a.setFullYear(i, 0, r), a.setHours(0, 0, 0, 0), G(a, t);
778
778
  }
779
779
  //#endregion
780
780
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js
781
- function Le(e, t) {
782
- let n = U(e, t?.in), r = W(n, t) - +Ie(n, t);
783
- return Math.round(r / ne) + 1;
781
+ function Ie(e, t) {
782
+ let n = W(e, t?.in), r = G(n, t) - +Fe(n, t);
783
+ return Math.round(r / V) + 1;
784
784
  }
785
785
  //#endregion
786
786
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js
787
- function Y(e, t) {
787
+ function X(e, t) {
788
788
  return (e < 0 ? "-" : "") + Math.abs(e).toString().padStart(t, "0");
789
789
  }
790
790
  //#endregion
791
791
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js
792
- var X = {
792
+ var Le = {
793
793
  y(e, t) {
794
794
  let n = e.getFullYear(), r = n > 0 ? n : 1 - n;
795
- return Y(t === "yy" ? r % 100 : r, t.length);
795
+ return X(t === "yy" ? r % 100 : r, t.length);
796
796
  },
797
797
  M(e, t) {
798
798
  let n = e.getMonth();
799
- return t === "M" ? String(n + 1) : Y(n + 1, 2);
799
+ return t === "M" ? String(n + 1) : X(n + 1, 2);
800
800
  },
801
801
  d(e, t) {
802
- return Y(e.getDate(), t.length);
802
+ return X(e.getDate(), t.length);
803
803
  },
804
804
  a(e, t) {
805
805
  let n = e.getHours() / 12 >= 1 ? "pm" : "am";
@@ -812,20 +812,20 @@ var X = {
812
812
  }
813
813
  },
814
814
  h(e, t) {
815
- return Y(e.getHours() % 12 || 12, t.length);
815
+ return X(e.getHours() % 12 || 12, t.length);
816
816
  },
817
817
  H(e, t) {
818
- return Y(e.getHours(), t.length);
818
+ return X(e.getHours(), t.length);
819
819
  },
820
820
  m(e, t) {
821
- return Y(e.getMinutes(), t.length);
821
+ return X(e.getMinutes(), t.length);
822
822
  },
823
823
  s(e, t) {
824
- return Y(e.getSeconds(), t.length);
824
+ return X(e.getSeconds(), t.length);
825
825
  },
826
826
  S(e, t) {
827
827
  let n = t.length, r = e.getMilliseconds();
828
- return Y(Math.trunc(r * 10 ** (n - 3)), t.length);
828
+ return X(Math.trunc(r * 10 ** (n - 3)), t.length);
829
829
  }
830
830
  }, Re = {
831
831
  am: "am",
@@ -852,23 +852,23 @@ var X = {
852
852
  let t = e.getFullYear(), r = t > 0 ? t : 1 - t;
853
853
  return n.ordinalNumber(r, { unit: "year" });
854
854
  }
855
- return X.y(e, t);
855
+ return Le.y(e, t);
856
856
  },
857
857
  Y: function(e, t, n, r) {
858
- let i = Fe(e, r), a = i > 0 ? i : 1 - i;
859
- return t === "YY" ? Y(a % 100, 2) : t === "Yo" ? n.ordinalNumber(a, { unit: "year" }) : Y(a, t.length);
858
+ let i = Pe(e, r), a = i > 0 ? i : 1 - i;
859
+ return t === "YY" ? X(a % 100, 2) : t === "Yo" ? n.ordinalNumber(a, { unit: "year" }) : X(a, t.length);
860
860
  },
861
861
  R: function(e, t) {
862
- return Y(K(e), t.length);
862
+ return X(q(e), t.length);
863
863
  },
864
864
  u: function(e, t) {
865
- return Y(e.getFullYear(), t.length);
865
+ return X(e.getFullYear(), t.length);
866
866
  },
867
867
  Q: function(e, t, n) {
868
868
  let r = Math.ceil((e.getMonth() + 1) / 3);
869
869
  switch (t) {
870
870
  case "Q": return String(r);
871
- case "QQ": return Y(r, 2);
871
+ case "QQ": return X(r, 2);
872
872
  case "Qo": return n.ordinalNumber(r, { unit: "quarter" });
873
873
  case "QQQ": return n.quarter(r, {
874
874
  width: "abbreviated",
@@ -888,7 +888,7 @@ var X = {
888
888
  let r = Math.ceil((e.getMonth() + 1) / 3);
889
889
  switch (t) {
890
890
  case "q": return String(r);
891
- case "qq": return Y(r, 2);
891
+ case "qq": return X(r, 2);
892
892
  case "qo": return n.ordinalNumber(r, { unit: "quarter" });
893
893
  case "qqq": return n.quarter(r, {
894
894
  width: "abbreviated",
@@ -908,7 +908,7 @@ var X = {
908
908
  let r = e.getMonth();
909
909
  switch (t) {
910
910
  case "M":
911
- case "MM": return X.M(e, t);
911
+ case "MM": return Le.M(e, t);
912
912
  case "Mo": return n.ordinalNumber(r + 1, { unit: "month" });
913
913
  case "MMM": return n.month(r, {
914
914
  width: "abbreviated",
@@ -928,7 +928,7 @@ var X = {
928
928
  let r = e.getMonth();
929
929
  switch (t) {
930
930
  case "L": return String(r + 1);
931
- case "LL": return Y(r + 1, 2);
931
+ case "LL": return X(r + 1, 2);
932
932
  case "Lo": return n.ordinalNumber(r + 1, { unit: "month" });
933
933
  case "LLL": return n.month(r, {
934
934
  width: "abbreviated",
@@ -945,19 +945,19 @@ var X = {
945
945
  }
946
946
  },
947
947
  w: function(e, t, n, r) {
948
- let i = Le(e, r);
949
- return t === "wo" ? n.ordinalNumber(i, { unit: "week" }) : Y(i, t.length);
948
+ let i = Ie(e, r);
949
+ return t === "wo" ? n.ordinalNumber(i, { unit: "week" }) : X(i, t.length);
950
950
  },
951
951
  I: function(e, t, n) {
952
- let r = Pe(e);
953
- return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) : Y(r, t.length);
952
+ let r = Ne(e);
953
+ return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) : X(r, t.length);
954
954
  },
955
955
  d: function(e, t, n) {
956
- return t === "do" ? n.ordinalNumber(e.getDate(), { unit: "date" }) : X.d(e, t);
956
+ return t === "do" ? n.ordinalNumber(e.getDate(), { unit: "date" }) : Le.d(e, t);
957
957
  },
958
958
  D: function(e, t, n) {
959
- let r = Ne(e);
960
- return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : Y(r, t.length);
959
+ let r = Me(e);
960
+ return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : X(r, t.length);
961
961
  },
962
962
  E: function(e, t, n) {
963
963
  let r = e.getDay();
@@ -986,7 +986,7 @@ var X = {
986
986
  let i = e.getDay(), a = (i - r.weekStartsOn + 8) % 7 || 7;
987
987
  switch (t) {
988
988
  case "e": return String(a);
989
- case "ee": return Y(a, 2);
989
+ case "ee": return X(a, 2);
990
990
  case "eo": return n.ordinalNumber(a, { unit: "day" });
991
991
  case "eee": return n.day(i, {
992
992
  width: "abbreviated",
@@ -1010,7 +1010,7 @@ var X = {
1010
1010
  let i = e.getDay(), a = (i - r.weekStartsOn + 8) % 7 || 7;
1011
1011
  switch (t) {
1012
1012
  case "c": return String(a);
1013
- case "cc": return Y(a, t.length);
1013
+ case "cc": return X(a, t.length);
1014
1014
  case "co": return n.ordinalNumber(a, { unit: "day" });
1015
1015
  case "ccc": return n.day(i, {
1016
1016
  width: "abbreviated",
@@ -1034,7 +1034,7 @@ var X = {
1034
1034
  let r = e.getDay(), i = r === 0 ? 7 : r;
1035
1035
  switch (t) {
1036
1036
  case "i": return String(i);
1037
- case "ii": return Y(i, t.length);
1037
+ case "ii": return X(i, t.length);
1038
1038
  case "io": return n.ordinalNumber(i, { unit: "day" });
1039
1039
  case "iii": return n.day(r, {
1040
1040
  width: "abbreviated",
@@ -1122,27 +1122,27 @@ var X = {
1122
1122
  let t = e.getHours() % 12;
1123
1123
  return t === 0 && (t = 12), n.ordinalNumber(t, { unit: "hour" });
1124
1124
  }
1125
- return X.h(e, t);
1125
+ return Le.h(e, t);
1126
1126
  },
1127
1127
  H: function(e, t, n) {
1128
- return t === "Ho" ? n.ordinalNumber(e.getHours(), { unit: "hour" }) : X.H(e, t);
1128
+ return t === "Ho" ? n.ordinalNumber(e.getHours(), { unit: "hour" }) : Le.H(e, t);
1129
1129
  },
1130
1130
  K: function(e, t, n) {
1131
1131
  let r = e.getHours() % 12;
1132
- return t === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) : Y(r, t.length);
1132
+ return t === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) : X(r, t.length);
1133
1133
  },
1134
1134
  k: function(e, t, n) {
1135
1135
  let r = e.getHours();
1136
- return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) : Y(r, t.length);
1136
+ return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) : X(r, t.length);
1137
1137
  },
1138
1138
  m: function(e, t, n) {
1139
- return t === "mo" ? n.ordinalNumber(e.getMinutes(), { unit: "minute" }) : X.m(e, t);
1139
+ return t === "mo" ? n.ordinalNumber(e.getMinutes(), { unit: "minute" }) : Le.m(e, t);
1140
1140
  },
1141
1141
  s: function(e, t, n) {
1142
- return t === "so" ? n.ordinalNumber(e.getSeconds(), { unit: "second" }) : X.s(e, t);
1142
+ return t === "so" ? n.ordinalNumber(e.getSeconds(), { unit: "second" }) : Le.s(e, t);
1143
1143
  },
1144
1144
  S: function(e, t) {
1145
- return X.S(e, t);
1145
+ return Le.S(e, t);
1146
1146
  },
1147
1147
  X: function(e, t, n) {
1148
1148
  let r = e.getTimezoneOffset();
@@ -1182,21 +1182,21 @@ var X = {
1182
1182
  }
1183
1183
  },
1184
1184
  t: function(e, t, n) {
1185
- return Y(Math.trunc(e / 1e3), t.length);
1185
+ return X(Math.trunc(e / 1e3), t.length);
1186
1186
  },
1187
1187
  T: function(e, t, n) {
1188
- return Y(+e, t.length);
1188
+ return X(+e, t.length);
1189
1189
  }
1190
1190
  };
1191
1191
  function Be(e, t = "") {
1192
1192
  let n = e > 0 ? "-" : "+", r = Math.abs(e), i = Math.trunc(r / 60), a = r % 60;
1193
- return a === 0 ? n + String(i) : n + String(i) + t + Y(a, 2);
1193
+ return a === 0 ? n + String(i) : n + String(i) + t + X(a, 2);
1194
1194
  }
1195
1195
  function Ve(e, t) {
1196
- return e % 60 == 0 ? (e > 0 ? "-" : "+") + Y(Math.abs(e) / 60, 2) : He(e, t);
1196
+ return e % 60 == 0 ? (e > 0 ? "-" : "+") + X(Math.abs(e) / 60, 2) : He(e, t);
1197
1197
  }
1198
1198
  function He(e, t = "") {
1199
- let n = e > 0 ? "-" : "+", r = Math.abs(e), i = Y(Math.trunc(r / 60), 2), a = Y(r % 60, 2);
1199
+ let n = e > 0 ? "-" : "+", r = Math.abs(e), i = X(Math.trunc(r / 60), 2), a = X(r % 60, 2);
1200
1200
  return n + i + t + a;
1201
1201
  }
1202
1202
  //#endregion
@@ -1261,8 +1261,8 @@ function Qe(e, t, n) {
1261
1261
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js
1262
1262
  var $e = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, et = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, tt = /^'([^]*?)'?$/, nt = /''/g, rt = /[a-zA-Z]/;
1263
1263
  function Z(e, t, n) {
1264
- let r = ce(), i = n?.locale ?? r.locale ?? Me, a = n?.firstWeekContainsDate ?? n?.locale?.options?.firstWeekContainsDate ?? r.firstWeekContainsDate ?? r.locale?.options?.firstWeekContainsDate ?? 1, o = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, s = U(e, n?.in);
1265
- if (!_e(s)) throw RangeError("Invalid time value");
1264
+ let r = se(), i = n?.locale ?? r.locale ?? je, a = n?.firstWeekContainsDate ?? n?.locale?.options?.firstWeekContainsDate ?? r.firstWeekContainsDate ?? r.locale?.options?.firstWeekContainsDate ?? 1, o = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, s = W(e, n?.in);
1265
+ if (!ge(s)) throw RangeError("Invalid time value");
1266
1266
  let c = t.match(et).map((e) => {
1267
1267
  let t = e[0];
1268
1268
  if (t === "p" || t === "P") {
@@ -1311,28 +1311,28 @@ function it(e) {
1311
1311
  //#endregion
1312
1312
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isAfter.js
1313
1313
  function at(e, t) {
1314
- return +U(e) > +U(t);
1314
+ return +W(e) > +W(t);
1315
1315
  }
1316
1316
  //#endregion
1317
1317
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isBefore.js
1318
1318
  function ot(e, t) {
1319
- return +U(e) < +U(t);
1319
+ return +W(e) < +W(t);
1320
1320
  }
1321
1321
  //#endregion
1322
1322
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isSameMonth.js
1323
1323
  function st(e, t, n) {
1324
- let [r, i] = ue(n?.in, e, t);
1324
+ let [r, i] = le(n?.in, e, t);
1325
1325
  return r.getFullYear() === i.getFullYear() && r.getMonth() === i.getMonth();
1326
1326
  }
1327
1327
  //#endregion
1328
1328
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isToday.js
1329
1329
  function ct(e, t) {
1330
- return he(H(t?.in || e, e), me(t?.in || e));
1330
+ return me(U(t?.in || e, e), pe(t?.in || e));
1331
1331
  }
1332
1332
  //#endregion
1333
1333
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/subMonths.js
1334
1334
  function lt(e, t, n) {
1335
- return oe(e, -t, n);
1335
+ return ae(e, -t, n);
1336
1336
  }
1337
1337
  //#endregion
1338
1338
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/pt-BR/_lib/formatDistance.js
@@ -1402,7 +1402,7 @@ var ut = {
1402
1402
  let r, i = ut[e];
1403
1403
  return r = typeof i == "string" ? i : t === 1 ? i.one : i.other.replace("{{count}}", String(t)), n?.addSuffix ? n.comparison && n.comparison > 0 ? "em " + r : "há " + r : r;
1404
1404
  }, ft = {
1405
- date: we({
1405
+ date: Ce({
1406
1406
  formats: {
1407
1407
  full: "EEEE, d 'de' MMMM 'de' y",
1408
1408
  long: "d 'de' MMMM 'de' y",
@@ -1411,7 +1411,7 @@ var ut = {
1411
1411
  },
1412
1412
  defaultWidth: "full"
1413
1413
  }),
1414
- time: we({
1414
+ time: Ce({
1415
1415
  formats: {
1416
1416
  full: "HH:mm:ss zzzz",
1417
1417
  long: "HH:mm:ss z",
@@ -1420,7 +1420,7 @@ var ut = {
1420
1420
  },
1421
1421
  defaultWidth: "full"
1422
1422
  }),
1423
- dateTime: we({
1423
+ dateTime: Ce({
1424
1424
  formats: {
1425
1425
  full: "{{date}} 'às' {{time}}",
1426
1426
  long: "{{date}} 'às' {{time}}",
@@ -1452,7 +1452,7 @@ var ut = {
1452
1452
  let n = Number(e);
1453
1453
  return t?.unit === "week" ? n + "ª" : n + "º";
1454
1454
  },
1455
- era: q({
1455
+ era: J({
1456
1456
  values: {
1457
1457
  narrow: ["AC", "DC"],
1458
1458
  abbreviated: ["AC", "DC"],
@@ -1460,7 +1460,7 @@ var ut = {
1460
1460
  },
1461
1461
  defaultWidth: "wide"
1462
1462
  }),
1463
- quarter: q({
1463
+ quarter: J({
1464
1464
  values: {
1465
1465
  narrow: [
1466
1466
  "1",
@@ -1484,7 +1484,7 @@ var ut = {
1484
1484
  defaultWidth: "wide",
1485
1485
  argumentCallback: (e) => e - 1
1486
1486
  }),
1487
- month: q({
1487
+ month: J({
1488
1488
  values: {
1489
1489
  narrow: [
1490
1490
  "j",
@@ -1531,7 +1531,7 @@ var ut = {
1531
1531
  },
1532
1532
  defaultWidth: "wide"
1533
1533
  }),
1534
- day: q({
1534
+ day: J({
1535
1535
  values: {
1536
1536
  narrow: [
1537
1537
  "D",
@@ -1572,7 +1572,7 @@ var ut = {
1572
1572
  },
1573
1573
  defaultWidth: "wide"
1574
1574
  }),
1575
- dayPeriod: q({
1575
+ dayPeriod: J({
1576
1576
  values: {
1577
1577
  narrow: {
1578
1578
  am: "a",
@@ -1642,12 +1642,12 @@ var ut = {
1642
1642
  })
1643
1643
  },
1644
1644
  match: {
1645
- ordinalNumber: je({
1645
+ ordinalNumber: Ae({
1646
1646
  matchPattern: /^(\d+)[ºªo]?/i,
1647
1647
  parsePattern: /\d+/i,
1648
1648
  valueCallback: (e) => parseInt(e, 10)
1649
1649
  }),
1650
- era: J({
1650
+ era: Y({
1651
1651
  matchPatterns: {
1652
1652
  narrow: /^(ac|dc|a|d)/i,
1653
1653
  abbreviated: /^(a\.?\s?c\.?|d\.?\s?c\.?)/i,
@@ -1660,7 +1660,7 @@ var ut = {
1660
1660
  },
1661
1661
  defaultParseWidth: "any"
1662
1662
  }),
1663
- quarter: J({
1663
+ quarter: Y({
1664
1664
  matchPatterns: {
1665
1665
  narrow: /^[1234]/i,
1666
1666
  abbreviated: /^T[1234]/i,
@@ -1676,7 +1676,7 @@ var ut = {
1676
1676
  defaultParseWidth: "any",
1677
1677
  valueCallback: (e) => e + 1
1678
1678
  }),
1679
- month: J({
1679
+ month: Y({
1680
1680
  matchPatterns: {
1681
1681
  narrow: /^[jfmajsond]/i,
1682
1682
  abbreviated: /^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,
@@ -1715,7 +1715,7 @@ var ut = {
1715
1715
  },
1716
1716
  defaultParseWidth: "any"
1717
1717
  }),
1718
- day: J({
1718
+ day: Y({
1719
1719
  matchPatterns: {
1720
1720
  narrow: /^(dom|[23456]ª?|s[aá]b)/i,
1721
1721
  short: /^(dom|[23456]ª?|s[aá]b)/i,
@@ -1754,7 +1754,7 @@ var ut = {
1754
1754
  },
1755
1755
  defaultParseWidth: "any"
1756
1756
  }),
1757
- dayPeriod: J({
1757
+ dayPeriod: Y({
1758
1758
  matchPatterns: {
1759
1759
  narrow: /^(a|p|mn|md|(da) (manhã|tarde|noite))/i,
1760
1760
  any: /^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i
@@ -1792,11 +1792,11 @@ var ut = {
1792
1792
  }
1793
1793
  };
1794
1794
  function gt({ icon: t, label: n, className: r, variant: i = "ghost", color: a = "neutral-main", size: o = "md", disabled: s, style: c, ...l }) {
1795
- let u = P(ht, o, L.size), d = P(I.variant, i, L.variant);
1795
+ let u = P(ht, o, I.size), d = P(F.variant, i, I.variant);
1796
1796
  return /* @__PURE__ */ f(e, {
1797
1797
  style: {
1798
1798
  "--eds-btn-accent": `var(--color-eds-${a})`,
1799
- ...F.has(a) ? { "--eds-btn-solid-fg": "#fff" } : {},
1799
+ ...ee.has(a) ? { "--eds-btn-solid-fg": "#fff" } : {},
1800
1800
  ...c
1801
1801
  },
1802
1802
  disabled: s,
@@ -1824,8 +1824,8 @@ var _t = [
1824
1824
  "Sáb"
1825
1825
  ];
1826
1826
  function vt(e, t) {
1827
- let n = W(ye(e), { weekStartsOn: t }), r = xe(ve(e), { weekStartsOn: t }), i = [];
1828
- for (let e = n; e <= r; e = ae(e, 1)) i.push(e);
1827
+ let n = G(ve(e), { weekStartsOn: t }), r = be(_e(e), { weekStartsOn: t }), i = [];
1828
+ for (let e = n; e <= r; e = ie(e, 1)) i.push(e);
1829
1829
  return i;
1830
1830
  }
1831
1831
  function yt({ month: e, defaultMonth: t, onMonthChange: n, events: r = [], maxVisibleEvents: o = 3, weekStartsOn: s = 0, onDayClick: c, onEventClick: l, renderEvent: u, showNavigation: d = !0, className: m }) {
@@ -1859,7 +1859,7 @@ function yt({ month: e, defaultMonth: t, onMonthChange: n, events: r = [], maxVi
1859
1859
  icon: a,
1860
1860
  label: "Próximo mês",
1861
1861
  size: "sm",
1862
- onClick: () => w(oe(v, 1))
1862
+ onClick: () => w(ae(v, 1))
1863
1863
  })]
1864
1864
  })]
1865
1865
  }), /* @__PURE__ */ p("div", {
@@ -2155,86 +2155,88 @@ var Wt = {
2155
2155
  popup: "z-[1400]",
2156
2156
  overlayValue: 1300,
2157
2157
  popupValue: 1400
2158
- }, Gt = "box-border inline-flex w-[214px] flex-col gap-1.5 data-fluid:w-full", Kt = "flex items-center justify-between gap-3", qt = "inline-flex items-baseline gap-1 text-sm text-eds-neutral-main", Jt = "box-border min-w-(--anchor-width) max-h-[280px] overflow-visible rounded-eds-xs border border-eds-outline-border bg-white py-1 shadow-[0_4px_6px_-1px_rgb(0_0_0_/_0.07),0_2px_4px_-2px_rgb(0_0_0_/_0.06)]", Yt = "box-border max-h-60 overflow-y-auto overscroll-contain p-0.5 outline-none", Xt = "box-border flex w-full cursor-pointer items-center gap-2 rounded-md px-2.5 py-2 text-left text-sm text-eds-neutral-main data-highlighted:bg-eds-neutral-elements/10 data-disabled:cursor-not-allowed data-disabled:opacity-50", Zt = "inline-flex size-4 shrink-0 items-center justify-center text-eds-blue-main", Qt = `${Q.popup} outline-none`, $t = { zIndex: Q.popupValue };
2159
- function en(e) {
2158
+ }, Gt = "box-border inline-flex w-[214px] flex-col gap-1.5 data-fluid:w-full", Kt = "flex items-center justify-between gap-3", qt = "inline-flex items-baseline gap-1 text-sm text-eds-neutral-main", Jt = "text-eds-neutral-disabled", Yt = "placeholder:text-eds-neutral-disabled placeholder:opacity-100", Xt = "data-placeholder:text-eds-neutral-disabled", Zt = "group relative inline-flex w-full items-center gap-2 rounded-eds-xs border border-eds-outline-border bg-white focus-within:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-within:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)] data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70", Qt = "box-border min-w-(--anchor-width) max-h-[280px] overflow-visible rounded-eds-xs border border-eds-outline-border bg-white py-1 shadow-[0_4px_6px_-1px_rgb(0_0_0_/_0.07),0_2px_4px_-2px_rgb(0_0_0_/_0.06)]", $t = "box-border max-h-60 overflow-y-auto overscroll-contain p-0.5 outline-none", en = "box-border flex w-full cursor-pointer items-center gap-2 rounded-md px-2.5 py-2 text-left text-sm text-eds-neutral-main data-highlighted:bg-eds-neutral-elements/10 data-disabled:cursor-not-allowed data-disabled:opacity-50", tn = "inline-flex size-4 shrink-0 items-center justify-center text-eds-blue-main", nn = `${Q.popup} outline-none`, rn = { zIndex: Q.popupValue };
2159
+ function an(e) {
2160
2160
  return `pointer-events-none absolute top-0 z-1 -translate-y-1/2 bg-transparent px-0 pr-1 text-sm text-eds-neutral-elements ${e} before:absolute before:inset-x-0 before:top-1/2 before:-z-10 before:h-0.5 before:-translate-y-1/2 before:bg-white before:content-[''] group-data-disabled:before:bg-eds-neutral-background`;
2161
2161
  }
2162
2162
  //#endregion
2163
2163
  //#region src/components/ComboBox/Combobox.tsx
2164
- var tn = {
2164
+ var on = {
2165
2165
  default: "",
2166
2166
  valid: "not-focus-within:border-[color-mix(in_srgb,var(--color-eds-green-main)_55%,var(--color-eds-outline-border))]",
2167
2167
  invalid: "not-focus-within:border-[color-mix(in_srgb,var(--color-eds-red-main)_55%,var(--color-eds-outline-border))]"
2168
- }, nn = E.Root;
2169
- function rn({ label: e = "Label", floatingLabel: t = !0, items: i, placeholder: a = "Selecione uma opção", disabled: o = !1, required: s = !1, fluid: c = !1, state: u = "default", size: d = "md", supportingText: m = "", errorMessage: h = "Selecione uma opção válida", emptyMessage: g = "Nenhum resultado.", readOnly: _ = !1, id: y, name: b, value: x, defaultValue: S, onValueChange: C, getItemLabel: w, getItemValue: T, renderItem: D, className: O, inputProps: k }) {
2170
- let A = v(), j = y ?? A, M = u === "invalid", P = M || !!m, F = Wt[d], I = (e) => w ? w(e) : e.label ?? "", L = (e) => T ? T(e) : e.value ?? I(e), ee = (e) => {
2171
- C?.(e);
2172
- }, R = w ? (e) => w(e) : void 0, z = T ? (e) => T(e) : void 0;
2168
+ }, sn = "inline-flex shrink-0 cursor-pointer items-center justify-center rounded-md text-eds-neutral-elements hover:not-data-disabled:bg-eds-neutral-elements/8 hover:not-data-disabled:text-eds-neutral-main focus-visible:outline-2 focus-visible:outline-eds-blue-main focus-visible:outline-offset-2 data-disabled:pointer-events-none data-disabled:cursor-not-allowed data-disabled:opacity-50", cn = E.Root;
2169
+ function ln({ label: e = "Label", labelVariant: t, floatingLabel: i, items: a, placeholder: o = "Selecione uma opção", disabled: s = !1, required: c = !1, fluid: u = !1, state: d = "default", size: m = "md", supportingText: h = "", errorMessage: g = "Selecione uma opção válida", emptyMessage: _ = "Nenhum resultado.", readOnly: y = !1, id: b, name: x, value: S, defaultValue: C, onValueChange: w, getItemLabel: T, getItemValue: D, renderItem: O, className: k, inputProps: A }) {
2170
+ let j = v(), M = b ?? j, P = d === "invalid", ee = P || !!h, F = Wt[m], I = Ut(t, i), L = I === "floating", R = (e) => T ? T(e) : e.label ?? "", z = (e) => D ? D(e) : e.value ?? R(e), B = (e) => {
2171
+ w?.(e);
2172
+ }, te = T ? (e) => T(e) : void 0, V = D ? (e) => D(e) : void 0;
2173
2173
  return /* @__PURE__ */ p("div", {
2174
- className: N(Gt, O),
2175
- "data-fluid": c || void 0,
2174
+ className: N(Gt, k),
2175
+ "data-fluid": u || void 0,
2176
2176
  "data-eds-component": "Combobox",
2177
+ "data-label-variant": I,
2177
2178
  children: [
2178
2179
  /* @__PURE__ */ f("div", {
2179
2180
  className: Kt,
2180
2181
  children: /* @__PURE__ */ p("label", {
2181
- className: N(qt, t && "sr-only"),
2182
- htmlFor: j,
2183
- children: [/* @__PURE__ */ f("span", { children: e }), s && /* @__PURE__ */ f("span", {
2182
+ className: N(qt, L && "sr-only", !L && "font-medium"),
2183
+ htmlFor: M,
2184
+ children: [/* @__PURE__ */ f("span", { children: e }), c && /* @__PURE__ */ f("span", {
2184
2185
  className: "text-eds-red-main",
2185
2186
  children: "*"
2186
2187
  })]
2187
2188
  })
2188
2189
  }),
2189
- /* @__PURE__ */ p(nn, {
2190
- items: i,
2191
- name: b,
2192
- disabled: o,
2193
- required: s,
2194
- onValueChange: C ? ee : void 0,
2195
- ...x === void 0 ? S === void 0 ? {} : { defaultValue: S } : { value: x },
2196
- itemToStringLabel: R,
2197
- itemToStringValue: z,
2190
+ /* @__PURE__ */ p(cn, {
2191
+ items: a,
2192
+ name: x,
2193
+ disabled: s,
2194
+ required: c,
2195
+ onValueChange: w ? B : void 0,
2196
+ ...S === void 0 ? C === void 0 ? {} : { defaultValue: C } : { value: S },
2197
+ itemToStringLabel: te,
2198
+ itemToStringValue: V,
2198
2199
  children: [/* @__PURE__ */ p(E.InputGroup, {
2199
- className: N("group relative inline-flex w-full items-center gap-1 rounded-eds-xs border border-eds-outline-border bg-white", F.trigger, tn[u], "focus-within:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-within:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)]", "data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70"),
2200
- "data-state": u,
2201
- "data-size": d,
2202
- "data-disabled": o || void 0,
2200
+ className: N(Zt, "gap-1", F.trigger, on[d]),
2201
+ "data-state": d,
2202
+ "data-size": m,
2203
+ "data-disabled": s || void 0,
2204
+ "data-floating": L || void 0,
2203
2205
  children: [
2204
- t && /* @__PURE__ */ p("span", {
2205
- className: en(F.left),
2206
- children: [/* @__PURE__ */ f("span", { children: e }), s && /* @__PURE__ */ f("span", {
2206
+ L && /* @__PURE__ */ p("span", {
2207
+ className: an(F.left),
2208
+ children: [/* @__PURE__ */ f("span", { children: e }), c && /* @__PURE__ */ f("span", {
2207
2209
  className: "text-eds-red-main",
2208
2210
  "aria-hidden": "true",
2209
2211
  children: "*"
2210
2212
  })]
2211
2213
  }),
2212
2214
  /* @__PURE__ */ f(E.Input, {
2213
- ...k,
2214
- id: j,
2215
- className: N("box-border min-w-0 flex-1 border-0 bg-transparent p-0 font-inherit text-eds-neutral-main outline-none placeholder:text-eds-neutral-elements placeholder:opacity-100 disabled:cursor-not-allowed read-only:not-disabled:cursor-pointer", F.text),
2216
- placeholder: a,
2217
- disabled: o,
2218
- readOnly: _,
2219
- required: s,
2220
- "aria-invalid": M || void 0,
2221
- "aria-describedby": P ? `${j}-desc` : void 0
2215
+ ...A,
2216
+ id: M,
2217
+ className: N("box-border min-w-0 flex-1 border-0 bg-transparent p-0 font-inherit text-eds-neutral-main outline-none disabled:cursor-not-allowed read-only:not-disabled:cursor-pointer", Yt, F.text),
2218
+ placeholder: o,
2219
+ disabled: s,
2220
+ readOnly: y,
2221
+ required: c,
2222
+ "aria-invalid": P || void 0,
2223
+ "aria-describedby": ee ? `${M}-desc` : void 0
2222
2224
  }),
2223
2225
  /* @__PURE__ */ p("div", {
2224
- className: "inline-flex shrink-0 items-center gap-0.5",
2226
+ className: "inline-flex shrink-0 items-center",
2225
2227
  children: [/* @__PURE__ */ f(E.Clear, {
2226
- className: "inline-flex size-7 shrink-0 cursor-pointer items-center justify-center rounded-md text-eds-neutral-elements hover:not-data-disabled:bg-eds-neutral-elements/8 hover:not-data-disabled:text-eds-neutral-main focus-visible:outline-2 focus-visible:outline-eds-blue-main focus-visible:outline-offset-2 data-disabled:pointer-events-none data-disabled:cursor-not-allowed data-disabled:opacity-50",
2228
+ className: N(sn, F.icon),
2227
2229
  "aria-label": "Limpar seleção",
2228
- "data-disabled": o || void 0,
2230
+ "data-disabled": s || void 0,
2229
2231
  children: /* @__PURE__ */ f(l, {
2230
2232
  className: "size-4 shrink-0",
2231
2233
  strokeWidth: 2,
2232
2234
  "aria-hidden": !0
2233
2235
  })
2234
2236
  }), /* @__PURE__ */ f(E.Trigger, {
2235
- className: "inline-flex size-7 shrink-0 cursor-pointer items-center justify-center rounded-md text-eds-neutral-elements hover:not-data-disabled:bg-eds-neutral-elements/8 hover:not-data-disabled:text-eds-neutral-main focus-visible:outline-2 focus-visible:outline-eds-blue-main focus-visible:outline-offset-2 data-disabled:pointer-events-none data-disabled:cursor-not-allowed data-disabled:opacity-50",
2237
+ className: N(sn, F.icon),
2236
2238
  "aria-label": "Abrir lista",
2237
- "data-disabled": o || void 0,
2239
+ "data-disabled": s || void 0,
2238
2240
  children: /* @__PURE__ */ f(r, {
2239
2241
  className: "size-4 shrink-0",
2240
2242
  strokeWidth: 2,
@@ -2244,52 +2246,52 @@ function rn({ label: e = "Label", floatingLabel: t = !0, items: i, placeholder:
2244
2246
  })
2245
2247
  ]
2246
2248
  }), /* @__PURE__ */ f(E.Portal, { children: /* @__PURE__ */ f(E.Positioner, {
2247
- className: Qt,
2248
- style: $t,
2249
+ className: nn,
2250
+ style: rn,
2249
2251
  positionMethod: "fixed",
2250
2252
  sideOffset: 4,
2251
2253
  children: /* @__PURE__ */ p(E.Popup, {
2252
- className: Jt,
2254
+ className: Qt,
2253
2255
  children: [/* @__PURE__ */ f(E.Empty, { children: /* @__PURE__ */ f("div", {
2254
2256
  className: "px-3 py-2.5 text-sm text-eds-neutral-elements",
2255
- children: g
2257
+ children: _
2256
2258
  }) }), /* @__PURE__ */ f(E.List, {
2257
- className: Yt,
2259
+ className: $t,
2258
2260
  children: (e) => /* @__PURE__ */ p(E.Item, {
2259
2261
  value: e,
2260
- className: Xt,
2262
+ className: en,
2261
2263
  children: [/* @__PURE__ */ f(E.ItemIndicator, {
2262
- className: Zt,
2264
+ className: tn,
2263
2265
  children: /* @__PURE__ */ f(n, {
2264
2266
  size: 14,
2265
2267
  strokeWidth: 2.5,
2266
2268
  "aria-hidden": !0
2267
2269
  })
2268
- }), D ? D(e) : /* @__PURE__ */ f("span", {
2270
+ }), O ? O(e) : /* @__PURE__ */ f("span", {
2269
2271
  className: "block min-w-0 flex-1 text-left",
2270
- children: I(e)
2272
+ children: R(e)
2271
2273
  })]
2272
- }, L(e))
2274
+ }, z(e))
2273
2275
  })]
2274
2276
  })
2275
2277
  }) })]
2276
2278
  }),
2277
- P && /* @__PURE__ */ f("div", {
2278
- id: `${j}-desc`,
2279
+ ee && /* @__PURE__ */ f("div", {
2280
+ id: `${M}-desc`,
2279
2281
  className: "text-xs text-eds-neutral-elements data-[state=invalid]:text-eds-red-main",
2280
- "data-state": M ? "invalid" : void 0,
2281
- children: M ? h : m
2282
+ "data-state": P ? "invalid" : void 0,
2283
+ children: P ? g : h
2282
2284
  })
2283
2285
  ]
2284
2286
  });
2285
2287
  }
2286
2288
  //#endregion
2287
2289
  //#region src/components/DatePicker/DatePicker.tsx
2288
- var an = {
2290
+ var un = {
2289
2291
  default: "",
2290
2292
  valid: "not-focus-visible:border-[color-mix(in_srgb,var(--color-eds-green-main)_55%,var(--color-eds-outline-border))]",
2291
2293
  invalid: "not-focus-visible:border-[color-mix(in_srgb,var(--color-eds-red-main)_55%,var(--color-eds-outline-border))]"
2292
- }, on = [
2294
+ }, dn = [
2293
2295
  "D",
2294
2296
  "S",
2295
2297
  "T",
@@ -2298,33 +2300,33 @@ var an = {
2298
2300
  "S",
2299
2301
  "S"
2300
2302
  ];
2301
- function sn(e, t) {
2302
- let n = W(ye(e), { weekStartsOn: t }), r = xe(ve(e), { weekStartsOn: t }), i = [];
2303
- for (let e = n; e <= r; e = ae(e, 1)) i.push(e);
2303
+ function fn(e, t) {
2304
+ let n = G(ve(e), { weekStartsOn: t }), r = be(_e(e), { weekStartsOn: t }), i = [];
2305
+ for (let e = n; e <= r; e = ie(e, 1)) i.push(e);
2304
2306
  return i;
2305
2307
  }
2306
- function cn(e) {
2308
+ function pn(e) {
2307
2309
  return e.mode === "range";
2308
2310
  }
2309
- function ln(e) {
2310
- let { label: n = "Label", labelVariant: r, floatingLabel: o, disabled: s = !1, required: c = !1, fluid: l = !1, state: u = "default", size: d = "md", supportingText: m = "", errorMessage: h = "Selecione uma data válida", id: g, weekStartsOn: _ = 0, dateFormat: b = "dd/MM/yyyy", className: S } = e, C = cn(e), w = e.placeholder ?? (C ? "Selecione um período" : "Selecione uma data"), T = v(), E = g ?? T, O = u === "invalid", k = O || m, A = Wt[d], j = d === "lg" ? "size-5" : "size-4", M = Ut(r, o), P = M === "floating", F = cn(e) ? {
2311
+ function mn(e) {
2312
+ let { label: n = "Label", labelVariant: r, floatingLabel: o, disabled: s = !1, required: c = !1, fluid: l = !1, state: u = "default", size: d = "md", supportingText: m = "", errorMessage: h = "Selecione uma data válida", id: g, weekStartsOn: _ = 0, dateFormat: b = "dd/MM/yyyy", className: S } = e, C = pn(e), w = e.placeholder ?? (C ? "Selecione um período" : "Selecione uma data"), T = v(), E = g ?? T, O = u === "invalid", k = O || m, A = Wt[d], j = d === "lg" ? "size-5" : "size-4", M = Ut(r, o), P = M === "floating", ee = pn(e) ? {
2311
2313
  from: e.defaultValue?.from ?? null,
2312
2314
  to: e.defaultValue?.to ?? null
2313
2315
  } : {
2314
2316
  from: e.defaultValue ?? null,
2315
2317
  to: null
2316
- }, I = cn(e) ? e.value === void 0 ? void 0 : {
2318
+ }, F = pn(e) ? e.value === void 0 ? void 0 : {
2317
2319
  from: e.value?.from ?? null,
2318
2320
  to: e.value?.to ?? null
2319
2321
  } : e.value === void 0 ? void 0 : {
2320
2322
  from: e.value ?? null,
2321
2323
  to: null
2322
- }, L = I !== void 0, [ee, R] = x(F), z = L ? I : ee, B = cn(e) ? Math.max(1, e.numberOfMonths ?? 1) : 1, te = cn(e) ? e.presets : void 0, [ne, re] = x(!1), [ie, V] = x(() => z.from ?? e.defaultMonth ?? /* @__PURE__ */ new Date()), H = y(() => [...on.slice(_), ...on.slice(0, _)], [_]), U = y(() => Array.from({ length: B }, (e, t) => oe(ie, t)), [ie, B]);
2323
- function ae(t) {
2324
- s || (t && V(z.from ?? e.defaultMonth ?? /* @__PURE__ */ new Date()), re(t));
2324
+ }, I = F !== void 0, [L, R] = x(ee), z = I ? F : L, B = pn(e) ? Math.max(1, e.numberOfMonths ?? 1) : 1, te = pn(e) ? e.presets : void 0, [V, ne] = x(!1), [re, H] = x(() => z.from ?? e.defaultMonth ?? /* @__PURE__ */ new Date()), U = y(() => [...dn.slice(_), ...dn.slice(0, _)], [_]), W = y(() => Array.from({ length: B }, (e, t) => ae(re, t)), [re, B]);
2325
+ function ie(t) {
2326
+ s || (t && H(z.from ?? e.defaultMonth ?? /* @__PURE__ */ new Date()), ne(t));
2325
2327
  }
2326
- function se(t) {
2327
- if (cn(e)) {
2328
+ function oe(t) {
2329
+ if (pn(e)) {
2328
2330
  let n = z, r;
2329
2331
  r = !n.from || n.to ? {
2330
2332
  from: t,
@@ -2335,31 +2337,31 @@ function ln(e) {
2335
2337
  } : {
2336
2338
  from: n.from,
2337
2339
  to: t
2338
- }, L || R(r), r.from && e.onValueChange?.({
2340
+ }, I || R(r), r.from && e.onValueChange?.({
2339
2341
  from: r.from,
2340
2342
  to: r.to ?? void 0
2341
- }), r.from && r.to && re(!1);
2343
+ }), r.from && r.to && ne(!1);
2342
2344
  return;
2343
2345
  }
2344
- L || R({
2346
+ I || R({
2345
2347
  from: t,
2346
2348
  to: null
2347
- }), e.onValueChange?.(t), re(!1);
2349
+ }), e.onValueChange?.(t), ne(!1);
2348
2350
  }
2349
- function ce(t) {
2351
+ function se(t) {
2350
2352
  let n = {
2351
2353
  from: t.from,
2352
2354
  to: t.to ?? null
2353
2355
  };
2354
- L || R(n), cn(e) && e.onValueChange?.({
2356
+ I || R(n), pn(e) && e.onValueChange?.({
2355
2357
  from: t.from,
2356
2358
  to: t.to ?? void 0
2357
- }), V(t.from);
2359
+ }), H(t.from);
2358
2360
  }
2359
- function W(e) {
2360
- return !z.from || !z.to || !e.range.to ? !1 : he(z.from, e.range.from) && he(z.to, e.range.to);
2361
+ function G(e) {
2362
+ return !z.from || !z.to || !e.range.to ? !1 : me(z.from, e.range.from) && me(z.to, e.range.to);
2361
2363
  }
2362
- let G = z.from ? !C || !z.to ? Z(z.from, b) : `${Z(z.from, b)} - ${Z(z.to, b)}` : w;
2364
+ let K = z.from ? !C || !z.to ? Z(z.from, b) : `${Z(z.from, b)} - ${Z(z.to, b)}` : w;
2363
2365
  return /* @__PURE__ */ p("div", {
2364
2366
  className: N(Gt, S),
2365
2367
  "data-fluid": l || void 0,
@@ -2378,19 +2380,19 @@ function ln(e) {
2378
2380
  })
2379
2381
  }),
2380
2382
  /* @__PURE__ */ p(D.Root, {
2381
- open: ne,
2382
- onOpenChange: ae,
2383
+ open: V,
2384
+ onOpenChange: ie,
2383
2385
  children: [/* @__PURE__ */ p(D.Trigger, {
2384
2386
  id: E,
2385
2387
  disabled: s,
2386
- className: N("group relative inline-flex w-full cursor-pointer items-center gap-2 rounded-eds-xs border border-eds-outline-border bg-white text-left", A.trigger, an[u], "focus-visible:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-visible:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)] focus-visible:outline-none", "data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70"),
2388
+ className: N("group relative inline-flex w-full cursor-pointer items-center gap-2 rounded-eds-xs border border-eds-outline-border bg-white text-left", A.trigger, un[u], "focus-visible:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-visible:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)] focus-visible:outline-none", "data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70"),
2387
2389
  "data-state": u,
2388
2390
  "data-size": d,
2389
2391
  "data-disabled": s || void 0,
2390
2392
  "aria-describedby": k ? `${E}-desc` : void 0,
2391
2393
  children: [
2392
2394
  P && /* @__PURE__ */ p("span", {
2393
- className: en(A.left),
2395
+ className: an(A.left),
2394
2396
  children: [/* @__PURE__ */ f("span", { children: n }), c && /* @__PURE__ */ f("span", {
2395
2397
  className: "text-eds-red-main",
2396
2398
  "aria-hidden": "true",
@@ -2402,13 +2404,13 @@ function ln(e) {
2402
2404
  "aria-hidden": !0
2403
2405
  }),
2404
2406
  /* @__PURE__ */ f("span", {
2405
- className: N("min-w-0 flex-1 truncate font-inherit", A.text, z.from ? "text-eds-neutral-main" : "text-eds-neutral-elements"),
2406
- children: G
2407
+ className: N("min-w-0 flex-1 truncate font-inherit", A.text, z.from ? "text-eds-neutral-main" : Jt),
2408
+ children: K
2407
2409
  })
2408
2410
  ]
2409
2411
  }), /* @__PURE__ */ f(D.Portal, { children: /* @__PURE__ */ f(D.Positioner, {
2410
- className: Qt,
2411
- style: $t,
2412
+ className: nn,
2413
+ style: rn,
2412
2414
  positionMethod: "fixed",
2413
2415
  sideOffset: 4,
2414
2416
  align: "start",
@@ -2419,14 +2421,14 @@ function ln(e) {
2419
2421
  className: "flex w-40 shrink-0 flex-col gap-0.5 border-r border-eds-outline-border p-2 text-sm",
2420
2422
  children: te.map((e) => /* @__PURE__ */ f("button", {
2421
2423
  type: "button",
2422
- onClick: () => ce(e.range),
2423
- className: N("rounded-md px-3 py-1.5 text-left whitespace-nowrap", W(e) ? "bg-eds-blue-main text-white" : "text-eds-neutral-main hover:bg-eds-neutral-background"),
2424
+ onClick: () => se(e.range),
2425
+ className: N("rounded-md px-3 py-1.5 text-left whitespace-nowrap", G(e) ? "bg-eds-blue-main text-white" : "text-eds-neutral-main hover:bg-eds-neutral-background"),
2424
2426
  children: e.label
2425
2427
  }, e.label))
2426
2428
  }), /* @__PURE__ */ f("div", {
2427
2429
  className: "flex",
2428
- children: U.map((e, t) => {
2429
- let n = t === 0, r = t === U.length - 1, o = sn(e, _);
2430
+ children: W.map((e, t) => {
2431
+ let n = t === 0, r = t === W.length - 1, o = fn(e, _);
2430
2432
  return /* @__PURE__ */ p("div", {
2431
2433
  className: N("w-[284px] shrink-0", !n && "border-l border-eds-outline-border"),
2432
2434
  children: [/* @__PURE__ */ p("div", {
@@ -2436,7 +2438,7 @@ function ln(e) {
2436
2438
  icon: i,
2437
2439
  label: "Mês anterior",
2438
2440
  size: "sm",
2439
- onClick: () => V((e) => lt(e, 1))
2441
+ onClick: () => H((e) => lt(e, 1))
2440
2442
  }) : /* @__PURE__ */ f("span", {
2441
2443
  className: "size-8 shrink-0",
2442
2444
  "aria-hidden": !0
@@ -2449,7 +2451,7 @@ function ln(e) {
2449
2451
  icon: a,
2450
2452
  label: "Próximo mês",
2451
2453
  size: "sm",
2452
- onClick: () => V((e) => oe(e, 1))
2454
+ onClick: () => H((e) => ae(e, 1))
2453
2455
  }) : /* @__PURE__ */ f("span", {
2454
2456
  className: "size-8 shrink-0",
2455
2457
  "aria-hidden": !0
@@ -2457,16 +2459,16 @@ function ln(e) {
2457
2459
  ]
2458
2460
  }), /* @__PURE__ */ p("div", {
2459
2461
  className: "grid grid-cols-7 px-4 pb-4",
2460
- children: [H.map((e, t) => /* @__PURE__ */ f("span", {
2462
+ children: [U.map((e, t) => /* @__PURE__ */ f("span", {
2461
2463
  className: "pb-2 text-center text-xs font-medium text-eds-neutral-main",
2462
2464
  children: e
2463
2465
  }, `${e}-${t}`)), o.map((t) => {
2464
- let n = st(t, e), r = ct(t), i = C && z.from ? he(t, z.from) : !1, a = C && z.to ? he(t, z.to) : !1, o = !!(C && z.from && z.to && !he(z.from, z.to)), s = o && z.from && z.to ? at(t, z.from) && ot(t, z.to) : !1, c = C ? i || a : z.from ? he(t, z.from) : !1;
2466
+ let n = st(t, e), r = ct(t), i = C && z.from ? me(t, z.from) : !1, a = C && z.to ? me(t, z.to) : !1, o = !!(C && z.from && z.to && !me(z.from, z.to)), s = o && z.from && z.to ? at(t, z.from) && ot(t, z.to) : !1, c = C ? i || a : z.from ? me(t, z.from) : !1;
2465
2467
  return /* @__PURE__ */ f("div", {
2466
2468
  className: N("flex items-center justify-center py-0.5", o && (s || i || a) && "bg-eds-blue-main/10", o && i && "rounded-l-full", o && a && "rounded-r-full"),
2467
2469
  children: /* @__PURE__ */ f("button", {
2468
2470
  type: "button",
2469
- onClick: () => se(t),
2471
+ onClick: () => oe(t),
2470
2472
  "data-selected": c || void 0,
2471
2473
  "data-today": r || void 0,
2472
2474
  className: N("flex size-9 shrink-0 items-center justify-center rounded-full text-sm font-medium", c ? "bg-eds-blue-main text-white" : n ? "text-eds-neutral-main hover:bg-eds-neutral-background" : "text-eds-neutral-elements/50 hover:bg-eds-neutral-background", !c && r && "ring-1 ring-inset ring-eds-blue-main"),
@@ -2492,7 +2494,7 @@ function ln(e) {
2492
2494
  }
2493
2495
  //#endregion
2494
2496
  //#region src/components/Dialog/Dialog.tsx
2495
- var un = { size: {
2497
+ var hn = { size: {
2496
2498
  sm: {
2497
2499
  classes: "sm:max-w-xs",
2498
2500
  description: "Small dialog for simple confirmations (288px)"
@@ -2509,21 +2511,21 @@ var un = { size: {
2509
2511
  classes: "sm:max-w-3xl",
2510
2512
  description: "Extra large dialog for detailed views (768px)"
2511
2513
  }
2512
- } }, dn = { size: "md" }, fn = m("dialog");
2514
+ } }, gn = { size: "md" }, _n = m("dialog");
2513
2515
  function $() {
2514
- return g(fn);
2516
+ return g(_n);
2515
2517
  }
2516
- function pn({ size: e = dn.size } = {}) {
2517
- return N(`fixed top-1/2 left-1/2 ${Q.overlay} grid w-full max-w-[calc(100%-2rem)] max-h-[calc(100vh-4rem)] -translate-x-1/2 -translate-y-1/2 gap-4 overflow-y-auto rounded-xl bg-white p-4 text-sm text-eds-neutral-main ring-1 ring-eds-outline-border outline-none transition-all duration-100 data-[ending-style]:scale-95 data-[ending-style]:opacity-0 data-[starting-style]:scale-95 data-[starting-style]:opacity-0`, P(un.size, e, dn.size).classes);
2518
+ function vn({ size: e = gn.size } = {}) {
2519
+ return N(`fixed top-1/2 left-1/2 ${Q.overlay} grid w-full max-w-[calc(100%-2rem)] max-h-[calc(100vh-4rem)] -translate-x-1/2 -translate-y-1/2 gap-4 overflow-y-auto rounded-xl bg-white p-4 text-sm text-eds-neutral-main ring-1 ring-eds-outline-border outline-none transition-all duration-100 data-[ending-style]:scale-95 data-[ending-style]:opacity-0 data-[starting-style]:scale-95 data-[starting-style]:opacity-0`, P(hn.size, e, gn.size).classes);
2518
2520
  }
2519
- function mn({ className: e, children: t, size: n, showCloseButton: r = !0 }) {
2521
+ function yn({ className: e, children: t, size: n, showCloseButton: r = !0 }) {
2520
2522
  let i = $(), a = i === "alertdialog" ? k.Portal : O.Portal, o = i === "alertdialog" ? k.Backdrop : O.Backdrop, s = i === "alertdialog" ? k.Popup : O.Popup, c = i === "alertdialog" ? k.Close : O.Close;
2521
2523
  return /* @__PURE__ */ p(a, { children: [/* @__PURE__ */ f(o, {
2522
2524
  className: N("fixed inset-0 isolate bg-black/10 transition-opacity duration-100 supports-backdrop-filter:backdrop-blur-xs data-[ending-style]:opacity-0 data-[starting-style]:opacity-0", Q.overlay),
2523
2525
  style: { zIndex: Q.overlayValue }
2524
2526
  }), /* @__PURE__ */ p(s, {
2525
2527
  "data-eds-component": "Dialog",
2526
- className: N(pn({ size: n }), e),
2528
+ className: N(vn({ size: n }), e),
2527
2529
  style: { zIndex: Q.overlayValue },
2528
2530
  children: [t, r ? /* @__PURE__ */ f(c, {
2529
2531
  "data-eds-component": "Dialog",
@@ -2536,10 +2538,10 @@ function mn({ className: e, children: t, size: n, showCloseButton: r = !0 }) {
2536
2538
  }) : null]
2537
2539
  })] });
2538
2540
  }
2539
- function hn(e) {
2541
+ function bn(e) {
2540
2542
  if (e.role === "alertdialog") {
2541
2543
  let { children: t, role: n, ...r } = e;
2542
- return /* @__PURE__ */ f(fn.Provider, {
2544
+ return /* @__PURE__ */ f(_n.Provider, {
2543
2545
  value: n,
2544
2546
  children: /* @__PURE__ */ f(k.Root, {
2545
2547
  ...r,
@@ -2548,7 +2550,7 @@ function hn(e) {
2548
2550
  });
2549
2551
  }
2550
2552
  let { children: t, role: n = "dialog", ...r } = e;
2551
- return /* @__PURE__ */ f(fn.Provider, {
2553
+ return /* @__PURE__ */ f(_n.Provider, {
2552
2554
  value: n,
2553
2555
  children: /* @__PURE__ */ f(O.Root, {
2554
2556
  ...r,
@@ -2556,7 +2558,7 @@ function hn(e) {
2556
2558
  })
2557
2559
  });
2558
2560
  }
2559
- function gn({ children: e, ...t }) {
2561
+ function xn({ children: e, ...t }) {
2560
2562
  return $() === "alertdialog" ? /* @__PURE__ */ f(k.Trigger, {
2561
2563
  "data-eds-component": "Dialog",
2562
2564
  ...t,
@@ -2567,67 +2569,67 @@ function gn({ children: e, ...t }) {
2567
2569
  children: e
2568
2570
  });
2569
2571
  }
2570
- function _n({ className: e, ...t }) {
2572
+ function Sn({ className: e, ...t }) {
2571
2573
  return /* @__PURE__ */ f("div", {
2572
2574
  "data-slot": "dialog-header",
2573
2575
  className: N("flex flex-col gap-2", e),
2574
2576
  ...t
2575
2577
  });
2576
2578
  }
2577
- function vn({ className: e, ...t }) {
2579
+ function Cn({ className: e, ...t }) {
2578
2580
  return /* @__PURE__ */ f("div", {
2579
2581
  "data-slot": "dialog-footer",
2580
2582
  className: N("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t border-eds-outline-border bg-eds-neutral-background p-4 sm:flex-row sm:justify-end", e),
2581
2583
  ...t
2582
2584
  });
2583
2585
  }
2584
- function yn({ className: e, ...t }) {
2586
+ function wn({ className: e, ...t }) {
2585
2587
  return /* @__PURE__ */ f($() === "alertdialog" ? k.Title : O.Title, {
2586
2588
  className: N("text-base leading-none font-medium text-eds-neutral-main", e),
2587
2589
  ...t
2588
2590
  });
2589
2591
  }
2590
- function bn({ className: e, ...t }) {
2592
+ function Tn({ className: e, ...t }) {
2591
2593
  return /* @__PURE__ */ f($() === "alertdialog" ? k.Description : O.Description, {
2592
2594
  className: N("text-sm text-eds-neutral-elements", e),
2593
2595
  ...t
2594
2596
  });
2595
2597
  }
2596
- function xn({ children: e, ...t }) {
2598
+ function En({ children: e, ...t }) {
2597
2599
  return /* @__PURE__ */ f($() === "alertdialog" ? k.Close : O.Close, {
2598
2600
  "data-eds-component": "Dialog",
2599
2601
  ...t,
2600
2602
  children: e
2601
2603
  });
2602
2604
  }
2603
- hn.displayName = "Dialog.Root", gn.displayName = "Dialog.Trigger", _n.displayName = "Dialog.Header", vn.displayName = "Dialog.Footer", yn.displayName = "Dialog.Title", bn.displayName = "Dialog.Description", xn.displayName = "Dialog.Close";
2604
- var Sn = Object.assign(mn, {
2605
- Root: hn,
2606
- Trigger: gn,
2607
- Header: _n,
2608
- Footer: vn,
2609
- Title: yn,
2610
- Description: bn,
2611
- Close: xn
2605
+ bn.displayName = "Dialog.Root", xn.displayName = "Dialog.Trigger", Sn.displayName = "Dialog.Header", Cn.displayName = "Dialog.Footer", wn.displayName = "Dialog.Title", Tn.displayName = "Dialog.Description", En.displayName = "Dialog.Close";
2606
+ var Dn = Object.assign(yn, {
2607
+ Root: bn,
2608
+ Trigger: xn,
2609
+ Header: Sn,
2610
+ Footer: Cn,
2611
+ Title: wn,
2612
+ Description: Tn,
2613
+ Close: En
2612
2614
  });
2613
2615
  //#endregion
2614
2616
  //#region src/components/FormDialog/FormDialog.tsx
2615
- function Cn({ size: e = "xl" } = {}) {
2616
- return N(`fixed top-1/2 left-1/2 ${Q.overlay} flex w-full max-w-[calc(100%-2rem)] max-h-[calc(100vh-4rem)] -translate-x-1/2 -translate-y-1/2 flex-col overflow-hidden rounded-xl bg-white text-sm text-eds-neutral-main ring-1 ring-eds-outline-border outline-none transition-all duration-100 data-[ending-style]:scale-95 data-[ending-style]:opacity-0 data-[starting-style]:scale-95 data-[starting-style]:opacity-0`, P(un.size, e, dn.size).classes);
2617
+ function On({ size: e = "xl" } = {}) {
2618
+ return N(`fixed top-1/2 left-1/2 ${Q.overlay} flex w-full max-w-[calc(100%-2rem)] max-h-[calc(100vh-4rem)] -translate-x-1/2 -translate-y-1/2 flex-col overflow-hidden rounded-xl bg-white text-sm text-eds-neutral-main ring-1 ring-eds-outline-border outline-none transition-all duration-100 data-[ending-style]:scale-95 data-[ending-style]:opacity-0 data-[starting-style]:scale-95 data-[starting-style]:opacity-0`, P(hn.size, e, gn.size).classes);
2617
2619
  }
2618
- function wn({ className: e, children: t, size: n = "xl" }) {
2620
+ function kn({ className: e, children: t, size: n = "xl" }) {
2619
2621
  let r = $(), i = r === "alertdialog" ? k.Portal : O.Portal, a = r === "alertdialog" ? k.Backdrop : O.Backdrop, o = r === "alertdialog" ? k.Popup : O.Popup;
2620
2622
  return /* @__PURE__ */ p(i, { children: [/* @__PURE__ */ f(a, {
2621
2623
  className: N("fixed inset-0 isolate bg-black/10 transition-opacity duration-100 supports-backdrop-filter:backdrop-blur-xs data-[ending-style]:opacity-0 data-[starting-style]:opacity-0", Q.overlay),
2622
2624
  style: { zIndex: Q.overlayValue }
2623
2625
  }), /* @__PURE__ */ f(o, {
2624
2626
  "data-eds-component": "FormDialog",
2625
- className: N(Cn({ size: n }), e),
2627
+ className: N(On({ size: n }), e),
2626
2628
  style: { zIndex: Q.overlayValue },
2627
2629
  children: t
2628
2630
  })] });
2629
2631
  }
2630
- function Tn({ className: e, icon: t, title: n, subtitle: r, showCloseButton: i = !0, children: a, ...o }) {
2632
+ function An({ className: e, icon: t, title: n, subtitle: r, showCloseButton: i = !0, children: a, ...o }) {
2631
2633
  let s = $(), c = s === "alertdialog" ? k.Close : O.Close, u = s === "alertdialog" ? k.Title : O.Title, d = s === "alertdialog" ? k.Description : O.Description, m = n != null || r != null || t;
2632
2634
  return /* @__PURE__ */ p("div", {
2633
2635
  "data-slot": "form-dialog-header",
@@ -2672,43 +2674,43 @@ function Tn({ className: e, icon: t, title: n, subtitle: r, showCloseButton: i =
2672
2674
  ]
2673
2675
  });
2674
2676
  }
2675
- function En({ className: e, ...t }) {
2677
+ function jn({ className: e, ...t }) {
2676
2678
  return /* @__PURE__ */ f("div", {
2677
2679
  "data-slot": "form-dialog-body",
2678
2680
  className: N("min-h-0 flex-1 overflow-y-auto overscroll-contain px-5 py-4", e),
2679
2681
  ...t
2680
2682
  });
2681
2683
  }
2682
- function Dn({ className: e, ...t }) {
2684
+ function Mn({ className: e, ...t }) {
2683
2685
  return /* @__PURE__ */ f("div", {
2684
2686
  "data-slot": "form-dialog-footer",
2685
2687
  className: N("flex shrink-0 flex-col-reverse gap-2 border-t border-eds-outline-border bg-eds-neutral-background px-5 py-4 sm:flex-row sm:justify-end", e),
2686
2688
  ...t
2687
2689
  });
2688
2690
  }
2689
- function On({ className: e, ...t }) {
2691
+ function Nn({ className: e, ...t }) {
2690
2692
  return /* @__PURE__ */ f($() === "alertdialog" ? k.Title : O.Title, {
2691
2693
  className: N("text-lg leading-tight font-semibold text-eds-blue-dark", e),
2692
2694
  ...t
2693
2695
  });
2694
2696
  }
2695
- function kn({ className: e, ...t }) {
2697
+ function Pn({ className: e, ...t }) {
2696
2698
  return /* @__PURE__ */ f($() === "alertdialog" ? k.Description : O.Description, {
2697
2699
  className: N("text-sm leading-snug text-eds-neutral-elements", e),
2698
2700
  ...t
2699
2701
  });
2700
2702
  }
2701
- Tn.displayName = "FormDialog.Header", En.displayName = "FormDialog.Body", Dn.displayName = "FormDialog.Footer", On.displayName = "FormDialog.Title", kn.displayName = "FormDialog.Description";
2702
- var An = Object.assign(wn, {
2703
- Root: hn,
2704
- Trigger: gn,
2705
- Close: xn,
2706
- Header: Tn,
2707
- Body: En,
2708
- Footer: Dn,
2709
- Title: On,
2710
- Description: kn
2711
- }), jn = { size: {
2703
+ An.displayName = "FormDialog.Header", jn.displayName = "FormDialog.Body", Mn.displayName = "FormDialog.Footer", Nn.displayName = "FormDialog.Title", Pn.displayName = "FormDialog.Description";
2704
+ var Fn = Object.assign(kn, {
2705
+ Root: bn,
2706
+ Trigger: xn,
2707
+ Close: En,
2708
+ Header: An,
2709
+ Body: jn,
2710
+ Footer: Mn,
2711
+ Title: Nn,
2712
+ Description: Pn
2713
+ }), In = { size: {
2712
2714
  sm: {
2713
2715
  classes: "px-6 py-8 gap-3",
2714
2716
  description: "Compact empty state for smaller containers"
@@ -2721,11 +2723,11 @@ var An = Object.assign(wn, {
2721
2723
  classes: "px-12 py-20 gap-6",
2722
2724
  description: "Large empty state for prominent placement"
2723
2725
  }
2724
- } }, Mn = { size: "md" };
2725
- function Nn({ icon: e, title: t, description: n, action: r, size: i = Mn.size, titleLevel: a = "h2", className: o }) {
2726
+ } }, Ln = { size: "md" };
2727
+ function Rn({ icon: e, title: t, description: n, action: r, size: i = Ln.size, titleLevel: a = "h2", className: o }) {
2726
2728
  return /* @__PURE__ */ p("div", {
2727
2729
  "data-eds-component": "Empty",
2728
- className: N("flex w-full flex-col items-center rounded-eds-sm border border-eds-outline-border bg-eds-neutral-background text-center", P(jn.size, i, Mn.size).classes, o),
2730
+ className: N("flex w-full flex-col items-center rounded-eds-sm border border-eds-outline-border bg-eds-neutral-background text-center", P(In.size, i, Ln.size).classes, o),
2729
2731
  children: [
2730
2732
  e && /* @__PURE__ */ f("div", {
2731
2733
  className: "text-eds-neutral-elements",
@@ -2746,40 +2748,40 @@ function Nn({ icon: e, title: t, description: n, action: r, size: i = Mn.size, t
2746
2748
  }
2747
2749
  //#endregion
2748
2750
  //#region ../../node_modules/.pnpm/brazilian-values@0.13.1/node_modules/brazilian-values/dist/brazilian-values.mjs
2749
- var Pn = /\D/g, Fn = function(e) {
2750
- return e.replace(Pn, "");
2751
- }, In = function(e) {
2752
- return Fn(e).replace(/(\d{5})(\d{1,3})/, "$1-$2");
2753
- }, Ln = function(e) {
2754
- return Fn(e).replace(/(\d{2})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1/$2").replace(/(\d{4})(\d{1,2})$/, "$1-$2");
2755
- }, Rn = function(e) {
2756
- return Fn(e).replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d{1,2})$/, "$1-$2");
2757
- }, zn = function(e) {
2758
- return (e.match(/\d/g)?.length ?? 0) <= 11;
2759
- }, Bn = function(e) {
2760
- return zn(e) ? Rn(e) : Ln(e);
2751
+ var zn = /\D/g, Bn = function(e) {
2752
+ return e.replace(zn, "");
2761
2753
  }, Vn = function(e) {
2762
- return Fn(e).replace(/(\d{1,2})/, "($1").replace(/(\(\d{2})(\d{1,4})/, "$1) $2").replace(/( \d{4})(\d{1,4})/, "$1-$2").replace(/( \d{4})(?:-)(\d{1})(\d{4})/, "$1$2-$3");
2763
- }, Hn = {
2754
+ return Bn(e).replace(/(\d{5})(\d{1,3})/, "$1-$2");
2755
+ }, Hn = function(e) {
2756
+ return Bn(e).replace(/(\d{2})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1/$2").replace(/(\d{4})(\d{1,2})$/, "$1-$2");
2757
+ }, Un = function(e) {
2758
+ return Bn(e).replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d{1,2})$/, "$1-$2");
2759
+ }, Wn = function(e) {
2760
+ return (e.match(/\d/g)?.length ?? 0) <= 11;
2761
+ }, Gn = function(e) {
2762
+ return Wn(e) ? Un(e) : Hn(e);
2763
+ }, Kn = function(e) {
2764
+ return Bn(e).replace(/(\d{1,2})/, "($1").replace(/(\(\d{2})(\d{1,4})/, "$1) $2").replace(/( \d{4})(\d{1,4})/, "$1-$2").replace(/( \d{4})(?:-)(\d{1})(\d{4})/, "$1$2-$3");
2765
+ }, qn = {
2764
2766
  default: "",
2765
2767
  valid: "not-focus-within:border-[color-mix(in_srgb,var(--color-eds-green-main)_55%,var(--color-eds-outline-border))]",
2766
2768
  invalid: "not-focus-within:border-[color-mix(in_srgb,var(--color-eds-red-main)_55%,var(--color-eds-outline-border))]",
2767
2769
  loading: "not-focus-within:border-[color-mix(in_srgb,var(--color-eds-blue-main)_45%,var(--color-eds-outline-border))]"
2768
2770
  };
2769
- function Un({ className: e, label: t = "Label", disabled: n = !1, state: r = "default", size: i = "md", inputType: a = "text", required: c = !1, placeholder: l = "Digite algo...", errorMessage: u = "Campo obrigatório", fluid: d = !1, format: m, tooltip: h = null, linkText: g = null, linkUrl: _ = null, supportLink: y = null, supportLinkUrl: b = null, supportingText: S = "", lazy: C = !1, labelVariant: w, floatingLabel: T, disableAutocomplete: E = !1, isLoading: D = !1, loadingIconPosition: O = "end", icon: k, defaultValue: j, value: M, id: P, name: F, onBlur: I, onFocus: L, onKeyDown: ee, onClick: R, onChange: z, ...B }) {
2770
- let te = v(), ne = P ?? te, [re, ie] = x(() => j?.toString() ?? ""), V = M !== void 0, H = (V ? M : re)?.toString() ?? "", U = y ?? g, ae = b ?? _, oe = Ut(w, T), se = oe === "floating", ce = (e) => {
2771
+ function Jn({ className: e, label: t = "Label", disabled: n = !1, state: r = "default", size: i = "md", inputType: a = "text", required: c = !1, placeholder: l = "Digite algo...", errorMessage: u = "Campo obrigatório", fluid: d = !1, format: m, tooltip: h = null, linkText: g = null, linkUrl: _ = null, supportLink: y = null, supportLinkUrl: b = null, supportingText: S = "", lazy: C = !1, labelVariant: w, floatingLabel: T, disableAutocomplete: E = !1, isLoading: D = !1, loadingIconPosition: O = "end", icon: k, defaultValue: j, value: M, id: P, name: ee, onBlur: F, onFocus: I, onKeyDown: L, onClick: R, onChange: z, ...B }) {
2772
+ let te = v(), V = P ?? te, [ne, re] = x(() => j?.toString() ?? ""), H = M !== void 0, U = (H ? M : ne)?.toString() ?? "", W = y ?? g, ie = b ?? _, ae = Ut(w, T), oe = ae === "floating", se = (e) => {
2771
2773
  switch (m) {
2772
- case "cep": return In(e);
2773
- case "cpf": return Rn(e);
2774
- case "cnpj": return Ln(e);
2775
- case "cpfOrCnpj": return Bn(e);
2776
- case "phone": return Vn(e);
2774
+ case "cep": return Vn(e);
2775
+ case "cpf": return Un(e);
2776
+ case "cnpj": return Hn(e);
2777
+ case "cpfOrCnpj": return Gn(e);
2778
+ case "phone": return Kn(e);
2777
2779
  default: return e;
2778
2780
  }
2779
- }, W = (e, t) => {
2780
- let n = ce(e);
2781
- V || ie(n), z?.(n, t);
2782
- }, G = r === "invalid", K = n || D, le = Wt[i], ue = D ? /* @__PURE__ */ f("span", {
2781
+ }, G = (e, t) => {
2782
+ let n = se(e);
2783
+ H || re(n), z?.(n, t);
2784
+ }, K = r === "invalid", q = n || D, ce = Wt[i], le = D ? /* @__PURE__ */ f("span", {
2783
2785
  className: "inline-flex shrink-0 items-center justify-center text-eds-blue-main",
2784
2786
  "data-position": O,
2785
2787
  "aria-hidden": !0,
@@ -2792,15 +2794,15 @@ function Un({ className: e, label: t = "Label", disabled: n = !1, state: r = "de
2792
2794
  className: N(Gt, e),
2793
2795
  "data-fluid": d || void 0,
2794
2796
  "data-eds-component": "Input",
2795
- "data-label-variant": oe,
2797
+ "data-label-variant": ae,
2796
2798
  children: [
2797
2799
  /* @__PURE__ */ p("div", {
2798
2800
  className: Kt,
2799
2801
  children: [/* @__PURE__ */ p("div", {
2800
2802
  className: "inline-flex min-w-0 items-center gap-2",
2801
2803
  children: [/* @__PURE__ */ p("label", {
2802
- className: N(qt, se && "sr-only", !se && "font-medium"),
2803
- htmlFor: ne,
2804
+ className: N(qt, oe && "sr-only", !oe && "font-medium"),
2805
+ htmlFor: V,
2804
2806
  children: [/* @__PURE__ */ f("span", { children: t }), c && /* @__PURE__ */ f("span", {
2805
2807
  className: "text-eds-red-main",
2806
2808
  children: "*"
@@ -2810,33 +2812,33 @@ function Un({ className: e, label: t = "Label", disabled: n = !1, state: r = "de
2810
2812
  className: "inline-flex size-7 cursor-help items-center justify-center rounded-md text-eds-neutral-elements focus-visible:outline-2 focus-visible:outline-eds-blue-main focus-visible:outline-offset-2",
2811
2813
  "aria-label": h,
2812
2814
  title: h,
2813
- disabled: K,
2815
+ disabled: q,
2814
2816
  children: /* @__PURE__ */ f(o, {
2815
2817
  size: 16,
2816
2818
  "aria-hidden": !0
2817
2819
  })
2818
2820
  })]
2819
- }), U && ae && /* @__PURE__ */ f("a", {
2821
+ }), W && ie && /* @__PURE__ */ f("a", {
2820
2822
  className: "text-sm whitespace-nowrap text-eds-blue-main underline underline-offset-[0.15em] aria-disabled:pointer-events-none aria-disabled:opacity-60",
2821
- href: ae,
2822
- "aria-disabled": K || void 0,
2823
- tabIndex: K ? -1 : 0,
2823
+ href: ie,
2824
+ "aria-disabled": q || void 0,
2825
+ tabIndex: q ? -1 : 0,
2824
2826
  onClick: (e) => {
2825
- K && e.preventDefault();
2827
+ q && e.preventDefault();
2826
2828
  },
2827
- children: U
2829
+ children: W
2828
2830
  })]
2829
2831
  }),
2830
2832
  /* @__PURE__ */ p("div", {
2831
- className: N("group relative inline-flex w-full items-center gap-2 rounded-eds-xs border border-eds-outline-border bg-white", le.control, Hn[r], "focus-within:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-within:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)]", "data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70"),
2832
- "data-disabled": K || void 0,
2833
+ className: N("group relative inline-flex w-full items-center gap-2 rounded-eds-xs border border-eds-outline-border bg-white", ce.control, qn[r], "focus-within:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-within:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)]", "data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70"),
2834
+ "data-disabled": q || void 0,
2833
2835
  "data-state": r,
2834
2836
  "data-size": i,
2835
- "data-floating": se || void 0,
2836
- "data-has-value": H ? !0 : void 0,
2837
+ "data-floating": oe || void 0,
2838
+ "data-has-value": U ? !0 : void 0,
2837
2839
  children: [
2838
- se && /* @__PURE__ */ p("span", {
2839
- className: en(le.left),
2840
+ oe && /* @__PURE__ */ p("span", {
2841
+ className: an(ce.left),
2840
2842
  children: [/* @__PURE__ */ f("span", { children: t }), c && /* @__PURE__ */ f("span", {
2841
2843
  className: "text-eds-red-main",
2842
2844
  "aria-hidden": "true",
@@ -2848,62 +2850,62 @@ function Un({ className: e, label: t = "Label", disabled: n = !1, state: r = "de
2848
2850
  size: 16,
2849
2851
  "aria-hidden": !0
2850
2852
  }),
2851
- O === "start" && ue,
2853
+ O === "start" && le,
2852
2854
  /* @__PURE__ */ f(A, {
2853
2855
  ...B,
2854
- id: ne,
2855
- name: F,
2856
- className: N("box-border min-w-0 flex-1 border-0 bg-transparent p-0 font-inherit text-eds-neutral-main outline-none placeholder:text-eds-neutral-elements placeholder:opacity-100", le.text),
2857
- disabled: K,
2856
+ id: V,
2857
+ name: ee,
2858
+ className: N("box-border min-w-0 flex-1 border-0 bg-transparent p-0 font-inherit text-eds-neutral-main outline-none", Yt, ce.text),
2859
+ disabled: q,
2858
2860
  type: a,
2859
2861
  required: c,
2860
2862
  placeholder: l,
2861
2863
  autoComplete: E ? "off" : B.autoComplete,
2862
- "aria-invalid": G || void 0,
2863
- "aria-describedby": G ? `${ne}-desc` : void 0,
2864
+ "aria-invalid": K || void 0,
2865
+ "aria-describedby": K ? `${V}-desc` : void 0,
2864
2866
  "aria-busy": D || void 0,
2865
- value: V ? M : void 0,
2866
- defaultValue: V ? void 0 : j,
2867
+ value: H ? M : void 0,
2868
+ defaultValue: H ? void 0 : j,
2867
2869
  onClick: R,
2868
- onKeyDown: ee,
2869
- onFocus: L,
2870
+ onKeyDown: L,
2871
+ onFocus: I,
2870
2872
  onBlur: (e) => {
2871
- I?.(e), C && W(e.currentTarget.value, e);
2873
+ F?.(e), C && G(e.currentTarget.value, e);
2872
2874
  },
2873
2875
  onChange: (e) => {
2874
- C || W(e.currentTarget.value, e);
2876
+ C || G(e.currentTarget.value, e);
2875
2877
  }
2876
2878
  }),
2877
- O === "end" && ue
2879
+ O === "end" && le
2878
2880
  ]
2879
2881
  }),
2880
- (G || S) && /* @__PURE__ */ f("div", {
2881
- id: `${ne}-desc`,
2882
+ (K || S) && /* @__PURE__ */ f("div", {
2883
+ id: `${V}-desc`,
2882
2884
  className: "text-xs text-eds-neutral-elements data-[state=invalid]:text-eds-red-main",
2883
- "data-state": G ? "invalid" : r,
2884
- children: G ? u : S
2885
+ "data-state": K ? "invalid" : r,
2886
+ children: K ? u : S
2885
2887
  })
2886
2888
  ]
2887
2889
  });
2888
2890
  }
2889
2891
  //#endregion
2890
2892
  //#region src/components/Textarea/Textarea.tsx
2891
- var Wn = {
2893
+ var Yn = {
2892
2894
  default: "",
2893
2895
  valid: "not-focus-within:border-[color-mix(in_srgb,var(--color-eds-green-main)_55%,var(--color-eds-outline-border))]",
2894
2896
  invalid: "not-focus-within:border-[color-mix(in_srgb,var(--color-eds-red-main)_55%,var(--color-eds-outline-border))]"
2895
- }, Gn = {
2897
+ }, Xn = {
2896
2898
  sm: "min-h-20",
2897
2899
  md: "min-h-24",
2898
2900
  lg: "min-h-32"
2899
2901
  };
2900
- function Kn({ className: e, label: t = "Label", disabled: n = !1, state: r = "default", size: i = "md", required: a = !1, placeholder: s = "Digite algo...", errorMessage: c = "Campo obrigatório", fluid: l = !1, tooltip: u = null, supportLink: d = null, supportLinkUrl: m = null, supportingText: h = "", labelVariant: g, floatingLabel: _, rows: y = 4, defaultValue: b, value: S, id: C, name: w, onBlur: T, onFocus: E, onKeyDown: D, onClick: O, onChange: k, ...A }) {
2901
- let j = v(), M = C ?? j, [P, F] = x(() => b?.toString() ?? ""), I = S !== void 0, L = (I ? S : P)?.toString() ?? "", ee = Ut(g, _), R = ee === "floating", z = r === "invalid", B = Wt[i];
2902
+ function Zn({ className: e, label: t = "Label", disabled: n = !1, state: r = "default", size: i = "md", required: a = !1, placeholder: s = "Digite algo...", errorMessage: c = "Campo obrigatório", fluid: l = !1, tooltip: u = null, supportLink: d = null, supportLinkUrl: m = null, supportingText: h = "", labelVariant: g, floatingLabel: _, rows: y = 4, defaultValue: b, value: S, id: C, name: w, onBlur: T, onFocus: E, onKeyDown: D, onClick: O, onChange: k, ...A }) {
2903
+ let j = v(), M = C ?? j, [P, ee] = x(() => b?.toString() ?? ""), F = S !== void 0, I = (F ? S : P)?.toString() ?? "", L = Ut(g, _), R = L === "floating", z = r === "invalid", B = Wt[i];
2902
2904
  return /* @__PURE__ */ p("div", {
2903
2905
  className: N(Gt, e),
2904
2906
  "data-fluid": l || void 0,
2905
2907
  "data-eds-component": "Textarea",
2906
- "data-label-variant": ee,
2908
+ "data-label-variant": L,
2907
2909
  children: [
2908
2910
  /* @__PURE__ */ p("div", {
2909
2911
  className: Kt,
@@ -2939,14 +2941,14 @@ function Kn({ className: e, label: t = "Label", disabled: n = !1, state: r = "de
2939
2941
  })]
2940
2942
  }),
2941
2943
  /* @__PURE__ */ p("div", {
2942
- className: N("group relative w-full rounded-eds-xs border border-eds-outline-border bg-white", B.paddingX, "py-2.5", Gn[i], Wn[r], "focus-within:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-within:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)]", "data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70"),
2944
+ className: N("group relative flex w-full flex-col rounded-eds-xs border border-eds-outline-border bg-white", B.paddingX, "py-2.5", Xn[i], Yn[r], "focus-within:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-within:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)]", "data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70"),
2943
2945
  "data-disabled": n || void 0,
2944
2946
  "data-state": r,
2945
2947
  "data-size": i,
2946
2948
  "data-floating": R || void 0,
2947
- "data-has-value": L ? !0 : void 0,
2949
+ "data-has-value": I ? !0 : void 0,
2948
2950
  children: [R && /* @__PURE__ */ p("span", {
2949
- className: en(B.left),
2951
+ className: an(B.left),
2950
2952
  children: [/* @__PURE__ */ f("span", { children: t }), a && /* @__PURE__ */ f("span", {
2951
2953
  className: "text-eds-red-main",
2952
2954
  "aria-hidden": "true",
@@ -2957,20 +2959,20 @@ function Kn({ className: e, label: t = "Label", disabled: n = !1, state: r = "de
2957
2959
  id: M,
2958
2960
  name: w,
2959
2961
  rows: y,
2960
- className: N("box-border min-h-[inherit] w-full resize-y border-0 bg-transparent p-0 font-inherit text-eds-neutral-main outline-none placeholder:text-eds-neutral-elements placeholder:opacity-100", B.text),
2962
+ className: N("box-border min-h-[inherit] w-full flex-1 resize-y appearance-none border-0 bg-white p-0 font-inherit text-eds-neutral-main shadow-none outline-none", Yt, B.text, "disabled:cursor-not-allowed disabled:bg-eds-neutral-background"),
2961
2963
  disabled: n,
2962
2964
  required: a,
2963
2965
  placeholder: s,
2964
2966
  "aria-invalid": z || void 0,
2965
2967
  "aria-describedby": z ? `${M}-desc` : void 0,
2966
- value: I ? S : void 0,
2967
- defaultValue: I ? void 0 : b,
2968
+ value: F ? S : void 0,
2969
+ defaultValue: F ? void 0 : b,
2968
2970
  onClick: O,
2969
2971
  onKeyDown: D,
2970
2972
  onFocus: E,
2971
2973
  onBlur: T,
2972
2974
  onChange: (e) => {
2973
- I || F(e.target.value), k?.(e.target.value, e);
2975
+ F || ee(e.target.value), k?.(e.target.value, e);
2974
2976
  }
2975
2977
  })]
2976
2978
  }),
@@ -2985,12 +2987,12 @@ function Kn({ className: e, label: t = "Label", disabled: n = !1, state: r = "de
2985
2987
  }
2986
2988
  //#endregion
2987
2989
  //#region src/components/Select/Select.tsx
2988
- var qn = {
2990
+ var Qn = {
2989
2991
  default: "",
2990
2992
  valid: "not-focus-visible:border-[color-mix(in_srgb,var(--color-eds-green-main)_55%,var(--color-eds-outline-border))]",
2991
2993
  invalid: "not-focus-visible:border-[color-mix(in_srgb,var(--color-eds-red-main)_55%,var(--color-eds-outline-border))]"
2992
2994
  };
2993
- function Jn({ label: e = "Label", labelVariant: t, floatingLabel: i, items: a, placeholder: o = "Selecione uma opção", disabled: s = !1, required: c = !1, fluid: l = !1, state: u = "default", size: d = "md", supportingText: m = "", errorMessage: h = "Selecione uma opção válida", id: g, name: _, value: y = void 0, defaultValue: b = void 0, onValueChange: x = void 0, renderItem: S = void 0, className: C }) {
2995
+ function $n({ label: e = "Label", labelVariant: t, floatingLabel: i, items: a, placeholder: o = "Selecione uma opção", disabled: s = !1, required: c = !1, fluid: l = !1, state: u = "default", size: d = "md", supportingText: m = "", errorMessage: h = "Selecione uma opção válida", id: g, name: _, value: y = void 0, defaultValue: b = void 0, onValueChange: x = void 0, renderItem: S = void 0, className: C }) {
2994
2996
  let w = v(), T = g ?? w, E = u === "invalid", D = E || m, O = Wt[d], k = Ut(t, i), A = k === "floating";
2995
2997
  return /* @__PURE__ */ p("div", {
2996
2998
  className: N(Gt, C),
@@ -3018,14 +3020,14 @@ function Jn({ label: e = "Label", labelVariant: t, floatingLabel: i, items: a, p
3018
3020
  defaultValue: b,
3019
3021
  value: y,
3020
3022
  children: [/* @__PURE__ */ p(j.Trigger, {
3021
- className: N("group relative inline-flex w-full cursor-pointer items-center gap-1 rounded-eds-xs border border-eds-outline-border bg-white", O.trigger, qn[u], "focus-visible:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-visible:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)] focus-visible:outline-none", "data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70"),
3023
+ className: N("group relative inline-flex w-full cursor-pointer items-center gap-1 rounded-eds-xs border border-eds-outline-border bg-white", O.trigger, Qn[u], "focus-visible:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-visible:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)] focus-visible:outline-none", "data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70"),
3022
3024
  "data-state": u,
3023
3025
  "data-size": d,
3024
3026
  "data-disabled": s || void 0,
3025
3027
  "aria-describedby": D ? `${T}-desc` : void 0,
3026
3028
  children: [
3027
3029
  A && /* @__PURE__ */ p("span", {
3028
- className: en(O.left),
3030
+ className: an(O.left),
3029
3031
  children: [/* @__PURE__ */ f("span", { children: e }), c && /* @__PURE__ */ f("span", {
3030
3032
  className: "text-eds-red-main",
3031
3033
  "aria-hidden": "true",
@@ -3033,7 +3035,7 @@ function Jn({ label: e = "Label", labelVariant: t, floatingLabel: i, items: a, p
3033
3035
  })]
3034
3036
  }),
3035
3037
  /* @__PURE__ */ f(j.Value, {
3036
- className: N("box-border min-w-0 flex-1 truncate text-left font-inherit text-eds-neutral-main", O.text),
3038
+ className: N("box-border min-w-0 flex-1 truncate text-left font-inherit text-eds-neutral-main", Xt, O.text),
3037
3039
  placeholder: o
3038
3040
  }),
3039
3041
  /* @__PURE__ */ f(j.Icon, {
@@ -3046,19 +3048,19 @@ function Jn({ label: e = "Label", labelVariant: t, floatingLabel: i, items: a, p
3046
3048
  })
3047
3049
  ]
3048
3050
  }), /* @__PURE__ */ f(j.Portal, { children: /* @__PURE__ */ f(j.Positioner, {
3049
- className: Qt,
3050
- style: $t,
3051
+ className: nn,
3052
+ style: rn,
3051
3053
  positionMethod: "fixed",
3052
3054
  sideOffset: 4,
3053
3055
  children: /* @__PURE__ */ f(j.Popup, {
3054
- className: Jt,
3056
+ className: Qt,
3055
3057
  children: /* @__PURE__ */ f(j.List, {
3056
- className: Yt,
3058
+ className: $t,
3057
3059
  children: a.map((e) => /* @__PURE__ */ p(j.Item, {
3058
3060
  value: e,
3059
- className: Xt,
3061
+ className: en,
3060
3062
  children: [/* @__PURE__ */ f(j.ItemIndicator, {
3061
- className: Zt,
3063
+ className: tn,
3062
3064
  children: /* @__PURE__ */ f(n, {
3063
3065
  size: 14,
3064
3066
  "aria-hidden": !0
@@ -3083,7 +3085,7 @@ function Jn({ label: e = "Label", labelVariant: t, floatingLabel: i, items: a, p
3083
3085
  }
3084
3086
  //#endregion
3085
3087
  //#region src/components/Text/Text.tsx
3086
- var Yn = {
3088
+ var er = {
3087
3089
  variant: {
3088
3090
  heading1: {
3089
3091
  classes: "text-3xl font-semibold",
@@ -3140,20 +3142,20 @@ var Yn = {
3140
3142
  description: "Large text"
3141
3143
  }
3142
3144
  }
3143
- }, Xn = {
3145
+ }, tr = {
3144
3146
  variant: "body",
3145
3147
  size: "md"
3146
- }, Zn = /* @__PURE__ */ new Set([
3148
+ }, nr = /* @__PURE__ */ new Set([
3147
3149
  "heading1",
3148
3150
  "heading2",
3149
3151
  "heading3"
3150
- ]), Qn = /* @__PURE__ */ new Set(["mono", "mono-secondary"]);
3151
- function $n({ variant: e = "body", bold: t = !1, size: n = "md", truncate: r = !1, children: i, className: a, as: o, ...s }, c) {
3152
- let l = Qn.has(e), u = Zn.has(e), d = y(() => o || (l || u ? "span" : "p"), [
3152
+ ]), rr = /* @__PURE__ */ new Set(["mono", "mono-secondary"]);
3153
+ function ir({ variant: e = "body", bold: t = !1, size: n = "md", truncate: r = !1, children: i, className: a, as: o, ...s }, c) {
3154
+ let l = rr.has(e), u = nr.has(e), d = y(() => o || (l || u ? "span" : "p"), [
3153
3155
  o,
3154
3156
  l,
3155
3157
  u
3156
- ]), p = P(Yn.variant, e, Xn.variant), m = P(Yn.size, n ?? "md", Xn.size);
3158
+ ]), p = P(er.variant, e, tr.variant), m = P(er.size, n ?? "md", tr.size);
3157
3159
  return /* @__PURE__ */ f(d, {
3158
3160
  ref: c,
3159
3161
  "data-eds-component": "Text",
@@ -3162,7 +3164,7 @@ function $n({ variant: e = "body", bold: t = !1, size: n = "md", truncate: r = !
3162
3164
  children: i
3163
3165
  });
3164
3166
  }
3165
- var er = h($n), tr = {
3167
+ var ar = h(ir), or = {
3166
3168
  layout: {
3167
3169
  auto: {
3168
3170
  classes: "",
@@ -3193,14 +3195,14 @@ var er = h($n), tr = {
3193
3195
  description: "Pin column to the right edge of the scroll container"
3194
3196
  }
3195
3197
  }
3196
- }, nr = (e, t) => {
3197
- let n = P(tr.sticky, e, "left").classes, r = t === "head" ? "z-2" : "z-1", i = e === "right" ? "before:-left-6" : "before:-right-6", a = "before:pointer-events-none before:absolute before:inset-y-0 before:w-6";
3198
+ }, sr = (e, t) => {
3199
+ let n = P(or.sticky, e, "left").classes, r = t === "head" ? "z-2" : "z-1", i = e === "right" ? "before:-left-6" : "before:-right-6", a = "before:pointer-events-none before:absolute before:inset-y-0 before:w-6";
3198
3200
  return t === "cell" ? N(n, r, "bg-white", a, i, e === "right" ? "before:bg-gradient-to-r before:from-transparent before:to-white" : "before:bg-gradient-to-l before:from-transparent before:to-white") : N(n, r, "bg-white group-data-[compact]/header:bg-eds-neutral-background", a, i, e === "right" ? "before:bg-gradient-to-r before:from-transparent before:to-white group-data-[compact]/header:before:to-eds-neutral-background" : "before:bg-gradient-to-l before:from-transparent before:to-white group-data-[compact]/header:before:to-eds-neutral-background");
3199
- }, rr = {
3201
+ }, cr = {
3200
3202
  layout: "auto",
3201
3203
  variant: "default"
3202
- }, ir = h(({ layout: e = "auto", className: t, containerClassName: n, ...r }, i) => {
3203
- let a = N("isolate w-full", P(tr.layout, e, rr.layout).classes, "[&_td]:border-b [&_td]:border-eds-neutral-disabled [&_tr:last-child_td]:border-b-0", "[&_td]:p-3", "[&_th]:border-b [&_th]:border-eds-neutral-disabled [&_th]:p-3 [&_th]:font-semibold [&_th]:text-base", "[&_th]:bg-white", "text-base text-left text-eds-neutral-main", t);
3204
+ }, lr = h(({ layout: e = "auto", className: t, containerClassName: n, ...r }, i) => {
3205
+ let a = N("isolate w-full", P(or.layout, e, cr.layout).classes, "[&_td]:border-b [&_td]:border-eds-neutral-disabled [&_tr:last-child_td]:border-b-0", "[&_td]:p-3", "[&_th]:border-b [&_th]:border-eds-neutral-disabled [&_th]:p-3 [&_th]:font-semibold [&_th]:text-base", "[&_th]:bg-white", "text-base text-left text-eds-neutral-main", t);
3204
3206
  return /* @__PURE__ */ f("div", {
3205
3207
  className: N("w-full overflow-x-auto rounded-eds-xs border border-eds-outline-border bg-white", n),
3206
3208
  children: /* @__PURE__ */ f("table", {
@@ -3210,7 +3212,7 @@ var er = h($n), tr = {
3210
3212
  className: a
3211
3213
  })
3212
3214
  });
3213
- }), ar = h(({ variant: e = "default", sticky: t, ...n }, r) => {
3215
+ }), ur = h(({ variant: e = "default", sticky: t, ...n }, r) => {
3214
3216
  let i = e === "compact", a = N("group/header", i && "[&_th]:bg-eds-neutral-background [&_th]:py-2 text-xs text-eds-neutral-elements", t && "[&_th]:sticky [&_th]:top-0 [&_th]:z-1", n.className);
3215
3217
  return /* @__PURE__ */ f("thead", {
3216
3218
  ref: r,
@@ -3218,41 +3220,41 @@ var er = h($n), tr = {
3218
3220
  className: a,
3219
3221
  ...i && { "data-compact": "" }
3220
3222
  });
3221
- }), or = h(({ sticky: e, ...t }, n) => {
3222
- let r = N("group relative", e && nr(e, "head"), t.className);
3223
+ }), dr = h(({ sticky: e, ...t }, n) => {
3224
+ let r = N("group relative", e && sr(e, "head"), t.className);
3223
3225
  return /* @__PURE__ */ f("th", {
3224
3226
  ref: n,
3225
3227
  ...t,
3226
3228
  className: r
3227
3229
  });
3228
- }), sr = h(({ variant: e = rr.variant, ...t }, n) => {
3229
- let r = N(P(tr.variant, e, rr.variant).classes, t.className);
3230
+ }), fr = h(({ variant: e = cr.variant, ...t }, n) => {
3231
+ let r = N(P(or.variant, e, cr.variant).classes, t.className);
3230
3232
  return /* @__PURE__ */ f("tr", {
3231
3233
  ref: n,
3232
3234
  ...t,
3233
3235
  className: r
3234
3236
  });
3235
- }), cr = h((e, t) => /* @__PURE__ */ f("tbody", {
3237
+ }), pr = h((e, t) => /* @__PURE__ */ f("tbody", {
3236
3238
  ref: t,
3237
3239
  ...e
3238
- })), lr = h(({ sticky: e, ...t }, n) => {
3239
- let r = N(e && nr(e, "cell"), t.className);
3240
+ })), mr = h(({ sticky: e, ...t }, n) => {
3241
+ let r = N(e && sr(e, "cell"), t.className);
3240
3242
  return /* @__PURE__ */ f("td", {
3241
3243
  ref: n,
3242
3244
  ...t,
3243
3245
  className: r
3244
3246
  });
3245
- }), ur = h((e, t) => /* @__PURE__ */ f("tfoot", {
3247
+ }), hr = h((e, t) => /* @__PURE__ */ f("tfoot", {
3246
3248
  ref: t,
3247
3249
  ...e
3248
- })), dr = h((e, t) => /* @__PURE__ */ f("button", {
3250
+ })), gr = h((e, t) => /* @__PURE__ */ f("button", {
3249
3251
  ref: t,
3250
3252
  ...e,
3251
3253
  type: "button",
3252
3254
  "aria-label": "Redimensionar coluna",
3253
3255
  className: N("opacity-0 h-full group-hover:opacity-100 focus-visible:opacity-100", "w-[10px]", "flex items-center justify-center", "cursor-col-resize touch-none select-none", "absolute top-0 right-0", "m-0 bg-white p-0", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-eds-blue-main", e.className),
3254
3256
  children: /* @__PURE__ */ f("span", { className: "h-5 w-[2px] rounded bg-eds-neutral-disabled" })
3255
- })), fr = h(({ checked: e, indeterminate: t, onCheckedChange: n, label: r, disabled: i, ...a }, o) => /* @__PURE__ */ f(lr, {
3257
+ })), _r = h(({ checked: e, indeterminate: t, onCheckedChange: n, label: r, disabled: i, ...a }, o) => /* @__PURE__ */ f(mr, {
3256
3258
  ref: o,
3257
3259
  ...a,
3258
3260
  className: N("w-10 leading-none", a.className),
@@ -3264,7 +3266,7 @@ var er = h($n), tr = {
3264
3266
  disabled: i,
3265
3267
  className: "relative before:absolute before:-inset-3 before:content-['']"
3266
3268
  })
3267
- })), pr = h(({ checked: e, indeterminate: t, onCheckedChange: n, label: r, disabled: i, ...a }, o) => /* @__PURE__ */ f(or, {
3269
+ })), vr = h(({ checked: e, indeterminate: t, onCheckedChange: n, label: r, disabled: i, ...a }, o) => /* @__PURE__ */ f(dr, {
3268
3270
  ref: o,
3269
3271
  ...a,
3270
3272
  className: N("w-10 leading-none", a.className),
@@ -3277,23 +3279,23 @@ var er = h($n), tr = {
3277
3279
  className: "relative before:absolute before:-inset-3 before:content-['']"
3278
3280
  })
3279
3281
  }));
3280
- ir.displayName = "Table", cr.displayName = "Table.Body", or.displayName = "Table.Head", sr.displayName = "Table.Row", lr.displayName = "Table.Cell", ur.displayName = "Table.Footer", ar.displayName = "Table.Header", dr.displayName = "Table.ResizeHandle", fr.displayName = "Table.CheckCell", pr.displayName = "Table.CheckHead";
3281
- var mr = Object.assign(ir, {
3282
- Header: ar,
3283
- Head: or,
3284
- Row: sr,
3285
- Body: cr,
3286
- Cell: lr,
3287
- CheckCell: fr,
3288
- CheckHead: pr,
3289
- Footer: ur,
3290
- ResizeHandle: dr
3291
- }), hr = {
3282
+ lr.displayName = "Table", pr.displayName = "Table.Body", dr.displayName = "Table.Head", fr.displayName = "Table.Row", mr.displayName = "Table.Cell", hr.displayName = "Table.Footer", ur.displayName = "Table.Header", gr.displayName = "Table.ResizeHandle", _r.displayName = "Table.CheckCell", vr.displayName = "Table.CheckHead";
3283
+ var yr = Object.assign(lr, {
3284
+ Header: ur,
3285
+ Head: dr,
3286
+ Row: fr,
3287
+ Body: pr,
3288
+ Cell: mr,
3289
+ CheckCell: _r,
3290
+ CheckHead: vr,
3291
+ Footer: hr,
3292
+ ResizeHandle: gr
3293
+ }), br = {
3292
3294
  variant: "segmented",
3293
3295
  size: "md"
3294
3296
  };
3295
- function gr({ tabs: e, value: t, selectedValue: n, onValueChange: r, activateOnFocus: i, className: a, listClassName: o, indicatorClassName: s, variant: c = hr.variant, size: l = hr.size }) {
3296
- let u = e ?? [], d = c === "segmented", m = c === "underline", h = l === "sm", { ref: g, isOverflowing: _ } = vr(d), v = _r(g, _);
3297
+ function xr({ tabs: e, value: t, selectedValue: n, onValueChange: r, activateOnFocus: i, className: a, listClassName: o, indicatorClassName: s, variant: c = br.variant, size: l = br.size }) {
3298
+ let u = e ?? [], d = c === "segmented", m = c === "underline", h = l === "sm", { ref: g, isOverflowing: _ } = Cr(d), v = Sr(g, _);
3297
3299
  if (u.length === 0) return null;
3298
3300
  let y = u[0]?.value, b = t !== void 0, x = {
3299
3301
  value: b ? t : void 0,
@@ -3331,7 +3333,7 @@ function gr({ tabs: e, value: t, selectedValue: n, onValueChange: r, activateOnF
3331
3333
  })]
3332
3334
  });
3333
3335
  }
3334
- function _r(e, t) {
3336
+ function Sr(e, t) {
3335
3337
  let n = b(null), r = b(!1);
3336
3338
  return () => ({
3337
3339
  onPointerDownCapture: (i) => {
@@ -3368,7 +3370,7 @@ function _r(e, t) {
3368
3370
  }
3369
3371
  });
3370
3372
  }
3371
- function vr(e) {
3373
+ function Cr(e) {
3372
3374
  let t = b(null), [n, r] = x(!1);
3373
3375
  return _(() => {
3374
3376
  if (!e) return;
@@ -3382,4 +3384,4 @@ function vr(e) {
3382
3384
  };
3383
3385
  }
3384
3386
  //#endregion
3385
- export { zt as Attachment, It as AttachmentAction, Ft as AttachmentActions, Mt as AttachmentContent, Pt as AttachmentDescription, Rt as AttachmentGroup, jt as AttachmentMedia, Nt as AttachmentTitle, Lt as AttachmentTrigger, z as Button, B as COLORS, yt as Calendar, Dt as Card, Ht as Checkbox, rn as Combobox, ln as DatePicker, Sn as Dialog, Nn as Empty, An as FormDialog, gt as IconButton, Un as Input, Jn as Select, mr as Table, gr as Tabs, er as Text, Kn as Textarea };
3387
+ export { zt as Attachment, It as AttachmentAction, Ft as AttachmentActions, Mt as AttachmentContent, Pt as AttachmentDescription, Rt as AttachmentGroup, jt as AttachmentMedia, Nt as AttachmentTitle, Lt as AttachmentTrigger, z as Button, B as COLORS, yt as Calendar, Dt as Card, Ht as Checkbox, ln as Combobox, mn as DatePicker, Dn as Dialog, Rn as Empty, Fn as FormDialog, gt as IconButton, Jn as Input, $n as Select, yr as Table, xr as Tabs, ar as Text, Zn as Textarea };