@akad/design-system 0.2.0-beta.12 → 0.2.0-beta.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
- import { jsx as c, jsxs as O, Fragment as tt } from "react/jsx-runtime";
2
- import be, { useMemo as Ce, useState as j, useEffect as J, useRef as Je, useCallback as Ae, useLayoutEffect as _n, createElement as vn } from "react";
3
- function kn(a) {
4
- return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
1
+ import { jsx as c, jsxs as D, Fragment as tt } from "react/jsx-runtime";
2
+ import be, { useMemo as Se, useState as j, useEffect as J, useRef as Je, useCallback as Ae, useLayoutEffect as _n, createElement as vn } from "react";
3
+ function kn(i) {
4
+ return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
5
5
  }
6
- var It = { exports: {} }, nt = { exports: {} }, H = {};
6
+ var It = { exports: {} }, nt = { exports: {} }, U = {};
7
7
  /** @license React v16.13.1
8
8
  * react-is.production.min.js
9
9
  *
@@ -15,19 +15,19 @@ var It = { exports: {} }, nt = { exports: {} }, H = {};
15
15
  var Lt;
16
16
  function bn() {
17
17
  if (Lt)
18
- return H;
18
+ return U;
19
19
  Lt = 1;
20
- var a = typeof Symbol == "function" && Symbol.for, e = a ? Symbol.for("react.element") : 60103, t = a ? Symbol.for("react.portal") : 60106, s = a ? Symbol.for("react.fragment") : 60107, n = a ? Symbol.for("react.strict_mode") : 60108, i = a ? Symbol.for("react.profiler") : 60114, r = a ? Symbol.for("react.provider") : 60109, l = a ? Symbol.for("react.context") : 60110, u = a ? Symbol.for("react.async_mode") : 60111, d = a ? Symbol.for("react.concurrent_mode") : 60111, h = a ? Symbol.for("react.forward_ref") : 60112, f = a ? Symbol.for("react.suspense") : 60113, _ = a ? Symbol.for("react.suspense_list") : 60120, v = a ? Symbol.for("react.memo") : 60115, C = a ? Symbol.for("react.lazy") : 60116, y = a ? Symbol.for("react.block") : 60121, m = a ? Symbol.for("react.fundamental") : 60117, F = a ? Symbol.for("react.responder") : 60118, P = a ? Symbol.for("react.scope") : 60119;
20
+ var i = typeof Symbol == "function" && Symbol.for, e = i ? Symbol.for("react.element") : 60103, t = i ? Symbol.for("react.portal") : 60106, s = i ? Symbol.for("react.fragment") : 60107, n = i ? Symbol.for("react.strict_mode") : 60108, a = i ? Symbol.for("react.profiler") : 60114, r = i ? Symbol.for("react.provider") : 60109, l = i ? Symbol.for("react.context") : 60110, u = i ? Symbol.for("react.async_mode") : 60111, d = i ? Symbol.for("react.concurrent_mode") : 60111, h = i ? Symbol.for("react.forward_ref") : 60112, f = i ? Symbol.for("react.suspense") : 60113, _ = i ? Symbol.for("react.suspense_list") : 60120, v = i ? Symbol.for("react.memo") : 60115, S = i ? Symbol.for("react.lazy") : 60116, y = i ? Symbol.for("react.block") : 60121, m = i ? Symbol.for("react.fundamental") : 60117, F = i ? Symbol.for("react.responder") : 60118, P = i ? Symbol.for("react.scope") : 60119;
21
21
  function A(p) {
22
22
  if (typeof p == "object" && p !== null) {
23
- var S = p.$$typeof;
24
- switch (S) {
23
+ var x = p.$$typeof;
24
+ switch (x) {
25
25
  case e:
26
26
  switch (p = p.type, p) {
27
27
  case u:
28
28
  case d:
29
29
  case s:
30
- case i:
30
+ case a:
31
31
  case n:
32
32
  case f:
33
33
  return p;
@@ -35,51 +35,51 @@ function bn() {
35
35
  switch (p = p && p.$$typeof, p) {
36
36
  case l:
37
37
  case h:
38
- case C:
38
+ case S:
39
39
  case v:
40
40
  case r:
41
41
  return p;
42
42
  default:
43
- return S;
43
+ return x;
44
44
  }
45
45
  }
46
46
  case t:
47
- return S;
47
+ return x;
48
48
  }
49
49
  }
50
50
  }
51
- function x(p) {
51
+ function E(p) {
52
52
  return A(p) === d;
53
53
  }
54
- return H.AsyncMode = u, H.ConcurrentMode = d, H.ContextConsumer = l, H.ContextProvider = r, H.Element = e, H.ForwardRef = h, H.Fragment = s, H.Lazy = C, H.Memo = v, H.Portal = t, H.Profiler = i, H.StrictMode = n, H.Suspense = f, H.isAsyncMode = function(p) {
55
- return x(p) || A(p) === u;
56
- }, H.isConcurrentMode = x, H.isContextConsumer = function(p) {
54
+ return U.AsyncMode = u, U.ConcurrentMode = d, U.ContextConsumer = l, U.ContextProvider = r, U.Element = e, U.ForwardRef = h, U.Fragment = s, U.Lazy = S, U.Memo = v, U.Portal = t, U.Profiler = a, U.StrictMode = n, U.Suspense = f, U.isAsyncMode = function(p) {
55
+ return E(p) || A(p) === u;
56
+ }, U.isConcurrentMode = E, U.isContextConsumer = function(p) {
57
57
  return A(p) === l;
58
- }, H.isContextProvider = function(p) {
58
+ }, U.isContextProvider = function(p) {
59
59
  return A(p) === r;
60
- }, H.isElement = function(p) {
60
+ }, U.isElement = function(p) {
61
61
  return typeof p == "object" && p !== null && p.$$typeof === e;
62
- }, H.isForwardRef = function(p) {
62
+ }, U.isForwardRef = function(p) {
63
63
  return A(p) === h;
64
- }, H.isFragment = function(p) {
64
+ }, U.isFragment = function(p) {
65
65
  return A(p) === s;
66
- }, H.isLazy = function(p) {
67
- return A(p) === C;
68
- }, H.isMemo = function(p) {
66
+ }, U.isLazy = function(p) {
67
+ return A(p) === S;
68
+ }, U.isMemo = function(p) {
69
69
  return A(p) === v;
70
- }, H.isPortal = function(p) {
70
+ }, U.isPortal = function(p) {
71
71
  return A(p) === t;
72
- }, H.isProfiler = function(p) {
73
- return A(p) === i;
74
- }, H.isStrictMode = function(p) {
72
+ }, U.isProfiler = function(p) {
73
+ return A(p) === a;
74
+ }, U.isStrictMode = function(p) {
75
75
  return A(p) === n;
76
- }, H.isSuspense = function(p) {
76
+ }, U.isSuspense = function(p) {
77
77
  return A(p) === f;
78
- }, H.isValidElementType = function(p) {
79
- return typeof p == "string" || typeof p == "function" || p === s || p === d || p === i || p === n || p === f || p === _ || typeof p == "object" && p !== null && (p.$$typeof === C || p.$$typeof === v || p.$$typeof === r || p.$$typeof === l || p.$$typeof === h || p.$$typeof === m || p.$$typeof === F || p.$$typeof === P || p.$$typeof === y);
80
- }, H.typeOf = A, H;
78
+ }, U.isValidElementType = function(p) {
79
+ return typeof p == "string" || typeof p == "function" || p === s || p === d || p === a || p === n || p === f || p === _ || typeof p == "object" && p !== null && (p.$$typeof === S || p.$$typeof === v || p.$$typeof === r || p.$$typeof === l || p.$$typeof === h || p.$$typeof === m || p.$$typeof === F || p.$$typeof === P || p.$$typeof === y);
80
+ }, U.typeOf = A, U;
81
81
  }
82
- var W = {};
82
+ var H = {};
83
83
  /** @license React v16.13.1
84
84
  * react-is.development.js
85
85
  *
@@ -89,24 +89,24 @@ var W = {};
89
89
  * LICENSE file in the root directory of this source tree.
90
90
  */
91
91
  var Pt;
92
- function Cn() {
92
+ function Sn() {
93
93
  return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && function() {
94
- var a = typeof Symbol == "function" && Symbol.for, e = a ? Symbol.for("react.element") : 60103, t = a ? Symbol.for("react.portal") : 60106, s = a ? Symbol.for("react.fragment") : 60107, n = a ? Symbol.for("react.strict_mode") : 60108, i = a ? Symbol.for("react.profiler") : 60114, r = a ? Symbol.for("react.provider") : 60109, l = a ? Symbol.for("react.context") : 60110, u = a ? Symbol.for("react.async_mode") : 60111, d = a ? Symbol.for("react.concurrent_mode") : 60111, h = a ? Symbol.for("react.forward_ref") : 60112, f = a ? Symbol.for("react.suspense") : 60113, _ = a ? Symbol.for("react.suspense_list") : 60120, v = a ? Symbol.for("react.memo") : 60115, C = a ? Symbol.for("react.lazy") : 60116, y = a ? Symbol.for("react.block") : 60121, m = a ? Symbol.for("react.fundamental") : 60117, F = a ? Symbol.for("react.responder") : 60118, P = a ? Symbol.for("react.scope") : 60119;
94
+ var i = typeof Symbol == "function" && Symbol.for, e = i ? Symbol.for("react.element") : 60103, t = i ? Symbol.for("react.portal") : 60106, s = i ? Symbol.for("react.fragment") : 60107, n = i ? Symbol.for("react.strict_mode") : 60108, a = i ? Symbol.for("react.profiler") : 60114, r = i ? Symbol.for("react.provider") : 60109, l = i ? Symbol.for("react.context") : 60110, u = i ? Symbol.for("react.async_mode") : 60111, d = i ? Symbol.for("react.concurrent_mode") : 60111, h = i ? Symbol.for("react.forward_ref") : 60112, f = i ? Symbol.for("react.suspense") : 60113, _ = i ? Symbol.for("react.suspense_list") : 60120, v = i ? Symbol.for("react.memo") : 60115, S = i ? Symbol.for("react.lazy") : 60116, y = i ? Symbol.for("react.block") : 60121, m = i ? Symbol.for("react.fundamental") : 60117, F = i ? Symbol.for("react.responder") : 60118, P = i ? Symbol.for("react.scope") : 60119;
95
95
  function A(k) {
96
96
  return typeof k == "string" || typeof k == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
97
- k === s || k === d || k === i || k === n || k === f || k === _ || typeof k == "object" && k !== null && (k.$$typeof === C || k.$$typeof === v || k.$$typeof === r || k.$$typeof === l || k.$$typeof === h || k.$$typeof === m || k.$$typeof === F || k.$$typeof === P || k.$$typeof === y);
97
+ k === s || k === d || k === a || k === n || k === f || k === _ || typeof k == "object" && k !== null && (k.$$typeof === S || k.$$typeof === v || k.$$typeof === r || k.$$typeof === l || k.$$typeof === h || k.$$typeof === m || k.$$typeof === F || k.$$typeof === P || k.$$typeof === y);
98
98
  }
99
- function x(k) {
99
+ function E(k) {
100
100
  if (typeof k == "object" && k !== null) {
101
- var Se = k.$$typeof;
102
- switch (Se) {
101
+ var Ce = k.$$typeof;
102
+ switch (Ce) {
103
103
  case e:
104
104
  var st = k.type;
105
105
  switch (st) {
106
106
  case u:
107
107
  case d:
108
108
  case s:
109
- case i:
109
+ case a:
110
110
  case n:
111
111
  case f:
112
112
  return st;
@@ -115,65 +115,65 @@ function Cn() {
115
115
  switch (Vt) {
116
116
  case l:
117
117
  case h:
118
- case C:
118
+ case S:
119
119
  case v:
120
120
  case r:
121
121
  return Vt;
122
122
  default:
123
- return Se;
123
+ return Ce;
124
124
  }
125
125
  }
126
126
  case t:
127
- return Se;
127
+ return Ce;
128
128
  }
129
129
  }
130
130
  }
131
- var p = u, S = d, B = l, q = r, V = e, ae = h, ce = s, de = C, Fe = v, me = t, Le = i, oe = n, ye = f, Ie = !1;
131
+ var p = u, x = d, R = l, W = r, I = e, se = h, ce = s, de = S, Fe = v, ye = t, Le = a, oe = n, _e = f, Ie = !1;
132
132
  function Ne(k) {
133
- return Ie || (Ie = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), g(k) || x(k) === u;
133
+ return Ie || (Ie = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), g(k) || E(k) === u;
134
134
  }
135
135
  function g(k) {
136
- return x(k) === d;
136
+ return E(k) === d;
137
137
  }
138
138
  function b(k) {
139
- return x(k) === l;
139
+ return E(k) === l;
140
140
  }
141
- function $(k) {
142
- return x(k) === r;
141
+ function V(k) {
142
+ return E(k) === r;
143
143
  }
144
- function R(k) {
144
+ function N(k) {
145
145
  return typeof k == "object" && k !== null && k.$$typeof === e;
146
146
  }
147
- function D(k) {
148
- return x(k) === h;
147
+ function B(k) {
148
+ return E(k) === h;
149
149
  }
150
150
  function T(k) {
151
- return x(k) === s;
151
+ return E(k) === s;
152
152
  }
153
- function N(k) {
154
- return x(k) === C;
153
+ function M(k) {
154
+ return E(k) === S;
155
155
  }
156
156
  function L(k) {
157
- return x(k) === v;
157
+ return E(k) === v;
158
158
  }
159
- function U(k) {
160
- return x(k) === t;
159
+ function q(k) {
160
+ return E(k) === t;
161
161
  }
162
162
  function w(k) {
163
- return x(k) === i;
163
+ return E(k) === a;
164
164
  }
165
165
  function z(k) {
166
- return x(k) === n;
166
+ return E(k) === n;
167
167
  }
168
168
  function Q(k) {
169
- return x(k) === f;
169
+ return E(k) === f;
170
170
  }
171
- W.AsyncMode = p, W.ConcurrentMode = S, W.ContextConsumer = B, W.ContextProvider = q, W.Element = V, W.ForwardRef = ae, W.Fragment = ce, W.Lazy = de, W.Memo = Fe, W.Portal = me, W.Profiler = Le, W.StrictMode = oe, W.Suspense = ye, W.isAsyncMode = Ne, W.isConcurrentMode = g, W.isContextConsumer = b, W.isContextProvider = $, W.isElement = R, W.isForwardRef = D, W.isFragment = T, W.isLazy = N, W.isMemo = L, W.isPortal = U, W.isProfiler = w, W.isStrictMode = z, W.isSuspense = Q, W.isValidElementType = A, W.typeOf = x;
172
- }()), W;
171
+ H.AsyncMode = p, H.ConcurrentMode = x, H.ContextConsumer = R, H.ContextProvider = W, H.Element = I, H.ForwardRef = se, H.Fragment = ce, H.Lazy = de, H.Memo = Fe, H.Portal = ye, H.Profiler = Le, H.StrictMode = oe, H.Suspense = _e, H.isAsyncMode = Ne, H.isConcurrentMode = g, H.isContextConsumer = b, H.isContextProvider = V, H.isElement = N, H.isForwardRef = B, H.isFragment = T, H.isLazy = M, H.isMemo = L, H.isPortal = q, H.isProfiler = w, H.isStrictMode = z, H.isSuspense = Q, H.isValidElementType = A, H.typeOf = E;
172
+ }()), H;
173
173
  }
174
174
  var jt;
175
175
  function qs() {
176
- return jt || (jt = 1, process.env.NODE_ENV === "production" ? nt.exports = bn() : nt.exports = Cn()), nt.exports;
176
+ return jt || (jt = 1, process.env.NODE_ENV === "production" ? nt.exports = bn() : nt.exports = Sn()), nt.exports;
177
177
  }
178
178
  /*
179
179
  object-assign
@@ -181,22 +181,22 @@ object-assign
181
181
  @license MIT
182
182
  */
183
183
  var vt, zt;
184
- function Sn() {
184
+ function Cn() {
185
185
  if (zt)
186
186
  return vt;
187
187
  zt = 1;
188
- var a = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
189
- function s(i) {
190
- if (i == null)
188
+ var i = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
189
+ function s(a) {
190
+ if (a == null)
191
191
  throw new TypeError("Object.assign cannot be called with null or undefined");
192
- return Object(i);
192
+ return Object(a);
193
193
  }
194
194
  function n() {
195
195
  try {
196
196
  if (!Object.assign)
197
197
  return !1;
198
- var i = new String("abc");
199
- if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
198
+ var a = new String("abc");
199
+ if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
200
200
  return !1;
201
201
  for (var r = {}, l = 0; l < 10; l++)
202
202
  r["_" + String.fromCharCode(l)] = l;
@@ -213,13 +213,13 @@ function Sn() {
213
213
  return !1;
214
214
  }
215
215
  }
216
- return vt = n() ? Object.assign : function(i, r) {
217
- for (var l, u = s(i), d, h = 1; h < arguments.length; h++) {
216
+ return vt = n() ? Object.assign : function(a, r) {
217
+ for (var l, u = s(a), d, h = 1; h < arguments.length; h++) {
218
218
  l = Object(arguments[h]);
219
219
  for (var f in l)
220
220
  e.call(l, f) && (u[f] = l[f]);
221
- if (a) {
222
- d = a(l);
221
+ if (i) {
222
+ d = i(l);
223
223
  for (var _ = 0; _ < d.length; _++)
224
224
  t.call(l, d[_]) && (u[d[_]] = l[d[_]]);
225
225
  }
@@ -232,24 +232,24 @@ function Dt() {
232
232
  if (qt)
233
233
  return kt;
234
234
  qt = 1;
235
- var a = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
236
- return kt = a, kt;
235
+ var i = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
236
+ return kt = i, kt;
237
237
  }
238
238
  var bt, Ut;
239
239
  function Us() {
240
240
  return Ut || (Ut = 1, bt = Function.call.bind(Object.prototype.hasOwnProperty)), bt;
241
241
  }
242
- var Ct, Ht;
242
+ var St, Ht;
243
243
  function En() {
244
244
  if (Ht)
245
- return Ct;
245
+ return St;
246
246
  Ht = 1;
247
- var a = function() {
247
+ var i = function() {
248
248
  };
249
249
  if (process.env.NODE_ENV !== "production") {
250
250
  var e = Dt(), t = {}, s = Us();
251
- a = function(i) {
252
- var r = "Warning: " + i;
251
+ i = function(a) {
252
+ var r = "Warning: " + a;
253
253
  typeof console < "u" && console.error(r);
254
254
  try {
255
255
  throw new Error(r);
@@ -257,28 +257,28 @@ function En() {
257
257
  }
258
258
  };
259
259
  }
260
- function n(i, r, l, u, d) {
260
+ function n(a, r, l, u, d) {
261
261
  if (process.env.NODE_ENV !== "production") {
262
- for (var h in i)
263
- if (s(i, h)) {
262
+ for (var h in a)
263
+ if (s(a, h)) {
264
264
  var f;
265
265
  try {
266
- if (typeof i[h] != "function") {
266
+ if (typeof a[h] != "function") {
267
267
  var _ = Error(
268
- (u || "React class") + ": " + l + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
268
+ (u || "React class") + ": " + l + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
269
269
  );
270
270
  throw _.name = "Invariant Violation", _;
271
271
  }
272
- f = i[h](r, h, u, l, null, e);
273
- } catch (C) {
274
- f = C;
272
+ f = a[h](r, h, u, l, null, e);
273
+ } catch (S) {
274
+ f = S;
275
275
  }
276
- if (f && !(f instanceof Error) && a(
276
+ if (f && !(f instanceof Error) && i(
277
277
  (u || "React class") + ": type specification of " + l + " `" + h + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof f + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
278
278
  ), f instanceof Error && !(f.message in t)) {
279
279
  t[f.message] = !0;
280
280
  var v = d ? d() : "";
281
- a(
281
+ i(
282
282
  "Failed " + l + " type: " + f.message + (v ?? "")
283
283
  );
284
284
  }
@@ -287,16 +287,16 @@ function En() {
287
287
  }
288
288
  return n.resetWarningCache = function() {
289
289
  process.env.NODE_ENV !== "production" && (t = {});
290
- }, Ct = n, Ct;
290
+ }, St = n, St;
291
291
  }
292
- var St, Wt;
292
+ var Ct, Wt;
293
293
  function xn() {
294
294
  if (Wt)
295
- return St;
295
+ return Ct;
296
296
  Wt = 1;
297
- var a = qs(), e = Sn(), t = Dt(), s = Us(), n = En(), i = function() {
297
+ var i = qs(), e = Cn(), t = Dt(), s = Us(), n = En(), a = function() {
298
298
  };
299
- process.env.NODE_ENV !== "production" && (i = function(l) {
299
+ process.env.NODE_ENV !== "production" && (a = function(l) {
300
300
  var u = "Warning: " + l;
301
301
  typeof console < "u" && console.error(u);
302
302
  try {
@@ -307,7 +307,7 @@ function xn() {
307
307
  function r() {
308
308
  return null;
309
309
  }
310
- return St = function(l, u) {
310
+ return Ct = function(l, u) {
311
311
  var d = typeof Symbol == "function" && Symbol.iterator, h = "@@iterator";
312
312
  function f(g) {
313
313
  var b = g && (d && g[d] || g[h]);
@@ -325,17 +325,17 @@ function xn() {
325
325
  symbol: F("symbol"),
326
326
  any: P(),
327
327
  arrayOf: A,
328
- element: x(),
328
+ element: E(),
329
329
  elementType: p(),
330
- instanceOf: S,
331
- node: ae(),
332
- objectOf: q,
333
- oneOf: B,
334
- oneOfType: V,
330
+ instanceOf: x,
331
+ node: se(),
332
+ objectOf: W,
333
+ oneOf: R,
334
+ oneOfType: I,
335
335
  shape: de,
336
336
  exact: Fe
337
337
  };
338
- function C(g, b) {
338
+ function S(g, b) {
339
339
  return g === b ? g !== 0 || 1 / g === 1 / b : g !== g && b !== b;
340
340
  }
341
341
  function y(g, b) {
@@ -344,34 +344,34 @@ function xn() {
344
344
  y.prototype = Error.prototype;
345
345
  function m(g) {
346
346
  if (process.env.NODE_ENV !== "production")
347
- var b = {}, $ = 0;
348
- function R(T, N, L, U, w, z, Q) {
349
- if (U = U || _, z = z || L, Q !== t) {
347
+ var b = {}, V = 0;
348
+ function N(T, M, L, q, w, z, Q) {
349
+ if (q = q || _, z = z || L, Q !== t) {
350
350
  if (u) {
351
351
  var k = new Error(
352
352
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
353
353
  );
354
354
  throw k.name = "Invariant Violation", k;
355
355
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
356
- var Se = U + ":" + L;
357
- !b[Se] && // Avoid spamming the console because they are often not actionable except for lib authors
358
- $ < 3 && (i(
359
- "You are manually calling a React.PropTypes validation function for the `" + z + "` prop on `" + U + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
360
- ), b[Se] = !0, $++);
356
+ var Ce = q + ":" + L;
357
+ !b[Ce] && // Avoid spamming the console because they are often not actionable except for lib authors
358
+ V < 3 && (a(
359
+ "You are manually calling a React.PropTypes validation function for the `" + z + "` prop on `" + q + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
360
+ ), b[Ce] = !0, V++);
361
361
  }
362
362
  }
363
- return N[L] == null ? T ? N[L] === null ? new y("The " + w + " `" + z + "` is marked as required " + ("in `" + U + "`, but its value is `null`.")) : new y("The " + w + " `" + z + "` is marked as required in " + ("`" + U + "`, but its value is `undefined`.")) : null : g(N, L, U, w, z);
363
+ return M[L] == null ? T ? M[L] === null ? new y("The " + w + " `" + z + "` is marked as required " + ("in `" + q + "`, but its value is `null`.")) : new y("The " + w + " `" + z + "` is marked as required in " + ("`" + q + "`, but its value is `undefined`.")) : null : g(M, L, q, w, z);
364
364
  }
365
- var D = R.bind(null, !1);
366
- return D.isRequired = R.bind(null, !0), D;
365
+ var B = N.bind(null, !1);
366
+ return B.isRequired = N.bind(null, !0), B;
367
367
  }
368
368
  function F(g) {
369
- function b($, R, D, T, N, L) {
370
- var U = $[R], w = oe(U);
369
+ function b(V, N, B, T, M, L) {
370
+ var q = V[N], w = oe(q);
371
371
  if (w !== g) {
372
- var z = ye(U);
372
+ var z = _e(q);
373
373
  return new y(
374
- "Invalid " + T + " `" + N + "` of type " + ("`" + z + "` supplied to `" + D + "`, expected ") + ("`" + g + "`."),
374
+ "Invalid " + T + " `" + M + "` of type " + ("`" + z + "` supplied to `" + B + "`, expected ") + ("`" + g + "`."),
375
375
  { expectedType: g }
376
376
  );
377
377
  }
@@ -383,16 +383,16 @@ function xn() {
383
383
  return m(r);
384
384
  }
385
385
  function A(g) {
386
- function b($, R, D, T, N) {
386
+ function b(V, N, B, T, M) {
387
387
  if (typeof g != "function")
388
- return new y("Property `" + N + "` of component `" + D + "` has invalid PropType notation inside arrayOf.");
389
- var L = $[R];
388
+ return new y("Property `" + M + "` of component `" + B + "` has invalid PropType notation inside arrayOf.");
389
+ var L = V[N];
390
390
  if (!Array.isArray(L)) {
391
- var U = oe(L);
392
- return new y("Invalid " + T + " `" + N + "` of type " + ("`" + U + "` supplied to `" + D + "`, expected an array."));
391
+ var q = oe(L);
392
+ return new y("Invalid " + T + " `" + M + "` of type " + ("`" + q + "` supplied to `" + B + "`, expected an array."));
393
393
  }
394
394
  for (var w = 0; w < L.length; w++) {
395
- var z = g(L, w, D, T, N + "[" + w + "]", t);
395
+ var z = g(L, w, B, T, M + "[" + w + "]", t);
396
396
  if (z instanceof Error)
397
397
  return z;
398
398
  }
@@ -400,65 +400,65 @@ function xn() {
400
400
  }
401
401
  return m(b);
402
402
  }
403
- function x() {
404
- function g(b, $, R, D, T) {
405
- var N = b[$];
406
- if (!l(N)) {
407
- var L = oe(N);
408
- return new y("Invalid " + D + " `" + T + "` of type " + ("`" + L + "` supplied to `" + R + "`, expected a single ReactElement."));
403
+ function E() {
404
+ function g(b, V, N, B, T) {
405
+ var M = b[V];
406
+ if (!l(M)) {
407
+ var L = oe(M);
408
+ return new y("Invalid " + B + " `" + T + "` of type " + ("`" + L + "` supplied to `" + N + "`, expected a single ReactElement."));
409
409
  }
410
410
  return null;
411
411
  }
412
412
  return m(g);
413
413
  }
414
414
  function p() {
415
- function g(b, $, R, D, T) {
416
- var N = b[$];
417
- if (!a.isValidElementType(N)) {
418
- var L = oe(N);
419
- return new y("Invalid " + D + " `" + T + "` of type " + ("`" + L + "` supplied to `" + R + "`, expected a single ReactElement type."));
415
+ function g(b, V, N, B, T) {
416
+ var M = b[V];
417
+ if (!i.isValidElementType(M)) {
418
+ var L = oe(M);
419
+ return new y("Invalid " + B + " `" + T + "` of type " + ("`" + L + "` supplied to `" + N + "`, expected a single ReactElement type."));
420
420
  }
421
421
  return null;
422
422
  }
423
423
  return m(g);
424
424
  }
425
- function S(g) {
426
- function b($, R, D, T, N) {
427
- if (!($[R] instanceof g)) {
428
- var L = g.name || _, U = Ne($[R]);
429
- return new y("Invalid " + T + " `" + N + "` of type " + ("`" + U + "` supplied to `" + D + "`, expected ") + ("instance of `" + L + "`."));
425
+ function x(g) {
426
+ function b(V, N, B, T, M) {
427
+ if (!(V[N] instanceof g)) {
428
+ var L = g.name || _, q = Ne(V[N]);
429
+ return new y("Invalid " + T + " `" + M + "` of type " + ("`" + q + "` supplied to `" + B + "`, expected ") + ("instance of `" + L + "`."));
430
430
  }
431
431
  return null;
432
432
  }
433
433
  return m(b);
434
434
  }
435
- function B(g) {
435
+ function R(g) {
436
436
  if (!Array.isArray(g))
437
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
437
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
438
438
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
439
- ) : i("Invalid argument supplied to oneOf, expected an array.")), r;
440
- function b($, R, D, T, N) {
441
- for (var L = $[R], U = 0; U < g.length; U++)
442
- if (C(L, g[U]))
439
+ ) : a("Invalid argument supplied to oneOf, expected an array.")), r;
440
+ function b(V, N, B, T, M) {
441
+ for (var L = V[N], q = 0; q < g.length; q++)
442
+ if (S(L, g[q]))
443
443
  return null;
444
444
  var w = JSON.stringify(g, function(Q, k) {
445
- var Se = ye(k);
446
- return Se === "symbol" ? String(k) : k;
445
+ var Ce = _e(k);
446
+ return Ce === "symbol" ? String(k) : k;
447
447
  });
448
- return new y("Invalid " + T + " `" + N + "` of value `" + String(L) + "` " + ("supplied to `" + D + "`, expected one of " + w + "."));
448
+ return new y("Invalid " + T + " `" + M + "` of value `" + String(L) + "` " + ("supplied to `" + B + "`, expected one of " + w + "."));
449
449
  }
450
450
  return m(b);
451
451
  }
452
- function q(g) {
453
- function b($, R, D, T, N) {
452
+ function W(g) {
453
+ function b(V, N, B, T, M) {
454
454
  if (typeof g != "function")
455
- return new y("Property `" + N + "` of component `" + D + "` has invalid PropType notation inside objectOf.");
456
- var L = $[R], U = oe(L);
457
- if (U !== "object")
458
- return new y("Invalid " + T + " `" + N + "` of type " + ("`" + U + "` supplied to `" + D + "`, expected an object."));
455
+ return new y("Property `" + M + "` of component `" + B + "` has invalid PropType notation inside objectOf.");
456
+ var L = V[N], q = oe(L);
457
+ if (q !== "object")
458
+ return new y("Invalid " + T + " `" + M + "` of type " + ("`" + q + "` supplied to `" + B + "`, expected an object."));
459
459
  for (var w in L)
460
460
  if (s(L, w)) {
461
- var z = g(L, w, D, T, N + "." + w, t);
461
+ var z = g(L, w, B, T, M + "." + w, t);
462
462
  if (z instanceof Error)
463
463
  return z;
464
464
  }
@@ -466,49 +466,49 @@ function xn() {
466
466
  }
467
467
  return m(b);
468
468
  }
469
- function V(g) {
469
+ function I(g) {
470
470
  if (!Array.isArray(g))
471
- return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), r;
471
+ return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), r;
472
472
  for (var b = 0; b < g.length; b++) {
473
- var $ = g[b];
474
- if (typeof $ != "function")
475
- return i(
476
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Ie($) + " at index " + b + "."
473
+ var V = g[b];
474
+ if (typeof V != "function")
475
+ return a(
476
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Ie(V) + " at index " + b + "."
477
477
  ), r;
478
478
  }
479
- function R(D, T, N, L, U) {
479
+ function N(B, T, M, L, q) {
480
480
  for (var w = [], z = 0; z < g.length; z++) {
481
- var Q = g[z], k = Q(D, T, N, L, U, t);
481
+ var Q = g[z], k = Q(B, T, M, L, q, t);
482
482
  if (k == null)
483
483
  return null;
484
484
  k.data && s(k.data, "expectedType") && w.push(k.data.expectedType);
485
485
  }
486
- var Se = w.length > 0 ? ", expected one of type [" + w.join(", ") + "]" : "";
487
- return new y("Invalid " + L + " `" + U + "` supplied to " + ("`" + N + "`" + Se + "."));
486
+ var Ce = w.length > 0 ? ", expected one of type [" + w.join(", ") + "]" : "";
487
+ return new y("Invalid " + L + " `" + q + "` supplied to " + ("`" + M + "`" + Ce + "."));
488
488
  }
489
- return m(R);
489
+ return m(N);
490
490
  }
491
- function ae() {
492
- function g(b, $, R, D, T) {
493
- return me(b[$]) ? null : new y("Invalid " + D + " `" + T + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
491
+ function se() {
492
+ function g(b, V, N, B, T) {
493
+ return ye(b[V]) ? null : new y("Invalid " + B + " `" + T + "` supplied to " + ("`" + N + "`, expected a ReactNode."));
494
494
  }
495
495
  return m(g);
496
496
  }
497
- function ce(g, b, $, R, D) {
497
+ function ce(g, b, V, N, B) {
498
498
  return new y(
499
- (g || "React class") + ": " + b + " type `" + $ + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + D + "`."
499
+ (g || "React class") + ": " + b + " type `" + V + "." + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + B + "`."
500
500
  );
501
501
  }
502
502
  function de(g) {
503
- function b($, R, D, T, N) {
504
- var L = $[R], U = oe(L);
505
- if (U !== "object")
506
- return new y("Invalid " + T + " `" + N + "` of type `" + U + "` " + ("supplied to `" + D + "`, expected `object`."));
503
+ function b(V, N, B, T, M) {
504
+ var L = V[N], q = oe(L);
505
+ if (q !== "object")
506
+ return new y("Invalid " + T + " `" + M + "` of type `" + q + "` " + ("supplied to `" + B + "`, expected `object`."));
507
507
  for (var w in g) {
508
508
  var z = g[w];
509
509
  if (typeof z != "function")
510
- return ce(D, T, N, w, ye(z));
511
- var Q = z(L, w, D, T, N + "." + w, t);
510
+ return ce(B, T, M, w, _e(z));
511
+ var Q = z(L, w, B, T, M + "." + w, t);
512
512
  if (Q)
513
513
  return Q;
514
514
  }
@@ -517,21 +517,21 @@ function xn() {
517
517
  return m(b);
518
518
  }
519
519
  function Fe(g) {
520
- function b($, R, D, T, N) {
521
- var L = $[R], U = oe(L);
522
- if (U !== "object")
523
- return new y("Invalid " + T + " `" + N + "` of type `" + U + "` " + ("supplied to `" + D + "`, expected `object`."));
524
- var w = e({}, $[R], g);
520
+ function b(V, N, B, T, M) {
521
+ var L = V[N], q = oe(L);
522
+ if (q !== "object")
523
+ return new y("Invalid " + T + " `" + M + "` of type `" + q + "` " + ("supplied to `" + B + "`, expected `object`."));
524
+ var w = e({}, V[N], g);
525
525
  for (var z in w) {
526
526
  var Q = g[z];
527
527
  if (s(g, z) && typeof Q != "function")
528
- return ce(D, T, N, z, ye(Q));
528
+ return ce(B, T, M, z, _e(Q));
529
529
  if (!Q)
530
530
  return new y(
531
- "Invalid " + T + " `" + N + "` key `" + z + "` supplied to `" + D + "`.\nBad object: " + JSON.stringify($[R], null, " ") + `
531
+ "Invalid " + T + " `" + M + "` key `" + z + "` supplied to `" + B + "`.\nBad object: " + JSON.stringify(V[N], null, " ") + `
532
532
  Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
533
533
  );
534
- var k = Q(L, z, D, T, N + "." + z, t);
534
+ var k = Q(L, z, B, T, M + "." + z, t);
535
535
  if (k)
536
536
  return k;
537
537
  }
@@ -539,7 +539,7 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
539
539
  }
540
540
  return m(b);
541
541
  }
542
- function me(g) {
542
+ function ye(g) {
543
543
  switch (typeof g) {
544
544
  case "number":
545
545
  case "string":
@@ -549,20 +549,20 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
549
549
  return !g;
550
550
  case "object":
551
551
  if (Array.isArray(g))
552
- return g.every(me);
552
+ return g.every(ye);
553
553
  if (g === null || l(g))
554
554
  return !0;
555
555
  var b = f(g);
556
556
  if (b) {
557
- var $ = b.call(g), R;
557
+ var V = b.call(g), N;
558
558
  if (b !== g.entries) {
559
- for (; !(R = $.next()).done; )
560
- if (!me(R.value))
559
+ for (; !(N = V.next()).done; )
560
+ if (!ye(N.value))
561
561
  return !1;
562
562
  } else
563
- for (; !(R = $.next()).done; ) {
564
- var D = R.value;
565
- if (D && !me(D[1]))
563
+ for (; !(N = V.next()).done; ) {
564
+ var B = N.value;
565
+ if (B && !ye(B[1]))
566
566
  return !1;
567
567
  }
568
568
  } else
@@ -579,7 +579,7 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
579
579
  var b = typeof g;
580
580
  return Array.isArray(g) ? "array" : g instanceof RegExp ? "object" : Le(b, g) ? "symbol" : b;
581
581
  }
582
- function ye(g) {
582
+ function _e(g) {
583
583
  if (typeof g > "u" || g === null)
584
584
  return "" + g;
585
585
  var b = oe(g);
@@ -592,7 +592,7 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
592
592
  return b;
593
593
  }
594
594
  function Ie(g) {
595
- var b = ye(g);
595
+ var b = _e(g);
596
596
  switch (b) {
597
597
  case "array":
598
598
  case "object":
@@ -609,21 +609,21 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
609
609
  return !g.constructor || !g.constructor.name ? _ : g.constructor.name;
610
610
  }
611
611
  return v.checkPropTypes = n, v.resetWarningCache = n.resetWarningCache, v.PropTypes = v, v;
612
- }, St;
612
+ }, Ct;
613
613
  }
614
614
  var Et, Yt;
615
615
  function Tn() {
616
616
  if (Yt)
617
617
  return Et;
618
618
  Yt = 1;
619
- var a = Dt();
619
+ var i = Dt();
620
620
  function e() {
621
621
  }
622
622
  function t() {
623
623
  }
624
624
  return t.resetWarningCache = e, Et = function() {
625
625
  function s(r, l, u, d, h, f) {
626
- if (f !== a) {
626
+ if (f !== i) {
627
627
  var _ = new Error(
628
628
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
629
629
  );
@@ -634,7 +634,7 @@ function Tn() {
634
634
  function n() {
635
635
  return s;
636
636
  }
637
- var i = {
637
+ var a = {
638
638
  array: s,
639
639
  bigint: s,
640
640
  bool: s,
@@ -657,7 +657,7 @@ function Tn() {
657
657
  checkPropTypes: t,
658
658
  resetWarningCache: e
659
659
  };
660
- return i.PropTypes = i, i;
660
+ return a.PropTypes = a, a;
661
661
  }, Et;
662
662
  }
663
663
  if (process.env.NODE_ENV !== "production") {
@@ -736,6 +736,14 @@ const o = /* @__PURE__ */ kn(Fn), Gt = {
736
736
  fullSize: {
737
737
  type: Boolean,
738
738
  default: !1
739
+ },
740
+ gtmId: {
741
+ type: String,
742
+ default: "ds-button"
743
+ },
744
+ gtmLabel: {
745
+ type: String,
746
+ default: ""
739
747
  }
740
748
  }
741
749
  }, Jt = {
@@ -854,18 +862,18 @@ const o = /* @__PURE__ */ kn(Fn), Gt = {
854
862
  light: 300,
855
863
  extralight: 200
856
864
  }, K = ({
857
- image: a = ue.props.image.default,
865
+ image: i = ue.props.image.default,
858
866
  color: e = ue.props.color.default,
859
867
  className: t,
860
868
  size: s = ue.props.size.default,
861
869
  fill: n = ue.props.fill.default,
862
- weight: i = ue.props.weight.default,
870
+ weight: a = ue.props.weight.default,
863
871
  testId: r = ue.props.testId.default,
864
872
  onClick: l = ue.props.onClick.default
865
873
  }) => {
866
- const u = "material-symbols-rounded", d = e && ue.props.color.options.find((f) => f === e) && `${ue.class}__color--${e}`, h = Ce(() => ({
867
- fontVariationSettings: `'FILL' ${n ? 1 : 0}, 'GRAD' 0,'wght' ${In[i]}, 'opsz' 48`
868
- }), [i, n]);
874
+ const u = "material-symbols-rounded", d = e && ue.props.color.options.find((f) => f === e) && `${ue.class}__color--${e}`, h = Se(() => ({
875
+ fontVariationSettings: `'FILL' ${n ? 1 : 0}, 'GRAD' 0,'wght' ${In[a]}, 'opsz' 48`
876
+ }), [a, n]);
869
877
  return /* @__PURE__ */ c(
870
878
  "i",
871
879
  {
@@ -880,7 +888,7 @@ const o = /* @__PURE__ */ kn(Fn), Gt = {
880
888
  onClick: l,
881
889
  style: h,
882
890
  translate: "no",
883
- children: a
891
+ children: i
884
892
  }
885
893
  );
886
894
  };
@@ -895,12 +903,12 @@ K.propTypes = {
895
903
  };
896
904
  K.displayName = "DsIcon";
897
905
  const pt = ({
898
- children: a,
906
+ children: i,
899
907
  className: e,
900
908
  onClick: t,
901
909
  size: s = Y.props.size.default,
902
910
  disabled: n = Y.props.disabled.default,
903
- icon: i = Y.props.icon.default,
911
+ icon: a = Y.props.icon.default,
904
912
  id: r = Y.props.id.default,
905
913
  testId: l = Y.props.testId.default,
906
914
  elevation: u,
@@ -908,35 +916,38 @@ const pt = ({
908
916
  color: h = Y.props.color.default,
909
917
  iconFill: f = Y.props.iconFill.default,
910
918
  iconPosition: _ = Y.props.iconPosition.default,
911
- fullSize: v = Y.props.fullSize.default
919
+ fullSize: v = Y.props.fullSize.default,
920
+ gtmId: S = Y.props.gtmId.default,
921
+ gtmLabel: y
912
922
  }) => {
913
- const C = s && Y.props.size.options.find((S) => S === s) ? `${Y.class}--${s}` : `${Y.class}__${Y.props.size.default}`, y = n && `${Y.class}--disabled`, m = `${Y.class}__${h}--${d}`, F = u && `${Y.class}--elevation-${u}`, P = i && `${Y.class}--with-icon`, A = v ? `${Y.class}--full-size` : "", x = _ === "right" ? `${Y.class}__icon` : `${Y.class}__icon--left`, p = _ === "right" ? `${Y.class}__text` : `${Y.class}__text--reversed`;
923
+ const m = s && Y.props.size.options.find((W) => W === s) ? `${Y.class}--${s}` : `${Y.class}__${Y.props.size.default}`, F = n && `${Y.class}--disabled`, P = `${Y.class}__${h}--${d}`, A = u && `${Y.class}--elevation-${u}`, E = a && `${Y.class}--with-icon`, p = v ? `${Y.class}--full-size` : "", x = _ === "right" ? `${Y.class}__icon` : `${Y.class}__icon--left`, R = _ === "right" ? `${Y.class}__text` : `${Y.class}__text--reversed`;
914
924
  return /* @__PURE__ */ c(
915
925
  "button",
916
926
  {
917
927
  className: [
918
928
  Y.class,
919
- A,
920
- y,
921
- P,
922
- C,
923
- m,
929
+ p,
924
930
  F,
931
+ m,
925
932
  P,
926
- e && e
927
- ].filter((S) => S).join(" "),
933
+ A,
934
+ E,
935
+ e
936
+ ].filter((W) => W).join(" "),
937
+ "data-gtmid": S,
928
938
  "data-testid": l,
939
+ ...y && { "data-gtmlabel": y },
929
940
  disabled: n,
930
941
  id: r,
931
942
  onClick: n ? void 0 : t,
932
- children: /* @__PURE__ */ O("span", { className: ["ds-button__text", p].join(" "), children: [
933
- a,
934
- i && /* @__PURE__ */ c(
943
+ children: /* @__PURE__ */ D("span", { className: ["ds-button__text", R].join(" "), children: [
944
+ i,
945
+ a && /* @__PURE__ */ c(
935
946
  K,
936
947
  {
937
948
  className: ["ds-button__icon", x].join(" "),
938
949
  fill: f,
939
- image: i,
950
+ image: a,
940
951
  size: s
941
952
  }
942
953
  )
@@ -954,14 +965,16 @@ pt.propTypes = {
954
965
  iconPosition: o.oneOf(Y.props.iconPosition.options),
955
966
  testId: o.string,
956
967
  id: o.string,
957
- fullSize: o.bool
968
+ fullSize: o.bool,
969
+ gtmId: o.string,
970
+ gtmLabel: o.string
958
971
  };
959
972
  pt.displayName = "DsButton";
960
973
  const On = {
961
974
  name: "Caption",
962
975
  class: "ds-caption"
963
976
  }, Hs = ({
964
- children: a,
977
+ children: i,
965
978
  className: e,
966
979
  testId: t = "ds-caption-test"
967
980
  }) => /* @__PURE__ */ c(
@@ -969,7 +982,7 @@ const On = {
969
982
  {
970
983
  className: [On.class, e && e].filter((s) => s).join(" "),
971
984
  "data-testid": t,
972
- children: a
985
+ children: i
973
986
  }
974
987
  );
975
988
  Hs.propTypes = {
@@ -978,7 +991,7 @@ Hs.propTypes = {
978
991
  testId: o.string
979
992
  };
980
993
  Hs.displayName = "DsCaption";
981
- const it = {
994
+ const at = {
982
995
  None: "",
983
996
  PrimaryDarker: "primary-darker",
984
997
  PrimaryDark: "primary-dark",
@@ -1016,19 +1029,19 @@ const it = {
1016
1029
  Info: "info",
1017
1030
  InfoLight: "info-light",
1018
1031
  InfoLighter: "info-lighter"
1019
- }, ke = {
1032
+ }, ge = {
1020
1033
  name: "Card",
1021
1034
  class: "ds-card",
1022
1035
  props: {
1023
1036
  backgroundColor: {
1024
1037
  type: String,
1025
- default: it.None,
1026
- options: Object.values(it)
1038
+ default: at.None,
1039
+ options: Object.values(at)
1027
1040
  },
1028
1041
  borderColor: {
1029
1042
  type: String,
1030
- default: it.None,
1031
- options: Object.values(it)
1043
+ default: at.None,
1044
+ options: Object.values(at)
1032
1045
  },
1033
1046
  elevation: {
1034
1047
  type: Number,
@@ -1042,30 +1055,42 @@ const it = {
1042
1055
  testId: {
1043
1056
  type: String,
1044
1057
  default: "ds-card"
1058
+ },
1059
+ gtmId: {
1060
+ type: String,
1061
+ default: "ds-card"
1062
+ },
1063
+ gtmLabel: {
1064
+ type: String,
1065
+ default: ""
1045
1066
  }
1046
1067
  }
1047
1068
  }, Ws = ({
1048
- id: a,
1049
- testId: e = ke.props.testId.default,
1069
+ id: i,
1070
+ testId: e = ge.props.testId.default,
1050
1071
  children: t,
1051
1072
  className: s,
1052
- elevation: n = ke.props.elevation.default,
1053
- backgroundColor: i = ke.props.backgroundColor.default,
1054
- borderColor: r = ke.props.borderColor.default
1073
+ elevation: n = ge.props.elevation.default,
1074
+ backgroundColor: a = ge.props.backgroundColor.default,
1075
+ borderColor: r = ge.props.borderColor.default,
1076
+ gtmId: l = ge.props.gtmId.default,
1077
+ gtmLabel: u
1055
1078
  }) => {
1056
- const l = n && `${ke.class}--elevation-${n}`, u = r && `${ke.class}--border-${r}`, d = i && `${ke.class}--${i}`;
1079
+ const d = n && `${ge.class}--elevation-${n}`, h = r && `${ge.class}--border-${r}`, f = a && `${ge.class}--${a}`;
1057
1080
  return /* @__PURE__ */ c(
1058
1081
  "div",
1059
1082
  {
1060
1083
  className: [
1061
- ke.class,
1084
+ ge.class,
1062
1085
  s,
1063
- l,
1064
- u,
1065
- d
1066
- ].filter((h) => h).join(" "),
1086
+ d,
1087
+ h,
1088
+ f
1089
+ ].filter((_) => _).join(" "),
1090
+ "data-gtmid": l,
1067
1091
  "data-testid": e,
1068
- id: a,
1092
+ ...u && { "data-gtmlabel": u },
1093
+ id: i,
1069
1094
  children: t
1070
1095
  }
1071
1096
  );
@@ -1073,9 +1098,11 @@ const it = {
1073
1098
  Ws.propTypes = {
1074
1099
  id: o.string,
1075
1100
  testId: o.string,
1076
- backgroundColor: o.oneOf(ke.props.backgroundColor.options),
1077
- borderColor: o.oneOf(ke.props.borderColor.options),
1078
- elevation: o.oneOf(ke.props.elevation.options)
1101
+ backgroundColor: o.oneOf(ge.props.backgroundColor.options),
1102
+ borderColor: o.oneOf(ge.props.borderColor.options),
1103
+ elevation: o.oneOf(ge.props.elevation.options),
1104
+ gtmId: o.string,
1105
+ gtmLabel: o.string
1079
1106
  };
1080
1107
  Ws.displayName = "DsCard";
1081
1108
  const re = {
@@ -1117,26 +1144,26 @@ const re = {
1117
1144
  }
1118
1145
  }, Ys = be.forwardRef(
1119
1146
  ({
1120
- id: a,
1147
+ id: i,
1121
1148
  className: e,
1122
1149
  name: t,
1123
1150
  testId: s = re.props.testId.default,
1124
1151
  label: n = re.props.label.default,
1125
- description: i = re.props.description.default,
1152
+ description: a = re.props.description.default,
1126
1153
  checked: r = re.props.checked.default,
1127
1154
  disabled: l = re.props.checked.default,
1128
1155
  changeByChecked: u = re.props.changeByChecked.default,
1129
1156
  onChangeHandler: d
1130
1157
  }, h) => {
1131
- const f = u || !1, _ = r || !1, [v, C] = j(_), y = {
1158
+ const f = u || !1, _ = r || !1, [v, S] = j(_), y = {
1132
1159
  image: v ? "check_box" : "check_box_outline_blank",
1133
1160
  class: v ? `${re.class}__icon--checked` : `${re.class}__icon--unchecked`
1134
1161
  }, m = l && `${re.class}--disabled`, F = (P) => {
1135
- l || (C((A) => !A), d && d(P));
1162
+ l || (S((A) => !A), d && d(P));
1136
1163
  };
1137
1164
  return J(() => {
1138
- f && C(r);
1139
- }, [r, f]), /* @__PURE__ */ O(
1165
+ f && S(r);
1166
+ }, [r, f]), /* @__PURE__ */ D(
1140
1167
  "label",
1141
1168
  {
1142
1169
  className: [
@@ -1144,7 +1171,7 @@ const re = {
1144
1171
  m,
1145
1172
  e && e
1146
1173
  ].join(" "),
1147
- htmlFor: a || t,
1174
+ htmlFor: i || t,
1148
1175
  children: [
1149
1176
  /* @__PURE__ */ c(
1150
1177
  "input",
@@ -1152,7 +1179,7 @@ const re = {
1152
1179
  checked: v,
1153
1180
  className: `${re.class}__input`,
1154
1181
  "data-testid": s,
1155
- id: a || t,
1182
+ id: i || t,
1156
1183
  name: t,
1157
1184
  onChange: F,
1158
1185
  ref: h,
@@ -1169,21 +1196,21 @@ const re = {
1169
1196
  testId: `${s}-icon`
1170
1197
  }
1171
1198
  ),
1172
- (i || n) && /* @__PURE__ */ O("div", { className: `${re.class}__label`, children: [
1199
+ (a || n) && /* @__PURE__ */ D("div", { className: `${re.class}__label`, children: [
1173
1200
  n && /* @__PURE__ */ c(
1174
1201
  "label",
1175
1202
  {
1176
1203
  className: `${re.class}__label-title`,
1177
- htmlFor: a || t,
1204
+ htmlFor: i || t,
1178
1205
  children: n
1179
1206
  }
1180
1207
  ),
1181
- i && /* @__PURE__ */ c(
1208
+ a && /* @__PURE__ */ c(
1182
1209
  "label",
1183
1210
  {
1184
1211
  className: `${re.class}__label-description`,
1185
- htmlFor: a || t,
1186
- children: i
1212
+ htmlFor: i || t,
1213
+ children: a
1187
1214
  }
1188
1215
  )
1189
1216
  ] })
@@ -1220,7 +1247,7 @@ const ss = {
1220
1247
  }
1221
1248
  }
1222
1249
  }, Bt = ({
1223
- children: a,
1250
+ children: i,
1224
1251
  testId: e = "ds-heading-test",
1225
1252
  type: t = Xe.props.type.default,
1226
1253
  className: s
@@ -1232,13 +1259,13 @@ const ss = {
1232
1259
  "heading-4": "h4",
1233
1260
  "heading-5": "h5",
1234
1261
  "heading-6": "h6"
1235
- }, i = Xe.props.type.options.find((u) => u === t) && `${Xe.class}--${t}`, l = n[t];
1262
+ }, a = Xe.props.type.options.find((u) => u === t) && `${Xe.class}--${t}`, l = n[t];
1236
1263
  return /* @__PURE__ */ c(
1237
1264
  l,
1238
1265
  {
1239
- className: [Xe.class, i, s && s].filter((u) => u).join(" "),
1266
+ className: [Xe.class, a, s && s].filter((u) => u).join(" "),
1240
1267
  "data-testid": e,
1241
- children: a
1268
+ children: i
1242
1269
  }
1243
1270
  );
1244
1271
  };
@@ -1252,7 +1279,7 @@ const ns = {
1252
1279
  None: "",
1253
1280
  Dashed: "dashed",
1254
1281
  Dotted: "dotted"
1255
- }, is = {
1282
+ }, as = {
1256
1283
  None: "",
1257
1284
  Small: "small",
1258
1285
  Large: "large"
@@ -1267,20 +1294,20 @@ const ns = {
1267
1294
  },
1268
1295
  size: {
1269
1296
  type: String,
1270
- default: is.None,
1271
- options: Object.values(is)
1297
+ default: as.None,
1298
+ options: Object.values(as)
1272
1299
  }
1273
1300
  }
1274
1301
  };
1275
- function as(a, e, t) {
1276
- const s = t.props[a];
1302
+ function is(i, e, t) {
1303
+ const s = t.props[i];
1277
1304
  return s.options && s.options.some((n) => n === e) ? `${t.class}--${e}` : "";
1278
1305
  }
1279
1306
  const Gs = ({
1280
- size: a = qe.props.size.default,
1307
+ size: i = qe.props.size.default,
1281
1308
  borderStyle: e = qe.props.borderStyle.default
1282
1309
  }) => {
1283
- const t = as("size", a, qe), s = as("borderStyle", e, qe);
1310
+ const t = is("size", i, qe), s = is("borderStyle", e, qe);
1284
1311
  return /* @__PURE__ */ c(
1285
1312
  "hr",
1286
1313
  {
@@ -1293,75 +1320,75 @@ Gs.propTypes = {
1293
1320
  borderStyle: o.oneOf(qe.props.borderStyle.options)
1294
1321
  };
1295
1322
  Gs.displayName = "DsHR";
1296
- function $e(a) {
1297
- return typeof a == "string" || a instanceof String;
1323
+ function $e(i) {
1324
+ return typeof i == "string" || i instanceof String;
1298
1325
  }
1299
- function rs(a) {
1326
+ function rs(i) {
1300
1327
  var e;
1301
- return typeof a == "object" && a != null && (a == null || (e = a.constructor) == null ? void 0 : e.name) === "Object";
1328
+ return typeof i == "object" && i != null && (i == null || (e = i.constructor) == null ? void 0 : e.name) === "Object";
1302
1329
  }
1303
- function Xs(a, e) {
1304
- return Array.isArray(e) ? Xs(a, (t, s) => e.includes(s)) : Object.entries(a).reduce((t, s) => {
1305
- let [n, i] = s;
1306
- return e(i, n) && (t[n] = i), t;
1330
+ function Xs(i, e) {
1331
+ return Array.isArray(e) ? Xs(i, (t, s) => e.includes(s)) : Object.entries(i).reduce((t, s) => {
1332
+ let [n, a] = s;
1333
+ return e(a, n) && (t[n] = a), t;
1307
1334
  }, {});
1308
1335
  }
1309
- const E = {
1336
+ const C = {
1310
1337
  NONE: "NONE",
1311
1338
  LEFT: "LEFT",
1312
1339
  FORCE_LEFT: "FORCE_LEFT",
1313
1340
  RIGHT: "RIGHT",
1314
1341
  FORCE_RIGHT: "FORCE_RIGHT"
1315
1342
  };
1316
- function Dn(a) {
1317
- switch (a) {
1318
- case E.LEFT:
1319
- return E.FORCE_LEFT;
1320
- case E.RIGHT:
1321
- return E.FORCE_RIGHT;
1343
+ function Dn(i) {
1344
+ switch (i) {
1345
+ case C.LEFT:
1346
+ return C.FORCE_LEFT;
1347
+ case C.RIGHT:
1348
+ return C.FORCE_RIGHT;
1322
1349
  default:
1323
- return a;
1350
+ return i;
1324
1351
  }
1325
1352
  }
1326
- function xt(a) {
1327
- return a.replace(/([.*+?^=!:${}()|[\]/\\])/g, "\\$1");
1353
+ function xt(i) {
1354
+ return i.replace(/([.*+?^=!:${}()|[\]/\\])/g, "\\$1");
1328
1355
  }
1329
- function ht(a, e) {
1330
- if (e === a)
1356
+ function ht(i, e) {
1357
+ if (e === i)
1331
1358
  return !0;
1332
- const t = Array.isArray(e), s = Array.isArray(a);
1359
+ const t = Array.isArray(e), s = Array.isArray(i);
1333
1360
  let n;
1334
1361
  if (t && s) {
1335
- if (e.length != a.length)
1362
+ if (e.length != i.length)
1336
1363
  return !1;
1337
1364
  for (n = 0; n < e.length; n++)
1338
- if (!ht(e[n], a[n]))
1365
+ if (!ht(e[n], i[n]))
1339
1366
  return !1;
1340
1367
  return !0;
1341
1368
  }
1342
1369
  if (t != s)
1343
1370
  return !1;
1344
- if (e && a && typeof e == "object" && typeof a == "object") {
1345
- const i = e instanceof Date, r = a instanceof Date;
1346
- if (i && r)
1347
- return e.getTime() == a.getTime();
1348
- if (i != r)
1371
+ if (e && i && typeof e == "object" && typeof i == "object") {
1372
+ const a = e instanceof Date, r = i instanceof Date;
1373
+ if (a && r)
1374
+ return e.getTime() == i.getTime();
1375
+ if (a != r)
1349
1376
  return !1;
1350
- const l = e instanceof RegExp, u = a instanceof RegExp;
1377
+ const l = e instanceof RegExp, u = i instanceof RegExp;
1351
1378
  if (l && u)
1352
- return e.toString() == a.toString();
1379
+ return e.toString() == i.toString();
1353
1380
  if (l != u)
1354
1381
  return !1;
1355
1382
  const d = Object.keys(e);
1356
1383
  for (n = 0; n < d.length; n++)
1357
- if (!Object.prototype.hasOwnProperty.call(a, d[n]))
1384
+ if (!Object.prototype.hasOwnProperty.call(i, d[n]))
1358
1385
  return !1;
1359
1386
  for (n = 0; n < d.length; n++)
1360
- if (!ht(a[d[n]], e[d[n]]))
1387
+ if (!ht(i[d[n]], e[d[n]]))
1361
1388
  return !1;
1362
1389
  return !0;
1363
- } else if (e && a && typeof e == "function" && typeof a == "function")
1364
- return e.toString() === a.toString();
1390
+ } else if (e && i && typeof e == "function" && typeof i == "function")
1391
+ return e.toString() === i.toString();
1365
1392
  return !1;
1366
1393
  }
1367
1394
  class Bn {
@@ -1407,57 +1434,57 @@ class Bn {
1407
1434
  }
1408
1435
  /** Remove direction */
1409
1436
  get removeDirection() {
1410
- return !this.removedCount || this.insertedCount ? E.NONE : (this.oldSelection.end === this.cursorPos || this.oldSelection.start === this.cursorPos) && // if not range removed (event with backspace)
1411
- this.oldSelection.end === this.oldSelection.start ? E.RIGHT : E.LEFT;
1437
+ return !this.removedCount || this.insertedCount ? C.NONE : (this.oldSelection.end === this.cursorPos || this.oldSelection.start === this.cursorPos) && // if not range removed (event with backspace)
1438
+ this.oldSelection.end === this.oldSelection.start ? C.RIGHT : C.LEFT;
1412
1439
  }
1413
1440
  }
1414
- function I(a, e) {
1415
- return new I.InputMask(a, e);
1441
+ function O(i, e) {
1442
+ return new O.InputMask(i, e);
1416
1443
  }
1417
- function Ks(a) {
1418
- if (a == null)
1444
+ function Ks(i) {
1445
+ if (i == null)
1419
1446
  throw new Error("mask property should be defined");
1420
- return a instanceof RegExp ? I.MaskedRegExp : $e(a) ? I.MaskedPattern : a === Date ? I.MaskedDate : a === Number ? I.MaskedNumber : Array.isArray(a) || a === Array ? I.MaskedDynamic : I.Masked && a.prototype instanceof I.Masked ? a : I.Masked && a instanceof I.Masked ? a.constructor : a instanceof Function ? I.MaskedFunction : (console.warn("Mask not found for mask", a), I.Masked);
1447
+ return i instanceof RegExp ? O.MaskedRegExp : $e(i) ? O.MaskedPattern : i === Date ? O.MaskedDate : i === Number ? O.MaskedNumber : Array.isArray(i) || i === Array ? O.MaskedDynamic : O.Masked && i.prototype instanceof O.Masked ? i : O.Masked && i instanceof O.Masked ? i.constructor : i instanceof Function ? O.MaskedFunction : (console.warn("Mask not found for mask", i), O.Masked);
1421
1448
  }
1422
- function Qe(a) {
1423
- if (!a)
1449
+ function Qe(i) {
1450
+ if (!i)
1424
1451
  throw new Error("Options in not defined");
1425
- if (I.Masked) {
1426
- if (a.prototype instanceof I.Masked)
1452
+ if (O.Masked) {
1453
+ if (i.prototype instanceof O.Masked)
1427
1454
  return {
1428
- mask: a
1455
+ mask: i
1429
1456
  };
1430
1457
  const {
1431
1458
  mask: e = void 0,
1432
1459
  ...t
1433
- } = a instanceof I.Masked ? {
1434
- mask: a
1435
- } : rs(a) && a.mask instanceof I.Masked ? a : {};
1460
+ } = i instanceof O.Masked ? {
1461
+ mask: i
1462
+ } : rs(i) && i.mask instanceof O.Masked ? i : {};
1436
1463
  if (e) {
1437
1464
  const s = e.mask;
1438
1465
  return {
1439
- ...Xs(e, (n, i) => !i.startsWith("_")),
1466
+ ...Xs(e, (n, a) => !a.startsWith("_")),
1440
1467
  mask: e.constructor,
1441
1468
  _mask: s,
1442
1469
  ...t
1443
1470
  };
1444
1471
  }
1445
1472
  }
1446
- return rs(a) ? {
1447
- ...a
1473
+ return rs(i) ? {
1474
+ ...i
1448
1475
  } : {
1449
- mask: a
1476
+ mask: i
1450
1477
  };
1451
1478
  }
1452
- function Be(a) {
1453
- if (I.Masked && a instanceof I.Masked)
1454
- return a;
1455
- const e = Qe(a), t = Ks(e.mask);
1479
+ function Be(i) {
1480
+ if (O.Masked && i instanceof O.Masked)
1481
+ return i;
1482
+ const e = Qe(i), t = Ks(e.mask);
1456
1483
  if (!t)
1457
1484
  throw new Error("Masked class is not found for provided mask " + e.mask + ", appropriate module needs to be imported manually before creating mask.");
1458
1485
  return e.mask === t && delete e.mask, e._mask && (e.mask = e._mask, delete e._mask), new t(e);
1459
1486
  }
1460
- I.createMask = Be;
1487
+ O.createMask = Be;
1461
1488
  class Rt {
1462
1489
  /** */
1463
1490
  /** */
@@ -1496,7 +1523,7 @@ class Rt {
1496
1523
  /** */
1497
1524
  /** */
1498
1525
  }
1499
- I.MaskElement = Rt;
1526
+ O.MaskElement = Rt;
1500
1527
  const os = 90, Rn = 89;
1501
1528
  class gt extends Rt {
1502
1529
  /** HTMLElement to use mask on */
@@ -1539,7 +1566,7 @@ class gt extends Rt {
1539
1566
  this.input.removeEventListener("keydown", this._onKeydown), this.input.removeEventListener("input", this._onInput), this.input.removeEventListener("beforeinput", this._onBeforeinput), this.input.removeEventListener("compositionend", this._onCompositionEnd), this.input.removeEventListener("drop", this._handlers.drop), this.input.removeEventListener("click", this._handlers.click), this.input.removeEventListener("focus", this._handlers.focus), this.input.removeEventListener("blur", this._handlers.commit), this._handlers = {};
1540
1567
  }
1541
1568
  }
1542
- I.HTMLMaskElement = gt;
1569
+ O.HTMLMaskElement = gt;
1543
1570
  class Nn extends gt {
1544
1571
  /** InputElement to use mask on */
1545
1572
  constructor(e) {
@@ -1564,7 +1591,7 @@ class Nn extends gt {
1564
1591
  this.input.value = e;
1565
1592
  }
1566
1593
  }
1567
- I.HTMLMaskElement = gt;
1594
+ O.HTMLMaskElement = gt;
1568
1595
  class Zs extends gt {
1569
1596
  /** Returns HTMLElement selection start */
1570
1597
  get _unsafeSelectionStart() {
@@ -1582,8 +1609,8 @@ class Zs extends gt {
1582
1609
  return;
1583
1610
  const s = this.rootElement.createRange();
1584
1611
  s.setStart(this.input.firstChild || this.input, e), s.setEnd(this.input.lastChild || this.input, t);
1585
- const n = this.rootElement, i = n.getSelection && n.getSelection();
1586
- i && (i.removeAllRanges(), i.addRange(s));
1612
+ const n = this.rootElement, a = n.getSelection && n.getSelection();
1613
+ a && (a.removeAllRanges(), a.addRange(s));
1587
1614
  }
1588
1615
  /** HTMLElement value */
1589
1616
  get value() {
@@ -1593,7 +1620,7 @@ class Zs extends gt {
1593
1620
  this.input.textContent = e;
1594
1621
  }
1595
1622
  }
1596
- I.HTMLContenteditableMaskElement = Zs;
1623
+ O.HTMLContenteditableMaskElement = Zs;
1597
1624
  class mt {
1598
1625
  constructor() {
1599
1626
  this.states = [], this.currentIndex = 0;
@@ -1640,13 +1667,13 @@ class Mn {
1640
1667
  set mask(e) {
1641
1668
  if (this.maskEquals(e))
1642
1669
  return;
1643
- if (!(e instanceof I.Masked) && this.masked.constructor === Ks(e)) {
1670
+ if (!(e instanceof O.Masked) && this.masked.constructor === Ks(e)) {
1644
1671
  this.masked.updateOptions({
1645
1672
  mask: e
1646
1673
  });
1647
1674
  return;
1648
1675
  }
1649
- const t = e instanceof I.Masked ? e : Be({
1676
+ const t = e instanceof O.Masked ? e : Be({
1650
1677
  mask: e
1651
1678
  });
1652
1679
  t.unmaskedValue = this.masked.unmaskedValue, this.masked = t;
@@ -1729,8 +1756,8 @@ class Mn {
1729
1756
  }
1730
1757
  /** Syncronizes view from model value, fires change events */
1731
1758
  updateControl(e) {
1732
- const t = this.masked.unmaskedValue, s = this.masked.value, n = this.masked.rawInputValue, i = this.displayValue, r = this.unmaskedValue !== t || this.value !== s || this._rawInputValue !== n;
1733
- this._unmaskedValue = t, this._value = s, this._rawInputValue = n, this.el.value !== i && (this.el.value = i), e === "auto" ? this.alignCursor() : e != null && (this.cursorPos = e), r && this._fireChangeEvents(), !this._historyChanging && (r || this.history.isEmpty) && this.history.push({
1759
+ const t = this.masked.unmaskedValue, s = this.masked.value, n = this.masked.rawInputValue, a = this.displayValue, r = this.unmaskedValue !== t || this.value !== s || this._rawInputValue !== n;
1760
+ this._unmaskedValue = t, this._value = s, this._rawInputValue = n, this.el.value !== a && (this.el.value = a), e === "auto" ? this.alignCursor() : e != null && (this.cursorPos = e), r && this._fireChangeEvents(), !this._historyChanging && (r || this.history.isEmpty) && this.history.push({
1734
1761
  unmaskedValue: t,
1735
1762
  selection: {
1736
1763
  start: this.selectionStart,
@@ -1743,8 +1770,8 @@ class Mn {
1743
1770
  const {
1744
1771
  mask: t,
1745
1772
  ...s
1746
- } = e, n = !this.maskEquals(t), i = this.masked.optionsIsChanged(s);
1747
- n && (this.mask = t), i && this.masked.updateOptions(s), (n || i) && this.updateControl();
1773
+ } = e, n = !this.maskEquals(t), a = this.masked.optionsIsChanged(s);
1774
+ n && (this.mask = t), a && this.masked.updateOptions(s), (n || a) && this.updateControl();
1748
1775
  }
1749
1776
  /** Updates cursor */
1750
1777
  updateCursor(e) {
@@ -1766,7 +1793,7 @@ class Mn {
1766
1793
  }
1767
1794
  /** Aligns cursor to nearest available position */
1768
1795
  alignCursor() {
1769
- this.cursorPos = this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos, E.LEFT));
1796
+ this.cursorPos = this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos, C.LEFT));
1770
1797
  }
1771
1798
  /** Aligns cursor only if selection is empty */
1772
1799
  alignCursorFriendly() {
@@ -1798,9 +1825,9 @@ class Mn {
1798
1825
  }), s = this.masked.rawInputValue, n = this.masked.splice(t.startChangePos, t.removed.length, t.inserted, t.removeDirection, {
1799
1826
  input: !0,
1800
1827
  raw: !0
1801
- }).offset, i = s === this.masked.rawInputValue ? t.removeDirection : E.NONE;
1802
- let r = this.masked.nearestInputPos(t.startChangePos + n, i);
1803
- i !== E.NONE && (r = this.masked.nearestInputPos(r, E.NONE)), this.updateControl(r), delete this._inputEvent;
1828
+ }).offset, a = s === this.masked.rawInputValue ? t.removeDirection : C.NONE;
1829
+ let r = this.masked.nearestInputPos(t.startChangePos + n, a);
1830
+ a !== C.NONE && (r = this.masked.nearestInputPos(r, C.NONE)), this.updateControl(r), delete this._inputEvent;
1804
1831
  }
1805
1832
  /** Handles view change event and commits model value */
1806
1833
  _onChange() {
@@ -1832,14 +1859,14 @@ class Mn {
1832
1859
  this._unbindEvents(), this._listeners.length = 0, delete this.el;
1833
1860
  }
1834
1861
  }
1835
- I.InputMask = Mn;
1836
- class M {
1862
+ O.InputMask = Mn;
1863
+ class $ {
1837
1864
  /** Inserted symbols */
1838
1865
  /** Additional offset if any changes occurred before tail */
1839
1866
  /** Raw inserted is used by dynamic mask */
1840
1867
  /** Can skip chars */
1841
1868
  static normalize(e) {
1842
- return Array.isArray(e) ? e : [e, new M()];
1869
+ return Array.isArray(e) ? e : [e, new $()];
1843
1870
  }
1844
1871
  constructor(e) {
1845
1872
  Object.assign(this, {
@@ -1864,7 +1891,7 @@ class M {
1864
1891
  return this.inserted === e.inserted && this.tailShift === e.tailShift && this.rawInserted === e.rawInserted && this.skip === e.skip;
1865
1892
  }
1866
1893
  }
1867
- I.ChangeDetails = M;
1894
+ O.ChangeDetails = $;
1868
1895
  class we {
1869
1896
  /** Tail value as string */
1870
1897
  /** Tail start position */
@@ -1906,7 +1933,7 @@ class we {
1906
1933
  return this.value = this.value.slice(0, -1), e;
1907
1934
  }
1908
1935
  }
1909
- class ne {
1936
+ class ae {
1910
1937
  /** */
1911
1938
  /** */
1912
1939
  /** Transforms value before mask processing */
@@ -1922,7 +1949,7 @@ class ne {
1922
1949
  /** */
1923
1950
  constructor(e) {
1924
1951
  this._value = "", this._update({
1925
- ...ne.DEFAULTS,
1952
+ ...ae.DEFAULTS,
1926
1953
  ...e
1927
1954
  }), this._initialized = !0;
1928
1955
  }
@@ -2015,52 +2042,52 @@ class ne {
2015
2042
  }
2016
2043
  /** Appends char */
2017
2044
  _appendCharRaw(e, t) {
2018
- return e ? (this._value += e, new M({
2045
+ return e ? (this._value += e, new $({
2019
2046
  inserted: e,
2020
2047
  rawInserted: e
2021
- })) : new M();
2048
+ })) : new $();
2022
2049
  }
2023
2050
  /** Appends char */
2024
2051
  _appendChar(e, t, s) {
2025
2052
  t === void 0 && (t = {});
2026
2053
  const n = this.state;
2027
- let i;
2028
- if ([e, i] = this.doPrepareChar(e, t), e && (i = i.aggregate(this._appendCharRaw(e, t)), !i.rawInserted && this.autofix === "pad")) {
2054
+ let a;
2055
+ if ([e, a] = this.doPrepareChar(e, t), e && (a = a.aggregate(this._appendCharRaw(e, t)), !a.rawInserted && this.autofix === "pad")) {
2029
2056
  const r = this.state;
2030
2057
  this.state = n;
2031
2058
  let l = this.pad(t);
2032
2059
  const u = this._appendCharRaw(e, t);
2033
- l = l.aggregate(u), u.rawInserted || l.equals(i) ? i = l : this.state = r;
2060
+ l = l.aggregate(u), u.rawInserted || l.equals(a) ? a = l : this.state = r;
2034
2061
  }
2035
- if (i.inserted) {
2062
+ if (a.inserted) {
2036
2063
  let r, l = this.doValidate(t) !== !1;
2037
2064
  if (l && s != null) {
2038
2065
  const u = this.state;
2039
2066
  if (this.overwrite === !0) {
2040
2067
  r = s.state;
2041
- for (let h = 0; h < i.rawInserted.length; ++h)
2042
- s.unshift(this.displayValue.length - i.tailShift);
2068
+ for (let h = 0; h < a.rawInserted.length; ++h)
2069
+ s.unshift(this.displayValue.length - a.tailShift);
2043
2070
  }
2044
2071
  let d = this.appendTail(s);
2045
2072
  if (l = d.rawInserted.length === s.toString().length, !(l && d.inserted) && this.overwrite === "shift") {
2046
2073
  this.state = u, r = s.state;
2047
- for (let h = 0; h < i.rawInserted.length; ++h)
2074
+ for (let h = 0; h < a.rawInserted.length; ++h)
2048
2075
  s.shift();
2049
2076
  d = this.appendTail(s), l = d.rawInserted.length === s.toString().length;
2050
2077
  }
2051
2078
  l && d.inserted && (this.state = u);
2052
2079
  }
2053
- l || (i = new M(), this.state = n, s && r && (s.state = r));
2080
+ l || (a = new $(), this.state = n, s && r && (s.state = r));
2054
2081
  }
2055
- return i;
2082
+ return a;
2056
2083
  }
2057
2084
  /** Appends optional placeholder at the end */
2058
2085
  _appendPlaceholder() {
2059
- return new M();
2086
+ return new $();
2060
2087
  }
2061
2088
  /** Appends optional eager placeholder at the end */
2062
2089
  _appendEager() {
2063
- return new M();
2090
+ return new $();
2064
2091
  }
2065
2092
  /** Appends symbols considering flags */
2066
2093
  append(e, t, s) {
@@ -2068,18 +2095,18 @@ class ne {
2068
2095
  throw new Error("value should be string");
2069
2096
  const n = $e(s) ? new we(String(s)) : s;
2070
2097
  t != null && t.tail && (t._beforeTailState = this.state);
2071
- let i;
2072
- [e, i] = this.doPrepare(e, t);
2098
+ let a;
2099
+ [e, a] = this.doPrepare(e, t);
2073
2100
  for (let r = 0; r < e.length; ++r) {
2074
2101
  const l = this._appendChar(e[r], t, n);
2075
2102
  if (!l.rawInserted && !this.doSkipInvalid(e[r], t, n))
2076
2103
  break;
2077
- i.aggregate(l);
2104
+ a.aggregate(l);
2078
2105
  }
2079
- return (this.eager === !0 || this.eager === "append") && t != null && t.input && e && i.aggregate(this._appendEager()), n != null && (i.tailShift += this.appendTail(n).tailShift), i;
2106
+ return (this.eager === !0 || this.eager === "append") && t != null && t.input && e && a.aggregate(this._appendEager()), n != null && (a.tailShift += this.appendTail(n).tailShift), a;
2080
2107
  }
2081
2108
  remove(e, t) {
2082
- return e === void 0 && (e = 0), t === void 0 && (t = this.displayValue.length), this._value = this.displayValue.slice(0, e) + this.displayValue.slice(t), new M();
2109
+ return e === void 0 && (e = 0), t === void 0 && (t = this.displayValue.length), this._value = this.displayValue.slice(0, e) + this.displayValue.slice(t), new $();
2083
2110
  }
2084
2111
  /** Calls function and reapplies current value */
2085
2112
  withValueRefresh(e) {
@@ -2101,11 +2128,11 @@ class ne {
2101
2128
  }
2102
2129
  /** Prepares string before mask processing */
2103
2130
  doPrepare(e, t) {
2104
- return t === void 0 && (t = {}), M.normalize(this.prepare ? this.prepare(e, this, t) : e);
2131
+ return t === void 0 && (t = {}), $.normalize(this.prepare ? this.prepare(e, this, t) : e);
2105
2132
  }
2106
2133
  /** Prepares each char before mask processing */
2107
2134
  doPrepareChar(e, t) {
2108
- return t === void 0 && (t = {}), M.normalize(this.prepareChar ? this.prepareChar(e, this, t) : e);
2135
+ return t === void 0 && (t = {}), $.normalize(this.prepareChar ? this.prepareChar(e, this, t) : e);
2109
2136
  }
2110
2137
  /** Validates if value is acceptable */
2111
2138
  doValidate(e) {
@@ -2115,8 +2142,8 @@ class ne {
2115
2142
  doCommit() {
2116
2143
  this.commit && this.commit(this.value, this);
2117
2144
  }
2118
- splice(e, t, s, n, i) {
2119
- s === void 0 && (s = ""), n === void 0 && (n = E.NONE), i === void 0 && (i = {
2145
+ splice(e, t, s, n, a) {
2146
+ s === void 0 && (s = ""), n === void 0 && (n = C.NONE), a === void 0 && (a = {
2120
2147
  input: !0
2121
2148
  });
2122
2149
  const r = e + t, l = this.extractTail(r), u = this.eager === !0 || this.eager === "remove";
@@ -2125,17 +2152,17 @@ class ne {
2125
2152
  raw: !0
2126
2153
  }));
2127
2154
  let h = e;
2128
- const f = new M();
2129
- if (n !== E.NONE && (h = this.nearestInputPos(e, t > 1 && e !== 0 && !u ? E.NONE : n), f.tailShift = h - e), f.aggregate(this.remove(h)), u && n !== E.NONE && d === this.rawInputValue)
2130
- if (n === E.FORCE_LEFT) {
2155
+ const f = new $();
2156
+ if (n !== C.NONE && (h = this.nearestInputPos(e, t > 1 && e !== 0 && !u ? C.NONE : n), f.tailShift = h - e), f.aggregate(this.remove(h)), u && n !== C.NONE && d === this.rawInputValue)
2157
+ if (n === C.FORCE_LEFT) {
2131
2158
  let _;
2132
2159
  for (; d === this.rawInputValue && (_ = this.displayValue.length); )
2133
- f.aggregate(new M({
2160
+ f.aggregate(new $({
2134
2161
  tailShift: -1
2135
2162
  })).aggregate(this.remove(_ - 1));
2136
2163
  } else
2137
- n === E.FORCE_RIGHT && l.unshift();
2138
- return f.aggregate(this.append(s, i, l));
2164
+ n === C.FORCE_RIGHT && l.unshift();
2165
+ return f.aggregate(this.append(s, a, l));
2139
2166
  }
2140
2167
  maskEquals(e) {
2141
2168
  return this.mask === e;
@@ -2145,17 +2172,17 @@ class ne {
2145
2172
  }
2146
2173
  typedValueEquals(e) {
2147
2174
  const t = this.typedValue;
2148
- return e === t || ne.EMPTY_VALUES.includes(e) && ne.EMPTY_VALUES.includes(t) || (this.format ? this.format(e, this) === this.format(this.typedValue, this) : !1);
2175
+ return e === t || ae.EMPTY_VALUES.includes(e) && ae.EMPTY_VALUES.includes(t) || (this.format ? this.format(e, this) === this.format(this.typedValue, this) : !1);
2149
2176
  }
2150
2177
  pad(e) {
2151
- return new M();
2178
+ return new $();
2152
2179
  }
2153
2180
  }
2154
- ne.DEFAULTS = {
2181
+ ae.DEFAULTS = {
2155
2182
  skipInvalid: !0
2156
2183
  };
2157
- ne.EMPTY_VALUES = [void 0, null, ""];
2158
- I.Masked = ne;
2184
+ ae.EMPTY_VALUES = [void 0, null, ""];
2185
+ O.Masked = ae;
2159
2186
  class Ue {
2160
2187
  /** */
2161
2188
  constructor(e, t) {
@@ -2183,14 +2210,14 @@ class Ue {
2183
2210
  }
2184
2211
  }
2185
2212
  appendTo(e) {
2186
- if (!(e instanceof I.MaskedPattern))
2213
+ if (!(e instanceof O.MaskedPattern))
2187
2214
  return new we(this.toString()).appendTo(e);
2188
- const t = new M();
2215
+ const t = new $();
2189
2216
  for (let s = 0; s < this.chunks.length; ++s) {
2190
- const n = this.chunks[s], i = e._mapPosToBlock(e.displayValue.length), r = n.stop;
2217
+ const n = this.chunks[s], a = e._mapPosToBlock(e.displayValue.length), r = n.stop;
2191
2218
  let l;
2192
2219
  if (r != null && // if block not found or stop is behind lastBlock
2193
- (!i || i.index <= r) && ((n instanceof Ue || // for continuous block also check if stop is exist
2220
+ (!a || a.index <= r) && ((n instanceof Ue || // for continuous block also check if stop is exist
2194
2221
  e._stops.indexOf(r) >= 0) && t.aggregate(e._appendPlaceholder(r)), l = n instanceof Ue && e._blocks[r]), l) {
2195
2222
  const u = l.appendTail(n);
2196
2223
  t.aggregate(u);
@@ -2219,8 +2246,8 @@ class Ue {
2219
2246
  ...s
2220
2247
  } = e;
2221
2248
  Object.assign(this, s), this.chunks = t.map((n) => {
2222
- const i = "chunks" in n ? new Ue() : new we();
2223
- return i.state = n, i;
2249
+ const a = "chunks" in n ? new Ue() : new we();
2250
+ return a.state = n, a;
2224
2251
  });
2225
2252
  }
2226
2253
  unshift(e) {
@@ -2229,15 +2256,15 @@ class Ue {
2229
2256
  const t = e != null ? e - this.from : e;
2230
2257
  let s = 0;
2231
2258
  for (; s < this.chunks.length; ) {
2232
- const n = this.chunks[s], i = n.unshift(t);
2259
+ const n = this.chunks[s], a = n.unshift(t);
2233
2260
  if (n.toString()) {
2234
- if (!i)
2261
+ if (!a)
2235
2262
  break;
2236
2263
  ++s;
2237
2264
  } else
2238
2265
  this.chunks.splice(s, 1);
2239
- if (i)
2240
- return i;
2266
+ if (a)
2267
+ return a;
2241
2268
  }
2242
2269
  return "";
2243
2270
  }
@@ -2322,38 +2349,38 @@ class $n {
2322
2349
  }
2323
2350
  pushLeftBeforeFilled() {
2324
2351
  return this._pushLeft(() => {
2325
- if (!(this.block.isFixed || !this.block.value) && (this.offset = this.block.nearestInputPos(this.offset, E.FORCE_LEFT), this.offset !== 0))
2352
+ if (!(this.block.isFixed || !this.block.value) && (this.offset = this.block.nearestInputPos(this.offset, C.FORCE_LEFT), this.offset !== 0))
2326
2353
  return !0;
2327
2354
  });
2328
2355
  }
2329
2356
  pushLeftBeforeInput() {
2330
2357
  return this._pushLeft(() => {
2331
2358
  if (!this.block.isFixed)
2332
- return this.offset = this.block.nearestInputPos(this.offset, E.LEFT), !0;
2359
+ return this.offset = this.block.nearestInputPos(this.offset, C.LEFT), !0;
2333
2360
  });
2334
2361
  }
2335
2362
  pushLeftBeforeRequired() {
2336
2363
  return this._pushLeft(() => {
2337
2364
  if (!(this.block.isFixed || this.block.isOptional && !this.block.value))
2338
- return this.offset = this.block.nearestInputPos(this.offset, E.LEFT), !0;
2365
+ return this.offset = this.block.nearestInputPos(this.offset, C.LEFT), !0;
2339
2366
  });
2340
2367
  }
2341
2368
  pushRightBeforeFilled() {
2342
2369
  return this._pushRight(() => {
2343
- if (!(this.block.isFixed || !this.block.value) && (this.offset = this.block.nearestInputPos(this.offset, E.FORCE_RIGHT), this.offset !== this.block.value.length))
2370
+ if (!(this.block.isFixed || !this.block.value) && (this.offset = this.block.nearestInputPos(this.offset, C.FORCE_RIGHT), this.offset !== this.block.value.length))
2344
2371
  return !0;
2345
2372
  });
2346
2373
  }
2347
2374
  pushRightBeforeInput() {
2348
2375
  return this._pushRight(() => {
2349
2376
  if (!this.block.isFixed)
2350
- return this.offset = this.block.nearestInputPos(this.offset, E.NONE), !0;
2377
+ return this.offset = this.block.nearestInputPos(this.offset, C.NONE), !0;
2351
2378
  });
2352
2379
  }
2353
2380
  pushRightBeforeRequired() {
2354
2381
  return this._pushRight(() => {
2355
2382
  if (!(this.block.isFixed || this.block.isOptional && !this.block.value))
2356
- return this.offset = this.block.nearestInputPos(this.offset, E.NONE), !0;
2383
+ return this.offset = this.block.nearestInputPos(this.offset, C.NONE), !0;
2357
2384
  });
2358
2385
  }
2359
2386
  }
@@ -2383,18 +2410,18 @@ class Js {
2383
2410
  this._isRawInput = !1, this._value = "";
2384
2411
  }
2385
2412
  remove(e, t) {
2386
- return e === void 0 && (e = 0), t === void 0 && (t = this._value.length), this._value = this._value.slice(0, e) + this._value.slice(t), this._value || (this._isRawInput = !1), new M();
2413
+ return e === void 0 && (e = 0), t === void 0 && (t = this._value.length), this._value = this._value.slice(0, e) + this._value.slice(t), this._value || (this._isRawInput = !1), new $();
2387
2414
  }
2388
2415
  nearestInputPos(e, t) {
2389
- t === void 0 && (t = E.NONE);
2416
+ t === void 0 && (t = C.NONE);
2390
2417
  const s = 0, n = this._value.length;
2391
2418
  switch (t) {
2392
- case E.LEFT:
2393
- case E.FORCE_LEFT:
2419
+ case C.LEFT:
2420
+ case C.FORCE_LEFT:
2394
2421
  return s;
2395
- case E.NONE:
2396
- case E.RIGHT:
2397
- case E.FORCE_RIGHT:
2422
+ case C.NONE:
2423
+ case C.RIGHT:
2424
+ case C.FORCE_RIGHT:
2398
2425
  default:
2399
2426
  return n;
2400
2427
  }
@@ -2413,12 +2440,12 @@ class Js {
2413
2440
  }
2414
2441
  _appendChar(e, t) {
2415
2442
  if (t === void 0 && (t = {}), this.isFilled)
2416
- return new M();
2417
- const s = this.eager === !0 || this.eager === "append", i = this.char === e && (this.isUnmasking || t.input || t.raw) && (!t.raw || !s) && !t.tail, r = new M({
2443
+ return new $();
2444
+ const s = this.eager === !0 || this.eager === "append", a = this.char === e && (this.isUnmasking || t.input || t.raw) && (!t.raw || !s) && !t.tail, r = new $({
2418
2445
  inserted: this.char,
2419
- rawInserted: i ? this.char : ""
2446
+ rawInserted: a ? this.char : ""
2420
2447
  });
2421
- return this._value = this.char, this._isRawInput = i && (t.raw || t.input), r;
2448
+ return this._value = this.char, this._isRawInput = a && (t.raw || t.input), r;
2422
2449
  }
2423
2450
  _appendEager() {
2424
2451
  return this._appendChar(this.char, {
@@ -2426,7 +2453,7 @@ class Js {
2426
2453
  });
2427
2454
  }
2428
2455
  _appendPlaceholder() {
2429
- const e = new M();
2456
+ const e = new $();
2430
2457
  return this.isFilled || (this._value = e.inserted = this.char), e;
2431
2458
  }
2432
2459
  extractTail() {
@@ -2468,7 +2495,7 @@ class ft {
2468
2495
  parent: t,
2469
2496
  isOptional: s,
2470
2497
  placeholderChar: n,
2471
- displayChar: i,
2498
+ displayChar: a,
2472
2499
  lazy: r,
2473
2500
  eager: l,
2474
2501
  ...u
@@ -2477,7 +2504,7 @@ class ft {
2477
2504
  parent: t,
2478
2505
  isOptional: s,
2479
2506
  placeholderChar: n,
2480
- displayChar: i,
2507
+ displayChar: a,
2481
2508
  lazy: r,
2482
2509
  eager: l
2483
2510
  });
@@ -2486,7 +2513,7 @@ class ft {
2486
2513
  this.isFilled = !1, this.masked.reset();
2487
2514
  }
2488
2515
  remove(e, t) {
2489
- return e === void 0 && (e = 0), t === void 0 && (t = this.value.length), e === 0 && t >= 1 ? (this.isFilled = !1, this.masked.remove(e, t)) : new M();
2516
+ return e === void 0 && (e = 0), t === void 0 && (t = this.value.length), e === 0 && t >= 1 ? (this.isFilled = !1, this.masked.remove(e, t)) : new $();
2490
2517
  }
2491
2518
  get value() {
2492
2519
  return this.masked.value || (this.isFilled && !this.isOptional ? this.placeholderChar : "");
@@ -2505,21 +2532,21 @@ class ft {
2505
2532
  }
2506
2533
  _appendChar(e, t) {
2507
2534
  if (t === void 0 && (t = {}), this.isFilled)
2508
- return new M();
2535
+ return new $();
2509
2536
  const s = this.masked.state;
2510
2537
  let n = this.masked._appendChar(e, this.currentMaskFlags(t));
2511
- return n.inserted && this.doValidate(t) === !1 && (n = new M(), this.masked.state = s), !n.inserted && !this.isOptional && !this.lazy && !t.input && (n.inserted = this.placeholderChar), n.skip = !n.inserted && !this.isOptional, this.isFilled = !!n.inserted, n;
2538
+ return n.inserted && this.doValidate(t) === !1 && (n = new $(), this.masked.state = s), !n.inserted && !this.isOptional && !this.lazy && !t.input && (n.inserted = this.placeholderChar), n.skip = !n.inserted && !this.isOptional, this.isFilled = !!n.inserted, n;
2512
2539
  }
2513
2540
  append(e, t, s) {
2514
2541
  return this.masked.append(e, this.currentMaskFlags(t), s);
2515
2542
  }
2516
2543
  _appendPlaceholder() {
2517
- return this.isFilled || this.isOptional ? new M() : (this.isFilled = !0, new M({
2544
+ return this.isFilled || this.isOptional ? new $() : (this.isFilled = !0, new $({
2518
2545
  inserted: this.placeholderChar
2519
2546
  }));
2520
2547
  }
2521
2548
  _appendEager() {
2522
- return new M();
2549
+ return new $();
2523
2550
  }
2524
2551
  extractTail(e, t) {
2525
2552
  return this.masked.extractTail(e, t);
@@ -2531,18 +2558,18 @@ class ft {
2531
2558
  return e === void 0 && (e = 0), t === void 0 && (t = this.value.length), this.masked.extractInput(e, t, s);
2532
2559
  }
2533
2560
  nearestInputPos(e, t) {
2534
- t === void 0 && (t = E.NONE);
2535
- const s = 0, n = this.value.length, i = Math.min(Math.max(e, s), n);
2561
+ t === void 0 && (t = C.NONE);
2562
+ const s = 0, n = this.value.length, a = Math.min(Math.max(e, s), n);
2536
2563
  switch (t) {
2537
- case E.LEFT:
2538
- case E.FORCE_LEFT:
2539
- return this.isComplete ? i : s;
2540
- case E.RIGHT:
2541
- case E.FORCE_RIGHT:
2542
- return this.isComplete ? i : n;
2543
- case E.NONE:
2564
+ case C.LEFT:
2565
+ case C.FORCE_LEFT:
2566
+ return this.isComplete ? a : s;
2567
+ case C.RIGHT:
2568
+ case C.FORCE_RIGHT:
2569
+ return this.isComplete ? a : n;
2570
+ case C.NONE:
2544
2571
  default:
2545
- return i;
2572
+ return a;
2546
2573
  }
2547
2574
  }
2548
2575
  totalInputPositions(e, t) {
@@ -2573,7 +2600,7 @@ class ft {
2573
2600
  };
2574
2601
  }
2575
2602
  pad(e) {
2576
- return new M();
2603
+ return new $();
2577
2604
  }
2578
2605
  }
2579
2606
  ft.DEFAULT_DEFINITIONS = {
@@ -2582,7 +2609,7 @@ ft.DEFAULT_DEFINITIONS = {
2582
2609
  // http://stackoverflow.com/a/22075070
2583
2610
  "*": /./
2584
2611
  };
2585
- class Vn extends ne {
2612
+ class Vn extends ae {
2586
2613
  /** */
2587
2614
  /** Enable characters overwriting */
2588
2615
  /** */
@@ -2596,8 +2623,8 @@ class Vn extends ne {
2596
2623
  t && (e.validate = (s) => s.search(t) >= 0), super._update(e);
2597
2624
  }
2598
2625
  }
2599
- I.MaskedRegExp = Vn;
2600
- class ie extends ne {
2626
+ O.MaskedRegExp = Vn;
2627
+ class ie extends ae {
2601
2628
  /** */
2602
2629
  /** */
2603
2630
  /** Single char for empty input */
@@ -2627,16 +2654,16 @@ class ie extends ne {
2627
2654
  if (!t || !e)
2628
2655
  return;
2629
2656
  let s = !1, n = !1;
2630
- for (let i = 0; i < t.length; ++i) {
2657
+ for (let a = 0; a < t.length; ++a) {
2631
2658
  if (this.blocks) {
2632
- const d = t.slice(i), h = Object.keys(this.blocks).filter((_) => d.indexOf(_) === 0);
2659
+ const d = t.slice(a), h = Object.keys(this.blocks).filter((_) => d.indexOf(_) === 0);
2633
2660
  h.sort((_, v) => v.length - _.length);
2634
2661
  const f = h[0];
2635
2662
  if (f) {
2636
2663
  const {
2637
2664
  expose: _,
2638
2665
  repeat: v,
2639
- ...C
2666
+ ...S
2640
2667
  } = Qe(this.blocks[f]), y = {
2641
2668
  lazy: this.lazy,
2642
2669
  eager: this.eager,
@@ -2644,18 +2671,18 @@ class ie extends ne {
2644
2671
  displayChar: this.displayChar,
2645
2672
  overwrite: this.overwrite,
2646
2673
  autofix: this.autofix,
2647
- ...C,
2674
+ ...S,
2648
2675
  repeat: v,
2649
2676
  parent: this
2650
- }, m = v != null ? new I.RepeatBlock(
2677
+ }, m = v != null ? new O.RepeatBlock(
2651
2678
  y
2652
2679
  /* TODO */
2653
2680
  ) : Be(y);
2654
- m && (this._blocks.push(m), _ && (this.exposeBlock = m), this._maskedBlocks[f] || (this._maskedBlocks[f] = []), this._maskedBlocks[f].push(this._blocks.length - 1)), i += f.length - 1;
2681
+ m && (this._blocks.push(m), _ && (this.exposeBlock = m), this._maskedBlocks[f] || (this._maskedBlocks[f] = []), this._maskedBlocks[f].push(this._blocks.length - 1)), a += f.length - 1;
2655
2682
  continue;
2656
2683
  }
2657
2684
  }
2658
- let r = t[i], l = r in e;
2685
+ let r = t[a], l = r in e;
2659
2686
  if (r === ie.STOP_CHAR) {
2660
2687
  this._stops.push(this._blocks.length);
2661
2688
  continue;
@@ -2669,7 +2696,7 @@ class ie extends ne {
2669
2696
  continue;
2670
2697
  }
2671
2698
  if (r === ie.ESCAPE_CHAR) {
2672
- if (++i, r = t[i], !r)
2699
+ if (++a, r = t[a], !r)
2673
2700
  break;
2674
2701
  l = !1;
2675
2702
  }
@@ -2704,7 +2731,7 @@ class ie extends ne {
2704
2731
  _blocks: t,
2705
2732
  ...s
2706
2733
  } = e;
2707
- this._blocks.forEach((n, i) => n.state = t[i]), super.state = s;
2734
+ this._blocks.forEach((n, a) => n.state = t[a]), super.state = s;
2708
2735
  }
2709
2736
  reset() {
2710
2737
  super.reset(), this._blocks.forEach((e) => e.reset());
@@ -2765,29 +2792,29 @@ class ie extends ne {
2765
2792
  }
2766
2793
  _appendEager() {
2767
2794
  var e;
2768
- const t = new M();
2795
+ const t = new $();
2769
2796
  let s = (e = this._mapPosToBlock(this.displayValue.length)) == null ? void 0 : e.index;
2770
2797
  if (s == null)
2771
2798
  return t;
2772
2799
  this._blocks[s].isFilled && ++s;
2773
2800
  for (let n = s; n < this._blocks.length; ++n) {
2774
- const i = this._blocks[n]._appendEager();
2775
- if (!i.inserted)
2801
+ const a = this._blocks[n]._appendEager();
2802
+ if (!a.inserted)
2776
2803
  break;
2777
- t.aggregate(i);
2804
+ t.aggregate(a);
2778
2805
  }
2779
2806
  return t;
2780
2807
  }
2781
2808
  _appendCharRaw(e, t) {
2782
2809
  t === void 0 && (t = {});
2783
- const s = this._mapPosToBlock(this.displayValue.length), n = new M();
2810
+ const s = this._mapPosToBlock(this.displayValue.length), n = new $();
2784
2811
  if (!s)
2785
2812
  return n;
2786
2813
  for (let r = s.index, l; l = this._blocks[r]; ++r) {
2787
- var i;
2814
+ var a;
2788
2815
  const u = l._appendChar(e, {
2789
2816
  ...t,
2790
- _beforeTailState: (i = t._beforeTailState) == null || (i = i._blocks) == null ? void 0 : i[r]
2817
+ _beforeTailState: (a = t._beforeTailState) == null || (a = a._blocks) == null ? void 0 : a[r]
2791
2818
  });
2792
2819
  if (n.aggregate(u), u.consumed)
2793
2820
  break;
@@ -2797,17 +2824,17 @@ class ie extends ne {
2797
2824
  extractTail(e, t) {
2798
2825
  e === void 0 && (e = 0), t === void 0 && (t = this.displayValue.length);
2799
2826
  const s = new Ue();
2800
- return e === t || this._forEachBlocksInRange(e, t, (n, i, r, l) => {
2827
+ return e === t || this._forEachBlocksInRange(e, t, (n, a, r, l) => {
2801
2828
  const u = n.extractTail(r, l);
2802
- u.stop = this._findStopBefore(i), u.from = this._blockStartPos(i), u instanceof Ue && (u.blockIndex = i), s.extend(u);
2829
+ u.stop = this._findStopBefore(a), u.from = this._blockStartPos(a), u instanceof Ue && (u.blockIndex = a), s.extend(u);
2803
2830
  }), s;
2804
2831
  }
2805
2832
  extractInput(e, t, s) {
2806
2833
  if (e === void 0 && (e = 0), t === void 0 && (t = this.displayValue.length), s === void 0 && (s = {}), e === t)
2807
2834
  return "";
2808
2835
  let n = "";
2809
- return this._forEachBlocksInRange(e, t, (i, r, l, u) => {
2810
- n += i.extractInput(l, u, s);
2836
+ return this._forEachBlocksInRange(e, t, (a, r, l, u) => {
2837
+ n += a.extractInput(l, u, s);
2811
2838
  }), n;
2812
2839
  }
2813
2840
  _findStopBefore(e) {
@@ -2823,14 +2850,14 @@ class ie extends ne {
2823
2850
  }
2824
2851
  /** Appends placeholder depending on laziness */
2825
2852
  _appendPlaceholder(e) {
2826
- const t = new M();
2853
+ const t = new $();
2827
2854
  if (this.lazy && e == null)
2828
2855
  return t;
2829
2856
  const s = this._mapPosToBlock(this.displayValue.length);
2830
2857
  if (!s)
2831
2858
  return t;
2832
- const n = s.index, i = e ?? this._blocks.length;
2833
- return this._blocks.slice(n, i).forEach((r) => {
2859
+ const n = s.index, a = e ?? this._blocks.length;
2860
+ return this._blocks.slice(n, a).forEach((r) => {
2834
2861
  if (!r.lazy || e != null) {
2835
2862
  var l;
2836
2863
  t.aggregate(r._appendPlaceholder((l = r._blocks) == null ? void 0 : l.length));
@@ -2841,11 +2868,11 @@ class ie extends ne {
2841
2868
  _mapPosToBlock(e) {
2842
2869
  let t = "";
2843
2870
  for (let s = 0; s < this._blocks.length; ++s) {
2844
- const n = this._blocks[s], i = t.length;
2871
+ const n = this._blocks[s], a = t.length;
2845
2872
  if (t += n.displayValue, e <= t.length)
2846
2873
  return {
2847
2874
  index: s,
2848
- offset: e - i
2875
+ offset: e - a
2849
2876
  };
2850
2877
  }
2851
2878
  }
@@ -2856,46 +2883,46 @@ class ie extends ne {
2856
2883
  t === void 0 && (t = this.displayValue.length);
2857
2884
  const n = this._mapPosToBlock(e);
2858
2885
  if (n) {
2859
- const i = this._mapPosToBlock(t), r = i && n.index === i.index, l = n.offset, u = i && r ? i.offset : this._blocks[n.index].displayValue.length;
2860
- if (s(this._blocks[n.index], n.index, l, u), i && !r) {
2861
- for (let d = n.index + 1; d < i.index; ++d)
2886
+ const a = this._mapPosToBlock(t), r = a && n.index === a.index, l = n.offset, u = a && r ? a.offset : this._blocks[n.index].displayValue.length;
2887
+ if (s(this._blocks[n.index], n.index, l, u), a && !r) {
2888
+ for (let d = n.index + 1; d < a.index; ++d)
2862
2889
  s(this._blocks[d], d, 0, this._blocks[d].displayValue.length);
2863
- s(this._blocks[i.index], i.index, 0, i.offset);
2890
+ s(this._blocks[a.index], a.index, 0, a.offset);
2864
2891
  }
2865
2892
  }
2866
2893
  }
2867
2894
  remove(e, t) {
2868
2895
  e === void 0 && (e = 0), t === void 0 && (t = this.displayValue.length);
2869
2896
  const s = super.remove(e, t);
2870
- return this._forEachBlocksInRange(e, t, (n, i, r, l) => {
2897
+ return this._forEachBlocksInRange(e, t, (n, a, r, l) => {
2871
2898
  s.aggregate(n.remove(r, l));
2872
2899
  }), s;
2873
2900
  }
2874
2901
  nearestInputPos(e, t) {
2875
- if (t === void 0 && (t = E.NONE), !this._blocks.length)
2902
+ if (t === void 0 && (t = C.NONE), !this._blocks.length)
2876
2903
  return 0;
2877
2904
  const s = new $n(this, e);
2878
- if (t === E.NONE)
2905
+ if (t === C.NONE)
2879
2906
  return s.pushRightBeforeInput() || (s.popState(), s.pushLeftBeforeInput()) ? s.pos : this.displayValue.length;
2880
- if (t === E.LEFT || t === E.FORCE_LEFT) {
2881
- if (t === E.LEFT) {
2907
+ if (t === C.LEFT || t === C.FORCE_LEFT) {
2908
+ if (t === C.LEFT) {
2882
2909
  if (s.pushRightBeforeFilled(), s.ok && s.pos === e)
2883
2910
  return e;
2884
2911
  s.popState();
2885
2912
  }
2886
- if (s.pushLeftBeforeInput(), s.pushLeftBeforeRequired(), s.pushLeftBeforeFilled(), t === E.LEFT) {
2913
+ if (s.pushLeftBeforeInput(), s.pushLeftBeforeRequired(), s.pushLeftBeforeFilled(), t === C.LEFT) {
2887
2914
  if (s.pushRightBeforeInput(), s.pushRightBeforeRequired(), s.ok && s.pos <= e || (s.popState(), s.ok && s.pos <= e))
2888
2915
  return s.pos;
2889
2916
  s.popState();
2890
2917
  }
2891
- return s.ok ? s.pos : t === E.FORCE_LEFT ? 0 : (s.popState(), s.ok || (s.popState(), s.ok) ? s.pos : 0);
2918
+ return s.ok ? s.pos : t === C.FORCE_LEFT ? 0 : (s.popState(), s.ok || (s.popState(), s.ok) ? s.pos : 0);
2892
2919
  }
2893
- return t === E.RIGHT || t === E.FORCE_RIGHT ? (s.pushRightBeforeInput(), s.pushRightBeforeRequired(), s.pushRightBeforeFilled() ? s.pos : t === E.FORCE_RIGHT ? this.displayValue.length : (s.popState(), s.ok || (s.popState(), s.ok) ? s.pos : this.nearestInputPos(e, E.LEFT))) : e;
2920
+ return t === C.RIGHT || t === C.FORCE_RIGHT ? (s.pushRightBeforeInput(), s.pushRightBeforeRequired(), s.pushRightBeforeFilled() ? s.pos : t === C.FORCE_RIGHT ? this.displayValue.length : (s.popState(), s.ok || (s.popState(), s.ok) ? s.pos : this.nearestInputPos(e, C.LEFT))) : e;
2894
2921
  }
2895
2922
  totalInputPositions(e, t) {
2896
2923
  e === void 0 && (e = 0), t === void 0 && (t = this.displayValue.length);
2897
2924
  let s = 0;
2898
- return this._forEachBlocksInRange(e, t, (n, i, r, l) => {
2925
+ return this._forEachBlocksInRange(e, t, (n, a, r, l) => {
2899
2926
  s += n.totalInputPositions(r, l);
2900
2927
  }), s;
2901
2928
  }
@@ -2909,12 +2936,12 @@ class ie extends ne {
2909
2936
  return t ? t.map((s) => this._blocks[s]) : [];
2910
2937
  }
2911
2938
  pad(e) {
2912
- const t = new M();
2939
+ const t = new $();
2913
2940
  return this._forEachBlocksInRange(0, this.displayValue.length, (s) => t.aggregate(s.pad(e))), t;
2914
2941
  }
2915
2942
  }
2916
2943
  ie.DEFAULTS = {
2917
- ...ne.DEFAULTS,
2944
+ ...ae.DEFAULTS,
2918
2945
  lazy: !0,
2919
2946
  placeholderChar: "_"
2920
2947
  };
@@ -2922,7 +2949,7 @@ ie.STOP_CHAR = "`";
2922
2949
  ie.ESCAPE_CHAR = "\\";
2923
2950
  ie.InputDefinition = ft;
2924
2951
  ie.FixedDefinition = Js;
2925
- I.MaskedPattern = ie;
2952
+ O.MaskedPattern = ie;
2926
2953
  class ct extends ie {
2927
2954
  /**
2928
2955
  Optionally sets max length of pattern.
@@ -2944,10 +2971,10 @@ class ct extends ie {
2944
2971
  to: t = this.to || 0,
2945
2972
  from: s = this.from || 0,
2946
2973
  maxLength: n = this.maxLength || 0,
2947
- autofix: i = this.autofix,
2974
+ autofix: a = this.autofix,
2948
2975
  ...r
2949
2976
  } = e;
2950
- this.to = t, this.from = s, this.maxLength = Math.max(String(t).length, n), this.autofix = i;
2977
+ this.to = t, this.from = s, this.maxLength = Math.max(String(t).length, n), this.autofix = a;
2951
2978
  const l = String(this.from).padStart(this.maxLength, "0"), u = String(this.to).padStart(this.maxLength, "0");
2952
2979
  let d = 0;
2953
2980
  for (; d < u.length && u[d] === l[d]; )
@@ -2959,8 +2986,8 @@ class ct extends ie {
2959
2986
  }
2960
2987
  boundaries(e) {
2961
2988
  let t = "", s = "";
2962
- const [, n, i] = e.match(/^(\D*)(\d*)(\D*)/) || [];
2963
- return i && (t = "0".repeat(n.length) + i, s = "9".repeat(n.length) + i), t = t.padEnd(this.maxLength, "0"), s = s.padEnd(this.maxLength, "9"), [t, s];
2989
+ const [, n, a] = e.match(/^(\D*)(\d*)(\D*)/) || [];
2990
+ return a && (t = "0".repeat(n.length) + a, s = "9".repeat(n.length) + a), t = t.padEnd(this.maxLength, "0"), s = s.padEnd(this.maxLength, "9"), [t, s];
2964
2991
  }
2965
2992
  doPrepareChar(e, t) {
2966
2993
  t === void 0 && (t = {});
@@ -2970,31 +2997,31 @@ class ct extends ie {
2970
2997
  _appendCharRaw(e, t) {
2971
2998
  if (t === void 0 && (t = {}), !this.autofix || this.value.length + 1 > this.maxLength)
2972
2999
  return super._appendCharRaw(e, t);
2973
- const s = String(this.from).padStart(this.maxLength, "0"), n = String(this.to).padStart(this.maxLength, "0"), [i, r] = this.boundaries(this.value + e);
2974
- return Number(r) < this.from ? super._appendCharRaw(s[this.value.length], t) : Number(i) > this.to ? !t.tail && this.autofix === "pad" && this.value.length + 1 < this.maxLength ? super._appendCharRaw(s[this.value.length], t).aggregate(this._appendCharRaw(e, t)) : super._appendCharRaw(n[this.value.length], t) : super._appendCharRaw(e, t);
3000
+ const s = String(this.from).padStart(this.maxLength, "0"), n = String(this.to).padStart(this.maxLength, "0"), [a, r] = this.boundaries(this.value + e);
3001
+ return Number(r) < this.from ? super._appendCharRaw(s[this.value.length], t) : Number(a) > this.to ? !t.tail && this.autofix === "pad" && this.value.length + 1 < this.maxLength ? super._appendCharRaw(s[this.value.length], t).aggregate(this._appendCharRaw(e, t)) : super._appendCharRaw(n[this.value.length], t) : super._appendCharRaw(e, t);
2975
3002
  }
2976
3003
  doValidate(e) {
2977
3004
  const t = this.value;
2978
3005
  if (t.search(/[^0]/) === -1 && t.length <= this._matchFrom)
2979
3006
  return !0;
2980
- const [n, i] = this.boundaries(t);
2981
- return this.from <= Number(i) && Number(n) <= this.to && super.doValidate(e);
3007
+ const [n, a] = this.boundaries(t);
3008
+ return this.from <= Number(a) && Number(n) <= this.to && super.doValidate(e);
2982
3009
  }
2983
3010
  pad(e) {
2984
- const t = new M();
3011
+ const t = new $();
2985
3012
  if (this.value.length === this.maxLength)
2986
3013
  return t;
2987
3014
  const s = this.value, n = this.maxLength - this.value.length;
2988
3015
  if (n) {
2989
3016
  this.reset();
2990
- for (let i = 0; i < n; ++i)
3017
+ for (let a = 0; a < n; ++a)
2991
3018
  t.aggregate(super._appendCharRaw("0", e));
2992
- s.split("").forEach((i) => this._appendCharRaw(i));
3019
+ s.split("").forEach((a) => this._appendCharRaw(a));
2993
3020
  }
2994
3021
  return t;
2995
3022
  }
2996
3023
  }
2997
- I.MaskedRange = ct;
3024
+ O.MaskedRange = ct;
2998
3025
  class De extends ie {
2999
3026
  static extractPatternOptions(e) {
3000
3027
  const {
@@ -3026,13 +3053,13 @@ class De extends ie {
3026
3053
  mask: t,
3027
3054
  pattern: s,
3028
3055
  blocks: n,
3029
- ...i
3056
+ ...a
3030
3057
  } = {
3031
3058
  ...De.DEFAULTS,
3032
3059
  ...e
3033
3060
  }, r = Object.assign({}, De.GET_DEFAULT_BLOCKS());
3034
3061
  e.min && (r.Y.from = e.min.getFullYear()), e.max && (r.Y.to = e.max.getFullYear()), e.min && e.max && r.Y.from === r.Y.to && (r.m.from = e.min.getMonth() + 1, r.m.to = e.max.getMonth() + 1, r.m.from === r.m.to && (r.d.from = e.min.getDate(), r.d.to = e.max.getDate())), Object.assign(r, this.blocks, n), super._update({
3035
- ...i,
3062
+ ...a,
3036
3063
  mask: $e(t) ? t : s,
3037
3064
  blocks: r
3038
3065
  });
@@ -3088,19 +3115,19 @@ De.DEFAULTS = {
3088
3115
  ...ie.DEFAULTS,
3089
3116
  mask: Date,
3090
3117
  pattern: "d{.}`m{.}`Y",
3091
- format: (a, e) => {
3092
- if (!a)
3118
+ format: (i, e) => {
3119
+ if (!i)
3093
3120
  return "";
3094
- const t = String(a.getDate()).padStart(2, "0"), s = String(a.getMonth() + 1).padStart(2, "0"), n = a.getFullYear();
3121
+ const t = String(i.getDate()).padStart(2, "0"), s = String(i.getMonth() + 1).padStart(2, "0"), n = i.getFullYear();
3095
3122
  return [t, s, n].join(".");
3096
3123
  },
3097
- parse: (a, e) => {
3098
- const [t, s, n] = a.split(".").map(Number);
3124
+ parse: (i, e) => {
3125
+ const [t, s, n] = i.split(".").map(Number);
3099
3126
  return new Date(n, s - 1, t);
3100
3127
  }
3101
3128
  };
3102
- I.MaskedDate = De;
3103
- class yt extends ne {
3129
+ O.MaskedDate = De;
3130
+ class yt extends ae {
3104
3131
  constructor(e) {
3105
3132
  super({
3106
3133
  ...yt.DEFAULTS,
@@ -3115,13 +3142,13 @@ class yt extends ne {
3115
3142
  const {
3116
3143
  expose: s,
3117
3144
  ...n
3118
- } = Qe(t), i = Be({
3145
+ } = Qe(t), a = Be({
3119
3146
  overwrite: this._overwrite,
3120
3147
  eager: this._eager,
3121
3148
  skipInvalid: this._skipInvalid,
3122
3149
  ...n
3123
3150
  });
3124
- return s && (this.exposeMask = i), i;
3151
+ return s && (this.exposeMask = a), a;
3125
3152
  }) : []);
3126
3153
  }
3127
3154
  _appendCharRaw(e, t) {
@@ -3131,7 +3158,7 @@ class yt extends ne {
3131
3158
  }
3132
3159
  _applyDispatch(e, t, s) {
3133
3160
  e === void 0 && (e = ""), t === void 0 && (t = {}), s === void 0 && (s = "");
3134
- const n = t.tail && t._beforeTailState != null ? t._beforeTailState._value : this.value, i = this.rawInputValue, r = t.tail && t._beforeTailState != null ? t._beforeTailState._rawInputValue : i, l = i.slice(r.length), u = this.currentMask, d = new M(), h = u == null ? void 0 : u.state;
3161
+ const n = t.tail && t._beforeTailState != null ? t._beforeTailState._value : this.value, a = this.rawInputValue, r = t.tail && t._beforeTailState != null ? t._beforeTailState._rawInputValue : a, l = a.slice(r.length), u = this.currentMask, d = new $(), h = u == null ? void 0 : u.state;
3135
3162
  return this.currentMask = this.doDispatch(e, {
3136
3163
  ...t
3137
3164
  }, s), this.currentMask && (this.currentMask !== u ? (this.currentMask.reset(), r && (this.currentMask.append(r, {
@@ -3150,7 +3177,7 @@ class yt extends ne {
3150
3177
  return this.currentMask && e.aggregate(this.currentMask._appendEager()), e;
3151
3178
  }
3152
3179
  appendTail(e) {
3153
- const t = new M();
3180
+ const t = new $();
3154
3181
  return e && t.aggregate(this._applyDispatch("", {}, e)), t.aggregate(this.currentMask ? this.currentMask.appendTail(e) : super.appendTail(e));
3155
3182
  }
3156
3183
  currentMaskFlags(e) {
@@ -3170,8 +3197,8 @@ class yt extends ne {
3170
3197
  t === void 0 && (t = {});
3171
3198
  let [s, n] = super.doPrepare(e, t);
3172
3199
  if (this.currentMask) {
3173
- let i;
3174
- [s, i] = super.doPrepare(s, this.currentMaskFlags(t)), n = n.aggregate(i);
3200
+ let a;
3201
+ [s, a] = super.doPrepare(s, this.currentMaskFlags(t)), n = n.aggregate(a);
3175
3202
  }
3176
3203
  return [s, n];
3177
3204
  }
@@ -3179,8 +3206,8 @@ class yt extends ne {
3179
3206
  t === void 0 && (t = {});
3180
3207
  let [s, n] = super.doPrepareChar(e, t);
3181
3208
  if (this.currentMask) {
3182
- let i;
3183
- [s, i] = super.doPrepareChar(s, this.currentMaskFlags(t)), n = n.aggregate(i);
3209
+ let a;
3210
+ [s, a] = super.doPrepareChar(s, this.currentMaskFlags(t)), n = n.aggregate(a);
3184
3211
  }
3185
3212
  return [s, n];
3186
3213
  }
@@ -3223,7 +3250,7 @@ class yt extends ne {
3223
3250
  return !!((e = this.currentMask) != null && e.isFilled);
3224
3251
  }
3225
3252
  remove(e, t) {
3226
- const s = new M();
3253
+ const s = new $();
3227
3254
  return this.currentMask && s.aggregate(this.currentMask.remove(e, t)).aggregate(this._applyDispatch()), s;
3228
3255
  }
3229
3256
  get state() {
@@ -3241,9 +3268,9 @@ class yt extends ne {
3241
3268
  compiledMasks: t,
3242
3269
  currentMaskRef: s,
3243
3270
  currentMask: n,
3244
- ...i
3271
+ ...a
3245
3272
  } = e;
3246
- t && this.compiledMasks.forEach((r, l) => r.state = t[l]), s != null && (this.currentMask = s, this.currentMask.state = n), super.state = i;
3273
+ t && this.compiledMasks.forEach((r, l) => r.state = t[l]), s != null && (this.currentMask = s, this.currentMask.state = n), super.state = a;
3247
3274
  }
3248
3275
  extractInput(e, t, s) {
3249
3276
  return this.currentMask ? this.currentMask.extractInput(e, t, s) : "";
@@ -3287,9 +3314,9 @@ class yt extends ne {
3287
3314
  return;
3288
3315
  const {
3289
3316
  mask: n,
3290
- ...i
3317
+ ...a
3291
3318
  } = e[s];
3292
- return ht(t, i) && t.maskEquals(n);
3319
+ return ht(t, a) && t.maskEquals(n);
3293
3320
  }) : super.maskEquals(e);
3294
3321
  }
3295
3322
  typedValueEquals(e) {
@@ -3298,24 +3325,24 @@ class yt extends ne {
3298
3325
  }
3299
3326
  }
3300
3327
  yt.DEFAULTS = {
3301
- ...ne.DEFAULTS,
3302
- dispatch: (a, e, t, s) => {
3328
+ ...ae.DEFAULTS,
3329
+ dispatch: (i, e, t, s) => {
3303
3330
  if (!e.compiledMasks.length)
3304
3331
  return;
3305
- const n = e.rawInputValue, i = e.compiledMasks.map((r, l) => {
3306
- const u = e.currentMask === r, d = u ? r.displayValue.length : r.nearestInputPos(r.displayValue.length, E.FORCE_LEFT);
3332
+ const n = e.rawInputValue, a = e.compiledMasks.map((r, l) => {
3333
+ const u = e.currentMask === r, d = u ? r.displayValue.length : r.nearestInputPos(r.displayValue.length, C.FORCE_LEFT);
3307
3334
  return r.rawInputValue !== n ? (r.reset(), r.append(n, {
3308
3335
  raw: !0
3309
- })) : u || r.remove(d), r.append(a, e.currentMaskFlags(t)), r.appendTail(s), {
3336
+ })) : u || r.remove(d), r.append(i, e.currentMaskFlags(t)), r.appendTail(s), {
3310
3337
  index: l,
3311
3338
  weight: r.rawInputValue.length,
3312
- totalInputPositions: r.totalInputPositions(0, Math.max(d, r.nearestInputPos(r.displayValue.length, E.FORCE_LEFT)))
3339
+ totalInputPositions: r.totalInputPositions(0, Math.max(d, r.nearestInputPos(r.displayValue.length, C.FORCE_LEFT)))
3313
3340
  };
3314
3341
  });
3315
- return i.sort((r, l) => l.weight - r.weight || l.totalInputPositions - r.totalInputPositions), e.compiledMasks[i[0].index];
3342
+ return a.sort((r, l) => l.weight - r.weight || l.totalInputPositions - r.totalInputPositions), e.compiledMasks[a[0].index];
3316
3343
  }
3317
3344
  };
3318
- I.MaskedDynamic = yt;
3345
+ O.MaskedDynamic = yt;
3319
3346
  class _t extends ie {
3320
3347
  constructor(e) {
3321
3348
  super({
@@ -3332,23 +3359,23 @@ class _t extends ie {
3332
3359
  ...s
3333
3360
  } = e;
3334
3361
  if (t) {
3335
- const n = t.map((l) => l.length), i = Math.min(...n), r = Math.max(...n) - i;
3336
- s.mask = "*".repeat(i), r && (s.mask += "[" + "*".repeat(r) + "]"), this.enum = t;
3362
+ const n = t.map((l) => l.length), a = Math.min(...n), r = Math.max(...n) - a;
3363
+ s.mask = "*".repeat(a), r && (s.mask += "[" + "*".repeat(r) + "]"), this.enum = t;
3337
3364
  }
3338
3365
  super._update(s);
3339
3366
  }
3340
3367
  _appendCharRaw(e, t) {
3341
3368
  t === void 0 && (t = {});
3342
- const s = Math.min(this.nearestInputPos(0, E.FORCE_RIGHT), this.value.length), n = this.enum.filter((i) => this.matchValue(i, this.unmaskedValue + e, s));
3369
+ const s = Math.min(this.nearestInputPos(0, C.FORCE_RIGHT), this.value.length), n = this.enum.filter((a) => this.matchValue(a, this.unmaskedValue + e, s));
3343
3370
  if (n.length) {
3344
3371
  n.length === 1 && this._forEachBlocksInRange(0, this.value.length, (r, l) => {
3345
3372
  const u = n[0][l];
3346
3373
  l >= this.value.length || u === r.value || (r.reset(), r._appendChar(u, t));
3347
3374
  });
3348
- const i = super._appendCharRaw(n[0][this.value.length], t);
3349
- return n.length === 1 && n[0].slice(this.unmaskedValue.length).split("").forEach((r) => i.aggregate(super._appendCharRaw(r))), i;
3375
+ const a = super._appendCharRaw(n[0][this.value.length], t);
3376
+ return n.length === 1 && n[0].slice(this.unmaskedValue.length).split("").forEach((r) => a.aggregate(super._appendCharRaw(r))), a;
3350
3377
  }
3351
- return new M({
3378
+ return new $({
3352
3379
  skip: !this.isComplete
3353
3380
  });
3354
3381
  }
@@ -3357,13 +3384,13 @@ class _t extends ie {
3357
3384
  }
3358
3385
  remove(e, t) {
3359
3386
  if (e === void 0 && (e = 0), t === void 0 && (t = this.displayValue.length), e === t)
3360
- return new M();
3361
- const s = Math.min(super.nearestInputPos(0, E.FORCE_RIGHT), this.value.length);
3387
+ return new $();
3388
+ const s = Math.min(super.nearestInputPos(0, C.FORCE_RIGHT), this.value.length);
3362
3389
  let n;
3363
3390
  for (n = e; n >= 0 && !(this.enum.filter((l) => this.matchValue(l, this.value.slice(s, n), s)).length > 1); --n)
3364
3391
  ;
3365
- const i = super.remove(n, t);
3366
- return i.tailShift += n - e, i;
3392
+ const a = super.remove(n, t);
3393
+ return a.tailShift += n - e, a;
3367
3394
  }
3368
3395
  get isComplete() {
3369
3396
  return this.enum.indexOf(this.value) >= 0;
@@ -3371,10 +3398,10 @@ class _t extends ie {
3371
3398
  }
3372
3399
  _t.DEFAULTS = {
3373
3400
  ...ie.DEFAULTS,
3374
- matchValue: (a, e, t) => a.indexOf(e, t) === t
3401
+ matchValue: (i, e, t) => i.indexOf(e, t) === t
3375
3402
  };
3376
- I.MaskedEnum = _t;
3377
- class Ln extends ne {
3403
+ O.MaskedEnum = _t;
3404
+ class Ln extends ae {
3378
3405
  /** */
3379
3406
  /** Enable characters overwriting */
3380
3407
  /** */
@@ -3390,9 +3417,9 @@ class Ln extends ne {
3390
3417
  });
3391
3418
  }
3392
3419
  }
3393
- I.MaskedFunction = Ln;
3420
+ O.MaskedFunction = Ln;
3394
3421
  var Qs;
3395
- class he extends ne {
3422
+ class he extends ae {
3396
3423
  /** Single char */
3397
3424
  /** Single char */
3398
3425
  /** Array of single chars */
@@ -3460,20 +3487,20 @@ class he extends ne {
3460
3487
  t === void 0 && (t = {});
3461
3488
  const s = t.tail && t._beforeTailState ? t._beforeTailState._value : this._value, n = this._separatorsCountFromSlice(s);
3462
3489
  this._value = this._removeThousandsSeparators(this.value);
3463
- const i = this._value;
3490
+ const a = this._value;
3464
3491
  this._value += e;
3465
3492
  const r = this.number;
3466
3493
  let l = !isNaN(r), u = !1;
3467
3494
  if (l) {
3468
3495
  let _;
3469
- this.min != null && this.min < 0 && this.number < this.min && (_ = this.min), this.max != null && this.max > 0 && this.number > this.max && (_ = this.max), _ != null && (this.autofix ? (this._value = this.format(_, this).replace(he.UNMASKED_RADIX, this.radix), u || (u = i === this._value && !t.tail)) : l = !1), l && (l = !!this._value.match(this._numberRegExp));
3496
+ this.min != null && this.min < 0 && this.number < this.min && (_ = this.min), this.max != null && this.max > 0 && this.number > this.max && (_ = this.max), _ != null && (this.autofix ? (this._value = this.format(_, this).replace(he.UNMASKED_RADIX, this.radix), u || (u = a === this._value && !t.tail)) : l = !1), l && (l = !!this._value.match(this._numberRegExp));
3470
3497
  }
3471
3498
  let d;
3472
- l ? d = new M({
3473
- inserted: this._value.slice(i.length),
3499
+ l ? d = new $({
3500
+ inserted: this._value.slice(a.length),
3474
3501
  rawInserted: u ? "" : e,
3475
3502
  skip: u
3476
- }) : (this._value = i, d = new M()), this._value = this._insertThousandsSeparators(this._value);
3503
+ }) : (this._value = a, d = new $()), this._value = this._insertThousandsSeparators(this._value);
3477
3504
  const h = t.tail && t._beforeTailState ? t._beforeTailState._value : this._value, f = this._separatorsCountFromSlice(h);
3478
3505
  return d.tailShift += (f - n) * this.thousandsSeparator.length, d;
3479
3506
  }
@@ -3493,30 +3520,30 @@ class he extends ne {
3493
3520
  }
3494
3521
  remove(e, t) {
3495
3522
  e === void 0 && (e = 0), t === void 0 && (t = this.displayValue.length), [e, t] = this._adjustRangeWithSeparators(e, t);
3496
- const s = this.value.slice(0, e), n = this.value.slice(t), i = this._separatorsCount(s.length);
3523
+ const s = this.value.slice(0, e), n = this.value.slice(t), a = this._separatorsCount(s.length);
3497
3524
  this._value = this._insertThousandsSeparators(this._removeThousandsSeparators(s + n));
3498
3525
  const r = this._separatorsCountFromSlice(s);
3499
- return new M({
3500
- tailShift: (r - i) * this.thousandsSeparator.length
3526
+ return new $({
3527
+ tailShift: (r - a) * this.thousandsSeparator.length
3501
3528
  });
3502
3529
  }
3503
3530
  nearestInputPos(e, t) {
3504
3531
  if (!this.thousandsSeparator)
3505
3532
  return e;
3506
3533
  switch (t) {
3507
- case E.NONE:
3508
- case E.LEFT:
3509
- case E.FORCE_LEFT: {
3534
+ case C.NONE:
3535
+ case C.LEFT:
3536
+ case C.FORCE_LEFT: {
3510
3537
  const s = this._findSeparatorAround(e - 1);
3511
3538
  if (s >= 0) {
3512
3539
  const n = s + this.thousandsSeparator.length;
3513
- if (e < n || this.value.length <= n || t === E.FORCE_LEFT)
3540
+ if (e < n || this.value.length <= n || t === C.FORCE_LEFT)
3514
3541
  return s;
3515
3542
  }
3516
3543
  break;
3517
3544
  }
3518
- case E.RIGHT:
3519
- case E.FORCE_RIGHT: {
3545
+ case C.RIGHT:
3546
+ case C.FORCE_RIGHT: {
3520
3547
  const s = this._findSeparatorAround(e);
3521
3548
  if (s >= 0)
3522
3549
  return s + this.thousandsSeparator.length;
@@ -3536,7 +3563,7 @@ class he extends ne {
3536
3563
  }
3537
3564
  _normalizeZeros(e) {
3538
3565
  const t = this._removeThousandsSeparators(e).split(this.radix);
3539
- return t[0] = t[0].replace(/^(\D*)(0*)(\d*)/, (s, n, i, r) => n + r), e.length && !/\d$/.test(t[0]) && (t[0] = t[0] + "0"), t.length > 1 && (t[1] = t[1].replace(/0*$/, ""), t[1].length || (t.length = 1)), this._insertThousandsSeparators(t.join(this.radix));
3566
+ return t[0] = t[0].replace(/^(\D*)(0*)(\d*)/, (s, n, a, r) => n + r), e.length && !/\d$/.test(t[0]) && (t[0] = t[0] + "0"), t.length > 1 && (t[1] = t[1].replace(/0*$/, ""), t[1].length || (t.length = 1)), this._insertThousandsSeparators(t.join(this.radix));
3540
3567
  }
3541
3568
  _padFractionalZeros(e) {
3542
3569
  if (!e)
@@ -3580,9 +3607,9 @@ class he extends ne {
3580
3607
  }
3581
3608
  Qs = he;
3582
3609
  he.UNMASKED_RADIX = ".";
3583
- he.EMPTY_VALUES = [...ne.EMPTY_VALUES, 0];
3610
+ he.EMPTY_VALUES = [...ae.EMPTY_VALUES, 0];
3584
3611
  he.DEFAULTS = {
3585
- ...ne.DEFAULTS,
3612
+ ...ae.DEFAULTS,
3586
3613
  mask: Number,
3587
3614
  radix: ",",
3588
3615
  thousandsSeparator: "",
@@ -3593,28 +3620,28 @@ he.DEFAULTS = {
3593
3620
  normalizeZeros: !0,
3594
3621
  padFractionalZeros: !1,
3595
3622
  parse: Number,
3596
- format: (a) => a.toLocaleString("en-US", {
3623
+ format: (i) => i.toLocaleString("en-US", {
3597
3624
  useGrouping: !1,
3598
3625
  maximumFractionDigits: 20
3599
3626
  })
3600
3627
  };
3601
- I.MaskedNumber = he;
3628
+ O.MaskedNumber = he;
3602
3629
  const Ot = {
3603
3630
  MASKED: "value",
3604
3631
  UNMASKED: "unmaskedValue",
3605
3632
  TYPED: "typedValue"
3606
3633
  };
3607
- function en(a, e, t) {
3634
+ function en(i, e, t) {
3608
3635
  e === void 0 && (e = Ot.MASKED), t === void 0 && (t = Ot.MASKED);
3609
- const s = Be(a);
3610
- return (n) => s.runIsolated((i) => (i[e] = n, i[t]));
3636
+ const s = Be(i);
3637
+ return (n) => s.runIsolated((a) => (a[e] = n, a[t]));
3611
3638
  }
3612
- function Pn(a, e, t, s) {
3613
- return en(e, t, s)(a);
3639
+ function Pn(i, e, t, s) {
3640
+ return en(e, t, s)(i);
3614
3641
  }
3615
- I.PIPE_TYPE = Ot;
3616
- I.createPipe = en;
3617
- I.pipe = Pn;
3642
+ O.PIPE_TYPE = Ot;
3643
+ O.createPipe = en;
3644
+ O.pipe = Pn;
3618
3645
  class jn extends ie {
3619
3646
  get repeatFrom() {
3620
3647
  var e;
@@ -3633,12 +3660,12 @@ class jn extends ie {
3633
3660
  _update(e) {
3634
3661
  var t, s, n;
3635
3662
  const {
3636
- repeat: i,
3663
+ repeat: a,
3637
3664
  ...r
3638
3665
  } = Qe(e);
3639
3666
  this._blockOpts = Object.assign({}, this._blockOpts, r);
3640
3667
  const l = Be(this._blockOpts);
3641
- this.repeat = (t = (s = i ?? l.repeat) != null ? s : this.repeat) != null ? t : 1 / 0, super._update({
3668
+ this.repeat = (t = (s = a ?? l.repeat) != null ? s : this.repeat) != null ? t : 1 / 0, super._update({
3642
3669
  mask: "m".repeat(Math.max(this.repeatTo === 1 / 0 && ((n = this._blocks) == null ? void 0 : n.length) || 0, this.repeatFrom)),
3643
3670
  blocks: {
3644
3671
  m: l
@@ -3659,15 +3686,15 @@ class jn extends ie {
3659
3686
  }
3660
3687
  _appendCharRaw(e, t) {
3661
3688
  t === void 0 && (t = {});
3662
- const s = new M();
3689
+ const s = new $();
3663
3690
  for (
3664
- let u = (n = (i = this._mapPosToBlock(this.displayValue.length)) == null ? void 0 : i.index) != null ? n : Math.max(this._blocks.length - 1, 0), d, h;
3691
+ let u = (n = (a = this._mapPosToBlock(this.displayValue.length)) == null ? void 0 : a.index) != null ? n : Math.max(this._blocks.length - 1, 0), d, h;
3665
3692
  // try to get a block or
3666
3693
  // try to allocate a new block if not allocated already
3667
3694
  d = (r = this._blocks[u]) != null ? r : h = !h && this._allocateBlock(u);
3668
3695
  ++u
3669
3696
  ) {
3670
- var n, i, r, l;
3697
+ var n, a, r, l;
3671
3698
  const f = d._appendChar(e, {
3672
3699
  ...t,
3673
3700
  _beforeTailState: (l = t._beforeTailState) == null || (l = l._blocks) == null ? void 0 : l[u]
@@ -3684,11 +3711,11 @@ class jn extends ie {
3684
3711
  _trimEmptyTail(e, t) {
3685
3712
  var s, n;
3686
3713
  e === void 0 && (e = 0);
3687
- const i = Math.max(((s = this._mapPosToBlock(e)) == null ? void 0 : s.index) || 0, this.repeatFrom, 0);
3714
+ const a = Math.max(((s = this._mapPosToBlock(e)) == null ? void 0 : s.index) || 0, this.repeatFrom, 0);
3688
3715
  let r;
3689
3716
  t != null && (r = (n = this._mapPosToBlock(t)) == null ? void 0 : n.index), r == null && (r = this._blocks.length - 1);
3690
3717
  let l = 0;
3691
- for (let u = r; i <= u && !this._blocks[u].unmaskedValue; --u, ++l)
3718
+ for (let u = r; a <= u && !this._blocks[u].unmaskedValue; --u, ++l)
3692
3719
  ;
3693
3720
  l && (this._blocks.splice(r - l + 1, l), this.mask = this.mask.slice(l));
3694
3721
  }
@@ -3710,14 +3737,14 @@ class jn extends ie {
3710
3737
  this._blocks.length = e._blocks.length, this.mask = this.mask.slice(0, this._blocks.length), super.state = e;
3711
3738
  }
3712
3739
  }
3713
- I.RepeatBlock = jn;
3740
+ O.RepeatBlock = jn;
3714
3741
  try {
3715
- globalThis.IMask = I;
3742
+ globalThis.IMask = O;
3716
3743
  } catch {
3717
3744
  }
3718
3745
  const tn = {
3719
3746
  // common
3720
- mask: o.oneOfType([o.array, o.func, o.string, o.instanceOf(RegExp), o.oneOf([Date, Number, I.Masked]), o.instanceOf(I.Masked)]),
3747
+ mask: o.oneOfType([o.array, o.func, o.string, o.instanceOf(RegExp), o.oneOf([Date, Number, O.Masked]), o.instanceOf(O.Masked)]),
3721
3748
  value: o.any,
3722
3749
  unmask: o.oneOfType([o.bool, o.oneOf(["typed"])]),
3723
3750
  prepare: o.func,
@@ -3762,101 +3789,101 @@ const tn = {
3762
3789
  inputRef: o.oneOfType([o.func, o.shape({
3763
3790
  current: o.object
3764
3791
  })])
3765
- }, sn = Object.keys(tn).filter((a) => a !== "value"), zn = ["value", "unmask", "onAccept", "onComplete", "inputRef"], qn = sn.filter((a) => zn.indexOf(a) < 0);
3766
- function Un(a) {
3792
+ }, sn = Object.keys(tn).filter((i) => i !== "value"), zn = ["value", "unmask", "onAccept", "onComplete", "inputRef"], qn = sn.filter((i) => zn.indexOf(i) < 0);
3793
+ function Un(i) {
3767
3794
  var e;
3768
3795
  const t = (e = class extends be.Component {
3769
- constructor(i) {
3770
- super(i), this._inputRef = this._inputRef.bind(this);
3796
+ constructor(a) {
3797
+ super(a), this._inputRef = this._inputRef.bind(this);
3771
3798
  }
3772
3799
  componentDidMount() {
3773
3800
  this.props.mask && this.initMask();
3774
3801
  }
3775
3802
  componentDidUpdate() {
3776
- const i = this.props, r = this._extractMaskOptionsFromProps(i);
3803
+ const a = this.props, r = this._extractMaskOptionsFromProps(a);
3777
3804
  if (r.mask)
3778
- this.maskRef ? (this.maskRef.updateOptions(r), "value" in i && i.value !== void 0 && (this.maskValue = i.value)) : this.initMask(r);
3779
- else if (this.destroyMask(), "value" in i && i.value !== void 0) {
3805
+ this.maskRef ? (this.maskRef.updateOptions(r), "value" in a && a.value !== void 0 && (this.maskValue = a.value)) : this.initMask(r);
3806
+ else if (this.destroyMask(), "value" in a && a.value !== void 0) {
3780
3807
  var l;
3781
- (l = this.element) != null && l.isContentEditable && this.element.tagName !== "INPUT" && this.element.tagName !== "TEXTAREA" ? this.element.textContent = i.value : this.element.value = i.value;
3808
+ (l = this.element) != null && l.isContentEditable && this.element.tagName !== "INPUT" && this.element.tagName !== "TEXTAREA" ? this.element.textContent = a.value : this.element.value = a.value;
3782
3809
  }
3783
3810
  }
3784
3811
  componentWillUnmount() {
3785
3812
  this.destroyMask();
3786
3813
  }
3787
- _inputRef(i) {
3788
- this.element = i, this.props.inputRef && (Object.prototype.hasOwnProperty.call(this.props.inputRef, "current") ? this.props.inputRef.current = i : this.props.inputRef(i));
3814
+ _inputRef(a) {
3815
+ this.element = a, this.props.inputRef && (Object.prototype.hasOwnProperty.call(this.props.inputRef, "current") ? this.props.inputRef.current = a : this.props.inputRef(a));
3789
3816
  }
3790
- initMask(i) {
3791
- i === void 0 && (i = this._extractMaskOptionsFromProps(this.props)), this.maskRef = I(this.element, i).on("accept", this._onAccept.bind(this)).on("complete", this._onComplete.bind(this)), "value" in this.props && this.props.value !== void 0 && (this.maskValue = this.props.value);
3817
+ initMask(a) {
3818
+ a === void 0 && (a = this._extractMaskOptionsFromProps(this.props)), this.maskRef = O(this.element, a).on("accept", this._onAccept.bind(this)).on("complete", this._onComplete.bind(this)), "value" in this.props && this.props.value !== void 0 && (this.maskValue = this.props.value);
3792
3819
  }
3793
3820
  destroyMask() {
3794
3821
  this.maskRef && (this.maskRef.destroy(), delete this.maskRef);
3795
3822
  }
3796
- _extractMaskOptionsFromProps(i) {
3823
+ _extractMaskOptionsFromProps(a) {
3797
3824
  const {
3798
3825
  ...r
3799
- } = i;
3826
+ } = a;
3800
3827
  return Object.keys(r).filter((l) => qn.indexOf(l) < 0).forEach((l) => {
3801
3828
  delete r[l];
3802
3829
  }), r;
3803
3830
  }
3804
- _extractNonMaskProps(i) {
3831
+ _extractNonMaskProps(a) {
3805
3832
  const {
3806
3833
  ...r
3807
- } = i;
3834
+ } = a;
3808
3835
  return sn.forEach((l) => {
3809
3836
  l !== "maxLength" && delete r[l];
3810
- }), "defaultValue" in r || (r.defaultValue = i.mask ? "" : r.value), delete r.value, r;
3837
+ }), "defaultValue" in r || (r.defaultValue = a.mask ? "" : r.value), delete r.value, r;
3811
3838
  }
3812
3839
  get maskValue() {
3813
3840
  return this.maskRef ? this.props.unmask === "typed" ? this.maskRef.typedValue : this.props.unmask ? this.maskRef.unmaskedValue : this.maskRef.value : "";
3814
3841
  }
3815
- set maskValue(i) {
3816
- this.maskRef && (i = i == null && this.props.unmask !== "typed" ? "" : i, this.props.unmask === "typed" ? this.maskRef.typedValue = i : this.props.unmask ? this.maskRef.unmaskedValue = i : this.maskRef.value = i);
3842
+ set maskValue(a) {
3843
+ this.maskRef && (a = a == null && this.props.unmask !== "typed" ? "" : a, this.props.unmask === "typed" ? this.maskRef.typedValue = a : this.props.unmask ? this.maskRef.unmaskedValue = a : this.maskRef.value = a);
3817
3844
  }
3818
- _onAccept(i) {
3819
- this.props.onAccept && this.maskRef && this.props.onAccept(this.maskValue, this.maskRef, i);
3845
+ _onAccept(a) {
3846
+ this.props.onAccept && this.maskRef && this.props.onAccept(this.maskValue, this.maskRef, a);
3820
3847
  }
3821
- _onComplete(i) {
3822
- this.props.onComplete && this.maskRef && this.props.onComplete(this.maskValue, this.maskRef, i);
3848
+ _onComplete(a) {
3849
+ this.props.onComplete && this.maskRef && this.props.onComplete(this.maskValue, this.maskRef, a);
3823
3850
  }
3824
3851
  render() {
3825
- return be.createElement(a, {
3852
+ return be.createElement(i, {
3826
3853
  ...this._extractNonMaskProps(this.props),
3827
3854
  inputRef: this._inputRef
3828
3855
  });
3829
3856
  }
3830
- }, e.displayName = void 0, e.propTypes = void 0, e), s = a.displayName || a.name || "Component";
3831
- return t.displayName = "IMask(" + s + ")", t.propTypes = tn, be.forwardRef((n, i) => be.createElement(t, {
3857
+ }, e.displayName = void 0, e.propTypes = void 0, e), s = i.displayName || i.name || "Component";
3858
+ return t.displayName = "IMask(" + s + ")", t.propTypes = tn, be.forwardRef((n, a) => be.createElement(t, {
3832
3859
  ...n,
3833
- ref: i
3860
+ ref: a
3834
3861
  }));
3835
3862
  }
3836
- const Hn = Un((a) => {
3863
+ const Hn = Un((i) => {
3837
3864
  let {
3838
3865
  inputRef: e,
3839
3866
  ...t
3840
- } = a;
3867
+ } = i;
3841
3868
  return be.createElement("input", {
3842
3869
  ...t,
3843
3870
  ref: e
3844
3871
  });
3845
- }), Wn = (a, e) => be.createElement(Hn, {
3846
- ...a,
3872
+ }), Wn = (i, e) => be.createElement(Hn, {
3873
+ ...i,
3847
3874
  ref: e
3848
3875
  });
3849
3876
  be.forwardRef(Wn);
3850
- function Yn(a, e) {
3877
+ function Yn(i, e) {
3851
3878
  let {
3852
3879
  onAccept: t,
3853
3880
  onComplete: s,
3854
3881
  ref: n = Je(null),
3855
- defaultValue: i,
3882
+ defaultValue: a,
3856
3883
  defaultUnmaskedValue: r,
3857
3884
  defaultTypedValue: l
3858
3885
  } = e === void 0 ? {} : e;
3859
- const u = Je(null), [d, h] = j({}), [f, _] = j(""), [v, C] = j(""), [y, m] = j(), F = Ae(() => {
3886
+ const u = Je(null), [d, h] = j({}), [f, _] = j(""), [v, S] = j(""), [y, m] = j(), F = Ae(() => {
3860
3887
  var p;
3861
3888
  (p = u.current) == null || p.destroy(), u.current = null;
3862
3889
  }, []), P = Ae(() => {
@@ -3865,49 +3892,49 @@ function Yn(a, e) {
3865
3892
  value: p.value,
3866
3893
  unmaskedValue: p.unmaskedValue,
3867
3894
  typedValue: p.typedValue
3868
- }), m(p.typedValue), C(p.unmaskedValue), _(p.value));
3895
+ }), m(p.typedValue), S(p.unmaskedValue), _(p.value));
3869
3896
  }, []), A = Ae((p) => {
3870
- const S = u.current;
3871
- S && (P(), t == null || t(S.value, S, p));
3872
- }, [t]), x = Ae((p) => u.current && (s == null ? void 0 : s(u.current.value, u.current, p)), [s]);
3897
+ const x = u.current;
3898
+ x && (P(), t == null || t(x.value, x, p));
3899
+ }, [t]), E = Ae((p) => u.current && (s == null ? void 0 : s(u.current.value, u.current, p)), [s]);
3873
3900
  return J(() => {
3874
3901
  const {
3875
3902
  value: p,
3876
- ...S
3877
- } = d, B = u.current;
3878
- !B || f === void 0 || (p !== f && (B.value = f, B.value !== f && A()), h(S));
3903
+ ...x
3904
+ } = d, R = u.current;
3905
+ !R || f === void 0 || (p !== f && (R.value = f, R.value !== f && A()), h(x));
3879
3906
  }, [f]), J(() => {
3880
3907
  const {
3881
3908
  unmaskedValue: p,
3882
- ...S
3883
- } = d, B = u.current;
3884
- !B || v === void 0 || (p !== v && (B.unmaskedValue = v, B.unmaskedValue !== v && A()), h(S));
3909
+ ...x
3910
+ } = d, R = u.current;
3911
+ !R || v === void 0 || (p !== v && (R.unmaskedValue = v, R.unmaskedValue !== v && A()), h(x));
3885
3912
  }, [v]), J(() => {
3886
3913
  const {
3887
3914
  typedValue: p,
3888
- ...S
3889
- } = d, B = u.current;
3890
- !B || y === void 0 || (p !== y && (B.typedValue = y, B.masked.typedValueEquals(y) || A()), h(S));
3915
+ ...x
3916
+ } = d, R = u.current;
3917
+ !R || y === void 0 || (p !== y && (R.typedValue = y, R.masked.typedValueEquals(y) || A()), h(x));
3891
3918
  }, [y]), J(() => {
3892
3919
  const p = n.current;
3893
- if (!p || !(a != null && a.mask))
3920
+ if (!p || !(i != null && i.mask))
3894
3921
  return F();
3895
- const S = u.current;
3896
- S ? S == null || S.updateOptions(a) : p && a != null && a.mask && (u.current = I(p, a), P(), i !== void 0 && _(i), r !== void 0 && C(r), l !== void 0 && m(l));
3897
- }, [a, F, A]), J(() => {
3922
+ const x = u.current;
3923
+ x ? x == null || x.updateOptions(i) : p && i != null && i.mask && (u.current = O(p, i), P(), a !== void 0 && _(a), r !== void 0 && S(r), l !== void 0 && m(l));
3924
+ }, [i, F, A]), J(() => {
3898
3925
  if (!u.current)
3899
3926
  return;
3900
3927
  const p = u.current;
3901
- return p.on("accept", A), p.on("complete", x), () => {
3902
- p.off("accept", A), p.off("complete", x);
3928
+ return p.on("accept", A), p.on("complete", E), () => {
3929
+ p.off("accept", A), p.off("complete", E);
3903
3930
  };
3904
- }, [A, x]), J(() => F, [F]), {
3931
+ }, [A, E]), J(() => F, [F]), {
3905
3932
  ref: n,
3906
3933
  maskRef: u,
3907
3934
  value: f,
3908
3935
  setValue: _,
3909
3936
  unmaskedValue: v,
3910
- setUnmaskedValue: C,
3937
+ setUnmaskedValue: S,
3911
3938
  typedValue: y,
3912
3939
  setTypedValue: m
3913
3940
  };
@@ -4068,7 +4095,7 @@ const ls = {
4068
4095
  },
4069
4096
  "phone-br": {
4070
4097
  mask: [{ mask: "(00) 0000-0000" }, { mask: "(00) 00000-0000" }],
4071
- dispatch: (a, e) => (e.value + a).replace(/\D/g, "").length <= 10 ? e.compiledMasks[0] : e.compiledMasks[1]
4098
+ dispatch: (i, e) => (e.value + i).replace(/\D/g, "").length <= 10 ? e.compiledMasks[0] : e.compiledMasks[1]
4072
4099
  }
4073
4100
  }, fs = {
4074
4101
  Top: "top",
@@ -4103,16 +4130,16 @@ const ls = {
4103
4130
  }
4104
4131
  }
4105
4132
  }, We = ({
4106
- children: a,
4133
+ children: i,
4107
4134
  position: e = Ee.props.position.default,
4108
4135
  placement: t = Ee.props.placement.default,
4109
4136
  text: s = Ee.props.text.default,
4110
4137
  testId: n = Ee.props.testId.default,
4111
- className: i
4138
+ className: a
4112
4139
  }) => {
4113
4140
  const r = Je(null), [l, u] = j(0), [d, h] = j(0), [f, _] = j(!1), v = e && Ee.props.position.options.find(
4114
4141
  (F) => F === e
4115
- ) && `${Ee.class}--${e}`, C = t && Ee.props.placement.options.find(
4142
+ ) && `${Ee.class}--${e}`, S = t && Ee.props.placement.options.find(
4116
4143
  (F) => F === t
4117
4144
  ) && `${Ee.class}--${t}`;
4118
4145
  let y;
@@ -4175,21 +4202,21 @@ const ls = {
4175
4202
  };
4176
4203
  break;
4177
4204
  }
4178
- return /* @__PURE__ */ O(
4205
+ return /* @__PURE__ */ D(
4179
4206
  "div",
4180
4207
  {
4181
- className: [Ee.class, i].join(" "),
4208
+ className: [Ee.class, a].join(" "),
4182
4209
  "data-testid": n,
4183
4210
  onMouseEnter: () => _(!0),
4184
4211
  onMouseLeave: () => _(!1),
4185
4212
  ref: r,
4186
4213
  role: "tooltip",
4187
4214
  children: [
4188
- a,
4215
+ i,
4189
4216
  f && /* @__PURE__ */ c(
4190
4217
  "div",
4191
4218
  {
4192
- className: [v, C].filter((F) => F).join(" "),
4219
+ className: [v, S].filter((F) => F).join(" "),
4193
4220
  children: /* @__PURE__ */ c(
4194
4221
  "span",
4195
4222
  {
@@ -4214,12 +4241,12 @@ We.propTypes = {
4214
4241
  We.displayName = "DsTooltip";
4215
4242
  const et = be.forwardRef(
4216
4243
  ({
4217
- name: a,
4244
+ name: i,
4218
4245
  testId: e = X.props.testId.default,
4219
4246
  type: t = X.props.type.default,
4220
4247
  animated: s = X.props.animated.default,
4221
4248
  size: n = X.props.size.default,
4222
- label: i,
4249
+ label: a,
4223
4250
  placeholder: r,
4224
4251
  value: l,
4225
4252
  min: u,
@@ -4228,25 +4255,25 @@ const et = be.forwardRef(
4228
4255
  tooltipPosition: f = X.props.tooltipPosition.default,
4229
4256
  tooltipPlacement: _ = X.props.tooltipPlacement.default,
4230
4257
  icon: v = X.props.icon.default,
4231
- status: C = X.props.status.default,
4258
+ status: S = X.props.status.default,
4232
4259
  feedback: y,
4233
4260
  hasFeedback: m = X.props.hasFeedback.default,
4234
4261
  noMargin: F = X.props.noMargin.default,
4235
4262
  disabled: P = X.props.disabled.default,
4236
4263
  className: A,
4237
- mask: x,
4264
+ mask: E,
4238
4265
  onChangeHandler: p = X.props.onChangeHandler.default,
4239
- onBlurHandler: S,
4240
- onKeyDownHandler: B,
4241
- onFocusHandler: q
4242
- }, V) => {
4243
- const [ae, ce] = j(!1), [de, Fe] = j(!1), me = !!p && !!x, Le = (w, z, Q) => {
4244
- if (me && Q) {
4266
+ onBlurHandler: x,
4267
+ onKeyDownHandler: R,
4268
+ onFocusHandler: W
4269
+ }, I) => {
4270
+ const [se, ce] = j(!1), [de, Fe] = j(!1), ye = !!p && !!E, Le = (w, z, Q) => {
4271
+ if (ye && Q) {
4245
4272
  const k = {
4246
4273
  ...Q,
4247
4274
  target: {
4248
4275
  ...Q.target,
4249
- name: a,
4276
+ name: i,
4250
4277
  maskedValue: w,
4251
4278
  value: z.unmaskedValue,
4252
4279
  type: "text"
@@ -4254,38 +4281,38 @@ const et = be.forwardRef(
4254
4281
  };
4255
4282
  p(k);
4256
4283
  }
4257
- }, oe = Ce(() => typeof x == "object" ? { lazy: !0, ...x } : hs[x] ? {
4258
- ...hs[x],
4284
+ }, oe = Se(() => typeof E == "object" ? { lazy: !0, ...E } : hs[E] ? {
4285
+ ...hs[E],
4259
4286
  min: u,
4260
4287
  max: d,
4261
4288
  lazy: !0
4262
- } : { mask: x || "", min: u, max: d, lazy: !0 }, [x]), { ref: ye, setUnmaskedValue: Ie } = Yn(
4289
+ } : { mask: E || "", min: u, max: d, lazy: !0 }, [E]), { ref: _e, setUnmaskedValue: Ie } = Yn(
4263
4290
  oe,
4264
4291
  {
4265
4292
  onAccept: Le
4266
4293
  }
4267
4294
  ), Ne = (w) => {
4268
- p && !me && p(w);
4295
+ p && !ye && p(w);
4269
4296
  }, g = (w) => {
4270
- B && B(w);
4297
+ R && R(w);
4271
4298
  }, b = (w) => {
4272
- ce(!1), S && S(w);
4273
- }, $ = (w) => {
4274
- ce(!0), q && q(w);
4275
- }, R = () => {
4299
+ ce(!1), x && x(w);
4300
+ }, V = (w) => {
4301
+ ce(!0), W && W(w);
4302
+ }, N = () => {
4276
4303
  Fe((w) => !w);
4277
- }, D = Ce(() => de && t === "password" ? "text" : t, [de, t]), T = () => {
4304
+ }, B = Se(() => de && t === "password" ? "text" : t, [de, t]), T = () => {
4278
4305
  const w = [`${X.class}`];
4279
- return n && w.push(`${X.class}--${n}`), s && w.push(`${X.class}--animated`), F && w.push(`${X.class}--no-margin`), v && w.push(`${X.class}--with-icon`), C && w.push(`${X.class}--${C}`), A && w.push(A), w.join(" ");
4280
- }, N = Ce(() => {
4306
+ return n && w.push(`${X.class}--${n}`), s && w.push(`${X.class}--animated`), F && w.push(`${X.class}--no-margin`), v && w.push(`${X.class}--with-icon`), S && w.push(`${X.class}--${S}`), A && w.push(A), w.join(" ");
4307
+ }, M = Se(() => {
4281
4308
  const w = [`${X.class}__label`];
4282
- return (ae || l) && w.push(`${X.class}__label--active`), w.join(" ");
4283
- }, [l, ae]), L = () => !s && r ? r : "", U = () => C && C === "error" ? "info" : "check_circle";
4309
+ return (se || l) && w.push(`${X.class}__label--active`), w.join(" ");
4310
+ }, [l, se]), L = () => !s && r ? r : "", q = () => S && S === "error" ? "info" : "check_circle";
4284
4311
  return J(() => {
4285
- x && Ie(l || "");
4286
- }, [l, x, Ie]), /* @__PURE__ */ O("div", { className: T(), ref: V, children: [
4287
- m && /* @__PURE__ */ c("div", { className: "ds-input__feedback", children: y && /* @__PURE__ */ O(tt, { children: [
4288
- /* @__PURE__ */ c(K, { image: U() }),
4312
+ E && Ie(l || "");
4313
+ }, [l, E, Ie]), /* @__PURE__ */ D("div", { className: T(), ref: I, children: [
4314
+ m && /* @__PURE__ */ c("div", { className: "ds-input__feedback", children: y && /* @__PURE__ */ D(tt, { children: [
4315
+ /* @__PURE__ */ c(K, { image: q() }),
4289
4316
  y
4290
4317
  ] }) }),
4291
4318
  /* @__PURE__ */ c(
@@ -4294,23 +4321,23 @@ const et = be.forwardRef(
4294
4321
  className: "ds-input__input",
4295
4322
  "data-testid": e,
4296
4323
  disabled: P,
4297
- id: a,
4324
+ id: i,
4298
4325
  max: d,
4299
4326
  min: u,
4300
- name: a,
4327
+ name: i,
4301
4328
  onBlur: b,
4302
4329
  onChange: Ne,
4303
- onFocus: $,
4330
+ onFocus: V,
4304
4331
  onInput: Ne,
4305
4332
  onKeyDown: g,
4306
4333
  placeholder: L(),
4307
- ref: ye,
4308
- type: D,
4309
- ...!x && { value: l || "" }
4334
+ ref: _e,
4335
+ type: B,
4336
+ ...!E && { value: l || "" }
4310
4337
  }
4311
4338
  ),
4312
- /* @__PURE__ */ O("label", { className: N, htmlFor: a, children: [
4313
- i,
4339
+ /* @__PURE__ */ D("label", { className: M, htmlFor: i, children: [
4340
+ a,
4314
4341
  h && /* @__PURE__ */ c(
4315
4342
  We,
4316
4343
  {
@@ -4328,7 +4355,7 @@ const et = be.forwardRef(
4328
4355
  {
4329
4356
  className: "ds-input__password-icon",
4330
4357
  image: de ? "visibility_off" : "visibility",
4331
- onClick: R,
4358
+ onClick: N,
4332
4359
  size: "xl"
4333
4360
  }
4334
4361
  )
@@ -4402,23 +4429,23 @@ const ms = {
4402
4429
  }
4403
4430
  }
4404
4431
  }, Nt = ({
4405
- id: a,
4432
+ id: i,
4406
4433
  testId: e = pe.props.testId.default,
4407
4434
  className: t,
4408
4435
  size: s = pe.props.size.default,
4409
4436
  opacity: n = pe.props.opacity.default,
4410
- fullscreen: i = pe.props.fullscreen.default,
4437
+ fullscreen: a = pe.props.fullscreen.default,
4411
4438
  backgroundColor: r = pe.props.backgroundColor.default
4412
4439
  }) => {
4413
- const l = !i && `${pe.class}--absolute`, u = s && `${pe.class}__dots--${s}`, d = r && pe.props.backgroundColor.options.find(
4440
+ const l = !a && `${pe.class}--absolute`, u = s && `${pe.class}__dots--${s}`, d = r && pe.props.backgroundColor.options.find(
4414
4441
  (f) => f === r
4415
4442
  ) && `${pe.class}__background--${r}`, h = n && `${pe.class}__background--opacity`;
4416
- return /* @__PURE__ */ O(
4443
+ return /* @__PURE__ */ D(
4417
4444
  "div",
4418
4445
  {
4419
4446
  className: [pe.class, t, l].filter((f) => f).join(" "),
4420
4447
  "data-testid": e,
4421
- id: a,
4448
+ id: i,
4422
4449
  children: [
4423
4450
  /* @__PURE__ */ c(
4424
4451
  "div",
@@ -4492,28 +4519,28 @@ const Oe = {
4492
4519
  }
4493
4520
  }
4494
4521
  }, nn = ({
4495
- id: a,
4522
+ id: i,
4496
4523
  label: e,
4497
4524
  detail: t,
4498
4525
  name: s,
4499
4526
  testId: n = s || "ds-option-test",
4500
- disabled: i = Oe.props.disabled.default,
4527
+ disabled: a = Oe.props.disabled.default,
4501
4528
  value: r,
4502
4529
  checked: l = Oe.props.checked.default,
4503
4530
  onChangeHandler: u = Oe.props.onChangeHandler.default
4504
4531
  }) => {
4505
4532
  const [d] = j(Math.random());
4506
- return /* @__PURE__ */ O("div", { className: (() => {
4533
+ return /* @__PURE__ */ D("div", { className: (() => {
4507
4534
  const f = [Oe.class];
4508
- return i && f.push(`${Oe.class}--disabled`), f.join(" ");
4535
+ return a && f.push(`${Oe.class}--disabled`), f.join(" ");
4509
4536
  })(), children: [
4510
4537
  /* @__PURE__ */ c(
4511
4538
  "input",
4512
4539
  {
4513
4540
  checked: l,
4514
4541
  "data-testid": n,
4515
- disabled: i,
4516
- id: a || String(d),
4542
+ disabled: a,
4543
+ id: i || String(d),
4517
4544
  name: s,
4518
4545
  onChange: u,
4519
4546
  type: "radio",
@@ -4528,12 +4555,12 @@ const Oe = {
4528
4555
  size: "xxl"
4529
4556
  }
4530
4557
  ),
4531
- /* @__PURE__ */ O("div", { className: `${Oe.class}__text-container`, children: [
4558
+ /* @__PURE__ */ D("div", { className: `${Oe.class}__text-container`, children: [
4532
4559
  e && /* @__PURE__ */ c(
4533
4560
  "label",
4534
4561
  {
4535
4562
  className: `${Oe.class}__label`,
4536
- htmlFor: a || String(d),
4563
+ htmlFor: i || String(d),
4537
4564
  children: e
4538
4565
  }
4539
4566
  ),
@@ -4541,7 +4568,7 @@ const Oe = {
4541
4568
  "label",
4542
4569
  {
4543
4570
  className: `${Oe.class}__detail`,
4544
- htmlFor: a || String(d),
4571
+ htmlFor: i || String(d),
4545
4572
  children: t
4546
4573
  }
4547
4574
  )
@@ -4575,7 +4602,7 @@ const _s = {
4575
4602
  }
4576
4603
  }
4577
4604
  }, Re = ({
4578
- children: a,
4605
+ children: i,
4579
4606
  className: e,
4580
4607
  testId: t = "ds-paragraph-test",
4581
4608
  type: s = dt.props.type.default
@@ -4584,9 +4611,9 @@ const _s = {
4584
4611
  return /* @__PURE__ */ c(
4585
4612
  "p",
4586
4613
  {
4587
- className: [dt.class, n, e && e].filter((i) => i).join(" "),
4614
+ className: [dt.class, n, e && e].filter((a) => a).join(" "),
4588
4615
  "data-testid": t,
4589
- children: a
4616
+ children: i
4590
4617
  }
4591
4618
  );
4592
4619
  };
@@ -4634,21 +4661,21 @@ const vs = {
4634
4661
  required: !1
4635
4662
  }
4636
4663
  }
4637
- }, se = ({
4638
- children: a,
4664
+ }, ne = ({
4665
+ children: i,
4639
4666
  flex: e = Tt.props.flex.default,
4640
4667
  className: t = Tt.props.className.default
4641
4668
  }) => {
4642
4669
  const s = () => [Tt.class, t].join(" "), n = () => ({
4643
4670
  flex: e
4644
4671
  });
4645
- return /* @__PURE__ */ c("div", { className: s(), style: n(), children: a });
4672
+ return /* @__PURE__ */ c("div", { className: s(), style: n(), children: i });
4646
4673
  };
4647
- se.propTypes = {
4674
+ ne.propTypes = {
4648
4675
  className: o.string,
4649
4676
  flex: o.string
4650
4677
  };
4651
- se.displayName = "DsFlexElement";
4678
+ ne.displayName = "DsFlexElement";
4652
4679
  const bs = {
4653
4680
  Stretch: "stretch",
4654
4681
  FlexStart: "flex-start",
@@ -4656,12 +4683,12 @@ const bs = {
4656
4683
  Center: "center",
4657
4684
  SpaceAround: "space-around",
4658
4685
  SpaceBetween: "space-between"
4659
- }, Cs = {
4686
+ }, Ss = {
4660
4687
  Stretch: "stretch",
4661
4688
  FlexStart: "flex-start",
4662
4689
  FlexEnd: "flex-end",
4663
4690
  Center: "center"
4664
- }, Ss = {
4691
+ }, Cs = {
4665
4692
  Row: "row",
4666
4693
  Column: "column",
4667
4694
  RowReverse: "row-reverse",
@@ -4694,15 +4721,15 @@ const bs = {
4694
4721
  },
4695
4722
  alignItems: {
4696
4723
  type: String,
4697
- default: Cs.Stretch,
4724
+ default: Ss.Stretch,
4698
4725
  required: !0,
4699
- options: Object.values(Cs)
4726
+ options: Object.values(Ss)
4700
4727
  },
4701
4728
  flexDirection: {
4702
4729
  type: String,
4703
- default: Ss.Row,
4730
+ default: Cs.Row,
4704
4731
  required: !0,
4705
- options: Object.values(Ss)
4732
+ options: Object.values(Cs)
4706
4733
  },
4707
4734
  flexWrap: {
4708
4735
  type: String,
@@ -4729,12 +4756,12 @@ const bs = {
4729
4756
  }
4730
4757
  }
4731
4758
  }, Ve = ({
4732
- children: a,
4759
+ children: i,
4733
4760
  className: e,
4734
4761
  justifyContent: t = Pe.props.justifyContent.default,
4735
4762
  alignItems: s = Pe.props.alignItems.default,
4736
4763
  flexDirection: n = Pe.props.flexDirection.default,
4737
- flexWrap: i = Pe.props.flexWrap.default,
4764
+ flexWrap: a = Pe.props.flexWrap.default,
4738
4765
  width: r = Pe.props.width.default,
4739
4766
  height: l,
4740
4767
  gap: u
@@ -4747,12 +4774,12 @@ const bs = {
4747
4774
  justifyContent: t,
4748
4775
  alignItems: s,
4749
4776
  flexDirection: n,
4750
- flexWrap: i,
4777
+ flexWrap: a,
4751
4778
  width: r,
4752
4779
  height: l,
4753
4780
  gap: u
4754
4781
  });
4755
- return /* @__PURE__ */ c("div", { className: d(), style: h(), children: a });
4782
+ return /* @__PURE__ */ c("div", { className: d(), style: h(), children: i });
4756
4783
  };
4757
4784
  Ve.propTypes = {
4758
4785
  className: o.string,
@@ -4765,7 +4792,7 @@ Ve.propTypes = {
4765
4792
  gap: o.string
4766
4793
  };
4767
4794
  Ve.displayName = "DsFlexLayout";
4768
- const at = {
4795
+ const it = {
4769
4796
  None: "none",
4770
4797
  Quark: "quark",
4771
4798
  Nano: "nano",
@@ -4779,20 +4806,20 @@ const at = {
4779
4806
  props: {
4780
4807
  vertical: {
4781
4808
  type: String,
4782
- default: at.None,
4783
- options: Object.values(at)
4809
+ default: it.None,
4810
+ options: Object.values(it)
4784
4811
  },
4785
4812
  horizontal: {
4786
4813
  type: String,
4787
- default: at.None,
4788
- options: Object.values(at)
4814
+ default: it.None,
4815
+ options: Object.values(it)
4789
4816
  }
4790
4817
  }
4791
- }, ge = ({
4792
- vertical: a = Ke.props.vertical.default,
4818
+ }, me = ({
4819
+ vertical: i = Ke.props.vertical.default,
4793
4820
  horizontal: e = Ke.props.horizontal.default
4794
4821
  }) => {
4795
- const t = a && `ds-spacer__vertical--${a}`, s = e && `ds-spacer__horizontal--${e}`;
4822
+ const t = i && `ds-spacer__vertical--${i}`, s = e && `ds-spacer__horizontal--${e}`;
4796
4823
  return /* @__PURE__ */ c(
4797
4824
  "div",
4798
4825
  {
@@ -4801,25 +4828,25 @@ const at = {
4801
4828
  }
4802
4829
  );
4803
4830
  };
4804
- ge.propTypes = {
4831
+ me.propTypes = {
4805
4832
  vertical: o.oneOf(Ke.props.vertical.options),
4806
4833
  horizontal: o.oneOf(Ke.props.horizontal.options)
4807
4834
  };
4808
- ge.displayName = "DsSpacer";
4835
+ me.displayName = "DsSpacer";
4809
4836
  const an = ({
4810
- label: a,
4837
+ label: i,
4811
4838
  progress: e = ks.props.progress.default,
4812
4839
  color: t = ks.props.color.default
4813
4840
  }) => {
4814
- const s = Ce(
4841
+ const s = Se(
4815
4842
  () => e > 100 ? 100 : e < 0 ? 0 : e,
4816
4843
  [e]
4817
- ), n = Ce(
4844
+ ), n = Se(
4818
4845
  () => `ds-progress__progress--${t}`,
4819
4846
  [t]
4820
- ), i = Ce(() => t === "success-dark" ? "color__success--dark" : t === "warning" ? "color__warning--dark" : `color__${t}--default`, [t]);
4821
- return /* @__PURE__ */ c("div", { className: "ds-progress", children: /* @__PURE__ */ O(Ve, { flexDirection: "column", children: [
4822
- /* @__PURE__ */ c(se, { children: /* @__PURE__ */ c(
4847
+ ), a = Se(() => t === "success-dark" ? "color__success--dark" : t === "warning" ? "color__warning--dark" : `color__${t}--default`, [t]);
4848
+ return /* @__PURE__ */ c("div", { className: "ds-progress", children: /* @__PURE__ */ D(Ve, { flexDirection: "column", children: [
4849
+ /* @__PURE__ */ c(ne, { children: /* @__PURE__ */ c(
4823
4850
  "div",
4824
4851
  {
4825
4852
  "aria-valuemax": 100,
@@ -4837,15 +4864,15 @@ const an = ({
4837
4864
  )
4838
4865
  }
4839
4866
  ) }),
4840
- /* @__PURE__ */ c(se, { children: /* @__PURE__ */ O(
4867
+ /* @__PURE__ */ c(ne, { children: /* @__PURE__ */ D(
4841
4868
  Ve,
4842
4869
  {
4843
4870
  alignItems: "flex-end",
4844
4871
  flexDirection: "column",
4845
4872
  justifyContent: "center",
4846
4873
  children: [
4847
- /* @__PURE__ */ c(ge, { vertical: "quark" }),
4848
- /* @__PURE__ */ c(tt, { children: a && /* @__PURE__ */ c(Re, { className: i, children: a }) })
4874
+ /* @__PURE__ */ c(me, { vertical: "quark" }),
4875
+ /* @__PURE__ */ c(tt, { children: i && /* @__PURE__ */ c(Re, { className: a, children: i }) })
4849
4876
  ]
4850
4877
  }
4851
4878
  ) })
@@ -4948,12 +4975,12 @@ const xs = {
4948
4975
  }
4949
4976
  }, rn = be.forwardRef(
4950
4977
  ({
4951
- label: a,
4978
+ label: i,
4952
4979
  className: e,
4953
4980
  disabled: t = Z.props.disabled.default,
4954
4981
  animated: s = Z.props.animated.default,
4955
4982
  multiple: n = Z.props.multiple.default,
4956
- testId: i = Z.props.testId.default,
4983
+ testId: a = Z.props.testId.default,
4957
4984
  name: r,
4958
4985
  options: l,
4959
4986
  value: u,
@@ -4962,37 +4989,37 @@ const xs = {
4962
4989
  onChangeHandler: f,
4963
4990
  size: _ = Z.props.size.default,
4964
4991
  status: v = Z.props.status.default,
4965
- tooltip: C,
4992
+ tooltip: S,
4966
4993
  tooltipPosition: y = Z.props.tooltipPosition.default,
4967
4994
  tooltipPlacement: m = Z.props.tooltipPlacement.default,
4968
4995
  feedback: F,
4969
4996
  ...P
4970
4997
  }, A) => {
4971
- const [x, p] = j(!1), S = (V) => {
4972
- p(!1), h && h(V, V.target.value), f && f(V, V.target.value);
4973
- }, B = () => {
4974
- const V = [Z.class, "select-placeholder"];
4975
- return V.push(`${Z.class}--${_}`), v && V.push(`${Z.class}--${v}`), x && V.push(`${Z.class}--active`), t && V.push(`${Z.class}--disabled`), e && V.push(e), V.join(" ");
4976
- }, q = Ce(() => {
4977
- const V = [`${Z.class}__label`];
4978
- return !s && V.push(`${Z.class}__label--not-animated`), u && V.push(`${Z.class}__label--has-value`), s && !u && !C && V.push(`${Z.class}__label--hidden`), V.join(" ");
4998
+ const [E, p] = j(!1), x = (I) => {
4999
+ p(!1), h && h(I, I.target.value), f && f(I, I.target.value);
5000
+ }, R = () => {
5001
+ const I = [Z.class, "select-placeholder"];
5002
+ return I.push(`${Z.class}--${_}`), v && I.push(`${Z.class}--${v}`), E && I.push(`${Z.class}--active`), t && I.push(`${Z.class}--disabled`), e && I.push(e), I.join(" ");
5003
+ }, W = Se(() => {
5004
+ const I = [`${Z.class}__label`];
5005
+ return !s && I.push(`${Z.class}__label--not-animated`), u && I.push(`${Z.class}__label--has-value`), s && !u && !S && I.push(`${Z.class}__label--hidden`), I.join(" ");
4979
5006
  }, [u]);
4980
- return /* @__PURE__ */ O("div", { className: B(), "data-testid": "ds-select-component", children: [
4981
- a && /* @__PURE__ */ O(
5007
+ return /* @__PURE__ */ D("div", { className: R(), "data-testid": "ds-select-component", children: [
5008
+ i && /* @__PURE__ */ D(
4982
5009
  "label",
4983
5010
  {
4984
- className: q,
5011
+ className: W,
4985
5012
  "data-testid": "ds-label-id",
4986
5013
  htmlFor: r,
4987
5014
  children: [
4988
- a,
4989
- C && /* @__PURE__ */ c(
5015
+ i,
5016
+ S && /* @__PURE__ */ c(
4990
5017
  We,
4991
5018
  {
4992
5019
  className: `${Z.class}__tooltip`,
4993
5020
  placement: m,
4994
5021
  position: y,
4995
- text: C,
5022
+ text: S,
4996
5023
  children: /* @__PURE__ */ c(
4997
5024
  K,
4998
5025
  {
@@ -5005,25 +5032,25 @@ const xs = {
5005
5032
  ]
5006
5033
  }
5007
5034
  ),
5008
- /* @__PURE__ */ O(
5035
+ /* @__PURE__ */ D(
5009
5036
  "select",
5010
5037
  {
5011
- "data-testid": i,
5038
+ "data-testid": a,
5012
5039
  disabled: t,
5013
5040
  id: r,
5014
5041
  multiple: n,
5015
5042
  name: r,
5016
5043
  onBlur: () => p(!1),
5017
- onChange: (V) => S(V),
5044
+ onChange: (I) => x(I),
5018
5045
  onFocus: () => p(!0),
5019
5046
  ref: A,
5020
5047
  value: u ?? "",
5021
5048
  ...P,
5022
5049
  children: [
5023
- (d || s) && /* @__PURE__ */ c("option", { disabled: !0, value: "", children: d ?? a }),
5024
- l == null ? void 0 : l.map((V, ae) => {
5050
+ (d || s) && /* @__PURE__ */ c("option", { disabled: !0, value: "", children: d ?? i }),
5051
+ l == null ? void 0 : l.map((I, se) => {
5025
5052
  var ce;
5026
- return "options" in V ? /* @__PURE__ */ c("optgroup", { label: V.label, children: (ce = V.options) == null ? void 0 : ce.map((de, Fe) => /* @__PURE__ */ c(
5053
+ return "options" in I ? /* @__PURE__ */ c("optgroup", { label: I.label, children: (ce = I.options) == null ? void 0 : ce.map((de, Fe) => /* @__PURE__ */ c(
5027
5054
  "option",
5028
5055
  {
5029
5056
  className: `${Z.class}__option-select`,
@@ -5031,20 +5058,20 @@ const xs = {
5031
5058
  children: de.label || de.value
5032
5059
  },
5033
5060
  Fe
5034
- )) }, ae) : /* @__PURE__ */ c(
5061
+ )) }, se) : /* @__PURE__ */ c(
5035
5062
  "option",
5036
5063
  {
5037
5064
  className: `${Z.class}__option-select`,
5038
- value: V.value,
5039
- children: V.label || V.value
5065
+ value: I.value,
5066
+ children: I.label || I.value
5040
5067
  },
5041
- ae
5068
+ se
5042
5069
  );
5043
5070
  })
5044
5071
  ]
5045
5072
  }
5046
5073
  ),
5047
- F && /* @__PURE__ */ O("div", { className: "ds-select__feedback-container", children: [
5074
+ F && /* @__PURE__ */ D("div", { className: "ds-select__feedback-container", children: [
5048
5075
  /* @__PURE__ */ c(
5049
5076
  K,
5050
5077
  {
@@ -5092,18 +5119,18 @@ const Fs = {
5092
5119
  }
5093
5120
  }
5094
5121
  }, Xn = ({
5095
- children: a,
5122
+ children: i,
5096
5123
  className: e,
5097
5124
  testId: t = "ds-subtitle-test",
5098
5125
  type: s
5099
5126
  }) => {
5100
- const n = At.props.type.options.find((i) => i === s) && `${At.class}--${s}`;
5127
+ const n = At.props.type.options.find((a) => a === s) && `${At.class}--${s}`;
5101
5128
  return /* @__PURE__ */ c(
5102
5129
  "p",
5103
5130
  {
5104
- className: [At.class, n, e && e].filter((i) => i).join(" "),
5131
+ className: [At.class, n, e && e].filter((a) => a).join(" "),
5105
5132
  "data-testid": t,
5106
- children: a
5133
+ children: i
5107
5134
  }
5108
5135
  );
5109
5136
  };
@@ -5213,12 +5240,12 @@ const Is = {
5213
5240
  }
5214
5241
  }, on = be.forwardRef(
5215
5242
  ({
5216
- name: a,
5243
+ name: i,
5217
5244
  testId: e = te.props.testId.default,
5218
5245
  animated: t = te.props.animated.default,
5219
5246
  size: s = te.props.size.default,
5220
5247
  label: n,
5221
- placeholder: i,
5248
+ placeholder: a,
5222
5249
  value: r,
5223
5250
  minLength: l,
5224
5251
  maxLength: u,
@@ -5227,71 +5254,71 @@ const Is = {
5227
5254
  status: f = te.props.status.default,
5228
5255
  feedback: _,
5229
5256
  disabled: v = te.props.disabled.default,
5230
- required: C,
5257
+ required: S,
5231
5258
  className: y,
5232
5259
  resize: m = te.props.resize.default,
5233
5260
  onChangeHandler: F,
5234
5261
  onBlurHandler: P,
5235
5262
  onKeyDownHandler: A,
5236
- onFocusHandler: x,
5263
+ onFocusHandler: E,
5237
5264
  rows: p = te.props.rows.default,
5238
- cols: S,
5239
- description: B,
5240
- style: q
5241
- }, V) => {
5242
- const [ae, ce] = j(!1), [de, Fe] = j(0), [me, Le] = j(Math.random());
5265
+ cols: x,
5266
+ description: R,
5267
+ style: W
5268
+ }, I) => {
5269
+ const [se, ce] = j(!1), [de, Fe] = j(0), [ye, Le] = j(Math.random());
5243
5270
  J(() => {
5244
5271
  r == null && Le(Math.random());
5245
5272
  }, [r]);
5246
5273
  const oe = (T) => {
5247
5274
  Fe(T.target.value.length), F && F(T);
5248
- }, ye = (T) => {
5275
+ }, _e = (T) => {
5249
5276
  A && A(T);
5250
5277
  }, Ie = (T) => {
5251
5278
  ce(!1), P && P(T);
5252
5279
  }, Ne = (T) => {
5253
- ce(!0), x && x(T);
5280
+ ce(!0), E && E(T);
5254
5281
  }, g = () => {
5255
5282
  const T = [`${te.class}`];
5256
5283
  return s && T.push(`${te.class}--${s}`), t && T.push(`${te.class}--animated`), d && T.push(`${te.class}--with-icon`), f && T.push(`${te.class}--${f}`), y && T.push(y), T.join(" ");
5257
- }, b = Ce(() => {
5284
+ }, b = Se(() => {
5258
5285
  const T = [`${te.class}__label`];
5259
- return (ae || r) && T.push(`${te.class}__label--active`), T.join(" ");
5260
- }, [r, ae]), $ = () => !t && i ? i : "", R = () => f && f === "error" ? "info" : "check_circle", D = {
5286
+ return (se || r) && T.push(`${te.class}__label--active`), T.join(" ");
5287
+ }, [r, se]), V = () => !t && a ? a : "", N = () => f && f === "error" ? "info" : "check_circle", B = {
5261
5288
  resize: m,
5262
- ...q || {}
5289
+ ...W || {}
5263
5290
  };
5264
- return /* @__PURE__ */ O("div", { className: g(), children: [
5265
- B && /* @__PURE__ */ c("span", { className: "ds-textarea__description", children: B }),
5266
- _ && /* @__PURE__ */ O("div", { className: "ds-textarea__feedback", children: [
5267
- /* @__PURE__ */ c(K, { image: R() }),
5291
+ return /* @__PURE__ */ D("div", { className: g(), children: [
5292
+ R && /* @__PURE__ */ c("span", { className: "ds-textarea__description", children: R }),
5293
+ _ && /* @__PURE__ */ D("div", { className: "ds-textarea__feedback", children: [
5294
+ /* @__PURE__ */ c(K, { image: N() }),
5268
5295
  _
5269
5296
  ] }),
5270
5297
  /* @__PURE__ */ c(
5271
5298
  "textarea",
5272
5299
  {
5273
5300
  className: "ds-textarea__textarea",
5274
- cols: S,
5301
+ cols: x,
5275
5302
  "data-testid": e,
5276
5303
  defaultValue: r || "",
5277
5304
  disabled: v,
5278
- id: a,
5305
+ id: i,
5279
5306
  maxLength: u,
5280
5307
  minLength: l,
5281
- name: a,
5308
+ name: i,
5282
5309
  onBlur: Ie,
5283
5310
  onChange: oe,
5284
5311
  onFocus: Ne,
5285
- onKeyDown: ye,
5286
- placeholder: $(),
5287
- ref: V,
5288
- required: C,
5312
+ onKeyDown: _e,
5313
+ placeholder: V(),
5314
+ ref: I,
5315
+ required: S,
5289
5316
  rows: p,
5290
- style: D
5317
+ style: B
5291
5318
  }
5292
5319
  ),
5293
- /* @__PURE__ */ c("label", { className: b, htmlFor: a, children: n }),
5294
- u && /* @__PURE__ */ O("span", { className: "ds-textarea__count", children: [
5320
+ /* @__PURE__ */ c("label", { className: b, htmlFor: i, children: n }),
5321
+ u && /* @__PURE__ */ D("span", { className: "ds-textarea__count", children: [
5295
5322
  de,
5296
5323
  "/",
5297
5324
  u
@@ -5305,7 +5332,7 @@ const Is = {
5305
5332
  children: /* @__PURE__ */ c(K, { className: "ds-textarea__icon", image: h })
5306
5333
  }
5307
5334
  )
5308
- ] }, me);
5335
+ ] }, ye);
5309
5336
  }
5310
5337
  );
5311
5338
  on.propTypes = {
@@ -5350,20 +5377,20 @@ const rt = {
5350
5377
  }
5351
5378
  }
5352
5379
  }, Mt = ({
5353
- children: a,
5380
+ children: i,
5354
5381
  fluid: e = rt.props.fluid.default,
5355
5382
  className: t,
5356
5383
  style: s,
5357
5384
  testId: n = rt.props.testId.default
5358
5385
  }) => {
5359
- const i = e ? `${rt.class}--fluid` : rt.class;
5386
+ const a = e ? `${rt.class}--fluid` : rt.class;
5360
5387
  return /* @__PURE__ */ c(
5361
5388
  "div",
5362
5389
  {
5363
- className: [i, t].filter((r) => r).join(" "),
5390
+ className: [a, t].filter((r) => r).join(" "),
5364
5391
  "data-testid": n,
5365
5392
  style: s,
5366
- children: a
5393
+ children: i
5367
5394
  }
5368
5395
  );
5369
5396
  };
@@ -5375,8 +5402,8 @@ Mt.propTypes = {
5375
5402
  testId: o.string
5376
5403
  };
5377
5404
  Mt.displayName = "DsContainer";
5378
- const Rs = () => typeof window < "u" && window.innerWidth ? window.innerWidth : 0, Kn = ({ children: a, grid: e }) => {
5379
- const { row: t, col: s, mobileRow: n, mobileCol: i } = e, [r, l] = j(Rs());
5405
+ const Rs = () => typeof window < "u" && window.innerWidth ? window.innerWidth : 0, Kn = ({ children: i, grid: e }) => {
5406
+ const { row: t, col: s, mobileRow: n, mobileCol: a } = e, [r, l] = j(Rs());
5380
5407
  J(() => {
5381
5408
  const d = () => {
5382
5409
  l(Rs());
@@ -5384,14 +5411,14 @@ const Rs = () => typeof window < "u" && window.innerWidth ? window.innerWidth :
5384
5411
  if (typeof window < "u")
5385
5412
  return window.addEventListener("resize", d), () => window.removeEventListener("resize", d);
5386
5413
  }, []);
5387
- const u = Ce(() => r <= 768 ? {
5414
+ const u = Se(() => r <= 768 ? {
5388
5415
  gridRow: n || t,
5389
- gridColumn: i || s
5416
+ gridColumn: a || s
5390
5417
  } : {
5391
5418
  gridRow: t,
5392
5419
  gridColumn: s
5393
- }, [r, t, s, n, i]);
5394
- return /* @__PURE__ */ c("div", { style: u, children: a });
5420
+ }, [r, t, s, n, a]);
5421
+ return /* @__PURE__ */ c("div", { style: u, children: i });
5395
5422
  };
5396
5423
  Kn.displayName = "DsGridElement";
5397
5424
  const Ns = {
@@ -5452,14 +5479,14 @@ const Ns = {
5452
5479
  }
5453
5480
  };
5454
5481
  function Ms() {
5455
- const { innerWidth: a, innerHeight: e } = window;
5482
+ const { innerWidth: i, innerHeight: e } = window;
5456
5483
  return {
5457
- width: a,
5484
+ width: i,
5458
5485
  height: e
5459
5486
  };
5460
5487
  }
5461
5488
  function Zn() {
5462
- const [a, e] = j(
5489
+ const [i, e] = j(
5463
5490
  Ms()
5464
5491
  );
5465
5492
  return J(() => {
@@ -5467,28 +5494,28 @@ function Zn() {
5467
5494
  e(Ms());
5468
5495
  }
5469
5496
  return window.addEventListener("resize", t), () => window.removeEventListener("resize", t);
5470
- }, []), a;
5497
+ }, []), i;
5471
5498
  }
5472
5499
  const ln = ({
5473
- children: a,
5500
+ children: i,
5474
5501
  rows: e = ee.props.rows.default,
5475
5502
  gap: t = ee.props.gap.default,
5476
5503
  vGap: s = ee.props.vGap.default,
5477
5504
  hGap: n = ee.props.hGap.default,
5478
- horizontalAlign: i = ee.props.horizontalAlign.default,
5505
+ horizontalAlign: a = ee.props.horizontalAlign.default,
5479
5506
  verticalAlign: r = ee.props.verticalAlign.default,
5480
5507
  width: l = ee.props.width.default,
5481
5508
  height: u = ee.props.height.default
5482
5509
  }) => {
5483
- const d = s && `${ee.class}__v-gap--${t}`, h = n && `${ee.class}__h-gap--${t}`, f = i && ee.props.horizontalAlign.options.find(
5484
- (A) => A === i
5485
- ) ? `${ee.class}--h-${i}` : null, _ = r && ee.props.verticalAlign.options.find(
5510
+ const d = s && `${ee.class}__v-gap--${t}`, h = n && `${ee.class}__h-gap--${t}`, f = a && ee.props.horizontalAlign.options.find(
5511
+ (A) => A === a
5512
+ ) ? `${ee.class}--h-${a}` : null, _ = r && ee.props.verticalAlign.options.find(
5486
5513
  (A) => A === r
5487
- ) ? `${ee.class}--v-${r}` : null, { width: v } = Zn(), [C, y] = j("auto");
5514
+ ) ? `${ee.class}--v-${r}` : null, { width: v } = Zn(), [S, y] = j("auto");
5488
5515
  J(() => {
5489
5516
  v <= 768 ? y("6") : y("12");
5490
5517
  }, [v]);
5491
- const m = (A) => /^[+-]?\d+$/.test(A), F = () => e.split(",").map((x) => (x = x.trim(), x === "0" || x === "*" || x === "auto" ? "auto" : m(x) ? x + "fr" : x)).join(" "), P = () => `repeat(${C}, minmax(0, 1fr))`;
5518
+ const m = (A) => /^[+-]?\d+$/.test(A), F = () => e.split(",").map((E) => (E = E.trim(), E === "0" || E === "*" || E === "auto" ? "auto" : m(E) ? E + "fr" : E)).join(" "), P = () => `repeat(${S}, minmax(0, 1fr))`;
5492
5519
  return /* @__PURE__ */ c(
5493
5520
  "div",
5494
5521
  {
@@ -5505,7 +5532,7 @@ const ln = ({
5505
5532
  gridTemplateColumns: P(),
5506
5533
  gridTemplateRows: F()
5507
5534
  },
5508
- children: a
5535
+ children: i
5509
5536
  }
5510
5537
  );
5511
5538
  };
@@ -5533,7 +5560,7 @@ const xe = {
5533
5560
  Small: "sm",
5534
5561
  Medium: "md",
5535
5562
  Large: "lg"
5536
- }, _e = {
5563
+ }, ve = {
5537
5564
  name: "Wrapper",
5538
5565
  class: "ds-wrapper",
5539
5566
  props: {
@@ -5564,26 +5591,26 @@ const xe = {
5564
5591
  }
5565
5592
  }
5566
5593
  }, Ze = ({
5567
- children: a,
5568
- space: e = _e.props.space.default,
5569
- top: t = _e.props.top.default,
5570
- right: s = _e.props.right.default,
5571
- bottom: n = _e.props.bottom.default,
5572
- left: i = _e.props.left.default
5594
+ children: i,
5595
+ space: e = ve.props.space.default,
5596
+ top: t = ve.props.top.default,
5597
+ right: s = ve.props.right.default,
5598
+ bottom: n = ve.props.bottom.default,
5599
+ left: a = ve.props.left.default
5573
5600
  }) => {
5574
- const r = t && `${_e.class}__top--${t}`, l = s && `${_e.class}__right--${s}`, u = n && `${_e.class}__bottom--${n}`, d = i && `${_e.class}__left--${i}`, h = e && `${_e.class}--${e}`;
5601
+ const r = t && `${ve.class}__top--${t}`, l = s && `${ve.class}__right--${s}`, u = n && `${ve.class}__bottom--${n}`, d = a && `${ve.class}__left--${a}`, h = e && `${ve.class}--${e}`;
5575
5602
  return /* @__PURE__ */ c(
5576
5603
  "div",
5577
5604
  {
5578
5605
  className: [
5579
- _e.class,
5606
+ ve.class,
5580
5607
  r,
5581
5608
  l,
5582
5609
  u,
5583
5610
  d,
5584
5611
  h
5585
5612
  ].filter((f) => f).join(" "),
5586
- children: a
5613
+ children: i
5587
5614
  }
5588
5615
  );
5589
5616
  };
@@ -5627,26 +5654,26 @@ const wt = {
5627
5654
  }
5628
5655
  }
5629
5656
  }, $t = ({
5630
- title: a,
5657
+ title: i,
5631
5658
  content: e,
5632
5659
  onToggle: t,
5633
5660
  active: s = He.props.active.default,
5634
5661
  disabled: n = He.props.disabled.default
5635
5662
  }) => {
5636
- const i = s && `${He.class}--active`;
5637
- return /* @__PURE__ */ O(
5663
+ const a = s && `${He.class}--active`;
5664
+ return /* @__PURE__ */ D(
5638
5665
  "li",
5639
5666
  {
5640
- className: [He.class, i].filter((r) => r).join(" "),
5667
+ className: [He.class, a].filter((r) => r).join(" "),
5641
5668
  children: [
5642
- /* @__PURE__ */ O(
5669
+ /* @__PURE__ */ D(
5643
5670
  "button",
5644
5671
  {
5645
5672
  className: `${He.class}__button`,
5646
5673
  disabled: n,
5647
5674
  onClick: t,
5648
5675
  children: [
5649
- a,
5676
+ i,
5650
5677
  /* @__PURE__ */ c(
5651
5678
  K,
5652
5679
  {
@@ -5672,31 +5699,31 @@ $t.propTypes = {
5672
5699
  };
5673
5700
  $t.displayName = "DsAccordionItem";
5674
5701
  const un = ({
5675
- items: a = wt.props.items.default,
5702
+ items: i = wt.props.items.default,
5676
5703
  activeItem: e = wt.props.activeItem.default,
5677
5704
  onClick: t
5678
5705
  }) => {
5679
5706
  const [s, n] = j(-1);
5680
5707
  J(() => {
5681
- a.map((r, l) => {
5708
+ i.map((r, l) => {
5682
5709
  r.active && n(l);
5683
5710
  });
5684
- }, [a]), J(() => {
5711
+ }, [i]), J(() => {
5685
5712
  e != null && n(e);
5686
5713
  }, [e]);
5687
- const i = (r) => {
5714
+ const a = (r) => {
5688
5715
  if (s === r)
5689
5716
  return t && t(-1), n(-1);
5690
5717
  n(r), t && t(r);
5691
5718
  };
5692
- return /* @__PURE__ */ c("ul", { className: wt.class, children: a.map((r, l) => /* @__PURE__ */ c(
5719
+ return /* @__PURE__ */ c("ul", { className: wt.class, children: i.map((r, l) => /* @__PURE__ */ c(
5693
5720
  $t,
5694
5721
  {
5695
5722
  active: s === l,
5696
5723
  content: r.content,
5697
5724
  disabled: r.disabled,
5698
5725
  onToggle: () => {
5699
- i(l);
5726
+ a(l);
5700
5727
  },
5701
5728
  title: r.title
5702
5729
  },
@@ -5709,23 +5736,23 @@ un.propTypes = {
5709
5736
  };
5710
5737
  un.displayName = "DsAccordion";
5711
5738
  const Jn = ({
5712
- title: a,
5739
+ title: i,
5713
5740
  activeTags: e,
5714
5741
  handleTagClose: t
5715
- }) => /* @__PURE__ */ c("div", { className: "active-tags", children: e.length > 0 && /* @__PURE__ */ O(tt, { children: [
5716
- /* @__PURE__ */ c(Re, { className: "active-tags__title", children: a }),
5742
+ }) => /* @__PURE__ */ c("div", { className: "active-tags", children: e.length > 0 && /* @__PURE__ */ D(tt, { children: [
5743
+ /* @__PURE__ */ c(Re, { className: "active-tags__title", children: i }),
5717
5744
  /* @__PURE__ */ c("div", { className: "active-tags__list", "data-testid": "ds-list", children: e.map((s, n) => /* @__PURE__ */ c(
5718
5745
  We,
5719
5746
  {
5720
5747
  text: `Filtro ${s.text} aplicado`,
5721
- children: /* @__PURE__ */ O(
5748
+ children: /* @__PURE__ */ D(
5722
5749
  "div",
5723
5750
  {
5724
5751
  className: `active-tags__item ${s.hiddenClose && "active-tags__item--no-close"}`,
5725
5752
  "data-testid": `ds-active-tag-${n}`,
5726
5753
  children: [
5727
- /* @__PURE__ */ O(Ve, { alignItems: "center", gap: "nano", children: [
5728
- /* @__PURE__ */ c(se, { children: /* @__PURE__ */ c(
5754
+ /* @__PURE__ */ D(Ve, { alignItems: "center", gap: "nano", children: [
5755
+ /* @__PURE__ */ c(ne, { children: /* @__PURE__ */ c(
5729
5756
  K,
5730
5757
  {
5731
5758
  className: "active-tags__icon",
@@ -5735,7 +5762,7 @@ const Jn = ({
5735
5762
  testId: `icon-${n}`
5736
5763
  }
5737
5764
  ) }),
5738
- /* @__PURE__ */ c(se, { children: /* @__PURE__ */ c(Re, { type: "small", children: s.text }) })
5765
+ /* @__PURE__ */ c(ne, { children: /* @__PURE__ */ c(Re, { type: "small", children: s.text }) })
5739
5766
  ] }),
5740
5767
  !s.hiddenClose && /* @__PURE__ */ c(
5741
5768
  K,
@@ -5759,21 +5786,21 @@ const Ye = {
5759
5786
  class: "ds-carousel",
5760
5787
  props: {}
5761
5788
  }, Qn = ({
5762
- slides: a,
5789
+ slides: i,
5763
5790
  interval: e = 3e3,
5764
5791
  imageHeight: t = 100,
5765
5792
  imageWidth: s = 100,
5766
5793
  imageMaxHeight: n,
5767
- imageMaxWidth: i
5794
+ imageMaxWidth: a
5768
5795
  }) => {
5769
5796
  const [r, l] = j(0), [u, d] = j(!1), h = Je(null);
5770
5797
  J(() => (u || (h.current = setInterval(() => {
5771
- l((v) => v === a.length - 1 ? 0 : v + 1);
5798
+ l((v) => v === i.length - 1 ? 0 : v + 1);
5772
5799
  }, e)), () => {
5773
5800
  h.current && clearInterval(h.current);
5774
- }), [u, e, a.length]);
5801
+ }), [u, e, i.length]);
5775
5802
  const f = () => d(!0), _ = () => d(!1);
5776
- return /* @__PURE__ */ O(
5803
+ return /* @__PURE__ */ D(
5777
5804
  "div",
5778
5805
  {
5779
5806
  className: `${Ye.class}`,
@@ -5789,37 +5816,37 @@ const Ye = {
5789
5816
  height: t,
5790
5817
  width: s,
5791
5818
  maxHeight: n,
5792
- maxWidth: i
5819
+ maxWidth: a
5793
5820
  },
5794
- children: a.map((v, C) => /* @__PURE__ */ c(
5821
+ children: i.map((v, S) => /* @__PURE__ */ c(
5795
5822
  "img",
5796
5823
  {
5797
5824
  alt: v.title,
5798
- className: `${Ye.class}__image ${C === r ? "active" : "inactive"}`,
5825
+ className: `${Ye.class}__image ${S === r ? "active" : "inactive"}`,
5799
5826
  height: t,
5800
5827
  src: v.image,
5801
5828
  style: {
5802
5829
  maxHeight: n,
5803
- maxWidth: i
5830
+ maxWidth: a
5804
5831
  },
5805
5832
  width: s
5806
5833
  },
5807
- C
5834
+ S
5808
5835
  ))
5809
5836
  }
5810
5837
  ),
5811
- /* @__PURE__ */ c(ge, { vertical: "xxs" }),
5812
- /* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(Bt, { className: "color__primary--default", type: "heading-4", children: a[r].title }) }),
5813
- /* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(Re, { type: "large", children: a[r].description }) }),
5814
- /* @__PURE__ */ c(ge, { vertical: "xxs" }),
5815
- /* @__PURE__ */ c("div", { className: `${Ye.class}__dots`, children: /* @__PURE__ */ c("div", { className: `${Ye.class}__dots-wrapper`, children: a.map((v, C) => /* @__PURE__ */ c(
5838
+ /* @__PURE__ */ c(me, { vertical: "xxs" }),
5839
+ /* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(Bt, { className: "color__primary--default", type: "heading-4", children: i[r].title }) }),
5840
+ /* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(Re, { type: "large", children: i[r].description }) }),
5841
+ /* @__PURE__ */ c(me, { vertical: "xxs" }),
5842
+ /* @__PURE__ */ c("div", { className: `${Ye.class}__dots`, children: /* @__PURE__ */ c("div", { className: `${Ye.class}__dots-wrapper`, children: i.map((v, S) => /* @__PURE__ */ c(
5816
5843
  "button",
5817
5844
  {
5818
- "aria-label": `Go to slide ${C + 1}`,
5819
- className: `dot ${r === C ? "dot--active" : ""}`,
5820
- onClick: () => l(C)
5845
+ "aria-label": `Go to slide ${S + 1}`,
5846
+ className: `dot ${r === S ? "dot--active" : ""}`,
5847
+ onClick: () => l(S)
5821
5848
  },
5822
- C
5849
+ S
5823
5850
  )) }) })
5824
5851
  ]
5825
5852
  }
@@ -5921,13 +5948,13 @@ const $s = {
5921
5948
  }
5922
5949
  }
5923
5950
  }
5924
- }, ei = ({
5925
- label: a = G.props.label.default,
5951
+ }, ea = ({
5952
+ label: i = G.props.label.default,
5926
5953
  name: e = G.props.name.default,
5927
5954
  testId: t = G.props.testId.default,
5928
5955
  value: s = G.props.value.default,
5929
5956
  options: n = G.props.options.default,
5930
- size: i = G.props.size.default,
5957
+ size: a = G.props.size.default,
5931
5958
  onChangeHandler: r = G.props.onChangeHandler.default,
5932
5959
  onSelectHandler: l = G.props.onSelectHandler.default,
5933
5960
  icon: u = G.props.icon.default,
@@ -5936,50 +5963,51 @@ const $s = {
5936
5963
  status: f = G.props.status.default,
5937
5964
  onBlurHandler: _ = G.props.onBlurHandler.default,
5938
5965
  onFocusHandler: v = G.props.onFocusHandler.default,
5939
- animated: C = G.props.animated.default,
5966
+ animated: S = G.props.animated.default,
5940
5967
  placeholder: y = G.props.placeholder.default,
5941
5968
  loading: m
5942
5969
  }) => {
5943
- const [F, P] = j(!1), [A, x] = j(s), p = (q) => {
5944
- r(q), (m == null && q.currentTarget.value.length || !m && q.currentTarget.value.length > 2) && P(!0);
5945
- }, S = (q) => {
5946
- l(q), _(), x(Math.random().toString()), P(!1);
5970
+ const [F, P] = j(!1), [A, E] = j(s), p = (I) => {
5971
+ r(I), (m == null && I.currentTarget.value.length || !m && I.currentTarget.value.length > 2) && P(!0);
5972
+ }, x = (I) => {
5973
+ l(I), _(), E(Math.random().toString()), P(!1);
5974
+ }, R = (I) => {
5975
+ h || x(I);
5947
5976
  };
5948
5977
  J(() => {
5949
5978
  s.length === 0 && P(!1);
5950
5979
  }, [s]);
5951
- const B = () => n.length > 0 ? n.map((q, V) => /* @__PURE__ */ c(
5952
- "option",
5980
+ const W = () => n.length > 0 ? n.map((I, se) => /* @__PURE__ */ c(
5981
+ "button",
5953
5982
  {
5954
- className: `${G.class}__option ${G.class}__option--${i}`,
5955
- "data-testid": `ds-option-${q.id || q.label}`,
5956
- onClick: () => !h && S(q),
5957
- value: V,
5958
- children: q.label
5983
+ className: `${G.class}__option ${G.class}__option--${a}`,
5984
+ "data-testid": `ds-option-${I.id || I.label}`,
5985
+ onClick: () => R(I),
5986
+ children: I.label
5959
5987
  },
5960
- V
5988
+ se
5961
5989
  )) : /* @__PURE__ */ c(
5962
- "option",
5990
+ "div",
5963
5991
  {
5964
- className: `${G.class}__option ${G.class}__option--not-found--${i}`,
5992
+ className: `${G.class}__option ${G.class}__option--not-found--${a}`,
5965
5993
  children: d
5966
5994
  },
5967
5995
  "no_option"
5968
5996
  );
5969
- return /* @__PURE__ */ O("div", { className: `${G.class}__container`, children: [
5997
+ return /* @__PURE__ */ D("div", { className: `${G.class}__container`, children: [
5970
5998
  /* @__PURE__ */ c(
5971
5999
  et,
5972
6000
  {
5973
- animated: C,
6001
+ animated: S,
5974
6002
  className: `${G.class}__input`,
5975
6003
  disabled: h,
5976
- label: a,
6004
+ label: i,
5977
6005
  name: e,
5978
6006
  onBlurHandler: _,
5979
6007
  onChangeHandler: p,
5980
6008
  onFocusHandler: v,
5981
6009
  placeholder: y,
5982
- size: i,
6010
+ size: a,
5983
6011
  status: f,
5984
6012
  testId: t,
5985
6013
  value: s
@@ -5989,28 +6017,28 @@ const $s = {
5989
6017
  (u || m) && (m ? /* @__PURE__ */ c(
5990
6018
  "div",
5991
6019
  {
5992
- className: `${G.class}__loading ${G.class}__loading--${i}`,
6020
+ className: `${G.class}__loading ${G.class}__loading--${a}`,
5993
6021
  style: { width: "18px" },
5994
6022
  children: /* @__PURE__ */ c(Nt, { fullscreen: !1 })
5995
6023
  }
5996
6024
  ) : u && /* @__PURE__ */ c(
5997
6025
  K,
5998
6026
  {
5999
- className: `${G.class}__icon ${G.class}__icon--${i}`,
6027
+ className: `${G.class}__icon ${G.class}__icon--${a}`,
6000
6028
  image: u
6001
6029
  }
6002
6030
  )),
6003
6031
  F && /* @__PURE__ */ c(
6004
6032
  "div",
6005
6033
  {
6006
- className: `${G.class}__list`,
6034
+ className: `${G.class}__list ${G.class}__list--${a}`,
6007
6035
  "data-testid": "ds-list",
6008
- children: B()
6036
+ children: W()
6009
6037
  }
6010
6038
  )
6011
6039
  ] });
6012
6040
  };
6013
- ei.displayName = "DsEditableSelect";
6041
+ ea.displayName = "DsEditableSelect";
6014
6042
  const Ge = {
6015
6043
  name: "DsIndicator",
6016
6044
  class: "ds-indicator",
@@ -6024,17 +6052,17 @@ const Ge = {
6024
6052
  required: !0
6025
6053
  }
6026
6054
  }
6027
- }, di = ({
6028
- length: a,
6055
+ }, da = ({
6056
+ length: i,
6029
6057
  current: e = Ge.props.current.default
6030
6058
  }) => {
6031
6059
  const [t, s] = j(e), n = (r) => r < t ? `${Ge.class}__step--older` : r === t ? `${Ge.class}__step--active` : "";
6032
6060
  J(() => {
6033
6061
  s(e);
6034
6062
  }, [e]);
6035
- const i = [];
6036
- for (let r = 0; r < a; r++)
6037
- i.push(
6063
+ const a = [];
6064
+ for (let r = 0; r < i; r++)
6065
+ a.push(
6038
6066
  /* @__PURE__ */ c(
6039
6067
  "div",
6040
6068
  {
@@ -6044,8 +6072,8 @@ const Ge = {
6044
6072
  r
6045
6073
  )
6046
6074
  );
6047
- return /* @__PURE__ */ c("div", { className: Ge.class, children: i });
6048
- }, ti = {
6075
+ return /* @__PURE__ */ c("div", { className: Ge.class, children: a });
6076
+ }, ta = {
6049
6077
  name: "DsInlineEditable",
6050
6078
  class: "ds-inline-editable",
6051
6079
  props: {
@@ -6080,12 +6108,12 @@ const Ge = {
6080
6108
  }
6081
6109
  }
6082
6110
  }, cn = ({
6083
- name: a,
6111
+ name: i,
6084
6112
  value: e,
6085
6113
  prefix: t,
6086
6114
  sufix: s,
6087
6115
  min: n,
6088
- max: i,
6116
+ max: a,
6089
6117
  onChangeHandler: r
6090
6118
  }) => {
6091
6119
  const l = Je(null), [u, d] = j(!1), [h, f] = j("");
@@ -6096,24 +6124,24 @@ const Ge = {
6096
6124
  m.key === "Enter" && v(m);
6097
6125
  };
6098
6126
  function v(m) {
6099
- d(!1), r && (n && parseInt(n) >= parseInt(h === "" ? n : h) ? (m.currentTarget.value = n, f(n)) : i && parseInt(i) < parseInt(h) ? (m.currentTarget.value = i, f(i)) : m.currentTarget.value = h, r(m));
6127
+ d(!1), r && (n && parseInt(n) >= parseInt(h === "" ? n : h) ? (m.currentTarget.value = n, f(n)) : a && parseInt(a) < parseInt(h) ? (m.currentTarget.value = a, f(a)) : m.currentTarget.value = h, r(m));
6100
6128
  }
6101
- const C = (m) => {
6129
+ const S = (m) => {
6102
6130
  f(m.currentTarget.value);
6103
6131
  }, y = async () => {
6104
6132
  var m;
6105
6133
  await d(!0), (m = l.current) == null || m.focus();
6106
6134
  };
6107
- return /* @__PURE__ */ c("div", { className: ti.class, children: u ? /* @__PURE__ */ c(
6135
+ return /* @__PURE__ */ c("div", { className: ta.class, children: u ? /* @__PURE__ */ c(
6108
6136
  "input",
6109
6137
  {
6110
6138
  className: "ds-input__input",
6111
6139
  "data-testid": "ds-input",
6112
- max: i,
6140
+ max: a,
6113
6141
  min: n,
6114
- name: a,
6142
+ name: i,
6115
6143
  onBlur: v,
6116
- onChange: C,
6144
+ onChange: S,
6117
6145
  onKeyDown: _,
6118
6146
  ref: l,
6119
6147
  type: "number",
@@ -6124,13 +6152,13 @@ const Ge = {
6124
6152
  {
6125
6153
  "data-testid": "ds-inline-editible-div-click",
6126
6154
  onClick: y,
6127
- children: /* @__PURE__ */ O(Ve, { alignItems: "center", gap: "nano", children: [
6128
- /* @__PURE__ */ c(se, { children: /* @__PURE__ */ c(Re, { children: /* @__PURE__ */ O("b", { children: [
6155
+ children: /* @__PURE__ */ D(Ve, { alignItems: "center", gap: "nano", children: [
6156
+ /* @__PURE__ */ c(ne, { children: /* @__PURE__ */ c(Re, { children: /* @__PURE__ */ D("b", { children: [
6129
6157
  t,
6130
6158
  e,
6131
6159
  s
6132
6160
  ] }) }) }),
6133
- /* @__PURE__ */ c(se, { children: /* @__PURE__ */ c(K, { image: "edit_square" }) })
6161
+ /* @__PURE__ */ c(ne, { children: /* @__PURE__ */ c(K, { image: "edit_square" }) })
6134
6162
  ] })
6135
6163
  }
6136
6164
  ) });
@@ -6139,7 +6167,7 @@ cn.propTypes = {
6139
6167
  value: o.string
6140
6168
  };
6141
6169
  cn.displayName = "DsInlineEditable";
6142
- const si = [1, 2, 3, 4], Vs = {
6170
+ const sa = [1, 2, 3, 4], Vs = {
6143
6171
  Squared: "squared",
6144
6172
  Rounded: "rounded"
6145
6173
  }, fe = {
@@ -6148,7 +6176,7 @@ const si = [1, 2, 3, 4], Vs = {
6148
6176
  props: {
6149
6177
  elevation: {
6150
6178
  type: Number,
6151
- options: si
6179
+ options: sa
6152
6180
  },
6153
6181
  variant: {
6154
6182
  type: String,
@@ -6169,12 +6197,12 @@ const si = [1, 2, 3, 4], Vs = {
6169
6197
  }
6170
6198
  }
6171
6199
  }, dn = ({
6172
- className: a,
6200
+ className: i,
6173
6201
  title: e,
6174
6202
  content: t,
6175
6203
  cancelBtnText: s = fe.props.cancelBtnText.default,
6176
6204
  confirmBtnText: n = fe.props.confirmBtnText.default,
6177
- variant: i = fe.props.variant.default,
6205
+ variant: a = fe.props.variant.default,
6178
6206
  elevation: r,
6179
6207
  isModalOpen: l = fe.props.isModalOpen.default,
6180
6208
  onClose: u,
@@ -6182,37 +6210,37 @@ const si = [1, 2, 3, 4], Vs = {
6182
6210
  onConfirm: h,
6183
6211
  ...f
6184
6212
  }) => {
6185
- const _ = i && fe.props.variant.options.find((m) => m === i) ? `${fe.class}--${i}` : `${fe.class}--${fe.props.variant.default}`, v = r && `${fe.class}--elevation-${r}`, C = h || d, y = Ae(
6213
+ const _ = a && fe.props.variant.options.find((m) => m === a) ? `${fe.class}--${a}` : `${fe.class}--${fe.props.variant.default}`, v = r && `${fe.class}--elevation-${r}`, S = h || d, y = Ae(
6186
6214
  (m) => {
6187
6215
  m.keyCode === 27 && u();
6188
6216
  },
6189
6217
  [u]
6190
6218
  );
6191
- return J(() => (l && window && !C && window.addEventListener("keyup", y), () => {
6219
+ return J(() => (l && window && !S && window.addEventListener("keyup", y), () => {
6192
6220
  window.removeEventListener("keyup", y);
6193
- }), [C, y]), l ? /* @__PURE__ */ O(tt, { children: [
6221
+ }), [S, y]), l ? /* @__PURE__ */ D(tt, { children: [
6194
6222
  /* @__PURE__ */ c(
6195
6223
  "div",
6196
6224
  {
6197
6225
  className: "ds-modal-overlay",
6198
6226
  "data-testid": "ds-modal-overlay",
6199
6227
  ...f,
6200
- onClick: () => C ? () => {
6228
+ onClick: () => S ? () => {
6201
6229
  } : u()
6202
6230
  }
6203
6231
  ),
6204
- /* @__PURE__ */ O(
6232
+ /* @__PURE__ */ D(
6205
6233
  "div",
6206
6234
  {
6207
6235
  className: [
6208
6236
  fe.class,
6209
6237
  _,
6210
6238
  v,
6211
- a && a
6239
+ i && i
6212
6240
  ].filter((m) => m).join(" "),
6213
6241
  "data-testid": "ds-modal",
6214
6242
  children: [
6215
- !C && /* @__PURE__ */ c(
6243
+ !S && /* @__PURE__ */ c(
6216
6244
  "button",
6217
6245
  {
6218
6246
  className: "ds-modal__closeBtn",
@@ -6221,14 +6249,14 @@ const si = [1, 2, 3, 4], Vs = {
6221
6249
  children: /* @__PURE__ */ c(K, { image: "close", size: "lg" })
6222
6250
  }
6223
6251
  ),
6224
- /* @__PURE__ */ O("div", { className: "ds-modal__content", children: [
6252
+ /* @__PURE__ */ D("div", { className: "ds-modal__content", children: [
6225
6253
  /* @__PURE__ */ c("div", { className: "ds-modal__content__title", children: e }),
6226
- e && /* @__PURE__ */ c(ge, { vertical: "xxxs" }),
6254
+ e && /* @__PURE__ */ c(me, { vertical: "xxxs" }),
6227
6255
  /* @__PURE__ */ c("div", { className: "ds-modal__content__content", children: t })
6228
6256
  ] }),
6229
- C && /* @__PURE__ */ c(ge, { vertical: "sm" }),
6230
- !C && /* @__PURE__ */ c(ge, { vertical: "xxs" }),
6231
- /* @__PURE__ */ O("div", { className: "ds-modal__cta", children: [
6257
+ S && /* @__PURE__ */ c(me, { vertical: "sm" }),
6258
+ !S && /* @__PURE__ */ c(me, { vertical: "xxs" }),
6259
+ /* @__PURE__ */ D("div", { className: "ds-modal__cta", children: [
6232
6260
  d && /* @__PURE__ */ c(
6233
6261
  pt,
6234
6262
  {
@@ -6314,18 +6342,18 @@ const Ls = {
6314
6342
  default: "ds-notification"
6315
6343
  }
6316
6344
  }
6317
- }, ni = {
6345
+ }, na = {
6318
6346
  success: "check",
6319
6347
  danger: "error",
6320
6348
  warning: "warning",
6321
6349
  info: "info"
6322
6350
  }, pn = ({
6323
- className: a,
6351
+ className: i,
6324
6352
  type: e = le.props.type.default,
6325
6353
  variant: t = le.props.variant.default,
6326
6354
  id: s,
6327
6355
  children: n,
6328
- message: i,
6356
+ message: a,
6329
6357
  autoClose: r = le.props.autoClose.default,
6330
6358
  autoCloseTimer: l = le.props.autoCloseTimer.default,
6331
6359
  dismissible: u = le.props.dismissible.default,
@@ -6334,55 +6362,55 @@ const Ls = {
6334
6362
  handleClose: f,
6335
6363
  testId: _ = le.props.testId.default
6336
6364
  }) => {
6337
- const [v, C] = j(l), [y, m] = j(!1), [F, P] = j(!0), A = [
6365
+ const [v, S] = j(l), [y, m] = j(!1), [F, P] = j(!0), A = [
6338
6366
  le.class,
6339
6367
  e && `${le.class}--${e}`,
6340
6368
  t && `${le.class}--${t}`,
6341
6369
  d && `${le.class}--elevation-${d}`,
6342
- a && a
6343
- ].join(" "), x = () => C((q) => (q === 0 && P(!1), q - 100));
6370
+ i && i
6371
+ ].join(" "), E = () => S((W) => (W === 0 && P(!1), W - 100));
6344
6372
  J(() => {
6345
6373
  !r && !u && P(!0);
6346
- let q;
6347
- return !y && r && (q = setInterval(x, 100)), () => {
6348
- clearInterval(q);
6374
+ let W;
6375
+ return !y && r && (W = setInterval(E, 100)), () => {
6376
+ clearInterval(W);
6349
6377
  };
6350
6378
  }, [y, r, l, F, u]);
6351
6379
  const p = () => {
6352
6380
  m(!0);
6353
- }, S = () => {
6381
+ }, x = () => {
6354
6382
  m(!1);
6355
- }, B = (q) => {
6356
- P(!1), f && f(q);
6383
+ }, R = (W) => {
6384
+ P(!1), f && f(W);
6357
6385
  };
6358
- return F ? /* @__PURE__ */ O(
6386
+ return F ? /* @__PURE__ */ D(
6359
6387
  "div",
6360
6388
  {
6361
6389
  className: A,
6362
6390
  "data-testid": _,
6363
6391
  id: s,
6364
6392
  onMouseEnter: p,
6365
- onMouseLeave: S,
6393
+ onMouseLeave: x,
6366
6394
  children: [
6367
- /* @__PURE__ */ c(Ze, { bottom: "nano", top: "nano", children: /* @__PURE__ */ O(Ve, { alignItems: "center", flexWrap: "nowrap", gap: "xxxs", children: [
6368
- /* @__PURE__ */ c(se, { children: /* @__PURE__ */ c(
6395
+ /* @__PURE__ */ c(Ze, { bottom: "nano", top: "nano", children: /* @__PURE__ */ D(Ve, { alignItems: "center", flexWrap: "nowrap", gap: "xxxs", children: [
6396
+ /* @__PURE__ */ c(ne, { children: /* @__PURE__ */ c(
6369
6397
  K,
6370
6398
  {
6371
6399
  color: e,
6372
6400
  fill: !0,
6373
- image: ni[e]
6401
+ image: na[e]
6374
6402
  }
6375
6403
  ) }),
6376
- /* @__PURE__ */ c(se, { flex: "1", children: /* @__PURE__ */ c(Ze, { left: "none", right: "none", space: "nano", children: n ?? i }) }),
6377
- /* @__PURE__ */ c(se, { children: u ? /* @__PURE__ */ c(
6404
+ /* @__PURE__ */ c(ne, { flex: "1", children: /* @__PURE__ */ c(Ze, { left: "none", right: "none", space: "nano", children: n ?? a }) }),
6405
+ /* @__PURE__ */ c(ne, { children: u ? /* @__PURE__ */ c(
6378
6406
  "div",
6379
6407
  {
6380
6408
  className: `${le.class}__button`,
6381
6409
  "data-testid": `${_}-close`,
6382
- onClick: (q) => B(q),
6410
+ onClick: (W) => R(W),
6383
6411
  children: /* @__PURE__ */ c(Ze, { children: /* @__PURE__ */ c(K, { image: "close" }) })
6384
6412
  }
6385
- ) : /* @__PURE__ */ c(ge, { horizontal: "quark" }) })
6413
+ ) : /* @__PURE__ */ c(me, { horizontal: "quark" }) })
6386
6414
  ] }) }),
6387
6415
  h && r && /* @__PURE__ */ c(
6388
6416
  "div",
@@ -6413,19 +6441,19 @@ const Ft = {
6413
6441
  default: [
6414
6442
  {
6415
6443
  title: "Um número",
6416
- rule: (a) => /\d/.test(a)
6444
+ rule: (i) => /\d/.test(i)
6417
6445
  },
6418
6446
  {
6419
6447
  title: "Uma letra maiúscula",
6420
- rule: (a) => /[A-Z]/.test(a)
6448
+ rule: (i) => /[A-Z]/.test(i)
6421
6449
  },
6422
6450
  {
6423
6451
  title: "Um caractere especial. Ex: @#!?",
6424
- rule: (a) => /[!@#$%^&*()+\-=_[\]{};':"\\|,.<>/?]/.test(a)
6452
+ rule: (i) => /[!@#$%^&*()+\-=_[\]{};':"\\|,.<>/?]/.test(i)
6425
6453
  },
6426
6454
  {
6427
6455
  title: "Mínimo 8 caracteres",
6428
- rule: (a) => a.length >= 8
6456
+ rule: (i) => i.length >= 8
6429
6457
  }
6430
6458
  ]
6431
6459
  },
@@ -6444,75 +6472,75 @@ const Ft = {
6444
6472
  medium: "Médio",
6445
6473
  weak: "Fraco"
6446
6474
  }, hn = ({
6447
- onChange: a,
6475
+ onChange: i,
6448
6476
  validationList: e = Ft.props.validationList.default,
6449
6477
  instructionLabel: t = Ft.props.instructionLabel.default,
6450
6478
  testId: s = Ft.props.testId.default
6451
6479
  }) => {
6452
- const [n, i] = j(""), [r, l] = j(""), [u, d] = j([]), [h, f] = j({
6480
+ const [n, a] = j(""), [r, l] = j(""), [u, d] = j([]), [h, f] = j({
6453
6481
  score: 0,
6454
6482
  color: "danger",
6455
6483
  label: "Fraco"
6456
- }), [_, v] = j(!1), C = Ae(
6484
+ }), [_, v] = j(!1), S = Ae(
6457
6485
  (p) => {
6458
- const S = e.map(
6459
- (B) => B == null ? void 0 : B.rule(p)
6486
+ const x = e.map(
6487
+ (R) => R == null ? void 0 : R.rule(p)
6460
6488
  );
6461
- return d(S), S;
6489
+ return d(x), x;
6462
6490
  },
6463
6491
  [e]
6464
6492
  ), y = Ae(
6465
6493
  (p) => {
6466
- i(p.currentTarget.value);
6467
- const S = C(p.currentTarget.value), B = A(S);
6468
- a({
6494
+ a(p.currentTarget.value);
6495
+ const x = S(p.currentTarget.value), R = A(x);
6496
+ i({
6469
6497
  password: p.currentTarget.value,
6470
6498
  confirmationPassword: r,
6471
6499
  isEqual: r === p.currentTarget.value,
6472
- feedback: B
6500
+ feedback: R
6473
6501
  });
6474
6502
  },
6475
- [r, a, C]
6503
+ [r, i, S]
6476
6504
  ), m = Ae(
6477
6505
  (p) => {
6478
6506
  l(p.currentTarget.value);
6479
- const S = C(n), B = A(S);
6480
- a({
6507
+ const x = S(n), R = A(x);
6508
+ i({
6481
6509
  password: n,
6482
6510
  confirmationPassword: p.currentTarget.value,
6483
6511
  isEqual: n === p.currentTarget.value,
6484
- feedback: B
6512
+ feedback: R
6485
6513
  });
6486
6514
  },
6487
- [n, a, C]
6488
- ), F = Ce(() => n !== r && _ ? { status: "error", feedback: "As senhas são diferentes" } : { status: "", feedback: "" }, [n, r, _]), P = Ae(
6515
+ [n, i, S]
6516
+ ), F = Se(() => n !== r && _ ? { status: "error", feedback: "As senhas são diferentes" } : { status: "", feedback: "" }, [n, r, _]), P = Ae(
6489
6517
  (p) => {
6490
- const S = {
6518
+ const x = {
6491
6519
  score: p,
6492
6520
  color: "danger",
6493
6521
  label: lt.weak
6494
6522
  };
6495
- return p > 30 && p < 75 ? (S.color = "warning", S.label = lt.medium) : p >= 75 && p < 100 ? (S.color = "success", S.label = lt.good) : p === 100 && (S.color = "success-dark", S.label = lt.strong), S;
6523
+ return p > 30 && p < 75 ? (x.color = "warning", x.label = lt.medium) : p >= 75 && p < 100 ? (x.color = "success", x.label = lt.good) : p === 100 && (x.color = "success-dark", x.label = lt.strong), x;
6496
6524
  },
6497
6525
  []
6498
6526
  ), A = Ae(
6499
6527
  (p) => {
6500
- const S = p.reduce(
6501
- (q, V) => {
6502
- let ae = q;
6503
- return V ? (ae++, ae) : q;
6528
+ const x = p.reduce(
6529
+ (W, I) => {
6530
+ let se = W;
6531
+ return I ? (se++, se) : W;
6504
6532
  },
6505
6533
  0
6506
- ), B = P(
6507
- S * 100 / p.length
6534
+ ), R = P(
6535
+ x * 100 / p.length
6508
6536
  );
6509
- return f(B), B;
6537
+ return f(R), R;
6510
6538
  },
6511
6539
  [P]
6512
- ), x = () => /* @__PURE__ */ c("ul", { children: e.map((p, S) => {
6513
- const B = u[S] ? "ds-password-confirmation__list" : "ds-password-confirmation__list--disc";
6514
- return /* @__PURE__ */ O("li", { className: B, children: [
6515
- u[S] ? /* @__PURE__ */ c(
6540
+ ), E = () => /* @__PURE__ */ c("ul", { children: e.map((p, x) => {
6541
+ const R = u[x] ? "ds-password-confirmation__list" : "ds-password-confirmation__list--disc";
6542
+ return /* @__PURE__ */ D("li", { className: R, children: [
6543
+ u[x] ? /* @__PURE__ */ c(
6516
6544
  K,
6517
6545
  {
6518
6546
  color: "success-dark",
@@ -6520,12 +6548,12 @@ const Ft = {
6520
6548
  testId: "ds-check-icon"
6521
6549
  }
6522
6550
  ) : null,
6523
- /* @__PURE__ */ c(ge, { horizontal: "quark" }),
6551
+ /* @__PURE__ */ c(me, { horizontal: "quark" }),
6524
6552
  /* @__PURE__ */ c(Re, { children: p.title })
6525
- ] }, S + p.title);
6553
+ ] }, x + p.title);
6526
6554
  }) });
6527
- return /* @__PURE__ */ O(Ve, { className: "ds-password-confirmation", flexDirection: "column", children: [
6528
- /* @__PURE__ */ c(se, { children: /* @__PURE__ */ c(
6555
+ return /* @__PURE__ */ D(Ve, { className: "ds-password-confirmation", flexDirection: "column", children: [
6556
+ /* @__PURE__ */ c(ne, { children: /* @__PURE__ */ c(
6529
6557
  et,
6530
6558
  {
6531
6559
  label: "Senha",
@@ -6536,7 +6564,7 @@ const Ft = {
6536
6564
  value: n
6537
6565
  }
6538
6566
  ) }),
6539
- /* @__PURE__ */ c(se, { children: /* @__PURE__ */ c(
6567
+ /* @__PURE__ */ c(ne, { children: /* @__PURE__ */ c(
6540
6568
  an,
6541
6569
  {
6542
6570
  color: h == null ? void 0 : h.color,
@@ -6544,10 +6572,10 @@ const Ft = {
6544
6572
  progress: h == null ? void 0 : h.score
6545
6573
  }
6546
6574
  ) }),
6547
- /* @__PURE__ */ c(se, { children: /* @__PURE__ */ c(Re, { children: t }) }),
6548
- /* @__PURE__ */ c(se, { children: x() }),
6549
- /* @__PURE__ */ c(ge, { vertical: "xxs" }),
6550
- /* @__PURE__ */ c(se, { children: /* @__PURE__ */ c(
6575
+ /* @__PURE__ */ c(ne, { children: /* @__PURE__ */ c(Re, { children: t }) }),
6576
+ /* @__PURE__ */ c(ne, { children: E() }),
6577
+ /* @__PURE__ */ c(me, { vertical: "xxs" }),
6578
+ /* @__PURE__ */ c(ne, { children: /* @__PURE__ */ c(
6551
6579
  et,
6552
6580
  {
6553
6581
  feedback: F.feedback,
@@ -6571,7 +6599,7 @@ hn.propTypes = {
6571
6599
  testId: o.string
6572
6600
  };
6573
6601
  hn.displayName = "DsPasswordConfirmation";
6574
- const ve = {
6602
+ const ke = {
6575
6603
  name: "DsStepper",
6576
6604
  class: "ds-stepper",
6577
6605
  props: {
@@ -6584,38 +6612,38 @@ const ve = {
6584
6612
  default: 0
6585
6613
  }
6586
6614
  }
6587
- }, ii = ({
6588
- steps: a,
6589
- selectedStep: e = ve.props.selectedStep.default,
6615
+ }, aa = ({
6616
+ steps: i,
6617
+ selectedStep: e = ke.props.selectedStep.default,
6590
6618
  onChange: t
6591
6619
  }) => {
6592
- const [s, n] = j(e), i = (r, l) => {
6593
- const u = [`${ve.class}__button`];
6594
- return l !== r && u.push(`${ve.class}__button--round`), a[r] && a[r].disabled && u.push(`${ve.class}__button--disabled`), u.join(" ");
6620
+ const [s, n] = j(e), a = (r, l) => {
6621
+ const u = [`${ke.class}__button`];
6622
+ return l !== r && u.push(`${ke.class}__button--round`), i[r] && i[r].disabled && u.push(`${ke.class}__button--disabled`), u.join(" ");
6595
6623
  };
6596
6624
  return J(() => {
6597
6625
  n(e);
6598
6626
  }, [e]), J(() => {
6599
6627
  t(s);
6600
- }, [s]), /* @__PURE__ */ O("div", { className: ve.class, children: [
6601
- /* @__PURE__ */ O("span", { className: `${ve.class}__step-counter`, children: [
6628
+ }, [s]), /* @__PURE__ */ D("div", { className: ke.class, children: [
6629
+ /* @__PURE__ */ D("span", { className: `${ke.class}__step-counter`, children: [
6602
6630
  "Etapa ",
6603
6631
  s + 1,
6604
6632
  " de ",
6605
- a == null ? void 0 : a.length
6633
+ i == null ? void 0 : i.length
6606
6634
  ] }),
6607
- /* @__PURE__ */ c("div", { className: `${ve.class}__step`, children: a.map((r, l) => /* @__PURE__ */ c("div", { className: `${ve.class}__content`, children: /* @__PURE__ */ c(
6635
+ /* @__PURE__ */ c("div", { className: `${ke.class}__step`, children: i.map((r, l) => /* @__PURE__ */ c("div", { className: `${ke.class}__content`, children: /* @__PURE__ */ c(
6608
6636
  "button",
6609
6637
  {
6610
- className: i(l, s),
6638
+ className: a(l, s),
6611
6639
  "data-testid": `ds-button-${l}`,
6612
6640
  disabled: r.disabled,
6613
6641
  onClick: () => n(l),
6614
- children: /* @__PURE__ */ O("span", { className: `${ve.class}__text`, children: [
6642
+ children: /* @__PURE__ */ D("span", { className: `${ke.class}__text`, children: [
6615
6643
  s === l ? /* @__PURE__ */ c(Ze, { bottom: "none", left: "nano", right: "nano", top: "none", children: /* @__PURE__ */ c(
6616
6644
  K,
6617
6645
  {
6618
- className: `${ve.class}__icon`,
6646
+ className: `${ke.class}__icon`,
6619
6647
  fill: !0,
6620
6648
  image: r.icon,
6621
6649
  testId: `ds-icon-${l}`
@@ -6623,7 +6651,7 @@ const ve = {
6623
6651
  ) }) : /* @__PURE__ */ c(
6624
6652
  K,
6625
6653
  {
6626
- className: `${ve.class}__icon`,
6654
+ className: `${ke.class}__icon`,
6627
6655
  fill: !0,
6628
6656
  image: r.icon,
6629
6657
  testId: `ds-icon-${l}`
@@ -6635,7 +6663,7 @@ const ve = {
6635
6663
  ) }, l)) })
6636
6664
  ] });
6637
6665
  };
6638
- ii.displayName = "DsStepper";
6666
+ aa.displayName = "DsStepper";
6639
6667
  const Te = {
6640
6668
  name: "Table",
6641
6669
  class: "ds-table",
@@ -6653,7 +6681,7 @@ const Te = {
6653
6681
  default: []
6654
6682
  }
6655
6683
  }
6656
- }, fn = ({ item: a, columns: e }) => /* @__PURE__ */ c("tr", { className: `${Te.class}__row`, children: e.map((t, s) => {
6684
+ }, fn = ({ item: i, columns: e }) => /* @__PURE__ */ c("tr", { className: `${Te.class}__row`, children: e.map((t, s) => {
6657
6685
  const n = t.align && `${Te.class}__cell--align-${t.align}`;
6658
6686
  return /* @__PURE__ */ c("td", { children: /* @__PURE__ */ c(
6659
6687
  "div",
@@ -6662,32 +6690,32 @@ const Te = {
6662
6690
  `${Te.class}__cell`,
6663
6691
  n,
6664
6692
  t.className
6665
- ].filter((i) => i).join(" "),
6666
- children: a && a[`${t.name}`]
6693
+ ].filter((a) => a).join(" "),
6694
+ children: i && i[`${t.name}`]
6667
6695
  }
6668
6696
  ) }, s);
6669
6697
  }) });
6670
6698
  fn.displayName = "DsTableRow";
6671
- const ai = ({ columns: a, data: e, className: t }) => /* @__PURE__ */ c("div", { className: `${Te.class}__wrapper`, children: /* @__PURE__ */ O(
6699
+ const ia = ({ columns: i, data: e, className: t }) => /* @__PURE__ */ c("div", { className: `${Te.class}__wrapper`, children: /* @__PURE__ */ D(
6672
6700
  "table",
6673
6701
  {
6674
6702
  className: [`${Te.class}`, t].filter((s) => s).join(" "),
6675
6703
  children: [
6676
- /* @__PURE__ */ c("thead", { className: `${Te.class}__head`, children: /* @__PURE__ */ c("tr", { className: `${Te.class}__row`, children: a && a.map((s, n) => /* @__PURE__ */ c("th", { style: { width: s.size }, children: /* @__PURE__ */ c(
6704
+ /* @__PURE__ */ c("thead", { className: `${Te.class}__head`, children: /* @__PURE__ */ c("tr", { className: `${Te.class}__row`, children: i && i.map((s, n) => /* @__PURE__ */ c("th", { style: { width: s.size }, children: /* @__PURE__ */ c(
6677
6705
  "div",
6678
6706
  {
6679
6707
  className: [
6680
6708
  `${Te.class}__cell`,
6681
6709
  s.align && `${Te.class}__cell--align-${s.align}`
6682
- ].filter((i) => i).join(" "),
6710
+ ].filter((a) => a).join(" "),
6683
6711
  children: s.label
6684
6712
  }
6685
6713
  ) }, n)) }) }),
6686
- /* @__PURE__ */ c("tbody", { className: `${Te.class}__body`, children: e && e.map((s, n) => /* @__PURE__ */ c(fn, { columns: a, item: s }, n)) })
6714
+ /* @__PURE__ */ c("tbody", { className: `${Te.class}__body`, children: e && e.map((s, n) => /* @__PURE__ */ c(fn, { columns: i, item: s }, n)) })
6687
6715
  ]
6688
6716
  }
6689
6717
  ) });
6690
- ai.displayName = "DsTable";
6718
+ ia.displayName = "DsTable";
6691
6719
  const js = {
6692
6720
  None: "",
6693
6721
  Primary: "primary",
@@ -6724,20 +6752,20 @@ const js = {
6724
6752
  }
6725
6753
  }
6726
6754
  }
6727
- }, ri = ({
6728
- active: a,
6755
+ }, ra = ({
6756
+ active: i,
6729
6757
  className: e,
6730
6758
  color: t,
6731
6759
  disabled: s,
6732
6760
  name: n,
6733
- index: i,
6761
+ index: a,
6734
6762
  title: r,
6735
6763
  onClick: l
6736
6764
  }) => {
6737
6765
  const u = [
6738
6766
  `${Me.class}__tab`,
6739
6767
  `${Me.class}__tab-color--${t}`,
6740
- a && `${Me.class}__tab--active`,
6768
+ i && `${Me.class}__tab--active`,
6741
6769
  s && `${Me.class}__tab--disabled`,
6742
6770
  e && e
6743
6771
  ].join(" "), d = (h) => {
@@ -6747,48 +6775,48 @@ const js = {
6747
6775
  "div",
6748
6776
  {
6749
6777
  className: u,
6750
- "data-testid": `ds-tab-${i}`,
6778
+ "data-testid": `ds-tab-${a}`,
6751
6779
  id: n,
6752
- onClick: () => d(i),
6780
+ onClick: () => d(a),
6753
6781
  children: r
6754
6782
  }
6755
6783
  );
6756
- }, pi = ({
6757
- tabs: a,
6784
+ }, pa = ({
6785
+ tabs: i,
6758
6786
  color: e,
6759
6787
  selectedTab: t = Me.props.selectedTab.default,
6760
6788
  className: s,
6761
6789
  onChange: n
6762
6790
  }) => {
6763
- const [i, r] = j(t), l = (u) => {
6791
+ const [a, r] = j(t), l = (u) => {
6764
6792
  r(u), n && n(u);
6765
6793
  };
6766
- return J(() => r(t), [t]), /* @__PURE__ */ O(
6794
+ return J(() => r(t), [t]), /* @__PURE__ */ D(
6767
6795
  "div",
6768
6796
  {
6769
6797
  className: [Me.class, s && s].join(" "),
6770
6798
  "data-testid": "ds-tabs",
6771
6799
  children: [
6772
- /* @__PURE__ */ c("div", { className: `${Me.class}__header`, children: a.map((u, d) => /* @__PURE__ */ vn(
6773
- ri,
6800
+ /* @__PURE__ */ c("div", { className: `${Me.class}__header`, children: i.map((u, d) => /* @__PURE__ */ vn(
6801
+ ra,
6774
6802
  {
6775
6803
  ...u,
6776
- active: i === d,
6804
+ active: a === d,
6777
6805
  color: e,
6778
6806
  index: d,
6779
6807
  key: d,
6780
6808
  onClick: () => l(d)
6781
6809
  }
6782
6810
  )) }),
6783
- /* @__PURE__ */ c("div", { className: `${Me.class}__content`, children: a[i].content })
6811
+ /* @__PURE__ */ c("div", { className: `${Me.class}__content`, children: i[a].content })
6784
6812
  ]
6785
6813
  }
6786
6814
  );
6787
6815
  };
6788
- function oi({ library: a, children: e, theme: t }) {
6789
- return /* @__PURE__ */ c("div", { "data-library": a, "data-theme": t, children: /* @__PURE__ */ c("div", { className: "ds-theme", children: e }) });
6816
+ function oa({ library: i, children: e, theme: t }) {
6817
+ return /* @__PURE__ */ c("div", { "data-library": i, "data-theme": t, children: /* @__PURE__ */ c("div", { className: "ds-theme", children: e }) });
6790
6818
  }
6791
- oi.propTypes = {
6819
+ oa.propTypes = {
6792
6820
  library: o.string,
6793
6821
  children: o.node.isRequired,
6794
6822
  theme: o.string
@@ -6819,21 +6847,21 @@ const zs = {
6819
6847
  }
6820
6848
  }
6821
6849
  }, gn = ({
6822
- className: a = ze.props.className.default,
6850
+ className: i = ze.props.className.default,
6823
6851
  position: e = ze.props.position.default,
6824
6852
  fluid: t = ze.props.fluid.default,
6825
6853
  notifications: s,
6826
6854
  removeNotification: n
6827
6855
  }) => {
6828
- const i = [
6856
+ const a = [
6829
6857
  ze.class,
6830
6858
  `${ze.class}--${e}`,
6831
6859
  t && `${ze.class}--fluid`,
6832
- a && a
6860
+ i && i
6833
6861
  ].join(" "), r = (l) => {
6834
6862
  n && n(l);
6835
6863
  };
6836
- return /* @__PURE__ */ c("div", { className: i, "data-testid": "ds-notification-list", children: s.map((l) => {
6864
+ return /* @__PURE__ */ c("div", { className: a, "data-testid": "ds-notification-list", children: s.map((l) => {
6837
6865
  const u = l.autoClose ?? !0, d = l.autoCloseTimer ?? 4e3, h = l.dismissible ?? !0, f = l.elevation ?? 2, _ = l.progressBar ?? !0;
6838
6866
  return /* @__PURE__ */ c(
6839
6867
  pn,
@@ -6864,15 +6892,15 @@ const je = {
6864
6892
  class: "ds-split-layout",
6865
6893
  props: {}
6866
6894
  }, mn = ({
6867
- leftContent: a,
6895
+ leftContent: i,
6868
6896
  rightContent: e,
6869
6897
  leftBackgroundColor: t,
6870
6898
  rightBackgroundColor: s,
6871
6899
  reverseOnMobile: n = !1
6872
6900
  }) => {
6873
- const i = t ? `${je.class}__content--${t}` : "", r = s ? `${je.class}__content--${s}` : "", l = n ? `${je.class}__content--mobile-order-2` : "", u = n ? `${je.class}__content--mobile-order-1` : "", d = `${je.class}__content ${i} ${l}`, h = `${je.class}__content ${r} ${u}`;
6874
- return /* @__PURE__ */ O("div", { className: je.class, children: [
6875
- /* @__PURE__ */ c("div", { className: d, children: a }),
6901
+ const a = t ? `${je.class}__content--${t}` : "", r = s ? `${je.class}__content--${s}` : "", l = n ? `${je.class}__content--mobile-order-2` : "", u = n ? `${je.class}__content--mobile-order-1` : "", d = `${je.class}__content ${a} ${l}`, h = `${je.class}__content ${r} ${u}`;
6902
+ return /* @__PURE__ */ D("div", { className: je.class, children: [
6903
+ /* @__PURE__ */ c("div", { className: d, children: i }),
6876
6904
  /* @__PURE__ */ c("div", { className: h, children: e })
6877
6905
  ] });
6878
6906
  };
@@ -6889,16 +6917,16 @@ const ut = {
6889
6917
  class: "ds-two-columns",
6890
6918
  props: {}
6891
6919
  }, yn = ({
6892
- header: a,
6920
+ header: i,
6893
6921
  main: e,
6894
6922
  sidebar: t,
6895
6923
  breadcrumb: s
6896
- }) => /* @__PURE__ */ O(Mt, { children: [
6897
- /* @__PURE__ */ O("div", { className: "ds-grid", children: [
6924
+ }) => /* @__PURE__ */ D(Mt, { children: [
6925
+ /* @__PURE__ */ D("div", { className: "ds-grid", children: [
6898
6926
  /* @__PURE__ */ c("div", { className: "ds-grid__row", children: /* @__PURE__ */ c("div", { className: "ds-grid__col ds-grid__col-12", children: s }) }),
6899
- /* @__PURE__ */ O("div", { className: `${ut.class}__content ds-grid__row`, children: [
6900
- /* @__PURE__ */ c("div", { className: "ds-grid__col ds-grid__col--lg-8 ds-grid__col--sm-12 ds-grid__col-12", children: /* @__PURE__ */ O(tt, { children: [
6901
- /* @__PURE__ */ c("div", { className: `${ut.class}__header`, children: a }),
6927
+ /* @__PURE__ */ D("div", { className: `${ut.class}__content ds-grid__row`, children: [
6928
+ /* @__PURE__ */ c("div", { className: "ds-grid__col ds-grid__col--lg-8 ds-grid__col--sm-12 ds-grid__col-12", children: /* @__PURE__ */ D(tt, { children: [
6929
+ /* @__PURE__ */ c("div", { className: `${ut.class}__header`, children: i }),
6902
6930
  /* @__PURE__ */ c("div", { className: `${ut.class}__main`, children: e })
6903
6931
  ] }) }),
6904
6932
  /* @__PURE__ */ c(
@@ -6910,7 +6938,7 @@ const ut = {
6910
6938
  )
6911
6939
  ] })
6912
6940
  ] }),
6913
- /* @__PURE__ */ c(ge, { vertical: "sm" })
6941
+ /* @__PURE__ */ c(me, { vertical: "sm" })
6914
6942
  ] });
6915
6943
  yn.propTypes = {
6916
6944
  breadcrumb: o.node,
@@ -6928,15 +6956,15 @@ export {
6928
6956
  Qn as DsCarousel,
6929
6957
  Ys as DsCheckbox,
6930
6958
  Mt as DsContainer,
6931
- ei as DsEditableSelect,
6932
- se as DsFlexElement,
6959
+ ea as DsEditableSelect,
6960
+ ne as DsFlexElement,
6933
6961
  Ve as DsFlexLayout,
6934
6962
  Kn as DsGridElement,
6935
6963
  ln as DsGridLayout,
6936
6964
  Gs as DsHR,
6937
6965
  Bt as DsHeading,
6938
6966
  K as DsIcon,
6939
- di as DsIndicator,
6967
+ da as DsIndicator,
6940
6968
  cn as DsInlineEditable,
6941
6969
  et as DsInput,
6942
6970
  Nt as DsLoading,
@@ -6948,15 +6976,15 @@ export {
6948
6976
  hn as DsPasswordConfirmation,
6949
6977
  an as DsProgress,
6950
6978
  rn as DsSelect,
6951
- ge as DsSpacer,
6979
+ me as DsSpacer,
6952
6980
  mn as DsSplitLayout,
6953
- ii as DsStepper,
6981
+ aa as DsStepper,
6954
6982
  Xn as DsSubtitle,
6955
- ai as DsTable,
6956
- pi as DsTabs,
6983
+ ia as DsTable,
6984
+ pa as DsTabs,
6957
6985
  on as DsTextArea,
6958
6986
  We as DsTooltip,
6959
6987
  yn as DsTwoColumns,
6960
6988
  Ze as DsWrapper,
6961
- oi as ThemeProvider
6989
+ oa as ThemeProvider
6962
6990
  };