@kenlo/kdls-design-system 2.20.2 → 2.20.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,20 +1,20 @@
1
1
  import { jsx as e, jsxs as d, Fragment as N1 } from "react/jsx-runtime";
2
- import * as te from "react";
2
+ import * as ee from "react";
3
3
  import B1, { useEffect as i1, useState as D, useContext as ve, createContext as w5, useRef as c1, useCallback as A1, useId as ue, useMemo as Ve, useImperativeHandle as at, useLayoutEffect as q2 } from "react";
4
4
  import fe, { createPortal as ot } from "react-dom";
5
5
  const M2 = "kdls-custom-scheme";
6
6
  function ct(t) {
7
- const n = t.replace(/^#/, "").slice(0, 6), l = parseInt(n, 16), r = (l >> 16 & 255) / 255, a = (l >> 8 & 255) / 255, i = (l & 255) / 255, s = Math.max(r, a, i), o = Math.min(r, a, i), c = (s + o) / 2, C = s - o, u = C === 0 ? 0 : c > 0.5 ? C / (2 - s - o) : C / (s + o);
7
+ const n = t.replace(/^#/, "").slice(0, 6), l = parseInt(n, 16), r = (l >> 16 & 255) / 255, a = (l >> 8 & 255) / 255, s = (l & 255) / 255, i = Math.max(r, a, s), o = Math.min(r, a, s), c = (i + o) / 2, C = i - o, u = C === 0 ? 0 : c > 0.5 ? C / (2 - i - o) : C / (i + o);
8
8
  let m = 0;
9
- return C !== 0 && (s === r ? m = ((a - i) / C + (a < i ? 6 : 0)) / 6 : s === a ? m = ((i - r) / C + 2) / 6 : m = ((r - a) / C + 4) / 6), [m, u, c];
9
+ return C !== 0 && (i === r ? m = ((a - s) / C + (a < s ? 6 : 0)) / 6 : i === a ? m = ((s - r) / C + 2) / 6 : m = ((r - a) / C + 4) / 6), [m, u, c];
10
10
  }
11
11
  function dt(t, n, l) {
12
12
  if (n === 0) {
13
13
  const o = Math.round(l * 255).toString(16).padStart(2, "0");
14
14
  return `#${o}${o}${o}`;
15
15
  }
16
- const r = l < 0.5 ? l * (1 + n) : l + n - l * n, a = 2 * l - r, i = (o) => (o < 0 && (o += 1), o > 1 && (o -= 1), o < 1 / 6 ? a + (r - a) * 6 * o : o < 1 / 2 ? r : o < 2 / 3 ? a + (r - a) * (2 / 3 - o) * 6 : a), s = (o) => Math.round(i(o) * 255).toString(16).padStart(2, "0");
17
- return `#${s(t + 1 / 3)}${s(t)}${s(t - 1 / 3)}`.toUpperCase();
16
+ const r = l < 0.5 ? l * (1 + n) : l + n - l * n, a = 2 * l - r, s = (o) => (o < 0 && (o += 1), o > 1 && (o -= 1), o < 1 / 6 ? a + (r - a) * 6 * o : o < 1 / 2 ? r : o < 2 / 3 ? a + (r - a) * (2 / 3 - o) * 6 : a), i = (o) => Math.round(s(o) * 255).toString(16).padStart(2, "0");
17
+ return `#${i(t + 1 / 3)}${i(t)}${i(t - 1 / 3)}`.toUpperCase();
18
18
  }
19
19
  const me = (t, n, l) => t + (n - t) * l;
20
20
  function ut(t) {
@@ -31,7 +31,7 @@ function ut(t) {
31
31
  [70, me(r, 0.05, 0.4), Math.min(l * 1.04, 1)],
32
32
  [80, me(r, 0.05, 0.6), Math.min(l * 1.07, 1)],
33
33
  [90, me(r, 0.05, 0.8), Math.min(l * 1.1, 1)]
34
- ].reduce((i, [s, o, c]) => (i[s] = dt(n, c, o), i), {});
34
+ ].reduce((s, [i, o, c]) => (s[i] = dt(n, c, o), s), {});
35
35
  }
36
36
  function ft(t) {
37
37
  return {
@@ -47,12 +47,12 @@ function ft(t) {
47
47
  };
48
48
  }
49
49
  function U2(t) {
50
- const n = t.replace(/^#/, "").slice(0, 6), l = parseInt(n, 16), r = (c) => c <= 0.04045 ? c / 12.92 : Math.pow((c + 0.055) / 1.055, 2.4), a = r((l >> 16 & 255) / 255), i = r((l >> 8 & 255) / 255), s = r((l & 255) / 255), o = 0.2126 * a + 0.7152 * i + 0.0722 * s;
50
+ const n = t.replace(/^#/, "").slice(0, 6), l = parseInt(n, 16), r = (c) => c <= 0.04045 ? c / 12.92 : Math.pow((c + 0.055) / 1.055, 2.4), a = r((l >> 16 & 255) / 255), s = r((l >> 8 & 255) / 255), i = r((l & 255) / 255), o = 0.2126 * a + 0.7152 * s + 0.0722 * i;
51
51
  return 1.05 / (o + 0.05) >= (o + 0.05) / 0.05 ? "#FFFFFF" : "#000000";
52
52
  }
53
53
  function Ct(t, n, l) {
54
- const r = [10, 20, 30, 40, 50, 60, 70, 80, 90], a = (s) => r.map((o) => `--color-primary-${o}:${s[o]};--color-on-primary-${o}:${U2(s[o])};`).join(""), i = U2(l);
55
- return `:root{${a(t)}--color-on-primary:${i};}[data-theme="dark"]{${a(n)}--color-on-primary:${i};}`;
54
+ const r = [10, 20, 30, 40, 50, 60, 70, 80, 90], a = (i) => r.map((o) => `--color-primary-${o}:${i[o]};--color-on-primary-${o}:${U2(i[o])};`).join(""), s = U2(l);
55
+ return `:root{${a(t)}--color-on-primary:${s};}[data-theme="dark"]{${a(n)}--color-on-primary:${s};}`;
56
56
  }
57
57
  function ht(t) {
58
58
  if (!/^#?[0-9a-f]{6,8}$/i.test(t.trim())) return;
@@ -90,20 +90,20 @@ function pt() {
90
90
  return ve(y5);
91
91
  }
92
92
  function En({ validateOn: t = "change", onSubmit: n, children: l, ...r }) {
93
- const [a, i] = D(!1), s = (o) => {
94
- i(!0), n == null || n(o);
93
+ const [a, s] = D(!1), i = (o) => {
94
+ s(!0), n == null || n(o);
95
95
  };
96
- return /* @__PURE__ */ e(y5.Provider, { value: { validateOn: t, submitted: a }, children: /* @__PURE__ */ e("form", { onSubmit: s, ...r, children: l }) });
96
+ return /* @__PURE__ */ e(y5.Provider, { value: { validateOn: t, submitted: a }, children: /* @__PURE__ */ e("form", { onSubmit: i, ...r, children: l }) });
97
97
  }
98
- const n1 = ({ icon: t, size: n = "md", color: l, onClick: r, style: a, className: i = "", ...s }) => {
98
+ const n1 = ({ icon: t, size: n = "md", color: l, onClick: r, style: a, className: s = "", ...i }) => {
99
99
  const o = l && l !== "lya" ? { color: `var(--color-${l}-50)` } : void 0;
100
100
  return /* @__PURE__ */ d(
101
101
  "span",
102
102
  {
103
- className: ["kdls-icon", `kdls-icon--${n}`, l === "lya" ? "kdls-icon--lya" : "", r ? "kdls-icon--action" : "", i].filter(Boolean).join(" "),
103
+ className: ["kdls-icon", `kdls-icon--${n}`, l === "lya" ? "kdls-icon--lya" : "", r ? "kdls-icon--action" : "", s].filter(Boolean).join(" "),
104
104
  style: { ...o, ...a },
105
105
  onClick: r,
106
- ...s,
106
+ ...i,
107
107
  children: [
108
108
  t,
109
109
  l === "lya" && /* @__PURE__ */ e("svg", { width: "0", height: "0", style: { position: "absolute" }, "aria-hidden": "true", children: /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ d("linearGradient", { id: "kdls-icon-lya-gradient", x1: "0", y1: "0", x2: "1", y2: "0", children: [
@@ -152,12 +152,12 @@ function x5(t, n, l = []) {
152
152
  function D5(t, n) {
153
153
  let l = "", r = "";
154
154
  for (const a in t) {
155
- const i = t[a];
156
- if (i === 0) {
155
+ const s = t[a];
156
+ if (s === 0) {
157
157
  r += a + " ";
158
158
  continue;
159
159
  }
160
- const s = Array.isArray(i), o = n === "rtl" ? (s ? i[1] : i) + " " : (s ? i[0] : i) + " ";
160
+ const i = Array.isArray(s), o = n === "rtl" ? (i ? s[1] : s) + " " : (i ? s[0] : s) + " ";
161
161
  l += o, r += o;
162
162
  }
163
163
  return [l.slice(0, -1), r.slice(0, -1)];
@@ -165,13 +165,13 @@ function D5(t, n) {
165
165
  function Y2(t, n) {
166
166
  const l = {};
167
167
  for (const r in t) {
168
- const [a, i] = D5(t[r], n);
169
- if (i === "") {
168
+ const [a, s] = D5(t[r], n);
169
+ if (s === "") {
170
170
  l[r] = "";
171
171
  continue;
172
172
  }
173
- const s = x5(i, n), o = s + (a === "" ? "" : " " + a);
174
- qe[s] = [t[r], n], l[r] = o;
173
+ const i = x5(s, n), o = i + (a === "" ? "" : " " + a);
174
+ qe[i] = [t[r], n], l[r] = o;
175
175
  }
176
176
  return l;
177
177
  }
@@ -198,21 +198,21 @@ Source string: ${f}`) : a = h);
198
198
  }
199
199
  if (l === "")
200
200
  return n.slice(0, -1);
201
- const i = i2[l];
202
- if (i !== void 0)
203
- return n + i;
204
- const s = [];
201
+ const s = i2[l];
202
+ if (s !== void 0)
203
+ return n + s;
204
+ const i = [];
205
205
  for (let k = 0; k < arguments.length; k++) {
206
206
  const f = r[k];
207
207
  if (f) {
208
208
  const p = qe[f];
209
- p ? (s.push(p[_t]), process.env.NODE_ENV !== "production" && t !== null && t !== p[W2] && console.error(`mergeClasses(): a passed string contains an identifier (${f}) that has different direction (dir="${p[1] ? "rtl" : "ltr"}") setting than other classes. This is not supported. Source string: ${arguments[k]}`), t = p[W2]) : process.env.NODE_ENV !== "production" && console.error(`mergeClasses(): a passed string contains an identifier (${f}) that does not match any entry in cache. Source string: ${arguments[k]}`);
209
+ p ? (i.push(p[_t]), process.env.NODE_ENV !== "production" && t !== null && t !== p[W2] && console.error(`mergeClasses(): a passed string contains an identifier (${f}) that has different direction (dir="${p[1] ? "rtl" : "ltr"}") setting than other classes. This is not supported. Source string: ${arguments[k]}`), t = p[W2]) : process.env.NODE_ENV !== "production" && console.error(`mergeClasses(): a passed string contains an identifier (${f}) that does not match any entry in cache. Source string: ${arguments[k]}`);
210
210
  }
211
211
  }
212
212
  const o = Object.assign.apply(
213
213
  Object,
214
214
  // .assign() mutates the first object, we can't mutate mappings as it will produce invalid results later
215
- [{}].concat(s)
215
+ [{}].concat(i)
216
216
  ), [c, C] = D5(o, t), u = x5(C, t, r), m = u + " " + c;
217
217
  return i2[l] = m, qe[u] = [o, t], n + m;
218
218
  }
@@ -239,19 +239,19 @@ function J2(t, n) {
239
239
  return Array.isArray(t) ? n === "rtl" ? t[1] : t[0] : t || "";
240
240
  }
241
241
  function gt(t, n, l, r) {
242
- const a = t[0], i = t[1];
243
- return Object.entries(a).map(([s, o]) => {
244
- const c = J2(o, i);
242
+ const a = t[0], s = t[1];
243
+ return Object.entries(a).map(([i, o]) => {
244
+ const c = J2(o, s);
245
245
  let C;
246
246
  if (l && n) {
247
247
  const u = l.find(({
248
248
  className: m
249
249
  }) => m === c);
250
- !u && n[0][s] ? C = J2(n[0][s], n[1]) : u && n[0][s] ? C = (r ? r.filter(({
250
+ !u && n[0][i] ? C = J2(n[0][i], n[1]) : u && n[0][i] ? C = (r ? r.filter(({
251
251
  debugClassNames: k
252
252
  }) => k.filter(({
253
253
  className: f
254
- }) => f === c).length > 0).length > 0 : !1) ? u.className : u.overriddenBy : (!u && !n[0][s] || u && !n[0][s]) && (C = void 0);
254
+ }) => f === c).length > 0).length > 0 : !1) ? u.className : u.overriddenBy : (!u && !n[0][i] || u && !n[0][i]) && (C = void 0);
255
255
  }
256
256
  return {
257
257
  className: c,
@@ -263,23 +263,23 @@ function S5(t, n) {
263
263
  const l = qe[t];
264
264
  if (l === void 0)
265
265
  return;
266
- const r = n ? qe[n.sequenceHash] : void 0, a = gt(l, r, n == null ? void 0 : n.debugClassNames, n == null ? void 0 : n.children), i = {
266
+ const r = n ? qe[n.sequenceHash] : void 0, a = gt(l, r, n == null ? void 0 : n.debugClassNames, n == null ? void 0 : n.children), s = {
267
267
  sequenceHash: t,
268
268
  direction: l[1],
269
269
  children: [],
270
270
  debugClassNames: a
271
271
  };
272
- return Te.getChildrenSequences(i.sequenceHash).reverse().forEach((o) => {
273
- const c = S5(o, i);
274
- c && i.children.push(c);
275
- }), i.children.length || (i.rules = {}, i.debugClassNames.forEach(({
272
+ return Te.getChildrenSequences(s.sequenceHash).reverse().forEach((o) => {
273
+ const c = S5(o, s);
274
+ c && s.children.push(c);
275
+ }), s.children.length || (s.rules = {}, s.debugClassNames.forEach(({
276
276
  className: o
277
277
  }) => {
278
278
  const c = Te.getSequenceDetails(t);
279
- c && (i.slot = c.slotName, i.sourceURL = c.sourceURL);
279
+ c && (s.slot = c.slotName, s.sourceURL = c.sourceURL);
280
280
  const C = Te.getCSSRules().find((u) => u.includes(o));
281
- i.rules[o] = C;
282
- })), i;
281
+ s.rules[o] = C;
282
+ })), s;
283
283
  }
284
284
  function bt(t) {
285
285
  if (V2[t] === void 0)
@@ -295,8 +295,8 @@ function bt(t) {
295
295
  r.rules = {}, r.slot = "makeResetStyles()";
296
296
  const [{
297
297
  className: a
298
- }] = r.debugClassNames, i = Te.getCSSRules().filter((s) => s.includes(`.${a}`));
299
- return r.rules[a] = i.join(""), r;
298
+ }] = r.debugClassNames, s = Te.getCSSRules().filter((i) => i.includes(`.${a}`));
299
+ return r.rules[a] = s.join(""), r;
300
300
  }
301
301
  function wt(t, n) {
302
302
  const l = t ? S5(t) : void 0, r = n ? bt(n) : void 0;
@@ -313,10 +313,10 @@ function yt(t) {
313
313
  return;
314
314
  const l = {
315
315
  getInfo: (r) => {
316
- let a, i;
317
- for (const s of r.classList)
318
- s.startsWith(de) && (a = s), V2[s] && (i = s);
319
- return wt(a, i);
316
+ let a, s;
317
+ for (const i of r.classList)
318
+ i.startsWith(de) && (a = i), V2[i] && (s = i);
319
+ return wt(a, s);
320
320
  }
321
321
  };
322
322
  Object.defineProperty(n, "__GRIFFEL_DEVTOOLS__", {
@@ -345,18 +345,18 @@ function Lt(t) {
345
345
  function Nt(t, n, l, r) {
346
346
  const a = [];
347
347
  if (r[Pe] = n, r[vt] = String(l), t)
348
- for (const s in r)
349
- t.setAttribute(s, r[s]);
350
- function i(s) {
351
- return t != null && t.sheet ? t.sheet.insertRule(s, t.sheet.cssRules.length) : a.push(s);
348
+ for (const i in r)
349
+ t.setAttribute(i, r[i]);
350
+ function s(i) {
351
+ return t != null && t.sheet ? t.sheet.insertRule(i, t.sheet.cssRules.length) : a.push(i);
352
352
  }
353
353
  return {
354
354
  elementAttributes: r,
355
- insertRule: i,
355
+ insertRule: s,
356
356
  element: t,
357
357
  bucketName: n,
358
358
  cssRules() {
359
- return t != null && t.sheet ? Array.from(t.sheet.cssRules).map((s) => s.cssText) : a;
359
+ return t != null && t.sheet ? Array.from(t.sheet.cssRules).map((i) => i.cssText) : a;
360
360
  }
361
361
  };
362
362
  }
@@ -394,8 +394,8 @@ function xt(t, n, l) {
394
394
  return (t === "m" ? t + n : t) + l;
395
395
  }
396
396
  function Dt(t, n, l, r, a = {}) {
397
- var i, s;
398
- const o = t === "m", c = (i = a.m) !== null && i !== void 0 ? i : "0", C = (s = a.p) !== null && s !== void 0 ? s : 0, u = xt(t, c, C);
397
+ var s, i;
398
+ const o = t === "m", c = (s = a.m) !== null && s !== void 0 ? s : "0", C = (i = a.p) !== null && i !== void 0 ? i : 0, u = xt(t, c, C);
399
399
  if (!r.stylesheets[u]) {
400
400
  const m = n && n.createElement("style"), k = Nt(m, t, C, Object.assign({}, r.styleElementAttributes, o && {
401
401
  media: c
@@ -406,12 +406,12 @@ function Dt(t, n, l, r, a = {}) {
406
406
  }
407
407
  function Ht(t, n, l) {
408
408
  var r, a;
409
- const i = n + ((r = l.m) !== null && r !== void 0 ? r : ""), s = t.getAttribute(Pe) + ((a = t.media) !== null && a !== void 0 ? a : "");
410
- return i === s;
409
+ const s = n + ((r = l.m) !== null && r !== void 0 ? r : ""), i = t.getAttribute(Pe) + ((a = t.media) !== null && a !== void 0 ? a : "");
410
+ return s === i;
411
411
  }
412
412
  function St(t, n, l, r, a = {}) {
413
- var i, s;
414
- const o = Q2[l], c = (i = a.m) !== null && i !== void 0 ? i : "", C = (s = a.p) !== null && s !== void 0 ? s : 0;
413
+ var s, i;
414
+ const o = Q2[l], c = (s = a.m) !== null && s !== void 0 ? s : "", C = (i = a.p) !== null && i !== void 0 ? i : 0;
415
415
  let u = (h) => o - Q2[h.getAttribute(Pe)], m = t.head.querySelectorAll(`[${Pe}]`);
416
416
  if (l === "m") {
417
417
  const h = t.head.querySelectorAll(`[${Pe}="${l}"]`);
@@ -442,14 +442,14 @@ function Vt(t = typeof document > "u" ? void 0 : document, n = {}) {
442
442
  classNameHashSalt: l,
443
443
  unstable_filterCSSRule: r,
444
444
  insertionPoint: a,
445
- styleElementAttributes: i,
446
- compareMediaQueries: s = Bt
445
+ styleElementAttributes: s,
446
+ compareMediaQueries: i = Bt
447
447
  } = n, o = {
448
448
  classNameHashSalt: l,
449
449
  insertionCache: {},
450
450
  stylesheets: {},
451
- styleElementAttributes: Object.freeze(i),
452
- compareMediaQueries: s,
451
+ styleElementAttributes: Object.freeze(s),
452
+ compareMediaQueries: i,
453
453
  id: `d${Rt++}`,
454
454
  insertCSSRules(c) {
455
455
  for (const C in c) {
@@ -473,8 +473,8 @@ function Ft(t) {
473
473
  if (!n)
474
474
  return null;
475
475
  let l = n[2];
476
- const r = l && l.indexOf("native") === 0, a = l && l.indexOf("eval") === 0, i = At.exec(l);
477
- return a && i != null && (l = i[1]), {
476
+ const r = l && l.indexOf("native") === 0, a = l && l.indexOf("eval") === 0, s = At.exec(l);
477
+ return a && s != null && (l = s[1]), {
478
478
  loc: r ? null : n[2],
479
479
  name: n[1] || T2
480
480
  };
@@ -520,16 +520,16 @@ const Wt = () => {
520
520
  };
521
521
  function Yt(t, n, l = Wt) {
522
522
  const r = l();
523
- let a = null, i = null, s;
524
- process.env.NODE_ENV !== "production" && a2 && (s = Ut());
523
+ let a = null, s = null, i;
524
+ process.env.NODE_ENV !== "production" && a2 && (i = Ut());
525
525
  function o(c) {
526
526
  const {
527
527
  dir: C,
528
528
  renderer: u
529
529
  } = c, m = C === "ltr";
530
- m ? a === null && (a = Y2(t, C)) : i === null && (i = Y2(t, C)), r(u, n);
531
- const k = m ? a : i;
532
- return process.env.NODE_ENV !== "production" && a2 && Te.addSequenceDetails(k, s), k;
530
+ m ? a === null && (a = Y2(t, C)) : s === null && (s = Y2(t, C)), r(u, n);
531
+ const k = m ? a : s;
532
+ return process.env.NODE_ENV !== "production" && a2 && Te.addSequenceDetails(k, i), k;
533
533
  }
534
534
  return o;
535
535
  }
@@ -539,7 +539,7 @@ function Gt() {
539
539
  const t5 = (
540
540
  // @ts-expect-error Hack to make sure that `useInsertionEffect` will not cause bundling issues in older React versions
541
541
  // eslint-disable-next-line no-useless-concat
542
- te.useInsertionEffect ? te.useInsertionEffect : void 0
542
+ ee.useInsertionEffect ? ee.useInsertionEffect : void 0
543
543
  ), Xt = () => {
544
544
  const t = {};
545
545
  return function(l, r) {
@@ -551,28 +551,28 @@ const t5 = (
551
551
  }
552
552
  t[l.id] === void 0 && (l.insertCSSRules(r), t[l.id] = !0);
553
553
  };
554
- }, Jt = /* @__PURE__ */ te.createContext(/* @__PURE__ */ Vt());
554
+ }, Jt = /* @__PURE__ */ ee.createContext(/* @__PURE__ */ Vt());
555
555
  function Qt() {
556
- return te.useContext(Jt);
556
+ return ee.useContext(Jt);
557
557
  }
558
- const e0 = /* @__PURE__ */ te.createContext("ltr");
558
+ const e0 = /* @__PURE__ */ ee.createContext("ltr");
559
559
  function t0() {
560
- return te.useContext(e0);
560
+ return ee.useContext(e0);
561
561
  }
562
562
  function Z5(t, n) {
563
563
  const l = Yt(t, n, Xt);
564
564
  return function() {
565
- const a = t0(), i = Qt();
565
+ const a = t0(), s = Qt();
566
566
  return l({
567
567
  dir: a,
568
- renderer: i
568
+ renderer: s
569
569
  });
570
570
  };
571
571
  }
572
- const E5 = te.createContext(void 0), n0 = {};
572
+ const E5 = ee.createContext(void 0), n0 = {};
573
573
  E5.Provider;
574
574
  const l0 = () => {
575
- const t = te.useContext(E5);
575
+ const t = ee.useContext(E5);
576
576
  return t ?? n0;
577
577
  }, r0 = Z5({
578
578
  root: {
@@ -591,12 +591,12 @@ const l0 = () => {
591
591
  filled: l,
592
592
  title: r,
593
593
  primaryFill: a = "currentColor",
594
- ...i
595
- } = t, s = {
596
- ...i,
594
+ ...s
595
+ } = t, i = {
596
+ ...s,
597
597
  fill: a
598
598
  }, o = r0(), c = l0();
599
- return s.className = H5(o.root, (n == null ? void 0 : n.flipInRtl) && (c == null ? void 0 : c.textDirection) === "rtl" && o.rtl, s.className), r && (s["aria-label"] = r), !s["aria-label"] && !s["aria-labelledby"] ? s["aria-hidden"] = !0 : s.role = "img", s;
599
+ return i.className = H5(o.root, (n == null ? void 0 : n.flipInRtl) && (c == null ? void 0 : c.textDirection) === "rtl" && o.rtl, i.className), r && (i["aria-label"] = r), !i["aria-label"] && !i["aria-labelledby"] ? i["aria-hidden"] = !0 : i.role = "img", i;
600
600
  }, i0 = Z5({
601
601
  root: {
602
602
  B8gzw0y: "f1dd5bof"
@@ -606,8 +606,8 @@ const l0 = () => {
606
606
  m: "(forced-colors: active)"
607
607
  }]]
608
608
  }), a0 = "fui-Icon", u1 = (t, n, l, r) => {
609
- const a = n === "1em" ? "20" : n, i = te.forwardRef((s, o) => {
610
- const c = i0(), C = s0(s, { flipInRtl: r == null ? void 0 : r.flipInRtl }), u = {
609
+ const a = n === "1em" ? "20" : n, s = ee.forwardRef((i, o) => {
610
+ const c = i0(), C = s0(i, { flipInRtl: r == null ? void 0 : r.flipInRtl }), u = {
611
611
  ...C,
612
612
  className: H5(a0, C.className, c.root),
613
613
  ref: o,
@@ -616,9 +616,9 @@ const l0 = () => {
616
616
  viewBox: `0 0 ${a} ${a}`,
617
617
  xmlns: "http://www.w3.org/2000/svg"
618
618
  };
619
- return typeof l == "string" ? te.createElement("svg", { ...u, dangerouslySetInnerHTML: { __html: l } }) : te.createElement("svg", u, ...l.map((m) => te.createElement("path", { d: m, fill: u.fill })));
619
+ return typeof l == "string" ? ee.createElement("svg", { ...u, dangerouslySetInnerHTML: { __html: l } }) : ee.createElement("svg", u, ...l.map((m) => ee.createElement("path", { d: m, fill: u.fill })));
620
620
  });
621
- return i.displayName = t, i;
621
+ return s.displayName = t, s;
622
622
  }, o0 = /* @__PURE__ */ u1("CalendarRegular", "1em", ["M7 11a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm1 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm2-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm1 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm2-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm4-5.5A2.5 2.5 0 0 0 14.5 3h-9A2.5 2.5 0 0 0 3 5.5v9A2.5 2.5 0 0 0 5.5 17h9a2.5 2.5 0 0 0 2.5-2.5v-9ZM4 7h12v7.5c0 .83-.67 1.5-1.5 1.5h-9A1.5 1.5 0 0 1 4 14.5V7Zm1.5-3h9c.83 0 1.5.67 1.5 1.5V6H4v-.5C4 4.67 4.67 4 5.5 4Z"], { flipInRtl: !0 }), Ue = /* @__PURE__ */ u1("SearchRegular", "1em", ["M13.73 14.44a6.5 6.5 0 1 1 .7-.7l3.42 3.4a.5.5 0 0 1-.63.77l-.07-.06-3.42-3.41Zm-.71-.71A5.54 5.54 0 0 0 15 9.5a5.5 5.5 0 1 0-1.98 4.23Z"]), c0 = /* @__PURE__ */ u1("DocumentRegular", "1em", ["M6 2a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V7.41c0-.4-.16-.78-.44-1.06l-3.91-3.91A1.5 1.5 0 0 0 10.59 2H6ZM5 4a1 1 0 0 1 1-1h4v3.5c0 .83.67 1.5 1.5 1.5H15v8a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4Zm9.8 3h-3.3a.5.5 0 0 1-.5-.5V3.2L14.8 7Z"]), d0 = /* @__PURE__ */ u1("ColumnTripleRegular", "1em", ["M3 17a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3Zm-1-2a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v10Zm7 2a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H9Zm-1-2a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v10Zm7 2a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1Zm-1-2a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1h-1a1 1 0 0 0-1 1v10Z"]), u0 = /* @__PURE__ */ u1("AlertRegular", "1em", ["M10 2a5.92 5.92 0 0 1 5.98 5.36l.02.22V11.4l.92 2.22a1 1 0 0 1 .06.17l.01.08.01.13a1 1 0 0 1-.75.97l-.11.02L16 15h-3.5v.17a2.5 2.5 0 0 1-5 0V15H4a1 1 0 0 1-.26-.03l-.13-.04a1 1 0 0 1-.6-1.05l.02-.13.05-.13L4 11.4V7.57A5.9 5.9 0 0 1 10 2Zm1.5 13h-3v.15a1.5 1.5 0 0 0 1.36 1.34l.14.01c.78 0 1.42-.6 1.5-1.36V15ZM10 3a4.9 4.9 0 0 0-4.98 4.38L5 7.6V11.5l-.04.2L4 14h12l-.96-2.3-.04-.2V7.61A4.9 4.9 0 0 0 10 3Z"]), f0 = /* @__PURE__ */ u1("SubtractRegular", "1em", ["M3 10c0-.28.22-.5.5-.5h13a.5.5 0 0 1 0 1h-13A.5.5 0 0 1 3 10Z"]), C0 = /* @__PURE__ */ u1("WarningFilled", "1em", ["M8.68 2.79a1.5 1.5 0 0 1 2.64 0l6.5 12A1.5 1.5 0 0 1 16.5 17h-13a1.5 1.5 0 0 1-1.32-2.21l6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 0 0 1 0v-4Zm.25 6.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"]), h0 = /* @__PURE__ */ u1("VideoRegular", "1em", ["M5 4a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h5a3 3 0 0 0 3-3v-.32l3.04 2.1c.83.57 1.96-.03 1.96-1.03v-7.5c0-1-1.13-1.6-1.96-1.03L13 7.32V7a3 3 0 0 0-3-3H5Zm8 4.54 3.6-2.5c.17-.1.4.01.4.21v7.5c0 .2-.23.32-.4.2L13 11.46V8.54ZM3 7c0-1.1.9-2 2-2h5a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7Z"]), R5 = /* @__PURE__ */ u1("InfoRegular", "1em", ["M10.5 8.91a.5.5 0 0 0-1 .09v4.6a.5.5 0 0 0 1-.1V8.91Zm.3-2.16a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0ZM18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM3 10a7 7 0 1 1 14 0 7 7 0 0 1-14 0Z"]), m0 = /* @__PURE__ */ u1("LinkRegular", "1em", ["M8 6a.5.5 0 0 1 .09 1H6a3 3 0 0 0-.2 6H8a.5.5 0 0 1 .09 1H6a4 4 0 0 1-.22-8H8Zm6 0a4 4 0 0 1 .22 8H12a.5.5 0 0 1-.09-1H14a3 3 0 0 0 .2-6H12a.5.5 0 0 1-.09-1H14ZM6 9.5h8a.5.5 0 0 1 .09 1H6a.5.5 0 0 1-.09-1H14 6Z"]), p0 = /* @__PURE__ */ u1("AddRegular", "1em", ["M10 2.5c.28 0 .5.22.5.5v6.5H17a.5.5 0 0 1 0 1h-6.5V17a.5.5 0 0 1-1 0v-6.5H3a.5.5 0 0 1 0-1h6.5V3c0-.28.22-.5.5-.5Z"]), $2 = /* @__PURE__ */ u1("ImageRegular", "1em", ["M14 7.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm-1 0a.5.5 0 1 0-1 0 .5.5 0 0 0 1 0ZM3 6a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm3-2a2 2 0 0 0-2 2v8c0 .37.1.72.28 1.02l4.67-4.59a1.5 1.5 0 0 1 2.1 0l4.67 4.59c.18-.3.28-.65.28-1.02V6a2 2 0 0 0-2-2H6Zm0 12h8a2 2 0 0 0 1.01-.27l-4.66-4.58a.5.5 0 0 0-.7 0l-4.66 4.58A2 2 0 0 0 6 16Z"]), v0 = /* @__PURE__ */ u1("EyedropperRegular", "1em", ["M17.25 2.75a2.62 2.62 0 0 0-3.71 0L12.5 3.8l-.35-.35a1.5 1.5 0 0 0-2.12 0l-.59.59a1.5 1.5 0 0 0 0 2.12l.35.35-6.35 6.35A1.5 1.5 0 0 0 3 13.91v.5l-.96 2.26a1 1 0 0 0 1.32 1.31L5.6 17h.49c.4 0 .78-.16 1.06-.44l6.35-6.35.35.35a1.5 1.5 0 0 0 2.12 0l.59-.58a1.5 1.5 0 0 0 0-2.13l-.35-.35 1.04-1.04a2.62 2.62 0 0 0 0-3.7Zm-3 .71a1.62 1.62 0 0 1 2.29 2.3l-1.4 1.39a.5.5 0 0 0 0 .7l.71.71c.2.2.2.51 0 .7l-.58.6a.5.5 0 0 1-.71 0l-4.41-4.42a.5.5 0 0 1 0-.7l.58-.59c.2-.2.52-.2.71 0l.7.7a.5.5 0 0 0 .71 0l1.4-1.39ZM12.79 9.5l-6.35 6.35a.5.5 0 0 1-.35.15H5.5a.5.5 0 0 0-.2.04l-2.34 1.03 1-2.36a.5.5 0 0 0 .04-.2v-.6a.5.5 0 0 1 .15-.35l6.35-6.35 2.3 2.3Z"]), k0 = /* @__PURE__ */ u1("ClockRegular", "1em", ["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm-.5 2a.5.5 0 0 1 .5.41V10h2.5a.5.5 0 0 1 .09 1H9.5a.5.5 0 0 1-.5-.41V5.5c0-.28.22-.5.5-.5Z"]), _0 = /* @__PURE__ */ u1("HistoryRegular", "1em", ["M10 4a6 6 0 1 1-5.98 5.54.5.5 0 1 0-1-.08A7 7 0 1 0 5 5.1V3.5a.5.5 0 0 0-1 0v3c0 .28.22.5.5.5h3a.5.5 0 0 0 0-1H5.53c1.1-1.23 2.7-2 4.47-2Zm0 2.5a.5.5 0 0 0-1 0v4c0 .28.22.5.5.5h3a.5.5 0 0 0 0-1H10V6.5Z"]), g0 = /* @__PURE__ */ u1("ZoomInRegular", "1em", ["M8.5 5.5c.28 0 .5.22.5.5v2h2a.5.5 0 0 1 0 1H9v2a.5.5 0 0 1-1 0V9H6a.5.5 0 0 1 0-1h2V6c0-.28.22-.5.5-.5Zm0-3.5a6.5 6.5 0 0 1 4.94 10.73l3.41 3.42a.5.5 0 0 1-.63.76l-.07-.06-3.42-3.41A6.5 6.5 0 1 1 8.5 2Zm0 1a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11Z"]), b0 = /* @__PURE__ */ u1("ZoomOutRegular", "1em", ["M11 8a.5.5 0 0 1 0 1H6a.5.5 0 0 1 0-1h5ZM8.5 2a6.5 6.5 0 0 1 4.94 10.73l3.41 3.42a.5.5 0 0 1-.63.76l-.07-.06-3.42-3.41A6.5 6.5 0 1 1 8.5 2Zm0 1a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11Z"]), B5 = /* @__PURE__ */ u1("ArrowDownloadRegular", "1em", ["M15.5 17a.5.5 0 0 1 .09 1H4.5a.5.5 0 0 1-.09-1H15.5ZM10 2a.5.5 0 0 1 .5.41V14.3l3.64-3.65a.5.5 0 0 1 .64-.06l.07.06c.17.17.2.44.06.63l-.06.07-4.5 4.5a.5.5 0 0 1-.25.14L10 16a.5.5 0 0 1-.4-.2l-4.46-4.45a.5.5 0 0 1 .64-.76l.07.06 3.65 3.64V2.5c0-.27.22-.5.5-.5Z"]), w0 = /* @__PURE__ */ u1("ArrowLeftRegular", "1em", ["M9.16 16.87a.5.5 0 1 0 .67-.74L3.67 10.5H17.5a.5.5 0 0 0 0-1H3.67l6.16-5.63a.5.5 0 0 0-.67-.74L2.24 9.44a.75.75 0 0 0 0 1.11l6.92 6.32Z"]), y0 = /* @__PURE__ */ u1("ArrowRightRegular", "1em", ["M10.84 3.13a.5.5 0 0 0-.68.74l6.17 5.63H2.5a.5.5 0 0 0 0 1h13.83l-6.17 5.63a.5.5 0 0 0 .68.74l6.91-6.32a.75.75 0 0 0 0-1.1l-6.91-6.32Z"]), L0 = /* @__PURE__ */ u1("ArrowRotateClockwiseRegular", "1em", ["M3 10a7 7 0 1 1 10 6.33V14.5a.5.5 0 0 0-1 0v3c0 .28.22.5.5.5h3a.5.5 0 0 0 0-1h-1.62A8 8 0 1 0 2 10a.5.5 0 0 0 1 0Zm7 2a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0-1a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"], { flipInRtl: !0 }), N0 = /* @__PURE__ */ u1("ArrowRotateCounterclockwiseRegular", "1em", ["M17 10a7 7 0 1 0-10 6.33V14.5a.5.5 0 0 1 1 0v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1 0-1h1.62A8 8 0 1 1 18 10a.5.5 0 0 1-1 0Zm-7 2a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm0-1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"], { flipInRtl: !0 }), M0 = /* @__PURE__ */ u1("CropRegular", "1em", ["M6 2.5a.5.5 0 0 0-1 0V5H2.5a.5.5 0 0 0 0 1H5v6.5A2.5 2.5 0 0 0 7.5 15H14v2.5a.5.5 0 0 0 1 0V15h2.5a.5.5 0 0 0 0-1h-10A1.5 1.5 0 0 1 6 12.5v-10Zm8 5V13h1V7.5A2.5 2.5 0 0 0 12.5 5H7v1h5.5c.83 0 1.5.67 1.5 1.5Z"]), x0 = /* @__PURE__ */ u1("TextAlignCenterRegular", "1em", ["M4 4.5c0-.28.22-.5.5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Zm-2 5c0-.28.22-.5.5-.5h15a.5.5 0 0 1 0 1h-15a.5.5 0 0 1-.5-.5ZM6.5 14a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Z"]), D0 = /* @__PURE__ */ u1("TextAlignLeftRegular", "1em", ["M2 4.5c0-.28.22-.5.5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Zm0 5c0-.28.22-.5.5-.5h15a.5.5 0 0 1 0 1h-15a.5.5 0 0 1-.5-.5Zm.5 4.5a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9Z"]), H0 = /* @__PURE__ */ u1("TextAlignRightRegular", "1em", ["M6 4.5c0-.28.22-.5.5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Zm-4 5c0-.28.22-.5.5-.5h15a.5.5 0 0 1 0 1h-15a.5.5 0 0 1-.5-.5ZM9.5 14a.5.5 0 0 0 0 1h8a.5.5 0 0 0 0-1h-8Z"]), S0 = /* @__PURE__ */ u1("TextBoldRegular", "1em", ["M5.5 4.25C5.5 3.56 6.06 3 6.75 3h3.5a4 4 0 0 1 3.17 6.44c.9.7 1.58 1.8 1.58 3.31A4.23 4.23 0 0 1 10.75 17h-4c-.69 0-1.25-.56-1.25-1.25V4.25ZM8 11v3.5h2.75c.81 0 1.75-.62 1.75-1.75S11.56 11 10.75 11H8Zm0-2.5h2.25a1.5 1.5 0 1 0 0-3H8v3Z"]), Z0 = /* @__PURE__ */ u1("TextBulletListRegular", "1em", ["M3 5.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm3-1c0-.28.22-.5.5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Zm0 5c0-.28.22-.5.5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Zm.5 4.5a.5.5 0 0 0 0 1h11a.5.5 0 0 0 0-1h-11Zm-2.5.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-1-4a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"]), E0 = /* @__PURE__ */ u1("TextFontSizeRegular", "1em", ["M13 3.5c.2 0 .4.13.47.32l3 8v.02l1.5 3.98a.5.5 0 1 1-.94.36l-1.38-3.68h-5.3l-1.38 3.68a.5.5 0 0 1-.93 0L6.96 13.5H4.04l-1.08 2.69a.5.5 0 1 1-.92-.38l1.2-2.98v-.03l1.8-4.49a.5.5 0 0 1 .92 0l1.8 4.5v.02l.73 1.79 1.04-2.78v-.03l3-7.99A.5.5 0 0 1 13 3.5Zm-2.28 8h4.56L13 5.42l-2.28 6.08Zm-4.16 1L5.5 9.85 4.44 12.5h2.12Z"]), R0 = /* @__PURE__ */ u1("TextItalicRegular", "1em", ["M16 3a.5.5 0 0 1 0 1h-3.16L8.23 16h3.27a.5.5 0 0 1 0 1H4a.5.5 0 0 1 0-1h3.16l4.61-12H8.5a.5.5 0 0 1 0-1H16Z"]), B0 = /* @__PURE__ */ u1("TextNumberListLtrRegular", "1em", ["M5 1.5a.5.5 0 0 0-.39-.49.5.5 0 0 0-.56.27l-.07.12a2.96 2.96 0 0 1-1.2 1.15.5.5 0 1 0 .44.9c.3-.15.56-.34.78-.53V5.5a.5.5 0 0 0 1 0v-4ZM2.65 7.65a.5.5 0 0 0 .7.7l.05-.04.2-.12C3.76 8.09 4 8 4.3 8c.23 0 .41.06.53.15.1.07.16.17.16.35a.5.5 0 0 1-.21.44c-.15.12-.35.22-.62.35l-.14.08c-.32.15-.7.36-1 .7-.33.35-.53.81-.53 1.43 0 .28.22.5.5.5h2.5a.5.5 0 0 0 0-1H3.59c.04-.1.1-.2.17-.27a2.38 2.38 0 0 1 .83-.53c.27-.13.59-.29.84-.5.33-.27.57-.65.57-1.2 0-.5-.22-.9-.57-1.15A1.92 1.92 0 0 0 4.33 7h-.01a2.5 2.5 0 0 0-1.66.63v.01h-.01Zm.01-.02-.01.02s.1-.1.01-.02ZM4.25 15a.5.5 0 1 0 0 1c.34 0 .53.1.63.18.1.09.13.2.13.3-.01.2-.19.52-.76.52-.41 0-.63-.1-.72-.17a.42.42 0 0 1-.1-.07.5.5 0 0 0-.88.46v.01l.02.02a.8.8 0 0 0 .1.15c.07.08.17.17.3.27.28.18.7.33 1.28.33 1.03 0 1.73-.67 1.76-1.48.01-.37-.12-.74-.4-1.02.28-.28.41-.65.4-1.02-.03-.8-.73-1.48-1.76-1.48-.59 0-1 .15-1.28.33a1.4 1.4 0 0 0-.4.42l-.01.01v.01a.5.5 0 0 0 .87.48.42.42 0 0 1 .1-.08c.1-.07.3-.17.72-.17.57 0 .75.33.76.52 0 .1-.04.21-.13.3-.1.08-.29.18-.63.18Zm-.82-.75.01-.02v.02ZM8.5 4a.5.5 0 1 0 0 1h8a.5.5 0 0 0 0-1h-8Zm0 5a.5.5 0 1 0 0 1h8a.5.5 0 0 0 0-1h-8ZM8 14.5c0-.28.22-.5.5-.5h8a.5.5 0 1 1 0 1h-8a.5.5 0 0 1-.5-.5Z"]), V0 = /* @__PURE__ */ u1("CheckmarkCircleFilled", "1em", ["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm3.36 5.65a.5.5 0 0 0-.64-.06l-.07.06L9 11.3 7.35 9.65l-.07-.06a.5.5 0 0 0-.7.7l.07.07 2 2 .07.06c.17.11.4.11.56 0l.07-.06 4-4 .07-.08a.5.5 0 0 0-.06-.63Z"]), U1 = /* @__PURE__ */ u1("ChevronDownRegular", "1em", ["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]), V5 = /* @__PURE__ */ u1("ChevronLeftRegular", "1em", ["M12.35 15.85a.5.5 0 0 1-.7 0L6.16 10.4a.55.55 0 0 1 0-.78l5.49-5.46a.5.5 0 1 1 .7.7L7.2 10l5.16 5.15c.2.2.2.5 0 .7Z"]), I2 = /* @__PURE__ */ u1("ChevronRightRegular", "1em", ["M7.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L12.8 10 7.65 4.85a.5.5 0 0 1 0-.7Z"]), T5 = /* @__PURE__ */ u1("ChevronUpRegular", "1em", ["M4.15 12.35a.5.5 0 0 1 0-.7L9.6 6.16a.55.55 0 0 1 .78 0l5.46 5.49a.5.5 0 0 1-.7.7L10 7.2l-5.15 5.16a.5.5 0 0 1-.7 0Z"]), $5 = /* @__PURE__ */ u1("DeleteRegular", "1em", ["M8.5 4h3a1.5 1.5 0 0 0-3 0Zm-1 0a2.5 2.5 0 0 1 5 0h5a.5.5 0 0 1 0 1h-1.05l-1.2 10.34A3 3 0 0 1 12.27 18H7.73a3 3 0 0 1-2.98-2.66L3.55 5H2.5a.5.5 0 0 1 0-1h5ZM5.74 15.23A2 2 0 0 0 7.73 17h4.54a2 2 0 0 0 1.99-1.77L15.44 5H4.56l1.18 10.23ZM8.5 7.5c.28 0 .5.22.5.5v6a.5.5 0 0 1-1 0V8c0-.28.22-.5.5-.5ZM12 8a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V8Z"]), z1 = /* @__PURE__ */ u1("DismissRegular", "1em", ["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]), T0 = /* @__PURE__ */ u1("DismissCircleFilled", "1em", ["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16ZM7.8 7.11a.5.5 0 0 0-.63.06l-.06.07a.5.5 0 0 0 .06.64L9.3 10l-2.12 2.12-.06.07a.5.5 0 0 0 .06.64l.07.06c.2.13.47.11.64-.06L10 10.7l2.12 2.12.07.06c.2.13.46.11.64-.06l.06-.07a.5.5 0 0 0-.06-.64L10.7 10l2.12-2.12.06-.07a.5.5 0 0 0-.06-.64l-.07-.06a.5.5 0 0 0-.64.06L10 9.3 7.88 7.17l-.07-.06Z"]), $0 = /* @__PURE__ */ u1("GridRegular", "1em", ["M7.5 11c.83 0 1.5.67 1.5 1.5v4c0 .83-.67 1.5-1.5 1.5h-4A1.5 1.5 0 0 1 2 16.5v-4c0-.83.67-1.5 1.5-1.5h4Zm9 0c.83 0 1.5.67 1.5 1.5v4c0 .83-.67 1.5-1.5 1.5h-4a1.5 1.5 0 0 1-1.5-1.5v-4c0-.83.67-1.5 1.5-1.5h4Zm-9 1h-4a.5.5 0 0 0-.5.5v4c0 .28.22.5.5.5h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 0-.5-.5Zm9 0h-4a.5.5 0 0 0-.5.5v4c0 .28.22.5.5.5h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 0-.5-.5Zm-9-10C8.33 2 9 2.67 9 3.5v4C9 8.33 8.33 9 7.5 9h-4A1.5 1.5 0 0 1 2 7.5v-4C2 2.67 2.67 2 3.5 2h4Zm9 0c.83 0 1.5.67 1.5 1.5v4c0 .83-.67 1.5-1.5 1.5h-4A1.5 1.5 0 0 1 11 7.5v-4c0-.83.67-1.5 1.5-1.5h4Zm-9 1h-4a.5.5 0 0 0-.5.5v4c0 .28.22.5.5.5h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 0-.5-.5Zm9 0h-4a.5.5 0 0 0-.5.5v4c0 .28.22.5.5.5h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 0-.5-.5Z"]), I0 = /* @__PURE__ */ u1("QuestionCircleRegular", "1em", ["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm0 10.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Zm0-8a2.5 2.5 0 0 1 1.65 4.38l-.15.12-.22.17-.09.07-.16.15c-.33.36-.53.85-.53 1.61a.5.5 0 0 1-1 0 3.2 3.2 0 0 1 1.16-2.62l.25-.19.12-.1A1.5 1.5 0 0 0 10 6.5c-.83 0-1.5.67-1.5 1.5a.5.5 0 0 1-1 0A2.5 2.5 0 0 1 10 5.5Z"]), A0 = /* @__PURE__ */ u1("ChevronDown16Filled", "16", ["M3.2 5.74a.75.75 0 0 1 1.06-.04L8 9.23l3.74-3.53a.75.75 0 1 1 1.02 1.1l-4.25 4a.75.75 0 0 1-1.02 0l-4.25-4a.75.75 0 0 1-.04-1.06Z"]), F0 = /* @__PURE__ */ u1("ChevronUp16Filled", "16", ["M3.2 10.26c.28.3.76.32 1.06.04L8 6.77l3.74 3.53a.75.75 0 1 0 1.02-1.1l-4.25-4a.75.75 0 0 0-1.02 0l-4.25 4a.75.75 0 0 0-.04 1.06Z"]), j0 = {
623
623
  sm: { px: 24, r: 9, sw: 2, checkSw: 2, checkLen: 14 },
624
624
  md: { px: 40, r: 16, sw: 3, checkSw: 3, checkLen: 22 },
@@ -633,9 +633,9 @@ const l0 = () => {
633
633
  done: l = !1,
634
634
  onComplete: r,
635
635
  fullscreen: a = !1,
636
- className: i = ""
636
+ className: s = ""
637
637
  }) => {
638
- const { px: s, r: o, sw: c, checkSw: C, checkLen: u } = j0[n], m = s / 2, k = +(2 * Math.PI * o).toFixed(2), f = c1(null);
638
+ const { px: i, r: o, sw: c, checkSw: C, checkLen: u } = j0[n], m = i / 2, k = +(2 * Math.PI * o).toFixed(2), f = c1(null);
639
639
  i1(() => {
640
640
  const h = f.current;
641
641
  if (!l || !h || !r) return;
@@ -650,7 +650,7 @@ const l0 = () => {
650
650
  `kdls-spinner--${t}`,
651
651
  `kdls-spinner--${n}`,
652
652
  l ? "kdls-spinner--done" : "",
653
- i
653
+ s
654
654
  ].filter(Boolean).join(" "),
655
655
  role: "status",
656
656
  "aria-label": l ? "Concluído" : "Carregando",
@@ -663,9 +663,9 @@ const l0 = () => {
663
663
  "svg",
664
664
  {
665
665
  className: "kdls-spinner__svg",
666
- viewBox: `0 0 ${s} ${s}`,
667
- width: s,
668
- height: s,
666
+ viewBox: `0 0 ${i} ${i}`,
667
+ width: i,
668
+ height: i,
669
669
  fill: "none",
670
670
  "aria-hidden": "true",
671
671
  children: [
@@ -697,14 +697,14 @@ const l0 = () => {
697
697
  "svg",
698
698
  {
699
699
  className: "kdls-spinner__done-svg",
700
- viewBox: `0 0 ${s} ${s}`,
701
- width: s,
702
- height: s,
700
+ viewBox: `0 0 ${i} ${i}`,
701
+ width: i,
702
+ height: i,
703
703
  fill: "none",
704
704
  "aria-hidden": "true",
705
705
  children: [
706
706
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ d("mask", { id: `kdls-fill-mask-${n}`, children: [
707
- /* @__PURE__ */ e("rect", { x: "0", y: "0", width: s, height: s, fill: "white" }),
707
+ /* @__PURE__ */ e("rect", { x: "0", y: "0", width: i, height: i, fill: "white" }),
708
708
  /* @__PURE__ */ e("circle", { className: "kdls-spinner__fill-hole", cx: m, cy: m, r: o - c / 2, fill: "black" })
709
709
  ] }) }),
710
710
  /* @__PURE__ */ e(
@@ -740,17 +740,17 @@ const l0 = () => {
740
740
  ) : p;
741
741
  };
742
742
  function I5(t, n = !1) {
743
- let l = 0, r = window.innerHeight, a = 0, i = window.innerWidth, s = (t == null ? void 0 : t.parentElement) ?? null;
743
+ let l = 0, r = window.innerHeight, a = 0, s = window.innerWidth, i = (t == null ? void 0 : t.parentElement) ?? null;
744
744
  const o = n ? /(scroll|auto)/ : /(hidden|scroll|auto)/;
745
- for (; s && s !== document.documentElement && s !== document.body; ) {
746
- const { overflowX: c, overflowY: C } = getComputedStyle(s), u = o.test(C) && s.scrollHeight > s.clientHeight, m = o.test(c) && s.scrollWidth > s.clientWidth;
745
+ for (; i && i !== document.documentElement && i !== document.body; ) {
746
+ const { overflowX: c, overflowY: C } = getComputedStyle(i), u = o.test(C) && i.scrollHeight > i.clientHeight, m = o.test(c) && i.scrollWidth > i.clientWidth;
747
747
  if (u || m) {
748
- const k = s.getBoundingClientRect();
749
- u && (l = Math.max(l, k.top), r = Math.min(r, k.bottom)), m && (a = Math.max(a, k.left), i = Math.min(i, k.right));
748
+ const k = i.getBoundingClientRect();
749
+ u && (l = Math.max(l, k.top), r = Math.min(r, k.bottom)), m && (a = Math.max(a, k.left), s = Math.min(s, k.right));
750
750
  }
751
- s = s.parentElement;
751
+ i = i.parentElement;
752
752
  }
753
- return { top: l, bottom: r, left: a, right: i };
753
+ return { top: l, bottom: r, left: a, right: s };
754
754
  }
755
755
  function o2(t) {
756
756
  const [, n, l] = t.match(/^([a-z]+)([A-Z][a-z]+)?$/);
@@ -777,9 +777,9 @@ function j5(t, n, l, r) {
777
777
  function O0(t, n, l, r, a) {
778
778
  return n.width === 0 && n.height === 0 ? l : l === "bottom" && t.bottom + r + n.height > a.bottom ? "top" : l === "top" && t.top - r - n.height < a.top ? "bottom" : l === "right" && t.right + r + n.width > a.right ? "left" : l === "left" && t.left - r - n.width < a.left ? "right" : l;
779
779
  }
780
- function P5(t, n, l, r, a, i) {
781
- const s = O0(t, n, l, a, i);
782
- return { style: j5(t, s, r, a), effectiveSide: s };
780
+ function P5(t, n, l, r, a, s) {
781
+ const i = O0(t, n, l, a, s);
782
+ return { style: j5(t, i, r, a), effectiveSide: i };
783
783
  }
784
784
  function A2({
785
785
  triggerRef: t,
@@ -787,8 +787,8 @@ function A2({
787
787
  side: l,
788
788
  align: r,
789
789
  gap: a,
790
- open: i,
791
- observePanel: s = !1
790
+ open: s,
791
+ observePanel: i = !1
792
792
  }) {
793
793
  const [o, c] = D({}), [C, u] = D(l), [m, k] = D(!1), f = A1(() => {
794
794
  var N, V;
@@ -800,7 +800,7 @@ function A2({
800
800
  c(L.style), u(L.effectiveSide);
801
801
  }, [t, n, l, r, a]);
802
802
  return i1(() => {
803
- if (!i) {
803
+ if (!s) {
804
804
  k(!1), c({});
805
805
  return;
806
806
  }
@@ -808,10 +808,10 @@ function A2({
808
808
  f(), k(!0);
809
809
  });
810
810
  let h;
811
- return s && n.current && (h = new ResizeObserver(() => f()), h.observe(n.current)), window.addEventListener("scroll", f, !0), window.addEventListener("resize", f), () => {
811
+ return i && n.current && (h = new ResizeObserver(() => f()), h.observe(n.current)), window.addEventListener("scroll", f, !0), window.addEventListener("resize", f), () => {
812
812
  cancelAnimationFrame(p), h == null || h.disconnect(), window.removeEventListener("scroll", f, !0), window.removeEventListener("resize", f);
813
813
  };
814
- }, [i, s, f, n]), { style: o, effectiveSide: C, positioned: m };
814
+ }, [s, i, f, n]), { style: o, effectiveSide: C, positioned: m };
815
815
  }
816
816
  const n5 = 8, K0 = 100, q0 = 100, ie = ({
817
817
  content: t,
@@ -820,27 +820,27 @@ const n5 = 8, K0 = 100, q0 = 100, ie = ({
820
820
  width: r = "hug",
821
821
  className: a = ""
822
822
  }) => {
823
- const [i, s] = D(null), [o, c] = D(l), [C, u] = D(!1), m = c1(null), k = c1(null), f = c1(null), p = c1(null), h = A1(() => {
824
- p.current && (clearTimeout(p.current), p.current = null), !(i || f.current) && (f.current = setTimeout(() => {
825
- f.current = null, m.current && (s(m.current.getBoundingClientRect()), c(l), u(!1));
823
+ const [s, i] = D(null), [o, c] = D(l), [C, u] = D(!1), m = c1(null), k = c1(null), f = c1(null), p = c1(null), h = A1(() => {
824
+ p.current && (clearTimeout(p.current), p.current = null), !(s || f.current) && (f.current = setTimeout(() => {
825
+ f.current = null, m.current && (i(m.current.getBoundingClientRect()), c(l), u(!1));
826
826
  }, K0));
827
- }, [l, i]), _ = A1(() => {
827
+ }, [l, s]), _ = A1(() => {
828
828
  f.current && (clearTimeout(f.current), f.current = null), p.current = setTimeout(() => {
829
- s(null), u(!1);
829
+ i(null), u(!1);
830
830
  }, q0);
831
831
  }, []);
832
832
  i1(() => () => {
833
833
  f.current && clearTimeout(f.current), p.current && clearTimeout(p.current);
834
834
  }, []), i1(() => {
835
- if (!i || !k.current) return;
836
- const E = I5(m.current, !0), W = { width: k.current.offsetWidth, height: k.current.offsetHeight }, { side: $, align: F } = o2(l), { effectiveSide: H } = P5(i, W, $, F, n5, E);
835
+ if (!s || !k.current) return;
836
+ const E = I5(m.current, !0), W = { width: k.current.offsetWidth, height: k.current.offsetHeight }, { side: $, align: F } = o2(l), { effectiveSide: H } = P5(s, W, $, F, n5, E);
837
837
  c(A5(H, F)), u(!0);
838
- }, [i, l]);
839
- const L = i !== null;
838
+ }, [s, l]);
839
+ const L = s !== null;
840
840
  i1(() => {
841
841
  if (!L) return;
842
842
  const E = () => {
843
- m.current && s(m.current.getBoundingClientRect());
843
+ m.current && i(m.current.getBoundingClientRect());
844
844
  };
845
845
  return window.addEventListener("scroll", E, !0), window.addEventListener("resize", E), () => {
846
846
  window.removeEventListener("scroll", E, !0), window.removeEventListener("resize", E);
@@ -864,18 +864,18 @@ const n5 = 8, K0 = 100, q0 = 100, ie = ({
864
864
  onFocus: h,
865
865
  onBlur: _,
866
866
  onKeyDown: w ? (E) => {
867
- E.key !== "Escape" || p.current || !(i || f.current) || (E.stopPropagation(), _());
867
+ E.key !== "Escape" || p.current || !(s || f.current) || (E.stopPropagation(), _());
868
868
  } : void 0,
869
869
  children: [
870
870
  w ? /* @__PURE__ */ e(n1, { icon: /* @__PURE__ */ e(R5, {}), "aria-hidden": !0, className: "kdls-tooltip-wrapper__icon" }) : n,
871
- i && fe.createPortal(
871
+ s && fe.createPortal(
872
872
  /* @__PURE__ */ e(
873
873
  "span",
874
874
  {
875
875
  ref: k,
876
876
  className: ["kdls-tooltip", `kdls-tooltip--${F5(o)}`].join(" "),
877
877
  role: "tooltip",
878
- style: { ...j5(i, N, V, n5), visibility: C ? "visible" : "hidden" },
878
+ style: { ...j5(s, N, V, n5), visibility: C ? "visible" : "hidden" },
879
879
  children: t
880
880
  }
881
881
  ),
@@ -890,8 +890,8 @@ const n5 = 8, K0 = 100, q0 = 100, ie = ({
890
890
  variant: l = "primary",
891
891
  iconLeft: r,
892
892
  iconRight: a,
893
- size: i = "md",
894
- width: s = "hug",
893
+ size: s = "md",
894
+ width: i = "hug",
895
895
  isLoading: o = !1,
896
896
  disabled: c = !1,
897
897
  disabledTooltip: C,
@@ -903,8 +903,8 @@ const n5 = 8, K0 = 100, q0 = 100, ie = ({
903
903
  const p = [
904
904
  "kdls-button",
905
905
  `kdls-button--${l}`,
906
- `kdls-button--${i}`,
907
- s === "fill" ? "kdls-button--full" : "",
906
+ `kdls-button--${s}`,
907
+ i === "fill" ? "kdls-button--full" : "",
908
908
  o && !c ? "kdls-button--loading" : "",
909
909
  f
910
910
  ].filter(Boolean).join(" "), h = /* @__PURE__ */ d(
@@ -936,17 +936,17 @@ const n5 = 8, K0 = 100, q0 = 100, ie = ({
936
936
  {
937
937
  content: C,
938
938
  placement: u,
939
- className: ["kdls-button__tooltip-wrapper", s === "fill" ? "kdls-button__tooltip-wrapper--full" : ""].filter(Boolean).join(" "),
939
+ className: ["kdls-button__tooltip-wrapper", i === "fill" ? "kdls-button__tooltip-wrapper--full" : ""].filter(Boolean).join(" "),
940
940
  children: h
941
941
  }
942
942
  );
943
- }, J = B1.forwardRef(function({ children: n, variant: l = "bodyMd", as: r, color: a = "default", htmlFor: i, id: s, className: o = "" }, c) {
943
+ }, J = B1.forwardRef(function({ children: n, variant: l = "bodyMd", as: r, color: a = "default", htmlFor: s, id: i, className: o = "" }, c) {
944
944
  return /* @__PURE__ */ e(
945
945
  r,
946
946
  {
947
947
  ref: c,
948
- htmlFor: i,
949
- id: s,
948
+ htmlFor: s,
949
+ id: i,
950
950
  className: [
951
951
  "kdls-text",
952
952
  `kdls-text--${l}`,
@@ -964,8 +964,8 @@ const U0 = ({
964
964
  icon: l,
965
965
  size: r = "lg",
966
966
  bordered: a = !1,
967
- actionLabel: i,
968
- onAction: s,
967
+ actionLabel: s,
968
+ onAction: i,
969
969
  actionLoading: o = !1,
970
970
  actionDisabled: c = !1,
971
971
  actionDisabledTooltip: C,
@@ -977,7 +977,7 @@ const U0 = ({
977
977
  className: h = ""
978
978
  }) => {
979
979
  const [_, L] = D(m), [N, V] = D(!1), w = k !== void 0, E = w ? k : _, W = async () => {
980
- const F = s == null ? void 0 : s();
980
+ const F = i == null ? void 0 : i();
981
981
  if (F instanceof Promise) {
982
982
  V(!0);
983
983
  try {
@@ -1010,12 +1010,12 @@ const U0 = ({
1010
1010
  l && /* @__PURE__ */ e("span", { className: "kdls-accordion__title-icon", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: l }) }),
1011
1011
  /* @__PURE__ */ e(J, { as: "span", variant: r === "lg" ? "titleMd" : "titleSm", children: t })
1012
1012
  ] }),
1013
- i && /* @__PURE__ */ e(
1013
+ s && /* @__PURE__ */ e(
1014
1014
  "span",
1015
1015
  {
1016
1016
  className: "kdls-accordion__action",
1017
1017
  onClick: (F) => F.stopPropagation(),
1018
- children: /* @__PURE__ */ e(_1, { variant: "link", label: i, onClick: W, isLoading: N || o, disabled: c, disabledTooltip: C, disabledTooltipPosition: u })
1018
+ children: /* @__PURE__ */ e(_1, { variant: "link", label: s, onClick: W, isLoading: N || o, disabled: c, disabledTooltip: C, disabledTooltipPosition: u })
1019
1019
  }
1020
1020
  ),
1021
1021
  /* @__PURE__ */ e(
@@ -1034,12 +1034,12 @@ const U0 = ({
1034
1034
  }
1035
1035
  );
1036
1036
  }, Rn = ({ children: t, variant: n = "connected", className: l = "" }) => {
1037
- const r = B1.Children.toArray(t), a = r.findIndex((o) => o.props.defaultOpen), [i, s] = D(a);
1037
+ const r = B1.Children.toArray(t), a = r.findIndex((o) => o.props.defaultOpen), [s, i] = D(a);
1038
1038
  return /* @__PURE__ */ e("div", { className: ["kdls-accordion-group", n === "spaced" ? "kdls-accordion-group--spaced" : "", l].filter(Boolean).join(" "), children: r.map(
1039
1039
  (o, c) => B1.cloneElement(o, {
1040
1040
  key: c,
1041
- open: i === c,
1042
- onOpenChange: (C) => s(C ? c : -1)
1041
+ open: s === c,
1042
+ onOpenChange: (C) => i(C ? c : -1)
1043
1043
  })
1044
1044
  ) });
1045
1045
  };
@@ -1049,8 +1049,8 @@ function Bn({
1049
1049
  rowGap: l,
1050
1050
  colGap: r,
1051
1051
  align: a = "stretch",
1052
- className: i = "",
1053
- children: s
1052
+ className: s = "",
1053
+ children: i
1054
1054
  }) {
1055
1055
  return /* @__PURE__ */ e(
1056
1056
  "div",
@@ -1062,9 +1062,9 @@ function Bn({
1062
1062
  l !== void 0 ? `kdls-grid--row-gap-${l}` : "",
1063
1063
  r !== void 0 ? `kdls-grid--col-gap-${r}` : "",
1064
1064
  a !== "stretch" ? `kdls-grid--align-${a}` : "",
1065
- i
1065
+ s
1066
1066
  ].filter(Boolean).join(" "),
1067
- children: s
1067
+ children: i
1068
1068
  }
1069
1069
  );
1070
1070
  }
@@ -1074,8 +1074,8 @@ function Vn({
1074
1074
  sm: l,
1075
1075
  md: r,
1076
1076
  lg: a,
1077
- xl: i,
1078
- className: s = "",
1077
+ xl: s,
1078
+ className: i = "",
1079
1079
  children: o
1080
1080
  }) {
1081
1081
  return /* @__PURE__ */ e(
@@ -1088,8 +1088,8 @@ function Vn({
1088
1088
  l !== void 0 ? `kdls-col--sm-${l}` : "",
1089
1089
  r !== void 0 ? `kdls-col--md-${r}` : "",
1090
1090
  a !== void 0 ? `kdls-col--lg-${a}` : "",
1091
- i !== void 0 ? `kdls-col--xl-${i}` : "",
1092
- s
1091
+ s !== void 0 ? `kdls-col--xl-${s}` : "",
1092
+ i
1093
1093
  ].filter(Boolean).join(" "),
1094
1094
  children: o
1095
1095
  }
@@ -1101,8 +1101,8 @@ const k1 = ({
1101
1101
  variant: l = "primary",
1102
1102
  size: r = "sm",
1103
1103
  isLoading: a = !1,
1104
- disabled: i = !1,
1105
- "aria-label": s,
1104
+ disabled: s = !1,
1105
+ "aria-label": i,
1106
1106
  className: o = "",
1107
1107
  ...c
1108
1108
  }) => /* @__PURE__ */ d(
@@ -1110,12 +1110,12 @@ const k1 = ({
1110
1110
  {
1111
1111
  ...c,
1112
1112
  type: "button",
1113
- disabled: i,
1114
- "aria-label": s,
1115
- "aria-disabled": i,
1113
+ disabled: s,
1114
+ "aria-label": i,
1115
+ "aria-disabled": s,
1116
1116
  "aria-busy": a || void 0,
1117
1117
  onClick: (C) => {
1118
- if (i || a) {
1118
+ if (s || a) {
1119
1119
  C.preventDefault();
1120
1120
  return;
1121
1121
  }
@@ -1125,12 +1125,12 @@ const k1 = ({
1125
1125
  "kdls-icon-button",
1126
1126
  `kdls-icon-button--${r}`,
1127
1127
  `kdls-icon-button--${l}`,
1128
- a && !i ? "kdls-icon-button--loading" : "",
1128
+ a && !s ? "kdls-icon-button--loading" : "",
1129
1129
  o
1130
1130
  ].filter(Boolean).join(" "),
1131
1131
  children: [
1132
- a && !i && /* @__PURE__ */ e(Ie, { size: "sm" }),
1133
- /* @__PURE__ */ e("span", { className: "kdls-icon-button__icon", "aria-hidden": "true", children: a && !i ? null : /* @__PURE__ */ e(n1, { icon: t }) }),
1132
+ a && !s && /* @__PURE__ */ e(Ie, { size: "sm" }),
1133
+ /* @__PURE__ */ e("span", { className: "kdls-icon-button__icon", "aria-hidden": "true", children: a && !s ? null : /* @__PURE__ */ e(n1, { icon: t }) }),
1134
1134
  /* @__PURE__ */ e("svg", { width: "0", height: "0", style: { position: "absolute" }, "aria-hidden": "true", children: /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ d("linearGradient", { id: "kdls-icon-button-lya-gradient", x1: "0", y1: "0", x2: "1", y2: "0", children: [
1135
1135
  /* @__PURE__ */ e("stop", { offset: "0%", stopColor: "var(--color-sea-50)" }),
1136
1136
  /* @__PURE__ */ e("stop", { offset: "50%", stopColor: "var(--color-dusk-50)" }),
@@ -1144,15 +1144,15 @@ const k1 = ({
1144
1144
  meta: l,
1145
1145
  badge: r,
1146
1146
  onDelete: a,
1147
- onDownload: i,
1148
- onViewDetails: s,
1147
+ onDownload: s,
1148
+ onViewDetails: i,
1149
1149
  disabledDelete: o = !1,
1150
1150
  disabledDownload: c = !1,
1151
1151
  disabledViewDetails: C = !1,
1152
1152
  truncateName: u = !0,
1153
1153
  className: m = ""
1154
1154
  }) => {
1155
- const k = !!(r || a || i || s), f = c1(null), [p, h] = D(!1), [_, L] = D(!1), [N, V] = D(!1), w = async () => {
1155
+ const k = !!(r || a || s || i), f = c1(null), [p, h] = D(!1), [_, L] = D(!1), [N, V] = D(!1), w = async () => {
1156
1156
  const $ = a == null ? void 0 : a();
1157
1157
  if ($ instanceof Promise) {
1158
1158
  L(!0);
@@ -1163,7 +1163,7 @@ const k1 = ({
1163
1163
  }
1164
1164
  }
1165
1165
  }, E = async () => {
1166
- const $ = i == null ? void 0 : i();
1166
+ const $ = s == null ? void 0 : s();
1167
1167
  if ($ instanceof Promise) {
1168
1168
  V(!0);
1169
1169
  try {
@@ -1208,8 +1208,8 @@ const k1 = ({
1208
1208
  k && /* @__PURE__ */ d("div", { className: "kdls-attachment-row__actions", children: [
1209
1209
  r,
1210
1210
  a && /* @__PURE__ */ e(k1, { icon: /* @__PURE__ */ e($5, {}), "aria-label": "Excluir", onClick: w, isLoading: _, disabled: o }),
1211
- i && /* @__PURE__ */ e(k1, { icon: /* @__PURE__ */ e(B5, {}), "aria-label": "Baixar", onClick: E, isLoading: N, disabled: c }),
1212
- s && /* @__PURE__ */ e(k1, { icon: /* @__PURE__ */ e(I2, {}), variant: "neutral", "aria-label": "Ver detalhes", onClick: s, disabled: C })
1211
+ s && /* @__PURE__ */ e(k1, { icon: /* @__PURE__ */ e(B5, {}), "aria-label": "Baixar", onClick: E, isLoading: N, disabled: c }),
1212
+ i && /* @__PURE__ */ e(k1, { icon: /* @__PURE__ */ e(I2, {}), variant: "neutral", "aria-label": "Ver detalhes", onClick: i, disabled: C })
1213
1213
  ] })
1214
1214
  ] });
1215
1215
  }, Tn = ({
@@ -1218,32 +1218,32 @@ const k1 = ({
1218
1218
  onDownload: l,
1219
1219
  onViewDetails: r,
1220
1220
  truncateName: a = !0,
1221
- className: i = ""
1222
- }) => /* @__PURE__ */ e("div", { className: ["kdls-attachment-list", i].filter(Boolean).join(" "), children: t.map((s) => /* @__PURE__ */ e(
1221
+ className: s = ""
1222
+ }) => /* @__PURE__ */ e("div", { className: ["kdls-attachment-list", s].filter(Boolean).join(" "), children: t.map((i) => /* @__PURE__ */ e(
1223
1223
  z0,
1224
1224
  {
1225
- name: s.name,
1226
- icon: s.icon,
1227
- meta: s.meta,
1228
- badge: s.badge,
1225
+ name: i.name,
1226
+ icon: i.icon,
1227
+ meta: i.meta,
1228
+ badge: i.badge,
1229
1229
  truncateName: a,
1230
- onDelete: n ? () => n(s.id) : void 0,
1231
- onDownload: l ? () => l(s.id) : void 0,
1232
- onViewDetails: r ? () => r(s.id) : void 0,
1233
- disabledDelete: s.disabledDelete,
1234
- disabledDownload: s.disabledDownload,
1235
- disabledViewDetails: s.disabledViewDetails
1230
+ onDelete: n ? () => n(i.id) : void 0,
1231
+ onDownload: l ? () => l(i.id) : void 0,
1232
+ onViewDetails: r ? () => r(i.id) : void 0,
1233
+ disabledDelete: i.disabledDelete,
1234
+ disabledDownload: i.disabledDownload,
1235
+ disabledViewDetails: i.disabledViewDetails
1236
1236
  },
1237
- s.id
1237
+ i.id
1238
1238
  )) }), x2 = ({
1239
1239
  src: t,
1240
1240
  initials: n,
1241
1241
  alt: l = "",
1242
1242
  size: r = "sm",
1243
1243
  onClick: a,
1244
- className: i = ""
1244
+ className: s = ""
1245
1245
  }) => {
1246
- const s = !!a, [o, c] = D(!1);
1246
+ const i = !!a, [o, c] = D(!1);
1247
1247
  i1(() => {
1248
1248
  c(!1);
1249
1249
  }, [t]);
@@ -1254,14 +1254,14 @@ const k1 = ({
1254
1254
  className: [
1255
1255
  "kdls-avatar",
1256
1256
  `kdls-avatar--${r}`,
1257
- s ? "kdls-avatar--clickable" : "",
1258
- i
1257
+ i ? "kdls-avatar--clickable" : "",
1258
+ s
1259
1259
  ].filter(Boolean).join(" "),
1260
1260
  onClick: a,
1261
- tabIndex: s ? 0 : void 0,
1262
- role: s ? "button" : void 0,
1263
- "aria-label": s ? l || n : void 0,
1264
- onKeyDown: s ? (u) => {
1261
+ tabIndex: i ? 0 : void 0,
1262
+ role: i ? "button" : void 0,
1263
+ "aria-label": i ? l || n : void 0,
1264
+ onKeyDown: i ? (u) => {
1265
1265
  (u.key === "Enter" || u.key === " ") && (u.preventDefault(), a == null || a(u));
1266
1266
  } : void 0,
1267
1267
  children: C ? /* @__PURE__ */ e("img", { className: "kdls-avatar__image", src: t, alt: l, onError: () => c(!0) }) : /* @__PURE__ */ e("span", { className: "kdls-avatar__placeholder", "aria-label": l || n, children: n ?? "?" })
@@ -1273,16 +1273,16 @@ const k1 = ({
1273
1273
  appearance: l = "tone-30",
1274
1274
  iconLeft: r,
1275
1275
  iconRight: a,
1276
- onClickIconRight: i,
1277
- iconRightLoading: s = !1,
1276
+ onClickIconRight: s,
1277
+ iconRightLoading: i = !1,
1278
1278
  iconRightDisabled: o = !1,
1279
1279
  size: c = "sm",
1280
1280
  width: C = "hug",
1281
1281
  className: u = ""
1282
1282
  }) => {
1283
- const [m, k] = D(!1), f = (m || s) && !o, p = async () => {
1283
+ const [m, k] = D(!1), f = (m || i) && !o, p = async () => {
1284
1284
  if (o || f) return;
1285
- const h = i == null ? void 0 : i();
1285
+ const h = s == null ? void 0 : s();
1286
1286
  if (h instanceof Promise) {
1287
1287
  k(!0);
1288
1288
  try {
@@ -1573,8 +1573,8 @@ const El = ({
1573
1573
  icon: l,
1574
1574
  size: r = "lg",
1575
1575
  width: a = "fill",
1576
- bordered: i = !1,
1577
- actionLabel: s,
1576
+ bordered: s = !1,
1577
+ actionLabel: i,
1578
1578
  onAction: o,
1579
1579
  actionLoading: c = !1,
1580
1580
  actionDisabled: C = !1,
@@ -1597,17 +1597,17 @@ const El = ({
1597
1597
  return /* @__PURE__ */ d(
1598
1598
  "div",
1599
1599
  {
1600
- className: ["kdls-alert", `kdls-alert--${n}`, r !== "lg" ? `kdls-alert--${r}` : "", `kdls-alert--${a}`, i ? "kdls-alert--bordered" : "", f].filter(Boolean).join(" "),
1600
+ className: ["kdls-alert", `kdls-alert--${n}`, r !== "lg" ? `kdls-alert--${r}` : "", `kdls-alert--${a}`, s ? "kdls-alert--bordered" : "", f].filter(Boolean).join(" "),
1601
1601
  role: "alert",
1602
1602
  children: [
1603
1603
  /* @__PURE__ */ d("div", { className: "kdls-alert__content", children: [
1604
1604
  l && /* @__PURE__ */ e("span", { className: "kdls-alert__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: l, size: r === "sm" ? "sm" : void 0 }) }),
1605
1605
  /* @__PURE__ */ e(J, { as: "span", className: "kdls-alert__message", color: "inherit", variant: r === "lg" ? "bodyMd" : r === "md" ? "bodySm" : "labelRegular", children: t }),
1606
- s && /* @__PURE__ */ e(
1606
+ i && /* @__PURE__ */ e(
1607
1607
  _1,
1608
1608
  {
1609
1609
  variant: "link",
1610
- label: s,
1610
+ label: i,
1611
1611
  onClick: _,
1612
1612
  isLoading: p || c,
1613
1613
  disabled: C,
@@ -1635,8 +1635,8 @@ const El = ({
1635
1635
  width: l = "hug",
1636
1636
  labelPosition: r = "right",
1637
1637
  checked: a = !1,
1638
- indeterminate: i = !1,
1639
- onChange: s,
1638
+ indeterminate: s = !1,
1639
+ onChange: i,
1640
1640
  container: o = !1,
1641
1641
  disabled: c = !1,
1642
1642
  feedback: C = "none",
@@ -1648,7 +1648,7 @@ const El = ({
1648
1648
  className: h = ""
1649
1649
  }) => {
1650
1650
  const _ = c ? "none" : C, L = () => {
1651
- c || s == null || s(!a);
1651
+ c || i == null || i(!a);
1652
1652
  }, N = ["kdls-checkbox__label", k && !c ? "kdls-checkbox__label--required" : ""].filter(Boolean).join(" "), V = [
1653
1653
  "kdls-checkbox__hint",
1654
1654
  C !== "none" ? `kdls-checkbox__hint--${C}` : "",
@@ -1661,14 +1661,14 @@ const El = ({
1661
1661
  `kdls-checkbox--${n}`,
1662
1662
  r === "left" ? "kdls-checkbox--label-left" : "",
1663
1663
  a ? "kdls-checkbox--checked" : "",
1664
- i ? "kdls-checkbox--indeterminate" : "",
1664
+ s ? "kdls-checkbox--indeterminate" : "",
1665
1665
  c ? "kdls-checkbox--disabled" : "",
1666
1666
  _ !== "none" ? `kdls-checkbox--feedback-${_}` : ""
1667
1667
  ].filter(Boolean).join(" "),
1668
1668
  role: "checkbox",
1669
1669
  "aria-label": f,
1670
1670
  "aria-labelledby": p,
1671
- "aria-checked": i ? "mixed" : a,
1671
+ "aria-checked": s ? "mixed" : a,
1672
1672
  "aria-disabled": c,
1673
1673
  "aria-required": k || void 0,
1674
1674
  "aria-invalid": C === "error" || void 0,
@@ -1676,7 +1676,7 @@ const El = ({
1676
1676
  onClick: L,
1677
1677
  onKeyDown: (E) => E.key === " " && L(),
1678
1678
  children: [
1679
- /* @__PURE__ */ e("span", { className: "kdls-checkbox__box", "aria-hidden": "true", children: /* @__PURE__ */ e("span", { className: "kdls-checkbox__icon", children: i ? /* @__PURE__ */ e("svg", { width: "8", height: "2", viewBox: "0 0 8 2", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 1H7", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }) }) : /* @__PURE__ */ e("svg", { width: "10", height: "8", viewBox: "0 0 10 8", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 4L3.5 6.5L9 1", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round" }) }) }) }),
1679
+ /* @__PURE__ */ e("span", { className: "kdls-checkbox__box", "aria-hidden": "true", children: /* @__PURE__ */ e("span", { className: "kdls-checkbox__icon", children: s ? /* @__PURE__ */ e("svg", { width: "8", height: "2", viewBox: "0 0 8 2", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 1H7", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }) }) : /* @__PURE__ */ e("svg", { width: "10", height: "8", viewBox: "0 0 10 8", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 4L3.5 6.5L9 1", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round" }) }) }) }),
1680
1680
  !o && u ? /* @__PURE__ */ d("div", { className: "kdls-checkbox__content", children: [
1681
1681
  t && /* @__PURE__ */ e(J, { as: "span", variant: "bodyMd", className: N, children: t }),
1682
1682
  /* @__PURE__ */ e(J, { as: "span", variant: "labelRegular", className: V, children: u })
@@ -1701,8 +1701,8 @@ const El = ({
1701
1701
  placement: l = "top",
1702
1702
  gap: r = Y0,
1703
1703
  trigger: a = "click",
1704
- mouseEnterDelay: i = 100,
1705
- mouseLeaveDelay: s = 100,
1704
+ mouseEnterDelay: s = 100,
1705
+ mouseLeaveDelay: i = 100,
1706
1706
  open: o,
1707
1707
  onOpenChange: c,
1708
1708
  defaultOpen: C = !1,
@@ -1742,9 +1742,9 @@ const El = ({
1742
1742
  Z.includes("click") && (o1.onClick = () => Q(!E), o1.onKeyDown = (q) => {
1743
1743
  (q.key === "Enter" || q.key === " ") && (q.preventDefault(), Q(!E)), q.key === "Escape" && (E && q.preventDefault(), C1());
1744
1744
  }), Z.includes("hover") && (o1.onMouseEnter = () => {
1745
- b.current && (clearTimeout(b.current), b.current = null), v.current = setTimeout(() => Q(!0), i);
1745
+ b.current && (clearTimeout(b.current), b.current = null), v.current = setTimeout(() => Q(!0), s);
1746
1746
  }, o1.onMouseLeave = () => {
1747
- v.current && (clearTimeout(v.current), v.current = null), b.current = setTimeout(() => Q(!1), s);
1747
+ v.current && (clearTimeout(v.current), v.current = null), b.current = setTimeout(() => Q(!1), i);
1748
1748
  }), Z.includes("focus") && (o1.onFocus = () => Q(!0), o1.onBlur = (q) => {
1749
1749
  var y;
1750
1750
  (y = H.current) != null && y.contains(q.relatedTarget) || C1();
@@ -1778,7 +1778,7 @@ const El = ({
1778
1778
  b.current && (clearTimeout(b.current), b.current = null);
1779
1779
  } : void 0,
1780
1780
  onMouseLeave: Z.includes("hover") ? () => {
1781
- b.current = setTimeout(() => Q(!1), s);
1781
+ b.current = setTimeout(() => Q(!1), i);
1782
1782
  } : void 0,
1783
1783
  children: I
1784
1784
  }
@@ -1793,7 +1793,7 @@ function G0({
1793
1793
  checked: l,
1794
1794
  onClick: r
1795
1795
  }) {
1796
- const { label: a, iconLeft: i, iconRight: s, disabled: o = !1 } = t;
1796
+ const { label: a, iconLeft: s, iconRight: i, disabled: o = !1 } = t;
1797
1797
  return /* @__PURE__ */ d(
1798
1798
  "li",
1799
1799
  {
@@ -1815,10 +1815,10 @@ function G0({
1815
1815
  children: [
1816
1816
  l !== void 0 && /* @__PURE__ */ e("span", { className: "kdls-bottomsheet__item-checkbox", children: /* @__PURE__ */ e(Me, { checked: l, onChange: () => {
1817
1817
  }, disabled: o }) }),
1818
- i && /* @__PURE__ */ e("span", { className: "kdls-bottomsheet__item-icon-left", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: i }) }),
1818
+ s && /* @__PURE__ */ e("span", { className: "kdls-bottomsheet__item-icon-left", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: s }) }),
1819
1819
  /* @__PURE__ */ e("span", { className: "kdls-bottomsheet__item-label", children: a }),
1820
- s && /* @__PURE__ */ e("span", { className: "kdls-bottomsheet__item-icon-right", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: s }) }),
1821
- l === void 0 && n && !s && /* @__PURE__ */ e("span", { className: "kdls-bottomsheet__item-check", "aria-hidden": "true", children: /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ e("path", { d: "M3 8L6.5 11.5L13 5", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round" }) }) })
1820
+ i && /* @__PURE__ */ e("span", { className: "kdls-bottomsheet__item-icon-right", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: i }) }),
1821
+ l === void 0 && n && !i && /* @__PURE__ */ e("span", { className: "kdls-bottomsheet__item-check", "aria-hidden": "true", children: /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ e("path", { d: "M3 8L6.5 11.5L13 5", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round" }) }) })
1822
1822
  ]
1823
1823
  }
1824
1824
  );
@@ -1827,21 +1827,21 @@ function X0({ title: t, children: n }) {
1827
1827
  return /* @__PURE__ */ e("ul", { className: "kdls-bottomsheet__list", role: "listbox", tabIndex: -1, "aria-label": t, onKeyDown: (r) => {
1828
1828
  const a = Array.from(
1829
1829
  r.currentTarget.querySelectorAll('[role="option"]:not([aria-disabled="true"])')
1830
- ), i = a.findIndex((o) => o === document.activeElement), s = (o) => {
1830
+ ), s = a.findIndex((o) => o === document.activeElement), i = (o) => {
1831
1831
  o == null || o.focus({ preventScroll: !0 }), o == null || o.scrollIntoView({ block: "nearest" });
1832
1832
  };
1833
1833
  switch (r.key) {
1834
1834
  case "ArrowDown":
1835
- r.preventDefault(), s(a[i + 1] ?? a[0]);
1835
+ r.preventDefault(), i(a[s + 1] ?? a[0]);
1836
1836
  break;
1837
1837
  case "ArrowUp":
1838
- r.preventDefault(), s(a[i - 1] ?? a[a.length - 1]);
1838
+ r.preventDefault(), i(a[s - 1] ?? a[a.length - 1]);
1839
1839
  break;
1840
1840
  case "Home":
1841
- r.preventDefault(), s(a[0]);
1841
+ r.preventDefault(), i(a[0]);
1842
1842
  break;
1843
1843
  case "End":
1844
- r.preventDefault(), s(a[a.length - 1]);
1844
+ r.preventDefault(), i(a[a.length - 1]);
1845
1845
  break;
1846
1846
  }
1847
1847
  }, children: n });
@@ -1852,8 +1852,8 @@ const J0 = ({
1852
1852
  title: l,
1853
1853
  search: r,
1854
1854
  searchable: a = !1,
1855
- searchPlaceholder: i = "Digite para buscar...",
1856
- onSearch: s,
1855
+ searchPlaceholder: s = "Digite para buscar...",
1856
+ onSearch: i,
1857
1857
  children: o,
1858
1858
  options: c,
1859
1859
  multiple: C = !1,
@@ -1918,10 +1918,10 @@ const J0 = ({
1918
1918
  "input",
1919
1919
  {
1920
1920
  className: "kdls-bottomsheet__searchable-input",
1921
- placeholder: i,
1921
+ placeholder: s,
1922
1922
  value: B,
1923
1923
  onChange: (R) => {
1924
- j(R.target.value), s == null || s(R.target.value);
1924
+ j(R.target.value), i == null || i(R.target.value);
1925
1925
  }
1926
1926
  }
1927
1927
  )
@@ -2032,8 +2032,8 @@ const J0 = ({
2032
2032
  shape: l = "circle",
2033
2033
  count: r,
2034
2034
  max: a = 99,
2035
- showPlus: i = !1,
2036
- showZero: s = !1,
2035
+ showPlus: s = !1,
2036
+ showZero: i = !1,
2037
2037
  className: o = ""
2038
2038
  }) => {
2039
2039
  if (t === 8)
@@ -2049,8 +2049,8 @@ const J0 = ({
2049
2049
  "aria-hidden": "true"
2050
2050
  }
2051
2051
  );
2052
- if (r === 0 && !s) return null;
2053
- const c = r !== void 0 ? r > a ? `+${a}` : i ? `+${r}` : String(r) : "";
2052
+ if (r === 0 && !i) return null;
2053
+ const c = r !== void 0 ? r > a ? `+${a}` : s ? `+${r}` : String(r) : "";
2054
2054
  return /* @__PURE__ */ e(
2055
2055
  "span",
2056
2056
  {
@@ -2065,7 +2065,7 @@ const J0 = ({
2065
2065
  children: c
2066
2066
  }
2067
2067
  );
2068
- }, se = { code: "br", ddi: "+55", name: "Brasil" };
2068
+ }, re = { code: "br", ddi: "+55", name: "Brasil" };
2069
2069
  let r2 = null, l5 = null;
2070
2070
  function Q0() {
2071
2071
  return r2 ? Promise.resolve(r2) : (l5 ?? (l5 = import("libphonenumber-js").then((t) => (r2 = t, t))), l5);
@@ -2085,14 +2085,14 @@ function e3(t) {
2085
2085
  }
2086
2086
  let t2 = null;
2087
2087
  function t3(t) {
2088
- if (!t) return [se];
2088
+ if (!t) return [re];
2089
2089
  if (t2) return t2;
2090
2090
  const n = typeof Intl < "u" && "DisplayNames" in Intl ? new Intl.DisplayNames(["pt-BR"], { type: "region" }) : null, l = t.getCountries().filter((r) => r !== "BR").map((r) => ({
2091
2091
  code: r.toLowerCase(),
2092
2092
  ddi: `+${t.getCountryCallingCode(r)}`,
2093
2093
  name: (n == null ? void 0 : n.of(r)) ?? r
2094
2094
  })).sort((r, a) => r.name.localeCompare(a.name, "pt-BR"));
2095
- return t2 = [se, ...l], t2;
2095
+ return t2 = [re, ...l], t2;
2096
2096
  }
2097
2097
  const r5 = (t) => t.normalize("NFD").replace(new RegExp("\\p{M}", "gu"), "").toLowerCase().trim();
2098
2098
  function n3(t, n) {
@@ -2100,8 +2100,8 @@ function n3(t, n) {
2100
2100
  if (!l) return t;
2101
2101
  const r = l.replace(/^\+/, "");
2102
2102
  if (!/^\d+$/.test(r)) return t.filter((o) => r5(o.name).includes(l));
2103
- const a = (o) => o.ddi.slice(1), i = t.filter((o) => a(o).startsWith(r)), s = t.filter((o) => !a(o).startsWith(r) && a(o).includes(r));
2104
- return [...i, ...s];
2103
+ const a = (o) => o.ddi.slice(1), s = t.filter((o) => a(o).startsWith(r)), i = t.filter((o) => !a(o).startsWith(r) && a(o).includes(r));
2104
+ return [...s, ...i];
2105
2105
  }
2106
2106
  const h2 = (t) => t.code.toUpperCase();
2107
2107
  function l3(t) {
@@ -2110,7 +2110,7 @@ function l3(t) {
2110
2110
  }
2111
2111
  function r3(t, n, l) {
2112
2112
  let r = t.replace(/\D/g, "");
2113
- if (n.ddi === se.ddi) return r.slice(0, 11);
2113
+ if (n.ddi === re.ddi) return r.slice(0, 11);
2114
2114
  if (!l) return r.slice(0, 15);
2115
2115
  for (; r && l.validatePhoneNumberLength(r, h2(n)) === "TOO_LONG"; )
2116
2116
  r = r.slice(0, -1);
@@ -2118,19 +2118,19 @@ function r3(t, n, l) {
2118
2118
  }
2119
2119
  function s3(t, n, l) {
2120
2120
  const r = t.replace(/\D/g, "");
2121
- return n.ddi === se.ddi ? l3(r) : !l || !r ? r : new l.AsYouType(h2(n)).input(r);
2121
+ return n.ddi === re.ddi ? l3(r) : !l || !r ? r : new l.AsYouType(h2(n)).input(r);
2122
2122
  }
2123
2123
  const i3 = { tel: [10, 11], cel: [11] };
2124
2124
  function D2(t, n, l, r) {
2125
2125
  const a = t.replace(/\D/g, "");
2126
- return n.ddi === se.ddi ? i3[r].includes(a.length) : l ? l.isValidPhoneNumber(a, h2(n)) : a.length >= 7;
2126
+ return n.ddi === re.ddi ? i3[r].includes(a.length) : l ? l.isValidPhoneNumber(a, h2(n)) : a.length >= 7;
2127
2127
  }
2128
2128
  function s5(t, n, l, r) {
2129
- const a = t.replace(/\D/g, ""), i = !!a && D2(a, n, l, r);
2130
- if (!i) return { country: n, national: a, e164: null, valid: i };
2131
- if (n.ddi === se.ddi || !l) return { country: n, national: a, e164: `${n.ddi}${a}`, valid: i };
2132
- const s = l.parsePhoneNumberFromString(a, h2(n));
2133
- return { country: n, national: a, e164: (s == null ? void 0 : s.number) ?? `${n.ddi}${a}`, valid: i };
2129
+ const a = t.replace(/\D/g, ""), s = !!a && D2(a, n, l, r);
2130
+ if (!s) return { country: n, national: a, e164: null, valid: s };
2131
+ if (n.ddi === re.ddi || !l) return { country: n, national: a, e164: `${n.ddi}${a}`, valid: s };
2132
+ const i = l.parsePhoneNumberFromString(a, h2(n));
2133
+ return { country: n, national: a, e164: (i == null ? void 0 : i.number) ?? `${n.ddi}${a}`, valid: s };
2134
2134
  }
2135
2135
  function a3(t, n) {
2136
2136
  const l = new n.AsYouType();
@@ -2185,15 +2185,15 @@ function a5(t) {
2185
2185
  if (n.length !== 8) return !1;
2186
2186
  const l = parseInt(n.slice(0, 2), 10), r = parseInt(n.slice(2, 4), 10), a = parseInt(n.slice(4, 8), 10);
2187
2187
  if (isNaN(l) || isNaN(r) || isNaN(a) || r < 1 || r > 12 || l < 1 || a < 1e3 || a > 9999) return !1;
2188
- const i = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
2189
- return (a % 4 === 0 && a % 100 !== 0 || a % 400 === 0) && (i[2] = 29), !(l > i[r]);
2188
+ const s = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
2189
+ return (a % 4 === 0 && a % 100 !== 0 || a % 400 === 0) && (s[2] = 29), !(l > s[r]);
2190
2190
  }
2191
2191
  function o5(t) {
2192
2192
  const n = t.replace(/\D/g, "");
2193
2193
  if (n.length !== 11 || /^(\d)\1{10}$/.test(n)) return !1;
2194
2194
  const l = (r) => {
2195
- const i = 11 - Array.from({ length: r }, (s, o) => parseInt(n[o]) * (r + 1 - o)).reduce((s, o) => s + o, 0) % 11;
2196
- return i >= 10 ? 0 : i;
2195
+ const s = 11 - Array.from({ length: r }, (i, o) => parseInt(n[o]) * (r + 1 - o)).reduce((i, o) => i + o, 0) % 11;
2196
+ return s >= 10 ? 0 : s;
2197
2197
  };
2198
2198
  return l(9) === parseInt(n[9]) && l(10) === parseInt(n[10]);
2199
2199
  }
@@ -2201,8 +2201,8 @@ function c5(t) {
2201
2201
  const n = t.replace(/\D/g, "");
2202
2202
  if (n.length !== 14 || /^(\d)\1{13}$/.test(n)) return !1;
2203
2203
  const l = (r) => {
2204
- const i = r.reduce((s, o, c) => s + parseInt(n[c]) * o, 0) % 11;
2205
- return i < 2 ? 0 : 11 - i;
2204
+ const s = r.reduce((i, o, c) => i + parseInt(n[c]) * o, 0) % 11;
2205
+ return s < 2 ? 0 : 11 - s;
2206
2206
  };
2207
2207
  return l([5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2]) === parseInt(n[12]) && l([6, 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2]) === parseInt(n[13]);
2208
2208
  }
@@ -2212,8 +2212,8 @@ const pe = B1.forwardRef(({
2212
2212
  defaultValue: l,
2213
2213
  onChange: r,
2214
2214
  onKeyDown: a,
2215
- type: i = "text",
2216
- rows: s = 3,
2215
+ type: s = "text",
2216
+ rows: i = 3,
2217
2217
  feedback: o = "none",
2218
2218
  hint: c,
2219
2219
  iconLeft: C,
@@ -2254,11 +2254,11 @@ const pe = B1.forwardRef(({
2254
2254
  validateDocument: M = !0
2255
2255
  }, t1) => {
2256
2256
  var K2;
2257
- const R = ue(), G = H ?? R, h1 = `${G}-hint`, Y = (t == null ? void 0 : t.trim()) ?? (i === "email" ? "E-mail" : i === "password" ? "Senha" : i === "cpf" ? "CPF" : i === "cnpj" ? "CNPJ" : i === "cpf-cnpj" ? "CPF ou CNPJ" : i === "cep" ? "CEP" : i === "date" ? "Data" : i === "birthdate" ? "Data de nascimento" : i === "tel" ? "Telefone" : i === "cel" ? "Celular" : ""), d1 = $ ?? (i === "date" || i === "birthdate" ? "dd/mm/aaaa" : void 0), [l1, w1] = D(l ?? ""), [e1, g1] = D(!1), [p1, J1] = D(!1), [S1, W1] = D(""), [j1, $1] = D(null), [M1, Z1] = D(() => (K ?? se.code).toLowerCase());
2257
+ const R = ue(), G = H ?? R, h1 = `${G}-hint`, Y = (t == null ? void 0 : t.trim()) ?? (s === "email" ? "E-mail" : s === "password" ? "Senha" : s === "cpf" ? "CPF" : s === "cnpj" ? "CNPJ" : s === "cpf-cnpj" ? "CPF ou CNPJ" : s === "cep" ? "CEP" : s === "date" ? "Data" : s === "birthdate" ? "Data de nascimento" : s === "tel" ? "Telefone" : s === "cel" ? "Celular" : ""), d1 = $ ?? (s === "date" || s === "birthdate" ? "dd/mm/aaaa" : void 0), [l1, w1] = D(l ?? ""), [e1, g1] = D(!1), [p1, J1] = D(!1), [S1, W1] = D(""), [j1, $1] = D(null), [M1, Z1] = D(() => (K ?? re.code).toLowerCase());
2258
2258
  i1(() => {
2259
- Z1((K ?? se.code).toLowerCase());
2259
+ Z1((K ?? re.code).toLowerCase());
2260
2260
  }, [K]);
2261
- const E1 = e3(o1), R1 = Ve(() => t3(E1), [E1]), m1 = R1.find((T) => T.code === M1) ?? (E1 || M1 === se.code ? se : { code: M1, ddi: "", name: M1.toUpperCase() }), [D1, x1] = D(null), { validateOn: ke, submitted: ae } = pt(), s1 = Z ?? ke, [P1, T1] = D(void 0), [ne, I1] = D(!1), K1 = c1(null), we = c1(null), ye = `${G}-countries`, F1 = c1(null), Ze = c1(null), Ee = A1((T) => {
2261
+ const E1 = e3(o1), R1 = Ve(() => t3(E1), [E1]), m1 = R1.find((T) => T.code === M1) ?? (E1 || M1 === re.code ? re : { code: M1, ddi: "", name: M1.toUpperCase() }), [D1, x1] = D(null), { validateOn: ke, submitted: ae } = pt(), s1 = Z ?? ke, [P1, T1] = D(void 0), [te, I1] = D(!1), K1 = c1(null), we = c1(null), ye = `${G}-countries`, F1 = c1(null), Ze = c1(null), Ee = A1((T) => {
2262
2262
  F1.current = T, typeof t1 == "function" ? t1(T) : t1 && (t1.current = T);
2263
2263
  }, [t1]), q1 = n !== void 0, b1 = q1 ? n : l1, Ce = !!b1, Re = A1((T) => {
2264
2264
  var L1;
@@ -2269,26 +2269,26 @@ const pe = B1.forwardRef(({
2269
2269
  const Y1 = (L1 = Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value")) == null ? void 0 : L1.set;
2270
2270
  Y1 == null || Y1.call(F1.current, V1), F1.current.dispatchEvent(new Event("input", { bubbles: !0 }));
2271
2271
  }
2272
- }, [b1, L, h, _, q1, r]), _e = i === "tel" || i === "cel", Be = i === "cel" ? "cel" : "tel", he = (() => {
2272
+ }, [b1, L, h, _, q1, r]), _e = s === "tel" || s === "cel", Be = s === "cel" ? "cel" : "tel", he = (() => {
2273
2273
  const T = q1 ? n ?? "" : l1;
2274
- return _e && j1 !== null ? j1 : _e ? s3(T, m1, E1) : g2.includes(i) ? i5(T, i) : T;
2275
- })(), le = I != null && I.length ? R1.filter((T) => I.includes(T.code)) : A != null && A.length ? R1.filter((T) => !A.includes(T.code)) : R1, Q1 = n3(le, S1), x = !S1.trim() && ((K2 = Q1[0]) == null ? void 0 : K2.code) === se.code && Q1.length > 1, r1 = (T) => {
2274
+ return _e && j1 !== null ? j1 : _e ? s3(T, m1, E1) : g2.includes(s) ? i5(T, s) : T;
2275
+ })(), ne = I != null && I.length ? R1.filter((T) => I.includes(T.code)) : A != null && A.length ? R1.filter((T) => !A.includes(T.code)) : R1, Q1 = n3(ne, S1), x = !S1.trim() && ((K2 = Q1[0]) == null ? void 0 : K2.code) === re.code && Q1.length > 1, r1 = (T) => {
2276
2276
  var V1;
2277
2277
  let f1 = T.target.value;
2278
2278
  const v1 = (V1 = Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value")) == null ? void 0 : V1.set;
2279
2279
  if (_e) {
2280
2280
  let L1 = m1;
2281
2281
  if (o1 && f1.trim().startsWith("+")) {
2282
- const ce = E1 ? a3(f1, E1) : null, ge = ce && le.find((Qe) => Qe.code === ce.country);
2282
+ const ce = E1 ? a3(f1, E1) : null, ge = ce && ne.find((Qe) => Qe.code === ce.country);
2283
2283
  !ce || !ge ? ($1(o3(f1, E1)), f1 = "") : ($1(null), ge.code !== m1.code && (Z1(ge.code), q == null || q(ge)), L1 = ge, f1 = ce.national);
2284
2284
  } else j1 !== null && $1(null);
2285
2285
  const Y1 = r3(f1, L1, E1);
2286
2286
  v1 == null || v1.call(T.target, Y1), f1 = Y1, y == null || y(s5(Y1, L1, E1, Be));
2287
- } else if (g2.includes(i)) {
2288
- const L1 = i5(f1, i).replace(/\D/g, "");
2287
+ } else if (g2.includes(s)) {
2288
+ const L1 = i5(f1, s).replace(/\D/g, "");
2289
2289
  v1 == null || v1.call(T.target, L1), f1 = L1;
2290
2290
  }
2291
- q1 || w1(f1), D1 && x1(null), r == null || r(T), b != null && b.length && (s1 === "change" || ne) && U(f1);
2291
+ q1 || w1(f1), D1 && x1(null), r == null || r(T), b != null && b.length && (s1 === "change" || te) && U(f1);
2292
2292
  }, g = (T) => {
2293
2293
  var V1;
2294
2294
  a1 == null || a1(T);
@@ -2298,40 +2298,40 @@ const pe = B1.forwardRef(({
2298
2298
  L1 == null || L1.call(T.target, f1), T.target.dispatchEvent(new Event("input", { bubbles: !0 })), q1 || w1(f1), r == null || r({ ...T, target: { ...T.target, value: f1 } });
2299
2299
  }
2300
2300
  if (b != null && b.length && (I1(!0), s1 === "blur" && U(b1)), _e && j1 !== null && o === "none") {
2301
- x1(i === "cel" ? "Celular inválido" : "Telefone inválido");
2301
+ x1(s === "cel" ? "Celular inválido" : "Telefone inválido");
2302
2302
  return;
2303
2303
  }
2304
2304
  if (o !== "none" || !b1) return;
2305
- const v1 = c3[i];
2305
+ const v1 = c3[s];
2306
2306
  if (v1 && Y !== v1) {
2307
2307
  x1(null);
2308
2308
  return;
2309
2309
  }
2310
- if (i === "email" && !d3.test(b1)) {
2310
+ if (s === "email" && !d3.test(b1)) {
2311
2311
  x1("E-mail inválido");
2312
2312
  return;
2313
2313
  }
2314
- if (i === "tel" && !D2(b1, m1, E1, "tel")) {
2314
+ if (s === "tel" && !D2(b1, m1, E1, "tel")) {
2315
2315
  x1("Telefone inválido");
2316
2316
  return;
2317
2317
  }
2318
- if (i === "cel" && !D2(b1, m1, E1, "cel")) {
2318
+ if (s === "cel" && !D2(b1, m1, E1, "cel")) {
2319
2319
  x1("Celular inválido");
2320
2320
  return;
2321
2321
  }
2322
- if (i === "cep" && b1.replace(/\D/g, "").length !== 8) {
2322
+ if (s === "cep" && b1.replace(/\D/g, "").length !== 8) {
2323
2323
  x1("CEP inválido");
2324
2324
  return;
2325
2325
  }
2326
- if (i === "cpf" && (b1.replace(/\D/g, "").length !== 11 || M && !o5(b1))) {
2326
+ if (s === "cpf" && (b1.replace(/\D/g, "").length !== 11 || M && !o5(b1))) {
2327
2327
  x1("CPF inválido");
2328
2328
  return;
2329
2329
  }
2330
- if (i === "cnpj" && (b1.replace(/\D/g, "").length !== 14 || M && !c5(b1))) {
2330
+ if (s === "cnpj" && (b1.replace(/\D/g, "").length !== 14 || M && !c5(b1))) {
2331
2331
  x1("CNPJ inválido");
2332
2332
  return;
2333
2333
  }
2334
- if (i === "cpf-cnpj") {
2334
+ if (s === "cpf-cnpj") {
2335
2335
  const L1 = b1.replace(/\D/g, "");
2336
2336
  if (L1.length !== 11 && L1.length !== 14) {
2337
2337
  x1("CPF ou CNPJ inválido");
@@ -2348,11 +2348,11 @@ const pe = B1.forwardRef(({
2348
2348
  }
2349
2349
  }
2350
2350
  }
2351
- if (i === "date" && (b1.replace(/\D/g, "").length !== 8 || !a5(b1))) {
2351
+ if (s === "date" && (b1.replace(/\D/g, "").length !== 8 || !a5(b1))) {
2352
2352
  x1("Data inválida");
2353
2353
  return;
2354
2354
  }
2355
- if (i === "birthdate" && (b1.replace(/\D/g, "").length !== 8 || !a5(b1))) {
2355
+ if (s === "birthdate" && (b1.replace(/\D/g, "").length !== 8 || !a5(b1))) {
2356
2356
  x1("Data de nascimento inválida");
2357
2357
  return;
2358
2358
  }
@@ -2360,7 +2360,7 @@ const pe = B1.forwardRef(({
2360
2360
  };
2361
2361
  i1(() => {
2362
2362
  x1(null);
2363
- }, [i]);
2363
+ }, [s]);
2364
2364
  const U = A1((T) => {
2365
2365
  if (!(b != null && b.length)) return;
2366
2366
  const f1 = b.find((v1) => !v1.valid(T));
@@ -2368,7 +2368,7 @@ const pe = B1.forwardRef(({
2368
2368
  }, [b]);
2369
2369
  i1(() => {
2370
2370
  T1(void 0), I1(!1);
2371
- }, [i, b]), i1(() => {
2371
+ }, [s, b]), i1(() => {
2372
2372
  if (!ae || !(b != null && b.length)) return;
2373
2373
  I1(!0);
2374
2374
  const T = q1 ? n ?? "" : l1, f1 = b.find((v1) => !v1.valid(T));
@@ -2435,14 +2435,14 @@ const pe = B1.forwardRef(({
2435
2435
  };
2436
2436
  return document.addEventListener("mousedown", T), () => document.removeEventListener("mousedown", T);
2437
2437
  }, []);
2438
- const X1 = N !== void 0 && b1.length >= N, oe = X1 ? `Limite de ${N} caracteres atingido` : void 0, re = w ? "none" : X1 || P1 || D1 && o === "none" ? "error" : o, Le = oe ?? P1 ?? c ?? D1 ?? void 0, Xe = [
2438
+ const X1 = N !== void 0 && b1.length >= N, oe = X1 ? `Limite de ${N} caracteres atingido` : void 0, le = w ? "none" : X1 || P1 || D1 && o === "none" ? "error" : o, Le = oe ?? P1 ?? c ?? D1 ?? void 0, Xe = [
2439
2439
  "kdls-input",
2440
- `kdls-input--feedback-${re}`,
2440
+ `kdls-input--feedback-${le}`,
2441
2441
  Ce ? "kdls-input--filled" : "",
2442
2442
  w ? "kdls-input--disabled" : "",
2443
2443
  E && !w ? "kdls-input--loading" : "",
2444
2444
  o1 ? "kdls-input--phone" : "",
2445
- i === "textbox" ? "kdls-input--textbox" : "",
2445
+ s === "textbox" ? "kdls-input--textbox" : "",
2446
2446
  C1
2447
2447
  ].filter(Boolean).join(" "), Je = /* @__PURE__ */ d("div", { className: `kdls-input-wrapper${w ? " kdls-input-wrapper--disabled" : ""}`, children: [
2448
2448
  /* @__PURE__ */ d(
@@ -2450,7 +2450,7 @@ const pe = B1.forwardRef(({
2450
2450
  {
2451
2451
  className: Xe,
2452
2452
  "aria-busy": E || void 0,
2453
- style: i === "textbox" ? { "--kdls-textarea-min-height": `${s * 24 + 42}px` } : void 0,
2453
+ style: s === "textbox" ? { "--kdls-textarea-min-height": `${i * 24 + 42}px` } : void 0,
2454
2454
  children: [
2455
2455
  o1 && /* @__PURE__ */ d(
2456
2456
  "button",
@@ -2480,7 +2480,7 @@ const pe = B1.forwardRef(({
2480
2480
  ]
2481
2481
  }
2482
2482
  ),
2483
- !o1 && i !== "email" && C && /* @__PURE__ */ e("span", { className: "kdls-input__icon kdls-input__icon--left", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: C }) }),
2483
+ !o1 && s !== "email" && C && /* @__PURE__ */ e("span", { className: "kdls-input__icon kdls-input__icon--left", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: C }) }),
2484
2484
  /* @__PURE__ */ d("div", { className: "kdls-input__field", "data-label": Y, children: [
2485
2485
  /* @__PURE__ */ e(
2486
2486
  J,
@@ -2492,13 +2492,13 @@ const pe = B1.forwardRef(({
2492
2492
  children: Y
2493
2493
  }
2494
2494
  ),
2495
- i === "textbox" ? /* @__PURE__ */ e(
2495
+ s === "textbox" ? /* @__PURE__ */ e(
2496
2496
  "textarea",
2497
2497
  {
2498
2498
  ref: Ze,
2499
2499
  id: G,
2500
2500
  className: "kdls-input__native kdls-input__native--textarea kdls-scroll kdls-scroll--thin",
2501
- rows: s,
2501
+ rows: i,
2502
2502
  name: B,
2503
2503
  autoComplete: j,
2504
2504
  readOnly: P,
@@ -2514,7 +2514,7 @@ const pe = B1.forwardRef(({
2514
2514
  disabled: w,
2515
2515
  required: !w && W,
2516
2516
  "aria-required": !w && W ? !0 : void 0,
2517
- "aria-invalid": re === "error" ? "true" : void 0,
2517
+ "aria-invalid": le === "error" ? "true" : void 0,
2518
2518
  "aria-describedby": Le ? h1 : void 0,
2519
2519
  placeholder: d1,
2520
2520
  autoFocus: F
@@ -2525,7 +2525,7 @@ const pe = B1.forwardRef(({
2525
2525
  ref: Ee,
2526
2526
  id: G,
2527
2527
  className: "kdls-input__native",
2528
- type: i === "password" ? e1 ? "text" : "password" : g2.includes(i) ? "text" : i ?? "text",
2528
+ type: s === "password" ? e1 ? "text" : "password" : g2.includes(s) ? "text" : s ?? "text",
2529
2529
  name: B,
2530
2530
  autoComplete: j,
2531
2531
  readOnly: P || E,
@@ -2540,18 +2540,18 @@ const pe = B1.forwardRef(({
2540
2540
  onKeyDown: a,
2541
2541
  disabled: w,
2542
2542
  required: !w && W,
2543
- min: i === "number" ? h : void 0,
2544
- max: i === "number" ? _ : void 0,
2545
- step: i === "number" ? L : void 0,
2543
+ min: s === "number" ? h : void 0,
2544
+ max: s === "number" ? _ : void 0,
2545
+ step: s === "number" ? L : void 0,
2546
2546
  "aria-required": !w && W ? !0 : void 0,
2547
- "aria-invalid": re === "error" ? "true" : void 0,
2547
+ "aria-invalid": le === "error" ? "true" : void 0,
2548
2548
  "aria-describedby": Le ? h1 : void 0,
2549
2549
  placeholder: d1,
2550
2550
  autoFocus: F
2551
2551
  }
2552
2552
  )
2553
2553
  ] }),
2554
- i === "password" && /* @__PURE__ */ e(
2554
+ s === "password" && /* @__PURE__ */ e(
2555
2555
  "button",
2556
2556
  {
2557
2557
  type: "button",
@@ -2575,7 +2575,7 @@ const pe = B1.forwardRef(({
2575
2575
  )
2576
2576
  }
2577
2577
  ),
2578
- i === "number" && p && /* @__PURE__ */ d("div", { className: "kdls-input__spinner", "aria-hidden": "true", children: [
2578
+ s === "number" && p && /* @__PURE__ */ d("div", { className: "kdls-input__spinner", "aria-hidden": "true", children: [
2579
2579
  /* @__PURE__ */ e(
2580
2580
  "button",
2581
2581
  {
@@ -2621,7 +2621,7 @@ const pe = B1.forwardRef(({
2621
2621
  }
2622
2622
  ),
2623
2623
  (Le || V && N !== void 0) && /* @__PURE__ */ d("div", { className: "kdls-input__hint-row", children: [
2624
- Le && /* @__PURE__ */ e("span", { id: h1, className: ["kdls-input__hint", `kdls-input__hint--${re}`, w ? "kdls-input__hint--disabled" : ""].filter(Boolean).join(" "), children: Le }),
2624
+ Le && /* @__PURE__ */ e("span", { id: h1, className: ["kdls-input__hint", `kdls-input__hint--${le}`, w ? "kdls-input__hint--disabled" : ""].filter(Boolean).join(" "), children: Le }),
2625
2625
  V && N !== void 0 && /* @__PURE__ */ d("span", { className: "kdls-input__count", children: [
2626
2626
  b1.length,
2627
2627
  " / ",
@@ -2709,29 +2709,29 @@ const pe = B1.forwardRef(({
2709
2709
  pe.displayName = "Input";
2710
2710
  function u3(t, n, l) {
2711
2711
  t = t / 360, n = n / 100, l = l / 100;
2712
- let r = 0, a = 0, i = 0;
2713
- const s = Math.floor(t * 6), o = t * 6 - s, c = l * (1 - n), C = l * (1 - o * n), u = l * (1 - (1 - o) * n);
2714
- switch (s % 6) {
2712
+ let r = 0, a = 0, s = 0;
2713
+ const i = Math.floor(t * 6), o = t * 6 - i, c = l * (1 - n), C = l * (1 - o * n), u = l * (1 - (1 - o) * n);
2714
+ switch (i % 6) {
2715
2715
  case 0:
2716
- r = l, a = u, i = c;
2716
+ r = l, a = u, s = c;
2717
2717
  break;
2718
2718
  case 1:
2719
- r = C, a = l, i = c;
2719
+ r = C, a = l, s = c;
2720
2720
  break;
2721
2721
  case 2:
2722
- r = c, a = l, i = u;
2722
+ r = c, a = l, s = u;
2723
2723
  break;
2724
2724
  case 3:
2725
- r = c, a = C, i = l;
2725
+ r = c, a = C, s = l;
2726
2726
  break;
2727
2727
  case 4:
2728
- r = u, a = c, i = l;
2728
+ r = u, a = c, s = l;
2729
2729
  break;
2730
2730
  case 5:
2731
- r = l, a = c, i = C;
2731
+ r = l, a = c, s = C;
2732
2732
  break;
2733
2733
  }
2734
- return [Math.round(r * 255), Math.round(a * 255), Math.round(i * 255)];
2734
+ return [Math.round(r * 255), Math.round(a * 255), Math.round(s * 255)];
2735
2735
  }
2736
2736
  function f3(t, n, l) {
2737
2737
  return "#" + [t, n, l].map((r) => r.toString(16).padStart(2, "0").toUpperCase()).join("");
@@ -2753,22 +2753,22 @@ function w2(t) {
2753
2753
  }
2754
2754
  function Ne(t, n, l) {
2755
2755
  t /= 255, n /= 255, l /= 255;
2756
- const r = Math.max(t, n, l), a = Math.min(t, n, l), i = r - a;
2757
- let s = 0;
2758
- const o = r === 0 ? 0 : i / r, c = r;
2756
+ const r = Math.max(t, n, l), a = Math.min(t, n, l), s = r - a;
2757
+ let i = 0;
2758
+ const o = r === 0 ? 0 : s / r, c = r;
2759
2759
  if (r !== a)
2760
2760
  switch (r) {
2761
2761
  case t:
2762
- s = ((n - l) / i + (n < l ? 6 : 0)) / 6;
2762
+ i = ((n - l) / s + (n < l ? 6 : 0)) / 6;
2763
2763
  break;
2764
2764
  case n:
2765
- s = ((l - t) / i + 2) / 6;
2765
+ i = ((l - t) / s + 2) / 6;
2766
2766
  break;
2767
2767
  case l:
2768
- s = ((t - n) / i + 4) / 6;
2768
+ i = ((t - n) / s + 4) / 6;
2769
2769
  break;
2770
2770
  }
2771
- return [Math.round(s * 360), Math.round(o * 100), Math.round(c * 100)];
2771
+ return [Math.round(i * 360), Math.round(o * 100), Math.round(c * 100)];
2772
2772
  }
2773
2773
  const Rl = ({
2774
2774
  label: t,
@@ -2776,12 +2776,12 @@ const Rl = ({
2776
2776
  value: l,
2777
2777
  onChange: r,
2778
2778
  zIndex: a,
2779
- disableAlpha: i = !1,
2780
- disabled: s = !1,
2779
+ disableAlpha: s = !1,
2780
+ disabled: i = !1,
2781
2781
  className: o = ""
2782
2782
  }) => {
2783
2783
  const [c, C] = D(!1), u = n2(l ?? "") ?? [41, 142, 230], m = Ne(...u), k = b2(l ?? "") ?? 100, [f, p] = D(m[0]), [h, _] = D(m[1]), [L, N] = D(m[2]), [V, w] = D(k), [E, W] = D(
2784
- (l ?? "").replace("#", "").slice(0, 6).toUpperCase() + (i ? "" : w2(k))
2784
+ (l ?? "").replace("#", "").slice(0, 6).toUpperCase() + (s ? "" : w2(k))
2785
2785
  ), $ = c1(null), F = c1(null), H = c1(null), [B, j, P] = u3(f, h, L), S = f3(B, j, P), z = c1(l);
2786
2786
  i1(() => {
2787
2787
  if (l === z.current) return;
@@ -2792,8 +2792,8 @@ const Rl = ({
2792
2792
  w(A);
2793
2793
  }, [l]), i1(() => {
2794
2794
  const K = S.replace("#", "");
2795
- W(i ? K : K + w2(V));
2796
- }, [S, V, i]);
2795
+ W(s ? K : K + w2(V));
2796
+ }, [S, V, s]);
2797
2797
  const O = A1((K) => {
2798
2798
  const I = $.current;
2799
2799
  if (!I) return;
@@ -2822,12 +2822,12 @@ const Rl = ({
2822
2822
  const A = Ne(...I);
2823
2823
  p(A[0]), _(A[1]), N(A[2]);
2824
2824
  }
2825
- if (!i) {
2825
+ if (!s) {
2826
2826
  const A = b2(K);
2827
2827
  A !== null && w(A);
2828
2828
  }
2829
2829
  }, Q = () => {
2830
- r == null || r(i ? S : S + w2(V)), C(!1);
2830
+ r == null || r(s ? S : S + w2(V)), C(!1);
2831
2831
  }, C1 = async () => {
2832
2832
  if (!("EyeDropper" in window)) return;
2833
2833
  const K = new window.EyeDropper();
@@ -2842,10 +2842,10 @@ const Rl = ({
2842
2842
  }, o1 = /* @__PURE__ */ d(
2843
2843
  "div",
2844
2844
  {
2845
- className: ["kdls-colorpicker__trigger", c ? "kdls-colorpicker__trigger--open" : "", s ? "kdls-colorpicker__trigger--disabled" : ""].filter(Boolean).join(" "),
2845
+ className: ["kdls-colorpicker__trigger", c ? "kdls-colorpicker__trigger--open" : "", i ? "kdls-colorpicker__trigger--disabled" : ""].filter(Boolean).join(" "),
2846
2846
  role: "button",
2847
- tabIndex: s ? -1 : 0,
2848
- "aria-disabled": s,
2847
+ tabIndex: i ? -1 : 0,
2848
+ "aria-disabled": i,
2849
2849
  children: [
2850
2850
  /* @__PURE__ */ e("span", { className: "kdls-colorpicker__swatch", style: { background: S }, "aria-hidden": "true" }),
2851
2851
  /* @__PURE__ */ d("div", { className: "kdls-colorpicker__field", children: [
@@ -2862,7 +2862,7 @@ const Rl = ({
2862
2862
  We,
2863
2863
  {
2864
2864
  open: c,
2865
- onOpenChange: s ? void 0 : C,
2865
+ onOpenChange: i ? void 0 : C,
2866
2866
  placement: "bottomLeft",
2867
2867
  zIndex: a,
2868
2868
  content: (
@@ -2905,7 +2905,7 @@ const Rl = ({
2905
2905
  children: /* @__PURE__ */ e("div", { className: "kdls-colorpicker__slider-thumb", style: { left: `${f / 360 * 100}%` } })
2906
2906
  }
2907
2907
  ),
2908
- !i && /* @__PURE__ */ e(
2908
+ !s && /* @__PURE__ */ e(
2909
2909
  "div",
2910
2910
  {
2911
2911
  ref: H,
@@ -2917,7 +2917,7 @@ const Rl = ({
2917
2917
  )
2918
2918
  ] })
2919
2919
  ] }),
2920
- /* @__PURE__ */ d("div", { className: `kdls-colorpicker__input-group${i ? "" : " kdls-colorpicker__input-group--rgba"}`, children: [
2920
+ /* @__PURE__ */ d("div", { className: `kdls-colorpicker__input-group${s ? "" : " kdls-colorpicker__input-group--rgba"}`, children: [
2921
2921
  /* @__PURE__ */ e(pe, { label: "R", value: String(B), onChange: (K) => {
2922
2922
  const I = Math.max(0, Math.min(255, Number(K.target.value) || 0)), A = Ne(I, j, P);
2923
2923
  p(A[0]), _(A[1]), N(A[2]);
@@ -2930,7 +2930,7 @@ const Rl = ({
2930
2930
  const I = Math.max(0, Math.min(255, Number(K.target.value) || 0)), A = Ne(B, j, I);
2931
2931
  p(A[0]), _(A[1]), N(A[2]);
2932
2932
  } }),
2933
- !i && /* @__PURE__ */ e(pe, { label: "A", value: String(Math.round(V / 100 * 255)), onChange: (K) => {
2933
+ !s && /* @__PURE__ */ e(pe, { label: "A", value: String(Math.round(V / 100 * 255)), onChange: (K) => {
2934
2934
  const I = Math.max(0, Math.min(255, Number(K.target.value) || 0));
2935
2935
  w(Math.round(I / 255 * 100));
2936
2936
  } })
@@ -2964,8 +2964,8 @@ const Rl = ({
2964
2964
  onClick: l,
2965
2965
  iconLeft: r,
2966
2966
  iconRight: a,
2967
- width: i = "hug",
2968
- onClickIconRight: s,
2967
+ width: s = "hug",
2968
+ onClickIconRight: i,
2969
2969
  iconRightLabel: o = "Limpar",
2970
2970
  showNotification: c = !1,
2971
2971
  notificationCount: C,
@@ -2989,7 +2989,7 @@ const Rl = ({
2989
2989
  n ? "kdls-pill--on" : "kdls-pill--off",
2990
2990
  m ? "kdls-pill--disabled" : "",
2991
2991
  u && !m ? "kdls-pill--loading" : "",
2992
- i !== "hug" ? `kdls-pill--${i}` : "",
2992
+ s !== "hug" ? `kdls-pill--${s}` : "",
2993
2993
  f
2994
2994
  ].filter(Boolean).join(" "),
2995
2995
  children: [
@@ -2999,16 +2999,16 @@ const Rl = ({
2999
2999
  u && !m ? /* @__PURE__ */ e("span", { className: "kdls-pill__icon-right", "aria-hidden": "true", children: /* @__PURE__ */ e(Ie, { size: "sm" }) }) : /* @__PURE__ */ e(N1, { children: a && /* @__PURE__ */ e(
3000
3000
  "span",
3001
3001
  {
3002
- className: ["kdls-pill__icon-right", s ? "kdls-pill__icon-right--clickable" : ""].filter(Boolean).join(" "),
3003
- "aria-hidden": !s,
3004
- role: s ? "button" : void 0,
3005
- tabIndex: s ? 0 : void 0,
3006
- "aria-label": s ? o : void 0,
3007
- onClick: s ? (h) => {
3008
- h.stopPropagation(), s();
3002
+ className: ["kdls-pill__icon-right", i ? "kdls-pill__icon-right--clickable" : ""].filter(Boolean).join(" "),
3003
+ "aria-hidden": !i,
3004
+ role: i ? "button" : void 0,
3005
+ tabIndex: i ? 0 : void 0,
3006
+ "aria-label": i ? o : void 0,
3007
+ onClick: i ? (h) => {
3008
+ h.stopPropagation(), i();
3009
3009
  } : void 0,
3010
- onKeyDown: s ? (h) => {
3011
- (h.key === "Enter" || h.key === " ") && (h.preventDefault(), h.stopPropagation(), s());
3010
+ onKeyDown: i ? (h) => {
3011
+ (h.key === "Enter" || h.key === " ") && (h.preventDefault(), h.stopPropagation(), i());
3012
3012
  } : void 0,
3013
3013
  children: /* @__PURE__ */ e(n1, { icon: a })
3014
3014
  }
@@ -3034,8 +3034,8 @@ const Rl = ({
3034
3034
  width: l = "hug",
3035
3035
  value: r,
3036
3036
  onChange: a,
3037
- minDate: i,
3038
- maxDate: s,
3037
+ minDate: s,
3038
+ maxDate: i,
3039
3039
  filterDate: o,
3040
3040
  excludeDates: c,
3041
3041
  includeDates: C,
@@ -3073,7 +3073,7 @@ const Rl = ({
3073
3073
  return x ? `${I(v.getDate())} ${s2[v.getMonth()]} — ${I(b.getDate())} ${s2[b.getMonth()]} ${b.getFullYear()}` : `${Ae(v)} — ${Ae(b)}`;
3074
3074
  }
3075
3075
  return Z ? O ? A(Z) : z ? `${Ae(Z)} — ${A(Z)}` : Ae(Z) : "";
3076
- })(), y = _ ? "Período" : "Data", M = !!q, t1 = O ? /* @__PURE__ */ e(k0, {}) : /* @__PURE__ */ e(o0, {}), R = _ ? v ? b ? `${v.toISOString()}/${b.toISOString()}` : v.toISOString() : "" : Z ? Z.toISOString() : "", G = new Date(Q.getFullYear(), Q.getMonth(), Q.getDate()), h1 = i && w ? i.getTime() > G.getTime() ? i : G : i ?? (w ? G : void 0), Y = s && E ? s.getTime() < G.getTime() ? s : G : s ?? (E ? G : void 0), d1 = (x, r1) => x.getFullYear() === r1.getFullYear() && x.getMonth() === r1.getMonth() && x.getDate() === r1.getDate(), l1 = (x) => {
3076
+ })(), y = _ ? "Período" : "Data", M = !!q, t1 = O ? /* @__PURE__ */ e(k0, {}) : /* @__PURE__ */ e(o0, {}), R = _ ? v ? b ? `${v.toISOString()}/${b.toISOString()}` : v.toISOString() : "" : Z ? Z.toISOString() : "", G = new Date(Q.getFullYear(), Q.getMonth(), Q.getDate()), h1 = s && w ? s.getTime() > G.getTime() ? s : G : s ?? (w ? G : void 0), Y = i && E ? i.getTime() < G.getTime() ? i : G : i ?? (E ? G : void 0), d1 = (x, r1) => x.getFullYear() === r1.getFullYear() && x.getMonth() === r1.getMonth() && x.getDate() === r1.getDate(), l1 = (x) => {
3077
3077
  const r1 = new Date(x.getFullYear(), x.getMonth(), x.getDate()).getTime(), g = h1 ? new Date(h1.getFullYear(), h1.getMonth(), h1.getDate()).getTime() : void 0, U = Y ? new Date(Y.getFullYear(), Y.getMonth(), Y.getDate()).getTime() : void 0;
3078
3078
  return !!(g !== void 0 && r1 < g || U !== void 0 && r1 > U || o && !o(x) || V && d1(x, Q) || c && c.some((X) => d1(X, x)) || C && C.length > 0 && !C.some((X) => d1(X, x)));
3079
3079
  }, [w1, e1] = D(null), g1 = !w1 && (z || O) && Z ? Z.getHours() : null, p1 = !w1 && (z || O) && Z ? Z.getMinutes() : null, J1 = [];
@@ -3116,8 +3116,8 @@ const Rl = ({
3116
3116
  s1.push({ date: new Date(m1, D1 + 1, s1.length - ke - x1 + 1), current: !1 });
3117
3117
  const P1 = [];
3118
3118
  for (let x = 0; x < s1.length; x += 7) P1.push(s1.slice(x, x + 7));
3119
- const T1 = Math.floor(m1 / 16) * 16, ne = [];
3120
- for (let x = T1; x < T1 + 16; x++) ne.push(x);
3119
+ const T1 = Math.floor(m1 / 16) * 16, te = [];
3120
+ for (let x = T1; x < T1 + 16; x++) te.push(x);
3121
3121
  const I1 = (x, r1) => x.getFullYear() === r1.getFullYear() && x.getMonth() === r1.getMonth() && x.getDate() === r1.getDate(), K1 = (x, r1, g) => {
3122
3122
  const U = x.getTime(), [X, y1] = r1.getTime() < g.getTime() ? [r1.getTime(), g.getTime()] : [g.getTime(), r1.getTime()];
3123
3123
  return U > X && U < y1;
@@ -3168,7 +3168,7 @@ const Rl = ({
3168
3168
  },
3169
3169
  r1
3170
3170
  );
3171
- }) }), le = O ? /* @__PURE__ */ d("div", { className: ["kdls-datepicker kdls-datepicker--only-time", W && "kdls-datepicker--disabled"].filter(Boolean).join(" "), onKeyDown: Ce, children: [
3171
+ }) }), ne = O ? /* @__PURE__ */ d("div", { className: ["kdls-datepicker kdls-datepicker--only-time", W && "kdls-datepicker--disabled"].filter(Boolean).join(" "), onKeyDown: Ce, children: [
3172
3172
  /* @__PURE__ */ e("div", { className: "kdls-datepicker__time-panel", children: he() }),
3173
3173
  /* @__PURE__ */ e("div", { className: "kdls-datepicker__footer", children: /* @__PURE__ */ e(_1, { type: "button", variant: "link", label: "Limpar", onClick: b1 }) })
3174
3174
  ] }) : /* @__PURE__ */ d("div", { className: [
@@ -3200,12 +3200,12 @@ const Rl = ({
3200
3200
  M1 === "calendar" ? /* @__PURE__ */ d(N1, { children: [
3201
3201
  /* @__PURE__ */ e("div", { className: "kdls-datepicker__weekdays", children: h3.map((x, r1) => /* @__PURE__ */ e("span", { children: x }, r1)) }),
3202
3202
  /* @__PURE__ */ e("div", { className: "kdls-datepicker__grid", children: P1.map((x, r1) => /* @__PURE__ */ e("div", { className: "kdls-datepicker__week-row", children: x.map(({ date: g, current: U }, X) => {
3203
- const y1 = w1 ?? Z, H1 = !_ && !!y1 && I1(g, y1), X1 = _ && !!v && I1(g, v), oe = _ && !!b && I1(g, b), re = _ && !!v && !!b && K1(g, v, b), Le = I1(g, Q), Xe = H1 || X1 || oe, Je = l1(g);
3203
+ const y1 = w1 ?? Z, H1 = !_ && !!y1 && I1(g, y1), X1 = _ && !!v && I1(g, v), oe = _ && !!b && I1(g, b), le = _ && !!v && !!b && K1(g, v, b), Le = I1(g, Q), Xe = H1 || X1 || oe, Je = l1(g);
3204
3204
  return /* @__PURE__ */ e("div", { className: [
3205
3205
  "kdls-datepicker__day-wrap",
3206
3206
  X1 && b ? "kdls-datepicker__day-wrap--range-start" : "",
3207
3207
  oe ? "kdls-datepicker__day-wrap--range-end" : "",
3208
- re ? "kdls-datepicker__day-wrap--in-range" : ""
3208
+ le ? "kdls-datepicker__day-wrap--in-range" : ""
3209
3209
  ].filter(Boolean).join(" "), children: /* @__PURE__ */ e(
3210
3210
  "button",
3211
3211
  {
@@ -3238,7 +3238,7 @@ const Rl = ({
3238
3238
  },
3239
3239
  r1
3240
3240
  );
3241
- }) }) : /* @__PURE__ */ e("div", { className: "kdls-datepicker__year-grid", children: ne.map((x) => {
3241
+ }) }) : /* @__PURE__ */ e("div", { className: "kdls-datepicker__year-grid", children: te.map((x) => {
3242
3242
  const r1 = _ ? v == null ? void 0 : v.getFullYear() : Z == null ? void 0 : Z.getFullYear(), g = x === Q.getFullYear(), U = r1 !== void 0 && x === r1;
3243
3243
  return /* @__PURE__ */ e(
3244
3244
  "button",
@@ -3283,7 +3283,7 @@ const Rl = ({
3283
3283
  placement: "bottomLeft",
3284
3284
  zIndex: h,
3285
3285
  baseZIndex: 200,
3286
- content: le,
3286
+ content: ne,
3287
3287
  children: n === "pill" ? /* @__PURE__ */ e(
3288
3288
  $e,
3289
3289
  {
@@ -3356,8 +3356,8 @@ const c2 = B1.forwardRef(({
3356
3356
  fieldNames: l,
3357
3357
  value: r,
3358
3358
  defaultValue: a,
3359
- onChange: i,
3360
- labelInValue: s = !1,
3359
+ onChange: s,
3360
+ labelInValue: i = !1,
3361
3361
  multiple: o = !1,
3362
3362
  searchable: c = !1,
3363
3363
  searchPlaceholder: C = "Digite para buscar...",
@@ -3389,11 +3389,11 @@ const c2 = B1.forwardRef(({
3389
3389
  }, Z) => {
3390
3390
  const Q = ue(), C1 = w ?? Q, o1 = j2(), [K, I] = D(!1), [A, q] = D(""), [y, M] = D([]), t1 = V !== void 0, R = t1 ? V : K, G = r !== void 0, [h1, Y] = D(a ?? (o ? [] : null)), d1 = G ? r : h1, l1 = (l == null ? void 0 : l.label) ?? "label", w1 = (l == null ? void 0 : l.value) ?? "value", e1 = (l == null ? void 0 : l.icon) ?? "icon", g1 = (g) => String(g[l1] ?? ""), p1 = (g) => String(g[w1] ?? ""), J1 = (g) => Array.isArray(g.options), S1 = n.flatMap(
3391
3391
  (g) => J1(g) ? g.options : [g]
3392
- ), W1 = (g) => c && k && A ? g.filter((U) => g1(U).toLowerCase().includes(A.toLowerCase())) : g, j1 = W1(S1), $1 = j1.length, M1 = o ? null : s ? (d1 == null ? void 0 : d1.value) ?? null : d1 ?? null, Z1 = o ? s ? (d1 ?? []).map((g) => g.value) : d1 ?? [] : [], E1 = M1 ? S1.find((g) => p1(g) === M1) : void 0, R1 = o ? Z1.length > 0 : !!M1, m1 = o && j1.length > 0 && j1.every((g) => y.includes(p1(g))), D1 = o && !m1 && j1.some((g) => y.includes(p1(g))), x1 = L && o && m === "header", ke = L && o && m === "footer", ae = o && !!u && S1.length > 0 && S1.every((g) => Z1.includes(p1(g))), s1 = o && Z1.length > 1 && !ae ? Z1.length - 1 : void 0;
3392
+ ), W1 = (g) => c && k && A ? g.filter((U) => g1(U).toLowerCase().includes(A.toLowerCase())) : g, j1 = W1(S1), $1 = j1.length, M1 = o ? null : i ? (d1 == null ? void 0 : d1.value) ?? null : d1 ?? null, Z1 = o ? i ? (d1 ?? []).map((g) => g.value) : d1 ?? [] : [], E1 = M1 ? S1.find((g) => p1(g) === M1) : void 0, R1 = o ? Z1.length > 0 : !!M1, m1 = o && j1.length > 0 && j1.every((g) => y.includes(p1(g))), D1 = o && !m1 && j1.some((g) => y.includes(p1(g))), x1 = L && o && m === "header", ke = L && o && m === "footer", ae = o && !!u && S1.length > 0 && S1.every((g) => Z1.includes(p1(g))), s1 = o && Z1.length > 1 && !ae ? Z1.length - 1 : void 0;
3393
3393
  i1(() => {
3394
3394
  R && o && M(Z1), R || q("");
3395
3395
  }, [R]);
3396
- const P1 = c1(null), T1 = (g) => [...g.querySelectorAll('.kdls-select__option:not([aria-disabled="true"])')], ne = c1(!1), I1 = (g) => {
3396
+ const P1 = c1(null), T1 = (g) => [...g.querySelectorAll('.kdls-select__option:not([aria-disabled="true"])')], te = c1(!1), I1 = (g) => {
3397
3397
  g.setAttribute("data-kdls-ring", ""), g.addEventListener("blur", () => g.removeAttribute("data-kdls-ring"), { once: !0 });
3398
3398
  }, K1 = (g) => {
3399
3399
  var U;
@@ -3407,8 +3407,8 @@ const c2 = B1.forwardRef(({
3407
3407
  if (g) return !0;
3408
3408
  const X1 = P1.current;
3409
3409
  if (!X1) return !1;
3410
- const oe = X1.querySelector(".kdls-select__search-input"), re = oe ?? X1.querySelector(".kdls-select__option--selected") ?? T1(X1)[0];
3411
- return !re || (re.focus({ preventScroll: !0 }), document.activeElement !== re) ? !1 : (!oe && ne.current && I1(re), g = !0, !0);
3410
+ const oe = X1.querySelector(".kdls-select__search-input"), le = oe ?? X1.querySelector(".kdls-select__option--selected") ?? T1(X1)[0];
3411
+ return !le || (le.focus({ preventScroll: !0 }), document.activeElement !== le) ? !1 : (!oe && te.current && I1(le), g = !0, !0);
3412
3412
  };
3413
3413
  if (U()) return;
3414
3414
  const X = (H1 = P1.current) == null ? void 0 : H1.closest(".kdls-floating__portal");
@@ -3464,9 +3464,9 @@ const c2 = B1.forwardRef(({
3464
3464
  y1 ? y.filter((H1) => H1 !== U) : [...y, U]
3465
3465
  );
3466
3466
  } else
3467
- s ? i == null || i({ label: X, value: U }) : i == null || i(U), G || Y(s ? { label: X, value: U } : U), t1 || I(!1);
3467
+ i ? s == null || s({ label: X, value: U }) : s == null || s(U), G || Y(i ? { label: X, value: U } : U), t1 || I(!1);
3468
3468
  }, F1 = () => {
3469
- o ? (M([]), i == null || i([]), G || Y([])) : (i == null || i(null), G || Y(null)), t1 || I(!1);
3469
+ o ? (M([]), s == null || s([]), G || Y([])) : (s == null || s(null), G || Y(null)), t1 || I(!1);
3470
3470
  }, Ze = () => {
3471
3471
  const g = j1.map((U) => p1(U));
3472
3472
  M((U) => Array.from(/* @__PURE__ */ new Set([...U, ...g])));
@@ -3475,11 +3475,11 @@ const c2 = B1.forwardRef(({
3475
3475
  M((U) => U.filter((X) => !g.has(X)));
3476
3476
  }, q1 = () => {
3477
3477
  const g = S1.filter((U) => y.includes(p1(U)));
3478
- if (s) {
3478
+ if (i) {
3479
3479
  const U = g.map((X) => ({ label: g1(X), value: p1(X) }));
3480
- i == null || i(U), G || Y(U);
3480
+ s == null || s(U), G || Y(U);
3481
3481
  } else
3482
- i == null || i(y), G || Y([...y]);
3482
+ s == null || s(y), G || Y([...y]);
3483
3483
  t1 || I(!1);
3484
3484
  }, b1 = S1.map((g) => ({
3485
3485
  value: p1(g),
@@ -3494,24 +3494,24 @@ const c2 = B1.forwardRef(({
3494
3494
  }, Be = (g) => {
3495
3495
  if (o) {
3496
3496
  const X = g ?? [];
3497
- if (s) {
3497
+ if (i) {
3498
3498
  const y1 = S1.filter((H1) => X.includes(p1(H1))).map((H1) => ({ label: g1(H1), value: p1(H1) }));
3499
- i == null || i(y1), G || Y(y1);
3499
+ s == null || s(y1), G || Y(y1);
3500
3500
  } else
3501
- i == null || i(X), G || Y(X);
3501
+ s == null || s(X), G || Y(X);
3502
3502
  return;
3503
3503
  }
3504
3504
  const U = g;
3505
3505
  if (U === null) {
3506
- i == null || i(null), G || Y(null);
3506
+ s == null || s(null), G || Y(null);
3507
3507
  return;
3508
3508
  }
3509
- if (s) {
3509
+ if (i) {
3510
3510
  const X = S1.find((H1) => p1(H1) === U), y1 = { label: X ? g1(X) : "", value: U };
3511
- i == null || i(y1), G || Y(y1);
3511
+ s == null || s(y1), G || Y(y1);
3512
3512
  } else
3513
- i == null || i(U), G || Y(U);
3514
- }, he = o && Z1.length > 0 ? S1.find((g) => p1(g) === Z1[0]) : void 0, le = ae ? u : o ? Z1.length === 0 ? t ?? "" : he ? g1(he) : t ?? "" : E1 ? g1(E1) : t ?? "", Q1 = ae ? u : o ? he ? g1(he) : "" : E1 ? g1(E1) : "", x = (g) => {
3513
+ s == null || s(U), G || Y(U);
3514
+ }, he = o && Z1.length > 0 ? S1.find((g) => p1(g) === Z1[0]) : void 0, ne = ae ? u : o ? Z1.length === 0 ? t ?? "" : he ? g1(he) : t ?? "" : E1 ? g1(E1) : t ?? "", Q1 = ae ? u : o ? he ? g1(he) : "" : E1 ? g1(E1) : "", x = (g) => {
3515
3515
  const U = p1(g), X = g[e1], y1 = o ? y.includes(U) : U === M1;
3516
3516
  return /* @__PURE__ */ d(
3517
3517
  "li",
@@ -3617,10 +3617,10 @@ const c2 = B1.forwardRef(({
3617
3617
  a1
3618
3618
  ].filter(Boolean).join(" "),
3619
3619
  onKeyDownCapture: () => {
3620
- ne.current = !0;
3620
+ te.current = !0;
3621
3621
  },
3622
3622
  onPointerDownCapture: () => {
3623
- ne.current = !1;
3623
+ te.current = !1;
3624
3624
  },
3625
3625
  children: [
3626
3626
  S && (o ? Z1.map((g, U) => /* @__PURE__ */ e("input", { type: "hidden", name: S, value: g, onChange: () => {
@@ -3630,7 +3630,7 @@ const c2 = B1.forwardRef(({
3630
3630
  $ === "pill" && /* @__PURE__ */ e("div", { style: F !== void 0 ? { maxWidth: F } : void 0, children: /* @__PURE__ */ e(
3631
3631
  $e,
3632
3632
  {
3633
- label: le,
3633
+ label: ne,
3634
3634
  iconLeft: E,
3635
3635
  iconRight: R1 && v ? /* @__PURE__ */ e(z1, {}) : /* @__PURE__ */ e(U1, {}),
3636
3636
  onClickIconRight: R1 && v ? F1 : void 0,
@@ -3660,7 +3660,7 @@ const c2 = B1.forwardRef(({
3660
3660
  onClick: Ce,
3661
3661
  children: [
3662
3662
  E && /* @__PURE__ */ e(n1, { icon: E }),
3663
- le && /* @__PURE__ */ e("span", { className: "kdls-select__trigger-nav-label", children: le }),
3663
+ ne && /* @__PURE__ */ e("span", { className: "kdls-select__trigger-nav-label", children: ne }),
3664
3664
  /* @__PURE__ */ e("span", { className: "kdls-select__trigger-nav-chevron", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: /* @__PURE__ */ e(U1, {}), size: "sm" }) })
3665
3665
  ]
3666
3666
  }
@@ -3741,7 +3741,7 @@ const c2 = B1.forwardRef(({
3741
3741
  $ === "pill" && /* @__PURE__ */ e("div", { style: F !== void 0 ? { maxWidth: F } : void 0, children: /* @__PURE__ */ e(
3742
3742
  $e,
3743
3743
  {
3744
- label: le,
3744
+ label: ne,
3745
3745
  iconLeft: E,
3746
3746
  iconRight: R1 && v ? /* @__PURE__ */ e(z1, {}) : /* @__PURE__ */ e(U1, {}),
3747
3747
  onClickIconRight: R1 && v ? F1 : void 0,
@@ -3769,7 +3769,7 @@ const c2 = B1.forwardRef(({
3769
3769
  ].filter(Boolean).join(" "),
3770
3770
  children: [
3771
3771
  E && /* @__PURE__ */ e(n1, { icon: E }),
3772
- le && /* @__PURE__ */ e("span", { className: "kdls-select__trigger-nav-label", children: le }),
3772
+ ne && /* @__PURE__ */ e("span", { className: "kdls-select__trigger-nav-label", children: ne }),
3773
3773
  /* @__PURE__ */ e("span", { className: "kdls-select__trigger-nav-chevron", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: /* @__PURE__ */ e(U1, {}), size: "sm" }) })
3774
3774
  ]
3775
3775
  }
@@ -3857,9 +3857,9 @@ function K5(t, n, l) {
3857
3857
  if (!t) return;
3858
3858
  const r = n.current;
3859
3859
  if (!r) return;
3860
- const a = document.activeElement instanceof HTMLElement ? document.activeElement : null, i = r.querySelector(l);
3861
- !Fe(y2(i ?? r)) && !Fe(y2(r)) && r.focus({ preventScroll: !0 });
3862
- const s = (o) => {
3860
+ const a = document.activeElement instanceof HTMLElement ? document.activeElement : null, s = r.querySelector(l);
3861
+ !Fe(y2(s ?? r)) && !Fe(y2(r)) && r.focus({ preventScroll: !0 });
3862
+ const i = (o) => {
3863
3863
  if (o.key !== "Tab") return;
3864
3864
  const c = o.target instanceof HTMLElement ? o.target : null, C = c !== null && r.contains(c);
3865
3865
  if (!C && !(c != null && c.closest(k3))) return;
@@ -3871,8 +3871,8 @@ function K5(t, n, l) {
3871
3871
  const m = C && c ? u.indexOf(c) : -1;
3872
3872
  C ? o.shiftKey ? m <= 0 && (o.preventDefault(), Fe([...u].reverse())) : (m === -1 || m === u.length - 1) && (o.preventDefault(), Fe(u)) : (o.preventDefault(), Fe(u));
3873
3873
  };
3874
- return document.addEventListener("keydown", s, !0), () => {
3875
- document.removeEventListener("keydown", s, !0), a != null && a.isConnected && a.focus({ preventScroll: !0 });
3874
+ return document.addEventListener("keydown", i, !0), () => {
3875
+ document.removeEventListener("keydown", i, !0), a != null && a.isConnected && a.focus({ preventScroll: !0 });
3876
3876
  };
3877
3877
  }, [t]);
3878
3878
  }
@@ -3882,8 +3882,8 @@ const ze = ({
3882
3882
  title: l,
3883
3883
  titleTooltip: r,
3884
3884
  titleTooltipPosition: a = "top",
3885
- children: i,
3886
- footer: s,
3885
+ children: s,
3886
+ footer: i,
3887
3887
  tertiaryLabel: o,
3888
3888
  onTertiary: c,
3889
3889
  tertiaryLoading: C = !1,
@@ -3925,7 +3925,7 @@ const ze = ({
3925
3925
  };
3926
3926
  return document.addEventListener("keydown", l1), () => document.removeEventListener("keydown", l1);
3927
3927
  }, [t, n, P]), !t) return null;
3928
- const t1 = s !== void 0 || o || f || V, R = (l1) => {
3928
+ const t1 = i !== void 0 || o || f || V, R = (l1) => {
3929
3929
  l1.target === b.current && !B && M();
3930
3930
  }, G = async () => {
3931
3931
  const l1 = w == null ? void 0 : w();
@@ -3990,8 +3990,8 @@ const ze = ({
3990
3990
  }
3991
3991
  ) })
3992
3992
  ] }),
3993
- i && /* @__PURE__ */ e("div", { className: "kdls-modal__body kdls-scroll kdls-scroll--thin", children: i }),
3994
- t1 && /* @__PURE__ */ e("div", { className: "kdls-modal__footer", children: s ?? /* @__PURE__ */ d(N1, { children: [
3993
+ s && /* @__PURE__ */ e("div", { className: "kdls-modal__body kdls-scroll kdls-scroll--thin", children: s }),
3994
+ t1 && /* @__PURE__ */ e("div", { className: "kdls-modal__footer", children: i ?? /* @__PURE__ */ d(N1, { children: [
3995
3995
  o && /* @__PURE__ */ e(_1, { variant: "link", size: "md", label: o, onClick: Y, isLoading: q || C, disabled: u, disabledTooltip: m, disabledTooltipPosition: k }),
3996
3996
  f && /* @__PURE__ */ e(_1, { variant: "ghost", size: "md", label: f, onClick: h1, isLoading: I || h, disabled: _, disabledTooltip: L, disabledTooltipPosition: N }),
3997
3997
  V && /* @__PURE__ */ e(_1, { variant: "primary", size: "md", label: V, onClick: G, isLoading: o1 || E, disabled: W, disabledTooltip: $, disabledTooltipPosition: F })
@@ -4029,9 +4029,9 @@ ze.confirm = (t) => {
4029
4029
  const l = H2(n), r = () => {
4030
4030
  l.unmount(), n.remove();
4031
4031
  }, a = () => {
4032
- const [i, s] = D(!0), [o, c] = D(!1), C = () => {
4032
+ const [s, i] = D(!0), [o, c] = D(!1), C = () => {
4033
4033
  var m;
4034
- s(!1), (m = t.onSecondary) == null || m.call(t), setTimeout(r, 300);
4034
+ i(!1), (m = t.onSecondary) == null || m.call(t), setTimeout(r, 300);
4035
4035
  }, u = async () => {
4036
4036
  var k;
4037
4037
  const m = (k = t.onPrimary) == null ? void 0 : k.call(t);
@@ -4043,12 +4043,12 @@ ze.confirm = (t) => {
4043
4043
  c(!1);
4044
4044
  }
4045
4045
  }
4046
- s(!1), setTimeout(r, 300);
4046
+ i(!1), setTimeout(r, 300);
4047
4047
  };
4048
4048
  return /* @__PURE__ */ e(
4049
4049
  ze,
4050
4050
  {
4051
- isOpen: i,
4051
+ isOpen: s,
4052
4052
  onClose: C,
4053
4053
  title: t.title,
4054
4054
  primaryLabel: t.primaryLabel ?? "Confirmar",
@@ -4069,8 +4069,8 @@ const f5 = 600, d2 = 400, _3 = 0.9, C5 = 16, S2 = () => Math.max(d2, Math.round(
4069
4069
  title: l,
4070
4070
  titleTooltip: r,
4071
4071
  titleTooltipPosition: a = "bottom",
4072
- placement: i = "right",
4073
- onBack: s,
4072
+ placement: s = "right",
4073
+ onBack: i,
4074
4074
  headerActionLabel: o,
4075
4075
  onHeaderAction: c,
4076
4076
  headerActionLoading: C = !1,
@@ -4167,17 +4167,17 @@ const f5 = 600, d2 = 400, _3 = 0.9, C5 = 16, S2 = () => Math.max(d2, Math.round(
4167
4167
  }, m1 = () => {
4168
4168
  var s1;
4169
4169
  return e1 ?? (((s1 = q.current) == null ? void 0 : s1.getBoundingClientRect().width) || f5);
4170
- }, D1 = i === "right" ? -1 : 1, x1 = (s1) => {
4170
+ }, D1 = s === "right" ? -1 : 1, x1 = (s1) => {
4171
4171
  if (s1.button !== 0) return;
4172
4172
  s1.preventDefault();
4173
4173
  const P1 = s1.clientX, T1 = m1();
4174
4174
  J1(!0);
4175
- const ne = (K1) => {
4175
+ const te = (K1) => {
4176
4176
  g1(h5(T1 + (K1.clientX - P1) * D1));
4177
4177
  }, I1 = () => {
4178
- S1.current = null, J1(!1), document.removeEventListener("pointermove", ne), document.removeEventListener("pointerup", I1), document.removeEventListener("pointercancel", I1);
4178
+ S1.current = null, J1(!1), document.removeEventListener("pointermove", te), document.removeEventListener("pointerup", I1), document.removeEventListener("pointercancel", I1);
4179
4179
  };
4180
- S1.current = I1, document.addEventListener("pointermove", ne), document.addEventListener("pointerup", I1), document.addEventListener("pointercancel", I1);
4180
+ S1.current = I1, document.addEventListener("pointermove", te), document.addEventListener("pointerup", I1), document.addEventListener("pointercancel", I1);
4181
4181
  }, ke = (s1) => {
4182
4182
  const T1 = {
4183
4183
  ArrowLeft: () => m1() - C5 * D1,
@@ -4202,7 +4202,7 @@ const f5 = 600, d2 = 400, _3 = 0.9, C5 = 16, S2 = () => Math.max(d2, Math.round(
4202
4202
  tabIndex: -1,
4203
4203
  className: [
4204
4204
  "kdls-drawer",
4205
- i !== "right" ? `kdls-drawer--${i}` : "",
4205
+ s !== "right" ? `kdls-drawer--${s}` : "",
4206
4206
  p1 ? "kdls-drawer--resizing" : "",
4207
4207
  I
4208
4208
  ].filter(Boolean).join(" "),
@@ -4210,7 +4210,7 @@ const f5 = 600, d2 = 400, _3 = 0.9, C5 = 16, S2 = () => Math.max(d2, Math.round(
4210
4210
  onClick: (s1) => s1.stopPropagation(),
4211
4211
  children: [
4212
4212
  /* @__PURE__ */ d("div", { className: "kdls-drawer__header", children: [
4213
- s && /* @__PURE__ */ e(k1, { icon: /* @__PURE__ */ e(V5, {}), variant: "neutral", onClick: s, "aria-label": "Voltar" }),
4213
+ i && /* @__PURE__ */ e(k1, { icon: /* @__PURE__ */ e(V5, {}), variant: "neutral", onClick: i, "aria-label": "Voltar" }),
4214
4214
  /* @__PURE__ */ d("div", { className: "kdls-drawer__title-group", children: [
4215
4215
  /* @__PURE__ */ e("span", { className: "kdls-drawer__title", children: l }),
4216
4216
  r && /* @__PURE__ */ e(ie, { content: r, placement: a })
@@ -4302,15 +4302,15 @@ const f5 = 600, d2 = 400, _3 = 0.9, C5 = 16, S2 = () => Math.max(d2, Math.round(
4302
4302
  size: l = 24,
4303
4303
  className: r = ""
4304
4304
  }) => {
4305
- const a = n === "primary" ? "var(--color-primary-50)" : "currentColor", i = t === "base" ? "Kenlo" : `Kenlo ${t.charAt(0).toUpperCase() + t.slice(1)}`;
4305
+ const a = n === "primary" ? "var(--color-primary-50)" : "currentColor", s = t === "base" ? "Kenlo" : `Kenlo ${t.charAt(0).toUpperCase() + t.slice(1)}`;
4306
4306
  if (t !== "base" && p5[t]) {
4307
- const { viewBox: s, path: o } = p5[t], [, , c, C] = s.split(" ").map(Number), u = l / C * c;
4307
+ const { viewBox: i, path: o } = p5[t], [, , c, C] = i.split(" ").map(Number), u = l / C * c;
4308
4308
  return /* @__PURE__ */ d(
4309
4309
  "span",
4310
4310
  {
4311
4311
  className: ["kdls-kenlo-logo", `kdls-kenlo-logo--${n}`, r].filter(Boolean).join(" "),
4312
4312
  role: "img",
4313
- "aria-label": i,
4313
+ "aria-label": s,
4314
4314
  children: [
4315
4315
  /* @__PURE__ */ e(
4316
4316
  "svg",
@@ -4331,7 +4331,7 @@ const f5 = 600, d2 = 400, _3 = 0.9, C5 = 16, S2 = () => Math.max(d2, Math.round(
4331
4331
  className: "kdls-kenlo-logo__suffix-svg",
4332
4332
  height: l,
4333
4333
  width: u,
4334
- viewBox: s,
4334
+ viewBox: i,
4335
4335
  fill: "none",
4336
4336
  xmlns: "http://www.w3.org/2000/svg",
4337
4337
  "aria-hidden": "true",
@@ -4373,8 +4373,8 @@ const f5 = 600, d2 = 400, _3 = 0.9, C5 = 16, S2 = () => Math.max(d2, Math.round(
4373
4373
  disabled: l = !1,
4374
4374
  intent: r,
4375
4375
  href: a,
4376
- targetBlank: i,
4377
- icon: s,
4376
+ targetBlank: s,
4377
+ icon: i,
4378
4378
  badge: o,
4379
4379
  tooltip: c,
4380
4380
  tooltipIcon: C,
@@ -4389,7 +4389,7 @@ const f5 = 600, d2 = 400, _3 = 0.9, C5 = 16, S2 = () => Math.max(d2, Math.round(
4389
4389
  r ? `kdls-nav__item--${r}` : "",
4390
4390
  k
4391
4391
  ].filter(Boolean).join(" "), p = /* @__PURE__ */ d(N1, { children: [
4392
- s && /* @__PURE__ */ e("span", { className: "kdls-nav__item-icon", "aria-hidden": "true", children: s }),
4392
+ i && /* @__PURE__ */ e("span", { className: "kdls-nav__item-icon", "aria-hidden": "true", children: i }),
4393
4393
  c && !C ? /* @__PURE__ */ e(ie, { content: c, placement: u, children: /* @__PURE__ */ e("span", { className: "kdls-nav__item-label", children: t }) }) : /* @__PURE__ */ e("span", { className: "kdls-nav__item-label", children: t }),
4394
4394
  c && C && /* @__PURE__ */ e("span", { className: "kdls-nav__item-tooltip-icon", children: /* @__PURE__ */ e(ie, { content: c, placement: u }) }),
4395
4395
  o && /* @__PURE__ */ e(F2, { label: o, variant: "primary", appearance: "tone-50", size: "sm" })
@@ -4398,8 +4398,8 @@ const f5 = 600, d2 = 400, _3 = 0.9, C5 = 16, S2 = () => Math.max(d2, Math.round(
4398
4398
  "a",
4399
4399
  {
4400
4400
  href: l ? void 0 : a,
4401
- target: i ? "_blank" : void 0,
4402
- rel: i ? "noopener noreferrer" : void 0,
4401
+ target: s ? "_blank" : void 0,
4402
+ rel: s ? "noopener noreferrer" : void 0,
4403
4403
  className: f,
4404
4404
  "aria-disabled": l || void 0,
4405
4405
  "aria-current": n ? "page" : void 0,
@@ -4460,8 +4460,8 @@ function L3({
4460
4460
  labelMode: l = "float",
4461
4461
  htmlFor: r,
4462
4462
  filled: a = !1,
4463
- disabled: i = !1,
4464
- isLoading: s = !1,
4463
+ disabled: s = !1,
4464
+ isLoading: i = !1,
4465
4465
  feedback: o = "none",
4466
4466
  iconLeft: c,
4467
4467
  iconRight: C,
@@ -4475,8 +4475,8 @@ function L3({
4475
4475
  `kdls-field--${t}`,
4476
4476
  `kdls-field--label-${l}`,
4477
4477
  a ? "kdls-field--filled" : "",
4478
- i ? "kdls-field--disabled" : "",
4479
- s ? "kdls-field--loading" : "",
4478
+ s ? "kdls-field--disabled" : "",
4479
+ i ? "kdls-field--loading" : "",
4480
4480
  o !== "none" ? `kdls-field--feedback-${o}` : "",
4481
4481
  f
4482
4482
  ].filter(Boolean).join(" ");
@@ -4486,7 +4486,7 @@ function L3({
4486
4486
  n && /* @__PURE__ */ e(J, { as: "label", variant: "bodyMd", className: "kdls-field__label", htmlFor: r, children: n }),
4487
4487
  k
4488
4488
  ] }),
4489
- s ? /* @__PURE__ */ e("span", { className: "kdls-field__spinner", "aria-hidden": "true", children: /* @__PURE__ */ e(Ie, { size: "sm" }) }) : C ? u ? /* @__PURE__ */ e(
4489
+ i ? /* @__PURE__ */ e("span", { className: "kdls-field__spinner", "aria-hidden": "true", children: /* @__PURE__ */ e(Ie, { size: "sm" }) }) : C ? u ? /* @__PURE__ */ e(
4490
4490
  "button",
4491
4491
  {
4492
4492
  type: "button",
@@ -4505,8 +4505,8 @@ function N3({
4505
4505
  label: l = "Buscar",
4506
4506
  size: r = "lg",
4507
4507
  width: a = "fill",
4508
- suggestions: i = [],
4509
- recentSearches: s = [],
4508
+ suggestions: s = [],
4509
+ recentSearches: i = [],
4510
4510
  onSearch: o,
4511
4511
  onSuggestionSelect: c,
4512
4512
  onKeyDown: C,
@@ -4514,7 +4514,7 @@ function N3({
4514
4514
  disabled: m = !1,
4515
4515
  className: k
4516
4516
  }) {
4517
- const f = ue(), p = `${f}-panel`, [h, _] = D(!1), L = i.length > 0 || s.length > 0, N = t.length > 0, V = h && L, w = () => {
4517
+ const f = ue(), p = `${f}-panel`, [h, _] = D(!1), L = s.length > 0 || i.length > 0, N = t.length > 0, V = h && L, w = () => {
4518
4518
  L && !u && _(!0);
4519
4519
  }, E = () => {
4520
4520
  setTimeout(() => _(!1), 150);
@@ -4566,9 +4566,9 @@ function N3({
4566
4566
  }
4567
4567
  ),
4568
4568
  V && /* @__PURE__ */ d("div", { className: "kdls-searchbar__panel", id: p, role: "listbox", "aria-label": l, children: [
4569
- s.length > 0 && /* @__PURE__ */ d("div", { className: "kdls-searchbar__section", children: [
4569
+ i.length > 0 && /* @__PURE__ */ d("div", { className: "kdls-searchbar__section", children: [
4570
4570
  /* @__PURE__ */ e(J, { as: "span", variant: "labelSemiBold", className: "kdls-searchbar__section-title", children: "Recentes" }),
4571
- s.map((H, B) => /* @__PURE__ */ d(
4571
+ i.map((H, B) => /* @__PURE__ */ d(
4572
4572
  "button",
4573
4573
  {
4574
4574
  type: "button",
@@ -4585,9 +4585,9 @@ function N3({
4585
4585
  B
4586
4586
  ))
4587
4587
  ] }),
4588
- i.length > 0 && /* @__PURE__ */ d("div", { className: "kdls-searchbar__section", children: [
4589
- s.length > 0 && /* @__PURE__ */ e(J, { as: "span", variant: "labelSemiBold", className: "kdls-searchbar__section-title", children: "Sugestões" }),
4590
- i.map((H, B) => /* @__PURE__ */ d(
4588
+ s.length > 0 && /* @__PURE__ */ d("div", { className: "kdls-searchbar__section", children: [
4589
+ i.length > 0 && /* @__PURE__ */ e(J, { as: "span", variant: "labelSemiBold", className: "kdls-searchbar__section-title", children: "Sugestões" }),
4590
+ s.map((H, B) => /* @__PURE__ */ d(
4591
4591
  "button",
4592
4592
  {
4593
4593
  type: "button",
@@ -4621,9 +4621,9 @@ const be = B1.createContext({
4621
4621
  className: n = "",
4622
4622
  "aria-label": l
4623
4623
  }) => {
4624
- const { close: r, listboxId: a } = ve(be), i = (s) => {
4624
+ const { close: r, listboxId: a } = ve(be), s = (i) => {
4625
4625
  const o = Array.from(
4626
- s.currentTarget.querySelectorAll('[role="option"]:not([aria-disabled="true"])')
4626
+ i.currentTarget.querySelectorAll('[role="option"]:not([aria-disabled="true"])')
4627
4627
  ), c = o.findIndex((f) => f === document.activeElement), C = (f) => {
4628
4628
  if (!f) return;
4629
4629
  f.focus({ preventScroll: !0 });
@@ -4632,15 +4632,15 @@ const be = B1.createContext({
4632
4632
  const h = f.getBoundingClientRect(), _ = p.getBoundingClientRect();
4633
4633
  h.top < _.top ? p.scrollTop -= _.top - h.top : h.bottom > _.bottom && (p.scrollTop += h.bottom - _.bottom);
4634
4634
  }, u = ".kdls-menu__panel, .kdls-menu__panel-bare, .kdls-bottomsheet", m = (f) => {
4635
- const p = s.currentTarget.closest(u), h = p == null ? void 0 : p.querySelector(".kdls-menu__panel-footer, .kdls-bottomsheet__footer");
4635
+ const p = i.currentTarget.closest(u), h = p == null ? void 0 : p.querySelector(".kdls-menu__panel-footer, .kdls-bottomsheet__footer");
4636
4636
  return h ? x3(h) : null;
4637
4637
  }, k = () => {
4638
- const f = s.currentTarget.closest(u);
4638
+ const f = i.currentTarget.closest(u);
4639
4639
  return f == null ? void 0 : f.querySelector(".kdls-menu__search input, .kdls-bottomsheet__search input");
4640
4640
  };
4641
- switch (s.key) {
4641
+ switch (i.key) {
4642
4642
  case "ArrowDown":
4643
- if (s.preventDefault(), c === o.length - 1) {
4643
+ if (i.preventDefault(), c === o.length - 1) {
4644
4644
  const f = m();
4645
4645
  if (f) {
4646
4646
  f.focus({ preventScroll: !0 });
@@ -4650,7 +4650,7 @@ const be = B1.createContext({
4650
4650
  C(o[c + 1] ?? o[0]);
4651
4651
  break;
4652
4652
  case "ArrowUp":
4653
- if (s.preventDefault(), c === 0) {
4653
+ if (i.preventDefault(), c === 0) {
4654
4654
  const f = k();
4655
4655
  if (f) {
4656
4656
  f.focus({ preventScroll: !0 });
@@ -4660,33 +4660,33 @@ const be = B1.createContext({
4660
4660
  C(o[c - 1] ?? o[o.length - 1]);
4661
4661
  break;
4662
4662
  case "Home":
4663
- s.preventDefault(), C(o[0]);
4663
+ i.preventDefault(), C(o[0]);
4664
4664
  break;
4665
4665
  case "End":
4666
- s.preventDefault(), C(o[o.length - 1]);
4666
+ i.preventDefault(), C(o[o.length - 1]);
4667
4667
  break;
4668
4668
  case "Escape":
4669
- s.preventDefault(), r();
4669
+ i.preventDefault(), r();
4670
4670
  break;
4671
4671
  case "Tab":
4672
- if (s.shiftKey) {
4672
+ if (i.shiftKey) {
4673
4673
  const f = k();
4674
4674
  if (f) {
4675
- s.preventDefault(), f.focus({ preventScroll: !0 });
4675
+ i.preventDefault(), f.focus({ preventScroll: !0 });
4676
4676
  return;
4677
4677
  }
4678
4678
  } else {
4679
4679
  const f = m();
4680
4680
  if (f) {
4681
- s.preventDefault(), f.focus({ preventScroll: !0 });
4681
+ i.preventDefault(), f.focus({ preventScroll: !0 });
4682
4682
  return;
4683
4683
  }
4684
4684
  }
4685
4685
  r();
4686
4686
  break;
4687
4687
  default:
4688
- if (s.key.length === 1 && !s.ctrlKey && !s.metaKey && !s.altKey) {
4689
- const f = s.key.toLowerCase(), p = c >= 0 ? c + 1 : 0, _ = [...o.slice(p), ...o.slice(0, p)].find((L) => {
4688
+ if (i.key.length === 1 && !i.ctrlKey && !i.metaKey && !i.altKey) {
4689
+ const f = i.key.toLowerCase(), p = c >= 0 ? c + 1 : 0, _ = [...o.slice(p), ...o.slice(0, p)].find((L) => {
4690
4690
  var N;
4691
4691
  return (N = L.textContent) == null ? void 0 : N.trim().toLowerCase().startsWith(f);
4692
4692
  });
@@ -4702,7 +4702,7 @@ const be = B1.createContext({
4702
4702
  role: "listbox",
4703
4703
  tabIndex: -1,
4704
4704
  "aria-label": l,
4705
- onKeyDown: i,
4705
+ onKeyDown: s,
4706
4706
  children: t
4707
4707
  }
4708
4708
  );
@@ -4715,8 +4715,8 @@ const be = B1.createContext({
4715
4715
  icon: l,
4716
4716
  badge: r,
4717
4717
  href: a,
4718
- targetBlank: i,
4719
- tooltip: s,
4718
+ targetBlank: s,
4719
+ tooltip: i,
4720
4720
  tooltipIcon: o,
4721
4721
  tooltipPosition: c = "top",
4722
4722
  onClick: C,
@@ -4732,16 +4732,16 @@ const be = B1.createContext({
4732
4732
  k
4733
4733
  ].filter(Boolean).join(" "), _ = /* @__PURE__ */ d(N1, { children: [
4734
4734
  l && /* @__PURE__ */ e("span", { className: "kdls-menu__item-icon", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: l }) }),
4735
- s && !o ? /* @__PURE__ */ e(ie, { content: s, placement: c, children: /* @__PURE__ */ e("span", { className: "kdls-menu__item-label", children: t }) }) : /* @__PURE__ */ e("span", { className: "kdls-menu__item-label", children: t }),
4736
- s && o && /* @__PURE__ */ e("span", { className: "kdls-menu__item-tooltip-icon", children: /* @__PURE__ */ e(ie, { content: s, placement: c }) }),
4735
+ i && !o ? /* @__PURE__ */ e(ie, { content: i, placement: c, children: /* @__PURE__ */ e("span", { className: "kdls-menu__item-label", children: t }) }) : /* @__PURE__ */ e("span", { className: "kdls-menu__item-label", children: t }),
4736
+ i && o && /* @__PURE__ */ e("span", { className: "kdls-menu__item-tooltip-icon", children: /* @__PURE__ */ e(ie, { content: i, placement: c }) }),
4737
4737
  r && /* @__PURE__ */ e(F2, { label: r, variant: "primary", appearance: "tone-50", size: "sm" })
4738
4738
  ] });
4739
4739
  return a ? /* @__PURE__ */ e("li", { role: "none", children: /* @__PURE__ */ e(
4740
4740
  "a",
4741
4741
  {
4742
4742
  href: m ? void 0 : a,
4743
- target: i ? "_blank" : void 0,
4744
- rel: i ? "noopener noreferrer" : void 0,
4743
+ target: s ? "_blank" : void 0,
4744
+ rel: s ? "noopener noreferrer" : void 0,
4745
4745
  className: h,
4746
4746
  role: "option",
4747
4747
  "aria-selected": p,
@@ -4779,8 +4779,8 @@ const be = B1.createContext({
4779
4779
  icon: l,
4780
4780
  badge: r,
4781
4781
  href: a,
4782
- targetBlank: i,
4783
- tooltip: s,
4782
+ targetBlank: s,
4783
+ tooltip: i,
4784
4784
  tooltipIcon: o,
4785
4785
  tooltipPosition: c = "top",
4786
4786
  onClick: C,
@@ -4796,16 +4796,16 @@ const be = B1.createContext({
4796
4796
  k
4797
4797
  ].filter(Boolean).join(" "), _ = /* @__PURE__ */ d(N1, { children: [
4798
4798
  l && /* @__PURE__ */ e("span", { className: "kdls-menu__item-icon", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: l }) }),
4799
- s && !o ? /* @__PURE__ */ e(ie, { content: s, placement: c, children: /* @__PURE__ */ e("span", { className: "kdls-menu__item-label", children: t }) }) : /* @__PURE__ */ e("span", { className: "kdls-menu__item-label", children: t }),
4800
- s && o && /* @__PURE__ */ e("span", { className: "kdls-menu__item-tooltip-icon", children: /* @__PURE__ */ e(ie, { content: s, placement: c }) }),
4799
+ i && !o ? /* @__PURE__ */ e(ie, { content: i, placement: c, children: /* @__PURE__ */ e("span", { className: "kdls-menu__item-label", children: t }) }) : /* @__PURE__ */ e("span", { className: "kdls-menu__item-label", children: t }),
4800
+ i && o && /* @__PURE__ */ e("span", { className: "kdls-menu__item-tooltip-icon", children: /* @__PURE__ */ e(ie, { content: i, placement: c }) }),
4801
4801
  r && /* @__PURE__ */ e(F2, { label: r, variant: "primary", appearance: "tone-50", size: "sm" })
4802
4802
  ] });
4803
4803
  return a ? /* @__PURE__ */ e("li", { role: "none", children: /* @__PURE__ */ e(
4804
4804
  "a",
4805
4805
  {
4806
4806
  href: m ? void 0 : a,
4807
- target: i ? "_blank" : void 0,
4808
- rel: i ? "noopener noreferrer" : void 0,
4807
+ target: s ? "_blank" : void 0,
4808
+ rel: s ? "noopener noreferrer" : void 0,
4809
4809
  className: h,
4810
4810
  role: "option",
4811
4811
  "aria-selected": p,
@@ -4843,9 +4843,9 @@ const be = B1.createContext({
4843
4843
  icon: l,
4844
4844
  accordion: r = !1,
4845
4845
  disabled: a = !1,
4846
- className: i = ""
4846
+ className: s = ""
4847
4847
  }) => {
4848
- const s = ve(be), o = ve(P2);
4848
+ const i = ve(be), o = ve(P2);
4849
4849
  o == null || o.orientation;
4850
4850
  const c = (o == null ? void 0 : o.orientation) === "vertical" ? !0 : r, C = ue(), u = c1(null), m = c1(null), [k, f] = D(!1), [p, h] = D(!1), [_, L] = D(null), N = j2(), { style: V, positioned: w } = A2({
4851
4851
  triggerRef: u,
@@ -4854,7 +4854,7 @@ const be = B1.createContext({
4854
4854
  align: "start",
4855
4855
  gap: q5,
4856
4856
  open: k
4857
- }), E = c1(), W = c1(), $ = c1({ x: 0, y: 0 }), F = { ...s, listboxId: C, openSubId: _, notifyOpen: L };
4857
+ }), E = c1(), W = c1(), $ = c1({ x: 0, y: 0 }), F = { ...i, listboxId: C, openSubId: _, notifyOpen: L };
4858
4858
  i1(() => {
4859
4859
  const S = (z) => {
4860
4860
  $.current = { x: z.clientX, y: z.clientY };
@@ -4863,17 +4863,17 @@ const be = B1.createContext({
4863
4863
  }, []);
4864
4864
  const H = A1(() => {
4865
4865
  a || (clearTimeout(W.current), E.current = setTimeout(() => {
4866
- h(!1), f(!0), s.notifyOpen(C);
4866
+ h(!1), f(!0), i.notifyOpen(C);
4867
4867
  }, 150));
4868
- }, [a, s.notifyOpen, C]), B = A1(() => {
4868
+ }, [a, i.notifyOpen, C]), B = A1(() => {
4869
4869
  clearTimeout(E.current), W.current = setTimeout(() => {
4870
4870
  var a1, v;
4871
4871
  const { x: S, y: z } = $.current, O = document.elementFromPoint(S, z);
4872
4872
  (a1 = u.current) != null && a1.contains(O) || (v = m.current) != null && v.contains(O) || f(!1);
4873
4873
  }, 200);
4874
4874
  }, []), j = A1((S = !1) => {
4875
- a || (clearTimeout(W.current), clearTimeout(E.current), h(S), f(!0), s.notifyOpen(C));
4876
- }, [a, s.notifyOpen, C]), P = A1(() => {
4875
+ a || (clearTimeout(W.current), clearTimeout(E.current), h(S), f(!0), i.notifyOpen(C));
4876
+ }, [a, i.notifyOpen, C]), P = A1(() => {
4877
4877
  clearTimeout(E.current), clearTimeout(W.current), f(!1);
4878
4878
  }, []);
4879
4879
  if (i1(() => () => {
@@ -4884,19 +4884,19 @@ const be = B1.createContext({
4884
4884
  const S = (z = m.current) == null ? void 0 : z.querySelector('[role="option"]:not([aria-disabled="true"])');
4885
4885
  S == null || S.focus({ preventScroll: !0 });
4886
4886
  }, [k, p, w]), i1(() => {
4887
- k && s.openSubId !== null && s.openSubId !== C && P();
4888
- }, [s.openSubId]), c || N) {
4887
+ k && i.openSubId !== null && i.openSubId !== C && P();
4888
+ }, [i.openSubId]), c || N) {
4889
4889
  const S = () => {
4890
4890
  if (!a) {
4891
4891
  const O = !k;
4892
- f(O), O && s.notifyOpen(C);
4892
+ f(O), O && i.notifyOpen(C);
4893
4893
  }
4894
4894
  }, z = [
4895
4895
  "kdls-menu__item",
4896
4896
  "kdls-menu__submenu",
4897
4897
  a ? "kdls-menu__item--disabled" : "",
4898
4898
  k ? "kdls-menu__submenu--open" : "",
4899
- i
4899
+ s
4900
4900
  ].filter(Boolean).join(" ");
4901
4901
  return /* @__PURE__ */ d("li", { className: "kdls-menu__submenu-accordion", children: [
4902
4902
  /* @__PURE__ */ d(
@@ -4910,7 +4910,7 @@ const be = B1.createContext({
4910
4910
  tabIndex: -1,
4911
4911
  onClick: S,
4912
4912
  onKeyDown: (O) => {
4913
- (O.key === "Enter" || O.key === " ") && (O.preventDefault(), S()), O.key === "Escape" && (f(!1), s.close());
4913
+ (O.key === "Enter" || O.key === " ") && (O.preventDefault(), S()), O.key === "Escape" && (f(!1), i.close());
4914
4914
  },
4915
4915
  children: [
4916
4916
  l && /* @__PURE__ */ e("span", { className: "kdls-menu__item-icon", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: l }) }),
@@ -4931,7 +4931,7 @@ const be = B1.createContext({
4931
4931
  "kdls-menu__submenu",
4932
4932
  a ? "kdls-menu__item--disabled" : "",
4933
4933
  k ? "kdls-menu__submenu--open" : "",
4934
- i
4934
+ s
4935
4935
  ].filter(Boolean).join(" "),
4936
4936
  role: "option",
4937
4937
  "aria-selected": !1,
@@ -4948,7 +4948,7 @@ const be = B1.createContext({
4948
4948
  S.preventDefault(), a || (k ? P() : j());
4949
4949
  },
4950
4950
  onKeyDown: (S) => {
4951
- (S.key === "ArrowRight" || S.key === "Enter" || S.key === " ") && !a && (S.preventDefault(), S.stopPropagation(), j(!0)), S.key === "Escape" && (S.stopPropagation(), P(), s.close());
4951
+ (S.key === "ArrowRight" || S.key === "Enter" || S.key === " ") && !a && (S.preventDefault(), S.stopPropagation(), j(!0)), S.key === "Escape" && (S.stopPropagation(), P(), i.close());
4952
4952
  },
4953
4953
  children: [
4954
4954
  l && /* @__PURE__ */ e("span", { className: "kdls-menu__item-icon", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: l }) }),
@@ -5007,10 +5007,10 @@ const be = B1.createContext({
5007
5007
  label: l,
5008
5008
  value: t,
5009
5009
  onChange: n,
5010
- onKeyDown: (i) => {
5011
- if (i.key === "ArrowDown" || i.key === "Tab" && !i.shiftKey) {
5012
- i.preventDefault();
5013
- const s = document.getElementById(r), o = s == null ? void 0 : s.querySelector('[role="option"]:not([aria-disabled="true"])');
5010
+ onKeyDown: (s) => {
5011
+ if (s.key === "ArrowDown" || s.key === "Tab" && !s.shiftKey) {
5012
+ s.preventDefault();
5013
+ const i = document.getElementById(r), o = i == null ? void 0 : i.querySelector('[role="option"]:not([aria-disabled="true"])');
5014
5014
  o == null || o.focus({ preventScroll: !0 });
5015
5015
  }
5016
5016
  },
@@ -5025,30 +5025,30 @@ function G5(t) {
5025
5025
  r.type === "divider" ? (l.items.length && n.push(l), n.push({ kind: "divider" }), l = { kind: "group", items: [] }) : r.type === "section" ? (l.items.length && n.push(l), l = { kind: "group", label: r.label, items: [] }) : l.items.push(r);
5026
5026
  return l.items.length && n.push(l), /* @__PURE__ */ e(N1, { children: n.map((r, a) => {
5027
5027
  if (r.kind === "divider") return /* @__PURE__ */ e(Y5, {}, `d-${a}`);
5028
- const i = r.items.map((s) => {
5028
+ const s = r.items.map((i) => {
5029
5029
  var o;
5030
- return (o = s.children) != null && o.length ? /* @__PURE__ */ e(
5030
+ return (o = i.children) != null && o.length ? /* @__PURE__ */ e(
5031
5031
  W5,
5032
5032
  {
5033
- label: s.label,
5034
- icon: s.icon,
5035
- disabled: s.disabled,
5036
- children: G5(s.children)
5033
+ label: i.label,
5034
+ icon: i.icon,
5035
+ disabled: i.disabled,
5036
+ children: G5(i.children)
5037
5037
  },
5038
- s.key
5038
+ i.key
5039
5039
  ) : /* @__PURE__ */ e(
5040
5040
  z5,
5041
5041
  {
5042
- icon: s.icon,
5043
- disabled: s.disabled,
5044
- intent: s.intent,
5045
- onClick: s.onClick,
5046
- children: s.label
5042
+ icon: i.icon,
5043
+ disabled: i.disabled,
5044
+ intent: i.intent,
5045
+ onClick: i.onClick,
5046
+ children: i.label
5047
5047
  },
5048
- s.key
5048
+ i.key
5049
5049
  );
5050
5050
  });
5051
- return r.label ? /* @__PURE__ */ e(U5, { label: r.label, children: i }, `g-${a}`) : /* @__PURE__ */ e(B1.Fragment, { children: i }, `g-${a}`);
5051
+ return r.label ? /* @__PURE__ */ e(U5, { label: r.label, children: s }, `g-${a}`) : /* @__PURE__ */ e(B1.Fragment, { children: s }, `g-${a}`);
5052
5052
  }) });
5053
5053
  }
5054
5054
  const X5 = (t) => {
@@ -5062,8 +5062,8 @@ const X5 = (t) => {
5062
5062
  children: l,
5063
5063
  variant: r = "navButton",
5064
5064
  placement: a = "bottomLeft",
5065
- trigger: i,
5066
- icon: s,
5065
+ trigger: s,
5066
+ icon: i,
5067
5067
  items: o,
5068
5068
  header: c,
5069
5069
  footer: C,
@@ -5080,7 +5080,7 @@ const X5 = (t) => {
5080
5080
  zIndex: w,
5081
5081
  triggerActive: E = !1,
5082
5082
  className: W = ""
5083
- } = t, $ = ve(P2), F = $ ? "navButton" : r ?? "navButton", H = ($ == null ? void 0 : $.orientation) === "vertical", P = i ?? (F === "avatar" ? /* @__PURE__ */ e(x2, { initials: f, src: p, size: h }) : null) ?? (F === "iconButton" && _ ? /* @__PURE__ */ e(k1, { icon: _, variant: L, size: N, "aria-label": V || "Menu" }) : null), [S, z] = D(!1), O = ue(), a1 = c1(null), v = c1(null), [b, Z] = D(null), { side: Q, align: C1 } = o2(a), { style: o1, positioned: K } = A2({
5083
+ } = t, $ = ve(P2), F = $ ? "navButton" : r ?? "navButton", H = ($ == null ? void 0 : $.orientation) === "vertical", P = s ?? (F === "avatar" ? /* @__PURE__ */ e(x2, { initials: f, src: p, size: h }) : null) ?? (F === "iconButton" && _ ? /* @__PURE__ */ e(k1, { icon: _, variant: L, size: N, "aria-label": V || "Menu" }) : null), [S, z] = D(!1), O = ue(), a1 = c1(null), v = c1(null), [b, Z] = D(null), { side: Q, align: C1 } = o2(a), { style: o1, positioned: K } = A2({
5084
5084
  triggerRef: a1,
5085
5085
  panelRef: v,
5086
5086
  side: Q,
@@ -5146,7 +5146,7 @@ const X5 = (t) => {
5146
5146
  $e,
5147
5147
  {
5148
5148
  label: n,
5149
- iconLeft: s,
5149
+ iconLeft: i,
5150
5150
  iconRight: /* @__PURE__ */ e(U1, {}),
5151
5151
  onClick: R,
5152
5152
  onKeyDown: G,
@@ -5170,7 +5170,7 @@ const X5 = (t) => {
5170
5170
  onClick: R,
5171
5171
  onKeyDown: G,
5172
5172
  children: [
5173
- s && /* @__PURE__ */ e("span", { className: "kdls-menu__btn-icon", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: s }) }),
5173
+ i && /* @__PURE__ */ e("span", { className: "kdls-menu__btn-icon", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: i }) }),
5174
5174
  n && /* @__PURE__ */ e("span", { className: "kdls-menu__btn-label", children: n }),
5175
5175
  /* @__PURE__ */ e("span", { className: "kdls-menu__btn-chevron", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: /* @__PURE__ */ e(U1, {}), size: "sm" }) })
5176
5176
  ]
@@ -5238,11 +5238,11 @@ G1.Separator = Y5;
5238
5238
  G1.Empty = H3;
5239
5239
  G1.Search = Z2;
5240
5240
  const S3 = ({ item: t, active: n }) => {
5241
- const [l, r] = D(""), a = t.children ?? [], i = t.searchable && l ? a.filter((s) => s.label.toLowerCase().includes(l.toLowerCase())) : a;
5241
+ const [l, r] = D(""), a = t.children ?? [], s = t.searchable && l ? a.filter((i) => i.label.toLowerCase().includes(l.toLowerCase())) : a;
5242
5242
  return /* @__PURE__ */ d(G1, { label: t.label, triggerActive: n, children: [
5243
5243
  t.searchable && /* @__PURE__ */ e(G1.Search, { value: l, onChange: r, label: t.searchLabel ?? "Buscar" }),
5244
- i.map((s) => /* @__PURE__ */ e(G1.Item, { onClick: s.onClick, children: s.label }, s.label)),
5245
- i.length === 0 && /* @__PURE__ */ e(G1.Empty, { children: "Nenhum resultado" })
5244
+ s.map((i) => /* @__PURE__ */ e(G1.Item, { onClick: i.onClick, children: i.label }, i.label)),
5245
+ s.length === 0 && /* @__PURE__ */ e(G1.Empty, { children: "Nenhum resultado" })
5246
5246
  ] });
5247
5247
  }, $l = ({
5248
5248
  product: t = "base",
@@ -5250,8 +5250,8 @@ const S3 = ({ item: t, active: n }) => {
5250
5250
  logoHref: l,
5251
5251
  onLogoClick: r,
5252
5252
  logoLabel: a = "Página inicial",
5253
- navItems: i = [],
5254
- activeNav: s,
5253
+ navItems: s = [],
5254
+ activeNav: i,
5255
5255
  notifications: o = [],
5256
5256
  onClearNotifications: c,
5257
5257
  products: C = [],
@@ -5347,7 +5347,7 @@ const S3 = ({ item: t, active: n }) => {
5347
5347
  /* @__PURE__ */ e("hr", { className: "kdls-header__mobile-divider" }),
5348
5348
  /* @__PURE__ */ e("div", { className: "kdls-header__mobile-menu-block", children: f.map((y) => /* @__PURE__ */ e("a", { href: y.href, onClick: y.onClick, className: "kdls-header__mobile-row", children: /* @__PURE__ */ e(J, { as: "span", variant: "bodyMd", children: y.label }) }, y.label)) })
5349
5349
  ] }),
5350
- i.map((y) => /* @__PURE__ */ d(B1.Fragment, { children: [
5350
+ s.map((y) => /* @__PURE__ */ d(B1.Fragment, { children: [
5351
5351
  /* @__PURE__ */ e("hr", { className: "kdls-header__mobile-divider" }),
5352
5352
  /* @__PURE__ */ e("div", { className: "kdls-header__mobile-menu-block", children: y.children ? /* @__PURE__ */ e(U0, { title: y.label, size: "md", className: "kdls-header__mobile-accordion", children: y.children.map((M) => /* @__PURE__ */ e("a", { href: M.href, onClick: M.onClick, className: "kdls-header__mobile-row", children: /* @__PURE__ */ e(J, { as: "span", variant: "bodyMd", children: M.label }) }, M.label)) }) : /* @__PURE__ */ e("a", { href: y.href, onClick: y.onClick, className: "kdls-header__mobile-row", children: /* @__PURE__ */ e(J, { as: "span", variant: "bodyMd", children: y.label }) }) })
5353
5353
  ] }, y.label)),
@@ -5377,18 +5377,18 @@ const S3 = ({ item: t, active: n }) => {
5377
5377
  }
5378
5378
  ) : /* @__PURE__ */ e("div", { className: ["kdls-header__logo", n ? "kdls-header__logo--custom" : ""].filter(Boolean).join(" "), children: I }),
5379
5379
  m && /* @__PURE__ */ e("div", { className: "kdls-header__context", children: m }),
5380
- !w && i.length > 0 && /* @__PURE__ */ e("div", { className: "kdls-header__nav", children: /* @__PURE__ */ e(u2, { orientation: "horizontal", children: i.map(
5380
+ !w && s.length > 0 && /* @__PURE__ */ e("div", { className: "kdls-header__nav", children: /* @__PURE__ */ e(u2, { orientation: "horizontal", children: s.map(
5381
5381
  (y) => y.children ? /* @__PURE__ */ e(
5382
5382
  S3,
5383
5383
  {
5384
5384
  item: y,
5385
- active: s === y.label
5385
+ active: i === y.label
5386
5386
  },
5387
5387
  y.label
5388
5388
  ) : /* @__PURE__ */ d(
5389
5389
  u2.Item,
5390
5390
  {
5391
- active: s === y.label,
5391
+ active: i === y.label,
5392
5392
  onClick: y.onClick,
5393
5393
  children: [
5394
5394
  y.label,
@@ -5473,7 +5473,7 @@ const S3 = ({ item: t, active: n }) => {
5473
5473
  crop: r,
5474
5474
  className: a = ""
5475
5475
  }) => {
5476
- const i = c1(null), s = c1(null), [o, c] = D(!1), [C, u] = D(!1), [m, k] = D(1), [f, p] = D(0), [h, _] = D({ x: 10, y: 10, w: 80, h: 80 }), L = t === "image" ? ".jpg,.jpeg,.png,image/jpeg,image/png" : ".pdf,.docx,.doc,.jpeg,.jpg,.png", N = t === "image" ? "JPG, JPEG ou PNG" : "PDF, DOCX, JPEG ou PNG", V = t === "image" ? "Adicionar imagem" : "Adicionar arquivo";
5476
+ const s = c1(null), i = c1(null), [o, c] = D(!1), [C, u] = D(!1), [m, k] = D(1), [f, p] = D(0), [h, _] = D({ x: 10, y: 10, w: 80, h: 80 }), L = t === "image" ? ".jpg,.jpeg,.png,image/jpeg,image/png" : ".pdf,.docx,.doc,.jpeg,.jpg,.png", N = t === "image" ? "JPG, JPEG ou PNG" : "PDF, DOCX, JPEG ou PNG", V = t === "image" ? "Adicionar imagem" : "Adicionar arquivo";
5477
5477
  i1(() => {
5478
5478
  if (!C) return;
5479
5479
  if (k(1), p(0), !r) {
@@ -5481,7 +5481,7 @@ const S3 = ({ item: t, active: n }) => {
5481
5481
  return;
5482
5482
  }
5483
5483
  const H = requestAnimationFrame(() => {
5484
- const B = s.current;
5484
+ const B = i.current;
5485
5485
  if (!B) return;
5486
5486
  const j = B.getBoundingClientRect();
5487
5487
  if (!(!j.width || !j.height))
@@ -5505,7 +5505,7 @@ const S3 = ({ item: t, active: n }) => {
5505
5505
  }, [C, r]);
5506
5506
  const w = (H) => (B) => {
5507
5507
  B.stopPropagation(), B.preventDefault();
5508
- const j = s.current;
5508
+ const j = i.current;
5509
5509
  if (!j) return;
5510
5510
  const P = j.getBoundingClientRect(), S = B.clientX, z = B.clientY, O = { ...h }, a1 = (() => {
5511
5511
  if (typeof r == "string") {
@@ -5579,7 +5579,7 @@ const S3 = ({ item: t, active: n }) => {
5579
5579
  onPrimary: () => u(!1),
5580
5580
  onSecondary: () => u(!1),
5581
5581
  children: /* @__PURE__ */ d("div", { className: "kdls-uploader__edit-body", children: [
5582
- /* @__PURE__ */ d("div", { ref: s, className: "kdls-uploader__edit-canvas", children: [
5582
+ /* @__PURE__ */ d("div", { ref: i, className: "kdls-uploader__edit-canvas", children: [
5583
5583
  /* @__PURE__ */ e(
5584
5584
  "img",
5585
5585
  {
@@ -5663,17 +5663,17 @@ const S3 = ({ item: t, active: n }) => {
5663
5663
  onDrop: $,
5664
5664
  onClick: () => {
5665
5665
  var H;
5666
- return (H = i.current) == null ? void 0 : H.click();
5666
+ return (H = s.current) == null ? void 0 : H.click();
5667
5667
  },
5668
5668
  onKeyDown: (H) => {
5669
5669
  var B;
5670
- (H.key === "Enter" || H.key === " ") && (H.preventDefault(), (B = i.current) == null || B.click());
5670
+ (H.key === "Enter" || H.key === " ") && (H.preventDefault(), (B = s.current) == null || B.click());
5671
5671
  },
5672
5672
  children: [
5673
5673
  /* @__PURE__ */ e(
5674
5674
  "input",
5675
5675
  {
5676
- ref: i,
5676
+ ref: s,
5677
5677
  type: "file",
5678
5678
  accept: L,
5679
5679
  className: "kdls-uploader__input",
@@ -5701,8 +5701,8 @@ const S3 = ({ item: t, active: n }) => {
5701
5701
  min: l,
5702
5702
  max: r,
5703
5703
  step: a = 1,
5704
- disabled: i = !1,
5705
- className: s = ""
5704
+ disabled: s = !1,
5705
+ className: i = ""
5706
5706
  }) => {
5707
5707
  const o = l === void 0 || t - a >= l, c = r === void 0 || t + a <= r;
5708
5708
  return /* @__PURE__ */ d(
@@ -5710,8 +5710,8 @@ const S3 = ({ item: t, active: n }) => {
5710
5710
  {
5711
5711
  className: [
5712
5712
  "kdls-incrementer",
5713
- i ? "kdls-incrementer--disabled" : "",
5714
- s
5713
+ s ? "kdls-incrementer--disabled" : "",
5714
+ i
5715
5715
  ].filter(Boolean).join(" "),
5716
5716
  children: [
5717
5717
  /* @__PURE__ */ e(
@@ -5719,7 +5719,7 @@ const S3 = ({ item: t, active: n }) => {
5719
5719
  {
5720
5720
  type: "button",
5721
5721
  className: "kdls-incrementer__btn",
5722
- disabled: i || !o,
5722
+ disabled: s || !o,
5723
5723
  onClick: () => n(t - a),
5724
5724
  "aria-label": "Diminuir",
5725
5725
  children: /* @__PURE__ */ e(n1, { icon: /* @__PURE__ */ e(f0, {}) })
@@ -5731,7 +5731,7 @@ const S3 = ({ item: t, active: n }) => {
5731
5731
  {
5732
5732
  type: "button",
5733
5733
  className: "kdls-incrementer__btn",
5734
- disabled: i || !c,
5734
+ disabled: s || !c,
5735
5735
  onClick: () => n(t + a),
5736
5736
  "aria-label": "Aumentar",
5737
5737
  children: /* @__PURE__ */ e(n1, { icon: /* @__PURE__ */ e(p0, {}) })
@@ -5791,12 +5791,12 @@ const S3 = ({ item: t, active: n }) => {
5791
5791
  avatar: l = !1,
5792
5792
  title: r = !0,
5793
5793
  active: a = !0,
5794
- loading: i = !0,
5795
- className: s = ""
5796
- }) => i ? /* @__PURE__ */ d(
5794
+ loading: s = !0,
5795
+ className: i = ""
5796
+ }) => s ? /* @__PURE__ */ d(
5797
5797
  "div",
5798
5798
  {
5799
- className: ["kdls-skeleton", s].filter(Boolean).join(" "),
5799
+ className: ["kdls-skeleton", i].filter(Boolean).join(" "),
5800
5800
  role: "status",
5801
5801
  "aria-label": "Carregando",
5802
5802
  children: [
@@ -5904,8 +5904,8 @@ const B3 = "M3.2793 0C3.55534 0.000112402 3.7793 0.223927 3.7793 0.5V30.4688C3.7
5904
5904
  title: l,
5905
5905
  placement: r = "top",
5906
5906
  trigger: a,
5907
- arrow: i = !0,
5908
- matchTriggerWidth: s = !1,
5907
+ arrow: s = !0,
5908
+ matchTriggerWidth: i = !1,
5909
5909
  destroyOnClose: o,
5910
5910
  defaultOpen: c,
5911
5911
  open: C,
@@ -5918,9 +5918,9 @@ const B3 = "M3.2793 0C3.55534 0.000112402 3.7793 0.223927 3.7793 0.5V30.4688C3.7
5918
5918
  We,
5919
5919
  {
5920
5920
  placement: r,
5921
- gap: i ? I3 : $3,
5921
+ gap: s ? I3 : $3,
5922
5922
  trigger: a,
5923
- matchTriggerWidth: s,
5923
+ matchTriggerWidth: i,
5924
5924
  destroyOnClose: o,
5925
5925
  defaultOpen: c,
5926
5926
  open: C,
@@ -5929,8 +5929,8 @@ const B3 = "M3.2793 0C3.55534 0.000112402 3.7793 0.223927 3.7793 0.5V30.4688C3.7
5929
5929
  className: "kdls-popover",
5930
5930
  openClassName: "kdls-popover--open",
5931
5931
  triggerClassName: "kdls-popover__trigger",
5932
- content: (h) => /* @__PURE__ */ d("div", { className: ["kdls-popover__panel", s ? "kdls-popover__panel--fill-width" : "", k].filter(Boolean).join(" "), children: [
5933
- i && /* @__PURE__ */ e("div", { className: `kdls-popover__arrow kdls-popover__arrow--${F5(h)}` }),
5932
+ content: (h) => /* @__PURE__ */ d("div", { className: ["kdls-popover__panel", i ? "kdls-popover__panel--fill-width" : "", k].filter(Boolean).join(" "), children: [
5933
+ s && /* @__PURE__ */ e("div", { className: `kdls-popover__arrow kdls-popover__arrow--${F5(h)}` }),
5934
5934
  l && /* @__PURE__ */ e("div", { className: ["kdls-popover__title", f].filter(Boolean).join(" "), children: l }),
5935
5935
  /* @__PURE__ */ e("div", { className: ["kdls-popover__content", p].filter(Boolean).join(" "), children: n })
5936
5936
  ] }),
@@ -5942,8 +5942,8 @@ const B3 = "M3.2793 0C3.55534 0.000112402 3.7793 0.223927 3.7793 0.5V30.4688C3.7
5942
5942
  hint: l,
5943
5943
  size: r = "sm",
5944
5944
  checked: a = !1,
5945
- disabled: i = !1,
5946
- feedback: s = "none",
5945
+ disabled: s = !1,
5946
+ feedback: i = "none",
5947
5947
  onChange: o
5948
5948
  }) => /* @__PURE__ */ d(
5949
5949
  "div",
@@ -5952,17 +5952,17 @@ const B3 = "M3.2793 0C3.55534 0.000112402 3.7793 0.223927 3.7793 0.5V30.4688C3.7
5952
5952
  "kdls-radio",
5953
5953
  `kdls-radio--${r}`,
5954
5954
  a ? "kdls-radio--selected" : "",
5955
- i ? "kdls-radio--disabled" : "",
5956
- s !== "none" ? `kdls-radio--feedback-${s}` : ""
5955
+ s ? "kdls-radio--disabled" : "",
5956
+ i !== "none" ? `kdls-radio--feedback-${i}` : ""
5957
5957
  ].filter(Boolean).join(" "),
5958
5958
  role: "radio",
5959
5959
  "aria-checked": a,
5960
- "aria-disabled": i,
5961
- tabIndex: i ? -1 : 0,
5960
+ "aria-disabled": s,
5961
+ tabIndex: s ? -1 : 0,
5962
5962
  "data-value": t,
5963
- onClick: () => !i && (o == null ? void 0 : o()),
5963
+ onClick: () => !s && (o == null ? void 0 : o()),
5964
5964
  onKeyDown: (c) => {
5965
- c.key === " " && (c.preventDefault(), i || o == null || o());
5965
+ c.key === " " && (c.preventDefault(), s || o == null || o());
5966
5966
  },
5967
5967
  children: [
5968
5968
  /* @__PURE__ */ e("span", { className: "kdls-radio__circle", "aria-hidden": "true", children: /* @__PURE__ */ e("span", { className: "kdls-radio__dot" }) }),
@@ -5978,19 +5978,19 @@ const B3 = "M3.2793 0C3.55534 0.000112402 3.7793 0.223927 3.7793 0.5V30.4688C3.7
5978
5978
  size: l = "sm",
5979
5979
  value: r,
5980
5980
  defaultValue: a,
5981
- onChange: i,
5982
- disabled: s = !1,
5981
+ onChange: s,
5982
+ disabled: i = !1,
5983
5983
  feedback: o = "none",
5984
5984
  hint: c,
5985
5985
  name: C,
5986
5986
  required: u = !1,
5987
5987
  className: m = ""
5988
5988
  }, k) => {
5989
- const f = ue(), p = r !== void 0, [h, _] = D(a), L = p ? r : h, N = s ? "none" : o, V = (w) => {
5990
- p || _(w), i == null || i(w);
5989
+ const f = ue(), p = r !== void 0, [h, _] = D(a), L = p ? r : h, N = i ? "none" : o, V = (w) => {
5990
+ p || _(w), s == null || s(w);
5991
5991
  };
5992
5992
  return /* @__PURE__ */ d("div", { ref: k, className: ["kdls-radio-group", m].filter(Boolean).join(" "), children: [
5993
- n && /* @__PURE__ */ e(J, { as: "span", variant: "bodyMd", id: f, className: ["kdls-radio-group__label", u && !s ? "kdls-radio-group__label--required" : "", s ? "kdls-radio-group__label--disabled" : ""].filter(Boolean).join(" "), children: n }),
5993
+ n && /* @__PURE__ */ e(J, { as: "span", variant: "bodyMd", id: f, className: ["kdls-radio-group__label", u && !i ? "kdls-radio-group__label--required" : "", i ? "kdls-radio-group__label--disabled" : ""].filter(Boolean).join(" "), children: n }),
5994
5994
  /* @__PURE__ */ d(
5995
5995
  "div",
5996
5996
  {
@@ -6010,7 +6010,7 @@ const B3 = "M3.2793 0C3.55534 0.000112402 3.7793 0.223927 3.7793 0.5V30.4688C3.7
6010
6010
  size: l,
6011
6011
  feedback: w.disabled ? "none" : N,
6012
6012
  checked: w.value === L,
6013
- disabled: s || w.disabled,
6013
+ disabled: i || w.disabled,
6014
6014
  onChange: () => V(w.value)
6015
6015
  },
6016
6016
  w.value
@@ -6019,7 +6019,7 @@ const B3 = "M3.2793 0C3.55534 0.000112402 3.7793 0.223927 3.7793 0.5V30.4688C3.7
6019
6019
  ]
6020
6020
  }
6021
6021
  ),
6022
- c && /* @__PURE__ */ e(J, { as: "span", variant: "labelRegular", className: ["kdls-radio-group__hint", o !== "none" ? `kdls-radio-group__hint--${o}` : "", s ? "kdls-radio-group__hint--disabled" : ""].filter(Boolean).join(" "), children: c })
6022
+ c && /* @__PURE__ */ e(J, { as: "span", variant: "labelRegular", className: ["kdls-radio-group__hint", o !== "none" ? `kdls-radio-group__hint--${o}` : "", i ? "kdls-radio-group__hint--disabled" : ""].filter(Boolean).join(" "), children: c })
6023
6023
  ] });
6024
6024
  });
6025
6025
  j3.displayName = "RadioGroup";
@@ -6032,16 +6032,16 @@ const jl = {
6032
6032
  width: l = "hug",
6033
6033
  hint: r,
6034
6034
  checked: a,
6035
- defaultChecked: i = !1,
6036
- onChange: s,
6035
+ defaultChecked: s = !1,
6036
+ onChange: i,
6037
6037
  container: o = !1,
6038
6038
  disabled: c = !1,
6039
6039
  className: C = ""
6040
6040
  }) => {
6041
- const u = ue(), m = ue(), k = a !== void 0, [f, p] = D(i), h = k ? a : f, _ = () => {
6041
+ const u = ue(), m = ue(), k = a !== void 0, [f, p] = D(s), h = k ? a : f, _ = () => {
6042
6042
  if (c) return;
6043
6043
  const V = !h;
6044
- k || p(V), s == null || s(V);
6044
+ k || p(V), i == null || i(V);
6045
6045
  }, L = ["kdls-switch__hint", c ? "kdls-switch__hint--disabled" : ""].filter(Boolean).join(" "), N = /* @__PURE__ */ d(
6046
6046
  "div",
6047
6047
  {
@@ -6091,14 +6091,14 @@ const jl = {
6091
6091
  minHeight: r = 200,
6092
6092
  className: a = ""
6093
6093
  }) => {
6094
- const i = c1(null), [s, o] = D("16"), [c, C] = D(0), u = A1((f, p) => {
6094
+ const s = c1(null), [i, o] = D("16"), [c, C] = D(0), u = A1((f, p) => {
6095
6095
  var h, _;
6096
- (h = i.current) == null || h.focus(), document.execCommand(f, !1, p), l == null || l(((_ = i.current) == null ? void 0 : _.innerHTML) ?? "");
6096
+ (h = s.current) == null || h.focus(), document.execCommand(f, !1, p), l == null || l(((_ = s.current) == null ? void 0 : _.innerHTML) ?? "");
6097
6097
  }, [l]), m = (f) => {
6098
6098
  var p;
6099
- o(f), u("fontSize", "7"), i.current && i.current.querySelectorAll('font[size="7"]').forEach((_) => {
6099
+ o(f), u("fontSize", "7"), s.current && s.current.querySelectorAll('font[size="7"]').forEach((_) => {
6100
6100
  _.removeAttribute("size"), _.style.fontSize = `${f}px`;
6101
- }), l == null || l(((p = i.current) == null ? void 0 : p.innerHTML) ?? "");
6101
+ }), l == null || l(((p = s.current) == null ? void 0 : p.innerHTML) ?? "");
6102
6102
  }, k = (f) => {
6103
6103
  C(f), u(L2[f].command);
6104
6104
  };
@@ -6109,9 +6109,9 @@ const jl = {
6109
6109
  {
6110
6110
  variant: "navButton",
6111
6111
  icon: /* @__PURE__ */ e(E0, {}),
6112
- label: String(s),
6112
+ label: String(i),
6113
6113
  placement: "bottomLeft",
6114
- children: P3.map((f) => /* @__PURE__ */ d(G1.Item, { active: s === f, onClick: () => m(f), children: [
6114
+ children: P3.map((f) => /* @__PURE__ */ d(G1.Item, { active: i === f, onClick: () => m(f), children: [
6115
6115
  f,
6116
6116
  "px"
6117
6117
  ] }, f))
@@ -6150,13 +6150,13 @@ const jl = {
6150
6150
  /* @__PURE__ */ e(
6151
6151
  "div",
6152
6152
  {
6153
- ref: i,
6153
+ ref: s,
6154
6154
  className: "kdls-text-editor__body",
6155
6155
  contentEditable: !0,
6156
6156
  suppressContentEditableWarning: !0,
6157
6157
  onInput: () => {
6158
6158
  var f;
6159
- return l == null ? void 0 : l(((f = i.current) == null ? void 0 : f.innerHTML) ?? "");
6159
+ return l == null ? void 0 : l(((f = s.current) == null ? void 0 : f.innerHTML) ?? "");
6160
6160
  },
6161
6161
  style: { "--te-min-height": `${r}px` },
6162
6162
  "data-placeholder": t,
@@ -6169,7 +6169,7 @@ let O1 = [];
6169
6169
  const E2 = /* @__PURE__ */ new Map(), De = /* @__PURE__ */ new Map();
6170
6170
  let g5 = 0, W3 = 0;
6171
6171
  const R2 = /* @__PURE__ */ new Set();
6172
- let He = !1, B2 = 0, Ke, ee;
6172
+ let He = !1, B2 = 0, Ke, se;
6173
6173
  function Ye() {
6174
6174
  const t = [...O1];
6175
6175
  R2.forEach((n) => n(t));
@@ -6182,19 +6182,19 @@ function Y3(t) {
6182
6182
  const et = () => O1.filter((t) => !t.leaving);
6183
6183
  function m2() {
6184
6184
  const t = Date.now(), n = t - B2;
6185
- B2 = t, !(He || n <= 0) && (De.forEach((l, r) => De.set(r, Math.max(0, l - n))), ee !== void 0 && (ee = Math.max(0, ee - n)));
6185
+ B2 = t, !(He || n <= 0) && (De.forEach((l, r) => De.set(r, Math.max(0, l - n))), se !== void 0 && (se = Math.max(0, se - n)));
6186
6186
  }
6187
- function tt() {
6188
- let t = !1;
6189
- De.forEach((l, r) => {
6190
- l > 0 || (De.delete(r), g5 += 1, O1 = O1.map((a) => a.id === r ? { ...a, joined: !0, joinOrder: g5 } : a), t = !0);
6187
+ function tt(t = !1) {
6188
+ let n = !1;
6189
+ De.forEach((r, a) => {
6190
+ r > 0 || (De.delete(a), g5 += 1, O1 = O1.map((s) => s.id === a ? { ...s, joined: !0, joinOrder: g5 } : s), n = !0);
6191
6191
  });
6192
- const n = et();
6193
- n.length > 0 && n.every((l) => l.joined) ? (n.length === 1 ? ee = 0 : ee === void 0 && (ee = q3), ee === 0 && (ee = void 0, n.forEach((l) => O2(l.id)), t = !0)) : ee = void 0, t && Ye();
6192
+ const l = et();
6193
+ l.length > 0 && l.every((r) => r.joined) ? (se === void 0 && (se = l.length === 1 && !t ? 0 : q3), se === 0 && (se = void 0, l.forEach((r) => O2(r.id)), n = !0)) : se = void 0, n && Ye();
6194
6194
  }
6195
6195
  function Ge() {
6196
6196
  if (clearTimeout(Ke), Ke = void 0, He) return;
6197
- let t = ee ?? 1 / 0;
6197
+ let t = se ?? 1 / 0;
6198
6198
  De.forEach((n) => {
6199
6199
  t = Math.min(t, n);
6200
6200
  }), t !== 1 / 0 && (Ke = setTimeout(G3, t));
@@ -6207,14 +6207,14 @@ function O2(t) {
6207
6207
  }
6208
6208
  function X3(t) {
6209
6209
  const n = O1.find((l) => l.id === t);
6210
- !n || n.leaving || (m2(), O2(t), tt(), Ye(), Ge());
6210
+ !n || n.leaving || (m2(), O2(t), tt(!0), Ye(), Ge());
6211
6211
  }
6212
6212
  function J3(t) {
6213
6213
  O1 = O1.filter((n) => n.id !== t), O1.length === 0 && (He = !1), Ye();
6214
6214
  }
6215
6215
  function je(t, n = {}) {
6216
6216
  m2();
6217
- const l = ++W3, r = Date.now(), a = n.feedback ?? "neutral", i = {
6217
+ const l = ++W3, r = Date.now(), a = n.feedback ?? "neutral", s = {
6218
6218
  id: l,
6219
6219
  message: t,
6220
6220
  feedback: a,
@@ -6226,16 +6226,16 @@ function je(t, n = {}) {
6226
6226
  showDismiss: n.showDismiss ?? !0,
6227
6227
  leaving: !1,
6228
6228
  joined: !1
6229
- }, s = O1.findIndex(
6229
+ }, i = O1.findIndex(
6230
6230
  (o) => !o.leaving && !o.joined && r - (E2.get(o.id) ?? 0) <= U3 && _5[o.feedback] > _5[a]
6231
6231
  );
6232
- return O1 = s < 0 ? [...O1, i] : [...O1.slice(0, s), i, ...O1.slice(s)], E2.set(l, r), De.set(l, a === "error" ? K3 : O3), ee = void 0, Ye(), Ge(), l;
6232
+ return O1 = i < 0 ? [...O1, s] : [...O1.slice(0, i), s, ...O1.slice(i)], E2.set(l, r), De.set(l, a === "error" ? K3 : O3), se = void 0, Ye(), Ge(), l;
6233
6233
  }
6234
6234
  function nt(t) {
6235
6235
  X3(t);
6236
6236
  }
6237
6237
  function Q3() {
6238
- et().forEach((t) => O2(t.id)), ee = void 0, clearTimeout(Ke), Ke = void 0, Ye();
6238
+ et().forEach((t) => O2(t.id)), se = void 0, clearTimeout(Ke), Ke = void 0, Ye();
6239
6239
  }
6240
6240
  function en() {
6241
6241
  He || (m2(), He = !0, Ge());
@@ -6265,8 +6265,8 @@ const nn = (t, n) => je(t, n), Kl = Object.assign(nn, {
6265
6265
  actionLabel: l,
6266
6266
  onAction: r,
6267
6267
  actionDisabled: a = !1,
6268
- actionDisabledTooltip: i,
6269
- actionDisabledTooltipPosition: s = "top",
6268
+ actionDisabledTooltip: s,
6269
+ actionDisabledTooltipPosition: i = "top",
6270
6270
  showDismiss: o = !0,
6271
6271
  onDismiss: c,
6272
6272
  leaving: C = !1,
@@ -6293,8 +6293,8 @@ const nn = (t, n) => je(t, n), Kl = Object.assign(nn, {
6293
6293
  label: l,
6294
6294
  onClick: r,
6295
6295
  disabled: a,
6296
- disabledTooltip: i,
6297
- disabledTooltipPosition: s,
6296
+ disabledTooltip: s,
6297
+ disabledTooltipPosition: i,
6298
6298
  className: "kdls-toast__action"
6299
6299
  }
6300
6300
  ) }),
@@ -6319,11 +6319,11 @@ function sn(t) {
6319
6319
  }
6320
6320
  }
6321
6321
  const ql = () => {
6322
- const [t, n] = D([]), [l, r] = D(!1), [a, i] = D(!1), [s, o] = D(!1), [c, C] = D({}), [u, m] = D(/* @__PURE__ */ new Set()), k = c1(null), f = c1(null), p = c1(/* @__PURE__ */ new Map()), h = c1(/* @__PURE__ */ new Map());
6322
+ const [t, n] = D([]), [l, r] = D(!1), [a, s] = D(!1), [i, o] = D(!1), [c, C] = D({}), [u, m] = D(/* @__PURE__ */ new Set()), k = c1(null), f = c1(null), p = c1(/* @__PURE__ */ new Map()), h = c1(/* @__PURE__ */ new Map());
6323
6323
  i1(() => Y3(n), []);
6324
6324
  const _ = t.length > 1;
6325
6325
  i1(() => {
6326
- _ || (r(!1), t.length === 0 && (i(!1), o(!1)));
6326
+ _ || (r(!1), t.length === 0 && (s(!1), o(!1)));
6327
6327
  }, [_, t.length]), i1(() => {
6328
6328
  if (!l) return;
6329
6329
  const v = (Z) => {
@@ -6364,7 +6364,7 @@ const ql = () => {
6364
6364
  }), h.current.forEach((v, b) => {
6365
6365
  t.some((Z) => Z.id === b) || h.current.delete(b);
6366
6366
  });
6367
- const S = F.length > 0, z = _ && (a || s || l), O = (v) => {
6367
+ const S = F.length > 0, z = _ && (a || i || l), O = (v) => {
6368
6368
  S && !v.target.closest("button") && r(!0);
6369
6369
  }, a1 = (v) => {
6370
6370
  S && v.key === "Enter" && v.target === v.currentTarget && r(!0);
@@ -6376,10 +6376,10 @@ const ql = () => {
6376
6376
  ref: k,
6377
6377
  className: "kdls-toaster__stack",
6378
6378
  onMouseEnter: () => {
6379
- i(!0), en();
6379
+ s(!0), en();
6380
6380
  },
6381
6381
  onMouseLeave: () => {
6382
- i(!1), tn();
6382
+ s(!1), tn();
6383
6383
  },
6384
6384
  onFocus: (v) => o(v.target === f.current || sn(v.target)),
6385
6385
  onBlur: (v) => {
@@ -6460,23 +6460,23 @@ const ql = () => {
6460
6460
  value: l,
6461
6461
  defaultValue: r,
6462
6462
  onChange: a,
6463
- disabled: i = !1,
6464
- "aria-label": s,
6463
+ disabled: s = !1,
6464
+ "aria-label": i,
6465
6465
  "aria-labelledby": o,
6466
6466
  className: c = ""
6467
6467
  }) => {
6468
6468
  const C = l !== void 0, [u, m] = D(r), k = C ? l : u, f = t.every((h) => (h.iconLeft || h.iconRight) && !h.label), p = (h) => {
6469
- i || h.disabled || (C || m(h.value), a == null || a(h.value));
6469
+ s || h.disabled || (C || m(h.value), a == null || a(h.value));
6470
6470
  };
6471
6471
  return /* @__PURE__ */ e(
6472
6472
  "div",
6473
6473
  {
6474
- className: ["kdls-toggle", i ? "kdls-toggle--disabled" : "", f ? "kdls-toggle--icon-only" : "", n !== "hug" ? `kdls-toggle--${n}` : "", c].filter(Boolean).join(" "),
6474
+ className: ["kdls-toggle", s ? "kdls-toggle--disabled" : "", f ? "kdls-toggle--icon-only" : "", n !== "hug" ? `kdls-toggle--${n}` : "", c].filter(Boolean).join(" "),
6475
6475
  role: "radiogroup",
6476
- "aria-label": s,
6476
+ "aria-label": i,
6477
6477
  "aria-labelledby": o,
6478
6478
  children: t.map((h) => {
6479
- const _ = i || !!h.disabled;
6479
+ const _ = s || !!h.disabled;
6480
6480
  return /* @__PURE__ */ d(
6481
6481
  "button",
6482
6482
  {
@@ -6534,8 +6534,8 @@ const zl = ({
6534
6534
  primaryLabel: l,
6535
6535
  onPrimary: r,
6536
6536
  primaryLoading: a = !1,
6537
- primaryDisabled: i = !1,
6538
- primaryDisabledTooltip: s,
6537
+ primaryDisabled: s = !1,
6538
+ primaryDisabledTooltip: i,
6539
6539
  secondaryLabel: o,
6540
6540
  onSecondary: c,
6541
6541
  secondaryLoading: C = !1,
@@ -6605,8 +6605,8 @@ const zl = ({
6605
6605
  label: l,
6606
6606
  onClick: V,
6607
6607
  isLoading: h || a,
6608
- disabled: i,
6609
- disabledTooltip: s,
6608
+ disabled: s,
6609
+ disabledTooltip: i,
6610
6610
  disabledTooltipPosition: "top",
6611
6611
  className: "kdls-bulk-action-bar__primary"
6612
6612
  }
@@ -6621,9 +6621,9 @@ const zl = ({
6621
6621
  left: l,
6622
6622
  right: r,
6623
6623
  children: a,
6624
- bordered: i = !0,
6625
- className: s = ""
6626
- }) => /* @__PURE__ */ d("div", { className: ["kdls-card__header", i ? "" : "kdls-card__header--borderless", s].filter(Boolean).join(" "), children: [
6624
+ bordered: s = !0,
6625
+ className: i = ""
6626
+ }) => /* @__PURE__ */ d("div", { className: ["kdls-card__header", s ? "" : "kdls-card__header--borderless", i].filter(Boolean).join(" "), children: [
6627
6627
  /* @__PURE__ */ d("div", { className: "kdls-card__header-top", children: [
6628
6628
  /* @__PURE__ */ d("div", { className: "kdls-card__header-left-col", children: [
6629
6629
  (t || l) && /* @__PURE__ */ d("div", { className: "kdls-card__header-title-row", children: [
@@ -6647,13 +6647,13 @@ const zl = ({
6647
6647
  hideLabel: l = "Exibir menos",
6648
6648
  align: r = "center",
6649
6649
  defaultOpen: a = !1,
6650
- open: i,
6651
- onOpenChange: s,
6650
+ open: s,
6651
+ onOpenChange: i,
6652
6652
  showIcon: o = !0,
6653
6653
  className: c = ""
6654
6654
  }) => {
6655
- const [C, u] = D(a), m = i !== void 0, k = m ? i : C, f = () => {
6656
- m ? s == null || s(!k) : u((p) => !p);
6655
+ const [C, u] = D(a), m = s !== void 0, k = m ? s : C, f = () => {
6656
+ m ? i == null || i(!k) : u((p) => !p);
6657
6657
  };
6658
6658
  return /* @__PURE__ */ d("div", { className: ["kdls-card__collapsible", c].filter(Boolean).join(" "), children: [
6659
6659
  /* @__PURE__ */ e("div", { className: ["kdls-card__collapsible-body-wrap", k ? "kdls-card__collapsible-body-wrap--open" : ""].filter(Boolean).join(" "), children: /* @__PURE__ */ e("div", { className: "kdls-card__collapsible-body-clip", children: /* @__PURE__ */ e("div", { className: "kdls-card__collapsible-body", children: t }) }) }),
@@ -6676,8 +6676,8 @@ const zl = ({
6676
6676
  coverWidth: l,
6677
6677
  coverHeight: r,
6678
6678
  coverBadges: a,
6679
- horizontal: i = !1,
6680
- size: s = "md",
6679
+ horizontal: s = !1,
6680
+ size: i = "md",
6681
6681
  bordered: o = !1,
6682
6682
  hoverable: c = !1,
6683
6683
  onClick: C,
@@ -6687,15 +6687,15 @@ const zl = ({
6687
6687
  className: f = ""
6688
6688
  }) => {
6689
6689
  const p = c && !!C, h = {};
6690
- i && l && (h.width = l), !i && r && (h.height = r);
6691
- const _ = !i && !r;
6690
+ s && l && (h.width = l), !s && r && (h.height = r);
6691
+ const _ = !s && !r;
6692
6692
  return /* @__PURE__ */ d(
6693
6693
  "div",
6694
6694
  {
6695
6695
  className: [
6696
6696
  "kdls-card",
6697
- i ? "kdls-card--horizontal" : "",
6698
- s === "sm" ? "kdls-card--sm" : "",
6697
+ s ? "kdls-card--horizontal" : "",
6698
+ i === "sm" ? "kdls-card--sm" : "",
6699
6699
  o ? "kdls-card--bordered" : "",
6700
6700
  c ? "kdls-card--hoverable" : "",
6701
6701
  f
@@ -6739,12 +6739,12 @@ function hn(t, n, l) {
6739
6739
  [
6740
6740
  1,
6741
6741
  n,
6742
- ...Array.from({ length: l * 2 + 1 }, (s, o) => t - l + o)
6743
- ].filter((s) => s >= 1 && s <= n)
6742
+ ...Array.from({ length: l * 2 + 1 }, (i, o) => t - l + o)
6743
+ ].filter((i) => i >= 1 && i <= n)
6744
6744
  ), a = [];
6745
- let i = null;
6746
- for (const s of [...r].sort((o, c) => o - c))
6747
- i !== null && s - i > 1 && a.push("…"), a.push(s), i = s;
6745
+ let s = null;
6746
+ for (const i of [...r].sort((o, c) => o - c))
6747
+ s !== null && i - s > 1 && a.push("…"), a.push(i), s = i;
6748
6748
  return a;
6749
6749
  }
6750
6750
  const mn = ({
@@ -6753,8 +6753,8 @@ const mn = ({
6753
6753
  onChange: l,
6754
6754
  siblingCount: r = 2,
6755
6755
  pageSize: a = 20,
6756
- showSizeChanger: i = !1,
6757
- disabled: s = !1,
6756
+ showSizeChanger: s = !1,
6757
+ disabled: i = !1,
6758
6758
  hideOnSinglePage: o = !1,
6759
6759
  className: c = ""
6760
6760
  }) => {
@@ -6767,7 +6767,7 @@ const mn = ({
6767
6767
  "aria-label": "Paginação",
6768
6768
  className: ["kdls-pagination", c].filter(Boolean).join(" "),
6769
6769
  children: [
6770
- /* @__PURE__ */ e("div", { className: "kdls-pagination__info", children: i ? /* @__PURE__ */ d(N1, { children: [
6770
+ /* @__PURE__ */ e("div", { className: "kdls-pagination__info", children: s ? /* @__PURE__ */ d(N1, { children: [
6771
6771
  /* @__PURE__ */ e(J, { as: "span", variant: "bodySm", className: "kdls-pagination__info-text", children: "Exibindo" }),
6772
6772
  /* @__PURE__ */ e(
6773
6773
  c2,
@@ -6777,7 +6777,7 @@ const mn = ({
6777
6777
  options: [10, 20, 50].map((m) => ({ label: String(m), value: String(m) })),
6778
6778
  value: String(a),
6779
6779
  clearable: !1,
6780
- disabled: s,
6780
+ disabled: i,
6781
6781
  onChange: (m) => {
6782
6782
  m && l(1, Number(m));
6783
6783
  }
@@ -6801,7 +6801,7 @@ const mn = ({
6801
6801
  {
6802
6802
  size: "md",
6803
6803
  icon: /* @__PURE__ */ e(w0, {}),
6804
- disabled: s || t <= 1,
6804
+ disabled: i || t <= 1,
6805
6805
  "aria-label": "Página anterior",
6806
6806
  onClick: () => l(t - 1, a)
6807
6807
  }
@@ -6812,7 +6812,7 @@ const mn = ({
6812
6812
  {
6813
6813
  label: String(m),
6814
6814
  active: m === t,
6815
- disabled: s,
6815
+ disabled: i,
6816
6816
  onClick: () => l(m, a),
6817
6817
  "aria-label": `Página ${m}`,
6818
6818
  "aria-current": m === t ? "page" : void 0
@@ -6825,7 +6825,7 @@ const mn = ({
6825
6825
  {
6826
6826
  size: "md",
6827
6827
  icon: /* @__PURE__ */ e(y0, {}),
6828
- disabled: s || t >= C,
6828
+ disabled: i || t >= C,
6829
6829
  "aria-label": "Próxima página",
6830
6830
  onClick: () => l(t + 1, a)
6831
6831
  }
@@ -6841,12 +6841,12 @@ const mn = ({
6841
6841
  value: l,
6842
6842
  onChange: r,
6843
6843
  onReset: a,
6844
- className: i = ""
6844
+ className: s = ""
6845
6845
  }) => {
6846
- const [s, o] = D(!1), c = ue(), C = `${c}-trigger`, u = c1(null), m = n.flatMap((h) => h.columns.map((_) => _.key));
6846
+ const [i, o] = D(!1), c = ue(), C = `${c}-trigger`, u = c1(null), m = n.flatMap((h) => h.columns.map((_) => _.key));
6847
6847
  i1(() => {
6848
6848
  const h = u.current;
6849
- if (!s || !h) return;
6849
+ if (!i || !h) return;
6850
6850
  const _ = () => {
6851
6851
  const V = h.querySelector(pn);
6852
6852
  return V == null || V.focus({ preventScroll: !0 }), !!V && document.activeElement === V;
@@ -6858,7 +6858,7 @@ const mn = ({
6858
6858
  _() && N.disconnect();
6859
6859
  });
6860
6860
  return N.observe(L, { attributes: !0, attributeFilter: ["style"] }), () => N.disconnect();
6861
- }, [s]);
6861
+ }, [i]);
6862
6862
  const k = (h, _) => {
6863
6863
  const L = new Set(l);
6864
6864
  _ ? L.add(h) : L.delete(h), r([...m.filter((N) => L.has(N)), ...l.filter((N) => !m.includes(N))]);
@@ -6897,7 +6897,7 @@ const mn = ({
6897
6897
  return /* @__PURE__ */ e(
6898
6898
  A3,
6899
6899
  {
6900
- open: s,
6900
+ open: i,
6901
6901
  onOpenChange: o,
6902
6902
  trigger: "click",
6903
6903
  placement: "bottomRight",
@@ -6909,10 +6909,10 @@ const mn = ({
6909
6909
  id: C,
6910
6910
  label: t,
6911
6911
  iconLeft: /* @__PURE__ */ e(d0, {}),
6912
- active: s,
6912
+ active: i,
6913
6913
  "aria-haspopup": "dialog",
6914
- "aria-expanded": s,
6915
- className: i
6914
+ "aria-expanded": i,
6915
+ className: s
6916
6916
  }
6917
6917
  )
6918
6918
  }
@@ -6926,10 +6926,10 @@ function gn(t, n) {
6926
6926
  return i1(() => {
6927
6927
  const a = t.current;
6928
6928
  if (!a) return;
6929
- const i = (o) => r(o > 0 && o <= n);
6930
- i(a.getBoundingClientRect().width);
6931
- const s = new ResizeObserver(([o]) => i(o.contentRect.width));
6932
- return s.observe(a), () => s.disconnect();
6929
+ const s = (o) => r(o > 0 && o <= n);
6930
+ s(a.getBoundingClientRect().width);
6931
+ const i = new ResizeObserver(([o]) => s(o.contentRect.width));
6932
+ return i.observe(a), () => i.disconnect();
6933
6933
  }, [t, n]), l;
6934
6934
  }
6935
6935
  const bn = ({
@@ -6976,8 +6976,8 @@ function Mn({
6976
6976
  variant: l = "default",
6977
6977
  bordered: r = !1,
6978
6978
  header: a,
6979
- keyField: i = "id",
6980
- rowSelection: s = !1,
6979
+ keyField: s = "id",
6980
+ rowSelection: i = !1,
6981
6981
  selectedIds: o = [],
6982
6982
  onSelectionChange: c,
6983
6983
  sortIndicator: C = "always",
@@ -6995,7 +6995,7 @@ function Mn({
6995
6995
  R && R !== t1.currentTarget || p(M);
6996
6996
  }, W = (M, t1) => {
6997
6997
  t1.target === t1.currentTarget && (t1.key !== "Enter" && t1.key !== " " || (t1.preventDefault(), p(M)));
6998
- }, $ = u !== void 0, [F, H] = D(m), B = $ ? u : F, j = (M) => String(M[i]), P = Ve(() => new Set(o), [o]), S = s && n.length > 0 && n.every((M) => P.has(j(M))), z = s && !S && n.some((M) => P.has(j(M))), O = () => {
6998
+ }, $ = u !== void 0, [F, H] = D(m), B = $ ? u : F, j = (M) => String(M[s]), P = Ve(() => new Set(o), [o]), S = i && n.length > 0 && n.every((M) => P.has(j(M))), z = i && !S && n.some((M) => P.has(j(M))), O = () => {
6999
6999
  c && c(S ? [] : n.map(j));
7000
7000
  }, a1 = (M) => {
7001
7001
  c && c(
@@ -7024,7 +7024,7 @@ function Mn({
7024
7024
  if (!M || typeof M.sortable != "function") return n;
7025
7025
  const t1 = [...n].sort(M.sortable);
7026
7026
  return B.direction === "desc" && t1.reverse(), t1;
7027
- }, [n, B, t]), I = Nn(t, s), A = Ve(
7027
+ }, [n, B, t]), I = Nn(t, i), A = Ve(
7028
7028
  () => ({ gridTemplateColumns: V ? "1fr" : I }),
7029
7029
  [I, V]
7030
7030
  ), q = ["kdls-table__list", "kdls-scroll", "kdls-scroll--thin"].join(" "), y = !V || K.length > 0;
@@ -7065,7 +7065,7 @@ function Mn({
7065
7065
  /* @__PURE__ */ d("div", { className: q, role: y ? "table" : void 0, children: [
7066
7066
  !V && /* Header row — same gridTemplateColumns as data rows for pixel-perfect alignment */
7067
7067
  /* @__PURE__ */ d("div", { className: "kdls-table__row kdls-table__row--header", role: "row", style: A, children: [
7068
- s && /* @__PURE__ */ e("div", { className: "kdls-table__col kdls-table__col--check", role: "cell", children: /* @__PURE__ */ e(
7068
+ i && /* @__PURE__ */ e("div", { className: "kdls-table__col kdls-table__col--check", role: "cell", children: /* @__PURE__ */ e(
7069
7069
  Me,
7070
7070
  {
7071
7071
  checked: S,
@@ -7120,7 +7120,7 @@ function Mn({
7120
7120
  onClick: w ? (e1) => E(M, e1) : void 0,
7121
7121
  onKeyDown: w ? (e1) => W(M, e1) : void 0,
7122
7122
  children: [
7123
- s && /* @__PURE__ */ e("div", { className: "kdls-table__col kdls-table__col--check", role: "cell", children: /* @__PURE__ */ e(
7123
+ i && /* @__PURE__ */ e("div", { className: "kdls-table__col kdls-table__col--check", role: "cell", children: /* @__PURE__ */ e(
7124
7124
  Me,
7125
7125
  {
7126
7126
  checked: G,